protobuf-platform 1.2.557 → 1.2.559

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
@@ -80,9 +80,13 @@ goog.exportSymbol('proto.user.GetUserLimitsRequest', null, global);
80
80
  goog.exportSymbol('proto.user.GetUserProfileDataVerificationRequest', null, global);
81
81
  goog.exportSymbol('proto.user.GetUserProfileDataVerificationResponse', null, global);
82
82
  goog.exportSymbol('proto.user.GetUserSegmentIdsRequest', null, global);
83
+ goog.exportSymbol('proto.user.GetUserVerificationFlowRequest', null, global);
84
+ goog.exportSymbol('proto.user.GetUserVerificationFlowResponse', null, global);
83
85
  goog.exportSymbol('proto.user.GetUserVerificationRequest', null, global);
84
86
  goog.exportSymbol('proto.user.GetUserVerificationResponse', null, global);
85
87
  goog.exportSymbol('proto.user.GetUserWalletBalancesRequest', null, global);
88
+ goog.exportSymbol('proto.user.GetVerificationProfileDataRequirementsRequest', null, global);
89
+ goog.exportSymbol('proto.user.GetVerificationProfileDataRequirementsResponse', null, global);
86
90
  goog.exportSymbol('proto.user.GoogleLoginRequest', null, global);
87
91
  goog.exportSymbol('proto.user.IngestUserKycDocumentToProviderRequest', null, global);
88
92
  goog.exportSymbol('proto.user.KycRequirementPresetItem', null, global);
@@ -143,6 +147,8 @@ goog.exportSymbol('proto.user.ReadUserKycVerificationDocumentsRequest', null, gl
143
147
  goog.exportSymbol('proto.user.ReadUserManualRestrictionsRequest', null, global);
144
148
  goog.exportSymbol('proto.user.ReadUserRiskProfileRequest', null, global);
145
149
  goog.exportSymbol('proto.user.RegistrationRequest', null, global);
150
+ goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsRequest', null, global);
151
+ goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsResponse', null, global);
146
152
  goog.exportSymbol('proto.user.ReserveResponsibleGamingDepositRequest', null, global);
147
153
  goog.exportSymbol('proto.user.ReserveResponsibleGamingDepositResponse', null, global);
148
154
  goog.exportSymbol('proto.user.ReserveResponsibleGamingLossExposureRequest', null, global);
@@ -283,12 +289,16 @@ goog.exportSymbol('proto.user.UserSegmentIdsResponse', null, global);
283
289
  goog.exportSymbol('proto.user.UserStatusResponse', null, global);
284
290
  goog.exportSymbol('proto.user.UserToggleGameStatusResponse', null, global);
285
291
  goog.exportSymbol('proto.user.UserVerificationCapabilityState', null, global);
292
+ goog.exportSymbol('proto.user.UserVerificationFlowOption', null, global);
293
+ goog.exportSymbol('proto.user.UserVerificationFlowStep', null, global);
294
+ goog.exportSymbol('proto.user.UserVerificationFlowUpload', null, global);
286
295
  goog.exportSymbol('proto.user.UserVerificationOverallStatus', null, global);
287
296
  goog.exportSymbol('proto.user.UserWalletBalanceItem', null, global);
288
297
  goog.exportSymbol('proto.user.UserWalletBalancesResponse', null, global);
289
298
  goog.exportSymbol('proto.user.UsersResponse', null, global);
290
299
  goog.exportSymbol('proto.user.VerificationCapability', null, global);
291
300
  goog.exportSymbol('proto.user.VerificationCapabilityStatus', null, global);
301
+ goog.exportSymbol('proto.user.VerificationSelectionMode', null, global);
292
302
  goog.exportSymbol('proto.user.VerificationStatus', null, global);
293
303
  goog.exportSymbol('proto.user.VerificationStatusItemsResponse', null, global);
294
304
  goog.exportSymbol('proto.user.VerifySmsResetPasswordCodeRequest', null, global);
@@ -4410,6 +4420,195 @@ if (goog.DEBUG && !COMPILED) {
4410
4420
  */
4411
4421
  proto.user.ApproveVerificationResponse.displayName = 'proto.user.ApproveVerificationResponse';
4412
4422
  }
4423
+ /**
4424
+ * Generated by JsPbCodeGenerator.
4425
+ * @param {Array=} opt_data Optional initial data array, typically from a
4426
+ * server response, or constructed directly in Javascript. The array is used
4427
+ * in place and becomes part of the constructed object. It is not cloned.
4428
+ * If no data is provided, the constructed object will be empty, but still
4429
+ * valid.
4430
+ * @extends {jspb.Message}
4431
+ * @constructor
4432
+ */
4433
+ proto.user.UserVerificationFlowUpload = function(opt_data) {
4434
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4435
+ };
4436
+ goog.inherits(proto.user.UserVerificationFlowUpload, jspb.Message);
4437
+ if (goog.DEBUG && !COMPILED) {
4438
+ /**
4439
+ * @public
4440
+ * @override
4441
+ */
4442
+ proto.user.UserVerificationFlowUpload.displayName = 'proto.user.UserVerificationFlowUpload';
4443
+ }
4444
+ /**
4445
+ * Generated by JsPbCodeGenerator.
4446
+ * @param {Array=} opt_data Optional initial data array, typically from a
4447
+ * server response, or constructed directly in Javascript. The array is used
4448
+ * in place and becomes part of the constructed object. It is not cloned.
4449
+ * If no data is provided, the constructed object will be empty, but still
4450
+ * valid.
4451
+ * @extends {jspb.Message}
4452
+ * @constructor
4453
+ */
4454
+ proto.user.UserVerificationFlowOption = function(opt_data) {
4455
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.UserVerificationFlowOption.repeatedFields_, null);
4456
+ };
4457
+ goog.inherits(proto.user.UserVerificationFlowOption, jspb.Message);
4458
+ if (goog.DEBUG && !COMPILED) {
4459
+ /**
4460
+ * @public
4461
+ * @override
4462
+ */
4463
+ proto.user.UserVerificationFlowOption.displayName = 'proto.user.UserVerificationFlowOption';
4464
+ }
4465
+ /**
4466
+ * Generated by JsPbCodeGenerator.
4467
+ * @param {Array=} opt_data Optional initial data array, typically from a
4468
+ * server response, or constructed directly in Javascript. The array is used
4469
+ * in place and becomes part of the constructed object. It is not cloned.
4470
+ * If no data is provided, the constructed object will be empty, but still
4471
+ * valid.
4472
+ * @extends {jspb.Message}
4473
+ * @constructor
4474
+ */
4475
+ proto.user.UserVerificationFlowStep = function(opt_data) {
4476
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.UserVerificationFlowStep.repeatedFields_, null);
4477
+ };
4478
+ goog.inherits(proto.user.UserVerificationFlowStep, jspb.Message);
4479
+ if (goog.DEBUG && !COMPILED) {
4480
+ /**
4481
+ * @public
4482
+ * @override
4483
+ */
4484
+ proto.user.UserVerificationFlowStep.displayName = 'proto.user.UserVerificationFlowStep';
4485
+ }
4486
+ /**
4487
+ * Generated by JsPbCodeGenerator.
4488
+ * @param {Array=} opt_data Optional initial data array, typically from a
4489
+ * server response, or constructed directly in Javascript. The array is used
4490
+ * in place and becomes part of the constructed object. It is not cloned.
4491
+ * If no data is provided, the constructed object will be empty, but still
4492
+ * valid.
4493
+ * @extends {jspb.Message}
4494
+ * @constructor
4495
+ */
4496
+ proto.user.GetUserVerificationFlowRequest = function(opt_data) {
4497
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4498
+ };
4499
+ goog.inherits(proto.user.GetUserVerificationFlowRequest, jspb.Message);
4500
+ if (goog.DEBUG && !COMPILED) {
4501
+ /**
4502
+ * @public
4503
+ * @override
4504
+ */
4505
+ proto.user.GetUserVerificationFlowRequest.displayName = 'proto.user.GetUserVerificationFlowRequest';
4506
+ }
4507
+ /**
4508
+ * Generated by JsPbCodeGenerator.
4509
+ * @param {Array=} opt_data Optional initial data array, typically from a
4510
+ * server response, or constructed directly in Javascript. The array is used
4511
+ * in place and becomes part of the constructed object. It is not cloned.
4512
+ * If no data is provided, the constructed object will be empty, but still
4513
+ * valid.
4514
+ * @extends {jspb.Message}
4515
+ * @constructor
4516
+ */
4517
+ proto.user.GetUserVerificationFlowResponse = function(opt_data) {
4518
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.GetUserVerificationFlowResponse.repeatedFields_, null);
4519
+ };
4520
+ goog.inherits(proto.user.GetUserVerificationFlowResponse, jspb.Message);
4521
+ if (goog.DEBUG && !COMPILED) {
4522
+ /**
4523
+ * @public
4524
+ * @override
4525
+ */
4526
+ proto.user.GetUserVerificationFlowResponse.displayName = 'proto.user.GetUserVerificationFlowResponse';
4527
+ }
4528
+ /**
4529
+ * Generated by JsPbCodeGenerator.
4530
+ * @param {Array=} opt_data Optional initial data array, typically from a
4531
+ * server response, or constructed directly in Javascript. The array is used
4532
+ * in place and becomes part of the constructed object. It is not cloned.
4533
+ * If no data is provided, the constructed object will be empty, but still
4534
+ * valid.
4535
+ * @extends {jspb.Message}
4536
+ * @constructor
4537
+ */
4538
+ proto.user.GetVerificationProfileDataRequirementsRequest = function(opt_data) {
4539
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4540
+ };
4541
+ goog.inherits(proto.user.GetVerificationProfileDataRequirementsRequest, jspb.Message);
4542
+ if (goog.DEBUG && !COMPILED) {
4543
+ /**
4544
+ * @public
4545
+ * @override
4546
+ */
4547
+ proto.user.GetVerificationProfileDataRequirementsRequest.displayName = 'proto.user.GetVerificationProfileDataRequirementsRequest';
4548
+ }
4549
+ /**
4550
+ * Generated by JsPbCodeGenerator.
4551
+ * @param {Array=} opt_data Optional initial data array, typically from a
4552
+ * server response, or constructed directly in Javascript. The array is used
4553
+ * in place and becomes part of the constructed object. It is not cloned.
4554
+ * If no data is provided, the constructed object will be empty, but still
4555
+ * valid.
4556
+ * @extends {jspb.Message}
4557
+ * @constructor
4558
+ */
4559
+ proto.user.GetVerificationProfileDataRequirementsResponse = function(opt_data) {
4560
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.GetVerificationProfileDataRequirementsResponse.repeatedFields_, null);
4561
+ };
4562
+ goog.inherits(proto.user.GetVerificationProfileDataRequirementsResponse, jspb.Message);
4563
+ if (goog.DEBUG && !COMPILED) {
4564
+ /**
4565
+ * @public
4566
+ * @override
4567
+ */
4568
+ proto.user.GetVerificationProfileDataRequirementsResponse.displayName = 'proto.user.GetVerificationProfileDataRequirementsResponse';
4569
+ }
4570
+ /**
4571
+ * Generated by JsPbCodeGenerator.
4572
+ * @param {Array=} opt_data Optional initial data array, typically from a
4573
+ * server response, or constructed directly in Javascript. The array is used
4574
+ * in place and becomes part of the constructed object. It is not cloned.
4575
+ * If no data is provided, the constructed object will be empty, but still
4576
+ * valid.
4577
+ * @extends {jspb.Message}
4578
+ * @constructor
4579
+ */
4580
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest = function(opt_data) {
4581
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.ReplaceVerificationProfileDataRequirementsRequest.repeatedFields_, null);
4582
+ };
4583
+ goog.inherits(proto.user.ReplaceVerificationProfileDataRequirementsRequest, jspb.Message);
4584
+ if (goog.DEBUG && !COMPILED) {
4585
+ /**
4586
+ * @public
4587
+ * @override
4588
+ */
4589
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.displayName = 'proto.user.ReplaceVerificationProfileDataRequirementsRequest';
4590
+ }
4591
+ /**
4592
+ * Generated by JsPbCodeGenerator.
4593
+ * @param {Array=} opt_data Optional initial data array, typically from a
4594
+ * server response, or constructed directly in Javascript. The array is used
4595
+ * in place and becomes part of the constructed object. It is not cloned.
4596
+ * If no data is provided, the constructed object will be empty, but still
4597
+ * valid.
4598
+ * @extends {jspb.Message}
4599
+ * @constructor
4600
+ */
4601
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse = function(opt_data) {
4602
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4603
+ };
4604
+ goog.inherits(proto.user.ReplaceVerificationProfileDataRequirementsResponse, jspb.Message);
4605
+ if (goog.DEBUG && !COMPILED) {
4606
+ /**
4607
+ * @public
4608
+ * @override
4609
+ */
4610
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.displayName = 'proto.user.ReplaceVerificationProfileDataRequirementsResponse';
4611
+ }
4413
4612
  /**
4414
4613
  * Generated by JsPbCodeGenerator.
4415
4614
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -74387,8 +74586,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74387
74586
  * http://goto/soy-param-migration
74388
74587
  * @return {!Object}
74389
74588
  */
