protobuf-platform 1.1.92 → 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.92",
3
+ "version": "1.1.93",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -278,6 +278,7 @@ message SegmentRuleRequest {
278
278
  optional SegmentBetRuleRequest bet_rule = 2;
279
279
  optional SegmentSessionRuleRequest session_rule = 3;
280
280
  optional SegmentGameRuleRequest game_rule = 4;
281
+ optional SegmentPlatformRuleRequest platform_rule = 5;
281
282
  }
282
283
  message GetSegmentRuleRequest {
283
284
  int32 segment_id = 1;
@@ -342,11 +343,20 @@ message SegmentGameRuleRequest {
342
343
  optional float rtp_max = 7;
343
344
  optional int32 is_active = 8;
344
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
+ }
345
354
  message SegmentRuleItem {
346
355
  optional SegmentPaymentRuleItem payment_rule = 1;
347
356
  optional SegmentBetRuleItem bet_rule = 2;
348
357
  optional SegmentSessionRuleItem session_rule = 3;
349
358
  optional SegmentGameRuleItem game_rule = 4;
359
+ optional SegmentPlatformRuleItem platform_rule = 5;
350
360
  }
351
361
  message SegmentPaymentRuleItem {
352
362
  optional float deposit_amount_min = 1;
@@ -406,6 +416,14 @@ message SegmentGameRuleItem {
406
416
  optional float rtp_max = 7;
407
417
  optional int32 is_active = 8;
408
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
+ }
409
427
  //Statuses
410
428
  message RiskStatus {
411
429
  int32 id = 1;