@canton-network/core-ledger-proto 1.13.0 → 1.15.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 (397) hide show
  1. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.cjs +85 -9
  2. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.cjs +2 -3
  3. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.cjs +1 -2
  4. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.cjs +2 -3
  5. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/object_meta.cjs +1 -2
  6. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.cjs +521 -28
  7. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.cjs +20 -17
  8. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.cjs +1 -2
  9. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.cjs +2 -3
  10. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.cjs +63 -10
  11. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.cjs +2 -11
  12. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.cjs +118 -2
  13. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.cjs +2 -3
  14. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.cjs +63 -2
  15. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.client.cjs +13 -3
  16. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.cjs +3 -54
  17. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.client.cjs +3 -16
  18. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.cjs +1 -2
  19. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.client.cjs +2 -3
  20. package/dist/cjs/_proto/com/daml/ledger/api/v2/commands.cjs +48 -24
  21. package/dist/cjs/_proto/com/daml/ledger/api/v2/completion.cjs +18 -7
  22. package/dist/cjs/_proto/com/daml/ledger/api/v2/contract_service.cjs +113 -0
  23. package/dist/cjs/_proto/com/daml/ledger/api/v2/contract_service.client.cjs +33 -0
  24. package/dist/cjs/_proto/com/daml/ledger/api/v2/crypto.cjs +157 -2
  25. package/dist/cjs/_proto/com/daml/ledger/api/v2/event.cjs +60 -6
  26. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.cjs +12 -28
  27. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.client.cjs +2 -3
  28. package/dist/cjs/_proto/com/daml/ledger/api/v2/experimental_features.cjs +1 -2
  29. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.cjs +55 -2
  30. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.cjs +630 -205
  31. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.cjs +26 -5
  32. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.cjs +168 -2
  33. package/dist/cjs/_proto/com/daml/ledger/api/v2/offset_checkpoint.cjs +5 -6
  34. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_reference.cjs +232 -2
  35. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.cjs +252 -2
  36. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.client.cjs +12 -3
  37. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment.cjs +39 -17
  38. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment_commands.cjs +5 -6
  39. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.cjs +204 -35
  40. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.client.cjs +21 -8
  41. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.cjs +13 -14
  42. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.client.cjs +2 -3
  43. package/dist/cjs/_proto/com/daml/ledger/api/v2/topology_transaction.cjs +91 -6
  44. package/dist/cjs/_proto/com/daml/ledger/api/v2/trace_context.cjs +1 -2
  45. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction.cjs +31 -229
  46. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction_filter.cjs +1 -81
  47. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.cjs +190 -348
  48. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.client.cjs +21 -73
  49. package/dist/cjs/_proto/com/daml/ledger/api/v2/value.cjs +5 -6
  50. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.cjs +59 -6
  51. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.client.cjs +2 -3
  52. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto.cjs +61 -32
  53. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.cjs +1 -2
  54. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.cjs +30 -41
  55. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology.cjs +343 -100
  56. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.cjs +23 -13
  57. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common.cjs +119 -36
  58. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.cjs +1047 -277
  59. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.cjs +68 -16
  60. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.cjs +179 -67
  61. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.cjs +20 -11
  62. package/dist/cjs/_proto/google/protobuf/any.cjs +1 -2
  63. package/dist/cjs/_proto/google/protobuf/descriptor.cjs +1 -2
  64. package/dist/cjs/_proto/google/protobuf/duration.cjs +1 -2
  65. package/dist/cjs/_proto/google/protobuf/empty.cjs +1 -2
  66. package/dist/cjs/_proto/google/protobuf/field_mask.cjs +1 -2
  67. package/dist/cjs/_proto/google/protobuf/struct.cjs +1 -2
  68. package/dist/cjs/_proto/google/protobuf/timestamp.cjs +1 -2
  69. package/dist/cjs/_proto/google/rpc/code.cjs +1 -2
  70. package/dist/cjs/_proto/google/rpc/context/attribute_context.cjs +21 -22
  71. package/dist/cjs/_proto/google/rpc/context/audit_context.cjs +1 -2
  72. package/dist/cjs/_proto/google/rpc/error_details.cjs +142 -28
  73. package/dist/cjs/_proto/google/rpc/status.cjs +1 -2
  74. package/dist/cjs/_proto/scalapb/scalapb.cjs +1 -2
  75. package/dist/cjs/_virtual/{_@oxc-project_runtime@0.153.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/defineProperty.cjs +1 -2
  76. package/dist/cjs/_virtual/{_@oxc-project_runtime@0.153.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/toPrimitive.cjs +1 -2
  77. package/dist/cjs/_virtual/{_@oxc-project_runtime@0.153.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/toPropertyKey.cjs +1 -2
  78. package/dist/cjs/_virtual/{_@oxc-project_runtime@0.153.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/typeof.cjs +1 -2
  79. package/dist/cjs/index.cjs +173 -250
  80. package/dist/cjs/unknown-fields.cjs +87 -0
  81. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +2 -3
  82. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js.map +1 -1
  83. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +79 -4
  84. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js.map +1 -1
  85. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +2 -3
  86. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js.map +1 -1
  87. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +1 -2
  88. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js.map +1 -1
  89. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/object_meta.js +1 -2
  90. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/object_meta.js.map +1 -1
  91. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +20 -17
  92. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js.map +1 -1
  93. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +511 -26
  94. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.js.map +1 -1
  95. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +2 -3
  96. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js.map +1 -1
  97. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +1 -2
  98. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js.map +1 -1
  99. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +2 -11
  100. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js.map +1 -1
  101. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +57 -4
  102. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.js.map +1 -1
  103. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +2 -3
  104. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js.map +1 -1
  105. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +117 -3
  106. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.js.map +1 -1
  107. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +13 -3
  108. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.client.js.map +1 -1
  109. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.js +63 -3
  110. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.js.map +1 -1
  111. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.client.js +3 -16
  112. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.client.js.map +1 -1
  113. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.js +4 -54
  114. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.js.map +1 -1
  115. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +2 -3
  116. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.client.js.map +1 -1
  117. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.js +1 -2
  118. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.js.map +1 -1
  119. package/dist/esm/_proto/com/daml/ledger/api/v2/commands.js +39 -15
  120. package/dist/esm/_proto/com/daml/ledger/api/v2/commands.js.map +1 -1
  121. package/dist/esm/_proto/com/daml/ledger/api/v2/completion.js +15 -4
  122. package/dist/esm/_proto/com/daml/ledger/api/v2/completion.js.map +1 -1
  123. package/dist/esm/_proto/com/daml/ledger/api/v2/contract_service.client.js +34 -0
  124. package/dist/esm/_proto/com/daml/ledger/api/v2/contract_service.client.js.map +1 -0
  125. package/dist/esm/_proto/com/daml/ledger/api/v2/contract_service.js +112 -0
  126. package/dist/esm/_proto/com/daml/ledger/api/v2/contract_service.js.map +1 -0
  127. package/dist/esm/_proto/com/daml/ledger/api/v2/crypto.js +155 -3
  128. package/dist/esm/_proto/com/daml/ledger/api/v2/crypto.js.map +1 -1
  129. package/dist/esm/_proto/com/daml/ledger/api/v2/event.js +57 -3
  130. package/dist/esm/_proto/com/daml/ledger/api/v2/event.js.map +1 -1
  131. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.client.js +2 -3
  132. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.client.js.map +1 -1
  133. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.js +12 -28
  134. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.js.map +1 -1
  135. package/dist/esm/_proto/com/daml/ledger/api/v2/experimental_features.js +1 -2
  136. package/dist/esm/_proto/com/daml/ledger/api/v2/experimental_features.js.map +1 -1
  137. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +55 -3
  138. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js.map +1 -1
  139. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +26 -5
  140. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js.map +1 -1
  141. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +607 -185
  142. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js.map +1 -1
  143. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +168 -3
  144. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js.map +1 -1
  145. package/dist/esm/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +2 -3
  146. package/dist/esm/_proto/com/daml/ledger/api/v2/offset_checkpoint.js.map +1 -1
  147. package/dist/esm/_proto/com/daml/ledger/api/v2/package_reference.js +230 -3
  148. package/dist/esm/_proto/com/daml/ledger/api/v2/package_reference.js.map +1 -1
  149. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.client.js +12 -3
  150. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.client.js.map +1 -1
  151. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.js +249 -3
  152. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.js.map +1 -1
  153. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment.js +33 -11
  154. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment.js.map +1 -1
  155. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment_commands.js +5 -6
  156. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment_commands.js.map +1 -1
  157. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.client.js +21 -8
  158. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.client.js.map +1 -1
  159. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.js +203 -36
  160. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.js.map +1 -1
  161. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +2 -3
  162. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.client.js.map +1 -1
  163. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.js +3 -4
  164. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.js.map +1 -1
  165. package/dist/esm/_proto/com/daml/ledger/api/v2/topology_transaction.js +88 -4
  166. package/dist/esm/_proto/com/daml/ledger/api/v2/topology_transaction.js.map +1 -1
  167. package/dist/esm/_proto/com/daml/ledger/api/v2/trace_context.js +1 -2
  168. package/dist/esm/_proto/com/daml/ledger/api/v2/trace_context.js.map +1 -1
  169. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction.js +27 -223
  170. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction.js.map +1 -1
  171. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction_filter.js +2 -81
  172. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction_filter.js.map +1 -1
  173. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.client.js +21 -73
  174. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.client.js.map +1 -1
  175. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.js +189 -344
  176. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.js.map +1 -1
  177. package/dist/esm/_proto/com/daml/ledger/api/v2/value.js +2 -3
  178. package/dist/esm/_proto/com/daml/ledger/api/v2/value.js.map +1 -1
  179. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.client.js +2 -3
  180. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.client.js.map +1 -1
  181. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.js +56 -4
  182. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.js.map +1 -1
  183. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.js +61 -33
  184. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.js.map +1 -1
  185. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +1 -2
  186. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js.map +1 -1
  187. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +3 -14
  188. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js.map +1 -1
  189. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.js +313 -74
  190. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.js.map +1 -1
  191. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +17 -7
  192. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js.map +1 -1
  193. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.js +109 -27
  194. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.js.map +1 -1
  195. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +65 -13
  196. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js.map +1 -1
  197. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +945 -189
  198. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js.map +1 -1
  199. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +17 -8
  200. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js.map +1 -1
  201. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +128 -18
  202. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js.map +1 -1
  203. package/dist/esm/_proto/google/protobuf/any.js +1 -2
  204. package/dist/esm/_proto/google/protobuf/descriptor.js +1 -2
  205. package/dist/esm/_proto/google/protobuf/duration.js +1 -2
  206. package/dist/esm/_proto/google/protobuf/empty.js +1 -2
  207. package/dist/esm/_proto/google/protobuf/field_mask.js +1 -2
  208. package/dist/esm/_proto/google/protobuf/struct.js +1 -2
  209. package/dist/esm/_proto/google/protobuf/timestamp.js +1 -2
  210. package/dist/esm/_proto/google/rpc/code.js +1 -2
  211. package/dist/esm/_proto/google/rpc/code.js.map +1 -1
  212. package/dist/esm/_proto/google/rpc/context/attribute_context.js +3 -4
  213. package/dist/esm/_proto/google/rpc/context/attribute_context.js.map +1 -1
  214. package/dist/esm/_proto/google/rpc/context/audit_context.js +1 -2
  215. package/dist/esm/_proto/google/rpc/context/audit_context.js.map +1 -1
  216. package/dist/esm/_proto/google/rpc/error_details.js +139 -25
  217. package/dist/esm/_proto/google/rpc/error_details.js.map +1 -1
  218. package/dist/esm/_proto/google/rpc/status.js +1 -2
  219. package/dist/esm/_proto/google/rpc/status.js.map +1 -1
  220. package/dist/esm/_proto/scalapb/scalapb.js +1 -2
  221. package/dist/esm/_virtual/{_@oxc-project_runtime@0.153.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/defineProperty.js +1 -2
  222. package/dist/esm/_virtual/{_@oxc-project_runtime@0.153.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/toPrimitive.js +1 -2
  223. package/dist/esm/_virtual/{_@oxc-project_runtime@0.153.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/toPropertyKey.js +1 -2
  224. package/dist/esm/_virtual/{_@oxc-project_runtime@0.153.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/typeof.js +1 -2
  225. package/dist/esm/index.js +10 -9
  226. package/dist/esm/unknown-fields.js +88 -0
  227. package/dist/esm/unknown-fields.js.map +1 -0
  228. package/dist/types/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +1 -1
  229. package/dist/types/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +105 -0
  230. package/dist/types/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +1 -1
  231. package/dist/types/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +1 -1
  232. package/dist/types/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +25 -5
  233. package/dist/types/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +1 -1
  234. package/dist/types/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +3 -1
  235. package/dist/types/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +1 -1
  236. package/dist/types/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +32 -28
  237. package/dist/types/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +1 -1
  238. package/dist/types/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +376 -6
  239. package/dist/types/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +1 -1
  240. package/dist/types/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +1 -1
  241. package/dist/types/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +10 -13
  242. package/dist/types/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +1 -1
  243. package/dist/types/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +0 -16
  244. package/dist/types/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +1 -1
  245. package/dist/types/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +148 -27
  246. package/dist/types/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +1 -1
  247. package/dist/types/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +1 -1
  248. package/dist/types/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +146 -15
  249. package/dist/types/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +1 -1
  250. package/dist/types/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +17 -0
  251. package/dist/types/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +1 -1
  252. package/dist/types/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +47 -1
  253. package/dist/types/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +1 -1
  254. package/dist/types/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +0 -19
  255. package/dist/types/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +1 -1
  256. package/dist/types/_proto/com/daml/ledger/api/v2/command_service.d.ts +10 -29
  257. package/dist/types/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +1 -1
  258. package/dist/types/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +1 -1
  259. package/dist/types/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +2 -0
  260. package/dist/types/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +1 -1
  261. package/dist/types/_proto/com/daml/ledger/api/v2/commands.d.ts +71 -10
  262. package/dist/types/_proto/com/daml/ledger/api/v2/commands.d.ts.map +1 -1
  263. package/dist/types/_proto/com/daml/ledger/api/v2/completion.d.ts +48 -5
  264. package/dist/types/_proto/com/daml/ledger/api/v2/completion.d.ts.map +1 -1
  265. package/dist/types/_proto/com/daml/ledger/api/v2/contract_service.client.d.ts +50 -0
  266. package/dist/types/_proto/com/daml/ledger/api/v2/contract_service.client.d.ts.map +1 -0
  267. package/dist/types/_proto/com/daml/ledger/api/v2/contract_service.d.ts +81 -0
  268. package/dist/types/_proto/com/daml/ledger/api/v2/contract_service.d.ts.map +1 -0
  269. package/dist/types/_proto/com/daml/ledger/api/v2/crypto.d.ts +114 -0
  270. package/dist/types/_proto/com/daml/ledger/api/v2/crypto.d.ts.map +1 -1
  271. package/dist/types/_proto/com/daml/ledger/api/v2/event.d.ts +129 -36
  272. package/dist/types/_proto/com/daml/ledger/api/v2/event.d.ts.map +1 -1
  273. package/dist/types/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +1 -1
  274. package/dist/types/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +9 -18
  275. package/dist/types/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +1 -1
  276. package/dist/types/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +10 -0
  277. package/dist/types/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +1 -1
  278. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +39 -0
  279. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +1 -1
  280. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +36 -0
  281. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +1 -1
  282. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +556 -127
  283. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +1 -1
  284. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +171 -3
  285. package/dist/types/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +1 -1
  286. package/dist/types/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +9 -1
  287. package/dist/types/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +1 -1
  288. package/dist/types/_proto/com/daml/ledger/api/v2/package_reference.d.ts +161 -0
  289. package/dist/types/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +1 -1
  290. package/dist/types/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +16 -0
  291. package/dist/types/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +1 -1
  292. package/dist/types/_proto/com/daml/ledger/api/v2/package_service.d.ts +198 -2
  293. package/dist/types/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +1 -1
  294. package/dist/types/_proto/com/daml/ledger/api/v2/reassignment.d.ts +65 -13
  295. package/dist/types/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +1 -1
  296. package/dist/types/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +18 -2
  297. package/dist/types/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +1 -1
  298. package/dist/types/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +28 -4
  299. package/dist/types/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +1 -1
  300. package/dist/types/_proto/com/daml/ledger/api/v2/state_service.d.ts +163 -25
  301. package/dist/types/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +1 -1
  302. package/dist/types/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +1 -1
  303. package/dist/types/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +6 -0
  304. package/dist/types/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +1 -1
  305. package/dist/types/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +52 -3
  306. package/dist/types/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +1 -1
  307. package/dist/types/_proto/com/daml/ledger/api/v2/trace_context.d.ts +4 -0
  308. package/dist/types/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +1 -1
  309. package/dist/types/_proto/com/daml/ledger/api/v2/transaction.d.ts +38 -152
  310. package/dist/types/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +1 -1
  311. package/dist/types/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +31 -55
  312. package/dist/types/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +1 -1
  313. package/dist/types/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +30 -111
  314. package/dist/types/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +1 -1
  315. package/dist/types/_proto/com/daml/ledger/api/v2/update_service.d.ts +162 -238
  316. package/dist/types/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +1 -1
  317. package/dist/types/_proto/com/daml/ledger/api/v2/value.d.ts.map +1 -1
  318. package/dist/types/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +1 -1
  319. package/dist/types/_proto/com/daml/ledger/api/v2/version_service.d.ts +56 -0
  320. package/dist/types/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +1 -1
  321. package/dist/types/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +32 -20
  322. package/dist/types/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +1 -1
  323. package/dist/types/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +1 -1
  324. package/dist/types/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +2 -4
  325. package/dist/types/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +1 -1
  326. package/dist/types/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +202 -50
  327. package/dist/types/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +1 -1
  328. package/dist/types/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +9 -2
  329. package/dist/types/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +1 -1
  330. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +68 -20
  331. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +1 -1
  332. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +88 -6
  333. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +1 -1
  334. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +381 -45
  335. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +1 -1
  336. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +16 -0
  337. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +1 -1
  338. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +66 -13
  339. package/dist/types/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +1 -1
  340. package/dist/types/_proto/google/protobuf/any.d.ts.map +1 -1
  341. package/dist/types/_proto/google/protobuf/descriptor.d.ts.map +1 -1
  342. package/dist/types/_proto/google/protobuf/duration.d.ts.map +1 -1
  343. package/dist/types/_proto/google/protobuf/empty.d.ts.map +1 -1
  344. package/dist/types/_proto/google/protobuf/field_mask.d.ts.map +1 -1
  345. package/dist/types/_proto/google/protobuf/struct.d.ts.map +1 -1
  346. package/dist/types/_proto/google/protobuf/timestamp.d.ts.map +1 -1
  347. package/dist/types/_proto/google/rpc/context/attribute_context.d.ts +2 -1
  348. package/dist/types/_proto/google/rpc/context/attribute_context.d.ts.map +1 -1
  349. package/dist/types/_proto/google/rpc/context/audit_context.d.ts.map +1 -1
  350. package/dist/types/_proto/google/rpc/error_details.d.ts +108 -3
  351. package/dist/types/_proto/google/rpc/error_details.d.ts.map +1 -1
  352. package/dist/types/_proto/google/rpc/status.d.ts.map +1 -1
  353. package/dist/types/_proto/scalapb/scalapb.d.ts.map +1 -1
  354. package/dist/types/index.d.ts +1 -0
  355. package/dist/types/index.d.ts.map +1 -1
  356. package/dist/types/unknown-fields.d.ts +18 -0
  357. package/dist/types/unknown-fields.d.ts.map +1 -0
  358. package/package.json +11 -10
  359. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto2.cjs +0 -1964
  360. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters2.cjs +0 -47
  361. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters2.cjs +0 -328
  362. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology2.cjs +0 -2260
  363. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters2.cjs +0 -517
  364. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common2.cjs +0 -353
  365. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.cjs +0 -3133
  366. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.client.cjs +0 -154
  367. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.cjs +0 -1139
  368. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.client.cjs +0 -80
  369. package/dist/cjs/_proto/google/protobuf/duration2.cjs +0 -93
  370. package/dist/cjs/_proto/google/protobuf/empty2.cjs +0 -37
  371. package/dist/cjs/_proto/google/protobuf/timestamp2.cjs +0 -118
  372. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto2.js +0 -1864
  373. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto2.js.map +0 -1
  374. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters2.js +0 -49
  375. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters2.js.map +0 -1
  376. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters2.js +0 -322
  377. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters2.js.map +0 -1
  378. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology2.js +0 -2214
  379. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology2.js.map +0 -1
  380. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters2.js +0 -519
  381. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters2.js.map +0 -1
  382. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common2.js +0 -350
  383. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common2.js.map +0 -1
  384. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.client.js +0 -156
  385. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.client.js.map +0 -1
  386. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.js +0 -3079
  387. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.js.map +0 -1
  388. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.client.js +0 -82
  389. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.client.js.map +0 -1
  390. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.js +0 -1118
  391. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.js.map +0 -1
  392. package/dist/esm/_proto/google/protobuf/duration2.js +0 -95
  393. package/dist/esm/_proto/google/protobuf/duration2.js.map +0 -1
  394. package/dist/esm/_proto/google/protobuf/empty2.js +0 -39
  395. package/dist/esm/_proto/google/protobuf/empty2.js.map +0 -1
  396. package/dist/esm/_proto/google/protobuf/timestamp2.js +0 -120
  397. package/dist/esm/_proto/google/protobuf/timestamp2.js.map +0 -1
@@ -10,11 +10,87 @@ import { Node } from './transaction/v1/interactive_submission_data.js';
10
10
  import { Create } from './transaction/v1/interactive_submission_data.js';
11
11
  import { Value } from '../value.js';
12
12
  import { GlobalKey } from './interactive_submission_common_data.js';
13
+ import { Transaction } from '../transaction.js';
14
+ import { TransactionFormat } from '../transaction_filter.js';
13
15
  import { Duration } from '../../../../../../google/protobuf/duration.js';
16
+ import { Signature } from '../crypto.js';
14
17
  import { PrefetchContractKey } from '../commands.js';
15
18
  import { DisclosedContract } from '../commands.js';
16
- import { Timestamp } from '../../../../../../google/protobuf/timestamp.js';
17
19
  import { Command } from '../commands.js';
20
+ import { Timestamp } from '../../../../../../google/protobuf/timestamp.js';
21
+ import { SigningAlgorithmSpec } from '../crypto.js';
22
+ /**
23
+ * Hints to improve cost estimation precision of a prepared transaction
24
+ *
25
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.CostEstimationHints
26
+ */
27
+ export interface CostEstimationHints {
28
+ /**
29
+ * Disable cost estimation
30
+ * Default (not set) is false
31
+ *
32
+ * Optional
33
+ *
34
+ * @generated from protobuf field: bool disabled = 1
35
+ */
36
+ disabled: boolean;
37
+ /**
38
+ * Details on the keys that will be used to sign the transaction (how many and of which type).
39
+ * Signature size impacts the cost of the transaction.
40
+ * If empty, the signature sizes will be approximated with threshold-many signatures (where threshold is defined
41
+ * in the PartyToParticipant of the external party), using keys in the order they are registered.
42
+ * Empty list is equivalent to not providing this field
43
+ *
44
+ * Optional: can be empty
45
+ *
46
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.SigningAlgorithmSpec expected_signatures = 2
47
+ */
48
+ expectedSignatures: SigningAlgorithmSpec[];
49
+ }
50
+ /**
51
+ * Estimation of the cost of submitting the prepared transaction
52
+ * The estimation is done against the synchronizer chosen during preparation of the transaction
53
+ * (or the one explicitly requested).
54
+ * The cost of re-assigning contracts to another synchronizer when necessary is not included in the estimation.
55
+ *
56
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.CostEstimation
57
+ */
58
+ export interface CostEstimation {
59
+ /**
60
+ * Timestamp at which the estimation was made
61
+ *
62
+ * Required
63
+ *
64
+ * @generated from protobuf field: google.protobuf.Timestamp estimation_timestamp = 1
65
+ */
66
+ estimationTimestamp?: Timestamp;
67
+ /**
68
+ * Estimated traffic cost of the confirmation request associated with the transaction
69
+ *
70
+ * Required
71
+ *
72
+ * @generated from protobuf field: uint64 confirmation_request_traffic_cost_estimation = 2
73
+ */
74
+ confirmationRequestTrafficCostEstimation: bigint;
75
+ /**
76
+ * Estimated traffic cost of the confirmation response associated with the transaction
77
+ * This field can also be used as an indication of the cost that other potential confirming nodes
78
+ * of the party will incur to approve or reject the transaction
79
+ *
80
+ * Required
81
+ *
82
+ * @generated from protobuf field: uint64 confirmation_response_traffic_cost_estimation = 3
83
+ */
84
+ confirmationResponseTrafficCostEstimation: bigint;
85
+ /**
86
+ * Sum of the fields above
87
+ *
88
+ * Required
89
+ *
90
+ * @generated from protobuf field: uint64 total_traffic_cost_estimation = 4
91
+ */
92
+ totalTrafficCostEstimation: bigint;
93
+ }
18
94
  /**
19
95
  * @generated from protobuf message com.daml.ledger.api.v2.interactive.PrepareSubmissionRequest
20
96
  */
@@ -25,6 +101,8 @@ export interface PrepareSubmissionRequest {
25
101
  * Required unless authentication is used with a user token.
26
102
  * In that case, the token's user-id will be used for the request's user_id.
27
103
  *
104
+ * Optional
105
+ *
28
106
  * @generated from protobuf field: string user_id = 1
29
107
  */
30
108
  userId: string;
@@ -34,6 +112,7 @@ export interface PrepareSubmissionRequest {
34
112
  * where act_as is interpreted as a set of party names.
35
113
  * The change ID can be used for matching the intended ledger changes with all their completions.
36
114
  * Must be a valid LedgerString (as described in ``value.proto``).
115
+ *
37
116
  * Required
38
117
  *
39
118
  * @generated from protobuf field: string command_id = 2
@@ -41,7 +120,10 @@ export interface PrepareSubmissionRequest {
41
120
  commandId: string;
42
121
  /**
43
122
  * Individual elements of this atomic command. Must be non-empty.
44
- * Required
123
+ * Limitation: Only single command transaction are currently supported by the API.
124
+ * The field is marked as repeated in preparation for future support of multiple commands.
125
+ *
126
+ * Required: must be non-empty
45
127
  *
46
128
  * @generated from protobuf field: repeated com.daml.ledger.api.v2.Command commands = 3
47
129
  */
@@ -60,6 +142,7 @@ export interface PrepareSubmissionRequest {
60
142
  * which is useful to know when it can definitely not be accepted
61
143
  * anymore and resorting to preparing another transaction for the same
62
144
  * intent is safe again.
145
+ *
63
146
  * Optional
64
147
  *
65
148
  * @generated from protobuf field: optional google.protobuf.Timestamp max_record_time = 11
@@ -72,7 +155,8 @@ export interface PrepareSubmissionRequest {
72
155
  * and does not execute it. Therefore read authorization is sufficient even for actAs parties.
73
156
  * Note: This may change, and more specific authorization scope may be introduced in the future.
74
157
  * Each element must be a valid PartyIdString (as described in ``value.proto``).
75
- * Required, must be non-empty.
158
+ *
159
+ * Required: must be non-empty
76
160
  *
77
161
  * @generated from protobuf field: repeated string act_as = 5
78
162
  */
@@ -85,21 +169,25 @@ export interface PrepareSubmissionRequest {
85
169
  * rules for fetch operations.
86
170
  * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
87
171
  * to read contract data on behalf of each of the given parties.
88
- * Optional
172
+ *
173
+ * Optional: can be empty
89
174
  *
90
175
  * @generated from protobuf field: repeated string read_as = 6
91
176
  */
92
177
  readAs: string[];
93
178
  /**
94
179
  * Additional contracts used to resolve contract & contract key lookups.
95
- * Optional
180
+ *
181
+ * Optional: can be empty
96
182
  *
97
183
  * @generated from protobuf field: repeated com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7
98
184
  */
99
185
  disclosedContracts: DisclosedContract[];
100
186
  /**
101
187
  * Must be a valid synchronizer id
102
- * Required
188
+ * If not set, a suitable synchronizer that this node is connected to will be chosen
189
+ *
190
+ * Optional
103
191
  *
104
192
  * @generated from protobuf field: string synchronizer_id = 8
105
193
  */
@@ -108,12 +196,17 @@ export interface PrepareSubmissionRequest {
108
196
  * The package-id selection preference of the client for resolving
109
197
  * package names and interface instances in command submission and interpretation
110
198
  *
199
+ * Optional: can be empty
200
+ *
111
201
  * @generated from protobuf field: repeated string package_id_selection_preference = 9
112
202
  */
113
203
  packageIdSelectionPreference: string[];
114
204
  /**
115
205
  * When true, the response will contain additional details on how the transaction was encoded and hashed
116
206
  * This can be useful for troubleshooting of hash mismatches. Should only be used for debugging.
207
+ * Defaults to false
208
+ *
209
+ * Optional
117
210
  *
118
211
  * @generated from protobuf field: bool verbose_hashing = 10
119
212
  */
@@ -123,11 +216,46 @@ export interface PrepareSubmissionRequest {
123
216
  * Should only contain contract keys that are expected to be resolved during interpretation of the commands.
124
217
  * Keys of disclosed contracts do not need prefetching.
125
218
  *
126
- * Optional
219
+ * Optional: can be empty
127
220
  *
128
221
  * @generated from protobuf field: repeated com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15
129
222
  */
130
223
  prefetchContractKeys: PrefetchContractKey[];
224
+ /**
225
+ * Hints to improve the accuracy of traffic cost estimation.
226
+ * The estimation logic assumes that this node will be used for the execution of the transaction
227
+ * If another node is used instead, the estimation may be less precise.
228
+ * Request amplification is not accounted for in the estimation: each amplified request will
229
+ * result in the cost of the confirmation request to be charged additionally.
230
+ *
231
+ * Traffic cost estimation is enabled by default if this field is not set
232
+ * To turn off cost estimation, set the CostEstimationHints#disabled field to true
233
+ *
234
+ * Optional
235
+ *
236
+ * @generated from protobuf field: optional com.daml.ledger.api.v2.interactive.CostEstimationHints estimate_traffic_cost = 16
237
+ */
238
+ estimateTrafficCost?: CostEstimationHints;
239
+ /**
240
+ * The hashing scheme version to be used when building the hash.
241
+ * Defaults to HASHING_SCHEME_VERSION_V2.
242
+ *
243
+ * Optional
244
+ *
245
+ * @generated from protobuf field: optional com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 17
246
+ */
247
+ hashingSchemeVersion?: HashingSchemeVersion;
248
+ /**
249
+ * The maximum number of passes for the Topology-Aware Package Selection (TAPS).
250
+ * Higher values can increase the chance of successful package selection for routing of interpreted transactions.
251
+ * If unset, this defaults to the value defined in the participant configuration.
252
+ * The provided value must not exceed the limit specified in the participant configuration.
253
+ *
254
+ * Optional
255
+ *
256
+ * @generated from protobuf field: optional uint32 taps_max_passes = 18
257
+ */
258
+ tapsMaxPasses?: number;
131
259
  }
132
260
  /**
133
261
  * @generated from protobuf message com.daml.ledger.api.v2.interactive.PrepareSubmissionResponse
@@ -137,6 +265,8 @@ export interface PrepareSubmissionResponse {
137
265
  * The interpreted transaction, it represents the ledger changes necessary to execute the commands specified in the request.
138
266
  * 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.
139
267
  *
268
+ * Required
269
+ *
140
270
  * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1
141
271
  */
142
272
  preparedTransaction?: PreparedTransaction;
@@ -145,12 +275,16 @@ export interface PrepareSubmissionResponse {
145
275
  * Only provided for convenience, clients MUST recompute the hash from the raw transaction if the preparing participant is not trusted.
146
276
  * May be removed in future versions
147
277
  *
278
+ * Required: must be non-empty
279
+ *
148
280
  * @generated from protobuf field: bytes prepared_transaction_hash = 2
149
281
  */
150
282
  preparedTransactionHash: Uint8Array;
151
283
  /**
152
284
  * The hashing scheme version used when building the hash
153
285
  *
286
+ * Required
287
+ *
154
288
  * @generated from protobuf field: com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 3
155
289
  */
156
290
  hashingSchemeVersion: HashingSchemeVersion;
@@ -159,34 +293,19 @@ export interface PrepareSubmissionResponse {
159
293
  * Note that there are no guarantees on the stability of the format or content of this field.
160
294
  * Its content should NOT be parsed and should only be used for troubleshooting purposes.
161
295
  *
296
+ * Optional
297
+ *
162
298
  * @generated from protobuf field: optional string hashing_details = 4
163
299
  */
164
300
  hashingDetails?: string;
165
- }
166
- /**
167
- * @generated from protobuf message com.daml.ledger.api.v2.interactive.Signature
168
- */
169
- export interface Signature {
170
301
  /**
171
- * @generated from protobuf field: com.daml.ledger.api.v2.interactive.SignatureFormat format = 1
172
- */
173
- format: SignatureFormat;
174
- /**
175
- * @generated from protobuf field: bytes signature = 2
176
- */
177
- signature: Uint8Array;
178
- /**
179
- * The fingerprint/id of the keypair used to create this signature and needed to verify.
302
+ * Traffic cost estimation of the prepared transaction
180
303
  *
181
- * @generated from protobuf field: string signed_by = 3
182
- */
183
- signedBy: string;
184
- /**
185
- * The signing algorithm specification used to produce this signature
304
+ * Optional
186
305
  *
187
- * @generated from protobuf field: com.daml.ledger.api.v2.interactive.SigningAlgorithmSpec signing_algorithm_spec = 4
306
+ * @generated from protobuf field: optional com.daml.ledger.api.v2.interactive.CostEstimation cost_estimation = 5
188
307
  */
189
- signingAlgorithmSpec: SigningAlgorithmSpec;
308
+ costEstimation?: CostEstimation;
190
309
  }
191
310
  /**
192
311
  * Signatures provided by a single party
@@ -195,11 +314,19 @@ export interface Signature {
195
314
  */
196
315
  export interface SinglePartySignatures {
197
316
  /**
317
+ * Submitting party
318
+ *
319
+ * Required
320
+ *
198
321
  * @generated from protobuf field: string party = 1
199
322
  */
200
323
  party: string;
201
324
  /**
202
- * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.Signature signatures = 2
325
+ * Signatures
326
+ *
327
+ * Required: must be non-empty
328
+ *
329
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.Signature signatures = 2
203
330
  */
204
331
  signatures: Signature[];
205
332
  }
@@ -212,6 +339,8 @@ export interface PartySignatures {
212
339
  /**
213
340
  * Additional signatures provided by all individual parties
214
341
  *
342
+ * Required: must be non-empty
343
+ *
215
344
  * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.SinglePartySignatures signatures = 1
216
345
  */
217
346
  signatures: SinglePartySignatures[];
@@ -225,6 +354,8 @@ export interface ExecuteSubmissionRequest {
225
354
  * Typically this is the value of the `prepared_transaction` field in `PrepareSubmissionResponse`
226
355
  * obtained from calling `prepareSubmission`.
227
356
  *
357
+ * Required
358
+ *
228
359
  * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1
229
360
  */
230
361
  preparedTransaction?: PreparedTransaction;
@@ -234,6 +365,8 @@ export interface ExecuteSubmissionRequest {
234
365
  * and one or more parties can sign.
235
366
  * Note that currently, only single party submissions are supported.
236
367
  *
368
+ * Required
369
+ *
237
370
  * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PartySignatures party_signatures = 2
238
371
  */
239
372
  partySignatures?: PartySignatures;
@@ -241,6 +374,8 @@ export interface ExecuteSubmissionRequest {
241
374
  * Specifies the deduplication period for the change ID (See PrepareSubmissionRequest).
242
375
  * If omitted, the participant will assume the configured maximum deduplication time.
243
376
  *
377
+ * Optional
378
+ *
244
379
  * @generated from protobuf oneof: deduplication_period
245
380
  */
246
381
  deduplicationPeriod: {
@@ -279,12 +414,16 @@ export interface ExecuteSubmissionRequest {
279
414
  /**
280
415
  * See [PrepareSubmissionRequest.user_id]
281
416
  *
417
+ * Optional
418
+ *
282
419
  * @generated from protobuf field: string user_id = 6
283
420
  */
284
421
  userId: string;
285
422
  /**
286
423
  * The hashing scheme version used when building the hash
287
424
  *
425
+ * Required
426
+ *
288
427
  * @generated from protobuf field: com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 7
289
428
  */
290
429
  hashingSchemeVersion: HashingSchemeVersion;
@@ -292,6 +431,8 @@ export interface ExecuteSubmissionRequest {
292
431
  * If set will influence the chosen ledger effective time but will not result in a submission delay so any override
293
432
  * should be scheduled to executed within the window allowed by synchronizer.
294
433
  *
434
+ * Optional
435
+ *
295
436
  * @generated from protobuf field: com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 8
296
437
  */
297
438
  minLedgerTime?: MinLedgerTime;
@@ -301,11 +442,245 @@ export interface ExecuteSubmissionRequest {
301
442
  */
302
443
  export interface ExecuteSubmissionResponse {
303
444
  }
445
+ /**
446
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitRequest
447
+ */
448
+ export interface ExecuteSubmissionAndWaitRequest {
449
+ /**
450
+ * the prepared transaction
451
+ * Typically this is the value of the `prepared_transaction` field in `PrepareSubmissionResponse`
452
+ * obtained from calling `prepareSubmission`.
453
+ *
454
+ * Required
455
+ *
456
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1
457
+ */
458
+ preparedTransaction?: PreparedTransaction;
459
+ /**
460
+ * The party(ies) signatures that authorize the prepared submission to be executed by this node.
461
+ * Each party can provide one or more signatures..
462
+ * and one or more parties can sign.
463
+ * Note that currently, only single party submissions are supported.
464
+ *
465
+ * Required
466
+ *
467
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PartySignatures party_signatures = 2
468
+ */
469
+ partySignatures?: PartySignatures;
470
+ /**
471
+ * Specifies the deduplication period for the change ID (See PrepareSubmissionRequest).
472
+ * If omitted, the participant will assume the configured maximum deduplication time.
473
+ *
474
+ * Optional
475
+ *
476
+ * @generated from protobuf oneof: deduplication_period
477
+ */
478
+ deduplicationPeriod: {
479
+ oneofKind: 'deduplicationDuration';
480
+ /**
481
+ * Specifies the length of the deduplication period.
482
+ * It is interpreted relative to the local clock at some point during the submission's processing.
483
+ * Must be non-negative. Must not exceed the maximum deduplication time.
484
+ *
485
+ * @generated from protobuf field: google.protobuf.Duration deduplication_duration = 3
486
+ */
487
+ deduplicationDuration: Duration;
488
+ } | {
489
+ oneofKind: 'deduplicationOffset';
490
+ /**
491
+ * Specifies the start of the deduplication period by a completion stream offset (exclusive).
492
+ * Must be a valid absolute offset (positive integer).
493
+ *
494
+ * @generated from protobuf field: int64 deduplication_offset = 4
495
+ */
496
+ deduplicationOffset: bigint;
497
+ } | {
498
+ oneofKind: undefined;
499
+ };
500
+ /**
501
+ * A unique identifier to distinguish completions for different submissions with the same change ID.
502
+ * Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
503
+ * with the same change ID.
504
+ * Must be a valid LedgerString (as described in ``value.proto``).
505
+ *
506
+ * Required
507
+ *
508
+ * @generated from protobuf field: string submission_id = 5
509
+ */
510
+ submissionId: string;
511
+ /**
512
+ * See [PrepareSubmissionRequest.user_id]
513
+ *
514
+ * Optional
515
+ *
516
+ * @generated from protobuf field: string user_id = 6
517
+ */
518
+ userId: string;
519
+ /**
520
+ * The hashing scheme version used when building the hash
521
+ *
522
+ * Required
523
+ *
524
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 7
525
+ */
526
+ hashingSchemeVersion: HashingSchemeVersion;
527
+ /**
528
+ * If set will influence the chosen ledger effective time but will not result in a submission delay so any override
529
+ * should be scheduled to executed within the window allowed by synchronizer.
530
+ *
531
+ * Optional
532
+ *
533
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 8
534
+ */
535
+ minLedgerTime?: MinLedgerTime;
536
+ }
537
+ /**
538
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitResponse
539
+ */
540
+ export interface ExecuteSubmissionAndWaitResponse {
541
+ /**
542
+ * The id of the transaction that resulted from the submitted command.
543
+ * Must be a valid LedgerString (as described in ``value.proto``).
544
+ *
545
+ * Required
546
+ *
547
+ * @generated from protobuf field: string update_id = 1
548
+ */
549
+ updateId: string;
550
+ /**
551
+ * The details of the offset field are described in ``community/ledger-api/README.md``.
552
+ *
553
+ * Required
554
+ *
555
+ * @generated from protobuf field: int64 completion_offset = 2
556
+ */
557
+ completionOffset: bigint;
558
+ }
559
+ /**
560
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitForTransactionRequest
561
+ */
562
+ export interface ExecuteSubmissionAndWaitForTransactionRequest {
563
+ /**
564
+ * the prepared transaction
565
+ * Typically this is the value of the `prepared_transaction` field in `PrepareSubmissionResponse`
566
+ * obtained from calling `prepareSubmission`.
567
+ *
568
+ * Required
569
+ *
570
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PreparedTransaction prepared_transaction = 1
571
+ */
572
+ preparedTransaction?: PreparedTransaction;
573
+ /**
574
+ * The party(ies) signatures that authorize the prepared submission to be executed by this node.
575
+ * Each party can provide one or more signatures..
576
+ * and one or more parties can sign.
577
+ * Note that currently, only single party submissions are supported.
578
+ *
579
+ * Required
580
+ *
581
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PartySignatures party_signatures = 2
582
+ */
583
+ partySignatures?: PartySignatures;
584
+ /**
585
+ * Specifies the deduplication period for the change ID (See PrepareSubmissionRequest).
586
+ * If omitted, the participant will assume the configured maximum deduplication time.
587
+ *
588
+ * Optional
589
+ *
590
+ * @generated from protobuf oneof: deduplication_period
591
+ */
592
+ deduplicationPeriod: {
593
+ oneofKind: 'deduplicationDuration';
594
+ /**
595
+ * Specifies the length of the deduplication period.
596
+ * It is interpreted relative to the local clock at some point during the submission's processing.
597
+ * Must be non-negative. Must not exceed the maximum deduplication time.
598
+ *
599
+ * @generated from protobuf field: google.protobuf.Duration deduplication_duration = 3
600
+ */
601
+ deduplicationDuration: Duration;
602
+ } | {
603
+ oneofKind: 'deduplicationOffset';
604
+ /**
605
+ * Specifies the start of the deduplication period by a completion stream offset (exclusive).
606
+ * Must be a valid absolute offset (positive integer).
607
+ *
608
+ * @generated from protobuf field: int64 deduplication_offset = 4
609
+ */
610
+ deduplicationOffset: bigint;
611
+ } | {
612
+ oneofKind: undefined;
613
+ };
614
+ /**
615
+ * A unique identifier to distinguish completions for different submissions with the same change ID.
616
+ * Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
617
+ * with the same change ID.
618
+ * Must be a valid LedgerString (as described in ``value.proto``).
619
+ *
620
+ * Required
621
+ *
622
+ * @generated from protobuf field: string submission_id = 5
623
+ */
624
+ submissionId: string;
625
+ /**
626
+ * See [PrepareSubmissionRequest.user_id]
627
+ *
628
+ * Optional
629
+ *
630
+ * @generated from protobuf field: string user_id = 6
631
+ */
632
+ userId: string;
633
+ /**
634
+ * The hashing scheme version used when building the hash
635
+ *
636
+ * Required
637
+ *
638
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 7
639
+ */
640
+ hashingSchemeVersion: HashingSchemeVersion;
641
+ /**
642
+ * If set will influence the chosen ledger effective time but will not result in a submission delay so any override
643
+ * should be scheduled to executed within the window allowed by synchronizer.
644
+ *
645
+ * Optional
646
+ *
647
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 8
648
+ */
649
+ minLedgerTime?: MinLedgerTime;
650
+ /**
651
+ * If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to
652
+ * TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template
653
+ * filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set.
654
+ * When the ``transaction_shape`` TRANSACTION_SHAPE_ACS_DELTA shape is used (explicitly or is defaulted to as explained above),
655
+ * events will only be returned if the submitting party is hosted on this node.
656
+ *
657
+ * Optional
658
+ *
659
+ * @generated from protobuf field: com.daml.ledger.api.v2.TransactionFormat transaction_format = 9
660
+ */
661
+ transactionFormat?: TransactionFormat;
662
+ }
663
+ /**
664
+ * @generated from protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitForTransactionResponse
665
+ */
666
+ export interface ExecuteSubmissionAndWaitForTransactionResponse {
667
+ /**
668
+ * The transaction that resulted from the submitted command.
669
+ * The transaction might contain no events (request conditions result in filtering out all of them).
670
+ *
671
+ * Required
672
+ *
673
+ * @generated from protobuf field: com.daml.ledger.api.v2.Transaction transaction = 1
674
+ */
675
+ transaction?: Transaction;
676
+ }
304
677
  /**
305
678
  * @generated from protobuf message com.daml.ledger.api.v2.interactive.MinLedgerTime
306
679
  */
307
680
  export interface MinLedgerTime {
308
681
  /**
682
+ * Required
683
+ *
309
684
  * @generated from protobuf oneof: time
310
685
  */
311
686
  time: {
@@ -349,12 +724,16 @@ export interface PreparedTransaction {
349
724
  /**
350
725
  * Daml Transaction representing the ledger effect if executed. See below
351
726
  *
727
+ * Required
728
+ *
352
729
  * @generated from protobuf field: com.daml.ledger.api.v2.interactive.DamlTransaction transaction = 1
353
730
  */
354
731
  transaction?: DamlTransaction;
355
732
  /**
356
733
  * Metadata context necessary to execute the transaction
357
734
  *
735
+ * Required
736
+ *
358
737
  * @generated from protobuf field: com.daml.ledger.api.v2.interactive.Metadata metadata = 2
359
738
  */
360
739
  metadata?: Metadata;
@@ -367,87 +746,112 @@ export interface PreparedTransaction {
367
746
  */
368
747
  export interface Metadata {
369
748
  /**
749
+ * Required
750
+ *
370
751
  * @generated from protobuf field: com.daml.ledger.api.v2.interactive.Metadata.SubmitterInfo submitter_info = 2
371
752
  */
372
753
  submitterInfo?: Metadata_SubmitterInfo;
373
754
  /**
755
+ * Required
756
+ *
374
757
  * @generated from protobuf field: string synchronizer_id = 3
375
758
  */
376
759
  synchronizerId: string;
377
760
  /**
761
+ * Required
762
+ *
378
763
  * @generated from protobuf field: uint32 mediator_group = 4
379
764
  */
380
765
  mediatorGroup: number;
381
766
  /**
767
+ * Required
768
+ *
382
769
  * @generated from protobuf field: string transaction_uuid = 5
383
770
  */
384
771
  transactionUuid: string;
385
772
  /**
773
+ * Required
774
+ *
386
775
  * @generated from protobuf field: uint64 preparation_time = 6
387
776
  */
388
777
  preparationTime: bigint;
389
778
  /**
779
+ * Not populated if the transaction has no input contracts
780
+ *
781
+ * Optional: can be empty
782
+ *
390
783
  * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.Metadata.InputContract input_contracts = 7
391
784
  */
392
785
  inputContracts: Metadata_InputContract[];
393
786
  /**
394
- *
395
- * Where ledger time constraints are imposed during the execution of the contract they will be populated
396
- * in the fields below. These are optional because if the transaction does NOT depend on time, these values
397
- * do not need to be set.
398
- * The final ledger effective time used will be chosen when the command is submitted through the [execute] RPC.
399
- * If the ledger effective time is outside of any populated min/max bounds then a different transaction
400
- * can result, that will cause a confirmation message rejection.
787
+ * Optional
401
788
  *
402
789
  * @generated from protobuf field: optional uint64 min_ledger_effective_time = 9
403
790
  */
404
791
  minLedgerEffectiveTime?: bigint;
405
792
  /**
793
+ * Optional
794
+ *
406
795
  * @generated from protobuf field: optional uint64 max_ledger_effective_time = 10
407
796
  */
408
797
  maxLedgerEffectiveTime?: bigint;
409
- /**
410
- * Contextual information needed to process the transaction but not signed, either because it's already indirectly
411
- * signed by signing the transaction, or because it doesn't impact the ledger state
412
- *
413
- * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry global_key_mapping = 8
414
- */
415
- globalKeyMapping: Metadata_GlobalKeyMappingEntry[];
416
798
  /**
417
799
  * Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer `synchronizer_id`.
418
800
  * If submitted after it will be rejected even if otherwise valid, in which case it needs to be prepared and signed again
419
801
  * with a new valid max_record_time.
420
- * Unsigned in 3.3 to avoid a breaking protocol change
421
- * Will be signed in 3.4+
422
802
  * Set max_record_time in the PreparedTransactionRequest to get this field set accordingly
423
803
  *
804
+ * Optional
805
+ *
424
806
  * @generated from protobuf field: optional uint64 max_record_time = 11
425
807
  */
426
808
  maxRecordTime?: bigint;
809
+ /**
810
+ * This fields is deprecated and will always be empty.
811
+ * Keys and associated contracts are already present and signed within the transaction nodes where they're used
812
+ *
813
+ * Optional: can be empty
814
+ *
815
+ * @deprecated
816
+ * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry global_key_mapping = 8 [deprecated = true]
817
+ */
818
+ globalKeyMapping: Metadata_GlobalKeyMappingEntry[];
427
819
  }
428
820
  /**
429
821
  * @generated from protobuf message com.daml.ledger.api.v2.interactive.Metadata.SubmitterInfo
430
822
  */
431
823
  export interface Metadata_SubmitterInfo {
432
824
  /**
825
+ * Required: must be non-empty
826
+ *
433
827
  * @generated from protobuf field: repeated string act_as = 1
434
828
  */
435
829
  actAs: string[];
436
830
  /**
831
+ * Required
832
+ *
437
833
  * @generated from protobuf field: string command_id = 2
438
834
  */
439
835
  commandId: string;
440
836
  }
441
837
  /**
838
+ * This message is deprecated and may be removed in future releases
839
+ *
442
840
  * @generated from protobuf message com.daml.ledger.api.v2.interactive.Metadata.GlobalKeyMappingEntry
443
841
  */
444
842
  export interface Metadata_GlobalKeyMappingEntry {
445
843
  /**
446
- * @generated from protobuf field: com.daml.ledger.api.v2.interactive.GlobalKey key = 1
844
+ * Required
845
+ *
846
+ * @deprecated
847
+ * @generated from protobuf field: com.daml.ledger.api.v2.interactive.GlobalKey key = 1 [deprecated = true]
447
848
  */
448
849
  key?: GlobalKey;
449
850
  /**
450
- * @generated from protobuf field: optional com.daml.ledger.api.v2.Value value = 2
851
+ * Optional
852
+ *
853
+ * @deprecated
854
+ * @generated from protobuf field: optional com.daml.ledger.api.v2.Value value = 2 [deprecated = true]
451
855
  */
452
856
  value?: Value;
453
857
  }
@@ -456,6 +860,8 @@ export interface Metadata_GlobalKeyMappingEntry {
456
860
  */
457
861
  export interface Metadata_InputContract {
458
862
  /**
863
+ * Required
864
+ *
459
865
  * @generated from protobuf oneof: contract
460
866
  */
461
867
  contract: {
@@ -470,10 +876,14 @@ export interface Metadata_InputContract {
470
876
  oneofKind: undefined;
471
877
  };
472
878
  /**
879
+ * Required
880
+ *
473
881
  * @generated from protobuf field: uint64 created_at = 1000
474
882
  */
475
883
  createdAt: bigint;
476
884
  /**
885
+ * Required: must be non-empty
886
+ *
477
887
  * @generated from protobuf field: bytes event_blob = 1002
478
888
  */
479
889
  eventBlob: Uint8Array;
@@ -487,7 +897,9 @@ export interface Metadata_InputContract {
487
897
  */
488
898
  export interface DamlTransaction {
489
899
  /**
490
- * Transaction version, will be >= max(nodes version)
900
+ * serialization version, will be >= max(nodes version)
901
+ *
902
+ * Required
491
903
  *
492
904
  * @generated from protobuf field: string version = 1
493
905
  */
@@ -495,18 +907,24 @@ export interface DamlTransaction {
495
907
  /**
496
908
  * Root nodes of the transaction
497
909
  *
910
+ * Required: must be non-empty
911
+ *
498
912
  * @generated from protobuf field: repeated string roots = 2
499
913
  */
500
914
  roots: string[];
501
915
  /**
502
916
  * List of nodes in the transaction
503
917
  *
918
+ * Required: must be non-empty
919
+ *
504
920
  * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.DamlTransaction.Node nodes = 3
505
921
  */
506
922
  nodes: DamlTransaction_Node[];
507
923
  /**
508
924
  * Node seeds are values associated with certain nodes used for generating cryptographic salts
509
925
  *
926
+ * Required: must be non-empty
927
+ *
510
928
  * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.DamlTransaction.NodeSeed node_seeds = 4
511
929
  */
512
930
  nodeSeeds: DamlTransaction_NodeSeed[];
@@ -516,10 +934,14 @@ export interface DamlTransaction {
516
934
  */
517
935
  export interface DamlTransaction_NodeSeed {
518
936
  /**
937
+ * Required
938
+ *
519
939
  * @generated from protobuf field: int32 node_id = 1
520
940
  */
521
941
  nodeId: number;
522
942
  /**
943
+ * Required: must be non-empty
944
+ *
523
945
  * @generated from protobuf field: bytes seed = 2
524
946
  */
525
947
  seed: Uint8Array;
@@ -533,12 +955,16 @@ export interface DamlTransaction_NodeSeed {
533
955
  */
534
956
  export interface DamlTransaction_Node {
535
957
  /**
958
+ * Required
959
+ *
536
960
  * @generated from protobuf field: string node_id = 1
537
961
  */
538
962
  nodeId: string;
539
963
  /**
540
964
  * Versioned node
541
965
  *
966
+ * Required
967
+ *
542
968
  * @generated from protobuf oneof: versioned_node
543
969
  */
544
970
  versionedNode: {
@@ -547,6 +973,8 @@ export interface DamlTransaction_Node {
547
973
  * Start at 1000 so we can add more fields before if necessary
548
974
  * When new versions will be added, they will show here
549
975
  *
976
+ * Required
977
+ *
550
978
  * @generated from protobuf field: com.daml.ledger.api.v2.interactive.transaction.v1.Node v1 = 1000
551
979
  */
552
980
  v1: Node;
@@ -560,21 +988,24 @@ export interface DamlTransaction_Node {
560
988
  export interface GetPreferredPackageVersionRequest {
561
989
  /**
562
990
  * The parties whose participants' vetting state should be considered when resolving the preferred package.
563
- * Required
991
+ *
992
+ * Required: must be non-empty
564
993
  *
565
994
  * @generated from protobuf field: repeated string parties = 1
566
995
  */
567
996
  parties: string[];
568
997
  /**
569
998
  * The package-name for which the preferred package should be resolved.
999
+ *
570
1000
  * Required
571
1001
  *
572
1002
  * @generated from protobuf field: string package_name = 2
573
1003
  */
574
1004
  packageName: string;
575
1005
  /**
576
- * The synchronizer whose vetting state to use for resolving this query.
577
- * If not specified, the vetting state of all the synchronizers the participant is connected to will be used.
1006
+ * The synchronizer whose vetting state should be used for resolving this query.
1007
+ * If not specified, the vetting states of all synchronizers to which the participant is connected are used.
1008
+ *
578
1009
  * Optional
579
1010
  *
580
1011
  * @generated from protobuf field: string synchronizer_id = 3
@@ -584,6 +1015,7 @@ export interface GetPreferredPackageVersionRequest {
584
1015
  * The timestamp at which the package vetting validity should be computed
585
1016
  * on the latest topology snapshot as seen by the participant.
586
1017
  * If not provided, the participant's current clock time is used.
1018
+ *
587
1019
  * Optional
588
1020
  *
589
1021
  * @generated from protobuf field: google.protobuf.Timestamp vetting_valid_at = 4
@@ -596,6 +1028,7 @@ export interface GetPreferredPackageVersionRequest {
596
1028
  export interface GetPreferredPackageVersionResponse {
597
1029
  /**
598
1030
  * Not populated when no preferred package is found
1031
+ *
599
1032
  * Optional
600
1033
  *
601
1034
  * @generated from protobuf field: com.daml.ledger.api.v2.interactive.PackagePreference package_preference = 1
@@ -608,6 +1041,7 @@ export interface GetPreferredPackageVersionResponse {
608
1041
  export interface PackagePreference {
609
1042
  /**
610
1043
  * The package reference of the preferred package.
1044
+ *
611
1045
  * Required
612
1046
  *
613
1047
  * @generated from protobuf field: com.daml.ledger.api.v2.PackageReference package_reference = 1
@@ -616,6 +1050,7 @@ export interface PackagePreference {
616
1050
  /**
617
1051
  * The synchronizer for which the preferred package was computed.
618
1052
  * If the synchronizer_id was specified in the request, then it matches the request synchronizer_id.
1053
+ *
619
1054
  * Required
620
1055
  *
621
1056
  * @generated from protobuf field: string synchronizer_id = 2
@@ -630,13 +1065,15 @@ export interface PackagePreference {
630
1065
  export interface PackageVettingRequirement {
631
1066
  /**
632
1067
  * The parties whose participants' vetting state should be considered when resolving the preferred package.
633
- * Required
1068
+ *
1069
+ * Required: must be non-empty
634
1070
  *
635
1071
  * @generated from protobuf field: repeated string parties = 1
636
1072
  */
637
1073
  parties: string[];
638
1074
  /**
639
1075
  * The package-name for which the preferred package should be resolved.
1076
+ *
640
1077
  * Required
641
1078
  *
642
1079
  * @generated from protobuf field: string package_name = 2
@@ -654,14 +1091,15 @@ export interface GetPreferredPackagesRequest {
654
1091
  * Additional package-name requirements can be provided when additional Daml transaction informees need to use
655
1092
  * package dependencies of the command's root packages.
656
1093
  *
657
- * Required
1094
+ * Required: must be non-empty
658
1095
  *
659
1096
  * @generated from protobuf field: repeated com.daml.ledger.api.v2.interactive.PackageVettingRequirement package_vetting_requirements = 1
660
1097
  */
661
1098
  packageVettingRequirements: PackageVettingRequirement[];
662
1099
  /**
663
- * The synchronizer whose vetting state to use for resolving this query.
664
- * If not specified, the vetting state of all the synchronizers the participant is connected to will be used.
1100
+ * The synchronizer whose vetting state should be used for resolving this query.
1101
+ * If not specified, the vetting states of all synchronizers to which the participant is connected are used.
1102
+ *
665
1103
  * Optional
666
1104
  *
667
1105
  * @generated from protobuf field: string synchronizer_id = 2
@@ -671,6 +1109,7 @@ export interface GetPreferredPackagesRequest {
671
1109
  * The timestamp at which the package vetting validity should be computed
672
1110
  * on the latest topology snapshot as seen by the participant.
673
1111
  * If not provided, the participant's current clock time is used.
1112
+ *
674
1113
  * Optional
675
1114
  *
676
1115
  * @generated from protobuf field: google.protobuf.Timestamp vetting_valid_at = 3
@@ -690,7 +1129,7 @@ export interface GetPreferredPackagesResponse {
690
1129
  * in the ``package_id_selection_preference`` of the command submission to
691
1130
  * avoid race conditions with concurrent changes of the on-ledger package vetting state.
692
1131
  *
693
- * Required
1132
+ * Required: must be non-empty
694
1133
  *
695
1134
  * @generated from protobuf field: repeated com.daml.ledger.api.v2.PackageReference package_references = 1
696
1135
  */
@@ -698,6 +1137,7 @@ export interface GetPreferredPackagesResponse {
698
1137
  /**
699
1138
  * The synchronizer for which the package preferences are computed.
700
1139
  * If the synchronizer_id was specified in the request, then it matches the request synchronizer_id.
1140
+ *
701
1141
  * Required
702
1142
  *
703
1143
  * @generated from protobuf field: string synchronizer_id = 2
@@ -718,73 +1158,32 @@ export declare enum HashingSchemeVersion {
718
1158
  /**
719
1159
  * @generated from protobuf enum value: HASHING_SCHEME_VERSION_V2 = 2;
720
1160
  */
721
- V2 = 2
722
- }
723
- /**
724
- * @generated from protobuf enum com.daml.ledger.api.v2.interactive.SigningAlgorithmSpec
725
- */
726
- export declare enum SigningAlgorithmSpec {
727
- /**
728
- * @generated from protobuf enum value: SIGNING_ALGORITHM_SPEC_UNSPECIFIED = 0;
729
- */
730
- UNSPECIFIED = 0,
731
- /**
732
- * EdDSA Signature based on Curve25519 with SHA-512
733
- * http://ed25519.cr.yp.to/
734
- *
735
- * @generated from protobuf enum value: SIGNING_ALGORITHM_SPEC_ED25519 = 1;
736
- */
737
- ED25519 = 1,
738
- /**
739
- * Elliptic Curve Digital Signature Algorithm with SHA256
740
- *
741
- * @generated from protobuf enum value: SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256 = 2;
742
- */
743
- EC_DSA_SHA_256 = 2,
1161
+ V2 = 2,
744
1162
  /**
745
- * Elliptic Curve Digital Signature Algorithm with SHA384
746
- *
747
- * @generated from protobuf enum value: SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_384 = 3;
1163
+ * @generated from protobuf enum value: HASHING_SCHEME_VERSION_V3 = 3;
748
1164
  */
749
- EC_DSA_SHA_384 = 3
1165
+ V3 = 3
1166
+ }
1167
+ declare class CostEstimationHints$Type extends MessageType<CostEstimationHints> {
1168
+ constructor();
1169
+ create(value?: PartialMessage<CostEstimationHints>): CostEstimationHints;
1170
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CostEstimationHints): CostEstimationHints;
1171
+ internalBinaryWrite(message: CostEstimationHints, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
750
1172
  }
751
1173
  /**
752
- * @generated from protobuf enum com.daml.ledger.api.v2.interactive.SignatureFormat
1174
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.CostEstimationHints
753
1175
  */
754
- export declare enum SignatureFormat {
755
- /**
756
- * @generated from protobuf enum value: SIGNATURE_FORMAT_UNSPECIFIED = 0;
757
- */
758
- UNSPECIFIED = 0,
759
- /**
760
- * Signature scheme specific signature format
761
- * Legacy format no longer used, except for migrations
762
- *
763
- * @generated from protobuf enum value: SIGNATURE_FORMAT_RAW = 1;
764
- */
765
- RAW = 1,
766
- /**
767
- * ASN.1 + DER-encoding of the `r` and `s` integers, as defined in https://datatracker.ietf.org/doc/html/rfc3279#section-2.2.3
768
- * Used for ECDSA signatures
769
- *
770
- * @generated from protobuf enum value: SIGNATURE_FORMAT_DER = 2;
771
- */
772
- DER = 2,
773
- /**
774
- * Concatenation of the integers `r || s` in little-endian form, as defined in https://datatracker.ietf.org/doc/html/rfc8032#section-3.3
775
- * Note that this is different from the format defined in IEEE P1363, which uses concatenation in big-endian form.
776
- * Used for EdDSA signatures
777
- *
778
- * @generated from protobuf enum value: SIGNATURE_FORMAT_CONCAT = 3;
779
- */
780
- CONCAT = 3,
781
- /**
782
- * Symbolic crypto, must only be used for testing
783
- *
784
- * @generated from protobuf enum value: SIGNATURE_FORMAT_SYMBOLIC = 10000;
785
- */
786
- SYMBOLIC = 10000
1176
+ export declare const CostEstimationHints: CostEstimationHints$Type;
1177
+ declare class CostEstimation$Type extends MessageType<CostEstimation> {
1178
+ constructor();
1179
+ create(value?: PartialMessage<CostEstimation>): CostEstimation;
1180
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CostEstimation): CostEstimation;
1181
+ internalBinaryWrite(message: CostEstimation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
787
1182
  }
1183
+ /**
1184
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.CostEstimation
1185
+ */
1186
+ export declare const CostEstimation: CostEstimation$Type;
788
1187
  declare class PrepareSubmissionRequest$Type extends MessageType<PrepareSubmissionRequest> {
789
1188
  constructor();
790
1189
  create(value?: PartialMessage<PrepareSubmissionRequest>): PrepareSubmissionRequest;
@@ -805,16 +1204,6 @@ declare class PrepareSubmissionResponse$Type extends MessageType<PrepareSubmissi
805
1204
  * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.PrepareSubmissionResponse
806
1205
  */
807
1206
  export declare const PrepareSubmissionResponse: PrepareSubmissionResponse$Type;
808
- declare class Signature$Type extends MessageType<Signature> {
809
- constructor();
810
- create(value?: PartialMessage<Signature>): Signature;
811
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Signature): Signature;
812
- internalBinaryWrite(message: Signature, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
813
- }
814
- /**
815
- * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.Signature
816
- */
817
- export declare const Signature: Signature$Type;
818
1207
  declare class SinglePartySignatures$Type extends MessageType<SinglePartySignatures> {
819
1208
  constructor();
820
1209
  create(value?: PartialMessage<SinglePartySignatures>): SinglePartySignatures;
@@ -855,6 +1244,46 @@ declare class ExecuteSubmissionResponse$Type extends MessageType<ExecuteSubmissi
855
1244
  * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionResponse
856
1245
  */
857
1246
  export declare const ExecuteSubmissionResponse: ExecuteSubmissionResponse$Type;
1247
+ declare class ExecuteSubmissionAndWaitRequest$Type extends MessageType<ExecuteSubmissionAndWaitRequest> {
1248
+ constructor();
1249
+ create(value?: PartialMessage<ExecuteSubmissionAndWaitRequest>): ExecuteSubmissionAndWaitRequest;
1250
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecuteSubmissionAndWaitRequest): ExecuteSubmissionAndWaitRequest;
1251
+ internalBinaryWrite(message: ExecuteSubmissionAndWaitRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1252
+ }
1253
+ /**
1254
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitRequest
1255
+ */
1256
+ export declare const ExecuteSubmissionAndWaitRequest: ExecuteSubmissionAndWaitRequest$Type;
1257
+ declare class ExecuteSubmissionAndWaitResponse$Type extends MessageType<ExecuteSubmissionAndWaitResponse> {
1258
+ constructor();
1259
+ create(value?: PartialMessage<ExecuteSubmissionAndWaitResponse>): ExecuteSubmissionAndWaitResponse;
1260
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecuteSubmissionAndWaitResponse): ExecuteSubmissionAndWaitResponse;
1261
+ internalBinaryWrite(message: ExecuteSubmissionAndWaitResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1262
+ }
1263
+ /**
1264
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitResponse
1265
+ */
1266
+ export declare const ExecuteSubmissionAndWaitResponse: ExecuteSubmissionAndWaitResponse$Type;
1267
+ declare class ExecuteSubmissionAndWaitForTransactionRequest$Type extends MessageType<ExecuteSubmissionAndWaitForTransactionRequest> {
1268
+ constructor();
1269
+ create(value?: PartialMessage<ExecuteSubmissionAndWaitForTransactionRequest>): ExecuteSubmissionAndWaitForTransactionRequest;
1270
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecuteSubmissionAndWaitForTransactionRequest): ExecuteSubmissionAndWaitForTransactionRequest;
1271
+ internalBinaryWrite(message: ExecuteSubmissionAndWaitForTransactionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1272
+ }
1273
+ /**
1274
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitForTransactionRequest
1275
+ */
1276
+ export declare const ExecuteSubmissionAndWaitForTransactionRequest: ExecuteSubmissionAndWaitForTransactionRequest$Type;
1277
+ declare class ExecuteSubmissionAndWaitForTransactionResponse$Type extends MessageType<ExecuteSubmissionAndWaitForTransactionResponse> {
1278
+ constructor();
1279
+ create(value?: PartialMessage<ExecuteSubmissionAndWaitForTransactionResponse>): ExecuteSubmissionAndWaitForTransactionResponse;
1280
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecuteSubmissionAndWaitForTransactionResponse): ExecuteSubmissionAndWaitForTransactionResponse;
1281
+ internalBinaryWrite(message: ExecuteSubmissionAndWaitForTransactionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1282
+ }
1283
+ /**
1284
+ * @generated MessageType for protobuf message com.daml.ledger.api.v2.interactive.ExecuteSubmissionAndWaitForTransactionResponse
1285
+ */
1286
+ export declare const ExecuteSubmissionAndWaitForTransactionResponse: ExecuteSubmissionAndWaitForTransactionResponse$Type;
858
1287
  declare class MinLedgerTime$Type extends MessageType<MinLedgerTime> {
859
1288
  constructor();
860
1289
  create(value?: PartialMessage<MinLedgerTime>): MinLedgerTime;