@fairmint/canton-node-sdk 0.0.241 → 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.
Files changed (369) hide show
  1. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.d.ts +6 -9
  2. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.d.ts.map +1 -1
  3. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.js +6 -8
  4. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.js.map +1 -1
  5. package/build/src/clients/ledger-json-api/operations/v2/authenticated-user/get.d.ts +1 -1
  6. package/build/src/clients/ledger-json-api/operations/v2/authenticated-user/get.d.ts.map +1 -1
  7. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts +26 -1
  8. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts.map +1 -1
  9. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit.d.ts +248 -1
  10. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit.d.ts.map +1 -1
  11. package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts +7 -1
  12. package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts.map +1 -1
  13. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts +86 -1
  14. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts.map +1 -1
  15. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts +248 -1
  16. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts.map +1 -1
  17. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts +310 -1
  18. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts.map +1 -1
  19. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait.d.ts +253 -6
  20. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait.d.ts.map +1 -1
  21. package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts +4 -1
  22. package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts.map +1 -1
  23. package/build/src/clients/ledger-json-api/operations/v2/idps/delete-idp.d.ts +3 -1
  24. package/build/src/clients/ledger-json-api/operations/v2/idps/delete-idp.d.ts.map +1 -1
  25. package/build/src/clients/ledger-json-api/operations/v2/idps/get-idp.d.ts +3 -1
  26. package/build/src/clients/ledger-json-api/operations/v2/idps/get-idp.d.ts.map +1 -1
  27. package/build/src/clients/ledger-json-api/operations/v2/idps/get.d.ts +1 -1
  28. package/build/src/clients/ledger-json-api/operations/v2/idps/get.d.ts.map +1 -1
  29. package/build/src/clients/ledger-json-api/operations/v2/idps/patch-idp.d.ts +12 -1
  30. package/build/src/clients/ledger-json-api/operations/v2/idps/patch-idp.d.ts.map +1 -1
  31. package/build/src/clients/ledger-json-api/operations/v2/idps/post.d.ts +9 -1
  32. package/build/src/clients/ledger-json-api/operations/v2/idps/post.d.ts.map +1 -1
  33. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait-for-transaction.d.ts +4 -0
  34. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait-for-transaction.d.ts.map +1 -0
  35. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait-for-transaction.js +18 -0
  36. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait-for-transaction.js.map +1 -0
  37. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait.d.ts +7 -0
  38. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait.d.ts.map +1 -0
  39. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait.js +18 -0
  40. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute-and-wait.js.map +1 -0
  41. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute.d.ts +2 -32
  42. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute.d.ts.map +1 -1
  43. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute.js +6 -1
  44. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/execute.js.map +1 -1
  45. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.d.ts +10 -3
  46. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.d.ts.map +1 -1
  47. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.js +2 -0
  48. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.js.map +1 -1
  49. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.d.ts +8 -1
  50. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.d.ts.map +1 -1
  51. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.js +3 -5
  52. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.js.map +1 -1
  53. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.d.ts +2 -3
  54. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.d.ts.map +1 -1
  55. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.js +2 -3
  56. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.js.map +1 -1
  57. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/prepare.d.ts +2 -225
  58. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/prepare.d.ts.map +1 -1
  59. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/prepare.js +15 -1
  60. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/prepare.js.map +1 -1
  61. package/build/src/clients/ledger-json-api/operations/v2/packages/get-package-status.d.ts +3 -1
  62. package/build/src/clients/ledger-json-api/operations/v2/packages/get-package-status.d.ts.map +1 -1
  63. package/build/src/clients/ledger-json-api/operations/v2/packages/get.d.ts +1 -1
  64. package/build/src/clients/ledger-json-api/operations/v2/packages/get.d.ts.map +1 -1
  65. package/build/src/clients/ledger-json-api/operations/v2/packages/post.d.ts +6 -1
  66. package/build/src/clients/ledger-json-api/operations/v2/packages/post.d.ts.map +1 -1
  67. package/build/src/clients/ledger-json-api/operations/v2/parties/external/allocate-external-party.d.ts +21 -1
  68. package/build/src/clients/ledger-json-api/operations/v2/parties/external/allocate-external-party.d.ts.map +1 -1
  69. package/build/src/clients/ledger-json-api/operations/v2/parties/external/generate-topology.d.ts +13 -1
  70. package/build/src/clients/ledger-json-api/operations/v2/parties/external/generate-topology.d.ts.map +1 -1
  71. package/build/src/clients/ledger-json-api/operations/v2/parties/get-participant-id.d.ts +1 -1
  72. package/build/src/clients/ledger-json-api/operations/v2/parties/get-participant-id.d.ts.map +1 -1
  73. package/build/src/clients/ledger-json-api/operations/v2/parties/get-party-details.d.ts +5 -1
  74. package/build/src/clients/ledger-json-api/operations/v2/parties/get-party-details.d.ts.map +1 -1
  75. package/build/src/clients/ledger-json-api/operations/v2/parties/post.d.ts +10 -1
  76. package/build/src/clients/ledger-json-api/operations/v2/parties/post.d.ts.map +1 -1
  77. package/build/src/clients/ledger-json-api/operations/v2/parties/update-party-details.d.ts +15 -1
  78. package/build/src/clients/ledger-json-api/operations/v2/parties/update-party-details.d.ts.map +1 -1
  79. package/build/src/clients/ledger-json-api/operations/v2/state/get-connected-synchronizers.d.ts +4 -1
  80. package/build/src/clients/ledger-json-api/operations/v2/state/get-connected-synchronizers.d.ts.map +1 -1
  81. package/build/src/clients/ledger-json-api/operations/v2/state/get-latest-pruned-offsets.d.ts +1 -1
  82. package/build/src/clients/ledger-json-api/operations/v2/state/get-latest-pruned-offsets.d.ts.map +1 -1
  83. package/build/src/clients/ledger-json-api/operations/v2/state/get-ledger-end.d.ts +1 -1
  84. package/build/src/clients/ledger-json-api/operations/v2/state/get-ledger-end.d.ts.map +1 -1
  85. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-id.d.ts +65 -1
  86. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-id.d.ts.map +1 -1
  87. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-offset.d.ts +65 -1
  88. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-offset.d.ts.map +1 -1
  89. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts +5 -1
  90. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts.map +1 -1
  91. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts +5 -1
  92. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts.map +1 -1
  93. package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-id.d.ts +1 -1
  94. package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-id.d.ts.map +1 -1
  95. package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-offset.d.ts +131 -1
  96. package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-offset.d.ts.map +1 -1
  97. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.d.ts +4 -0
  98. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.d.ts.map +1 -1
  99. package/build/src/clients/ledger-json-api/operations/v2/users/create-user.d.ts +30 -1
  100. package/build/src/clients/ledger-json-api/operations/v2/users/create-user.d.ts.map +1 -1
  101. package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts +3 -1
  102. package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts.map +1 -1
  103. package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts +3 -1
  104. package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts.map +1 -1
  105. package/build/src/clients/ledger-json-api/operations/v2/users/grant-user-rights.d.ts +44 -1
  106. package/build/src/clients/ledger-json-api/operations/v2/users/grant-user-rights.d.ts.map +1 -1
  107. package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts +3 -1
  108. package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts.map +1 -1
  109. package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts +4 -1
  110. package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts.map +1 -1
  111. package/build/src/clients/ledger-json-api/operations/v2/users/revoke-user-rights.d.ts +44 -1
  112. package/build/src/clients/ledger-json-api/operations/v2/users/revoke-user-rights.d.ts.map +1 -1
  113. package/build/src/clients/ledger-json-api/operations/v2/users/update-user-identity-provider.d.ts +5 -1
  114. package/build/src/clients/ledger-json-api/operations/v2/users/update-user-identity-provider.d.ts.map +1 -1
  115. package/build/src/clients/ledger-json-api/operations/v2/users/update-user.d.ts +15 -1
  116. package/build/src/clients/ledger-json-api/operations/v2/users/update-user.d.ts.map +1 -1
  117. package/build/src/clients/ledger-json-api/operations/v2/version/get.d.ts +1 -1
  118. package/build/src/clients/ledger-json-api/operations/v2/version/get.d.ts.map +1 -1
  119. package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts +1 -0
  120. package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts.map +1 -1
  121. package/build/src/clients/ledger-json-api/schemas/api/events.d.ts +4 -0
  122. package/build/src/clients/ledger-json-api/schemas/api/events.d.ts.map +1 -1
  123. package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.d.ts +198 -516
  124. package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.d.ts.map +1 -1
  125. package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.js +426 -199
  126. package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.js.map +1 -1
  127. package/build/src/clients/ledger-json-api/schemas/api/interface-view.d.ts +1 -0
  128. package/build/src/clients/ledger-json-api/schemas/api/interface-view.d.ts.map +1 -1
  129. package/build/src/clients/ledger-json-api/schemas/api/interface-view.js +3 -4
  130. package/build/src/clients/ledger-json-api/schemas/api/interface-view.js.map +1 -1
  131. package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts +34 -14
  132. package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts.map +1 -1
  133. package/build/src/clients/ledger-json-api/schemas/api/packages.js +24 -19
  134. package/build/src/clients/ledger-json-api/schemas/api/packages.js.map +1 -1
  135. package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts +4 -0
  136. package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts.map +1 -1
  137. package/build/src/clients/ledger-json-api/schemas/api/state.d.ts +8 -0
  138. package/build/src/clients/ledger-json-api/schemas/api/state.d.ts.map +1 -1
  139. package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts +4 -0
  140. package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts.map +1 -1
  141. package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts +24 -0
  142. package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts.map +1 -1
  143. package/build/src/clients/ledger-json-api/schemas/index.d.ts +1 -0
  144. package/build/src/clients/ledger-json-api/schemas/index.d.ts.map +1 -1
  145. package/build/src/clients/ledger-json-api/schemas/index.js +2 -0
  146. package/build/src/clients/ledger-json-api/schemas/index.js.map +1 -1
  147. package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts +5 -50
  148. package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts.map +1 -1
  149. package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.js +16 -66
  150. package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.js.map +1 -1
  151. package/build/src/clients/ledger-json-api/schemas/wire.d.ts +14 -0
  152. package/build/src/clients/ledger-json-api/schemas/wire.d.ts.map +1 -0
  153. package/build/src/clients/ledger-json-api/schemas/wire.js +49 -0
  154. package/build/src/clients/ledger-json-api/schemas/wire.js.map +1 -0
  155. package/build/src/clients/scan-api/ScanApiClient.generated.d.ts +4 -0
  156. package/build/src/clients/scan-api/ScanApiClient.generated.d.ts.map +1 -1
  157. package/build/src/clients/scan-api/ScanApiClient.generated.js +2 -0
  158. package/build/src/clients/scan-api/ScanApiClient.generated.js.map +1 -1
  159. package/build/src/clients/scan-api/operations/v0/registry/allocation/index.d.ts +2 -0
  160. package/build/src/clients/scan-api/operations/v0/registry/allocation/index.d.ts.map +1 -0
  161. package/build/src/clients/scan-api/operations/v0/registry/allocation/index.js +18 -0
  162. package/build/src/clients/scan-api/operations/v0/registry/allocation/index.js.map +1 -0
  163. package/build/src/clients/scan-api/operations/v0/registry/allocation/v2/get-settlement-factory-from-registry.d.ts +141 -0
  164. package/build/src/clients/scan-api/operations/v0/registry/allocation/v2/get-settlement-factory-from-registry.d.ts.map +1 -0
  165. package/build/src/clients/scan-api/operations/v0/registry/allocation/v2/get-settlement-factory-from-registry.js +52 -0
  166. package/build/src/clients/scan-api/operations/v0/registry/allocation/v2/get-settlement-factory-from-registry.js.map +1 -0
  167. package/build/src/clients/scan-api/operations/v0/registry/allocation/v2/index.d.ts +2 -0
  168. package/build/src/clients/scan-api/operations/v0/registry/allocation/v2/index.d.ts.map +1 -0
  169. package/build/src/clients/scan-api/operations/v0/registry/allocation/v2/index.js +18 -0
  170. package/build/src/clients/scan-api/operations/v0/registry/allocation/v2/index.js.map +1 -0
  171. package/build/src/clients/scan-api/operations/v0/registry/allocation-instruction/v1/get-allocation-factory-from-registry.d.ts +29 -1
  172. package/build/src/clients/scan-api/operations/v0/registry/allocation-instruction/v1/get-allocation-factory-from-registry.d.ts.map +1 -1
  173. package/build/src/clients/scan-api/operations/v0/registry/allocation-instruction/v2/get-allocation-factory-v2-from-registry.d.ts +29 -1
  174. package/build/src/clients/scan-api/operations/v0/registry/allocation-instruction/v2/get-allocation-factory-v2-from-registry.d.ts.map +1 -1
  175. package/build/src/clients/scan-api/operations/v0/registry/index.d.ts +1 -0
  176. package/build/src/clients/scan-api/operations/v0/registry/index.d.ts.map +1 -1
  177. package/build/src/clients/scan-api/operations/v0/registry/index.js +1 -0
  178. package/build/src/clients/scan-api/operations/v0/registry/index.js.map +1 -1
  179. package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/get-instrument.d.ts +3 -1
  180. package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/get-instrument.d.ts.map +1 -1
  181. package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/get-registry-info.d.ts +1 -1
  182. package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/get-registry-info.d.ts.map +1 -1
  183. package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/list-instruments.d.ts +4 -1
  184. package/build/src/clients/scan-api/operations/v0/registry/metadata/v1/list-instruments.d.ts.map +1 -1
  185. package/build/src/clients/scan-api/operations/v0/scan.d.ts +214 -57
  186. package/build/src/clients/scan-api/operations/v0/scan.d.ts.map +1 -1
  187. package/build/src/clients/validator-api/operations/v0/admin/create-external-party-setup-proposal.d.ts +3 -1
  188. package/build/src/clients/validator-api/operations/v0/admin/create-external-party-setup-proposal.d.ts.map +1 -1
  189. package/build/src/clients/validator-api/operations/v0/admin/create-user.d.ts +5 -1
  190. package/build/src/clients/validator-api/operations/v0/admin/create-user.d.ts.map +1 -1
  191. package/build/src/clients/validator-api/operations/v0/admin/dump-participant-identities.d.ts +1 -1
  192. package/build/src/clients/validator-api/operations/v0/admin/dump-participant-identities.d.ts.map +1 -1
  193. package/build/src/clients/validator-api/operations/v0/admin/generate-external-party-topology.d.ts +4 -1
  194. package/build/src/clients/validator-api/operations/v0/admin/generate-external-party-topology.d.ts.map +1 -1
  195. package/build/src/clients/validator-api/operations/v0/admin/get-decentralized-synchronizer-connection-config.d.ts +1 -1
  196. package/build/src/clients/validator-api/operations/v0/admin/get-decentralized-synchronizer-connection-config.d.ts.map +1 -1
  197. package/build/src/clients/validator-api/operations/v0/admin/get-external-party-balance.d.ts +3 -1
  198. package/build/src/clients/validator-api/operations/v0/admin/get-external-party-balance.d.ts.map +1 -1
  199. package/build/src/clients/validator-api/operations/v0/admin/list-external-party-setup-proposals.d.ts +1 -1
  200. package/build/src/clients/validator-api/operations/v0/admin/list-external-party-setup-proposals.d.ts.map +1 -1
  201. package/build/src/clients/validator-api/operations/v0/admin/list-users.d.ts +1 -1
  202. package/build/src/clients/validator-api/operations/v0/admin/list-users.d.ts.map +1 -1
  203. package/build/src/clients/validator-api/operations/v0/admin/prepare-accept-external-party-setup-proposal.d.ts +5 -1
  204. package/build/src/clients/validator-api/operations/v0/admin/prepare-accept-external-party-setup-proposal.d.ts.map +1 -1
  205. package/build/src/clients/validator-api/operations/v0/admin/prepare-transfer-preapproval-send.d.ts +9 -1
  206. package/build/src/clients/validator-api/operations/v0/admin/prepare-transfer-preapproval-send.d.ts.map +1 -1
  207. package/build/src/clients/validator-api/operations/v0/admin/submit-accept-external-party-setup-proposal.d.ts +3 -1
  208. package/build/src/clients/validator-api/operations/v0/admin/submit-accept-external-party-setup-proposal.d.ts.map +1 -1
  209. package/build/src/clients/validator-api/operations/v0/admin/submit-external-party-topology.d.ts +4 -1
  210. package/build/src/clients/validator-api/operations/v0/admin/submit-external-party-topology.d.ts.map +1 -1
  211. package/build/src/clients/validator-api/operations/v0/admin/submit-transfer-preapproval-send.d.ts +3 -1
  212. package/build/src/clients/validator-api/operations/v0/admin/submit-transfer-preapproval-send.d.ts.map +1 -1
  213. package/build/src/clients/validator-api/operations/v0/ans/create-entry.d.ts +5 -1
  214. package/build/src/clients/validator-api/operations/v0/ans/create-entry.d.ts.map +1 -1
  215. package/build/src/clients/validator-api/operations/v0/ans/get-rules.d.ts +4 -1
  216. package/build/src/clients/validator-api/operations/v0/ans/get-rules.d.ts.map +1 -1
  217. package/build/src/clients/validator-api/operations/v0/ans/list-owned-entries.d.ts +1 -1
  218. package/build/src/clients/validator-api/operations/v0/ans/list-owned-entries.d.ts.map +1 -1
  219. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-name.d.ts +3 -1
  220. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-name.d.ts.map +1 -1
  221. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-party.d.ts +3 -1
  222. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-party.d.ts.map +1 -1
  223. package/build/src/clients/validator-api/operations/v0/get-validator-user-info.d.ts +1 -1
  224. package/build/src/clients/validator-api/operations/v0/get-validator-user-info.d.ts.map +1 -1
  225. package/build/src/clients/validator-api/operations/v0/health.d.ts +2 -2
  226. package/build/src/clients/validator-api/operations/v0/health.d.ts.map +1 -1
  227. package/build/src/clients/validator-api/operations/v0/register.d.ts +1 -1
  228. package/build/src/clients/validator-api/operations/v0/register.d.ts.map +1 -1
  229. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-amulet-rules.d.ts +1 -1
  230. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-amulet-rules.d.ts.map +1 -1
  231. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-info.d.ts +1 -1
  232. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-info.d.ts.map +1 -1
  233. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-party-id.d.ts +1 -1
  234. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-party-id.d.ts.map +1 -1
  235. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-holdings-summary-at-v1.d.ts +1 -1
  236. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-holdings-summary-at-v1.d.ts.map +1 -1
  237. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-mining-round-details.d.ts +3 -1
  238. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-mining-round-details.d.ts.map +1 -1
  239. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-open-and-issuing-mining-rounds.d.ts +1 -1
  240. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-open-and-issuing-mining-rounds.d.ts.map +1 -1
  241. package/build/src/clients/validator-api/operations/v0/scan-proxy/list-ans-entries.d.ts +4 -1
  242. package/build/src/clients/validator-api/operations/v0/scan-proxy/list-ans-entries.d.ts.map +1 -1
  243. package/build/src/clients/validator-api/operations/v0/scan-proxy/list-unclaimed-development-fund-coupons.d.ts +1 -1
  244. package/build/src/clients/validator-api/operations/v0/scan-proxy/list-unclaimed-development-fund-coupons.d.ts.map +1 -1
  245. package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-featured-app-right.d.ts +3 -1
  246. package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-featured-app-right.d.ts.map +1 -1
  247. package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-command-counter-by-party.d.ts +3 -1
  248. package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-command-counter-by-party.d.ts.map +1 -1
  249. package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-command-status.d.ts +4 -1
  250. package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-command-status.d.ts.map +1 -1
  251. package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-preapproval-by-party.d.ts +3 -1
  252. package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-preapproval-by-party.d.ts.map +1 -1
  253. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts +28 -1
  254. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts.map +1 -1
  255. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts +5 -1
  256. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts.map +1 -1
  257. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts +5 -1
  258. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts.map +1 -1
  259. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts +5 -1
  260. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts.map +1 -1
  261. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts +3 -1
  262. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts.map +1 -1
  263. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.d.ts +1 -1
  264. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.d.ts.map +1 -1
  265. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts +4 -1
  266. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts.map +1 -1
  267. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts +28 -1
  268. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts.map +1 -1
  269. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts +5 -1
  270. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts.map +1 -1
  271. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts +5 -1
  272. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts.map +1 -1
  273. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts +5 -1
  274. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts.map +1 -1
  275. package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/create.d.ts +4 -1
  276. package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/create.d.ts.map +1 -1
  277. package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts +3 -1
  278. package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts.map +1 -1
  279. package/build/src/clients/validator-api/operations/v0/wallet/get-amulets.d.ts +1 -1
  280. package/build/src/clients/validator-api/operations/v0/wallet/get-amulets.d.ts.map +1 -1
  281. package/build/src/clients/validator-api/operations/v0/wallet/get-balance.d.ts +1 -1
  282. package/build/src/clients/validator-api/operations/v0/wallet/get-balance.d.ts.map +1 -1
  283. package/build/src/clients/validator-api/operations/v0/wallet/get-user-status.d.ts +1 -1
  284. package/build/src/clients/validator-api/operations/v0/wallet/get-user-status.d.ts.map +1 -1
  285. package/build/src/clients/validator-api/operations/v0/wallet/list-transactions.d.ts +4 -1
  286. package/build/src/clients/validator-api/operations/v0/wallet/list-transactions.d.ts.map +1 -1
  287. package/build/src/clients/validator-api/operations/v0/wallet/tap.d.ts +4 -1
  288. package/build/src/clients/validator-api/operations/v0/wallet/tap.d.ts.map +1 -1
  289. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/create.d.ts +7 -1
  290. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/create.d.ts.map +1 -1
  291. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/list.d.ts +1 -1
  292. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/list.d.ts.map +1 -1
  293. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/accept.d.ts +3 -1
  294. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/accept.d.ts.map +1 -1
  295. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/create.d.ts +7 -1
  296. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/create.d.ts.map +1 -1
  297. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts +3 -1
  298. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts.map +1 -1
  299. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/list.d.ts +1 -1
  300. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/list.d.ts.map +1 -1
  301. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/reject.d.ts +3 -1
  302. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/reject.d.ts.map +1 -1
  303. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/withdraw.d.ts +3 -1
  304. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/withdraw.d.ts.map +1 -1
  305. package/build/src/clients/validator-api/operations/v0/wallet/transfer-preapproval-send.d.ts +6 -1
  306. package/build/src/clients/validator-api/operations/v0/wallet/transfer-preapproval-send.d.ts.map +1 -1
  307. package/build/src/core/operations/ApiOperation.d.ts +3 -2
  308. package/build/src/core/operations/ApiOperation.d.ts.map +1 -1
  309. package/build/src/core/operations/ApiOperation.js +11 -0
  310. package/build/src/core/operations/ApiOperation.js.map +1 -1
  311. package/build/src/core/operations/ApiOperationFactory.d.ts +13 -1
  312. package/build/src/core/operations/ApiOperationFactory.d.ts.map +1 -1
  313. package/build/src/core/operations/ApiOperationFactory.js +34 -15
  314. package/build/src/core/operations/ApiOperationFactory.js.map +1 -1
  315. package/build/src/core/operations/operation-execute-options.d.ts +4 -0
  316. package/build/src/core/operations/operation-execute-options.d.ts.map +1 -1
  317. package/build/src/core/operations/operation-execute-options.js.map +1 -1
  318. package/build/src/utils/amulet/external-party-transfer-offer.d.ts +3 -3
  319. package/build/src/utils/amulet/external-party-transfer-offer.d.ts.map +1 -1
  320. package/build/src/utils/amulet/external-party-transfer-offer.js +1 -7
  321. package/build/src/utils/amulet/external-party-transfer-offer.js.map +1 -1
  322. package/build/src/utils/external-signing/execute-external-transaction.d.ts +23 -12
  323. package/build/src/utils/external-signing/execute-external-transaction.d.ts.map +1 -1
  324. package/build/src/utils/external-signing/execute-external-transaction.js +28 -16
  325. package/build/src/utils/external-signing/execute-external-transaction.js.map +1 -1
  326. package/build/src/utils/external-signing/external-party-wallet.d.ts +4 -3
  327. package/build/src/utils/external-signing/external-party-wallet.d.ts.map +1 -1
  328. package/build/src/utils/external-signing/external-party-wallet.js.map +1 -1
  329. package/build/src/utils/external-signing/external-signing-client.d.ts +3 -3
  330. package/build/src/utils/external-signing/external-signing-client.d.ts.map +1 -1
  331. package/build/src/utils/external-signing/external-signing-client.js +1 -1
  332. package/build/src/utils/external-signing/external-signing-client.js.map +1 -1
  333. package/build/src/utils/external-signing/prepare-external-transaction.d.ts +20 -13
  334. package/build/src/utils/external-signing/prepare-external-transaction.d.ts.map +1 -1
  335. package/build/src/utils/external-signing/prepare-external-transaction.js +15 -13
  336. package/build/src/utils/external-signing/prepare-external-transaction.js.map +1 -1
  337. package/build/src/utils/token-standard/v2/allocation-state.d.ts +104 -0
  338. package/build/src/utils/token-standard/v2/allocation-state.d.ts.map +1 -0
  339. package/build/src/utils/token-standard/v2/allocation-state.js +638 -0
  340. package/build/src/utils/token-standard/v2/allocation-state.js.map +1 -0
  341. package/build/src/utils/token-standard/v2/index.d.ts +2 -0
  342. package/build/src/utils/token-standard/v2/index.d.ts.map +1 -1
  343. package/build/src/utils/token-standard/v2/index.js +2 -0
  344. package/build/src/utils/token-standard/v2/index.js.map +1 -1
  345. package/build/src/utils/token-standard/v2/settlement-factory.d.ts +83 -0
  346. package/build/src/utils/token-standard/v2/settlement-factory.d.ts.map +1 -0
  347. package/build/src/utils/token-standard/v2/settlement-factory.js +383 -0
  348. package/build/src/utils/token-standard/v2/settlement-factory.js.map +1 -0
  349. package/build/src/utils/traffic/estimate-traffic-cost.d.ts +3 -0
  350. package/build/src/utils/traffic/estimate-traffic-cost.d.ts.map +1 -1
  351. package/build/src/utils/traffic/estimate-traffic-cost.js +8 -4
  352. package/build/src/utils/traffic/estimate-traffic-cost.js.map +1 -1
  353. package/build/src/utils/traffic/get-estimated-traffic-cost.js +1 -1
  354. package/build/src/utils/traffic/get-estimated-traffic-cost.js.map +1 -1
  355. package/build/src/utils/traffic/types.d.ts +1 -1
  356. package/build/src/utils/traffic/types.d.ts.map +1 -1
  357. package/package.json +1 -1
  358. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.d.ts +0 -25
  359. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.d.ts.map +0 -1
  360. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.js +0 -29
  361. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.js.map +0 -1
  362. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.d.ts +0 -62
  363. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.d.ts.map +0 -1
  364. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.js +0 -34
  365. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.js.map +0 -1
  366. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/upload-dar.d.ts +0 -15
  367. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/upload-dar.d.ts.map +0 -1
  368. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/upload-dar.js +0 -25
  369. 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
