@canton-network/core-ledger-client 0.8.0 → 0.10.0

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 (231) hide show
  1. package/dist/generated-clients/openapi-3.4.0-SNAPSHOT.d.ts +5563 -0
  2. package/dist/generated-clients/openapi-3.4.0-SNAPSHOT.d.ts.map +1 -0
  3. package/dist/generated-clients/openapi-3.4.0-SNAPSHOT.js +5 -0
  4. package/dist/index.d.ts +2 -10
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1 -9
  7. package/dist/ledger-client.d.ts +22 -12
  8. package/dist/ledger-client.d.ts.map +1 -1
  9. package/dist/ledger-client.js +68 -24
  10. package/dist/token-standard-service.d.ts +8 -0
  11. package/dist/token-standard-service.d.ts.map +1 -1
  12. package/dist/token-standard-service.js +28 -0
  13. package/dist/txparse/parser.d.ts.map +1 -1
  14. package/dist/txparse/parser.js +7 -4
  15. package/dist/txparse/parser.test.js +2 -1
  16. package/dist/txparse/types.d.ts +9 -9
  17. package/dist/txparse/types.d.ts.map +1 -1
  18. package/package.json +5 -5
  19. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +0 -58
  20. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +0 -1
  21. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +0 -34
  22. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +0 -232
  23. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +0 -1
  24. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +0 -560
  25. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +0 -144
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +0 -1
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +0 -85
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +0 -291
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +0 -1
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +0 -663
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +0 -76
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +0 -1
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +0 -96
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +0 -106
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +0 -1
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +0 -62
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +0 -199
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +0 -1
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +0 -427
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +0 -56
  41. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +0 -1
  42. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +0 -35
  43. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +0 -81
  44. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +0 -1
  45. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +0 -135
  46. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +0 -196
  47. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +0 -1
  48. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +0 -113
  49. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +0 -413
  50. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +0 -1
  51. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +0 -867
  52. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +0 -210
  53. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +0 -1
  54. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +0 -126
  55. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +0 -758
  56. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +0 -1
  57. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +0 -1580
  58. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +0 -66
  59. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +0 -1
  60. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +0 -38
  61. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +0 -90
  62. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +0 -1
  63. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +0 -178
  64. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +0 -99
  65. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +0 -1
  66. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +0 -61
  67. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +0 -210
  68. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +0 -1
  69. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +0 -436
  70. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +0 -80
  71. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +0 -1
  72. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +0 -47
  73. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +0 -91
  74. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +0 -1
  75. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +0 -200
  76. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +0 -491
  77. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +0 -1
  78. package/dist/_proto/com/daml/ledger/api/v2/commands.js +0 -828
  79. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +0 -149
  80. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +0 -1
  81. package/dist/_proto/com/daml/ledger/api/v2/completion.js +0 -196
  82. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +0 -495
  83. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +0 -1
  84. package/dist/_proto/com/daml/ledger/api/v2/event.js +0 -723
  85. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +0 -52
  86. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +0 -1
  87. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +0 -31
  88. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +0 -150
  89. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +0 -1
  90. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +0 -291
  91. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +0 -96
  92. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +0 -1
  93. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +0 -225
  94. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +0 -43
  95. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +0 -1
  96. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +0 -85
  97. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +0 -100
  98. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +0 -1
  99. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +0 -59
  100. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +0 -877
  101. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +0 -1
  102. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +0 -1768
  103. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +0 -259
  104. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +0 -1
  105. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +0 -667
  106. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +0 -69
  107. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +0 -1
  108. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +0 -133
  109. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +0 -41
  110. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +0 -1
  111. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +0 -84
  112. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +0 -68
  113. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +0 -1
  114. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +0 -43
  115. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +0 -181
  116. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +0 -1
  117. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +0 -395
  118. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +0 -308
  119. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +0 -1
  120. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +0 -521
  121. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +0 -193
  122. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +0 -1
  123. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +0 -350
  124. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +0 -91
  125. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +0 -1
  126. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +0 -56
  127. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +0 -448
  128. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +0 -1
  129. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +0 -874
  130. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +0 -54
  131. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +0 -1
  132. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +0 -34
  133. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +0 -78
  134. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +0 -1
  135. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +0 -168
  136. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +0 -211
  137. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +0 -1
  138. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +0 -447
  139. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +0 -33
  140. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +0 -1
  141. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +0 -69
  142. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +0 -252
  143. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +0 -1
  144. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +0 -410
  145. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +0 -453
  146. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +0 -1
  147. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +0 -815
  148. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +0 -199
  149. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +0 -1
  150. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +0 -121
  151. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +0 -424
  152. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +0 -1
  153. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +0 -853
  154. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +0 -500
  155. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +0 -1
  156. package/dist/_proto/com/daml/ledger/api/v2/value.js +0 -937
  157. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +0 -40
  158. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +0 -1
  159. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +0 -25
  160. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +0 -190
  161. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +0 -1
  162. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +0 -400
  163. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +0 -1028
  164. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +0 -1
  165. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +0 -2110
  166. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +0 -30
  167. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +0 -1
  168. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +0 -62
  169. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +0 -168
  170. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +0 -1
  171. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +0 -395
  172. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +0 -1105
  173. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +0 -1
  174. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +0 -2294
  175. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +0 -278
  176. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +0 -1
  177. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +0 -654
  178. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +0 -166
  179. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +0 -1
  180. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +0 -379
  181. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +0 -199
  182. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +0 -1
  183. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +0 -136
  184. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +0 -1195
  185. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +0 -1
  186. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +0 -3342
  187. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +0 -119
  188. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +0 -1
  189. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +0 -76
  190. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +0 -607
  191. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +0 -1
  192. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +0 -1292
  193. package/dist/_proto/google/protobuf/any.d.ts +0 -177
  194. package/dist/_proto/google/protobuf/any.d.ts.map +0 -1
  195. package/dist/_proto/google/protobuf/any.js +0 -175
  196. package/dist/_proto/google/protobuf/descriptor.d.ts +0 -1638
  197. package/dist/_proto/google/protobuf/descriptor.d.ts.map +0 -1
  198. package/dist/_proto/google/protobuf/descriptor.js +0 -2999
  199. package/dist/_proto/google/protobuf/duration.d.ts +0 -114
  200. package/dist/_proto/google/protobuf/duration.d.ts.map +0 -1
  201. package/dist/_proto/google/protobuf/duration.js +0 -113
  202. package/dist/_proto/google/protobuf/empty.d.ts +0 -33
  203. package/dist/_proto/google/protobuf/empty.d.ts.map +0 -1
  204. package/dist/_proto/google/protobuf/empty.js +0 -41
  205. package/dist/_proto/google/protobuf/field_mask.d.ts +0 -240
  206. package/dist/_proto/google/protobuf/field_mask.d.ts.map +0 -1
  207. package/dist/_proto/google/protobuf/field_mask.js +0 -95
  208. package/dist/_proto/google/protobuf/struct.d.ts +0 -187
  209. package/dist/_proto/google/protobuf/struct.d.ts.map +0 -1
  210. package/dist/_proto/google/protobuf/struct.js +0 -417
  211. package/dist/_proto/google/protobuf/timestamp.d.ts +0 -159
  212. package/dist/_proto/google/protobuf/timestamp.d.ts.map +0 -1
  213. package/dist/_proto/google/protobuf/timestamp.js +0 -157
  214. package/dist/_proto/google/rpc/code.d.ts +0 -219
  215. package/dist/_proto/google/rpc/code.d.ts.map +0 -1
  216. package/dist/_proto/google/rpc/code.js +0 -237
  217. package/dist/_proto/google/rpc/context/attribute_context.d.ts +0 -594
  218. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +0 -1
  219. package/dist/_proto/google/rpc/context/attribute_context.js +0 -1007
  220. package/dist/_proto/google/rpc/context/audit_context.d.ts +0 -62
  221. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +0 -1
  222. package/dist/_proto/google/rpc/context/audit_context.js +0 -111
  223. package/dist/_proto/google/rpc/error_details.d.ts +0 -549
  224. package/dist/_proto/google/rpc/error_details.d.ts.map +0 -1
  225. package/dist/_proto/google/rpc/error_details.js +0 -918
  226. package/dist/_proto/google/rpc/status.d.ts +0 -55
  227. package/dist/_proto/google/rpc/status.d.ts.map +0 -1
  228. package/dist/_proto/google/rpc/status.js +0 -79
  229. package/dist/_proto/scalapb/scalapb.d.ts +0 -779
  230. package/dist/_proto/scalapb/scalapb.d.ts.map +0 -1
  231. package/dist/_proto/scalapb/scalapb.js +0 -1658
