protobuf-platform 1.2.556 → 1.2.557
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/user/user.proto +419 -0
- package/user/user_grpc_pb.js +322 -0
- package/user/user_pb.js +41187 -26726
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -176,6 +176,19 @@ service User {
|
|
|
176
176
|
rpc getUserLastPlayedGames(PaginationRequest) returns (UserGameIdsResponse);
|
|
177
177
|
rpc getUserFavouriteGameIdsByGameIds(UserGameIdsFilterRequest) returns (UserGameIdsFilterResponse);
|
|
178
178
|
rpc getUserLastPlayedGameIdsByGameIds(UserGameIdsFilterRequest) returns (UserGameIdsFilterResponse);
|
|
179
|
+
//Responsible Gaming
|
|
180
|
+
// Creates a new policy version for the resolved replacement scope; not a generic upsert by user_id + policy_type.
|
|
181
|
+
rpc setResponsibleGamingPolicy(SetResponsibleGamingPolicyRequest) returns (ResponsibleGamingPolicyItem);
|
|
182
|
+
// Disables the concrete policy identified by policy_id.
|
|
183
|
+
rpc disableResponsibleGamingPolicy(DisableResponsibleGamingPolicyRequest) returns (ResponsibleGamingPolicyItem);
|
|
184
|
+
rpc readResponsibleGamingOverview(ReadResponsibleGamingOverviewRequest) returns (ResponsibleGamingOverviewResponse);
|
|
185
|
+
rpc readResponsibleGamingPolicyHistory(ReadResponsibleGamingPolicyHistoryRequest) returns (ReadResponsibleGamingPolicyHistoryResponse);
|
|
186
|
+
rpc evaluateResponsibleGamingDecision(EvaluateResponsibleGamingDecisionRequest) returns (EvaluateResponsibleGamingDecisionResponse);
|
|
187
|
+
rpc reserveResponsibleGamingDeposit(ReserveResponsibleGamingDepositRequest) returns (ReserveResponsibleGamingDepositResponse);
|
|
188
|
+
rpc finalizeResponsibleGamingDepositReservation(FinalizeResponsibleGamingDepositReservationRequest) returns (FinalizeResponsibleGamingDepositReservationResponse);
|
|
189
|
+
rpc reserveResponsibleGamingLossExposure(ReserveResponsibleGamingLossExposureRequest) returns (ReserveResponsibleGamingLossExposureResponse);
|
|
190
|
+
rpc finalizeResponsibleGamingLossExposure(FinalizeResponsibleGamingLossExposureRequest) returns (FinalizeResponsibleGamingLossExposureResponse);
|
|
191
|
+
rpc updateResponsibleGamingTimeUsage(UpdateResponsibleGamingTimeUsageRequest) returns (UpdateResponsibleGamingTimeUsageResponse);
|
|
179
192
|
}
|
|
180
193
|
//Technical
|
|
181
194
|
message PingRequest { string ping = 1; }
|
|
@@ -1922,4 +1935,410 @@ message UserGameIdsFilterRequest {
|
|
|
1922
1935
|
|
|
1923
1936
|
message UserGameIdsFilterResponse {
|
|
1924
1937
|
repeated int32 game_ids = 1;
|
|
1938
|
+
}
|
|
1939
|
+
//Responsible Gaming
|
|
1940
|
+
//
|
|
1941
|
+
// Policy replacement scope (identity):
|
|
1942
|
+
// - DEPOSIT_LIMIT, LOSS_LIMIT, TIME_LIMIT: user_id + policy_type + recurring_period.
|
|
1943
|
+
// Different recurring_period values coexist independently for the same user
|
|
1944
|
+
// (e.g. DEPOSIT_LIMIT/DAY, DEPOSIT_LIMIT/WEEK, DEPOSIT_LIMIT/MONTH).
|
|
1945
|
+
// Updating one period replaces/versions only that scope; other periods are unaffected.
|
|
1946
|
+
// - COOLING_OFF, SELF_EXCLUSION: user_id + policy_type (one active scope per type per user).
|
|
1947
|
+
// Duration enums configure the policy version; they are not a coexistence dimension.
|
|
1948
|
+
//
|
|
1949
|
+
// Version lifecycle per scope: created_at, effective_at, ended_at, deleted_at.
|
|
1950
|
+
// A future effective_at represents a delayed/pending version; no separate ACTIVE/PENDING state.
|
|
1951
|
+
enum ResponsibleGamingPolicyType {
|
|
1952
|
+
RESPONSIBLE_GAMING_POLICY_TYPE_UNSPECIFIED = 0;
|
|
1953
|
+
RESPONSIBLE_GAMING_POLICY_TYPE_DEPOSIT_LIMIT = 1;
|
|
1954
|
+
RESPONSIBLE_GAMING_POLICY_TYPE_LOSS_LIMIT = 2;
|
|
1955
|
+
RESPONSIBLE_GAMING_POLICY_TYPE_TIME_LIMIT = 3;
|
|
1956
|
+
RESPONSIBLE_GAMING_POLICY_TYPE_COOLING_OFF = 4;
|
|
1957
|
+
RESPONSIBLE_GAMING_POLICY_TYPE_SELF_EXCLUSION = 5;
|
|
1958
|
+
}
|
|
1959
|
+
// Identity dimension for DEPOSIT_LIMIT, LOSS_LIMIT, and TIME_LIMIT replacement scope.
|
|
1960
|
+
enum ResponsibleGamingRecurringPeriod {
|
|
1961
|
+
RESPONSIBLE_GAMING_RECURRING_PERIOD_UNSPECIFIED = 0;
|
|
1962
|
+
RESPONSIBLE_GAMING_RECURRING_PERIOD_DAY = 1;
|
|
1963
|
+
RESPONSIBLE_GAMING_RECURRING_PERIOD_WEEK = 2;
|
|
1964
|
+
RESPONSIBLE_GAMING_RECURRING_PERIOD_MONTH = 3;
|
|
1965
|
+
}
|
|
1966
|
+
// Policy-version configuration for COOLING_OFF; not part of replacement scope identity.
|
|
1967
|
+
enum ResponsibleGamingCoolingOffDuration {
|
|
1968
|
+
RESPONSIBLE_GAMING_COOLING_OFF_DURATION_UNSPECIFIED = 0;
|
|
1969
|
+
RESPONSIBLE_GAMING_COOLING_OFF_DURATION_24_HOURS = 1;
|
|
1970
|
+
RESPONSIBLE_GAMING_COOLING_OFF_DURATION_7_DAYS = 2;
|
|
1971
|
+
RESPONSIBLE_GAMING_COOLING_OFF_DURATION_1_MONTH = 3;
|
|
1972
|
+
RESPONSIBLE_GAMING_COOLING_OFF_DURATION_3_MONTHS = 4;
|
|
1973
|
+
}
|
|
1974
|
+
// Policy-version configuration for SELF_EXCLUSION; not part of replacement scope identity.
|
|
1975
|
+
enum ResponsibleGamingSelfExclusionDuration {
|
|
1976
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_UNSPECIFIED = 0;
|
|
1977
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_7_DAYS = 1;
|
|
1978
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_1_MONTH = 2;
|
|
1979
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_3_MONTHS = 3;
|
|
1980
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_6_MONTHS = 4;
|
|
1981
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_9_MONTHS = 5;
|
|
1982
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_12_MONTHS = 6;
|
|
1983
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_1_YEAR = 7;
|
|
1984
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_2_YEARS = 8;
|
|
1985
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_3_YEARS = 9;
|
|
1986
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_4_YEARS = 10;
|
|
1987
|
+
RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_5_YEARS = 11;
|
|
1988
|
+
}
|
|
1989
|
+
enum ResponsibleGamingOperation {
|
|
1990
|
+
RESPONSIBLE_GAMING_OPERATION_UNSPECIFIED = 0;
|
|
1991
|
+
RESPONSIBLE_GAMING_OPERATION_LOGIN = 1;
|
|
1992
|
+
RESPONSIBLE_GAMING_OPERATION_DEPOSIT = 2;
|
|
1993
|
+
RESPONSIBLE_GAMING_OPERATION_GAME_LAUNCH = 3;
|
|
1994
|
+
RESPONSIBLE_GAMING_OPERATION_STAKE = 4;
|
|
1995
|
+
RESPONSIBLE_GAMING_OPERATION_BONUS_ACTIVATION = 5;
|
|
1996
|
+
RESPONSIBLE_GAMING_OPERATION_PROMO_CODE_ACTIVATION = 6;
|
|
1997
|
+
RESPONSIBLE_GAMING_OPERATION_FREE_SPIN_ACTIVATION = 7;
|
|
1998
|
+
RESPONSIBLE_GAMING_OPERATION_TOURNAMENT_JOIN = 8;
|
|
1999
|
+
RESPONSIBLE_GAMING_OPERATION_WITHDRAWAL = 9;
|
|
2000
|
+
RESPONSIBLE_GAMING_OPERATION_SETTLEMENT = 10;
|
|
2001
|
+
RESPONSIBLE_GAMING_OPERATION_WIN_CREDIT = 11;
|
|
2002
|
+
RESPONSIBLE_GAMING_OPERATION_REFUND = 12;
|
|
2003
|
+
}
|
|
2004
|
+
// Derived view of a policy version within its replacement scope; not a separate state machine.
|
|
2005
|
+
enum ResponsibleGamingPolicyRecordStatus {
|
|
2006
|
+
RESPONSIBLE_GAMING_POLICY_RECORD_STATUS_UNSPECIFIED = 0;
|
|
2007
|
+
RESPONSIBLE_GAMING_POLICY_RECORD_STATUS_CURRENT = 1; // Effective now for its scope (effective_at <= now, not ended/deleted).
|
|
2008
|
+
RESPONSIBLE_GAMING_POLICY_RECORD_STATUS_FUTURE = 2; // Delayed/pending version (effective_at > now).
|
|
2009
|
+
RESPONSIBLE_GAMING_POLICY_RECORD_STATUS_ENDED = 3;
|
|
2010
|
+
RESPONSIBLE_GAMING_POLICY_RECORD_STATUS_DELETED = 4;
|
|
2011
|
+
}
|
|
2012
|
+
enum ResponsibleGamingDepositReservationStatus {
|
|
2013
|
+
RESPONSIBLE_GAMING_DEPOSIT_RESERVATION_STATUS_UNSPECIFIED = 0;
|
|
2014
|
+
RESPONSIBLE_GAMING_DEPOSIT_RESERVATION_STATUS_RESERVED = 1;
|
|
2015
|
+
RESPONSIBLE_GAMING_DEPOSIT_RESERVATION_STATUS_COMMITTED = 2;
|
|
2016
|
+
RESPONSIBLE_GAMING_DEPOSIT_RESERVATION_STATUS_RELEASED = 3;
|
|
2017
|
+
RESPONSIBLE_GAMING_DEPOSIT_RESERVATION_STATUS_RECONCILED = 4;
|
|
2018
|
+
}
|
|
2019
|
+
enum ResponsibleGamingDepositReservationOutcome {
|
|
2020
|
+
RESPONSIBLE_GAMING_DEPOSIT_RESERVATION_OUTCOME_UNSPECIFIED = 0;
|
|
2021
|
+
RESPONSIBLE_GAMING_DEPOSIT_RESERVATION_OUTCOME_RELEASE = 1;
|
|
2022
|
+
RESPONSIBLE_GAMING_DEPOSIT_RESERVATION_OUTCOME_COMMIT = 2;
|
|
2023
|
+
RESPONSIBLE_GAMING_DEPOSIT_RESERVATION_OUTCOME_RECONCILE = 3;
|
|
2024
|
+
}
|
|
2025
|
+
enum ResponsibleGamingLossExposureStatus {
|
|
2026
|
+
RESPONSIBLE_GAMING_LOSS_EXPOSURE_STATUS_UNSPECIFIED = 0;
|
|
2027
|
+
RESPONSIBLE_GAMING_LOSS_EXPOSURE_STATUS_OPEN = 1;
|
|
2028
|
+
RESPONSIBLE_GAMING_LOSS_EXPOSURE_STATUS_COMMITTED = 2;
|
|
2029
|
+
RESPONSIBLE_GAMING_LOSS_EXPOSURE_STATUS_RELEASED = 3;
|
|
2030
|
+
}
|
|
2031
|
+
enum ResponsibleGamingLossExposureOutcome {
|
|
2032
|
+
RESPONSIBLE_GAMING_LOSS_EXPOSURE_OUTCOME_UNSPECIFIED = 0;
|
|
2033
|
+
RESPONSIBLE_GAMING_LOSS_EXPOSURE_OUTCOME_RELEASE = 1;
|
|
2034
|
+
RESPONSIBLE_GAMING_LOSS_EXPOSURE_OUTCOME_COMMIT = 2;
|
|
2035
|
+
}
|
|
2036
|
+
// One versioned policy record. Scope identity: user_id + policy_type (+ recurring_period for limit types).
|
|
2037
|
+
message ResponsibleGamingPolicyItem {
|
|
2038
|
+
string policy_id = 1;
|
|
2039
|
+
int32 user_id = 2;
|
|
2040
|
+
ResponsibleGamingPolicyType policy_type = 3;
|
|
2041
|
+
optional ResponsibleGamingRecurringPeriod recurring_period = 4; // Required for limit types; part of replacement scope.
|
|
2042
|
+
optional ResponsibleGamingCoolingOffDuration cooling_off_duration = 5; // Version config for COOLING_OFF only.
|
|
2043
|
+
optional ResponsibleGamingSelfExclusionDuration self_exclusion_duration = 6; // Version config for SELF_EXCLUSION only.
|
|
2044
|
+
optional int64 amount_minor = 7;
|
|
2045
|
+
optional string currency = 8;
|
|
2046
|
+
optional int32 currency_scale = 9;
|
|
2047
|
+
optional int64 time_limit_seconds = 10;
|
|
2048
|
+
optional string created_at = 11;
|
|
2049
|
+
optional string effective_at = 12; // Future value denotes a delayed/pending version for this scope.
|
|
2050
|
+
optional string ended_at = 13;
|
|
2051
|
+
optional string deleted_at = 14;
|
|
2052
|
+
optional string predecessor_policy_id = 15; // Prior version within the same replacement scope.
|
|
2053
|
+
optional string replaced_by_policy_id = 16; // Successor version within the same replacement scope.
|
|
2054
|
+
}
|
|
2055
|
+
// Creates a new version for the scope resolved from user_id, policy_type, and (for limit types) recurring_period.
|
|
2056
|
+
message SetResponsibleGamingPolicyRequest {
|
|
2057
|
+
int32 user_id = 1;
|
|
2058
|
+
ResponsibleGamingPolicyType policy_type = 2;
|
|
2059
|
+
optional ResponsibleGamingRecurringPeriod recurring_period = 3;
|
|
2060
|
+
optional ResponsibleGamingCoolingOffDuration cooling_off_duration = 4;
|
|
2061
|
+
optional ResponsibleGamingSelfExclusionDuration self_exclusion_duration = 5;
|
|
2062
|
+
optional int64 amount_minor = 6;
|
|
2063
|
+
optional string currency = 7;
|
|
2064
|
+
optional int32 currency_scale = 8;
|
|
2065
|
+
optional int64 time_limit_seconds = 9;
|
|
2066
|
+
optional string effective_at = 10;
|
|
2067
|
+
}
|
|
2068
|
+
// Disables the policy version identified by policy_id (not by replacement scope).
|
|
2069
|
+
message DisableResponsibleGamingPolicyRequest {
|
|
2070
|
+
int32 user_id = 1;
|
|
2071
|
+
string policy_id = 2;
|
|
2072
|
+
optional string ended_at = 3;
|
|
2073
|
+
}
|
|
2074
|
+
message ReadResponsibleGamingOverviewRequest {
|
|
2075
|
+
int32 user_id = 1;
|
|
2076
|
+
optional string currency = 2;
|
|
2077
|
+
optional int32 currency_scale = 3;
|
|
2078
|
+
}
|
|
2079
|
+
message ResponsibleGamingDepositLimitOverview {
|
|
2080
|
+
bool configured = 1;
|
|
2081
|
+
optional ResponsibleGamingPolicyItem current_policy = 2;
|
|
2082
|
+
optional ResponsibleGamingPolicyItem pending_policy = 3;
|
|
2083
|
+
optional string current_window_start = 4;
|
|
2084
|
+
optional string current_window_end = 5;
|
|
2085
|
+
optional int64 used_minor = 6;
|
|
2086
|
+
optional int64 reserved_minor = 7;
|
|
2087
|
+
optional int64 remaining_minor = 8;
|
|
2088
|
+
bool limit_reached = 9;
|
|
2089
|
+
}
|
|
2090
|
+
message ResponsibleGamingLossLimitOverview {
|
|
2091
|
+
bool configured = 1;
|
|
2092
|
+
optional ResponsibleGamingPolicyItem current_policy = 2;
|
|
2093
|
+
optional ResponsibleGamingPolicyItem pending_policy = 3;
|
|
2094
|
+
optional string current_window_start = 4;
|
|
2095
|
+
optional string current_window_end = 5;
|
|
2096
|
+
optional int64 stakes_minor = 6;
|
|
2097
|
+
optional int64 wins_minor = 7;
|
|
2098
|
+
optional int64 refunds_minor = 8;
|
|
2099
|
+
optional int64 net_loss_minor = 9;
|
|
2100
|
+
optional int64 reserved_exposure_minor = 10;
|
|
2101
|
+
optional int64 effective_risk_minor = 11;
|
|
2102
|
+
optional int64 remaining_stake_minor = 12;
|
|
2103
|
+
bool limit_reached = 13;
|
|
2104
|
+
}
|
|
2105
|
+
message ResponsibleGamingTimeLimitOverview {
|
|
2106
|
+
bool configured = 1;
|
|
2107
|
+
optional ResponsibleGamingPolicyItem current_policy = 2;
|
|
2108
|
+
optional ResponsibleGamingPolicyItem pending_policy = 3;
|
|
2109
|
+
optional string current_window_start = 4;
|
|
2110
|
+
optional string current_window_end = 5;
|
|
2111
|
+
optional int64 used_seconds = 6;
|
|
2112
|
+
optional int64 remaining_seconds = 7;
|
|
2113
|
+
bool active_gameplay_session = 8;
|
|
2114
|
+
optional string active_session_id = 9;
|
|
2115
|
+
optional string last_activity_at = 10;
|
|
2116
|
+
bool limit_reached = 11;
|
|
2117
|
+
}
|
|
2118
|
+
message ResponsibleGamingCoolingOffOverview {
|
|
2119
|
+
bool active = 1;
|
|
2120
|
+
bool configured = 2;
|
|
2121
|
+
optional ResponsibleGamingPolicyItem current_policy = 3;
|
|
2122
|
+
optional string effective_at = 4;
|
|
2123
|
+
optional string expires_at = 5;
|
|
2124
|
+
optional int64 remaining_seconds = 6;
|
|
2125
|
+
}
|
|
2126
|
+
message ResponsibleGamingSelfExclusionOverview {
|
|
2127
|
+
bool active = 1;
|
|
2128
|
+
bool blocking = 2;
|
|
2129
|
+
optional ResponsibleGamingPolicyItem current_policy = 3;
|
|
2130
|
+
optional string effective_at = 4;
|
|
2131
|
+
optional string minimum_end_at = 5;
|
|
2132
|
+
bool minimum_period_ended = 6;
|
|
2133
|
+
bool reactivation_required = 7;
|
|
2134
|
+
}
|
|
2135
|
+
message ResponsibleGamingOverviewResponse {
|
|
2136
|
+
int32 user_id = 1;
|
|
2137
|
+
ResponsibleGamingDepositLimitOverview deposit_limit = 2;
|
|
2138
|
+
ResponsibleGamingLossLimitOverview loss_limit = 3;
|
|
2139
|
+
ResponsibleGamingTimeLimitOverview time_limit = 4;
|
|
2140
|
+
ResponsibleGamingCoolingOffOverview cooling_off = 5;
|
|
2141
|
+
ResponsibleGamingSelfExclusionOverview self_exclusion = 6;
|
|
2142
|
+
}
|
|
2143
|
+
message ReadResponsibleGamingPolicyHistoryRequest {
|
|
2144
|
+
int32 user_id = 1;
|
|
2145
|
+
optional ResponsibleGamingPolicyType policy_type = 2;
|
|
2146
|
+
optional int32 limit = 3;
|
|
2147
|
+
optional int32 offset = 4;
|
|
2148
|
+
}
|
|
2149
|
+
message ResponsibleGamingPolicyHistoryRecord {
|
|
2150
|
+
ResponsibleGamingPolicyItem policy = 1;
|
|
2151
|
+
ResponsibleGamingPolicyRecordStatus record_status = 2;
|
|
2152
|
+
optional int32 version = 3;
|
|
2153
|
+
}
|
|
2154
|
+
message ReadResponsibleGamingPolicyHistoryResponse {
|
|
2155
|
+
repeated ResponsibleGamingPolicyHistoryRecord items = 1;
|
|
2156
|
+
optional int32 total_items = 2;
|
|
2157
|
+
}
|
|
2158
|
+
message ResponsibleGamingDepositLimitDecisionDetail {
|
|
2159
|
+
bool configured = 1;
|
|
2160
|
+
bool limit_reached = 2;
|
|
2161
|
+
optional int64 used_minor = 3;
|
|
2162
|
+
optional int64 reserved_minor = 4;
|
|
2163
|
+
optional int64 remaining_minor = 5;
|
|
2164
|
+
optional int64 requested_amount_minor = 6;
|
|
2165
|
+
optional string current_window_start = 7;
|
|
2166
|
+
optional string current_window_end = 8;
|
|
2167
|
+
}
|
|
2168
|
+
message ResponsibleGamingLossLimitDecisionDetail {
|
|
2169
|
+
bool configured = 1;
|
|
2170
|
+
bool limit_reached = 2;
|
|
2171
|
+
optional int64 stakes_minor = 3;
|
|
2172
|
+
optional int64 wins_minor = 4;
|
|
2173
|
+
optional int64 refunds_minor = 5;
|
|
2174
|
+
optional int64 net_loss_minor = 6;
|
|
2175
|
+
optional int64 reserved_exposure_minor = 7;
|
|
2176
|
+
optional int64 effective_risk_minor = 8;
|
|
2177
|
+
optional int64 remaining_stake_minor = 9;
|
|
2178
|
+
optional int64 requested_stake_minor = 10;
|
|
2179
|
+
optional string current_window_start = 11;
|
|
2180
|
+
optional string current_window_end = 12;
|
|
2181
|
+
}
|
|
2182
|
+
message ResponsibleGamingTimeLimitDecisionDetail {
|
|
2183
|
+
bool configured = 1;
|
|
2184
|
+
bool limit_reached = 2;
|
|
2185
|
+
optional int64 used_seconds = 3;
|
|
2186
|
+
optional int64 remaining_seconds = 4;
|
|
2187
|
+
optional int64 delta_seconds = 5;
|
|
2188
|
+
bool active_gameplay_session = 6;
|
|
2189
|
+
optional string active_session_id = 7;
|
|
2190
|
+
optional string last_activity_at = 8;
|
|
2191
|
+
optional string current_window_start = 9;
|
|
2192
|
+
optional string current_window_end = 10;
|
|
2193
|
+
}
|
|
2194
|
+
message ResponsibleGamingCoolingOffDecisionDetail {
|
|
2195
|
+
bool active = 1;
|
|
2196
|
+
bool configured = 2;
|
|
2197
|
+
optional string effective_at = 3;
|
|
2198
|
+
optional string expires_at = 4;
|
|
2199
|
+
optional int64 remaining_seconds = 5;
|
|
2200
|
+
}
|
|
2201
|
+
message ResponsibleGamingSelfExclusionDecisionDetail {
|
|
2202
|
+
bool active = 1;
|
|
2203
|
+
bool blocking = 2;
|
|
2204
|
+
optional string effective_at = 3;
|
|
2205
|
+
optional string minimum_end_at = 4;
|
|
2206
|
+
bool minimum_period_ended = 5;
|
|
2207
|
+
bool reactivation_required = 6;
|
|
2208
|
+
}
|
|
2209
|
+
message ResponsibleGamingDecisionDetails {
|
|
2210
|
+
optional ResponsibleGamingDepositLimitDecisionDetail deposit_limit = 1;
|
|
2211
|
+
optional ResponsibleGamingLossLimitDecisionDetail loss_limit = 2;
|
|
2212
|
+
optional ResponsibleGamingTimeLimitDecisionDetail time_limit = 3;
|
|
2213
|
+
optional ResponsibleGamingCoolingOffDecisionDetail cooling_off = 4;
|
|
2214
|
+
optional ResponsibleGamingSelfExclusionDecisionDetail self_exclusion = 5;
|
|
2215
|
+
}
|
|
2216
|
+
message EvaluateResponsibleGamingDecisionRequest {
|
|
2217
|
+
int32 user_id = 1;
|
|
2218
|
+
ResponsibleGamingOperation operation = 2;
|
|
2219
|
+
optional string decision_at = 3;
|
|
2220
|
+
optional string currency = 4;
|
|
2221
|
+
optional int32 currency_scale = 5;
|
|
2222
|
+
optional int64 requested_amount_minor = 6;
|
|
2223
|
+
optional string operation_key = 7;
|
|
2224
|
+
optional string session_id = 8;
|
|
2225
|
+
optional string provider_transaction_id = 9;
|
|
2226
|
+
optional string round_id = 10;
|
|
2227
|
+
optional string balance_type = 11;
|
|
2228
|
+
}
|
|
2229
|
+
message EvaluateResponsibleGamingDecisionResponse {
|
|
2230
|
+
bool allowed = 1;
|
|
2231
|
+
optional string reason_key = 2;
|
|
2232
|
+
optional ResponsibleGamingPolicyType blocking_policy_type = 3;
|
|
2233
|
+
optional string blocking_policy_id = 4;
|
|
2234
|
+
optional string decision_at = 5;
|
|
2235
|
+
optional ResponsibleGamingDecisionDetails details = 6;
|
|
2236
|
+
}
|
|
2237
|
+
message ReserveResponsibleGamingDepositRequest {
|
|
2238
|
+
int32 user_id = 1;
|
|
2239
|
+
string operation_key = 2;
|
|
2240
|
+
int64 requested_amount_minor = 3;
|
|
2241
|
+
string currency = 4;
|
|
2242
|
+
int32 currency_scale = 5;
|
|
2243
|
+
optional string policy_id = 6;
|
|
2244
|
+
optional string reservation_at = 7;
|
|
2245
|
+
}
|
|
2246
|
+
message ReserveResponsibleGamingDepositResponse {
|
|
2247
|
+
bool allowed = 1;
|
|
2248
|
+
optional string reason_key = 2;
|
|
2249
|
+
optional string reservation_id = 3;
|
|
2250
|
+
optional string policy_id = 4;
|
|
2251
|
+
optional int64 requested_amount_minor = 5;
|
|
2252
|
+
optional int64 reserved_amount_minor = 6;
|
|
2253
|
+
optional string currency = 7;
|
|
2254
|
+
optional int32 currency_scale = 8;
|
|
2255
|
+
ResponsibleGamingDepositReservationStatus status = 9;
|
|
2256
|
+
optional string operation_key = 10;
|
|
2257
|
+
optional ResponsibleGamingDecisionDetails decision_details = 11;
|
|
2258
|
+
}
|
|
2259
|
+
message FinalizeResponsibleGamingDepositReservationRequest {
|
|
2260
|
+
int32 user_id = 1;
|
|
2261
|
+
string operation_key = 2;
|
|
2262
|
+
optional string reservation_id = 3;
|
|
2263
|
+
ResponsibleGamingDepositReservationOutcome outcome = 4;
|
|
2264
|
+
optional int64 actual_amount_minor = 5;
|
|
2265
|
+
optional string finalized_at = 6;
|
|
2266
|
+
}
|
|
2267
|
+
message FinalizeResponsibleGamingDepositReservationResponse {
|
|
2268
|
+
string reservation_id = 1;
|
|
2269
|
+
ResponsibleGamingDepositReservationStatus status = 2;
|
|
2270
|
+
optional int64 requested_amount_minor = 3;
|
|
2271
|
+
optional int64 committed_amount_minor = 4;
|
|
2272
|
+
optional string currency = 5;
|
|
2273
|
+
optional int32 currency_scale = 6;
|
|
2274
|
+
string operation_key = 7;
|
|
2275
|
+
optional string policy_id = 8;
|
|
2276
|
+
}
|
|
2277
|
+
message ReserveResponsibleGamingLossExposureRequest {
|
|
2278
|
+
int32 user_id = 1;
|
|
2279
|
+
string operation_key = 2;
|
|
2280
|
+
int64 requested_stake_minor = 3;
|
|
2281
|
+
string currency = 4;
|
|
2282
|
+
int32 currency_scale = 5;
|
|
2283
|
+
optional string session_id = 6;
|
|
2284
|
+
optional string round_id = 7;
|
|
2285
|
+
optional string provider_transaction_id = 8;
|
|
2286
|
+
optional string balance_type = 9;
|
|
2287
|
+
optional string reservation_at = 10;
|
|
2288
|
+
}
|
|
2289
|
+
message ReserveResponsibleGamingLossExposureResponse {
|
|
2290
|
+
bool allowed = 1;
|
|
2291
|
+
optional string reason_key = 2;
|
|
2292
|
+
optional string exposure_id = 3;
|
|
2293
|
+
optional string policy_id = 4;
|
|
2294
|
+
optional int64 requested_stake_minor = 5;
|
|
2295
|
+
optional int64 net_loss_minor = 6;
|
|
2296
|
+
optional int64 reserved_exposure_minor = 7;
|
|
2297
|
+
optional int64 remaining_stake_minor = 8;
|
|
2298
|
+
optional string currency = 9;
|
|
2299
|
+
optional int32 currency_scale = 10;
|
|
2300
|
+
ResponsibleGamingLossExposureStatus status = 11;
|
|
2301
|
+
optional string operation_key = 12;
|
|
2302
|
+
optional ResponsibleGamingDecisionDetails decision_details = 13;
|
|
2303
|
+
}
|
|
2304
|
+
message FinalizeResponsibleGamingLossExposureRequest {
|
|
2305
|
+
int32 user_id = 1;
|
|
2306
|
+
string operation_key = 2;
|
|
2307
|
+
optional string exposure_id = 3;
|
|
2308
|
+
ResponsibleGamingLossExposureOutcome outcome = 4;
|
|
2309
|
+
optional int64 actual_stake_minor = 5;
|
|
2310
|
+
optional int64 net_loss_delta_minor = 6;
|
|
2311
|
+
optional string finalized_at = 7;
|
|
2312
|
+
}
|
|
2313
|
+
message FinalizeResponsibleGamingLossExposureResponse {
|
|
2314
|
+
string exposure_id = 1;
|
|
2315
|
+
ResponsibleGamingLossExposureStatus status = 2;
|
|
2316
|
+
optional int64 requested_stake_minor = 3;
|
|
2317
|
+
optional int64 committed_stake_minor = 4;
|
|
2318
|
+
optional int64 net_loss_minor = 5;
|
|
2319
|
+
optional int64 reserved_exposure_minor = 6;
|
|
2320
|
+
optional int64 remaining_stake_minor = 7;
|
|
2321
|
+
optional string currency = 8;
|
|
2322
|
+
optional int32 currency_scale = 9;
|
|
2323
|
+
string operation_key = 10;
|
|
2324
|
+
optional string policy_id = 11;
|
|
2325
|
+
}
|
|
2326
|
+
message UpdateResponsibleGamingTimeUsageRequest {
|
|
2327
|
+
int32 user_id = 1;
|
|
2328
|
+
string session_id = 2;
|
|
2329
|
+
optional string policy_id = 3;
|
|
2330
|
+
optional string window_start = 4;
|
|
2331
|
+
optional string last_activity_at = 5;
|
|
2332
|
+
optional int64 delta_seconds = 6;
|
|
2333
|
+
optional string activity_at = 7;
|
|
2334
|
+
}
|
|
2335
|
+
message UpdateResponsibleGamingTimeUsageResponse {
|
|
2336
|
+
optional string session_id = 1;
|
|
2337
|
+
optional string policy_id = 2;
|
|
2338
|
+
optional string window_start = 3;
|
|
2339
|
+
optional string window_end = 4;
|
|
2340
|
+
optional int64 used_seconds = 5;
|
|
2341
|
+
optional int64 remaining_seconds = 6;
|
|
2342
|
+
optional string last_activity_at = 7;
|
|
2343
|
+
bool limit_reached = 8;
|
|
1925
2344
|
}
|