@meshtrade/api-old 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.
Files changed (30) hide show
  1. package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.d.ts +7 -1
  2. package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.js +8 -0
  3. package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.d.ts +12 -0
  4. package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.js +61 -0
  5. package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +18 -0
  6. package/dist/meshtrade/compliance/client/v1/service_pb.js +152 -0
  7. package/dist/meshtrade/iam/role/v1/role.js +2 -0
  8. package/dist/meshtrade/iam/role/v1/role_pb.d.ts +2 -0
  9. package/dist/meshtrade/iam/role/v1/role_pb.js +2 -0
  10. package/dist/meshtrade/iam/user/v1/service_grpc_web_client_meshts.d.ts +1 -7
  11. package/dist/meshtrade/iam/user/v1/service_grpc_web_client_meshts.js +0 -8
  12. package/dist/meshtrade/iam/user/v1/service_grpc_web_pb.d.ts +0 -12
  13. package/dist/meshtrade/iam/user/v1/service_grpc_web_pb.js +0 -61
  14. package/dist/meshtrade/iam/user/v1/service_pb.d.ts +0 -67
  15. package/dist/meshtrade/iam/user/v1/service_pb.js +0 -567
  16. package/dist/meshtrade/iam/user/v1/user_pb.d.ts +32 -0
  17. package/dist/meshtrade/iam/user/v1/user_pb.js +270 -7
  18. package/dist/meshtrade/iam/user_profile/v1/index.d.ts +4 -0
  19. package/dist/meshtrade/iam/user_profile/v1/index.js +45 -0
  20. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_client_meshts.d.ts +53 -0
  21. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_client_meshts.js +96 -0
  22. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_pb.d.ts +68 -0
  23. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_pb.js +331 -0
  24. package/dist/meshtrade/iam/user_profile/v1/service_pb.d.ts +97 -0
  25. package/dist/meshtrade/iam/user_profile/v1/service_pb.js +812 -0
  26. package/dist/meshtrade/iam/user_profile/v1/user_profile_pb.d.ts +62 -0
  27. package/dist/meshtrade/iam/user_profile/v1/user_profile_pb.js +488 -0
  28. package/dist/meshtrade/option/method_options/v1/method_options_pb.d.ts +8 -0
  29. package/dist/meshtrade/option/method_options/v1/method_options_pb.js +40 -1
  30. package/package.json +1 -1
