@sniipwebmaster/user-service-client-grpcweb 25.9.13326 → 25.9.13348

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.
@@ -60,6 +60,7 @@ goog.exportSymbol('proto.sniipuserservice.CreateUserPassportRequest', null, glob
60
60
  goog.exportSymbol('proto.sniipuserservice.CreateUserPassportV2Request', null, global);
61
61
  goog.exportSymbol('proto.sniipuserservice.CreateUserPassportWebRequest', null, global);
62
62
  goog.exportSymbol('proto.sniipuserservice.CreateUserPassportWebV2Request', null, global);
63
+ goog.exportSymbol('proto.sniipuserservice.DeleteAccountOtpValidationRequest', null, global);
63
64
  goog.exportSymbol('proto.sniipuserservice.DeleteAccountRequest', null, global);
64
65
  goog.exportSymbol('proto.sniipuserservice.DeleteBillerRolesRequest', null, global);
65
66
  goog.exportSymbol('proto.sniipuserservice.DeleteFcmTokenRequest', null, global);
@@ -163,6 +164,7 @@ goog.exportSymbol('proto.sniipuserservice.SearchUsersResponse', null, global);
163
164
  goog.exportSymbol('proto.sniipuserservice.SearchUsersV2Request', null, global);
164
165
  goog.exportSymbol('proto.sniipuserservice.SearchUsersV2Request.AppAccountTypeFilter', null, global);
165
166
  goog.exportSymbol('proto.sniipuserservice.SearchUsersV2Request.SearchUsersV2RequestStatusFilter', null, global);
167
+ goog.exportSymbol('proto.sniipuserservice.SendAuthorisedOtpRequest', null, global);
166
168
  goog.exportSymbol('proto.sniipuserservice.SendCustomerNotificationRequest', null, global);
167
169
  goog.exportSymbol('proto.sniipuserservice.SendCustomerSmsRequest', null, global);
168
170
  goog.exportSymbol('proto.sniipuserservice.SendNotificationToCustomerRequest', null, global);
@@ -185,12 +187,14 @@ goog.exportSymbol('proto.sniipuserservice.UnassignPermissionRolesRequest', null,
185
187
  goog.exportSymbol('proto.sniipuserservice.UpdateAbnRequest', null, global);
186
188
  goog.exportSymbol('proto.sniipuserservice.UpdateDobAppRequest', null, global);
187
189
  goog.exportSymbol('proto.sniipuserservice.UpdateDobRequest', null, global);
190
+ goog.exportSymbol('proto.sniipuserservice.UpdateEmailOtpValidationRequest', null, global);
188
191
  goog.exportSymbol('proto.sniipuserservice.UpdateEmailRequest', null, global);
189
192
  goog.exportSymbol('proto.sniipuserservice.UpdateEmailV2Request', null, global);
190
193
  goog.exportSymbol('proto.sniipuserservice.UpdateEmailV3Request', null, global);
191
194
  goog.exportSymbol('proto.sniipuserservice.UpdateKycUserStatusForTestRequest', null, global);
192
195
  goog.exportSymbol('proto.sniipuserservice.UpdateNameRequest', null, global);
193
196
  goog.exportSymbol('proto.sniipuserservice.UpdatePermissionRoleRequest', null, global);
197
+ goog.exportSymbol('proto.sniipuserservice.UpdatePhoneOtpValidationRequest', null, global);
194
198
  goog.exportSymbol('proto.sniipuserservice.UpdatePhoneRequest', null, global);
195
199
  goog.exportSymbol('proto.sniipuserservice.UpdatePhoneRequestV2', null, global);
196
200
  goog.exportSymbol('proto.sniipuserservice.UpdateUserStatusForTestRequest', null, global);
@@ -1024,6 +1028,27 @@ if (goog.DEBUG && !COMPILED) {
1024
1028
  */
1025
1029
  proto.sniipuserservice.DeleteAccountRequest.displayName = 'proto.sniipuserservice.DeleteAccountRequest';
1026
1030
  }
1031
+ /**
1032
+ * Generated by JsPbCodeGenerator.
1033
+ * @param {Array=} opt_data Optional initial data array, typically from a
1034
+ * server response, or constructed directly in Javascript. The array is used
1035
+ * in place and becomes part of the constructed object. It is not cloned.
1036
+ * If no data is provided, the constructed object will be empty, but still
1037
+ * valid.
1038
+ * @extends {jspb.Message}
1039
+ * @constructor
1040
+ */
1041
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest = function(opt_data) {
1042
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1043
+ };
1044
+ goog.inherits(proto.sniipuserservice.DeleteAccountOtpValidationRequest, jspb.Message);
1045
+ if (goog.DEBUG && !COMPILED) {
1046
+ /**
1047
+ * @public
1048
+ * @override
1049
+ */
1050
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.displayName = 'proto.sniipuserservice.DeleteAccountOtpValidationRequest';
1051
+ }
1027
1052
  /**
1028
1053
  * Generated by JsPbCodeGenerator.
1029
1054
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3502,6 +3527,27 @@ if (goog.DEBUG && !COMPILED) {
3502
3527
  */
3503
3528
  proto.sniipuserservice.UpdateEmailV3Request.displayName = 'proto.sniipuserservice.UpdateEmailV3Request';
3504
3529
  }
3530
+ /**
3531
+ * Generated by JsPbCodeGenerator.
3532
+ * @param {Array=} opt_data Optional initial data array, typically from a
3533
+ * server response, or constructed directly in Javascript. The array is used
3534
+ * in place and becomes part of the constructed object. It is not cloned.
3535
+ * If no data is provided, the constructed object will be empty, but still
3536
+ * valid.
3537
+ * @extends {jspb.Message}
3538
+ * @constructor
3539
+ */
3540
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest = function(opt_data) {
3541
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3542
+ };
3543
+ goog.inherits(proto.sniipuserservice.UpdateEmailOtpValidationRequest, jspb.Message);
3544
+ if (goog.DEBUG && !COMPILED) {
3545
+ /**
3546
+ * @public
3547
+ * @override
3548
+ */
3549
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.displayName = 'proto.sniipuserservice.UpdateEmailOtpValidationRequest';
3550
+ }
3505
3551
  /**
3506
3552
  * Generated by JsPbCodeGenerator.
3507
3553
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3628,6 +3674,27 @@ if (goog.DEBUG && !COMPILED) {
3628
3674
  */
3629
3675
  proto.sniipuserservice.UpdatePhoneRequestV2.displayName = 'proto.sniipuserservice.UpdatePhoneRequestV2';
3630
3676
  }
