@canton-network/core-ledger-client 0.1.0 → 0.2.1

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 (258) hide show
  1. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +58 -0
  2. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +1 -0
  3. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +34 -0
  4. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +232 -0
  5. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +1 -0
  6. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +560 -0
  7. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +144 -0
  8. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +1 -0
  9. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +85 -0
  10. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +291 -0
  11. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +1 -0
  12. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +663 -0
  13. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +76 -0
  14. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +1 -0
  15. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +96 -0
  16. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +106 -0
  17. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +1 -0
  18. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +62 -0
  19. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +199 -0
  20. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +1 -0
  21. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +427 -0
  22. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +56 -0
  23. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +1 -0
  24. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +35 -0
  25. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +81 -0
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +1 -0
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +135 -0
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +196 -0
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +1 -0
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +113 -0
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +413 -0
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +1 -0
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +867 -0
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +210 -0
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +1 -0
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +126 -0
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +758 -0
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +1 -0
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +1580 -0
  40. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +66 -0
  41. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +1 -0
  42. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +38 -0
  43. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +90 -0
  44. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +1 -0
  45. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +178 -0
  46. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +99 -0
  47. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +1 -0
  48. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +61 -0
  49. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +210 -0
  50. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +1 -0
  51. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +436 -0
  52. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +80 -0
  53. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +1 -0
  54. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +47 -0
  55. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +91 -0
  56. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +1 -0
  57. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +200 -0
  58. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +491 -0
  59. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +1 -0
  60. package/dist/_proto/com/daml/ledger/api/v2/commands.js +828 -0
  61. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +149 -0
  62. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +1 -0
  63. package/dist/_proto/com/daml/ledger/api/v2/completion.js +196 -0
  64. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +495 -0
  65. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +1 -0
  66. package/dist/_proto/com/daml/ledger/api/v2/event.js +723 -0
  67. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +52 -0
  68. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +1 -0
  69. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +31 -0
  70. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +150 -0
  71. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +1 -0
  72. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +291 -0
  73. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +96 -0
  74. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +1 -0
  75. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +225 -0
  76. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +43 -0
  77. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +1 -0
  78. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +85 -0
  79. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +100 -0
  80. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +1 -0
  81. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +59 -0
  82. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +877 -0
  83. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +1 -0
  84. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +1768 -0
  85. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +259 -0
  86. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +1 -0
  87. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +667 -0
  88. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +69 -0
  89. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +1 -0
  90. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +133 -0
  91. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +41 -0
  92. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +1 -0
  93. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +84 -0
  94. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +68 -0
  95. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +1 -0
  96. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +43 -0
  97. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +181 -0
  98. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +1 -0
  99. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +395 -0
  100. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +308 -0
  101. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +1 -0
  102. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +521 -0
  103. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +193 -0
  104. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +1 -0
  105. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +350 -0
  106. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +91 -0
  107. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +1 -0
  108. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +56 -0
  109. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +448 -0
  110. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +1 -0
  111. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +874 -0
  112. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +54 -0
  113. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +1 -0
  114. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +34 -0
  115. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +78 -0
  116. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +1 -0
  117. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +168 -0
  118. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +211 -0
  119. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +1 -0
  120. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +447 -0
  121. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +33 -0
  122. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +1 -0
  123. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +69 -0
  124. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +252 -0
  125. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +1 -0
  126. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +410 -0
  127. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +453 -0
  128. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +1 -0
  129. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +815 -0
  130. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +199 -0
  131. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +1 -0
  132. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +121 -0
  133. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +424 -0
  134. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +1 -0
  135. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +853 -0
  136. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +500 -0
  137. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +1 -0
  138. package/dist/_proto/com/daml/ledger/api/v2/value.js +937 -0
  139. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +40 -0
  140. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +1 -0
  141. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +25 -0
  142. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +190 -0
  143. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +1 -0
  144. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +400 -0
  145. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +1028 -0
  146. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +1 -0
  147. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +2110 -0
  148. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +30 -0
  149. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +1 -0
  150. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +62 -0
  151. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +168 -0
  152. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +1 -0
  153. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +395 -0
  154. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +1105 -0
  155. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +1 -0
  156. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +2294 -0
  157. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +278 -0
  158. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +1 -0
  159. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +654 -0
  160. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +166 -0
  161. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +1 -0
  162. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +379 -0
  163. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +199 -0
  164. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +1 -0
  165. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +136 -0
  166. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +1195 -0
  167. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +1 -0
  168. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +3342 -0
  169. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +119 -0
  170. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +1 -0
  171. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +76 -0
  172. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +607 -0
  173. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +1 -0
  174. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +1292 -0
  175. package/dist/_proto/google/protobuf/any.d.ts +177 -0
  176. package/dist/_proto/google/protobuf/any.d.ts.map +1 -0
  177. package/dist/_proto/google/protobuf/any.js +175 -0
  178. package/dist/_proto/google/protobuf/descriptor.d.ts +1638 -0
  179. package/dist/_proto/google/protobuf/descriptor.d.ts.map +1 -0
  180. package/dist/_proto/google/protobuf/descriptor.js +2999 -0
  181. package/dist/_proto/google/protobuf/duration.d.ts +114 -0
  182. package/dist/_proto/google/protobuf/duration.d.ts.map +1 -0
  183. package/dist/_proto/google/protobuf/duration.js +113 -0
  184. package/dist/_proto/google/protobuf/empty.d.ts +33 -0
  185. package/dist/_proto/google/protobuf/empty.d.ts.map +1 -0
  186. package/dist/_proto/google/protobuf/empty.js +41 -0
  187. package/dist/_proto/google/protobuf/field_mask.d.ts +240 -0
  188. package/dist/_proto/google/protobuf/field_mask.d.ts.map +1 -0
  189. package/dist/_proto/google/protobuf/field_mask.js +95 -0
  190. package/dist/_proto/google/protobuf/struct.d.ts +187 -0
  191. package/dist/_proto/google/protobuf/struct.d.ts.map +1 -0
  192. package/dist/_proto/google/protobuf/struct.js +417 -0
  193. package/dist/_proto/google/protobuf/timestamp.d.ts +159 -0
  194. package/dist/_proto/google/protobuf/timestamp.d.ts.map +1 -0
  195. package/dist/_proto/google/protobuf/timestamp.js +157 -0
  196. package/dist/_proto/google/rpc/code.d.ts +219 -0
  197. package/dist/_proto/google/rpc/code.d.ts.map +1 -0
  198. package/dist/_proto/google/rpc/code.js +237 -0
  199. package/dist/_proto/google/rpc/context/attribute_context.d.ts +594 -0
  200. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +1 -0
  201. package/dist/_proto/google/rpc/context/attribute_context.js +1007 -0
  202. package/dist/_proto/google/rpc/context/audit_context.d.ts +62 -0
  203. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +1 -0
  204. package/dist/_proto/google/rpc/context/audit_context.js +111 -0
  205. package/dist/_proto/google/rpc/error_details.d.ts +549 -0
  206. package/dist/_proto/google/rpc/error_details.d.ts.map +1 -0
  207. package/dist/_proto/google/rpc/error_details.js +918 -0
  208. package/dist/_proto/google/rpc/status.d.ts +55 -0
  209. package/dist/_proto/google/rpc/status.d.ts.map +1 -0
  210. package/dist/_proto/google/rpc/status.js +79 -0
  211. package/dist/_proto/scalapb/scalapb.d.ts +779 -0
  212. package/dist/_proto/scalapb/scalapb.d.ts.map +1 -0
  213. package/dist/_proto/scalapb/scalapb.js +1658 -0
  214. package/dist/constants.d.ts +17 -0
  215. package/dist/constants.d.ts.map +1 -0
  216. package/dist/constants.js +47 -0
  217. package/dist/generated-clients/openapi-3.3.0-SNAPSHOT.d.ts +4655 -0
  218. package/dist/generated-clients/openapi-3.3.0-SNAPSHOT.d.ts.map +1 -0
  219. package/dist/generated-clients/openapi-3.3.0-SNAPSHOT.js +5 -0
  220. package/dist/index.d.ts +4 -2
  221. package/dist/index.d.ts.map +1 -1
  222. package/dist/index.js +3 -2
  223. package/dist/ledger-api-utils.d.ts +47 -0
  224. package/dist/ledger-api-utils.d.ts.map +1 -0
  225. package/dist/ledger-api-utils.js +275 -0
  226. package/dist/{LedgerClient.d.ts → ledger-client.d.ts} +3 -2
  227. package/dist/ledger-client.d.ts.map +1 -0
  228. package/dist/token-standard-service.d.ts +25 -0
  229. package/dist/token-standard-service.d.ts.map +1 -0
  230. package/dist/token-standard-service.js +271 -0
  231. package/dist/{TopologyWriteService.d.ts → topology-write-service.d.ts} +2 -2
  232. package/dist/topology-write-service.d.ts.map +1 -0
  233. package/dist/txparse/parser.d.ts +25 -0
  234. package/dist/txparse/parser.d.ts.map +1 -0
  235. package/dist/txparse/parser.js +574 -0
  236. package/dist/txparse/parser.test.d.ts +2 -0
  237. package/dist/txparse/parser.test.d.ts.map +1 -0
  238. package/dist/txparse/parser.test.js +92 -0
  239. package/dist/txparse/strict.d.ts +3 -0
  240. package/dist/txparse/strict.d.ts.map +1 -0
  241. package/dist/txparse/strict.js +17 -0
  242. package/dist/txparse/test-data/expected/txs.d.ts +1143 -0
  243. package/dist/txparse/test-data/expected/txs.d.ts.map +1 -0
  244. package/dist/txparse/test-data/expected/txs.js +2301 -0
  245. package/dist/txparse/test-data/mock/eventsByContractIdResponses.d.ts +893 -0
  246. package/dist/txparse/test-data/mock/eventsByContractIdResponses.d.ts.map +1 -0
  247. package/dist/txparse/test-data/mock/eventsByContractIdResponses.js +2971 -0
  248. package/dist/txparse/test-data/mock/txs.d.ts +3304 -0
  249. package/dist/txparse/test-data/mock/txs.d.ts.map +1 -0
  250. package/dist/txparse/test-data/mock/txs.js +6786 -0
  251. package/dist/txparse/types.d.ts +133 -0
  252. package/dist/txparse/types.d.ts.map +1 -0
  253. package/dist/txparse/types.js +56 -0
  254. package/package.json +12 -7
  255. package/dist/LedgerClient.d.ts.map +0 -1
  256. package/dist/TopologyWriteService.d.ts.map +0 -1
  257. /package/dist/{LedgerClient.js → ledger-client.js} +0 -0
  258. /package/dist/{TopologyWriteService.js → topology-write-service.js} +0 -0
