protobuf-platform 1.0.174 → 1.0.176

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/index.js CHANGED
@@ -19,6 +19,8 @@ const BonusService = require('./bonus/bonus_grpc_pb');
19
19
  const BonusServiceMessages = require('./bonus/bonus_pb');
20
20
  const LoyaltyService = require('./loyalty/loyalty_grpc_pb');
21
21
  const LoyaltyServiceMessages = require('./loyalty/loyalty_pb');
22
+ const NotificationService = require('./notification/notification_grpc_pb');
23
+ const NotificationServiceMessages = require('./notification/notification_pb');
22
24
  module.exports = {
23
25
  gRPC: gRPC,
24
26
  maxSendMessageLength: 10388608,
@@ -60,4 +62,8 @@ module.exports = {
60
62
  service: LoyaltyService,
61
63
  messages: LoyaltyServiceMessages
62
64
  },
65
+ notification: {
66
+ service: NotificationService,
67
+ messages: NotificationServiceMessages
68
+ },
63
69
  };
@@ -75,20 +75,39 @@ message LevelStatusResponse {
75
75
 
76
76
 
77
77
  //Point CRUD
78
+ message SignUpPoint {
79
+ string country = 1;
80
+ int32 points = 2;
81
+ }
82
+ message DepositPoint {
83
+ string currency = 1;
84
+ int32 points = 2;
85
+ float min = 3;
86
+ float max = 4;
87
+ optional int32 number_of_deposit = 5;
88
+ }
89
+ message BetPoint {
90
+ string currency = 1;
91
+ int32 points = 2;
92
+ float min = 3;
93
+ float max = 4;
94
+ optional int32 number_of_step = 5;
95
+ optional int32 wager_game_list_id = 6;
96
+ }
78
97
  message PointItem {
79
98
  optional int32 id = 1;
80
- optional string title = 2;
81
- optional string description = 3;
82
- optional int32 is_active = 4;
83
- optional int32 reward_amount = 5;
99
+ optional string type = 2;
100
+ repeated SignUpPoint sign_up_points = 3;
101
+ repeated DepositPoint deposit_points = 4;
102
+ repeated BetPoint bet_points = 5;
84
103
  }
85
104
  //Point CRUD | Requests
86
105
  message PointRequest {
87
106
  optional int32 id = 1;
88
- optional string title = 2;
89
- optional string description = 3;
90
- optional int32 is_active = 4;
91
- optional int32 reward_amount = 5;
107
+ optional string type = 2;
108
+ repeated SignUpPoint sign_up_points = 3;
109
+ repeated DepositPoint deposit_points = 4;
110
+ repeated BetPoint bet_points = 5;
92
111
  }
93
112
  message GetPointRequest {
94
113
  int32 id = 1;