@sniipwebmaster/kyc-client-grpcweb 21.8.150 → 21.8.159

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.
@@ -585,5 +585,60 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.verifyDocument =
585
585
  };
586
586
 
587
587
 
588
+ /**
589
+ * @const
590
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
591
+ * !proto.kycserviceapi.VerifyUserRequest,
592
+ * !proto.kycserviceapi.ResponseCode>}
593
+ */
594
+ const methodInfo_KYCServiceAPIService_VerifyUser = new grpc.web.AbstractClientBase.MethodInfo(
595
+ proto.kycserviceapi.ResponseCode,
596
+ /** @param {!proto.kycserviceapi.VerifyUserRequest} request */
597
+ function(request) {
598
+ return request.serializeBinary();
599
+ },
600
+ proto.kycserviceapi.ResponseCode.deserializeBinary
601
+ );
602
+
603
+
604
+ /**
605
+ * @param {!proto.kycserviceapi.VerifyUserRequest} request The
606
+ * request proto
607
+ * @param {?Object<string, string>} metadata User defined
608
+ * call metadata
609
+ * @param {function(?grpc.web.Error, ?proto.kycserviceapi.ResponseCode)}
610
+ * callback The callback function(error, response)
611
+ * @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
612
+ * The XHR Node Readable Stream
613
+ */
614
+ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.verifyUser =
615
+ function(request, metadata, callback) {
616
+ return this.client_.rpcCall(this.hostname_ +
617
+ '/kycserviceapi.KYCServiceAPIService/VerifyUser',
618
+ request,
619
+ metadata || {},
620
+ methodInfo_KYCServiceAPIService_VerifyUser,
621
+ callback);
622
+ };
623
+
624
+
625
+ /**
626
+ * @param {!proto.kycserviceapi.VerifyUserRequest} request The
627
+ * request proto
628
+ * @param {?Object<string, string>} metadata User defined
629
+ * call metadata
630
+ * @return {!Promise<!proto.kycserviceapi.ResponseCode>}
631
+ * A native promise that resolves to the response
632
+ */
633
+ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.verifyUser =
634
+ function(request, metadata) {
635
+ return this.client_.unaryCall(this.hostname_ +
636
+ '/kycserviceapi.KYCServiceAPIService/VerifyUser',
637
+ request,
638
+ metadata || {},
639
+ methodInfo_KYCServiceAPIService_VerifyUser);
640
+ };
641
+
642
+
588
643
  module.exports = proto.kycserviceapi;
589
644
 
@@ -33,6 +33,7 @@ goog.exportSymbol('proto.kycserviceapi.UserKycStatusResponse', null, global);
33
33
  goog.exportSymbol('proto.kycserviceapi.UserKycSummaryResponse', null, global);
34
34
  goog.exportSymbol('proto.kycserviceapi.UserStatus', null, global);
35
35
  goog.exportSymbol('proto.kycserviceapi.VerifyDocumentRequest', null, global);
36
+ goog.exportSymbol('proto.kycserviceapi.VerifyUserRequest', null, global);
36
37
 