@@ -0,0 +1,331 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for meshtrade.iam.user_profile.v1
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
+ // versions:
9
+ // protoc-gen-grpc-web v1.5.0
10
+ // protoc v0.0.0
11
+ // source: meshtrade/iam/user_profile/v1/service.proto
12
+
13
+
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+
18
+
19
+ const grpc = {};
20
+ grpc.web = require('grpc-web');
21
+
22
+
23
+ var buf_validate_validate_pb = require('../../../../buf/validate/validate_pb.js')
24
+
25
+ var meshtrade_iam_user_profile_v1_user_profile_pb = require('../../../../meshtrade/iam/user_profile/v1/user_profile_pb.js')
26
+
27
+ var meshtrade_option_method_options_v1_method_options_pb = require('../../../../meshtrade/option/method_options/v1/method_options_pb.js')
28
+ const proto = {};
29
+ proto.meshtrade = {};
30
+ proto.meshtrade.iam = {};
31
+ proto.meshtrade.iam.user_profile = {};
32
+ proto.meshtrade.iam.user_profile.v1 = require('./service_pb.js');
33
+
34
+ /**
35
+ * @param {string} hostname
36
+ * @param {?Object} credentials
37
+ * @param {?grpc.web.ClientOptions} options
38
+ * @constructor
39
+ * @struct
40
+ * @final
41
+ */
42
+ proto.meshtrade.iam.user_profile.v1.UserProfileServiceClient =
43
+ function(hostname, credentials, options) {
44
+ if (!options) options = {};
45
+ options.format = 'binary';
46
+
47
+ /**
48
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
49
+ */
50
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
51
+
52
+ /**
53
+ * @private @const {string} The hostname
54
+ */
55
+ this.hostname_ = hostname.replace(/\/+$/, '');
56
+
57
+ };
58
+
59
+
60
+ /**
61
+ * @param {string} hostname
62
+ * @param {?Object} credentials
63
+ * @param {?grpc.web.ClientOptions} options
64
+ * @constructor
65
+ * @struct
66
+ * @final
67
+ */
68
+ proto.meshtrade.iam.user_profile.v1.UserProfileServicePromiseClient =
69
+ function(hostname, credentials, options) {
70
+ if (!options) options = {};
71
+ options.format = 'binary';
72
+
73
+ /**
74
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
75
+ */
76
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
77
+
78
+ /**
79
+ * @private @const {string} The hostname
80
+ */
81
+ this.hostname_ = hostname.replace(/\/+$/, '');
82
+
83
+ };
84
+
85
+
86
+ /**
87
+ * @const
88
+ * @type {!grpc.web.MethodDescriptor<
89
+ * !proto.meshtrade.iam.user_profile.v1.UpdateUserProfileRequest,
90
+ * !proto.meshtrade.iam.user_profile.v1.UserProfile>}
91
+ */
92
+ const methodDescriptor_UserProfileService_UpdateUserProfile = new grpc.web.MethodDescriptor(
93
+ '/meshtrade.iam.user_profile.v1.UserProfileService/UpdateUserProfile',
94
+ grpc.web.MethodType.UNARY,
95
+ proto.meshtrade.iam.user_profile.v1.UpdateUserProfileRequest,
96
+ meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile,
97
+ /**
98
+ * @param {!proto.meshtrade.iam.user_profile.v1.UpdateUserProfileRequest} request
99
+ * @return {!Uint8Array}
100
+ */
101
+ function(request) {
102
+ return request.serializeBinary();
103
+ },
104
+ meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile.deserializeBinary
105
+ );
106
+
107
+
108
+ /**
109
+ * @param {!proto.meshtrade.iam.user_profile.v1.UpdateUserProfileRequest} request The
110
+ * request proto
111
+ * @param {?Object<string, string>} metadata User defined
112
+ * call metadata
113
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.user_profile.v1.UserProfile)}
114
+ * callback The callback function(error, response)
115
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.user_profile.v1.UserProfile>|undefined}
116
+ * The XHR Node Readable Stream
117
+ */
118
+ proto.meshtrade.iam.user_profile.v1.UserProfileServiceClient.prototype.updateUserProfile =
119
+ function(request, metadata, callback) {
120
+ return this.client_.rpcCall(this.hostname_ +
121
+ '/meshtrade.iam.user_profile.v1.UserProfileService/UpdateUserProfile',
122
+ request,
123
+ metadata || {},
124
+ methodDescriptor_UserProfileService_UpdateUserProfile,
125
+ callback);
126
+ };
127
+
128
+
129
+ /**
130
+ * @param {!proto.meshtrade.iam.user_profile.v1.UpdateUserProfileRequest} request The
131
+ * request proto
132
+ * @param {?Object<string, string>=} metadata User defined
133
+ * call metadata
134
+ * @return {!Promise<!proto.meshtrade.iam.user_profile.v1.UserProfile>}
135
+ * Promise that resolves to the response
136
+ */
137
+ proto.meshtrade.iam.user_profile.v1.UserProfileServicePromiseClient.prototype.updateUserProfile =
138
+ function(request, metadata) {
139
+ return this.client_.unaryCall(this.hostname_ +
140
+ '/meshtrade.iam.user_profile.v1.UserProfileService/UpdateUserProfile',
141
+ request,
142
+ metadata || {},
143
+ methodDescriptor_UserProfileService_UpdateUserProfile);
144
+ };
145
+
146
+
147
+ /**
148
+ * @const
149
+ * @type {!grpc.web.MethodDescriptor<
150
+ * !proto.meshtrade.iam.user_profile.v1.GetUserProfileRequest,
151
+ * !proto.meshtrade.iam.user_profile.v1.UserProfile>}
152
+ */
153
+ const methodDescriptor_UserProfileService_GetUserProfile = new grpc.web.MethodDescriptor(
154
+ '/meshtrade.iam.user_profile.v1.UserProfileService/GetUserProfile',
155
+ grpc.web.MethodType.UNARY,
156
+ proto.meshtrade.iam.user_profile.v1.GetUserProfileRequest,
157
+ meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile,
158
+ /**
159
+ * @param {!proto.meshtrade.iam.user_profile.v1.GetUserProfileRequest} request
160
+ * @return {!Uint8Array}
161
+ */
162
+ function(request) {
163
+ return request.serializeBinary();
164
+ },
165
+ meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile.deserializeBinary
166
+ );
167
+
168
+
169
+ /**
170
+ * @param {!proto.meshtrade.iam.user_profile.v1.GetUserProfileRequest} request The
171
+ * request proto
172
+ * @param {?Object<string, string>} metadata User defined
173
+ * call metadata
174
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.user_profile.v1.UserProfile)}
175
+ * callback The callback function(error, response)
176
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.user_profile.v1.UserProfile>|undefined}
177
+ * The XHR Node Readable Stream
178
+ */
179
+ proto.meshtrade.iam.user_profile.v1.UserProfileServiceClient.prototype.getUserProfile =
180
+ function(request, metadata, callback) {
181
+ return this.client_.rpcCall(this.hostname_ +
182
+ '/meshtrade.iam.user_profile.v1.UserProfileService/GetUserProfile',
183
+ request,
184
+ metadata || {},
185
+ methodDescriptor_UserProfileService_GetUserProfile,
186
+ callback);
187
+ };
188
+
189
+
190
+ /**
191
+ * @param {!proto.meshtrade.iam.user_profile.v1.GetUserProfileRequest} request The
192
+ * request proto
193
+ * @param {?Object<string, string>=} metadata User defined
194
+ * call metadata
195
+ * @return {!Promise<!proto.meshtrade.iam.user_profile.v1.UserProfile>}
196
+ * Promise that resolves to the response
197
+ */
198
+ proto.meshtrade.iam.user_profile.v1.UserProfileServicePromiseClient.prototype.getUserProfile =
199
+ function(request, metadata) {
200
+ return this.client_.unaryCall(this.hostname_ +
201
+ '/meshtrade.iam.user_profile.v1.UserProfileService/GetUserProfile',
202
+ request,
203
+ metadata || {},
204
+ methodDescriptor_UserProfileService_GetUserProfile);
205
+ };
206
+
207
+
208
+ /**
209
+ * @const
210
+ * @type {!grpc.web.MethodDescriptor<
211
+ * !proto.meshtrade.iam.user_profile.v1.GetUserProfileByUserRequest,
212
+ * !proto.meshtrade.iam.user_profile.v1.UserProfile>}
213
+ */
214
+ const methodDescriptor_UserProfileService_GetUserProfileByUser = new grpc.web.MethodDescriptor(
215
+ '/meshtrade.iam.user_profile.v1.UserProfileService/GetUserProfileByUser',
216
+ grpc.web.MethodType.UNARY,
217
+ proto.meshtrade.iam.user_profile.v1.GetUserProfileByUserRequest,
218
+ meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile,
219
+ /**
220
+ * @param {!proto.meshtrade.iam.user_profile.v1.GetUserProfileByUserRequest} request
221
+ * @return {!Uint8Array}
222
+ */
223
+ function(request) {
224
+ return request.serializeBinary();
225
+ },
226
+ meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile.deserializeBinary
227
+ );
228
+
229
+
230
+ /**
231
+ * @param {!proto.meshtrade.iam.user_profile.v1.GetUserProfileByUserRequest} request The
232
+ * request proto
233
+ * @param {?Object<string, string>} metadata User defined
234
+ * call metadata
235
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.user_profile.v1.UserProfile)}
236
+ * callback The callback function(error, response)
237
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.user_profile.v1.UserProfile>|undefined}
238
+ * The XHR Node Readable Stream
239
+ */
240
+ proto.meshtrade.iam.user_profile.v1.UserProfileServiceClient.prototype.getUserProfileByUser =
241
+ function(request, metadata, callback) {
242
+ return this.client_.rpcCall(this.hostname_ +
243
+ '/meshtrade.iam.user_profile.v1.UserProfileService/GetUserProfileByUser',
244
+ request,
245
+ metadata || {},
246
+ methodDescriptor_UserProfileService_GetUserProfileByUser,
247
+ callback);
248
+ };
249
+
250
+
251
+ /**
252
+ * @param {!proto.meshtrade.iam.user_profile.v1.GetUserProfileByUserRequest} request The
253
+ * request proto
254
+ * @param {?Object<string, string>=} metadata User defined
255
+ * call metadata
256
+ * @return {!Promise<!proto.meshtrade.iam.user_profile.v1.UserProfile>}
257
+ * Promise that resolves to the response
258
+ */
259
+ proto.meshtrade.iam.user_profile.v1.UserProfileServicePromiseClient.prototype.getUserProfileByUser =
260
+ function(request, metadata) {
261
+ return this.client_.unaryCall(this.hostname_ +
262
+ '/meshtrade.iam.user_profile.v1.UserProfileService/GetUserProfileByUser',
263
+ request,
264
+ metadata || {},
265
+ methodDescriptor_UserProfileService_GetUserProfileByUser);
266
+ };
267
+
268
+
269
+ /**
270
+ * @const
271
+ * @type {!grpc.web.MethodDescriptor<
272
+ * !proto.meshtrade.iam.user_profile.v1.ListUserProfilesRequest,
273
+ * !proto.meshtrade.iam.user_profile.v1.ListUserProfilesResponse>}
274
+ */
275
+ const methodDescriptor_UserProfileService_ListUserProfiles = new grpc.web.MethodDescriptor(
276
+ '/meshtrade.iam.user_profile.v1.UserProfileService/ListUserProfiles',
277
+ grpc.web.MethodType.UNARY,
278
+ proto.meshtrade.iam.user_profile.v1.ListUserProfilesRequest,
279
+ proto.meshtrade.iam.user_profile.v1.ListUserProfilesResponse,
280
+ /**
281
+ * @param {!proto.meshtrade.iam.user_profile.v1.ListUserProfilesRequest} request
282
+ * @return {!Uint8Array}
283
+ */
284
+ function(request) {
285
+ return request.serializeBinary();
286
+ },
287
+ proto.meshtrade.iam.user_profile.v1.ListUserProfilesResponse.deserializeBinary
288
+ );
289
+
290
+
291
+ /**
292
+ * @param {!proto.meshtrade.iam.user_profile.v1.ListUserProfilesRequest} request The
293
+ * request proto
294
+ * @param {?Object<string, string>} metadata User defined
295
+ * call metadata
296
+ * @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.user_profile.v1.ListUserProfilesResponse)}
297
+ * callback The callback function(error, response)
298
+ * @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.user_profile.v1.ListUserProfilesResponse>|undefined}
299
+ * The XHR Node Readable Stream
300
+ */
301
+ proto.meshtrade.iam.user_profile.v1.UserProfileServiceClient.prototype.listUserProfiles =
302
+ function(request, metadata, callback) {
303
+ return this.client_.rpcCall(this.hostname_ +
304
+ '/meshtrade.iam.user_profile.v1.UserProfileService/ListUserProfiles',
305
+ request,
306
+ metadata || {},
307
+ methodDescriptor_UserProfileService_ListUserProfiles,
308
+ callback);
309
+ };
310
+
311
+
312
+ /**
313
+ * @param {!proto.meshtrade.iam.user_profile.v1.ListUserProfilesRequest} request The
314
+ * request proto
315
+ * @param {?Object<string, string>=} metadata User defined
316
+ * call metadata
317
+ * @return {!Promise<!proto.meshtrade.iam.user_profile.v1.ListUserProfilesResponse>}
318
+ * Promise that resolves to the response
319
+ */
320
+ proto.meshtrade.iam.user_profile.v1.UserProfileServicePromiseClient.prototype.listUserProfiles =
321
+ function(request, metadata) {
322
+ return this.client_.unaryCall(this.hostname_ +
323
+ '/meshtrade.iam.user_profile.v1.UserProfileService/ListUserProfiles',
324
+ request,
325
+ metadata || {},
326
+ methodDescriptor_UserProfileService_ListUserProfiles);
327
+ };
328
+
329
+
330
+ module.exports = proto.meshtrade.iam.user_profile.v1;
331
+
@@ -0,0 +1,97 @@
1
+ import * as jspb from 'google-protobuf'
2
+
3
+ import * as buf_validate_validate_pb from '../../../../buf/validate/validate_pb'; // proto import: "buf/validate/validate.proto"
4
+ import * as meshtrade_iam_user_profile_v1_user_profile_pb from '../../../../meshtrade/iam/user_profile/v1/user_profile_pb'; // proto import: "meshtrade/iam/user_profile/v1/user_profile.proto"
5
+ import * as meshtrade_option_method_options_v1_method_options_pb from '../../../../meshtrade/option/method_options/v1/method_options_pb'; // proto import: "meshtrade/option/method_options/v1/method_options.proto"
6
+
7
+
8
+ export class GetUserProfileByUserRequest extends jspb.Message {
9
+ getUser(): string;
10
+ setUser(value: string): GetUserProfileByUserRequest;
11
+
12
+ serializeBinary(): Uint8Array;
13
+ toObject(includeInstance?: boolean): GetUserProfileByUserRequest.AsObject;
14
+ static toObject(includeInstance: boolean, msg: GetUserProfileByUserRequest): GetUserProfileByUserRequest.AsObject;
15
+ static serializeBinaryToWriter(message: GetUserProfileByUserRequest, writer: jspb.BinaryWriter): void;
16
+ static deserializeBinary(bytes: Uint8Array): GetUserProfileByUserRequest;
17
+ static deserializeBinaryFromReader(message: GetUserProfileByUserRequest, reader: jspb.BinaryReader): GetUserProfileByUserRequest;
18
+ }
19
+
20
+ export namespace GetUserProfileByUserRequest {
21
+ export type AsObject = {
22
+ user: string,
23
+ }
24
+ }
25
+
26
+ export class UpdateUserProfileRequest extends jspb.Message {
27
+ getUserProfile(): meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile | undefined;
28
+ setUserProfile(value?: meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile): UpdateUserProfileRequest;
29
+ hasUserProfile(): boolean;
30
+ clearUserProfile(): UpdateUserProfileRequest;
31
+
32
+ serializeBinary(): Uint8Array;
33
+ toObject(includeInstance?: boolean): UpdateUserProfileRequest.AsObject;
34
+ static toObject(includeInstance: boolean, msg: UpdateUserProfileRequest): UpdateUserProfileRequest.AsObject;
35
+ static serializeBinaryToWriter(message: UpdateUserProfileRequest, writer: jspb.BinaryWriter): void;
36
+ static deserializeBinary(bytes: Uint8Array): UpdateUserProfileRequest;
37
+ static deserializeBinaryFromReader(message: UpdateUserProfileRequest, reader: jspb.BinaryReader): UpdateUserProfileRequest;
38
+ }
39
+
40
+ export namespace UpdateUserProfileRequest {
41
+ export type AsObject = {
42
+ userProfile?: meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile.AsObject,
43
+ }
44
+ }
45
+
46
+ export class GetUserProfileRequest extends jspb.Message {
47
+ getName(): string;
48
+ setName(value: string): GetUserProfileRequest;
49
+
50
+ serializeBinary(): Uint8Array;
51
+ toObject(includeInstance?: boolean): GetUserProfileRequest.AsObject;
52
+ static toObject(includeInstance: boolean, msg: GetUserProfileRequest): GetUserProfileRequest.AsObject;
53
+ static serializeBinaryToWriter(message: GetUserProfileRequest, writer: jspb.BinaryWriter): void;
54
+ static deserializeBinary(bytes: Uint8Array): GetUserProfileRequest;
55
+ static deserializeBinaryFromReader(message: GetUserProfileRequest, reader: jspb.BinaryReader): GetUserProfileRequest;
56
+ }
57
+
58
+ export namespace GetUserProfileRequest {
59
+ export type AsObject = {
60
+ name: string,
61
+ }
62
+ }
63
+
64
+ export class ListUserProfilesRequest extends jspb.Message {
65
+ serializeBinary(): Uint8Array;
66
+ toObject(includeInstance?: boolean): ListUserProfilesRequest.AsObject;
67
+ static toObject(includeInstance: boolean, msg: ListUserProfilesRequest): ListUserProfilesRequest.AsObject;
68
+ static serializeBinaryToWriter(message: ListUserProfilesRequest, writer: jspb.BinaryWriter): void;
69
+ static deserializeBinary(bytes: Uint8Array): ListUserProfilesRequest;
70
+ static deserializeBinaryFromReader(message: ListUserProfilesRequest, reader: jspb.BinaryReader): ListUserProfilesRequest;
71
+ }
72
+
73
+ export namespace ListUserProfilesRequest {
74
+ export type AsObject = {
75
+ }
76
+ }
77
+
78
+ export class ListUserProfilesResponse extends jspb.Message {
79
+ getUserProfilesList(): Array<meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile>;
80
+ setUserProfilesList(value: Array<meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile>): ListUserProfilesResponse;
81
+ clearUserProfilesList(): ListUserProfilesResponse;
82
+ addUserProfiles(value?: meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile, index?: number): meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile;
83
+
84
+ serializeBinary(): Uint8Array;
85
+ toObject(includeInstance?: boolean): ListUserProfilesResponse.AsObject;
86
+ static toObject(includeInstance: boolean, msg: ListUserProfilesResponse): ListUserProfilesResponse.AsObject;
87
+ static serializeBinaryToWriter(message: ListUserProfilesResponse, writer: jspb.BinaryWriter): void;
88
+ static deserializeBinary(bytes: Uint8Array): ListUserProfilesResponse;
89
+ static deserializeBinaryFromReader(message: ListUserProfilesResponse, reader: jspb.BinaryReader): ListUserProfilesResponse;
90
+ }
91
+
92
+ export namespace ListUserProfilesResponse {
93
+ export type AsObject = {
94
+ userProfilesList: Array<meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile.AsObject>,
95
+ }
96
+ }
97
+