@@ -0,0 +1,4655 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ /** OneOf type helpers */
6
+ type Without<T, U> = {
7
+ [P in Exclude<keyof T, keyof U>]?: never;
8
+ };
9
+ type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
10
+ type OneOf<T extends any[]> = T extends [infer Only] ? Only : T extends [infer A, infer B, ...infer Rest] ? OneOf<[XOR<A, B>, ...Rest]> : never;
11
+ export interface paths {
12
+ '/v2/commands/submit-and-wait': {
13
+ /** @description Submit a batch of commands and wait for the completion details */
14
+ post: operations['postV2CommandsSubmit-and-wait'];
15
+ };
16
+ '/v2/commands/submit-and-wait-for-transaction': {
17
+ /** @description Submit a batch of commands and wait for the transaction response */
18
+ post: operations['postV2CommandsSubmit-and-wait-for-transaction'];
19
+ };
20
+ '/v2/commands/submit-and-wait-for-reassignment': {
21
+ /** @description Submit a batch of reassignment commands and wait for the reassignment response */
22
+ post: operations['postV2CommandsSubmit-and-wait-for-reassignment'];
23
+ };
24
+ '/v2/commands/submit-and-wait-for-transaction-tree': {
25
+ /** @description Submit a batch of commands and wait for the transaction trees response */
26
+ post: operations['postV2CommandsSubmit-and-wait-for-transaction-tree'];
27
+ };
28
+ '/v2/commands/async/submit': {
29
+ /** @description Submit a command asynchronously */
30
+ post: operations['postV2CommandsAsyncSubmit'];
31
+ };
32
+ '/v2/commands/async/submit-reassignment': {
33
+ /** @description Submit reassignment command asynchronously */
34
+ post: operations['postV2CommandsAsyncSubmit-reassignment'];
35
+ };
36
+ '/v2/commands/completions': {
37
+ /** @description Query completions list (blocking call) */
38
+ post: operations['postV2CommandsCompletions'];
39
+ };
40
+ '/v2/events/events-by-contract-id': {
41
+ /** @description Get events by contract Id */
42
+ post: operations['postV2EventsEvents-by-contract-id'];
43
+ };
44
+ '/v2/version': {
45
+ /** @description Get the version details of the participant node */
46
+ get: operations['getV2Version'];
47
+ };
48
+ '/v2/packages': {
49
+ /** @description List all packages uploaded on the participant node */
50
+ get: operations['getV2Packages'];
51
+ /** @description Upload a DAR to the participant node */
52
+ post: operations['postV2Packages'];
53
+ };
54
+ '/v2/packages/{package-id}': {
55
+ /** @description Download the package for the requested package-id */
56
+ get: operations['getV2PackagesPackage-id'];
57
+ };
58
+ '/v2/packages/{package-id}/status': {
59
+ /** @description Get package status */
60
+ get: operations['getV2PackagesPackage-idStatus'];
61
+ };
62
+ '/v2/parties': {
63
+ /** @description List all known parties. */
64
+ get: operations['getV2Parties'];
65
+ /** @description Allocate a new party to the participant node */
66
+ post: operations['postV2Parties'];
67
+ };
68
+ '/v2/parties/participant-id': {
69
+ /** @description Get participant id */
70
+ get: operations['getV2PartiesParticipant-id'];
71
+ };
72
+ '/v2/parties/{party}': {
73
+ /** @description Get party details */
74
+ get: operations['getV2PartiesParty'];
75
+ /** @description Allocate a new party to the participant node */
76
+ patch: operations['patchV2PartiesParty'];
77
+ };
78
+ '/v2/state/active-contracts': {
79
+ /** @description Query active contracts list (blocking call) */
80
+ post: operations['postV2StateActive-contracts'];
81
+ };
82
+ '/v2/state/connected-synchronizers': {
83
+ /** @description Get connected synchronizers */
84
+ get: operations['getV2StateConnected-synchronizers'];
85
+ };
86
+ '/v2/state/ledger-end': {
87
+ /** @description Get ledger end */
88
+ get: operations['getV2StateLedger-end'];
89
+ };
90
+ '/v2/state/latest-pruned-offsets': {
91
+ /** @description Get latest pruned offsets */
92
+ get: operations['getV2StateLatest-pruned-offsets'];
93
+ };
94
+ '/v2/updates/flats': {
95
+ /** @description Query flat transactions update list (blocking call) */
96
+ post: operations['postV2UpdatesFlats'];
97
+ };
98
+ '/v2/updates/trees': {
99
+ /** @description Query update transactions tree list (blocking call) */
100
+ post: operations['postV2UpdatesTrees'];
101
+ };
102
+ '/v2/updates/transaction-tree-by-offset/{offset}': {
103
+ /** @description Get transaction tree by offset */
104
+ get: operations['getV2UpdatesTransaction-tree-by-offsetOffset'];
105
+ };
106
+ '/v2/updates/transaction-by-offset': {
107
+ /** @description Get transaction by offset */
108
+ post: operations['postV2UpdatesTransaction-by-offset'];
109
+ };
110
+ '/v2/updates/update-by-offset': {
111
+ /** @description Get update by offset */
112
+ post: operations['postV2UpdatesUpdate-by-offset'];
113
+ };
114
+ '/v2/updates/transaction-by-id': {
115
+ /** @description Get transaction by id */
116
+ post: operations['postV2UpdatesTransaction-by-id'];
117
+ };
118
+ '/v2/updates/update-by-id': {
119
+ /** @description Get update by id */
120
+ post: operations['postV2UpdatesUpdate-by-id'];
121
+ };
122
+ '/v2/updates/transaction-tree-by-id/{update-id}': {
123
+ /** @description Get transaction tree by id */
124
+ get: operations['getV2UpdatesTransaction-tree-by-idUpdate-id'];
125
+ };
126
+ '/v2/users': {
127
+ /** @description List all users. */
128
+ get: operations['getV2Users'];
129
+ /** @description Create user. */
130
+ post: operations['postV2Users'];
131
+ };
132
+ '/v2/users/{user-id}': {
133
+ /** @description Get user details. */
134
+ get: operations['getV2UsersUser-id'];
135
+ /** @description Delete user. */
136
+ delete: operations['deleteV2UsersUser-id'];
137
+ /** @description Update user. */
138
+ patch: operations['patchV2UsersUser-id'];
139
+ };
140
+ '/v2/users/{user-id}/rights': {
141
+ /** @description List user rights. */
142
+ get: operations['getV2UsersUser-idRights'];
143
+ /** @description Grant user rights. */
144
+ post: operations['postV2UsersUser-idRights'];
145
+ /** @description Revoke user rights. */
146
+ patch: operations['patchV2UsersUser-idRights'];
147
+ };
148
+ '/v2/users/{user-id}/identity-provider-id': {
149
+ /** @description Update user identity provider. */
150
+ patch: operations['patchV2UsersUser-idIdentity-provider-id'];
151
+ };
152
+ '/v2/idps': {
153
+ /** @description List all identity provider configs */
154
+ get: operations['getV2Idps'];
155
+ /** @description Create identity provider configs */
156
+ post: operations['postV2Idps'];
157
+ };
158
+ '/v2/idps/{idp-id}': {
159
+ /** @description Get identity provider config */
160
+ get: operations['getV2IdpsIdp-id'];
161
+ /** @description Delete identity provider config */
162
+ delete: operations['deleteV2IdpsIdp-id'];
163
+ /** @description Update identity provider config */
164
+ patch: operations['patchV2IdpsIdp-id'];
165
+ };
166
+ '/v2/interactive-submission/prepare': {
167
+ /** @description Prepare commands for signing */
168
+ post: operations['postV2Interactive-submissionPrepare'];
169
+ };
170
+ '/v2/interactive-submission/execute': {
171
+ /** @description Execute a signed transaction */
172
+ post: operations['postV2Interactive-submissionExecute'];
173
+ };
174
+ '/v2/interactive-submission/preferred-package-version': {
175
+ /** @description Get the preferred package version for constructing a command submission */
176
+ get: operations['getV2Interactive-submissionPreferred-package-version'];
177
+ };
178
+ }
179
+ export type webhooks = Record<string, never>;
180
+ export interface components {
181
+ schemas: {
182
+ /**
183
+ * AllocatePartyRequest
184
+ * @description Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)``
185
+ */
186
+ AllocatePartyRequest: {
187
+ /**
188
+ * @description A hint to the participant which party ID to allocate. It can be
189
+ * ignored.
190
+ * Must be a valid PartyIdString (as described in ``value.proto``).
191
+ * Optional
192
+ */
193
+ partyIdHint: string;
194
+ /**
195
+ * @description Formerly "display_name"
196
+ * Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party.
197
+ * Optional
198
+ */
199
+ localMetadata?: components['schemas']['ObjectMeta'];
200
+ /**
201
+ * @description The id of the ``Identity Provider``
202
+ * Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
203
+ */
204
+ identityProviderId: string;
205
+ };
206
+ /** AllocatePartyResponse */
207
+ AllocatePartyResponse: {
208
+ partyDetails?: components['schemas']['PartyDetails'];
209
+ };
210
+ /**
211
+ * ArchivedEvent
212
+ * @description Records that a contract has been archived, and choices may no longer be exercised on it.
213
+ */
214
+ ArchivedEvent: {
215
+ /**
216
+ * Format: int64
217
+ * @description The offset of origin.
218
+ * Offsets are managed by the participant nodes.
219
+ * Transactions can thus NOT be assumed to have the same offsets on different participant nodes.
220
+ * Required, it is a valid absolute offset (positive integer)
221
+ */
222
+ offset: number;
223
+ /**
224
+ * Format: int32
225
+ * @description The position of this event in the originating transaction or reassignment.
226
+ * Node IDs are not necessarily equal across participants,
227
+ * as these may see different projections/parts of transactions.
228
+ * Required, must be valid node ID (non-negative integer)
229
+ */
230
+ nodeId: number;
231
+ /**
232
+ * @description The ID of the archived contract.
233
+ * Must be a valid LedgerString (as described in ``value.proto``).
234
+ * Required
235
+ */
236
+ contractId: string;
237
+ /**
238
+ * @description The template of the archived contract.
239
+ * The identifier uses the package-id reference format.
240
+ *
241
+ * Required
242
+ */
243
+ templateId: string;
244
+ /**
245
+ * @description The parties that are notified of this event. For an ``ArchivedEvent``,
246
+ * these are the intersection of the stakeholders of the contract in
247
+ * question and the parties specified in the ``TransactionFilter``. The
248
+ * stakeholders are the union of the signatories and the observers of
249
+ * the contract.
250
+ * Each one of its elements must be a valid PartyIdString (as described
251
+ * in ``value.proto``).
252
+ * Required
253
+ */
254
+ witnessParties?: string[];
255
+ /**
256
+ * @description The package name of the contract.
257
+ * Required
258
+ */
259
+ packageName: string;
260
+ /**
261
+ * @description The interfaces implemented by the target template that have been
262
+ * matched from the interface filter query.
263
+ * Populated only in case interface filters with include_interface_view set.
264
+ *
265
+ * If defined, the identifier uses the package-id reference format.
266
+ *
267
+ * Optional
268
+ */
269
+ implementedInterfaces?: string[];
270
+ };
271
+ /**
272
+ * AssignCommand
273
+ * @description Assign a contract
274
+ */
275
+ AssignCommand: {
276
+ value: components['schemas']['AssignCommand1'];
277
+ };
278
+ /**
279
+ * AssignCommand
280
+ * @description Assign a contract
281
+ */
282
+ AssignCommand1: {
283
+ /**
284
+ * @description The ID from the unassigned event to be completed by this assignment.
285
+ * Must be a valid LedgerString (as described in ``value.proto``).
286
+ * Required
287
+ */
288
+ unassignId: string;
289
+ /**
290
+ * @description The ID of the source synchronizer
291
+ * Must be a valid synchronizer id
292
+ * Required
293
+ */
294
+ source: string;
295
+ /**
296
+ * @description The ID of the target synchronizer
297
+ * Must be a valid synchronizer id
298
+ * Required
299
+ */
300
+ target: string;
301
+ };
302
+ /** CanActAs */
303
+ CanActAs: {
304
+ value: components['schemas']['CanActAs1'];
305
+ };
306
+ /** CanActAs */
307
+ CanActAs1: {
308
+ party: string;
309
+ };
310
+ /** CanReadAs */
311
+ CanReadAs: {
312
+ value: components['schemas']['CanReadAs1'];
313
+ };
314
+ /** CanReadAs */
315
+ CanReadAs1: {
316
+ party: string;
317
+ };
318
+ /** CanReadAsAnyParty */
319
+ CanReadAsAnyParty: {
320
+ value: components['schemas']['CanReadAsAnyParty1'];
321
+ };
322
+ /** CanReadAsAnyParty */
323
+ CanReadAsAnyParty1: Record<string, never>;
324
+ /**
325
+ * Command
326
+ * @description A command can either create a new contract or exercise a choice on an existing contract.
327
+ */
328
+ Command: OneOf<[
329
+ {
330
+ CreateAndExerciseCommand: components['schemas']['CreateAndExerciseCommand'];
331
+ },
332
+ {
333
+ CreateCommand: components['schemas']['CreateCommand'];
334
+ },
335
+ {
336
+ ExerciseByKeyCommand: components['schemas']['ExerciseByKeyCommand'];
337
+ },
338
+ {
339
+ ExerciseCommand: components['schemas']['ExerciseCommand'];
340
+ }
341
+ ]>;
342
+ /**
343
+ * Command
344
+ * @description A command can either create a new contract or exercise a choice on an existing contract.
345
+ */
346
+ Command1: OneOf<[
347
+ {
348
+ AssignCommand: components['schemas']['AssignCommand'];
349
+ },
350
+ {
351
+ Empty: components['schemas']['Empty2'];
352
+ },
353
+ {
354
+ UnassignCommand: components['schemas']['UnassignCommand'];
355
+ }
356
+ ]>;
357
+ /**
358
+ * Completion
359
+ * @description A completion represents the status of a submitted command on the ledger: it can be successful or failed.
360
+ */
361
+ Completion: {
362
+ value: components['schemas']['Completion1'];
363
+ };
364
+ /**
365
+ * Completion
366
+ * @description A completion represents the status of a submitted command on the ledger: it can be successful or failed.
367
+ */
368
+ Completion1: {
369
+ /**
370
+ * @description The ID of the succeeded or failed command.
371
+ * Must be a valid LedgerString (as described in ``value.proto``).
372
+ * Required
373
+ */
374
+ commandId: string;
375
+ /**
376
+ * @description Identifies the exact type of the error.
377
+ * It uses the same format of conveying error details as it is used for the RPC responses of the APIs.
378
+ * Optional
379
+ */
380
+ status?: components['schemas']['Status'];
381
+ /**
382
+ * @description The update_id of the transaction or reassignment that resulted from the command with command_id.
383
+ * Only set for successfully executed commands.
384
+ * Must be a valid LedgerString (as described in ``value.proto``).
385
+ */
386
+ updateId: string;
387
+ /**
388
+ * @description The user-id that was used for the submission, as described in ``commands.proto``.
389
+ * Must be a valid UserIdString (as described in ``value.proto``).
390
+ * Optional for historic completions where this data is not available.
391
+ */
392
+ userId: string;
393
+ /**
394
+ * @description The set of parties on whose behalf the commands were executed.
395
+ * Contains the ``act_as`` parties from ``commands.proto``
396
+ * filtered to the requesting parties in CompletionStreamRequest.
397
+ * The order of the parties need not be the same as in the submission.
398
+ * Each element must be a valid PartyIdString (as described in ``value.proto``).
399
+ * Optional for historic completions where this data is not available.
400
+ */
401
+ actAs?: string[];
402
+ /**
403
+ * @description The submission ID this completion refers to, as described in ``commands.proto``.
404
+ * Must be a valid LedgerString (as described in ``value.proto``).
405
+ * Optional
406
+ */
407
+ submissionId: string;
408
+ deduplicationPeriod: components['schemas']['DeduplicationPeriod1'];
409
+ /**
410
+ * @description Optional; ledger API trace context
411
+ *
412
+ * The trace context transported in this message corresponds to the trace context supplied
413
+ * by the client application in a HTTP2 header of the original command submission.
414
+ * We typically use a header to transfer this type of information. Here we use message
415
+ * body, because it is used in gRPC streams which do not support per message headers.
416
+ * This field will be populated with the trace context contained in the original submission.
417
+ * If that was not provided, a unique ledger-api-server generated trace context will be used
418
+ * instead.
419
+ */
420
+ traceContext?: components['schemas']['TraceContext'];
421
+ /**
422
+ * Format: int64
423
+ * @description May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
424
+ * Required, must be a valid absolute offset (positive integer).
425
+ */
426
+ offset: number;
427
+ /**
428
+ * @description The synchronizer along with its record time.
429
+ * The synchronizer id provided, in case of
430
+ *
431
+ * - successful/failed transactions: identifies the synchronizer of the transaction
432
+ * - for successful/failed unassign commands: identifies the source synchronizer
433
+ * - for successful/failed assign commands: identifies the target synchronizer
434
+ *
435
+ * Required
436
+ */
437
+ synchronizerTime?: components['schemas']['SynchronizerTime'];
438
+ };
439
+ /** CompletionResponse */
440
+ CompletionResponse: OneOf<[
441
+ {
442
+ Completion: components['schemas']['Completion'];
443
+ },
444
+ {
445
+ Empty: components['schemas']['Empty4'];
446
+ },
447
+ {
448
+ OffsetCheckpoint: components['schemas']['OffsetCheckpoint'];
449
+ }
450
+ ]>;
451
+ /** CompletionStreamRequest */
452
+ CompletionStreamRequest: {
453
+ /**
454
+ * @description Only completions of commands submitted with the same user_id will be visible in the stream.
455
+ * Must be a valid UserIdString (as described in ``value.proto``).
456
+ * Required unless authentication is used with a user token.
457
+ * In that case, the token's user-id will be used for the request's user_id.
458
+ */
459
+ userId: string;
460
+ /**
461
+ * @description Non-empty list of parties whose data should be included.
462
+ * The stream shows only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties.
463
+ * Must be a valid PartyIdString (as described in ``value.proto``).
464
+ * Required
465
+ */
466
+ parties?: string[];
467
+ /**
468
+ * Format: int64
469
+ * @description This optional field indicates the minimum offset for completions. This can be used to resume an earlier completion stream.
470
+ * If not set the ledger uses the ledger begin offset instead.
471
+ * If specified, it must be a valid absolute offset (positive integer) or zero (ledger begin offset).
472
+ * If the ledger has been pruned, this parameter must be specified and greater than the pruning offset.
473
+ */
474
+ beginExclusive: number;
475
+ };
476
+ /** CompletionStreamResponse */
477
+ CompletionStreamResponse: {
478
+ completionResponse: components['schemas']['CompletionResponse'];
479
+ };
480
+ /** ConnectedSynchronizer */
481
+ ConnectedSynchronizer: {
482
+ synchronizerAlias: string;
483
+ synchronizerId: string;
484
+ permission: string;
485
+ };
486
+ /**
487
+ * CreateAndExerciseCommand
488
+ * @description Create a contract and exercise a choice on it in the same transaction.
489
+ */
490
+ CreateAndExerciseCommand: {
491
+ /**
492
+ * @description The template of the contract the client wants to create.
493
+ * Both package-name and package-id reference identifier formats for the template-id are supported.
494
+ * Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
495
+ *
496
+ * Required
497
+ */
498
+ templateId: string;
499
+ /**
500
+ * @description The arguments required for creating a contract from this template.
501
+ * Required
502
+ */
503
+ createArguments: unknown;
504
+ /**
505
+ * @description The name of the choice the client wants to exercise.
506
+ * Must be a valid NameString (as described in ``value.proto``).
507
+ * Required
508
+ */
509
+ choice: string;
510
+ /**
511
+ * @description The argument for this choice.
512
+ * Required
513
+ */
514
+ choiceArgument: unknown;
515
+ };
516
+ /**
517
+ * CreateCommand
518
+ * @description Create a new contract instance based on a template.
519
+ */
520
+ CreateCommand: {
521
+ /**
522
+ * @description The template of contract the client wants to create.
523
+ * Both package-name and package-id reference identifier formats for the template-id are supported.
524
+ * Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
525
+ *
526
+ * Required
527
+ */
528
+ templateId: string;
529
+ /**
530
+ * @description The arguments required for creating a contract from this template.
531
+ * Required
532
+ */
533
+ createArguments: unknown;
534
+ };
535
+ /** CreateIdentityProviderConfigRequest */
536
+ CreateIdentityProviderConfigRequest: {
537
+ /** @description Required */
538
+ identityProviderConfig?: components['schemas']['IdentityProviderConfig'];
539
+ };
540
+ /** CreateIdentityProviderConfigResponse */
541
+ CreateIdentityProviderConfigResponse: {
542
+ identityProviderConfig?: components['schemas']['IdentityProviderConfig'];
543
+ };
544
+ /**
545
+ * CreateUserRequest
546
+ * @description RPC requests and responses
547
+ * ///////////////////////////
548
+ * Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(user.identity_provider_id)``
549
+ */
550
+ CreateUserRequest: {
551
+ /**
552
+ * @description The user to create.
553
+ * Required
554
+ */
555
+ user?: components['schemas']['User'];
556
+ /**
557
+ * @description The rights to be assigned to the user upon creation,
558
+ * which SHOULD include appropriate rights for the ``user.primary_party``.
559
+ * Optional
560
+ */
561
+ rights?: components['schemas']['Right'][];
562
+ };
563
+ /** CreateUserResponse */
564
+ CreateUserResponse: {
565
+ /** @description Created user. */
566
+ user?: components['schemas']['User'];
567
+ };
568
+ /**
569
+ * CreatedEvent
570
+ * @description Records that a contract has been created, and choices may now be exercised on it.
571
+ */
572
+ CreatedEvent: {
573
+ /**
574
+ * Format: int64
575
+ * @description The offset of origin, which has contextual meaning, please see description at messages that include a CreatedEvent.
576
+ * Offsets are managed by the participant nodes.
577
+ * Transactions can thus NOT be assumed to have the same offsets on different participant nodes.
578
+ * Required, it is a valid absolute offset (positive integer)
579
+ */
580
+ offset: number;
581
+ /**
582
+ * Format: int32
583
+ * @description The position of this event in the originating transaction or reassignment.
584
+ * The origin has contextual meaning, please see description at messages that include a CreatedEvent.
585
+ * Node IDs are not necessarily equal across participants,
586
+ * as these may see different projections/parts of transactions.
587
+ * Required, must be valid node ID (non-negative integer)
588
+ */
589
+ nodeId: number;
590
+ /**
591
+ * @description The ID of the created contract.
592
+ * Must be a valid LedgerString (as described in ``value.proto``).
593
+ * Required
594
+ */
595
+ contractId: string;
596
+ /**
597
+ * @description The template of the created contract.
598
+ * The identifier uses the package-id reference format.
599
+ *
600
+ * Required
601
+ */
602
+ templateId: string;
603
+ /**
604
+ * @description The key of the created contract.
605
+ * This will be set if and only if ``create_arguments`` is set and ``template_id`` defines a contract key.
606
+ * Optional
607
+ */
608
+ contractKey?: unknown;
609
+ createArgument?: unknown;
610
+ /**
611
+ * @description Opaque representation of contract create event payload intended for forwarding
612
+ * to an API server as a contract disclosed as part of a command
613
+ * submission.
614
+ * Optional
615
+ */
616
+ createdEventBlob: string;
617
+ /**
618
+ * @description Interface views specified in the transaction filter.
619
+ * Includes an ``InterfaceView`` for each interface for which there is a ``InterfaceFilter`` with
620
+ *
621
+ * - its party in the ``witness_parties`` of this event,
622
+ * - and which is implemented by the template of this event,
623
+ * - and which has ``include_interface_view`` set.
624
+ *
625
+ * Optional
626
+ */
627
+ interfaceViews?: components['schemas']['JsInterfaceView'][];
628
+ /**
629
+ * @description The parties that are notified of this event. When a ``CreatedEvent``
630
+ * is returned as part of a transaction tree or ledger-effects transaction, this will include all
631
+ * the parties specified in the ``TransactionFilter`` that are informees
632
+ * of the event. If served as part of a ACS delta transaction those will
633
+ * be limited to all parties specified in the ``TransactionFilter`` that
634
+ * are stakeholders of the contract (i.e. either signatories or observers).
635
+ * If the ``CreatedEvent`` is returned as part of an AssignedEvent,
636
+ * ActiveContract or IncompleteUnassigned (so the event is related to
637
+ * an assignment or unassignment): this will include all parties of the
638
+ * ``TransactionFilter`` that are stakeholders of the contract.
639
+ *
640
+ * The behavior of reading create events visible to parties not hosted
641
+ * on the participant node serving the Ledger API is undefined. Concretely,
642
+ * there is neither a guarantee that the participant node will serve all their
643
+ * create events on the ACS stream, nor is there a guarantee that matching archive
644
+ * events are delivered for such create events.
645
+ *
646
+ * For most clients this is not a problem, as they only read events for parties
647
+ * that are hosted on the participant node. If you need to read events
648
+ * for parties that may not be hosted at all times on the participant node,
649
+ * subscribe to the ``TopologyEvent``s for that party by setting a corresponding
650
+ * ``UpdateFormat``. Using these events, query the ACS as-of an offset where the
651
+ * party is hosted on the participant node, and ignore create events at offsets
652
+ * where the party is not hosted on the participant node.
653
+ * Required
654
+ */
655
+ witnessParties?: string[];
656
+ /**
657
+ * @description The signatories for this contract as specified by the template.
658
+ * Required
659
+ */
660
+ signatories?: string[];
661
+ /**
662
+ * @description The observers for this contract as specified explicitly by the template or implicitly as choice controllers.
663
+ * This field never contains parties that are signatories.
664
+ * Required
665
+ */
666
+ observers?: string[];
667
+ /**
668
+ * @description Ledger effective time of the transaction that created the contract.
669
+ * Required
670
+ */
671
+ createdAt: string;
672
+ /**
673
+ * @description The package name of the created contract.
674
+ * Required
675
+ */
676
+ packageName: string;
677
+ };
678
+ /** CreatedTreeEvent */
679
+ CreatedTreeEvent: {
680
+ value: components['schemas']['CreatedEvent'];
681
+ };
682
+ /**
683
+ * CumulativeFilter
684
+ * @description A filter that matches all contracts that are either an instance of one of
685
+ * the ``template_filters`` or that match one of the ``interface_filters``.
686
+ */
687
+ CumulativeFilter: {
688
+ identifierFilter: components['schemas']['IdentifierFilter'];
689
+ };
690
+ /** DeduplicationDuration */
691
+ DeduplicationDuration: {
692
+ value: components['schemas']['Duration'];
693
+ };
694
+ /** DeduplicationDuration */
695
+ DeduplicationDuration1: {
696
+ value: components['schemas']['Duration'];
697
+ };
698
+ /** DeduplicationDuration */
699
+ DeduplicationDuration2: {
700
+ value: components['schemas']['Duration'];
701
+ };
702
+ /** DeduplicationOffset */
703
+ DeduplicationOffset: {
704
+ /** Format: int64 */
705
+ value: number;
706
+ };
707
+ /** DeduplicationOffset */
708
+ DeduplicationOffset1: {
709
+ /** Format: int64 */
710
+ value: number;
711
+ };
712
+ /** DeduplicationOffset */
713
+ DeduplicationOffset2: {
714
+ /** Format: int64 */
715
+ value: number;
716
+ };
717
+ /**
718
+ * DeduplicationPeriod
719
+ * @description Specifies the deduplication period for the change ID.
720
+ * If omitted, the participant will assume the configured maximum deduplication time.
721
+ */
722
+ DeduplicationPeriod: OneOf<[
723
+ {
724
+ DeduplicationDuration: components['schemas']['DeduplicationDuration'];
725
+ },
726
+ {
727
+ DeduplicationOffset: components['schemas']['DeduplicationOffset'];
728
+ },
729
+ {
730
+ Empty: components['schemas']['Empty'];
731
+ }
732
+ ]>;
733
+ /**
734
+ * DeduplicationPeriod
735
+ * @description The actual deduplication window used for the submission, which is derived from
736
+ * ``Commands.deduplication_period``. The ledger may convert the deduplication period into other
737
+ * descriptions and extend the period in implementation-specified ways.
738
+ *
739
+ * Used to audit the deduplication guarantee described in ``commands.proto``.
740
+ *
741
+ * Optional; the deduplication guarantee applies even if the completion omits this field.
742
+ */
743
+ DeduplicationPeriod1: OneOf<[
744
+ {
745
+ DeduplicationDuration: components['schemas']['DeduplicationDuration1'];
746
+ },
747
+ {
748
+ DeduplicationOffset: components['schemas']['DeduplicationOffset1'];
749
+ },
750
+ {
751
+ Empty: components['schemas']['Empty3'];
752
+ }
753
+ ]>;
754
+ /**
755
+ * DeduplicationPeriod
756
+ * @description Specifies the deduplication period for the change ID (See PrepareSubmissionRequest).
757
+ * If omitted, the participant will assume the configured maximum deduplication time.
758
+ */
759
+ DeduplicationPeriod2: OneOf<[
760
+ {
761
+ DeduplicationDuration: components['schemas']['DeduplicationDuration2'];
762
+ },
763
+ {
764
+ DeduplicationOffset: components['schemas']['DeduplicationOffset2'];
765
+ },
766
+ {
767
+ Empty: components['schemas']['Empty7'];
768
+ }
769
+ ]>;
770
+ /**
771
+ * DeleteIdentityProviderConfigResponse
772
+ * @description Does not (yet) contain any data.
773
+ */
774
+ DeleteIdentityProviderConfigResponse: Record<string, never>;
775
+ /**
776
+ * DisclosedContract
777
+ * @description An additional contract that is used to resolve
778
+ * contract & contract key lookups.
779
+ */
780
+ DisclosedContract: {
781
+ /**
782
+ * @description The template id of the contract.
783
+ * The identifier uses the package-id reference format.
784
+ *
785
+ * Required
786
+ */
787
+ templateId?: string;
788
+ /**
789
+ * @description The contract id
790
+ * Required
791
+ */
792
+ contractId: string;
793
+ /**
794
+ * @description Opaque byte string containing the complete payload required by the Daml engine
795
+ * to reconstruct a contract not known to the receiving participant.
796
+ * Required
797
+ */
798
+ createdEventBlob: string;
799
+ /**
800
+ * @description The ID of the synchronizer where the contract is currently assigned
801
+ * Optional
802
+ */
803
+ synchronizerId: string;
804
+ };
805
+ /** Duration */
806
+ Duration: {
807
+ /** Format: int64 */
808
+ seconds: number;
809
+ /** Format: int32 */
810
+ nanos: number;
811
+ /** @description This field is automatically added as part of protobuf to json mapping */
812
+ unknownFields?: components['schemas']['UnknownFieldSet'];
813
+ };
814
+ /** Empty */
815
+ Empty: Record<string, never>;
816
+ /** Empty */
817
+ Empty1: Record<string, never>;
818
+ /** Empty */
819
+ Empty2: Record<string, never>;
820
+ /** Empty */
821
+ Empty3: Record<string, never>;
822
+ /** Empty */
823
+ Empty4: Record<string, never>;
824
+ /** Empty */
825
+ Empty5: Record<string, never>;
826
+ /** Empty */
827
+ Empty6: Record<string, never>;
828
+ /** Empty */
829
+ Empty7: Record<string, never>;
830
+ /**
831
+ * Event
832
+ * @description Events in transactions can have two primary shapes:
833
+ *
834
+ * - ACS delta: events can be CreatedEvent or ArchivedEvent
835
+ * - ledger effects: events can be CreatedEvent or ExercisedEvent
836
+ *
837
+ * In the update service the events are restricted to the events
838
+ * visible for the parties specified in the transaction filter. Each
839
+ * event message type below contains a ``witness_parties`` field which
840
+ * indicates the subset of the requested parties that can see the event
841
+ * in question.
842
+ */
843
+ Event: OneOf<[
844
+ {
845
+ ArchivedEvent: components['schemas']['ArchivedEvent'];
846
+ },
847
+ {
848
+ CreatedEvent: components['schemas']['CreatedEvent'];
849
+ },
850
+ {
851
+ ExercisedEvent: components['schemas']['ExercisedEvent'];
852
+ }
853
+ ]>;
854
+ /**
855
+ * EventFormat
856
+ * @description A format for events which defines both which events should be included
857
+ * and what data should be computed and included for them.
858
+ *
859
+ * Note that some of the filtering behavior depends on the `TransactionShape`,
860
+ * which is expected to be specified alongside usages of `EventFormat`.
861
+ */
862
+ EventFormat: {
863
+ /**
864
+ * @description Each key must be a valid PartyIdString (as described in ``value.proto``).
865
+ * The interpretation of the filter depends on the transaction-shape being filtered:
866
+ *
867
+ * 1. For **ledger-effects** create and exercise events are returned, for which the witnesses include at least one of
868
+ * the listed parties and match the per-party filter.
869
+ * 2. For **transaction and active-contract-set streams** create and archive events are returned for all contracts whose
870
+ * stakeholders include at least one of the listed parties and match the per-party filter.
871
+ *
872
+ * Optional
873
+ */
874
+ filtersByParty: components['schemas']['Map_Filters'];
875
+ /**
876
+ * @description Wildcard filters that apply to all the parties existing on the participant. The interpretation of the filters is the same
877
+ * with the per-party filter as described above.
878
+ * Optional
879
+ */
880
+ filtersForAnyParty?: components['schemas']['Filters'];
881
+ /**
882
+ * @description If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
883
+ * In particular, setting the verbose flag to true triggers the ledger to include labels for record fields.
884
+ * Optional
885
+ */
886
+ verbose: boolean;
887
+ };
888
+ /** ExecuteSubmissionResponse */
889
+ ExecuteSubmissionResponse: Record<string, never>;
890
+ /**
891
+ * ExerciseByKeyCommand
892
+ * @description Exercise a choice on an existing contract specified by its key.
893
+ */
894
+ ExerciseByKeyCommand: {
895
+ /**
896
+ * @description The template of contract the client wants to exercise.
897
+ * Both package-name and package-id reference identifier formats for the template-id are supported.
898
+ * Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
899
+ *
900
+ * Required
901
+ */
902
+ templateId: string;
903
+ /**
904
+ * @description The key of the contract the client wants to exercise upon.
905
+ * Required
906
+ */
907
+ contractKey: unknown;
908
+ /**
909
+ * @description The name of the choice the client wants to exercise.
910
+ * Must be a valid NameString (as described in ``value.proto``)
911
+ * Required
912
+ */
913
+ choice: string;
914
+ /**
915
+ * @description The argument for this choice.
916
+ * Required
917
+ */
918
+ choiceArgument: unknown;
919
+ };
920
+ /**
921
+ * ExerciseCommand
922
+ * @description Exercise a choice on an existing contract.
923
+ */
924
+ ExerciseCommand: {
925
+ /**
926
+ * @description The template of contract the client wants to exercise.
927
+ * Both package-name and package-id reference identifier formats for the template-id are supported.
928
+ * Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
929
+ *
930
+ * Required
931
+ */
932
+ templateId: string;
933
+ /**
934
+ * @description The ID of the contract the client wants to exercise upon.
935
+ * Must be a valid LedgerString (as described in ``value.proto``).
936
+ * Required
937
+ */
938
+ contractId: string;
939
+ /**
940
+ * @description The name of the choice the client wants to exercise.
941
+ * Must be a valid NameString (as described in ``value.proto``)
942
+ * Required
943
+ */
944
+ choice: string;
945
+ /**
946
+ * @description The argument for this choice.
947
+ * Required
948
+ */
949
+ choiceArgument: unknown;
950
+ };
951
+ /**
952
+ * ExercisedEvent
953
+ * @description Records that a choice has been exercised on a target contract.
954
+ */
955
+ ExercisedEvent: {
956
+ /**
957
+ * Format: int64
958
+ * @description The offset of origin.
959
+ * Offsets are managed by the participant nodes.
960
+ * Transactions can thus NOT be assumed to have the same offsets on different participant nodes.
961
+ * Required, it is a valid absolute offset (positive integer)
962
+ */
963
+ offset: number;
964
+ /**
965
+ * Format: int32
966
+ * @description The position of this event in the originating transaction or reassignment.
967
+ * Node IDs are not necessarily equal across participants,
968
+ * as these may see different projections/parts of transactions.
969
+ * Required, must be valid node ID (non-negative integer)
970
+ */
971
+ nodeId: number;
972
+ /**
973
+ * @description The ID of the target contract.
974
+ * Must be a valid LedgerString (as described in ``value.proto``).
975
+ * Required
976
+ */
977
+ contractId: string;
978
+ /**
979
+ * @description The template of the target contract.
980
+ * The identifier uses the package-id reference format.
981
+ *
982
+ * Required
983
+ */
984
+ templateId: string;
985
+ /**
986
+ * @description The interface where the choice is defined, if inherited.
987
+ * If defined, the identifier uses the package-id reference format.
988
+ *
989
+ * Optional
990
+ */
991
+ interfaceId?: string;
992
+ /**
993
+ * @description The choice that was exercised on the target contract.
994
+ * Must be a valid NameString (as described in ``value.proto``).
995
+ * Required
996
+ */
997
+ choice: string;
998
+ /**
999
+ * @description The argument of the exercised choice.
1000
+ * Required
1001
+ */
1002
+ choiceArgument: unknown;
1003
+ /**
1004
+ * @description The parties that exercised the choice.
1005
+ * Each element must be a valid PartyIdString (as described in ``value.proto``).
1006
+ * Required
1007
+ */
1008
+ actingParties?: string[];
1009
+ /**
1010
+ * @description If true, the target contract may no longer be exercised.
1011
+ * Required
1012
+ */
1013
+ consuming: boolean;
1014
+ /**
1015
+ * @description The parties that are notified of this event. The witnesses of an exercise
1016
+ * node will depend on whether the exercise was consuming or not.
1017
+ * If consuming, the witnesses are the union of the stakeholders and
1018
+ * the actors.
1019
+ * If not consuming, the witnesses are the union of the signatories and
1020
+ * the actors. Note that the actors might not necessarily be observers
1021
+ * and thus signatories. This is the case when the controllers of a
1022
+ * choice are specified using "flexible controllers", using the
1023
+ * ``choice ... controller`` syntax, and said controllers are not
1024
+ * explicitly marked as observers.
1025
+ * Each element must be a valid PartyIdString (as described in ``value.proto``).
1026
+ * Required
1027
+ */
1028
+ witnessParties?: string[];
1029
+ /**
1030
+ * Format: int32
1031
+ * @description Specifies the upper boundary of the node ids of the events in the same transaction that appeared as a result of
1032
+ * this ``ExercisedEvent``. This allows unambiguous identification of all the members of the subtree rooted at this
1033
+ * node. A full subtree can be constructed when all descendant nodes are present in the stream. If nodes are heavily
1034
+ * filtered, it is only possible to determine if a node is in a consequent subtree or not.
1035
+ * Required
1036
+ */
1037
+ lastDescendantNodeId: number;
1038
+ /**
1039
+ * @description The result of exercising the choice.
1040
+ * Required
1041
+ */
1042
+ exerciseResult: unknown;
1043
+ /**
1044
+ * @description The package name of the contract.
1045
+ * Required
1046
+ */
1047
+ packageName: string;
1048
+ /**
1049
+ * @description If the event is consuming, the interfaces implemented by the target template that have been
1050
+ * matched from the interface filter query.
1051
+ * Populated only in case interface filters with include_interface_view set.
1052
+ *
1053
+ * The identifier uses the package-id reference format.
1054
+ *
1055
+ * Optional
1056
+ */
1057
+ implementedInterfaces?: string[];
1058
+ };
1059
+ /** ExercisedTreeEvent */
1060
+ ExercisedTreeEvent: {
1061
+ value: components['schemas']['ExercisedEvent'];
1062
+ };
1063
+ /**
1064
+ * ExperimentalCommandInspectionService
1065
+ * @description Whether the Ledger API supports command inspection service
1066
+ */
1067
+ ExperimentalCommandInspectionService: {
1068
+ supported: boolean;
1069
+ };
1070
+ /**
1071
+ * ExperimentalFeatures
1072
+ * @description See the feature message definitions for descriptions.
1073
+ */
1074
+ ExperimentalFeatures: {
1075
+ staticTime?: components['schemas']['ExperimentalStaticTime'];
1076
+ commandInspectionService?: components['schemas']['ExperimentalCommandInspectionService'];
1077
+ };
1078
+ /**
1079
+ * ExperimentalStaticTime
1080
+ * @description Ledger is in the static time mode and exposes a time service.
1081
+ */
1082
+ ExperimentalStaticTime: {
1083
+ supported: boolean;
1084
+ };
1085
+ /** FeaturesDescriptor */
1086
+ FeaturesDescriptor: {
1087
+ /**
1088
+ * @description Features under development or features that are used
1089
+ * for ledger implementation testing purposes only.
1090
+ *
1091
+ * Daml applications SHOULD not depend on these in production.
1092
+ */
1093
+ experimental?: components['schemas']['ExperimentalFeatures'];
1094
+ /**
1095
+ * @description If set, then the Ledger API server supports user management.
1096
+ * It is recommended that clients query this field to gracefully adjust their behavior for
1097
+ * ledgers that do not support user management.
1098
+ */
1099
+ userManagement?: components['schemas']['UserManagementFeature'];
1100
+ /**
1101
+ * @description If set, then the Ledger API server supports party management configurability.
1102
+ * It is recommended that clients query this field to gracefully adjust their behavior to
1103
+ * maximum party page size.
1104
+ */
1105
+ partyManagement?: components['schemas']['PartyManagementFeature'];
1106
+ /** @description It contains the timeouts related to the periodic offset checkpoint emission */
1107
+ offsetCheckpoint?: components['schemas']['OffsetCheckpointFeature'];
1108
+ };
1109
+ /** Field */
1110
+ Field: {
1111
+ varint?: number[];
1112
+ fixed64?: number[];
1113
+ fixed32?: number[];
1114
+ lengthDelimited?: string[];
1115
+ };
1116
+ /** FieldMask */
1117
+ FieldMask: {
1118
+ paths?: string[];
1119
+ unknownFields: components['schemas']['UnknownFieldSet'];
1120
+ };
1121
+ /**
1122
+ * Filters
1123
+ * @description The union of a set of template filters, interface filters, or a wildcard.
1124
+ */
1125
+ Filters: {
1126
+ /**
1127
+ * @description Every filter in the cumulative list expands the scope of the resulting stream. Each interface,
1128
+ * template or wildcard filter means additional events that will match the query.
1129
+ * The impact of include_interface_view and include_created_event_blob fields in the filters will
1130
+ * also be accumulated.
1131
+ * A template or an interface SHOULD NOT appear twice in the accumulative field.
1132
+ * A wildcard filter SHOULD NOT be defined more than once in the accumulative field.
1133
+ * Optional, if no ``CumulativeFilter`` defined, the default of a single ``WildcardFilter`` with
1134
+ * include_created_event_blob unset is used.
1135
+ */
1136
+ cumulative?: components['schemas']['CumulativeFilter'][];
1137
+ };
1138
+ /**
1139
+ * GetActiveContractsRequest
1140
+ * @description If the given offset is different than the ledger end, and there are (un)assignments in-flight at the given offset,
1141
+ * the snapshot may fail with "FAILED_PRECONDITION/PARTICIPANT_PRUNED_DATA_ACCESSED".
1142
+ * Note that it is ok to request acs snapshots for party migration with offsets other than ledger end, because party
1143
+ * migration is not concerned with incomplete (un)assignments.
1144
+ */
1145
+ GetActiveContractsRequest: {
1146
+ /**
1147
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1148
+ * Templates to include in the served snapshot, per party.
1149
+ * Optional, if specified event_format must be unset, if not specified event_format must be set.
1150
+ */
1151
+ filter?: components['schemas']['TransactionFilter'];
1152
+ /**
1153
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1154
+ * If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
1155
+ * In particular, setting the verbose flag to true triggers the ledger to include labels for record fields.
1156
+ * Optional, if specified event_format must be unset.
1157
+ */
1158
+ verbose: boolean;
1159
+ /**
1160
+ * Format: int64
1161
+ * @description The offset at which the snapshot of the active contracts will be computed.
1162
+ * Must be no greater than the current ledger end offset.
1163
+ * Must be greater than or equal to the last pruning offset.
1164
+ * Required, must be a valid absolute offset (positive integer) or ledger begin offset (zero).
1165
+ * If zero, the empty set will be returned.
1166
+ */
1167
+ activeAtOffset: number;
1168
+ /**
1169
+ * @description Format of the contract_entries in the result. In case of CreatedEvent the presentation will be of
1170
+ * TRANSACTION_SHAPE_ACS_DELTA.
1171
+ * Optional for backwards compatibility, defaults to an EventFormat where:
1172
+ *
1173
+ * - filters_by_party is the filter.filters_by_party from this request
1174
+ * - filters_for_any_party is the filter.filters_for_any_party from this request
1175
+ * - verbose is the verbose field from this request
1176
+ */
1177
+ eventFormat?: components['schemas']['EventFormat'];
1178
+ };
1179
+ /** GetConnectedSynchronizersResponse */
1180
+ GetConnectedSynchronizersResponse: {
1181
+ connectedSynchronizers?: components['schemas']['ConnectedSynchronizer'][];
1182
+ };
1183
+ /** GetEventsByContractIdRequest */
1184
+ GetEventsByContractIdRequest: {
1185
+ /**
1186
+ * @description The contract id being queried.
1187
+ * Required
1188
+ */
1189
+ contractId: string;
1190
+ /**
1191
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1192
+ * The parties whose events the client expects to see.
1193
+ * The events associated with the contract id will only be returned if the requesting parties includes
1194
+ * at least one party that is a stakeholder of the event. For a definition of stakeholders see
1195
+ * https://docs.daml.com/concepts/ledger-model/ledger-privacy.html#contract-observers-and-stakeholders
1196
+ * Optional, if some parties specified, event_format needs to be unset.
1197
+ */
1198
+ requestingParties?: string[];
1199
+ /**
1200
+ * @description Format of the events in the result, the presentation will be of TRANSACTION_SHAPE_ACS_DELTA.
1201
+ * Optional for backwards compatibility, defaults to an EventFormat where:
1202
+ *
1203
+ * - filters_by_party is a template-wildcard filter for all requesting_parties
1204
+ * - filters_for_any_party is unset
1205
+ * - verbose is set
1206
+ */
1207
+ eventFormat?: components['schemas']['EventFormat'];
1208
+ };
1209
+ /** GetIdentityProviderConfigResponse */
1210
+ GetIdentityProviderConfigResponse: {
1211
+ identityProviderConfig?: components['schemas']['IdentityProviderConfig'];
1212
+ };
1213
+ /** GetLatestPrunedOffsetsResponse */
1214
+ GetLatestPrunedOffsetsResponse: {
1215
+ /**
1216
+ * Format: int64
1217
+ * @description It will always be a non-negative integer.
1218
+ * If positive, the absolute offset up to which the ledger has been pruned,
1219
+ * disregarding the state of all divulged contracts pruning.
1220
+ * If zero, the ledger has not been pruned yet.
1221
+ */
1222
+ participantPrunedUpToInclusive: number;
1223
+ /**
1224
+ * Format: int64
1225
+ * @description It will always be a non-negative integer.
1226
+ * If positive, the absolute offset up to which all divulged events have been pruned on the ledger.
1227
+ * It can be at or before the ``participant_pruned_up_to_inclusive`` offset.
1228
+ * For more details about all divulged events pruning,
1229
+ * see ``PruneRequest.prune_all_divulged_contracts`` in ``participant_pruning_service.proto``.
1230
+ * If zero, the divulged events have not been pruned yet.
1231
+ */
1232
+ allDivulgedContractsPrunedUpToInclusive: number;
1233
+ };
1234
+ /** GetLedgerApiVersionResponse */
1235
+ GetLedgerApiVersionResponse: {
1236
+ /** @description The version of the ledger API. */
1237
+ version: string;
1238
+ /**
1239
+ * @description The features supported by this Ledger API endpoint.
1240
+ *
1241
+ * Daml applications CAN use the feature descriptor on top of
1242
+ * version constraints on the Ledger API version to determine
1243
+ * whether a given Ledger API endpoint supports the features
1244
+ * required to run the application.
1245
+ *
1246
+ * See the feature descriptions themselves for the relation between
1247
+ * Ledger API versions and feature presence.
1248
+ */
1249
+ features?: components['schemas']['FeaturesDescriptor'];
1250
+ };
1251
+ /** GetLedgerEndResponse */
1252
+ GetLedgerEndResponse: {
1253
+ /**
1254
+ * Format: int64
1255
+ * @description It will always be a non-negative integer.
1256
+ * If zero, the participant view of the ledger is empty.
1257
+ * If positive, the absolute offset of the ledger as viewed by the participant.
1258
+ */
1259
+ offset: number;
1260
+ };
1261
+ /** GetPackageStatusResponse */
1262
+ GetPackageStatusResponse: {
1263
+ /** @description The status of the package. */
1264
+ packageStatus: string;
1265
+ };
1266
+ /** GetParticipantIdResponse */
1267
+ GetParticipantIdResponse: {
1268
+ /**
1269
+ * @description Identifier of the participant, which SHOULD be globally unique.
1270
+ * Must be a valid LedgerString (as describe in ``value.proto``).
1271
+ */
1272
+ participantId: string;
1273
+ };
1274
+ /** GetPartiesResponse */
1275
+ GetPartiesResponse: {
1276
+ /**
1277
+ * @description The details of the requested Daml parties by the participant, if known.
1278
+ * The party details may not be in the same order as requested.
1279
+ * Required
1280
+ */
1281
+ partyDetails?: components['schemas']['PartyDetails'][];
1282
+ };
1283
+ /** GetPreferredPackageVersionResponse */
1284
+ GetPreferredPackageVersionResponse: {
1285
+ /**
1286
+ * @description Not populated when no preferred package is found
1287
+ * Optional
1288
+ */
1289
+ packagePreference?: components['schemas']['PackagePreference'];
1290
+ };
1291
+ /**
1292
+ * GetTransactionByIdRequest
1293
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1294
+ */
1295
+ GetTransactionByIdRequest: {
1296
+ /**
1297
+ * @description The ID of a particular transaction.
1298
+ * Must be a valid LedgerString (as described in ``value.proto``).
1299
+ * Required
1300
+ */
1301
+ updateId: string;
1302
+ /**
1303
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1304
+ * The parties whose events the client expects to see.
1305
+ * Events that are not visible for the parties in this collection will not be present in the response.
1306
+ * Each element must be a valid PartyIdString (as described in ``value.proto``).
1307
+ * Must be set for GetTransactionTreeById request.
1308
+ * Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be
1309
+ * unset (falling back to defaults).
1310
+ */
1311
+ requestingParties?: string[];
1312
+ /**
1313
+ * @description Must be unset for GetTransactionTreeById request.
1314
+ * Optional for GetTransactionById request for backwards compatibility: defaults to a transaction_format, where:
1315
+ *
1316
+ * - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties
1317
+ * - event_format.filters_for_any_party is unset
1318
+ * - event_format.verbose = true
1319
+ * - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
1320
+ */
1321
+ transactionFormat?: components['schemas']['TransactionFormat'];
1322
+ };
1323
+ /**
1324
+ * GetTransactionByOffsetRequest
1325
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1326
+ */
1327
+ GetTransactionByOffsetRequest: {
1328
+ /**
1329
+ * Format: int64
1330
+ * @description The offset of the transaction being looked up.
1331
+ * Must be a valid absolute offset (positive integer).
1332
+ * Required
1333
+ */
1334
+ offset: number;
1335
+ /**
1336
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1337
+ * The parties whose events the client expects to see.
1338
+ * Events that are not visible for the parties in this collection will not be present in the response.
1339
+ * Each element must be a valid PartyIdString (as described in ``value.proto``).
1340
+ * Must be set for GetTransactionTreeByOffset request.
1341
+ * Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be
1342
+ * unset (falling back to defaults).
1343
+ */
1344
+ requestingParties?: string[];
1345
+ /**
1346
+ * @description Must be unset for GetTransactionTreeByOffset request.
1347
+ * Optional for GetTransactionByOffset request for backwards compatibility: defaults to a TransactionFormat, where:
1348
+ *
1349
+ * - event_format.filters_by_party will have template-wildcard filters for all the requesting_parties
1350
+ * - event_format.filters_for_any_party is unset
1351
+ * - event_format.verbose = true
1352
+ * - transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
1353
+ */
1354
+ transactionFormat?: components['schemas']['TransactionFormat'];
1355
+ };
1356
+ /** GetUpdateByIdRequest */
1357
+ GetUpdateByIdRequest: {
1358
+ /**
1359
+ * @description The ID of a particular update.
1360
+ * Must be a valid LedgerString (as described in ``value.proto``).
1361
+ * Required
1362
+ */
1363
+ updateId: string;
1364
+ /**
1365
+ * @description The format for the update.
1366
+ * Required
1367
+ */
1368
+ updateFormat?: components['schemas']['UpdateFormat'];
1369
+ };
1370
+ /** GetUpdateByOffsetRequest */
1371
+ GetUpdateByOffsetRequest: {
1372
+ /**
1373
+ * Format: int64
1374
+ * @description The offset of the update being looked up.
1375
+ * Must be a valid absolute offset (positive integer).
1376
+ * Required
1377
+ */
1378
+ offset: number;
1379
+ /**
1380
+ * @description The format for the update.
1381
+ * Required
1382
+ */
1383
+ updateFormat?: components['schemas']['UpdateFormat'];
1384
+ };
1385
+ /** GetUpdatesRequest */
1386
+ GetUpdatesRequest: {
1387
+ /**
1388
+ * Format: int64
1389
+ * @description Beginning of the requested ledger section (non-negative integer).
1390
+ * The response will only contain transactions whose offset is strictly greater than this.
1391
+ * If zero, the stream will start from the beginning of the ledger.
1392
+ * If positive, the streaming will start after this absolute offset.
1393
+ * If the ledger has been pruned, this parameter must be specified and be greater than the pruning offset.
1394
+ */
1395
+ beginExclusive: number;
1396
+ /**
1397
+ * Format: int64
1398
+ * @description End of the requested ledger section.
1399
+ * The response will only contain transactions whose offset is less than or equal to this.
1400
+ * Optional, if empty, the stream will not terminate.
1401
+ * If specified, the stream will terminate after this absolute offset (positive integer) is reached.
1402
+ */
1403
+ endInclusive?: number;
1404
+ /**
1405
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1406
+ * Requesting parties with template filters.
1407
+ * Template filters must be empty for GetUpdateTrees requests.
1408
+ * Optional for backwards compatibility, if defined update_format must be unset
1409
+ */
1410
+ filter?: components['schemas']['TransactionFilter'];
1411
+ /**
1412
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1413
+ * If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
1414
+ * In particular, setting the verbose flag to true triggers the ledger to include labels, record and variant type ids
1415
+ * for record fields.
1416
+ * Optional for backwards compatibility, if defined update_format must be unset
1417
+ */
1418
+ verbose: boolean;
1419
+ /**
1420
+ * @description Must be unset for GetUpdateTrees request.
1421
+ * Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where:
1422
+ *
1423
+ * - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request
1424
+ * - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request
1425
+ * - include_transactions.event_format.verbose = the same flag specified on this request
1426
+ * - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA
1427
+ * - include_reassignments.filter = the same filter specified on this request
1428
+ * - include_reassignments.verbose = the same flag specified on this request
1429
+ * - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
1430
+ */
1431
+ updateFormat?: components['schemas']['UpdateFormat'];
1432
+ };
1433
+ /** GetUserResponse */
1434
+ GetUserResponse: {
1435
+ /** @description Retrieved user. */
1436
+ user?: components['schemas']['User'];
1437
+ };
1438
+ /**
1439
+ * GrantUserRightsRequest
1440
+ * @description Add the rights to the set of rights granted to the user.
1441
+ *
1442
+ * Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)``
1443
+ */
1444
+ GrantUserRightsRequest: {
1445
+ /**
1446
+ * @description The user to whom to grant rights.
1447
+ * Required
1448
+ */
1449
+ userId: string;
1450
+ /**
1451
+ * @description The rights to grant.
1452
+ * Optional
1453
+ */
1454
+ rights?: components['schemas']['Right'][];
1455
+ /**
1456
+ * @description The id of the ``Identity Provider``
1457
+ * Optional, if not set, assume the user is managed by the default identity provider.
1458
+ */
1459
+ identityProviderId: string;
1460
+ };
1461
+ /** GrantUserRightsResponse */
1462
+ GrantUserRightsResponse: {
1463
+ /** @description The rights that were newly granted by the request. */
1464
+ newlyGrantedRights?: components['schemas']['Right'][];
1465
+ };
1466
+ /** Identifier */
1467
+ Identifier: {
1468
+ packageId: string;
1469
+ moduleName: string;
1470
+ entityName: string;
1471
+ };
1472
+ /** IdentifierFilter */
1473
+ IdentifierFilter: OneOf<[
1474
+ {
1475
+ Empty: components['schemas']['Empty1'];
1476
+ },
1477
+ {
1478
+ InterfaceFilter: components['schemas']['InterfaceFilter'];
1479
+ },
1480
+ {
1481
+ TemplateFilter: components['schemas']['TemplateFilter'];
1482
+ },
1483
+ {
1484
+ WildcardFilter: components['schemas']['WildcardFilter'];
1485
+ }
1486
+ ]>;
1487
+ /** IdentityProviderAdmin */
1488
+ IdentityProviderAdmin: {
1489
+ value: components['schemas']['IdentityProviderAdmin1'];
1490
+ };
1491
+ /** IdentityProviderAdmin */
1492
+ IdentityProviderAdmin1: Record<string, never>;
1493
+ /** IdentityProviderConfig */
1494
+ IdentityProviderConfig: {
1495
+ /**
1496
+ * @description The identity provider identifier
1497
+ * Must be a valid LedgerString (as describe in ``value.proto``).
1498
+ * Required
1499
+ */
1500
+ identityProviderId: string;
1501
+ /**
1502
+ * @description When set, the callers using JWT tokens issued by this identity provider are denied all access
1503
+ * to the Ledger API.
1504
+ * Optional,
1505
+ * Modifiable
1506
+ */
1507
+ isDeactivated: boolean;
1508
+ /**
1509
+ * @description Specifies the issuer of the JWT token.
1510
+ * The issuer value is a case sensitive URL using the https scheme that contains scheme, host,
1511
+ * and optionally, port number and path components and no query or fragment components.
1512
+ * Required
1513
+ * Modifiable
1514
+ */
1515
+ issuer: string;
1516
+ /**
1517
+ * @description The JWKS (JSON Web Key Set) URL.
1518
+ * The Ledger API uses JWKs (JSON Web Keys) from the provided URL to verify that the JWT has been
1519
+ * signed with the loaded JWK. Only RS256 (RSA Signature with SHA-256) signing algorithm is supported.
1520
+ * Required
1521
+ * Modifiable
1522
+ */
1523
+ jwksUrl: string;
1524
+ /**
1525
+ * @description Specifies the audience of the JWT token.
1526
+ * When set, the callers using JWT tokens issued by this identity provider are allowed to get an access
1527
+ * only if the "aud" claim includes the string specified here
1528
+ * Optional,
1529
+ * Modifiable
1530
+ */
1531
+ audience: string;
1532
+ };
1533
+ /**
1534
+ * InterfaceFilter
1535
+ * @description This filter matches contracts that implement a specific interface.
1536
+ */
1537
+ InterfaceFilter: {
1538
+ value: components['schemas']['InterfaceFilter1'];
1539
+ };
1540
+ /**
1541
+ * InterfaceFilter
1542
+ * @description This filter matches contracts that implement a specific interface.
1543
+ */
1544
+ InterfaceFilter1: {
1545
+ /**
1546
+ * @description The interface that a matching contract must implement.
1547
+ * The ``interface_id`` needs to be valid: corresponding interface should be defined in
1548
+ * one of the available packages at the time of the query.
1549
+ * Both package-name and package-id reference formats for the identifier are supported.
1550
+ * Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
1551
+ *
1552
+ * Required
1553
+ */
1554
+ interfaceId?: string;
1555
+ /**
1556
+ * @description Whether to include the interface view on the contract in the returned ``CreatedEvent``.
1557
+ * Use this to access contract data in a uniform manner in your API client.
1558
+ * Optional
1559
+ */
1560
+ includeInterfaceView: boolean;
1561
+ /**
1562
+ * @description Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``.
1563
+ * Use this to access the contract create event payload in your API client
1564
+ * for submitting it as a disclosed contract with future commands.
1565
+ * Optional
1566
+ */
1567
+ includeCreatedEventBlob: boolean;
1568
+ };
1569
+ /** JsActiveContract */
1570
+ JsActiveContract: {
1571
+ /**
1572
+ * @description Required
1573
+ * The event as it appeared in the context of its last update (i.e. daml transaction or
1574
+ * reassignment). In particular, the last offset, node_id pair is preserved.
1575
+ * The last update is the most recent update created or assigned this contract on synchronizer_id synchronizer.
1576
+ * The offset of the CreatedEvent might point to an already pruned update, therefore it cannot necessarily be used
1577
+ * for lookups.
1578
+ */
1579
+ createdEvent: components['schemas']['CreatedEvent'];
1580
+ /**
1581
+ * @description A valid synchronizer id
1582
+ * Required
1583
+ */
1584
+ synchronizerId: string;
1585
+ /**
1586
+ * Format: int64
1587
+ * @description Each corresponding assigned and unassigned event has the same reassignment_counter. This strictly increases
1588
+ * with each unassign command for the same contract. Creation of the contract corresponds to reassignment_counter
1589
+ * equals zero.
1590
+ * This field will be the reassignment_counter of the latest observable activation event on this synchronizer, which is
1591
+ * before the active_at_offset.
1592
+ * Required
1593
+ */
1594
+ reassignmentCounter: number;
1595
+ };
1596
+ /** JsArchived */
1597
+ JsArchived: {
1598
+ /** @description Required */
1599
+ archivedEvent: components['schemas']['ArchivedEvent'];
1600
+ /**
1601
+ * @description Required
1602
+ * The synchronizer which sequenced the archival of the contract
1603
+ */
1604
+ synchronizerId: string;
1605
+ };
1606
+ /**
1607
+ * JsAssignedEvent
1608
+ * @description Records that a contract has been assigned, and it can be used on the target synchronizer.
1609
+ */
1610
+ JsAssignedEvent: {
1611
+ /**
1612
+ * @description The ID of the source synchronizer.
1613
+ * Must be a valid synchronizer id.
1614
+ * Required
1615
+ */
1616
+ source: string;
1617
+ /**
1618
+ * @description The ID of the target synchronizer.
1619
+ * Must be a valid synchronizer id.
1620
+ * Required
1621
+ */
1622
+ target: string;
1623
+ /**
1624
+ * @description The ID from the unassigned event.
1625
+ * For correlation capabilities.
1626
+ * For one contract the (unassign_id, source synchronizer) pair is unique.
1627
+ * Must be a valid LedgerString (as described in ``value.proto``).
1628
+ * Required
1629
+ */
1630
+ unassignId: string;
1631
+ /**
1632
+ * @description Party on whose behalf the assign command was executed.
1633
+ * Empty if the assignment happened offline via the repair service.
1634
+ * Must be a valid PartyIdString (as described in ``value.proto``).
1635
+ * Optional
1636
+ */
1637
+ submitter: string;
1638
+ /**
1639
+ * Format: int64
1640
+ * @description Each corresponding assigned and unassigned event has the same reassignment_counter. This strictly increases
1641
+ * with each unassign command for the same contract. Creation of the contract corresponds to reassignment_counter
1642
+ * equals zero.
1643
+ * Required
1644
+ */
1645
+ reassignmentCounter: number;
1646
+ /**
1647
+ * @description Required
1648
+ * The offset of this event refers to the offset of the assignment,
1649
+ * while the node_id is the index of within the batch.
1650
+ */
1651
+ createdEvent: components['schemas']['CreatedEvent'];
1652
+ };
1653
+ /** JsAssignmentEvent */
1654
+ JsAssignmentEvent: {
1655
+ source: string;
1656
+ target: string;
1657
+ unassignId: string;
1658
+ submitter: string;
1659
+ /** Format: int64 */
1660
+ reassignmentCounter: number;
1661
+ createdEvent: components['schemas']['CreatedEvent'];
1662
+ };
1663
+ /** JsCantonError */
1664
+ JsCantonError: {
1665
+ code: string;
1666
+ cause: string;
1667
+ correlationId?: string;
1668
+ traceId?: string;
1669
+ context: components['schemas']['Map_String'];
1670
+ resources?: components['schemas']['Tuple2_String_String'][];
1671
+ /** Format: int32 */
1672
+ errorCategory: number;
1673
+ /** Format: int32 */
1674
+ grpcCodeValue?: number;
1675
+ retryInfo?: string;
1676
+ definiteAnswer?: boolean;
1677
+ };
1678
+ /**
1679
+ * JsCommands
1680
+ * @description A composite command that groups multiple commands together.
1681
+ */
1682
+ JsCommands: {
1683
+ /**
1684
+ * @description Individual elements of this atomic command. Must be non-empty.
1685
+ * Required
1686
+ */
1687
+ commands?: components['schemas']['Command'][];
1688
+ /**
1689
+ * @description Uniquely identifies the command.
1690
+ * The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,
1691
+ * where act_as is interpreted as a set of party names.
1692
+ * The change ID can be used for matching the intended ledger changes with all their completions.
1693
+ * Must be a valid LedgerString (as described in ``value.proto``).
1694
+ * Required
1695
+ */
1696
+ commandId: string;
1697
+ /**
1698
+ * @description Set of parties on whose behalf the command should be executed.
1699
+ * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
1700
+ * to act on behalf of each of the given parties.
1701
+ * Each element must be a valid PartyIdString (as described in ``value.proto``).
1702
+ * Required, must be non-empty.
1703
+ */
1704
+ actAs?: string[];
1705
+ /**
1706
+ * @description Uniquely identifies the participant user that issued the command.
1707
+ * Must be a valid UserIdString (as described in ``value.proto``).
1708
+ * Required unless authentication is used with a user token.
1709
+ * In that case, the token's user-id will be used for the request's user_id.
1710
+ */
1711
+ userId?: string;
1712
+ /**
1713
+ * @description Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
1714
+ * This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
1715
+ * Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant
1716
+ * node is only visible to a subset of these parties. A command can only use contracts that are visible to at least
1717
+ * one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
1718
+ * rules for fetch operations.
1719
+ * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
1720
+ * to read contract data on behalf of each of the given parties.
1721
+ * Optional
1722
+ */
1723
+ readAs?: string[];
1724
+ /**
1725
+ * @description Identifier of the on-ledger workflow that this command is a part of.
1726
+ * Must be a valid LedgerString (as described in ``value.proto``).
1727
+ * Optional
1728
+ */
1729
+ workflowId?: string;
1730
+ deduplicationPeriod?: components['schemas']['DeduplicationPeriod'];
1731
+ /**
1732
+ * @description Lower bound for the ledger time assigned to the resulting transaction.
1733
+ * Note: The ledger time of a transaction is assigned as part of command interpretation.
1734
+ * Use this property if you expect that command interpretation will take a considerate amount of time, such that by
1735
+ * the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.
1736
+ * Must not be set at the same time as min_ledger_time_rel.
1737
+ * Optional
1738
+ */
1739
+ minLedgerTimeAbs?: string;
1740
+ /**
1741
+ * @description Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
1742
+ * Must not be set at the same time as min_ledger_time_abs.
1743
+ * Optional
1744
+ */
1745
+ minLedgerTimeRel?: components['schemas']['Duration'];
1746
+ /**
1747
+ * @description A unique identifier to distinguish completions for different submissions with the same change ID.
1748
+ * Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
1749
+ * with the same change ID.
1750
+ * Must be a valid LedgerString (as described in ``value.proto``).
1751
+ *
1752
+ * If omitted, the participant or the committer may set a value of their choice.
1753
+ * Optional
1754
+ */
1755
+ submissionId?: string;
1756
+ /**
1757
+ * @description Additional contracts used to resolve contract & contract key lookups.
1758
+ * Optional
1759
+ */
1760
+ disclosedContracts?: components['schemas']['DisclosedContract'][];
1761
+ /**
1762
+ * @description Must be a valid synchronizer id
1763
+ * Optional
1764
+ */
1765
+ synchronizerId?: string;
1766
+ /**
1767
+ * @description The package-id selection preference of the client for resolving
1768
+ * package names and interface instances in command submission and interpretation
1769
+ */
1770
+ packageIdSelectionPreference?: string[];
1771
+ };
1772
+ /**
1773
+ * JsContractEntry
1774
+ * @description For a contract there could be multiple contract_entry-s in the entire snapshot. These together define
1775
+ * the state of one contract in the snapshot.
1776
+ * A contract_entry is included in the result, if and only if there is at least one stakeholder party of the contract
1777
+ * that is hosted on the synchronizer at the time of the event and the party satisfies the
1778
+ * ``TransactionFilter`` in the query.
1779
+ */
1780
+ JsContractEntry: OneOf<[
1781
+ {
1782
+ JsActiveContract: components['schemas']['JsActiveContract'];
1783
+ },
1784
+ {
1785
+ JsEmpty: components['schemas']['JsEmpty'];
1786
+ },
1787
+ {
1788
+ JsIncompleteAssigned: components['schemas']['JsIncompleteAssigned'];
1789
+ },
1790
+ {
1791
+ JsIncompleteUnassigned: components['schemas']['JsIncompleteUnassigned'];
1792
+ }
1793
+ ]>;
1794
+ /** JsCreated */
1795
+ JsCreated: {
1796
+ /**
1797
+ * @description Required
1798
+ * The event as it appeared in the context of its original update (i.e. daml transaction or
1799
+ * reassignment) on this participant node. You can use its offset and node_id to find the
1800
+ * corresponding update and the node within it.
1801
+ */
1802
+ createdEvent: components['schemas']['CreatedEvent'];
1803
+ /**
1804
+ * @description The synchronizer which sequenced the creation of the contract
1805
+ * Required
1806
+ */
1807
+ synchronizerId: string;
1808
+ };
1809
+ /** JsEmpty */
1810
+ JsEmpty: Record<string, never>;
1811
+ /** JsExecuteSubmissionRequest */
1812
+ JsExecuteSubmissionRequest: {
1813
+ /**
1814
+ * @description the prepared transaction
1815
+ * Typically this is the value of the `prepared_transaction` field in `PrepareSubmissionResponse`
1816
+ * obtained from calling `prepareSubmission`.
1817
+ */
1818
+ preparedTransaction?: string;
1819
+ /**
1820
+ * @description The party(ies) signatures that authorize the prepared submission to be executed by this node.
1821
+ * Each party can provide one or more signatures..
1822
+ * and one or more parties can sign.
1823
+ * Note that currently, only single party submissions are supported.
1824
+ */
1825
+ partySignatures?: components['schemas']['PartySignatures'];
1826
+ deduplicationPeriod: components['schemas']['DeduplicationPeriod2'];
1827
+ /**
1828
+ * @description A unique identifier to distinguish completions for different submissions with the same change ID.
1829
+ * Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
1830
+ * with the same change ID.
1831
+ * Must be a valid LedgerString (as described in ``value.proto``).
1832
+ *
1833
+ * Required
1834
+ */
1835
+ submissionId: string;
1836
+ /** @description See [PrepareSubmissionRequest.user_id] */
1837
+ userId: string;
1838
+ /** @description The hashing scheme version used when building the hash */
1839
+ hashingSchemeVersion: string;
1840
+ /**
1841
+ * @description If set will influence the chosen ledger effective time but will not result in a submission delay so any override
1842
+ * should be scheduled to executed within the window allowed by synchronizer.
1843
+ * Optional
1844
+ */
1845
+ minLedgerTime?: components['schemas']['MinLedgerTime'];
1846
+ };
1847
+ /** JsGetActiveContractsResponse */
1848
+ JsGetActiveContractsResponse: {
1849
+ /**
1850
+ * @description The workflow ID used in command submission which corresponds to the contract_entry. Only set if
1851
+ * the ``workflow_id`` for the command was set.
1852
+ * Must be a valid LedgerString (as described in ``value.proto``).
1853
+ * Optional
1854
+ */
1855
+ workflowId: string;
1856
+ contractEntry: components['schemas']['JsContractEntry'];
1857
+ };
1858
+ /** JsGetEventsByContractIdResponse */
1859
+ JsGetEventsByContractIdResponse: {
1860
+ /**
1861
+ * @description The create event for the contract with the ``contract_id`` given in the request
1862
+ * provided it exists and has not yet been pruned.
1863
+ * Optional
1864
+ */
1865
+ created?: components['schemas']['JsCreated'];
1866
+ /**
1867
+ * @description The archive event for the contract with the ``contract_id`` given in the request
1868
+ * provided such an archive event exists and it has not yet been pruned.
1869
+ * Optional
1870
+ */
1871
+ archived?: components['schemas']['JsArchived'];
1872
+ };
1873
+ /**
1874
+ * JsGetTransactionResponse
1875
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1876
+ */
1877
+ JsGetTransactionResponse: {
1878
+ /** @description Required */
1879
+ transaction: components['schemas']['JsTransaction'];
1880
+ };
1881
+ /**
1882
+ * JsGetTransactionTreeResponse
1883
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1884
+ */
1885
+ JsGetTransactionTreeResponse: {
1886
+ /** @description Required */
1887
+ transaction: components['schemas']['JsTransactionTree'];
1888
+ };
1889
+ /** JsGetUpdateResponse */
1890
+ JsGetUpdateResponse: {
1891
+ update: components['schemas']['Update'];
1892
+ };
1893
+ /**
1894
+ * JsGetUpdateTreesResponse
1895
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
1896
+ */
1897
+ JsGetUpdateTreesResponse: {
1898
+ update: components['schemas']['Update1'];
1899
+ };
1900
+ /** JsGetUpdatesResponse */
1901
+ JsGetUpdatesResponse: {
1902
+ update: components['schemas']['Update'];
1903
+ };
1904
+ /** JsIncompleteAssigned */
1905
+ JsIncompleteAssigned: {
1906
+ /** @description Required */
1907
+ assignedEvent: components['schemas']['JsAssignedEvent'];
1908
+ };
1909
+ /** JsIncompleteUnassigned */
1910
+ JsIncompleteUnassigned: {
1911
+ /**
1912
+ * @description Required
1913
+ * The event as it appeared in the context of its last activation update (i.e. daml transaction or
1914
+ * reassignment). In particular, the last activation offset, node_id pair is preserved.
1915
+ * The last activation update is the most recent update created or assigned this contract on synchronizer_id synchronizer before
1916
+ * the unassigned_event.
1917
+ * The offset of the CreatedEvent might point to an already pruned update, therefore it cannot necessarily be used
1918
+ * for lookups.
1919
+ */
1920
+ createdEvent: components['schemas']['CreatedEvent'];
1921
+ /** @description Required */
1922
+ unassignedEvent: components['schemas']['UnassignedEvent'];
1923
+ };
1924
+ /**
1925
+ * JsInterfaceView
1926
+ * @description View of a create event matched by an interface filter.
1927
+ */
1928
+ JsInterfaceView: {
1929
+ /**
1930
+ * @description The interface implemented by the matched event.
1931
+ * The identifier uses the package-id reference format.
1932
+ *
1933
+ * Required
1934
+ */
1935
+ interfaceId: string;
1936
+ /**
1937
+ * @description Whether the view was successfully computed, and if not,
1938
+ * the reason for the error. The error is reported using the same rules
1939
+ * for error codes and messages as the errors returned for API requests.
1940
+ * Required
1941
+ */
1942
+ viewStatus: components['schemas']['JsStatus'];
1943
+ /**
1944
+ * @description The value of the interface's view method on this event.
1945
+ * Set if it was requested in the ``InterfaceFilter`` and it could be
1946
+ * sucessfully computed.
1947
+ * Optional
1948
+ */
1949
+ viewValue?: unknown;
1950
+ };
1951
+ /** JsPrepareSubmissionRequest */
1952
+ JsPrepareSubmissionRequest: {
1953
+ /**
1954
+ * @description Uniquely identifies the participant user that prepares the transaction.
1955
+ * Must be a valid UserIdString (as described in ``value.proto``).
1956
+ * Required unless authentication is used with a user token.
1957
+ * In that case, the token's user-id will be used for the request's user_id.
1958
+ */
1959
+ userId: string;
1960
+ /**
1961
+ * @description Uniquely identifies the command.
1962
+ * The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,
1963
+ * where act_as is interpreted as a set of party names.
1964
+ * The change ID can be used for matching the intended ledger changes with all their completions.
1965
+ * Must be a valid LedgerString (as described in ``value.proto``).
1966
+ * Required
1967
+ */
1968
+ commandId: string;
1969
+ /**
1970
+ * @description Individual elements of this atomic command. Must be non-empty.
1971
+ * Required
1972
+ */
1973
+ commands?: components['schemas']['Command'][];
1974
+ /** @description Optional */
1975
+ minLedgerTime?: components['schemas']['MinLedgerTime'];
1976
+ /**
1977
+ * @description Set of parties on whose behalf the command should be executed, if submitted.
1978
+ * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
1979
+ * to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
1980
+ * and does not execute it. Therefore read authorization is sufficient even for actAs parties.
1981
+ * Note: This may change, and more specific authorization scope may be introduced in the future.
1982
+ * Each element must be a valid PartyIdString (as described in ``value.proto``).
1983
+ * Required, must be non-empty.
1984
+ */
1985
+ actAs?: string[];
1986
+ /**
1987
+ * @description Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
1988
+ * This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
1989
+ * Note: A command can only use contracts that are visible to at least
1990
+ * one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
1991
+ * rules for fetch operations.
1992
+ * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
1993
+ * to read contract data on behalf of each of the given parties.
1994
+ * Optional
1995
+ */
1996
+ readAs?: string[];
1997
+ /**
1998
+ * @description Additional contracts used to resolve contract & contract key lookups.
1999
+ * Optional
2000
+ */
2001
+ disclosedContracts?: components['schemas']['DisclosedContract'][];
2002
+ /**
2003
+ * @description Must be a valid synchronizer id
2004
+ * Required
2005
+ */
2006
+ synchronizerId: string;
2007
+ /**
2008
+ * @description The package-id selection preference of the client for resolving
2009
+ * package names and interface instances in command submission and interpretation
2010
+ */
2011
+ packageIdSelectionPreference?: string[];
2012
+ /**
2013
+ * @description When true, the response will contain additional details on how the transaction was encoded and hashed
2014
+ * This can be useful for troubleshooting of hash mismatches. Should only be used for debugging.
2015
+ */
2016
+ verboseHashing: boolean;
2017
+ };
2018
+ /**
2019
+ * JsPrepareSubmissionResponse
2020
+ * @description [docs-entry-end: HashingSchemeVersion]
2021
+ */
2022
+ JsPrepareSubmissionResponse: {
2023
+ /**
2024
+ * @description The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.
2025
+ * Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
2026
+ */
2027
+ preparedTransaction?: string;
2028
+ /**
2029
+ * @description Hash of the transaction, this is what needs to be signed by the party to authorize the transaction.
2030
+ * Only provided for convenience, clients MUST recompute the hash from the raw transaction if the preparing participant is not trusted.
2031
+ * May be removed in future versions
2032
+ */
2033
+ preparedTransactionHash: string;
2034
+ /** @description The hashing scheme version used when building the hash */
2035
+ hashingSchemeVersion: string;
2036
+ /**
2037
+ * @description Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request
2038
+ * Note that there are no guarantees on the stability of the format or content of this field.
2039
+ * Its content should NOT be parsed and should only be used for troubleshooting purposes.
2040
+ */
2041
+ hashingDetails?: string;
2042
+ };
2043
+ /**
2044
+ * JsReassignment
2045
+ * @description Complete view of an on-ledger reassignment.
2046
+ */
2047
+ JsReassignment: {
2048
+ /**
2049
+ * @description Assigned by the server. Useful for correlating logs.
2050
+ * Must be a valid LedgerString (as described in ``value.proto``).
2051
+ * Required
2052
+ */
2053
+ updateId: string;
2054
+ /**
2055
+ * @description The ID of the command which resulted in this reassignment. Missing for everyone except the submitting party on the submitting participant.
2056
+ * Must be a valid LedgerString (as described in ``value.proto``).
2057
+ * Optional
2058
+ */
2059
+ commandId: string;
2060
+ /**
2061
+ * @description The workflow ID used in reassignment command submission. Only set if the ``workflow_id`` for the command was set.
2062
+ * Must be a valid LedgerString (as described in ``value.proto``).
2063
+ * Optional
2064
+ */
2065
+ workflowId: string;
2066
+ /**
2067
+ * Format: int64
2068
+ * @description The participant's offset. The details of this field are described in ``community/ledger-api/README.md``.
2069
+ * Required, must be a valid absolute offset (positive integer).
2070
+ */
2071
+ offset: number;
2072
+ /** @description The collection of reassignment events. Required. */
2073
+ events?: components['schemas']['JsReassignmentEvent'][];
2074
+ /**
2075
+ * @description Optional; ledger API trace context
2076
+ *
2077
+ * The trace context transported in this message corresponds to the trace context supplied
2078
+ * by the client application in a HTTP2 header of the original command submission.
2079
+ * We typically use a header to transfer this type of information. Here we use message
2080
+ * body, because it is used in gRPC streams which do not support per message headers.
2081
+ * This field will be populated with the trace context contained in the original submission.
2082
+ * If that was not provided, a unique ledger-api-server generated trace context will be used
2083
+ * instead.
2084
+ */
2085
+ traceContext?: components['schemas']['TraceContext'];
2086
+ /**
2087
+ * @description The time at which the reassignment was recorded. The record time refers to the source/target
2088
+ * synchronizer for an unassign/assign event respectively.
2089
+ * Required
2090
+ */
2091
+ recordTime: string;
2092
+ };
2093
+ /** JsReassignmentEvent */
2094
+ JsReassignmentEvent: OneOf<[
2095
+ {
2096
+ JsAssignmentEvent: components['schemas']['JsAssignmentEvent'];
2097
+ },
2098
+ {
2099
+ JsUnassignedEvent: components['schemas']['JsUnassignedEvent'];
2100
+ }
2101
+ ]>;
2102
+ /** JsStatus */
2103
+ JsStatus: {
2104
+ /** Format: int32 */
2105
+ code: number;
2106
+ message: string;
2107
+ details?: components['schemas']['ProtoAny'][];
2108
+ };
2109
+ /** JsSubmitAndWaitForReassignmentResponse */
2110
+ JsSubmitAndWaitForReassignmentResponse: {
2111
+ /**
2112
+ * @description The reassignment that resulted from the submitted reassignment command.
2113
+ * The reassignment might contain no events (request conditions result in filtering out all of them).
2114
+ * Required
2115
+ */
2116
+ reassignment: components['schemas']['JsReassignment'];
2117
+ };
2118
+ /**
2119
+ * JsSubmitAndWaitForTransactionRequest
2120
+ * @description These commands are executed as a single atomic transaction.
2121
+ */
2122
+ JsSubmitAndWaitForTransactionRequest: {
2123
+ /**
2124
+ * @description The commands to be submitted.
2125
+ * Required
2126
+ */
2127
+ commands: components['schemas']['JsCommands'];
2128
+ /**
2129
+ * @description If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to
2130
+ * TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template
2131
+ * filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set.
2132
+ * Optional
2133
+ */
2134
+ transactionFormat?: components['schemas']['TransactionFormat'];
2135
+ };
2136
+ /** JsSubmitAndWaitForTransactionResponse */
2137
+ JsSubmitAndWaitForTransactionResponse: {
2138
+ /**
2139
+ * @description The transaction that resulted from the submitted command.
2140
+ * The transaction might contain no events (request conditions result in filtering out all of them).
2141
+ * Required
2142
+ */
2143
+ transaction: components['schemas']['JsTransaction'];
2144
+ };
2145
+ /**
2146
+ * JsSubmitAndWaitForTransactionTreeResponse
2147
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
2148
+ */
2149
+ JsSubmitAndWaitForTransactionTreeResponse: {
2150
+ transactionTree: components['schemas']['JsTransactionTree'];
2151
+ };
2152
+ /** JsTopologyTransaction */
2153
+ JsTopologyTransaction: {
2154
+ /**
2155
+ * @description Assigned by the server. Useful for correlating logs.
2156
+ * Must be a valid LedgerString (as described in ``value.proto``).
2157
+ * Required
2158
+ */
2159
+ updateId: string;
2160
+ /**
2161
+ * @description A non-empty list of topology events.
2162
+ * Required
2163
+ */
2164
+ events?: components['schemas']['TopologyEvent'][];
2165
+ /**
2166
+ * Format: int64
2167
+ * @description The absolute offset. The details of this field are described in ``community/ledger-api/README.md``.
2168
+ * Required, it is a valid absolute offset (positive integer).
2169
+ */
2170
+ offset: number;
2171
+ /**
2172
+ * @description A valid synchronizer id.
2173
+ * Identifies the synchronizer that synchronized the topology transaction.
2174
+ * Required
2175
+ */
2176
+ synchronizerId: string;
2177
+ /**
2178
+ * @description Optional; ledger API trace context
2179
+ *
2180
+ * The trace context transported in this message corresponds to the trace context supplied
2181
+ * by the client application in a HTTP2 header of the original command submission.
2182
+ * We typically use a header to transfer this type of information. Here we use message
2183
+ * body, because it is used in gRPC streams which do not support per message headers.
2184
+ * This field will be populated with the trace context contained in the original submission.
2185
+ * If that was not provided, a unique ledger-api-server generated trace context will be used
2186
+ * instead.
2187
+ */
2188
+ traceContext?: components['schemas']['TraceContext'];
2189
+ /**
2190
+ * @description The time at which the changes in the topology transaction become effective. There is a small delay between a
2191
+ * topology transaction being sequenced and the changes it contains becoming effective. Topology transactions appear
2192
+ * in order relative to a synchronizer based on their effective time rather than their sequencing time.
2193
+ * Required
2194
+ */
2195
+ recordTime: string;
2196
+ };
2197
+ /**
2198
+ * JsTransaction
2199
+ * @description Filtered view of an on-ledger transaction's create and archive events.
2200
+ */
2201
+ JsTransaction: {
2202
+ /**
2203
+ * @description Assigned by the server. Useful for correlating logs.
2204
+ * Must be a valid LedgerString (as described in ``value.proto``).
2205
+ * Required
2206
+ */
2207
+ updateId: string;
2208
+ /**
2209
+ * @description The ID of the command which resulted in this transaction. Missing for everyone except the submitting party.
2210
+ * Must be a valid LedgerString (as described in ``value.proto``).
2211
+ * Optional
2212
+ */
2213
+ commandId: string;
2214
+ /**
2215
+ * @description The workflow ID used in command submission.
2216
+ * Must be a valid LedgerString (as described in ``value.proto``).
2217
+ * Optional
2218
+ */
2219
+ workflowId: string;
2220
+ /**
2221
+ * @description Ledger effective time.
2222
+ * Required
2223
+ */
2224
+ effectiveAt: string;
2225
+ /**
2226
+ * @description The collection of events.
2227
+ * Contains:
2228
+ *
2229
+ * - ``CreatedEvent`` or ``ArchivedEvent`` in case of ACS_DELTA transaction shape
2230
+ * - ``CreatedEvent`` or ``ExercisedEvent`` in case of LEDGER_EFFECTS transaction shape
2231
+ *
2232
+ * Required
2233
+ */
2234
+ events?: components['schemas']['Event'][];
2235
+ /**
2236
+ * Format: int64
2237
+ * @description The absolute offset. The details of this field are described in ``community/ledger-api/README.md``.
2238
+ * Required, it is a valid absolute offset (positive integer).
2239
+ */
2240
+ offset: number;
2241
+ /**
2242
+ * @description A valid synchronizer id.
2243
+ * Identifies the synchronizer that synchronized the transaction.
2244
+ * Required
2245
+ */
2246
+ synchronizerId: string;
2247
+ /**
2248
+ * @description Optional; ledger API trace context
2249
+ *
2250
+ * The trace context transported in this message corresponds to the trace context supplied
2251
+ * by the client application in a HTTP2 header of the original command submission.
2252
+ * We typically use a header to transfer this type of information. Here we use message
2253
+ * body, because it is used in gRPC streams which do not support per message headers.
2254
+ * This field will be populated with the trace context contained in the original submission.
2255
+ * If that was not provided, a unique ledger-api-server generated trace context will be used
2256
+ * instead.
2257
+ */
2258
+ traceContext?: components['schemas']['TraceContext'];
2259
+ /**
2260
+ * @description The time at which the transaction was recorded. The record time refers to the synchronizer
2261
+ * which synchronized the transaction.
2262
+ * Required
2263
+ */
2264
+ recordTime: string;
2265
+ };
2266
+ /**
2267
+ * JsTransactionTree
2268
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
2269
+ * Complete view of an on-ledger transaction.
2270
+ */
2271
+ JsTransactionTree: {
2272
+ /**
2273
+ * @description Assigned by the server. Useful for correlating logs.
2274
+ * Must be a valid LedgerString (as described in ``value.proto``).
2275
+ * Required
2276
+ */
2277
+ updateId: string;
2278
+ /**
2279
+ * @description The ID of the command which resulted in this transaction. Missing for everyone except the submitting party.
2280
+ * Must be a valid LedgerString (as described in ``value.proto``).
2281
+ * Optional
2282
+ */
2283
+ commandId: string;
2284
+ /**
2285
+ * @description The workflow ID used in command submission. Only set if the ``workflow_id`` for the command was set.
2286
+ * Must be a valid LedgerString (as described in ``value.proto``).
2287
+ * Optional
2288
+ */
2289
+ workflowId: string;
2290
+ /**
2291
+ * @description Ledger effective time.
2292
+ * Required
2293
+ */
2294
+ effectiveAt?: string;
2295
+ /**
2296
+ * Format: int64
2297
+ * @description The absolute offset. The details of this field are described in ``community/ledger-api/README.md``.
2298
+ * Required, it is a valid absolute offset (positive integer).
2299
+ */
2300
+ offset: number;
2301
+ /**
2302
+ * @description Changes to the ledger that were caused by this transaction. Nodes of the transaction tree.
2303
+ * Each key must be a valid node ID (non-negative integer).
2304
+ * Required
2305
+ */
2306
+ eventsById: components['schemas']['Map_Int_TreeEvent'];
2307
+ /**
2308
+ * @description A valid synchronizer id.
2309
+ * Identifies the synchronizer that synchronized the transaction.
2310
+ * Required
2311
+ */
2312
+ synchronizerId: string;
2313
+ /**
2314
+ * @description Optional; ledger API trace context
2315
+ *
2316
+ * The trace context transported in this message corresponds to the trace context supplied
2317
+ * by the client application in a HTTP2 header of the original command submission.
2318
+ * We typically use a header to transfer this type of information. Here we use message
2319
+ * body, because it is used in gRPC streams which do not support per message headers.
2320
+ * This field will be populated with the trace context contained in the original submission.
2321
+ * If that was not provided, a unique ledger-api-server generated trace context will be used
2322
+ * instead.
2323
+ */
2324
+ traceContext?: components['schemas']['TraceContext'];
2325
+ /**
2326
+ * @description The time at which the transaction was recorded. The record time refers to the synchronizer
2327
+ * which synchronized the transaction.
2328
+ * Required
2329
+ */
2330
+ recordTime: string;
2331
+ };
2332
+ /**
2333
+ * JsUnassignedEvent
2334
+ * @description Records that a contract has been unassigned, and it becomes unusable on the source synchronizer
2335
+ */
2336
+ JsUnassignedEvent: {
2337
+ value: components['schemas']['UnassignedEvent'];
2338
+ };
2339
+ /**
2340
+ * Kind
2341
+ * @description Required
2342
+ */
2343
+ Kind: {
2344
+ CanActAs: components['schemas']['CanActAs'];
2345
+ } | {
2346
+ CanReadAs: components['schemas']['CanReadAs'];
2347
+ } | {
2348
+ CanReadAsAnyParty: components['schemas']['CanReadAsAnyParty'];
2349
+ } | {
2350
+ Empty: components['schemas']['Empty5'];
2351
+ } | {
2352
+ IdentityProviderAdmin: components['schemas']['IdentityProviderAdmin'];
2353
+ } | {
2354
+ ParticipantAdmin: components['schemas']['ParticipantAdmin'];
2355
+ };
2356
+ /** ListIdentityProviderConfigsResponse */
2357
+ ListIdentityProviderConfigsResponse: {
2358
+ identityProviderConfigs?: components['schemas']['IdentityProviderConfig'][];
2359
+ };
2360
+ /** ListKnownPartiesResponse */
2361
+ ListKnownPartiesResponse: {
2362
+ /**
2363
+ * @description The details of all Daml parties known by the participant.
2364
+ * Required
2365
+ */
2366
+ partyDetails?: components['schemas']['PartyDetails'][];
2367
+ /**
2368
+ * @description Pagination token to retrieve the next page.
2369
+ * Empty, if there are no further results.
2370
+ */
2371
+ nextPageToken: string;
2372
+ };
2373
+ /** ListPackagesResponse */
2374
+ ListPackagesResponse: {
2375
+ /**
2376
+ * @description The IDs of all Daml-LF packages supported by the server.
2377
+ * Each element must be a valid PackageIdString (as described in ``value.proto``).
2378
+ * Required
2379
+ */
2380
+ packageIds?: string[];
2381
+ };
2382
+ /** ListUserRightsResponse */
2383
+ ListUserRightsResponse: {
2384
+ /** @description All rights of the user. */
2385
+ rights?: components['schemas']['Right'][];
2386
+ };
2387
+ /** ListUsersResponse */
2388
+ ListUsersResponse: {
2389
+ /** @description A subset of users of the participant node that fit into this page. */
2390
+ users?: components['schemas']['User'][];
2391
+ /**
2392
+ * @description Pagination token to retrieve the next page.
2393
+ * Empty, if there are no further results.
2394
+ */
2395
+ nextPageToken: string;
2396
+ };
2397
+ /** Map_Filters */
2398
+ Map_Filters: {
2399
+ [key: string]: components['schemas']['Filters'];
2400
+ };
2401
+ /** Map_Int_Field */
2402
+ Map_Int_Field: {
2403
+ [key: string]: components['schemas']['Field'];
2404
+ };
2405
+ /** Map_Int_TreeEvent */
2406
+ Map_Int_TreeEvent: {
2407
+ [key: string]: components['schemas']['TreeEvent'];
2408
+ };
2409
+ /** Map_String */
2410
+ Map_String: {
2411
+ [key: string]: string;
2412
+ };
2413
+ /** MinLedgerTime */
2414
+ MinLedgerTime: {
2415
+ time: components['schemas']['Time'];
2416
+ };
2417
+ /** MinLedgerTimeAbs */
2418
+ MinLedgerTimeAbs: {
2419
+ value: string;
2420
+ };
2421
+ /** MinLedgerTimeRel */
2422
+ MinLedgerTimeRel: {
2423
+ value: components['schemas']['Duration'];
2424
+ };
2425
+ /**
2426
+ * ObjectMeta
2427
+ * @description Represents metadata corresponding to a participant resource (e.g. a participant user or participant local information about a party).
2428
+ *
2429
+ * Based on ``ObjectMeta`` meta used in Kubernetes API.
2430
+ * See https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/generated.proto#L640
2431
+ */
2432
+ ObjectMeta: {
2433
+ /**
2434
+ * @description An opaque, non-empty value, populated by a participant server which represents the internal version of the resource
2435
+ * this ``ObjectMeta`` message is attached to. The participant server will change it to a unique value each time the corresponding resource is updated.
2436
+ * You must not rely on the format of resource version. The participant server might change it without notice.
2437
+ * You can obtain the newest resource version value by issuing a read request.
2438
+ * You may use it for concurrent change detection by passing it back unmodified in an update request.
2439
+ * The participant server will then compare the passed value with the value maintained by the system to determine
2440
+ * if any other updates took place since you had read the resource version.
2441
+ * Upon a successful update you are guaranteed that no other update took place during your read-modify-write sequence.
2442
+ * However, if another update took place during your read-modify-write sequence then your update will fail with an appropriate error.
2443
+ * Concurrent change control is optional. It will be applied only if you include a resource version in an update request.
2444
+ * When creating a new instance of a resource you must leave the resource version empty.
2445
+ * Its value will be populated by the participant server upon successful resource creation.
2446
+ * Optional
2447
+ */
2448
+ resourceVersion: string;
2449
+ /**
2450
+ * @description A set of modifiable key-value pairs that can be used to represent arbitrary, client-specific metadata.
2451
+ * Constraints:
2452
+ *
2453
+ * 1. The total size over all keys and values cannot exceed 256kb in UTF-8 encoding.
2454
+ * 2. Keys are composed of an optional prefix segment and a required name segment such that:
2455
+ *
2456
+ * - key prefix, when present, must be a valid DNS subdomain with at most 253 characters, followed by a '/' (forward slash) character,
2457
+ * - name segment must have at most 63 characters that are either alphanumeric ([a-z0-9A-Z]), or a '.' (dot), '-' (dash) or '_' (underscore);
2458
+ * and it must start and end with an alphanumeric character.
2459
+ *
2460
+ * 3. Values can be any non-empty strings.
2461
+ *
2462
+ * Keys with empty prefix are reserved for end-users.
2463
+ * Properties set by external tools or internally by the participant server must use non-empty key prefixes.
2464
+ * Duplicate keys are disallowed by the semantics of the protobuf3 maps.
2465
+ * See: https://developers.google.com/protocol-buffers/docs/proto3#maps
2466
+ * Annotations may be a part of a modifiable resource.
2467
+ * Use the resource's update RPC to update its annotations.
2468
+ * In order to add a new annotation or update an existing one using an update RPC, provide the desired annotation in the update request.
2469
+ * In order to remove an annotation using an update RPC, provide the target annotation's key but set its value to the empty string in the update request.
2470
+ * Optional
2471
+ * Modifiable
2472
+ */
2473
+ annotations: components['schemas']['Map_String'];
2474
+ };
2475
+ /**
2476
+ * OffsetCheckpoint
2477
+ * @description OffsetCheckpoints may be used to:
2478
+ *
2479
+ * - detect time out of commands.
2480
+ * - provide an offset which can be used to restart consumption.
2481
+ */
2482
+ OffsetCheckpoint: {
2483
+ value: components['schemas']['OffsetCheckpoint1'];
2484
+ };
2485
+ /**
2486
+ * OffsetCheckpoint
2487
+ * @description OffsetCheckpoints may be used to:
2488
+ *
2489
+ * - detect time out of commands.
2490
+ * - provide an offset which can be used to restart consumption.
2491
+ */
2492
+ OffsetCheckpoint1: {
2493
+ /**
2494
+ * Format: int64
2495
+ * @description The participant's offset, the details of the offset field are described in ``community/ledger-api/README.md``.
2496
+ * Required, must be a valid absolute offset (positive integer).
2497
+ */
2498
+ offset: number;
2499
+ synchronizerTimes?: components['schemas']['SynchronizerTime'][];
2500
+ };
2501
+ /**
2502
+ * OffsetCheckpoint
2503
+ * @description OffsetCheckpoints may be used to:
2504
+ *
2505
+ * - detect time out of commands.
2506
+ * - provide an offset which can be used to restart consumption.
2507
+ */
2508
+ OffsetCheckpoint2: {
2509
+ value: components['schemas']['OffsetCheckpoint1'];
2510
+ };
2511
+ /**
2512
+ * OffsetCheckpoint
2513
+ * @description OffsetCheckpoints may be used to:
2514
+ *
2515
+ * - detect time out of commands.
2516
+ * - provide an offset which can be used to restart consumption.
2517
+ */
2518
+ OffsetCheckpoint3: {
2519
+ value: components['schemas']['OffsetCheckpoint1'];
2520
+ };
2521
+ /** OffsetCheckpointFeature */
2522
+ OffsetCheckpointFeature: {
2523
+ /** @description The maximum delay to emmit a new OffsetCheckpoint if it exists */
2524
+ maxOffsetCheckpointEmissionDelay?: components['schemas']['Duration'];
2525
+ };
2526
+ /** PackagePreference */
2527
+ PackagePreference: {
2528
+ /**
2529
+ * @description The package reference of the preferred package.
2530
+ * Required
2531
+ */
2532
+ packageReference?: components['schemas']['PackageReference'];
2533
+ /**
2534
+ * @description The synchronizer for which the preferred package was computed.
2535
+ * If the synchronizer_id was specified in the request, then it matches the request synchronizer_id.
2536
+ * Required
2537
+ */
2538
+ synchronizerId: string;
2539
+ };
2540
+ /** PackageReference */
2541
+ PackageReference: {
2542
+ /** @description Required */
2543
+ packageId: string;
2544
+ /** @description Required */
2545
+ packageName: string;
2546
+ /** @description Required */
2547
+ packageVersion: string;
2548
+ };
2549
+ /** ParticipantAdmin */
2550
+ ParticipantAdmin: {
2551
+ value: components['schemas']['ParticipantAdmin1'];
2552
+ };
2553
+ /** ParticipantAdmin */
2554
+ ParticipantAdmin1: Record<string, never>;
2555
+ /** ParticipantAuthorizationAdded */
2556
+ ParticipantAuthorizationAdded: {
2557
+ /** @description Required */
2558
+ partyId: string;
2559
+ /** @description Required */
2560
+ participantId: string;
2561
+ /**
2562
+ * Format: int32
2563
+ * @description Required
2564
+ */
2565
+ participantPermission: number;
2566
+ };
2567
+ /** ParticipantAuthorizationChanged */
2568
+ ParticipantAuthorizationChanged: {
2569
+ /** @description Required */
2570
+ partyId: string;
2571
+ /** @description Required */
2572
+ participantId: string;
2573
+ /**
2574
+ * Format: int32
2575
+ * @description Required
2576
+ */
2577
+ participantPermission: number;
2578
+ };
2579
+ /** ParticipantAuthorizationRevoked */
2580
+ ParticipantAuthorizationRevoked: {
2581
+ /** @description Required */
2582
+ partyId: string;
2583
+ /** @description Required */
2584
+ participantId: string;
2585
+ };
2586
+ /**
2587
+ * ParticipantAuthorizationTopologyFormat
2588
+ * @description A format specifying which participant authorization topology transactions to include and how to render them.
2589
+ */
2590
+ ParticipantAuthorizationTopologyFormat: {
2591
+ /**
2592
+ * @description List of parties for which the topology transactions should be sent.
2593
+ * Empty means: for all parties.
2594
+ */
2595
+ parties?: string[];
2596
+ };
2597
+ /** PartyDetails */
2598
+ PartyDetails: {
2599
+ /**
2600
+ * @description The stable unique identifier of a Daml party.
2601
+ * Must be a valid PartyIdString (as described in ``value.proto``).
2602
+ * Required
2603
+ */
2604
+ party: string;
2605
+ /**
2606
+ * @description true if party is hosted by the participant and the party shares the same identity provider as the user issuing the request.
2607
+ * Optional
2608
+ */
2609
+ isLocal: boolean;
2610
+ /**
2611
+ * @description Participant-local metadata of this party.
2612
+ * Optional,
2613
+ * Modifiable
2614
+ */
2615
+ localMetadata?: components['schemas']['ObjectMeta'];
2616
+ /**
2617
+ * @description The id of the ``Identity Provider``
2618
+ * Optional, if not set, there could be 3 options:
2619
+ *
2620
+ * 1. the party is managed by the default identity provider.
2621
+ * 2. party is not hosted by the participant.
2622
+ * 3. party is hosted by the participant, but is outside of the user's identity provider.
2623
+ */
2624
+ identityProviderId: string;
2625
+ };
2626
+ /** PartyManagementFeature */
2627
+ PartyManagementFeature: {
2628
+ /**
2629
+ * Format: int32
2630
+ * @description The maximum number of parties the server can return in a single response (page).
2631
+ */
2632
+ maxPartiesPageSize: number;
2633
+ };
2634
+ /**
2635
+ * PartySignatures
2636
+ * @description Additional signatures provided by the submitting parties
2637
+ */
2638
+ PartySignatures: {
2639
+ /** @description Additional signatures provided by all individual parties */
2640
+ signatures?: components['schemas']['SinglePartySignatures'][];
2641
+ };
2642
+ /** ProtoAny */
2643
+ ProtoAny: {
2644
+ typeUrl: string;
2645
+ value: string;
2646
+ unknownFields: components['schemas']['UnknownFieldSet'];
2647
+ };
2648
+ /**
2649
+ * Reassignment
2650
+ * @description Complete view of an on-ledger reassignment.
2651
+ */
2652
+ Reassignment: {
2653
+ value: components['schemas']['JsReassignment'];
2654
+ };
2655
+ /**
2656
+ * Reassignment
2657
+ * @description Complete view of an on-ledger reassignment.
2658
+ */
2659
+ Reassignment1: {
2660
+ value: components['schemas']['JsReassignment'];
2661
+ };
2662
+ /** ReassignmentCommand */
2663
+ ReassignmentCommand: {
2664
+ command: components['schemas']['Command1'];
2665
+ };
2666
+ /** ReassignmentCommands */
2667
+ ReassignmentCommands: {
2668
+ /**
2669
+ * @description Identifier of the on-ledger workflow that this command is a part of.
2670
+ * Must be a valid LedgerString (as described in ``value.proto``).
2671
+ * Optional
2672
+ */
2673
+ workflowId: string;
2674
+ /**
2675
+ * @description Uniquely identifies the participant user that issued the command.
2676
+ * Must be a valid UserIdString (as described in ``value.proto``).
2677
+ * Required unless authentication is used with a user token.
2678
+ * In that case, the token's user-id will be used for the request's user_id.
2679
+ */
2680
+ userId: string;
2681
+ /**
2682
+ * @description Uniquely identifies the command.
2683
+ * The triple (user_id, submitter, command_id) constitutes the change ID for the intended ledger change.
2684
+ * The change ID can be used for matching the intended ledger changes with all their completions.
2685
+ * Must be a valid LedgerString (as described in ``value.proto``).
2686
+ * Required
2687
+ */
2688
+ commandId: string;
2689
+ /**
2690
+ * @description Party on whose behalf the command should be executed.
2691
+ * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
2692
+ * to act on behalf of the given party.
2693
+ * Must be a valid PartyIdString (as described in ``value.proto``).
2694
+ * Required
2695
+ */
2696
+ submitter: string;
2697
+ /**
2698
+ * @description A unique identifier to distinguish completions for different submissions with the same change ID.
2699
+ * Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
2700
+ * with the same change ID.
2701
+ * Must be a valid LedgerString (as described in ``value.proto``).
2702
+ *
2703
+ * If omitted, the participant or the committer may set a value of their choice.
2704
+ * Optional
2705
+ */
2706
+ submissionId: string;
2707
+ /** @description Individual elements of this reassignment. Must be non-empty. */
2708
+ commands?: components['schemas']['ReassignmentCommand'][];
2709
+ };
2710
+ /**
2711
+ * RevokeUserRightsRequest
2712
+ * @description Remove the rights from the set of rights granted to the user.
2713
+ *
2714
+ * Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)``
2715
+ */
2716
+ RevokeUserRightsRequest: {
2717
+ /**
2718
+ * @description The user from whom to revoke rights.
2719
+ * Required
2720
+ */
2721
+ userId: string;
2722
+ /**
2723
+ * @description The rights to revoke.
2724
+ * Optional
2725
+ */
2726
+ rights?: components['schemas']['Right'][];
2727
+ /**
2728
+ * @description The id of the ``Identity Provider``
2729
+ * Optional, if not set, assume the user is managed by the default identity provider.
2730
+ */
2731
+ identityProviderId: string;
2732
+ };
2733
+ /** RevokeUserRightsResponse */
2734
+ RevokeUserRightsResponse: {
2735
+ /** @description The rights that were actually revoked by the request. */
2736
+ newlyRevokedRights?: components['schemas']['Right'][];
2737
+ };
2738
+ /**
2739
+ * Right
2740
+ * @description A right granted to a user.
2741
+ */
2742
+ Right: {
2743
+ kind: components['schemas']['Kind'];
2744
+ };
2745
+ /** Signature */
2746
+ Signature: {
2747
+ format: string;
2748
+ signature: string;
2749
+ /** @description The fingerprint/id of the keypair used to create this signature and needed to verify. */
2750
+ signedBy: string;
2751
+ /** @description The signing algorithm specification used to produce this signature */
2752
+ signingAlgorithmSpec: string;
2753
+ };
2754
+ /**
2755
+ * SinglePartySignatures
2756
+ * @description Signatures provided by a single party
2757
+ */
2758
+ SinglePartySignatures: {
2759
+ /** @description Submitting party */
2760
+ party: string;
2761
+ /** @description Signatures */
2762
+ signatures?: components['schemas']['Signature'][];
2763
+ };
2764
+ /** Status */
2765
+ Status: {
2766
+ /** Format: int32 */
2767
+ code: number;
2768
+ message: string;
2769
+ details?: components['schemas']['ProtoAny'][];
2770
+ unknownFields: components['schemas']['UnknownFieldSet'];
2771
+ };
2772
+ /**
2773
+ * SubmitAndWaitForReassignmentRequest
2774
+ * @description This reassignment is executed as a single atomic update.
2775
+ */
2776
+ SubmitAndWaitForReassignmentRequest: {
2777
+ /**
2778
+ * @description The reassignment commands to be submitted.
2779
+ * Required
2780
+ */
2781
+ reassignmentCommands?: components['schemas']['ReassignmentCommands'];
2782
+ /**
2783
+ * @description Optional
2784
+ * If no event_format provided, the result will contain no events.
2785
+ * The events in the result, will take shape TRANSACTION_SHAPE_ACS_DELTA.
2786
+ */
2787
+ eventFormat?: components['schemas']['EventFormat'];
2788
+ };
2789
+ /** SubmitAndWaitResponse */
2790
+ SubmitAndWaitResponse: {
2791
+ /**
2792
+ * @description The id of the transaction that resulted from the submitted command.
2793
+ * Must be a valid LedgerString (as described in ``value.proto``).
2794
+ * Required
2795
+ */
2796
+ updateId: string;
2797
+ /**
2798
+ * Format: int64
2799
+ * @description The details of the offset field are described in ``community/ledger-api/README.md``.
2800
+ * Required
2801
+ */
2802
+ completionOffset: number;
2803
+ };
2804
+ /** SubmitReassignmentRequest */
2805
+ SubmitReassignmentRequest: {
2806
+ /**
2807
+ * @description The reassignment command to be submitted.
2808
+ * Required
2809
+ */
2810
+ reassignmentCommands?: components['schemas']['ReassignmentCommands'];
2811
+ };
2812
+ /** SubmitReassignmentResponse */
2813
+ SubmitReassignmentResponse: Record<string, never>;
2814
+ /** SubmitResponse */
2815
+ SubmitResponse: Record<string, never>;
2816
+ /** SynchronizerTime */
2817
+ SynchronizerTime: {
2818
+ /**
2819
+ * @description The id of the synchronizer.
2820
+ * Required
2821
+ */
2822
+ synchronizerId: string;
2823
+ /**
2824
+ * @description All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint.
2825
+ * Required
2826
+ */
2827
+ recordTime?: string;
2828
+ };
2829
+ /**
2830
+ * TemplateFilter
2831
+ * @description This filter matches contracts of a specific template.
2832
+ */
2833
+ TemplateFilter: {
2834
+ value: components['schemas']['TemplateFilter1'];
2835
+ };
2836
+ /**
2837
+ * TemplateFilter
2838
+ * @description This filter matches contracts of a specific template.
2839
+ */
2840
+ TemplateFilter1: {
2841
+ /**
2842
+ * @description A template for which the payload should be included in the response.
2843
+ * The ``template_id`` needs to be valid: corresponding template should be defined in
2844
+ * one of the available packages at the time of the query.
2845
+ * Both package-name and package-id reference formats for the identifier are supported.
2846
+ * Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
2847
+ *
2848
+ * Required
2849
+ */
2850
+ templateId?: string;
2851
+ /**
2852
+ * @description Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``.
2853
+ * Use this to access the contract event payload in your API client
2854
+ * for submitting it as a disclosed contract with future commands.
2855
+ * Optional
2856
+ */
2857
+ includeCreatedEventBlob: boolean;
2858
+ };
2859
+ /** Time */
2860
+ Time: OneOf<[
2861
+ {
2862
+ Empty: components['schemas']['Empty6'];
2863
+ },
2864
+ {
2865
+ MinLedgerTimeAbs: components['schemas']['MinLedgerTimeAbs'];
2866
+ },
2867
+ {
2868
+ MinLedgerTimeRel: components['schemas']['MinLedgerTimeRel'];
2869
+ }
2870
+ ]>;
2871
+ /** TopologyEvent */
2872
+ TopologyEvent: OneOf<[
2873
+ {
2874
+ ParticipantAuthorizationAdded: components['schemas']['ParticipantAuthorizationAdded'];
2875
+ },
2876
+ {
2877
+ ParticipantAuthorizationChanged: components['schemas']['ParticipantAuthorizationChanged'];
2878
+ },
2879
+ {
2880
+ ParticipantAuthorizationRevoked: components['schemas']['ParticipantAuthorizationRevoked'];
2881
+ }
2882
+ ]>;
2883
+ /**
2884
+ * TopologyFormat
2885
+ * @description A format specifying which topology transactions to include and how to render them.
2886
+ */
2887
+ TopologyFormat: {
2888
+ /**
2889
+ * @description Include participant authorization topology events in streams.
2890
+ * Optional, if unset no participant authorization topology events are emitted in the stream.
2891
+ */
2892
+ includeParticipantAuthorizationEvents?: components['schemas']['ParticipantAuthorizationTopologyFormat'];
2893
+ };
2894
+ /** TopologyTransaction */
2895
+ TopologyTransaction: {
2896
+ value: components['schemas']['JsTopologyTransaction'];
2897
+ };
2898
+ /** TraceContext */
2899
+ TraceContext: {
2900
+ /** @description https://www.w3.org/TR/trace-context/ */
2901
+ traceparent?: string;
2902
+ tracestate?: string;
2903
+ };
2904
+ /**
2905
+ * Transaction
2906
+ * @description Filtered view of an on-ledger transaction's create and archive events.
2907
+ */
2908
+ Transaction: {
2909
+ value: components['schemas']['JsTransaction'];
2910
+ };
2911
+ /**
2912
+ * TransactionFilter
2913
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
2914
+ * Used both for filtering create and archive events as well as for filtering transaction trees.
2915
+ */
2916
+ TransactionFilter: {
2917
+ /**
2918
+ * @description Each key must be a valid PartyIdString (as described in ``value.proto``).
2919
+ * The interpretation of the filter depends on the transaction-shape being filtered:
2920
+ *
2921
+ * 1. For **transaction trees** (used in GetUpdateTreesResponse for backwards compatibility) all party keys used as
2922
+ * wildcard filters, and all subtrees whose root has one of the listed parties as an informee are returned.
2923
+ * If there are ``CumulativeFilter``s, those will control returned ``CreatedEvent`` fields where applicable, but will
2924
+ * not be used for template/interface filtering.
2925
+ * 2. For **ledger-effects** create and exercise events are returned, for which the witnesses include at least one of
2926
+ * the listed parties and match the per-party filter.
2927
+ * 3. For **transaction and active-contract-set streams** create and archive events are returned for all contracts whose
2928
+ * stakeholders include at least one of the listed parties and match the per-party filter.
2929
+ *
2930
+ * Required
2931
+ */
2932
+ filtersByParty: components['schemas']['Map_Filters'];
2933
+ /**
2934
+ * @description Wildcard filters that apply to all the parties existing on the participant. The interpretation of the filters is the same
2935
+ * with the per-party filter as described above.
2936
+ */
2937
+ filtersForAnyParty?: components['schemas']['Filters'];
2938
+ };
2939
+ /**
2940
+ * TransactionFormat
2941
+ * @description A format that specifies what events to include in Daml transactions
2942
+ * and what data to compute and include for them.
2943
+ */
2944
+ TransactionFormat: {
2945
+ /** @description Required */
2946
+ eventFormat?: components['schemas']['EventFormat'];
2947
+ /**
2948
+ * @description What transaction shape to use for interpreting the filters of the event format.
2949
+ * Required
2950
+ */
2951
+ transactionShape: string;
2952
+ };
2953
+ /**
2954
+ * TransactionTree
2955
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
2956
+ * Complete view of an on-ledger transaction.
2957
+ */
2958
+ TransactionTree: {
2959
+ value: components['schemas']['JsTransactionTree'];
2960
+ };
2961
+ /**
2962
+ * TreeEvent
2963
+ * @description Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
2964
+ * Each tree event message type below contains a ``witness_parties`` field which
2965
+ * indicates the subset of the requested parties that can see the event
2966
+ * in question.
2967
+ *
2968
+ * Note that transaction trees might contain events with
2969
+ * _no_ witness parties, which were included simply because they were
2970
+ * children of events which have witnesses.
2971
+ */
2972
+ TreeEvent: OneOf<[
2973
+ {
2974
+ CreatedTreeEvent: components['schemas']['CreatedTreeEvent'];
2975
+ },
2976
+ {
2977
+ ExercisedTreeEvent: components['schemas']['ExercisedTreeEvent'];
2978
+ }
2979
+ ]>;
2980
+ /** Tuple2_String_String */
2981
+ Tuple2_String_String: string[];
2982
+ /**
2983
+ * UnassignCommand
2984
+ * @description Unassign a contract
2985
+ */
2986
+ UnassignCommand: {
2987
+ value: components['schemas']['UnassignCommand1'];
2988
+ };
2989
+ /**
2990
+ * UnassignCommand
2991
+ * @description Unassign a contract
2992
+ */
2993
+ UnassignCommand1: {
2994
+ /**
2995
+ * @description The ID of the contract the client wants to unassign.
2996
+ * Must be a valid LedgerString (as described in ``value.proto``).
2997
+ * Required
2998
+ */
2999
+ contractId: string;
3000
+ /**
3001
+ * @description The ID of the source synchronizer
3002
+ * Must be a valid synchronizer id
3003
+ * Required
3004
+ */
3005
+ source: string;
3006
+ /**
3007
+ * @description The ID of the target synchronizer
3008
+ * Must be a valid synchronizer id
3009
+ * Required
3010
+ */
3011
+ target: string;
3012
+ };
3013
+ /**
3014
+ * UnassignedEvent
3015
+ * @description Records that a contract has been unassigned, and it becomes unusable on the source synchronizer
3016
+ */
3017
+ UnassignedEvent: {
3018
+ /**
3019
+ * @description The ID of the unassignment. This needs to be used as an input for a assign ReassignmentCommand.
3020
+ * For one contract the (unassign_id, source synchronizer) pair is unique.
3021
+ * Must be a valid LedgerString (as described in ``value.proto``).
3022
+ * Required
3023
+ */
3024
+ unassignId: string;
3025
+ /**
3026
+ * @description The ID of the reassigned contract.
3027
+ * Must be a valid LedgerString (as described in ``value.proto``).
3028
+ * Required
3029
+ */
3030
+ contractId: string;
3031
+ /**
3032
+ * @description The template of the reassigned contract.
3033
+ * The identifier uses the package-id reference format.
3034
+ *
3035
+ * Required
3036
+ */
3037
+ templateId?: string;
3038
+ /**
3039
+ * @description The ID of the source synchronizer
3040
+ * Must be a valid synchronizer id
3041
+ * Required
3042
+ */
3043
+ source: string;
3044
+ /**
3045
+ * @description The ID of the target synchronizer
3046
+ * Must be a valid synchronizer id
3047
+ * Required
3048
+ */
3049
+ target: string;
3050
+ /**
3051
+ * @description Party on whose behalf the unassign command was executed.
3052
+ * Empty if the unassignment happened offline via the repair service.
3053
+ * Must be a valid PartyIdString (as described in ``value.proto``).
3054
+ * Optional
3055
+ */
3056
+ submitter: string;
3057
+ /**
3058
+ * Format: int64
3059
+ * @description Each corresponding assigned and unassigned event has the same reassignment_counter. This strictly increases
3060
+ * with each unassign command for the same contract. Creation of the contract corresponds to reassignment_counter
3061
+ * equals zero.
3062
+ * Required
3063
+ */
3064
+ reassignmentCounter: number;
3065
+ /**
3066
+ * @description Assignment exclusivity
3067
+ * Before this time (measured on the target synchronizer), only the submitter of the unassignment can initiate the assignment
3068
+ * Defined for reassigning participants.
3069
+ * Optional
3070
+ */
3071
+ assignmentExclusivity?: string;
3072
+ /**
3073
+ * @description The parties that are notified of this event.
3074
+ * Required
3075
+ */
3076
+ witnessParties?: string[];
3077
+ /**
3078
+ * @description The package name of the contract.
3079
+ * Required
3080
+ */
3081
+ packageName: string;
3082
+ /**
3083
+ * Format: int64
3084
+ * @description The offset of origin.
3085
+ * Offsets are managed by the participant nodes.
3086
+ * Reassignments can thus NOT be assumed to have the same offsets on different participant nodes.
3087
+ * Required, it is a valid absolute offset (positive integer)
3088
+ */
3089
+ offset: number;
3090
+ /**
3091
+ * Format: int32
3092
+ * @description The position of this event in the originating reassignment.
3093
+ * Node IDs are not necessarily equal across participants,
3094
+ * as these may see different projections/parts of reassignments.
3095
+ * Required, must be valid node ID (non-negative integer)
3096
+ */
3097
+ nodeId: number;
3098
+ };
3099
+ /** UnknownFieldSet */
3100
+ UnknownFieldSet: {
3101
+ fields: components['schemas']['Map_Int_Field'];
3102
+ };
3103
+ /** Update */
3104
+ Update: OneOf<[
3105
+ {
3106
+ OffsetCheckpoint: components['schemas']['OffsetCheckpoint2'];
3107
+ },
3108
+ {
3109
+ Reassignment: components['schemas']['Reassignment'];
3110
+ },
3111
+ {
3112
+ TopologyTransaction: components['schemas']['TopologyTransaction'];
3113
+ },
3114
+ {
3115
+ Transaction: components['schemas']['Transaction'];
3116
+ }
3117
+ ]>;
3118
+ /**
3119
+ * Update
3120
+ * @description The update that matches the filter in the request.
3121
+ */
3122
+ Update1: OneOf<[
3123
+ {
3124
+ OffsetCheckpoint: components['schemas']['OffsetCheckpoint3'];
3125
+ },
3126
+ {
3127
+ Reassignment: components['schemas']['Reassignment1'];
3128
+ },
3129
+ {
3130
+ TransactionTree: components['schemas']['TransactionTree'];
3131
+ }
3132
+ ]>;
3133
+ /**
3134
+ * UpdateFormat
3135
+ * @description A format specifying what updates to include and how to render them.
3136
+ */
3137
+ UpdateFormat: {
3138
+ /**
3139
+ * @description Include Daml transactions in streams.
3140
+ * Optional, if unset, no transactions are emitted in the stream.
3141
+ */
3142
+ includeTransactions?: components['schemas']['TransactionFormat'];
3143
+ /**
3144
+ * @description Include (un)assignments in the stream.
3145
+ * The events in the result take the shape TRANSACTION_SHAPE_ACS_DELTA.
3146
+ * Optional, if unset, no (un)assignments are emitted in the stream.
3147
+ */
3148
+ includeReassignments?: components['schemas']['EventFormat'];
3149
+ /**
3150
+ * @description Include topology events in streams.
3151
+ * Optional, if unset no topology events are emitted in the stream.
3152
+ */
3153
+ includeTopologyEvents?: components['schemas']['TopologyFormat'];
3154
+ };
3155
+ /** UpdateIdentityProviderConfigRequest */
3156
+ UpdateIdentityProviderConfigRequest: {
3157
+ /**
3158
+ * @description The identity provider config to update.
3159
+ * Required,
3160
+ * Modifiable
3161
+ */
3162
+ identityProviderConfig?: components['schemas']['IdentityProviderConfig'];
3163
+ /**
3164
+ * @description An update mask specifies how and which properties of the ``IdentityProviderConfig`` message are to be updated.
3165
+ * An update mask consists of a set of update paths.
3166
+ * A valid update path points to a field or a subfield relative to the ``IdentityProviderConfig`` message.
3167
+ * A valid update mask must:
3168
+ *
3169
+ * 1. contain at least one update path,
3170
+ * 2. contain only valid update paths.
3171
+ *
3172
+ * Fields that can be updated are marked as ``Modifiable``.
3173
+ * For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``.
3174
+ * Required
3175
+ */
3176
+ updateMask?: components['schemas']['FieldMask'];
3177
+ };
3178
+ /** UpdateIdentityProviderConfigResponse */
3179
+ UpdateIdentityProviderConfigResponse: {
3180
+ /** @description Updated identity provider config */
3181
+ identityProviderConfig?: components['schemas']['IdentityProviderConfig'];
3182
+ };
3183
+ /**
3184
+ * UpdatePartyDetailsRequest
3185
+ * @description Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(party_details.identity_provider_id)``
3186
+ */
3187
+ UpdatePartyDetailsRequest: {
3188
+ /**
3189
+ * @description Party to be updated
3190
+ * Required,
3191
+ * Modifiable
3192
+ */
3193
+ partyDetails?: components['schemas']['PartyDetails'];
3194
+ /**
3195
+ * @description An update mask specifies how and which properties of the ``PartyDetails`` message are to be updated.
3196
+ * An update mask consists of a set of update paths.
3197
+ * A valid update path points to a field or a subfield relative to the ``PartyDetails`` message.
3198
+ * A valid update mask must:
3199
+ *
3200
+ * 1. contain at least one update path,
3201
+ * 2. contain only valid update paths.
3202
+ *
3203
+ * Fields that can be updated are marked as ``Modifiable``.
3204
+ * An update path can also point to non-``Modifiable`` fields such as 'party' and 'local_metadata.resource_version'
3205
+ * because they are used:
3206
+ *
3207
+ * 1. to identify the party details resource subject to the update,
3208
+ * 2. for concurrent change control.
3209
+ *
3210
+ * An update path can also point to non-``Modifiable`` fields such as 'is_local'
3211
+ * as long as the values provided in the update request match the server values.
3212
+ * Examples of update paths: 'local_metadata.annotations', 'local_metadata'.
3213
+ * For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``.
3214
+ * For similar Ledger API see ``com.daml.ledger.api.v2.admin.UpdateUserRequest``.
3215
+ * Required
3216
+ */
3217
+ updateMask?: components['schemas']['FieldMask'];
3218
+ };
3219
+ /** UpdatePartyDetailsResponse */
3220
+ UpdatePartyDetailsResponse: {
3221
+ /** @description Updated party details */
3222
+ partyDetails?: components['schemas']['PartyDetails'];
3223
+ };
3224
+ /**
3225
+ * UpdateUserIdentityProviderIdRequest
3226
+ * @description Required authorization: ``HasRight(ParticipantAdmin)``
3227
+ */
3228
+ UpdateUserIdentityProviderIdRequest: {
3229
+ /** @description User to update */
3230
+ userId: string;
3231
+ /** @description Current identity provider ID of the user */
3232
+ sourceIdentityProviderId: string;
3233
+ /** @description Target identity provider ID of the user */
3234
+ targetIdentityProviderId: string;
3235
+ };
3236
+ /** UpdateUserIdentityProviderIdResponse */
3237
+ UpdateUserIdentityProviderIdResponse: Record<string, never>;
3238
+ /**
3239
+ * UpdateUserRequest
3240
+ * @description Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(user.identity_provider_id)``
3241
+ */
3242
+ UpdateUserRequest: {
3243
+ /**
3244
+ * @description The user to update.
3245
+ * Required,
3246
+ * Modifiable
3247
+ */
3248
+ user?: components['schemas']['User'];
3249
+ /**
3250
+ * @description An update mask specifies how and which properties of the ``User`` message are to be updated.
3251
+ * An update mask consists of a set of update paths.
3252
+ * A valid update path points to a field or a subfield relative to the ``User`` message.
3253
+ * A valid update mask must:
3254
+ *
3255
+ * 1. contain at least one update path,
3256
+ * 2. contain only valid update paths.
3257
+ *
3258
+ * Fields that can be updated are marked as ``Modifiable``.
3259
+ * An update path can also point to a non-``Modifiable`` fields such as 'id' and 'metadata.resource_version'
3260
+ * because they are used:
3261
+ *
3262
+ * 1. to identify the user resource subject to the update,
3263
+ * 2. for concurrent change control.
3264
+ *
3265
+ * Examples of valid update paths: 'primary_party', 'metadata', 'metadata.annotations'.
3266
+ * For additional information see the documentation for standard protobuf3's ``google.protobuf.FieldMask``.
3267
+ * For similar Ledger API see ``com.daml.ledger.api.v2.admin.UpdatePartyDetailsRequest``.
3268
+ * Required
3269
+ */
3270
+ updateMask?: components['schemas']['FieldMask'];
3271
+ };
3272
+ /** UpdateUserResponse */
3273
+ UpdateUserResponse: {
3274
+ /** @description Updated user */
3275
+ user?: components['schemas']['User'];
3276
+ };
3277
+ /**
3278
+ * UploadDarFileResponse
3279
+ * @description A message that is received when the upload operation succeeded.
3280
+ */
3281
+ UploadDarFileResponse: Record<string, never>;
3282
+ /**
3283
+ * User
3284
+ * @description Users and rights
3285
+ * /////////////////
3286
+ * Users are used to dynamically manage the rights given to Daml applications.
3287
+ * They are stored and managed per participant node.
3288
+ */
3289
+ User: {
3290
+ /**
3291
+ * @description The user identifier, which must be a non-empty string of at most 128
3292
+ * characters that are either alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
3293
+ * Required
3294
+ */
3295
+ id: string;
3296
+ /**
3297
+ * @description The primary party as which this user reads and acts by default on the ledger
3298
+ * *provided* it has the corresponding ``CanReadAs(primary_party)`` or
3299
+ * ``CanActAs(primary_party)`` rights.
3300
+ * Ledger API clients SHOULD set this field to a non-empty value for all users to
3301
+ * enable the users to act on the ledger using their own Daml party.
3302
+ * Users for participant administrators MAY have an associated primary party.
3303
+ * Optional,
3304
+ * Modifiable
3305
+ */
3306
+ primaryParty: string;
3307
+ /**
3308
+ * @description When set, then the user is denied all access to the Ledger API.
3309
+ * Otherwise, the user has access to the Ledger API as per the user's rights.
3310
+ * Optional,
3311
+ * Modifiable
3312
+ */
3313
+ isDeactivated: boolean;
3314
+ /**
3315
+ * @description The metadata of this user.
3316
+ * Note that the ``metadata.resource_version`` tracks changes to the properties described by the ``User`` message and not the user's rights.
3317
+ * Optional,
3318
+ * Modifiable
3319
+ */
3320
+ metadata?: components['schemas']['ObjectMeta'];
3321
+ /**
3322
+ * @description The ID of the identity provider configured by ``Identity Provider Config``
3323
+ * Optional, if not set, assume the user is managed by the default identity provider.
3324
+ */
3325
+ identityProviderId: string;
3326
+ };
3327
+ /** UserManagementFeature */
3328
+ UserManagementFeature: {
3329
+ /** @description Whether the Ledger API server provides the user management service. */
3330
+ supported: boolean;
3331
+ /**
3332
+ * Format: int32
3333
+ * @description The maximum number of rights that can be assigned to a single user.
3334
+ * Servers MUST support at least 100 rights per user.
3335
+ * A value of 0 means that the server enforces no rights per user limit.
3336
+ */
3337
+ maxRightsPerUser: number;
3338
+ /**
3339
+ * Format: int32
3340
+ * @description The maximum number of users the server can return in a single response (page).
3341
+ * Servers MUST support at least a 100 users per page.
3342
+ * A value of 0 means that the server enforces no page size limit.
3343
+ */
3344
+ maxUsersPageSize: number;
3345
+ };
3346
+ /**
3347
+ * WildcardFilter
3348
+ * @description This filter matches all templates.
3349
+ */
3350
+ WildcardFilter: {
3351
+ value: components['schemas']['WildcardFilter1'];
3352
+ };
3353
+ /**
3354
+ * WildcardFilter
3355
+ * @description This filter matches all templates.
3356
+ */
3357
+ WildcardFilter1: {
3358
+ /**
3359
+ * @description Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``.
3360
+ * Use this to access the contract create event payload in your API client
3361
+ * for submitting it as a disclosed contract with future commands.
3362
+ * Optional
3363
+ */
3364
+ includeCreatedEventBlob: boolean;
3365
+ };
3366
+ };
3367
+ responses: never;
3368
+ parameters: never;
3369
+ requestBodies: never;
3370
+ headers: never;
3371
+ pathItems: never;
3372
+ }
3373
+ export type $defs = Record<string, never>;
3374
+ export type external = Record<string, never>;
3375
+ export interface operations {
3376
+ /** @description Submit a batch of commands and wait for the completion details */
3377
+ 'postV2CommandsSubmit-and-wait': {
3378
+ requestBody: {
3379
+ content: {
3380
+ 'application/json': components['schemas']['JsCommands'];
3381
+ };
3382
+ };
3383
+ responses: {
3384
+ 200: {
3385
+ content: {
3386
+ 'application/json': components['schemas']['SubmitAndWaitResponse'];
3387
+ };
3388
+ };
3389
+ /** @description Invalid value for: body, Invalid value for: headers */
3390
+ 400: {
3391
+ content: {
3392
+ 'text/plain': string;
3393
+ };
3394
+ };
3395
+ default: {
3396
+ content: {
3397
+ 'application/json': components['schemas']['JsCantonError'];
3398
+ };
3399
+ };
3400
+ };
3401
+ };
3402
+ /** @description Submit a batch of commands and wait for the transaction response */
3403
+ 'postV2CommandsSubmit-and-wait-for-transaction': {
3404
+ requestBody: {
3405
+ content: {
3406
+ 'application/json': components['schemas']['JsSubmitAndWaitForTransactionRequest'];
3407
+ };
3408
+ };
3409
+ responses: {
3410
+ 200: {
3411
+ content: {
3412
+ 'application/json': components['schemas']['JsSubmitAndWaitForTransactionResponse'];
3413
+ };
3414
+ };
3415
+ /** @description Invalid value for: body, Invalid value for: headers */
3416
+ 400: {
3417
+ content: {
3418
+ 'text/plain': string;
3419
+ };
3420
+ };
3421
+ default: {
3422
+ content: {
3423
+ 'application/json': components['schemas']['JsCantonError'];
3424
+ };
3425
+ };
3426
+ };
3427
+ };
3428
+ /** @description Submit a batch of reassignment commands and wait for the reassignment response */
3429
+ 'postV2CommandsSubmit-and-wait-for-reassignment': {
3430
+ requestBody: {
3431
+ content: {
3432
+ 'application/json': components['schemas']['SubmitAndWaitForReassignmentRequest'];
3433
+ };
3434
+ };
3435
+ responses: {
3436
+ 200: {
3437
+ content: {
3438
+ 'application/json': components['schemas']['JsSubmitAndWaitForReassignmentResponse'];
3439
+ };
3440
+ };
3441
+ /** @description Invalid value for: body, Invalid value for: headers */
3442
+ 400: {
3443
+ content: {
3444
+ 'text/plain': string;
3445
+ };
3446
+ };
3447
+ default: {
3448
+ content: {
3449
+ 'application/json': components['schemas']['JsCantonError'];
3450
+ };
3451
+ };
3452
+ };
3453
+ };
3454
+ /** @description Submit a batch of commands and wait for the transaction trees response */
3455
+ 'postV2CommandsSubmit-and-wait-for-transaction-tree': {
3456
+ requestBody: {
3457
+ content: {
3458
+ 'application/json': components['schemas']['JsCommands'];
3459
+ };
3460
+ };
3461
+ responses: {
3462
+ 200: {
3463
+ content: {
3464
+ 'application/json': components['schemas']['JsSubmitAndWaitForTransactionTreeResponse'];
3465
+ };
3466
+ };
3467
+ /** @description Invalid value for: body, Invalid value for: headers */
3468
+ 400: {
3469
+ content: {
3470
+ 'text/plain': string;
3471
+ };
3472
+ };
3473
+ default: {
3474
+ content: {
3475
+ 'application/json': components['schemas']['JsCantonError'];
3476
+ };
3477
+ };
3478
+ };
3479
+ };
3480
+ /** @description Submit a command asynchronously */
3481
+ postV2CommandsAsyncSubmit: {
3482
+ requestBody: {
3483
+ content: {
3484
+ 'application/json': components['schemas']['JsCommands'];
3485
+ };
3486
+ };
3487
+ responses: {
3488
+ 200: {
3489
+ content: {
3490
+ 'application/json': components['schemas']['SubmitResponse'];
3491
+ };
3492
+ };
3493
+ /** @description Invalid value for: body, Invalid value for: headers */
3494
+ 400: {
3495
+ content: {
3496
+ 'text/plain': string;
3497
+ };
3498
+ };
3499
+ default: {
3500
+ content: {
3501
+ 'application/json': components['schemas']['JsCantonError'];
3502
+ };
3503
+ };
3504
+ };
3505
+ };
3506
+ /** @description Submit reassignment command asynchronously */
3507
+ 'postV2CommandsAsyncSubmit-reassignment': {
3508
+ requestBody: {
3509
+ content: {
3510
+ 'application/json': components['schemas']['SubmitReassignmentRequest'];
3511
+ };
3512
+ };
3513
+ responses: {
3514
+ 200: {
3515
+ content: {
3516
+ 'application/json': components['schemas']['SubmitReassignmentResponse'];
3517
+ };
3518
+ };
3519
+ /** @description Invalid value for: body, Invalid value for: headers */
3520
+ 400: {
3521
+ content: {
3522
+ 'text/plain': string;
3523
+ };
3524
+ };
3525
+ default: {
3526
+ content: {
3527
+ 'application/json': components['schemas']['JsCantonError'];
3528
+ };
3529
+ };
3530
+ };
3531
+ };
3532
+ /** @description Query completions list (blocking call) */
3533
+ postV2CommandsCompletions: {
3534
+ parameters: {
3535
+ query?: {
3536
+ /** @description maximum number of elements to return, this param is ignored if is bigger than server setting */
3537
+ limit?: number;
3538
+ /** @description timeout to complete and send result if no new elements are received (for open ended streams) */
3539
+ stream_idle_timeout_ms?: number;
3540
+ };
3541
+ };
3542
+ requestBody: {
3543
+ content: {
3544
+ 'application/json': components['schemas']['CompletionStreamRequest'];
3545
+ };
3546
+ };
3547
+ responses: {
3548
+ 200: {
3549
+ content: {
3550
+ 'application/json': components['schemas']['CompletionStreamResponse'][];
3551
+ };
3552
+ };
3553
+ /** @description Invalid value for: body, Invalid value for: query parameter limit, Invalid value for: query parameter stream_idle_timeout_ms, Invalid value for: headers */
3554
+ 400: {
3555
+ content: {
3556
+ 'text/plain': string;
3557
+ };
3558
+ };
3559
+ default: {
3560
+ content: {
3561
+ 'application/json': components['schemas']['JsCantonError'];
3562
+ };
3563
+ };
3564
+ };
3565
+ };
3566
+ /** @description Get events by contract Id */
3567
+ 'postV2EventsEvents-by-contract-id': {
3568
+ requestBody: {
3569
+ content: {
3570
+ 'application/json': components['schemas']['GetEventsByContractIdRequest'];
3571
+ };
3572
+ };
3573
+ responses: {
3574
+ 200: {
3575
+ content: {
3576
+ 'application/json': components['schemas']['JsGetEventsByContractIdResponse'];
3577
+ };
3578
+ };
3579
+ /** @description Invalid value for: body, Invalid value for: headers */
3580
+ 400: {
3581
+ content: {
3582
+ 'text/plain': string;
3583
+ };
3584
+ };
3585
+ default: {
3586
+ content: {
3587
+ 'application/json': components['schemas']['JsCantonError'];
3588
+ };
3589
+ };
3590
+ };
3591
+ };
3592
+ /** @description Get the version details of the participant node */
3593
+ getV2Version: {
3594
+ responses: {
3595
+ 200: {
3596
+ content: {
3597
+ 'application/json': components['schemas']['GetLedgerApiVersionResponse'];
3598
+ };
3599
+ };
3600
+ /** @description Invalid value for: headers */
3601
+ 400: {
3602
+ content: {
3603
+ 'text/plain': string;
3604
+ };
3605
+ };
3606
+ default: {
3607
+ content: {
3608
+ 'application/json': components['schemas']['JsCantonError'];
3609
+ };
3610
+ };
3611
+ };
3612
+ };
3613
+ /** @description List all packages uploaded on the participant node */
3614
+ getV2Packages: {
3615
+ responses: {
3616
+ 200: {
3617
+ content: {
3618
+ 'application/json': components['schemas']['ListPackagesResponse'];
3619
+ };
3620
+ };
3621
+ /** @description Invalid value for: headers */
3622
+ 400: {
3623
+ content: {
3624
+ 'text/plain': string;
3625
+ };
3626
+ };
3627
+ default: {
3628
+ content: {
3629
+ 'application/json': components['schemas']['JsCantonError'];
3630
+ };
3631
+ };
3632
+ };
3633
+ };
3634
+ /** @description Upload a DAR to the participant node */
3635
+ postV2Packages: {
3636
+ requestBody: {
3637
+ content: {
3638
+ 'application/octet-stream': string;
3639
+ };
3640
+ };
3641
+ responses: {
3642
+ 200: {
3643
+ content: {
3644
+ 'application/json': components['schemas']['UploadDarFileResponse'];
3645
+ };
3646
+ };
3647
+ /** @description Invalid value for: body, Invalid value for: headers */
3648
+ 400: {
3649
+ content: {
3650
+ 'text/plain': string;
3651
+ };
3652
+ };
3653
+ default: {
3654
+ content: {
3655
+ 'application/json': components['schemas']['JsCantonError'];
3656
+ };
3657
+ };
3658
+ };
3659
+ };
3660
+ /** @description Download the package for the requested package-id */
3661
+ 'getV2PackagesPackage-id': {
3662
+ parameters: {
3663
+ path: {
3664
+ 'package-id': string;
3665
+ };
3666
+ };
3667
+ responses: {
3668
+ 200: {
3669
+ headers: {
3670
+ 'Canton-Package-Hash': string;
3671
+ };
3672
+ content: {
3673
+ 'application/octet-stream': string;
3674
+ };
3675
+ };
3676
+ /** @description Invalid value for: headers */
3677
+ 400: {
3678
+ content: {
3679
+ 'text/plain': string;
3680
+ };
3681
+ };
3682
+ default: {
3683
+ content: {
3684
+ 'application/json': components['schemas']['JsCantonError'];
3685
+ };
3686
+ };
3687
+ };
3688
+ };
3689
+ /** @description Get package status */
3690
+ 'getV2PackagesPackage-idStatus': {
3691
+ parameters: {
3692
+ path: {
3693
+ 'package-id': string;
3694
+ };
3695
+ };
3696
+ responses: {
3697
+ 200: {
3698
+ content: {
3699
+ 'application/json': components['schemas']['GetPackageStatusResponse'];
3700
+ };
3701
+ };
3702
+ /** @description Invalid value for: headers */
3703
+ 400: {
3704
+ content: {
3705
+ 'text/plain': string;
3706
+ };
3707
+ };
3708
+ default: {
3709
+ content: {
3710
+ 'application/json': components['schemas']['JsCantonError'];
3711
+ };
3712
+ };
3713
+ };
3714
+ };
3715
+ /** @description List all known parties. */
3716
+ getV2Parties: {
3717
+ parameters: {
3718
+ query?: {
3719
+ /** @description maximum number of elements in a returned page */
3720
+ pageSize?: number;
3721
+ /** @description token - to continue results from a given page, leave empty to start from the beginning of the list, obtain token from the result of previous page */
3722
+ pageToken?: string;
3723
+ };
3724
+ };
3725
+ responses: {
3726
+ 200: {
3727
+ content: {
3728
+ 'application/json': components['schemas']['ListKnownPartiesResponse'];
3729
+ };
3730
+ };
3731
+ /** @description Invalid value for: query parameter pageSize, Invalid value for: query parameter pageToken, Invalid value for: headers */
3732
+ 400: {
3733
+ content: {
3734
+ 'text/plain': string;
3735
+ };
3736
+ };
3737
+ default: {
3738
+ content: {
3739
+ 'application/json': components['schemas']['JsCantonError'];
3740
+ };
3741
+ };
3742
+ };
3743
+ };
3744
+ /** @description Allocate a new party to the participant node */
3745
+ postV2Parties: {
3746
+ requestBody: {
3747
+ content: {
3748
+ 'application/json': components['schemas']['AllocatePartyRequest'];
3749
+ };
3750
+ };
3751
+ responses: {
3752
+ 200: {
3753
+ content: {
3754
+ 'application/json': components['schemas']['AllocatePartyResponse'];
3755
+ };
3756
+ };
3757
+ /** @description Invalid value for: body, Invalid value for: headers */
3758
+ 400: {
3759
+ content: {
3760
+ 'text/plain': string;
3761
+ };
3762
+ };
3763
+ default: {
3764
+ content: {
3765
+ 'application/json': components['schemas']['JsCantonError'];
3766
+ };
3767
+ };
3768
+ };
3769
+ };
3770
+ /** @description Get participant id */
3771
+ 'getV2PartiesParticipant-id': {
3772
+ responses: {
3773
+ 200: {
3774
+ content: {
3775
+ 'application/json': components['schemas']['GetParticipantIdResponse'];
3776
+ };
3777
+ };
3778
+ /** @description Invalid value for: headers */
3779
+ 400: {
3780
+ content: {
3781
+ 'text/plain': string;
3782
+ };
3783
+ };
3784
+ default: {
3785
+ content: {
3786
+ 'application/json': components['schemas']['JsCantonError'];
3787
+ };
3788
+ };
3789
+ };
3790
+ };
3791
+ /** @description Get party details */
3792
+ getV2PartiesParty: {
3793
+ parameters: {
3794
+ query?: {
3795
+ 'identity-provider-id'?: string;
3796
+ parties?: string[];
3797
+ };
3798
+ path: {
3799
+ party: string;
3800
+ };
3801
+ };
3802
+ responses: {
3803
+ 200: {
3804
+ content: {
3805
+ 'application/json': components['schemas']['GetPartiesResponse'];
3806
+ };
3807
+ };
3808
+ /** @description Invalid value for: query parameter identity-provider-id, Invalid value for: query parameter parties, Invalid value for: headers */
3809
+ 400: {
3810
+ content: {
3811
+ 'text/plain': string;
3812
+ };
3813
+ };
3814
+ default: {
3815
+ content: {
3816
+ 'application/json': components['schemas']['JsCantonError'];
3817
+ };
3818
+ };
3819
+ };
3820
+ };
3821
+ /** @description Allocate a new party to the participant node */
3822
+ patchV2PartiesParty: {
3823
+ parameters: {
3824
+ path: {
3825
+ party: string;
3826
+ };
3827
+ };
3828
+ requestBody: {
3829
+ content: {
3830
+ 'application/json': components['schemas']['UpdatePartyDetailsRequest'];
3831
+ };
3832
+ };
3833
+ responses: {
3834
+ 200: {
3835
+ content: {
3836
+ 'application/json': components['schemas']['UpdatePartyDetailsResponse'];
3837
+ };
3838
+ };
3839
+ /** @description Invalid value for: body, Invalid value for: headers */
3840
+ 400: {
3841
+ content: {
3842
+ 'text/plain': string;
3843
+ };
3844
+ };
3845
+ default: {
3846
+ content: {
3847
+ 'application/json': components['schemas']['JsCantonError'];
3848
+ };
3849
+ };
3850
+ };
3851
+ };
3852
+ /** @description Query active contracts list (blocking call) */
3853
+ 'postV2StateActive-contracts': {
3854
+ parameters: {
3855
+ query?: {
3856
+ /** @description maximum number of elements to return, this param is ignored if is bigger than server setting */
3857
+ limit?: number;
3858
+ /** @description timeout to complete and send result if no new elements are received (for open ended streams) */
3859
+ stream_idle_timeout_ms?: number;
3860
+ };
3861
+ };
3862
+ requestBody: {
3863
+ content: {
3864
+ 'application/json': components['schemas']['GetActiveContractsRequest'];
3865
+ };
3866
+ };
3867
+ responses: {
3868
+ 200: {
3869
+ content: {
3870
+ 'application/json': components['schemas']['JsGetActiveContractsResponse'][];
3871
+ };
3872
+ };
3873
+ /** @description Invalid value for: body, Invalid value for: query parameter limit, Invalid value for: query parameter stream_idle_timeout_ms, Invalid value for: headers */
3874
+ 400: {
3875
+ content: {
3876
+ 'text/plain': string;
3877
+ };
3878
+ };
3879
+ default: {
3880
+ content: {
3881
+ 'application/json': components['schemas']['JsCantonError'];
3882
+ };
3883
+ };
3884
+ };
3885
+ };
3886
+ /** @description Get connected synchronizers */
3887
+ 'getV2StateConnected-synchronizers': {
3888
+ parameters: {
3889
+ query: {
3890
+ party: string;
3891
+ participantId?: string;
3892
+ };
3893
+ };
3894
+ responses: {
3895
+ 200: {
3896
+ content: {
3897
+ 'application/json': components['schemas']['GetConnectedSynchronizersResponse'];
3898
+ };
3899
+ };
3900
+ /** @description Invalid value for: query parameter party, Invalid value for: query parameter participantId, Invalid value for: headers */
3901
+ 400: {
3902
+ content: {
3903
+ 'text/plain': string;
3904
+ };
3905
+ };
3906
+ default: {
3907
+ content: {
3908
+ 'application/json': components['schemas']['JsCantonError'];
3909
+ };
3910
+ };
3911
+ };
3912
+ };
3913
+ /** @description Get ledger end */
3914
+ 'getV2StateLedger-end': {
3915
+ responses: {
3916
+ 200: {
3917
+ content: {
3918
+ 'application/json': components['schemas']['GetLedgerEndResponse'];
3919
+ };
3920
+ };
3921
+ /** @description Invalid value for: headers */
3922
+ 400: {
3923
+ content: {
3924
+ 'text/plain': string;
3925
+ };
3926
+ };
3927
+ default: {
3928
+ content: {
3929
+ 'application/json': components['schemas']['JsCantonError'];
3930
+ };
3931
+ };
3932
+ };
3933
+ };
3934
+ /** @description Get latest pruned offsets */
3935
+ 'getV2StateLatest-pruned-offsets': {
3936
+ responses: {
3937
+ 200: {
3938
+ content: {
3939
+ 'application/json': components['schemas']['GetLatestPrunedOffsetsResponse'];
3940
+ };
3941
+ };
3942
+ /** @description Invalid value for: headers */
3943
+ 400: {
3944
+ content: {
3945
+ 'text/plain': string;
3946
+ };
3947
+ };
3948
+ default: {
3949
+ content: {
3950
+ 'application/json': components['schemas']['JsCantonError'];
3951
+ };
3952
+ };
3953
+ };
3954
+ };
3955
+ /** @description Query flat transactions update list (blocking call) */
3956
+ postV2UpdatesFlats: {
3957
+ parameters: {
3958
+ query?: {
3959
+ /** @description maximum number of elements to return, this param is ignored if is bigger than server setting */
3960
+ limit?: number;
3961
+ /** @description timeout to complete and send result if no new elements are received (for open ended streams) */
3962
+ stream_idle_timeout_ms?: number;
3963
+ };
3964
+ };
3965
+ requestBody: {
3966
+ content: {
3967
+ 'application/json': components['schemas']['GetUpdatesRequest'];
3968
+ };
3969
+ };
3970
+ responses: {
3971
+ 200: {
3972
+ content: {
3973
+ 'application/json': components['schemas']['JsGetUpdatesResponse'][];
3974
+ };
3975
+ };
3976
+ /** @description Invalid value for: body, Invalid value for: query parameter limit, Invalid value for: query parameter stream_idle_timeout_ms, Invalid value for: headers */
3977
+ 400: {
3978
+ content: {
3979
+ 'text/plain': string;
3980
+ };
3981
+ };
3982
+ default: {
3983
+ content: {
3984
+ 'application/json': components['schemas']['JsCantonError'];
3985
+ };
3986
+ };
3987
+ };
3988
+ };
3989
+ /** @description Query update transactions tree list (blocking call) */
3990
+ postV2UpdatesTrees: {
3991
+ parameters: {
3992
+ query?: {
3993
+ /** @description maximum number of elements to return, this param is ignored if is bigger than server setting */
3994
+ limit?: number;
3995
+ /** @description timeout to complete and send result if no new elements are received (for open ended streams) */
3996
+ stream_idle_timeout_ms?: number;
3997
+ };
3998
+ };
3999
+ requestBody: {
4000
+ content: {
4001
+ 'application/json': components['schemas']['GetUpdatesRequest'];
4002
+ };
4003
+ };
4004
+ responses: {
4005
+ 200: {
4006
+ content: {
4007
+ 'application/json': components['schemas']['JsGetUpdateTreesResponse'][];
4008
+ };
4009
+ };
4010
+ /** @description Invalid value for: body, Invalid value for: query parameter limit, Invalid value for: query parameter stream_idle_timeout_ms, Invalid value for: headers */
4011
+ 400: {
4012
+ content: {
4013
+ 'text/plain': string;
4014
+ };
4015
+ };
4016
+ default: {
4017
+ content: {
4018
+ 'application/json': components['schemas']['JsCantonError'];
4019
+ };
4020
+ };
4021
+ };
4022
+ };
4023
+ /** @description Get transaction tree by offset */
4024
+ 'getV2UpdatesTransaction-tree-by-offsetOffset': {
4025
+ parameters: {
4026
+ query?: {
4027
+ parties?: string[];
4028
+ };
4029
+ path: {
4030
+ offset: number;
4031
+ };
4032
+ };
4033
+ responses: {
4034
+ 200: {
4035
+ content: {
4036
+ 'application/json': components['schemas']['JsGetTransactionTreeResponse'];
4037
+ };
4038
+ };
4039
+ /** @description Invalid value for: path parameter offset, Invalid value for: query parameter parties, Invalid value for: headers */
4040
+ 400: {
4041
+ content: {
4042
+ 'text/plain': string;
4043
+ };
4044
+ };
4045
+ default: {
4046
+ content: {
4047
+ 'application/json': components['schemas']['JsCantonError'];
4048
+ };
4049
+ };
4050
+ };
4051
+ };
4052
+ /** @description Get transaction by offset */
4053
+ 'postV2UpdatesTransaction-by-offset': {
4054
+ requestBody: {
4055
+ content: {
4056
+ 'application/json': components['schemas']['GetTransactionByOffsetRequest'];
4057
+ };
4058
+ };
4059
+ responses: {
4060
+ 200: {
4061
+ content: {
4062
+ 'application/json': components['schemas']['JsGetTransactionResponse'];
4063
+ };
4064
+ };
4065
+ /** @description Invalid value for: body, Invalid value for: headers */
4066
+ 400: {
4067
+ content: {
4068
+ 'text/plain': string;
4069
+ };
4070
+ };
4071
+ default: {
4072
+ content: {
4073
+ 'application/json': components['schemas']['JsCantonError'];
4074
+ };
4075
+ };
4076
+ };
4077
+ };
4078
+ /** @description Get update by offset */
4079
+ 'postV2UpdatesUpdate-by-offset': {
4080
+ requestBody: {
4081
+ content: {
4082
+ 'application/json': components['schemas']['GetUpdateByOffsetRequest'];
4083
+ };
4084
+ };
4085
+ responses: {
4086
+ 200: {
4087
+ content: {
4088
+ 'application/json': components['schemas']['JsGetUpdateResponse'];
4089
+ };
4090
+ };
4091
+ /** @description Invalid value for: body, Invalid value for: headers */
4092
+ 400: {
4093
+ content: {
4094
+ 'text/plain': string;
4095
+ };
4096
+ };
4097
+ default: {
4098
+ content: {
4099
+ 'application/json': components['schemas']['JsCantonError'];
4100
+ };
4101
+ };
4102
+ };
4103
+ };
4104
+ /** @description Get transaction by id */
4105
+ 'postV2UpdatesTransaction-by-id': {
4106
+ requestBody: {
4107
+ content: {
4108
+ 'application/json': components['schemas']['GetTransactionByIdRequest'];
4109
+ };
4110
+ };
4111
+ responses: {
4112
+ 200: {
4113
+ content: {
4114
+ 'application/json': components['schemas']['JsGetTransactionResponse'];
4115
+ };
4116
+ };
4117
+ /** @description Invalid value for: body, Invalid value for: headers */
4118
+ 400: {
4119
+ content: {
4120
+ 'text/plain': string;
4121
+ };
4122
+ };
4123
+ default: {
4124
+ content: {
4125
+ 'application/json': components['schemas']['JsCantonError'];
4126
+ };
4127
+ };
4128
+ };
4129
+ };
4130
+ /** @description Get update by id */
4131
+ 'postV2UpdatesUpdate-by-id': {
4132
+ requestBody: {
4133
+ content: {
4134
+ 'application/json': components['schemas']['GetUpdateByIdRequest'];
4135
+ };
4136
+ };
4137
+ responses: {
4138
+ 200: {
4139
+ content: {
4140
+ 'application/json': components['schemas']['JsGetUpdateResponse'];
4141
+ };
4142
+ };
4143
+ /** @description Invalid value for: body, Invalid value for: headers */
4144
+ 400: {
4145
+ content: {
4146
+ 'text/plain': string;
4147
+ };
4148
+ };
4149
+ default: {
4150
+ content: {
4151
+ 'application/json': components['schemas']['JsCantonError'];
4152
+ };
4153
+ };
4154
+ };
4155
+ };
4156
+ /** @description Get transaction tree by id */
4157
+ 'getV2UpdatesTransaction-tree-by-idUpdate-id': {
4158
+ parameters: {
4159
+ query?: {
4160
+ parties?: string[];
4161
+ };
4162
+ path: {
4163
+ 'update-id': string;
4164
+ };
4165
+ };
4166
+ responses: {
4167
+ 200: {
4168
+ content: {
4169
+ 'application/json': components['schemas']['JsGetTransactionTreeResponse'];
4170
+ };
4171
+ };
4172
+ /** @description Invalid value for: query parameter parties, Invalid value for: headers */
4173
+ 400: {
4174
+ content: {
4175
+ 'text/plain': string;
4176
+ };
4177
+ };
4178
+ default: {
4179
+ content: {
4180
+ 'application/json': components['schemas']['JsCantonError'];
4181
+ };
4182
+ };
4183
+ };
4184
+ };
4185
+ /** @description List all users. */
4186
+ getV2Users: {
4187
+ parameters: {
4188
+ query?: {
4189
+ /** @description maximum number of elements in a returned page */
4190
+ pageSize?: number;
4191
+ /** @description token - to continue results from a given page, leave empty to start from the beginning of the list, obtain token from the result of previous page */
4192
+ pageToken?: string;
4193
+ };
4194
+ };
4195
+ responses: {
4196
+ 200: {
4197
+ content: {
4198
+ 'application/json': components['schemas']['ListUsersResponse'];
4199
+ };
4200
+ };
4201
+ /** @description Invalid value for: query parameter pageSize, Invalid value for: query parameter pageToken, Invalid value for: headers */
4202
+ 400: {
4203
+ content: {
4204
+ 'text/plain': string;
4205
+ };
4206
+ };
4207
+ default: {
4208
+ content: {
4209
+ 'application/json': components['schemas']['JsCantonError'];
4210
+ };
4211
+ };
4212
+ };
4213
+ };
4214
+ /** @description Create user. */
4215
+ postV2Users: {
4216
+ requestBody: {
4217
+ content: {
4218
+ 'application/json': components['schemas']['CreateUserRequest'];
4219
+ };
4220
+ };
4221
+ responses: {
4222
+ 200: {
4223
+ content: {
4224
+ 'application/json': components['schemas']['CreateUserResponse'];
4225
+ };
4226
+ };
4227
+ /** @description Invalid value for: body, Invalid value for: headers */
4228
+ 400: {
4229
+ content: {
4230
+ 'text/plain': string;
4231
+ };
4232
+ };
4233
+ default: {
4234
+ content: {
4235
+ 'application/json': components['schemas']['JsCantonError'];
4236
+ };
4237
+ };
4238
+ };
4239
+ };
4240
+ /** @description Get user details. */
4241
+ 'getV2UsersUser-id': {
4242
+ parameters: {
4243
+ path: {
4244
+ 'user-id': string;
4245
+ };
4246
+ };
4247
+ responses: {
4248
+ 200: {
4249
+ content: {
4250
+ 'application/json': components['schemas']['GetUserResponse'];
4251
+ };
4252
+ };
4253
+ /** @description Invalid value for: headers */
4254
+ 400: {
4255
+ content: {
4256
+ 'text/plain': string;
4257
+ };
4258
+ };
4259
+ default: {
4260
+ content: {
4261
+ 'application/json': components['schemas']['JsCantonError'];
4262
+ };
4263
+ };
4264
+ };
4265
+ };
4266
+ /** @description Delete user. */
4267
+ 'deleteV2UsersUser-id': {
4268
+ parameters: {
4269
+ path: {
4270
+ 'user-id': string;
4271
+ };
4272
+ };
4273
+ responses: {
4274
+ 200: {
4275
+ content: {
4276
+ 'application/json': Record<string, never>;
4277
+ };
4278
+ };
4279
+ /** @description Invalid value for: headers */
4280
+ 400: {
4281
+ content: {
4282
+ 'text/plain': string;
4283
+ };
4284
+ };
4285
+ default: {
4286
+ content: {
4287
+ 'application/json': components['schemas']['JsCantonError'];
4288
+ };
4289
+ };
4290
+ };
4291
+ };
4292
+ /** @description Update user. */
4293
+ 'patchV2UsersUser-id': {
4294
+ parameters: {
4295
+ path: {
4296
+ 'user-id': string;
4297
+ };
4298
+ };
4299
+ requestBody: {
4300
+ content: {
4301
+ 'application/json': components['schemas']['UpdateUserRequest'];
4302
+ };
4303
+ };
4304
+ responses: {
4305
+ 200: {
4306
+ content: {
4307
+ 'application/json': components['schemas']['UpdateUserResponse'];
4308
+ };
4309
+ };
4310
+ /** @description Invalid value for: body, Invalid value for: headers */
4311
+ 400: {
4312
+ content: {
4313
+ 'text/plain': string;
4314
+ };
4315
+ };
4316
+ default: {
4317
+ content: {
4318
+ 'application/json': components['schemas']['JsCantonError'];
4319
+ };
4320
+ };
4321
+ };
4322
+ };
4323
+ /** @description List user rights. */
4324
+ 'getV2UsersUser-idRights': {
4325
+ parameters: {
4326
+ path: {
4327
+ 'user-id': string;
4328
+ };
4329
+ };
4330
+ responses: {
4331
+ 200: {
4332
+ content: {
4333
+ 'application/json': components['schemas']['ListUserRightsResponse'];
4334
+ };
4335
+ };
4336
+ /** @description Invalid value for: headers */
4337
+ 400: {
4338
+ content: {
4339
+ 'text/plain': string;
4340
+ };
4341
+ };
4342
+ default: {
4343
+ content: {
4344
+ 'application/json': components['schemas']['JsCantonError'];
4345
+ };
4346
+ };
4347
+ };
4348
+ };
4349
+ /** @description Grant user rights. */
4350
+ 'postV2UsersUser-idRights': {
4351
+ parameters: {
4352
+ path: {
4353
+ 'user-id': string;
4354
+ };
4355
+ };
4356
+ requestBody: {
4357
+ content: {
4358
+ 'application/json': components['schemas']['GrantUserRightsRequest'];
4359
+ };
4360
+ };
4361
+ responses: {
4362
+ 200: {
4363
+ content: {
4364
+ 'application/json': components['schemas']['GrantUserRightsResponse'];
4365
+ };
4366
+ };
4367
+ /** @description Invalid value for: body, Invalid value for: headers */
4368
+ 400: {
4369
+ content: {
4370
+ 'text/plain': string;
4371
+ };
4372
+ };
4373
+ default: {
4374
+ content: {
4375
+ 'application/json': components['schemas']['JsCantonError'];
4376
+ };
4377
+ };
4378
+ };
4379
+ };
4380
+ /** @description Revoke user rights. */
4381
+ 'patchV2UsersUser-idRights': {
4382
+ parameters: {
4383
+ path: {
4384
+ 'user-id': string;
4385
+ };
4386
+ };
4387
+ requestBody: {
4388
+ content: {
4389
+ 'application/json': components['schemas']['RevokeUserRightsRequest'];
4390
+ };
4391
+ };
4392
+ responses: {
4393
+ 200: {
4394
+ content: {
4395
+ 'application/json': components['schemas']['RevokeUserRightsResponse'];
4396
+ };
4397
+ };
4398
+ /** @description Invalid value for: body, Invalid value for: headers */
4399
+ 400: {
4400
+ content: {
4401
+ 'text/plain': string;
4402
+ };
4403
+ };
4404
+ default: {
4405
+ content: {
4406
+ 'application/json': components['schemas']['JsCantonError'];
4407
+ };
4408
+ };
4409
+ };
4410
+ };
4411
+ /** @description Update user identity provider. */
4412
+ 'patchV2UsersUser-idIdentity-provider-id': {
4413
+ parameters: {
4414
+ path: {
4415
+ 'user-id': string;
4416
+ };
4417
+ };
4418
+ requestBody: {
4419
+ content: {
4420
+ 'application/json': components['schemas']['UpdateUserIdentityProviderIdRequest'];
4421
+ };
4422
+ };
4423
+ responses: {
4424
+ 200: {
4425
+ content: {
4426
+ 'application/json': components['schemas']['UpdateUserIdentityProviderIdResponse'];
4427
+ };
4428
+ };
4429
+ /** @description Invalid value for: body, Invalid value for: headers */
4430
+ 400: {
4431
+ content: {
4432
+ 'text/plain': string;
4433
+ };
4434
+ };
4435
+ default: {
4436
+ content: {
4437
+ 'application/json': components['schemas']['JsCantonError'];
4438
+ };
4439
+ };
4440
+ };
4441
+ };
4442
+ /** @description List all identity provider configs */
4443
+ getV2Idps: {
4444
+ responses: {
4445
+ 200: {
4446
+ content: {
4447
+ 'application/json': components['schemas']['ListIdentityProviderConfigsResponse'];
4448
+ };
4449
+ };
4450
+ /** @description Invalid value for: headers */
4451
+ 400: {
4452
+ content: {
4453
+ 'text/plain': string;
4454
+ };
4455
+ };
4456
+ default: {
4457
+ content: {
4458
+ 'application/json': components['schemas']['JsCantonError'];
4459
+ };
4460
+ };
4461
+ };
4462
+ };
4463
+ /** @description Create identity provider configs */
4464
+ postV2Idps: {
4465
+ requestBody: {
4466
+ content: {
4467
+ 'application/json': components['schemas']['CreateIdentityProviderConfigRequest'];
4468
+ };
4469
+ };
4470
+ responses: {
4471
+ 200: {
4472
+ content: {
4473
+ 'application/json': components['schemas']['CreateIdentityProviderConfigResponse'];
4474
+ };
4475
+ };
4476
+ /** @description Invalid value for: body, Invalid value for: headers */
4477
+ 400: {
4478
+ content: {
4479
+ 'text/plain': string;
4480
+ };
4481
+ };
4482
+ default: {
4483
+ content: {
4484
+ 'application/json': components['schemas']['JsCantonError'];
4485
+ };
4486
+ };
4487
+ };
4488
+ };
4489
+ /** @description Get identity provider config */
4490
+ 'getV2IdpsIdp-id': {
4491
+ parameters: {
4492
+ path: {
4493
+ 'idp-id': string;
4494
+ };
4495
+ };
4496
+ responses: {
4497
+ 200: {
4498
+ content: {
4499
+ 'application/json': components['schemas']['GetIdentityProviderConfigResponse'];
4500
+ };
4501
+ };
4502
+ /** @description Invalid value for: headers */
4503
+ 400: {
4504
+ content: {
4505
+ 'text/plain': string;
4506
+ };
4507
+ };
4508
+ default: {
4509
+ content: {
4510
+ 'application/json': components['schemas']['JsCantonError'];
4511
+ };
4512
+ };
4513
+ };
4514
+ };
4515
+ /** @description Delete identity provider config */
4516
+ 'deleteV2IdpsIdp-id': {
4517
+ parameters: {
4518
+ path: {
4519
+ 'idp-id': string;
4520
+ };
4521
+ };
4522
+ responses: {
4523
+ 200: {
4524
+ content: {
4525
+ 'application/json': components['schemas']['DeleteIdentityProviderConfigResponse'];
4526
+ };
4527
+ };
4528
+ /** @description Invalid value for: headers */
4529
+ 400: {
4530
+ content: {
4531
+ 'text/plain': string;
4532
+ };
4533
+ };
4534
+ default: {
4535
+ content: {
4536
+ 'application/json': components['schemas']['JsCantonError'];
4537
+ };
4538
+ };
4539
+ };
4540
+ };
4541
+ /** @description Update identity provider config */
4542
+ 'patchV2IdpsIdp-id': {
4543
+ parameters: {
4544
+ path: {
4545
+ 'idp-id': string;
4546
+ };
4547
+ };
4548
+ requestBody: {
4549
+ content: {
4550
+ 'application/json': components['schemas']['UpdateIdentityProviderConfigRequest'];
4551
+ };
4552
+ };
4553
+ responses: {
4554
+ 200: {
4555
+ content: {
4556
+ 'application/json': components['schemas']['UpdateIdentityProviderConfigResponse'];
4557
+ };
4558
+ };
4559
+ /** @description Invalid value for: body, Invalid value for: headers */
4560
+ 400: {
4561
+ content: {
4562
+ 'text/plain': string;
4563
+ };
4564
+ };
4565
+ default: {
4566
+ content: {
4567
+ 'application/json': components['schemas']['JsCantonError'];
4568
+ };
4569
+ };
4570
+ };
4571
+ };
4572
+ /** @description Prepare commands for signing */
4573
+ 'postV2Interactive-submissionPrepare': {
4574
+ requestBody: {
4575
+ content: {
4576
+ 'application/json': components['schemas']['JsPrepareSubmissionRequest'];
4577
+ };
4578
+ };
4579
+ responses: {
4580
+ 200: {
4581
+ content: {
4582
+ 'application/json': components['schemas']['JsPrepareSubmissionResponse'];
4583
+ };
4584
+ };
4585
+ /** @description Invalid value for: body, Invalid value for: headers */
4586
+ 400: {
4587
+ content: {
4588
+ 'text/plain': string;
4589
+ };
4590
+ };
4591
+ default: {
4592
+ content: {
4593
+ 'application/json': components['schemas']['JsCantonError'];
4594
+ };
4595
+ };
4596
+ };
4597
+ };
4598
+ /** @description Execute a signed transaction */
4599
+ 'postV2Interactive-submissionExecute': {
4600
+ requestBody: {
4601
+ content: {
4602
+ 'application/json': components['schemas']['JsExecuteSubmissionRequest'];
4603
+ };
4604
+ };
4605
+ responses: {
4606
+ 200: {
4607
+ content: {
4608
+ 'application/json': components['schemas']['ExecuteSubmissionResponse'];
4609
+ };
4610
+ };
4611
+ /** @description Invalid value for: body, Invalid value for: headers */
4612
+ 400: {
4613
+ content: {
4614
+ 'text/plain': string;
4615
+ };
4616
+ };
4617
+ default: {
4618
+ content: {
4619
+ 'application/json': components['schemas']['JsCantonError'];
4620
+ };
4621
+ };
4622
+ };
4623
+ };
4624
+ /** @description Get the preferred package version for constructing a command submission */
4625
+ 'getV2Interactive-submissionPreferred-package-version': {
4626
+ parameters: {
4627
+ query: {
4628
+ parties?: string[];
4629
+ 'package-name': string;
4630
+ vetting_valid_at?: string;
4631
+ 'synchronizer-id'?: string;
4632
+ };
4633
+ };
4634
+ responses: {
4635
+ 200: {
4636
+ content: {
4637
+ 'application/json': components['schemas']['GetPreferredPackageVersionResponse'];
4638
+ };
4639
+ };
4640
+ /** @description Invalid value for: query parameter parties, Invalid value for: query parameter package-name, Invalid value for: query parameter vetting_valid_at, Invalid value for: query parameter synchronizer-id, Invalid value for: headers */
4641
+ 400: {
4642
+ content: {
4643
+ 'text/plain': string;
4644
+ };
4645
+ };
4646
+ default: {
4647
+ content: {
4648
+ 'application/json': components['schemas']['JsCantonError'];
4649
+ };
4650
+ };
4651
+ };
4652
+ };
4653
+ }
4654
+ export {};
4655
+ //# sourceMappingURL=openapi-3.3.0-SNAPSHOT.d.ts.map