protobuf-platform 1.2.372 → 1.2.374

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/cms/cms.proto CHANGED
@@ -1228,6 +1228,11 @@ message PresetCashierPaymentOrderGroup {
1228
1228
  string group_key = 1;
1229
1229
  repeated int32 method_ids = 2;
1230
1230
  }
1231
+ message PresetCashierGeoConfig {
1232
+ string geo = 1;
1233
+ repeated PresetCashierCurrencyAmounts currencies = 2;
1234
+ repeated PresetCashierPaymentOrderGroup payment_groups = 3;
1235
+ }
1231
1236
  message PresetCashierConfigItem {
1232
1237
  optional int32 id = 1;
1233
1238
  int32 preset_id = 2;
@@ -1236,6 +1241,7 @@ message PresetCashierConfigItem {
1236
1241
  optional int32 is_active = 5;
1237
1242
  optional string created_at = 6;
1238
1243
  optional string updated_at = 7;
1244
+ optional string geo = 8;
1239
1245
  }
1240
1246
  message SetPresetCashierConfigRequest {
1241
1247
  optional int32 id = 1;
@@ -1243,6 +1249,7 @@ message SetPresetCashierConfigRequest {
1243
1249
  repeated PresetCashierCurrencyAmounts currencies = 3;
1244
1250
  repeated PresetCashierPaymentOrderGroup payment_groups = 4;
1245
1251
  optional int32 is_active = 5;
1252
+ repeated PresetCashierGeoConfig geo_configs = 6;
1246
1253
  }
1247
1254
  message GetPresetCashierConfigRequest {
1248
1255
  int32 preset_id = 1;
package/cms/cms_pb.js CHANGED
@@ -166,6 +166,7 @@ goog.exportSymbol('proto.cms.PreDepositFormWidgetItem', null, global);
166
166
  goog.exportSymbol('proto.cms.PresetCashierConfigItem', null, global);
167
167
  goog.exportSymbol('proto.cms.PresetCashierConfigsResponse', null, global);
168
168
  goog.exportSymbol('proto.cms.PresetCashierCurrencyAmounts', null, global);
169
+ goog.exportSymbol('proto.cms.PresetCashierGeoConfig', null, global);
169
170
  goog.exportSymbol('proto.cms.PresetCashierPaymentOrderGroup', null, global);
170
171
  goog.exportSymbol('proto.cms.PresetWidgetItem', null, global);
171
172
  goog.exportSymbol('proto.cms.PresetWidgetsResponse', null, global);
@@ -3665,6 +3666,27 @@ if (goog.DEBUG && !COMPILED) {
3665
3666
  */
3666
3667
  proto.cms.PresetCashierPaymentOrderGroup.displayName = 'proto.cms.PresetCashierPaymentOrderGroup';
3667
3668
  }
3669
+ /**
3670
+ * Generated by JsPbCodeGenerator.
3671
+ * @param {Array=} opt_data Optional initial data array, typically from a
3672
+ * server response, or constructed directly in Javascript. The array is used
3673
+ * in place and becomes part of the constructed object. It is not cloned.
3674
+ * If no data is provided, the constructed object will be empty, but still
3675
+ * valid.
3676
+ * @extends {jspb.Message}
3677
+ * @constructor
3678
+ */
3679
+ proto.cms.PresetCashierGeoConfig = function(opt_data) {
3680
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.PresetCashierGeoConfig.repeatedFields_, null);
3681
+ };
3682
+ goog.inherits(proto.cms.PresetCashierGeoConfig, jspb.Message);
3683
+ if (goog.DEBUG && !COMPILED) {
3684
+ /**
3685
+ * @public
3686
+ * @override
3687
+ */
3688
+ proto.cms.PresetCashierGeoConfig.displayName = 'proto.cms.PresetCashierGeoConfig';
3689
+ }
3668
3690
  /**
3669
3691
  * Generated by JsPbCodeGenerator.
3670
3692
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -46636,6 +46658,249 @@ proto.cms.PresetCashierPaymentOrderGroup.prototype.clearMethodIdsList = function
46636
46658
 
46637
46659
 
46638
46660
 
46661
+ /**
46662
+ * List of repeated fields within this message type.
46663
+ * @private {!Array<number>}
46664
+ * @const
46665
+ */
46666
+ proto.cms.PresetCashierGeoConfig.repeatedFields_ = [2,3];
46667
+
46668
+
46669
+
46670
+ if (jspb.Message.GENERATE_TO_OBJECT) {
46671
+ /**
46672
+ * Creates an object representation of this proto.
46673
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
46674
+ * Optional fields that are not set will be set to undefined.
46675
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
46676
+ * For the list of reserved names please see:
46677
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
46678
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
46679
+ * JSPB instance for transitional soy proto support:
46680
+ * http://goto/soy-param-migration
46681
+ * @return {!Object}
46682
+ */
46683
+ proto.cms.PresetCashierGeoConfig.prototype.toObject = function(opt_includeInstance) {
46684
+ return proto.cms.PresetCashierGeoConfig.toObject(opt_includeInstance, this);
46685
+ };
46686
+
46687
+
46688
+ /**
46689
+ * Static version of the {@see toObject} method.
46690
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
46691
+ * the JSPB instance for transitional soy proto support:
46692
+ * http://goto/soy-param-migration
46693
+ * @param {!proto.cms.PresetCashierGeoConfig} msg The msg instance to transform.
46694
+ * @return {!Object}
46695
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46696
+ */
46697
+ proto.cms.PresetCashierGeoConfig.toObject = function(includeInstance, msg) {
46698
+ var f, obj = {
46699
+ geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
46700
+ currenciesList: jspb.Message.toObjectList(msg.getCurrenciesList(),
46701
+ proto.cms.PresetCashierCurrencyAmounts.toObject, includeInstance),
46702
+ paymentGroupsList: jspb.Message.toObjectList(msg.getPaymentGroupsList(),
46703
+ proto.cms.PresetCashierPaymentOrderGroup.toObject, includeInstance)
46704
+ };
46705
+
46706
+ if (includeInstance) {
46707
+ obj.$jspbMessageInstance = msg;
46708
+ }
46709
+ return obj;
46710
+ };
46711
+ }
46712
+
46713
+
46714
+ /**
46715
+ * Deserializes binary data (in protobuf wire format).
46716
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
46717
+ * @return {!proto.cms.PresetCashierGeoConfig}
46718
+ */
46719
+ proto.cms.PresetCashierGeoConfig.deserializeBinary = function(bytes) {
46720
+ var reader = new jspb.BinaryReader(bytes);
46721
+ var msg = new proto.cms.PresetCashierGeoConfig;
46722
+ return proto.cms.PresetCashierGeoConfig.deserializeBinaryFromReader(msg, reader);
46723
+ };
46724
+
46725
+
46726
+ /**
46727
+ * Deserializes binary data (in protobuf wire format) from the
46728
+ * given reader into the given message object.
46729
+ * @param {!proto.cms.PresetCashierGeoConfig} msg The message object to deserialize into.
46730
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
46731
+ * @return {!proto.cms.PresetCashierGeoConfig}
46732
+ */
46733
+ proto.cms.PresetCashierGeoConfig.deserializeBinaryFromReader = function(msg, reader) {
46734
+ while (reader.nextField()) {
46735
+ if (reader.isEndGroup()) {
46736
+ break;
46737
+ }
46738
+ var field = reader.getFieldNumber();
46739
+ switch (field) {
46740
+ case 1:
46741
+ var value = /** @type {string} */ (reader.readString());
46742
+ msg.setGeo(value);
46743
+ break;
46744
+ case 2:
46745
+ var value = new proto.cms.PresetCashierCurrencyAmounts;
46746
+ reader.readMessage(value,proto.cms.PresetCashierCurrencyAmounts.deserializeBinaryFromReader);
46747
+ msg.addCurrencies(value);
46748
+ break;
46749
+ case 3:
46750
+ var value = new proto.cms.PresetCashierPaymentOrderGroup;
46751
+ reader.readMessage(value,proto.cms.PresetCashierPaymentOrderGroup.deserializeBinaryFromReader);
46752
+ msg.addPaymentGroups(value);
46753
+ break;
46754
+ default:
46755
+ reader.skipField();
46756
+ break;
46757
+ }
46758
+ }
46759
+ return msg;
46760
+ };
46761
+
46762
+
46763
+ /**
46764
+ * Serializes the message to binary data (in protobuf wire format).
46765
+ * @return {!Uint8Array}
46766
+ */
46767
+ proto.cms.PresetCashierGeoConfig.prototype.serializeBinary = function() {
46768
+ var writer = new jspb.BinaryWriter();
46769
+ proto.cms.PresetCashierGeoConfig.serializeBinaryToWriter(this, writer);
46770
+ return writer.getResultBuffer();
46771
+ };
46772
+
46773
+
46774
+ /**
46775
+ * Serializes the given message to binary data (in protobuf wire
46776
+ * format), writing to the given BinaryWriter.
46777
+ * @param {!proto.cms.PresetCashierGeoConfig} message
46778
+ * @param {!jspb.BinaryWriter} writer
46779
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46780
+ */
46781
+ proto.cms.PresetCashierGeoConfig.serializeBinaryToWriter = function(message, writer) {
46782
+ var f = undefined;
46783
+ f = message.getGeo();
46784
+ if (f.length > 0) {
46785
+ writer.writeString(
46786
+ 1,
46787
+ f
46788
+ );
46789
+ }
46790
+ f = message.getCurrenciesList();
46791
+ if (f.length > 0) {
46792
+ writer.writeRepeatedMessage(
46793
+ 2,
46794
+ f,
46795
+ proto.cms.PresetCashierCurrencyAmounts.serializeBinaryToWriter
46796
+ );
46797
+ }
46798
+ f = message.getPaymentGroupsList();
46799
+ if (f.length > 0) {
46800
+ writer.writeRepeatedMessage(
46801
+ 3,
46802
+ f,
46803
+ proto.cms.PresetCashierPaymentOrderGroup.serializeBinaryToWriter
46804
+ );
46805
+ }
46806
+ };
46807
+
46808
+
46809
+ /**
46810
+ * optional string geo = 1;
46811
+ * @return {string}
46812
+ */
46813
+ proto.cms.PresetCashierGeoConfig.prototype.getGeo = function() {
46814
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
46815
+ };
46816
+
46817
+
46818
+ /**
46819
+ * @param {string} value
46820
+ * @return {!proto.cms.PresetCashierGeoConfig} returns this
46821
+ */
46822
+ proto.cms.PresetCashierGeoConfig.prototype.setGeo = function(value) {
46823
+ return jspb.Message.setProto3StringField(this, 1, value);
46824
+ };
46825
+
46826
+
46827
+ /**
46828
+ * repeated PresetCashierCurrencyAmounts currencies = 2;
46829
+ * @return {!Array<!proto.cms.PresetCashierCurrencyAmounts>}
46830
+ */
46831
+ proto.cms.PresetCashierGeoConfig.prototype.getCurrenciesList = function() {
46832
+ return /** @type{!Array<!proto.cms.PresetCashierCurrencyAmounts>} */ (
46833
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.PresetCashierCurrencyAmounts, 2));
46834
+ };
46835
+
46836
+
46837
+ /**
46838
+ * @param {!Array<!proto.cms.PresetCashierCurrencyAmounts>} value
46839
+ * @return {!proto.cms.PresetCashierGeoConfig} returns this
46840
+ */
46841
+ proto.cms.PresetCashierGeoConfig.prototype.setCurrenciesList = function(value) {
46842
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
46843
+ };
46844
+
46845
+
46846
+ /**
46847
+ * @param {!proto.cms.PresetCashierCurrencyAmounts=} opt_value
46848
+ * @param {number=} opt_index
46849
+ * @return {!proto.cms.PresetCashierCurrencyAmounts}
46850
+ */
46851
+ proto.cms.PresetCashierGeoConfig.prototype.addCurrencies = function(opt_value, opt_index) {
46852
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.cms.PresetCashierCurrencyAmounts, opt_index);
46853
+ };
46854
+
46855
+
46856
+ /**
46857
+ * Clears the list making it empty but non-null.
46858
+ * @return {!proto.cms.PresetCashierGeoConfig} returns this
46859
+ */
46860
+ proto.cms.PresetCashierGeoConfig.prototype.clearCurrenciesList = function() {
46861
+ return this.setCurrenciesList([]);
46862
+ };
46863
+
46864
+
46865
+ /**
46866
+ * repeated PresetCashierPaymentOrderGroup payment_groups = 3;
46867
+ * @return {!Array<!proto.cms.PresetCashierPaymentOrderGroup>}
46868
+ */
46869
+ proto.cms.PresetCashierGeoConfig.prototype.getPaymentGroupsList = function() {
46870
+ return /** @type{!Array<!proto.cms.PresetCashierPaymentOrderGroup>} */ (
46871
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.PresetCashierPaymentOrderGroup, 3));
46872
+ };
46873
+
46874
+
46875
+ /**
46876
+ * @param {!Array<!proto.cms.PresetCashierPaymentOrderGroup>} value
46877
+ * @return {!proto.cms.PresetCashierGeoConfig} returns this
46878
+ */
46879
+ proto.cms.PresetCashierGeoConfig.prototype.setPaymentGroupsList = function(value) {
46880
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
46881
+ };
46882
+
46883
+
46884
+ /**
46885
+ * @param {!proto.cms.PresetCashierPaymentOrderGroup=} opt_value
46886
+ * @param {number=} opt_index
46887
+ * @return {!proto.cms.PresetCashierPaymentOrderGroup}
46888
+ */
46889
+ proto.cms.PresetCashierGeoConfig.prototype.addPaymentGroups = function(opt_value, opt_index) {
46890
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.cms.PresetCashierPaymentOrderGroup, opt_index);
46891
+ };
46892
+
46893
+
46894
+ /**
46895
+ * Clears the list making it empty but non-null.
46896
+ * @return {!proto.cms.PresetCashierGeoConfig} returns this
46897
+ */
46898
+ proto.cms.PresetCashierGeoConfig.prototype.clearPaymentGroupsList = function() {
46899
+ return this.setPaymentGroupsList([]);
46900
+ };
46901
+
46902
+
46903
+
46639
46904
  /**
46640
46905
  * List of repeated fields within this message type.
46641
46906
  * @private {!Array<number>}
@@ -46682,7 +46947,8 @@ proto.cms.PresetCashierConfigItem.toObject = function(includeInstance, msg) {
46682
46947
  proto.cms.PresetCashierPaymentOrderGroup.toObject, includeInstance),
46683
46948
  isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
46684
46949
  createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
46685
- updatedAt: jspb.Message.getFieldWithDefault(msg, 7, "")
46950
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
46951
+ geo: jspb.Message.getFieldWithDefault(msg, 8, "")
46686
46952
  };
46687
46953
 
46688
46954
  if (includeInstance) {
@@ -46749,6 +47015,10 @@ proto.cms.PresetCashierConfigItem.deserializeBinaryFromReader = function(msg, re
46749
47015
  var value = /** @type {string} */ (reader.readString());
