@meshtrade/api-old 1.57.0 → 1.59.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/client_pb.d.ts +41 -4
- package/dist/meshtrade/compliance/client/v1/client_pb.js +338 -54
- package/dist/meshtrade/compliance/client/v1/client_status_pb.d.ts +10 -0
- package/dist/meshtrade/compliance/client/v1/client_status_pb.js +35 -0
- package/dist/meshtrade/compliance/client/v1/company_pb.d.ts +24 -3
- package/dist/meshtrade/compliance/client/v1/company_pb.js +157 -16
- package/dist/meshtrade/compliance/client/v1/fund_pb.d.ts +6 -3
- package/dist/meshtrade/compliance/client/v1/fund_pb.js +46 -14
- package/dist/meshtrade/compliance/client/v1/index.d.ts +1 -0
- package/dist/meshtrade/compliance/client/v1/index.js +1 -0
- package/dist/meshtrade/compliance/client/v1/industry_classification_pb.d.ts +1 -0
- package/dist/meshtrade/compliance/client/v1/industry_classification_pb.js +2 -0
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.d.ts +25 -1
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.js +32 -0
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.d.ts +48 -0
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.js +246 -0
- package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +87 -0
- package/dist/meshtrade/compliance/client/v1/service_pb.js +738 -0
- package/dist/meshtrade/compliance/client/v1/trust_pb.d.ts +6 -3
- package/dist/meshtrade/compliance/client/v1/trust_pb.js +46 -14
- package/dist/meshtrade/iam/group/v1/service_pb.d.ts +6 -0
- package/dist/meshtrade/iam/group/v1/service_pb.js +58 -2
- package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_client_meshts.d.ts +7 -1
- package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_client_meshts.js +8 -0
- package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_pb.d.ts +12 -0
- package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_pb.js +61 -0
- package/dist/meshtrade/iam/user_profile/v1/service_pb.d.ts +48 -0
- package/dist/meshtrade/iam/user_profile/v1/service_pb.js +420 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import * as jspb from 'google-protobuf'
|
|
|
2
2
|
|
|
3
3
|
import * as buf_validate_validate_pb from '../../../../buf/validate/validate_pb'; // proto import: "buf/validate/validate.proto"
|
|
4
4
|
import * as google_type_date_pb from '../../../../google/type/date_pb'; // proto import: "google/type/date.proto"
|
|
5
|
+
import * as meshtrade_compliance_client_v1_tax_residency_pb from '../../../../meshtrade/compliance/client/v1/tax_residency_pb'; // proto import: "meshtrade/compliance/client/v1/tax_residency.proto"
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
export class Trust extends jspb.Message {
|
|
@@ -11,8 +12,10 @@ export class Trust extends jspb.Message {
|
|
|
11
12
|
getRegistrationNumber(): string;
|
|
12
13
|
setRegistrationNumber(value: string): Trust;
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
getTaxResidenciesList(): Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency>;
|
|
16
|
+
setTaxResidenciesList(value: Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency>): Trust;
|
|
17
|
+
clearTaxResidenciesList(): Trust;
|
|
18
|
+
addTaxResidencies(value?: meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency, index?: number): meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency;
|
|
16
19
|
|
|
17
20
|
getCountryOfDomicile(): string;
|
|
18
21
|
setCountryOfDomicile(value: string): Trust;
|
|
@@ -34,7 +37,7 @@ export namespace Trust {
|
|
|
34
37
|
export type AsObject = {
|
|
35
38
|
registeredName: string,
|
|
36
39
|
registrationNumber: string,
|
|
37
|
-
|
|
40
|
+
taxResidenciesList: Array<meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.AsObject>,
|
|
38
41
|
countryOfDomicile: string,
|
|
39
42
|
dateOfInception?: google_type_date_pb.Date.AsObject,
|
|
40
43
|
}
|
|
@@ -25,6 +25,8 @@ var buf_validate_validate_pb = require('../../../../buf/validate/validate_pb.js'
|
|
|
25
25
|
goog.object.extend(proto, buf_validate_validate_pb);
|
|
26
26
|
var google_type_date_pb = require('../../../../google/type/date_pb.js');
|
|
27
27
|
goog.object.extend(proto, google_type_date_pb);
|
|
28
|
+
var meshtrade_compliance_client_v1_tax_residency_pb = require('../../../../meshtrade/compliance/client/v1/tax_residency_pb.js');
|
|
29
|
+
goog.object.extend(proto, meshtrade_compliance_client_v1_tax_residency_pb);
|
|
28
30
|
goog.exportSymbol('proto.meshtrade.compliance.client.v1.Trust', null, global);
|
|
29
31
|
/**
|
|
30
32
|
* Generated by JsPbCodeGenerator.
|
|
@@ -37,7 +39,7 @@ goog.exportSymbol('proto.meshtrade.compliance.client.v1.Trust', null, global);
|
|
|
37
39
|
* @constructor
|
|
38
40
|
*/
|
|
39
41
|
proto.meshtrade.compliance.client.v1.Trust = function(opt_data) {
|
|
40
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
42
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.compliance.client.v1.Trust.repeatedFields_, null);
|
|
41
43
|
};
|
|
42
44
|
goog.inherits(proto.meshtrade.compliance.client.v1.Trust, jspb.Message);
|
|
43
45
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -48,6 +50,13 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
48
50
|
proto.meshtrade.compliance.client.v1.Trust.displayName = 'proto.meshtrade.compliance.client.v1.Trust';
|
|
49
51
|
}
|
|
50
52
|
|
|
53
|
+
/**
|
|
54
|
+
* List of repeated fields within this message type.
|
|
55
|
+
* @private {!Array<number>}
|
|
56
|
+
* @const
|
|
57
|
+
*/
|
|
58
|
+
proto.meshtrade.compliance.client.v1.Trust.repeatedFields_ = [3];
|
|
59
|
+
|
|
51
60
|
|
|
52
61
|
|
|
53
62
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -81,7 +90,8 @@ proto.meshtrade.compliance.client.v1.Trust.toObject = function(includeInstance,
|
|
|
81
90
|
var f, obj = {
|
|
82
91
|
registeredName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
83
92
|
registrationNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84
|
-
|
|
93
|
+
taxResidenciesList: jspb.Message.toObjectList(msg.getTaxResidenciesList(),
|
|
94
|
+
meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.toObject, includeInstance),
|
|
85
95
|
countryOfDomicile: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
86
96
|
dateOfInception: (f = msg.getDateOfInception()) && google_type_date_pb.Date.toObject(includeInstance, f)
|
|
87
97
|
};
|
|
@@ -129,8 +139,9 @@ proto.meshtrade.compliance.client.v1.Trust.deserializeBinaryFromReader = functio
|
|
|
129
139
|
msg.setRegistrationNumber(value);
|
|
130
140
|
break;
|
|
131
141
|
case 3:
|
|
132
|
-
var value =
|
|
133
|
-
|
|
142
|
+
var value = new meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency;
|
|
143
|
+
reader.readMessage(value,meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.deserializeBinaryFromReader);
|
|
144
|
+
msg.addTaxResidencies(value);
|
|
134
145
|
break;
|
|
135
146
|
case 4:
|
|
136
147
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -184,11 +195,12 @@ proto.meshtrade.compliance.client.v1.Trust.serializeBinaryToWriter = function(me
|
|
|
184
195
|
f
|
|
185
196
|
);
|
|
186
197
|
}
|
|
187
|
-
f = message.
|
|
198
|
+
f = message.getTaxResidenciesList();
|
|
188
199
|
if (f.length > 0) {
|
|
189
|
-
writer.
|
|
200
|
+
writer.writeRepeatedMessage(
|
|
190
201
|
3,
|
|
191
|
-
f
|
|
202
|
+
f,
|
|
203
|
+
meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency.serializeBinaryToWriter
|
|
192
204
|
);
|
|
193
205
|
}
|
|
194
206
|
f = message.getCountryOfDomicile();
|
|
@@ -246,20 +258,40 @@ proto.meshtrade.compliance.client.v1.Trust.prototype.setRegistrationNumber = fun
|
|
|
246
258
|
|
|
247
259
|
|
|
248
260
|
/**
|
|
249
|
-
*
|
|
250
|
-
* @return {
|
|
261
|
+
* repeated TaxResidency tax_residencies = 3;
|
|
262
|
+
* @return {!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>}
|
|
251
263
|
*/
|
|
252
|
-
proto.meshtrade.compliance.client.v1.Trust.prototype.
|
|
253
|
-
return /** @type
|
|
264
|
+
proto.meshtrade.compliance.client.v1.Trust.prototype.getTaxResidenciesList = function() {
|
|
265
|
+
return /** @type{!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>} */ (
|
|
266
|
+
jspb.Message.getRepeatedWrapperField(this, meshtrade_compliance_client_v1_tax_residency_pb.TaxResidency, 3));
|
|
254
267
|
};
|
|
255
268
|
|
|
256
269
|
|
|
257
270
|
/**
|
|
258
|
-
* @param {
|
|
271
|
+
* @param {!Array<!proto.meshtrade.compliance.client.v1.TaxResidency>} value
|
|
272
|
+
* @return {!proto.meshtrade.compliance.client.v1.Trust} returns this
|
|
273
|
+
*/
|
|
274
|
+
proto.meshtrade.compliance.client.v1.Trust.prototype.setTaxResidenciesList = function(value) {
|
|
275
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @param {!proto.meshtrade.compliance.client.v1.TaxResidency=} opt_value
|
|
281
|
+
* @param {number=} opt_index
|
|
282
|
+
* @return {!proto.meshtrade.compliance.client.v1.TaxResidency}
|
|
283
|
+
*/
|
|
284
|
+
proto.meshtrade.compliance.client.v1.Trust.prototype.addTaxResidencies = function(opt_value, opt_index) {
|
|
285
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.meshtrade.compliance.client.v1.TaxResidency, opt_index);
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Clears the list making it empty but non-null.
|
|
259
291
|
* @return {!proto.meshtrade.compliance.client.v1.Trust} returns this
|
|
260
292
|
*/
|
|
261
|
-
proto.meshtrade.compliance.client.v1.Trust.prototype.
|
|
262
|
-
return
|
|
293
|
+
proto.meshtrade.compliance.client.v1.Trust.prototype.clearTaxResidenciesList = function() {
|
|
294
|
+
return this.setTaxResidenciesList([]);
|
|
263
295
|
};
|
|
264
296
|
|
|
265
297
|
|
|
@@ -121,6 +121,11 @@ export class SearchGroupsRequest extends jspb.Message {
|
|
|
121
121
|
hasSorting(): boolean;
|
|
122
122
|
clearSorting(): SearchGroupsRequest;
|
|
123
123
|
|
|
124
|
+
getNamesList(): Array<string>;
|
|
125
|
+
setNamesList(value: Array<string>): SearchGroupsRequest;
|
|
126
|
+
clearNamesList(): SearchGroupsRequest;
|
|
127
|
+
addNames(value: string, index?: number): SearchGroupsRequest;
|
|
128
|
+
|
|
124
129
|
serializeBinary(): Uint8Array;
|
|
125
130
|
toObject(includeInstance?: boolean): SearchGroupsRequest.AsObject;
|
|
126
131
|
static toObject(includeInstance: boolean, msg: SearchGroupsRequest): SearchGroupsRequest.AsObject;
|
|
@@ -134,6 +139,7 @@ export namespace SearchGroupsRequest {
|
|
|
134
139
|
displayName: string,
|
|
135
140
|
description: string,
|
|
136
141
|
sorting?: SearchGroupsRequest.Sorting.AsObject,
|
|
142
|
+
namesList: Array<string>,
|
|
137
143
|
}
|
|
138
144
|
|
|
139
145
|
export class Sorting extends jspb.Message {
|
|
@@ -154,7 +154,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
154
154
|
* @constructor
|
|
155
155
|
*/
|
|
156
156
|
proto.meshtrade.iam.group.v1.SearchGroupsRequest = function(opt_data) {
|
|
157
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
157
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.iam.group.v1.SearchGroupsRequest.repeatedFields_, null);
|
|
158
158
|
};
|
|
159
159
|
goog.inherits(proto.meshtrade.iam.group.v1.SearchGroupsRequest, jspb.Message);
|
|
160
160
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1001,6 +1001,13 @@ proto.meshtrade.iam.group.v1.ListGroupsResponse.prototype.clearGroupsList = func
|
|
|
1001
1001
|
|
|
1002
1002
|
|
|
1003
1003
|
|
|
1004
|
+
/**
|
|
1005
|
+
* List of repeated fields within this message type.
|
|
1006
|
+
* @private {!Array<number>}
|
|
1007
|
+
* @const
|
|
1008
|
+
*/
|
|
1009
|
+
proto.meshtrade.iam.group.v1.SearchGroupsRequest.repeatedFields_ = [4];
|
|
1010
|
+
|
|
1004
1011
|
|
|
1005
1012
|
|
|
1006
1013
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1034,7 +1041,8 @@ proto.meshtrade.iam.group.v1.SearchGroupsRequest.toObject = function(includeInst
|
|
|
1034
1041
|
var f, obj = {
|
|
1035
1042
|
displayName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1036
1043
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1037
|
-
sorting: (f = msg.getSorting()) && proto.meshtrade.iam.group.v1.SearchGroupsRequest.Sorting.toObject(includeInstance, f)
|
|
1044
|
+
sorting: (f = msg.getSorting()) && proto.meshtrade.iam.group.v1.SearchGroupsRequest.Sorting.toObject(includeInstance, f),
|
|
1045
|
+
namesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
1038
1046
|
};
|
|
1039
1047
|
|
|
1040
1048
|
if (includeInstance) {
|
|
@@ -1084,6 +1092,10 @@ proto.meshtrade.iam.group.v1.SearchGroupsRequest.deserializeBinaryFromReader = f
|
|
|
1084
1092
|
reader.readMessage(value,proto.meshtrade.iam.group.v1.SearchGroupsRequest.Sorting.deserializeBinaryFromReader);
|
|
1085
1093
|
msg.setSorting(value);
|
|
1086
1094
|
break;
|
|
1095
|
+
case 4:
|
|
1096
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1097
|
+
msg.addNames(value);
|
|
1098
|
+
break;
|
|
1087
1099
|
default:
|
|
1088
1100
|
reader.skipField();
|
|
1089
1101
|
break;
|
|
@@ -1135,6 +1147,13 @@ proto.meshtrade.iam.group.v1.SearchGroupsRequest.serializeBinaryToWriter = funct
|
|
|
1135
1147
|
proto.meshtrade.iam.group.v1.SearchGroupsRequest.Sorting.serializeBinaryToWriter
|
|
1136
1148
|
);
|
|
1137
1149
|
}
|
|
1150
|
+
f = message.getNamesList();
|
|
1151
|
+
if (f.length > 0) {
|
|
1152
|
+
writer.writeRepeatedString(
|
|
1153
|
+
4,
|
|
1154
|
+
f
|
|
1155
|
+
);
|
|
1156
|
+
}
|
|
1138
1157
|
};
|
|
1139
1158
|
|
|
1140
1159
|
|
|
@@ -1371,6 +1390,43 @@ proto.meshtrade.iam.group.v1.SearchGroupsRequest.prototype.hasSorting = function
|
|
|
1371
1390
|
};
|
|
1372
1391
|
|
|
1373
1392
|
|
|
1393
|
+
/**
|
|
1394
|
+
* repeated string names = 4;
|
|
1395
|
+
* @return {!Array<string>}
|
|
1396
|
+
*/
|
|
1397
|
+
proto.meshtrade.iam.group.v1.SearchGroupsRequest.prototype.getNamesList = function() {
|
|
1398
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
/**
|
|
1403
|
+
* @param {!Array<string>} value
|
|
1404
|
+
* @return {!proto.meshtrade.iam.group.v1.SearchGroupsRequest} returns this
|
|
1405
|
+
*/
|
|
1406
|
+
proto.meshtrade.iam.group.v1.SearchGroupsRequest.prototype.setNamesList = function(value) {
|
|
1407
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
1408
|
+
};
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* @param {string} value
|
|
1413
|
+
* @param {number=} opt_index
|
|
1414
|
+
* @return {!proto.meshtrade.iam.group.v1.SearchGroupsRequest} returns this
|
|
1415
|
+
*/
|
|
1416
|
+
proto.meshtrade.iam.group.v1.SearchGroupsRequest.prototype.addNames = function(value, opt_index) {
|
|
1417
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
1418
|
+
};
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* Clears the list making it empty but non-null.
|
|
1423
|
+
* @return {!proto.meshtrade.iam.group.v1.SearchGroupsRequest} returns this
|
|
1424
|
+
*/
|
|
1425
|
+
proto.meshtrade.iam.group.v1.SearchGroupsRequest.prototype.clearNamesList = function() {
|
|
1426
|
+
return this.setNamesList([]);
|
|
1427
|
+
};
|
|
1428
|
+
|
|
1429
|
+
|
|
1374
1430
|
|
|
1375
1431
|
/**
|
|
1376
1432
|
* List of repeated fields within this message type.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetUserProfileByUserRequest, GetUserProfilePictureUploadUrlRequest, GetUserProfilePictureUploadUrlResponse, GetUserProfileRequest, ListUserProfilesRequest, ListUserProfilesResponse, UpdateUserProfileRequest } from "./service_pb";
|
|
1
|
+
import { GetUserProfileByUserRequest, GetUserProfilePictureUploadUrlRequest, GetUserProfilePictureUploadUrlResponse, GetUserProfileRequest, ListUserProfilesRequest, ListUserProfilesResponse, SearchUserProfilesRequest, SearchUserProfilesResponse, UpdateUserProfileRequest } from "./service_pb";
|
|
2
2
|
import { UserProfile } from "./user_profile_pb";
|
|
3
3
|
import { UnaryInterceptor } from "grpc-web";
|
|
4
4
|
import { ConfigOpts } from "../../../common/config";
|
|
@@ -50,6 +50,12 @@ export declare class UserProfileServiceGrpcWebClientV1 {
|
|
|
50
50
|
* @returns {Promise<ListUserProfilesResponse>} A promise that resolves with the list of user profiles.
|
|
51
51
|
*/
|
|
52
52
|
listUserProfiles(request: ListUserProfilesRequest): Promise<ListUserProfilesResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Searches for user profiles.
|
|
55
|
+
* @param {SearchUserProfilesRequest} request - The request object for searchuserprofiles.
|
|
56
|
+
* @returns {Promise<SearchUserProfilesResponse>} A promise that resolves with the search results.
|
|
57
|
+
*/
|
|
58
|
+
searchUserProfiles(request: SearchUserProfilesRequest): Promise<SearchUserProfilesResponse>;
|
|
53
59
|
/**
|
|
54
60
|
* Retrieves an user profile.
|
|
55
61
|
* @param {GetUserProfilePictureUploadUrlRequest} request - The request object for getuserprofilepictureuploadurl.
|
|
@@ -92,6 +92,14 @@ class UserProfileServiceGrpcWebClientV1 {
|
|
|
92
92
|
listUserProfiles(request) {
|
|
93
93
|
return this._service.listUserProfiles(request);
|
|
94
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* Searches for user profiles.
|
|
97
|
+
* @param {SearchUserProfilesRequest} request - The request object for searchuserprofiles.
|
|
98
|
+
* @returns {Promise<SearchUserProfilesResponse>} A promise that resolves with the search results.
|
|
99
|
+
*/
|
|
100
|
+
searchUserProfiles(request) {
|
|
101
|
+
return this._service.searchUserProfiles(request);
|
|
102
|
+
}
|
|
95
103
|
/**
|
|
96
104
|
* Retrieves an user profile.
|
|
97
105
|
* @param {GetUserProfilePictureUploadUrlRequest} request - The request object for getuserprofilepictureuploadurl.
|
|
@@ -37,6 +37,13 @@ export class UserProfileServiceClient {
|
|
|
37
37
|
response: meshtrade_iam_user_profile_v1_service_pb.ListUserProfilesResponse) => void
|
|
38
38
|
): grpcWeb.ClientReadableStream<meshtrade_iam_user_profile_v1_service_pb.ListUserProfilesResponse>;
|
|
39
39
|
|
|
40
|
+
searchUserProfiles(
|
|
41
|
+
request: meshtrade_iam_user_profile_v1_service_pb.SearchUserProfilesRequest,
|
|
42
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
43
|
+
callback: (err: grpcWeb.RpcError,
|
|
44
|
+
response: meshtrade_iam_user_profile_v1_service_pb.SearchUserProfilesResponse) => void
|
|
45
|
+
): grpcWeb.ClientReadableStream<meshtrade_iam_user_profile_v1_service_pb.SearchUserProfilesResponse>;
|
|
46
|
+
|
|
40
47
|
getUserProfilePictureUploadUrl(
|
|
41
48
|
request: meshtrade_iam_user_profile_v1_service_pb.GetUserProfilePictureUploadUrlRequest,
|
|
42
49
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -71,6 +78,11 @@ export class UserProfileServicePromiseClient {
|
|
|
71
78
|
metadata?: grpcWeb.Metadata
|
|
72
79
|
): Promise<meshtrade_iam_user_profile_v1_service_pb.ListUserProfilesResponse>;
|
|
73
80
|
|
|
81
|
+
searchUserProfiles(
|
|
82
|
+
request: meshtrade_iam_user_profile_v1_service_pb.SearchUserProfilesRequest,
|
|
83
|
+
metadata?: grpcWeb.Metadata
|
|
84
|
+
): Promise<meshtrade_iam_user_profile_v1_service_pb.SearchUserProfilesResponse>;
|
|
85
|
+
|
|
74
86
|
getUserProfilePictureUploadUrl(
|
|
75
87
|
request: meshtrade_iam_user_profile_v1_service_pb.GetUserProfilePictureUploadUrlRequest,
|
|
76
88
|
metadata?: grpcWeb.Metadata
|
|
@@ -329,6 +329,67 @@ proto.meshtrade.iam.user_profile.v1.UserProfileServicePromiseClient.prototype.li
|
|
|
329
329
|
};
|
|
330
330
|
|
|
331
331
|
|
|
332
|
+
/**
|
|
333
|
+
* @const
|
|
334
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
335
|
+
* !proto.meshtrade.iam.user_profile.v1.SearchUserProfilesRequest,
|
|
336
|
+
* !proto.meshtrade.iam.user_profile.v1.SearchUserProfilesResponse>}
|
|
337
|
+
*/
|
|
338
|
+
const methodDescriptor_UserProfileService_SearchUserProfiles = new grpc.web.MethodDescriptor(
|
|
339
|
+
'/meshtrade.iam.user_profile.v1.UserProfileService/SearchUserProfiles',
|
|
340
|
+
grpc.web.MethodType.UNARY,
|
|
341
|
+
proto.meshtrade.iam.user_profile.v1.SearchUserProfilesRequest,
|
|
342
|
+
proto.meshtrade.iam.user_profile.v1.SearchUserProfilesResponse,
|
|
343
|
+
/**
|
|
344
|
+
* @param {!proto.meshtrade.iam.user_profile.v1.SearchUserProfilesRequest} request
|
|
345
|
+
* @return {!Uint8Array}
|
|
346
|
+
*/
|
|
347
|
+
function(request) {
|
|
348
|
+
return request.serializeBinary();
|
|
349
|
+
},
|
|
350
|
+
proto.meshtrade.iam.user_profile.v1.SearchUserProfilesResponse.deserializeBinary
|
|
351
|
+
);
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* @param {!proto.meshtrade.iam.user_profile.v1.SearchUserProfilesRequest} request The
|
|
356
|
+
* request proto
|
|
357
|
+
* @param {?Object<string, string>} metadata User defined
|
|
358
|
+
* call metadata
|
|
359
|
+
* @param {function(?grpc.web.RpcError, ?proto.meshtrade.iam.user_profile.v1.SearchUserProfilesResponse)}
|
|
360
|
+
* callback The callback function(error, response)
|
|
361
|
+
* @return {!grpc.web.ClientReadableStream<!proto.meshtrade.iam.user_profile.v1.SearchUserProfilesResponse>|undefined}
|
|
362
|
+
* The XHR Node Readable Stream
|
|
363
|
+
*/
|
|
364
|
+
proto.meshtrade.iam.user_profile.v1.UserProfileServiceClient.prototype.searchUserProfiles =
|
|
365
|
+
function(request, metadata, callback) {
|
|
366
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
367
|
+
'/meshtrade.iam.user_profile.v1.UserProfileService/SearchUserProfiles',
|
|
368
|
+
request,
|
|
369
|
+
metadata || {},
|
|
370
|
+
methodDescriptor_UserProfileService_SearchUserProfiles,
|
|
371
|
+
callback);
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @param {!proto.meshtrade.iam.user_profile.v1.SearchUserProfilesRequest} request The
|
|
377
|
+
* request proto
|
|
378
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
379
|
+
* call metadata
|
|
380
|
+
* @return {!Promise<!proto.meshtrade.iam.user_profile.v1.SearchUserProfilesResponse>}
|
|
381
|
+
* Promise that resolves to the response
|
|
382
|
+
*/
|
|
383
|
+
proto.meshtrade.iam.user_profile.v1.UserProfileServicePromiseClient.prototype.searchUserProfiles =
|
|
384
|
+
function(request, metadata) {
|
|
385
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
386
|
+
'/meshtrade.iam.user_profile.v1.UserProfileService/SearchUserProfiles',
|
|
387
|
+
request,
|
|
388
|
+
metadata || {},
|
|
389
|
+
methodDescriptor_UserProfileService_SearchUserProfiles);
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
|
|
332
393
|
/**
|
|
333
394
|
* @const
|
|
334
395
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -138,3 +138,51 @@ export namespace GetUserProfilePictureUploadUrlResponse {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
export class SearchUserProfilesRequest extends jspb.Message {
|
|
142
|
+
getFirstName(): string;
|
|
143
|
+
setFirstName(value: string): SearchUserProfilesRequest;
|
|
144
|
+
|
|
145
|
+
getLastName(): string;
|
|
146
|
+
setLastName(value: string): SearchUserProfilesRequest;
|
|
147
|
+
|
|
148
|
+
getUsersList(): Array<string>;
|
|
149
|
+
setUsersList(value: Array<string>): SearchUserProfilesRequest;
|
|
150
|
+
clearUsersList(): SearchUserProfilesRequest;
|
|
151
|
+
addUsers(value: string, index?: number): SearchUserProfilesRequest;
|
|
152
|
+
|
|
153
|
+
serializeBinary(): Uint8Array;
|
|
154
|
+
toObject(includeInstance?: boolean): SearchUserProfilesRequest.AsObject;
|
|
155
|
+
static toObject(includeInstance: boolean, msg: SearchUserProfilesRequest): SearchUserProfilesRequest.AsObject;
|
|
156
|
+
static serializeBinaryToWriter(message: SearchUserProfilesRequest, writer: jspb.BinaryWriter): void;
|
|
157
|
+
static deserializeBinary(bytes: Uint8Array): SearchUserProfilesRequest;
|
|
158
|
+
static deserializeBinaryFromReader(message: SearchUserProfilesRequest, reader: jspb.BinaryReader): SearchUserProfilesRequest;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export namespace SearchUserProfilesRequest {
|
|
162
|
+
export type AsObject = {
|
|
163
|
+
firstName: string,
|
|
164
|
+
lastName: string,
|
|
165
|
+
usersList: Array<string>,
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export class SearchUserProfilesResponse extends jspb.Message {
|
|
170
|
+
getUserProfilesList(): Array<meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile>;
|
|
171
|
+
setUserProfilesList(value: Array<meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile>): SearchUserProfilesResponse;
|
|
172
|
+
clearUserProfilesList(): SearchUserProfilesResponse;
|
|
173
|
+
addUserProfiles(value?: meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile, index?: number): meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile;
|
|
174
|
+
|
|
175
|
+
serializeBinary(): Uint8Array;
|
|
176
|
+
toObject(includeInstance?: boolean): SearchUserProfilesResponse.AsObject;
|
|
177
|
+
static toObject(includeInstance: boolean, msg: SearchUserProfilesResponse): SearchUserProfilesResponse.AsObject;
|
|
178
|
+
static serializeBinaryToWriter(message: SearchUserProfilesResponse, writer: jspb.BinaryWriter): void;
|
|
179
|
+
static deserializeBinary(bytes: Uint8Array): SearchUserProfilesResponse;
|
|
180
|
+
static deserializeBinaryFromReader(message: SearchUserProfilesResponse, reader: jspb.BinaryReader): SearchUserProfilesResponse;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export namespace SearchUserProfilesResponse {
|
|
184
|
+
export type AsObject = {
|
|
185
|
+
userProfilesList: Array<meshtrade_iam_user_profile_v1_user_profile_pb.UserProfile.AsObject>,
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|