@sniipwebmaster/user-service-client-grpcweb 24.1.10991 → 24.1.11014

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.
@@ -5812,6 +5812,189 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.sendVerifi
5812
5812
  };
5813
5813
 
5814
5814
 
5815
+ /**
5816
+ * @const
5817
+ * @type {!grpc.web.MethodDescriptor<
5818
+ * !proto.sniipuserservice.VerificationCodeRequest,
5819
+ * !proto.sniipuserservice.ResponseCode>}
5820
+ */
5821
+ const methodDescriptor_SniipUserServiceService_SendVerificationSms = new grpc.web.MethodDescriptor(
5822
+ '/sniipuserservice.SniipUserServiceService/SendVerificationSms',
5823
+ grpc.web.MethodType.UNARY,
5824
+ proto.sniipuserservice.VerificationCodeRequest,
5825
+ proto.sniipuserservice.ResponseCode,
5826
+ /**
5827
+ * @param {!proto.sniipuserservice.VerificationCodeRequest} request
5828
+ * @return {!Uint8Array}
5829
+ */
5830
+ function(request) {
5831
+ return request.serializeBinary();
5832
+ },
5833
+ proto.sniipuserservice.ResponseCode.deserializeBinary
5834
+ );
5835
+
5836
+
5837
+ /**
5838
+ * @param {!proto.sniipuserservice.VerificationCodeRequest} request The
5839
+ * request proto
5840
+ * @param {?Object<string, string>} metadata User defined
5841
+ * call metadata
5842
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.ResponseCode)}
5843
+ * callback The callback function(error, response)
5844
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
5845
+ * The XHR Node Readable Stream
5846
+ */
5847
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.sendVerificationSms =
5848
+ function(request, metadata, callback) {
5849
+ return this.client_.rpcCall(this.hostname_ +
5850
+ '/sniipuserservice.SniipUserServiceService/SendVerificationSms',
5851
+ request,
5852
+ metadata || {},
5853
+ methodDescriptor_SniipUserServiceService_SendVerificationSms,
5854
+ callback);
5855
+ };
5856
+
5857
+
5858
+ /**
5859
+ * @param {!proto.sniipuserservice.VerificationCodeRequest} request The
5860
+ * request proto
5861
+ * @param {?Object<string, string>=} metadata User defined
5862
+ * call metadata
5863
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
5864
+ * Promise that resolves to the response
5865
+ */
5866
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.sendVerificationSms =
5867
+ function(request, metadata) {
5868
+ return this.client_.unaryCall(this.hostname_ +
5869
+ '/sniipuserservice.SniipUserServiceService/SendVerificationSms',
5870
+ request,
5871
+ metadata || {},
5872
+ methodDescriptor_SniipUserServiceService_SendVerificationSms);
5873
+ };
5874
+
5875
+
5876
+ /**
5877
+ * @const
5878
+ * @type {!grpc.web.MethodDescriptor<
5879
+ * !proto.sniipuserservice.ValidateVerificationCodeRequest,
5880
+ * !proto.sniipuserservice.ResponseCode>}
5881
+ */
5882
+ const methodDescriptor_SniipUserServiceService_InternalValidateVerificationCodePhone = new grpc.web.MethodDescriptor(
5883
+ '/sniipuserservice.SniipUserServiceService/InternalValidateVerificationCodePhone',
5884
+ grpc.web.MethodType.UNARY,
5885
+ proto.sniipuserservice.ValidateVerificationCodeRequest,
5886
+ proto.sniipuserservice.ResponseCode,
5887
+ /**
5888
+ * @param {!proto.sniipuserservice.ValidateVerificationCodeRequest} request
5889
+ * @return {!Uint8Array}
5890
+ */
5891
+ function(request) {
5892
+ return request.serializeBinary();
5893
+ },
5894
+ proto.sniipuserservice.ResponseCode.deserializeBinary
5895
+ );
5896
+
5897
+
5898
+ /**
5899
+ * @param {!proto.sniipuserservice.ValidateVerificationCodeRequest} request The
5900
+ * request proto
5901
+ * @param {?Object<string, string>} metadata User defined
5902
+ * call metadata
5903
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.ResponseCode)}
5904
+ * callback The callback function(error, response)
5905
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
5906
+ * The XHR Node Readable Stream
5907
+ */
5908
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.internalValidateVerificationCodePhone =
5909
+ function(request, metadata, callback) {
5910
+ return this.client_.rpcCall(this.hostname_ +
5911
+ '/sniipuserservice.SniipUserServiceService/InternalValidateVerificationCodePhone',
5912
+ request,
5913
+ metadata || {},
5914
+ methodDescriptor_SniipUserServiceService_InternalValidateVerificationCodePhone,
5915
+ callback);
5916
+ };
5917
+
5918
+
5919
+ /**
5920
+ * @param {!proto.sniipuserservice.ValidateVerificationCodeRequest} request The
5921
+ * request proto
5922
+ * @param {?Object<string, string>=} metadata User defined
5923
+ * call metadata
5924
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
5925
+ * Promise that resolves to the response
5926
+ */
5927
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.internalValidateVerificationCodePhone =
5928
+ function(request, metadata) {
5929
+ return this.client_.unaryCall(this.hostname_ +
5930
+ '/sniipuserservice.SniipUserServiceService/InternalValidateVerificationCodePhone',
5931
+ request,
5932
+ metadata || {},
5933
+ methodDescriptor_SniipUserServiceService_InternalValidateVerificationCodePhone);
5934
+ };
5935
+
5936
+
5937
+ /**
5938
+ * @const
5939
+ * @type {!grpc.web.MethodDescriptor<
5940
+ * !proto.sniipuserservice.ValidateVerificationCodeRequest,
5941
+ * !proto.sniipuserservice.ResponseCode>}
5942
+ */
5943
+ const methodDescriptor_SniipUserServiceService_InternalValidateVerificationCodeEmail = new grpc.web.MethodDescriptor(
5944
+ '/sniipuserservice.SniipUserServiceService/InternalValidateVerificationCodeEmail',
5945
+ grpc.web.MethodType.UNARY,
5946
+ proto.sniipuserservice.ValidateVerificationCodeRequest,
5947
+ proto.sniipuserservice.ResponseCode,
5948
+ /**
5949
+ * @param {!proto.sniipuserservice.ValidateVerificationCodeRequest} request
5950
+ * @return {!Uint8Array}
5951
+ */
5952
+ function(request) {
5953
+ return request.serializeBinary();
5954
+ },
5955
+ proto.sniipuserservice.ResponseCode.deserializeBinary
5956
+ );
5957
+
5958
+
5959
+ /**
5960
+ * @param {!proto.sniipuserservice.ValidateVerificationCodeRequest} request The
5961
+ * request proto
5962
+ * @param {?Object<string, string>} metadata User defined
5963
+ * call metadata
5964
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.ResponseCode)}
5965
+ * callback The callback function(error, response)
5966
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
5967
+ * The XHR Node Readable Stream
5968
+ */
5969
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.internalValidateVerificationCodeEmail =
5970
+ function(request, metadata, callback) {
5971
+ return this.client_.rpcCall(this.hostname_ +
5972
+ '/sniipuserservice.SniipUserServiceService/InternalValidateVerificationCodeEmail',
5973
+ request,
5974
+ metadata || {},
5975
+ methodDescriptor_SniipUserServiceService_InternalValidateVerificationCodeEmail,
5976
+ callback);
5977
+ };
5978
+
5979
+
5980
+ /**
5981
+ * @param {!proto.sniipuserservice.ValidateVerificationCodeRequest} request The
5982
+ * request proto
5983
+ * @param {?Object<string, string>=} metadata User defined
5984
+ * call metadata
5985
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
5986
+ * Promise that resolves to the response
5987
+ */
5988
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.internalValidateVerificationCodeEmail =
5989
+ function(request, metadata) {
5990
+ return this.client_.unaryCall(this.hostname_ +
5991
+ '/sniipuserservice.SniipUserServiceService/InternalValidateVerificationCodeEmail',
5992
+ request,
5993
+ metadata || {},
5994
+ methodDescriptor_SniipUserServiceService_InternalValidateVerificationCodeEmail);
5995
+ };
5996
+
5997
+
5815
5998
  /**
5816
5999
  * @const
5817
6000
  * @type {!grpc.web.MethodDescriptor<
@@ -7215,6 +7398,67 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.validatePa
7215
7398
  };
7216
7399
 
7217
7400
 
7401
+ /**
7402
+ * @const
7403
+ * @type {!grpc.web.MethodDescriptor<
7404
+ * !proto.sniipuserservice.InternalValidatePasswordRequest,
7405
+ * !proto.sniipuserservice.ResponseCode>}
7406
+ */
7407
+ const methodDescriptor_SniipUserServiceService_InternalValidatePassword = new grpc.web.MethodDescriptor(
7408
+ '/sniipuserservice.SniipUserServiceService/InternalValidatePassword',
7409
+ grpc.web.MethodType.UNARY,
7410
+ proto.sniipuserservice.InternalValidatePasswordRequest,
7411
+ proto.sniipuserservice.ResponseCode,
7412
+ /**
7413
+ * @param {!proto.sniipuserservice.InternalValidatePasswordRequest} request
7414
+ * @return {!Uint8Array}
7415
+ */
7416
+ function(request) {
7417
+ return request.serializeBinary();
7418
+ },
7419
+ proto.sniipuserservice.ResponseCode.deserializeBinary
7420
+ );
7421
+
7422
+
7423
+ /**
7424
+ * @param {!proto.sniipuserservice.InternalValidatePasswordRequest} request The
7425
+ * request proto
7426
+ * @param {?Object<string, string>} metadata User defined
7427
+ * call metadata
7428
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.ResponseCode)}
7429
+ * callback The callback function(error, response)
7430
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
7431
+ * The XHR Node Readable Stream
7432
+ */
7433
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.internalValidatePassword =
7434
+ function(request, metadata, callback) {
7435
+ return this.client_.rpcCall(this.hostname_ +
7436
+ '/sniipuserservice.SniipUserServiceService/InternalValidatePassword',
7437
+ request,
7438
+ metadata || {},
7439
+ methodDescriptor_SniipUserServiceService_InternalValidatePassword,
7440
+ callback);
7441
+ };
7442
+
7443
+
7444
+ /**
7445
+ * @param {!proto.sniipuserservice.InternalValidatePasswordRequest} request The
7446
+ * request proto
7447
+ * @param {?Object<string, string>=} metadata User defined
7448
+ * call metadata
7449
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
7450
+ * Promise that resolves to the response
7451
+ */
7452
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.internalValidatePassword =
7453
+ function(request, metadata) {
7454
+ return this.client_.unaryCall(this.hostname_ +
7455
+ '/sniipuserservice.SniipUserServiceService/InternalValidatePassword',
7456
+ request,
7457
+ metadata || {},
7458
+ methodDescriptor_SniipUserServiceService_InternalValidatePassword);
7459
+ };
7460
+
7461
+
7218
7462
  /**
7219
7463
  * @const
7220
7464
  * @type {!grpc.web.MethodDescriptor<
@@ -7276,6 +7520,67 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.validatePi
7276
7520
  };
7277
7521
 
7278
7522
 
7523
+ /**
7524
+ * @const
7525
+ * @type {!grpc.web.MethodDescriptor<
7526
+ * !proto.sniipuserservice.InternalValidatePinRequest,
7527
+ * !proto.sniipuserservice.PinResponse>}
7528
+ */
7529
+ const methodDescriptor_SniipUserServiceService_InternalValidatePin = new grpc.web.MethodDescriptor(
7530
+ '/sniipuserservice.SniipUserServiceService/InternalValidatePin',
7531
+ grpc.web.MethodType.UNARY,
7532
+ proto.sniipuserservice.InternalValidatePinRequest,
7533
+ proto.sniipuserservice.PinResponse,
7534
+ /**
7535
+ * @param {!proto.sniipuserservice.InternalValidatePinRequest} request
7536
+ * @return {!Uint8Array}
7537
+ */
7538
+ function(request) {
7539
+ return request.serializeBinary();
7540
+ },
7541
+ proto.sniipuserservice.PinResponse.deserializeBinary
7542
+ );
7543
+
7544
+
7545
+ /**
7546
+ * @param {!proto.sniipuserservice.InternalValidatePinRequest} request The
7547
+ * request proto
7548
+ * @param {?Object<string, string>} metadata User defined
7549
+ * call metadata
7550
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.PinResponse)}
7551
+ * callback The callback function(error, response)
7552
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.PinResponse>|undefined}
7553
+ * The XHR Node Readable Stream
7554
+ */
7555
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.internalValidatePin =
7556
+ function(request, metadata, callback) {
7557
+ return this.client_.rpcCall(this.hostname_ +
7558
+ '/sniipuserservice.SniipUserServiceService/InternalValidatePin',
7559
+ request,
7560
+ metadata || {},
7561
+ methodDescriptor_SniipUserServiceService_InternalValidatePin,
7562
+ callback);
7563
+ };
7564
+
7565
+
7566
+ /**
7567
+ * @param {!proto.sniipuserservice.InternalValidatePinRequest} request The
7568
+ * request proto
7569
+ * @param {?Object<string, string>=} metadata User defined
7570
+ * call metadata
7571
+ * @return {!Promise<!proto.sniipuserservice.PinResponse>}
7572
+ * Promise that resolves to the response
7573
+ */
7574
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.internalValidatePin =
7575
+ function(request, metadata) {
7576
+ return this.client_.unaryCall(this.hostname_ +
7577
+ '/sniipuserservice.SniipUserServiceService/InternalValidatePin',
7578
+ request,
7579
+ metadata || {},
7580
+ methodDescriptor_SniipUserServiceService_InternalValidatePin);
7581
+ };
7582
+
7583
+
7279
7584
  /**
7280
7585
  * @const
7281
7586
  * @type {!grpc.web.MethodDescriptor<
@@ -89,6 +89,8 @@ goog.exportSymbol('proto.sniipuserservice.GetUserDevicesHistoryResponse', null,
89
89
  goog.exportSymbol('proto.sniipuserservice.GetUserStatusRequest', null, global);
90
90
  goog.exportSymbol('proto.sniipuserservice.GetUserStatusResponse', null, global);
91
91
  goog.exportSymbol('proto.sniipuserservice.GiveFeedbackRequest', null, global);
92
+ goog.exportSymbol('proto.sniipuserservice.InternalValidatePasswordRequest', null, global);
93
+ goog.exportSymbol('proto.sniipuserservice.InternalValidatePinRequest', null, global);
92
94
  goog.exportSymbol('proto.sniipuserservice.IsEmailVerifiedRequest', null, global);
93
95
  goog.exportSymbol('proto.sniipuserservice.IsEmailVerifiedResponse', null, global);
94
96
  goog.exportSymbol('proto.sniipuserservice.IsPhoneValidRequest', null, global);
@@ -202,6 +204,9 @@ goog.exportSymbol('proto.sniipuserservice.ValidatePasswordRequest', null, global
202
204
  goog.exportSymbol('proto.sniipuserservice.ValidatePinRequest', null, global);
203
205
  goog.exportSymbol('proto.sniipuserservice.ValidateVerificationCodeEmailRequest', null, global);
204
206
  goog.exportSymbol('proto.sniipuserservice.ValidateVerificationCodeMobileRequest', null, global);
207
+ goog.exportSymbol('proto.sniipuserservice.ValidateVerificationCodeRequest', null, global);
208
+ goog.exportSymbol('proto.sniipuserservice.VerificationCodeRequest', null, global);
209
+ goog.exportSymbol('proto.sniipuserservice.VerificationScope', null, global);
205
210
  goog.exportSymbol('proto.sniipuserservice.VerifyEmailAddressRequest', null, global);
206
211
  goog.exportSymbol('proto.sniipuserservice.VerifyEmailRequest', null, global);
207
212
  goog.exportSymbol('proto.sniipuserservice.VerifyPhoneRequest', null, global);
@@ -1150,6 +1155,48 @@ if (goog.DEBUG && !COMPILED) {
1150
1155
  */