46750
47016
  msg.setUpdatedAt(value);
46751
47017
  break;
47018
+ case 8:
47019
+ var value = /** @type {string} */ (reader.readString());
47020
+ msg.setGeo(value);
47021
+ break;
46752
47022
  default:
46753
47023
  reader.skipField();
46754
47024
  break;
@@ -46829,6 +47099,13 @@ proto.cms.PresetCashierConfigItem.serializeBinaryToWriter = function(message, wr
46829
47099
  f
46830
47100
  );
46831
47101
  }
47102
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
47103
+ if (f != null) {
47104
+ writer.writeString(
47105
+ 8,
47106
+ f
47107
+ );
47108
+ }
46832
47109
  };
46833
47110
 
46834
47111
 
@@ -47070,13 +47347,49 @@ proto.cms.PresetCashierConfigItem.prototype.hasUpdatedAt = function() {
47070
47347
  };
47071
47348
 
47072
47349
 
47350
+ /**
47351
+ * optional string geo = 8;
47352
+ * @return {string}
47353
+ */
47354
+ proto.cms.PresetCashierConfigItem.prototype.getGeo = function() {
47355
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
47356
+ };
47357
+
47358
+
47359
+ /**
47360
+ * @param {string} value
47361
+ * @return {!proto.cms.PresetCashierConfigItem} returns this
47362
+ */
47363
+ proto.cms.PresetCashierConfigItem.prototype.setGeo = function(value) {
47364
+ return jspb.Message.setField(this, 8, value);
47365
+ };
47366
+
47367
+
47368
+ /**
47369
+ * Clears the field making it undefined.
47370
+ * @return {!proto.cms.PresetCashierConfigItem} returns this
47371
+ */
47372
+ proto.cms.PresetCashierConfigItem.prototype.clearGeo = function() {
47373
+ return jspb.Message.setField(this, 8, undefined);
47374
+ };
47375
+
47376
+
47377
+ /**
47378
+ * Returns whether this field is set.
47379
+ * @return {boolean}
47380
+ */
47381
+ proto.cms.PresetCashierConfigItem.prototype.hasGeo = function() {
47382
+ return jspb.Message.getField(this, 8) != null;
47383
+ };
47384
+
47385
+
47073
47386
 
