@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,56 @@
1
+ import { StateService } from './state_service.js';
2
+ import { stackIntercept } from '@protobuf-ts/runtime-rpc';
3
+ /**
4
+ * Allows clients to get state from the ledger.
5
+ *
6
+ * @generated from protobuf service com.daml.ledger.api.v2.StateService
7
+ */
8
+ export class StateServiceClient {
9
+ _transport;
10
+ typeName = StateService.typeName;
11
+ methods = StateService.methods;
12
+ options = StateService.options;
13
+ constructor(_transport) {
14
+ this._transport = _transport;
15
+ }
16
+ /**
17
+ * Returns a stream of the snapshot of the active contracts and incomplete (un)assignments at a ledger offset.
18
+ * If there are no active contracts, the stream returns a single response message with the offset at which the snapshot has been taken.
19
+ * Clients SHOULD use the offset in the last GetActiveContractsResponse message to continue streaming transactions with the update service.
20
+ * Clients SHOULD NOT assume that the set of active contracts they receive reflects the state at the ledger end.
21
+ *
22
+ * @generated from protobuf rpc: GetActiveContracts
23
+ */
24
+ getActiveContracts(input, options) {
25
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
26
+ return stackIntercept('serverStreaming', this._transport, method, opt, input);
27
+ }
28
+ /**
29
+ * Get the list of connected synchronizers at the time of the query.
30
+ *
31
+ * @generated from protobuf rpc: GetConnectedSynchronizers
32
+ */
33
+ getConnectedSynchronizers(input, options) {
34
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
35
+ return stackIntercept('unary', this._transport, method, opt, input);
36
+ }
37
+ /**
38
+ * Get the current ledger end.
39
+ * Subscriptions started with the returned offset will serve events after this RPC was called.
40
+ *
41
+ * @generated from protobuf rpc: GetLedgerEnd
42
+ */
43
+ getLedgerEnd(input, options) {
44
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
45
+ return stackIntercept('unary', this._transport, method, opt, input);
46
+ }
47
+ /**
48
+ * Get the latest successfully pruned ledger offsets
49
+ *
50
+ * @generated from protobuf rpc: GetLatestPrunedOffsets
51
+ */
52
+ getLatestPrunedOffsets(input, options) {
53
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
54
+ return stackIntercept('unary', this._transport, method, opt, input);
55
+ }
56
+ }
@@ -0,0 +1,448 @@
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 { AssignedEvent } from './reassignment.js';
9
+ import { UnassignedEvent } from './reassignment.js';
10
+ import { CreatedEvent } from './event.js';
11
+ import { EventFormat } from './transaction_filter.js';
12
+ import { TransactionFilter } from './transaction_filter.js';
13
+ /**
14
+ * If the given offset is different than the ledger end, and there are (un)assignments in-flight at the given offset,
15
+ * the snapshot may fail with "FAILED_PRECONDITION/PARTICIPANT_PRUNED_DATA_ACCESSED".
16
+ * Note that it is ok to request acs snapshots for party migration with offsets other than ledger end, because party
17
+ * migration is not concerned with incomplete (un)assignments.
18
+ *
19
+ * @generated from protobuf message com.daml.ledger.api.v2.GetActiveContractsRequest
20
+ */
21
+ export interface GetActiveContractsRequest {
22
+ /**
23
+ * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
24
+ * Templates to include in the served snapshot, per party.
25
+ * Optional, if specified event_format must be unset, if not specified event_format must be set.
26
+ *
27
+ * @generated from protobuf field: com.daml.ledger.api.v2.TransactionFilter filter = 1
28
+ */
29
+ filter?: TransactionFilter;
30
+ /**
31
+ * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
32
+ * If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
33
+ * In particular, setting the verbose flag to true triggers the ledger to include labels for record fields.
34
+ * Optional, if specified event_format must be unset.
35
+ *
36
+ * @generated from protobuf field: bool verbose = 2
37
+ */
38
+ verbose: boolean;
39
+ /**
40
+ * The offset at which the snapshot of the active contracts will be computed.
41
+ * Must be no greater than the current ledger end offset.
42
+ * Must be greater than or equal to the last pruning offset.
43
+ * Required, must be a valid absolute offset (positive integer) or ledger begin offset (zero).
44
+ * If zero, the empty set will be returned.
45
+ *
46
+ * @generated from protobuf field: int64 active_at_offset = 3
47
+ */
48
+ activeAtOffset: bigint;
49
+ /**
50
+ * Format of the contract_entries in the result. In case of CreatedEvent the presentation will be of
51
+ * TRANSACTION_SHAPE_ACS_DELTA.
52
+ * Optional for backwards compatibility, defaults to an EventFormat where:
53
+ *
54
+ * - filters_by_party is the filter.filters_by_party from this request
55
+ * - filters_for_any_party is the filter.filters_for_any_party from this request
56
+ * - verbose is the verbose field from this request
57
+ *
58
+ * @generated from protobuf field: com.daml.ledger.api.v2.EventFormat event_format = 4
59
+ */
60
+ eventFormat?: EventFormat;
61
+ }
62
+ /**
63
+ * @generated from protobuf message com.daml.ledger.api.v2.GetActiveContractsResponse
64
+ */
65
+ export interface GetActiveContractsResponse {
66
+ /**
67
+ * The workflow ID used in command submission which corresponds to the contract_entry. Only set if
68
+ * the ``workflow_id`` for the command was set.
69
+ * Must be a valid LedgerString (as described in ``value.proto``).
70
+ * Optional
71
+ *
72
+ * @generated from protobuf field: string workflow_id = 1
73
+ */
74
+ workflowId: string;
75
+ /**
76
+ * For a contract there could be multiple contract_entry-s in the entire snapshot. These together define
77
+ * the state of one contract in the snapshot.
78
+ * A contract_entry is included in the result, if and only if there is at least one stakeholder party of the contract
79
+ * that is hosted on the synchronizer at the time of the event and the party satisfies the
80
+ * ``TransactionFilter`` in the query.
81
+ *
82
+ * @generated from protobuf oneof: contract_entry
83
+ */
84
+ contractEntry: {
85
+ oneofKind: 'activeContract';
86
+ /**
87
+ * The contract is active on the assigned synchronizer, meaning: there was an activation event on the given synchronizer (
88
+ * created, assigned), which is not followed by a deactivation event (archived, unassigned) on the same
89
+ * synchronizer, until the active_at_offset.
90
+ * Since activeness is defined as a per synchronizer concept, it is possible, that a contract is active on one
91
+ * synchronizer, but already archived on another.
92
+ * There will be one such message for each synchronizer the contract is active on.
93
+ *
94
+ * @generated from protobuf field: com.daml.ledger.api.v2.ActiveContract active_contract = 2
95
+ */
96
+ activeContract: ActiveContract;
97
+ } | {
98
+ oneofKind: 'incompleteUnassigned';
99
+ /**
100
+ * Included iff the unassigned event was before or at the active_at_offset, but there was no corresponding
101
+ * assigned event before or at the active_at_offset.
102
+ *
103
+ * @generated from protobuf field: com.daml.ledger.api.v2.IncompleteUnassigned incomplete_unassigned = 3
104
+ */
105
+ incompleteUnassigned: IncompleteUnassigned;
106
+ } | {
107
+ oneofKind: 'incompleteAssigned';
108
+ /**
109
+ * Important: this message is not indicating that the contract is active on the target synchronizer!
110
+ * Included iff the assigned event was before or at the active_at_offset, but there was no corresponding
111
+ * unassigned event before or at the active_at_offset.
112
+ *
113
+ * @generated from protobuf field: com.daml.ledger.api.v2.IncompleteAssigned incomplete_assigned = 4
114
+ */
115
+ incompleteAssigned: IncompleteAssigned;
116
+ } | {
117
+ oneofKind: undefined;
118
+ };
119
+ }
120
+ /**
121
+ * @generated from protobuf message com.daml.ledger.api.v2.ActiveContract
122
+ */
123
+ export interface ActiveContract {
124
+ /**
125
+ * Required
126
+ * The event as it appeared in the context of its last update (i.e. daml transaction or
127
+ * reassignment). In particular, the last offset, node_id pair is preserved.
128
+ * The last update is the most recent update created or assigned this contract on synchronizer_id synchronizer.
129
+ * The offset of the CreatedEvent might point to an already pruned update, therefore it cannot necessarily be used
130
+ * for lookups.
131
+ *
132
+ * @generated from protobuf field: com.daml.ledger.api.v2.CreatedEvent created_event = 1
133
+ */
134
+ createdEvent?: CreatedEvent;
135
+ /**
136
+ * A valid synchronizer id
137
+ * Required
138
+ *
139
+ * @generated from protobuf field: string synchronizer_id = 2
140
+ */
141
+ synchronizerId: string;
142
+ /**
143
+ * Each corresponding assigned and unassigned event has the same reassignment_counter. This strictly increases
144
+ * with each unassign command for the same contract. Creation of the contract corresponds to reassignment_counter
145
+ * equals zero.
146
+ * This field will be the reassignment_counter of the latest observable activation event on this synchronizer, which is
147
+ * before the active_at_offset.
148
+ * Required
149
+ *
150
+ * @generated from protobuf field: uint64 reassignment_counter = 3
151
+ */
152
+ reassignmentCounter: bigint;
153
+ }
154
+ /**
155
+ * @generated from protobuf message com.daml.ledger.api.v2.IncompleteUnassigned
156
+ */
157
+ export interface IncompleteUnassigned {
158
+ /**
159
+ * Required
160
+ * The event as it appeared in the context of its last activation update (i.e. daml transaction or
161
+ * reassignment). In particular, the last activation offset, node_id pair is preserved.
162
+ * The last activation update is the most recent update created or assigned this contract on synchronizer_id synchronizer before
163
+ * the unassigned_event.
164
+ * The offset of the CreatedEvent might point to an already pruned update, therefore it cannot necessarily be used
165
+ * for lookups.
166
+ *
167
+ * @generated from protobuf field: com.daml.ledger.api.v2.CreatedEvent created_event = 1
168
+ */
169
+ createdEvent?: CreatedEvent;
170
+ /**
171
+ * Required
172
+ *
173
+ * @generated from protobuf field: com.daml.ledger.api.v2.UnassignedEvent unassigned_event = 2
174
+ */
175
+ unassignedEvent?: UnassignedEvent;
176
+ }
177
+ /**
178
+ * @generated from protobuf message com.daml.ledger.api.v2.IncompleteAssigned
179
+ */
180
+ export interface IncompleteAssigned {
181
+ /**
182
+ * Required
183
+ *
184
+ * @generated from protobuf field: com.daml.ledger.api.v2.AssignedEvent assigned_event = 1
185
+ */
186
+ assignedEvent?: AssignedEvent;
187
+ }
188
+ /**
189
+ * @generated from protobuf message com.daml.ledger.api.v2.GetConnectedSynchronizersRequest
190
+ */
191
+ export interface GetConnectedSynchronizersRequest {
192
+ /**
193
+ * The party of interest
194
+ * Must be a valid PartyIdString (as described in ``value.proto``).
195
+ * Required
196
+ *
197
+ * @generated from protobuf field: string party = 1
198
+ */
199
+ party: string;
200
+ /**
201
+ * The id of a participant whose mapping of a party to connected synchronizers is requested.
202
+ * Must be a valid participant-id retrieved through a prior call to getParticipantId.
203
+ * Defaults to the participant id of the host participant.
204
+ * Optional
205
+ *
206
+ * @generated from protobuf field: string participant_id = 2
207
+ */
208
+ participantId: string;
209
+ }
210
+ /**
211
+ * @generated from protobuf message com.daml.ledger.api.v2.GetConnectedSynchronizersResponse
212
+ */
213
+ export interface GetConnectedSynchronizersResponse {
214
+ /**
215
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.GetConnectedSynchronizersResponse.ConnectedSynchronizer connected_synchronizers = 1
216
+ */
217
+ connectedSynchronizers: GetConnectedSynchronizersResponse_ConnectedSynchronizer[];
218
+ }
219
+ /**
220
+ * @generated from protobuf message com.daml.ledger.api.v2.GetConnectedSynchronizersResponse.ConnectedSynchronizer
221
+ */
222
+ export interface GetConnectedSynchronizersResponse_ConnectedSynchronizer {
223
+ /**
224
+ * The alias of the synchronizer
225
+ * Required
226
+ *
227
+ * @generated from protobuf field: string synchronizer_alias = 1
228
+ */
229
+ synchronizerAlias: string;
230
+ /**
231
+ * The ID of the synchronizer
232
+ * Required
233
+ *
234
+ * @generated from protobuf field: string synchronizer_id = 2
235
+ */
236
+ synchronizerId: string;
237
+ /**
238
+ * The permission on the synchronizer
239
+ * Required
240
+ *
241
+ * @generated from protobuf field: com.daml.ledger.api.v2.ParticipantPermission permission = 3
242
+ */
243
+ permission: ParticipantPermission;
244
+ }
245
+ /**
246
+ * @generated from protobuf message com.daml.ledger.api.v2.GetLedgerEndRequest
247
+ */
248
+ export interface GetLedgerEndRequest {
249
+ }
250
+ /**
251
+ * @generated from protobuf message com.daml.ledger.api.v2.GetLedgerEndResponse
252
+ */
253
+ export interface GetLedgerEndResponse {
254
+ /**
255
+ * It will always be a non-negative integer.
256
+ * If zero, the participant view of the ledger is empty.
257
+ * If positive, the absolute offset of the ledger as viewed by the participant.
258
+ *
259
+ * @generated from protobuf field: int64 offset = 1
260
+ */
261
+ offset: bigint;
262
+ }
263
+ /**
264
+ * Empty for now, but may contain fields in the future.
265
+ *
266
+ * @generated from protobuf message com.daml.ledger.api.v2.GetLatestPrunedOffsetsRequest
267
+ */
268
+ export interface GetLatestPrunedOffsetsRequest {
269
+ }
270
+ /**
271
+ * @generated from protobuf message com.daml.ledger.api.v2.GetLatestPrunedOffsetsResponse
272
+ */
273
+ export interface GetLatestPrunedOffsetsResponse {
274
+ /**
275
+ * It will always be a non-negative integer.
276
+ * If positive, the absolute offset up to which the ledger has been pruned,
277
+ * disregarding the state of all divulged contracts pruning.
278
+ * If zero, the ledger has not been pruned yet.
279
+ *
280
+ * @generated from protobuf field: int64 participant_pruned_up_to_inclusive = 1
281
+ */
282
+ participantPrunedUpToInclusive: bigint;
283
+ /**
284
+ * It will always be a non-negative integer.
285
+ * If positive, the absolute offset up to which all divulged events have been pruned on the ledger.
286
+ * It can be at or before the ``participant_pruned_up_to_inclusive`` offset.
287
+ * For more details about all divulged events pruning,
288
+ * see ``PruneRequest.prune_all_divulged_contracts`` in ``participant_pruning_service.proto``.
289
+ * If zero, the divulged events have not been pruned yet.
290
+ *
291
+ * @generated from protobuf field: int64 all_divulged_contracts_pruned_up_to_inclusive = 2
292
+ */
293
+ allDivulgedContractsPrunedUpToInclusive: bigint;
294
+ }
295
+ /**
296
+ * Enum indicating the permission level that the participant has for the party
297
+ * whose connected synchronizers are being listed.
298
+ *
299
+ * @generated from protobuf enum com.daml.ledger.api.v2.ParticipantPermission
300
+ */
301
+ export declare enum ParticipantPermission {
302
+ /**
303
+ * @generated from protobuf enum value: PARTICIPANT_PERMISSION_UNSPECIFIED = 0;
304
+ */
305
+ UNSPECIFIED = 0,
306
+ /**
307
+ * @generated from protobuf enum value: PARTICIPANT_PERMISSION_SUBMISSION = 1;
308
+ */
309
+ SUBMISSION = 1,
310
+ /**
311
+ * participant can only confirm transactions
312
+ *
313
+ * @generated from protobuf enum value: PARTICIPANT_PERMISSION_CONFIRMATION = 2;
314
+ */
315
+ CONFIRMATION = 2,
316
+ /**
317
+ * participant can only observe transactions
318
+ *
319
+ * @generated from protobuf enum value: PARTICIPANT_PERMISSION_OBSERVATION = 3;
320
+ */
321
+ OBSERVATION = 3
322
+ }
323
+ declare class GetActiveContractsRequest$Type extends MessageType<GetActiveContractsRequest> {
324
+ constructor();
325
+ create(value?: PartialMessage<GetActiveContractsRequest>): GetActiveContractsRequest;
326
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetActiveContractsRequest): GetActiveContractsRequest;
327
+ internalBinaryWrite(message: GetActiveContractsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
328
+ }
329
+ /**
330
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetActiveContractsRequest
331
+ */
332
+ export declare const GetActiveContractsRequest: GetActiveContractsRequest$Type;
333
+ declare class GetActiveContractsResponse$Type extends MessageType<GetActiveContractsResponse> {
334
+ constructor();
335
+ create(value?: PartialMessage<GetActiveContractsResponse>): GetActiveContractsResponse;
336
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetActiveContractsResponse): GetActiveContractsResponse;
337
+ internalBinaryWrite(message: GetActiveContractsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
338
+ }
339
+ /**
340
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetActiveContractsResponse
341
+ */
342
+ export declare const GetActiveContractsResponse: GetActiveContractsResponse$Type;
343
+ declare class ActiveContract$Type extends MessageType<ActiveContract> {
344
+ constructor();
345
+ create(value?: PartialMessage<ActiveContract>): ActiveContract;
346
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActiveContract): ActiveContract;
347
+ internalBinaryWrite(message: ActiveContract, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
348
+ }
349
+ /**
350
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.ActiveContract
351
+ */
352
+ export declare const ActiveContract: ActiveContract$Type;
353
+ declare class IncompleteUnassigned$Type extends MessageType<IncompleteUnassigned> {
354
+ constructor();
355
+ create(value?: PartialMessage<IncompleteUnassigned>): IncompleteUnassigned;
356
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IncompleteUnassigned): IncompleteUnassigned;
357
+ internalBinaryWrite(message: IncompleteUnassigned, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
358
+ }
359
+ /**
360
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.IncompleteUnassigned
361
+ */
362
+ export declare const IncompleteUnassigned: IncompleteUnassigned$Type;
363
+ declare class IncompleteAssigned$Type extends MessageType<IncompleteAssigned> {
364
+ constructor();
365
+ create(value?: PartialMessage<IncompleteAssigned>): IncompleteAssigned;
366
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IncompleteAssigned): IncompleteAssigned;
367
+ internalBinaryWrite(message: IncompleteAssigned, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
368
+ }
369
+ /**
370
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.IncompleteAssigned
371
+ */
372
+ export declare const IncompleteAssigned: IncompleteAssigned$Type;
373
+ declare class GetConnectedSynchronizersRequest$Type extends MessageType<GetConnectedSynchronizersRequest> {
374
+ constructor();
375
+ create(value?: PartialMessage<GetConnectedSynchronizersRequest>): GetConnectedSynchronizersRequest;
376
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetConnectedSynchronizersRequest): GetConnectedSynchronizersRequest;
377
+ internalBinaryWrite(message: GetConnectedSynchronizersRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
378
+ }
379
+ /**
380
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetConnectedSynchronizersRequest
381
+ */
382
+ export declare const GetConnectedSynchronizersRequest: GetConnectedSynchronizersRequest$Type;
383
+ declare class GetConnectedSynchronizersResponse$Type extends MessageType<GetConnectedSynchronizersResponse> {
384
+ constructor();
385
+ create(value?: PartialMessage<GetConnectedSynchronizersResponse>): GetConnectedSynchronizersResponse;
386
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetConnectedSynchronizersResponse): GetConnectedSynchronizersResponse;
387
+ internalBinaryWrite(message: GetConnectedSynchronizersResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
388
+ }
389
+ /**
390
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetConnectedSynchronizersResponse
391
+ */
392
+ export declare const GetConnectedSynchronizersResponse: GetConnectedSynchronizersResponse$Type;
393
+ declare class GetConnectedSynchronizersResponse_ConnectedSynchronizer$Type extends MessageType<GetConnectedSynchronizersResponse_ConnectedSynchronizer> {
394
+ constructor();
395
+ create(value?: PartialMessage<GetConnectedSynchronizersResponse_ConnectedSynchronizer>): GetConnectedSynchronizersResponse_ConnectedSynchronizer;
396
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetConnectedSynchronizersResponse_ConnectedSynchronizer): GetConnectedSynchronizersResponse_ConnectedSynchronizer;
397
+ internalBinaryWrite(message: GetConnectedSynchronizersResponse_ConnectedSynchronizer, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
398
+ }
399
+ /**
400
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetConnectedSynchronizersResponse.ConnectedSynchronizer
401
+ */
402
+ export declare const GetConnectedSynchronizersResponse_ConnectedSynchronizer: GetConnectedSynchronizersResponse_ConnectedSynchronizer$Type;
403
+ declare class GetLedgerEndRequest$Type extends MessageType<GetLedgerEndRequest> {
404
+ constructor();
405
+ create(value?: PartialMessage<GetLedgerEndRequest>): GetLedgerEndRequest;
406
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetLedgerEndRequest): GetLedgerEndRequest;
407
+ internalBinaryWrite(message: GetLedgerEndRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
408
+ }
409
+ /**
410
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetLedgerEndRequest
411
+ */
412
+ export declare const GetLedgerEndRequest: GetLedgerEndRequest$Type;
413
+ declare class GetLedgerEndResponse$Type extends MessageType<GetLedgerEndResponse> {
414
+ constructor();
415
+ create(value?: PartialMessage<GetLedgerEndResponse>): GetLedgerEndResponse;
416
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetLedgerEndResponse): GetLedgerEndResponse;
417
+ internalBinaryWrite(message: GetLedgerEndResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
418
+ }
419
+ /**
420
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetLedgerEndResponse
421
+ */
422
+ export declare const GetLedgerEndResponse: GetLedgerEndResponse$Type;
423
+ declare class GetLatestPrunedOffsetsRequest$Type extends MessageType<GetLatestPrunedOffsetsRequest> {
424
+ constructor();
425
+ create(value?: PartialMessage<GetLatestPrunedOffsetsRequest>): GetLatestPrunedOffsetsRequest;
426
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetLatestPrunedOffsetsRequest): GetLatestPrunedOffsetsRequest;
427
+ internalBinaryWrite(message: GetLatestPrunedOffsetsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
428
+ }
429
+ /**
430
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetLatestPrunedOffsetsRequest
431
+ */
432
+ export declare const GetLatestPrunedOffsetsRequest: GetLatestPrunedOffsetsRequest$Type;
433
+ declare class GetLatestPrunedOffsetsResponse$Type extends MessageType<GetLatestPrunedOffsetsResponse> {
434
+ constructor();
435
+ create(value?: PartialMessage<GetLatestPrunedOffsetsResponse>): GetLatestPrunedOffsetsResponse;
436
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetLatestPrunedOffsetsResponse): GetLatestPrunedOffsetsResponse;
437
+ internalBinaryWrite(message: GetLatestPrunedOffsetsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
438
+ }
439
+ /**
440
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.GetLatestPrunedOffsetsResponse
441
+ */
442
+ export declare const GetLatestPrunedOffsetsResponse: GetLatestPrunedOffsetsResponse$Type;
443
+ /**
444
+ * @generated ServiceType for protobuf service com.daml.ledger.api.v2.StateService
445
+ */
446
+ export declare const StateService: ServiceType;
447
+ export {};
448
+ //# sourceMappingURL=state_service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state_service.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/state_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,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;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D;;;;;;;GAOG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAA;IAC1B;;;;;;;OAOG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB;;;;;;;;OAQG;IACH,cAAc,EAAE,MAAM,CAAA;IACtB;;;;;;;;;;OAUG;IACH,WAAW,CAAC,EAAE,WAAW,CAAA;CAC5B;AACD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;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