@canton-network/core-ledger-proto 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/README.md +1 -0
  2. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +58 -0
  3. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +1 -0
  4. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +34 -0
  5. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +232 -0
  6. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +1 -0
  7. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +560 -0
  8. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +144 -0
  9. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +1 -0
  10. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +85 -0
  11. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +291 -0
  12. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +1 -0
  13. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +663 -0
  14. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +76 -0
  15. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +1 -0
  16. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +96 -0
  17. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +106 -0
  18. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +1 -0
  19. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +62 -0
  20. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +199 -0
  21. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +1 -0
  22. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +427 -0
  23. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +56 -0
  24. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +1 -0
  25. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +35 -0
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +81 -0
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +1 -0
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +135 -0
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +196 -0
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +1 -0
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +113 -0
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +413 -0
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +1 -0
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +867 -0
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +210 -0
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +1 -0
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +126 -0
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +758 -0
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +1 -0
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +1580 -0
  41. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +66 -0
  42. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +1 -0
  43. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +38 -0
  44. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +90 -0
  45. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +1 -0
  46. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +178 -0
  47. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +99 -0
  48. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +1 -0
  49. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +61 -0
  50. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +210 -0
  51. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +1 -0
  52. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +436 -0
  53. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +80 -0
  54. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +1 -0
  55. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +47 -0
  56. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +91 -0
  57. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +1 -0
  58. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +200 -0
  59. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +491 -0
  60. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +1 -0
  61. package/dist/_proto/com/daml/ledger/api/v2/commands.js +828 -0
  62. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +149 -0
  63. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +1 -0
  64. package/dist/_proto/com/daml/ledger/api/v2/completion.js +196 -0
  65. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +495 -0
  66. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +1 -0
  67. package/dist/_proto/com/daml/ledger/api/v2/event.js +723 -0
  68. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +52 -0
  69. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +1 -0
  70. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +31 -0
  71. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +150 -0
  72. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +1 -0
  73. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +291 -0
  74. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +96 -0
  75. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +1 -0
  76. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +225 -0
  77. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +43 -0
  78. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +1 -0
  79. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +85 -0
  80. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +100 -0
  81. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +1 -0
  82. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +59 -0
  83. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +877 -0
  84. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +1 -0
  85. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +1768 -0
  86. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +259 -0
  87. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +1 -0
  88. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +667 -0
  89. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +69 -0
  90. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +1 -0
  91. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +133 -0
  92. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +41 -0
  93. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +1 -0
  94. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +84 -0
  95. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +68 -0
  96. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +1 -0
  97. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +43 -0
  98. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +181 -0
  99. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +1 -0
  100. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +395 -0
  101. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +308 -0
  102. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +1 -0
  103. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +521 -0
  104. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +193 -0
  105. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +1 -0
  106. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +350 -0
  107. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +91 -0
  108. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +1 -0
  109. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +56 -0
  110. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +448 -0
  111. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +1 -0
  112. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +874 -0
  113. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +54 -0
  114. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +1 -0
  115. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +34 -0
  116. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +78 -0
  117. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +1 -0
  118. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +168 -0
  119. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +211 -0
  120. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +1 -0
  121. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +447 -0
  122. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +33 -0
  123. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +1 -0
  124. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +69 -0
  125. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +252 -0
  126. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +1 -0
  127. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +410 -0
  128. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +453 -0
  129. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +1 -0
  130. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +815 -0
  131. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +199 -0
  132. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +1 -0
  133. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +121 -0
  134. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +424 -0
  135. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +1 -0
  136. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +853 -0
  137. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +500 -0
  138. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +1 -0
  139. package/dist/_proto/com/daml/ledger/api/v2/value.js +937 -0
  140. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +40 -0
  141. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +1 -0
  142. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +25 -0
  143. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +190 -0
  144. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +1 -0
  145. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +400 -0
  146. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +1028 -0
  147. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +1 -0
  148. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +2110 -0
  149. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +30 -0
  150. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +1 -0
  151. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +62 -0
  152. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +168 -0
  153. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +1 -0
  154. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +395 -0
  155. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +1105 -0
  156. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +1 -0
  157. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +2294 -0
  158. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +278 -0
  159. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +1 -0
  160. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +654 -0
  161. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +166 -0
  162. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +1 -0
  163. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +379 -0
  164. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +199 -0
  165. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +1 -0
  166. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +136 -0
  167. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +1195 -0
  168. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +1 -0
  169. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +3342 -0
  170. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +119 -0
  171. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +1 -0
  172. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +76 -0
  173. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +607 -0
  174. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +1 -0
  175. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +1292 -0
  176. package/dist/_proto/google/protobuf/any.d.ts +177 -0
  177. package/dist/_proto/google/protobuf/any.d.ts.map +1 -0
  178. package/dist/_proto/google/protobuf/any.js +175 -0
  179. package/dist/_proto/google/protobuf/descriptor.d.ts +1638 -0
  180. package/dist/_proto/google/protobuf/descriptor.d.ts.map +1 -0
  181. package/dist/_proto/google/protobuf/descriptor.js +2999 -0
  182. package/dist/_proto/google/protobuf/duration.d.ts +114 -0
  183. package/dist/_proto/google/protobuf/duration.d.ts.map +1 -0
  184. package/dist/_proto/google/protobuf/duration.js +113 -0
  185. package/dist/_proto/google/protobuf/empty.d.ts +33 -0
  186. package/dist/_proto/google/protobuf/empty.d.ts.map +1 -0
  187. package/dist/_proto/google/protobuf/empty.js +41 -0
  188. package/dist/_proto/google/protobuf/field_mask.d.ts +240 -0
  189. package/dist/_proto/google/protobuf/field_mask.d.ts.map +1 -0
  190. package/dist/_proto/google/protobuf/field_mask.js +95 -0
  191. package/dist/_proto/google/protobuf/struct.d.ts +187 -0
  192. package/dist/_proto/google/protobuf/struct.d.ts.map +1 -0
  193. package/dist/_proto/google/protobuf/struct.js +417 -0
  194. package/dist/_proto/google/protobuf/timestamp.d.ts +159 -0
  195. package/dist/_proto/google/protobuf/timestamp.d.ts.map +1 -0
  196. package/dist/_proto/google/protobuf/timestamp.js +157 -0
  197. package/dist/_proto/google/rpc/code.d.ts +219 -0
  198. package/dist/_proto/google/rpc/code.d.ts.map +1 -0
  199. package/dist/_proto/google/rpc/code.js +237 -0
  200. package/dist/_proto/google/rpc/context/attribute_context.d.ts +594 -0
  201. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +1 -0
  202. package/dist/_proto/google/rpc/context/attribute_context.js +1007 -0
  203. package/dist/_proto/google/rpc/context/audit_context.d.ts +62 -0
  204. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +1 -0
  205. package/dist/_proto/google/rpc/context/audit_context.js +111 -0
  206. package/dist/_proto/google/rpc/error_details.d.ts +549 -0
  207. package/dist/_proto/google/rpc/error_details.d.ts.map +1 -0
  208. package/dist/_proto/google/rpc/error_details.js +918 -0
  209. package/dist/_proto/google/rpc/status.d.ts +55 -0
  210. package/dist/_proto/google/rpc/status.d.ts.map +1 -0
  211. package/dist/_proto/google/rpc/status.js +79 -0
  212. package/dist/_proto/scalapb/scalapb.d.ts +779 -0
  213. package/dist/_proto/scalapb/scalapb.d.ts.map +1 -0
  214. package/dist/_proto/scalapb/scalapb.js +1658 -0
  215. package/dist/index.d.ts +13 -0
  216. package/dist/index.d.ts.map +1 -0
  217. package/dist/index.js +12 -0
  218. package/package.json +29 -0
@@ -0,0 +1,199 @@
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
@@ -0,0 +1 @@
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,KAAK,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAA;AACrE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAA;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE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,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"}
@@ -0,0 +1,121 @@
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
+ }