47074
47387
  /**
47075
47388
  * List of repeated fields within this message type.
47076
47389
  * @private {!Array<number>}
47077
47390
  * @const
47078
47391
  */
47079
- proto.cms.SetPresetCashierConfigRequest.repeatedFields_ = [3,4];
47392
+ proto.cms.SetPresetCashierConfigRequest.repeatedFields_ = [3,4,6];
47080
47393
 
47081
47394
 
47082
47395
 
@@ -47115,7 +47428,9 @@ proto.cms.SetPresetCashierConfigRequest.toObject = function(includeInstance, msg
47115
47428
  proto.cms.PresetCashierCurrencyAmounts.toObject, includeInstance),
47116
47429
  paymentGroupsList: jspb.Message.toObjectList(msg.getPaymentGroupsList(),
47117
47430
  proto.cms.PresetCashierPaymentOrderGroup.toObject, includeInstance),
47118
- isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
47431
+ isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
47432
+ geoConfigsList: jspb.Message.toObjectList(msg.getGeoConfigsList(),
47433
+ proto.cms.PresetCashierGeoConfig.toObject, includeInstance)
47119
47434
  };
47120
47435
 
47121
47436
  if (includeInstance) {
@@ -47174,6 +47489,11 @@ proto.cms.SetPresetCashierConfigRequest.deserializeBinaryFromReader = function(m
47174
47489
  var value = /** @type {number} */ (reader.readInt32());
47175
47490
  msg.setIsActive(value);
47176
47491
  break;
47492
+ case 6:
47493
+ var value = new proto.cms.PresetCashierGeoConfig;
47494
+ reader.readMessage(value,proto.cms.PresetCashierGeoConfig.deserializeBinaryFromReader);
47495
+ msg.addGeoConfigs(value);
47496
+ break;
47177
47497
  default:
47178
47498
  reader.skipField();
47179
47499
  break;
@@ -47240,6 +47560,14 @@ proto.cms.SetPresetCashierConfigRequest.serializeBinaryToWriter = function(messa
47240
47560
  f
47241
47561
  );
47242
47562
  }
47563
+ f = message.getGeoConfigsList();
47564
+ if (f.length > 0) {
47565
+ writer.writeRepeatedMessage(
47566
+ 6,
47567
+ f,
47568
+ proto.cms.PresetCashierGeoConfig.serializeBinaryToWriter
47569
+ );
47570
+ }
47243
47571
  };
