@sniipwebmaster/user-service-client-grpcweb-ts 26.7.14564 → 26.7.14575

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.
@@ -5071,6 +5071,49 @@ export class SniipUserServiceServiceClient {
5071
5071
  this.methodDescriptorBackfillDobIfEmpty);
5072
5072
  }
5073
5073
 
5074
+ methodDescriptorRunLocationBackfill = new grpcWeb.MethodDescriptor(
5075
+ '/sniipuserservice.SniipUserServiceService/RunLocationBackfill',
5076
+ grpcWeb.MethodType.UNARY,
5077
+ service_pb.RunLocationBackfillRequest,
5078
+ service_pb.RunLocationBackfillResponse,
5079
+ (request: service_pb.RunLocationBackfillRequest) => {
5080
+ return request.serializeBinary();
5081
+ },
5082
+ service_pb.RunLocationBackfillResponse.deserializeBinary
5083
+ );
5084
+
5085
+ runLocationBackfill(
5086
+ request: service_pb.RunLocationBackfillRequest,
5087
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.RunLocationBackfillResponse>;
5088
+
5089
+ runLocationBackfill(
5090
+ request: service_pb.RunLocationBackfillRequest,
5091
+ metadata: grpcWeb.Metadata | null,
5092
+ callback: (err: grpcWeb.RpcError,
5093
+ response: service_pb.RunLocationBackfillResponse) => void): grpcWeb.ClientReadableStream<service_pb.RunLocationBackfillResponse>;
5094
+
5095
+ runLocationBackfill(
5096
+ request: service_pb.RunLocationBackfillRequest,
5097
+ metadata?: grpcWeb.Metadata | null,
5098
+ callback?: (err: grpcWeb.RpcError,
5099
+ response: service_pb.RunLocationBackfillResponse) => void) {
5100
+ if (callback !== undefined) {
5101
+ return this.client_.rpcCall(
5102
+ this.hostname_ +
5103
+ '/sniipuserservice.SniipUserServiceService/RunLocationBackfill',
5104
+ request,
5105
+ metadata || {},
5106
+ this.methodDescriptorRunLocationBackfill,
5107
+ callback);
5108
+ }
5109
+ return this.client_.unaryCall(
5110
+ this.hostname_ +
5111
+ '/sniipuserservice.SniipUserServiceService/RunLocationBackfill',
5112
+ request,
5113
+ metadata || {},
5114
+ this.methodDescriptorRunLocationBackfill);
5115
+ }
5116
+
5074
5117
  methodDescriptorUpdateEmail = new grpcWeb.MethodDescriptor(
5075
5118
  '/sniipuserservice.SniipUserServiceService/UpdateEmail',
5076
5119
  grpcWeb.MethodType.UNARY,
@@ -5423,6 +5423,70 @@ export namespace BackfillDobIfEmptyResponse {
5423
5423
  }
5424
5424
  }
5425
5425
 
5426
+ export class RunLocationBackfillRequest extends jspb.Message {
5427
+ getJob(): LocationBackfillJob;
5428
+ setJob(value: LocationBackfillJob): RunLocationBackfillRequest;
5429
+
5430
+ getStartafteruserid(): number;
5431
+ setStartafteruserid(value: number): RunLocationBackfillRequest;
5432
+
5433
+ getBatchsize(): number;
5434
+ setBatchsize(value: number): RunLocationBackfillRequest;
5435
+
5436
+ getThrottlems(): number;
5437
+ setThrottlems(value: number): RunLocationBackfillRequest;
5438
+
5439
+ getMaxbatches(): number;
5440
+ setMaxbatches(value: number): RunLocationBackfillRequest;
5441
+
5442
+ getSystemauth(): string;
5443
+ setSystemauth(value: string): RunLocationBackfillRequest;
5444
+
5445
+ serializeBinary(): Uint8Array;
5446
+ toObject(includeInstance?: boolean): RunLocationBackfillRequest.AsObject;
5447
+ static toObject(includeInstance: boolean, msg: RunLocationBackfillRequest): RunLocationBackfillRequest.AsObject;
5448
+ static serializeBinaryToWriter(message: RunLocationBackfillRequest, writer: jspb.BinaryWriter): void;
5449
+ static deserializeBinary(bytes: Uint8Array): RunLocationBackfillRequest;
5450
+ static deserializeBinaryFromReader(message: RunLocationBackfillRequest, reader: jspb.BinaryReader): RunLocationBackfillRequest;
5451
+ }
5452
+
5453
+ export namespace RunLocationBackfillRequest {
5454
+ export type AsObject = {
5455
+ job: LocationBackfillJob,
5456
+ startafteruserid: number,
5457
+ batchsize: number,
5458
+ throttlems: number,
5459
+ maxbatches: number,
5460
+ systemauth: string,
5461
+ }
5462
+ }
5463
+
5464
+ export class RunLocationBackfillResponse extends jspb.Message {
5465
+ getTotalprocessed(): number;
5466
+ setTotalprocessed(value: number): RunLocationBackfillResponse;
5467
+
5468
+ getLastcursor(): number;
5469
+ setLastcursor(value: number): RunLocationBackfillResponse;
5470
+
5471
+ getDone(): boolean;
5472
+ setDone(value: boolean): RunLocationBackfillResponse;
5473
+
5474
+ serializeBinary(): Uint8Array;
5475
+ toObject(includeInstance?: boolean): RunLocationBackfillResponse.AsObject;
5476
+ static toObject(includeInstance: boolean, msg: RunLocationBackfillResponse): RunLocationBackfillResponse.AsObject;
5477
+ static serializeBinaryToWriter(message: RunLocationBackfillResponse, writer: jspb.BinaryWriter): void;
5478
+ static deserializeBinary(bytes: Uint8Array): RunLocationBackfillResponse;
5479
+ static deserializeBinaryFromReader(message: RunLocationBackfillResponse, reader: jspb.BinaryReader): RunLocationBackfillResponse;
5480
+ }
5481
+
5482
+ export namespace RunLocationBackfillResponse {
5483
+ export type AsObject = {
5484
+ totalprocessed: number,
5485
+ lastcursor: number,
5486
+ done: boolean,
5487
+ }
5488
+ }
5489
+
5426
5490
  export class UserFraudStatus extends jspb.Message {
5427
5491
  getDescription(): string;
5428
5492
  setDescription(value: string): UserFraudStatus;
@@ -6696,3 +6760,8 @@ export enum AppAccountType {
6696
6760
  SNIIP = 1,
6697
6761
  WEX = 2,
6698
6762
  }
6763
+ export enum LocationBackfillJob {
6764
+ LOCATION_BACKFILL_JOB_UNSPECIFIED = 0,
6765
+ LOCATION_BACKFILL_JOB_PHONE_COUNTRY = 1,
6766
+ LOCATION_BACKFILL_JOB_KYC_LOCATION = 2,
6767
+ }
@@ -126,6 +126,7 @@ goog.exportSymbol('proto.sniipuserservice.LinkPassportMobileRequest', null, glob
126
126
  goog.exportSymbol('proto.sniipuserservice.LinkPassportRequest', null, global);
127
127
  goog.exportSymbol('proto.sniipuserservice.LinkPassportWebRequest', null, global);
128
128
  goog.exportSymbol('proto.sniipuserservice.LinkPassportWebV2Request', null, global);
129
+ goog.exportSymbol('proto.sniipuserservice.LocationBackfillJob', null, global);
129
130
  goog.exportSymbol('proto.sniipuserservice.LoginEmailRequest', null, global);
130
131
  goog.exportSymbol('proto.sniipuserservice.LoginMobileRequest', null, global);
131
132
  goog.exportSymbol('proto.sniipuserservice.LoginWebEmailRequest', null, global);
@@ -172,6 +173,8 @@ goog.exportSymbol('proto.sniipuserservice.ResetPasswordEmailRequest', null, glob
172
173
  goog.exportSymbol('proto.sniipuserservice.ResetPasswordMobileRequest', null, global);
173
174
  goog.exportSymbol('proto.sniipuserservice.ResetPinRequest', null, global);
174
175
  goog.exportSymbol('proto.sniipuserservice.ResponseCode', null, global);
176
+ goog.exportSymbol('proto.sniipuserservice.RunLocationBackfillRequest', null, global);
177
+ goog.exportSymbol('proto.sniipuserservice.RunLocationBackfillResponse', null, global);
175
178
  goog.exportSymbol('proto.sniipuserservice.SearchPermissionRequest', null, global);
176
179
  goog.exportSymbol('proto.sniipuserservice.SearchUsersByRoleRequest', null, global);
177
180
  goog.exportSymbol('proto.sniipuserservice.SearchUsersRequest', null, global);
@@ -4052,6 +4055,48 @@ if (goog.DEBUG && !COMPILED) {
4052
4055
  */
4053
4056
  proto.sniipuserservice.BackfillDobIfEmptyResponse.displayName = 'proto.sniipuserservice.BackfillDobIfEmptyResponse';
4054
4057
  }
4058
+ /**
4059
+ * Generated by JsPbCodeGenerator.
4060
+ * @param {Array=} opt_data Optional initial data array, typically from a
4061
+ * server response, or constructed directly in Javascript. The array is used
4062
+ * in place and becomes part of the constructed object. It is not cloned.
4063
+ * If no data is provided, the constructed object will be empty, but still
4064
+ * valid.
4065
+ * @extends {jspb.Message}
4066
+ * @constructor
4067
+ */
4068
+ proto.sniipuserservice.RunLocationBackfillRequest = function(opt_data) {
4069
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4070
+ };
4071
+ goog.inherits(proto.sniipuserservice.RunLocationBackfillRequest, jspb.Message);
4072
+ if (goog.DEBUG && !COMPILED) {
4073
+ /**
4074
+ * @public
4075
+ * @override
4076
+ */
4077
+ proto.sniipuserservice.RunLocationBackfillRequest.displayName = 'proto.sniipuserservice.RunLocationBackfillRequest';
4078
+ }
4079
+ /**
4080
+ * Generated by JsPbCodeGenerator.
4081
+ * @param {Array=} opt_data Optional initial data array, typically from a
4082
+ * server response, or constructed directly in Javascript. The array is used
4083
+ * in place and becomes part of the constructed object. It is not cloned.
4084
+ * If no data is provided, the constructed object will be empty, but still
4085
+ * valid.
4086
+ * @extends {jspb.Message}
4087
+ * @constructor
4088
+ */
4089
+ proto.sniipuserservice.RunLocationBackfillResponse = function(opt_data) {
4090
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4091
+ };
4092
+ goog.inherits(proto.sniipuserservice.RunLocationBackfillResponse, jspb.Message);
4093
+ if (goog.DEBUG && !COMPILED) {
4094
+ /**
4095
+ * @public
4096
+ * @override
4097
+ */
4098
+ proto.sniipuserservice.RunLocationBackfillResponse.displayName = 'proto.sniipuserservice.RunLocationBackfillResponse';
4099
+ }
4055
4100
  /**
4056
4101
  * Generated by JsPbCodeGenerator.
4057
4102
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -45215,6 +45260,476 @@ proto.sniipuserservice.BackfillDobIfEmptyResponse.prototype.setUpdated = functio
45215
45260
 
45216
45261
 
45217
45262
 
45263
+ if (jspb.Message.GENERATE_TO_OBJECT) {
45264
+ /**
45265
+ * Creates an object representation of this proto.
45266
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
45267
+ * Optional fields that are not set will be set to undefined.
45268
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
45269
+ * For the list of reserved names please see:
45270
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
45271
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
45272
+ * JSPB instance for transitional soy proto support:
45273
+ * http://goto/soy-param-migration
45274
+ * @return {!Object}
45275
+ */
45276
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.toObject = function(opt_includeInstance) {
45277
+ return proto.sniipuserservice.RunLocationBackfillRequest.toObject(opt_includeInstance, this);
45278
+ };
45279
+
45280
+
45281
+ /**
45282
+ * Static version of the {@see toObject} method.
45283
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
45284
+ * the JSPB instance for transitional soy proto support:
45285
+ * http://goto/soy-param-migration
45286
+ * @param {!proto.sniipuserservice.RunLocationBackfillRequest} msg The msg instance to transform.
45287
+ * @return {!Object}
45288
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45289
+ */
45290
+ proto.sniipuserservice.RunLocationBackfillRequest.toObject = function(includeInstance, msg) {
45291
+ var f, obj = {
45292
+ job: jspb.Message.getFieldWithDefault(msg, 1, 0),
45293
+ startafteruserid: jspb.Message.getFieldWithDefault(msg, 2, 0),
45294
+ batchsize: jspb.Message.getFieldWithDefault(msg, 3, 0),
45295
+ throttlems: jspb.Message.getFieldWithDefault(msg, 4, 0),
45296
+ maxbatches: jspb.Message.getFieldWithDefault(msg, 5, 0),
45297
+ systemauth: jspb.Message.getFieldWithDefault(msg, 6, "")
45298
+ };
45299
+
45300
+ if (includeInstance) {
45301
+ obj.$jspbMessageInstance = msg;
45302
+ }
45303
+ return obj;
45304
+ };
45305
+ }
45306
+
45307
+
45308
+ /**
45309
+ * Deserializes binary data (in protobuf wire format).
45310
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
45311
+ * @return {!proto.sniipuserservice.RunLocationBackfillRequest}
45312
+ */
45313
+ proto.sniipuserservice.RunLocationBackfillRequest.deserializeBinary = function(bytes) {
45314
+ var reader = new jspb.BinaryReader(bytes);
45315
+ var msg = new proto.sniipuserservice.RunLocationBackfillRequest;
45316
+ return proto.sniipuserservice.RunLocationBackfillRequest.deserializeBinaryFromReader(msg, reader);
45317
+ };
45318
+
45319
+
45320
+ /**
45321
+ * Deserializes binary data (in protobuf wire format) from the
45322
+ * given reader into the given message object.
45323
+ * @param {!proto.sniipuserservice.RunLocationBackfillRequest} msg The message object to deserialize into.
45324
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
45325
+ * @return {!proto.sniipuserservice.RunLocationBackfillRequest}
45326
+ */
45327
+ proto.sniipuserservice.RunLocationBackfillRequest.deserializeBinaryFromReader = function(msg, reader) {
45328
+ while (reader.nextField()) {
45329
+ if (reader.isEndGroup()) {
45330
+ break;
45331
+ }
45332
+ var field = reader.getFieldNumber();
45333
+ switch (field) {
45334
+ case 1:
45335
+ var value = /** @type {!proto.sniipuserservice.LocationBackfillJob} */ (reader.readEnum());
45336
+ msg.setJob(value);
45337
+ break;
45338
+ case 2:
45339
+ var value = /** @type {number} */ (reader.readInt64());
45340
+ msg.setStartafteruserid(value);
45341
+ break;
45342
+ case 3:
45343
+ var value = /** @type {number} */ (reader.readInt32());
45344
+ msg.setBatchsize(value);
45345
+ break;
45346
+ case 4:
45347
+ var value = /** @type {number} */ (reader.readInt64());
45348
+ msg.setThrottlems(value);
45349
+ break;
45350
+ case 5:
45351
+ var value = /** @type {number} */ (reader.readInt32());
45352
+ msg.setMaxbatches(value);
45353
+ break;
45354
+ case 6:
45355
+ var value = /** @type {string} */ (reader.readString());
45356
+ msg.setSystemauth(value);
45357
+ break;
45358
+ default:
45359
+ reader.skipField();
45360
+ break;
45361
+ }
45362
+ }
45363
+ return msg;
45364
+ };
45365
+
45366
+
45367
+ /**
45368
+ * Serializes the message to binary data (in protobuf wire format).
45369
+ * @return {!Uint8Array}
45370
+ */
45371
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.serializeBinary = function() {
45372
+ var writer = new jspb.BinaryWriter();
45373
+ proto.sniipuserservice.RunLocationBackfillRequest.serializeBinaryToWriter(this, writer);
45374
+ return writer.getResultBuffer();
45375
+ };
45376
+
45377
+
45378
+ /**
45379
+ * Serializes the given message to binary data (in protobuf wire
45380
+ * format), writing to the given BinaryWriter.
45381
+ * @param {!proto.sniipuserservice.RunLocationBackfillRequest} message
45382
+ * @param {!jspb.BinaryWriter} writer
45383
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45384
+ */
45385
+ proto.sniipuserservice.RunLocationBackfillRequest.serializeBinaryToWriter = function(message, writer) {
45386
+ var f = undefined;
45387
+ f = message.getJob();
45388
+ if (f !== 0.0) {
45389
+ writer.writeEnum(
45390
+ 1,
45391
+ f
45392
+ );
45393
+ }
45394
+ f = message.getStartafteruserid();
45395
+ if (f !== 0) {
45396
+ writer.writeInt64(
45397
+ 2,
45398
+ f
45399
+ );
45400
+ }
45401
+ f = message.getBatchsize();
45402
+ if (f !== 0) {
45403
+ writer.writeInt32(
45404
+ 3,
45405
+ f
45406
+ );
45407
+ }
45408
+ f = message.getThrottlems();
45409
+ if (f !== 0) {
45410
+ writer.writeInt64(
45411
+ 4,
45412
+ f
45413
+ );
45414
+ }
45415
+ f = message.getMaxbatches();
45416
+ if (f !== 0) {
45417
+ writer.writeInt32(
45418
+ 5,
45419
+ f
45420
+ );
45421
+ }
45422
+ f = message.getSystemauth();
45423
+ if (f.length > 0) {
45424
+ writer.writeString(
45425
+ 6,
45426
+ f
45427
+ );
45428
+ }
45429
+ };
45430
+
45431
+
45432
+ /**
45433
+ * optional LocationBackfillJob job = 1;
45434
+ * @return {!proto.sniipuserservice.LocationBackfillJob}
45435
+ */
45436
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.getJob = function() {
45437
+ return /** @type {!proto.sniipuserservice.LocationBackfillJob} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
45438
+ };
45439
+
45440
+
45441
+ /**
45442
+ * @param {!proto.sniipuserservice.LocationBackfillJob} value
45443
+ * @return {!proto.sniipuserservice.RunLocationBackfillRequest} returns this
45444
+ */
45445
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.setJob = function(value) {
45446
+ return jspb.Message.setProto3EnumField(this, 1, value);
45447
+ };
45448
+
45449
+
45450
+ /**
45451
+ * optional int64 startAfterUserId = 2;
45452
+ * @return {number}
45453
+ */
45454
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.getStartafteruserid = function() {
45455
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
45456
+ };
45457
+
45458
+
45459
+ /**
45460
+ * @param {number} value
45461
+ * @return {!proto.sniipuserservice.RunLocationBackfillRequest} returns this
45462
+ */
45463
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.setStartafteruserid = function(value) {
45464
+ return jspb.Message.setProto3IntField(this, 2, value);
45465
+ };
45466
+
45467
+
45468
+ /**
45469
+ * optional int32 batchSize = 3;
45470
+ * @return {number}
45471
+ */
45472
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.getBatchsize = function() {
45473
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
45474
+ };
45475
+
45476
+
45477
+ /**
45478
+ * @param {number} value
45479
+ * @return {!proto.sniipuserservice.RunLocationBackfillRequest} returns this
45480
+ */
45481
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.setBatchsize = function(value) {
45482
+ return jspb.Message.setProto3IntField(this, 3, value);
45483
+ };
45484
+
45485
+
45486
+ /**
45487
+ * optional int64 throttleMs = 4;
45488
+ * @return {number}
45489
+ */
45490
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.getThrottlems = function() {
45491
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
45492
+ };
45493
+
45494
+
45495
+ /**
45496
+ * @param {number} value
45497
+ * @return {!proto.sniipuserservice.RunLocationBackfillRequest} returns this
45498
+ */
45499
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.setThrottlems = function(value) {
45500
+ return jspb.Message.setProto3IntField(this, 4, value);
45501
+ };
45502
+
45503
+
45504
+ /**
45505
+ * optional int32 maxBatches = 5;
45506
+ * @return {number}
45507
+ */
45508
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.getMaxbatches = function() {
45509
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
45510
+ };
45511
+
45512
+
45513
+ /**
45514
+ * @param {number} value
45515
+ * @return {!proto.sniipuserservice.RunLocationBackfillRequest} returns this
45516
+ */
45517
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.setMaxbatches = function(value) {
45518
+ return jspb.Message.setProto3IntField(this, 5, value);
45519
+ };
45520
+
45521
+
45522
+ /**
45523
+ * optional string systemAuth = 6;
45524
+ * @return {string}
45525
+ */
45526
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.getSystemauth = function() {
45527
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
45528
+ };
45529
+
45530
+
45531
+ /**
45532
+ * @param {string} value
45533
+ * @return {!proto.sniipuserservice.RunLocationBackfillRequest} returns this
45534
+ */
45535
+ proto.sniipuserservice.RunLocationBackfillRequest.prototype.setSystemauth = function(value) {
45536
+ return jspb.Message.setProto3StringField(this, 6, value);
45537
+ };
45538
+
45539
+
45540
+
45541
+
45542
+
45543
+ if (jspb.Message.GENERATE_TO_OBJECT) {
45544
+ /**
45545
+ * Creates an object representation of this proto.
45546
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
45547
+ * Optional fields that are not set will be set to undefined.
45548
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
45549
+ * For the list of reserved names please see:
45550
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
45551
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
45552
+ * JSPB instance for transitional soy proto support:
45553
+ * http://goto/soy-param-migration
45554
+ * @return {!Object}
45555
+ */
45556
+ proto.sniipuserservice.RunLocationBackfillResponse.prototype.toObject = function(opt_includeInstance) {
45557
+ return proto.sniipuserservice.RunLocationBackfillResponse.toObject(opt_includeInstance, this);
45558
+ };
45559
+
45560
+
45561
+ /**
45562
+ * Static version of the {@see toObject} method.
45563
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
45564
+ * the JSPB instance for transitional soy proto support:
45565
+ * http://goto/soy-param-migration
45566
+ * @param {!proto.sniipuserservice.RunLocationBackfillResponse} msg The msg instance to transform.
45567
+ * @return {!Object}
45568
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45569
+ */
45570
+ proto.sniipuserservice.RunLocationBackfillResponse.toObject = function(includeInstance, msg) {
45571
+ var f, obj = {
45572
+ totalprocessed: jspb.Message.getFieldWithDefault(msg, 1, 0),
45573
+ lastcursor: jspb.Message.getFieldWithDefault(msg, 2, 0),
45574
+ done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
45575
+ };
45576
+
45577
+ if (includeInstance) {
45578
+ obj.$jspbMessageInstance = msg;
45579
+ }
45580
+ return obj;
45581
+ };
45582
+ }
45583
+
45584
+
45585
+ /**
45586
+ * Deserializes binary data (in protobuf wire format).
45587
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
45588
+ * @return {!proto.sniipuserservice.RunLocationBackfillResponse}
45589
+ */
45590
+ proto.sniipuserservice.RunLocationBackfillResponse.deserializeBinary = function(bytes) {
45591
+ var reader = new jspb.BinaryReader(bytes);
45592
+ var msg = new proto.sniipuserservice.RunLocationBackfillResponse;
45593
+ return proto.sniipuserservice.RunLocationBackfillResponse.deserializeBinaryFromReader(msg, reader);
45594
+ };
45595
+
45596
+
45597
+ /**
45598
+ * Deserializes binary data (in protobuf wire format) from the
45599
+ * given reader into the given message object.
45600
+ * @param {!proto.sniipuserservice.RunLocationBackfillResponse} msg The message object to deserialize into.
45601
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
45602
+ * @return {!proto.sniipuserservice.RunLocationBackfillResponse}
45603
+ */
45604
+ proto.sniipuserservice.RunLocationBackfillResponse.deserializeBinaryFromReader = function(msg, reader) {
45605
+ while (reader.nextField()) {
45606
+ if (reader.isEndGroup()) {
45607
+ break;
45608
+ }
45609
+ var field = reader.getFieldNumber();
45610
+ switch (field) {
45611
+ case 1:
45612
+ var value = /** @type {number} */ (reader.readInt64());
45613
+ msg.setTotalprocessed(value);
45614
+ break;
45615
+ case 2:
45616
+ var value = /** @type {number} */ (reader.readInt64());
45617
+ msg.setLastcursor(value);
45618
+ break;
45619
+ case 3:
45620
+ var value = /** @type {boolean} */ (reader.readBool());
45621
+ msg.setDone(value);
45622
+ break;
45623
+ default:
45624
+ reader.skipField();
45625
+ break;
45626
+ }
45627
+ }
45628
+ return msg;
45629
+ };
45630
+
45631
+
45632
+ /**
45633
+ * Serializes the message to binary data (in protobuf wire format).
45634
+ * @return {!Uint8Array}
45635
+ */
45636
+ proto.sniipuserservice.RunLocationBackfillResponse.prototype.serializeBinary = function() {
45637
+ var writer = new jspb.BinaryWriter();
45638
+ proto.sniipuserservice.RunLocationBackfillResponse.serializeBinaryToWriter(this, writer);
45639
+ return writer.getResultBuffer();
45640
+ };
45641
+
45642
+
45643
+ /**
45644
+ * Serializes the given message to binary data (in protobuf wire
45645
+ * format), writing to the given BinaryWriter.
45646
+ * @param {!proto.sniipuserservice.RunLocationBackfillResponse} message
45647
+ * @param {!jspb.BinaryWriter} writer
45648
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45649
+ */
45650
+ proto.sniipuserservice.RunLocationBackfillResponse.serializeBinaryToWriter = function(message, writer) {
45651
+ var f = undefined;
45652
+ f = message.getTotalprocessed();
45653
+ if (f !== 0) {
45654
+ writer.writeInt64(
45655
+ 1,
45656
+ f
45657
+ );
45658
+ }
45659
+ f = message.getLastcursor();
45660
+ if (f !== 0) {
45661
+ writer.writeInt64(
45662
+ 2,
45663
+ f
45664
+ );
45665
+ }
45666
+ f = message.getDone();
45667
+ if (f) {
45668
+ writer.writeBool(
45669
+ 3,
45670
+ f
45671
+ );
45672
+ }
45673
+ };
45674
+
45675
+
45676
+ /**
45677
+ * optional int64 totalProcessed = 1;
45678
+ * @return {number}
45679
+ */
45680
+ proto.sniipuserservice.RunLocationBackfillResponse.prototype.getTotalprocessed = function() {
45681
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
45682
+ };
45683
+
45684
+
45685
+ /**
45686
+ * @param {number} value
45687
+ * @return {!proto.sniipuserservice.RunLocationBackfillResponse} returns this
45688
+ */
45689
+ proto.sniipuserservice.RunLocationBackfillResponse.prototype.setTotalprocessed = function(value) {
45690
+ return jspb.Message.setProto3IntField(this, 1, value);
45691
+ };
45692
+
45693
+
45694
+ /**
45695
+ * optional int64 lastCursor = 2;
45696
+ * @return {number}
45697
+ */
45698
+ proto.sniipuserservice.RunLocationBackfillResponse.prototype.getLastcursor = function() {
45699
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
45700
+ };
45701
+
45702
+
45703
+ /**
45704
+ * @param {number} value
45705
+ * @return {!proto.sniipuserservice.RunLocationBackfillResponse} returns this
45706
+ */
45707
+ proto.sniipuserservice.RunLocationBackfillResponse.prototype.setLastcursor = function(value) {
45708
+ return jspb.Message.setProto3IntField(this, 2, value);
45709
+ };
45710
+
45711
+
45712
+ /**
45713
+ * optional bool done = 3;
45714
+ * @return {boolean}
45715
+ */
45716
+ proto.sniipuserservice.RunLocationBackfillResponse.prototype.getDone = function() {
45717
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
45718
+ };
45719
+
45720
+
45721
+ /**
45722
+ * @param {boolean} value
45723
+ * @return {!proto.sniipuserservice.RunLocationBackfillResponse} returns this
45724
+ */
45725
+ proto.sniipuserservice.RunLocationBackfillResponse.prototype.setDone = function(value) {
45726
+ return jspb.Message.setProto3BooleanField(this, 3, value);
45727
+ };
45728
+
45729
+
45730
+
45731
+
45732
+
45218
45733
  if (jspb.Message.GENERATE_TO_OBJECT) {
45219
45734
  /**
45220
45735
  * Creates an object representation of this proto.
@@ -54412,4 +54927,13 @@ proto.sniipuserservice.AppAccountType = {
54412
54927
  WEX: 2
54413
54928
  };
54414
54929
 
54930
+ /**
54931
+ * @enum {number}
54932
+ */
54933
+ proto.sniipuserservice.LocationBackfillJob = {
54934
+ LOCATION_BACKFILL_JOB_UNSPECIFIED: 0,
54935
+ LOCATION_BACKFILL_JOB_PHONE_COUNTRY: 1,
54936
+ LOCATION_BACKFILL_JOB_KYC_LOCATION: 2
54937
+ };
54938
+
54415
54939
  goog.object.extend(exports, proto.sniipuserservice);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb-ts",
3
- "version": "26.7.14564",
3
+ "version": "26.7.14575",
4
4
  "description": "user-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",