37
38
  /**
38
39
  * Generated by JsPbCodeGenerator.
@@ -4295,6 +4296,165 @@ proto.kycserviceapi.VerifyDocumentRequest.prototype.setDocumentid = function(val
4295
4296
  };
4296
4297
 
4297
4298
 
4299
+
4300
+ /**
4301
+ * Generated by JsPbCodeGenerator.
4302
+ * @param {Array=} opt_data Optional initial data array, typically from a
4303
+ * server response, or constructed directly in Javascript. The array is used
4304
+ * in place and becomes part of the constructed object. It is not cloned.
4305
+ * If no data is provided, the constructed object will be empty, but still
4306
+ * valid.
4307
+ * @extends {jspb.Message}
4308
+ * @constructor
4309
+ */
4310
+ proto.kycserviceapi.VerifyUserRequest = function(opt_data) {
4311
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4312
+ };
4313
+ goog.inherits(proto.kycserviceapi.VerifyUserRequest, jspb.Message);
4314
+ if (goog.DEBUG && !COMPILED) {
4315
+ proto.kycserviceapi.VerifyUserRequest.displayName = 'proto.kycserviceapi.VerifyUserRequest';
4316
+ }
4317
+
4318
+
4319
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4320
+ /**
4321
+ * Creates an object representation of this proto suitable for use in Soy templates.
4322
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4323
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4324
+ * For the list of reserved names please see:
4325
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
4326
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
4327
+ * for transitional soy proto support: http://goto/soy-param-migration
4328
+ * @return {!Object}
4329
+ */
4330
+ proto.kycserviceapi.VerifyUserRequest.prototype.toObject = function(opt_includeInstance) {
4331
+ return proto.kycserviceapi.VerifyUserRequest.toObject(opt_includeInstance, this);
4332
+ };
4333
+
4334
+
4335
+ /**
4336
+ * Static version of the {@see toObject} method.
4337
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
4338
+ * instance for transitional soy proto support:
4339
+ * http://goto/soy-param-migration
4340
+ * @param {!proto.kycserviceapi.VerifyUserRequest} msg The msg instance to transform.
4341
+ * @return {!Object}
4342
+ */
4343
+ proto.kycserviceapi.VerifyUserRequest.toObject = function(includeInstance, msg) {
4344
+ var f, obj = {
4345
+ userid: msg.getUserid()
4346
+ };
4347
+
4348
+ if (includeInstance) {
4349
+ obj.$jspbMessageInstance = msg;
4350
+ }
4351
+ return obj;
4352
+ };
4353
+ }
4354
+
4355
+
4356
+ /**
4357
+ * Deserializes binary data (in protobuf wire format).
4358
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4359
+ * @return {!proto.kycserviceapi.VerifyUserRequest}
4360
+ */
4361
+ proto.kycserviceapi.VerifyUserRequest.deserializeBinary = function(bytes) {
4362
+ var reader = new jspb.BinaryReader(bytes);
4363
+ var msg = new proto.kycserviceapi.VerifyUserRequest;
4364
+ return proto.kycserviceapi.VerifyUserRequest.deserializeBinaryFromReader(msg, reader);
4365
+ };
4366
+
4367
+
4368
+ /**
4369
+ * Deserializes binary data (in protobuf wire format) from the
4370
+ * given reader into the given message object.
4371
+ * @param {!proto.kycserviceapi.VerifyUserRequest} msg The message object to deserialize into.
4372
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4373
+ * @return {!proto.kycserviceapi.VerifyUserRequest}
4374
+ */
4375
+ proto.kycserviceapi.VerifyUserRequest.deserializeBinaryFromReader = function(msg, reader) {
4376
+ while (reader.nextField()) {
4377
+ if (reader.isEndGroup()) {
4378
+ break;
4379
+ }
4380
+ var field = reader.getFieldNumber();
4381
+ switch (field) {
4382
+ case 1:
4383
+ var value = /** @type {number} */ (reader.readInt64());
4384
+ msg.setUserid(value);
4385
+ break;
4386
+ default:
4387
+ reader.skipField();
4388
+ break;
4389
+ }
4390
+ }
4391
+ return msg;
4392
+ };
4393
+
4394
+
4395
+ /**
4396
+ * Class method variant: serializes the given message to binary data
4397
+ * (in protobuf wire format), writing to the given BinaryWriter.
4398
+ * @param {!proto.kycserviceapi.VerifyUserRequest} message
4399
+ * @param {!jspb.BinaryWriter} writer
4400
+ */
4401
+ proto.kycserviceapi.VerifyUserRequest.serializeBinaryToWriter = function(message, writer) {
4402
+ message.serializeBinaryToWriter(writer);
4403
+ };
4404
+
4405
+
4406
+ /**
4407
+ * Serializes the message to binary data (in protobuf wire format).
4408
+ * @return {!Uint8Array}
4409
+ */
4410
+ proto.kycserviceapi.VerifyUserRequest.prototype.serializeBinary = function() {
4411
+ var writer = new jspb.BinaryWriter();
4412
+ this.serializeBinaryToWriter(writer);
4413
+ return writer.getResultBuffer();
4414
+ };
4415
+
4416
+
4417
+ /**
4418
+ * Serializes the message to binary data (in protobuf wire format),
4419
+ * writing to the given BinaryWriter.
4420
+ * @param {!jspb.BinaryWriter} writer
4421
+ */
4422
+ proto.kycserviceapi.VerifyUserRequest.prototype.serializeBinaryToWriter = function (writer) {
4423
+ var f = undefined;
4424
+ f = this.getUserid();
4425
+ if (f !== 0) {
4426
+ writer.writeInt64(
4427
+ 1,
4428
+ f
4429
+ );
4430
+ }
4431
+ };
4432
+
4433
+
4434
+ /**
4435
+ * Creates a deep clone of this proto. No data is shared with the original.
4436
+ * @return {!proto.kycserviceapi.VerifyUserRequest} The clone.
4437
+ */
4438
+ proto.kycserviceapi.VerifyUserRequest.prototype.cloneMessage = function() {
4439
+ return /** @type {!proto.kycserviceapi.VerifyUserRequest} */ (jspb.Message.cloneMessage(this));
4440
+ };
4441
+
4442
+
4443
+ /**
4444
+ * optional int64 userId = 1;
4445
+ * @return {number}
4446
+ */
4447
+ proto.kycserviceapi.VerifyUserRequest.prototype.getUserid = function() {
4448
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
4449
+ };
4450
+
4451
+
4452
+ /** @param {number} value */
4453
+ proto.kycserviceapi.VerifyUserRequest.prototype.setUserid = function(value) {
4454
+ jspb.Message.setField(this, 1, value);
4455
+ };
4456
+
4457
+
4298
4458
  /**
4299
4459
  * @enum {number}
4300
4460
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/kyc-client-grpcweb",
3
- "version": "21.8.150",
3
+ "version": "21.8.159",
4
4
  "description": "kyc-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",