@sniipwebmaster/kyc-client-grpcweb 26.3.1867 → 26.3.1884

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.
@@ -1298,5 +1298,66 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.submitFaceCompar
1298
1298
  };
1299
1299
 
1300
1300
 
1301
+ /**
1302
+ * @const
1303
+ * @type {!grpc.web.MethodDescriptor<
1304
+ * !proto.kycserviceapi.ClearKycExternalIdRequest,
1305
+ * !proto.kycserviceapi.ResponseCode>}
1306
+ */
1307
+ const methodDescriptor_KYCServiceAPIService_ClearKycExternalId = new grpc.web.MethodDescriptor(
1308
+ '/kycserviceapi.KYCServiceAPIService/ClearKycExternalId',
1309
+ grpc.web.MethodType.UNARY,
1310
+ proto.kycserviceapi.ClearKycExternalIdRequest,
1311
+ proto.kycserviceapi.ResponseCode,
1312
+ /**
1313
+ * @param {!proto.kycserviceapi.ClearKycExternalIdRequest} request
1314
+ * @return {!Uint8Array}
1315
+ */
1316
+ function(request) {
1317
+ return request.serializeBinary();
1318
+ },
1319
+ proto.kycserviceapi.ResponseCode.deserializeBinary
1320
+ );
1321
+
1322
+
1323
+ /**
1324
+ * @param {!proto.kycserviceapi.ClearKycExternalIdRequest} request The
1325
+ * request proto
1326
+ * @param {?Object<string, string>} metadata User defined
1327
+ * call metadata
1328
+ * @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
1329
+ * callback The callback function(error, response)
1330
+ * @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
1331
+ * The XHR Node Readable Stream
1332
+ */
1333
+ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.clearKycExternalId =
1334
+ function(request, metadata, callback) {
1335
+ return this.client_.rpcCall(this.hostname_ +
1336
+ '/kycserviceapi.KYCServiceAPIService/ClearKycExternalId',
1337
+ request,
1338
+ metadata || {},
1339
+ methodDescriptor_KYCServiceAPIService_ClearKycExternalId,
1340
+ callback);
1341
+ };
1342
+
1343
+
1344
+ /**
1345
+ * @param {!proto.kycserviceapi.ClearKycExternalIdRequest} request The
1346
+ * request proto
1347
+ * @param {?Object<string, string>=} metadata User defined
1348
+ * call metadata
1349
+ * @return {!Promise<!proto.kycserviceapi.ResponseCode>}
1350
+ * Promise that resolves to the response
1351
+ */
1352
+ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.clearKycExternalId =
1353
+ function(request, metadata) {
1354
+ return this.client_.unaryCall(this.hostname_ +
1355
+ '/kycserviceapi.KYCServiceAPIService/ClearKycExternalId',
1356
+ request,
1357
+ metadata || {},
1358
+ methodDescriptor_KYCServiceAPIService_ClearKycExternalId);
1359
+ };
1360
+
1361
+
1301
1362
  module.exports = proto.kycserviceapi;
1302
1363
 
@@ -21,6 +21,7 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
21
21
  goog.object.extend(proto, google_protobuf_empty_pb);
22
22
  goog.exportSymbol('proto.kycserviceapi.Attachment', null, global);
23
23
  goog.exportSymbol('proto.kycserviceapi.AttachmentSide', null, global);
24
+ goog.exportSymbol('proto.kycserviceapi.ClearKycExternalIdRequest', null, global);
24
25
  goog.exportSymbol('proto.kycserviceapi.DeleteDocumentRequest', null, global);
25
26
  goog.exportSymbol('proto.kycserviceapi.Document', null, global);
26
27
  goog.exportSymbol('proto.kycserviceapi.DocumentImage', null, global);
@@ -645,6 +646,27 @@ if (goog.DEBUG && !COMPILED) {
645
646
  */
646
647
  proto.kycserviceapi.VerifyUserRequest.displayName = 'proto.kycserviceapi.VerifyUserRequest';
647
648
  }
