@meshtrade/api-old 1.41.0 → 1.43.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_grpc_web_client_meshts.d.ts +7 -1
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.js +8 -0
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.d.ts +12 -0
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.js +61 -0
- package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +18 -0
- package/dist/meshtrade/compliance/client/v1/service_pb.js +152 -0
- package/dist/meshtrade/option/method_options/v1/method_options_pb.d.ts +8 -0
- package/dist/meshtrade/option/method_options/v1/method_options_pb.js +40 -1
- package/package.json +1 -1
|
@@ -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 { UnaryInterceptor } from "grpc-web";
|
|
4
4
|
import { ConfigOpts } from "../../../common/config";
|
|
@@ -38,6 +38,12 @@ export declare class ClientServiceGrpcWebClientV1 {
|
|
|
38
38
|
* @returns {Promise<Client>} A promise that resolves with the client.
|
|
39
39
|
*/
|
|
40
40
|
getClient(request: GetClientRequest): Promise<Client>;
|
|
41
|
+
/**
|
|
42
|
+
* Retrieves a client.
|
|
43
|
+
* @param {GetGroupClientRequest} request - The request object for getgroupclient.
|
|
44
|
+
* @returns {Promise<Client>} A promise that resolves with the client.
|
|
45
|
+
*/
|
|
46
|
+
getGroupClient(request: GetGroupClientRequest): Promise<Client>;
|
|
41
47
|
/**
|
|
42
48
|
* Retrieves a list of clients.
|
|
43
49
|
* @param {ListClientsRequest} request - The request object for listclients.
|
|
@@ -76,6 +76,14 @@ class ClientServiceGrpcWebClientV1 {
|
|
|
76
76
|
getClient(request) {
|
|
77
77
|
return this._service.getClient(request);
|
|
78
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* Retrieves a client.
|
|
81
|
+
* @param {GetGroupClientRequest} request - The request object for getgroupclient.
|
|
82
|
+
* @returns {Promise<Client>} A promise that resolves with the client.
|
|
83
|
+
*/
|
|
84
|
+
getGroupClient(request) {
|
|
85
|
+
return this._service.getGroupClient(request);
|
|
86
|
+
}
|
|
79
87
|
/**
|
|
80
88
|
* Retrieves a list of clients.
|
|
81
89
|
* @param {ListClientsRequest} request - The request object for listclients.
|
|
@@ -23,6 +23,13 @@ export class ClientServiceClient {
|
|
|
23
23
|
response: meshtrade_compliance_client_v1_client_pb.Client) => void
|
|
24
24
|
): grpcWeb.ClientReadableStream<meshtrade_compliance_client_v1_client_pb.Client>;
|
|
25
25
|
|
|
26
|
+
getGroupClient(
|
|
27
|
+
request: meshtrade_compliance_client_v1_service_pb.GetGroupClientRequest,
|
|
28
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
29
|
+
callback: (err: grpcWeb.RpcError,
|
|
30
|
+
response: meshtrade_compliance_client_v1_client_pb.Client) => void
|
|
31
|
+
): grpcWeb.ClientReadableStream<meshtrade_compliance_client_v1_client_pb.Client>;
|
|
32
|
+
|
|
26
33
|
listClients(
|
|
27
34
|
request: meshtrade_compliance_client_v1_service_pb.ListClientsRequest,
|
|
28
35
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -47,6 +54,11 @@ export class ClientServicePromiseClient {
|
|
|
47
54
|
metadata?: grpcWeb.Metadata
|
|
48
55
|
): Promise<meshtrade_compliance_client_v1_client_pb.Client>;
|
|
49
56
|
|
|
57
|
+
getGroupClient(
|
|
58
|
+
request: meshtrade_compliance_client_v1_service_pb.GetGroupClientRequest,
|
|
59
|
+
metadata?: grpcWeb.Metadata
|
|
60
|
+
): Promise<meshtrade_compliance_client_v1_client_pb.Client>;
|
|
61
|
+
|
|
50
62
|
listClients(
|
|
51
63
|
request: meshtrade_compliance_client_v1_service_pb.ListClientsRequest,
|
|
52
64
|
metadata?: grpcWeb.Metadata
|
|
@@ -205,6 +205,67 @@ proto.meshtrade.compliance.client.v1.ClientServicePromiseClient.prototype.getCli
|
|
|
205
205
|
};
|
|
206
206
|
|
|
207
207
|
|
|
208
|
+
/**
|
|
209
|
+
* @const
|
|
210
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
211
|
+
* !proto.meshtrade.compliance.client.v1.GetGroupClientRequest,
|
|
212
|
+
* !proto.meshtrade.compliance.client.v1.Client>}
|
|
213
|
+
*/
|
|
214
|
+
const methodDescriptor_ClientService_GetGroupClient = new grpc.web.MethodDescriptor(
|
|
215
|
+
'/meshtrade.compliance.client.v1.ClientService/GetGroupClient',
|
|
216
|
+
grpc.web.MethodType.UNARY,
|
|
217
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest,
|
|
218
|
+
meshtrade_compliance_client_v1_client_pb.Client,
|
|
219
|
+
/**
|
|
220
|
+
* @param {!proto.meshtrade.compliance.client.v1.GetGroupClientRequest} request
|
|
221
|
+
* @return {!Uint8Array}
|
|
222
|
+
*/
|
|
223
|
+
function(request) {
|
|
224
|
+
return request.serializeBinary();
|
|
225
|
+
},
|
|
226
|
+
meshtrade_compliance_client_v1_client_pb.Client.deserializeBinary
|
|
227
|
+
);
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* @param {!proto.meshtrade.compliance.client.v1.GetGroupClientRequest} request The
|
|
232
|
+
* request proto
|
|
233
|
+
* @param {?Object<string, string>} metadata User defined
|
|
234
|
+
* call metadata
|
|
235
|
+
* @param {function(?grpc.web.RpcError, ?proto.meshtrade.compliance.client.v1.Client)}
|
|
236
|
+
* callback The callback function(error, response)
|
|
237
|
+
* @return {!grpc.web.ClientReadableStream<!proto.meshtrade.compliance.client.v1.Client>|undefined}
|
|
238
|
+
* The XHR Node Readable Stream
|
|
239
|
+
*/
|
|
240
|
+
proto.meshtrade.compliance.client.v1.ClientServiceClient.prototype.getGroupClient =
|
|
241
|
+
function(request, metadata, callback) {
|
|
242
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
243
|
+
'/meshtrade.compliance.client.v1.ClientService/GetGroupClient',
|
|
244
|
+
request,
|
|
245
|
+
metadata || {},
|
|
246
|
+
methodDescriptor_ClientService_GetGroupClient,
|
|
247
|
+
callback);
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* @param {!proto.meshtrade.compliance.client.v1.GetGroupClientRequest} request The
|
|
253
|
+
* request proto
|
|
254
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
255
|
+
* call metadata
|
|
256
|
+
* @return {!Promise<!proto.meshtrade.compliance.client.v1.Client>}
|
|
257
|
+
* Promise that resolves to the response
|
|
258
|
+
*/
|
|
259
|
+
proto.meshtrade.compliance.client.v1.ClientServicePromiseClient.prototype.getGroupClient =
|
|
260
|
+
function(request, metadata) {
|
|
261
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
262
|
+
'/meshtrade.compliance.client.v1.ClientService/GetGroupClient',
|
|
263
|
+
request,
|
|
264
|
+
metadata || {},
|
|
265
|
+
methodDescriptor_ClientService_GetGroupClient);
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
|
|
208
269
|
/**
|
|
209
270
|
* @const
|
|
210
271
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -43,6 +43,24 @@ export namespace CreateClientRequest {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
export class GetGroupClientRequest extends jspb.Message {
|
|
47
|
+
getGroup(): string;
|
|
48
|
+
setGroup(value: string): GetGroupClientRequest;
|
|
49
|
+
|
|
50
|
+
serializeBinary(): Uint8Array;
|
|
51
|
+
toObject(includeInstance?: boolean): GetGroupClientRequest.AsObject;
|
|
52
|
+
static toObject(includeInstance: boolean, msg: GetGroupClientRequest): GetGroupClientRequest.AsObject;
|
|
53
|
+
static serializeBinaryToWriter(message: GetGroupClientRequest, writer: jspb.BinaryWriter): void;
|
|
54
|
+
static deserializeBinary(bytes: Uint8Array): GetGroupClientRequest;
|
|
55
|
+
static deserializeBinaryFromReader(message: GetGroupClientRequest, reader: jspb.BinaryReader): GetGroupClientRequest;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export namespace GetGroupClientRequest {
|
|
59
|
+
export type AsObject = {
|
|
60
|
+
group: string,
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
46
64
|
export class ListClientsRequest extends jspb.Message {
|
|
47
65
|
serializeBinary(): Uint8Array;
|
|
48
66
|
toObject(includeInstance?: boolean): ListClientsRequest.AsObject;
|
|
@@ -29,6 +29,7 @@ var meshtrade_option_method_options_v1_method_options_pb = require('../../../../
|
|
|
29
29
|
goog.object.extend(proto, meshtrade_option_method_options_v1_method_options_pb);
|
|
30
30
|
goog.exportSymbol('proto.meshtrade.compliance.client.v1.CreateClientRequest', null, global);
|
|
31
31
|
goog.exportSymbol('proto.meshtrade.compliance.client.v1.GetClientRequest', null, global);
|
|
32
|
+
goog.exportSymbol('proto.meshtrade.compliance.client.v1.GetGroupClientRequest', null, global);
|
|
32
33
|
goog.exportSymbol('proto.meshtrade.compliance.client.v1.ListClientsRequest', null, global);
|
|
33
34
|
goog.exportSymbol('proto.meshtrade.compliance.client.v1.ListClientsResponse', null, global);
|
|
34
35
|
/**
|
|
@@ -73,6 +74,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
73
74
|
*/
|
|
74
75
|
proto.meshtrade.compliance.client.v1.CreateClientRequest.displayName = 'proto.meshtrade.compliance.client.v1.CreateClientRequest';
|
|
75
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* Generated by JsPbCodeGenerator.
|
|
79
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
80
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
81
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
82
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
83
|
+
* valid.
|
|
84
|
+
* @extends {jspb.Message}
|
|
85
|
+
* @constructor
|
|
86
|
+
*/
|
|
87
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest = function(opt_data) {
|
|
88
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
89
|
+
};
|
|
90
|
+
goog.inherits(proto.meshtrade.compliance.client.v1.GetGroupClientRequest, jspb.Message);
|
|
91
|
+
if (goog.DEBUG && !COMPILED) {
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
* @override
|
|
95
|
+
*/
|
|
96
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest.displayName = 'proto.meshtrade.compliance.client.v1.GetGroupClientRequest';
|
|
97
|
+
}
|
|
76
98
|
/**
|
|
77
99
|
* Generated by JsPbCodeGenerator.
|
|
78
100
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -399,6 +421,136 @@ proto.meshtrade.compliance.client.v1.CreateClientRequest.prototype.hasClient = f
|
|
|
399
421
|
|
|
400
422
|
|
|
401
423
|
|
|
424
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
425
|
+
/**
|
|
426
|
+
* Creates an object representation of this proto.
|
|
427
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
428
|
+
* Optional fields that are not set will be set to undefined.
|
|
429
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
430
|
+
* For the list of reserved names please see:
|
|
431
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
432
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
433
|
+
* JSPB instance for transitional soy proto support:
|
|
434
|
+
* http://goto/soy-param-migration
|
|
435
|
+
* @return {!Object}
|
|
436
|
+
*/
|
|
437
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest.prototype.toObject = function(opt_includeInstance) {
|
|
438
|
+
return proto.meshtrade.compliance.client.v1.GetGroupClientRequest.toObject(opt_includeInstance, this);
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Static version of the {@see toObject} method.
|
|
444
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
445
|
+
* the JSPB instance for transitional soy proto support:
|
|
446
|
+
* http://goto/soy-param-migration
|
|
447
|
+
* @param {!proto.meshtrade.compliance.client.v1.GetGroupClientRequest} msg The msg instance to transform.
|
|
448
|
+
* @return {!Object}
|
|
449
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
450
|
+
*/
|
|
451
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest.toObject = function(includeInstance, msg) {
|
|
452
|
+
var f, obj = {
|
|
453
|
+
group: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
if (includeInstance) {
|
|
457
|
+
obj.$jspbMessageInstance = msg;
|
|
458
|
+
}
|
|
459
|
+
return obj;
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Deserializes binary data (in protobuf wire format).
|
|
466
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
467
|
+
* @return {!proto.meshtrade.compliance.client.v1.GetGroupClientRequest}
|
|
468
|
+
*/
|
|
469
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest.deserializeBinary = function(bytes) {
|
|
470
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
471
|
+
var msg = new proto.meshtrade.compliance.client.v1.GetGroupClientRequest;
|
|
472
|
+
return proto.meshtrade.compliance.client.v1.GetGroupClientRequest.deserializeBinaryFromReader(msg, reader);
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
478
|
+
* given reader into the given message object.
|
|
479
|
+
* @param {!proto.meshtrade.compliance.client.v1.GetGroupClientRequest} msg The message object to deserialize into.
|
|
480
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
481
|
+
* @return {!proto.meshtrade.compliance.client.v1.GetGroupClientRequest}
|
|
482
|
+
*/
|
|
483
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
484
|
+
while (reader.nextField()) {
|
|
485
|
+
if (reader.isEndGroup()) {
|
|
486
|
+
break;
|
|
487
|
+
}
|
|
488
|
+
var field = reader.getFieldNumber();
|
|
489
|
+
switch (field) {
|
|
490
|
+
case 1:
|
|
491
|
+
var value = /** @type {string} */ (reader.readString());
|
|
492
|
+
msg.setGroup(value);
|
|
493
|
+
break;
|
|
494
|
+
default:
|
|
495
|
+
reader.skipField();
|
|
496
|
+
break;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
return msg;
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
505
|
+
* @return {!Uint8Array}
|
|
506
|
+
*/
|
|
507
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest.prototype.serializeBinary = function() {
|
|
508
|
+
var writer = new jspb.BinaryWriter();
|
|
509
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest.serializeBinaryToWriter(this, writer);
|
|
510
|
+
return writer.getResultBuffer();
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
516
|
+
* format), writing to the given BinaryWriter.
|
|
517
|
+
* @param {!proto.meshtrade.compliance.client.v1.GetGroupClientRequest} message
|
|
518
|
+
* @param {!jspb.BinaryWriter} writer
|
|
519
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
520
|
+
*/
|
|
521
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest.serializeBinaryToWriter = function(message, writer) {
|
|
522
|
+
var f = undefined;
|
|
523
|
+
f = message.getGroup();
|
|
524
|
+
if (f.length > 0) {
|
|
525
|
+
writer.writeString(
|
|
526
|
+
1,
|
|
527
|
+
f
|
|
528
|
+
);
|
|
529
|
+
}
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* optional string group = 1;
|
|
535
|
+
* @return {string}
|
|
536
|
+
*/
|
|
537
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest.prototype.getGroup = function() {
|
|
538
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
539
|
+
};
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @param {string} value
|
|
544
|
+
* @return {!proto.meshtrade.compliance.client.v1.GetGroupClientRequest} returns this
|
|
545
|
+
*/
|
|
546
|
+
proto.meshtrade.compliance.client.v1.GetGroupClientRequest.prototype.setGroup = function(value) {
|
|
547
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
548
|
+
};
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
402
554
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
403
555
|
/**
|
|
404
556
|
* Creates an object representation of this proto.
|
|
@@ -16,6 +16,9 @@ export class MethodOptions extends jspb.Message {
|
|
|
16
16
|
clearRolesList(): MethodOptions;
|
|
17
17
|
addRoles(value: meshtrade_iam_role_v1_role_pb.Role, index?: number): MethodOptions;
|
|
18
18
|
|
|
19
|
+
getVerificationStatus(): VerificationStatus;
|
|
20
|
+
setVerificationStatus(value: VerificationStatus): MethodOptions;
|
|
21
|
+
|
|
19
22
|
serializeBinary(): Uint8Array;
|
|
20
23
|
toObject(includeInstance?: boolean): MethodOptions.AsObject;
|
|
21
24
|
static toObject(includeInstance: boolean, msg: MethodOptions): MethodOptions.AsObject;
|
|
@@ -29,6 +32,7 @@ export namespace MethodOptions {
|
|
|
29
32
|
type: MethodType,
|
|
30
33
|
accessLevel: MethodAccessLevel,
|
|
31
34
|
rolesList: Array<meshtrade_iam_role_v1_role_pb.Role>,
|
|
35
|
+
verificationStatus: VerificationStatus,
|
|
32
36
|
}
|
|
33
37
|
}
|
|
34
38
|
|
|
@@ -42,3 +46,7 @@ export enum MethodAccessLevel {
|
|
|
42
46
|
METHOD_ACCESS_LEVEL_PUBLIC = 1,
|
|
43
47
|
METHOD_ACCESS_LEVEL_AUTHORISED = 2,
|
|
44
48
|
}
|
|
49
|
+
export enum VerificationStatus {
|
|
50
|
+
VERIFICATION_STATUS_UNSPECIFIED = 0,
|
|
51
|
+
VERIFICATION_STATUS_VERIFIED = 1,
|
|
52
|
+
}
|
|
@@ -28,6 +28,7 @@ goog.object.extend(proto, meshtrade_iam_role_v1_role_pb);
|
|
|
28
28
|
goog.exportSymbol('proto.meshtrade.option.method_options.v1.MethodAccessLevel', null, global);
|
|
29
29
|
goog.exportSymbol('proto.meshtrade.option.method_options.v1.MethodOptions', null, global);
|
|
30
30
|
goog.exportSymbol('proto.meshtrade.option.method_options.v1.MethodType', null, global);
|
|
31
|
+
goog.exportSymbol('proto.meshtrade.option.method_options.v1.VerificationStatus', null, global);
|
|
31
32
|
goog.exportSymbol('proto.meshtrade.option.method_options.v1.methodOptions', null, global);
|
|
32
33
|
/**
|
|
33
34
|
* Generated by JsPbCodeGenerator.
|
|
@@ -91,7 +92,8 @@ proto.meshtrade.option.method_options.v1.MethodOptions.toObject = function(inclu
|
|
|
91
92
|
var f, obj = {
|
|
92
93
|
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
93
94
|
accessLevel: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
94
|
-
rolesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
95
|
+
rolesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
96
|
+
verificationStatus: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
95
97
|
};
|
|
96
98
|
|
|
97
99
|
if (includeInstance) {
|
|
@@ -142,6 +144,10 @@ proto.meshtrade.option.method_options.v1.MethodOptions.deserializeBinaryFromRead
|
|
|
142
144
|
msg.addRoles(values[i]);
|
|
143
145
|
}
|
|
144
146
|
break;
|
|
147
|
+
case 4:
|
|
148
|
+
var value = /** @type {!proto.meshtrade.option.method_options.v1.VerificationStatus} */ (reader.readEnum());
|
|
149
|
+
msg.setVerificationStatus(value);
|
|
150
|
+
break;
|
|
145
151
|
default:
|
|
146
152
|
reader.skipField();
|
|
147
153
|
break;
|
|
@@ -192,6 +198,13 @@ proto.meshtrade.option.method_options.v1.MethodOptions.serializeBinaryToWriter =
|
|
|
192
198
|
f
|
|
193
199
|
);
|
|
194
200
|
}
|
|
201
|
+
f = message.getVerificationStatus();
|
|
202
|
+
if (f !== 0.0) {
|
|
203
|
+
writer.writeEnum(
|
|
204
|
+
4,
|
|
205
|
+
f
|
|
206
|
+
);
|
|
207
|
+
}
|
|
195
208
|
};
|
|
196
209
|
|
|
197
210
|
|
|
@@ -268,6 +281,24 @@ proto.meshtrade.option.method_options.v1.MethodOptions.prototype.clearRolesList
|
|
|
268
281
|
};
|
|
269
282
|
|
|
270
283
|
|
|
284
|
+
/**
|
|
285
|
+
* optional VerificationStatus verification_status = 4;
|
|
286
|
+
* @return {!proto.meshtrade.option.method_options.v1.VerificationStatus}
|
|
287
|
+
*/
|
|
288
|
+
proto.meshtrade.option.method_options.v1.MethodOptions.prototype.getVerificationStatus = function() {
|
|
289
|
+
return /** @type {!proto.meshtrade.option.method_options.v1.VerificationStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* @param {!proto.meshtrade.option.method_options.v1.VerificationStatus} value
|
|
295
|
+
* @return {!proto.meshtrade.option.method_options.v1.MethodOptions} returns this
|
|
296
|
+
*/
|
|
297
|
+
proto.meshtrade.option.method_options.v1.MethodOptions.prototype.setVerificationStatus = function(value) {
|
|
298
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
|
|
271
302
|
/**
|
|
272
303
|
* @enum {number}
|
|
273
304
|
*/
|
|
@@ -286,6 +317,14 @@ proto.meshtrade.option.method_options.v1.MethodAccessLevel = {
|
|
|
286
317
|
METHOD_ACCESS_LEVEL_AUTHORISED: 2
|
|
287
318
|
};
|
|
288
319
|
|
|
320
|
+
/**
|
|
321
|
+
* @enum {number}
|
|
322
|
+
*/
|
|
323
|
+
proto.meshtrade.option.method_options.v1.VerificationStatus = {
|
|
324
|
+
VERIFICATION_STATUS_UNSPECIFIED: 0,
|
|
325
|
+
VERIFICATION_STATUS_VERIFIED: 1
|
|
326
|
+
};
|
|
327
|
+
|
|
289
328
|
|
|
290
329
|
/**
|
|
291
330
|
* A tuple of {field number, class constructor} for the extension
|