@canton-network/core-ledger-proto 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +58 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +34 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +232 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +560 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +144 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +85 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +291 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +663 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +76 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +96 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +106 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +62 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +199 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +427 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +56 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +35 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +81 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +135 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +196 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +113 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +413 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +867 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +210 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +126 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +758 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +1580 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +66 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +38 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +90 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +178 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +99 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +61 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +210 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.js +436 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +80 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +47 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +91 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +200 -0
- package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +491 -0
- package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/commands.js +828 -0
- package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +149 -0
- package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/completion.js +196 -0
- package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +495 -0
- package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/event.js +723 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +52 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +31 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +150 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +291 -0
- package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +96 -0
- package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +225 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +43 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +85 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +100 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +59 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +877 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +1768 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +259 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +667 -0
- package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +69 -0
- package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +133 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +41 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +84 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +68 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +43 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +181 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.js +395 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +308 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +521 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +193 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +350 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +91 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +56 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +448 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.js +874 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +54 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +34 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +78 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +168 -0
- package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +211 -0
- package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +447 -0
- package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +33 -0
- package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +69 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +252 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction.js +410 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +453 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +815 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +199 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +121 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +424 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.js +853 -0
- package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +500 -0
- package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/value.js +937 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +40 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +25 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +190 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.js +400 -0
- package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +1028 -0
- package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +2110 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +30 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +62 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +168 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +395 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +1105 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +2294 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +278 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +654 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +166 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +379 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +199 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +136 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +1195 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +3342 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +119 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +76 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +607 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +1292 -0
- package/dist/_proto/google/protobuf/any.d.ts +177 -0
- package/dist/_proto/google/protobuf/any.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/any.js +175 -0
- package/dist/_proto/google/protobuf/descriptor.d.ts +1638 -0
- package/dist/_proto/google/protobuf/descriptor.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/descriptor.js +2999 -0
- package/dist/_proto/google/protobuf/duration.d.ts +114 -0
- package/dist/_proto/google/protobuf/duration.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/duration.js +113 -0
- package/dist/_proto/google/protobuf/empty.d.ts +33 -0
- package/dist/_proto/google/protobuf/empty.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/empty.js +41 -0
- package/dist/_proto/google/protobuf/field_mask.d.ts +240 -0
- package/dist/_proto/google/protobuf/field_mask.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/field_mask.js +95 -0
- package/dist/_proto/google/protobuf/struct.d.ts +187 -0
- package/dist/_proto/google/protobuf/struct.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/struct.js +417 -0
- package/dist/_proto/google/protobuf/timestamp.d.ts +159 -0
- package/dist/_proto/google/protobuf/timestamp.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/timestamp.js +157 -0
- package/dist/_proto/google/rpc/code.d.ts +219 -0
- package/dist/_proto/google/rpc/code.d.ts.map +1 -0
- package/dist/_proto/google/rpc/code.js +237 -0
- package/dist/_proto/google/rpc/context/attribute_context.d.ts +594 -0
- package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +1 -0
- package/dist/_proto/google/rpc/context/attribute_context.js +1007 -0
- package/dist/_proto/google/rpc/context/audit_context.d.ts +62 -0
- package/dist/_proto/google/rpc/context/audit_context.d.ts.map +1 -0
- package/dist/_proto/google/rpc/context/audit_context.js +111 -0
- package/dist/_proto/google/rpc/error_details.d.ts +549 -0
- package/dist/_proto/google/rpc/error_details.d.ts.map +1 -0
- package/dist/_proto/google/rpc/error_details.js +918 -0
- package/dist/_proto/google/rpc/status.d.ts +55 -0
- package/dist/_proto/google/rpc/status.d.ts.map +1 -0
- package/dist/_proto/google/rpc/status.js +79 -0
- package/dist/_proto/scalapb/scalapb.d.ts +779 -0
- package/dist/_proto/scalapb/scalapb.d.ts.map +1 -0
- package/dist/_proto/scalapb/scalapb.js +1658 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/package.json +29 -0
|
@@ -0,0 +1,210 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,K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,GACrB,SAAS,CACR,mCAAmC,EACnC,oCAAoC,CACvC;CAQJ"}
|
|
@@ -0,0 +1,126 @@
|
|
|
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
|
+
}
|