@sniipwebmaster/user-service-client-grpcweb 25.10.13475 → 25.10.13497
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_grpc_web_pb.js +183 -0
- package/dependancies/service_pb.js +1102 -0
- package/package.json +1 -1
|
@@ -8679,5 +8679,188 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.sendAuthor
|
|
|
8679
8679
|
};
|
|
8680
8680
|
|
|
8681
8681
|
|
|
8682
|
+
/**
|
|
8683
|
+
* @const
|
|
8684
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8685
|
+
* !proto.google.protobuf.Empty,
|
|
8686
|
+
* !proto.sniipuserservice.SetupMfaSecretResponse>}
|
|
8687
|
+
*/
|
|
8688
|
+
const methodDescriptor_SniipUserServiceService_SetupMfaSecret = new grpc.web.MethodDescriptor(
|
|
8689
|
+
'/sniipuserservice.SniipUserServiceService/SetupMfaSecret',
|
|
8690
|
+
grpc.web.MethodType.UNARY,
|
|
8691
|
+
google_protobuf_empty_pb.Empty,
|
|
8692
|
+
proto.sniipuserservice.SetupMfaSecretResponse,
|
|
8693
|
+
/**
|
|
8694
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
8695
|
+
* @return {!Uint8Array}
|
|
8696
|
+
*/
|
|
8697
|
+
function(request) {
|
|
8698
|
+
return request.serializeBinary();
|
|
8699
|
+
},
|
|
8700
|
+
proto.sniipuserservice.SetupMfaSecretResponse.deserializeBinary
|
|
8701
|
+
);
|
|
8702
|
+
|
|
8703
|
+
|
|
8704
|
+
/**
|
|
8705
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
8706
|
+
* request proto
|
|
8707
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8708
|
+
* call metadata
|
|
8709
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.SetupMfaSecretResponse)}
|
|
8710
|
+
* callback The callback function(error, response)
|
|
8711
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.SetupMfaSecretResponse>|undefined}
|
|
8712
|
+
* The XHR Node Readable Stream
|
|
8713
|
+
*/
|
|
8714
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.setupMfaSecret =
|
|
8715
|
+
function(request, metadata, callback) {
|
|
8716
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8717
|
+
'/sniipuserservice.SniipUserServiceService/SetupMfaSecret',
|
|
8718
|
+
request,
|
|
8719
|
+
metadata || {},
|
|
8720
|
+
methodDescriptor_SniipUserServiceService_SetupMfaSecret,
|
|
8721
|
+
callback);
|
|
8722
|
+
};
|
|
8723
|
+
|
|
8724
|
+
|
|
8725
|
+
/**
|
|
8726
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
8727
|
+
* request proto
|
|
8728
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8729
|
+
* call metadata
|
|
8730
|
+
* @return {!Promise<!proto.sniipuserservice.SetupMfaSecretResponse>}
|
|
8731
|
+
* Promise that resolves to the response
|
|
8732
|
+
*/
|
|
8733
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.setupMfaSecret =
|
|
8734
|
+
function(request, metadata) {
|
|
8735
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8736
|
+
'/sniipuserservice.SniipUserServiceService/SetupMfaSecret',
|
|
8737
|
+
request,
|
|
8738
|
+
metadata || {},
|
|
8739
|
+
methodDescriptor_SniipUserServiceService_SetupMfaSecret);
|
|
8740
|
+
};
|
|
8741
|
+
|
|
8742
|
+
|
|
8743
|
+
/**
|
|
8744
|
+
* @const
|
|
8745
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8746
|
+
* !proto.sniipuserservice.VerifyMfaSecretRequest,
|
|
8747
|
+
* !proto.sniipuserservice.VerifyMfaSecretResponse>}
|
|
8748
|
+
*/
|
|
8749
|
+
const methodDescriptor_SniipUserServiceService_VerifyMfaSecret = new grpc.web.MethodDescriptor(
|
|
8750
|
+
'/sniipuserservice.SniipUserServiceService/VerifyMfaSecret',
|
|
8751
|
+
grpc.web.MethodType.UNARY,
|
|
8752
|
+
proto.sniipuserservice.VerifyMfaSecretRequest,
|
|
8753
|
+
proto.sniipuserservice.VerifyMfaSecretResponse,
|
|
8754
|
+
/**
|
|
8755
|
+
* @param {!proto.sniipuserservice.VerifyMfaSecretRequest} request
|
|
8756
|
+
* @return {!Uint8Array}
|
|
8757
|
+
*/
|
|
8758
|
+
function(request) {
|
|
8759
|
+
return request.serializeBinary();
|
|
8760
|
+
},
|
|
8761
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.deserializeBinary
|
|
8762
|
+
);
|
|
8763
|
+
|
|
8764
|
+
|
|
8765
|
+
/**
|
|
8766
|
+
* @param {!proto.sniipuserservice.VerifyMfaSecretRequest} request The
|
|
8767
|
+
* request proto
|
|
8768
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8769
|
+
* call metadata
|
|
8770
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.VerifyMfaSecretResponse)}
|
|
8771
|
+
* callback The callback function(error, response)
|
|
8772
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.VerifyMfaSecretResponse>|undefined}
|
|
8773
|
+
* The XHR Node Readable Stream
|
|
8774
|
+
*/
|
|
8775
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.verifyMfaSecret =
|
|
8776
|
+
function(request, metadata, callback) {
|
|
8777
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8778
|
+
'/sniipuserservice.SniipUserServiceService/VerifyMfaSecret',
|
|
8779
|
+
request,
|
|
8780
|
+
metadata || {},
|
|
8781
|
+
methodDescriptor_SniipUserServiceService_VerifyMfaSecret,
|
|
8782
|
+
callback);
|
|
8783
|
+
};
|
|
8784
|
+
|
|
8785
|
+
|
|
8786
|
+
/**
|
|
8787
|
+
* @param {!proto.sniipuserservice.VerifyMfaSecretRequest} request The
|
|
8788
|
+
* request proto
|
|
8789
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8790
|
+
* call metadata
|
|
8791
|
+
* @return {!Promise<!proto.sniipuserservice.VerifyMfaSecretResponse>}
|
|
8792
|
+
* Promise that resolves to the response
|
|
8793
|
+
*/
|
|
8794
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.verifyMfaSecret =
|
|
8795
|
+
function(request, metadata) {
|
|
8796
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8797
|
+
'/sniipuserservice.SniipUserServiceService/VerifyMfaSecret',
|
|
8798
|
+
request,
|
|
8799
|
+
metadata || {},
|
|
8800
|
+
methodDescriptor_SniipUserServiceService_VerifyMfaSecret);
|
|
8801
|
+
};
|
|
8802
|
+
|
|
8803
|
+
|
|
8804
|
+
/**
|
|
8805
|
+
* @const
|
|
8806
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8807
|
+
* !proto.google.protobuf.Empty,
|
|
8808
|
+
* !proto.sniipuserservice.GetMfaSecretStatusResponse>}
|
|
8809
|
+
*/
|
|
8810
|
+
const methodDescriptor_SniipUserServiceService_GetMfaSecretStatus = new grpc.web.MethodDescriptor(
|
|
8811
|
+
'/sniipuserservice.SniipUserServiceService/GetMfaSecretStatus',
|
|
8812
|
+
grpc.web.MethodType.UNARY,
|
|
8813
|
+
google_protobuf_empty_pb.Empty,
|
|
8814
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse,
|
|
8815
|
+
/**
|
|
8816
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
8817
|
+
* @return {!Uint8Array}
|
|
8818
|
+
*/
|
|
8819
|
+
function(request) {
|
|
8820
|
+
return request.serializeBinary();
|
|
8821
|
+
},
|
|
8822
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.deserializeBinary
|
|
8823
|
+
);
|
|
8824
|
+
|
|
8825
|
+
|
|
8826
|
+
/**
|
|
8827
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
8828
|
+
* request proto
|
|
8829
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8830
|
+
* call metadata
|
|
8831
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.GetMfaSecretStatusResponse)}
|
|
8832
|
+
* callback The callback function(error, response)
|
|
8833
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.GetMfaSecretStatusResponse>|undefined}
|
|
8834
|
+
* The XHR Node Readable Stream
|
|
8835
|
+
*/
|
|
8836
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getMfaSecretStatus =
|
|
8837
|
+
function(request, metadata, callback) {
|
|
8838
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8839
|
+
'/sniipuserservice.SniipUserServiceService/GetMfaSecretStatus',
|
|
8840
|
+
request,
|
|
8841
|
+
metadata || {},
|
|
8842
|
+
methodDescriptor_SniipUserServiceService_GetMfaSecretStatus,
|
|
8843
|
+
callback);
|
|
8844
|
+
};
|
|
8845
|
+
|
|
8846
|
+
|
|
8847
|
+
/**
|
|
8848
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
8849
|
+
* request proto
|
|
8850
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8851
|
+
* call metadata
|
|
8852
|
+
* @return {!Promise<!proto.sniipuserservice.GetMfaSecretStatusResponse>}
|
|
8853
|
+
* Promise that resolves to the response
|
|
8854
|
+
*/
|
|
8855
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getMfaSecretStatus =
|
|
8856
|
+
function(request, metadata) {
|
|
8857
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8858
|
+
'/sniipuserservice.SniipUserServiceService/GetMfaSecretStatus',
|
|
8859
|
+
request,
|
|
8860
|
+
metadata || {},
|
|
8861
|
+
methodDescriptor_SniipUserServiceService_GetMfaSecretStatus);
|
|
8862
|
+
};
|
|
8863
|
+
|
|
8864
|
+
|
|
8682
8865
|
module.exports = proto.sniipuserservice;
|
|
8683
8866
|
|
|
@@ -83,6 +83,7 @@ goog.exportSymbol('proto.sniipuserservice.GetInternalProfilesRequest', null, glo
|
|
|
83
83
|
goog.exportSymbol('proto.sniipuserservice.GetKycUsersRequest', null, global);
|
|
84
84
|
goog.exportSymbol('proto.sniipuserservice.GetKycUsersRequest.GetKycUsersRequestRequested', null, global);
|
|
85
85
|
goog.exportSymbol('proto.sniipuserservice.GetKycUsersResponse', null, global);
|
|
86
|
+
goog.exportSymbol('proto.sniipuserservice.GetMfaSecretStatusResponse', null, global);
|
|
86
87
|
goog.exportSymbol('proto.sniipuserservice.GetNotificationTokenForTestRequest', null, global);
|
|
87
88
|
goog.exportSymbol('proto.sniipuserservice.GetNotificationTokensRequest', null, global);
|
|
88
89
|
goog.exportSymbol('proto.sniipuserservice.GetPermissionRolesRequest', null, global);
|
|
@@ -123,6 +124,7 @@ goog.exportSymbol('proto.sniipuserservice.LoginWebMobileRequest', null, global);
|
|
|
123
124
|
goog.exportSymbol('proto.sniipuserservice.MarkAsBusinessReq', null, global);
|
|
124
125
|
goog.exportSymbol('proto.sniipuserservice.MarkOnboardingScreensAsViewedRequest', null, global);
|
|
125
126
|
goog.exportSymbol('proto.sniipuserservice.MarkUserAsBusinessRequest', null, global);
|
|
127
|
+
goog.exportSymbol('proto.sniipuserservice.MfaSecretStatus', null, global);
|
|
126
128
|
goog.exportSymbol('proto.sniipuserservice.MigrateAccountRequest', null, global);
|
|
127
129
|
goog.exportSymbol('proto.sniipuserservice.NotificationTokenResponse', null, global);
|
|
128
130
|
goog.exportSymbol('proto.sniipuserservice.NotificationTokensResponse', null, global);
|
|
@@ -174,6 +176,7 @@ goog.exportSymbol('proto.sniipuserservice.SendSmsCustomerRequest', null, global)
|
|
|
174
176
|
goog.exportSymbol('proto.sniipuserservice.SetPasswordEmailRequest', null, global);
|
|
175
177
|
goog.exportSymbol('proto.sniipuserservice.SetPasswordMobileRequest', null, global);
|
|
176
178
|
goog.exportSymbol('proto.sniipuserservice.SetPinRequest', null, global);
|
|
179
|
+
goog.exportSymbol('proto.sniipuserservice.SetupMfaSecretResponse', null, global);
|
|
177
180
|
goog.exportSymbol('proto.sniipuserservice.SimpleSearchRequest', null, global);
|
|
178
181
|
goog.exportSymbol('proto.sniipuserservice.SocialLoginRequest', null, global);
|
|
179
182
|
goog.exportSymbol('proto.sniipuserservice.SocialLoginWebRequest', null, global);
|
|
@@ -186,6 +189,7 @@ goog.exportSymbol('proto.sniipuserservice.TestUserAccountPreparationV2Response',
|
|
|
186
189
|
goog.exportSymbol('proto.sniipuserservice.TestUserAccountResponse', null, global);
|
|
187
190
|
goog.exportSymbol('proto.sniipuserservice.TestUserAccountV2Response', null, global);
|
|
188
191
|
goog.exportSymbol('proto.sniipuserservice.UnassignPermissionRolesRequest', null, global);
|
|
192
|
+
goog.exportSymbol('proto.sniipuserservice.UnverifiedMfaSecretDetails', null, global);
|
|
189
193
|
goog.exportSymbol('proto.sniipuserservice.UpdateAbnRequest', null, global);
|
|
190
194
|
goog.exportSymbol('proto.sniipuserservice.UpdateDobAppRequest', null, global);
|
|
191
195
|
goog.exportSymbol('proto.sniipuserservice.UpdateDobRequest', null, global);
|
|
@@ -229,6 +233,8 @@ goog.exportSymbol('proto.sniipuserservice.VerificationCodeRequest', null, global
|
|
|
229
233
|
goog.exportSymbol('proto.sniipuserservice.VerificationScope', null, global);
|
|
230
234
|
goog.exportSymbol('proto.sniipuserservice.VerifyEmailAddressRequest', null, global);
|
|
231
235
|
goog.exportSymbol('proto.sniipuserservice.VerifyEmailRequest', null, global);
|
|
236
|
+
goog.exportSymbol('proto.sniipuserservice.VerifyMfaSecretRequest', null, global);
|
|
237
|
+
goog.exportSymbol('proto.sniipuserservice.VerifyMfaSecretResponse', null, global);
|
|
232
238
|
goog.exportSymbol('proto.sniipuserservice.VerifyPhoneRequest', null, global);
|
|
233
239
|
goog.exportSymbol('proto.sniipuserservice.WexAccountExistsRequest', null, global);
|
|
234
240
|
goog.exportSymbol('proto.sniipuserservice.WexAccountExistsResponse', null, global);
|
|
@@ -4558,6 +4564,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4558
4564
|
*/
|
|
4559
4565
|
proto.sniipuserservice.SendAuthorisedOtpRequest.displayName = 'proto.sniipuserservice.SendAuthorisedOtpRequest';
|
|
4560
4566
|
}
|
|
4567
|
+
/**
|
|
4568
|
+
* Generated by JsPbCodeGenerator.
|
|
4569
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4570
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4571
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4572
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4573
|
+
* valid.
|
|
4574
|
+
* @extends {jspb.Message}
|
|
4575
|
+
* @constructor
|
|
4576
|
+
*/
|
|
4577
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails = function(opt_data) {
|
|
4578
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4579
|
+
};
|
|
4580
|
+
goog.inherits(proto.sniipuserservice.UnverifiedMfaSecretDetails, jspb.Message);
|
|
4581
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4582
|
+
/**
|
|
4583
|
+
* @public
|
|
4584
|
+
* @override
|
|
4585
|
+
*/
|
|
4586
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.displayName = 'proto.sniipuserservice.UnverifiedMfaSecretDetails';
|
|
4587
|
+
}
|
|
4588
|
+
/**
|
|
4589
|
+
* Generated by JsPbCodeGenerator.
|
|
4590
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4591
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4592
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4593
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4594
|
+
* valid.
|
|
4595
|
+
* @extends {jspb.Message}
|
|
4596
|
+
* @constructor
|
|
4597
|
+
*/
|
|
4598
|
+
proto.sniipuserservice.SetupMfaSecretResponse = function(opt_data) {
|
|
4599
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4600
|
+
};
|
|
4601
|
+
goog.inherits(proto.sniipuserservice.SetupMfaSecretResponse, jspb.Message);
|
|
4602
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4603
|
+
/**
|
|
4604
|
+
* @public
|
|
4605
|
+
* @override
|
|
4606
|
+
*/
|
|
4607
|
+
proto.sniipuserservice.SetupMfaSecretResponse.displayName = 'proto.sniipuserservice.SetupMfaSecretResponse';
|
|
4608
|
+
}
|
|
4609
|
+
/**
|
|
4610
|
+
* Generated by JsPbCodeGenerator.
|
|
4611
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4612
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4613
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4614
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4615
|
+
* valid.
|
|
4616
|
+
* @extends {jspb.Message}
|
|
4617
|
+
* @constructor
|
|
4618
|
+
*/
|
|
4619
|
+
proto.sniipuserservice.VerifyMfaSecretRequest = function(opt_data) {
|
|
4620
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4621
|
+
};
|
|
4622
|
+
goog.inherits(proto.sniipuserservice.VerifyMfaSecretRequest, jspb.Message);
|
|
4623
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4624
|
+
/**
|
|
4625
|
+
* @public
|
|
4626
|
+
* @override
|
|
4627
|
+
*/
|
|
4628
|
+
proto.sniipuserservice.VerifyMfaSecretRequest.displayName = 'proto.sniipuserservice.VerifyMfaSecretRequest';
|
|
4629
|
+
}
|
|
4630
|
+
/**
|
|
4631
|
+
* Generated by JsPbCodeGenerator.
|
|
4632
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4633
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4634
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4635
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4636
|
+
* valid.
|
|
4637
|
+
* @extends {jspb.Message}
|
|
4638
|
+
* @constructor
|
|
4639
|
+
*/
|
|
4640
|
+
proto.sniipuserservice.VerifyMfaSecretResponse = function(opt_data) {
|
|
4641
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipuserservice.VerifyMfaSecretResponse.repeatedFields_, null);
|
|
4642
|
+
};
|
|
4643
|
+
goog.inherits(proto.sniipuserservice.VerifyMfaSecretResponse, jspb.Message);
|
|
4644
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4645
|
+
/**
|
|
4646
|
+
* @public
|
|
4647
|
+
* @override
|
|
4648
|
+
*/
|
|
4649
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.displayName = 'proto.sniipuserservice.VerifyMfaSecretResponse';
|
|
4650
|
+
}
|
|
4651
|
+
/**
|
|
4652
|
+
* Generated by JsPbCodeGenerator.
|
|
4653
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4654
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4655
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4656
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4657
|
+
* valid.
|
|
4658
|
+
* @extends {jspb.Message}
|
|
4659
|
+
* @constructor
|
|
4660
|
+
*/
|
|
4661
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse = function(opt_data) {
|
|
4662
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4663
|
+
};
|
|
4664
|
+
goog.inherits(proto.sniipuserservice.GetMfaSecretStatusResponse, jspb.Message);
|
|
4665
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4666
|
+
/**
|
|
4667
|
+
* @public
|
|
4668
|
+
* @override
|
|
4669
|
+
*/
|
|
4670
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.displayName = 'proto.sniipuserservice.GetMfaSecretStatusResponse';
|
|
4671
|
+
}
|
|
4561
4672
|
|
|
4562
4673
|
|
|
4563
4674
|
|
|
@@ -50494,6 +50605,988 @@ proto.sniipuserservice.SendAuthorisedOtpRequest.prototype.setVerificationscope =
|
|
|
50494
50605
|
};
|
|
50495
50606
|
|
|
50496
50607
|
|
|
50608
|
+
|
|
50609
|
+
|
|
50610
|
+
|
|
50611
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50612
|
+
/**
|
|
50613
|
+
* Creates an object representation of this proto.
|
|
50614
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
50615
|
+
* Optional fields that are not set will be set to undefined.
|
|
50616
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
50617
|
+
* For the list of reserved names please see:
|
|
50618
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
50619
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
50620
|
+
* JSPB instance for transitional soy proto support:
|
|
50621
|
+
* http://goto/soy-param-migration
|
|
50622
|
+
* @return {!Object}
|
|
50623
|
+
*/
|
|
50624
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.prototype.toObject = function(opt_includeInstance) {
|
|
50625
|
+
return proto.sniipuserservice.UnverifiedMfaSecretDetails.toObject(opt_includeInstance, this);
|
|
50626
|
+
};
|
|
50627
|
+
|
|
50628
|
+
|
|
50629
|
+
/**
|
|
50630
|
+
* Static version of the {@see toObject} method.
|
|
50631
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
50632
|
+
* the JSPB instance for transitional soy proto support:
|
|
50633
|
+
* http://goto/soy-param-migration
|
|
50634
|
+
* @param {!proto.sniipuserservice.UnverifiedMfaSecretDetails} msg The msg instance to transform.
|
|
50635
|
+
* @return {!Object}
|
|
50636
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50637
|
+
*/
|
|
50638
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.toObject = function(includeInstance, msg) {
|
|
50639
|
+
var f, obj = {
|
|
50640
|
+
setupkey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
50641
|
+
contenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
50642
|
+
qrcode: (f = msg.getQrcode()) && proto.sniipuserservice.File.toObject(includeInstance, f)
|
|
50643
|
+
};
|
|
50644
|
+
|
|
50645
|
+
if (includeInstance) {
|
|
50646
|
+
obj.$jspbMessageInstance = msg;
|
|
50647
|
+
}
|
|
50648
|
+
return obj;
|
|
50649
|
+
};
|
|
50650
|
+
}
|
|
50651
|
+
|
|
50652
|
+
|
|
50653
|
+
/**
|
|
50654
|
+
* Deserializes binary data (in protobuf wire format).
|
|
50655
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
50656
|
+
* @return {!proto.sniipuserservice.UnverifiedMfaSecretDetails}
|
|
50657
|
+
*/
|
|
50658
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.deserializeBinary = function(bytes) {
|
|
50659
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
50660
|
+
var msg = new proto.sniipuserservice.UnverifiedMfaSecretDetails;
|
|
50661
|
+
return proto.sniipuserservice.UnverifiedMfaSecretDetails.deserializeBinaryFromReader(msg, reader);
|
|
50662
|
+
};
|
|
50663
|
+
|
|
50664
|
+
|
|
50665
|
+
/**
|
|
50666
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
50667
|
+
* given reader into the given message object.
|
|
50668
|
+
* @param {!proto.sniipuserservice.UnverifiedMfaSecretDetails} msg The message object to deserialize into.
|
|
50669
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
50670
|
+
* @return {!proto.sniipuserservice.UnverifiedMfaSecretDetails}
|
|
50671
|
+
*/
|
|
50672
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.deserializeBinaryFromReader = function(msg, reader) {
|
|
50673
|
+
while (reader.nextField()) {
|
|
50674
|
+
if (reader.isEndGroup()) {
|
|
50675
|
+
break;
|
|
50676
|
+
}
|
|
50677
|
+
var field = reader.getFieldNumber();
|
|
50678
|
+
switch (field) {
|
|
50679
|
+
case 1:
|
|
50680
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50681
|
+
msg.setSetupkey(value);
|
|
50682
|
+
break;
|
|
50683
|
+
case 2:
|
|
50684
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50685
|
+
msg.setContenttype(value);
|
|
50686
|
+
break;
|
|
50687
|
+
case 3:
|
|
50688
|
+
var value = new proto.sniipuserservice.File;
|
|
50689
|
+
reader.readMessage(value,proto.sniipuserservice.File.deserializeBinaryFromReader);
|
|
50690
|
+
msg.setQrcode(value);
|
|
50691
|
+
break;
|
|
50692
|
+
default:
|
|
50693
|
+
reader.skipField();
|
|
50694
|
+
break;
|
|
50695
|
+
}
|
|
50696
|
+
}
|
|
50697
|
+
return msg;
|
|
50698
|
+
};
|
|
50699
|
+
|
|
50700
|
+
|
|
50701
|
+
/**
|
|
50702
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
50703
|
+
* @return {!Uint8Array}
|
|
50704
|
+
*/
|
|
50705
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.prototype.serializeBinary = function() {
|
|
50706
|
+
var writer = new jspb.BinaryWriter();
|
|
50707
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.serializeBinaryToWriter(this, writer);
|
|
50708
|
+
return writer.getResultBuffer();
|
|
50709
|
+
};
|
|
50710
|
+
|
|
50711
|
+
|
|
50712
|
+
/**
|
|
50713
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
50714
|
+
* format), writing to the given BinaryWriter.
|
|
50715
|
+
* @param {!proto.sniipuserservice.UnverifiedMfaSecretDetails} message
|
|
50716
|
+
* @param {!jspb.BinaryWriter} writer
|
|
50717
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50718
|
+
*/
|
|
50719
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.serializeBinaryToWriter = function(message, writer) {
|
|
50720
|
+
var f = undefined;
|
|
50721
|
+
f = message.getSetupkey();
|
|
50722
|
+
if (f.length > 0) {
|
|
50723
|
+
writer.writeString(
|
|
50724
|
+
1,
|
|
50725
|
+
f
|
|
50726
|
+
);
|
|
50727
|
+
}
|
|
50728
|
+
f = message.getContenttype();
|
|
50729
|
+
if (f.length > 0) {
|
|
50730
|
+
writer.writeString(
|
|
50731
|
+
2,
|
|
50732
|
+
f
|
|
50733
|
+
);
|
|
50734
|
+
}
|
|
50735
|
+
f = message.getQrcode();
|
|
50736
|
+
if (f != null) {
|
|
50737
|
+
writer.writeMessage(
|
|
50738
|
+
3,
|
|
50739
|
+
f,
|
|
50740
|
+
proto.sniipuserservice.File.serializeBinaryToWriter
|
|
50741
|
+
);
|
|
50742
|
+
}
|
|
50743
|
+
};
|
|
50744
|
+
|
|
50745
|
+
|
|
50746
|
+
/**
|
|
50747
|
+
* optional string setupKey = 1;
|
|
50748
|
+
* @return {string}
|
|
50749
|
+
*/
|
|
50750
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.prototype.getSetupkey = function() {
|
|
50751
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
50752
|
+
};
|
|
50753
|
+
|
|
50754
|
+
|
|
50755
|
+
/**
|
|
50756
|
+
* @param {string} value
|
|
50757
|
+
* @return {!proto.sniipuserservice.UnverifiedMfaSecretDetails} returns this
|
|
50758
|
+
*/
|
|
50759
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.prototype.setSetupkey = function(value) {
|
|
50760
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
50761
|
+
};
|
|
50762
|
+
|
|
50763
|
+
|
|
50764
|
+
/**
|
|
50765
|
+
* optional string contentType = 2;
|
|
50766
|
+
* @return {string}
|
|
50767
|
+
*/
|
|
50768
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.prototype.getContenttype = function() {
|
|
50769
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
50770
|
+
};
|
|
50771
|
+
|
|
50772
|
+
|
|
50773
|
+
/**
|
|
50774
|
+
* @param {string} value
|
|
50775
|
+
* @return {!proto.sniipuserservice.UnverifiedMfaSecretDetails} returns this
|
|
50776
|
+
*/
|
|
50777
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.prototype.setContenttype = function(value) {
|
|
50778
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
50779
|
+
};
|
|
50780
|
+
|
|
50781
|
+
|
|
50782
|
+
/**
|
|
50783
|
+
* optional File qrCode = 3;
|
|
50784
|
+
* @return {?proto.sniipuserservice.File}
|
|
50785
|
+
*/
|
|
50786
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.prototype.getQrcode = function() {
|
|
50787
|
+
return /** @type{?proto.sniipuserservice.File} */ (
|
|
50788
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.File, 3));
|
|
50789
|
+
};
|
|
50790
|
+
|
|
50791
|
+
|
|
50792
|
+
/**
|
|
50793
|
+
* @param {?proto.sniipuserservice.File|undefined} value
|
|
50794
|
+
* @return {!proto.sniipuserservice.UnverifiedMfaSecretDetails} returns this
|
|
50795
|
+
*/
|
|
50796
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.prototype.setQrcode = function(value) {
|
|
50797
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
50798
|
+
};
|
|
50799
|
+
|
|
50800
|
+
|
|
50801
|
+
/**
|
|
50802
|
+
* Clears the message field making it undefined.
|
|
50803
|
+
* @return {!proto.sniipuserservice.UnverifiedMfaSecretDetails} returns this
|
|
50804
|
+
*/
|
|
50805
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.prototype.clearQrcode = function() {
|
|
50806
|
+
return this.setQrcode(undefined);
|
|
50807
|
+
};
|
|
50808
|
+
|
|
50809
|
+
|
|
50810
|
+
/**
|
|
50811
|
+
* Returns whether this field is set.
|
|
50812
|
+
* @return {boolean}
|
|
50813
|
+
*/
|
|
50814
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.prototype.hasQrcode = function() {
|
|
50815
|
+
return jspb.Message.getField(this, 3) != null;
|
|
50816
|
+
};
|
|
50817
|
+
|
|
50818
|
+
|
|
50819
|
+
|
|
50820
|
+
|
|
50821
|
+
|
|
50822
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50823
|
+
/**
|
|
50824
|
+
* Creates an object representation of this proto.
|
|
50825
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
50826
|
+
* Optional fields that are not set will be set to undefined.
|
|
50827
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
50828
|
+
* For the list of reserved names please see:
|
|
50829
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
50830
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
50831
|
+
* JSPB instance for transitional soy proto support:
|
|
50832
|
+
* http://goto/soy-param-migration
|
|
50833
|
+
* @return {!Object}
|
|
50834
|
+
*/
|
|
50835
|
+
proto.sniipuserservice.SetupMfaSecretResponse.prototype.toObject = function(opt_includeInstance) {
|
|
50836
|
+
return proto.sniipuserservice.SetupMfaSecretResponse.toObject(opt_includeInstance, this);
|
|
50837
|
+
};
|
|
50838
|
+
|
|
50839
|
+
|
|
50840
|
+
/**
|
|
50841
|
+
* Static version of the {@see toObject} method.
|
|
50842
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
50843
|
+
* the JSPB instance for transitional soy proto support:
|
|
50844
|
+
* http://goto/soy-param-migration
|
|
50845
|
+
* @param {!proto.sniipuserservice.SetupMfaSecretResponse} msg The msg instance to transform.
|
|
50846
|
+
* @return {!Object}
|
|
50847
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50848
|
+
*/
|
|
50849
|
+
proto.sniipuserservice.SetupMfaSecretResponse.toObject = function(includeInstance, msg) {
|
|
50850
|
+
var f, obj = {
|
|
50851
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f),
|
|
50852
|
+
unverifiedmfasecretdetails: (f = msg.getUnverifiedmfasecretdetails()) && proto.sniipuserservice.UnverifiedMfaSecretDetails.toObject(includeInstance, f)
|
|
50853
|
+
};
|
|
50854
|
+
|
|
50855
|
+
if (includeInstance) {
|
|
50856
|
+
obj.$jspbMessageInstance = msg;
|
|
50857
|
+
}
|
|
50858
|
+
return obj;
|
|
50859
|
+
};
|
|
50860
|
+
}
|
|
50861
|
+
|
|
50862
|
+
|
|
50863
|
+
/**
|
|
50864
|
+
* Deserializes binary data (in protobuf wire format).
|
|
50865
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
50866
|
+
* @return {!proto.sniipuserservice.SetupMfaSecretResponse}
|
|
50867
|
+
*/
|
|
50868
|
+
proto.sniipuserservice.SetupMfaSecretResponse.deserializeBinary = function(bytes) {
|
|
50869
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
50870
|
+
var msg = new proto.sniipuserservice.SetupMfaSecretResponse;
|
|
50871
|
+
return proto.sniipuserservice.SetupMfaSecretResponse.deserializeBinaryFromReader(msg, reader);
|
|
50872
|
+
};
|
|
50873
|
+
|
|
50874
|
+
|
|
50875
|
+
/**
|
|
50876
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
50877
|
+
* given reader into the given message object.
|
|
50878
|
+
* @param {!proto.sniipuserservice.SetupMfaSecretResponse} msg The message object to deserialize into.
|
|
50879
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
50880
|
+
* @return {!proto.sniipuserservice.SetupMfaSecretResponse}
|
|
50881
|
+
*/
|
|
50882
|
+
proto.sniipuserservice.SetupMfaSecretResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
50883
|
+
while (reader.nextField()) {
|
|
50884
|
+
if (reader.isEndGroup()) {
|
|
50885
|
+
break;
|
|
50886
|
+
}
|
|
50887
|
+
var field = reader.getFieldNumber();
|
|
50888
|
+
switch (field) {
|
|
50889
|
+
case 1:
|
|
50890
|
+
var value = new proto.sniipuserservice.ResponseCode;
|
|
50891
|
+
reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
|
|
50892
|
+
msg.setResponsecode(value);
|
|
50893
|
+
break;
|
|
50894
|
+
case 2:
|
|
50895
|
+
var value = new proto.sniipuserservice.UnverifiedMfaSecretDetails;
|
|
50896
|
+
reader.readMessage(value,proto.sniipuserservice.UnverifiedMfaSecretDetails.deserializeBinaryFromReader);
|
|
50897
|
+
msg.setUnverifiedmfasecretdetails(value);
|
|
50898
|
+
break;
|
|
50899
|
+
default:
|
|
50900
|
+
reader.skipField();
|
|
50901
|
+
break;
|
|
50902
|
+
}
|
|
50903
|
+
}
|
|
50904
|
+
return msg;
|
|
50905
|
+
};
|
|
50906
|
+
|
|
50907
|
+
|
|
50908
|
+
/**
|
|
50909
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
50910
|
+
* @return {!Uint8Array}
|
|
50911
|
+
*/
|
|
50912
|
+
proto.sniipuserservice.SetupMfaSecretResponse.prototype.serializeBinary = function() {
|
|
50913
|
+
var writer = new jspb.BinaryWriter();
|
|
50914
|
+
proto.sniipuserservice.SetupMfaSecretResponse.serializeBinaryToWriter(this, writer);
|
|
50915
|
+
return writer.getResultBuffer();
|
|
50916
|
+
};
|
|
50917
|
+
|
|
50918
|
+
|
|
50919
|
+
/**
|
|
50920
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
50921
|
+
* format), writing to the given BinaryWriter.
|
|
50922
|
+
* @param {!proto.sniipuserservice.SetupMfaSecretResponse} message
|
|
50923
|
+
* @param {!jspb.BinaryWriter} writer
|
|
50924
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50925
|
+
*/
|
|
50926
|
+
proto.sniipuserservice.SetupMfaSecretResponse.serializeBinaryToWriter = function(message, writer) {
|
|
50927
|
+
var f = undefined;
|
|
50928
|
+
f = message.getResponsecode();
|
|
50929
|
+
if (f != null) {
|
|
50930
|
+
writer.writeMessage(
|
|
50931
|
+
1,
|
|
50932
|
+
f,
|
|
50933
|
+
proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
|
|
50934
|
+
);
|
|
50935
|
+
}
|
|
50936
|
+
f = message.getUnverifiedmfasecretdetails();
|
|
50937
|
+
if (f != null) {
|
|
50938
|
+
writer.writeMessage(
|
|
50939
|
+
2,
|
|
50940
|
+
f,
|
|
50941
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.serializeBinaryToWriter
|
|
50942
|
+
);
|
|
50943
|
+
}
|
|
50944
|
+
};
|
|
50945
|
+
|
|
50946
|
+
|
|
50947
|
+
/**
|
|
50948
|
+
* optional ResponseCode responseCode = 1;
|
|
50949
|
+
* @return {?proto.sniipuserservice.ResponseCode}
|
|
50950
|
+
*/
|
|
50951
|
+
proto.sniipuserservice.SetupMfaSecretResponse.prototype.getResponsecode = function() {
|
|
50952
|
+
return /** @type{?proto.sniipuserservice.ResponseCode} */ (
|
|
50953
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 1));
|
|
50954
|
+
};
|
|
50955
|
+
|
|
50956
|
+
|
|
50957
|
+
/**
|
|
50958
|
+
* @param {?proto.sniipuserservice.ResponseCode|undefined} value
|
|
50959
|
+
* @return {!proto.sniipuserservice.SetupMfaSecretResponse} returns this
|
|
50960
|
+
*/
|
|
50961
|
+
proto.sniipuserservice.SetupMfaSecretResponse.prototype.setResponsecode = function(value) {
|
|
50962
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
50963
|
+
};
|
|
50964
|
+
|
|
50965
|
+
|
|
50966
|
+
/**
|
|
50967
|
+
* Clears the message field making it undefined.
|
|
50968
|
+
* @return {!proto.sniipuserservice.SetupMfaSecretResponse} returns this
|
|
50969
|
+
*/
|
|
50970
|
+
proto.sniipuserservice.SetupMfaSecretResponse.prototype.clearResponsecode = function() {
|
|
50971
|
+
return this.setResponsecode(undefined);
|
|
50972
|
+
};
|
|
50973
|
+
|
|
50974
|
+
|
|
50975
|
+
/**
|
|
50976
|
+
* Returns whether this field is set.
|
|
50977
|
+
* @return {boolean}
|
|
50978
|
+
*/
|
|
50979
|
+
proto.sniipuserservice.SetupMfaSecretResponse.prototype.hasResponsecode = function() {
|
|
50980
|
+
return jspb.Message.getField(this, 1) != null;
|
|
50981
|
+
};
|
|
50982
|
+
|
|
50983
|
+
|
|
50984
|
+
/**
|
|
50985
|
+
* optional UnverifiedMfaSecretDetails unverifiedMfaSecretDetails = 2;
|
|
50986
|
+
* @return {?proto.sniipuserservice.UnverifiedMfaSecretDetails}
|
|
50987
|
+
*/
|
|
50988
|
+
proto.sniipuserservice.SetupMfaSecretResponse.prototype.getUnverifiedmfasecretdetails = function() {
|
|
50989
|
+
return /** @type{?proto.sniipuserservice.UnverifiedMfaSecretDetails} */ (
|
|
50990
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.UnverifiedMfaSecretDetails, 2));
|
|
50991
|
+
};
|
|
50992
|
+
|
|
50993
|
+
|
|
50994
|
+
/**
|
|
50995
|
+
* @param {?proto.sniipuserservice.UnverifiedMfaSecretDetails|undefined} value
|
|
50996
|
+
* @return {!proto.sniipuserservice.SetupMfaSecretResponse} returns this
|
|
50997
|
+
*/
|
|
50998
|
+
proto.sniipuserservice.SetupMfaSecretResponse.prototype.setUnverifiedmfasecretdetails = function(value) {
|
|
50999
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
51000
|
+
};
|
|
51001
|
+
|
|
51002
|
+
|
|
51003
|
+
/**
|
|
51004
|
+
* Clears the message field making it undefined.
|
|
51005
|
+
* @return {!proto.sniipuserservice.SetupMfaSecretResponse} returns this
|
|
51006
|
+
*/
|
|
51007
|
+
proto.sniipuserservice.SetupMfaSecretResponse.prototype.clearUnverifiedmfasecretdetails = function() {
|
|
51008
|
+
return this.setUnverifiedmfasecretdetails(undefined);
|
|
51009
|
+
};
|
|
51010
|
+
|
|
51011
|
+
|
|
51012
|
+
/**
|
|
51013
|
+
* Returns whether this field is set.
|
|
51014
|
+
* @return {boolean}
|
|
51015
|
+
*/
|
|
51016
|
+
proto.sniipuserservice.SetupMfaSecretResponse.prototype.hasUnverifiedmfasecretdetails = function() {
|
|
51017
|
+
return jspb.Message.getField(this, 2) != null;
|
|
51018
|
+
};
|
|
51019
|
+
|
|
51020
|
+
|
|
51021
|
+
|
|
51022
|
+
|
|
51023
|
+
|
|
51024
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
51025
|
+
/**
|
|
51026
|
+
* Creates an object representation of this proto.
|
|
51027
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
51028
|
+
* Optional fields that are not set will be set to undefined.
|
|
51029
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
51030
|
+
* For the list of reserved names please see:
|
|
51031
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
51032
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
51033
|
+
* JSPB instance for transitional soy proto support:
|
|
51034
|
+
* http://goto/soy-param-migration
|
|
51035
|
+
* @return {!Object}
|
|
51036
|
+
*/
|
|
51037
|
+
proto.sniipuserservice.VerifyMfaSecretRequest.prototype.toObject = function(opt_includeInstance) {
|
|
51038
|
+
return proto.sniipuserservice.VerifyMfaSecretRequest.toObject(opt_includeInstance, this);
|
|
51039
|
+
};
|
|
51040
|
+
|
|
51041
|
+
|
|
51042
|
+
/**
|
|
51043
|
+
* Static version of the {@see toObject} method.
|
|
51044
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
51045
|
+
* the JSPB instance for transitional soy proto support:
|
|
51046
|
+
* http://goto/soy-param-migration
|
|
51047
|
+
* @param {!proto.sniipuserservice.VerifyMfaSecretRequest} msg The msg instance to transform.
|
|
51048
|
+
* @return {!Object}
|
|
51049
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
51050
|
+
*/
|
|
51051
|
+
proto.sniipuserservice.VerifyMfaSecretRequest.toObject = function(includeInstance, msg) {
|
|
51052
|
+
var f, obj = {
|
|
51053
|
+
otp: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
51054
|
+
};
|
|
51055
|
+
|
|
51056
|
+
if (includeInstance) {
|
|
51057
|
+
obj.$jspbMessageInstance = msg;
|
|
51058
|
+
}
|
|
51059
|
+
return obj;
|
|
51060
|
+
};
|
|
51061
|
+
}
|
|
51062
|
+
|
|
51063
|
+
|
|
51064
|
+
/**
|
|
51065
|
+
* Deserializes binary data (in protobuf wire format).
|
|
51066
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
51067
|
+
* @return {!proto.sniipuserservice.VerifyMfaSecretRequest}
|
|
51068
|
+
*/
|
|
51069
|
+
proto.sniipuserservice.VerifyMfaSecretRequest.deserializeBinary = function(bytes) {
|
|
51070
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
51071
|
+
var msg = new proto.sniipuserservice.VerifyMfaSecretRequest;
|
|
51072
|
+
return proto.sniipuserservice.VerifyMfaSecretRequest.deserializeBinaryFromReader(msg, reader);
|
|
51073
|
+
};
|
|
51074
|
+
|
|
51075
|
+
|
|
51076
|
+
/**
|
|
51077
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
51078
|
+
* given reader into the given message object.
|
|
51079
|
+
* @param {!proto.sniipuserservice.VerifyMfaSecretRequest} msg The message object to deserialize into.
|
|
51080
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
51081
|
+
* @return {!proto.sniipuserservice.VerifyMfaSecretRequest}
|
|
51082
|
+
*/
|
|
51083
|
+
proto.sniipuserservice.VerifyMfaSecretRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
51084
|
+
while (reader.nextField()) {
|
|
51085
|
+
if (reader.isEndGroup()) {
|
|
51086
|
+
break;
|
|
51087
|
+
}
|
|
51088
|
+
var field = reader.getFieldNumber();
|
|
51089
|
+
switch (field) {
|
|
51090
|
+
case 1:
|
|
51091
|
+
var value = /** @type {string} */ (reader.readString());
|
|
51092
|
+
msg.setOtp(value);
|
|
51093
|
+
break;
|
|
51094
|
+
default:
|
|
51095
|
+
reader.skipField();
|
|
51096
|
+
break;
|
|
51097
|
+
}
|
|
51098
|
+
}
|
|
51099
|
+
return msg;
|
|
51100
|
+
};
|
|
51101
|
+
|
|
51102
|
+
|
|
51103
|
+
/**
|
|
51104
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
51105
|
+
* @return {!Uint8Array}
|
|
51106
|
+
*/
|
|
51107
|
+
proto.sniipuserservice.VerifyMfaSecretRequest.prototype.serializeBinary = function() {
|
|
51108
|
+
var writer = new jspb.BinaryWriter();
|
|
51109
|
+
proto.sniipuserservice.VerifyMfaSecretRequest.serializeBinaryToWriter(this, writer);
|
|
51110
|
+
return writer.getResultBuffer();
|
|
51111
|
+
};
|
|
51112
|
+
|
|
51113
|
+
|
|
51114
|
+
/**
|
|
51115
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
51116
|
+
* format), writing to the given BinaryWriter.
|
|
51117
|
+
* @param {!proto.sniipuserservice.VerifyMfaSecretRequest} message
|
|
51118
|
+
* @param {!jspb.BinaryWriter} writer
|
|
51119
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
51120
|
+
*/
|
|
51121
|
+
proto.sniipuserservice.VerifyMfaSecretRequest.serializeBinaryToWriter = function(message, writer) {
|
|
51122
|
+
var f = undefined;
|
|
51123
|
+
f = message.getOtp();
|
|
51124
|
+
if (f.length > 0) {
|
|
51125
|
+
writer.writeString(
|
|
51126
|
+
1,
|
|
51127
|
+
f
|
|
51128
|
+
);
|
|
51129
|
+
}
|
|
51130
|
+
};
|
|
51131
|
+
|
|
51132
|
+
|
|
51133
|
+
/**
|
|
51134
|
+
* optional string otp = 1;
|
|
51135
|
+
* @return {string}
|
|
51136
|
+
*/
|
|
51137
|
+
proto.sniipuserservice.VerifyMfaSecretRequest.prototype.getOtp = function() {
|
|
51138
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
51139
|
+
};
|
|
51140
|
+
|
|
51141
|
+
|
|
51142
|
+
/**
|
|
51143
|
+
* @param {string} value
|
|
51144
|
+
* @return {!proto.sniipuserservice.VerifyMfaSecretRequest} returns this
|
|
51145
|
+
*/
|
|
51146
|
+
proto.sniipuserservice.VerifyMfaSecretRequest.prototype.setOtp = function(value) {
|
|
51147
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
51148
|
+
};
|
|
51149
|
+
|
|
51150
|
+
|
|
51151
|
+
|
|
51152
|
+
/**
|
|
51153
|
+
* List of repeated fields within this message type.
|
|
51154
|
+
* @private {!Array<number>}
|
|
51155
|
+
* @const
|
|
51156
|
+
*/
|
|
51157
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.repeatedFields_ = [2];
|
|
51158
|
+
|
|
51159
|
+
|
|
51160
|
+
|
|
51161
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
51162
|
+
/**
|
|
51163
|
+
* Creates an object representation of this proto.
|
|
51164
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
51165
|
+
* Optional fields that are not set will be set to undefined.
|
|
51166
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
51167
|
+
* For the list of reserved names please see:
|
|
51168
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
51169
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
51170
|
+
* JSPB instance for transitional soy proto support:
|
|
51171
|
+
* http://goto/soy-param-migration
|
|
51172
|
+
* @return {!Object}
|
|
51173
|
+
*/
|
|
51174
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.prototype.toObject = function(opt_includeInstance) {
|
|
51175
|
+
return proto.sniipuserservice.VerifyMfaSecretResponse.toObject(opt_includeInstance, this);
|
|
51176
|
+
};
|
|
51177
|
+
|
|
51178
|
+
|
|
51179
|
+
/**
|
|
51180
|
+
* Static version of the {@see toObject} method.
|
|
51181
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
51182
|
+
* the JSPB instance for transitional soy proto support:
|
|
51183
|
+
* http://goto/soy-param-migration
|
|
51184
|
+
* @param {!proto.sniipuserservice.VerifyMfaSecretResponse} msg The msg instance to transform.
|
|
51185
|
+
* @return {!Object}
|
|
51186
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
51187
|
+
*/
|
|
51188
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.toObject = function(includeInstance, msg) {
|
|
51189
|
+
var f, obj = {
|
|
51190
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f),
|
|
51191
|
+
recoverycodesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
51192
|
+
};
|
|
51193
|
+
|
|
51194
|
+
if (includeInstance) {
|
|
51195
|
+
obj.$jspbMessageInstance = msg;
|
|
51196
|
+
}
|
|
51197
|
+
return obj;
|
|
51198
|
+
};
|
|
51199
|
+
}
|
|
51200
|
+
|
|
51201
|
+
|
|
51202
|
+
/**
|
|
51203
|
+
* Deserializes binary data (in protobuf wire format).
|
|
51204
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
51205
|
+
* @return {!proto.sniipuserservice.VerifyMfaSecretResponse}
|
|
51206
|
+
*/
|
|
51207
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.deserializeBinary = function(bytes) {
|
|
51208
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
51209
|
+
var msg = new proto.sniipuserservice.VerifyMfaSecretResponse;
|
|
51210
|
+
return proto.sniipuserservice.VerifyMfaSecretResponse.deserializeBinaryFromReader(msg, reader);
|
|
51211
|
+
};
|
|
51212
|
+
|
|
51213
|
+
|
|
51214
|
+
/**
|
|
51215
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
51216
|
+
* given reader into the given message object.
|
|
51217
|
+
* @param {!proto.sniipuserservice.VerifyMfaSecretResponse} msg The message object to deserialize into.
|
|
51218
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
51219
|
+
* @return {!proto.sniipuserservice.VerifyMfaSecretResponse}
|
|
51220
|
+
*/
|
|
51221
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
51222
|
+
while (reader.nextField()) {
|
|
51223
|
+
if (reader.isEndGroup()) {
|
|
51224
|
+
break;
|
|
51225
|
+
}
|
|
51226
|
+
var field = reader.getFieldNumber();
|
|
51227
|
+
switch (field) {
|
|
51228
|
+
case 1:
|
|
51229
|
+
var value = new proto.sniipuserservice.ResponseCode;
|
|
51230
|
+
reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
|
|
51231
|
+
msg.setResponsecode(value);
|
|
51232
|
+
break;
|
|
51233
|
+
case 2:
|
|
51234
|
+
var value = /** @type {string} */ (reader.readString());
|
|
51235
|
+
msg.addRecoverycodes(value);
|
|
51236
|
+
break;
|
|
51237
|
+
default:
|
|
51238
|
+
reader.skipField();
|
|
51239
|
+
break;
|
|
51240
|
+
}
|
|
51241
|
+
}
|
|
51242
|
+
return msg;
|
|
51243
|
+
};
|
|
51244
|
+
|
|
51245
|
+
|
|
51246
|
+
/**
|
|
51247
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
51248
|
+
* @return {!Uint8Array}
|
|
51249
|
+
*/
|
|
51250
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.prototype.serializeBinary = function() {
|
|
51251
|
+
var writer = new jspb.BinaryWriter();
|
|
51252
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.serializeBinaryToWriter(this, writer);
|
|
51253
|
+
return writer.getResultBuffer();
|
|
51254
|
+
};
|
|
51255
|
+
|
|
51256
|
+
|
|
51257
|
+
/**
|
|
51258
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
51259
|
+
* format), writing to the given BinaryWriter.
|
|
51260
|
+
* @param {!proto.sniipuserservice.VerifyMfaSecretResponse} message
|
|
51261
|
+
* @param {!jspb.BinaryWriter} writer
|
|
51262
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
51263
|
+
*/
|
|
51264
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.serializeBinaryToWriter = function(message, writer) {
|
|
51265
|
+
var f = undefined;
|
|
51266
|
+
f = message.getResponsecode();
|
|
51267
|
+
if (f != null) {
|
|
51268
|
+
writer.writeMessage(
|
|
51269
|
+
1,
|
|
51270
|
+
f,
|
|
51271
|
+
proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
|
|
51272
|
+
);
|
|
51273
|
+
}
|
|
51274
|
+
f = message.getRecoverycodesList();
|
|
51275
|
+
if (f.length > 0) {
|
|
51276
|
+
writer.writeRepeatedString(
|
|
51277
|
+
2,
|
|
51278
|
+
f
|
|
51279
|
+
);
|
|
51280
|
+
}
|
|
51281
|
+
};
|
|
51282
|
+
|
|
51283
|
+
|
|
51284
|
+
/**
|
|
51285
|
+
* optional ResponseCode responseCode = 1;
|
|
51286
|
+
* @return {?proto.sniipuserservice.ResponseCode}
|
|
51287
|
+
*/
|
|
51288
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.prototype.getResponsecode = function() {
|
|
51289
|
+
return /** @type{?proto.sniipuserservice.ResponseCode} */ (
|
|
51290
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 1));
|
|
51291
|
+
};
|
|
51292
|
+
|
|
51293
|
+
|
|
51294
|
+
/**
|
|
51295
|
+
* @param {?proto.sniipuserservice.ResponseCode|undefined} value
|
|
51296
|
+
* @return {!proto.sniipuserservice.VerifyMfaSecretResponse} returns this
|
|
51297
|
+
*/
|
|
51298
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.prototype.setResponsecode = function(value) {
|
|
51299
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
51300
|
+
};
|
|
51301
|
+
|
|
51302
|
+
|
|
51303
|
+
/**
|
|
51304
|
+
* Clears the message field making it undefined.
|
|
51305
|
+
* @return {!proto.sniipuserservice.VerifyMfaSecretResponse} returns this
|
|
51306
|
+
*/
|
|
51307
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.prototype.clearResponsecode = function() {
|
|
51308
|
+
return this.setResponsecode(undefined);
|
|
51309
|
+
};
|
|
51310
|
+
|
|
51311
|
+
|
|
51312
|
+
/**
|
|
51313
|
+
* Returns whether this field is set.
|
|
51314
|
+
* @return {boolean}
|
|
51315
|
+
*/
|
|
51316
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.prototype.hasResponsecode = function() {
|
|
51317
|
+
return jspb.Message.getField(this, 1) != null;
|
|
51318
|
+
};
|
|
51319
|
+
|
|
51320
|
+
|
|
51321
|
+
/**
|
|
51322
|
+
* repeated string recoveryCodes = 2;
|
|
51323
|
+
* @return {!Array<string>}
|
|
51324
|
+
*/
|
|
51325
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.prototype.getRecoverycodesList = function() {
|
|
51326
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
51327
|
+
};
|
|
51328
|
+
|
|
51329
|
+
|
|
51330
|
+
/**
|
|
51331
|
+
* @param {!Array<string>} value
|
|
51332
|
+
* @return {!proto.sniipuserservice.VerifyMfaSecretResponse} returns this
|
|
51333
|
+
*/
|
|
51334
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.prototype.setRecoverycodesList = function(value) {
|
|
51335
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
51336
|
+
};
|
|
51337
|
+
|
|
51338
|
+
|
|
51339
|
+
/**
|
|
51340
|
+
* @param {string} value
|
|
51341
|
+
* @param {number=} opt_index
|
|
51342
|
+
* @return {!proto.sniipuserservice.VerifyMfaSecretResponse} returns this
|
|
51343
|
+
*/
|
|
51344
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.prototype.addRecoverycodes = function(value, opt_index) {
|
|
51345
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
51346
|
+
};
|
|
51347
|
+
|
|
51348
|
+
|
|
51349
|
+
/**
|
|
51350
|
+
* Clears the list making it empty but non-null.
|
|
51351
|
+
* @return {!proto.sniipuserservice.VerifyMfaSecretResponse} returns this
|
|
51352
|
+
*/
|
|
51353
|
+
proto.sniipuserservice.VerifyMfaSecretResponse.prototype.clearRecoverycodesList = function() {
|
|
51354
|
+
return this.setRecoverycodesList([]);
|
|
51355
|
+
};
|
|
51356
|
+
|
|
51357
|
+
|
|
51358
|
+
|
|
51359
|
+
|
|
51360
|
+
|
|
51361
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
51362
|
+
/**
|
|
51363
|
+
* Creates an object representation of this proto.
|
|
51364
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
51365
|
+
* Optional fields that are not set will be set to undefined.
|
|
51366
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
51367
|
+
* For the list of reserved names please see:
|
|
51368
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
51369
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
51370
|
+
* JSPB instance for transitional soy proto support:
|
|
51371
|
+
* http://goto/soy-param-migration
|
|
51372
|
+
* @return {!Object}
|
|
51373
|
+
*/
|
|
51374
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
51375
|
+
return proto.sniipuserservice.GetMfaSecretStatusResponse.toObject(opt_includeInstance, this);
|
|
51376
|
+
};
|
|
51377
|
+
|
|
51378
|
+
|
|
51379
|
+
/**
|
|
51380
|
+
* Static version of the {@see toObject} method.
|
|
51381
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
51382
|
+
* the JSPB instance for transitional soy proto support:
|
|
51383
|
+
* http://goto/soy-param-migration
|
|
51384
|
+
* @param {!proto.sniipuserservice.GetMfaSecretStatusResponse} msg The msg instance to transform.
|
|
51385
|
+
* @return {!Object}
|
|
51386
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
51387
|
+
*/
|
|
51388
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.toObject = function(includeInstance, msg) {
|
|
51389
|
+
var f, obj = {
|
|
51390
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f),
|
|
51391
|
+
status: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
51392
|
+
unverifiedmfasecretdetails: (f = msg.getUnverifiedmfasecretdetails()) && proto.sniipuserservice.UnverifiedMfaSecretDetails.toObject(includeInstance, f)
|
|
51393
|
+
};
|
|
51394
|
+
|
|
51395
|
+
if (includeInstance) {
|
|
51396
|
+
obj.$jspbMessageInstance = msg;
|
|
51397
|
+
}
|
|
51398
|
+
return obj;
|
|
51399
|
+
};
|
|
51400
|
+
}
|
|
51401
|
+
|
|
51402
|
+
|
|
51403
|
+
/**
|
|
51404
|
+
* Deserializes binary data (in protobuf wire format).
|
|
51405
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
51406
|
+
* @return {!proto.sniipuserservice.GetMfaSecretStatusResponse}
|
|
51407
|
+
*/
|
|
51408
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.deserializeBinary = function(bytes) {
|
|
51409
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
51410
|
+
var msg = new proto.sniipuserservice.GetMfaSecretStatusResponse;
|
|
51411
|
+
return proto.sniipuserservice.GetMfaSecretStatusResponse.deserializeBinaryFromReader(msg, reader);
|
|
51412
|
+
};
|
|
51413
|
+
|
|
51414
|
+
|
|
51415
|
+
/**
|
|
51416
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
51417
|
+
* given reader into the given message object.
|
|
51418
|
+
* @param {!proto.sniipuserservice.GetMfaSecretStatusResponse} msg The message object to deserialize into.
|
|
51419
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
51420
|
+
* @return {!proto.sniipuserservice.GetMfaSecretStatusResponse}
|
|
51421
|
+
*/
|
|
51422
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
51423
|
+
while (reader.nextField()) {
|
|
51424
|
+
if (reader.isEndGroup()) {
|
|
51425
|
+
break;
|
|
51426
|
+
}
|
|
51427
|
+
var field = reader.getFieldNumber();
|
|
51428
|
+
switch (field) {
|
|
51429
|
+
case 1:
|
|
51430
|
+
var value = new proto.sniipuserservice.ResponseCode;
|
|
51431
|
+
reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
|
|
51432
|
+
msg.setResponsecode(value);
|
|
51433
|
+
break;
|
|
51434
|
+
case 2:
|
|
51435
|
+
var value = /** @type {!proto.sniipuserservice.MfaSecretStatus} */ (reader.readEnum());
|
|
51436
|
+
msg.setStatus(value);
|
|
51437
|
+
break;
|
|
51438
|
+
case 3:
|
|
51439
|
+
var value = new proto.sniipuserservice.UnverifiedMfaSecretDetails;
|
|
51440
|
+
reader.readMessage(value,proto.sniipuserservice.UnverifiedMfaSecretDetails.deserializeBinaryFromReader);
|
|
51441
|
+
msg.setUnverifiedmfasecretdetails(value);
|
|
51442
|
+
break;
|
|
51443
|
+
default:
|
|
51444
|
+
reader.skipField();
|
|
51445
|
+
break;
|
|
51446
|
+
}
|
|
51447
|
+
}
|
|
51448
|
+
return msg;
|
|
51449
|
+
};
|
|
51450
|
+
|
|
51451
|
+
|
|
51452
|
+
/**
|
|
51453
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
51454
|
+
* @return {!Uint8Array}
|
|
51455
|
+
*/
|
|
51456
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.serializeBinary = function() {
|
|
51457
|
+
var writer = new jspb.BinaryWriter();
|
|
51458
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.serializeBinaryToWriter(this, writer);
|
|
51459
|
+
return writer.getResultBuffer();
|
|
51460
|
+
};
|
|
51461
|
+
|
|
51462
|
+
|
|
51463
|
+
/**
|
|
51464
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
51465
|
+
* format), writing to the given BinaryWriter.
|
|
51466
|
+
* @param {!proto.sniipuserservice.GetMfaSecretStatusResponse} message
|
|
51467
|
+
* @param {!jspb.BinaryWriter} writer
|
|
51468
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
51469
|
+
*/
|
|
51470
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.serializeBinaryToWriter = function(message, writer) {
|
|
51471
|
+
var f = undefined;
|
|
51472
|
+
f = message.getResponsecode();
|
|
51473
|
+
if (f != null) {
|
|
51474
|
+
writer.writeMessage(
|
|
51475
|
+
1,
|
|
51476
|
+
f,
|
|
51477
|
+
proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
|
|
51478
|
+
);
|
|
51479
|
+
}
|
|
51480
|
+
f = message.getStatus();
|
|
51481
|
+
if (f !== 0.0) {
|
|
51482
|
+
writer.writeEnum(
|
|
51483
|
+
2,
|
|
51484
|
+
f
|
|
51485
|
+
);
|
|
51486
|
+
}
|
|
51487
|
+
f = message.getUnverifiedmfasecretdetails();
|
|
51488
|
+
if (f != null) {
|
|
51489
|
+
writer.writeMessage(
|
|
51490
|
+
3,
|
|
51491
|
+
f,
|
|
51492
|
+
proto.sniipuserservice.UnverifiedMfaSecretDetails.serializeBinaryToWriter
|
|
51493
|
+
);
|
|
51494
|
+
}
|
|
51495
|
+
};
|
|
51496
|
+
|
|
51497
|
+
|
|
51498
|
+
/**
|
|
51499
|
+
* optional ResponseCode responseCode = 1;
|
|
51500
|
+
* @return {?proto.sniipuserservice.ResponseCode}
|
|
51501
|
+
*/
|
|
51502
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.getResponsecode = function() {
|
|
51503
|
+
return /** @type{?proto.sniipuserservice.ResponseCode} */ (
|
|
51504
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 1));
|
|
51505
|
+
};
|
|
51506
|
+
|
|
51507
|
+
|
|
51508
|
+
/**
|
|
51509
|
+
* @param {?proto.sniipuserservice.ResponseCode|undefined} value
|
|
51510
|
+
* @return {!proto.sniipuserservice.GetMfaSecretStatusResponse} returns this
|
|
51511
|
+
*/
|
|
51512
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.setResponsecode = function(value) {
|
|
51513
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
51514
|
+
};
|
|
51515
|
+
|
|
51516
|
+
|
|
51517
|
+
/**
|
|
51518
|
+
* Clears the message field making it undefined.
|
|
51519
|
+
* @return {!proto.sniipuserservice.GetMfaSecretStatusResponse} returns this
|
|
51520
|
+
*/
|
|
51521
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.clearResponsecode = function() {
|
|
51522
|
+
return this.setResponsecode(undefined);
|
|
51523
|
+
};
|
|
51524
|
+
|
|
51525
|
+
|
|
51526
|
+
/**
|
|
51527
|
+
* Returns whether this field is set.
|
|
51528
|
+
* @return {boolean}
|
|
51529
|
+
*/
|
|
51530
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.hasResponsecode = function() {
|
|
51531
|
+
return jspb.Message.getField(this, 1) != null;
|
|
51532
|
+
};
|
|
51533
|
+
|
|
51534
|
+
|
|
51535
|
+
/**
|
|
51536
|
+
* optional MfaSecretStatus status = 2;
|
|
51537
|
+
* @return {!proto.sniipuserservice.MfaSecretStatus}
|
|
51538
|
+
*/
|
|
51539
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.getStatus = function() {
|
|
51540
|
+
return /** @type {!proto.sniipuserservice.MfaSecretStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
51541
|
+
};
|
|
51542
|
+
|
|
51543
|
+
|
|
51544
|
+
/**
|
|
51545
|
+
* @param {!proto.sniipuserservice.MfaSecretStatus} value
|
|
51546
|
+
* @return {!proto.sniipuserservice.GetMfaSecretStatusResponse} returns this
|
|
51547
|
+
*/
|
|
51548
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.setStatus = function(value) {
|
|
51549
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
51550
|
+
};
|
|
51551
|
+
|
|
51552
|
+
|
|
51553
|
+
/**
|
|
51554
|
+
* optional UnverifiedMfaSecretDetails unverifiedMfaSecretDetails = 3;
|
|
51555
|
+
* @return {?proto.sniipuserservice.UnverifiedMfaSecretDetails}
|
|
51556
|
+
*/
|
|
51557
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.getUnverifiedmfasecretdetails = function() {
|
|
51558
|
+
return /** @type{?proto.sniipuserservice.UnverifiedMfaSecretDetails} */ (
|
|
51559
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.UnverifiedMfaSecretDetails, 3));
|
|
51560
|
+
};
|
|
51561
|
+
|
|
51562
|
+
|
|
51563
|
+
/**
|
|
51564
|
+
* @param {?proto.sniipuserservice.UnverifiedMfaSecretDetails|undefined} value
|
|
51565
|
+
* @return {!proto.sniipuserservice.GetMfaSecretStatusResponse} returns this
|
|
51566
|
+
*/
|
|
51567
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.setUnverifiedmfasecretdetails = function(value) {
|
|
51568
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
51569
|
+
};
|
|
51570
|
+
|
|
51571
|
+
|
|
51572
|
+
/**
|
|
51573
|
+
* Clears the message field making it undefined.
|
|
51574
|
+
* @return {!proto.sniipuserservice.GetMfaSecretStatusResponse} returns this
|
|
51575
|
+
*/
|
|
51576
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.clearUnverifiedmfasecretdetails = function() {
|
|
51577
|
+
return this.setUnverifiedmfasecretdetails(undefined);
|
|
51578
|
+
};
|
|
51579
|
+
|
|
51580
|
+
|
|
51581
|
+
/**
|
|
51582
|
+
* Returns whether this field is set.
|
|
51583
|
+
* @return {boolean}
|
|
51584
|
+
*/
|
|
51585
|
+
proto.sniipuserservice.GetMfaSecretStatusResponse.prototype.hasUnverifiedmfasecretdetails = function() {
|
|
51586
|
+
return jspb.Message.getField(this, 3) != null;
|
|
51587
|
+
};
|
|
51588
|
+
|
|
51589
|
+
|
|
50497
51590
|
/**
|
|
50498
51591
|
* @enum {number}
|
|
50499
51592
|
*/
|
|
@@ -50520,6 +51613,15 @@ proto.sniipuserservice.VerificationScope = {
|
|
|
50520
51613
|
DELETE_ACCOUNT_PINLESS: 10
|
|
50521
51614
|
};
|
|
50522
51615
|
|
|
51616
|
+
/**
|
|
51617
|
+
* @enum {number}
|
|
51618
|
+
*/
|
|
51619
|
+
proto.sniipuserservice.MfaSecretStatus = {
|
|
51620
|
+
NONE: 0,
|
|
51621
|
+
UNVERIFIED: 1,
|
|
51622
|
+
VERIFIED: 2
|
|
51623
|
+
};
|
|
51624
|
+
|
|
50523
51625
|
/**
|
|
50524
51626
|
* @enum {number}
|
|
50525
51627
|
*/
|