1151
1156
  proto.sniipuserservice.DuplicateUsersResponse.displayName = 'proto.sniipuserservice.DuplicateUsersResponse';
1152
1157
  }
1158
+ /**
1159
+ * Generated by JsPbCodeGenerator.
1160
+ * @param {Array=} opt_data Optional initial data array, typically from a
1161
+ * server response, or constructed directly in Javascript. The array is used
1162
+ * in place and becomes part of the constructed object. It is not cloned.
1163
+ * If no data is provided, the constructed object will be empty, but still
1164
+ * valid.
1165
+ * @extends {jspb.Message}
1166
+ * @constructor
1167
+ */
1168
+ proto.sniipuserservice.VerificationCodeRequest = function(opt_data) {
1169
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1170
+ };
1171
+ goog.inherits(proto.sniipuserservice.VerificationCodeRequest, jspb.Message);
1172
+ if (goog.DEBUG && !COMPILED) {
1173
+ /**
1174
+ * @public
1175
+ * @override
1176
+ */
1177
+ proto.sniipuserservice.VerificationCodeRequest.displayName = 'proto.sniipuserservice.VerificationCodeRequest';
1178
+ }
1179
+ /**
1180
+ * Generated by JsPbCodeGenerator.
1181
+ * @param {Array=} opt_data Optional initial data array, typically from a
1182
+ * server response, or constructed directly in Javascript. The array is used
1183
+ * in place and becomes part of the constructed object. It is not cloned.
1184
+ * If no data is provided, the constructed object will be empty, but still
1185
+ * valid.
1186
+ * @extends {jspb.Message}
1187
+ * @constructor
1188
+ */
1189
+ proto.sniipuserservice.ValidateVerificationCodeRequest = function(opt_data) {
1190
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1191
+ };
1192
+ goog.inherits(proto.sniipuserservice.ValidateVerificationCodeRequest, jspb.Message);
1193
+ if (goog.DEBUG && !COMPILED) {
1194
+ /**
1195
+ * @public
1196
+ * @override
1197
+ */
1198
+ proto.sniipuserservice.ValidateVerificationCodeRequest.displayName = 'proto.sniipuserservice.ValidateVerificationCodeRequest';
1199
+ }
1153
1200
  /**
1154
1201
  * Generated by JsPbCodeGenerator.
1155
1202
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3901,6 +3948,27 @@ if (goog.DEBUG && !COMPILED) {
3901
3948
  */
