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

# Type alias IOutput

IOutput: {
getDocuments: {
currentPage: number;
items: {
acts: {
action?: {
account: string;
account_ram_deltas: {
account: string;
delta: number;
}[];
action_ordinal: number;
authorization: {
actor: string;
permission: string;
}[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: unknown;
elapsed: number;
global_sequence: string;
name: string;
receipt: {
abi_sequence: number;
act_digest: string;
auth_sequence: {
account: string;
sequence: string;
}[];
code_sequence: number;
global_sequence: string;
receiver: string;
recv_sequence: string;
};
receiver: string;
transaction_id: string;
user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
};
document?: {
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: string;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
};
}[];
decision: {
action: {
account: string;
account_ram_deltas: {
account: string;
delta: number;
}[];
action_ordinal: number;
authorization: {
actor: string;
permission: string;
}[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: unknown;
elapsed: number;
global_sequence: string;
name: string;
receipt: {
abi_sequence: number;
act_digest: string;
auth_sequence: {
account: string;
sequence: string;
}[];
code_sequence: number;
global_sequence: string;
receiver: string;
recv_sequence: string;
};
receiver: string;
transaction_id: string;
user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
};
document: ({
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
block_num: number;
coopname: string;
created_at: string;
decision_id: number;
generator: string;
lang: string;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
} | {
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
block_num: number;
coopname: string;
created_at: string;
decision_id: number;
generator: string;
lang: string;
links: string[];
project_id: string;
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
}) & {};
votes_against: {
account: string;
account_ram_deltas: {
account: string;
delta: number;
}[];
action_ordinal: number;
authorization: {
actor: string;
permission: string;
}[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: unknown;
elapsed: number;
global_sequence: string;
name: string;
receipt: {
abi_sequence: number;
act_digest: string;
auth_sequence: {
account: string;
sequence: string;
}[];
code_sequence: number;
global_sequence: string;
receiver: string;
recv_sequence: string;
};
receiver: string;
transaction_id: string;
user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
}[];
votes_for: {
account: string;
account_ram_deltas: {
account: string;
delta: number;
}[];
action_ordinal: number;
authorization: {
actor: string;
permission: string;
}[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: unknown;
elapsed: number;
global_sequence: string;
name: string;
receipt: {
abi_sequence: number;
act_digest: string;
auth_sequence: {
account: string;
sequence: string;
}[];
code_sequence: number;
global_sequence: string;
receiver: string;
recv_sequence: string;
};
receiver: string;
transaction_id: string;
user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
}[];
};
links: {
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: string;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
}[];
statement: {
action: {
account: string;
account_ram_deltas: {
account: string;
delta: number;
}[];
action_ordinal: number;
authorization: {
actor: string;
permission: string;
}[];
block_id: string;
block_num: number;
chain_id: string;
console: string;
context_free: boolean;
creator_action_ordinal: number;
data: unknown;
elapsed: number;
global_sequence: string;
name: string;
receipt: {
abi_sequence: number;
act_digest: string;
auth_sequence: {
account: string;
sequence: string;
}[];
code_sequence: number;
global_sequence: string;
receiver: string;
recv_sequence: string;
};
receiver: string;
transaction_id: string;
user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
};
document: ({
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: string;
links: string[];
project_id: string;
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
} | {
binary: string;
full_title: string;
hash: string;
html: string;
meta: {
block_num: number;
coopname: string;
created_at: string;
generator: string;
lang: string;
links: string[];
registry_id: number;
timezone: string;
title: string;
username: string;
version: string;
};
}) & {};
};
}[];
totalCount: number;
totalPages: number;
};
}

#### Type declaration

- ##### getDocuments: {
  currentPage: number;
  items: {
  acts: {
  action?: {
  account: string;
  account_ram_deltas: {
  account: string;
  delta: number;
  }[];
  action_ordinal: number;
  authorization: {
  actor: string;
  permission: string;
  }[];
  block_id: string;
  block_num: number;
  chain_id: string;
  console: string;
  context_free: boolean;
  creator_action_ordinal: number;
  data: unknown;
  elapsed: number;
  global_sequence: string;
  name: string;
  receipt: {
  abi_sequence: number;
  act_digest: string;
  auth_sequence: {
  account: string;
  sequence: string;
  }[];
  code_sequence: number;
  global_sequence: string;
  receiver: string;
  recv_sequence: string;
  };
  receiver: string;
  transaction_id: string;
  user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
  };
  document?: {
  binary: string;
  full_title: string;
  hash: string;
  html: string;
  meta: {
  block_num: number;
  coopname: string;
  created_at: string;
  generator: string;
  lang: string;
  links: string[];
  registry_id: number;
  timezone: string;
  title: string;
  username: string;
  version: string;
  };
  };
  }[];
  decision: {
  action: {
  account: string;
  account_ram_deltas: {
  account: string;
  delta: number;
  }[];
  action_ordinal: number;
  authorization: {
  actor: string;
  permission: string;
  }[];
  block_id: string;
  block_num: number;
  chain_id: string;
  console: string;
  context_free: boolean;
  creator_action_ordinal: number;
  data: unknown;
  elapsed: number;
  global_sequence: string;
  name: string;
  receipt: {
  abi_sequence: number;
  act_digest: string;
  auth_sequence: {
  account: string;
  sequence: string;
  }[];
  code_sequence: number;
  global_sequence: string;
  receiver: string;
  recv_sequence: string;
  };
  receiver: string;
  transaction_id: string;
  user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
  };
  document: ({
  binary: string;
  full_title: string;
  hash: string;
  html: string;
  meta: {
  block_num: number;
  coopname: string;
  created_at: string;
  decision_id: number;
  generator: string;
  lang: string;
  links: string[];
  registry_id: number;
  timezone: string;
  title: string;
  username: string;
  version: string;
  };
  } | {
  binary: string;
  full_title: string;
  hash: string;
  html: string;
  meta: {
  block_num: number;
  coopname: string;
  created_at: string;
  decision_id: number;
  generator: string;
  lang: string;
  links: string[];
  project_id: string;
  registry_id: number;
  timezone: string;
  title: string;
  username: string;
  version: string;
  };
  }) & {};
  votes_against: {
  account: string;
  account_ram_deltas: {
  account: string;
  delta: number;
  }[];
  action_ordinal: number;
  authorization: {
  actor: string;
  permission: string;
  }[];
  block_id: string;
  block_num: number;
  chain_id: string;
  console: string;
  context_free: boolean;
  creator_action_ordinal: number;
  data: unknown;
  elapsed: number;
  global_sequence: string;
  name: string;
  receipt: {
  abi_sequence: number;
  act_digest: string;
  auth_sequence: {
  account: string;
  sequence: string;
  }[];
  code_sequence: number;
  global_sequence: string;
  receiver: string;
  recv_sequence: string;
  };
  receiver: string;
  transaction_id: string;
  user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
  }[];
  votes_for: {
  account: string;
  account_ram_deltas: {
  account: string;
  delta: number;
  }[];
  action_ordinal: number;
  authorization: {
  actor: string;
  permission: string;
  }[];
  block_id: string;
  block_num: number;
  chain_id: string;
  console: string;
  context_free: boolean;
  creator_action_ordinal: number;
  data: unknown;
  elapsed: number;
  global_sequence: string;
  name: string;
  receipt: {
  abi_sequence: number;
  act_digest: string;
  auth_sequence: {
  account: string;
  sequence: string;
  }[];
  code_sequence: number;
  global_sequence: string;
  receiver: string;
  recv_sequence: string;
  };
  receiver: string;
  transaction_id: string;
  user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
  }[];
  };
  links: {
  binary: string;
  full_title: string;
  hash: string;
  html: string;
  meta: {
  block_num: number;
  coopname: string;
  created_at: string;
  generator: string;
  lang: string;
  links: string[];
  registry_id: number;
  timezone: string;
  title: string;
  username: string;
  version: string;
  };
  }[];
  statement: {
  action: {
  account: string;
  account_ram_deltas: {
  account: string;
  delta: number;
  }[];
  action_ordinal: number;
  authorization: {
  actor: string;
  permission: string;
  }[];
  block_id: string;
  block_num: number;
  chain_id: string;
  console: string;
  context_free: boolean;
  creator_action_ordinal: number;
  data: unknown;
  elapsed: number;
  global_sequence: string;
  name: string;
  receipt: {
  abi_sequence: number;
  act_digest: string;
  auth_sequence: {
  account: string;
  sequence: string;
  }[];
  code_sequence: number;
  global_sequence: string;
  receiver: string;
  recv_sequence: string;
  };
  receiver: string;
  transaction_id: string;
  user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
  };
  document: ({
  binary: string;
  full_title: string;
  hash: string;
  html: string;
  meta: {
  block_num: number;
  coopname: string;
  created_at: string;
  generator: string;
  lang: string;
  links: string[];
  project_id: string;
  registry_id: number;
  timezone: string;
  title: string;
  username: string;
  version: string;
  };
  } | {
  binary: string;
  full_title: string;
  hash: string;
  html: string;
  meta: {
  block_num: number;
  coopname: string;
  created_at: string;
  generator: string;
  lang: string;
  links: string[];
  registry_id: number;
  timezone: string;
  title: string;
  username: string;
  version: string;
  };
  }) & {};
  };
  }[];
  totalCount: number;
  totalPages: number;
  }

  - ##### currentPage: number

    Текущая страница

  - ##### items: {
    acts: {
    action?: {
    account: string;
    account_ram_deltas: {
    account: string;
    delta: number;
    }[];
    action_ordinal: number;
    authorization: {
    actor: string;
    permission: string;
    }[];
    block_id: string;
    block_num: number;
    chain_id: string;
    console: string;
    context_free: boolean;
    creator_action_ordinal: number;
    data: unknown;
    elapsed: number;
    global_sequence: string;
    name: string;
    receipt: {
    abi_sequence: number;
    act_digest: string;
    auth_sequence: {
    account: string;
    sequence: string;
    }[];
    code_sequence: number;
    global_sequence: string;
    receiver: string;
    recv_sequence: string;
    };
    receiver: string;
    transaction_id: string;
    user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
    };
    document?: {
    binary: string;
    full_title: string;
    hash: string;
    html: string;
    meta: {
    block_num: number;
    coopname: string;
    created_at: string;
    generator: string;
    lang: string;
    links: string[];
    registry_id: number;
    timezone: string;
    title: string;
    username: string;
    version: string;
    };
    };
    }[];
    decision: {
    action: {
    account: string;
    account_ram_deltas: {
    account: string;
    delta: number;
    }[];
    action_ordinal: number;
    authorization: {
    actor: string;
    permission: string;
    }[];
    block_id: string;
    block_num: number;
    chain_id: string;
    console: string;
    context_free: boolean;
    creator_action_ordinal: number;
    data: unknown;
    elapsed: number;
    global_sequence: string;
    name: string;
    receipt: {
    abi_sequence: number;
    act_digest: string;
    auth_sequence: {
    account: string;
    sequence: string;
    }[];
    code_sequence: number;
    global_sequence: string;
    receiver: string;
    recv_sequence: string;
    };
    receiver: string;
    transaction_id: string;
    user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
    };
    document: ({
    binary: string;
    full_title: string;
    hash: string;
    html: string;
    meta: {
    block_num: number;
    coopname: string;
    created_at: string;
    decision_id: number;
    generator: string;
    lang: string;
    links: string[];
    registry_id: number;
    timezone: string;
    title: string;
    username: string;
    version: string;
    };
    } | {
    binary: string;
    full_title: string;
    hash: string;
    html: string;
    meta: {
    block_num: number;
    coopname: string;
    created_at: string;
    decision_id: number;
    generator: string;
    lang: string;
    links: string[];
    project_id: string;
    registry_id: number;
    timezone: string;
    title: string;
    username: string;
    version: string;
    };
    }) & {};
    votes_against: {
    account: string;
    account_ram_deltas: {
    account: string;
    delta: number;
    }[];
    action_ordinal: number;
    authorization: {
    actor: string;
    permission: string;
    }[];
    block_id: string;
    block_num: number;
    chain_id: string;
    console: string;
    context_free: boolean;
    creator_action_ordinal: number;
    data: unknown;
    elapsed: number;
    global_sequence: string;
    name: string;
    receipt: {
    abi_sequence: number;
    act_digest: string;
    auth_sequence: {
    account: string;
    sequence: string;
    }[];
    code_sequence: number;
    global_sequence: string;
    receiver: string;
    recv_sequence: string;
    };
    receiver: string;
    transaction_id: string;
    user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
    }[];
    votes_for: {
    account: string;
    account_ram_deltas: {
    account: string;
    delta: number;
    }[];
    action_ordinal: number;
    authorization: {
    actor: string;
    permission: string;
    }[];
    block_id: string;
    block_num: number;
    chain_id: string;
    console: string;
    context_free: boolean;
    creator_action_ordinal: number;
    data: unknown;
    elapsed: number;
    global_sequence: string;
    name: string;
    receipt: {
    abi_sequence: number;
    act_digest: string;
    auth_sequence: {
    account: string;
    sequence: string;
    }[];
    code_sequence: number;
    global_sequence: string;
    receiver: string;
    recv_sequence: string;
    };
    receiver: string;
    transaction_id: string;
    user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
    }[];
    };
    links: {
    binary: string;
    full_title: string;
    hash: string;
    html: string;
    meta: {
    block_num: number;
    coopname: string;
    created_at: string;
    generator: string;
    lang: string;
    links: string[];
    registry_id: number;
    timezone: string;
    title: string;
    username: string;
    version: string;
    };
    }[];
    statement: {
    action: {
    account: string;
    account_ram_deltas: {
    account: string;
    delta: number;
    }[];
    action_ordinal: number;
    authorization: {
    actor: string;
    permission: string;
    }[];
    block_id: string;
    block_num: number;
    chain_id: string;
    console: string;
    context_free: boolean;
    creator_action_ordinal: number;
    data: unknown;
    elapsed: number;
    global_sequence: string;
    name: string;
    receipt: {
    abi_sequence: number;
    act_digest: string;
    auth_sequence: {
    account: string;
    sequence: string;
    }[];
    code_sequence: number;
    global_sequence: string;
    receiver: string;
    recv_sequence: string;
    };
    receiver: string;
    transaction_id: string;
    user?: ({ username: string; email: string; birthdate: string; first_name: string; full_address: string; last_name: string; middle_name: string; phone: string; passport?: { number: number; code: string; issued_at: string; issued_by: string; series: number; } | undefined; } | { ...; } | { ...; }) & {};
    };
    document: ({
    binary: string;
    full_title: string;
    hash: string;
    html: string;
    meta: {
    block_num: number;
    coopname: string;
    created_at: string;
    generator: string;
    lang: string;
    links: string[];
    project_id: string;
    registry_id: number;
    timezone: string;
    title: string;
    username: string;
    version: string;
    };
    } | {
    binary: string;
    full_title: string;
    hash: string;
    html: string;
    meta: {
    block_num: number;
    coopname: string;
    created_at: string;
    generator: string;
    lang: string;
    links: string[];
    registry_id: number;
    timezone: string;
    title: string;
    username: string;
    version: string;
    };
    }) & {};
    };
    }[]

    Элементы текущей страницы

  - ##### totalCount: number

    Общее количество элементов

  - ##### totalPages: number

    Общее количество страниц

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