protobuf-platform 1.2.548 → 1.2.553

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.
package/user/user_pb.js CHANGED
@@ -22,6 +22,8 @@ var global = (function() {
22
22
  }.call(null));
23
23
 
24
24
  goog.exportSymbol('proto.user.AppleLoginRequest', null, global);
25
+ goog.exportSymbol('proto.user.ApproveVerificationRequest', null, global);
26
+ goog.exportSymbol('proto.user.ApproveVerificationResponse', null, global);
25
27
  goog.exportSymbol('proto.user.AssignUserKycRequirementPresetRequest', null, global);
26
28
  goog.exportSymbol('proto.user.AttachKycRequirementPresetRuleRequest', null, global);
27
29
  goog.exportSymbol('proto.user.BatchGetAffiliateAttributionItem', null, global);
@@ -68,6 +70,8 @@ goog.exportSymbol('proto.user.GetSumSubApplicantRequest', null, global);
68
70
  goog.exportSymbol('proto.user.GetUserKycVerificationRequirementsRequest', null, global);
69
71
  goog.exportSymbol('proto.user.GetUserKycVerificationRequirementsResponse', null, global);
70
72
  goog.exportSymbol('proto.user.GetUserLimitsRequest', null, global);
73
+ goog.exportSymbol('proto.user.GetUserProfileDataVerificationRequest', null, global);
74
+ goog.exportSymbol('proto.user.GetUserProfileDataVerificationResponse', null, global);
71
75
  goog.exportSymbol('proto.user.GetUserSegmentIdsRequest', null, global);
72
76
  goog.exportSymbol('proto.user.GetUserWalletBalancesRequest', null, global);
73
77
  goog.exportSymbol('proto.user.GoogleLoginRequest', null, global);
@@ -228,6 +232,7 @@ goog.exportSymbol('proto.user.UserLoyaltyItem', null, global);
228
232
  goog.exportSymbol('proto.user.UserManualRestrictionItem', null, global);
229
233
  goog.exportSymbol('proto.user.UserManualRestrictionsResponse', null, global);
230
234
  goog.exportSymbol('proto.user.UserPasswordRequest', null, global);
235
+ goog.exportSymbol('proto.user.UserProfileDataVerificationField', null, global);
231
236
  goog.exportSymbol('proto.user.UserRequest', null, global);
232
237
  goog.exportSymbol('proto.user.UserRiskProfileResponse', null, global);
233
238
  goog.exportSymbol('proto.user.UserSearchParams', null, global);
@@ -237,6 +242,8 @@ goog.exportSymbol('proto.user.UserToggleGameStatusResponse', null, global);
237
242
  goog.exportSymbol('proto.user.UserWalletBalanceItem', null, global);
238
243
  goog.exportSymbol('proto.user.UserWalletBalancesResponse', null, global);
239
244
  goog.exportSymbol('proto.user.UsersResponse', null, global);
245
+ goog.exportSymbol('proto.user.VerificationCapability', null, global);
246
+ goog.exportSymbol('proto.user.VerificationCapabilityStatus', null, global);
240
247
  goog.exportSymbol('proto.user.VerificationStatus', null, global);
241
248
  goog.exportSymbol('proto.user.VerificationStatusItemsResponse', null, global);
242
249
  goog.exportSymbol('proto.user.VerifySmsResetPasswordCodeRequest', null, global);
@@ -4190,6 +4197,111 @@ if (goog.DEBUG && !COMPILED) {
4190
4197
  */
4191
4198
  proto.user.UserKycRequirementStatusResponse.displayName = 'proto.user.UserKycRequirementStatusResponse';
4192
4199
  }
