protobuf-platform 1.1.92 → 1.1.94

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