@canton-network/core-ledger-proto 1.16.0 → 1.18.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 (481) hide show
  1. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +2 -2
  2. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +1 -0
  3. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +6 -6
  4. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +1 -0
  5. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +10 -10
  6. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +1 -0
  7. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +2 -2
  8. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +1 -0
  9. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +1 -0
  10. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +8 -8
  11. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +1 -0
  12. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/package_management_service.d.ts +4 -4
  13. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +1 -0
  14. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +2 -2
  15. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +1 -0
  16. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +1 -1
  17. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +1 -0
  18. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_alpha_service.client.d.ts +128 -0
  19. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_alpha_service.client.d.ts.map +1 -0
  20. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_alpha_service.d.ts +323 -0
  21. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_alpha_service.d.ts.map +1 -0
  22. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +32 -16
  23. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +1 -0
  24. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/party_management_service.d.ts +20 -8
  25. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +1 -0
  26. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +18 -18
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +1 -0
  28. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/user_management_service.d.ts +29 -3
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +1 -0
  30. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/command_completion_service.client.d.ts +32 -3
  31. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +1 -0
  32. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/command_completion_service.d.ts +61 -3
  33. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +1 -0
  34. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/command_service.client.d.ts +6 -6
  35. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +1 -0
  36. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/command_service.d.ts +7 -7
  37. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +1 -0
  38. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/command_submission_service.client.d.ts +4 -4
  39. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +1 -0
  40. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/command_submission_service.d.ts +3 -3
  41. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +1 -0
  42. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/commands.d.ts +5 -5
  43. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +1 -0
  44. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/completion.d.ts +22 -4
  45. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +1 -0
  46. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/contract_service.client.d.ts +2 -2
  47. package/dist/_proto/com/daml/ledger/api/v2/contract_service.client.d.ts.map +1 -0
  48. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/contract_service.d.ts +2 -2
  49. package/dist/_proto/com/daml/ledger/api/v2/contract_service.d.ts.map +1 -0
  50. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/crypto.d.ts +10 -2
  51. package/dist/_proto/com/daml/ledger/api/v2/crypto.d.ts.map +1 -0
  52. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/event.d.ts +5 -5
  53. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +1 -0
  54. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/event_query_service.client.d.ts +2 -2
  55. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +1 -0
  56. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/event_query_service.d.ts +4 -4
  57. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +1 -0
  58. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +1 -0
  59. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +2 -2
  60. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +1 -0
  61. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +10 -50
  62. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +1 -0
  63. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +129 -125
  64. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +1 -0
  65. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +75 -3
  66. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +1 -0
  67. package/dist/_proto/com/daml/ledger/api/v2/jose_service.client.d.ts +38 -0
  68. package/dist/_proto/com/daml/ledger/api/v2/jose_service.client.d.ts.map +1 -0
  69. package/dist/_proto/com/daml/ledger/api/v2/jose_service.d.ts +68 -0
  70. package/dist/_proto/com/daml/ledger/api/v2/jose_service.d.ts.map +1 -0
  71. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/offset_checkpoint.d.ts +1 -1
  72. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +1 -0
  73. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/package_reference.d.ts +2 -2
  74. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +1 -0
  75. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/package_service.client.d.ts +8 -8
  76. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +1 -0
  77. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/package_service.d.ts +7 -3
  78. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +1 -0
  79. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/reassignment.d.ts +14 -11
  80. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +1 -0
  81. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/reassignment_commands.d.ts +17 -0
  82. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +1 -0
  83. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/state_service.client.d.ts +44 -10
  84. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +1 -0
  85. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/state_service.d.ts +112 -18
  86. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +1 -0
  87. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/testing/time_service.client.d.ts +4 -4
  88. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +1 -0
  89. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/testing/time_service.d.ts +2 -2
  90. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +1 -0
  91. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/topology_transaction.d.ts +3 -3
  92. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +1 -0
  93. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +1 -0
  94. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/transaction.d.ts +22 -3
  95. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +1 -0
  96. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/transaction_filter.d.ts +5 -5
  97. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +1 -0
  98. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/update_service.client.d.ts +26 -7
  99. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +1 -0
  100. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/update_service.d.ts +37 -6
  101. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +1 -0
  102. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/value.d.ts +2 -1
  103. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +1 -0
  104. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/version_service.client.d.ts +2 -2
  105. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +1 -0
  106. package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/version_service.d.ts +3 -3
  107. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +1 -0
  108. package/dist/{types/_proto → _proto}/com/digitalasset/canton/crypto/v30/crypto.d.ts +14 -2
  109. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +1 -0
  110. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +1 -0
  111. package/dist/{types/_proto → _proto}/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +4 -3
  112. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +1 -0
  113. package/dist/{types/_proto → _proto}/com/digitalasset/canton/protocol/v30/topology.d.ts +13 -13
  114. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +1 -0
  115. package/dist/{types/_proto → _proto}/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +1 -1
  116. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +1 -0
  117. package/dist/_proto/com/digitalasset/canton/protocol/v31/topology.d.ts +323 -0
  118. package/dist/_proto/com/digitalasset/canton/protocol/v31/topology.d.ts.map +1 -0
  119. package/dist/{types/_proto → _proto}/com/digitalasset/canton/topology/admin/v30/common.d.ts +1 -35
  120. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +1 -0
  121. package/dist/{types/_proto → _proto}/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +56 -46
  122. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +1 -0
  123. package/dist/{types/_proto → _proto}/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +130 -29
  124. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +1 -0
  125. package/dist/{types/_proto → _proto}/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +16 -16
  126. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +1 -0
  127. package/dist/{types/_proto → _proto}/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +91 -13
  128. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +1 -0
  129. package/dist/_proto/com/digitalasset/canton/version/v1/untyped_versioned_message.d.ts +41 -0
  130. package/dist/_proto/com/digitalasset/canton/version/v1/untyped_versioned_message.d.ts.map +1 -0
  131. package/dist/_proto/google/protobuf/any.d.ts +125 -0
  132. package/dist/_proto/google/protobuf/any.d.ts.map +1 -0
  133. package/dist/{types/_proto → _proto}/google/protobuf/descriptor.d.ts +978 -48
  134. package/dist/_proto/google/protobuf/descriptor.d.ts.map +1 -0
  135. package/dist/{types/_proto → _proto}/google/protobuf/duration.d.ts +0 -1
  136. package/dist/_proto/google/protobuf/duration.d.ts.map +1 -0
  137. package/dist/{types/_proto → _proto}/google/protobuf/empty.d.ts +0 -1
  138. package/dist/_proto/google/protobuf/empty.d.ts.map +1 -0
  139. package/dist/{types/_proto → _proto}/google/protobuf/field_mask.d.ts +16 -18
  140. package/dist/_proto/google/protobuf/field_mask.d.ts.map +1 -0
  141. package/dist/{types/_proto → _proto}/google/protobuf/struct.d.ts +33 -22
  142. package/dist/_proto/google/protobuf/struct.d.ts.map +1 -0
  143. package/dist/{types/_proto → _proto}/google/protobuf/timestamp.d.ts +10 -12
  144. package/dist/_proto/google/protobuf/timestamp.d.ts.map +1 -0
  145. package/dist/_proto/google/rpc/code.d.ts.map +1 -0
  146. package/dist/{types/_proto → _proto}/google/rpc/context/attribute_context.d.ts +4 -4
  147. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +1 -0
  148. package/dist/{types/_proto → _proto}/google/rpc/context/audit_context.d.ts +1 -1
  149. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +1 -0
  150. package/dist/{types/_proto → _proto}/google/rpc/error_details.d.ts +1 -1
  151. package/dist/_proto/google/rpc/error_details.d.ts.map +1 -0
  152. package/dist/{types/_proto → _proto}/google/rpc/status.d.ts +1 -1
  153. package/dist/_proto/google/rpc/status.d.ts.map +1 -0
  154. package/dist/{types/_proto → _proto}/scalapb/scalapb.d.ts +2 -2
  155. package/dist/_proto/scalapb/scalapb.d.ts.map +1 -0
  156. package/dist/index.cjs +19408 -0
  157. package/dist/index.cjs.map +1 -0
  158. package/dist/{types/index.d.ts → index.d.ts} +16 -14
  159. package/dist/index.d.ts.map +1 -0
  160. package/dist/index.js +19244 -0
  161. package/dist/index.js.map +1 -0
  162. package/dist/unknown-fields.d.ts.map +1 -0
  163. package/package.json +11 -11
  164. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.cjs +0 -575
  165. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.cjs +0 -37
  166. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.cjs +0 -556
  167. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.cjs +0 -88
  168. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/object_meta.cjs +0 -77
  169. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.cjs +0 -868
  170. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.cjs +0 -69
  171. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.cjs +0 -117
  172. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.cjs +0 -36
  173. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.cjs +0 -1175
  174. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.cjs +0 -147
  175. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.cjs +0 -1497
  176. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.cjs +0 -129
  177. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.cjs +0 -210
  178. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.client.cjs +0 -52
  179. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.cjs +0 -321
  180. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.client.cjs +0 -53
  181. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.cjs +0 -175
  182. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.client.cjs +0 -50
  183. package/dist/cjs/_proto/com/daml/ledger/api/v2/commands.cjs +0 -746
  184. package/dist/cjs/_proto/com/daml/ledger/api/v2/completion.cjs +0 -182
  185. package/dist/cjs/_proto/com/daml/ledger/api/v2/contract_service.cjs +0 -113
  186. package/dist/cjs/_proto/com/daml/ledger/api/v2/contract_service.client.cjs +0 -33
  187. package/dist/cjs/_proto/com/daml/ledger/api/v2/crypto.cjs +0 -307
  188. package/dist/cjs/_proto/com/daml/ledger/api/v2/event.cjs +0 -686
  189. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.cjs +0 -227
  190. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.client.cjs +0 -34
  191. package/dist/cjs/_proto/com/daml/ledger/api/v2/experimental_features.cjs +0 -187
  192. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.cjs +0 -135
  193. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.cjs +0 -2150
  194. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.cjs +0 -108
  195. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.cjs +0 -734
  196. package/dist/cjs/_proto/com/daml/ledger/api/v2/offset_checkpoint.cjs +0 -113
  197. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_reference.cjs +0 -302
  198. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.cjs +0 -596
  199. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.client.cjs +0 -56
  200. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment.cjs +0 -472
  201. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment_commands.cjs +0 -302
  202. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.cjs +0 -908
  203. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.client.cjs +0 -73
  204. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.cjs +0 -150
  205. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.client.cjs +0 -37
  206. package/dist/cjs/_proto/com/daml/ledger/api/v2/topology_transaction.cjs +0 -469
  207. package/dist/cjs/_proto/com/daml/ledger/api/v2/trace_context.cjs +0 -57
  208. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction.cjs +0 -162
  209. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction_filter.cjs +0 -626
  210. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.cjs +0 -581
  211. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.client.cjs +0 -78
  212. package/dist/cjs/_proto/com/daml/ledger/api/v2/value.cjs +0 -841
  213. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.cjs +0 -387
  214. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.client.cjs +0 -28
  215. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto.cjs +0 -1924
  216. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.cjs +0 -47
  217. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.cjs +0 -313
  218. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology.cjs +0 -2169
  219. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.cjs +0 -548
  220. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common.cjs +0 -420
  221. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.cjs +0 -3592
  222. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.cjs +0 -192
  223. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.cjs +0 -1247
  224. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.cjs +0 -89
  225. package/dist/cjs/_proto/google/protobuf/any.cjs +0 -132
  226. package/dist/cjs/_proto/google/protobuf/descriptor.cjs +0 -2584
  227. package/dist/cjs/_proto/google/protobuf/duration.cjs +0 -93
  228. package/dist/cjs/_proto/google/protobuf/empty.cjs +0 -37
  229. package/dist/cjs/_proto/google/protobuf/field_mask.cjs +0 -72
  230. package/dist/cjs/_proto/google/protobuf/struct.cjs +0 -354
  231. package/dist/cjs/_proto/google/protobuf/timestamp.cjs +0 -118
  232. package/dist/cjs/_proto/google/rpc/code.cjs +0 -222
  233. package/dist/cjs/_proto/google/rpc/context/attribute_context.cjs +0 -905
  234. package/dist/cjs/_proto/google/rpc/context/audit_context.cjs +0 -92
  235. package/dist/cjs/_proto/google/rpc/error_details.cjs +0 -902
  236. package/dist/cjs/_proto/google/rpc/status.cjs +0 -73
  237. package/dist/cjs/_proto/scalapb/scalapb.cjs +0 -1405
  238. package/dist/cjs/_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/defineProperty.cjs +0 -11
  239. package/dist/cjs/_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/toPrimitive.cjs +0 -13
  240. package/dist/cjs/_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/toPropertyKey.cjs +0 -8
  241. package/dist/cjs/_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/typeof.cjs +0 -15
  242. package/dist/cjs/index.cjs +0 -196
  243. package/dist/cjs/unknown-fields.cjs +0 -87
  244. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +0 -38
  245. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js.map +0 -1
  246. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +0 -568
  247. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js.map +0 -1
  248. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +0 -89
  249. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js.map +0 -1
  250. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +0 -546
  251. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js.map +0 -1
  252. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/object_meta.js +0 -78
  253. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/object_meta.js.map +0 -1
  254. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +0 -70
  255. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js.map +0 -1
  256. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +0 -854
  257. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.js.map +0 -1
  258. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +0 -37
  259. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js.map +0 -1
  260. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +0 -116
  261. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js.map +0 -1
  262. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +0 -148
  263. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js.map +0 -1
  264. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +0 -1158
  265. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.js.map +0 -1
  266. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +0 -130
  267. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js.map +0 -1
  268. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +0 -1471
  269. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.js.map +0 -1
  270. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +0 -53
  271. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.client.js.map +0 -1
  272. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.js +0 -208
  273. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.js.map +0 -1
  274. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.client.js +0 -54
  275. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.client.js.map +0 -1
  276. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.js +0 -316
  277. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.js.map +0 -1
  278. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +0 -51
  279. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.client.js.map +0 -1
  280. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.js +0 -172
  281. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.js.map +0 -1
  282. package/dist/esm/_proto/com/daml/ledger/api/v2/commands.js +0 -740
  283. package/dist/esm/_proto/com/daml/ledger/api/v2/commands.js.map +0 -1
  284. package/dist/esm/_proto/com/daml/ledger/api/v2/completion.js +0 -183
  285. package/dist/esm/_proto/com/daml/ledger/api/v2/completion.js.map +0 -1
  286. package/dist/esm/_proto/com/daml/ledger/api/v2/contract_service.client.js +0 -34
  287. package/dist/esm/_proto/com/daml/ledger/api/v2/contract_service.client.js.map +0 -1
  288. package/dist/esm/_proto/com/daml/ledger/api/v2/contract_service.js +0 -112
  289. package/dist/esm/_proto/com/daml/ledger/api/v2/contract_service.js.map +0 -1
  290. package/dist/esm/_proto/com/daml/ledger/api/v2/crypto.js +0 -303
  291. package/dist/esm/_proto/com/daml/ledger/api/v2/crypto.js.map +0 -1
  292. package/dist/esm/_proto/com/daml/ledger/api/v2/event.js +0 -683
  293. package/dist/esm/_proto/com/daml/ledger/api/v2/event.js.map +0 -1
  294. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.client.js +0 -35
  295. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.client.js.map +0 -1
  296. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.js +0 -224
  297. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.js.map +0 -1
  298. package/dist/esm/_proto/com/daml/ledger/api/v2/experimental_features.js +0 -185
  299. package/dist/esm/_proto/com/daml/ledger/api/v2/experimental_features.js.map +0 -1
  300. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +0 -135
  301. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js.map +0 -1
  302. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +0 -109
  303. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js.map +0 -1
  304. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +0 -2123
  305. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js.map +0 -1
  306. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +0 -730
  307. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js.map +0 -1
  308. package/dist/esm/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +0 -113
  309. package/dist/esm/_proto/com/daml/ledger/api/v2/offset_checkpoint.js.map +0 -1
  310. package/dist/esm/_proto/com/daml/ledger/api/v2/package_reference.js +0 -300
  311. package/dist/esm/_proto/com/daml/ledger/api/v2/package_reference.js.map +0 -1
  312. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.client.js +0 -57
  313. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.client.js.map +0 -1
  314. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.js +0 -585
  315. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.js.map +0 -1
  316. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment.js +0 -470
  317. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment.js.map +0 -1
  318. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment_commands.js +0 -300
  319. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment_commands.js.map +0 -1
  320. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.client.js +0 -74
  321. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.client.js.map +0 -1
  322. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.js +0 -894
  323. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.js.map +0 -1
  324. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +0 -38
  325. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.client.js.map +0 -1
  326. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.js +0 -148
  327. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.js.map +0 -1
  328. package/dist/esm/_proto/com/daml/ledger/api/v2/topology_transaction.js +0 -465
  329. package/dist/esm/_proto/com/daml/ledger/api/v2/topology_transaction.js.map +0 -1
  330. package/dist/esm/_proto/com/daml/ledger/api/v2/trace_context.js +0 -58
  331. package/dist/esm/_proto/com/daml/ledger/api/v2/trace_context.js.map +0 -1
  332. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction.js +0 -163
  333. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction.js.map +0 -1
  334. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction_filter.js +0 -617
  335. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction_filter.js.map +0 -1
  336. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.client.js +0 -79
  337. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.client.js.map +0 -1
  338. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.js +0 -575
  339. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.js.map +0 -1
  340. package/dist/esm/_proto/com/daml/ledger/api/v2/value.js +0 -831
  341. package/dist/esm/_proto/com/daml/ledger/api/v2/value.js.map +0 -1
  342. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.client.js +0 -29
  343. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.client.js.map +0 -1
  344. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.js +0 -381
  345. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.js.map +0 -1
  346. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.js +0 -1892
  347. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.js.map +0 -1
  348. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +0 -48
  349. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js.map +0 -1
  350. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +0 -311
  351. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js.map +0 -1
  352. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.js +0 -2138
  353. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.js.map +0 -1
  354. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +0 -544
  355. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js.map +0 -1
  356. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.js +0 -415
  357. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.js.map +0 -1
  358. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +0 -193
  359. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js.map +0 -1
  360. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +0 -3529
  361. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js.map +0 -1
  362. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +0 -90
  363. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js.map +0 -1
  364. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +0 -1228
  365. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js.map +0 -1
  366. package/dist/esm/_proto/google/protobuf/any.js +0 -133
  367. package/dist/esm/_proto/google/protobuf/any.js.map +0 -1
  368. package/dist/esm/_proto/google/protobuf/descriptor.js +0 -2553
  369. package/dist/esm/_proto/google/protobuf/descriptor.js.map +0 -1
  370. package/dist/esm/_proto/google/protobuf/duration.js +0 -94
  371. package/dist/esm/_proto/google/protobuf/duration.js.map +0 -1
  372. package/dist/esm/_proto/google/protobuf/empty.js +0 -38
  373. package/dist/esm/_proto/google/protobuf/empty.js.map +0 -1
  374. package/dist/esm/_proto/google/protobuf/field_mask.js +0 -73
  375. package/dist/esm/_proto/google/protobuf/field_mask.js.map +0 -1
  376. package/dist/esm/_proto/google/protobuf/struct.js +0 -352
  377. package/dist/esm/_proto/google/protobuf/struct.js.map +0 -1
  378. package/dist/esm/_proto/google/protobuf/timestamp.js +0 -119
  379. package/dist/esm/_proto/google/protobuf/timestamp.js.map +0 -1
  380. package/dist/esm/_proto/google/rpc/code.js +0 -223
  381. package/dist/esm/_proto/google/rpc/code.js.map +0 -1
  382. package/dist/esm/_proto/google/rpc/context/attribute_context.js +0 -900
  383. package/dist/esm/_proto/google/rpc/context/attribute_context.js.map +0 -1
  384. package/dist/esm/_proto/google/rpc/context/audit_context.js +0 -93
  385. package/dist/esm/_proto/google/rpc/context/audit_context.js.map +0 -1
  386. package/dist/esm/_proto/google/rpc/error_details.js +0 -890
  387. package/dist/esm/_proto/google/rpc/error_details.js.map +0 -1
  388. package/dist/esm/_proto/google/rpc/status.js +0 -74
  389. package/dist/esm/_proto/google/rpc/status.js.map +0 -1
  390. package/dist/esm/_proto/scalapb/scalapb.js +0 -1391
  391. package/dist/esm/_proto/scalapb/scalapb.js.map +0 -1
  392. package/dist/esm/_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/defineProperty.js +0 -11
  393. package/dist/esm/_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/toPrimitive.js +0 -13
  394. package/dist/esm/_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/toPropertyKey.js +0 -8
  395. package/dist/esm/_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/typeof.js +0 -10
  396. package/dist/esm/index.js +0 -14
  397. package/dist/esm/unknown-fields.js +0 -88
  398. package/dist/esm/unknown-fields.js.map +0 -1
  399. package/dist/types/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +0 -1
  400. package/dist/types/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +0 -1
  401. package/dist/types/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +0 -1
  402. package/dist/types/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +0 -1
  403. package/dist/types/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +0 -1
  404. package/dist/types/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +0 -1
  405. package/dist/types/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +0 -1
  406. package/dist/types/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +0 -1
  407. package/dist/types/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +0 -1
  408. package/dist/types/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +0 -1
  409. package/dist/types/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +0 -1
  410. package/dist/types/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +0 -1
  411. package/dist/types/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +0 -1
  412. package/dist/types/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +0 -1
  413. package/dist/types/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +0 -1
  414. package/dist/types/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +0 -1
  415. package/dist/types/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +0 -1
  416. package/dist/types/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +0 -1
  417. package/dist/types/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +0 -1
  418. package/dist/types/_proto/com/daml/ledger/api/v2/commands.d.ts.map +0 -1
  419. package/dist/types/_proto/com/daml/ledger/api/v2/completion.d.ts.map +0 -1
  420. package/dist/types/_proto/com/daml/ledger/api/v2/contract_service.client.d.ts.map +0 -1
  421. package/dist/types/_proto/com/daml/ledger/api/v2/contract_service.d.ts.map +0 -1
  422. package/dist/types/_proto/com/daml/ledger/api/v2/crypto.d.ts.map +0 -1
  423. package/dist/types/_proto/com/daml/ledger/api/v2/event.d.ts.map +0 -1
  424. package/dist/types/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +0 -1
  425. package/dist/types/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +0 -1
  426. package/dist/types/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +0 -1
  427. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +0 -1
  428. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +0 -1
  429. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +0 -1
  430. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +0 -1
  431. package/dist/types/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +0 -1
  432. package/dist/types/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +0 -1
  433. package/dist/types/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +0 -1
  434. package/dist/types/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +0 -1
  435. package/dist/types/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +0 -1
  436. package/dist/types/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +0 -1
  437. package/dist/types/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +0 -1
  438. package/dist/types/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +0 -1
  439. package/dist/types/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +0 -1
  440. package/dist/types/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +0 -1
  441. package/dist/types/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +0 -1
  442. package/dist/types/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +0 -1
  443. package/dist/types/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +0 -1
  444. package/dist/types/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +0 -1
  445. package/dist/types/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +0 -1
  446. package/dist/types/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +0 -1
  447. package/dist/types/_proto/com/daml/ledger/api/v2/value.d.ts.map +0 -1
  448. package/dist/types/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +0 -1
  449. package/dist/types/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +0 -1
  450. package/dist/types/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +0 -1
  451. package/dist/types/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +0 -1
  452. package/dist/types/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +0 -1
  453. package/dist/types/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +0 -1
  454. package/dist/types/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +0 -1
  455. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +0 -1
  456. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +0 -1
  457. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +0 -1
  458. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +0 -1
  459. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +0 -1
  460. package/dist/types/_proto/google/protobuf/any.d.ts +0 -177
  461. package/dist/types/_proto/google/protobuf/any.d.ts.map +0 -1
  462. package/dist/types/_proto/google/protobuf/descriptor.d.ts.map +0 -1
  463. package/dist/types/_proto/google/protobuf/duration.d.ts.map +0 -1
  464. package/dist/types/_proto/google/protobuf/empty.d.ts.map +0 -1
  465. package/dist/types/_proto/google/protobuf/field_mask.d.ts.map +0 -1
  466. package/dist/types/_proto/google/protobuf/struct.d.ts.map +0 -1
  467. package/dist/types/_proto/google/protobuf/timestamp.d.ts.map +0 -1
  468. package/dist/types/_proto/google/rpc/code.d.ts.map +0 -1
  469. package/dist/types/_proto/google/rpc/context/attribute_context.d.ts.map +0 -1
  470. package/dist/types/_proto/google/rpc/context/audit_context.d.ts.map +0 -1
  471. package/dist/types/_proto/google/rpc/error_details.d.ts.map +0 -1
  472. package/dist/types/_proto/google/rpc/status.d.ts.map +0 -1
  473. package/dist/types/_proto/scalapb/scalapb.d.ts.map +0 -1
  474. package/dist/types/index.d.ts.map +0 -1
  475. package/dist/types/unknown-fields.d.ts.map +0 -1
  476. /package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/admin/object_meta.d.ts +0 -0
  477. /package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/experimental_features.d.ts +0 -0
  478. /package/dist/{types/_proto → _proto}/com/daml/ledger/api/v2/trace_context.d.ts +0 -0
  479. /package/dist/{types/_proto → _proto}/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +0 -0
  480. /package/dist/{types/_proto → _proto}/google/rpc/code.d.ts +0 -0
  481. /package/dist/{types/unknown-fields.d.ts → unknown-fields.d.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"commands.js","names":[],"sources":["../../../../../../../../src/_proto/com/daml/ledger/api/v2/commands.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"com/daml/ledger/api/v2/commands.proto\" (package \"com.daml.ledger.api.v2\", syntax proto3)\n// tslint:disable\n//\n// Copyright (c) 2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { BinaryWriteOptions } from '@protobuf-ts/runtime'\nimport type { IBinaryWriter } from '@protobuf-ts/runtime'\nimport { WireType } from '@protobuf-ts/runtime'\nimport type { BinaryReadOptions } from '@protobuf-ts/runtime'\nimport type { IBinaryReader } from '@protobuf-ts/runtime'\nimport { UnknownFieldHandler } from '@protobuf-ts/runtime'\nimport type { PartialMessage } from '@protobuf-ts/runtime'\nimport { reflectionMergePartial } from '@protobuf-ts/runtime'\nimport { MessageType } from '@protobuf-ts/runtime'\nimport { Timestamp } from '../../../../../google/protobuf/timestamp.js'\nimport { Duration } from '../../../../../google/protobuf/duration.js'\nimport { Value } from './value.js'\nimport { Record } from './value.js'\nimport { Identifier } from './value.js'\n/**\n * A command can either create a new contract or exercise a choice on an existing contract.\n *\n * @generated from protobuf message com.daml.ledger.api.v2.Command\n */\nexport interface Command {\n /**\n * Required\n *\n * @generated from protobuf oneof: command\n */\n command:\n | {\n oneofKind: 'create'\n /**\n * @generated from protobuf field: com.daml.ledger.api.v2.CreateCommand create = 1\n */\n create: CreateCommand\n }\n | {\n oneofKind: 'exercise'\n /**\n * @generated from protobuf field: com.daml.ledger.api.v2.ExerciseCommand exercise = 2\n */\n exercise: ExerciseCommand\n }\n | {\n oneofKind: 'exerciseByKey'\n /**\n * @generated from protobuf field: com.daml.ledger.api.v2.ExerciseByKeyCommand exercise_by_key = 4\n */\n exerciseByKey: ExerciseByKeyCommand\n }\n | {\n oneofKind: 'createAndExercise'\n /**\n * @generated from protobuf field: com.daml.ledger.api.v2.CreateAndExerciseCommand create_and_exercise = 3\n */\n createAndExercise: CreateAndExerciseCommand\n }\n | {\n oneofKind: undefined\n }\n}\n/**\n * Create a new contract instance based on a template.\n *\n * @generated from protobuf message com.daml.ledger.api.v2.CreateCommand\n */\nexport interface CreateCommand {\n /**\n * The template of contract the client wants to create.\n * Both package-name and package-id reference identifier formats for the template-id are supported.\n * Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Identifier template_id = 1\n */\n templateId?: Identifier\n /**\n * The arguments required for creating a contract from this template.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Record create_arguments = 2\n */\n createArguments?: Record\n}\n/**\n * Exercise a choice on an existing contract.\n *\n * @generated from protobuf message com.daml.ledger.api.v2.ExerciseCommand\n */\nexport interface ExerciseCommand {\n /**\n * The template or interface of the contract the client wants to exercise.\n * Both package-name and package-id reference identifier formats for the template-id are supported.\n * Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.\n * To exercise a choice on an interface, specify the interface identifier in the template_id field.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Identifier template_id = 1\n */\n templateId?: Identifier\n /**\n * The ID of the contract the client wants to exercise upon.\n * Must be a valid LedgerString (as described in ``value.proto``).\n *\n * Required\n *\n * @generated from protobuf field: string contract_id = 2\n */\n contractId: string\n /**\n * The name of the choice the client wants to exercise.\n * Must be a valid NameString (as described in ``value.proto``)\n *\n * Required\n *\n * @generated from protobuf field: string choice = 3\n */\n choice: string\n /**\n * The argument for this choice.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Value choice_argument = 4\n */\n choiceArgument?: Value\n}\n/**\n * Exercise a choice on an existing contract specified by its key.\n *\n * @generated from protobuf message com.daml.ledger.api.v2.ExerciseByKeyCommand\n */\nexport interface ExerciseByKeyCommand {\n /**\n * The template of contract the client wants to exercise.\n * Both package-name and package-id reference identifier formats for the template-id are supported.\n * Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Identifier template_id = 1\n */\n templateId?: Identifier\n /**\n * The key of the contract the client wants to exercise upon.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Value contract_key = 2\n */\n contractKey?: Value\n /**\n * The name of the choice the client wants to exercise.\n * Must be a valid NameString (as described in ``value.proto``)\n *\n * Required\n *\n * @generated from protobuf field: string choice = 3\n */\n choice: string\n /**\n * The argument for this choice.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Value choice_argument = 4\n */\n choiceArgument?: Value\n}\n/**\n * Create a contract and exercise a choice on it in the same transaction.\n *\n * @generated from protobuf message com.daml.ledger.api.v2.CreateAndExerciseCommand\n */\nexport interface CreateAndExerciseCommand {\n /**\n * The template of the contract the client wants to create.\n * Both package-name and package-id reference identifier formats for the template-id are supported.\n * Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Identifier template_id = 1\n */\n templateId?: Identifier\n /**\n * The arguments required for creating a contract from this template.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Record create_arguments = 2\n */\n createArguments?: Record\n /**\n * The name of the choice the client wants to exercise.\n * Must be a valid NameString (as described in ``value.proto``).\n *\n * Required\n *\n * @generated from protobuf field: string choice = 3\n */\n choice: string\n /**\n * The argument for this choice.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Value choice_argument = 4\n */\n choiceArgument?: Value\n}\n/**\n * An additional contract that is used to resolve\n * contract & contract key lookups.\n *\n * @generated from protobuf message com.daml.ledger.api.v2.DisclosedContract\n */\nexport interface DisclosedContract {\n /**\n * The template id of the contract.\n * The identifier uses the package-id reference format.\n *\n * If provided, used to validate the template id of the contract serialized in the created_event_blob.\n *\n * Optional\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Identifier template_id = 1\n */\n templateId?: Identifier\n /**\n * The contract id\n *\n * If provided, used to validate the contract id of the contract serialized in the created_event_blob.\n *\n * Optional\n *\n * @generated from protobuf field: string contract_id = 2\n */\n contractId: string\n /**\n * Opaque byte string containing the complete payload required by the Daml engine\n * to reconstruct a contract not known to the receiving participant.\n *\n * Required: must be non-empty\n *\n * @generated from protobuf field: bytes created_event_blob = 3\n */\n createdEventBlob: Uint8Array\n /**\n * The ID of the synchronizer where the contract is currently assigned\n *\n * Optional\n *\n * @generated from protobuf field: string synchronizer_id = 4\n */\n synchronizerId: string\n}\n/**\n * A composite command that groups multiple commands together.\n *\n * @generated from protobuf message com.daml.ledger.api.v2.Commands\n */\nexport interface Commands {\n /**\n * Identifier of the on-ledger workflow that this command is a part of.\n * Must be a valid LedgerString (as described in ``value.proto``).\n *\n * Optional\n *\n * @generated from protobuf field: string workflow_id = 1\n */\n workflowId: string\n /**\n * Uniquely identifies the participant user that issued the command.\n * Must be a valid UserIdString (as described in ``value.proto``).\n * Required unless authentication is used with a user token.\n * In that case, the token's user-id will be used for the request's user_id.\n *\n * Optional\n *\n * @generated from protobuf field: string user_id = 2\n */\n userId: string\n /**\n * Uniquely identifies the command.\n * The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,\n * where act_as is interpreted as a set of party names.\n * The change ID can be used for matching the intended ledger changes with all their completions.\n * Must be a valid LedgerString (as described in ``value.proto``).\n *\n * Required\n *\n * @generated from protobuf field: string command_id = 3\n */\n commandId: string\n /**\n * Individual elements of this atomic command. Must be non-empty.\n *\n * Required: must be non-empty\n *\n * @generated from protobuf field: repeated com.daml.ledger.api.v2.Command commands = 4\n */\n commands: Command[]\n /**\n * Specifies the deduplication period for the change ID.\n * If omitted, the participant will assume the configured maximum deduplication time.\n *\n * Optional\n *\n * @generated from protobuf oneof: deduplication_period\n */\n deduplicationPeriod:\n | {\n oneofKind: 'deduplicationDuration'\n /**\n * Specifies the length of the deduplication period.\n * It is interpreted relative to the local clock at some point during the submission's processing.\n * Must be non-negative. Must not exceed the maximum deduplication time.\n *\n * @generated from protobuf field: google.protobuf.Duration deduplication_duration = 5\n */\n deduplicationDuration: Duration\n }\n | {\n oneofKind: 'deduplicationOffset'\n /**\n * Specifies the start of the deduplication period by a completion stream offset (exclusive).\n * Must be a valid absolute offset (positive integer) or participant begin (zero).\n *\n * @generated from protobuf field: int64 deduplication_offset = 6\n */\n deduplicationOffset: bigint\n }\n | {\n oneofKind: undefined\n }\n /**\n * Lower bound for the ledger time assigned to the resulting transaction.\n * Note: The ledger time of a transaction is assigned as part of command interpretation.\n * Use this property if you expect that command interpretation will take a considerate amount of time, such that by\n * the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.\n * Must not be set at the same time as min_ledger_time_rel.\n *\n * Optional\n *\n * @generated from protobuf field: google.protobuf.Timestamp min_ledger_time_abs = 7\n */\n minLedgerTimeAbs?: Timestamp\n /**\n * Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.\n * Must not be set at the same time as min_ledger_time_abs.\n *\n * Optional\n *\n * @generated from protobuf field: google.protobuf.Duration min_ledger_time_rel = 8\n */\n minLedgerTimeRel?: Duration\n /**\n * Set of parties on whose behalf the command should be executed.\n * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request\n * to act on behalf of each of the given parties.\n * Each element must be a valid PartyIdString (as described in ``value.proto``).\n *\n * Required: must be non-empty\n *\n * @generated from protobuf field: repeated string act_as = 9\n */\n actAs: string[]\n /**\n * Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.\n * This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.\n * Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant\n * node is only visible to a subset of these parties. A command can only use contracts that are visible to at least\n * one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization\n * rules for fetch operations.\n * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request\n * to read contract data on behalf of each of the given parties.\n *\n * Optional: can be empty\n *\n * @generated from protobuf field: repeated string read_as = 10\n */\n readAs: string[]\n /**\n * A unique identifier to distinguish completions for different submissions with the same change ID.\n * Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission\n * with the same change ID.\n * Must be a valid LedgerString (as described in ``value.proto``).\n *\n * If omitted, the participant or the committer may set a value of their choice.\n *\n * Optional\n *\n * @generated from protobuf field: string submission_id = 11\n */\n submissionId: string\n /**\n * Additional contracts used to resolve contract & contract key lookups.\n *\n * Optional: can be empty\n *\n * @generated from protobuf field: repeated com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12\n */\n disclosedContracts: DisclosedContract[]\n /**\n * Must be a valid synchronizer id\n *\n * Optional\n *\n * @generated from protobuf field: string synchronizer_id = 13\n */\n synchronizerId: string\n /**\n * The package-id selection preference of the client for resolving\n * package names and interface instances in command submission and interpretation\n *\n * Optional: can be empty\n *\n * @generated from protobuf field: repeated string package_id_selection_preference = 14\n */\n packageIdSelectionPreference: string[]\n /**\n * Fetches the contract keys into the caches to speed up the command processing.\n * Each entry specifies a key and a limit on how many contracts to prefetch for that key.\n * The limit does not count disclosed contracts, and should reflect the number of\n * additional contracts expected to be resolved during interpretation of the commands.\n * If a key appears multiple times, the last entry's limit wins.\n *\n * Optional: can be empty\n *\n * @generated from protobuf field: repeated com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15\n */\n prefetchContractKeys: PrefetchContractKey[]\n /**\n * The maximum number of passes for the Topology-Aware Package Selection (TAPS).\n * Higher values can increase the chance of successful package selection for routing of interpreted transactions.\n * If unset, this defaults to the value defined in the participant configuration.\n * The provided value must not exceed the limit specified in the participant configuration.\n *\n * Optional\n *\n * @generated from protobuf field: optional uint32 taps_max_passes = 16\n */\n tapsMaxPasses?: number\n}\n/**\n * Preload contracts\n *\n * @generated from protobuf message com.daml.ledger.api.v2.PrefetchContractKey\n */\nexport interface PrefetchContractKey {\n /**\n * The template of contract the client wants to prefetch.\n * Both package-name and package-id reference identifier formats for the template-id are supported.\n * Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Identifier template_id = 1\n */\n templateId?: Identifier\n /**\n * The key of the contract the client wants to prefetch.\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.Value contract_key = 2\n */\n contractKey?: Value\n /**\n * The number of contracts to prefetch for this key, if available.\n * This is in addition to disclosed contracts.\n * - for backward compatibility reason, absence is interpreted as 1\n * - 0 is forbidden\n * - capped at 2^31 - 1. The system may impose further limits.\n *\n * Optional\n *\n * @generated from protobuf field: optional uint32 limit = 3\n */\n limit?: number\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Command$Type extends MessageType<Command> {\n constructor() {\n super('com.daml.ledger.api.v2.Command', [\n {\n no: 1,\n name: 'create',\n kind: 'message',\n oneof: 'command',\n T: () => CreateCommand,\n },\n {\n no: 2,\n name: 'exercise',\n kind: 'message',\n oneof: 'command',\n T: () => ExerciseCommand,\n },\n {\n no: 4,\n name: 'exercise_by_key',\n kind: 'message',\n oneof: 'command',\n T: () => ExerciseByKeyCommand,\n },\n {\n no: 3,\n name: 'create_and_exercise',\n kind: 'message',\n oneof: 'command',\n T: () => CreateAndExerciseCommand,\n },\n ])\n }\n create(value?: PartialMessage<Command>): Command {\n const message = globalThis.Object.create(this.messagePrototype!)\n message.command = { oneofKind: undefined }\n if (value !== undefined)\n reflectionMergePartial<Command>(this, message, value)\n return message\n }\n internalBinaryRead(\n reader: IBinaryReader,\n length: number,\n options: BinaryReadOptions,\n target?: Command\n ): Command {\n let message = target ?? this.create(),\n end = reader.pos + length\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag()\n switch (fieldNo) {\n case /* com.daml.ledger.api.v2.CreateCommand create */ 1:\n message.command = {\n oneofKind: 'create',\n create: CreateCommand.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n (message.command as any).create\n ),\n }\n break\n case /* com.daml.ledger.api.v2.ExerciseCommand exercise */ 2:\n message.command = {\n oneofKind: 'exercise',\n exercise: ExerciseCommand.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n (message.command as any).exercise\n ),\n }\n break\n case /* com.daml.ledger.api.v2.ExerciseByKeyCommand exercise_by_key */ 4:\n message.command = {\n oneofKind: 'exerciseByKey',\n exerciseByKey: ExerciseByKeyCommand.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n (message.command as any).exerciseByKey\n ),\n }\n break\n case /* com.daml.ledger.api.v2.CreateAndExerciseCommand create_and_exercise */ 3:\n message.command = {\n oneofKind: 'createAndExercise',\n createAndExercise:\n CreateAndExerciseCommand.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n (message.command as any).createAndExercise\n ),\n }\n break\n default:\n let u = options.readUnknownField\n if (u === 'throw')\n throw new globalThis.Error(\n `Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`\n )\n let d = reader.skip(wireType)\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(\n this.typeName,\n message,\n fieldNo,\n wireType,\n d\n )\n }\n }\n return message\n }\n internalBinaryWrite(\n message: Command,\n writer: IBinaryWriter,\n options: BinaryWriteOptions\n ): IBinaryWriter {\n /* com.daml.ledger.api.v2.CreateCommand create = 1; */\n if (message.command.oneofKind === 'create')\n CreateCommand.internalBinaryWrite(\n message.command.create,\n writer.tag(1, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* com.daml.ledger.api.v2.ExerciseCommand exercise = 2; */\n if (message.command.oneofKind === 'exercise')\n ExerciseCommand.internalBinaryWrite(\n message.command.exercise,\n writer.tag(2, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* com.daml.ledger.api.v2.CreateAndExerciseCommand create_and_exercise = 3; */\n if (message.command.oneofKind === 'createAndExercise')\n CreateAndExerciseCommand.internalBinaryWrite(\n message.command.createAndExercise,\n writer.tag(3, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* com.daml.ledger.api.v2.ExerciseByKeyCommand exercise_by_key = 4; */\n if (message.command.oneofKind === 'exerciseByKey')\n ExerciseByKeyCommand.internalBinaryWrite(\n message.command.exerciseByKey,\n writer.tag(4, WireType.LengthDelimited).fork(),\n options\n ).join()\n let u = options.writeUnknownFields\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(\n this.typeName,\n message,\n writer\n )\n return writer\n }\n}\n/**\n * @generated MessageType for protobuf message com.daml.ledger.api.v2.Command\n */\nexport const Command = new Command$Type()\n// @generated message type with reflection information, may provide speed optimized methods\nclass CreateCommand$Type extends MessageType<CreateCommand> {\n constructor() {\n super('com.daml.ledger.api.v2.CreateCommand', [\n {\n no: 1,\n name: 'template_id',\n kind: 'message',\n T: () => Identifier,\n },\n {\n no: 2,\n name: 'create_arguments',\n kind: 'message',\n T: () => Record,\n },\n ])\n }\n create(value?: PartialMessage<CreateCommand>): CreateCommand {\n const message = globalThis.Object.create(this.messagePrototype!)\n if (value !== undefined)\n reflectionMergePartial<CreateCommand>(this, message, value)\n return message\n }\n internalBinaryRead(\n reader: IBinaryReader,\n length: number,\n options: BinaryReadOptions,\n target?: CreateCommand\n ): CreateCommand {\n let message = target ?? this.create(),\n end = reader.pos + length\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag()\n switch (fieldNo) {\n case /* com.daml.ledger.api.v2.Identifier template_id */ 1:\n message.templateId = Identifier.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.templateId\n )\n break\n case /* com.daml.ledger.api.v2.Record create_arguments */ 2:\n message.createArguments = Record.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.createArguments\n )\n break\n default:\n let u = options.readUnknownField\n if (u === 'throw')\n throw new globalThis.Error(\n `Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`\n )\n let d = reader.skip(wireType)\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(\n this.typeName,\n message,\n fieldNo,\n wireType,\n d\n )\n }\n }\n return message\n }\n internalBinaryWrite(\n message: CreateCommand,\n writer: IBinaryWriter,\n options: BinaryWriteOptions\n ): IBinaryWriter {\n /* com.daml.ledger.api.v2.Identifier template_id = 1; */\n if (message.templateId)\n Identifier.internalBinaryWrite(\n message.templateId,\n writer.tag(1, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* com.daml.ledger.api.v2.Record create_arguments = 2; */\n if (message.createArguments)\n Record.internalBinaryWrite(\n message.createArguments,\n writer.tag(2, WireType.LengthDelimited).fork(),\n options\n ).join()\n let u = options.writeUnknownFields\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(\n this.typeName,\n message,\n writer\n )\n return writer\n }\n}\n/**\n * @generated MessageType for protobuf message com.daml.ledger.api.v2.CreateCommand\n */\nexport const CreateCommand = new CreateCommand$Type()\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExerciseCommand$Type extends MessageType<ExerciseCommand> {\n constructor() {\n super('com.daml.ledger.api.v2.ExerciseCommand', [\n {\n no: 1,\n name: 'template_id',\n kind: 'message',\n T: () => Identifier,\n },\n {\n no: 2,\n name: 'contract_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 3,\n name: 'choice',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n { no: 4, name: 'choice_argument', kind: 'message', T: () => Value },\n ])\n }\n create(value?: PartialMessage<ExerciseCommand>): ExerciseCommand {\n const message = globalThis.Object.create(this.messagePrototype!)\n message.contractId = ''\n message.choice = ''\n if (value !== undefined)\n reflectionMergePartial<ExerciseCommand>(this, message, value)\n return message\n }\n internalBinaryRead(\n reader: IBinaryReader,\n length: number,\n options: BinaryReadOptions,\n target?: ExerciseCommand\n ): ExerciseCommand {\n let message = target ?? this.create(),\n end = reader.pos + length\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag()\n switch (fieldNo) {\n case /* com.daml.ledger.api.v2.Identifier template_id */ 1:\n message.templateId = Identifier.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.templateId\n )\n break\n case /* string contract_id */ 2:\n message.contractId = reader.string()\n break\n case /* string choice */ 3:\n message.choice = reader.string()\n break\n case /* com.daml.ledger.api.v2.Value choice_argument */ 4:\n message.choiceArgument = Value.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.choiceArgument\n )\n break\n default:\n let u = options.readUnknownField\n if (u === 'throw')\n throw new globalThis.Error(\n `Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`\n )\n let d = reader.skip(wireType)\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(\n this.typeName,\n message,\n fieldNo,\n wireType,\n d\n )\n }\n }\n return message\n }\n internalBinaryWrite(\n message: ExerciseCommand,\n writer: IBinaryWriter,\n options: BinaryWriteOptions\n ): IBinaryWriter {\n /* com.daml.ledger.api.v2.Identifier template_id = 1; */\n if (message.templateId)\n Identifier.internalBinaryWrite(\n message.templateId,\n writer.tag(1, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* string contract_id = 2; */\n if (message.contractId !== '')\n writer.tag(2, WireType.LengthDelimited).string(message.contractId)\n /* string choice = 3; */\n if (message.choice !== '')\n writer.tag(3, WireType.LengthDelimited).string(message.choice)\n /* com.daml.ledger.api.v2.Value choice_argument = 4; */\n if (message.choiceArgument)\n Value.internalBinaryWrite(\n message.choiceArgument,\n writer.tag(4, WireType.LengthDelimited).fork(),\n options\n ).join()\n let u = options.writeUnknownFields\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(\n this.typeName,\n message,\n writer\n )\n return writer\n }\n}\n/**\n * @generated MessageType for protobuf message com.daml.ledger.api.v2.ExerciseCommand\n */\nexport const ExerciseCommand = new ExerciseCommand$Type()\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExerciseByKeyCommand$Type extends MessageType<ExerciseByKeyCommand> {\n constructor() {\n super('com.daml.ledger.api.v2.ExerciseByKeyCommand', [\n {\n no: 1,\n name: 'template_id',\n kind: 'message',\n T: () => Identifier,\n },\n { no: 2, name: 'contract_key', kind: 'message', T: () => Value },\n {\n no: 3,\n name: 'choice',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n { no: 4, name: 'choice_argument', kind: 'message', T: () => Value },\n ])\n }\n create(value?: PartialMessage<ExerciseByKeyCommand>): ExerciseByKeyCommand {\n const message = globalThis.Object.create(this.messagePrototype!)\n message.choice = ''\n if (value !== undefined)\n reflectionMergePartial<ExerciseByKeyCommand>(this, message, value)\n return message\n }\n internalBinaryRead(\n reader: IBinaryReader,\n length: number,\n options: BinaryReadOptions,\n target?: ExerciseByKeyCommand\n ): ExerciseByKeyCommand {\n let message = target ?? this.create(),\n end = reader.pos + length\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag()\n switch (fieldNo) {\n case /* com.daml.ledger.api.v2.Identifier template_id */ 1:\n message.templateId = Identifier.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.templateId\n )\n break\n case /* com.daml.ledger.api.v2.Value contract_key */ 2:\n message.contractKey = Value.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.contractKey\n )\n break\n case /* string choice */ 3:\n message.choice = reader.string()\n break\n case /* com.daml.ledger.api.v2.Value choice_argument */ 4:\n message.choiceArgument = Value.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.choiceArgument\n )\n break\n default:\n let u = options.readUnknownField\n if (u === 'throw')\n throw new globalThis.Error(\n `Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`\n )\n let d = reader.skip(wireType)\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(\n this.typeName,\n message,\n fieldNo,\n wireType,\n d\n )\n }\n }\n return message\n }\n internalBinaryWrite(\n message: ExerciseByKeyCommand,\n writer: IBinaryWriter,\n options: BinaryWriteOptions\n ): IBinaryWriter {\n /* com.daml.ledger.api.v2.Identifier template_id = 1; */\n if (message.templateId)\n Identifier.internalBinaryWrite(\n message.templateId,\n writer.tag(1, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* com.daml.ledger.api.v2.Value contract_key = 2; */\n if (message.contractKey)\n Value.internalBinaryWrite(\n message.contractKey,\n writer.tag(2, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* string choice = 3; */\n if (message.choice !== '')\n writer.tag(3, WireType.LengthDelimited).string(message.choice)\n /* com.daml.ledger.api.v2.Value choice_argument = 4; */\n if (message.choiceArgument)\n Value.internalBinaryWrite(\n message.choiceArgument,\n writer.tag(4, WireType.LengthDelimited).fork(),\n options\n ).join()\n let u = options.writeUnknownFields\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(\n this.typeName,\n message,\n writer\n )\n return writer\n }\n}\n/**\n * @generated MessageType for protobuf message com.daml.ledger.api.v2.ExerciseByKeyCommand\n */\nexport const ExerciseByKeyCommand = new ExerciseByKeyCommand$Type()\n// @generated message type with reflection information, may provide speed optimized methods\nclass CreateAndExerciseCommand$Type extends MessageType<CreateAndExerciseCommand> {\n constructor() {\n super('com.daml.ledger.api.v2.CreateAndExerciseCommand', [\n {\n no: 1,\n name: 'template_id',\n kind: 'message',\n T: () => Identifier,\n },\n {\n no: 2,\n name: 'create_arguments',\n kind: 'message',\n T: () => Record,\n },\n {\n no: 3,\n name: 'choice',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n { no: 4, name: 'choice_argument', kind: 'message', T: () => Value },\n ])\n }\n create(\n value?: PartialMessage<CreateAndExerciseCommand>\n ): CreateAndExerciseCommand {\n const message = globalThis.Object.create(this.messagePrototype!)\n message.choice = ''\n if (value !== undefined)\n reflectionMergePartial<CreateAndExerciseCommand>(\n this,\n message,\n value\n )\n return message\n }\n internalBinaryRead(\n reader: IBinaryReader,\n length: number,\n options: BinaryReadOptions,\n target?: CreateAndExerciseCommand\n ): CreateAndExerciseCommand {\n let message = target ?? this.create(),\n end = reader.pos + length\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag()\n switch (fieldNo) {\n case /* com.daml.ledger.api.v2.Identifier template_id */ 1:\n message.templateId = Identifier.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.templateId\n )\n break\n case /* com.daml.ledger.api.v2.Record create_arguments */ 2:\n message.createArguments = Record.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.createArguments\n )\n break\n case /* string choice */ 3:\n message.choice = reader.string()\n break\n case /* com.daml.ledger.api.v2.Value choice_argument */ 4:\n message.choiceArgument = Value.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.choiceArgument\n )\n break\n default:\n let u = options.readUnknownField\n if (u === 'throw')\n throw new globalThis.Error(\n `Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`\n )\n let d = reader.skip(wireType)\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(\n this.typeName,\n message,\n fieldNo,\n wireType,\n d\n )\n }\n }\n return message\n }\n internalBinaryWrite(\n message: CreateAndExerciseCommand,\n writer: IBinaryWriter,\n options: BinaryWriteOptions\n ): IBinaryWriter {\n /* com.daml.ledger.api.v2.Identifier template_id = 1; */\n if (message.templateId)\n Identifier.internalBinaryWrite(\n message.templateId,\n writer.tag(1, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* com.daml.ledger.api.v2.Record create_arguments = 2; */\n if (message.createArguments)\n Record.internalBinaryWrite(\n message.createArguments,\n writer.tag(2, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* string choice = 3; */\n if (message.choice !== '')\n writer.tag(3, WireType.LengthDelimited).string(message.choice)\n /* com.daml.ledger.api.v2.Value choice_argument = 4; */\n if (message.choiceArgument)\n Value.internalBinaryWrite(\n message.choiceArgument,\n writer.tag(4, WireType.LengthDelimited).fork(),\n options\n ).join()\n let u = options.writeUnknownFields\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(\n this.typeName,\n message,\n writer\n )\n return writer\n }\n}\n/**\n * @generated MessageType for protobuf message com.daml.ledger.api.v2.CreateAndExerciseCommand\n */\nexport const CreateAndExerciseCommand = new CreateAndExerciseCommand$Type()\n// @generated message type with reflection information, may provide speed optimized methods\nclass DisclosedContract$Type extends MessageType<DisclosedContract> {\n constructor() {\n super('com.daml.ledger.api.v2.DisclosedContract', [\n {\n no: 1,\n name: 'template_id',\n kind: 'message',\n T: () => Identifier,\n },\n {\n no: 2,\n name: 'contract_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 3,\n name: 'created_event_blob',\n kind: 'scalar',\n T: 12 /*ScalarType.BYTES*/,\n },\n {\n no: 4,\n name: 'synchronizer_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n ])\n }\n create(value?: PartialMessage<DisclosedContract>): DisclosedContract {\n const message = globalThis.Object.create(this.messagePrototype!)\n message.contractId = ''\n message.createdEventBlob = new Uint8Array(0)\n message.synchronizerId = ''\n if (value !== undefined)\n reflectionMergePartial<DisclosedContract>(this, message, value)\n return message\n }\n internalBinaryRead(\n reader: IBinaryReader,\n length: number,\n options: BinaryReadOptions,\n target?: DisclosedContract\n ): DisclosedContract {\n let message = target ?? this.create(),\n end = reader.pos + length\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag()\n switch (fieldNo) {\n case /* com.daml.ledger.api.v2.Identifier template_id */ 1:\n message.templateId = Identifier.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.templateId\n )\n break\n case /* string contract_id */ 2:\n message.contractId = reader.string()\n break\n case /* bytes created_event_blob */ 3:\n message.createdEventBlob = reader.bytes()\n break\n case /* string synchronizer_id */ 4:\n message.synchronizerId = reader.string()\n break\n default:\n let u = options.readUnknownField\n if (u === 'throw')\n throw new globalThis.Error(\n `Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`\n )\n let d = reader.skip(wireType)\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(\n this.typeName,\n message,\n fieldNo,\n wireType,\n d\n )\n }\n }\n return message\n }\n internalBinaryWrite(\n message: DisclosedContract,\n writer: IBinaryWriter,\n options: BinaryWriteOptions\n ): IBinaryWriter {\n /* com.daml.ledger.api.v2.Identifier template_id = 1; */\n if (message.templateId)\n Identifier.internalBinaryWrite(\n message.templateId,\n writer.tag(1, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* string contract_id = 2; */\n if (message.contractId !== '')\n writer.tag(2, WireType.LengthDelimited).string(message.contractId)\n /* bytes created_event_blob = 3; */\n if (message.createdEventBlob.length)\n writer\n .tag(3, WireType.LengthDelimited)\n .bytes(message.createdEventBlob)\n /* string synchronizer_id = 4; */\n if (message.synchronizerId !== '')\n writer\n .tag(4, WireType.LengthDelimited)\n .string(message.synchronizerId)\n let u = options.writeUnknownFields\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(\n this.typeName,\n message,\n writer\n )\n return writer\n }\n}\n/**\n * @generated MessageType for protobuf message com.daml.ledger.api.v2.DisclosedContract\n */\nexport const DisclosedContract = new DisclosedContract$Type()\n// @generated message type with reflection information, may provide speed optimized methods\nclass Commands$Type extends MessageType<Commands> {\n constructor() {\n super('com.daml.ledger.api.v2.Commands', [\n {\n no: 1,\n name: 'workflow_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 2,\n name: 'user_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 3,\n name: 'command_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 4,\n name: 'commands',\n kind: 'message',\n repeat: 2 /*RepeatType.UNPACKED*/,\n T: () => Command,\n },\n {\n no: 5,\n name: 'deduplication_duration',\n kind: 'message',\n oneof: 'deduplicationPeriod',\n T: () => Duration,\n },\n {\n no: 6,\n name: 'deduplication_offset',\n kind: 'scalar',\n oneof: 'deduplicationPeriod',\n T: 3 /*ScalarType.INT64*/,\n L: 0 /*LongType.BIGINT*/,\n },\n {\n no: 7,\n name: 'min_ledger_time_abs',\n kind: 'message',\n T: () => Timestamp,\n },\n {\n no: 8,\n name: 'min_ledger_time_rel',\n kind: 'message',\n T: () => Duration,\n },\n {\n no: 9,\n name: 'act_as',\n kind: 'scalar',\n repeat: 2 /*RepeatType.UNPACKED*/,\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 10,\n name: 'read_as',\n kind: 'scalar',\n repeat: 2 /*RepeatType.UNPACKED*/,\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 11,\n name: 'submission_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 12,\n name: 'disclosed_contracts',\n kind: 'message',\n repeat: 2 /*RepeatType.UNPACKED*/,\n T: () => DisclosedContract,\n },\n {\n no: 13,\n name: 'synchronizer_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 14,\n name: 'package_id_selection_preference',\n kind: 'scalar',\n repeat: 2 /*RepeatType.UNPACKED*/,\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 15,\n name: 'prefetch_contract_keys',\n kind: 'message',\n repeat: 2 /*RepeatType.UNPACKED*/,\n T: () => PrefetchContractKey,\n },\n {\n no: 16,\n name: 'taps_max_passes',\n kind: 'scalar',\n opt: true,\n T: 13 /*ScalarType.UINT32*/,\n },\n ])\n }\n create(value?: PartialMessage<Commands>): Commands {\n const message = globalThis.Object.create(this.messagePrototype!)\n message.workflowId = ''\n message.userId = ''\n message.commandId = ''\n message.commands = []\n message.deduplicationPeriod = { oneofKind: undefined }\n message.actAs = []\n message.readAs = []\n message.submissionId = ''\n message.disclosedContracts = []\n message.synchronizerId = ''\n message.packageIdSelectionPreference = []\n message.prefetchContractKeys = []\n if (value !== undefined)\n reflectionMergePartial<Commands>(this, message, value)\n return message\n }\n internalBinaryRead(\n reader: IBinaryReader,\n length: number,\n options: BinaryReadOptions,\n target?: Commands\n ): Commands {\n let message = target ?? this.create(),\n end = reader.pos + length\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag()\n switch (fieldNo) {\n case /* string workflow_id */ 1:\n message.workflowId = reader.string()\n break\n case /* string user_id */ 2:\n message.userId = reader.string()\n break\n case /* string command_id */ 3:\n message.commandId = reader.string()\n break\n case /* repeated com.daml.ledger.api.v2.Command commands */ 4:\n message.commands.push(\n Command.internalBinaryRead(\n reader,\n reader.uint32(),\n options\n )\n )\n break\n case /* google.protobuf.Duration deduplication_duration */ 5:\n message.deduplicationPeriod = {\n oneofKind: 'deduplicationDuration',\n deduplicationDuration: Duration.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n (message.deduplicationPeriod as any)\n .deduplicationDuration\n ),\n }\n break\n case /* int64 deduplication_offset */ 6:\n message.deduplicationPeriod = {\n oneofKind: 'deduplicationOffset',\n deduplicationOffset: reader.int64().toBigInt(),\n }\n break\n case /* google.protobuf.Timestamp min_ledger_time_abs */ 7:\n message.minLedgerTimeAbs = Timestamp.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.minLedgerTimeAbs\n )\n break\n case /* google.protobuf.Duration min_ledger_time_rel */ 8:\n message.minLedgerTimeRel = Duration.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.minLedgerTimeRel\n )\n break\n case /* repeated string act_as */ 9:\n message.actAs.push(reader.string())\n break\n case /* repeated string read_as */ 10:\n message.readAs.push(reader.string())\n break\n case /* string submission_id */ 11:\n message.submissionId = reader.string()\n break\n case /* repeated com.daml.ledger.api.v2.DisclosedContract disclosed_contracts */ 12:\n message.disclosedContracts.push(\n DisclosedContract.internalBinaryRead(\n reader,\n reader.uint32(),\n options\n )\n )\n break\n case /* string synchronizer_id */ 13:\n message.synchronizerId = reader.string()\n break\n case /* repeated string package_id_selection_preference */ 14:\n message.packageIdSelectionPreference.push(reader.string())\n break\n case /* repeated com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys */ 15:\n message.prefetchContractKeys.push(\n PrefetchContractKey.internalBinaryRead(\n reader,\n reader.uint32(),\n options\n )\n )\n break\n case /* optional uint32 taps_max_passes */ 16:\n message.tapsMaxPasses = reader.uint32()\n break\n default:\n let u = options.readUnknownField\n if (u === 'throw')\n throw new globalThis.Error(\n `Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`\n )\n let d = reader.skip(wireType)\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(\n this.typeName,\n message,\n fieldNo,\n wireType,\n d\n )\n }\n }\n return message\n }\n internalBinaryWrite(\n message: Commands,\n writer: IBinaryWriter,\n options: BinaryWriteOptions\n ): IBinaryWriter {\n /* string workflow_id = 1; */\n if (message.workflowId !== '')\n writer.tag(1, WireType.LengthDelimited).string(message.workflowId)\n /* string user_id = 2; */\n if (message.userId !== '')\n writer.tag(2, WireType.LengthDelimited).string(message.userId)\n /* string command_id = 3; */\n if (message.commandId !== '')\n writer.tag(3, WireType.LengthDelimited).string(message.commandId)\n /* repeated com.daml.ledger.api.v2.Command commands = 4; */\n for (let i = 0; i < message.commands.length; i++)\n Command.internalBinaryWrite(\n message.commands[i],\n writer.tag(4, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* google.protobuf.Duration deduplication_duration = 5; */\n if (message.deduplicationPeriod.oneofKind === 'deduplicationDuration')\n Duration.internalBinaryWrite(\n message.deduplicationPeriod.deduplicationDuration,\n writer.tag(5, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* int64 deduplication_offset = 6; */\n if (message.deduplicationPeriod.oneofKind === 'deduplicationOffset')\n writer\n .tag(6, WireType.Varint)\n .int64(message.deduplicationPeriod.deduplicationOffset)\n /* google.protobuf.Timestamp min_ledger_time_abs = 7; */\n if (message.minLedgerTimeAbs)\n Timestamp.internalBinaryWrite(\n message.minLedgerTimeAbs,\n writer.tag(7, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* google.protobuf.Duration min_ledger_time_rel = 8; */\n if (message.minLedgerTimeRel)\n Duration.internalBinaryWrite(\n message.minLedgerTimeRel,\n writer.tag(8, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* repeated string act_as = 9; */\n for (let i = 0; i < message.actAs.length; i++)\n writer.tag(9, WireType.LengthDelimited).string(message.actAs[i])\n /* repeated string read_as = 10; */\n for (let i = 0; i < message.readAs.length; i++)\n writer.tag(10, WireType.LengthDelimited).string(message.readAs[i])\n /* string submission_id = 11; */\n if (message.submissionId !== '')\n writer\n .tag(11, WireType.LengthDelimited)\n .string(message.submissionId)\n /* repeated com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12; */\n for (let i = 0; i < message.disclosedContracts.length; i++)\n DisclosedContract.internalBinaryWrite(\n message.disclosedContracts[i],\n writer.tag(12, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* string synchronizer_id = 13; */\n if (message.synchronizerId !== '')\n writer\n .tag(13, WireType.LengthDelimited)\n .string(message.synchronizerId)\n /* repeated string package_id_selection_preference = 14; */\n for (let i = 0; i < message.packageIdSelectionPreference.length; i++)\n writer\n .tag(14, WireType.LengthDelimited)\n .string(message.packageIdSelectionPreference[i])\n /* repeated com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; */\n for (let i = 0; i < message.prefetchContractKeys.length; i++)\n PrefetchContractKey.internalBinaryWrite(\n message.prefetchContractKeys[i],\n writer.tag(15, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* optional uint32 taps_max_passes = 16; */\n if (message.tapsMaxPasses !== undefined)\n writer.tag(16, WireType.Varint).uint32(message.tapsMaxPasses)\n let u = options.writeUnknownFields\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(\n this.typeName,\n message,\n writer\n )\n return writer\n }\n}\n/**\n * @generated MessageType for protobuf message com.daml.ledger.api.v2.Commands\n */\nexport const Commands = new Commands$Type()\n// @generated message type with reflection information, may provide speed optimized methods\nclass PrefetchContractKey$Type extends MessageType<PrefetchContractKey> {\n constructor() {\n super('com.daml.ledger.api.v2.PrefetchContractKey', [\n {\n no: 1,\n name: 'template_id',\n kind: 'message',\n T: () => Identifier,\n },\n { no: 2, name: 'contract_key', kind: 'message', T: () => Value },\n {\n no: 3,\n name: 'limit',\n kind: 'scalar',\n opt: true,\n T: 13 /*ScalarType.UINT32*/,\n },\n ])\n }\n create(value?: PartialMessage<PrefetchContractKey>): PrefetchContractKey {\n const message = globalThis.Object.create(this.messagePrototype!)\n if (value !== undefined)\n reflectionMergePartial<PrefetchContractKey>(this, message, value)\n return message\n }\n internalBinaryRead(\n reader: IBinaryReader,\n length: number,\n options: BinaryReadOptions,\n target?: PrefetchContractKey\n ): PrefetchContractKey {\n let message = target ?? this.create(),\n end = reader.pos + length\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag()\n switch (fieldNo) {\n case /* com.daml.ledger.api.v2.Identifier template_id */ 1:\n message.templateId = Identifier.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.templateId\n )\n break\n case /* com.daml.ledger.api.v2.Value contract_key */ 2:\n message.contractKey = Value.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.contractKey\n )\n break\n case /* optional uint32 limit */ 3:\n message.limit = reader.uint32()\n break\n default:\n let u = options.readUnknownField\n if (u === 'throw')\n throw new globalThis.Error(\n `Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`\n )\n let d = reader.skip(wireType)\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(\n this.typeName,\n message,\n fieldNo,\n wireType,\n d\n )\n }\n }\n return message\n }\n internalBinaryWrite(\n message: PrefetchContractKey,\n writer: IBinaryWriter,\n options: BinaryWriteOptions\n ): IBinaryWriter {\n /* com.daml.ledger.api.v2.Identifier template_id = 1; */\n if (message.templateId)\n Identifier.internalBinaryWrite(\n message.templateId,\n writer.tag(1, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* com.daml.ledger.api.v2.Value contract_key = 2; */\n if (message.contractKey)\n Value.internalBinaryWrite(\n message.contractKey,\n writer.tag(2, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* optional uint32 limit = 3; */\n if (message.limit !== undefined)\n writer.tag(3, WireType.Varint).uint32(message.limit)\n let u = options.writeUnknownFields\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(\n this.typeName,\n message,\n writer\n )\n return writer\n }\n}\n/**\n * @generated MessageType for protobuf message com.daml.ledger.api.v2.PrefetchContractKey\n */\nexport const PrefetchContractKey = new PrefetchContractKey$Type()\n"],"mappings":";;;;;AA0eA,IAAM,eAAN,cAA2B,YAAqB;CAC5C,cAAc;EACV,MAAM,kCAAkC;GACpC;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;IACP,SAAS;GACb;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;IACP,SAAS;GACb;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;IACP,SAAS;GACb;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;IACP,SAAS;GACb;EACJ,CAAC;CACL;CACA,OAAO,OAA0C;EAC7C,MAAM,UAAU,WAAW,OAAO,OAAO,KAAK,gBAAiB;EAC/D,QAAQ,UAAU,EAAE,WAAW,OAAU;EACzC,IAAI,UAAU,QACV,uBAAgC,MAAM,SAAS,KAAK;EACxD,OAAO;CACX;CACA,mBACI,QACA,QACA,SACA,QACO;EACP,IAAI,UAAU,UAAU,KAAK,OAAO,GAChC,MAAM,OAA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K,UACL,SACA,SACA,UACA,CACJ;GACZ;EACJ;EACA,OAAO;CACX;CACA,oBACI,SACA,QACA,SACa;EAEb,IAAI,QAAQ,YACR,WAAW,oBACP,QAAQ,YACR,OAAO,IAAI,GAAG,SAAS,eAAe,CAAC,CAAC,KAAK,GAC7C,OACJ,CAAC,CAAC,KAAK;EAEX,IAAI,QAAQ,aACR,MAAM,oBACF,QAAQ,aACR,OAAO,IAAI,GAAG,SAAS,eAAe,CAAC,CAAC,KAAK,GAC7C,OACJ,CAAC,CAAC,KAAK;EAEX,IAAI,QAAQ,UAAU,QAClB,OAAO,IAAI,GAAG,SAAS,MAAM,CAAC,CAAC,OAAO,QAAQ,KAAK;EACvD,IAAI,IAAI,QAAQ;EAChB,IAAI,MAAM,OACN,CAAC,KAAK,OAAO,oBAAoB,UAAU,EAAA,CACvC,KAAK,UACL,SACA,MACJ;EACJ,OAAO;CACX;AACJ;;;;AAIA,MAAa,sBAAsB,IAAI,yBAAyB"}
