@canton-network/core-ledger-client 0.8.0 → 0.10.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 (231) hide show
  1. package/dist/generated-clients/openapi-3.4.0-SNAPSHOT.d.ts +5563 -0
  2. package/dist/generated-clients/openapi-3.4.0-SNAPSHOT.d.ts.map +1 -0
  3. package/dist/generated-clients/openapi-3.4.0-SNAPSHOT.js +5 -0
  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-client.d.ts +22 -12
  8. package/dist/ledger-client.d.ts.map +1 -1
  9. package/dist/ledger-client.js +68 -24
  10. package/dist/token-standard-service.d.ts +8 -0
  11. package/dist/token-standard-service.d.ts.map +1 -1
  12. package/dist/token-standard-service.js +28 -0
  13. package/dist/txparse/parser.d.ts.map +1 -1
  14. package/dist/txparse/parser.js +7 -4
  15. package/dist/txparse/parser.test.js +2 -1
  16. package/dist/txparse/types.d.ts +9 -9
  17. package/dist/txparse/types.d.ts.map +1 -1
  18. package/package.json +5 -5
  19. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +0 -58
  20. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +0 -1
  21. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +0 -34
  22. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +0 -232
  23. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +0 -1
  24. package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +0 -560
  25. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +0 -144
  26. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +0 -1
  27. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +0 -85
  28. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +0 -291
  29. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +0 -1
  30. package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +0 -663
  31. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +0 -76
  32. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +0 -1
  33. package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +0 -96
  34. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +0 -106
  35. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +0 -1
  36. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +0 -62
  37. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +0 -199
  38. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +0 -1
  39. package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +0 -427
  40. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +0 -56
  41. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +0 -1
  42. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +0 -35
  43. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +0 -81
  44. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +0 -1
  45. package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +0 -135
  46. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +0 -196
  47. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +0 -1
  48. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +0 -113
  49. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +0 -413
  50. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +0 -1
  51. package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +0 -867
  52. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +0 -210
  53. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +0 -1
  54. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +0 -126
  55. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +0 -758
  56. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +0 -1
  57. package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +0 -1580
  58. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +0 -66
  59. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +0 -1
  60. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +0 -38
  61. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +0 -90
  62. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +0 -1
  63. package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +0 -178
  64. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +0 -99
  65. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +0 -1
  66. package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +0 -61
  67. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +0 -210
  68. package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +0 -1
  69. package/dist/_proto/com/daml/ledger/api/v2/command_service.js +0 -436
  70. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +0 -80
  71. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +0 -1
  72. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +0 -47
  73. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +0 -91
  74. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +0 -1
  75. package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +0 -200
  76. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +0 -491
  77. package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +0 -1
  78. package/dist/_proto/com/daml/ledger/api/v2/commands.js +0 -828
  79. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +0 -149
  80. package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +0 -1
  81. package/dist/_proto/com/daml/ledger/api/v2/completion.js +0 -196
  82. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +0 -495
  83. package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +0 -1
  84. package/dist/_proto/com/daml/ledger/api/v2/event.js +0 -723
  85. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +0 -52
  86. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +0 -1
  87. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +0 -31
  88. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +0 -150
  89. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +0 -1
  90. package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +0 -291
  91. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +0 -96
  92. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +0 -1
  93. package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +0 -225
  94. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +0 -43
  95. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +0 -1
  96. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +0 -85
  97. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +0 -100
  98. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +0 -1
  99. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +0 -59
  100. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +0 -877
  101. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +0 -1
  102. package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +0 -1768
  103. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +0 -259
  104. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +0 -1
  105. package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +0 -667
  106. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +0 -69
  107. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +0 -1
  108. package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +0 -133
  109. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +0 -41
  110. package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +0 -1
  111. package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +0 -84
  112. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +0 -68
  113. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +0 -1
  114. package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +0 -43
  115. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +0 -181
  116. package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +0 -1
  117. package/dist/_proto/com/daml/ledger/api/v2/package_service.js +0 -395
  118. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +0 -308
  119. package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +0 -1
  120. package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +0 -521
  121. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +0 -193
  122. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +0 -1
  123. package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +0 -350
  124. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +0 -91
  125. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +0 -1
  126. package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +0 -56
  127. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +0 -448
  128. package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +0 -1
  129. package/dist/_proto/com/daml/ledger/api/v2/state_service.js +0 -874
  130. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +0 -54
  131. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +0 -1
  132. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +0 -34
  133. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +0 -78
  134. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +0 -1
  135. package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +0 -168
  136. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +0 -211
  137. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +0 -1
  138. package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +0 -447
  139. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +0 -33
  140. package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +0 -1
  141. package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +0 -69
  142. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +0 -252
  143. package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +0 -1
  144. package/dist/_proto/com/daml/ledger/api/v2/transaction.js +0 -410
  145. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +0 -453
  146. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +0 -1
  147. package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +0 -815
  148. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +0 -199
  149. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +0 -1
  150. package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +0 -121
  151. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +0 -424
  152. package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +0 -1
  153. package/dist/_proto/com/daml/ledger/api/v2/update_service.js +0 -853
  154. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +0 -500
  155. package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +0 -1
  156. package/dist/_proto/com/daml/ledger/api/v2/value.js +0 -937
  157. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +0 -40
  158. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +0 -1
  159. package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +0 -25
  160. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +0 -190
  161. package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +0 -1
  162. package/dist/_proto/com/daml/ledger/api/v2/version_service.js +0 -400
  163. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +0 -1028
  164. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +0 -1
  165. package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +0 -2110
  166. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +0 -30
  167. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +0 -1
  168. package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +0 -62
  169. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +0 -168
  170. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +0 -1
  171. package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +0 -395
  172. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +0 -1105
  173. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +0 -1
  174. package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +0 -2294
  175. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +0 -278
  176. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +0 -1
  177. package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +0 -654
  178. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +0 -166
  179. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +0 -1
  180. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +0 -379
  181. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +0 -199
  182. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +0 -1
  183. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +0 -136
  184. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +0 -1195
  185. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +0 -1
  186. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +0 -3342
  187. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +0 -119
  188. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +0 -1
  189. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +0 -76
  190. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +0 -607
  191. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +0 -1
  192. package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +0 -1292
  193. package/dist/_proto/google/protobuf/any.d.ts +0 -177
  194. package/dist/_proto/google/protobuf/any.d.ts.map +0 -1
  195. package/dist/_proto/google/protobuf/any.js +0 -175
  196. package/dist/_proto/google/protobuf/descriptor.d.ts +0 -1638
  197. package/dist/_proto/google/protobuf/descriptor.d.ts.map +0 -1
  198. package/dist/_proto/google/protobuf/descriptor.js +0 -2999
  199. package/dist/_proto/google/protobuf/duration.d.ts +0 -114
  200. package/dist/_proto/google/protobuf/duration.d.ts.map +0 -1
  201. package/dist/_proto/google/protobuf/duration.js +0 -113
  202. package/dist/_proto/google/protobuf/empty.d.ts +0 -33
  203. package/dist/_proto/google/protobuf/empty.d.ts.map +0 -1
  204. package/dist/_proto/google/protobuf/empty.js +0 -41
  205. package/dist/_proto/google/protobuf/field_mask.d.ts +0 -240
  206. package/dist/_proto/google/protobuf/field_mask.d.ts.map +0 -1
  207. package/dist/_proto/google/protobuf/field_mask.js +0 -95
  208. package/dist/_proto/google/protobuf/struct.d.ts +0 -187
  209. package/dist/_proto/google/protobuf/struct.d.ts.map +0 -1
  210. package/dist/_proto/google/protobuf/struct.js +0 -417
  211. package/dist/_proto/google/protobuf/timestamp.d.ts +0 -159
  212. package/dist/_proto/google/protobuf/timestamp.d.ts.map +0 -1
  213. package/dist/_proto/google/protobuf/timestamp.js +0 -157
  214. package/dist/_proto/google/rpc/code.d.ts +0 -219
  215. package/dist/_proto/google/rpc/code.d.ts.map +0 -1
  216. package/dist/_proto/google/rpc/code.js +0 -237
  217. package/dist/_proto/google/rpc/context/attribute_context.d.ts +0 -594
  218. package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +0 -1
  219. package/dist/_proto/google/rpc/context/attribute_context.js +0 -1007
  220. package/dist/_proto/google/rpc/context/audit_context.d.ts +0 -62
  221. package/dist/_proto/google/rpc/context/audit_context.d.ts.map +0 -1
  222. package/dist/_proto/google/rpc/context/audit_context.js +0 -111
  223. package/dist/_proto/google/rpc/error_details.d.ts +0 -549
  224. package/dist/_proto/google/rpc/error_details.d.ts.map +0 -1
  225. package/dist/_proto/google/rpc/error_details.js +0 -918
  226. package/dist/_proto/google/rpc/status.d.ts +0 -55
  227. package/dist/_proto/google/rpc/status.d.ts.map +0 -1
  228. package/dist/_proto/google/rpc/status.js +0 -79
  229. package/dist/_proto/scalapb/scalapb.d.ts +0 -779
  230. package/dist/_proto/scalapb/scalapb.d.ts.map +0 -1
  231. 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,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B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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
- }