@sniipwebmaster/user-service-client-grpcweb 26.2.13988 → 26.2.14016

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.
@@ -9289,5 +9289,66 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.exchangeSw
9289
9289
  };
9290
9290
 
9291
9291
 
9292
+ /**
9293
+ * @const
9294
+ * @type {!grpc.web.MethodDescriptor<
9295
+ * !proto.sniipuserservice.RecordKycDownloadRequest,
9296
+ * !proto.sniipuserservice.RecordKycDownloadResponse>}
9297
+ */
9298
+ const methodDescriptor_SniipUserServiceService_RecordKycDownload = new grpc.web.MethodDescriptor(
9299
+ '/sniipuserservice.SniipUserServiceService/RecordKycDownload',
9300
+ grpc.web.MethodType.UNARY,
9301
+ proto.sniipuserservice.RecordKycDownloadRequest,
9302
+ proto.sniipuserservice.RecordKycDownloadResponse,
9303
+ /**
9304
+ * @param {!proto.sniipuserservice.RecordKycDownloadRequest} request
9305
+ * @return {!Uint8Array}
9306
+ */
9307
+ function(request) {
9308
+ return request.serializeBinary();
9309
+ },
9310
+ proto.sniipuserservice.RecordKycDownloadResponse.deserializeBinary
9311
+ );
9312
+
9313
+
9314
+ /**
9315
+ * @param {!proto.sniipuserservice.RecordKycDownloadRequest} request The
9316
+ * request proto
9317
+ * @param {?Object<string, string>} metadata User defined
9318
+ * call metadata
9319
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.RecordKycDownloadResponse)}
9320
+ * callback The callback function(error, response)
9321
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.RecordKycDownloadResponse>|undefined}
9322
+ * The XHR Node Readable Stream
9323
+ */
9324
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.recordKycDownload =
9325
+ function(request, metadata, callback) {
9326
+ return this.client_.rpcCall(this.hostname_ +
9327
+ '/sniipuserservice.SniipUserServiceService/RecordKycDownload',
9328
+ request,
9329
+ metadata || {},
9330
+ methodDescriptor_SniipUserServiceService_RecordKycDownload,
9331
+ callback);
9332
+ };
9333
+
9334
+
9335
+ /**
9336
+ * @param {!proto.sniipuserservice.RecordKycDownloadRequest} request The
9337
+ * request proto
9338
+ * @param {?Object<string, string>=} metadata User defined
9339
+ * call metadata
9340
+ * @return {!Promise<!proto.sniipuserservice.RecordKycDownloadResponse>}
9341
+ * Promise that resolves to the response
9342
+ */
9343
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.recordKycDownload =
9344
+ function(request, metadata) {
9345
+ return this.client_.unaryCall(this.hostname_ +
9346
+ '/sniipuserservice.SniipUserServiceService/RecordKycDownload',
9347
+ request,
9348
+ metadata || {},
9349
+ methodDescriptor_SniipUserServiceService_RecordKycDownload);
9350
+ };
9351
+
9352
+
9292
9353
  module.exports = proto.sniipuserservice;
9293
9354
 
