@meshtrade/api-web 1.40.0 → 1.42.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/dist/meshtrade/compliance/client/v1/service_pb.d.ts +34 -2
- package/dist/meshtrade/compliance/client/v1/service_pb.js +9 -4
- package/dist/meshtrade/compliance/client/v1/service_web_meshts.d.ts +7 -1
- package/dist/meshtrade/compliance/client/v1/service_web_meshts.js +17 -0
- package/dist/meshtrade/iam/role/v1/role.js +2 -0
- package/dist/meshtrade/iam/role/v1/role_pb.d.ts +8 -0
- package/dist/meshtrade/iam/role/v1/role_pb.js +9 -1
- package/dist/meshtrade/iam/user/v1/service_pb.d.ts +0 -77
- package/dist/meshtrade/iam/user/v1/service_pb.js +4 -19
- package/dist/meshtrade/iam/user/v1/service_web_meshts.d.ts +1 -7
- package/dist/meshtrade/iam/user/v1/service_web_meshts.js +0 -17
- package/dist/meshtrade/iam/user/v1/user_pb.d.ts +45 -1
- package/dist/meshtrade/iam/user/v1/user_pb.js +7 -2
- package/dist/meshtrade/iam/user_profile/index.d.ts +1 -0
- package/dist/meshtrade/iam/user_profile/index.js +17 -0
- package/dist/meshtrade/iam/user_profile/v1/index.d.ts +3 -0
- package/dist/meshtrade/iam/user_profile/v1/index.js +44 -0
- package/dist/meshtrade/iam/user_profile/v1/service_pb.d.ts +197 -0
- package/dist/meshtrade/iam/user_profile/v1/service_pb.js +50 -0
- package/dist/meshtrade/iam/user_profile/v1/service_web_meshts.d.ts +109 -0
- package/dist/meshtrade/iam/user_profile/v1/service_web_meshts.js +202 -0
- package/dist/meshtrade/iam/user_profile/v1/user_profile_pb.d.ts +106 -0
- package/dist/meshtrade/iam/user_profile/v1/user_profile_pb.js +18 -0
- package/dist/meshtrade/option/method_options/v1/method_options_pb.d.ts +36 -0
- package/dist/meshtrade/option/method_options/v1/method_options_pb.js +30 -2
- package/dist/meshtrade/trading/limit_order/v1/service_pb.js +1 -1
- package/dist/meshtrade/wallet/account/v1/service_pb.js +1 -1
- package/package.json +17 -1
|
@@ -6,7 +6,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_meshtrade_compliance_client_v1_service: GenFile;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* GetClientRequest is the message used to request a single client resource.
|
|
10
10
|
*
|
|
11
11
|
* @generated from message meshtrade.compliance.client.v1.GetClientRequest
|
|
12
12
|
*/
|
|
@@ -26,7 +26,7 @@ export type GetClientRequest = Message<"meshtrade.compliance.client.v1.GetClient
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const GetClientRequestSchema: GenMessage<GetClientRequest>;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* CreateClientRequest is the message used to create a single client resource.
|
|
30
30
|
*
|
|
31
31
|
* @generated from message meshtrade.compliance.client.v1.CreateClientRequest
|
|
32
32
|
*/
|
|
@@ -43,6 +43,25 @@ export type CreateClientRequest = Message<"meshtrade.compliance.client.v1.Create
|
|
|
43
43
|
* Use `create(CreateClientRequestSchema)` to create a new message.
|
|
44
44
|
*/
|
|
45
45
|
export declare const CreateClientRequestSchema: GenMessage<CreateClientRequest>;
|
|
46
|
+
/**
|
|
47
|
+
* GetGroupClientRequest is the message used to request a client resource by its owning group.
|
|
48
|
+
*
|
|
49
|
+
* @generated from message meshtrade.compliance.client.v1.GetGroupClientRequest
|
|
50
|
+
*/
|
|
51
|
+
export type GetGroupClientRequest = Message<"meshtrade.compliance.client.v1.GetGroupClientRequest"> & {
|
|
52
|
+
/**
|
|
53
|
+
* The resource name of the group whose client is to be retrieved.
|
|
54
|
+
* Format: "groups/{group_id}"
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: string group = 1;
|
|
57
|
+
*/
|
|
58
|
+
group: string;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message meshtrade.compliance.client.v1.GetGroupClientRequest.
|
|
62
|
+
* Use `create(GetGroupClientRequestSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export declare const GetGroupClientRequestSchema: GenMessage<GetGroupClientRequest>;
|
|
46
65
|
/**
|
|
47
66
|
* ListClientsRequest is the message used to request a list of client resources.
|
|
48
67
|
*
|
|
@@ -107,6 +126,19 @@ export declare const ClientService: GenService<{
|
|
|
107
126
|
input: typeof GetClientRequestSchema;
|
|
108
127
|
output: typeof ClientSchema;
|
|
109
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* GetGroupClient retrieves the client compliance profile associated with a specific group.
|
|
131
|
+
*
|
|
132
|
+
* This allows fetching the compliance details of the client that is owned by
|
|
133
|
+
* the specified group, using the group's resource name as the lookup key.
|
|
134
|
+
*
|
|
135
|
+
* @generated from rpc meshtrade.compliance.client.v1.ClientService.GetGroupClient
|
|
136
|
+
*/
|
|
137
|
+
getGroupClient: {
|
|
138
|
+
methodKind: "unary";
|
|
139
|
+
input: typeof GetGroupClientRequestSchema;
|
|
140
|
+
output: typeof ClientSchema;
|
|
141
|
+
};
|
|
110
142
|
/**
|
|
111
143
|
* ListClients retrieves a collection of client compliance profiles.
|
|
112
144
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// @generated from file meshtrade/compliance/client/v1/service.proto (package meshtrade.compliance.client.v1, syntax proto3)
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ClientService = exports.ListClientsResponseSchema = exports.ListClientsRequestSchema = exports.CreateClientRequestSchema = exports.GetClientRequestSchema = exports.file_meshtrade_compliance_client_v1_service = void 0;
|
|
6
|
+
exports.ClientService = exports.ListClientsResponseSchema = exports.ListClientsRequestSchema = exports.GetGroupClientRequestSchema = exports.CreateClientRequestSchema = exports.GetClientRequestSchema = exports.file_meshtrade_compliance_client_v1_service = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
8
|
const validate_pb_1 = require("../../../../buf/validate/validate_pb");
|
|
9
9
|
const client_pb_1 = require("./client_pb");
|
|
@@ -11,7 +11,7 @@ const method_options_pb_1 = require("../../../option/method_options/v1/method_op
|
|
|
11
11
|
/**
|
|
12
12
|
* Describes the file meshtrade/compliance/client/v1/service.proto.
|
|
13
13
|
*/
|
|
14
|
-
exports.file_meshtrade_compliance_client_v1_service = (0, codegenv2_1.fileDesc)("
|
|
14
|
+
exports.file_meshtrade_compliance_client_v1_service = (0, codegenv2_1.fileDesc)("CixtZXNodHJhZGUvY29tcGxpYW5jZS9jbGllbnQvdjEvc2VydmljZS5wcm90bxIebWVzaHRyYWRlLmNvbXBsaWFuY2UuY2xpZW50LnYxIl8KEEdldENsaWVudFJlcXVlc3QSSwoEbmFtZRgBIAEoCUI9ukg6yAEBcjUyMF5jbGllbnRzL1swMTIzNDU2Nzg5QUJDREVGR0hKS01OUFFSU1RWV1hZWl17MjZ9JJgBISJVChNDcmVhdGVDbGllbnRSZXF1ZXN0Ej4KBmNsaWVudBgBIAEoCzImLm1lc2h0cmFkZS5jb21wbGlhbmNlLmNsaWVudC52MS5DbGllbnRCBrpIA8gBASJkChVHZXRHcm91cENsaWVudFJlcXVlc3QSSwoFZ3JvdXAYASABKAlCPLpIOcgBAXI0Mi9eZ3JvdXBzL1swMTIzNDU2Nzg5QUJDREVGR0hKS01OUFFSU1RWV1hZWl17MjZ9JJgBISIUChJMaXN0Q2xpZW50c1JlcXVlc3QiTgoTTGlzdENsaWVudHNSZXNwb25zZRI3CgdjbGllbnRzGAEgAygLMiYubWVzaHRyYWRlLmNvbXBsaWFuY2UuY2xpZW50LnYxLkNsaWVudDKoBAoNQ2xpZW50U2VydmljZRJ9CgxDcmVhdGVDbGllbnQSMy5tZXNodHJhZGUuY29tcGxpYW5jZS5jbGllbnQudjEuQ3JlYXRlQ2xpZW50UmVxdWVzdBomLm1lc2h0cmFkZS5jb21wbGlhbmNlLmNsaWVudC52MS5DbGllbnQiELK1GAwIAhACGgaAiXqCiXoSfQoJR2V0Q2xpZW50EjAubWVzaHRyYWRlLmNvbXBsaWFuY2UuY2xpZW50LnYxLkdldENsaWVudFJlcXVlc3QaJi5tZXNodHJhZGUuY29tcGxpYW5jZS5jbGllbnQudjEuQ2xpZW50IhaytRgSCAEQAhoMgIl6gYl6gol6g4l6EocBCg5HZXRHcm91cENsaWVudBI1Lm1lc2h0cmFkZS5jb21wbGlhbmNlLmNsaWVudC52MS5HZXRHcm91cENsaWVudFJlcXVlc3QaJi5tZXNodHJhZGUuY29tcGxpYW5jZS5jbGllbnQudjEuQ2xpZW50IhaytRgSCAEQAhoMgIl6gYl6gol6g4l6Eo4BCgtMaXN0Q2xpZW50cxIyLm1lc2h0cmFkZS5jb21wbGlhbmNlLmNsaWVudC52MS5MaXN0Q2xpZW50c1JlcXVlc3QaMy5tZXNodHJhZGUuY29tcGxpYW5jZS5jbGllbnQudjEuTGlzdENsaWVudHNSZXNwb25zZSIWsrUYEggBEAIaDICJeoGJeoKJeoOJekJjCiVjby5tZXNodHJhZGUuYXBpLmNvbXBsaWFuY2UuY2xpZW50LnYxWjpnaXRodWIuY29tL21lc2h0cmFkZS9hcGkvZ28vY29tcGxpYW5jZS9jbGllbnQvdjE7Y2xpZW50X3YxYgZwcm90bzM", [validate_pb_1.file_buf_validate_validate, client_pb_1.file_meshtrade_compliance_client_v1_client, method_options_pb_1.file_meshtrade_option_method_options_v1_method_options]);
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message meshtrade.compliance.client.v1.GetClientRequest.
|
|
17
17
|
* Use `create(GetClientRequestSchema)` to create a new message.
|
|
@@ -22,16 +22,21 @@ exports.GetClientRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_mesht
|
|
|
22
22
|
* Use `create(CreateClientRequestSchema)` to create a new message.
|
|
23
23
|
*/
|
|
24
24
|
exports.CreateClientRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_service, 1);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message meshtrade.compliance.client.v1.GetGroupClientRequest.
|
|
27
|
+
* Use `create(GetGroupClientRequestSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
exports.GetGroupClientRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_service, 2);
|
|
25
30
|
/**
|
|
26
31
|
* Describes the message meshtrade.compliance.client.v1.ListClientsRequest.
|
|
27
32
|
* Use `create(ListClientsRequestSchema)` to create a new message.
|
|
28
33
|
*/
|
|
29
|
-
exports.ListClientsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_service,
|
|
34
|
+
exports.ListClientsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_service, 3);
|
|
30
35
|
/**
|
|
31
36
|
* Describes the message meshtrade.compliance.client.v1.ListClientsResponse.
|
|
32
37
|
* Use `create(ListClientsResponseSchema)` to create a new message.
|
|
33
38
|
*/
|
|
34
|
-
exports.ListClientsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_service,
|
|
39
|
+
exports.ListClientsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_compliance_client_v1_service, 4);
|
|
35
40
|
/**
|
|
36
41
|
* Service manages client profiles for compliance and Know Your Customer (KYC)
|
|
37
42
|
* purposes.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateClientRequest, GetClientRequest, ListClientsRequest, ListClientsResponse } from "./service_pb";
|
|
1
|
+
import { CreateClientRequest, GetClientRequest, GetGroupClientRequest, ListClientsRequest, ListClientsResponse } from "./service_pb";
|
|
2
2
|
import { Client } from "./client_pb";
|
|
3
3
|
import { ClientOption } from "../../../config";
|
|
4
4
|
/**
|
|
@@ -94,6 +94,12 @@ export declare class ClientServiceWeb {
|
|
|
94
94
|
* @returns {Promise<Client>} A promise that resolves with the client.
|
|
95
95
|
*/
|
|
96
96
|
getClient(request: GetClientRequest): Promise<Client>;
|
|
97
|
+
/**
|
|
98
|
+
* Retrieves a client.
|
|
99
|
+
* @param {GetGroupClientRequest} request - The request object for getgroupclient.
|
|
100
|
+
* @returns {Promise<Client>} A promise that resolves with the client.
|
|
101
|
+
*/
|
|
102
|
+
getGroupClient(request: GetGroupClientRequest): Promise<Client>;
|
|
97
103
|
/**
|
|
98
104
|
* Retrieves a list of clients.
|
|
99
105
|
* @param {ListClientsRequest} request - The request object for listclients.
|
|
@@ -164,6 +164,23 @@ class ClientServiceWeb {
|
|
|
164
164
|
}
|
|
165
165
|
return this._client.getClient(request);
|
|
166
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Retrieves a client.
|
|
169
|
+
* @param {GetGroupClientRequest} request - The request object for getgroupclient.
|
|
170
|
+
* @returns {Promise<Client>} A promise that resolves with the client.
|
|
171
|
+
*/
|
|
172
|
+
getGroupClient(request) {
|
|
173
|
+
// Validate request
|
|
174
|
+
const result = this._validator.validate(service_pb_2.GetGroupClientRequestSchema, request);
|
|
175
|
+
if (result.kind === "invalid") {
|
|
176
|
+
const violations = result.violations.map(v => `${v.field.toString()}: ${v.message}`).join("; ");
|
|
177
|
+
throw new Error(`Validation failed: ${violations}`);
|
|
178
|
+
}
|
|
179
|
+
else if (result.kind === "error") {
|
|
180
|
+
throw result.error;
|
|
181
|
+
}
|
|
182
|
+
return this._client.getGroupClient(request);
|
|
183
|
+
}
|
|
167
184
|
/**
|
|
168
185
|
* Retrieves a list of clients.
|
|
169
186
|
* @param {ListClientsRequest} request - The request object for listclients.
|
|
@@ -29,6 +29,8 @@ const roleToStringMapping = {
|
|
|
29
29
|
[role_pb_1.Role.IAM_GROUP_VIEWER]: "IAM Group Viewer",
|
|
30
30
|
[role_pb_1.Role.IAM_USER_ADMIN]: "IAM User Admin",
|
|
31
31
|
[role_pb_1.Role.IAM_USER_VIEWER]: "IAM User Viewer",
|
|
32
|
+
[role_pb_1.Role.IAM_USER_PROFILE_ADMIN]: "User Profile Admin",
|
|
33
|
+
[role_pb_1.Role.IAM_USER_PROFILE_VIEWER]: "User Profile Viewer",
|
|
32
34
|
[role_pb_1.Role.STUDIO_ADMIN]: "Studio Admin",
|
|
33
35
|
[role_pb_1.Role.STUDIO_VIEWER]: "Studio Viewer",
|
|
34
36
|
[role_pb_1.Role.STUDIO_INSTRUMENT_ADMIN]: "Studio Instrument Admin",
|
|
@@ -85,6 +85,14 @@ export declare enum Role {
|
|
|
85
85
|
* @generated from enum value: ROLE_IAM_USER_VIEWER = 3000007;
|
|
86
86
|
*/
|
|
87
87
|
IAM_USER_VIEWER = 3000007,
|
|
88
|
+
/**
|
|
89
|
+
* @generated from enum value: ROLE_IAM_USER_PROFILE_ADMIN = 3000008;
|
|
90
|
+
*/
|
|
91
|
+
IAM_USER_PROFILE_ADMIN = 3000008,
|
|
92
|
+
/**
|
|
93
|
+
* @generated from enum value: ROLE_IAM_USER_PROFILE_VIEWER = 3000009;
|
|
94
|
+
*/
|
|
95
|
+
IAM_USER_PROFILE_VIEWER = 3000009,
|
|
88
96
|
/**
|
|
89
97
|
* @generated from enum value: ROLE_STUDIO_ADMIN = 4000000;
|
|
90
98
|
*/
|
|
@@ -8,7 +8,7 @@ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file meshtrade/iam/role/v1/role.proto.
|
|
10
10
|
*/
|
|
11
|
-
exports.file_meshtrade_iam_role_v1_role = (0, codegenv2_1.fileDesc)("
|
|
11
|
+
exports.file_meshtrade_iam_role_v1_role = (0, codegenv2_1.fileDesc)("CiBtZXNodHJhZGUvaWFtL3JvbGUvdjEvcm9sZS5wcm90bxIVbWVzaHRyYWRlLmlhbS5yb2xlLnYxKukJCgRSb2xlEhQKEFJPTEVfVU5TUEVDSUZJRUQQABIXChFST0xFX1dBTExFVF9BRE1JThDAhD0SGAoSUk9MRV9XQUxMRVRfVklFV0VSEMGEPRIfChlST0xFX1dBTExFVF9BQ0NPVU5UX0FETUlOEMKEPRIgChpST0xFX1dBTExFVF9BQ0NPVU5UX1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SEMGfqwMSJAodUk9MRV9MRURHRVJfVFJBTlNBQ1RJT05fQURNSU4Qwp+rAxIlCh5ST0xFX0xFREdFUl9UUkFOU0FDVElPTl9WSUVXRVIQw5+rAxIdChZST0xFX01BUktFVF9EQVRBX0FETUlOEICk6AMSHgoXUk9MRV9NQVJLRVRfREFUQV9WSUVXRVIQgaToAxIjChxST0xFX01BUktFVF9EQVRBX1BSSUNFX0FETUlOEIKk6AMSJAodUk9MRV9NQVJLRVRfREFUQV9QUklDRV9WSUVXRVIQg6ToAxIqCiNST0xFX1RFU1RJTkdfTEVER0VSX1RPS0VOX1RBUF9BRE1JThDAqKUEEisKJFJPTEVfVEVTVElOR19MRURHRVJfVE9LRU5fVEFQX1ZJRVdFUhDBqKUEQk8KHGNvLm1lc2h0cmFkZS5hcGkuaWFtLnJvbGUudjFaL2dpdGh1Yi5jb20vbWVzaHRyYWRlL2FwaS9nby9pYW0vcm9sZS92MTtyb2xlX3YxYgZwcm90bzM");
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* Role defines a named collection of permissions.
|
|
@@ -92,6 +92,14 @@ var Role;
|
|
|
92
92
|
* @generated from enum value: ROLE_IAM_USER_VIEWER = 3000007;
|
|
93
93
|
*/
|
|
94
94
|
Role[Role["IAM_USER_VIEWER"] = 3000007] = "IAM_USER_VIEWER";
|
|
95
|
+
/**
|
|
96
|
+
* @generated from enum value: ROLE_IAM_USER_PROFILE_ADMIN = 3000008;
|
|
97
|
+
*/
|
|
98
|
+
Role[Role["IAM_USER_PROFILE_ADMIN"] = 3000008] = "IAM_USER_PROFILE_ADMIN";
|
|
99
|
+
/**
|
|
100
|
+
* @generated from enum value: ROLE_IAM_USER_PROFILE_VIEWER = 3000009;
|
|
101
|
+
*/
|
|
102
|
+
Role[Role["IAM_USER_PROFILE_VIEWER"] = 3000009] = "IAM_USER_PROFILE_VIEWER";
|
|
95
103
|
/**
|
|
96
104
|
* @generated from enum value: ROLE_STUDIO_ADMIN = 4000000;
|
|
97
105
|
*/
|
|
@@ -147,68 +147,6 @@ export type ListUsersResponse = Message<"meshtrade.iam.user.v1.ListUsersResponse
|
|
|
147
147
|
* Use `create(ListUsersResponseSchema)` to create a new message.
|
|
148
148
|
*/
|
|
149
149
|
export declare const ListUsersResponseSchema: GenMessage<ListUsersResponse>;
|
|
150
|
-
/**
|
|
151
|
-
* @generated from message meshtrade.iam.user.v1.SearchUsersRequest
|
|
152
|
-
*/
|
|
153
|
-
export type SearchUsersRequest = Message<"meshtrade.iam.user.v1.SearchUsersRequest"> & {
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* Email is a substring search for users.
|
|
157
|
-
*
|
|
158
|
-
* @generated from field: string email = 1;
|
|
159
|
-
*/
|
|
160
|
-
email: string;
|
|
161
|
-
/**
|
|
162
|
-
*
|
|
163
|
-
* Optional sorting configuration.
|
|
164
|
-
*
|
|
165
|
-
* @generated from field: meshtrade.iam.user.v1.SearchUsersRequest.Sorting sorting = 2;
|
|
166
|
-
*/
|
|
167
|
-
sorting?: SearchUsersRequest_Sorting;
|
|
168
|
-
};
|
|
169
|
-
/**
|
|
170
|
-
* Describes the message meshtrade.iam.user.v1.SearchUsersRequest.
|
|
171
|
-
* Use `create(SearchUsersRequestSchema)` to create a new message.
|
|
172
|
-
*/
|
|
173
|
-
export declare const SearchUsersRequestSchema: GenMessage<SearchUsersRequest>;
|
|
174
|
-
/**
|
|
175
|
-
* @generated from message meshtrade.iam.user.v1.SearchUsersRequest.Sorting
|
|
176
|
-
*/
|
|
177
|
-
export type SearchUsersRequest_Sorting = Message<"meshtrade.iam.user.v1.SearchUsersRequest.Sorting"> & {
|
|
178
|
-
/**
|
|
179
|
-
*
|
|
180
|
-
* Field to sort by (e.g., "email").
|
|
181
|
-
*
|
|
182
|
-
* @generated from field: string field = 1;
|
|
183
|
-
*/
|
|
184
|
-
field: string;
|
|
185
|
-
/**
|
|
186
|
-
*
|
|
187
|
-
* Sort order for results.
|
|
188
|
-
*
|
|
189
|
-
* @generated from field: meshtrade.type.v1.SortingOrder order = 2;
|
|
190
|
-
*/
|
|
191
|
-
order: SortingOrder;
|
|
192
|
-
};
|
|
193
|
-
/**
|
|
194
|
-
* Describes the message meshtrade.iam.user.v1.SearchUsersRequest.Sorting.
|
|
195
|
-
* Use `create(SearchUsersRequest_SortingSchema)` to create a new message.
|
|
196
|
-
*/
|
|
197
|
-
export declare const SearchUsersRequest_SortingSchema: GenMessage<SearchUsersRequest_Sorting>;
|
|
198
|
-
/**
|
|
199
|
-
* @generated from message meshtrade.iam.user.v1.SearchUsersResponse
|
|
200
|
-
*/
|
|
201
|
-
export type SearchUsersResponse = Message<"meshtrade.iam.user.v1.SearchUsersResponse"> & {
|
|
202
|
-
/**
|
|
203
|
-
* @generated from field: repeated meshtrade.iam.user.v1.User users = 1;
|
|
204
|
-
*/
|
|
205
|
-
users: User[];
|
|
206
|
-
};
|
|
207
|
-
/**
|
|
208
|
-
* Describes the message meshtrade.iam.user.v1.SearchUsersResponse.
|
|
209
|
-
* Use `create(SearchUsersResponseSchema)` to create a new message.
|
|
210
|
-
*/
|
|
211
|
-
export declare const SearchUsersResponseSchema: GenMessage<SearchUsersResponse>;
|
|
212
150
|
/**
|
|
213
151
|
* @generated from message meshtrade.iam.user.v1.CreateUserRequest
|
|
214
152
|
*/
|
|
@@ -331,21 +269,6 @@ export declare const UserService: GenService<{
|
|
|
331
269
|
input: typeof ListUsersRequestSchema;
|
|
332
270
|
output: typeof ListUsersResponseSchema;
|
|
333
271
|
};
|
|
334
|
-
/**
|
|
335
|
-
*
|
|
336
|
-
* Searches for users by email address using substring matching.
|
|
337
|
-
*
|
|
338
|
-
* Returns users whose email addresses contain the provided search term,
|
|
339
|
-
* filtered by the authenticated group's access permissions and optionally
|
|
340
|
-
* sorted by email address.
|
|
341
|
-
*
|
|
342
|
-
* @generated from rpc meshtrade.iam.user.v1.UserService.SearchUsers
|
|
343
|
-
*/
|
|
344
|
-
searchUsers: {
|
|
345
|
-
methodKind: "unary";
|
|
346
|
-
input: typeof SearchUsersRequestSchema;
|
|
347
|
-
output: typeof SearchUsersResponseSchema;
|
|
348
|
-
};
|
|
349
272
|
/**
|
|
350
273
|
*
|
|
351
274
|
* Creates a new user within the authenticated group context.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// @generated from file meshtrade/iam/user/v1/service.proto (package meshtrade.iam.user.v1, syntax proto3)
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.UserService = exports.UpdateUserRequestSchema = exports.CreateUserRequestSchema = exports.
|
|
6
|
+
exports.UserService = exports.UpdateUserRequestSchema = exports.CreateUserRequestSchema = exports.ListUsersResponseSchema = exports.ListUsersRequest_SortingSchema = exports.ListUsersRequestSchema = exports.GetUserByEmailRequestSchema = exports.GetUserRequestSchema = exports.RevokeRolesFromUserRequestSchema = exports.AssignRolesToUserRequestSchema = exports.file_meshtrade_iam_user_v1_service = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
8
|
const validate_pb_1 = require("../../../../buf/validate/validate_pb");
|
|
9
9
|
const user_pb_1 = require("./user_pb");
|
|
@@ -12,7 +12,7 @@ const sorting_pb_1 = require("../../../type/v1/sorting_pb");
|
|
|
12
12
|
/**
|
|
13
13
|
* Describes the file meshtrade/iam/user/v1/service.proto.
|
|
14
14
|
*/
|
|
15
|
-
exports.file_meshtrade_iam_user_v1_service = (0, codegenv2_1.fileDesc)("
|
|
15
|
+
exports.file_meshtrade_iam_user_v1_service = (0, codegenv2_1.fileDesc)("CiNtZXNodHJhZGUvaWFtL3VzZXIvdjEvc2VydmljZS5wcm90bxIVbWVzaHRyYWRlLmlhbS51c2VyLnYxIs4BChhBc3NpZ25Sb2xlc1RvVXNlclJlcXVlc3QSSQoEbmFtZRgBIAEoCUI7ukg4yAEBcjMyLl51c2Vycy9bMDEyMzQ1Njc4OUFCQ0RFRkdISktNTlBRUlNUVldYWV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ci52MS5Vc2VyIhKytRgOCAIQAhoIwI23AcaNtwESZwoKVXBkYXRlVXNlchIoLm1lc2h0cmFkZS5pYW0udXNlci52MS5VcGRhdGVVc2VyUmVxdWVzdBobLm1lc2h0cmFkZS5pYW0udXNlci52MS5Vc2VyIhKytRgOCAIQAhoIwI23AcaNtwFCTwocY28ubWVzaHRyYWRlLmFwaS5pYW0udXNlci52MVovZ2l0aHViLmNvbS9tZXNodHJhZGUvYXBpL2dvL2lhbS91c2VyL3YxO3VzZXJfdjFiBnByb3RvMw", [validate_pb_1.file_buf_validate_validate, user_pb_1.file_meshtrade_iam_user_v1_user, method_options_pb_1.file_meshtrade_option_method_options_v1_method_options, sorting_pb_1.file_meshtrade_type_v1_sorting]);
|
|
16
16
|
/**
|
|
17
17
|
* Describes the message meshtrade.iam.user.v1.AssignRolesToUserRequest.
|
|
18
18
|
* Use `create(AssignRolesToUserRequestSchema)` to create a new message.
|
|
@@ -48,31 +48,16 @@ exports.ListUsersRequest_SortingSchema = (0, codegenv2_1.messageDesc)(exports.fi
|
|
|
48
48
|
* Use `create(ListUsersResponseSchema)` to create a new message.
|
|
49
49
|
*/
|
|
50
50
|
exports.ListUsersResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_user_v1_service, 5);
|
|
51
|
-
/**
|
|
52
|
-
* Describes the message meshtrade.iam.user.v1.SearchUsersRequest.
|
|
53
|
-
* Use `create(SearchUsersRequestSchema)` to create a new message.
|
|
54
|
-
*/
|
|
55
|
-
exports.SearchUsersRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_user_v1_service, 6);
|
|
56
|
-
/**
|
|
57
|
-
* Describes the message meshtrade.iam.user.v1.SearchUsersRequest.Sorting.
|
|
58
|
-
* Use `create(SearchUsersRequest_SortingSchema)` to create a new message.
|
|
59
|
-
*/
|
|
60
|
-
exports.SearchUsersRequest_SortingSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_user_v1_service, 6, 0);
|
|
61
|
-
/**
|
|
62
|
-
* Describes the message meshtrade.iam.user.v1.SearchUsersResponse.
|
|
63
|
-
* Use `create(SearchUsersResponseSchema)` to create a new message.
|
|
64
|
-
*/
|
|
65
|
-
exports.SearchUsersResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_user_v1_service, 7);
|
|
66
51
|
/**
|
|
67
52
|
* Describes the message meshtrade.iam.user.v1.CreateUserRequest.
|
|
68
53
|
* Use `create(CreateUserRequestSchema)` to create a new message.
|
|
69
54
|
*/
|
|
70
|
-
exports.CreateUserRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_user_v1_service,
|
|
55
|
+
exports.CreateUserRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_user_v1_service, 6);
|
|
71
56
|
/**
|
|
72
57
|
* Describes the message meshtrade.iam.user.v1.UpdateUserRequest.
|
|
73
58
|
* Use `create(UpdateUserRequestSchema)` to create a new message.
|
|
74
59
|
*/
|
|
75
|
-
exports.UpdateUserRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_user_v1_service,
|
|
60
|
+
exports.UpdateUserRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_user_v1_service, 7);
|
|
76
61
|
/**
|
|
77
62
|
*
|
|
78
63
|
* UserService manages user lifecycle and identity operations within groups.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssignRolesToUserRequest, CreateUserRequest, GetUserByEmailRequest, GetUserRequest, ListUsersRequest, ListUsersResponse, RevokeRolesFromUserRequest,
|
|
1
|
+
import { AssignRolesToUserRequest, CreateUserRequest, GetUserByEmailRequest, GetUserRequest, ListUsersRequest, ListUsersResponse, RevokeRolesFromUserRequest, UpdateUserRequest } from "./service_pb";
|
|
2
2
|
import { User } from "./user_pb";
|
|
3
3
|
import { ClientOption } from "../../../config";
|
|
4
4
|
/**
|
|
@@ -112,12 +112,6 @@ export declare class UserServiceWeb {
|
|
|
112
112
|
* @returns {Promise<ListUsersResponse>} A promise that resolves with the list of users.
|
|
113
113
|
*/
|
|
114
114
|
listUsers(request: ListUsersRequest): Promise<ListUsersResponse>;
|
|
115
|
-
/**
|
|
116
|
-
* Searches for users.
|
|
117
|
-
* @param {SearchUsersRequest} request - The request object for searchusers.
|
|
118
|
-
* @returns {Promise<SearchUsersResponse>} A promise that resolves with the search results.
|
|
119
|
-
*/
|
|
120
|
-
searchUsers(request: SearchUsersRequest): Promise<SearchUsersResponse>;
|
|
121
115
|
/**
|
|
122
116
|
* Creates a new user.
|
|
123
117
|
* @param {CreateUserRequest} request - The request object for createuser.
|
|
@@ -215,23 +215,6 @@ class UserServiceWeb {
|
|
|
215
215
|
}
|
|
216
216
|
return this._client.listUsers(request);
|
|
217
217
|
}
|
|
218
|
-
/**
|
|
219
|
-
* Searches for users.
|
|
220
|
-
* @param {SearchUsersRequest} request - The request object for searchusers.
|
|
221
|
-
* @returns {Promise<SearchUsersResponse>} A promise that resolves with the search results.
|
|
222
|
-
*/
|
|
223
|
-
searchUsers(request) {
|
|
224
|
-
// Validate request
|
|
225
|
-
const result = this._validator.validate(service_pb_2.SearchUsersRequestSchema, request);
|
|
226
|
-
if (result.kind === "invalid") {
|
|
227
|
-
const violations = result.violations.map(v => `${v.field.toString()}: ${v.message}`).join("; ");
|
|
228
|
-
throw new Error(`Validation failed: ${violations}`);
|
|
229
|
-
}
|
|
230
|
-
else if (result.kind === "error") {
|
|
231
|
-
throw result.error;
|
|
232
|
-
}
|
|
233
|
-
return this._client.searchUsers(request);
|
|
234
|
-
}
|
|
235
218
|
/**
|
|
236
219
|
* Creates a new user.
|
|
237
220
|
* @param {CreateUserRequest} request - The request object for createuser.
|
|
@@ -49,13 +49,22 @@ export type User = Message<"meshtrade.iam.user.v1.User"> & {
|
|
|
49
49
|
* @generated from field: string email = 4;
|
|
50
50
|
*/
|
|
51
51
|
email: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* The mobile phone number of this user.
|
|
55
|
+
* Used for multi-factor authentication, notifications, and contact purposes.
|
|
56
|
+
* Format and validation defined by meshtrade.type.v1.MobileNumber.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: meshtrade.iam.user.v1.MobileNumber mobile_number = 5;
|
|
59
|
+
*/
|
|
60
|
+
mobileNumber?: MobileNumber;
|
|
52
61
|
/**
|
|
53
62
|
*
|
|
54
63
|
* Roles is a list of standard roles assigned to this user,
|
|
55
64
|
* prepended by the name of the group in which they have been assigned that role.
|
|
56
65
|
* e.g. groups/{ULIDv2}/roles/{role}, where role is a value of the meshtrade.iam.role.v1.Role enum.
|
|
57
66
|
*
|
|
58
|
-
* @generated from field: repeated string roles =
|
|
67
|
+
* @generated from field: repeated string roles = 6;
|
|
59
68
|
*/
|
|
60
69
|
roles: string[];
|
|
61
70
|
};
|
|
@@ -64,3 +73,38 @@ export type User = Message<"meshtrade.iam.user.v1.User"> & {
|
|
|
64
73
|
* Use `create(UserSchema)` to create a new message.
|
|
65
74
|
*/
|
|
66
75
|
export declare const UserSchema: GenMessage<User>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* The mobile phone number of this user.
|
|
79
|
+
* Used for multi-factor authentication, notifications, and contact purposes.
|
|
80
|
+
*
|
|
81
|
+
* @generated from message meshtrade.iam.user.v1.MobileNumber
|
|
82
|
+
*/
|
|
83
|
+
export type MobileNumber = Message<"meshtrade.iam.user.v1.MobileNumber"> & {
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* This is the actual Mobile Number that has been verified by the user
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: string value = 1;
|
|
89
|
+
*/
|
|
90
|
+
value: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* This is set to true when the user has verified their number through the use of an OTP
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: bool verified = 2;
|
|
96
|
+
*/
|
|
97
|
+
verified: boolean;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* This is the reason a number for a user was reset
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: string reset_reason = 3;
|
|
103
|
+
*/
|
|
104
|
+
resetReason: string;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message meshtrade.iam.user.v1.MobileNumber.
|
|
108
|
+
* Use `create(MobileNumberSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export declare const MobileNumberSchema: GenMessage<MobileNumber>;
|
|
@@ -3,15 +3,20 @@
|
|
|
3
3
|
// @generated from file meshtrade/iam/user/v1/user.proto (package meshtrade.iam.user.v1, syntax proto3)
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.UserSchema = exports.file_meshtrade_iam_user_v1_user = void 0;
|
|
6
|
+
exports.MobileNumberSchema = exports.UserSchema = exports.file_meshtrade_iam_user_v1_user = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
8
|
const validate_pb_1 = require("../../../../buf/validate/validate_pb");
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file meshtrade/iam/user/v1/user.proto.
|
|
11
11
|
*/
|
|
12
|
-
exports.file_meshtrade_iam_user_v1_user = (0, codegenv2_1.fileDesc)("
|
|
12
|
+
exports.file_meshtrade_iam_user_v1_user = (0, codegenv2_1.fileDesc)("CiBtZXNodHJhZGUvaWFtL3VzZXIvdjEvdXNlci5wcm90bxIVbWVzaHRyYWRlLmlhbS51c2VyLnYxIpcECgRVc2VyErQBCgRuYW1lGAEgASgJQqUBukihAboBnQEKFG5hbWUuZm9ybWF0Lm9wdGlvbmFsEjJuYW1lIG11c3QgYmUgZW1wdHkgb3IgaW4gdGhlIGZvcm1hdCB1c2Vycy97VUxJRHYyfRpRc2l6ZSh0aGlzKSA9PSAwIHx8IHRoaXMubWF0Y2hlcygnXnVzZXJzL1swMTIzNDU2Nzg5QUJDREVGR0hKS01OUFFSU1RWV1hZWl17MjZ9JCcpEksKBW93bmVyGAIgASgJQjy6SDnIAQFyNDIvXmdyb3Vwcy9bMDEyMzQ1Njc4OUFCQ0RFRkdISktNTlBRUlNUVldYWVpdezI2fSSYASESTgoGb3duZXJzGAMgAygJQj66SDuSATgiNnI0Mi9eZ3JvdXBzL1swMTIzNDU2Nzg5QUJDREVGR0hKS01OUFFSU1RWV1hZWl17MjZ9JJgBIRIZCgVlbWFpbBgEIAEoCUIKukgHyAEBcgJgARI6Cg1tb2JpbGVfbnVtYmVyGAUgASgLMiMubWVzaHRyYWRlLmlhbS51c2VyLnYxLk1vYmlsZU51bWJlchJkCgVyb2xlcxgGIAMoCUJVukhSkgFPIk1ySxAvGDAyRV5ncm91cHMvWzAxMjM0NTY3ODlBQkNERUZHSEpLTU5QUVJTVFZXWFlaXXsyNn0vcm9sZXMvWzEtOV1bMC05XXs2LDd9JCJFCgxNb2JpbGVOdW1iZXISDQoFdmFsdWUYASABKAkSEAoIdmVyaWZpZWQYAiABKAgSFAoMcmVzZXRfcmVhc29uGAMgASgJQk8KHGNvLm1lc2h0cmFkZS5hcGkuaWFtLnVzZXIudjFaL2dpdGh1Yi5jb20vbWVzaHRyYWRlL2FwaS9nby9pYW0vdXNlci92MTt1c2VyX3YxYgZwcm90bzM", [validate_pb_1.file_buf_validate_validate]);
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message meshtrade.iam.user.v1.User.
|
|
15
15
|
* Use `create(UserSchema)` to create a new message.
|
|
16
16
|
*/
|
|
17
17
|
exports.UserSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_user_v1_user, 0);
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message meshtrade.iam.user.v1.MobileNumber.
|
|
20
|
+
* Use `create(MobileNumberSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
exports.MobileNumberSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_user_v1_user, 1);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./v1";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./v1"), exports);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ===================================================================
|
|
3
|
+
// AUTO-GENERATED SECTION - ONLY EDIT BELOW THE CLOSING COMMENT BLOCK
|
|
4
|
+
// ===================================================================
|
|
5
|
+
// This section is automatically managed by protoc-gen-meshts.
|
|
6
|
+
//
|
|
7
|
+
// DO NOT EDIT ANYTHING IN THIS SECTION MANUALLY!
|
|
8
|
+
// Your changes will be overwritten during code generation.
|
|
9
|
+
//
|
|
10
|
+
// To add custom exports, scroll down to the
|
|
11
|
+
// "MANUAL EXPORTS" section indicated below.
|
|
12
|
+
// ===================================================================
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
25
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
// Generated exports
|
|
29
|
+
__exportStar(require("./service_pb"), exports);
|
|
30
|
+
__exportStar(require("./service_web_meshts"), exports);
|
|
31
|
+
__exportStar(require("./user_profile_pb"), exports);
|
|
32
|
+
// ===================================================================
|
|
33
|
+
// END OF AUTO-GENERATED SECTION
|
|
34
|
+
// ===================================================================
|
|
35
|
+
//
|
|
36
|
+
// MANUAL EXPORTS - ADD YOUR CUSTOM EXPORTS BELOW
|
|
37
|
+
//
|
|
38
|
+
// You can safely add your own export statements in this section.
|
|
39
|
+
// They will be preserved across code generation.
|
|
40
|
+
//
|
|
41
|
+
// Example:
|
|
42
|
+
// export * from "./my_custom_module";
|
|
43
|
+
// export { MyCustomClass } from "./another_module";
|
|
44
|
+
// ===================================================================
|