@canton-network/core-ledger-client 0.8.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/dist/generated-clients/openapi-3.4.0-SNAPSHOT.d.ts +5563 -0
  2. package/dist/generated-clients/openapi-3.4.0-SNAPSHOT.d.ts.map +1 -0
  3. package/dist/generated-clients/openapi-3.4.0-SNAPSHOT.js +5 -0
  4. package/dist/index.d.ts +2 -10
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1 -9
  7. package/dist/ledger-client.d.ts +22 -12
  8. package/dist/ledger-client.d.ts.map +1 -1
  9. package/dist/ledger-client.js +68 -24
  10. package/dist/token-standard-service.d.ts +8 -0
  11. package/dist/token-standard-service.d.ts.map +1 -1
  12. package/dist/token-standard-service.js +28 -0
  13. package/dist/txparse/parser.d.ts.map +1 -1
  14. package/dist/txparse/parser.js +7 -4
  15. package/dist/txparse/parser.test.js +2 -1
  16. package/dist/txparse/types.d.ts +9 -9
  17. package/dist/txparse/types.d.ts.map +1 -1
  18. package/package.json +5 -5
  19. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +0 -58
  20. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +0 -1
  21. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +0 -34
  22. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +0 -232
  23. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +0 -1
  24. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +0 -560
  25. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +0 -144
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +0 -1
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +0 -85
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +0 -291
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +0 -1
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +0 -663
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +0 -76
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +0 -1
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +0 -96
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +0 -106
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +0 -1
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +0 -62
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +0 -199
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +0 -1
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +0 -427
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +0 -56
  41. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +0 -1
  42. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +0 -35
  43. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +0 -81
  44. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +0 -1
  45. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +0 -135
  46. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +0 -196
  47. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +0 -1
  48. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +0 -113
  49. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +0 -413
  50. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +0 -1
  51. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +0 -867
  52. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +0 -210
  53. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +0 -1
  54. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +0 -126
  55. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +0 -758
  56. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +0 -1
  57. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +0 -1580
  58. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +0 -66
  59. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +0 -1
  60. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +0 -38
  61. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +0 -90
  62. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +0 -1
  63. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +0 -178
  64. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +0 -99
  65. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +0 -1
  66. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +0 -61
  67. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +0 -210
  68. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +0 -1
  69. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +0 -436
  70. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +0 -80
  71. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +0 -1
  72. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +0 -47
  73. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +0 -91
  74. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +0 -1
  75. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +0 -200
  76. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +0 -491
  77. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +0 -1
  78. package/dist/_proto/com/daml/ledger/api/v2/commands.js +0 -828
  79. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +0 -149
  80. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +0 -1
  81. package/dist/_proto/com/daml/ledger/api/v2/completion.js +0 -196
  82. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +0 -495
  83. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +0 -1
  84. package/dist/_proto/com/daml/ledger/api/v2/event.js +0 -723
  85. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +0 -52
  86. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +0 -1
  87. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +0 -31
  88. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +0 -150
  89. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +0 -1
  90. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +0 -291
  91. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +0 -96
  92. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +0 -1
  93. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +0 -225
  94. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +0 -43
  95. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +0 -1
  96. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +0 -85
  97. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +0 -100
  98. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +0 -1
  99. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +0 -59
  100. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +0 -877
  101. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +0 -1
  102. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +0 -1768
  103. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +0 -259
  104. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +0 -1
  105. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +0 -667
  106. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +0 -69
  107. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +0 -1
  108. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +0 -133
  109. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +0 -41
  110. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +0 -1
  111. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +0 -84
  112. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +0 -68
  113. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +0 -1
  114. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +0 -43
  115. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +0 -181
  116. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +0 -1
  117. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +0 -395
  118. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +0 -308
  119. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +0 -1
  120. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +0 -521
  121. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +0 -193
  122. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +0 -1
  123. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +0 -350
  124. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +0 -91
  125. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +0 -1
  126. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +0 -56
  127. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +0 -448
  128. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +0 -1
  129. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +0 -874
  130. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +0 -54
  131. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +0 -1
  132. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +0 -34
  133. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +0 -78
  134. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +0 -1
  135. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +0 -168
  136. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +0 -211
  137. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +0 -1
  138. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +0 -447
  139. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +0 -33
  140. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +0 -1
  141. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +0 -69
  142. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +0 -252
  143. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +0 -1
  144. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +0 -410
  145. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +0 -453
  146. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +0 -1
  147. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +0 -815
  148. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +0 -199
  149. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +0 -1
  150. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +0 -121
  151. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +0 -424
  152. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +0 -1
  153. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +0 -853
  154. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +0 -500
  155. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +0 -1
  156. package/dist/_proto/com/daml/ledger/api/v2/value.js +0 -937
  157. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +0 -40
  158. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +0 -1
  159. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +0 -25
  160. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +0 -190
  161. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +0 -1
  162. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +0 -400
  163. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +0 -1028
  164. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +0 -1
  165. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +0 -2110
  166. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +0 -30
  167. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +0 -1
  168. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +0 -62
  169. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +0 -168
  170. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +0 -1
  171. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +0 -395
  172. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +0 -1105
  173. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +0 -1
  174. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +0 -2294
  175. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +0 -278
  176. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +0 -1
  177. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +0 -654
  178. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +0 -166
  179. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +0 -1
  180. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +0 -379
  181. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +0 -199
  182. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +0 -1
  183. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +0 -136
  184. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +0 -1195
  185. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +0 -1
  186. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +0 -3342
  187. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +0 -119
  188. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +0 -1
  189. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +0 -76
  190. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +0 -607
  191. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +0 -1
  192. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +0 -1292
  193. package/dist/_proto/google/protobuf/any.d.ts +0 -177
  194. package/dist/_proto/google/protobuf/any.d.ts.map +0 -1
  195. package/dist/_proto/google/protobuf/any.js +0 -175
  196. package/dist/_proto/google/protobuf/descriptor.d.ts +0 -1638
  197. package/dist/_proto/google/protobuf/descriptor.d.ts.map +0 -1
  198. package/dist/_proto/google/protobuf/descriptor.js +0 -2999
  199. package/dist/_proto/google/protobuf/duration.d.ts +0 -114
  200. package/dist/_proto/google/protobuf/duration.d.ts.map +0 -1
  201. package/dist/_proto/google/protobuf/duration.js +0 -113
  202. package/dist/_proto/google/protobuf/empty.d.ts +0 -33
  203. package/dist/_proto/google/protobuf/empty.d.ts.map +0 -1
  204. package/dist/_proto/google/protobuf/empty.js +0 -41
  205. package/dist/_proto/google/protobuf/field_mask.d.ts +0 -240
  206. package/dist/_proto/google/protobuf/field_mask.d.ts.map +0 -1
  207. package/dist/_proto/google/protobuf/field_mask.js +0 -95
  208. package/dist/_proto/google/protobuf/struct.d.ts +0 -187
  209. package/dist/_proto/google/protobuf/struct.d.ts.map +0 -1
  210. package/dist/_proto/google/protobuf/struct.js +0 -417
  211. package/dist/_proto/google/protobuf/timestamp.d.ts +0 -159
  212. package/dist/_proto/google/protobuf/timestamp.d.ts.map +0 -1
  213. package/dist/_proto/google/protobuf/timestamp.js +0 -157
  214. package/dist/_proto/google/rpc/code.d.ts +0 -219
  215. package/dist/_proto/google/rpc/code.d.ts.map +0 -1
  216. package/dist/_proto/google/rpc/code.js +0 -237
  217. package/dist/_proto/google/rpc/context/attribute_context.d.ts +0 -594
  218. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +0 -1
  219. package/dist/_proto/google/rpc/context/attribute_context.js +0 -1007
  220. package/dist/_proto/google/rpc/context/audit_context.d.ts +0 -62
  221. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +0 -1
  222. package/dist/_proto/google/rpc/context/audit_context.js +0 -111
  223. package/dist/_proto/google/rpc/error_details.d.ts +0 -549
  224. package/dist/_proto/google/rpc/error_details.d.ts.map +0 -1
  225. package/dist/_proto/google/rpc/error_details.js +0 -918
  226. package/dist/_proto/google/rpc/status.d.ts +0 -55
  227. package/dist/_proto/google/rpc/status.d.ts.map +0 -1
  228. package/dist/_proto/google/rpc/status.js +0 -79
  229. package/dist/_proto/scalapb/scalapb.d.ts +0 -779
  230. package/dist/_proto/scalapb/scalapb.d.ts.map +0 -1
  231. package/dist/_proto/scalapb/scalapb.js +0 -1658
