@fairmint/canton-node-sdk 0.0.242 → 0.0.243
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.d.ts +6 -9
- package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.js +6 -8
- package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.js.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/authenticated-user/get.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/authenticated-user/get.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts +26 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit.d.ts +248 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts +7 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts +86 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts +248 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts +310 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait.d.ts +253 -6
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts +4 -1
- package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/delete-idp.d.ts +3 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/delete-idp.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/get-idp.d.ts +3 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/get-idp.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/get.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/get.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/patch-idp.d.ts +12 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/patch-idp.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/post.d.ts +9 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/post.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait-for-transaction.d.ts +4 -0
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait-for-transaction.d.ts.map +1 -0
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait-for-transaction.js +18 -0
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait-for-transaction.js.map +1 -0
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait.d.ts +7 -0
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait.d.ts.map +1 -0
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait.js +18 -0
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait.js.map +1 -0
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute.d.ts +2 -32
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute.js +6 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute.js.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.d.ts +10 -3
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.js +2 -0
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.js.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.d.ts +8 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.js +3 -5
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.js.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.d.ts +2 -3
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.js +2 -3
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.js.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/prepare.d.ts +2 -225
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/prepare.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/prepare.js +15 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/prepare.js.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/packages/get-package-status.d.ts +3 -1
- package/build/src/clients/ledger-json-api/operations/v2/packages/get-package-status.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/packages/get.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/packages/get.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/packages/post.d.ts +6 -1
- package/build/src/clients/ledger-json-api/operations/v2/packages/post.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/external/allocate-external-party.d.ts +21 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/external/allocate-external-party.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/external/generate-topology.d.ts +13 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/external/generate-topology.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/get-participant-id.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/get-participant-id.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/get-party-details.d.ts +5 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/get-party-details.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/post.d.ts +10 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/post.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/update-party-details.d.ts +15 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/update-party-details.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/state/get-connected-synchronizers.d.ts +4 -1
- package/build/src/clients/ledger-json-api/operations/v2/state/get-connected-synchronizers.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/state/get-latest-pruned-offsets.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/state/get-latest-pruned-offsets.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/state/get-ledger-end.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/state/get-ledger-end.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-id.d.ts +65 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-id.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-offset.d.ts +65 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-offset.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts +5 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts +5 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-id.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-id.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-offset.d.ts +131 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-offset.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.d.ts +4 -0
- package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/create-user.d.ts +30 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/create-user.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts +3 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts +3 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/grant-user-rights.d.ts +44 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/grant-user-rights.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts +3 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts +4 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/revoke-user-rights.d.ts +44 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/revoke-user-rights.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/update-user-identity-provider.d.ts +5 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/update-user-identity-provider.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/update-user.d.ts +15 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/update-user.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/version/get.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/version/get.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts +1 -0
- package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/events.d.ts +4 -0
- package/build/src/clients/ledger-json-api/schemas/api/events.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.d.ts +198 -516
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.js +426 -199
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/interface-view.d.ts +1 -0
- package/build/src/clients/ledger-json-api/schemas/api/interface-view.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/interface-view.js +3 -4
- package/build/src/clients/ledger-json-api/schemas/api/interface-view.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts +34 -14
- package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/packages.js +24 -19
- package/build/src/clients/ledger-json-api/schemas/api/packages.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts +4 -0
- package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/state.d.ts +8 -0
- package/build/src/clients/ledger-json-api/schemas/api/state.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts +4 -0
- package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts +24 -0
- package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/index.d.ts +1 -0
- package/build/src/clients/ledger-json-api/schemas/index.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/index.js +2 -0
- package/build/src/clients/ledger-json-api/schemas/index.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts +5 -50
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.js +16 -66
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/wire.d.ts +14 -0
- package/build/src/clients/ledger-json-api/schemas/wire.d.ts.map +1 -0
- package/build/src/clients/ledger-json-api/schemas/wire.js +49 -0
- package/build/src/clients/ledger-json-api/schemas/wire.js.map +1 -0
- package/build/src/clients/scan-api/operations/v0/registry/allocation/v2/get-settlement-factory-from-registry.d.ts +29 -1
- package/build/src/clients/scan-api/operations/v0/registry/allocation/v2/get-settlement-factory-from-registry.d.ts.map +1 -1
- package/build/src/clients/scan-api/operations/v0/registry/allocation-instruction/v1/get-allocation-factory-from-registry.d.ts +29 -1
- package/build/src/clients/scan-api/operations/v0/registry/allocation-instruction/v1/get-allocation-factory-from-registry.d.ts.map +1 -1
- package/build/src/clients/scan-api/operations/v0/registry/allocation-instruction/v2/get-allocation-factory-v2-from-registry.d.ts +29 -1
- package/build/src/clients/scan-api/operations/v0/registry/allocation-instruction/v2/get-allocation-factory-v2-from-registry.d.ts.map +1 -1
- package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/get-instrument.d.ts +3 -1
- package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/get-instrument.d.ts.map +1 -1
- package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/get-registry-info.d.ts +1 -1
- package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/get-registry-info.d.ts.map +1 -1
- package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/list-instruments.d.ts +4 -1
- package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/list-instruments.d.ts.map +1 -1
- package/build/src/clients/scan-api/operations/v0/scan.d.ts +214 -57
- package/build/src/clients/scan-api/operations/v0/scan.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/create-external-party-setup-proposal.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/admin/create-external-party-setup-proposal.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/create-user.d.ts +5 -1
- package/build/src/clients/validator-api/operations/v0/admin/create-user.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/dump-participant-identities.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/dump-participant-identities.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/generate-external-party-topology.d.ts +4 -1
- package/build/src/clients/validator-api/operations/v0/admin/generate-external-party-topology.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/get-decentralized-synchronizer-connection-config.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/get-decentralized-synchronizer-connection-config.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/get-external-party-balance.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/admin/get-external-party-balance.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/list-external-party-setup-proposals.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/list-external-party-setup-proposals.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/list-users.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/list-users.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/prepare-accept-external-party-setup-proposal.d.ts +5 -1
- package/build/src/clients/validator-api/operations/v0/admin/prepare-accept-external-party-setup-proposal.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/prepare-transfer-preapproval-send.d.ts +9 -1
- package/build/src/clients/validator-api/operations/v0/admin/prepare-transfer-preapproval-send.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/submit-accept-external-party-setup-proposal.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/admin/submit-accept-external-party-setup-proposal.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/submit-external-party-topology.d.ts +4 -1
- package/build/src/clients/validator-api/operations/v0/admin/submit-external-party-topology.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/submit-transfer-preapproval-send.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/admin/submit-transfer-preapproval-send.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/create-entry.d.ts +5 -1
- package/build/src/clients/validator-api/operations/v0/ans/create-entry.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/get-rules.d.ts +4 -1
- package/build/src/clients/validator-api/operations/v0/ans/get-rules.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/list-owned-entries.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/list-owned-entries.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/lookup-by-name.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/ans/lookup-by-name.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/lookup-by-party.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/ans/lookup-by-party.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/get-validator-user-info.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/get-validator-user-info.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/health.d.ts +2 -2
- package/build/src/clients/validator-api/operations/v0/health.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/register.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/register.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-amulet-rules.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-amulet-rules.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-info.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-info.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-party-id.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-party-id.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-holdings-summary-at-v1.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-holdings-summary-at-v1.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-mining-round-details.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-mining-round-details.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-open-and-issuing-mining-rounds.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-open-and-issuing-mining-rounds.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/list-ans-entries.d.ts +4 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/list-ans-entries.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/list-unclaimed-development-fund-coupons.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/list-unclaimed-development-fund-coupons.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-featured-app-right.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-featured-app-right.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-command-counter-by-party.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-command-counter-by-party.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-command-status.d.ts +4 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-command-status.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-preapproval-by-party.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-preapproval-by-party.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts +28 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts +5 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts +5 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts +5 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts +4 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts +28 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts +5 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts +5 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts +5 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/create.d.ts +4 -1
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/create.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/get-amulets.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/get-amulets.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/get-balance.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/get-balance.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/get-user-status.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/get-user-status.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/list-transactions.d.ts +4 -1
- package/build/src/clients/validator-api/operations/v0/wallet/list-transactions.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/tap.d.ts +4 -1
- package/build/src/clients/validator-api/operations/v0/wallet/tap.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/create.d.ts +7 -1
- package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/create.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/list.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/list.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/accept.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/accept.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/create.d.ts +7 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/create.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/list.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/list.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/reject.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/reject.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/withdraw.d.ts +3 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/withdraw.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-preapproval-send.d.ts +6 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-preapproval-send.d.ts.map +1 -1
- package/build/src/core/operations/ApiOperation.d.ts +3 -2
- package/build/src/core/operations/ApiOperation.d.ts.map +1 -1
- package/build/src/core/operations/ApiOperation.js +11 -0
- package/build/src/core/operations/ApiOperation.js.map +1 -1
- package/build/src/core/operations/ApiOperationFactory.d.ts +13 -1
- package/build/src/core/operations/ApiOperationFactory.d.ts.map +1 -1
- package/build/src/core/operations/ApiOperationFactory.js +34 -15
- package/build/src/core/operations/ApiOperationFactory.js.map +1 -1
- package/build/src/core/operations/operation-execute-options.d.ts +4 -0
- package/build/src/core/operations/operation-execute-options.d.ts.map +1 -1
- package/build/src/core/operations/operation-execute-options.js.map +1 -1
- package/build/src/utils/amulet/external-party-transfer-offer.d.ts +3 -3
- package/build/src/utils/amulet/external-party-transfer-offer.d.ts.map +1 -1
- package/build/src/utils/amulet/external-party-transfer-offer.js +1 -7
- package/build/src/utils/amulet/external-party-transfer-offer.js.map +1 -1
- package/build/src/utils/external-signing/execute-external-transaction.d.ts +23 -12
- package/build/src/utils/external-signing/execute-external-transaction.d.ts.map +1 -1
- package/build/src/utils/external-signing/execute-external-transaction.js +28 -16
- package/build/src/utils/external-signing/execute-external-transaction.js.map +1 -1
- package/build/src/utils/external-signing/external-party-wallet.d.ts +4 -3
- package/build/src/utils/external-signing/external-party-wallet.d.ts.map +1 -1
- package/build/src/utils/external-signing/external-party-wallet.js.map +1 -1
- package/build/src/utils/external-signing/external-signing-client.d.ts +3 -3
- package/build/src/utils/external-signing/external-signing-client.d.ts.map +1 -1
- package/build/src/utils/external-signing/external-signing-client.js +1 -1
- package/build/src/utils/external-signing/external-signing-client.js.map +1 -1
- package/build/src/utils/external-signing/prepare-external-transaction.d.ts +20 -13
- package/build/src/utils/external-signing/prepare-external-transaction.d.ts.map +1 -1
- package/build/src/utils/external-signing/prepare-external-transaction.js +15 -13
- package/build/src/utils/external-signing/prepare-external-transaction.js.map +1 -1
- package/build/src/utils/token-standard/v2/allocation-state.d.ts +104 -0
- package/build/src/utils/token-standard/v2/allocation-state.d.ts.map +1 -0
- package/build/src/utils/token-standard/v2/allocation-state.js +638 -0
- package/build/src/utils/token-standard/v2/allocation-state.js.map +1 -0
- package/build/src/utils/token-standard/v2/index.d.ts +1 -0
- package/build/src/utils/token-standard/v2/index.d.ts.map +1 -1
- package/build/src/utils/token-standard/v2/index.js +1 -0
- package/build/src/utils/token-standard/v2/index.js.map +1 -1
- package/build/src/utils/traffic/estimate-traffic-cost.d.ts +3 -0
- package/build/src/utils/traffic/estimate-traffic-cost.d.ts.map +1 -1
- package/build/src/utils/traffic/estimate-traffic-cost.js +8 -4
- package/build/src/utils/traffic/estimate-traffic-cost.js.map +1 -1
- package/build/src/utils/traffic/get-estimated-traffic-cost.js +1 -1
- package/build/src/utils/traffic/get-estimated-traffic-cost.js.map +1 -1
- package/build/src/utils/traffic/types.d.ts +1 -1
- package/build/src/utils/traffic/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.d.ts +0 -25
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.d.ts.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.js +0 -29
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.js.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.d.ts +0 -62
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.d.ts.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.js +0 -34
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.js.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/upload-dar.d.ts +0 -15
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/upload-dar.d.ts.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/upload-dar.js +0 -25
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/upload-dar.js.map +0 -1
|
@@ -1,519 +1,201 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
} | null)[] | {
|
|
168
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
169
|
-
} | null)[] | {
|
|
170
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
171
|
-
} | null)[] | {
|
|
172
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
173
|
-
} | null)[] | {
|
|
174
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
175
|
-
} | null, unknown>>>;
|
|
176
|
-
}, z.core.$strip>;
|
|
177
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
178
|
-
CreateAndExerciseCommand: z.ZodObject<{
|
|
179
|
-
templateId: z.ZodString;
|
|
180
|
-
createArguments: z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
181
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
182
|
-
} | null)[] | {
|
|
183
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
184
|
-
} | null)[] | {
|
|
185
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
186
|
-
} | null)[] | {
|
|
187
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
188
|
-
} | null)[] | {
|
|
189
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
190
|
-
} | null)[] | {
|
|
191
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
192
|
-
} | null)[] | {
|
|
193
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
194
|
-
} | null)[] | {
|
|
195
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
196
|
-
} | null)[] | {
|
|
197
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
198
|
-
} | null)[] | {
|
|
199
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
200
|
-
} | null)[] | {
|
|
201
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
202
|
-
} | null)[] | {
|
|
203
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
204
|
-
} | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
205
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
206
|
-
} | null)[] | {
|
|
207
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
208
|
-
} | null)[] | {
|
|
209
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
210
|
-
} | null)[] | {
|
|
211
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
212
|
-
} | null)[] | {
|
|
213
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
214
|
-
} | null)[] | {
|
|
215
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
216
|
-
} | null)[] | {
|
|
217
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
218
|
-
} | null)[] | {
|
|
219
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
220
|
-
} | null)[] | {
|
|
221
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
222
|
-
} | null)[] | {
|
|
223
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
224
|
-
} | null)[] | {
|
|
225
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
226
|
-
} | null)[] | {
|
|
227
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
228
|
-
} | null, unknown>>>;
|
|
229
|
-
choice: z.ZodString;
|
|
230
|
-
choiceArgument: z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
231
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
232
|
-
} | null)[] | {
|
|
233
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
234
|
-
} | null)[] | {
|
|
235
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
236
|
-
} | null)[] | {
|
|
237
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
238
|
-
} | null)[] | {
|
|
239
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
240
|
-
} | null)[] | {
|
|
241
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
242
|
-
} | null)[] | {
|
|
243
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
244
|
-
} | null)[] | {
|
|
245
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
246
|
-
} | null)[] | {
|
|
247
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
248
|
-
} | null)[] | {
|
|
249
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
250
|
-
} | null)[] | {
|
|
251
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
252
|
-
} | null)[] | {
|
|
253
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
254
|
-
} | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
255
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
256
|
-
} | null)[] | {
|
|
257
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
258
|
-
} | null)[] | {
|
|
259
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
260
|
-
} | null)[] | {
|
|
261
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
262
|
-
} | null)[] | {
|
|
263
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
264
|
-
} | null)[] | {
|
|
265
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
266
|
-
} | null)[] | {
|
|
267
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
268
|
-
} | null)[] | {
|
|
269
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
270
|
-
} | null)[] | {
|
|
271
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
272
|
-
} | null)[] | {
|
|
273
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
274
|
-
} | null)[] | {
|
|
275
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
276
|
-
} | null)[] | {
|
|
277
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
278
|
-
} | null, unknown>>>;
|
|
279
|
-
}, z.core.$strip>;
|
|
280
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
281
|
-
ExerciseByKeyCommand: z.ZodObject<{
|
|
282
|
-
templateId: z.ZodString;
|
|
283
|
-
contractKey: z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
284
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
285
|
-
} | null)[] | {
|
|
286
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
287
|
-
} | null)[] | {
|
|
288
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
289
|
-
} | null)[] | {
|
|
290
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
291
|
-
} | null)[] | {
|
|
292
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
293
|
-
} | null)[] | {
|
|
294
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
295
|
-
} | null)[] | {
|
|
296
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
297
|
-
} | null)[] | {
|
|
298
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
299
|
-
} | null)[] | {
|
|
300
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
301
|
-
} | null)[] | {
|
|
302
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
303
|
-
} | null)[] | {
|
|
304
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
305
|
-
} | null)[] | {
|
|
306
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
307
|
-
} | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
308
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
309
|
-
} | null)[] | {
|
|
310
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
311
|
-
} | null)[] | {
|
|
312
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
313
|
-
} | null)[] | {
|
|
314
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
315
|
-
} | null)[] | {
|
|
316
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
317
|
-
} | null)[] | {
|
|
318
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
319
|
-
} | null)[] | {
|
|
320
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
321
|
-
} | null)[] | {
|
|
322
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
323
|
-
} | null)[] | {
|
|
324
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
325
|
-
} | null)[] | {
|
|
326
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
327
|
-
} | null)[] | {
|
|
328
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
329
|
-
} | null)[] | {
|
|
330
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
331
|
-
} | null, unknown>>>;
|
|
332
|
-
choice: z.ZodString;
|
|
333
|
-
choiceArgument: z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
334
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
335
|
-
} | null)[] | {
|
|
336
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
337
|
-
} | null)[] | {
|
|
338
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
339
|
-
} | null)[] | {
|
|
340
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
341
|
-
} | null)[] | {
|
|
342
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
343
|
-
} | null)[] | {
|
|
344
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
345
|
-
} | null)[] | {
|
|
346
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
347
|
-
} | null)[] | {
|
|
348
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
349
|
-
} | null)[] | {
|
|
350
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
351
|
-
} | null)[] | {
|
|
352
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
353
|
-
} | null)[] | {
|
|
354
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
355
|
-
} | null)[] | {
|
|
356
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
357
|
-
} | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
358
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
359
|
-
} | null)[] | {
|
|
360
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
361
|
-
} | null)[] | {
|
|
362
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
363
|
-
} | null)[] | {
|
|
364
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
365
|
-
} | null)[] | {
|
|
366
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
367
|
-
} | null)[] | {
|
|
368
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
369
|
-
} | null)[] | {
|
|
370
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
371
|
-
} | null)[] | {
|
|
372
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
373
|
-
} | null)[] | {
|
|
374
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
375
|
-
} | null)[] | {
|
|
376
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
377
|
-
} | null)[] | {
|
|
378
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
379
|
-
} | null)[] | {
|
|
380
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
381
|
-
} | null, unknown>>>;
|
|
382
|
-
}, z.core.$strip>;
|
|
383
|
-
}, z.core.$strip>]>>;
|
|
384
|
-
commandId: z.ZodString;
|
|
385
|
-
userId: z.ZodString;
|
|
386
|
-
actAs: z.ZodArray<z.ZodString>;
|
|
387
|
-
readAs: z.ZodArray<z.ZodString>;
|
|
388
|
-
disclosedContracts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
389
|
-
contractId: z.ZodString;
|
|
390
|
-
templateId: z.ZodString;
|
|
391
|
-
createdEventBlob: z.ZodOptional<z.ZodString>;
|
|
392
|
-
synchronizerId: z.ZodString;
|
|
393
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
394
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
395
|
-
} | null)[] | {
|
|
396
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
397
|
-
} | null)[] | {
|
|
398
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
399
|
-
} | null)[] | {
|
|
400
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
401
|
-
} | null)[] | {
|
|
402
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
403
|
-
} | null)[] | {
|
|
404
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
405
|
-
} | null)[] | {
|
|
406
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
407
|
-
} | null)[] | {
|
|
408
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
409
|
-
} | null)[] | {
|
|
410
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
411
|
-
} | null)[] | {
|
|
412
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
413
|
-
} | null)[] | {
|
|
414
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
415
|
-
} | null)[] | {
|
|
416
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
417
|
-
} | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
418
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
419
|
-
} | null)[] | {
|
|
420
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
421
|
-
} | null)[] | {
|
|
422
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
423
|
-
} | null)[] | {
|
|
424
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
425
|
-
} | null)[] | {
|
|
426
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
427
|
-
} | null)[] | {
|
|
428
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
429
|
-
} | null)[] | {
|
|
430
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
431
|
-
} | null)[] | {
|
|
432
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
433
|
-
} | null)[] | {
|
|
434
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
435
|
-
} | null)[] | {
|
|
436
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
437
|
-
} | null)[] | {
|
|
438
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
439
|
-
} | null)[] | {
|
|
440
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
441
|
-
} | null, unknown>>>>;
|
|
442
|
-
}, z.core.$strip>>>;
|
|
443
|
-
synchronizerId: z.ZodString;
|
|
444
|
-
verboseHashing: z.ZodOptional<z.ZodBoolean>;
|
|
445
|
-
packageIdSelectionPreference: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
446
|
-
packageId: z.ZodOptional<z.ZodString>;
|
|
447
|
-
packageName: z.ZodOptional<z.ZodString>;
|
|
448
|
-
}, z.core.$strip>>>;
|
|
449
|
-
}, z.core.$strip>;
|
|
2
|
+
import { type Brand } from '../../../../core';
|
|
3
|
+
import type { components, paths } from '../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi';
|
|
4
|
+
type LedgerSchemas = components['schemas'];
|
|
5
|
+
type PrepareEndpoint = '/v2/interactive-submission/prepare';
|
|
6
|
+
type ExecuteEndpoint = '/v2/interactive-submission/execute';
|
|
7
|
+
type ExecuteAndWaitEndpoint = '/v2/interactive-submission/executeAndWait';
|
|
8
|
+
type ExecuteAndWaitForTransactionEndpoint = '/v2/interactive-submission/executeAndWaitForTransaction';
|
|
9
|
+
type GeneratedInteractiveSubmissionPrepareRequest = paths[PrepareEndpoint]['post']['requestBody']['content']['application/json'];
|
|
10
|
+
type GeneratedInteractiveSubmissionPrepareResponse = paths[PrepareEndpoint]['post']['responses']['200']['content']['application/json'];
|
|
11
|
+
type GeneratedInteractiveSubmissionExecuteRequest = paths[ExecuteEndpoint]['post']['requestBody']['content']['application/json'];
|
|
12
|
+
export type InteractiveSubmissionExecuteResponse = paths[ExecuteEndpoint]['post']['responses']['200']['content']['application/json'];
|
|
13
|
+
type GeneratedInteractiveSubmissionExecuteAndWaitRequest = paths[ExecuteAndWaitEndpoint]['post']['requestBody']['content']['application/json'];
|
|
14
|
+
export type InteractiveSubmissionExecuteAndWaitResponse = paths[ExecuteAndWaitEndpoint]['post']['responses']['200']['content']['application/json'];
|
|
15
|
+
type GeneratedInteractiveSubmissionExecuteAndWaitForTransactionRequest = paths[ExecuteAndWaitForTransactionEndpoint]['post']['requestBody']['content']['application/json'];
|
|
16
|
+
type GeneratedInteractiveSubmissionExecuteAndWaitForTransactionResponse = paths[ExecuteAndWaitForTransactionEndpoint]['post']['responses']['200']['content']['application/json'];
|
|
17
|
+
/** Any losslessly representable JSON value. */
|
|
18
|
+
export type InteractiveSubmissionJsonValue = string | number | boolean | null | InteractiveSubmissionJsonValue[] | {
|
|
19
|
+
[key: string]: InteractiveSubmissionJsonValue;
|
|
20
|
+
};
|
|
21
|
+
/** A present Daml JSON value; nested JSON nulls remain valid. */
|
|
22
|
+
export type InteractiveSubmissionNonNullJsonValue = Exclude<InteractiveSubmissionJsonValue, null>;
|
|
23
|
+
/** A mutable non-empty array matching raw Ledger request shapes. */
|
|
24
|
+
export type InteractiveSubmissionNonEmptyArray<Value> = [Value, ...Value[]];
|
|
25
|
+
type UnionKeys<Union> = Union extends Union ? keyof Union : never;
|
|
26
|
+
type ExactOneOfHelper<Variant, Union> = Variant extends Union ? Variant & Partial<Record<Exclude<UnionKeys<Union>, keyof Variant>, never>> : never;
|
|
27
|
+
type ExactOneOf<Union> = ExactOneOfHelper<Union, Union>;
|
|
28
|
+
type InteractiveSubmissionCreateCommand = Omit<LedgerSchemas['CreateCommand'], 'createArguments'> & {
|
|
29
|
+
createArguments: InteractiveSubmissionJsonValue;
|
|
30
|
+
};
|
|
31
|
+
type InteractiveSubmissionExerciseCommand = Omit<LedgerSchemas['ExerciseCommand'], 'choiceArgument'> & {
|
|
32
|
+
choiceArgument: InteractiveSubmissionJsonValue;
|
|
33
|
+
};
|
|
34
|
+
type InteractiveSubmissionCreateAndExerciseCommand = Omit<LedgerSchemas['CreateAndExerciseCommand'], 'createArguments' | 'choiceArgument'> & {
|
|
35
|
+
createArguments: InteractiveSubmissionJsonValue;
|
|
36
|
+
choiceArgument: InteractiveSubmissionJsonValue;
|
|
37
|
+
};
|
|
38
|
+
type InteractiveSubmissionExerciseByKeyCommand = Omit<LedgerSchemas['ExerciseByKeyCommand'], 'choiceArgument' | 'contractKey'> & {
|
|
39
|
+
contractKey: InteractiveSubmissionJsonValue;
|
|
40
|
+
choiceArgument: InteractiveSubmissionJsonValue;
|
|
41
|
+
};
|
|
42
|
+
type InteractiveSubmissionCommandVariants = {
|
|
43
|
+
CreateAndExerciseCommand: InteractiveSubmissionCreateAndExerciseCommand;
|
|
44
|
+
} | {
|
|
45
|
+
CreateCommand: InteractiveSubmissionCreateCommand;
|
|
46
|
+
} | {
|
|
47
|
+
ExerciseByKeyCommand: InteractiveSubmissionExerciseByKeyCommand;
|
|
48
|
+
} | {
|
|
49
|
+
ExerciseCommand: InteractiveSubmissionExerciseCommand;
|
|
50
|
+
};
|
|
51
|
+
export type InteractiveSubmissionCommand = ExactOneOf<InteractiveSubmissionCommandVariants>;
|
|
52
|
+
type InteractiveSubmissionDeduplicationPeriodVariants = LedgerSchemas['DeduplicationPeriod2'];
|
|
53
|
+
type InteractiveSubmissionDeduplicationPeriod = ExactOneOf<InteractiveSubmissionDeduplicationPeriodVariants>;
|
|
54
|
+
type InteractiveSubmissionTimeVariants = LedgerSchemas['Time'];
|
|
55
|
+
type InteractiveSubmissionTime = ExactOneOf<InteractiveSubmissionTimeVariants>;
|
|
56
|
+
type InteractiveSubmissionMinLedgerTime = Omit<LedgerSchemas['MinLedgerTime'], 'time'> & {
|
|
57
|
+
time?: InteractiveSubmissionTime;
|
|
58
|
+
};
|
|
59
|
+
type InteractiveSubmissionIdentifierFilterVariants = LedgerSchemas['IdentifierFilter'];
|
|
60
|
+
export type InteractiveSubmissionIdentifierFilter = ExactOneOf<InteractiveSubmissionIdentifierFilterVariants>;
|
|
61
|
+
type InteractiveSubmissionCumulativeFilter = Omit<LedgerSchemas['CumulativeFilter'], 'identifierFilter'> & {
|
|
62
|
+
identifierFilter?: InteractiveSubmissionIdentifierFilter;
|
|
63
|
+
};
|
|
64
|
+
type InteractiveSubmissionFilters = Omit<LedgerSchemas['Filters'], 'cumulative'> & {
|
|
65
|
+
cumulative?: InteractiveSubmissionCumulativeFilter[];
|
|
66
|
+
};
|
|
67
|
+
type InteractiveSubmissionEventFormat = Omit<LedgerSchemas['EventFormat'], 'filtersByParty' | 'filtersForAnyParty'> & {
|
|
68
|
+
filtersByParty?: Record<string, InteractiveSubmissionFilters>;
|
|
69
|
+
filtersForAnyParty?: InteractiveSubmissionFilters;
|
|
70
|
+
};
|
|
71
|
+
type InteractiveSubmissionTransactionFormat = Omit<LedgerSchemas['TransactionFormat'], 'eventFormat' | 'transactionShape'> & {
|
|
72
|
+
eventFormat: InteractiveSubmissionEventFormat;
|
|
73
|
+
transactionShape: 'TRANSACTION_SHAPE_ACS_DELTA' | 'TRANSACTION_SHAPE_LEDGER_EFFECTS';
|
|
74
|
+
};
|
|
75
|
+
export type InteractiveSubmissionPrefetchContractKey = Omit<LedgerSchemas['PrefetchContractKey'], 'contractKey'> & {
|
|
76
|
+
contractKey: InteractiveSubmissionJsonValue;
|
|
77
|
+
};
|
|
78
|
+
export type InteractiveSubmissionPrepareRequest = Omit<GeneratedInteractiveSubmissionPrepareRequest, 'actAs' | 'commands' | 'estimateTrafficCost' | 'hashingSchemeVersion' | 'minLedgerTime' | 'prefetchContractKeys'> & {
|
|
79
|
+
/** Pinned Canton 0.6.8 supports exactly one command per interactive preparation. */
|
|
80
|
+
commands: [InteractiveSubmissionCommand];
|
|
81
|
+
actAs: InteractiveSubmissionNonEmptyArray<string>;
|
|
82
|
+
estimateTrafficCost?: InteractiveSubmissionCostEstimationHints;
|
|
83
|
+
hashingSchemeVersion?: InteractiveSubmissionHashingSchemeVersion;
|
|
84
|
+
minLedgerTime?: InteractiveSubmissionMinLedgerTime;
|
|
85
|
+
prefetchContractKeys?: InteractiveSubmissionPrefetchContractKey[];
|
|
86
|
+
};
|
|
87
|
+
/** Signature formats defined by the pinned Canton Ledger API crypto protobuf. */
|
|
88
|
+
export type InteractiveSubmissionSignatureFormat = 'SIGNATURE_FORMAT_RAW' | 'SIGNATURE_FORMAT_DER' | 'SIGNATURE_FORMAT_CONCAT' | 'SIGNATURE_FORMAT_SYMBOLIC';
|
|
89
|
+
/** Signing algorithms defined by the pinned Canton Ledger API crypto protobuf. */
|
|
90
|
+
export type InteractiveSubmissionSigningAlgorithmSpec = 'SIGNING_ALGORITHM_SPEC_ED25519' | 'SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256' | 'SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_384';
|
|
91
|
+
type InteractiveSubmissionCostEstimationHints = Omit<LedgerSchemas['CostEstimationHints'], 'expectedSignatures'> & {
|
|
92
|
+
expectedSignatures?: InteractiveSubmissionSigningAlgorithmSpec[];
|
|
93
|
+
};
|
|
94
|
+
export type InteractiveSubmissionHashingSchemeVersion = Exclude<GeneratedInteractiveSubmissionExecuteRequest['hashingSchemeVersion'], 'HASHING_SCHEME_VERSION_UNSPECIFIED'>;
|
|
95
|
+
export type InteractiveSubmissionPrepareResponse = Omit<GeneratedInteractiveSubmissionPrepareResponse, 'hashingSchemeVersion'> & {
|
|
96
|
+
hashingSchemeVersion: InteractiveSubmissionHashingSchemeVersion;
|
|
97
|
+
};
|
|
98
|
+
export type InteractiveSubmissionSignature = Omit<LedgerSchemas['Signature'], 'format' | 'signingAlgorithmSpec'> & {
|
|
99
|
+
format: InteractiveSubmissionSignatureFormat;
|
|
100
|
+
signingAlgorithmSpec: InteractiveSubmissionSigningAlgorithmSpec;
|
|
101
|
+
};
|
|
102
|
+
type InteractiveSubmissionSinglePartySignatures = Omit<LedgerSchemas['SinglePartySignatures'], 'signatures'> & {
|
|
103
|
+
signatures: InteractiveSubmissionNonEmptyArray<InteractiveSubmissionSignature>;
|
|
104
|
+
};
|
|
105
|
+
type InteractiveSubmissionPartySignatures = Omit<LedgerSchemas['PartySignatures'], 'signatures'> & {
|
|
106
|
+
signatures: InteractiveSubmissionNonEmptyArray<InteractiveSubmissionSinglePartySignatures>;
|
|
107
|
+
};
|
|
108
|
+
type WithExactInteractiveSubmissionRequest<Request extends {
|
|
109
|
+
partySignatures: unknown;
|
|
110
|
+
}> = Omit<Request, 'deduplicationPeriod' | 'hashingSchemeVersion' | 'minLedgerTime' | 'partySignatures'> & {
|
|
111
|
+
deduplicationPeriod?: InteractiveSubmissionDeduplicationPeriod;
|
|
112
|
+
hashingSchemeVersion: InteractiveSubmissionHashingSchemeVersion;
|
|
113
|
+
minLedgerTime?: InteractiveSubmissionMinLedgerTime;
|
|
114
|
+
partySignatures: InteractiveSubmissionPartySignatures;
|
|
115
|
+
};
|
|
116
|
+
export type InteractiveSubmissionExecuteRequest = WithExactInteractiveSubmissionRequest<GeneratedInteractiveSubmissionExecuteRequest>;
|
|
117
|
+
export type InteractiveSubmissionExecuteAndWaitRequest = WithExactInteractiveSubmissionRequest<GeneratedInteractiveSubmissionExecuteAndWaitRequest>;
|
|
118
|
+
export type InteractiveSubmissionExecuteAndWaitForTransactionRequest = Omit<WithExactInteractiveSubmissionRequest<GeneratedInteractiveSubmissionExecuteAndWaitForTransactionRequest>, 'transactionFormat'> & {
|
|
119
|
+
transactionFormat?: InteractiveSubmissionTransactionFormat;
|
|
120
|
+
};
|
|
121
|
+
/** Canton protobuf Any details carry decoded JSON, despite the generated OpenAPI declaring a string. */
|
|
122
|
+
export type InteractiveSubmissionProtoAny = Omit<LedgerSchemas['ProtoAny'], 'valueDecoded'> & {
|
|
123
|
+
valueDecoded?: InteractiveSubmissionJsonValue;
|
|
124
|
+
};
|
|
125
|
+
type InteractiveSubmissionStatus = Omit<LedgerSchemas['JsStatus'], 'details'> & {
|
|
126
|
+
details?: InteractiveSubmissionProtoAny[];
|
|
127
|
+
};
|
|
128
|
+
type InteractiveSubmissionInterfaceView = Omit<LedgerSchemas['JsInterfaceView'], 'viewStatus' | 'viewValue'> & {
|
|
129
|
+
viewStatus: InteractiveSubmissionStatus;
|
|
130
|
+
viewValue?: InteractiveSubmissionJsonValue;
|
|
131
|
+
};
|
|
132
|
+
type InteractiveSubmissionCreatedEvent = Omit<LedgerSchemas['CreatedEvent'], 'contractKey' | 'createArgument' | 'interfaceViews'> & {
|
|
133
|
+
contractKey?: InteractiveSubmissionNonNullJsonValue;
|
|
134
|
+
createArgument: InteractiveSubmissionJsonValue;
|
|
135
|
+
interfaceViews?: InteractiveSubmissionInterfaceView[];
|
|
136
|
+
};
|
|
137
|
+
type InteractiveSubmissionExercisedEvent = Omit<LedgerSchemas['ExercisedEvent'], 'choiceArgument' | 'exerciseResult'> & {
|
|
138
|
+
choiceArgument: InteractiveSubmissionJsonValue;
|
|
139
|
+
exerciseResult?: InteractiveSubmissionJsonValue;
|
|
140
|
+
};
|
|
141
|
+
type GeneratedInteractiveSubmissionEvent = LedgerSchemas['Event'];
|
|
142
|
+
type InteractiveSubmissionEventVariants = Extract<GeneratedInteractiveSubmissionEvent, {
|
|
143
|
+
ArchivedEvent: unknown;
|
|
144
|
+
}> | {
|
|
145
|
+
CreatedEvent: InteractiveSubmissionCreatedEvent;
|
|
146
|
+
} | {
|
|
147
|
+
ExercisedEvent: InteractiveSubmissionExercisedEvent;
|
|
148
|
+
};
|
|
149
|
+
export type InteractiveSubmissionEvent = ExactOneOf<InteractiveSubmissionEventVariants>;
|
|
150
|
+
/** Normalized Ledger trace context; protobuf option nulls are exposed as omitted properties. */
|
|
151
|
+
export type InteractiveSubmissionTraceContext = Omit<LedgerSchemas['TraceContext'], 'traceparent' | 'tracestate'> & {
|
|
152
|
+
traceparent?: string;
|
|
153
|
+
tracestate?: string;
|
|
154
|
+
};
|
|
155
|
+
/** Raw 32-byte Daml-LF SHA-256 transaction hash encoded as 64 lowercase hex characters. */
|
|
156
|
+
export type InteractiveSubmissionExternalTransactionHashHex = Brand<string, 'InteractiveSubmissionExternalTransactionHashHex'>;
|
|
157
|
+
export type InteractiveSubmissionTransaction = Omit<LedgerSchemas['JsTransaction'], 'events' | 'externalTransactionHash' | 'traceContext'> & {
|
|
158
|
+
events: InteractiveSubmissionEvent[];
|
|
159
|
+
traceContext?: InteractiveSubmissionTraceContext;
|
|
160
|
+
externalTransactionHash?: InteractiveSubmissionExternalTransactionHashHex;
|
|
161
|
+
};
|
|
162
|
+
export type InteractiveSubmissionExecuteAndWaitForTransactionResponse = Omit<GeneratedInteractiveSubmissionExecuteAndWaitForTransactionResponse, 'transaction'> & {
|
|
163
|
+
transaction: InteractiveSubmissionTransaction;
|
|
164
|
+
};
|
|
165
|
+
/** Exact interactive-submission prepare request from the pinned Ledger OpenAPI. */
|
|
166
|
+
export declare const InteractiveSubmissionPrepareRequestSchema: z.ZodType<InteractiveSubmissionPrepareRequest, unknown, z.core.$ZodTypeInternals<InteractiveSubmissionPrepareRequest, unknown>>;
|
|
450
167
|
/** Traffic cost estimation for a prepared transaction. */
|
|
451
|
-
export declare const CostEstimationSchema: z.
|
|
452
|
-
estimationTimestamp:
|
|
453
|
-
confirmationRequestTrafficCostEstimation:
|
|
454
|
-
confirmationResponseTrafficCostEstimation:
|
|
455
|
-
totalTrafficCostEstimation:
|
|
456
|
-
}, z.core.$
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
duration: z.ZodString;
|
|
485
|
-
}, z.core.$strip>;
|
|
486
|
-
}, z.core.$strip>;
|
|
487
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
488
|
-
DeduplicationOffset: z.ZodObject<{
|
|
489
|
-
value: z.ZodObject<{
|
|
490
|
-
offset: z.ZodString;
|
|
491
|
-
}, z.core.$strip>;
|
|
492
|
-
}, z.core.$strip>;
|
|
493
|
-
}, z.core.$strip>]>>;
|
|
494
|
-
partySignatures: z.ZodObject<{
|
|
495
|
-
signatures: z.ZodArray<z.ZodObject<{
|
|
496
|
-
party: z.ZodString;
|
|
497
|
-
signatures: z.ZodArray<z.ZodObject<{
|
|
498
|
-
signature: z.ZodString;
|
|
499
|
-
signedBy: z.ZodString;
|
|
500
|
-
format: z.ZodString;
|
|
501
|
-
signingAlgorithmSpec: z.ZodString;
|
|
502
|
-
}, z.core.$strip>>;
|
|
503
|
-
}, z.core.$strip>>;
|
|
504
|
-
}, z.core.$strip>;
|
|
505
|
-
}, z.core.$strip>;
|
|
506
|
-
/** Interactive submission execute response. */
|
|
507
|
-
export declare const InteractiveSubmissionExecuteResponseSchema: z.ZodObject<{}, z.core.$strip>;
|
|
508
|
-
export type InteractiveSubmissionAllocatePartyRequest = z.infer<typeof InteractiveSubmissionAllocatePartyRequestSchema>;
|
|
509
|
-
export type InteractiveSubmissionAllocatePartyResponse = z.infer<typeof InteractiveSubmissionAllocatePartyResponseSchema>;
|
|
510
|
-
export type InteractiveSubmissionCreateUserRequest = z.infer<typeof InteractiveSubmissionCreateUserRequestSchema>;
|
|
511
|
-
export type InteractiveSubmissionCreateUserResponse = z.infer<typeof InteractiveSubmissionCreateUserResponseSchema>;
|
|
512
|
-
export type InteractiveSubmissionUploadDarRequest = z.infer<typeof InteractiveSubmissionUploadDarRequestSchema>;
|
|
513
|
-
export type InteractiveSubmissionUploadDarResponse = z.infer<typeof InteractiveSubmissionUploadDarResponseSchema>;
|
|
514
|
-
export type InteractiveSubmissionPrepareRequest = z.infer<typeof InteractiveSubmissionPrepareRequestSchema>;
|
|
515
|
-
export type InteractiveSubmissionPrepareResponse = z.infer<typeof InteractiveSubmissionPrepareResponseSchema>;
|
|
516
|
-
export type InteractiveSubmissionExecuteRequest = z.infer<typeof InteractiveSubmissionExecuteRequestSchema>;
|
|
517
|
-
export type InteractiveSubmissionExecuteResponse = z.infer<typeof InteractiveSubmissionExecuteResponseSchema>;
|
|
518
|
-
export type CostEstimation = z.infer<typeof CostEstimationSchema>;
|
|
168
|
+
export declare const CostEstimationSchema: z.ZodType<{
|
|
169
|
+
estimationTimestamp: string;
|
|
170
|
+
confirmationRequestTrafficCostEstimation: number;
|
|
171
|
+
confirmationResponseTrafficCostEstimation: number;
|
|
172
|
+
totalTrafficCostEstimation: number;
|
|
173
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
174
|
+
estimationTimestamp: string;
|
|
175
|
+
confirmationRequestTrafficCostEstimation: number;
|
|
176
|
+
confirmationResponseTrafficCostEstimation: number;
|
|
177
|
+
totalTrafficCostEstimation: number;
|
|
178
|
+
}, unknown>>;
|
|
179
|
+
/** Exact interactive-submission prepare response from the pinned Ledger OpenAPI. */
|
|
180
|
+
export declare const InteractiveSubmissionPrepareResponseSchema: z.ZodType<InteractiveSubmissionPrepareResponse, unknown, z.core.$ZodTypeInternals<InteractiveSubmissionPrepareResponse, unknown>>;
|
|
181
|
+
/** Execute a prepared and signed interactive submission. */
|
|
182
|
+
export declare const InteractiveSubmissionExecuteRequestSchema: z.ZodType<InteractiveSubmissionExecuteRequest, unknown, z.core.$ZodTypeInternals<InteractiveSubmissionExecuteRequest, unknown>>;
|
|
183
|
+
/** Execute a prepared submission and wait for its completion. */
|
|
184
|
+
export declare const InteractiveSubmissionExecuteAndWaitRequestSchema: z.ZodType<InteractiveSubmissionExecuteAndWaitRequest, unknown, z.core.$ZodTypeInternals<InteractiveSubmissionExecuteAndWaitRequest, unknown>>;
|
|
185
|
+
/** Execute a prepared submission and wait for the resulting transaction. */
|
|
186
|
+
export declare const InteractiveSubmissionExecuteAndWaitForTransactionRequestSchema: z.ZodType<InteractiveSubmissionExecuteAndWaitForTransactionRequest, unknown, z.core.$ZodTypeInternals<InteractiveSubmissionExecuteAndWaitForTransactionRequest, unknown>>;
|
|
187
|
+
/** Exact response for asynchronous execute. */
|
|
188
|
+
export declare const InteractiveSubmissionExecuteResponseSchema: z.ZodType<Record<string, never>, unknown, z.core.$ZodTypeInternals<Record<string, never>, unknown>>;
|
|
189
|
+
/** Exact response for execute-and-wait. */
|
|
190
|
+
export declare const InteractiveSubmissionExecuteAndWaitResponseSchema: z.ZodType<{
|
|
191
|
+
updateId: string;
|
|
192
|
+
completionOffset: number;
|
|
193
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
194
|
+
updateId: string;
|
|
195
|
+
completionOffset: number;
|
|
196
|
+
}, unknown>>;
|
|
197
|
+
/** Exact response for execute-and-wait-for-transaction. */
|
|
198
|
+
export declare const InteractiveSubmissionExecuteAndWaitForTransactionResponseSchema: z.ZodType<InteractiveSubmissionExecuteAndWaitForTransactionResponse, unknown, z.core.$ZodTypeInternals<InteractiveSubmissionExecuteAndWaitForTransactionResponse, unknown>>;
|
|
199
|
+
export type CostEstimation = LedgerSchemas['CostEstimation'];
|
|
200
|
+
export {};
|
|
519
201
|
//# sourceMappingURL=interactive-submission.d.ts.map
|