@canton-network/core-ledger-proto 1.7.0 → 1.8.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 (392) hide show
  1. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.cjs +492 -727
  2. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.cjs +37 -52
  3. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.cjs +545 -902
  4. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.cjs +88 -86
  5. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/object_meta.cjs +76 -127
  6. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.cjs +367 -547
  7. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.cjs +65 -92
  8. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.cjs +115 -171
  9. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.cjs +36 -55
  10. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.cjs +1103 -1661
  11. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.cjs +155 -167
  12. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.cjs +1355 -2023
  13. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.cjs +129 -164
  14. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.cjs +146 -242
  15. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.client.cjs +41 -48
  16. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.cjs +364 -612
  17. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.client.cjs +65 -87
  18. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.cjs +171 -281
  19. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.client.cjs +50 -63
  20. package/dist/cjs/_proto/com/daml/ledger/api/v2/commands.cjs +713 -1126
  21. package/dist/cjs/_proto/com/daml/ledger/api/v2/completion.cjs +169 -262
  22. package/dist/cjs/_proto/com/daml/ledger/api/v2/crypto.cjs +150 -143
  23. package/dist/cjs/_proto/com/daml/ledger/api/v2/event.cjs +626 -944
  24. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.cjs +238 -394
  25. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.client.cjs +34 -51
  26. package/dist/cjs/_proto/com/daml/ledger/api/v2/experimental_features.cjs +183 -310
  27. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.cjs +80 -143
  28. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.cjs +1702 -2499
  29. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.cjs +86 -99
  30. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.cjs +562 -827
  31. package/dist/cjs/_proto/com/daml/ledger/api/v2/offset_checkpoint.cjs +111 -193
  32. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_reference.cjs +70 -116
  33. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.cjs +339 -464
  34. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.client.cjs +46 -78
  35. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment.cjs +445 -652
  36. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment_commands.cjs +298 -439
  37. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.cjs +726 -1085
  38. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.client.cjs +59 -85
  39. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.cjs +147 -242
  40. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.client.cjs +37 -69
  41. package/dist/cjs/_proto/com/daml/ledger/api/v2/topology_transaction.cjs +378 -573
  42. package/dist/cjs/_proto/com/daml/ledger/api/v2/trace_context.cjs +56 -103
  43. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction.cjs +356 -546
  44. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction_filter.cjs +694 -1045
  45. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.cjs +728 -1135
  46. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.client.cjs +129 -162
  47. package/dist/cjs/_proto/com/daml/ledger/api/v2/value.cjs +829 -1267
  48. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.cjs +327 -535
  49. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.client.cjs +28 -48
  50. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto.cjs +1875 -2180
  51. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto2.cjs +1964 -0
  52. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.cjs +46 -104
  53. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters2.cjs +47 -0
  54. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.cjs +320 -534
  55. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters2.cjs +328 -0
  56. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology.cjs +1899 -2844
  57. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology2.cjs +2260 -0
  58. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.cjs +531 -773
  59. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters2.cjs +517 -0
  60. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common.cjs +330 -548
  61. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common2.cjs +353 -0
  62. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.cjs +2771 -4707
  63. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.cjs +139 -173
  64. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.cjs +3133 -0
  65. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.client.cjs +154 -0
  66. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.cjs +1117 -1668
  67. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.cjs +79 -108
  68. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.cjs +1139 -0
  69. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.client.cjs +80 -0
  70. package/dist/cjs/_proto/google/protobuf/any.cjs +131 -198
  71. package/dist/cjs/_proto/google/protobuf/descriptor.cjs +2557 -3454
  72. package/dist/cjs/_proto/google/protobuf/duration.cjs +92 -154
  73. package/dist/cjs/_proto/google/protobuf/duration2.cjs +93 -0
  74. package/dist/cjs/_proto/google/protobuf/empty.cjs +36 -75
  75. package/dist/cjs/_proto/google/protobuf/empty2.cjs +37 -0
  76. package/dist/cjs/_proto/google/protobuf/field_mask.cjs +71 -130
  77. package/dist/cjs/_proto/google/protobuf/struct.cjs +351 -475
  78. package/dist/cjs/_proto/google/protobuf/timestamp.cjs +117 -194
  79. package/dist/cjs/_proto/google/protobuf/timestamp2.cjs +118 -0
  80. package/dist/cjs/_proto/google/rpc/code.cjs +223 -48
  81. package/dist/cjs/_proto/google/rpc/context/attribute_context.cjs +898 -1279
  82. package/dist/cjs/_proto/google/rpc/context/audit_context.cjs +91 -159
  83. package/dist/cjs/_proto/google/rpc/error_details.cjs +773 -1135
  84. package/dist/cjs/_proto/google/rpc/status.cjs +72 -125
  85. package/dist/cjs/_proto/scalapb/scalapb.cjs +1392 -1857
  86. package/dist/cjs/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/defineProperty.cjs +12 -0
  87. package/dist/cjs/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPrimitive.cjs +14 -0
  88. package/dist/cjs/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPropertyKey.cjs +9 -0
  89. package/dist/cjs/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/typeof.cjs +16 -0
  90. package/dist/cjs/index.cjs +273 -91
  91. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +35 -26
  92. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js.map +1 -1
  93. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +484 -694
  94. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js.map +1 -1
  95. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +86 -60
  96. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js.map +1 -1
  97. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +534 -866
  98. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js.map +1 -1
  99. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/object_meta.js +77 -103
  100. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/object_meta.js.map +1 -1
  101. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +63 -66
  102. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js.map +1 -1
  103. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +360 -515
  104. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/package_management_service.js.map +1 -1
  105. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +34 -29
  106. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js.map +1 -1
  107. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +113 -144
  108. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js.map +1 -1
  109. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +153 -141
  110. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js.map +1 -1
  111. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +1084 -1617
  112. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/party_management_service.js.map +1 -1
  113. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +127 -138
  114. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js.map +1 -1
  115. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +1329 -1972
  116. package/dist/esm/_proto/com/daml/ledger/api/v2/admin/user_management_service.js.map +1 -1
  117. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +39 -22
  118. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.client.js.map +1 -1
  119. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.js +143 -214
  120. package/dist/esm/_proto/com/daml/ledger/api/v2/command_completion_service.js.map +1 -1
  121. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.client.js +63 -61
  122. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.client.js.map +1 -1
  123. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.js +356 -579
  124. package/dist/esm/_proto/com/daml/ledger/api/v2/command_service.js.map +1 -1
  125. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +48 -37
  126. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.client.js.map +1 -1
  127. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.js +167 -252
  128. package/dist/esm/_proto/com/daml/ledger/api/v2/command_submission_service.js.map +1 -1
  129. package/dist/esm/_proto/com/daml/ledger/api/v2/commands.js +707 -1095
  130. package/dist/esm/_proto/com/daml/ledger/api/v2/commands.js.map +1 -1
  131. package/dist/esm/_proto/com/daml/ledger/api/v2/completion.js +168 -236
  132. package/dist/esm/_proto/com/daml/ledger/api/v2/completion.js.map +1 -1
  133. package/dist/esm/_proto/com/daml/ledger/api/v2/crypto.js +149 -117
  134. package/dist/esm/_proto/com/daml/ledger/api/v2/crypto.js.map +1 -1
  135. package/dist/esm/_proto/com/daml/ledger/api/v2/event.js +622 -915
  136. package/dist/esm/_proto/com/daml/ledger/api/v2/event.js.map +1 -1
  137. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.client.js +32 -25
  138. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.client.js.map +1 -1
  139. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.js +234 -365
  140. package/dist/esm/_proto/com/daml/ledger/api/v2/event_query_service.js.map +1 -1
  141. package/dist/esm/_proto/com/daml/ledger/api/v2/experimental_features.js +181 -283
  142. package/dist/esm/_proto/com/daml/ledger/api/v2/experimental_features.js.map +1 -1
  143. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +81 -119
  144. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js.map +1 -1
  145. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +84 -73
  146. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js.map +1 -1
  147. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +1675 -2447
  148. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js.map +1 -1
  149. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +559 -799
  150. package/dist/esm/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js.map +1 -1
  151. package/dist/esm/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +111 -168
  152. package/dist/esm/_proto/com/daml/ledger/api/v2/offset_checkpoint.js.map +1 -1
  153. package/dist/esm/_proto/com/daml/ledger/api/v2/package_reference.js +71 -92
  154. package/dist/esm/_proto/com/daml/ledger/api/v2/package_reference.js.map +1 -1
  155. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.client.js +44 -52
  156. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.client.js.map +1 -1
  157. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.js +331 -431
  158. package/dist/esm/_proto/com/daml/ledger/api/v2/package_service.js.map +1 -1
  159. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment.js +441 -623
  160. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment.js.map +1 -1
  161. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment_commands.js +296 -412
  162. package/dist/esm/_proto/com/daml/ledger/api/v2/reassignment_commands.js.map +1 -1
  163. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.client.js +57 -59
  164. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.client.js.map +1 -1
  165. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.js +713 -1047
  166. package/dist/esm/_proto/com/daml/ledger/api/v2/state_service.js.map +1 -1
  167. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +35 -43
  168. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.client.js.map +1 -1
  169. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.js +144 -214
  170. package/dist/esm/_proto/com/daml/ledger/api/v2/testing/time_service.js.map +1 -1
  171. package/dist/esm/_proto/com/daml/ledger/api/v2/topology_transaction.js +374 -544
  172. package/dist/esm/_proto/com/daml/ledger/api/v2/topology_transaction.js.map +1 -1
  173. package/dist/esm/_proto/com/daml/ledger/api/v2/trace_context.js +57 -79
  174. package/dist/esm/_proto/com/daml/ledger/api/v2/trace_context.js.map +1 -1
  175. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction.js +354 -519
  176. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction.js.map +1 -1
  177. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction_filter.js +683 -1009
  178. package/dist/esm/_proto/com/daml/ledger/api/v2/transaction_filter.js.map +1 -1
  179. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.client.js +127 -136
  180. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.client.js.map +1 -1
  181. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.js +717 -1099
  182. package/dist/esm/_proto/com/daml/ledger/api/v2/update_service.js.map +1 -1
  183. package/dist/esm/_proto/com/daml/ledger/api/v2/value.js +819 -1232
  184. package/dist/esm/_proto/com/daml/ledger/api/v2/value.js.map +1 -1
  185. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.client.js +26 -22
  186. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.client.js.map +1 -1
  187. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.js +321 -504
  188. package/dist/esm/_proto/com/daml/ledger/api/v2/version_service.js.map +1 -1
  189. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.js +1844 -2124
  190. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.js.map +1 -1
  191. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto2.js +1864 -0
  192. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto2.js.map +1 -0
  193. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +47 -80
  194. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js.map +1 -1
  195. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters2.js +49 -0
  196. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters2.js.map +1 -0
  197. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +318 -507
  198. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js.map +1 -1
  199. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters2.js +322 -0
  200. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters2.js.map +1 -0
  201. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.js +1872 -2792
  202. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.js.map +1 -1
  203. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology2.js +2214 -0
  204. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology2.js.map +1 -0
  205. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +527 -744
  206. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js.map +1 -1
  207. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters2.js +519 -0
  208. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters2.js.map +1 -0
  209. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.js +326 -519
  210. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.js.map +1 -1
  211. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common2.js +350 -0
  212. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common2.js.map +1 -0
  213. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +138 -148
  214. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js.map +1 -1
  215. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +2721 -4632
  216. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js.map +1 -1
  217. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.client.js +156 -0
  218. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.client.js.map +1 -0
  219. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.js +3079 -0
  220. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service2.js.map +1 -0
  221. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +78 -83
  222. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js.map +1 -1
  223. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +1099 -1625
  224. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js.map +1 -1
  225. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.client.js +82 -0
  226. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.client.js.map +1 -0
  227. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.js +1118 -0
  228. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service2.js.map +1 -0
  229. package/dist/esm/_proto/google/protobuf/any.js +132 -174
  230. package/dist/esm/_proto/google/protobuf/any.js.map +1 -1
  231. package/dist/esm/_proto/google/protobuf/descriptor.js +2526 -3398
  232. package/dist/esm/_proto/google/protobuf/descriptor.js.map +1 -1
  233. package/dist/esm/_proto/google/protobuf/duration.js +93 -130
  234. package/dist/esm/_proto/google/protobuf/duration.js.map +1 -1
  235. package/dist/esm/_proto/google/protobuf/duration2.js +95 -0
  236. package/dist/esm/_proto/google/protobuf/duration2.js.map +1 -0
  237. package/dist/esm/_proto/google/protobuf/empty.js +37 -51
  238. package/dist/esm/_proto/google/protobuf/empty.js.map +1 -1
  239. package/dist/esm/_proto/google/protobuf/empty2.js +39 -0
  240. package/dist/esm/_proto/google/protobuf/empty2.js.map +1 -0
  241. package/dist/esm/_proto/google/protobuf/field_mask.js +72 -106
  242. package/dist/esm/_proto/google/protobuf/field_mask.js.map +1 -1
  243. package/dist/esm/_proto/google/protobuf/struct.js +349 -448
  244. package/dist/esm/_proto/google/protobuf/struct.js.map +1 -1
  245. package/dist/esm/_proto/google/protobuf/timestamp.js +118 -170
  246. package/dist/esm/_proto/google/protobuf/timestamp.js.map +1 -1
  247. package/dist/esm/_proto/google/protobuf/timestamp2.js +120 -0
  248. package/dist/esm/_proto/google/protobuf/timestamp2.js.map +1 -0
  249. package/dist/esm/_proto/google/rpc/code.js +223 -23
  250. package/dist/esm/_proto/google/rpc/code.js.map +1 -1
  251. package/dist/esm/_proto/google/rpc/context/attribute_context.js +892 -1248
  252. package/dist/esm/_proto/google/rpc/context/attribute_context.js.map +1 -1
  253. package/dist/esm/_proto/google/rpc/context/audit_context.js +91 -134
  254. package/dist/esm/_proto/google/rpc/context/audit_context.js.map +1 -1
  255. package/dist/esm/_proto/google/rpc/error_details.js +761 -1098
  256. package/dist/esm/_proto/google/rpc/error_details.js.map +1 -1
  257. package/dist/esm/_proto/google/rpc/status.js +72 -100
  258. package/dist/esm/_proto/google/rpc/status.js.map +1 -1
  259. package/dist/esm/_proto/scalapb/scalapb.js +1378 -1818
  260. package/dist/esm/_proto/scalapb/scalapb.js.map +1 -1
  261. package/dist/esm/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/defineProperty.js +12 -0
  262. package/dist/esm/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPrimitive.js +14 -0
  263. package/dist/esm/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/toPropertyKey.js +9 -0
  264. package/dist/esm/_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/typeof.js +11 -0
  265. package/dist/esm/index.js +12 -60
  266. package/package.json +10 -10
  267. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.cjs.map +0 -1
  268. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.cjs.map +0 -1
  269. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.cjs.map +0 -1
  270. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.cjs.map +0 -1
  271. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/object_meta.cjs.map +0 -1
  272. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.cjs.map +0 -1
  273. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.cjs.map +0 -1
  274. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.cjs.map +0 -1
  275. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.cjs.map +0 -1
  276. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.cjs.map +0 -1
  277. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.cjs.map +0 -1
  278. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.cjs.map +0 -1
  279. package/dist/cjs/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.cjs.map +0 -1
  280. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.cjs.map +0 -1
  281. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_completion_service.client.cjs.map +0 -1
  282. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.cjs.map +0 -1
  283. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_service.client.cjs.map +0 -1
  284. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.cjs.map +0 -1
  285. package/dist/cjs/_proto/com/daml/ledger/api/v2/command_submission_service.client.cjs.map +0 -1
  286. package/dist/cjs/_proto/com/daml/ledger/api/v2/commands.cjs.map +0 -1
  287. package/dist/cjs/_proto/com/daml/ledger/api/v2/completion.cjs.map +0 -1
  288. package/dist/cjs/_proto/com/daml/ledger/api/v2/crypto.cjs.map +0 -1
  289. package/dist/cjs/_proto/com/daml/ledger/api/v2/event.cjs.map +0 -1
  290. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.cjs.map +0 -1
  291. package/dist/cjs/_proto/com/daml/ledger/api/v2/event_query_service.client.cjs.map +0 -1
  292. package/dist/cjs/_proto/com/daml/ledger/api/v2/experimental_features.cjs.map +0 -1
  293. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.cjs.map +0 -1
  294. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.cjs.map +0 -1
  295. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.cjs.map +0 -1
  296. package/dist/cjs/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.cjs.map +0 -1
  297. package/dist/cjs/_proto/com/daml/ledger/api/v2/offset_checkpoint.cjs.map +0 -1
  298. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_reference.cjs.map +0 -1
  299. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.cjs.map +0 -1
  300. package/dist/cjs/_proto/com/daml/ledger/api/v2/package_service.client.cjs.map +0 -1
  301. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment.cjs.map +0 -1
  302. package/dist/cjs/_proto/com/daml/ledger/api/v2/reassignment_commands.cjs.map +0 -1
  303. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.cjs.map +0 -1
  304. package/dist/cjs/_proto/com/daml/ledger/api/v2/state_service.client.cjs.map +0 -1
  305. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.cjs.map +0 -1
  306. package/dist/cjs/_proto/com/daml/ledger/api/v2/testing/time_service.client.cjs.map +0 -1
  307. package/dist/cjs/_proto/com/daml/ledger/api/v2/topology_transaction.cjs.map +0 -1
  308. package/dist/cjs/_proto/com/daml/ledger/api/v2/trace_context.cjs.map +0 -1
  309. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction.cjs.map +0 -1
  310. package/dist/cjs/_proto/com/daml/ledger/api/v2/transaction_filter.cjs.map +0 -1
  311. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.cjs.map +0 -1
  312. package/dist/cjs/_proto/com/daml/ledger/api/v2/update_service.client.cjs.map +0 -1
  313. package/dist/cjs/_proto/com/daml/ledger/api/v2/value.cjs.map +0 -1
  314. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.cjs.map +0 -1
  315. package/dist/cjs/_proto/com/daml/ledger/api/v2/version_service.client.cjs.map +0 -1
  316. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto.cjs.map +0 -1
  317. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto.d.cjs +0 -17
  318. package/dist/cjs/_proto/com/digitalasset/canton/crypto/v30/crypto.d.cjs.map +0 -1
  319. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.cjs.map +0 -1
  320. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.cjs +0 -17
  321. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.cjs.map +0 -1
  322. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.cjs.map +0 -1
  323. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.cjs +0 -17
  324. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.cjs.map +0 -1
  325. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology.cjs.map +0 -1
  326. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology.d.cjs +0 -17
  327. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/topology.d.cjs.map +0 -1
  328. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.cjs.map +0 -1
  329. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.cjs +0 -17
  330. package/dist/cjs/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.cjs.map +0 -1
  331. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common.cjs.map +0 -1
  332. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common.d.cjs +0 -17
  333. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/common.d.cjs.map +0 -1
  334. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.cjs.map +0 -1
  335. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.cjs.map +0 -1
  336. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.cjs +0 -17
  337. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.cjs.map +0 -1
  338. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.cjs +0 -17
  339. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.cjs.map +0 -1
  340. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.cjs.map +0 -1
  341. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.cjs.map +0 -1
  342. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.cjs +0 -17
  343. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.cjs.map +0 -1
  344. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.cjs +0 -17
  345. package/dist/cjs/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.cjs.map +0 -1
  346. package/dist/cjs/_proto/google/protobuf/any.cjs.map +0 -1
  347. package/dist/cjs/_proto/google/protobuf/descriptor.cjs.map +0 -1
  348. package/dist/cjs/_proto/google/protobuf/duration.cjs.map +0 -1
  349. package/dist/cjs/_proto/google/protobuf/duration.d.cjs +0 -17
  350. package/dist/cjs/_proto/google/protobuf/duration.d.cjs.map +0 -1
  351. package/dist/cjs/_proto/google/protobuf/empty.cjs.map +0 -1
  352. package/dist/cjs/_proto/google/protobuf/empty.d.cjs +0 -17
  353. package/dist/cjs/_proto/google/protobuf/empty.d.cjs.map +0 -1
  354. package/dist/cjs/_proto/google/protobuf/field_mask.cjs.map +0 -1
  355. package/dist/cjs/_proto/google/protobuf/struct.cjs.map +0 -1
  356. package/dist/cjs/_proto/google/protobuf/timestamp.cjs.map +0 -1
  357. package/dist/cjs/_proto/google/protobuf/timestamp.d.cjs +0 -17
  358. package/dist/cjs/_proto/google/protobuf/timestamp.d.cjs.map +0 -1
  359. package/dist/cjs/_proto/google/rpc/code.cjs.map +0 -1
  360. package/dist/cjs/_proto/google/rpc/context/attribute_context.cjs.map +0 -1
  361. package/dist/cjs/_proto/google/rpc/context/audit_context.cjs.map +0 -1
  362. package/dist/cjs/_proto/google/rpc/error_details.cjs.map +0 -1
  363. package/dist/cjs/_proto/google/rpc/status.cjs.map +0 -1
  364. package/dist/cjs/_proto/scalapb/scalapb.cjs.map +0 -1
  365. package/dist/cjs/index.cjs.map +0 -1
  366. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.d.js +0 -1
  367. package/dist/esm/_proto/com/digitalasset/canton/crypto/v30/crypto.d.js.map +0 -1
  368. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.js +0 -1
  369. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.js.map +0 -1
  370. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.js +0 -1
  371. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.js.map +0 -1
  372. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.d.js +0 -1
  373. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/topology.d.js.map +0 -1
  374. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.js +0 -1
  375. package/dist/esm/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.js.map +0 -1
  376. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.d.js +0 -1
  377. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/common.d.js.map +0 -1
  378. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.js +0 -1
  379. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.js.map +0 -1
  380. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.js +0 -1
  381. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.js.map +0 -1
  382. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.js +0 -1
  383. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.js.map +0 -1
  384. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.js +0 -1
  385. package/dist/esm/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.js.map +0 -1
  386. package/dist/esm/_proto/google/protobuf/duration.d.js +0 -1
  387. package/dist/esm/_proto/google/protobuf/duration.d.js.map +0 -1
  388. package/dist/esm/_proto/google/protobuf/empty.d.js +0 -1
  389. package/dist/esm/_proto/google/protobuf/empty.d.js.map +0 -1
  390. package/dist/esm/_proto/google/protobuf/timestamp.d.js +0 -1
  391. package/dist/esm/_proto/google/protobuf/timestamp.d.js.map +0 -1
  392. package/dist/esm/index.js.map +0 -1