- /** Interactive submission allocate party request. */
3
- export declare const InteractiveSubmissionAllocatePartyRequestSchema: z.ZodObject<{
4
- partyIdHint: z.ZodOptional<z.ZodString>;
5
- displayName: z.ZodOptional<z.ZodString>;
6
- isLocal: z.ZodOptional<z.ZodBoolean>;
7
- }, z.core.$strip>;
8
- /** Interactive submission allocate party response. */
9
- export declare const InteractiveSubmissionAllocatePartyResponseSchema: z.ZodObject<{
10
- party: z.ZodObject<{
11
- party: z.ZodString;
12
- displayName: z.ZodOptional<z.ZodString>;
13
- isLocal: z.ZodBoolean;
14
- }, z.core.$strip>;
15
- }, z.core.$strip>;
16
- /** Interactive submission create user request. */
17
- export declare const InteractiveSubmissionCreateUserRequestSchema: z.ZodObject<{
18
- user: z.ZodObject<{
19
- id: z.ZodString;
20
- primaryParty: z.ZodOptional<z.ZodString>;
21
- isDeactivated: z.ZodBoolean;
22
- metadata: z.ZodOptional<z.ZodObject<{
23
- resourceVersion: z.ZodString;
24
- annotations: z.ZodRecord<z.ZodString, z.ZodString>;
25
- }, z.core.$strip>>;
26
- identityProviderId: z.ZodOptional<z.ZodString>;
27
- }, z.core.$strip>;
28
- rights: z.ZodOptional<z.ZodArray<z.ZodObject<{
29
- kind: z.ZodUnion<readonly [z.ZodObject<{
30
- CanActAs: z.ZodObject<{
31
- party: z.ZodString;
32
- }, z.core.$strip>;
33
- }, z.core.$strip>, z.ZodObject<{
34
- CanReadAs: z.ZodObject<{
35
- party: z.ZodString;
36
- }, z.core.$strip>;
37
- }, z.core.$strip>, z.ZodObject<{
38
- CanReadAsAnyParty: z.ZodObject<{}, z.core.$strip>;
39
- }, z.core.$strip>, z.ZodObject<{
40
- Empty: z.ZodObject<{}, z.core.$strip>;
41
- }, z.core.$strip>, z.ZodObject<{
42
- IdentityProviderAdmin: z.ZodObject<{}, z.core.$strip>;
43
- }, z.core.$strip>, z.ZodObject<{
44
- ParticipantAdmin: z.ZodObject<{}, z.core.$strip>;
45
- }, z.core.$strip>]>;
46
- }, z.core.$strip>>>;
47
- }, z.core.$strip>;
48
- /** Interactive submission create user response. */
49
- export declare const InteractiveSubmissionCreateUserResponseSchema: z.ZodObject<{
50
- user: z.ZodObject<{
51
- id: z.ZodString;
52
- primaryParty: z.ZodOptional<z.ZodString>;
53
- isDeactivated: z.ZodBoolean;
54
- metadata: z.ZodOptional<z.ZodObject<{
55
- resourceVersion: z.ZodString;
56
- annotations: z.ZodRecord<z.ZodString, z.ZodString>;
57
- }, z.core.$strip>>;
58
- identityProviderId: z.ZodOptional<z.ZodString>;
59
- }, z.core.$strip>;
60
- }, z.core.$strip>;
61
- /** Interactive submission upload DAR request. */
62
- export declare const InteractiveSubmissionUploadDarRequestSchema: z.ZodObject<{
63
- darFile: z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>;
64
- }, z.core.$strip>;
65
- /** Interactive submission upload DAR response. */
66
- export declare const InteractiveSubmissionUploadDarResponseSchema: z.ZodObject<{}, z.core.$strip>;
67
- /** Interactive submission prepare request. */
68
- export declare const InteractiveSubmissionPrepareRequestSchema: z.ZodObject<{
69
- commands: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
70
- CreateCommand: z.ZodObject<{
71
- templateId: z.ZodString;
72
- 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 | /*elided*/ any | {
73
- [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
74
- } | null)[] | {
75
- [key: string]: string | number | boolean | any | any | null;
76
- } | null)[] | {
77
- [key: string]: string | number | boolean | any | any | null;
78
- } | null)[] | {
79
- [key: string]: string | number | boolean | any | any | null;
80
- } | null)[] | {
81
- [key: string]: string | number | boolean | any | any | null;
82
- } | null)[] | {
83
- [key: string]: string | number | boolean | any | any | null;
84
- } | null)[] | {
85
- [key: string]: string | number | boolean | any | any | null;
86
- } | null)[] | {
87
- [key: string]: string | number | boolean | any | any | null;
88
- } | null)[] | {
89
- [key: string]: string | number | boolean | any | any | null;
90
- } | null)[] | {
91
- [key: string]: string | number | boolean | any | any | null;
92
- } | null)[] | {
93
- [key: string]: string | number | boolean | any | any | null;
94
- } | null)[] | {
95
- [key: string]: string | number | boolean | any | any | null;
96
- } | 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 | {
97
- [key: string]: string | number | boolean | any | any | null;
98
- } | null)[] | {
99
- [key: string]: string | number | boolean | any | any | null;
100
- } | null)[] | {
101
- [key: string]: string | number | boolean | any | any | null;
102
- } | null)[] | {
103
- [key: string]: string | number | boolean | any | any | null;
104
- } | null)[] | {
105
- [key: string]: string | number | boolean | any | any | null;
106
- } | null)[] | {
107
- [key: string]: string | number | boolean | any | any | null;
108
- } | null)[] | {
109
- [key: string]: string | number | boolean | any | any | null;
110
- } | null)[] | {
111
- [key: string]: string | number | boolean | any | any | null;
112
- } | null)[] | {
113
- [key: string]: string | number | boolean | any | any | null;
114
- } | null)[] | {
115
- [key: string]: string | number | boolean | any | any | null;
116
- } | null)[] | {
117
- [key: string]: string | number | boolean | any | any | null;
118
- } | null)[] | {
119
- [key: string]: string | number | boolean | any | any | null;
120
- } | null, unknown>>>;
121
- }, z.core.$strip>;
122
- }, z.core.$strip>, z.ZodObject<{
123
- ExerciseCommand: z.ZodObject<{
124
- templateId: z.ZodString;
125
- contractId: z.ZodString;
126
- choice: z.ZodString;
127
- 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 | {
128
- [key: string]: string | number | boolean | any | any | null;
129
- } | null)[] | {
130
- [key: string]: string | number | boolean | any | any | null;
131
- } | null)[] | {
132
- [key: string]: string | number | boolean | any | any | null;
133
- } | null)[] | {
134
- [key: string]: string | number | boolean | any | any | null;
135
- } | null)[] | {
136
- [key: string]: string | number | boolean | any | any | null;
137
- } | null)[] | {
138
- [key: string]: string | number | boolean | any | any | null;
139
- } | null)[] | {
140
- [key: string]: string | number | boolean | any | any | null;
141
- } | null)[] | {
142
- [key: string]: string | number | boolean | any | any | null;
143
- } | null)[] | {
144
- [key: string]: string | number | boolean | any | any | null;
145
- } | null)[] | {
146
- [key: string]: string | number | boolean | any | any | null;
147
- } | null)[] | {
148
- [key: string]: string | number | boolean | any | any | null;
149
- } | null)[] | {
150
- [key: string]: string | number | boolean | any | any | null;
151
- } | 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 | {
152
- [key: string]: string | number | boolean | any | any | null;
153
- } | null)[] | {
154
- [key: string]: string | number | boolean | any | any | null;
155
- } | null)[] | {
156
- [key: string]: string | number | boolean | any | any | null;
157
- } | null)[] | {
158
- [key: string]: string | number | boolean | any | any | null;
159
- } | null)[] | {
160
- [key: string]: string | number | boolean | any | any | null;
161
- } | null)[] | {
162
- [key: string]: string | number | boolean | any | any | null;
163
- } | null)[] | {
164
- [key: string]: string | number | boolean | any | any | null;
165
- } | null)[] | {
166
- [key: string]: string | number | boolean | any | any | null;
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.ZodObject<{
452
- estimationTimestamp: z.ZodOptional<z.ZodString>;
453
- confirmationRequestTrafficCostEstimation: z.ZodNumber;
454
- confirmationResponseTrafficCostEstimation: z.ZodNumber;
455
- totalTrafficCostEstimation: z.ZodNumber;
456
- }, z.core.$strip>;
457
- /** Interactive submission prepare response. */
458
- export declare const InteractiveSubmissionPrepareResponseSchema: z.ZodObject<{
459
- preparedTransactionHash: z.ZodString;
460
- preparedTransaction: z.ZodOptional<z.ZodString>;
461
- hashingSchemeVersion: z.ZodOptional<z.ZodEnum<{
462
- HASHING_SCHEME_VERSION_UNSPECIFIED: "HASHING_SCHEME_VERSION_UNSPECIFIED";
463
- HASHING_SCHEME_VERSION_V2: "HASHING_SCHEME_VERSION_V2";
464
- }>>;
465
- hashingDetails: z.ZodOptional<z.ZodString>;
466
- costEstimation: z.ZodOptional<z.ZodObject<{
467
- estimationTimestamp: z.ZodOptional<z.ZodString>;
468
- confirmationRequestTrafficCostEstimation: z.ZodNumber;
469
- confirmationResponseTrafficCostEstimation: z.ZodNumber;
470
- totalTrafficCostEstimation: z.ZodNumber;
471
- }, z.core.$strip>>;
472
- }, z.core.$strip>;
473
- /** Interactive submission execute request. */
474
- export declare const InteractiveSubmissionExecuteRequestSchema: z.ZodObject<{
475
- userId: z.ZodString;
476
- preparedTransaction: z.ZodString;
477
- hashingSchemeVersion: z.ZodString;
478
- submissionId: z.ZodString;
479
- deduplicationPeriod: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
480
- Empty: z.ZodObject<{}, z.core.$strip>;
481
- }, z.core.$strip>, z.ZodObject<{
482
- DeduplicationDuration: z.ZodObject<{
483
- value: z.ZodObject<{
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