@sniipwebmaster/user-service-client-grpcweb 26.8.14842 → 26.8.14867

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,6 +9289,67 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getMfaSecr
9289
9289
  };
9290
9290
 
9291
9291
 
9292
+ /**
9293
+ * @const
9294
+ * @type {!grpc.web.MethodDescriptor<
9295
+ * !proto.google.protobuf.Empty,
9296
+ * !proto.sniipuserservice.GetMfaSetupUriResponse>}
9297
+ */
9298
+ const methodDescriptor_SniipUserServiceService_GetMfaSetupUri = new grpc.web.MethodDescriptor(
9299
+ '/sniipuserservice.SniipUserServiceService/GetMfaSetupUri',
9300
+ grpc.web.MethodType.UNARY,
9301
+ google_protobuf_empty_pb.Empty,
9302
+ proto.sniipuserservice.GetMfaSetupUriResponse,
9303
+ /**
9304
+ * @param {!proto.google.protobuf.Empty} request
9305
+ * @return {!Uint8Array}
9306
+ */
9307
+ function(request) {
9308
+ return request.serializeBinary();
9309
+ },
9310
+ proto.sniipuserservice.GetMfaSetupUriResponse.deserializeBinary
9311
+ );
9312
+
9313
+
9314
+ /**
9315
+ * @param {!proto.google.protobuf.Empty} request The
9316
+ * request proto
9317
+ * @param {?Object<string, string>} metadata User defined
9318
+ * call metadata
9319
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.GetMfaSetupUriResponse)}
9320
+ * callback The callback function(error, response)
9321
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.GetMfaSetupUriResponse>|undefined}
9322
+ * The XHR Node Readable Stream
9323
+ */
9324
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getMfaSetupUri =
9325
+ function(request, metadata, callback) {
9326
+ return this.client_.rpcCall(this.hostname_ +
9327
+ '/sniipuserservice.SniipUserServiceService/GetMfaSetupUri',
9328
+ request,
9329
+ metadata || {},
9330
+ methodDescriptor_SniipUserServiceService_GetMfaSetupUri,
9331
+ callback);
9332
+ };
9333
+
9334
+
9335
+ /**
9336
+ * @param {!proto.google.protobuf.Empty} request The
9337
+ * request proto
9338
+ * @param {?Object<string, string>=} metadata User defined
9339
+ * call metadata
9340
+ * @return {!Promise<!proto.sniipuserservice.GetMfaSetupUriResponse>}
9341
+ * Promise that resolves to the response
9342
+ */
9343
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getMfaSetupUri =
9344
+ function(request, metadata) {
9345
+ return this.client_.unaryCall(this.hostname_ +
9346
+ '/sniipuserservice.SniipUserServiceService/GetMfaSetupUri',
9347
+ request,
9348
+ metadata || {},
9349
+ methodDescriptor_SniipUserServiceService_GetMfaSetupUri);
9350
+ };
9351
+
9352
+
9292
9353
  /**
9293
9354
  * @const
9294
9355
  * @type {!grpc.web.MethodDescriptor<
@@ -97,6 +97,7 @@ goog.exportSymbol('proto.sniipuserservice.GetKycUsersRequest', null, global);
97
97
  goog.exportSymbol('proto.sniipuserservice.GetKycUsersRequest.GetKycUsersRequestRequested', null, global);
98
98
  goog.exportSymbol('proto.sniipuserservice.GetKycUsersResponse', null, global);
99
99
  goog.exportSymbol('proto.sniipuserservice.GetMfaSecretStatusResponse', null, global);
100
+ goog.exportSymbol('proto.sniipuserservice.GetMfaSetupUriResponse', null, global);
100
101
  goog.exportSymbol('proto.sniipuserservice.GetNotificationTokenForTestRequest', null, global);
101
102
  goog.exportSymbol('proto.sniipuserservice.GetNotificationTokensRequest', null, global);
102
103
  goog.exportSymbol('proto.sniipuserservice.GetPermissionRolesRequest', null, global);
@@ -141,6 +142,7 @@ goog.exportSymbol('proto.sniipuserservice.MarkAsBusinessReq', null, global);
141
142
  goog.exportSymbol('proto.sniipuserservice.MarkOnboardingScreensAsViewedRequest', null, global);
142
143
  goog.exportSymbol('proto.sniipuserservice.MarkUserAsBusinessRequest', null, global);
143
144
  goog.exportSymbol('proto.sniipuserservice.MfaSecretStatus', null, global);
145
+ goog.exportSymbol('proto.sniipuserservice.MfaSetupUriDetails', null, global);
144
146
  goog.exportSymbol('proto.sniipuserservice.MigrateAccountRequest', null, global);
145
147
  goog.exportSymbol('proto.sniipuserservice.MintBillReadTokenRequest', null, global);
146
148
  goog.exportSymbol('proto.sniipuserservice.MintBillReadTokenResponse', null, global);
@@ -4759,6 +4761,48 @@ if (goog.DEBUG && !COMPILED) {
4759
4761
  */