3902
3949
  proto.sniipuserservice.ValidatePasswordRequest.displayName = 'proto.sniipuserservice.ValidatePasswordRequest';
3903
3950
  }
3951
+ /**
3952
+ * Generated by JsPbCodeGenerator.
3953
+ * @param {Array=} opt_data Optional initial data array, typically from a
3954
+ * server response, or constructed directly in Javascript. The array is used
3955
+ * in place and becomes part of the constructed object. It is not cloned.
3956
+ * If no data is provided, the constructed object will be empty, but still
3957
+ * valid.
3958
+ * @extends {jspb.Message}
3959
+ * @constructor
3960
+ */
3961
+ proto.sniipuserservice.InternalValidatePasswordRequest = function(opt_data) {
3962
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3963
+ };
3964
+ goog.inherits(proto.sniipuserservice.InternalValidatePasswordRequest, jspb.Message);
3965
+ if (goog.DEBUG && !COMPILED) {
3966
+ /**
3967
+ * @public
3968
+ * @override
3969
+ */
3970
+ proto.sniipuserservice.InternalValidatePasswordRequest.displayName = 'proto.sniipuserservice.InternalValidatePasswordRequest';
3971
+ }
3904
3972
  /**
3905
3973
  * Generated by JsPbCodeGenerator.
3906
3974
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3922,6 +3990,27 @@ if (goog.DEBUG && !COMPILED) {
3922
3990
  */