@@ -159,6 +159,8 @@ goog.exportSymbol('proto.sniipuserservice.PrepareSpecificTestMobileAccountReques
159
159
  goog.exportSymbol('proto.sniipuserservice.PrepareSpecificTestMobileAccountRequestData', null, global);
160
160
  goog.exportSymbol('proto.sniipuserservice.PrepareTestMobileAccountRequest', null, global);
161
161
  goog.exportSymbol('proto.sniipuserservice.PushNotificationToken', null, global);
162
+ goog.exportSymbol('proto.sniipuserservice.RecordKycDownloadRequest', null, global);
163
+ goog.exportSymbol('proto.sniipuserservice.RecordKycDownloadResponse', null, global);
162
164
  goog.exportSymbol('proto.sniipuserservice.RefreshAccessTokenRequest', null, global);
163
165
  goog.exportSymbol('proto.sniipuserservice.RefreshWebAccessTokenRequest', null, global);
164
166
  goog.exportSymbol('proto.sniipuserservice.RemoveAccountRequest', null, global);
@@ -4824,6 +4826,48 @@ if (goog.DEBUG && !COMPILED) {
4824
4826
  */
4825
4827
  proto.sniipuserservice.ExchangeSwapTokenResponse.displayName = 'proto.sniipuserservice.ExchangeSwapTokenResponse';
4826
4828
  }
4829
+ /**
4830
+ * Generated by JsPbCodeGenerator.
4831
+ * @param {Array=} opt_data Optional initial data array, typically from a
4832
+ * server response, or constructed directly in Javascript. The array is used
4833
+ * in place and becomes part of the constructed object. It is not cloned.
4834
+ * If no data is provided, the constructed object will be empty, but still
4835
+ * valid.
4836
+ * @extends {jspb.Message}
4837
+ * @constructor
4838
+ */
4839
+ proto.sniipuserservice.RecordKycDownloadRequest = function(opt_data) {
4840
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4841
+ };
4842
+ goog.inherits(proto.sniipuserservice.RecordKycDownloadRequest, jspb.Message);
4843
+ if (goog.DEBUG && !COMPILED) {
4844
+ /**
4845
+ * @public
4846
+ * @override
4847
+ */
4848
+ proto.sniipuserservice.RecordKycDownloadRequest.displayName = 'proto.sniipuserservice.RecordKycDownloadRequest';
4849
+ }
4850
+ /**
4851
+ * Generated by JsPbCodeGenerator.
4852
+ * @param {Array=} opt_data Optional initial data array, typically from a
4853
+ * server response, or constructed directly in Javascript. The array is used
4854
+ * in place and becomes part of the constructed object. It is not cloned.
4855
+ * If no data is provided, the constructed object will be empty, but still
4856
+ * valid.
4857
+ * @extends {jspb.Message}
4858
+ * @constructor
4859
+ */
4860
+ proto.sniipuserservice.RecordKycDownloadResponse = function(opt_data) {
4861
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4862
+ };
4863
+ goog.inherits(proto.sniipuserservice.RecordKycDownloadResponse, jspb.Message);
4864
+ if (goog.DEBUG && !COMPILED) {
4865
+ /**
4866
+ * @public
4867
+ * @override
4868
+ */
4869
+ proto.sniipuserservice.RecordKycDownloadResponse.displayName = 'proto.sniipuserservice.RecordKycDownloadResponse';
4870
+ }
4827
4871
 
4828
4872
 
4829
4873
 
@@ -53225,6 +53269,347 @@ proto.sniipuserservice.ExchangeSwapTokenResponse.prototype.setExpiresin = functi
53225
53269
  };
53226
53270
 
53227
53271
 
