@canton-network/core-ledger-proto 1.6.0 → 1.8.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 (392) hide show
  1. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.cjs +492 -727
  2. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.cjs +37 -52
  3. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.cjs +545 -902
  4. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.cjs +88 -86
  5. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/object_meta.cjs +76 -127
  6. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.cjs +367 -547
  7. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.cjs +65 -92
  8. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.cjs +115 -171
  9. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.cjs +36 -55
  10. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.cjs +1103 -1661
  11. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.cjs +155 -167
  12. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.cjs +1355 -2023
  13. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.cjs +129 -164
  14. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.cjs +146 -242
  15. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.client.cjs +41 -48
  16. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.cjs +364 -612
  17. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.client.cjs +65 -87
  18. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.cjs +171 -281
  19. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.client.cjs +50 -63
  20. package/dist/cjs/_proto/com/daml/ledger/api/v2/commands.cjs +713 -1126
  21. package/dist/cjs/_proto/com/daml/ledger/api/v2/completion.cjs +169 -262
  22. package/dist/cjs/_proto/com/daml/ledger/api/v2/crypto.cjs +150 -143
  23. package/dist/cjs/_proto/com/daml/ledger/api/v2/event.cjs +626 -944
  24. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.cjs +238 -394
  25. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.client.cjs +34 -51
  26. package/dist/cjs/_proto/com/daml/ledger/api/v2/experimental_features.cjs +183 -310
  27. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.cjs +80 -143
  28. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.cjs +1702 -2499
  29. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.cjs +86 -99
  30. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.cjs +562 -827
  31. package/dist/cjs/_proto/com/daml/ledger/api/v2/offset_checkpoint.cjs +111 -193
  32. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_reference.cjs +70 -116
  33. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.cjs +339 -464
  34. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.client.cjs +46 -78
  35. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment.cjs +445 -652
  36. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment_commands.cjs +298 -439
  37. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.cjs +726 -1085
  38. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.client.cjs +59 -85
  39. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.cjs +147 -242
  40. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.client.cjs +37 -69
  41. package/dist/cjs/_proto/com/daml/ledger/api/v2/topology_transaction.cjs +378 -573
  42. package/dist/cjs/_proto/com/daml/ledger/api/v2/trace_context.cjs +56 -103
  43. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction.cjs +356 -546
  44. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction_filter.cjs +694 -1045
  45. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.cjs +728 -1135
  46. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.client.cjs +129 -162
  47. package/dist/cjs/_proto/com/daml/ledger/api/v2/value.cjs +829 -1267
  48. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.cjs +327 -535
  49. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.client.cjs +28 -48
  50. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto.cjs +1875 -2180
  51. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto2.cjs +1964 -0
  52. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.cjs +46 -104
  53. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters2.cjs +47 -0
  54. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.cjs +320 -534
  55. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters2.cjs +328 -0
  56. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology.cjs +1899 -2844
  57. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology2.cjs +2260 -0
  58. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.cjs +531 -773
  59. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters2.cjs +517 -0
  60. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common.cjs +330 -548
  61. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common2.cjs +353 -0
  62. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.cjs +2771 -4707
  63. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.cjs +139 -173
  64. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.cjs +3133 -0
  65. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.client.cjs +154 -0
  66. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.cjs +1117 -1668
  67. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.cjs +79 -108
  68. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.cjs +1139 -0
  69. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.client.cjs +80 -0
  70. package/dist/cjs/_proto/google/protobuf/any.cjs +131 -198
  71. package/dist/cjs/_proto/google/protobuf/descriptor.cjs +2557 -3454
  72. package/dist/cjs/_proto/google/protobuf/duration.cjs +92 -154
  73. package/dist/cjs/_proto/google/protobuf/duration2.cjs +93 -0
  74. package/dist/cjs/_proto/google/protobuf/empty.cjs +36 -75
  75. package/dist/cjs/_proto/google/protobuf/empty2.cjs +37 -0
  76. package/dist/cjs/_proto/google/protobuf/field_mask.cjs +71 -130
  77. package/dist/cjs/_proto/google/protobuf/struct.cjs +351 -475
  78. package/dist/cjs/_proto/google/protobuf/timestamp.cjs +117 -194
  79. package/dist/cjs/_proto/google/protobuf/timestamp2.cjs +118 -0
  80. package/dist/cjs/_proto/google/rpc/code.cjs +223 -48
  81. package/dist/cjs/_proto/google/rpc/context/attribute_context.cjs +898 -1279
  82. package/dist/cjs/_proto/google/rpc/context/audit_context.cjs +91 -159
  83. package/dist/cjs/_proto/google/rpc/error_details.cjs +773 -1135
  84. package/dist/cjs/_proto/google/rpc/status.cjs +72 -125
  85. package/dist/cjs/_proto/scalapb/scalapb.cjs +1392 -1857
  86. package/dist/cjs/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/defineProperty.cjs +12 -0
  87. package/dist/cjs/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPrimitive.cjs +14 -0
  88. package/dist/cjs/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPropertyKey.cjs +9 -0
  89. package/dist/cjs/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/typeof.cjs +16 -0
  90. package/dist/cjs/index.cjs +273 -91
  91. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +35 -26
  92. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js.map +1 -1
  93. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +484 -694
  94. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js.map +1 -1
  95. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +86 -60
  96. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js.map +1 -1
  97. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +534 -866
  98. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js.map +1 -1
  99. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/object_meta.js +77 -103
  100. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/object_meta.js.map +1 -1
  101. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +63 -66
  102. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js.map +1 -1
  103. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +360 -515
  104. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.js.map +1 -1
  105. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +34 -29
  106. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js.map +1 -1
  107. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +113 -144
  108. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js.map +1 -1
  109. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +153 -141
  110. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js.map +1 -1
  111. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +1084 -1617
  112. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.js.map +1 -1
  113. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +127 -138
  114. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js.map +1 -1
  115. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +1329 -1972
  116. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.js.map +1 -1
  117. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +39 -22
  118. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.client.js.map +1 -1
  119. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.js +143 -214
  120. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.js.map +1 -1
  121. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.client.js +63 -61
  122. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.client.js.map +1 -1
  123. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.js +356 -579
  124. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.js.map +1 -1
  125. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +48 -37
  126. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.client.js.map +1 -1
  127. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.js +167 -252
  128. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.js.map +1 -1
  129. package/dist/esm/_proto/com/daml/ledger/api/v2/commands.js +707 -1095
  130. package/dist/esm/_proto/com/daml/ledger/api/v2/commands.js.map +1 -1
  131. package/dist/esm/_proto/com/daml/ledger/api/v2/completion.js +168 -236
  132. package/dist/esm/_proto/com/daml/ledger/api/v2/completion.js.map +1 -1
  133. package/dist/esm/_proto/com/daml/ledger/api/v2/crypto.js +149 -117
  134. package/dist/esm/_proto/com/daml/ledger/api/v2/crypto.js.map +1 -1
  135. package/dist/esm/_proto/com/daml/ledger/api/v2/event.js +622 -915
  136. package/dist/esm/_proto/com/daml/ledger/api/v2/event.js.map +1 -1
  137. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.client.js +32 -25
  138. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.client.js.map +1 -1
  139. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.js +234 -365
  140. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.js.map +1 -1
  141. package/dist/esm/_proto/com/daml/ledger/api/v2/experimental_features.js +181 -283
  142. package/dist/esm/_proto/com/daml/ledger/api/v2/experimental_features.js.map +1 -1
  143. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +81 -119
  144. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js.map +1 -1
  145. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +84 -73
  146. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js.map +1 -1
  147. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +1675 -2447
  148. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js.map +1 -1
  149. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +559 -799
  150. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js.map +1 -1
  151. package/dist/esm/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +111 -168
  152. package/dist/esm/_proto/com/daml/ledger/api/v2/offset_checkpoint.js.map +1 -1
  153. package/dist/esm/_proto/com/daml/ledger/api/v2/package_reference.js +71 -92
  154. package/dist/esm/_proto/com/daml/ledger/api/v2/package_reference.js.map +1 -1
  155. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.client.js +44 -52
  156. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.client.js.map +1 -1
  157. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.js +331 -431
  158. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.js.map +1 -1
  159. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment.js +441 -623
  160. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment.js.map +1 -1
  161. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment_commands.js +296 -412
  162. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment_commands.js.map +1 -1
  163. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.client.js +57 -59
  164. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.client.js.map +1 -1
  165. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.js +713 -1047
  166. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.js.map +1 -1
  167. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +35 -43
  168. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.client.js.map +1 -1
  169. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.js +144 -214
  170. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.js.map +1 -1
  171. package/dist/esm/_proto/com/daml/ledger/api/v2/topology_transaction.js +374 -544
  172. package/dist/esm/_proto/com/daml/ledger/api/v2/topology_transaction.js.map +1 -1
  173. package/dist/esm/_proto/com/daml/ledger/api/v2/trace_context.js +57 -79
  174. package/dist/esm/_proto/com/daml/ledger/api/v2/trace_context.js.map +1 -1
  175. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction.js +354 -519
  176. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction.js.map +1 -1
  177. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction_filter.js +683 -1009
  178. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction_filter.js.map +1 -1
  179. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.client.js +127 -136
  180. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.client.js.map +1 -1
  181. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.js +717 -1099
  182. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.js.map +1 -1
  183. package/dist/esm/_proto/com/daml/ledger/api/v2/value.js +819 -1232
  184. package/dist/esm/_proto/com/daml/ledger/api/v2/value.js.map +1 -1
  185. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.client.js +26 -22
  186. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.client.js.map +1 -1
  187. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.js +321 -504
  188. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.js.map +1 -1
  189. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.js +1844 -2124
  190. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.js.map +1 -1
  191. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto2.js +1864 -0
  192. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto2.js.map +1 -0
  193. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +47 -80
  194. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js.map +1 -1
  195. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters2.js +49 -0
  196. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters2.js.map +1 -0
  197. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +318 -507
  198. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js.map +1 -1
  199. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters2.js +322 -0
  200. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters2.js.map +1 -0
  201. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.js +1872 -2792
  202. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.js.map +1 -1
  203. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology2.js +2214 -0
  204. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology2.js.map +1 -0
  205. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +527 -744
  206. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js.map +1 -1
  207. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters2.js +519 -0
  208. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters2.js.map +1 -0
  209. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.js +326 -519
  210. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.js.map +1 -1
  211. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common2.js +350 -0
  212. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common2.js.map +1 -0
  213. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +138 -148
  214. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js.map +1 -1
  215. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +2721 -4632
  216. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js.map +1 -1
  217. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.client.js +156 -0
  218. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.client.js.map +1 -0
  219. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.js +3079 -0
  220. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.js.map +1 -0
  221. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +78 -83
  222. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js.map +1 -1
  223. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +1099 -1625
  224. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js.map +1 -1
  225. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.client.js +82 -0
  226. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.client.js.map +1 -0
  227. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.js +1118 -0
  228. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.js.map +1 -0
  229. package/dist/esm/_proto/google/protobuf/any.js +132 -174
  230. package/dist/esm/_proto/google/protobuf/any.js.map +1 -1
  231. package/dist/esm/_proto/google/protobuf/descriptor.js +2526 -3398
  232. package/dist/esm/_proto/google/protobuf/descriptor.js.map +1 -1
  233. package/dist/esm/_proto/google/protobuf/duration.js +93 -130
  234. package/dist/esm/_proto/google/protobuf/duration.js.map +1 -1
  235. package/dist/esm/_proto/google/protobuf/duration2.js +95 -0
  236. package/dist/esm/_proto/google/protobuf/duration2.js.map +1 -0
  237. package/dist/esm/_proto/google/protobuf/empty.js +37 -51
  238. package/dist/esm/_proto/google/protobuf/empty.js.map +1 -1
  239. package/dist/esm/_proto/google/protobuf/empty2.js +39 -0
  240. package/dist/esm/_proto/google/protobuf/empty2.js.map +1 -0
  241. package/dist/esm/_proto/google/protobuf/field_mask.js +72 -106
  242. package/dist/esm/_proto/google/protobuf/field_mask.js.map +1 -1
  243. package/dist/esm/_proto/google/protobuf/struct.js +349 -448
  244. package/dist/esm/_proto/google/protobuf/struct.js.map +1 -1
  245. package/dist/esm/_proto/google/protobuf/timestamp.js +118 -170
  246. package/dist/esm/_proto/google/protobuf/timestamp.js.map +1 -1
  247. package/dist/esm/_proto/google/protobuf/timestamp2.js +120 -0
  248. package/dist/esm/_proto/google/protobuf/timestamp2.js.map +1 -0
  249. package/dist/esm/_proto/google/rpc/code.js +223 -23
  250. package/dist/esm/_proto/google/rpc/code.js.map +1 -1
  251. package/dist/esm/_proto/google/rpc/context/attribute_context.js +892 -1248
  252. package/dist/esm/_proto/google/rpc/context/attribute_context.js.map +1 -1
  253. package/dist/esm/_proto/google/rpc/context/audit_context.js +91 -134
  254. package/dist/esm/_proto/google/rpc/context/audit_context.js.map +1 -1
  255. package/dist/esm/_proto/google/rpc/error_details.js +761 -1098
  256. package/dist/esm/_proto/google/rpc/error_details.js.map +1 -1
  257. package/dist/esm/_proto/google/rpc/status.js +72 -100
  258. package/dist/esm/_proto/google/rpc/status.js.map +1 -1
  259. package/dist/esm/_proto/scalapb/scalapb.js +1378 -1818
  260. package/dist/esm/_proto/scalapb/scalapb.js.map +1 -1
  261. package/dist/esm/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/defineProperty.js +12 -0
  262. package/dist/esm/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPrimitive.js +14 -0
  263. package/dist/esm/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPropertyKey.js +9 -0
  264. package/dist/esm/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/typeof.js +11 -0
  265. package/dist/esm/index.js +12 -60
  266. package/package.json +10 -10
  267. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.cjs.map +0 -1
  268. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.cjs.map +0 -1
  269. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.cjs.map +0 -1
  270. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.cjs.map +0 -1
  271. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/object_meta.cjs.map +0 -1
  272. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.cjs.map +0 -1
  273. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.cjs.map +0 -1
  274. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.cjs.map +0 -1
  275. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.cjs.map +0 -1
  276. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.cjs.map +0 -1
  277. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.cjs.map +0 -1
  278. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.cjs.map +0 -1
  279. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.cjs.map +0 -1
  280. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.cjs.map +0 -1
  281. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.client.cjs.map +0 -1
  282. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.cjs.map +0 -1
  283. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.client.cjs.map +0 -1
  284. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.cjs.map +0 -1
  285. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.client.cjs.map +0 -1
  286. package/dist/cjs/_proto/com/daml/ledger/api/v2/commands.cjs.map +0 -1
  287. package/dist/cjs/_proto/com/daml/ledger/api/v2/completion.cjs.map +0 -1
  288. package/dist/cjs/_proto/com/daml/ledger/api/v2/crypto.cjs.map +0 -1
  289. package/dist/cjs/_proto/com/daml/ledger/api/v2/event.cjs.map +0 -1
  290. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.cjs.map +0 -1
  291. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.client.cjs.map +0 -1
  292. package/dist/cjs/_proto/com/daml/ledger/api/v2/experimental_features.cjs.map +0 -1
  293. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.cjs.map +0 -1
  294. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.cjs.map +0 -1
  295. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.cjs.map +0 -1
  296. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.cjs.map +0 -1
  297. package/dist/cjs/_proto/com/daml/ledger/api/v2/offset_checkpoint.cjs.map +0 -1
  298. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_reference.cjs.map +0 -1
  299. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.cjs.map +0 -1
  300. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.client.cjs.map +0 -1
  301. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment.cjs.map +0 -1
  302. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment_commands.cjs.map +0 -1
  303. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.cjs.map +0 -1
  304. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.client.cjs.map +0 -1
  305. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.cjs.map +0 -1
  306. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.client.cjs.map +0 -1
  307. package/dist/cjs/_proto/com/daml/ledger/api/v2/topology_transaction.cjs.map +0 -1
  308. package/dist/cjs/_proto/com/daml/ledger/api/v2/trace_context.cjs.map +0 -1
  309. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction.cjs.map +0 -1
  310. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction_filter.cjs.map +0 -1
  311. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.cjs.map +0 -1
  312. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.client.cjs.map +0 -1
  313. package/dist/cjs/_proto/com/daml/ledger/api/v2/value.cjs.map +0 -1
  314. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.cjs.map +0 -1
  315. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.client.cjs.map +0 -1
  316. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto.cjs.map +0 -1
  317. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto.d.cjs +0 -17
  318. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto.d.cjs.map +0 -1
  319. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.cjs.map +0 -1
  320. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.cjs +0 -17
  321. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.cjs.map +0 -1
  322. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.cjs.map +0 -1
  323. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.cjs +0 -17
  324. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.cjs.map +0 -1
  325. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology.cjs.map +0 -1
  326. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology.d.cjs +0 -17
  327. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology.d.cjs.map +0 -1
  328. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.cjs.map +0 -1
  329. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.cjs +0 -17
  330. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.cjs.map +0 -1
  331. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common.cjs.map +0 -1
  332. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common.d.cjs +0 -17
  333. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common.d.cjs.map +0 -1
  334. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.cjs.map +0 -1
  335. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.cjs.map +0 -1
  336. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.cjs +0 -17
  337. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.cjs.map +0 -1
  338. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.cjs +0 -17
  339. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.cjs.map +0 -1
  340. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.cjs.map +0 -1
  341. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.cjs.map +0 -1
  342. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.cjs +0 -17
  343. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.cjs.map +0 -1
  344. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.cjs +0 -17
  345. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.cjs.map +0 -1
  346. package/dist/cjs/_proto/google/protobuf/any.cjs.map +0 -1
  347. package/dist/cjs/_proto/google/protobuf/descriptor.cjs.map +0 -1
  348. package/dist/cjs/_proto/google/protobuf/duration.cjs.map +0 -1
  349. package/dist/cjs/_proto/google/protobuf/duration.d.cjs +0 -17
  350. package/dist/cjs/_proto/google/protobuf/duration.d.cjs.map +0 -1
  351. package/dist/cjs/_proto/google/protobuf/empty.cjs.map +0 -1
  352. package/dist/cjs/_proto/google/protobuf/empty.d.cjs +0 -17
  353. package/dist/cjs/_proto/google/protobuf/empty.d.cjs.map +0 -1
  354. package/dist/cjs/_proto/google/protobuf/field_mask.cjs.map +0 -1
  355. package/dist/cjs/_proto/google/protobuf/struct.cjs.map +0 -1
  356. package/dist/cjs/_proto/google/protobuf/timestamp.cjs.map +0 -1
  357. package/dist/cjs/_proto/google/protobuf/timestamp.d.cjs +0 -17
  358. package/dist/cjs/_proto/google/protobuf/timestamp.d.cjs.map +0 -1
  359. package/dist/cjs/_proto/google/rpc/code.cjs.map +0 -1
  360. package/dist/cjs/_proto/google/rpc/context/attribute_context.cjs.map +0 -1
  361. package/dist/cjs/_proto/google/rpc/context/audit_context.cjs.map +0 -1
  362. package/dist/cjs/_proto/google/rpc/error_details.cjs.map +0 -1
  363. package/dist/cjs/_proto/google/rpc/status.cjs.map +0 -1
  364. package/dist/cjs/_proto/scalapb/scalapb.cjs.map +0 -1
  365. package/dist/cjs/index.cjs.map +0 -1
  366. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.d.js +0 -1
  367. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.d.js.map +0 -1
  368. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.js +0 -1
  369. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.js.map +0 -1
  370. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.js +0 -1
  371. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.js.map +0 -1
  372. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.d.js +0 -1
  373. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.d.js.map +0 -1
  374. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.js +0 -1
  375. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.js.map +0 -1
  376. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.d.js +0 -1
  377. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.d.js.map +0 -1
  378. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.js +0 -1
  379. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.js.map +0 -1
  380. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.js +0 -1
  381. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.js.map +0 -1
  382. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.js +0 -1
  383. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.js.map +0 -1
  384. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.js +0 -1
  385. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.js.map +0 -1
  386. package/dist/esm/_proto/google/protobuf/duration.d.js +0 -1
  387. package/dist/esm/_proto/google/protobuf/duration.d.js.map +0 -1
  388. package/dist/esm/_proto/google/protobuf/empty.d.js +0 -1
  389. package/dist/esm/_proto/google/protobuf/empty.d.js.map +0 -1
  390. package/dist/esm/_proto/google/protobuf/timestamp.d.js +0 -1
  391. package/dist/esm/_proto/google/protobuf/timestamp.d.js.map +0 -1
  392. package/dist/esm/index.js.map +0 -1
