@sniipwebmaster/user-service-client-grpcweb-ts 26.11.16169 → 26.11.16199
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.
|
@@ -6791,6 +6791,49 @@ export class SniipUserServiceServiceClient {
|
|
|
6791
6791
|
this.methodDescriptorDisableMfaSecret);
|
|
6792
6792
|
}
|
|
6793
6793
|
|
|
6794
|
+
methodDescriptorResetUserMfaSecret = new grpcWeb.MethodDescriptor(
|
|
6795
|
+
'/sniipuserservice.SniipUserServiceService/ResetUserMfaSecret',
|
|
6796
|
+
grpcWeb.MethodType.UNARY,
|
|
6797
|
+
service_pb.ResetUserMfaSecretRequest,
|
|
6798
|
+
service_pb.ResponseCode,
|
|
6799
|
+
(request: service_pb.ResetUserMfaSecretRequest) => {
|
|
6800
|
+
return request.serializeBinary();
|
|
6801
|
+
},
|
|
6802
|
+
service_pb.ResponseCode.deserializeBinary
|
|
6803
|
+
);
|
|
6804
|
+
|
|
6805
|
+
resetUserMfaSecret(
|
|
6806
|
+
request: service_pb.ResetUserMfaSecretRequest,
|
|
6807
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
|
|
6808
|
+
|
|
6809
|
+
resetUserMfaSecret(
|
|
6810
|
+
request: service_pb.ResetUserMfaSecretRequest,
|
|
6811
|
+
metadata: grpcWeb.Metadata | null,
|
|
6812
|
+
callback: (err: grpcWeb.RpcError,
|
|
6813
|
+
response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
|
|
6814
|
+
|
|
6815
|
+
resetUserMfaSecret(
|
|
6816
|
+
request: service_pb.ResetUserMfaSecretRequest,
|
|
6817
|
+
metadata?: grpcWeb.Metadata | null,
|
|
6818
|
+
callback?: (err: grpcWeb.RpcError,
|
|
6819
|
+
response: service_pb.ResponseCode) => void) {
|
|
6820
|
+
if (callback !== undefined) {
|
|
6821
|
+
return this.client_.rpcCall(
|
|
6822
|
+
this.hostname_ +
|
|
6823
|
+
'/sniipuserservice.SniipUserServiceService/ResetUserMfaSecret',
|
|
6824
|
+
request,
|
|
6825
|
+
metadata || {},
|
|
6826
|
+
this.methodDescriptorResetUserMfaSecret,
|
|
6827
|
+
callback);
|
|
6828
|
+
}
|
|
6829
|
+
return this.client_.unaryCall(
|
|
6830
|
+
this.hostname_ +
|
|
6831
|
+
'/sniipuserservice.SniipUserServiceService/ResetUserMfaSecret',
|
|
6832
|
+
request,
|
|
6833
|
+
metadata || {},
|
|
6834
|
+
this.methodDescriptorResetUserMfaSecret);
|
|
6835
|
+
}
|
|
6836
|
+
|
|
6794
6837
|
methodDescriptorCreateMfaApprovalRequest = new grpcWeb.MethodDescriptor(
|
|
6795
6838
|
'/sniipuserservice.SniipUserServiceService/CreateMfaApprovalRequest',
|
|
6796
6839
|
grpcWeb.MethodType.UNARY,
|
|
@@ -7565,5 +7608,48 @@ export class SniipUserServiceServiceClient {
|
|
|
7565
7608
|
this.methodDescriptorPurgeExpiredGuestClaimTokens);
|
|
7566
7609
|
}
|
|
7567
7610
|
|
|
7611
|
+
methodDescriptorInternalResolveSocialIdentityWeb = new grpcWeb.MethodDescriptor(
|
|
7612
|
+
'/sniipuserservice.SniipUserServiceService/InternalResolveSocialIdentityWeb',
|
|
7613
|
+
grpcWeb.MethodType.UNARY,
|
|
7614
|
+
service_pb.InternalResolveSocialIdentityWebRequest,
|
|
7615
|
+
service_pb.InternalResolveSocialIdentityWebResponse,
|
|
7616
|
+
(request: service_pb.InternalResolveSocialIdentityWebRequest) => {
|
|
7617
|
+
return request.serializeBinary();
|
|
7618
|
+
},
|
|
7619
|
+
service_pb.InternalResolveSocialIdentityWebResponse.deserializeBinary
|
|
7620
|
+
);
|
|
7621
|
+
|
|
7622
|
+
internalResolveSocialIdentityWeb(
|
|
7623
|
+
request: service_pb.InternalResolveSocialIdentityWebRequest,
|
|
7624
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.InternalResolveSocialIdentityWebResponse>;
|
|
7625
|
+
|
|
7626
|
+
internalResolveSocialIdentityWeb(
|
|
7627
|
+
request: service_pb.InternalResolveSocialIdentityWebRequest,
|
|
7628
|
+
metadata: grpcWeb.Metadata | null,
|
|
7629
|
+
callback: (err: grpcWeb.RpcError,
|
|
7630
|
+
response: service_pb.InternalResolveSocialIdentityWebResponse) => void): grpcWeb.ClientReadableStream<service_pb.InternalResolveSocialIdentityWebResponse>;
|
|
7631
|
+
|
|
7632
|
+
internalResolveSocialIdentityWeb(
|
|
7633
|
+
request: service_pb.InternalResolveSocialIdentityWebRequest,
|
|
7634
|
+
metadata?: grpcWeb.Metadata | null,
|
|
7635
|
+
callback?: (err: grpcWeb.RpcError,
|
|
7636
|
+
response: service_pb.InternalResolveSocialIdentityWebResponse) => void) {
|
|
7637
|
+
if (callback !== undefined) {
|
|
7638
|
+
return this.client_.rpcCall(
|
|
7639
|
+
this.hostname_ +
|
|
7640
|
+
'/sniipuserservice.SniipUserServiceService/InternalResolveSocialIdentityWeb',
|
|
7641
|
+
request,
|
|
7642
|
+
metadata || {},
|
|
7643
|
+
this.methodDescriptorInternalResolveSocialIdentityWeb,
|
|
7644
|
+
callback);
|
|
7645
|
+
}
|
|
7646
|
+
return this.client_.unaryCall(
|
|
7647
|
+
this.hostname_ +
|
|
7648
|
+
'/sniipuserservice.SniipUserServiceService/InternalResolveSocialIdentityWeb',
|
|
7649
|
+
request,
|
|
7650
|
+
metadata || {},
|
|
7651
|
+
this.methodDescriptorInternalResolveSocialIdentityWeb);
|
|
7652
|
+
}
|
|
7653
|
+
|
|
7568
7654
|
}
|
|
7569
7655
|
|
|
@@ -6700,6 +6700,122 @@ export namespace DisableMfaSecretRequest {
|
|
|
6700
6700
|
}
|
|
6701
6701
|
}
|
|
6702
6702
|
|
|
6703
|
+
export class ResetUserMfaSecretRequest extends jspb.Message {
|
|
6704
|
+
getUserid(): number;
|
|
6705
|
+
setUserid(value: number): ResetUserMfaSecretRequest;
|
|
6706
|
+
|
|
6707
|
+
serializeBinary(): Uint8Array;
|
|
6708
|
+
toObject(includeInstance?: boolean): ResetUserMfaSecretRequest.AsObject;
|
|
6709
|
+
static toObject(includeInstance: boolean, msg: ResetUserMfaSecretRequest): ResetUserMfaSecretRequest.AsObject;
|
|
6710
|
+
static serializeBinaryToWriter(message: ResetUserMfaSecretRequest, writer: jspb.BinaryWriter): void;
|
|
6711
|
+
static deserializeBinary(bytes: Uint8Array): ResetUserMfaSecretRequest;
|
|
6712
|
+
static deserializeBinaryFromReader(message: ResetUserMfaSecretRequest, reader: jspb.BinaryReader): ResetUserMfaSecretRequest;
|
|
6713
|
+
}
|
|
6714
|
+
|
|
6715
|
+
export namespace ResetUserMfaSecretRequest {
|
|
6716
|
+
export type AsObject = {
|
|
6717
|
+
userid: number,
|
|
6718
|
+
}
|
|
6719
|
+
}
|
|
6720
|
+
|
|
6721
|
+
export class InternalResolveSocialIdentityWebRequest extends jspb.Message {
|
|
6722
|
+
getProvider(): string;
|
|
6723
|
+
setProvider(value: string): InternalResolveSocialIdentityWebRequest;
|
|
6724
|
+
|
|
6725
|
+
getAccesstoken(): string;
|
|
6726
|
+
setAccesstoken(value: string): InternalResolveSocialIdentityWebRequest;
|
|
6727
|
+
|
|
6728
|
+
getJwt(): string;
|
|
6729
|
+
setJwt(value: string): InternalResolveSocialIdentityWebRequest;
|
|
6730
|
+
|
|
6731
|
+
getFirstname(): string;
|
|
6732
|
+
setFirstname(value: string): InternalResolveSocialIdentityWebRequest;
|
|
6733
|
+
|
|
6734
|
+
getLastname(): string;
|
|
6735
|
+
setLastname(value: string): InternalResolveSocialIdentityWebRequest;
|
|
6736
|
+
|
|
6737
|
+
serializeBinary(): Uint8Array;
|
|
6738
|
+
toObject(includeInstance?: boolean): InternalResolveSocialIdentityWebRequest.AsObject;
|
|
6739
|
+
static toObject(includeInstance: boolean, msg: InternalResolveSocialIdentityWebRequest): InternalResolveSocialIdentityWebRequest.AsObject;
|
|
6740
|
+
static serializeBinaryToWriter(message: InternalResolveSocialIdentityWebRequest, writer: jspb.BinaryWriter): void;
|
|
6741
|
+
static deserializeBinary(bytes: Uint8Array): InternalResolveSocialIdentityWebRequest;
|
|
6742
|
+
static deserializeBinaryFromReader(message: InternalResolveSocialIdentityWebRequest, reader: jspb.BinaryReader): InternalResolveSocialIdentityWebRequest;
|
|
6743
|
+
}
|
|
6744
|
+
|
|
6745
|
+
export namespace InternalResolveSocialIdentityWebRequest {
|
|
6746
|
+
export type AsObject = {
|
|
6747
|
+
provider: string,
|
|
6748
|
+
accesstoken: string,
|
|
6749
|
+
jwt: string,
|
|
6750
|
+
firstname: string,
|
|
6751
|
+
lastname: string,
|
|
6752
|
+
}
|
|
6753
|
+
}
|
|
6754
|
+
|
|
6755
|
+
export class InternalResolveSocialIdentityWebResponse extends jspb.Message {
|
|
6756
|
+
getResponsecode(): ResponseCode | undefined;
|
|
6757
|
+
setResponsecode(value?: ResponseCode): InternalResolveSocialIdentityWebResponse;
|
|
6758
|
+
hasResponsecode(): boolean;
|
|
6759
|
+
clearResponsecode(): InternalResolveSocialIdentityWebResponse;
|
|
6760
|
+
|
|
6761
|
+
getFound(): boolean;
|
|
6762
|
+
setFound(value: boolean): InternalResolveSocialIdentityWebResponse;
|
|
6763
|
+
|
|
6764
|
+
getUserid(): number;
|
|
6765
|
+
setUserid(value: number): InternalResolveSocialIdentityWebResponse;
|
|
6766
|
+
|
|
6767
|
+
getEmail(): string;
|
|
6768
|
+
setEmail(value: string): InternalResolveSocialIdentityWebResponse;
|
|
6769
|
+
|
|
6770
|
+
getFirstname(): string;
|
|
6771
|
+
setFirstname(value: string): InternalResolveSocialIdentityWebResponse;
|
|
6772
|
+
|
|
6773
|
+
getLastname(): string;
|
|
6774
|
+
setLastname(value: string): InternalResolveSocialIdentityWebResponse;
|
|
6775
|
+
|
|
6776
|
+
getAppaccounttype(): string;
|
|
6777
|
+
setAppaccounttype(value: string): InternalResolveSocialIdentityWebResponse;
|
|
6778
|
+
|
|
6779
|
+
getRolesList(): Array<string>;
|
|
6780
|
+
setRolesList(value: Array<string>): InternalResolveSocialIdentityWebResponse;
|
|
6781
|
+
clearRolesList(): InternalResolveSocialIdentityWebResponse;
|
|
6782
|
+
addRoles(value: string, index?: number): InternalResolveSocialIdentityWebResponse;
|
|
6783
|
+
|
|
6784
|
+
getPermissionsList(): Array<string>;
|
|
6785
|
+
setPermissionsList(value: Array<string>): InternalResolveSocialIdentityWebResponse;
|
|
6786
|
+
clearPermissionsList(): InternalResolveSocialIdentityWebResponse;
|
|
6787
|
+
addPermissions(value: string, index?: number): InternalResolveSocialIdentityWebResponse;
|
|
6788
|
+
|
|
6789
|
+
getMfaenabled(): boolean;
|
|
6790
|
+
setMfaenabled(value: boolean): InternalResolveSocialIdentityWebResponse;
|
|
6791
|
+
|
|
6792
|
+
getAccountlocked(): boolean;
|
|
6793
|
+
setAccountlocked(value: boolean): InternalResolveSocialIdentityWebResponse;
|
|
6794
|
+
|
|
6795
|
+
serializeBinary(): Uint8Array;
|
|
6796
|
+
toObject(includeInstance?: boolean): InternalResolveSocialIdentityWebResponse.AsObject;
|
|
6797
|
+
static toObject(includeInstance: boolean, msg: InternalResolveSocialIdentityWebResponse): InternalResolveSocialIdentityWebResponse.AsObject;
|
|
6798
|
+
static serializeBinaryToWriter(message: InternalResolveSocialIdentityWebResponse, writer: jspb.BinaryWriter): void;
|
|
6799
|
+
static deserializeBinary(bytes: Uint8Array): InternalResolveSocialIdentityWebResponse;
|
|
6800
|
+
static deserializeBinaryFromReader(message: InternalResolveSocialIdentityWebResponse, reader: jspb.BinaryReader): InternalResolveSocialIdentityWebResponse;
|
|
6801
|
+
}
|
|
6802
|
+
|
|
6803
|
+
export namespace InternalResolveSocialIdentityWebResponse {
|
|
6804
|
+
export type AsObject = {
|
|
6805
|
+
responsecode?: ResponseCode.AsObject,
|
|
6806
|
+
found: boolean,
|
|
6807
|
+
userid: number,
|
|
6808
|
+
email: string,
|
|
6809
|
+
firstname: string,
|
|
6810
|
+
lastname: string,
|
|
6811
|
+
appaccounttype: string,
|
|
6812
|
+
rolesList: Array<string>,
|
|
6813
|
+
permissionsList: Array<string>,
|
|
6814
|
+
mfaenabled: boolean,
|
|
6815
|
+
accountlocked: boolean,
|
|
6816
|
+
}
|
|
6817
|
+
}
|
|
6818
|
+
|
|
6703
6819
|
export class CreateMfaApprovalRequestRequest extends jspb.Message {
|
|
6704
6820
|
getPurpose(): MfaApprovalPurpose;
|
|
6705
6821
|
setPurpose(value: MfaApprovalPurpose): CreateMfaApprovalRequestRequest;
|
|
@@ -126,6 +126,8 @@ goog.exportSymbol('proto.sniipuserservice.GuestAttemptKind', null, global);
|
|
|
126
126
|
goog.exportSymbol('proto.sniipuserservice.GuestCardAttemptOutcome', null, global);
|
|
127
127
|
goog.exportSymbol('proto.sniipuserservice.InternalCompleteBinRevealRequest', null, global);
|
|
128
128
|
goog.exportSymbol('proto.sniipuserservice.InternalRecordBinRevealRequest', null, global);
|
|
129
|
+
goog.exportSymbol('proto.sniipuserservice.InternalResolveSocialIdentityWebRequest', null, global);
|
|
130
|
+
goog.exportSymbol('proto.sniipuserservice.InternalResolveSocialIdentityWebResponse', null, global);
|
|
129
131
|
goog.exportSymbol('proto.sniipuserservice.InternalValidateMfaOtpRequest', null, global);
|
|
130
132
|
goog.exportSymbol('proto.sniipuserservice.InternalValidatePasswordRequest', null, global);
|
|
131
133
|
goog.exportSymbol('proto.sniipuserservice.InternalValidatePinRequest', null, global);
|
|
@@ -201,6 +203,7 @@ goog.exportSymbol('proto.sniipuserservice.RemoveUserAccountRequest', null, globa
|
|
|
201
203
|
goog.exportSymbol('proto.sniipuserservice.ResetPasswordEmailRequest', null, global);
|
|
202
204
|
goog.exportSymbol('proto.sniipuserservice.ResetPasswordMobileRequest', null, global);
|
|
203
205
|
goog.exportSymbol('proto.sniipuserservice.ResetPinRequest', null, global);
|
|
206
|
+
goog.exportSymbol('proto.sniipuserservice.ResetUserMfaSecretRequest', null, global);
|
|
204
207
|
goog.exportSymbol('proto.sniipuserservice.ResolveMfaApprovalRequestRequest', null, global);
|
|
205
208
|
goog.exportSymbol('proto.sniipuserservice.ResponseCode', null, global);
|
|
206
209
|
goog.exportSymbol('proto.sniipuserservice.RevokeTemporaryAccessTokenRequest', null, global);
|
|
@@ -4949,6 +4952,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4949
4952
|
*/
|
|
4950
4953
|
proto.sniipuserservice.DisableMfaSecretRequest.displayName = 'proto.sniipuserservice.DisableMfaSecretRequest';
|
|
4951
4954
|
}
|
|
4955
|
+
/**
|
|
4956
|
+
* Generated by JsPbCodeGenerator.
|
|
4957
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4958
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4959
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4960
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4961
|
+
* valid.
|
|
4962
|
+
* @extends {jspb.Message}
|
|
4963
|
+
* @constructor
|
|
4964
|
+
*/
|
|
4965
|
+
proto.sniipuserservice.ResetUserMfaSecretRequest = function(opt_data) {
|
|
4966
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4967
|
+
};
|
|
4968
|
+
goog.inherits(proto.sniipuserservice.ResetUserMfaSecretRequest, jspb.Message);
|
|
4969
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4970
|
+
/**
|
|
4971
|
+
* @public
|
|
4972
|
+
* @override
|
|
4973
|
+
*/
|
|
4974
|
+
proto.sniipuserservice.ResetUserMfaSecretRequest.displayName = 'proto.sniipuserservice.ResetUserMfaSecretRequest';
|
|
4975
|
+
}
|
|
4976
|
+
/**
|
|
4977
|
+
* Generated by JsPbCodeGenerator.
|
|
4978
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4979
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4980
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4981
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4982
|
+
* valid.
|
|
4983
|
+
* @extends {jspb.Message}
|
|
4984
|
+
* @constructor
|
|
4985
|
+
*/
|
|
4986
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest = function(opt_data) {
|
|
4987
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4988
|
+
};
|
|
4989
|
+
goog.inherits(proto.sniipuserservice.InternalResolveSocialIdentityWebRequest, jspb.Message);
|
|
4990
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4991
|
+
/**
|
|
4992
|
+
* @public
|
|
4993
|
+
* @override
|
|
4994
|
+
*/
|
|
4995
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.displayName = 'proto.sniipuserservice.InternalResolveSocialIdentityWebRequest';
|
|
4996
|
+
}
|
|
4997
|
+
/**
|
|
4998
|
+
* Generated by JsPbCodeGenerator.
|
|
4999
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5000
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5001
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5002
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5003
|
+
* valid.
|
|
5004
|
+
* @extends {jspb.Message}
|
|
5005
|
+
* @constructor
|
|
5006
|
+
*/
|
|
5007
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse = function(opt_data) {
|
|
5008
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.repeatedFields_, null);
|
|
5009
|
+
};
|
|
5010
|
+
goog.inherits(proto.sniipuserservice.InternalResolveSocialIdentityWebResponse, jspb.Message);
|
|
5011
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5012
|
+
/**
|
|
5013
|
+
* @public
|
|
5014
|
+
* @override
|
|
5015
|
+
*/
|
|
5016
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.displayName = 'proto.sniipuserservice.InternalResolveSocialIdentityWebResponse';
|
|
5017
|
+
}
|
|
4952
5018
|
/**
|
|
4953
5019
|
* Generated by JsPbCodeGenerator.
|
|
4954
5020
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -55230,6 +55296,882 @@ proto.sniipuserservice.DisableMfaSecretRequest.prototype.setOtpsource = function
|
|
|
55230
55296
|
|
|
55231
55297
|
|
|
55232
55298
|
|
|
55299
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
55300
|
+
/**
|
|
55301
|
+
* Creates an object representation of this proto.
|
|
55302
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55303
|
+
* Optional fields that are not set will be set to undefined.
|
|
55304
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
55305
|
+
* For the list of reserved names please see:
|
|
55306
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
55307
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
55308
|
+
* JSPB instance for transitional soy proto support:
|
|
55309
|
+
* http://goto/soy-param-migration
|
|
55310
|
+
* @return {!Object}
|
|
55311
|
+
*/
|
|
55312
|
+
proto.sniipuserservice.ResetUserMfaSecretRequest.prototype.toObject = function(opt_includeInstance) {
|
|
55313
|
+
return proto.sniipuserservice.ResetUserMfaSecretRequest.toObject(opt_includeInstance, this);
|
|
55314
|
+
};
|
|
55315
|
+
|
|
55316
|
+
|
|
55317
|
+
/**
|
|
55318
|
+
* Static version of the {@see toObject} method.
|
|
55319
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
55320
|
+
* the JSPB instance for transitional soy proto support:
|
|
55321
|
+
* http://goto/soy-param-migration
|
|
55322
|
+
* @param {!proto.sniipuserservice.ResetUserMfaSecretRequest} msg The msg instance to transform.
|
|
55323
|
+
* @return {!Object}
|
|
55324
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55325
|
+
*/
|
|
55326
|
+
proto.sniipuserservice.ResetUserMfaSecretRequest.toObject = function(includeInstance, msg) {
|
|
55327
|
+
var f, obj = {
|
|
55328
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
55329
|
+
};
|
|
55330
|
+
|
|
55331
|
+
if (includeInstance) {
|
|
55332
|
+
obj.$jspbMessageInstance = msg;
|
|
55333
|
+
}
|
|
55334
|
+
return obj;
|
|
55335
|
+
};
|
|
55336
|
+
}
|
|
55337
|
+
|
|
55338
|
+
|
|
55339
|
+
/**
|
|
55340
|
+
* Deserializes binary data (in protobuf wire format).
|
|
55341
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
55342
|
+
* @return {!proto.sniipuserservice.ResetUserMfaSecretRequest}
|
|
55343
|
+
*/
|
|
55344
|
+
proto.sniipuserservice.ResetUserMfaSecretRequest.deserializeBinary = function(bytes) {
|
|
55345
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
55346
|
+
var msg = new proto.sniipuserservice.ResetUserMfaSecretRequest;
|
|
55347
|
+
return proto.sniipuserservice.ResetUserMfaSecretRequest.deserializeBinaryFromReader(msg, reader);
|
|
55348
|
+
};
|
|
55349
|
+
|
|
55350
|
+
|
|
55351
|
+
/**
|
|
55352
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
55353
|
+
* given reader into the given message object.
|
|
55354
|
+
* @param {!proto.sniipuserservice.ResetUserMfaSecretRequest} msg The message object to deserialize into.
|
|
55355
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
55356
|
+
* @return {!proto.sniipuserservice.ResetUserMfaSecretRequest}
|
|
55357
|
+
*/
|
|
55358
|
+
proto.sniipuserservice.ResetUserMfaSecretRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
55359
|
+
while (reader.nextField()) {
|
|
55360
|
+
if (reader.isEndGroup()) {
|
|
55361
|
+
break;
|
|
55362
|
+
}
|
|
55363
|
+
var field = reader.getFieldNumber();
|
|
55364
|
+
switch (field) {
|
|
55365
|
+
case 1:
|
|
55366
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
55367
|
+
msg.setUserid(value);
|
|
55368
|
+
break;
|
|
55369
|
+
default:
|
|
55370
|
+
reader.skipField();
|
|
55371
|
+
break;
|
|
55372
|
+
}
|
|
55373
|
+
}
|
|
55374
|
+
return msg;
|
|
55375
|
+
};
|
|
55376
|
+
|
|
55377
|
+
|
|
55378
|
+
/**
|
|
55379
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
55380
|
+
* @return {!Uint8Array}
|
|
55381
|
+
*/
|
|
55382
|
+
proto.sniipuserservice.ResetUserMfaSecretRequest.prototype.serializeBinary = function() {
|
|
55383
|
+
var writer = new jspb.BinaryWriter();
|
|
55384
|
+
proto.sniipuserservice.ResetUserMfaSecretRequest.serializeBinaryToWriter(this, writer);
|
|
55385
|
+
return writer.getResultBuffer();
|
|
55386
|
+
};
|
|
55387
|
+
|
|
55388
|
+
|
|
55389
|
+
/**
|
|
55390
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
55391
|
+
* format), writing to the given BinaryWriter.
|
|
55392
|
+
* @param {!proto.sniipuserservice.ResetUserMfaSecretRequest} message
|
|
55393
|
+
* @param {!jspb.BinaryWriter} writer
|
|
55394
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55395
|
+
*/
|
|
55396
|
+
proto.sniipuserservice.ResetUserMfaSecretRequest.serializeBinaryToWriter = function(message, writer) {
|
|
55397
|
+
var f = undefined;
|
|
55398
|
+
f = message.getUserid();
|
|
55399
|
+
if (f !== 0) {
|
|
55400
|
+
writer.writeInt64(
|
|
55401
|
+
1,
|
|
55402
|
+
f
|
|
55403
|
+
);
|
|
55404
|
+
}
|
|
55405
|
+
};
|
|
55406
|
+
|
|
55407
|
+
|
|
55408
|
+
/**
|
|
55409
|
+
* optional int64 userId = 1;
|
|
55410
|
+
* @return {number}
|
|
55411
|
+
*/
|
|
55412
|
+
proto.sniipuserservice.ResetUserMfaSecretRequest.prototype.getUserid = function() {
|
|
55413
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
55414
|
+
};
|
|
55415
|
+
|
|
55416
|
+
|
|
55417
|
+
/**
|
|
55418
|
+
* @param {number} value
|
|
55419
|
+
* @return {!proto.sniipuserservice.ResetUserMfaSecretRequest} returns this
|
|
55420
|
+
*/
|
|
55421
|
+
proto.sniipuserservice.ResetUserMfaSecretRequest.prototype.setUserid = function(value) {
|
|
55422
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
55423
|
+
};
|
|
55424
|
+
|
|
55425
|
+
|
|
55426
|
+
|
|
55427
|
+
|
|
55428
|
+
|
|
55429
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
55430
|
+
/**
|
|
55431
|
+
* Creates an object representation of this proto.
|
|
55432
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55433
|
+
* Optional fields that are not set will be set to undefined.
|
|
55434
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
55435
|
+
* For the list of reserved names please see:
|
|
55436
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
55437
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
55438
|
+
* JSPB instance for transitional soy proto support:
|
|
55439
|
+
* http://goto/soy-param-migration
|
|
55440
|
+
* @return {!Object}
|
|
55441
|
+
*/
|
|
55442
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.toObject = function(opt_includeInstance) {
|
|
55443
|
+
return proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.toObject(opt_includeInstance, this);
|
|
55444
|
+
};
|
|
55445
|
+
|
|
55446
|
+
|
|
55447
|
+
/**
|
|
55448
|
+
* Static version of the {@see toObject} method.
|
|
55449
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
55450
|
+
* the JSPB instance for transitional soy proto support:
|
|
55451
|
+
* http://goto/soy-param-migration
|
|
55452
|
+
* @param {!proto.sniipuserservice.InternalResolveSocialIdentityWebRequest} msg The msg instance to transform.
|
|
55453
|
+
* @return {!Object}
|
|
55454
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55455
|
+
*/
|
|
55456
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.toObject = function(includeInstance, msg) {
|
|
55457
|
+
var f, obj = {
|
|
55458
|
+
provider: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
55459
|
+
accesstoken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
55460
|
+
jwt: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
55461
|
+
firstname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
55462
|
+
lastname: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
55463
|
+
};
|
|
55464
|
+
|
|
55465
|
+
if (includeInstance) {
|
|
55466
|
+
obj.$jspbMessageInstance = msg;
|
|
55467
|
+
}
|
|
55468
|
+
return obj;
|
|
55469
|
+
};
|
|
55470
|
+
}
|
|
55471
|
+
|
|
55472
|
+
|
|
55473
|
+
/**
|
|
55474
|
+
* Deserializes binary data (in protobuf wire format).
|
|
55475
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
55476
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebRequest}
|
|
55477
|
+
*/
|
|
55478
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.deserializeBinary = function(bytes) {
|
|
55479
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
55480
|
+
var msg = new proto.sniipuserservice.InternalResolveSocialIdentityWebRequest;
|
|
55481
|
+
return proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.deserializeBinaryFromReader(msg, reader);
|
|
55482
|
+
};
|
|
55483
|
+
|
|
55484
|
+
|
|
55485
|
+
/**
|
|
55486
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
55487
|
+
* given reader into the given message object.
|
|
55488
|
+
* @param {!proto.sniipuserservice.InternalResolveSocialIdentityWebRequest} msg The message object to deserialize into.
|
|
55489
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
55490
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebRequest}
|
|
55491
|
+
*/
|
|
55492
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
55493
|
+
while (reader.nextField()) {
|
|
55494
|
+
if (reader.isEndGroup()) {
|
|
55495
|
+
break;
|
|
55496
|
+
}
|
|
55497
|
+
var field = reader.getFieldNumber();
|
|
55498
|
+
switch (field) {
|
|
55499
|
+
case 1:
|
|
55500
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55501
|
+
msg.setProvider(value);
|
|
55502
|
+
break;
|
|
55503
|
+
case 2:
|
|
55504
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55505
|
+
msg.setAccesstoken(value);
|
|
55506
|
+
break;
|
|
55507
|
+
case 3:
|
|
55508
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55509
|
+
msg.setJwt(value);
|
|
55510
|
+
break;
|
|
55511
|
+
case 4:
|
|
55512
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55513
|
+
msg.setFirstname(value);
|
|
55514
|
+
break;
|
|
55515
|
+
case 5:
|
|
55516
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55517
|
+
msg.setLastname(value);
|
|
55518
|
+
break;
|
|
55519
|
+
default:
|
|
55520
|
+
reader.skipField();
|
|
55521
|
+
break;
|
|
55522
|
+
}
|
|
55523
|
+
}
|
|
55524
|
+
return msg;
|
|
55525
|
+
};
|
|
55526
|
+
|
|
55527
|
+
|
|
55528
|
+
/**
|
|
55529
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
55530
|
+
* @return {!Uint8Array}
|
|
55531
|
+
*/
|
|
55532
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.serializeBinary = function() {
|
|
55533
|
+
var writer = new jspb.BinaryWriter();
|
|
55534
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.serializeBinaryToWriter(this, writer);
|
|
55535
|
+
return writer.getResultBuffer();
|
|
55536
|
+
};
|
|
55537
|
+
|
|
55538
|
+
|
|
55539
|
+
/**
|
|
55540
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
55541
|
+
* format), writing to the given BinaryWriter.
|
|
55542
|
+
* @param {!proto.sniipuserservice.InternalResolveSocialIdentityWebRequest} message
|
|
55543
|
+
* @param {!jspb.BinaryWriter} writer
|
|
55544
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55545
|
+
*/
|
|
55546
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.serializeBinaryToWriter = function(message, writer) {
|
|
55547
|
+
var f = undefined;
|
|
55548
|
+
f = message.getProvider();
|
|
55549
|
+
if (f.length > 0) {
|
|
55550
|
+
writer.writeString(
|
|
55551
|
+
1,
|
|
55552
|
+
f
|
|
55553
|
+
);
|
|
55554
|
+
}
|
|
55555
|
+
f = message.getAccesstoken();
|
|
55556
|
+
if (f.length > 0) {
|
|
55557
|
+
writer.writeString(
|
|
55558
|
+
2,
|
|
55559
|
+
f
|
|
55560
|
+
);
|
|
55561
|
+
}
|
|
55562
|
+
f = message.getJwt();
|
|
55563
|
+
if (f.length > 0) {
|
|
55564
|
+
writer.writeString(
|
|
55565
|
+
3,
|
|
55566
|
+
f
|
|
55567
|
+
);
|
|
55568
|
+
}
|
|
55569
|
+
f = message.getFirstname();
|
|
55570
|
+
if (f.length > 0) {
|
|
55571
|
+
writer.writeString(
|
|
55572
|
+
4,
|
|
55573
|
+
f
|
|
55574
|
+
);
|
|
55575
|
+
}
|
|
55576
|
+
f = message.getLastname();
|
|
55577
|
+
if (f.length > 0) {
|
|
55578
|
+
writer.writeString(
|
|
55579
|
+
5,
|
|
55580
|
+
f
|
|
55581
|
+
);
|
|
55582
|
+
}
|
|
55583
|
+
};
|
|
55584
|
+
|
|
55585
|
+
|
|
55586
|
+
/**
|
|
55587
|
+
* optional string provider = 1;
|
|
55588
|
+
* @return {string}
|
|
55589
|
+
*/
|
|
55590
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.getProvider = function() {
|
|
55591
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
55592
|
+
};
|
|
55593
|
+
|
|
55594
|
+
|
|
55595
|
+
/**
|
|
55596
|
+
* @param {string} value
|
|
55597
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebRequest} returns this
|
|
55598
|
+
*/
|
|
55599
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.setProvider = function(value) {
|
|
55600
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
55601
|
+
};
|
|
55602
|
+
|
|
55603
|
+
|
|
55604
|
+
/**
|
|
55605
|
+
* optional string accessToken = 2;
|
|
55606
|
+
* @return {string}
|
|
55607
|
+
*/
|
|
55608
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.getAccesstoken = function() {
|
|
55609
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
55610
|
+
};
|
|
55611
|
+
|
|
55612
|
+
|
|
55613
|
+
/**
|
|
55614
|
+
* @param {string} value
|
|
55615
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebRequest} returns this
|
|
55616
|
+
*/
|
|
55617
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.setAccesstoken = function(value) {
|
|
55618
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
55619
|
+
};
|
|
55620
|
+
|
|
55621
|
+
|
|
55622
|
+
/**
|
|
55623
|
+
* optional string jwt = 3;
|
|
55624
|
+
* @return {string}
|
|
55625
|
+
*/
|
|
55626
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.getJwt = function() {
|
|
55627
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
55628
|
+
};
|
|
55629
|
+
|
|
55630
|
+
|
|
55631
|
+
/**
|
|
55632
|
+
* @param {string} value
|
|
55633
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebRequest} returns this
|
|
55634
|
+
*/
|
|
55635
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.setJwt = function(value) {
|
|
55636
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
55637
|
+
};
|
|
55638
|
+
|
|
55639
|
+
|
|
55640
|
+
/**
|
|
55641
|
+
* optional string firstName = 4;
|
|
55642
|
+
* @return {string}
|
|
55643
|
+
*/
|
|
55644
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.getFirstname = function() {
|
|
55645
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
55646
|
+
};
|
|
55647
|
+
|
|
55648
|
+
|
|
55649
|
+
/**
|
|
55650
|
+
* @param {string} value
|
|
55651
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebRequest} returns this
|
|
55652
|
+
*/
|
|
55653
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.setFirstname = function(value) {
|
|
55654
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
55655
|
+
};
|
|
55656
|
+
|
|
55657
|
+
|
|
55658
|
+
/**
|
|
55659
|
+
* optional string lastName = 5;
|
|
55660
|
+
* @return {string}
|
|
55661
|
+
*/
|
|
55662
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.getLastname = function() {
|
|
55663
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
55664
|
+
};
|
|
55665
|
+
|
|
55666
|
+
|
|
55667
|
+
/**
|
|
55668
|
+
* @param {string} value
|
|
55669
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebRequest} returns this
|
|
55670
|
+
*/
|
|
55671
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebRequest.prototype.setLastname = function(value) {
|
|
55672
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
55673
|
+
};
|
|
55674
|
+
|
|
55675
|
+
|
|
55676
|
+
|
|
55677
|
+
/**
|
|
55678
|
+
* List of repeated fields within this message type.
|
|
55679
|
+
* @private {!Array<number>}
|
|
55680
|
+
* @const
|
|
55681
|
+
*/
|
|
55682
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.repeatedFields_ = [8,9];
|
|
55683
|
+
|
|
55684
|
+
|
|
55685
|
+
|
|
55686
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
55687
|
+
/**
|
|
55688
|
+
* Creates an object representation of this proto.
|
|
55689
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55690
|
+
* Optional fields that are not set will be set to undefined.
|
|
55691
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
55692
|
+
* For the list of reserved names please see:
|
|
55693
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
55694
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
55695
|
+
* JSPB instance for transitional soy proto support:
|
|
55696
|
+
* http://goto/soy-param-migration
|
|
55697
|
+
* @return {!Object}
|
|
55698
|
+
*/
|
|
55699
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.toObject = function(opt_includeInstance) {
|
|
55700
|
+
return proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.toObject(opt_includeInstance, this);
|
|
55701
|
+
};
|
|
55702
|
+
|
|
55703
|
+
|
|
55704
|
+
/**
|
|
55705
|
+
* Static version of the {@see toObject} method.
|
|
55706
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
55707
|
+
* the JSPB instance for transitional soy proto support:
|
|
55708
|
+
* http://goto/soy-param-migration
|
|
55709
|
+
* @param {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} msg The msg instance to transform.
|
|
55710
|
+
* @return {!Object}
|
|
55711
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55712
|
+
*/
|
|
55713
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.toObject = function(includeInstance, msg) {
|
|
55714
|
+
var f, obj = {
|
|
55715
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f),
|
|
55716
|
+
found: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
55717
|
+
userid: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
55718
|
+
email: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
55719
|
+
firstname: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
55720
|
+
lastname: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
55721
|
+
appaccounttype: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
55722
|
+
rolesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
55723
|
+
permissionsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
55724
|
+
mfaenabled: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
55725
|
+
accountlocked: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
55726
|
+
};
|
|
55727
|
+
|
|
55728
|
+
if (includeInstance) {
|
|
55729
|
+
obj.$jspbMessageInstance = msg;
|
|
55730
|
+
}
|
|
55731
|
+
return obj;
|
|
55732
|
+
};
|
|
55733
|
+
}
|
|
55734
|
+
|
|
55735
|
+
|
|
55736
|
+
/**
|
|
55737
|
+
* Deserializes binary data (in protobuf wire format).
|
|
55738
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
55739
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse}
|
|
55740
|
+
*/
|
|
55741
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.deserializeBinary = function(bytes) {
|
|
55742
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
55743
|
+
var msg = new proto.sniipuserservice.InternalResolveSocialIdentityWebResponse;
|
|
55744
|
+
return proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.deserializeBinaryFromReader(msg, reader);
|
|
55745
|
+
};
|
|
55746
|
+
|
|
55747
|
+
|
|
55748
|
+
/**
|
|
55749
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
55750
|
+
* given reader into the given message object.
|
|
55751
|
+
* @param {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} msg The message object to deserialize into.
|
|
55752
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
55753
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse}
|
|
55754
|
+
*/
|
|
55755
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
55756
|
+
while (reader.nextField()) {
|
|
55757
|
+
if (reader.isEndGroup()) {
|
|
55758
|
+
break;
|
|
55759
|
+
}
|
|
55760
|
+
var field = reader.getFieldNumber();
|
|
55761
|
+
switch (field) {
|
|
55762
|
+
case 1:
|
|
55763
|
+
var value = new proto.sniipuserservice.ResponseCode;
|
|
55764
|
+
reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
|
|
55765
|
+
msg.setResponsecode(value);
|
|
55766
|
+
break;
|
|
55767
|
+
case 2:
|
|
55768
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
55769
|
+
msg.setFound(value);
|
|
55770
|
+
break;
|
|
55771
|
+
case 3:
|
|
55772
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
55773
|
+
msg.setUserid(value);
|
|
55774
|
+
break;
|
|
55775
|
+
case 4:
|
|
55776
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55777
|
+
msg.setEmail(value);
|
|
55778
|
+
break;
|
|
55779
|
+
case 5:
|
|
55780
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55781
|
+
msg.setFirstname(value);
|
|
55782
|
+
break;
|
|
55783
|
+
case 6:
|
|
55784
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55785
|
+
msg.setLastname(value);
|
|
55786
|
+
break;
|
|
55787
|
+
case 7:
|
|
55788
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55789
|
+
msg.setAppaccounttype(value);
|
|
55790
|
+
break;
|
|
55791
|
+
case 8:
|
|
55792
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55793
|
+
msg.addRoles(value);
|
|
55794
|
+
break;
|
|
55795
|
+
case 9:
|
|
55796
|
+
var value = /** @type {string} */ (reader.readString());
|
|
55797
|
+
msg.addPermissions(value);
|
|
55798
|
+
break;
|
|
55799
|
+
case 10:
|
|
55800
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
55801
|
+
msg.setMfaenabled(value);
|
|
55802
|
+
break;
|
|
55803
|
+
case 11:
|
|
55804
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
55805
|
+
msg.setAccountlocked(value);
|
|
55806
|
+
break;
|
|
55807
|
+
default:
|
|
55808
|
+
reader.skipField();
|
|
55809
|
+
break;
|
|
55810
|
+
}
|
|
55811
|
+
}
|
|
55812
|
+
return msg;
|
|
55813
|
+
};
|
|
55814
|
+
|
|
55815
|
+
|
|
55816
|
+
/**
|
|
55817
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
55818
|
+
* @return {!Uint8Array}
|
|
55819
|
+
*/
|
|
55820
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.serializeBinary = function() {
|
|
55821
|
+
var writer = new jspb.BinaryWriter();
|
|
55822
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.serializeBinaryToWriter(this, writer);
|
|
55823
|
+
return writer.getResultBuffer();
|
|
55824
|
+
};
|
|
55825
|
+
|
|
55826
|
+
|
|
55827
|
+
/**
|
|
55828
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
55829
|
+
* format), writing to the given BinaryWriter.
|
|
55830
|
+
* @param {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} message
|
|
55831
|
+
* @param {!jspb.BinaryWriter} writer
|
|
55832
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55833
|
+
*/
|
|
55834
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.serializeBinaryToWriter = function(message, writer) {
|
|
55835
|
+
var f = undefined;
|
|
55836
|
+
f = message.getResponsecode();
|
|
55837
|
+
if (f != null) {
|
|
55838
|
+
writer.writeMessage(
|
|
55839
|
+
1,
|
|
55840
|
+
f,
|
|
55841
|
+
proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
|
|
55842
|
+
);
|
|
55843
|
+
}
|
|
55844
|
+
f = message.getFound();
|
|
55845
|
+
if (f) {
|
|
55846
|
+
writer.writeBool(
|
|
55847
|
+
2,
|
|
55848
|
+
f
|
|
55849
|
+
);
|
|
55850
|
+
}
|
|
55851
|
+
f = message.getUserid();
|
|
55852
|
+
if (f !== 0) {
|
|
55853
|
+
writer.writeInt64(
|
|
55854
|
+
3,
|
|
55855
|
+
f
|
|
55856
|
+
);
|
|
55857
|
+
}
|
|
55858
|
+
f = message.getEmail();
|
|
55859
|
+
if (f.length > 0) {
|
|
55860
|
+
writer.writeString(
|
|
55861
|
+
4,
|
|
55862
|
+
f
|
|
55863
|
+
);
|
|
55864
|
+
}
|
|
55865
|
+
f = message.getFirstname();
|
|
55866
|
+
if (f.length > 0) {
|
|
55867
|
+
writer.writeString(
|
|
55868
|
+
5,
|
|
55869
|
+
f
|
|
55870
|
+
);
|
|
55871
|
+
}
|
|
55872
|
+
f = message.getLastname();
|
|
55873
|
+
if (f.length > 0) {
|
|
55874
|
+
writer.writeString(
|
|
55875
|
+
6,
|
|
55876
|
+
f
|
|
55877
|
+
);
|
|
55878
|
+
}
|
|
55879
|
+
f = message.getAppaccounttype();
|
|
55880
|
+
if (f.length > 0) {
|
|
55881
|
+
writer.writeString(
|
|
55882
|
+
7,
|
|
55883
|
+
f
|
|
55884
|
+
);
|
|
55885
|
+
}
|
|
55886
|
+
f = message.getRolesList();
|
|
55887
|
+
if (f.length > 0) {
|
|
55888
|
+
writer.writeRepeatedString(
|
|
55889
|
+
8,
|
|
55890
|
+
f
|
|
55891
|
+
);
|
|
55892
|
+
}
|
|
55893
|
+
f = message.getPermissionsList();
|
|
55894
|
+
if (f.length > 0) {
|
|
55895
|
+
writer.writeRepeatedString(
|
|
55896
|
+
9,
|
|
55897
|
+
f
|
|
55898
|
+
);
|
|
55899
|
+
}
|
|
55900
|
+
f = message.getMfaenabled();
|
|
55901
|
+
if (f) {
|
|
55902
|
+
writer.writeBool(
|
|
55903
|
+
10,
|
|
55904
|
+
f
|
|
55905
|
+
);
|
|
55906
|
+
}
|
|
55907
|
+
f = message.getAccountlocked();
|
|
55908
|
+
if (f) {
|
|
55909
|
+
writer.writeBool(
|
|
55910
|
+
11,
|
|
55911
|
+
f
|
|
55912
|
+
);
|
|
55913
|
+
}
|
|
55914
|
+
};
|
|
55915
|
+
|
|
55916
|
+
|
|
55917
|
+
/**
|
|
55918
|
+
* optional ResponseCode responseCode = 1;
|
|
55919
|
+
* @return {?proto.sniipuserservice.ResponseCode}
|
|
55920
|
+
*/
|
|
55921
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.getResponsecode = function() {
|
|
55922
|
+
return /** @type{?proto.sniipuserservice.ResponseCode} */ (
|
|
55923
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 1));
|
|
55924
|
+
};
|
|
55925
|
+
|
|
55926
|
+
|
|
55927
|
+
/**
|
|
55928
|
+
* @param {?proto.sniipuserservice.ResponseCode|undefined} value
|
|
55929
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
55930
|
+
*/
|
|
55931
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.setResponsecode = function(value) {
|
|
55932
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
55933
|
+
};
|
|
55934
|
+
|
|
55935
|
+
|
|
55936
|
+
/**
|
|
55937
|
+
* Clears the message field making it undefined.
|
|
55938
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
55939
|
+
*/
|
|
55940
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.clearResponsecode = function() {
|
|
55941
|
+
return this.setResponsecode(undefined);
|
|
55942
|
+
};
|
|
55943
|
+
|
|
55944
|
+
|
|
55945
|
+
/**
|
|
55946
|
+
* Returns whether this field is set.
|
|
55947
|
+
* @return {boolean}
|
|
55948
|
+
*/
|
|
55949
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.hasResponsecode = function() {
|
|
55950
|
+
return jspb.Message.getField(this, 1) != null;
|
|
55951
|
+
};
|
|
55952
|
+
|
|
55953
|
+
|
|
55954
|
+
/**
|
|
55955
|
+
* optional bool found = 2;
|
|
55956
|
+
* @return {boolean}
|
|
55957
|
+
*/
|
|
55958
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.getFound = function() {
|
|
55959
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
55960
|
+
};
|
|
55961
|
+
|
|
55962
|
+
|
|
55963
|
+
/**
|
|
55964
|
+
* @param {boolean} value
|
|
55965
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
55966
|
+
*/
|
|
55967
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.setFound = function(value) {
|
|
55968
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
55969
|
+
};
|
|
55970
|
+
|
|
55971
|
+
|
|
55972
|
+
/**
|
|
55973
|
+
* optional int64 userId = 3;
|
|
55974
|
+
* @return {number}
|
|
55975
|
+
*/
|
|
55976
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.getUserid = function() {
|
|
55977
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
55978
|
+
};
|
|
55979
|
+
|
|
55980
|
+
|
|
55981
|
+
/**
|
|
55982
|
+
* @param {number} value
|
|
55983
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
55984
|
+
*/
|
|
55985
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.setUserid = function(value) {
|
|
55986
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
55987
|
+
};
|
|
55988
|
+
|
|
55989
|
+
|
|
55990
|
+
/**
|
|
55991
|
+
* optional string email = 4;
|
|
55992
|
+
* @return {string}
|
|
55993
|
+
*/
|
|
55994
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.getEmail = function() {
|
|
55995
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
55996
|
+
};
|
|
55997
|
+
|
|
55998
|
+
|
|
55999
|
+
/**
|
|
56000
|
+
* @param {string} value
|
|
56001
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56002
|
+
*/
|
|
56003
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.setEmail = function(value) {
|
|
56004
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
56005
|
+
};
|
|
56006
|
+
|
|
56007
|
+
|
|
56008
|
+
/**
|
|
56009
|
+
* optional string firstName = 5;
|
|
56010
|
+
* @return {string}
|
|
56011
|
+
*/
|
|
56012
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.getFirstname = function() {
|
|
56013
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
56014
|
+
};
|
|
56015
|
+
|
|
56016
|
+
|
|
56017
|
+
/**
|
|
56018
|
+
* @param {string} value
|
|
56019
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56020
|
+
*/
|
|
56021
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.setFirstname = function(value) {
|
|
56022
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
56023
|
+
};
|
|
56024
|
+
|
|
56025
|
+
|
|
56026
|
+
/**
|
|
56027
|
+
* optional string lastName = 6;
|
|
56028
|
+
* @return {string}
|
|
56029
|
+
*/
|
|
56030
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.getLastname = function() {
|
|
56031
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
56032
|
+
};
|
|
56033
|
+
|
|
56034
|
+
|
|
56035
|
+
/**
|
|
56036
|
+
* @param {string} value
|
|
56037
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56038
|
+
*/
|
|
56039
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.setLastname = function(value) {
|
|
56040
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
56041
|
+
};
|
|
56042
|
+
|
|
56043
|
+
|
|
56044
|
+
/**
|
|
56045
|
+
* optional string appAccountType = 7;
|
|
56046
|
+
* @return {string}
|
|
56047
|
+
*/
|
|
56048
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.getAppaccounttype = function() {
|
|
56049
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
56050
|
+
};
|
|
56051
|
+
|
|
56052
|
+
|
|
56053
|
+
/**
|
|
56054
|
+
* @param {string} value
|
|
56055
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56056
|
+
*/
|
|
56057
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.setAppaccounttype = function(value) {
|
|
56058
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
56059
|
+
};
|
|
56060
|
+
|
|
56061
|
+
|
|
56062
|
+
/**
|
|
56063
|
+
* repeated string roles = 8;
|
|
56064
|
+
* @return {!Array<string>}
|
|
56065
|
+
*/
|
|
56066
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.getRolesList = function() {
|
|
56067
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
|
|
56068
|
+
};
|
|
56069
|
+
|
|
56070
|
+
|
|
56071
|
+
/**
|
|
56072
|
+
* @param {!Array<string>} value
|
|
56073
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56074
|
+
*/
|
|
56075
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.setRolesList = function(value) {
|
|
56076
|
+
return jspb.Message.setField(this, 8, value || []);
|
|
56077
|
+
};
|
|
56078
|
+
|
|
56079
|
+
|
|
56080
|
+
/**
|
|
56081
|
+
* @param {string} value
|
|
56082
|
+
* @param {number=} opt_index
|
|
56083
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56084
|
+
*/
|
|
56085
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.addRoles = function(value, opt_index) {
|
|
56086
|
+
return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
|
|
56087
|
+
};
|
|
56088
|
+
|
|
56089
|
+
|
|
56090
|
+
/**
|
|
56091
|
+
* Clears the list making it empty but non-null.
|
|
56092
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56093
|
+
*/
|
|
56094
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.clearRolesList = function() {
|
|
56095
|
+
return this.setRolesList([]);
|
|
56096
|
+
};
|
|
56097
|
+
|
|
56098
|
+
|
|
56099
|
+
/**
|
|
56100
|
+
* repeated string permissions = 9;
|
|
56101
|
+
* @return {!Array<string>}
|
|
56102
|
+
*/
|
|
56103
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.getPermissionsList = function() {
|
|
56104
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
56105
|
+
};
|
|
56106
|
+
|
|
56107
|
+
|
|
56108
|
+
/**
|
|
56109
|
+
* @param {!Array<string>} value
|
|
56110
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56111
|
+
*/
|
|
56112
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.setPermissionsList = function(value) {
|
|
56113
|
+
return jspb.Message.setField(this, 9, value || []);
|
|
56114
|
+
};
|
|
56115
|
+
|
|
56116
|
+
|
|
56117
|
+
/**
|
|
56118
|
+
* @param {string} value
|
|
56119
|
+
* @param {number=} opt_index
|
|
56120
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56121
|
+
*/
|
|
56122
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.addPermissions = function(value, opt_index) {
|
|
56123
|
+
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
56124
|
+
};
|
|
56125
|
+
|
|
56126
|
+
|
|
56127
|
+
/**
|
|
56128
|
+
* Clears the list making it empty but non-null.
|
|
56129
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56130
|
+
*/
|
|
56131
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.clearPermissionsList = function() {
|
|
56132
|
+
return this.setPermissionsList([]);
|
|
56133
|
+
};
|
|
56134
|
+
|
|
56135
|
+
|
|
56136
|
+
/**
|
|
56137
|
+
* optional bool mfaEnabled = 10;
|
|
56138
|
+
* @return {boolean}
|
|
56139
|
+
*/
|
|
56140
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.getMfaenabled = function() {
|
|
56141
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
56142
|
+
};
|
|
56143
|
+
|
|
56144
|
+
|
|
56145
|
+
/**
|
|
56146
|
+
* @param {boolean} value
|
|
56147
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56148
|
+
*/
|
|
56149
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.setMfaenabled = function(value) {
|
|
56150
|
+
return jspb.Message.setProto3BooleanField(this, 10, value);
|
|
56151
|
+
};
|
|
56152
|
+
|
|
56153
|
+
|
|
56154
|
+
/**
|
|
56155
|
+
* optional bool accountLocked = 11;
|
|
56156
|
+
* @return {boolean}
|
|
56157
|
+
*/
|
|
56158
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.getAccountlocked = function() {
|
|
56159
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
56160
|
+
};
|
|
56161
|
+
|
|
56162
|
+
|
|
56163
|
+
/**
|
|
56164
|
+
* @param {boolean} value
|
|
56165
|
+
* @return {!proto.sniipuserservice.InternalResolveSocialIdentityWebResponse} returns this
|
|
56166
|
+
*/
|
|
56167
|
+
proto.sniipuserservice.InternalResolveSocialIdentityWebResponse.prototype.setAccountlocked = function(value) {
|
|
56168
|
+
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
56169
|
+
};
|
|
56170
|
+
|
|
56171
|
+
|
|
56172
|
+
|
|
56173
|
+
|
|
56174
|
+
|
|
55233
56175
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
55234
56176
|
/**
|
|
55235
56177
|
* Creates an object representation of this proto.
|