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

# Type alias IOutput

IOutput: {
getAgenda: {
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;
};
documents: {
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;
};
}) & {};
};
};
table: {
approved: boolean;
authorization: {
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: {
hash: string;
meta: string;
public_key: string;
signature: string;
};
type: string;
username: string;
validated: boolean;
votes_against: string[];
votes_for: string[];
};
}[];
}

#### Type declaration

- ##### getAgenda: {
  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;
  };
  documents: {
  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;
  };
  }) & {};
  };
  };
  table: {
  approved: boolean;
  authorization: {
  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: {
  hash: string;
  meta: string;
  public_key: string;
  signature: string;
  };
  type: string;
  username: string;
  validated: boolean;
  votes_against: string[];
  votes_for: string[];
  };
  }[]

  Получить список вопросов совета кооператива для голосования

- Defined in components/sdk/src/queries/agenda/getAgenda.ts:21