@@ -1,140 +1,131 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
1
+ import _defineProperty from "../../../../../../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/defineProperty.js";
4
2
  import { UpdateService } from "./update_service.js";
5
3
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
6
- class UpdateServiceClient {
7
- constructor(_transport) {
8
- this._transport = _transport;
9
- __publicField(this, "typeName", UpdateService.typeName);
10
- __publicField(this, "methods", UpdateService.methods);
11
- __publicField(this, "options", UpdateService.options);
12
- }
13
- /**
14
- * Read the ledger's filtered update stream for the specified contents and filters.
15
- * It returns the event types in accordance with the stream contents selected. Also the selection criteria
16
- * for individual events depends on the transaction shape chosen.
17
- *
18
- * - ACS delta: a requesting party must be a stakeholder of an event for it to be included.
19
- * - ledger effects: a requesting party must be a witness of an en event for it to be included.
20
- *
21
- * @generated from protobuf rpc: GetUpdates
22
- */
23
- getUpdates(input, options) {
24
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
25
- return stackIntercept(
26
- "serverStreaming",
27
- this._transport,
28
- method,
29
- opt,
30
- input
31
- );
32
- }
33
- /**
34
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
35
- * Read the ledger's complete transaction tree stream and related (un)assignments for a set of parties.
36
- * The stream will be filtered only by the parties as wildcard parties.
37
- * The template/interface filters describe the respective fields in the ``CreatedEvent`` results.
38
- *
39
- * @deprecated
40
- * @generated from protobuf rpc: GetUpdateTrees
41
- */
42
- getUpdateTrees(input, options) {
43
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
44
- return stackIntercept(
45
- "serverStreaming",
46
- this._transport,
47
- method,
48
- opt,
49
- input
50
- );
51
- }
52
- /**
53
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
54
- * Lookup a transaction tree by its offset.
55
- * For looking up a transaction instead of a transaction tree, please see GetTransactionByEventId
56
- * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
57
- *
58
- * @deprecated
59
- * @generated from protobuf rpc: GetTransactionTreeByOffset
60
- */
61
- getTransactionTreeByOffset(input, options) {
62
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
63
- return stackIntercept("unary", this._transport, method, opt, input);
64
- }
65
- /**
66
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
67
- * Lookup a transaction tree by its ID.
68
- * For looking up a transaction instead of a transaction tree, please see GetTransactionById
69
- * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
70
- *
71
- * @deprecated
72
- * @generated from protobuf rpc: GetTransactionTreeById
73
- */
74
- getTransactionTreeById(input, options) {
75
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
76
- return stackIntercept("unary", this._transport, method, opt, input);
77
- }
78
- /**
79
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
80
- * Lookup a transaction by its offset.
81
- * If there is no transaction with this offset, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
82
- * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.
83
- *
84
- * @deprecated
85
- * @generated from protobuf rpc: GetTransactionByOffset
86
- */
87
- getTransactionByOffset(input, options) {
88
- const method = this.methods[4], opt = this._transport.mergeOptions(options);
89
- return stackIntercept("unary", this._transport, method, opt, input);
90
- }
91
- /**
92
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
93
- * Lookup a transaction by its ID.
94
- * If there is no transaction with this id, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
95
- * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.
96
- *
97
- * @deprecated
98
- * @generated from protobuf rpc: GetTransactionById
99
- */
100
- getTransactionById(input, options) {
101
- const method = this.methods[5], opt = this._transport.mergeOptions(options);
102
- return stackIntercept("unary", this._transport, method, opt, input);
103
- }
104
- /**
105
- * Lookup an update by its offset.
106
- * If there is no update with this offset, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.
107
- *
108
- * @generated from protobuf rpc: GetUpdateByOffset
109
- */
110
- getUpdateByOffset(input, options) {
111
- const method = this.methods[6], opt = this._transport.mergeOptions(options);
112
- return stackIntercept(
113
- "unary",
114
- this._transport,
115
- method,
116
- opt,
117
- input
118
- );
119
- }
120
- /**
121
- * Lookup an update by its ID.
122
- * If there is no update with this ID, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.
123
- *
124
- * @generated from protobuf rpc: GetUpdateById
125
- */
126
- getUpdateById(input, options) {
127
- const method = this.methods[7], opt = this._transport.mergeOptions(options);
128
- return stackIntercept(
129
- "unary",
130
- this._transport,
131
- method,
132
- opt,
133
- input
134
- );
135
- }
136
- }
137
- export {
138
- UpdateServiceClient
4
+ //#region src/_proto/com/daml/ledger/api/v2/update_service.client.ts
5
+ /**
6
+ * Allows clients to read updates (transactions, (un)assignments, topology events) from the ledger.
7
+ *
8
+ * ``GetUpdates`` and ``GetUpdateTrees`` provide a comprehensive stream of updates/changes
9
+ * which happened on the virtual shared ledger. These streams are indexed with ledger
10
+ * offsets, which are strictly increasing.
11
+ * The virtual shared ledger consist of changes happening on multiple synchronizers which are
12
+ * connected to the serving participant. Each update belongs to one synchronizer, this is
13
+ * provided in the result (the ``synchronizer_id`` field in ``Transaction`` and ``TransactionTree``
14
+ * for transactions, the ``source`` field in ``UnassignedEvent`` and the ``target`` field in ``AssignedEvent``).
15
+ * Consumers can rely on strong causal guarantees on the virtual shared ledger for a single
16
+ * synchronizer: updates which have greater offsets are happened after than updates with smaller
17
+ * offsets for the same synchronizer. Across different synchronizers this is not guaranteed.
18
+ *
19
+ * @generated from protobuf service com.daml.ledger.api.v2.UpdateService
20
+ */
21
+ var UpdateServiceClient = class {
22
+ constructor(_transport) {
23
+ this._transport = _transport;
24
+ _defineProperty(this, "typeName", UpdateService.typeName);
25
+ _defineProperty(this, "methods", UpdateService.methods);
26
+ _defineProperty(this, "options", UpdateService.options);
27
+ }
28
+ /**
29
+ * Read the ledger's filtered update stream for the specified contents and filters.
30
+ * It returns the event types in accordance with the stream contents selected. Also the selection criteria
31
+ * for individual events depends on the transaction shape chosen.
32
+ *
33
+ * - ACS delta: a requesting party must be a stakeholder of an event for it to be included.
34
+ * - ledger effects: a requesting party must be a witness of an en event for it to be included.
35
+ *
36
+ * @generated from protobuf rpc: GetUpdates
37
+ */
38
+ getUpdates(input, options) {
39
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
40
+ return stackIntercept("serverStreaming", this._transport, method, opt, input);
41
+ }
42
+ /**
43
+ * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
44
+ * Read the ledger's complete transaction tree stream and related (un)assignments for a set of parties.
45
+ * The stream will be filtered only by the parties as wildcard parties.
46
+ * The template/interface filters describe the respective fields in the ``CreatedEvent`` results.
47
+ *
48
+ * @deprecated
49
+ * @generated from protobuf rpc: GetUpdateTrees
50
+ */
51
+ getUpdateTrees(input, options) {
52
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
53
+ return stackIntercept("serverStreaming", this._transport, method, opt, input);
54
+ }
55
+ /**
56
+ * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
57
+ * Lookup a transaction tree by its offset.
58
+ * For looking up a transaction instead of a transaction tree, please see GetTransactionByEventId
59
+ * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
60
+ *
61
+ * @deprecated
62
+ * @generated from protobuf rpc: GetTransactionTreeByOffset
63
+ */
64
+ getTransactionTreeByOffset(input, options) {
65
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
66
+ return stackIntercept("unary", this._transport, method, opt, input);
67
+ }
68
+ /**
69
+ * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
70
+ * Lookup a transaction tree by its ID.
71
+ * For looking up a transaction instead of a transaction tree, please see GetTransactionById
72
+ * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
73
+ *
74
+ * @deprecated
75
+ * @generated from protobuf rpc: GetTransactionTreeById
76
+ */
77
+ getTransactionTreeById(input, options) {
78
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
79
+ return stackIntercept("unary", this._transport, method, opt, input);
80
+ }
81
+ /**
82
+ * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
83
+ * Lookup a transaction by its offset.
84
+ * If there is no transaction with this offset, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
85
+ * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.
86
+ *
87
+ * @deprecated
88
+ * @generated from protobuf rpc: GetTransactionByOffset
89
+ */
90
+ getTransactionByOffset(input, options) {
91
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
92
+ return stackIntercept("unary", this._transport, method, opt, input);
93
+ }
94
+ /**
95
+ * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
96
+ * Lookup a transaction by its ID.
97
+ * If there is no transaction with this id, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
98
+ * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.
99
+ *
100
+ * @deprecated
101
+ * @generated from protobuf rpc: GetTransactionById
102
+ */
103
+ getTransactionById(input, options) {
104
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
105
+ return stackIntercept("unary", this._transport, method, opt, input);
106
+ }
107
+ /**
108
+ * Lookup an update by its offset.
109
+ * If there is no update with this offset, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.
110
+ *
111
+ * @generated from protobuf rpc: GetUpdateByOffset
112
+ */
113
+ getUpdateByOffset(input, options) {
114
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
115
+ return stackIntercept("unary", this._transport, method, opt, input);
116
+ }
117
+ /**
118
+ * Lookup an update by its ID.
119
+ * If there is no update with this ID, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.
120
+ *
121
+ * @generated from protobuf rpc: GetUpdateById
122
+ */
123
+ getUpdateById(input, options) {
124
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
125
+ return stackIntercept("unary", this._transport, method, opt, input);
126
+ }
139
127
  };
128
+ //#endregion
129
+ export { UpdateServiceClient };
130
+
140
131
  //# sourceMappingURL=update_service.client.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../src/_proto/com/daml/ledger/api/v2/update_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/update_service.proto\" (package \"com.daml.ledger.api.v2\", syntax proto3)\n// tslint:disable\n//\n// Copyright (c) 2025 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 { UpdateService } from './update_service.js'\nimport type { GetUpdateByIdRequest } from './update_service.js'\nimport type { GetUpdateResponse } from './update_service.js'\nimport type { GetUpdateByOffsetRequest } from './update_service.js'\nimport type { GetTransactionResponse } from './update_service.js'\nimport type { GetTransactionByIdRequest } from './update_service.js'\nimport type { GetTransactionTreeResponse } from './update_service.js'\nimport type { GetTransactionByOffsetRequest } from './update_service.js'\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc'\nimport type { GetUpdateTreesResponse } from './update_service.js'\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc'\nimport type { GetUpdatesResponse } from './update_service.js'\nimport type { GetUpdatesRequest } from './update_service.js'\nimport type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc'\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc'\n/**\n * Allows clients to read updates (transactions, (un)assignments, topology events) from the ledger.\n *\n * ``GetUpdates`` and ``GetUpdateTrees`` provide a comprehensive stream of updates/changes\n * which happened on the virtual shared ledger. These streams are indexed with ledger\n * offsets, which are strictly increasing.\n * The virtual shared ledger consist of changes happening on multiple synchronizers which are\n * connected to the serving participant. Each update belongs to one synchronizer, this is\n * provided in the result (the ``synchronizer_id`` field in ``Transaction`` and ``TransactionTree``\n * for transactions, the ``source`` field in ``UnassignedEvent`` and the ``target`` field in ``AssignedEvent``).\n * Consumers can rely on strong causal guarantees on the virtual shared ledger for a single\n * synchronizer: updates which have greater offsets are happened after than updates with smaller\n * offsets for the same synchronizer. Across different synchronizers this is not guaranteed.\n *\n * @generated from protobuf service com.daml.ledger.api.v2.UpdateService\n */\nexport interface IUpdateServiceClient {\n /**\n * Read the ledger's filtered update stream for the specified contents and filters.\n * It returns the event types in accordance with the stream contents selected. Also the selection criteria\n * for individual events depends on the transaction shape chosen.\n *\n * - ACS delta: a requesting party must be a stakeholder of an event for it to be included.\n * - ledger effects: a requesting party must be a witness of an en event for it to be included.\n *\n * @generated from protobuf rpc: GetUpdates\n */\n getUpdates(\n input: GetUpdatesRequest,\n options?: RpcOptions\n ): ServerStreamingCall<GetUpdatesRequest, GetUpdatesResponse>\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Read the ledger's complete transaction tree stream and related (un)assignments for a set of parties.\n * The stream will be filtered only by the parties as wildcard parties.\n * The template/interface filters describe the respective fields in the ``CreatedEvent`` results.\n *\n * @deprecated\n * @generated from protobuf rpc: GetUpdateTrees\n */\n getUpdateTrees(\n input: GetUpdatesRequest,\n options?: RpcOptions\n ): ServerStreamingCall<GetUpdatesRequest, GetUpdateTreesResponse>\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction tree by its offset.\n * For looking up a transaction instead of a transaction tree, please see GetTransactionByEventId\n * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionTreeByOffset\n */\n getTransactionTreeByOffset(\n input: GetTransactionByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByOffsetRequest, GetTransactionTreeResponse>\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction tree by its ID.\n * For looking up a transaction instead of a transaction tree, please see GetTransactionById\n * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionTreeById\n */\n getTransactionTreeById(\n input: GetTransactionByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByIdRequest, GetTransactionTreeResponse>\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction by its offset.\n * If there is no transaction with this offset, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionByOffset\n */\n getTransactionByOffset(\n input: GetTransactionByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByOffsetRequest, GetTransactionResponse>\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction by its ID.\n * If there is no transaction with this id, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionById\n */\n getTransactionById(\n input: GetTransactionByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByIdRequest, GetTransactionResponse>\n /**\n * Lookup an update by its offset.\n * If there is no update with this offset, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.\n *\n * @generated from protobuf rpc: GetUpdateByOffset\n */\n getUpdateByOffset(\n input: GetUpdateByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetUpdateByOffsetRequest, GetUpdateResponse>\n /**\n * Lookup an update by its ID.\n * If there is no update with this ID, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.\n *\n * @generated from protobuf rpc: GetUpdateById\n */\n getUpdateById(\n input: GetUpdateByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetUpdateByIdRequest, GetUpdateResponse>\n}\n/**\n * Allows clients to read updates (transactions, (un)assignments, topology events) from the ledger.\n *\n * ``GetUpdates`` and ``GetUpdateTrees`` provide a comprehensive stream of updates/changes\n * which happened on the virtual shared ledger. These streams are indexed with ledger\n * offsets, which are strictly increasing.\n * The virtual shared ledger consist of changes happening on multiple synchronizers which are\n * connected to the serving participant. Each update belongs to one synchronizer, this is\n * provided in the result (the ``synchronizer_id`` field in ``Transaction`` and ``TransactionTree``\n * for transactions, the ``source`` field in ``UnassignedEvent`` and the ``target`` field in ``AssignedEvent``).\n * Consumers can rely on strong causal guarantees on the virtual shared ledger for a single\n * synchronizer: updates which have greater offsets are happened after than updates with smaller\n * offsets for the same synchronizer. Across different synchronizers this is not guaranteed.\n *\n * @generated from protobuf service com.daml.ledger.api.v2.UpdateService\n */\nexport class UpdateServiceClient implements IUpdateServiceClient, ServiceInfo {\n typeName = UpdateService.typeName\n methods = UpdateService.methods\n options = UpdateService.options\n constructor(private readonly _transport: RpcTransport) {}\n /**\n * Read the ledger's filtered update stream for the specified contents and filters.\n * It returns the event types in accordance with the stream contents selected. Also the selection criteria\n * for individual events depends on the transaction shape chosen.\n *\n * - ACS delta: a requesting party must be a stakeholder of an event for it to be included.\n * - ledger effects: a requesting party must be a witness of an en event for it to be included.\n *\n * @generated from protobuf rpc: GetUpdates\n */\n getUpdates(\n input: GetUpdatesRequest,\n options?: RpcOptions\n ): ServerStreamingCall<GetUpdatesRequest, GetUpdatesResponse> {\n const method = this.methods[0],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<GetUpdatesRequest, GetUpdatesResponse>(\n 'serverStreaming',\n this._transport,\n method,\n opt,\n input\n )\n }\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Read the ledger's complete transaction tree stream and related (un)assignments for a set of parties.\n * The stream will be filtered only by the parties as wildcard parties.\n * The template/interface filters describe the respective fields in the ``CreatedEvent`` results.\n *\n * @deprecated\n * @generated from protobuf rpc: GetUpdateTrees\n */\n getUpdateTrees(\n input: GetUpdatesRequest,\n options?: RpcOptions\n ): ServerStreamingCall<GetUpdatesRequest, GetUpdateTreesResponse> {\n const method = this.methods[1],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<GetUpdatesRequest, GetUpdateTreesResponse>(\n 'serverStreaming',\n this._transport,\n method,\n opt,\n input\n )\n }\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction tree by its offset.\n * For looking up a transaction instead of a transaction tree, please see GetTransactionByEventId\n * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionTreeByOffset\n */\n getTransactionTreeByOffset(\n input: GetTransactionByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByOffsetRequest, GetTransactionTreeResponse> {\n const method = this.methods[2],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GetTransactionByOffsetRequest,\n GetTransactionTreeResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction tree by its ID.\n * For looking up a transaction instead of a transaction tree, please see GetTransactionById\n * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionTreeById\n */\n getTransactionTreeById(\n input: GetTransactionByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByIdRequest, GetTransactionTreeResponse> {\n const method = this.methods[3],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GetTransactionByIdRequest,\n GetTransactionTreeResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction by its offset.\n * If there is no transaction with this offset, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionByOffset\n */\n getTransactionByOffset(\n input: GetTransactionByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByOffsetRequest, GetTransactionResponse> {\n const method = this.methods[4],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GetTransactionByOffsetRequest,\n GetTransactionResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction by its ID.\n * If there is no transaction with this id, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionById\n */\n getTransactionById(\n input: GetTransactionByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByIdRequest, GetTransactionResponse> {\n const method = this.methods[5],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GetTransactionByIdRequest,\n GetTransactionResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Lookup an update by its offset.\n * If there is no update with this offset, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.\n *\n * @generated from protobuf rpc: GetUpdateByOffset\n */\n getUpdateByOffset(\n input: GetUpdateByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetUpdateByOffsetRequest, GetUpdateResponse> {\n const method = this.methods[6],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<GetUpdateByOffsetRequest, GetUpdateResponse>(\n 'unary',\n this._transport,\n method,\n opt,\n input\n )\n }\n /**\n * Lookup an update by its ID.\n * If there is no update with this ID, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.\n *\n * @generated from protobuf rpc: GetUpdateById\n */\n getUpdateById(\n input: GetUpdateByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetUpdateByIdRequest, GetUpdateResponse> {\n const method = this.methods[7],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<GetUpdateByIdRequest, GetUpdateResponse>(\n 'unary',\n this._transport,\n method,\n opt,\n input\n )\n }\n}\n"],"mappings":";;;AASA,SAAS,qBAAqB;AAU9B,SAAS,sBAAsB;AA0IxB,MAAM,oBAAiE;AAAA,EAI1E,YAA6B,YAA0B;AAA1B;AAH7B,oCAAW,cAAc;AACzB,mCAAU,cAAc;AACxB,mCAAU,cAAc;AAAA,EACgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWxD,WACI,OACA,SAC0D;AAC1D,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO;AAAA,MACH;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUA,eACI,OACA,SAC8D;AAC9D,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO;AAAA,MACH;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUA,2BACI,OACA,SACoE;AACpE,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAClD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUA,uBACI,OACA,SACgE;AAChE,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAClD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUA,uBACI,OACA,SACgE;AAChE,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAClD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUA,mBACI,OACA,SAC4D;AAC5D,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAClD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,kBACI,OACA,SACsD;AACtD,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO;AAAA,MACH;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,cACI,OACA,SACkD;AAClD,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO;AAAA,MACH;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AACJ;","names":[]}
1
+ {"version":3,"file":"update_service.client.js","names":[],"sources":["../../../../../../../../src/_proto/com/daml/ledger/api/v2/update_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/update_service.proto\" (package \"com.daml.ledger.api.v2\", syntax proto3)\n// tslint:disable\n//\n// Copyright (c) 2025 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 { UpdateService } from './update_service.js'\nimport type { GetUpdateByIdRequest } from './update_service.js'\nimport type { GetUpdateResponse } from './update_service.js'\nimport type { GetUpdateByOffsetRequest } from './update_service.js'\nimport type { GetTransactionResponse } from './update_service.js'\nimport type { GetTransactionByIdRequest } from './update_service.js'\nimport type { GetTransactionTreeResponse } from './update_service.js'\nimport type { GetTransactionByOffsetRequest } from './update_service.js'\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc'\nimport type { GetUpdateTreesResponse } from './update_service.js'\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc'\nimport type { GetUpdatesResponse } from './update_service.js'\nimport type { GetUpdatesRequest } from './update_service.js'\nimport type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc'\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc'\n/**\n * Allows clients to read updates (transactions, (un)assignments, topology events) from the ledger.\n *\n * ``GetUpdates`` and ``GetUpdateTrees`` provide a comprehensive stream of updates/changes\n * which happened on the virtual shared ledger. These streams are indexed with ledger\n * offsets, which are strictly increasing.\n * The virtual shared ledger consist of changes happening on multiple synchronizers which are\n * connected to the serving participant. Each update belongs to one synchronizer, this is\n * provided in the result (the ``synchronizer_id`` field in ``Transaction`` and ``TransactionTree``\n * for transactions, the ``source`` field in ``UnassignedEvent`` and the ``target`` field in ``AssignedEvent``).\n * Consumers can rely on strong causal guarantees on the virtual shared ledger for a single\n * synchronizer: updates which have greater offsets are happened after than updates with smaller\n * offsets for the same synchronizer. Across different synchronizers this is not guaranteed.\n *\n * @generated from protobuf service com.daml.ledger.api.v2.UpdateService\n */\nexport interface IUpdateServiceClient {\n /**\n * Read the ledger's filtered update stream for the specified contents and filters.\n * It returns the event types in accordance with the stream contents selected. Also the selection criteria\n * for individual events depends on the transaction shape chosen.\n *\n * - ACS delta: a requesting party must be a stakeholder of an event for it to be included.\n * - ledger effects: a requesting party must be a witness of an en event for it to be included.\n *\n * @generated from protobuf rpc: GetUpdates\n */\n getUpdates(\n input: GetUpdatesRequest,\n options?: RpcOptions\n ): ServerStreamingCall<GetUpdatesRequest, GetUpdatesResponse>\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Read the ledger's complete transaction tree stream and related (un)assignments for a set of parties.\n * The stream will be filtered only by the parties as wildcard parties.\n * The template/interface filters describe the respective fields in the ``CreatedEvent`` results.\n *\n * @deprecated\n * @generated from protobuf rpc: GetUpdateTrees\n */\n getUpdateTrees(\n input: GetUpdatesRequest,\n options?: RpcOptions\n ): ServerStreamingCall<GetUpdatesRequest, GetUpdateTreesResponse>\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction tree by its offset.\n * For looking up a transaction instead of a transaction tree, please see GetTransactionByEventId\n * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionTreeByOffset\n */\n getTransactionTreeByOffset(\n input: GetTransactionByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByOffsetRequest, GetTransactionTreeResponse>\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction tree by its ID.\n * For looking up a transaction instead of a transaction tree, please see GetTransactionById\n * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionTreeById\n */\n getTransactionTreeById(\n input: GetTransactionByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByIdRequest, GetTransactionTreeResponse>\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction by its offset.\n * If there is no transaction with this offset, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionByOffset\n */\n getTransactionByOffset(\n input: GetTransactionByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByOffsetRequest, GetTransactionResponse>\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction by its ID.\n * If there is no transaction with this id, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionById\n */\n getTransactionById(\n input: GetTransactionByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByIdRequest, GetTransactionResponse>\n /**\n * Lookup an update by its offset.\n * If there is no update with this offset, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.\n *\n * @generated from protobuf rpc: GetUpdateByOffset\n */\n getUpdateByOffset(\n input: GetUpdateByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetUpdateByOffsetRequest, GetUpdateResponse>\n /**\n * Lookup an update by its ID.\n * If there is no update with this ID, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.\n *\n * @generated from protobuf rpc: GetUpdateById\n */\n getUpdateById(\n input: GetUpdateByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetUpdateByIdRequest, GetUpdateResponse>\n}\n/**\n * Allows clients to read updates (transactions, (un)assignments, topology events) from the ledger.\n *\n * ``GetUpdates`` and ``GetUpdateTrees`` provide a comprehensive stream of updates/changes\n * which happened on the virtual shared ledger. These streams are indexed with ledger\n * offsets, which are strictly increasing.\n * The virtual shared ledger consist of changes happening on multiple synchronizers which are\n * connected to the serving participant. Each update belongs to one synchronizer, this is\n * provided in the result (the ``synchronizer_id`` field in ``Transaction`` and ``TransactionTree``\n * for transactions, the ``source`` field in ``UnassignedEvent`` and the ``target`` field in ``AssignedEvent``).\n * Consumers can rely on strong causal guarantees on the virtual shared ledger for a single\n * synchronizer: updates which have greater offsets are happened after than updates with smaller\n * offsets for the same synchronizer. Across different synchronizers this is not guaranteed.\n *\n * @generated from protobuf service com.daml.ledger.api.v2.UpdateService\n */\nexport class UpdateServiceClient implements IUpdateServiceClient, ServiceInfo {\n typeName = UpdateService.typeName\n methods = UpdateService.methods\n options = UpdateService.options\n constructor(private readonly _transport: RpcTransport) {}\n /**\n * Read the ledger's filtered update stream for the specified contents and filters.\n * It returns the event types in accordance with the stream contents selected. Also the selection criteria\n * for individual events depends on the transaction shape chosen.\n *\n * - ACS delta: a requesting party must be a stakeholder of an event for it to be included.\n * - ledger effects: a requesting party must be a witness of an en event for it to be included.\n *\n * @generated from protobuf rpc: GetUpdates\n */\n getUpdates(\n input: GetUpdatesRequest,\n options?: RpcOptions\n ): ServerStreamingCall<GetUpdatesRequest, GetUpdatesResponse> {\n const method = this.methods[0],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<GetUpdatesRequest, GetUpdatesResponse>(\n 'serverStreaming',\n this._transport,\n method,\n opt,\n input\n )\n }\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Read the ledger's complete transaction tree stream and related (un)assignments for a set of parties.\n * The stream will be filtered only by the parties as wildcard parties.\n * The template/interface filters describe the respective fields in the ``CreatedEvent`` results.\n *\n * @deprecated\n * @generated from protobuf rpc: GetUpdateTrees\n */\n getUpdateTrees(\n input: GetUpdatesRequest,\n options?: RpcOptions\n ): ServerStreamingCall<GetUpdatesRequest, GetUpdateTreesResponse> {\n const method = this.methods[1],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<GetUpdatesRequest, GetUpdateTreesResponse>(\n 'serverStreaming',\n this._transport,\n method,\n opt,\n input\n )\n }\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction tree by its offset.\n * For looking up a transaction instead of a transaction tree, please see GetTransactionByEventId\n * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionTreeByOffset\n */\n getTransactionTreeByOffset(\n input: GetTransactionByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByOffsetRequest, GetTransactionTreeResponse> {\n const method = this.methods[2],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GetTransactionByOffsetRequest,\n GetTransactionTreeResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction tree by its ID.\n * For looking up a transaction instead of a transaction tree, please see GetTransactionById\n * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionTreeById\n */\n getTransactionTreeById(\n input: GetTransactionByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByIdRequest, GetTransactionTreeResponse> {\n const method = this.methods[3],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GetTransactionByIdRequest,\n GetTransactionTreeResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction by its offset.\n * If there is no transaction with this offset, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionByOffset\n */\n getTransactionByOffset(\n input: GetTransactionByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByOffsetRequest, GetTransactionResponse> {\n const method = this.methods[4],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GetTransactionByOffsetRequest,\n GetTransactionResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.\n * Lookup a transaction by its ID.\n * If there is no transaction with this id, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.\n * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.\n *\n * @deprecated\n * @generated from protobuf rpc: GetTransactionById\n */\n getTransactionById(\n input: GetTransactionByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetTransactionByIdRequest, GetTransactionResponse> {\n const method = this.methods[5],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GetTransactionByIdRequest,\n GetTransactionResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Lookup an update by its offset.\n * If there is no update with this offset, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.\n *\n * @generated from protobuf rpc: GetUpdateByOffset\n */\n getUpdateByOffset(\n input: GetUpdateByOffsetRequest,\n options?: RpcOptions\n ): UnaryCall<GetUpdateByOffsetRequest, GetUpdateResponse> {\n const method = this.methods[6],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<GetUpdateByOffsetRequest, GetUpdateResponse>(\n 'unary',\n this._transport,\n method,\n opt,\n input\n )\n }\n /**\n * Lookup an update by its ID.\n * If there is no update with this ID, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.\n *\n * @generated from protobuf rpc: GetUpdateById\n */\n getUpdateById(\n input: GetUpdateByIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetUpdateByIdRequest, GetUpdateResponse> {\n const method = this.methods[7],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<GetUpdateByIdRequest, GetUpdateResponse>(\n 'unary',\n this._transport,\n method,\n opt,\n input\n )\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AA6JA,IAAa,sBAAb,MAA8E;CAI1E,YAAY,YAA2C;EAA1B,KAAA,aAAA;EAH7B,gBAAA,MAAA,YAAW,cAAc,QAAA;EACzB,gBAAA,MAAA,WAAU,cAAc,OAAA;EACxB,gBAAA,MAAA,WAAU,cAAc,OAAA;CACgC;;;;;;;;;;;CAWxD,WACI,OACA,SAC0D;EAC1D,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eACH,mBACA,KAAK,YACL,QACA,KACA,KACJ;CACJ;;;;;;;;;;CAUA,eACI,OACA,SAC8D;EAC9D,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eACH,mBACA,KAAK,YACL,QACA,KACA,KACJ;CACJ;;;;;;;;;;CAUA,2BACI,OACA,SACoE;EACpE,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAClD;;;;;;;;;;CAUA,uBACI,OACA,SACgE;EAChE,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAClD;;;;;;;;;;CAUA,uBACI,OACA,SACgE;EAChE,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAClD;;;;;;;;;;CAUA,mBACI,OACA,SAC4D;EAC5D,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAClD;;;;;;;CAOA,kBACI,OACA,SACsD;EACtD,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eACH,SACA,KAAK,YACL,QACA,KACA,KACJ;CACJ;;;;;;;CAOA,cACI,OACA,SACkD;EAClD,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eACH,SACA,KAAK,YACL,QACA,KACA,KACJ;CACJ;AACJ"}