@sniipwebmaster/kyc-client-grpcweb 26.3.1898 → 26.4.1911
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.
|
@@ -1359,5 +1359,66 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.clearKycExternal
|
|
|
1359
1359
|
};
|
|
1360
1360
|
|
|
1361
1361
|
|
|
1362
|
+
/**
|
|
1363
|
+
* @const
|
|
1364
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1365
|
+
* !proto.kycserviceapi.UpdateKycRequestedDocumentsRequest,
|
|
1366
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
1367
|
+
*/
|
|
1368
|
+
const methodDescriptor_KYCServiceAPIService_UpdateKycRequestedDocuments = new grpc.web.MethodDescriptor(
|
|
1369
|
+
'/kycserviceapi.KYCServiceAPIService/UpdateKycRequestedDocuments',
|
|
1370
|
+
grpc.web.MethodType.UNARY,
|
|
1371
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest,
|
|
1372
|
+
proto.kycserviceapi.ResponseCode,
|
|
1373
|
+
/**
|
|
1374
|
+
* @param {!proto.kycserviceapi.UpdateKycRequestedDocumentsRequest} request
|
|
1375
|
+
* @return {!Uint8Array}
|
|
1376
|
+
*/
|
|
1377
|
+
function(request) {
|
|
1378
|
+
return request.serializeBinary();
|
|
1379
|
+
},
|
|
1380
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
1381
|
+
);
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* @param {!proto.kycserviceapi.UpdateKycRequestedDocumentsRequest} request The
|
|
1386
|
+
* request proto
|
|
1387
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1388
|
+
* call metadata
|
|
1389
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
1390
|
+
* callback The callback function(error, response)
|
|
1391
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
1392
|
+
* The XHR Node Readable Stream
|
|
1393
|
+
*/
|
|
1394
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.updateKycRequestedDocuments =
|
|
1395
|
+
function(request, metadata, callback) {
|
|
1396
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1397
|
+
'/kycserviceapi.KYCServiceAPIService/UpdateKycRequestedDocuments',
|
|
1398
|
+
request,
|
|
1399
|
+
metadata || {},
|
|
1400
|
+
methodDescriptor_KYCServiceAPIService_UpdateKycRequestedDocuments,
|
|
1401
|
+
callback);
|
|
1402
|
+
};
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* @param {!proto.kycserviceapi.UpdateKycRequestedDocumentsRequest} request The
|
|
1407
|
+
* request proto
|
|
1408
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1409
|
+
* call metadata
|
|
1410
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
1411
|
+
* Promise that resolves to the response
|
|
1412
|
+
*/
|
|
1413
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.updateKycRequestedDocuments =
|
|
1414
|
+
function(request, metadata) {
|
|
1415
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1416
|
+
'/kycserviceapi.KYCServiceAPIService/UpdateKycRequestedDocuments',
|
|
1417
|
+
request,
|
|
1418
|
+
metadata || {},
|
|
1419
|
+
methodDescriptor_KYCServiceAPIService_UpdateKycRequestedDocuments);
|
|
1420
|
+
};
|
|
1421
|
+
|
|
1422
|
+
|
|
1362
1423
|
module.exports = proto.kycserviceapi;
|
|
1363
1424
|
|
|
@@ -49,6 +49,8 @@ goog.exportSymbol('proto.kycserviceapi.SaveDocumentResponse', null, global);
|
|
|
49
49
|
goog.exportSymbol('proto.kycserviceapi.State', null, global);
|
|
50
50
|
goog.exportSymbol('proto.kycserviceapi.SubmitFaceCompareResultRequest', null, global);
|
|
51
51
|
goog.exportSymbol('proto.kycserviceapi.SubmitFaceCompareResultResponse', null, global);
|
|
52
|
+
goog.exportSymbol('proto.kycserviceapi.UpdateKycRequestedDocumentsData', null, global);
|
|
53
|
+
goog.exportSymbol('proto.kycserviceapi.UpdateKycRequestedDocumentsRequest', null, global);
|
|
52
54
|
goog.exportSymbol('proto.kycserviceapi.UpdateKycUserStatusRequest', null, global);
|
|
53
55
|
goog.exportSymbol('proto.kycserviceapi.User', null, global);
|
|
54
56
|
goog.exportSymbol('proto.kycserviceapi.UserKycRequest', null, global);
|
|
@@ -562,6 +564,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
562
564
|
*/
|
|
563
565
|
proto.kycserviceapi.UserKycStatusResponse.displayName = 'proto.kycserviceapi.UserKycStatusResponse';
|
|
564
566
|
}
|
|
567
|
+
/**
|
|
568
|
+
* Generated by JsPbCodeGenerator.
|
|
569
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
570
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
571
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
572
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
573
|
+
* valid.
|
|
574
|
+
* @extends {jspb.Message}
|
|
575
|
+
* @constructor
|
|
576
|
+
*/
|
|
577
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData = function(opt_data) {
|
|
578
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.kycserviceapi.UpdateKycRequestedDocumentsData.repeatedFields_, null);
|
|
579
|
+
};
|
|
580
|
+
goog.inherits(proto.kycserviceapi.UpdateKycRequestedDocumentsData, jspb.Message);
|
|
581
|
+
if (goog.DEBUG && !COMPILED) {
|
|
582
|
+
/**
|
|
583
|
+
* @public
|
|
584
|
+
* @override
|
|
585
|
+
*/
|
|
586
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.displayName = 'proto.kycserviceapi.UpdateKycRequestedDocumentsData';
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* Generated by JsPbCodeGenerator.
|
|
590
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
591
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
592
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
593
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
594
|
+
* valid.
|
|
595
|
+
* @extends {jspb.Message}
|
|
596
|
+
* @constructor
|
|
597
|
+
*/
|
|
598
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest = function(opt_data) {
|
|
599
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
600
|
+
};
|
|
601
|
+
goog.inherits(proto.kycserviceapi.UpdateKycRequestedDocumentsRequest, jspb.Message);
|
|
602
|
+
if (goog.DEBUG && !COMPILED) {
|
|
603
|
+
/**
|
|
604
|
+
* @public
|
|
605
|
+
* @override
|
|
606
|
+
*/
|
|
607
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.displayName = 'proto.kycserviceapi.UpdateKycRequestedDocumentsRequest';
|
|
608
|
+
}
|
|
565
609
|
/**
|
|
566
610
|
* Generated by JsPbCodeGenerator.
|
|
567
611
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5647,6 +5691,467 @@ proto.kycserviceapi.UserKycStatusResponse.prototype.clearPaymentmethoddocumentsL
|
|
|
5647
5691
|
|
|
5648
5692
|
|
|
5649
5693
|
|
|
5694
|
+
/**
|
|
5695
|
+
* List of repeated fields within this message type.
|
|
5696
|
+
* @private {!Array<number>}
|
|
5697
|
+
* @const
|
|
5698
|
+
*/
|
|
5699
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.repeatedFields_ = [3];
|
|
5700
|
+
|
|
5701
|
+
|
|
5702
|
+
|
|
5703
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5704
|
+
/**
|
|
5705
|
+
* Creates an object representation of this proto.
|
|
5706
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5707
|
+
* Optional fields that are not set will be set to undefined.
|
|
5708
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5709
|
+
* For the list of reserved names please see:
|
|
5710
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5711
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5712
|
+
* JSPB instance for transitional soy proto support:
|
|
5713
|
+
* http://goto/soy-param-migration
|
|
5714
|
+
* @return {!Object}
|
|
5715
|
+
*/
|
|
5716
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.toObject = function(opt_includeInstance) {
|
|
5717
|
+
return proto.kycserviceapi.UpdateKycRequestedDocumentsData.toObject(opt_includeInstance, this);
|
|
5718
|
+
};
|
|
5719
|
+
|
|
5720
|
+
|
|
5721
|
+
/**
|
|
5722
|
+
* Static version of the {@see toObject} method.
|
|
5723
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5724
|
+
* the JSPB instance for transitional soy proto support:
|
|
5725
|
+
* http://goto/soy-param-migration
|
|
5726
|
+
* @param {!proto.kycserviceapi.UpdateKycRequestedDocumentsData} msg The msg instance to transform.
|
|
5727
|
+
* @return {!Object}
|
|
5728
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5729
|
+
*/
|
|
5730
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.toObject = function(includeInstance, msg) {
|
|
5731
|
+
var f, obj = {
|
|
5732
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5733
|
+
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5734
|
+
documentsList: jspb.Message.toObjectList(msg.getDocumentsList(),
|
|
5735
|
+
proto.kycserviceapi.RequestedDocument.toObject, includeInstance),
|
|
5736
|
+
comment: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5737
|
+
overrideuserstatus: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
5738
|
+
userstatus: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
5739
|
+
};
|
|
5740
|
+
|
|
5741
|
+
if (includeInstance) {
|
|
5742
|
+
obj.$jspbMessageInstance = msg;
|
|
5743
|
+
}
|
|
5744
|
+
return obj;
|
|
5745
|
+
};
|
|
5746
|
+
}
|
|
5747
|
+
|
|
5748
|
+
|
|
5749
|
+
/**
|
|
5750
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5751
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5752
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsData}
|
|
5753
|
+
*/
|
|
5754
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.deserializeBinary = function(bytes) {
|
|
5755
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5756
|
+
var msg = new proto.kycserviceapi.UpdateKycRequestedDocumentsData;
|
|
5757
|
+
return proto.kycserviceapi.UpdateKycRequestedDocumentsData.deserializeBinaryFromReader(msg, reader);
|
|
5758
|
+
};
|
|
5759
|
+
|
|
5760
|
+
|
|
5761
|
+
/**
|
|
5762
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5763
|
+
* given reader into the given message object.
|
|
5764
|
+
* @param {!proto.kycserviceapi.UpdateKycRequestedDocumentsData} msg The message object to deserialize into.
|
|
5765
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5766
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsData}
|
|
5767
|
+
*/
|
|
5768
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.deserializeBinaryFromReader = function(msg, reader) {
|
|
5769
|
+
while (reader.nextField()) {
|
|
5770
|
+
if (reader.isEndGroup()) {
|
|
5771
|
+
break;
|
|
5772
|
+
}
|
|
5773
|
+
var field = reader.getFieldNumber();
|
|
5774
|
+
switch (field) {
|
|
5775
|
+
case 1:
|
|
5776
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5777
|
+
msg.setUserid(value);
|
|
5778
|
+
break;
|
|
5779
|
+
case 2:
|
|
5780
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5781
|
+
msg.setPassword(value);
|
|
5782
|
+
break;
|
|
5783
|
+
case 3:
|
|
5784
|
+
var value = new proto.kycserviceapi.RequestedDocument;
|
|
5785
|
+
reader.readMessage(value,proto.kycserviceapi.RequestedDocument.deserializeBinaryFromReader);
|
|
5786
|
+
msg.addDocuments(value);
|
|
5787
|
+
break;
|
|
5788
|
+
case 4:
|
|
5789
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5790
|
+
msg.setComment(value);
|
|
5791
|
+
break;
|
|
5792
|
+
case 5:
|
|
5793
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5794
|
+
msg.setOverrideuserstatus(value);
|
|
5795
|
+
break;
|
|
5796
|
+
case 6:
|
|
5797
|
+
var value = /** @type {!proto.kycserviceapi.UserStatus} */ (reader.readEnum());
|
|
5798
|
+
msg.setUserstatus(value);
|
|
5799
|
+
break;
|
|
5800
|
+
default:
|
|
5801
|
+
reader.skipField();
|
|
5802
|
+
break;
|
|
5803
|
+
}
|
|
5804
|
+
}
|
|
5805
|
+
return msg;
|
|
5806
|
+
};
|
|
5807
|
+
|
|
5808
|
+
|
|
5809
|
+
/**
|
|
5810
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5811
|
+
* @return {!Uint8Array}
|
|
5812
|
+
*/
|
|
5813
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.serializeBinary = function() {
|
|
5814
|
+
var writer = new jspb.BinaryWriter();
|
|
5815
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.serializeBinaryToWriter(this, writer);
|
|
5816
|
+
return writer.getResultBuffer();
|
|
5817
|
+
};
|
|
5818
|
+
|
|
5819
|
+
|
|
5820
|
+
/**
|
|
5821
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5822
|
+
* format), writing to the given BinaryWriter.
|
|
5823
|
+
* @param {!proto.kycserviceapi.UpdateKycRequestedDocumentsData} message
|
|
5824
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5825
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5826
|
+
*/
|
|
5827
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.serializeBinaryToWriter = function(message, writer) {
|
|
5828
|
+
var f = undefined;
|
|
5829
|
+
f = message.getUserid();
|
|
5830
|
+
if (f !== 0) {
|
|
5831
|
+
writer.writeInt64(
|
|
5832
|
+
1,
|
|
5833
|
+
f
|
|
5834
|
+
);
|
|
5835
|
+
}
|
|
5836
|
+
f = message.getPassword();
|
|
5837
|
+
if (f.length > 0) {
|
|
5838
|
+
writer.writeString(
|
|
5839
|
+
2,
|
|
5840
|
+
f
|
|
5841
|
+
);
|
|
5842
|
+
}
|
|
5843
|
+
f = message.getDocumentsList();
|
|
5844
|
+
if (f.length > 0) {
|
|
5845
|
+
writer.writeRepeatedMessage(
|
|
5846
|
+
3,
|
|
5847
|
+
f,
|
|
5848
|
+
proto.kycserviceapi.RequestedDocument.serializeBinaryToWriter
|
|
5849
|
+
);
|
|
5850
|
+
}
|
|
5851
|
+
f = message.getComment();
|
|
5852
|
+
if (f.length > 0) {
|
|
5853
|
+
writer.writeString(
|
|
5854
|
+
4,
|
|
5855
|
+
f
|
|
5856
|
+
);
|
|
5857
|
+
}
|
|
5858
|
+
f = message.getOverrideuserstatus();
|
|
5859
|
+
if (f) {
|
|
5860
|
+
writer.writeBool(
|
|
5861
|
+
5,
|
|
5862
|
+
f
|
|
5863
|
+
);
|
|
5864
|
+
}
|
|
5865
|
+
f = message.getUserstatus();
|
|
5866
|
+
if (f !== 0.0) {
|
|
5867
|
+
writer.writeEnum(
|
|
5868
|
+
6,
|
|
5869
|
+
f
|
|
5870
|
+
);
|
|
5871
|
+
}
|
|
5872
|
+
};
|
|
5873
|
+
|
|
5874
|
+
|
|
5875
|
+
/**
|
|
5876
|
+
* optional int64 userId = 1;
|
|
5877
|
+
* @return {number}
|
|
5878
|
+
*/
|
|
5879
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.getUserid = function() {
|
|
5880
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5881
|
+
};
|
|
5882
|
+
|
|
5883
|
+
|
|
5884
|
+
/**
|
|
5885
|
+
* @param {number} value
|
|
5886
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsData} returns this
|
|
5887
|
+
*/
|
|
5888
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.setUserid = function(value) {
|
|
5889
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
5890
|
+
};
|
|
5891
|
+
|
|
5892
|
+
|
|
5893
|
+
/**
|
|
5894
|
+
* optional string password = 2;
|
|
5895
|
+
* @return {string}
|
|
5896
|
+
*/
|
|
5897
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.getPassword = function() {
|
|
5898
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5899
|
+
};
|
|
5900
|
+
|
|
5901
|
+
|
|
5902
|
+
/**
|
|
5903
|
+
* @param {string} value
|
|
5904
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsData} returns this
|
|
5905
|
+
*/
|
|
5906
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.setPassword = function(value) {
|
|
5907
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5908
|
+
};
|
|
5909
|
+
|
|
5910
|
+
|
|
5911
|
+
/**
|
|
5912
|
+
* repeated RequestedDocument documents = 3;
|
|
5913
|
+
* @return {!Array<!proto.kycserviceapi.RequestedDocument>}
|
|
5914
|
+
*/
|
|
5915
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.getDocumentsList = function() {
|
|
5916
|
+
return /** @type{!Array<!proto.kycserviceapi.RequestedDocument>} */ (
|
|
5917
|
+
jspb.Message.getRepeatedWrapperField(this, proto.kycserviceapi.RequestedDocument, 3));
|
|
5918
|
+
};
|
|
5919
|
+
|
|
5920
|
+
|
|
5921
|
+
/**
|
|
5922
|
+
* @param {!Array<!proto.kycserviceapi.RequestedDocument>} value
|
|
5923
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsData} returns this
|
|
5924
|
+
*/
|
|
5925
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.setDocumentsList = function(value) {
|
|
5926
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
5927
|
+
};
|
|
5928
|
+
|
|
5929
|
+
|
|
5930
|
+
/**
|
|
5931
|
+
* @param {!proto.kycserviceapi.RequestedDocument=} opt_value
|
|
5932
|
+
* @param {number=} opt_index
|
|
5933
|
+
* @return {!proto.kycserviceapi.RequestedDocument}
|
|
5934
|
+
*/
|
|
5935
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.addDocuments = function(opt_value, opt_index) {
|
|
5936
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.kycserviceapi.RequestedDocument, opt_index);
|
|
5937
|
+
};
|
|
5938
|
+
|
|
5939
|
+
|
|
5940
|
+
/**
|
|
5941
|
+
* Clears the list making it empty but non-null.
|
|
5942
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsData} returns this
|
|
5943
|
+
*/
|
|
5944
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.clearDocumentsList = function() {
|
|
5945
|
+
return this.setDocumentsList([]);
|
|
5946
|
+
};
|
|
5947
|
+
|
|
5948
|
+
|
|
5949
|
+
/**
|
|
5950
|
+
* optional string comment = 4;
|
|
5951
|
+
* @return {string}
|
|
5952
|
+
*/
|
|
5953
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.getComment = function() {
|
|
5954
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5955
|
+
};
|
|
5956
|
+
|
|
5957
|
+
|
|
5958
|
+
/**
|
|
5959
|
+
* @param {string} value
|
|
5960
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsData} returns this
|
|
5961
|
+
*/
|
|
5962
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.setComment = function(value) {
|
|
5963
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
5964
|
+
};
|
|
5965
|
+
|
|
5966
|
+
|
|
5967
|
+
/**
|
|
5968
|
+
* optional bool overrideUserStatus = 5;
|
|
5969
|
+
* @return {boolean}
|
|
5970
|
+
*/
|
|
5971
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.getOverrideuserstatus = function() {
|
|
5972
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
5973
|
+
};
|
|
5974
|
+
|
|
5975
|
+
|
|
5976
|
+
/**
|
|
5977
|
+
* @param {boolean} value
|
|
5978
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsData} returns this
|
|
5979
|
+
*/
|
|
5980
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.setOverrideuserstatus = function(value) {
|
|
5981
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
5982
|
+
};
|
|
5983
|
+
|
|
5984
|
+
|
|
5985
|
+
/**
|
|
5986
|
+
* optional UserStatus userStatus = 6;
|
|
5987
|
+
* @return {!proto.kycserviceapi.UserStatus}
|
|
5988
|
+
*/
|
|
5989
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.getUserstatus = function() {
|
|
5990
|
+
return /** @type {!proto.kycserviceapi.UserStatus} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
5991
|
+
};
|
|
5992
|
+
|
|
5993
|
+
|
|
5994
|
+
/**
|
|
5995
|
+
* @param {!proto.kycserviceapi.UserStatus} value
|
|
5996
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsData} returns this
|
|
5997
|
+
*/
|
|
5998
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.prototype.setUserstatus = function(value) {
|
|
5999
|
+
return jspb.Message.setProto3EnumField(this, 6, value);
|
|
6000
|
+
};
|
|
6001
|
+
|
|
6002
|
+
|
|
6003
|
+
|
|
6004
|
+
|
|
6005
|
+
|
|
6006
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6007
|
+
/**
|
|
6008
|
+
* Creates an object representation of this proto.
|
|
6009
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6010
|
+
* Optional fields that are not set will be set to undefined.
|
|
6011
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6012
|
+
* For the list of reserved names please see:
|
|
6013
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6014
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6015
|
+
* JSPB instance for transitional soy proto support:
|
|
6016
|
+
* http://goto/soy-param-migration
|
|
6017
|
+
* @return {!Object}
|
|
6018
|
+
*/
|
|
6019
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6020
|
+
return proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.toObject(opt_includeInstance, this);
|
|
6021
|
+
};
|
|
6022
|
+
|
|
6023
|
+
|
|
6024
|
+
/**
|
|
6025
|
+
* Static version of the {@see toObject} method.
|
|
6026
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6027
|
+
* the JSPB instance for transitional soy proto support:
|
|
6028
|
+
* http://goto/soy-param-migration
|
|
6029
|
+
* @param {!proto.kycserviceapi.UpdateKycRequestedDocumentsRequest} msg The msg instance to transform.
|
|
6030
|
+
* @return {!Object}
|
|
6031
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6032
|
+
*/
|
|
6033
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.toObject = function(includeInstance, msg) {
|
|
6034
|
+
var f, obj = {
|
|
6035
|
+
data: (f = msg.getData()) && proto.kycserviceapi.UpdateKycRequestedDocumentsData.toObject(includeInstance, f)
|
|
6036
|
+
};
|
|
6037
|
+
|
|
6038
|
+
if (includeInstance) {
|
|
6039
|
+
obj.$jspbMessageInstance = msg;
|
|
6040
|
+
}
|
|
6041
|
+
return obj;
|
|
6042
|
+
};
|
|
6043
|
+
}
|
|
6044
|
+
|
|
6045
|
+
|
|
6046
|
+
/**
|
|
6047
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6048
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6049
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsRequest}
|
|
6050
|
+
*/
|
|
6051
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.deserializeBinary = function(bytes) {
|
|
6052
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6053
|
+
var msg = new proto.kycserviceapi.UpdateKycRequestedDocumentsRequest;
|
|
6054
|
+
return proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
6055
|
+
};
|
|
6056
|
+
|
|
6057
|
+
|
|
6058
|
+
/**
|
|
6059
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6060
|
+
* given reader into the given message object.
|
|
6061
|
+
* @param {!proto.kycserviceapi.UpdateKycRequestedDocumentsRequest} msg The message object to deserialize into.
|
|
6062
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6063
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsRequest}
|
|
6064
|
+
*/
|
|
6065
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6066
|
+
while (reader.nextField()) {
|
|
6067
|
+
if (reader.isEndGroup()) {
|
|
6068
|
+
break;
|
|
6069
|
+
}
|
|
6070
|
+
var field = reader.getFieldNumber();
|
|
6071
|
+
switch (field) {
|
|
6072
|
+
case 1:
|
|
6073
|
+
var value = new proto.kycserviceapi.UpdateKycRequestedDocumentsData;
|
|
6074
|
+
reader.readMessage(value,proto.kycserviceapi.UpdateKycRequestedDocumentsData.deserializeBinaryFromReader);
|
|
6075
|
+
msg.setData(value);
|
|
6076
|
+
break;
|
|
6077
|
+
default:
|
|
6078
|
+
reader.skipField();
|
|
6079
|
+
break;
|
|
6080
|
+
}
|
|
6081
|
+
}
|
|
6082
|
+
return msg;
|
|
6083
|
+
};
|
|
6084
|
+
|
|
6085
|
+
|
|
6086
|
+
/**
|
|
6087
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6088
|
+
* @return {!Uint8Array}
|
|
6089
|
+
*/
|
|
6090
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.prototype.serializeBinary = function() {
|
|
6091
|
+
var writer = new jspb.BinaryWriter();
|
|
6092
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.serializeBinaryToWriter(this, writer);
|
|
6093
|
+
return writer.getResultBuffer();
|
|
6094
|
+
};
|
|
6095
|
+
|
|
6096
|
+
|
|
6097
|
+
/**
|
|
6098
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6099
|
+
* format), writing to the given BinaryWriter.
|
|
6100
|
+
* @param {!proto.kycserviceapi.UpdateKycRequestedDocumentsRequest} message
|
|
6101
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6102
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6103
|
+
*/
|
|
6104
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6105
|
+
var f = undefined;
|
|
6106
|
+
f = message.getData();
|
|
6107
|
+
if (f != null) {
|
|
6108
|
+
writer.writeMessage(
|
|
6109
|
+
1,
|
|
6110
|
+
f,
|
|
6111
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsData.serializeBinaryToWriter
|
|
6112
|
+
);
|
|
6113
|
+
}
|
|
6114
|
+
};
|
|
6115
|
+
|
|
6116
|
+
|
|
6117
|
+
/**
|
|
6118
|
+
* optional UpdateKycRequestedDocumentsData data = 1;
|
|
6119
|
+
* @return {?proto.kycserviceapi.UpdateKycRequestedDocumentsData}
|
|
6120
|
+
*/
|
|
6121
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.prototype.getData = function() {
|
|
6122
|
+
return /** @type{?proto.kycserviceapi.UpdateKycRequestedDocumentsData} */ (
|
|
6123
|
+
jspb.Message.getWrapperField(this, proto.kycserviceapi.UpdateKycRequestedDocumentsData, 1));
|
|
6124
|
+
};
|
|
6125
|
+
|
|
6126
|
+
|
|
6127
|
+
/**
|
|
6128
|
+
* @param {?proto.kycserviceapi.UpdateKycRequestedDocumentsData|undefined} value
|
|
6129
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsRequest} returns this
|
|
6130
|
+
*/
|
|
6131
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.prototype.setData = function(value) {
|
|
6132
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
6133
|
+
};
|
|
6134
|
+
|
|
6135
|
+
|
|
6136
|
+
/**
|
|
6137
|
+
* Clears the message field making it undefined.
|
|
6138
|
+
* @return {!proto.kycserviceapi.UpdateKycRequestedDocumentsRequest} returns this
|
|
6139
|
+
*/
|
|
6140
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.prototype.clearData = function() {
|
|
6141
|
+
return this.setData(undefined);
|
|
6142
|
+
};
|
|
6143
|
+
|
|
6144
|
+
|
|
6145
|
+
/**
|
|
6146
|
+
* Returns whether this field is set.
|
|
6147
|
+
* @return {boolean}
|
|
6148
|
+
*/
|
|
6149
|
+
proto.kycserviceapi.UpdateKycRequestedDocumentsRequest.prototype.hasData = function() {
|
|
6150
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6151
|
+
};
|
|
6152
|
+
|
|
6153
|
+
|
|
6154
|
+
|
|
5650
6155
|
/**
|
|
5651
6156
|
* List of repeated fields within this message type.
|
|
5652
6157
|
* @private {!Array<number>}
|
|
@@ -5689,7 +6194,8 @@ proto.kycserviceapi.UserKycSummaryResponse.toObject = function(includeInstance,
|
|
|
5689
6194
|
user: (f = msg.getUser()) && proto.kycserviceapi.User.toObject(includeInstance, f),
|
|
5690
6195
|
idrequested: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
5691
6196
|
requestedpaymentmethodsList: jspb.Message.toObjectList(msg.getRequestedpaymentmethodsList(),
|
|
5692
|
-
proto.kycserviceapi.RequestedDocument.toObject, includeInstance)
|
|
6197
|
+
proto.kycserviceapi.RequestedDocument.toObject, includeInstance),
|
|
6198
|
+
hasverifiedidentitydocument: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
5693
6199
|
};
|
|
5694
6200
|
|
|
5695
6201
|
if (includeInstance) {
|
|
@@ -5745,6 +6251,10 @@ proto.kycserviceapi.UserKycSummaryResponse.deserializeBinaryFromReader = functio
|
|
|
5745
6251
|
reader.readMessage(value,proto.kycserviceapi.RequestedDocument.deserializeBinaryFromReader);
|
|
5746
6252
|
msg.addRequestedpaymentmethods(value);
|
|
5747
6253
|
break;
|
|
6254
|
+
case 5:
|
|
6255
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6256
|
+
msg.setHasverifiedidentitydocument(value);
|
|
6257
|
+
break;
|
|
5748
6258
|
default:
|
|
5749
6259
|
reader.skipField();
|
|
5750
6260
|
break;
|
|
@@ -5805,6 +6315,13 @@ proto.kycserviceapi.UserKycSummaryResponse.serializeBinaryToWriter = function(me
|
|
|
5805
6315
|
proto.kycserviceapi.RequestedDocument.serializeBinaryToWriter
|
|
5806
6316
|
);
|
|
5807
6317
|
}
|
|
6318
|
+
f = message.getHasverifiedidentitydocument();
|
|
6319
|
+
if (f) {
|
|
6320
|
+
writer.writeBool(
|
|
6321
|
+
5,
|
|
6322
|
+
f
|
|
6323
|
+
);
|
|
6324
|
+
}
|
|
5808
6325
|
};
|
|
5809
6326
|
|
|
5810
6327
|
|
|
@@ -5938,6 +6455,24 @@ proto.kycserviceapi.UserKycSummaryResponse.prototype.clearRequestedpaymentmethod
|
|
|
5938
6455
|
};
|
|
5939
6456
|
|
|
5940
6457
|
|
|
6458
|
+
/**
|
|
6459
|
+
* optional bool hasVerifiedIdentityDocument = 5;
|
|
6460
|
+
* @return {boolean}
|
|
6461
|
+
*/
|
|
6462
|
+
proto.kycserviceapi.UserKycSummaryResponse.prototype.getHasverifiedidentitydocument = function() {
|
|
6463
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
6464
|
+
};
|
|
6465
|
+
|
|
6466
|
+
|
|
6467
|
+
/**
|
|
6468
|
+
* @param {boolean} value
|
|
6469
|
+
* @return {!proto.kycserviceapi.UserKycSummaryResponse} returns this
|
|
6470
|
+
*/
|
|
6471
|
+
proto.kycserviceapi.UserKycSummaryResponse.prototype.setHasverifiedidentitydocument = function(value) {
|
|
6472
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
6473
|
+
};
|
|
6474
|
+
|
|
6475
|
+
|
|
5941
6476
|
|
|
5942
6477
|
|
|
5943
6478
|
|