protobuf-platform 1.2.729 → 1.2.731

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/user/user_pb.js CHANGED
@@ -37,6 +37,8 @@ goog.exportSymbol('proto.user.BatchGetAffiliateAttributionRequest', null, global
37
37
  goog.exportSymbol('proto.user.BatchGetAffiliateAttributionResponse', null, global);
38
38
  goog.exportSymbol('proto.user.BeginUserTwoFaSetupRequest', null, global);
39
39
  goog.exportSymbol('proto.user.BeginUserTwoFaSetupResponse', null, global);
40
+ goog.exportSymbol('proto.user.BeginWithdrawalTwoFaAuthorizationRequest', null, global);
41
+ goog.exportSymbol('proto.user.BeginWithdrawalTwoFaAuthorizationResponse', null, global);
40
42
  goog.exportSymbol('proto.user.CalculatedRestrictionLimit', null, global);
41
43
  goog.exportSymbol('proto.user.CategoryItem', null, global);
42
44
  goog.exportSymbol('proto.user.CategoryItemsResponse', null, global);
@@ -342,6 +344,8 @@ goog.exportSymbol('proto.user.VerificationStatus', null, global);
342
344
  goog.exportSymbol('proto.user.VerificationStatusItemsResponse', null, global);
343
345
  goog.exportSymbol('proto.user.VerifySmsResetPasswordCodeRequest', null, global);
344
346
  goog.exportSymbol('proto.user.VerifySmsResetPasswordCodeResponse', null, global);
347
+ goog.exportSymbol('proto.user.VerifyWithdrawalTwoFaAuthorizationRequest', null, global);
348
+ goog.exportSymbol('proto.user.VerifyWithdrawalTwoFaAuthorizationResponse', null, global);
345
349
  goog.exportSymbol('proto.user.VkCommonIdLoginRequest', null, global);
346
350
  goog.exportSymbol('proto.user.WalletPreferenceResponse', null, global);
347
351
  goog.exportSymbol('proto.user.XLoginRequest', null, global);
@@ -850,6 +854,90 @@ if (goog.DEBUG && !COMPILED) {
850
854
  */
851
855
  proto.user.ConfirmUserTwoFaActionResponse.displayName = 'proto.user.ConfirmUserTwoFaActionResponse';
852
856
  }
857
+ /**
858
+ * Generated by JsPbCodeGenerator.
859
+ * @param {Array=} opt_data Optional initial data array, typically from a
860
+ * server response, or constructed directly in Javascript. The array is used
861
+ * in place and becomes part of the constructed object. It is not cloned.
862
+ * If no data is provided, the constructed object will be empty, but still
863
+ * valid.
864
+ * @extends {jspb.Message}
865
+ * @constructor
866
+ */
867
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest = function(opt_data) {
868
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
869
+ };
870
+ goog.inherits(proto.user.BeginWithdrawalTwoFaAuthorizationRequest, jspb.Message);
871
+ if (goog.DEBUG && !COMPILED) {
872
+ /**
873
+ * @public
874
+ * @override
875
+ */
876
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.displayName = 'proto.user.BeginWithdrawalTwoFaAuthorizationRequest';
877
+ }
878
+ /**
879
+ * Generated by JsPbCodeGenerator.
880
+ * @param {Array=} opt_data Optional initial data array, typically from a
881
+ * server response, or constructed directly in Javascript. The array is used
882
+ * in place and becomes part of the constructed object. It is not cloned.
883
+ * If no data is provided, the constructed object will be empty, but still
884
+ * valid.
885
+ * @extends {jspb.Message}
886
+ * @constructor
887
+ */
888
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse = function(opt_data) {
889
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
890
+ };
891
+ goog.inherits(proto.user.BeginWithdrawalTwoFaAuthorizationResponse, jspb.Message);
892
+ if (goog.DEBUG && !COMPILED) {
893
+ /**
894
+ * @public
895
+ * @override
896
+ */
897
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.displayName = 'proto.user.BeginWithdrawalTwoFaAuthorizationResponse';
898
+ }
899
+ /**
900
+ * Generated by JsPbCodeGenerator.
901
+ * @param {Array=} opt_data Optional initial data array, typically from a
902
+ * server response, or constructed directly in Javascript. The array is used
903
+ * in place and becomes part of the constructed object. It is not cloned.
904
+ * If no data is provided, the constructed object will be empty, but still
905
+ * valid.
906
+ * @extends {jspb.Message}
907
+ * @constructor
908
+ */
909
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest = function(opt_data) {
910
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
911
+ };
912
+ goog.inherits(proto.user.VerifyWithdrawalTwoFaAuthorizationRequest, jspb.Message);
913
+ if (goog.DEBUG && !COMPILED) {
914
+ /**
915
+ * @public
916
+ * @override
917
+ */
918
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.displayName = 'proto.user.VerifyWithdrawalTwoFaAuthorizationRequest';
919
+ }
920
+ /**
921
+ * Generated by JsPbCodeGenerator.
922
+ * @param {Array=} opt_data Optional initial data array, typically from a
923
+ * server response, or constructed directly in Javascript. The array is used
924
+ * in place and becomes part of the constructed object. It is not cloned.
925
+ * If no data is provided, the constructed object will be empty, but still
926
+ * valid.
927
+ * @extends {jspb.Message}
928
+ * @constructor
929
+ */
930
+ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse = function(opt_data) {
931
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
932
+ };
933
+ goog.inherits(proto.user.VerifyWithdrawalTwoFaAuthorizationResponse, jspb.Message);
934
+ if (goog.DEBUG && !COMPILED) {
935
+ /**
936
+ * @public
937
+ * @override
938
+ */
939
+ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.displayName = 'proto.user.VerifyWithdrawalTwoFaAuthorizationResponse';
940
+ }
853
941
  /**
854
942
  * Generated by JsPbCodeGenerator.
855
943
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -21708,6 +21796,802 @@ proto.user.ConfirmUserTwoFaActionResponse.prototype.hasMetadata = function() {
21708
21796
 
21709
21797
 
21710
21798
 
21799
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21800
+ /**
21801
+ * Creates an object representation of this proto.
21802
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21803
+ * Optional fields that are not set will be set to undefined.
21804
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21805
+ * For the list of reserved names please see:
21806
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21807
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21808
+ * JSPB instance for transitional soy proto support:
21809
+ * http://goto/soy-param-migration
21810
+ * @return {!Object}
21811
+ */
21812
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.prototype.toObject = function(opt_includeInstance) {
21813
+ return proto.user.BeginWithdrawalTwoFaAuthorizationRequest.toObject(opt_includeInstance, this);
21814
+ };
21815
+
21816
+
21817
+ /**
21818
+ * Static version of the {@see toObject} method.
21819
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21820
+ * the JSPB instance for transitional soy proto support:
21821
+ * http://goto/soy-param-migration
21822
+ * @param {!proto.user.BeginWithdrawalTwoFaAuthorizationRequest} msg The msg instance to transform.
21823
+ * @return {!Object}
21824
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21825
+ */
21826
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.toObject = function(includeInstance, msg) {
21827
+ var f, obj = {
21828
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
21829
+ userSessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
21830
+ intentHash: jspb.Message.getFieldWithDefault(msg, 3, "")
21831
+ };
21832
+
21833
+ if (includeInstance) {
21834
+ obj.$jspbMessageInstance = msg;
21835
+ }
21836
+ return obj;
21837
+ };
21838
+ }
21839
+
21840
+
21841
+ /**
21842
+ * Deserializes binary data (in protobuf wire format).
21843
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
21844
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationRequest}
21845
+ */
21846
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.deserializeBinary = function(bytes) {
21847
+ var reader = new jspb.BinaryReader(bytes);
21848
+ var msg = new proto.user.BeginWithdrawalTwoFaAuthorizationRequest;
21849
+ return proto.user.BeginWithdrawalTwoFaAuthorizationRequest.deserializeBinaryFromReader(msg, reader);
21850
+ };
21851
+
21852
+
21853
+ /**
21854
+ * Deserializes binary data (in protobuf wire format) from the
21855
+ * given reader into the given message object.
21856
+ * @param {!proto.user.BeginWithdrawalTwoFaAuthorizationRequest} msg The message object to deserialize into.
21857
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
21858
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationRequest}
21859
+ */
21860
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.deserializeBinaryFromReader = function(msg, reader) {
21861
+ while (reader.nextField()) {
21862
+ if (reader.isEndGroup()) {
21863
+ break;
21864
+ }
21865
+ var field = reader.getFieldNumber();
21866
+ switch (field) {
21867
+ case 1:
21868
+ var value = /** @type {number} */ (reader.readInt32());
21869
+ msg.setUserId(value);
21870
+ break;
21871
+ case 2:
21872
+ var value = /** @type {string} */ (reader.readString());
21873
+ msg.setUserSessionId(value);
21874
+ break;
21875
+ case 3:
21876
+ var value = /** @type {string} */ (reader.readString());
21877
+ msg.setIntentHash(value);
21878
+ break;
21879
+ default:
21880
+ reader.skipField();
21881
+ break;
21882
+ }
21883
+ }
21884
+ return msg;
21885
+ };
21886
+
21887
+
21888
+ /**
21889
+ * Serializes the message to binary data (in protobuf wire format).
21890
+ * @return {!Uint8Array}
21891
+ */
21892
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.prototype.serializeBinary = function() {
21893
+ var writer = new jspb.BinaryWriter();
21894
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.serializeBinaryToWriter(this, writer);
21895
+ return writer.getResultBuffer();
21896
+ };
21897
+
21898
+
21899
+ /**
21900
+ * Serializes the given message to binary data (in protobuf wire
21901
+ * format), writing to the given BinaryWriter.
21902
+ * @param {!proto.user.BeginWithdrawalTwoFaAuthorizationRequest} message
21903
+ * @param {!jspb.BinaryWriter} writer
21904
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21905
+ */
21906
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.serializeBinaryToWriter = function(message, writer) {
21907
+ var f = undefined;
21908
+ f = message.getUserId();
21909
+ if (f !== 0) {
21910
+ writer.writeInt32(
21911
+ 1,
21912
+ f
21913
+ );
21914
+ }
21915
+ f = message.getUserSessionId();
21916
+ if (f.length > 0) {
21917
+ writer.writeString(
21918
+ 2,
21919
+ f
21920
+ );
21921
+ }
21922
+ f = message.getIntentHash();
21923
+ if (f.length > 0) {
21924
+ writer.writeString(
21925
+ 3,
21926
+ f
21927
+ );
21928
+ }
21929
+ };
21930
+
21931
+
21932
+ /**
21933
+ * optional int32 user_id = 1;
21934
+ * @return {number}
21935
+ */
21936
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.prototype.getUserId = function() {
21937
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
21938
+ };
21939
+
21940
+
21941
+ /**
21942
+ * @param {number} value
21943
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationRequest} returns this
21944
+ */
21945
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.prototype.setUserId = function(value) {
21946
+ return jspb.Message.setProto3IntField(this, 1, value);
21947
+ };
21948
+
21949
+
21950
+ /**
21951
+ * optional string user_session_id = 2;
21952
+ * @return {string}
21953
+ */
21954
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.prototype.getUserSessionId = function() {
21955
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
21956
+ };
21957
+
21958
+
21959
+ /**
21960
+ * @param {string} value
21961
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationRequest} returns this
21962
+ */
21963
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.prototype.setUserSessionId = function(value) {
21964
+ return jspb.Message.setProto3StringField(this, 2, value);
21965
+ };
21966
+
21967
+
21968
+ /**
21969
+ * optional string intent_hash = 3;
21970
+ * @return {string}
21971
+ */
21972
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.prototype.getIntentHash = function() {
21973
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
21974
+ };
21975
+
21976
+
21977
+ /**
21978
+ * @param {string} value
21979
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationRequest} returns this
21980
+ */
21981
+ proto.user.BeginWithdrawalTwoFaAuthorizationRequest.prototype.setIntentHash = function(value) {
21982
+ return jspb.Message.setProto3StringField(this, 3, value);
21983
+ };
21984
+
21985
+
21986
+
21987
+
21988
+
21989
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21990
+ /**
21991
+ * Creates an object representation of this proto.
21992
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21993
+ * Optional fields that are not set will be set to undefined.
21994
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21995
+ * For the list of reserved names please see:
21996
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21997
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21998
+ * JSPB instance for transitional soy proto support:
21999
+ * http://goto/soy-param-migration
22000
+ * @return {!Object}
22001
+ */
22002
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.toObject = function(opt_includeInstance) {
22003
+ return proto.user.BeginWithdrawalTwoFaAuthorizationResponse.toObject(opt_includeInstance, this);
22004
+ };
22005
+
22006
+
22007
+ /**
22008
+ * Static version of the {@see toObject} method.
22009
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22010
+ * the JSPB instance for transitional soy proto support:
22011
+ * http://goto/soy-param-migration
22012
+ * @param {!proto.user.BeginWithdrawalTwoFaAuthorizationResponse} msg The msg instance to transform.
22013
+ * @return {!Object}
22014
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22015
+ */
22016
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.toObject = function(includeInstance, msg) {
22017
+ var f, obj = {
22018
+ status: jspb.Message.getFieldWithDefault(msg, 1, ""),
22019
+ tempToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
22020
+ expiresInSeconds: jspb.Message.getFieldWithDefault(msg, 3, 0)
22021
+ };
22022
+
22023
+ if (includeInstance) {
22024
+ obj.$jspbMessageInstance = msg;
22025
+ }
22026
+ return obj;
22027
+ };
22028
+ }
22029
+
22030
+
22031
+ /**
22032
+ * Deserializes binary data (in protobuf wire format).
22033
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22034
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationResponse}
22035
+ */
22036
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.deserializeBinary = function(bytes) {
22037
+ var reader = new jspb.BinaryReader(bytes);
22038
+ var msg = new proto.user.BeginWithdrawalTwoFaAuthorizationResponse;
22039
+ return proto.user.BeginWithdrawalTwoFaAuthorizationResponse.deserializeBinaryFromReader(msg, reader);
22040
+ };
22041
+
22042
+
22043
+ /**
22044
+ * Deserializes binary data (in protobuf wire format) from the
22045
+ * given reader into the given message object.
22046
+ * @param {!proto.user.BeginWithdrawalTwoFaAuthorizationResponse} msg The message object to deserialize into.
22047
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22048
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationResponse}
22049
+ */
22050
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.deserializeBinaryFromReader = function(msg, reader) {
22051
+ while (reader.nextField()) {
22052
+ if (reader.isEndGroup()) {
22053
+ break;
22054
+ }
22055
+ var field = reader.getFieldNumber();
22056
+ switch (field) {
22057
+ case 1:
22058
+ var value = /** @type {string} */ (reader.readString());
22059
+ msg.setStatus(value);
22060
+ break;
22061
+ case 2:
22062
+ var value = /** @type {string} */ (reader.readString());
22063
+ msg.setTempToken(value);
22064
+ break;
22065
+ case 3:
22066
+ var value = /** @type {number} */ (reader.readInt32());
22067
+ msg.setExpiresInSeconds(value);
22068
+ break;
22069
+ default:
22070
+ reader.skipField();
22071
+ break;
22072
+ }
22073
+ }
22074
+ return msg;
22075
+ };
22076
+
22077
+
22078
+ /**
22079
+ * Serializes the message to binary data (in protobuf wire format).
22080
+ * @return {!Uint8Array}
22081
+ */
22082
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.serializeBinary = function() {
22083
+ var writer = new jspb.BinaryWriter();
22084
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.serializeBinaryToWriter(this, writer);
22085
+ return writer.getResultBuffer();
22086
+ };
22087
+
22088
+
22089
+ /**
22090
+ * Serializes the given message to binary data (in protobuf wire
22091
+ * format), writing to the given BinaryWriter.
22092
+ * @param {!proto.user.BeginWithdrawalTwoFaAuthorizationResponse} message
22093
+ * @param {!jspb.BinaryWriter} writer
22094
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22095
+ */
22096
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.serializeBinaryToWriter = function(message, writer) {
22097
+ var f = undefined;
22098
+ f = message.getStatus();
22099
+ if (f.length > 0) {
22100
+ writer.writeString(
22101
+ 1,
22102
+ f
22103
+ );
22104
+ }
22105
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
22106
+ if (f != null) {
22107
+ writer.writeString(
22108
+ 2,
22109
+ f
22110
+ );
22111
+ }
22112
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
22113
+ if (f != null) {
22114
+ writer.writeInt32(
22115
+ 3,
22116
+ f
22117
+ );
22118
+ }
22119
+ };
22120
+
22121
+
22122
+ /**
22123
+ * optional string status = 1;
22124
+ * @return {string}
22125
+ */
22126
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.getStatus = function() {
22127
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
22128
+ };
22129
+
22130
+
22131
+ /**
22132
+ * @param {string} value
22133
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationResponse} returns this
22134
+ */
22135
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.setStatus = function(value) {
22136
+ return jspb.Message.setProto3StringField(this, 1, value);
22137
+ };
22138
+
22139
+
22140
+ /**
22141
+ * optional string temp_token = 2;
22142
+ * @return {string}
22143
+ */
22144
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.getTempToken = function() {
22145
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
22146
+ };
22147
+
22148
+
22149
+ /**
22150
+ * @param {string} value
22151
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationResponse} returns this
22152
+ */
22153
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.setTempToken = function(value) {
22154
+ return jspb.Message.setField(this, 2, value);
22155
+ };
22156
+
22157
+
22158
+ /**
22159
+ * Clears the field making it undefined.
22160
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationResponse} returns this
22161
+ */
22162
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.clearTempToken = function() {
22163
+ return jspb.Message.setField(this, 2, undefined);
22164
+ };
22165
+
22166
+
22167
+ /**
22168
+ * Returns whether this field is set.
22169
+ * @return {boolean}
22170
+ */
22171
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.hasTempToken = function() {
22172
+ return jspb.Message.getField(this, 2) != null;
22173
+ };
22174
+
22175
+
22176
+ /**
22177
+ * optional int32 expires_in_seconds = 3;
22178
+ * @return {number}
22179
+ */
22180
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.getExpiresInSeconds = function() {
22181
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
22182
+ };
22183
+
22184
+
22185
+ /**
22186
+ * @param {number} value
22187
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationResponse} returns this
22188
+ */
22189
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.setExpiresInSeconds = function(value) {
22190
+ return jspb.Message.setField(this, 3, value);
22191
+ };
22192
+
22193
+
22194
+ /**
22195
+ * Clears the field making it undefined.
22196
+ * @return {!proto.user.BeginWithdrawalTwoFaAuthorizationResponse} returns this
22197
+ */
22198
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.clearExpiresInSeconds = function() {
22199
+ return jspb.Message.setField(this, 3, undefined);
22200
+ };
22201
+
22202
+
22203
+ /**
22204
+ * Returns whether this field is set.
22205
+ * @return {boolean}
22206
+ */
22207
+ proto.user.BeginWithdrawalTwoFaAuthorizationResponse.prototype.hasExpiresInSeconds = function() {
22208
+ return jspb.Message.getField(this, 3) != null;
22209
+ };
22210
+
22211
+
22212
+
22213
+
22214
+
22215
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22216
+ /**
22217
+ * Creates an object representation of this proto.
22218
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22219
+ * Optional fields that are not set will be set to undefined.
22220
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22221
+ * For the list of reserved names please see:
22222
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22223
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22224
+ * JSPB instance for transitional soy proto support:
22225
+ * http://goto/soy-param-migration
22226
+ * @return {!Object}
22227
+ */
22228
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.toObject = function(opt_includeInstance) {
22229
+ return proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.toObject(opt_includeInstance, this);
22230
+ };
22231
+
22232
+
22233
+ /**
22234
+ * Static version of the {@see toObject} method.
22235
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22236
+ * the JSPB instance for transitional soy proto support:
22237
+ * http://goto/soy-param-migration
22238
+ * @param {!proto.user.VerifyWithdrawalTwoFaAuthorizationRequest} msg The msg instance to transform.
22239
+ * @return {!Object}
22240
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22241
+ */
22242
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.toObject = function(includeInstance, msg) {
22243
+ var f, obj = {
22244
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
22245
+ userSessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
22246
+ intentHash: jspb.Message.getFieldWithDefault(msg, 3, ""),
22247
+ tempToken: jspb.Message.getFieldWithDefault(msg, 4, ""),
22248
+ code: jspb.Message.getFieldWithDefault(msg, 5, "")
22249
+ };
22250
+
22251
+ if (includeInstance) {
22252
+ obj.$jspbMessageInstance = msg;
22253
+ }
22254
+ return obj;
22255
+ };
22256
+ }
22257
+
22258
+
22259
+ /**
22260
+ * Deserializes binary data (in protobuf wire format).
22261
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22262
+ * @return {!proto.user.VerifyWithdrawalTwoFaAuthorizationRequest}
22263
+ */
22264
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.deserializeBinary = function(bytes) {
22265
+ var reader = new jspb.BinaryReader(bytes);
22266
+ var msg = new proto.user.VerifyWithdrawalTwoFaAuthorizationRequest;
22267
+ return proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.deserializeBinaryFromReader(msg, reader);
22268
+ };
22269
+
22270
+
22271
+ /**
22272
+ * Deserializes binary data (in protobuf wire format) from the
22273
+ * given reader into the given message object.
22274
+ * @param {!proto.user.VerifyWithdrawalTwoFaAuthorizationRequest} msg The message object to deserialize into.
22275
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22276
+ * @return {!proto.user.VerifyWithdrawalTwoFaAuthorizationRequest}
22277
+ */
22278
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.deserializeBinaryFromReader = function(msg, reader) {
22279
+ while (reader.nextField()) {
22280
+ if (reader.isEndGroup()) {
22281
+ break;
22282
+ }
22283
+ var field = reader.getFieldNumber();
22284
+ switch (field) {
22285
+ case 1:
22286
+ var value = /** @type {number} */ (reader.readInt32());
22287
+ msg.setUserId(value);
22288
+ break;
22289
+ case 2:
22290
+ var value = /** @type {string} */ (reader.readString());
22291
+ msg.setUserSessionId(value);
22292
+ break;
22293
+ case 3:
22294
+ var value = /** @type {string} */ (reader.readString());
22295
+ msg.setIntentHash(value);
22296
+ break;
22297
+ case 4:
22298
+ var value = /** @type {string} */ (reader.readString());
22299
+ msg.setTempToken(value);
22300
+ break;
22301
+ case 5:
22302
+ var value = /** @type {string} */ (reader.readString());
22303
+ msg.setCode(value);
22304
+ break;
22305
+ default:
22306
+ reader.skipField();
22307
+ break;
22308
+ }
22309
+ }
22310
+ return msg;
22311
+ };
22312
+
22313
+
22314
+ /**
22315
+ * Serializes the message to binary data (in protobuf wire format).
22316
+ * @return {!Uint8Array}
22317
+ */
22318
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.serializeBinary = function() {
22319
+ var writer = new jspb.BinaryWriter();
22320
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.serializeBinaryToWriter(this, writer);
22321
+ return writer.getResultBuffer();
22322
+ };
22323
+
22324
+
22325
+ /**
22326
+ * Serializes the given message to binary data (in protobuf wire
22327
+ * format), writing to the given BinaryWriter.
22328
+ * @param {!proto.user.VerifyWithdrawalTwoFaAuthorizationRequest} message
22329
+ * @param {!jspb.BinaryWriter} writer
22330
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22331
+ */
22332
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.serializeBinaryToWriter = function(message, writer) {
22333
+ var f = undefined;
22334
+ f = message.getUserId();
22335
+ if (f !== 0) {
22336
+ writer.writeInt32(
22337
+ 1,
22338
+ f
22339
+ );
22340
+ }
22341
+ f = message.getUserSessionId();
22342
+ if (f.length > 0) {
22343
+ writer.writeString(
22344
+ 2,
22345
+ f
22346
+ );
22347
+ }
22348
+ f = message.getIntentHash();
22349
+ if (f.length > 0) {
22350
+ writer.writeString(
22351
+ 3,
22352
+ f
22353
+ );
22354
+ }
22355
+ f = message.getTempToken();
22356
+ if (f.length > 0) {
22357
+ writer.writeString(
22358
+ 4,
22359
+ f
22360
+ );
22361
+ }
22362
+ f = message.getCode();
22363
+ if (f.length > 0) {
22364
+ writer.writeString(
22365
+ 5,
22366
+ f
22367
+ );
22368
+ }
22369
+ };
22370
+
22371
+
22372
+ /**
22373
+ * optional int32 user_id = 1;
22374
+ * @return {number}
22375
+ */
22376
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.getUserId = function() {
22377
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
22378
+ };
22379
+
22380
+
22381
+ /**
22382
+ * @param {number} value
22383
+ * @return {!proto.user.VerifyWithdrawalTwoFaAuthorizationRequest} returns this
22384
+ */
22385
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.setUserId = function(value) {
22386
+ return jspb.Message.setProto3IntField(this, 1, value);
22387
+ };
22388
+
22389
+
22390
+ /**
22391
+ * optional string user_session_id = 2;
22392
+ * @return {string}
22393
+ */
22394
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.getUserSessionId = function() {
22395
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
22396
+ };
22397
+
22398
+
22399
+ /**
22400
+ * @param {string} value
22401
+ * @return {!proto.user.VerifyWithdrawalTwoFaAuthorizationRequest} returns this
22402
+ */
22403
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.setUserSessionId = function(value) {
22404
+ return jspb.Message.setProto3StringField(this, 2, value);
22405
+ };
22406
+
22407
+
22408
+ /**
22409
+ * optional string intent_hash = 3;
22410
+ * @return {string}
22411
+ */
22412
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.getIntentHash = function() {
22413
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
22414
+ };
22415
+
22416
+
22417
+ /**
22418
+ * @param {string} value
22419
+ * @return {!proto.user.VerifyWithdrawalTwoFaAuthorizationRequest} returns this
22420
+ */
22421
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.setIntentHash = function(value) {
22422
+ return jspb.Message.setProto3StringField(this, 3, value);
22423
+ };
22424
+
22425
+
22426
+ /**
22427
+ * optional string temp_token = 4;
22428
+ * @return {string}
22429
+ */
22430
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.getTempToken = function() {
22431
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
22432
+ };
22433
+
22434
+
22435
+ /**
22436
+ * @param {string} value
22437
+ * @return {!proto.user.VerifyWithdrawalTwoFaAuthorizationRequest} returns this
22438
+ */
22439
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.setTempToken = function(value) {
22440
+ return jspb.Message.setProto3StringField(this, 4, value);
22441
+ };
22442
+
22443
+
22444
+ /**
22445
+ * optional string code = 5;
22446
+ * @return {string}
22447
+ */
22448
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.getCode = function() {
22449
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
22450
+ };
22451
+
22452
+
22453
+ /**
22454
+ * @param {string} value
22455
+ * @return {!proto.user.VerifyWithdrawalTwoFaAuthorizationRequest} returns this
22456
+ */
22457
+ proto.user.VerifyWithdrawalTwoFaAuthorizationRequest.prototype.setCode = function(value) {
22458
+ return jspb.Message.setProto3StringField(this, 5, value);
22459
+ };
22460
+
22461
+
22462
+
22463
+
22464
+
22465
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22466
+ /**
22467
+ * Creates an object representation of this proto.
22468
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22469
+ * Optional fields that are not set will be set to undefined.
22470
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22471
+ * For the list of reserved names please see:
22472
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22473
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22474
+ * JSPB instance for transitional soy proto support:
22475
+ * http://goto/soy-param-migration
22476
+ * @return {!Object}
22477
+ */
22478
+ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.prototype.toObject = function(opt_includeInstance) {
22479
+ return proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.toObject(opt_includeInstance, this);
22480
+ };
22481
+
22482
+
22483
+ /**
22484
+ * Static version of the {@see toObject} method.
22485
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22486
+ * the JSPB instance for transitional soy proto support:
22487
+ * http://goto/soy-param-migration
22488
+ * @param {!proto.user.VerifyWithdrawalTwoFaAuthorizationResponse} msg The msg instance to transform.
22489
+ * @return {!Object}
22490
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22491
+ */
22492
+ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.toObject = function(includeInstance, msg) {
22493
+ var f, obj = {
22494
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
22495
+ };
22496
+
22497
+ if (includeInstance) {
22498
+ obj.$jspbMessageInstance = msg;
22499
+ }
22500
+ return obj;
22501
+ };
22502
+ }
22503
+
22504
+
22505
+ /**
22506
+ * Deserializes binary data (in protobuf wire format).
22507
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22508
+ * @return {!proto.user.VerifyWithdrawalTwoFaAuthorizationResponse}
22509
+ */
22510
+ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.deserializeBinary = function(bytes) {
22511
+ var reader = new jspb.BinaryReader(bytes);
22512
+ var msg = new proto.user.VerifyWithdrawalTwoFaAuthorizationResponse;
22513
+ return proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.deserializeBinaryFromReader(msg, reader);
22514
+ };
22515
+
22516
+
22517
+ /**
22518
+ * Deserializes binary data (in protobuf wire format) from the
22519
+ * given reader into the given message object.
22520
+ * @param {!proto.user.VerifyWithdrawalTwoFaAuthorizationResponse} msg The message object to deserialize into.
22521
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22522
+ * @return {!proto.user.VerifyWithdrawalTwoFaAuthorizationResponse}
22523
+ */
22524
+ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.deserializeBinaryFromReader = function(msg, reader) {
22525
+ while (reader.nextField()) {
22526
+ if (reader.isEndGroup()) {
22527
+ break;
22528
+ }
22529
+ var field = reader.getFieldNumber();
22530
+ switch (field) {
22531
+ case 1:
22532
+ var value = /** @type {string} */ (reader.readString());
22533
+ msg.setStatus(value);
22534
+ break;
22535
+ default:
22536
+ reader.skipField();
22537
+ break;
22538
+ }
22539
+ }
22540
+ return msg;
22541
+ };
22542
+
22543
+
22544
+ /**
22545
+ * Serializes the message to binary data (in protobuf wire format).
22546
+ * @return {!Uint8Array}
22547
+ */
22548
+ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.prototype.serializeBinary = function() {
22549
+ var writer = new jspb.BinaryWriter();
22550
+ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.serializeBinaryToWriter(this, writer);
22551
+ return writer.getResultBuffer();
22552
+ };
22553
+
22554
+
22555
+ /**
22556
+ * Serializes the given message to binary data (in protobuf wire
22557
+ * format), writing to the given BinaryWriter.
22558
+ * @param {!proto.user.VerifyWithdrawalTwoFaAuthorizationResponse} message
22559
+ * @param {!jspb.BinaryWriter} writer
22560
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22561
+ */
22562
+ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.serializeBinaryToWriter = function(message, writer) {
22563
+ var f = undefined;
22564
+ f = message.getStatus();
22565
+ if (f.length > 0) {
22566
+ writer.writeString(
22567
+ 1,
22568
+ f
22569
+ );
22570
+ }
22571
+ };
22572
+
22573
+
22574
+ /**
22575
+ * optional string status = 1;
22576
+ * @return {string}
22577
+ */
22578
+ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.prototype.getStatus = function() {
22579
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
22580
+ };
22581
+
22582
+
22583
+ /**
22584
+ * @param {string} value
22585
+ * @return {!proto.user.VerifyWithdrawalTwoFaAuthorizationResponse} returns this
22586
+ */
22587
+ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.prototype.setStatus = function(value) {
22588
+ return jspb.Message.setProto3StringField(this, 1, value);
22589
+ };
22590
+
22591
+
22592
+
22593
+
22594
+
21711
22595
  if (jspb.Message.GENERATE_TO_OBJECT) {
21712
22596
  /**
21713
22597
  * Creates an object representation of this proto.
@@ -48959,7 +49843,8 @@ proto.user.UserCalculatedRestrictionItem.toObject = function(includeInstance, ms
48959
49843
  allowed: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
48960
49844
  source: jspb.Message.getFieldWithDefault(msg, 3, ""),
48961
49845
  reason: jspb.Message.getFieldWithDefault(msg, 4, ""),
48962
- limit: (f = msg.getLimit()) && proto.user.CalculatedRestrictionLimit.toObject(includeInstance, f)
49846
+ limit: (f = msg.getLimit()) && proto.user.CalculatedRestrictionLimit.toObject(includeInstance, f),
49847
+ requiresNoActiveBonus: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
48963
49848
  };
48964
49849
 
48965
49850
  if (includeInstance) {
@@ -49017,6 +49902,10 @@ proto.user.UserCalculatedRestrictionItem.deserializeBinaryFromReader = function(
49017
49902
  reader.readMessage(value,proto.user.CalculatedRestrictionLimit.deserializeBinaryFromReader);
49018
49903
  msg.setLimit(value);
49019
49904
  break;
49905
+ case 6:
49906
+ var value = /** @type {boolean} */ (reader.readBool());
49907
+ msg.setRequiresNoActiveBonus(value);
49908
+ break;
49020
49909
  default:
49021
49910
  reader.skipField();
49022
49911
  break;
@@ -49082,6 +49971,13 @@ proto.user.UserCalculatedRestrictionItem.serializeBinaryToWriter = function(mess
49082
49971
  proto.user.CalculatedRestrictionLimit.serializeBinaryToWriter
49083
49972
  );
49084
49973
  }
