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

# Variable query`Const`

query: {
getDocuments: [{
data: Variable <"GetDocumentsInput", "data">;
}, {
currentPage: boolean;
items: {
acts: {
action: {
account: boolean;
account_ram_deltas: {
account: boolean;
delta: boolean;
};
action_ordinal: boolean;
authorization: {
actor: boolean;
permission: boolean;
};
block_id: boolean;
block_num: boolean;
chain_id: boolean;
console: boolean;
context_free: boolean;
creator_action_ordinal: boolean;
data: boolean;
elapsed: boolean;
global_sequence: boolean;
name: boolean;
receipt: {
abi_sequence: boolean;
act_digest: boolean;
auth_sequence: {
account: boolean;
sequence: boolean;
};
code_sequence: boolean;
global_sequence: boolean;
receiver: boolean;
recv_sequence: boolean;
};
receiver: boolean;
transaction_id: boolean;
user: {
...on Entrepreneur: {
birthdate: boolean;
city: boolean;
country: boolean;
details: {
inn: boolean;
ogrn: boolean;
};
email: boolean;
first_name: boolean;
full_address: boolean;
last_name: boolean;
middle_name: boolean;
phone: boolean;
username: boolean;
};
...on Individual: {
birthdate: boolean;
email: boolean;
first_name: boolean;
full_address: boolean;
last_name: boolean;
middle_name: boolean;
passport: {
code: boolean;
issued_at: boolean;
issued_by: boolean;
number: boolean;
series: boolean;
};
phone: boolean;
username: boolean;
};
...on Organization: {
city: boolean;
country: boolean;
details: {
inn: boolean;
kpp: boolean;
ogrn: boolean;
};
email: boolean;
fact_address: boolean;
full_address: boolean;
full_name: boolean;
phone: boolean;
represented_by: {
based_on: boolean;
first_name: boolean;
last_name: boolean;
middle_name: boolean;
position: boolean;
};
short_name: boolean;
type: boolean;
username: boolean;
};
};
};
document: {
binary: boolean;
full_title: boolean;
hash: boolean;
html: boolean;
meta: {
block_num: boolean;
coopname: boolean;
created_at: boolean;
generator: boolean;
lang: boolean;
links: boolean;
registry_id: boolean;
timezone: boolean;
title: boolean;
username: boolean;
version: boolean;
};
};
};
decision: {
action: {
account: boolean;
account_ram_deltas: {
account: boolean;
delta: boolean;
};
action_ordinal: boolean;
authorization: {
actor: boolean;
permission: boolean;
};
block_id: boolean;
block_num: boolean;
chain_id: boolean;
console: boolean;
context_free: boolean;
creator_action_ordinal: boolean;
data: boolean;
elapsed: boolean;
global_sequence: boolean;
name: boolean;
receipt: {
abi_sequence: boolean;
act_digest: boolean;
auth_sequence: {
account: boolean;
sequence: boolean;
};
code_sequence: boolean;
global_sequence: boolean;
receiver: boolean;
recv_sequence: boolean;
};
receiver: boolean;
transaction_id: boolean;
user: {
...on Entrepreneur: {
birthdate: boolean;
city: boolean;
country: boolean;
details: {
inn: boolean;
ogrn: boolean;
};
email: boolean;
first_name: boolean;
full_address: boolean;
last_name: boolean;
middle_name: boolean;
phone: boolean;
username: boolean;
};
...on Individual: {
birthdate: boolean;
email: boolean;
first_name: boolean;
full_address: boolean;
last_name: boolean;
middle_name: boolean;
passport: {
code: boolean;
issued_at: boolean;
issued_by: boolean;
number: boolean;
series: boolean;
};
phone: boolean;
username: boolean;
};
...on Organization: {
city: boolean;
country: boolean;
details: {
inn: boolean;
kpp: boolean;
ogrn: boolean;
};
email: boolean;
fact_address: boolean;
full_address: boolean;
full_name: boolean;
phone: boolean;
represented_by: {
based_on: boolean;
first_name: boolean;
last_name: boolean;
middle_name: boolean;
position: boolean;
};
short_name: boolean;
type: boolean;
username: boolean;
};
};
};
document: {
...on FreeDecisionDocument: {
binary: boolean;
full_title: boolean;
hash: boolean;
html: boolean;
meta: {
block_num: boolean;
coopname: boolean;
created_at: boolean;
decision_id: boolean;
generator: boolean;
lang: boolean;
links: boolean;
project_id: boolean;
registry_id: boolean;
timezone: boolean;
title: boolean;
username: boolean;
version: boolean;
};
};
...on ParticipantApplicationDecisionDocument: {
binary: boolean;
full_title: boolean;
hash: boolean;
html: boolean;
meta: {
block_num: boolean;
coopname: boolean;
created_at: boolean;
decision_id: boolean;
generator: boolean;
lang: boolean;
links: boolean;
registry_id: boolean;
timezone: boolean;
title: boolean;
username: boolean;
version: boolean;
};
};
};
votes_against: {
account: boolean;
account_ram_deltas: {
account: boolean;
delta: boolean;
};
action_ordinal: boolean;
authorization: {
actor: boolean;
permission: boolean;
};
block_id: boolean;
block_num: boolean;
chain_id: boolean;
console: boolean;
context_free: boolean;
creator_action_ordinal: boolean;
data: boolean;
elapsed: boolean;
global_sequence: boolean;
name: boolean;
receipt: {
abi_sequence: boolean;
act_digest: boolean;
auth_sequence: {
account: boolean;
sequence: boolean;
};
code_sequence: boolean;
global_sequence: boolean;
receiver: boolean;
recv_sequence: boolean;
};
receiver: boolean;
transaction_id: boolean;
user: {
...on Entrepreneur: {
birthdate: boolean;
city: boolean;
country: boolean;
details: {
inn: boolean;
ogrn: boolean;
};
email: boolean;
first_name: boolean;
full_address: boolean;
last_name: boolean;
middle_name: boolean;
phone: boolean;
username: boolean;
};
...on Individual: {
birthdate: boolean;
email: boolean;
first_name: boolean;
full_address: boolean;
last_name: boolean;
middle_name: boolean;
passport: {
code: boolean;
issued_at: boolean;
issued_by: boolean;
number: boolean;
series: boolean;
};
phone: boolean;
username: boolean;
};
...on Organization: {
city: boolean;
country: boolean;
details: {
inn: boolean;
kpp: boolean;
ogrn: boolean;
};
email: boolean;
fact_address: boolean;
full_address: boolean;
full_name: boolean;
phone: boolean;
represented_by: {
based_on: boolean;
first_name: boolean;
last_name: boolean;
middle_name: boolean;
position: boolean;
};
short_name: boolean;
type: boolean;
username: boolean;
};
};
};
votes_for: {
account: boolean;
account_ram_deltas: {
account: boolean;
delta: boolean;
};
action_ordinal: boolean;
authorization: {
actor: boolean;
permission: boolean;
};
block_id: boolean;
block_num: boolean;
chain_id: boolean;
console: boolean;
context_free: boolean;
creator_action_ordinal: boolean;
data: boolean;
elapsed: boolean;
global_sequence: boolean;
name: boolean;
receipt: {
abi_sequence: boolean;
act_digest: boolean;
auth_sequence: {
account: boolean;
sequence: boolean;
};
code_sequence: boolean;
global_sequence: boolean;
receiver: boolean;
recv_sequence: boolean;
};
receiver: boolean;
transaction_id: boolean;
user: {
...on Entrepreneur: {
birthdate: boolean;
city: boolean;
country: boolean;
details: {
inn: boolean;
ogrn: boolean;
};
email: boolean;
first_name: boolean;
full_address: boolean;
last_name: boolean;
middle_name: boolean;
phone: boolean;
username: boolean;
};
...on Individual: {
birthdate: boolean;
email: boolean;
first_name: boolean;
full_address: boolean;
last_name: boolean;
middle_name: boolean;
passport: {
code: boolean;
issued_at: boolean;
issued_by: boolean;
number: boolean;
series: boolean;
};
phone: boolean;
username: boolean;
};
...on Organization: {
city: boolean;
country: boolean;
details: {
inn: boolean;
kpp: boolean;
ogrn: boolean;
};
email: boolean;
fact_address: boolean;
full_address: boolean;
full_name: boolean;
phone: boolean;
represented_by: {
based_on: boolean;
first_name: boolean;
last_name: boolean;
middle_name: boolean;
position: boolean;
};
short_name: boolean;
type: boolean;
username: boolean;
};
};
};
};
links: {
binary: boolean;
full_title: boolean;
hash: boolean;
html: boolean;
meta: {
block_num: boolean;
coopname: boolean;
created_at: boolean;
generator: boolean;
lang: boolean;
links: boolean;
registry_id: boolean;
timezone: boolean;
title: boolean;
username: boolean;
version: boolean;
};
};
statement: {
action: {
account: boolean;
account_ram_deltas: {
account: boolean;
delta: boolean;
};
action_ordinal: boolean;
authorization: {
actor: boolean;
permission: boolean;
};
block_id: boolean;
block_num: boolean;
chain_id: boolean;
console: boolean;
context_free: boolean;
creator_action_ordinal: boolean;
data: boolean;
elapsed: boolean;
global_sequence: boolean;
name: boolean;
receipt: {
abi_sequence: boolean;
act_digest: boolean;
auth_sequence: {
account: boolean;
sequence: boolean;
};
code_sequence: boolean;
global_sequence: boolean;
receiver: boolean;
recv_sequence: boolean;
};
receiver: boolean;
transaction_id: boolean;
user: {
...on Entrepreneur: {
birthdate: boolean;
city: boolean;
country: boolean;
details: {
inn: boolean;
ogrn: boolean;
};
email: boolean;
first_name: boolean;
full_address: boolean;
last_name: boolean;
middle_name: boolean;
phone: boolean;
username: boolean;
};
...on Individual: {
birthdate: boolean;
email: boolean;
first_name: boolean;
full_address: boolean;
last_name: boolean;
middle_name: boolean;
passport: {
code: boolean;
issued_at: boolean;
issued_by: boolean;
number: boolean;
series: boolean;
};
phone: boolean;
username: boolean;
};
...on Organization: {
city: boolean;
country: boolean;
details: {
inn: boolean;
kpp: boolean;
ogrn: boolean;
};
email: boolean;
fact_address: boolean;
full_address: boolean;
full_name: boolean;
phone: boolean;
represented_by: {
based_on: boolean;
first_name: boolean;
last_name: boolean;
middle_name: boolean;
position: boolean;
};
short_name: boolean;
type: boolean;
username: boolean;
};
};
};
document: {
...on ParticipantApplicationDocument: {
binary: boolean;
full_title: boolean;
hash: boolean;
html: boolean;
meta: {
block_num: boolean;
coopname: boolean;
created_at: boolean;
generator: boolean;
lang: boolean;
links: boolean;
registry_id: boolean;
timezone: boolean;
title: boolean;
username: boolean;
version: boolean;
};
};
...on ProjectFreeDecisionDocument: {
binary: boolean;
full_title: boolean;
hash: boolean;
html: boolean;
meta: {
block_num: boolean;
coopname: boolean;
created_at: boolean;
generator: boolean;
lang: boolean;
links: boolean;
project_id: boolean;
registry_id: boolean;
timezone: boolean;
title: boolean;
username: boolean;
version: boolean;
};
};
};
};
};
totalCount: boolean;
totalPages: boolean;
}];
} = ...