@@ -1,80 +0,0 @@
1
- import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
2
- import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
3
- import type { SubmitReassignmentResponse } from './command_submission_service.js';
4
- import type { SubmitReassignmentRequest } from './command_submission_service.js';
5
- import type { SubmitResponse } from './command_submission_service.js';
6
- import type { SubmitRequest } from './command_submission_service.js';
7
- import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
8
- import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
9
- /**
10
- * Allows clients to attempt advancing the ledger's state by submitting commands.
11
- * The final states of their submissions are disclosed by the Command Completion Service.
12
- * The on-ledger effects of their submissions are disclosed by the Update Service.
13
- *
14
- * Commands may fail in 2 distinct manners:
15
- *
16
- * 1. Failure communicated synchronously in the gRPC error of the submission.
17
- * 2. Failure communicated asynchronously in a Completion, see ``completion.proto``.
18
- *
19
- * Note that not only successfully submitted commands MAY produce a completion event. For example, the participant MAY
20
- * choose to produce a completion event for a rejection of a duplicate command.
21
- *
22
- * Clients that do not receive a successful completion about their submission MUST NOT assume that it was successful.
23
- * Clients SHOULD subscribe to the CompletionStream before starting to submit commands to prevent race conditions.
24
- *
25
- * @generated from protobuf service com.daml.ledger.api.v2.CommandSubmissionService
26
- */
27
- export interface ICommandSubmissionServiceClient {
28
- /**
29
- * Submit a single composite command.
30
- *
31
- * @generated from protobuf rpc: Submit
32
- */
33
- submit(input: SubmitRequest, options?: RpcOptions): UnaryCall<SubmitRequest, SubmitResponse>;
34
- /**
35
- * Submit a single reassignment.
36
- *
37
- * @generated from protobuf rpc: SubmitReassignment
38
- */
39
- submitReassignment(input: SubmitReassignmentRequest, options?: RpcOptions): UnaryCall<SubmitReassignmentRequest, SubmitReassignmentResponse>;
40
- }
41
- /**
42
- * Allows clients to attempt advancing the ledger's state by submitting commands.
43
- * The final states of their submissions are disclosed by the Command Completion Service.
44
- * The on-ledger effects of their submissions are disclosed by the Update Service.
45
- *
46
- * Commands may fail in 2 distinct manners:
47
- *
48
- * 1. Failure communicated synchronously in the gRPC error of the submission.
49
- * 2. Failure communicated asynchronously in a Completion, see ``completion.proto``.
50
- *
51
- * Note that not only successfully submitted commands MAY produce a completion event. For example, the participant MAY
52
- * choose to produce a completion event for a rejection of a duplicate command.
53
- *
54
- * Clients that do not receive a successful completion about their submission MUST NOT assume that it was successful.
55
- * Clients SHOULD subscribe to the CompletionStream before starting to submit commands to prevent race conditions.
56
- *
57
- * @generated from protobuf service com.daml.ledger.api.v2.CommandSubmissionService
58
- */
59
- export declare class CommandSubmissionServiceClient implements ICommandSubmissionServiceClient, ServiceInfo {
60
- private readonly _transport;
61
- typeName: string;
62
- methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
63
- options: {
64
- [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
65
- };
66
- constructor(_transport: RpcTransport);
67
- /**
68
- * Submit a single composite command.
69
- *
70
- * @generated from protobuf rpc: Submit
71
- */
72
- submit(input: SubmitRequest, options?: RpcOptions): UnaryCall<SubmitRequest, SubmitResponse>;
73
- /**
74
- * Submit a single reassignment.
75
- *
76
- * @generated from protobuf rpc: SubmitReassignment
77
- */
78
- submitReassignment(input: SubmitReassignmentRequest, options?: RpcOptions): UnaryCall<SubmitReassignmentRequest, SubmitReassignmentResponse>;
79
- }
80
- //# sourceMappingURL=command_submission_service.client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command_submission_service.client.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/command_submission_service.client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAE3D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA;AACjF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AAEhF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AACpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAC1D;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,MAAM,CACF,KAAK,EAAE,aAAa,EACpB,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,aAAa,EAAE,cAAc,CAAC,CAAA;IAC3C;;;;OAIG;IACH,kBAAkB,CACd,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,yBAAyB,EAAE,0BAA0B,CAAC,CAAA;CACtE;AACD;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,8BACT,YAAW,+BAA+B,EAAE,WAAW;IAK3C,OAAO,CAAC,QAAQ,CAAC,UAAU;IAHvC,QAAQ,SAAoC;IAC5C,OAAO,4DAAmC;IAC1C,OAAO;;MAAmC;gBACb,UAAU,EAAE,YAAY;IACrD;;;;OAIG;IACH,MAAM,CACF,KAAK,EAAE,aAAa,EACpB,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,aAAa,EAAE,cAAc,CAAC;IAW3C;;;;OAIG;IACH,kBAAkB,CACd,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,yBAAyB,EAAE,0BAA0B,CAAC;CAQtE"}
@@ -1,47 +0,0 @@
1
- import { CommandSubmissionService } from './command_submission_service.js';
2
- import { stackIntercept } from '@protobuf-ts/runtime-rpc';
3
- /**
4
- * Allows clients to attempt advancing the ledger's state by submitting commands.
5
- * The final states of their submissions are disclosed by the Command Completion Service.
6
- * The on-ledger effects of their submissions are disclosed by the Update Service.
7
- *
8
- * Commands may fail in 2 distinct manners:
9
- *
10
- * 1. Failure communicated synchronously in the gRPC error of the submission.
11
- * 2. Failure communicated asynchronously in a Completion, see ``completion.proto``.
12
- *
13
- * Note that not only successfully submitted commands MAY produce a completion event. For example, the participant MAY
14
- * choose to produce a completion event for a rejection of a duplicate command.
15
- *
16
- * Clients that do not receive a successful completion about their submission MUST NOT assume that it was successful.
17
- * Clients SHOULD subscribe to the CompletionStream before starting to submit commands to prevent race conditions.
18
- *
19
- * @generated from protobuf service com.daml.ledger.api.v2.CommandSubmissionService
20
- */
21
- export class CommandSubmissionServiceClient {
22
- _transport;
23
- typeName = CommandSubmissionService.typeName;
24
- methods = CommandSubmissionService.methods;
25
- options = CommandSubmissionService.options;
26
- constructor(_transport) {
27
- this._transport = _transport;
28
- }
29
- /**
30
- * Submit a single composite command.
31
- *
32
- * @generated from protobuf rpc: Submit
33
- */
34
- submit(input, options) {
35
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
36
- return stackIntercept('unary', this._transport, method, opt, input);
37
- }
38
- /**
39
- * Submit a single reassignment.
40
- *
41
- * @generated from protobuf rpc: SubmitReassignment
42
- */
43
- submitReassignment(input, options) {
44
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
45
- return stackIntercept('unary', this._transport, method, opt, input);
46
- }
47
- }
@@ -1,91 +0,0 @@
1
- import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
- import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
3
- import type { IBinaryWriter } from '@protobuf-ts/runtime';
4
- import type { BinaryReadOptions } from '@protobuf-ts/runtime';
5
- import type { IBinaryReader } from '@protobuf-ts/runtime';
6
- import type { PartialMessage } from '@protobuf-ts/runtime';
7
- import { MessageType } from '@protobuf-ts/runtime';
8
- import { ReassignmentCommands } from './reassignment_commands.js';
9
- import { Commands } from './commands.js';
10
- /**
11
- * The submitted commands will be processed atomically in a single transaction. Moreover, each ``Command`` in ``commands`` will be executed in the order specified by the request.
12
- *
13
- * @generated from protobuf message com.daml.ledger.api.v2.SubmitRequest
14
- */
15
- export interface SubmitRequest {
16
- /**
17
- * The commands to be submitted in a single transaction.
18
- * Required
19
- *
20
- * @generated from protobuf field: com.daml.ledger.api.v2.Commands commands = 1
21
- */
22
- commands?: Commands;
23
- }
24
- /**
25
- * @generated from protobuf message com.daml.ledger.api.v2.SubmitResponse
26
- */
27
- export interface SubmitResponse {
28
- }
29
- /**
30
- * @generated from protobuf message com.daml.ledger.api.v2.SubmitReassignmentRequest
31
- */
32
- export interface SubmitReassignmentRequest {
33
- /**
34
- * The reassignment command to be submitted.
35
- * Required
36
- *
37
- * @generated from protobuf field: com.daml.ledger.api.v2.ReassignmentCommands reassignment_commands = 1
38
- */
39
- reassignmentCommands?: ReassignmentCommands;
40
- }
41
- /**
42
- * @generated from protobuf message com.daml.ledger.api.v2.SubmitReassignmentResponse
43
- */
44
- export interface SubmitReassignmentResponse {
45
- }
46
- declare class SubmitRequest$Type extends MessageType<SubmitRequest> {
47
- constructor();
48
- create(value?: PartialMessage<SubmitRequest>): SubmitRequest;
49
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitRequest): SubmitRequest;
50
- internalBinaryWrite(message: SubmitRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
51
- }
52
- /**
53
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.SubmitRequest
54
- */
55
- export declare const SubmitRequest: SubmitRequest$Type;
56
- declare class SubmitResponse$Type extends MessageType<SubmitResponse> {
57
- constructor();
58
- create(value?: PartialMessage<SubmitResponse>): SubmitResponse;
59
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitResponse): SubmitResponse;
60
- internalBinaryWrite(message: SubmitResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
61
- }
62
- /**
63
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.SubmitResponse
64
- */
65
- export declare const SubmitResponse: SubmitResponse$Type;
66
- declare class SubmitReassignmentRequest$Type extends MessageType<SubmitReassignmentRequest> {
67
- constructor();
68
- create(value?: PartialMessage<SubmitReassignmentRequest>): SubmitReassignmentRequest;
69
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitReassignmentRequest): SubmitReassignmentRequest;
70
- internalBinaryWrite(message: SubmitReassignmentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
71
- }
72
- /**
73
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.SubmitReassignmentRequest
74
- */
75
- export declare const SubmitReassignmentRequest: SubmitReassignmentRequest$Type;
76
- declare class SubmitReassignmentResponse$Type extends MessageType<SubmitReassignmentResponse> {
77
- constructor();
78
- create(value?: PartialMessage<SubmitReassignmentResponse>): SubmitReassignmentResponse;
79
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitReassignmentResponse): SubmitReassignmentResponse;
80
- internalBinaryWrite(message: SubmitReassignmentResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
81
- }
82
- /**
83
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.SubmitReassignmentResponse
84
- */
85
- export declare const SubmitReassignmentResponse: SubmitReassignmentResponse$Type;
86
- /**
87
- * @generated ServiceType for protobuf service com.daml.ledger.api.v2.CommandSubmissionService
88
- */
89
- export declare const CommandSubmissionService: ServiceType;
90
- export {};
91
- //# sourceMappingURL=command_submission_service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command_submission_service.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/command_submission_service.ts"],"names":[],"mappings":"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"}
@@ -1,200 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter generate_dependencies
2
- // @generated from protobuf file "com/daml/ledger/api/v2/command_submission_service.proto" (package "com.daml.ledger.api.v2", syntax proto3)
3
- // tslint:disable
4
- //
5
- // Copyright (c) 2025 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
6
- // SPDX-License-Identifier: Apache-2.0
7
- //
8
- import { ServiceType } from '@protobuf-ts/runtime-rpc';
9
- import { WireType } from '@protobuf-ts/runtime';
10
- import { UnknownFieldHandler } from '@protobuf-ts/runtime';
11
- import { reflectionMergePartial } from '@protobuf-ts/runtime';
12
- import { MessageType } from '@protobuf-ts/runtime';
13
- import { ReassignmentCommands } from './reassignment_commands.js';
14
- import { Commands } from './commands.js';
15
- // @generated message type with reflection information, may provide speed optimized methods
16
- class SubmitRequest$Type extends MessageType {
17
- constructor() {
18
- super('com.daml.ledger.api.v2.SubmitRequest', [
19
- { no: 1, name: 'commands', kind: 'message', T: () => Commands },
20
- ]);
21
- }
22
- create(value) {
23
- const message = globalThis.Object.create(this.messagePrototype);
24
- if (value !== undefined)
25
- reflectionMergePartial(this, message, value);
26
- return message;
27
- }
28
- internalBinaryRead(reader, length, options, target) {
29
- let message = target ?? this.create(), end = reader.pos + length;
30
- while (reader.pos < end) {
31
- let [fieldNo, wireType] = reader.tag();
32
- switch (fieldNo) {
33
- case /* com.daml.ledger.api.v2.Commands commands */ 1:
34
- message.commands = Commands.internalBinaryRead(reader, reader.uint32(), options, message.commands);
35
- break;
36
- default:
37
- let u = options.readUnknownField;
38
- if (u === 'throw')
39
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
40
- let d = reader.skip(wireType);
41
- if (u !== false)
42
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
43
- }
44
- }
45
- return message;
46
- }
47
- internalBinaryWrite(message, writer, options) {
48
- /* com.daml.ledger.api.v2.Commands commands = 1; */
49
- if (message.commands)
50
- Commands.internalBinaryWrite(message.commands, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
51
- let u = options.writeUnknownFields;
52
- if (u !== false)
53
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
54
- return writer;
55
- }
56
- }
57
- /**
58
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.SubmitRequest
59
- */
60
- export const SubmitRequest = new SubmitRequest$Type();
61
- // @generated message type with reflection information, may provide speed optimized methods
62
- class SubmitResponse$Type extends MessageType {
63
- constructor() {
64
- super('com.daml.ledger.api.v2.SubmitResponse', []);
65
- }
66
- create(value) {
67
- const message = globalThis.Object.create(this.messagePrototype);
68
- if (value !== undefined)
69
- reflectionMergePartial(this, message, value);
70
- return message;
71
- }
72
- internalBinaryRead(reader, length, options, target) {
73
- let message = target ?? this.create(), end = reader.pos + length;
74
- while (reader.pos < end) {
75
- let [fieldNo, wireType] = reader.tag();
76
- switch (fieldNo) {
77
- default:
78
- let u = options.readUnknownField;
79
- if (u === 'throw')
80
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
81
- let d = reader.skip(wireType);
82
- if (u !== false)
83
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
84
- }
85
- }
86
- return message;
87
- }
88
- internalBinaryWrite(message, writer, options) {
89
- let u = options.writeUnknownFields;
90
- if (u !== false)
91
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
92
- return writer;
93
- }
94
- }
95
- /**
96
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.SubmitResponse
97
- */
98
- export const SubmitResponse = new SubmitResponse$Type();
99
- // @generated message type with reflection information, may provide speed optimized methods
100
- class SubmitReassignmentRequest$Type extends MessageType {
101
- constructor() {
102
- super('com.daml.ledger.api.v2.SubmitReassignmentRequest', [
103
- {
104
- no: 1,
105
- name: 'reassignment_commands',
106
- kind: 'message',
107
- T: () => ReassignmentCommands,
108
- },
109
- ]);
110
- }
111
- create(value) {
112
- const message = globalThis.Object.create(this.messagePrototype);
113
- if (value !== undefined)
114
- reflectionMergePartial(this, message, value);
115
- return message;
116
- }
117
- internalBinaryRead(reader, length, options, target) {
118
- let message = target ?? this.create(), end = reader.pos + length;
119
- while (reader.pos < end) {
120
- let [fieldNo, wireType] = reader.tag();
121
- switch (fieldNo) {
122
- case /* com.daml.ledger.api.v2.ReassignmentCommands reassignment_commands */ 1:
123
- message.reassignmentCommands =
124
- ReassignmentCommands.internalBinaryRead(reader, reader.uint32(), options, message.reassignmentCommands);
125
- break;
126
- default:
127
- let u = options.readUnknownField;
128
- if (u === 'throw')
129
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
130
- let d = reader.skip(wireType);
131
- if (u !== false)
132
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
133
- }
134
- }
135
- return message;
136
- }
137
- internalBinaryWrite(message, writer, options) {
138
- /* com.daml.ledger.api.v2.ReassignmentCommands reassignment_commands = 1; */
139
- if (message.reassignmentCommands)
140
- ReassignmentCommands.internalBinaryWrite(message.reassignmentCommands, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
141
- let u = options.writeUnknownFields;
142
- if (u !== false)
143
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
144
- return writer;
145
- }
146
- }
147
- /**
148
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.SubmitReassignmentRequest
149
- */
150
- export const SubmitReassignmentRequest = new SubmitReassignmentRequest$Type();
151
- // @generated message type with reflection information, may provide speed optimized methods
152
- class SubmitReassignmentResponse$Type extends MessageType {
153
- constructor() {
154
- super('com.daml.ledger.api.v2.SubmitReassignmentResponse', []);
155
- }
156
- create(value) {
157
- const message = globalThis.Object.create(this.messagePrototype);
158
- if (value !== undefined)
159
- reflectionMergePartial(this, message, value);
160
- return message;
161
- }
162
- internalBinaryRead(reader, length, options, target) {
163
- let message = target ?? this.create(), end = reader.pos + length;
164
- while (reader.pos < end) {
165
- let [fieldNo, wireType] = reader.tag();
166
- switch (fieldNo) {
167
- default:
168
- let u = options.readUnknownField;
169
- if (u === 'throw')
170
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
171
- let d = reader.skip(wireType);
172
- if (u !== false)
173
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
174
- }
175
- }
176
- return message;
177
- }
178
- internalBinaryWrite(message, writer, options) {
179
- let u = options.writeUnknownFields;
180
- if (u !== false)
181
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
182
- return writer;
183
- }
184
- }
185
- /**
186
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.SubmitReassignmentResponse
187
- */
188
- export const SubmitReassignmentResponse = new SubmitReassignmentResponse$Type();
189
- /**
190
- * @generated ServiceType for protobuf service com.daml.ledger.api.v2.CommandSubmissionService
191
- */
192
- export const CommandSubmissionService = new ServiceType('com.daml.ledger.api.v2.CommandSubmissionService', [
193
- { name: 'Submit', options: {}, I: SubmitRequest, O: SubmitResponse },
194
- {
195
- name: 'SubmitReassignment',
196
- options: {},
197
- I: SubmitReassignmentRequest,
198
- O: SubmitReassignmentResponse,
199
- },
200
- ]);