protobuf-platform 1.2.396 → 1.2.398

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/bonus/bonus.proto CHANGED
@@ -285,6 +285,7 @@ message UserBonusItem {
285
285
  optional string closed_at = 29;
286
286
  optional string history_type = 30;
287
287
  optional bool can_activate = 31;
288
+ optional int32 user_promocode_id = 32;
288
289
  }
289
290
  message FreeSpinItem {
290
291
  int32 game_id = 1;
@@ -326,6 +327,7 @@ message GetUserBonusRequest {
326
327
  optional string user_name = 9;
327
328
  optional string status = 10;
328
329
  optional bool is_mobile = 11;
330
+ optional string promo_code = 12;
329
331
  }
330
332
  message UserBonusItemsResponse {
331
333
  repeated UserBonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -11010,7 +11010,8 @@ proto.bonus.UserBonusItem.toObject = function(includeInstance, msg) {
11010
11010
  rewardFreeBet: jspb.Message.getFloatingPointFieldWithDefault(msg, 28, 0.0),
11011
11011
  closedAt: jspb.Message.getFieldWithDefault(msg, 29, ""),
11012
11012
  historyType: jspb.Message.getFieldWithDefault(msg, 30, ""),
11013
- canActivate: jspb.Message.getBooleanFieldWithDefault(msg, 31, false)
11013
+ canActivate: jspb.Message.getBooleanFieldWithDefault(msg, 31, false),
11014
+ userPromocodeId: jspb.Message.getFieldWithDefault(msg, 32, 0)
11014
11015
  };
11015
11016
 
11016
11017
  if (includeInstance) {
@@ -11173,6 +11174,10 @@ proto.bonus.UserBonusItem.deserializeBinaryFromReader = function(msg, reader) {
11173
11174
  var value = /** @type {boolean} */ (reader.readBool());
11174
11175
  msg.setCanActivate(value);
11175
11176
  break;
11177
+ case 32:
11178
+ var value = /** @type {number} */ (reader.readInt32());
11179
+ msg.setUserPromocodeId(value);
11180
+ break;
11176
11181
  default:
11177
11182
  reader.skipField();
11178
11183
  break;
@@ -11421,6 +11426,13 @@ proto.bonus.UserBonusItem.serializeBinaryToWriter = function(message, writer) {
11421
11426
  f
11422
11427
  );
11423
11428
  }
11429
+ f = /** @type {number} */ (jspb.Message.getField(message, 32));
11430
+ if (f != null) {
11431
+ writer.writeInt32(
11432
+ 32,
11433
+ f
11434
+ );
11435
+ }
11424
11436
  };
11425
11437
 
11426
11438
 
@@ -12543,6 +12555,42 @@ proto.bonus.UserBonusItem.prototype.hasCanActivate = function() {
12543
12555
  };
12544
12556
 
12545
12557
 
12558
+ /**
12559
+ * optional int32 user_promocode_id = 32;
12560
+ * @return {number}
12561
+ */
12562
+ proto.bonus.UserBonusItem.prototype.getUserPromocodeId = function() {
12563
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 32, 0));
12564
+ };
12565
+
12566
+
12567
+ /**
12568
+ * @param {number} value
12569
+ * @return {!proto.bonus.UserBonusItem} returns this
12570
+ */
12571
+ proto.bonus.UserBonusItem.prototype.setUserPromocodeId = function(value) {
12572
+ return jspb.Message.setField(this, 32, value);
12573
+ };
12574
+
12575
+
12576
+ /**
12577
+ * Clears the field making it undefined.
12578
+ * @return {!proto.bonus.UserBonusItem} returns this
12579
+ */
12580
+ proto.bonus.UserBonusItem.prototype.clearUserPromocodeId = function() {
12581
+ return jspb.Message.setField(this, 32, undefined);
12582
+ };
12583
+
12584
+
12585
+ /**
12586
+ * Returns whether this field is set.
12587
+ * @return {boolean}
12588
+ */
12589
+ proto.bonus.UserBonusItem.prototype.hasUserPromocodeId = function() {
12590
+ return jspb.Message.getField(this, 32) != null;
12591
+ };
12592
+
12593
+
12546
12594
 
12547
12595
 
12548
12596
 
@@ -13865,7 +13913,8 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
13865
13913
  userPublicId: jspb.Message.getFieldWithDefault(msg, 8, ""),
13866
13914
  userName: jspb.Message.getFieldWithDefault(msg, 9, ""),
13867
13915
  status: jspb.Message.getFieldWithDefault(msg, 10, ""),
13868
- isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
13916
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
13917
+ promoCode: jspb.Message.getFieldWithDefault(msg, 12, "")
13869
13918
  };
