@fairmint/canton-node-sdk 0.0.44 → 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.
Files changed (275) hide show
  1. package/README.md +33 -0
  2. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.d.ts +5 -5
  3. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.d.ts.map +1 -1
  4. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.js.map +1 -1
  5. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts +1 -1
  6. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts.map +1 -1
  7. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit.d.ts +5 -5
  8. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit.d.ts.map +1 -1
  9. package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts +2 -2
  10. package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts.map +1 -1
  11. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts +6 -6
  12. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts.map +1 -1
  13. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts +4 -4
  14. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts.map +1 -1
  15. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait.d.ts +5 -5
  16. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait.d.ts.map +1 -1
  17. package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts +3 -3
  18. package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts.map +1 -1
  19. package/build/src/clients/ledger-json-api/operations/v2/parties/get-participant-id.d.ts +1 -1
  20. package/build/src/clients/ledger-json-api/operations/v2/parties/get-participant-id.d.ts.map +1 -1
  21. package/build/src/clients/ledger-json-api/operations/v2/parties/get-party-details.d.ts +1 -1
  22. package/build/src/clients/ledger-json-api/operations/v2/parties/get-party-details.d.ts.map +1 -1
  23. package/build/src/clients/ledger-json-api/operations/v2/parties/get.d.ts +2 -2
  24. package/build/src/clients/ledger-json-api/operations/v2/parties/get.d.ts.map +1 -1
  25. package/build/src/clients/ledger-json-api/operations/v2/parties/update-party-details.d.ts +2 -2
  26. package/build/src/clients/ledger-json-api/operations/v2/parties/update-party-details.d.ts.map +1 -1
  27. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.d.ts +2 -2
  28. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.d.ts.map +1 -1
  29. package/build/src/clients/ledger-json-api/operations/v2/state/get-connected-synchronizers.d.ts +2 -2
  30. package/build/src/clients/ledger-json-api/operations/v2/state/get-connected-synchronizers.d.ts.map +1 -1
  31. package/build/src/clients/ledger-json-api/operations/v2/state/get-latest-pruned-offsets.d.ts +1 -1
  32. package/build/src/clients/ledger-json-api/operations/v2/state/get-latest-pruned-offsets.d.ts.map +1 -1
  33. package/build/src/clients/ledger-json-api/operations/v2/state/get-ledger-end.d.ts +1 -1
  34. package/build/src/clients/ledger-json-api/operations/v2/state/get-ledger-end.d.ts.map +1 -1
  35. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-id.d.ts +3 -3
  36. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-id.d.ts.map +1 -1
  37. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-offset.d.ts +3 -3
  38. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-offset.d.ts.map +1 -1
  39. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts +2 -2
  40. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts.map +1 -1
  41. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts +2 -2
  42. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts.map +1 -1
  43. package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-id.d.ts +2 -2
  44. package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-id.d.ts.map +1 -1
  45. package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-offset.d.ts +3 -3
  46. package/build/src/clients/ledger-json-api/operations/v2/updates/get-update-by-offset.d.ts.map +1 -1
  47. package/build/src/clients/ledger-json-api/operations/v2/users/create-user.d.ts +4 -4
  48. package/build/src/clients/ledger-json-api/operations/v2/users/create-user.d.ts.map +1 -1
  49. package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts +1 -1
  50. package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts.map +1 -1
  51. package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts +2 -2
  52. package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts.map +1 -1
  53. package/build/src/clients/ledger-json-api/operations/v2/users/grant-user-rights.d.ts +2 -2
  54. package/build/src/clients/ledger-json-api/operations/v2/users/grant-user-rights.d.ts.map +1 -1
  55. package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts +2 -2
  56. package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts.map +1 -1
  57. package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts +2 -2
  58. package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts.map +1 -1
  59. package/build/src/clients/ledger-json-api/operations/v2/users/revoke-user-rights.d.ts +2 -2
  60. package/build/src/clients/ledger-json-api/operations/v2/users/revoke-user-rights.d.ts.map +1 -1
  61. package/build/src/clients/ledger-json-api/operations/v2/users/update-user-identity-provider.d.ts +1 -1
  62. package/build/src/clients/ledger-json-api/operations/v2/users/update-user-identity-provider.d.ts.map +1 -1
  63. package/build/src/clients/ledger-json-api/operations/v2/users/update-user.d.ts +2 -2
  64. package/build/src/clients/ledger-json-api/operations/v2/users/update-user.d.ts.map +1 -1
  65. package/build/src/clients/validator-api/ValidatorApiClient.d.ts +38 -17
  66. package/build/src/clients/validator-api/ValidatorApiClient.d.ts.map +1 -1
  67. package/build/src/clients/validator-api/ValidatorApiClient.js +23 -1
  68. package/build/src/clients/validator-api/ValidatorApiClient.js.map +1 -1
  69. package/build/src/clients/validator-api/operations/index.d.ts +1 -0
  70. package/build/src/clients/validator-api/operations/index.d.ts.map +1 -1
  71. package/build/src/clients/validator-api/operations/index.js +1 -0
  72. package/build/src/clients/validator-api/operations/index.js.map +1 -1
  73. package/build/src/clients/validator-api/operations/v0/admin/create-user.d.ts +3 -2
  74. package/build/src/clients/validator-api/operations/v0/admin/create-user.d.ts.map +1 -1
  75. package/build/src/clients/validator-api/operations/v0/admin/create-user.js +5 -2
  76. package/build/src/clients/validator-api/operations/v0/admin/create-user.js.map +1 -1
  77. package/build/src/clients/validator-api/operations/v0/admin/get-external-party-balance.d.ts +2 -1
  78. package/build/src/clients/validator-api/operations/v0/admin/get-external-party-balance.d.ts.map +1 -1
  79. package/build/src/clients/validator-api/operations/v0/admin/get-external-party-balance.js +6 -3
  80. package/build/src/clients/validator-api/operations/v0/admin/get-external-party-balance.js.map +1 -1
  81. package/build/src/clients/validator-api/operations/v0/ans/create-entry.d.ts +6 -5
  82. package/build/src/clients/validator-api/operations/v0/ans/create-entry.d.ts.map +1 -1
  83. package/build/src/clients/validator-api/operations/v0/ans/create-entry.js +8 -3
  84. package/build/src/clients/validator-api/operations/v0/ans/create-entry.js.map +1 -1
  85. package/build/src/clients/validator-api/operations/v0/ans/get-rules.d.ts +11 -6
  86. package/build/src/clients/validator-api/operations/v0/ans/get-rules.d.ts.map +1 -1
  87. package/build/src/clients/validator-api/operations/v0/ans/get-rules.js +16 -7
  88. package/build/src/clients/validator-api/operations/v0/ans/get-rules.js.map +1 -1
  89. package/build/src/clients/validator-api/operations/v0/ans/list-entries-proxy.d.ts +4 -7
  90. package/build/src/clients/validator-api/operations/v0/ans/list-entries-proxy.d.ts.map +1 -1
  91. package/build/src/clients/validator-api/operations/v0/ans/list-entries-proxy.js +6 -9
  92. package/build/src/clients/validator-api/operations/v0/ans/list-entries-proxy.js.map +1 -1
  93. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-name.d.ts +3 -2
  94. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-name.d.ts.map +1 -1
  95. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-name.js +6 -3
  96. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-name.js.map +1 -1
  97. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-party.d.ts +3 -2
  98. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-party.d.ts.map +1 -1
  99. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-party.js +6 -3
  100. package/build/src/clients/validator-api/operations/v0/ans/lookup-by-party.js.map +1 -1
  101. package/build/src/clients/validator-api/operations/v0/register.d.ts.map +1 -1
  102. package/build/src/clients/validator-api/operations/v0/register.js +1 -1
  103. package/build/src/clients/validator-api/operations/v0/register.js.map +1 -1
  104. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-amulet-rules.d.ts +1 -4
  105. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-amulet-rules.d.ts.map +1 -1
  106. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-amulet-rules.js +1 -1
  107. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-amulet-rules.js.map +1 -1
  108. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-party-id.d.ts.map +1 -1
  109. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-party-id.js +1 -1
  110. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-dso-party-id.js.map +1 -1
  111. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-member-traffic-status.d.ts +33 -0
  112. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-member-traffic-status.d.ts.map +1 -0
  113. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-member-traffic-status.js +25 -0
  114. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-member-traffic-status.js.map +1 -0
  115. package/build/src/clients/validator-api/operations/v0/scan-proxy/index.d.ts +2 -0
  116. package/build/src/clients/validator-api/operations/v0/scan-proxy/index.d.ts.map +1 -1
  117. package/build/src/clients/validator-api/operations/v0/scan-proxy/index.js +2 -0
  118. package/build/src/clients/validator-api/operations/v0/scan-proxy/index.js.map +1 -1
  119. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/index.d.ts +2 -0
  120. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/index.d.ts.map +1 -0
  121. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/index.js +18 -0
  122. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/index.js.map +1 -0
  123. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts +50 -0
  124. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts.map +1 -0
  125. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.js +32 -0
  126. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.js.map +1 -0
  127. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/index.d.ts +2 -0
  128. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/index.d.ts.map +1 -0
  129. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/index.js +18 -0
  130. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/index.js.map +1 -0
  131. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/index.d.ts +2 -0
  132. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/index.d.ts.map +1 -0
  133. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/index.js +18 -0
  134. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/index.js.map +1 -0
  135. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts +50 -0
  136. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts.map +1 -0
  137. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.js +35 -0
  138. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.js.map +1 -0
  139. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts +50 -0
  140. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts.map +1 -0
  141. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.js +35 -0
  142. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.js.map +1 -0
  143. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts +50 -0
  144. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts.map +1 -0
  145. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.js +35 -0
  146. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.js.map +1 -0
  147. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/index.d.ts +4 -0
  148. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/index.d.ts.map +1 -0
  149. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/index.js +20 -0
  150. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/index.js.map +1 -0
  151. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/index.d.ts +5 -0
  152. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/index.d.ts.map +1 -0
  153. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/index.js +21 -0
  154. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/index.js.map +1 -0
  155. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/index.d.ts +2 -0
  156. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/index.d.ts.map +1 -0
  157. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/index.js +18 -0
  158. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/index.js.map +1 -0
  159. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts +47 -0
  160. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts.map +1 -0
  161. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.js +24 -0
  162. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.js.map +1 -0
  163. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.d.ts +33 -0
  164. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.d.ts.map +1 -0
  165. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.js +22 -0
  166. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-registry-info.js.map +1 -0
  167. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.d.ts +4 -0
  168. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.d.ts.map +1 -0
  169. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.js +20 -0
  170. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/index.js.map +1 -0
  171. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts +49 -0
  172. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts.map +1 -0
  173. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.js +37 -0
  174. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.js.map +1 -0
  175. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/index.d.ts +2 -0
  176. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/index.d.ts.map +1 -0
  177. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/index.js +18 -0
  178. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/index.js.map +1 -0
  179. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts +51 -0
  180. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts.map +1 -0
  181. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.js +30 -0
  182. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.js.map +1 -0
  183. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts +48 -0
  184. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts.map +1 -0
  185. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.js +30 -0
  186. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.js.map +1 -0
  187. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts +48 -0
  188. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts.map +1 -0
  189. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.js +30 -0
  190. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.js.map +1 -0
  191. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts +48 -0
  192. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts.map +1 -0
  193. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.js +30 -0
  194. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.js.map +1 -0
  195. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/index.d.ts +5 -0
  196. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/index.d.ts.map +1 -0
  197. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/index.js +21 -0
  198. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/index.js.map +1 -0
  199. package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts +1 -1
  200. package/build/src/clients/validator-api/operations/v0/wallet/get-amulets.d.ts +2 -2
  201. package/build/src/clients/validator-api/operations/v0/wallet/get-amulets.d.ts.map +1 -1
  202. package/build/src/clients/validator-api/operations/v0/wallet/get-amulets.js +1 -1
  203. package/build/src/clients/validator-api/operations/v0/wallet/get-amulets.js.map +1 -1
  204. package/build/src/clients/validator-api/operations/v0/wallet/get-balance.d.ts.map +1 -1
  205. package/build/src/clients/validator-api/operations/v0/wallet/get-balance.js +1 -1
  206. package/build/src/clients/validator-api/operations/v0/wallet/get-balance.js.map +1 -1
  207. package/build/src/clients/validator-api/operations/v0/wallet/get-user-status.d.ts.map +1 -1
  208. package/build/src/clients/validator-api/operations/v0/wallet/get-user-status.js +1 -1
  209. package/build/src/clients/validator-api/operations/v0/wallet/get-user-status.js.map +1 -1
  210. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/create.d.ts +6 -7
  211. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/create.d.ts.map +1 -1
  212. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/create.js +8 -2
  213. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/create.js.map +1 -1
  214. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/list.d.ts +1 -1
  215. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/list.d.ts.map +1 -1
  216. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/list.js +1 -1
  217. package/build/src/clients/validator-api/operations/v0/wallet/token-standard/transfers/list.js.map +1 -1
  218. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/create.d.ts +1 -1
  219. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts +2 -2
  220. package/build/src/clients/validator-api/schemas/api/index.d.ts +0 -1
  221. package/build/src/clients/validator-api/schemas/api/index.d.ts.map +1 -1
  222. package/build/src/clients/validator-api/schemas/api/index.js +0 -2
  223. package/build/src/clients/validator-api/schemas/api/index.js.map +1 -1
  224. package/build/src/clients/validator-api/schemas/api/scan-proxy.d.ts +781 -0
  225. package/build/src/clients/validator-api/schemas/api/scan-proxy.d.ts.map +1 -1
  226. package/build/src/clients/validator-api/schemas/api/scan-proxy.js +60 -1
  227. package/build/src/clients/validator-api/schemas/api/scan-proxy.js.map +1 -1
  228. package/build/src/clients/validator-api/schemas/api/wallet.d.ts +8 -129
  229. package/build/src/clients/validator-api/schemas/api/wallet.d.ts.map +1 -1
  230. package/build/src/clients/validator-api/schemas/api/wallet.js +1 -41
  231. package/build/src/clients/validator-api/schemas/api/wallet.js.map +1 -1
  232. package/build/src/clients/validator-api/schemas/operations/index.d.ts +0 -1
  233. package/build/src/clients/validator-api/schemas/operations/index.d.ts.map +1 -1
  234. package/build/src/clients/validator-api/schemas/operations/index.js +0 -2
  235. package/build/src/clients/validator-api/schemas/operations/index.js.map +1 -1
  236. package/build/src/clients/validator-api/schemas/operations/scan-proxy.d.ts +120 -0
  237. package/build/src/clients/validator-api/schemas/operations/scan-proxy.d.ts.map +1 -1
  238. package/build/src/clients/validator-api/schemas/operations/scan-proxy.js +47 -1
  239. package/build/src/clients/validator-api/schemas/operations/scan-proxy.js.map +1 -1
  240. package/build/src/clients/validator-api/schemas/operations/wallet.d.ts +2 -46
  241. package/build/src/clients/validator-api/schemas/operations/wallet.d.ts.map +1 -1
  242. package/build/src/clients/validator-api/schemas/operations/wallet.js +1 -12
  243. package/build/src/clients/validator-api/schemas/operations/wallet.js.map +1 -1
  244. package/build/src/generated/token-standard/splice-api-token-allocation-instruction-v1/openapi/allocation-instruction-v1.d.ts +153 -0
  245. package/build/src/generated/token-standard/splice-api-token-allocation-instruction-v1/openapi/allocation-instruction-v1.d.ts.map +1 -0
  246. package/build/src/generated/token-standard/splice-api-token-allocation-instruction-v1/openapi/allocation-instruction-v1.js +7 -0
  247. package/build/src/generated/token-standard/splice-api-token-allocation-instruction-v1/openapi/allocation-instruction-v1.js.map +1 -0
  248. package/build/src/generated/token-standard/splice-api-token-allocation-v1/openapi/allocation-v1.d.ts +232 -0
  249. package/build/src/generated/token-standard/splice-api-token-allocation-v1/openapi/allocation-v1.d.ts.map +1 -0
  250. package/build/src/generated/{openapi-types.js → token-standard/splice-api-token-allocation-v1/openapi/allocation-v1.js} +1 -1
  251. package/build/src/generated/token-standard/splice-api-token-allocation-v1/openapi/allocation-v1.js.map +1 -0
  252. package/build/src/generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1.d.ts +233 -0
  253. package/build/src/generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1.d.ts.map +1 -0
  254. package/build/src/generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1.js +7 -0
  255. package/build/src/generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1.js.map +1 -0
  256. package/build/src/generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1.d.ts +315 -0
  257. package/build/src/generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1.d.ts.map +1 -0
  258. package/build/src/generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1.js +7 -0
  259. package/build/src/generated/token-standard/splice-api-token-transfer-instruction-v1/openapi/transfer-instruction-v1.js.map +1 -0
  260. package/build/src/utils/amulet/pre-approve-transfers.js +2 -2
  261. package/build/src/utils/amulet/pre-approve-transfers.js.map +1 -1
  262. package/build/src/utils/amulet/transfer-to-preapproved.js +1 -1
  263. package/build/src/utils/amulet/transfer-to-preapproved.js.map +1 -1
  264. package/package.json +8 -7
  265. package/build/src/clients/validator-api/schemas/api/admin.d.ts +0 -61
  266. package/build/src/clients/validator-api/schemas/api/admin.d.ts.map +0 -1
  267. package/build/src/clients/validator-api/schemas/api/admin.js +0 -28
  268. package/build/src/clients/validator-api/schemas/api/admin.js.map +0 -1
  269. package/build/src/clients/validator-api/schemas/operations/admin.d.ts +0 -21
  270. package/build/src/clients/validator-api/schemas/operations/admin.d.ts.map +0 -1
  271. package/build/src/clients/validator-api/schemas/operations/admin.js +0 -11
  272. package/build/src/clients/validator-api/schemas/operations/admin.js.map +0 -1
  273. package/build/src/generated/openapi-types.d.ts +0 -5271
  274. package/build/src/generated/openapi-types.d.ts.map +0 -1
  275. package/build/src/generated/openapi-types.js.map +0 -1
