@sniipwebmaster/user-service-client-grpcweb 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.
- package/dependancies/service_pb.js +98 -7
- package/package.json +1 -1
|
@@ -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
|
-
|
|
52378
|
-
|
|
52379
|
-
|
|
52380
|
-
|
|
52467
|
+
UNSPECIFIED_SOURCE: 0,
|
|
52468
|
+
AUTHENTICATOR: 1,
|
|
52469
|
+
RECOVERY_CODE: 2,
|
|
52470
|
+
EMAIL: 3,
|
|
52471
|
+
SMS: 4
|
|
52381
52472
|
};
|
|
52382
52473
|
|
|
52383
52474
|
/**
|