13870
13919
 
13871
13920
  if (includeInstance) {
@@ -13946,6 +13995,10 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
13946
13995
  var value = /** @type {boolean} */ (reader.readBool());
13947
13996
  msg.setIsMobile(value);
13948
13997
  break;
13998
+ case 12:
13999
+ var value = /** @type {string} */ (reader.readString());
14000
+ msg.setPromoCode(value);
14001
+ break;
13949
14002
  default:
13950
14003
  reader.skipField();
13951
14004
  break;
@@ -14052,6 +14105,13 @@ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writ
14052
14105
  f
14053
14106
  );
14054
14107
  }
14108
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
14109
+ if (f != null) {
14110
+ writer.writeString(
14111
+ 12,
14112
+ f
14113
+ );
14114
+ }
14055
14115
  };
14056
14116
 
14057
14117
 
@@ -14433,6 +14493,42 @@ proto.bonus.GetUserBonusRequest.prototype.hasIsMobile = function() {
14433
14493
  };
14434
14494
 
14435
14495
 
14496
+ /**
14497
+ * optional string promo_code = 12;
14498
+ * @return {string}
14499
+ */
14500
+ proto.bonus.GetUserBonusRequest.prototype.getPromoCode = function() {
14501
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
14502
+ };
14503
+
14504
+
14505
+ /**
14506
+ * @param {string} value
14507
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
14508
+ */
14509
+ proto.bonus.GetUserBonusRequest.prototype.setPromoCode = function(value) {
14510
+ return jspb.Message.setField(this, 12, value);
14511
+ };
14512
+
14513
+
14514
+ /**
14515
+ * Clears the field making it undefined.
14516
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
14517
+ */
14518
+ proto.bonus.GetUserBonusRequest.prototype.clearPromoCode = function() {
14519
+ return jspb.Message.setField(this, 12, undefined);
14520
+ };
14521
+
14522
+
14523
+ /**
14524
+ * Returns whether this field is set.
14525
+ * @return {boolean}
14526
+ */
14527
+ proto.bonus.GetUserBonusRequest.prototype.hasPromoCode = function() {
14528
+ return jspb.Message.getField(this, 12) != null;
14529
+ };
14530
+
14531
+
14436
14532
 
14437
14533
  /**
14438
14534
  * List of repeated fields within this message type.
package/cms/cms.proto CHANGED
@@ -487,6 +487,7 @@ message SetPageSeoAttributesRequest {
487
487
  optional string h1 = 10;
488
488
  optional string description = 11;
489
489
  optional string full_description = 12;
490
+ optional string additional_description = 13;
490
491
  }
491
492
  message GetPageSeoAttributesRequest {
492
493
  string geo = 1;
@@ -507,6 +508,7 @@ message PageSeoAttributesItem {
507
508
  optional string h1 = 10;
508
509
  optional string description = 11;
509
510
  optional string full_description = 12;
511
+ optional string additional_description = 13;
510
512
  }
511
513
  message PageSeoAttributesResponse {
512
514
  PageSeoAttributesItem data = 1;
package/cms/cms_pb.js CHANGED
@@ -19563,7 +19563,8 @@ proto.cms.SetPageSeoAttributesRequest.toObject = function(includeInstance, msg)
19563
19563
  twitterDescription: jspb.Message.getFieldWithDefault(msg, 9, ""),
19564
19564
  h1: jspb.Message.getFieldWithDefault(msg, 10, ""),
19565
19565
  description: jspb.Message.getFieldWithDefault(msg, 11, ""),
19566
- fullDescription: jspb.Message.getFieldWithDefault(msg, 12, "")
19566
+ fullDescription: jspb.Message.getFieldWithDefault(msg, 12, ""),
19567
+ additionalDescription: jspb.Message.getFieldWithDefault(msg, 13, "")
19567
19568
  };
19568
19569
 
19569
19570
  if (includeInstance) {
@@ -19648,6 +19649,10 @@ proto.cms.SetPageSeoAttributesRequest.deserializeBinaryFromReader = function(msg
19648
19649
  var value = /** @type {string} */ (reader.readString());
19649
19650
  msg.setFullDescription(value);
19650
19651
  break;
19652
+ case 13:
19653
+ var value = /** @type {string} */ (reader.readString());
19654
+ msg.setAdditionalDescription(value);
19655
+ break;
19651
19656
  default:
19652
19657
  reader.skipField();
19653
19658
  break;
@@ -19761,6 +19766,13 @@ proto.cms.SetPageSeoAttributesRequest.serializeBinaryToWriter = function(message
19761
19766
  f
19762
19767
  );
