@sniipwebmaster/user-service-client-grpcweb-ts 25.10.13629 → 25.10.13651

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.
@@ -1366,6 +1366,9 @@ export class DeleteAccountOtpValidationRequest extends jspb.Message {
1366
1366
  getVerificationcode(): string;
1367
1367
  setVerificationcode(value: string): DeleteAccountOtpValidationRequest;
1368
1368
 
1369
+ getOtpsource(): OtpSource;
1370
+ setOtpsource(value: OtpSource): DeleteAccountOtpValidationRequest;
1371
+
1369
1372
  serializeBinary(): Uint8Array;
1370
1373
  toObject(includeInstance?: boolean): DeleteAccountOtpValidationRequest.AsObject;
1371
1374
  static toObject(includeInstance: boolean, msg: DeleteAccountOtpValidationRequest): DeleteAccountOtpValidationRequest.AsObject;
@@ -1389,6 +1392,7 @@ export namespace DeleteAccountOtpValidationRequest {
1389
1392
  browserplatform: string,
1390
1393
  browserdevicemodel: string,
1391
1394
  verificationcode: string,
1395
+ otpsource: OtpSource,
1392
1396
  }
1393
1397
  }
1394
1398
 
@@ -4838,6 +4842,9 @@ export class UpdateEmailOtpValidationRequest extends jspb.Message {
4838
4842
  hasAppaccounttype(): boolean;
4839
4843
  clearAppaccounttype(): UpdateEmailOtpValidationRequest;
4840
4844
 
4845
+ getOtpsource(): OtpSource;
4846
+ setOtpsource(value: OtpSource): UpdateEmailOtpValidationRequest;
4847
+
4841
4848
  serializeBinary(): Uint8Array;
4842
4849
  toObject(includeInstance?: boolean): UpdateEmailOtpValidationRequest.AsObject;
4843
4850
  static toObject(includeInstance: boolean, msg: UpdateEmailOtpValidationRequest): UpdateEmailOtpValidationRequest.AsObject;
@@ -4851,6 +4858,7 @@ export namespace UpdateEmailOtpValidationRequest {
4851
4858
  email: string,
4852
4859
  verificationcode: string,
4853
4860
  appaccounttype?: AppAccountType,
4861
+ otpsource: OtpSource,
4854
4862
  }
4855
4863
 
4856
4864
  export enum AppaccounttypeCase {
@@ -5045,6 +5053,9 @@ export class UpdatePhoneOtpValidationRequest extends jspb.Message {
5045
5053
  getPhoneverificationcode(): string;
5046
5054
  setPhoneverificationcode(value: string): UpdatePhoneOtpValidationRequest;
5047
5055
 
5056
+ getOtpsource(): OtpSource;
5057
+ setOtpsource(value: OtpSource): UpdatePhoneOtpValidationRequest;
5058
+
5048
5059
  serializeBinary(): Uint8Array;
5049
5060
  toObject(includeInstance?: boolean): UpdatePhoneOtpValidationRequest.AsObject;
5050
5061
  static toObject(includeInstance: boolean, msg: UpdatePhoneOtpValidationRequest): UpdatePhoneOtpValidationRequest.AsObject;
@@ -5060,6 +5071,7 @@ export namespace UpdatePhoneOtpValidationRequest {
5060
5071
  emailverificationcode: string,
5061
5072
  appaccounttype: AppAccountType,
5062
5073
  phoneverificationcode: string,
5074
+ otpsource: OtpSource,
5063
5075
  }
5064
5076
  }
5065
5077
 
@@ -6439,10 +6451,11 @@ export enum MfaSecretStatus {
6439
6451
  VERIFIED = 2,
6440
6452
  }
6441
6453
  export enum OtpSource {
6442
- AUTHENTICATOR = 0,
6443
- RECOVERY_CODE = 1,
6444
- EMAIL = 2,
6445
- SMS = 3,
6454
+ UNSPECIFIED_SOURCE = 0,
6455
+ AUTHENTICATOR = 1,
6456
+ RECOVERY_CODE = 2,
6457
+ EMAIL = 3,
6458
+ SMS = 4,
6446
6459
  }
6447
6460
  export enum AppAccountType {
6448
6461
  ACCOUNT_TYPE_UNSPECIFIED = 0,
@@ -14706,7 +14706,8 @@ proto.sniipuserservice.DeleteAccountOtpValidationRequest.toObject = function(inc
14706
14706
  browserversion: jspb.Message.getFieldWithDefault(msg, 10, ""),
14707
14707
  browserplatform: jspb.Message.getFieldWithDefault(msg, 11, ""),
14708
14708
  browserdevicemodel: jspb.Message.getFieldWithDefault(msg, 12, ""),
14709
- verificationcode: jspb.Message.getFieldWithDefault(msg, 13, "")
14709
+ verificationcode: jspb.Message.getFieldWithDefault(msg, 13, ""),
14710
+ otpsource: jspb.Message.getFieldWithDefault(msg, 14, 0)
14710
14711
  };
14711
14712
 
14712
14713
  if (includeInstance) {
@@ -14795,6 +14796,10 @@ proto.sniipuserservice.DeleteAccountOtpValidationRequest.deserializeBinaryFromRe
14795
14796
  var value = /** @type {string} */ (reader.readString());
14796
14797
  msg.setVerificationcode(value);
14797
14798
  break;
14799
+ case 14:
14800
+ var value = /** @type {!proto.sniipuserservice.OtpSource} */ (reader.readEnum());
14801
+ msg.setOtpsource(value);
14802
+ break;
14798
14803
  default:
14799
14804
  reader.skipField();
14800
14805
  break;
@@ -14915,6 +14920,13 @@ proto.sniipuserservice.DeleteAccountOtpValidationRequest.serializeBinaryToWriter
14915
14920
  f
14916
14921
  );
14917
14922
  }
14923
+ f = message.getOtpsource();
14924
+ if (f !== 0.0) {
14925
+ writer.writeEnum(
14926
+ 14,
14927
+ f
14928
+ );
14929
+ }
14918
14930
  };
14919
14931
 
14920
14932
 
@@ -15152,6 +15164,24 @@ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setVerificati
15152
15164
  };