4200
+ /**
4201
+ * Generated by JsPbCodeGenerator.
4202
+ * @param {Array=} opt_data Optional initial data array, typically from a
4203
+ * server response, or constructed directly in Javascript. The array is used
4204
+ * in place and becomes part of the constructed object. It is not cloned.
4205
+ * If no data is provided, the constructed object will be empty, but still
4206
+ * valid.
4207
+ * @extends {jspb.Message}
4208
+ * @constructor
4209
+ */
4210
+ proto.user.GetUserProfileDataVerificationRequest = function(opt_data) {
4211
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4212
+ };
4213
+ goog.inherits(proto.user.GetUserProfileDataVerificationRequest, jspb.Message);
4214
+ if (goog.DEBUG && !COMPILED) {
4215
+ /**
4216
+ * @public
4217
+ * @override
4218
+ */
4219
+ proto.user.GetUserProfileDataVerificationRequest.displayName = 'proto.user.GetUserProfileDataVerificationRequest';
4220
+ }
4221
+ /**
4222
+ * Generated by JsPbCodeGenerator.
4223
+ * @param {Array=} opt_data Optional initial data array, typically from a
4224
+ * server response, or constructed directly in Javascript. The array is used
4225
+ * in place and becomes part of the constructed object. It is not cloned.
4226
+ * If no data is provided, the constructed object will be empty, but still
4227
+ * valid.
4228
+ * @extends {jspb.Message}
4229
+ * @constructor
4230
+ */
4231
+ proto.user.UserProfileDataVerificationField = function(opt_data) {
4232
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4233
+ };
4234
+ goog.inherits(proto.user.UserProfileDataVerificationField, jspb.Message);
4235
+ if (goog.DEBUG && !COMPILED) {
4236
+ /**
4237
+ * @public
4238
+ * @override
4239
+ */
4240
+ proto.user.UserProfileDataVerificationField.displayName = 'proto.user.UserProfileDataVerificationField';
4241
+ }
4242
+ /**
4243
+ * Generated by JsPbCodeGenerator.
4244
+ * @param {Array=} opt_data Optional initial data array, typically from a
4245
+ * server response, or constructed directly in Javascript. The array is used
4246
+ * in place and becomes part of the constructed object. It is not cloned.
4247
+ * If no data is provided, the constructed object will be empty, but still
4248
+ * valid.
4249
+ * @extends {jspb.Message}
4250
+ * @constructor
4251
+ */
4252
+ proto.user.GetUserProfileDataVerificationResponse = function(opt_data) {
4253
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.GetUserProfileDataVerificationResponse.repeatedFields_, null);
4254
+ };
4255
+ goog.inherits(proto.user.GetUserProfileDataVerificationResponse, jspb.Message);
4256
+ if (goog.DEBUG && !COMPILED) {
4257
+ /**
4258
+ * @public
4259
+ * @override
4260
+ */
4261
+ proto.user.GetUserProfileDataVerificationResponse.displayName = 'proto.user.GetUserProfileDataVerificationResponse';
4262
+ }
4263
+ /**
4264
+ * Generated by JsPbCodeGenerator.
4265
+ * @param {Array=} opt_data Optional initial data array, typically from a
4266
+ * server response, or constructed directly in Javascript. The array is used
4267
+ * in place and becomes part of the constructed object. It is not cloned.
4268
+ * If no data is provided, the constructed object will be empty, but still
4269
+ * valid.
4270
+ * @extends {jspb.Message}
4271
+ * @constructor
4272
+ */
4273
+ proto.user.ApproveVerificationRequest = function(opt_data) {
4274
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4275
+ };
4276
+ goog.inherits(proto.user.ApproveVerificationRequest, jspb.Message);
4277
+ if (goog.DEBUG && !COMPILED) {
4278
+ /**
4279
+ * @public
4280
+ * @override
4281
+ */
4282
+ proto.user.ApproveVerificationRequest.displayName = 'proto.user.ApproveVerificationRequest';
4283
+ }
4284
+ /**
4285
+ * Generated by JsPbCodeGenerator.
4286
+ * @param {Array=} opt_data Optional initial data array, typically from a
4287
+ * server response, or constructed directly in Javascript. The array is used
4288
+ * in place and becomes part of the constructed object. It is not cloned.
4289
+ * If no data is provided, the constructed object will be empty, but still
4290
+ * valid.
4291
+ * @extends {jspb.Message}
4292
+ * @constructor
4293
+ */
4294
+ proto.user.ApproveVerificationResponse = function(opt_data) {
4295
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4296
+ };
4297
+ goog.inherits(proto.user.ApproveVerificationResponse, jspb.Message);
4298
+ if (goog.DEBUG && !COMPILED) {
4299
+ /**
4300
+ * @public
4301
+ * @override
4302
+ */
4303
+ proto.user.ApproveVerificationResponse.displayName = 'proto.user.ApproveVerificationResponse';
4304
+ }
4193
4305
  /**
4194
4306
  * Generated by JsPbCodeGenerator.
4195
4307
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -72132,6 +72244,837 @@ proto.user.UserKycRequirementStatusResponse.prototype.hasPresetId = function() {
72132
72244
 
72133
72245
 
72134
72246
 
72247
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72248
+ /**
72249
+ * Creates an object representation of this proto.
72250
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72251
+ * Optional fields that are not set will be set to undefined.
72252
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72253
+ * For the list of reserved names please see:
72254
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72255
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72256
+ * JSPB instance for transitional soy proto support:
72257
+ * http://goto/soy-param-migration
72258
+ * @return {!Object}
72259
+ */
72260
+ proto.user.GetUserProfileDataVerificationRequest.prototype.toObject = function(opt_includeInstance) {
72261
+ return proto.user.GetUserProfileDataVerificationRequest.toObject(opt_includeInstance, this);
72262
+ };
72263
+
72264
+
72265
+ /**
72266
+ * Static version of the {@see toObject} method.
72267
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72268
+ * the JSPB instance for transitional soy proto support:
72269
+ * http://goto/soy-param-migration
72270
+ * @param {!proto.user.GetUserProfileDataVerificationRequest} msg The msg instance to transform.
72271
+ * @return {!Object}
72272
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72273
+ */
72274
+ proto.user.GetUserProfileDataVerificationRequest.toObject = function(includeInstance, msg) {
72275
+ var f, obj = {
72276
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
72277
+ };
72278
+
72279
+ if (includeInstance) {
72280
+ obj.$jspbMessageInstance = msg;
72281
+ }
72282
+ return obj;
72283
+ };
72284
+ }
72285
+
72286
+
72287
+ /**
72288
+ * Deserializes binary data (in protobuf wire format).
72289
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
72290
+ * @return {!proto.user.GetUserProfileDataVerificationRequest}
72291
+ */
72292
+ proto.user.GetUserProfileDataVerificationRequest.deserializeBinary = function(bytes) {
72293
+ var reader = new jspb.BinaryReader(bytes);
72294
+ var msg = new proto.user.GetUserProfileDataVerificationRequest;
72295
+ return proto.user.GetUserProfileDataVerificationRequest.deserializeBinaryFromReader(msg, reader);
72296
+ };
72297
+
72298
+
72299
+ /**
72300
+ * Deserializes binary data (in protobuf wire format) from the
72301
+ * given reader into the given message object.
72302
+ * @param {!proto.user.GetUserProfileDataVerificationRequest} msg The message object to deserialize into.
72303
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
72304
+ * @return {!proto.user.GetUserProfileDataVerificationRequest}
72305
+ */
72306
+ proto.user.GetUserProfileDataVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
72307
+ while (reader.nextField()) {
72308
+ if (reader.isEndGroup()) {
72309
+ break;
72310
+ }
72311
+ var field = reader.getFieldNumber();
72312
+ switch (field) {
72313
+ case 1:
72314
+ var value = /** @type {number} */ (reader.readInt32());
72315
+ msg.setUserId(value);
72316
+ break;
72317
+ default:
72318
+ reader.skipField();
72319
+ break;
72320
+ }
72321
+ }
72322
+ return msg;
72323
+ };
72324
+
72325
+
72326
+ /**
72327
+ * Serializes the message to binary data (in protobuf wire format).
72328
+ * @return {!Uint8Array}
72329
+ */
72330
+ proto.user.GetUserProfileDataVerificationRequest.prototype.serializeBinary = function() {
72331
+ var writer = new jspb.BinaryWriter();
72332
+ proto.user.GetUserProfileDataVerificationRequest.serializeBinaryToWriter(this, writer);
72333
+ return writer.getResultBuffer();
72334
+ };
72335
+
72336
+
72337
+ /**
72338
+ * Serializes the given message to binary data (in protobuf wire
72339
+ * format), writing to the given BinaryWriter.
72340
+ * @param {!proto.user.GetUserProfileDataVerificationRequest} message
72341
+ * @param {!jspb.BinaryWriter} writer
72342
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72343
+ */
72344
+ proto.user.GetUserProfileDataVerificationRequest.serializeBinaryToWriter = function(message, writer) {
72345
+ var f = undefined;
72346
+ f = message.getUserId();
72347
+ if (f !== 0) {
72348
+ writer.writeInt32(
72349
+ 1,
72350
+ f
72351
+ );
72352
+ }
72353
+ };
72354
+
72355
+
72356
+ /**
72357
+ * optional int32 user_id = 1;
72358
+ * @return {number}
72359
+ */
72360
+ proto.user.GetUserProfileDataVerificationRequest.prototype.getUserId = function() {
72361
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
72362
+ };
72363
+
72364
+
72365
+ /**
72366
+ * @param {number} value
72367
+ * @return {!proto.user.GetUserProfileDataVerificationRequest} returns this
72368
+ */
72369
+ proto.user.GetUserProfileDataVerificationRequest.prototype.setUserId = function(value) {
72370
+ return jspb.Message.setProto3IntField(this, 1, value);
72371
+ };
72372
+
72373
+
72374
+
72375
+
72376
+
72377
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72378
+ /**
72379
+ * Creates an object representation of this proto.
72380
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72381
+ * Optional fields that are not set will be set to undefined.
72382
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72383
+ * For the list of reserved names please see:
72384
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72385
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72386
+ * JSPB instance for transitional soy proto support:
72387
+ * http://goto/soy-param-migration
72388
+ * @return {!Object}
72389
+ */
72390
+ proto.user.UserProfileDataVerificationField.prototype.toObject = function(opt_includeInstance) {
72391
+ return proto.user.UserProfileDataVerificationField.toObject(opt_includeInstance, this);
72392
+ };
72393
+
72394
+
72395
+ /**
72396
+ * Static version of the {@see toObject} method.
72397
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72398
+ * the JSPB instance for transitional soy proto support:
72399
+ * http://goto/soy-param-migration
72400
+ * @param {!proto.user.UserProfileDataVerificationField} msg The msg instance to transform.
72401
+ * @return {!Object}
72402
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72403
+ */
72404
+ proto.user.UserProfileDataVerificationField.toObject = function(includeInstance, msg) {
72405
+ var f, obj = {
72406
+ fieldKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
72407
+ value: jspb.Message.getFieldWithDefault(msg, 2, ""),
72408
+ status: jspb.Message.getFieldWithDefault(msg, 3, 0)
72409
+ };
72410
+
72411
+ if (includeInstance) {
72412
+ obj.$jspbMessageInstance = msg;
72413
+ }
72414
+ return obj;
72415
+ };
72416
+ }
72417
+
72418
+
72419
+ /**
72420
+ * Deserializes binary data (in protobuf wire format).
72421
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
72422
+ * @return {!proto.user.UserProfileDataVerificationField}
72423
+ */
72424
+ proto.user.UserProfileDataVerificationField.deserializeBinary = function(bytes) {
72425
+ var reader = new jspb.BinaryReader(bytes);
72426
+ var msg = new proto.user.UserProfileDataVerificationField;
72427
+ return proto.user.UserProfileDataVerificationField.deserializeBinaryFromReader(msg, reader);
72428
+ };
72429
+
72430
+
72431
+ /**
72432
+ * Deserializes binary data (in protobuf wire format) from the
72433
+ * given reader into the given message object.
72434
+ * @param {!proto.user.UserProfileDataVerificationField} msg The message object to deserialize into.
72435
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
72436
+ * @return {!proto.user.UserProfileDataVerificationField}
72437
+ */
72438
+ proto.user.UserProfileDataVerificationField.deserializeBinaryFromReader = function(msg, reader) {
72439
+ while (reader.nextField()) {
72440
+ if (reader.isEndGroup()) {
72441
+ break;
72442
+ }
72443
+ var field = reader.getFieldNumber();
72444
+ switch (field) {
72445
+ case 1:
72446
+ var value = /** @type {string} */ (reader.readString());
72447
+ msg.setFieldKey(value);
72448
+ break;
72449
+ case 2:
72450
+ var value = /** @type {string} */ (reader.readString());
72451
+ msg.setValue(value);
72452
+ break;
72453
+ case 3:
72454
+ var value = /** @type {!proto.user.VerificationCapabilityStatus} */ (reader.readEnum());
72455
+ msg.setStatus(value);
72456
+ break;
72457
+ default:
72458
+ reader.skipField();
72459
+ break;
72460
+ }
72461
+ }
72462
+ return msg;
72463
+ };
72464
+
72465
+
72466
+ /**
72467
+ * Serializes the message to binary data (in protobuf wire format).
72468
+ * @return {!Uint8Array}
72469
+ */
72470
+ proto.user.UserProfileDataVerificationField.prototype.serializeBinary = function() {
72471
+ var writer = new jspb.BinaryWriter();
72472
+ proto.user.UserProfileDataVerificationField.serializeBinaryToWriter(this, writer);
72473
+ return writer.getResultBuffer();
72474
+ };
72475
+
72476
+
72477
+ /**
72478
+ * Serializes the given message to binary data (in protobuf wire
72479
+ * format), writing to the given BinaryWriter.
72480
+ * @param {!proto.user.UserProfileDataVerificationField} message
72481
+ * @param {!jspb.BinaryWriter} writer
72482
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72483
+ */
72484
+ proto.user.UserProfileDataVerificationField.serializeBinaryToWriter = function(message, writer) {
72485
+ var f = undefined;
72486
+ f = message.getFieldKey();
72487
+ if (f.length > 0) {
72488
+ writer.writeString(
72489
+ 1,
72490
+ f
72491
+ );
72492
+ }
72493
+ f = message.getValue();
72494
+ if (f.length > 0) {
72495
+ writer.writeString(
72496
+ 2,
72497
+ f
72498
+ );
72499
+ }
72500
+ f = message.getStatus();
72501
+ if (f !== 0.0) {
72502
+ writer.writeEnum(
72503
+ 3,
72504
+ f
72505
+ );
72506
+ }
72507
+ };
72508
+
72509
+
72510
+ /**
72511
+ * optional string field_key = 1;
72512
+ * @return {string}
72513
+ */
72514
+ proto.user.UserProfileDataVerificationField.prototype.getFieldKey = function() {
72515
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
72516
+ };
72517
+
72518
+
72519
+ /**
72520
+ * @param {string} value
72521
+ * @return {!proto.user.UserProfileDataVerificationField} returns this
72522
+ */
72523
+ proto.user.UserProfileDataVerificationField.prototype.setFieldKey = function(value) {
72524
+ return jspb.Message.setProto3StringField(this, 1, value);
72525
+ };
72526
+
72527
+
72528
+ /**
72529
+ * optional string value = 2;
72530
+ * @return {string}
72531
+ */
72532
+ proto.user.UserProfileDataVerificationField.prototype.getValue = function() {
72533
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
72534
+ };
72535
+
72536
+
72537
+ /**
72538
+ * @param {string} value
72539
+ * @return {!proto.user.UserProfileDataVerificationField} returns this
72540
+ */
72541
+ proto.user.UserProfileDataVerificationField.prototype.setValue = function(value) {
72542
+ return jspb.Message.setProto3StringField(this, 2, value);
72543
+ };
72544
+
72545
+
72546
+ /**
72547
+ * optional VerificationCapabilityStatus status = 3;
72548
+ * @return {!proto.user.VerificationCapabilityStatus}
72549
+ */
72550
+ proto.user.UserProfileDataVerificationField.prototype.getStatus = function() {
72551
+ return /** @type {!proto.user.VerificationCapabilityStatus} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
72552
+ };
72553
+
72554
+
72555
+ /**
72556
+ * @param {!proto.user.VerificationCapabilityStatus} value
72557
+ * @return {!proto.user.UserProfileDataVerificationField} returns this
72558
+ */
72559
+ proto.user.UserProfileDataVerificationField.prototype.setStatus = function(value) {
72560
+ return jspb.Message.setProto3EnumField(this, 3, value);
72561
+ };
72562
+
72563
+
72564
+
72565
+ /**
72566
+ * List of repeated fields within this message type.
72567
+ * @private {!Array<number>}
72568
+ * @const
72569
+ */
72570
+ proto.user.GetUserProfileDataVerificationResponse.repeatedFields_ = [4];
72571
+
72572
+
72573
+
72574
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72575
+ /**
72576
+ * Creates an object representation of this proto.
72577
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72578
+ * Optional fields that are not set will be set to undefined.
72579
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72580
+ * For the list of reserved names please see:
72581
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72582
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72583
+ * JSPB instance for transitional soy proto support:
72584
+ * http://goto/soy-param-migration
72585
+ * @return {!Object}
72586
+ */
72587
+ proto.user.GetUserProfileDataVerificationResponse.prototype.toObject = function(opt_includeInstance) {
72588
+ return proto.user.GetUserProfileDataVerificationResponse.toObject(opt_includeInstance, this);
72589
+ };
72590
+
72591
+
72592
+ /**
72593
+ * Static version of the {@see toObject} method.
72594
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72595
+ * the JSPB instance for transitional soy proto support:
72596
+ * http://goto/soy-param-migration
72597
+ * @param {!proto.user.GetUserProfileDataVerificationResponse} msg The msg instance to transform.
72598
+ * @return {!Object}
72599
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72600
+ */
72601
+ proto.user.GetUserProfileDataVerificationResponse.toObject = function(includeInstance, msg) {
72602
+ var f, obj = {
72603
+ status: jspb.Message.getFieldWithDefault(msg, 1, 0),
72604
+ configured: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
72605
+ canApprove: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
72606
+ fieldsList: jspb.Message.toObjectList(msg.getFieldsList(),
72607
+ proto.user.UserProfileDataVerificationField.toObject, includeInstance)
72608
+ };
72609
+
72610
+ if (includeInstance) {
72611
+ obj.$jspbMessageInstance = msg;
72612
+ }
72613
+ return obj;
72614
+ };
72615
+ }
72616
+
72617
+
72618
+ /**
72619
+ * Deserializes binary data (in protobuf wire format).
72620
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
72621
+ * @return {!proto.user.GetUserProfileDataVerificationResponse}
72622
+ */
72623
+ proto.user.GetUserProfileDataVerificationResponse.deserializeBinary = function(bytes) {
72624
+ var reader = new jspb.BinaryReader(bytes);
72625
+ var msg = new proto.user.GetUserProfileDataVerificationResponse;
72626
+ return proto.user.GetUserProfileDataVerificationResponse.deserializeBinaryFromReader(msg, reader);
72627
+ };
72628
+
72629
+
72630
+ /**
72631
+ * Deserializes binary data (in protobuf wire format) from the
72632
+ * given reader into the given message object.
72633
+ * @param {!proto.user.GetUserProfileDataVerificationResponse} msg The message object to deserialize into.
72634
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
72635
+ * @return {!proto.user.GetUserProfileDataVerificationResponse}
72636
+ */
72637
+ proto.user.GetUserProfileDataVerificationResponse.deserializeBinaryFromReader = function(msg, reader) {
72638
+ while (reader.nextField()) {
72639
+ if (reader.isEndGroup()) {
72640
+ break;
72641
+ }
72642
+ var field = reader.getFieldNumber();
72643
+ switch (field) {
72644
+ case 1:
72645
+ var value = /** @type {!proto.user.VerificationCapabilityStatus} */ (reader.readEnum());
72646
+ msg.setStatus(value);
72647
+ break;
72648
+ case 2:
72649
+ var value = /** @type {boolean} */ (reader.readBool());
72650
+ msg.setConfigured(value);
72651
+ break;
72652
+ case 3:
72653
+ var value = /** @type {boolean} */ (reader.readBool());
72654
+ msg.setCanApprove(value);
72655
+ break;
72656
+ case 4:
72657
+ var value = new proto.user.UserProfileDataVerificationField;
72658
+ reader.readMessage(value,proto.user.UserProfileDataVerificationField.deserializeBinaryFromReader);
72659
+ msg.addFields(value);
72660
+ break;
72661
+ default:
72662
+ reader.skipField();
72663
+ break;
72664
+ }
72665
+ }
72666
+ return msg;
72667
+ };
72668
+
72669
+
72670
+ /**
72671
+ * Serializes the message to binary data (in protobuf wire format).
72672
+ * @return {!Uint8Array}
72673
+ */
72674
+ proto.user.GetUserProfileDataVerificationResponse.prototype.serializeBinary = function() {
72675
+ var writer = new jspb.BinaryWriter();
72676
+ proto.user.GetUserProfileDataVerificationResponse.serializeBinaryToWriter(this, writer);
72677
+ return writer.getResultBuffer();
72678
+ };
72679
+
72680
+
72681
+ /**
72682
+ * Serializes the given message to binary data (in protobuf wire
72683
+ * format), writing to the given BinaryWriter.
72684
+ * @param {!proto.user.GetUserProfileDataVerificationResponse} message
72685
+ * @param {!jspb.BinaryWriter} writer
72686
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72687
+ */
72688
+ proto.user.GetUserProfileDataVerificationResponse.serializeBinaryToWriter = function(message, writer) {
72689
+ var f = undefined;
72690
+ f = message.getStatus();
72691
+ if (f !== 0.0) {
72692
+ writer.writeEnum(
72693
+ 1,
72694
+ f
72695
+ );
72696
+ }
72697
+ f = message.getConfigured();
72698
+ if (f) {
72699
+ writer.writeBool(
72700
+ 2,
72701
+ f
72702
+ );
72703
+ }
72704
+ f = message.getCanApprove();
72705
+ if (f) {
72706
+ writer.writeBool(
72707
+ 3,
72708
+ f
72709
+ );
72710
+ }
72711
+ f = message.getFieldsList();
72712
+ if (f.length > 0) {
72713
+ writer.writeRepeatedMessage(
72714
+ 4,
72715
+ f,
72716
+ proto.user.UserProfileDataVerificationField.serializeBinaryToWriter
72717
+ );
72718
+ }
72719
+ };
72720
+
72721
+
72722
+ /**
72723
+ * optional VerificationCapabilityStatus status = 1;
72724
+ * @return {!proto.user.VerificationCapabilityStatus}
72725
+ */
72726
+ proto.user.GetUserProfileDataVerificationResponse.prototype.getStatus = function() {
72727
+ return /** @type {!proto.user.VerificationCapabilityStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
72728
+ };
72729
+
72730
+
72731
+ /**
72732
+ * @param {!proto.user.VerificationCapabilityStatus} value
72733
+ * @return {!proto.user.GetUserProfileDataVerificationResponse} returns this
72734
+ */
72735
+ proto.user.GetUserProfileDataVerificationResponse.prototype.setStatus = function(value) {
72736
+ return jspb.Message.setProto3EnumField(this, 1, value);
72737
+ };
72738
+
72739
+
72740
+ /**
72741
+ * optional bool configured = 2;
72742
+ * @return {boolean}
72743
+ */
72744
+ proto.user.GetUserProfileDataVerificationResponse.prototype.getConfigured = function() {
72745
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
72746
+ };
72747
+
72748
+
72749
+ /**
72750
+ * @param {boolean} value
72751
+ * @return {!proto.user.GetUserProfileDataVerificationResponse} returns this
72752
+ */
72753
+ proto.user.GetUserProfileDataVerificationResponse.prototype.setConfigured = function(value) {
72754
+ return jspb.Message.setProto3BooleanField(this, 2, value);
72755
+ };
72756
+
72757
+
72758
+ /**
72759
+ * optional bool can_approve = 3;
72760
+ * @return {boolean}
72761
+ */
72762
+ proto.user.GetUserProfileDataVerificationResponse.prototype.getCanApprove = function() {
72763
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
72764
+ };
72765
+
72766
+
72767
+ /**
72768
+ * @param {boolean} value
72769
+ * @return {!proto.user.GetUserProfileDataVerificationResponse} returns this
72770
+ */
72771
+ proto.user.GetUserProfileDataVerificationResponse.prototype.setCanApprove = function(value) {
72772
+ return jspb.Message.setProto3BooleanField(this, 3, value);
72773
+ };
72774
+
72775
+
72776
+ /**
72777
+ * repeated UserProfileDataVerificationField fields = 4;
72778
+ * @return {!Array<!proto.user.UserProfileDataVerificationField>}
72779
+ */
72780
+ proto.user.GetUserProfileDataVerificationResponse.prototype.getFieldsList = function() {
72781
+ return /** @type{!Array<!proto.user.UserProfileDataVerificationField>} */ (
72782
+ jspb.Message.getRepeatedWrapperField(this, proto.user.UserProfileDataVerificationField, 4));
72783
+ };
72784
+
72785
+
72786
+ /**
72787
+ * @param {!Array<!proto.user.UserProfileDataVerificationField>} value
72788
+ * @return {!proto.user.GetUserProfileDataVerificationResponse} returns this
72789
+ */
72790
+ proto.user.GetUserProfileDataVerificationResponse.prototype.setFieldsList = function(value) {
72791
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
72792
+ };
72793
+
72794
+
72795
+ /**
72796
+ * @param {!proto.user.UserProfileDataVerificationField=} opt_value
72797
+ * @param {number=} opt_index
72798
+ * @return {!proto.user.UserProfileDataVerificationField}
72799
+ */
72800
+ proto.user.GetUserProfileDataVerificationResponse.prototype.addFields = function(opt_value, opt_index) {
72801
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.user.UserProfileDataVerificationField, opt_index);
72802
+ };
72803
+
72804
+
72805
+ /**
72806
+ * Clears the list making it empty but non-null.
72807
+ * @return {!proto.user.GetUserProfileDataVerificationResponse} returns this
72808
+ */
72809
+ proto.user.GetUserProfileDataVerificationResponse.prototype.clearFieldsList = function() {
72810
+ return this.setFieldsList([]);
72811
+ };
72812
+
72813
+
72814
+
72815
+
72816
+
72817
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72818
+ /**
72819
+ * Creates an object representation of this proto.
72820
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72821
+ * Optional fields that are not set will be set to undefined.
72822
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72823
+ * For the list of reserved names please see:
72824
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72825
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72826
+ * JSPB instance for transitional soy proto support:
72827
+ * http://goto/soy-param-migration
72828
+ * @return {!Object}
72829
+ */
72830
+ proto.user.ApproveVerificationRequest.prototype.toObject = function(opt_includeInstance) {
72831
+ return proto.user.ApproveVerificationRequest.toObject(opt_includeInstance, this);
72832
+ };
72833
+
72834
+
72835
+ /**
72836
+ * Static version of the {@see toObject} method.
72837
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72838
+ * the JSPB instance for transitional soy proto support:
72839
+ * http://goto/soy-param-migration
72840
+ * @param {!proto.user.ApproveVerificationRequest} msg The msg instance to transform.
72841
+ * @return {!Object}
72842
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72843
+ */
72844
+ proto.user.ApproveVerificationRequest.toObject = function(includeInstance, msg) {
72845
+ var f, obj = {
72846
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
72847
+ capability: jspb.Message.getFieldWithDefault(msg, 2, 0)
72848
+ };
72849
+
72850
+ if (includeInstance) {
72851
+ obj.$jspbMessageInstance = msg;
72852
+ }
72853
+ return obj;
72854
+ };
72855
+ }
72856
+
72857
+
72858
+ /**
72859
+ * Deserializes binary data (in protobuf wire format).
72860
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
72861
+ * @return {!proto.user.ApproveVerificationRequest}
72862
+ */
72863
+ proto.user.ApproveVerificationRequest.deserializeBinary = function(bytes) {
72864
+ var reader = new jspb.BinaryReader(bytes);
72865
+ var msg = new proto.user.ApproveVerificationRequest;
72866
+ return proto.user.ApproveVerificationRequest.deserializeBinaryFromReader(msg, reader);
72867
+ };
72868
+
72869
+
72870
+ /**
72871
+ * Deserializes binary data (in protobuf wire format) from the
72872
+ * given reader into the given message object.
72873
+ * @param {!proto.user.ApproveVerificationRequest} msg The message object to deserialize into.
72874
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
72875
+ * @return {!proto.user.ApproveVerificationRequest}
72876
+ */
72877
+ proto.user.ApproveVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
72878
+ while (reader.nextField()) {
72879
+ if (reader.isEndGroup()) {
72880
+ break;
72881
+ }
72882
+ var field = reader.getFieldNumber();
72883
+ switch (field) {
72884
+ case 1:
72885
+ var value = /** @type {number} */ (reader.readInt32());
72886
+ msg.setUserId(value);
72887
+ break;
72888
+ case 2:
72889
+ var value = /** @type {!proto.user.VerificationCapability} */ (reader.readEnum());
72890
+ msg.setCapability(value);
72891
+ break;
72892
+ default:
72893
+ reader.skipField();
72894
+ break;
72895
+ }
72896
+ }
72897
+ return msg;
72898
+ };
72899
+
72900
+
72901
+ /**
72902
+ * Serializes the message to binary data (in protobuf wire format).
72903
+ * @return {!Uint8Array}
72904
+ */
72905
+ proto.user.ApproveVerificationRequest.prototype.serializeBinary = function() {
72906
+ var writer = new jspb.BinaryWriter();
72907
+ proto.user.ApproveVerificationRequest.serializeBinaryToWriter(this, writer);
72908
+ return writer.getResultBuffer();
72909
+ };
72910
+
72911
+
72912
+ /**
72913
+ * Serializes the given message to binary data (in protobuf wire
72914
+ * format), writing to the given BinaryWriter.
72915
+ * @param {!proto.user.ApproveVerificationRequest} message
72916
+ * @param {!jspb.BinaryWriter} writer
72917
+ * @suppress {unusedLocalVariables} f is only used for nested messages
72918
+ */
72919
+ proto.user.ApproveVerificationRequest.serializeBinaryToWriter = function(message, writer) {
72920
+ var f = undefined;
72921
+ f = message.getUserId();
72922
+ if (f !== 0) {
72923
+ writer.writeInt32(
72924
+ 1,
72925
+ f
72926
+ );
72927
+ }
72928
+ f = message.getCapability();
72929
+ if (f !== 0.0) {
72930
+ writer.writeEnum(
72931
+ 2,
72932
+ f
72933
+ );
72934
+ }
72935
+ };
72936
+
72937
+
72938
+ /**
72939
+ * optional int32 user_id = 1;
72940
+ * @return {number}
72941
+ */
72942
+ proto.user.ApproveVerificationRequest.prototype.getUserId = function() {
72943
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
72944
+ };
72945
+
72946
+
72947
+ /**
72948
+ * @param {number} value
72949
+ * @return {!proto.user.ApproveVerificationRequest} returns this
72950
+ */
72951
+ proto.user.ApproveVerificationRequest.prototype.setUserId = function(value) {
72952
+ return jspb.Message.setProto3IntField(this, 1, value);
72953
+ };
72954
+
72955
+
72956
+ /**
72957
+ * optional VerificationCapability capability = 2;
72958
+ * @return {!proto.user.VerificationCapability}
72959
+ */
72960
+ proto.user.ApproveVerificationRequest.prototype.getCapability = function() {
72961
+ return /** @type {!proto.user.VerificationCapability} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
72962
+ };
72963
+
72964
+
72965
+ /**
72966
+ * @param {!proto.user.VerificationCapability} value
72967
+ * @return {!proto.user.ApproveVerificationRequest} returns this
72968
+ */
72969
+ proto.user.ApproveVerificationRequest.prototype.setCapability = function(value) {
72970
+ return jspb.Message.setProto3EnumField(this, 2, value);
72971
+ };
72972
+
72973
+
72974
+
72975
+
72976
+
72977
+ if (jspb.Message.GENERATE_TO_OBJECT) {
72978
+ /**
72979
+ * Creates an object representation of this proto.
72980
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
72981
+ * Optional fields that are not set will be set to undefined.
72982
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72983
+ * For the list of reserved names please see:
72984
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
72985
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
72986
+ * JSPB instance for transitional soy proto support:
72987
+ * http://goto/soy-param-migration
72988
+ * @return {!Object}
72989
+ */
72990
+ proto.user.ApproveVerificationResponse.prototype.toObject = function(opt_includeInstance) {
72991
+ return proto.user.ApproveVerificationResponse.toObject(opt_includeInstance, this);
72992
+ };
72993
+
72994
+
72995
+ /**
72996
+ * Static version of the {@see toObject} method.
72997
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72998
+ * the JSPB instance for transitional soy proto support:
72999
+ * http://goto/soy-param-migration
73000
+ * @param {!proto.user.ApproveVerificationResponse} msg The msg instance to transform.
73001
+ * @return {!Object}
73002
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73003
+ */
73004
+ proto.user.ApproveVerificationResponse.toObject = function(includeInstance, msg) {
73005
+ var f, obj = {
73006
+
73007
+ };
73008
+
73009
+ if (includeInstance) {
73010
+ obj.$jspbMessageInstance = msg;
73011
+ }
73012
+ return obj;
73013
+ };
73014
+ }
73015
+
73016
+
73017
+ /**
73018
+ * Deserializes binary data (in protobuf wire format).
73019
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
73020
+ * @return {!proto.user.ApproveVerificationResponse}
73021
+ */
73022
+ proto.user.ApproveVerificationResponse.deserializeBinary = function(bytes) {
73023
+ var reader = new jspb.BinaryReader(bytes);
73024
+ var msg = new proto.user.ApproveVerificationResponse;
73025
+ return proto.user.ApproveVerificationResponse.deserializeBinaryFromReader(msg, reader);
73026
+ };
73027
+
73028
+
73029
+ /**
73030
+ * Deserializes binary data (in protobuf wire format) from the
73031
+ * given reader into the given message object.
73032
+ * @param {!proto.user.ApproveVerificationResponse} msg The message object to deserialize into.
73033
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
73034
+ * @return {!proto.user.ApproveVerificationResponse}
73035
+ */
73036
+ proto.user.ApproveVerificationResponse.deserializeBinaryFromReader = function(msg, reader) {
73037
+ while (reader.nextField()) {
73038
+ if (reader.isEndGroup()) {
73039
+ break;
73040
+ }
73041
+ var field = reader.getFieldNumber();
73042
+ switch (field) {
73043
+ default:
73044
+ reader.skipField();
73045
+ break;
73046
+ }
73047
+ }
73048
+ return msg;
73049
+ };
73050
+
73051
+
73052
+ /**
73053
+ * Serializes the message to binary data (in protobuf wire format).
73054
+ * @return {!Uint8Array}
73055
+ */
73056
+ proto.user.ApproveVerificationResponse.prototype.serializeBinary = function() {
73057
+ var writer = new jspb.BinaryWriter();
73058
+ proto.user.ApproveVerificationResponse.serializeBinaryToWriter(this, writer);
73059
+ return writer.getResultBuffer();
73060
+ };
73061
+
73062
+
73063
+ /**
73064
+ * Serializes the given message to binary data (in protobuf wire
73065
+ * format), writing to the given BinaryWriter.
73066
+ * @param {!proto.user.ApproveVerificationResponse} message
73067
+ * @param {!jspb.BinaryWriter} writer
73068
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73069
+ */
73070
+ proto.user.ApproveVerificationResponse.serializeBinaryToWriter = function(message, writer) {
73071
+ var f = undefined;
73072
+ };
73073
+
73074
+
73075
+
73076
+
73077
+
72135
73078
  if (jspb.Message.GENERATE_TO_OBJECT) {
72136
73079
  /**
72137
73080
  * Creates an object representation of this proto.
@@ -78997,4 +79940,22 @@ proto.user.UserGameIdsFilterResponse.prototype.clearGameIdsList = function() {
78997
79940
  };
78998
79941
 
78999
79942
 
79943
+ /**
79944
+ * @enum {number}
79945
+ */
79946
+ proto.user.VerificationCapability = {
79947
+ VERIFICATION_CAPABILITY_UNSPECIFIED: 0,
79948
+ VERIFICATION_CAPABILITY_PROFILE_DATA: 1
79949
+ };
79950
+
79951
+ /**
79952
+ * @enum {number}
79953
+ */
79954
+ proto.user.VerificationCapabilityStatus = {
79955
+ VERIFICATION_CAPABILITY_STATUS_UNSPECIFIED: 0,
79956
+ VERIFICATION_CAPABILITY_STATUS_APPROVED: 1,
79957
+ VERIFICATION_CAPABILITY_STATUS_PENDING: 2,
79958
+ VERIFICATION_CAPABILITY_STATUS_MISSING: 3
79959
+ };
79960
+
79000
79961
  goog.object.extend(exports, proto.user);