Parameters
- options: ClientConnectionOptions
Returns {
Mutation: (<Z>(o, ops?) => Promise<InputType<{
__typename: "Mutation";
addParticipant: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
addTrustedAccount: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
createBankAccount: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
...on SbpAccount: "__union" & {
__typename: "SbpAccount";
phone: string;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createBranch: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
createDepositPayment: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createInitialPayment: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createProjectOfFreeDecision: {
__typename: "CreatedProjectFreeDecision";
decision: string;
id: string;
question: string;
};
deleteAccount: boolean;
deleteBranch: boolean;
deletePaymentMethod: boolean;
deleteTrustedAccount: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
editBranch: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
generateFreeDecision: {
__typename: "ProjectFreeDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ProjectFreeDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
project_id: string;
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateParticipantApplication: {
__typename: "ParticipantApplicationDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ParticipantApplicationMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateParticipantApplicationDecision: {
__typename: "ParticipantApplicationDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ParticipantApplicationDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
decision_id: number;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generatePrivacyAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateProjectOfFreeDecision: {
__typename: "ProjectFreeDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ProjectFreeDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
project_id: string;
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateSelectBranchDocument: {
__typename: "SelectBranchDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "SelectBranchMetaDocumentOutput";
block_num: number;
braname: string;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateSignatureAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateUserAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateWalletAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
initSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
installExtension: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
};
installSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
login: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
logout: boolean;
publishProjectOfFreeDecision: boolean;
refresh: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
registerAccount: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
registerParticipant: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
resetKey: boolean;
selectBranch: boolean;
setPaymentStatus: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
setWif: boolean;
startResetKey: boolean;
uninstallExtension: boolean;
updateAccount: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
updateBankAccount: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
...on SbpAccount: "__union" & {
__typename: "SbpAccount";
phone: string;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
updateExtension: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
};
updateSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
}, Z, UnionOverrideKeys<ScalarDefinition, ScalarDefinition>>>);
Query: (<Z>(o, ops?) => Promise<InputType<{
__typename: "Query";
getAccount: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
getAccounts: {
__typename: "AccountsPaginationResult";
currentPage: number;
items: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: (...) | (...) | (...);
cpu_limit: {
__typename: ...;
available: ...;
current_used?: ...;
last_usage_update_time?: ...;
max: ...;
used: ...;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: ...;
available: ...;
current_used?: ...;
last_usage_update_time?: ...;
max: ...;
used: ...;
};
net_weight: string;
permissions: (...)[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: (...) | (...) | (...);
rex_info?: (...) | (...) | (...);
self_delegated_bandwidth?: (...) | (...) | (...);
total_resources?: (...) | (...) | (...);
voter_info?: (...) | (...) | (...);
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: (...) | (...) | (...);
created_at: (...) & (...);
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: (...) & (...);
last_update: (...) & (...);
status: string;
type?: (...) | (...) | (...);
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: (...) | (...) | (...);
is_email_verified: boolean;
is_registered: boolean;
message?: (...) | (...) | (...);
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: (...)[];
type: string;
username: string;
verifications: (...)[];
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getAgenda: {
__typename: "AgendaWithDocuments";
action: {
__typename: "BlockchainAction";
account: string;
account_ram_deltas: {
__typename: "AccountRamDelta";
account: string;
delta: number;
}[];
action_ordinal: number;
authorization: {
__typename: "ActionAuthorization";
actor: string;
permission: string;
}[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: "scalar" & {
name: "JSON";
};
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: "ActionReceipt";
abi_sequence: number;
act_digest: string;
auth_sequence: {
__typename: ...;
account: ...;
sequence: ...;
}[];
code_sequence: number;
global_sequence: string;
receiver: string;
recv_sequence: string;
};
receiver: string;
transaction_id: string;
};
documents: {
__typename: "DocumentPackage";
acts: {
__typename: "ActDetail";
action?: (...) | (...) | (...);
document?: (...) | (...) | (...);
}[];
decision: {
__typename: "DecisionDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on FreeDecisionDocument: (...) & (...);
...on ParticipantApplicationDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
votes_against: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
votes_for: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
};
links: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: ...;
block_num: ...;
coopname: ...;
created_at: ...;
generator: ...;
lang: ...;
links: ...;
registry_id: ...;
timezone: ...;
title: ...;
username: ...;
version: ...;
};
}[];
statement: {
__typename: "StatementDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on ParticipantApplicationDocument: (...) & (...);
...on ProjectFreeDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
};
};
table: {
__typename: "BlockchainDecision";
approved: boolean;
authorization: {
__typename: "SignedBlockchainDocument";
hash: string;
meta: string;
public_key: string;
signature: string;
};
authorized: boolean;
authorized_by: string;
batch_id: number;
coopname: string;
created_at: string;
expired_at: string;
id: number;
meta: string;
statement: {
__typename: "SignedBlockchainDocument";
hash: string;
meta: string;
public_key: string;
signature: string;
};
type: string;
username: string;
validated: boolean;
votes_against: string[];
votes_for: string[];
};
}[];
getBranches: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: ...;
code: ...;
issued_at: ...;
issued_by: ...;
number: ...;
series: ...;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
}[];
getDocuments: {
__typename: "DocumentsPaginationResult";
currentPage: number;
items: {
__typename: "DocumentPackage";
acts: {
__typename: "ActDetail";
action?: (...) | (...) | (...);
document?: (...) | (...) | (...);
}[];
decision: {
__typename: "DecisionDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on FreeDecisionDocument: (...) & (...);
...on ParticipantApplicationDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
votes_against: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
votes_for: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
};
links: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: ...;
block_num: ...;
coopname: ...;
created_at: ...;
generator: ...;
lang: ...;
links: ...;
registry_id: ...;
timezone: ...;
title: ...;
username: ...;
version: ...;
};
}[];
statement: {
__typename: "StatementDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on ParticipantApplicationDocument: (...) & (...);
...on ProjectFreeDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
};
}[];
totalCount: number;
totalPages: number;
};
getExtensions: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
}[];
getPaymentMethods: {
__typename: "PaymentMethodPaginationResult";
currentPage: number;
items: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: ...;
account_number: ...;
bank_name: ...;
card_number?: ...;
currency: ...;
details: ...;
};
...on SbpAccount: "__union" & {
__typename: ...;
phone: ...;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getPayments: {
__typename: "PaymentPaginationResult";
currentPage: number;
items: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getSystemInfo: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
}, Z, UnionOverrideKeys<ScalarDefinition, ScalarDefinition>>>);
Subscription: (<O, OVERRIDESCLR, R>(operation, graphqlOptions?) => (<Z>(o, ops?) => SubscriptionToGraphQL<Z, GraphQLTypes[R], UnionOverrideKeys<ScalarDefinition, OVERRIDESCLR>>));
Wallet: Wallet;
setToken: ((token) => void);
}
Объект, содержащий методы для работы с API:
setToken
: Устанавливает заголовок Authorization с переданным токеном.
Query
: Метод для выполнения GraphQL-запросов.
Mutation
: Метод для выполнения GraphQL-мутаций.
Subscription
: Метод для подписки на события через WebSocket с использованием протокола GraphQL Subscriptions.
Blockchain
: Экземпляр класса Blockchain для взаимодействия с функциями блокчейна.
Mutation: (<Z>(o, ops?) => Promise<InputType<{
__typename: "Mutation";
addParticipant: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
addTrustedAccount: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
createBankAccount: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
...on SbpAccount: "__union" & {
__typename: "SbpAccount";
phone: string;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createBranch: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
createDepositPayment: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createInitialPayment: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createProjectOfFreeDecision: {
__typename: "CreatedProjectFreeDecision";
decision: string;
id: string;
question: string;
};
deleteAccount: boolean;
deleteBranch: boolean;
deletePaymentMethod: boolean;
deleteTrustedAccount: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
editBranch: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
generateFreeDecision: {
__typename: "ProjectFreeDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ProjectFreeDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
project_id: string;
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateParticipantApplication: {
__typename: "ParticipantApplicationDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ParticipantApplicationMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateParticipantApplicationDecision: {
__typename: "ParticipantApplicationDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ParticipantApplicationDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
decision_id: number;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generatePrivacyAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateProjectOfFreeDecision: {
__typename: "ProjectFreeDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ProjectFreeDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
project_id: string;
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateSelectBranchDocument: {
__typename: "SelectBranchDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "SelectBranchMetaDocumentOutput";
block_num: number;
braname: string;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateSignatureAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateUserAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateWalletAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
initSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
installExtension: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
};
installSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
login: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
logout: boolean;
publishProjectOfFreeDecision: boolean;
refresh: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
registerAccount: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
registerParticipant: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
resetKey: boolean;
selectBranch: boolean;
setPaymentStatus: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
setWif: boolean;
startResetKey: boolean;
uninstallExtension: boolean;
updateAccount: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
updateBankAccount: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
...on SbpAccount: "__union" & {
__typename: "SbpAccount";
phone: string;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
updateExtension: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
};
updateSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
}, Z, UnionOverrideKeys<ScalarDefinition, ScalarDefinition>>>)
- <Z>(o, ops?): Promise<InputType<{
__typename: "Mutation";
addParticipant: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
addTrustedAccount: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
createBankAccount: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
...on SbpAccount: "__union" & {
__typename: "SbpAccount";
phone: string;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createBranch: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
createDepositPayment: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createInitialPayment: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createProjectOfFreeDecision: {
__typename: "CreatedProjectFreeDecision";
decision: string;
id: string;
question: string;
};
deleteAccount: boolean;
deleteBranch: boolean;
deletePaymentMethod: boolean;
deleteTrustedAccount: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
editBranch: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
generateFreeDecision: {
__typename: "ProjectFreeDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ProjectFreeDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
project_id: string;
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateParticipantApplication: {
__typename: "ParticipantApplicationDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ParticipantApplicationMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateParticipantApplicationDecision: {
__typename: "ParticipantApplicationDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ParticipantApplicationDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
decision_id: number;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generatePrivacyAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateProjectOfFreeDecision: {
__typename: "ProjectFreeDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ProjectFreeDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
project_id: string;
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateSelectBranchDocument: {
__typename: "SelectBranchDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "SelectBranchMetaDocumentOutput";
block_num: number;
braname: string;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateSignatureAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateUserAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateWalletAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
initSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
installExtension: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
};
installSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
login: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
logout: boolean;
publishProjectOfFreeDecision: boolean;
refresh: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
registerAccount: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
registerParticipant: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
resetKey: boolean;
selectBranch: boolean;
setPaymentStatus: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
setWif: boolean;
startResetKey: boolean;
uninstallExtension: boolean;
updateAccount: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
updateBankAccount: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
...on SbpAccount: "__union" & {
__typename: "SbpAccount";
phone: string;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
updateExtension: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
};
updateSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
}, Z, UnionOverrideKeys<ScalarDefinition, ScalarDefinition>>> Type Parameters
- Z extends AliasType<{
__typename?: boolean | `@${string}`;
addParticipant?: [{
data: {
created_at: string | Variable<(...), (...)>;
email: string | Variable<(...), (...)>;
entrepreneur_data?: null | {
bank_account: ...;
birthdate: ...;
city: ...;
country: ...;
details: ...;
first_name: ...;
full_address: ...;
last_name: ...;
middle_name: ...;
phone: ...;
} | Variable<(...), (...)>;
individual_data?: null | {
birthdate: ...;
first_name: ...;
full_address: ...;
last_name: ...;
middle_name: ...;
passport?: ...;
phone: ...;
} | Variable<(...), (...)>;
initial: string | Variable<(...), (...)>;
minimum: string | Variable<(...), (...)>;
organization_data?: null | {
bank_account: ...;
city: ...;
country: ...;
details: ...;
fact_address: ...;
full_address: ...;
full_name: ...;
phone: ...;
represented_by: ...;
short_name: ...;
type: ...;
} | Variable<(...), (...)>;
referer?: null | string | Variable<(...), (...)>;
spread_initial: boolean | Variable<(...), (...)>;
type: AccountType | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
blockchain_account?: AliasType<{
__typename?: ...;
account_name?: ...;
core_liquid_balance?: ...;
cpu_limit?: ...;
cpu_weight?: ...;
created?: ...;
head_block_num?: ...;
head_block_time?: ...;
last_code_update?: ...;
net_limit?: ...;
net_weight?: ...;
permissions?: ...;
privileged?: ...;
ram_quota?: ...;
ram_usage?: ...;
refund_request?: ...;
rex_info?: ...;
self_delegated_bandwidth?: ...;
total_resources?: ...;
voter_info?: ...;
}>;
participant_account?: AliasType<{
__typename?: ...;
braname?: ...;
created_at?: ...;
has_vote?: ...;
is_initial?: ...;
is_minimum?: ...;
last_min_pay?: ...;
last_update?: ...;
status?: ...;
type?: ...;
username?: ...;
}>;
provider_account?: AliasType<{
__typename?: ...;
email?: ...;
has_account?: ...;
initial_order?: ...;
is_email_verified?: ...;
is_registered?: ...;
message?: ...;
public_key?: ...;
referer?: ...;
role?: ...;
status?: ...;
type?: ...;
username?: ...;
}>;
user_account?: AliasType<{
__typename?: ...;
meta?: ...;
referer?: ...;
registered_at?: ...;
registrator?: ...;
status?: ...;
storages?: ...;
type?: ...;
username?: ...;
verifications?: ...;
}>;
username?: boolean | `@${string}`;
}>];
addTrustedAccount?: [{
data: {
braname: string | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
trusted: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
bank_account?: AliasType<{
__typename?: ...;
created_at?: ...;
data?: ...;
is_default?: ...;
method_id?: ...;
method_type?: ...;
updated_at?: ...;
username?: ...;
}>;
braname?: boolean | `@${string}`;
city?: boolean | `@${string}`;
coopname?: boolean | `@${string}`;
country?: boolean | `@${string}`;
details?: AliasType<{
__typename?: ...;
inn?: ...;
kpp?: ...;
ogrn?: ...;
}>;
email?: boolean | `@${string}`;
fact_address?: boolean | `@${string}`;
full_address?: boolean | `@${string}`;
full_name?: boolean | `@${string}`;
phone?: boolean | `@${string}`;
represented_by?: AliasType<{
__typename?: ...;
based_on?: ...;
first_name?: ...;
last_name?: ...;
middle_name?: ...;
position?: ...;
}>;
short_name?: boolean | `@${string}`;
trusted?: AliasType<{
__typename?: ...;
birthdate?: ...;
email?: ...;
first_name?: ...;
full_address?: ...;
last_name?: ...;
middle_name?: ...;
passport?: ...;
phone?: ...;
username?: ...;
}>;
trustee?: AliasType<{
__typename?: ...;
birthdate?: ...;
email?: ...;
first_name?: ...;
full_address?: ...;
last_name?: ...;
middle_name?: ...;
passport?: ...;
phone?: ...;
username?: ...;
}>;
type?: boolean | `@${string}`;
}>];
createBankAccount?: [{
data: {
data: {
account_number: ...;
bank_name: ...;
card_number?: ...;
currency: ...;
details: ...;
} | Variable<(...), (...)>;
is_default: boolean | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
created_at?: boolean | `@${string}`;
data?: AliasType<{
...on BankAccount?: ...;
...on SbpAccount?: ...;
__typename?: ...;
}>;
is_default?: boolean | `@${string}`;
method_id?: boolean | `@${string}`;
method_type?: boolean | `@${string}`;
updated_at?: boolean | `@${string}`;
username?: boolean | `@${string}`;
}>];
createBranch?: [{
data: {
based_on: string | Variable<(...), (...)>;
braname: string | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
email: string | Variable<(...), (...)>;
fact_address: string | Variable<(...), (...)>;
full_name: string | Variable<(...), (...)>;
phone: string | Variable<(...), (...)>;
short_name: string | Variable<(...), (...)>;
trustee: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
bank_account?: AliasType<{
__typename?: ...;
created_at?: ...;
data?: ...;
is_default?: ...;
method_id?: ...;
method_type?: ...;
updated_at?: ...;
username?: ...;
}>;
braname?: boolean | `@${string}`;
city?: boolean | `@${string}`;
coopname?: boolean | `@${string}`;
country?: boolean | `@${string}`;
details?: AliasType<{
__typename?: ...;
inn?: ...;
kpp?: ...;
ogrn?: ...;
}>;
email?: boolean | `@${string}`;
fact_address?: boolean | `@${string}`;
full_address?: boolean | `@${string}`;
full_name?: boolean | `@${string}`;
phone?: boolean | `@${string}`;
represented_by?: AliasType<{
__typename?: ...;
based_on?: ...;
first_name?: ...;
last_name?: ...;
middle_name?: ...;
position?: ...;
}>;
short_name?: boolean | `@${string}`;
trusted?: AliasType<{
__typename?: ...;
birthdate?: ...;
email?: ...;
first_name?: ...;
full_address?: ...;
last_name?: ...;
middle_name?: ...;
passport?: ...;
phone?: ...;
username?: ...;
}>;
trustee?: AliasType<{
__typename?: ...;
birthdate?: ...;
email?: ...;
first_name?: ...;
full_address?: ...;
last_name?: ...;
middle_name?: ...;
passport?: ...;
phone?: ...;
username?: ...;
}>;
type?: boolean | `@${string}`;
}>];
createDepositPayment?: [{
data: {
quantity: string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
amount?: boolean | `@${string}`;
blockchain_id?: boolean | `@${string}`;
created_at?: boolean | `@${string}`;
details?: AliasType<{
__typename?: ...;
amount_plus_fee?: ...;
amount_without_fee?: ...;
data?: ...;
fact_fee_percent?: ...;
fee_amount?: ...;
fee_percent?: ...;
tolerance_percent?: ...;
}>;
expired_at?: boolean | `@${string}`;
id?: boolean | `@${string}`;
message?: boolean | `@${string}`;
provider?: boolean | `@${string}`;
status?: boolean | `@${string}`;
symbol?: boolean | `@${string}`;
updated_at?: boolean | `@${string}`;
username?: boolean | `@${string}`;
}>];
createInitialPayment?: [{
data: {
username: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
amount?: boolean | `@${string}`;
blockchain_id?: boolean | `@${string}`;
created_at?: boolean | `@${string}`;
details?: AliasType<{
__typename?: ...;
amount_plus_fee?: ...;
amount_without_fee?: ...;
data?: ...;
fact_fee_percent?: ...;
fee_amount?: ...;
fee_percent?: ...;
tolerance_percent?: ...;
}>;
expired_at?: boolean | `@${string}`;
id?: boolean | `@${string}`;
message?: boolean | `@${string}`;
provider?: boolean | `@${string}`;
status?: boolean | `@${string}`;
symbol?: boolean | `@${string}`;
updated_at?: boolean | `@${string}`;
username?: boolean | `@${string}`;
}>];
createProjectOfFreeDecision?: [{
data: {
decision: string | Variable<(...), (...)>;
question: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
decision?: boolean | `@${string}`;
id?: boolean | `@${string}`;
question?: boolean | `@${string}`;
}>];
deleteAccount?: [{
data: {
username_for_delete: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, boolean | `@${string}`];
deleteBranch?: [{
data: {
braname: string | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, boolean | `@${string}`];
deletePaymentMethod?: [{
data: {
method_id: string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, boolean | `@${string}`];
deleteTrustedAccount?: [{
data: {
braname: string | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
trusted: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
bank_account?: AliasType<{
__typename?: ...;
created_at?: ...;
data?: ...;
is_default?: ...;
method_id?: ...;
method_type?: ...;
updated_at?: ...;
username?: ...;
}>;
braname?: boolean | `@${string}`;
city?: boolean | `@${string}`;
coopname?: boolean | `@${string}`;
country?: boolean | `@${string}`;
details?: AliasType<{
__typename?: ...;
inn?: ...;
kpp?: ...;
ogrn?: ...;
}>;
email?: boolean | `@${string}`;
fact_address?: boolean | `@${string}`;
full_address?: boolean | `@${string}`;
full_name?: boolean | `@${string}`;
phone?: boolean | `@${string}`;
represented_by?: AliasType<{
__typename?: ...;
based_on?: ...;
first_name?: ...;
last_name?: ...;
middle_name?: ...;
position?: ...;
}>;
short_name?: boolean | `@${string}`;
trusted?: AliasType<{
__typename?: ...;
birthdate?: ...;
email?: ...;
first_name?: ...;
full_address?: ...;
last_name?: ...;
middle_name?: ...;
passport?: ...;
phone?: ...;
username?: ...;
}>;
trustee?: AliasType<{
__typename?: ...;
birthdate?: ...;
email?: ...;
first_name?: ...;
full_address?: ...;
last_name?: ...;
middle_name?: ...;
passport?: ...;
phone?: ...;
username?: ...;
}>;
type?: boolean | `@${string}`;
}>];
editBranch?: [{
data: {
based_on: string | Variable<(...), (...)>;
braname: string | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
email: string | Variable<(...), (...)>;
fact_address: string | Variable<(...), (...)>;
full_name: string | Variable<(...), (...)>;
phone: string | Variable<(...), (...)>;
short_name: string | Variable<(...), (...)>;
trustee: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
bank_account?: AliasType<{
__typename?: ...;
created_at?: ...;
data?: ...;
is_default?: ...;
method_id?: ...;
method_type?: ...;
updated_at?: ...;
username?: ...;
}>;
braname?: boolean | `@${string}`;
city?: boolean | `@${string}`;
coopname?: boolean | `@${string}`;
country?: boolean | `@${string}`;
details?: AliasType<{
__typename?: ...;
inn?: ...;
kpp?: ...;
ogrn?: ...;
}>;
email?: boolean | `@${string}`;
fact_address?: boolean | `@${string}`;
full_address?: boolean | `@${string}`;
full_name?: boolean | `@${string}`;
phone?: boolean | `@${string}`;
represented_by?: AliasType<{
__typename?: ...;
based_on?: ...;
first_name?: ...;
last_name?: ...;
middle_name?: ...;
position?: ...;
}>;
short_name?: boolean | `@${string}`;
trusted?: AliasType<{
__typename?: ...;
birthdate?: ...;
email?: ...;
first_name?: ...;
full_address?: ...;
last_name?: ...;
middle_name?: ...;
passport?: ...;
phone?: ...;
username?: ...;
}>;
trustee?: AliasType<{
__typename?: ...;
birthdate?: ...;
email?: ...;
first_name?: ...;
full_address?: ...;
last_name?: ...;
middle_name?: ...;
passport?: ...;
phone?: ...;
username?: ...;
}>;
type?: boolean | `@${string}`;
}>];
generateFreeDecision?: [{
data: {
block_num?: null | number | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
created_at?: null | string | Variable<(...), (...)>;
decision_id: number | Variable<(...), (...)>;
generator?: null | string | Variable<(...), (...)>;
lang?: null | string | Variable<(...), (...)>;
links?: null | (...)[] | Variable<(...), (...)>;
project_id: string | Variable<(...), (...)>;
timezone?: null | string | Variable<(...), (...)>;
title?: null | string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
version?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
options?: null | {
skip_save?: null | boolean | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
binary?: boolean | `@${string}`;
full_title?: boolean | `@${string}`;
hash?: boolean | `@${string}`;
html?: boolean | `@${string}`;
meta?: AliasType<{
__typename?: ...;
block_num?: ...;
coopname?: ...;
created_at?: ...;
generator?: ...;
lang?: ...;
links?: ...;
project_id?: ...;
registry_id?: ...;
timezone?: ...;
title?: ...;
username?: ...;
version?: ...;
}>;
}>];
generateParticipantApplication?: [{
data: {
block_num?: null | number | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
created_at?: null | string | Variable<(...), (...)>;
generator?: null | string | Variable<(...), (...)>;
lang?: null | string | Variable<(...), (...)>;
links?: null | (...)[] | Variable<(...), (...)>;
signature: string | Variable<(...), (...)>;
skip_save: boolean | Variable<(...), (...)>;
timezone?: null | string | Variable<(...), (...)>;
title?: null | string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
version?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
options?: null | {
skip_save?: null | boolean | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
binary?: boolean | `@${string}`;
full_title?: boolean | `@${string}`;
hash?: boolean | `@${string}`;
html?: boolean | `@${string}`;
meta?: AliasType<{
__typename?: ...;
block_num?: ...;
coopname?: ...;
created_at?: ...;
generator?: ...;
lang?: ...;
links?: ...;
registry_id?: ...;
timezone?: ...;
title?: ...;
username?: ...;
version?: ...;
}>;
}>];
generateParticipantApplicationDecision?: [{
data: {
block_num?: null | number | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
created_at?: null | string | Variable<(...), (...)>;
decision_id: number | Variable<(...), (...)>;
generator?: null | string | Variable<(...), (...)>;
lang?: null | string | Variable<(...), (...)>;
links?: null | (...)[] | Variable<(...), (...)>;
timezone?: null | string | Variable<(...), (...)>;
title?: null | string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
version?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
options?: null | {
skip_save?: null | boolean | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
binary?: boolean | `@${string}`;
full_title?: boolean | `@${string}`;
hash?: boolean | `@${string}`;
html?: boolean | `@${string}`;
meta?: AliasType<{
__typename?: ...;
block_num?: ...;
coopname?: ...;
created_at?: ...;
decision_id?: ...;
generator?: ...;
lang?: ...;
links?: ...;
registry_id?: ...;
timezone?: ...;
title?: ...;
username?: ...;
version?: ...;
}>;
}>];
generatePrivacyAgreement?: [{
data: {
block_num?: null | number | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
created_at?: null | string | Variable<(...), (...)>;
generator?: null | string | Variable<(...), (...)>;
lang?: null | string | Variable<(...), (...)>;
links?: null | (...)[] | Variable<(...), (...)>;
timezone?: null | string | Variable<(...), (...)>;
title?: null | string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
version?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
options?: null | {
skip_save?: null | boolean | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
binary?: boolean | `@${string}`;
full_title?: boolean | `@${string}`;
hash?: boolean | `@${string}`;
html?: boolean | `@${string}`;
meta?: AliasType<{
__typename?: ...;
block_num?: ...;
coopname?: ...;
created_at?: ...;
generator?: ...;
lang?: ...;
links?: ...;
registry_id?: ...;
timezone?: ...;
title?: ...;
username?: ...;
version?: ...;
}>;
}>];
generateProjectOfFreeDecision?: [{
data: {
block_num?: null | number | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
created_at?: null | string | Variable<(...), (...)>;
generator?: null | string | Variable<(...), (...)>;
lang?: null | string | Variable<(...), (...)>;
links?: null | (...)[] | Variable<(...), (...)>;
project_id: string | Variable<(...), (...)>;
timezone?: null | string | Variable<(...), (...)>;
title?: null | string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
version?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
options?: null | {
skip_save?: null | boolean | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
binary?: boolean | `@${string}`;
full_title?: boolean | `@${string}`;
hash?: boolean | `@${string}`;
html?: boolean | `@${string}`;
meta?: AliasType<{
__typename?: ...;
block_num?: ...;
coopname?: ...;
created_at?: ...;
generator?: ...;
lang?: ...;
links?: ...;
project_id?: ...;
registry_id?: ...;
timezone?: ...;
title?: ...;
username?: ...;
version?: ...;
}>;
}>];
generateSelectBranchDocument?: [{
data: {
block_num?: null | number | Variable<(...), (...)>;
braname: string | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
created_at?: null | string | Variable<(...), (...)>;
generator?: null | string | Variable<(...), (...)>;
lang?: null | string | Variable<(...), (...)>;
links?: null | (...)[] | Variable<(...), (...)>;
timezone?: null | string | Variable<(...), (...)>;
title?: null | string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
version?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
options?: null | {
skip_save?: null | boolean | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
binary?: boolean | `@${string}`;
full_title?: boolean | `@${string}`;
hash?: boolean | `@${string}`;
html?: boolean | `@${string}`;
meta?: AliasType<{
__typename?: ...;
block_num?: ...;
braname?: ...;
coopname?: ...;
created_at?: ...;
generator?: ...;
lang?: ...;
links?: ...;
registry_id?: ...;
timezone?: ...;
title?: ...;
username?: ...;
version?: ...;
}>;
}>];
generateSignatureAgreement?: [{
data: {
block_num?: null | number | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
created_at?: null | string | Variable<(...), (...)>;
generator?: null | string | Variable<(...), (...)>;
lang?: null | string | Variable<(...), (...)>;
links?: null | (...)[] | Variable<(...), (...)>;
timezone?: null | string | Variable<(...), (...)>;
title?: null | string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
version?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
options?: null | {
skip_save?: null | boolean | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
binary?: boolean | `@${string}`;
full_title?: boolean | `@${string}`;
hash?: boolean | `@${string}`;
html?: boolean | `@${string}`;
meta?: AliasType<{
__typename?: ...;
block_num?: ...;
coopname?: ...;
created_at?: ...;
generator?: ...;
lang?: ...;
links?: ...;
registry_id?: ...;
timezone?: ...;
title?: ...;
username?: ...;
version?: ...;
}>;
}>];
generateUserAgreement?: [{
data: {
block_num?: null | number | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
created_at?: null | string | Variable<(...), (...)>;
generator?: null | string | Variable<(...), (...)>;
lang?: null | string | Variable<(...), (...)>;
links?: null | (...)[] | Variable<(...), (...)>;
timezone?: null | string | Variable<(...), (...)>;
title?: null | string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
version?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
options?: null | {
skip_save?: null | boolean | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
binary?: boolean | `@${string}`;
full_title?: boolean | `@${string}`;
hash?: boolean | `@${string}`;
html?: boolean | `@${string}`;
meta?: AliasType<{
__typename?: ...;
block_num?: ...;
coopname?: ...;
created_at?: ...;
generator?: ...;
lang?: ...;
links?: ...;
registry_id?: ...;
timezone?: ...;
title?: ...;
username?: ...;
version?: ...;
}>;
}>];
generateWalletAgreement?: [{
data: {
block_num?: null | number | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
created_at?: null | string | Variable<(...), (...)>;
generator?: null | string | Variable<(...), (...)>;
lang?: null | string | Variable<(...), (...)>;
links?: null | (...)[] | Variable<(...), (...)>;
timezone?: null | string | Variable<(...), (...)>;
title?: null | string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
version?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
options?: null | {
skip_save?: null | boolean | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
binary?: boolean | `@${string}`;
full_title?: boolean | `@${string}`;
hash?: boolean | `@${string}`;
html?: boolean | `@${string}`;
meta?: AliasType<{
__typename?: ...;
block_num?: ...;
coopname?: ...;
created_at?: ...;
generator?: ...;
lang?: ...;
links?: ...;
registry_id?: ...;
timezone?: ...;
title?: ...;
username?: ...;
version?: ...;
}>;
}>];
initSystem?: [{
data: {
organization_data: {
bank_account: ...;
city: ...;
country: ...;
details: ...;
fact_address: ...;
full_address: ...;
full_name: ...;
phone: ...;
represented_by: ...;
short_name: ...;
type: ...;
} | Variable<(...), (...)>;
vars: {
confidential_email: ...;
confidential_link: ...;
contact_email: ...;
coopenomics_agreement?: ...;
coopname: ...;
full_abbr: ...;
full_abbr_dative: ...;
full_abbr_genitive: ...;
name: ...;
participant_application: ...;
passport_request: ...;
privacy_agreement: ...;
short_abbr: ...;
signature_agreement: ...;
user_agreement: ...;
wallet_agreement: ...;
website: ...;
} | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
blockchain_account?: AliasType<{
__typename?: ...;
account_name?: ...;
core_liquid_balance?: ...;
cpu_limit?: ...;
cpu_weight?: ...;
created?: ...;
head_block_num?: ...;
head_block_time?: ...;
last_code_update?: ...;
net_limit?: ...;
net_weight?: ...;
permissions?: ...;
privileged?: ...;
ram_quota?: ...;
ram_usage?: ...;
refund_request?: ...;
rex_info?: ...;
self_delegated_bandwidth?: ...;
total_resources?: ...;
voter_info?: ...;
}>;
blockchain_info?: AliasType<{
__typename?: ...;
block_cpu_limit?: ...;
block_net_limit?: ...;
chain_id?: ...;
fork_db_head_block_id?: ...;
fork_db_head_block_num?: ...;
head_block_id?: ...;
head_block_num?: ...;
head_block_producer?: ...;
head_block_time?: ...;
last_irreversible_block_id?: ...;
last_irreversible_block_num?: ...;
last_irreversible_block_time?: ...;
server_version?: ...;
server_version_string?: ...;
virtual_block_cpu_limit?: ...;
virtual_block_net_limit?: ...;
}>;
contacts?: AliasType<{
__typename?: ...;
chairman?: ...;
details?: ...;
email?: ...;
full_address?: ...;
full_name?: ...;
phone?: ...;
}>;
cooperator_account?: AliasType<{
__typename?: ...;
announce?: ...;
coop_type?: ...;
created_at?: ...;
description?: ...;
document?: ...;
initial?: ...;
is_branched?: ...;
is_cooperative?: ...;
is_enrolled?: ...;
meta?: ...;
minimum?: ...;
org_initial?: ...;
org_minimum?: ...;
org_registration?: ...;
parent_username?: ...;
referer?: ...;
registered_at?: ...;
registration?: ...;
registrator?: ...;
status?: ...;
storages?: ...;
type?: ...;
username?: ...;
verifications?: ...;
}>;
coopname?: boolean | `@${string}`;
system_status?: boolean | `@${string}`;
vars?: AliasType<{
__typename?: ...;
confidential_email?: ...;
confidential_link?: ...;
contact_email?: ...;
coopenomics_agreement?: ...;
coopname?: ...;
full_abbr?: ...;
full_abbr_dative?: ...;
full_abbr_genitive?: ...;
name?: ...;
participant_application?: ...;
passport_request?: ...;
privacy_agreement?: ...;
short_abbr?: ...;
signature_agreement?: ...;
user_agreement?: ...;
wallet_agreement?: ...;
website?: ...;
}>;
}>];
installExtension?: [{
data: {
config: unknown;
created_at?: unknown;
enabled: boolean | Variable<(...), (...)>;
name: string | Variable<(...), (...)>;
updated_at?: unknown;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
available?: boolean | `@${string}`;
config?: boolean | `@${string}`;
created_at?: boolean | `@${string}`;
description?: boolean | `@${string}`;
enabled?: boolean | `@${string}`;
image?: boolean | `@${string}`;
installed?: boolean | `@${string}`;
instructions?: boolean | `@${string}`;
name?: boolean | `@${string}`;
readme?: boolean | `@${string}`;
schema?: boolean | `@${string}`;
tags?: boolean | `@${string}`;
title?: boolean | `@${string}`;
updated_at?: boolean | `@${string}`;
}>];
installSystem?: [{
data: {
soviet: Variable<(...), (...)> | (...)[];
wif: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
blockchain_account?: AliasType<{
__typename?: ...;
account_name?: ...;
core_liquid_balance?: ...;
cpu_limit?: ...;
cpu_weight?: ...;
created?: ...;
head_block_num?: ...;
head_block_time?: ...;
last_code_update?: ...;
net_limit?: ...;
net_weight?: ...;
permissions?: ...;
privileged?: ...;
ram_quota?: ...;
ram_usage?: ...;
refund_request?: ...;
rex_info?: ...;
self_delegated_bandwidth?: ...;
total_resources?: ...;
voter_info?: ...;
}>;
blockchain_info?: AliasType<{
__typename?: ...;
block_cpu_limit?: ...;
block_net_limit?: ...;
chain_id?: ...;
fork_db_head_block_id?: ...;
fork_db_head_block_num?: ...;
head_block_id?: ...;
head_block_num?: ...;
head_block_producer?: ...;
head_block_time?: ...;
last_irreversible_block_id?: ...;
last_irreversible_block_num?: ...;
last_irreversible_block_time?: ...;
server_version?: ...;
server_version_string?: ...;
virtual_block_cpu_limit?: ...;
virtual_block_net_limit?: ...;
}>;
contacts?: AliasType<{
__typename?: ...;
chairman?: ...;
details?: ...;
email?: ...;
full_address?: ...;
full_name?: ...;
phone?: ...;
}>;
cooperator_account?: AliasType<{
__typename?: ...;
announce?: ...;
coop_type?: ...;
created_at?: ...;
description?: ...;
document?: ...;
initial?: ...;
is_branched?: ...;
is_cooperative?: ...;
is_enrolled?: ...;
meta?: ...;
minimum?: ...;
org_initial?: ...;
org_minimum?: ...;
org_registration?: ...;
parent_username?: ...;
referer?: ...;
registered_at?: ...;
registration?: ...;
registrator?: ...;
status?: ...;
storages?: ...;
type?: ...;
username?: ...;
verifications?: ...;
}>;
coopname?: boolean | `@${string}`;
system_status?: boolean | `@${string}`;
vars?: AliasType<{
__typename?: ...;
confidential_email?: ...;
confidential_link?: ...;
contact_email?: ...;
coopenomics_agreement?: ...;
coopname?: ...;
full_abbr?: ...;
full_abbr_dative?: ...;
full_abbr_genitive?: ...;
name?: ...;
participant_application?: ...;
passport_request?: ...;
privacy_agreement?: ...;
short_abbr?: ...;
signature_agreement?: ...;
user_agreement?: ...;
wallet_agreement?: ...;
website?: ...;
}>;
}>];
login?: [{
data: {
email: string | Variable<(...), (...)>;
now: string | Variable<(...), (...)>;
signature: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
account?: AliasType<{
__typename?: ...;
blockchain_account?: ...;
participant_account?: ...;
provider_account?: ...;
user_account?: ...;
username?: ...;
}>;
tokens?: AliasType<{
__typename?: ...;
access?: ...;
refresh?: ...;
}>;
}>];
logout?: [{
data: {
access_token: string | Variable<(...), (...)>;
refresh_token: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, boolean | `@${string}`];
publishProjectOfFreeDecision?: [{
data: {
coopname: string | Variable<(...), (...)>;
document: {
hash: ...;
meta: ...;
public_key: ...;
signature: ...;
} | Variable<(...), (...)>;
meta: string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, boolean | `@${string}`];
refresh?: [{
data: {
access_token: string | Variable<(...), (...)>;
refresh_token: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
account?: AliasType<{
__typename?: ...;
blockchain_account?: ...;
participant_account?: ...;
provider_account?: ...;
user_account?: ...;
username?: ...;
}>;
tokens?: AliasType<{
__typename?: ...;
access?: ...;
refresh?: ...;
}>;
}>];
registerAccount?: [{
data: {
email: string | Variable<(...), (...)>;
entrepreneur_data?: null | {
bank_account: ...;
birthdate: ...;
city: ...;
country: ...;
details: ...;
first_name: ...;
full_address: ...;
last_name: ...;
middle_name: ...;
phone: ...;
} | Variable<(...), (...)>;
individual_data?: null | {
birthdate: ...;
first_name: ...;
full_address: ...;
last_name: ...;
middle_name: ...;
passport?: ...;
phone: ...;
} | Variable<(...), (...)>;
organization_data?: null | {
bank_account: ...;
city: ...;
country: ...;
details: ...;
fact_address: ...;
full_address: ...;
full_name: ...;
phone: ...;
represented_by: ...;
short_name: ...;
type: ...;
} | Variable<(...), (...)>;
public_key?: null | string | Variable<(...), (...)>;
referer?: null | string | Variable<(...), (...)>;
role: User | Variable<(...), (...)>;
type: AccountType | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
account?: AliasType<{
__typename?: ...;
blockchain_account?: ...;
participant_account?: ...;
provider_account?: ...;
user_account?: ...;
username?: ...;
}>;
tokens?: AliasType<{
__typename?: ...;
access?: ...;
refresh?: ...;
}>;
}>];
registerParticipant?: [{
data: {
privacy_agreement: {
hash: ...;
meta: ...;
public_key: ...;
signature: ...;
} | Variable<(...), (...)>;
signature_agreement: {
hash: ...;
meta: ...;
public_key: ...;
signature: ...;
} | Variable<(...), (...)>;
statement: {
hash: ...;
meta: ...;
public_key: ...;
signature: ...;
} | Variable<(...), (...)>;
user_agreement: {
hash: ...;
meta: ...;
public_key: ...;
signature: ...;
} | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
wallet_agreement: {
hash: ...;
meta: ...;
public_key: ...;
signature: ...;
} | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
blockchain_account?: AliasType<{
__typename?: ...;
account_name?: ...;
core_liquid_balance?: ...;
cpu_limit?: ...;
cpu_weight?: ...;
created?: ...;
head_block_num?: ...;
head_block_time?: ...;
last_code_update?: ...;
net_limit?: ...;
net_weight?: ...;
permissions?: ...;
privileged?: ...;
ram_quota?: ...;
ram_usage?: ...;
refund_request?: ...;
rex_info?: ...;
self_delegated_bandwidth?: ...;
total_resources?: ...;
voter_info?: ...;
}>;
participant_account?: AliasType<{
__typename?: ...;
braname?: ...;
created_at?: ...;
has_vote?: ...;
is_initial?: ...;
is_minimum?: ...;
last_min_pay?: ...;
last_update?: ...;
status?: ...;
type?: ...;
username?: ...;
}>;
provider_account?: AliasType<{
__typename?: ...;
email?: ...;
has_account?: ...;
initial_order?: ...;
is_email_verified?: ...;
is_registered?: ...;
message?: ...;
public_key?: ...;
referer?: ...;
role?: ...;
status?: ...;
type?: ...;
username?: ...;
}>;
user_account?: AliasType<{
__typename?: ...;
meta?: ...;
referer?: ...;
registered_at?: ...;
registrator?: ...;
status?: ...;
storages?: ...;
type?: ...;
username?: ...;
verifications?: ...;
}>;
username?: boolean | `@${string}`;
}>];
resetKey?: [{
data: {
public_key: string | Variable<(...), (...)>;
token: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, boolean | `@${string}`];
selectBranch?: [{
data: {
braname: string | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
document: {
hash: ...;
meta: ...;
public_key: ...;
signature: ...;
} | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, boolean | `@${string}`];
setPaymentStatus?: [{
data: {
id: string | Variable<(...), (...)>;
status: PaymentStatus | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
amount?: boolean | `@${string}`;
blockchain_id?: boolean | `@${string}`;
created_at?: boolean | `@${string}`;
details?: AliasType<{
__typename?: ...;
amount_plus_fee?: ...;
amount_without_fee?: ...;
data?: ...;
fact_fee_percent?: ...;
fee_amount?: ...;
fee_percent?: ...;
tolerance_percent?: ...;
}>;
expired_at?: boolean | `@${string}`;
id?: boolean | `@${string}`;
message?: boolean | `@${string}`;
provider?: boolean | `@${string}`;
status?: boolean | `@${string}`;
symbol?: boolean | `@${string}`;
updated_at?: boolean | `@${string}`;
username?: boolean | `@${string}`;
}>];
setWif?: [{
data: {
permission: string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
wif: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, boolean | `@${string}`];
startResetKey?: [{
data: {
email: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, boolean | `@${string}`];
uninstallExtension?: [{
data: {
name: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, boolean | `@${string}`];
updateAccount?: [{
data: {
email: string | Variable<(...), (...)>;
entrepreneur_data?: null | {
birthdate: ...;
city: ...;
country: ...;
details: ...;
first_name: ...;
full_address: ...;
last_name: ...;
middle_name: ...;
phone: ...;
} | Variable<(...), (...)>;
individual_data?: null | {
birthdate: ...;
first_name: ...;
full_address: ...;
last_name: ...;
middle_name: ...;
passport?: ...;
phone: ...;
} | Variable<(...), (...)>;
organization_data?: null | {
city: ...;
country: ...;
details: ...;
fact_address: ...;
full_address: ...;
full_name: ...;
phone: ...;
represented_by: ...;
short_name: ...;
type: ...;
} | Variable<(...), (...)>;
public_key?: null | string | Variable<(...), (...)>;
referer?: null | string | Variable<(...), (...)>;
role: User | Variable<(...), (...)>;
type: AccountType | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
blockchain_account?: AliasType<{
__typename?: ...;
account_name?: ...;
core_liquid_balance?: ...;
cpu_limit?: ...;
cpu_weight?: ...;
created?: ...;
head_block_num?: ...;
head_block_time?: ...;
last_code_update?: ...;
net_limit?: ...;
net_weight?: ...;
permissions?: ...;
privileged?: ...;
ram_quota?: ...;
ram_usage?: ...;
refund_request?: ...;
rex_info?: ...;
self_delegated_bandwidth?: ...;
total_resources?: ...;
voter_info?: ...;
}>;
participant_account?: AliasType<{
__typename?: ...;
braname?: ...;
created_at?: ...;
has_vote?: ...;
is_initial?: ...;
is_minimum?: ...;
last_min_pay?: ...;
last_update?: ...;
status?: ...;
type?: ...;
username?: ...;
}>;
provider_account?: AliasType<{
__typename?: ...;
email?: ...;
has_account?: ...;
initial_order?: ...;
is_email_verified?: ...;
is_registered?: ...;
message?: ...;
public_key?: ...;
referer?: ...;
role?: ...;
status?: ...;
type?: ...;
username?: ...;
}>;
user_account?: AliasType<{
__typename?: ...;
meta?: ...;
referer?: ...;
registered_at?: ...;
registrator?: ...;
status?: ...;
storages?: ...;
type?: ...;
username?: ...;
verifications?: ...;
}>;
username?: boolean | `@${string}`;
}>];
updateBankAccount?: [{
data: {
data: {
account_number: ...;
bank_name: ...;
card_number?: ...;
currency: ...;
details: ...;
} | Variable<(...), (...)>;
is_default: boolean | Variable<(...), (...)>;
method_id: string | Variable<(...), (...)>;
username: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
created_at?: boolean | `@${string}`;
data?: AliasType<{
...on BankAccount?: ...;
...on SbpAccount?: ...;
__typename?: ...;
}>;
is_default?: boolean | `@${string}`;
method_id?: boolean | `@${string}`;
method_type?: boolean | `@${string}`;
updated_at?: boolean | `@${string}`;
username?: boolean | `@${string}`;
}>];
updateExtension?: [{
data: {
config: unknown;
created_at?: unknown;
enabled: boolean | Variable<(...), (...)>;
name: string | Variable<(...), (...)>;
updated_at?: unknown;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
available?: boolean | `@${string}`;
config?: boolean | `@${string}`;
created_at?: boolean | `@${string}`;
description?: boolean | `@${string}`;
enabled?: boolean | `@${string}`;
image?: boolean | `@${string}`;
installed?: boolean | `@${string}`;
instructions?: boolean | `@${string}`;
name?: boolean | `@${string}`;
readme?: boolean | `@${string}`;
schema?: boolean | `@${string}`;
tags?: boolean | `@${string}`;
title?: boolean | `@${string}`;
updated_at?: boolean | `@${string}`;
}>];
updateSystem?: [{
data: {
organization_data?: null | {
city: ...;
country: ...;
details: ...;
fact_address: ...;
full_address: ...;
full_name: ...;
phone: ...;
represented_by: ...;
short_name: ...;
type: ...;
} | Variable<(...), (...)>;
vars?: null | {
confidential_email: ...;
confidential_link: ...;
contact_email: ...;
coopenomics_agreement?: ...;
coopname: ...;
full_abbr: ...;
full_abbr_dative: ...;
full_abbr_genitive: ...;
name: ...;
participant_application: ...;
passport_request: ...;
privacy_agreement: ...;
short_abbr: ...;
signature_agreement: ...;
user_agreement: ...;
wallet_agreement: ...;
website: ...;
} | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
blockchain_account?: AliasType<{
__typename?: ...;
account_name?: ...;
core_liquid_balance?: ...;
cpu_limit?: ...;
cpu_weight?: ...;
created?: ...;
head_block_num?: ...;
head_block_time?: ...;
last_code_update?: ...;
net_limit?: ...;
net_weight?: ...;
permissions?: ...;
privileged?: ...;
ram_quota?: ...;
ram_usage?: ...;
refund_request?: ...;
rex_info?: ...;
self_delegated_bandwidth?: ...;
total_resources?: ...;
voter_info?: ...;
}>;
blockchain_info?: AliasType<{
__typename?: ...;
block_cpu_limit?: ...;
block_net_limit?: ...;
chain_id?: ...;
fork_db_head_block_id?: ...;
fork_db_head_block_num?: ...;
head_block_id?: ...;
head_block_num?: ...;
head_block_producer?: ...;
head_block_time?: ...;
last_irreversible_block_id?: ...;
last_irreversible_block_num?: ...;
last_irreversible_block_time?: ...;
server_version?: ...;
server_version_string?: ...;
virtual_block_cpu_limit?: ...;
virtual_block_net_limit?: ...;
}>;
contacts?: AliasType<{
__typename?: ...;
chairman?: ...;
details?: ...;
email?: ...;
full_address?: ...;
full_name?: ...;
phone?: ...;
}>;
cooperator_account?: AliasType<{
__typename?: ...;
announce?: ...;
coop_type?: ...;
created_at?: ...;
description?: ...;
document?: ...;
initial?: ...;
is_branched?: ...;
is_cooperative?: ...;
is_enrolled?: ...;
meta?: ...;
minimum?: ...;
org_initial?: ...;
org_minimum?: ...;
org_registration?: ...;
parent_username?: ...;
referer?: ...;
registered_at?: ...;
registration?: ...;
registrator?: ...;
status?: ...;
storages?: ...;
type?: ...;
username?: ...;
verifications?: ...;
}>;
coopname?: boolean | `@${string}`;
system_status?: boolean | `@${string}`;
vars?: AliasType<{
__typename?: ...;
confidential_email?: ...;
confidential_link?: ...;
contact_email?: ...;
coopenomics_agreement?: ...;
coopname?: ...;
full_abbr?: ...;
full_abbr_dative?: ...;
full_abbr_genitive?: ...;
name?: ...;
participant_application?: ...;
passport_request?: ...;
privacy_agreement?: ...;
short_abbr?: ...;
signature_agreement?: ...;
user_agreement?: ...;
wallet_agreement?: ...;
website?: ...;
}>;
}>];
}>
Parameters
- o: Z & {
[P in string | number | symbol]: P extends "__typename" | "__alias" | "__directives" | "addParticipant" | "addTrustedAccount" | "createBankAccount" | "createBranch" | "createDepositPayment" | "createInitialPayment" | "createProjectOfFreeDecision" | "deleteAccount" | "deleteBranch" | "deletePaymentMethod" | "deleteTrustedAccount" | "editBranch" | "generateFreeDecision" | "generateParticipantApplication" | "generateParticipantApplicationDecision" | "generatePrivacyAgreement" | "generateProjectOfFreeDecision" | "generateSelectBranchDocument" | "generateSignatureAgreement" | "generateUserAgreement" | "generateWalletAgreement" | "initSystem" | "installExtension" | "installSystem" | "login" | "logout" | "publishProjectOfFreeDecision" | "refresh" | "registerAccount" | "registerParticipant" | "resetKey" | "selectBranch" | "setPaymentStatus" | "setWif" | "startResetKey" | "uninstallExtension" | "updateAccount" | "updateBankAccount" | "updateExtension" | "updateSystem"
? Z[P<P>]
: never
} Optional
ops: OperationOptions & {
variables?: Record<string, unknown>;
}
Returns Promise<InputType<{
__typename: "Mutation";
addParticipant: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
addTrustedAccount: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
createBankAccount: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
...on SbpAccount: "__union" & {
__typename: "SbpAccount";
phone: string;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createBranch: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
createDepositPayment: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createInitialPayment: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
createProjectOfFreeDecision: {
__typename: "CreatedProjectFreeDecision";
decision: string;
id: string;
question: string;
};
deleteAccount: boolean;
deleteBranch: boolean;
deletePaymentMethod: boolean;
deleteTrustedAccount: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
editBranch: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
};
generateFreeDecision: {
__typename: "ProjectFreeDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ProjectFreeDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
project_id: string;
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateParticipantApplication: {
__typename: "ParticipantApplicationDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ParticipantApplicationMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateParticipantApplicationDecision: {
__typename: "ParticipantApplicationDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ParticipantApplicationDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
decision_id: number;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generatePrivacyAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateProjectOfFreeDecision: {
__typename: "ProjectFreeDecisionDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "ProjectFreeDecisionMetaDocumentOutput";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
project_id: string;
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateSelectBranchDocument: {
__typename: "SelectBranchDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "SelectBranchMetaDocumentOutput";
block_num: number;
braname: string;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateSignatureAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateUserAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
generateWalletAgreement: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: "MetaDocument";
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: ru;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
initSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
installExtension: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
};
installSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
login: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
logout: boolean;
publishProjectOfFreeDecision: boolean;
refresh: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
registerAccount: {
__typename: "RegisteredAccount";
account: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: "AccountResourceInfo";
available: string;
current_used?: (...) | (...) | (...);
last_usage_update_time?: (...) | (...) | (...);
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: ...;
parent: ...;
perm_name: ...;
required_auth: ...;
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: ...;
cpu_amount: ...;
net_amount: ...;
owner: ...;
request_time: ...;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: ...;
cpu_weight: ...;
from: ...;
net_weight: ...;
to: ...;
};
total_resources?: null | {
__typename: ...;
cpu_weight: ...;
net_weight: ...;
owner: ...;
ram_bytes: ...;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: ...;
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: ...;
};
last_update: "scalar" & {
name: ...;
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: ...;
created_at: ...;
is_verified: ...;
last_update: ...;
notice: ...;
procedure: ...;
verificator: ...;
}[];
};
username: string;
};
tokens: {
__typename: "Tokens";
access: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
refresh: {
__typename: "Token";
expires: "scalar" & {
name: "DateTime";
};
token: string;
};
};
};
registerParticipant: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
resetKey: boolean;
selectBranch: boolean;
setPaymentStatus: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
setWif: boolean;
startResetKey: boolean;
uninstallExtension: boolean;
updateAccount: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
updateBankAccount: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
...on SbpAccount: "__union" & {
__typename: "SbpAccount";
phone: string;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
updateExtension: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
};
updateSystem: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
}, Z, UnionOverrideKeys<ScalarDefinition, ScalarDefinition>>>
Query: (<Z>(o, ops?) => Promise<InputType<{
__typename: "Query";
getAccount: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
getAccounts: {
__typename: "AccountsPaginationResult";
currentPage: number;
items: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: (...) | (...) | (...);
cpu_limit: {
__typename: ...;
available: ...;
current_used?: ...;
last_usage_update_time?: ...;
max: ...;
used: ...;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: ...;
available: ...;
current_used?: ...;
last_usage_update_time?: ...;
max: ...;
used: ...;
};
net_weight: string;
permissions: (...)[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: (...) | (...) | (...);
rex_info?: (...) | (...) | (...);
self_delegated_bandwidth?: (...) | (...) | (...);
total_resources?: (...) | (...) | (...);
voter_info?: (...) | (...) | (...);
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: (...) | (...) | (...);
created_at: (...) & (...);
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: (...) & (...);
last_update: (...) & (...);
status: string;
type?: (...) | (...) | (...);
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: (...) | (...) | (...);
is_email_verified: boolean;
is_registered: boolean;
message?: (...) | (...) | (...);
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: (...)[];
type: string;
username: string;
verifications: (...)[];
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getAgenda: {
__typename: "AgendaWithDocuments";
action: {
__typename: "BlockchainAction";
account: string;
account_ram_deltas: {
__typename: "AccountRamDelta";
account: string;
delta: number;
}[];
action_ordinal: number;
authorization: {
__typename: "ActionAuthorization";
actor: string;
permission: string;
}[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: "scalar" & {
name: "JSON";
};
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: "ActionReceipt";
abi_sequence: number;
act_digest: string;
auth_sequence: {
__typename: ...;
account: ...;
sequence: ...;
}[];
code_sequence: number;
global_sequence: string;
receiver: string;
recv_sequence: string;
};
receiver: string;
transaction_id: string;
};
documents: {
__typename: "DocumentPackage";
acts: {
__typename: "ActDetail";
action?: (...) | (...) | (...);
document?: (...) | (...) | (...);
}[];
decision: {
__typename: "DecisionDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on FreeDecisionDocument: (...) & (...);
...on ParticipantApplicationDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
votes_against: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
votes_for: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
};
links: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: ...;
block_num: ...;
coopname: ...;
created_at: ...;
generator: ...;
lang: ...;
links: ...;
registry_id: ...;
timezone: ...;
title: ...;
username: ...;
version: ...;
};
}[];
statement: {
__typename: "StatementDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on ParticipantApplicationDocument: (...) & (...);
...on ProjectFreeDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
};
};
table: {
__typename: "BlockchainDecision";
approved: boolean;
authorization: {
__typename: "SignedBlockchainDocument";
hash: string;
meta: string;
public_key: string;
signature: string;
};
authorized: boolean;
authorized_by: string;
batch_id: number;
coopname: string;
created_at: string;
expired_at: string;
id: number;
meta: string;
statement: {
__typename: "SignedBlockchainDocument";
hash: string;
meta: string;
public_key: string;
signature: string;
};
type: string;
username: string;
validated: boolean;
votes_against: string[];
votes_for: string[];
};
}[];
getBranches: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: ...;
code: ...;
issued_at: ...;
issued_by: ...;
number: ...;
series: ...;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
}[];
getDocuments: {
__typename: "DocumentsPaginationResult";
currentPage: number;
items: {
__typename: "DocumentPackage";
acts: {
__typename: "ActDetail";
action?: (...) | (...) | (...);
document?: (...) | (...) | (...);
}[];
decision: {
__typename: "DecisionDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on FreeDecisionDocument: (...) & (...);
...on ParticipantApplicationDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
votes_against: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
votes_for: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
};
links: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: ...;
block_num: ...;
coopname: ...;
created_at: ...;
generator: ...;
lang: ...;
links: ...;
registry_id: ...;
timezone: ...;
title: ...;
username: ...;
version: ...;
};
}[];
statement: {
__typename: "StatementDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on ParticipantApplicationDocument: (...) & (...);
...on ProjectFreeDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
};
}[];
totalCount: number;
totalPages: number;
};
getExtensions: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
}[];
getPaymentMethods: {
__typename: "PaymentMethodPaginationResult";
currentPage: number;
items: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: ...;
account_number: ...;
bank_name: ...;
card_number?: ...;
currency: ...;
details: ...;
};
...on SbpAccount: "__union" & {
__typename: ...;
phone: ...;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getPayments: {
__typename: "PaymentPaginationResult";
currentPage: number;
items: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getSystemInfo: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
}, Z, UnionOverrideKeys<ScalarDefinition, ScalarDefinition>>>)
- <Z>(o, ops?): Promise<InputType<{
__typename: "Query";
getAccount: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
getAccounts: {
__typename: "AccountsPaginationResult";
currentPage: number;
items: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: (...) | (...) | (...);
cpu_limit: {
__typename: ...;
available: ...;
current_used?: ...;
last_usage_update_time?: ...;
max: ...;
used: ...;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: ...;
available: ...;
current_used?: ...;
last_usage_update_time?: ...;
max: ...;
used: ...;
};
net_weight: string;
permissions: (...)[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: (...) | (...) | (...);
rex_info?: (...) | (...) | (...);
self_delegated_bandwidth?: (...) | (...) | (...);
total_resources?: (...) | (...) | (...);
voter_info?: (...) | (...) | (...);
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: (...) | (...) | (...);
created_at: (...) & (...);
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: (...) & (...);
last_update: (...) & (...);
status: string;
type?: (...) | (...) | (...);
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: (...) | (...) | (...);
is_email_verified: boolean;
is_registered: boolean;
message?: (...) | (...) | (...);
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: (...)[];
type: string;
username: string;
verifications: (...)[];
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getAgenda: {
__typename: "AgendaWithDocuments";
action: {
__typename: "BlockchainAction";
account: string;
account_ram_deltas: {
__typename: "AccountRamDelta";
account: string;
delta: number;
}[];
action_ordinal: number;
authorization: {
__typename: "ActionAuthorization";
actor: string;
permission: string;
}[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: "scalar" & {
name: "JSON";
};
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: "ActionReceipt";
abi_sequence: number;
act_digest: string;
auth_sequence: {
__typename: ...;
account: ...;
sequence: ...;
}[];
code_sequence: number;
global_sequence: string;
receiver: string;
recv_sequence: string;
};
receiver: string;
transaction_id: string;
};
documents: {
__typename: "DocumentPackage";
acts: {
__typename: "ActDetail";
action?: (...) | (...) | (...);
document?: (...) | (...) | (...);
}[];
decision: {
__typename: "DecisionDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on FreeDecisionDocument: (...) & (...);
...on ParticipantApplicationDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
votes_against: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
votes_for: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
};
links: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: ...;
block_num: ...;
coopname: ...;
created_at: ...;
generator: ...;
lang: ...;
links: ...;
registry_id: ...;
timezone: ...;
title: ...;
username: ...;
version: ...;
};
}[];
statement: {
__typename: "StatementDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on ParticipantApplicationDocument: (...) & (...);
...on ProjectFreeDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
};
};
table: {
__typename: "BlockchainDecision";
approved: boolean;
authorization: {
__typename: "SignedBlockchainDocument";
hash: string;
meta: string;
public_key: string;
signature: string;
};
authorized: boolean;
authorized_by: string;
batch_id: number;
coopname: string;
created_at: string;
expired_at: string;
id: number;
meta: string;
statement: {
__typename: "SignedBlockchainDocument";
hash: string;
meta: string;
public_key: string;
signature: string;
};
type: string;
username: string;
validated: boolean;
votes_against: string[];
votes_for: string[];
};
}[];
getBranches: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: ...;
code: ...;
issued_at: ...;
issued_by: ...;
number: ...;
series: ...;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
}[];
getDocuments: {
__typename: "DocumentsPaginationResult";
currentPage: number;
items: {
__typename: "DocumentPackage";
acts: {
__typename: "ActDetail";
action?: (...) | (...) | (...);
document?: (...) | (...) | (...);
}[];
decision: {
__typename: "DecisionDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on FreeDecisionDocument: (...) & (...);
...on ParticipantApplicationDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
votes_against: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
votes_for: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
};
links: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: ...;
block_num: ...;
coopname: ...;
created_at: ...;
generator: ...;
lang: ...;
links: ...;
registry_id: ...;
timezone: ...;
title: ...;
username: ...;
version: ...;
};
}[];
statement: {
__typename: "StatementDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on ParticipantApplicationDocument: (...) & (...);
...on ProjectFreeDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
};
}[];
totalCount: number;
totalPages: number;
};
getExtensions: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
}[];
getPaymentMethods: {
__typename: "PaymentMethodPaginationResult";
currentPage: number;
items: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: ...;
account_number: ...;
bank_name: ...;
card_number?: ...;
currency: ...;
details: ...;
};
...on SbpAccount: "__union" & {
__typename: ...;
phone: ...;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getPayments: {
__typename: "PaymentPaginationResult";
currentPage: number;
items: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getSystemInfo: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
}, Z, UnionOverrideKeys<ScalarDefinition, ScalarDefinition>>> Type Parameters
- Z extends AliasType<{
__typename?: boolean | `@${string}`;
getAccount?: [{
data: {
username: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
blockchain_account?: AliasType<{
__typename?: ...;
account_name?: ...;
core_liquid_balance?: ...;
cpu_limit?: ...;
cpu_weight?: ...;
created?: ...;
head_block_num?: ...;
head_block_time?: ...;
last_code_update?: ...;
net_limit?: ...;
net_weight?: ...;
permissions?: ...;
privileged?: ...;
ram_quota?: ...;
ram_usage?: ...;
refund_request?: ...;
rex_info?: ...;
self_delegated_bandwidth?: ...;
total_resources?: ...;
voter_info?: ...;
}>;
participant_account?: AliasType<{
__typename?: ...;
braname?: ...;
created_at?: ...;
has_vote?: ...;
is_initial?: ...;
is_minimum?: ...;
last_min_pay?: ...;
last_update?: ...;
status?: ...;
type?: ...;
username?: ...;
}>;
provider_account?: AliasType<{
__typename?: ...;
email?: ...;
has_account?: ...;
initial_order?: ...;
is_email_verified?: ...;
is_registered?: ...;
message?: ...;
public_key?: ...;
referer?: ...;
role?: ...;
status?: ...;
type?: ...;
username?: ...;
}>;
user_account?: AliasType<{
__typename?: ...;
meta?: ...;
referer?: ...;
registered_at?: ...;
registrator?: ...;
status?: ...;
storages?: ...;
type?: ...;
username?: ...;
verifications?: ...;
}>;
username?: boolean | `@${string}`;
}>];
getAccounts?: [{
data?: null | {
role?: null | string | Variable<(...), (...)>;
username?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
options?: null | {
limit: number | Variable<(...), (...)>;
page: number | Variable<(...), (...)>;
sortBy?: null | string | Variable<(...), (...)>;
sortOrder: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
currentPage?: boolean | `@${string}`;
items?: AliasType<{
__typename?: ...;
blockchain_account?: ...;
participant_account?: ...;
provider_account?: ...;
user_account?: ...;
username?: ...;
}>;
totalCount?: boolean | `@${string}`;
totalPages?: boolean | `@${string}`;
}>];
getAgenda?: AliasType<{
__typename?: boolean | `@${string}`;
action?: AliasType<{
__typename?: (...) | (...) | (...) | (...);
account?: (...) | (...) | (...) | (...);
account_ram_deltas?: (...) | (...);
action_ordinal?: (...) | (...) | (...) | (...);
authorization?: (...) | (...);
block_id?: (...) | (...) | (...) | (...);
block_num?: (...) | (...) | (...) | (...);
chain_id?: (...) | (...) | (...) | (...);
console?: (...) | (...) | (...) | (...);
context_free?: (...) | (...) | (...) | (...);
creator_action_ordinal?: (...) | (...) | (...) | (...);
data?: (...) | (...) | (...) | (...);
elapsed?: (...) | (...) | (...) | (...);
global_sequence?: (...) | (...) | (...) | (...);
name?: (...) | (...) | (...) | (...);
receipt?: (...) | (...);
receiver?: (...) | (...) | (...) | (...);
transaction_id?: (...) | (...) | (...) | (...);
}>;
documents?: AliasType<{
__typename?: (...) | (...) | (...) | (...);
acts?: (...) | (...);
decision?: (...) | (...);
links?: (...) | (...);
statement?: (...) | (...);
}>;
table?: AliasType<{
__typename?: (...) | (...) | (...) | (...);
approved?: (...) | (...) | (...) | (...);
authorization?: (...) | (...);
authorized?: (...) | (...) | (...) | (...);
authorized_by?: (...) | (...) | (...) | (...);
batch_id?: (...) | (...) | (...) | (...);
coopname?: (...) | (...) | (...) | (...);
created_at?: (...) | (...) | (...) | (...);
expired_at?: (...) | (...) | (...) | (...);
id?: (...) | (...) | (...) | (...);
meta?: (...) | (...) | (...) | (...);
statement?: (...) | (...);
type?: (...) | (...) | (...) | (...);
username?: (...) | (...) | (...) | (...);
validated?: (...) | (...) | (...) | (...);
votes_against?: (...) | (...) | (...) | (...);
votes_for?: (...) | (...) | (...) | (...);
}>;
}>;
getBranches?: [{
data: {
braname?: null | string | Variable<(...), (...)>;
coopname: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
bank_account?: AliasType<{
__typename?: ...;
created_at?: ...;
data?: ...;
is_default?: ...;
method_id?: ...;
method_type?: ...;
updated_at?: ...;
username?: ...;
}>;
braname?: boolean | `@${string}`;
city?: boolean | `@${string}`;
coopname?: boolean | `@${string}`;
country?: boolean | `@${string}`;
details?: AliasType<{
__typename?: ...;
inn?: ...;
kpp?: ...;
ogrn?: ...;
}>;
email?: boolean | `@${string}`;
fact_address?: boolean | `@${string}`;
full_address?: boolean | `@${string}`;
full_name?: boolean | `@${string}`;
phone?: boolean | `@${string}`;
represented_by?: AliasType<{
__typename?: ...;
based_on?: ...;
first_name?: ...;
last_name?: ...;
middle_name?: ...;
position?: ...;
}>;
short_name?: boolean | `@${string}`;
trusted?: AliasType<{
__typename?: ...;
birthdate?: ...;
email?: ...;
first_name?: ...;
full_address?: ...;
last_name?: ...;
middle_name?: ...;
passport?: ...;
phone?: ...;
username?: ...;
}>;
trustee?: AliasType<{
__typename?: ...;
birthdate?: ...;
email?: ...;
first_name?: ...;
full_address?: ...;
last_name?: ...;
middle_name?: ...;
passport?: ...;
phone?: ...;
username?: ...;
}>;
type?: boolean | `@${string}`;
}>];
getDocuments?: [{
data: {
filter: {
additionalFilters?: ...;
receiver: ...;
} | Variable<(...), (...)>;
limit?: null | number | Variable<(...), (...)>;
page?: null | number | Variable<(...), (...)>;
type?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
currentPage?: boolean | `@${string}`;
items?: AliasType<{
__typename?: ...;
acts?: ...;
decision?: ...;
links?: ...;
statement?: ...;
}>;
totalCount?: boolean | `@${string}`;
totalPages?: boolean | `@${string}`;
}>];
getExtensions?: [{
data?: null | {
enabled?: null | boolean | Variable<(...), (...)>;
installed?: null | boolean | Variable<(...), (...)>;
name?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
available?: boolean | `@${string}`;
config?: boolean | `@${string}`;
created_at?: boolean | `@${string}`;
description?: boolean | `@${string}`;
enabled?: boolean | `@${string}`;
image?: boolean | `@${string}`;
installed?: boolean | `@${string}`;
instructions?: boolean | `@${string}`;
name?: boolean | `@${string}`;
readme?: boolean | `@${string}`;
schema?: boolean | `@${string}`;
tags?: boolean | `@${string}`;
title?: boolean | `@${string}`;
updated_at?: boolean | `@${string}`;
}>];
getPaymentMethods?: [{
data?: null | {
limit: number | Variable<(...), (...)>;
page: number | Variable<(...), (...)>;
sortBy?: null | string | Variable<(...), (...)>;
sortOrder: string | Variable<(...), (...)>;
username?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
currentPage?: boolean | `@${string}`;
items?: AliasType<{
__typename?: ...;
created_at?: ...;
data?: ...;
is_default?: ...;
method_id?: ...;
method_type?: ...;
updated_at?: ...;
username?: ...;
}>;
totalCount?: boolean | `@${string}`;
totalPages?: boolean | `@${string}`;
}>];
getPayments?: [{
data?: null | {
blockchain_id?: null | string | Variable<(...), (...)>;
id?: null | string | Variable<(...), (...)>;
status?: null | PaymentStatus | Variable<(...), (...)>;
username?: null | string | Variable<(...), (...)>;
} | Variable<any, string>;
options?: null | {
limit: number | Variable<(...), (...)>;
page: number | Variable<(...), (...)>;
sortBy?: null | string | Variable<(...), (...)>;
sortOrder: string | Variable<(...), (...)>;
} | Variable<any, string>;
}, AliasType<{
__typename?: boolean | `@${string}`;
currentPage?: boolean | `@${string}`;
items?: AliasType<{
__typename?: ...;
amount?: ...;
blockchain_id?: ...;
created_at?: ...;
details?: ...;
expired_at?: ...;
id?: ...;
message?: ...;
provider?: ...;
status?: ...;
symbol?: ...;
updated_at?: ...;
username?: ...;
}>;
totalCount?: boolean | `@${string}`;
totalPages?: boolean | `@${string}`;
}>];
getSystemInfo?: AliasType<{
__typename?: boolean | `@${string}`;
blockchain_account?: AliasType<{
__typename?: (...) | (...) | (...) | (...);
account_name?: (...) | (...) | (...) | (...);
core_liquid_balance?: (...) | (...) | (...) | (...);
cpu_limit?: (...) | (...);
cpu_weight?: (...) | (...) | (...) | (...);
created?: (...) | (...) | (...) | (...);
head_block_num?: (...) | (...) | (...) | (...);
head_block_time?: (...) | (...) | (...) | (...);
last_code_update?: (...) | (...) | (...) | (...);
net_limit?: (...) | (...);
net_weight?: (...) | (...) | (...) | (...);
permissions?: (...) | (...);
privileged?: (...) | (...) | (...) | (...);
ram_quota?: (...) | (...) | (...) | (...);
ram_usage?: (...) | (...) | (...) | (...);
refund_request?: (...) | (...);
rex_info?: (...) | (...) | (...) | (...);
self_delegated_bandwidth?: (...) | (...);
total_resources?: (...) | (...);
voter_info?: (...) | (...) | (...) | (...);
}>;
blockchain_info?: AliasType<{
__typename?: (...) | (...) | (...) | (...);
block_cpu_limit?: (...) | (...) | (...) | (...);
block_net_limit?: (...) | (...) | (...) | (...);
chain_id?: (...) | (...) | (...) | (...);
fork_db_head_block_id?: (...) | (...) | (...) | (...);
fork_db_head_block_num?: (...) | (...) | (...) | (...);
head_block_id?: (...) | (...) | (...) | (...);
head_block_num?: (...) | (...) | (...) | (...);
head_block_producer?: (...) | (...) | (...) | (...);
head_block_time?: (...) | (...) | (...) | (...);
last_irreversible_block_id?: (...) | (...) | (...) | (...);
last_irreversible_block_num?: (...) | (...) | (...) | (...);
last_irreversible_block_time?: (...) | (...) | (...) | (...);
server_version?: (...) | (...) | (...) | (...);
server_version_string?: (...) | (...) | (...) | (...);
virtual_block_cpu_limit?: (...) | (...) | (...) | (...);
virtual_block_net_limit?: (...) | (...) | (...) | (...);
}>;
contacts?: AliasType<{
__typename?: (...) | (...) | (...) | (...);
chairman?: (...) | (...);
details?: (...) | (...);
email?: (...) | (...) | (...) | (...);
full_address?: (...) | (...) | (...) | (...);
full_name?: (...) | (...) | (...) | (...);
phone?: (...) | (...) | (...) | (...);
}>;
cooperator_account?: AliasType<{
__typename?: (...) | (...) | (...) | (...);
announce?: (...) | (...) | (...) | (...);
coop_type?: (...) | (...) | (...) | (...);
created_at?: (...) | (...) | (...) | (...);
description?: (...) | (...) | (...) | (...);
document?: (...) | (...);
initial?: (...) | (...) | (...) | (...);
is_branched?: (...) | (...) | (...) | (...);
is_cooperative?: (...) | (...) | (...) | (...);
is_enrolled?: (...) | (...) | (...) | (...);
meta?: (...) | (...) | (...) | (...);
minimum?: (...) | (...) | (...) | (...);
org_initial?: (...) | (...) | (...) | (...);
org_minimum?: (...) | (...) | (...) | (...);
org_registration?: (...) | (...) | (...) | (...);
parent_username?: (...) | (...) | (...) | (...);
referer?: (...) | (...) | (...) | (...);
registered_at?: (...) | (...) | (...) | (...);
registration?: (...) | (...) | (...) | (...);
registrator?: (...) | (...) | (...) | (...);
status?: (...) | (...) | (...) | (...);
storages?: (...) | (...) | (...) | (...);
type?: (...) | (...) | (...) | (...);
username?: (...) | (...) | (...) | (...);
verifications?: (...) | (...);
}>;
coopname?: boolean | `@${string}`;
system_status?: boolean | `@${string}`;
vars?: AliasType<{
__typename?: (...) | (...) | (...) | (...);
confidential_email?: (...) | (...) | (...) | (...);
confidential_link?: (...) | (...) | (...) | (...);
contact_email?: (...) | (...) | (...) | (...);
coopenomics_agreement?: (...) | (...);
coopname?: (...) | (...) | (...) | (...);
full_abbr?: (...) | (...) | (...) | (...);
full_abbr_dative?: (...) | (...) | (...) | (...);
full_abbr_genitive?: (...) | (...) | (...) | (...);
name?: (...) | (...) | (...) | (...);
participant_application?: (...) | (...);
passport_request?: (...) | (...) | (...) | (...);
privacy_agreement?: (...) | (...);
short_abbr?: (...) | (...) | (...) | (...);
signature_agreement?: (...) | (...);
user_agreement?: (...) | (...);
wallet_agreement?: (...) | (...);
website?: (...) | (...) | (...) | (...);
}>;
}>;
}>
Parameters
- o: Z & {
[P in string | number | symbol]: P extends "__typename" | "__alias" | "__directives" | "getAccount" | "getAccounts" | "getAgenda" | "getBranches" | "getDocuments" | "getExtensions" | "getPaymentMethods" | "getPayments" | "getSystemInfo"
? Z[P<P>]
: never
} Optional
ops: OperationOptions & {
variables?: Record<string, unknown>;
}
Returns Promise<InputType<{
__typename: "Query";
getAccount: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: ...;
accounts: ...;
keys: ...;
threshold: ...;
waits: ...;
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: null | string;
created_at: "scalar" & {
name: "DateTime";
};
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: "scalar" & {
name: "DateTime";
};
last_update: "scalar" & {
name: "DateTime";
};
status: string;
type?: null | string;
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
};
getAccounts: {
__typename: "AccountsPaginationResult";
currentPage: number;
items: {
__typename: "Account";
blockchain_account?: null | {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: (...) | (...) | (...);
cpu_limit: {
__typename: ...;
available: ...;
current_used?: ...;
last_usage_update_time?: ...;
max: ...;
used: ...;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
__typename: ...;
available: ...;
current_used?: ...;
last_usage_update_time?: ...;
max: ...;
used: ...;
};
net_weight: string;
permissions: (...)[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: (...) | (...) | (...);
rex_info?: (...) | (...) | (...);
self_delegated_bandwidth?: (...) | (...) | (...);
total_resources?: (...) | (...) | (...);
voter_info?: (...) | (...) | (...);
};
participant_account?: null | {
__typename: "ParticipantAccount";
braname?: (...) | (...) | (...);
created_at: (...) & (...);
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: (...) & (...);
last_update: (...) & (...);
status: string;
type?: (...) | (...) | (...);
username: string;
};
provider_account?: null | {
__typename: "MonoAccount";
email: string;
has_account: boolean;
initial_order?: (...) | (...) | (...);
is_email_verified: boolean;
is_registered: boolean;
message?: (...) | (...) | (...);
public_key: string;
referer: string;
role: string;
status: UserStatus;
type: string;
username: string;
};
user_account?: null | {
__typename: "UserAccount";
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: (...)[];
type: string;
username: string;
verifications: (...)[];
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getAgenda: {
__typename: "AgendaWithDocuments";
action: {
__typename: "BlockchainAction";
account: string;
account_ram_deltas: {
__typename: "AccountRamDelta";
account: string;
delta: number;
}[];
action_ordinal: number;
authorization: {
__typename: "ActionAuthorization";
actor: string;
permission: string;
}[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: "scalar" & {
name: "JSON";
};
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: "ActionReceipt";
abi_sequence: number;
act_digest: string;
auth_sequence: {
__typename: ...;
account: ...;
sequence: ...;
}[];
code_sequence: number;
global_sequence: string;
receiver: string;
recv_sequence: string;
};
receiver: string;
transaction_id: string;
};
documents: {
__typename: "DocumentPackage";
acts: {
__typename: "ActDetail";
action?: (...) | (...) | (...);
document?: (...) | (...) | (...);
}[];
decision: {
__typename: "DecisionDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on FreeDecisionDocument: (...) & (...);
...on ParticipantApplicationDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
votes_against: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
votes_for: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
};
links: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: ...;
block_num: ...;
coopname: ...;
created_at: ...;
generator: ...;
lang: ...;
links: ...;
registry_id: ...;
timezone: ...;
title: ...;
username: ...;
version: ...;
};
}[];
statement: {
__typename: "StatementDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on ParticipantApplicationDocument: (...) & (...);
...on ProjectFreeDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
};
};
table: {
__typename: "BlockchainDecision";
approved: boolean;
authorization: {
__typename: "SignedBlockchainDocument";
hash: string;
meta: string;
public_key: string;
signature: string;
};
authorized: boolean;
authorized_by: string;
batch_id: number;
coopname: string;
created_at: string;
expired_at: string;
id: number;
meta: string;
statement: {
__typename: "SignedBlockchainDocument";
hash: string;
meta: string;
public_key: string;
signature: string;
};
type: string;
username: string;
validated: boolean;
votes_against: string[];
votes_for: string[];
};
}[];
getBranches: {
__typename: "Branch";
bank_account: {
__typename: "BankPaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
__typename: "BankAccountDetails";
bik: string;
corr: string;
kpp: string;
};
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
};
braname: string;
city: string;
coopname: string;
country: string;
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
fact_address: string;
full_address: string;
full_name: string;
phone: string;
represented_by: {
__typename: "RepresentedBy";
based_on: string;
first_name: string;
last_name: string;
middle_name: string;
position: string;
};
short_name: string;
trusted: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: ...;
code: ...;
issued_at: ...;
issued_by: ...;
number: ...;
series: ...;
};
phone: string;
username: string;
}[];
trustee: {
__typename: "Individual";
birthdate: string;
email: string;
first_name: string;
full_address: string;
last_name: string;
middle_name: string;
passport?: null | {
__typename: "Passport";
code: string;
issued_at: string;
issued_by: string;
number: number;
series: number;
};
phone: string;
username: string;
};
type: string;
}[];
getDocuments: {
__typename: "DocumentsPaginationResult";
currentPage: number;
items: {
__typename: "DocumentPackage";
acts: {
__typename: "ActDetail";
action?: (...) | (...) | (...);
document?: (...) | (...) | (...);
}[];
decision: {
__typename: "DecisionDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on FreeDecisionDocument: (...) & (...);
...on ParticipantApplicationDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
votes_against: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
votes_for: {
__typename: ...;
account: ...;
account_ram_deltas: ...;
action_ordinal: ...;
authorization: ...;
block_id: ...;
block_num: ...;
chain_id: ...;
console: ...;
context_free: ...;
creator_action_ordinal: ...;
data: ...;
elapsed: ...;
global_sequence: ...;
name: ...;
receipt: ...;
receiver: ...;
transaction_id: ...;
user?: ...;
}[];
};
links: {
__typename: "GeneratedDocument";
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
__typename: ...;
block_num: ...;
coopname: ...;
created_at: ...;
generator: ...;
lang: ...;
links: ...;
registry_id: ...;
timezone: ...;
title: ...;
username: ...;
version: ...;
};
}[];
statement: {
__typename: "StatementDetail";
action: {
__typename: "ExtendedBlockchainAction";
account: string;
account_ram_deltas: (...)[];
action_ordinal: number;
authorization: (...)[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: (...) & (...);
elapsed: number;
global_sequence: string;
name: string;
receipt: {
__typename: ...;
abi_sequence: ...;
act_digest: ...;
auth_sequence: ...;
code_sequence: ...;
global_sequence: ...;
receiver: ...;
recv_sequence: ...;
};
receiver: string;
transaction_id: string;
user?: (...) | (...) | (...);
};
document: {
...on ParticipantApplicationDocument: (...) & (...);
...on ProjectFreeDecisionDocument: (...) & (...);
__typename: (...) | (...);
};
};
}[];
totalCount: number;
totalPages: number;
};
getExtensions: {
__typename: "Extension";
available: boolean;
config?: null | "scalar" & {
name: "JSON";
};
created_at: "scalar" & {
name: "DateTime";
};
description?: null | string;
enabled: boolean;
image?: null | string;
installed: boolean;
instructions: string;
name: string;
readme: string;
schema?: null | "scalar" & {
name: "JSON";
};
tags: string[];
title?: null | string;
updated_at: "scalar" & {
name: "DateTime";
};
}[];
getPaymentMethods: {
__typename: "PaymentMethodPaginationResult";
currentPage: number;
items: {
__typename: "PaymentMethod";
created_at: "scalar" & {
name: "DateTime";
};
data: {
...on BankAccount: "__union" & {
__typename: ...;
account_number: ...;
bank_name: ...;
card_number?: ...;
currency: ...;
details: ...;
};
...on SbpAccount: "__union" & {
__typename: ...;
phone: ...;
};
__typename: "BankAccount" | "SbpAccount";
};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getPayments: {
__typename: "PaymentPaginationResult";
currentPage: number;
items: {
__typename: "Payment";
amount: number;
blockchain_id: number;
created_at: "scalar" & {
name: "DateTime";
};
details: {
__typename: "PaymentDetails";
amount_plus_fee: string;
amount_without_fee: string;
data: string;
fact_fee_percent: number;
fee_amount: string;
fee_percent: number;
tolerance_percent: number;
};
expired_at: "scalar" & {
name: "DateTime";
};
id: string;
message: string;
provider: string;
status: PaymentStatus;
symbol: string;
updated_at: "scalar" & {
name: "DateTime";
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
getSystemInfo: {
__typename: "SystemInfo";
blockchain_account: {
__typename: "BlockchainAccount";
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
__typename: "AccountResourceInfo";
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: {
__typename: "AccountResourceInfo";
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
__typename: "Permission";
parent: string;
perm_name: string;
required_auth: {
__typename: "Authority";
accounts: (...)[];
keys: (...)[];
threshold: number;
waits: (...)[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: null | {
__typename: "RefundRequest";
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: null | {
__typename: "ResourceDelegationDTO";
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: null | {
__typename: "ResourceOverview";
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
blockchain_info: {
__typename: "BlockchainInfoDTO";
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?: null | {
__typename: "ContactsDTO";
chairman: {
__typename: "PublicChairman";
first_name: string;
last_name: string;
middle_name: string;
};
details: {
__typename: "OrganizationDetails";
inn: string;
kpp: string;
ogrn: string;
};
email: string;
full_address: string;
full_name: string;
phone: string;
};
cooperator_account: {
__typename: "CooperativeOperatorAccount";
announce: string;
coop_type: string;
created_at: string;
description: string;
document: {
__typename: "SignedBlockchainDocument";
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: {
__typename: "Verification";
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
coopname: string;
system_status: SystemStatus;
vars?: null | {
__typename: "Vars";
confidential_email: string;
confidential_link: string;
contact_email: string;
coopenomics_agreement?: null | {
__typename: "AgreementVar";
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: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
passport_request: string;
privacy_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
short_abbr: string;
signature_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
user_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
wallet_agreement: {
__typename: "AgreementVar";
protocol_day_month_year: string;
protocol_number: string;
};
website: string;
};
};
}, Z, UnionOverrideKeys<ScalarDefinition, ScalarDefinition>>>
setToken: ((token) => void)
- (token): void
Returns void
Создаёт клиент для взаимодействия с API, поддерживающий выполнение запросов, мутаций, подписок, а также операций с блокчейном. Позволяет динамически изменять заголовок авторизации.