74390
- proto.user.DashboardRequest.prototype.toObject = function(opt_includeInstance) {
74391
- return proto.user.DashboardRequest.toObject(opt_includeInstance, this);
74589
+ proto.user.UserVerificationFlowUpload.prototype.toObject = function(opt_includeInstance) {
74590
+ return proto.user.UserVerificationFlowUpload.toObject(opt_includeInstance, this);
74392
74591
  };
74393
74592
 
74394
74593
 
@@ -74397,14 +74596,15 @@ proto.user.DashboardRequest.prototype.toObject = function(opt_includeInstance) {
74397
74596
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74398
74597
  * the JSPB instance for transitional soy proto support:
74399
74598
  * http://goto/soy-param-migration
74400
- * @param {!proto.user.DashboardRequest} msg The msg instance to transform.
74599
+ * @param {!proto.user.UserVerificationFlowUpload} msg The msg instance to transform.
74401
74600
  * @return {!Object}
74402
74601
  * @suppress {unusedLocalVariables} f is only used for nested messages
74403
74602
  */
74404
- proto.user.DashboardRequest.toObject = function(includeInstance, msg) {
74603
+ proto.user.UserVerificationFlowUpload.toObject = function(includeInstance, msg) {
74405
74604
  var f, obj = {
74406
- startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
74407
- endDate: jspb.Message.getFieldWithDefault(msg, 2, "")
74605
+ side: jspb.Message.getFieldWithDefault(msg, 1, ""),
74606
+ required: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
74607
+ status: jspb.Message.getFieldWithDefault(msg, 3, 0)
74408
74608
  };
74409
74609
 
74410
74610
  if (includeInstance) {
@@ -74418,23 +74618,23 @@ proto.user.DashboardRequest.toObject = function(includeInstance, msg) {
74418
74618
  /**
74419
74619
  * Deserializes binary data (in protobuf wire format).
74420
74620
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
74421
- * @return {!proto.user.DashboardRequest}
74621
+ * @return {!proto.user.UserVerificationFlowUpload}
74422
74622
  */
74423
- proto.user.DashboardRequest.deserializeBinary = function(bytes) {
74623
+ proto.user.UserVerificationFlowUpload.deserializeBinary = function(bytes) {
74424
74624
  var reader = new jspb.BinaryReader(bytes);
74425
- var msg = new proto.user.DashboardRequest;
74426
- return proto.user.DashboardRequest.deserializeBinaryFromReader(msg, reader);
74625
+ var msg = new proto.user.UserVerificationFlowUpload;
74626
+ return proto.user.UserVerificationFlowUpload.deserializeBinaryFromReader(msg, reader);
74427
74627
  };
74428
74628
 
74429
74629
 
74430
74630
  /**
74431
74631
  * Deserializes binary data (in protobuf wire format) from the
74432
74632
  * given reader into the given message object.
74433
- * @param {!proto.user.DashboardRequest} msg The message object to deserialize into.
74633
+ * @param {!proto.user.UserVerificationFlowUpload} msg The message object to deserialize into.
74434
74634
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74435
- * @return {!proto.user.DashboardRequest}
74635
+ * @return {!proto.user.UserVerificationFlowUpload}
74436
74636
  */
74437
- proto.user.DashboardRequest.deserializeBinaryFromReader = function(msg, reader) {
74637
+ proto.user.UserVerificationFlowUpload.deserializeBinaryFromReader = function(msg, reader) {
74438
74638
  while (reader.nextField()) {
74439
74639
  if (reader.isEndGroup()) {
74440
74640
  break;
@@ -74443,11 +74643,15 @@ proto.user.DashboardRequest.deserializeBinaryFromReader = function(msg, reader)
74443
74643
  switch (field) {
74444
74644
  case 1:
74445
74645
  var value = /** @type {string} */ (reader.readString());
74446
- msg.setStartDate(value);
74646
+ msg.setSide(value);
74447
74647
  break;
74448
74648
  case 2:
74449
- var value = /** @type {string} */ (reader.readString());
74450
- msg.setEndDate(value);
74649
+ var value = /** @type {boolean} */ (reader.readBool());
74650
+ msg.setRequired(value);
74651
+ break;
74652
+ case 3:
74653
+ var value = /** @type {!proto.user.VerificationCapabilityStatus} */ (reader.readEnum());
74654
+ msg.setStatus(value);
74451
74655
  break;
74452
74656
  default:
74453
74657
  reader.skipField();
@@ -74462,9 +74666,9 @@ proto.user.DashboardRequest.deserializeBinaryFromReader = function(msg, reader)
74462
74666
  * Serializes the message to binary data (in protobuf wire format).
74463
74667
  * @return {!Uint8Array}
74464
74668
  */
74465
- proto.user.DashboardRequest.prototype.serializeBinary = function() {
74669
+ proto.user.UserVerificationFlowUpload.prototype.serializeBinary = function() {
74466
74670
  var writer = new jspb.BinaryWriter();
74467
- proto.user.DashboardRequest.serializeBinaryToWriter(this, writer);
74671
+ proto.user.UserVerificationFlowUpload.serializeBinaryToWriter(this, writer);
74468
74672
  return writer.getResultBuffer();
74469
74673
  };
74470
74674
 
@@ -74472,66 +74676,98 @@ proto.user.DashboardRequest.prototype.serializeBinary = function() {
74472
74676
  /**
74473
74677
  * Serializes the given message to binary data (in protobuf wire
74474
74678
  * format), writing to the given BinaryWriter.
74475
- * @param {!proto.user.DashboardRequest} message
74679
+ * @param {!proto.user.UserVerificationFlowUpload} message
74476
74680
  * @param {!jspb.BinaryWriter} writer
74477
74681
  * @suppress {unusedLocalVariables} f is only used for nested messages
74478
74682
  */
74479
- proto.user.DashboardRequest.serializeBinaryToWriter = function(message, writer) {
74683
+ proto.user.UserVerificationFlowUpload.serializeBinaryToWriter = function(message, writer) {
74480
74684
  var f = undefined;
74481
- f = message.getStartDate();
74685
+ f = message.getSide();
74482
74686
  if (f.length > 0) {
74483
74687
  writer.writeString(
74484
74688
  1,
74485
74689
  f
74486
74690
  );
74487
74691
  }
74488
- f = message.getEndDate();
74489
- if (f.length > 0) {
74490
- writer.writeString(
74692
+ f = message.getRequired();
74693
+ if (f) {
74694
+ writer.writeBool(
74491
74695
  2,
74492
74696
  f
74493
74697
  );
74494
74698
  }
74699
+ f = message.getStatus();
74700
+ if (f !== 0.0) {
74701
+ writer.writeEnum(
74702
+ 3,
74703
+ f
74704
+ );
74705
+ }
74495
74706
  };
74496
74707
 
74497
74708
 
74498
74709
  /**
74499
- * optional string start_date = 1;
74710
+ * optional string side = 1;
74500
74711
  * @return {string}
74501
74712
  */
74502
- proto.user.DashboardRequest.prototype.getStartDate = function() {
74713
+ proto.user.UserVerificationFlowUpload.prototype.getSide = function() {
74503
74714
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
74504
74715
  };
74505
74716
 
74506
74717
 
74507
74718
  /**
74508
74719
  * @param {string} value
74509
- * @return {!proto.user.DashboardRequest} returns this
74720
+ * @return {!proto.user.UserVerificationFlowUpload} returns this
74510
74721
  */
74511
- proto.user.DashboardRequest.prototype.setStartDate = function(value) {
74722
+ proto.user.UserVerificationFlowUpload.prototype.setSide = function(value) {
74512
74723
  return jspb.Message.setProto3StringField(this, 1, value);
74513
74724
  };
74514
74725
 
74515
74726
 
74516
74727
  /**
74517
- * optional string end_date = 2;
74518
- * @return {string}
74728
+ * optional bool required = 2;
74729
+ * @return {boolean}
74519
74730
  */
74520
- proto.user.DashboardRequest.prototype.getEndDate = function() {
74521
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
74731
+ proto.user.UserVerificationFlowUpload.prototype.getRequired = function() {
74732
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
74522
74733
  };
74523
74734
 
74524
74735
 
74525
74736
  /**
74526
- * @param {string} value
74527
- * @return {!proto.user.DashboardRequest} returns this
74737
+ * @param {boolean} value
74738
+ * @return {!proto.user.UserVerificationFlowUpload} returns this
74528
74739
  */
74529
- proto.user.DashboardRequest.prototype.setEndDate = function(value) {
74530
- return jspb.Message.setProto3StringField(this, 2, value);
74740
+ proto.user.UserVerificationFlowUpload.prototype.setRequired = function(value) {
74741
+ return jspb.Message.setProto3BooleanField(this, 2, value);
74742
+ };
74743
+
74744
+
74745
+ /**
74746
+ * optional VerificationCapabilityStatus status = 3;
74747
+ * @return {!proto.user.VerificationCapabilityStatus}
74748
+ */
74749
+ proto.user.UserVerificationFlowUpload.prototype.getStatus = function() {
74750
+ return /** @type {!proto.user.VerificationCapabilityStatus} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
74751
+ };
74752
+
74753
+
74754
+ /**
74755
+ * @param {!proto.user.VerificationCapabilityStatus} value
74756
+ * @return {!proto.user.UserVerificationFlowUpload} returns this
74757
+ */
74758
+ proto.user.UserVerificationFlowUpload.prototype.setStatus = function(value) {
74759
+ return jspb.Message.setProto3EnumField(this, 3, value);
74531
74760
  };
74532
74761
 
74533
74762
 
74534
74763
 
74764
+ /**
74765
+ * List of repeated fields within this message type.
74766
+ * @private {!Array<number>}
74767
+ * @const
74768
+ */
74769
+ proto.user.UserVerificationFlowOption.repeatedFields_ = [4];
74770
+
74535
74771
 
74536
74772
 
74537
74773
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -74547,8 +74783,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74547
74783
  * http://goto/soy-param-migration
74548
74784
  * @return {!Object}
74549
74785
  */
74550
- proto.user.DashboardResponse.prototype.toObject = function(opt_includeInstance) {
74551
- return proto.user.DashboardResponse.toObject(opt_includeInstance, this);
74786
+ proto.user.UserVerificationFlowOption.prototype.toObject = function(opt_includeInstance) {
74787
+ return proto.user.UserVerificationFlowOption.toObject(opt_includeInstance, this);
74552
74788
  };
74553
74789
 
74554
74790
 
@@ -74557,14 +74793,17 @@ proto.user.DashboardResponse.prototype.toObject = function(opt_includeInstance)
74557
74793
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74558
74794
  * the JSPB instance for transitional soy proto support:
74559
74795
  * http://goto/soy-param-migration
74560
- * @param {!proto.user.DashboardResponse} msg The msg instance to transform.
74796
+ * @param {!proto.user.UserVerificationFlowOption} msg The msg instance to transform.
74561
74797
  * @return {!Object}
74562
74798
  * @suppress {unusedLocalVariables} f is only used for nested messages
74563
74799
  */
74564
- proto.user.DashboardResponse.toObject = function(includeInstance, msg) {
74800
+ proto.user.UserVerificationFlowOption.toObject = function(includeInstance, msg) {
74565
74801
  var f, obj = {
74566
- registrationCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
74567
- loginCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
74802
+ documentType: jspb.Message.getFieldWithDefault(msg, 1, ""),
74803
+ supported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
74804
+ uploadRequirementsResolved: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
74805
+ uploadsList: jspb.Message.toObjectList(msg.getUploadsList(),
74806
+ proto.user.UserVerificationFlowUpload.toObject, includeInstance)
74568
74807
  };
74569
74808
 
74570
74809
  if (includeInstance) {
@@ -74578,23 +74817,23 @@ proto.user.DashboardResponse.toObject = function(includeInstance, msg) {
74578
74817
  /**
74579
74818
  * Deserializes binary data (in protobuf wire format).
74580
74819
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
74581
- * @return {!proto.user.DashboardResponse}
74820
+ * @return {!proto.user.UserVerificationFlowOption}
74582
74821
  */
74583
- proto.user.DashboardResponse.deserializeBinary = function(bytes) {
74822
+ proto.user.UserVerificationFlowOption.deserializeBinary = function(bytes) {
74584
74823
  var reader = new jspb.BinaryReader(bytes);
74585
- var msg = new proto.user.DashboardResponse;
74586
- return proto.user.DashboardResponse.deserializeBinaryFromReader(msg, reader);
74824
+ var msg = new proto.user.UserVerificationFlowOption;
74825
+ return proto.user.UserVerificationFlowOption.deserializeBinaryFromReader(msg, reader);
74587
74826
  };
74588
74827
 
74589
74828
 
74590
74829
  /**
74591
74830
  * Deserializes binary data (in protobuf wire format) from the
74592
74831
  * given reader into the given message object.
74593
- * @param {!proto.user.DashboardResponse} msg The message object to deserialize into.
74832
+ * @param {!proto.user.UserVerificationFlowOption} msg The message object to deserialize into.
74594
74833
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74595
- * @return {!proto.user.DashboardResponse}
74834
+ * @return {!proto.user.UserVerificationFlowOption}
74596
74835
  */
74597
- proto.user.DashboardResponse.deserializeBinaryFromReader = function(msg, reader) {
74836
+ proto.user.UserVerificationFlowOption.deserializeBinaryFromReader = function(msg, reader) {
74598
74837
  while (reader.nextField()) {
74599
74838
  if (reader.isEndGroup()) {
74600
74839
  break;
@@ -74602,12 +74841,21 @@ proto.user.DashboardResponse.deserializeBinaryFromReader = function(msg, reader)
74602
74841
  var field = reader.getFieldNumber();
74603
74842
  switch (field) {
74604
74843
  case 1:
74605
- var value = /** @type {number} */ (reader.readInt32());
74606
- msg.setRegistrationCount(value);
74844
+ var value = /** @type {string} */ (reader.readString());
74845
+ msg.setDocumentType(value);
74607
74846
  break;
74608
74847
  case 2:
74609
- var value = /** @type {number} */ (reader.readInt32());
74610
- msg.setLoginCount(value);
74848
+ var value = /** @type {boolean} */ (reader.readBool());
74849
+ msg.setSupported(value);
74850
+ break;
74851
+ case 3:
74852
+ var value = /** @type {boolean} */ (reader.readBool());
74853
+ msg.setUploadRequirementsResolved(value);
74854
+ break;
74855
+ case 4:
74856
+ var value = new proto.user.UserVerificationFlowUpload;
74857
+ reader.readMessage(value,proto.user.UserVerificationFlowUpload.deserializeBinaryFromReader);
74858
+ msg.addUploads(value);
74611
74859
  break;
74612
74860
  default:
74613
74861
  reader.skipField();
@@ -74622,9 +74870,9 @@ proto.user.DashboardResponse.deserializeBinaryFromReader = function(msg, reader)
74622
74870
  * Serializes the message to binary data (in protobuf wire format).
74623
74871
  * @return {!Uint8Array}
74624
74872
  */
74625
- proto.user.DashboardResponse.prototype.serializeBinary = function() {
74873
+ proto.user.UserVerificationFlowOption.prototype.serializeBinary = function() {
74626
74874
  var writer = new jspb.BinaryWriter();
74627
- proto.user.DashboardResponse.serializeBinaryToWriter(this, writer);
74875
+ proto.user.UserVerificationFlowOption.serializeBinaryToWriter(this, writer);
74628
74876
  return writer.getResultBuffer();
74629
74877
  };
74630
74878
 
@@ -74632,102 +74880,144 @@ proto.user.DashboardResponse.prototype.serializeBinary = function() {
74632
74880
  /**
74633
74881
  * Serializes the given message to binary data (in protobuf wire
74634
74882
  * format), writing to the given BinaryWriter.
74635
- * @param {!proto.user.DashboardResponse} message
74883
+ * @param {!proto.user.UserVerificationFlowOption} message
74636
74884
  * @param {!jspb.BinaryWriter} writer
74637
74885
  * @suppress {unusedLocalVariables} f is only used for nested messages
74638
74886
  */
74639
- proto.user.DashboardResponse.serializeBinaryToWriter = function(message, writer) {
74887
+ proto.user.UserVerificationFlowOption.serializeBinaryToWriter = function(message, writer) {
74640
74888
  var f = undefined;
74641
- f = /** @type {number} */ (jspb.Message.getField(message, 1));
74642
- if (f != null) {
74643
- writer.writeInt32(
74889
+ f = message.getDocumentType();
74890
+ if (f.length > 0) {
74891
+ writer.writeString(
74644
74892
  1,
74645
74893
  f
74646
74894
  );
74647
74895
  }
74648
- f = /** @type {number} */ (jspb.Message.getField(message, 2));
74649
- if (f != null) {
74650
- writer.writeInt32(
74896
+ f = message.getSupported();
74897
+ if (f) {
74898
+ writer.writeBool(
74651
74899
  2,
74652
74900
  f
74653
74901
  );
74654
74902
  }
74903
+ f = message.getUploadRequirementsResolved();
74904
+ if (f) {
74905
+ writer.writeBool(
74906
+ 3,
74907
+ f
74908
+ );
74909
+ }
74910
+ f = message.getUploadsList();
74911
+ if (f.length > 0) {
74912
+ writer.writeRepeatedMessage(
74913
+ 4,
74914
+ f,
74915
+ proto.user.UserVerificationFlowUpload.serializeBinaryToWriter
74916
+ );
74917
+ }
74655
74918
  };
74656
74919
 
74657
74920
 
74658
74921
  /**
74659
- * optional int32 registration_count = 1;
74660
- * @return {number}
74922
+ * optional string document_type = 1;
74923
+ * @return {string}
74661
74924
  */
74662
- proto.user.DashboardResponse.prototype.getRegistrationCount = function() {
74663
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
74925
+ proto.user.UserVerificationFlowOption.prototype.getDocumentType = function() {
74926
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
74664
74927
  };
74665
74928
 
74666
74929
 
74667
74930
  /**
74668
- * @param {number} value
74669
- * @return {!proto.user.DashboardResponse} returns this
74931
+ * @param {string} value
74932
+ * @return {!proto.user.UserVerificationFlowOption} returns this
74670
74933
  */
74671
- proto.user.DashboardResponse.prototype.setRegistrationCount = function(value) {
74672
- return jspb.Message.setField(this, 1, value);
74934
+ proto.user.UserVerificationFlowOption.prototype.setDocumentType = function(value) {
74935
+ return jspb.Message.setProto3StringField(this, 1, value);
74673
74936
  };
74674
74937
 
74675
74938
 
74676
74939
  /**
74677
- * Clears the field making it undefined.
74678
- * @return {!proto.user.DashboardResponse} returns this
74940
+ * optional bool supported = 2;
74941
+ * @return {boolean}
74679
74942
  */
74680
- proto.user.DashboardResponse.prototype.clearRegistrationCount = function() {
74681
- return jspb.Message.setField(this, 1, undefined);
74943
+ proto.user.UserVerificationFlowOption.prototype.getSupported = function() {
74944
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
74682
74945
  };
74683
74946
 
74684
74947
 
74685
74948
  /**
74686
- * Returns whether this field is set.
74949
+ * @param {boolean} value
74950
+ * @return {!proto.user.UserVerificationFlowOption} returns this
74951
+ */
74952
+ proto.user.UserVerificationFlowOption.prototype.setSupported = function(value) {
74953
+ return jspb.Message.setProto3BooleanField(this, 2, value);
74954
+ };
74955
+
74956
+
74957
+ /**
74958
+ * optional bool upload_requirements_resolved = 3;
74687
74959
  * @return {boolean}
74688
74960
  */
74689
- proto.user.DashboardResponse.prototype.hasRegistrationCount = function() {
74690
- return jspb.Message.getField(this, 1) != null;
74961
+ proto.user.UserVerificationFlowOption.prototype.getUploadRequirementsResolved = function() {
74962
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
74691
74963
  };
74692
74964
 
74693
74965
 
74694
74966
  /**
74695
- * optional int32 login_count = 2;
74696
- * @return {number}
74967
+ * @param {boolean} value
74968
+ * @return {!proto.user.UserVerificationFlowOption} returns this
74697
74969
  */
74698
- proto.user.DashboardResponse.prototype.getLoginCount = function() {
74699
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
74970
+ proto.user.UserVerificationFlowOption.prototype.setUploadRequirementsResolved = function(value) {
74971
+ return jspb.Message.setProto3BooleanField(this, 3, value);
74700
74972
  };
74701
74973
 
74702
74974
 
74703
74975
  /**
74704
- * @param {number} value
74705
- * @return {!proto.user.DashboardResponse} returns this
74976
+ * repeated UserVerificationFlowUpload uploads = 4;
74977
+ * @return {!Array<!proto.user.UserVerificationFlowUpload>}
74706
74978
  */
74707
- proto.user.DashboardResponse.prototype.setLoginCount = function(value) {
74708
- return jspb.Message.setField(this, 2, value);
74979
+ proto.user.UserVerificationFlowOption.prototype.getUploadsList = function() {
74980
+ return /** @type{!Array<!proto.user.UserVerificationFlowUpload>} */ (
74981
+ jspb.Message.getRepeatedWrapperField(this, proto.user.UserVerificationFlowUpload, 4));
74709
74982
  };
74710
74983
 
74711
74984
 
74712
74985
  /**
74713
- * Clears the field making it undefined.
74714
- * @return {!proto.user.DashboardResponse} returns this
74986
+ * @param {!Array<!proto.user.UserVerificationFlowUpload>} value
74987
+ * @return {!proto.user.UserVerificationFlowOption} returns this
74988
+ */
74989
+ proto.user.UserVerificationFlowOption.prototype.setUploadsList = function(value) {
74990
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
74991
+ };
74992
+
74993
+
74994
+ /**
74995
+ * @param {!proto.user.UserVerificationFlowUpload=} opt_value
74996
+ * @param {number=} opt_index
74997
+ * @return {!proto.user.UserVerificationFlowUpload}
74715
74998
  */
74716
- proto.user.DashboardResponse.prototype.clearLoginCount = function() {
74717
- return jspb.Message.setField(this, 2, undefined);
74999
+ proto.user.UserVerificationFlowOption.prototype.addUploads = function(opt_value, opt_index) {
75000
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.user.UserVerificationFlowUpload, opt_index);
74718
75001
  };
74719
75002
 
74720
75003
 
74721
75004
  /**
74722
- * Returns whether this field is set.
74723
- * @return {boolean}
75005
+ * Clears the list making it empty but non-null.
75006
+ * @return {!proto.user.UserVerificationFlowOption} returns this
74724
75007
  */
74725
- proto.user.DashboardResponse.prototype.hasLoginCount = function() {
74726
- return jspb.Message.getField(this, 2) != null;
75008
+ proto.user.UserVerificationFlowOption.prototype.clearUploadsList = function() {
75009
+ return this.setUploadsList([]);
74727
75010
  };
74728
75011
 
74729
75012
 
74730
75013
 
75014
+ /**
75015
+ * List of repeated fields within this message type.
75016
+ * @private {!Array<number>}
75017
+ * @const
75018
+ */
75019
+ proto.user.UserVerificationFlowStep.repeatedFields_ = [5];
75020
+
74731
75021
 
74732
75022
 
74733
75023
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -74743,8 +75033,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74743
75033
  * http://goto/soy-param-migration
74744
75034
  * @return {!Object}
74745
75035
  */
74746
- proto.user.NoteRequest.prototype.toObject = function(opt_includeInstance) {
74747
- return proto.user.NoteRequest.toObject(opt_includeInstance, this);
75036
+ proto.user.UserVerificationFlowStep.prototype.toObject = function(opt_includeInstance) {
75037
+ return proto.user.UserVerificationFlowStep.toObject(opt_includeInstance, this);
74748
75038
  };
74749
75039
 
74750
75040
 
@@ -74753,16 +75043,18 @@ proto.user.NoteRequest.prototype.toObject = function(opt_includeInstance) {
74753
75043
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74754
75044
  * the JSPB instance for transitional soy proto support:
74755
75045
  * http://goto/soy-param-migration
74756
- * @param {!proto.user.NoteRequest} msg The msg instance to transform.
75046
+ * @param {!proto.user.UserVerificationFlowStep} msg The msg instance to transform.
74757
75047
  * @return {!Object}
74758
75048
  * @suppress {unusedLocalVariables} f is only used for nested messages
74759
75049
  */
74760
- proto.user.NoteRequest.toObject = function(includeInstance, msg) {
75050
+ proto.user.UserVerificationFlowStep.toObject = function(includeInstance, msg) {
74761
75051
  var f, obj = {
74762
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
74763
- content: jspb.Message.getFieldWithDefault(msg, 2, ""),
74764
- userId: jspb.Message.getFieldWithDefault(msg, 3, 0),
74765
- makerId: jspb.Message.getFieldWithDefault(msg, 4, 0)
75052
+ capability: jspb.Message.getFieldWithDefault(msg, 1, 0),
75053
+ status: jspb.Message.getFieldWithDefault(msg, 2, 0),
75054
+ required: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
75055
+ selectionMode: jspb.Message.getFieldWithDefault(msg, 4, 0),
75056
+ optionsList: jspb.Message.toObjectList(msg.getOptionsList(),
75057
+ proto.user.UserVerificationFlowOption.toObject, includeInstance)
74766
75058
  };
74767
75059
 
74768
75060
  if (includeInstance) {
@@ -74776,23 +75068,23 @@ proto.user.NoteRequest.toObject = function(includeInstance, msg) {
74776
75068
  /**
74777
75069
  * Deserializes binary data (in protobuf wire format).
74778
75070
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
74779
- * @return {!proto.user.NoteRequest}
75071
+ * @return {!proto.user.UserVerificationFlowStep}
74780
75072
  */
74781
- proto.user.NoteRequest.deserializeBinary = function(bytes) {
75073
+ proto.user.UserVerificationFlowStep.deserializeBinary = function(bytes) {
74782
75074
  var reader = new jspb.BinaryReader(bytes);
74783
- var msg = new proto.user.NoteRequest;
74784
- return proto.user.NoteRequest.deserializeBinaryFromReader(msg, reader);
75075
+ var msg = new proto.user.UserVerificationFlowStep;
75076
+ return proto.user.UserVerificationFlowStep.deserializeBinaryFromReader(msg, reader);
74785
75077
  };
74786
75078
 
74787
75079
 
74788
75080
  /**
74789
75081
  * Deserializes binary data (in protobuf wire format) from the
74790
75082
  * given reader into the given message object.
74791
- * @param {!proto.user.NoteRequest} msg The message object to deserialize into.
75083
+ * @param {!proto.user.UserVerificationFlowStep} msg The message object to deserialize into.
74792
75084
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74793
- * @return {!proto.user.NoteRequest}
75085
+ * @return {!proto.user.UserVerificationFlowStep}
74794
75086
  */
74795
- proto.user.NoteRequest.deserializeBinaryFromReader = function(msg, reader) {
75087
+ proto.user.UserVerificationFlowStep.deserializeBinaryFromReader = function(msg, reader) {
74796
75088
  while (reader.nextField()) {
74797
75089
  if (reader.isEndGroup()) {
74798
75090
  break;
@@ -74800,20 +75092,25 @@ proto.user.NoteRequest.deserializeBinaryFromReader = function(msg, reader) {
74800
75092
  var field = reader.getFieldNumber();
74801
75093
  switch (field) {
74802
75094
  case 1:
74803
- var value = /** @type {number} */ (reader.readInt32());
74804
- msg.setId(value);
75095
+ var value = /** @type {!proto.user.VerificationCapability} */ (reader.readEnum());
75096
+ msg.setCapability(value);
74805
75097
  break;
74806
75098
  case 2:
74807
- var value = /** @type {string} */ (reader.readString());
74808
- msg.setContent(value);
75099
+ var value = /** @type {!proto.user.VerificationCapabilityStatus} */ (reader.readEnum());
75100
+ msg.setStatus(value);
74809
75101
  break;
74810
75102
  case 3:
74811
- var value = /** @type {number} */ (reader.readInt32());
74812
- msg.setUserId(value);
75103
+ var value = /** @type {boolean} */ (reader.readBool());
75104
+ msg.setRequired(value);
74813
75105
  break;
74814
75106
  case 4:
74815
- var value = /** @type {number} */ (reader.readInt32());
74816
- msg.setMakerId(value);
75107
+ var value = /** @type {!proto.user.VerificationSelectionMode} */ (reader.readEnum());
75108
+ msg.setSelectionMode(value);
75109
+ break;
75110
+ case 5:
75111
+ var value = new proto.user.UserVerificationFlowOption;
75112
+ reader.readMessage(value,proto.user.UserVerificationFlowOption.deserializeBinaryFromReader);
75113
+ msg.addOptions(value);
74817
75114
  break;
74818
75115
  default:
74819
75116
  reader.skipField();
@@ -74828,9 +75125,9 @@ proto.user.NoteRequest.deserializeBinaryFromReader = function(msg, reader) {
74828
75125
  * Serializes the message to binary data (in protobuf wire format).
74829
75126
  * @return {!Uint8Array}
74830
75127
  */
74831
- proto.user.NoteRequest.prototype.serializeBinary = function() {
75128
+ proto.user.UserVerificationFlowStep.prototype.serializeBinary = function() {
74832
75129
  var writer = new jspb.BinaryWriter();
74833
- proto.user.NoteRequest.serializeBinaryToWriter(this, writer);
75130
+ proto.user.UserVerificationFlowStep.serializeBinaryToWriter(this, writer);
74834
75131
  return writer.getResultBuffer();
74835
75132
  };
74836
75133
 
@@ -74838,148 +75135,1694 @@ proto.user.NoteRequest.prototype.serializeBinary = function() {
74838
75135
  /**
74839
75136
  * Serializes the given message to binary data (in protobuf wire
74840
75137
  * format), writing to the given BinaryWriter.
74841
- * @param {!proto.user.NoteRequest} message
75138
+ * @param {!proto.user.UserVerificationFlowStep} message
74842
75139
  * @param {!jspb.BinaryWriter} writer
74843
75140
  * @suppress {unusedLocalVariables} f is only used for nested messages
74844
75141
  */
74845
- proto.user.NoteRequest.serializeBinaryToWriter = function(message, writer) {
75142
+ proto.user.UserVerificationFlowStep.serializeBinaryToWriter = function(message, writer) {
74846
75143
  var f = undefined;
74847
- f = /** @type {number} */ (jspb.Message.getField(message, 1));
74848
- if (f != null) {
74849
- writer.writeInt32(
75144
+ f = message.getCapability();
75145
+ if (f !== 0.0) {
75146
+ writer.writeEnum(
74850
75147
  1,
74851
75148
  f
74852
75149
  );
74853
75150
  }
74854
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
74855
- if (f != null) {
74856
- writer.writeString(
75151
+ f = message.getStatus();
75152
+ if (f !== 0.0) {
75153
+ writer.writeEnum(
74857
75154
  2,
74858
75155
  f
74859
75156
  );
74860
75157
  }
74861
- f = /** @type {number} */ (jspb.Message.getField(message, 3));
74862
- if (f != null) {
74863
- writer.writeInt32(
75158
+ f = message.getRequired();
75159
+ if (f) {
75160
+ writer.writeBool(
74864
75161
  3,
74865
75162
  f
74866
75163
  );
74867
75164
  }
74868
- f = /** @type {number} */ (jspb.Message.getField(message, 4));
74869
- if (f != null) {
74870
- writer.writeInt32(
75165
+ f = message.getSelectionMode();
75166
+ if (f !== 0.0) {
75167
+ writer.writeEnum(
74871
75168
  4,
74872
75169
  f
74873
75170
  );
74874
75171
  }
75172
+ f = message.getOptionsList();
75173
+ if (f.length > 0) {
75174
+ writer.writeRepeatedMessage(
75175
+ 5,
75176
+ f,
75177
+ proto.user.UserVerificationFlowOption.serializeBinaryToWriter
75178
+ );
75179
+ }
74875
75180
  };
74876
75181
 
74877
75182
 
74878
75183
  /**
74879
- * optional int32 id = 1;
74880
- * @return {number}
75184
+ * optional VerificationCapability capability = 1;
75185
+ * @return {!proto.user.VerificationCapability}
74881
75186
  */
74882
- proto.user.NoteRequest.prototype.getId = function() {
74883
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
75187
+ proto.user.UserVerificationFlowStep.prototype.getCapability = function() {
75188
+ return /** @type {!proto.user.VerificationCapability} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
74884
75189
  };
74885
75190
 
74886
75191
 
74887
75192
  /**
74888
- * @param {number} value
74889
- * @return {!proto.user.NoteRequest} returns this
75193
+ * @param {!proto.user.VerificationCapability} value
75194
+ * @return {!proto.user.UserVerificationFlowStep} returns this
74890
75195
  */
74891
- proto.user.NoteRequest.prototype.setId = function(value) {
74892
- return jspb.Message.setField(this, 1, value);
75196
+ proto.user.UserVerificationFlowStep.prototype.setCapability = function(value) {
75197
+ return jspb.Message.setProto3EnumField(this, 1, value);
74893
75198
  };
74894
75199
 
74895
75200
 
74896
75201
  /**
74897
- * Clears the field making it undefined.
74898
- * @return {!proto.user.NoteRequest} returns this
75202
+ * optional VerificationCapabilityStatus status = 2;
75203
+ * @return {!proto.user.VerificationCapabilityStatus}
74899
75204
  */
74900
- proto.user.NoteRequest.prototype.clearId = function() {
74901
- return jspb.Message.setField(this, 1, undefined);
75205
+ proto.user.UserVerificationFlowStep.prototype.getStatus = function() {
75206
+ return /** @type {!proto.user.VerificationCapabilityStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
74902
75207
  };
74903
75208
 
74904
75209
 
74905
75210
  /**
74906
- * Returns whether this field is set.
74907
- * @return {boolean}
75211
+ * @param {!proto.user.VerificationCapabilityStatus} value
75212
+ * @return {!proto.user.UserVerificationFlowStep} returns this
74908
75213
  */
74909
- proto.user.NoteRequest.prototype.hasId = function() {
74910
- return jspb.Message.getField(this, 1) != null;
75214
+ proto.user.UserVerificationFlowStep.prototype.setStatus = function(value) {
75215
+ return jspb.Message.setProto3EnumField(this, 2, value);
74911
75216
  };
74912
75217
 
74913
75218
 
74914
75219
  /**
74915
- * optional string content = 2;
74916
- * @return {string}
75220
+ * optional bool required = 3;
75221
+ * @return {boolean}
74917
75222
  */
74918
- proto.user.NoteRequest.prototype.getContent = function() {
74919
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
75223
+ proto.user.UserVerificationFlowStep.prototype.getRequired = function() {
75224
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
74920
75225
  };
74921
75226
 
74922
75227
 
74923
75228
  /**
74924
- * @param {string} value
74925
- * @return {!proto.user.NoteRequest} returns this
75229
+ * @param {boolean} value
75230
+ * @return {!proto.user.UserVerificationFlowStep} returns this
74926
75231
  */
74927
- proto.user.NoteRequest.prototype.setContent = function(value) {
74928
- return jspb.Message.setField(this, 2, value);
75232
+ proto.user.UserVerificationFlowStep.prototype.setRequired = function(value) {
75233
+ return jspb.Message.setProto3BooleanField(this, 3, value);
74929
75234
  };
74930
75235
 
74931
75236
 
74932
75237
  /**
74933
- * Clears the field making it undefined.
74934
- * @return {!proto.user.NoteRequest} returns this
75238
+ * optional VerificationSelectionMode selection_mode = 4;
75239
+ * @return {!proto.user.VerificationSelectionMode}
74935
75240
  */
74936
- proto.user.NoteRequest.prototype.clearContent = function() {
74937
- return jspb.Message.setField(this, 2, undefined);
75241
+ proto.user.UserVerificationFlowStep.prototype.getSelectionMode = function() {
75242
+ return /** @type {!proto.user.VerificationSelectionMode} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
74938
75243
  };
74939
75244
 
74940
75245
 
74941
75246
  /**
74942
- * Returns whether this field is set.
74943
- * @return {boolean}
75247
+ * @param {!proto.user.VerificationSelectionMode} value
75248
+ * @return {!proto.user.UserVerificationFlowStep} returns this
74944
75249
  */
74945
- proto.user.NoteRequest.prototype.hasContent = function() {
74946
- return jspb.Message.getField(this, 2) != null;
75250
+ proto.user.UserVerificationFlowStep.prototype.setSelectionMode = function(value) {
75251
+ return jspb.Message.setProto3EnumField(this, 4, value);
74947
75252
  };
74948
75253
 
74949
75254
 
74950
75255
  /**
74951
- * optional int32 user_id = 3;
74952
- * @return {number}
75256
+ * repeated UserVerificationFlowOption options = 5;
75257
+ * @return {!Array<!proto.user.UserVerificationFlowOption>}
74953
75258
  */
74954
- proto.user.NoteRequest.prototype.getUserId = function() {
74955
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
75259
+ proto.user.UserVerificationFlowStep.prototype.getOptionsList = function() {
75260
+ return /** @type{!Array<!proto.user.UserVerificationFlowOption>} */ (
75261
+ jspb.Message.getRepeatedWrapperField(this, proto.user.UserVerificationFlowOption, 5));
74956
75262
  };
74957
75263
 
74958
75264
 
74959
75265
  /**
74960
- * @param {number} value
74961
- * @return {!proto.user.NoteRequest} returns this
74962
- */
74963
- proto.user.NoteRequest.prototype.setUserId = function(value) {
74964
- return jspb.Message.setField(this, 3, value);
75266
+ * @param {!Array<!proto.user.UserVerificationFlowOption>} value
75267
+ * @return {!proto.user.UserVerificationFlowStep} returns this
75268
+ */
75269
+ proto.user.UserVerificationFlowStep.prototype.setOptionsList = function(value) {
75270
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
74965
75271
  };
74966
75272
 
74967
75273
 
74968
75274
  /**
74969
- * Clears the field making it undefined.
74970
- * @return {!proto.user.NoteRequest} returns this
75275
+ * @param {!proto.user.UserVerificationFlowOption=} opt_value
75276
+ * @param {number=} opt_index
75277
+ * @return {!proto.user.UserVerificationFlowOption}
74971
75278
  */
74972
- proto.user.NoteRequest.prototype.clearUserId = function() {
74973
- return jspb.Message.setField(this, 3, undefined);
75279
+ proto.user.UserVerificationFlowStep.prototype.addOptions = function(opt_value, opt_index) {
75280
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.user.UserVerificationFlowOption, opt_index);
74974
75281
  };
74975
75282
 
74976
75283
 
74977
75284
  /**
74978
- * Returns whether this field is set.
74979
- * @return {boolean}
75285
+ * Clears the list making it empty but non-null.
75286
+ * @return {!proto.user.UserVerificationFlowStep} returns this
74980
75287
  */
74981
- proto.user.NoteRequest.prototype.hasUserId = function() {
74982
- return jspb.Message.getField(this, 3) != null;
75288
+ proto.user.UserVerificationFlowStep.prototype.clearOptionsList = function() {
75289
+ return this.setOptionsList([]);
75290
+ };
75291
+
75292
+
75293
+
75294
+
75295
+
75296
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75297
+ /**
75298
+ * Creates an object representation of this proto.
75299
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75300
+ * Optional fields that are not set will be set to undefined.
75301
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75302
+ * For the list of reserved names please see:
75303
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75304
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75305
+ * JSPB instance for transitional soy proto support:
75306
+ * http://goto/soy-param-migration
75307
+ * @return {!Object}
75308
+ */
75309
+ proto.user.GetUserVerificationFlowRequest.prototype.toObject = function(opt_includeInstance) {
75310
+ return proto.user.GetUserVerificationFlowRequest.toObject(opt_includeInstance, this);
75311
+ };
75312
+
75313
+
75314
+ /**
75315
+ * Static version of the {@see toObject} method.
75316
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75317
+ * the JSPB instance for transitional soy proto support:
75318
+ * http://goto/soy-param-migration
75319
+ * @param {!proto.user.GetUserVerificationFlowRequest} msg The msg instance to transform.
75320
+ * @return {!Object}
75321
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75322
+ */
75323
+ proto.user.GetUserVerificationFlowRequest.toObject = function(includeInstance, msg) {
75324
+ var f, obj = {
75325
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
75326
+ purpose: jspb.Message.getFieldWithDefault(msg, 2, "")
75327
+ };
75328
+
75329
+ if (includeInstance) {
75330
+ obj.$jspbMessageInstance = msg;
75331
+ }
75332
+ return obj;
75333
+ };
75334
+ }
75335
+
75336
+
75337
+ /**
75338
+ * Deserializes binary data (in protobuf wire format).
75339
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75340
+ * @return {!proto.user.GetUserVerificationFlowRequest}
75341
+ */
75342
+ proto.user.GetUserVerificationFlowRequest.deserializeBinary = function(bytes) {
75343
+ var reader = new jspb.BinaryReader(bytes);
75344
+ var msg = new proto.user.GetUserVerificationFlowRequest;
75345
+ return proto.user.GetUserVerificationFlowRequest.deserializeBinaryFromReader(msg, reader);
75346
+ };
75347
+
75348
+
75349
+ /**
75350
+ * Deserializes binary data (in protobuf wire format) from the
75351
+ * given reader into the given message object.
75352
+ * @param {!proto.user.GetUserVerificationFlowRequest} msg The message object to deserialize into.
75353
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75354
+ * @return {!proto.user.GetUserVerificationFlowRequest}
75355
+ */
75356
+ proto.user.GetUserVerificationFlowRequest.deserializeBinaryFromReader = function(msg, reader) {
75357
+ while (reader.nextField()) {
75358
+ if (reader.isEndGroup()) {
75359
+ break;
75360
+ }
75361
+ var field = reader.getFieldNumber();
75362
+ switch (field) {
75363
+ case 1:
75364
+ var value = /** @type {number} */ (reader.readInt32());
75365
+ msg.setUserId(value);
75366
+ break;
75367
+ case 2:
75368
+ var value = /** @type {string} */ (reader.readString());
75369
+ msg.setPurpose(value);
75370
+ break;
75371
+ default:
75372
+ reader.skipField();
75373
+ break;
75374
+ }
75375
+ }
75376
+ return msg;
75377
+ };
75378
+
75379
+
75380
+ /**
75381
+ * Serializes the message to binary data (in protobuf wire format).
75382
+ * @return {!Uint8Array}
75383
+ */
75384
+ proto.user.GetUserVerificationFlowRequest.prototype.serializeBinary = function() {
75385
+ var writer = new jspb.BinaryWriter();
75386
+ proto.user.GetUserVerificationFlowRequest.serializeBinaryToWriter(this, writer);
75387
+ return writer.getResultBuffer();
75388
+ };
75389
+
75390
+
75391
+ /**
75392
+ * Serializes the given message to binary data (in protobuf wire
75393
+ * format), writing to the given BinaryWriter.
75394
+ * @param {!proto.user.GetUserVerificationFlowRequest} message
75395
+ * @param {!jspb.BinaryWriter} writer
75396
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75397
+ */
75398
+ proto.user.GetUserVerificationFlowRequest.serializeBinaryToWriter = function(message, writer) {
75399
+ var f = undefined;
75400
+ f = message.getUserId();
75401
+ if (f !== 0) {
75402
+ writer.writeInt32(
75403
+ 1,
75404
+ f
75405
+ );
75406
+ }
75407
+ f = message.getPurpose();
75408
+ if (f.length > 0) {
75409
+ writer.writeString(
75410
+ 2,
75411
+ f
75412
+ );
75413
+ }
75414
+ };
75415
+
75416
+
75417
+ /**
75418
+ * optional int32 user_id = 1;
75419
+ * @return {number}
75420
+ */
75421
+ proto.user.GetUserVerificationFlowRequest.prototype.getUserId = function() {
75422
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
75423
+ };
75424
+
75425
+
75426
+ /**
75427
+ * @param {number} value
75428
+ * @return {!proto.user.GetUserVerificationFlowRequest} returns this
75429
+ */
75430
+ proto.user.GetUserVerificationFlowRequest.prototype.setUserId = function(value) {
75431
+ return jspb.Message.setProto3IntField(this, 1, value);
75432
+ };
75433
+
75434
+
75435
+ /**
75436
+ * optional string purpose = 2;
75437
+ * @return {string}
75438
+ */
75439
+ proto.user.GetUserVerificationFlowRequest.prototype.getPurpose = function() {
75440
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
75441
+ };
75442
+
75443
+
75444
+ /**
75445
+ * @param {string} value
75446
+ * @return {!proto.user.GetUserVerificationFlowRequest} returns this
75447
+ */
75448
+ proto.user.GetUserVerificationFlowRequest.prototype.setPurpose = function(value) {
75449
+ return jspb.Message.setProto3StringField(this, 2, value);
75450
+ };
75451
+
75452
+
75453
+
75454
+ /**
75455
+ * List of repeated fields within this message type.
75456
+ * @private {!Array<number>}
75457
+ * @const
75458
+ */
75459
+ proto.user.GetUserVerificationFlowResponse.repeatedFields_ = [4];
75460
+
75461
+
75462
+
75463
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75464
+ /**
75465
+ * Creates an object representation of this proto.
75466
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75467
+ * Optional fields that are not set will be set to undefined.
75468
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75469
+ * For the list of reserved names please see:
75470
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75471
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75472
+ * JSPB instance for transitional soy proto support:
75473
+ * http://goto/soy-param-migration
75474
+ * @return {!Object}
75475
+ */
75476
+ proto.user.GetUserVerificationFlowResponse.prototype.toObject = function(opt_includeInstance) {
75477
+ return proto.user.GetUserVerificationFlowResponse.toObject(opt_includeInstance, this);
75478
+ };
75479
+
75480
+
75481
+ /**
75482
+ * Static version of the {@see toObject} method.
75483
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75484
+ * the JSPB instance for transitional soy proto support:
75485
+ * http://goto/soy-param-migration
75486
+ * @param {!proto.user.GetUserVerificationFlowResponse} msg The msg instance to transform.
75487
+ * @return {!Object}
75488
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75489
+ */
75490
+ proto.user.GetUserVerificationFlowResponse.toObject = function(includeInstance, msg) {
75491
+ var f, obj = {
75492
+ purpose: jspb.Message.getFieldWithDefault(msg, 1, ""),
75493
+ overallStatus: jspb.Message.getFieldWithDefault(msg, 2, 0),
75494
+ isKycConfirmed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
75495
+ stepsList: jspb.Message.toObjectList(msg.getStepsList(),
75496
+ proto.user.UserVerificationFlowStep.toObject, includeInstance)
75497
+ };
75498
+
75499
+ if (includeInstance) {
75500
+ obj.$jspbMessageInstance = msg;
75501
+ }
75502
+ return obj;
75503
+ };
75504
+ }
75505
+
75506
+
75507
+ /**
75508
+ * Deserializes binary data (in protobuf wire format).
75509
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75510
+ * @return {!proto.user.GetUserVerificationFlowResponse}
75511
+ */
75512
+ proto.user.GetUserVerificationFlowResponse.deserializeBinary = function(bytes) {
75513
+ var reader = new jspb.BinaryReader(bytes);
75514
+ var msg = new proto.user.GetUserVerificationFlowResponse;
75515
+ return proto.user.GetUserVerificationFlowResponse.deserializeBinaryFromReader(msg, reader);
75516
+ };
75517
+
75518
+
75519
+ /**
75520
+ * Deserializes binary data (in protobuf wire format) from the
75521
+ * given reader into the given message object.
75522
+ * @param {!proto.user.GetUserVerificationFlowResponse} msg The message object to deserialize into.
75523
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75524
+ * @return {!proto.user.GetUserVerificationFlowResponse}
75525
+ */
75526
+ proto.user.GetUserVerificationFlowResponse.deserializeBinaryFromReader = function(msg, reader) {
75527
+ while (reader.nextField()) {
75528
+ if (reader.isEndGroup()) {
75529
+ break;
75530
+ }
75531
+ var field = reader.getFieldNumber();
75532
+ switch (field) {
75533
+ case 1:
75534
+ var value = /** @type {string} */ (reader.readString());
75535
+ msg.setPurpose(value);
75536
+ break;
75537
+ case 2:
75538
+ var value = /** @type {!proto.user.UserVerificationOverallStatus} */ (reader.readEnum());
75539
+ msg.setOverallStatus(value);
75540
+ break;
75541
+ case 3:
75542
+ var value = /** @type {boolean} */ (reader.readBool());
75543
+ msg.setIsKycConfirmed(value);
75544
+ break;
75545
+ case 4:
75546
+ var value = new proto.user.UserVerificationFlowStep;
75547
+ reader.readMessage(value,proto.user.UserVerificationFlowStep.deserializeBinaryFromReader);
75548
+ msg.addSteps(value);
75549
+ break;
75550
+ default:
75551
+ reader.skipField();
75552
+ break;
75553
+ }
75554
+ }
75555
+ return msg;
75556
+ };
75557
+
75558
+
75559
+ /**
75560
+ * Serializes the message to binary data (in protobuf wire format).
75561
+ * @return {!Uint8Array}
75562
+ */
75563
+ proto.user.GetUserVerificationFlowResponse.prototype.serializeBinary = function() {
75564
+ var writer = new jspb.BinaryWriter();
75565
+ proto.user.GetUserVerificationFlowResponse.serializeBinaryToWriter(this, writer);
75566
+ return writer.getResultBuffer();
75567
+ };
75568
+
75569
+
75570
+ /**
75571
+ * Serializes the given message to binary data (in protobuf wire
75572
+ * format), writing to the given BinaryWriter.
75573
+ * @param {!proto.user.GetUserVerificationFlowResponse} message
75574
+ * @param {!jspb.BinaryWriter} writer
75575
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75576
+ */
75577
+ proto.user.GetUserVerificationFlowResponse.serializeBinaryToWriter = function(message, writer) {
75578
+ var f = undefined;
75579
+ f = message.getPurpose();
75580
+ if (f.length > 0) {
75581
+ writer.writeString(
75582
+ 1,
75583
+ f
75584
+ );
75585
+ }
75586
+ f = message.getOverallStatus();
75587
+ if (f !== 0.0) {
75588
+ writer.writeEnum(
75589
+ 2,
75590
+ f
75591
+ );
75592
+ }
75593
+ f = message.getIsKycConfirmed();
75594
+ if (f) {
75595
+ writer.writeBool(
75596
+ 3,
75597
+ f
75598
+ );
75599
+ }
75600
+ f = message.getStepsList();
75601
+ if (f.length > 0) {
75602
+ writer.writeRepeatedMessage(
75603
+ 4,
75604
+ f,
75605
+ proto.user.UserVerificationFlowStep.serializeBinaryToWriter
75606
+ );
75607
+ }
75608
+ };
75609
+
75610
+
75611
+ /**
75612
+ * optional string purpose = 1;
75613
+ * @return {string}
75614
+ */
75615
+ proto.user.GetUserVerificationFlowResponse.prototype.getPurpose = function() {
75616
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
75617
+ };
75618
+
75619
+
75620
+ /**
75621
+ * @param {string} value
75622
+ * @return {!proto.user.GetUserVerificationFlowResponse} returns this
75623
+ */
75624
+ proto.user.GetUserVerificationFlowResponse.prototype.setPurpose = function(value) {
75625
+ return jspb.Message.setProto3StringField(this, 1, value);
75626
+ };
75627
+
75628
+
75629
+ /**
75630
+ * optional UserVerificationOverallStatus overall_status = 2;
75631
+ * @return {!proto.user.UserVerificationOverallStatus}
75632
+ */
75633
+ proto.user.GetUserVerificationFlowResponse.prototype.getOverallStatus = function() {
75634
+ return /** @type {!proto.user.UserVerificationOverallStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
75635
+ };
75636
+
75637
+
75638
+ /**
75639
+ * @param {!proto.user.UserVerificationOverallStatus} value
75640
+ * @return {!proto.user.GetUserVerificationFlowResponse} returns this
75641
+ */
75642
+ proto.user.GetUserVerificationFlowResponse.prototype.setOverallStatus = function(value) {
75643
+ return jspb.Message.setProto3EnumField(this, 2, value);
75644
+ };
75645
+
75646
+
75647
+ /**
75648
+ * optional bool is_kyc_confirmed = 3;
75649
+ * @return {boolean}
75650
+ */
75651
+ proto.user.GetUserVerificationFlowResponse.prototype.getIsKycConfirmed = function() {
75652
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
75653
+ };
75654
+
75655
+
75656
+ /**
75657
+ * @param {boolean} value
75658
+ * @return {!proto.user.GetUserVerificationFlowResponse} returns this
75659
+ */
75660
+ proto.user.GetUserVerificationFlowResponse.prototype.setIsKycConfirmed = function(value) {
75661
+ return jspb.Message.setProto3BooleanField(this, 3, value);
75662
+ };
75663
+
75664
+
75665
+ /**
75666
+ * repeated UserVerificationFlowStep steps = 4;
75667
+ * @return {!Array<!proto.user.UserVerificationFlowStep>}
75668
+ */
75669
+ proto.user.GetUserVerificationFlowResponse.prototype.getStepsList = function() {
75670
+ return /** @type{!Array<!proto.user.UserVerificationFlowStep>} */ (
75671
+ jspb.Message.getRepeatedWrapperField(this, proto.user.UserVerificationFlowStep, 4));
75672
+ };
75673
+
75674
+
75675
+ /**
75676
+ * @param {!Array<!proto.user.UserVerificationFlowStep>} value
75677
+ * @return {!proto.user.GetUserVerificationFlowResponse} returns this
75678
+ */
75679
+ proto.user.GetUserVerificationFlowResponse.prototype.setStepsList = function(value) {
75680
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
75681
+ };
75682
+
75683
+
75684
+ /**
75685
+ * @param {!proto.user.UserVerificationFlowStep=} opt_value
75686
+ * @param {number=} opt_index
75687
+ * @return {!proto.user.UserVerificationFlowStep}
75688
+ */
75689
+ proto.user.GetUserVerificationFlowResponse.prototype.addSteps = function(opt_value, opt_index) {
75690
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.user.UserVerificationFlowStep, opt_index);
75691
+ };
75692
+
75693
+
75694
+ /**
75695
+ * Clears the list making it empty but non-null.
75696
+ * @return {!proto.user.GetUserVerificationFlowResponse} returns this
75697
+ */
75698
+ proto.user.GetUserVerificationFlowResponse.prototype.clearStepsList = function() {
75699
+ return this.setStepsList([]);
75700
+ };
75701
+
75702
+
75703
+
75704
+
75705
+
75706
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75707
+ /**
75708
+ * Creates an object representation of this proto.
75709
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75710
+ * Optional fields that are not set will be set to undefined.
75711
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75712
+ * For the list of reserved names please see:
75713
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75714
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75715
+ * JSPB instance for transitional soy proto support:
75716
+ * http://goto/soy-param-migration
75717
+ * @return {!Object}
75718
+ */
75719
+ proto.user.GetVerificationProfileDataRequirementsRequest.prototype.toObject = function(opt_includeInstance) {
75720
+ return proto.user.GetVerificationProfileDataRequirementsRequest.toObject(opt_includeInstance, this);
75721
+ };
75722
+
75723
+
75724
+ /**
75725
+ * Static version of the {@see toObject} method.
75726
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75727
+ * the JSPB instance for transitional soy proto support:
75728
+ * http://goto/soy-param-migration
75729
+ * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} msg The msg instance to transform.
75730
+ * @return {!Object}
75731
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75732
+ */
75733
+ proto.user.GetVerificationProfileDataRequirementsRequest.toObject = function(includeInstance, msg) {
75734
+ var f, obj = {
75735
+
75736
+ };
75737
+
75738
+ if (includeInstance) {
75739
+ obj.$jspbMessageInstance = msg;
75740
+ }
75741
+ return obj;
75742
+ };
75743
+ }
75744
+
75745
+
75746
+ /**
75747
+ * Deserializes binary data (in protobuf wire format).
75748
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75749
+ * @return {!proto.user.GetVerificationProfileDataRequirementsRequest}
75750
+ */
75751
+ proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinary = function(bytes) {
75752
+ var reader = new jspb.BinaryReader(bytes);
75753
+ var msg = new proto.user.GetVerificationProfileDataRequirementsRequest;
75754
+ return proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader(msg, reader);
75755
+ };
75756
+
75757
+
75758
+ /**
75759
+ * Deserializes binary data (in protobuf wire format) from the
75760
+ * given reader into the given message object.
75761
+ * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} msg The message object to deserialize into.
75762
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75763
+ * @return {!proto.user.GetVerificationProfileDataRequirementsRequest}
75764
+ */
75765
+ proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader = function(msg, reader) {
75766
+ while (reader.nextField()) {
75767
+ if (reader.isEndGroup()) {
75768
+ break;
75769
+ }
75770
+ var field = reader.getFieldNumber();
75771
+ switch (field) {
75772
+ default:
75773
+ reader.skipField();
75774
+ break;
75775
+ }
75776
+ }
75777
+ return msg;
75778
+ };
75779
+
75780
+
75781
+ /**
75782
+ * Serializes the message to binary data (in protobuf wire format).
75783
+ * @return {!Uint8Array}
75784
+ */
75785
+ proto.user.GetVerificationProfileDataRequirementsRequest.prototype.serializeBinary = function() {
75786
+ var writer = new jspb.BinaryWriter();
75787
+ proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter(this, writer);
75788
+ return writer.getResultBuffer();
75789
+ };
75790
+
75791
+
75792
+ /**
75793
+ * Serializes the given message to binary data (in protobuf wire
75794
+ * format), writing to the given BinaryWriter.
75795
+ * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} message
75796
+ * @param {!jspb.BinaryWriter} writer
75797
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75798
+ */
75799
+ proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter = function(message, writer) {
75800
+ var f = undefined;
75801
+ };
75802
+
75803
+
75804
+
75805
+ /**
75806
+ * List of repeated fields within this message type.
75807
+ * @private {!Array<number>}
75808
+ * @const
75809
+ */
75810
+ proto.user.GetVerificationProfileDataRequirementsResponse.repeatedFields_ = [1];
75811
+
75812
+
75813
+
75814
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75815
+ /**
75816
+ * Creates an object representation of this proto.
75817
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75818
+ * Optional fields that are not set will be set to undefined.
75819
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75820
+ * For the list of reserved names please see:
75821
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75822
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75823
+ * JSPB instance for transitional soy proto support:
75824
+ * http://goto/soy-param-migration
75825
+ * @return {!Object}
75826
+ */
75827
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.toObject = function(opt_includeInstance) {
75828
+ return proto.user.GetVerificationProfileDataRequirementsResponse.toObject(opt_includeInstance, this);
75829
+ };
75830
+
75831
+
75832
+ /**
75833
+ * Static version of the {@see toObject} method.
75834
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75835
+ * the JSPB instance for transitional soy proto support:
75836
+ * http://goto/soy-param-migration
75837
+ * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} msg The msg instance to transform.
75838
+ * @return {!Object}
75839
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75840
+ */
75841
+ proto.user.GetVerificationProfileDataRequirementsResponse.toObject = function(includeInstance, msg) {
75842
+ var f, obj = {
75843
+ fieldsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
75844
+ };
75845
+
75846
+ if (includeInstance) {
75847
+ obj.$jspbMessageInstance = msg;
75848
+ }
75849
+ return obj;
75850
+ };
75851
+ }
75852
+
75853
+
75854
+ /**
75855
+ * Deserializes binary data (in protobuf wire format).
75856
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75857
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse}
75858
+ */
75859
+ proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinary = function(bytes) {
75860
+ var reader = new jspb.BinaryReader(bytes);
75861
+ var msg = new proto.user.GetVerificationProfileDataRequirementsResponse;
75862
+ return proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader(msg, reader);
75863
+ };
75864
+
75865
+
75866
+ /**
75867
+ * Deserializes binary data (in protobuf wire format) from the
75868
+ * given reader into the given message object.
75869
+ * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} msg The message object to deserialize into.
75870
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75871
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse}
75872
+ */
75873
+ proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader = function(msg, reader) {
75874
+ while (reader.nextField()) {
75875
+ if (reader.isEndGroup()) {
75876
+ break;
75877
+ }
75878
+ var field = reader.getFieldNumber();
75879
+ switch (field) {
75880
+ case 1:
75881
+ var value = /** @type {string} */ (reader.readString());
75882
+ msg.addFields(value);
75883
+ break;
75884
+ default:
75885
+ reader.skipField();
75886
+ break;
75887
+ }
75888
+ }
75889
+ return msg;
75890
+ };
75891
+
75892
+
75893
+ /**
75894
+ * Serializes the message to binary data (in protobuf wire format).
75895
+ * @return {!Uint8Array}
75896
+ */
75897
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.serializeBinary = function() {
75898
+ var writer = new jspb.BinaryWriter();
75899
+ proto.user.GetVerificationProfileDataRequirementsResponse.serializeBinaryToWriter(this, writer);
75900
+ return writer.getResultBuffer();
75901
+ };
75902
+
75903
+
75904
+ /**
75905
+ * Serializes the given message to binary data (in protobuf wire
75906
+ * format), writing to the given BinaryWriter.
75907
+ * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} message
75908
+ * @param {!jspb.BinaryWriter} writer
75909
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75910
+ */
75911
+ proto.user.GetVerificationProfileDataRequirementsResponse.serializeBinaryToWriter = function(message, writer) {
75912
+ var f = undefined;
75913
+ f = message.getFieldsList();
75914
+ if (f.length > 0) {
75915
+ writer.writeRepeatedString(
75916
+ 1,
75917
+ f
75918
+ );
75919
+ }
75920
+ };
75921
+
75922
+
75923
+ /**
75924
+ * repeated string fields = 1;
75925
+ * @return {!Array<string>}
75926
+ */
75927
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.getFieldsList = function() {
75928
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
75929
+ };
75930
+
75931
+
75932
+ /**
75933
+ * @param {!Array<string>} value
75934
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
75935
+ */
75936
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.setFieldsList = function(value) {
75937
+ return jspb.Message.setField(this, 1, value || []);
75938
+ };
75939
+
75940
+
75941
+ /**
75942
+ * @param {string} value
75943
+ * @param {number=} opt_index
75944
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
75945
+ */
75946
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.addFields = function(value, opt_index) {
75947
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
75948
+ };
75949
+
75950
+
75951
+ /**
75952
+ * Clears the list making it empty but non-null.
75953
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
75954
+ */
75955
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.clearFieldsList = function() {
75956
+ return this.setFieldsList([]);
75957
+ };
75958
+
75959
+
75960
+
75961
+ /**
75962
+ * List of repeated fields within this message type.
75963
+ * @private {!Array<number>}
75964
+ * @const
75965
+ */
75966
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.repeatedFields_ = [1];
75967
+
75968
+
75969
+
75970
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75971
+ /**
75972
+ * Creates an object representation of this proto.
75973
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75974
+ * Optional fields that are not set will be set to undefined.
75975
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75976
+ * For the list of reserved names please see:
75977
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75978
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75979
+ * JSPB instance for transitional soy proto support:
75980
+ * http://goto/soy-param-migration
75981
+ * @return {!Object}
75982
+ */
75983
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.toObject = function(opt_includeInstance) {
75984
+ return proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject(opt_includeInstance, this);
75985
+ };
75986
+
75987
+
75988
+ /**
75989
+ * Static version of the {@see toObject} method.
75990
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75991
+ * the JSPB instance for transitional soy proto support:
75992
+ * http://goto/soy-param-migration
75993
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} msg The msg instance to transform.
75994
+ * @return {!Object}
75995
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75996
+ */
75997
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject = function(includeInstance, msg) {
75998
+ var f, obj = {
75999
+ fieldsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
76000
+ };
76001
+
76002
+ if (includeInstance) {
76003
+ obj.$jspbMessageInstance = msg;
76004
+ }
76005
+ return obj;
76006
+ };
76007
+ }
76008
+
76009
+
76010
+ /**
76011
+ * Deserializes binary data (in protobuf wire format).
76012
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76013
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest}
76014
+ */
76015
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinary = function(bytes) {
76016
+ var reader = new jspb.BinaryReader(bytes);
76017
+ var msg = new proto.user.ReplaceVerificationProfileDataRequirementsRequest;
76018
+ return proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader(msg, reader);
76019
+ };
76020
+
76021
+
76022
+ /**
76023
+ * Deserializes binary data (in protobuf wire format) from the
76024
+ * given reader into the given message object.
76025
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} msg The message object to deserialize into.
76026
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76027
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest}
76028
+ */
76029
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader = function(msg, reader) {
76030
+ while (reader.nextField()) {
76031
+ if (reader.isEndGroup()) {
76032
+ break;
76033
+ }
76034
+ var field = reader.getFieldNumber();
76035
+ switch (field) {
76036
+ case 1:
76037
+ var value = /** @type {string} */ (reader.readString());
76038
+ msg.addFields(value);
76039
+ break;
76040
+ default:
76041
+ reader.skipField();
76042
+ break;
76043
+ }
76044
+ }
76045
+ return msg;
76046
+ };
76047
+
76048
+
76049
+ /**
76050
+ * Serializes the message to binary data (in protobuf wire format).
76051
+ * @return {!Uint8Array}
76052
+ */
76053
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.serializeBinary = function() {
76054
+ var writer = new jspb.BinaryWriter();
76055
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.serializeBinaryToWriter(this, writer);
76056
+ return writer.getResultBuffer();
76057
+ };
76058
+
76059
+
76060
+ /**
76061
+ * Serializes the given message to binary data (in protobuf wire
76062
+ * format), writing to the given BinaryWriter.
76063
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} message
76064
+ * @param {!jspb.BinaryWriter} writer
76065
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76066
+ */
76067
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.serializeBinaryToWriter = function(message, writer) {
76068
+ var f = undefined;
76069
+ f = message.getFieldsList();
76070
+ if (f.length > 0) {
76071
+ writer.writeRepeatedString(
76072
+ 1,
76073
+ f
76074
+ );
76075
+ }
76076
+ };
76077
+
76078
+
76079
+ /**
76080
+ * repeated string fields = 1;
76081
+ * @return {!Array<string>}
76082
+ */
76083
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.getFieldsList = function() {
76084
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
76085
+ };
76086
+
76087
+
76088
+ /**
76089
+ * @param {!Array<string>} value
76090
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
76091
+ */
76092
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.setFieldsList = function(value) {
76093
+ return jspb.Message.setField(this, 1, value || []);
76094
+ };
76095
+
76096
+
76097
+ /**
76098
+ * @param {string} value
76099
+ * @param {number=} opt_index
76100
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
76101
+ */
76102
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.addFields = function(value, opt_index) {
76103
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
76104
+ };
76105
+
76106
+
76107
+ /**
76108
+ * Clears the list making it empty but non-null.
76109
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
76110
+ */
76111
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.clearFieldsList = function() {
76112
+ return this.setFieldsList([]);
76113
+ };
76114
+
76115
+
76116
+
76117
+
76118
+
76119
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76120
+ /**
76121
+ * Creates an object representation of this proto.
76122
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76123
+ * Optional fields that are not set will be set to undefined.
76124
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76125
+ * For the list of reserved names please see:
76126
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76127
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76128
+ * JSPB instance for transitional soy proto support:
76129
+ * http://goto/soy-param-migration
76130
+ * @return {!Object}
76131
+ */
76132
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.toObject = function(opt_includeInstance) {
76133
+ return proto.user.ReplaceVerificationProfileDataRequirementsResponse.toObject(opt_includeInstance, this);
76134
+ };
76135
+
76136
+
76137
+ /**
76138
+ * Static version of the {@see toObject} method.
76139
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76140
+ * the JSPB instance for transitional soy proto support:
76141
+ * http://goto/soy-param-migration
76142
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} msg The msg instance to transform.
76143
+ * @return {!Object}
76144
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76145
+ */
76146
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.toObject = function(includeInstance, msg) {
76147
+ var f, obj = {
76148
+
76149
+ };
76150
+
76151
+ if (includeInstance) {
76152
+ obj.$jspbMessageInstance = msg;
76153
+ }
76154
+ return obj;
76155
+ };
76156
+ }
76157
+
76158
+
76159
+ /**
76160
+ * Deserializes binary data (in protobuf wire format).
76161
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76162
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsResponse}
76163
+ */
76164
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinary = function(bytes) {
76165
+ var reader = new jspb.BinaryReader(bytes);
76166
+ var msg = new proto.user.ReplaceVerificationProfileDataRequirementsResponse;
76167
+ return proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader(msg, reader);
76168
+ };
76169
+
76170
+
76171
+ /**
76172
+ * Deserializes binary data (in protobuf wire format) from the
76173
+ * given reader into the given message object.
76174
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} msg The message object to deserialize into.
76175
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76176
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsResponse}
76177
+ */
76178
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader = function(msg, reader) {
76179
+ while (reader.nextField()) {
76180
+ if (reader.isEndGroup()) {
76181
+ break;
76182
+ }
76183
+ var field = reader.getFieldNumber();
76184
+ switch (field) {
76185
+ default:
76186
+ reader.skipField();
76187
+ break;
76188
+ }
76189
+ }
76190
+ return msg;
76191
+ };
76192
+
76193
+
76194
+ /**
76195
+ * Serializes the message to binary data (in protobuf wire format).
76196
+ * @return {!Uint8Array}
76197
+ */
76198
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.serializeBinary = function() {
76199
+ var writer = new jspb.BinaryWriter();
76200
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.serializeBinaryToWriter(this, writer);
76201
+ return writer.getResultBuffer();
76202
+ };
76203
+
76204
+
76205
+ /**
76206
+ * Serializes the given message to binary data (in protobuf wire
76207
+ * format), writing to the given BinaryWriter.
76208
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} message
76209
+ * @param {!jspb.BinaryWriter} writer
76210
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76211
+ */
76212
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.serializeBinaryToWriter = function(message, writer) {
76213
+ var f = undefined;
76214
+ };
76215
+
76216
+
76217
+
76218
+
76219
+
76220
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76221
+ /**
76222
+ * Creates an object representation of this proto.
76223
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76224
+ * Optional fields that are not set will be set to undefined.
76225
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76226
+ * For the list of reserved names please see:
76227
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76228
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76229
+ * JSPB instance for transitional soy proto support:
76230
+ * http://goto/soy-param-migration
76231
+ * @return {!Object}
76232
+ */
76233
+ proto.user.DashboardRequest.prototype.toObject = function(opt_includeInstance) {
76234
+ return proto.user.DashboardRequest.toObject(opt_includeInstance, this);
76235
+ };
76236
+
76237
+
76238
+ /**
76239
+ * Static version of the {@see toObject} method.
76240
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76241
+ * the JSPB instance for transitional soy proto support:
76242
+ * http://goto/soy-param-migration
76243
+ * @param {!proto.user.DashboardRequest} msg The msg instance to transform.
76244
+ * @return {!Object}
76245
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76246
+ */
76247
+ proto.user.DashboardRequest.toObject = function(includeInstance, msg) {
76248
+ var f, obj = {
76249
+ startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
76250
+ endDate: jspb.Message.getFieldWithDefault(msg, 2, "")
76251
+ };
76252
+
76253
+ if (includeInstance) {
76254
+ obj.$jspbMessageInstance = msg;
76255
+ }
76256
+ return obj;
76257
+ };
76258
+ }
76259
+
76260
+
76261
+ /**
76262
+ * Deserializes binary data (in protobuf wire format).
76263
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76264
+ * @return {!proto.user.DashboardRequest}
76265
+ */
76266
+ proto.user.DashboardRequest.deserializeBinary = function(bytes) {
76267
+ var reader = new jspb.BinaryReader(bytes);
76268
+ var msg = new proto.user.DashboardRequest;
76269
+ return proto.user.DashboardRequest.deserializeBinaryFromReader(msg, reader);
76270
+ };
76271
+
76272
+
76273
+ /**
76274
+ * Deserializes binary data (in protobuf wire format) from the
76275
+ * given reader into the given message object.
76276
+ * @param {!proto.user.DashboardRequest} msg The message object to deserialize into.
76277
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76278
+ * @return {!proto.user.DashboardRequest}
76279
+ */
76280
+ proto.user.DashboardRequest.deserializeBinaryFromReader = function(msg, reader) {
76281
+ while (reader.nextField()) {
76282
+ if (reader.isEndGroup()) {
76283
+ break;
76284
+ }
76285
+ var field = reader.getFieldNumber();
76286
+ switch (field) {
76287
+ case 1:
76288
+ var value = /** @type {string} */ (reader.readString());
76289
+ msg.setStartDate(value);
76290
+ break;
76291
+ case 2:
76292
+ var value = /** @type {string} */ (reader.readString());
76293
+ msg.setEndDate(value);
76294
+ break;
76295
+ default:
76296
+ reader.skipField();
76297
+ break;
76298
+ }
76299
+ }
76300
+ return msg;
76301
+ };
76302
+
76303
+
76304
+ /**
76305
+ * Serializes the message to binary data (in protobuf wire format).
76306
+ * @return {!Uint8Array}
76307
+ */
76308
+ proto.user.DashboardRequest.prototype.serializeBinary = function() {
76309
+ var writer = new jspb.BinaryWriter();
76310
+ proto.user.DashboardRequest.serializeBinaryToWriter(this, writer);
76311
+ return writer.getResultBuffer();
76312
+ };
76313
+
76314
+
76315
+ /**
76316
+ * Serializes the given message to binary data (in protobuf wire
76317
+ * format), writing to the given BinaryWriter.
76318
+ * @param {!proto.user.DashboardRequest} message
76319
+ * @param {!jspb.BinaryWriter} writer
76320
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76321
+ */
76322
+ proto.user.DashboardRequest.serializeBinaryToWriter = function(message, writer) {
76323
+ var f = undefined;
76324
+ f = message.getStartDate();
76325
+ if (f.length > 0) {
76326
+ writer.writeString(
76327
+ 1,
76328
+ f
76329
+ );
76330
+ }
76331
+ f = message.getEndDate();
76332
+ if (f.length > 0) {
76333
+ writer.writeString(
76334
+ 2,
76335
+ f
76336
+ );
76337
+ }
76338
+ };
76339
+
76340
+
76341
+ /**
76342
+ * optional string start_date = 1;
76343
+ * @return {string}
76344
+ */
76345
+ proto.user.DashboardRequest.prototype.getStartDate = function() {
76346
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
76347
+ };
76348
+
76349
+
76350
+ /**
76351
+ * @param {string} value
76352
+ * @return {!proto.user.DashboardRequest} returns this
76353
+ */
76354
+ proto.user.DashboardRequest.prototype.setStartDate = function(value) {
76355
+ return jspb.Message.setProto3StringField(this, 1, value);
76356
+ };
76357
+
76358
+
76359
+ /**
76360
+ * optional string end_date = 2;
76361
+ * @return {string}
76362
+ */
76363
+ proto.user.DashboardRequest.prototype.getEndDate = function() {
76364
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
76365
+ };
76366
+
76367
+
76368
+ /**
76369
+ * @param {string} value
76370
+ * @return {!proto.user.DashboardRequest} returns this
76371
+ */
76372
+ proto.user.DashboardRequest.prototype.setEndDate = function(value) {
76373
+ return jspb.Message.setProto3StringField(this, 2, value);
76374
+ };
76375
+
76376
+
76377
+
76378
+
76379
+
76380
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76381
+ /**
76382
+ * Creates an object representation of this proto.
76383
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76384
+ * Optional fields that are not set will be set to undefined.
76385
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76386
+ * For the list of reserved names please see:
76387
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76388
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76389
+ * JSPB instance for transitional soy proto support:
76390
+ * http://goto/soy-param-migration
76391
+ * @return {!Object}
76392
+ */
76393
+ proto.user.DashboardResponse.prototype.toObject = function(opt_includeInstance) {
76394
+ return proto.user.DashboardResponse.toObject(opt_includeInstance, this);
76395
+ };
76396
+
76397
+
76398
+ /**
76399
+ * Static version of the {@see toObject} method.
76400
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76401
+ * the JSPB instance for transitional soy proto support:
76402
+ * http://goto/soy-param-migration
76403
+ * @param {!proto.user.DashboardResponse} msg The msg instance to transform.
76404
+ * @return {!Object}
76405
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76406
+ */
76407
+ proto.user.DashboardResponse.toObject = function(includeInstance, msg) {
76408
+ var f, obj = {
76409
+ registrationCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
76410
+ loginCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
76411
+ };
76412
+
76413
+ if (includeInstance) {
76414
+ obj.$jspbMessageInstance = msg;
76415
+ }
76416
+ return obj;
76417
+ };
76418
+ }
76419
+
76420
+
76421
+ /**
76422
+ * Deserializes binary data (in protobuf wire format).
76423
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76424
+ * @return {!proto.user.DashboardResponse}
76425
+ */
76426
+ proto.user.DashboardResponse.deserializeBinary = function(bytes) {
76427
+ var reader = new jspb.BinaryReader(bytes);
76428
+ var msg = new proto.user.DashboardResponse;
76429
+ return proto.user.DashboardResponse.deserializeBinaryFromReader(msg, reader);
76430
+ };
76431
+
76432
+
76433
+ /**
76434
+ * Deserializes binary data (in protobuf wire format) from the
76435
+ * given reader into the given message object.
76436
+ * @param {!proto.user.DashboardResponse} msg The message object to deserialize into.
76437
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76438
+ * @return {!proto.user.DashboardResponse}
76439
+ */
76440
+ proto.user.DashboardResponse.deserializeBinaryFromReader = function(msg, reader) {
76441
+ while (reader.nextField()) {
76442
+ if (reader.isEndGroup()) {
76443
+ break;
76444
+ }
76445
+ var field = reader.getFieldNumber();
76446
+ switch (field) {
76447
+ case 1:
76448
+ var value = /** @type {number} */ (reader.readInt32());
76449
+ msg.setRegistrationCount(value);
76450
+ break;
76451
+ case 2:
76452
+ var value = /** @type {number} */ (reader.readInt32());
76453
+ msg.setLoginCount(value);
76454
+ break;
76455
+ default:
76456
+ reader.skipField();
76457
+ break;
76458
+ }
76459
+ }
76460
+ return msg;
76461
+ };
76462
+
76463
+
76464
+ /**
76465
+ * Serializes the message to binary data (in protobuf wire format).
76466
+ * @return {!Uint8Array}
76467
+ */
76468
+ proto.user.DashboardResponse.prototype.serializeBinary = function() {
76469
+ var writer = new jspb.BinaryWriter();
76470
+ proto.user.DashboardResponse.serializeBinaryToWriter(this, writer);
76471
+ return writer.getResultBuffer();
76472
+ };
76473
+
76474
+
76475
+ /**
76476
+ * Serializes the given message to binary data (in protobuf wire
76477
+ * format), writing to the given BinaryWriter.
76478
+ * @param {!proto.user.DashboardResponse} message
76479
+ * @param {!jspb.BinaryWriter} writer
76480
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76481
+ */
76482
+ proto.user.DashboardResponse.serializeBinaryToWriter = function(message, writer) {
76483
+ var f = undefined;
76484
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
76485
+ if (f != null) {
76486
+ writer.writeInt32(
76487
+ 1,
76488
+ f
76489
+ );
76490
+ }
76491
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
76492
+ if (f != null) {
76493
+ writer.writeInt32(
76494
+ 2,
76495
+ f
76496
+ );
76497
+ }
76498
+ };
76499
+
76500
+
76501
+ /**
76502
+ * optional int32 registration_count = 1;
76503
+ * @return {number}
76504
+ */
76505
+ proto.user.DashboardResponse.prototype.getRegistrationCount = function() {
76506
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
76507
+ };
76508
+
76509
+
76510
+ /**
76511
+ * @param {number} value
76512
+ * @return {!proto.user.DashboardResponse} returns this
76513
+ */
76514
+ proto.user.DashboardResponse.prototype.setRegistrationCount = function(value) {
76515
+ return jspb.Message.setField(this, 1, value);
76516
+ };
76517
+
76518
+
76519
+ /**
76520
+ * Clears the field making it undefined.
76521
+ * @return {!proto.user.DashboardResponse} returns this
76522
+ */
76523
+ proto.user.DashboardResponse.prototype.clearRegistrationCount = function() {
76524
+ return jspb.Message.setField(this, 1, undefined);
76525
+ };
76526
+
76527
+
76528
+ /**
76529
+ * Returns whether this field is set.
76530
+ * @return {boolean}
76531
+ */
76532
+ proto.user.DashboardResponse.prototype.hasRegistrationCount = function() {
76533
+ return jspb.Message.getField(this, 1) != null;
76534
+ };
76535
+
76536
+
76537
+ /**
76538
+ * optional int32 login_count = 2;
76539
+ * @return {number}
76540
+ */
76541
+ proto.user.DashboardResponse.prototype.getLoginCount = function() {
76542
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
76543
+ };
76544
+
76545
+
76546
+ /**
76547
+ * @param {number} value
76548
+ * @return {!proto.user.DashboardResponse} returns this
76549
+ */
76550
+ proto.user.DashboardResponse.prototype.setLoginCount = function(value) {
76551
+ return jspb.Message.setField(this, 2, value);
76552
+ };
76553
+
76554
+
76555
+ /**
76556
+ * Clears the field making it undefined.
76557
+ * @return {!proto.user.DashboardResponse} returns this
76558
+ */
76559
+ proto.user.DashboardResponse.prototype.clearLoginCount = function() {
76560
+ return jspb.Message.setField(this, 2, undefined);
76561
+ };
76562
+
76563
+
76564
+ /**
76565
+ * Returns whether this field is set.
76566
+ * @return {boolean}
76567
+ */
76568
+ proto.user.DashboardResponse.prototype.hasLoginCount = function() {
76569
+ return jspb.Message.getField(this, 2) != null;
76570
+ };
76571
+
76572
+
76573
+
76574
+
76575
+
76576
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76577
+ /**
76578
+ * Creates an object representation of this proto.
76579
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76580
+ * Optional fields that are not set will be set to undefined.
76581
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76582
+ * For the list of reserved names please see:
76583
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76584
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76585
+ * JSPB instance for transitional soy proto support:
76586
+ * http://goto/soy-param-migration
76587
+ * @return {!Object}
76588
+ */
76589
+ proto.user.NoteRequest.prototype.toObject = function(opt_includeInstance) {
76590
+ return proto.user.NoteRequest.toObject(opt_includeInstance, this);
76591
+ };
76592
+
76593
+
76594
+ /**
76595
+ * Static version of the {@see toObject} method.
76596
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76597
+ * the JSPB instance for transitional soy proto support:
76598
+ * http://goto/soy-param-migration
76599
+ * @param {!proto.user.NoteRequest} msg The msg instance to transform.
76600
+ * @return {!Object}
76601
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76602
+ */
76603
+ proto.user.NoteRequest.toObject = function(includeInstance, msg) {
76604
+ var f, obj = {
76605
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
76606
+ content: jspb.Message.getFieldWithDefault(msg, 2, ""),
76607
+ userId: jspb.Message.getFieldWithDefault(msg, 3, 0),
76608
+ makerId: jspb.Message.getFieldWithDefault(msg, 4, 0)
76609
+ };
76610
+
76611
+ if (includeInstance) {
76612
+ obj.$jspbMessageInstance = msg;
76613
+ }
76614
+ return obj;
76615
+ };
76616
+ }
76617
+
76618
+
76619
+ /**
76620
+ * Deserializes binary data (in protobuf wire format).
76621
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76622
+ * @return {!proto.user.NoteRequest}
76623
+ */
76624
+ proto.user.NoteRequest.deserializeBinary = function(bytes) {
76625
+ var reader = new jspb.BinaryReader(bytes);
76626
+ var msg = new proto.user.NoteRequest;
76627
+ return proto.user.NoteRequest.deserializeBinaryFromReader(msg, reader);
76628
+ };
76629
+
76630
+
76631
+ /**
76632
+ * Deserializes binary data (in protobuf wire format) from the
76633
+ * given reader into the given message object.
76634
+ * @param {!proto.user.NoteRequest} msg The message object to deserialize into.
76635
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76636
+ * @return {!proto.user.NoteRequest}
76637
+ */
76638
+ proto.user.NoteRequest.deserializeBinaryFromReader = function(msg, reader) {
76639
+ while (reader.nextField()) {
76640
+ if (reader.isEndGroup()) {
76641
+ break;
76642
+ }
76643
+ var field = reader.getFieldNumber();
76644
+ switch (field) {
76645
+ case 1:
76646
+ var value = /** @type {number} */ (reader.readInt32());
76647
+ msg.setId(value);
76648
+ break;
76649
+ case 2:
76650
+ var value = /** @type {string} */ (reader.readString());
76651
+ msg.setContent(value);
76652
+ break;
76653
+ case 3:
76654
+ var value = /** @type {number} */ (reader.readInt32());
76655
+ msg.setUserId(value);
76656
+ break;
76657
+ case 4:
76658
+ var value = /** @type {number} */ (reader.readInt32());
76659
+ msg.setMakerId(value);
76660
+ break;
76661
+ default:
76662
+ reader.skipField();
76663
+ break;
76664
+ }
76665
+ }
76666
+ return msg;
76667
+ };
76668
+
76669
+
76670
+ /**
76671
+ * Serializes the message to binary data (in protobuf wire format).
76672
+ * @return {!Uint8Array}
76673
+ */
76674
+ proto.user.NoteRequest.prototype.serializeBinary = function() {
76675
+ var writer = new jspb.BinaryWriter();
76676
+ proto.user.NoteRequest.serializeBinaryToWriter(this, writer);
76677
+ return writer.getResultBuffer();
76678
+ };
76679
+
76680
+
76681
+ /**
76682
+ * Serializes the given message to binary data (in protobuf wire
76683
+ * format), writing to the given BinaryWriter.
76684
+ * @param {!proto.user.NoteRequest} message
76685
+ * @param {!jspb.BinaryWriter} writer
76686
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76687
+ */
76688
+ proto.user.NoteRequest.serializeBinaryToWriter = function(message, writer) {
76689
+ var f = undefined;
76690
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
76691
+ if (f != null) {
76692
+ writer.writeInt32(
76693
+ 1,
76694
+ f
76695
+ );
76696
+ }
76697
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
76698
+ if (f != null) {
76699
+ writer.writeString(
76700
+ 2,
76701
+ f
76702
+ );
76703
+ }
76704
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
76705
+ if (f != null) {
76706
+ writer.writeInt32(
76707
+ 3,
76708
+ f
76709
+ );
76710
+ }
76711
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
76712
+ if (f != null) {
76713
+ writer.writeInt32(
76714
+ 4,
76715
+ f
76716
+ );
76717
+ }
76718
+ };
76719
+
76720
+
76721
+ /**
76722
+ * optional int32 id = 1;
76723
+ * @return {number}
76724
+ */
76725
+ proto.user.NoteRequest.prototype.getId = function() {
76726
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
76727
+ };
76728
+
76729
+
76730
+ /**
76731
+ * @param {number} value
76732
+ * @return {!proto.user.NoteRequest} returns this
76733
+ */
76734
+ proto.user.NoteRequest.prototype.setId = function(value) {
76735
+ return jspb.Message.setField(this, 1, value);
76736
+ };
76737
+
76738
+
76739
+ /**
76740
+ * Clears the field making it undefined.
76741
+ * @return {!proto.user.NoteRequest} returns this
76742
+ */
76743
+ proto.user.NoteRequest.prototype.clearId = function() {
76744
+ return jspb.Message.setField(this, 1, undefined);
76745
+ };
76746
+
76747
+
76748
+ /**
76749
+ * Returns whether this field is set.
76750
+ * @return {boolean}
76751
+ */
76752
+ proto.user.NoteRequest.prototype.hasId = function() {
76753
+ return jspb.Message.getField(this, 1) != null;
76754
+ };
76755
+
76756
+
76757
+ /**
76758
+ * optional string content = 2;
76759
+ * @return {string}
76760
+ */
76761
+ proto.user.NoteRequest.prototype.getContent = function() {
76762
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
76763
+ };
76764
+
76765
+
76766
+ /**
76767
+ * @param {string} value
76768
+ * @return {!proto.user.NoteRequest} returns this
76769
+ */
76770
+ proto.user.NoteRequest.prototype.setContent = function(value) {
76771
+ return jspb.Message.setField(this, 2, value);
76772
+ };
76773
+
76774
+
76775
+ /**
76776
+ * Clears the field making it undefined.
76777
+ * @return {!proto.user.NoteRequest} returns this
76778
+ */
76779
+ proto.user.NoteRequest.prototype.clearContent = function() {
76780
+ return jspb.Message.setField(this, 2, undefined);
76781
+ };
76782
+
76783
+
76784
+ /**
76785
+ * Returns whether this field is set.
76786
+ * @return {boolean}
76787
+ */
76788
+ proto.user.NoteRequest.prototype.hasContent = function() {
76789
+ return jspb.Message.getField(this, 2) != null;
76790
+ };
76791
+
76792
+
76793
+ /**
76794
+ * optional int32 user_id = 3;
76795
+ * @return {number}
76796
+ */
76797
+ proto.user.NoteRequest.prototype.getUserId = function() {
76798
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
76799
+ };
76800
+
76801
+
76802
+ /**
76803
+ * @param {number} value
76804
+ * @return {!proto.user.NoteRequest} returns this
76805
+ */
76806
+ proto.user.NoteRequest.prototype.setUserId = function(value) {
76807
+ return jspb.Message.setField(this, 3, value);
76808
+ };
76809
+
76810
+
76811
+ /**
76812
+ * Clears the field making it undefined.
76813
+ * @return {!proto.user.NoteRequest} returns this
76814
+ */
76815
+ proto.user.NoteRequest.prototype.clearUserId = function() {
76816
+ return jspb.Message.setField(this, 3, undefined);
76817
+ };
76818
+
76819
+
76820
+ /**
76821
+ * Returns whether this field is set.
76822
+ * @return {boolean}
76823
+ */
76824
+ proto.user.NoteRequest.prototype.hasUserId = function() {
76825
+ return jspb.Message.getField(this, 3) != null;
74983
76826
  };
74984
76827
 
74985
76828
 
@@ -94924,6 +96767,14 @@ proto.user.UserVerificationOverallStatus = {
94924
96767
  USER_VERIFICATION_OVERALL_STATUS_REQUIRES_REVIEW: 6
94925
96768
  };
94926
96769
 
96770
+ /**
96771
+ * @enum {number}
96772
+ */
96773
+ proto.user.VerificationSelectionMode = {
96774
+ VERIFICATION_SELECTION_MODE_UNSPECIFIED: 0,
96775
+ VERIFICATION_SELECTION_MODE_ONE_OF: 1
96776
+ };
96777
+
94927
96778
  /**
94928
96779
  * @enum {number}
94929
96780
  */