@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
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # ledger-client
@@ -0,0 +1,58 @@
1
+ import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
2
+ import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
3
+ import type { GetCommandStatusResponse } from './command_inspection_service.js';
4
+ import type { GetCommandStatusRequest } from './command_inspection_service.js';
5
+ import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
6
+ import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
7
+ /**
8
+ * Status: experimental interface, will change before it is deemed production
9
+ * ready
10
+ *
11
+ * The inspection service provides methods for the ledger administrator
12
+ * to look under the hood of a running system.
13
+ * In V2 Ledger API this service is not available.
14
+ *
15
+ * @generated from protobuf service com.daml.ledger.api.v2.admin.CommandInspectionService
16
+ */
17
+ export interface ICommandInspectionServiceClient {
18
+ /**
19
+ * Inquire about the status of a command.
20
+ * This service is used for debugging only. The command status is only tracked in memory and is not persisted.
21
+ * The service can be used to understand the failure status and the structure of a command.
22
+ * Requires admin privileges
23
+ * The service is alpha without backward compatibility guarantees.
24
+ *
25
+ * @generated from protobuf rpc: GetCommandStatus
26
+ */
27
+ getCommandStatus(input: GetCommandStatusRequest, options?: RpcOptions): UnaryCall<GetCommandStatusRequest, GetCommandStatusResponse>;
28
+ }
29
+ /**
30
+ * Status: experimental interface, will change before it is deemed production
31
+ * ready
32
+ *
33
+ * The inspection service provides methods for the ledger administrator
34
+ * to look under the hood of a running system.
35
+ * In V2 Ledger API this service is not available.
36
+ *
37
+ * @generated from protobuf service com.daml.ledger.api.v2.admin.CommandInspectionService
38
+ */
39
+ export declare class CommandInspectionServiceClient implements ICommandInspectionServiceClient, ServiceInfo {
40
+ private readonly _transport;
41
+ typeName: string;
42
+ methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
43
+ options: {
44
+ [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
45
+ };
46
+ constructor(_transport: RpcTransport);
47
+ /**
48
+ * Inquire about the status of a command.
49
+ * This service is used for debugging only. The command status is only tracked in memory and is not persisted.
50
+ * The service can be used to understand the failure status and the structure of a command.
51
+ * Requires admin privileges
52
+ * The service is alpha without backward compatibility guarantees.
53
+ *
54
+ * @generated from protobuf rpc: GetCommandStatus
55
+ */
56
+ getCommandStatus(input: GetCommandStatusRequest, options?: RpcOptions): UnaryCall<GetCommandStatusRequest, GetCommandStatusResponse>;
57
+ }
58
+ //# sourceMappingURL=command_inspection_service.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command_inspection_service.client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAG3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAA;AAC/E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAC1D;;;;;;;;;GASG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;;;;;OAQG;IACH,gBAAgB,CACZ,KAAK,EAAE,uBAAuB,EAC9B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,uBAAuB,EAAE,wBAAwB,CAAC,CAAA;CAClE;AACD;;;;;;;;;GASG;AACH,qBAAa,8BACT,YAAW,+BAA+B,EAAE,WAAW;IAK3C,OAAO,CAAC,QAAQ,CAAC,UAAU;IAHvC,QAAQ,SAAoC;IAC5C,OAAO,4DAAmC;IAC1C,OAAO;;MAAmC;gBACb,UAAU,EAAE,YAAY;IACrD;;;;;;;;OAQG;IACH,gBAAgB,CACZ,KAAK,EAAE,uBAAuB,EAC9B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;CAQlE"}
@@ -0,0 +1,34 @@
1
+ import { CommandInspectionService } from './command_inspection_service.js';
2
+ import { stackIntercept } from '@protobuf-ts/runtime-rpc';
3
+ /**
4
+ * Status: experimental interface, will change before it is deemed production
5
+ * ready
6
+ *
7
+ * The inspection service provides methods for the ledger administrator
8
+ * to look under the hood of a running system.
9
+ * In V2 Ledger API this service is not available.
10
+ *
11
+ * @generated from protobuf service com.daml.ledger.api.v2.admin.CommandInspectionService
12
+ */
13
+ export class CommandInspectionServiceClient {
14
+ _transport;
15
+ typeName = CommandInspectionService.typeName;
16
+ methods = CommandInspectionService.methods;
17
+ options = CommandInspectionService.options;
18
+ constructor(_transport) {
19
+ this._transport = _transport;
20
+ }
21
+ /**
22
+ * Inquire about the status of a command.
23
+ * This service is used for debugging only. The command status is only tracked in memory and is not persisted.
24
+ * The service can be used to understand the failure status and the structure of a command.
25
+ * Requires admin privileges
26
+ * The service is alpha without backward compatibility guarantees.
27
+ *
28
+ * @generated from protobuf rpc: GetCommandStatus
29
+ */
30
+ getCommandStatus(input, options) {
31
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
32
+ return stackIntercept('unary', this._transport, method, opt, input);
33
+ }
34
+ }
@@ -0,0 +1,232 @@
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 { Value } from '../value.js';
9
+ import { Identifier } from '../value.js';
10
+ import { Command } from '../commands.js';
11
+ import { Completion } from '../completion.js';
12
+ import { Timestamp } from '../../../../../../google/protobuf/timestamp.js';
13
+ /**
14
+ * @generated from protobuf message com.daml.ledger.api.v2.admin.GetCommandStatusRequest
15
+ */
16
+ export interface GetCommandStatusRequest {
17
+ /**
18
+ * @generated from protobuf field: string command_id_prefix = 1
19
+ */
20
+ commandIdPrefix: string;
21
+ /**
22
+ * @generated from protobuf field: com.daml.ledger.api.v2.admin.CommandState state = 2
23
+ */
24
+ state: CommandState;
25
+ /**
26
+ * @generated from protobuf field: uint32 limit = 3
27
+ */
28
+ limit: number;
29
+ }
30
+ /**
31
+ * @generated from protobuf message com.daml.ledger.api.v2.admin.GetCommandStatusResponse
32
+ */
33
+ export interface GetCommandStatusResponse {
34
+ /**
35
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.admin.CommandStatus command_status = 1
36
+ */
37
+ commandStatus: CommandStatus[];
38
+ }
39
+ /**
40
+ * @generated from protobuf message com.daml.ledger.api.v2.admin.CommandStatus
41
+ */
42
+ export interface CommandStatus {
43
+ /**
44
+ * @generated from protobuf field: google.protobuf.Timestamp started = 1
45
+ */
46
+ started?: Timestamp;
47
+ /**
48
+ * @generated from protobuf field: google.protobuf.Timestamp completed = 2
49
+ */
50
+ completed?: Timestamp;
51
+ /**
52
+ * @generated from protobuf field: com.daml.ledger.api.v2.Completion completion = 3
53
+ */
54
+ completion?: Completion;
55
+ /**
56
+ * @generated from protobuf field: com.daml.ledger.api.v2.admin.CommandState state = 4
57
+ */
58
+ state: CommandState;
59
+ /**
60
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.Command commands = 5
61
+ */
62
+ commands: Command[];
63
+ /**
64
+ * @generated from protobuf field: com.daml.ledger.api.v2.admin.RequestStatistics request_statistics = 6
65
+ */
66
+ requestStatistics?: RequestStatistics;
67
+ /**
68
+ * @generated from protobuf field: com.daml.ledger.api.v2.admin.CommandUpdates updates = 7
69
+ */
70
+ updates?: CommandUpdates;
71
+ }
72
+ /**
73
+ * @generated from protobuf message com.daml.ledger.api.v2.admin.RequestStatistics
74
+ */
75
+ export interface RequestStatistics {
76
+ /**
77
+ * @generated from protobuf field: uint32 envelopes = 1
78
+ */
79
+ envelopes: number;
80
+ /**
81
+ * @generated from protobuf field: uint32 request_size = 2
82
+ */
83
+ requestSize: number;
84
+ /**
85
+ * @generated from protobuf field: uint32 recipients = 3
86
+ */
87
+ recipients: number;
88
+ }
89
+ /**
90
+ * @generated from protobuf message com.daml.ledger.api.v2.admin.CommandUpdates
91
+ */
92
+ export interface CommandUpdates {
93
+ /**
94
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.admin.Contract created = 1
95
+ */
96
+ created: Contract[];
97
+ /**
98
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.admin.Contract archived = 2
99
+ */
100
+ archived: Contract[];
101
+ /**
102
+ * @generated from protobuf field: uint32 exercised = 3
103
+ */
104
+ exercised: number;
105
+ /**
106
+ * @generated from protobuf field: uint32 fetched = 4
107
+ */
108
+ fetched: number;
109
+ /**
110
+ * @generated from protobuf field: uint32 looked_up_by_key = 5
111
+ */
112
+ lookedUpByKey: number;
113
+ }
114
+ /**
115
+ * @generated from protobuf message com.daml.ledger.api.v2.admin.Contract
116
+ */
117
+ export interface Contract {
118
+ /**
119
+ * The identifier of the template used to create the contract.
120
+ * The identifier uses the package-id reference format.
121
+ *
122
+ * Required
123
+ *
124
+ * @generated from protobuf field: com.daml.ledger.api.v2.Identifier template_id = 1
125
+ */
126
+ templateId?: Identifier;
127
+ /**
128
+ * The contract's ID
129
+ *
130
+ * Required
131
+ *
132
+ * @generated from protobuf field: string contract_id = 2
133
+ */
134
+ contractId: string;
135
+ /**
136
+ * The contract key, if defined
137
+ *
138
+ * Optional
139
+ *
140
+ * @generated from protobuf field: com.daml.ledger.api.v2.Value contract_key = 3
141
+ */
142
+ contractKey?: Value;
143
+ }
144
+ /**
145
+ * @generated from protobuf enum com.daml.ledger.api.v2.admin.CommandState
146
+ */
147
+ export declare enum CommandState {
148
+ /**
149
+ * This value acts as wildcard in the queries
150
+ *
151
+ * @generated from protobuf enum value: COMMAND_STATE_UNSPECIFIED = 0;
152
+ */
153
+ UNSPECIFIED = 0,
154
+ /**
155
+ * @generated from protobuf enum value: COMMAND_STATE_PENDING = 1;
156
+ */
157
+ PENDING = 1,
158
+ /**
159
+ * @generated from protobuf enum value: COMMAND_STATE_SUCCEEDED = 2;
160
+ */
161
+ SUCCEEDED = 2,
162
+ /**
163
+ * @generated from protobuf enum value: COMMAND_STATE_FAILED = 3;
164
+ */
165
+ FAILED = 3
166
+ }
167
+ declare class GetCommandStatusRequest$Type extends MessageType<GetCommandStatusRequest> {
168
+ constructor();
169
+ create(value?: PartialMessage<GetCommandStatusRequest>): GetCommandStatusRequest;
170
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCommandStatusRequest): GetCommandStatusRequest;
171
+ internalBinaryWrite(message: GetCommandStatusRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
172
+ }
173
+ /**
174
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.GetCommandStatusRequest
175
+ */
176
+ export declare const GetCommandStatusRequest: GetCommandStatusRequest$Type;
177
+ declare class GetCommandStatusResponse$Type extends MessageType<GetCommandStatusResponse> {
178
+ constructor();
179
+ create(value?: PartialMessage<GetCommandStatusResponse>): GetCommandStatusResponse;
180
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCommandStatusResponse): GetCommandStatusResponse;
181
+ internalBinaryWrite(message: GetCommandStatusResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
182
+ }
183
+ /**
184
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.GetCommandStatusResponse
185
+ */
186
+ export declare const GetCommandStatusResponse: GetCommandStatusResponse$Type;
187
+ declare class CommandStatus$Type extends MessageType<CommandStatus> {
188
+ constructor();
189
+ create(value?: PartialMessage<CommandStatus>): CommandStatus;
190
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CommandStatus): CommandStatus;
191
+ internalBinaryWrite(message: CommandStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
192
+ }
193
+ /**
194
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.CommandStatus
195
+ */
196
+ export declare const CommandStatus: CommandStatus$Type;
197
+ declare class RequestStatistics$Type extends MessageType<RequestStatistics> {
198
+ constructor();
199
+ create(value?: PartialMessage<RequestStatistics>): RequestStatistics;
200
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RequestStatistics): RequestStatistics;
201
+ internalBinaryWrite(message: RequestStatistics, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
202
+ }
203
+ /**
204
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.RequestStatistics
205
+ */
206
+ export declare const RequestStatistics: RequestStatistics$Type;
207
+ declare class CommandUpdates$Type extends MessageType<CommandUpdates> {
208
+ constructor();
209
+ create(value?: PartialMessage<CommandUpdates>): CommandUpdates;
210
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CommandUpdates): CommandUpdates;
211
+ internalBinaryWrite(message: CommandUpdates, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
212
+ }
213
+ /**
214
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.CommandUpdates
215
+ */
216
+ export declare const CommandUpdates: CommandUpdates$Type;
217
+ declare class Contract$Type extends MessageType<Contract> {
218
+ constructor();
219
+ create(value?: PartialMessage<Contract>): Contract;
220
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Contract): Contract;
221
+ internalBinaryWrite(message: Contract, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
222
+ }
223
+ /**
224
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.Contract
225
+ */
226
+ export declare const Contract: Contract$Type;
227
+ /**
228
+ * @generated ServiceType for protobuf service com.daml.ledger.api.v2.admin.CommandInspectionService
229
+ */
230
+ export declare const CommandInspectionService: ServiceType;
231
+ export {};
232
+ //# sourceMappingURL=command_inspection_service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command_inspection_service.d.ts","sourceRoot":"","sources":["../../../../../../../../src/_proto/com/daml/ledger/api/v2/admin/command_inspection_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,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAA;AAC1E;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,KAAK,EAAE,YAAY,CAAA;IACnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CAChB;AACD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,aAAa,EAAE,aAAa,EAAE,CAAA;CACjC;AACD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB;;OAEG;IACH,SAAS,CAAC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