@canton-network/core-ledger-client 0.9.0 → 0.11.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 (238) hide show
  1. package/dist/constants.d.ts +0 -3
  2. package/dist/constants.d.ts.map +1 -1
  3. package/dist/constants.js +8 -8
  4. package/dist/index.d.ts +2 -10
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1 -9
  7. package/dist/ledger-api-utils.d.ts +14 -2
  8. package/dist/ledger-api-utils.d.ts.map +1 -1
  9. package/dist/ledger-api-utils.js +76 -5
  10. package/dist/ledger-client.d.ts +35 -1
  11. package/dist/ledger-client.d.ts.map +1 -1
  12. package/dist/ledger-client.js +146 -10
  13. package/dist/token-standard-service.d.ts +33 -9
  14. package/dist/token-standard-service.d.ts.map +1 -1
  15. package/dist/token-standard-service.js +284 -67
  16. package/dist/topology-write-service.d.ts +15 -3
  17. package/dist/topology-write-service.d.ts.map +1 -1
  18. package/dist/topology-write-service.js +28 -18
  19. package/dist/txparse/parser.d.ts +2 -1
  20. package/dist/txparse/parser.d.ts.map +1 -1
  21. package/dist/txparse/parser.js +22 -18
  22. package/dist/txparse/parser.test.js +3 -3
  23. package/dist/txparse/types.d.ts +9 -9
  24. package/dist/txparse/types.d.ts.map +1 -1
  25. package/package.json +6 -8
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +0 -58
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +0 -1
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +0 -34
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +0 -232
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +0 -1
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +0 -560
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +0 -144
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +0 -1
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +0 -85
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +0 -291
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +0 -1
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +0 -663
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +0 -76
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +0 -1
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +0 -96
  41. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +0 -106
  42. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +0 -1
  43. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +0 -62
  44. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +0 -199
  45. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +0 -1
  46. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +0 -427
  47. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +0 -56
  48. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +0 -1
  49. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +0 -35
  50. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +0 -81
  51. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +0 -1
  52. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +0 -135
  53. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +0 -196
  54. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +0 -1
  55. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +0 -113
  56. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +0 -413
  57. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +0 -1
  58. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +0 -867
  59. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +0 -210
  60. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +0 -1
  61. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +0 -126
  62. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +0 -758
  63. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +0 -1
  64. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +0 -1580
  65. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +0 -66
  66. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +0 -1
  67. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +0 -38
  68. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +0 -90
  69. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +0 -1
  70. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +0 -178
  71. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +0 -99
  72. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +0 -1
  73. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +0 -61
  74. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +0 -210
  75. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +0 -1
  76. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +0 -436
  77. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +0 -80
  78. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +0 -1
  79. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +0 -47
  80. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +0 -91
  81. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +0 -1
  82. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +0 -200
  83. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +0 -491
  84. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +0 -1
  85. package/dist/_proto/com/daml/ledger/api/v2/commands.js +0 -828
  86. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +0 -149
  87. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +0 -1
  88. package/dist/_proto/com/daml/ledger/api/v2/completion.js +0 -196
  89. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +0 -495
  90. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +0 -1
  91. package/dist/_proto/com/daml/ledger/api/v2/event.js +0 -723
  92. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +0 -52
  93. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +0 -1
  94. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +0 -31
  95. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +0 -150
  96. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +0 -1
  97. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +0 -291
  98. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +0 -96
  99. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +0 -1
  100. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +0 -225
  101. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +0 -43
  102. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +0 -1
  103. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +0 -85
  104. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +0 -100
  105. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +0 -1
  106. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +0 -59
  107. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +0 -877
  108. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +0 -1
  109. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +0 -1768
  110. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +0 -259
  111. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +0 -1
  112. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +0 -667
  113. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +0 -69
  114. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +0 -1
  115. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +0 -133
  116. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +0 -41
  117. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +0 -1
  118. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +0 -84
  119. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +0 -68
  120. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +0 -1
  121. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +0 -43
  122. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +0 -181
  123. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +0 -1
  124. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +0 -395
  125. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +0 -308
  126. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +0 -1
  127. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +0 -521
  128. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +0 -193
  129. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +0 -1
  130. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +0 -350
  131. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +0 -91
  132. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +0 -1
  133. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +0 -56
  134. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +0 -448
  135. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +0 -1
  136. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +0 -874
  137. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +0 -54
  138. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +0 -1
  139. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +0 -34
  140. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +0 -78
  141. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +0 -1
  142. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +0 -168
  143. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +0 -211
  144. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +0 -1
  145. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +0 -447
  146. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +0 -33
  147. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +0 -1
  148. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +0 -69
  149. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +0 -252
  150. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +0 -1
  151. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +0 -410
  152. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +0 -453
  153. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +0 -1
  154. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +0 -815
  155. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +0 -199
  156. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +0 -1
  157. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +0 -121
  158. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +0 -424
  159. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +0 -1
  160. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +0 -853
  161. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +0 -500
  162. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +0 -1
  163. package/dist/_proto/com/daml/ledger/api/v2/value.js +0 -937
  164. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +0 -40
  165. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +0 -1
  166. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +0 -25
  167. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +0 -190
  168. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +0 -1
  169. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +0 -400
  170. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +0 -1028
  171. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +0 -1
  172. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +0 -2110
  173. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +0 -30
  174. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +0 -1
  175. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +0 -62
  176. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +0 -168
  177. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +0 -1
  178. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +0 -395
  179. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +0 -1105
  180. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +0 -1
  181. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +0 -2294
  182. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +0 -278
  183. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +0 -1
  184. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +0 -654
  185. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +0 -166
  186. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +0 -1
  187. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +0 -379
  188. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +0 -199
  189. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +0 -1
  190. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +0 -136
  191. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +0 -1195
  192. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +0 -1
  193. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +0 -3342
  194. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +0 -119
  195. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +0 -1
  196. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +0 -76
  197. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +0 -607
  198. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +0 -1
  199. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +0 -1292
  200. package/dist/_proto/google/protobuf/any.d.ts +0 -177
  201. package/dist/_proto/google/protobuf/any.d.ts.map +0 -1
  202. package/dist/_proto/google/protobuf/any.js +0 -175
  203. package/dist/_proto/google/protobuf/descriptor.d.ts +0 -1638
  204. package/dist/_proto/google/protobuf/descriptor.d.ts.map +0 -1
  205. package/dist/_proto/google/protobuf/descriptor.js +0 -2999
  206. package/dist/_proto/google/protobuf/duration.d.ts +0 -114
  207. package/dist/_proto/google/protobuf/duration.d.ts.map +0 -1
  208. package/dist/_proto/google/protobuf/duration.js +0 -113
  209. package/dist/_proto/google/protobuf/empty.d.ts +0 -33
  210. package/dist/_proto/google/protobuf/empty.d.ts.map +0 -1
  211. package/dist/_proto/google/protobuf/empty.js +0 -41
  212. package/dist/_proto/google/protobuf/field_mask.d.ts +0 -240
  213. package/dist/_proto/google/protobuf/field_mask.d.ts.map +0 -1
  214. package/dist/_proto/google/protobuf/field_mask.js +0 -95
  215. package/dist/_proto/google/protobuf/struct.d.ts +0 -187
  216. package/dist/_proto/google/protobuf/struct.d.ts.map +0 -1
  217. package/dist/_proto/google/protobuf/struct.js +0 -417
  218. package/dist/_proto/google/protobuf/timestamp.d.ts +0 -159
  219. package/dist/_proto/google/protobuf/timestamp.d.ts.map +0 -1
  220. package/dist/_proto/google/protobuf/timestamp.js +0 -157
  221. package/dist/_proto/google/rpc/code.d.ts +0 -219
  222. package/dist/_proto/google/rpc/code.d.ts.map +0 -1
  223. package/dist/_proto/google/rpc/code.js +0 -237
  224. package/dist/_proto/google/rpc/context/attribute_context.d.ts +0 -594
  225. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +0 -1
  226. package/dist/_proto/google/rpc/context/attribute_context.js +0 -1007
  227. package/dist/_proto/google/rpc/context/audit_context.d.ts +0 -62
  228. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +0 -1
  229. package/dist/_proto/google/rpc/context/audit_context.js +0 -111
  230. package/dist/_proto/google/rpc/error_details.d.ts +0 -549
  231. package/dist/_proto/google/rpc/error_details.d.ts.map +0 -1
  232. package/dist/_proto/google/rpc/error_details.js +0 -918
  233. package/dist/_proto/google/rpc/status.d.ts +0 -55
  234. package/dist/_proto/google/rpc/status.d.ts.map +0 -1
  235. package/dist/_proto/google/rpc/status.js +0 -79
  236. package/dist/_proto/scalapb/scalapb.d.ts +0 -779
  237. package/dist/_proto/scalapb/scalapb.d.ts.map +0 -1
  238. package/dist/_proto/scalapb/scalapb.js +0 -1658
