@aldiokta/protocgen 1.1.64 → 1.1.65

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.
@@ -30,6 +30,8 @@ goog.exportSymbol('proto.AccessApiManagersResponse', null, global);
30
30
  goog.exportSymbol('proto.AccessCreateRequest', null, global);
31
31
  goog.exportSymbol('proto.AccessResponse', null, global);
32
32
  goog.exportSymbol('proto.AuthVerifyToken', null, global);
33
+ goog.exportSymbol('proto.BlastSetPasswordEmailRequest', null, global);
34
+ goog.exportSymbol('proto.BlastSetPasswordEmailResponse', null, global);
33
35
  goog.exportSymbol('proto.ChangePasswordRequest', null, global);
34
36
  goog.exportSymbol('proto.ChangePasswordResponse', null, global);
35
37
  goog.exportSymbol('proto.CheckCompaniesRequest', null, global);
@@ -45,15 +47,61 @@ goog.exportSymbol('proto.ListAccessResponse', null, global);
45
47
  goog.exportSymbol('proto.LoginRequest', null, global);
46
48
  goog.exportSymbol('proto.LoginRequestAccessKey', null, global);
47
49
  goog.exportSymbol('proto.LoginRequestVendor', null, global);
50
+ goog.exportSymbol('proto.RefreshTokenRequest', null, global);
51
+ goog.exportSymbol('proto.RefreshTokenResponse', null, global);
48
52
  goog.exportSymbol('proto.RequestForgotPasswordReq', null, global);
49
53
  goog.exportSymbol('proto.RequestForgotResponse', null, global);
50
54
  goog.exportSymbol('proto.RequestRegisterVendorReq', null, global);
51
55
  goog.exportSymbol('proto.RequestRegisterVendorResponse', null, global);
56
+ goog.exportSymbol('proto.RevokeRefreshTokenRequest', null, global);
57
+ goog.exportSymbol('proto.RevokeRefreshTokenResponse', null, global);
52
58
  goog.exportSymbol('proto.UpdateAccessPayload', null, global);
53
59
  goog.exportSymbol('proto.UpdateUserPayload', null, global);
54
60
  goog.exportSymbol('proto.UserResponse', null, global);
55
61
  goog.exportSymbol('proto.ValidateTokenReq', null, global);
56
62
  goog.exportSymbol('proto.ValidateTokenRes', null, global);
63
+ /**
64
+ * Generated by JsPbCodeGenerator.
65
+ * @param {Array=} opt_data Optional initial data array, typically from a
66
+ * server response, or constructed directly in Javascript. The array is used
67
+ * in place and becomes part of the constructed object. It is not cloned.
68
+ * If no data is provided, the constructed object will be empty, but still
69
+ * valid.
70
+ * @extends {jspb.Message}
71
+ * @constructor
72
+ */
73
+ proto.BlastSetPasswordEmailRequest = function(opt_data) {
74
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.BlastSetPasswordEmailRequest.repeatedFields_, null);
75
+ };
76
+ goog.inherits(proto.BlastSetPasswordEmailRequest, jspb.Message);
77
+ if (goog.DEBUG && !COMPILED) {
78
+ /**
79
+ * @public
80
+ * @override
81
+ */
82
+ proto.BlastSetPasswordEmailRequest.displayName = 'proto.BlastSetPasswordEmailRequest';
83
+ }
84
+ /**
85
+ * Generated by JsPbCodeGenerator.
86
+ * @param {Array=} opt_data Optional initial data array, typically from a
87
+ * server response, or constructed directly in Javascript. The array is used
88
+ * in place and becomes part of the constructed object. It is not cloned.
89
+ * If no data is provided, the constructed object will be empty, but still
90
+ * valid.
91
+ * @extends {jspb.Message}
92
+ * @constructor
93
+ */
94
+ proto.BlastSetPasswordEmailResponse = function(opt_data) {
95
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.BlastSetPasswordEmailResponse.repeatedFields_, null);
96
+ };
97
+ goog.inherits(proto.BlastSetPasswordEmailResponse, jspb.Message);
98
+ if (goog.DEBUG && !COMPILED) {
99
+ /**
100
+ * @public
101
+ * @override
102
+ */
103
+ proto.BlastSetPasswordEmailResponse.displayName = 'proto.BlastSetPasswordEmailResponse';
104
+ }
57
105
  /**
58
106
  * Generated by JsPbCodeGenerator.
59
107
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -453,6 +501,90 @@ if (goog.DEBUG && !COMPILED) {
453
501
  */
454
502
  proto.ChangePasswordRequest.displayName = 'proto.ChangePasswordRequest';
455
503
  }
504
+ /**
505
+ * Generated by JsPbCodeGenerator.
506
+ * @param {Array=} opt_data Optional initial data array, typically from a
507
+ * server response, or constructed directly in Javascript. The array is used
508
+ * in place and becomes part of the constructed object. It is not cloned.
509
+ * If no data is provided, the constructed object will be empty, but still
510
+ * valid.
511
+ * @extends {jspb.Message}
512
+ * @constructor
513
+ */
514
+ proto.RefreshTokenRequest = function(opt_data) {
515
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
516
+ };
517
+ goog.inherits(proto.RefreshTokenRequest, jspb.Message);
518
+ if (goog.DEBUG && !COMPILED) {
519
+ /**
520
+ * @public
521
+ * @override
522
+ */
523
+ proto.RefreshTokenRequest.displayName = 'proto.RefreshTokenRequest';
524
+ }
525
+ /**
526
+ * Generated by JsPbCodeGenerator.
527
+ * @param {Array=} opt_data Optional initial data array, typically from a
528
+ * server response, or constructed directly in Javascript. The array is used
529
+ * in place and becomes part of the constructed object. It is not cloned.
530
+ * If no data is provided, the constructed object will be empty, but still
531
+ * valid.
532
+ * @extends {jspb.Message}
533
+ * @constructor
534
+ */
535
+ proto.RefreshTokenResponse = function(opt_data) {
536
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
537
+ };
538
+ goog.inherits(proto.RefreshTokenResponse, jspb.Message);
539
+ if (goog.DEBUG && !COMPILED) {
540
+ /**
541
+ * @public
542
+ * @override
543
+ */
544
+ proto.RefreshTokenResponse.displayName = 'proto.RefreshTokenResponse';
545
+ }
546
+ /**
547
+ * Generated by JsPbCodeGenerator.
548
+ * @param {Array=} opt_data Optional initial data array, typically from a
549
+ * server response, or constructed directly in Javascript. The array is used
550
+ * in place and becomes part of the constructed object. It is not cloned.
551
+ * If no data is provided, the constructed object will be empty, but still
552
+ * valid.
553
+ * @extends {jspb.Message}
554
+ * @constructor
555
+ */
556
+ proto.RevokeRefreshTokenRequest = function(opt_data) {
557
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
558
+ };
559
+ goog.inherits(proto.RevokeRefreshTokenRequest, jspb.Message);
560
+ if (goog.DEBUG && !COMPILED) {
561
+ /**
562
+ * @public
563
+ * @override
564
+ */
565
+ proto.RevokeRefreshTokenRequest.displayName = 'proto.RevokeRefreshTokenRequest';
566
+ }
567
+ /**
568
+ * Generated by JsPbCodeGenerator.
569
+ * @param {Array=} opt_data Optional initial data array, typically from a
570
+ * server response, or constructed directly in Javascript. The array is used
571
+ * in place and becomes part of the constructed object. It is not cloned.
572
+ * If no data is provided, the constructed object will be empty, but still
573
+ * valid.
574
+ * @extends {jspb.Message}
575
+ * @constructor
576
+ */
577
+ proto.RevokeRefreshTokenResponse = function(opt_data) {
578
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
579
+ };
580
+ goog.inherits(proto.RevokeRefreshTokenResponse, jspb.Message);
581
+ if (goog.DEBUG && !COMPILED) {
582
+ /**
583
+ * @public
584
+ * @override
585
+ */
586
+ proto.RevokeRefreshTokenResponse.displayName = 'proto.RevokeRefreshTokenResponse';
587
+ }
456
588
  /**
457
589
  * Generated by JsPbCodeGenerator.
458
590
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -664,6 +796,13 @@ if (goog.DEBUG && !COMPILED) {
664
796
  proto.ValidateTokenRes.displayName = 'proto.ValidateTokenRes';
665
797
  }
666
798
 
799
+ /**
800
+ * List of repeated fields within this message type.
801
+ * @private {!Array<number>}
802
+ * @const
803
+ */
804
+ proto.BlastSetPasswordEmailRequest.repeatedFields_ = [1];
805
+
667
806
 
668
807
 
669
808
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -679,8 +818,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
679
818
  * http://goto/soy-param-migration
680
819
  * @return {!Object}
681
820
  */
