IOutput : { marketplaceFinalizeStockIssuance : { order_ids : string [] ; proposal : { braname : string ; created_at : unknown ; created_order_ids : string [] ; id : string ; items : { offer_id : string ; order_hash ?: null | string ; order_id ?: null | string ; ordered_quantity ?: null | number ; ordered_total_cost ?: null | string ; package_label ?: null | string ; package_size : number ; product_name : string ; quantity : number ; unit_of_measure ?: null | MarketplaceUnitOfMeasure ; unit_price : string ; } [] ; member_account : string ; operator_account : string ; resolved_at ?: unknown ; status : MarketplaceStockProposalStatus ; total_cost : string ; } ; sagas : { act1_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}
; } [] ; version : string ; } ; act2_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}
; } [] ; version : string ; } ; awaits_council : boolean ; awaits_member_signature : boolean ; awaits_operator_close : boolean ; braname : string ; closed_at ?: unknown ; created_at : unknown ; decided_at ?: unknown ; decision_id ?: null | string ; decision_mode : MarketplaceIssuanceDecisionMode ; fact : { actual_quantity : number ; actual_unit_price : string ; fact_cost : string ; } ; id : unknown ; last_error ?: null | string ; member_account : string ; operator_account : string ; order_hash : string ; order_id : string ; proposal_id ?: null | string ; protocol_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}
; } [] ; version : string ; } ; stage : MarketplaceIssuanceSagaStage ; statement_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}
; } [] ; version : string ; } ; updated_at : unknown ; } [] ; } ; } Type declaration marketplace Finalize Stock Issuance : { order_ids : string [] ; proposal : { braname : string ; created_at : unknown ; created_order_ids : string [] ; id : string ; items : { offer_id : string ; order_hash ?: null | string ; order_id ?: null | string ; ordered_quantity ?: null | number ; ordered_total_cost ?: null | string ; package_label ?: null | string ; package_size : number ; product_name : string ; quantity : number ; unit_of_measure ?: null | MarketplaceUnitOfMeasure ; unit_price : string ; } [] ; member_account : string ; operator_account : string ; resolved_at ?: unknown ; status : MarketplaceStockProposalStatus ; total_cost : string ; } ; sagas : { act1_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}; } [] ; version : string ; } ; act2_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}; } [] ; version : string ; } ; awaits_council : boolean ; awaits_member_signature : boolean ; awaits_operator_close : boolean ; braname : string ; closed_at ?: unknown ; created_at : unknown ; decided_at ?: unknown ; decision_id ?: null | string ; decision_mode : MarketplaceIssuanceDecisionMode ; fact : { actual_quantity : number ; actual_unit_price : string ; fact_cost : string ; } ; id : unknown ; last_error ?: null | string ; member_account : string ; operator_account : string ; order_hash : string ; order_id : string ; proposal_id ?: null | string ; protocol_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}; } [] ; version : string ; } ; stage : MarketplaceIssuanceSagaStage ; statement_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}; } [] ; version : string ; } ; updated_at : unknown ; } [] ; } order_ ids : string [] proposal : { braname : string ; created_at : unknown ; created_order_ids : string [] ; id : string ; items : { offer_id : string ; order_hash ?: null | string ; order_id ?: null | string ; ordered_quantity ?: null | number ; ordered_total_cost ?: null | string ; package_label ?: null | string ; package_size : number ; product_name : string ; quantity : number ; unit_of_measure ?: null | MarketplaceUnitOfMeasure ; unit_price : string ; } [] ; member_account : string ; operator_account : string ; resolved_at ?: unknown ; status : MarketplaceStockProposalStatus ; total_cost : string ; } braname : string created_ at : unknown created_ order_ ids : string [] id : string items : { offer_id : string ; order_hash ?: null | string ; order_id ?: null | string ; ordered_quantity ?: null | number ; ordered_total_cost ?: null | string ; package_label ?: null | string ; package_size : number ; product_name : string ; quantity : number ; unit_of_measure ?: null | MarketplaceUnitOfMeasure ; unit_price : string ; } [] member_ account : string operator_ account : string Optional resolved_ at ?: unknown total_ cost : string sagas : { act1_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}; } [] ; version : string ; } ; act2_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}; } [] ; version : string ; } ; awaits_council : boolean ; awaits_member_signature : boolean ; awaits_operator_close : boolean ; braname : string ; closed_at ?: unknown ; created_at : unknown ; decided_at ?: unknown ; decision_id ?: null | string ; decision_mode : MarketplaceIssuanceDecisionMode ; fact : { actual_quantity : number ; actual_unit_price : string ; fact_cost : string ; } ; id : unknown ; last_error ?: null | string ; member_account : string ; operator_account : string ; order_hash : string ; order_id : string ; proposal_id ?: null | string ; protocol_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}; } [] ; version : string ; } ; stage : MarketplaceIssuanceSagaStage ; statement_document ?: { doc_hash : string ; hash : string ; meta : unknown ; meta_hash : string ; signatures : { id : number ; is_valid ?: null | boolean ; meta : unknown ; public_key : string ; signature : string ; signed_at : string ; signed_hash : string ; signer : string ; signer_certificate ?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {}; } [] ; version : string ; } ; updated_at : unknown ; } [] Defined in components/sdk/src/mutations/marketplace/finalizeStockIssuance.ts:19
Пайщик одним нажатием подписывает заявления по всем строкам бандла (и заявление 1110 на бандл, если членского кошелька не хватает — перевод идёт отдельной транзакцией до заказов): по докладке создаётся заказ из остатка, по каждому заказу заявление уходит в цепь и на повестку совета; робот решений совета зовётся напрямую и ждётся у стойки. Ответ несёт саги выдачи: решение принято — пайщик подписывает акт, иначе — режим ожидания без действий с его стороны.