@canton-network/core-ledger-client 0.9.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 (222) hide show
  1. package/dist/index.d.ts +1 -9
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +0 -8
  4. package/dist/token-standard-service.d.ts +8 -0
  5. package/dist/token-standard-service.d.ts.map +1 -1
  6. package/dist/token-standard-service.js +28 -0
  7. package/dist/txparse/types.d.ts +9 -9
  8. package/dist/txparse/types.d.ts.map +1 -1
  9. package/package.json +5 -5
  10. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +0 -58
  11. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +0 -1
  12. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +0 -34
  13. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +0 -232
  14. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +0 -1
  15. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +0 -560
  16. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +0 -144
  17. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +0 -1
  18. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +0 -85
  19. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +0 -291
  20. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +0 -1
  21. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +0 -663
  22. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +0 -76
  23. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +0 -1
  24. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +0 -96
  25. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +0 -106
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +0 -1
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +0 -62
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +0 -199
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +0 -1
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +0 -427
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +0 -56
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +0 -1
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +0 -35
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +0 -81
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +0 -1
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +0 -135
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +0 -196
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +0 -1
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +0 -113
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +0 -413
  41. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +0 -1
  42. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +0 -867
  43. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +0 -210
  44. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +0 -1
  45. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +0 -126
  46. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +0 -758
  47. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +0 -1
  48. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +0 -1580
  49. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +0 -66
  50. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +0 -1
  51. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +0 -38
  52. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +0 -90
  53. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +0 -1
  54. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +0 -178
  55. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +0 -99
  56. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +0 -1
  57. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +0 -61
  58. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +0 -210
  59. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +0 -1
  60. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +0 -436
  61. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +0 -80
  62. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +0 -1
  63. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +0 -47
  64. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +0 -91
  65. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +0 -1
  66. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +0 -200
  67. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +0 -491
  68. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +0 -1
  69. package/dist/_proto/com/daml/ledger/api/v2/commands.js +0 -828
  70. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +0 -149
  71. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +0 -1
  72. package/dist/_proto/com/daml/ledger/api/v2/completion.js +0 -196
  73. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +0 -495
  74. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +0 -1
  75. package/dist/_proto/com/daml/ledger/api/v2/event.js +0 -723
  76. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +0 -52
  77. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +0 -1
  78. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +0 -31
  79. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +0 -150
  80. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +0 -1
  81. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +0 -291
  82. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +0 -96
  83. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +0 -1
  84. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +0 -225
  85. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +0 -43
  86. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +0 -1
  87. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +0 -85
  88. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +0 -100
  89. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +0 -1
  90. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +0 -59
  91. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +0 -877
  92. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +0 -1
  93. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +0 -1768
  94. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +0 -259
  95. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +0 -1
  96. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +0 -667
  97. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +0 -69
  98. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +0 -1
  99. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +0 -133
  100. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +0 -41
  101. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +0 -1
  102. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +0 -84
  103. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +0 -68
  104. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +0 -1
  105. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +0 -43
  106. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +0 -181
  107. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +0 -1
  108. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +0 -395
  109. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +0 -308
  110. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +0 -1
  111. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +0 -521
  112. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +0 -193
  113. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +0 -1
  114. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +0 -350
  115. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +0 -91
  116. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +0 -1
  117. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +0 -56
  118. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +0 -448
  119. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +0 -1
  120. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +0 -874
  121. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +0 -54
  122. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +0 -1
  123. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +0 -34
  124. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +0 -78
  125. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +0 -1
  126. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +0 -168
  127. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +0 -211
  128. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +0 -1
  129. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +0 -447
  130. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +0 -33
  131. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +0 -1
  132. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +0 -69
  133. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +0 -252
  134. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +0 -1
  135. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +0 -410
  136. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +0 -453
  137. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +0 -1
  138. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +0 -815
  139. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +0 -199
  140. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +0 -1
  141. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +0 -121
  142. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +0 -424
  143. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +0 -1
  144. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +0 -853
  145. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +0 -500
  146. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +0 -1
  147. package/dist/_proto/com/daml/ledger/api/v2/value.js +0 -937
  148. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +0 -40
  149. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +0 -1
  150. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +0 -25
  151. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +0 -190
  152. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +0 -1
  153. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +0 -400
  154. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +0 -1028
  155. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +0 -1
  156. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +0 -2110
  157. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +0 -30
  158. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +0 -1
  159. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +0 -62
  160. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +0 -168
  161. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +0 -1
  162. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +0 -395
  163. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +0 -1105
  164. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +0 -1
  165. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +0 -2294
  166. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +0 -278
  167. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +0 -1
  168. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +0 -654
  169. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +0 -166
  170. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +0 -1
  171. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +0 -379
  172. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +0 -199
  173. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +0 -1
  174. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +0 -136
  175. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +0 -1195
  176. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +0 -1
  177. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +0 -3342
  178. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +0 -119
  179. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +0 -1
  180. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +0 -76
  181. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +0 -607
  182. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +0 -1
  183. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +0 -1292
  184. package/dist/_proto/google/protobuf/any.d.ts +0 -177
  185. package/dist/_proto/google/protobuf/any.d.ts.map +0 -1
  186. package/dist/_proto/google/protobuf/any.js +0 -175
  187. package/dist/_proto/google/protobuf/descriptor.d.ts +0 -1638
  188. package/dist/_proto/google/protobuf/descriptor.d.ts.map +0 -1
  189. package/dist/_proto/google/protobuf/descriptor.js +0 -2999
  190. package/dist/_proto/google/protobuf/duration.d.ts +0 -114
  191. package/dist/_proto/google/protobuf/duration.d.ts.map +0 -1
  192. package/dist/_proto/google/protobuf/duration.js +0 -113
  193. package/dist/_proto/google/protobuf/empty.d.ts +0 -33
  194. package/dist/_proto/google/protobuf/empty.d.ts.map +0 -1
  195. package/dist/_proto/google/protobuf/empty.js +0 -41
  196. package/dist/_proto/google/protobuf/field_mask.d.ts +0 -240
  197. package/dist/_proto/google/protobuf/field_mask.d.ts.map +0 -1
  198. package/dist/_proto/google/protobuf/field_mask.js +0 -95
  199. package/dist/_proto/google/protobuf/struct.d.ts +0 -187
  200. package/dist/_proto/google/protobuf/struct.d.ts.map +0 -1
  201. package/dist/_proto/google/protobuf/struct.js +0 -417
  202. package/dist/_proto/google/protobuf/timestamp.d.ts +0 -159
  203. package/dist/_proto/google/protobuf/timestamp.d.ts.map +0 -1
  204. package/dist/_proto/google/protobuf/timestamp.js +0 -157
  205. package/dist/_proto/google/rpc/code.d.ts +0 -219
  206. package/dist/_proto/google/rpc/code.d.ts.map +0 -1
  207. package/dist/_proto/google/rpc/code.js +0 -237
  208. package/dist/_proto/google/rpc/context/attribute_context.d.ts +0 -594
  209. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +0 -1
  210. package/dist/_proto/google/rpc/context/attribute_context.js +0 -1007
  211. package/dist/_proto/google/rpc/context/audit_context.d.ts +0 -62
  212. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +0 -1
  213. package/dist/_proto/google/rpc/context/audit_context.js +0 -111
  214. package/dist/_proto/google/rpc/error_details.d.ts +0 -549
  215. package/dist/_proto/google/rpc/error_details.d.ts.map +0 -1
  216. package/dist/_proto/google/rpc/error_details.js +0 -918
  217. package/dist/_proto/google/rpc/status.d.ts +0 -55
  218. package/dist/_proto/google/rpc/status.d.ts.map +0 -1
  219. package/dist/_proto/google/rpc/status.js +0 -79
  220. package/dist/_proto/scalapb/scalapb.d.ts +0 -779
  221. package/dist/_proto/scalapb/scalapb.d.ts.map +0 -1
  222. package/dist/_proto/scalapb/scalapb.js +0 -1658