49974
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
49975
+ if (f != null) {
49976
+ writer.writeBool(
49977
+ 6,
49978
+ f
49979
+ );
49980
+ }
49085
49981
  };
49086
49982
 
49087
49983
 
@@ -49230,6 +50126,42 @@ proto.user.UserCalculatedRestrictionItem.prototype.hasLimit = function() {
49230
50126
  };
49231
50127
 
49232
50128
 
50129
+ /**
50130
+ * optional bool requires_no_active_bonus = 6;
50131
+ * @return {boolean}
50132
+ */
50133
+ proto.user.UserCalculatedRestrictionItem.prototype.getRequiresNoActiveBonus = function() {
50134
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
50135
+ };
50136
+
50137
+
50138
+ /**
50139
+ * @param {boolean} value
50140
+ * @return {!proto.user.UserCalculatedRestrictionItem} returns this
50141
+ */
50142
+ proto.user.UserCalculatedRestrictionItem.prototype.setRequiresNoActiveBonus = function(value) {
50143
+ return jspb.Message.setField(this, 6, value);
50144
+ };
50145
+
50146
+
50147
+ /**
50148
+ * Clears the field making it undefined.
50149
+ * @return {!proto.user.UserCalculatedRestrictionItem} returns this
50150
+ */
50151
+ proto.user.UserCalculatedRestrictionItem.prototype.clearRequiresNoActiveBonus = function() {
50152
+ return jspb.Message.setField(this, 6, undefined);
50153
+ };
50154
+
50155
+
50156
+ /**
50157
+ * Returns whether this field is set.
50158
+ * @return {boolean}
50159
+ */
50160
+ proto.user.UserCalculatedRestrictionItem.prototype.hasRequiresNoActiveBonus = function() {
50161
+ return jspb.Message.getField(this, 6) != null;
50162
+ };
50163
+
50164
+
49233
50165
 
49234
50166
 
49235
50167