@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,199 +0,0 @@
1
- import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
2
- import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
3
- import type { GetUpdateByIdRequest } from './update_service.js';
4
- import type { GetUpdateResponse } from './update_service.js';
5
- import type { GetUpdateByOffsetRequest } from './update_service.js';
6
- import type { GetTransactionResponse } from './update_service.js';
7
- import type { GetTransactionByIdRequest } from './update_service.js';
8
- import type { GetTransactionTreeResponse } from './update_service.js';
9
- import type { GetTransactionByOffsetRequest } from './update_service.js';
10
- import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
11
- import type { GetUpdateTreesResponse } from './update_service.js';
12
- import type { GetUpdatesResponse } from './update_service.js';
13
- import type { GetUpdatesRequest } from './update_service.js';
14
- import type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc';
15
- import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
16
- /**
17
- * Allows clients to read updates (transactions, (un)assignments, topology events) from the ledger.
18
- *
19
- * ``GetUpdates`` and ``GetUpdateTrees`` provide a comprehensive stream of updates/changes
20
- * which happened on the virtual shared ledger. These streams are indexed with ledger
21
- * offsets, which are strictly increasing.
22
- * The virtual shared ledger consist of changes happening on multiple synchronizers which are
23
- * connected to the serving participant. Each update belongs to one synchronizer, this is
24
- * provided in the result (the ``synchronizer_id`` field in ``Transaction`` and ``TransactionTree``
25
- * for transactions, the ``source`` field in ``UnassignedEvent`` and the ``target`` field in ``AssignedEvent``).
26
- * Consumers can rely on strong causal guarantees on the virtual shared ledger for a single
27
- * synchronizer: updates which have greater offsets are happened after than updates with smaller
28
- * offsets for the same synchronizer. Across different synchronizers this is not guaranteed.
29
- *
30
- * @generated from protobuf service com.daml.ledger.api.v2.UpdateService
31
- */
32
- export interface IUpdateServiceClient {
33
- /**
34
- * Read the ledger's filtered update stream for the specified contents and filters.
35
- * It returns the event types in accordance with the stream contents selected. Also the selection criteria
36
- * for individual events depends on the transaction shape chosen.
37
- *
38
- * - ACS delta: a requesting party must be a stakeholder of an event for it to be included.
39
- * - ledger effects: a requesting party must be a witness of an en event for it to be included.
40
- *
41
- * @generated from protobuf rpc: GetUpdates
42
- */
43
- getUpdates(input: GetUpdatesRequest, options?: RpcOptions): ServerStreamingCall<GetUpdatesRequest, GetUpdatesResponse>;
44
- /**
45
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
46
- * Read the ledger's complete transaction tree stream and related (un)assignments for a set of parties.
47
- * The stream will be filtered only by the parties as wildcard parties.
48
- * The template/interface filters describe the respective fields in the ``CreatedEvent`` results.
49
- *
50
- * @generated from protobuf rpc: GetUpdateTrees
51
- */
52
- getUpdateTrees(input: GetUpdatesRequest, options?: RpcOptions): ServerStreamingCall<GetUpdatesRequest, GetUpdateTreesResponse>;
53
- /**
54
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
55
- * Lookup a transaction tree by its offset.
56
- * For looking up a transaction instead of a transaction tree, please see GetTransactionByEventId
57
- * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
58
- *
59
- * @generated from protobuf rpc: GetTransactionTreeByOffset
60
- */
61
- getTransactionTreeByOffset(input: GetTransactionByOffsetRequest, options?: RpcOptions): UnaryCall<GetTransactionByOffsetRequest, GetTransactionTreeResponse>;
62
- /**
63
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
64
- * Lookup a transaction tree by its ID.
65
- * For looking up a transaction instead of a transaction tree, please see GetTransactionById
66
- * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
67
- *
68
- * @generated from protobuf rpc: GetTransactionTreeById
69
- */
70
- getTransactionTreeById(input: GetTransactionByIdRequest, options?: RpcOptions): UnaryCall<GetTransactionByIdRequest, GetTransactionTreeResponse>;
71
- /**
72
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
73
- * Lookup a transaction by its offset.
74
- * If there is no transaction with this offset, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
75
- * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.
76
- *
77
- * @generated from protobuf rpc: GetTransactionByOffset
78
- */
79
- getTransactionByOffset(input: GetTransactionByOffsetRequest, options?: RpcOptions): UnaryCall<GetTransactionByOffsetRequest, GetTransactionResponse>;
80
- /**
81
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
82
- * Lookup a transaction by its ID.
83
- * If there is no transaction with this id, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
84
- * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.
85
- *
86
- * @generated from protobuf rpc: GetTransactionById
87
- */
88
- getTransactionById(input: GetTransactionByIdRequest, options?: RpcOptions): UnaryCall<GetTransactionByIdRequest, GetTransactionResponse>;
89
- /**
90
- * Lookup an update by its offset.
91
- * If there is no update with this offset, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.
92
- *
93
- * @generated from protobuf rpc: GetUpdateByOffset
94
- */
95
- getUpdateByOffset(input: GetUpdateByOffsetRequest, options?: RpcOptions): UnaryCall<GetUpdateByOffsetRequest, GetUpdateResponse>;
96
- /**
97
- * Lookup an update by its ID.
98
- * If there is no update with this ID, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.
99
- *
100
- * @generated from protobuf rpc: GetUpdateById
101
- */
102
- getUpdateById(input: GetUpdateByIdRequest, options?: RpcOptions): UnaryCall<GetUpdateByIdRequest, GetUpdateResponse>;
103
- }
104
- /**
105
- * Allows clients to read updates (transactions, (un)assignments, topology events) from the ledger.
106
- *
107
- * ``GetUpdates`` and ``GetUpdateTrees`` provide a comprehensive stream of updates/changes
108
- * which happened on the virtual shared ledger. These streams are indexed with ledger
109
- * offsets, which are strictly increasing.
110
- * The virtual shared ledger consist of changes happening on multiple synchronizers which are
111
- * connected to the serving participant. Each update belongs to one synchronizer, this is
112
- * provided in the result (the ``synchronizer_id`` field in ``Transaction`` and ``TransactionTree``
113
- * for transactions, the ``source`` field in ``UnassignedEvent`` and the ``target`` field in ``AssignedEvent``).
114
- * Consumers can rely on strong causal guarantees on the virtual shared ledger for a single
115
- * synchronizer: updates which have greater offsets are happened after than updates with smaller
116
- * offsets for the same synchronizer. Across different synchronizers this is not guaranteed.
117
- *
118
- * @generated from protobuf service com.daml.ledger.api.v2.UpdateService
119
- */
120
- export declare class UpdateServiceClient implements IUpdateServiceClient, ServiceInfo {
121
- private readonly _transport;
122
- typeName: string;
123
- methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
124
- options: {
125
- [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
126
- };
127
- constructor(_transport: RpcTransport);
128
- /**
129
- * Read the ledger's filtered update stream for the specified contents and filters.
130
- * It returns the event types in accordance with the stream contents selected. Also the selection criteria
131
- * for individual events depends on the transaction shape chosen.
132
- *
133
- * - ACS delta: a requesting party must be a stakeholder of an event for it to be included.
134
- * - ledger effects: a requesting party must be a witness of an en event for it to be included.
135
- *
136
- * @generated from protobuf rpc: GetUpdates
137
- */
138
- getUpdates(input: GetUpdatesRequest, options?: RpcOptions): ServerStreamingCall<GetUpdatesRequest, GetUpdatesResponse>;
139
- /**
140
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
141
- * Read the ledger's complete transaction tree stream and related (un)assignments for a set of parties.
142
- * The stream will be filtered only by the parties as wildcard parties.
143
- * The template/interface filters describe the respective fields in the ``CreatedEvent`` results.
144
- *
145
- * @generated from protobuf rpc: GetUpdateTrees
146
- */
147
- getUpdateTrees(input: GetUpdatesRequest, options?: RpcOptions): ServerStreamingCall<GetUpdatesRequest, GetUpdateTreesResponse>;
148
- /**
149
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
150
- * Lookup a transaction tree by its offset.
151
- * For looking up a transaction instead of a transaction tree, please see GetTransactionByEventId
152
- * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
153
- *
154
- * @generated from protobuf rpc: GetTransactionTreeByOffset
155
- */
156
- getTransactionTreeByOffset(input: GetTransactionByOffsetRequest, options?: RpcOptions): UnaryCall<GetTransactionByOffsetRequest, GetTransactionTreeResponse>;
157
- /**
158
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
159
- * Lookup a transaction tree by its ID.
160
- * For looking up a transaction instead of a transaction tree, please see GetTransactionById
161
- * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
162
- *
163
- * @generated from protobuf rpc: GetTransactionTreeById
164
- */
165
- getTransactionTreeById(input: GetTransactionByIdRequest, options?: RpcOptions): UnaryCall<GetTransactionByIdRequest, GetTransactionTreeResponse>;
166
- /**
167
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
168
- * Lookup a transaction by its offset.
169
- * If there is no transaction with this offset, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
170
- * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.
171
- *
172
- * @generated from protobuf rpc: GetTransactionByOffset
173
- */
174
- getTransactionByOffset(input: GetTransactionByOffsetRequest, options?: RpcOptions): UnaryCall<GetTransactionByOffsetRequest, GetTransactionResponse>;
175
- /**
176
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
177
- * Lookup a transaction by its ID.
178
- * If there is no transaction with this id, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
179
- * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.
180
- *
181
- * @generated from protobuf rpc: GetTransactionById
182
- */
183
- getTransactionById(input: GetTransactionByIdRequest, options?: RpcOptions): UnaryCall<GetTransactionByIdRequest, GetTransactionResponse>;
184
- /**
185
- * Lookup an update by its offset.
186
- * If there is no update with this offset, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.
187
- *
188
- * @generated from protobuf rpc: GetUpdateByOffset
189
- */
190
- getUpdateByOffset(input: GetUpdateByOffsetRequest, options?: RpcOptions): UnaryCall<GetUpdateByOffsetRequest, GetUpdateResponse>;
191
- /**
192
- * Lookup an update by its ID.
193
- * If there is no update with this ID, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.
194
- *
195
- * @generated from protobuf rpc: GetUpdateById
196
- */
197
- getUpdateById(input: GetUpdateByIdRequest, options?: RpcOptions): UnaryCall<GetUpdateByIdRequest, GetUpdateResponse>;
198
- }
199
- //# sourceMappingURL=update_service.client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update_service.client.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/update_service.client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAE3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AACjE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAA;AACpE,OAAO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AAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,6BAA6B,EAAE,sBAAsB,CAAC;IAQnE;;;;;;;OAOG;IACH,kBAAkB,CACd,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,yBAAyB,EAAE,sBAAsB,CAAC;IAQ/D;;;;;OAKG;IACH,iBAAiB,CACb,KAAK,EAAE,wBAAwB,EAC/B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,wBAAwB,EAAE,iBAAiB,CAAC;IAWzD;;;;;OAKG;IACH,aAAa,CACT,KAAK,EAAE,oBAAoB,EAC3B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,oBAAoB,EAAE,iBAAiB,CAAC;CAWxD"}
@@ -1,121 +0,0 @@
1
- import { UpdateService } from './update_service.js';
2
- import { stackIntercept } from '@protobuf-ts/runtime-rpc';
3
- /**
4
- * Allows clients to read updates (transactions, (un)assignments, topology events) from the ledger.
5
- *
6
- * ``GetUpdates`` and ``GetUpdateTrees`` provide a comprehensive stream of updates/changes
7
- * which happened on the virtual shared ledger. These streams are indexed with ledger
8
- * offsets, which are strictly increasing.
9
- * The virtual shared ledger consist of changes happening on multiple synchronizers which are
10
- * connected to the serving participant. Each update belongs to one synchronizer, this is
11
- * provided in the result (the ``synchronizer_id`` field in ``Transaction`` and ``TransactionTree``
12
- * for transactions, the ``source`` field in ``UnassignedEvent`` and the ``target`` field in ``AssignedEvent``).
13
- * Consumers can rely on strong causal guarantees on the virtual shared ledger for a single
14
- * synchronizer: updates which have greater offsets are happened after than updates with smaller
15
- * offsets for the same synchronizer. Across different synchronizers this is not guaranteed.
16
- *
17
- * @generated from protobuf service com.daml.ledger.api.v2.UpdateService
18
- */
19
- export class UpdateServiceClient {
20
- _transport;
21
- typeName = UpdateService.typeName;
22
- methods = UpdateService.methods;
23
- options = UpdateService.options;
24
- constructor(_transport) {
25
- this._transport = _transport;
26
- }
27
- /**
28
- * Read the ledger's filtered update stream for the specified contents and filters.
29
- * It returns the event types in accordance with the stream contents selected. Also the selection criteria
30
- * for individual events depends on the transaction shape chosen.
31
- *
32
- * - ACS delta: a requesting party must be a stakeholder of an event for it to be included.
33
- * - ledger effects: a requesting party must be a witness of an en event for it to be included.
34
- *
35
- * @generated from protobuf rpc: GetUpdates
36
- */
37
- getUpdates(input, options) {
38
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
39
- return stackIntercept('serverStreaming', this._transport, method, opt, input);
40
- }
41
- /**
42
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
43
- * Read the ledger's complete transaction tree stream and related (un)assignments for a set of parties.
44
- * The stream will be filtered only by the parties as wildcard parties.
45
- * The template/interface filters describe the respective fields in the ``CreatedEvent`` results.
46
- *
47
- * @generated from protobuf rpc: GetUpdateTrees
48
- */
49
- getUpdateTrees(input, options) {
50
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
51
- return stackIntercept('serverStreaming', this._transport, method, opt, input);
52
- }
53
- /**
54
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
55
- * Lookup a transaction tree by its offset.
56
- * For looking up a transaction instead of a transaction tree, please see GetTransactionByEventId
57
- * If the transaction cannot be found for the request, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
58
- *
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
- * @generated from protobuf rpc: GetTransactionTreeById
72
- */
73
- getTransactionTreeById(input, options) {
74
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
75
- return stackIntercept('unary', this._transport, method, opt, input);
76
- }
77
- /**
78
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
79
- * Lookup a transaction by its offset.
80
- * If there is no transaction with this offset, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
81
- * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.
82
- *
83
- * @generated from protobuf rpc: GetTransactionByOffset
84
- */
85
- getTransactionByOffset(input, options) {
86
- const method = this.methods[4], opt = this._transport.mergeOptions(options);
87
- return stackIntercept('unary', this._transport, method, opt, input);
88
- }
89
- /**
90
- * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
91
- * Lookup a transaction by its ID.
92
- * If there is no transaction with this id, or all the events are filtered, a TRANSACTION_NOT_FOUND error will be raised.
93
- * Use a wildcard template filter if you want to retrieve any transaction visible to the parties you can read as.
94
- *
95
- * @generated from protobuf rpc: GetTransactionById
96
- */
97
- getTransactionById(input, options) {
98
- const method = this.methods[5], opt = this._transport.mergeOptions(options);
99
- return stackIntercept('unary', this._transport, method, opt, input);
100
- }
101
- /**
102
- * Lookup an update by its offset.
103
- * If there is no update with this offset, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.
104
- *
105
- * @generated from protobuf rpc: GetUpdateByOffset
106
- */
107
- getUpdateByOffset(input, options) {
108
- const method = this.methods[6], opt = this._transport.mergeOptions(options);
109
- return stackIntercept('unary', this._transport, method, opt, input);
110
- }
111
- /**
112
- * Lookup an update by its ID.
113
- * If there is no update with this ID, or all the events are filtered, an UPDATE_NOT_FOUND error will be raised.
114
- *
115
- * @generated from protobuf rpc: GetUpdateById
116
- */
117
- getUpdateById(input, options) {
118
- const method = this.methods[7], opt = this._transport.mergeOptions(options);
119
- return stackIntercept('unary', this._transport, method, opt, input);
120
- }
121
- }