@@ -1,66 +0,0 @@
1
- import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
2
- import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
3
- import type { CompletionStreamResponse } from './command_completion_service.js';
4
- import type { CompletionStreamRequest } from './command_completion_service.js';
5
- import type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc';
6
- import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
7
- /**
8
- * Allows clients to observe the status of their submissions.
9
- * Commands may be submitted via the Command Submission Service.
10
- * The on-ledger effects of their submissions are disclosed by the Update Service.
11
- *
12
- * Commands may fail in 2 distinct manners:
13
- *
14
- * 1. Failure communicated synchronously in the gRPC error of the submission.
15
- * 2. Failure communicated asynchronously in a Completion, see ``completion.proto``.
16
- *
17
- * Note that not only successfully submitted commands MAY produce a completion event. For example, the participant MAY
18
- * choose to produce a completion event for a rejection of a duplicate command.
19
- *
20
- * Clients that do not receive a successful completion about their submission MUST NOT assume that it was successful.
21
- * Clients SHOULD subscribe to the CompletionStream before starting to submit commands to prevent race conditions.
22
- *
23
- * @generated from protobuf service com.daml.ledger.api.v2.CommandCompletionService
24
- */
25
- export interface ICommandCompletionServiceClient {
26
- /**
27
- * Subscribe to command completion events.
28
- *
29
- * @generated from protobuf rpc: CompletionStream
30
- */
31
- completionStream(input: CompletionStreamRequest, options?: RpcOptions): ServerStreamingCall<CompletionStreamRequest, CompletionStreamResponse>;
32
- }
33
- /**
34
- * Allows clients to observe the status of their submissions.
35
- * Commands may be submitted via the Command Submission Service.
36
- * The on-ledger effects of their submissions are disclosed by the Update Service.
37
- *
38
- * Commands may fail in 2 distinct manners:
39
- *
40
- * 1. Failure communicated synchronously in the gRPC error of the submission.
41
- * 2. Failure communicated asynchronously in a Completion, see ``completion.proto``.
42
- *
43
- * Note that not only successfully submitted commands MAY produce a completion event. For example, the participant MAY
44
- * choose to produce a completion event for a rejection of a duplicate command.
45
- *
46
- * Clients that do not receive a successful completion about their submission MUST NOT assume that it was successful.
47
- * Clients SHOULD subscribe to the CompletionStream before starting to submit commands to prevent race conditions.
48
- *
49
- * @generated from protobuf service com.daml.ledger.api.v2.CommandCompletionService
50
- */
51
- export declare class CommandCompletionServiceClient implements ICommandCompletionServiceClient, ServiceInfo {
52
- private readonly _transport;
53
- typeName: string;
54
- methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
55
- options: {
56
- [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
57
- };
58
- constructor(_transport: RpcTransport);
59
- /**
60
- * Subscribe to command completion events.
61
- *
62
- * @generated from protobuf rpc: CompletionStream
63
- */
64
- completionStream(input: CompletionStreamRequest, options?: RpcOptions): ServerStreamingCall<CompletionStreamRequest, CompletionStreamResponse>;
65
- }
66
- //# sourceMappingURL=command_completion_service.client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command_completion_service.client.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/command_completion_service.client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAG3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAA;AAC/E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAC1D;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,gBAAgB,CACZ,KAAK,EAAE,uBAAuB,EAC9B,OAAO,CAAC,EAAE,UAAU,GACrB,mBAAmB,CAAC,uBAAuB,EAAE,wBAAwB,CAAC,CAAA;CAC5E;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,gBAAgB,CACZ,KAAK,EAAE,uBAAuB,EAC9B,OAAO,CAAC,EAAE,UAAU,GACrB,mBAAmB,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;CAQ5E"}
@@ -1,38 +0,0 @@
1
- import { CommandCompletionService } from './command_completion_service.js';
2
- import { stackIntercept } from '@protobuf-ts/runtime-rpc';
3
- /**
4
- * Allows clients to observe the status of their submissions.
5
- * Commands may be submitted via the Command Submission 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.CommandCompletionService
20
- */
21
- export class CommandCompletionServiceClient {
22
- _transport;
23
- typeName = CommandCompletionService.typeName;
24
- methods = CommandCompletionService.methods;
25
- options = CommandCompletionService.options;
26
- constructor(_transport) {
27
- this._transport = _transport;
28
- }
29
- /**
30
- * Subscribe to command completion events.
31
- *
32
- * @generated from protobuf rpc: CompletionStream
33
- */
34
- completionStream(input, options) {
35
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
36
- return stackIntercept('serverStreaming', this._transport, method, opt, input);
37
- }
38
- }
@@ -1,90 +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 { OffsetCheckpoint } from './offset_checkpoint.js';
9
- import { Completion } from './completion.js';
10
- /**
11
- * @generated from protobuf message com.daml.ledger.api.v2.CompletionStreamRequest
12
- */
13
- export interface CompletionStreamRequest {
14
- /**
15
- * Only completions of commands submitted with the same user_id will be visible in the stream.
16
- * Must be a valid UserIdString (as described in ``value.proto``).
17
- * Required unless authentication is used with a user token.
18
- * In that case, the token's user-id will be used for the request's user_id.
19
- *
20
- * @generated from protobuf field: string user_id = 1
21
- */
22
- userId: string;
23
- /**
24
- * Non-empty list of parties whose data should be included.
25
- * The stream shows only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties.
26
- * Must be a valid PartyIdString (as described in ``value.proto``).
27
- * Required
28
- *
29
- * @generated from protobuf field: repeated string parties = 2
30
- */
31
- parties: string[];
32
- /**
33
- * This optional field indicates the minimum offset for completions. This can be used to resume an earlier completion stream.
34
- * If not set the ledger uses the ledger begin offset instead.
35
- * If specified, it must be a valid absolute offset (positive integer) or zero (ledger begin offset).
36
- * If the ledger has been pruned, this parameter must be specified and greater than the pruning offset.
37
- *
38
- * @generated from protobuf field: int64 begin_exclusive = 3
39
- */
40
- beginExclusive: bigint;
41
- }
42
- /**
43
- * @generated from protobuf message com.daml.ledger.api.v2.CompletionStreamResponse
44
- */
45
- export interface CompletionStreamResponse {
46
- /**
47
- * @generated from protobuf oneof: completion_response
48
- */
49
- completionResponse: {
50
- oneofKind: 'completion';
51
- /**
52
- * @generated from protobuf field: com.daml.ledger.api.v2.Completion completion = 1
53
- */
54
- completion: Completion;
55
- } | {
56
- oneofKind: 'offsetCheckpoint';
57
- /**
58
- * @generated from protobuf field: com.daml.ledger.api.v2.OffsetCheckpoint offset_checkpoint = 2
59
- */
60
- offsetCheckpoint: OffsetCheckpoint;
61
- } | {
62
- oneofKind: undefined;
63
- };
64
- }
65
- declare class CompletionStreamRequest$Type extends MessageType<CompletionStreamRequest> {
66
- constructor();
67
- create(value?: PartialMessage<CompletionStreamRequest>): CompletionStreamRequest;
68
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CompletionStreamRequest): CompletionStreamRequest;
69
- internalBinaryWrite(message: CompletionStreamRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
70
- }
71
- /**
72
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.CompletionStreamRequest
73
- */
74
- export declare const CompletionStreamRequest: CompletionStreamRequest$Type;
75
- declare class CompletionStreamResponse$Type extends MessageType<CompletionStreamResponse> {
76
- constructor();
77
- create(value?: PartialMessage<CompletionStreamResponse>): CompletionStreamResponse;
78
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CompletionStreamResponse): CompletionStreamResponse;
79
- internalBinaryWrite(message: CompletionStreamResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
80
- }
81
- /**
82
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.CompletionStreamResponse
83
- */
84
- export declare const CompletionStreamResponse: CompletionStreamResponse$Type;
85
- /**
86
- * @generated ServiceType for protobuf service com.daml.ledger.api.v2.CommandCompletionService
87
- */
88
- export declare const CommandCompletionService: ServiceType;
89
- export {};
90
- //# sourceMappingURL=command_completion_service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command_completion_service.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/command_completion_service.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;;;;OAOG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;;;;;;OAOG;IACH,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB;;;;;;;OAOG;IACH,cAAc,EAAE,MAAM,CAAA;CACzB;AACD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,kBAAkB,EACZ;QACI,SAAS,EAAE,YAAY,CAAA;QACvB;;WAEG;QACH,UAAU,EAAE,UAAU,CAAA;KACzB,GACD;QACI,SAAS,EAAE,kBAAkB,CAAA;QAC7B;;WAEG;QACH,gBAAgB,EAAE,gBAAgB,CAAA;KACrC,GACD;QACI,SAAS,EAAE,SAAS,CAAA;KACvB,CAAA;CACV;AAED,cAAM,4BAA6B,SAAQ,WAAW,CAAC,uBAAuB,CAAC;;IAyB3E,MAAM,CACF,KAAK,CAAC,EAAE,cAAc,CAAC,uBAAuB,CAAC,GAChD,uBAAuB;IAa1B,kBAAkB,CACd,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,iBAAiB,EAC1B,MAAM,CAAC,EAAE,uBAAuB,GACjC,uBAAuB;IAkC1B,mBAAmB,CACf,OAAO,EAAE,uBAAuB,EAChC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,kBAAkB,GAC5B,aAAa;CAmBnB;AACD;;GAEG;AACH,eAAO,MAAM,uBAAuB,8BAAqC,CAAA;AAEzE,cAAM,6BAA8B,SAAQ,WAAW,CAAC,wBAAwB,CAAC;;IAmB7E,MAAM,CACF,KAAK,CAAC,EAAE,cAAc,CAAC,wBAAwB,CAAC,GACjD,wBAAwB;IAW3B,kBAAkB,CACd,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,iBAAiB,EAC1B,MAAM,CAAC,EAAE,wBAAwB,GAClC,wBAAwB;IA+C3B,mBAAmB,CACf,OAAO,EAAE,wBAAwB,EACjC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,kBAAkB,GAC5B,aAAa;CAwBnB;AACD;;GAEG;AACH,eAAO,MAAM,wBAAwB,+BAAsC,CAAA;AAC3E;;GAEG;AACH,eAAO,MAAM,wBAAwB,aAWpC,CAAA"}
@@ -1,178 +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_completion_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 { OffsetCheckpoint } from './offset_checkpoint.js';
14
- import { Completion } from './completion.js';
15
- // @generated message type with reflection information, may provide speed optimized methods
16
- class CompletionStreamRequest$Type extends MessageType {
17
- constructor() {
18
- super('com.daml.ledger.api.v2.CompletionStreamRequest', [
19
- {
20
- no: 1,
21
- name: 'user_id',
22
- kind: 'scalar',
23
- T: 9 /*ScalarType.STRING*/,
24
- },
25
- {
26
- no: 2,
27
- name: 'parties',
28
- kind: 'scalar',
29
- repeat: 2 /*RepeatType.UNPACKED*/,
30
- T: 9 /*ScalarType.STRING*/,
31
- },
32
- {
33
- no: 3,
34
- name: 'begin_exclusive',
35
- kind: 'scalar',
36
- T: 3 /*ScalarType.INT64*/,
37
- L: 0 /*LongType.BIGINT*/,
38
- },
39
- ]);
40
- }
41
- create(value) {
42
- const message = globalThis.Object.create(this.messagePrototype);
43
- message.userId = '';
44
- message.parties = [];
45
- message.beginExclusive = 0n;
46
- if (value !== undefined)
47
- reflectionMergePartial(this, message, value);
48
- return message;
49
- }
50
- internalBinaryRead(reader, length, options, target) {
51
- let message = target ?? this.create(), end = reader.pos + length;
52
- while (reader.pos < end) {
53
- let [fieldNo, wireType] = reader.tag();
54
- switch (fieldNo) {
55
- case /* string user_id */ 1:
56
- message.userId = reader.string();
57
- break;
58
- case /* repeated string parties */ 2:
59
- message.parties.push(reader.string());
60
- break;
61
- case /* int64 begin_exclusive */ 3:
62
- message.beginExclusive = reader.int64().toBigInt();
63
- break;
64
- default:
65
- let u = options.readUnknownField;
66
- if (u === 'throw')
67
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
68
- let d = reader.skip(wireType);
69
- if (u !== false)
70
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
71
- }
72
- }
73
- return message;
74
- }
75
- internalBinaryWrite(message, writer, options) {
76
- /* string user_id = 1; */
77
- if (message.userId !== '')
78
- writer.tag(1, WireType.LengthDelimited).string(message.userId);
79
- /* repeated string parties = 2; */
80
- for (let i = 0; i < message.parties.length; i++)
81
- writer.tag(2, WireType.LengthDelimited).string(message.parties[i]);
82
- /* int64 begin_exclusive = 3; */
83
- if (message.beginExclusive !== 0n)
84
- writer.tag(3, WireType.Varint).int64(message.beginExclusive);
85
- let u = options.writeUnknownFields;
86
- if (u !== false)
87
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
88
- return writer;
89
- }
90
- }
91
- /**
92
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.CompletionStreamRequest
93
- */
94
- export const CompletionStreamRequest = new CompletionStreamRequest$Type();
95
- // @generated message type with reflection information, may provide speed optimized methods
96
- class CompletionStreamResponse$Type extends MessageType {
97
- constructor() {
98
- super('com.daml.ledger.api.v2.CompletionStreamResponse', [
99
- {
100
- no: 1,
101
- name: 'completion',
102
- kind: 'message',
103
- oneof: 'completionResponse',
104
- T: () => Completion,
105
- },
106
- {
107
- no: 2,
108
- name: 'offset_checkpoint',
109
- kind: 'message',
110
- oneof: 'completionResponse',
111
- T: () => OffsetCheckpoint,
112
- },
113
- ]);
114
- }
115
- create(value) {
116
- const message = globalThis.Object.create(this.messagePrototype);
117
- message.completionResponse = { oneofKind: undefined };
118
- if (value !== undefined)
119
- reflectionMergePartial(this, message, value);
120
- return message;
121
- }
122
- internalBinaryRead(reader, length, options, target) {
123
- let message = target ?? this.create(), end = reader.pos + length;
124
- while (reader.pos < end) {
125
- let [fieldNo, wireType] = reader.tag();
126
- switch (fieldNo) {
127
- case /* com.daml.ledger.api.v2.Completion completion */ 1:
128
- message.completionResponse = {
129
- oneofKind: 'completion',
130
- completion: Completion.internalBinaryRead(reader, reader.uint32(), options, message.completionResponse.completion),
131
- };
132
- break;
133
- case /* com.daml.ledger.api.v2.OffsetCheckpoint offset_checkpoint */ 2:
134
- message.completionResponse = {
135
- oneofKind: 'offsetCheckpoint',
136
- offsetCheckpoint: OffsetCheckpoint.internalBinaryRead(reader, reader.uint32(), options, message.completionResponse.offsetCheckpoint),
137
- };
138
- break;
139
- default:
140
- let u = options.readUnknownField;
141
- if (u === 'throw')
142
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
143
- let d = reader.skip(wireType);
144
- if (u !== false)
145
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
146
- }
147
- }
148
- return message;
149
- }
150
- internalBinaryWrite(message, writer, options) {
151
- /* com.daml.ledger.api.v2.Completion completion = 1; */
152
- if (message.completionResponse.oneofKind === 'completion')
153
- Completion.internalBinaryWrite(message.completionResponse.completion, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
154
- /* com.daml.ledger.api.v2.OffsetCheckpoint offset_checkpoint = 2; */
155
- if (message.completionResponse.oneofKind === 'offsetCheckpoint')
156
- OffsetCheckpoint.internalBinaryWrite(message.completionResponse.offsetCheckpoint, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
157
- let u = options.writeUnknownFields;
158
- if (u !== false)
159
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
160
- return writer;
161
- }
162
- }
163
- /**
164
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.CompletionStreamResponse
165
- */
166
- export const CompletionStreamResponse = new CompletionStreamResponse$Type();
167
- /**
168
- * @generated ServiceType for protobuf service com.daml.ledger.api.v2.CommandCompletionService
169
- */
170
- export const CommandCompletionService = new ServiceType('com.daml.ledger.api.v2.CommandCompletionService', [
171
- {
172
- name: 'CompletionStream',
173
- serverStreaming: true,
174
- options: {},
175
- I: CompletionStreamRequest,
176
- O: CompletionStreamResponse,
177
- },
178
- ]);
@@ -1,99 +0,0 @@
1
- import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
2
- import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
3
- import type { SubmitAndWaitForReassignmentResponse } from './command_service.js';
4
- import type { SubmitAndWaitForReassignmentRequest } from './command_service.js';
5
- import type { SubmitAndWaitForTransactionTreeResponse } from './command_service.js';
6
- import type { SubmitAndWaitForTransactionResponse } from './command_service.js';
7
- import type { SubmitAndWaitForTransactionRequest } from './command_service.js';
8
- import type { SubmitAndWaitResponse } from './command_service.js';
9
- import type { SubmitAndWaitRequest } from './command_service.js';
10
- import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
11
- import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
12
- /**
13
- * Command Service is able to correlate submitted commands with completion data, identify timeouts, and return contextual
14
- * information with each tracking result. This supports the implementation of stateless clients.
15
- *
16
- * Note that submitted commands generally produce completion events as well, even in case a command gets rejected.
17
- * For example, the participant SHOULD produce a completion event for a rejection of a duplicate command.
18
- *
19
- * @generated from protobuf service com.daml.ledger.api.v2.CommandService
20
- */
21
- export interface ICommandServiceClient {
22
- /**
23
- * Submits a single composite command and waits for its result.
24
- * Propagates the gRPC error of failed submissions including Daml interpretation errors.
25
- *
26
- * @generated from protobuf rpc: SubmitAndWait
27
- */
28
- submitAndWait(input: SubmitAndWaitRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitRequest, SubmitAndWaitResponse>;
29
- /**
30
- * Submits a single composite command, waits for its result, and returns the transaction.
31
- * Propagates the gRPC error of failed submissions including Daml interpretation errors.
32
- *
33
- * @generated from protobuf rpc: SubmitAndWaitForTransaction
34
- */
35
- submitAndWaitForTransaction(input: SubmitAndWaitForTransactionRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitForTransactionRequest, SubmitAndWaitForTransactionResponse>;
36
- /**
37
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
38
- * Submits a single composite command, waits for its result, and returns the transaction tree.
39
- * Propagates the gRPC error of failed submissions including Daml interpretation errors.
40
- *
41
- * @generated from protobuf rpc: SubmitAndWaitForTransactionTree
42
- */
43
- submitAndWaitForTransactionTree(input: SubmitAndWaitRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitRequest, SubmitAndWaitForTransactionTreeResponse>;
44
- /**
45
- * Submits a single composite reassignment command, waits for its result, and returns the reassignment.
46
- * Propagates the gRPC error of failed submission.
47
- *
48
- * @generated from protobuf rpc: SubmitAndWaitForReassignment
49
- */
50
- submitAndWaitForReassignment(input: SubmitAndWaitForReassignmentRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitForReassignmentRequest, SubmitAndWaitForReassignmentResponse>;
51
- }
52
- /**
53
- * Command Service is able to correlate submitted commands with completion data, identify timeouts, and return contextual
54
- * information with each tracking result. This supports the implementation of stateless clients.
55
- *
56
- * Note that submitted commands generally produce completion events as well, even in case a command gets rejected.
57
- * For example, the participant SHOULD produce a completion event for a rejection of a duplicate command.
58
- *
59
- * @generated from protobuf service com.daml.ledger.api.v2.CommandService
60
- */
61
- export declare class CommandServiceClient implements ICommandServiceClient, ServiceInfo {
62
- private readonly _transport;
63
- typeName: string;
64
- methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
65
- options: {
66
- [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
67
- };
68
- constructor(_transport: RpcTransport);
69
- /**
70
- * Submits a single composite command and waits for its result.
71
- * Propagates the gRPC error of failed submissions including Daml interpretation errors.
72
- *
73
- * @generated from protobuf rpc: SubmitAndWait
74
- */
75
- submitAndWait(input: SubmitAndWaitRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitRequest, SubmitAndWaitResponse>;
76
- /**
77
- * Submits a single composite command, waits for its result, and returns the transaction.
78
- * Propagates the gRPC error of failed submissions including Daml interpretation errors.
79
- *
80
- * @generated from protobuf rpc: SubmitAndWaitForTransaction
81
- */
82
- submitAndWaitForTransaction(input: SubmitAndWaitForTransactionRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitForTransactionRequest, SubmitAndWaitForTransactionResponse>;
83
- /**
84
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
85
- * Submits a single composite command, waits for its result, and returns the transaction tree.
86
- * Propagates the gRPC error of failed submissions including Daml interpretation errors.
87
- *
88
- * @generated from protobuf rpc: SubmitAndWaitForTransactionTree
89
- */
90
- submitAndWaitForTransactionTree(input: SubmitAndWaitRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitRequest, SubmitAndWaitForTransactionTreeResponse>;
91
- /**
92
- * Submits a single composite reassignment command, waits for its result, and returns the reassignment.
93
- * Propagates the gRPC error of failed submission.
94
- *
95
- * @generated from protobuf rpc: SubmitAndWaitForReassignment
96
- */
97
- submitAndWaitForReassignment(input: SubmitAndWaitForReassignmentRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitForReassignmentRequest, SubmitAndWaitForReassignmentResponse>;
98
- }
99
- //# sourceMappingURL=command_service.client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command_service.client.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/command_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,oCAAoC,EAAE,MAAM,sBAAsB,CAAA;AAChF,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,sBAAsB,CAAA;AAC/E,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAA;AACnF,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,sBAAsB,CAAA;AAC/E,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,sBAAsB,CAAA;AAE9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAC1D;;;;;;;;GAQG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;;OAKG;IACH,aAAa,CACT,KAAK,EAAE,oBAAoB,EAC3B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,CAAA;IACzD;;;;;OAKG;IACH,2BAA2B,CACvB,KAAK,EAAE,kCAAkC,EACzC,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CACR,kCAAkC,EAClC,mCAAmC,CACtC,CAAA;IACD;;;;;;OAMG;IACH,+BAA+B,CAC3B,KAAK,EAAE,oBAAoB,EAC3B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,oBAAoB,EAAE,uCAAuC,CAAC,CAAA;IAC3E;;;;;OAKG;IACH,4BAA4B,CACxB,KAAK,EAAE,mCAAmC,EAC1C,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CACR,mCAAmC,EACnC,oCAAoC,CACvC,CAAA;CACJ;AACD;;;;;;;;GAQG;AACH,qBAAa,oBACT,YAAW,qBAAqB,EAAE,WAAW;IAKjC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAHvC,QAAQ,SAA0B;IAClC,OAAO,4DAAyB;IAChC,OAAO;;MAAyB;gBACH,UAAU,EAAE,YAAY;IACrD;;;;;OAKG;IACH,aAAa,CACT,KAAK,EAAE,oBAAoB,EAC3B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,oBAAoB,EAAE,qBAAqB,CAAC;IAWzD;;;;;OAKG;IACH,2BAA2B,CACvB,KAAK,EAAE,kCAAkC,EACzC,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CACR,kCAAkC,EAClC,mCAAmC,CACtC;IAQD;;;;;;OAMG;IACH,+BAA+B,CAC3B,KAAK,EAAE,oBAAoB,EAC3B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CACR,oBAAoB,EACpB,uCAAuC,CAC1C;IAQD;;;;;OAKG;IACH,4BAA4B,CACxB,KAAK,EAAE,mCAAmC,EAC1C,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CACR,mCAAmC,EACnC,oCAAoC,CACvC;CAQJ"}
@@ -1,61 +0,0 @@
1
- import { CommandService } from './command_service.js';
2
- import { stackIntercept } from '@protobuf-ts/runtime-rpc';
3
- /**
4
- * Command Service is able to correlate submitted commands with completion data, identify timeouts, and return contextual
5
- * information with each tracking result. This supports the implementation of stateless clients.
6
- *
7
- * Note that submitted commands generally produce completion events as well, even in case a command gets rejected.
8
- * For example, the participant SHOULD produce a completion event for a rejection of a duplicate command.
9
- *
10
- * @generated from protobuf service com.daml.ledger.api.v2.CommandService
11
- */
12
- export class CommandServiceClient {
13
- _transport;
14
- typeName = CommandService.typeName;
15
- methods = CommandService.methods;
16
- options = CommandService.options;
17
- constructor(_transport) {
18
- this._transport = _transport;
19
- }
20
- /**
21
- * Submits a single composite command and waits for its result.
22
- * Propagates the gRPC error of failed submissions including Daml interpretation errors.
23
- *
24
- * @generated from protobuf rpc: SubmitAndWait
25
- */
26
- submitAndWait(input, options) {
27
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
28
- return stackIntercept('unary', this._transport, method, opt, input);
29
- }
30
- /**
31
- * Submits a single composite command, waits for its result, and returns the transaction.
32
- * Propagates the gRPC error of failed submissions including Daml interpretation errors.
33
- *
34
- * @generated from protobuf rpc: SubmitAndWaitForTransaction
35
- */
36
- submitAndWaitForTransaction(input, options) {
37
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
38
- return stackIntercept('unary', this._transport, method, opt, input);
39
- }
40
- /**
41
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
42
- * Submits a single composite command, waits for its result, and returns the transaction tree.
43
- * Propagates the gRPC error of failed submissions including Daml interpretation errors.
44
- *
45
- * @generated from protobuf rpc: SubmitAndWaitForTransactionTree
46
- */
47
- submitAndWaitForTransactionTree(input, options) {
48
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
49
- return stackIntercept('unary', this._transport, method, opt, input);
50
- }
51
- /**
52
- * Submits a single composite reassignment command, waits for its result, and returns the reassignment.
53
- * Propagates the gRPC error of failed submission.
54
- *
55
- * @generated from protobuf rpc: SubmitAndWaitForReassignment
56
- */
57
- submitAndWaitForReassignment(input, options) {
58
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
59
- return stackIntercept('unary', this._transport, method, opt, input);
60
- }
61
- }