@canton-network/core-ledger-proto 0.1.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 (218) hide show
  1. package/README.md +1 -0
  2. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +58 -0
  3. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +1 -0
  4. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +34 -0
  5. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +232 -0
  6. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +1 -0
  7. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +560 -0
  8. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +144 -0
  9. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +1 -0
  10. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +85 -0
  11. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +291 -0
  12. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +1 -0
  13. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +663 -0
  14. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +76 -0
  15. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +1 -0
  16. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +96 -0
  17. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +106 -0
  18. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +1 -0
  19. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +62 -0
  20. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +199 -0
  21. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +1 -0
  22. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +427 -0
  23. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +56 -0
  24. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +1 -0
  25. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +35 -0
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +81 -0
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +1 -0
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +135 -0
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +196 -0
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +1 -0
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +113 -0
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +413 -0
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +1 -0
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +867 -0
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +210 -0
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +1 -0
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +126 -0
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +758 -0
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +1 -0
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +1580 -0
  41. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +66 -0
  42. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +1 -0
  43. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +38 -0
  44. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +90 -0
  45. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +1 -0
  46. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +178 -0
  47. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +99 -0
  48. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +1 -0
  49. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +61 -0
  50. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +210 -0
  51. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +1 -0
  52. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +436 -0
  53. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +80 -0
  54. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +1 -0
  55. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +47 -0
  56. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +91 -0
  57. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +1 -0
  58. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +200 -0
  59. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +491 -0
  60. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +1 -0
  61. package/dist/_proto/com/daml/ledger/api/v2/commands.js +828 -0
  62. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +149 -0
  63. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +1 -0
  64. package/dist/_proto/com/daml/ledger/api/v2/completion.js +196 -0
  65. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +495 -0
  66. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +1 -0
  67. package/dist/_proto/com/daml/ledger/api/v2/event.js +723 -0
  68. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +52 -0
  69. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +1 -0
  70. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +31 -0
  71. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +150 -0
  72. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +1 -0
  73. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +291 -0
  74. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +96 -0
  75. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +1 -0
  76. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +225 -0
  77. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +43 -0
  78. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +1 -0
  79. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +85 -0
  80. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +100 -0
  81. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +1 -0
  82. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +59 -0
  83. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +877 -0
  84. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +1 -0
  85. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +1768 -0
  86. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +259 -0
  87. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +1 -0
  88. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +667 -0
  89. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +69 -0
  90. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +1 -0
  91. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +133 -0
  92. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +41 -0
  93. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +1 -0
  94. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +84 -0
  95. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +68 -0
  96. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +1 -0
  97. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +43 -0
  98. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +181 -0
  99. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +1 -0
  100. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +395 -0
  101. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +308 -0
  102. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +1 -0
  103. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +521 -0
  104. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +193 -0
  105. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +1 -0
  106. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +350 -0
  107. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +91 -0
  108. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +1 -0
  109. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +56 -0
  110. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +448 -0
  111. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +1 -0
  112. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +874 -0
  113. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +54 -0
  114. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +1 -0
  115. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +34 -0
  116. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +78 -0
  117. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +1 -0
  118. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +168 -0
  119. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +211 -0
  120. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +1 -0
  121. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +447 -0
  122. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +33 -0
  123. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +1 -0
  124. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +69 -0
  125. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +252 -0
  126. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +1 -0
  127. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +410 -0
  128. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +453 -0
  129. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +1 -0
  130. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +815 -0
  131. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +199 -0
  132. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +1 -0
  133. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +121 -0
  134. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +424 -0
  135. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +1 -0
  136. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +853 -0
  137. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +500 -0
  138. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +1 -0
  139. package/dist/_proto/com/daml/ledger/api/v2/value.js +937 -0
  140. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +40 -0
  141. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +1 -0
  142. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +25 -0
  143. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +190 -0
  144. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +1 -0
  145. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +400 -0
  146. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +1028 -0
  147. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +1 -0
  148. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +2110 -0
  149. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +30 -0
  150. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +1 -0
  151. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +62 -0
  152. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +168 -0
  153. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +1 -0
  154. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +395 -0
  155. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +1105 -0
  156. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +1 -0
  157. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +2294 -0
  158. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +278 -0
  159. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +1 -0
  160. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +654 -0
  161. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +166 -0
  162. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +1 -0
  163. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +379 -0
  164. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +199 -0
  165. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +1 -0
  166. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +136 -0
  167. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +1195 -0
  168. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +1 -0
  169. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +3342 -0
  170. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +119 -0
  171. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +1 -0
  172. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +76 -0
  173. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +607 -0
  174. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +1 -0
  175. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +1292 -0
  176. package/dist/_proto/google/protobuf/any.d.ts +177 -0
  177. package/dist/_proto/google/protobuf/any.d.ts.map +1 -0
  178. package/dist/_proto/google/protobuf/any.js +175 -0
  179. package/dist/_proto/google/protobuf/descriptor.d.ts +1638 -0
  180. package/dist/_proto/google/protobuf/descriptor.d.ts.map +1 -0
  181. package/dist/_proto/google/protobuf/descriptor.js +2999 -0
  182. package/dist/_proto/google/protobuf/duration.d.ts +114 -0
  183. package/dist/_proto/google/protobuf/duration.d.ts.map +1 -0
  184. package/dist/_proto/google/protobuf/duration.js +113 -0
  185. package/dist/_proto/google/protobuf/empty.d.ts +33 -0
  186. package/dist/_proto/google/protobuf/empty.d.ts.map +1 -0
  187. package/dist/_proto/google/protobuf/empty.js +41 -0
  188. package/dist/_proto/google/protobuf/field_mask.d.ts +240 -0
  189. package/dist/_proto/google/protobuf/field_mask.d.ts.map +1 -0
  190. package/dist/_proto/google/protobuf/field_mask.js +95 -0
  191. package/dist/_proto/google/protobuf/struct.d.ts +187 -0
  192. package/dist/_proto/google/protobuf/struct.d.ts.map +1 -0
  193. package/dist/_proto/google/protobuf/struct.js +417 -0
  194. package/dist/_proto/google/protobuf/timestamp.d.ts +159 -0
  195. package/dist/_proto/google/protobuf/timestamp.d.ts.map +1 -0
  196. package/dist/_proto/google/protobuf/timestamp.js +157 -0
  197. package/dist/_proto/google/rpc/code.d.ts +219 -0
  198. package/dist/_proto/google/rpc/code.d.ts.map +1 -0
  199. package/dist/_proto/google/rpc/code.js +237 -0
  200. package/dist/_proto/google/rpc/context/attribute_context.d.ts +594 -0
  201. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +1 -0
  202. package/dist/_proto/google/rpc/context/attribute_context.js +1007 -0
  203. package/dist/_proto/google/rpc/context/audit_context.d.ts +62 -0
  204. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +1 -0
  205. package/dist/_proto/google/rpc/context/audit_context.js +111 -0
  206. package/dist/_proto/google/rpc/error_details.d.ts +549 -0
  207. package/dist/_proto/google/rpc/error_details.d.ts.map +1 -0
  208. package/dist/_proto/google/rpc/error_details.js +918 -0
  209. package/dist/_proto/google/rpc/status.d.ts +55 -0
  210. package/dist/_proto/google/rpc/status.d.ts.map +1 -0
  211. package/dist/_proto/google/rpc/status.js +79 -0
  212. package/dist/_proto/scalapb/scalapb.d.ts +779 -0
  213. package/dist/_proto/scalapb/scalapb.d.ts.map +1 -0
  214. package/dist/_proto/scalapb/scalapb.js +1658 -0
  215. package/dist/index.d.ts +13 -0
  216. package/dist/index.d.ts.map +1 -0
  217. package/dist/index.js +12 -0
  218. package/package.json +29 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reassignment.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/reassignment.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,521 @@
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 { CreatedEvent } from './event.js';
6
+ import { Identifier } from './value.js';
7
+ import { Timestamp } from '../../../../../google/protobuf/timestamp.js';
8
+ import { TraceContext } from './trace_context.js';
9
+ // @generated message type with reflection information, may provide speed optimized methods
10
+ class Reassignment$Type extends MessageType {
11
+ constructor() {
12
+ super('com.daml.ledger.api.v2.Reassignment', [
13
+ {
14
+ no: 1,
15
+ name: 'update_id',
16
+ kind: 'scalar',
17
+ T: 9 /*ScalarType.STRING*/,
18
+ },
19
+ {
20
+ no: 2,
21
+ name: 'command_id',
22
+ kind: 'scalar',
23
+ T: 9 /*ScalarType.STRING*/,
24
+ },
25
+ {
26
+ no: 3,
27
+ name: 'workflow_id',
28
+ kind: 'scalar',
29
+ T: 9 /*ScalarType.STRING*/,
30
+ },
31
+ {
32
+ no: 4,
33
+ name: 'offset',
34
+ kind: 'scalar',
35
+ T: 3 /*ScalarType.INT64*/,
36
+ L: 0 /*LongType.BIGINT*/,
37
+ },
38
+ {
39
+ no: 5,
40
+ name: 'events',
41
+ kind: 'message',
42
+ repeat: 2 /*RepeatType.UNPACKED*/,
43
+ T: () => ReassignmentEvent,
44
+ },
45
+ {
46
+ no: 6,
47
+ name: 'trace_context',
48
+ kind: 'message',
49
+ T: () => TraceContext,
50
+ },
51
+ { no: 7, name: 'record_time', kind: 'message', T: () => Timestamp },
52
+ ]);
53
+ }
54
+ create(value) {
55
+ const message = globalThis.Object.create(this.messagePrototype);
56
+ message.updateId = '';
57
+ message.commandId = '';
58
+ message.workflowId = '';
59
+ message.offset = 0n;
60
+ message.events = [];
61
+ if (value !== undefined)
62
+ reflectionMergePartial(this, message, value);
63
+ return message;
64
+ }
65
+ internalBinaryRead(reader, length, options, target) {
66
+ let message = target ?? this.create(), end = reader.pos + length;
67
+ while (reader.pos < end) {
68
+ let [fieldNo, wireType] = reader.tag();
69
+ switch (fieldNo) {
70
+ case /* string update_id */ 1:
71
+ message.updateId = reader.string();
72
+ break;
73
+ case /* string command_id */ 2:
74
+ message.commandId = reader.string();
75
+ break;
76
+ case /* string workflow_id */ 3:
77
+ message.workflowId = reader.string();
78
+ break;
79
+ case /* int64 offset */ 4:
80
+ message.offset = reader.int64().toBigInt();
81
+ break;
82
+ case /* repeated com.daml.ledger.api.v2.ReassignmentEvent events */ 5:
83
+ message.events.push(ReassignmentEvent.internalBinaryRead(reader, reader.uint32(), options));
84
+ break;
85
+ case /* com.daml.ledger.api.v2.TraceContext trace_context */ 6:
86
+ message.traceContext = TraceContext.internalBinaryRead(reader, reader.uint32(), options, message.traceContext);
87
+ break;
88
+ case /* google.protobuf.Timestamp record_time */ 7:
89
+ message.recordTime = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.recordTime);
90
+ break;
91
+ default:
92
+ let u = options.readUnknownField;
93
+ if (u === 'throw')
94
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
95
+ let d = reader.skip(wireType);
96
+ if (u !== false)
97
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
98
+ }
99
+ }
100
+ return message;
101
+ }
102
+ internalBinaryWrite(message, writer, options) {
103
+ /* string update_id = 1; */
104
+ if (message.updateId !== '')
105
+ writer.tag(1, WireType.LengthDelimited).string(message.updateId);
106
+ /* string command_id = 2; */
107
+ if (message.commandId !== '')
108
+ writer.tag(2, WireType.LengthDelimited).string(message.commandId);
109
+ /* string workflow_id = 3; */
110
+ if (message.workflowId !== '')
111
+ writer.tag(3, WireType.LengthDelimited).string(message.workflowId);
112
+ /* int64 offset = 4; */
113
+ if (message.offset !== 0n)
114
+ writer.tag(4, WireType.Varint).int64(message.offset);
115
+ /* repeated com.daml.ledger.api.v2.ReassignmentEvent events = 5; */
116
+ for (let i = 0; i < message.events.length; i++)
117
+ ReassignmentEvent.internalBinaryWrite(message.events[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
118
+ /* com.daml.ledger.api.v2.TraceContext trace_context = 6; */
119
+ if (message.traceContext)
120
+ TraceContext.internalBinaryWrite(message.traceContext, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
121
+ /* google.protobuf.Timestamp record_time = 7; */
122
+ if (message.recordTime)
123
+ Timestamp.internalBinaryWrite(message.recordTime, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
124
+ let u = options.writeUnknownFields;
125
+ if (u !== false)
126
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
127
+ return writer;
128
+ }
129
+ }
130
+ /**
131
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.Reassignment
132
+ */
133
+ export const Reassignment = new Reassignment$Type();
134
+ // @generated message type with reflection information, may provide speed optimized methods
135
+ class ReassignmentEvent$Type extends MessageType {
136
+ constructor() {
137
+ super('com.daml.ledger.api.v2.ReassignmentEvent', [
138
+ {
139
+ no: 1,
140
+ name: 'unassigned',
141
+ kind: 'message',
142
+ oneof: 'event',
143
+ T: () => UnassignedEvent,
144
+ },
145
+ {
146
+ no: 2,
147
+ name: 'assigned',
148
+ kind: 'message',
149
+ oneof: 'event',
150
+ T: () => AssignedEvent,
151
+ },
152
+ ]);
153
+ }
154
+ create(value) {
155
+ const message = globalThis.Object.create(this.messagePrototype);
156
+ message.event = { oneofKind: undefined };
157
+ if (value !== undefined)
158
+ reflectionMergePartial(this, message, value);
159
+ return message;
160
+ }
161
+ internalBinaryRead(reader, length, options, target) {
162
+ let message = target ?? this.create(), end = reader.pos + length;
163
+ while (reader.pos < end) {
164
+ let [fieldNo, wireType] = reader.tag();
165
+ switch (fieldNo) {
166
+ case /* com.daml.ledger.api.v2.UnassignedEvent unassigned */ 1:
167
+ message.event = {
168
+ oneofKind: 'unassigned',
169
+ unassigned: UnassignedEvent.internalBinaryRead(reader, reader.uint32(), options, message.event.unassigned),
170
+ };
171
+ break;
172
+ case /* com.daml.ledger.api.v2.AssignedEvent assigned */ 2:
173
+ message.event = {
174
+ oneofKind: 'assigned',
175
+ assigned: AssignedEvent.internalBinaryRead(reader, reader.uint32(), options, message.event.assigned),
176
+ };
177
+ break;
178
+ default:
179
+ let u = options.readUnknownField;
180
+ if (u === 'throw')
181
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
182
+ let d = reader.skip(wireType);
183
+ if (u !== false)
184
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
185
+ }
186
+ }
187
+ return message;
188
+ }
189
+ internalBinaryWrite(message, writer, options) {
190
+ /* com.daml.ledger.api.v2.UnassignedEvent unassigned = 1; */
191
+ if (message.event.oneofKind === 'unassigned')
192
+ UnassignedEvent.internalBinaryWrite(message.event.unassigned, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
193
+ /* com.daml.ledger.api.v2.AssignedEvent assigned = 2; */
194
+ if (message.event.oneofKind === 'assigned')
195
+ AssignedEvent.internalBinaryWrite(message.event.assigned, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
196
+ let u = options.writeUnknownFields;
197
+ if (u !== false)
198
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
199
+ return writer;
200
+ }
201
+ }
202
+ /**
203
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.ReassignmentEvent
204
+ */
205
+ export const ReassignmentEvent = new ReassignmentEvent$Type();
206
+ // @generated message type with reflection information, may provide speed optimized methods
207
+ class UnassignedEvent$Type extends MessageType {
208
+ constructor() {
209
+ super('com.daml.ledger.api.v2.UnassignedEvent', [
210
+ {
211
+ no: 1,
212
+ name: 'unassign_id',
213
+ kind: 'scalar',
214
+ T: 9 /*ScalarType.STRING*/,
215
+ },
216
+ {
217
+ no: 2,
218
+ name: 'contract_id',
219
+ kind: 'scalar',
220
+ T: 9 /*ScalarType.STRING*/,
221
+ },
222
+ {
223
+ no: 3,
224
+ name: 'template_id',
225
+ kind: 'message',
226
+ T: () => Identifier,
227
+ },
228
+ {
229
+ no: 4,
230
+ name: 'source',
231
+ kind: 'scalar',
232
+ T: 9 /*ScalarType.STRING*/,
233
+ },
234
+ {
235
+ no: 5,
236
+ name: 'target',
237
+ kind: 'scalar',
238
+ T: 9 /*ScalarType.STRING*/,
239
+ },
240
+ {
241
+ no: 6,
242
+ name: 'submitter',
243
+ kind: 'scalar',
244
+ T: 9 /*ScalarType.STRING*/,
245
+ },
246
+ {
247
+ no: 7,
248
+ name: 'reassignment_counter',
249
+ kind: 'scalar',
250
+ T: 4 /*ScalarType.UINT64*/,
251
+ L: 0 /*LongType.BIGINT*/,
252
+ },
253
+ {
254
+ no: 8,
255
+ name: 'assignment_exclusivity',
256
+ kind: 'message',
257
+ T: () => Timestamp,
258
+ },
259
+ {
260
+ no: 9,
261
+ name: 'witness_parties',
262
+ kind: 'scalar',
263
+ repeat: 2 /*RepeatType.UNPACKED*/,
264
+ T: 9 /*ScalarType.STRING*/,
265
+ },
266
+ {
267
+ no: 10,
268
+ name: 'package_name',
269
+ kind: 'scalar',
270
+ T: 9 /*ScalarType.STRING*/,
271
+ },
272
+ {
273
+ no: 11,
274
+ name: 'offset',
275
+ kind: 'scalar',
276
+ T: 3 /*ScalarType.INT64*/,
277
+ L: 0 /*LongType.BIGINT*/,
278
+ },
279
+ {
280
+ no: 12,
281
+ name: 'node_id',
282
+ kind: 'scalar',
283
+ T: 5 /*ScalarType.INT32*/,
284
+ },
285
+ ]);
286
+ }
287
+ create(value) {
288
+ const message = globalThis.Object.create(this.messagePrototype);
289
+ message.unassignId = '';
290
+ message.contractId = '';
291
+ message.source = '';
292
+ message.target = '';
293
+ message.submitter = '';
294
+ message.reassignmentCounter = 0n;
295
+ message.witnessParties = [];
296
+ message.packageName = '';
297
+ message.offset = 0n;
298
+ message.nodeId = 0;
299
+ if (value !== undefined)
300
+ reflectionMergePartial(this, message, value);
301
+ return message;
302
+ }
303
+ internalBinaryRead(reader, length, options, target) {
304
+ let message = target ?? this.create(), end = reader.pos + length;
305
+ while (reader.pos < end) {
306
+ let [fieldNo, wireType] = reader.tag();
307
+ switch (fieldNo) {
308
+ case /* string unassign_id */ 1:
309
+ message.unassignId = reader.string();
310
+ break;
311
+ case /* string contract_id */ 2:
312
+ message.contractId = reader.string();
313
+ break;
314
+ case /* com.daml.ledger.api.v2.Identifier template_id */ 3:
315
+ message.templateId = Identifier.internalBinaryRead(reader, reader.uint32(), options, message.templateId);
316
+ break;
317
+ case /* string source */ 4:
318
+ message.source = reader.string();
319
+ break;
320
+ case /* string target */ 5:
321
+ message.target = reader.string();
322
+ break;
323
+ case /* string submitter */ 6:
324
+ message.submitter = reader.string();
325
+ break;
326
+ case /* uint64 reassignment_counter */ 7:
327
+ message.reassignmentCounter = reader.uint64().toBigInt();
328
+ break;
329
+ case /* google.protobuf.Timestamp assignment_exclusivity */ 8:
330
+ message.assignmentExclusivity =
331
+ Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.assignmentExclusivity);
332
+ break;
333
+ case /* repeated string witness_parties */ 9:
334
+ message.witnessParties.push(reader.string());
335
+ break;
336
+ case /* string package_name */ 10:
337
+ message.packageName = reader.string();
338
+ break;
339
+ case /* int64 offset */ 11:
340
+ message.offset = reader.int64().toBigInt();
341
+ break;
342
+ case /* int32 node_id */ 12:
343
+ message.nodeId = reader.int32();
344
+ break;
345
+ default:
346
+ let u = options.readUnknownField;
347
+ if (u === 'throw')
348
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
349
+ let d = reader.skip(wireType);
350
+ if (u !== false)
351
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
352
+ }
353
+ }
354
+ return message;
355
+ }
356
+ internalBinaryWrite(message, writer, options) {
357
+ /* string unassign_id = 1; */
358
+ if (message.unassignId !== '')
359
+ writer.tag(1, WireType.LengthDelimited).string(message.unassignId);
360
+ /* string contract_id = 2; */
361
+ if (message.contractId !== '')
362
+ writer.tag(2, WireType.LengthDelimited).string(message.contractId);
363
+ /* com.daml.ledger.api.v2.Identifier template_id = 3; */
364
+ if (message.templateId)
365
+ Identifier.internalBinaryWrite(message.templateId, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
366
+ /* string source = 4; */
367
+ if (message.source !== '')
368
+ writer.tag(4, WireType.LengthDelimited).string(message.source);
369
+ /* string target = 5; */
370
+ if (message.target !== '')
371
+ writer.tag(5, WireType.LengthDelimited).string(message.target);
372
+ /* string submitter = 6; */
373
+ if (message.submitter !== '')
374
+ writer.tag(6, WireType.LengthDelimited).string(message.submitter);
375
+ /* uint64 reassignment_counter = 7; */
376
+ if (message.reassignmentCounter !== 0n)
377
+ writer.tag(7, WireType.Varint).uint64(message.reassignmentCounter);
378
+ /* google.protobuf.Timestamp assignment_exclusivity = 8; */
379
+ if (message.assignmentExclusivity)
380
+ Timestamp.internalBinaryWrite(message.assignmentExclusivity, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
381
+ /* repeated string witness_parties = 9; */
382
+ for (let i = 0; i < message.witnessParties.length; i++)
383
+ writer
384
+ .tag(9, WireType.LengthDelimited)
385
+ .string(message.witnessParties[i]);
386
+ /* string package_name = 10; */
387
+ if (message.packageName !== '')
388
+ writer.tag(10, WireType.LengthDelimited).string(message.packageName);
389
+ /* int64 offset = 11; */
390
+ if (message.offset !== 0n)
391
+ writer.tag(11, WireType.Varint).int64(message.offset);
392
+ /* int32 node_id = 12; */
393
+ if (message.nodeId !== 0)
394
+ writer.tag(12, WireType.Varint).int32(message.nodeId);
395
+ let u = options.writeUnknownFields;
396
+ if (u !== false)
397
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
398
+ return writer;
399
+ }
400
+ }
401
+ /**
402
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.UnassignedEvent
403
+ */
404
+ export const UnassignedEvent = new UnassignedEvent$Type();
405
+ // @generated message type with reflection information, may provide speed optimized methods
406
+ class AssignedEvent$Type extends MessageType {
407
+ constructor() {
408
+ super('com.daml.ledger.api.v2.AssignedEvent', [
409
+ {
410
+ no: 1,
411
+ name: 'source',
412
+ kind: 'scalar',
413
+ T: 9 /*ScalarType.STRING*/,
414
+ },
415
+ {
416
+ no: 2,
417
+ name: 'target',
418
+ kind: 'scalar',
419
+ T: 9 /*ScalarType.STRING*/,
420
+ },
421
+ {
422
+ no: 3,
423
+ name: 'unassign_id',
424
+ kind: 'scalar',
425
+ T: 9 /*ScalarType.STRING*/,
426
+ },
427
+ {
428
+ no: 4,
429
+ name: 'submitter',
430
+ kind: 'scalar',
431
+ T: 9 /*ScalarType.STRING*/,
432
+ },
433
+ {
434
+ no: 5,
435
+ name: 'reassignment_counter',
436
+ kind: 'scalar',
437
+ T: 4 /*ScalarType.UINT64*/,
438
+ L: 0 /*LongType.BIGINT*/,
439
+ },
440
+ {
441
+ no: 6,
442
+ name: 'created_event',
443
+ kind: 'message',
444
+ T: () => CreatedEvent,
445
+ },
446
+ ]);
447
+ }
448
+ create(value) {
449
+ const message = globalThis.Object.create(this.messagePrototype);
450
+ message.source = '';
451
+ message.target = '';
452
+ message.unassignId = '';
453
+ message.submitter = '';
454
+ message.reassignmentCounter = 0n;
455
+ if (value !== undefined)
456
+ reflectionMergePartial(this, message, value);
457
+ return message;
458
+ }
459
+ internalBinaryRead(reader, length, options, target) {
460
+ let message = target ?? this.create(), end = reader.pos + length;
461
+ while (reader.pos < end) {
462
+ let [fieldNo, wireType] = reader.tag();
463
+ switch (fieldNo) {
464
+ case /* string source */ 1:
465
+ message.source = reader.string();
466
+ break;
467
+ case /* string target */ 2:
468
+ message.target = reader.string();
469
+ break;
470
+ case /* string unassign_id */ 3:
471
+ message.unassignId = reader.string();
472
+ break;
473
+ case /* string submitter */ 4:
474
+ message.submitter = reader.string();
475
+ break;
476
+ case /* uint64 reassignment_counter */ 5:
477
+ message.reassignmentCounter = reader.uint64().toBigInt();
478
+ break;
479
+ case /* com.daml.ledger.api.v2.CreatedEvent created_event */ 6:
480
+ message.createdEvent = CreatedEvent.internalBinaryRead(reader, reader.uint32(), options, message.createdEvent);
481
+ break;
482
+ default:
483
+ let u = options.readUnknownField;
484
+ if (u === 'throw')
485
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
486
+ let d = reader.skip(wireType);
487
+ if (u !== false)
488
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
489
+ }
490
+ }
491
+ return message;
492
+ }
493
+ internalBinaryWrite(message, writer, options) {
494
+ /* string source = 1; */
495
+ if (message.source !== '')
496
+ writer.tag(1, WireType.LengthDelimited).string(message.source);
497
+ /* string target = 2; */
498
+ if (message.target !== '')
499
+ writer.tag(2, WireType.LengthDelimited).string(message.target);
500
+ /* string unassign_id = 3; */
501
+ if (message.unassignId !== '')
502
+ writer.tag(3, WireType.LengthDelimited).string(message.unassignId);
503
+ /* string submitter = 4; */
504
+ if (message.submitter !== '')
505
+ writer.tag(4, WireType.LengthDelimited).string(message.submitter);
506
+ /* uint64 reassignment_counter = 5; */
507
+ if (message.reassignmentCounter !== 0n)
508
+ writer.tag(5, WireType.Varint).uint64(message.reassignmentCounter);
509
+ /* com.daml.ledger.api.v2.CreatedEvent created_event = 6; */
510
+ if (message.createdEvent)
511
+ CreatedEvent.internalBinaryWrite(message.createdEvent, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
512
+ let u = options.writeUnknownFields;
513
+ if (u !== false)
514
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
515
+ return writer;
516
+ }
517
+ }
518
+ /**
519
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.AssignedEvent
520
+ */
521
+ export const AssignedEvent = new AssignedEvent$Type();