19763
19768
  }
19769
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
19770
+ if (f != null) {
19771
+ writer.writeString(
19772
+ 13,
19773
+ f
19774
+ );
19775
+ }
19764
19776
  };
19765
19777
 
19766
19778
 
@@ -20142,6 +20154,42 @@ proto.cms.SetPageSeoAttributesRequest.prototype.hasFullDescription = function()
20142
20154
  };
20143
20155
 
20144
20156
 
20157
+ /**
20158
+ * optional string additional_description = 13;
20159
+ * @return {string}
20160
+ */
20161
+ proto.cms.SetPageSeoAttributesRequest.prototype.getAdditionalDescription = function() {
20162
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
20163
+ };
20164
+
20165
+
20166
+ /**
20167
+ * @param {string} value
20168
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
20169
+ */
20170
+ proto.cms.SetPageSeoAttributesRequest.prototype.setAdditionalDescription = function(value) {
20171
+ return jspb.Message.setField(this, 13, value);
20172
+ };
20173
+
20174
+
20175
+ /**
20176
+ * Clears the field making it undefined.
20177
+ * @return {!proto.cms.SetPageSeoAttributesRequest} returns this
20178
+ */
20179
+ proto.cms.SetPageSeoAttributesRequest.prototype.clearAdditionalDescription = function() {
20180
+ return jspb.Message.setField(this, 13, undefined);
20181
+ };
20182
+
20183
+
20184
+ /**
20185
+ * Returns whether this field is set.
20186
+ * @return {boolean}
20187
+ */
20188
+ proto.cms.SetPageSeoAttributesRequest.prototype.hasAdditionalDescription = function() {
20189
+ return jspb.Message.getField(this, 13) != null;
20190
+ };
20191
+
20192
+
20145
20193
 
20146
20194
 
20147
20195
 
@@ -20441,7 +20489,8 @@ proto.cms.PageSeoAttributesItem.toObject = function(includeInstance, msg) {
20441
20489
  twitterDescription: jspb.Message.getFieldWithDefault(msg, 9, ""),
20442
20490
  h1: jspb.Message.getFieldWithDefault(msg, 10, ""),
20443
20491
  description: jspb.Message.getFieldWithDefault(msg, 11, ""),
20444
- fullDescription: jspb.Message.getFieldWithDefault(msg, 12, "")
20492
+ fullDescription: jspb.Message.getFieldWithDefault(msg, 12, ""),
20493
+ additionalDescription: jspb.Message.getFieldWithDefault(msg, 13, "")
20445
20494
  };
20446
20495
 
20447
20496
  if (includeInstance) {
@@ -20526,6 +20575,10 @@ proto.cms.PageSeoAttributesItem.deserializeBinaryFromReader = function(msg, read
20526
20575
  var value = /** @type {string} */ (reader.readString());
20527
20576
  msg.setFullDescription(value);
20528
20577
  break;
20578
+ case 13:
20579
+ var value = /** @type {string} */ (reader.readString());
20580
+ msg.setAdditionalDescription(value);
20581
+ break;
20529
20582
  default:
20530
20583
  reader.skipField();
20531
20584
  break;
@@ -20639,6 +20692,13 @@ proto.cms.PageSeoAttributesItem.serializeBinaryToWriter = function(message, writ
20639
20692
  f
20640
20693
  );
20641
20694
  }
20695
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
20696
+ if (f != null) {
20697
+ writer.writeString(
20698
+ 13,
20699
+ f
20700
+ );
20701
+ }
20642
20702
  };
20643
20703
 
20644
20704
 
@@ -21020,6 +21080,42 @@ proto.cms.PageSeoAttributesItem.prototype.hasFullDescription = function() {
21020
21080
  };
21021
21081
 
21022
21082
 
21083
+ /**
21084
+ * optional string additional_description = 13;
21085
+ * @return {string}
21086
+ */
21087
+ proto.cms.PageSeoAttributesItem.prototype.getAdditionalDescription = function() {
21088
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
21089
+ };
21090
+
21091
+
21092
+ /**
21093
+ * @param {string} value
21094
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
21095
+ */
21096
+ proto.cms.PageSeoAttributesItem.prototype.setAdditionalDescription = function(value) {
21097
+ return jspb.Message.setField(this, 13, value);
21098
+ };
21099
+
21100
+
21101
+ /**
21102
+ * Clears the field making it undefined.
21103
+ * @return {!proto.cms.PageSeoAttributesItem} returns this
21104
+ */
21105
+ proto.cms.PageSeoAttributesItem.prototype.clearAdditionalDescription = function() {
21106
+ return jspb.Message.setField(this, 13, undefined);
21107
+ };
21108
+
21109
+
21110
+ /**
21111
+ * Returns whether this field is set.
21112
+ * @return {boolean}
21113
+ */
21114
+ proto.cms.PageSeoAttributesItem.prototype.hasAdditionalDescription = function() {
21115
+ return jspb.Message.getField(this, 13) != null;
21116
+ };
21117
+
21118
+
21023
21119
 