47244
47572
 
47245
47573
 
@@ -47409,6 +47737,44 @@ proto.cms.SetPresetCashierConfigRequest.prototype.hasIsActive = function() {
47409
47737
  };
47410
47738
 
47411
47739
 
47740
+ /**
47741
+ * repeated PresetCashierGeoConfig geo_configs = 6;
47742
+ * @return {!Array<!proto.cms.PresetCashierGeoConfig>}
47743
+ */
47744
+ proto.cms.SetPresetCashierConfigRequest.prototype.getGeoConfigsList = function() {
47745
+ return /** @type{!Array<!proto.cms.PresetCashierGeoConfig>} */ (
47746
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.PresetCashierGeoConfig, 6));
47747
+ };
47748
+
47749
+
47750
+ /**
47751
+ * @param {!Array<!proto.cms.PresetCashierGeoConfig>} value
47752
+ * @return {!proto.cms.SetPresetCashierConfigRequest} returns this
47753
+ */
47754
+ proto.cms.SetPresetCashierConfigRequest.prototype.setGeoConfigsList = function(value) {
47755
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
47756
+ };
47757
+
47758
+
47759
+ /**
47760
+ * @param {!proto.cms.PresetCashierGeoConfig=} opt_value
47761
+ * @param {number=} opt_index
47762
+ * @return {!proto.cms.PresetCashierGeoConfig}
47763
+ */
47764
+ proto.cms.SetPresetCashierConfigRequest.prototype.addGeoConfigs = function(opt_value, opt_index) {
47765
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.cms.PresetCashierGeoConfig, opt_index);
47766
+ };
47767
+
47768
+
47769
+ /**
47770
+ * Clears the list making it empty but non-null.
47771
+ * @return {!proto.cms.SetPresetCashierConfigRequest} returns this
47772
+ */
47773
+ proto.cms.SetPresetCashierConfigRequest.prototype.clearGeoConfigsList = function() {
47774
+ return this.setGeoConfigsList([]);
47775
+ };
47776
+
47777
+
47412
47778
 
47413
47779
 
47414
47780
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.372",
3
+ "version": "1.2.374",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -194,6 +194,7 @@ message RegistrationRequest {
194
194
  optional string affiliate_info = 23;
195
195
  optional string seon_session = 24;
196
196
  optional string preset_code = 25;
197
+ optional string antifraud_session = 26;
197
198
  }
