protobuf-platform 1.2.558 → 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,6 +80,8 @@ 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);
@@ -287,12 +289,16 @@ goog.exportSymbol('proto.user.UserSegmentIdsResponse', null, global);
287
289
  goog.exportSymbol('proto.user.UserStatusResponse', null, global);
288
290
  goog.exportSymbol('proto.user.UserToggleGameStatusResponse', null, global);
289
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);
290
295
  goog.exportSymbol('proto.user.UserVerificationOverallStatus', null, global);
291
296
  goog.exportSymbol('proto.user.UserWalletBalanceItem', null, global);
292
297
  goog.exportSymbol('proto.user.UserWalletBalancesResponse', null, global);
293
298
  goog.exportSymbol('proto.user.UsersResponse', null, global);
294
299
  goog.exportSymbol('proto.user.VerificationCapability', null, global);
295
300
  goog.exportSymbol('proto.user.VerificationCapabilityStatus', null, global);
301
+ goog.exportSymbol('proto.user.VerificationSelectionMode', null, global);
296
302
  goog.exportSymbol('proto.user.VerificationStatus', null, global);
297
303
  goog.exportSymbol('proto.user.VerificationStatusItemsResponse', null, global);
298
304
  goog.exportSymbol('proto.user.VerifySmsResetPasswordCodeRequest', null, global);
@@ -4414,6 +4420,111 @@ if (goog.DEBUG && !COMPILED) {
4414
4420
  */
4415
4421
  proto.user.ApproveVerificationResponse.displayName = 'proto.user.ApproveVerificationResponse';
4416
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
+ }
4417
4528
  /**
4418
4529
  * Generated by JsPbCodeGenerator.
4419
4530
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -74475,8 +74586,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74475
74586
  * http://goto/soy-param-migration
74476
74587
  * @return {!Object}
74477
74588
  */
74478
- proto.user.GetVerificationProfileDataRequirementsRequest.prototype.toObject = function(opt_includeInstance) {
74479
- return proto.user.GetVerificationProfileDataRequirementsRequest.toObject(opt_includeInstance, this);
74589
+ proto.user.UserVerificationFlowUpload.prototype.toObject = function(opt_includeInstance) {
74590
+ return proto.user.UserVerificationFlowUpload.toObject(opt_includeInstance, this);
74480
74591
  };
74481
74592
 
74482
74593
 
@@ -74485,13 +74596,15 @@ proto.user.GetVerificationProfileDataRequirementsRequest.prototype.toObject = fu
74485
74596
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74486
74597
  * the JSPB instance for transitional soy proto support:
74487
74598
  * http://goto/soy-param-migration
74488
- * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} msg The msg instance to transform.
74599
+ * @param {!proto.user.UserVerificationFlowUpload} msg The msg instance to transform.
74489
74600
  * @return {!Object}
74490
74601
  * @suppress {unusedLocalVariables} f is only used for nested messages
74491
74602
  */
