protobuf-platform 1.0.299 → 1.1.1
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 +1 -1
- package/tournament/tournament.proto +39 -3
- package/tournament/tournament_pb.js +2006 -77
package/package.json
CHANGED
@@ -84,12 +84,48 @@ message TournamentStatusItemsResponse {
|
|
84
84
|
optional int32 total_pages = 2;
|
85
85
|
optional int32 total_items = 3;
|
86
86
|
}
|
87
|
+
message ActivationRuleItem {
|
88
|
+
optional int32 id = 1;
|
89
|
+
optional int32 tournament_id = 2;
|
90
|
+
optional string currency = 3;
|
91
|
+
optional int32 deposit_min_sum = 4;
|
92
|
+
optional int32 bets_min_count = 5;
|
93
|
+
optional int32 user_category_id = 6;
|
94
|
+
optional int32 email_confirmed = 7;
|
95
|
+
optional int32 phone_confirmed = 8;
|
96
|
+
optional int32 kyc_confirmed = 9;
|
97
|
+
optional int32 ranking_points = 10;
|
98
|
+
optional int32 loyalty_points = 11;
|
99
|
+
optional int32 coins = 12;
|
100
|
+
}
|
87
101
|
message TournamentActivationRuleRequest {
|
88
|
-
|
102
|
+
int32 tournament_id = 1;
|
103
|
+
repeated ActivationRuleItem items = 2;
|
104
|
+
}
|
105
|
+
message ScoringRule {
|
106
|
+
optional int32 id = 1;
|
107
|
+
optional int32 tournament_id = 2;
|
108
|
+
optional string metric = 3;
|
109
|
+
optional float multiplier = 4;
|
110
|
+
optional float min_value = 5;
|
111
|
+
optional float max_value = 6;
|
112
|
+
optional float weight = 7;
|
113
|
+
optional int32 is_active = 8;
|
89
114
|
}
|
90
115
|
message TournamentScoringRuleRequest {
|
91
|
-
|
116
|
+
int32 tournament_id = 1;
|
117
|
+
repeated ScoringRule items = 2;
|
118
|
+
}
|
119
|
+
message RewardItem {
|
120
|
+
optional int32 id = 1;
|
121
|
+
optional int32 tournament_id = 2;
|
122
|
+
optional int32 place = 3;
|
123
|
+
optional int32 loyalty_points = 4;
|
124
|
+
optional int32 ranking_points = 5;
|
125
|
+
optional int32 coins = 6;
|
126
|
+
optional int32 bonus_id = 7;
|
92
127
|
}
|
93
128
|
message TournamentRewardsRequest {
|
94
|
-
|
129
|
+
int32 tournament_id = 1;
|
130
|
+
repeated RewardItem items = 2;
|
95
131
|
}
|