3923
3991
  proto.sniipuserservice.ValidatePinRequest.displayName = 'proto.sniipuserservice.ValidatePinRequest';
3924
3992
  }
3993
+ /**
3994
+ * Generated by JsPbCodeGenerator.
3995
+ * @param {Array=} opt_data Optional initial data array, typically from a
3996
+ * server response, or constructed directly in Javascript. The array is used
3997
+ * in place and becomes part of the constructed object. It is not cloned.
3998
+ * If no data is provided, the constructed object will be empty, but still
3999
+ * valid.
4000
+ * @extends {jspb.Message}
4001
+ * @constructor
4002
+ */
4003
+ proto.sniipuserservice.InternalValidatePinRequest = function(opt_data) {
4004
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4005
+ };
4006
+ goog.inherits(proto.sniipuserservice.InternalValidatePinRequest, jspb.Message);
4007
+ if (goog.DEBUG && !COMPILED) {
4008
+ /**
4009
+ * @public
4010
+ * @override
4011
+ */
4012
+ proto.sniipuserservice.InternalValidatePinRequest.displayName = 'proto.sniipuserservice.InternalValidatePinRequest';
4013
+ }
3925
4014
  /**
3926
4015
  * Generated by JsPbCodeGenerator.
3927
4016
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -15254,6 +15343,356 @@ proto.sniipuserservice.DuplicateUsersResponse.prototype.hasResponsecode = functi
15254
15343
 
15255
15344
 
15256
15345
 
15346
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15347
+ /**
15348
+ * Creates an object representation of this proto.
15349
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15350
+ * Optional fields that are not set will be set to undefined.
15351
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15352
+ * For the list of reserved names please see:
15353
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15354
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15355
+ * JSPB instance for transitional soy proto support:
15356
+ * http://goto/soy-param-migration
15357
+ * @return {!Object}
15358
+ */
15359
+ proto.sniipuserservice.VerificationCodeRequest.prototype.toObject = function(opt_includeInstance) {
15360
+ return proto.sniipuserservice.VerificationCodeRequest.toObject(opt_includeInstance, this);
15361
+ };
15362
+
15363
+
15364
+ /**
15365
+ * Static version of the {@see toObject} method.
15366
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15367
+ * the JSPB instance for transitional soy proto support:
15368
+ * http://goto/soy-param-migration
15369
+ * @param {!proto.sniipuserservice.VerificationCodeRequest} msg The msg instance to transform.
15370
+ * @return {!Object}
15371
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15372
+ */
15373
+ proto.sniipuserservice.VerificationCodeRequest.toObject = function(includeInstance, msg) {
15374
+ var f, obj = {
15375
+ scope: jspb.Message.getFieldWithDefault(msg, 1, 0)
15376
+ };
15377
+
15378
+ if (includeInstance) {
15379
+ obj.$jspbMessageInstance = msg;
15380
+ }
15381
+ return obj;
15382
+ };
15383
+ }
15384
+
15385
+
15386
+ /**
15387
+ * Deserializes binary data (in protobuf wire format).
15388
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15389
+ * @return {!proto.sniipuserservice.VerificationCodeRequest}
15390
+ */
15391
+ proto.sniipuserservice.VerificationCodeRequest.deserializeBinary = function(bytes) {
15392
+ var reader = new jspb.BinaryReader(bytes);
15393
+ var msg = new proto.sniipuserservice.VerificationCodeRequest;
15394
+ return proto.sniipuserservice.VerificationCodeRequest.deserializeBinaryFromReader(msg, reader);
15395
+ };
15396
+
15397
+
15398
+ /**
15399
+ * Deserializes binary data (in protobuf wire format) from the
15400
+ * given reader into the given message object.
15401
+ * @param {!proto.sniipuserservice.VerificationCodeRequest} msg The message object to deserialize into.
15402
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15403
+ * @return {!proto.sniipuserservice.VerificationCodeRequest}
15404
+ */
15405
+ proto.sniipuserservice.VerificationCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
15406
+ while (reader.nextField()) {
15407
+ if (reader.isEndGroup()) {
15408
+ break;
15409
+ }
15410
+ var field = reader.getFieldNumber();
15411
+ switch (field) {
15412
+ case 1:
15413
+ var value = /** @type {!proto.sniipuserservice.VerificationScope} */ (reader.readEnum());
15414
+ msg.setScope(value);
15415
+ break;
15416
+ default:
15417
+ reader.skipField();
15418
+ break;
15419
+ }
15420
+ }
15421
+ return msg;
15422
+ };
15423
+
15424
+
15425
+ /**
15426
+ * Serializes the message to binary data (in protobuf wire format).
15427
+ * @return {!Uint8Array}
15428
+ */
15429
+ proto.sniipuserservice.VerificationCodeRequest.prototype.serializeBinary = function() {
15430
+ var writer = new jspb.BinaryWriter();
15431
+ proto.sniipuserservice.VerificationCodeRequest.serializeBinaryToWriter(this, writer);
15432
+ return writer.getResultBuffer();
15433
+ };
15434
+
15435
+
15436
+ /**
15437
+ * Serializes the given message to binary data (in protobuf wire
15438
+ * format), writing to the given BinaryWriter.
15439
+ * @param {!proto.sniipuserservice.VerificationCodeRequest} message
15440
+ * @param {!jspb.BinaryWriter} writer
15441
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15442
+ */
15443
+ proto.sniipuserservice.VerificationCodeRequest.serializeBinaryToWriter = function(message, writer) {
15444
+ var f = undefined;
15445
+ f = message.getScope();
15446
+ if (f !== 0.0) {
15447
+ writer.writeEnum(
15448
+ 1,
15449
+ f
15450
+ );
15451
+ }
15452
+ };
15453
+
15454
+
15455
+ /**
15456
+ * optional VerificationScope scope = 1;
15457
+ * @return {!proto.sniipuserservice.VerificationScope}
15458
+ */
15459
+ proto.sniipuserservice.VerificationCodeRequest.prototype.getScope = function() {
15460
+ return /** @type {!proto.sniipuserservice.VerificationScope} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
15461
+ };
15462
+
15463
+
15464
+ /**
15465
+ * @param {!proto.sniipuserservice.VerificationScope} value
15466
+ * @return {!proto.sniipuserservice.VerificationCodeRequest} returns this
15467
+ */
15468
+ proto.sniipuserservice.VerificationCodeRequest.prototype.setScope = function(value) {
15469
+ return jspb.Message.setProto3EnumField(this, 1, value);
15470
+ };
15471
+
15472
+
15473
+
15474
+
15475
+
15476
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15477
+ /**
15478
+ * Creates an object representation of this proto.
15479
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15480
+ * Optional fields that are not set will be set to undefined.
15481
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15482
+ * For the list of reserved names please see:
15483
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15484
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15485
+ * JSPB instance for transitional soy proto support:
15486
+ * http://goto/soy-param-migration
15487
+ * @return {!Object}
15488
+ */
15489
+ proto.sniipuserservice.ValidateVerificationCodeRequest.prototype.toObject = function(opt_includeInstance) {
15490
+ return proto.sniipuserservice.ValidateVerificationCodeRequest.toObject(opt_includeInstance, this);
15491
+ };
15492
+
15493
+
15494
+ /**
15495
+ * Static version of the {@see toObject} method.
15496
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15497
+ * the JSPB instance for transitional soy proto support:
15498
+ * http://goto/soy-param-migration
15499
+ * @param {!proto.sniipuserservice.ValidateVerificationCodeRequest} msg The msg instance to transform.
15500
+ * @return {!Object}
15501
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15502
+ */
15503
+ proto.sniipuserservice.ValidateVerificationCodeRequest.toObject = function(includeInstance, msg) {
15504
+ var f, obj = {
15505
+ verificationcode: jspb.Message.getFieldWithDefault(msg, 1, ""),
15506
+ verificationscope: jspb.Message.getFieldWithDefault(msg, 2, 0),
15507
+ donotrevokecode: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
15508
+ userid: jspb.Message.getFieldWithDefault(msg, 4, 0)
15509
+ };
15510
+
15511
+ if (includeInstance) {
15512
+ obj.$jspbMessageInstance = msg;
15513
+ }
15514
+ return obj;
15515
+ };
15516
+ }
15517
+
15518
+
15519
+ /**
15520
+ * Deserializes binary data (in protobuf wire format).
15521
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15522
+ * @return {!proto.sniipuserservice.ValidateVerificationCodeRequest}
15523
+ */
15524
+ proto.sniipuserservice.ValidateVerificationCodeRequest.deserializeBinary = function(bytes) {
15525
+ var reader = new jspb.BinaryReader(bytes);
15526
+ var msg = new proto.sniipuserservice.ValidateVerificationCodeRequest;
15527
+ return proto.sniipuserservice.ValidateVerificationCodeRequest.deserializeBinaryFromReader(msg, reader);
15528
+ };
15529
+
15530
+
15531
+ /**
15532
+ * Deserializes binary data (in protobuf wire format) from the
15533
+ * given reader into the given message object.
15534
+ * @param {!proto.sniipuserservice.ValidateVerificationCodeRequest} msg The message object to deserialize into.
15535
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15536
+ * @return {!proto.sniipuserservice.ValidateVerificationCodeRequest}
15537
+ */
15538
+ proto.sniipuserservice.ValidateVerificationCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
15539
+ while (reader.nextField()) {
15540
+ if (reader.isEndGroup()) {
15541
+ break;
15542
+ }
15543
+ var field = reader.getFieldNumber();
15544
+ switch (field) {
15545
+ case 1:
15546
+ var value = /** @type {string} */ (reader.readString());
15547
+ msg.setVerificationcode(value);
15548
+ break;
15549
+ case 2:
15550
+ var value = /** @type {!proto.sniipuserservice.VerificationScope} */ (reader.readEnum());
15551
+ msg.setVerificationscope(value);
15552
+ break;
15553
+ case 3:
15554
+ var value = /** @type {boolean} */ (reader.readBool());
15555
+ msg.setDonotrevokecode(value);
15556
+ break;
15557
+ case 4:
15558
+ var value = /** @type {number} */ (reader.readInt64());
15559
+ msg.setUserid(value);
15560
+ break;
15561
+ default:
15562
+ reader.skipField();
15563
+ break;
15564
+ }
15565
+ }
15566
+ return msg;
15567
+ };
15568
+
15569
+
15570
+ /**
15571
+ * Serializes the message to binary data (in protobuf wire format).
15572
+ * @return {!Uint8Array}
15573
+ */
15574
+ proto.sniipuserservice.ValidateVerificationCodeRequest.prototype.serializeBinary = function() {
15575
+ var writer = new jspb.BinaryWriter();
15576
+ proto.sniipuserservice.ValidateVerificationCodeRequest.serializeBinaryToWriter(this, writer);
15577
+ return writer.getResultBuffer();
15578
+ };
15579
+
15580
+
15581
+ /**
15582
+ * Serializes the given message to binary data (in protobuf wire
15583
+ * format), writing to the given BinaryWriter.
15584
+ * @param {!proto.sniipuserservice.ValidateVerificationCodeRequest} message
15585
+ * @param {!jspb.BinaryWriter} writer
15586
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15587
+ */
15588
+ proto.sniipuserservice.ValidateVerificationCodeRequest.serializeBinaryToWriter = function(message, writer) {
15589
+ var f = undefined;
15590
+ f = message.getVerificationcode();
15591
+ if (f.length > 0) {
15592
+ writer.writeString(
15593
+ 1,
15594
+ f
15595
+ );
15596
+ }
15597
+ f = message.getVerificationscope();
15598
+ if (f !== 0.0) {
15599
+ writer.writeEnum(
15600
+ 2,
15601
+ f
15602
+ );
15603
+ }
15604
+ f = message.getDonotrevokecode();
15605
+ if (f) {
15606
+ writer.writeBool(
15607
+ 3,
15608
+ f
15609
+ );
15610
+ }
15611
+ f = message.getUserid();
15612
+ if (f !== 0) {
15613
+ writer.writeInt64(
15614
+ 4,
15615
+ f
15616
+ );
15617
+ }
15618
+ };
15619
+
15620
+
15621
+ /**
15622
+ * optional string verificationCode = 1;
15623
+ * @return {string}
15624
+ */
15625
+ proto.sniipuserservice.ValidateVerificationCodeRequest.prototype.getVerificationcode = function() {
15626
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
15627
+ };
15628
+
15629
+
15630
+ /**
15631
+ * @param {string} value
15632
+ * @return {!proto.sniipuserservice.ValidateVerificationCodeRequest} returns this
15633
+ */
15634
+ proto.sniipuserservice.ValidateVerificationCodeRequest.prototype.setVerificationcode = function(value) {
15635
+ return jspb.Message.setProto3StringField(this, 1, value);
15636
+ };
15637
+
15638
+
15639
+ /**
15640
+ * optional VerificationScope verificationScope = 2;
15641
+ * @return {!proto.sniipuserservice.VerificationScope}
15642
+ */
15643
+ proto.sniipuserservice.ValidateVerificationCodeRequest.prototype.getVerificationscope = function() {
15644
+ return /** @type {!proto.sniipuserservice.VerificationScope} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
15645
+ };
15646
+
15647
+
15648
+ /**
15649
+ * @param {!proto.sniipuserservice.VerificationScope} value
15650
+ * @return {!proto.sniipuserservice.ValidateVerificationCodeRequest} returns this
15651
+ */
15652
+ proto.sniipuserservice.ValidateVerificationCodeRequest.prototype.setVerificationscope = function(value) {
15653
+ return jspb.Message.setProto3EnumField(this, 2, value);
15654
+ };
15655
+
15656
+
15657
+ /**
15658
+ * optional bool doNotRevokeCode = 3;
15659
+ * @return {boolean}
15660
+ */
15661
+ proto.sniipuserservice.ValidateVerificationCodeRequest.prototype.getDonotrevokecode = function() {
15662
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
15663
+ };
15664
+
15665
+
15666
+ /**
15667
+ * @param {boolean} value
15668
+ * @return {!proto.sniipuserservice.ValidateVerificationCodeRequest} returns this
15669
+ */
15670
+ proto.sniipuserservice.ValidateVerificationCodeRequest.prototype.setDonotrevokecode = function(value) {
15671
+ return jspb.Message.setProto3BooleanField(this, 3, value);
15672
+ };
15673
+
15674
+
15675
+ /**
15676
+ * optional int64 userId = 4;
15677
+ * @return {number}
15678
+ */
15679
+ proto.sniipuserservice.ValidateVerificationCodeRequest.prototype.getUserid = function() {
15680
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
15681
+ };
15682
+
15683
+
15684
+ /**
15685
+ * @param {number} value
15686
+ * @return {!proto.sniipuserservice.ValidateVerificationCodeRequest} returns this
15687
+ */
15688
+ proto.sniipuserservice.ValidateVerificationCodeRequest.prototype.setUserid = function(value) {
15689
+ return jspb.Message.setProto3IntField(this, 4, value);
15690
+ };
15691
+
15692
+
15693
+
15694
+
15695
+
15257
15696
  if (jspb.Message.GENERATE_TO_OBJECT) {
15258
15697
  /**
15259
15698
  * Creates an object representation of this proto.
@@ -42566,6 +43005,166 @@ proto.sniipuserservice.ValidatePasswordRequest.prototype.setPassword = function(
42566
43005
 
42567
43006
 
42568
43007
 
43008
+ if (jspb.Message.GENERATE_TO_OBJECT) {
43009
+ /**
43010
+ * Creates an object representation of this proto.
43011
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
43012
+ * Optional fields that are not set will be set to undefined.
43013
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
43014
+ * For the list of reserved names please see:
43015
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
43016
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
43017
+ * JSPB instance for transitional soy proto support:
43018
+ * http://goto/soy-param-migration
43019
+ * @return {!Object}
43020
+ */
43021
+ proto.sniipuserservice.InternalValidatePasswordRequest.prototype.toObject = function(opt_includeInstance) {
43022
+ return proto.sniipuserservice.InternalValidatePasswordRequest.toObject(opt_includeInstance, this);
43023
+ };
43024
+
43025
+
43026
+ /**
43027
+ * Static version of the {@see toObject} method.
43028
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43029
+ * the JSPB instance for transitional soy proto support:
43030
+ * http://goto/soy-param-migration
43031
+ * @param {!proto.sniipuserservice.InternalValidatePasswordRequest} msg The msg instance to transform.
43032
+ * @return {!Object}
43033
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43034
+ */
43035
+ proto.sniipuserservice.InternalValidatePasswordRequest.toObject = function(includeInstance, msg) {
43036
+ var f, obj = {
43037
+ password: jspb.Message.getFieldWithDefault(msg, 1, ""),
43038
+ userid: jspb.Message.getFieldWithDefault(msg, 2, 0)
43039
+ };
43040
+
43041
+ if (includeInstance) {
43042
+ obj.$jspbMessageInstance = msg;
43043
+ }
43044
+ return obj;
43045
+ };
43046
+ }
43047
+
43048
+
43049
+ /**
43050
+ * Deserializes binary data (in protobuf wire format).
43051
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
43052
+ * @return {!proto.sniipuserservice.InternalValidatePasswordRequest}
43053
+ */
43054
+ proto.sniipuserservice.InternalValidatePasswordRequest.deserializeBinary = function(bytes) {
43055
+ var reader = new jspb.BinaryReader(bytes);
43056
+ var msg = new proto.sniipuserservice.InternalValidatePasswordRequest;
43057
+ return proto.sniipuserservice.InternalValidatePasswordRequest.deserializeBinaryFromReader(msg, reader);
43058
+ };
43059
+
43060
+
43061
+ /**
43062
+ * Deserializes binary data (in protobuf wire format) from the
43063
+ * given reader into the given message object.
43064
+ * @param {!proto.sniipuserservice.InternalValidatePasswordRequest} msg The message object to deserialize into.
43065
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43066
+ * @return {!proto.sniipuserservice.InternalValidatePasswordRequest}
43067
+ */
43068
+ proto.sniipuserservice.InternalValidatePasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
43069
+ while (reader.nextField()) {
43070
+ if (reader.isEndGroup()) {
43071
+ break;
43072
+ }
43073
+ var field = reader.getFieldNumber();
43074
+ switch (field) {
43075
+ case 1:
43076
+ var value = /** @type {string} */ (reader.readString());
43077
+ msg.setPassword(value);
43078
+ break;
43079
+ case 2:
43080
+ var value = /** @type {number} */ (reader.readInt64());
43081
+ msg.setUserid(value);
43082
+ break;
43083
+ default:
43084
+ reader.skipField();
43085
+ break;
43086
+ }
43087
+ }
43088
+ return msg;
43089
+ };
43090
+
43091
+
43092
+ /**
43093
+ * Serializes the message to binary data (in protobuf wire format).
43094
+ * @return {!Uint8Array}
43095
+ */
43096
+ proto.sniipuserservice.InternalValidatePasswordRequest.prototype.serializeBinary = function() {
43097
+ var writer = new jspb.BinaryWriter();
43098
+ proto.sniipuserservice.InternalValidatePasswordRequest.serializeBinaryToWriter(this, writer);
43099
+ return writer.getResultBuffer();
43100
+ };
43101
+
43102
+
43103
+ /**
43104
+ * Serializes the given message to binary data (in protobuf wire
43105
+ * format), writing to the given BinaryWriter.
43106
+ * @param {!proto.sniipuserservice.InternalValidatePasswordRequest} message
43107
+ * @param {!jspb.BinaryWriter} writer
43108
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43109
+ */
43110
+ proto.sniipuserservice.InternalValidatePasswordRequest.serializeBinaryToWriter = function(message, writer) {
43111
+ var f = undefined;
43112
+ f = message.getPassword();
43113
+ if (f.length > 0) {
43114
+ writer.writeString(
43115
+ 1,
43116
+ f
43117
+ );
43118
+ }
43119
+ f = message.getUserid();
43120
+ if (f !== 0) {
43121
+ writer.writeInt64(
43122
+ 2,
43123
+ f
43124
+ );
43125
+ }
43126
+ };
43127
+
43128
+
43129
+ /**
43130
+ * optional string password = 1;
43131
+ * @return {string}
43132
+ */
43133
+ proto.sniipuserservice.InternalValidatePasswordRequest.prototype.getPassword = function() {
43134
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
43135
+ };
43136
+
43137
+
43138
+ /**
43139
+ * @param {string} value
43140
+ * @return {!proto.sniipuserservice.InternalValidatePasswordRequest} returns this
43141
+ */
43142
+ proto.sniipuserservice.InternalValidatePasswordRequest.prototype.setPassword = function(value) {
43143
+ return jspb.Message.setProto3StringField(this, 1, value);
43144
+ };
43145
+
43146
+
43147
+ /**
43148
+ * optional int64 userId = 2;
43149
+ * @return {number}
43150
+ */
43151
+ proto.sniipuserservice.InternalValidatePasswordRequest.prototype.getUserid = function() {
43152
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
43153
+ };
43154
+
43155
+
43156
+ /**
43157
+ * @param {number} value
43158
+ * @return {!proto.sniipuserservice.InternalValidatePasswordRequest} returns this
43159
+ */
43160
+ proto.sniipuserservice.InternalValidatePasswordRequest.prototype.setUserid = function(value) {
43161
+ return jspb.Message.setProto3IntField(this, 2, value);
43162
+ };
43163
+
43164
+
43165
+
43166
+
43167
+
42569
43168
  if (jspb.Message.GENERATE_TO_OBJECT) {
42570
43169
  /**
42571
43170
  * Creates an object representation of this proto.
@@ -42726,6 +43325,196 @@ proto.sniipuserservice.ValidatePinRequest.prototype.setShouldgetpin = function(v
42726
43325
 
42727
43326
 
42728
43327
 
43328
+ if (jspb.Message.GENERATE_TO_OBJECT) {
43329
+ /**
43330
+ * Creates an object representation of this proto.
43331
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
43332
+ * Optional fields that are not set will be set to undefined.
43333
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
43334
+ * For the list of reserved names please see:
43335
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
43336
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
43337
+ * JSPB instance for transitional soy proto support:
43338
+ * http://goto/soy-param-migration
43339
+ * @return {!Object}
43340
+ */
43341
+ proto.sniipuserservice.InternalValidatePinRequest.prototype.toObject = function(opt_includeInstance) {
43342
+ return proto.sniipuserservice.InternalValidatePinRequest.toObject(opt_includeInstance, this);
43343
+ };
43344
+
43345
+
43346
+ /**
43347
+ * Static version of the {@see toObject} method.
43348
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43349
+ * the JSPB instance for transitional soy proto support:
43350
+ * http://goto/soy-param-migration
43351
+ * @param {!proto.sniipuserservice.InternalValidatePinRequest} msg The msg instance to transform.
43352
+ * @return {!Object}
43353
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43354
+ */
43355
+ proto.sniipuserservice.InternalValidatePinRequest.toObject = function(includeInstance, msg) {
43356
+ var f, obj = {
43357
+ pin: jspb.Message.getFieldWithDefault(msg, 1, ""),
43358
+ shouldgetpin: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
43359
+ userid: jspb.Message.getFieldWithDefault(msg, 3, 0)
43360
+ };
43361
+
43362
+ if (includeInstance) {
43363
+ obj.$jspbMessageInstance = msg;
43364
+ }
43365
+ return obj;
43366
+ };
43367
+ }
43368
+
43369
+
43370
+ /**
43371
+ * Deserializes binary data (in protobuf wire format).
43372
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
43373
+ * @return {!proto.sniipuserservice.InternalValidatePinRequest}
43374
+ */
43375
+ proto.sniipuserservice.InternalValidatePinRequest.deserializeBinary = function(bytes) {
43376
+ var reader = new jspb.BinaryReader(bytes);
43377
+ var msg = new proto.sniipuserservice.InternalValidatePinRequest;
43378
+ return proto.sniipuserservice.InternalValidatePinRequest.deserializeBinaryFromReader(msg, reader);
43379
+ };
43380
+
43381
+
43382
+ /**
43383
+ * Deserializes binary data (in protobuf wire format) from the
43384
+ * given reader into the given message object.
43385
+ * @param {!proto.sniipuserservice.InternalValidatePinRequest} msg The message object to deserialize into.
43386
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43387
+ * @return {!proto.sniipuserservice.InternalValidatePinRequest}
43388
+ */
43389
+ proto.sniipuserservice.InternalValidatePinRequest.deserializeBinaryFromReader = function(msg, reader) {
43390
+ while (reader.nextField()) {
43391
+ if (reader.isEndGroup()) {
43392
+ break;
43393
+ }
43394
+ var field = reader.getFieldNumber();
43395
+ switch (field) {
43396
+ case 1:
43397
+ var value = /** @type {string} */ (reader.readString());
43398
+ msg.setPin(value);
43399
+ break;
43400
+ case 2:
43401
+ var value = /** @type {boolean} */ (reader.readBool());
43402
+ msg.setShouldgetpin(value);
43403
+ break;
43404
+ case 3:
43405
+ var value = /** @type {number} */ (reader.readInt64());
43406
+ msg.setUserid(value);
43407
+ break;
43408
+ default:
43409
+ reader.skipField();
43410
+ break;
43411
+ }
43412
+ }
43413
+ return msg;
43414
+ };
43415
+
43416
+
43417
+ /**
43418
+ * Serializes the message to binary data (in protobuf wire format).
43419
+ * @return {!Uint8Array}
43420
+ */
43421
+ proto.sniipuserservice.InternalValidatePinRequest.prototype.serializeBinary = function() {
43422
+ var writer = new jspb.BinaryWriter();
43423
+ proto.sniipuserservice.InternalValidatePinRequest.serializeBinaryToWriter(this, writer);
43424
+ return writer.getResultBuffer();
43425
+ };
43426
+
43427
+
43428
+ /**
43429
+ * Serializes the given message to binary data (in protobuf wire
43430
+ * format), writing to the given BinaryWriter.
43431
+ * @param {!proto.sniipuserservice.InternalValidatePinRequest} message
43432
+ * @param {!jspb.BinaryWriter} writer
43433
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43434
+ */
43435
+ proto.sniipuserservice.InternalValidatePinRequest.serializeBinaryToWriter = function(message, writer) {
43436
+ var f = undefined;
43437
+ f = message.getPin();
43438
+ if (f.length > 0) {
43439
+ writer.writeString(
43440
+ 1,
43441
+ f
43442
+ );
43443
+ }
43444
+ f = message.getShouldgetpin();
43445
+ if (f) {
43446
+ writer.writeBool(
43447
+ 2,
43448
+ f
43449
+ );
43450
+ }
43451
+ f = message.getUserid();
43452
+ if (f !== 0) {
43453
+ writer.writeInt64(
43454
+ 3,
43455
+ f
43456
+ );
43457
+ }
43458
+ };
43459
+
43460
+
43461
+ /**
43462
+ * optional string pin = 1;
43463
+ * @return {string}
43464
+ */
43465
+ proto.sniipuserservice.InternalValidatePinRequest.prototype.getPin = function() {
43466
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
43467
+ };
43468
+
43469
+
43470
+ /**
43471
+ * @param {string} value
43472
+ * @return {!proto.sniipuserservice.InternalValidatePinRequest} returns this
43473
+ */
43474
+ proto.sniipuserservice.InternalValidatePinRequest.prototype.setPin = function(value) {
43475
+ return jspb.Message.setProto3StringField(this, 1, value);
43476
+ };
43477
+
43478
+
43479
+ /**
43480
+ * optional bool shouldGetPin = 2;
43481
+ * @return {boolean}
43482
+ */
43483
+ proto.sniipuserservice.InternalValidatePinRequest.prototype.getShouldgetpin = function() {
43484
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
43485
+ };
43486
+
43487
+
43488
+ /**
43489
+ * @param {boolean} value
43490
+ * @return {!proto.sniipuserservice.InternalValidatePinRequest} returns this
43491
+ */
43492
+ proto.sniipuserservice.InternalValidatePinRequest.prototype.setShouldgetpin = function(value) {
43493
+ return jspb.Message.setProto3BooleanField(this, 2, value);
43494
+ };
43495
+
43496
+
43497
+ /**
43498
+ * optional int64 userId = 3;
43499
+ * @return {number}
43500
+ */
43501
+ proto.sniipuserservice.InternalValidatePinRequest.prototype.getUserid = function() {
43502
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
43503
+ };
43504
+
43505
+
43506
+ /**
43507
+ * @param {number} value
43508
+ * @return {!proto.sniipuserservice.InternalValidatePinRequest} returns this
43509
+ */
43510
+ proto.sniipuserservice.InternalValidatePinRequest.prototype.setUserid = function(value) {
43511
+ return jspb.Message.setProto3IntField(this, 3, value);
43512
+ };
43513
+
43514
+
43515
+
43516
+
43517
+
42729
43518
  if (jspb.Message.GENERATE_TO_OBJECT) {
42730
43519
  /**
42731
43520
  * Creates an object representation of this proto.
@@ -44568,4 +45357,17 @@ proto.sniipuserservice.KycUserStatus = {
44568
45357
  KYC_USER_UNVERIFIED: 2
44569
45358
  };
44570
45359
 
45360
+ /**
45361
+ * @enum {number}
45362
+ */
45363
+ proto.sniipuserservice.VerificationScope = {
45364
+ UNKNOWN: 0,
45365
+ CREATE_ACCOUNT: 1,
45366
+ RESET_PASSWORD: 2,
45367
+ UPDATE_PHONE: 3,
45368
+ VERIFY_EMAIL: 4,
45369
+ VERIFY_USER: 5,
45370
+ VERIFY_PAYMENT: 6
45371
+ };
45372
+
44571
45373
  goog.object.extend(exports, proto.sniipuserservice);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb",
3
- "version": "24.1.10991",
3
+ "version": "24.1.11014",
4
4
  "description": "user-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",