3677
+ /**
3678
+ * Generated by JsPbCodeGenerator.
3679
+ * @param {Array=} opt_data Optional initial data array, typically from a
3680
+ * server response, or constructed directly in Javascript. The array is used
3681
+ * in place and becomes part of the constructed object. It is not cloned.
3682
+ * If no data is provided, the constructed object will be empty, but still
3683
+ * valid.
3684
+ * @extends {jspb.Message}
3685
+ * @constructor
3686
+ */
3687
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest = function(opt_data) {
3688
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3689
+ };
3690
+ goog.inherits(proto.sniipuserservice.UpdatePhoneOtpValidationRequest, jspb.Message);
3691
+ if (goog.DEBUG && !COMPILED) {
3692
+ /**
3693
+ * @public
3694
+ * @override
3695
+ */
3696
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.displayName = 'proto.sniipuserservice.UpdatePhoneOtpValidationRequest';
3697
+ }
3631
3698
  /**
3632
3699
  * Generated by JsPbCodeGenerator.
3633
3700
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4426,6 +4493,27 @@ if (goog.DEBUG && !COMPILED) {
4426
4493
  */
4427
4494
  proto.sniipuserservice.GetUserPassportsResponse.displayName = 'proto.sniipuserservice.GetUserPassportsResponse';
4428
4495
  }
4496
+ /**
4497
+ * Generated by JsPbCodeGenerator.
4498
+ * @param {Array=} opt_data Optional initial data array, typically from a
4499
+ * server response, or constructed directly in Javascript. The array is used
4500
+ * in place and becomes part of the constructed object. It is not cloned.
4501
+ * If no data is provided, the constructed object will be empty, but still
4502
+ * valid.
4503
+ * @extends {jspb.Message}
4504
+ * @constructor
4505
+ */
4506
+ proto.sniipuserservice.SendAuthorisedOtpRequest = function(opt_data) {
4507
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4508
+ };
4509
+ goog.inherits(proto.sniipuserservice.SendAuthorisedOtpRequest, jspb.Message);
4510
+ if (goog.DEBUG && !COMPILED) {
4511
+ /**
4512
+ * @public
4513
+ * @override
4514
+ */
4515
+ proto.sniipuserservice.SendAuthorisedOtpRequest.displayName = 'proto.sniipuserservice.SendAuthorisedOtpRequest';
4516
+ }
4429
4517
 
4430
4518
 
4431
4519
 
