protobuf-platform 1.1.91 → 1.1.93

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.91",
3
+ "version": "1.1.93",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -263,6 +263,7 @@ message SegmentResponse {
263
263
  repeated SegmentPaymentRuleItem payment_rules = 7;
264
264
  repeated SegmentBetRuleItem bet_rules = 8;
265
265
  repeated SegmentSessionRuleItem session_rules = 9;
266
+ repeated SegmentGameRuleItem game_rules = 10;
266
267
  }
267
268
  message SegmentStatusResponse {
268
269
  string status = 1;
@@ -277,6 +278,7 @@ message SegmentRuleRequest {
277
278
  optional SegmentBetRuleRequest bet_rule = 2;
278
279
  optional SegmentSessionRuleRequest session_rule = 3;
279
280
  optional SegmentGameRuleRequest game_rule = 4;
281
+ optional SegmentPlatformRuleRequest platform_rule = 5;
280
282
  }
281
283
  message GetSegmentRuleRequest {
282
284
  int32 segment_id = 1;
@@ -341,11 +343,20 @@ message SegmentGameRuleRequest {
341
343
  optional float rtp_max = 7;
342
344
  optional int32 is_active = 8;
343
345
  }
346
+ message SegmentPlatformRuleRequest {
347
+ int32 segment_id = 1;
348
+ repeated string countries = 2;
349
+ repeated string os = 3;
350
+ repeated string devices = 4;
351
+ repeated string browsers = 5;
352
+ optional int32 is_active = 6;
353
+ }
344
354
  message SegmentRuleItem {
345
355
  optional SegmentPaymentRuleItem payment_rule = 1;
346
356
  optional SegmentBetRuleItem bet_rule = 2;
347
357
  optional SegmentSessionRuleItem session_rule = 3;
348
358
  optional SegmentGameRuleItem game_rule = 4;
359
+ optional SegmentPlatformRuleItem platform_rule = 5;
349
360
  }
350
361
  message SegmentPaymentRuleItem {
351
362
  optional float deposit_amount_min = 1;
@@ -405,6 +416,14 @@ message SegmentGameRuleItem {
405
416
  optional float rtp_max = 7;
406
417
  optional int32 is_active = 8;
407
418
  }
419
+ message SegmentPlatformRuleItem {
420
+ int32 segment_id = 1;
421
+ repeated string countries = 2;
422
+ repeated string os = 3;
423
+ repeated string devices = 4;
424
+ repeated string browsers = 5;
425
+ optional int32 is_active = 6;
426
+ }
408
427
  //Statuses
409
428
  message RiskStatus {
410
429
  int32 id = 1;