@sniipwebmaster/kyc-client-grpcweb 21.8.24 → 21.8.38

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.
@@ -148,12 +148,12 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getDocument =
148
148
  /**
149
149
  * @const
150
150
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
151
- * !proto.kycserviceapi.GetUserKycStatusRequest,
151
+ * !proto.google.protobuf.Empty,
152
152
  * !proto.kycserviceapi.UserKycStatusResponse>}
153
153
  */
154
154
  const methodInfo_KYCServiceAPIService_GetUserKycStatus = new grpc.web.AbstractClientBase.MethodInfo(
155
155
  proto.kycserviceapi.UserKycStatusResponse,
156
- /** @param {!proto.kycserviceapi.GetUserKycStatusRequest} request */
156
+ /** @param {!proto.google.protobuf.Empty} request */
157
157
  function(request) {
158
158
  return request.serializeBinary();
159
159
  },
@@ -162,7 +162,7 @@ const methodInfo_KYCServiceAPIService_GetUserKycStatus = new grpc.web.AbstractCl
162
162
 
163
163
 
164
164
  /**
165
- * @param {!proto.kycserviceapi.GetUserKycStatusRequest} request The
165
+ * @param {!proto.google.protobuf.Empty} request The
166
166
  * request proto
167
167
  * @param {?Object<string, string>} metadata User defined
168
168
  * call metadata
@@ -183,7 +183,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getUserKycStatus =
183
183
 
184
184
 
185
185
  /**
186
- * @param {!proto.kycserviceapi.GetUserKycStatusRequest} request The
186
+ * @param {!proto.google.protobuf.Empty} request The
187
187
  * request proto
188
188
  * @param {?Object<string, string>} metadata User defined
189
189
  * call metadata
@@ -15,8 +15,9 @@ goog.exportSymbol('proto.kycserviceapi.Document', null, global);
15
15
  goog.exportSymbol('proto.kycserviceapi.DocumentResponse', null, global);
16
16
  goog.exportSymbol('proto.kycserviceapi.DocumentStatus', null, global);
17
17
  goog.exportSymbol('proto.kycserviceapi.DocumentType', null, global);
18
+ goog.exportSymbol('proto.kycserviceapi.DriversLicense', null, global);
18
19
  goog.exportSymbol('proto.kycserviceapi.GetDocumentRequest', null, global);
19
- goog.exportSymbol('proto.kycserviceapi.GetUserKycStatusRequest', null, global);
20
+ goog.exportSymbol('proto.kycserviceapi.KycPaymentMethod', null, global);
20
21
  goog.exportSymbol('proto.kycserviceapi.Passport', null, global);
21
22
  goog.exportSymbol('proto.kycserviceapi.RequestUserKycRequest', null, global);
22
23
  goog.exportSymbol('proto.kycserviceapi.RequestedDocument', null, global);
@@ -83,8 +84,8 @@ proto.kycserviceapi.Document.toObject = function(includeInstance, msg) {
83
84
  status: msg.getStatus(),
84
85
  required: msg.getRequired(),
85
86
  passport: (f = msg.getPassport()) && proto.kycserviceapi.Passport.toObject(includeInstance, f),
86
- driverslicense: msg.getDriverslicense(),
87
- paymentmethod: msg.getPaymentmethod(),
87
+ driverslicense: (f = msg.getDriverslicense()) && proto.kycserviceapi.DriversLicense.toObject(includeInstance, f),
88
+ paymentmethod: (f = msg.getPaymentmethod()) && proto.kycserviceapi.KycPaymentMethod.toObject(includeInstance, f),
88
89
  attachmentidsList: jspb.Message.getField(msg, 8)
89
90
  };
90
91
 
@@ -144,11 +145,13 @@ proto.kycserviceapi.Document.deserializeBinaryFromReader = function(msg, reader)
144
145
  msg.setPassport(value);
145
146
  break;
146
147
  case 6:
147
- var value = /** @type {string} */ (reader.readString());
148
+ var value = new proto.kycserviceapi.DriversLicense;
149
+ reader.readMessage(value,proto.kycserviceapi.DriversLicense.deserializeBinaryFromReader);
148
150
  msg.setDriverslicense(value);
149
151
  break;
150
152
  case 7:
151
- var value = /** @type {string} */ (reader.readString());
153
+ var value = new proto.kycserviceapi.KycPaymentMethod;
154
+ reader.readMessage(value,proto.kycserviceapi.KycPaymentMethod.deserializeBinaryFromReader);
152
155
  msg.setPaymentmethod(value);
153
156
  break;
154
157
  case 8:
@@ -230,17 +233,19 @@ proto.kycserviceapi.Document.prototype.serializeBinaryToWriter = function (write
230
233
  );
231
234
  }