Извлекает методы платежа

#### Type declaration

- ##### getDocuments: [{
  data: Variable <"GetDocumentsInput", "data">;
  }, {
  currentPage: boolean;
  items: {
  acts: {
  action: {
  account: boolean;
  account_ram_deltas: {
  account: boolean;
  delta: boolean;
  };
  action_ordinal: boolean;
  authorization: {
  actor: boolean;
  permission: boolean;
  };
  block_id: boolean;
  block_num: boolean;
  chain_id: boolean;
  console: boolean;
  context_free: boolean;
  creator_action_ordinal: boolean;
  data: boolean;
  elapsed: boolean;
  global_sequence: boolean;
  name: boolean;
  receipt: {
  abi_sequence: boolean;
  act_digest: boolean;
  auth_sequence: {
  account: boolean;
  sequence: boolean;
  };
  code_sequence: boolean;
  global_sequence: boolean;
  receiver: boolean;
  recv_sequence: boolean;
  };
  receiver: boolean;
  transaction_id: boolean;
  user: {
  ...on Entrepreneur: {
  birthdate: boolean;
  city: boolean;
  country: boolean;
  details: {
  inn: boolean;
  ogrn: boolean;
  };
  email: boolean;
  first_name: boolean;
  full_address: boolean;
  last_name: boolean;
  middle_name: boolean;
  phone: boolean;
  username: boolean;
  };
  ...on Individual: {
  birthdate: boolean;
  email: boolean;
  first_name: boolean;
  full_address: boolean;
  last_name: boolean;
  middle_name: boolean;
  passport: {
  code: boolean;
  issued_at: boolean;
  issued_by: boolean;
  number: boolean;
  series: boolean;
  };
  phone: boolean;
  username: boolean;
  };
  ...on Organization: {
  city: boolean;
  country: boolean;
  details: {
  inn: boolean;
  kpp: boolean;
  ogrn: boolean;
  };
  email: boolean;
  fact_address: boolean;
  full_address: boolean;
  full_name: boolean;
  phone: boolean;
  represented_by: {
  based_on: boolean;
  first_name: boolean;
  last_name: boolean;
  middle_name: boolean;
  position: boolean;
  };
  short_name: boolean;
  type: boolean;
  username: boolean;
  };
  };
  };
  document: {
  binary: boolean;
  full_title: boolean;
  hash: boolean;
  html: boolean;
  meta: {
  block_num: boolean;
  coopname: boolean;
  created_at: boolean;
  generator: boolean;
  lang: boolean;
  links: boolean;
  registry_id: boolean;
  timezone: boolean;
  title: boolean;
  username: boolean;
  version: boolean;
  };
  };
  };
  decision: {
  action: {
  account: boolean;
  account_ram_deltas: {
  account: boolean;
  delta: boolean;
  };
  action_ordinal: boolean;
  authorization: {
  actor: boolean;
  permission: boolean;
  };
  block_id: boolean;
  block_num: boolean;
  chain_id: boolean;
  console: boolean;
  context_free: boolean;
  creator_action_ordinal: boolean;
  data: boolean;
  elapsed: boolean;
  global_sequence: boolean;
  name: boolean;
  receipt: {
  abi_sequence: boolean;
  act_digest: boolean;
  auth_sequence: {
  account: boolean;
  sequence: boolean;
  };
  code_sequence: boolean;
  global_sequence: boolean;
  receiver: boolean;
  recv_sequence: boolean;
  };
  receiver: boolean;
  transaction_id: boolean;
  user: {
  ...on Entrepreneur: {
  birthdate: boolean;
  city: boolean;
  country: boolean;
  details: {
  inn: boolean;
  ogrn: boolean;
  };
  email: boolean;
  first_name: boolean;
  full_address: boolean;
  last_name: boolean;
  middle_name: boolean;
  phone: boolean;
  username: boolean;
  };
  ...on Individual: {
  birthdate: boolean;
  email: boolean;
  first_name: boolean;
  full_address: boolean;
  last_name: boolean;
  middle_name: boolean;
  passport: {
  code: boolean;
  issued_at: boolean;
  issued_by: boolean;
  number: boolean;
  series: boolean;
  };
  phone: boolean;
  username: boolean;
  };
  ...on Organization: {
  city: boolean;
  country: boolean;
  details: {
  inn: boolean;
  kpp: boolean;
  ogrn: boolean;
  };
  email: boolean;
  fact_address: boolean;
  full_address: boolean;
  full_name: boolean;
  phone: boolean;
  represented_by: {
  based_on: boolean;
  first_name: boolean;
  last_name: boolean;
  middle_name: boolean;
  position: boolean;
  };
  short_name: boolean;
  type: boolean;
  username: boolean;
  };
  };
  };
  document: {
  ...on FreeDecisionDocument: {
  binary: boolean;
  full_title: boolean;
  hash: boolean;
  html: boolean;
  meta: {
  block_num: boolean;
  coopname: boolean;
  created_at: boolean;
  decision_id: boolean;
  generator: boolean;
  lang: boolean;
  links: boolean;
  project_id: boolean;
  registry_id: boolean;
  timezone: boolean;
  title: boolean;
  username: boolean;
  version: boolean;
  };
  };
  ...on ParticipantApplicationDecisionDocument: {
  binary: boolean;
  full_title: boolean;
  hash: boolean;
  html: boolean;
  meta: {
  block_num: boolean;
  coopname: boolean;
  created_at: boolean;
  decision_id: boolean;
  generator: boolean;
  lang: boolean;
  links: boolean;
  registry_id: boolean;
  timezone: boolean;
  title: boolean;
  username: boolean;
  version: boolean;
  };
  };
  };
  votes_against: {
  account: boolean;
  account_ram_deltas: {
  account: boolean;
  delta: boolean;
  };
  action_ordinal: boolean;
  authorization: {
  actor: boolean;
  permission: boolean;
  };
  block_id: boolean;
  block_num: boolean;
  chain_id: boolean;
  console: boolean;
  context_free: boolean;
  creator_action_ordinal: boolean;
  data: boolean;
  elapsed: boolean;
  global_sequence: boolean;
  name: boolean;
  receipt: {
  abi_sequence: boolean;
  act_digest: boolean;
  auth_sequence: {
  account: boolean;
  sequence: boolean;
  };
  code_sequence: boolean;
  global_sequence: boolean;
  receiver: boolean;
  recv_sequence: boolean;
  };
  receiver: boolean;
  transaction_id: boolean;
  user: {
  ...on Entrepreneur: {
  birthdate: boolean;
  city: boolean;
  country: boolean;
  details: {
  inn: boolean;
  ogrn: boolean;
  };
  email: boolean;
  first_name: boolean;
  full_address: boolean;
  last_name: boolean;
  middle_name: boolean;
  phone: boolean;
  username: boolean;
  };
  ...on Individual: {
  birthdate: boolean;
  email: boolean;
  first_name: boolean;
  full_address: boolean;
  last_name: boolean;
  middle_name: boolean;
  passport: {
  code: boolean;
  issued_at: boolean;
  issued_by: boolean;
  number: boolean;
  series: boolean;
  };
  phone: boolean;
  username: boolean;
  };
  ...on Organization: {
  city: boolean;
  country: boolean;
  details: {
  inn: boolean;
  kpp: boolean;
  ogrn: boolean;
  };
  email: boolean;
  fact_address: boolean;
  full_address: boolean;
  full_name: boolean;
  phone: boolean;
  represented_by: {
  based_on: boolean;
  first_name: boolean;
  last_name: boolean;
  middle_name: boolean;
  position: boolean;
  };
  short_name: boolean;
  type: boolean;
  username: boolean;
  };
  };
  };
  votes_for: {
  account: boolean;
  account_ram_deltas: {
  account: boolean;
  delta: boolean;
  };
  action_ordinal: boolean;
  authorization: {
  actor: boolean;
  permission: boolean;
  };
  block_id: boolean;
  block_num: boolean;
  chain_id: boolean;
  console: boolean;
  context_free: boolean;
  creator_action_ordinal: boolean;
  data: boolean;
  elapsed: boolean;
  global_sequence: boolean;
  name: boolean;
  receipt: {
  abi_sequence: boolean;
  act_digest: boolean;
  auth_sequence: {
  account: boolean;
  sequence: boolean;
  };
  code_sequence: boolean;
  global_sequence: boolean;
  receiver: boolean;
  recv_sequence: boolean;
  };
  receiver: boolean;
  transaction_id: boolean;
  user: {
  ...on Entrepreneur: {
  birthdate: boolean;
  city: boolean;
  country: boolean;
  details: {
  inn: boolean;
  ogrn: boolean;
  };
  email: boolean;
  first_name: boolean;
  full_address: boolean;
  last_name: boolean;
  middle_name: boolean;
  phone: boolean;
  username: boolean;
  };
  ...on Individual: {
  birthdate: boolean;
  email: boolean;
  first_name: boolean;
  full_address: boolean;
  last_name: boolean;
  middle_name: boolean;
  passport: {
  code: boolean;
  issued_at: boolean;
  issued_by: boolean;
  number: boolean;
  series: boolean;
  };
  phone: boolean;
  username: boolean;
  };
  ...on Organization: {
  city: boolean;
  country: boolean;
  details: {
  inn: boolean;
  kpp: boolean;
  ogrn: boolean;
  };
  email: boolean;
  fact_address: boolean;
  full_address: boolean;
  full_name: boolean;
  phone: boolean;
  represented_by: {
  based_on: boolean;
  first_name: boolean;
  last_name: boolean;
  middle_name: boolean;
  position: boolean;
  };
  short_name: boolean;
  type: boolean;
  username: boolean;
  };
  };
  };
  };
  links: {
  binary: boolean;
  full_title: boolean;
  hash: boolean;
  html: boolean;
  meta: {
  block_num: boolean;
  coopname: boolean;
  created_at: boolean;
  generator: boolean;
  lang: boolean;
  links: boolean;
  registry_id: boolean;
  timezone: boolean;
  title: boolean;
  username: boolean;
  version: boolean;
  };
  };
  statement: {
  action: {
  account: boolean;
  account_ram_deltas: {
  account: boolean;
  delta: boolean;
  };
  action_ordinal: boolean;
  authorization: {
  actor: boolean;
  permission: boolean;
  };
  block_id: boolean;
  block_num: boolean;
  chain_id: boolean;
  console: boolean;
  context_free: boolean;
  creator_action_ordinal: boolean;
  data: boolean;
  elapsed: boolean;
  global_sequence: boolean;
  name: boolean;
  receipt: {
  abi_sequence: boolean;
  act_digest: boolean;
  auth_sequence: {
  account: boolean;
  sequence: boolean;
  };
  code_sequence: boolean;
  global_sequence: boolean;
  receiver: boolean;
  recv_sequence: boolean;
  };
  receiver: boolean;
  transaction_id: boolean;
  user: {
  ...on Entrepreneur: {
  birthdate: boolean;
  city: boolean;
  country: boolean;
  details: {
  inn: boolean;
  ogrn: boolean;
  };
  email: boolean;
  first_name: boolean;
  full_address: boolean;
  last_name: boolean;
  middle_name: boolean;
  phone: boolean;
  username: boolean;
  };
  ...on Individual: {
  birthdate: boolean;
  email: boolean;
  first_name: boolean;
  full_address: boolean;
  last_name: boolean;
  middle_name: boolean;
  passport: {
  code: boolean;
  issued_at: boolean;
  issued_by: boolean;
  number: boolean;
  series: boolean;
  };
  phone: boolean;
  username: boolean;
  };
  ...on Organization: {
  city: boolean;
  country: boolean;
  details: {
  inn: boolean;
  kpp: boolean;
  ogrn: boolean;
  };
  email: boolean;
  fact_address: boolean;
  full_address: boolean;
  full_name: boolean;
  phone: boolean;
  represented_by: {
  based_on: boolean;
  first_name: boolean;
  last_name: boolean;
  middle_name: boolean;
  position: boolean;
  };
  short_name: boolean;
  type: boolean;
  username: boolean;
  };
  };
  };
  document: {
  ...on ParticipantApplicationDocument: {
  binary: boolean;
  full_title: boolean;
  hash: boolean;
  html: boolean;
  meta: {
  block_num: boolean;
  coopname: boolean;
  created_at: boolean;
  generator: boolean;
  lang: boolean;
  links: boolean;
  registry_id: boolean;
  timezone: boolean;
  title: boolean;
  username: boolean;
  version: boolean;
  };
  };
  ...on ProjectFreeDecisionDocument: {
  binary: boolean;
  full_title: boolean;
  hash: boolean;
  html: boolean;
  meta: {
  block_num: boolean;
  coopname: boolean;
  created_at: boolean;
  generator: boolean;
  lang: boolean;
  links: boolean;
  project_id: boolean;
  registry_id: boolean;
  timezone: boolean;
  title: boolean;
  username: boolean;
  version: boolean;
  };
  };
  };
  };
  };
  totalCount: boolean;
  totalPages: boolean;
  }]

- Defined in components/sdk/src/queries/documents/getDocuments.ts:12