@@ -1,52 +0,0 @@
1
- import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
2
- import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
3
- import type { GetEventsByContractIdResponse } from './event_query_service.js';
4
- import type { GetEventsByContractIdRequest } from './event_query_service.js';
5
- import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
6
- import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
7
- /**
8
- * Query events by contract id.
9
- *
10
- * Note that querying by contract key is not (yet) supported, as contract keys
11
- * are not supported (yet) in multi-synchronizer scenarios.
12
- *
13
- * @generated from protobuf service com.daml.ledger.api.v2.EventQueryService
14
- */
15
- export interface IEventQueryServiceClient {
16
- /**
17
- * Get the create and the consuming exercise event for the contract with the provided ID.
18
- * No events will be returned for contracts that have been pruned because they
19
- * have already been archived before the latest pruning offset.
20
- * If the contract cannot be found for the request, or all the contract-events are filtered, a CONTRACT_EVENTS_NOT_FOUND error will be raised.
21
- *
22
- * @generated from protobuf rpc: GetEventsByContractId
23
- */
24
- getEventsByContractId(input: GetEventsByContractIdRequest, options?: RpcOptions): UnaryCall<GetEventsByContractIdRequest, GetEventsByContractIdResponse>;
25
- }
26
- /**
27
- * Query events by contract id.
28
- *
29
- * Note that querying by contract key is not (yet) supported, as contract keys
30
- * are not supported (yet) in multi-synchronizer scenarios.
31
- *
32
- * @generated from protobuf service com.daml.ledger.api.v2.EventQueryService
33
- */
34
- export declare class EventQueryServiceClient implements IEventQueryServiceClient, ServiceInfo {
35
- private readonly _transport;
36
- typeName: string;
37
- methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
38
- options: {
39
- [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
40
- };
41
- constructor(_transport: RpcTransport);
42
- /**
43
- * Get the create and the consuming exercise event for the contract with the provided ID.
44
- * No events will be returned for contracts that have been pruned because they
45
- * have already been archived before the latest pruning offset.
46
- * If the contract cannot be found for the request, or all the contract-events are filtered, a CONTRACT_EVENTS_NOT_FOUND error will be raised.
47
- *
48
- * @generated from protobuf rpc: GetEventsByContractId
49
- */
50
- getEventsByContractId(input: GetEventsByContractIdRequest, options?: RpcOptions): UnaryCall<GetEventsByContractIdRequest, GetEventsByContractIdResponse>;
51
- }
52
- //# sourceMappingURL=event_query_service.client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"event_query_service.client.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/event_query_service.client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAG3D,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAA;AAC7E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAC1D;;;;;;;GAOG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;;;;OAOG;IACH,qBAAqB,CACjB,KAAK,EAAE,4BAA4B,EACnC,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,4BAA4B,EAAE,6BAA6B,CAAC,CAAA;CAC5E;AACD;;;;;;;GAOG;AACH,qBAAa,uBACT,YAAW,wBAAwB,EAAE,WAAW;IAKpC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAHvC,QAAQ,SAA6B;IACrC,OAAO,4DAA4B;IACnC,OAAO;;MAA4B;gBACN,UAAU,EAAE,YAAY;IACrD;;;;;;;OAOG;IACH,qBAAqB,CACjB,KAAK,EAAE,4BAA4B,EACnC,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,4BAA4B,EAAE,6BAA6B,CAAC;CAQ5E"}
@@ -1,31 +0,0 @@
1
- import { EventQueryService } from './event_query_service.js';
2
- import { stackIntercept } from '@protobuf-ts/runtime-rpc';
3
- /**
4
- * Query events by contract id.
5
- *
6
- * Note that querying by contract key is not (yet) supported, as contract keys
7
- * are not supported (yet) in multi-synchronizer scenarios.
8
- *
9
- * @generated from protobuf service com.daml.ledger.api.v2.EventQueryService
10
- */
11
- export class EventQueryServiceClient {
12
- _transport;
13
- typeName = EventQueryService.typeName;
14
- methods = EventQueryService.methods;
15
- options = EventQueryService.options;
16
- constructor(_transport) {
17
- this._transport = _transport;
18
- }
19
- /**
20
- * Get the create and the consuming exercise event for the contract with the provided ID.
21
- * No events will be returned for contracts that have been pruned because they
22
- * have already been archived before the latest pruning offset.
23
- * If the contract cannot be found for the request, or all the contract-events are filtered, a CONTRACT_EVENTS_NOT_FOUND error will be raised.
24
- *
25
- * @generated from protobuf rpc: GetEventsByContractId
26
- */
27
- getEventsByContractId(input, options) {
28
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
29
- return stackIntercept('unary', this._transport, method, opt, input);
30
- }
31
- }
@@ -1,150 +0,0 @@
1
- import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
- import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
3
- import type { IBinaryWriter } from '@protobuf-ts/runtime';
4
- import type { BinaryReadOptions } from '@protobuf-ts/runtime';
5
- import type { IBinaryReader } from '@protobuf-ts/runtime';
6
- import type { PartialMessage } from '@protobuf-ts/runtime';
7
- import { MessageType } from '@protobuf-ts/runtime';
8
- import { ArchivedEvent } from './event.js';
9
- import { CreatedEvent } from './event.js';
10
- import { EventFormat } from './transaction_filter.js';
11
- /**
12
- * @generated from protobuf message com.daml.ledger.api.v2.GetEventsByContractIdRequest
13
- */
14
- export interface GetEventsByContractIdRequest {
15
- /**
16
- * The contract id being queried.
17
- * Required
18
- *
19
- * @generated from protobuf field: string contract_id = 1
20
- */
21
- contractId: string;
22
- /**
23
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
24
- * The parties whose events the client expects to see.
25
- * The events associated with the contract id will only be returned if the requesting parties includes
26
- * at least one party that is a stakeholder of the event. For a definition of stakeholders see
27
- * https://docs.daml.com/concepts/ledger-model/ledger-privacy.html#contract-observers-and-stakeholders
28
- * Optional, if some parties specified, event_format needs to be unset.
29
- *
30
- * @generated from protobuf field: repeated string requesting_parties = 2
31
- */
32
- requestingParties: string[];
33
- /**
34
- * Format of the events in the result, the presentation will be of TRANSACTION_SHAPE_ACS_DELTA.
35
- * Optional for backwards compatibility, defaults to an EventFormat where:
36
- *
37
- * - filters_by_party is a template-wildcard filter for all requesting_parties
38
- * - filters_for_any_party is unset
39
- * - verbose is set
40
- *
41
- * @generated from protobuf field: com.daml.ledger.api.v2.EventFormat event_format = 3
42
- */
43
- eventFormat?: EventFormat;
44
- }
45
- /**
46
- * @generated from protobuf message com.daml.ledger.api.v2.GetEventsByContractIdResponse
47
- */
48
- export interface GetEventsByContractIdResponse {
49
- /**
50
- * The create event for the contract with the ``contract_id`` given in the request
51
- * provided it exists and has not yet been pruned.
52
- * Optional
53
- *
54
- * @generated from protobuf field: com.daml.ledger.api.v2.Created created = 1
55
- */
56
- created?: Created;
57
- /**
58
- * The archive event for the contract with the ``contract_id`` given in the request
59
- * provided such an archive event exists and it has not yet been pruned.
60
- * Optional
61
- *
62
- * @generated from protobuf field: com.daml.ledger.api.v2.Archived archived = 2
63
- */
64
- archived?: Archived;
65
- }
66
- /**
67
- * @generated from protobuf message com.daml.ledger.api.v2.Created
68
- */
69
- export interface Created {
70
- /**
71
- * Required
72
- * The event as it appeared in the context of its original update (i.e. daml transaction or
73
- * reassignment) on this participant node. You can use its offset and node_id to find the
74
- * corresponding update and the node within it.
75
- *
76
- * @generated from protobuf field: com.daml.ledger.api.v2.CreatedEvent created_event = 1
77
- */
78
- createdEvent?: CreatedEvent;
79
- /**
80
- * The synchronizer which sequenced the creation of the contract
81
- * Required
82
- *
83
- * @generated from protobuf field: string synchronizer_id = 2
84
- */
85
- synchronizerId: string;
86
- }
87
- /**
88
- * @generated from protobuf message com.daml.ledger.api.v2.Archived
89
- */
90
- export interface Archived {
91
- /**
92
- * Required
93
- *
94
- * @generated from protobuf field: com.daml.ledger.api.v2.ArchivedEvent archived_event = 1
95
- */
96
- archivedEvent?: ArchivedEvent;
97
- /**
98
- * Required
99
- * The synchronizer which sequenced the archival of the contract
100
- *
101
- * @generated from protobuf field: string synchronizer_id = 2
102
- */
103
- synchronizerId: string;
104
- }
105
- declare class GetEventsByContractIdRequest$Type extends MessageType<GetEventsByContractIdRequest> {
106
- constructor();
107
- create(value?: PartialMessage<GetEventsByContractIdRequest>): GetEventsByContractIdRequest;
108
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetEventsByContractIdRequest): GetEventsByContractIdRequest;
109
- internalBinaryWrite(message: GetEventsByContractIdRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
110
- }
111
- /**
112
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetEventsByContractIdRequest
113
- */
114
- export declare const GetEventsByContractIdRequest: GetEventsByContractIdRequest$Type;
115
- declare class GetEventsByContractIdResponse$Type extends MessageType<GetEventsByContractIdResponse> {
116
- constructor();
117
- create(value?: PartialMessage<GetEventsByContractIdResponse>): GetEventsByContractIdResponse;
118
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetEventsByContractIdResponse): GetEventsByContractIdResponse;
119
- internalBinaryWrite(message: GetEventsByContractIdResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
120
- }
121
- /**
122
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetEventsByContractIdResponse
123
- */
124
- export declare const GetEventsByContractIdResponse: GetEventsByContractIdResponse$Type;
125
- declare class Created$Type extends MessageType<Created> {
126
- constructor();
127
- create(value?: PartialMessage<Created>): Created;
128
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Created): Created;
129
- internalBinaryWrite(message: Created, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
130
- }
131
- /**
132
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.Created
133
- */
134
- export declare const Created: Created$Type;
135
- declare class Archived$Type extends MessageType<Archived> {
136
- constructor();
137
- create(value?: PartialMessage<Archived>): Archived;
138
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Archived): Archived;
139
- internalBinaryWrite(message: Archived, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
140
- }
141
- /**
142
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.Archived
143
- */
144
- export declare const Archived: Archived$Type;
145
- /**
146
- * @generated ServiceType for protobuf service com.daml.ledger.api.v2.EventQueryService
147
- */
148
- export declare const EventQueryService: ServiceType;
149
- export {};
150
- //# sourceMappingURL=event_query_service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"event_query_service.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/event_query_service.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,a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kBAAkB,CACd,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,iBAAiB,EAC1B,MAAM,CAAC,EAAE,QAAQ,GAClB,QAAQ;IAoCX,mBAAmB,CACf,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,kBAAkB,GAC5B,aAAa;CAsBnB;AACD;;GAEG;AACH,eAAO,MAAM,QAAQ,eAAsB,CAAA;AAC3C;;GAEG;AACH,eAAO,MAAM,iBAAiB,aAU7B,CAAA"}
@@ -1,291 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter generate_dependencies
2
- // @generated from protobuf file "com/daml/ledger/api/v2/event_query_service.proto" (package "com.daml.ledger.api.v2", syntax proto3)
3
- // tslint:disable
4
- //
5
- // Copyright (c) 2025 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
6
- // SPDX-License-Identifier: Apache-2.0
7
- //
8
- import { ServiceType } from '@protobuf-ts/runtime-rpc';
9
- import { WireType } from '@protobuf-ts/runtime';
10
- import { UnknownFieldHandler } from '@protobuf-ts/runtime';
11
- import { reflectionMergePartial } from '@protobuf-ts/runtime';
12
- import { MessageType } from '@protobuf-ts/runtime';
13
- import { ArchivedEvent } from './event.js';
14
- import { CreatedEvent } from './event.js';
15
- import { EventFormat } from './transaction_filter.js';
16
- // @generated message type with reflection information, may provide speed optimized methods
17
- class GetEventsByContractIdRequest$Type extends MessageType {
18
- constructor() {
19
- super('com.daml.ledger.api.v2.GetEventsByContractIdRequest', [
20
- {
21
- no: 1,
22
- name: 'contract_id',
23
- kind: 'scalar',
24
- T: 9 /*ScalarType.STRING*/,
25
- },
26
- {
27
- no: 2,
28
- name: 'requesting_parties',
29
- kind: 'scalar',
30
- repeat: 2 /*RepeatType.UNPACKED*/,
31
- T: 9 /*ScalarType.STRING*/,
32
- },
33
- {
34
- no: 3,
35
- name: 'event_format',
36
- kind: 'message',
37
- T: () => EventFormat,
38
- },
39
- ]);
40
- }
41
- create(value) {
42
- const message = globalThis.Object.create(this.messagePrototype);
43
- message.contractId = '';
44
- message.requestingParties = [];
45
- if (value !== undefined)
46
- reflectionMergePartial(this, message, value);
47
- return message;
48
- }
49
- internalBinaryRead(reader, length, options, target) {
50
- let message = target ?? this.create(), end = reader.pos + length;
51
- while (reader.pos < end) {
52
- let [fieldNo, wireType] = reader.tag();
53
- switch (fieldNo) {
54
- case /* string contract_id */ 1:
55
- message.contractId = reader.string();
56
- break;
57
- case /* repeated string requesting_parties */ 2:
58
- message.requestingParties.push(reader.string());
59
- break;
60
- case /* com.daml.ledger.api.v2.EventFormat event_format */ 3:
61
- message.eventFormat = EventFormat.internalBinaryRead(reader, reader.uint32(), options, message.eventFormat);
62
- break;
63
- default:
64
- let u = options.readUnknownField;
65
- if (u === 'throw')
66
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
67
- let d = reader.skip(wireType);
68
- if (u !== false)
69
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
70
- }
71
- }
72
- return message;
73
- }
74
- internalBinaryWrite(message, writer, options) {
75
- /* string contract_id = 1; */
76
- if (message.contractId !== '')
77
- writer.tag(1, WireType.LengthDelimited).string(message.contractId);
78
- /* repeated string requesting_parties = 2; */
79
- for (let i = 0; i < message.requestingParties.length; i++)
80
- writer
81
- .tag(2, WireType.LengthDelimited)
82
- .string(message.requestingParties[i]);
83
- /* com.daml.ledger.api.v2.EventFormat event_format = 3; */
84
- if (message.eventFormat)
85
- EventFormat.internalBinaryWrite(message.eventFormat, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
86
- let u = options.writeUnknownFields;
87
- if (u !== false)
88
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
89
- return writer;
90
- }
91
- }
92
- /**
93
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetEventsByContractIdRequest
94
- */
95
- export const GetEventsByContractIdRequest = new GetEventsByContractIdRequest$Type();
96
- // @generated message type with reflection information, may provide speed optimized methods
97
- class GetEventsByContractIdResponse$Type extends MessageType {
98
- constructor() {
99
- super('com.daml.ledger.api.v2.GetEventsByContractIdResponse', [
100
- { no: 1, name: 'created', kind: 'message', T: () => Created },
101
- { no: 2, name: 'archived', kind: 'message', T: () => Archived },
102
- ]);
103
- }
104
- create(value) {
105
- const message = globalThis.Object.create(this.messagePrototype);
106
- if (value !== undefined)
107
- reflectionMergePartial(this, message, value);
108
- return message;
109
- }
110
- internalBinaryRead(reader, length, options, target) {
111
- let message = target ?? this.create(), end = reader.pos + length;
112
- while (reader.pos < end) {
113
- let [fieldNo, wireType] = reader.tag();
114
- switch (fieldNo) {
115
- case /* com.daml.ledger.api.v2.Created created */ 1:
116
- message.created = Created.internalBinaryRead(reader, reader.uint32(), options, message.created);
117
- break;
118
- case /* com.daml.ledger.api.v2.Archived archived */ 2:
119
- message.archived = Archived.internalBinaryRead(reader, reader.uint32(), options, message.archived);
120
- break;
121
- default:
122
- let u = options.readUnknownField;
123
- if (u === 'throw')
124
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
125
- let d = reader.skip(wireType);
126
- if (u !== false)
127
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
128
- }
129
- }
130
- return message;
131
- }
132
- internalBinaryWrite(message, writer, options) {
133
- /* com.daml.ledger.api.v2.Created created = 1; */
134
- if (message.created)
135
- Created.internalBinaryWrite(message.created, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
136
- /* com.daml.ledger.api.v2.Archived archived = 2; */
137
- if (message.archived)
138
- Archived.internalBinaryWrite(message.archived, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
139
- let u = options.writeUnknownFields;
140
- if (u !== false)
141
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
142
- return writer;
143
- }
144
- }
145
- /**
146
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetEventsByContractIdResponse
147
- */
148
- export const GetEventsByContractIdResponse = new GetEventsByContractIdResponse$Type();
149
- // @generated message type with reflection information, may provide speed optimized methods
150
- class Created$Type extends MessageType {
151
- constructor() {
152
- super('com.daml.ledger.api.v2.Created', [
153
- {
154
- no: 1,
155
- name: 'created_event',
156
- kind: 'message',
157
- T: () => CreatedEvent,
158
- },
159
- {
160
- no: 2,
161
- name: 'synchronizer_id',
162
- kind: 'scalar',
163
- T: 9 /*ScalarType.STRING*/,
164
- },
165
- ]);
166
- }
167
- create(value) {
168
- const message = globalThis.Object.create(this.messagePrototype);
169
- message.synchronizerId = '';
170
- if (value !== undefined)
171
- reflectionMergePartial(this, message, value);
172
- return message;
173
- }
174
- internalBinaryRead(reader, length, options, target) {
175
- let message = target ?? this.create(), end = reader.pos + length;
176
- while (reader.pos < end) {
177
- let [fieldNo, wireType] = reader.tag();
178
- switch (fieldNo) {
179
- case /* com.daml.ledger.api.v2.CreatedEvent created_event */ 1:
180
- message.createdEvent = CreatedEvent.internalBinaryRead(reader, reader.uint32(), options, message.createdEvent);
181
- break;
182
- case /* string synchronizer_id */ 2:
183
- message.synchronizerId = reader.string();
184
- break;
185
- default:
186
- let u = options.readUnknownField;
187
- if (u === 'throw')
188
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
189
- let d = reader.skip(wireType);
190
- if (u !== false)
191
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
192
- }
193
- }
194
- return message;
195
- }
196
- internalBinaryWrite(message, writer, options) {
197
- /* com.daml.ledger.api.v2.CreatedEvent created_event = 1; */
198
- if (message.createdEvent)
199
- CreatedEvent.internalBinaryWrite(message.createdEvent, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
200
- /* string synchronizer_id = 2; */
201
- if (message.synchronizerId !== '')
202
- writer
203
- .tag(2, WireType.LengthDelimited)
204
- .string(message.synchronizerId);
205
- let u = options.writeUnknownFields;
206
- if (u !== false)
207
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
208
- return writer;
209
- }
210
- }
211
- /**
212
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.Created
213
- */
214
- export const Created = new Created$Type();
215
- // @generated message type with reflection information, may provide speed optimized methods
216
- class Archived$Type extends MessageType {
217
- constructor() {
218
- super('com.daml.ledger.api.v2.Archived', [
219
- {
220
- no: 1,
221
- name: 'archived_event',
222
- kind: 'message',
223
- T: () => ArchivedEvent,
224
- },
225
- {
226
- no: 2,
227
- name: 'synchronizer_id',
228
- kind: 'scalar',
229
- T: 9 /*ScalarType.STRING*/,
230
- },
231
- ]);
232
- }
233
- create(value) {
234
- const message = globalThis.Object.create(this.messagePrototype);
235
- message.synchronizerId = '';
236
- if (value !== undefined)
237
- reflectionMergePartial(this, message, value);
238
- return message;
239
- }
240
- internalBinaryRead(reader, length, options, target) {
241
- let message = target ?? this.create(), end = reader.pos + length;
242
- while (reader.pos < end) {
243
- let [fieldNo, wireType] = reader.tag();
244
- switch (fieldNo) {
245
- case /* com.daml.ledger.api.v2.ArchivedEvent archived_event */ 1:
246
- message.archivedEvent = ArchivedEvent.internalBinaryRead(reader, reader.uint32(), options, message.archivedEvent);
247
- break;
248
- case /* string synchronizer_id */ 2:
249
- message.synchronizerId = reader.string();
250
- break;
251
- default:
252
- let u = options.readUnknownField;
253
- if (u === 'throw')
254
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
255
- let d = reader.skip(wireType);
256
- if (u !== false)
257
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
258
- }
259
- }
260
- return message;
261
- }
262
- internalBinaryWrite(message, writer, options) {
263
- /* com.daml.ledger.api.v2.ArchivedEvent archived_event = 1; */
264
- if (message.archivedEvent)
265
- ArchivedEvent.internalBinaryWrite(message.archivedEvent, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
266
- /* string synchronizer_id = 2; */
267
- if (message.synchronizerId !== '')
268
- writer
269
- .tag(2, WireType.LengthDelimited)
270
- .string(message.synchronizerId);
271
- let u = options.writeUnknownFields;
272
- if (u !== false)
273
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
274
- return writer;
275
- }
276
- }
277
- /**
278
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.Archived
279
- */
280
- export const Archived = new Archived$Type();
281
- /**
282
- * @generated ServiceType for protobuf service com.daml.ledger.api.v2.EventQueryService
283
- */
284
- export const EventQueryService = new ServiceType('com.daml.ledger.api.v2.EventQueryService', [
285
- {
286
- name: 'GetEventsByContractId',
287
- options: {},
288
- I: GetEventsByContractIdRequest,
289
- O: GetEventsByContractIdResponse,
290
- },
291
- ]);
@@ -1,96 +0,0 @@
1
- import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
2
- import type { IBinaryWriter } from '@protobuf-ts/runtime';
3
- import type { BinaryReadOptions } from '@protobuf-ts/runtime';
4
- import type { IBinaryReader } from '@protobuf-ts/runtime';
5
- import type { PartialMessage } from '@protobuf-ts/runtime';
6
- import { MessageType } from '@protobuf-ts/runtime';
7
- /**
8
- * See the feature message definitions for descriptions.
9
- *
10
- * @generated from protobuf message com.daml.ledger.api.v2.ExperimentalFeatures
11
- */
12
- export interface ExperimentalFeatures {
13
- /**
14
- * @generated from protobuf field: com.daml.ledger.api.v2.ExperimentalStaticTime static_time = 1
15
- */
16
- staticTime?: ExperimentalStaticTime;
17
- /**
18
- * @generated from protobuf field: com.daml.ledger.api.v2.ExperimentalCommandInspectionService command_inspection_service = 2
19
- */
20
- commandInspectionService?: ExperimentalCommandInspectionService;
21
- }
22
- /**
23
- * Ledger is in the static time mode and exposes a time service.
24
- *
25
- * @generated from protobuf message com.daml.ledger.api.v2.ExperimentalStaticTime
26
- */
27
- export interface ExperimentalStaticTime {
28
- /**
29
- * @generated from protobuf field: bool supported = 1
30
- */
31
- supported: boolean;
32
- }
33
- /**
34
- * Whether the Ledger API supports command inspection service
35
- *
36
- * @generated from protobuf message com.daml.ledger.api.v2.ExperimentalCommandInspectionService
37
- */
38
- export interface ExperimentalCommandInspectionService {
39
- /**
40
- * @generated from protobuf field: bool supported = 1
41
- */
42
- supported: boolean;
43
- }
44
- /**
45
- * Whether the Ledger API supports party events
46
- *
47
- * @generated from protobuf message com.daml.ledger.api.v2.ExperimentalPartyTopologyEvents
48
- */
49
- export interface ExperimentalPartyTopologyEvents {
50
- /**
51
- * @generated from protobuf field: bool supported = 1
52
- */
53
- supported: boolean;
54
- }
55
- declare class ExperimentalFeatures$Type extends MessageType<ExperimentalFeatures> {
56
- constructor();
57
- create(value?: PartialMessage<ExperimentalFeatures>): ExperimentalFeatures;
58
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExperimentalFeatures): ExperimentalFeatures;
59
- internalBinaryWrite(message: ExperimentalFeatures, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
60
- }
61
- /**
62
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.ExperimentalFeatures
63
- */
64
- export declare const ExperimentalFeatures: ExperimentalFeatures$Type;
65
- declare class ExperimentalStaticTime$Type extends MessageType<ExperimentalStaticTime> {
66
- constructor();
67
- create(value?: PartialMessage<ExperimentalStaticTime>): ExperimentalStaticTime;
68
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExperimentalStaticTime): ExperimentalStaticTime;
69
- internalBinaryWrite(message: ExperimentalStaticTime, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
70
- }
71
- /**
72
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.ExperimentalStaticTime
73
- */
74
- export declare const ExperimentalStaticTime: ExperimentalStaticTime$Type;
75
- declare class ExperimentalCommandInspectionService$Type extends MessageType<ExperimentalCommandInspectionService> {
76
- constructor();
77
- create(value?: PartialMessage<ExperimentalCommandInspectionService>): ExperimentalCommandInspectionService;
78
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExperimentalCommandInspectionService): ExperimentalCommandInspectionService;
79
- internalBinaryWrite(message: ExperimentalCommandInspectionService, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
80
- }
81
- /**
82
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.ExperimentalCommandInspectionService
83
- */
84
- export declare const ExperimentalCommandInspectionService: ExperimentalCommandInspectionService$Type;
85
- declare class ExperimentalPartyTopologyEvents$Type extends MessageType<ExperimentalPartyTopologyEvents> {
86
- constructor();
87
- create(value?: PartialMessage<ExperimentalPartyTopologyEvents>): ExperimentalPartyTopologyEvents;
88
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExperimentalPartyTopologyEvents): ExperimentalPartyTopologyEvents;
89
- internalBinaryWrite(message: ExperimentalPartyTopologyEvents, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
90
- }
91
- /**
92
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.ExperimentalPartyTopologyEvents
93
- */
94
- export declare const ExperimentalPartyTopologyEvents: ExperimentalPartyTopologyEvents$Type;
95
- export {};
96
- //# sourceMappingURL=experimental_features.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"experimental_features.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/experimental_features.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAKlD;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACj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