15153
15165
 
15154
15166
 
15167
+ /**
15168
+ * optional OtpSource otpSource = 14;
15169
+ * @return {!proto.sniipuserservice.OtpSource}
15170
+ */
15171
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.getOtpsource = function() {
15172
+ return /** @type {!proto.sniipuserservice.OtpSource} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
15173
+ };
15174
+
15175
+
15176
+ /**
15177
+ * @param {!proto.sniipuserservice.OtpSource} value
15178
+ * @return {!proto.sniipuserservice.DeleteAccountOtpValidationRequest} returns this
15179
+ */
15180
+ proto.sniipuserservice.DeleteAccountOtpValidationRequest.prototype.setOtpsource = function(value) {
15181
+ return jspb.Message.setProto3EnumField(this, 14, value);
15182
+ };
15183
+
15184
+
15155
15185
 
15156
15186
 
15157
15187
 
@@ -40601,7 +40631,8 @@ proto.sniipuserservice.UpdateEmailOtpValidationRequest.toObject = function(inclu
40601
40631
  var f, obj = {
40602
40632
  email: jspb.Message.getFieldWithDefault(msg, 1, ""),
40603
40633
  verificationcode: jspb.Message.getFieldWithDefault(msg, 2, ""),
40604
- appaccounttype: jspb.Message.getFieldWithDefault(msg, 3, 0)
40634
+ appaccounttype: jspb.Message.getFieldWithDefault(msg, 3, 0),
40635
+ otpsource: jspb.Message.getFieldWithDefault(msg, 4, 0)
40605
40636
  };
40606
40637
 
40607
40638
  if (includeInstance) {
@@ -40650,6 +40681,10 @@ proto.sniipuserservice.UpdateEmailOtpValidationRequest.deserializeBinaryFromRead
40650
40681
  var value = /** @type {!proto.sniipuserservice.AppAccountType} */ (reader.readEnum());
40651
40682
  msg.setAppaccounttype(value);
40652
40683
  break;
40684
+ case 4:
40685
+ var value = /** @type {!proto.sniipuserservice.OtpSource} */ (reader.readEnum());
40686
+ msg.setOtpsource(value);
40687
+ break;
40653
40688
  default:
40654
40689
  reader.skipField();
40655
40690
  break;
@@ -40700,6 +40735,13 @@ proto.sniipuserservice.UpdateEmailOtpValidationRequest.serializeBinaryToWriter =
40700
40735
  f
40701
40736
  );
40702
40737
  }
40738
+ f = message.getOtpsource();
40739
+ if (f !== 0.0) {
40740
+ writer.writeEnum(
40741
+ 4,
40742
+ f
40743
+ );
40744
+ }
40703
40745
  };
40704
40746
 