682
- proto.ForgotPassworReq.prototype.toObject = function(opt_includeInstance) {
683
- return proto.ForgotPassworReq.toObject(opt_includeInstance, this);
821
+ proto.BlastSetPasswordEmailRequest.prototype.toObject = function(opt_includeInstance) {
822
+ return proto.BlastSetPasswordEmailRequest.toObject(opt_includeInstance, this);
684
823
  };
685
824
 
686
825
 
@@ -689,13 +828,14 @@ proto.ForgotPassworReq.prototype.toObject = function(opt_includeInstance) {
689
828
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
690
829
  * the JSPB instance for transitional soy proto support:
691
830
  * http://goto/soy-param-migration
692
- * @param {!proto.ForgotPassworReq} msg The msg instance to transform.
831
+ * @param {!proto.BlastSetPasswordEmailRequest} msg The msg instance to transform.
693
832
  * @return {!Object}
694
833
  * @suppress {unusedLocalVariables} f is only used for nested messages
695
834
  */
696
- proto.ForgotPassworReq.toObject = function(includeInstance, msg) {
835
+ proto.BlastSetPasswordEmailRequest.toObject = function(includeInstance, msg) {
697
836
  var f, obj = {
698
- password: jspb.Message.getFieldWithDefault(msg, 1, "")
837
+ userReferencesIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
838
+ allUnset: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
699
839
  };
700
840
 
701
841
  if (includeInstance) {
@@ -709,23 +849,23 @@ password: jspb.Message.getFieldWithDefault(msg, 1, "")
709
849
  /**
710
850
  * Deserializes binary data (in protobuf wire format).
711
851
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
712
- * @return {!proto.ForgotPassworReq}
852
+ * @return {!proto.BlastSetPasswordEmailRequest}
713
853
  */
714
- proto.ForgotPassworReq.deserializeBinary = function(bytes) {
854
+ proto.BlastSetPasswordEmailRequest.deserializeBinary = function(bytes) {
715
855
  var reader = new jspb.BinaryReader(bytes);
716
- var msg = new proto.ForgotPassworReq;
717
- return proto.ForgotPassworReq.deserializeBinaryFromReader(msg, reader);
856
+ var msg = new proto.BlastSetPasswordEmailRequest;
857
+ return proto.BlastSetPasswordEmailRequest.deserializeBinaryFromReader(msg, reader);
718
858
  };
719
859
 
720
860
 
721
861
  /**
722
862
  * Deserializes binary data (in protobuf wire format) from the
723
863
  * given reader into the given message object.
724
- * @param {!proto.ForgotPassworReq} msg The message object to deserialize into.
864
+ * @param {!proto.BlastSetPasswordEmailRequest} msg The message object to deserialize into.
725
865
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
726
- * @return {!proto.ForgotPassworReq}
866
+ * @return {!proto.BlastSetPasswordEmailRequest}
727
867
  */
728
- proto.ForgotPassworReq.deserializeBinaryFromReader = function(msg, reader) {
868
+ proto.BlastSetPasswordEmailRequest.deserializeBinaryFromReader = function(msg, reader) {
729
869
  while (reader.nextField()) {
730
870
  if (reader.isEndGroup()) {
731
871
  break;
@@ -734,7 +874,11 @@ proto.ForgotPassworReq.deserializeBinaryFromReader = function(msg, reader) {
734
874
  switch (field) {
735
875
  case 1:
736
876
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
737
- msg.setPassword(value);
877
+ msg.addUserReferencesIds(value);
878
+ break;
879
+ case 2:
880
+ var value = /** @type {boolean} */ (reader.readBool());
881
+ msg.setAllUnset(value);
738
882
  break;
739
883
  default:
740
884
  reader.skipField();
@@ -749,9 +893,9 @@ proto.ForgotPassworReq.deserializeBinaryFromReader = function(msg, reader) {
749
893
  * Serializes the message to binary data (in protobuf wire format).
750
894
  * @return {!Uint8Array}
751
895
  */
752
- proto.ForgotPassworReq.prototype.serializeBinary = function() {
896
+ proto.BlastSetPasswordEmailRequest.prototype.serializeBinary = function() {
753
897
  var writer = new jspb.BinaryWriter();
754
- proto.ForgotPassworReq.serializeBinaryToWriter(this, writer);
898
+ proto.BlastSetPasswordEmailRequest.serializeBinaryToWriter(this, writer);
755
899
  return writer.getResultBuffer();
756
900
  };
757
901
 
@@ -759,40 +903,91 @@ proto.ForgotPassworReq.prototype.serializeBinary = function() {
759
903
  /**
760
904
  * Serializes the given message to binary data (in protobuf wire
761
905
  * format), writing to the given BinaryWriter.
762
- * @param {!proto.ForgotPassworReq} message
906
+ * @param {!proto.BlastSetPasswordEmailRequest} message
763
907
  * @param {!jspb.BinaryWriter} writer
764
908
  * @suppress {unusedLocalVariables} f is only used for nested messages
765
909
  */
766
- proto.ForgotPassworReq.serializeBinaryToWriter = function(message, writer) {
910
+ proto.BlastSetPasswordEmailRequest.serializeBinaryToWriter = function(message, writer) {
767
911
  var f = undefined;
768
- f = message.getPassword();
912
+ f = message.getUserReferencesIdsList();
769
913
  if (f.length > 0) {
770
- writer.writeString(
914
+ writer.writeRepeatedString(
771
915
  1,
772
916
  f
773
917
  );
774
918
  }
919
+ f = message.getAllUnset();
920
+ if (f) {
921
+ writer.writeBool(
922
+ 2,
923
+ f
924
+ );
925
+ }
775
926
  };
776
927
 
777
928
 
778
929
  /**
779
- * optional string password = 1;
780
- * @return {string}
930
+ * repeated string user_references_ids = 1;
931
+ * @return {!Array<string>}
781
932
  */
782
- proto.ForgotPassworReq.prototype.getPassword = function() {
783
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
933
+ proto.BlastSetPasswordEmailRequest.prototype.getUserReferencesIdsList = function() {
934
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
935
+ };
936
+
937
+
938
+ /**
939
+ * @param {!Array<string>} value
940
+ * @return {!proto.BlastSetPasswordEmailRequest} returns this
941
+ */
942
+ proto.BlastSetPasswordEmailRequest.prototype.setUserReferencesIdsList = function(value) {
943
+ return jspb.Message.setField(this, 1, value || []);
784
944
  };
785
945
 
786
946
 
787
947
  /**
788
948
  * @param {string} value
789
- * @return {!proto.ForgotPassworReq} returns this
949
+ * @param {number=} opt_index
950
+ * @return {!proto.BlastSetPasswordEmailRequest} returns this
790
951
  */
791
- proto.ForgotPassworReq.prototype.setPassword = function(value) {
792
- return jspb.Message.setProto3StringField(this, 1, value);
952
+ proto.BlastSetPasswordEmailRequest.prototype.addUserReferencesIds = function(value, opt_index) {
953
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
954
+ };
955
+
956
+
957
+ /**
958
+ * Clears the list making it empty but non-null.
959
+ * @return {!proto.BlastSetPasswordEmailRequest} returns this
960
+ */
961
+ proto.BlastSetPasswordEmailRequest.prototype.clearUserReferencesIdsList = function() {
962
+ return this.setUserReferencesIdsList([]);
963
+ };
964
+
965
+
966
+ /**
967
+ * optional bool all_unset = 2;
968
+ * @return {boolean}
969
+ */
970
+ proto.BlastSetPasswordEmailRequest.prototype.getAllUnset = function() {
971
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
793
972
  };
794
973
 
795
974
 
975
+ /**
976
+ * @param {boolean} value
977
+ * @return {!proto.BlastSetPasswordEmailRequest} returns this
978
+ */
979
+ proto.BlastSetPasswordEmailRequest.prototype.setAllUnset = function(value) {
980
+ return jspb.Message.setProto3BooleanField(this, 2, value);
981
+ };
982
+
983
+
984
+
985
+ /**
986
+ * List of repeated fields within this message type.
987
+ * @private {!Array<number>}
988
+ * @const
989
+ */
990
+ proto.BlastSetPasswordEmailResponse.repeatedFields_ = [3,4];
796
991
 
797
992
 
798
993
 
@@ -809,8 +1004,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
809
1004
  * http://goto/soy-param-migration
810
1005
  * @return {!Object}
811
1006
  */
812
- proto.RequestForgotPasswordReq.prototype.toObject = function(opt_includeInstance) {
813
- return proto.RequestForgotPasswordReq.toObject(opt_includeInstance, this);
1007
+ proto.BlastSetPasswordEmailResponse.prototype.toObject = function(opt_includeInstance) {
1008
+ return proto.BlastSetPasswordEmailResponse.toObject(opt_includeInstance, this);
814
1009
  };
815
1010
 
816
1011
 
@@ -819,13 +1014,17 @@ proto.RequestForgotPasswordReq.prototype.toObject = function(opt_includeInstance
819
1014
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
820
1015
  * the JSPB instance for transitional soy proto support:
821
1016
  * http://goto/soy-param-migration
822
- * @param {!proto.RequestForgotPasswordReq} msg The msg instance to transform.
1017
+ * @param {!proto.BlastSetPasswordEmailResponse} msg The msg instance to transform.
823
1018
  * @return {!Object}
824
1019
  * @suppress {unusedLocalVariables} f is only used for nested messages
825
1020
  */
826
- proto.RequestForgotPasswordReq.toObject = function(includeInstance, msg) {
1021
+ proto.BlastSetPasswordEmailResponse.toObject = function(includeInstance, msg) {
827
1022
  var f, obj = {
828
- email: jspb.Message.getFieldWithDefault(msg, 1, "")
1023
+ sentCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
1024
+ failedCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
1025
+ sentEmailsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
1026
+ failedEmailsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
1027
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
829
1028
  };
830
1029
 
831
1030
  if (includeInstance) {
@@ -839,23 +1038,23 @@ email: jspb.Message.getFieldWithDefault(msg, 1, "")
839
1038
  /**
840
1039
  * Deserializes binary data (in protobuf wire format).
841
1040
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
842
- * @return {!proto.RequestForgotPasswordReq}
1041
+ * @return {!proto.BlastSetPasswordEmailResponse}
843
1042
  */
844
- proto.RequestForgotPasswordReq.deserializeBinary = function(bytes) {
1043
+ proto.BlastSetPasswordEmailResponse.deserializeBinary = function(bytes) {
845
1044
  var reader = new jspb.BinaryReader(bytes);
846
- var msg = new proto.RequestForgotPasswordReq;
847
- return proto.RequestForgotPasswordReq.deserializeBinaryFromReader(msg, reader);
1045
+ var msg = new proto.BlastSetPasswordEmailResponse;
1046
+ return proto.BlastSetPasswordEmailResponse.deserializeBinaryFromReader(msg, reader);
848
1047
  };
849
1048
 
850
1049
 
851
1050
  /**
852
1051
  * Deserializes binary data (in protobuf wire format) from the
853
1052
  * given reader into the given message object.
854
- * @param {!proto.RequestForgotPasswordReq} msg The message object to deserialize into.
1053
+ * @param {!proto.BlastSetPasswordEmailResponse} msg The message object to deserialize into.
855
1054
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
856
- * @return {!proto.RequestForgotPasswordReq}
1055
+ * @return {!proto.BlastSetPasswordEmailResponse}
857
1056
  */
858
- proto.RequestForgotPasswordReq.deserializeBinaryFromReader = function(msg, reader) {
1057
+ proto.BlastSetPasswordEmailResponse.deserializeBinaryFromReader = function(msg, reader) {
859
1058
  while (reader.nextField()) {
860
1059
  if (reader.isEndGroup()) {
861
1060
  break;
@@ -863,8 +1062,25 @@ proto.RequestForgotPasswordReq.deserializeBinaryFromReader = function(msg, reade
863
1062
  var field = reader.getFieldNumber();
864
1063
  switch (field) {
865
1064
  case 1:
1065
+ var value = /** @type {number} */ (reader.readInt32());
1066
+ msg.setSentCount(value);
1067
+ break;
1068
+ case 2:
1069
+ var value = /** @type {number} */ (reader.readInt32());
1070
+ msg.setFailedCount(value);
1071
+ break;
1072
+ case 3:
866
1073
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
867
- msg.setEmail(value);
1074
+ msg.addSentEmails(value);
1075
+ break;
1076
+ case 4:
1077
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1078
+ msg.addFailedEmails(value);
1079
+ break;
1080
+ case 99:
1081
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1082
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1083
+ msg.setMeta(value);
868
1084
  break;
869
1085
  default:
870
1086
  reader.skipField();
@@ -879,9 +1095,9 @@ proto.RequestForgotPasswordReq.deserializeBinaryFromReader = function(msg, reade
879
1095
  * Serializes the message to binary data (in protobuf wire format).
880
1096
  * @return {!Uint8Array}
881
1097
  */
882
- proto.RequestForgotPasswordReq.prototype.serializeBinary = function() {
1098
+ proto.BlastSetPasswordEmailResponse.prototype.serializeBinary = function() {
883
1099
  var writer = new jspb.BinaryWriter();
884
- proto.RequestForgotPasswordReq.serializeBinaryToWriter(this, writer);
1100
+ proto.BlastSetPasswordEmailResponse.serializeBinaryToWriter(this, writer);
885
1101
  return writer.getResultBuffer();
886
1102
  };
887
1103
 
@@ -889,178 +1105,185 @@ proto.RequestForgotPasswordReq.prototype.serializeBinary = function() {
889
1105
  /**
890
1106
  * Serializes the given message to binary data (in protobuf wire
891
1107
  * format), writing to the given BinaryWriter.
892
- * @param {!proto.RequestForgotPasswordReq} message
1108
+ * @param {!proto.BlastSetPasswordEmailResponse} message
893
1109
  * @param {!jspb.BinaryWriter} writer
894
1110
  * @suppress {unusedLocalVariables} f is only used for nested messages
895
1111
  */
896
- proto.RequestForgotPasswordReq.serializeBinaryToWriter = function(message, writer) {
1112
+ proto.BlastSetPasswordEmailResponse.serializeBinaryToWriter = function(message, writer) {
897
1113
  var f = undefined;
898
- f = message.getEmail();
899
- if (f.length > 0) {
900
- writer.writeString(
1114
+ f = message.getSentCount();
1115
+ if (f !== 0) {
1116
+ writer.writeInt32(
901
1117
  1,
902
1118
  f
903
1119
  );
904
1120
  }
1121
+ f = message.getFailedCount();
1122
+ if (f !== 0) {
1123
+ writer.writeInt32(
1124
+ 2,
1125
+ f
1126
+ );
1127
+ }
1128
+ f = message.getSentEmailsList();
1129
+ if (f.length > 0) {
1130
+ writer.writeRepeatedString(
1131
+ 3,
1132
+ f
1133
+ );
1134
+ }
1135
+ f = message.getFailedEmailsList();
1136
+ if (f.length > 0) {
1137
+ writer.writeRepeatedString(
1138
+ 4,
1139
+ f
1140
+ );
1141
+ }
1142
+ f = message.getMeta();
1143
+ if (f != null) {
1144
+ writer.writeMessage(
1145
+ 99,
1146
+ f,
1147
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1148
+ );
1149
+ }
905
1150
  };
906
1151
 
907
1152
 
908
1153
  /**
909
- * optional string email = 1;
910
- * @return {string}
1154
+ * optional int32 sent_count = 1;
1155
+ * @return {number}
911
1156
  */
912
- proto.RequestForgotPasswordReq.prototype.getEmail = function() {
913
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1157
+ proto.BlastSetPasswordEmailResponse.prototype.getSentCount = function() {
1158
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
914
1159
  };
915
1160
 
916
1161
 
917
1162
  /**
918
- * @param {string} value
919
- * @return {!proto.RequestForgotPasswordReq} returns this
1163
+ * @param {number} value
1164
+ * @return {!proto.BlastSetPasswordEmailResponse} returns this
920
1165
  */
921
- proto.RequestForgotPasswordReq.prototype.setEmail = function(value) {
922
- return jspb.Message.setProto3StringField(this, 1, value);
1166
+ proto.BlastSetPasswordEmailResponse.prototype.setSentCount = function(value) {
1167
+ return jspb.Message.setProto3IntField(this, 1, value);
923
1168
  };
924
1169
 
925
1170
 
1171
+ /**
1172
+ * optional int32 failed_count = 2;
1173
+ * @return {number}
1174
+ */
1175
+ proto.BlastSetPasswordEmailResponse.prototype.getFailedCount = function() {
1176
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1177
+ };
926
1178
 
927
1179
 
928
-
929
- if (jspb.Message.GENERATE_TO_OBJECT) {
930
1180
  /**
931
- * Creates an object representation of this proto.
932
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
933
- * Optional fields that are not set will be set to undefined.
934
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
935
- * For the list of reserved names please see:
936
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
937
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
938
- * JSPB instance for transitional soy proto support:
939
- * http://goto/soy-param-migration
940
- * @return {!Object}
1181
+ * @param {number} value
1182
+ * @return {!proto.BlastSetPasswordEmailResponse} returns this
941
1183
  */
942
- proto.RequestForgotResponse.prototype.toObject = function(opt_includeInstance) {
943
- return proto.RequestForgotResponse.toObject(opt_includeInstance, this);
1184
+ proto.BlastSetPasswordEmailResponse.prototype.setFailedCount = function(value) {
1185
+ return jspb.Message.setProto3IntField(this, 2, value);
944
1186
  };
945
1187
 
946
1188
 
947
1189
  /**
948
- * Static version of the {@see toObject} method.
949
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
950
- * the JSPB instance for transitional soy proto support:
951
- * http://goto/soy-param-migration
952
- * @param {!proto.RequestForgotResponse} msg The msg instance to transform.
953
- * @return {!Object}
954
- * @suppress {unusedLocalVariables} f is only used for nested messages
1190
+ * repeated string sent_emails = 3;
1191
+ * @return {!Array<string>}
955
1192
  */
956
- proto.RequestForgotResponse.toObject = function(includeInstance, msg) {
957
- var f, obj = {
958
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
959
- };
1193
+ proto.BlastSetPasswordEmailResponse.prototype.getSentEmailsList = function() {
1194
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
1195
+ };
960
1196
 
961
- if (includeInstance) {
962
- obj.$jspbMessageInstance = msg;
963
- }
964
- return obj;
1197
+
1198
+ /**
1199
+ * @param {!Array<string>} value
1200
+ * @return {!proto.BlastSetPasswordEmailResponse} returns this
1201
+ */
1202
+ proto.BlastSetPasswordEmailResponse.prototype.setSentEmailsList = function(value) {
1203
+ return jspb.Message.setField(this, 3, value || []);
965
1204
  };
966
- }
967
1205
 
968
1206
 
969
1207
  /**
970
- * Deserializes binary data (in protobuf wire format).
971
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
972
- * @return {!proto.RequestForgotResponse}
1208
+ * @param {string} value
1209
+ * @param {number=} opt_index
1210
+ * @return {!proto.BlastSetPasswordEmailResponse} returns this
973
1211
  */
974
- proto.RequestForgotResponse.deserializeBinary = function(bytes) {
975
- var reader = new jspb.BinaryReader(bytes);
976
- var msg = new proto.RequestForgotResponse;
977
- return proto.RequestForgotResponse.deserializeBinaryFromReader(msg, reader);
1212
+ proto.BlastSetPasswordEmailResponse.prototype.addSentEmails = function(value, opt_index) {
1213
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
978
1214
  };
979
1215
 
980
1216
 
981
1217
  /**
982
- * Deserializes binary data (in protobuf wire format) from the
983
- * given reader into the given message object.
984
- * @param {!proto.RequestForgotResponse} msg The message object to deserialize into.
985
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
986
- * @return {!proto.RequestForgotResponse}
1218
+ * Clears the list making it empty but non-null.
1219
+ * @return {!proto.BlastSetPasswordEmailResponse} returns this
987
1220
  */
988
- proto.RequestForgotResponse.deserializeBinaryFromReader = function(msg, reader) {
989
- while (reader.nextField()) {
990
- if (reader.isEndGroup()) {
991
- break;
992
- }
993
- var field = reader.getFieldNumber();
994
- switch (field) {
995
- case 1:
996
- var value = new prisca_v1_global_meta_meta_pb.Meta;
997
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
998
- msg.setMeta(value);
999
- break;
1000
- default:
1001
- reader.skipField();
1002
- break;
1003
- }
1004
- }
1005
- return msg;
1221
+ proto.BlastSetPasswordEmailResponse.prototype.clearSentEmailsList = function() {
1222
+ return this.setSentEmailsList([]);
1006
1223
  };
1007
1224
 
1008
1225
 
1009
1226
  /**
1010
- * Serializes the message to binary data (in protobuf wire format).
1011
- * @return {!Uint8Array}
1227
+ * repeated string failed_emails = 4;
1228
+ * @return {!Array<string>}
1012
1229
  */
1013
- proto.RequestForgotResponse.prototype.serializeBinary = function() {
1014
- var writer = new jspb.BinaryWriter();
1015
- proto.RequestForgotResponse.serializeBinaryToWriter(this, writer);
1016
- return writer.getResultBuffer();
1230
+ proto.BlastSetPasswordEmailResponse.prototype.getFailedEmailsList = function() {
1231
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
1017
1232
  };
1018
1233
 
1019
1234
 
1020
1235
  /**
1021
- * Serializes the given message to binary data (in protobuf wire
1022
- * format), writing to the given BinaryWriter.
1023
- * @param {!proto.RequestForgotResponse} message
1024
- * @param {!jspb.BinaryWriter} writer
1025
- * @suppress {unusedLocalVariables} f is only used for nested messages
1236
+ * @param {!Array<string>} value
1237
+ * @return {!proto.BlastSetPasswordEmailResponse} returns this
1026
1238
  */
1027
- proto.RequestForgotResponse.serializeBinaryToWriter = function(message, writer) {
1028
- var f = undefined;
1029
- f = message.getMeta();
1030
- if (f != null) {
1031
- writer.writeMessage(
1032
- 1,
1033
- f,
1034
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1035
- );
1036
- }
1239
+ proto.BlastSetPasswordEmailResponse.prototype.setFailedEmailsList = function(value) {
1240
+ return jspb.Message.setField(this, 4, value || []);
1037
1241
  };
1038
1242
 
1039
1243
 
1040
1244
  /**
1041
- * optional prisca.v1.global.meta.Meta meta = 1;
1245
+ * @param {string} value
1246
+ * @param {number=} opt_index
1247
+ * @return {!proto.BlastSetPasswordEmailResponse} returns this
1248
+ */
1249
+ proto.BlastSetPasswordEmailResponse.prototype.addFailedEmails = function(value, opt_index) {
1250
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
1251
+ };
1252
+
1253
+
1254
+ /**
1255
+ * Clears the list making it empty but non-null.
1256
+ * @return {!proto.BlastSetPasswordEmailResponse} returns this
1257
+ */
1258
+ proto.BlastSetPasswordEmailResponse.prototype.clearFailedEmailsList = function() {
1259
+ return this.setFailedEmailsList([]);
1260
+ };
1261
+
1262
+
1263
+ /**
1264
+ * optional prisca.v1.global.meta.Meta meta = 99;
1042
1265
  * @return {?proto.prisca.v1.global.meta.Meta}
1043
1266
  */
1044
- proto.RequestForgotResponse.prototype.getMeta = function() {
1267
+ proto.BlastSetPasswordEmailResponse.prototype.getMeta = function() {
1045
1268
  return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1046
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
1269
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 99));
1047
1270
  };
1048
1271
 
1049
1272
 
1050
1273
  /**
1051
1274
  * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1052
- * @return {!proto.RequestForgotResponse} returns this
1275
+ * @return {!proto.BlastSetPasswordEmailResponse} returns this
1053
1276
  */
1054
- proto.RequestForgotResponse.prototype.setMeta = function(value) {
1055
- return jspb.Message.setWrapperField(this, 1, value);
1277
+ proto.BlastSetPasswordEmailResponse.prototype.setMeta = function(value) {
1278
+ return jspb.Message.setWrapperField(this, 99, value);
1056
1279
  };
1057
1280
 
1058
1281
 
1059
1282
  /**
1060
1283
  * Clears the message field making it undefined.
1061
- * @return {!proto.RequestForgotResponse} returns this
1284
+ * @return {!proto.BlastSetPasswordEmailResponse} returns this
1062
1285
  */
1063
- proto.RequestForgotResponse.prototype.clearMeta = function() {
1286
+ proto.BlastSetPasswordEmailResponse.prototype.clearMeta = function() {
1064
1287
  return this.setMeta(undefined);
1065
1288
  };
1066
1289
 
@@ -1069,8 +1292,8 @@ proto.RequestForgotResponse.prototype.clearMeta = function() {
1069
1292
  * Returns whether this field is set.
1070
1293
  * @return {boolean}
1071
1294
  */
1072
- proto.RequestForgotResponse.prototype.hasMeta = function() {
1073
- return jspb.Message.getField(this, 1) != null;
1295
+ proto.BlastSetPasswordEmailResponse.prototype.hasMeta = function() {
1296
+ return jspb.Message.getField(this, 99) != null;
1074
1297
  };
1075
1298
 
1076
1299
 
@@ -1090,8 +1313,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1090
1313
  * http://goto/soy-param-migration
1091
1314
  * @return {!Object}
1092
1315
  */
1093
- proto.LoginRequest.prototype.toObject = function(opt_includeInstance) {
1094
- return proto.LoginRequest.toObject(opt_includeInstance, this);
1316
+ proto.ForgotPassworReq.prototype.toObject = function(opt_includeInstance) {
1317
+ return proto.ForgotPassworReq.toObject(opt_includeInstance, this);
1095
1318
  };
1096
1319
 
1097
1320
 
@@ -1100,14 +1323,13 @@ proto.LoginRequest.prototype.toObject = function(opt_includeInstance) {
1100
1323
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1101
1324
  * the JSPB instance for transitional soy proto support:
1102
1325
  * http://goto/soy-param-migration
1103
- * @param {!proto.LoginRequest} msg The msg instance to transform.
1326
+ * @param {!proto.ForgotPassworReq} msg The msg instance to transform.
1104
1327
  * @return {!Object}
1105
1328
  * @suppress {unusedLocalVariables} f is only used for nested messages
1106
1329
  */
1107
- proto.LoginRequest.toObject = function(includeInstance, msg) {
1330
+ proto.ForgotPassworReq.toObject = function(includeInstance, msg) {
1108
1331
  var f, obj = {
1109
- email: jspb.Message.getFieldWithDefault(msg, 1, ""),
1110
- password: jspb.Message.getFieldWithDefault(msg, 2, "")
1332
+ password: jspb.Message.getFieldWithDefault(msg, 1, "")
1111
1333
  };
1112
1334
 
1113
1335
  if (includeInstance) {
@@ -1121,23 +1343,23 @@ password: jspb.Message.getFieldWithDefault(msg, 2, "")
1121
1343
  /**
1122
1344
  * Deserializes binary data (in protobuf wire format).
1123
1345
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1124
- * @return {!proto.LoginRequest}
1346
+ * @return {!proto.ForgotPassworReq}
1125
1347
  */
1126
- proto.LoginRequest.deserializeBinary = function(bytes) {
1348
+ proto.ForgotPassworReq.deserializeBinary = function(bytes) {
1127
1349
  var reader = new jspb.BinaryReader(bytes);
1128
- var msg = new proto.LoginRequest;
1129
- return proto.LoginRequest.deserializeBinaryFromReader(msg, reader);
1350
+ var msg = new proto.ForgotPassworReq;
1351
+ return proto.ForgotPassworReq.deserializeBinaryFromReader(msg, reader);
1130
1352
  };
1131
1353
 
1132
1354
 
1133
1355
  /**
1134
1356
  * Deserializes binary data (in protobuf wire format) from the
1135
1357
  * given reader into the given message object.
1136
- * @param {!proto.LoginRequest} msg The message object to deserialize into.
1358
+ * @param {!proto.ForgotPassworReq} msg The message object to deserialize into.
1137
1359
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1138
- * @return {!proto.LoginRequest}
1360
+ * @return {!proto.ForgotPassworReq}
1139
1361
  */
1140
- proto.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
1362
+ proto.ForgotPassworReq.deserializeBinaryFromReader = function(msg, reader) {
1141
1363
  while (reader.nextField()) {
1142
1364
  if (reader.isEndGroup()) {
1143
1365
  break;
@@ -1145,10 +1367,6 @@ proto.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
1145
1367
  var field = reader.getFieldNumber();
1146
1368
  switch (field) {
1147
1369
  case 1:
1148
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1149
- msg.setEmail(value);
1150
- break;
1151
- case 2:
1152
1370
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
1153
1371
  msg.setPassword(value);
1154
1372
  break;
@@ -1165,9 +1383,9 @@ proto.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
1165
1383
  * Serializes the message to binary data (in protobuf wire format).
1166
1384
  * @return {!Uint8Array}
1167
1385
  */
1168
- proto.LoginRequest.prototype.serializeBinary = function() {
1386
+ proto.ForgotPassworReq.prototype.serializeBinary = function() {
1169
1387
  var writer = new jspb.BinaryWriter();
1170
- proto.LoginRequest.serializeBinaryToWriter(this, writer);
1388
+ proto.ForgotPassworReq.serializeBinaryToWriter(this, writer);
1171
1389
  return writer.getResultBuffer();
1172
1390
  };
1173
1391
 
@@ -1175,23 +1393,16 @@ proto.LoginRequest.prototype.serializeBinary = function() {
1175
1393
  /**
1176
1394
  * Serializes the given message to binary data (in protobuf wire
1177
1395
  * format), writing to the given BinaryWriter.
1178
- * @param {!proto.LoginRequest} message
1396
+ * @param {!proto.ForgotPassworReq} message
1179
1397
  * @param {!jspb.BinaryWriter} writer
1180
1398
  * @suppress {unusedLocalVariables} f is only used for nested messages
1181
1399
  */
1182
- proto.LoginRequest.serializeBinaryToWriter = function(message, writer) {
1400
+ proto.ForgotPassworReq.serializeBinaryToWriter = function(message, writer) {
1183
1401
  var f = undefined;
1184
- f = message.getEmail();
1185
- if (f.length > 0) {
1186
- writer.writeString(
1187
- 1,
1188
- f
1189
- );
1190
- }
1191
1402
  f = message.getPassword();
1192
1403
  if (f.length > 0) {
1193
1404
  writer.writeString(
1194
- 2,
1405
+ 1,
1195
1406
  f
1196
1407
  );
1197
1408
  }
@@ -1199,41 +1410,23 @@ proto.LoginRequest.serializeBinaryToWriter = function(message, writer) {
1199
1410
 
1200
1411
 
1201
1412
  /**
1202
- * optional string email = 1;
1413
+ * optional string password = 1;
1203
1414
  * @return {string}
1204
1415
  */
1205
- proto.LoginRequest.prototype.getEmail = function() {
1416
+ proto.ForgotPassworReq.prototype.getPassword = function() {
1206
1417
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1207
1418
  };
1208
1419
 
1209
1420
 
1210
1421
  /**
1211
1422
  * @param {string} value
1212
- * @return {!proto.LoginRequest} returns this
1423
+ * @return {!proto.ForgotPassworReq} returns this
1213
1424
  */
1214
- proto.LoginRequest.prototype.setEmail = function(value) {
1425
+ proto.ForgotPassworReq.prototype.setPassword = function(value) {
1215
1426
  return jspb.Message.setProto3StringField(this, 1, value);
1216
1427
  };
1217
1428
 
1218
1429
 
1219
- /**
1220
- * optional string password = 2;
1221
- * @return {string}
1222
- */
1223
- proto.LoginRequest.prototype.getPassword = function() {
1224
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1225
- };
1226
-
1227
-
1228
- /**
1229
- * @param {string} value
1230
- * @return {!proto.LoginRequest} returns this
1231
- */
1232
- proto.LoginRequest.prototype.setPassword = function(value) {
1233
- return jspb.Message.setProto3StringField(this, 2, value);
1234
- };
1235
-
1236
-
1237
1430
 
1238
1431
 
1239
1432
 
@@ -1250,8 +1443,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1250
1443
  * http://goto/soy-param-migration
1251
1444
  * @return {!Object}
1252
1445
  */
1253
- proto.LoginRequestVendor.prototype.toObject = function(opt_includeInstance) {
1254
- return proto.LoginRequestVendor.toObject(opt_includeInstance, this);
1446
+ proto.RequestForgotPasswordReq.prototype.toObject = function(opt_includeInstance) {
1447
+ return proto.RequestForgotPasswordReq.toObject(opt_includeInstance, this);
1255
1448
  };
1256
1449
 
1257
1450
 
@@ -1260,15 +1453,13 @@ proto.LoginRequestVendor.prototype.toObject = function(opt_includeInstance) {
1260
1453
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1261
1454
  * the JSPB instance for transitional soy proto support:
1262
1455
  * http://goto/soy-param-migration
1263
- * @param {!proto.LoginRequestVendor} msg The msg instance to transform.
1456
+ * @param {!proto.RequestForgotPasswordReq} msg The msg instance to transform.
1264
1457
  * @return {!Object}
1265
1458
  * @suppress {unusedLocalVariables} f is only used for nested messages
1266
1459
  */
1267
- proto.LoginRequestVendor.toObject = function(includeInstance, msg) {
1460
+ proto.RequestForgotPasswordReq.toObject = function(includeInstance, msg) {
1268
1461
  var f, obj = {
1269
- email: jspb.Message.getFieldWithDefault(msg, 1, ""),
1270
- password: jspb.Message.getFieldWithDefault(msg, 2, ""),
1271
- vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
1462
+ email: jspb.Message.getFieldWithDefault(msg, 1, "")
1272
1463
  };
1273
1464
 
1274
1465
  if (includeInstance) {
@@ -1282,23 +1473,23 @@ vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
1282
1473
  /**
1283
1474
  * Deserializes binary data (in protobuf wire format).
1284
1475
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1285
- * @return {!proto.LoginRequestVendor}
1476
+ * @return {!proto.RequestForgotPasswordReq}
1286
1477
  */
1287
- proto.LoginRequestVendor.deserializeBinary = function(bytes) {
1478
+ proto.RequestForgotPasswordReq.deserializeBinary = function(bytes) {
1288
1479
  var reader = new jspb.BinaryReader(bytes);
1289
- var msg = new proto.LoginRequestVendor;
1290
- return proto.LoginRequestVendor.deserializeBinaryFromReader(msg, reader);
1480
+ var msg = new proto.RequestForgotPasswordReq;
1481
+ return proto.RequestForgotPasswordReq.deserializeBinaryFromReader(msg, reader);
1291
1482
  };
1292
1483
 
1293
1484
 
1294
1485
  /**
1295
1486
  * Deserializes binary data (in protobuf wire format) from the
1296
1487
  * given reader into the given message object.
1297
- * @param {!proto.LoginRequestVendor} msg The message object to deserialize into.
1488
+ * @param {!proto.RequestForgotPasswordReq} msg The message object to deserialize into.
1298
1489
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1299
- * @return {!proto.LoginRequestVendor}
1490
+ * @return {!proto.RequestForgotPasswordReq}
1300
1491
  */
1301
- proto.LoginRequestVendor.deserializeBinaryFromReader = function(msg, reader) {
1492
+ proto.RequestForgotPasswordReq.deserializeBinaryFromReader = function(msg, reader) {
1302
1493
  while (reader.nextField()) {
1303
1494
  if (reader.isEndGroup()) {
1304
1495
  break;
@@ -1309,14 +1500,6 @@ proto.LoginRequestVendor.deserializeBinaryFromReader = function(msg, reader) {
1309
1500
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
1310
1501
  msg.setEmail(value);
1311
1502
  break;
1312
- case 2:
1313
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1314
- msg.setPassword(value);
1315
- break;
1316
- case 3:
1317
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1318
- msg.setVendorReferencesId(value);
1319
- break;
1320
1503
  default:
1321
1504
  reader.skipField();
1322
1505
  break;
@@ -1330,9 +1513,9 @@ proto.LoginRequestVendor.deserializeBinaryFromReader = function(msg, reader) {
1330
1513
  * Serializes the message to binary data (in protobuf wire format).
1331
1514
  * @return {!Uint8Array}
1332
1515
  */
1333
- proto.LoginRequestVendor.prototype.serializeBinary = function() {
1516
+ proto.RequestForgotPasswordReq.prototype.serializeBinary = function() {
1334
1517
  var writer = new jspb.BinaryWriter();
1335
- proto.LoginRequestVendor.serializeBinaryToWriter(this, writer);
1518
+ proto.RequestForgotPasswordReq.serializeBinaryToWriter(this, writer);
1336
1519
  return writer.getResultBuffer();
1337
1520
  };
1338
1521
 
@@ -1340,11 +1523,11 @@ proto.LoginRequestVendor.prototype.serializeBinary = function() {
1340
1523
  /**
1341
1524
  * Serializes the given message to binary data (in protobuf wire
1342
1525
  * format), writing to the given BinaryWriter.
1343
- * @param {!proto.LoginRequestVendor} message
1526
+ * @param {!proto.RequestForgotPasswordReq} message
1344
1527
  * @param {!jspb.BinaryWriter} writer
1345
1528
  * @suppress {unusedLocalVariables} f is only used for nested messages
1346
1529
  */
1347
- proto.LoginRequestVendor.serializeBinaryToWriter = function(message, writer) {
1530
+ proto.RequestForgotPasswordReq.serializeBinaryToWriter = function(message, writer) {
1348
1531
  var f = undefined;
1349
1532
  f = message.getEmail();
1350
1533
  if (f.length > 0) {
@@ -1353,20 +1536,6 @@ proto.LoginRequestVendor.serializeBinaryToWriter = function(message, writer) {
1353
1536
  f
1354
1537
  );
1355
1538
  }
1356
- f = message.getPassword();
1357
- if (f.length > 0) {
1358
- writer.writeString(
1359
- 2,
1360
- f
1361
- );
1362
- }
1363
- f = message.getVendorReferencesId();
1364
- if (f.length > 0) {
1365
- writer.writeString(
1366
- 3,
1367
- f
1368
- );
1369
- }
1370
1539
  };
1371
1540
 
1372
1541
 
@@ -1374,56 +1543,20 @@ proto.LoginRequestVendor.serializeBinaryToWriter = function(message, writer) {
1374
1543
  * optional string email = 1;
1375
1544
  * @return {string}
1376
1545
  */
1377
- proto.LoginRequestVendor.prototype.getEmail = function() {
1546
+ proto.RequestForgotPasswordReq.prototype.getEmail = function() {
1378
1547
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1379
1548
  };
1380
1549
 
1381
1550
 
1382
1551
  /**
1383
1552
  * @param {string} value
1384
- * @return {!proto.LoginRequestVendor} returns this
1553
+ * @return {!proto.RequestForgotPasswordReq} returns this
1385
1554
  */
1386
- proto.LoginRequestVendor.prototype.setEmail = function(value) {
1555
+ proto.RequestForgotPasswordReq.prototype.setEmail = function(value) {
1387
1556
  return jspb.Message.setProto3StringField(this, 1, value);
1388
1557
  };
1389
1558
 
1390
1559
 
1391
- /**
1392
- * optional string password = 2;
1393
- * @return {string}
1394
- */
1395
- proto.LoginRequestVendor.prototype.getPassword = function() {
1396
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1397
- };
1398
-
1399
-
1400
- /**
1401
- * @param {string} value
1402
- * @return {!proto.LoginRequestVendor} returns this
1403
- */
1404
- proto.LoginRequestVendor.prototype.setPassword = function(value) {
1405
- return jspb.Message.setProto3StringField(this, 2, value);
1406
- };
1407
-
1408
-
1409
- /**
1410
- * optional string vendor_references_id = 3;
1411
- * @return {string}
1412
- */
1413
- proto.LoginRequestVendor.prototype.getVendorReferencesId = function() {
1414
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1415
- };
1416
-
1417
-
1418
- /**
1419
- * @param {string} value
1420
- * @return {!proto.LoginRequestVendor} returns this
1421
- */
1422
- proto.LoginRequestVendor.prototype.setVendorReferencesId = function(value) {
1423
- return jspb.Message.setProto3StringField(this, 3, value);
1424
- };
1425
-
1426
-
1427
1560
 
1428
1561
 
1429
1562
 
@@ -1440,8 +1573,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1440
1573
  * http://goto/soy-param-migration
1441
1574
  * @return {!Object}
1442
1575
  */
1443
- proto.LoginRequestAccessKey.prototype.toObject = function(opt_includeInstance) {
1444
- return proto.LoginRequestAccessKey.toObject(opt_includeInstance, this);
1576
+ proto.RequestForgotResponse.prototype.toObject = function(opt_includeInstance) {
1577
+ return proto.RequestForgotResponse.toObject(opt_includeInstance, this);
1445
1578
  };
1446
1579
 
1447
1580
 
@@ -1450,13 +1583,13 @@ proto.LoginRequestAccessKey.prototype.toObject = function(opt_includeInstance) {
1450
1583
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1451
1584
  * the JSPB instance for transitional soy proto support:
1452
1585
  * http://goto/soy-param-migration
1453
- * @param {!proto.LoginRequestAccessKey} msg The msg instance to transform.
1586
+ * @param {!proto.RequestForgotResponse} msg The msg instance to transform.
1454
1587
  * @return {!Object}
1455
1588
  * @suppress {unusedLocalVariables} f is only used for nested messages
1456
1589
  */
1457
- proto.LoginRequestAccessKey.toObject = function(includeInstance, msg) {
1590
+ proto.RequestForgotResponse.toObject = function(includeInstance, msg) {
1458
1591
  var f, obj = {
1459
- secretKey: jspb.Message.getFieldWithDefault(msg, 1, "")
1592
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1460
1593
  };
1461
1594
 
1462
1595
  if (includeInstance) {
@@ -1470,23 +1603,23 @@ secretKey: jspb.Message.getFieldWithDefault(msg, 1, "")
1470
1603
  /**
1471
1604
  * Deserializes binary data (in protobuf wire format).
1472
1605
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1473
- * @return {!proto.LoginRequestAccessKey}
1606
+ * @return {!proto.RequestForgotResponse}
1474
1607
  */
1475
- proto.LoginRequestAccessKey.deserializeBinary = function(bytes) {
1608
+ proto.RequestForgotResponse.deserializeBinary = function(bytes) {
1476
1609
  var reader = new jspb.BinaryReader(bytes);
1477
- var msg = new proto.LoginRequestAccessKey;
1478
- return proto.LoginRequestAccessKey.deserializeBinaryFromReader(msg, reader);
1610
+ var msg = new proto.RequestForgotResponse;
1611
+ return proto.RequestForgotResponse.deserializeBinaryFromReader(msg, reader);
1479
1612
  };
1480
1613
 
1481
1614
 
1482
1615
  /**
1483
1616
  * Deserializes binary data (in protobuf wire format) from the
1484
1617
  * given reader into the given message object.
1485
- * @param {!proto.LoginRequestAccessKey} msg The message object to deserialize into.
1618
+ * @param {!proto.RequestForgotResponse} msg The message object to deserialize into.
1486
1619
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1487
- * @return {!proto.LoginRequestAccessKey}
1620
+ * @return {!proto.RequestForgotResponse}
1488
1621
  */
1489
- proto.LoginRequestAccessKey.deserializeBinaryFromReader = function(msg, reader) {
1622
+ proto.RequestForgotResponse.deserializeBinaryFromReader = function(msg, reader) {
1490
1623
  while (reader.nextField()) {
1491
1624
  if (reader.isEndGroup()) {
1492
1625
  break;
@@ -1494,8 +1627,9 @@ proto.LoginRequestAccessKey.deserializeBinaryFromReader = function(msg, reader)
1494
1627
  var field = reader.getFieldNumber();
1495
1628
  switch (field) {
1496
1629
  case 1:
1497
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1498
- msg.setSecretKey(value);
1630
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1631
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1632
+ msg.setMeta(value);
1499
1633
  break;
1500
1634
  default:
1501
1635
  reader.skipField();
@@ -1510,9 +1644,9 @@ proto.LoginRequestAccessKey.deserializeBinaryFromReader = function(msg, reader)
1510
1644
  * Serializes the message to binary data (in protobuf wire format).
1511
1645
  * @return {!Uint8Array}
1512
1646
  */
1513
- proto.LoginRequestAccessKey.prototype.serializeBinary = function() {
1647
+ proto.RequestForgotResponse.prototype.serializeBinary = function() {
1514
1648
  var writer = new jspb.BinaryWriter();
1515
- proto.LoginRequestAccessKey.serializeBinaryToWriter(this, writer);
1649
+ proto.RequestForgotResponse.serializeBinaryToWriter(this, writer);
1516
1650
  return writer.getResultBuffer();
1517
1651
  };
1518
1652
 
@@ -1520,37 +1654,57 @@ proto.LoginRequestAccessKey.prototype.serializeBinary = function() {
1520
1654
  /**
1521
1655
  * Serializes the given message to binary data (in protobuf wire
1522
1656
  * format), writing to the given BinaryWriter.
1523
- * @param {!proto.LoginRequestAccessKey} message
1657
+ * @param {!proto.RequestForgotResponse} message
1524
1658
  * @param {!jspb.BinaryWriter} writer
1525
1659
  * @suppress {unusedLocalVariables} f is only used for nested messages
1526
1660
  */
1527
- proto.LoginRequestAccessKey.serializeBinaryToWriter = function(message, writer) {
1661
+ proto.RequestForgotResponse.serializeBinaryToWriter = function(message, writer) {
1528
1662
  var f = undefined;
1529
- f = message.getSecretKey();
1530
- if (f.length > 0) {
1531
- writer.writeString(
1663
+ f = message.getMeta();
1664
+ if (f != null) {
1665
+ writer.writeMessage(
1532
1666
  1,
1533
- f
1667
+ f,
1668
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1534
1669
  );
1535
1670
  }
1536
1671
  };
1537
1672
 
1538
1673
 
1539
1674
  /**
1540
- * optional string secret_key = 1;
1541
- * @return {string}
1675
+ * optional prisca.v1.global.meta.Meta meta = 1;
1676
+ * @return {?proto.prisca.v1.global.meta.Meta}
1542
1677
  */
1543
- proto.LoginRequestAccessKey.prototype.getSecretKey = function() {
1544
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1678
+ proto.RequestForgotResponse.prototype.getMeta = function() {
1679
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1680
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
1545
1681
  };
1546
1682
 
1547
1683
 
1548
1684
  /**
1549
- * @param {string} value
1550
- * @return {!proto.LoginRequestAccessKey} returns this
1685
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1686
+ * @return {!proto.RequestForgotResponse} returns this
1687
+ */
1688
+ proto.RequestForgotResponse.prototype.setMeta = function(value) {
1689
+ return jspb.Message.setWrapperField(this, 1, value);
1690
+ };
1691
+
1692
+
1693
+ /**
1694
+ * Clears the message field making it undefined.
1695
+ * @return {!proto.RequestForgotResponse} returns this
1551
1696
  */
1552
- proto.LoginRequestAccessKey.prototype.setSecretKey = function(value) {
1553
- return jspb.Message.setProto3StringField(this, 1, value);
1697
+ proto.RequestForgotResponse.prototype.clearMeta = function() {
1698
+ return this.setMeta(undefined);
1699
+ };
1700
+
1701
+
1702
+ /**
1703
+ * Returns whether this field is set.
1704
+ * @return {boolean}
1705
+ */
1706
+ proto.RequestForgotResponse.prototype.hasMeta = function() {
1707
+ return jspb.Message.getField(this, 1) != null;
1554
1708
  };
1555
1709
 
1556
1710
 
@@ -1570,8 +1724,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1570
1724
  * http://goto/soy-param-migration
1571
1725
  * @return {!Object}
1572
1726
  */
1573
- proto.CreateUserAccountByVendorRequest.prototype.toObject = function(opt_includeInstance) {
1574
- return proto.CreateUserAccountByVendorRequest.toObject(opt_includeInstance, this);
1727
+ proto.LoginRequest.prototype.toObject = function(opt_includeInstance) {
1728
+ return proto.LoginRequest.toObject(opt_includeInstance, this);
1575
1729
  };
1576
1730
 
1577
1731
 
@@ -1580,13 +1734,14 @@ proto.CreateUserAccountByVendorRequest.prototype.toObject = function(opt_include
1580
1734
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1581
1735
  * the JSPB instance for transitional soy proto support:
1582
1736
  * http://goto/soy-param-migration
1583
- * @param {!proto.CreateUserAccountByVendorRequest} msg The msg instance to transform.
1737
+ * @param {!proto.LoginRequest} msg The msg instance to transform.
1584
1738
  * @return {!Object}
1585
1739
  * @suppress {unusedLocalVariables} f is only used for nested messages
1586
1740
  */
1587
- proto.CreateUserAccountByVendorRequest.toObject = function(includeInstance, msg) {
1741
+ proto.LoginRequest.toObject = function(includeInstance, msg) {
1588
1742
  var f, obj = {
1589
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1743
+ email: jspb.Message.getFieldWithDefault(msg, 1, ""),
1744
+ password: jspb.Message.getFieldWithDefault(msg, 2, "")
1590
1745
  };
1591
1746
 
1592
1747
  if (includeInstance) {
@@ -1600,23 +1755,23 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1600
1755
  /**
1601
1756
  * Deserializes binary data (in protobuf wire format).
1602
1757
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1603
- * @return {!proto.CreateUserAccountByVendorRequest}
1758
+ * @return {!proto.LoginRequest}
1604
1759
  */
1605
- proto.CreateUserAccountByVendorRequest.deserializeBinary = function(bytes) {
1760
+ proto.LoginRequest.deserializeBinary = function(bytes) {
1606
1761
  var reader = new jspb.BinaryReader(bytes);
1607
- var msg = new proto.CreateUserAccountByVendorRequest;
1608
- return proto.CreateUserAccountByVendorRequest.deserializeBinaryFromReader(msg, reader);
1762
+ var msg = new proto.LoginRequest;
1763
+ return proto.LoginRequest.deserializeBinaryFromReader(msg, reader);
1609
1764
  };
1610
1765
 
1611
1766
 
1612
1767
  /**
1613
1768
  * Deserializes binary data (in protobuf wire format) from the
1614
1769
  * given reader into the given message object.
1615
- * @param {!proto.CreateUserAccountByVendorRequest} msg The message object to deserialize into.
1770
+ * @param {!proto.LoginRequest} msg The message object to deserialize into.
1616
1771
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1617
- * @return {!proto.CreateUserAccountByVendorRequest}
1772
+ * @return {!proto.LoginRequest}
1618
1773
  */
1619
- proto.CreateUserAccountByVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
1774
+ proto.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
1620
1775
  while (reader.nextField()) {
1621
1776
  if (reader.isEndGroup()) {
1622
1777
  break;
@@ -1625,7 +1780,11 @@ proto.CreateUserAccountByVendorRequest.deserializeBinaryFromReader = function(ms
1625
1780
  switch (field) {
1626
1781
  case 1:
1627
1782
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
1628
- msg.setReferencesId(value);
1783
+ msg.setEmail(value);
1784
+ break;
1785
+ case 2:
1786
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1787
+ msg.setPassword(value);
1629
1788
  break;
1630
1789
  default:
1631
1790
  reader.skipField();
@@ -1640,9 +1799,9 @@ proto.CreateUserAccountByVendorRequest.deserializeBinaryFromReader = function(ms
1640
1799
  * Serializes the message to binary data (in protobuf wire format).
1641
1800
  * @return {!Uint8Array}
1642
1801
  */
1643
- proto.CreateUserAccountByVendorRequest.prototype.serializeBinary = function() {
1802
+ proto.LoginRequest.prototype.serializeBinary = function() {
1644
1803
  var writer = new jspb.BinaryWriter();
1645
- proto.CreateUserAccountByVendorRequest.serializeBinaryToWriter(this, writer);
1804
+ proto.LoginRequest.serializeBinaryToWriter(this, writer);
1646
1805
  return writer.getResultBuffer();
1647
1806
  };
1648
1807
 
@@ -1650,40 +1809,65 @@ proto.CreateUserAccountByVendorRequest.prototype.serializeBinary = function() {
1650
1809
  /**
1651
1810
  * Serializes the given message to binary data (in protobuf wire
1652
1811
  * format), writing to the given BinaryWriter.
1653
- * @param {!proto.CreateUserAccountByVendorRequest} message
1812
+ * @param {!proto.LoginRequest} message
1654
1813
  * @param {!jspb.BinaryWriter} writer
1655
1814
  * @suppress {unusedLocalVariables} f is only used for nested messages
1656
1815
  */
1657
- proto.CreateUserAccountByVendorRequest.serializeBinaryToWriter = function(message, writer) {
1816
+ proto.LoginRequest.serializeBinaryToWriter = function(message, writer) {
1658
1817
  var f = undefined;
1659
- f = message.getReferencesId();
1818
+ f = message.getEmail();
1660
1819
  if (f.length > 0) {
1661
1820
  writer.writeString(
1662
1821
  1,
1663
1822
  f
1664
1823
  );
1665
1824
  }
1825
+ f = message.getPassword();
1826
+ if (f.length > 0) {
1827
+ writer.writeString(
1828
+ 2,
1829
+ f
1830
+ );
1831
+ }
1666
1832
  };
1667
1833
 
1668
1834
 
1669
1835
  /**
1670
- * optional string references_id = 1;
1836
+ * optional string email = 1;
1671
1837
  * @return {string}
1672
1838
  */
1673
- proto.CreateUserAccountByVendorRequest.prototype.getReferencesId = function() {
1839
+ proto.LoginRequest.prototype.getEmail = function() {
1674
1840
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1675
1841
  };
1676
1842
 
1677
1843
 
1678
1844
  /**
1679
1845
  * @param {string} value
1680
- * @return {!proto.CreateUserAccountByVendorRequest} returns this
1846
+ * @return {!proto.LoginRequest} returns this
1681
1847
  */
1682
- proto.CreateUserAccountByVendorRequest.prototype.setReferencesId = function(value) {
1848
+ proto.LoginRequest.prototype.setEmail = function(value) {
1683
1849
  return jspb.Message.setProto3StringField(this, 1, value);
1684
1850
  };
1685
1851
 
1686
1852
 
1853
+ /**
1854
+ * optional string password = 2;
1855
+ * @return {string}
1856
+ */
1857
+ proto.LoginRequest.prototype.getPassword = function() {
1858
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1859
+ };
1860
+
1861
+
1862
+ /**
1863
+ * @param {string} value
1864
+ * @return {!proto.LoginRequest} returns this
1865
+ */
1866
+ proto.LoginRequest.prototype.setPassword = function(value) {
1867
+ return jspb.Message.setProto3StringField(this, 2, value);
1868
+ };
1869
+
1870
+
1687
1871
 
1688
1872
 
1689
1873
 
@@ -1700,8 +1884,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1700
1884
  * http://goto/soy-param-migration
1701
1885
  * @return {!Object}
1702
1886
  */
1703
- proto.RequestRegisterVendorReq.prototype.toObject = function(opt_includeInstance) {
1704
- return proto.RequestRegisterVendorReq.toObject(opt_includeInstance, this);
1887
+ proto.LoginRequestVendor.prototype.toObject = function(opt_includeInstance) {
1888
+ return proto.LoginRequestVendor.toObject(opt_includeInstance, this);
1705
1889
  };
1706
1890
 
1707
1891
 
@@ -1710,13 +1894,15 @@ proto.RequestRegisterVendorReq.prototype.toObject = function(opt_includeInstance
1710
1894
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1711
1895
  * the JSPB instance for transitional soy proto support:
1712
1896
  * http://goto/soy-param-migration
1713
- * @param {!proto.RequestRegisterVendorReq} msg The msg instance to transform.
1897
+ * @param {!proto.LoginRequestVendor} msg The msg instance to transform.
1714
1898
  * @return {!Object}
1715
1899
  * @suppress {unusedLocalVariables} f is only used for nested messages
1716
1900
  */
1717
- proto.RequestRegisterVendorReq.toObject = function(includeInstance, msg) {
1901
+ proto.LoginRequestVendor.toObject = function(includeInstance, msg) {
1718
1902
  var f, obj = {
1719
- email: jspb.Message.getFieldWithDefault(msg, 1, "")
1903
+ email: jspb.Message.getFieldWithDefault(msg, 1, ""),
1904
+ password: jspb.Message.getFieldWithDefault(msg, 2, ""),
1905
+ vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
1720
1906
  };
1721
1907
 
1722
1908
  if (includeInstance) {
@@ -1730,23 +1916,23 @@ email: jspb.Message.getFieldWithDefault(msg, 1, "")
1730
1916
  /**
1731
1917
  * Deserializes binary data (in protobuf wire format).
1732
1918
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1733
- * @return {!proto.RequestRegisterVendorReq}
1919
+ * @return {!proto.LoginRequestVendor}
1734
1920
  */
1735
- proto.RequestRegisterVendorReq.deserializeBinary = function(bytes) {
1921
+ proto.LoginRequestVendor.deserializeBinary = function(bytes) {
1736
1922
  var reader = new jspb.BinaryReader(bytes);
1737
- var msg = new proto.RequestRegisterVendorReq;
1738
- return proto.RequestRegisterVendorReq.deserializeBinaryFromReader(msg, reader);
1923
+ var msg = new proto.LoginRequestVendor;
1924
+ return proto.LoginRequestVendor.deserializeBinaryFromReader(msg, reader);
1739
1925
  };
1740
1926
 
1741
1927
 
1742
1928
  /**
1743
1929
  * Deserializes binary data (in protobuf wire format) from the
1744
1930
  * given reader into the given message object.
1745
- * @param {!proto.RequestRegisterVendorReq} msg The message object to deserialize into.
1931
+ * @param {!proto.LoginRequestVendor} msg The message object to deserialize into.
1746
1932
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1747
- * @return {!proto.RequestRegisterVendorReq}
1933
+ * @return {!proto.LoginRequestVendor}
1748
1934
  */
1749
- proto.RequestRegisterVendorReq.deserializeBinaryFromReader = function(msg, reader) {
1935
+ proto.LoginRequestVendor.deserializeBinaryFromReader = function(msg, reader) {
1750
1936
  while (reader.nextField()) {
1751
1937
  if (reader.isEndGroup()) {
1752
1938
  break;
@@ -1757,6 +1943,14 @@ proto.RequestRegisterVendorReq.deserializeBinaryFromReader = function(msg, reade
1757
1943
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
1758
1944
  msg.setEmail(value);
1759
1945
  break;
1946
+ case 2:
1947
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1948
+ msg.setPassword(value);
1949
+ break;
1950
+ case 3:
1951
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1952
+ msg.setVendorReferencesId(value);
1953
+ break;
1760
1954
  default:
1761
1955
  reader.skipField();
1762
1956
  break;
@@ -1770,9 +1964,9 @@ proto.RequestRegisterVendorReq.deserializeBinaryFromReader = function(msg, reade
1770
1964
  * Serializes the message to binary data (in protobuf wire format).
1771
1965
  * @return {!Uint8Array}
1772
1966
  */
1773
- proto.RequestRegisterVendorReq.prototype.serializeBinary = function() {
1967
+ proto.LoginRequestVendor.prototype.serializeBinary = function() {
1774
1968
  var writer = new jspb.BinaryWriter();
1775
- proto.RequestRegisterVendorReq.serializeBinaryToWriter(this, writer);
1969
+ proto.LoginRequestVendor.serializeBinaryToWriter(this, writer);
1776
1970
  return writer.getResultBuffer();
1777
1971
  };
1778
1972
 
@@ -1780,11 +1974,11 @@ proto.RequestRegisterVendorReq.prototype.serializeBinary = function() {
1780
1974
  /**
1781
1975
  * Serializes the given message to binary data (in protobuf wire
1782
1976
  * format), writing to the given BinaryWriter.
1783
- * @param {!proto.RequestRegisterVendorReq} message
1977
+ * @param {!proto.LoginRequestVendor} message
1784
1978
  * @param {!jspb.BinaryWriter} writer
1785
1979
  * @suppress {unusedLocalVariables} f is only used for nested messages
1786
1980
  */
1787
- proto.RequestRegisterVendorReq.serializeBinaryToWriter = function(message, writer) {
1981
+ proto.LoginRequestVendor.serializeBinaryToWriter = function(message, writer) {
1788
1982
  var f = undefined;
1789
1983
  f = message.getEmail();
1790
1984
  if (f.length > 0) {
@@ -1793,6 +1987,20 @@ proto.RequestRegisterVendorReq.serializeBinaryToWriter = function(message, write
1793
1987
  f
1794
1988
  );
1795
1989
  }
1990
+ f = message.getPassword();
1991
+ if (f.length > 0) {
1992
+ writer.writeString(
1993
+ 2,
1994
+ f
1995
+ );
1996
+ }
1997
+ f = message.getVendorReferencesId();
1998
+ if (f.length > 0) {
1999
+ writer.writeString(
2000
+ 3,
2001
+ f
2002
+ );
2003
+ }
1796
2004
  };
1797
2005
 
1798
2006
 
@@ -1800,26 +2008,62 @@ proto.RequestRegisterVendorReq.serializeBinaryToWriter = function(message, write
1800
2008
  * optional string email = 1;
1801
2009
  * @return {string}
1802
2010
  */
1803
- proto.RequestRegisterVendorReq.prototype.getEmail = function() {
2011
+ proto.LoginRequestVendor.prototype.getEmail = function() {
1804
2012
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1805
2013
  };
1806
2014
 
1807
2015
 
1808
2016
  /**
1809
2017
  * @param {string} value
1810
- * @return {!proto.RequestRegisterVendorReq} returns this
2018
+ * @return {!proto.LoginRequestVendor} returns this
1811
2019
  */
1812
- proto.RequestRegisterVendorReq.prototype.setEmail = function(value) {
2020
+ proto.LoginRequestVendor.prototype.setEmail = function(value) {
1813
2021
  return jspb.Message.setProto3StringField(this, 1, value);
1814
2022
  };
1815
2023
 
1816
2024
 
2025
+ /**
2026
+ * optional string password = 2;
2027
+ * @return {string}
2028
+ */
2029
+ proto.LoginRequestVendor.prototype.getPassword = function() {
2030
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2031
+ };
1817
2032
 
1818
2033
 
1819
-
1820
- if (jspb.Message.GENERATE_TO_OBJECT) {
1821
2034
  /**
1822
- * Creates an object representation of this proto.
2035
+ * @param {string} value
2036
+ * @return {!proto.LoginRequestVendor} returns this
2037
+ */
2038
+ proto.LoginRequestVendor.prototype.setPassword = function(value) {
2039
+ return jspb.Message.setProto3StringField(this, 2, value);
2040
+ };
2041
+
2042
+
2043
+ /**
2044
+ * optional string vendor_references_id = 3;
2045
+ * @return {string}
2046
+ */
2047
+ proto.LoginRequestVendor.prototype.getVendorReferencesId = function() {
2048
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2049
+ };
2050
+
2051
+
2052
+ /**
2053
+ * @param {string} value
2054
+ * @return {!proto.LoginRequestVendor} returns this
2055
+ */
2056
+ proto.LoginRequestVendor.prototype.setVendorReferencesId = function(value) {
2057
+ return jspb.Message.setProto3StringField(this, 3, value);
2058
+ };
2059
+
2060
+
2061
+
2062
+
2063
+
2064
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2065
+ /**
2066
+ * Creates an object representation of this proto.
1823
2067
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1824
2068
  * Optional fields that are not set will be set to undefined.
1825
2069
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
@@ -1830,8 +2074,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1830
2074
  * http://goto/soy-param-migration
1831
2075
  * @return {!Object}
1832
2076
  */
1833
- proto.RequestRegisterVendorResponse.prototype.toObject = function(opt_includeInstance) {
1834
- return proto.RequestRegisterVendorResponse.toObject(opt_includeInstance, this);
2077
+ proto.LoginRequestAccessKey.prototype.toObject = function(opt_includeInstance) {
2078
+ return proto.LoginRequestAccessKey.toObject(opt_includeInstance, this);
1835
2079
  };
1836
2080
 
1837
2081
 
@@ -1840,13 +2084,13 @@ proto.RequestRegisterVendorResponse.prototype.toObject = function(opt_includeIns
1840
2084
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1841
2085
  * the JSPB instance for transitional soy proto support:
1842
2086
  * http://goto/soy-param-migration
1843
- * @param {!proto.RequestRegisterVendorResponse} msg The msg instance to transform.
2087
+ * @param {!proto.LoginRequestAccessKey} msg The msg instance to transform.
1844
2088
  * @return {!Object}
1845
2089
  * @suppress {unusedLocalVariables} f is only used for nested messages
1846
2090
  */
1847
- proto.RequestRegisterVendorResponse.toObject = function(includeInstance, msg) {
2091
+ proto.LoginRequestAccessKey.toObject = function(includeInstance, msg) {
1848
2092
  var f, obj = {
1849
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2093
+ secretKey: jspb.Message.getFieldWithDefault(msg, 1, "")
1850
2094
  };
1851
2095
 
1852
2096
  if (includeInstance) {
@@ -1860,23 +2104,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
1860
2104
  /**
1861
2105
  * Deserializes binary data (in protobuf wire format).
1862
2106
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1863
- * @return {!proto.RequestRegisterVendorResponse}
2107
+ * @return {!proto.LoginRequestAccessKey}
1864
2108
  */
1865
- proto.RequestRegisterVendorResponse.deserializeBinary = function(bytes) {
2109
+ proto.LoginRequestAccessKey.deserializeBinary = function(bytes) {
1866
2110
  var reader = new jspb.BinaryReader(bytes);
1867
- var msg = new proto.RequestRegisterVendorResponse;
1868
- return proto.RequestRegisterVendorResponse.deserializeBinaryFromReader(msg, reader);
2111
+ var msg = new proto.LoginRequestAccessKey;
2112
+ return proto.LoginRequestAccessKey.deserializeBinaryFromReader(msg, reader);
1869
2113
  };
1870
2114
 
1871
2115
 
1872
2116
  /**
1873
2117
  * Deserializes binary data (in protobuf wire format) from the
1874
2118
  * given reader into the given message object.
1875
- * @param {!proto.RequestRegisterVendorResponse} msg The message object to deserialize into.
2119
+ * @param {!proto.LoginRequestAccessKey} msg The message object to deserialize into.
1876
2120
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1877
- * @return {!proto.RequestRegisterVendorResponse}
2121
+ * @return {!proto.LoginRequestAccessKey}
1878
2122
  */
1879
- proto.RequestRegisterVendorResponse.deserializeBinaryFromReader = function(msg, reader) {
2123
+ proto.LoginRequestAccessKey.deserializeBinaryFromReader = function(msg, reader) {
1880
2124
  while (reader.nextField()) {
1881
2125
  if (reader.isEndGroup()) {
1882
2126
  break;
@@ -1884,9 +2128,8 @@ proto.RequestRegisterVendorResponse.deserializeBinaryFromReader = function(msg,
1884
2128
  var field = reader.getFieldNumber();
1885
2129
  switch (field) {
1886
2130
  case 1:
1887
- var value = new prisca_v1_global_meta_meta_pb.Meta;
1888
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1889
- msg.setMeta(value);
2131
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2132
+ msg.setSecretKey(value);
1890
2133
  break;
1891
2134
  default:
1892
2135
  reader.skipField();
@@ -1901,9 +2144,9 @@ proto.RequestRegisterVendorResponse.deserializeBinaryFromReader = function(msg,
1901
2144
  * Serializes the message to binary data (in protobuf wire format).
1902
2145
  * @return {!Uint8Array}
1903
2146
  */
1904
- proto.RequestRegisterVendorResponse.prototype.serializeBinary = function() {
2147
+ proto.LoginRequestAccessKey.prototype.serializeBinary = function() {
1905
2148
  var writer = new jspb.BinaryWriter();
1906
- proto.RequestRegisterVendorResponse.serializeBinaryToWriter(this, writer);
2149
+ proto.LoginRequestAccessKey.serializeBinaryToWriter(this, writer);
1907
2150
  return writer.getResultBuffer();
1908
2151
  };
1909
2152
 
@@ -1911,57 +2154,37 @@ proto.RequestRegisterVendorResponse.prototype.serializeBinary = function() {
1911
2154
  /**
1912
2155
  * Serializes the given message to binary data (in protobuf wire
1913
2156
  * format), writing to the given BinaryWriter.
1914
- * @param {!proto.RequestRegisterVendorResponse} message
2157
+ * @param {!proto.LoginRequestAccessKey} message
1915
2158
  * @param {!jspb.BinaryWriter} writer
1916
2159
  * @suppress {unusedLocalVariables} f is only used for nested messages
1917
2160
  */
1918
- proto.RequestRegisterVendorResponse.serializeBinaryToWriter = function(message, writer) {
2161
+ proto.LoginRequestAccessKey.serializeBinaryToWriter = function(message, writer) {
1919
2162
  var f = undefined;
1920
- f = message.getMeta();
1921
- if (f != null) {
1922
- writer.writeMessage(
2163
+ f = message.getSecretKey();
2164
+ if (f.length > 0) {
2165
+ writer.writeString(
1923
2166
  1,
1924
- f,
1925
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2167
+ f
1926
2168
  );
1927
2169
  }
1928
2170
  };
1929
2171
 
1930
2172
 
1931
2173
  /**
1932
- * optional prisca.v1.global.meta.Meta meta = 1;
1933
- * @return {?proto.prisca.v1.global.meta.Meta}
1934
- */
1935
- proto.RequestRegisterVendorResponse.prototype.getMeta = function() {
1936
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1937
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
1938
- };
1939
-
1940
-
1941
- /**
1942
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1943
- * @return {!proto.RequestRegisterVendorResponse} returns this
1944
- */
1945
- proto.RequestRegisterVendorResponse.prototype.setMeta = function(value) {
1946
- return jspb.Message.setWrapperField(this, 1, value);
1947
- };
1948
-
1949
-
1950
- /**
1951
- * Clears the message field making it undefined.
1952
- * @return {!proto.RequestRegisterVendorResponse} returns this
2174
+ * optional string secret_key = 1;
2175
+ * @return {string}
1953
2176
  */
1954
- proto.RequestRegisterVendorResponse.prototype.clearMeta = function() {
1955
- return this.setMeta(undefined);
2177
+ proto.LoginRequestAccessKey.prototype.getSecretKey = function() {
2178
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1956
2179
  };
1957
2180
 
1958
2181
 
1959
2182
  /**
1960
- * Returns whether this field is set.
1961
- * @return {boolean}
2183
+ * @param {string} value
2184
+ * @return {!proto.LoginRequestAccessKey} returns this
1962
2185
  */
1963
- proto.RequestRegisterVendorResponse.prototype.hasMeta = function() {
1964
- return jspb.Message.getField(this, 1) != null;
2186
+ proto.LoginRequestAccessKey.prototype.setSecretKey = function(value) {
2187
+ return jspb.Message.setProto3StringField(this, 1, value);
1965
2188
  };
1966
2189
 
1967
2190
 
@@ -1981,8 +2204,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1981
2204
  * http://goto/soy-param-migration
1982
2205
  * @return {!Object}
1983
2206
  */
1984
- proto.GetListAccessRequest.prototype.toObject = function(opt_includeInstance) {
1985
- return proto.GetListAccessRequest.toObject(opt_includeInstance, this);
2207
+ proto.CreateUserAccountByVendorRequest.prototype.toObject = function(opt_includeInstance) {
2208
+ return proto.CreateUserAccountByVendorRequest.toObject(opt_includeInstance, this);
1986
2209
  };
1987
2210
 
1988
2211
 
@@ -1991,14 +2214,13 @@ proto.GetListAccessRequest.prototype.toObject = function(opt_includeInstance) {
1991
2214
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1992
2215
  * the JSPB instance for transitional soy proto support:
1993
2216
  * http://goto/soy-param-migration
1994
- * @param {!proto.GetListAccessRequest} msg The msg instance to transform.
2217
+ * @param {!proto.CreateUserAccountByVendorRequest} msg The msg instance to transform.
1995
2218
  * @return {!Object}
1996
2219
  * @suppress {unusedLocalVariables} f is only used for nested messages
1997
2220
  */
1998
- proto.GetListAccessRequest.toObject = function(includeInstance, msg) {
2221
+ proto.CreateUserAccountByVendorRequest.toObject = function(includeInstance, msg) {
1999
2222
  var f, obj = {
2000
- limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
2001
- offset: jspb.Message.getFieldWithDefault(msg, 2, 0)
2223
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
2002
2224
  };
2003
2225
 
2004
2226
  if (includeInstance) {
@@ -2012,23 +2234,23 @@ offset: jspb.Message.getFieldWithDefault(msg, 2, 0)
2012
2234
  /**
2013
2235
  * Deserializes binary data (in protobuf wire format).
2014
2236
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2015
- * @return {!proto.GetListAccessRequest}
2237
+ * @return {!proto.CreateUserAccountByVendorRequest}
2016
2238
  */
2017
- proto.GetListAccessRequest.deserializeBinary = function(bytes) {
2239
+ proto.CreateUserAccountByVendorRequest.deserializeBinary = function(bytes) {
2018
2240
  var reader = new jspb.BinaryReader(bytes);
2019
- var msg = new proto.GetListAccessRequest;
2020
- return proto.GetListAccessRequest.deserializeBinaryFromReader(msg, reader);
2241
+ var msg = new proto.CreateUserAccountByVendorRequest;
2242
+ return proto.CreateUserAccountByVendorRequest.deserializeBinaryFromReader(msg, reader);
2021
2243
  };
2022
2244
 
2023
2245
 
2024
2246
  /**
2025
2247
  * Deserializes binary data (in protobuf wire format) from the
2026
2248
  * given reader into the given message object.
2027
- * @param {!proto.GetListAccessRequest} msg The message object to deserialize into.
2249
+ * @param {!proto.CreateUserAccountByVendorRequest} msg The message object to deserialize into.
2028
2250
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2029
- * @return {!proto.GetListAccessRequest}
2251
+ * @return {!proto.CreateUserAccountByVendorRequest}
2030
2252
  */
2031
- proto.GetListAccessRequest.deserializeBinaryFromReader = function(msg, reader) {
2253
+ proto.CreateUserAccountByVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
2032
2254
  while (reader.nextField()) {
2033
2255
  if (reader.isEndGroup()) {
2034
2256
  break;
@@ -2036,12 +2258,8 @@ proto.GetListAccessRequest.deserializeBinaryFromReader = function(msg, reader) {
2036
2258
  var field = reader.getFieldNumber();
2037
2259
  switch (field) {
2038
2260
  case 1:
2039
- var value = /** @type {number} */ (reader.readInt64());
2040
- msg.setLimit(value);
2041
- break;
2042
- case 2:
2043
- var value = /** @type {number} */ (reader.readInt64());
2044
- msg.setOffset(value);
2261
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2262
+ msg.setReferencesId(value);
2045
2263
  break;
2046
2264
  default:
2047
2265
  reader.skipField();
@@ -2056,9 +2274,9 @@ proto.GetListAccessRequest.deserializeBinaryFromReader = function(msg, reader) {
2056
2274
  * Serializes the message to binary data (in protobuf wire format).
2057
2275
  * @return {!Uint8Array}
2058
2276
  */
2059
- proto.GetListAccessRequest.prototype.serializeBinary = function() {
2277
+ proto.CreateUserAccountByVendorRequest.prototype.serializeBinary = function() {
2060
2278
  var writer = new jspb.BinaryWriter();
2061
- proto.GetListAccessRequest.serializeBinaryToWriter(this, writer);
2279
+ proto.CreateUserAccountByVendorRequest.serializeBinaryToWriter(this, writer);
2062
2280
  return writer.getResultBuffer();
2063
2281
  };
2064
2282
 
@@ -2066,62 +2284,37 @@ proto.GetListAccessRequest.prototype.serializeBinary = function() {
2066
2284
  /**
2067
2285
  * Serializes the given message to binary data (in protobuf wire
2068
2286
  * format), writing to the given BinaryWriter.
2069
- * @param {!proto.GetListAccessRequest} message
2287
+ * @param {!proto.CreateUserAccountByVendorRequest} message
2070
2288
  * @param {!jspb.BinaryWriter} writer
2071
2289
  * @suppress {unusedLocalVariables} f is only used for nested messages
2072
2290
  */
2073
- proto.GetListAccessRequest.serializeBinaryToWriter = function(message, writer) {
2291
+ proto.CreateUserAccountByVendorRequest.serializeBinaryToWriter = function(message, writer) {
2074
2292
  var f = undefined;
2075
- f = message.getLimit();
2076
- if (f !== 0) {
2077
- writer.writeInt64(
2293
+ f = message.getReferencesId();
2294
+ if (f.length > 0) {
2295
+ writer.writeString(
2078
2296
  1,
2079
2297
  f
2080
2298
  );
2081
2299
  }
2082
- f = message.getOffset();
2083
- if (f !== 0) {
2084
- writer.writeInt64(
2085
- 2,
2086
- f
2087
- );
2088
- }
2089
- };
2090
-
2091
-
2092
- /**
2093
- * optional int64 limit = 1;
2094
- * @return {number}
2095
- */
2096
- proto.GetListAccessRequest.prototype.getLimit = function() {
2097
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2098
2300
  };
2099
2301
 
2100
2302
 
2101
2303
  /**
2102
- * @param {number} value
2103
- * @return {!proto.GetListAccessRequest} returns this
2104
- */
2105
- proto.GetListAccessRequest.prototype.setLimit = function(value) {
2106
- return jspb.Message.setProto3IntField(this, 1, value);
2107
- };
2108
-
2109
-
2110
- /**
2111
- * optional int64 offset = 2;
2112
- * @return {number}
2304
+ * optional string references_id = 1;
2305
+ * @return {string}
2113
2306
  */
2114
- proto.GetListAccessRequest.prototype.getOffset = function() {
2115
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2307
+ proto.CreateUserAccountByVendorRequest.prototype.getReferencesId = function() {
2308
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2116
2309
  };
2117
2310
 
2118
2311
 
2119
2312
  /**
2120
- * @param {number} value
2121
- * @return {!proto.GetListAccessRequest} returns this
2313
+ * @param {string} value
2314
+ * @return {!proto.CreateUserAccountByVendorRequest} returns this
2122
2315
  */
2123
- proto.GetListAccessRequest.prototype.setOffset = function(value) {
2124
- return jspb.Message.setProto3IntField(this, 2, value);
2316
+ proto.CreateUserAccountByVendorRequest.prototype.setReferencesId = function(value) {
2317
+ return jspb.Message.setProto3StringField(this, 1, value);
2125
2318
  };
2126
2319
 
2127
2320
 
@@ -2141,8 +2334,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2141
2334
  * http://goto/soy-param-migration
2142
2335
  * @return {!Object}
2143
2336
  */
2144
- proto.CheckCompaniesRequest.prototype.toObject = function(opt_includeInstance) {
2145
- return proto.CheckCompaniesRequest.toObject(opt_includeInstance, this);
2337
+ proto.RequestRegisterVendorReq.prototype.toObject = function(opt_includeInstance) {
2338
+ return proto.RequestRegisterVendorReq.toObject(opt_includeInstance, this);
2146
2339
  };
2147
2340
 
2148
2341
 
@@ -2151,13 +2344,13 @@ proto.CheckCompaniesRequest.prototype.toObject = function(opt_includeInstance) {
2151
2344
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2152
2345
  * the JSPB instance for transitional soy proto support:
2153
2346
  * http://goto/soy-param-migration
2154
- * @param {!proto.CheckCompaniesRequest} msg The msg instance to transform.
2347
+ * @param {!proto.RequestRegisterVendorReq} msg The msg instance to transform.
2155
2348
  * @return {!Object}
2156
2349
  * @suppress {unusedLocalVariables} f is only used for nested messages
2157
2350
  */
2158
- proto.CheckCompaniesRequest.toObject = function(includeInstance, msg) {
2351
+ proto.RequestRegisterVendorReq.toObject = function(includeInstance, msg) {
2159
2352
  var f, obj = {
2160
- companiesRef: jspb.Message.getFieldWithDefault(msg, 1, "")
2353
+ email: jspb.Message.getFieldWithDefault(msg, 1, "")
2161
2354
  };
2162
2355
 
2163
2356
  if (includeInstance) {
@@ -2171,23 +2364,23 @@ companiesRef: jspb.Message.getFieldWithDefault(msg, 1, "")
2171
2364
  /**
2172
2365
  * Deserializes binary data (in protobuf wire format).
2173
2366
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2174
- * @return {!proto.CheckCompaniesRequest}
2367
+ * @return {!proto.RequestRegisterVendorReq}
2175
2368
  */
2176
- proto.CheckCompaniesRequest.deserializeBinary = function(bytes) {
2369
+ proto.RequestRegisterVendorReq.deserializeBinary = function(bytes) {
2177
2370
  var reader = new jspb.BinaryReader(bytes);
2178
- var msg = new proto.CheckCompaniesRequest;
2179
- return proto.CheckCompaniesRequest.deserializeBinaryFromReader(msg, reader);
2371
+ var msg = new proto.RequestRegisterVendorReq;
2372
+ return proto.RequestRegisterVendorReq.deserializeBinaryFromReader(msg, reader);
2180
2373
  };
2181
2374
 
2182
2375
 
2183
2376
  /**
2184
2377
  * Deserializes binary data (in protobuf wire format) from the
2185
2378
  * given reader into the given message object.
2186
- * @param {!proto.CheckCompaniesRequest} msg The message object to deserialize into.
2379
+ * @param {!proto.RequestRegisterVendorReq} msg The message object to deserialize into.
2187
2380
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2188
- * @return {!proto.CheckCompaniesRequest}
2381
+ * @return {!proto.RequestRegisterVendorReq}
2189
2382
  */
2190
- proto.CheckCompaniesRequest.deserializeBinaryFromReader = function(msg, reader) {
2383
+ proto.RequestRegisterVendorReq.deserializeBinaryFromReader = function(msg, reader) {
2191
2384
  while (reader.nextField()) {
2192
2385
  if (reader.isEndGroup()) {
2193
2386
  break;
@@ -2196,7 +2389,7 @@ proto.CheckCompaniesRequest.deserializeBinaryFromReader = function(msg, reader)
2196
2389
  switch (field) {
2197
2390
  case 1:
2198
2391
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
2199
- msg.setCompaniesRef(value);
2392
+ msg.setEmail(value);
2200
2393
  break;
2201
2394
  default:
2202
2395
  reader.skipField();
@@ -2208,50 +2401,1161 @@ proto.CheckCompaniesRequest.deserializeBinaryFromReader = function(msg, reader)
2208
2401
 
2209
2402
 
2210
2403
  /**
2211
- * Serializes the message to binary data (in protobuf wire format).
2212
- * @return {!Uint8Array}
2404
+ * Serializes the message to binary data (in protobuf wire format).
2405
+ * @return {!Uint8Array}
2406
+ */
2407
+ proto.RequestRegisterVendorReq.prototype.serializeBinary = function() {
2408
+ var writer = new jspb.BinaryWriter();
2409
+ proto.RequestRegisterVendorReq.serializeBinaryToWriter(this, writer);
2410
+ return writer.getResultBuffer();
2411
+ };
2412
+
2413
+
2414
+ /**
2415
+ * Serializes the given message to binary data (in protobuf wire
2416
+ * format), writing to the given BinaryWriter.
2417
+ * @param {!proto.RequestRegisterVendorReq} message
2418
+ * @param {!jspb.BinaryWriter} writer
2419
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2420
+ */
2421
+ proto.RequestRegisterVendorReq.serializeBinaryToWriter = function(message, writer) {
2422
+ var f = undefined;
2423
+ f = message.getEmail();
2424
+ if (f.length > 0) {
2425
+ writer.writeString(
2426
+ 1,
2427
+ f
2428
+ );
2429
+ }
2430
+ };
2431
+
2432
+
2433
+ /**
2434
+ * optional string email = 1;
2435
+ * @return {string}
2436
+ */
2437
+ proto.RequestRegisterVendorReq.prototype.getEmail = function() {
2438
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2439
+ };
2440
+
2441
+
2442
+ /**
2443
+ * @param {string} value
2444
+ * @return {!proto.RequestRegisterVendorReq} returns this
2445
+ */
2446
+ proto.RequestRegisterVendorReq.prototype.setEmail = function(value) {
2447
+ return jspb.Message.setProto3StringField(this, 1, value);
2448
+ };
2449
+
2450
+
2451
+
2452
+
2453
+
2454
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2455
+ /**
2456
+ * Creates an object representation of this proto.
2457
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2458
+ * Optional fields that are not set will be set to undefined.
2459
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2460
+ * For the list of reserved names please see:
2461
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2462
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2463
+ * JSPB instance for transitional soy proto support:
2464
+ * http://goto/soy-param-migration
2465
+ * @return {!Object}
2466
+ */
2467
+ proto.RequestRegisterVendorResponse.prototype.toObject = function(opt_includeInstance) {
2468
+ return proto.RequestRegisterVendorResponse.toObject(opt_includeInstance, this);
2469
+ };
2470
+
2471
+
2472
+ /**
2473
+ * Static version of the {@see toObject} method.
2474
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2475
+ * the JSPB instance for transitional soy proto support:
2476
+ * http://goto/soy-param-migration
2477
+ * @param {!proto.RequestRegisterVendorResponse} msg The msg instance to transform.
2478
+ * @return {!Object}
2479
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2480
+ */
2481
+ proto.RequestRegisterVendorResponse.toObject = function(includeInstance, msg) {
2482
+ var f, obj = {
2483
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2484
+ };
2485
+
2486
+ if (includeInstance) {
2487
+ obj.$jspbMessageInstance = msg;
2488
+ }
2489
+ return obj;
2490
+ };
2491
+ }
2492
+
2493
+
2494
+ /**
2495
+ * Deserializes binary data (in protobuf wire format).
2496
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2497
+ * @return {!proto.RequestRegisterVendorResponse}
2498
+ */
2499
+ proto.RequestRegisterVendorResponse.deserializeBinary = function(bytes) {
2500
+ var reader = new jspb.BinaryReader(bytes);
2501
+ var msg = new proto.RequestRegisterVendorResponse;
2502
+ return proto.RequestRegisterVendorResponse.deserializeBinaryFromReader(msg, reader);
2503
+ };
2504
+
2505
+
2506
+ /**
2507
+ * Deserializes binary data (in protobuf wire format) from the
2508
+ * given reader into the given message object.
2509
+ * @param {!proto.RequestRegisterVendorResponse} msg The message object to deserialize into.
2510
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2511
+ * @return {!proto.RequestRegisterVendorResponse}
2512
+ */
2513
+ proto.RequestRegisterVendorResponse.deserializeBinaryFromReader = function(msg, reader) {
2514
+ while (reader.nextField()) {
2515
+ if (reader.isEndGroup()) {
2516
+ break;
2517
+ }
2518
+ var field = reader.getFieldNumber();
2519
+ switch (field) {
2520
+ case 1:
2521
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2522
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2523
+ msg.setMeta(value);
2524
+ break;
2525
+ default:
2526
+ reader.skipField();
2527
+ break;
2528
+ }
2529
+ }
2530
+ return msg;
2531
+ };
2532
+
2533
+
2534
+ /**
2535
+ * Serializes the message to binary data (in protobuf wire format).
2536
+ * @return {!Uint8Array}
2537
+ */
2538
+ proto.RequestRegisterVendorResponse.prototype.serializeBinary = function() {
2539
+ var writer = new jspb.BinaryWriter();
2540
+ proto.RequestRegisterVendorResponse.serializeBinaryToWriter(this, writer);
2541
+ return writer.getResultBuffer();
2542
+ };
2543
+
2544
+
2545
+ /**
2546
+ * Serializes the given message to binary data (in protobuf wire
2547
+ * format), writing to the given BinaryWriter.
2548
+ * @param {!proto.RequestRegisterVendorResponse} message
2549
+ * @param {!jspb.BinaryWriter} writer
2550
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2551
+ */
2552
+ proto.RequestRegisterVendorResponse.serializeBinaryToWriter = function(message, writer) {
2553
+ var f = undefined;
2554
+ f = message.getMeta();
2555
+ if (f != null) {
2556
+ writer.writeMessage(
2557
+ 1,
2558
+ f,
2559
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2560
+ );
2561
+ }
2562
+ };
2563
+
2564
+
2565
+ /**
2566
+ * optional prisca.v1.global.meta.Meta meta = 1;
2567
+ * @return {?proto.prisca.v1.global.meta.Meta}
2568
+ */
2569
+ proto.RequestRegisterVendorResponse.prototype.getMeta = function() {
2570
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2571
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
2572
+ };
2573
+
2574
+
2575
+ /**
2576
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2577
+ * @return {!proto.RequestRegisterVendorResponse} returns this
2578
+ */
2579
+ proto.RequestRegisterVendorResponse.prototype.setMeta = function(value) {
2580
+ return jspb.Message.setWrapperField(this, 1, value);
2581
+ };
2582
+
2583
+
2584
+ /**
2585
+ * Clears the message field making it undefined.
2586
+ * @return {!proto.RequestRegisterVendorResponse} returns this
2587
+ */
2588
+ proto.RequestRegisterVendorResponse.prototype.clearMeta = function() {
2589
+ return this.setMeta(undefined);
2590
+ };
2591
+
2592
+
2593
+ /**
2594
+ * Returns whether this field is set.
2595
+ * @return {boolean}
2596
+ */
2597
+ proto.RequestRegisterVendorResponse.prototype.hasMeta = function() {
2598
+ return jspb.Message.getField(this, 1) != null;
2599
+ };
2600
+
2601
+
2602
+
2603
+
2604
+
2605
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2606
+ /**
2607
+ * Creates an object representation of this proto.
2608
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2609
+ * Optional fields that are not set will be set to undefined.
2610
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2611
+ * For the list of reserved names please see:
2612
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2613
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2614
+ * JSPB instance for transitional soy proto support:
2615
+ * http://goto/soy-param-migration
2616
+ * @return {!Object}
2617
+ */
2618
+ proto.GetListAccessRequest.prototype.toObject = function(opt_includeInstance) {
2619
+ return proto.GetListAccessRequest.toObject(opt_includeInstance, this);
2620
+ };
2621
+
2622
+
2623
+ /**
2624
+ * Static version of the {@see toObject} method.
2625
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2626
+ * the JSPB instance for transitional soy proto support:
2627
+ * http://goto/soy-param-migration
2628
+ * @param {!proto.GetListAccessRequest} msg The msg instance to transform.
2629
+ * @return {!Object}
2630
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2631
+ */
2632
+ proto.GetListAccessRequest.toObject = function(includeInstance, msg) {
2633
+ var f, obj = {
2634
+ limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
2635
+ offset: jspb.Message.getFieldWithDefault(msg, 2, 0)
2636
+ };
2637
+
2638
+ if (includeInstance) {
2639
+ obj.$jspbMessageInstance = msg;
2640
+ }
2641
+ return obj;
2642
+ };
2643
+ }
2644
+
2645
+
2646
+ /**
2647
+ * Deserializes binary data (in protobuf wire format).
2648
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2649
+ * @return {!proto.GetListAccessRequest}
2650
+ */
2651
+ proto.GetListAccessRequest.deserializeBinary = function(bytes) {
2652
+ var reader = new jspb.BinaryReader(bytes);
2653
+ var msg = new proto.GetListAccessRequest;
2654
+ return proto.GetListAccessRequest.deserializeBinaryFromReader(msg, reader);
2655
+ };
2656
+
2657
+
2658
+ /**
2659
+ * Deserializes binary data (in protobuf wire format) from the
2660
+ * given reader into the given message object.
2661
+ * @param {!proto.GetListAccessRequest} msg The message object to deserialize into.
2662
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2663
+ * @return {!proto.GetListAccessRequest}
2664
+ */
2665
+ proto.GetListAccessRequest.deserializeBinaryFromReader = function(msg, reader) {
2666
+ while (reader.nextField()) {
2667
+ if (reader.isEndGroup()) {
2668
+ break;
2669
+ }
2670
+ var field = reader.getFieldNumber();
2671
+ switch (field) {
2672
+ case 1:
2673
+ var value = /** @type {number} */ (reader.readInt64());
2674
+ msg.setLimit(value);
2675
+ break;
2676
+ case 2:
2677
+ var value = /** @type {number} */ (reader.readInt64());
2678
+ msg.setOffset(value);
2679
+ break;
2680
+ default:
2681
+ reader.skipField();
2682
+ break;
2683
+ }
2684
+ }
2685
+ return msg;
2686
+ };
2687
+
2688
+
2689
+ /**
2690
+ * Serializes the message to binary data (in protobuf wire format).
2691
+ * @return {!Uint8Array}
2692
+ */
2693
+ proto.GetListAccessRequest.prototype.serializeBinary = function() {
2694
+ var writer = new jspb.BinaryWriter();
2695
+ proto.GetListAccessRequest.serializeBinaryToWriter(this, writer);
2696
+ return writer.getResultBuffer();
2697
+ };
2698
+
2699
+
2700
+ /**
2701
+ * Serializes the given message to binary data (in protobuf wire
2702
+ * format), writing to the given BinaryWriter.
2703
+ * @param {!proto.GetListAccessRequest} message
2704
+ * @param {!jspb.BinaryWriter} writer
2705
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2706
+ */
2707
+ proto.GetListAccessRequest.serializeBinaryToWriter = function(message, writer) {
2708
+ var f = undefined;
2709
+ f = message.getLimit();
2710
+ if (f !== 0) {
2711
+ writer.writeInt64(
2712
+ 1,
2713
+ f
2714
+ );
2715
+ }
2716
+ f = message.getOffset();
2717
+ if (f !== 0) {
2718
+ writer.writeInt64(
2719
+ 2,
2720
+ f
2721
+ );
2722
+ }
2723
+ };
2724
+
2725
+
2726
+ /**
2727
+ * optional int64 limit = 1;
2728
+ * @return {number}
2729
+ */
2730
+ proto.GetListAccessRequest.prototype.getLimit = function() {
2731
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2732
+ };
2733
+
2734
+
2735
+ /**
2736
+ * @param {number} value
2737
+ * @return {!proto.GetListAccessRequest} returns this
2738
+ */
2739
+ proto.GetListAccessRequest.prototype.setLimit = function(value) {
2740
+ return jspb.Message.setProto3IntField(this, 1, value);
2741
+ };
2742
+
2743
+
2744
+ /**
2745
+ * optional int64 offset = 2;
2746
+ * @return {number}
2747
+ */
2748
+ proto.GetListAccessRequest.prototype.getOffset = function() {
2749
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2750
+ };
2751
+
2752
+
2753
+ /**
2754
+ * @param {number} value
2755
+ * @return {!proto.GetListAccessRequest} returns this
2756
+ */
2757
+ proto.GetListAccessRequest.prototype.setOffset = function(value) {
2758
+ return jspb.Message.setProto3IntField(this, 2, value);
2759
+ };
2760
+
2761
+
2762
+
2763
+
2764
+
2765
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2766
+ /**
2767
+ * Creates an object representation of this proto.
2768
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2769
+ * Optional fields that are not set will be set to undefined.
2770
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2771
+ * For the list of reserved names please see:
2772
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2773
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2774
+ * JSPB instance for transitional soy proto support:
2775
+ * http://goto/soy-param-migration
2776
+ * @return {!Object}
2777
+ */
2778
+ proto.CheckCompaniesRequest.prototype.toObject = function(opt_includeInstance) {
2779
+ return proto.CheckCompaniesRequest.toObject(opt_includeInstance, this);
2780
+ };
2781
+
2782
+
2783
+ /**
2784
+ * Static version of the {@see toObject} method.
2785
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2786
+ * the JSPB instance for transitional soy proto support:
2787
+ * http://goto/soy-param-migration
2788
+ * @param {!proto.CheckCompaniesRequest} msg The msg instance to transform.
2789
+ * @return {!Object}
2790
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2791
+ */
2792
+ proto.CheckCompaniesRequest.toObject = function(includeInstance, msg) {
2793
+ var f, obj = {
2794
+ companiesRef: jspb.Message.getFieldWithDefault(msg, 1, "")
2795
+ };
2796
+
2797
+ if (includeInstance) {
2798
+ obj.$jspbMessageInstance = msg;
2799
+ }
2800
+ return obj;
2801
+ };
2802
+ }
2803
+
2804
+
2805
+ /**
2806
+ * Deserializes binary data (in protobuf wire format).
2807
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2808
+ * @return {!proto.CheckCompaniesRequest}
2809
+ */
2810
+ proto.CheckCompaniesRequest.deserializeBinary = function(bytes) {
2811
+ var reader = new jspb.BinaryReader(bytes);
2812
+ var msg = new proto.CheckCompaniesRequest;
2813
+ return proto.CheckCompaniesRequest.deserializeBinaryFromReader(msg, reader);
2814
+ };
2815
+
2816
+
2817
+ /**
2818
+ * Deserializes binary data (in protobuf wire format) from the
2819
+ * given reader into the given message object.
2820
+ * @param {!proto.CheckCompaniesRequest} msg The message object to deserialize into.
2821
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2822
+ * @return {!proto.CheckCompaniesRequest}
2823
+ */
2824
+ proto.CheckCompaniesRequest.deserializeBinaryFromReader = function(msg, reader) {
2825
+ while (reader.nextField()) {
2826
+ if (reader.isEndGroup()) {
2827
+ break;
2828
+ }
2829
+ var field = reader.getFieldNumber();
2830
+ switch (field) {
2831
+ case 1:
2832
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2833
+ msg.setCompaniesRef(value);
2834
+ break;
2835
+ default:
2836
+ reader.skipField();
2837
+ break;
2838
+ }
2839
+ }
2840
+ return msg;
2841
+ };
2842
+
2843
+
2844
+ /**
2845
+ * Serializes the message to binary data (in protobuf wire format).
2846
+ * @return {!Uint8Array}
2847
+ */
2848
+ proto.CheckCompaniesRequest.prototype.serializeBinary = function() {
2849
+ var writer = new jspb.BinaryWriter();
2850
+ proto.CheckCompaniesRequest.serializeBinaryToWriter(this, writer);
2851
+ return writer.getResultBuffer();
2852
+ };
2853
+
2854
+
2855
+ /**
2856
+ * Serializes the given message to binary data (in protobuf wire
2857
+ * format), writing to the given BinaryWriter.
2858
+ * @param {!proto.CheckCompaniesRequest} message
2859
+ * @param {!jspb.BinaryWriter} writer
2860
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2861
+ */
2862
+ proto.CheckCompaniesRequest.serializeBinaryToWriter = function(message, writer) {
2863
+ var f = undefined;
2864
+ f = message.getCompaniesRef();
2865
+ if (f.length > 0) {
2866
+ writer.writeString(
2867
+ 1,
2868
+ f
2869
+ );
2870
+ }
2871
+ };
2872
+
2873
+
2874
+ /**
2875
+ * optional string companies_ref = 1;
2876
+ * @return {string}
2877
+ */
2878
+ proto.CheckCompaniesRequest.prototype.getCompaniesRef = function() {
2879
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2880
+ };
2881
+
2882
+
2883
+ /**
2884
+ * @param {string} value
2885
+ * @return {!proto.CheckCompaniesRequest} returns this
2886
+ */
2887
+ proto.CheckCompaniesRequest.prototype.setCompaniesRef = function(value) {
2888
+ return jspb.Message.setProto3StringField(this, 1, value);
2889
+ };
2890
+
2891
+
2892
+
2893
+
2894
+
2895
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2896
+ /**
2897
+ * Creates an object representation of this proto.
2898
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2899
+ * Optional fields that are not set will be set to undefined.
2900
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2901
+ * For the list of reserved names please see:
2902
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2903
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2904
+ * JSPB instance for transitional soy proto support:
2905
+ * http://goto/soy-param-migration
2906
+ * @return {!Object}
2907
+ */
2908
+ proto.AccessApiCredential.prototype.toObject = function(opt_includeInstance) {
2909
+ return proto.AccessApiCredential.toObject(opt_includeInstance, this);
2910
+ };
2911
+
2912
+
2913
+ /**
2914
+ * Static version of the {@see toObject} method.
2915
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2916
+ * the JSPB instance for transitional soy proto support:
2917
+ * http://goto/soy-param-migration
2918
+ * @param {!proto.AccessApiCredential} msg The msg instance to transform.
2919
+ * @return {!Object}
2920
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2921
+ */
2922
+ proto.AccessApiCredential.toObject = function(includeInstance, msg) {
2923
+ var f, obj = {
2924
+ apisecretid: jspb.Message.getFieldWithDefault(msg, 1, ""),
2925
+ apisecretkey: jspb.Message.getFieldWithDefault(msg, 2, "")
2926
+ };
2927
+
2928
+ if (includeInstance) {
2929
+ obj.$jspbMessageInstance = msg;
2930
+ }
2931
+ return obj;
2932
+ };
2933
+ }
2934
+
2935
+
2936
+ /**
2937
+ * Deserializes binary data (in protobuf wire format).
2938
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2939
+ * @return {!proto.AccessApiCredential}
2940
+ */
2941
+ proto.AccessApiCredential.deserializeBinary = function(bytes) {
2942
+ var reader = new jspb.BinaryReader(bytes);
2943
+ var msg = new proto.AccessApiCredential;
2944
+ return proto.AccessApiCredential.deserializeBinaryFromReader(msg, reader);
2945
+ };
2946
+
2947
+
2948
+ /**
2949
+ * Deserializes binary data (in protobuf wire format) from the
2950
+ * given reader into the given message object.
2951
+ * @param {!proto.AccessApiCredential} msg The message object to deserialize into.
2952
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2953
+ * @return {!proto.AccessApiCredential}
2954
+ */
2955
+ proto.AccessApiCredential.deserializeBinaryFromReader = function(msg, reader) {
2956
+ while (reader.nextField()) {
2957
+ if (reader.isEndGroup()) {
2958
+ break;
2959
+ }
2960
+ var field = reader.getFieldNumber();
2961
+ switch (field) {
2962
+ case 1:
2963
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2964
+ msg.setApisecretid(value);
2965
+ break;
2966
+ case 2:
2967
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2968
+ msg.setApisecretkey(value);
2969
+ break;
2970
+ default:
2971
+ reader.skipField();
2972
+ break;
2973
+ }
2974
+ }
2975
+ return msg;
2976
+ };
2977
+
2978
+
2979
+ /**
2980
+ * Serializes the message to binary data (in protobuf wire format).
2981
+ * @return {!Uint8Array}
2982
+ */
2983
+ proto.AccessApiCredential.prototype.serializeBinary = function() {
2984
+ var writer = new jspb.BinaryWriter();
2985
+ proto.AccessApiCredential.serializeBinaryToWriter(this, writer);
2986
+ return writer.getResultBuffer();
2987
+ };
2988
+
2989
+
2990
+ /**
2991
+ * Serializes the given message to binary data (in protobuf wire
2992
+ * format), writing to the given BinaryWriter.
2993
+ * @param {!proto.AccessApiCredential} message
2994
+ * @param {!jspb.BinaryWriter} writer
2995
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2996
+ */
2997
+ proto.AccessApiCredential.serializeBinaryToWriter = function(message, writer) {
2998
+ var f = undefined;
2999
+ f = message.getApisecretid();
3000
+ if (f.length > 0) {
3001
+ writer.writeString(
3002
+ 1,
3003
+ f
3004
+ );
3005
+ }
3006
+ f = message.getApisecretkey();
3007
+ if (f.length > 0) {
3008
+ writer.writeString(
3009
+ 2,
3010
+ f
3011
+ );
3012
+ }
3013
+ };
3014
+
3015
+
3016
+ /**
3017
+ * optional string apiSecretId = 1;
3018
+ * @return {string}
3019
+ */
3020
+ proto.AccessApiCredential.prototype.getApisecretid = function() {
3021
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3022
+ };
3023
+
3024
+
3025
+ /**
3026
+ * @param {string} value
3027
+ * @return {!proto.AccessApiCredential} returns this
3028
+ */
3029
+ proto.AccessApiCredential.prototype.setApisecretid = function(value) {
3030
+ return jspb.Message.setProto3StringField(this, 1, value);
3031
+ };
3032
+
3033
+
3034
+ /**
3035
+ * optional string apiSecretKey = 2;
3036
+ * @return {string}
3037
+ */
3038
+ proto.AccessApiCredential.prototype.getApisecretkey = function() {
3039
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3040
+ };
3041
+
3042
+
3043
+ /**
3044
+ * @param {string} value
3045
+ * @return {!proto.AccessApiCredential} returns this
3046
+ */
3047
+ proto.AccessApiCredential.prototype.setApisecretkey = function(value) {
3048
+ return jspb.Message.setProto3StringField(this, 2, value);
3049
+ };
3050
+
3051
+
3052
+
3053
+
3054
+
3055
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3056
+ /**
3057
+ * Creates an object representation of this proto.
3058
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3059
+ * Optional fields that are not set will be set to undefined.
3060
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3061
+ * For the list of reserved names please see:
3062
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3063
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3064
+ * JSPB instance for transitional soy proto support:
3065
+ * http://goto/soy-param-migration
3066
+ * @return {!Object}
3067
+ */
3068
+ proto.AccessCreateRequest.prototype.toObject = function(opt_includeInstance) {
3069
+ return proto.AccessCreateRequest.toObject(opt_includeInstance, this);
3070
+ };
3071
+
3072
+
3073
+ /**
3074
+ * Static version of the {@see toObject} method.
3075
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3076
+ * the JSPB instance for transitional soy proto support:
3077
+ * http://goto/soy-param-migration
3078
+ * @param {!proto.AccessCreateRequest} msg The msg instance to transform.
3079
+ * @return {!Object}
3080
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3081
+ */
3082
+ proto.AccessCreateRequest.toObject = function(includeInstance, msg) {
3083
+ var f, obj = {
3084
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3085
+ userid: jspb.Message.getFieldWithDefault(msg, 2, 0),
3086
+ scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
3087
+ };
3088
+
3089
+ if (includeInstance) {
3090
+ obj.$jspbMessageInstance = msg;
3091
+ }
3092
+ return obj;
3093
+ };
3094
+ }
3095
+
3096
+
3097
+ /**
3098
+ * Deserializes binary data (in protobuf wire format).
3099
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3100
+ * @return {!proto.AccessCreateRequest}
3101
+ */
3102
+ proto.AccessCreateRequest.deserializeBinary = function(bytes) {
3103
+ var reader = new jspb.BinaryReader(bytes);
3104
+ var msg = new proto.AccessCreateRequest;
3105
+ return proto.AccessCreateRequest.deserializeBinaryFromReader(msg, reader);
3106
+ };
3107
+
3108
+
3109
+ /**
3110
+ * Deserializes binary data (in protobuf wire format) from the
3111
+ * given reader into the given message object.
3112
+ * @param {!proto.AccessCreateRequest} msg The message object to deserialize into.
3113
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3114
+ * @return {!proto.AccessCreateRequest}
3115
+ */
3116
+ proto.AccessCreateRequest.deserializeBinaryFromReader = function(msg, reader) {
3117
+ while (reader.nextField()) {
3118
+ if (reader.isEndGroup()) {
3119
+ break;
3120
+ }
3121
+ var field = reader.getFieldNumber();
3122
+ switch (field) {
3123
+ case 1:
3124
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3125
+ msg.setName(value);
3126
+ break;
3127
+ case 2:
3128
+ var value = /** @type {number} */ (reader.readInt64());
3129
+ msg.setUserid(value);
3130
+ break;
3131
+ case 3:
3132
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3133
+ msg.setScopes(value);
3134
+ break;
3135
+ default:
3136
+ reader.skipField();
3137
+ break;
3138
+ }
3139
+ }
3140
+ return msg;
3141
+ };
3142
+
3143
+
3144
+ /**
3145
+ * Serializes the message to binary data (in protobuf wire format).
3146
+ * @return {!Uint8Array}
3147
+ */
3148
+ proto.AccessCreateRequest.prototype.serializeBinary = function() {
3149
+ var writer = new jspb.BinaryWriter();
3150
+ proto.AccessCreateRequest.serializeBinaryToWriter(this, writer);
3151
+ return writer.getResultBuffer();
3152
+ };
3153
+
3154
+
3155
+ /**
3156
+ * Serializes the given message to binary data (in protobuf wire
3157
+ * format), writing to the given BinaryWriter.
3158
+ * @param {!proto.AccessCreateRequest} message
3159
+ * @param {!jspb.BinaryWriter} writer
3160
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3161
+ */
3162
+ proto.AccessCreateRequest.serializeBinaryToWriter = function(message, writer) {
3163
+ var f = undefined;
3164
+ f = message.getName();
3165
+ if (f.length > 0) {
3166
+ writer.writeString(
3167
+ 1,
3168
+ f
3169
+ );
3170
+ }
3171
+ f = message.getUserid();
3172
+ if (f !== 0) {
3173
+ writer.writeInt64(
3174
+ 2,
3175
+ f
3176
+ );
3177
+ }
3178
+ f = message.getScopes();
3179
+ if (f.length > 0) {
3180
+ writer.writeString(
3181
+ 3,
3182
+ f
3183
+ );
3184
+ }
3185
+ };
3186
+
3187
+
3188
+ /**
3189
+ * optional string name = 1;
3190
+ * @return {string}
3191
+ */
3192
+ proto.AccessCreateRequest.prototype.getName = function() {
3193
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3194
+ };
3195
+
3196
+
3197
+ /**
3198
+ * @param {string} value
3199
+ * @return {!proto.AccessCreateRequest} returns this
3200
+ */
3201
+ proto.AccessCreateRequest.prototype.setName = function(value) {
3202
+ return jspb.Message.setProto3StringField(this, 1, value);
3203
+ };
3204
+
3205
+
3206
+ /**
3207
+ * optional int64 userId = 2;
3208
+ * @return {number}
3209
+ */
3210
+ proto.AccessCreateRequest.prototype.getUserid = function() {
3211
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3212
+ };
3213
+
3214
+
3215
+ /**
3216
+ * @param {number} value
3217
+ * @return {!proto.AccessCreateRequest} returns this
3218
+ */
3219
+ proto.AccessCreateRequest.prototype.setUserid = function(value) {
3220
+ return jspb.Message.setProto3IntField(this, 2, value);
3221
+ };
3222
+
3223
+
3224
+ /**
3225
+ * optional string scopes = 3;
3226
+ * @return {string}
3227
+ */
3228
+ proto.AccessCreateRequest.prototype.getScopes = function() {
3229
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3230
+ };
3231
+
3232
+
3233
+ /**
3234
+ * @param {string} value
3235
+ * @return {!proto.AccessCreateRequest} returns this
3236
+ */
3237
+ proto.AccessCreateRequest.prototype.setScopes = function(value) {
3238
+ return jspb.Message.setProto3StringField(this, 3, value);
3239
+ };
3240
+
3241
+
3242
+
3243
+
3244
+
3245
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3246
+ /**
3247
+ * Creates an object representation of this proto.
3248
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3249
+ * Optional fields that are not set will be set to undefined.
3250
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3251
+ * For the list of reserved names please see:
3252
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3253
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3254
+ * JSPB instance for transitional soy proto support:
3255
+ * http://goto/soy-param-migration
3256
+ * @return {!Object}
3257
+ */
3258
+ proto.AuthVerifyToken.prototype.toObject = function(opt_includeInstance) {
3259
+ return proto.AuthVerifyToken.toObject(opt_includeInstance, this);
3260
+ };
3261
+
3262
+
3263
+ /**
3264
+ * Static version of the {@see toObject} method.
3265
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3266
+ * the JSPB instance for transitional soy proto support:
3267
+ * http://goto/soy-param-migration
3268
+ * @param {!proto.AuthVerifyToken} msg The msg instance to transform.
3269
+ * @return {!Object}
3270
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3271
+ */
3272
+ proto.AuthVerifyToken.toObject = function(includeInstance, msg) {
3273
+ var f, obj = {
3274
+ token: jspb.Message.getFieldWithDefault(msg, 1, "")
3275
+ };
3276
+
3277
+ if (includeInstance) {
3278
+ obj.$jspbMessageInstance = msg;
3279
+ }
3280
+ return obj;
3281
+ };
3282
+ }
3283
+
3284
+
3285
+ /**
3286
+ * Deserializes binary data (in protobuf wire format).
3287
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3288
+ * @return {!proto.AuthVerifyToken}
3289
+ */
3290
+ proto.AuthVerifyToken.deserializeBinary = function(bytes) {
3291
+ var reader = new jspb.BinaryReader(bytes);
3292
+ var msg = new proto.AuthVerifyToken;
3293
+ return proto.AuthVerifyToken.deserializeBinaryFromReader(msg, reader);
3294
+ };
3295
+
3296
+
3297
+ /**
3298
+ * Deserializes binary data (in protobuf wire format) from the
3299
+ * given reader into the given message object.
3300
+ * @param {!proto.AuthVerifyToken} msg The message object to deserialize into.
3301
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3302
+ * @return {!proto.AuthVerifyToken}
3303
+ */
3304
+ proto.AuthVerifyToken.deserializeBinaryFromReader = function(msg, reader) {
3305
+ while (reader.nextField()) {
3306
+ if (reader.isEndGroup()) {
3307
+ break;
3308
+ }
3309
+ var field = reader.getFieldNumber();
3310
+ switch (field) {
3311
+ case 1:
3312
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3313
+ msg.setToken(value);
3314
+ break;
3315
+ default:
3316
+ reader.skipField();
3317
+ break;
3318
+ }
3319
+ }
3320
+ return msg;
3321
+ };
3322
+
3323
+
3324
+ /**
3325
+ * Serializes the message to binary data (in protobuf wire format).
3326
+ * @return {!Uint8Array}
3327
+ */
3328
+ proto.AuthVerifyToken.prototype.serializeBinary = function() {
3329
+ var writer = new jspb.BinaryWriter();
3330
+ proto.AuthVerifyToken.serializeBinaryToWriter(this, writer);
3331
+ return writer.getResultBuffer();
3332
+ };
3333
+
3334
+
3335
+ /**
3336
+ * Serializes the given message to binary data (in protobuf wire
3337
+ * format), writing to the given BinaryWriter.
3338
+ * @param {!proto.AuthVerifyToken} message
3339
+ * @param {!jspb.BinaryWriter} writer
3340
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3341
+ */
3342
+ proto.AuthVerifyToken.serializeBinaryToWriter = function(message, writer) {
3343
+ var f = undefined;
3344
+ f = message.getToken();
3345
+ if (f.length > 0) {
3346
+ writer.writeString(
3347
+ 1,
3348
+ f
3349
+ );
3350
+ }
3351
+ };
3352
+
3353
+
3354
+ /**
3355
+ * optional string token = 1;
3356
+ * @return {string}
3357
+ */
3358
+ proto.AuthVerifyToken.prototype.getToken = function() {
3359
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3360
+ };
3361
+
3362
+
3363
+ /**
3364
+ * @param {string} value
3365
+ * @return {!proto.AuthVerifyToken} returns this
3366
+ */
3367
+ proto.AuthVerifyToken.prototype.setToken = function(value) {
3368
+ return jspb.Message.setProto3StringField(this, 1, value);
3369
+ };
3370
+
3371
+
3372
+
3373
+
3374
+
3375
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3376
+ /**
3377
+ * Creates an object representation of this proto.
3378
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3379
+ * Optional fields that are not set will be set to undefined.
3380
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3381
+ * For the list of reserved names please see:
3382
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3383
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3384
+ * JSPB instance for transitional soy proto support:
3385
+ * http://goto/soy-param-migration
3386
+ * @return {!Object}
3387
+ */
3388
+ proto.UpdateAccessPayload.prototype.toObject = function(opt_includeInstance) {
3389
+ return proto.UpdateAccessPayload.toObject(opt_includeInstance, this);
3390
+ };
3391
+
3392
+
3393
+ /**
3394
+ * Static version of the {@see toObject} method.
3395
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3396
+ * the JSPB instance for transitional soy proto support:
3397
+ * http://goto/soy-param-migration
3398
+ * @param {!proto.UpdateAccessPayload} msg The msg instance to transform.
3399
+ * @return {!Object}
3400
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3401
+ */
3402
+ proto.UpdateAccessPayload.toObject = function(includeInstance, msg) {
3403
+ var f, obj = {
3404
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3405
+ id: jspb.Message.getFieldWithDefault(msg, 2, 0),
3406
+ scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
3407
+ };
3408
+
3409
+ if (includeInstance) {
3410
+ obj.$jspbMessageInstance = msg;
3411
+ }
3412
+ return obj;
3413
+ };
3414
+ }
3415
+
3416
+
3417
+ /**
3418
+ * Deserializes binary data (in protobuf wire format).
3419
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3420
+ * @return {!proto.UpdateAccessPayload}
3421
+ */
3422
+ proto.UpdateAccessPayload.deserializeBinary = function(bytes) {
3423
+ var reader = new jspb.BinaryReader(bytes);
3424
+ var msg = new proto.UpdateAccessPayload;
3425
+ return proto.UpdateAccessPayload.deserializeBinaryFromReader(msg, reader);
3426
+ };
3427
+
3428
+
3429
+ /**
3430
+ * Deserializes binary data (in protobuf wire format) from the
3431
+ * given reader into the given message object.
3432
+ * @param {!proto.UpdateAccessPayload} msg The message object to deserialize into.
3433
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3434
+ * @return {!proto.UpdateAccessPayload}
3435
+ */
3436
+ proto.UpdateAccessPayload.deserializeBinaryFromReader = function(msg, reader) {
3437
+ while (reader.nextField()) {
3438
+ if (reader.isEndGroup()) {
3439
+ break;
3440
+ }
3441
+ var field = reader.getFieldNumber();
3442
+ switch (field) {
3443
+ case 1:
3444
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3445
+ msg.setName(value);
3446
+ break;
3447
+ case 2:
3448
+ var value = /** @type {number} */ (reader.readInt64());
3449
+ msg.setId(value);
3450
+ break;
3451
+ case 3:
3452
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3453
+ msg.setScopes(value);
3454
+ break;
3455
+ default:
3456
+ reader.skipField();
3457
+ break;
3458
+ }
3459
+ }
3460
+ return msg;
3461
+ };
3462
+
3463
+
3464
+ /**
3465
+ * Serializes the message to binary data (in protobuf wire format).
3466
+ * @return {!Uint8Array}
3467
+ */
3468
+ proto.UpdateAccessPayload.prototype.serializeBinary = function() {
3469
+ var writer = new jspb.BinaryWriter();
3470
+ proto.UpdateAccessPayload.serializeBinaryToWriter(this, writer);
3471
+ return writer.getResultBuffer();
3472
+ };
3473
+
3474
+
3475
+ /**
3476
+ * Serializes the given message to binary data (in protobuf wire
3477
+ * format), writing to the given BinaryWriter.
3478
+ * @param {!proto.UpdateAccessPayload} message
3479
+ * @param {!jspb.BinaryWriter} writer
3480
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3481
+ */
3482
+ proto.UpdateAccessPayload.serializeBinaryToWriter = function(message, writer) {
3483
+ var f = undefined;
3484
+ f = message.getName();
3485
+ if (f.length > 0) {
3486
+ writer.writeString(
3487
+ 1,
3488
+ f
3489
+ );
3490
+ }
3491
+ f = message.getId();
3492
+ if (f !== 0) {
3493
+ writer.writeInt64(
3494
+ 2,
3495
+ f
3496
+ );
3497
+ }
3498
+ f = message.getScopes();
3499
+ if (f.length > 0) {
3500
+ writer.writeString(
3501
+ 3,
3502
+ f
3503
+ );
3504
+ }
3505
+ };
3506
+
3507
+
3508
+ /**
3509
+ * optional string name = 1;
3510
+ * @return {string}
3511
+ */
3512
+ proto.UpdateAccessPayload.prototype.getName = function() {
3513
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3514
+ };
3515
+
3516
+
3517
+ /**
3518
+ * @param {string} value
3519
+ * @return {!proto.UpdateAccessPayload} returns this
2213
3520
  */
2214
- proto.CheckCompaniesRequest.prototype.serializeBinary = function() {
2215
- var writer = new jspb.BinaryWriter();
2216
- proto.CheckCompaniesRequest.serializeBinaryToWriter(this, writer);
2217
- return writer.getResultBuffer();
3521
+ proto.UpdateAccessPayload.prototype.setName = function(value) {
3522
+ return jspb.Message.setProto3StringField(this, 1, value);
2218
3523
  };
2219
3524
 
2220
3525
 
2221
3526
  /**
2222
- * Serializes the given message to binary data (in protobuf wire
2223
- * format), writing to the given BinaryWriter.
2224
- * @param {!proto.CheckCompaniesRequest} message
2225
- * @param {!jspb.BinaryWriter} writer
2226
- * @suppress {unusedLocalVariables} f is only used for nested messages
3527
+ * optional int64 id = 2;
3528
+ * @return {number}
2227
3529
  */
2228
- proto.CheckCompaniesRequest.serializeBinaryToWriter = function(message, writer) {
2229
- var f = undefined;
2230
- f = message.getCompaniesRef();
2231
- if (f.length > 0) {
2232
- writer.writeString(
2233
- 1,
2234
- f
2235
- );
2236
- }
3530
+ proto.UpdateAccessPayload.prototype.getId = function() {
3531
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2237
3532
  };
2238
3533
 
2239
3534
 
2240
3535
  /**
2241
- * optional string companies_ref = 1;
3536
+ * @param {number} value
3537
+ * @return {!proto.UpdateAccessPayload} returns this
3538
+ */
3539
+ proto.UpdateAccessPayload.prototype.setId = function(value) {
3540
+ return jspb.Message.setProto3IntField(this, 2, value);
3541
+ };
3542
+
3543
+
3544
+ /**
3545
+ * optional string scopes = 3;
2242
3546
  * @return {string}
2243
3547
  */
2244
- proto.CheckCompaniesRequest.prototype.getCompaniesRef = function() {
2245
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3548
+ proto.UpdateAccessPayload.prototype.getScopes = function() {
3549
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2246
3550
  };
2247
3551
 
2248
3552
 
2249
3553
  /**
2250
3554
  * @param {string} value
2251
- * @return {!proto.CheckCompaniesRequest} returns this
3555
+ * @return {!proto.UpdateAccessPayload} returns this
2252
3556
  */
2253
- proto.CheckCompaniesRequest.prototype.setCompaniesRef = function(value) {
2254
- return jspb.Message.setProto3StringField(this, 1, value);
3557
+ proto.UpdateAccessPayload.prototype.setScopes = function(value) {
3558
+ return jspb.Message.setProto3StringField(this, 3, value);
2255
3559
  };
2256
3560
 
2257
3561
 
@@ -2271,8 +3575,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2271
3575
  * http://goto/soy-param-migration
2272
3576
  * @return {!Object}
2273
3577
  */
2274
- proto.AccessApiCredential.prototype.toObject = function(opt_includeInstance) {
2275
- return proto.AccessApiCredential.toObject(opt_includeInstance, this);
3578
+ proto.GetAccessByIdPayload.prototype.toObject = function(opt_includeInstance) {
3579
+ return proto.GetAccessByIdPayload.toObject(opt_includeInstance, this);
2276
3580
  };
2277
3581
 
2278
3582
 
@@ -2281,14 +3585,13 @@ proto.AccessApiCredential.prototype.toObject = function(opt_includeInstance) {
2281
3585
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2282
3586
  * the JSPB instance for transitional soy proto support:
2283
3587
  * http://goto/soy-param-migration
2284
- * @param {!proto.AccessApiCredential} msg The msg instance to transform.
3588
+ * @param {!proto.GetAccessByIdPayload} msg The msg instance to transform.
2285
3589
  * @return {!Object}
2286
3590
  * @suppress {unusedLocalVariables} f is only used for nested messages
2287
3591
  */
2288
- proto.AccessApiCredential.toObject = function(includeInstance, msg) {
3592
+ proto.GetAccessByIdPayload.toObject = function(includeInstance, msg) {
2289
3593
  var f, obj = {
2290
- apisecretid: jspb.Message.getFieldWithDefault(msg, 1, ""),
2291
- apisecretkey: jspb.Message.getFieldWithDefault(msg, 2, "")
3594
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
2292
3595
  };
2293
3596
 
2294
3597
  if (includeInstance) {
@@ -2302,23 +3605,23 @@ apisecretkey: jspb.Message.getFieldWithDefault(msg, 2, "")
2302
3605
  /**
2303
3606
  * Deserializes binary data (in protobuf wire format).
2304
3607
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2305
- * @return {!proto.AccessApiCredential}
3608
+ * @return {!proto.GetAccessByIdPayload}
2306
3609
  */
2307
- proto.AccessApiCredential.deserializeBinary = function(bytes) {
3610
+ proto.GetAccessByIdPayload.deserializeBinary = function(bytes) {
2308
3611
  var reader = new jspb.BinaryReader(bytes);
2309
- var msg = new proto.AccessApiCredential;
2310
- return proto.AccessApiCredential.deserializeBinaryFromReader(msg, reader);
3612
+ var msg = new proto.GetAccessByIdPayload;
3613
+ return proto.GetAccessByIdPayload.deserializeBinaryFromReader(msg, reader);
2311
3614
  };
2312
3615
 
2313
3616
 
2314
3617
  /**
2315
3618
  * Deserializes binary data (in protobuf wire format) from the
2316
3619
  * given reader into the given message object.
2317
- * @param {!proto.AccessApiCredential} msg The message object to deserialize into.
3620
+ * @param {!proto.GetAccessByIdPayload} msg The message object to deserialize into.
2318
3621
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2319
- * @return {!proto.AccessApiCredential}
3622
+ * @return {!proto.GetAccessByIdPayload}
2320
3623
  */
2321
- proto.AccessApiCredential.deserializeBinaryFromReader = function(msg, reader) {
3624
+ proto.GetAccessByIdPayload.deserializeBinaryFromReader = function(msg, reader) {
2322
3625
  while (reader.nextField()) {
2323
3626
  if (reader.isEndGroup()) {
2324
3627
  break;
@@ -2326,12 +3629,8 @@ proto.AccessApiCredential.deserializeBinaryFromReader = function(msg, reader) {
2326
3629
  var field = reader.getFieldNumber();
2327
3630
  switch (field) {
2328
3631
  case 1:
2329
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
2330
- msg.setApisecretid(value);
2331
- break;
2332
- case 2:
2333
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
2334
- msg.setApisecretkey(value);
3632
+ var value = /** @type {number} */ (reader.readInt64());
3633
+ msg.setId(value);
2335
3634
  break;
2336
3635
  default:
2337
3636
  reader.skipField();
@@ -2346,9 +3645,9 @@ proto.AccessApiCredential.deserializeBinaryFromReader = function(msg, reader) {
2346
3645
  * Serializes the message to binary data (in protobuf wire format).
2347
3646
  * @return {!Uint8Array}
2348
3647
  */
2349
- proto.AccessApiCredential.prototype.serializeBinary = function() {
3648
+ proto.GetAccessByIdPayload.prototype.serializeBinary = function() {
2350
3649
  var writer = new jspb.BinaryWriter();
2351
- proto.AccessApiCredential.serializeBinaryToWriter(this, writer);
3650
+ proto.GetAccessByIdPayload.serializeBinaryToWriter(this, writer);
2352
3651
  return writer.getResultBuffer();
2353
3652
  };
2354
3653
 
@@ -2356,62 +3655,37 @@ proto.AccessApiCredential.prototype.serializeBinary = function() {
2356
3655
  /**
2357
3656
  * Serializes the given message to binary data (in protobuf wire
2358
3657
  * format), writing to the given BinaryWriter.
2359
- * @param {!proto.AccessApiCredential} message
3658
+ * @param {!proto.GetAccessByIdPayload} message
2360
3659
  * @param {!jspb.BinaryWriter} writer
2361
3660
  * @suppress {unusedLocalVariables} f is only used for nested messages
2362
3661
  */
2363
- proto.AccessApiCredential.serializeBinaryToWriter = function(message, writer) {
3662
+ proto.GetAccessByIdPayload.serializeBinaryToWriter = function(message, writer) {
2364
3663
  var f = undefined;
2365
- f = message.getApisecretid();
2366
- if (f.length > 0) {
2367
- writer.writeString(
3664
+ f = message.getId();
3665
+ if (f !== 0) {
3666
+ writer.writeInt64(
2368
3667
  1,
2369
3668
  f
2370
3669
  );
2371
3670
  }
2372
- f = message.getApisecretkey();
2373
- if (f.length > 0) {
2374
- writer.writeString(
2375
- 2,
2376
- f
2377
- );
2378
- }
2379
- };
2380
-
2381
-
2382
- /**
2383
- * optional string apiSecretId = 1;
2384
- * @return {string}
2385
- */
2386
- proto.AccessApiCredential.prototype.getApisecretid = function() {
2387
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2388
- };
2389
-
2390
-
2391
- /**
2392
- * @param {string} value
2393
- * @return {!proto.AccessApiCredential} returns this
2394
- */
2395
- proto.AccessApiCredential.prototype.setApisecretid = function(value) {
2396
- return jspb.Message.setProto3StringField(this, 1, value);
2397
3671
  };
2398
3672
 
2399
3673
 
2400
3674
  /**
2401
- * optional string apiSecretKey = 2;
2402
- * @return {string}
3675
+ * optional int64 id = 1;
3676
+ * @return {number}
2403
3677
  */
2404
- proto.AccessApiCredential.prototype.getApisecretkey = function() {
2405
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3678
+ proto.GetAccessByIdPayload.prototype.getId = function() {
3679
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2406
3680
  };
2407
3681
 
2408
3682
 
2409
3683
  /**
2410
- * @param {string} value
2411
- * @return {!proto.AccessApiCredential} returns this
3684
+ * @param {number} value
3685
+ * @return {!proto.GetAccessByIdPayload} returns this
2412
3686
  */
2413
- proto.AccessApiCredential.prototype.setApisecretkey = function(value) {
2414
- return jspb.Message.setProto3StringField(this, 2, value);
3687
+ proto.GetAccessByIdPayload.prototype.setId = function(value) {
3688
+ return jspb.Message.setProto3IntField(this, 1, value);
2415
3689
  };
2416
3690
 
2417
3691
 
@@ -2431,8 +3705,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2431
3705
  * http://goto/soy-param-migration
2432
3706
  * @return {!Object}
2433
3707
  */
2434
- proto.AccessCreateRequest.prototype.toObject = function(opt_includeInstance) {
2435
- return proto.AccessCreateRequest.toObject(opt_includeInstance, this);
3708
+ proto.CreateUserPayload.prototype.toObject = function(opt_includeInstance) {
3709
+ return proto.CreateUserPayload.toObject(opt_includeInstance, this);
2436
3710
  };
2437
3711
 
2438
3712
 
@@ -2441,15 +3715,15 @@ proto.AccessCreateRequest.prototype.toObject = function(opt_includeInstance) {
2441
3715
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2442
3716
  * the JSPB instance for transitional soy proto support:
2443
3717
  * http://goto/soy-param-migration
2444
- * @param {!proto.AccessCreateRequest} msg The msg instance to transform.
3718
+ * @param {!proto.CreateUserPayload} msg The msg instance to transform.
2445
3719
  * @return {!Object}
2446
3720
  * @suppress {unusedLocalVariables} f is only used for nested messages
2447
3721
  */
2448
- proto.AccessCreateRequest.toObject = function(includeInstance, msg) {
3722
+ proto.CreateUserPayload.toObject = function(includeInstance, msg) {
2449
3723
  var f, obj = {
2450
3724
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2451
- userid: jspb.Message.getFieldWithDefault(msg, 2, 0),
2452
- scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
3725
+ email: jspb.Message.getFieldWithDefault(msg, 2, ""),
3726
+ password: jspb.Message.getFieldWithDefault(msg, 3, "")
2453
3727
  };
2454
3728
 
2455
3729
  if (includeInstance) {
@@ -2463,23 +3737,23 @@ scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
2463
3737
  /**
2464
3738
  * Deserializes binary data (in protobuf wire format).
2465
3739
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2466
- * @return {!proto.AccessCreateRequest}
3740
+ * @return {!proto.CreateUserPayload}
2467
3741
  */
2468
- proto.AccessCreateRequest.deserializeBinary = function(bytes) {
3742
+ proto.CreateUserPayload.deserializeBinary = function(bytes) {
2469
3743
  var reader = new jspb.BinaryReader(bytes);
2470
- var msg = new proto.AccessCreateRequest;
2471
- return proto.AccessCreateRequest.deserializeBinaryFromReader(msg, reader);
3744
+ var msg = new proto.CreateUserPayload;
3745
+ return proto.CreateUserPayload.deserializeBinaryFromReader(msg, reader);
2472
3746
  };
2473
3747
 
2474
3748
 
2475
3749
  /**
2476
3750
  * Deserializes binary data (in protobuf wire format) from the
2477
3751
  * given reader into the given message object.
2478
- * @param {!proto.AccessCreateRequest} msg The message object to deserialize into.
3752
+ * @param {!proto.CreateUserPayload} msg The message object to deserialize into.
2479
3753
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2480
- * @return {!proto.AccessCreateRequest}
3754
+ * @return {!proto.CreateUserPayload}
2481
3755
  */
2482
- proto.AccessCreateRequest.deserializeBinaryFromReader = function(msg, reader) {
3756
+ proto.CreateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
2483
3757
  while (reader.nextField()) {
2484
3758
  if (reader.isEndGroup()) {
2485
3759
  break;
@@ -2491,12 +3765,12 @@ proto.AccessCreateRequest.deserializeBinaryFromReader = function(msg, reader) {
2491
3765
  msg.setName(value);
2492
3766
  break;
2493
3767
  case 2:
2494
- var value = /** @type {number} */ (reader.readInt64());
2495
- msg.setUserid(value);
3768
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3769
+ msg.setEmail(value);
2496
3770
  break;
2497
3771
  case 3:
2498
3772
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
2499
- msg.setScopes(value);
3773
+ msg.setPassword(value);
2500
3774
  break;
2501
3775
  default:
2502
3776
  reader.skipField();
@@ -2511,9 +3785,9 @@ proto.AccessCreateRequest.deserializeBinaryFromReader = function(msg, reader) {
2511
3785
  * Serializes the message to binary data (in protobuf wire format).
2512
3786
  * @return {!Uint8Array}
2513
3787
  */
2514
- proto.AccessCreateRequest.prototype.serializeBinary = function() {
3788
+ proto.CreateUserPayload.prototype.serializeBinary = function() {
2515
3789
  var writer = new jspb.BinaryWriter();
2516
- proto.AccessCreateRequest.serializeBinaryToWriter(this, writer);
3790
+ proto.CreateUserPayload.serializeBinaryToWriter(this, writer);
2517
3791
  return writer.getResultBuffer();
2518
3792
  };
2519
3793
 
@@ -2521,11 +3795,11 @@ proto.AccessCreateRequest.prototype.serializeBinary = function() {
2521
3795
  /**
2522
3796
  * Serializes the given message to binary data (in protobuf wire
2523
3797
  * format), writing to the given BinaryWriter.
2524
- * @param {!proto.AccessCreateRequest} message
3798
+ * @param {!proto.CreateUserPayload} message
2525
3799
  * @param {!jspb.BinaryWriter} writer
2526
3800
  * @suppress {unusedLocalVariables} f is only used for nested messages
2527
3801
  */
2528
- proto.AccessCreateRequest.serializeBinaryToWriter = function(message, writer) {
3802
+ proto.CreateUserPayload.serializeBinaryToWriter = function(message, writer) {
2529
3803
  var f = undefined;
2530
3804
  f = message.getName();
2531
3805
  if (f.length > 0) {
@@ -2534,14 +3808,14 @@ proto.AccessCreateRequest.serializeBinaryToWriter = function(message, writer) {
2534
3808
  f
2535
3809
  );
2536
3810
  }
2537
- f = message.getUserid();
2538
- if (f !== 0) {
2539
- writer.writeInt64(
3811
+ f = message.getEmail();
3812
+ if (f.length > 0) {
3813
+ writer.writeString(
2540
3814
  2,
2541
3815
  f
2542
3816
  );
2543
3817
  }
2544
- f = message.getScopes();
3818
+ f = message.getPassword();
2545
3819
  if (f.length > 0) {
2546
3820
  writer.writeString(
2547
3821
  3,
@@ -2555,52 +3829,52 @@ proto.AccessCreateRequest.serializeBinaryToWriter = function(message, writer) {
2555
3829
  * optional string name = 1;
2556
3830
  * @return {string}
2557
3831
  */
2558
- proto.AccessCreateRequest.prototype.getName = function() {
3832
+ proto.CreateUserPayload.prototype.getName = function() {
2559
3833
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2560
3834
  };
2561
3835
 
2562
3836
 
2563
3837
  /**
2564
3838
  * @param {string} value
2565
- * @return {!proto.AccessCreateRequest} returns this
3839
+ * @return {!proto.CreateUserPayload} returns this
2566
3840
  */
2567
- proto.AccessCreateRequest.prototype.setName = function(value) {
3841
+ proto.CreateUserPayload.prototype.setName = function(value) {
2568
3842
  return jspb.Message.setProto3StringField(this, 1, value);
2569
3843
  };
2570
3844
 
2571
3845
 
2572
3846
  /**
2573
- * optional int64 userId = 2;
2574
- * @return {number}
3847
+ * optional string email = 2;
3848
+ * @return {string}
2575
3849
  */
2576
- proto.AccessCreateRequest.prototype.getUserid = function() {
2577
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3850
+ proto.CreateUserPayload.prototype.getEmail = function() {
3851
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2578
3852
  };
2579
3853
 
2580
3854
 
2581
3855
  /**
2582
- * @param {number} value
2583
- * @return {!proto.AccessCreateRequest} returns this
3856
+ * @param {string} value
3857
+ * @return {!proto.CreateUserPayload} returns this
2584
3858
  */
2585
- proto.AccessCreateRequest.prototype.setUserid = function(value) {
2586
- return jspb.Message.setProto3IntField(this, 2, value);
3859
+ proto.CreateUserPayload.prototype.setEmail = function(value) {
3860
+ return jspb.Message.setProto3StringField(this, 2, value);
2587
3861
  };
2588
3862
 
2589
3863
 
2590
3864
  /**
2591
- * optional string scopes = 3;
3865
+ * optional string password = 3;
2592
3866
  * @return {string}
2593
3867
  */
2594
- proto.AccessCreateRequest.prototype.getScopes = function() {
3868
+ proto.CreateUserPayload.prototype.getPassword = function() {
2595
3869
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2596
3870
  };
2597
3871
 
2598
3872
 
2599
3873
  /**
2600
3874
  * @param {string} value
2601
- * @return {!proto.AccessCreateRequest} returns this
3875
+ * @return {!proto.CreateUserPayload} returns this
2602
3876
  */
2603
- proto.AccessCreateRequest.prototype.setScopes = function(value) {
3877
+ proto.CreateUserPayload.prototype.setPassword = function(value) {
2604
3878
  return jspb.Message.setProto3StringField(this, 3, value);
2605
3879
  };
2606
3880
 
@@ -2621,8 +3895,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2621
3895
  * http://goto/soy-param-migration
2622
3896
  * @return {!Object}
2623
3897
  */
2624
- proto.AuthVerifyToken.prototype.toObject = function(opt_includeInstance) {
2625
- return proto.AuthVerifyToken.toObject(opt_includeInstance, this);
3898
+ proto.UpdateUserPayload.prototype.toObject = function(opt_includeInstance) {
3899
+ return proto.UpdateUserPayload.toObject(opt_includeInstance, this);
2626
3900
  };
2627
3901
 
2628
3902
 
@@ -2631,13 +3905,14 @@ proto.AuthVerifyToken.prototype.toObject = function(opt_includeInstance) {
2631
3905
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2632
3906
  * the JSPB instance for transitional soy proto support:
2633
3907
  * http://goto/soy-param-migration
2634
- * @param {!proto.AuthVerifyToken} msg The msg instance to transform.
3908
+ * @param {!proto.UpdateUserPayload} msg The msg instance to transform.
2635
3909
  * @return {!Object}
2636
3910
  * @suppress {unusedLocalVariables} f is only used for nested messages
2637
3911
  */
2638
- proto.AuthVerifyToken.toObject = function(includeInstance, msg) {
3912
+ proto.UpdateUserPayload.toObject = function(includeInstance, msg) {
2639
3913
  var f, obj = {
2640
- token: jspb.Message.getFieldWithDefault(msg, 1, "")
3914
+ email: jspb.Message.getFieldWithDefault(msg, 1, ""),
3915
+ password: jspb.Message.getFieldWithDefault(msg, 2, "")
2641
3916
  };
2642
3917
 
2643
3918
  if (includeInstance) {
@@ -2651,23 +3926,23 @@ token: jspb.Message.getFieldWithDefault(msg, 1, "")
2651
3926
  /**
2652
3927
  * Deserializes binary data (in protobuf wire format).
2653
3928
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2654
- * @return {!proto.AuthVerifyToken}
3929
+ * @return {!proto.UpdateUserPayload}
2655
3930
  */
2656
- proto.AuthVerifyToken.deserializeBinary = function(bytes) {
3931
+ proto.UpdateUserPayload.deserializeBinary = function(bytes) {
2657
3932
  var reader = new jspb.BinaryReader(bytes);
2658
- var msg = new proto.AuthVerifyToken;
2659
- return proto.AuthVerifyToken.deserializeBinaryFromReader(msg, reader);
3933
+ var msg = new proto.UpdateUserPayload;
3934
+ return proto.UpdateUserPayload.deserializeBinaryFromReader(msg, reader);
2660
3935
  };
2661
3936
 
2662
3937
 
2663
3938
  /**
2664
3939
  * Deserializes binary data (in protobuf wire format) from the
2665
3940
  * given reader into the given message object.
2666
- * @param {!proto.AuthVerifyToken} msg The message object to deserialize into.
3941
+ * @param {!proto.UpdateUserPayload} msg The message object to deserialize into.
2667
3942
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2668
- * @return {!proto.AuthVerifyToken}
3943
+ * @return {!proto.UpdateUserPayload}
2669
3944
  */
2670
- proto.AuthVerifyToken.deserializeBinaryFromReader = function(msg, reader) {
3945
+ proto.UpdateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
2671
3946
  while (reader.nextField()) {
2672
3947
  if (reader.isEndGroup()) {
2673
3948
  break;
@@ -2676,7 +3951,11 @@ proto.AuthVerifyToken.deserializeBinaryFromReader = function(msg, reader) {
2676
3951
  switch (field) {
2677
3952
  case 1:
2678
3953
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
2679
- msg.setToken(value);
3954
+ msg.setEmail(value);
3955
+ break;
3956
+ case 2:
3957
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
3958
+ msg.setPassword(value);
2680
3959
  break;
2681
3960
  default:
2682
3961
  reader.skipField();
@@ -2691,9 +3970,9 @@ proto.AuthVerifyToken.deserializeBinaryFromReader = function(msg, reader) {
2691
3970
  * Serializes the message to binary data (in protobuf wire format).
2692
3971
  * @return {!Uint8Array}
2693
3972
  */
2694
- proto.AuthVerifyToken.prototype.serializeBinary = function() {
3973
+ proto.UpdateUserPayload.prototype.serializeBinary = function() {
2695
3974
  var writer = new jspb.BinaryWriter();
2696
- proto.AuthVerifyToken.serializeBinaryToWriter(this, writer);
3975
+ proto.UpdateUserPayload.serializeBinaryToWriter(this, writer);
2697
3976
  return writer.getResultBuffer();
2698
3977
  };
2699
3978
 
@@ -2701,40 +3980,65 @@ proto.AuthVerifyToken.prototype.serializeBinary = function() {
2701
3980
  /**
2702
3981
  * Serializes the given message to binary data (in protobuf wire
2703
3982
  * format), writing to the given BinaryWriter.
2704
- * @param {!proto.AuthVerifyToken} message
3983
+ * @param {!proto.UpdateUserPayload} message
2705
3984
  * @param {!jspb.BinaryWriter} writer
2706
3985
  * @suppress {unusedLocalVariables} f is only used for nested messages
2707
3986
  */
2708
- proto.AuthVerifyToken.serializeBinaryToWriter = function(message, writer) {
3987
+ proto.UpdateUserPayload.serializeBinaryToWriter = function(message, writer) {
2709
3988
  var f = undefined;
2710
- f = message.getToken();
3989
+ f = message.getEmail();
2711
3990
  if (f.length > 0) {
2712
3991
  writer.writeString(
2713
3992
  1,
2714
3993
  f
2715
3994
  );
2716
3995
  }
3996
+ f = message.getPassword();
3997
+ if (f.length > 0) {
3998
+ writer.writeString(
3999
+ 2,
4000
+ f
4001
+ );
4002
+ }
2717
4003
  };
2718
4004
 
2719
4005
 
2720
4006
  /**
2721
- * optional string token = 1;
4007
+ * optional string email = 1;
2722
4008
  * @return {string}
2723
4009
  */
2724
- proto.AuthVerifyToken.prototype.getToken = function() {
4010
+ proto.UpdateUserPayload.prototype.getEmail = function() {
2725
4011
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2726
4012
  };
2727
4013
 
2728
4014
 
2729
4015
  /**
2730
4016
  * @param {string} value
2731
- * @return {!proto.AuthVerifyToken} returns this
4017
+ * @return {!proto.UpdateUserPayload} returns this
2732
4018
  */
2733
- proto.AuthVerifyToken.prototype.setToken = function(value) {
4019
+ proto.UpdateUserPayload.prototype.setEmail = function(value) {
2734
4020
  return jspb.Message.setProto3StringField(this, 1, value);
2735
4021
  };
2736
4022
 
2737
4023
 
4024
+ /**
4025
+ * optional string password = 2;
4026
+ * @return {string}
4027
+ */
4028
+ proto.UpdateUserPayload.prototype.getPassword = function() {
4029
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4030
+ };
4031
+
4032
+
4033
+ /**
4034
+ * @param {string} value
4035
+ * @return {!proto.UpdateUserPayload} returns this
4036
+ */
4037
+ proto.UpdateUserPayload.prototype.setPassword = function(value) {
4038
+ return jspb.Message.setProto3StringField(this, 2, value);
4039
+ };
4040
+
4041
+
2738
4042
 
2739
4043
 
2740
4044
 
@@ -2751,8 +4055,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2751
4055
  * http://goto/soy-param-migration
2752
4056
  * @return {!Object}
2753
4057
  */
2754
- proto.UpdateAccessPayload.prototype.toObject = function(opt_includeInstance) {
2755
- return proto.UpdateAccessPayload.toObject(opt_includeInstance, this);
4058
+ proto.ChangePasswordRequest.prototype.toObject = function(opt_includeInstance) {
4059
+ return proto.ChangePasswordRequest.toObject(opt_includeInstance, this);
2756
4060
  };
2757
4061
 
2758
4062
 
@@ -2761,15 +4065,14 @@ proto.UpdateAccessPayload.prototype.toObject = function(opt_includeInstance) {
2761
4065
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2762
4066
  * the JSPB instance for transitional soy proto support:
2763
4067
  * http://goto/soy-param-migration
2764
- * @param {!proto.UpdateAccessPayload} msg The msg instance to transform.
4068
+ * @param {!proto.ChangePasswordRequest} msg The msg instance to transform.
2765
4069
  * @return {!Object}
2766
4070
  * @suppress {unusedLocalVariables} f is only used for nested messages
2767
4071
  */
2768
- proto.UpdateAccessPayload.toObject = function(includeInstance, msg) {
4072
+ proto.ChangePasswordRequest.toObject = function(includeInstance, msg) {
2769
4073
  var f, obj = {
2770
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2771
- id: jspb.Message.getFieldWithDefault(msg, 2, 0),
2772
- scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
4074
+ oldPassword: jspb.Message.getFieldWithDefault(msg, 1, ""),
4075
+ newPassword: jspb.Message.getFieldWithDefault(msg, 2, "")
2773
4076
  };
2774
4077
 
2775
4078
  if (includeInstance) {
@@ -2783,23 +4086,23 @@ scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
2783
4086
  /**
2784
4087
  * Deserializes binary data (in protobuf wire format).
2785
4088
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2786
- * @return {!proto.UpdateAccessPayload}
4089
+ * @return {!proto.ChangePasswordRequest}
2787
4090
  */
2788
- proto.UpdateAccessPayload.deserializeBinary = function(bytes) {
4091
+ proto.ChangePasswordRequest.deserializeBinary = function(bytes) {
2789
4092
  var reader = new jspb.BinaryReader(bytes);
2790
- var msg = new proto.UpdateAccessPayload;
2791
- return proto.UpdateAccessPayload.deserializeBinaryFromReader(msg, reader);
4093
+ var msg = new proto.ChangePasswordRequest;
4094
+ return proto.ChangePasswordRequest.deserializeBinaryFromReader(msg, reader);
2792
4095
  };
2793
4096
 
2794
4097
 
2795
4098
  /**
2796
4099
  * Deserializes binary data (in protobuf wire format) from the
2797
4100
  * given reader into the given message object.
2798
- * @param {!proto.UpdateAccessPayload} msg The message object to deserialize into.
4101
+ * @param {!proto.ChangePasswordRequest} msg The message object to deserialize into.
2799
4102
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2800
- * @return {!proto.UpdateAccessPayload}
4103
+ * @return {!proto.ChangePasswordRequest}
2801
4104
  */
2802
- proto.UpdateAccessPayload.deserializeBinaryFromReader = function(msg, reader) {
4105
+ proto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
2803
4106
  while (reader.nextField()) {
2804
4107
  if (reader.isEndGroup()) {
2805
4108
  break;
@@ -2808,15 +4111,11 @@ proto.UpdateAccessPayload.deserializeBinaryFromReader = function(msg, reader) {
2808
4111
  switch (field) {
2809
4112
  case 1:
2810
4113
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
2811
- msg.setName(value);
4114
+ msg.setOldPassword(value);
2812
4115
  break;
2813
4116
  case 2:
2814
- var value = /** @type {number} */ (reader.readInt64());
2815
- msg.setId(value);
2816
- break;
2817
- case 3:
2818
4117
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
2819
- msg.setScopes(value);
4118
+ msg.setNewPassword(value);
2820
4119
  break;
2821
4120
  default:
2822
4121
  reader.skipField();
@@ -2831,9 +4130,9 @@ proto.UpdateAccessPayload.deserializeBinaryFromReader = function(msg, reader) {
2831
4130
  * Serializes the message to binary data (in protobuf wire format).
2832
4131
  * @return {!Uint8Array}
2833
4132
  */
2834
- proto.UpdateAccessPayload.prototype.serializeBinary = function() {
4133
+ proto.ChangePasswordRequest.prototype.serializeBinary = function() {
2835
4134
  var writer = new jspb.BinaryWriter();
2836
- proto.UpdateAccessPayload.serializeBinaryToWriter(this, writer);
4135
+ proto.ChangePasswordRequest.serializeBinaryToWriter(this, writer);
2837
4136
  return writer.getResultBuffer();
2838
4137
  };
2839
4138
 
@@ -2841,30 +4140,23 @@ proto.UpdateAccessPayload.prototype.serializeBinary = function() {
2841
4140
  /**
2842
4141
  * Serializes the given message to binary data (in protobuf wire
2843
4142
  * format), writing to the given BinaryWriter.
2844
- * @param {!proto.UpdateAccessPayload} message
4143
+ * @param {!proto.ChangePasswordRequest} message
2845
4144
  * @param {!jspb.BinaryWriter} writer
2846
4145
  * @suppress {unusedLocalVariables} f is only used for nested messages
2847
4146
  */
2848
- proto.UpdateAccessPayload.serializeBinaryToWriter = function(message, writer) {
4147
+ proto.ChangePasswordRequest.serializeBinaryToWriter = function(message, writer) {
2849
4148
  var f = undefined;
2850
- f = message.getName();
4149
+ f = message.getOldPassword();
2851
4150
  if (f.length > 0) {
2852
4151
  writer.writeString(
2853
4152
  1,
2854
4153
  f
2855
4154
  );
2856
4155
  }
2857
- f = message.getId();
2858
- if (f !== 0) {
2859
- writer.writeInt64(
2860
- 2,
2861
- f
2862
- );
2863
- }
2864
- f = message.getScopes();
4156
+ f = message.getNewPassword();
2865
4157
  if (f.length > 0) {
2866
4158
  writer.writeString(
2867
- 3,
4159
+ 2,
2868
4160
  f
2869
4161
  );
2870
4162
  }
@@ -2872,56 +4164,38 @@ proto.UpdateAccessPayload.serializeBinaryToWriter = function(message, writer) {
2872
4164
 
2873
4165
 
2874
4166
  /**
2875
- * optional string name = 1;
4167
+ * optional string old_password = 1;
2876
4168
  * @return {string}
2877
4169
  */
2878
- proto.UpdateAccessPayload.prototype.getName = function() {
4170
+ proto.ChangePasswordRequest.prototype.getOldPassword = function() {
2879
4171
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2880
4172
  };
2881
4173
 
2882
4174
 
2883
4175
  /**
2884
4176
  * @param {string} value
2885
- * @return {!proto.UpdateAccessPayload} returns this
4177
+ * @return {!proto.ChangePasswordRequest} returns this
2886
4178
  */
2887
- proto.UpdateAccessPayload.prototype.setName = function(value) {
4179
+ proto.ChangePasswordRequest.prototype.setOldPassword = function(value) {
2888
4180
  return jspb.Message.setProto3StringField(this, 1, value);
2889
4181
  };
2890
4182
 
2891
4183
 
2892
4184
  /**
2893
- * optional int64 id = 2;
2894
- * @return {number}
2895
- */
2896
- proto.UpdateAccessPayload.prototype.getId = function() {
2897
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2898
- };
2899
-
2900
-
2901
- /**
2902
- * @param {number} value
2903
- * @return {!proto.UpdateAccessPayload} returns this
2904
- */
2905
- proto.UpdateAccessPayload.prototype.setId = function(value) {
2906
- return jspb.Message.setProto3IntField(this, 2, value);
2907
- };
2908
-
2909
-
2910
- /**
2911
- * optional string scopes = 3;
4185
+ * optional string new_password = 2;
2912
4186
  * @return {string}
2913
4187
  */
2914
- proto.UpdateAccessPayload.prototype.getScopes = function() {
2915
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4188
+ proto.ChangePasswordRequest.prototype.getNewPassword = function() {
4189
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2916
4190
  };
2917
4191
 
2918
4192
 
2919
4193
  /**
2920
4194
  * @param {string} value
2921
- * @return {!proto.UpdateAccessPayload} returns this
4195
+ * @return {!proto.ChangePasswordRequest} returns this
2922
4196
  */
2923
- proto.UpdateAccessPayload.prototype.setScopes = function(value) {
2924
- return jspb.Message.setProto3StringField(this, 3, value);
4197
+ proto.ChangePasswordRequest.prototype.setNewPassword = function(value) {
4198
+ return jspb.Message.setProto3StringField(this, 2, value);
2925
4199
  };
2926
4200
 
2927
4201
 
@@ -2941,8 +4215,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2941
4215
  * http://goto/soy-param-migration
2942
4216
  * @return {!Object}
2943
4217
  */
2944
- proto.GetAccessByIdPayload.prototype.toObject = function(opt_includeInstance) {
2945
- return proto.GetAccessByIdPayload.toObject(opt_includeInstance, this);
4218
+ proto.RefreshTokenRequest.prototype.toObject = function(opt_includeInstance) {
4219
+ return proto.RefreshTokenRequest.toObject(opt_includeInstance, this);
2946
4220
  };
2947
4221
 
2948
4222
 
@@ -2951,13 +4225,15 @@ proto.GetAccessByIdPayload.prototype.toObject = function(opt_includeInstance) {
2951
4225
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2952
4226
  * the JSPB instance for transitional soy proto support:
2953
4227
  * http://goto/soy-param-migration
2954
- * @param {!proto.GetAccessByIdPayload} msg The msg instance to transform.
4228
+ * @param {!proto.RefreshTokenRequest} msg The msg instance to transform.
2955
4229
  * @return {!Object}
2956
4230
  * @suppress {unusedLocalVariables} f is only used for nested messages
2957
4231
  */
2958
- proto.GetAccessByIdPayload.toObject = function(includeInstance, msg) {
4232
+ proto.RefreshTokenRequest.toObject = function(includeInstance, msg) {
2959
4233
  var f, obj = {
2960
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
4234
+ refreshToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
4235
+ userAgent: jspb.Message.getFieldWithDefault(msg, 2, ""),
4236
+ ipAddress: jspb.Message.getFieldWithDefault(msg, 3, "")
2961
4237
  };
2962
4238
 
2963
4239
  if (includeInstance) {
@@ -2971,23 +4247,23 @@ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
2971
4247
  /**
2972
4248
  * Deserializes binary data (in protobuf wire format).
2973
4249
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2974
- * @return {!proto.GetAccessByIdPayload}
4250
+ * @return {!proto.RefreshTokenRequest}
2975
4251
  */
2976
- proto.GetAccessByIdPayload.deserializeBinary = function(bytes) {
4252
+ proto.RefreshTokenRequest.deserializeBinary = function(bytes) {
2977
4253
  var reader = new jspb.BinaryReader(bytes);
2978
- var msg = new proto.GetAccessByIdPayload;
2979
- return proto.GetAccessByIdPayload.deserializeBinaryFromReader(msg, reader);
4254
+ var msg = new proto.RefreshTokenRequest;
4255
+ return proto.RefreshTokenRequest.deserializeBinaryFromReader(msg, reader);
2980
4256
  };
2981
4257
 
2982
4258
 
2983
4259
  /**
2984
4260
  * Deserializes binary data (in protobuf wire format) from the
2985
4261
  * given reader into the given message object.
2986
- * @param {!proto.GetAccessByIdPayload} msg The message object to deserialize into.
4262
+ * @param {!proto.RefreshTokenRequest} msg The message object to deserialize into.
2987
4263
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2988
- * @return {!proto.GetAccessByIdPayload}
4264
+ * @return {!proto.RefreshTokenRequest}
2989
4265
  */
2990
- proto.GetAccessByIdPayload.deserializeBinaryFromReader = function(msg, reader) {
4266
+ proto.RefreshTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
2991
4267
  while (reader.nextField()) {
2992
4268
  if (reader.isEndGroup()) {
2993
4269
  break;
@@ -2995,8 +4271,16 @@ proto.GetAccessByIdPayload.deserializeBinaryFromReader = function(msg, reader) {
2995
4271
  var field = reader.getFieldNumber();
2996
4272
  switch (field) {
2997
4273
  case 1:
2998
- var value = /** @type {number} */ (reader.readInt64());
2999
- msg.setId(value);
4274
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4275
+ msg.setRefreshToken(value);
4276
+ break;
4277
+ case 2:
4278
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4279
+ msg.setUserAgent(value);
4280
+ break;
4281
+ case 3:
4282
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4283
+ msg.setIpAddress(value);
3000
4284
  break;
3001
4285
  default:
3002
4286
  reader.skipField();
@@ -3011,9 +4295,9 @@ proto.GetAccessByIdPayload.deserializeBinaryFromReader = function(msg, reader) {
3011
4295
  * Serializes the message to binary data (in protobuf wire format).
3012
4296
  * @return {!Uint8Array}
3013
4297
  */
3014
- proto.GetAccessByIdPayload.prototype.serializeBinary = function() {
4298
+ proto.RefreshTokenRequest.prototype.serializeBinary = function() {
3015
4299
  var writer = new jspb.BinaryWriter();
3016
- proto.GetAccessByIdPayload.serializeBinaryToWriter(this, writer);
4300
+ proto.RefreshTokenRequest.serializeBinaryToWriter(this, writer);
3017
4301
  return writer.getResultBuffer();
3018
4302
  };
3019
4303
 
@@ -3021,37 +4305,87 @@ proto.GetAccessByIdPayload.prototype.serializeBinary = function() {
3021
4305
  /**
3022
4306
  * Serializes the given message to binary data (in protobuf wire
3023
4307
  * format), writing to the given BinaryWriter.
3024
- * @param {!proto.GetAccessByIdPayload} message
4308
+ * @param {!proto.RefreshTokenRequest} message
3025
4309
  * @param {!jspb.BinaryWriter} writer
3026
4310
  * @suppress {unusedLocalVariables} f is only used for nested messages
3027
4311
  */
3028
- proto.GetAccessByIdPayload.serializeBinaryToWriter = function(message, writer) {
4312
+ proto.RefreshTokenRequest.serializeBinaryToWriter = function(message, writer) {
3029
4313
  var f = undefined;
3030
- f = message.getId();
3031
- if (f !== 0) {
3032
- writer.writeInt64(
4314
+ f = message.getRefreshToken();
4315
+ if (f.length > 0) {
4316
+ writer.writeString(
3033
4317
  1,
3034
4318
  f
3035
4319
  );
3036
4320
  }
4321
+ f = message.getUserAgent();
4322
+ if (f.length > 0) {
4323
+ writer.writeString(
4324
+ 2,
4325
+ f
4326
+ );
4327
+ }
4328
+ f = message.getIpAddress();
4329
+ if (f.length > 0) {
4330
+ writer.writeString(
4331
+ 3,
4332
+ f
4333
+ );
4334
+ }
3037
4335
  };
3038
4336
 
3039
4337
 
3040
4338
  /**
3041
- * optional int64 id = 1;
3042
- * @return {number}
4339
+ * optional string refresh_token = 1;
4340
+ * @return {string}
3043
4341
  */
3044
- proto.GetAccessByIdPayload.prototype.getId = function() {
3045
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4342
+ proto.RefreshTokenRequest.prototype.getRefreshToken = function() {
4343
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3046
4344
  };
3047
4345
 
3048
4346
 
3049
4347
  /**
3050
- * @param {number} value
3051
- * @return {!proto.GetAccessByIdPayload} returns this
4348
+ * @param {string} value
4349
+ * @return {!proto.RefreshTokenRequest} returns this
3052
4350
  */
3053
- proto.GetAccessByIdPayload.prototype.setId = function(value) {
3054
- return jspb.Message.setProto3IntField(this, 1, value);
4351
+ proto.RefreshTokenRequest.prototype.setRefreshToken = function(value) {
4352
+ return jspb.Message.setProto3StringField(this, 1, value);
4353
+ };
4354
+
4355
+
4356
+ /**
4357
+ * optional string user_agent = 2;
4358
+ * @return {string}
4359
+ */
4360
+ proto.RefreshTokenRequest.prototype.getUserAgent = function() {
4361
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4362
+ };
4363
+
4364
+
4365
+ /**
4366
+ * @param {string} value
4367
+ * @return {!proto.RefreshTokenRequest} returns this
4368
+ */
4369
+ proto.RefreshTokenRequest.prototype.setUserAgent = function(value) {
4370
+ return jspb.Message.setProto3StringField(this, 2, value);
4371
+ };
4372
+
4373
+
4374
+ /**
4375
+ * optional string ip_address = 3;
4376
+ * @return {string}
4377
+ */
4378
+ proto.RefreshTokenRequest.prototype.getIpAddress = function() {
4379
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4380
+ };
4381
+
4382
+
4383
+ /**
4384
+ * @param {string} value
4385
+ * @return {!proto.RefreshTokenRequest} returns this
4386
+ */
4387
+ proto.RefreshTokenRequest.prototype.setIpAddress = function(value) {
4388
+ return jspb.Message.setProto3StringField(this, 3, value);
3055
4389
  };
3056
4390
 
3057
4391
 
@@ -3071,8 +4405,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3071
4405
  * http://goto/soy-param-migration
3072
4406
  * @return {!Object}
3073
4407
  */
3074
- proto.CreateUserPayload.prototype.toObject = function(opt_includeInstance) {
3075
- return proto.CreateUserPayload.toObject(opt_includeInstance, this);
4408
+ proto.RefreshTokenResponse.prototype.toObject = function(opt_includeInstance) {
4409
+ return proto.RefreshTokenResponse.toObject(opt_includeInstance, this);
3076
4410
  };
3077
4411
 
3078
4412
 
@@ -3081,15 +4415,17 @@ proto.CreateUserPayload.prototype.toObject = function(opt_includeInstance) {
3081
4415
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3082
4416
  * the JSPB instance for transitional soy proto support:
3083
4417
  * http://goto/soy-param-migration
3084
- * @param {!proto.CreateUserPayload} msg The msg instance to transform.
4418
+ * @param {!proto.RefreshTokenResponse} msg The msg instance to transform.
3085
4419
  * @return {!Object}
3086
4420
  * @suppress {unusedLocalVariables} f is only used for nested messages
3087
4421
  */
3088
- proto.CreateUserPayload.toObject = function(includeInstance, msg) {
4422
+ proto.RefreshTokenResponse.toObject = function(includeInstance, msg) {
3089
4423
  var f, obj = {
3090
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3091
- email: jspb.Message.getFieldWithDefault(msg, 2, ""),
3092
- password: jspb.Message.getFieldWithDefault(msg, 3, "")
4424
+ accessToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
4425
+ accessExpiresAt: jspb.Message.getFieldWithDefault(msg, 2, 0),
4426
+ refreshToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
4427
+ refreshExpiresAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
4428
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
3093
4429
  };
3094
4430
 
3095
4431
  if (includeInstance) {
@@ -3103,23 +4439,23 @@ password: jspb.Message.getFieldWithDefault(msg, 3, "")
3103
4439
  /**
3104
4440
  * Deserializes binary data (in protobuf wire format).
3105
4441
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3106
- * @return {!proto.CreateUserPayload}
4442
+ * @return {!proto.RefreshTokenResponse}
3107
4443
  */
3108
- proto.CreateUserPayload.deserializeBinary = function(bytes) {
4444
+ proto.RefreshTokenResponse.deserializeBinary = function(bytes) {
3109
4445
  var reader = new jspb.BinaryReader(bytes);
3110
- var msg = new proto.CreateUserPayload;
3111
- return proto.CreateUserPayload.deserializeBinaryFromReader(msg, reader);
4446
+ var msg = new proto.RefreshTokenResponse;
4447
+ return proto.RefreshTokenResponse.deserializeBinaryFromReader(msg, reader);
3112
4448
  };
3113
4449
 
3114
4450
 
3115
4451
  /**
3116
4452
  * Deserializes binary data (in protobuf wire format) from the
3117
4453
  * given reader into the given message object.
3118
- * @param {!proto.CreateUserPayload} msg The message object to deserialize into.
4454
+ * @param {!proto.RefreshTokenResponse} msg The message object to deserialize into.
3119
4455
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3120
- * @return {!proto.CreateUserPayload}
4456
+ * @return {!proto.RefreshTokenResponse}
3121
4457
  */
3122
- proto.CreateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
4458
+ proto.RefreshTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
3123
4459
  while (reader.nextField()) {
3124
4460
  if (reader.isEndGroup()) {
3125
4461
  break;
@@ -3128,15 +4464,24 @@ proto.CreateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
3128
4464
  switch (field) {
3129
4465
  case 1:
3130
4466
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
3131
- msg.setName(value);
4467
+ msg.setAccessToken(value);
3132
4468
  break;
3133
4469
  case 2:
3134
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3135
- msg.setEmail(value);
4470
+ var value = /** @type {number} */ (reader.readInt64());
4471
+ msg.setAccessExpiresAt(value);
3136
4472
  break;
3137
4473
  case 3:
3138
4474
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
3139
- msg.setPassword(value);
4475
+ msg.setRefreshToken(value);
4476
+ break;
4477
+ case 4:
4478
+ var value = /** @type {number} */ (reader.readInt64());
4479
+ msg.setRefreshExpiresAt(value);
4480
+ break;
4481
+ case 99:
4482
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
4483
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
4484
+ msg.setMeta(value);
3140
4485
  break;
3141
4486
  default:
3142
4487
  reader.skipField();
@@ -3151,9 +4496,9 @@ proto.CreateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
3151
4496
  * Serializes the message to binary data (in protobuf wire format).
3152
4497
  * @return {!Uint8Array}
3153
4498
  */
3154
- proto.CreateUserPayload.prototype.serializeBinary = function() {
4499
+ proto.RefreshTokenResponse.prototype.serializeBinary = function() {
3155
4500
  var writer = new jspb.BinaryWriter();
3156
- proto.CreateUserPayload.serializeBinaryToWriter(this, writer);
4501
+ proto.RefreshTokenResponse.serializeBinaryToWriter(this, writer);
3157
4502
  return writer.getResultBuffer();
3158
4503
  };
3159
4504
 
@@ -3161,90 +4506,160 @@ proto.CreateUserPayload.prototype.serializeBinary = function() {
3161
4506
  /**
3162
4507
  * Serializes the given message to binary data (in protobuf wire
3163
4508
  * format), writing to the given BinaryWriter.
3164
- * @param {!proto.CreateUserPayload} message
4509
+ * @param {!proto.RefreshTokenResponse} message
3165
4510
  * @param {!jspb.BinaryWriter} writer
3166
4511
  * @suppress {unusedLocalVariables} f is only used for nested messages
3167
4512
  */
3168
- proto.CreateUserPayload.serializeBinaryToWriter = function(message, writer) {
4513
+ proto.RefreshTokenResponse.serializeBinaryToWriter = function(message, writer) {
3169
4514
  var f = undefined;
3170
- f = message.getName();
4515
+ f = message.getAccessToken();
3171
4516
  if (f.length > 0) {
3172
4517
  writer.writeString(
3173
4518
  1,
3174
4519
  f
3175
4520
  );
3176
4521
  }
3177
- f = message.getEmail();
3178
- if (f.length > 0) {
3179
- writer.writeString(
4522
+ f = message.getAccessExpiresAt();
4523
+ if (f !== 0) {
4524
+ writer.writeInt64(
3180
4525
  2,
3181
4526
  f
3182
4527
  );
3183
4528
  }
3184
- f = message.getPassword();
4529
+ f = message.getRefreshToken();
3185
4530
  if (f.length > 0) {
3186
4531
  writer.writeString(
3187
4532
  3,
3188
4533
  f
3189
4534
  );
3190
4535
  }
4536
+ f = message.getRefreshExpiresAt();
4537
+ if (f !== 0) {
4538
+ writer.writeInt64(
4539
+ 4,
4540
+ f
4541
+ );
4542
+ }
4543
+ f = message.getMeta();
4544
+ if (f != null) {
4545
+ writer.writeMessage(
4546
+ 99,
4547
+ f,
4548
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
4549
+ );
4550
+ }
3191
4551
  };
3192
4552
 
3193
4553
 
3194
4554
  /**
3195
- * optional string name = 1;
4555
+ * optional string access_token = 1;
3196
4556
  * @return {string}
3197
4557
  */
3198
- proto.CreateUserPayload.prototype.getName = function() {
4558
+ proto.RefreshTokenResponse.prototype.getAccessToken = function() {
3199
4559
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3200
4560
  };
3201
4561
 
3202
4562
 
3203
4563
  /**
3204
4564
  * @param {string} value
3205
- * @return {!proto.CreateUserPayload} returns this
4565
+ * @return {!proto.RefreshTokenResponse} returns this
3206
4566
  */
3207
- proto.CreateUserPayload.prototype.setName = function(value) {
4567
+ proto.RefreshTokenResponse.prototype.setAccessToken = function(value) {
3208
4568
  return jspb.Message.setProto3StringField(this, 1, value);
3209
4569
  };
3210
4570
 
3211
4571
 
3212
4572
  /**
3213
- * optional string email = 2;
3214
- * @return {string}
4573
+ * optional int64 access_expires_at = 2;
4574
+ * @return {number}
3215
4575
  */
3216
- proto.CreateUserPayload.prototype.getEmail = function() {
3217
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4576
+ proto.RefreshTokenResponse.prototype.getAccessExpiresAt = function() {
4577
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3218
4578
  };
3219
4579
 
3220
4580
 
3221
4581
  /**
3222
- * @param {string} value
3223
- * @return {!proto.CreateUserPayload} returns this
4582
+ * @param {number} value
4583
+ * @return {!proto.RefreshTokenResponse} returns this
3224
4584
  */
3225
- proto.CreateUserPayload.prototype.setEmail = function(value) {
3226
- return jspb.Message.setProto3StringField(this, 2, value);
4585
+ proto.RefreshTokenResponse.prototype.setAccessExpiresAt = function(value) {
4586
+ return jspb.Message.setProto3IntField(this, 2, value);
3227
4587
  };
3228
4588
 
3229
4589
 
3230
4590
  /**
3231
- * optional string password = 3;
4591
+ * optional string refresh_token = 3;
3232
4592
  * @return {string}
3233
4593
  */
3234
- proto.CreateUserPayload.prototype.getPassword = function() {
4594
+ proto.RefreshTokenResponse.prototype.getRefreshToken = function() {
3235
4595
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3236
4596
  };
3237
4597
 
3238
4598
 
3239
4599
  /**
3240
4600
  * @param {string} value
3241
- * @return {!proto.CreateUserPayload} returns this
4601
+ * @return {!proto.RefreshTokenResponse} returns this
3242
4602
  */
3243
- proto.CreateUserPayload.prototype.setPassword = function(value) {
4603
+ proto.RefreshTokenResponse.prototype.setRefreshToken = function(value) {
3244
4604
  return jspb.Message.setProto3StringField(this, 3, value);
3245
4605
  };
3246
4606
 
3247
4607
 
4608
+ /**
4609
+ * optional int64 refresh_expires_at = 4;
4610
+ * @return {number}
4611
+ */
4612
+ proto.RefreshTokenResponse.prototype.getRefreshExpiresAt = function() {
4613
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
4614
+ };
4615
+
4616
+
4617
+ /**
4618
+ * @param {number} value
4619
+ * @return {!proto.RefreshTokenResponse} returns this
4620
+ */
4621
+ proto.RefreshTokenResponse.prototype.setRefreshExpiresAt = function(value) {
4622
+ return jspb.Message.setProto3IntField(this, 4, value);
4623
+ };
4624
+
4625
+
4626
+ /**
4627
+ * optional prisca.v1.global.meta.Meta meta = 99;
4628
+ * @return {?proto.prisca.v1.global.meta.Meta}
4629
+ */
4630
+ proto.RefreshTokenResponse.prototype.getMeta = function() {
4631
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
4632
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 99));
4633
+ };
4634
+
4635
+
4636
+ /**
4637
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
4638
+ * @return {!proto.RefreshTokenResponse} returns this
4639
+ */
4640
+ proto.RefreshTokenResponse.prototype.setMeta = function(value) {
4641
+ return jspb.Message.setWrapperField(this, 99, value);
4642
+ };
4643
+
4644
+
4645
+ /**
4646
+ * Clears the message field making it undefined.
4647
+ * @return {!proto.RefreshTokenResponse} returns this
4648
+ */
4649
+ proto.RefreshTokenResponse.prototype.clearMeta = function() {
4650
+ return this.setMeta(undefined);
4651
+ };
4652
+
4653
+
4654
+ /**
4655
+ * Returns whether this field is set.
4656
+ * @return {boolean}
4657
+ */
4658
+ proto.RefreshTokenResponse.prototype.hasMeta = function() {
4659
+ return jspb.Message.getField(this, 99) != null;
4660
+ };
4661
+
4662
+
3248
4663
 
3249
4664
 
3250
4665
 
@@ -3261,8 +4676,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3261
4676
  * http://goto/soy-param-migration
3262
4677
  * @return {!Object}
3263
4678
  */
3264
- proto.UpdateUserPayload.prototype.toObject = function(opt_includeInstance) {
3265
- return proto.UpdateUserPayload.toObject(opt_includeInstance, this);
4679
+ proto.RevokeRefreshTokenRequest.prototype.toObject = function(opt_includeInstance) {
4680
+ return proto.RevokeRefreshTokenRequest.toObject(opt_includeInstance, this);
3266
4681
  };
3267
4682
 
3268
4683
 
@@ -3271,14 +4686,13 @@ proto.UpdateUserPayload.prototype.toObject = function(opt_includeInstance) {
3271
4686
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3272
4687
  * the JSPB instance for transitional soy proto support:
3273
4688
  * http://goto/soy-param-migration
3274
- * @param {!proto.UpdateUserPayload} msg The msg instance to transform.
4689
+ * @param {!proto.RevokeRefreshTokenRequest} msg The msg instance to transform.
3275
4690
  * @return {!Object}
3276
4691
  * @suppress {unusedLocalVariables} f is only used for nested messages
3277
4692
  */
3278
- proto.UpdateUserPayload.toObject = function(includeInstance, msg) {
4693
+ proto.RevokeRefreshTokenRequest.toObject = function(includeInstance, msg) {
3279
4694
  var f, obj = {
3280
- email: jspb.Message.getFieldWithDefault(msg, 1, ""),
3281
- password: jspb.Message.getFieldWithDefault(msg, 2, "")
4695
+ refreshToken: jspb.Message.getFieldWithDefault(msg, 1, "")
3282
4696
  };
3283
4697
 
3284
4698
  if (includeInstance) {
@@ -3292,23 +4706,23 @@ password: jspb.Message.getFieldWithDefault(msg, 2, "")
3292
4706
  /**
3293
4707
  * Deserializes binary data (in protobuf wire format).
3294
4708
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3295
- * @return {!proto.UpdateUserPayload}
4709
+ * @return {!proto.RevokeRefreshTokenRequest}
3296
4710
  */
3297
- proto.UpdateUserPayload.deserializeBinary = function(bytes) {
4711
+ proto.RevokeRefreshTokenRequest.deserializeBinary = function(bytes) {
3298
4712
  var reader = new jspb.BinaryReader(bytes);
3299
- var msg = new proto.UpdateUserPayload;
3300
- return proto.UpdateUserPayload.deserializeBinaryFromReader(msg, reader);
4713
+ var msg = new proto.RevokeRefreshTokenRequest;
4714
+ return proto.RevokeRefreshTokenRequest.deserializeBinaryFromReader(msg, reader);
3301
4715
  };
3302
4716
 
3303
4717
 
3304
4718
  /**
3305
4719
  * Deserializes binary data (in protobuf wire format) from the
3306
4720
  * given reader into the given message object.
3307
- * @param {!proto.UpdateUserPayload} msg The message object to deserialize into.
4721
+ * @param {!proto.RevokeRefreshTokenRequest} msg The message object to deserialize into.
3308
4722
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3309
- * @return {!proto.UpdateUserPayload}
4723
+ * @return {!proto.RevokeRefreshTokenRequest}
3310
4724
  */
3311
- proto.UpdateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
4725
+ proto.RevokeRefreshTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
3312
4726
  while (reader.nextField()) {
3313
4727
  if (reader.isEndGroup()) {
3314
4728
  break;
@@ -3317,11 +4731,7 @@ proto.UpdateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
3317
4731
  switch (field) {
3318
4732
  case 1:
3319
4733
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
3320
- msg.setEmail(value);
3321
- break;
3322
- case 2:
3323
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3324
- msg.setPassword(value);
4734
+ msg.setRefreshToken(value);
3325
4735
  break;
3326
4736
  default:
3327
4737
  reader.skipField();
@@ -3336,9 +4746,9 @@ proto.UpdateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
3336
4746
  * Serializes the message to binary data (in protobuf wire format).
3337
4747
  * @return {!Uint8Array}
3338
4748
  */
3339
- proto.UpdateUserPayload.prototype.serializeBinary = function() {
4749
+ proto.RevokeRefreshTokenRequest.prototype.serializeBinary = function() {
3340
4750
  var writer = new jspb.BinaryWriter();
3341
- proto.UpdateUserPayload.serializeBinaryToWriter(this, writer);
4751
+ proto.RevokeRefreshTokenRequest.serializeBinaryToWriter(this, writer);
3342
4752
  return writer.getResultBuffer();
3343
4753
  };
3344
4754
 
@@ -3346,65 +4756,40 @@ proto.UpdateUserPayload.prototype.serializeBinary = function() {
3346
4756
  /**
3347
4757
  * Serializes the given message to binary data (in protobuf wire
3348
4758
  * format), writing to the given BinaryWriter.
3349
- * @param {!proto.UpdateUserPayload} message
4759
+ * @param {!proto.RevokeRefreshTokenRequest} message
3350
4760
  * @param {!jspb.BinaryWriter} writer
3351
4761
  * @suppress {unusedLocalVariables} f is only used for nested messages
3352
4762
  */
3353
- proto.UpdateUserPayload.serializeBinaryToWriter = function(message, writer) {
4763
+ proto.RevokeRefreshTokenRequest.serializeBinaryToWriter = function(message, writer) {
3354
4764
  var f = undefined;
3355
- f = message.getEmail();
4765
+ f = message.getRefreshToken();
3356
4766
  if (f.length > 0) {
3357
4767
  writer.writeString(
3358
4768
  1,
3359
4769
  f
3360
4770
  );
3361
4771
  }
3362
- f = message.getPassword();
3363
- if (f.length > 0) {
3364
- writer.writeString(
3365
- 2,
3366
- f
3367
- );
3368
- }
3369
4772
  };
3370
4773
 
3371
4774
 
3372
4775
  /**
3373
- * optional string email = 1;
4776
+ * optional string refresh_token = 1;
3374
4777
  * @return {string}
3375
4778
  */
3376
- proto.UpdateUserPayload.prototype.getEmail = function() {
4779
+ proto.RevokeRefreshTokenRequest.prototype.getRefreshToken = function() {
3377
4780
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3378
4781
  };
3379
4782
 
3380
4783
 
3381
4784
  /**
3382
4785
  * @param {string} value
3383
- * @return {!proto.UpdateUserPayload} returns this
4786
+ * @return {!proto.RevokeRefreshTokenRequest} returns this
3384
4787
  */
3385
- proto.UpdateUserPayload.prototype.setEmail = function(value) {
4788
+ proto.RevokeRefreshTokenRequest.prototype.setRefreshToken = function(value) {
3386
4789
  return jspb.Message.setProto3StringField(this, 1, value);
3387
4790
  };
3388
4791
 
3389
4792
 
3390
- /**
3391
- * optional string password = 2;
3392
- * @return {string}
3393
- */
3394
- proto.UpdateUserPayload.prototype.getPassword = function() {
3395
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3396
- };
3397
-
3398
-
3399
- /**
3400
- * @param {string} value
3401
- * @return {!proto.UpdateUserPayload} returns this
3402
- */
3403
- proto.UpdateUserPayload.prototype.setPassword = function(value) {
3404
- return jspb.Message.setProto3StringField(this, 2, value);
3405
- };
3406
-
3407
-
3408
4793
 
3409
4794
 
3410
4795
 
@@ -3421,8 +4806,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3421
4806
  * http://goto/soy-param-migration
3422
4807
  * @return {!Object}
3423
4808
  */
3424
- proto.ChangePasswordRequest.prototype.toObject = function(opt_includeInstance) {
3425
- return proto.ChangePasswordRequest.toObject(opt_includeInstance, this);
4809
+ proto.RevokeRefreshTokenResponse.prototype.toObject = function(opt_includeInstance) {
4810
+ return proto.RevokeRefreshTokenResponse.toObject(opt_includeInstance, this);
3426
4811
  };
3427
4812
 
3428
4813
 
@@ -3431,14 +4816,14 @@ proto.ChangePasswordRequest.prototype.toObject = function(opt_includeInstance) {
3431
4816
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3432
4817
  * the JSPB instance for transitional soy proto support:
3433
4818
  * http://goto/soy-param-migration
3434
- * @param {!proto.ChangePasswordRequest} msg The msg instance to transform.
4819
+ * @param {!proto.RevokeRefreshTokenResponse} msg The msg instance to transform.
3435
4820
  * @return {!Object}
3436
4821
  * @suppress {unusedLocalVariables} f is only used for nested messages
3437
4822
  */
3438
- proto.ChangePasswordRequest.toObject = function(includeInstance, msg) {
4823
+ proto.RevokeRefreshTokenResponse.toObject = function(includeInstance, msg) {
3439
4824
  var f, obj = {
3440
- oldPassword: jspb.Message.getFieldWithDefault(msg, 1, ""),
3441
- newPassword: jspb.Message.getFieldWithDefault(msg, 2, "")
4825
+ success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
4826
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
3442
4827
  };
3443
4828
 
3444
4829
  if (includeInstance) {
@@ -3452,23 +4837,23 @@ newPassword: jspb.Message.getFieldWithDefault(msg, 2, "")
3452
4837
  /**
3453
4838
  * Deserializes binary data (in protobuf wire format).
3454
4839
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3455
- * @return {!proto.ChangePasswordRequest}
4840
+ * @return {!proto.RevokeRefreshTokenResponse}
3456
4841
  */
3457
- proto.ChangePasswordRequest.deserializeBinary = function(bytes) {
4842
+ proto.RevokeRefreshTokenResponse.deserializeBinary = function(bytes) {
3458
4843
  var reader = new jspb.BinaryReader(bytes);
3459
- var msg = new proto.ChangePasswordRequest;
3460
- return proto.ChangePasswordRequest.deserializeBinaryFromReader(msg, reader);
4844
+ var msg = new proto.RevokeRefreshTokenResponse;
4845
+ return proto.RevokeRefreshTokenResponse.deserializeBinaryFromReader(msg, reader);
3461
4846
  };
3462
4847
 
3463
4848
 
3464
4849
  /**
3465
4850
  * Deserializes binary data (in protobuf wire format) from the
3466
4851
  * given reader into the given message object.
3467
- * @param {!proto.ChangePasswordRequest} msg The message object to deserialize into.
4852
+ * @param {!proto.RevokeRefreshTokenResponse} msg The message object to deserialize into.
3468
4853
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3469
- * @return {!proto.ChangePasswordRequest}
4854
+ * @return {!proto.RevokeRefreshTokenResponse}
3470
4855
  */
3471
- proto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
4856
+ proto.RevokeRefreshTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
3472
4857
  while (reader.nextField()) {
3473
4858
  if (reader.isEndGroup()) {
3474
4859
  break;
@@ -3476,12 +4861,13 @@ proto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader)
3476
4861
  var field = reader.getFieldNumber();
3477
4862
  switch (field) {
3478
4863
  case 1:
3479
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3480
- msg.setOldPassword(value);
4864
+ var value = /** @type {boolean} */ (reader.readBool());
4865
+ msg.setSuccess(value);
3481
4866
  break;
3482
- case 2:
3483
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3484
- msg.setNewPassword(value);
4867
+ case 99:
4868
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
4869
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
4870
+ msg.setMeta(value);
3485
4871
  break;
3486
4872
  default:
3487
4873
  reader.skipField();
@@ -3496,9 +4882,9 @@ proto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader)
3496
4882
  * Serializes the message to binary data (in protobuf wire format).
3497
4883
  * @return {!Uint8Array}
3498
4884
  */
3499
- proto.ChangePasswordRequest.prototype.serializeBinary = function() {
4885
+ proto.RevokeRefreshTokenResponse.prototype.serializeBinary = function() {
3500
4886
  var writer = new jspb.BinaryWriter();
3501
- proto.ChangePasswordRequest.serializeBinaryToWriter(this, writer);
4887
+ proto.RevokeRefreshTokenResponse.serializeBinaryToWriter(this, writer);
3502
4888
  return writer.getResultBuffer();
3503
4889
  };
3504
4890
 
@@ -3506,62 +4892,82 @@ proto.ChangePasswordRequest.prototype.serializeBinary = function() {
3506
4892
  /**
3507
4893
  * Serializes the given message to binary data (in protobuf wire
3508
4894
  * format), writing to the given BinaryWriter.
3509
- * @param {!proto.ChangePasswordRequest} message
4895
+ * @param {!proto.RevokeRefreshTokenResponse} message
3510
4896
  * @param {!jspb.BinaryWriter} writer
3511
4897
  * @suppress {unusedLocalVariables} f is only used for nested messages
3512
4898
  */
3513
- proto.ChangePasswordRequest.serializeBinaryToWriter = function(message, writer) {
4899
+ proto.RevokeRefreshTokenResponse.serializeBinaryToWriter = function(message, writer) {
3514
4900
  var f = undefined;
3515
- f = message.getOldPassword();
3516
- if (f.length > 0) {
3517
- writer.writeString(
4901
+ f = message.getSuccess();
4902
+ if (f) {
4903
+ writer.writeBool(
3518
4904
  1,
3519
4905
  f
3520
4906
  );
3521
4907
  }
3522
- f = message.getNewPassword();
3523
- if (f.length > 0) {
3524
- writer.writeString(
3525
- 2,
3526
- f
4908
+ f = message.getMeta();
4909
+ if (f != null) {
4910
+ writer.writeMessage(
4911
+ 99,
4912
+ f,
4913
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
3527
4914
  );
3528
4915
  }
3529
4916
  };
3530
4917
 
3531
4918
 
3532
4919
  /**
3533
- * optional string old_password = 1;
3534
- * @return {string}
4920
+ * optional bool success = 1;
4921
+ * @return {boolean}
3535
4922
  */
3536
- proto.ChangePasswordRequest.prototype.getOldPassword = function() {
3537
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4923
+ proto.RevokeRefreshTokenResponse.prototype.getSuccess = function() {
4924
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
3538
4925
  };
3539
4926
 
3540
4927
 
3541
4928
  /**
3542
- * @param {string} value
3543
- * @return {!proto.ChangePasswordRequest} returns this
4929
+ * @param {boolean} value
4930
+ * @return {!proto.RevokeRefreshTokenResponse} returns this
3544
4931
  */
3545
- proto.ChangePasswordRequest.prototype.setOldPassword = function(value) {
3546
- return jspb.Message.setProto3StringField(this, 1, value);
4932
+ proto.RevokeRefreshTokenResponse.prototype.setSuccess = function(value) {
4933
+ return jspb.Message.setProto3BooleanField(this, 1, value);
3547
4934
  };
3548
4935
 
3549
4936
 
3550
4937
  /**
3551
- * optional string new_password = 2;
3552
- * @return {string}
4938
+ * optional prisca.v1.global.meta.Meta meta = 99;
4939
+ * @return {?proto.prisca.v1.global.meta.Meta}
3553
4940
  */
3554
- proto.ChangePasswordRequest.prototype.getNewPassword = function() {
3555
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4941
+ proto.RevokeRefreshTokenResponse.prototype.getMeta = function() {
4942
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
4943
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 99));
3556
4944
  };
3557
4945
 
3558
4946
 
3559
4947
  /**
3560
- * @param {string} value
3561
- * @return {!proto.ChangePasswordRequest} returns this
4948
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
4949
+ * @return {!proto.RevokeRefreshTokenResponse} returns this
4950
+ */
4951
+ proto.RevokeRefreshTokenResponse.prototype.setMeta = function(value) {
4952
+ return jspb.Message.setWrapperField(this, 99, value);
4953
+ };
4954
+
4955
+
4956
+ /**
4957
+ * Clears the message field making it undefined.
4958
+ * @return {!proto.RevokeRefreshTokenResponse} returns this
3562
4959
  */
3563
- proto.ChangePasswordRequest.prototype.setNewPassword = function(value) {
3564
- return jspb.Message.setProto3StringField(this, 2, value);
4960
+ proto.RevokeRefreshTokenResponse.prototype.clearMeta = function() {
4961
+ return this.setMeta(undefined);
4962
+ };
4963
+
4964
+
4965
+ /**
4966
+ * Returns whether this field is set.
4967
+ * @return {boolean}
4968
+ */
4969
+ proto.RevokeRefreshTokenResponse.prototype.hasMeta = function() {
4970
+ return jspb.Message.getField(this, 99) != null;
3565
4971
  };
3566
4972
 
3567
4973
 
@@ -4061,7 +5467,10 @@ actionsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
4061
5467
  transactionBuildersList: jspb.Message.toObjectList(msg.getTransactionBuildersList(),
4062
5468
  prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilder.toObject, includeInstance),
4063
5469
  employees: (f = msg.getEmployees()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
4064
- avatar: jspb.Message.getFieldWithDefault(msg, 10, "")
5470
+ avatar: jspb.Message.getFieldWithDefault(msg, 10, ""),
5471
+ refreshToken: jspb.Message.getFieldWithDefault(msg, 11, ""),
5472
+ accessExpiresAt: jspb.Message.getFieldWithDefault(msg, 12, 0),
5473
+ refreshExpiresAt: jspb.Message.getFieldWithDefault(msg, 13, 0)
4065
5474
  };
4066
5475
 
4067
5476
  if (includeInstance) {
@@ -4141,6 +5550,18 @@ proto.CheckCompaniesResponse.deserializeBinaryFromReader = function(msg, reader)
4141
5550
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
4142
5551
  msg.setAvatar(value);
4143
5552
  break;
5553
+ case 11:
5554
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
5555
+ msg.setRefreshToken(value);
5556
+ break;
5557
+ case 12:
5558
+ var value = /** @type {number} */ (reader.readInt64());
5559
+ msg.setAccessExpiresAt(value);
5560
+ break;
5561
+ case 13:
5562
+ var value = /** @type {number} */ (reader.readInt64());
5563
+ msg.setRefreshExpiresAt(value);
5564
+ break;
4144
5565
  default:
4145
5566
  reader.skipField();
4146
5567
  break;
@@ -4243,6 +5664,27 @@ proto.CheckCompaniesResponse.serializeBinaryToWriter = function(message, writer)
4243
5664
  f
4244
5665
  );
4245
5666
  }
5667
+ f = message.getRefreshToken();
5668
+ if (f.length > 0) {
5669
+ writer.writeString(
5670
+ 11,
5671
+ f
5672
+ );
5673
+ }
5674
+ f = message.getAccessExpiresAt();
5675
+ if (f !== 0) {
5676
+ writer.writeInt64(
5677
+ 12,
5678
+ f
5679
+ );
5680
+ }
5681
+ f = message.getRefreshExpiresAt();
5682
+ if (f !== 0) {
5683
+ writer.writeInt64(
5684
+ 13,
5685
+ f
5686
+ );
5687
+ }
4246
5688
  };
4247
5689
 
4248
5690
 
@@ -4504,6 +5946,60 @@ proto.CheckCompaniesResponse.prototype.setAvatar = function(value) {
4504
5946
  };
4505
5947
 
4506
5948
 
5949
+ /**
5950
+ * optional string refresh_token = 11;
5951
+ * @return {string}
5952
+ */
5953
+ proto.CheckCompaniesResponse.prototype.getRefreshToken = function() {
5954
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
5955
+ };
5956
+
5957
+
5958
+ /**
5959
+ * @param {string} value
5960
+ * @return {!proto.CheckCompaniesResponse} returns this
5961
+ */
5962
+ proto.CheckCompaniesResponse.prototype.setRefreshToken = function(value) {
5963
+ return jspb.Message.setProto3StringField(this, 11, value);
5964
+ };
5965
+
5966
+
5967
+ /**
5968
+ * optional int64 access_expires_at = 12;
5969
+ * @return {number}
5970
+ */
5971
+ proto.CheckCompaniesResponse.prototype.getAccessExpiresAt = function() {
5972
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
5973
+ };
5974
+
5975
+
5976
+ /**
5977
+ * @param {number} value
5978
+ * @return {!proto.CheckCompaniesResponse} returns this
5979
+ */
5980
+ proto.CheckCompaniesResponse.prototype.setAccessExpiresAt = function(value) {
5981
+ return jspb.Message.setProto3IntField(this, 12, value);
5982
+ };
5983
+
5984
+
5985
+ /**
5986
+ * optional int64 refresh_expires_at = 13;
5987
+ * @return {number}
5988
+ */
5989
+ proto.CheckCompaniesResponse.prototype.getRefreshExpiresAt = function() {
5990
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
5991
+ };
5992
+
5993
+
5994
+ /**
5995
+ * @param {number} value
5996
+ * @return {!proto.CheckCompaniesResponse} returns this
5997
+ */
5998
+ proto.CheckCompaniesResponse.prototype.setRefreshExpiresAt = function(value) {
5999
+ return jspb.Message.setProto3IntField(this, 13, value);
6000
+ };
6001
+
6002
+
4507
6003
 
4508
6004
 
4509
6005