198
199
  message LoggedInResponse {
199
200
  int32 id = 1;
@@ -234,6 +235,8 @@ message TelegramLoginRequest {
234
235
  optional string device = 7;
235
236
  optional string country = 8;
236
237
  optional string city = 9;
238
+ optional string antifraud_session = 10;
239
+ optional string user_agent = 11;
237
240
  }
238
241
  message GoogleLoginRequest {
239
242
  string code = 1;
@@ -251,6 +254,7 @@ message GoogleLoginRequest {
251
254
  optional string request_id = 13;
252
255
  optional string correlation_id = 14;
253
256
  optional string user_agent = 15;
257
+ optional string antifraud_session = 16;
254
258
  }
255
259
  message AppleLoginRequest {
256
260
  string code = 1;
@@ -273,6 +277,7 @@ message AppleLoginRequest {
273
277
  optional string last_name = 18;
274
278
  optional string email = 19;
275
279
  optional string nonce = 20;
280
+ optional string antifraud_session = 21;
276
281
  }
277
282
  message ConfirmTwoFaRequest {
278
283
  string code = 1;
@@ -418,6 +423,10 @@ message UserDataResponse {
418
423
  optional string address = 39;
419
424
  optional int32 seon_fraud_score = 40;
420
425
  optional int32 preset_id = 41;
426
+ optional string antifraud_provider = 42;
427
+ optional int32 antifraud_score = 43;
428
+ optional string antifraud_status = 44;
429
+ optional string antifraud_reason = 45;
421
430
  }
422
431
  message GetPumpKingsMyTokenWidgetLaunchDataRequest {
423
432
  string user_public_id = 1;
package/user/user_pb.js CHANGED
@@ -5650,7 +5650,8 @@ proto.user.RegistrationRequest.toObject = function(includeInstance, msg) {
5650
5650
  device: jspb.Message.getFieldWithDefault(msg, 22, ""),
5651
5651
  affiliateInfo: jspb.Message.getFieldWithDefault(msg, 23, ""),
5652
5652
  seonSession: jspb.Message.getFieldWithDefault(msg, 24, ""),
5653
- presetCode: jspb.Message.getFieldWithDefault(msg, 25, "")
5653
+ presetCode: jspb.Message.getFieldWithDefault(msg, 25, ""),
5654
+ antifraudSession: jspb.Message.getFieldWithDefault(msg, 26, "")
5654
5655
  };
5655
5656
 
5656
5657
  if (includeInstance) {
@@ -5787,6 +5788,10 @@ proto.user.RegistrationRequest.deserializeBinaryFromReader = function(msg, reade
5787
5788
  var value = /** @type {string} */ (reader.readString());
5788
5789
  msg.setPresetCode(value);
5789
5790
  break;
5791
+ case 26:
5792
+ var value = /** @type {string} */ (reader.readString());
5793
+ msg.setAntifraudSession(value);
5794
+ break;
5790
5795
  default:
5791
5796
  reader.skipField();
5792
5797
  break;
@@ -5991,6 +5996,13 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
5991
5996
  f
5992
5997
  );
5993
5998
  }
5999
+ f = /** @type {string} */ (jspb.Message.getField(message, 26));
6000
+ if (f != null) {
6001
+ writer.writeString(
6002
+ 26,
6003
+ f
6004
+ );
6005
+ }
5994
6006
  };
5995
6007
 
5996
6008
 
@@ -6840,6 +6852,42 @@ proto.user.RegistrationRequest.prototype.hasPresetCode = function() {
6840
6852
  };
6841
6853
 
6842
6854
 
6855
+ /**
6856
+ * optional string antifraud_session = 26;
6857
+ * @return {string}
6858
+ */
6859
+ proto.user.RegistrationRequest.prototype.getAntifraudSession = function() {
6860
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
6861
+ };
6862
+
6863
+
6864
+ /**
6865
+ * @param {string} value
6866
+ * @return {!proto.user.RegistrationRequest} returns this
6867
+ */
6868
+ proto.user.RegistrationRequest.prototype.setAntifraudSession = function(value) {
6869
+ return jspb.Message.setField(this, 26, value);
6870
+ };
6871
+
6872
+
6873
+ /**
6874
+ * Clears the field making it undefined.
6875
+ * @return {!proto.user.RegistrationRequest} returns this
6876
+ */
6877
+ proto.user.RegistrationRequest.prototype.clearAntifraudSession = function() {
6878
+ return jspb.Message.setField(this, 26, undefined);
6879
+ };
6880
+
6881
+
6882
+ /**
6883
+ * Returns whether this field is set.
6884
+ * @return {boolean}
6885
+ */
6886
+ proto.user.RegistrationRequest.prototype.hasAntifraudSession = function() {
6887
+ return jspb.Message.getField(this, 26) != null;
6888
+ };
6889
+
6890
+
6843
6891
 
6844
6892
 
6845
6893
 
@@ -8208,7 +8256,9 @@ proto.user.TelegramLoginRequest.toObject = function(includeInstance, msg) {
8208
8256
  userIp: jspb.Message.getFieldWithDefault(msg, 6, ""),
8209
8257
  device: jspb.Message.getFieldWithDefault(msg, 7, ""),
8210
8258
  country: jspb.Message.getFieldWithDefault(msg, 8, ""),
8211
- city: jspb.Message.getFieldWithDefault(msg, 9, "")
8259
+ city: jspb.Message.getFieldWithDefault(msg, 9, ""),
8260
+ antifraudSession: jspb.Message.getFieldWithDefault(msg, 10, ""),
8261
+ userAgent: jspb.Message.getFieldWithDefault(msg, 11, "")
8212
8262
  };
8213
8263
 
8214
8264
  if (includeInstance) {
@@ -8281,6 +8331,14 @@ proto.user.TelegramLoginRequest.deserializeBinaryFromReader = function(msg, read
8281
8331
  var value = /** @type {string} */ (reader.readString());
8282
8332
  msg.setCity(value);
8283
8333
  break;
8334
+ case 10:
8335
+ var value = /** @type {string} */ (reader.readString());
8336
+ msg.setAntifraudSession(value);
8337
+ break;
8338
+ case 11:
8339
+ var value = /** @type {string} */ (reader.readString());
8340
+ msg.setUserAgent(value);
8341
+ break;
8284
8342
  default:
8285
8343
  reader.skipField();
8286
8344
  break;
@@ -8373,6 +8431,20 @@ proto.user.TelegramLoginRequest.serializeBinaryToWriter = function(message, writ
8373
8431
  f
8374
8432
  );
8375
8433
  }
8434
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
8435
+ if (f != null) {
8436
+ writer.writeString(
8437
+ 10,
8438
+ f
8439
+ );
8440
+ }
8441
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
8442
+ if (f != null) {
8443
+ writer.writeString(
8444
+ 11,
8445
+ f
8446
+ );
8447
+ }
8376
8448
  };
8377
8449
 
8378
8450
 
@@ -8682,6 +8754,78 @@ proto.user.TelegramLoginRequest.prototype.hasCity = function() {
8682
8754
  };
8683
8755
 
8684
8756
 
8757
+ /**
8758
+ * optional string antifraud_session = 10;
8759
+ * @return {string}
8760
+ */
8761
+ proto.user.TelegramLoginRequest.prototype.getAntifraudSession = function() {
8762
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
8763
+ };
8764
+
8765
+
8766
+ /**
8767
+ * @param {string} value
8768
+ * @return {!proto.user.TelegramLoginRequest} returns this
8769
+ */
8770
+ proto.user.TelegramLoginRequest.prototype.setAntifraudSession = function(value) {
8771
+ return jspb.Message.setField(this, 10, value);
8772
+ };
8773
+
8774
+
8775
+ /**
8776
+ * Clears the field making it undefined.
8777
+ * @return {!proto.user.TelegramLoginRequest} returns this
8778
+ */
8779
+ proto.user.TelegramLoginRequest.prototype.clearAntifraudSession = function() {
8780
+ return jspb.Message.setField(this, 10, undefined);
8781
+ };
8782
+
8783
+
8784
+ /**
8785
+ * Returns whether this field is set.
8786
+ * @return {boolean}
8787
+ */
8788
+ proto.user.TelegramLoginRequest.prototype.hasAntifraudSession = function() {
8789
+ return jspb.Message.getField(this, 10) != null;
8790
+ };
8791
+
8792
+
8793
+ /**
8794
+ * optional string user_agent = 11;
8795
+ * @return {string}
8796
+ */
8797
+ proto.user.TelegramLoginRequest.prototype.getUserAgent = function() {
8798
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
8799
+ };
8800
+
8801
+
8802
+ /**
8803
+ * @param {string} value
8804
+ * @return {!proto.user.TelegramLoginRequest} returns this
8805
+ */
8806
+ proto.user.TelegramLoginRequest.prototype.setUserAgent = function(value) {
8807
+ return jspb.Message.setField(this, 11, value);
8808
+ };
8809
+
8810
+
8811
+ /**
8812
+ * Clears the field making it undefined.
8813
+ * @return {!proto.user.TelegramLoginRequest} returns this
8814
+ */
8815
+ proto.user.TelegramLoginRequest.prototype.clearUserAgent = function() {
8816
+ return jspb.Message.setField(this, 11, undefined);
8817
+ };
8818
+
8819
+
8820
+ /**
8821
+ * Returns whether this field is set.
8822
+ * @return {boolean}
8823
+ */
8824
+ proto.user.TelegramLoginRequest.prototype.hasUserAgent = function() {
8825
+ return jspb.Message.getField(this, 11) != null;
8826
+ };
8827
+
8828
+
8685
8829
 
8686
8830
 
8687
8831
 
@@ -8728,7 +8872,8 @@ proto.user.GoogleLoginRequest.toObject = function(includeInstance, msg) {
8728
8872
  seonSession: jspb.Message.getFieldWithDefault(msg, 12, ""),
8729
8873
  requestId: jspb.Message.getFieldWithDefault(msg, 13, ""),
8730
8874
  correlationId: jspb.Message.getFieldWithDefault(msg, 14, ""),
8731
- userAgent: jspb.Message.getFieldWithDefault(msg, 15, "")
8875
+ userAgent: jspb.Message.getFieldWithDefault(msg, 15, ""),
8876
+ antifraudSession: jspb.Message.getFieldWithDefault(msg, 16, "")
8732
8877
  };
8733
8878
 
8734
8879
  if (includeInstance) {
@@ -8825,6 +8970,10 @@ proto.user.GoogleLoginRequest.deserializeBinaryFromReader = function(msg, reader
8825
8970
  var value = /** @type {string} */ (reader.readString());
8826
8971
  msg.setUserAgent(value);
8827
8972
  break;
8973
+ case 16:
8974
+ var value = /** @type {string} */ (reader.readString());
8975
+ msg.setAntifraudSession(value);
8976
+ break;
8828
8977
  default:
8829
8978
  reader.skipField();
8830
8979
  break;
@@ -8959,6 +9108,13 @@ proto.user.GoogleLoginRequest.serializeBinaryToWriter = function(message, writer
8959
9108
  f
8960
9109
  );
8961
9110
  }
9111
+ f = /** @type {string} */ (jspb.Message.getField(message, 16));
9112
+ if (f != null) {
9113
+ writer.writeString(
9114
+ 16,
9115
+ f
9116
+ );
9117
+ }
8962
9118
  };
8963
9119
 
8964
9120
 
@@ -9466,6 +9622,42 @@ proto.user.GoogleLoginRequest.prototype.hasUserAgent = function() {
9466
9622
  };
9467
9623
 
9468
9624
 
9625
+ /**
9626
+ * optional string antifraud_session = 16;
9627
+ * @return {string}
9628
+ */
9629
+ proto.user.GoogleLoginRequest.prototype.getAntifraudSession = function() {
9630
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
9631
+ };
9632
+
9633
+
9634
+ /**
9635
+ * @param {string} value
9636
+ * @return {!proto.user.GoogleLoginRequest} returns this
9637
+ */
9638
+ proto.user.GoogleLoginRequest.prototype.setAntifraudSession = function(value) {
9639
+ return jspb.Message.setField(this, 16, value);
9640
+ };
9641
+
9642
+
9643
+ /**
9644
+ * Clears the field making it undefined.
9645
+ * @return {!proto.user.GoogleLoginRequest} returns this
9646
+ */
9647
+ proto.user.GoogleLoginRequest.prototype.clearAntifraudSession = function() {
9648
+ return jspb.Message.setField(this, 16, undefined);
9649
+ };
9650
+
9651
+
9652
+ /**
9653
+ * Returns whether this field is set.
9654
+ * @return {boolean}
9655
+ */
9656
+ proto.user.GoogleLoginRequest.prototype.hasAntifraudSession = function() {
9657
+ return jspb.Message.getField(this, 16) != null;
9658
+ };
9659
+
9660
+
9469
9661
 
9470
9662
 
9471
9663
 
@@ -9517,7 +9709,8 @@ proto.user.AppleLoginRequest.toObject = function(includeInstance, msg) {
9517
9709
  firstName: jspb.Message.getFieldWithDefault(msg, 17, ""),
9518
9710
  lastName: jspb.Message.getFieldWithDefault(msg, 18, ""),
9519
9711
  email: jspb.Message.getFieldWithDefault(msg, 19, ""),
9520
- nonce: jspb.Message.getFieldWithDefault(msg, 20, "")
9712
+ nonce: jspb.Message.getFieldWithDefault(msg, 20, ""),
9713
+ antifraudSession: jspb.Message.getFieldWithDefault(msg, 21, "")
9521
9714
  };
9522
9715
 
9523
9716
  if (includeInstance) {
@@ -9634,6 +9827,10 @@ proto.user.AppleLoginRequest.deserializeBinaryFromReader = function(msg, reader)
9634
9827
  var value = /** @type {string} */ (reader.readString());
9635
9828
  msg.setNonce(value);
9636
9829
  break;
9830
+ case 21:
9831
+ var value = /** @type {string} */ (reader.readString());
9832
+ msg.setAntifraudSession(value);
9833
+ break;
9637
9834
  default:
9638
9835
  reader.skipField();
9639
9836
  break;
@@ -9803,6 +10000,13 @@ proto.user.AppleLoginRequest.serializeBinaryToWriter = function(message, writer)
9803
10000
  f
9804
10001
  );
9805
10002
  }
10003
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
10004
+ if (f != null) {
10005
+ writer.writeString(
10006
+ 21,
10007
+ f
10008
+ );
10009
+ }
9806
10010
  };
9807
10011
 
9808
10012
 
@@ -10490,6 +10694,42 @@ proto.user.AppleLoginRequest.prototype.hasNonce = function() {
10490
10694
  };
10491
10695
 
10492
10696
 
10697
+ /**
10698
+ * optional string antifraud_session = 21;
10699
+ * @return {string}
10700
+ */
10701
+ proto.user.AppleLoginRequest.prototype.getAntifraudSession = function() {
10702
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
10703
+ };
10704
+
10705
+
10706
+ /**
10707
+ * @param {string} value
10708
+ * @return {!proto.user.AppleLoginRequest} returns this
10709
+ */
10710
+ proto.user.AppleLoginRequest.prototype.setAntifraudSession = function(value) {
10711
+ return jspb.Message.setField(this, 21, value);
10712
+ };
10713
+
10714
+
10715
+ /**
10716
+ * Clears the field making it undefined.
10717
+ * @return {!proto.user.AppleLoginRequest} returns this
10718
+ */
10719
+ proto.user.AppleLoginRequest.prototype.clearAntifraudSession = function() {
10720
+ return jspb.Message.setField(this, 21, undefined);
10721
+ };
10722
+
10723
+
10724
+ /**
10725
+ * Returns whether this field is set.
10726
+ * @return {boolean}
10727
+ */
10728
+ proto.user.AppleLoginRequest.prototype.hasAntifraudSession = function() {
10729
+ return jspb.Message.getField(this, 21) != null;
10730
+ };
10731
+
10732
+
10493
10733
 
10494
10734
 
10495
10735
 
@@ -15156,7 +15396,11 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
15156
15396
  riskScore: jspb.Message.getFieldWithDefault(msg, 38, 0),
15157
15397
  address: jspb.Message.getFieldWithDefault(msg, 39, ""),
15158
15398
  seonFraudScore: jspb.Message.getFieldWithDefault(msg, 40, 0),
15159
- presetId: jspb.Message.getFieldWithDefault(msg, 41, 0)
15399
+ presetId: jspb.Message.getFieldWithDefault(msg, 41, 0),
15400
+ antifraudProvider: jspb.Message.getFieldWithDefault(msg, 42, ""),
15401
+ antifraudScore: jspb.Message.getFieldWithDefault(msg, 43, 0),
15402
+ antifraudStatus: jspb.Message.getFieldWithDefault(msg, 44, ""),
15403
+ antifraudReason: jspb.Message.getFieldWithDefault(msg, 45, "")
15160
15404
  };
15161
15405
 
15162
15406
  if (includeInstance) {
@@ -15358,6 +15602,22 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
15358
15602
  var value = /** @type {number} */ (reader.readInt32());
15359
15603
  msg.setPresetId(value);
15360
15604
  break;
15605
+ case 42:
15606
+ var value = /** @type {string} */ (reader.readString());
15607
+ msg.setAntifraudProvider(value);
15608
+ break;
15609
+ case 43:
15610
+ var value = /** @type {number} */ (reader.readInt32());
15611
+ msg.setAntifraudScore(value);
15612
+ break;
15613
+ case 44:
15614
+ var value = /** @type {string} */ (reader.readString());
15615
+ msg.setAntifraudStatus(value);
15616
+ break;
15617
+ case 45:
15618
+ var value = /** @type {string} */ (reader.readString());
15619
+ msg.setAntifraudReason(value);
15620
+ break;
15361
15621
  default:
15362
15622
  reader.skipField();
15363
15623
  break;
@@ -15675,6 +15935,34 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
15675
15935
  f
15676
15936
  );
15677
15937
  }