4760
4762
  proto.sniipuserservice.SetupMfaSecretResponse.displayName = 'proto.sniipuserservice.SetupMfaSecretResponse';
4761
4763
  }
4764
+ /**
4765
+ * Generated by JsPbCodeGenerator.
4766
+ * @param {Array=} opt_data Optional initial data array, typically from a
4767
+ * server response, or constructed directly in Javascript. The array is used
4768
+ * in place and becomes part of the constructed object. It is not cloned.
4769
+ * If no data is provided, the constructed object will be empty, but still
4770
+ * valid.
4771
+ * @extends {jspb.Message}
4772
+ * @constructor
4773
+ */
4774
+ proto.sniipuserservice.MfaSetupUriDetails = function(opt_data) {
4775
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4776
+ };
4777
+ goog.inherits(proto.sniipuserservice.MfaSetupUriDetails, jspb.Message);
4778
+ if (goog.DEBUG && !COMPILED) {
4779
+ /**
4780
+ * @public
4781
+ * @override
4782
+ */
4783
+ proto.sniipuserservice.MfaSetupUriDetails.displayName = 'proto.sniipuserservice.MfaSetupUriDetails';
4784
+ }
4785
+ /**
4786
+ * Generated by JsPbCodeGenerator.
4787
+ * @param {Array=} opt_data Optional initial data array, typically from a
4788
+ * server response, or constructed directly in Javascript. The array is used
4789
+ * in place and becomes part of the constructed object. It is not cloned.
4790
+ * If no data is provided, the constructed object will be empty, but still
4791
+ * valid.
4792
+ * @extends {jspb.Message}
4793
+ * @constructor
4794
+ */
4795
+ proto.sniipuserservice.GetMfaSetupUriResponse = function(opt_data) {
4796
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4797
+ };
4798
+ goog.inherits(proto.sniipuserservice.GetMfaSetupUriResponse, jspb.Message);
4799
+ if (goog.DEBUG && !COMPILED) {
4800
+ /**
4801
+ * @public
4802
+ * @override
4803
+ */
4804
+ proto.sniipuserservice.GetMfaSetupUriResponse.displayName = 'proto.sniipuserservice.GetMfaSetupUriResponse';
4805
+ }
4762
4806
  /**
4763
4807
  * Generated by JsPbCodeGenerator.
4764
4808
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -53133,6 +53177,368 @@ proto.sniipuserservice.SetupMfaSecretResponse.prototype.hasUnverifiedmfasecretde
53133
53177
 
53134
53178
 
53135
53179
 
53180
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53181
+ /**
53182
+ * Creates an object representation of this proto.
53183
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53184
+ * Optional fields that are not set will be set to undefined.
53185
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53186
+ * For the list of reserved names please see:
53187
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53188
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53189
+ * JSPB instance for transitional soy proto support:
53190
+ * http://goto/soy-param-migration
53191
+ * @return {!Object}
53192
+ */
53193
+ proto.sniipuserservice.MfaSetupUriDetails.prototype.toObject = function(opt_includeInstance) {
53194
+ return proto.sniipuserservice.MfaSetupUriDetails.toObject(opt_includeInstance, this);
53195
+ };
53196
+
53197
+
53198
+ /**
53199
+ * Static version of the {@see toObject} method.
53200
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53201
+ * the JSPB instance for transitional soy proto support:
53202
+ * http://goto/soy-param-migration
53203
+ * @param {!proto.sniipuserservice.MfaSetupUriDetails} msg The msg instance to transform.
53204
+ * @return {!Object}
53205
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53206
+ */
53207
+ proto.sniipuserservice.MfaSetupUriDetails.toObject = function(includeInstance, msg) {
53208
+ var f, obj = {
53209
+ setupkey: jspb.Message.getFieldWithDefault(msg, 1, ""),
53210
+ uri: jspb.Message.getFieldWithDefault(msg, 2, "")
53211
+ };
53212
+
53213
+ if (includeInstance) {
53214
+ obj.$jspbMessageInstance = msg;
53215
+ }
53216
+ return obj;
53217
+ };
53218
+ }
53219
+
53220
+
53221
+ /**
53222
+ * Deserializes binary data (in protobuf wire format).
53223
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53224
+ * @return {!proto.sniipuserservice.MfaSetupUriDetails}
53225
+ */
53226
+ proto.sniipuserservice.MfaSetupUriDetails.deserializeBinary = function(bytes) {
53227
+ var reader = new jspb.BinaryReader(bytes);
53228
+ var msg = new proto.sniipuserservice.MfaSetupUriDetails;
53229
+ return proto.sniipuserservice.MfaSetupUriDetails.deserializeBinaryFromReader(msg, reader);
53230
+ };
53231
+
53232
+
53233
+ /**
53234
+ * Deserializes binary data (in protobuf wire format) from the
53235
+ * given reader into the given message object.
53236
+ * @param {!proto.sniipuserservice.MfaSetupUriDetails} msg The message object to deserialize into.
53237
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53238
+ * @return {!proto.sniipuserservice.MfaSetupUriDetails}
53239
+ */
53240
+ proto.sniipuserservice.MfaSetupUriDetails.deserializeBinaryFromReader = function(msg, reader) {
53241
+ while (reader.nextField()) {
53242
+ if (reader.isEndGroup()) {
53243
+ break;
53244
+ }
53245
+ var field = reader.getFieldNumber();
53246
+ switch (field) {
53247
+ case 1:
53248
+ var value = /** @type {string} */ (reader.readString());
53249
+ msg.setSetupkey(value);
53250
+ break;
53251
+ case 2:
53252
+ var value = /** @type {string} */ (reader.readString());
53253
+ msg.setUri(value);
53254
+ break;
53255
+ default:
53256
+ reader.skipField();
53257
+ break;
53258
+ }
53259
+ }
53260
+ return msg;
53261
+ };
53262
+
53263
+
53264
+ /**
53265
+ * Serializes the message to binary data (in protobuf wire format).
53266
+ * @return {!Uint8Array}
53267
+ */
53268
+ proto.sniipuserservice.MfaSetupUriDetails.prototype.serializeBinary = function() {
53269
+ var writer = new jspb.BinaryWriter();
53270
+ proto.sniipuserservice.MfaSetupUriDetails.serializeBinaryToWriter(this, writer);
53271
+ return writer.getResultBuffer();
53272
+ };
53273
+
53274
+
53275
+ /**
53276
+ * Serializes the given message to binary data (in protobuf wire
53277
+ * format), writing to the given BinaryWriter.
53278
+ * @param {!proto.sniipuserservice.MfaSetupUriDetails} message
53279
+ * @param {!jspb.BinaryWriter} writer
53280
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53281
+ */
53282
+ proto.sniipuserservice.MfaSetupUriDetails.serializeBinaryToWriter = function(message, writer) {
53283
+ var f = undefined;
53284
+ f = message.getSetupkey();
53285
+ if (f.length > 0) {
53286
+ writer.writeString(
53287
+ 1,
53288
+ f
53289
+ );
53290
+ }
53291
+ f = message.getUri();
53292
+ if (f.length > 0) {
53293
+ writer.writeString(
53294
+ 2,
53295
+ f
53296
+ );
53297
+ }
53298
+ };
53299
+
53300
+
53301
+ /**
53302
+ * optional string setupKey = 1;
53303
+ * @return {string}
53304
+ */
53305
+ proto.sniipuserservice.MfaSetupUriDetails.prototype.getSetupkey = function() {
53306
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
53307
+ };
53308
+
53309
+
53310
+ /**
53311
+ * @param {string} value
53312
+ * @return {!proto.sniipuserservice.MfaSetupUriDetails} returns this
53313
+ */
53314
+ proto.sniipuserservice.MfaSetupUriDetails.prototype.setSetupkey = function(value) {
53315
+ return jspb.Message.setProto3StringField(this, 1, value);
53316
+ };
53317
+
53318
+
53319
+ /**
53320
+ * optional string uri = 2;
53321
+ * @return {string}
53322
+ */
53323
+ proto.sniipuserservice.MfaSetupUriDetails.prototype.getUri = function() {
53324
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
53325
+ };
53326
+
53327
+
53328
+ /**
53329
+ * @param {string} value
53330
+ * @return {!proto.sniipuserservice.MfaSetupUriDetails} returns this
53331
+ */
53332
+ proto.sniipuserservice.MfaSetupUriDetails.prototype.setUri = function(value) {
53333
+ return jspb.Message.setProto3StringField(this, 2, value);
53334
+ };
53335
+
53336
+
53337
+
53338
+
53339
+
53340
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53341
+ /**
53342
+ * Creates an object representation of this proto.
53343
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53344
+ * Optional fields that are not set will be set to undefined.
53345
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53346
+ * For the list of reserved names please see:
53347
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53348
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53349
+ * JSPB instance for transitional soy proto support:
53350
+ * http://goto/soy-param-migration
53351
+ * @return {!Object}
53352
+ */
53353
+ proto.sniipuserservice.GetMfaSetupUriResponse.prototype.toObject = function(opt_includeInstance) {
53354
+ return proto.sniipuserservice.GetMfaSetupUriResponse.toObject(opt_includeInstance, this);
53355
+ };
53356
+
53357
+
53358
+ /**
53359
+ * Static version of the {@see toObject} method.
53360
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53361
+ * the JSPB instance for transitional soy proto support:
53362
+ * http://goto/soy-param-migration
53363
+ * @param {!proto.sniipuserservice.GetMfaSetupUriResponse} msg The msg instance to transform.
53364
+ * @return {!Object}
53365
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53366
+ */
53367
+ proto.sniipuserservice.GetMfaSetupUriResponse.toObject = function(includeInstance, msg) {
53368
+ var f, obj = {
53369
+ responsecode: (f = msg.getResponsecode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f),
53370
+ details: (f = msg.getDetails()) && proto.sniipuserservice.MfaSetupUriDetails.toObject(includeInstance, f)
53371
+ };
53372
+
53373
+ if (includeInstance) {
53374
+ obj.$jspbMessageInstance = msg;
53375
+ }
53376
+ return obj;
53377
+ };
53378
+ }
53379
+
53380
+
53381
+ /**
53382
+ * Deserializes binary data (in protobuf wire format).
53383
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53384
+ * @return {!proto.sniipuserservice.GetMfaSetupUriResponse}
53385
+ */
53386
+ proto.sniipuserservice.GetMfaSetupUriResponse.deserializeBinary = function(bytes) {
53387
+ var reader = new jspb.BinaryReader(bytes);
53388
+ var msg = new proto.sniipuserservice.GetMfaSetupUriResponse;
53389
+ return proto.sniipuserservice.GetMfaSetupUriResponse.deserializeBinaryFromReader(msg, reader);
53390
+ };
53391
+
53392
+
53393
+ /**
53394
+ * Deserializes binary data (in protobuf wire format) from the
53395
+ * given reader into the given message object.
53396
+ * @param {!proto.sniipuserservice.GetMfaSetupUriResponse} msg The message object to deserialize into.
53397
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53398
+ * @return {!proto.sniipuserservice.GetMfaSetupUriResponse}
53399
+ */
53400
+ proto.sniipuserservice.GetMfaSetupUriResponse.deserializeBinaryFromReader = function(msg, reader) {
53401
+ while (reader.nextField()) {
53402
+ if (reader.isEndGroup()) {
53403
+ break;
53404
+ }
53405
+ var field = reader.getFieldNumber();
53406
+ switch (field) {
53407
+ case 1:
53408
+ var value = new proto.sniipuserservice.ResponseCode;
53409
+ reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
53410
+ msg.setResponsecode(value);
53411
+ break;
53412
+ case 2:
53413
+ var value = new proto.sniipuserservice.MfaSetupUriDetails;
53414
+ reader.readMessage(value,proto.sniipuserservice.MfaSetupUriDetails.deserializeBinaryFromReader);
53415
+ msg.setDetails(value);
53416
+ break;
53417
+ default:
53418
+ reader.skipField();
53419
+ break;
53420
+ }
53421
+ }
53422
+ return msg;
53423
+ };
53424
+
53425
+
53426
+ /**
53427
+ * Serializes the message to binary data (in protobuf wire format).
53428
+ * @return {!Uint8Array}
53429
+ */
53430
+ proto.sniipuserservice.GetMfaSetupUriResponse.prototype.serializeBinary = function() {
53431
+ var writer = new jspb.BinaryWriter();
53432
+ proto.sniipuserservice.GetMfaSetupUriResponse.serializeBinaryToWriter(this, writer);
53433
+ return writer.getResultBuffer();
53434
+ };
53435
+
53436
+
53437
+ /**
53438
+ * Serializes the given message to binary data (in protobuf wire
53439
+ * format), writing to the given BinaryWriter.
53440
+ * @param {!proto.sniipuserservice.GetMfaSetupUriResponse} message
53441
+ * @param {!jspb.BinaryWriter} writer
53442
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53443
+ */
53444
+ proto.sniipuserservice.GetMfaSetupUriResponse.serializeBinaryToWriter = function(message, writer) {
53445
+ var f = undefined;
53446
+ f = message.getResponsecode();
53447
+ if (f != null) {
53448
+ writer.writeMessage(
53449
+ 1,
53450
+ f,
53451
+ proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
53452
+ );
53453
+ }
53454
+ f = message.getDetails();
53455
+ if (f != null) {
53456
+ writer.writeMessage(
53457
+ 2,
53458
+ f,
53459
+ proto.sniipuserservice.MfaSetupUriDetails.serializeBinaryToWriter
53460
+ );
53461
+ }
53462
+ };
53463
+
53464
+
53465
+ /**
53466
+ * optional ResponseCode responseCode = 1;
53467
+ * @return {?proto.sniipuserservice.ResponseCode}
53468
+ */
53469
+ proto.sniipuserservice.GetMfaSetupUriResponse.prototype.getResponsecode = function() {
53470
+ return /** @type{?proto.sniipuserservice.ResponseCode} */ (
53471
+ jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 1));
53472
+ };
53473
+
53474
+
53475
+ /**
53476
+ * @param {?proto.sniipuserservice.ResponseCode|undefined} value
53477
+ * @return {!proto.sniipuserservice.GetMfaSetupUriResponse} returns this
53478
+ */
53479
+ proto.sniipuserservice.GetMfaSetupUriResponse.prototype.setResponsecode = function(value) {
53480
+ return jspb.Message.setWrapperField(this, 1, value);
53481
+ };
53482
+
53483
+
53484
+ /**
53485
+ * Clears the message field making it undefined.
53486
+ * @return {!proto.sniipuserservice.GetMfaSetupUriResponse} returns this
53487
+ */
53488
+ proto.sniipuserservice.GetMfaSetupUriResponse.prototype.clearResponsecode = function() {
53489
+ return this.setResponsecode(undefined);
53490
+ };
53491
+
53492
+
53493
+ /**
53494
+ * Returns whether this field is set.
53495
+ * @return {boolean}
53496
+ */
53497
+ proto.sniipuserservice.GetMfaSetupUriResponse.prototype.hasResponsecode = function() {
53498
+ return jspb.Message.getField(this, 1) != null;
53499
+ };
53500
+
53501
+
53502
+ /**
53503
+ * optional MfaSetupUriDetails details = 2;
53504
+ * @return {?proto.sniipuserservice.MfaSetupUriDetails}
53505
+ */
53506
+ proto.sniipuserservice.GetMfaSetupUriResponse.prototype.getDetails = function() {
53507
+ return /** @type{?proto.sniipuserservice.MfaSetupUriDetails} */ (
53508
+ jspb.Message.getWrapperField(this, proto.sniipuserservice.MfaSetupUriDetails, 2));
53509
+ };
53510
+
53511
+
53512
+ /**
53513
+ * @param {?proto.sniipuserservice.MfaSetupUriDetails|undefined} value
53514
+ * @return {!proto.sniipuserservice.GetMfaSetupUriResponse} returns this
53515
+ */
53516
+ proto.sniipuserservice.GetMfaSetupUriResponse.prototype.setDetails = function(value) {
53517
+ return jspb.Message.setWrapperField(this, 2, value);
53518
+ };
53519
+
53520
+
53521
+ /**
53522
+ * Clears the message field making it undefined.
53523
+ * @return {!proto.sniipuserservice.GetMfaSetupUriResponse} returns this
53524
+ */
53525
+ proto.sniipuserservice.GetMfaSetupUriResponse.prototype.clearDetails = function() {
53526
+ return this.setDetails(undefined);
53527
+ };
53528
+
53529
+
53530
+ /**
53531
+ * Returns whether this field is set.
53532
+ * @return {boolean}
53533
+ */
53534
+ proto.sniipuserservice.GetMfaSetupUriResponse.prototype.hasDetails = function() {
53535
+ return jspb.Message.getField(this, 2) != null;
53536
+ };
53537
+
53538
+
53539
+
53540
+
53541
+
53136
53542
  if (jspb.Message.GENERATE_TO_OBJECT) {
53137
53543
  /**
53138
53544
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb",
3
- "version": "26.8.14842",
3
+ "version": "26.8.14867",
4
4
  "description": "user-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",