@@ -1,210 +0,0 @@
1
- import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
2
- import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
3
- import type { UpdateUserIdentityProviderIdResponse } from './user_management_service.js';
4
- import type { UpdateUserIdentityProviderIdRequest } from './user_management_service.js';
5
- import type { ListUserRightsResponse } from './user_management_service.js';
6
- import type { ListUserRightsRequest } from './user_management_service.js';
7
- import type { RevokeUserRightsResponse } from './user_management_service.js';
8
- import type { RevokeUserRightsRequest } from './user_management_service.js';
9
- import type { GrantUserRightsResponse } from './user_management_service.js';
10
- import type { GrantUserRightsRequest } from './user_management_service.js';
11
- import type { ListUsersResponse } from './user_management_service.js';
12
- import type { ListUsersRequest } from './user_management_service.js';
13
- import type { DeleteUserResponse } from './user_management_service.js';
14
- import type { DeleteUserRequest } from './user_management_service.js';
15
- import type { UpdateUserResponse } from './user_management_service.js';
16
- import type { UpdateUserRequest } from './user_management_service.js';
17
- import type { GetUserResponse } from './user_management_service.js';
18
- import type { GetUserRequest } from './user_management_service.js';
19
- import type { CreateUserResponse } from './user_management_service.js';
20
- import type { CreateUserRequest } from './user_management_service.js';
21
- import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
22
- import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
23
- /**
24
- * Service to manage users and their rights for interacting with the Ledger API
25
- * served by a participant node.
26
- *
27
- * The authorization rules for its RPCs are specified on the ``<RpcName>Request``
28
- * messages as boolean expressions over these facts:
29
- *
30
- * 1. ``HasRight(r)`` denoting whether the authenticated user has right ``r`` and
31
- * 2. ``IsAuthenticatedUser(uid)`` denoting whether ``uid`` is the empty string or equal to the id of the authenticated user.
32
- * 3. ``IsAuthenticatedIdentityProviderAdmin(idp)`` denoting whether ``idp`` is equal to the ``identity_provider_id``
33
- * of the authenticated user and the user has an IdentityProviderAdmin right.
34
- *
35
- * If `user_id` is set to the empty string (the default), then the data for the authenticated user will be retrieved.
36
- * 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.
37
- * If `identity_provider_id` remains an empty string, the default identity provider will be assumed.
38
- *
39
- * The fields of request messages (and sub-messages) are marked either as ``Optional`` or ``Required``:
40
- *
41
- * 1. ``Optional`` denoting the client may leave the field unset when sending a request.
42
- * 2. ``Required`` denoting the client must set the field to a non-default value when sending a request.
43
- *
44
- * A user resource consists of:
45
- *
46
- * 1. a set of properties represented by the ``User`` message,
47
- * 2. a set of user rights, where each right is represented by the ``Right`` message.
48
- *
49
- * A user resource, once it has been created, can be modified.
50
- * In order to update the properties represented by the ``User`` message use the ``UpdateUser`` RPC. The only fields that can be modified are those marked as ``Modifiable``.
51
- * In order to grant or revoke user rights use ``GrantRights' and ``RevokeRights`` RPCs.
52
- *
53
- * @generated from protobuf service com.daml.ledger.api.v2.admin.UserManagementService
54
- */
55
- export interface IUserManagementServiceClient {
56
- /**
57
- * Create a new user.
58
- *
59
- * @generated from protobuf rpc: CreateUser
60
- */
61
- createUser(input: CreateUserRequest, options?: RpcOptions): UnaryCall<CreateUserRequest, CreateUserResponse>;
62
- /**
63
- * Get the user data of a specific user or the authenticated user.
64
- *
65
- * @generated from protobuf rpc: GetUser
66
- */
67
- getUser(input: GetUserRequest, options?: RpcOptions): UnaryCall<GetUserRequest, GetUserResponse>;
68
- /**
69
- * Update selected modifiable attribute of a user resource described by the ``User`` message.
70
- *
71
- * @generated from protobuf rpc: UpdateUser
72
- */
73
- updateUser(input: UpdateUserRequest, options?: RpcOptions): UnaryCall<UpdateUserRequest, UpdateUserResponse>;
74
- /**
75
- * Delete an existing user and all its rights.
76
- *
77
- * @generated from protobuf rpc: DeleteUser
78
- */
79
- deleteUser(input: DeleteUserRequest, options?: RpcOptions): UnaryCall<DeleteUserRequest, DeleteUserResponse>;
80
- /**
81
- * List all existing users.
82
- *
83
- * @generated from protobuf rpc: ListUsers
84
- */
85
- listUsers(input: ListUsersRequest, options?: RpcOptions): UnaryCall<ListUsersRequest, ListUsersResponse>;
86
- /**
87
- * Grant rights to a user.
88
- * Granting rights does not affect the resource version of the corresponding user.
89
- *
90
- * @generated from protobuf rpc: GrantUserRights
91
- */
92
- grantUserRights(input: GrantUserRightsRequest, options?: RpcOptions): UnaryCall<GrantUserRightsRequest, GrantUserRightsResponse>;
93
- /**
94
- * Revoke rights from a user.
95
- * Revoking rights does not affect the resource version of the corresponding user.
96
- *
97
- * @generated from protobuf rpc: RevokeUserRights
98
- */
99
- revokeUserRights(input: RevokeUserRightsRequest, options?: RpcOptions): UnaryCall<RevokeUserRightsRequest, RevokeUserRightsResponse>;
100
- /**
101
- * List the set of all rights granted to a user.
102
- *
103
- * @generated from protobuf rpc: ListUserRights
104
- */
105
- listUserRights(input: ListUserRightsRequest, options?: RpcOptions): UnaryCall<ListUserRightsRequest, ListUserRightsResponse>;
106
- /**
107
- * Update the assignment of a user from one IDP to another.
108
- *
109
- * @generated from protobuf rpc: UpdateUserIdentityProviderId
110
- */
111
- updateUserIdentityProviderId(input: UpdateUserIdentityProviderIdRequest, options?: RpcOptions): UnaryCall<UpdateUserIdentityProviderIdRequest, UpdateUserIdentityProviderIdResponse>;
112
- }
113
- /**
114
- * Service to manage users and their rights for interacting with the Ledger API
115
- * served by a participant node.
116
- *
117
- * The authorization rules for its RPCs are specified on the ``<RpcName>Request``
118
- * messages as boolean expressions over these facts:
119
- *
120
- * 1. ``HasRight(r)`` denoting whether the authenticated user has right ``r`` and
121
- * 2. ``IsAuthenticatedUser(uid)`` denoting whether ``uid`` is the empty string or equal to the id of the authenticated user.
122
- * 3. ``IsAuthenticatedIdentityProviderAdmin(idp)`` denoting whether ``idp`` is equal to the ``identity_provider_id``
123
- * of the authenticated user and the user has an IdentityProviderAdmin right.
124
- *
125
- * If `user_id` is set to the empty string (the default), then the data for the authenticated user will be retrieved.
126
- * 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.
127
- * If `identity_provider_id` remains an empty string, the default identity provider will be assumed.
128
- *
129
- * The fields of request messages (and sub-messages) are marked either as ``Optional`` or ``Required``:
130
- *
131
- * 1. ``Optional`` denoting the client may leave the field unset when sending a request.
132
- * 2. ``Required`` denoting the client must set the field to a non-default value when sending a request.
133
- *
134
- * A user resource consists of:
135
- *
136
- * 1. a set of properties represented by the ``User`` message,
137
- * 2. a set of user rights, where each right is represented by the ``Right`` message.
138
- *
139
- * A user resource, once it has been created, can be modified.
140
- * In order to update the properties represented by the ``User`` message use the ``UpdateUser`` RPC. The only fields that can be modified are those marked as ``Modifiable``.
141
- * In order to grant or revoke user rights use ``GrantRights' and ``RevokeRights`` RPCs.
142
- *
143
- * @generated from protobuf service com.daml.ledger.api.v2.admin.UserManagementService
144
- */
145
- export declare class UserManagementServiceClient implements IUserManagementServiceClient, ServiceInfo {
146
- private readonly _transport;
147
- typeName: string;
148
- methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
149
- options: {
150
- [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
151
- };
152
- constructor(_transport: RpcTransport);
153
- /**
154
- * Create a new user.
155
- *
156
- * @generated from protobuf rpc: CreateUser
157
- */
158
- createUser(input: CreateUserRequest, options?: RpcOptions): UnaryCall<CreateUserRequest, CreateUserResponse>;
159
- /**
160
- * Get the user data of a specific user or the authenticated user.
161
- *
162
- * @generated from protobuf rpc: GetUser
163
- */
164
- getUser(input: GetUserRequest, options?: RpcOptions): UnaryCall<GetUserRequest, GetUserResponse>;
165
- /**
166
- * Update selected modifiable attribute of a user resource described by the ``User`` message.
167
- *
168
- * @generated from protobuf rpc: UpdateUser
169
- */
170
- updateUser(input: UpdateUserRequest, options?: RpcOptions): UnaryCall<UpdateUserRequest, UpdateUserResponse>;
171
- /**
172
- * Delete an existing user and all its rights.
173
- *
174
- * @generated from protobuf rpc: DeleteUser
175
- */
176
- deleteUser(input: DeleteUserRequest, options?: RpcOptions): UnaryCall<DeleteUserRequest, DeleteUserResponse>;
177
- /**
178
- * List all existing users.
179
- *
180
- * @generated from protobuf rpc: ListUsers
181
- */
182
- listUsers(input: ListUsersRequest, options?: RpcOptions): UnaryCall<ListUsersRequest, ListUsersResponse>;
183
- /**
184
- * Grant rights to a user.
185
- * Granting rights does not affect the resource version of the corresponding user.
186
- *
187
- * @generated from protobuf rpc: GrantUserRights
188
- */
189
- grantUserRights(input: GrantUserRightsRequest, options?: RpcOptions): UnaryCall<GrantUserRightsRequest, GrantUserRightsResponse>;
190
- /**
191
- * Revoke rights from a user.
192
- * Revoking rights does not affect the resource version of the corresponding user.
193
- *
194
- * @generated from protobuf rpc: RevokeUserRights
195
- */
196
- revokeUserRights(input: RevokeUserRightsRequest, options?: RpcOptions): UnaryCall<RevokeUserRightsRequest, RevokeUserRightsResponse>;
197
- /**
198
- * List the set of all rights granted to a user.
199
- *
200
- * @generated from protobuf rpc: ListUserRights
201
- */
202
- listUserRights(input: ListUserRightsRequest, options?: RpcOptions): UnaryCall<ListUserRightsRequest, ListUserRightsResponse>;
203
- /**
204
- * Update the assignment of a user from one IDP to another.
205
- *
206
- * @generated from protobuf rpc: UpdateUserIdentityProviderId
207
- */
208
- updateUserIdentityProviderId(input: UpdateUserIdentityProviderIdRequest, options?: RpcOptions): UnaryCall<UpdateUserIdentityProviderIdRequest, UpdateUserIdentityProviderIdResponse>;
209
- }
210
- //# sourceMappingURL=user_management_service.client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user_management_service.client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAE3D,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,8BAA8B,CAAA;AACxF,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAA;AACvF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAA;AAC5E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAC3E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAC3E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AACtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AACtE,OAAO,KAAK,EAAE,iBAAi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B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,gBAAgB,EAAE,iBAAiB,CAAC;IAWjD;;;;;OAKG;IACH,eAAe,CACX,KAAK,EAAE,sBAAsB,EAC7B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,sBAAsB,EAAE,uBAAuB,CAAC;IAW7D;;;;;OAKG;IACH,gBAAgB,CACZ,KAAK,EAAE,uBAAuB,EAC9B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;IAQ/D;;;;OAIG;IACH,cAAc,CACV,KAAK,EAAE,qBAAqB,EAC5B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,qBAAqB,EAAE,sBAAsB,CAAC;IAW3D;;;;OAIG;IACH,4BAA4B,CACxB,KAAK,EAAE,mCAAmC,EAC1C,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CACR,mCAAmC,EACnC,oCAAoC,CACvC;CAQJ"}
@@ -1,126 +0,0 @@
1
- import { UserManagementService } from './user_management_service.js';
2
- import { stackIntercept } from '@protobuf-ts/runtime-rpc';
3
- /**
4
- * Service to manage users and their rights for interacting with the Ledger API
5
- * served by a participant node.
6
- *
7
- * The authorization rules for its RPCs are specified on the ``<RpcName>Request``
8
- * messages as boolean expressions over these facts:
9
- *
10
- * 1. ``HasRight(r)`` denoting whether the authenticated user has right ``r`` and
11
- * 2. ``IsAuthenticatedUser(uid)`` denoting whether ``uid`` is the empty string or equal to the id of the authenticated user.
12
- * 3. ``IsAuthenticatedIdentityProviderAdmin(idp)`` denoting whether ``idp`` is equal to the ``identity_provider_id``
13
- * of the authenticated user and the user has an IdentityProviderAdmin right.
14
- *
15
- * If `user_id` is set to the empty string (the default), then the data for the authenticated user will be retrieved.
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 user resource consists of:
25
- *
26
- * 1. a set of properties represented by the ``User`` message,
27
- * 2. a set of user rights, where each right is represented by the ``Right`` message.
28
- *
29
- * A user resource, once it has been created, can be modified.
30
- * In order to update the properties represented by the ``User`` message use the ``UpdateUser`` RPC. The only fields that can be modified are those marked as ``Modifiable``.
31
- * In order to grant or revoke user rights use ``GrantRights' and ``RevokeRights`` RPCs.
32
- *
33
- * @generated from protobuf service com.daml.ledger.api.v2.admin.UserManagementService
34
- */
35
- export class UserManagementServiceClient {
36
- _transport;
37
- typeName = UserManagementService.typeName;
38
- methods = UserManagementService.methods;
39
- options = UserManagementService.options;
40
- constructor(_transport) {
41
- this._transport = _transport;
42
- }
43
- /**
44
- * Create a new user.
45
- *
46
- * @generated from protobuf rpc: CreateUser
47
- */
48
- createUser(input, options) {
49
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
50
- return stackIntercept('unary', this._transport, method, opt, input);
51
- }
52
- /**
53
- * Get the user data of a specific user or the authenticated user.
54
- *
55
- * @generated from protobuf rpc: GetUser
56
- */
57
- getUser(input, options) {
58
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
59
- return stackIntercept('unary', this._transport, method, opt, input);
60
- }
61
- /**
62
- * Update selected modifiable attribute of a user resource described by the ``User`` message.
63
- *
64
- * @generated from protobuf rpc: UpdateUser
65
- */
66
- updateUser(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
- * Delete an existing user and all its rights.
72
- *
73
- * @generated from protobuf rpc: DeleteUser
74
- */
75
- deleteUser(input, options) {
76
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
77
- return stackIntercept('unary', this._transport, method, opt, input);
78
- }
79
- /**
80
- * List all existing users.
81
- *
82
- * @generated from protobuf rpc: ListUsers
83
- */
84
- listUsers(input, options) {
85
- const method = this.methods[4], opt = this._transport.mergeOptions(options);
86
- return stackIntercept('unary', this._transport, method, opt, input);
87
- }
88
- /**
89
- * Grant rights to a user.
90
- * Granting rights does not affect the resource version of the corresponding user.
91
- *
92
- * @generated from protobuf rpc: GrantUserRights
93
- */
94
- grantUserRights(input, options) {
95
- const method = this.methods[5], opt = this._transport.mergeOptions(options);
96
- return stackIntercept('unary', this._transport, method, opt, input);
97
- }
98
- /**
99
- * Revoke rights from a user.
100
- * Revoking rights does not affect the resource version of the corresponding user.
101
- *
102
- * @generated from protobuf rpc: RevokeUserRights
103
- */
104
- revokeUserRights(input, options) {
105
- const method = this.methods[6], opt = this._transport.mergeOptions(options);
106
- return stackIntercept('unary', this._transport, method, opt, input);
107
- }
108
- /**
109
- * List the set of all rights granted to a user.
110
- *
111
- * @generated from protobuf rpc: ListUserRights
112
- */
113
- listUserRights(input, options) {
114
- const method = this.methods[7], opt = this._transport.mergeOptions(options);
115
- return stackIntercept('unary', this._transport, method, opt, input);
116
- }
117
- /**
118
- * Update the assignment of a user from one IDP to another.
119
- *
120
- * @generated from protobuf rpc: UpdateUserIdentityProviderId
121
- */
122
- updateUserIdentityProviderId(input, options) {
123
- const method = this.methods[8], opt = this._transport.mergeOptions(options);
124
- return stackIntercept('unary', this._transport, method, opt, input);
125
- }
126
- }