@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,149 +0,0 @@
1
- import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
2
- import type { IBinaryWriter } from '@protobuf-ts/runtime';
3
- import type { BinaryReadOptions } from '@protobuf-ts/runtime';
4
- import type { IBinaryReader } from '@protobuf-ts/runtime';
5
- import type { PartialMessage } from '@protobuf-ts/runtime';
6
- import { MessageType } from '@protobuf-ts/runtime';
7
- import { SynchronizerTime } from './offset_checkpoint.js';
8
- import { TraceContext } from './trace_context.js';
9
- import { Duration } from '../../../../../google/protobuf/duration.js';
10
- import { Status } from '../../../../../google/rpc/status.js';
11
- /**
12
- * A completion represents the status of a submitted command on the ledger: it can be successful or failed.
13
- *
14
- * @generated from protobuf message com.daml.ledger.api.v2.Completion
15
- */
16
- export interface Completion {
17
- /**
18
- * The ID of the succeeded or failed command.
19
- * Must be a valid LedgerString (as described in ``value.proto``).
20
- * Required
21
- *
22
- * @generated from protobuf field: string command_id = 1
23
- */
24
- commandId: string;
25
- /**
26
- * Identifies the exact type of the error.
27
- * It uses the same format of conveying error details as it is used for the RPC responses of the APIs.
28
- * Optional
29
- *
30
- * @generated from protobuf field: google.rpc.Status status = 2
31
- */
32
- status?: Status;
33
- /**
34
- * The update_id of the transaction or reassignment that resulted from the command with command_id.
35
- * Only set for successfully executed commands.
36
- * Must be a valid LedgerString (as described in ``value.proto``).
37
- *
38
- * @generated from protobuf field: string update_id = 3
39
- */
40
- updateId: string;
41
- /**
42
- * The user-id that was used for the submission, as described in ``commands.proto``.
43
- * Must be a valid UserIdString (as described in ``value.proto``).
44
- * Optional for historic completions where this data is not available.
45
- *
46
- * @generated from protobuf field: string user_id = 4
47
- */
48
- userId: string;
49
- /**
50
- * The set of parties on whose behalf the commands were executed.
51
- * Contains the ``act_as`` parties from ``commands.proto``
52
- * filtered to the requesting parties in CompletionStreamRequest.
53
- * The order of the parties need not be the same as in the submission.
54
- * Each element must be a valid PartyIdString (as described in ``value.proto``).
55
- * Optional for historic completions where this data is not available.
56
- *
57
- * @generated from protobuf field: repeated string act_as = 5
58
- */
59
- actAs: string[];
60
- /**
61
- * The submission ID this completion refers to, as described in ``commands.proto``.
62
- * Must be a valid LedgerString (as described in ``value.proto``).
63
- * Optional
64
- *
65
- * @generated from protobuf field: string submission_id = 6
66
- */
67
- submissionId: string;
68
- /**
69
- * The actual deduplication window used for the submission, which is derived from
70
- * ``Commands.deduplication_period``. The ledger may convert the deduplication period into other
71
- * descriptions and extend the period in implementation-specified ways.
72
- *
73
- * Used to audit the deduplication guarantee described in ``commands.proto``.
74
- *
75
- * Optional; the deduplication guarantee applies even if the completion omits this field.
76
- *
77
- * @generated from protobuf oneof: deduplication_period
78
- */
79
- deduplicationPeriod: {
80
- oneofKind: 'deduplicationOffset';
81
- /**
82
- * Specifies the start of the deduplication period by a completion stream offset (exclusive).
83
- *
84
- * Must be a valid absolute offset (positive integer) or participant begin (zero).
85
- *
86
- * @generated from protobuf field: int64 deduplication_offset = 7
87
- */
88
- deduplicationOffset: bigint;
89
- } | {
90
- oneofKind: 'deduplicationDuration';
91
- /**
92
- * Specifies the length of the deduplication period.
93
- * It is measured in record time of completions.
94
- *
95
- * Must be non-negative.
96
- *
97
- * @generated from protobuf field: google.protobuf.Duration deduplication_duration = 8
98
- */
99
- deduplicationDuration: Duration;
100
- } | {
101
- oneofKind: undefined;
102
- };
103
- /**
104
- * Optional; ledger API trace context
105
- *
106
- * The trace context transported in this message corresponds to the trace context supplied
107
- * by the client application in a HTTP2 header of the original command submission.
108
- * We typically use a header to transfer this type of information. Here we use message
109
- * body, because it is used in gRPC streams which do not support per message headers.
110
- * This field will be populated with the trace context contained in the original submission.
111
- * If that was not provided, a unique ledger-api-server generated trace context will be used
112
- * instead.
113
- *
114
- * @generated from protobuf field: com.daml.ledger.api.v2.TraceContext trace_context = 9
115
- */
116
- traceContext?: TraceContext;
117
- /**
118
- * May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
119
- * Required, must be a valid absolute offset (positive integer).
120
- *
121
- * @generated from protobuf field: int64 offset = 10
122
- */
123
- offset: bigint;
124
- /**
125
- * The synchronizer along with its record time.
126
- * The synchronizer id provided, in case of
127
- *
128
- * - successful/failed transactions: identifies the synchronizer of the transaction
129
- * - for successful/failed unassign commands: identifies the source synchronizer
130
- * - for successful/failed assign commands: identifies the target synchronizer
131
- *
132
- * Required
133
- *
134
- * @generated from protobuf field: com.daml.ledger.api.v2.SynchronizerTime synchronizer_time = 11
135
- */
136
- synchronizerTime?: SynchronizerTime;
137
- }
138
- declare class Completion$Type extends MessageType<Completion> {
139
- constructor();
140
- create(value?: PartialMessage<Completion>): Completion;
141
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Completion): Completion;
142
- internalBinaryWrite(message: Completion, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
143
- }
144
- /**
145
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.Completion
146
- */
147
- export declare const Completion: Completion$Type;
148
- export {};
149
- //# sourceMappingURL=completion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"completion.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/completion.ts"],"names":[],"mappings":"AAOA,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,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAA;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAC5D;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;;;OAMG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;;;;;;;;OASG;IACH,KAAK,EAAE,MAAM,EAAE,CAAA;IACf;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;;;;;;;;;OAUG;IACH,mBAAmB,EACb;QACI,SAAS,EAAE,qBAAqB,CAAA;QAChC;;;;;;WAMG;QACH,mBAAmB,EAAE,MAAM,CAAA;KAC9B,GACD;QACI,SAAS,EAAE,uBAAuB,CAAA;QAClC;;;;;;;WAOG;QACH,qBAAqB,EAAE,QAAQ,CAAA;KAClC,GACD;QACI,SAAS,EAAE,SAAS,CAAA;KACvB,CAAA;IACP;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;;;;;;;;;;OAWG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;CACtC;AAED,cAAM,eAAgB,SAAQ,WAAW,CAAC,UAAU,CAAC;;IAuEjD,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,UAAU;IAatD,kBAAkB,CACd,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,iBAAiB,EAC1B,MAAM,CAAC,EAAE,UAAU,GACpB,UAAU;IAsFb,mBAAmB,CACf,OAAO,EAAE,UAAU,EACnB,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,kBAAkB,GAC5B,aAAa;CA6DnB;AACD;;GAEG;AACH,eAAO,MAAM,UAAU,iBAAwB,CAAA"}
@@ -1,196 +0,0 @@
1
- import { WireType } from '@protobuf-ts/runtime';
2
- import { UnknownFieldHandler } from '@protobuf-ts/runtime';
3
- import { reflectionMergePartial } from '@protobuf-ts/runtime';
4
- import { MessageType } from '@protobuf-ts/runtime';
5
- import { SynchronizerTime } from './offset_checkpoint.js';
6
- import { TraceContext } from './trace_context.js';
7
- import { Duration } from '../../../../../google/protobuf/duration.js';
8
- import { Status } from '../../../../../google/rpc/status.js';
9
- // @generated message type with reflection information, may provide speed optimized methods
10
- class Completion$Type extends MessageType {
11
- constructor() {
12
- super('com.daml.ledger.api.v2.Completion', [
13
- {
14
- no: 1,
15
- name: 'command_id',
16
- kind: 'scalar',
17
- T: 9 /*ScalarType.STRING*/,
18
- },
19
- { no: 2, name: 'status', kind: 'message', T: () => Status },
20
- {
21
- no: 3,
22
- name: 'update_id',
23
- kind: 'scalar',
24
- T: 9 /*ScalarType.STRING*/,
25
- },
26
- {
27
- no: 4,
28
- name: 'user_id',
29
- kind: 'scalar',
30
- T: 9 /*ScalarType.STRING*/,
31
- },
32
- {
33
- no: 5,
34
- name: 'act_as',
35
- kind: 'scalar',
36
- repeat: 2 /*RepeatType.UNPACKED*/,
37
- T: 9 /*ScalarType.STRING*/,
38
- },
39
- {
40
- no: 6,
41
- name: 'submission_id',
42
- kind: 'scalar',
43
- T: 9 /*ScalarType.STRING*/,
44
- },
45
- {
46
- no: 7,
47
- name: 'deduplication_offset',
48
- kind: 'scalar',
49
- oneof: 'deduplicationPeriod',
50
- T: 3 /*ScalarType.INT64*/,
51
- L: 0 /*LongType.BIGINT*/,
52
- },
53
- {
54
- no: 8,
55
- name: 'deduplication_duration',
56
- kind: 'message',
57
- oneof: 'deduplicationPeriod',
58
- T: () => Duration,
59
- },
60
- {
61
- no: 9,
62
- name: 'trace_context',
63
- kind: 'message',
64
- T: () => TraceContext,
65
- },
66
- {
67
- no: 10,
68
- name: 'offset',
69
- kind: 'scalar',
70
- T: 3 /*ScalarType.INT64*/,
71
- L: 0 /*LongType.BIGINT*/,
72
- },
73
- {
74
- no: 11,
75
- name: 'synchronizer_time',
76
- kind: 'message',
77
- T: () => SynchronizerTime,
78
- },
79
- ]);
80
- }
81
- create(value) {
82
- const message = globalThis.Object.create(this.messagePrototype);
83
- message.commandId = '';
84
- message.updateId = '';
85
- message.userId = '';
86
- message.actAs = [];
87
- message.submissionId = '';
88
- message.deduplicationPeriod = { oneofKind: undefined };
89
- message.offset = 0n;
90
- if (value !== undefined)
91
- reflectionMergePartial(this, message, value);
92
- return message;
93
- }
94
- internalBinaryRead(reader, length, options, target) {
95
- let message = target ?? this.create(), end = reader.pos + length;
96
- while (reader.pos < end) {
97
- let [fieldNo, wireType] = reader.tag();
98
- switch (fieldNo) {
99
- case /* string command_id */ 1:
100
- message.commandId = reader.string();
101
- break;
102
- case /* google.rpc.Status status */ 2:
103
- message.status = Status.internalBinaryRead(reader, reader.uint32(), options, message.status);
104
- break;
105
- case /* string update_id */ 3:
106
- message.updateId = reader.string();
107
- break;
108
- case /* string user_id */ 4:
109
- message.userId = reader.string();
110
- break;
111
- case /* repeated string act_as */ 5:
112
- message.actAs.push(reader.string());
113
- break;
114
- case /* string submission_id */ 6:
115
- message.submissionId = reader.string();
116
- break;
117
- case /* int64 deduplication_offset */ 7:
118
- message.deduplicationPeriod = {
119
- oneofKind: 'deduplicationOffset',
120
- deduplicationOffset: reader.int64().toBigInt(),
121
- };
122
- break;
123
- case /* google.protobuf.Duration deduplication_duration */ 8:
124
- message.deduplicationPeriod = {
125
- oneofKind: 'deduplicationDuration',
126
- deduplicationDuration: Duration.internalBinaryRead(reader, reader.uint32(), options, message.deduplicationPeriod
127
- .deduplicationDuration),
128
- };
129
- break;
130
- case /* com.daml.ledger.api.v2.TraceContext trace_context */ 9:
131
- message.traceContext = TraceContext.internalBinaryRead(reader, reader.uint32(), options, message.traceContext);
132
- break;
133
- case /* int64 offset */ 10:
134
- message.offset = reader.int64().toBigInt();
135
- break;
136
- case /* com.daml.ledger.api.v2.SynchronizerTime synchronizer_time */ 11:
137
- message.synchronizerTime =
138
- SynchronizerTime.internalBinaryRead(reader, reader.uint32(), options, message.synchronizerTime);
139
- break;
140
- default:
141
- let u = options.readUnknownField;
142
- if (u === 'throw')
143
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
144
- let d = reader.skip(wireType);
145
- if (u !== false)
146
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
147
- }
148
- }
149
- return message;
150
- }
151
- internalBinaryWrite(message, writer, options) {
152
- /* string command_id = 1; */
153
- if (message.commandId !== '')
154
- writer.tag(1, WireType.LengthDelimited).string(message.commandId);
155
- /* google.rpc.Status status = 2; */
156
- if (message.status)
157
- Status.internalBinaryWrite(message.status, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
158
- /* string update_id = 3; */
159
- if (message.updateId !== '')
160
- writer.tag(3, WireType.LengthDelimited).string(message.updateId);
161
- /* string user_id = 4; */
162
- if (message.userId !== '')
163
- writer.tag(4, WireType.LengthDelimited).string(message.userId);
164
- /* repeated string act_as = 5; */
165
- for (let i = 0; i < message.actAs.length; i++)
166
- writer.tag(5, WireType.LengthDelimited).string(message.actAs[i]);
167
- /* string submission_id = 6; */
168
- if (message.submissionId !== '')
169
- writer.tag(6, WireType.LengthDelimited).string(message.submissionId);
170
- /* int64 deduplication_offset = 7; */
171
- if (message.deduplicationPeriod.oneofKind === 'deduplicationOffset')
172
- writer
173
- .tag(7, WireType.Varint)
174
- .int64(message.deduplicationPeriod.deduplicationOffset);
175
- /* google.protobuf.Duration deduplication_duration = 8; */
176
- if (message.deduplicationPeriod.oneofKind === 'deduplicationDuration')
177
- Duration.internalBinaryWrite(message.deduplicationPeriod.deduplicationDuration, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
178
- /* com.daml.ledger.api.v2.TraceContext trace_context = 9; */
179
- if (message.traceContext)
180
- TraceContext.internalBinaryWrite(message.traceContext, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
181
- /* int64 offset = 10; */
182
- if (message.offset !== 0n)
183
- writer.tag(10, WireType.Varint).int64(message.offset);
184
- /* com.daml.ledger.api.v2.SynchronizerTime synchronizer_time = 11; */
185
- if (message.synchronizerTime)
186
- SynchronizerTime.internalBinaryWrite(message.synchronizerTime, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
187
- let u = options.writeUnknownFields;
188
- if (u !== false)
189
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
190
- return writer;
191
- }
192
- }
193
- /**
194
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.Completion
195
- */
196
- export const Completion = new Completion$Type();