@@ -1,145 +1,157 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
1
+ import _defineProperty from "../../../../../../../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/defineProperty.js";
4
2
  import { PartyManagementService } from "./party_management_service.js";
5
3
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
6
- class PartyManagementServiceClient {
7
- constructor(_transport) {
8
- this._transport = _transport;
9
- __publicField(this, "typeName", PartyManagementService.typeName);
10
- __publicField(this, "methods", PartyManagementService.methods);
11
- __publicField(this, "options", PartyManagementService.options);
12
- }
13
- /**
14
- * Return the identifier of the participant.
15
- * All horizontally scaled replicas should return the same id.
16
- * daml-on-kv-ledger: returns an identifier supplied on command line at launch time
17
- * canton: returns globally unique identifier of the participant
18
- *
19
- * @generated from protobuf rpc: GetParticipantId
20
- */
21
- getParticipantId(input, options) {
22
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
23
- return stackIntercept("unary", this._transport, method, opt, input);
24
- }
25
- /**
26
- * Get the party details of the given parties. Only known parties will be
27
- * returned in the list.
28
- *
29
- * @generated from protobuf rpc: GetParties
30
- */
31
- getParties(input, options) {
32
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
33
- return stackIntercept(
34
- "unary",
35
- this._transport,
36
- method,
37
- opt,
38
- input
39
- );
40
- }
41
- /**
42
- * List the parties known by the participant.
43
- * The list returned contains parties whose ledger access is facilitated by
44
- * the participant and the ones maintained elsewhere.
45
- *
46
- * @generated from protobuf rpc: ListKnownParties
47
- */
48
- listKnownParties(input, options) {
49
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
50
- return stackIntercept("unary", this._transport, method, opt, input);
51
- }
52
- /**
53
- * Allocates a new party on a ledger and adds it to the set managed by the participant.
54
- * Caller specifies a party identifier suggestion, the actual identifier
55
- * allocated might be different and is implementation specific.
56
- * Caller can specify party metadata that is stored locally on the participant.
57
- * This call may:
58
- *
59
- * - Succeed, in which case the actual allocated identifier is visible in
60
- * the response.
61
- * - Respond with a gRPC error
62
- *
63
- * daml-on-kv-ledger: suggestion's uniqueness is checked by the validators in
64
- * the consensus layer and call rejected if the identifier is already present.
65
- * canton: completely different globally unique identifier is allocated.
66
- * Behind the scenes calls to an internal protocol are made. As that protocol
67
- * is richer than the surface protocol, the arguments take implicit values
68
- * The party identifier suggestion must be a valid party name. Party names are required to be non-empty US-ASCII strings built from letters, digits, space,
69
- * colon, minus and underscore limited to 255 chars
70
- *
71
- * @generated from protobuf rpc: AllocateParty
72
- */
73
- allocateParty(input, options) {
74
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
75
- return stackIntercept(
76
- "unary",
77
- this._transport,
78
- method,
79
- opt,
80
- input
81
- );
82
- }
83
- /**
84
- * Alpha 3.3: Endpoint to allocate a new external party on a synchronizer
85
- *
86
- * Expected to be stable in 3.5
87
- *
88
- * The external party must be hosted (at least) on this node with either confirmation or observation permissions
89
- * It can optionally be hosted on other nodes (then called a multi-hosted party).
90
- * If hosted on additional nodes, explicit authorization of the hosting relationship must be performed on those nodes
91
- * before the party can be used.
92
- * Decentralized namespaces are supported but must be provided fully authorized by their owners.
93
- * The individual owner namespace transactions can be submitted in the same call (fully authorized as well).
94
- * In the simple case of a non-multi hosted, non-decentralized party, the RPC will return once the party is
95
- * effectively allocated and ready to use, similarly to the AllocateParty behavior.
96
- * For more complex scenarios applications may need to query the party status explicitly (only through the admin API as of now).
97
- *
98
- * @generated from protobuf rpc: AllocateExternalParty
99
- */
100
- allocateExternalParty(input, options) {
101
- const method = this.methods[4], opt = this._transport.mergeOptions(options);
102
- return stackIntercept("unary", this._transport, method, opt, input);
103
- }
104
- /**
105
- * Update selected modifiable participant-local attributes of a party details resource.
106
- * Can update the participant's local information for local parties.
107
- *
108
- * @generated from protobuf rpc: UpdatePartyDetails
109
- */
110
- updatePartyDetails(input, options) {
111
- const method = this.methods[5], opt = this._transport.mergeOptions(options);
112
- return stackIntercept("unary", this._transport, method, opt, input);
113
- }
114
- /**
115
- * Update the assignment of a party from one IDP to another.
116
- *
117
- * @generated from protobuf rpc: UpdatePartyIdentityProviderId
118
- */
119
- updatePartyIdentityProviderId(input, options) {
120
- const method = this.methods[6], opt = this._transport.mergeOptions(options);
121
- return stackIntercept("unary", this._transport, method, opt, input);
122
- }
123
- /**
124
- * Alpha 3.3: Convenience endpoint to generate topology transactions for external signing
125
- *
126
- * Expected to be stable in 3.5
127
- *
128
- * You may use this endpoint to generate the common external topology transactions
129
- * which can be signed externally and uploaded as part of the allocate party process
130
- *
131
- * Note that this request will create a normal namespace using the same key for the
132
- * identity as for signing. More elaborate schemes such as multi-signature
133
- * or decentralized parties require you to construct the topology transactions yourself.
134
- *
135
- * @generated from protobuf rpc: GenerateExternalPartyTopology
136
- */
137
- generateExternalPartyTopology(input, options) {
138
- const method = this.methods[7], opt = this._transport.mergeOptions(options);
139
- return stackIntercept("unary", this._transport, method, opt, input);
140
- }
141
- }
142
- export {
143
- PartyManagementServiceClient
4
+ //#region src/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.ts
5
+ /**
6
+ * This service allows inspecting the party management state of the ledger known to the participant
7
+ * and managing the participant-local party metadata.
8
+ *
9
+ * The authorization rules for its RPCs are specified on the ``<RpcName>Request``
10
+ * messages as boolean expressions over these facts:
11
+ *
12
+ * 1. ``HasRight(r)`` denoting whether the authenticated user has right ``r`` and
13
+ * 2. ``IsAuthenticatedIdentityProviderAdmin(idp)`` denoting whether ``idp`` is equal to the ``identity_provider_id``
14
+ * of the authenticated user and the user has an IdentityProviderAdmin right.
15
+ *
16
+ * If `identity_provider_id` is set to an empty string, then it's effectively set to the value of access token's 'iss' field if that is provided.
17
+ * If `identity_provider_id` remains an empty string, the default identity provider will be assumed.
18
+ *
19
+ * The fields of request messages (and sub-messages) are marked either as ``Optional`` or ``Required``:
20
+ *
21
+ * 1. ``Optional`` denoting the client may leave the field unset when sending a request.
22
+ * 2. ``Required`` denoting the client must set the field to a non-default value when sending a request.
23
+ *
24
+ * A party details resource is described by the ``PartyDetails`` message,
25
+ * A party details resource, once it has been created, can be modified using the ``UpdatePartyDetails`` RPC.
26
+ * The only fields that can be modified are those marked as ``Modifiable``.
27
+ *
28
+ * @generated from protobuf service com.daml.ledger.api.v2.admin.PartyManagementService
29
+ */
30
+ var PartyManagementServiceClient = class {
31
+ constructor(_transport) {
32
+ this._transport = _transport;
33
+ _defineProperty(this, "typeName", PartyManagementService.typeName);
34
+ _defineProperty(this, "methods", PartyManagementService.methods);
35
+ _defineProperty(this, "options", PartyManagementService.options);
36
+ }
37
+ /**
38
+ * Return the identifier of the participant.
39
+ * All horizontally scaled replicas should return the same id.
40
+ * daml-on-kv-ledger: returns an identifier supplied on command line at launch time
41
+ * canton: returns globally unique identifier of the participant
42
+ *
43
+ * @generated from protobuf rpc: GetParticipantId
44
+ */
45
+ getParticipantId(input, options) {
46
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
47
+ return stackIntercept("unary", this._transport, method, opt, input);
48
+ }
49
+ /**
50
+ * Get the party details of the given parties. Only known parties will be
51
+ * returned in the list.
52
+ *
53
+ * @generated from protobuf rpc: GetParties
54
+ */
55
+ getParties(input, options) {
56
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
57
+ return stackIntercept("unary", this._transport, method, opt, input);
58
+ }
59
+ /**
60
+ * List the parties known by the participant.
61
+ * The list returned contains parties whose ledger access is facilitated by
62
+ * the participant and the ones maintained elsewhere.
63
+ *
64
+ * @generated from protobuf rpc: ListKnownParties
65
+ */
66
+ listKnownParties(input, options) {
67
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
68
+ return stackIntercept("unary", this._transport, method, opt, input);
69
+ }
70
+ /**
71
+ * Allocates a new party on a ledger and adds it to the set managed by the participant.
72
+ * Caller specifies a party identifier suggestion, the actual identifier
73
+ * allocated might be different and is implementation specific.
74
+ * Caller can specify party metadata that is stored locally on the participant.
75
+ * This call may:
76
+ *
77
+ * - Succeed, in which case the actual allocated identifier is visible in
78
+ * the response.
79
+ * - Respond with a gRPC error
80
+ *
81
+ * daml-on-kv-ledger: suggestion's uniqueness is checked by the validators in
82
+ * the consensus layer and call rejected if the identifier is already present.
83
+ * canton: completely different globally unique identifier is allocated.
84
+ * Behind the scenes calls to an internal protocol are made. As that protocol
85
+ * is richer than the surface protocol, the arguments take implicit values
86
+ * The party identifier suggestion must be a valid party name. Party names are required to be non-empty US-ASCII strings built from letters, digits, space,
87
+ * colon, minus and underscore limited to 255 chars
88
+ *
89
+ * @generated from protobuf rpc: AllocateParty
90
+ */
91
+ allocateParty(input, options) {
92
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
93
+ return stackIntercept("unary", this._transport, method, opt, input);
94
+ }
95
+ /**
96
+ * Alpha 3.3: Endpoint to allocate a new external party on a synchronizer
97
+ *
98
+ * Expected to be stable in 3.5
99
+ *
100
+ * The external party must be hosted (at least) on this node with either confirmation or observation permissions
101
+ * It can optionally be hosted on other nodes (then called a multi-hosted party).
102
+ * If hosted on additional nodes, explicit authorization of the hosting relationship must be performed on those nodes
103
+ * before the party can be used.
104
+ * Decentralized namespaces are supported but must be provided fully authorized by their owners.
105
+ * The individual owner namespace transactions can be submitted in the same call (fully authorized as well).
106
+ * In the simple case of a non-multi hosted, non-decentralized party, the RPC will return once the party is
107
+ * effectively allocated and ready to use, similarly to the AllocateParty behavior.
108
+ * For more complex scenarios applications may need to query the party status explicitly (only through the admin API as of now).
109
+ *
110
+ * @generated from protobuf rpc: AllocateExternalParty
111
+ */
112
+ allocateExternalParty(input, options) {
113
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
114
+ return stackIntercept("unary", this._transport, method, opt, input);
115
+ }
116
+ /**
117
+ * Update selected modifiable participant-local attributes of a party details resource.
118
+ * Can update the participant's local information for local parties.
119
+ *
120
+ * @generated from protobuf rpc: UpdatePartyDetails
121
+ */
122
+ updatePartyDetails(input, options) {
123
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
124
+ return stackIntercept("unary", this._transport, method, opt, input);
125
+ }
126
+ /**
127
+ * Update the assignment of a party from one IDP to another.
128
+ *
129
+ * @generated from protobuf rpc: UpdatePartyIdentityProviderId
130
+ */
131
+ updatePartyIdentityProviderId(input, options) {
132
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
133
+ return stackIntercept("unary", this._transport, method, opt, input);
134
+ }
135
+ /**
136
+ * Alpha 3.3: Convenience endpoint to generate topology transactions for external signing
137
+ *
138
+ * Expected to be stable in 3.5
139
+ *
140
+ * You may use this endpoint to generate the common external topology transactions
141
+ * which can be signed externally and uploaded as part of the allocate party process
142
+ *
143
+ * Note that this request will create a normal namespace using the same key for the
144
+ * identity as for signing. More elaborate schemes such as multi-signature
145
+ * or decentralized parties require you to construct the topology transactions yourself.
146
+ *
147
+ * @generated from protobuf rpc: GenerateExternalPartyTopology
148
+ */
149
+ generateExternalPartyTopology(input, options) {
150
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
151
+ return stackIntercept("unary", this._transport, method, opt, input);
152
+ }
144
153
  };
154
+ //#endregion
155
+ export { PartyManagementServiceClient };
156
+
145
157
  //# sourceMappingURL=party_management_service.client.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../src/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"com/daml/ledger/api/v2/admin/party_management_service.proto\" (package \"com.daml.ledger.api.v2.admin\", syntax proto3)\n// tslint:disable\n//\n// Copyright (c) 2025 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { RpcTransport } from '@protobuf-ts/runtime-rpc'\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc'\nimport { PartyManagementService } from './party_management_service.js'\nimport type { GenerateExternalPartyTopologyResponse } from './party_management_service.js'\nimport type { GenerateExternalPartyTopologyRequest } from './party_management_service.js'\nimport type { UpdatePartyIdentityProviderIdResponse } from './party_management_service.js'\nimport type { UpdatePartyIdentityProviderIdRequest } from './party_management_service.js'\nimport type { UpdatePartyDetailsResponse } from './party_management_service.js'\nimport type { UpdatePartyDetailsRequest } from './party_management_service.js'\nimport type { AllocateExternalPartyResponse } from './party_management_service.js'\nimport type { AllocateExternalPartyRequest } from './party_management_service.js'\nimport type { AllocatePartyResponse } from './party_management_service.js'\nimport type { AllocatePartyRequest } from './party_management_service.js'\nimport type { ListKnownPartiesResponse } from './party_management_service.js'\nimport type { ListKnownPartiesRequest } from './party_management_service.js'\nimport type { GetPartiesResponse } from './party_management_service.js'\nimport type { GetPartiesRequest } from './party_management_service.js'\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc'\nimport type { GetParticipantIdResponse } from './party_management_service.js'\nimport type { GetParticipantIdRequest } from './party_management_service.js'\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc'\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc'\n/**\n * This service allows inspecting the party management state of the ledger known to the participant\n * and managing the participant-local party metadata.\n *\n * The authorization rules for its RPCs are specified on the ``<RpcName>Request``\n * messages as boolean expressions over these facts:\n *\n * 1. ``HasRight(r)`` denoting whether the authenticated user has right ``r`` and\n * 2. ``IsAuthenticatedIdentityProviderAdmin(idp)`` denoting whether ``idp`` is equal to the ``identity_provider_id``\n * of the authenticated user and the user has an IdentityProviderAdmin right.\n *\n * If `identity_provider_id` is set to an empty string, then it's effectively set to the value of access token's 'iss' field if that is provided.\n * If `identity_provider_id` remains an empty string, the default identity provider will be assumed.\n *\n * The fields of request messages (and sub-messages) are marked either as ``Optional`` or ``Required``:\n *\n * 1. ``Optional`` denoting the client may leave the field unset when sending a request.\n * 2. ``Required`` denoting the client must set the field to a non-default value when sending a request.\n *\n * A party details resource is described by the ``PartyDetails`` message,\n * A party details resource, once it has been created, can be modified using the ``UpdatePartyDetails`` RPC.\n * The only fields that can be modified are those marked as ``Modifiable``.\n *\n * @generated from protobuf service com.daml.ledger.api.v2.admin.PartyManagementService\n */\nexport interface IPartyManagementServiceClient {\n /**\n * Return the identifier of the participant.\n * All horizontally scaled replicas should return the same id.\n * daml-on-kv-ledger: returns an identifier supplied on command line at launch time\n * canton: returns globally unique identifier of the participant\n *\n * @generated from protobuf rpc: GetParticipantId\n */\n getParticipantId(\n input: GetParticipantIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetParticipantIdRequest, GetParticipantIdResponse>\n /**\n * Get the party details of the given parties. Only known parties will be\n * returned in the list.\n *\n * @generated from protobuf rpc: GetParties\n */\n getParties(\n input: GetPartiesRequest,\n options?: RpcOptions\n ): UnaryCall<GetPartiesRequest, GetPartiesResponse>\n /**\n * List the parties known by the participant.\n * The list returned contains parties whose ledger access is facilitated by\n * the participant and the ones maintained elsewhere.\n *\n * @generated from protobuf rpc: ListKnownParties\n */\n listKnownParties(\n input: ListKnownPartiesRequest,\n options?: RpcOptions\n ): UnaryCall<ListKnownPartiesRequest, ListKnownPartiesResponse>\n /**\n * Allocates a new party on a ledger and adds it to the set managed by the participant.\n * Caller specifies a party identifier suggestion, the actual identifier\n * allocated might be different and is implementation specific.\n * Caller can specify party metadata that is stored locally on the participant.\n * This call may:\n *\n * - Succeed, in which case the actual allocated identifier is visible in\n * the response.\n * - Respond with a gRPC error\n *\n * daml-on-kv-ledger: suggestion's uniqueness is checked by the validators in\n * the consensus layer and call rejected if the identifier is already present.\n * canton: completely different globally unique identifier is allocated.\n * Behind the scenes calls to an internal protocol are made. As that protocol\n * is richer than the surface protocol, the arguments take implicit values\n * The party identifier suggestion must be a valid party name. Party names are required to be non-empty US-ASCII strings built from letters, digits, space,\n * colon, minus and underscore limited to 255 chars\n *\n * @generated from protobuf rpc: AllocateParty\n */\n allocateParty(\n input: AllocatePartyRequest,\n options?: RpcOptions\n ): UnaryCall<AllocatePartyRequest, AllocatePartyResponse>\n /**\n * Alpha 3.3: Endpoint to allocate a new external party on a synchronizer\n *\n * Expected to be stable in 3.5\n *\n * The external party must be hosted (at least) on this node with either confirmation or observation permissions\n * It can optionally be hosted on other nodes (then called a multi-hosted party).\n * If hosted on additional nodes, explicit authorization of the hosting relationship must be performed on those nodes\n * before the party can be used.\n * Decentralized namespaces are supported but must be provided fully authorized by their owners.\n * The individual owner namespace transactions can be submitted in the same call (fully authorized as well).\n * In the simple case of a non-multi hosted, non-decentralized party, the RPC will return once the party is\n * effectively allocated and ready to use, similarly to the AllocateParty behavior.\n * For more complex scenarios applications may need to query the party status explicitly (only through the admin API as of now).\n *\n * @generated from protobuf rpc: AllocateExternalParty\n */\n allocateExternalParty(\n input: AllocateExternalPartyRequest,\n options?: RpcOptions\n ): UnaryCall<AllocateExternalPartyRequest, AllocateExternalPartyResponse>\n /**\n * Update selected modifiable participant-local attributes of a party details resource.\n * Can update the participant's local information for local parties.\n *\n * @generated from protobuf rpc: UpdatePartyDetails\n */\n updatePartyDetails(\n input: UpdatePartyDetailsRequest,\n options?: RpcOptions\n ): UnaryCall<UpdatePartyDetailsRequest, UpdatePartyDetailsResponse>\n /**\n * Update the assignment of a party from one IDP to another.\n *\n * @generated from protobuf rpc: UpdatePartyIdentityProviderId\n */\n updatePartyIdentityProviderId(\n input: UpdatePartyIdentityProviderIdRequest,\n options?: RpcOptions\n ): UnaryCall<\n UpdatePartyIdentityProviderIdRequest,\n UpdatePartyIdentityProviderIdResponse\n >\n /**\n * Alpha 3.3: Convenience endpoint to generate topology transactions for external signing\n *\n * Expected to be stable in 3.5\n *\n * You may use this endpoint to generate the common external topology transactions\n * which can be signed externally and uploaded as part of the allocate party process\n *\n * Note that this request will create a normal namespace using the same key for the\n * identity as for signing. More elaborate schemes such as multi-signature\n * or decentralized parties require you to construct the topology transactions yourself.\n *\n * @generated from protobuf rpc: GenerateExternalPartyTopology\n */\n generateExternalPartyTopology(\n input: GenerateExternalPartyTopologyRequest,\n options?: RpcOptions\n ): UnaryCall<\n GenerateExternalPartyTopologyRequest,\n GenerateExternalPartyTopologyResponse\n >\n}\n/**\n * This service allows inspecting the party management state of the ledger known to the participant\n * and managing the participant-local party metadata.\n *\n * The authorization rules for its RPCs are specified on the ``<RpcName>Request``\n * messages as boolean expressions over these facts:\n *\n * 1. ``HasRight(r)`` denoting whether the authenticated user has right ``r`` and\n * 2. ``IsAuthenticatedIdentityProviderAdmin(idp)`` denoting whether ``idp`` is equal to the ``identity_provider_id``\n * of the authenticated user and the user has an IdentityProviderAdmin right.\n *\n * If `identity_provider_id` is set to an empty string, then it's effectively set to the value of access token's 'iss' field if that is provided.\n * If `identity_provider_id` remains an empty string, the default identity provider will be assumed.\n *\n * The fields of request messages (and sub-messages) are marked either as ``Optional`` or ``Required``:\n *\n * 1. ``Optional`` denoting the client may leave the field unset when sending a request.\n * 2. ``Required`` denoting the client must set the field to a non-default value when sending a request.\n *\n * A party details resource is described by the ``PartyDetails`` message,\n * A party details resource, once it has been created, can be modified using the ``UpdatePartyDetails`` RPC.\n * The only fields that can be modified are those marked as ``Modifiable``.\n *\n * @generated from protobuf service com.daml.ledger.api.v2.admin.PartyManagementService\n */\nexport class PartyManagementServiceClient\n implements IPartyManagementServiceClient, ServiceInfo\n{\n typeName = PartyManagementService.typeName\n methods = PartyManagementService.methods\n options = PartyManagementService.options\n constructor(private readonly _transport: RpcTransport) {}\n /**\n * Return the identifier of the participant.\n * All horizontally scaled replicas should return the same id.\n * daml-on-kv-ledger: returns an identifier supplied on command line at launch time\n * canton: returns globally unique identifier of the participant\n *\n * @generated from protobuf rpc: GetParticipantId\n */\n getParticipantId(\n input: GetParticipantIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetParticipantIdRequest, GetParticipantIdResponse> {\n const method = this.methods[0],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GetParticipantIdRequest,\n GetParticipantIdResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Get the party details of the given parties. Only known parties will be\n * returned in the list.\n *\n * @generated from protobuf rpc: GetParties\n */\n getParties(\n input: GetPartiesRequest,\n options?: RpcOptions\n ): UnaryCall<GetPartiesRequest, GetPartiesResponse> {\n const method = this.methods[1],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<GetPartiesRequest, GetPartiesResponse>(\n 'unary',\n this._transport,\n method,\n opt,\n input\n )\n }\n /**\n * List the parties known by the participant.\n * The list returned contains parties whose ledger access is facilitated by\n * the participant and the ones maintained elsewhere.\n *\n * @generated from protobuf rpc: ListKnownParties\n */\n listKnownParties(\n input: ListKnownPartiesRequest,\n options?: RpcOptions\n ): UnaryCall<ListKnownPartiesRequest, ListKnownPartiesResponse> {\n const method = this.methods[2],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n ListKnownPartiesRequest,\n ListKnownPartiesResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Allocates a new party on a ledger and adds it to the set managed by the participant.\n * Caller specifies a party identifier suggestion, the actual identifier\n * allocated might be different and is implementation specific.\n * Caller can specify party metadata that is stored locally on the participant.\n * This call may:\n *\n * - Succeed, in which case the actual allocated identifier is visible in\n * the response.\n * - Respond with a gRPC error\n *\n * daml-on-kv-ledger: suggestion's uniqueness is checked by the validators in\n * the consensus layer and call rejected if the identifier is already present.\n * canton: completely different globally unique identifier is allocated.\n * Behind the scenes calls to an internal protocol are made. As that protocol\n * is richer than the surface protocol, the arguments take implicit values\n * The party identifier suggestion must be a valid party name. Party names are required to be non-empty US-ASCII strings built from letters, digits, space,\n * colon, minus and underscore limited to 255 chars\n *\n * @generated from protobuf rpc: AllocateParty\n */\n allocateParty(\n input: AllocatePartyRequest,\n options?: RpcOptions\n ): UnaryCall<AllocatePartyRequest, AllocatePartyResponse> {\n const method = this.methods[3],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<AllocatePartyRequest, AllocatePartyResponse>(\n 'unary',\n this._transport,\n method,\n opt,\n input\n )\n }\n /**\n * Alpha 3.3: Endpoint to allocate a new external party on a synchronizer\n *\n * Expected to be stable in 3.5\n *\n * The external party must be hosted (at least) on this node with either confirmation or observation permissions\n * It can optionally be hosted on other nodes (then called a multi-hosted party).\n * If hosted on additional nodes, explicit authorization of the hosting relationship must be performed on those nodes\n * before the party can be used.\n * Decentralized namespaces are supported but must be provided fully authorized by their owners.\n * The individual owner namespace transactions can be submitted in the same call (fully authorized as well).\n * In the simple case of a non-multi hosted, non-decentralized party, the RPC will return once the party is\n * effectively allocated and ready to use, similarly to the AllocateParty behavior.\n * For more complex scenarios applications may need to query the party status explicitly (only through the admin API as of now).\n *\n * @generated from protobuf rpc: AllocateExternalParty\n */\n allocateExternalParty(\n input: AllocateExternalPartyRequest,\n options?: RpcOptions\n ): UnaryCall<AllocateExternalPartyRequest, AllocateExternalPartyResponse> {\n const method = this.methods[4],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n AllocateExternalPartyRequest,\n AllocateExternalPartyResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Update selected modifiable participant-local attributes of a party details resource.\n * Can update the participant's local information for local parties.\n *\n * @generated from protobuf rpc: UpdatePartyDetails\n */\n updatePartyDetails(\n input: UpdatePartyDetailsRequest,\n options?: RpcOptions\n ): UnaryCall<UpdatePartyDetailsRequest, UpdatePartyDetailsResponse> {\n const method = this.methods[5],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n UpdatePartyDetailsRequest,\n UpdatePartyDetailsResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Update the assignment of a party from one IDP to another.\n *\n * @generated from protobuf rpc: UpdatePartyIdentityProviderId\n */\n updatePartyIdentityProviderId(\n input: UpdatePartyIdentityProviderIdRequest,\n options?: RpcOptions\n ): UnaryCall<\n UpdatePartyIdentityProviderIdRequest,\n UpdatePartyIdentityProviderIdResponse\n > {\n const method = this.methods[6],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n UpdatePartyIdentityProviderIdRequest,\n UpdatePartyIdentityProviderIdResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Alpha 3.3: Convenience endpoint to generate topology transactions for external signing\n *\n * Expected to be stable in 3.5\n *\n * You may use this endpoint to generate the common external topology transactions\n * which can be signed externally and uploaded as part of the allocate party process\n *\n * Note that this request will create a normal namespace using the same key for the\n * identity as for signing. More elaborate schemes such as multi-signature\n * or decentralized parties require you to construct the topology transactions yourself.\n *\n * @generated from protobuf rpc: GenerateExternalPartyTopology\n */\n generateExternalPartyTopology(\n input: GenerateExternalPartyTopologyRequest,\n options?: RpcOptions\n ): UnaryCall<\n GenerateExternalPartyTopologyRequest,\n GenerateExternalPartyTopologyResponse\n > {\n const method = this.methods[7],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GenerateExternalPartyTopologyRequest,\n GenerateExternalPartyTopologyResponse\n >('unary', this._transport, method, opt, input)\n }\n}\n"],"mappings":";;;AASA,SAAS,8BAA8B;AAevC,SAAS,sBAAsB;AAmLxB,MAAM,6BAEb;AAAA,EAII,YAA6B,YAA0B;AAA1B;AAH7B,oCAAW,uBAAuB;AAClC,mCAAU,uBAAuB;AACjC,mCAAU,uBAAuB;AAAA,EACuB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASxD,iBACI,OACA,SAC4D;AAC5D,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAClD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,WACI,OACA,SACgD;AAChD,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO;AAAA,MACH;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,iBACI,OACA,SAC4D;AAC5D,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAClD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAsBA,cACI,OACA,SACsD;AACtD,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO;AAAA,MACH;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkBA,sBACI,OACA,SACsE;AACtE,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAClD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,mBACI,OACA,SACgE;AAChE,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAClD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,8BACI,OACA,SAIF;AACE,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAClD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAeA,8BACI,OACA,SAIF;AACE,UAAM,SAAS,KAAK,QAAQ,CAAC,GACzB,MAAM,KAAK,WAAW,aAAa,OAAO;AAC9C,WAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAClD;AACJ;","names":[]}
1
+ {"version":3,"file":"party_management_service.client.js","names":[],"sources":["../../../../../../../../../src/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"com/daml/ledger/api/v2/admin/party_management_service.proto\" (package \"com.daml.ledger.api.v2.admin\", syntax proto3)\n// tslint:disable\n//\n// Copyright (c) 2025 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { RpcTransport } from '@protobuf-ts/runtime-rpc'\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc'\nimport { PartyManagementService } from './party_management_service.js'\nimport type { GenerateExternalPartyTopologyResponse } from './party_management_service.js'\nimport type { GenerateExternalPartyTopologyRequest } from './party_management_service.js'\nimport type { UpdatePartyIdentityProviderIdResponse } from './party_management_service.js'\nimport type { UpdatePartyIdentityProviderIdRequest } from './party_management_service.js'\nimport type { UpdatePartyDetailsResponse } from './party_management_service.js'\nimport type { UpdatePartyDetailsRequest } from './party_management_service.js'\nimport type { AllocateExternalPartyResponse } from './party_management_service.js'\nimport type { AllocateExternalPartyRequest } from './party_management_service.js'\nimport type { AllocatePartyResponse } from './party_management_service.js'\nimport type { AllocatePartyRequest } from './party_management_service.js'\nimport type { ListKnownPartiesResponse } from './party_management_service.js'\nimport type { ListKnownPartiesRequest } from './party_management_service.js'\nimport type { GetPartiesResponse } from './party_management_service.js'\nimport type { GetPartiesRequest } from './party_management_service.js'\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc'\nimport type { GetParticipantIdResponse } from './party_management_service.js'\nimport type { GetParticipantIdRequest } from './party_management_service.js'\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc'\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc'\n/**\n * This service allows inspecting the party management state of the ledger known to the participant\n * and managing the participant-local party metadata.\n *\n * The authorization rules for its RPCs are specified on the ``<RpcName>Request``\n * messages as boolean expressions over these facts:\n *\n * 1. ``HasRight(r)`` denoting whether the authenticated user has right ``r`` and\n * 2. ``IsAuthenticatedIdentityProviderAdmin(idp)`` denoting whether ``idp`` is equal to the ``identity_provider_id``\n * of the authenticated user and the user has an IdentityProviderAdmin right.\n *\n * If `identity_provider_id` is set to an empty string, then it's effectively set to the value of access token's 'iss' field if that is provided.\n * If `identity_provider_id` remains an empty string, the default identity provider will be assumed.\n *\n * The fields of request messages (and sub-messages) are marked either as ``Optional`` or ``Required``:\n *\n * 1. ``Optional`` denoting the client may leave the field unset when sending a request.\n * 2. ``Required`` denoting the client must set the field to a non-default value when sending a request.\n *\n * A party details resource is described by the ``PartyDetails`` message,\n * A party details resource, once it has been created, can be modified using the ``UpdatePartyDetails`` RPC.\n * The only fields that can be modified are those marked as ``Modifiable``.\n *\n * @generated from protobuf service com.daml.ledger.api.v2.admin.PartyManagementService\n */\nexport interface IPartyManagementServiceClient {\n /**\n * Return the identifier of the participant.\n * All horizontally scaled replicas should return the same id.\n * daml-on-kv-ledger: returns an identifier supplied on command line at launch time\n * canton: returns globally unique identifier of the participant\n *\n * @generated from protobuf rpc: GetParticipantId\n */\n getParticipantId(\n input: GetParticipantIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetParticipantIdRequest, GetParticipantIdResponse>\n /**\n * Get the party details of the given parties. Only known parties will be\n * returned in the list.\n *\n * @generated from protobuf rpc: GetParties\n */\n getParties(\n input: GetPartiesRequest,\n options?: RpcOptions\n ): UnaryCall<GetPartiesRequest, GetPartiesResponse>\n /**\n * List the parties known by the participant.\n * The list returned contains parties whose ledger access is facilitated by\n * the participant and the ones maintained elsewhere.\n *\n * @generated from protobuf rpc: ListKnownParties\n */\n listKnownParties(\n input: ListKnownPartiesRequest,\n options?: RpcOptions\n ): UnaryCall<ListKnownPartiesRequest, ListKnownPartiesResponse>\n /**\n * Allocates a new party on a ledger and adds it to the set managed by the participant.\n * Caller specifies a party identifier suggestion, the actual identifier\n * allocated might be different and is implementation specific.\n * Caller can specify party metadata that is stored locally on the participant.\n * This call may:\n *\n * - Succeed, in which case the actual allocated identifier is visible in\n * the response.\n * - Respond with a gRPC error\n *\n * daml-on-kv-ledger: suggestion's uniqueness is checked by the validators in\n * the consensus layer and call rejected if the identifier is already present.\n * canton: completely different globally unique identifier is allocated.\n * Behind the scenes calls to an internal protocol are made. As that protocol\n * is richer than the surface protocol, the arguments take implicit values\n * The party identifier suggestion must be a valid party name. Party names are required to be non-empty US-ASCII strings built from letters, digits, space,\n * colon, minus and underscore limited to 255 chars\n *\n * @generated from protobuf rpc: AllocateParty\n */\n allocateParty(\n input: AllocatePartyRequest,\n options?: RpcOptions\n ): UnaryCall<AllocatePartyRequest, AllocatePartyResponse>\n /**\n * Alpha 3.3: Endpoint to allocate a new external party on a synchronizer\n *\n * Expected to be stable in 3.5\n *\n * The external party must be hosted (at least) on this node with either confirmation or observation permissions\n * It can optionally be hosted on other nodes (then called a multi-hosted party).\n * If hosted on additional nodes, explicit authorization of the hosting relationship must be performed on those nodes\n * before the party can be used.\n * Decentralized namespaces are supported but must be provided fully authorized by their owners.\n * The individual owner namespace transactions can be submitted in the same call (fully authorized as well).\n * In the simple case of a non-multi hosted, non-decentralized party, the RPC will return once the party is\n * effectively allocated and ready to use, similarly to the AllocateParty behavior.\n * For more complex scenarios applications may need to query the party status explicitly (only through the admin API as of now).\n *\n * @generated from protobuf rpc: AllocateExternalParty\n */\n allocateExternalParty(\n input: AllocateExternalPartyRequest,\n options?: RpcOptions\n ): UnaryCall<AllocateExternalPartyRequest, AllocateExternalPartyResponse>\n /**\n * Update selected modifiable participant-local attributes of a party details resource.\n * Can update the participant's local information for local parties.\n *\n * @generated from protobuf rpc: UpdatePartyDetails\n */\n updatePartyDetails(\n input: UpdatePartyDetailsRequest,\n options?: RpcOptions\n ): UnaryCall<UpdatePartyDetailsRequest, UpdatePartyDetailsResponse>\n /**\n * Update the assignment of a party from one IDP to another.\n *\n * @generated from protobuf rpc: UpdatePartyIdentityProviderId\n */\n updatePartyIdentityProviderId(\n input: UpdatePartyIdentityProviderIdRequest,\n options?: RpcOptions\n ): UnaryCall<\n UpdatePartyIdentityProviderIdRequest,\n UpdatePartyIdentityProviderIdResponse\n >\n /**\n * Alpha 3.3: Convenience endpoint to generate topology transactions for external signing\n *\n * Expected to be stable in 3.5\n *\n * You may use this endpoint to generate the common external topology transactions\n * which can be signed externally and uploaded as part of the allocate party process\n *\n * Note that this request will create a normal namespace using the same key for the\n * identity as for signing. More elaborate schemes such as multi-signature\n * or decentralized parties require you to construct the topology transactions yourself.\n *\n * @generated from protobuf rpc: GenerateExternalPartyTopology\n */\n generateExternalPartyTopology(\n input: GenerateExternalPartyTopologyRequest,\n options?: RpcOptions\n ): UnaryCall<\n GenerateExternalPartyTopologyRequest,\n GenerateExternalPartyTopologyResponse\n >\n}\n/**\n * This service allows inspecting the party management state of the ledger known to the participant\n * and managing the participant-local party metadata.\n *\n * The authorization rules for its RPCs are specified on the ``<RpcName>Request``\n * messages as boolean expressions over these facts:\n *\n * 1. ``HasRight(r)`` denoting whether the authenticated user has right ``r`` and\n * 2. ``IsAuthenticatedIdentityProviderAdmin(idp)`` denoting whether ``idp`` is equal to the ``identity_provider_id``\n * of the authenticated user and the user has an IdentityProviderAdmin right.\n *\n * If `identity_provider_id` is set to an empty string, then it's effectively set to the value of access token's 'iss' field if that is provided.\n * If `identity_provider_id` remains an empty string, the default identity provider will be assumed.\n *\n * The fields of request messages (and sub-messages) are marked either as ``Optional`` or ``Required``:\n *\n * 1. ``Optional`` denoting the client may leave the field unset when sending a request.\n * 2. ``Required`` denoting the client must set the field to a non-default value when sending a request.\n *\n * A party details resource is described by the ``PartyDetails`` message,\n * A party details resource, once it has been created, can be modified using the ``UpdatePartyDetails`` RPC.\n * The only fields that can be modified are those marked as ``Modifiable``.\n *\n * @generated from protobuf service com.daml.ledger.api.v2.admin.PartyManagementService\n */\nexport class PartyManagementServiceClient\n implements IPartyManagementServiceClient, ServiceInfo\n{\n typeName = PartyManagementService.typeName\n methods = PartyManagementService.methods\n options = PartyManagementService.options\n constructor(private readonly _transport: RpcTransport) {}\n /**\n * Return the identifier of the participant.\n * All horizontally scaled replicas should return the same id.\n * daml-on-kv-ledger: returns an identifier supplied on command line at launch time\n * canton: returns globally unique identifier of the participant\n *\n * @generated from protobuf rpc: GetParticipantId\n */\n getParticipantId(\n input: GetParticipantIdRequest,\n options?: RpcOptions\n ): UnaryCall<GetParticipantIdRequest, GetParticipantIdResponse> {\n const method = this.methods[0],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GetParticipantIdRequest,\n GetParticipantIdResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Get the party details of the given parties. Only known parties will be\n * returned in the list.\n *\n * @generated from protobuf rpc: GetParties\n */\n getParties(\n input: GetPartiesRequest,\n options?: RpcOptions\n ): UnaryCall<GetPartiesRequest, GetPartiesResponse> {\n const method = this.methods[1],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<GetPartiesRequest, GetPartiesResponse>(\n 'unary',\n this._transport,\n method,\n opt,\n input\n )\n }\n /**\n * List the parties known by the participant.\n * The list returned contains parties whose ledger access is facilitated by\n * the participant and the ones maintained elsewhere.\n *\n * @generated from protobuf rpc: ListKnownParties\n */\n listKnownParties(\n input: ListKnownPartiesRequest,\n options?: RpcOptions\n ): UnaryCall<ListKnownPartiesRequest, ListKnownPartiesResponse> {\n const method = this.methods[2],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n ListKnownPartiesRequest,\n ListKnownPartiesResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Allocates a new party on a ledger and adds it to the set managed by the participant.\n * Caller specifies a party identifier suggestion, the actual identifier\n * allocated might be different and is implementation specific.\n * Caller can specify party metadata that is stored locally on the participant.\n * This call may:\n *\n * - Succeed, in which case the actual allocated identifier is visible in\n * the response.\n * - Respond with a gRPC error\n *\n * daml-on-kv-ledger: suggestion's uniqueness is checked by the validators in\n * the consensus layer and call rejected if the identifier is already present.\n * canton: completely different globally unique identifier is allocated.\n * Behind the scenes calls to an internal protocol are made. As that protocol\n * is richer than the surface protocol, the arguments take implicit values\n * The party identifier suggestion must be a valid party name. Party names are required to be non-empty US-ASCII strings built from letters, digits, space,\n * colon, minus and underscore limited to 255 chars\n *\n * @generated from protobuf rpc: AllocateParty\n */\n allocateParty(\n input: AllocatePartyRequest,\n options?: RpcOptions\n ): UnaryCall<AllocatePartyRequest, AllocatePartyResponse> {\n const method = this.methods[3],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<AllocatePartyRequest, AllocatePartyResponse>(\n 'unary',\n this._transport,\n method,\n opt,\n input\n )\n }\n /**\n * Alpha 3.3: Endpoint to allocate a new external party on a synchronizer\n *\n * Expected to be stable in 3.5\n *\n * The external party must be hosted (at least) on this node with either confirmation or observation permissions\n * It can optionally be hosted on other nodes (then called a multi-hosted party).\n * If hosted on additional nodes, explicit authorization of the hosting relationship must be performed on those nodes\n * before the party can be used.\n * Decentralized namespaces are supported but must be provided fully authorized by their owners.\n * The individual owner namespace transactions can be submitted in the same call (fully authorized as well).\n * In the simple case of a non-multi hosted, non-decentralized party, the RPC will return once the party is\n * effectively allocated and ready to use, similarly to the AllocateParty behavior.\n * For more complex scenarios applications may need to query the party status explicitly (only through the admin API as of now).\n *\n * @generated from protobuf rpc: AllocateExternalParty\n */\n allocateExternalParty(\n input: AllocateExternalPartyRequest,\n options?: RpcOptions\n ): UnaryCall<AllocateExternalPartyRequest, AllocateExternalPartyResponse> {\n const method = this.methods[4],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n AllocateExternalPartyRequest,\n AllocateExternalPartyResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Update selected modifiable participant-local attributes of a party details resource.\n * Can update the participant's local information for local parties.\n *\n * @generated from protobuf rpc: UpdatePartyDetails\n */\n updatePartyDetails(\n input: UpdatePartyDetailsRequest,\n options?: RpcOptions\n ): UnaryCall<UpdatePartyDetailsRequest, UpdatePartyDetailsResponse> {\n const method = this.methods[5],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n UpdatePartyDetailsRequest,\n UpdatePartyDetailsResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Update the assignment of a party from one IDP to another.\n *\n * @generated from protobuf rpc: UpdatePartyIdentityProviderId\n */\n updatePartyIdentityProviderId(\n input: UpdatePartyIdentityProviderIdRequest,\n options?: RpcOptions\n ): UnaryCall<\n UpdatePartyIdentityProviderIdRequest,\n UpdatePartyIdentityProviderIdResponse\n > {\n const method = this.methods[6],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n UpdatePartyIdentityProviderIdRequest,\n UpdatePartyIdentityProviderIdResponse\n >('unary', this._transport, method, opt, input)\n }\n /**\n * Alpha 3.3: Convenience endpoint to generate topology transactions for external signing\n *\n * Expected to be stable in 3.5\n *\n * You may use this endpoint to generate the common external topology transactions\n * which can be signed externally and uploaded as part of the allocate party process\n *\n * Note that this request will create a normal namespace using the same key for the\n * identity as for signing. More elaborate schemes such as multi-signature\n * or decentralized parties require you to construct the topology transactions yourself.\n *\n * @generated from protobuf rpc: GenerateExternalPartyTopology\n */\n generateExternalPartyTopology(\n input: GenerateExternalPartyTopologyRequest,\n options?: RpcOptions\n ): UnaryCall<\n GenerateExternalPartyTopologyRequest,\n GenerateExternalPartyTopologyResponse\n > {\n const method = this.methods[7],\n opt = this._transport.mergeOptions(options)\n return stackIntercept<\n GenerateExternalPartyTopologyRequest,\n GenerateExternalPartyTopologyResponse\n >('unary', this._transport, method, opt, input)\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2MA,IAAa,+BAAb,MAEA;CAII,YAAY,YAA2C;EAA1B,KAAA,aAAA;EAH7B,gBAAA,MAAA,YAAW,uBAAuB,QAAA;EAClC,gBAAA,MAAA,WAAU,uBAAuB,OAAA;EACjC,gBAAA,MAAA,WAAU,uBAAuB,OAAA;CACuB;;;;;;;;;CASxD,iBACI,OACA,SAC4D;EAC5D,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAClD;;;;;;;CAOA,WACI,OACA,SACgD;EAChD,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eACH,SACA,KAAK,YACL,QACA,KACA,KACJ;CACJ;;;;;;;;CAQA,iBACI,OACA,SAC4D;EAC5D,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAClD;;;;;;;;;;;;;;;;;;;;;;CAsBA,cACI,OACA,SACsD;EACtD,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eACH,SACA,KAAK,YACL,QACA,KACA,KACJ;CACJ;;;;;;;;;;;;;;;;;;CAkBA,sBACI,OACA,SACsE;EACtE,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAClD;;;;;;;CAOA,mBACI,OACA,SACgE;EAChE,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAClD;;;;;;CAMA,8BACI,OACA,SAIF;EACE,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAClD;;;;;;;;;;;;;;;CAeA,8BACI,OACA,SAIF;EACE,MAAM,SAAS,KAAK,QAAQ,IACxB,MAAM,KAAK,WAAW,aAAa,OAAO;EAC9C,OAAO,eAGL,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;CAClD;AACJ"}