@fairmint/canton-node-sdk 0.0.43 → 0.0.45
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/README.md +33 -0
- package/build/src/clients/ledger-json-api/LedgerJsonApiClient.d.ts +5 -5
- package/build/src/clients/ledger-json-api/LedgerJsonApiClient.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/LedgerJsonApiClient.js.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts +1 -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 +5 -5
- 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 +2 -2
- 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-transaction-tree.d.ts +6 -6
- 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 +4 -4
- 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 +5 -5
- 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 +3 -3
- 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/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 +1 -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/get.d.ts +2 -2
- package/build/src/clients/ledger-json-api/operations/v2/parties/get.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/update-party-details.d.ts +2 -2
- 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-active-contracts.d.ts +2 -2
- package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/state/get-connected-synchronizers.d.ts +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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/users/create-user.d.ts +4 -4
- 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 +1 -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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +1 -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 +2 -2
- package/build/src/clients/ledger-json-api/operations/v2/users/update-user.d.ts.map +1 -1
- package/build/src/clients/validator-api/ValidatorApiClient.d.ts +38 -17
- package/build/src/clients/validator-api/ValidatorApiClient.d.ts.map +1 -1
- package/build/src/clients/validator-api/ValidatorApiClient.js +23 -1
- package/build/src/clients/validator-api/ValidatorApiClient.js.map +1 -1
- package/build/src/clients/validator-api/operations/index.d.ts +1 -0
- package/build/src/clients/validator-api/operations/index.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/index.js +1 -0
- package/build/src/clients/validator-api/operations/index.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/create-user.d.ts +3 -2
- 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/create-user.js +5 -2
- package/build/src/clients/validator-api/operations/v0/admin/create-user.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/admin/get-external-party-balance.d.ts +2 -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/get-external-party-balance.js +6 -3
- package/build/src/clients/validator-api/operations/v0/admin/get-external-party-balance.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/create-entry.d.ts +6 -5
- 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/create-entry.js +8 -3
- package/build/src/clients/validator-api/operations/v0/ans/create-entry.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/get-rules.d.ts +11 -6
- 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/get-rules.js +16 -7
- package/build/src/clients/validator-api/operations/v0/ans/get-rules.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/list-entries-proxy.d.ts +4 -7
- package/build/src/clients/validator-api/operations/v0/ans/list-entries-proxy.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/list-entries-proxy.js +6 -9
- package/build/src/clients/validator-api/operations/v0/ans/list-entries-proxy.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/lookup-by-name.d.ts +3 -2
- 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-name.js +6 -3
- package/build/src/clients/validator-api/operations/v0/ans/lookup-by-name.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/ans/lookup-by-party.d.ts +3 -2
- 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/ans/lookup-by-party.js +6 -3
- package/build/src/clients/validator-api/operations/v0/ans/lookup-by-party.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/register.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/register.js +1 -1
- package/build/src/clients/validator-api/operations/v0/register.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-amulet-rules.d.ts +1 -4
- 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-amulet-rules.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-amulet-rules.js.map +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-dso-party-id.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-party-id.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-member-traffic-status.d.ts +33 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-member-traffic-status.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-member-traffic-status.js +25 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-member-traffic-status.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/index.d.ts +2 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/index.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/index.js +2 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/index.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/index.d.ts +2 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/index.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/index.js +18 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/index.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts +50 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.js +32 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/index.d.ts +2 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/index.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/index.js +18 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/index.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/index.d.ts +2 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/index.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/index.js +18 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/index.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts +50 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.js +35 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts +50 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.js +35 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts +50 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.js +35 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/index.d.ts +4 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/index.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/index.js +20 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/index.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/index.d.ts +5 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/index.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/index.js +21 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/index.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/index.d.ts +2 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/index.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/index.js +18 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/index.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts +47 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.js +24 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.d.ts +33 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.js +22 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.d.ts +4 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.js +20 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts +49 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.js +37 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/index.d.ts +2 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/index.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/index.js +18 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/index.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts +51 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.js +30 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts +48 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.js +30 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts +48 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.js +30 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts +48 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.js +30 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/index.d.ts +5 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/index.d.ts.map +1 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/index.js +21 -0
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/index.js.map +1 -0
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/get-amulets.d.ts +2 -2
- 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-amulets.js +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/get-amulets.js.map +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-balance.js +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/get-balance.js.map +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/get-user-status.js +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/get-user-status.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/create.d.ts +6 -7
- 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/create.js +8 -2
- package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/create.js.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/token-standard/transfers/list.js +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/list.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/create.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts +2 -2
- package/build/src/clients/validator-api/schemas/api/index.d.ts +0 -1
- package/build/src/clients/validator-api/schemas/api/index.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/api/index.js +0 -2
- package/build/src/clients/validator-api/schemas/api/index.js.map +1 -1
- package/build/src/clients/validator-api/schemas/api/scan-proxy.d.ts +781 -0
- package/build/src/clients/validator-api/schemas/api/scan-proxy.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/api/scan-proxy.js +60 -1
- package/build/src/clients/validator-api/schemas/api/scan-proxy.js.map +1 -1
- package/build/src/clients/validator-api/schemas/api/wallet.d.ts +8 -129
- package/build/src/clients/validator-api/schemas/api/wallet.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/api/wallet.js +1 -41
- package/build/src/clients/validator-api/schemas/api/wallet.js.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/index.d.ts +0 -1
- package/build/src/clients/validator-api/schemas/operations/index.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/index.js +0 -2
- package/build/src/clients/validator-api/schemas/operations/index.js.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.d.ts +120 -0
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.js +47 -1
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.js.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/wallet.d.ts +2 -46
- package/build/src/clients/validator-api/schemas/operations/wallet.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/wallet.js +1 -12
- package/build/src/clients/validator-api/schemas/operations/wallet.js.map +1 -1
- package/build/src/generated/token-standard/splice-api-token-allocation-instruction-v1/openapi/allocation-instruction-v1.d.ts +153 -0
- package/build/src/generated/token-standard/splice-api-token-allocation-instruction-v1/openapi/allocation-instruction-v1.d.ts.map +1 -0
- package/build/src/generated/token-standard/splice-api-token-allocation-instruction-v1/openapi/allocation-instruction-v1.js +7 -0
- package/build/src/generated/token-standard/splice-api-token-allocation-instruction-v1/openapi/allocation-instruction-v1.js.map +1 -0
- package/build/src/generated/token-standard/splice-api-token-allocation-v1/openapi/allocation-v1.d.ts +232 -0
- package/build/src/generated/token-standard/splice-api-token-allocation-v1/openapi/allocation-v1.d.ts.map +1 -0
- package/build/src/generated/{openapi-types.js → token-standard/splice-api-token-allocation-v1/openapi/allocation-v1.js} +1 -1
- package/build/src/generated/token-standard/splice-api-token-allocation-v1/openapi/allocation-v1.js.map +1 -0
- package/build/src/generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1.d.ts +233 -0
- package/build/src/generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1.d.ts.map +1 -0
- package/build/src/generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1.js +7 -0
- package/build/src/generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1.js.map +1 -0
- package/build/src/generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1.d.ts +315 -0
- package/build/src/generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1.d.ts.map +1 -0
- package/build/src/generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1.js +7 -0
- package/build/src/generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1.js.map +1 -0
- package/build/src/utils/amulet/pre-approve-transfers.js +2 -2
- package/build/src/utils/amulet/pre-approve-transfers.js.map +1 -1
- package/build/src/utils/amulet/transfer-to-preapproved.js +1 -1
- package/build/src/utils/amulet/transfer-to-preapproved.js.map +1 -1
- package/package.json +8 -7
- package/build/src/clients/validator-api/schemas/api/admin.d.ts +0 -61
- package/build/src/clients/validator-api/schemas/api/admin.d.ts.map +0 -1
- package/build/src/clients/validator-api/schemas/api/admin.js +0 -28
- package/build/src/clients/validator-api/schemas/api/admin.js.map +0 -1
- package/build/src/clients/validator-api/schemas/operations/admin.d.ts +0 -21
- package/build/src/clients/validator-api/schemas/operations/admin.d.ts.map +0 -1
- package/build/src/clients/validator-api/schemas/operations/admin.js +0 -11
- package/build/src/clients/validator-api/schemas/operations/admin.js.map +0 -1
- package/build/src/generated/openapi-types.d.ts +0 -5271
- package/build/src/generated/openapi-types.d.ts.map +0 -1
- package/build/src/generated/openapi-types.js.map +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetInstrument = exports.GetInstrumentParamsSchema = void 0;
|
|
4
|
+
const core_1 = require("../../../../../../../../core");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const apiPath = '/registry/metadata/v1/instruments/{instrumentId}';
|
|
7
|
+
const endpoint = '/api/validator/v0/scan-proxy/registry/metadata/v1/instruments';
|
|
8
|
+
exports.GetInstrumentParamsSchema = zod_1.z.object({
|
|
9
|
+
instrumentId: zod_1.z.string(),
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* @description Retrieve an instrument's metadata
|
|
13
|
+
* @example
|
|
14
|
+
* ```typescript
|
|
15
|
+
* const instrument = await client.getInstrument({ instrumentId: 'instrument123' });
|
|
16
|
+
* console.log(`Instrument: ${instrument.name} (${instrument.symbol})`);
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
exports.GetInstrument = (0, core_1.createApiOperation)({
|
|
20
|
+
paramsSchema: exports.GetInstrumentParamsSchema,
|
|
21
|
+
method: 'GET',
|
|
22
|
+
buildUrl: (params, apiUrl) => `${apiUrl}${endpoint}/${params.instrumentId}`,
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=get-instrument.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-instrument.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.ts"],"names":[],"mappings":";;;AAAA,uDAAkE;AAClE,6BAAwB;AAGxB,MAAM,OAAO,GAAG,kDAAkD,CAAC;AACnE,MAAM,QAAQ,GAAG,+DAA+D,CAAC;AAEpE,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC;AAKH;;;;;;;GAOG;AACU,QAAA,aAAa,GAAG,IAAA,yBAAkB,EAG7C;IACA,YAAY,EAAE,iCAAyB;IACvC,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,CAAC,MAA2B,EAAE,MAAc,EAAE,EAAE,CAAC,GAAG,MAAM,GAAG,QAAQ,IAAI,MAAM,CAAC,YAAY,EAAE;CACzG,CAAC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { paths } from '../../../../../../../../generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1';
|
|
3
|
+
declare const apiPath = "/registry/metadata/v1/info";
|
|
4
|
+
export type GetRegistryInfoResponse = paths[typeof apiPath]['get']['responses']['200']['content']['application/json'];
|
|
5
|
+
/**
|
|
6
|
+
* @description Get information about the registry including supported standards
|
|
7
|
+
* @example
|
|
8
|
+
* ```typescript
|
|
9
|
+
* const info = await client.getRegistryInfo();
|
|
10
|
+
* console.log(`Admin ID: ${info.adminId}`);
|
|
11
|
+
* console.log(`Supported APIs: ${Object.keys(info.supportedApis)}`);
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare const GetRegistryInfo: {
|
|
15
|
+
new (client: import("../../../../../../../../core").BaseClient): {
|
|
16
|
+
execute(params: void): Promise<{
|
|
17
|
+
adminId: string;
|
|
18
|
+
supportedApis: import("../../../../../../../../generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1").components["schemas"]["SupportedApis"];
|
|
19
|
+
}>;
|
|
20
|
+
client: import("../../../../../../../../core").BaseClient;
|
|
21
|
+
validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
|
|
22
|
+
makeGetRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
23
|
+
makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
24
|
+
makeDeleteRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
25
|
+
makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
26
|
+
getManagedParties(): string[];
|
|
27
|
+
getPartyId(): string | undefined;
|
|
28
|
+
getApiUrl(): string;
|
|
29
|
+
buildPartyList(additionalParties?: string[]): string[];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=get-registry-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-registry-info.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yGAAyG,CAAC;AAErI,QAAA,MAAM,OAAO,+BAA+B,CAAC;AAG7C,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AAEtH;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;;;;2BAOymC,uIAAsB;;;;;;;;;;;;;CAAzpC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetRegistryInfo = void 0;
|
|
4
|
+
const core_1 = require("../../../../../../../../core");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const apiPath = '/registry/metadata/v1/info';
|
|
7
|
+
const endpoint = '/api/validator/v0/scan-proxy/registry/metadata/v1/info';
|
|
8
|
+
/**
|
|
9
|
+
* @description Get information about the registry including supported standards
|
|
10
|
+
* @example
|
|
11
|
+
* ```typescript
|
|
12
|
+
* const info = await client.getRegistryInfo();
|
|
13
|
+
* console.log(`Admin ID: ${info.adminId}`);
|
|
14
|
+
* console.log(`Supported APIs: ${Object.keys(info.supportedApis)}`);
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
exports.GetRegistryInfo = (0, core_1.createApiOperation)({
|
|
18
|
+
paramsSchema: zod_1.z.void(),
|
|
19
|
+
method: 'GET',
|
|
20
|
+
buildUrl: (_params, apiUrl) => `${apiUrl}${endpoint}`,
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=get-registry-info.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-registry-info.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.ts"],"names":[],"mappings":";;;AAAA,uDAAkE;AAClE,6BAAwB;AAGxB,MAAM,OAAO,GAAG,4BAA4B,CAAC;AAC7C,MAAM,QAAQ,GAAG,wDAAwD,CAAC;AAI1E;;;;;;;;GAQG;AACU,QAAA,eAAe,GAAG,IAAA,yBAAkB,EAG/C;IACA,YAAY,EAAE,OAAC,CAAC,IAAI,EAAE;IACtB,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,CAAC,OAAa,EAAE,MAAc,EAAE,EAAE,CAAC,GAAG,MAAM,GAAG,QAAQ,EAAE;CACpE,CAAC,CAAC"}
|
package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
|
package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./get-registry-info"), exports);
|
|
18
|
+
__exportStar(require("./list-instruments"), exports);
|
|
19
|
+
__exportStar(require("./get-instrument"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,qDAAmC;AACnC,mDAAiC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { paths } from '../../../../../../../../generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1';
|
|
3
|
+
declare const apiPath = "/registry/metadata/v1/instruments";
|
|
4
|
+
export declare const ListInstrumentsParamsSchema: z.ZodObject<{
|
|
5
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
pageSize?: number | undefined;
|
|
9
|
+
pageToken?: string | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
pageSize?: number | undefined;
|
|
12
|
+
pageToken?: string | undefined;
|
|
13
|
+
}>;
|
|
14
|
+
export type ListInstrumentsParams = z.infer<typeof ListInstrumentsParamsSchema>;
|
|
15
|
+
export type ListInstrumentsResponse = paths[typeof apiPath]['get']['responses']['200']['content']['application/json'];
|
|
16
|
+
/**
|
|
17
|
+
* @description List all instruments managed by this instrument admin
|
|
18
|
+
* @example
|
|
19
|
+
* ```typescript
|
|
20
|
+
* const instruments = await client.listInstruments({
|
|
21
|
+
* pageSize: 25,
|
|
22
|
+
* pageToken: 'next-page-token'
|
|
23
|
+
* });
|
|
24
|
+
* console.log(`Found ${instruments.instruments.length} instruments`);
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare const ListInstruments: {
|
|
28
|
+
new (client: import("../../../../../../../../core").BaseClient): {
|
|
29
|
+
execute(params: {
|
|
30
|
+
pageSize?: number | undefined;
|
|
31
|
+
pageToken?: string | undefined;
|
|
32
|
+
}): Promise<{
|
|
33
|
+
instruments: import("../../../../../../../../generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1").components["schemas"]["Instrument"][];
|
|
34
|
+
nextPageToken?: string;
|
|
35
|
+
}>;
|
|
36
|
+
client: import("../../../../../../../../core").BaseClient;
|
|
37
|
+
validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
|
|
38
|
+
makeGetRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
39
|
+
makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
40
|
+
makeDeleteRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
41
|
+
makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
42
|
+
getManagedParties(): string[];
|
|
43
|
+
getPartyId(): string | undefined;
|
|
44
|
+
getApiUrl(): string;
|
|
45
|
+
buildPartyList(additionalParties?: string[]): string[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=list-instruments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-instruments.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yGAAyG,CAAC;AAErI,QAAA,MAAM,OAAO,sCAAsC,CAAC;AAGpD,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AAEtH;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe;;;;;;yBAgBysE,uIAAsB;;;;;;;;;;;;;;CAAzvE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListInstruments = exports.ListInstrumentsParamsSchema = void 0;
|
|
4
|
+
const core_1 = require("../../../../../../../../core");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const apiPath = '/registry/metadata/v1/instruments';
|
|
7
|
+
const endpoint = '/api/validator/v0/scan-proxy/registry/metadata/v1/instruments';
|
|
8
|
+
exports.ListInstrumentsParamsSchema = zod_1.z.object({
|
|
9
|
+
pageSize: zod_1.z.number().optional(),
|
|
10
|
+
pageToken: zod_1.z.string().optional(),
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* @description List all instruments managed by this instrument admin
|
|
14
|
+
* @example
|
|
15
|
+
* ```typescript
|
|
16
|
+
* const instruments = await client.listInstruments({
|
|
17
|
+
* pageSize: 25,
|
|
18
|
+
* pageToken: 'next-page-token'
|
|
19
|
+
* });
|
|
20
|
+
* console.log(`Found ${instruments.instruments.length} instruments`);
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
exports.ListInstruments = (0, core_1.createApiOperation)({
|
|
24
|
+
paramsSchema: exports.ListInstrumentsParamsSchema,
|
|
25
|
+
method: 'GET',
|
|
26
|
+
buildUrl: (params, apiUrl) => {
|
|
27
|
+
const url = new URL(`${apiUrl}${endpoint}`);
|
|
28
|
+
if (params.pageSize !== undefined) {
|
|
29
|
+
url.searchParams.set('pageSize', params.pageSize.toString());
|
|
30
|
+
}
|
|
31
|
+
if (params.pageToken !== undefined) {
|
|
32
|
+
url.searchParams.set('pageToken', params.pageToken);
|
|
33
|
+
}
|
|
34
|
+
return url.toString();
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=list-instruments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-instruments.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.ts"],"names":[],"mappings":";;;AAAA,uDAAkE;AAClE,6BAAwB;AAGxB,MAAM,OAAO,GAAG,mCAAmC,CAAC;AACpD,MAAM,QAAQ,GAAG,+DAA+D,CAAC;AAEpE,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAKH;;;;;;;;;;GAUG;AACU,QAAA,eAAe,GAAG,IAAA,yBAAkB,EAG/C;IACA,YAAY,EAAE,mCAA2B;IACzC,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,CAAC,MAA6B,EAAE,MAAc,EAAE,EAAE;QAC1D,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,MAAM,GAAG,QAAQ,EAAE,CAAC,CAAC;QAC5C,IAAI,MAAM,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YAClC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC/D,CAAC;QACD,IAAI,MAAM,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;YACnC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,WAAW,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC;QACtD,CAAC;QACD,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;IACxB,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./v1"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAqB"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { paths, components } from '../../../../../../../../generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1';
|
|
3
|
+
declare const apiPath = "/registry/transfer-instruction/v1/transfer-factory";
|
|
4
|
+
export declare const GetTransferFactoryParamsSchema: z.ZodObject<{
|
|
5
|
+
choiceArguments: z.ZodRecord<z.ZodString, z.ZodNever>;
|
|
6
|
+
excludeDebugFields: z.ZodBoolean;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
choiceArguments: Record<string, never>;
|
|
9
|
+
excludeDebugFields: boolean;
|
|
10
|
+
}, {
|
|
11
|
+
choiceArguments: Record<string, never>;
|
|
12
|
+
excludeDebugFields: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
export type GetTransferFactoryParams = components['schemas']['GetFactoryRequest'];
|
|
15
|
+
export type GetTransferFactoryRequest = paths[typeof apiPath]['post']['requestBody']['content']['application/json'];
|
|
16
|
+
export type GetTransferFactoryResponse = paths[typeof apiPath]['post']['responses']['200']['content']['application/json'];
|
|
17
|
+
/**
|
|
18
|
+
* @description Get the factory and choice context for executing a direct transfer
|
|
19
|
+
* @example
|
|
20
|
+
* ```typescript
|
|
21
|
+
* const factory = await client.getTransferFactory({
|
|
22
|
+
* choiceArguments: { /* choice arguments *\/ },
|
|
23
|
+
* excludeDebugFields: false
|
|
24
|
+
* });
|
|
25
|
+
* console.log(`Factory ID: ${factory.factoryId}`);
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare const GetTransferFactory: {
|
|
29
|
+
new (client: import("../../../../../../../../core").BaseClient): {
|
|
30
|
+
execute(params: {
|
|
31
|
+
choiceArguments: Record<string, never>;
|
|
32
|
+
excludeDebugFields: boolean;
|
|
33
|
+
}): Promise<{
|
|
34
|
+
factoryId: string;
|
|
35
|
+
transferKind: "self" | "direct" | "offer";
|
|
36
|
+
choiceContext: components["schemas"]["ChoiceContext"];
|
|
37
|
+
}>;
|
|
38
|
+
client: import("../../../../../../../../core").BaseClient;
|
|
39
|
+
validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
|
|
40
|
+
makeGetRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
41
|
+
makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
42
|
+
makeDeleteRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
43
|
+
makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
44
|
+
getManagedParties(): string[];
|
|
45
|
+
getPartyId(): string | undefined;
|
|
46
|
+
getApiUrl(): string;
|
|
47
|
+
buildPartyList(additionalParties?: string[]): string[];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export {};
|
|
51
|
+
//# sourceMappingURL=get-transfer-factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-transfer-factory.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,2HAA2H,CAAC;AAEnK,QAAA,MAAM,OAAO,uDAAuD,CAAC;AAIrE,eAAO,MAAM,8BAA8B;;;;;;;;;EAGzC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,mBAAmB,CAAC,CAAC;AAClF,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AACpH,MAAM,MAAM,0BAA0B,GAAG,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AAE1H;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;2BASk9G,qBAAsB;;;;;;;;;;;;;CAArgH,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetTransferFactory = exports.GetTransferFactoryParamsSchema = void 0;
|
|
4
|
+
const core_1 = require("../../../../../../../../core");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const apiPath = '/registry/transfer-instruction/v1/transfer-factory';
|
|
7
|
+
const endpoint = '/api/validator/v0/scan-proxy/registry/transfer-instruction/v1/transfer-factory';
|
|
8
|
+
// Simple schema that matches the generated type exactly
|
|
9
|
+
exports.GetTransferFactoryParamsSchema = zod_1.z.object({
|
|
10
|
+
choiceArguments: zod_1.z.record(zod_1.z.never()),
|
|
11
|
+
excludeDebugFields: zod_1.z.boolean(),
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* @description Get the factory and choice context for executing a direct transfer
|
|
15
|
+
* @example
|
|
16
|
+
* ```typescript
|
|
17
|
+
* const factory = await client.getTransferFactory({
|
|
18
|
+
* choiceArguments: { /* choice arguments *\/ },
|
|
19
|
+
* excludeDebugFields: false
|
|
20
|
+
* });
|
|
21
|
+
* console.log(`Factory ID: ${factory.factoryId}`);
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
exports.GetTransferFactory = (0, core_1.createApiOperation)({
|
|
25
|
+
paramsSchema: exports.GetTransferFactoryParamsSchema,
|
|
26
|
+
method: 'POST',
|
|
27
|
+
buildUrl: (_params, apiUrl) => `${apiUrl}${endpoint}`,
|
|
28
|
+
buildRequestData: (params) => params,
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=get-transfer-factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-transfer-factory.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.ts"],"names":[],"mappings":";;;AAAA,uDAAkE;AAClE,6BAAwB;AAGxB,MAAM,OAAO,GAAG,oDAAoD,CAAC;AACrE,MAAM,QAAQ,GAAG,gFAAgF,CAAC;AAElG,wDAAwD;AAC3C,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,eAAe,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,KAAK,EAAE,CAAC;IACpC,kBAAkB,EAAE,OAAC,CAAC,OAAO,EAAE;CAChC,CAAC,CAAC;AAMH;;;;;;;;;;GAUG;AACU,QAAA,kBAAkB,GAAG,IAAA,yBAAkB,EAGlD;IACA,YAAY,EAAE,sCAA8B;IAC5C,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,CAAC,OAAiC,EAAE,MAAc,EAAE,EAAE,CAC9D,GAAG,MAAM,GAAG,QAAQ,EAAE;IACxB,gBAAgB,EAAE,CAAC,MAAgC,EAA6B,EAAE,CAAC,MAAM;CAC1F,CAAC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { components } from '../../../../../../../../generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1';
|
|
3
|
+
export declare const GetTransferInstructionAcceptContextParamsSchema: z.ZodObject<{
|
|
4
|
+
transferInstructionId: z.ZodString;
|
|
5
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
transferInstructionId: string;
|
|
8
|
+
meta?: Record<string, string> | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
transferInstructionId: string;
|
|
11
|
+
meta?: Record<string, string> | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
export type GetTransferInstructionAcceptContextParams = z.infer<typeof GetTransferInstructionAcceptContextParamsSchema>;
|
|
14
|
+
export type GetTransferInstructionAcceptContextRequest = components['schemas']['GetChoiceContextRequest'];
|
|
15
|
+
export type GetTransferInstructionAcceptContextResponse = components['schemas']['ChoiceContext'];
|
|
16
|
+
/**
|
|
17
|
+
* @description Get the choice context to accept a transfer instruction
|
|
18
|
+
* @example
|
|
19
|
+
* ```typescript
|
|
20
|
+
* const context = await client.getTransferInstructionAcceptContext({
|
|
21
|
+
* transferInstructionId: 'contract-id-here',
|
|
22
|
+
* meta: { key: 'value' }
|
|
23
|
+
* });
|
|
24
|
+
* console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare const GetTransferInstructionAcceptContext: {
|
|
28
|
+
new (client: import("../../../../../../../../core").BaseClient): {
|
|
29
|
+
execute(params: {
|
|
30
|
+
transferInstructionId: string;
|
|
31
|
+
meta?: Record<string, string> | undefined;
|
|
32
|
+
}): Promise<{
|
|
33
|
+
choiceContextData: Record<string, never>;
|
|
34
|
+
disclosedContracts: components["schemas"]["DisclosedContract"][];
|
|
35
|
+
}>;
|
|
36
|
+
client: import("../../../../../../../../core").BaseClient;
|
|
37
|
+
validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
|
|
38
|
+
makeGetRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
39
|
+
makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
40
|
+
makeDeleteRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
41
|
+
makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
42
|
+
getManagedParties(): string[];
|
|
43
|
+
getPartyId(): string | undefined;
|
|
44
|
+
getApiUrl(): string;
|
|
45
|
+
buildPartyList(additionalParties?: string[]): string[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=get-transfer-instruction-accept-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-transfer-instruction-accept-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2HAA2H,CAAC;AAG5J,eAAO,MAAM,+CAA+C;;;;;;;;;EAG1D,CAAC;AAEH,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+CAA+C,CAAC,CAAC;AACxH,MAAM,MAAM,0CAA0C,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC,CAAC;AAC1G,MAAM,MAAM,2CAA2C,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,eAAe,CAAC,CAAC;AAEjG;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mCAAmC;;;;;;;gCAWmiI,qBAAsB;;;;;;;;;;;;;CAAvmI,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetTransferInstructionAcceptContext = exports.GetTransferInstructionAcceptContextParamsSchema = void 0;
|
|
4
|
+
const core_1 = require("../../../../../../../../core");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
// Schema for path parameters
|
|
7
|
+
exports.GetTransferInstructionAcceptContextParamsSchema = zod_1.z.object({
|
|
8
|
+
transferInstructionId: zod_1.z.string(),
|
|
9
|
+
meta: zod_1.z.record(zod_1.z.string()).optional(),
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* @description Get the choice context to accept a transfer instruction
|
|
13
|
+
* @example
|
|
14
|
+
* ```typescript
|
|
15
|
+
* const context = await client.getTransferInstructionAcceptContext({
|
|
16
|
+
* transferInstructionId: 'contract-id-here',
|
|
17
|
+
* meta: { key: 'value' }
|
|
18
|
+
* });
|
|
19
|
+
* console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
exports.GetTransferInstructionAcceptContext = (0, core_1.createApiOperation)({
|
|
23
|
+
paramsSchema: exports.GetTransferInstructionAcceptContextParamsSchema,
|
|
24
|
+
method: 'POST',
|
|
25
|
+
buildUrl: (params, apiUrl) => `${apiUrl}/api/validator/v0/scan-proxy/registry/transfer-instruction/v1/${params.transferInstructionId}/choice-contexts/accept`,
|
|
26
|
+
buildRequestData: (params) => ({
|
|
27
|
+
...(params.meta && { meta: params.meta }),
|
|
28
|
+
}),
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=get-transfer-instruction-accept-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-transfer-instruction-accept-context.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.ts"],"names":[],"mappings":";;;AAAA,uDAAkE;AAClE,6BAAwB;AAGxB,6BAA6B;AAChB,QAAA,+CAA+C,GAAG,OAAC,CAAC,MAAM,CAAC;IACtE,qBAAqB,EAAE,OAAC,CAAC,MAAM,EAAE;IACjC,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAMH;;;;;;;;;;GAUG;AACU,QAAA,mCAAmC,GAAG,IAAA,yBAAkB,EAGnE;IACA,YAAY,EAAE,uDAA+C;IAC7D,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,CAAC,MAAiD,EAAE,MAAc,EAAE,EAAE,CAC9E,GAAG,MAAM,iEAAiE,MAAM,CAAC,qBAAqB,yBAAyB;IACjI,gBAAgB,EAAE,CAAC,MAAiD,EAA8C,EAAE,CAAC,CAAC;QACpH,GAAG,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;KAC1C,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { components } from '../../../../../../../../generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1';
|
|
3
|
+
export declare const GetTransferInstructionRejectContextParamsSchema: z.ZodObject<{
|
|
4
|
+
transferInstructionId: z.ZodString;
|
|
5
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
transferInstructionId: string;
|
|
8
|
+
meta?: Record<string, string> | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
transferInstructionId: string;
|
|
11
|
+
meta?: Record<string, string> | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
export type GetTransferInstructionRejectContextParams = z.infer<typeof GetTransferInstructionRejectContextParamsSchema>;
|
|
14
|
+
export type GetTransferInstructionRejectContextRequest = components['schemas']['GetChoiceContextRequest'];
|
|
15
|
+
export type GetTransferInstructionRejectContextResponse = components['schemas']['ChoiceContext'];
|
|
16
|
+
/**
|
|
17
|
+
* @description Get the choice context to reject a transfer instruction
|
|
18
|
+
* @example
|
|
19
|
+
* ```typescript
|
|
20
|
+
* const context = await client.getTransferInstructionRejectContext({
|
|
21
|
+
* transferInstructionId: 'contract-id-here',
|
|
22
|
+
* meta: { key: 'value' }
|
|
23
|
+
* });
|
|
24
|
+
* console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare const GetTransferInstructionRejectContext: {
|
|
28
|
+
new (client: import("../../../../../../../../core").BaseClient): {
|
|
29
|
+
execute(params: {
|
|
30
|
+
transferInstructionId: string;
|
|
31
|
+
meta?: Record<string, string> | undefined;
|
|
32
|
+
}): Promise<{
|
|
33
|
+
choiceContextData: Record<string, never>;
|
|
34
|
+
disclosedContracts: components["schemas"]["DisclosedContract"][];
|
|
35
|
+
}>;
|
|
36
|
+
client: import("../../../../../../../../core").BaseClient;
|
|
37
|
+
validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
|
|
38
|
+
makeGetRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
39
|
+
makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
40
|
+
makeDeleteRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
41
|
+
makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
42
|
+
getManagedParties(): string[];
|
|
43
|
+
getPartyId(): string | undefined;
|
|
44
|
+
getApiUrl(): string;
|
|
45
|
+
buildPartyList(additionalParties?: string[]): string[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=get-transfer-instruction-reject-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-transfer-instruction-reject-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2HAA2H,CAAC;AAG5J,eAAO,MAAM,+CAA+C;;;;;;;;;EAG1D,CAAC;AAEH,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+CAA+C,CAAC,CAAC;AACxH,MAAM,MAAM,0CAA0C,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC,CAAC;AAC1G,MAAM,MAAM,2CAA2C,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,eAAe,CAAC,CAAC;AAEjG;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mCAAmC;;;;;;;gCAWmiI,qBAAsB;;;;;;;;;;;;;CAAvmI,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetTransferInstructionRejectContext = exports.GetTransferInstructionRejectContextParamsSchema = void 0;
|
|
4
|
+
const core_1 = require("../../../../../../../../core");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
// Schema for path parameters
|
|
7
|
+
exports.GetTransferInstructionRejectContextParamsSchema = zod_1.z.object({
|
|
8
|
+
transferInstructionId: zod_1.z.string(),
|
|
9
|
+
meta: zod_1.z.record(zod_1.z.string()).optional(),
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* @description Get the choice context to reject a transfer instruction
|
|
13
|
+
* @example
|
|
14
|
+
* ```typescript
|
|
15
|
+
* const context = await client.getTransferInstructionRejectContext({
|
|
16
|
+
* transferInstructionId: 'contract-id-here',
|
|
17
|
+
* meta: { key: 'value' }
|
|
18
|
+
* });
|
|
19
|
+
* console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
exports.GetTransferInstructionRejectContext = (0, core_1.createApiOperation)({
|
|
23
|
+
paramsSchema: exports.GetTransferInstructionRejectContextParamsSchema,
|
|
24
|
+
method: 'POST',
|
|
25
|
+
buildUrl: (params, apiUrl) => `${apiUrl}/api/validator/v0/scan-proxy/registry/transfer-instruction/v1/${params.transferInstructionId}/choice-contexts/reject`,
|
|
26
|
+
buildRequestData: (params) => ({
|
|
27
|
+
...(params.meta && { meta: params.meta }),
|
|
28
|
+
}),
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=get-transfer-instruction-reject-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-transfer-instruction-reject-context.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.ts"],"names":[],"mappings":";;;AAAA,uDAAkE;AAClE,6BAAwB;AAGxB,6BAA6B;AAChB,QAAA,+CAA+C,GAAG,OAAC,CAAC,MAAM,CAAC;IACtE,qBAAqB,EAAE,OAAC,CAAC,MAAM,EAAE;IACjC,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAMH;;;;;;;;;;GAUG;AACU,QAAA,mCAAmC,GAAG,IAAA,yBAAkB,EAGnE;IACA,YAAY,EAAE,uDAA+C;IAC7D,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,CAAC,MAAiD,EAAE,MAAc,EAAE,EAAE,CAC9E,GAAG,MAAM,iEAAiE,MAAM,CAAC,qBAAqB,yBAAyB;IACjI,gBAAgB,EAAE,CAAC,MAAiD,EAA8C,EAAE,CAAC,CAAC;QACpH,GAAG,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;KAC1C,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { components } from '../../../../../../../../generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1';
|
|
3
|
+
export declare const GetTransferInstructionWithdrawContextParamsSchema: z.ZodObject<{
|
|
4
|
+
transferInstructionId: z.ZodString;
|
|
5
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
transferInstructionId: string;
|
|
8
|
+
meta?: Record<string, string> | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
transferInstructionId: string;
|
|
11
|
+
meta?: Record<string, string> | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
export type GetTransferInstructionWithdrawContextParams = z.infer<typeof GetTransferInstructionWithdrawContextParamsSchema>;
|
|
14
|
+
export type GetTransferInstructionWithdrawContextRequest = components['schemas']['GetChoiceContextRequest'];
|
|
15
|
+
export type GetTransferInstructionWithdrawContextResponse = components['schemas']['ChoiceContext'];
|
|
16
|
+
/**
|
|
17
|
+
* @description Get the choice context to withdraw a transfer instruction
|
|
18
|
+
* @example
|
|
19
|
+
* ```typescript
|
|
20
|
+
* const context = await client.getTransferInstructionWithdrawContext({
|
|
21
|
+
* transferInstructionId: 'contract-id-here',
|
|
22
|
+
* meta: { key: 'value' }
|
|
23
|
+
* });
|
|
24
|
+
* console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare const GetTransferInstructionWithdrawContext: {
|
|
28
|
+
new (client: import("../../../../../../../../core").BaseClient): {
|
|
29
|
+
execute(params: {
|
|
30
|
+
transferInstructionId: string;
|
|
31
|
+
meta?: Record<string, string> | undefined;
|
|
32
|
+
}): Promise<{
|
|
33
|
+
choiceContextData: Record<string, never>;
|
|
34
|
+
disclosedContracts: components["schemas"]["DisclosedContract"][];
|
|
35
|
+
}>;
|
|
36
|
+
client: import("../../../../../../../../core").BaseClient;
|
|
37
|
+
validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
|
|
38
|
+
makeGetRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
39
|
+
makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
40
|
+
makeDeleteRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
41
|
+
makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
|
|
42
|
+
getManagedParties(): string[];
|
|
43
|
+
getPartyId(): string | undefined;
|
|
44
|
+
getApiUrl(): string;
|
|
45
|
+
buildPartyList(additionalParties?: string[]): string[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=get-transfer-instruction-withdraw-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-transfer-instruction-withdraw-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2HAA2H,CAAC;AAG5J,eAAO,MAAM,iDAAiD;;;;;;;;;EAG5D,CAAC;AAEH,MAAM,MAAM,2CAA2C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iDAAiD,CAAC,CAAC;AAC5H,MAAM,MAAM,4CAA4C,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC,CAAC;AAC5G,MAAM,MAAM,6CAA6C,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,eAAe,CAAC,CAAC;AAEnG;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qCAAqC;;;;;;;gCAWmgI,qBAAsB;;;;;;;;;;;;;CAAzkI,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetTransferInstructionWithdrawContext = exports.GetTransferInstructionWithdrawContextParamsSchema = void 0;
|
|
4
|
+
const core_1 = require("../../../../../../../../core");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
// Schema for path parameters
|
|
7
|
+
exports.GetTransferInstructionWithdrawContextParamsSchema = zod_1.z.object({
|
|
8
|
+
transferInstructionId: zod_1.z.string(),
|
|
9
|
+
meta: zod_1.z.record(zod_1.z.string()).optional(),
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* @description Get the choice context to withdraw a transfer instruction
|
|
13
|
+
* @example
|
|
14
|
+
* ```typescript
|
|
15
|
+
* const context = await client.getTransferInstructionWithdrawContext({
|
|
16
|
+
* transferInstructionId: 'contract-id-here',
|
|
17
|
+
* meta: { key: 'value' }
|
|
18
|
+
* });
|
|
19
|
+
* console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
exports.GetTransferInstructionWithdrawContext = (0, core_1.createApiOperation)({
|
|
23
|
+
paramsSchema: exports.GetTransferInstructionWithdrawContextParamsSchema,
|
|
24
|
+
method: 'POST',
|
|
25
|
+
buildUrl: (params, apiUrl) => `${apiUrl}/api/validator/v0/scan-proxy/registry/transfer-instruction/v1/${params.transferInstructionId}/choice-contexts/withdraw`,
|
|
26
|
+
buildRequestData: (params) => ({
|
|
27
|
+
...(params.meta && { meta: params.meta }),
|
|
28
|
+
}),
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=get-transfer-instruction-withdraw-context.js.map
|