@sniipwebmaster/user-service-client-grpcweb 26.8.14867 → 26.8.14880
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.
|
@@ -9411,6 +9411,189 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.disableMfa
|
|
|
9411
9411
|
};
|
|
9412
9412
|
|
|
9413
9413
|
|
|
9414
|
+
/**
|
|
9415
|
+
* @const
|
|
9416
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9417
|
+
* !proto.sniipuserservice.CreateMfaApprovalRequestRequest,
|
|
9418
|
+
* !proto.sniipuserservice.CreateMfaApprovalRequestResponse>}
|
|
9419
|
+
*/
|
|
9420
|
+
const methodDescriptor_SniipUserServiceService_CreateMfaApprovalRequest = new grpc.web.MethodDescriptor(
|
|
9421
|
+
'/sniipuserservice.SniipUserServiceService/CreateMfaApprovalRequest',
|
|
9422
|
+
grpc.web.MethodType.UNARY,
|
|
9423
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest,
|
|
9424
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse,
|
|
9425
|
+
/**
|
|
9426
|
+
* @param {!proto.sniipuserservice.CreateMfaApprovalRequestRequest} request
|
|
9427
|
+
* @return {!Uint8Array}
|
|
9428
|
+
*/
|
|
9429
|
+
function(request) {
|
|
9430
|
+
return request.serializeBinary();
|
|
9431
|
+
},
|
|
9432
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.deserializeBinary
|
|
9433
|
+
);
|
|
9434
|
+
|
|
9435
|
+
|
|
9436
|
+
/**
|
|
9437
|
+
* @param {!proto.sniipuserservice.CreateMfaApprovalRequestRequest} request The
|
|
9438
|
+
* request proto
|
|
9439
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9440
|
+
* call metadata
|
|
9441
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.CreateMfaApprovalRequestResponse)}
|
|
9442
|
+
* callback The callback function(error, response)
|
|
9443
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.CreateMfaApprovalRequestResponse>|undefined}
|
|
9444
|
+
* The XHR Node Readable Stream
|
|
9445
|
+
*/
|
|
9446
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.createMfaApprovalRequest =
|
|
9447
|
+
function(request, metadata, callback) {
|
|
9448
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9449
|
+
'/sniipuserservice.SniipUserServiceService/CreateMfaApprovalRequest',
|
|
9450
|
+
request,
|
|
9451
|
+
metadata || {},
|
|
9452
|
+
methodDescriptor_SniipUserServiceService_CreateMfaApprovalRequest,
|
|
9453
|
+
callback);
|
|
9454
|
+
};
|
|
9455
|
+
|
|
9456
|
+
|
|
9457
|
+
/**
|
|
9458
|
+
* @param {!proto.sniipuserservice.CreateMfaApprovalRequestRequest} request The
|
|
9459
|
+
* request proto
|
|
9460
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9461
|
+
* call metadata
|
|
9462
|
+
* @return {!Promise<!proto.sniipuserservice.CreateMfaApprovalRequestResponse>}
|
|
9463
|
+
* Promise that resolves to the response
|
|
9464
|
+
*/
|
|
9465
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.createMfaApprovalRequest =
|
|
9466
|
+
function(request, metadata) {
|
|
9467
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9468
|
+
'/sniipuserservice.SniipUserServiceService/CreateMfaApprovalRequest',
|
|
9469
|
+
request,
|
|
9470
|
+
metadata || {},
|
|
9471
|
+
methodDescriptor_SniipUserServiceService_CreateMfaApprovalRequest);
|
|
9472
|
+
};
|
|
9473
|
+
|
|
9474
|
+
|
|
9475
|
+
/**
|
|
9476
|
+
* @const
|
|
9477
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9478
|
+
* !proto.sniipuserservice.ResolveMfaApprovalRequestRequest,
|
|
9479
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
9480
|
+
*/
|
|
9481
|
+
const methodDescriptor_SniipUserServiceService_ResolveMfaApprovalRequest = new grpc.web.MethodDescriptor(
|
|
9482
|
+
'/sniipuserservice.SniipUserServiceService/ResolveMfaApprovalRequest',
|
|
9483
|
+
grpc.web.MethodType.UNARY,
|
|
9484
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest,
|
|
9485
|
+
proto.sniipuserservice.ResponseCode,
|
|
9486
|
+
/**
|
|
9487
|
+
* @param {!proto.sniipuserservice.ResolveMfaApprovalRequestRequest} request
|
|
9488
|
+
* @return {!Uint8Array}
|
|
9489
|
+
*/
|
|
9490
|
+
function(request) {
|
|
9491
|
+
return request.serializeBinary();
|
|
9492
|
+
},
|
|
9493
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
9494
|
+
);
|
|
9495
|
+
|
|
9496
|
+
|
|
9497
|
+
/**
|
|
9498
|
+
* @param {!proto.sniipuserservice.ResolveMfaApprovalRequestRequest} request The
|
|
9499
|
+
* request proto
|
|
9500
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9501
|
+
* call metadata
|
|
9502
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.ResponseCode)}
|
|
9503
|
+
* callback The callback function(error, response)
|
|
9504
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
|
|
9505
|
+
* The XHR Node Readable Stream
|
|
9506
|
+
*/
|
|
9507
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.resolveMfaApprovalRequest =
|
|
9508
|
+
function(request, metadata, callback) {
|
|
9509
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9510
|
+
'/sniipuserservice.SniipUserServiceService/ResolveMfaApprovalRequest',
|
|
9511
|
+
request,
|
|
9512
|
+
metadata || {},
|
|
9513
|
+
methodDescriptor_SniipUserServiceService_ResolveMfaApprovalRequest,
|
|
9514
|
+
callback);
|
|
9515
|
+
};
|
|
9516
|
+
|
|
9517
|
+
|
|
9518
|
+
/**
|
|
9519
|
+
* @param {!proto.sniipuserservice.ResolveMfaApprovalRequestRequest} request The
|
|
9520
|
+
* request proto
|
|
9521
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9522
|
+
* call metadata
|
|
9523
|
+
* @return {!Promise<!proto.sniipuserservice.ResponseCode>}
|
|
9524
|
+
* Promise that resolves to the response
|
|
9525
|
+
*/
|
|
9526
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.resolveMfaApprovalRequest =
|
|
9527
|
+
function(request, metadata) {
|
|
9528
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9529
|
+
'/sniipuserservice.SniipUserServiceService/ResolveMfaApprovalRequest',
|
|
9530
|
+
request,
|
|
9531
|
+
metadata || {},
|
|
9532
|
+
methodDescriptor_SniipUserServiceService_ResolveMfaApprovalRequest);
|
|
9533
|
+
};
|
|
9534
|
+
|
|
9535
|
+
|
|
9536
|
+
/**
|
|
9537
|
+
* @const
|
|
9538
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9539
|
+
* !proto.sniipuserservice.MfaApprovalRequestStatusRequest,
|
|
9540
|
+
* !proto.sniipuserservice.MfaApprovalRequestStatusResponse>}
|
|
9541
|
+
*/
|
|
9542
|
+
const methodDescriptor_SniipUserServiceService_GetMfaApprovalRequestStatus = new grpc.web.MethodDescriptor(
|
|
9543
|
+
'/sniipuserservice.SniipUserServiceService/GetMfaApprovalRequestStatus',
|
|
9544
|
+
grpc.web.MethodType.UNARY,
|
|
9545
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest,
|
|
9546
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse,
|
|
9547
|
+
/**
|
|
9548
|
+
* @param {!proto.sniipuserservice.MfaApprovalRequestStatusRequest} request
|
|
9549
|
+
* @return {!Uint8Array}
|
|
9550
|
+
*/
|
|
9551
|
+
function(request) {
|
|
9552
|
+
return request.serializeBinary();
|
|
9553
|
+
},
|
|
9554
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.deserializeBinary
|
|
9555
|
+
);
|
|
9556
|
+
|
|
9557
|
+
|
|
9558
|
+
/**
|
|
9559
|
+
* @param {!proto.sniipuserservice.MfaApprovalRequestStatusRequest} request The
|
|
9560
|
+
* request proto
|
|
9561
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9562
|
+
* call metadata
|
|
9563
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.MfaApprovalRequestStatusResponse)}
|
|
9564
|
+
* callback The callback function(error, response)
|
|
9565
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.MfaApprovalRequestStatusResponse>|undefined}
|
|
9566
|
+
* The XHR Node Readable Stream
|
|
9567
|
+
*/
|
|
9568
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getMfaApprovalRequestStatus =
|
|
9569
|
+
function(request, metadata, callback) {
|
|
9570
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9571
|
+
'/sniipuserservice.SniipUserServiceService/GetMfaApprovalRequestStatus',
|
|
9572
|
+
request,
|
|
9573
|
+
metadata || {},
|
|
9574
|
+
methodDescriptor_SniipUserServiceService_GetMfaApprovalRequestStatus,
|
|
9575
|
+
callback);
|
|
9576
|
+
};
|
|
9577
|
+
|
|
9578
|
+
|
|
9579
|
+
/**
|
|
9580
|
+
* @param {!proto.sniipuserservice.MfaApprovalRequestStatusRequest} request The
|
|
9581
|
+
* request proto
|
|
9582
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9583
|
+
* call metadata
|
|
9584
|
+
* @return {!Promise<!proto.sniipuserservice.MfaApprovalRequestStatusResponse>}
|
|
9585
|
+
* Promise that resolves to the response
|
|
9586
|
+
*/
|
|
9587
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getMfaApprovalRequestStatus =
|
|
9588
|
+
function(request, metadata) {
|
|
9589
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9590
|
+
'/sniipuserservice.SniipUserServiceService/GetMfaApprovalRequestStatus',
|
|
9591
|
+
request,
|
|
9592
|
+
metadata || {},
|
|
9593
|
+
methodDescriptor_SniipUserServiceService_GetMfaApprovalRequestStatus);
|
|
9594
|
+
};
|
|
9595
|
+
|
|
9596
|
+
|
|
9414
9597
|
/**
|
|
9415
9598
|
* @const
|
|
9416
9599
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -46,6 +46,8 @@ goog.exportSymbol('proto.sniipuserservice.CreateAccountWebEmailRequest', null, g
|
|
|
46
46
|
goog.exportSymbol('proto.sniipuserservice.CreateAccountWebMobileRequest', null, global);
|
|
47
47
|
goog.exportSymbol('proto.sniipuserservice.CreateGuestPayerRequest', null, global);
|
|
48
48
|
goog.exportSymbol('proto.sniipuserservice.CreateGuestPayerResponse', null, global);
|
|
49
|
+
goog.exportSymbol('proto.sniipuserservice.CreateMfaApprovalRequestRequest', null, global);
|
|
50
|
+
goog.exportSymbol('proto.sniipuserservice.CreateMfaApprovalRequestResponse', null, global);
|
|
49
51
|
goog.exportSymbol('proto.sniipuserservice.CreatePassportEmailRequest', null, global);
|
|
50
52
|
goog.exportSymbol('proto.sniipuserservice.CreatePassportMobileRequest', null, global);
|
|
51
53
|
goog.exportSymbol('proto.sniipuserservice.CreatePermissionRoleRequest', null, global);
|
|
@@ -141,6 +143,10 @@ goog.exportSymbol('proto.sniipuserservice.LoginWebOtpRequest', null, global);
|
|
|
141
143
|
goog.exportSymbol('proto.sniipuserservice.MarkAsBusinessReq', null, global);
|
|
142
144
|
goog.exportSymbol('proto.sniipuserservice.MarkOnboardingScreensAsViewedRequest', null, global);
|
|
143
145
|
goog.exportSymbol('proto.sniipuserservice.MarkUserAsBusinessRequest', null, global);
|
|
146
|
+
goog.exportSymbol('proto.sniipuserservice.MfaApprovalPurpose', null, global);
|
|
147
|
+
goog.exportSymbol('proto.sniipuserservice.MfaApprovalRequestStatusRequest', null, global);
|
|
148
|
+
goog.exportSymbol('proto.sniipuserservice.MfaApprovalRequestStatusResponse', null, global);
|
|
149
|
+
goog.exportSymbol('proto.sniipuserservice.MfaApprovalStatus', null, global);
|
|
144
150
|
goog.exportSymbol('proto.sniipuserservice.MfaSecretStatus', null, global);
|
|
145
151
|
goog.exportSymbol('proto.sniipuserservice.MfaSetupUriDetails', null, global);
|
|
146
152
|
goog.exportSymbol('proto.sniipuserservice.MigrateAccountRequest', null, global);
|
|
@@ -183,6 +189,7 @@ goog.exportSymbol('proto.sniipuserservice.RemoveUserAccountRequest', null, globa
|
|
|
183
189
|
goog.exportSymbol('proto.sniipuserservice.ResetPasswordEmailRequest', null, global);
|
|
184
190
|
goog.exportSymbol('proto.sniipuserservice.ResetPasswordMobileRequest', null, global);
|
|
185
191
|
goog.exportSymbol('proto.sniipuserservice.ResetPinRequest', null, global);
|
|
192
|
+
goog.exportSymbol('proto.sniipuserservice.ResolveMfaApprovalRequestRequest', null, global);
|
|
186
193
|
goog.exportSymbol('proto.sniipuserservice.ResponseCode', null, global);
|
|
187
194
|
goog.exportSymbol('proto.sniipuserservice.RunLocationBackfillRequest', null, global);
|
|
188
195
|
goog.exportSymbol('proto.sniipuserservice.RunLocationBackfillResponse', null, global);
|
|
@@ -4887,6 +4894,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4887
4894
|
*/
|
|
4888
4895
|
proto.sniipuserservice.DisableMfaSecretRequest.displayName = 'proto.sniipuserservice.DisableMfaSecretRequest';
|
|
4889
4896
|
}
|
|
4897
|
+
/**
|
|
4898
|
+
* Generated by JsPbCodeGenerator.
|
|
4899
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4900
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4901
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4902
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4903
|
+
* valid.
|
|
4904
|
+
* @extends {jspb.Message}
|
|
4905
|
+
* @constructor
|
|
4906
|
+
*/
|
|
4907
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest = function(opt_data) {
|
|
4908
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4909
|
+
};
|
|
4910
|
+
goog.inherits(proto.sniipuserservice.CreateMfaApprovalRequestRequest, jspb.Message);
|
|
4911
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4912
|
+
/**
|
|
4913
|
+
* @public
|
|
4914
|
+
* @override
|
|
4915
|
+
*/
|
|
4916
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest.displayName = 'proto.sniipuserservice.CreateMfaApprovalRequestRequest';
|
|
4917
|
+
}
|
|
4918
|
+
/**
|
|
4919
|
+
* Generated by JsPbCodeGenerator.
|
|
4920
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4921
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4922
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4923
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4924
|
+
* valid.
|
|
4925
|
+
* @extends {jspb.Message}
|
|
4926
|
+
* @constructor
|
|
4927
|
+
*/
|
|
4928
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse = function(opt_data) {
|
|
4929
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4930
|
+
};
|
|
4931
|
+
goog.inherits(proto.sniipuserservice.CreateMfaApprovalRequestResponse, jspb.Message);
|
|
4932
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4933
|
+
/**
|
|
4934
|
+
* @public
|
|
4935
|
+
* @override
|
|
4936
|
+
*/
|
|
4937
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.displayName = 'proto.sniipuserservice.CreateMfaApprovalRequestResponse';
|
|
4938
|
+
}
|
|
4939
|
+
/**
|
|
4940
|
+
* Generated by JsPbCodeGenerator.
|
|
4941
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4942
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4943
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4944
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4945
|
+
* valid.
|
|
4946
|
+
* @extends {jspb.Message}
|
|
4947
|
+
* @constructor
|
|
4948
|
+
*/
|
|
4949
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest = function(opt_data) {
|
|
4950
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4951
|
+
};
|
|
4952
|
+
goog.inherits(proto.sniipuserservice.ResolveMfaApprovalRequestRequest, jspb.Message);
|
|
4953
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4954
|
+
/**
|
|
4955
|
+
* @public
|
|
4956
|
+
* @override
|
|
4957
|
+
*/
|
|
4958
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.displayName = 'proto.sniipuserservice.ResolveMfaApprovalRequestRequest';
|
|
4959
|
+
}
|
|
4960
|
+
/**
|
|
4961
|
+
* Generated by JsPbCodeGenerator.
|
|
4962
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4963
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4964
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4965
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4966
|
+
* valid.
|
|
4967
|
+
* @extends {jspb.Message}
|
|
4968
|
+
* @constructor
|
|
4969
|
+
*/
|
|
4970
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest = function(opt_data) {
|
|
4971
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4972
|
+
};
|
|
4973
|
+
goog.inherits(proto.sniipuserservice.MfaApprovalRequestStatusRequest, jspb.Message);
|
|
4974
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4975
|
+
/**
|
|
4976
|
+
* @public
|
|
4977
|
+
* @override
|
|
4978
|
+
*/
|
|
4979
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest.displayName = 'proto.sniipuserservice.MfaApprovalRequestStatusRequest';
|
|
4980
|
+
}
|
|
4981
|
+
/**
|
|
4982
|
+
* Generated by JsPbCodeGenerator.
|
|
4983
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4984
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4985
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4986
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4987
|
+
* valid.
|
|
4988
|
+
* @extends {jspb.Message}
|
|
4989
|
+
* @constructor
|
|
4990
|
+
*/
|
|
4991
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse = function(opt_data) {
|
|
4992
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4993
|
+
};
|
|
4994
|
+
goog.inherits(proto.sniipuserservice.MfaApprovalRequestStatusResponse, jspb.Message);
|
|
4995
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4996
|
+
/**
|
|
4997
|
+
* @public
|
|
4998
|
+
* @override
|
|
4999
|
+
*/
|
|
5000
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.displayName = 'proto.sniipuserservice.MfaApprovalRequestStatusResponse';
|
|
5001
|
+
}
|
|
4890
5002
|
/**
|
|
4891
5003
|
* Generated by JsPbCodeGenerator.
|
|
4892
5004
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -54268,6 +54380,848 @@ proto.sniipuserservice.DisableMfaSecretRequest.prototype.setOtpsource = function
|
|
|
54268
54380
|
|
|
54269
54381
|
|
|
54270
54382
|
|
|
54383
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54384
|
+
/**
|
|
54385
|
+
* Creates an object representation of this proto.
|
|
54386
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
54387
|
+
* Optional fields that are not set will be set to undefined.
|
|
54388
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
54389
|
+
* For the list of reserved names please see:
|
|
54390
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
54391
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
54392
|
+
* JSPB instance for transitional soy proto support:
|
|
54393
|
+
* http://goto/soy-param-migration
|
|
54394
|
+
* @return {!Object}
|
|
54395
|
+
*/
|
|
54396
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest.prototype.toObject = function(opt_includeInstance) {
|
|
54397
|
+
return proto.sniipuserservice.CreateMfaApprovalRequestRequest.toObject(opt_includeInstance, this);
|
|
54398
|
+
};
|
|
54399
|
+
|
|
54400
|
+
|
|
54401
|
+
/**
|
|
54402
|
+
* Static version of the {@see toObject} method.
|
|
54403
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
54404
|
+
* the JSPB instance for transitional soy proto support:
|
|
54405
|
+
* http://goto/soy-param-migration
|
|
54406
|
+
* @param {!proto.sniipuserservice.CreateMfaApprovalRequestRequest} msg The msg instance to transform.
|
|
54407
|
+
* @return {!Object}
|
|
54408
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54409
|
+
*/
|
|
54410
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest.toObject = function(includeInstance, msg) {
|
|
54411
|
+
var f, obj = {
|
|
54412
|
+
purpose: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
54413
|
+
};
|
|
54414
|
+
|
|
54415
|
+
if (includeInstance) {
|
|
54416
|
+
obj.$jspbMessageInstance = msg;
|
|
54417
|
+
}
|
|
54418
|
+
return obj;
|
|
54419
|
+
};
|
|
54420
|
+
}
|
|
54421
|
+
|
|
54422
|
+
|
|
54423
|
+
/**
|
|
54424
|
+
* Deserializes binary data (in protobuf wire format).
|
|
54425
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
54426
|
+
* @return {!proto.sniipuserservice.CreateMfaApprovalRequestRequest}
|
|
54427
|
+
*/
|
|
54428
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest.deserializeBinary = function(bytes) {
|
|
54429
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
54430
|
+
var msg = new proto.sniipuserservice.CreateMfaApprovalRequestRequest;
|
|
54431
|
+
return proto.sniipuserservice.CreateMfaApprovalRequestRequest.deserializeBinaryFromReader(msg, reader);
|
|
54432
|
+
};
|
|
54433
|
+
|
|
54434
|
+
|
|
54435
|
+
/**
|
|
54436
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
54437
|
+
* given reader into the given message object.
|
|
54438
|
+
* @param {!proto.sniipuserservice.CreateMfaApprovalRequestRequest} msg The message object to deserialize into.
|
|
54439
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
54440
|
+
* @return {!proto.sniipuserservice.CreateMfaApprovalRequestRequest}
|
|
54441
|
+
*/
|
|
54442
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
54443
|
+
while (reader.nextField()) {
|
|
54444
|
+
if (reader.isEndGroup()) {
|
|
54445
|
+
break;
|
|
54446
|
+
}
|
|
54447
|
+
var field = reader.getFieldNumber();
|
|
54448
|
+
switch (field) {
|
|
54449
|
+
case 1:
|
|
54450
|
+
var value = /** @type {!proto.sniipuserservice.MfaApprovalPurpose} */ (reader.readEnum());
|
|
54451
|
+
msg.setPurpose(value);
|
|
54452
|
+
break;
|
|
54453
|
+
default:
|
|
54454
|
+
reader.skipField();
|
|
54455
|
+
break;
|
|
54456
|
+
}
|
|
54457
|
+
}
|
|
54458
|
+
return msg;
|
|
54459
|
+
};
|
|
54460
|
+
|
|
54461
|
+
|
|
54462
|
+
/**
|
|
54463
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
54464
|
+
* @return {!Uint8Array}
|
|
54465
|
+
*/
|
|
54466
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest.prototype.serializeBinary = function() {
|
|
54467
|
+
var writer = new jspb.BinaryWriter();
|
|
54468
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest.serializeBinaryToWriter(this, writer);
|
|
54469
|
+
return writer.getResultBuffer();
|
|
54470
|
+
};
|
|
54471
|
+
|
|
54472
|
+
|
|
54473
|
+
/**
|
|
54474
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
54475
|
+
* format), writing to the given BinaryWriter.
|
|
54476
|
+
* @param {!proto.sniipuserservice.CreateMfaApprovalRequestRequest} message
|
|
54477
|
+
* @param {!jspb.BinaryWriter} writer
|
|
54478
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54479
|
+
*/
|
|
54480
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest.serializeBinaryToWriter = function(message, writer) {
|
|
54481
|
+
var f = undefined;
|
|
54482
|
+
f = message.getPurpose();
|
|
54483
|
+
if (f !== 0.0) {
|
|
54484
|
+
writer.writeEnum(
|
|
54485
|
+
1,
|
|
54486
|
+
f
|
|
54487
|
+
);
|
|
54488
|
+
}
|
|
54489
|
+
};
|
|
54490
|
+
|
|
54491
|
+
|
|
54492
|
+
/**
|
|
54493
|
+
* optional MfaApprovalPurpose purpose = 1;
|
|
54494
|
+
* @return {!proto.sniipuserservice.MfaApprovalPurpose}
|
|
54495
|
+
*/
|
|
54496
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest.prototype.getPurpose = function() {
|
|
54497
|
+
return /** @type {!proto.sniipuserservice.MfaApprovalPurpose} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
54498
|
+
};
|
|
54499
|
+
|
|
54500
|
+
|
|
54501
|
+
/**
|
|
54502
|
+
* @param {!proto.sniipuserservice.MfaApprovalPurpose} value
|
|
54503
|
+
* @return {!proto.sniipuserservice.CreateMfaApprovalRequestRequest} returns this
|
|
54504
|
+
*/
|
|
54505
|
+
proto.sniipuserservice.CreateMfaApprovalRequestRequest.prototype.setPurpose = function(value) {
|
|
54506
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
54507
|
+
};
|
|
54508
|
+
|
|
54509
|
+
|
|
54510
|
+
|
|
54511
|
+
|
|
54512
|
+
|
|
54513
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54514
|
+
/**
|
|
54515
|
+
* Creates an object representation of this proto.
|
|
54516
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
54517
|
+
* Optional fields that are not set will be set to undefined.
|
|
54518
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
54519
|
+
* For the list of reserved names please see:
|
|
54520
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
54521
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
54522
|
+
* JSPB instance for transitional soy proto support:
|
|
54523
|
+
* http://goto/soy-param-migration
|
|
54524
|
+
* @return {!Object}
|
|
54525
|
+
*/
|
|
54526
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.prototype.toObject = function(opt_includeInstance) {
|
|
54527
|
+
return proto.sniipuserservice.CreateMfaApprovalRequestResponse.toObject(opt_includeInstance, this);
|
|
54528
|
+
};
|
|
54529
|
+
|
|
54530
|
+
|
|
54531
|
+
/**
|
|
54532
|
+
* Static version of the {@see toObject} method.
|
|
54533
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
54534
|
+
* the JSPB instance for transitional soy proto support:
|
|
54535
|
+
* http://goto/soy-param-migration
|
|
54536
|
+
* @param {!proto.sniipuserservice.CreateMfaApprovalRequestResponse} msg The msg instance to transform.
|
|
54537
|
+
* @return {!Object}
|
|
54538
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54539
|
+
*/
|
|
54540
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.toObject = function(includeInstance, msg) {
|
|
54541
|
+
var f, obj = {
|
|
54542
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f),
|
|
54543
|
+
requestuuid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
54544
|
+
expiresinseconds: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
54545
|
+
};
|
|
54546
|
+
|
|
54547
|
+
if (includeInstance) {
|
|
54548
|
+
obj.$jspbMessageInstance = msg;
|
|
54549
|
+
}
|
|
54550
|
+
return obj;
|
|
54551
|
+
};
|
|
54552
|
+
}
|
|
54553
|
+
|
|
54554
|
+
|
|
54555
|
+
/**
|
|
54556
|
+
* Deserializes binary data (in protobuf wire format).
|
|
54557
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
54558
|
+
* @return {!proto.sniipuserservice.CreateMfaApprovalRequestResponse}
|
|
54559
|
+
*/
|
|
54560
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.deserializeBinary = function(bytes) {
|
|
54561
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
54562
|
+
var msg = new proto.sniipuserservice.CreateMfaApprovalRequestResponse;
|
|
54563
|
+
return proto.sniipuserservice.CreateMfaApprovalRequestResponse.deserializeBinaryFromReader(msg, reader);
|
|
54564
|
+
};
|
|
54565
|
+
|
|
54566
|
+
|
|
54567
|
+
/**
|
|
54568
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
54569
|
+
* given reader into the given message object.
|
|
54570
|
+
* @param {!proto.sniipuserservice.CreateMfaApprovalRequestResponse} msg The message object to deserialize into.
|
|
54571
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
54572
|
+
* @return {!proto.sniipuserservice.CreateMfaApprovalRequestResponse}
|
|
54573
|
+
*/
|
|
54574
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
54575
|
+
while (reader.nextField()) {
|
|
54576
|
+
if (reader.isEndGroup()) {
|
|
54577
|
+
break;
|
|
54578
|
+
}
|
|
54579
|
+
var field = reader.getFieldNumber();
|
|
54580
|
+
switch (field) {
|
|
54581
|
+
case 1:
|
|
54582
|
+
var value = new proto.sniipuserservice.ResponseCode;
|
|
54583
|
+
reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
|
|
54584
|
+
msg.setResponsecode(value);
|
|
54585
|
+
break;
|
|
54586
|
+
case 2:
|
|
54587
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54588
|
+
msg.setRequestuuid(value);
|
|
54589
|
+
break;
|
|
54590
|
+
case 3:
|
|
54591
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
54592
|
+
msg.setExpiresinseconds(value);
|
|
54593
|
+
break;
|
|
54594
|
+
default:
|
|
54595
|
+
reader.skipField();
|
|
54596
|
+
break;
|
|
54597
|
+
}
|
|
54598
|
+
}
|
|
54599
|
+
return msg;
|
|
54600
|
+
};
|
|
54601
|
+
|
|
54602
|
+
|
|
54603
|
+
/**
|
|
54604
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
54605
|
+
* @return {!Uint8Array}
|
|
54606
|
+
*/
|
|
54607
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.prototype.serializeBinary = function() {
|
|
54608
|
+
var writer = new jspb.BinaryWriter();
|
|
54609
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.serializeBinaryToWriter(this, writer);
|
|
54610
|
+
return writer.getResultBuffer();
|
|
54611
|
+
};
|
|
54612
|
+
|
|
54613
|
+
|
|
54614
|
+
/**
|
|
54615
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
54616
|
+
* format), writing to the given BinaryWriter.
|
|
54617
|
+
* @param {!proto.sniipuserservice.CreateMfaApprovalRequestResponse} message
|
|
54618
|
+
* @param {!jspb.BinaryWriter} writer
|
|
54619
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54620
|
+
*/
|
|
54621
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.serializeBinaryToWriter = function(message, writer) {
|
|
54622
|
+
var f = undefined;
|
|
54623
|
+
f = message.getResponsecode();
|
|
54624
|
+
if (f != null) {
|
|
54625
|
+
writer.writeMessage(
|
|
54626
|
+
1,
|
|
54627
|
+
f,
|
|
54628
|
+
proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
|
|
54629
|
+
);
|
|
54630
|
+
}
|
|
54631
|
+
f = message.getRequestuuid();
|
|
54632
|
+
if (f.length > 0) {
|
|
54633
|
+
writer.writeString(
|
|
54634
|
+
2,
|
|
54635
|
+
f
|
|
54636
|
+
);
|
|
54637
|
+
}
|
|
54638
|
+
f = message.getExpiresinseconds();
|
|
54639
|
+
if (f !== 0) {
|
|
54640
|
+
writer.writeInt64(
|
|
54641
|
+
3,
|
|
54642
|
+
f
|
|
54643
|
+
);
|
|
54644
|
+
}
|
|
54645
|
+
};
|
|
54646
|
+
|
|
54647
|
+
|
|
54648
|
+
/**
|
|
54649
|
+
* optional ResponseCode responseCode = 1;
|
|
54650
|
+
* @return {?proto.sniipuserservice.ResponseCode}
|
|
54651
|
+
*/
|
|
54652
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.prototype.getResponsecode = function() {
|
|
54653
|
+
return /** @type{?proto.sniipuserservice.ResponseCode} */ (
|
|
54654
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 1));
|
|
54655
|
+
};
|
|
54656
|
+
|
|
54657
|
+
|
|
54658
|
+
/**
|
|
54659
|
+
* @param {?proto.sniipuserservice.ResponseCode|undefined} value
|
|
54660
|
+
* @return {!proto.sniipuserservice.CreateMfaApprovalRequestResponse} returns this
|
|
54661
|
+
*/
|
|
54662
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.prototype.setResponsecode = function(value) {
|
|
54663
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
54664
|
+
};
|
|
54665
|
+
|
|
54666
|
+
|
|
54667
|
+
/**
|
|
54668
|
+
* Clears the message field making it undefined.
|
|
54669
|
+
* @return {!proto.sniipuserservice.CreateMfaApprovalRequestResponse} returns this
|
|
54670
|
+
*/
|
|
54671
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.prototype.clearResponsecode = function() {
|
|
54672
|
+
return this.setResponsecode(undefined);
|
|
54673
|
+
};
|
|
54674
|
+
|
|
54675
|
+
|
|
54676
|
+
/**
|
|
54677
|
+
* Returns whether this field is set.
|
|
54678
|
+
* @return {boolean}
|
|
54679
|
+
*/
|
|
54680
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.prototype.hasResponsecode = function() {
|
|
54681
|
+
return jspb.Message.getField(this, 1) != null;
|
|
54682
|
+
};
|
|
54683
|
+
|
|
54684
|
+
|
|
54685
|
+
/**
|
|
54686
|
+
* optional string requestUuid = 2;
|
|
54687
|
+
* @return {string}
|
|
54688
|
+
*/
|
|
54689
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.prototype.getRequestuuid = function() {
|
|
54690
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
54691
|
+
};
|
|
54692
|
+
|
|
54693
|
+
|
|
54694
|
+
/**
|
|
54695
|
+
* @param {string} value
|
|
54696
|
+
* @return {!proto.sniipuserservice.CreateMfaApprovalRequestResponse} returns this
|
|
54697
|
+
*/
|
|
54698
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.prototype.setRequestuuid = function(value) {
|
|
54699
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
54700
|
+
};
|
|
54701
|
+
|
|
54702
|
+
|
|
54703
|
+
/**
|
|
54704
|
+
* optional int64 expiresInSeconds = 3;
|
|
54705
|
+
* @return {number}
|
|
54706
|
+
*/
|
|
54707
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.prototype.getExpiresinseconds = function() {
|
|
54708
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
54709
|
+
};
|
|
54710
|
+
|
|
54711
|
+
|
|
54712
|
+
/**
|
|
54713
|
+
* @param {number} value
|
|
54714
|
+
* @return {!proto.sniipuserservice.CreateMfaApprovalRequestResponse} returns this
|
|
54715
|
+
*/
|
|
54716
|
+
proto.sniipuserservice.CreateMfaApprovalRequestResponse.prototype.setExpiresinseconds = function(value) {
|
|
54717
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
54718
|
+
};
|
|
54719
|
+
|
|
54720
|
+
|
|
54721
|
+
|
|
54722
|
+
|
|
54723
|
+
|
|
54724
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54725
|
+
/**
|
|
54726
|
+
* Creates an object representation of this proto.
|
|
54727
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
54728
|
+
* Optional fields that are not set will be set to undefined.
|
|
54729
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
54730
|
+
* For the list of reserved names please see:
|
|
54731
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
54732
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
54733
|
+
* JSPB instance for transitional soy proto support:
|
|
54734
|
+
* http://goto/soy-param-migration
|
|
54735
|
+
* @return {!Object}
|
|
54736
|
+
*/
|
|
54737
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.prototype.toObject = function(opt_includeInstance) {
|
|
54738
|
+
return proto.sniipuserservice.ResolveMfaApprovalRequestRequest.toObject(opt_includeInstance, this);
|
|
54739
|
+
};
|
|
54740
|
+
|
|
54741
|
+
|
|
54742
|
+
/**
|
|
54743
|
+
* Static version of the {@see toObject} method.
|
|
54744
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
54745
|
+
* the JSPB instance for transitional soy proto support:
|
|
54746
|
+
* http://goto/soy-param-migration
|
|
54747
|
+
* @param {!proto.sniipuserservice.ResolveMfaApprovalRequestRequest} msg The msg instance to transform.
|
|
54748
|
+
* @return {!Object}
|
|
54749
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54750
|
+
*/
|
|
54751
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.toObject = function(includeInstance, msg) {
|
|
54752
|
+
var f, obj = {
|
|
54753
|
+
requestuuid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
54754
|
+
approved: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
54755
|
+
pin: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
54756
|
+
};
|
|
54757
|
+
|
|
54758
|
+
if (includeInstance) {
|
|
54759
|
+
obj.$jspbMessageInstance = msg;
|
|
54760
|
+
}
|
|
54761
|
+
return obj;
|
|
54762
|
+
};
|
|
54763
|
+
}
|
|
54764
|
+
|
|
54765
|
+
|
|
54766
|
+
/**
|
|
54767
|
+
* Deserializes binary data (in protobuf wire format).
|
|
54768
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
54769
|
+
* @return {!proto.sniipuserservice.ResolveMfaApprovalRequestRequest}
|
|
54770
|
+
*/
|
|
54771
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.deserializeBinary = function(bytes) {
|
|
54772
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
54773
|
+
var msg = new proto.sniipuserservice.ResolveMfaApprovalRequestRequest;
|
|
54774
|
+
return proto.sniipuserservice.ResolveMfaApprovalRequestRequest.deserializeBinaryFromReader(msg, reader);
|
|
54775
|
+
};
|
|
54776
|
+
|
|
54777
|
+
|
|
54778
|
+
/**
|
|
54779
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
54780
|
+
* given reader into the given message object.
|
|
54781
|
+
* @param {!proto.sniipuserservice.ResolveMfaApprovalRequestRequest} msg The message object to deserialize into.
|
|
54782
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
54783
|
+
* @return {!proto.sniipuserservice.ResolveMfaApprovalRequestRequest}
|
|
54784
|
+
*/
|
|
54785
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
54786
|
+
while (reader.nextField()) {
|
|
54787
|
+
if (reader.isEndGroup()) {
|
|
54788
|
+
break;
|
|
54789
|
+
}
|
|
54790
|
+
var field = reader.getFieldNumber();
|
|
54791
|
+
switch (field) {
|
|
54792
|
+
case 1:
|
|
54793
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54794
|
+
msg.setRequestuuid(value);
|
|
54795
|
+
break;
|
|
54796
|
+
case 2:
|
|
54797
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
54798
|
+
msg.setApproved(value);
|
|
54799
|
+
break;
|
|
54800
|
+
case 3:
|
|
54801
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54802
|
+
msg.setPin(value);
|
|
54803
|
+
break;
|
|
54804
|
+
default:
|
|
54805
|
+
reader.skipField();
|
|
54806
|
+
break;
|
|
54807
|
+
}
|
|
54808
|
+
}
|
|
54809
|
+
return msg;
|
|
54810
|
+
};
|
|
54811
|
+
|
|
54812
|
+
|
|
54813
|
+
/**
|
|
54814
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
54815
|
+
* @return {!Uint8Array}
|
|
54816
|
+
*/
|
|
54817
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.prototype.serializeBinary = function() {
|
|
54818
|
+
var writer = new jspb.BinaryWriter();
|
|
54819
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.serializeBinaryToWriter(this, writer);
|
|
54820
|
+
return writer.getResultBuffer();
|
|
54821
|
+
};
|
|
54822
|
+
|
|
54823
|
+
|
|
54824
|
+
/**
|
|
54825
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
54826
|
+
* format), writing to the given BinaryWriter.
|
|
54827
|
+
* @param {!proto.sniipuserservice.ResolveMfaApprovalRequestRequest} message
|
|
54828
|
+
* @param {!jspb.BinaryWriter} writer
|
|
54829
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54830
|
+
*/
|
|
54831
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.serializeBinaryToWriter = function(message, writer) {
|
|
54832
|
+
var f = undefined;
|
|
54833
|
+
f = message.getRequestuuid();
|
|
54834
|
+
if (f.length > 0) {
|
|
54835
|
+
writer.writeString(
|
|
54836
|
+
1,
|
|
54837
|
+
f
|
|
54838
|
+
);
|
|
54839
|
+
}
|
|
54840
|
+
f = message.getApproved();
|
|
54841
|
+
if (f) {
|
|
54842
|
+
writer.writeBool(
|
|
54843
|
+
2,
|
|
54844
|
+
f
|
|
54845
|
+
);
|
|
54846
|
+
}
|
|
54847
|
+
f = message.getPin();
|
|
54848
|
+
if (f.length > 0) {
|
|
54849
|
+
writer.writeString(
|
|
54850
|
+
3,
|
|
54851
|
+
f
|
|
54852
|
+
);
|
|
54853
|
+
}
|
|
54854
|
+
};
|
|
54855
|
+
|
|
54856
|
+
|
|
54857
|
+
/**
|
|
54858
|
+
* optional string requestUuid = 1;
|
|
54859
|
+
* @return {string}
|
|
54860
|
+
*/
|
|
54861
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.prototype.getRequestuuid = function() {
|
|
54862
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
54863
|
+
};
|
|
54864
|
+
|
|
54865
|
+
|
|
54866
|
+
/**
|
|
54867
|
+
* @param {string} value
|
|
54868
|
+
* @return {!proto.sniipuserservice.ResolveMfaApprovalRequestRequest} returns this
|
|
54869
|
+
*/
|
|
54870
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.prototype.setRequestuuid = function(value) {
|
|
54871
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
54872
|
+
};
|
|
54873
|
+
|
|
54874
|
+
|
|
54875
|
+
/**
|
|
54876
|
+
* optional bool approved = 2;
|
|
54877
|
+
* @return {boolean}
|
|
54878
|
+
*/
|
|
54879
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.prototype.getApproved = function() {
|
|
54880
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
54881
|
+
};
|
|
54882
|
+
|
|
54883
|
+
|
|
54884
|
+
/**
|
|
54885
|
+
* @param {boolean} value
|
|
54886
|
+
* @return {!proto.sniipuserservice.ResolveMfaApprovalRequestRequest} returns this
|
|
54887
|
+
*/
|
|
54888
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.prototype.setApproved = function(value) {
|
|
54889
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
54890
|
+
};
|
|
54891
|
+
|
|
54892
|
+
|
|
54893
|
+
/**
|
|
54894
|
+
* optional string pin = 3;
|
|
54895
|
+
* @return {string}
|
|
54896
|
+
*/
|
|
54897
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.prototype.getPin = function() {
|
|
54898
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
54899
|
+
};
|
|
54900
|
+
|
|
54901
|
+
|
|
54902
|
+
/**
|
|
54903
|
+
* @param {string} value
|
|
54904
|
+
* @return {!proto.sniipuserservice.ResolveMfaApprovalRequestRequest} returns this
|
|
54905
|
+
*/
|
|
54906
|
+
proto.sniipuserservice.ResolveMfaApprovalRequestRequest.prototype.setPin = function(value) {
|
|
54907
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
54908
|
+
};
|
|
54909
|
+
|
|
54910
|
+
|
|
54911
|
+
|
|
54912
|
+
|
|
54913
|
+
|
|
54914
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54915
|
+
/**
|
|
54916
|
+
* Creates an object representation of this proto.
|
|
54917
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
54918
|
+
* Optional fields that are not set will be set to undefined.
|
|
54919
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
54920
|
+
* For the list of reserved names please see:
|
|
54921
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
54922
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
54923
|
+
* JSPB instance for transitional soy proto support:
|
|
54924
|
+
* http://goto/soy-param-migration
|
|
54925
|
+
* @return {!Object}
|
|
54926
|
+
*/
|
|
54927
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
54928
|
+
return proto.sniipuserservice.MfaApprovalRequestStatusRequest.toObject(opt_includeInstance, this);
|
|
54929
|
+
};
|
|
54930
|
+
|
|
54931
|
+
|
|
54932
|
+
/**
|
|
54933
|
+
* Static version of the {@see toObject} method.
|
|
54934
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
54935
|
+
* the JSPB instance for transitional soy proto support:
|
|
54936
|
+
* http://goto/soy-param-migration
|
|
54937
|
+
* @param {!proto.sniipuserservice.MfaApprovalRequestStatusRequest} msg The msg instance to transform.
|
|
54938
|
+
* @return {!Object}
|
|
54939
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
54940
|
+
*/
|
|
54941
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest.toObject = function(includeInstance, msg) {
|
|
54942
|
+
var f, obj = {
|
|
54943
|
+
requestuuid: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
54944
|
+
};
|
|
54945
|
+
|
|
54946
|
+
if (includeInstance) {
|
|
54947
|
+
obj.$jspbMessageInstance = msg;
|
|
54948
|
+
}
|
|
54949
|
+
return obj;
|
|
54950
|
+
};
|
|
54951
|
+
}
|
|
54952
|
+
|
|
54953
|
+
|
|
54954
|
+
/**
|
|
54955
|
+
* Deserializes binary data (in protobuf wire format).
|
|
54956
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
54957
|
+
* @return {!proto.sniipuserservice.MfaApprovalRequestStatusRequest}
|
|
54958
|
+
*/
|
|
54959
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest.deserializeBinary = function(bytes) {
|
|
54960
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
54961
|
+
var msg = new proto.sniipuserservice.MfaApprovalRequestStatusRequest;
|
|
54962
|
+
return proto.sniipuserservice.MfaApprovalRequestStatusRequest.deserializeBinaryFromReader(msg, reader);
|
|
54963
|
+
};
|
|
54964
|
+
|
|
54965
|
+
|
|
54966
|
+
/**
|
|
54967
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
54968
|
+
* given reader into the given message object.
|
|
54969
|
+
* @param {!proto.sniipuserservice.MfaApprovalRequestStatusRequest} msg The message object to deserialize into.
|
|
54970
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
54971
|
+
* @return {!proto.sniipuserservice.MfaApprovalRequestStatusRequest}
|
|
54972
|
+
*/
|
|
54973
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
54974
|
+
while (reader.nextField()) {
|
|
54975
|
+
if (reader.isEndGroup()) {
|
|
54976
|
+
break;
|
|
54977
|
+
}
|
|
54978
|
+
var field = reader.getFieldNumber();
|
|
54979
|
+
switch (field) {
|
|
54980
|
+
case 1:
|
|
54981
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54982
|
+
msg.setRequestuuid(value);
|
|
54983
|
+
break;
|
|
54984
|
+
default:
|
|
54985
|
+
reader.skipField();
|
|
54986
|
+
break;
|
|
54987
|
+
}
|
|
54988
|
+
}
|
|
54989
|
+
return msg;
|
|
54990
|
+
};
|
|
54991
|
+
|
|
54992
|
+
|
|
54993
|
+
/**
|
|
54994
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
54995
|
+
* @return {!Uint8Array}
|
|
54996
|
+
*/
|
|
54997
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest.prototype.serializeBinary = function() {
|
|
54998
|
+
var writer = new jspb.BinaryWriter();
|
|
54999
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest.serializeBinaryToWriter(this, writer);
|
|
55000
|
+
return writer.getResultBuffer();
|
|
55001
|
+
};
|
|
55002
|
+
|
|
55003
|
+
|
|
55004
|
+
/**
|
|
55005
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
55006
|
+
* format), writing to the given BinaryWriter.
|
|
55007
|
+
* @param {!proto.sniipuserservice.MfaApprovalRequestStatusRequest} message
|
|
55008
|
+
* @param {!jspb.BinaryWriter} writer
|
|
55009
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55010
|
+
*/
|
|
55011
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
55012
|
+
var f = undefined;
|
|
55013
|
+
f = message.getRequestuuid();
|
|
55014
|
+
if (f.length > 0) {
|
|
55015
|
+
writer.writeString(
|
|
55016
|
+
1,
|
|
55017
|
+
f
|
|
55018
|
+
);
|
|
55019
|
+
}
|
|
55020
|
+
};
|
|
55021
|
+
|
|
55022
|
+
|
|
55023
|
+
/**
|
|
55024
|
+
* optional string requestUuid = 1;
|
|
55025
|
+
* @return {string}
|
|
55026
|
+
*/
|
|
55027
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest.prototype.getRequestuuid = function() {
|
|
55028
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
55029
|
+
};
|
|
55030
|
+
|
|
55031
|
+
|
|
55032
|
+
/**
|
|
55033
|
+
* @param {string} value
|
|
55034
|
+
* @return {!proto.sniipuserservice.MfaApprovalRequestStatusRequest} returns this
|
|
55035
|
+
*/
|
|
55036
|
+
proto.sniipuserservice.MfaApprovalRequestStatusRequest.prototype.setRequestuuid = function(value) {
|
|
55037
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
55038
|
+
};
|
|
55039
|
+
|
|
55040
|
+
|
|
55041
|
+
|
|
55042
|
+
|
|
55043
|
+
|
|
55044
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
55045
|
+
/**
|
|
55046
|
+
* Creates an object representation of this proto.
|
|
55047
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55048
|
+
* Optional fields that are not set will be set to undefined.
|
|
55049
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
55050
|
+
* For the list of reserved names please see:
|
|
55051
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
55052
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
55053
|
+
* JSPB instance for transitional soy proto support:
|
|
55054
|
+
* http://goto/soy-param-migration
|
|
55055
|
+
* @return {!Object}
|
|
55056
|
+
*/
|
|
55057
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
55058
|
+
return proto.sniipuserservice.MfaApprovalRequestStatusResponse.toObject(opt_includeInstance, this);
|
|
55059
|
+
};
|
|
55060
|
+
|
|
55061
|
+
|
|
55062
|
+
/**
|
|
55063
|
+
* Static version of the {@see toObject} method.
|
|
55064
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
55065
|
+
* the JSPB instance for transitional soy proto support:
|
|
55066
|
+
* http://goto/soy-param-migration
|
|
55067
|
+
* @param {!proto.sniipuserservice.MfaApprovalRequestStatusResponse} msg The msg instance to transform.
|
|
55068
|
+
* @return {!Object}
|
|
55069
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55070
|
+
*/
|
|
55071
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.toObject = function(includeInstance, msg) {
|
|
55072
|
+
var f, obj = {
|
|
55073
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f),
|
|
55074
|
+
status: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
55075
|
+
};
|
|
55076
|
+
|
|
55077
|
+
if (includeInstance) {
|
|
55078
|
+
obj.$jspbMessageInstance = msg;
|
|
55079
|
+
}
|
|
55080
|
+
return obj;
|
|
55081
|
+
};
|
|
55082
|
+
}
|
|
55083
|
+
|
|
55084
|
+
|
|
55085
|
+
/**
|
|
55086
|
+
* Deserializes binary data (in protobuf wire format).
|
|
55087
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
55088
|
+
* @return {!proto.sniipuserservice.MfaApprovalRequestStatusResponse}
|
|
55089
|
+
*/
|
|
55090
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.deserializeBinary = function(bytes) {
|
|
55091
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
55092
|
+
var msg = new proto.sniipuserservice.MfaApprovalRequestStatusResponse;
|
|
55093
|
+
return proto.sniipuserservice.MfaApprovalRequestStatusResponse.deserializeBinaryFromReader(msg, reader);
|
|
55094
|
+
};
|
|
55095
|
+
|
|
55096
|
+
|
|
55097
|
+
/**
|
|
55098
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
55099
|
+
* given reader into the given message object.
|
|
55100
|
+
* @param {!proto.sniipuserservice.MfaApprovalRequestStatusResponse} msg The message object to deserialize into.
|
|
55101
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
55102
|
+
* @return {!proto.sniipuserservice.MfaApprovalRequestStatusResponse}
|
|
55103
|
+
*/
|
|
55104
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
55105
|
+
while (reader.nextField()) {
|
|
55106
|
+
if (reader.isEndGroup()) {
|
|
55107
|
+
break;
|
|
55108
|
+
}
|
|
55109
|
+
var field = reader.getFieldNumber();
|
|
55110
|
+
switch (field) {
|
|
55111
|
+
case 1:
|
|
55112
|
+
var value = new proto.sniipuserservice.ResponseCode;
|
|
55113
|
+
reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
|
|
55114
|
+
msg.setResponsecode(value);
|
|
55115
|
+
break;
|
|
55116
|
+
case 2:
|
|
55117
|
+
var value = /** @type {!proto.sniipuserservice.MfaApprovalStatus} */ (reader.readEnum());
|
|
55118
|
+
msg.setStatus(value);
|
|
55119
|
+
break;
|
|
55120
|
+
default:
|
|
55121
|
+
reader.skipField();
|
|
55122
|
+
break;
|
|
55123
|
+
}
|
|
55124
|
+
}
|
|
55125
|
+
return msg;
|
|
55126
|
+
};
|
|
55127
|
+
|
|
55128
|
+
|
|
55129
|
+
/**
|
|
55130
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
55131
|
+
* @return {!Uint8Array}
|
|
55132
|
+
*/
|
|
55133
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.prototype.serializeBinary = function() {
|
|
55134
|
+
var writer = new jspb.BinaryWriter();
|
|
55135
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.serializeBinaryToWriter(this, writer);
|
|
55136
|
+
return writer.getResultBuffer();
|
|
55137
|
+
};
|
|
55138
|
+
|
|
55139
|
+
|
|
55140
|
+
/**
|
|
55141
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
55142
|
+
* format), writing to the given BinaryWriter.
|
|
55143
|
+
* @param {!proto.sniipuserservice.MfaApprovalRequestStatusResponse} message
|
|
55144
|
+
* @param {!jspb.BinaryWriter} writer
|
|
55145
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55146
|
+
*/
|
|
55147
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.serializeBinaryToWriter = function(message, writer) {
|
|
55148
|
+
var f = undefined;
|
|
55149
|
+
f = message.getResponsecode();
|
|
55150
|
+
if (f != null) {
|
|
55151
|
+
writer.writeMessage(
|
|
55152
|
+
1,
|
|
55153
|
+
f,
|
|
55154
|
+
proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
|
|
55155
|
+
);
|
|
55156
|
+
}
|
|
55157
|
+
f = message.getStatus();
|
|
55158
|
+
if (f !== 0.0) {
|
|
55159
|
+
writer.writeEnum(
|
|
55160
|
+
2,
|
|
55161
|
+
f
|
|
55162
|
+
);
|
|
55163
|
+
}
|
|
55164
|
+
};
|
|
55165
|
+
|
|
55166
|
+
|
|
55167
|
+
/**
|
|
55168
|
+
* optional ResponseCode responseCode = 1;
|
|
55169
|
+
* @return {?proto.sniipuserservice.ResponseCode}
|
|
55170
|
+
*/
|
|
55171
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.prototype.getResponsecode = function() {
|
|
55172
|
+
return /** @type{?proto.sniipuserservice.ResponseCode} */ (
|
|
55173
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 1));
|
|
55174
|
+
};
|
|
55175
|
+
|
|
55176
|
+
|
|
55177
|
+
/**
|
|
55178
|
+
* @param {?proto.sniipuserservice.ResponseCode|undefined} value
|
|
55179
|
+
* @return {!proto.sniipuserservice.MfaApprovalRequestStatusResponse} returns this
|
|
55180
|
+
*/
|
|
55181
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.prototype.setResponsecode = function(value) {
|
|
55182
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
55183
|
+
};
|
|
55184
|
+
|
|
55185
|
+
|
|
55186
|
+
/**
|
|
55187
|
+
* Clears the message field making it undefined.
|
|
55188
|
+
* @return {!proto.sniipuserservice.MfaApprovalRequestStatusResponse} returns this
|
|
55189
|
+
*/
|
|
55190
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.prototype.clearResponsecode = function() {
|
|
55191
|
+
return this.setResponsecode(undefined);
|
|
55192
|
+
};
|
|
55193
|
+
|
|
55194
|
+
|
|
55195
|
+
/**
|
|
55196
|
+
* Returns whether this field is set.
|
|
55197
|
+
* @return {boolean}
|
|
55198
|
+
*/
|
|
55199
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.prototype.hasResponsecode = function() {
|
|
55200
|
+
return jspb.Message.getField(this, 1) != null;
|
|
55201
|
+
};
|
|
55202
|
+
|
|
55203
|
+
|
|
55204
|
+
/**
|
|
55205
|
+
* optional MfaApprovalStatus status = 2;
|
|
55206
|
+
* @return {!proto.sniipuserservice.MfaApprovalStatus}
|
|
55207
|
+
*/
|
|
55208
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.prototype.getStatus = function() {
|
|
55209
|
+
return /** @type {!proto.sniipuserservice.MfaApprovalStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
55210
|
+
};
|
|
55211
|
+
|
|
55212
|
+
|
|
55213
|
+
/**
|
|
55214
|
+
* @param {!proto.sniipuserservice.MfaApprovalStatus} value
|
|
55215
|
+
* @return {!proto.sniipuserservice.MfaApprovalRequestStatusResponse} returns this
|
|
55216
|
+
*/
|
|
55217
|
+
proto.sniipuserservice.MfaApprovalRequestStatusResponse.prototype.setStatus = function(value) {
|
|
55218
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
55219
|
+
};
|
|
55220
|
+
|
|
55221
|
+
|
|
55222
|
+
|
|
55223
|
+
|
|
55224
|
+
|
|
54271
55225
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54272
55226
|
/**
|
|
54273
55227
|
* Creates an object representation of this proto.
|
|
@@ -57265,6 +58219,24 @@ proto.sniipuserservice.OtpSource = {
|
|
|
57265
58219
|
SMS: 4
|
|
57266
58220
|
};
|
|
57267
58221
|
|
|
58222
|
+
/**
|
|
58223
|
+
* @enum {number}
|
|
58224
|
+
*/
|
|
58225
|
+
proto.sniipuserservice.MfaApprovalPurpose = {
|
|
58226
|
+
MFA_APPROVAL_PURPOSE_TEST: 0,
|
|
58227
|
+
MFA_APPROVAL_PURPOSE_PAYMENT: 1
|
|
58228
|
+
};
|
|
58229
|
+
|
|
58230
|
+
/**
|
|
58231
|
+
* @enum {number}
|
|
58232
|
+
*/
|
|
58233
|
+
proto.sniipuserservice.MfaApprovalStatus = {
|
|
58234
|
+
MFA_APPROVAL_PENDING: 0,
|
|
58235
|
+
MFA_APPROVAL_APPROVED: 1,
|
|
58236
|
+
MFA_APPROVAL_REFUSED: 2,
|
|
58237
|
+
MFA_APPROVAL_EXPIRED: 3
|
|
58238
|
+
};
|
|
58239
|
+
|
|
57268
58240
|
/**
|
|
57269
58241
|
* @enum {number}
|
|
57270
58242
|
*/
|