232
235
  f = this.getDriverslicense();
233
- if (f.length > 0) {
234
- writer.writeString(
236
+ if (f != null) {
237
+ writer.writeMessage(
235
238
  6,
236
- f
239
+ f,
240
+ proto.kycserviceapi.DriversLicense.serializeBinaryToWriter
237
241
  );
238
242
  }
239
243
  f = this.getPaymentmethod();
240
- if (f.length > 0) {
241
- writer.writeString(
244
+ if (f != null) {
245
+ writer.writeMessage(
242
246
  7,
243
- f
247
+ f,
248
+ proto.kycserviceapi.KycPaymentMethod.serializeBinaryToWriter
244
249
  );
245
250
  }
246
251
  f = this.getAttachmentidsList();
@@ -355,32 +360,62 @@ proto.kycserviceapi.Document.prototype.hasPassport = function() {
355
360
 
356
361
 
357
362
  /**
358
- * optional string driversLicense = 6;
359
- * @return {string}
363
+ * optional DriversLicense driversLicense = 6;
364
+ * @return {proto.kycserviceapi.DriversLicense}
360
365
  */
361
366
  proto.kycserviceapi.Document.prototype.getDriverslicense = function() {
362
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
367
+ return /** @type{proto.kycserviceapi.DriversLicense} */ (
368
+ jspb.Message.getWrapperField(this, proto.kycserviceapi.DriversLicense, 6));
363
369
  };
364
370
 
365
371
 
366
- /** @param {string} value */
372
+ /** @param {proto.kycserviceapi.DriversLicense|undefined} value */
367
373
  proto.kycserviceapi.Document.prototype.setDriverslicense = function(value) {
368
- jspb.Message.setField(this, 6, value);
374
+ jspb.Message.setWrapperField(this, 6, value);
375
+ };
376
+
377
+
378
+ proto.kycserviceapi.Document.prototype.clearDriverslicense = function() {
379
+ this.setDriverslicense(undefined);
369
380
  };
370
381
 
371
382
 
372
383
  /**
373
- * optional string paymentMethod = 7;
374
- * @return {string}
384
+ * Returns whether this field is set.
385
+ * @return{!boolean}
386
+ */
387
+ proto.kycserviceapi.Document.prototype.hasDriverslicense = function() {
388
+ return jspb.Message.getField(this, 6) != null;
389
+ };
390
+
391
+
392
+ /**
393
+ * optional KycPaymentMethod paymentMethod = 7;
394
+ * @return {proto.kycserviceapi.KycPaymentMethod}
375
395
  */
376
396
  proto.kycserviceapi.Document.prototype.getPaymentmethod = function() {
377
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
397
+ return /** @type{proto.kycserviceapi.KycPaymentMethod} */ (
398
+ jspb.Message.getWrapperField(this, proto.kycserviceapi.KycPaymentMethod, 7));
378
399
  };
379
400
 
380
401
 
381
- /** @param {string} value */
402
+ /** @param {proto.kycserviceapi.KycPaymentMethod|undefined} value */
382
403
  proto.kycserviceapi.Document.prototype.setPaymentmethod = function(value) {
383
- jspb.Message.setField(this, 7, value);
404
+ jspb.Message.setWrapperField(this, 7, value);
405
+ };
406
+
407
+
408
+ proto.kycserviceapi.Document.prototype.clearPaymentmethod = function() {
409
+ this.setPaymentmethod(undefined);
410
+ };
411
+
412
+
413
+ /**
414
+ * Returns whether this field is set.
415
+ * @return{!boolean}
416
+ */
417
+ proto.kycserviceapi.Document.prototype.hasPaymentmethod = function() {
418
+ return jspb.Message.getField(this, 7) != null;
384
419
  };
385
420
 
386
421
 
@@ -704,6 +739,246 @@ proto.kycserviceapi.DocumentResponse.prototype.clearStatesList = function() {
704
739
 
705
740
 
706
741
 
742
+ /**
743
+ * Generated by JsPbCodeGenerator.
744
+ * @param {Array=} opt_data Optional initial data array, typically from a
745
+ * server response, or constructed directly in Javascript. The array is used
746
+ * in place and becomes part of the constructed object. It is not cloned.
747
+ * If no data is provided, the constructed object will be empty, but still
748
+ * valid.
749
+ * @extends {jspb.Message}
750
+ * @constructor
751
+ */
752
+ proto.kycserviceapi.DriversLicense = function(opt_data) {
753
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
754
+ };
755
+ goog.inherits(proto.kycserviceapi.DriversLicense, jspb.Message);
756
+ if (goog.DEBUG && !COMPILED) {
757
+ proto.kycserviceapi.DriversLicense.displayName = 'proto.kycserviceapi.DriversLicense';
758
+ }
759
+
760
+
761
+ if (jspb.Message.GENERATE_TO_OBJECT) {
762
+ /**
763
+ * Creates an object representation of this proto suitable for use in Soy templates.
764
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
765
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
766
+ * For the list of reserved names please see:
767
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
768
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
769
+ * for transitional soy proto support: http://goto/soy-param-migration
770
+ * @return {!Object}
771
+ */
772
+ proto.kycserviceapi.DriversLicense.prototype.toObject = function(opt_includeInstance) {
773
+ return proto.kycserviceapi.DriversLicense.toObject(opt_includeInstance, this);
774
+ };
775
+
776
+
777
+ /**
778
+ * Static version of the {@see toObject} method.
779
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
780
+ * instance for transitional soy proto support:
781
+ * http://goto/soy-param-migration
782
+ * @param {!proto.kycserviceapi.DriversLicense} msg The msg instance to transform.
783
+ * @return {!Object}
784
+ */
785
+ proto.kycserviceapi.DriversLicense.toObject = function(includeInstance, msg) {
786
+ var f, obj = {
787
+ driverslicenseid: msg.getDriverslicenseid(),
788
+ country: msg.getCountry(),
789
+ state: msg.getState(),
790
+ licensenumber: msg.getLicensenumber()
791
+ };
792
+
793
+ if (includeInstance) {
794
+ obj.$jspbMessageInstance = msg;
795
+ }
796
+ return obj;
797
+ };
798
+ }
799
+
800
+
801
+ /**
802
+ * Deserializes binary data (in protobuf wire format).
803
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
804
+ * @return {!proto.kycserviceapi.DriversLicense}
805
+ */
806
+ proto.kycserviceapi.DriversLicense.deserializeBinary = function(bytes) {
807
+ var reader = new jspb.BinaryReader(bytes);
808
+ var msg = new proto.kycserviceapi.DriversLicense;
809
+ return proto.kycserviceapi.DriversLicense.deserializeBinaryFromReader(msg, reader);
810
+ };
811
+
812
+
813
+ /**
814
+ * Deserializes binary data (in protobuf wire format) from the
815
+ * given reader into the given message object.
816
+ * @param {!proto.kycserviceapi.DriversLicense} msg The message object to deserialize into.
817
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
818
+ * @return {!proto.kycserviceapi.DriversLicense}
819
+ */
820
+ proto.kycserviceapi.DriversLicense.deserializeBinaryFromReader = function(msg, reader) {
821
+ while (reader.nextField()) {
822
+ if (reader.isEndGroup()) {
823
+ break;
824
+ }
825
+ var field = reader.getFieldNumber();
826
+ switch (field) {
827
+ case 1:
828
+ var value = /** @type {number} */ (reader.readInt64());
829
+ msg.setDriverslicenseid(value);
830
+ break;
831
+ case 2:
832
+ var value = /** @type {string} */ (reader.readString());
833
+ msg.setCountry(value);
834
+ break;
835
+ case 3:
836
+ var value = /** @type {string} */ (reader.readString());
837
+ msg.setState(value);
838
+ break;
839
+ case 4:
840
+ var value = /** @type {string} */ (reader.readString());
841
+ msg.setLicensenumber(value);
842
+ break;
843
+ default:
844
+ reader.skipField();
845
+ break;
846
+ }
847
+ }
848
+ return msg;
849
+ };
850
+
851
+
852
+ /**
853
+ * Class method variant: serializes the given message to binary data
854
+ * (in protobuf wire format), writing to the given BinaryWriter.
855
+ * @param {!proto.kycserviceapi.DriversLicense} message
856
+ * @param {!jspb.BinaryWriter} writer
857
+ */
858
+ proto.kycserviceapi.DriversLicense.serializeBinaryToWriter = function(message, writer) {
859
+ message.serializeBinaryToWriter(writer);
860
+ };
861
+
862
+
863
+ /**
864
+ * Serializes the message to binary data (in protobuf wire format).
865
+ * @return {!Uint8Array}
866
+ */
867
+ proto.kycserviceapi.DriversLicense.prototype.serializeBinary = function() {
868
+ var writer = new jspb.BinaryWriter();
869
+ this.serializeBinaryToWriter(writer);
870
+ return writer.getResultBuffer();
871
+ };
872
+
873
+
874
+ /**
875
+ * Serializes the message to binary data (in protobuf wire format),
876
+ * writing to the given BinaryWriter.
877
+ * @param {!jspb.BinaryWriter} writer
878
+ */
879
+ proto.kycserviceapi.DriversLicense.prototype.serializeBinaryToWriter = function (writer) {
880
+ var f = undefined;
881
+ f = this.getDriverslicenseid();
882
+ if (f !== 0) {
883
+ writer.writeInt64(
884
+ 1,
885
+ f
886
+ );
887
+ }
888
+ f = this.getCountry();
889
+ if (f.length > 0) {
890
+ writer.writeString(
891
+ 2,
892
+ f
893
+ );
894
+ }
895
+ f = this.getState();
896
+ if (f.length > 0) {
897
+ writer.writeString(
898
+ 3,
899
+ f
900
+ );
901
+ }
902
+ f = this.getLicensenumber();
903
+ if (f.length > 0) {
904
+ writer.writeString(
905
+ 4,
906
+ f
907
+ );
908
+ }
909
+ };
910
+
911
+
912
+ /**
913
+ * Creates a deep clone of this proto. No data is shared with the original.
914
+ * @return {!proto.kycserviceapi.DriversLicense} The clone.
915
+ */
916
+ proto.kycserviceapi.DriversLicense.prototype.cloneMessage = function() {
917
+ return /** @type {!proto.kycserviceapi.DriversLicense} */ (jspb.Message.cloneMessage(this));
918
+ };
919
+
920
+
921
+ /**
922
+ * optional int64 driversLicenseId = 1;
923
+ * @return {number}
924
+ */
925
+ proto.kycserviceapi.DriversLicense.prototype.getDriverslicenseid = function() {
926
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
927
+ };
928
+
929
+
930
+ /** @param {number} value */
931
+ proto.kycserviceapi.DriversLicense.prototype.setDriverslicenseid = function(value) {
932
+ jspb.Message.setField(this, 1, value);
933
+ };
934
+
935
+
936
+ /**
937
+ * optional string country = 2;
938
+ * @return {string}
939
+ */
940
+ proto.kycserviceapi.DriversLicense.prototype.getCountry = function() {
941
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
942
+ };
943
+
944
+
945
+ /** @param {string} value */
946
+ proto.kycserviceapi.DriversLicense.prototype.setCountry = function(value) {
947
+ jspb.Message.setField(this, 2, value);
948
+ };
949
+
950
+
951
+ /**
952
+ * optional string state = 3;
953
+ * @return {string}
954
+ */
955
+ proto.kycserviceapi.DriversLicense.prototype.getState = function() {
956
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
957
+ };
958
+
959
+
960
+ /** @param {string} value */
961
+ proto.kycserviceapi.DriversLicense.prototype.setState = function(value) {
962
+ jspb.Message.setField(this, 3, value);
963
+ };
964
+
965
+
966
+ /**
967
+ * optional string licenseNumber = 4;
968
+ * @return {string}
969
+ */
970
+ proto.kycserviceapi.DriversLicense.prototype.getLicensenumber = function() {
971
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
972
+ };
973
+
974
+
975
+ /** @param {string} value */
976
+ proto.kycserviceapi.DriversLicense.prototype.setLicensenumber = function(value) {
977
+ jspb.Message.setField(this, 4, value);
978
+ };
979
+
980
+
981
+
707
982
  /**
708
983
  * Generated by JsPbCodeGenerator.
709
984
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -873,12 +1148,12 @@ proto.kycserviceapi.GetDocumentRequest.prototype.setDocumentid = function(value)
873
1148
  * @extends {jspb.Message}
874
1149
  * @constructor
875
1150
  */
876
- proto.kycserviceapi.GetUserKycStatusRequest = function(opt_data) {
1151
+ proto.kycserviceapi.KycPaymentMethod = function(opt_data) {
877
1152
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
878
1153
  };
879
- goog.inherits(proto.kycserviceapi.GetUserKycStatusRequest, jspb.Message);
1154
+ goog.inherits(proto.kycserviceapi.KycPaymentMethod, jspb.Message);
880
1155
  if (goog.DEBUG && !COMPILED) {
881
- proto.kycserviceapi.GetUserKycStatusRequest.displayName = 'proto.kycserviceapi.GetUserKycStatusRequest';
1156
+ proto.kycserviceapi.KycPaymentMethod.displayName = 'proto.kycserviceapi.KycPaymentMethod';
882
1157
  }
883
1158
 
884
1159
 
@@ -893,8 +1168,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
893
1168
  * for transitional soy proto support: http://goto/soy-param-migration
894
1169
  * @return {!Object}
895
1170
  */
896
- proto.kycserviceapi.GetUserKycStatusRequest.prototype.toObject = function(opt_includeInstance) {
897
- return proto.kycserviceapi.GetUserKycStatusRequest.toObject(opt_includeInstance, this);
1171
+ proto.kycserviceapi.KycPaymentMethod.prototype.toObject = function(opt_includeInstance) {
1172
+ return proto.kycserviceapi.KycPaymentMethod.toObject(opt_includeInstance, this);
898
1173
  };
899
1174
 
900
1175
 
@@ -903,12 +1178,13 @@ proto.kycserviceapi.GetUserKycStatusRequest.prototype.toObject = function(opt_in
903
1178
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
904
1179
  * instance for transitional soy proto support:
905
1180
  * http://goto/soy-param-migration
906
- * @param {!proto.kycserviceapi.GetUserKycStatusRequest} msg The msg instance to transform.
1181
+ * @param {!proto.kycserviceapi.KycPaymentMethod} msg The msg instance to transform.
907
1182
  * @return {!Object}
908
1183
  */
909
- proto.kycserviceapi.GetUserKycStatusRequest.toObject = function(includeInstance, msg) {
1184
+ proto.kycserviceapi.KycPaymentMethod.toObject = function(includeInstance, msg) {
910
1185
  var f, obj = {
911
- userid: msg.getUserid()
1186
+ kycpaymentmethodid: msg.getKycpaymentmethodid(),
1187
+ paymentmethodid: msg.getPaymentmethodid()
912
1188
  };
913
1189
 
914
1190
  if (includeInstance) {
@@ -922,23 +1198,23 @@ proto.kycserviceapi.GetUserKycStatusRequest.toObject = function(includeInstance,
922
1198
  /**
923
1199
  * Deserializes binary data (in protobuf wire format).
924
1200
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
925
- * @return {!proto.kycserviceapi.GetUserKycStatusRequest}
1201
+ * @return {!proto.kycserviceapi.KycPaymentMethod}
926
1202
  */
927
- proto.kycserviceapi.GetUserKycStatusRequest.deserializeBinary = function(bytes) {
1203
+ proto.kycserviceapi.KycPaymentMethod.deserializeBinary = function(bytes) {
928
1204
  var reader = new jspb.BinaryReader(bytes);
929
- var msg = new proto.kycserviceapi.GetUserKycStatusRequest;
930
- return proto.kycserviceapi.GetUserKycStatusRequest.deserializeBinaryFromReader(msg, reader);
1205
+ var msg = new proto.kycserviceapi.KycPaymentMethod;
1206
+ return proto.kycserviceapi.KycPaymentMethod.deserializeBinaryFromReader(msg, reader);
931
1207
  };
932
1208
 
933
1209
 
934
1210
  /**
935
1211
  * Deserializes binary data (in protobuf wire format) from the
936
1212
  * given reader into the given message object.
937
- * @param {!proto.kycserviceapi.GetUserKycStatusRequest} msg The message object to deserialize into.
1213
+ * @param {!proto.kycserviceapi.KycPaymentMethod} msg The message object to deserialize into.
938
1214
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
939
- * @return {!proto.kycserviceapi.GetUserKycStatusRequest}
1215
+ * @return {!proto.kycserviceapi.KycPaymentMethod}
940
1216
  */
941
- proto.kycserviceapi.GetUserKycStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
1217
+ proto.kycserviceapi.KycPaymentMethod.deserializeBinaryFromReader = function(msg, reader) {
942
1218
  while (reader.nextField()) {
943
1219
  if (reader.isEndGroup()) {
944
1220
  break;
@@ -947,7 +1223,11 @@ proto.kycserviceapi.GetUserKycStatusRequest.deserializeBinaryFromReader = functi
947
1223
  switch (field) {
948
1224
  case 1:
949
1225
  var value = /** @type {number} */ (reader.readInt64());
950
- msg.setUserid(value);
1226
+ msg.setKycpaymentmethodid(value);
1227
+ break;
1228
+ case 2:
1229
+ var value = /** @type {number} */ (reader.readInt64());
1230
+ msg.setPaymentmethodid(value);
951
1231
  break;
952
1232
  default:
953
1233
  reader.skipField();
@@ -961,10 +1241,10 @@ proto.kycserviceapi.GetUserKycStatusRequest.deserializeBinaryFromReader = functi
961
1241
  /**
962
1242
  * Class method variant: serializes the given message to binary data
963
1243
  * (in protobuf wire format), writing to the given BinaryWriter.
964
- * @param {!proto.kycserviceapi.GetUserKycStatusRequest} message
1244
+ * @param {!proto.kycserviceapi.KycPaymentMethod} message
965
1245
  * @param {!jspb.BinaryWriter} writer
966
1246
  */
967
- proto.kycserviceapi.GetUserKycStatusRequest.serializeBinaryToWriter = function(message, writer) {
1247
+ proto.kycserviceapi.KycPaymentMethod.serializeBinaryToWriter = function(message, writer) {
968
1248
  message.serializeBinaryToWriter(writer);
969
1249
  };
970
1250
 
@@ -973,7 +1253,7 @@ proto.kycserviceapi.GetUserKycStatusRequest.serializeBinaryToWriter = function(m
973
1253
  * Serializes the message to binary data (in protobuf wire format).
974
1254
  * @return {!Uint8Array}
975
1255
  */
976
- proto.kycserviceapi.GetUserKycStatusRequest.prototype.serializeBinary = function() {
1256
+ proto.kycserviceapi.KycPaymentMethod.prototype.serializeBinary = function() {
977
1257
  var writer = new jspb.BinaryWriter();
978
1258
  this.serializeBinaryToWriter(writer);
979
1259
  return writer.getResultBuffer();
@@ -985,42 +1265,64 @@ proto.kycserviceapi.GetUserKycStatusRequest.prototype.serializeBinary = function
985
1265
  * writing to the given BinaryWriter.
986
1266
  * @param {!jspb.BinaryWriter} writer
987
1267
  */
988
- proto.kycserviceapi.GetUserKycStatusRequest.prototype.serializeBinaryToWriter = function (writer) {
1268
+ proto.kycserviceapi.KycPaymentMethod.prototype.serializeBinaryToWriter = function (writer) {
989
1269
  var f = undefined;
990
- f = this.getUserid();
1270
+ f = this.getKycpaymentmethodid();
991
1271
  if (f !== 0) {
992
1272
  writer.writeInt64(
993
1273
  1,
994
1274
  f
995
1275
  );
996
1276
  }
1277
+ f = this.getPaymentmethodid();
1278
+ if (f !== 0) {
1279
+ writer.writeInt64(
1280
+ 2,
1281
+ f
1282
+ );
1283
+ }
997
1284
  };
998
1285
 
999
1286
 
1000
1287
  /**
1001
1288
  * Creates a deep clone of this proto. No data is shared with the original.
1002
- * @return {!proto.kycserviceapi.GetUserKycStatusRequest} The clone.
1289
+ * @return {!proto.kycserviceapi.KycPaymentMethod} The clone.
1003
1290
  */
1004
- proto.kycserviceapi.GetUserKycStatusRequest.prototype.cloneMessage = function() {
1005
- return /** @type {!proto.kycserviceapi.GetUserKycStatusRequest} */ (jspb.Message.cloneMessage(this));
1291
+ proto.kycserviceapi.KycPaymentMethod.prototype.cloneMessage = function() {
1292
+ return /** @type {!proto.kycserviceapi.KycPaymentMethod} */ (jspb.Message.cloneMessage(this));
1006
1293
  };
1007
1294
 
1008
1295
 
1009
1296
  /**
1010
- * optional int64 userId = 1;
1297
+ * optional int64 kycPaymentMethodId = 1;
1011
1298
  * @return {number}
1012
1299
  */
1013
- proto.kycserviceapi.GetUserKycStatusRequest.prototype.getUserid = function() {
1300
+ proto.kycserviceapi.KycPaymentMethod.prototype.getKycpaymentmethodid = function() {
1014
1301
  return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
1015
1302
  };
1016
1303
 
1017
1304
 
1018
1305
  /** @param {number} value */
1019
- proto.kycserviceapi.GetUserKycStatusRequest.prototype.setUserid = function(value) {
1306
+ proto.kycserviceapi.KycPaymentMethod.prototype.setKycpaymentmethodid = function(value) {
1020
1307
  jspb.Message.setField(this, 1, value);
1021
1308
  };
1022
1309
 
1023
1310
 
1311
+ /**
1312
+ * optional int64 paymentMethodId = 2;
1313
+ * @return {number}
1314
+ */
1315
+ proto.kycserviceapi.KycPaymentMethod.prototype.getPaymentmethodid = function() {
1316
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
1317
+ };
1318
+
1319
+
1320
+ /** @param {number} value */
1321
+ proto.kycserviceapi.KycPaymentMethod.prototype.setPaymentmethodid = function(value) {
1322
+ jspb.Message.setField(this, 2, value);
1323
+ };
1324
+
1325
+
1024
1326
 
1025
1327
  /**
1026
1328
  * Generated by JsPbCodeGenerator.
@@ -2631,7 +2933,7 @@ proto.kycserviceapi.DocumentStatus = {
2631
2933
  */
2632
2934
  proto.kycserviceapi.DocumentType = {
2633
2935
  PHOTO_ID: 0,
2634
- DRIVER_LICENSE: 1,
2936
+ DRIVERS_LICENSE: 1,
2635
2937
  PASSPORT: 2,
2636
2938
  PAYMENT_METHOD_ANY: 3,
2637
2939
  PAYMENT_METHOD: 4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/kyc-client-grpcweb",
3
- "version": "21.8.24",
3
+ "version": "21.8.38",
4
4
  "description": "kyc-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",