@@ -1,183 +0,0 @@
1
- import { SynchronizerTime } from "./offset_checkpoint.js";
2
- import { TraceContext } from "./trace_context.js";
3
- import { Duration } from "../../../../../google/protobuf/duration.js";
4
- import { Status } from "../../../../../google/rpc/status.js";
5
- import { MessageType, UnknownFieldHandler, WireType, reflectionMergePartial } from "@protobuf-ts/runtime";
6
- // src/_proto/com/daml/ledger/api/v2/completion.ts
7
- var Completion$Type = class extends MessageType {
8
- constructor() {
9
- super("com.daml.ledger.api.v2.Completion", [
10
- {
11
- no: 1,
12
- name: "command_id",
13
- kind: "scalar",
14
- T: 9
15
- },
16
- {
17
- no: 2,
18
- name: "status",
19
- kind: "message",
20
- T: () => Status
21
- },
22
- {
23
- no: 3,
24
- name: "update_id",
25
- kind: "scalar",
26
- T: 9
27
- },
28
- {
29
- no: 4,
30
- name: "user_id",
31
- kind: "scalar",
32
- T: 9
33
- },
34
- {
35
- no: 5,
36
- name: "act_as",
37
- kind: "scalar",
38
- repeat: 2,
39
- T: 9
40
- },
41
- {
42
- no: 6,
43
- name: "submission_id",
44
- kind: "scalar",
45
- T: 9
46
- },
47
- {
48
- no: 7,
49
- name: "deduplication_offset",
50
- kind: "scalar",
51
- oneof: "deduplicationPeriod",
52
- T: 3,
53
- L: 0
54
- },
55
- {
56
- no: 8,
57
- name: "deduplication_duration",
58
- kind: "message",
59
- oneof: "deduplicationPeriod",
60
- T: () => Duration
61
- },
62
- {
63
- no: 9,
64
- name: "trace_context",
65
- kind: "message",
66
- T: () => TraceContext
67
- },
68
- {
69
- no: 10,
70
- name: "offset",
71
- kind: "scalar",
72
- T: 3,
73
- L: 0
74
- },
75
- {
76
- no: 11,
77
- name: "synchronizer_time",
78
- kind: "message",
79
- T: () => SynchronizerTime
80
- },
81
- {
82
- no: 12,
83
- name: "paid_traffic_cost",
84
- kind: "scalar",
85
- T: 3,
86
- L: 0
87
- }
88
- ]);
89
- }
90
- create(value) {
91
- const message = globalThis.Object.create(this.messagePrototype);
92
- message.commandId = "";
93
- message.updateId = "";
94
- message.userId = "";
95
- message.actAs = [];
96
- message.submissionId = "";
97
- message.deduplicationPeriod = { oneofKind: void 0 };
98
- message.offset = 0n;
99
- message.paidTrafficCost = 0n;
100
- if (value !== void 0) reflectionMergePartial(this, message, value);
101
- return message;
102
- }
103
- internalBinaryRead(reader, length, options, target) {
104
- let message = target ?? this.create(), end = reader.pos + length;
105
- while (reader.pos < end) {
106
- let [fieldNo, wireType] = reader.tag();
107
- switch (fieldNo) {
108
- case 1:
109
- message.commandId = reader.string();
110
- break;
111
- case 2:
112
- message.status = Status.internalBinaryRead(reader, reader.uint32(), options, message.status);
113
- break;
114
- case 3:
115
- message.updateId = reader.string();
116
- break;
117
- case 4:
118
- message.userId = reader.string();
119
- break;
120
- case 5:
121
- message.actAs.push(reader.string());
122
- break;
123
- case 6:
124
- message.submissionId = reader.string();
125
- break;
126
- case 7:
127
- message.deduplicationPeriod = {
128
- oneofKind: "deduplicationOffset",
129
- deduplicationOffset: reader.int64().toBigInt()
130
- };
131
- break;
132
- case 8:
133
- message.deduplicationPeriod = {
134
- oneofKind: "deduplicationDuration",
135
- deduplicationDuration: Duration.internalBinaryRead(reader, reader.uint32(), options, message.deduplicationPeriod.deduplicationDuration)
136
- };
137
- break;
138
- case 9:
139
- message.traceContext = TraceContext.internalBinaryRead(reader, reader.uint32(), options, message.traceContext);
140
- break;
141
- case 10:
142
- message.offset = reader.int64().toBigInt();
143
- break;
144
- case 11:
145
- message.synchronizerTime = SynchronizerTime.internalBinaryRead(reader, reader.uint32(), options, message.synchronizerTime);
146
- break;
147
- case 12:
148
- message.paidTrafficCost = reader.int64().toBigInt();
149
- break;
150
- default:
151
- let u = options.readUnknownField;
152
- if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
153
- let d = reader.skip(wireType);
154
- if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
155
- }
156
- }
157
- return message;
158
- }
159
- internalBinaryWrite(message, writer, options) {
160
- if (message.commandId !== "") writer.tag(1, WireType.LengthDelimited).string(message.commandId);
161
- if (message.status) Status.internalBinaryWrite(message.status, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
162
- if (message.updateId !== "") writer.tag(3, WireType.LengthDelimited).string(message.updateId);
163
- if (message.userId !== "") writer.tag(4, WireType.LengthDelimited).string(message.userId);
164
- for (let i = 0; i < message.actAs.length; i++) writer.tag(5, WireType.LengthDelimited).string(message.actAs[i]);
165
- if (message.submissionId !== "") writer.tag(6, WireType.LengthDelimited).string(message.submissionId);
166
- if (message.deduplicationPeriod.oneofKind === "deduplicationOffset") writer.tag(7, WireType.Varint).int64(message.deduplicationPeriod.deduplicationOffset);
167
- if (message.deduplicationPeriod.oneofKind === "deduplicationDuration") Duration.internalBinaryWrite(message.deduplicationPeriod.deduplicationDuration, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
168
- if (message.traceContext) TraceContext.internalBinaryWrite(message.traceContext, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
169
- if (message.offset !== 0n) writer.tag(10, WireType.Varint).int64(message.offset);
170
- if (message.synchronizerTime) SynchronizerTime.internalBinaryWrite(message.synchronizerTime, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
171
- if (message.paidTrafficCost !== 0n) writer.tag(12, WireType.Varint).int64(message.paidTrafficCost);
172
- let u = options.writeUnknownFields;
173
- if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
174
- return writer;
175
- }
176
- };
177
- /**
178
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.Completion
179
- */
180
- const Completion = new Completion$Type();
181
- export { Completion };
182
-
183
- //# sourceMappingURL=completion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"completion.js","names":[],"sources":["../../../../../../../../src/_proto/com/daml/ledger/api/v2/completion.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"com/daml/ledger/api/v2/completion.proto\" (package \"com.daml.ledger.api.v2\", syntax proto3)\n// tslint:disable\n//\n// Copyright (c) 2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { BinaryWriteOptions } from '@protobuf-ts/runtime'\nimport type { IBinaryWriter } from '@protobuf-ts/runtime'\nimport { WireType } from '@protobuf-ts/runtime'\nimport type { BinaryReadOptions } from '@protobuf-ts/runtime'\nimport type { IBinaryReader } from '@protobuf-ts/runtime'\nimport { UnknownFieldHandler } from '@protobuf-ts/runtime'\nimport type { PartialMessage } from '@protobuf-ts/runtime'\nimport { reflectionMergePartial } from '@protobuf-ts/runtime'\nimport { MessageType } from '@protobuf-ts/runtime'\nimport { SynchronizerTime } from './offset_checkpoint.js'\nimport { TraceContext } from './trace_context.js'\nimport { Duration } from '../../../../../google/protobuf/duration.js'\nimport { Status } from '../../../../../google/rpc/status.js'\n/**\n * A completion represents the status of a submitted command on the ledger: it can be successful or failed.\n *\n * @generated from protobuf message com.daml.ledger.api.v2.Completion\n */\nexport interface Completion {\n /**\n * The ID of the succeeded or failed command.\n * Must be a valid LedgerString (as described in ``value.proto``).\n *\n * Required\n *\n * @generated from protobuf field: string command_id = 1\n */\n commandId: string\n /**\n * Identifies the exact type of the error.\n * It uses the same format of conveying error details as it is used for the RPC responses of the APIs.\n *\n * Optional\n *\n * @generated from protobuf field: google.rpc.Status status = 2\n */\n status?: Status\n /**\n * The update_id of the transaction or reassignment that resulted from the command with command_id.\n *\n * Only set for successfully executed commands.\n * Must be a valid LedgerString (as described in ``value.proto``).\n *\n * Optional\n *\n * @generated from protobuf field: string update_id = 3\n */\n updateId: string\n /**\n * The user-id that was used for the submission, as described in ``commands.proto``.\n * Must be a valid UserIdString (as described in ``value.proto``).\n *\n * Required\n *\n * @generated from protobuf field: string user_id = 4\n */\n userId: string\n /**\n * The set of parties on whose behalf the commands were executed.\n * Contains the ``act_as`` parties from ``commands.proto``\n * filtered to the requesting parties in CompletionStreamRequest.\n * The order of the parties need not be the same as in the submission.\n * Each element must be a valid PartyIdString (as described in ``value.proto``).\n *\n * Required: must be non-empty\n *\n * @generated from protobuf field: repeated string act_as = 5\n */\n actAs: string[]\n /**\n * The submission ID this completion refers to, as described in ``commands.proto``.\n * Must be a valid LedgerString (as described in ``value.proto``).\n *\n * Optional\n *\n * @generated from protobuf field: string submission_id = 6\n */\n submissionId: string\n /**\n * The actual deduplication window used for the submission, which is derived from\n * ``Commands.deduplication_period``. The ledger may convert the deduplication period into other\n * descriptions and extend the period in implementation-specified ways.\n *\n * Used to audit the deduplication guarantee described in ``commands.proto``.\n *\n * The deduplication guarantee applies even if the completion omits this field.\n *\n * Optional\n *\n * @generated from protobuf oneof: deduplication_period\n */\n deduplicationPeriod:\n | {\n oneofKind: 'deduplicationOffset'\n /**\n * Specifies the start of the deduplication period by a completion stream offset (exclusive).\n *\n * Must be a valid absolute offset (positive integer) or participant begin (zero).\n *\n * @generated from protobuf field: int64 deduplication_offset = 7\n */\n deduplicationOffset: bigint\n }\n | {\n oneofKind: 'deduplicationDuration'\n /**\n * Specifies the length of the deduplication period.\n * It is measured in record time of completions.\n *\n * Must be non-negative.\n *\n * @generated from protobuf field: google.protobuf.Duration deduplication_duration = 8\n */\n deduplicationDuration: Duration\n }\n | {\n oneofKind: undefined\n }\n /**\n * The Ledger API trace context\n *\n * The trace context transported in this message corresponds to the trace context supplied\n * by the client application in a HTTP2 header of the original command submission.\n * We typically use a header to transfer this type of information. Here we use message\n * body, because it is used in gRPC streams which do not support per message headers.\n * This field will be populated with the trace context contained in the original submission.\n * If that was not provided, a unique ledger-api-server generated trace context will be used\n * instead.\n *\n * Optional\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.TraceContext trace_context = 9\n */\n traceContext?: TraceContext\n /**\n * May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.\n * Must be a valid absolute offset (positive integer).\n *\n * Required\n *\n * @generated from protobuf field: int64 offset = 10\n */\n offset: bigint\n /**\n * The synchronizer along with its record time.\n * The synchronizer id provided, in case of\n *\n * - successful/failed transactions: identifies the synchronizer of the transaction\n * - for successful/failed unassign commands: identifies the source synchronizer\n * - for successful/failed assign commands: identifies the target synchronizer\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.SynchronizerTime synchronizer_time = 11\n */\n synchronizerTime?: SynchronizerTime\n /**\n * The traffic cost paid by this participant node for the confirmation request\n * for the submitted command.\n *\n * Commands whose execution is rejected before their corresponding\n * confirmation request is ordered by the synchronizer will report a paid\n * traffic cost of zero.\n * If a confirmation request is ordered for a command, but the request fails\n * (e.g., due to contention with a concurrent contract archival), the traffic\n * cost is paid and reported on the failed completion for the request.\n *\n * If you want to correlate the traffic cost of a successful completion\n * with the transaction that resulted from the command, you can use the\n * ``offset`` field to retrieve the transaction using\n * ``UpdateService.GetUpdateByOffset`` on the same participant node; or alternatively use the ``update_id``\n * field to retrieve the transaction using ``UpdateService.GetUpdateById`` on any participant node\n * that sees the transaction.\n *\n * Note: for completions processed before the participant started serving\n * traffic cost on the Ledger API, this field will be set to zero.\n * Additionally, the total cost incurred by the submitting node for the submission of the transaction may be greater\n * than the reported cost, for example if retries were issued due to failed submissions to the synchronizer.\n * The cost reported here is the one paid for ordering the confirmation request.\n *\n * Optional\n *\n * @generated from protobuf field: int64 paid_traffic_cost = 12\n */\n paidTrafficCost: bigint\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Completion$Type extends MessageType<Completion> {\n constructor() {\n super('com.daml.ledger.api.v2.Completion', [\n {\n no: 1,\n name: 'command_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n { no: 2, name: 'status', kind: 'message', T: () => Status },\n {\n no: 3,\n name: 'update_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 4,\n name: 'user_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 5,\n name: 'act_as',\n kind: 'scalar',\n repeat: 2 /*RepeatType.UNPACKED*/,\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 6,\n name: 'submission_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 7,\n name: 'deduplication_offset',\n kind: 'scalar',\n oneof: 'deduplicationPeriod',\n T: 3 /*ScalarType.INT64*/,\n L: 0 /*LongType.BIGINT*/,\n },\n {\n no: 8,\n name: 'deduplication_duration',\n kind: 'message',\n oneof: 'deduplicationPeriod',\n T: () => Duration,\n },\n {\n no: 9,\n name: 'trace_context',\n kind: 'message',\n T: () => TraceContext,\n },\n {\n no: 10,\n name: 'offset',\n kind: 'scalar',\n T: 3 /*ScalarType.INT64*/,\n L: 0 /*LongType.BIGINT*/,\n },\n {\n no: 11,\n name: 'synchronizer_time',\n kind: 'message',\n T: () => SynchronizerTime,\n },\n {\n no: 12,\n name: 'paid_traffic_cost',\n kind: 'scalar',\n T: 3 /*ScalarType.INT64*/,\n L: 0 /*LongType.BIGINT*/,\n },\n ])\n }\n create(value?: PartialMessage<Completion>): Completion {\n const message = globalThis.Object.create(this.messagePrototype!)\n message.commandId = ''\n message.updateId = ''\n message.userId = ''\n message.actAs = []\n message.submissionId = ''\n message.deduplicationPeriod = { oneofKind: undefined }\n message.offset = 0n\n message.paidTrafficCost = 0n\n if (value !== undefined)\n reflectionMergePartial<Completion>(this, message, value)\n return message\n }\n internalBinaryRead(\n reader: IBinaryReader,\n length: number,\n options: BinaryReadOptions,\n target?: Completion\n ): Completion {\n let message = target ?? this.create(),\n end = reader.pos + length\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag()\n switch (fieldNo) {\n case /* string command_id */ 1:\n message.commandId = reader.string()\n break\n case /* google.rpc.Status status */ 2:\n message.status = Status.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.status\n )\n break\n case /* string update_id */ 3:\n message.updateId = reader.string()\n break\n case /* string user_id */ 4:\n message.userId = reader.string()\n break\n case /* repeated string act_as */ 5:\n message.actAs.push(reader.string())\n break\n case /* string submission_id */ 6:\n message.submissionId = reader.string()\n break\n case /* int64 deduplication_offset */ 7:\n message.deduplicationPeriod = {\n oneofKind: 'deduplicationOffset',\n deduplicationOffset: reader.int64().toBigInt(),\n }\n break\n case /* google.protobuf.Duration deduplication_duration */ 8:\n message.deduplicationPeriod = {\n oneofKind: 'deduplicationDuration',\n deduplicationDuration: Duration.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n (message.deduplicationPeriod as any)\n .deduplicationDuration\n ),\n }\n break\n case /* com.daml.ledger.api.v2.TraceContext trace_context */ 9:\n message.traceContext = TraceContext.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.traceContext\n )\n break\n case /* int64 offset */ 10:\n message.offset = reader.int64().toBigInt()\n break\n case /* com.daml.ledger.api.v2.SynchronizerTime synchronizer_time */ 11:\n message.synchronizerTime =\n SynchronizerTime.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.synchronizerTime\n )\n break\n case /* int64 paid_traffic_cost */ 12:\n message.paidTrafficCost = reader.int64().toBigInt()\n break\n default:\n let u = options.readUnknownField\n if (u === 'throw')\n throw new globalThis.Error(\n `Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`\n )\n let d = reader.skip(wireType)\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(\n this.typeName,\n message,\n fieldNo,\n wireType,\n d\n )\n }\n }\n return message\n }\n internalBinaryWrite(\n message: Completion,\n writer: IBinaryWriter,\n options: BinaryWriteOptions\n ): IBinaryWriter {\n /* string command_id = 1; */\n if (message.commandId !== '')\n writer.tag(1, WireType.LengthDelimited).string(message.commandId)\n /* google.rpc.Status status = 2; */\n if (message.status)\n Status.internalBinaryWrite(\n message.status,\n writer.tag(2, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* string update_id = 3; */\n if (message.updateId !== '')\n writer.tag(3, WireType.LengthDelimited).string(message.updateId)\n /* string user_id = 4; */\n if (message.userId !== '')\n writer.tag(4, WireType.LengthDelimited).string(message.userId)\n /* repeated string act_as = 5; */\n for (let i = 0; i < message.actAs.length; i++)\n writer.tag(5, WireType.LengthDelimited).string(message.actAs[i])\n /* string submission_id = 6; */\n if (message.submissionId !== '')\n writer.tag(6, WireType.LengthDelimited).string(message.submissionId)\n /* int64 deduplication_offset = 7; */\n if (message.deduplicationPeriod.oneofKind === 'deduplicationOffset')\n writer\n .tag(7, WireType.Varint)\n .int64(message.deduplicationPeriod.deduplicationOffset)\n /* google.protobuf.Duration deduplication_duration = 8; */\n if (message.deduplicationPeriod.oneofKind === 'deduplicationDuration')\n Duration.internalBinaryWrite(\n message.deduplicationPeriod.deduplicationDuration,\n writer.tag(8, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* com.daml.ledger.api.v2.TraceContext trace_context = 9; */\n if (message.traceContext)\n TraceContext.internalBinaryWrite(\n message.traceContext,\n writer.tag(9, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* int64 offset = 10; */\n if (message.offset !== 0n)\n writer.tag(10, WireType.Varint).int64(message.offset)\n /* com.daml.ledger.api.v2.SynchronizerTime synchronizer_time = 11; */\n if (message.synchronizerTime)\n SynchronizerTime.internalBinaryWrite(\n message.synchronizerTime,\n writer.tag(11, WireType.LengthDelimited).fork(),\n options\n ).join()\n /* int64 paid_traffic_cost = 12; */\n if (message.paidTrafficCost !== 0n)\n writer.tag(12, WireType.Varint).int64(message.paidTrafficCost)\n let u = options.writeUnknownFields\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(\n this.typeName,\n message,\n writer\n )\n return writer\n }\n}\n/**\n * @generated MessageType for protobuf message com.daml.ledger.api.v2.Completion\n */\nexport const Completion = new Completion$Type()\n"],"mappings":";;;;;;AAkMA,IAAM,kBAAN,cAA8B,YAAwB;CAClD,cAAc;EACV,MAAM,qCAAqC;GACvC;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;GACP;GACA;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAW,SAAS;GAAO;GAC1D;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;GACP;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;GACP;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,GAAG;GACP;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;GACP;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;IACP,GAAG;IACH,GAAG;GACP;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;IACP,SAAS;GACb;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,SAAS;GACb;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;IACH,GAAG;GACP;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,SAAS;GACb;GACA;IACI,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;IACH,GAAG;GACP;EACJ,CAAC;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AM,QAAQ,oBAAoB,mBAAmB;EAE9D,IAAI,QAAQ,oBAAoB,cAAc,yBAC1C,SAAS,oBACL,QAAQ,oBAAoB,uBAC5B,OAAO,IAAI,GAAG,SAAS,eAAe,CAAC,CAAC,KAAK,GAC7C,OACJ,CAAC,CAAC,KAAK;EAEX,IAAI,QAAQ,cACR,aAAa,oBACT,QAAQ,cACR,OAAO,IAAI,GAAG,SAAS,eAAe,CAAC,CAAC,KAAK,GAC7C,OACJ,CAAC,CAAC,KAAK;EAEX,IAAI,QAAQ,WAAW,IACnB,OAAO,IAAI,IAAI,SAAS,MAAM,CAAC,CAAC,MAAM,QAAQ,MAAM;EAExD,IAAI,QAAQ,kBACR,iBAAiB,oBACb,QAAQ,kBACR,OAAO,IAAI,IAAI,SAAS,eAAe,CAAC,CAAC,KAAK,GAC9C,OACJ,CAAC,CAAC,KAAK;EAEX,IAAI,QAAQ,oBAAoB,IAC5B,OAAO,IAAI,IAAI,SAAS,MAAM,CAAC,CAAC,MAAM,QAAQ,eAAe;EACjE,IAAI,IAAI,QAAQ;EAChB,IAAI,MAAM,OACN,CAAC,KAAK,OAAO,oBAAoB,UAAU,EAAA,CACvC,KAAK,UACL,SACA,MACJ;EACJ,OAAO;CACX;AACJ;;;;AAIA,MAAa,aAAa,IAAI,gBAAgB"}
@@ -1,34 +0,0 @@
1
- import { ContractService } from "./contract_service.js";
2
- import _defineProperty from "../../../../../../_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/defineProperty.js";
3
- import { stackIntercept } from "@protobuf-ts/runtime-rpc";
4
- // src/_proto/com/daml/ledger/api/v2/contract_service.client.ts
5
- /**
6
- * This service is experimental / alpha, therefore no backwards compatibility is guaranteed.
7
- *
8
- * @generated from protobuf service com.daml.ledger.api.v2.ContractService
9
- */
10
- var ContractServiceClient = class {
11
- constructor(_transport) {
12
- this._transport = _transport;
13
- _defineProperty(this, "typeName", ContractService.typeName);
14
- _defineProperty(this, "methods", ContractService.methods);
15
- _defineProperty(this, "options", ContractService.options);
16
- }
17
- /**
18
- * Looking up contract data by contract ID.
19
- * This endpoint is experimental / alpha, therefore no backwards compatibility is guaranteed.
20
- * This endpoint must not be used to look up contracts which entered the participant via party replication
21
- * or repair service.
22
- * If there is no contract exist with the contract ID, or there is no intersection with the querying_parties,
23
- * an CONTRACT_PAYLOAD_NOT_FOUND error will be raised.
24
- *
25
- * @generated from protobuf rpc: GetContract
26
- */
27
- getContract(input, options) {
28
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
29
- return stackIntercept("unary", this._transport, method, opt, input);
30
- }
31
- };
32
- export { ContractServiceClient };
33
-
34
- //# sourceMappingURL=contract_service.client.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contract_service.client.js","names":[],"sources":["../../../../../../../../src/_proto/com/daml/ledger/api/v2/contract_service.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"com/daml/ledger/api/v2/contract_service.proto\" (package \"com.daml.ledger.api.v2\", syntax proto3)\n// tslint:disable\n//\n// Copyright (c) 2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { RpcTransport } from '@protobuf-ts/runtime-rpc'\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc'\nimport { ContractService } from './contract_service.js'\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc'\nimport type { GetContractResponse } from './contract_service.js'\nimport type { GetContractRequest } from './contract_service.js'\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc'\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc'\n/**\n * This service is experimental / alpha, therefore no backwards compatibility is guaranteed.\n *\n * @generated from protobuf service com.daml.ledger.api.v2.ContractService\n */\nexport interface IContractServiceClient {\n /**\n * Looking up contract data by contract ID.\n * This endpoint is experimental / alpha, therefore no backwards compatibility is guaranteed.\n * This endpoint must not be used to look up contracts which entered the participant via party replication\n * or repair service.\n * If there is no contract exist with the contract ID, or there is no intersection with the querying_parties,\n * an CONTRACT_PAYLOAD_NOT_FOUND error will be raised.\n *\n * @generated from protobuf rpc: GetContract\n */\n getContract(\n input: GetContractRequest,\n options?: RpcOptions\n ): UnaryCall<GetContractRequest, GetContractResponse>\n}\n/**\n * This service is experimental / alpha, therefore no backwards compatibility is guaranteed.\n *\n * @generated from protobuf service com.daml.ledger.api.v2.ContractService\n */\nexport class ContractServiceClient\n implements IContractServiceClient, ServiceInfo\n{\n typeName = ContractService.typeName\n methods = ContractService.methods\n options = ContractService.options\n constructor(private readonly _transport: RpcTransport) {}\n /**\n * Looking up contract data by contract ID.\n * This endpoint is experimental / alpha, therefore no backwards compatibility is guaranteed.\n * This endpoint must not be used to look up contracts which entered the participant via party replication\n * or repair service.\n * If there is no contract exist with the contract ID, or there is no intersection with the querying_parties,\n * an CONTRACT_PAYLOAD_NOT_FOUND error will be raised.\n *\n * @generated from protobuf rpc: GetContract\n */\n getContract(\n input: GetContractRequest,\n options?: RpcOptions\n ): UnaryCall<GetContractRequest, GetContractResponse> {\n const method = this.methods[0],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<GetContractRequest, GetContractResponse>(\n 'unary',\n this._transport,\n method,\n opt,\n input\n )\n }\n}\n"],"mappings":";;;;;;;;;AAyCA,IAAa,wBAAb,MAEA;CAII,YAAY,YAA2C;EAA1B,KAAA,aAAA;EAH7B,gBAAA,MAAA,YAAW,gBAAgB,QAAA;EAC3B,gBAAA,MAAA,WAAU,gBAAgB,OAAA;EAC1B,gBAAA,MAAA,WAAU,gBAAgB,OAAA;CAC8B;;;;;;;;;;;CAWxD,YACI,OACA,SACkD;EAClD,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eACH,SACA,KAAK,YACL,QACA,KACA,KACJ;CACJ;AACJ"}
@@ -1,112 +0,0 @@
1
- import { CreatedEvent } from "./event.js";
2
- import { MessageType, UnknownFieldHandler, WireType, reflectionMergePartial } from "@protobuf-ts/runtime";
3
- import { ServiceType } from "@protobuf-ts/runtime-rpc";
4
- // src/_proto/com/daml/ledger/api/v2/contract_service.ts
5
- var GetContractRequest$Type = class extends MessageType {
6
- constructor() {
7
- super("com.daml.ledger.api.v2.GetContractRequest", [{
8
- no: 1,
9
- name: "contract_id",
10
- kind: "scalar",
11
- T: 9
12
- }, {
13
- no: 2,
14
- name: "querying_parties",
15
- kind: "scalar",
16
- repeat: 2,
17
- T: 9
18
- }]);
19
- }
20
- create(value) {
21
- const message = globalThis.Object.create(this.messagePrototype);
22
- message.contractId = "";
23
- message.queryingParties = [];
24
- if (value !== void 0) reflectionMergePartial(this, message, value);
25
- return message;
26
- }
27
- internalBinaryRead(reader, length, options, target) {
28
- let message = target ?? this.create(), end = reader.pos + length;
29
- while (reader.pos < end) {
30
- let [fieldNo, wireType] = reader.tag();
31
- switch (fieldNo) {
32
- case 1:
33
- message.contractId = reader.string();
34
- break;
35
- case 2:
36
- message.queryingParties.push(reader.string());
37
- break;
38
- default:
39
- let u = options.readUnknownField;
40
- if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
41
- let d = reader.skip(wireType);
42
- if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
43
- }
44
- }
45
- return message;
46
- }
47
- internalBinaryWrite(message, writer, options) {
48
- if (message.contractId !== "") writer.tag(1, WireType.LengthDelimited).string(message.contractId);
49
- for (let i = 0; i < message.queryingParties.length; i++) writer.tag(2, WireType.LengthDelimited).string(message.queryingParties[i]);
50
- let u = options.writeUnknownFields;
51
- if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
52
- return writer;
53
- }
54
- };
55
- /**
56
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetContractRequest
57
- */
58
- const GetContractRequest = new GetContractRequest$Type();
59
- var GetContractResponse$Type = class extends MessageType {
60
- constructor() {
61
- super("com.daml.ledger.api.v2.GetContractResponse", [{
62
- no: 1,
63
- name: "created_event",
64
- kind: "message",
65
- T: () => CreatedEvent
66
- }]);
67
- }
68
- create(value) {
69
- const message = globalThis.Object.create(this.messagePrototype);
70
- if (value !== void 0) reflectionMergePartial(this, message, value);
71
- return message;
72
- }
73
- internalBinaryRead(reader, length, options, target) {
74
- let message = target ?? this.create(), end = reader.pos + length;
75
- while (reader.pos < end) {
76
- let [fieldNo, wireType] = reader.tag();
77
- switch (fieldNo) {
78
- case 1:
79
- message.createdEvent = CreatedEvent.internalBinaryRead(reader, reader.uint32(), options, message.createdEvent);
80
- break;
81
- default:
82
- let u = options.readUnknownField;
83
- if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
84
- let d = reader.skip(wireType);
85
- if (u !== false) (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
86
- }
87
- }
88
- return message;
89
- }
90
- internalBinaryWrite(message, writer, options) {
91
- if (message.createdEvent) CreatedEvent.internalBinaryWrite(message.createdEvent, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
92
- let u = options.writeUnknownFields;
93
- if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
94
- return writer;
95
- }
96
- };
97
- /**
98
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetContractResponse
99
- */
100
- const GetContractResponse = new GetContractResponse$Type();
101
- /**
102
- * @generated ServiceType for protobuf service com.daml.ledger.api.v2.ContractService
103
- */
104
- const ContractService = new ServiceType("com.daml.ledger.api.v2.ContractService", [{
105
- name: "GetContract",
106
- options: {},
107
- I: GetContractRequest,
108
- O: GetContractResponse
109
- }]);
110
- export { ContractService, GetContractRequest, GetContractResponse };
111
-
112
- //# sourceMappingURL=contract_service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contract_service.js","names":[],"sources":["../../../../../../../../src/_proto/com/daml/ledger/api/v2/contract_service.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"com/daml/ledger/api/v2/contract_service.proto\" (package \"com.daml.ledger.api.v2\", syntax proto3)\n// tslint:disable\n//\n// Copyright (c) 2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc'\nimport type { BinaryWriteOptions } from '@protobuf-ts/runtime'\nimport type { IBinaryWriter } from '@protobuf-ts/runtime'\nimport { WireType } from '@protobuf-ts/runtime'\nimport type { BinaryReadOptions } from '@protobuf-ts/runtime'\nimport type { IBinaryReader } from '@protobuf-ts/runtime'\nimport { UnknownFieldHandler } from '@protobuf-ts/runtime'\nimport type { PartialMessage } from '@protobuf-ts/runtime'\nimport { reflectionMergePartial } from '@protobuf-ts/runtime'\nimport { MessageType } from '@protobuf-ts/runtime'\nimport { CreatedEvent } from './event.js'\n/**\n * @generated from protobuf message com.daml.ledger.api.v2.GetContractRequest\n */\nexport interface GetContractRequest {\n /**\n * The ID of the contract.\n * Must be a valid LedgerString (as described in ``value.proto``).\n *\n * Required\n *\n * @generated from protobuf field: string contract_id = 1\n */\n contractId: string\n /**\n * The list of querying parties\n * The stakeholders of the referenced contract must have an intersection with any of these parties\n * to return the result.\n * If no querying_parties specified, all possible contracts could be returned.\n *\n * Optional: can be empty\n *\n * @generated from protobuf field: repeated string querying_parties = 2\n */\n queryingParties: string[]\n}\n/**\n * @generated from protobuf message com.daml.ledger.api.v2.GetContractResponse\n */\nexport interface GetContractResponse {\n /**\n * The representative_package_id will be always set to the contract package ID, therefore this endpoint should\n * not be used to lookup contract which entered the participant via party replication or repair service.\n * The witnesses field will contain only the querying_parties which are also stakeholders of the contract as well.\n * The following fields of the created event cannot be populated, so those should not be used / parsed:\n *\n * - offset\n * - node_id\n * - created_event_blob\n * - interface_views\n * - acs_delta\n *\n * Required\n *\n * @generated from protobuf field: com.daml.ledger.api.v2.CreatedEvent created_event = 1\n */\n createdEvent?: CreatedEvent\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetContractRequest$Type extends MessageType<GetContractRequest> {\n constructor() {\n super('com.daml.ledger.api.v2.GetContractRequest', [\n {\n no: 1,\n name: 'contract_id',\n kind: 'scalar',\n T: 9 /*ScalarType.STRING*/,\n },\n {\n no: 2,\n name: 'querying_parties',\n kind: 'scalar',\n repeat: 2 /*RepeatType.UNPACKED*/,\n T: 9 /*ScalarType.STRING*/,\n },\n ])\n }\n create(value?: PartialMessage<GetContractRequest>): GetContractRequest {\n const message = globalThis.Object.create(this.messagePrototype!)\n message.contractId = ''\n message.queryingParties = []\n if (value !== undefined)\n reflectionMergePartial<GetContractRequest>(this, message, value)\n return message\n }\n internalBinaryRead(\n reader: IBinaryReader,\n length: number,\n options: BinaryReadOptions,\n target?: GetContractRequest\n ): GetContractRequest {\n let message = target ?? this.create(),\n end = reader.pos + length\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag()\n switch (fieldNo) {\n case /* string contract_id */ 1:\n message.contractId = reader.string()\n break\n case /* repeated string querying_parties */ 2:\n message.queryingParties.push(reader.string())\n break\n default:\n let u = options.readUnknownField\n if (u === 'throw')\n throw new globalThis.Error(\n `Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`\n )\n let d = reader.skip(wireType)\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(\n this.typeName,\n message,\n fieldNo,\n wireType,\n d\n )\n }\n }\n return message\n }\n internalBinaryWrite(\n message: GetContractRequest,\n writer: IBinaryWriter,\n options: BinaryWriteOptions\n ): IBinaryWriter {\n /* string contract_id = 1; */\n if (message.contractId !== '')\n writer.tag(1, WireType.LengthDelimited).string(message.contractId)\n /* repeated string querying_parties = 2; */\n for (let i = 0; i < message.queryingParties.length; i++)\n writer\n .tag(2, WireType.LengthDelimited)\n .string(message.queryingParties[i])\n let u = options.writeUnknownFields\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(\n this.typeName,\n message,\n writer\n )\n return writer\n }\n}\n/**\n * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetContractRequest\n */\nexport const GetContractRequest = new GetContractRequest$Type()\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetContractResponse$Type extends MessageType<GetContractResponse> {\n constructor() {\n super('com.daml.ledger.api.v2.GetContractResponse', [\n {\n no: 1,\n name: 'created_event',\n kind: 'message',\n T: () => CreatedEvent,\n },\n ])\n }\n create(value?: PartialMessage<GetContractResponse>): GetContractResponse {\n const message = globalThis.Object.create(this.messagePrototype!)\n if (value !== undefined)\n reflectionMergePartial<GetContractResponse>(this, message, value)\n return message\n }\n internalBinaryRead(\n reader: IBinaryReader,\n length: number,\n options: BinaryReadOptions,\n target?: GetContractResponse\n ): GetContractResponse {\n let message = target ?? this.create(),\n end = reader.pos + length\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag()\n switch (fieldNo) {\n case /* com.daml.ledger.api.v2.CreatedEvent created_event */ 1:\n message.createdEvent = CreatedEvent.internalBinaryRead(\n reader,\n reader.uint32(),\n options,\n message.createdEvent\n )\n break\n default:\n let u = options.readUnknownField\n if (u === 'throw')\n throw new globalThis.Error(\n `Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`\n )\n let d = reader.skip(wireType)\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(\n this.typeName,\n message,\n fieldNo,\n wireType,\n d\n )\n }\n }\n return message\n }\n internalBinaryWrite(\n message: GetContractResponse,\n writer: IBinaryWriter,\n options: BinaryWriteOptions\n ): IBinaryWriter {\n /* com.daml.ledger.api.v2.CreatedEvent created_event = 1; */\n if (message.createdEvent)\n CreatedEvent.internalBinaryWrite(\n message.createdEvent,\n writer.tag(1, WireType.LengthDelimited).fork(),\n options\n ).join()\n let u = options.writeUnknownFields\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(\n this.typeName,\n message,\n writer\n )\n return writer\n }\n}\n/**\n * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetContractResponse\n */\nexport const GetContractResponse = new GetContractResponse$Type()\n/**\n * @generated ServiceType for protobuf service com.daml.ledger.api.v2.ContractService\n */\nexport const ContractService = new ServiceType(\n 'com.daml.ledger.api.v2.ContractService',\n [\n {\n name: 'GetContract',\n options: {},\n I: GetContractRequest,\n O: GetContractResponse,\n },\n ]\n)\n"],"mappings":";;;;AAkEA,IAAM,0BAAN,cAAsC,YAAgC;CAClE,cAAc;EACV,MAAM,6CAA6C,CAC/C;GACI,IAAI;GACJ,MAAM;GACN,MAAM;GACN,GAAG;EACP,GACA;GACI,IAAI;GACJ,MAAM;GACN,MAAM;GACN,QAAQ;GACR,GAAG;EACP,CACJ,CAAC;CACL;CACA,OAAO,OAAgE;EACnE,MAAM,UAAU,WAAW,OAAO,OAAO,KAAK,gBAAiB;EAC/D,QAAQ,aAAa;EACrB,QAAQ,kBAAkB,CAAC;EAC3B,IAAI,UAAU,QACV,uBAA2C,MAAM,SAAS,KAAK;EACnE,OAAO;CACX;CACA,mBACI,QACA,QACA,SACA,QACkB;EAClB,IAAI,UAAU,UAAU,KAAK,OAAO,GAChC,MAAM,OAAO,MAAM;EACvB,OAAO,OAAO,MAAM,KAAK;GACrB,IAAI,CAAC,SAAS,YAAY,OAAO,IAAI;GACrC,QAAQ,SAAR;IACI,KAA8B;KAC1B,QAAQ,aAAa,OAAO,OAAO;KACnC;IACJ,KAA4C;KACxC,QAAQ,gBAAgB,KAAK,OAAO,OAAO,CAAC;KAC5C;IACJ;KACI,IAAI,IAAI,QAAQ;KAChB,IAAI,MAAM,SACN,MAAM,IAAI,WAAW,MACjB,iBAAiB,QAAQ,cAAc,SAAS,QAAQ,KAAK,UACjE;KACJ,IAAI,IAAI,OAAO,KAAK,QAAQ;KAC5B,IAAI,MAAM,OACN,CAAC,MAAM,OAAO,oBAAoB,SAAS,EAAA,CACvC,KAAK,UACL,SACA,SACA,UACA,CACJ;GACZ;EACJ;EACA,OAAO;CACX;CACA,oBAC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