@sniipwebmaster/kyc-client-grpcweb 22.8.790 → 22.9.812
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.
|
@@ -554,6 +554,86 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.healthCheck =
|
|
|
554
554
|
};
|
|
555
555
|
|
|
556
556
|
|
|
557
|
+
/**
|
|
558
|
+
* @const
|
|
559
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
560
|
+
* !proto.kycserviceapi.NotifyUserRequest,
|
|
561
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
562
|
+
*/
|
|
563
|
+
const methodDescriptor_KYCServiceAPIService_NotifyUser = new grpc.web.MethodDescriptor(
|
|
564
|
+
'/kycserviceapi.KYCServiceAPIService/NotifyUser',
|
|
565
|
+
grpc.web.MethodType.UNARY,
|
|
566
|
+
proto.kycserviceapi.NotifyUserRequest,
|
|
567
|
+
proto.kycserviceapi.ResponseCode,
|
|
568
|
+
/**
|
|
569
|
+
* @param {!proto.kycserviceapi.NotifyUserRequest} request
|
|
570
|
+
* @return {!Uint8Array}
|
|
571
|
+
*/
|
|
572
|
+
function(request) {
|
|
573
|
+
return request.serializeBinary();
|
|
574
|
+
},
|
|
575
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
576
|
+
);
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* @const
|
|
581
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
582
|
+
* !proto.kycserviceapi.NotifyUserRequest,
|
|
583
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
584
|
+
*/
|
|
585
|
+
const methodInfo_KYCServiceAPIService_NotifyUser = new grpc.web.AbstractClientBase.MethodInfo(
|
|
586
|
+
proto.kycserviceapi.ResponseCode,
|
|
587
|
+
/**
|
|
588
|
+
* @param {!proto.kycserviceapi.NotifyUserRequest} request
|
|
589
|
+
* @return {!Uint8Array}
|
|
590
|
+
*/
|
|
591
|
+
function(request) {
|
|
592
|
+
return request.serializeBinary();
|
|
593
|
+
},
|
|
594
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
595
|
+
);
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* @param {!proto.kycserviceapi.NotifyUserRequest} request The
|
|
600
|
+
* request proto
|
|
601
|
+
* @param {?Object<string, string>} metadata User defined
|
|
602
|
+
* call metadata
|
|
603
|
+
* @param {function(?grpc.web.Error, ?proto.kycserviceapi.ResponseCode)}
|
|
604
|
+
* callback The callback function(error, response)
|
|
605
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
606
|
+
* The XHR Node Readable Stream
|
|
607
|
+
*/
|
|
608
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.notifyUser =
|
|
609
|
+
function(request, metadata, callback) {
|
|
610
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
611
|
+
'/kycserviceapi.KYCServiceAPIService/NotifyUser',
|
|
612
|
+
request,
|
|
613
|
+
metadata || {},
|
|
614
|
+
methodDescriptor_KYCServiceAPIService_NotifyUser,
|
|
615
|
+
callback);
|
|
616
|
+
};
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* @param {!proto.kycserviceapi.NotifyUserRequest} request The
|
|
621
|
+
* request proto
|
|
622
|
+
* @param {?Object<string, string>} metadata User defined
|
|
623
|
+
* call metadata
|
|
624
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
625
|
+
* Promise that resolves to the response
|
|
626
|
+
*/
|
|
627
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.notifyUser =
|
|
628
|
+
function(request, metadata) {
|
|
629
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
630
|
+
'/kycserviceapi.KYCServiceAPIService/NotifyUser',
|
|
631
|
+
request,
|
|
632
|
+
metadata || {},
|
|
633
|
+
methodDescriptor_KYCServiceAPIService_NotifyUser);
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
|
|
557
637
|
/**
|
|
558
638
|
* @const
|
|
559
639
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -24,6 +24,7 @@ goog.exportSymbol('proto.kycserviceapi.GetDocumentRequest', null, global);
|
|
|
24
24
|
goog.exportSymbol('proto.kycserviceapi.GetUserKycSummaryRequest', null, global);
|
|
25
25
|
goog.exportSymbol('proto.kycserviceapi.KycPaymentMethod', null, global);
|
|
26
26
|
goog.exportSymbol('proto.kycserviceapi.KycUserStatusUpdateRequest', null, global);
|
|
27
|
+
goog.exportSymbol('proto.kycserviceapi.NotifyUserRequest', null, global);
|
|
27
28
|
goog.exportSymbol('proto.kycserviceapi.Passport', null, global);
|
|
28
29
|
goog.exportSymbol('proto.kycserviceapi.RequestUserKycRequest', null, global);
|
|
29
30
|
goog.exportSymbol('proto.kycserviceapi.RequestedDocument', null, global);
|
|
@@ -35,6 +36,7 @@ goog.exportSymbol('proto.kycserviceapi.User', null, global);
|
|
|
35
36
|
goog.exportSymbol('proto.kycserviceapi.UserKycRequest', null, global);
|
|
36
37
|
goog.exportSymbol('proto.kycserviceapi.UserKycStatusResponse', null, global);
|
|
37
38
|
goog.exportSymbol('proto.kycserviceapi.UserKycSummaryResponse', null, global);
|
|
39
|
+
goog.exportSymbol('proto.kycserviceapi.UserNotifyRequest', null, global);
|
|
38
40
|
goog.exportSymbol('proto.kycserviceapi.UserStatus', null, global);
|
|
39
41
|
goog.exportSymbol('proto.kycserviceapi.VerifyDocumentRequest', null, global);
|
|
40
42
|
goog.exportSymbol('proto.kycserviceapi.VerifyUserRequest', null, global);
|
|
@@ -2323,6 +2325,182 @@ proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.setRequested = function
|
|
|
2323
2325
|
|
|
2324
2326
|
|
|
2325
2327
|
|
|
2328
|
+
/**
|
|
2329
|
+
* Generated by JsPbCodeGenerator.
|
|
2330
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2331
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2332
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2333
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2334
|
+
* valid.
|
|
2335
|
+
* @extends {jspb.Message}
|
|
2336
|
+
* @constructor
|
|
2337
|
+
*/
|
|
2338
|
+
proto.kycserviceapi.NotifyUserRequest = function(opt_data) {
|
|
2339
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2340
|
+
};
|
|
2341
|
+
goog.inherits(proto.kycserviceapi.NotifyUserRequest, jspb.Message);
|
|
2342
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2343
|
+
proto.kycserviceapi.NotifyUserRequest.displayName = 'proto.kycserviceapi.NotifyUserRequest';
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2348
|
+
/**
|
|
2349
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2350
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2351
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2352
|
+
* For the list of reserved names please see:
|
|
2353
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2354
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2355
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2356
|
+
* @return {!Object}
|
|
2357
|
+
*/
|
|
2358
|
+
proto.kycserviceapi.NotifyUserRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2359
|
+
return proto.kycserviceapi.NotifyUserRequest.toObject(opt_includeInstance, this);
|
|
2360
|
+
};
|
|
2361
|
+
|
|
2362
|
+
|
|
2363
|
+
/**
|
|
2364
|
+
* Static version of the {@see toObject} method.
|
|
2365
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2366
|
+
* instance for transitional soy proto support:
|
|
2367
|
+
* http://goto/soy-param-migration
|
|
2368
|
+
* @param {!proto.kycserviceapi.NotifyUserRequest} msg The msg instance to transform.
|
|
2369
|
+
* @return {!Object}
|
|
2370
|
+
*/
|
|
2371
|
+
proto.kycserviceapi.NotifyUserRequest.toObject = function(includeInstance, msg) {
|
|
2372
|
+
var f, obj = {
|
|
2373
|
+
data: (f = msg.getData()) && proto.kycserviceapi.UserNotifyRequest.toObject(includeInstance, f)
|
|
2374
|
+
};
|
|
2375
|
+
|
|
2376
|
+
if (includeInstance) {
|
|
2377
|
+
obj.$jspbMessageInstance = msg;
|
|
2378
|
+
}
|
|
2379
|
+
return obj;
|
|
2380
|
+
};
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
|
|
2384
|
+
/**
|
|
2385
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2386
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2387
|
+
* @return {!proto.kycserviceapi.NotifyUserRequest}
|
|
2388
|
+
*/
|
|
2389
|
+
proto.kycserviceapi.NotifyUserRequest.deserializeBinary = function(bytes) {
|
|
2390
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2391
|
+
var msg = new proto.kycserviceapi.NotifyUserRequest;
|
|
2392
|
+
return proto.kycserviceapi.NotifyUserRequest.deserializeBinaryFromReader(msg, reader);
|
|
2393
|
+
};
|
|
2394
|
+
|
|
2395
|
+
|
|
2396
|
+
/**
|
|
2397
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2398
|
+
* given reader into the given message object.
|
|
2399
|
+
* @param {!proto.kycserviceapi.NotifyUserRequest} msg The message object to deserialize into.
|
|
2400
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2401
|
+
* @return {!proto.kycserviceapi.NotifyUserRequest}
|
|
2402
|
+
*/
|
|
2403
|
+
proto.kycserviceapi.NotifyUserRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2404
|
+
while (reader.nextField()) {
|
|
2405
|
+
if (reader.isEndGroup()) {
|
|
2406
|
+
break;
|
|
2407
|
+
}
|
|
2408
|
+
var field = reader.getFieldNumber();
|
|
2409
|
+
switch (field) {
|
|
2410
|
+
case 1:
|
|
2411
|
+
var value = new proto.kycserviceapi.UserNotifyRequest;
|
|
2412
|
+
reader.readMessage(value,proto.kycserviceapi.UserNotifyRequest.deserializeBinaryFromReader);
|
|
2413
|
+
msg.setData(value);
|
|
2414
|
+
break;
|
|
2415
|
+
default:
|
|
2416
|
+
reader.skipField();
|
|
2417
|
+
break;
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
return msg;
|
|
2421
|
+
};
|
|
2422
|
+
|
|
2423
|
+
|
|
2424
|
+
/**
|
|
2425
|
+
* Class method variant: serializes the given message to binary data
|
|
2426
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
2427
|
+
* @param {!proto.kycserviceapi.NotifyUserRequest} message
|
|
2428
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2429
|
+
*/
|
|
2430
|
+
proto.kycserviceapi.NotifyUserRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2431
|
+
message.serializeBinaryToWriter(writer);
|
|
2432
|
+
};
|
|
2433
|
+
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2437
|
+
* @return {!Uint8Array}
|
|
2438
|
+
*/
|
|
2439
|
+
proto.kycserviceapi.NotifyUserRequest.prototype.serializeBinary = function() {
|
|
2440
|
+
var writer = new jspb.BinaryWriter();
|
|
2441
|
+
this.serializeBinaryToWriter(writer);
|
|
2442
|
+
return writer.getResultBuffer();
|
|
2443
|
+
};
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
2448
|
+
* writing to the given BinaryWriter.
|
|
2449
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2450
|
+
*/
|
|
2451
|
+
proto.kycserviceapi.NotifyUserRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
2452
|
+
var f = undefined;
|
|
2453
|
+
f = this.getData();
|
|
2454
|
+
if (f != null) {
|
|
2455
|
+
writer.writeMessage(
|
|
2456
|
+
1,
|
|
2457
|
+
f,
|
|
2458
|
+
proto.kycserviceapi.UserNotifyRequest.serializeBinaryToWriter
|
|
2459
|
+
);
|
|
2460
|
+
}
|
|
2461
|
+
};
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
2466
|
+
* @return {!proto.kycserviceapi.NotifyUserRequest} The clone.
|
|
2467
|
+
*/
|
|
2468
|
+
proto.kycserviceapi.NotifyUserRequest.prototype.cloneMessage = function() {
|
|
2469
|
+
return /** @type {!proto.kycserviceapi.NotifyUserRequest} */ (jspb.Message.cloneMessage(this));
|
|
2470
|
+
};
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
/**
|
|
2474
|
+
* optional UserNotifyRequest data = 1;
|
|
2475
|
+
* @return {proto.kycserviceapi.UserNotifyRequest}
|
|
2476
|
+
*/
|
|
2477
|
+
proto.kycserviceapi.NotifyUserRequest.prototype.getData = function() {
|
|
2478
|
+
return /** @type{proto.kycserviceapi.UserNotifyRequest} */ (
|
|
2479
|
+
jspb.Message.getWrapperField(this, proto.kycserviceapi.UserNotifyRequest, 1));
|
|
2480
|
+
};
|
|
2481
|
+
|
|
2482
|
+
|
|
2483
|
+
/** @param {proto.kycserviceapi.UserNotifyRequest|undefined} value */
|
|
2484
|
+
proto.kycserviceapi.NotifyUserRequest.prototype.setData = function(value) {
|
|
2485
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
2486
|
+
};
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
proto.kycserviceapi.NotifyUserRequest.prototype.clearData = function() {
|
|
2490
|
+
this.setData(undefined);
|
|
2491
|
+
};
|
|
2492
|
+
|
|
2493
|
+
|
|
2494
|
+
/**
|
|
2495
|
+
* Returns whether this field is set.
|
|
2496
|
+
* @return{!boolean}
|
|
2497
|
+
*/
|
|
2498
|
+
proto.kycserviceapi.NotifyUserRequest.prototype.hasData = function() {
|
|
2499
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2500
|
+
};
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
|
|
2326
2504
|
/**
|
|
2327
2505
|
* Generated by JsPbCodeGenerator.
|
|
2328
2506
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4781,6 +4959,246 @@ proto.kycserviceapi.UserKycSummaryResponse.prototype.clearRequestedpaymentmethod
|
|
|
4781
4959
|
|
|
4782
4960
|
|
|
4783
4961
|
|
|
4962
|
+
/**
|
|
4963
|
+
* Generated by JsPbCodeGenerator.
|
|
4964
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4965
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4966
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4967
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4968
|
+
* valid.
|
|
4969
|
+
* @extends {jspb.Message}
|
|
4970
|
+
* @constructor
|
|
4971
|
+
*/
|
|
4972
|
+
proto.kycserviceapi.UserNotifyRequest = function(opt_data) {
|
|
4973
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4974
|
+
};
|
|
4975
|
+
goog.inherits(proto.kycserviceapi.UserNotifyRequest, jspb.Message);
|
|
4976
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4977
|
+
proto.kycserviceapi.UserNotifyRequest.displayName = 'proto.kycserviceapi.UserNotifyRequest';
|
|
4978
|
+
}
|
|
4979
|
+
|
|
4980
|
+
|
|
4981
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4982
|
+
/**
|
|
4983
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
4984
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4985
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4986
|
+
* For the list of reserved names please see:
|
|
4987
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
4988
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
4989
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
4990
|
+
* @return {!Object}
|
|
4991
|
+
*/
|
|
4992
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4993
|
+
return proto.kycserviceapi.UserNotifyRequest.toObject(opt_includeInstance, this);
|
|
4994
|
+
};
|
|
4995
|
+
|
|
4996
|
+
|
|
4997
|
+
/**
|
|
4998
|
+
* Static version of the {@see toObject} method.
|
|
4999
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
5000
|
+
* instance for transitional soy proto support:
|
|
5001
|
+
* http://goto/soy-param-migration
|
|
5002
|
+
* @param {!proto.kycserviceapi.UserNotifyRequest} msg The msg instance to transform.
|
|
5003
|
+
* @return {!Object}
|
|
5004
|
+
*/
|
|
5005
|
+
proto.kycserviceapi.UserNotifyRequest.toObject = function(includeInstance, msg) {
|
|
5006
|
+
var f, obj = {
|
|
5007
|
+
userid: msg.getUserid(),
|
|
5008
|
+
subject: msg.getSubject(),
|
|
5009
|
+
message: msg.getMessage(),
|
|
5010
|
+
password: msg.getPassword()
|
|
5011
|
+
};
|
|
5012
|
+
|
|
5013
|
+
if (includeInstance) {
|
|
5014
|
+
obj.$jspbMessageInstance = msg;
|
|
5015
|
+
}
|
|
5016
|
+
return obj;
|
|
5017
|
+
};
|
|
5018
|
+
}
|
|
5019
|
+
|
|
5020
|
+
|
|
5021
|
+
/**
|
|
5022
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5023
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5024
|
+
* @return {!proto.kycserviceapi.UserNotifyRequest}
|
|
5025
|
+
*/
|
|
5026
|
+
proto.kycserviceapi.UserNotifyRequest.deserializeBinary = function(bytes) {
|
|
5027
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5028
|
+
var msg = new proto.kycserviceapi.UserNotifyRequest;
|
|
5029
|
+
return proto.kycserviceapi.UserNotifyRequest.deserializeBinaryFromReader(msg, reader);
|
|
5030
|
+
};
|
|
5031
|
+
|
|
5032
|
+
|
|
5033
|
+
/**
|
|
5034
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5035
|
+
* given reader into the given message object.
|
|
5036
|
+
* @param {!proto.kycserviceapi.UserNotifyRequest} msg The message object to deserialize into.
|
|
5037
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5038
|
+
* @return {!proto.kycserviceapi.UserNotifyRequest}
|
|
5039
|
+
*/
|
|
5040
|
+
proto.kycserviceapi.UserNotifyRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5041
|
+
while (reader.nextField()) {
|
|
5042
|
+
if (reader.isEndGroup()) {
|
|
5043
|
+
break;
|
|
5044
|
+
}
|
|
5045
|
+
var field = reader.getFieldNumber();
|
|
5046
|
+
switch (field) {
|
|
5047
|
+
case 1:
|
|
5048
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5049
|
+
msg.setUserid(value);
|
|
5050
|
+
break;
|
|
5051
|
+
case 2:
|
|
5052
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5053
|
+
msg.setSubject(value);
|
|
5054
|
+
break;
|
|
5055
|
+
case 3:
|
|
5056
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5057
|
+
msg.setMessage(value);
|
|
5058
|
+
break;
|
|
5059
|
+
case 4:
|
|
5060
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5061
|
+
msg.setPassword(value);
|
|
5062
|
+
break;
|
|
5063
|
+
default:
|
|
5064
|
+
reader.skipField();
|
|
5065
|
+
break;
|
|
5066
|
+
}
|
|
5067
|
+
}
|
|
5068
|
+
return msg;
|
|
5069
|
+
};
|
|
5070
|
+
|
|
5071
|
+
|
|
5072
|
+
/**
|
|
5073
|
+
* Class method variant: serializes the given message to binary data
|
|
5074
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
5075
|
+
* @param {!proto.kycserviceapi.UserNotifyRequest} message
|
|
5076
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5077
|
+
*/
|
|
5078
|
+
proto.kycserviceapi.UserNotifyRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5079
|
+
message.serializeBinaryToWriter(writer);
|
|
5080
|
+
};
|
|
5081
|
+
|
|
5082
|
+
|
|
5083
|
+
/**
|
|
5084
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5085
|
+
* @return {!Uint8Array}
|
|
5086
|
+
*/
|
|
5087
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.serializeBinary = function() {
|
|
5088
|
+
var writer = new jspb.BinaryWriter();
|
|
5089
|
+
this.serializeBinaryToWriter(writer);
|
|
5090
|
+
return writer.getResultBuffer();
|
|
5091
|
+
};
|
|
5092
|
+
|
|
5093
|
+
|
|
5094
|
+
/**
|
|
5095
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
5096
|
+
* writing to the given BinaryWriter.
|
|
5097
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5098
|
+
*/
|
|
5099
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
5100
|
+
var f = undefined;
|
|
5101
|
+
f = this.getUserid();
|
|
5102
|
+
if (f !== 0) {
|
|
5103
|
+
writer.writeInt64(
|
|
5104
|
+
1,
|
|
5105
|
+
f
|
|
5106
|
+
);
|
|
5107
|
+
}
|
|
5108
|
+
f = this.getSubject();
|
|
5109
|
+
if (f.length > 0) {
|
|
5110
|
+
writer.writeString(
|
|
5111
|
+
2,
|
|
5112
|
+
f
|
|
5113
|
+
);
|
|
5114
|
+
}
|
|
5115
|
+
f = this.getMessage();
|
|
5116
|
+
if (f.length > 0) {
|
|
5117
|
+
writer.writeString(
|
|
5118
|
+
3,
|
|
5119
|
+
f
|
|
5120
|
+
);
|
|
5121
|
+
}
|
|
5122
|
+
f = this.getPassword();
|
|
5123
|
+
if (f.length > 0) {
|
|
5124
|
+
writer.writeString(
|
|
5125
|
+
4,
|
|
5126
|
+
f
|
|
5127
|
+
);
|
|
5128
|
+
}
|
|
5129
|
+
};
|
|
5130
|
+
|
|
5131
|
+
|
|
5132
|
+
/**
|
|
5133
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
5134
|
+
* @return {!proto.kycserviceapi.UserNotifyRequest} The clone.
|
|
5135
|
+
*/
|
|
5136
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.cloneMessage = function() {
|
|
5137
|
+
return /** @type {!proto.kycserviceapi.UserNotifyRequest} */ (jspb.Message.cloneMessage(this));
|
|
5138
|
+
};
|
|
5139
|
+
|
|
5140
|
+
|
|
5141
|
+
/**
|
|
5142
|
+
* optional int64 userId = 1;
|
|
5143
|
+
* @return {number}
|
|
5144
|
+
*/
|
|
5145
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.getUserid = function() {
|
|
5146
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
5147
|
+
};
|
|
5148
|
+
|
|
5149
|
+
|
|
5150
|
+
/** @param {number} value */
|
|
5151
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.setUserid = function(value) {
|
|
5152
|
+
jspb.Message.setField(this, 1, value);
|
|
5153
|
+
};
|
|
5154
|
+
|
|
5155
|
+
|
|
5156
|
+
/**
|
|
5157
|
+
* optional string subject = 2;
|
|
5158
|
+
* @return {string}
|
|
5159
|
+
*/
|
|
5160
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.getSubject = function() {
|
|
5161
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
5162
|
+
};
|
|
5163
|
+
|
|
5164
|
+
|
|
5165
|
+
/** @param {string} value */
|
|
5166
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.setSubject = function(value) {
|
|
5167
|
+
jspb.Message.setField(this, 2, value);
|
|
5168
|
+
};
|
|
5169
|
+
|
|
5170
|
+
|
|
5171
|
+
/**
|
|
5172
|
+
* optional string message = 3;
|
|
5173
|
+
* @return {string}
|
|
5174
|
+
*/
|
|
5175
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.getMessage = function() {
|
|
5176
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
5177
|
+
};
|
|
5178
|
+
|
|
5179
|
+
|
|
5180
|
+
/** @param {string} value */
|
|
5181
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.setMessage = function(value) {
|
|
5182
|
+
jspb.Message.setField(this, 3, value);
|
|
5183
|
+
};
|
|
5184
|
+
|
|
5185
|
+
|
|
5186
|
+
/**
|
|
5187
|
+
* optional string password = 4;
|
|
5188
|
+
* @return {string}
|
|
5189
|
+
*/
|
|
5190
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.getPassword = function() {
|
|
5191
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
5192
|
+
};
|
|
5193
|
+
|
|
5194
|
+
|
|
5195
|
+
/** @param {string} value */
|
|
5196
|
+
proto.kycserviceapi.UserNotifyRequest.prototype.setPassword = function(value) {
|
|
5197
|
+
jspb.Message.setField(this, 4, value);
|
|
5198
|
+
};
|
|
5199
|
+
|
|
5200
|
+
|
|
5201
|
+
|
|
4784
5202
|
/**
|
|
4785
5203
|
* Generated by JsPbCodeGenerator.
|
|
4786
5204
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5133,7 +5551,8 @@ proto.kycserviceapi.DocumentType = {
|
|
|
5133
5551
|
proto.kycserviceapi.UserStatus = {
|
|
5134
5552
|
USER_STATUS_PENDING_REVIEW: 0,
|
|
5135
5553
|
USER_STATUS_VERIFIED: 1,
|
|
5136
|
-
USER_STATUS_UNVERIFIED: 2
|
|
5554
|
+
USER_STATUS_UNVERIFIED: 2,
|
|
5555
|
+
USER_STATUS_REJECTED: 3
|
|
5137
5556
|
};
|
|
5138
5557
|
|
|
5139
5558
|
goog.object.extend(exports, proto.kycserviceapi);
|