@sniipwebmaster/kyc-client-grpcweb 21.8.91 → 21.8.105

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.
@@ -420,5 +420,60 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.saveDocument =
420
420
  };
421
421
 
422
422
 
423
+ /**
424
+ * @const
425
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
426
+ * !proto.google.protobuf.Empty,
427
+ * !proto.kycserviceapi.ResponseCode>}
428
+ */
429
+ const methodInfo_KYCServiceAPIService_SubmitUserKyc = new grpc.web.AbstractClientBase.MethodInfo(
430
+ proto.kycserviceapi.ResponseCode,
431
+ /** @param {!proto.google.protobuf.Empty} request */
432
+ function(request) {
433
+ return request.serializeBinary();
434
+ },
435
+ proto.kycserviceapi.ResponseCode.deserializeBinary
436
+ );
437
+
438
+
439
+ /**
440
+ * @param {!proto.google.protobuf.Empty} request The
441
+ * request proto
442
+ * @param {?Object<string, string>} metadata User defined
443
+ * call metadata
444
+ * @param {function(?grpc.web.Error, ?proto.kycserviceapi.ResponseCode)}
445
+ * callback The callback function(error, response)
446
+ * @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
447
+ * The XHR Node Readable Stream
448
+ */
449
+ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.submitUserKyc =
450
+ function(request, metadata, callback) {
451
+ return this.client_.rpcCall(this.hostname_ +
452
+ '/kycserviceapi.KYCServiceAPIService/SubmitUserKyc',
453
+ request,
454
+ metadata || {},
455
+ methodInfo_KYCServiceAPIService_SubmitUserKyc,
456
+ callback);
457
+ };
458
+
459
+
460
+ /**
461
+ * @param {!proto.google.protobuf.Empty} request The
462
+ * request proto
463
+ * @param {?Object<string, string>} metadata User defined
464
+ * call metadata
465
+ * @return {!Promise<!proto.kycserviceapi.ResponseCode>}
466
+ * A native promise that resolves to the response
467
+ */
468
+ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.submitUserKyc =
469
+ function(request, metadata) {
470
+ return this.client_.unaryCall(this.hostname_ +
471
+ '/kycserviceapi.KYCServiceAPIService/SubmitUserKyc',
472
+ request,
473
+ metadata || {},
474
+ methodInfo_KYCServiceAPIService_SubmitUserKyc);
475
+ };
476
+
477
+
423
478
  module.exports = proto.kycserviceapi;
424
479
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/kyc-client-grpcweb",
3
- "version": "21.8.91",
3
+ "version": "21.8.105",
4
4
  "description": "kyc-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",