@@ -14355,6 +14443,496 @@ proto.sniipuserservice.DeleteAccountRequest.prototype.setPassword = function(val
14355
14443
 
14356
14444
 
14357
14445
 
14446
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14447
+ /**
14448
+ * Creates an object representation of this proto.
14449
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14450
+ * Optional fields that are not set will be set to undefined.
14451
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14452
+ * For the list of reserved names please see:
14453
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14454
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14455
+ * JSPB instance for transitional soy proto support:
14456
+ * http://goto/soy-param-migration
14457
+ * @return {!Object}
14458
+ */
14459
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.toObject = function(opt_includeInstance) {
14460
+ return proto.sniipuserservice.DeleteAccountOtpValidationRequest.toObject(opt_includeInstance, this);
14461
+ };
14462
+
14463
+
14464
+ /**
14465
+ * Static version of the {@see toObject} method.
14466
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14467
+ * the JSPB instance for transitional soy proto support:
14468
+ * http://goto/soy-param-migration
14469
+ * @param {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} msg The msg instance to transform.
14470
+ * @return {!Object}
14471
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14472
+ */
14473
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.toObject = function(includeInstance, msg) {
14474
+ var f, obj = {
14475
+ feedback: jspb.Message.getFieldWithDefault(msg, 1, ""),
14476
+ reason: jspb.Message.getFieldWithDefault(msg, 2, ""),
14477
+ deviceid: jspb.Message.getFieldWithDefault(msg, 3, ""),
14478
+ deviceplatform: jspb.Message.getFieldWithDefault(msg, 4, ""),
14479
+ deviceversion: jspb.Message.getFieldWithDefault(msg, 5, ""),
14480
+ devicemanufacturer: jspb.Message.getFieldWithDefault(msg, 6, ""),
14481
+ devicemodel: jspb.Message.getFieldWithDefault(msg, 7, ""),
14482
+ osversion: jspb.Message.getFieldWithDefault(msg, 8, ""),
14483
+ browsername: jspb.Message.getFieldWithDefault(msg, 9, ""),
14484
+ browserversion: jspb.Message.getFieldWithDefault(msg, 10, ""),
14485
+ browserplatform: jspb.Message.getFieldWithDefault(msg, 11, ""),
14486
+ browserdevicemodel: jspb.Message.getFieldWithDefault(msg, 12, ""),
14487
+ verificationcode: jspb.Message.getFieldWithDefault(msg, 13, "")
14488
+ };
14489
+
14490
+ if (includeInstance) {
14491
+ obj.$jspbMessageInstance = msg;
14492
+ }
14493
+ return obj;
14494
+ };
14495
+ }
14496
+
14497
+
14498
+ /**
14499
+ * Deserializes binary data (in protobuf wire format).
14500
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14501
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest}
14502
+ */
14503
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.deserializeBinary = function(bytes) {
14504
+ var reader = new jspb.BinaryReader(bytes);
14505
+ var msg = new proto.sniipuserservice.DeleteAccountOtpValidationRequest;
14506
+ return proto.sniipuserservice.DeleteAccountOtpValidationRequest.deserializeBinaryFromReader(msg, reader);
14507
+ };
14508
+
14509
+
14510
+ /**
14511
+ * Deserializes binary data (in protobuf wire format) from the
14512
+ * given reader into the given message object.
14513
+ * @param {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} msg The message object to deserialize into.
14514
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14515
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest}
14516
+ */
14517
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.deserializeBinaryFromReader = function(msg, reader) {
14518
+ while (reader.nextField()) {
14519
+ if (reader.isEndGroup()) {
14520
+ break;
14521
+ }
14522
+ var field = reader.getFieldNumber();
14523
+ switch (field) {
14524
+ case 1:
14525
+ var value = /** @type {string} */ (reader.readString());
14526
+ msg.setFeedback(value);
14527
+ break;
14528
+ case 2:
14529
+ var value = /** @type {string} */ (reader.readString());
14530
+ msg.setReason(value);
14531
+ break;
14532
+ case 3:
14533
+ var value = /** @type {string} */ (reader.readString());
14534
+ msg.setDeviceid(value);
14535
+ break;
14536
+ case 4:
14537
+ var value = /** @type {string} */ (reader.readString());
14538
+ msg.setDeviceplatform(value);
14539
+ break;
14540
+ case 5:
14541
+ var value = /** @type {string} */ (reader.readString());
14542
+ msg.setDeviceversion(value);
14543
+ break;
14544
+ case 6:
14545
+ var value = /** @type {string} */ (reader.readString());
14546
+ msg.setDevicemanufacturer(value);
14547
+ break;
14548
+ case 7:
14549
+ var value = /** @type {string} */ (reader.readString());
14550
+ msg.setDevicemodel(value);
14551
+ break;
14552
+ case 8:
14553
+ var value = /** @type {string} */ (reader.readString());
14554
+ msg.setOsversion(value);
14555
+ break;
14556
+ case 9:
14557
+ var value = /** @type {string} */ (reader.readString());
14558
+ msg.setBrowsername(value);
14559
+ break;
14560
+ case 10:
14561
+ var value = /** @type {string} */ (reader.readString());
14562
+ msg.setBrowserversion(value);
14563
+ break;
14564
+ case 11:
14565
+ var value = /** @type {string} */ (reader.readString());
14566
+ msg.setBrowserplatform(value);
14567
+ break;
14568
+ case 12:
14569
+ var value = /** @type {string} */ (reader.readString());
14570
+ msg.setBrowserdevicemodel(value);
14571
+ break;
14572
+ case 13:
14573
+ var value = /** @type {string} */ (reader.readString());
14574
+ msg.setVerificationcode(value);
14575
+ break;
14576
+ default:
14577
+ reader.skipField();
14578
+ break;
14579
+ }
14580
+ }
14581
+ return msg;
14582
+ };
14583
+
14584
+
14585
+ /**
14586
+ * Serializes the message to binary data (in protobuf wire format).
14587
+ * @return {!Uint8Array}
14588
+ */
14589
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.serializeBinary = function() {
14590
+ var writer = new jspb.BinaryWriter();
14591
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.serializeBinaryToWriter(this, writer);
14592
+ return writer.getResultBuffer();
14593
+ };
14594
+
14595
+
14596
+ /**
14597
+ * Serializes the given message to binary data (in protobuf wire
14598
+ * format), writing to the given BinaryWriter.
14599
+ * @param {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} message
14600
+ * @param {!jspb.BinaryWriter} writer
14601
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14602
+ */
14603
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.serializeBinaryToWriter = function(message, writer) {
14604
+ var f = undefined;
14605
+ f = message.getFeedback();
14606
+ if (f.length > 0) {
14607
+ writer.writeString(
14608
+ 1,
14609
+ f
14610
+ );
14611
+ }
14612
+ f = message.getReason();
14613
+ if (f.length > 0) {
14614
+ writer.writeString(
14615
+ 2,
14616
+ f
14617
+ );
14618
+ }
14619
+ f = message.getDeviceid();
14620
+ if (f.length > 0) {
14621
+ writer.writeString(
14622
+ 3,
14623
+ f
14624
+ );
14625
+ }
14626
+ f = message.getDeviceplatform();
14627
+ if (f.length > 0) {
14628
+ writer.writeString(
14629
+ 4,
14630
+ f
14631
+ );
14632
+ }
14633
+ f = message.getDeviceversion();
14634
+ if (f.length > 0) {
14635
+ writer.writeString(
14636
+ 5,
14637
+ f
14638
+ );
14639
+ }
14640
+ f = message.getDevicemanufacturer();
14641
+ if (f.length > 0) {
14642
+ writer.writeString(
14643
+ 6,
14644
+ f
14645
+ );
14646
+ }
14647
+ f = message.getDevicemodel();
14648
+ if (f.length > 0) {
14649
+ writer.writeString(
14650
+ 7,
14651
+ f
14652
+ );
14653
+ }
14654
+ f = message.getOsversion();
14655
+ if (f.length > 0) {
14656
+ writer.writeString(
14657
+ 8,
14658
+ f
14659
+ );
14660
+ }
14661
+ f = message.getBrowsername();
14662
+ if (f.length > 0) {
14663
+ writer.writeString(
14664
+ 9,
14665
+ f
14666
+ );
14667
+ }
14668
+ f = message.getBrowserversion();
14669
+ if (f.length > 0) {
14670
+ writer.writeString(
14671
+ 10,
14672
+ f
14673
+ );
14674
+ }
14675
+ f = message.getBrowserplatform();
14676
+ if (f.length > 0) {
14677
+ writer.writeString(
14678
+ 11,
14679
+ f
14680
+ );
14681
+ }
14682
+ f = message.getBrowserdevicemodel();
14683
+ if (f.length > 0) {
14684
+ writer.writeString(
14685
+ 12,
14686
+ f
14687
+ );
14688
+ }
14689
+ f = message.getVerificationcode();
14690
+ if (f.length > 0) {
14691
+ writer.writeString(
14692
+ 13,
14693
+ f
14694
+ );
14695
+ }
14696
+ };
14697
+
14698
+
14699
+ /**
14700
+ * optional string feedback = 1;
14701
+ * @return {string}
14702
+ */
14703
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getFeedback = function() {
14704
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
14705
+ };
14706
+
14707
+
14708
+ /**
14709
+ * @param {string} value
14710
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14711
+ */
14712
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setFeedback = function(value) {
14713
+ return jspb.Message.setProto3StringField(this, 1, value);
14714
+ };
14715
+
14716
+
14717
+ /**
14718
+ * optional string reason = 2;
14719
+ * @return {string}
14720
+ */
14721
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getReason = function() {
14722
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
14723
+ };
14724
+
14725
+
14726
+ /**
14727
+ * @param {string} value
14728
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14729
+ */
14730
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setReason = function(value) {
14731
+ return jspb.Message.setProto3StringField(this, 2, value);
14732
+ };
14733
+
14734
+
14735
+ /**
14736
+ * optional string deviceId = 3;
14737
+ * @return {string}
14738
+ */
14739
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getDeviceid = function() {
14740
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
14741
+ };
14742
+
14743
+
14744
+ /**
14745
+ * @param {string} value
14746
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14747
+ */
14748
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setDeviceid = function(value) {
14749
+ return jspb.Message.setProto3StringField(this, 3, value);
14750
+ };
14751
+
14752
+
14753
+ /**
14754
+ * optional string devicePlatform = 4;
14755
+ * @return {string}
14756
+ */
14757
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getDeviceplatform = function() {
14758
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
14759
+ };
14760
+
14761
+
14762
+ /**
14763
+ * @param {string} value
14764
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14765
+ */
14766
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setDeviceplatform = function(value) {
14767
+ return jspb.Message.setProto3StringField(this, 4, value);
14768
+ };
14769
+
14770
+
14771
+ /**
14772
+ * optional string deviceVersion = 5;
14773
+ * @return {string}
14774
+ */
14775
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getDeviceversion = function() {
14776
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
14777
+ };
14778
+
14779
+
14780
+ /**
14781
+ * @param {string} value
14782
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14783
+ */
14784
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setDeviceversion = function(value) {
14785
+ return jspb.Message.setProto3StringField(this, 5, value);
14786
+ };
14787
+
14788
+
14789
+ /**
14790
+ * optional string deviceManufacturer = 6;
14791
+ * @return {string}
14792
+ */
14793
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getDevicemanufacturer = function() {
14794
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
14795
+ };
14796
+
14797
+
14798
+ /**
14799
+ * @param {string} value
14800
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14801
+ */
14802
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setDevicemanufacturer = function(value) {
14803
+ return jspb.Message.setProto3StringField(this, 6, value);
14804
+ };
14805
+
14806
+
14807
+ /**
14808
+ * optional string deviceModel = 7;
14809
+ * @return {string}
14810
+ */
14811
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getDevicemodel = function() {
14812
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
14813
+ };
14814
+
14815
+
14816
+ /**
14817
+ * @param {string} value
14818
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14819
+ */
14820
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setDevicemodel = function(value) {
14821
+ return jspb.Message.setProto3StringField(this, 7, value);
14822
+ };
14823
+
14824
+
14825
+ /**
14826
+ * optional string osVersion = 8;
14827
+ * @return {string}
14828
+ */
14829
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getOsversion = function() {
14830
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
14831
+ };
14832
+
14833
+
14834
+ /**
14835
+ * @param {string} value
14836
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14837
+ */
14838
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setOsversion = function(value) {
14839
+ return jspb.Message.setProto3StringField(this, 8, value);
14840
+ };
14841
+
14842
+
14843
+ /**
14844
+ * optional string browserName = 9;
14845
+ * @return {string}
14846
+ */
14847
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getBrowsername = function() {
14848
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
14849
+ };
14850
+
14851
+
14852
+ /**
14853
+ * @param {string} value
14854
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14855
+ */
14856
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setBrowsername = function(value) {
14857
+ return jspb.Message.setProto3StringField(this, 9, value);
14858
+ };
14859
+
14860
+
14861
+ /**
14862
+ * optional string browserVersion = 10;
14863
+ * @return {string}
14864
+ */
14865
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getBrowserversion = function() {
14866
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
14867
+ };
14868
+
14869
+
14870
+ /**
14871
+ * @param {string} value
14872
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14873
+ */
14874
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setBrowserversion = function(value) {
14875
+ return jspb.Message.setProto3StringField(this, 10, value);
14876
+ };
14877
+
14878
+
14879
+ /**
14880
+ * optional string browserPlatform = 11;
14881
+ * @return {string}
14882
+ */
14883
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getBrowserplatform = function() {
14884
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
14885
+ };
14886
+
14887
+
14888
+ /**
14889
+ * @param {string} value
14890
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14891
+ */
14892
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setBrowserplatform = function(value) {
14893
+ return jspb.Message.setProto3StringField(this, 11, value);
14894
+ };
14895
+
14896
+
14897
+ /**
14898
+ * optional string browserDeviceModel = 12;
14899
+ * @return {string}
14900
+ */
14901
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getBrowserdevicemodel = function() {
14902
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
14903
+ };
14904
+
14905
+
14906
+ /**
14907
+ * @param {string} value
14908
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14909
+ */
14910
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setBrowserdevicemodel = function(value) {
14911
+ return jspb.Message.setProto3StringField(this, 12, value);
14912
+ };
14913
+
14914
+
14915
+ /**
14916
+ * optional string verificationCode = 13;
14917
+ * @return {string}
14918
+ */
14919
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getVerificationcode = function() {
14920
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
14921
+ };
14922
+
14923
+
14924
+ /**
14925
+ * @param {string} value
14926
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
14927
+ */
14928
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setVerificationcode = function(value) {
14929
+ return jspb.Message.setProto3StringField(this, 13, value);
14930
+ };
14931
+
14932
+
14933
+
14934
+
14935
+
14358
14936
  if (jspb.Message.GENERATE_TO_OBJECT) {
14359
14937
  /**
14360
14938
  * Creates an object representation of this proto.
@@ -39188,6 +39766,214 @@ proto.sniipuserservice.UpdateEmailV3Request.prototype.hasAppaccounttype = functi
39188
39766
 
39189
39767
 
39190
39768
 
39769
+ if (jspb.Message.GENERATE_TO_OBJECT) {
39770
+ /**
39771
+ * Creates an object representation of this proto.
39772
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
39773
+ * Optional fields that are not set will be set to undefined.
39774
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
39775
+ * For the list of reserved names please see:
39776
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
39777
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
39778
+ * JSPB instance for transitional soy proto support:
39779
+ * http://goto/soy-param-migration
39780
+ * @return {!Object}
39781
+ */
39782
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.toObject = function(opt_includeInstance) {
39783
+ return proto.sniipuserservice.UpdateEmailOtpValidationRequest.toObject(opt_includeInstance, this);
39784
+ };
39785
+
39786
+
39787
+ /**
39788
+ * Static version of the {@see toObject} method.
39789
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39790
+ * the JSPB instance for transitional soy proto support:
39791
+ * http://goto/soy-param-migration
39792
+ * @param {!proto.sniipuserservice.UpdateEmailOtpValidationRequest} msg The msg instance to transform.
39793
+ * @return {!Object}
39794
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39795
+ */
39796
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.toObject = function(includeInstance, msg) {
39797
+ var f, obj = {
39798
+ email: jspb.Message.getFieldWithDefault(msg, 1, ""),
39799
+ verificationcode: jspb.Message.getFieldWithDefault(msg, 2, ""),
39800
+ appaccounttype: jspb.Message.getFieldWithDefault(msg, 3, 0)
39801
+ };
39802
+
39803
+ if (includeInstance) {
39804
+ obj.$jspbMessageInstance = msg;
39805
+ }
39806
+ return obj;
39807
+ };
39808
+ }
39809
+
39810
+
39811
+ /**
39812
+ * Deserializes binary data (in protobuf wire format).
39813
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
39814
+ * @return {!proto.sniipuserservice.UpdateEmailOtpValidationRequest}
39815
+ */
39816
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.deserializeBinary = function(bytes) {
39817
+ var reader = new jspb.BinaryReader(bytes);
39818
+ var msg = new proto.sniipuserservice.UpdateEmailOtpValidationRequest;
39819
+ return proto.sniipuserservice.UpdateEmailOtpValidationRequest.deserializeBinaryFromReader(msg, reader);
39820
+ };
39821
+
39822
+
39823
+ /**
39824
+ * Deserializes binary data (in protobuf wire format) from the
39825
+ * given reader into the given message object.
39826
+ * @param {!proto.sniipuserservice.UpdateEmailOtpValidationRequest} msg The message object to deserialize into.
39827
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39828
+ * @return {!proto.sniipuserservice.UpdateEmailOtpValidationRequest}
39829
+ */
39830
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.deserializeBinaryFromReader = function(msg, reader) {
39831
+ while (reader.nextField()) {
39832
+ if (reader.isEndGroup()) {
39833
+ break;
39834
+ }
39835
+ var field = reader.getFieldNumber();
39836
+ switch (field) {
39837
+ case 1:
39838
+ var value = /** @type {string} */ (reader.readString());
39839
+ msg.setEmail(value);
39840
+ break;
39841
+ case 2:
39842
+ var value = /** @type {string} */ (reader.readString());
39843
+ msg.setVerificationcode(value);
39844
+ break;
39845
+ case 3:
39846
+ var value = /** @type {!proto.sniipuserservice.AppAccountType} */ (reader.readEnum());
39847
+ msg.setAppaccounttype(value);
39848
+ break;
39849
+ default:
39850
+ reader.skipField();
39851
+ break;
39852
+ }
39853
+ }
39854
+ return msg;
39855
+ };
39856
+
39857
+
39858
+ /**
39859
+ * Serializes the message to binary data (in protobuf wire format).
39860
+ * @return {!Uint8Array}
39861
+ */
39862
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.serializeBinary = function() {
39863
+ var writer = new jspb.BinaryWriter();
39864
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.serializeBinaryToWriter(this, writer);
39865
+ return writer.getResultBuffer();
39866
+ };
39867
+
39868
+
39869
+ /**
39870
+ * Serializes the given message to binary data (in protobuf wire
39871
+ * format), writing to the given BinaryWriter.
39872
+ * @param {!proto.sniipuserservice.UpdateEmailOtpValidationRequest} message
39873
+ * @param {!jspb.BinaryWriter} writer
39874
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39875
+ */
39876
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.serializeBinaryToWriter = function(message, writer) {
39877
+ var f = undefined;
39878
+ f = message.getEmail();
39879
+ if (f.length > 0) {
39880
+ writer.writeString(
39881
+ 1,
39882
+ f
39883
+ );
39884
+ }
39885
+ f = message.getVerificationcode();
39886
+ if (f.length > 0) {
39887
+ writer.writeString(
39888
+ 2,
39889
+ f
39890
+ );
39891
+ }
39892
+ f = /** @type {!proto.sniipuserservice.AppAccountType} */ (jspb.Message.getField(message, 3));
39893
+ if (f != null) {
39894
+ writer.writeEnum(
39895
+ 3,
39896
+ f
39897
+ );
39898
+ }
39899
+ };
39900
+
39901
+
39902
+ /**
39903
+ * optional string email = 1;
39904
+ * @return {string}
39905
+ */
39906
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.getEmail = function() {
39907
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
39908
+ };
39909
+
39910
+
39911
+ /**
39912
+ * @param {string} value
39913
+ * @return {!proto.sniipuserservice.UpdateEmailOtpValidationRequest} returns this
39914
+ */
39915
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.setEmail = function(value) {
39916
+ return jspb.Message.setProto3StringField(this, 1, value);
39917
+ };
39918
+
39919
+
39920
+ /**
39921
+ * optional string verificationCode = 2;
39922
+ * @return {string}
39923
+ */
39924
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.getVerificationcode = function() {
39925
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
39926
+ };
39927
+
39928
+
39929
+ /**
39930
+ * @param {string} value
39931
+ * @return {!proto.sniipuserservice.UpdateEmailOtpValidationRequest} returns this
39932
+ */
39933
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.setVerificationcode = function(value) {
39934
+ return jspb.Message.setProto3StringField(this, 2, value);
39935
+ };
39936
+
39937
+
39938
+ /**
39939
+ * optional AppAccountType appAccountType = 3;
39940
+ * @return {!proto.sniipuserservice.AppAccountType}
39941
+ */
39942
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.getAppaccounttype = function() {
39943
+ return /** @type {!proto.sniipuserservice.AppAccountType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
39944
+ };
39945
+
39946
+
39947
+ /**
39948
+ * @param {!proto.sniipuserservice.AppAccountType} value
39949
+ * @return {!proto.sniipuserservice.UpdateEmailOtpValidationRequest} returns this
39950
+ */
39951
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.setAppaccounttype = function(value) {
39952
+ return jspb.Message.setField(this, 3, value);
39953
+ };
39954
+
39955
+
39956
+ /**
39957
+ * Clears the field making it undefined.
39958
+ * @return {!proto.sniipuserservice.UpdateEmailOtpValidationRequest} returns this
39959
+ */
39960
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.clearAppaccounttype = function() {
39961
+ return jspb.Message.setField(this, 3, undefined);
39962
+ };
39963
+
39964
+
39965
+ /**
39966
+ * Returns whether this field is set.
39967
+ * @return {boolean}
39968
+ */
39969
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.hasAppaccounttype = function() {
39970
+ return jspb.Message.getField(this, 3) != null;
39971
+ };
39972
+
39973
+
39974
+
39975
+
39976
+
39191
39977
  if (jspb.Message.GENERATE_TO_OBJECT) {
39192
39978
  /**
39193
39979
  * Creates an object representation of this proto.
@@ -40460,6 +41246,226 @@ proto.sniipuserservice.UpdatePhoneRequestV2.prototype.setAppaccounttype = functi
40460
41246
 
40461
41247
 
40462
41248
 
41249
+ if (jspb.Message.GENERATE_TO_OBJECT) {
41250
+ /**
41251
+ * Creates an object representation of this proto.
41252
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
41253
+ * Optional fields that are not set will be set to undefined.
41254
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
41255
+ * For the list of reserved names please see:
41256
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
41257
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
41258
+ * JSPB instance for transitional soy proto support:
41259
+ * http://goto/soy-param-migration
41260
+ * @return {!Object}
41261
+ */
41262
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.toObject = function(opt_includeInstance) {
41263
+ return proto.sniipuserservice.UpdatePhoneOtpValidationRequest.toObject(opt_includeInstance, this);
41264
+ };
41265
+
41266
+
41267
+ /**
41268
+ * Static version of the {@see toObject} method.
41269
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
41270
+ * the JSPB instance for transitional soy proto support:
41271
+ * http://goto/soy-param-migration
41272
+ * @param {!proto.sniipuserservice.UpdatePhoneOtpValidationRequest} msg The msg instance to transform.
41273
+ * @return {!Object}
41274
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41275
+ */
41276
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.toObject = function(includeInstance, msg) {
41277
+ var f, obj = {
41278
+ phonenumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
41279
+ regioncode: jspb.Message.getFieldWithDefault(msg, 2, ""),
41280
+ verificationcode: jspb.Message.getFieldWithDefault(msg, 3, ""),
41281
+ appaccounttype: jspb.Message.getFieldWithDefault(msg, 4, 0)
41282
+ };
41283
+
41284
+ if (includeInstance) {
41285
+ obj.$jspbMessageInstance = msg;
41286
+ }
41287
+ return obj;
41288
+ };
41289
+ }
41290
+
41291
+
41292
+ /**
41293
+ * Deserializes binary data (in protobuf wire format).
41294
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
41295
+ * @return {!proto.sniipuserservice.UpdatePhoneOtpValidationRequest}
41296
+ */
41297
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.deserializeBinary = function(bytes) {
41298
+ var reader = new jspb.BinaryReader(bytes);
41299
+ var msg = new proto.sniipuserservice.UpdatePhoneOtpValidationRequest;
41300
+ return proto.sniipuserservice.UpdatePhoneOtpValidationRequest.deserializeBinaryFromReader(msg, reader);
41301
+ };
41302
+
41303
+
41304
+ /**
41305
+ * Deserializes binary data (in protobuf wire format) from the
41306
+ * given reader into the given message object.
41307
+ * @param {!proto.sniipuserservice.UpdatePhoneOtpValidationRequest} msg The message object to deserialize into.
41308
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
41309
+ * @return {!proto.sniipuserservice.UpdatePhoneOtpValidationRequest}
41310
+ */
41311
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.deserializeBinaryFromReader = function(msg, reader) {
41312
+ while (reader.nextField()) {
41313
+ if (reader.isEndGroup()) {
41314
+ break;
41315
+ }
41316
+ var field = reader.getFieldNumber();
41317
+ switch (field) {
41318
+ case 1:
41319
+ var value = /** @type {string} */ (reader.readString());
41320
+ msg.setPhonenumber(value);
41321
+ break;
41322
+ case 2:
41323
+ var value = /** @type {string} */ (reader.readString());
41324
+ msg.setRegioncode(value);
41325
+ break;
41326
+ case 3:
41327
+ var value = /** @type {string} */ (reader.readString());
41328
+ msg.setVerificationcode(value);
41329
+ break;
41330
+ case 4:
41331
+ var value = /** @type {!proto.sniipuserservice.AppAccountType} */ (reader.readEnum());
41332
+ msg.setAppaccounttype(value);
41333
+ break;
41334
+ default:
41335
+ reader.skipField();
41336
+ break;
41337
+ }
41338
+ }
41339
+ return msg;
41340
+ };
41341
+
41342
+
41343
+ /**
41344
+ * Serializes the message to binary data (in protobuf wire format).
41345
+ * @return {!Uint8Array}
41346
+ */
41347
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.serializeBinary = function() {
41348
+ var writer = new jspb.BinaryWriter();
41349
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.serializeBinaryToWriter(this, writer);
41350
+ return writer.getResultBuffer();
41351
+ };
41352
+
41353
+
41354
+ /**
41355
+ * Serializes the given message to binary data (in protobuf wire
41356
+ * format), writing to the given BinaryWriter.
41357
+ * @param {!proto.sniipuserservice.UpdatePhoneOtpValidationRequest} message
41358
+ * @param {!jspb.BinaryWriter} writer
41359
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41360
+ */
41361
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.serializeBinaryToWriter = function(message, writer) {
41362
+ var f = undefined;
41363
+ f = message.getPhonenumber();
41364
+ if (f.length > 0) {
41365
+ writer.writeString(
41366
+ 1,
41367
+ f
41368
+ );
41369
+ }
41370
+ f = message.getRegioncode();
41371
+ if (f.length > 0) {
41372
+ writer.writeString(
41373
+ 2,
41374
+ f
41375
+ );
41376
+ }
41377
+ f = message.getVerificationcode();
41378
+ if (f.length > 0) {
41379
+ writer.writeString(
41380
+ 3,
41381
+ f
41382
+ );
41383
+ }
41384
+ f = message.getAppaccounttype();
41385
+ if (f !== 0.0) {
41386
+ writer.writeEnum(
41387
+ 4,
41388
+ f
41389
+ );
41390
+ }
41391
+ };
41392
+
41393
+
41394
+ /**
41395
+ * optional string phoneNumber = 1;
41396
+ * @return {string}
41397
+ */
41398
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.getPhonenumber = function() {
41399
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
41400
+ };
41401
+
41402
+
41403
+ /**
41404
+ * @param {string} value
41405
+ * @return {!proto.sniipuserservice.UpdatePhoneOtpValidationRequest} returns this
41406
+ */
41407
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.setPhonenumber = function(value) {
41408
+ return jspb.Message.setProto3StringField(this, 1, value);
41409
+ };
41410
+
41411
+
41412
+ /**
41413
+ * optional string regionCode = 2;
41414
+ * @return {string}
41415
+ */
41416
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.getRegioncode = function() {
41417
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
41418
+ };
41419
+
41420
+
41421
+ /**
41422
+ * @param {string} value
41423
+ * @return {!proto.sniipuserservice.UpdatePhoneOtpValidationRequest} returns this
41424
+ */
41425
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.setRegioncode = function(value) {
41426
+ return jspb.Message.setProto3StringField(this, 2, value);
41427
+ };
41428
+
41429
+
41430
+ /**
41431
+ * optional string verificationCode = 3;
41432
+ * @return {string}
41433
+ */
41434
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.getVerificationcode = function() {
41435
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
41436
+ };
41437
+
41438
+
41439
+ /**
41440
+ * @param {string} value
41441
+ * @return {!proto.sniipuserservice.UpdatePhoneOtpValidationRequest} returns this
41442
+ */
41443
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.setVerificationcode = function(value) {
41444
+ return jspb.Message.setProto3StringField(this, 3, value);
41445
+ };
41446
+
41447
+
41448
+ /**
41449
+ * optional AppAccountType appAccountType = 4;
41450
+ * @return {!proto.sniipuserservice.AppAccountType}
41451
+ */
41452
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.getAppaccounttype = function() {
41453
+ return /** @type {!proto.sniipuserservice.AppAccountType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
41454
+ };
41455
+
41456
+
41457
+ /**
41458
+ * @param {!proto.sniipuserservice.AppAccountType} value
41459
+ * @return {!proto.sniipuserservice.UpdatePhoneOtpValidationRequest} returns this
41460
+ */
41461
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.setAppaccounttype = function(value) {
41462
+ return jspb.Message.setProto3EnumField(this, 4, value);
41463
+ };
41464
+
41465
+
41466
+
41467
+
41468
+
40463
41469
  if (jspb.Message.GENERATE_TO_OBJECT) {
40464
41470
  /**
40465
41471
  * Creates an object representation of this proto.
@@ -48913,6 +49919,136 @@ proto.sniipuserservice.GetUserPassportsResponse.prototype.clearPassportsList = f
48913
49919
  };
48914
49920
 
48915
49921
 
49922
+
49923
+
49924
+
49925
+ if (jspb.Message.GENERATE_TO_OBJECT) {
49926
+ /**
49927
+ * Creates an object representation of this proto.
49928
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
49929
+ * Optional fields that are not set will be set to undefined.
49930
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
49931
+ * For the list of reserved names please see:
49932
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
49933
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
49934
+ * JSPB instance for transitional soy proto support:
49935
+ * http://goto/soy-param-migration
49936
+ * @return {!Object}
49937
+ */
49938
+ proto.sniipuserservice.SendAuthorisedOtpRequest.prototype.toObject = function(opt_includeInstance) {
49939
+ return proto.sniipuserservice.SendAuthorisedOtpRequest.toObject(opt_includeInstance, this);
49940
+ };
49941
+
49942
+
49943
+ /**
49944
+ * Static version of the {@see toObject} method.
49945
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
49946
+ * the JSPB instance for transitional soy proto support:
49947
+ * http://goto/soy-param-migration
49948
+ * @param {!proto.sniipuserservice.SendAuthorisedOtpRequest} msg The msg instance to transform.
49949
+ * @return {!Object}
49950
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49951
+ */
49952
+ proto.sniipuserservice.SendAuthorisedOtpRequest.toObject = function(includeInstance, msg) {
49953
+ var f, obj = {
49954
+ verificationscope: jspb.Message.getFieldWithDefault(msg, 1, 0)
49955
+ };
49956
+
49957
+ if (includeInstance) {
49958
+ obj.$jspbMessageInstance = msg;
49959
+ }
49960
+ return obj;
49961
+ };
49962
+ }
49963
+
49964
+
49965
+ /**
49966
+ * Deserializes binary data (in protobuf wire format).
49967
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
49968
+ * @return {!proto.sniipuserservice.SendAuthorisedOtpRequest}
49969
+ */
49970
+ proto.sniipuserservice.SendAuthorisedOtpRequest.deserializeBinary = function(bytes) {
49971
+ var reader = new jspb.BinaryReader(bytes);
49972
+ var msg = new proto.sniipuserservice.SendAuthorisedOtpRequest;
49973
+ return proto.sniipuserservice.SendAuthorisedOtpRequest.deserializeBinaryFromReader(msg, reader);
49974
+ };
49975
+
49976
+
49977
+ /**
49978
+ * Deserializes binary data (in protobuf wire format) from the
49979
+ * given reader into the given message object.
49980
+ * @param {!proto.sniipuserservice.SendAuthorisedOtpRequest} msg The message object to deserialize into.
49981
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
49982
+ * @return {!proto.sniipuserservice.SendAuthorisedOtpRequest}
49983
+ */
49984
+ proto.sniipuserservice.SendAuthorisedOtpRequest.deserializeBinaryFromReader = function(msg, reader) {
49985
+ while (reader.nextField()) {
49986
+ if (reader.isEndGroup()) {
49987
+ break;
49988
+ }
49989
+ var field = reader.getFieldNumber();
49990
+ switch (field) {
49991
+ case 1:
49992
+ var value = /** @type {!proto.sniipuserservice.VerificationScope} */ (reader.readEnum());
49993
+ msg.setVerificationscope(value);
49994
+ break;
49995
+ default:
49996
+ reader.skipField();
49997
+ break;
49998
+ }
49999
+ }
50000
+ return msg;
50001
+ };
50002
+
50003
+
50004
+ /**
50005
+ * Serializes the message to binary data (in protobuf wire format).
50006
+ * @return {!Uint8Array}
50007
+ */
50008
+ proto.sniipuserservice.SendAuthorisedOtpRequest.prototype.serializeBinary = function() {
50009
+ var writer = new jspb.BinaryWriter();
50010
+ proto.sniipuserservice.SendAuthorisedOtpRequest.serializeBinaryToWriter(this, writer);
50011
+ return writer.getResultBuffer();
50012
+ };
50013
+
50014
+
50015
+ /**
50016
+ * Serializes the given message to binary data (in protobuf wire
50017
+ * format), writing to the given BinaryWriter.
50018
+ * @param {!proto.sniipuserservice.SendAuthorisedOtpRequest} message
50019
+ * @param {!jspb.BinaryWriter} writer
50020
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50021
+ */
50022
+ proto.sniipuserservice.SendAuthorisedOtpRequest.serializeBinaryToWriter = function(message, writer) {
50023
+ var f = undefined;
50024
+ f = message.getVerificationscope();
50025
+ if (f !== 0.0) {
50026
+ writer.writeEnum(
50027
+ 1,
50028
+ f
50029
+ );
50030
+ }
50031
+ };
50032
+
50033
+
50034
+ /**
50035
+ * optional VerificationScope verificationScope = 1;
50036
+ * @return {!proto.sniipuserservice.VerificationScope}
50037
+ */
50038
+ proto.sniipuserservice.SendAuthorisedOtpRequest.prototype.getVerificationscope = function() {
50039
+ return /** @type {!proto.sniipuserservice.VerificationScope} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
50040
+ };
50041
+
50042
+
50043
+ /**
50044
+ * @param {!proto.sniipuserservice.VerificationScope} value
50045
+ * @return {!proto.sniipuserservice.SendAuthorisedOtpRequest} returns this
50046
+ */
50047
+ proto.sniipuserservice.SendAuthorisedOtpRequest.prototype.setVerificationscope = function(value) {
50048
+ return jspb.Message.setProto3EnumField(this, 1, value);
50049
+ };
50050
+
50051
+
48916
50052
  /**
48917
50053
  * @enum {number}
48918
50054
  */
@@ -48933,7 +50069,10 @@ proto.sniipuserservice.VerificationScope = {
48933
50069
  VERIFY_EMAIL: 4,
48934
50070
  VERIFY_USER: 5,
48935
50071
  VERIFY_PAYMENT: 6,
48936
- VERIFY_EMAIL_WITH_CODE: 7
50072
+ VERIFY_EMAIL_WITH_CODE: 7,
50073
+ UPDATE_EMAIL_ADDRESS_PINLESS: 8,
50074
+ UPDATE_PHONE_PINLESS: 9,
50075
+ DELETE_ACCOUNT_PINLESS: 10
48937
50076
  };
48938
50077
 
48939
50078
  /**