74492
- proto.user.GetVerificationProfileDataRequirementsRequest.toObject = function(includeInstance, msg) {
74603
+ proto.user.UserVerificationFlowUpload.toObject = function(includeInstance, msg) {
74493
74604
  var f, obj = {
74494
-
74605
+ side: jspb.Message.getFieldWithDefault(msg, 1, ""),
74606
+ required: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
74607
+ status: jspb.Message.getFieldWithDefault(msg, 3, 0)
74495
74608
  };
74496
74609
 
74497
74610
  if (includeInstance) {
@@ -74505,29 +74618,41 @@ proto.user.GetVerificationProfileDataRequirementsRequest.toObject = function(inc
74505
74618
  /**
74506
74619
  * Deserializes binary data (in protobuf wire format).
74507
74620
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
74508
- * @return {!proto.user.GetVerificationProfileDataRequirementsRequest}
74621
+ * @return {!proto.user.UserVerificationFlowUpload}
74509
74622
  */
74510
- proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinary = function(bytes) {
74623
+ proto.user.UserVerificationFlowUpload.deserializeBinary = function(bytes) {
74511
74624
  var reader = new jspb.BinaryReader(bytes);
74512
- var msg = new proto.user.GetVerificationProfileDataRequirementsRequest;
74513
- return proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader(msg, reader);
74625
+ var msg = new proto.user.UserVerificationFlowUpload;
74626
+ return proto.user.UserVerificationFlowUpload.deserializeBinaryFromReader(msg, reader);
74514
74627
  };
74515
74628
 
74516
74629
 
74517
74630
  /**
74518
74631
  * Deserializes binary data (in protobuf wire format) from the
74519
74632
  * given reader into the given message object.
74520
- * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} msg The message object to deserialize into.
74633
+ * @param {!proto.user.UserVerificationFlowUpload} msg The message object to deserialize into.
74521
74634
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74522
- * @return {!proto.user.GetVerificationProfileDataRequirementsRequest}
74635
+ * @return {!proto.user.UserVerificationFlowUpload}
74523
74636
  */
74524
- proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader = function(msg, reader) {
74637
+ proto.user.UserVerificationFlowUpload.deserializeBinaryFromReader = function(msg, reader) {
74525
74638
  while (reader.nextField()) {
74526
74639
  if (reader.isEndGroup()) {
74527
74640
  break;
74528
74641
  }
74529
74642
  var field = reader.getFieldNumber();
74530
74643
  switch (field) {
74644
+ case 1:
74645
+ var value = /** @type {string} */ (reader.readString());
74646
+ msg.setSide(value);
74647
+ break;
74648
+ case 2:
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);
74655
+ break;
74531
74656
  default:
74532
74657
  reader.skipField();
74533
74658
  break;
@@ -74541,9 +74666,9 @@ proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromRe
74541
74666
  * Serializes the message to binary data (in protobuf wire format).
74542
74667
  * @return {!Uint8Array}
74543
74668
  */
74544
- proto.user.GetVerificationProfileDataRequirementsRequest.prototype.serializeBinary = function() {
74669
+ proto.user.UserVerificationFlowUpload.prototype.serializeBinary = function() {
74545
74670
  var writer = new jspb.BinaryWriter();
74546
- proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter(this, writer);
74671
+ proto.user.UserVerificationFlowUpload.serializeBinaryToWriter(this, writer);
74547
74672
  return writer.getResultBuffer();
74548
74673
  };
74549
74674
 
@@ -74551,12 +74676,87 @@ proto.user.GetVerificationProfileDataRequirementsRequest.prototype.serializeBina
74551
74676
  /**
74552
74677
  * Serializes the given message to binary data (in protobuf wire
74553
74678
  * format), writing to the given BinaryWriter.
74554
- * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} message
74679
+ * @param {!proto.user.UserVerificationFlowUpload} message
74555
74680
  * @param {!jspb.BinaryWriter} writer
74556
74681
  * @suppress {unusedLocalVariables} f is only used for nested messages
74557
74682
  */
74558
- proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter = function(message, writer) {
74683
+ proto.user.UserVerificationFlowUpload.serializeBinaryToWriter = function(message, writer) {
74559
74684
  var f = undefined;
74685
+ f = message.getSide();
74686
+ if (f.length > 0) {
74687
+ writer.writeString(
74688
+ 1,
74689
+ f
74690
+ );
74691
+ }
74692
+ f = message.getRequired();
74693
+ if (f) {
74694
+ writer.writeBool(
74695
+ 2,
74696
+ f
74697
+ );
74698
+ }
74699
+ f = message.getStatus();
74700
+ if (f !== 0.0) {
74701
+ writer.writeEnum(
74702
+ 3,
74703
+ f
74704
+ );
74705
+ }
74706
+ };
74707
+
74708
+
74709
+ /**
74710
+ * optional string side = 1;
74711
+ * @return {string}
74712
+ */
74713
+ proto.user.UserVerificationFlowUpload.prototype.getSide = function() {
74714
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
74715
+ };
74716
+
74717
+
74718
+ /**
74719
+ * @param {string} value
74720
+ * @return {!proto.user.UserVerificationFlowUpload} returns this
74721
+ */
74722
+ proto.user.UserVerificationFlowUpload.prototype.setSide = function(value) {
74723
+ return jspb.Message.setProto3StringField(this, 1, value);
74724
+ };
74725
+
74726
+
74727
+ /**
74728
+ * optional bool required = 2;
74729
+ * @return {boolean}
74730
+ */
74731
+ proto.user.UserVerificationFlowUpload.prototype.getRequired = function() {
74732
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
74733
+ };
74734
+
74735
+
74736
+ /**
74737
+ * @param {boolean} value
74738
+ * @return {!proto.user.UserVerificationFlowUpload} returns this
74739
+ */
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);
74560
74760
  };
74561
74761
 
74562
74762
 
@@ -74566,7 +74766,7 @@ proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter
74566
74766
  * @private {!Array<number>}
74567
74767
  * @const
74568
74768
  */
74569
- proto.user.GetVerificationProfileDataRequirementsResponse.repeatedFields_ = [1];
74769
+ proto.user.UserVerificationFlowOption.repeatedFields_ = [4];
74570
74770
 
74571
74771
 
74572
74772
 
@@ -74583,8 +74783,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74583
74783
  * http://goto/soy-param-migration
74584
74784
  * @return {!Object}
74585
74785
  */
74586
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.toObject = function(opt_includeInstance) {
74587
- return proto.user.GetVerificationProfileDataRequirementsResponse.toObject(opt_includeInstance, this);
74786
+ proto.user.UserVerificationFlowOption.prototype.toObject = function(opt_includeInstance) {
74787
+ return proto.user.UserVerificationFlowOption.toObject(opt_includeInstance, this);
74588
74788
  };
74589
74789
 
74590
74790
 
@@ -74593,13 +74793,17 @@ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.toObject = f
74593
74793
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74594
74794
  * the JSPB instance for transitional soy proto support:
74595
74795
  * http://goto/soy-param-migration
74596
- * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} msg The msg instance to transform.
74796
+ * @param {!proto.user.UserVerificationFlowOption} msg The msg instance to transform.
74597
74797
  * @return {!Object}
74598
74798
  * @suppress {unusedLocalVariables} f is only used for nested messages
74599
74799
  */
74600
- proto.user.GetVerificationProfileDataRequirementsResponse.toObject = function(includeInstance, msg) {
74800
+ proto.user.UserVerificationFlowOption.toObject = function(includeInstance, msg) {
74601
74801
  var f, obj = {
74602
- fieldsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
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)
74603
74807
  };
74604
74808
 
74605
74809
  if (includeInstance) {
@@ -74613,23 +74817,23 @@ proto.user.GetVerificationProfileDataRequirementsResponse.toObject = function(in
74613
74817
  /**
74614
74818
  * Deserializes binary data (in protobuf wire format).
74615
74819
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
74616
- * @return {!proto.user.GetVerificationProfileDataRequirementsResponse}
74820
+ * @return {!proto.user.UserVerificationFlowOption}
74617
74821
  */
74618
- proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinary = function(bytes) {
74822
+ proto.user.UserVerificationFlowOption.deserializeBinary = function(bytes) {
74619
74823
  var reader = new jspb.BinaryReader(bytes);
74620
- var msg = new proto.user.GetVerificationProfileDataRequirementsResponse;
74621
- return proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader(msg, reader);
74824
+ var msg = new proto.user.UserVerificationFlowOption;
74825
+ return proto.user.UserVerificationFlowOption.deserializeBinaryFromReader(msg, reader);
74622
74826
  };
74623
74827
 
74624
74828
 
74625
74829
  /**
74626
74830
  * Deserializes binary data (in protobuf wire format) from the
74627
74831
  * given reader into the given message object.
74628
- * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} msg The message object to deserialize into.
74832
+ * @param {!proto.user.UserVerificationFlowOption} msg The message object to deserialize into.
74629
74833
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74630
- * @return {!proto.user.GetVerificationProfileDataRequirementsResponse}
74834
+ * @return {!proto.user.UserVerificationFlowOption}
74631
74835
  */
74632
- proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader = function(msg, reader) {
74836
+ proto.user.UserVerificationFlowOption.deserializeBinaryFromReader = function(msg, reader) {
74633
74837
  while (reader.nextField()) {
74634
74838
  if (reader.isEndGroup()) {
74635
74839
  break;
@@ -74638,7 +74842,20 @@ proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromR
74638
74842
  switch (field) {
74639
74843
  case 1:
74640
74844
  var value = /** @type {string} */ (reader.readString());
74641
- msg.addFields(value);
74845
+ msg.setDocumentType(value);
74846
+ break;
74847
+ case 2:
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);
74642
74859
  break;
74643
74860
  default:
74644
74861
  reader.skipField();
@@ -74653,9 +74870,9 @@ proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromR
74653
74870
  * Serializes the message to binary data (in protobuf wire format).
74654
74871
  * @return {!Uint8Array}
74655
74872
  */
74656
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.serializeBinary = function() {
74873
+ proto.user.UserVerificationFlowOption.prototype.serializeBinary = function() {
74657
74874
  var writer = new jspb.BinaryWriter();
74658
- proto.user.GetVerificationProfileDataRequirementsResponse.serializeBinaryToWriter(this, writer);
74875
+ proto.user.UserVerificationFlowOption.serializeBinaryToWriter(this, writer);
74659
74876
  return writer.getResultBuffer();
74660
74877
  };
74661
74878
 
@@ -74663,56 +74880,133 @@ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.serializeBin
74663
74880
  /**
74664
74881
  * Serializes the given message to binary data (in protobuf wire
74665
74882
  * format), writing to the given BinaryWriter.
74666
- * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} message
74883
+ * @param {!proto.user.UserVerificationFlowOption} message
74667
74884
  * @param {!jspb.BinaryWriter} writer
74668
74885
  * @suppress {unusedLocalVariables} f is only used for nested messages
74669
74886
  */
74670
- proto.user.GetVerificationProfileDataRequirementsResponse.serializeBinaryToWriter = function(message, writer) {
74887
+ proto.user.UserVerificationFlowOption.serializeBinaryToWriter = function(message, writer) {
74671
74888
  var f = undefined;
74672
- f = message.getFieldsList();
74889
+ f = message.getDocumentType();
74673
74890
  if (f.length > 0) {
74674
- writer.writeRepeatedString(
74891
+ writer.writeString(
74675
74892
  1,
74676
74893
  f
74677
74894
  );
74678
74895
  }
74896
+ f = message.getSupported();
74897
+ if (f) {
74898
+ writer.writeBool(
74899
+ 2,
74900
+ f
74901
+ );
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
+ }
74679
74918
  };
74680
74919
 
74681
74920
 
74682
74921
  /**
74683
- * repeated string fields = 1;
74684
- * @return {!Array<string>}
74922
+ * optional string document_type = 1;
74923
+ * @return {string}
74685
74924
  */
74686
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.getFieldsList = function() {
74687
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
74925
+ proto.user.UserVerificationFlowOption.prototype.getDocumentType = function() {
74926
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
74688
74927
  };
74689
74928
 
74690
74929
 
74691
74930
  /**
74692
- * @param {!Array<string>} value
74693
- * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
74931
+ * @param {string} value
74932
+ * @return {!proto.user.UserVerificationFlowOption} returns this
74694
74933
  */
74695
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.setFieldsList = function(value) {
74696
- return jspb.Message.setField(this, 1, value || []);
74934
+ proto.user.UserVerificationFlowOption.prototype.setDocumentType = function(value) {
74935
+ return jspb.Message.setProto3StringField(this, 1, value);
74697
74936
  };
74698
74937
 
74699
74938
 
74700
74939
  /**
74701
- * @param {string} value
74940
+ * optional bool supported = 2;
74941
+ * @return {boolean}
74942
+ */
74943
+ proto.user.UserVerificationFlowOption.prototype.getSupported = function() {
74944
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
74945
+ };
74946
+
74947
+
74948
+ /**
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;
74959
+ * @return {boolean}
74960
+ */
74961
+ proto.user.UserVerificationFlowOption.prototype.getUploadRequirementsResolved = function() {
74962
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
74963
+ };
74964
+
74965
+
74966
+ /**
74967
+ * @param {boolean} value
74968
+ * @return {!proto.user.UserVerificationFlowOption} returns this
74969
+ */
74970
+ proto.user.UserVerificationFlowOption.prototype.setUploadRequirementsResolved = function(value) {
74971
+ return jspb.Message.setProto3BooleanField(this, 3, value);
74972
+ };
74973
+
74974
+
74975
+ /**
74976
+ * repeated UserVerificationFlowUpload uploads = 4;
74977
+ * @return {!Array<!proto.user.UserVerificationFlowUpload>}
74978
+ */
74979
+ proto.user.UserVerificationFlowOption.prototype.getUploadsList = function() {
74980
+ return /** @type{!Array<!proto.user.UserVerificationFlowUpload>} */ (
74981
+ jspb.Message.getRepeatedWrapperField(this, proto.user.UserVerificationFlowUpload, 4));
74982
+ };
74983
+
74984
+
74985
+ /**
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
74702
74996
  * @param {number=} opt_index
74703
- * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
74997
+ * @return {!proto.user.UserVerificationFlowUpload}
74704
74998
  */
74705
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.addFields = function(value, opt_index) {
74706
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
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);
74707
75001
  };
74708
75002
 
74709
75003
 
74710
75004
  /**
74711
75005
  * Clears the list making it empty but non-null.
74712
- * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
75006
+ * @return {!proto.user.UserVerificationFlowOption} returns this
74713
75007
  */
74714
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.clearFieldsList = function() {
74715
- return this.setFieldsList([]);
75008
+ proto.user.UserVerificationFlowOption.prototype.clearUploadsList = function() {
75009
+ return this.setUploadsList([]);
74716
75010
  };
74717
75011
 
74718
75012
 
@@ -74722,7 +75016,7 @@ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.clearFieldsL
74722
75016
  * @private {!Array<number>}
74723
75017
  * @const
74724
75018
  */
74725
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.repeatedFields_ = [1];
75019
+ proto.user.UserVerificationFlowStep.repeatedFields_ = [5];
74726
75020
 
74727
75021
 
74728
75022
 
@@ -74739,8 +75033,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74739
75033
  * http://goto/soy-param-migration
74740
75034
  * @return {!Object}
74741
75035
  */
74742
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.toObject = function(opt_includeInstance) {
74743
- return proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject(opt_includeInstance, this);
75036
+ proto.user.UserVerificationFlowStep.prototype.toObject = function(opt_includeInstance) {
75037
+ return proto.user.UserVerificationFlowStep.toObject(opt_includeInstance, this);
74744
75038
  };
74745
75039
 
74746
75040
 
@@ -74749,13 +75043,18 @@ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.toObject
74749
75043
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74750
75044
  * the JSPB instance for transitional soy proto support:
74751
75045
  * http://goto/soy-param-migration
74752
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} msg The msg instance to transform.
75046
+ * @param {!proto.user.UserVerificationFlowStep} msg The msg instance to transform.
74753
75047
  * @return {!Object}
74754
75048
  * @suppress {unusedLocalVariables} f is only used for nested messages
74755
75049
  */
74756
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject = function(includeInstance, msg) {
75050
+ proto.user.UserVerificationFlowStep.toObject = function(includeInstance, msg) {
74757
75051
  var f, obj = {
74758
- fieldsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
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)
74759
75058
  };
74760
75059
 
74761
75060
  if (includeInstance) {
@@ -74769,23 +75068,23 @@ proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject = function
74769
75068
  /**
74770
75069
  * Deserializes binary data (in protobuf wire format).
74771
75070
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
74772
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest}
75071
+ * @return {!proto.user.UserVerificationFlowStep}
74773
75072
  */
74774
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinary = function(bytes) {
75073
+ proto.user.UserVerificationFlowStep.deserializeBinary = function(bytes) {
74775
75074
  var reader = new jspb.BinaryReader(bytes);
74776
- var msg = new proto.user.ReplaceVerificationProfileDataRequirementsRequest;
74777
- return proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader(msg, reader);
75075
+ var msg = new proto.user.UserVerificationFlowStep;
75076
+ return proto.user.UserVerificationFlowStep.deserializeBinaryFromReader(msg, reader);
74778
75077
  };
74779
75078
 
74780
75079
 
74781
75080
  /**
74782
75081
  * Deserializes binary data (in protobuf wire format) from the
74783
75082
  * given reader into the given message object.
74784
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} msg The message object to deserialize into.
75083
+ * @param {!proto.user.UserVerificationFlowStep} msg The message object to deserialize into.
74785
75084
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74786
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest}
75085
+ * @return {!proto.user.UserVerificationFlowStep}
74787
75086
  */
74788
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader = function(msg, reader) {
75087
+ proto.user.UserVerificationFlowStep.deserializeBinaryFromReader = function(msg, reader) {
74789
75088
  while (reader.nextField()) {
74790
75089
  if (reader.isEndGroup()) {
74791
75090
  break;
@@ -74793,8 +75092,25 @@ proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFr
74793
75092
  var field = reader.getFieldNumber();
74794
75093
  switch (field) {
74795
75094
  case 1:
74796
- var value = /** @type {string} */ (reader.readString());
74797
- msg.addFields(value);
75095
+ var value = /** @type {!proto.user.VerificationCapability} */ (reader.readEnum());
75096
+ msg.setCapability(value);
75097
+ break;
75098
+ case 2:
75099
+ var value = /** @type {!proto.user.VerificationCapabilityStatus} */ (reader.readEnum());
75100
+ msg.setStatus(value);
75101
+ break;
75102
+ case 3:
75103
+ var value = /** @type {boolean} */ (reader.readBool());
75104
+ msg.setRequired(value);
75105
+ break;
75106
+ case 4:
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);
74798
75114
  break;
74799
75115
  default:
74800
75116
  reader.skipField();
@@ -74809,9 +75125,9 @@ proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFr
74809
75125
  * Serializes the message to binary data (in protobuf wire format).
74810
75126
  * @return {!Uint8Array}
74811
75127
  */
74812
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.serializeBinary = function() {
75128
+ proto.user.UserVerificationFlowStep.prototype.serializeBinary = function() {
74813
75129
  var writer = new jspb.BinaryWriter();
74814
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.serializeBinaryToWriter(this, writer);
75130
+ proto.user.UserVerificationFlowStep.serializeBinaryToWriter(this, writer);
74815
75131
  return writer.getResultBuffer();
74816
75132
  };
74817
75133
 
@@ -74819,157 +75135,158 @@ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.serialize
74819
75135
  /**
74820
75136
  * Serializes the given message to binary data (in protobuf wire
74821
75137
  * format), writing to the given BinaryWriter.
74822
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} message
75138
+ * @param {!proto.user.UserVerificationFlowStep} message
74823
75139
  * @param {!jspb.BinaryWriter} writer
74824
75140
  * @suppress {unusedLocalVariables} f is only used for nested messages
74825
75141
  */
74826
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.serializeBinaryToWriter = function(message, writer) {
75142
+ proto.user.UserVerificationFlowStep.serializeBinaryToWriter = function(message, writer) {
74827
75143
  var f = undefined;
74828
- f = message.getFieldsList();
74829
- if (f.length > 0) {
74830
- writer.writeRepeatedString(
75144
+ f = message.getCapability();
75145
+ if (f !== 0.0) {
75146
+ writer.writeEnum(
74831
75147
  1,
74832
75148
  f
74833
75149
  );
74834
75150
  }
75151
+ f = message.getStatus();
75152
+ if (f !== 0.0) {
75153
+ writer.writeEnum(
75154
+ 2,
75155
+ f
75156
+ );
75157
+ }
75158
+ f = message.getRequired();
75159
+ if (f) {
75160
+ writer.writeBool(
75161
+ 3,
75162
+ f
75163
+ );
75164
+ }
75165
+ f = message.getSelectionMode();
75166
+ if (f !== 0.0) {
75167
+ writer.writeEnum(
75168
+ 4,
75169
+ f
75170
+ );
75171
+ }
75172
+ f = message.getOptionsList();
75173
+ if (f.length > 0) {
75174
+ writer.writeRepeatedMessage(
75175
+ 5,
75176
+ f,
75177
+ proto.user.UserVerificationFlowOption.serializeBinaryToWriter
75178
+ );
75179
+ }
74835
75180
  };
74836
75181
 
74837
75182
 
74838
75183
  /**
74839
- * repeated string fields = 1;
74840
- * @return {!Array<string>}
75184
+ * optional VerificationCapability capability = 1;
75185
+ * @return {!proto.user.VerificationCapability}
74841
75186
  */
74842
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.getFieldsList = function() {
74843
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
75187
+ proto.user.UserVerificationFlowStep.prototype.getCapability = function() {
75188
+ return /** @type {!proto.user.VerificationCapability} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
74844
75189
  };
74845
75190
 
74846
75191
 
74847
75192
  /**
74848
- * @param {!Array<string>} value
74849
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
75193
+ * @param {!proto.user.VerificationCapability} value
75194
+ * @return {!proto.user.UserVerificationFlowStep} returns this
74850
75195
  */
74851
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.setFieldsList = function(value) {
74852
- return jspb.Message.setField(this, 1, value || []);
75196
+ proto.user.UserVerificationFlowStep.prototype.setCapability = function(value) {
75197
+ return jspb.Message.setProto3EnumField(this, 1, value);
74853
75198
  };
74854
75199
 
74855
75200
 
74856
75201
  /**
74857
- * @param {string} value
74858
- * @param {number=} opt_index
74859
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
75202
+ * optional VerificationCapabilityStatus status = 2;
75203
+ * @return {!proto.user.VerificationCapabilityStatus}
74860
75204
  */
74861
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.addFields = function(value, opt_index) {
74862
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
75205
+ proto.user.UserVerificationFlowStep.prototype.getStatus = function() {
75206
+ return /** @type {!proto.user.VerificationCapabilityStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
74863
75207
  };
74864
75208
 
74865
75209
 
74866
75210
  /**
74867
- * Clears the list making it empty but non-null.
74868
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
75211
+ * @param {!proto.user.VerificationCapabilityStatus} value
75212
+ * @return {!proto.user.UserVerificationFlowStep} returns this
74869
75213
  */
74870
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.clearFieldsList = function() {
74871
- return this.setFieldsList([]);
75214
+ proto.user.UserVerificationFlowStep.prototype.setStatus = function(value) {
75215
+ return jspb.Message.setProto3EnumField(this, 2, value);
74872
75216
  };
74873
75217
 
74874
75218
 
75219
+ /**
75220
+ * optional bool required = 3;
75221
+ * @return {boolean}
75222
+ */
75223
+ proto.user.UserVerificationFlowStep.prototype.getRequired = function() {
75224
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
75225
+ };
74875
75226
 
74876
75227
 
74877
-
74878
- if (jspb.Message.GENERATE_TO_OBJECT) {
74879
75228
  /**
74880
- * Creates an object representation of this proto.
74881
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
74882
- * Optional fields that are not set will be set to undefined.
74883
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74884
- * For the list of reserved names please see:
74885
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74886
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74887
- * JSPB instance for transitional soy proto support:
74888
- * http://goto/soy-param-migration
74889
- * @return {!Object}
75229
+ * @param {boolean} value
75230
+ * @return {!proto.user.UserVerificationFlowStep} returns this
74890
75231
  */
74891
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.toObject = function(opt_includeInstance) {
74892
- return proto.user.ReplaceVerificationProfileDataRequirementsResponse.toObject(opt_includeInstance, this);
75232
+ proto.user.UserVerificationFlowStep.prototype.setRequired = function(value) {
75233
+ return jspb.Message.setProto3BooleanField(this, 3, value);
74893
75234
  };
74894
75235
 
74895
75236
 
74896
75237
  /**
74897
- * Static version of the {@see toObject} method.
74898
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74899
- * the JSPB instance for transitional soy proto support:
74900
- * http://goto/soy-param-migration
74901
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} msg The msg instance to transform.
74902
- * @return {!Object}
74903
- * @suppress {unusedLocalVariables} f is only used for nested messages
75238
+ * optional VerificationSelectionMode selection_mode = 4;
75239
+ * @return {!proto.user.VerificationSelectionMode}
74904
75240
  */
74905
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.toObject = function(includeInstance, msg) {
74906
- var f, obj = {
75241
+ proto.user.UserVerificationFlowStep.prototype.getSelectionMode = function() {
75242
+ return /** @type {!proto.user.VerificationSelectionMode} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
75243
+ };
74907
75244
 
74908
- };
74909
75245
 
74910
- if (includeInstance) {
74911
- obj.$jspbMessageInstance = msg;
74912
- }
74913
- return obj;
75246
+ /**
75247
+ * @param {!proto.user.VerificationSelectionMode} value
75248
+ * @return {!proto.user.UserVerificationFlowStep} returns this
75249
+ */
75250
+ proto.user.UserVerificationFlowStep.prototype.setSelectionMode = function(value) {
75251
+ return jspb.Message.setProto3EnumField(this, 4, value);
74914
75252
  };
74915
- }
74916
75253
 
74917
75254
 
74918
75255
  /**
74919
- * Deserializes binary data (in protobuf wire format).
74920
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
74921
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsResponse}
75256
+ * repeated UserVerificationFlowOption options = 5;
75257
+ * @return {!Array<!proto.user.UserVerificationFlowOption>}
74922
75258
  */
74923
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinary = function(bytes) {
74924
- var reader = new jspb.BinaryReader(bytes);
74925
- var msg = new proto.user.ReplaceVerificationProfileDataRequirementsResponse;
74926
- return proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader(msg, reader);
75259
+ proto.user.UserVerificationFlowStep.prototype.getOptionsList = function() {
75260
+ return /** @type{!Array<!proto.user.UserVerificationFlowOption>} */ (
75261
+ jspb.Message.getRepeatedWrapperField(this, proto.user.UserVerificationFlowOption, 5));
74927
75262
  };
74928
75263
 
74929
75264
 
74930
75265
  /**
74931
- * Deserializes binary data (in protobuf wire format) from the
74932
- * given reader into the given message object.
74933
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} msg The message object to deserialize into.
74934
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74935
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsResponse}
74936
- */
74937
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader = function(msg, reader) {
74938
- while (reader.nextField()) {
74939
- if (reader.isEndGroup()) {
74940
- break;
74941
- }
74942
- var field = reader.getFieldNumber();
74943
- switch (field) {
74944
- default:
74945
- reader.skipField();
74946
- break;
74947
- }
74948
- }
74949
- return msg;
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);
74950
75271
  };
74951
75272
 
74952
75273
 
74953
75274
  /**
74954
- * Serializes the message to binary data (in protobuf wire format).
74955
- * @return {!Uint8Array}
75275
+ * @param {!proto.user.UserVerificationFlowOption=} opt_value
75276
+ * @param {number=} opt_index
75277
+ * @return {!proto.user.UserVerificationFlowOption}
74956
75278
  */
74957
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.serializeBinary = function() {
74958
- var writer = new jspb.BinaryWriter();
74959
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.serializeBinaryToWriter(this, writer);
74960
- return writer.getResultBuffer();
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);
74961
75281
  };
74962
75282
 
74963
75283
 
74964
75284
  /**
74965
- * Serializes the given message to binary data (in protobuf wire
74966
- * format), writing to the given BinaryWriter.
74967
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} message
74968
- * @param {!jspb.BinaryWriter} writer
74969
- * @suppress {unusedLocalVariables} f is only used for nested messages
75285
+ * Clears the list making it empty but non-null.
75286
+ * @return {!proto.user.UserVerificationFlowStep} returns this
74970
75287
  */
74971
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.serializeBinaryToWriter = function(message, writer) {
74972
- var f = undefined;
75288
+ proto.user.UserVerificationFlowStep.prototype.clearOptionsList = function() {
75289
+ return this.setOptionsList([]);
74973
75290
  };
74974
75291
 
74975
75292
 
@@ -74989,8 +75306,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74989
75306
  * http://goto/soy-param-migration
74990
75307
  * @return {!Object}
74991
75308
  */
74992
- proto.user.DashboardRequest.prototype.toObject = function(opt_includeInstance) {
74993
- return proto.user.DashboardRequest.toObject(opt_includeInstance, this);
75309
+ proto.user.GetUserVerificationFlowRequest.prototype.toObject = function(opt_includeInstance) {
75310
+ return proto.user.GetUserVerificationFlowRequest.toObject(opt_includeInstance, this);
74994
75311
  };
74995
75312
 
74996
75313
 
@@ -74999,14 +75316,14 @@ proto.user.DashboardRequest.prototype.toObject = function(opt_includeInstance) {
74999
75316
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75000
75317
  * the JSPB instance for transitional soy proto support:
75001
75318
  * http://goto/soy-param-migration
75002
- * @param {!proto.user.DashboardRequest} msg The msg instance to transform.
75319
+ * @param {!proto.user.GetUserVerificationFlowRequest} msg The msg instance to transform.
75003
75320
  * @return {!Object}
75004
75321
  * @suppress {unusedLocalVariables} f is only used for nested messages
75005
75322
  */
75006
- proto.user.DashboardRequest.toObject = function(includeInstance, msg) {
75323
+ proto.user.GetUserVerificationFlowRequest.toObject = function(includeInstance, msg) {
75007
75324
  var f, obj = {
75008
- startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
75009
- endDate: jspb.Message.getFieldWithDefault(msg, 2, "")
75325
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
75326
+ purpose: jspb.Message.getFieldWithDefault(msg, 2, "")
75010
75327
  };
75011
75328
 
75012
75329
  if (includeInstance) {
@@ -75020,23 +75337,23 @@ proto.user.DashboardRequest.toObject = function(includeInstance, msg) {
75020
75337
  /**
75021
75338
  * Deserializes binary data (in protobuf wire format).
75022
75339
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
75023
- * @return {!proto.user.DashboardRequest}
75340
+ * @return {!proto.user.GetUserVerificationFlowRequest}
75024
75341
  */
75025
- proto.user.DashboardRequest.deserializeBinary = function(bytes) {
75342
+ proto.user.GetUserVerificationFlowRequest.deserializeBinary = function(bytes) {
75026
75343
  var reader = new jspb.BinaryReader(bytes);
75027
- var msg = new proto.user.DashboardRequest;
75028
- return proto.user.DashboardRequest.deserializeBinaryFromReader(msg, reader);
75344
+ var msg = new proto.user.GetUserVerificationFlowRequest;
75345
+ return proto.user.GetUserVerificationFlowRequest.deserializeBinaryFromReader(msg, reader);
75029
75346
  };
75030
75347
 
75031
75348
 
75032
75349
  /**
75033
75350
  * Deserializes binary data (in protobuf wire format) from the
75034
75351
  * given reader into the given message object.
75035
- * @param {!proto.user.DashboardRequest} msg The message object to deserialize into.
75352
+ * @param {!proto.user.GetUserVerificationFlowRequest} msg The message object to deserialize into.
75036
75353
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75037
- * @return {!proto.user.DashboardRequest}
75354
+ * @return {!proto.user.GetUserVerificationFlowRequest}
75038
75355
  */
75039
- proto.user.DashboardRequest.deserializeBinaryFromReader = function(msg, reader) {
75356
+ proto.user.GetUserVerificationFlowRequest.deserializeBinaryFromReader = function(msg, reader) {
75040
75357
  while (reader.nextField()) {
75041
75358
  if (reader.isEndGroup()) {
75042
75359
  break;
@@ -75044,12 +75361,12 @@ proto.user.DashboardRequest.deserializeBinaryFromReader = function(msg, reader)
75044
75361
  var field = reader.getFieldNumber();
75045
75362
  switch (field) {
75046
75363
  case 1:
75047
- var value = /** @type {string} */ (reader.readString());
75048
- msg.setStartDate(value);
75364
+ var value = /** @type {number} */ (reader.readInt32());
75365
+ msg.setUserId(value);
75049
75366
  break;
75050
75367
  case 2:
75051
75368
  var value = /** @type {string} */ (reader.readString());
75052
- msg.setEndDate(value);
75369
+ msg.setPurpose(value);
75053
75370
  break;
75054
75371
  default:
75055
75372
  reader.skipField();
@@ -75064,9 +75381,9 @@ proto.user.DashboardRequest.deserializeBinaryFromReader = function(msg, reader)
75064
75381
  * Serializes the message to binary data (in protobuf wire format).
75065
75382
  * @return {!Uint8Array}
75066
75383
  */
75067
- proto.user.DashboardRequest.prototype.serializeBinary = function() {
75384
+ proto.user.GetUserVerificationFlowRequest.prototype.serializeBinary = function() {
75068
75385
  var writer = new jspb.BinaryWriter();
75069
- proto.user.DashboardRequest.serializeBinaryToWriter(this, writer);
75386
+ proto.user.GetUserVerificationFlowRequest.serializeBinaryToWriter(this, writer);
75070
75387
  return writer.getResultBuffer();
75071
75388
  };
75072
75389
 
@@ -75074,11 +75391,935 @@ proto.user.DashboardRequest.prototype.serializeBinary = function() {
75074
75391
  /**
75075
75392
  * Serializes the given message to binary data (in protobuf wire
75076
75393
  * format), writing to the given BinaryWriter.
75077
- * @param {!proto.user.DashboardRequest} message
75394
+ * @param {!proto.user.GetUserVerificationFlowRequest} message
75078
75395
  * @param {!jspb.BinaryWriter} writer
75079
75396
  * @suppress {unusedLocalVariables} f is only used for nested messages
75080
75397
  */
75081
- proto.user.DashboardRequest.serializeBinaryToWriter = function(message, writer) {
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) {
75082
76323
  var f = undefined;
75083
76324
  f = message.getStartDate();
75084
76325
  if (f.length > 0) {
@@ -95526,6 +96767,14 @@ proto.user.UserVerificationOverallStatus = {
95526
96767
  USER_VERIFICATION_OVERALL_STATUS_REQUIRES_REVIEW: 6
95527
96768
  };
95528
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
+
95529
96778
  /**
95530
96779
  * @enum {number}
95531
96780
  */