@sniipwebmaster/kyc-client-grpcweb 21.8.70 → 21.8.84
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.
|
@@ -365,5 +365,60 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.requestUserKyc =
|
|
|
365
365
|
};
|
|
366
366
|
|
|
367
367
|
|
|
368
|
+
/**
|
|
369
|
+
* @const
|
|
370
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
371
|
+
* !proto.kycserviceapi.SaveDocumentRequest,
|
|
372
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
373
|
+
*/
|
|
374
|
+
const methodInfo_KYCServiceAPIService_SaveDocument = new grpc.web.AbstractClientBase.MethodInfo(
|
|
375
|
+
proto.kycserviceapi.ResponseCode,
|
|
376
|
+
/** @param {!proto.kycserviceapi.SaveDocumentRequest} request */
|
|
377
|
+
function(request) {
|
|
378
|
+
return request.serializeBinary();
|
|
379
|
+
},
|
|
380
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
381
|
+
);
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} request The
|
|
386
|
+
* request proto
|
|
387
|
+
* @param {?Object<string, string>} metadata User defined
|
|
388
|
+
* call metadata
|
|
389
|
+
* @param {function(?grpc.web.Error, ?proto.kycserviceapi.ResponseCode)}
|
|
390
|
+
* callback The callback function(error, response)
|
|
391
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
392
|
+
* The XHR Node Readable Stream
|
|
393
|
+
*/
|
|
394
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.saveDocument =
|
|
395
|
+
function(request, metadata, callback) {
|
|
396
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
397
|
+
'/kycserviceapi.KYCServiceAPIService/SaveDocument',
|
|
398
|
+
request,
|
|
399
|
+
metadata || {},
|
|
400
|
+
methodInfo_KYCServiceAPIService_SaveDocument,
|
|
401
|
+
callback);
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} request The
|
|
407
|
+
* request proto
|
|
408
|
+
* @param {?Object<string, string>} metadata User defined
|
|
409
|
+
* call metadata
|
|
410
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
411
|
+
* A native promise that resolves to the response
|
|
412
|
+
*/
|
|
413
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.saveDocument =
|
|
414
|
+
function(request, metadata) {
|
|
415
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
416
|
+
'/kycserviceapi.KYCServiceAPIService/SaveDocument',
|
|
417
|
+
request,
|
|
418
|
+
metadata || {},
|
|
419
|
+
methodInfo_KYCServiceAPIService_SaveDocument);
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
|
|
368
423
|
module.exports = proto.kycserviceapi;
|
|
369
424
|
|
|
@@ -13,6 +13,7 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
|
13
13
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
14
14
|
goog.exportSymbol('proto.kycserviceapi.Document', null, global);
|
|
15
15
|
goog.exportSymbol('proto.kycserviceapi.DocumentResponse', null, global);
|
|
16
|
+
goog.exportSymbol('proto.kycserviceapi.DocumentSaveRequest', null, global);
|
|
16
17
|
goog.exportSymbol('proto.kycserviceapi.DocumentStatus', null, global);
|
|
17
18
|
goog.exportSymbol('proto.kycserviceapi.DocumentType', null, global);
|
|
18
19
|
goog.exportSymbol('proto.kycserviceapi.DriversLicense', null, global);
|
|
@@ -23,6 +24,7 @@ goog.exportSymbol('proto.kycserviceapi.Passport', null, global);
|
|
|
23
24
|
goog.exportSymbol('proto.kycserviceapi.RequestUserKycRequest', null, global);
|
|
24
25
|
goog.exportSymbol('proto.kycserviceapi.RequestedDocument', null, global);
|
|
25
26
|
goog.exportSymbol('proto.kycserviceapi.ResponseCode', null, global);
|
|
27
|
+
goog.exportSymbol('proto.kycserviceapi.SaveDocumentRequest', null, global);
|
|
26
28
|
goog.exportSymbol('proto.kycserviceapi.User', null, global);
|
|
27
29
|
goog.exportSymbol('proto.kycserviceapi.UserKycRequest', null, global);
|
|
28
30
|
goog.exportSymbol('proto.kycserviceapi.UserKycStatusResponse', null, global);
|
|
@@ -770,6 +772,182 @@ proto.kycserviceapi.DocumentResponse.prototype.clearStatesList = function() {
|
|
|
770
772
|
|
|
771
773
|
|
|
772
774
|
|
|
775
|
+
/**
|
|
776
|
+
* Generated by JsPbCodeGenerator.
|
|
777
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
778
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
779
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
780
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
781
|
+
* valid.
|
|
782
|
+
* @extends {jspb.Message}
|
|
783
|
+
* @constructor
|
|
784
|
+
*/
|
|
785
|
+
proto.kycserviceapi.DocumentSaveRequest = function(opt_data) {
|
|
786
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
787
|
+
};
|
|
788
|
+
goog.inherits(proto.kycserviceapi.DocumentSaveRequest, jspb.Message);
|
|
789
|
+
if (goog.DEBUG && !COMPILED) {
|
|
790
|
+
proto.kycserviceapi.DocumentSaveRequest.displayName = 'proto.kycserviceapi.DocumentSaveRequest';
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
795
|
+
/**
|
|
796
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
797
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
798
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
799
|
+
* For the list of reserved names please see:
|
|
800
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
801
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
802
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
803
|
+
* @return {!Object}
|
|
804
|
+
*/
|
|
805
|
+
proto.kycserviceapi.DocumentSaveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
806
|
+
return proto.kycserviceapi.DocumentSaveRequest.toObject(opt_includeInstance, this);
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Static version of the {@see toObject} method.
|
|
812
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
813
|
+
* instance for transitional soy proto support:
|
|
814
|
+
* http://goto/soy-param-migration
|
|
815
|
+
* @param {!proto.kycserviceapi.DocumentSaveRequest} msg The msg instance to transform.
|
|
816
|
+
* @return {!Object}
|
|
817
|
+
*/
|
|
818
|
+
proto.kycserviceapi.DocumentSaveRequest.toObject = function(includeInstance, msg) {
|
|
819
|
+
var f, obj = {
|
|
820
|
+
document: (f = msg.getDocument()) && proto.kycserviceapi.Document.toObject(includeInstance, f)
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
if (includeInstance) {
|
|
824
|
+
obj.$jspbMessageInstance = msg;
|
|
825
|
+
}
|
|
826
|
+
return obj;
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Deserializes binary data (in protobuf wire format).
|
|
833
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
834
|
+
* @return {!proto.kycserviceapi.DocumentSaveRequest}
|
|
835
|
+
*/
|
|
836
|
+
proto.kycserviceapi.DocumentSaveRequest.deserializeBinary = function(bytes) {
|
|
837
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
838
|
+
var msg = new proto.kycserviceapi.DocumentSaveRequest;
|
|
839
|
+
return proto.kycserviceapi.DocumentSaveRequest.deserializeBinaryFromReader(msg, reader);
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
845
|
+
* given reader into the given message object.
|
|
846
|
+
* @param {!proto.kycserviceapi.DocumentSaveRequest} msg The message object to deserialize into.
|
|
847
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
848
|
+
* @return {!proto.kycserviceapi.DocumentSaveRequest}
|
|
849
|
+
*/
|
|
850
|
+
proto.kycserviceapi.DocumentSaveRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
851
|
+
while (reader.nextField()) {
|
|
852
|
+
if (reader.isEndGroup()) {
|
|
853
|
+
break;
|
|
854
|
+
}
|
|
855
|
+
var field = reader.getFieldNumber();
|
|
856
|
+
switch (field) {
|
|
857
|
+
case 1:
|
|
858
|
+
var value = new proto.kycserviceapi.Document;
|
|
859
|
+
reader.readMessage(value,proto.kycserviceapi.Document.deserializeBinaryFromReader);
|
|
860
|
+
msg.setDocument(value);
|
|
861
|
+
break;
|
|
862
|
+
default:
|
|
863
|
+
reader.skipField();
|
|
864
|
+
break;
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
return msg;
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* Class method variant: serializes the given message to binary data
|
|
873
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
874
|
+
* @param {!proto.kycserviceapi.DocumentSaveRequest} message
|
|
875
|
+
* @param {!jspb.BinaryWriter} writer
|
|
876
|
+
*/
|
|
877
|
+
proto.kycserviceapi.DocumentSaveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
878
|
+
message.serializeBinaryToWriter(writer);
|
|
879
|
+
};
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
884
|
+
* @return {!Uint8Array}
|
|
885
|
+
*/
|
|
886
|
+
proto.kycserviceapi.DocumentSaveRequest.prototype.serializeBinary = function() {
|
|
887
|
+
var writer = new jspb.BinaryWriter();
|
|
888
|
+
this.serializeBinaryToWriter(writer);
|
|
889
|
+
return writer.getResultBuffer();
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
895
|
+
* writing to the given BinaryWriter.
|
|
896
|
+
* @param {!jspb.BinaryWriter} writer
|
|
897
|
+
*/
|
|
898
|
+
proto.kycserviceapi.DocumentSaveRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
899
|
+
var f = undefined;
|
|
900
|
+
f = this.getDocument();
|
|
901
|
+
if (f != null) {
|
|
902
|
+
writer.writeMessage(
|
|
903
|
+
1,
|
|
904
|
+
f,
|
|
905
|
+
proto.kycserviceapi.Document.serializeBinaryToWriter
|
|
906
|
+
);
|
|
907
|
+
}
|
|
908
|
+
};
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
913
|
+
* @return {!proto.kycserviceapi.DocumentSaveRequest} The clone.
|
|
914
|
+
*/
|
|
915
|
+
proto.kycserviceapi.DocumentSaveRequest.prototype.cloneMessage = function() {
|
|
916
|
+
return /** @type {!proto.kycserviceapi.DocumentSaveRequest} */ (jspb.Message.cloneMessage(this));
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* optional Document document = 1;
|
|
922
|
+
* @return {proto.kycserviceapi.Document}
|
|
923
|
+
*/
|
|
924
|
+
proto.kycserviceapi.DocumentSaveRequest.prototype.getDocument = function() {
|
|
925
|
+
return /** @type{proto.kycserviceapi.Document} */ (
|
|
926
|
+
jspb.Message.getWrapperField(this, proto.kycserviceapi.Document, 1));
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
/** @param {proto.kycserviceapi.Document|undefined} value */
|
|
931
|
+
proto.kycserviceapi.DocumentSaveRequest.prototype.setDocument = function(value) {
|
|
932
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
proto.kycserviceapi.DocumentSaveRequest.prototype.clearDocument = function() {
|
|
937
|
+
this.setDocument(undefined);
|
|
938
|
+
};
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* Returns whether this field is set.
|
|
943
|
+
* @return{!boolean}
|
|
944
|
+
*/
|
|
945
|
+
proto.kycserviceapi.DocumentSaveRequest.prototype.hasDocument = function() {
|
|
946
|
+
return jspb.Message.getField(this, 1) != null;
|
|
947
|
+
};
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
|
|
773
951
|
/**
|
|
774
952
|
* Generated by JsPbCodeGenerator.
|
|
775
953
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2358,6 +2536,182 @@ proto.kycserviceapi.ResponseCode.prototype.setMessage = function(value) {
|
|
|
2358
2536
|
|
|
2359
2537
|
|
|
2360
2538
|
|
|
2539
|
+
/**
|
|
2540
|
+
* Generated by JsPbCodeGenerator.
|
|
2541
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2542
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2543
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2544
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2545
|
+
* valid.
|
|
2546
|
+
* @extends {jspb.Message}
|
|
2547
|
+
* @constructor
|
|
2548
|
+
*/
|
|
2549
|
+
proto.kycserviceapi.SaveDocumentRequest = function(opt_data) {
|
|
2550
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2551
|
+
};
|
|
2552
|
+
goog.inherits(proto.kycserviceapi.SaveDocumentRequest, jspb.Message);
|
|
2553
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2554
|
+
proto.kycserviceapi.SaveDocumentRequest.displayName = 'proto.kycserviceapi.SaveDocumentRequest';
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
|
|
2558
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2559
|
+
/**
|
|
2560
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
2561
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2562
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2563
|
+
* For the list of reserved names please see:
|
|
2564
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
2565
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
2566
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
2567
|
+
* @return {!Object}
|
|
2568
|
+
*/
|
|
2569
|
+
proto.kycserviceapi.SaveDocumentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2570
|
+
return proto.kycserviceapi.SaveDocumentRequest.toObject(opt_includeInstance, this);
|
|
2571
|
+
};
|
|
2572
|
+
|
|
2573
|
+
|
|
2574
|
+
/**
|
|
2575
|
+
* Static version of the {@see toObject} method.
|
|
2576
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
2577
|
+
* instance for transitional soy proto support:
|
|
2578
|
+
* http://goto/soy-param-migration
|
|
2579
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} msg The msg instance to transform.
|
|
2580
|
+
* @return {!Object}
|
|
2581
|
+
*/
|
|
2582
|
+
proto.kycserviceapi.SaveDocumentRequest.toObject = function(includeInstance, msg) {
|
|
2583
|
+
var f, obj = {
|
|
2584
|
+
data: (f = msg.getData()) && proto.kycserviceapi.DocumentSaveRequest.toObject(includeInstance, f)
|
|
2585
|
+
};
|
|
2586
|
+
|
|
2587
|
+
if (includeInstance) {
|
|
2588
|
+
obj.$jspbMessageInstance = msg;
|
|
2589
|
+
}
|
|
2590
|
+
return obj;
|
|
2591
|
+
};
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2594
|
+
|
|
2595
|
+
/**
|
|
2596
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2597
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2598
|
+
* @return {!proto.kycserviceapi.SaveDocumentRequest}
|
|
2599
|
+
*/
|
|
2600
|
+
proto.kycserviceapi.SaveDocumentRequest.deserializeBinary = function(bytes) {
|
|
2601
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2602
|
+
var msg = new proto.kycserviceapi.SaveDocumentRequest;
|
|
2603
|
+
return proto.kycserviceapi.SaveDocumentRequest.deserializeBinaryFromReader(msg, reader);
|
|
2604
|
+
};
|
|
2605
|
+
|
|
2606
|
+
|
|
2607
|
+
/**
|
|
2608
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2609
|
+
* given reader into the given message object.
|
|
2610
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} msg The message object to deserialize into.
|
|
2611
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2612
|
+
* @return {!proto.kycserviceapi.SaveDocumentRequest}
|
|
2613
|
+
*/
|
|
2614
|
+
proto.kycserviceapi.SaveDocumentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2615
|
+
while (reader.nextField()) {
|
|
2616
|
+
if (reader.isEndGroup()) {
|
|
2617
|
+
break;
|
|
2618
|
+
}
|
|
2619
|
+
var field = reader.getFieldNumber();
|
|
2620
|
+
switch (field) {
|
|
2621
|
+
case 1:
|
|
2622
|
+
var value = new proto.kycserviceapi.DocumentSaveRequest;
|
|
2623
|
+
reader.readMessage(value,proto.kycserviceapi.DocumentSaveRequest.deserializeBinaryFromReader);
|
|
2624
|
+
msg.setData(value);
|
|
2625
|
+
break;
|
|
2626
|
+
default:
|
|
2627
|
+
reader.skipField();
|
|
2628
|
+
break;
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
return msg;
|
|
2632
|
+
};
|
|
2633
|
+
|
|
2634
|
+
|
|
2635
|
+
/**
|
|
2636
|
+
* Class method variant: serializes the given message to binary data
|
|
2637
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
2638
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} message
|
|
2639
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2640
|
+
*/
|
|
2641
|
+
proto.kycserviceapi.SaveDocumentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2642
|
+
message.serializeBinaryToWriter(writer);
|
|
2643
|
+
};
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2648
|
+
* @return {!Uint8Array}
|
|
2649
|
+
*/
|
|
2650
|
+
proto.kycserviceapi.SaveDocumentRequest.prototype.serializeBinary = function() {
|
|
2651
|
+
var writer = new jspb.BinaryWriter();
|
|
2652
|
+
this.serializeBinaryToWriter(writer);
|
|
2653
|
+
return writer.getResultBuffer();
|
|
2654
|
+
};
|
|
2655
|
+
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
2659
|
+
* writing to the given BinaryWriter.
|
|
2660
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2661
|
+
*/
|
|
2662
|
+
proto.kycserviceapi.SaveDocumentRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
2663
|
+
var f = undefined;
|
|
2664
|
+
f = this.getData();
|
|
2665
|
+
if (f != null) {
|
|
2666
|
+
writer.writeMessage(
|
|
2667
|
+
1,
|
|
2668
|
+
f,
|
|
2669
|
+
proto.kycserviceapi.DocumentSaveRequest.serializeBinaryToWriter
|
|
2670
|
+
);
|
|
2671
|
+
}
|
|
2672
|
+
};
|
|
2673
|
+
|
|
2674
|
+
|
|
2675
|
+
/**
|
|
2676
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
2677
|
+
* @return {!proto.kycserviceapi.SaveDocumentRequest} The clone.
|
|
2678
|
+
*/
|
|
2679
|
+
proto.kycserviceapi.SaveDocumentRequest.prototype.cloneMessage = function() {
|
|
2680
|
+
return /** @type {!proto.kycserviceapi.SaveDocumentRequest} */ (jspb.Message.cloneMessage(this));
|
|
2681
|
+
};
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* optional DocumentSaveRequest data = 1;
|
|
2686
|
+
* @return {proto.kycserviceapi.DocumentSaveRequest}
|
|
2687
|
+
*/
|
|
2688
|
+
proto.kycserviceapi.SaveDocumentRequest.prototype.getData = function() {
|
|
2689
|
+
return /** @type{proto.kycserviceapi.DocumentSaveRequest} */ (
|
|
2690
|
+
jspb.Message.getWrapperField(this, proto.kycserviceapi.DocumentSaveRequest, 1));
|
|
2691
|
+
};
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
/** @param {proto.kycserviceapi.DocumentSaveRequest|undefined} value */
|
|
2695
|
+
proto.kycserviceapi.SaveDocumentRequest.prototype.setData = function(value) {
|
|
2696
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
2697
|
+
};
|
|
2698
|
+
|
|
2699
|
+
|
|
2700
|
+
proto.kycserviceapi.SaveDocumentRequest.prototype.clearData = function() {
|
|
2701
|
+
this.setData(undefined);
|
|
2702
|
+
};
|
|
2703
|
+
|
|
2704
|
+
|
|
2705
|
+
/**
|
|
2706
|
+
* Returns whether this field is set.
|
|
2707
|
+
* @return{!boolean}
|
|
2708
|
+
*/
|
|
2709
|
+
proto.kycserviceapi.SaveDocumentRequest.prototype.hasData = function() {
|
|
2710
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2711
|
+
};
|
|
2712
|
+
|
|
2713
|
+
|
|
2714
|
+
|
|
2361
2715
|
/**
|
|
2362
2716
|
* Generated by JsPbCodeGenerator.
|
|
2363
2717
|
* @param {Array=} opt_data Optional initial data array, typically from a
|