@sniipwebmaster/user-service-client-grpcweb-ts 26.8.14867 → 26.8.14892
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.
|
@@ -6619,6 +6619,135 @@ export class SniipUserServiceServiceClient {
|
|
|
6619
6619
|
this.methodDescriptorDisableMfaSecret);
|
|
6620
6620
|
}
|
|
6621
6621
|
|
|
6622
|
+
methodDescriptorCreateMfaApprovalRequest = new grpcWeb.MethodDescriptor(
|
|
6623
|
+
'/sniipuserservice.SniipUserServiceService/CreateMfaApprovalRequest',
|
|
6624
|
+
grpcWeb.MethodType.UNARY,
|
|
6625
|
+
service_pb.CreateMfaApprovalRequestRequest,
|
|
6626
|
+
service_pb.CreateMfaApprovalRequestResponse,
|
|
6627
|
+
(request: service_pb.CreateMfaApprovalRequestRequest) => {
|
|
6628
|
+
return request.serializeBinary();
|
|
6629
|
+
},
|
|
6630
|
+
service_pb.CreateMfaApprovalRequestResponse.deserializeBinary
|
|
6631
|
+
);
|
|
6632
|
+
|
|
6633
|
+
createMfaApprovalRequest(
|
|
6634
|
+
request: service_pb.CreateMfaApprovalRequestRequest,
|
|
6635
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.CreateMfaApprovalRequestResponse>;
|
|
6636
|
+
|
|
6637
|
+
createMfaApprovalRequest(
|
|
6638
|
+
request: service_pb.CreateMfaApprovalRequestRequest,
|
|
6639
|
+
metadata: grpcWeb.Metadata | null,
|
|
6640
|
+
callback: (err: grpcWeb.RpcError,
|
|
6641
|
+
response: service_pb.CreateMfaApprovalRequestResponse) => void): grpcWeb.ClientReadableStream<service_pb.CreateMfaApprovalRequestResponse>;
|
|
6642
|
+
|
|
6643
|
+
createMfaApprovalRequest(
|
|
6644
|
+
request: service_pb.CreateMfaApprovalRequestRequest,
|
|
6645
|
+
metadata?: grpcWeb.Metadata | null,
|
|
6646
|
+
callback?: (err: grpcWeb.RpcError,
|
|
6647
|
+
response: service_pb.CreateMfaApprovalRequestResponse) => void) {
|
|
6648
|
+
if (callback !== undefined) {
|
|
6649
|
+
return this.client_.rpcCall(
|
|
6650
|
+
this.hostname_ +
|
|
6651
|
+
'/sniipuserservice.SniipUserServiceService/CreateMfaApprovalRequest',
|
|
6652
|
+
request,
|
|
6653
|
+
metadata || {},
|
|
6654
|
+
this.methodDescriptorCreateMfaApprovalRequest,
|
|
6655
|
+
callback);
|
|
6656
|
+
}
|
|
6657
|
+
return this.client_.unaryCall(
|
|
6658
|
+
this.hostname_ +
|
|
6659
|
+
'/sniipuserservice.SniipUserServiceService/CreateMfaApprovalRequest',
|
|
6660
|
+
request,
|
|
6661
|
+
metadata || {},
|
|
6662
|
+
this.methodDescriptorCreateMfaApprovalRequest);
|
|
6663
|
+
}
|
|
6664
|
+
|
|
6665
|
+
methodDescriptorResolveMfaApprovalRequest = new grpcWeb.MethodDescriptor(
|
|
6666
|
+
'/sniipuserservice.SniipUserServiceService/ResolveMfaApprovalRequest',
|
|
6667
|
+
grpcWeb.MethodType.UNARY,
|
|
6668
|
+
service_pb.ResolveMfaApprovalRequestRequest,
|
|
6669
|
+
service_pb.ResponseCode,
|
|
6670
|
+
(request: service_pb.ResolveMfaApprovalRequestRequest) => {
|
|
6671
|
+
return request.serializeBinary();
|
|
6672
|
+
},
|
|
6673
|
+
service_pb.ResponseCode.deserializeBinary
|
|
6674
|
+
);
|
|
6675
|
+
|
|
6676
|
+
resolveMfaApprovalRequest(
|
|
6677
|
+
request: service_pb.ResolveMfaApprovalRequestRequest,
|
|
6678
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
|
|
6679
|
+
|
|
6680
|
+
resolveMfaApprovalRequest(
|
|
6681
|
+
request: service_pb.ResolveMfaApprovalRequestRequest,
|
|
6682
|
+
metadata: grpcWeb.Metadata | null,
|
|
6683
|
+
callback: (err: grpcWeb.RpcError,
|
|
6684
|
+
response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
|
|
6685
|
+
|
|
6686
|
+
resolveMfaApprovalRequest(
|
|
6687
|
+
request: service_pb.ResolveMfaApprovalRequestRequest,
|
|
6688
|
+
metadata?: grpcWeb.Metadata | null,
|
|
6689
|
+
callback?: (err: grpcWeb.RpcError,
|
|
6690
|
+
response: service_pb.ResponseCode) => void) {
|
|
6691
|
+
if (callback !== undefined) {
|
|
6692
|
+
return this.client_.rpcCall(
|
|
6693
|
+
this.hostname_ +
|
|
6694
|
+
'/sniipuserservice.SniipUserServiceService/ResolveMfaApprovalRequest',
|
|
6695
|
+
request,
|
|
6696
|
+
metadata || {},
|
|
6697
|
+
this.methodDescriptorResolveMfaApprovalRequest,
|
|
6698
|
+
callback);
|
|
6699
|
+
}
|
|
6700
|
+
return this.client_.unaryCall(
|
|
6701
|
+
this.hostname_ +
|
|
6702
|
+
'/sniipuserservice.SniipUserServiceService/ResolveMfaApprovalRequest',
|
|
6703
|
+
request,
|
|
6704
|
+
metadata || {},
|
|
6705
|
+
this.methodDescriptorResolveMfaApprovalRequest);
|
|
6706
|
+
}
|
|
6707
|
+
|
|
6708
|
+
methodDescriptorGetMfaApprovalRequestStatus = new grpcWeb.MethodDescriptor(
|
|
6709
|
+
'/sniipuserservice.SniipUserServiceService/GetMfaApprovalRequestStatus',
|
|
6710
|
+
grpcWeb.MethodType.UNARY,
|
|
6711
|
+
service_pb.MfaApprovalRequestStatusRequest,
|
|
6712
|
+
service_pb.MfaApprovalRequestStatusResponse,
|
|
6713
|
+
(request: service_pb.MfaApprovalRequestStatusRequest) => {
|
|
6714
|
+
return request.serializeBinary();
|
|
6715
|
+
},
|
|
6716
|
+
service_pb.MfaApprovalRequestStatusResponse.deserializeBinary
|
|
6717
|
+
);
|
|
6718
|
+
|
|
6719
|
+
getMfaApprovalRequestStatus(
|
|
6720
|
+
request: service_pb.MfaApprovalRequestStatusRequest,
|
|
6721
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.MfaApprovalRequestStatusResponse>;
|
|
6722
|
+
|
|
6723
|
+
getMfaApprovalRequestStatus(
|
|
6724
|
+
request: service_pb.MfaApprovalRequestStatusRequest,
|
|
6725
|
+
metadata: grpcWeb.Metadata | null,
|
|
6726
|
+
callback: (err: grpcWeb.RpcError,
|
|
6727
|
+
response: service_pb.MfaApprovalRequestStatusResponse) => void): grpcWeb.ClientReadableStream<service_pb.MfaApprovalRequestStatusResponse>;
|
|
6728
|
+
|
|
6729
|
+
getMfaApprovalRequestStatus(
|
|
6730
|
+
request: service_pb.MfaApprovalRequestStatusRequest,
|
|
6731
|
+
metadata?: grpcWeb.Metadata | null,
|
|
6732
|
+
callback?: (err: grpcWeb.RpcError,
|
|
6733
|
+
response: service_pb.MfaApprovalRequestStatusResponse) => void) {
|
|
6734
|
+
if (callback !== undefined) {
|
|
6735
|
+
return this.client_.rpcCall(
|
|
6736
|
+
this.hostname_ +
|
|
6737
|
+
'/sniipuserservice.SniipUserServiceService/GetMfaApprovalRequestStatus',
|
|
6738
|
+
request,
|
|
6739
|
+
metadata || {},
|
|
6740
|
+
this.methodDescriptorGetMfaApprovalRequestStatus,
|
|
6741
|
+
callback);
|
|
6742
|
+
}
|
|
6743
|
+
return this.client_.unaryCall(
|
|
6744
|
+
this.hostname_ +
|
|
6745
|
+
'/sniipuserservice.SniipUserServiceService/GetMfaApprovalRequestStatus',
|
|
6746
|
+
request,
|
|
6747
|
+
metadata || {},
|
|
6748
|
+
this.methodDescriptorGetMfaApprovalRequestStatus);
|
|
6749
|
+
}
|
|
6750
|
+
|
|
6622
6751
|
methodDescriptorCreateSwapToken = new grpcWeb.MethodDescriptor(
|
|
6623
6752
|
'/sniipuserservice.SniipUserServiceService/CreateSwapToken',
|
|
6624
6753
|
grpcWeb.MethodType.UNARY,
|
|
@@ -6607,6 +6607,120 @@ export namespace DisableMfaSecretRequest {
|
|
|
6607
6607
|
}
|
|
6608
6608
|
}
|
|
6609
6609
|
|
|
6610
|
+
export class CreateMfaApprovalRequestRequest extends jspb.Message {
|
|
6611
|
+
getPurpose(): MfaApprovalPurpose;
|
|
6612
|
+
setPurpose(value: MfaApprovalPurpose): CreateMfaApprovalRequestRequest;
|
|
6613
|
+
|
|
6614
|
+
serializeBinary(): Uint8Array;
|
|
6615
|
+
toObject(includeInstance?: boolean): CreateMfaApprovalRequestRequest.AsObject;
|
|
6616
|
+
static toObject(includeInstance: boolean, msg: CreateMfaApprovalRequestRequest): CreateMfaApprovalRequestRequest.AsObject;
|
|
6617
|
+
static serializeBinaryToWriter(message: CreateMfaApprovalRequestRequest, writer: jspb.BinaryWriter): void;
|
|
6618
|
+
static deserializeBinary(bytes: Uint8Array): CreateMfaApprovalRequestRequest;
|
|
6619
|
+
static deserializeBinaryFromReader(message: CreateMfaApprovalRequestRequest, reader: jspb.BinaryReader): CreateMfaApprovalRequestRequest;
|
|
6620
|
+
}
|
|
6621
|
+
|
|
6622
|
+
export namespace CreateMfaApprovalRequestRequest {
|
|
6623
|
+
export type AsObject = {
|
|
6624
|
+
purpose: MfaApprovalPurpose,
|
|
6625
|
+
}
|
|
6626
|
+
}
|
|
6627
|
+
|
|
6628
|
+
export class CreateMfaApprovalRequestResponse extends jspb.Message {
|
|
6629
|
+
getResponsecode(): ResponseCode | undefined;
|
|
6630
|
+
setResponsecode(value?: ResponseCode): CreateMfaApprovalRequestResponse;
|
|
6631
|
+
hasResponsecode(): boolean;
|
|
6632
|
+
clearResponsecode(): CreateMfaApprovalRequestResponse;
|
|
6633
|
+
|
|
6634
|
+
getRequestuuid(): string;
|
|
6635
|
+
setRequestuuid(value: string): CreateMfaApprovalRequestResponse;
|
|
6636
|
+
|
|
6637
|
+
getExpiresinseconds(): number;
|
|
6638
|
+
setExpiresinseconds(value: number): CreateMfaApprovalRequestResponse;
|
|
6639
|
+
|
|
6640
|
+
serializeBinary(): Uint8Array;
|
|
6641
|
+
toObject(includeInstance?: boolean): CreateMfaApprovalRequestResponse.AsObject;
|
|
6642
|
+
static toObject(includeInstance: boolean, msg: CreateMfaApprovalRequestResponse): CreateMfaApprovalRequestResponse.AsObject;
|
|
6643
|
+
static serializeBinaryToWriter(message: CreateMfaApprovalRequestResponse, writer: jspb.BinaryWriter): void;
|
|
6644
|
+
static deserializeBinary(bytes: Uint8Array): CreateMfaApprovalRequestResponse;
|
|
6645
|
+
static deserializeBinaryFromReader(message: CreateMfaApprovalRequestResponse, reader: jspb.BinaryReader): CreateMfaApprovalRequestResponse;
|
|
6646
|
+
}
|
|
6647
|
+
|
|
6648
|
+
export namespace CreateMfaApprovalRequestResponse {
|
|
6649
|
+
export type AsObject = {
|
|
6650
|
+
responsecode?: ResponseCode.AsObject,
|
|
6651
|
+
requestuuid: string,
|
|
6652
|
+
expiresinseconds: number,
|
|
6653
|
+
}
|
|
6654
|
+
}
|
|
6655
|
+
|
|
6656
|
+
export class ResolveMfaApprovalRequestRequest extends jspb.Message {
|
|
6657
|
+
getRequestuuid(): string;
|
|
6658
|
+
setRequestuuid(value: string): ResolveMfaApprovalRequestRequest;
|
|
6659
|
+
|
|
6660
|
+
getApproved(): boolean;
|
|
6661
|
+
setApproved(value: boolean): ResolveMfaApprovalRequestRequest;
|
|
6662
|
+
|
|
6663
|
+
getPin(): string;
|
|
6664
|
+
setPin(value: string): ResolveMfaApprovalRequestRequest;
|
|
6665
|
+
|
|
6666
|
+
serializeBinary(): Uint8Array;
|
|
6667
|
+
toObject(includeInstance?: boolean): ResolveMfaApprovalRequestRequest.AsObject;
|
|
6668
|
+
static toObject(includeInstance: boolean, msg: ResolveMfaApprovalRequestRequest): ResolveMfaApprovalRequestRequest.AsObject;
|
|
6669
|
+
static serializeBinaryToWriter(message: ResolveMfaApprovalRequestRequest, writer: jspb.BinaryWriter): void;
|
|
6670
|
+
static deserializeBinary(bytes: Uint8Array): ResolveMfaApprovalRequestRequest;
|
|
6671
|
+
static deserializeBinaryFromReader(message: ResolveMfaApprovalRequestRequest, reader: jspb.BinaryReader): ResolveMfaApprovalRequestRequest;
|
|
6672
|
+
}
|
|
6673
|
+
|
|
6674
|
+
export namespace ResolveMfaApprovalRequestRequest {
|
|
6675
|
+
export type AsObject = {
|
|
6676
|
+
requestuuid: string,
|
|
6677
|
+
approved: boolean,
|
|
6678
|
+
pin: string,
|
|
6679
|
+
}
|
|
6680
|
+
}
|
|
6681
|
+
|
|
6682
|
+
export class MfaApprovalRequestStatusRequest extends jspb.Message {
|
|
6683
|
+
getRequestuuid(): string;
|
|
6684
|
+
setRequestuuid(value: string): MfaApprovalRequestStatusRequest;
|
|
6685
|
+
|
|
6686
|
+
serializeBinary(): Uint8Array;
|
|
6687
|
+
toObject(includeInstance?: boolean): MfaApprovalRequestStatusRequest.AsObject;
|
|
6688
|
+
static toObject(includeInstance: boolean, msg: MfaApprovalRequestStatusRequest): MfaApprovalRequestStatusRequest.AsObject;
|
|
6689
|
+
static serializeBinaryToWriter(message: MfaApprovalRequestStatusRequest, writer: jspb.BinaryWriter): void;
|
|
6690
|
+
static deserializeBinary(bytes: Uint8Array): MfaApprovalRequestStatusRequest;
|
|
6691
|
+
static deserializeBinaryFromReader(message: MfaApprovalRequestStatusRequest, reader: jspb.BinaryReader): MfaApprovalRequestStatusRequest;
|
|
6692
|
+
}
|
|
6693
|
+
|
|
6694
|
+
export namespace MfaApprovalRequestStatusRequest {
|
|
6695
|
+
export type AsObject = {
|
|
6696
|
+
requestuuid: string,
|
|
6697
|
+
}
|
|
6698
|
+
}
|
|
6699
|
+
|
|
6700
|
+
export class MfaApprovalRequestStatusResponse extends jspb.Message {
|
|
6701
|
+
getResponsecode(): ResponseCode | undefined;
|
|
6702
|
+
setResponsecode(value?: ResponseCode): MfaApprovalRequestStatusResponse;
|
|
6703
|
+
hasResponsecode(): boolean;
|
|
6704
|
+
clearResponsecode(): MfaApprovalRequestStatusResponse;
|
|
6705
|
+
|
|
6706
|
+
getStatus(): MfaApprovalStatus;
|
|
6707
|
+
setStatus(value: MfaApprovalStatus): MfaApprovalRequestStatusResponse;
|
|
6708
|
+
|
|
6709
|
+
serializeBinary(): Uint8Array;
|
|
6710
|
+
toObject(includeInstance?: boolean): MfaApprovalRequestStatusResponse.AsObject;
|
|
6711
|
+
static toObject(includeInstance: boolean, msg: MfaApprovalRequestStatusResponse): MfaApprovalRequestStatusResponse.AsObject;
|
|
6712
|
+
static serializeBinaryToWriter(message: MfaApprovalRequestStatusResponse, writer: jspb.BinaryWriter): void;
|
|
6713
|
+
static deserializeBinary(bytes: Uint8Array): MfaApprovalRequestStatusResponse;
|
|
6714
|
+
static deserializeBinaryFromReader(message: MfaApprovalRequestStatusResponse, reader: jspb.BinaryReader): MfaApprovalRequestStatusResponse;
|
|
6715
|
+
}
|
|
6716
|
+
|
|
6717
|
+
export namespace MfaApprovalRequestStatusResponse {
|
|
6718
|
+
export type AsObject = {
|
|
6719
|
+
responsecode?: ResponseCode.AsObject,
|
|
6720
|
+
status: MfaApprovalStatus,
|
|
6721
|
+
}
|
|
6722
|
+
}
|
|
6723
|
+
|
|
6610
6724
|
export class CreateSwapTokenRequest extends jspb.Message {
|
|
6611
6725
|
getRedirecturi(): string;
|
|
6612
6726
|
setRedirecturi(value: string): CreateSwapTokenRequest;
|
|
@@ -7039,6 +7153,16 @@ export enum OtpSource {
|
|
|
7039
7153
|
EMAIL = 3,
|
|
7040
7154
|
SMS = 4,
|
|
7041
7155
|
}
|
|
7156
|
+
export enum MfaApprovalPurpose {
|
|
7157
|
+
MFA_APPROVAL_PURPOSE_TEST = 0,
|
|
7158
|
+
MFA_APPROVAL_PURPOSE_PAYMENT = 1,
|
|
7159
|
+
}
|
|
7160
|
+
export enum MfaApprovalStatus {
|
|
7161
|
+
MFA_APPROVAL_PENDING = 0,
|
|
7162
|
+
MFA_APPROVAL_APPROVED = 1,
|
|
7163
|
+
MFA_APPROVAL_REFUSED = 2,
|
|
7164
|
+
MFA_APPROVAL_EXPIRED = 3,
|
|
7165
|
+
}
|
|
7042
7166
|
export enum AppAccountType {
|
|
7043
7167
|
ACCOUNT_TYPE_UNSPECIFIED = 0,
|
|
7044
7168
|
SNIIP = 1,
|
|
@@ -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
|
*/
|