# IOutput | @coopenomics/sdk
Documentation for @coopenomics/sdk

# Type alias IOutput

IOutput: {
installSystem: {
blockchain_account: {
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
parent: string;
perm_name: string;
required_auth: {
accounts: {
permission: {
actor: string;
permission: string;
};
weight: number;
}[];
keys: {
key: string;
weight: number;
}[];
threshold: number;
waits: {
wait_sec: number;
weight: number;
}[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: {
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: {
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: {
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
block_cpu_limit: number;
block_net_limit: number;
chain_id: string;
fork_db_head_block_id?: null | string;
fork_db_head_block_num?: null | number;
head_block_id: string;
head_block_num: number;
head_block_producer: string;
head_block_time: string;
last_irreversible_block_id: string;
last_irreversible_block_num: number;
last_irreversible_block_time?: null | string;
server_version: string;
server_version_string?: null | string;
virtual_block_cpu_limit: number;
virtual_block_net_limit: number;
};
contacts?: {
chairman: {
first_name: string;
last_name: string;
middle_name: string;
};
details: {
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
hash: string;
meta: string;
public_key: string;
signature: string;
};
initial: string;
is_branched: boolean;
is_cooperative: boolean;
is_enrolled: boolean;
meta: string;
minimum: string;
org_initial: string;
org_minimum: string;
org_registration: string;
parent_username: string;
referer: string;
registered_at: string;
registration: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus ;
vars?: {
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: {
protocol_day_month_year: string;
protocol_number: string;
};
coopname: string;
full_abbr: string;
full_abbr_dative: string;
full_abbr_genitive: string;
name: string;
participant_application: {
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
}

#### Type declaration

- ##### installSystem: {
  blockchain_account: {
  account_name: string;
  core_liquid_balance?: null | string;
  cpu_limit: {
  available: string;
  current_used?: null | string;
  last_usage_update_time?: null | string;
  max: string;
  used: string;
  };
  cpu_weight: string;
  created: string;
  head_block_num: number;
  head_block_time: string;
  last_code_update: string;
  net_limit: {
  available: string;
  current_used?: null | string;
  last_usage_update_time?: null | string;
  max: string;
  used: string;
  };
  net_weight: string;
  permissions: {
  parent: string;
  perm_name: string;
  required_auth: {
  accounts: {
  permission: {
  actor: string;
  permission: string;
  };
  weight: number;
  }[];
  keys: {
  key: string;
  weight: number;
  }[];
  threshold: number;
  waits: {
  wait_sec: number;
  weight: number;
  }[];
  };
  }[];
  privileged: boolean;
  ram_quota: number;
  ram_usage: number;
  refund_request?: {
  cpu_amount: string;
  net_amount: string;
  owner: string;
  request_time: string;
  };
  rex_info?: null | string;
  self_delegated_bandwidth?: {
  cpu_weight: string;
  from: string;
  net_weight: string;
  to: string;
  };
  total_resources?: {
  cpu_weight: string;
  net_weight: string;
  owner: string;
  ram_bytes: number;
  };
  voter_info?: null | string;
  };
  blockchain_info: {
  block_cpu_limit: number;
  block_net_limit: number;
  chain_id: string;
  fork_db_head_block_id?: null | string;
  fork_db_head_block_num?: null | number;
  head_block_id: string;
  head_block_num: number;
  head_block_producer: string;
  head_block_time: string;
  last_irreversible_block_id: string;
  last_irreversible_block_num: number;
  last_irreversible_block_time?: null | string;
  server_version: string;
  server_version_string?: null | string;
  virtual_block_cpu_limit: number;
  virtual_block_net_limit: number;
  };
  contacts?: {
  chairman: {
  first_name: string;
  last_name: string;
  middle_name: string;
  };
  details: {
  inn: string;
  kpp: string;
  ogrn: string;
  };
  email: string;
  full_address: string;
  full_name: string;
  phone: string;
  };
  cooperator_account: {
  announce: string;
  coop_type: string;
  created_at: string;
  description: string;
  document: {
  hash: string;
  meta: string;
  public_key: string;
  signature: string;
  };
  initial: string;
  is_branched: boolean;
  is_cooperative: boolean;
  is_enrolled: boolean;
  meta: string;
  minimum: string;
  org_initial: string;
  org_minimum: string;
  org_registration: string;
  parent_username: string;
  referer: string;
  registered_at: string;
  registration: string;
  registrator: string;
  status: string;
  storages: string[];
  type: string;
  username: string;
  verifications: {
  created_at: string;
  is_verified: boolean;
  last_update: string;
  notice: string;
  procedure: string;
  verificator: string;
  }[];
  };
  coopname: string;
  system_status: SystemStatus ;
  vars?: {
  confidential_email: string;
  confidential_link: string;
  contact_email: string;
  coopenomics_agreement?: {
  protocol_day_month_year: string;
  protocol_number: string;
  };
  coopname: string;
  full_abbr: string;
  full_abbr_dative: string;
  full_abbr_genitive: string;
  name: string;
  participant_application: {
  protocol_day_month_year: string;
  protocol_number: string;
  };
  passport_request: string;
  privacy_agreement: {
  protocol_day_month_year: string;
  protocol_number: string;
  };
  short_abbr: string;
  signature_agreement: {
  protocol_day_month_year: string;
  protocol_number: string;
  };
  user_agreement: {
  protocol_day_month_year: string;
  protocol_number: string;
  };
  wallet_agreement: {
  protocol_day_month_year: string;
  protocol_number: string;
  };
  website: string;
  };
  }

  Произвести установку членов совета перед началом работы

  - ##### blockchain_account: {
    account_name: string;
    core_liquid_balance?: null | string;
    cpu_limit: {
    available: string;
    current_used?: null | string;
    last_usage_update_time?: null | string;
    max: string;
    used: string;
    };
    cpu_weight: string;
    created: string;
    head_block_num: number;
    head_block_time: string;
    last_code_update: string;
    net_limit: {
    available: string;
    current_used?: null | string;
    last_usage_update_time?: null | string;
    max: string;
    used: string;
    };
    net_weight: string;
    permissions: {
    parent: string;
    perm_name: string;
    required_auth: {
    accounts: {
    permission: {
    actor: string;
    permission: string;
    };
    weight: number;
    }[];
    keys: {
    key: string;
    weight: number;
    }[];
    threshold: number;
    waits: {
    wait_sec: number;
    weight: number;
    }[];
    };
    }[];
    privileged: boolean;
    ram_quota: number;
    ram_usage: number;
    refund_request?: {
    cpu_amount: string;
    net_amount: string;
    owner: string;
    request_time: string;
    };
    rex_info?: null | string;
    self_delegated_bandwidth?: {
    cpu_weight: string;
    from: string;
    net_weight: string;
    to: string;
    };
    total_resources?: {
    cpu_weight: string;
    net_weight: string;
    owner: string;
    ram_bytes: number;
    };
    voter_info?: null | string;
    }

    Объект системного аккаунта кооператива в блокчейне

    - ##### account_name: string

      Имя аккаунта

    - ##### `Optional` core_liquid_balance?: null | string

      Баланс

    - ##### cpu_limit: {
      available: string;
      current_used?: null | string;
      last_usage_update_time?: null | string;
      max: string;
      used: string;
      }

      Ограничения CPU

      - ##### available: string

        Доступные ресурсы

      - ##### `Optional` current_used?: null | string

        Текущее использование ресурсов

      - ##### `Optional` last_usage_update_time?: null | string

        Время последнего обновления использования ресурсов

      - ##### max: string

        Максимальное количество ресурсов

      - ##### used: string

        Использовано ресурсов

    - ##### cpu_weight: string

      Вес CPU

    - ##### created: string

      Дата создания

    - ##### head_block_num: number

      Номер последнего блока

    - ##### head_block_time: string

      Время последнего блока

    - ##### last_code_update: string

      Время последнего обновления кода

    - ##### net_limit: {
      available: string;
      current_used?: null | string;
      last_usage_update_time?: null | string;
      max: string;
      used: string;
      }

      Ограничения сети

      - ##### available: string

        Доступные ресурсы

      - ##### `Optional` current_used?: null | string

        Текущее использование ресурсов

      - ##### `Optional` last_usage_update_time?: null | string

        Время последнего обновления использования ресурсов

      - ##### max: string

        Максимальное количество ресурсов

      - ##### used: string

        Использовано ресурсов

    - ##### net_weight: string

      Вес сети

    - ##### permissions: {
      parent: string;
      perm_name: string;
      required_auth: {
      accounts: {
      permission: {
      actor: string;
      permission: string;
      };
      weight: number;
      }[];
      keys: {
      key: string;
      weight: number;
      }[];
      threshold: number;
      waits: {
      wait_sec: number;
      weight: number;
      }[];
      };
      }[]

      Разрешения

    - ##### privileged: boolean

      Флаг привилегий

    - ##### ram_quota: number

      Квота RAM

    - ##### ram_usage: number

      Использование RAM

    - ##### `Optional` refund_request?: {
      cpu_amount: string;
      net_amount: string;
      owner: string;
      request_time: string;
      }

      Запрос на возврат

      - ##### cpu_amount: string

        Сумма CPU

      - ##### net_amount: string

        Сумма сети

      - ##### owner: string

        Владелец

      - ##### request_time: string

        Время запроса

    - ##### `Optional` rex_info?: null | string

      Информация о REX

    - ##### `Optional` self_delegated_bandwidth?: {
      cpu_weight: string;
      from: string;
      net_weight: string;
      to: string;
      }

      Делегированные ресурсы

      - ##### cpu_weight: string

        Вес CPU

      - ##### from: string

        Отправитель

      - ##### net_weight: string

        Вес сети

      - ##### to: string

        Получатель

    - ##### `Optional` total_resources?: {
      cpu_weight: string;
      net_weight: string;
      owner: string;
      ram_bytes: number;
      }

      Общий обзор ресурсов

      - ##### cpu_weight: string

        Вес CPU

      - ##### net_weight: string

        Вес сети

      - ##### owner: string

        Владелец

      - ##### ram_bytes: number

        Используемая RAM

    - ##### `Optional` voter_info?: null | string

      Информация о голосовании

  - ##### blockchain_info: {
    block_cpu_limit: number;
    block_net_limit: number;
    chain_id: string;
    fork_db_head_block_id?: null | string;
    fork_db_head_block_num?: null | number;
    head_block_id: string;
    head_block_num: number;
    head_block_producer: string;
    head_block_time: string;
    last_irreversible_block_id: string;
    last_irreversible_block_num: number;
    last_irreversible_block_time?: null | string;
    server_version: string;
    server_version_string?: null | string;
    virtual_block_cpu_limit: number;
    virtual_block_net_limit: number;
    }

    Набор данных с информацией о состоянии блокчейна

    - ##### block_cpu_limit: number

      Лимит CPU для блока

    - ##### block_net_limit: number

      Лимит сети для блока

    - ##### chain_id: string

      Идентификатор цепочки (chain ID)

    - ##### `Optional` fork_db_head_block_id?: null | string

      Идентификатор головного блока в форк базе данных

    - ##### `Optional` fork_db_head_block_num?: null | number

      Номер головного блока в форк базе данных

    - ##### head_block_id: string

      Идентификатор головного блока

    - ##### head_block_num: number

      Номер головного блока

    - ##### head_block_producer: string

      Прозводитель головного блока

    - ##### head_block_time: string

      Время головного блока

    - ##### last_irreversible_block_id: string

      Идентификатор последнего необратимого блока

    - ##### last_irreversible_block_num: number

      Номер последнего необратимого блока

    - ##### `Optional` last_irreversible_block_time?: null | string

      Время последнего необратимого блока

    - ##### server_version: string

      Версия сервера

    - ##### `Optional` server_version_string?: null | string

      Строковое представление версии сервера

    - ##### virtual_block_cpu_limit: number

      Виртуальный лимит CPU для блока

    - ##### virtual_block_net_limit: number

      Виртуальный лимит сети для блока

  - ##### `Optional` contacts?: {
    chairman: {
    first_name: string;
    last_name: string;
    middle_name: string;
    };
    details: {
    inn: string;
    kpp: string;
    ogrn: string;
    };
    email: string;
    full_address: string;
    full_name: string;
    phone: string;
    }

    Контакты кооператива

    - ##### chairman: {
      first_name: string;
      last_name: string;
      middle_name: string;
      }

      - ##### first_name: string

      - ##### last_name: string

      - ##### middle_name: string

    - ##### details: {
      inn: string;
      kpp: string;
      ogrn: string;
      }

      - ##### inn: string

        ИНН

      - ##### kpp: string

        КПП

      - ##### ogrn: string

        ОГРН

    - ##### email: string

    - ##### full_address: string

    - ##### full_name: string

    - ##### phone: string

  - ##### cooperator_account: {
    announce: string;
    coop_type: string;
    created_at: string;
    description: string;
    document: {
    hash: string;
    meta: string;
    public_key: string;
    signature: string;
    };
    initial: string;
    is_branched: boolean;
    is_cooperative: boolean;
    is_enrolled: boolean;
    meta: string;
    minimum: string;
    org_initial: string;
    org_minimum: string;
    org_registration: string;
    parent_username: string;
    referer: string;
    registered_at: string;
    registration: string;
    registrator: string;
    status: string;
    storages: string[];
    type: string;
    username: string;
    verifications: {
    created_at: string;
    is_verified: boolean;
    last_update: string;
    notice: string;
    procedure: string;
    verificator: string;
    }[];
    }

    Объект аккаунта кооператива у оператора

    - ##### announce: string

      Объявление кооператива

    - ##### coop_type: string

      Тип кооператива

    - ##### created_at: string

      Дата создания

    - ##### description: string

      Описание кооператива

    - ##### document: {
      hash: string;
      meta: string;
      public_key: string;
      signature: string;
      }

      Документ кооператива

      - ##### hash: string

        Хеш документа

      - ##### meta: string

        Метаинформация документа

      - ##### public_key: string

        Публичный ключ документа

      - ##### signature: string

        Подпись документа

    - ##### initial: string

      Начальный взнос

    - ##### is_branched: boolean

      Разветвленный ли кооператив

    - ##### is_cooperative: boolean

      Является ли это кооперативом

    - ##### is_enrolled: boolean

      Включен ли кооператив

    - ##### meta: string

      Метаинформация

    - ##### minimum: string

      Минимальный взнос

    - ##### org_initial: string

      Начальный взнос организации

    - ##### org_minimum: string

      Минимальный взнос организации

    - ##### org_registration: string

      Регистрационный взнос организации

    - ##### parent_username: string

      Родительское имя аккаунта кооператива

    - ##### referer: string

      Реферал кооператива

    - ##### registered_at: string

      Дата регистрации

    - ##### registration: string

      Регистрационный взнос

    - ##### registrator: string

      Регистратор кооператива

    - ##### status: string

      Статус кооператива

    - ##### storages: string[]

      Список хранилищ

    - ##### type: string

      Тип учетной записи

    - ##### username: string

      Имя аккаунта кооператива

    - ##### verifications: {
      created_at: string;
      is_verified: boolean;
      last_update: string;
      notice: string;
      procedure: string;
      verificator: string;
      }[]

      Дата регистрации

  - ##### coopname: string

    Имя аккаунта кооператива

  - ##### system_status: SystemStatus

    Статус контроллера кооператива

  - ##### `Optional` vars?: {
    confidential_email: string;
    confidential_link: string;
    contact_email: string;
    coopenomics_agreement?: {
    protocol_day_month_year: string;
    protocol_number: string;
    };
    coopname: string;
    full_abbr: string;
    full_abbr_dative: string;
    full_abbr_genitive: string;
    name: string;
    participant_application: {
    protocol_day_month_year: string;
    protocol_number: string;
    };
    passport_request: string;
    privacy_agreement: {
    protocol_day_month_year: string;
    protocol_number: string;
    };
    short_abbr: string;
    signature_agreement: {
    protocol_day_month_year: string;
    protocol_number: string;
    };
    user_agreement: {
    protocol_day_month_year: string;
    protocol_number: string;
    };
    wallet_agreement: {
    protocol_day_month_year: string;
    protocol_number: string;
    };
    website: string;
    }

    Переменные кооператива

    - ##### confidential_email: string

    - ##### confidential_link: string

    - ##### contact_email: string

    - ##### `Optional` coopenomics_agreement?: {
      protocol_day_month_year: string;
      protocol_number: string;
      }

      - ##### protocol_day_month_year: string

      - ##### protocol_number: string

    - ##### coopname: string

    - ##### full_abbr: string

    - ##### full_abbr_dative: string

    - ##### full_abbr_genitive: string

    - ##### name: string

    - ##### participant_application: {
      protocol_day_month_year: string;
      protocol_number: string;
      }

      - ##### protocol_day_month_year: string

      - ##### protocol_number: string

    - ##### passport_request: string

    - ##### privacy_agreement: {
      protocol_day_month_year: string;
      protocol_number: string;
      }

      - ##### protocol_day_month_year: string

      - ##### protocol_number: string

    - ##### short_abbr: string

    - ##### signature_agreement: {
      protocol_day_month_year: string;
      protocol_number: string;
      }

      - ##### protocol_day_month_year: string

      - ##### protocol_number: string

    - ##### user_agreement: {
      protocol_day_month_year: string;
      protocol_number: string;
      }

      - ##### protocol_day_month_year: string

      - ##### protocol_number: string

    - ##### wallet_agreement: {
      protocol_day_month_year: string;
      protocol_number: string;
      }

      - ##### protocol_day_month_year: string

      - ##### protocol_number: string

    - ##### website: string

- Defined in components/sdk/src/mutations/system/installSystem.ts:19