@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,877 @@
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 { PackageReference } from '../package_reference.js';
9
+ import { Node } from './transaction/v1/interactive_submission_data.js';
10
+ import { Create } from './transaction/v1/interactive_submission_data.js';
11
+ import { Value } from '../value.js';
12
+ import { GlobalKey } from './interactive_submission_common_data.js';
13
+ import { Timestamp } from '../../../../../../google/protobuf/timestamp.js';
14
+ import { Duration } from '../../../../../../google/protobuf/duration.js';
15
+ import { PrefetchContractKey } from '../commands.js';
16
+ import { DisclosedContract } from '../commands.js';
17
+ import { Command } from '../commands.js';
18
+ /**
19
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.PrepareSubmissionRequest
20
+ */
21
+ export interface PrepareSubmissionRequest {
22
+ /**
23
+ * Uniquely identifies the participant user that prepares the transaction.
24
+ * Must be a valid UserIdString (as described in ``value.proto``).
25
+ * Required unless authentication is used with a user token.
26
+ * In that case, the token's user-id will be used for the request's user_id.
27
+ *
28
+ * @generated from protobuf field: string user_id = 1
29
+ */
30
+ userId: string;
31
+ /**
32
+ * Uniquely identifies the command.
33
+ * The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,
34
+ * where act_as is interpreted as a set of party names.
35
+ * The change ID can be used for matching the intended ledger changes with all their completions.
36
+ * Must be a valid LedgerString (as described in ``value.proto``).
37
+ * Required
38
+ *
39
+ * @generated from protobuf field: string command_id = 2
40
+ */
41
+ commandId: string;
42
+ /**
43
+ * Individual elements of this atomic command. Must be non-empty.
44
+ * Required
45
+ *
46
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.Command commands = 3
47
+ */
48
+ commands: Command[];
49
+ /**
50
+ * Optional
51
+ *
52
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4
53
+ */
54
+ minLedgerTime?: MinLedgerTime;
55
+ /**
56
+ * Set of parties on whose behalf the command should be executed, if submitted.
57
+ * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
58
+ * to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
59
+ * and does not execute it. Therefore read authorization is sufficient even for actAs parties.
60
+ * Note: This may change, and more specific authorization scope may be introduced in the future.
61
+ * Each element must be a valid PartyIdString (as described in ``value.proto``).
62
+ * Required, must be non-empty.
63
+ *
64
+ * @generated from protobuf field: repeated string act_as = 5
65
+ */
66
+ actAs: string[];
67
+ /**
68
+ * Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
69
+ * This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
70
+ * Note: A command can only use contracts that are visible to at least
71
+ * one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
72
+ * rules for fetch operations.
73
+ * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
74
+ * to read contract data on behalf of each of the given parties.
75
+ * Optional
76
+ *
77
+ * @generated from protobuf field: repeated string read_as = 6
78
+ */
79
+ readAs: string[];
80
+ /**
81
+ * Additional contracts used to resolve contract & contract key lookups.
82
+ * Optional
83
+ *
84
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7
85
+ */
86
+ disclosedContracts: DisclosedContract[];
87
+ /**
88
+ * Must be a valid synchronizer id
89
+ * Required
90
+ *
91
+ * @generated from protobuf field: string synchronizer_id = 8
92
+ */
93
+ synchronizerId: string;
94
+ /**
95
+ * The package-id selection preference of the client for resolving
96
+ * package names and interface instances in command submission and interpretation
97
+ *
98
+ * @generated from protobuf field: repeated string package_id_selection_preference = 9
99
+ */
100
+ packageIdSelectionPreference: string[];
101
+ /**
102
+ * When true, the response will contain additional details on how the transaction was encoded and hashed
103
+ * This can be useful for troubleshooting of hash mismatches. Should only be used for debugging.
104
+ *
105
+ * @generated from protobuf field: bool verbose_hashing = 10
106
+ */
107
+ verboseHashing: boolean;
108
+ /**
109
+ * Fetches the contract keys into the caches to speed up the command processing.
110
+ * Should only contain contract keys that are expected to be resolved during interpretation of the commands.
111
+ * Keys of disclosed contracts do not need prefetching.
112
+ *
113
+ * Optional
114
+ *
115
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15
116
+ */
117
+ prefetchContractKeys: PrefetchContractKey[];
118
+ }
119
+ /**
120
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.PrepareSubmissionResponse
121
+ */
122
+ export interface PrepareSubmissionResponse {
123
+ /**
124
+ * The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.
125
+ * Clients MUST display the content of the transaction to the user for them to validate before signing the hash if the preparing participant is not trusted.
126
+ *
127
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1
128
+ */
129
+ preparedTransaction?: PreparedTransaction;
130
+ /**
131
+ * Hash of the transaction, this is what needs to be signed by the party to authorize the transaction.
132
+ * Only provided for convenience, clients MUST recompute the hash from the raw transaction if the preparing participant is not trusted.
133
+ * May be removed in future versions
134
+ *
135
+ * @generated from protobuf field: bytes prepared_transaction_hash = 2
136
+ */
137
+ preparedTransactionHash: Uint8Array;
138
+ /**
139
+ * The hashing scheme version used when building the hash
140
+ *
141
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 3
142
+ */
143
+ hashingSchemeVersion: HashingSchemeVersion;
144
+ /**
145
+ * Optional additional details on how the transaction was encoded and hashed. Only set if verbose_hashing = true in the request
146
+ * Note that there are no guarantees on the stability of the format or content of this field.
147
+ * Its content should NOT be parsed and should only be used for troubleshooting purposes.
148
+ *
149
+ * @generated from protobuf field: optional string hashing_details = 4
150
+ */
151
+ hashingDetails?: string;
152
+ }
153
+ /**
154
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.Signature
155
+ */
156
+ export interface Signature {
157
+ /**
158
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.SignatureFormat format = 1
159
+ */
160
+ format: SignatureFormat;
161
+ /**
162
+ * @generated from protobuf field: bytes signature = 2
163
+ */
164
+ signature: Uint8Array;
165
+ /**
166
+ * The fingerprint/id of the keypair used to create this signature and needed to verify.
167
+ *
168
+ * @generated from protobuf field: string signed_by = 3
169
+ */
170
+ signedBy: string;
171
+ /**
172
+ * The signing algorithm specification used to produce this signature
173
+ *
174
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.SigningAlgorithmSpec signing_algorithm_spec = 4
175
+ */
176
+ signingAlgorithmSpec: SigningAlgorithmSpec;
177
+ }
178
+ /**
179
+ * Signatures provided by a single party
180
+ *
181
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.SinglePartySignatures
182
+ */
183
+ export interface SinglePartySignatures {
184
+ /**
185
+ * @generated from protobuf field: string party = 1
186
+ */
187
+ party: string;
188
+ /**
189
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.Signature signatures = 2
190
+ */
191
+ signatures: Signature[];
192
+ }
193
+ /**
194
+ * Additional signatures provided by the submitting parties
195
+ *
196
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.PartySignatures
197
+ */
198
+ export interface PartySignatures {
199
+ /**
200
+ * Additional signatures provided by all individual parties
201
+ *
202
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.SinglePartySignatures signatures = 1
203
+ */
204
+ signatures: SinglePartySignatures[];
205
+ }
206
+ /**
207
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionRequest
208
+ */
209
+ export interface ExecuteSubmissionRequest {
210
+ /**
211
+ * the prepared transaction
212
+ * Typically this is the value of the `prepared_transaction` field in `PrepareSubmissionResponse`
213
+ * obtained from calling `prepareSubmission`.
214
+ *
215
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1
216
+ */
217
+ preparedTransaction?: PreparedTransaction;
218
+ /**
219
+ * The party(ies) signatures that authorize the prepared submission to be executed by this node.
220
+ * Each party can provide one or more signatures..
221
+ * and one or more parties can sign.
222
+ * Note that currently, only single party submissions are supported.
223
+ *
224
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PartySignatures party_signatures = 2
225
+ */
226
+ partySignatures?: PartySignatures;
227
+ /**
228
+ * Specifies the deduplication period for the change ID (See PrepareSubmissionRequest).
229
+ * If omitted, the participant will assume the configured maximum deduplication time.
230
+ *
231
+ * @generated from protobuf oneof: deduplication_period
232
+ */
233
+ deduplicationPeriod: {
234
+ oneofKind: 'deduplicationDuration';
235
+ /**
236
+ * Specifies the length of the deduplication period.
237
+ * It is interpreted relative to the local clock at some point during the submission's processing.
238
+ * Must be non-negative. Must not exceed the maximum deduplication time.
239
+ *
240
+ * @generated from protobuf field: google.protobuf.Duration deduplication_duration = 3
241
+ */
242
+ deduplicationDuration: Duration;
243
+ } | {
244
+ oneofKind: 'deduplicationOffset';
245
+ /**
246
+ * Specifies the start of the deduplication period by a completion stream offset (exclusive).
247
+ * Must be a valid absolute offset (positive integer).
248
+ *
249
+ * @generated from protobuf field: int64 deduplication_offset = 4
250
+ */
251
+ deduplicationOffset: bigint;
252
+ } | {
253
+ oneofKind: undefined;
254
+ };
255
+ /**
256
+ * A unique identifier to distinguish completions for different submissions with the same change ID.
257
+ * Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
258
+ * with the same change ID.
259
+ * Must be a valid LedgerString (as described in ``value.proto``).
260
+ *
261
+ * Required
262
+ *
263
+ * @generated from protobuf field: string submission_id = 5
264
+ */
265
+ submissionId: string;
266
+ /**
267
+ * See [PrepareSubmissionRequest.user_id]
268
+ *
269
+ * @generated from protobuf field: string user_id = 6
270
+ */
271
+ userId: string;
272
+ /**
273
+ * The hashing scheme version used when building the hash
274
+ *
275
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 7
276
+ */
277
+ hashingSchemeVersion: HashingSchemeVersion;
278
+ /**
279
+ * If set will influence the chosen ledger effective time but will not result in a submission delay so any override
280
+ * should be scheduled to executed within the window allowed by synchronizer.
281
+ *
282
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 8
283
+ */
284
+ minLedgerTime?: MinLedgerTime;
285
+ }
286
+ /**
287
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionResponse
288
+ */
289
+ export interface ExecuteSubmissionResponse {
290
+ }
291
+ /**
292
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.MinLedgerTime
293
+ */
294
+ export interface MinLedgerTime {
295
+ /**
296
+ * @generated from protobuf oneof: time
297
+ */
298
+ time: {
299
+ oneofKind: 'minLedgerTimeAbs';
300
+ /**
301
+ * Lower bound for the ledger time assigned to the resulting transaction.
302
+ * The ledger time of a transaction is assigned as part of command interpretation.
303
+ * Important note: for interactive submissions, if the transaction depends on time, it **must** be signed
304
+ * and submitted within a time window around the ledger time assigned to the transaction during the prepare method.
305
+ * The time delta around that ledger time is a configuration of the ledger, usually short, around 1 minute.
306
+ * If however the transaction does not depend on time, the available time window to sign and submit the transaction is bound
307
+ * by the preparation time, which is also assigned in the "prepare" step (this request),
308
+ * but can be configured with a much larger skew, allowing for more time to sign the request (in the order of hours).
309
+ * Must not be set at the same time as min_ledger_time_rel.
310
+ * Optional
311
+ *
312
+ * @generated from protobuf field: google.protobuf.Timestamp min_ledger_time_abs = 1
313
+ */
314
+ minLedgerTimeAbs: Timestamp;
315
+ } | {
316
+ oneofKind: 'minLedgerTimeRel';
317
+ /**
318
+ * Same as min_ledger_time_abs, but specified as a duration, starting from the time this request is received by the server.
319
+ * Must not be set at the same time as min_ledger_time_abs.
320
+ * Optional
321
+ *
322
+ * @generated from protobuf field: google.protobuf.Duration min_ledger_time_rel = 2
323
+ */
324
+ minLedgerTimeRel: Duration;
325
+ } | {
326
+ oneofKind: undefined;
327
+ };
328
+ }
329
+ /**
330
+ * *
331
+ * Prepared Transaction Message
332
+ *
333
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.PreparedTransaction
334
+ */
335
+ export interface PreparedTransaction {
336
+ /**
337
+ * Daml Transaction representing the ledger effect if executed. See below
338
+ *
339
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.DamlTransaction transaction = 1
340
+ */
341
+ transaction?: DamlTransaction;
342
+ /**
343
+ * Metadata context necessary to execute the transaction
344
+ *
345
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.Metadata metadata = 2
346
+ */
347
+ metadata?: Metadata;
348
+ }
349
+ /**
350
+ * Transaction Metadata
351
+ * Refer to the hashing documentation for information on how it should be hashed.
352
+ *
353
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.Metadata
354
+ */
355
+ export interface Metadata {
356
+ /**
357
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.Metadata.SubmitterInfo submitter_info = 2
358
+ */
359
+ submitterInfo?: Metadata_SubmitterInfo;
360
+ /**
361
+ * @generated from protobuf field: string synchronizer_id = 3
362
+ */
363
+ synchronizerId: string;
364
+ /**
365
+ * @generated from protobuf field: uint32 mediator_group = 4
366
+ */
367
+ mediatorGroup: number;
368
+ /**
369
+ * @generated from protobuf field: string transaction_uuid = 5
370
+ */
371
+ transactionUuid: string;
372
+ /**
373
+ * @generated from protobuf field: uint64 preparation_time = 6
374
+ */
375
+ preparationTime: bigint;
376
+ /**
377
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.Metadata.InputContract input_contracts = 7
378
+ */
379
+ inputContracts: Metadata_InputContract[];
380
+ /**
381
+ *
382
+ * Where ledger time constraints are imposed during the execution of the contract they will be populated
383
+ * in the fields below. These are optional because if the transaction does NOT depend on time, these values
384
+ * do not need to be set.
385
+ * The final ledger effective time used will be chosen when the command is submitted through the [execute] RPC.
386
+ * If the ledger effective time is outside of any populated min/max bounds then a different transaction
387
+ * can result, that will cause a confirmation message rejection.
388
+ *
389
+ * @generated from protobuf field: optional uint64 min_ledger_effective_time = 9
390
+ */
391
+ minLedgerEffectiveTime?: bigint;
392
+ /**
393
+ * @generated from protobuf field: optional uint64 max_ledger_effective_time = 10
394
+ */
395
+ maxLedgerEffectiveTime?: bigint;
396
+ /**
397
+ * Contextual information needed to process the transaction but not signed, either because it's already indirectly
398
+ * signed by signing the transaction, or because it doesn't impact the ledger state
399
+ *
400
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry global_key_mapping = 8
401
+ */
402
+ globalKeyMapping: Metadata_GlobalKeyMappingEntry[];
403
+ }
404
+ /**
405
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.Metadata.SubmitterInfo
406
+ */
407
+ export interface Metadata_SubmitterInfo {
408
+ /**
409
+ * @generated from protobuf field: repeated string act_as = 1
410
+ */
411
+ actAs: string[];
412
+ /**
413
+ * @generated from protobuf field: string command_id = 2
414
+ */
415
+ commandId: string;
416
+ }
417
+ /**
418
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry
419
+ */
420
+ export interface Metadata_GlobalKeyMappingEntry {
421
+ /**
422
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.GlobalKey key = 1
423
+ */
424
+ key?: GlobalKey;
425
+ /**
426
+ * @generated from protobuf field: optional com.daml.ledger.api.v2.Value value = 2
427
+ */
428
+ value?: Value;
429
+ }
430
+ /**
431
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.Metadata.InputContract
432
+ */
433
+ export interface Metadata_InputContract {
434
+ /**
435
+ * @generated from protobuf oneof: contract
436
+ */
437
+ contract: {
438
+ oneofKind: 'v1';
439
+ /**
440
+ * When new versions will be added, they will show here
441
+ *
442
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.transaction.v1.Create v1 = 1
443
+ */
444
+ v1: Create;
445
+ } | {
446
+ oneofKind: undefined;
447
+ };
448
+ /**
449
+ * @generated from protobuf field: uint64 created_at = 1000
450
+ */
451
+ createdAt: bigint;
452
+ /**
453
+ * @generated from protobuf field: bytes event_blob = 1002
454
+ */
455
+ eventBlob: Uint8Array;
456
+ }
457
+ /**
458
+ *
459
+ * Daml Transaction.
460
+ * This represents the effect on the ledger if this transaction is successfully committed.
461
+ *
462
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.DamlTransaction
463
+ */
464
+ export interface DamlTransaction {
465
+ /**
466
+ * Transaction version, will be >= max(nodes version)
467
+ *
468
+ * @generated from protobuf field: string version = 1
469
+ */
470
+ version: string;
471
+ /**
472
+ * Root nodes of the transaction
473
+ *
474
+ * @generated from protobuf field: repeated string roots = 2
475
+ */
476
+ roots: string[];
477
+ /**
478
+ * List of nodes in the transaction
479
+ *
480
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.DamlTransaction.Node nodes = 3
481
+ */
482
+ nodes: DamlTransaction_Node[];
483
+ /**
484
+ * Node seeds are values associated with certain nodes used for generating cryptographic salts
485
+ *
486
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.DamlTransaction.NodeSeed node_seeds = 4
487
+ */
488
+ nodeSeeds: DamlTransaction_NodeSeed[];
489
+ }
490
+ /**
491
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.DamlTransaction.NodeSeed
492
+ */
493
+ export interface DamlTransaction_NodeSeed {
494
+ /**
495
+ * @generated from protobuf field: int32 node_id = 1
496
+ */
497
+ nodeId: number;
498
+ /**
499
+ * @generated from protobuf field: bytes seed = 2
500
+ */
501
+ seed: Uint8Array;
502
+ }
503
+ /**
504
+ * A transaction may contain nodes with different versions.
505
+ * Each node must be hashed using the hashing algorithm corresponding to its specific version.
506
+ * [docs-entry-start: DamlTransaction.Node]
507
+ *
508
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.DamlTransaction.Node
509
+ */
510
+ export interface DamlTransaction_Node {
511
+ /**
512
+ * @generated from protobuf field: string node_id = 1
513
+ */
514
+ nodeId: string;
515
+ /**
516
+ * Versioned node
517
+ *
518
+ * @generated from protobuf oneof: versioned_node
519
+ */
520
+ versionedNode: {
521
+ oneofKind: 'v1';
522
+ /**
523
+ * Start at 1000 so we can add more fields before if necessary
524
+ * When new versions will be added, they will show here
525
+ *
526
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.transaction.v1.Node v1 = 1000
527
+ */
528
+ v1: Node;
529
+ } | {
530
+ oneofKind: undefined;
531
+ };
532
+ }
533
+ /**
534
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.GetPreferredPackageVersionRequest
535
+ */
536
+ export interface GetPreferredPackageVersionRequest {
537
+ /**
538
+ * The parties whose participants' vetting state should be considered when resolving the preferred package.
539
+ * Required
540
+ *
541
+ * @generated from protobuf field: repeated string parties = 1
542
+ */
543
+ parties: string[];
544
+ /**
545
+ * The package-name for which the preferred package should be resolved.
546
+ * Required
547
+ *
548
+ * @generated from protobuf field: string package_name = 2
549
+ */
550
+ packageName: string;
551
+ /**
552
+ * The synchronizer whose vetting state to use for resolving this query.
553
+ * If not specified, the vetting state of all the synchronizers the participant is connected to will be used.
554
+ * Optional
555
+ *
556
+ * @generated from protobuf field: string synchronizer_id = 3
557
+ */
558
+ synchronizerId: string;
559
+ /**
560
+ * The timestamp at which the package vetting validity should be computed
561
+ * on the latest topology snapshot as seen by the participant.
562
+ * If not provided, the participant's current clock time is used.
563
+ * Optional
564
+ *
565
+ * @generated from protobuf field: google.protobuf.Timestamp vetting_valid_at = 4
566
+ */
567
+ vettingValidAt?: Timestamp;
568
+ }
569
+ /**
570
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.GetPreferredPackageVersionResponse
571
+ */
572
+ export interface GetPreferredPackageVersionResponse {
573
+ /**
574
+ * Not populated when no preferred package is found
575
+ * Optional
576
+ *
577
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PackagePreference package_preference = 1
578
+ */
579
+ packagePreference?: PackagePreference;
580
+ }
581
+ /**
582
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.PackagePreference
583
+ */
584
+ export interface PackagePreference {
585
+ /**
586
+ * The package reference of the preferred package.
587
+ * Required
588
+ *
589
+ * @generated from protobuf field: com.daml.ledger.api.v2.PackageReference package_reference = 1
590
+ */
591
+ packageReference?: PackageReference;
592
+ /**
593
+ * The synchronizer for which the preferred package was computed.
594
+ * If the synchronizer_id was specified in the request, then it matches the request synchronizer_id.
595
+ * Required
596
+ *
597
+ * @generated from protobuf field: string synchronizer_id = 2
598
+ */
599
+ synchronizerId: string;
600
+ }
601
+ /**
602
+ * [docs-entry-start: HashingSchemeVersion]
603
+ * The hashing scheme version used when building the hash of the PreparedTransaction
604
+ *
605
+ * @generated from protobuf enum com.daml.ledger.api.v2.interactive.HashingSchemeVersion
606
+ */
607
+ export declare enum HashingSchemeVersion {
608
+ /**
609
+ * @generated from protobuf enum value: HASHING_SCHEME_VERSION_UNSPECIFIED = 0;
610
+ */
611
+ UNSPECIFIED = 0,
612
+ /**
613
+ * @generated from protobuf enum value: HASHING_SCHEME_VERSION_V2 = 2;
614
+ */
615
+ V2 = 2
616
+ }
617
+ /**
618
+ * @generated from protobuf enum com.daml.ledger.api.v2.interactive.SigningAlgorithmSpec
619
+ */
620
+ export declare enum SigningAlgorithmSpec {
621
+ /**
622
+ * @generated from protobuf enum value: SIGNING_ALGORITHM_SPEC_UNSPECIFIED = 0;
623
+ */
624
+ UNSPECIFIED = 0,
625
+ /**
626
+ * EdDSA Signature based on Curve25519 with SHA-512
627
+ * http://ed25519.cr.yp.to/
628
+ *
629
+ * @generated from protobuf enum value: SIGNING_ALGORITHM_SPEC_ED25519 = 1;
630
+ */
631
+ ED25519 = 1,
632
+ /**
633
+ * Elliptic Curve Digital Signature Algorithm with SHA256
634
+ *
635
+ * @generated from protobuf enum value: SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256 = 2;
636
+ */
637
+ EC_DSA_SHA_256 = 2,
638
+ /**
639
+ * Elliptic Curve Digital Signature Algorithm with SHA384
640
+ *
641
+ * @generated from protobuf enum value: SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_384 = 3;
642
+ */
643
+ EC_DSA_SHA_384 = 3
644
+ }
645
+ /**
646
+ * @generated from protobuf enum com.daml.ledger.api.v2.interactive.SignatureFormat
647
+ */
648
+ export declare enum SignatureFormat {
649
+ /**
650
+ * @generated from protobuf enum value: SIGNATURE_FORMAT_UNSPECIFIED = 0;
651
+ */
652
+ UNSPECIFIED = 0,
653
+ /**
654
+ * Signature scheme specific signature format
655
+ * Legacy format no longer used, except for migrations
656
+ *
657
+ * @generated from protobuf enum value: SIGNATURE_FORMAT_RAW = 1;
658
+ */
659
+ RAW = 1,
660
+ /**
661
+ * ASN.1 + DER-encoding of the `r` and `s` integers, as defined in https://datatracker.ietf.org/doc/html/rfc3279#section-2.2.3
662
+ * Used for ECDSA signatures
663
+ *
664
+ * @generated from protobuf enum value: SIGNATURE_FORMAT_DER = 2;
665
+ */
666
+ DER = 2,
667
+ /**
668
+ * Concatenation of the integers `r || s` in little-endian form, as defined in https://datatracker.ietf.org/doc/html/rfc8032#section-3.3
669
+ * Note that this is different from the format defined in IEEE P1363, which uses concatenation in big-endian form.
670
+ * Used for EdDSA signatures
671
+ *
672
+ * @generated from protobuf enum value: SIGNATURE_FORMAT_CONCAT = 3;
673
+ */
674
+ CONCAT = 3,
675
+ /**
676
+ * Symbolic crypto, must only be used for testing
677
+ *
678
+ * @generated from protobuf enum value: SIGNATURE_FORMAT_SYMBOLIC = 10000;
679
+ */
680
+ SYMBOLIC = 10000
681
+ }
682
+ declare class PrepareSubmissionRequest$Type extends MessageType<PrepareSubmissionRequest> {
683
+ constructor();
684
+ create(value?: PartialMessage<PrepareSubmissionRequest>): PrepareSubmissionRequest;
685
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PrepareSubmissionRequest): PrepareSubmissionRequest;
686
+ internalBinaryWrite(message: PrepareSubmissionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
687
+ }
688
+ /**
689
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.PrepareSubmissionRequest
690
+ */
691
+ export declare const PrepareSubmissionRequest: PrepareSubmissionRequest$Type;
692
+ declare class PrepareSubmissionResponse$Type extends MessageType<PrepareSubmissionResponse> {
693
+ constructor();
694
+ create(value?: PartialMessage<PrepareSubmissionResponse>): PrepareSubmissionResponse;
695
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PrepareSubmissionResponse): PrepareSubmissionResponse;
696
+ internalBinaryWrite(message: PrepareSubmissionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
697
+ }
698
+ /**
699
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.PrepareSubmissionResponse
700
+ */
701
+ export declare const PrepareSubmissionResponse: PrepareSubmissionResponse$Type;
702
+ declare class Signature$Type extends MessageType<Signature> {
703
+ constructor();
704
+ create(value?: PartialMessage<Signature>): Signature;
705
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Signature): Signature;
706
+ internalBinaryWrite(message: Signature, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
707
+ }
708
+ /**
709
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.Signature
710
+ */
711
+ export declare const Signature: Signature$Type;
712
+ declare class SinglePartySignatures$Type extends MessageType<SinglePartySignatures> {
713
+ constructor();
714
+ create(value?: PartialMessage<SinglePartySignatures>): SinglePartySignatures;
715
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SinglePartySignatures): SinglePartySignatures;
716
+ internalBinaryWrite(message: SinglePartySignatures, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
717
+ }
718
+ /**
719
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.SinglePartySignatures
720
+ */
721
+ export declare const SinglePartySignatures: SinglePartySignatures$Type;
722
+ declare class PartySignatures$Type extends MessageType<PartySignatures> {
723
+ constructor();
724
+ create(value?: PartialMessage<PartySignatures>): PartySignatures;
725
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PartySignatures): PartySignatures;
726
+ internalBinaryWrite(message: PartySignatures, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
727
+ }
728
+ /**
729
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.PartySignatures
730
+ */
731
+ export declare const PartySignatures: PartySignatures$Type;
732
+ declare class ExecuteSubmissionRequest$Type extends MessageType<ExecuteSubmissionRequest> {
733
+ constructor();
734
+ create(value?: PartialMessage<ExecuteSubmissionRequest>): ExecuteSubmissionRequest;
735
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecuteSubmissionRequest): ExecuteSubmissionRequest;
736
+ internalBinaryWrite(message: ExecuteSubmissionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
737
+ }
738
+ /**
739
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionRequest
740
+ */
741
+ export declare const ExecuteSubmissionRequest: ExecuteSubmissionRequest$Type;
742
+ declare class ExecuteSubmissionResponse$Type extends MessageType<ExecuteSubmissionResponse> {
743
+ constructor();
744
+ create(value?: PartialMessage<ExecuteSubmissionResponse>): ExecuteSubmissionResponse;
745
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecuteSubmissionResponse): ExecuteSubmissionResponse;
746
+ internalBinaryWrite(message: ExecuteSubmissionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
747
+ }
748
+ /**
749
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionResponse
750
+ */
751
+ export declare const ExecuteSubmissionResponse: ExecuteSubmissionResponse$Type;
752
+ declare class MinLedgerTime$Type extends MessageType<MinLedgerTime> {
753
+ constructor();
754
+ create(value?: PartialMessage<MinLedgerTime>): MinLedgerTime;
755
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MinLedgerTime): MinLedgerTime;
756
+ internalBinaryWrite(message: MinLedgerTime, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
757
+ }
758
+ /**
759
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.MinLedgerTime
760
+ */
761
+ export declare const MinLedgerTime: MinLedgerTime$Type;
762
+ declare class PreparedTransaction$Type extends MessageType<PreparedTransaction> {
763
+ constructor();
764
+ create(value?: PartialMessage<PreparedTransaction>): PreparedTransaction;
765
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PreparedTransaction): PreparedTransaction;
766
+ internalBinaryWrite(message: PreparedTransaction, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
767
+ }
768
+ /**
769
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.PreparedTransaction
770
+ */
771
+ export declare const PreparedTransaction: PreparedTransaction$Type;
772
+ declare class Metadata$Type extends MessageType<Metadata> {
773
+ constructor();
774
+ create(value?: PartialMessage<Metadata>): Metadata;
775
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Metadata): Metadata;
776
+ internalBinaryWrite(message: Metadata, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
777
+ }
778
+ /**
779
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.Metadata
780
+ */
781
+ export declare const Metadata: Metadata$Type;
782
+ declare class Metadata_SubmitterInfo$Type extends MessageType<Metadata_SubmitterInfo> {
783
+ constructor();
784
+ create(value?: PartialMessage<Metadata_SubmitterInfo>): Metadata_SubmitterInfo;
785
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Metadata_SubmitterInfo): Metadata_SubmitterInfo;
786
+ internalBinaryWrite(message: Metadata_SubmitterInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
787
+ }
788
+ /**
789
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.Metadata.SubmitterInfo
790
+ */
791
+ export declare const Metadata_SubmitterInfo: Metadata_SubmitterInfo$Type;
792
+ declare class Metadata_GlobalKeyMappingEntry$Type extends MessageType<Metadata_GlobalKeyMappingEntry> {
793
+ constructor();
794
+ create(value?: PartialMessage<Metadata_GlobalKeyMappingEntry>): Metadata_GlobalKeyMappingEntry;
795
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Metadata_GlobalKeyMappingEntry): Metadata_GlobalKeyMappingEntry;
796
+ internalBinaryWrite(message: Metadata_GlobalKeyMappingEntry, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
797
+ }
798
+ /**
799
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry
800
+ */
801
+ export declare const Metadata_GlobalKeyMappingEntry: Metadata_GlobalKeyMappingEntry$Type;
802
+ declare class Metadata_InputContract$Type extends MessageType<Metadata_InputContract> {
803
+ constructor();
804
+ create(value?: PartialMessage<Metadata_InputContract>): Metadata_InputContract;
805
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Metadata_InputContract): Metadata_InputContract;
806
+ internalBinaryWrite(message: Metadata_InputContract, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
807
+ }
808
+ /**
809
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.Metadata.InputContract
810
+ */
811
+ export declare const Metadata_InputContract: Metadata_InputContract$Type;
812
+ declare class DamlTransaction$Type extends MessageType<DamlTransaction> {
813
+ constructor();
814
+ create(value?: PartialMessage<DamlTransaction>): DamlTransaction;
815
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DamlTransaction): DamlTransaction;
816
+ internalBinaryWrite(message: DamlTransaction, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
817
+ }
818
+ /**
819
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.DamlTransaction
820
+ */
821
+ export declare const DamlTransaction: DamlTransaction$Type;
822
+ declare class DamlTransaction_NodeSeed$Type extends MessageType<DamlTransaction_NodeSeed> {
823
+ constructor();
824
+ create(value?: PartialMessage<DamlTransaction_NodeSeed>): DamlTransaction_NodeSeed;
825
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DamlTransaction_NodeSeed): DamlTransaction_NodeSeed;
826
+ internalBinaryWrite(message: DamlTransaction_NodeSeed, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
827
+ }
828
+ /**
829
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.DamlTransaction.NodeSeed
830
+ */
831
+ export declare const DamlTransaction_NodeSeed: DamlTransaction_NodeSeed$Type;
832
+ declare class DamlTransaction_Node$Type extends MessageType<DamlTransaction_Node> {
833
+ constructor();
834
+ create(value?: PartialMessage<DamlTransaction_Node>): DamlTransaction_Node;
835
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DamlTransaction_Node): DamlTransaction_Node;
836
+ internalBinaryWrite(message: DamlTransaction_Node, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
837
+ }
838
+ /**
839
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.DamlTransaction.Node
840
+ */
841
+ export declare const DamlTransaction_Node: DamlTransaction_Node$Type;
842
+ declare class GetPreferredPackageVersionRequest$Type extends MessageType<GetPreferredPackageVersionRequest> {
843
+ constructor();
844
+ create(value?: PartialMessage<GetPreferredPackageVersionRequest>): GetPreferredPackageVersionRequest;
845
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPreferredPackageVersionRequest): GetPreferredPackageVersionRequest;
846
+ internalBinaryWrite(message: GetPreferredPackageVersionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
847
+ }
848
+ /**
849
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.GetPreferredPackageVersionRequest
850
+ */
851
+ export declare const GetPreferredPackageVersionRequest: GetPreferredPackageVersionRequest$Type;
852
+ declare class GetPreferredPackageVersionResponse$Type extends MessageType<GetPreferredPackageVersionResponse> {
853
+ constructor();
854
+ create(value?: PartialMessage<GetPreferredPackageVersionResponse>): GetPreferredPackageVersionResponse;
855
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPreferredPackageVersionResponse): GetPreferredPackageVersionResponse;
856
+ internalBinaryWrite(message: GetPreferredPackageVersionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
857
+ }
858
+ /**
859
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.GetPreferredPackageVersionResponse
860
+ */
861
+ export declare const GetPreferredPackageVersionResponse: GetPreferredPackageVersionResponse$Type;
862
+ declare class PackagePreference$Type extends MessageType<PackagePreference> {
863
+ constructor();
864
+ create(value?: PartialMessage<PackagePreference>): PackagePreference;
865
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PackagePreference): PackagePreference;
866
+ internalBinaryWrite(message: PackagePreference, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
867
+ }
868
+ /**
869
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.PackagePreference
870
+ */
871
+ export declare const PackagePreference: PackagePreference$Type;
872
+ /**
873
+ * @generated ServiceType for protobuf service com.daml.ledger.api.v2.interactive.InteractiveSubmissionService
874
+ */
875
+ export declare const InteractiveSubmissionService: ServiceType;
876
+ export {};
877
+ //# sourceMappingURL=interactive_submission_service.d.ts.map