40705
40747
 
@@ -40775,6 +40817,24 @@ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.hasAppaccountty
40775
40817
  };
40776
40818
 
40777
40819
 
40820
+ /**
40821
+ * optional OtpSource otpSource = 4;
40822
+ * @return {!proto.sniipuserservice.OtpSource}
40823
+ */
40824
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.getOtpsource = function() {
40825
+ return /** @type {!proto.sniipuserservice.OtpSource} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
40826
+ };
40827
+
40828
+
40829
+ /**
40830
+ * @param {!proto.sniipuserservice.OtpSource} value
40831
+ * @return {!proto.sniipuserservice.UpdateEmailOtpValidationRequest} returns this
40832
+ */
40833
+ proto.sniipuserservice.UpdateEmailOtpValidationRequest.prototype.setOtpsource = function(value) {
40834
+ return jspb.Message.setProto3EnumField(this, 4, value);
40835
+ };
40836
+
40837
+
40778
40838
 
40779
40839
 
40780
40840
 
@@ -42083,7 +42143,8 @@ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.toObject = function(inclu
42083
42143
  regioncode: jspb.Message.getFieldWithDefault(msg, 2, ""),
42084
42144
  emailverificationcode: jspb.Message.getFieldWithDefault(msg, 3, ""),
42085
42145
  appaccounttype: jspb.Message.getFieldWithDefault(msg, 4, 0),
42086
- phoneverificationcode: jspb.Message.getFieldWithDefault(msg, 5, "")
42146
+ phoneverificationcode: jspb.Message.getFieldWithDefault(msg, 5, ""),
42147
+ otpsource: jspb.Message.getFieldWithDefault(msg, 6, 0)
42087
42148
  };
42088
42149
 
42089
42150
  if (includeInstance) {
@@ -42140,6 +42201,10 @@ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.deserializeBinaryFromRead
42140
42201
  var value = /** @type {string} */ (reader.readString());
42141
42202
  msg.setPhoneverificationcode(value);
42142
42203
  break;
42204
+ case 6:
42205
+ var value = /** @type {!proto.sniipuserservice.OtpSource} */ (reader.readEnum());
42206
+ msg.setOtpsource(value);
42207
+ break;
42143
42208
  default:
42144
42209
  reader.skipField();
42145
42210
  break;
@@ -42204,6 +42269,13 @@ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.serializeBinaryToWriter =
42204
42269
  f
42205
42270
  );
42206
42271
  }
42272
+ f = message.getOtpsource();
42273
+ if (f !== 0.0) {
42274
+ writer.writeEnum(
42275
+ 6,
42276
+ f
42277
+ );
42278
+ }
42207
42279
  };
42208
42280
 
42209
42281
 
@@ -42297,6 +42369,24 @@ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.setPhoneverific
42297
42369
  };
42298
42370
 
42299
42371
 
42372
+ /**
42373
+ * optional OtpSource otpSource = 6;
42374
+ * @return {!proto.sniipuserservice.OtpSource}
42375
+ */
42376
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.getOtpsource = function() {
42377
+ return /** @type {!proto.sniipuserservice.OtpSource} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
42378
+ };
42379
+
42380
+
42381
+ /**
42382
+ * @param {!proto.sniipuserservice.OtpSource} value
42383
+ * @return {!proto.sniipuserservice.UpdatePhoneOtpValidationRequest} returns this
42384
+ */
42385
+ proto.sniipuserservice.UpdatePhoneOtpValidationRequest.prototype.setOtpsource = function(value) {
42386
+ return jspb.Message.setProto3EnumField(this, 6, value);
42387
+ };
42388
+
42389
+
42300
42390
 
42301
42391
 
42302
42392
 
@@ -52374,10 +52464,11 @@ proto.sniipuserservice.MfaSecretStatus = {
52374
52464
  * @enum {number}
52375
52465
  */
52376
52466
  proto.sniipuserservice.OtpSource = {
52377
- AUTHENTICATOR: 0,
52378
- RECOVERY_CODE: 1,
52379
- EMAIL: 2,
52380
- SMS: 3
52467
+ UNSPECIFIED_SOURCE: 0,
52468
+ AUTHENTICATOR: 1,
52469
+ RECOVERY_CODE: 2,
52470
+ EMAIL: 3,
52471
+ SMS: 4
52381
52472
  };
52382
52473
 
52383
52474
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb-ts",
3
- "version": "25.10.13629",
3
+ "version": "25.10.13651",
4
4
  "description": "user-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",