21024
21120
 
21025
21121
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.396",
3
+ "version": "1.2.398",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -48,6 +48,7 @@ service Payment {
48
48
  rpc userPaymentHistory(GetUserPaymentsInfoRequest) returns (UserPaymentHistoryItemsResponse);
49
49
  rpc getUserDepositCount(GetUserDepositCountRequest) returns (UserDepositCountResponse);
50
50
  rpc getPaymentMethodsForUser(GetUserPaymentsInfoRequest) returns (UserPaymentMethodsResponse);
51
+ rpc checkFastDeposit(CheckFastDepositRequest) returns (CheckFastDepositResponse);
51
52
  //Segmentation
52
53
  rpc getSegmentedUsers(SegmentedUserRequest) returns (SegmentedUserResponse);
53
54
  //Currency source-of-truth
@@ -587,6 +588,15 @@ message UserPaymentMethodsResponse {
587
588
  optional int32 total_pages = 2;
588
589
  optional int32 total_items = 3;
589
590
  }
591
+ message CheckFastDepositRequest {
592
+ int32 user_id = 1;
593
+ optional string currency = 2;
594
+ optional string country = 3;
595
+ optional string currency_type = 4;
596
+ }
597
+ message CheckFastDepositResponse {
598
+ UserPaymentMethodItem method = 1;
599
+ }
590
600
  //Segmentation
591
601
  message SegmentedUserRequest {
592
602
  optional float deposit_amount_min = 1;
@@ -26,6 +26,28 @@ function deserialize_payment_AttemptWithdrawalRequest(buffer_arg) {
26
26
  return payment_pb.AttemptWithdrawalRequest.deserializeBinary(new Uint8Array(buffer_arg));
27
27
  }
28
28
 
29
+ function serialize_payment_CheckFastDepositRequest(arg) {
30
+ if (!(arg instanceof payment_pb.CheckFastDepositRequest)) {
31
+ throw new Error('Expected argument of type payment.CheckFastDepositRequest');
32
+ }
33
+ return Buffer.from(arg.serializeBinary());
34
+ }
35
+
36
+ function deserialize_payment_CheckFastDepositRequest(buffer_arg) {
37
+ return payment_pb.CheckFastDepositRequest.deserializeBinary(new Uint8Array(buffer_arg));
38
+ }
39
+
40
+ function serialize_payment_CheckFastDepositResponse(arg) {
41
+ if (!(arg instanceof payment_pb.CheckFastDepositResponse)) {
42
+ throw new Error('Expected argument of type payment.CheckFastDepositResponse');
43
+ }
44
+ return Buffer.from(arg.serializeBinary());
45
+ }
46
+
47
+ function deserialize_payment_CheckFastDepositResponse(buffer_arg) {
48
+ return payment_pb.CheckFastDepositResponse.deserializeBinary(new Uint8Array(buffer_arg));
49
+ }
50
+
29
51
  function serialize_payment_CurrenciesMetadataResponse(arg) {
30
52
  if (!(arg instanceof payment_pb.CurrenciesMetadataResponse)) {
31
53
  throw new Error('Expected argument of type payment.CurrenciesMetadataResponse');
@@ -1069,6 +1091,17 @@ userPaymentsInfo: {
1069
1091
  responseSerialize: serialize_payment_UserPaymentMethodsResponse,
1070
1092
  responseDeserialize: deserialize_payment_UserPaymentMethodsResponse,
1071
1093
  },
1094
+ checkFastDeposit: {
1095
+ path: '/payment.Payment/checkFastDeposit',
1096
+ requestStream: false,
1097
+ responseStream: false,
1098
+ requestType: payment_pb.CheckFastDepositRequest,
1099
+ responseType: payment_pb.CheckFastDepositResponse,
1100
+ requestSerialize: serialize_payment_CheckFastDepositRequest,
1101
+ requestDeserialize: deserialize_payment_CheckFastDepositRequest,
1102
+ responseSerialize: serialize_payment_CheckFastDepositResponse,
1103
+ responseDeserialize: deserialize_payment_CheckFastDepositResponse,
1104
+ },
1072
1105
  // Segmentation
1073
1106
  getSegmentedUsers: {
1074
1107
  path: '/payment.Payment/getSegmentedUsers',