15938
+ f = /** @type {string} */ (jspb.Message.getField(message, 42));
15939
+ if (f != null) {
15940
+ writer.writeString(
15941
+ 42,
15942
+ f
15943
+ );
15944
+ }
15945
+ f = /** @type {number} */ (jspb.Message.getField(message, 43));
15946
+ if (f != null) {
15947
+ writer.writeInt32(
15948
+ 43,
15949
+ f
15950
+ );
15951
+ }
15952
+ f = /** @type {string} */ (jspb.Message.getField(message, 44));
15953
+ if (f != null) {
15954
+ writer.writeString(
15955
+ 44,
15956
+ f
15957
+ );
15958
+ }
15959
+ f = /** @type {string} */ (jspb.Message.getField(message, 45));
15960
+ if (f != null) {
15961
+ writer.writeString(
15962
+ 45,
15963
+ f
15964
+ );
15965
+ }
15678
15966
  };
15679
15967
 
15680
15968
 
@@ -17119,6 +17407,150 @@ proto.user.UserDataResponse.prototype.hasPresetId = function() {
17119
17407
  };
17120
17408
 
17121
17409
 
17410
+ /**
17411
+ * optional string antifraud_provider = 42;
17412
+ * @return {string}
17413
+ */
17414
+ proto.user.UserDataResponse.prototype.getAntifraudProvider = function() {
17415
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 42, ""));
17416
+ };
17417
+
17418
+
17419
+ /**
17420
+ * @param {string} value
17421
+ * @return {!proto.user.UserDataResponse} returns this
17422
+ */
17423
+ proto.user.UserDataResponse.prototype.setAntifraudProvider = function(value) {
17424
+ return jspb.Message.setField(this, 42, value);
17425
+ };
17426
+
17427
+
17428
+ /**
17429
+ * Clears the field making it undefined.
17430
+ * @return {!proto.user.UserDataResponse} returns this
17431
+ */
17432
+ proto.user.UserDataResponse.prototype.clearAntifraudProvider = function() {
17433
+ return jspb.Message.setField(this, 42, undefined);
17434
+ };
17435
+
17436
+
17437
+ /**
17438
+ * Returns whether this field is set.
17439
+ * @return {boolean}
17440
+ */
17441
+ proto.user.UserDataResponse.prototype.hasAntifraudProvider = function() {
17442
+ return jspb.Message.getField(this, 42) != null;
17443
+ };
17444
+
17445
+
17446
+ /**
17447
+ * optional int32 antifraud_score = 43;
17448
+ * @return {number}
17449
+ */
17450
+ proto.user.UserDataResponse.prototype.getAntifraudScore = function() {
17451
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 43, 0));
17452
+ };
17453
+
17454
+
17455
+ /**
17456
+ * @param {number} value
17457
+ * @return {!proto.user.UserDataResponse} returns this
17458
+ */
17459
+ proto.user.UserDataResponse.prototype.setAntifraudScore = function(value) {
17460
+ return jspb.Message.setField(this, 43, value);
17461
+ };
17462
+
17463
+
17464
+ /**
17465
+ * Clears the field making it undefined.
17466
+ * @return {!proto.user.UserDataResponse} returns this
17467
+ */
17468
+ proto.user.UserDataResponse.prototype.clearAntifraudScore = function() {
17469
+ return jspb.Message.setField(this, 43, undefined);
17470
+ };
17471
+
17472
+
17473
+ /**
17474
+ * Returns whether this field is set.
17475
+ * @return {boolean}
17476
+ */
17477
+ proto.user.UserDataResponse.prototype.hasAntifraudScore = function() {
17478
+ return jspb.Message.getField(this, 43) != null;
17479
+ };
17480
+
17481
+
17482
+ /**
17483
+ * optional string antifraud_status = 44;
17484
+ * @return {string}
17485
+ */
17486
+ proto.user.UserDataResponse.prototype.getAntifraudStatus = function() {
17487
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 44, ""));
17488
+ };
17489
+
17490
+
17491
+ /**
17492
+ * @param {string} value
17493
+ * @return {!proto.user.UserDataResponse} returns this
17494
+ */
17495
+ proto.user.UserDataResponse.prototype.setAntifraudStatus = function(value) {
17496
+ return jspb.Message.setField(this, 44, value);
17497
+ };
17498
+
17499
+
17500
+ /**
17501
+ * Clears the field making it undefined.
17502
+ * @return {!proto.user.UserDataResponse} returns this
17503
+ */
17504
+ proto.user.UserDataResponse.prototype.clearAntifraudStatus = function() {
17505
+ return jspb.Message.setField(this, 44, undefined);
17506
+ };
17507
+
17508
+
17509
+ /**
17510
+ * Returns whether this field is set.
17511
+ * @return {boolean}
17512
+ */
17513
+ proto.user.UserDataResponse.prototype.hasAntifraudStatus = function() {
17514
+ return jspb.Message.getField(this, 44) != null;
17515
+ };
17516
+
17517
+
17518
+ /**
17519
+ * optional string antifraud_reason = 45;
17520
+ * @return {string}
17521
+ */
17522
+ proto.user.UserDataResponse.prototype.getAntifraudReason = function() {
17523
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 45, ""));
17524
+ };
17525
+
17526
+
17527
+ /**
17528
+ * @param {string} value
17529
+ * @return {!proto.user.UserDataResponse} returns this
17530
+ */
17531
+ proto.user.UserDataResponse.prototype.setAntifraudReason = function(value) {
17532
+ return jspb.Message.setField(this, 45, value);
17533
+ };
17534
+
17535
+
17536
+ /**
17537
+ * Clears the field making it undefined.
17538
+ * @return {!proto.user.UserDataResponse} returns this
17539
+ */
17540
+ proto.user.UserDataResponse.prototype.clearAntifraudReason = function() {
17541
+ return jspb.Message.setField(this, 45, undefined);
17542
+ };
17543
+
17544
+
17545
+ /**
17546
+ * Returns whether this field is set.
17547
+ * @return {boolean}
17548
+ */
17549
+ proto.user.UserDataResponse.prototype.hasAntifraudReason = function() {
17550
+ return jspb.Message.getField(this, 45) != null;
17551
+ };
17552
+
17553
+
17122
17554
 
17123
17555
 
17124
17556