53272
+
53273
+
53274
+
53275
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53276
+ /**
53277
+ * Creates an object representation of this proto.
53278
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53279
+ * Optional fields that are not set will be set to undefined.
53280
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53281
+ * For the list of reserved names please see:
53282
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53283
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53284
+ * JSPB instance for transitional soy proto support:
53285
+ * http://goto/soy-param-migration
53286
+ * @return {!Object}
53287
+ */
53288
+ proto.sniipuserservice.RecordKycDownloadRequest.prototype.toObject = function(opt_includeInstance) {
53289
+ return proto.sniipuserservice.RecordKycDownloadRequest.toObject(opt_includeInstance, this);
53290
+ };
53291
+
53292
+
53293
+ /**
53294
+ * Static version of the {@see toObject} method.
53295
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53296
+ * the JSPB instance for transitional soy proto support:
53297
+ * http://goto/soy-param-migration
53298
+ * @param {!proto.sniipuserservice.RecordKycDownloadRequest} msg The msg instance to transform.
53299
+ * @return {!Object}
53300
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53301
+ */
53302
+ proto.sniipuserservice.RecordKycDownloadRequest.toObject = function(includeInstance, msg) {
53303
+ var f, obj = {
53304
+ token: jspb.Message.getFieldWithDefault(msg, 1, ""),
53305
+ attachmentId: jspb.Message.getFieldWithDefault(msg, 2, 0)
53306
+ };
53307
+
53308
+ if (includeInstance) {
53309
+ obj.$jspbMessageInstance = msg;
53310
+ }
53311
+ return obj;
53312
+ };
53313
+ }
53314
+
53315
+
53316
+ /**
53317
+ * Deserializes binary data (in protobuf wire format).
53318
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53319
+ * @return {!proto.sniipuserservice.RecordKycDownloadRequest}
53320
+ */
53321
+ proto.sniipuserservice.RecordKycDownloadRequest.deserializeBinary = function(bytes) {
53322
+ var reader = new jspb.BinaryReader(bytes);
53323
+ var msg = new proto.sniipuserservice.RecordKycDownloadRequest;
53324
+ return proto.sniipuserservice.RecordKycDownloadRequest.deserializeBinaryFromReader(msg, reader);
53325
+ };
53326
+
53327
+
53328
+ /**
53329
+ * Deserializes binary data (in protobuf wire format) from the
53330
+ * given reader into the given message object.
53331
+ * @param {!proto.sniipuserservice.RecordKycDownloadRequest} msg The message object to deserialize into.
53332
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53333
+ * @return {!proto.sniipuserservice.RecordKycDownloadRequest}
53334
+ */
53335
+ proto.sniipuserservice.RecordKycDownloadRequest.deserializeBinaryFromReader = function(msg, reader) {
53336
+ while (reader.nextField()) {
53337
+ if (reader.isEndGroup()) {
53338
+ break;
53339
+ }
53340
+ var field = reader.getFieldNumber();
53341
+ switch (field) {
53342
+ case 1:
53343
+ var value = /** @type {string} */ (reader.readString());
53344
+ msg.setToken(value);
53345
+ break;
53346
+ case 2:
53347
+ var value = /** @type {number} */ (reader.readInt64());
53348
+ msg.setAttachmentId(value);
53349
+ break;
53350
+ default:
53351
+ reader.skipField();
53352
+ break;
53353
+ }
53354
+ }
53355
+ return msg;
53356
+ };
53357
+
53358
+
53359
+ /**
53360
+ * Serializes the message to binary data (in protobuf wire format).
53361
+ * @return {!Uint8Array}
53362
+ */
53363
+ proto.sniipuserservice.RecordKycDownloadRequest.prototype.serializeBinary = function() {
53364
+ var writer = new jspb.BinaryWriter();
53365
+ proto.sniipuserservice.RecordKycDownloadRequest.serializeBinaryToWriter(this, writer);
53366
+ return writer.getResultBuffer();
53367
+ };
53368
+
53369
+
53370
+ /**
53371
+ * Serializes the given message to binary data (in protobuf wire
53372
+ * format), writing to the given BinaryWriter.
53373
+ * @param {!proto.sniipuserservice.RecordKycDownloadRequest} message
53374
+ * @param {!jspb.BinaryWriter} writer
53375
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53376
+ */
53377
+ proto.sniipuserservice.RecordKycDownloadRequest.serializeBinaryToWriter = function(message, writer) {
53378
+ var f = undefined;
53379
+ f = message.getToken();
53380
+ if (f.length > 0) {
53381
+ writer.writeString(
53382
+ 1,
53383
+ f
53384
+ );
53385
+ }
53386
+ f = message.getAttachmentId();
53387
+ if (f !== 0) {
53388
+ writer.writeInt64(
53389
+ 2,
53390
+ f
53391
+ );
53392
+ }
53393
+ };
53394
+
53395
+
53396
+ /**
53397
+ * optional string token = 1;
53398
+ * @return {string}
53399
+ */
53400
+ proto.sniipuserservice.RecordKycDownloadRequest.prototype.getToken = function() {
53401
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
53402
+ };
53403
+
53404
+
53405
+ /**
53406
+ * @param {string} value
53407
+ * @return {!proto.sniipuserservice.RecordKycDownloadRequest} returns this
53408
+ */
53409
+ proto.sniipuserservice.RecordKycDownloadRequest.prototype.setToken = function(value) {
53410
+ return jspb.Message.setProto3StringField(this, 1, value);
53411
+ };
53412
+
53413
+
53414
+ /**
53415
+ * optional int64 attachment_id = 2;
53416
+ * @return {number}
53417
+ */
53418
+ proto.sniipuserservice.RecordKycDownloadRequest.prototype.getAttachmentId = function() {
53419
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
53420
+ };
53421
+
53422
+
53423
+ /**
53424
+ * @param {number} value
53425
+ * @return {!proto.sniipuserservice.RecordKycDownloadRequest} returns this
53426
+ */
53427
+ proto.sniipuserservice.RecordKycDownloadRequest.prototype.setAttachmentId = function(value) {
53428
+ return jspb.Message.setProto3IntField(this, 2, value);
53429
+ };
53430
+
53431
+
53432
+
53433
+
53434
+
53435
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53436
+ /**
53437
+ * Creates an object representation of this proto.
53438
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53439
+ * Optional fields that are not set will be set to undefined.
53440
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53441
+ * For the list of reserved names please see:
53442
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53443
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53444
+ * JSPB instance for transitional soy proto support:
53445
+ * http://goto/soy-param-migration
53446
+ * @return {!Object}
53447
+ */
53448
+ proto.sniipuserservice.RecordKycDownloadResponse.prototype.toObject = function(opt_includeInstance) {
53449
+ return proto.sniipuserservice.RecordKycDownloadResponse.toObject(opt_includeInstance, this);
53450
+ };
53451
+
53452
+
53453
+ /**
53454
+ * Static version of the {@see toObject} method.
53455
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53456
+ * the JSPB instance for transitional soy proto support:
53457
+ * http://goto/soy-param-migration
53458
+ * @param {!proto.sniipuserservice.RecordKycDownloadResponse} msg The msg instance to transform.
53459
+ * @return {!Object}
53460
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53461
+ */
53462
+ proto.sniipuserservice.RecordKycDownloadResponse.toObject = function(includeInstance, msg) {
53463
+ var f, obj = {
53464
+ responseCode: (f = msg.getResponseCode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f),
53465
+ accountLocked: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
53466
+ };
53467
+
53468
+ if (includeInstance) {
53469
+ obj.$jspbMessageInstance = msg;
53470
+ }
53471
+ return obj;
53472
+ };
53473
+ }
53474
+
53475
+
53476
+ /**
53477
+ * Deserializes binary data (in protobuf wire format).
53478
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53479
+ * @return {!proto.sniipuserservice.RecordKycDownloadResponse}
53480
+ */
53481
+ proto.sniipuserservice.RecordKycDownloadResponse.deserializeBinary = function(bytes) {
53482
+ var reader = new jspb.BinaryReader(bytes);
53483
+ var msg = new proto.sniipuserservice.RecordKycDownloadResponse;
53484
+ return proto.sniipuserservice.RecordKycDownloadResponse.deserializeBinaryFromReader(msg, reader);
53485
+ };
53486
+
53487
+
53488
+ /**
53489
+ * Deserializes binary data (in protobuf wire format) from the
53490
+ * given reader into the given message object.
53491
+ * @param {!proto.sniipuserservice.RecordKycDownloadResponse} msg The message object to deserialize into.
53492
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53493
+ * @return {!proto.sniipuserservice.RecordKycDownloadResponse}
53494
+ */
53495
+ proto.sniipuserservice.RecordKycDownloadResponse.deserializeBinaryFromReader = function(msg, reader) {
53496
+ while (reader.nextField()) {
53497
+ if (reader.isEndGroup()) {
53498
+ break;
53499
+ }
53500
+ var field = reader.getFieldNumber();
53501
+ switch (field) {
53502
+ case 1:
53503
+ var value = new proto.sniipuserservice.ResponseCode;
53504
+ reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
53505
+ msg.setResponseCode(value);
53506
+ break;
53507
+ case 2:
53508
+ var value = /** @type {boolean} */ (reader.readBool());
53509
+ msg.setAccountLocked(value);
53510
+ break;
53511
+ default:
53512
+ reader.skipField();
53513
+ break;
53514
+ }
53515
+ }
53516
+ return msg;
53517
+ };
53518
+
53519
+
53520
+ /**
53521
+ * Serializes the message to binary data (in protobuf wire format).
53522
+ * @return {!Uint8Array}
53523
+ */
53524
+ proto.sniipuserservice.RecordKycDownloadResponse.prototype.serializeBinary = function() {
53525
+ var writer = new jspb.BinaryWriter();
53526
+ proto.sniipuserservice.RecordKycDownloadResponse.serializeBinaryToWriter(this, writer);
53527
+ return writer.getResultBuffer();
53528
+ };
53529
+
53530
+
53531
+ /**
53532
+ * Serializes the given message to binary data (in protobuf wire
53533
+ * format), writing to the given BinaryWriter.
53534
+ * @param {!proto.sniipuserservice.RecordKycDownloadResponse} message
53535
+ * @param {!jspb.BinaryWriter} writer
53536
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53537
+ */
53538
+ proto.sniipuserservice.RecordKycDownloadResponse.serializeBinaryToWriter = function(message, writer) {
53539
+ var f = undefined;
53540
+ f = message.getResponseCode();
53541
+ if (f != null) {
53542
+ writer.writeMessage(
53543
+ 1,
53544
+ f,
53545
+ proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
53546
+ );
53547
+ }
53548
+ f = message.getAccountLocked();
53549
+ if (f) {
53550
+ writer.writeBool(
53551
+ 2,
53552
+ f
53553
+ );
53554
+ }
53555
+ };
53556
+
53557
+
53558
+ /**
53559
+ * optional ResponseCode response_code = 1;
53560
+ * @return {?proto.sniipuserservice.ResponseCode}
53561
+ */
53562
+ proto.sniipuserservice.RecordKycDownloadResponse.prototype.getResponseCode = function() {
53563
+ return /** @type{?proto.sniipuserservice.ResponseCode} */ (
53564
+ jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 1));
53565
+ };
53566
+
53567
+
53568
+ /**
53569
+ * @param {?proto.sniipuserservice.ResponseCode|undefined} value
53570
+ * @return {!proto.sniipuserservice.RecordKycDownloadResponse} returns this
53571
+ */
53572
+ proto.sniipuserservice.RecordKycDownloadResponse.prototype.setResponseCode = function(value) {
53573
+ return jspb.Message.setWrapperField(this, 1, value);
53574
+ };
53575
+
53576
+
53577
+ /**
53578
+ * Clears the message field making it undefined.
53579
+ * @return {!proto.sniipuserservice.RecordKycDownloadResponse} returns this
53580
+ */
53581
+ proto.sniipuserservice.RecordKycDownloadResponse.prototype.clearResponseCode = function() {
53582
+ return this.setResponseCode(undefined);
53583
+ };
53584
+
53585
+
53586
+ /**
53587
+ * Returns whether this field is set.
53588
+ * @return {boolean}
53589
+ */
53590
+ proto.sniipuserservice.RecordKycDownloadResponse.prototype.hasResponseCode = function() {
53591
+ return jspb.Message.getField(this, 1) != null;
53592
+ };
53593
+
53594
+
53595
+ /**
53596
+ * optional bool account_locked = 2;
53597
+ * @return {boolean}
53598
+ */
53599
+ proto.sniipuserservice.RecordKycDownloadResponse.prototype.getAccountLocked = function() {
53600
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
53601
+ };
53602
+
53603
+
53604
+ /**
53605
+ * @param {boolean} value
53606
+ * @return {!proto.sniipuserservice.RecordKycDownloadResponse} returns this
53607
+ */
53608
+ proto.sniipuserservice.RecordKycDownloadResponse.prototype.setAccountLocked = function(value) {
53609
+ return jspb.Message.setProto3BooleanField(this, 2, value);
53610
+ };
53611
+
53612
+
53228
53613
  /**
53229
53614
  * @enum {number}
53230
53615
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb",
3
- "version": "26.2.13988",
3
+ "version": "26.2.14016",
4
4
  "description": "user-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",