649
+ /**
650
+ * Generated by JsPbCodeGenerator.
651
+ * @param {Array=} opt_data Optional initial data array, typically from a
652
+ * server response, or constructed directly in Javascript. The array is used
653
+ * in place and becomes part of the constructed object. It is not cloned.
654
+ * If no data is provided, the constructed object will be empty, but still
655
+ * valid.
656
+ * @extends {jspb.Message}
657
+ * @constructor
658
+ */
659
+ proto.kycserviceapi.ClearKycExternalIdRequest = function(opt_data) {
660
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
661
+ };
662
+ goog.inherits(proto.kycserviceapi.ClearKycExternalIdRequest, jspb.Message);
663
+ if (goog.DEBUG && !COMPILED) {
664
+ /**
665
+ * @public
666
+ * @override
667
+ */
668
+ proto.kycserviceapi.ClearKycExternalIdRequest.displayName = 'proto.kycserviceapi.ClearKycExternalIdRequest';
669
+ }
648
670
  /**
649
671
  * Generated by JsPbCodeGenerator.
650
672
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6429,6 +6451,196 @@ proto.kycserviceapi.VerifyUserRequest.prototype.setUserid = function(value) {
6429
6451
 
6430
6452
 
6431
6453
 
6454
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6455
+ /**
6456
+ * Creates an object representation of this proto.
6457
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6458
+ * Optional fields that are not set will be set to undefined.
6459
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6460
+ * For the list of reserved names please see:
6461
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6462
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6463
+ * JSPB instance for transitional soy proto support:
6464
+ * http://goto/soy-param-migration
6465
+ * @return {!Object}
6466
+ */
6467
+ proto.kycserviceapi.ClearKycExternalIdRequest.prototype.toObject = function(opt_includeInstance) {
6468
+ return proto.kycserviceapi.ClearKycExternalIdRequest.toObject(opt_includeInstance, this);
6469
+ };
6470
+
6471
+
6472
+ /**
6473
+ * Static version of the {@see toObject} method.
6474
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6475
+ * the JSPB instance for transitional soy proto support:
6476
+ * http://goto/soy-param-migration
6477
+ * @param {!proto.kycserviceapi.ClearKycExternalIdRequest} msg The msg instance to transform.
6478
+ * @return {!Object}
6479
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6480
+ */
6481
+ proto.kycserviceapi.ClearKycExternalIdRequest.toObject = function(includeInstance, msg) {
6482
+ var f, obj = {
6483
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
6484
+ password: jspb.Message.getFieldWithDefault(msg, 2, ""),
6485
+ comment: jspb.Message.getFieldWithDefault(msg, 3, "")
6486
+ };
6487
+
6488
+ if (includeInstance) {
6489
+ obj.$jspbMessageInstance = msg;
6490
+ }
6491
+ return obj;
6492
+ };
6493
+ }
6494
+
6495
+
6496
+ /**
6497
+ * Deserializes binary data (in protobuf wire format).
6498
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6499
+ * @return {!proto.kycserviceapi.ClearKycExternalIdRequest}
6500
+ */
6501
+ proto.kycserviceapi.ClearKycExternalIdRequest.deserializeBinary = function(bytes) {
6502
+ var reader = new jspb.BinaryReader(bytes);
6503
+ var msg = new proto.kycserviceapi.ClearKycExternalIdRequest;
6504
+ return proto.kycserviceapi.ClearKycExternalIdRequest.deserializeBinaryFromReader(msg, reader);
6505
+ };
6506
+
6507
+
6508
+ /**
6509
+ * Deserializes binary data (in protobuf wire format) from the
6510
+ * given reader into the given message object.
6511
+ * @param {!proto.kycserviceapi.ClearKycExternalIdRequest} msg The message object to deserialize into.
6512
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6513
+ * @return {!proto.kycserviceapi.ClearKycExternalIdRequest}
6514
+ */
6515
+ proto.kycserviceapi.ClearKycExternalIdRequest.deserializeBinaryFromReader = function(msg, reader) {
6516
+ while (reader.nextField()) {
6517
+ if (reader.isEndGroup()) {
6518
+ break;
6519
+ }
6520
+ var field = reader.getFieldNumber();
6521
+ switch (field) {
6522
+ case 1:
6523
+ var value = /** @type {number} */ (reader.readInt64());
6524
+ msg.setUserid(value);
6525
+ break;
6526
+ case 2:
6527
+ var value = /** @type {string} */ (reader.readString());
6528
+ msg.setPassword(value);
6529
+ break;
6530
+ case 3:
6531
+ var value = /** @type {string} */ (reader.readString());
6532
+ msg.setComment(value);
6533
+ break;
6534
+ default:
6535
+ reader.skipField();
6536
+ break;
6537
+ }
6538
+ }
6539
+ return msg;
6540
+ };
6541
+
6542
+
6543
+ /**
6544
+ * Serializes the message to binary data (in protobuf wire format).
6545
+ * @return {!Uint8Array}
6546
+ */
6547
+ proto.kycserviceapi.ClearKycExternalIdRequest.prototype.serializeBinary = function() {
6548
+ var writer = new jspb.BinaryWriter();
6549
+ proto.kycserviceapi.ClearKycExternalIdRequest.serializeBinaryToWriter(this, writer);
6550
+ return writer.getResultBuffer();
6551
+ };
6552
+
6553
+
6554
+ /**
6555
+ * Serializes the given message to binary data (in protobuf wire
6556
+ * format), writing to the given BinaryWriter.
6557
+ * @param {!proto.kycserviceapi.ClearKycExternalIdRequest} message
6558
+ * @param {!jspb.BinaryWriter} writer
6559
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6560
+ */
6561
+ proto.kycserviceapi.ClearKycExternalIdRequest.serializeBinaryToWriter = function(message, writer) {
6562
+ var f = undefined;
6563
+ f = message.getUserid();
6564
+ if (f !== 0) {
6565
+ writer.writeInt64(
6566
+ 1,
6567
+ f
6568
+ );
6569
+ }
6570
+ f = message.getPassword();
6571
+ if (f.length > 0) {
6572
+ writer.writeString(
6573
+ 2,
6574
+ f
6575
+ );
6576
+ }
6577
+ f = message.getComment();
6578
+ if (f.length > 0) {
6579
+ writer.writeString(
6580
+ 3,
6581
+ f
6582
+ );
6583
+ }
6584
+ };
6585
+
6586
+
6587
+ /**
6588
+ * optional int64 userId = 1;
6589
+ * @return {number}
6590
+ */
6591
+ proto.kycserviceapi.ClearKycExternalIdRequest.prototype.getUserid = function() {
6592
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
6593
+ };
6594
+
6595
+
6596
+ /**
6597
+ * @param {number} value
6598
+ * @return {!proto.kycserviceapi.ClearKycExternalIdRequest} returns this
6599
+ */
6600
+ proto.kycserviceapi.ClearKycExternalIdRequest.prototype.setUserid = function(value) {
6601
+ return jspb.Message.setProto3IntField(this, 1, value);
6602
+ };
6603
+
6604
+
6605
+ /**
6606
+ * optional string password = 2;
6607
+ * @return {string}
6608
+ */
6609
+ proto.kycserviceapi.ClearKycExternalIdRequest.prototype.getPassword = function() {
6610
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6611
+ };
6612
+
6613
+
6614
+ /**
6615
+ * @param {string} value
6616
+ * @return {!proto.kycserviceapi.ClearKycExternalIdRequest} returns this
6617
+ */
6618
+ proto.kycserviceapi.ClearKycExternalIdRequest.prototype.setPassword = function(value) {
6619
+ return jspb.Message.setProto3StringField(this, 2, value);
6620
+ };
6621
+
6622
+
6623
+ /**
6624
+ * optional string comment = 3;
6625
+ * @return {string}
6626
+ */
6627
+ proto.kycserviceapi.ClearKycExternalIdRequest.prototype.getComment = function() {
6628
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6629
+ };
6630
+
6631
+
6632
+ /**
6633
+ * @param {string} value
6634
+ * @return {!proto.kycserviceapi.ClearKycExternalIdRequest} returns this
6635
+ */
6636
+ proto.kycserviceapi.ClearKycExternalIdRequest.prototype.setComment = function(value) {
6637
+ return jspb.Message.setProto3StringField(this, 3, value);
6638
+ };
6639
+
6640
+
6641
+
6642
+
6643
+
6432
6644
  if (jspb.Message.GENERATE_TO_OBJECT) {
6433
6645
  /**
6434
6646
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/kyc-client-grpcweb",
3
- "version": "26.3.1867",
3
+ "version": "26.3.1884",
4
4
  "description": "kyc-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",