@@ -0,0 +1,50 @@
1
+ import { z } from 'zod';
2
+ import type { paths, components } from '../../../../../../../../generated/token-standard/splice-api-token-allocation-instruction-v1/openapi/allocation-instruction-v1';
3
+ declare const apiPath = "/registry/allocation-instruction/v1/allocation-factory";
4
+ export declare const GetAllocationFactoryParamsSchema: 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 GetAllocationFactoryParams = z.infer<typeof GetAllocationFactoryParamsSchema>;
15
+ export type GetAllocationFactoryRequest = components['schemas']['GetFactoryRequest'];
16
+ export type GetAllocationFactoryResponse = paths[typeof apiPath]['post']['responses']['200']['content']['application/json'];
17
+ /**
18
+ * @description Get the factory and choice context for creating allocations using the AllocationFactory_Allocate choice
19
+ * @example
20
+ * ```typescript
21
+ * const factory = await client.getAllocationFactory({
22
+ * choiceArguments: { /* choice arguments *\/ },
23
+ * excludeDebugFields: false
24
+ * });
25
+ * console.log(`Factory ID: ${factory.factoryId}`);
26
+ * ```
27
+ */
28
+ export declare const GetAllocationFactory: {
29
+ new (client: import("../../../../../../../../core").BaseClient): {
30
+ execute(params: {
31
+ choiceArguments: Record<string, never>;
32
+ excludeDebugFields: boolean;
33
+ }): Promise<{
34
+ factoryId: string;
35
+ choiceContext: components["schemas"]["ChoiceContext"];
36
+ }>;
37
+ client: import("../../../../../../../../core").BaseClient;
38
+ validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
39
+ makeGetRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
40
+ makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
41
+ makeDeleteRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
42
+ makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
43
+ getManagedParties(): string[];
44
+ getPartyId(): string | undefined;
45
+ getApiUrl(): string;
46
+ buildPartyList(additionalParties?: string[]): string[];
47
+ };
48
+ };
49
+ export {};
50
+ //# sourceMappingURL=get-allocation-factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-allocation-factory.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,+HAA+H,CAAC;AAEvK,QAAA,MAAM,OAAO,2DAA2D,CAAC;AAGzE,eAAO,MAAM,gCAAgC;;;;;;;;;EAG3C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,mBAAmB,CAAC,CAAC;AACrF,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AAE5H;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB;;;;;;;2BAW8qB,qBAAsB;;;;;;;;;;;;;CAAnuB,CAAC"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAllocationFactory = exports.GetAllocationFactoryParamsSchema = void 0;
4
+ const core_1 = require("../../../../../../../../core");
5
+ const zod_1 = require("zod");
6
+ const apiPath = '/registry/allocation-instruction/v1/allocation-factory';
7
+ const endpoint = '/api/validator/v0/scan-proxy/registry/allocation-instruction/v1/allocation-factory';
8
+ exports.GetAllocationFactoryParamsSchema = zod_1.z.object({
9
+ choiceArguments: zod_1.z.record(zod_1.z.never()),
10
+ excludeDebugFields: zod_1.z.boolean(),
11
+ });
12
+ /**
13
+ * @description Get the factory and choice context for creating allocations using the AllocationFactory_Allocate choice
14
+ * @example
15
+ * ```typescript
16
+ * const factory = await client.getAllocationFactory({
17
+ * choiceArguments: { /* choice arguments *\/ },
18
+ * excludeDebugFields: false
19
+ * });
20
+ * console.log(`Factory ID: ${factory.factoryId}`);
21
+ * ```
22
+ */
23
+ exports.GetAllocationFactory = (0, core_1.createApiOperation)({
24
+ paramsSchema: exports.GetAllocationFactoryParamsSchema,
25
+ method: 'POST',
26
+ buildUrl: (_params, apiUrl) => `${apiUrl}${endpoint}`,
27
+ buildRequestData: (params) => ({
28
+ choiceArguments: params.choiceArguments,
29
+ excludeDebugFields: params.excludeDebugFields,
30
+ }),
31
+ });
32
+ //# sourceMappingURL=get-allocation-factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-allocation-factory.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.ts"],"names":[],"mappings":";;;AAAA,uDAAkE;AAClE,6BAAwB;AAGxB,MAAM,OAAO,GAAG,wDAAwD,CAAC;AACzE,MAAM,QAAQ,GAAG,oFAAoF,CAAC;AAEzF,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,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,oBAAoB,GAAG,IAAA,yBAAkB,EAGpD;IACA,YAAY,EAAE,wCAAgC;IAC9C,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,CAAC,OAAmC,EAAE,MAAc,EAAE,EAAE,CAAC,GAAG,MAAM,GAAG,QAAQ,EAAE;IACzF,gBAAgB,EAAE,CAAC,MAAkC,EAA+B,EAAE,CAAC,CAAC;QACtF,eAAe,EAAE,MAAM,CAAC,eAAe;QACvC,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;KAC9C,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './get-allocation-factory';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,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("./get-allocation-factory"), 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/allocation-instruction/v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
@@ -0,0 +1,2 @@
1
+ export * from './v1';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/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/allocations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAqB"}
@@ -0,0 +1,50 @@
1
+ import { z } from 'zod';
2
+ import type { paths, components } from '../../../../../../../../generated/token-standard/splice-api-token-allocation-v1/openapi/allocation-v1';
3
+ declare const apiPath = "/registry/allocations/v1/{allocationId}/choice-contexts/cancel";
4
+ export declare const GetAllocationCancelContextParamsSchema: z.ZodObject<{
5
+ allocationId: z.ZodString;
6
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ allocationId: string;
9
+ meta?: Record<string, string> | undefined;
10
+ }, {
11
+ allocationId: string;
12
+ meta?: Record<string, string> | undefined;
13
+ }>;
14
+ export type GetAllocationCancelContextParams = z.infer<typeof GetAllocationCancelContextParamsSchema>;
15
+ export type GetAllocationCancelContextRequest = components['schemas']['GetChoiceContextRequest'];
16
+ export type GetAllocationCancelContextResponse = paths[typeof apiPath]['post']['responses']['200']['content']['application/json'];
17
+ /**
18
+ * @description Get the choice context to cancel an allocation
19
+ * @example
20
+ * ```typescript
21
+ * const context = await client.getAllocationCancelContext({
22
+ * allocationId: 'allocation123',
23
+ * meta: { key: 'value' }
24
+ * });
25
+ * console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
26
+ * ```
27
+ */
28
+ export declare const GetAllocationCancelContext: {
29
+ new (client: import("../../../../../../../../core").BaseClient): {
30
+ execute(params: {
31
+ allocationId: string;
32
+ meta?: Record<string, string> | undefined;
33
+ }): Promise<{
34
+ choiceContextData: Record<string, never>;
35
+ disclosedContracts: components["schemas"]["DisclosedContract"][];
36
+ }>;
37
+ client: import("../../../../../../../../core").BaseClient;
38
+ validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
39
+ makeGetRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
40
+ makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
41
+ makeDeleteRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
42
+ makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
43
+ getManagedParties(): string[];
44
+ getPartyId(): string | undefined;
45
+ getApiUrl(): string;
46
+ buildPartyList(additionalParties?: string[]): string[];
47
+ };
48
+ };
49
+ export {};
50
+ //# sourceMappingURL=get-allocation-cancel-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-allocation-cancel-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,uGAAuG,CAAC;AAE/I,QAAA,MAAM,OAAO,mEAAmE,CAAC;AAGjF,eAAO,MAAM,sCAAsC;;;;;;;;;EAGjD,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AACtG,MAAM,MAAM,iCAAiC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC,CAAC;AACjG,MAAM,MAAM,kCAAkC,GAAG,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AAElI;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B;;;;;;;gCAewkC,qBAAsB;;;;;;;;;;;;;CAAnoC,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAllocationCancelContext = exports.GetAllocationCancelContextParamsSchema = void 0;
4
+ const core_1 = require("../../../../../../../../core");
5
+ const zod_1 = require("zod");
6
+ const apiPath = '/registry/allocations/v1/{allocationId}/choice-contexts/cancel';
7
+ const endpoint = '/api/validator/v0/scan-proxy/registry/allocations/v1';
8
+ exports.GetAllocationCancelContextParamsSchema = zod_1.z.object({
9
+ allocationId: zod_1.z.string(),
10
+ meta: zod_1.z.record(zod_1.z.string()).optional(),
11
+ });
12
+ /**
13
+ * @description Get the choice context to cancel an allocation
14
+ * @example
15
+ * ```typescript
16
+ * const context = await client.getAllocationCancelContext({
17
+ * allocationId: 'allocation123',
18
+ * meta: { key: 'value' }
19
+ * });
20
+ * console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
21
+ * ```
22
+ */
23
+ exports.GetAllocationCancelContext = (0, core_1.createApiOperation)({
24
+ paramsSchema: exports.GetAllocationCancelContextParamsSchema,
25
+ method: 'POST',
26
+ buildUrl: (params, apiUrl) => `${apiUrl}${endpoint}/${params.allocationId}/choice-contexts/cancel`,
27
+ buildRequestData: (params) => {
28
+ const request = {};
29
+ if (params.meta !== undefined) {
30
+ request.meta = params.meta;
31
+ }
32
+ return request;
33
+ },
34
+ });
35
+ //# sourceMappingURL=get-allocation-cancel-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-allocation-cancel-context.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.ts"],"names":[],"mappings":";;;AAAA,uDAAkE;AAClE,6BAAwB;AAGxB,MAAM,OAAO,GAAG,gEAAgE,CAAC;AACjF,MAAM,QAAQ,GAAG,sDAAsD,CAAC;AAE3D,QAAA,sCAAsC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7D,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAMH;;;;;;;;;;GAUG;AACU,QAAA,0BAA0B,GAAG,IAAA,yBAAkB,EAG1D;IACA,YAAY,EAAE,8CAAsC;IACpD,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,CAAC,MAAwC,EAAE,MAAc,EAAE,EAAE,CACrE,GAAG,MAAM,GAAG,QAAQ,IAAI,MAAM,CAAC,YAAY,yBAAyB;IACtE,gBAAgB,EAAE,CAAC,MAAwC,EAAqC,EAAE;QAChG,MAAM,OAAO,GAAsC,EAAE,CAAC;QACtD,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YAC9B,OAAO,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QAC7B,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { z } from 'zod';
2
+ import type { paths, components } from '../../../../../../../../generated/token-standard/splice-api-token-allocation-v1/openapi/allocation-v1';
3
+ declare const apiPath = "/registry/allocations/v1/{allocationId}/choice-contexts/execute-transfer";
4
+ export declare const GetAllocationTransferContextParamsSchema: z.ZodObject<{
5
+ allocationId: z.ZodString;
6
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ allocationId: string;
9
+ meta?: Record<string, string> | undefined;
10
+ }, {
11
+ allocationId: string;
12
+ meta?: Record<string, string> | undefined;
13
+ }>;
14
+ export type GetAllocationTransferContextParams = z.infer<typeof GetAllocationTransferContextParamsSchema>;
15
+ export type GetAllocationTransferContextRequest = components['schemas']['GetChoiceContextRequest'];
16
+ export type GetAllocationTransferContextResponse = paths[typeof apiPath]['post']['responses']['200']['content']['application/json'];
17
+ /**
18
+ * @description Get the choice context to execute a transfer on an allocation
19
+ * @example
20
+ * ```typescript
21
+ * const context = await client.getAllocationTransferContext({
22
+ * allocationId: 'allocation123',
23
+ * meta: { key: 'value' }
24
+ * });
25
+ * console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
26
+ * ```
27
+ */
28
+ export declare const GetAllocationTransferContext: {
29
+ new (client: import("../../../../../../../../core").BaseClient): {
30
+ execute(params: {
31
+ allocationId: string;
32
+ meta?: Record<string, string> | undefined;
33
+ }): Promise<{
34
+ choiceContextData: Record<string, never>;
35
+ disclosedContracts: components["schemas"]["DisclosedContract"][];
36
+ }>;
37
+ client: import("../../../../../../../../core").BaseClient;
38
+ validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
39
+ makeGetRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
40
+ makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
41
+ makeDeleteRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
42
+ makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
43
+ getManagedParties(): string[];
44
+ getPartyId(): string | undefined;
45
+ getApiUrl(): string;
46
+ buildPartyList(additionalParties?: string[]): string[];
47
+ };
48
+ };
49
+ export {};
50
+ //# sourceMappingURL=get-allocation-transfer-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-allocation-transfer-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,uGAAuG,CAAC;AAE/I,QAAA,MAAM,OAAO,6EAA6E,CAAC;AAG3F,eAAO,MAAM,wCAAwC;;;;;;;;;EAGnD,CAAC;AAEH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAC1G,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC,CAAC;AACnG,MAAM,MAAM,oCAAoC,GAAG,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AAEpI;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B;;;;;;;gCAeugC,qBAAsB;;;;;;;;;;;;;CAApkC,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAllocationTransferContext = exports.GetAllocationTransferContextParamsSchema = void 0;
4
+ const core_1 = require("../../../../../../../../core");
5
+ const zod_1 = require("zod");
6
+ const apiPath = '/registry/allocations/v1/{allocationId}/choice-contexts/execute-transfer';
7
+ const endpoint = '/api/validator/v0/scan-proxy/registry/allocations/v1';
8
+ exports.GetAllocationTransferContextParamsSchema = zod_1.z.object({
9
+ allocationId: zod_1.z.string(),
10
+ meta: zod_1.z.record(zod_1.z.string()).optional(),
11
+ });
12
+ /**
13
+ * @description Get the choice context to execute a transfer on an allocation
14
+ * @example
15
+ * ```typescript
16
+ * const context = await client.getAllocationTransferContext({
17
+ * allocationId: 'allocation123',
18
+ * meta: { key: 'value' }
19
+ * });
20
+ * console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
21
+ * ```
22
+ */
23
+ exports.GetAllocationTransferContext = (0, core_1.createApiOperation)({
24
+ paramsSchema: exports.GetAllocationTransferContextParamsSchema,
25
+ method: 'POST',
26
+ buildUrl: (params, apiUrl) => `${apiUrl}${endpoint}/${params.allocationId}/choice-contexts/execute-transfer`,
27
+ buildRequestData: (params) => {
28
+ const request = {};
29
+ if (params.meta !== undefined) {
30
+ request.meta = params.meta;
31
+ }
32
+ return request;
33
+ },
34
+ });
35
+ //# sourceMappingURL=get-allocation-transfer-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-allocation-transfer-context.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.ts"],"names":[],"mappings":";;;AAAA,uDAAkE;AAClE,6BAAwB;AAGxB,MAAM,OAAO,GAAG,0EAA0E,CAAC;AAC3F,MAAM,QAAQ,GAAG,sDAAsD,CAAC;AAE3D,QAAA,wCAAwC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/D,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAMH;;;;;;;;;;GAUG;AACU,QAAA,4BAA4B,GAAG,IAAA,yBAAkB,EAG5D;IACA,YAAY,EAAE,gDAAwC;IACtD,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,CAAC,MAA0C,EAAE,MAAc,EAAE,EAAE,CACvE,GAAG,MAAM,GAAG,QAAQ,IAAI,MAAM,CAAC,YAAY,mCAAmC;IAChF,gBAAgB,EAAE,CAAC,MAA0C,EAAuC,EAAE;QACpG,MAAM,OAAO,GAAwC,EAAE,CAAC;QACxD,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YAC9B,OAAO,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QAC7B,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { z } from 'zod';
2
+ import type { paths, components } from '../../../../../../../../generated/token-standard/splice-api-token-allocation-v1/openapi/allocation-v1';
3
+ declare const apiPath = "/registry/allocations/v1/{allocationId}/choice-contexts/withdraw";
4
+ export declare const GetAllocationWithdrawContextParamsSchema: z.ZodObject<{
5
+ allocationId: z.ZodString;
6
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ allocationId: string;
9
+ meta?: Record<string, string> | undefined;
10
+ }, {
11
+ allocationId: string;
12
+ meta?: Record<string, string> | undefined;
13
+ }>;
14
+ export type GetAllocationWithdrawContextParams = z.infer<typeof GetAllocationWithdrawContextParamsSchema>;
15
+ export type GetAllocationWithdrawContextRequest = components['schemas']['GetChoiceContextRequest'];
16
+ export type GetAllocationWithdrawContextResponse = paths[typeof apiPath]['post']['responses']['200']['content']['application/json'];
17
+ /**
18
+ * @description Get the choice context to withdraw an allocation
19
+ * @example
20
+ * ```typescript
21
+ * const context = await client.getAllocationWithdrawContext({
22
+ * allocationId: 'allocation123',
23
+ * meta: { key: 'value' }
24
+ * });
25
+ * console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
26
+ * ```
27
+ */
28
+ export declare const GetAllocationWithdrawContext: {
29
+ new (client: import("../../../../../../../../core").BaseClient): {
30
+ execute(params: {
31
+ allocationId: string;
32
+ meta?: Record<string, string> | undefined;
33
+ }): Promise<{
34
+ choiceContextData: Record<string, never>;
35
+ disclosedContracts: components["schemas"]["DisclosedContract"][];
36
+ }>;
37
+ client: import("../../../../../../../../core").BaseClient;
38
+ validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
39
+ makeGetRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
40
+ makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
41
+ makeDeleteRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
42
+ makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
43
+ getManagedParties(): string[];
44
+ getPartyId(): string | undefined;
45
+ getApiUrl(): string;
46
+ buildPartyList(additionalParties?: string[]): string[];
47
+ };
48
+ };
49
+ export {};
50
+ //# sourceMappingURL=get-allocation-withdraw-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-allocation-withdraw-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,uGAAuG,CAAC;AAE/I,QAAA,MAAM,OAAO,qEAAqE,CAAC;AAGnF,eAAO,MAAM,wCAAwC;;;;;;;;;EAGnD,CAAC;AAEH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAC1G,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC,CAAC;AACnG,MAAM,MAAM,oCAAoC,GAAG,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AAEpI;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B;;;;;;;gCAeoiC,qBAAsB;;;;;;;;;;;;;CAAjmC,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAllocationWithdrawContext = exports.GetAllocationWithdrawContextParamsSchema = void 0;
4
+ const core_1 = require("../../../../../../../../core");
5
+ const zod_1 = require("zod");
6
+ const apiPath = '/registry/allocations/v1/{allocationId}/choice-contexts/withdraw';
7
+ const endpoint = '/api/validator/v0/scan-proxy/registry/allocations/v1';
8
+ exports.GetAllocationWithdrawContextParamsSchema = zod_1.z.object({
9
+ allocationId: zod_1.z.string(),
10
+ meta: zod_1.z.record(zod_1.z.string()).optional(),
11
+ });
12
+ /**
13
+ * @description Get the choice context to withdraw an allocation
14
+ * @example
15
+ * ```typescript
16
+ * const context = await client.getAllocationWithdrawContext({
17
+ * allocationId: 'allocation123',
18
+ * meta: { key: 'value' }
19
+ * });
20
+ * console.log(`Choice context data: ${JSON.stringify(context.choiceContextData)}`);
21
+ * ```
22
+ */
23
+ exports.GetAllocationWithdrawContext = (0, core_1.createApiOperation)({
24
+ paramsSchema: exports.GetAllocationWithdrawContextParamsSchema,
25
+ method: 'POST',
26
+ buildUrl: (params, apiUrl) => `${apiUrl}${endpoint}/${params.allocationId}/choice-contexts/withdraw`,
27
+ buildRequestData: (params) => {
28
+ const request = {};
29
+ if (params.meta !== undefined) {
30
+ request.meta = params.meta;
31
+ }
32
+ return request;
33
+ },
34
+ });
35
+ //# sourceMappingURL=get-allocation-withdraw-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-allocation-withdraw-context.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.ts"],"names":[],"mappings":";;;AAAA,uDAAkE;AAClE,6BAAwB;AAGxB,MAAM,OAAO,GAAG,kEAAkE,CAAC;AACnF,MAAM,QAAQ,GAAG,sDAAsD,CAAC;AAE3D,QAAA,wCAAwC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/D,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAMH;;;;;;;;;;GAUG;AACU,QAAA,4BAA4B,GAAG,IAAA,yBAAkB,EAG5D;IACA,YAAY,EAAE,gDAAwC;IACtD,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,CAAC,MAA0C,EAAE,MAAc,EAAE,EAAE,CACvE,GAAG,MAAM,GAAG,QAAQ,IAAI,MAAM,CAAC,YAAY,2BAA2B;IACxE,gBAAgB,EAAE,CAAC,MAA0C,EAAuC,EAAE;QACpG,MAAM,OAAO,GAAwC,EAAE,CAAC;QACxD,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YAC9B,OAAO,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QAC7B,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './get-allocation-transfer-context';
2
+ export * from './get-allocation-withdraw-context';
3
+ export * from './get-allocation-cancel-context';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC"}
@@ -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-allocation-transfer-context"), exports);
18
+ __exportStar(require("./get-allocation-withdraw-context"), exports);
19
+ __exportStar(require("./get-allocation-cancel-context"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAClD,oEAAkD;AAClD,kEAAgD"}
@@ -0,0 +1,5 @@
1
+ export * from './transfer-instruction';
2
+ export * from './metadata';
3
+ export * from './allocations';
4
+ export * from './allocation-instruction';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,21 @@
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("./transfer-instruction"), exports);
18
+ __exportStar(require("./metadata"), exports);
19
+ __exportStar(require("./allocations"), exports);
20
+ __exportStar(require("./allocation-instruction"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,6CAA2B;AAC3B,gDAA8B;AAC9B,2DAAyC"}
@@ -0,0 +1,2 @@
1
+ export * from './v1';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/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/metadata/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAqB"}
@@ -0,0 +1,47 @@
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/{instrumentId}";
4
+ export declare const GetInstrumentParamsSchema: z.ZodObject<{
5
+ instrumentId: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ instrumentId: string;
8
+ }, {
9
+ instrumentId: string;
10
+ }>;
11
+ export type GetInstrumentParams = z.infer<typeof GetInstrumentParamsSchema>;
12
+ export type GetInstrumentResponse = paths[typeof apiPath]['get']['responses']['200']['content']['application/json'];
13
+ /**
14
+ * @description Retrieve an instrument's metadata
15
+ * @example
16
+ * ```typescript
17
+ * const instrument = await client.getInstrument({ instrumentId: 'instrument123' });
18
+ * console.log(`Instrument: ${instrument.name} (${instrument.symbol})`);
19
+ * ```
20
+ */
21
+ export declare const GetInstrument: {
22
+ new (client: import("../../../../../../../../core").BaseClient): {
23
+ execute(params: {
24
+ instrumentId: string;
25
+ }): Promise<{
26
+ id: string;
27
+ name: string;
28
+ symbol: string;
29
+ totalSupply?: string;
30
+ totalSupplyAsOf?: string;
31
+ decimals: number;
32
+ supportedApis: import("../../../../../../../../generated/token-standard/splice-api-token-metadata-v1/openapi/token-metadata-v1").components["schemas"]["SupportedApis"];
33
+ }>;
34
+ client: import("../../../../../../../../core").BaseClient;
35
+ validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
36
+ makeGetRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
37
+ makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
38
+ makeDeleteRequest<T>(url: string, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
39
+ makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../../../core").RequestConfig): Promise<T>;
40
+ getManagedParties(): string[];
41
+ getPartyId(): string | undefined;
42
+ getApiUrl(): string;
43
+ buildPartyList(additionalParties?: string[]): string[];
44
+ };
45
+ };
46
+ export {};
47
+ //# sourceMappingURL=get-instrument.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-instrument.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yGAAyG,CAAC;AAErI,QAAA,MAAM,OAAO,qDAAqD,CAAC;AAGnE,eAAO,MAAM,yBAAyB;;;;;;EAEpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AAEpH;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;2BAO27E,uIAAsB;;;;;;;;;;;;;CAAz+E,CAAC"}