sdk-sapi-promarketing 0.0.4 → 0.0.6
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/dist/index.d.mts +120 -2948
- package/dist/index.d.ts +120 -2948
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -27,7 +27,7 @@ interface SdkSapiContext {
|
|
|
27
27
|
/**
|
|
28
28
|
* RequestSDK.
|
|
29
29
|
*/
|
|
30
|
-
declare class RequestSDK
|
|
30
|
+
declare class RequestSDK {
|
|
31
31
|
context: SdkSapiContext;
|
|
32
32
|
constructor(context: SdkSapiContext);
|
|
33
33
|
/**
|
|
@@ -100,7 +100,7 @@ declare class RequestSDK$1 {
|
|
|
100
100
|
/**
|
|
101
101
|
* Represent value.
|
|
102
102
|
*/
|
|
103
|
-
declare class RequestBase
|
|
103
|
+
declare class RequestBase extends RequestSDK {
|
|
104
104
|
context: SdkSapiContext;
|
|
105
105
|
prefix: string;
|
|
106
106
|
constructor(context: SdkSapiContext, prefix: string);
|
|
@@ -165,7 +165,7 @@ declare class RequestBase$1 extends RequestSDK$1 {
|
|
|
165
165
|
/**
|
|
166
166
|
* Represents all the type of status of menu item.
|
|
167
167
|
*/
|
|
168
|
-
declare enum MenuStatusType
|
|
168
|
+
declare enum MenuStatusType {
|
|
169
169
|
/** Show item with or without section. */
|
|
170
170
|
WITH_WITHOUT_SESSION = "WITH_WITHOUT_SESSION",
|
|
171
171
|
/** Show item with section. */
|
|
@@ -195,7 +195,7 @@ interface MenuItemType {
|
|
|
195
195
|
iconName: string;
|
|
196
196
|
};
|
|
197
197
|
/** Show enum status of the menu item. */
|
|
198
|
-
show: MenuStatusType
|
|
198
|
+
show: MenuStatusType;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
interface MenuType extends MenuItemType {
|
|
@@ -291,13 +291,13 @@ interface SliderTournamentType {
|
|
|
291
291
|
/** Expired date of the tournament. */
|
|
292
292
|
expired_at: string;
|
|
293
293
|
/** Current status of the tournament. */
|
|
294
|
-
current_status: TournamentCurrentStatus
|
|
294
|
+
current_status: TournamentCurrentStatus;
|
|
295
295
|
/** Image of the tournament. */
|
|
296
296
|
image: string;
|
|
297
297
|
/** Provider list of the tournament. */
|
|
298
298
|
provider: GameProviderType[];
|
|
299
299
|
}
|
|
300
|
-
declare enum TournamentCurrentStatus
|
|
300
|
+
declare enum TournamentCurrentStatus {
|
|
301
301
|
IN_GAME = "EN JUEGO",
|
|
302
302
|
EXPIRED = "EXPIRADO",
|
|
303
303
|
BEGIN = "POR EMPEZAR",
|
|
@@ -464,16 +464,16 @@ interface CommonMessageType {
|
|
|
464
464
|
errors?: [];
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
-
declare enum TWO_FACTOR_AUTHENTICATION_METHODS_ENUM
|
|
467
|
+
declare enum TWO_FACTOR_AUTHENTICATION_METHODS_ENUM {
|
|
468
468
|
SMS = "sms",
|
|
469
469
|
EMAIL = "email"
|
|
470
470
|
}
|
|
471
471
|
interface PlayerTwoFactorAuthenticationMethodsType extends CommonMessageType {
|
|
472
472
|
/** Represents two factor authentication methods. */
|
|
473
|
-
methods: TWO_FACTOR_AUTHENTICATION_METHODS_ENUM
|
|
473
|
+
methods: TWO_FACTOR_AUTHENTICATION_METHODS_ENUM[];
|
|
474
474
|
}
|
|
475
475
|
|
|
476
|
-
declare enum TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM
|
|
476
|
+
declare enum TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM {
|
|
477
477
|
REQUIRE_2FA = "REQUIRE_2FA",
|
|
478
478
|
TOTAL_BLOCK = "TOTAL_BLOCK",
|
|
479
479
|
CODE_BLOCK_ATTEMPTS = "CODE_BLOCK_ATTEMPTS"
|
|
@@ -482,7 +482,7 @@ interface PlayerTwoFactorCodeDataType extends CommonMessageType {
|
|
|
482
482
|
/** Indicates whether two-factor authentication (2FA) code validation is required. */
|
|
483
483
|
twoFactorCodeRequired: boolean;
|
|
484
484
|
/** Indicates whether the two-factor authentication is blocked. */
|
|
485
|
-
isBlocked: TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM
|
|
485
|
+
isBlocked: TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM;
|
|
486
486
|
/** The number of remaining attempts for two-factor authentication. */
|
|
487
487
|
remainingAttempts: number;
|
|
488
488
|
/** The unique identifier of the player. */
|
|
@@ -492,12 +492,12 @@ interface PlayerTwoFactorCodeDataType extends CommonMessageType {
|
|
|
492
492
|
/** The phone number of the player. */
|
|
493
493
|
phone: string;
|
|
494
494
|
/** The default two-factor authentication method of the player. */
|
|
495
|
-
twoFactorDefaultMethod: TWO_FACTOR_AUTHENTICATION_METHODS_ENUM
|
|
495
|
+
twoFactorDefaultMethod: TWO_FACTOR_AUTHENTICATION_METHODS_ENUM;
|
|
496
496
|
/** The activation date for the player's two-factor authentication. */
|
|
497
497
|
activationDate: string;
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
declare enum AccessFlowControllerTypeEnum
|
|
500
|
+
declare enum AccessFlowControllerTypeEnum {
|
|
501
501
|
BLOCK_ACCOUNT = "BLOCK_ACCOUNT",
|
|
502
502
|
TEMPORAL_BLOCK = "TEMPORAL_BLOCK",
|
|
503
503
|
AGE_RESTRICTION = "AGE_RESTRICTION",
|
|
@@ -519,7 +519,7 @@ declare enum AccessFlowControllerTypeEnum$1 {
|
|
|
519
519
|
PLAYER_SMS_CODE_HARD_BLOCK = "PLAYER_SMS_CODE_HARD_BLOCK",
|
|
520
520
|
PLAYER_SMS_CODE_HARD_WARNING = "PLAYER_SMS_CODE_HARD_WARNING"
|
|
521
521
|
}
|
|
522
|
-
declare enum AccessFlowControllerFromOriginEnum
|
|
522
|
+
declare enum AccessFlowControllerFromOriginEnum {
|
|
523
523
|
LOGIN = "LOGIN",
|
|
524
524
|
REGISTER = "REGISTER",
|
|
525
525
|
VALIDATE_DOCUMENT = "VALIDATE_DOCUMENT",
|
|
@@ -559,11 +559,11 @@ interface PlayerAccessFlowControllerDataType {
|
|
|
559
559
|
/** Description of the blocked message. */
|
|
560
560
|
description: string;
|
|
561
561
|
/** Type of the blocked message. */
|
|
562
|
-
type: AccessFlowControllerTypeEnum
|
|
562
|
+
type: AccessFlowControllerTypeEnum;
|
|
563
563
|
/** The meta data of the blocked message. */
|
|
564
564
|
meta: Partial<PlayerAccessFlowControllerBlockedData>;
|
|
565
565
|
/** View type of the blocked message. */
|
|
566
|
-
readonly fromOrigin: AccessFlowControllerFromOriginEnum
|
|
566
|
+
readonly fromOrigin: AccessFlowControllerFromOriginEnum;
|
|
567
567
|
}
|
|
568
568
|
interface PlayerSessionType extends CommonMessageType, PlayerTwoFactorCodeDataType, PlayerAccessFlowControllerDataType {
|
|
569
569
|
/** The unique identifier of the player. */
|
|
@@ -1055,7 +1055,7 @@ interface PlayerBonusActivateDataType {
|
|
|
1055
1055
|
number_of_charge: string;
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
-
declare enum PromotionTypeEnum
|
|
1058
|
+
declare enum PromotionTypeEnum {
|
|
1059
1059
|
CASINO = "CASINO",
|
|
1060
1060
|
SPORTS = "SPORTS"
|
|
1061
1061
|
}
|
|
@@ -1069,7 +1069,7 @@ interface PlayerBonusActivateType extends CommonMessageType, PlayerAccessFlowCon
|
|
|
1069
1069
|
}
|
|
1070
1070
|
interface PlayerBonusPromotionActivateDataType {
|
|
1071
1071
|
/** Represents type of promotion. */
|
|
1072
|
-
promotion_type: PromotionTypeEnum
|
|
1072
|
+
promotion_type: PromotionTypeEnum;
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
1075
|
interface PlayerBonusTermsConditionsType extends CommonMessageType {
|
|
@@ -1087,7 +1087,7 @@ interface PlayerSendVerifySmsType {
|
|
|
1087
1087
|
/** Indicates whether the resend limit has been reached. */
|
|
1088
1088
|
is_resend_limit_reached: boolean;
|
|
1089
1089
|
/** The response type. */
|
|
1090
|
-
type?: AccessFlowControllerTypeEnum
|
|
1090
|
+
type?: AccessFlowControllerTypeEnum;
|
|
1091
1091
|
/** The response message. */
|
|
1092
1092
|
message: string;
|
|
1093
1093
|
/** The response error. */
|
|
@@ -1106,8 +1106,6 @@ interface PlayerBonusAvailableCountDataType {
|
|
|
1106
1106
|
quantity: number;
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
|
-
type PlayerBonusAvailableCountType = PlayerBonusAvailableCountDataType;
|
|
1110
|
-
|
|
1111
1109
|
interface PlayerBonusAvailablesDataType {
|
|
1112
1110
|
/** Represents id available. */
|
|
1113
1111
|
id: number;
|
|
@@ -1407,12 +1405,12 @@ interface PlayerSelfLimitationBetReport {
|
|
|
1407
1405
|
errors?: [];
|
|
1408
1406
|
}
|
|
1409
1407
|
|
|
1410
|
-
declare enum PlayerSessionDeviceEnum
|
|
1408
|
+
declare enum PlayerSessionDeviceEnum {
|
|
1411
1409
|
PC = "PC",
|
|
1412
1410
|
MOBILE = "MOBILE",
|
|
1413
1411
|
TABLET = "TABLET"
|
|
1414
1412
|
}
|
|
1415
|
-
declare enum PlayerSessionStatusEnum
|
|
1413
|
+
declare enum PlayerSessionStatusEnum {
|
|
1416
1414
|
ACTIVE = "ACTIVE",
|
|
1417
1415
|
TIMEOUT = "TIMEOUT",
|
|
1418
1416
|
CLOSED = "CLOSED"
|
|
@@ -1425,15 +1423,15 @@ interface SessionReportType {
|
|
|
1425
1423
|
/** Session browser. */
|
|
1426
1424
|
browser: string;
|
|
1427
1425
|
/** Session operating_system. */
|
|
1428
|
-
operating_system: PlayerSessionDeviceEnum
|
|
1426
|
+
operating_system: PlayerSessionDeviceEnum;
|
|
1429
1427
|
/** Session ipaddress. */
|
|
1430
1428
|
ipaddress: string;
|
|
1431
1429
|
/** Session login. */
|
|
1432
1430
|
login: string;
|
|
1433
1431
|
/** Session device_type. */
|
|
1434
|
-
device_type: PlayerSessionDeviceEnum
|
|
1432
|
+
device_type: PlayerSessionDeviceEnum;
|
|
1435
1433
|
/** Session status. */
|
|
1436
|
-
status: PlayerSessionStatusEnum
|
|
1434
|
+
status: PlayerSessionStatusEnum;
|
|
1437
1435
|
}
|
|
1438
1436
|
|
|
1439
1437
|
interface PlayerSessionsReport extends PaginatorContentType {
|
|
@@ -1811,7 +1809,7 @@ interface PaymentCreateDataType {
|
|
|
1811
1809
|
provider_payment_method: string;
|
|
1812
1810
|
}
|
|
1813
1811
|
|
|
1814
|
-
declare enum SelfLimitationAlertKey
|
|
1812
|
+
declare enum SelfLimitationAlertKey {
|
|
1815
1813
|
FULL_LIMIT = "FULL_LIMIT",
|
|
1816
1814
|
PARTIAL_LIMIT = "PARTIAL_LIMIT"
|
|
1817
1815
|
}
|
|
@@ -1853,7 +1851,7 @@ interface PaymentCreateType {
|
|
|
1853
1851
|
/** Represent limitations available amount. */
|
|
1854
1852
|
available_amount: string;
|
|
1855
1853
|
/** Represent limitations alert type. */
|
|
1856
|
-
alert_type: SelfLimitationAlertKey
|
|
1854
|
+
alert_type: SelfLimitationAlertKey;
|
|
1857
1855
|
};
|
|
1858
1856
|
}
|
|
1859
1857
|
|
|
@@ -1904,7 +1902,7 @@ interface PaymentConfirmType {
|
|
|
1904
1902
|
}
|
|
1905
1903
|
|
|
1906
1904
|
/** Represents the status of the deposit. */
|
|
1907
|
-
declare enum DepositStatusKey
|
|
1905
|
+
declare enum DepositStatusKey {
|
|
1908
1906
|
WAITING_RESPONSE = "WAITING_RESPONSE",
|
|
1909
1907
|
CANCELED = "CANCELED",
|
|
1910
1908
|
FAILED = "FAILED",
|
|
@@ -1922,7 +1920,7 @@ interface PaymentDetailsType extends CommonMessageType {
|
|
|
1922
1920
|
/** The transaction status. */
|
|
1923
1921
|
transaction_status?: string;
|
|
1924
1922
|
/** Represents Payment Status. */
|
|
1925
|
-
status?: DepositStatusKey
|
|
1923
|
+
status?: DepositStatusKey;
|
|
1926
1924
|
/** Represents Payment user email. */
|
|
1927
1925
|
email?: string;
|
|
1928
1926
|
/** Represents Payment Date. */
|
|
@@ -2165,7 +2163,7 @@ interface BankDeleteBankAccountType {
|
|
|
2165
2163
|
};
|
|
2166
2164
|
}
|
|
2167
2165
|
|
|
2168
|
-
declare enum TransactionDetailsKey
|
|
2166
|
+
declare enum TransactionDetailsKey {
|
|
2169
2167
|
/** Manual charge from backoffice */
|
|
2170
2168
|
MANUAL_CHARGE = "MANUAL_CHARGE",
|
|
2171
2169
|
/** Approved or completed deposit */
|
|
@@ -2181,7 +2179,7 @@ declare enum TransactionDetailsKey$1 {
|
|
|
2181
2179
|
/** Manual withdrawal from backoffice */
|
|
2182
2180
|
MANUAL_WITHDRAWAL = "MANUAL_WITHDRAWAL"
|
|
2183
2181
|
}
|
|
2184
|
-
declare enum TransactionWithdrawalStatus
|
|
2182
|
+
declare enum TransactionWithdrawalStatus {
|
|
2185
2183
|
/** Pending withdrawal */
|
|
2186
2184
|
PENDING = "PENDING",
|
|
2187
2185
|
/** Rejected withdrawal */
|
|
@@ -2189,7 +2187,7 @@ declare enum TransactionWithdrawalStatus$1 {
|
|
|
2189
2187
|
/** Processed withdrawal */
|
|
2190
2188
|
PROCESSED = "PROCESSED"
|
|
2191
2189
|
}
|
|
2192
|
-
declare enum DepositManualButtonKey
|
|
2190
|
+
declare enum DepositManualButtonKey {
|
|
2193
2191
|
/** Withdrawal */
|
|
2194
2192
|
WITHDRAWAL = "WITHDRAWAL",
|
|
2195
2193
|
/** Bonus */
|
|
@@ -2213,7 +2211,7 @@ interface WithdrawalCommonData {
|
|
|
2213
2211
|
/** Title of the deposit. */
|
|
2214
2212
|
title: string | null;
|
|
2215
2213
|
/** Status of the withdrawal. */
|
|
2216
|
-
status: TransactionWithdrawalStatus
|
|
2214
|
+
status: TransactionWithdrawalStatus;
|
|
2217
2215
|
}
|
|
2218
2216
|
interface DepositManualDetailsData extends DepositCommonData {
|
|
2219
2217
|
/** Observation of the deposit. */
|
|
@@ -2221,7 +2219,7 @@ interface DepositManualDetailsData extends DepositCommonData {
|
|
|
2221
2219
|
/** Title of the deposit. */
|
|
2222
2220
|
title: string | null;
|
|
2223
2221
|
/** Button of the deposit. */
|
|
2224
|
-
button: DepositManualButtonKey
|
|
2222
|
+
button: DepositManualButtonKey;
|
|
2225
2223
|
/** Bank of the deposit. */
|
|
2226
2224
|
bank: string | null;
|
|
2227
2225
|
/** Team of the deposit. */
|
|
@@ -2231,7 +2229,7 @@ interface DepositHybridDetailsData extends DepositCommonData {
|
|
|
2231
2229
|
/** Observation of the deposit. */
|
|
2232
2230
|
observation: string;
|
|
2233
2231
|
/** Type of the deposit. */
|
|
2234
|
-
type: TransactionDetailsKey
|
|
2232
|
+
type: TransactionDetailsKey;
|
|
2235
2233
|
}
|
|
2236
2234
|
interface DepositApprovedDetailsData extends DepositCommonData {
|
|
2237
2235
|
/** Current balance before transaction */
|
|
@@ -2242,29 +2240,29 @@ interface DepositApprovedDetailsData extends DepositCommonData {
|
|
|
2242
2240
|
type TransactionsDepositDetailsType = DepositApprovedDetailsData & DepositHybridDetailsData & DepositManualDetailsData;
|
|
2243
2241
|
type TransactionsWithdrawalDetailsType = WithdrawalCommonData;
|
|
2244
2242
|
interface TransactionsDetailsType extends TransactionsDepositDetailsType, TransactionsWithdrawalDetailsType {
|
|
2245
|
-
type: TransactionDetailsKey
|
|
2243
|
+
type: TransactionDetailsKey;
|
|
2246
2244
|
[key: string]: unknown;
|
|
2247
2245
|
}
|
|
2248
2246
|
|
|
2249
|
-
declare enum PlayerTransactionFlagEnum
|
|
2247
|
+
declare enum PlayerTransactionFlagEnum {
|
|
2250
2248
|
RED = "RED",
|
|
2251
2249
|
GRAY = "GRAY",
|
|
2252
2250
|
GREEN = "GREEN"
|
|
2253
2251
|
}
|
|
2254
|
-
declare enum PlayerTransactionStatusEnum
|
|
2252
|
+
declare enum PlayerTransactionStatusEnum {
|
|
2255
2253
|
IN_PROCESS = "IN_PROCESS",
|
|
2256
2254
|
COMPLETED = "COMPLETED",
|
|
2257
2255
|
CANCELLED = "CANCELLED",
|
|
2258
2256
|
NOT_COMPLETED = "NOT_COMPLETED",
|
|
2259
2257
|
UNKNOWN = "UNKNOWN"
|
|
2260
2258
|
}
|
|
2261
|
-
declare enum PlayerTransactionTypeEnum
|
|
2259
|
+
declare enum PlayerTransactionTypeEnum {
|
|
2262
2260
|
DEPOSIT = "Dep\u00F3sito",
|
|
2263
2261
|
WITHDRAWAL = "Retiro",
|
|
2264
2262
|
DEPOSIT_MANUAL = "Carga manual",
|
|
2265
2263
|
WITHDRAWAL_MANUAL = "Retiro manual"
|
|
2266
2264
|
}
|
|
2267
|
-
declare enum PlayerTransactionTypeFilterEnum
|
|
2265
|
+
declare enum PlayerTransactionTypeFilterEnum {
|
|
2268
2266
|
DEPOSIT = "DEPOSIT",
|
|
2269
2267
|
WITHDRAWAL = "WITHDRAWAL"
|
|
2270
2268
|
}
|
|
@@ -2280,11 +2278,11 @@ interface PlayerTransactionsType {
|
|
|
2280
2278
|
/** Represent the withdrawal id. */
|
|
2281
2279
|
withdrawal_id?: number | null;
|
|
2282
2280
|
/** Represent the flag. */
|
|
2283
|
-
flag: PlayerTransactionFlagEnum
|
|
2281
|
+
flag: PlayerTransactionFlagEnum;
|
|
2284
2282
|
/** Represent the status enum. */
|
|
2285
|
-
status_enum: PlayerTransactionStatusEnum
|
|
2283
|
+
status_enum: PlayerTransactionStatusEnum;
|
|
2286
2284
|
/** Represent the transaction type. */
|
|
2287
|
-
transaction_type: PlayerTransactionTypeEnum
|
|
2285
|
+
transaction_type: PlayerTransactionTypeEnum;
|
|
2288
2286
|
}
|
|
2289
2287
|
interface PlayerTransactionsResponseType {
|
|
2290
2288
|
/** Represent the transactions. */
|
|
@@ -2535,8 +2533,6 @@ interface PlayerDetailsEditDataType {
|
|
|
2535
2533
|
privacy_policy: boolean;
|
|
2536
2534
|
}
|
|
2537
2535
|
|
|
2538
|
-
type PlayerTwoFactorAuthenticationVerifiesCodeType = PlayerSessionType;
|
|
2539
|
-
|
|
2540
2536
|
/**
|
|
2541
2537
|
* Interface representing the data for verifying two-factor authentication codes for a player.
|
|
2542
2538
|
*/
|
|
@@ -2609,7 +2605,7 @@ interface SupportDepositFormDataType {
|
|
|
2609
2605
|
message: string;
|
|
2610
2606
|
}
|
|
2611
2607
|
|
|
2612
|
-
declare enum SelfLimitationCancelEnum
|
|
2608
|
+
declare enum SelfLimitationCancelEnum {
|
|
2613
2609
|
DAILY = "daily",
|
|
2614
2610
|
WEEKLY = "weekly",
|
|
2615
2611
|
MONTHLY = "monthly"
|
|
@@ -2617,22 +2613,22 @@ declare enum SelfLimitationCancelEnum$1 {
|
|
|
2617
2613
|
type PlayerSelfLimitationCancelType = CommonMessageType;
|
|
2618
2614
|
interface PlayerSelfLimitationCancelReqType {
|
|
2619
2615
|
/** Path that identifies the limitation category (deposit, bet, session). */
|
|
2620
|
-
selfLimitation: SelfLimitationEnum
|
|
2616
|
+
selfLimitation: SelfLimitationEnum;
|
|
2621
2617
|
/** Type of cancellation action requested. */
|
|
2622
|
-
typeSelfLimitation: SelfLimitationCancelEnum
|
|
2618
|
+
typeSelfLimitation: SelfLimitationCancelEnum;
|
|
2623
2619
|
}
|
|
2624
2620
|
|
|
2625
|
-
declare enum SelfLimitationProgressBarStateEnum
|
|
2621
|
+
declare enum SelfLimitationProgressBarStateEnum {
|
|
2626
2622
|
HIGH_USAGE = "HIGH_USAGE",
|
|
2627
2623
|
MEDIUM_USAGE = "MEDIUM_USAGE",
|
|
2628
2624
|
LOW_USAGE = "LOW_USAGE"
|
|
2629
2625
|
}
|
|
2630
|
-
declare enum SelfLimitationStateEnum
|
|
2626
|
+
declare enum SelfLimitationStateEnum {
|
|
2631
2627
|
ACTIVE = "ACTIVE",
|
|
2632
2628
|
REVISION = "REVISION",
|
|
2633
2629
|
NOT_CREATED = "NOT_CREATED"
|
|
2634
2630
|
}
|
|
2635
|
-
declare enum SelfLimitationRuleEnum
|
|
2631
|
+
declare enum SelfLimitationRuleEnum {
|
|
2636
2632
|
DAILY = "amount_limit_day",
|
|
2637
2633
|
WEEKLY = "amount_limit_week",
|
|
2638
2634
|
MONTHLY = "amount_limit_month"
|
|
@@ -2645,7 +2641,7 @@ interface PlayerSelfLimitationInfoDataType {
|
|
|
2645
2641
|
/** Percentage of the limit that has already been used. */
|
|
2646
2642
|
percentageUsed: number;
|
|
2647
2643
|
/** State of usage to indicate progress bar color or severity level. */
|
|
2648
|
-
progressBarState: SelfLimitationProgressBarStateEnum
|
|
2644
|
+
progressBarState: SelfLimitationProgressBarStateEnum;
|
|
2649
2645
|
/** Textual description of the limitation rule. */
|
|
2650
2646
|
ruleDescription: string;
|
|
2651
2647
|
/** Numeric representation of the severity level. */
|
|
@@ -2655,39 +2651,39 @@ interface PlayerSelfLimitationInfoDataType {
|
|
|
2655
2651
|
/** Message displayed to the user about their usage. */
|
|
2656
2652
|
usageMessage: string;
|
|
2657
2653
|
/** Current status of the limitation (active, revision, etc.). */
|
|
2658
|
-
status: SelfLimitationStateEnum
|
|
2654
|
+
status: SelfLimitationStateEnum;
|
|
2659
2655
|
/** Start date when the limitation rule became effective. */
|
|
2660
2656
|
start_date: string;
|
|
2661
2657
|
/** Type of limitation applied (deposit, bet, session). */
|
|
2662
|
-
type: SelfLimitationCancelEnum
|
|
2658
|
+
type: SelfLimitationCancelEnum;
|
|
2663
2659
|
/** Date when the limitation resets or becomes active again. */
|
|
2664
2660
|
resetDate: string;
|
|
2665
2661
|
/** Specific rule applied for the limitation (daily, weekly, monthly). */
|
|
2666
|
-
rule: SelfLimitationRuleEnum
|
|
2662
|
+
rule: SelfLimitationRuleEnum;
|
|
2667
2663
|
}
|
|
2668
2664
|
|
|
2669
|
-
declare enum SelfLimitationEnum
|
|
2665
|
+
declare enum SelfLimitationEnum {
|
|
2670
2666
|
DEPOSIT = "deposit",
|
|
2671
2667
|
BET = "bet",
|
|
2672
2668
|
SESSION = "session"
|
|
2673
2669
|
}
|
|
2674
|
-
declare enum TypeSelfLimitationEnum
|
|
2670
|
+
declare enum TypeSelfLimitationEnum {
|
|
2675
2671
|
DAILY = "daily",
|
|
2676
2672
|
WEEKLY = "weekly",
|
|
2677
2673
|
MONTHLY = "monthly"
|
|
2678
2674
|
}
|
|
2679
|
-
declare enum SelfLimitationInfoResumeTypeEnum
|
|
2675
|
+
declare enum SelfLimitationInfoResumeTypeEnum {
|
|
2680
2676
|
DEPOSIT = "depositSelfLimitationResume",
|
|
2681
2677
|
BET = "betSelfLimitationResume",
|
|
2682
2678
|
SESSION = "sessionSelfLimitationResume"
|
|
2683
2679
|
}
|
|
2684
2680
|
interface PlayerSelfLimitationInfoType extends CommonMessageType {
|
|
2685
2681
|
/** List of deposit limitation records. */
|
|
2686
|
-
[SelfLimitationInfoResumeTypeEnum
|
|
2682
|
+
[SelfLimitationInfoResumeTypeEnum.DEPOSIT]: PlayerSelfLimitationInfoDataType[];
|
|
2687
2683
|
/** List of betting limitation records. */
|
|
2688
|
-
[SelfLimitationInfoResumeTypeEnum
|
|
2684
|
+
[SelfLimitationInfoResumeTypeEnum.BET]: PlayerSelfLimitationInfoDataType[];
|
|
2689
2685
|
/** List of session limitation records. */
|
|
2690
|
-
[SelfLimitationInfoResumeTypeEnum
|
|
2686
|
+
[SelfLimitationInfoResumeTypeEnum.SESSION]: PlayerSelfLimitationInfoDataType[];
|
|
2691
2687
|
}
|
|
2692
2688
|
|
|
2693
2689
|
interface PlayerSelfLimitationCreateOrUpdateDataType {
|
|
@@ -2706,7 +2702,7 @@ type SportFirstProviderType = CommonMessageType & {
|
|
|
2706
2702
|
availableBonusMode: boolean;
|
|
2707
2703
|
};
|
|
2708
2704
|
|
|
2709
|
-
declare enum ChooseSeverityEnum
|
|
2705
|
+
declare enum ChooseSeverityEnum {
|
|
2710
2706
|
/** Self limiting by time one day. */
|
|
2711
2707
|
ONE_DAY = "ONE_DAY",
|
|
2712
2708
|
/** Self limiting by time one week. */
|
|
@@ -2732,10 +2728,10 @@ interface PlayerCreateSelfExclusionTotalDataType {
|
|
|
2732
2728
|
/** The reason for the self exclusion. */
|
|
2733
2729
|
reason?: string;
|
|
2734
2730
|
/** Represent type severity. */
|
|
2735
|
-
type: ChooseSeverityEnum
|
|
2731
|
+
type: ChooseSeverityEnum;
|
|
2736
2732
|
}
|
|
2737
2733
|
|
|
2738
|
-
declare enum SelfExclusionCardCurrentStatusEnum
|
|
2734
|
+
declare enum SelfExclusionCardCurrentStatusEnum {
|
|
2739
2735
|
DEFAULT = "DEFAULT",
|
|
2740
2736
|
ACTIVE = "ACTIVE",
|
|
2741
2737
|
REVIEW = "REVIEW",
|
|
@@ -2744,11 +2740,11 @@ declare enum SelfExclusionCardCurrentStatusEnum$1 {
|
|
|
2744
2740
|
|
|
2745
2741
|
interface PlayerSelfExclusionStatusType extends CommonMessageType {
|
|
2746
2742
|
/** Represent status. */
|
|
2747
|
-
status: SelfExclusionCardCurrentStatusEnum
|
|
2743
|
+
status: SelfExclusionCardCurrentStatusEnum;
|
|
2748
2744
|
/** Represent date time. */
|
|
2749
2745
|
until: string | null;
|
|
2750
2746
|
/** Represent type severity. */
|
|
2751
|
-
type: ChooseSeverityEnum
|
|
2747
|
+
type: ChooseSeverityEnum | null;
|
|
2752
2748
|
}
|
|
2753
2749
|
|
|
2754
2750
|
interface PlayerSportsbookTransactionsDetails {
|
|
@@ -2787,7 +2783,7 @@ interface PlayerSportsbookTransactionsReport {
|
|
|
2787
2783
|
/** Request Error. */
|
|
2788
2784
|
errors?: [];
|
|
2789
2785
|
}
|
|
2790
|
-
declare enum PlayerSportsbookTransactionsDetailsStatus
|
|
2786
|
+
declare enum PlayerSportsbookTransactionsDetailsStatus {
|
|
2791
2787
|
/** Represent the id. */
|
|
2792
2788
|
WIN = "WIN",
|
|
2793
2789
|
/** Represent the id. */
|
|
@@ -2797,7 +2793,7 @@ declare enum PlayerSportsbookTransactionsDetailsStatus$1 {
|
|
|
2797
2793
|
/** Represent the id. */
|
|
2798
2794
|
OPEN_BET = "OPEN"
|
|
2799
2795
|
}
|
|
2800
|
-
declare enum PlayerSportsbookTransactionsDetailsType
|
|
2796
|
+
declare enum PlayerSportsbookTransactionsDetailsType {
|
|
2801
2797
|
/** Represent the id. */
|
|
2802
2798
|
SINGLE = "SINGLE",
|
|
2803
2799
|
/** Represent the id. */
|
|
@@ -2815,7 +2811,7 @@ interface PlayerSportsbookMatch {
|
|
|
2815
2811
|
/** Represent the created at. */
|
|
2816
2812
|
league: string;
|
|
2817
2813
|
/** Represent the flag. */
|
|
2818
|
-
status: PlayerSportsbookTransactionsDetailsStatus
|
|
2814
|
+
status: PlayerSportsbookTransactionsDetailsStatus;
|
|
2819
2815
|
/** Represent the flag. */
|
|
2820
2816
|
match_result: string;
|
|
2821
2817
|
}
|
|
@@ -2823,9 +2819,9 @@ interface PlayerSportsbookTransactionsDetailsReport {
|
|
|
2823
2819
|
/** Represent the id. */
|
|
2824
2820
|
id: number;
|
|
2825
2821
|
/** Represent the amount. */
|
|
2826
|
-
type: PlayerSportsbookTransactionsDetailsType
|
|
2822
|
+
type: PlayerSportsbookTransactionsDetailsType;
|
|
2827
2823
|
/** Represent the new balance. */
|
|
2828
|
-
status: PlayerSportsbookTransactionsDetailsStatus
|
|
2824
|
+
status: PlayerSportsbookTransactionsDetailsStatus;
|
|
2829
2825
|
/** Represent the balance. */
|
|
2830
2826
|
odds: string;
|
|
2831
2827
|
/** Represent the round id. */
|
|
@@ -2844,11 +2840,11 @@ interface PlayerSportsbookTransactionsDetailsReport {
|
|
|
2844
2840
|
refund_amount: string;
|
|
2845
2841
|
}
|
|
2846
2842
|
|
|
2847
|
-
declare enum BonusStatusAvailableEnum
|
|
2843
|
+
declare enum BonusStatusAvailableEnum {
|
|
2848
2844
|
SHOW_BONUS = "SHOW_BONUS",
|
|
2849
2845
|
SHOW_PLAYS = "SHOW_PLAYS"
|
|
2850
2846
|
}
|
|
2851
|
-
declare enum BonusStatusAvailableFlagEnum
|
|
2847
|
+
declare enum BonusStatusAvailableFlagEnum {
|
|
2852
2848
|
ACTIVE = "ACTIVE",
|
|
2853
2849
|
AVAILABLE = "AVAILABLE",
|
|
2854
2850
|
TO_RELEASE = "TO_RELEASE"
|
|
@@ -2883,12 +2879,12 @@ interface BonusStatusAvailableData {
|
|
|
2883
2879
|
/** Bonus provider. */
|
|
2884
2880
|
provider: string;
|
|
2885
2881
|
/** Bonus button. */
|
|
2886
|
-
button: BonusStatusAvailableEnum
|
|
2882
|
+
button: BonusStatusAvailableEnum;
|
|
2887
2883
|
/** Bonus status flag. */
|
|
2888
|
-
status_flag: BonusStatusAvailableFlagEnum
|
|
2884
|
+
status_flag: BonusStatusAvailableFlagEnum;
|
|
2889
2885
|
}
|
|
2890
2886
|
|
|
2891
|
-
declare enum BonusFinalizedTypeFlagEnum
|
|
2887
|
+
declare enum BonusFinalizedTypeFlagEnum {
|
|
2892
2888
|
CASH = "CASH",
|
|
2893
2889
|
WEEKLY = "WEEKLY",
|
|
2894
2890
|
CHARGE = "CHARGE",
|
|
@@ -2897,7 +2893,7 @@ declare enum BonusFinalizedTypeFlagEnum$1 {
|
|
|
2897
2893
|
BIRTHDAY = "BIRTHDAY",
|
|
2898
2894
|
FREE_SPIN = "FREE_SPIN"
|
|
2899
2895
|
}
|
|
2900
|
-
declare enum BonusFinalizedStatusEnum
|
|
2896
|
+
declare enum BonusFinalizedStatusEnum {
|
|
2901
2897
|
EXPIRED = "EXPIRED",
|
|
2902
2898
|
CANCELED = "CANCELED",
|
|
2903
2899
|
DECLINED = "DECLINED",
|
|
@@ -2942,22 +2938,22 @@ interface BonusStatusFinalizedData {
|
|
|
2942
2938
|
/** Bonus declined at. */
|
|
2943
2939
|
declined_at: string | null;
|
|
2944
2940
|
/** Bonus type flag. */
|
|
2945
|
-
type_flag: BonusFinalizedTypeFlagEnum
|
|
2941
|
+
type_flag: BonusFinalizedTypeFlagEnum;
|
|
2946
2942
|
/** Bonus status flag. */
|
|
2947
|
-
status_flag: BonusFinalizedStatusEnum
|
|
2943
|
+
status_flag: BonusFinalizedStatusEnum;
|
|
2948
2944
|
}
|
|
2949
2945
|
|
|
2950
|
-
declare enum BonusParticipationButtonNum
|
|
2946
|
+
declare enum BonusParticipationButtonNum {
|
|
2951
2947
|
DEPOSIT = "DEPOSIT",
|
|
2952
2948
|
PROGRESS = "PROGRESS",
|
|
2953
2949
|
REQUIREMENTS = "REQUIREMENTS"
|
|
2954
2950
|
}
|
|
2955
|
-
declare enum BonusParticipationStatusEnum
|
|
2951
|
+
declare enum BonusParticipationStatusEnum {
|
|
2956
2952
|
NOT_COMPLY = "NOT_COMPLY",
|
|
2957
2953
|
PARTICIPATING = "PARTICIPATING",
|
|
2958
2954
|
PENDING_DEPOSIT = "PENDING_DEPOSIT"
|
|
2959
2955
|
}
|
|
2960
|
-
declare enum BonusPromotionCodeEnum
|
|
2956
|
+
declare enum BonusPromotionCodeEnum {
|
|
2961
2957
|
NWB = "NWB",
|
|
2962
2958
|
CBF = "CBF",
|
|
2963
2959
|
CBS = "CBS",
|
|
@@ -2983,11 +2979,11 @@ interface BonusStatusPromotionData {
|
|
|
2983
2979
|
/** Bonus observation. */
|
|
2984
2980
|
observation: string | null;
|
|
2985
2981
|
/** Bonus code. */
|
|
2986
|
-
code: BonusPromotionCodeEnum
|
|
2982
|
+
code: BonusPromotionCodeEnum;
|
|
2987
2983
|
/** Bonus button. */
|
|
2988
|
-
button: BonusParticipationButtonNum
|
|
2984
|
+
button: BonusParticipationButtonNum;
|
|
2989
2985
|
/** Bonus status. */
|
|
2990
|
-
status: BonusParticipationStatusEnum
|
|
2986
|
+
status: BonusParticipationStatusEnum;
|
|
2991
2987
|
}
|
|
2992
2988
|
|
|
2993
2989
|
interface BonusDetailsPanelRequirementType {
|
|
@@ -3014,7 +3010,7 @@ interface BonusStatusDetailsDataType {
|
|
|
3014
3010
|
/** Present show_deposit_button. */
|
|
3015
3011
|
show_deposit_button: boolean;
|
|
3016
3012
|
/** Present type. */
|
|
3017
|
-
type: BonusPromotionCodeEnum
|
|
3013
|
+
type: BonusPromotionCodeEnum;
|
|
3018
3014
|
/** Present requirements. */
|
|
3019
3015
|
requirements: BonusDetailsPanelRequirementType[];
|
|
3020
3016
|
}
|
|
@@ -3027,14 +3023,14 @@ interface BonusPromotionReasonDataType extends CommonMessageType {
|
|
|
3027
3023
|
/** Present text list. */
|
|
3028
3024
|
text: string;
|
|
3029
3025
|
/** Present code. */
|
|
3030
|
-
code: BonusPromotionCodeEnum
|
|
3026
|
+
code: BonusPromotionCodeEnum;
|
|
3031
3027
|
/** Present order. */
|
|
3032
3028
|
order: number;
|
|
3033
3029
|
/** Present language. */
|
|
3034
3030
|
language: string;
|
|
3035
3031
|
}
|
|
3036
3032
|
|
|
3037
|
-
declare enum WithdrawalStatusEnum
|
|
3033
|
+
declare enum WithdrawalStatusEnum {
|
|
3038
3034
|
RECEIVED = "RECEIVED",
|
|
3039
3035
|
IN_REVIEW = "IN_REVIEW",
|
|
3040
3036
|
IN_PROGRESS = "IN_PROGRESS",
|
|
@@ -3054,7 +3050,7 @@ interface PlayerRequestWithdrawalPendingTrackingDataType {
|
|
|
3054
3050
|
/** Represents last step updated at of withdrawal. */
|
|
3055
3051
|
last_step_updated_at: string | null;
|
|
3056
3052
|
/** Represents status enum of withdrawal. */
|
|
3057
|
-
status_enum: WithdrawalStatusEnum
|
|
3053
|
+
status_enum: WithdrawalStatusEnum;
|
|
3058
3054
|
}
|
|
3059
3055
|
type PlayerRequestWithdrawalPendingTrackingType = CommonMessageType & PlayerRequestWithdrawalPendingTrackingDataType;
|
|
3060
3056
|
|
|
@@ -3077,7 +3073,7 @@ interface PlayerVerifyValidateDocumentStatusType extends CommonMessageType {
|
|
|
3077
3073
|
/**
|
|
3078
3074
|
*
|
|
3079
3075
|
*/
|
|
3080
|
-
declare class GameService
|
|
3076
|
+
declare class GameService extends RequestBase {
|
|
3081
3077
|
context: SdkSapiContext;
|
|
3082
3078
|
constructor(context: SdkSapiContext);
|
|
3083
3079
|
/**
|
|
@@ -3189,7 +3185,7 @@ declare class GameService$1 extends RequestBase$1 {
|
|
|
3189
3185
|
/**
|
|
3190
3186
|
*
|
|
3191
3187
|
*/
|
|
3192
|
-
declare class SkinService
|
|
3188
|
+
declare class SkinService extends RequestBase {
|
|
3193
3189
|
context: SdkSapiContext;
|
|
3194
3190
|
constructor(context: SdkSapiContext);
|
|
3195
3191
|
/**
|
|
@@ -3246,2834 +3242,10 @@ declare class SkinService$1 extends RequestBase$1 {
|
|
|
3246
3242
|
getSkinProvidersList: (options?: {}) => Promise<ProviderType[]>;
|
|
3247
3243
|
}
|
|
3248
3244
|
|
|
3249
|
-
var tsMixer = require('ts-mixer');
|
|
3250
|
-
|
|
3251
|
-
// index.ts
|
|
3252
|
-
|
|
3253
|
-
// request/index.ts
|
|
3254
|
-
var RequestSDK = class {
|
|
3255
|
-
constructor(context) {
|
|
3256
|
-
this.context = context;
|
|
3257
|
-
}
|
|
3258
|
-
context;
|
|
3259
|
-
/**
|
|
3260
|
-
* Get path.
|
|
3261
|
-
*
|
|
3262
|
-
* @returns Value path.
|
|
3263
|
-
*/
|
|
3264
|
-
get pathSdk() {
|
|
3265
|
-
const { proxy } = this.context;
|
|
3266
|
-
return proxy;
|
|
3267
|
-
}
|
|
3268
|
-
/**
|
|
3269
|
-
* Get path.
|
|
3270
|
-
*
|
|
3271
|
-
* @returns Value path.
|
|
3272
|
-
*/
|
|
3273
|
-
get urlBase() {
|
|
3274
|
-
const { url } = this.context;
|
|
3275
|
-
return url;
|
|
3276
|
-
}
|
|
3277
|
-
/**
|
|
3278
|
-
* Handles errors from the API response and reports them if necessary.
|
|
3279
|
-
*
|
|
3280
|
-
* @param data - The data object containing errors and message.
|
|
3281
|
-
* @param response - The response object from the API request.
|
|
3282
|
-
* @returns An object with errors and a flag indicating unauthorized status.
|
|
3283
|
-
*/
|
|
3284
|
-
controlErrors(data, response) {
|
|
3285
|
-
const errors = data.errors ? data.errors : null;
|
|
3286
|
-
const statusCode = response.status;
|
|
3287
|
-
const isUnauthorized = statusCode === 401;
|
|
3288
|
-
return { errors, isUnauthorized };
|
|
3289
|
-
}
|
|
3290
|
-
/**
|
|
3291
|
-
* Make the `request` function generic.
|
|
3292
|
-
*
|
|
3293
|
-
* @param endpoint Represent values.
|
|
3294
|
-
* @param config Represent values.
|
|
3295
|
-
* @returns Instance fetch.
|
|
3296
|
-
*/
|
|
3297
|
-
requestSdk = async (endpoint, config = {}) => {
|
|
3298
|
-
const baseUrlClient = `/${this.pathSdk}${endpoint}`;
|
|
3299
|
-
const baseUrlServer = `${this.urlBase}${endpoint}`;
|
|
3300
|
-
const url = this.context.onlyServer ? baseUrlServer : baseUrlClient;
|
|
3301
|
-
const response = await fetch(url, { ...config });
|
|
3302
|
-
const data = await response.json();
|
|
3303
|
-
const { errors, isUnauthorized } = this.controlErrors(data, response);
|
|
3304
|
-
if (isUnauthorized) {
|
|
3305
|
-
this.context.statusResponse = "401";
|
|
3306
|
-
await this.context.callback401?.();
|
|
3307
|
-
this.context.statusResponse = null;
|
|
3308
|
-
throw new Error("Session vencida");
|
|
3309
|
-
}
|
|
3310
|
-
if (errors) throw data;
|
|
3311
|
-
return data;
|
|
3312
|
-
};
|
|
3313
|
-
/**
|
|
3314
|
-
* Make the `request` function generic.
|
|
3315
|
-
*
|
|
3316
|
-
* @param endpoint Represent values.
|
|
3317
|
-
* @param config Represent values.
|
|
3318
|
-
* @returns Instance fetch.
|
|
3319
|
-
*/
|
|
3320
|
-
requestBase = async (endpoint, config = {}) => {
|
|
3321
|
-
const response = await fetch(`${this.urlBase}${endpoint}`, config);
|
|
3322
|
-
const data = await response.json();
|
|
3323
|
-
return await data;
|
|
3324
|
-
};
|
|
3325
|
-
/**
|
|
3326
|
-
* Http GET action of fetch.
|
|
3327
|
-
*
|
|
3328
|
-
* @param endpoint The endpoint URL.
|
|
3329
|
-
* @param options The HTTP options to send with the request.
|
|
3330
|
-
* @returns Promise http get type action.
|
|
3331
|
-
*/
|
|
3332
|
-
get = (endpoint, options) => this.requestSdk(endpoint, {
|
|
3333
|
-
...options,
|
|
3334
|
-
method: "GET"
|
|
3335
|
-
});
|
|
3336
|
-
/**
|
|
3337
|
-
* Http POST action of fetch.
|
|
3338
|
-
*
|
|
3339
|
-
* @param endpoint The endpoint URL.
|
|
3340
|
-
* @param options The HTTP options to send with the request.
|
|
3341
|
-
* @returns Promise http get type action.
|
|
3342
|
-
*/
|
|
3343
|
-
post = (endpoint, options) => this.requestSdk(endpoint, {
|
|
3344
|
-
...options,
|
|
3345
|
-
method: "POST"
|
|
3346
|
-
});
|
|
3347
|
-
/**
|
|
3348
|
-
* Http PUT action of fetch.
|
|
3349
|
-
*
|
|
3350
|
-
* @param endpoint The endpoint URL.
|
|
3351
|
-
* @param options The HTTP options to send with the request.
|
|
3352
|
-
* @returns Promise http get type action.
|
|
3353
|
-
*/
|
|
3354
|
-
put = (endpoint, options) => this.requestSdk(endpoint, {
|
|
3355
|
-
...options,
|
|
3356
|
-
method: "PUT"
|
|
3357
|
-
});
|
|
3358
|
-
};
|
|
3359
|
-
|
|
3360
|
-
// request/base.ts
|
|
3361
|
-
var RequestBase = class extends RequestSDK {
|
|
3362
|
-
constructor(context, prefix) {
|
|
3363
|
-
super(context);
|
|
3364
|
-
this.context = context;
|
|
3365
|
-
this.prefix = prefix;
|
|
3366
|
-
}
|
|
3367
|
-
context;
|
|
3368
|
-
prefix;
|
|
3369
|
-
/**
|
|
3370
|
-
* TokenAuth..
|
|
3371
|
-
*
|
|
3372
|
-
* @returns Token value.
|
|
3373
|
-
*/
|
|
3374
|
-
tokenAuth() {
|
|
3375
|
-
if (!this.context.valueToken) {
|
|
3376
|
-
if (!this.context.token) {
|
|
3377
|
-
throw new Error(
|
|
3378
|
-
"SdkSapiContext.token is required when requesting with authentication"
|
|
3379
|
-
);
|
|
3380
|
-
}
|
|
3381
|
-
this.context.valueToken = this.context.token();
|
|
3382
|
-
}
|
|
3383
|
-
return {
|
|
3384
|
-
Authorization: `Bearer ${this.context.valueToken}`
|
|
3385
|
-
};
|
|
3386
|
-
}
|
|
3387
|
-
/**
|
|
3388
|
-
* Http GET action of fetch.
|
|
3389
|
-
*
|
|
3390
|
-
* @param endpoint The endpoint URL.
|
|
3391
|
-
* @param options The HTTP options to send with the request.
|
|
3392
|
-
* @param withToken Endpoint required token.
|
|
3393
|
-
* @returns Promise http get type action.
|
|
3394
|
-
*/
|
|
3395
|
-
getBase = async (endpoint, options, withToken) => {
|
|
3396
|
-
const headers = await this.getHeaders(options, withToken);
|
|
3397
|
-
return this.requestSdk(`${this.prefix}${endpoint}`, {
|
|
3398
|
-
...headers,
|
|
3399
|
-
...options,
|
|
3400
|
-
method: "GET"
|
|
3401
|
-
});
|
|
3402
|
-
};
|
|
3403
|
-
/**
|
|
3404
|
-
* Handle headers.
|
|
3405
|
-
*
|
|
3406
|
-
* @param options Options values.
|
|
3407
|
-
* @param withToken WithToken values.
|
|
3408
|
-
* @returns Value header fetch.
|
|
3409
|
-
*/
|
|
3410
|
-
getHeaders = async (options = {}, withToken = false) => {
|
|
3411
|
-
const token = withToken ? this.tokenAuth() : {};
|
|
3412
|
-
return {
|
|
3413
|
-
headers: {
|
|
3414
|
-
...token,
|
|
3415
|
-
...options.headers
|
|
3416
|
-
}
|
|
3417
|
-
};
|
|
3418
|
-
};
|
|
3419
|
-
/**
|
|
3420
|
-
* Http POST action of fetch.
|
|
3421
|
-
*
|
|
3422
|
-
* @param endpoint The endpoint URL.
|
|
3423
|
-
* @param options The HTTP options to send with the request.
|
|
3424
|
-
* @param withToken Endpoint required token.
|
|
3425
|
-
* @returns Promise http get type action.
|
|
3426
|
-
*/
|
|
3427
|
-
postBase = async (endpoint, options, withToken) => {
|
|
3428
|
-
const headers = await this.getHeaders(options, withToken);
|
|
3429
|
-
return this.requestSdk(`${this.prefix}${endpoint}`, {
|
|
3430
|
-
...options,
|
|
3431
|
-
...headers,
|
|
3432
|
-
method: "POST"
|
|
3433
|
-
});
|
|
3434
|
-
};
|
|
3435
|
-
/**
|
|
3436
|
-
* Http PUT action of fetch.
|
|
3437
|
-
*
|
|
3438
|
-
* @param endpoint The endpoint URL.
|
|
3439
|
-
* @param options The HTTP options to send with the request.
|
|
3440
|
-
* @param withToken Endpoint required token.
|
|
3441
|
-
* @returns Promise http get type action.
|
|
3442
|
-
*/
|
|
3443
|
-
putBase = async (endpoint, options, withToken) => {
|
|
3444
|
-
const headers = await this.getHeaders(options, withToken);
|
|
3445
|
-
return this.requestSdk(`${this.prefix}${endpoint}`, {
|
|
3446
|
-
...options,
|
|
3447
|
-
...headers,
|
|
3448
|
-
method: "PUT"
|
|
3449
|
-
});
|
|
3450
|
-
};
|
|
3451
|
-
/**
|
|
3452
|
-
* Http Delete action of fetch.
|
|
3453
|
-
*
|
|
3454
|
-
* @param endpoint The endpoint URL.
|
|
3455
|
-
* @param options The HTTP options to send with the request.
|
|
3456
|
-
* @param withToken Endpoint required token.
|
|
3457
|
-
* @returns Promise http get type action.
|
|
3458
|
-
*/
|
|
3459
|
-
deleteBase = async (endpoint, options, withToken) => {
|
|
3460
|
-
const headers = await this.getHeaders(options, withToken);
|
|
3461
|
-
return this.requestSdk(`${this.prefix}${endpoint}`, {
|
|
3462
|
-
...options,
|
|
3463
|
-
...headers,
|
|
3464
|
-
method: "DELETE"
|
|
3465
|
-
});
|
|
3466
|
-
};
|
|
3467
|
-
};
|
|
3468
|
-
|
|
3469
|
-
// services/game.service.ts
|
|
3470
|
-
var GameService = class extends RequestBase {
|
|
3471
|
-
constructor(context) {
|
|
3472
|
-
const prefixService = `/games`;
|
|
3473
|
-
super(context, prefixService);
|
|
3474
|
-
this.context = context;
|
|
3475
|
-
}
|
|
3476
|
-
context;
|
|
3477
|
-
/**
|
|
3478
|
-
* Get skin lobby by code.
|
|
3479
|
-
*
|
|
3480
|
-
* @param lobbyCode Lobby code.
|
|
3481
|
-
* @param token Represent value token.
|
|
3482
|
-
* @returns These returns values unknown.
|
|
3483
|
-
*/
|
|
3484
|
-
getSkinLobbyByCode = async (lobbyCode, token) => this.requestBase(
|
|
3485
|
-
`/games/skin/${this.context.skin}/lobby/${lobbyCode}`,
|
|
3486
|
-
{
|
|
3487
|
-
...token && {
|
|
3488
|
-
headers: {
|
|
3489
|
-
Authorization: `Bearer ${token}`
|
|
3490
|
-
}
|
|
3491
|
-
}
|
|
3492
|
-
}
|
|
3493
|
-
);
|
|
3494
|
-
/**
|
|
3495
|
-
* Get game opening URL.
|
|
3496
|
-
*
|
|
3497
|
-
* @param gameId Represents game ID.
|
|
3498
|
-
* @param device Represent value device.
|
|
3499
|
-
* @param options Represent value options.
|
|
3500
|
-
* @returns These returns values unknown.
|
|
3501
|
-
*/
|
|
3502
|
-
getGamesOpeningUrl = async (gameId, device, options = {}) => this.getBase(
|
|
3503
|
-
`/${gameId}/device/${device}/opening-url`,
|
|
3504
|
-
options,
|
|
3505
|
-
true
|
|
3506
|
-
);
|
|
3507
|
-
/**
|
|
3508
|
-
* Get game opening URL.
|
|
3509
|
-
*
|
|
3510
|
-
* @param gameId Represents game ID.
|
|
3511
|
-
* @param options Represent value options.
|
|
3512
|
-
* @returns These returns values unknown.
|
|
3513
|
-
*/
|
|
3514
|
-
getGameById = async (gameId, options = {}) => this.getBase(`/${gameId}/skin/${this.context.skin}`, options);
|
|
3515
|
-
/**
|
|
3516
|
-
* Get game opening URL.
|
|
3517
|
-
*
|
|
3518
|
-
* @param gameId Represents game ID.
|
|
3519
|
-
* @param options Represent value options.
|
|
3520
|
-
* @returns These returns values unknown.
|
|
3521
|
-
*/
|
|
3522
|
-
getGameByIdServer = async (gameId, options = {}) => this.requestBase(
|
|
3523
|
-
`/games/${gameId}/skin/${this.context.skin}`,
|
|
3524
|
-
options
|
|
3525
|
-
);
|
|
3526
|
-
/**
|
|
3527
|
-
* Get game by supplier and category.
|
|
3528
|
-
*
|
|
3529
|
-
* @param supplier Supplier name.
|
|
3530
|
-
* @param category Category name.
|
|
3531
|
-
* @param query QueryType.
|
|
3532
|
-
* @param options Represent value options.
|
|
3533
|
-
* @param withToken Is fetch with session.
|
|
3534
|
-
* @returns These returns values unknown.
|
|
3535
|
-
*/
|
|
3536
|
-
getGamesBySupplierAndCategory = async (supplier, category, query, options = {}, withToken = false) => {
|
|
3537
|
-
if (!supplier) return {};
|
|
3538
|
-
const categoryUrl = category ? `/category/${category}` : "";
|
|
3539
|
-
const page = query?.page ?? 1;
|
|
3540
|
-
const limit = query?.limit ?? 20;
|
|
3541
|
-
return this.getBase(
|
|
3542
|
-
`/provider/${supplier}/skin/${this.context.skin}${categoryUrl}?page=${page}&limit=${limit}`,
|
|
3543
|
-
options,
|
|
3544
|
-
withToken
|
|
3545
|
-
);
|
|
3546
|
-
};
|
|
3547
|
-
/**
|
|
3548
|
-
* Get games by tournament ID and skin.
|
|
3549
|
-
*
|
|
3550
|
-
* @param tournamentId Represents tournament ID.
|
|
3551
|
-
* @param query QueryType.
|
|
3552
|
-
* @param options Represent value options.
|
|
3553
|
-
* @returns These returns values unknown.
|
|
3554
|
-
*/
|
|
3555
|
-
getGamesByTournamentAndSkin = async (tournamentId, query, options = {}) => {
|
|
3556
|
-
if (!tournamentId) return {};
|
|
3557
|
-
const { page = 1, limit = 20 } = query || {};
|
|
3558
|
-
return this.getBase(
|
|
3559
|
-
`/skin/${this.context.skin}/tournament/${tournamentId}?page=${page}&limit=${limit}`,
|
|
3560
|
-
options
|
|
3561
|
-
);
|
|
3562
|
-
};
|
|
3563
|
-
/**
|
|
3564
|
-
* Get game types.
|
|
3565
|
-
*
|
|
3566
|
-
* @param options Represent value options.
|
|
3567
|
-
* @param withToken Is fetch with session.
|
|
3568
|
-
* @returns These returns values unknown.
|
|
3569
|
-
*/
|
|
3570
|
-
getGameTypes = async (options = {}, withToken = false) => this.getBase(`/types`, options, withToken);
|
|
3571
|
-
/**
|
|
3572
|
-
* Get game categories.
|
|
3573
|
-
*
|
|
3574
|
-
* @param options Represent value options.
|
|
3575
|
-
* @returns These returns values unknown.
|
|
3576
|
-
*/
|
|
3577
|
-
getGameCategories = async (options = {}) => this.getBase(`/categories`, options, true);
|
|
3578
|
-
/**
|
|
3579
|
-
* Get game by lobby code.
|
|
3580
|
-
*
|
|
3581
|
-
* @param lobbyCode Represents tournament ID.
|
|
3582
|
-
* @param query QueryType.
|
|
3583
|
-
* @param options Represent value options.
|
|
3584
|
-
* @param withToken Represent value options.
|
|
3585
|
-
* @returns These returns values unknown.
|
|
3586
|
-
*/
|
|
3587
|
-
getGameByLobbyCode = async (lobbyCode, query, options = {}, withToken = false) => {
|
|
3588
|
-
const { page = 1, limit = 20, ...queryParams } = query || {};
|
|
3589
|
-
return this.getBase(
|
|
3590
|
-
`/skin/${this.context.skin}/lobby-paginate/${lobbyCode}?page=${page}&limit=${limit}`,
|
|
3591
|
-
options,
|
|
3592
|
-
withToken
|
|
3593
|
-
);
|
|
3594
|
-
};
|
|
3595
|
-
/**
|
|
3596
|
-
* Get game by type.
|
|
3597
|
-
*
|
|
3598
|
-
* @param type Type name.
|
|
3599
|
-
* @param query QueryType.
|
|
3600
|
-
* @param options Represent value options.
|
|
3601
|
-
* @param withToken Is fetch with session.
|
|
3602
|
-
* @returns These returns values unknown.
|
|
3603
|
-
*/
|
|
3604
|
-
getGamesByType = async (type, query, options = {}, withToken = false) => {
|
|
3605
|
-
const typeUrl = type ? `/type/${type}` : "";
|
|
3606
|
-
const { page = 1, limit = 20 } = query || {};
|
|
3607
|
-
return this.getBase(
|
|
3608
|
-
`/skin/${this.context.skin}${typeUrl}?page=${page}&limit=${limit}`,
|
|
3609
|
-
options,
|
|
3610
|
-
withToken
|
|
3611
|
-
);
|
|
3612
|
-
};
|
|
3613
|
-
/**
|
|
3614
|
-
* Get skin games jackpots pragmatic .
|
|
3615
|
-
*
|
|
3616
|
-
* @param options Represent value options.
|
|
3617
|
-
* @returns These returns values unknown.
|
|
3618
|
-
*/
|
|
3619
|
-
getSkinGamesJackpotsPragmatic = (options = {}) => this.getBase(
|
|
3620
|
-
`/jackpot/pragmatic/skin/${this.context.skin}`,
|
|
3621
|
-
options
|
|
3622
|
-
);
|
|
3623
|
-
/**
|
|
3624
|
-
* Get game skin by code lobby.
|
|
3625
|
-
*
|
|
3626
|
-
* @param codeLobby Type name.
|
|
3627
|
-
* @param query QueryType.
|
|
3628
|
-
* @param options Represent value options.
|
|
3629
|
-
* @returns These returns values unknown.
|
|
3630
|
-
*/
|
|
3631
|
-
getGamesSkinByCodeLobby = async (codeLobby, query, options = {}) => {
|
|
3632
|
-
const { page = 1, limit = 20 } = query || {};
|
|
3633
|
-
return this.getBase(
|
|
3634
|
-
`/skin/${this.context.skin}/lobby/${codeLobby}?page=${page}&limit=${limit}`,
|
|
3635
|
-
options,
|
|
3636
|
-
true
|
|
3637
|
-
);
|
|
3638
|
-
};
|
|
3639
|
-
};
|
|
3640
|
-
|
|
3641
|
-
// services/skin.service.ts
|
|
3642
|
-
var SkinService = class extends RequestBase {
|
|
3643
|
-
constructor(context) {
|
|
3644
|
-
const { skin } = context;
|
|
3645
|
-
const prefixService = `/skin/${skin}`;
|
|
3646
|
-
super(context, prefixService);
|
|
3647
|
-
this.context = context;
|
|
3648
|
-
}
|
|
3649
|
-
context;
|
|
3650
|
-
/**
|
|
3651
|
-
* Get faq by skin.
|
|
3652
|
-
*
|
|
3653
|
-
* @param withToken Represent value options.
|
|
3654
|
-
* @returns These returns values unknown.
|
|
3655
|
-
*/
|
|
3656
|
-
getFaqBySkin = (withToken = false) => this.getBase("/faq", {}, withToken);
|
|
3657
|
-
/**
|
|
3658
|
-
* Get skin providers.
|
|
3659
|
-
*
|
|
3660
|
-
* @param query Represent value options.
|
|
3661
|
-
* @param options Represent value options.
|
|
3662
|
-
* @returns These returns values unknown.
|
|
3663
|
-
*/
|
|
3664
|
-
getSkinProviders = (query = {}, options = {}) => {
|
|
3665
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
3666
|
-
return this.getBase(`/providers?${handleQuery}`, options);
|
|
3667
|
-
};
|
|
3668
|
-
/**
|
|
3669
|
-
* Get skin providers.
|
|
3670
|
-
*
|
|
3671
|
-
* @param query Represent value options.
|
|
3672
|
-
* @param options Represent value options.
|
|
3673
|
-
* @returns These returns values unknown.
|
|
3674
|
-
*/
|
|
3675
|
-
getSkinProvidersServer = (query = {}, options = {}) => {
|
|
3676
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
3677
|
-
return this.requestBase(
|
|
3678
|
-
`/skin/${this.context.skin}/providers?${handleQuery}`,
|
|
3679
|
-
options
|
|
3680
|
-
);
|
|
3681
|
-
};
|
|
3682
|
-
/**
|
|
3683
|
-
* Get Skin General Information.
|
|
3684
|
-
*
|
|
3685
|
-
* @param query Represent value query.
|
|
3686
|
-
* @param options Represent value options.
|
|
3687
|
-
* @returns These returns values unknown.
|
|
3688
|
-
*/
|
|
3689
|
-
getSkinInformation = (query = {}, options = {}) => {
|
|
3690
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
3691
|
-
return this.getBase(
|
|
3692
|
-
`/information?${handleQuery}`,
|
|
3693
|
-
options
|
|
3694
|
-
);
|
|
3695
|
-
};
|
|
3696
|
-
/**
|
|
3697
|
-
* Get Skin Country.
|
|
3698
|
-
*
|
|
3699
|
-
* @param options Represent value options.
|
|
3700
|
-
* @returns These returns values unknown.
|
|
3701
|
-
*/
|
|
3702
|
-
getSkinCountry = (options = {}) => this.getBase(`/country`, options);
|
|
3703
|
-
/**
|
|
3704
|
-
* Get skin currency.
|
|
3705
|
-
*
|
|
3706
|
-
* @param options Represent value options.
|
|
3707
|
-
* @returns These returns values unknown.
|
|
3708
|
-
*/
|
|
3709
|
-
getSkinCurrency = (options = {}) => this.getBase(`/currency`, options);
|
|
3710
|
-
/**
|
|
3711
|
-
* Get skin providers.
|
|
3712
|
-
*
|
|
3713
|
-
* @param options Represent value options.
|
|
3714
|
-
* @returns These returns values unknown.
|
|
3715
|
-
*/
|
|
3716
|
-
getSkinProvidersList = (options = {}) => this.getBase(`/provider/list`, options);
|
|
3717
|
-
};
|
|
3718
|
-
|
|
3719
|
-
// utils/headers.ts
|
|
3720
|
-
var headersApplicationJson = {
|
|
3721
|
-
"Content-Type": "application/json"
|
|
3722
|
-
};
|
|
3723
|
-
|
|
3724
|
-
// services/player.service.ts
|
|
3725
|
-
var PlayerService$1 = class PlayerService extends RequestBase {
|
|
3726
|
-
constructor(context) {
|
|
3727
|
-
const prefixService = `/player`;
|
|
3728
|
-
super(context, prefixService);
|
|
3729
|
-
this.context = context;
|
|
3730
|
-
}
|
|
3731
|
-
context;
|
|
3732
|
-
postPlayerPreRegistration = async (data) => this.postBase(
|
|
3733
|
-
"/create/preregister",
|
|
3734
|
-
{
|
|
3735
|
-
body: JSON.stringify({
|
|
3736
|
-
...data,
|
|
3737
|
-
skin: this.context.skin
|
|
3738
|
-
}),
|
|
3739
|
-
headers: headersApplicationJson
|
|
3740
|
-
}
|
|
3741
|
-
);
|
|
3742
|
-
/**
|
|
3743
|
-
* Get player bank accounts.
|
|
3744
|
-
*
|
|
3745
|
-
* @param options - Represent value options.
|
|
3746
|
-
* @returns These returns a list with player notifications.
|
|
3747
|
-
*/
|
|
3748
|
-
getPlayerBankAccounts = async (options = {}) => this.getBase("/bank-accounts", options, true);
|
|
3749
|
-
/**
|
|
3750
|
-
* Post create player.
|
|
3751
|
-
*
|
|
3752
|
-
* @param data Represent the data to send in the body.
|
|
3753
|
-
* @returns These returns values unknown.
|
|
3754
|
-
*/
|
|
3755
|
-
postCreatePlayer = (data) => this.postBase("/create", {
|
|
3756
|
-
body: JSON.stringify({
|
|
3757
|
-
country_id: 241,
|
|
3758
|
-
...data
|
|
3759
|
-
}),
|
|
3760
|
-
headers: headersApplicationJson
|
|
3761
|
-
});
|
|
3762
|
-
/**
|
|
3763
|
-
* Sends a POST request to edit player details.
|
|
3764
|
-
*
|
|
3765
|
-
* @param data - The data to be sent in the request body.
|
|
3766
|
-
* @returns A promise that resolves with the response of the POST request.
|
|
3767
|
-
*/
|
|
3768
|
-
postPlayerAcceptChangeTermsAndPolicy = (data) => this.postBase(
|
|
3769
|
-
"/details/edit",
|
|
3770
|
-
{
|
|
3771
|
-
headers: headersApplicationJson,
|
|
3772
|
-
body: JSON.stringify(data)
|
|
3773
|
-
},
|
|
3774
|
-
true
|
|
3775
|
-
);
|
|
3776
|
-
/**
|
|
3777
|
-
* Post send verification sms code.
|
|
3778
|
-
*
|
|
3779
|
-
* @param data - Represent the data to send in the body.
|
|
3780
|
-
* @returns These returns values unknown.
|
|
3781
|
-
*/
|
|
3782
|
-
postSendVerificationSms = (data) => this.postBase("/send/sms-code-verify", {
|
|
3783
|
-
body: JSON.stringify(data),
|
|
3784
|
-
headers: headersApplicationJson
|
|
3785
|
-
});
|
|
3786
|
-
/**
|
|
3787
|
-
* Post send password recover url.
|
|
3788
|
-
*
|
|
3789
|
-
* @param data - Represent the data to send in the body.
|
|
3790
|
-
* @returns These returns values unknown.
|
|
3791
|
-
*/
|
|
3792
|
-
postSendPasswordRecover = (data) => this.postBase(
|
|
3793
|
-
"/password-recovery/request",
|
|
3794
|
-
{
|
|
3795
|
-
headers: headersApplicationJson,
|
|
3796
|
-
body: JSON.stringify({
|
|
3797
|
-
...data,
|
|
3798
|
-
skin: this.context.skin,
|
|
3799
|
-
link: "password/recover/"
|
|
3800
|
-
})
|
|
3801
|
-
}
|
|
3802
|
-
);
|
|
3803
|
-
/**
|
|
3804
|
-
* Put update password player.
|
|
3805
|
-
*
|
|
3806
|
-
* @param data - PlayerUpdatePasswordDataType.
|
|
3807
|
-
* @returns These returns values unknown.
|
|
3808
|
-
*/
|
|
3809
|
-
putUpdatePasswordPlayer = async (data) => this.putBase(
|
|
3810
|
-
"/update-password",
|
|
3811
|
-
{
|
|
3812
|
-
headers: headersApplicationJson,
|
|
3813
|
-
body: JSON.stringify(data)
|
|
3814
|
-
},
|
|
3815
|
-
true
|
|
3816
|
-
);
|
|
3817
|
-
/**
|
|
3818
|
-
* Set new password.
|
|
3819
|
-
*
|
|
3820
|
-
* @param data - PlayerSetPasswordDateType.
|
|
3821
|
-
* @returns These returns values unknown.
|
|
3822
|
-
*/
|
|
3823
|
-
postUpdatePlayerPassword = async (data) => this.postBase("/password-recovery", {
|
|
3824
|
-
headers: headersApplicationJson,
|
|
3825
|
-
body: JSON.stringify({
|
|
3826
|
-
...data,
|
|
3827
|
-
skin: this.context.skin
|
|
3828
|
-
})
|
|
3829
|
-
});
|
|
3830
|
-
/**
|
|
3831
|
-
* Put edit player.
|
|
3832
|
-
*
|
|
3833
|
-
* @param data - PlayerEditDataType.
|
|
3834
|
-
* @returns These returns values unknown.
|
|
3835
|
-
*/
|
|
3836
|
-
putEditPlayer = async (data) => this.putBase(
|
|
3837
|
-
"/edit",
|
|
3838
|
-
{
|
|
3839
|
-
headers: headersApplicationJson,
|
|
3840
|
-
body: JSON.stringify(data)
|
|
3841
|
-
},
|
|
3842
|
-
true
|
|
3843
|
-
);
|
|
3844
|
-
/**
|
|
3845
|
-
* Request withdrawal.
|
|
3846
|
-
*
|
|
3847
|
-
* @param data - PlayerRequestWithdrawalDataType.
|
|
3848
|
-
* @returns These returns values unknown.
|
|
3849
|
-
*/
|
|
3850
|
-
postRequestWithdrawal = async (data) => this.postBase(
|
|
3851
|
-
"/request-withdrawal/create",
|
|
3852
|
-
{
|
|
3853
|
-
headers: headersApplicationJson,
|
|
3854
|
-
body: JSON.stringify(data)
|
|
3855
|
-
},
|
|
3856
|
-
true
|
|
3857
|
-
);
|
|
3858
|
-
/**
|
|
3859
|
-
* Get player info.
|
|
3860
|
-
*
|
|
3861
|
-
* @param options Represent value options.
|
|
3862
|
-
* @returns These returns values unknown.
|
|
3863
|
-
*/
|
|
3864
|
-
getPlayerInfo = async (options = {}) => this.getBase("", options, true);
|
|
3865
|
-
/**
|
|
3866
|
-
* Get player balance.
|
|
3867
|
-
*
|
|
3868
|
-
* @param options Represent value options.
|
|
3869
|
-
* @returns These returns values unknown.
|
|
3870
|
-
*/
|
|
3871
|
-
getPlayerBalance = async (options = {}) => this.getBase("/balance", options, true);
|
|
3872
|
-
/**
|
|
3873
|
-
* Get player request withdrawal status.
|
|
3874
|
-
*
|
|
3875
|
-
* @returns These returns values unknown.
|
|
3876
|
-
*/
|
|
3877
|
-
getPlayerRequestWithdrawalStatus = async () => this.getBase(
|
|
3878
|
-
"/request-withdrawal/status",
|
|
3879
|
-
{},
|
|
3880
|
-
true
|
|
3881
|
-
);
|
|
3882
|
-
/**
|
|
3883
|
-
* Get player request withdrawal pending tracking.
|
|
3884
|
-
*
|
|
3885
|
-
* @param props - PlayerRequestWithdrawalPendingTrackingType.
|
|
3886
|
-
* @returns These returns values unknown.
|
|
3887
|
-
*/
|
|
3888
|
-
getPlayerRequestWithdrawalPendingTracking = async (playerRequestId) => this.getBase(
|
|
3889
|
-
`/request-withdrawal/pending/${playerRequestId}`,
|
|
3890
|
-
{},
|
|
3891
|
-
true
|
|
3892
|
-
);
|
|
3893
|
-
/**
|
|
3894
|
-
* Close player request withdrawal pending tracking.
|
|
3895
|
-
*
|
|
3896
|
-
* @param playerRequestId - Player request withdrawal id.
|
|
3897
|
-
* @returns These returns values unknown.
|
|
3898
|
-
*/
|
|
3899
|
-
postPlayerRequestWithdrawalPendingClose = async (playerRequestId) => this.postBase(
|
|
3900
|
-
"/request-withdrawal/pending/close",
|
|
3901
|
-
{
|
|
3902
|
-
headers: headersApplicationJson,
|
|
3903
|
-
body: JSON.stringify({
|
|
3904
|
-
player_request_id: playerRequestId
|
|
3905
|
-
})
|
|
3906
|
-
},
|
|
3907
|
-
true
|
|
3908
|
-
);
|
|
3909
|
-
/**
|
|
3910
|
-
* Get player bonus availables.
|
|
3911
|
-
*
|
|
3912
|
-
* @returns These returns values PlayerBonusAvailablesType.
|
|
3913
|
-
*/
|
|
3914
|
-
getPlayerBonusAvailable = async () => this.getBase("/bonus/availables", {}, true);
|
|
3915
|
-
/**
|
|
3916
|
-
* Get player bonus available count.
|
|
3917
|
-
*
|
|
3918
|
-
* @returns These returns values unknown.
|
|
3919
|
-
*/
|
|
3920
|
-
getPlayerBonusAvailableCount = async () => this.postBase(
|
|
3921
|
-
"/bonus/available/count",
|
|
3922
|
-
{},
|
|
3923
|
-
true
|
|
3924
|
-
);
|
|
3925
|
-
/**
|
|
3926
|
-
* Get bet round link.
|
|
3927
|
-
*
|
|
3928
|
-
* @param roundId - Round id.
|
|
3929
|
-
* @returns These returns values unknown.
|
|
3930
|
-
*/
|
|
3931
|
-
getBetRoundLink = async (roundId) => this.getBase(
|
|
3932
|
-
`/game-replay/transaction-id/${roundId}`,
|
|
3933
|
-
{},
|
|
3934
|
-
true
|
|
3935
|
-
);
|
|
3936
|
-
/**
|
|
3937
|
-
* Post bonus activate.
|
|
3938
|
-
*
|
|
3939
|
-
* @param bonusId - String.
|
|
3940
|
-
* @returns These returns values unknown.
|
|
3941
|
-
*/
|
|
3942
|
-
postPlayerBonusActivate = async (bonusId) => this.postBase(
|
|
3943
|
-
`/bonus/activate/bonus-id/${bonusId}`,
|
|
3944
|
-
{
|
|
3945
|
-
headers: headersApplicationJson
|
|
3946
|
-
},
|
|
3947
|
-
true
|
|
3948
|
-
);
|
|
3949
|
-
/**
|
|
3950
|
-
* Post bonus Give up.
|
|
3951
|
-
*
|
|
3952
|
-
* @param bonusId - String.
|
|
3953
|
-
* @returns These returns values unknown.
|
|
3954
|
-
*/
|
|
3955
|
-
postPlayerBonusGiveUp = async (bonusId) => this.postBase(
|
|
3956
|
-
`/bonus/give-up/bonus-id/${bonusId}`,
|
|
3957
|
-
{
|
|
3958
|
-
headers: headersApplicationJson
|
|
3959
|
-
},
|
|
3960
|
-
true
|
|
3961
|
-
);
|
|
3962
|
-
/**
|
|
3963
|
-
* Get bonus activate.
|
|
3964
|
-
*
|
|
3965
|
-
* @param bonusId - String.
|
|
3966
|
-
* @returns These returns values unknown.
|
|
3967
|
-
*/
|
|
3968
|
-
getPlayerBonusTermsConditions = async (bonusId) => this.getBase(
|
|
3969
|
-
`/bonus/terms-conditions/bonus-id/${bonusId}`,
|
|
3970
|
-
{},
|
|
3971
|
-
true
|
|
3972
|
-
);
|
|
3973
|
-
/**
|
|
3974
|
-
* Get transactions type.
|
|
3975
|
-
*
|
|
3976
|
-
* @returns These returns values unknown.
|
|
3977
|
-
*/
|
|
3978
|
-
getTransactionsTypes = async () => this.getBase(`/transactions/type`, {}, true);
|
|
3979
|
-
/**
|
|
3980
|
-
* Get transactions status.
|
|
3981
|
-
*
|
|
3982
|
-
* @returns These returns values unknown.
|
|
3983
|
-
*/
|
|
3984
|
-
getTransactionsStatus = async () => this.getBase(`/transactions/status`, {}, true);
|
|
3985
|
-
/**
|
|
3986
|
-
* Send email to confirm email verification.
|
|
3987
|
-
*
|
|
3988
|
-
* @returns These returns values unknown.
|
|
3989
|
-
*/
|
|
3990
|
-
postSendEmailConfirmationVerify = async () => this.postBase(
|
|
3991
|
-
"/send/email-confirmation-verify",
|
|
3992
|
-
{},
|
|
3993
|
-
true
|
|
3994
|
-
);
|
|
3995
|
-
/**
|
|
3996
|
-
* Get latest transactions.
|
|
3997
|
-
*
|
|
3998
|
-
* @returns These returns values unknown.
|
|
3999
|
-
*/
|
|
4000
|
-
getLatestTransactions = () => this.getBase(
|
|
4001
|
-
`/transactions/latest?limit=2`,
|
|
4002
|
-
{},
|
|
4003
|
-
true
|
|
4004
|
-
);
|
|
4005
|
-
/**
|
|
4006
|
-
* Post player preferences.
|
|
4007
|
-
*
|
|
4008
|
-
* @param isPreferSkin2 - Boolean.
|
|
4009
|
-
* @param ip - String.
|
|
4010
|
-
* @returns These returns values unknown.
|
|
4011
|
-
*/
|
|
4012
|
-
postPlayerPreferenceByIp = async (isPreferSkin2, ip) => this.postBase(
|
|
4013
|
-
"/skin/ip/preference",
|
|
4014
|
-
{
|
|
4015
|
-
headers: headersApplicationJson,
|
|
4016
|
-
body: JSON.stringify({
|
|
4017
|
-
prefer_skin2: isPreferSkin2,
|
|
4018
|
-
ip
|
|
4019
|
-
})
|
|
4020
|
-
},
|
|
4021
|
-
false
|
|
4022
|
-
);
|
|
4023
|
-
/**
|
|
4024
|
-
* Post player preferences.
|
|
4025
|
-
*
|
|
4026
|
-
* @param isPreferSkin2 - Boolean.
|
|
4027
|
-
* @returns These returns values unknown.
|
|
4028
|
-
*/
|
|
4029
|
-
postPlayerPreferenceByUser = async (isPreferSkin2) => this.postBase(
|
|
4030
|
-
"/skin/preference",
|
|
4031
|
-
{
|
|
4032
|
-
headers: headersApplicationJson,
|
|
4033
|
-
body: JSON.stringify({
|
|
4034
|
-
prefer_skin2: isPreferSkin2
|
|
4035
|
-
})
|
|
4036
|
-
},
|
|
4037
|
-
true
|
|
4038
|
-
);
|
|
4039
|
-
/**
|
|
4040
|
-
* Post update or create phone.
|
|
4041
|
-
*
|
|
4042
|
-
* @param data - The data to be verified.
|
|
4043
|
-
* @returns These returns values unknown.
|
|
4044
|
-
*/
|
|
4045
|
-
postPlayerUpdateOrCreatePhone = (data) => this.postBase("/create/phone", {
|
|
4046
|
-
body: JSON.stringify(data),
|
|
4047
|
-
headers: headersApplicationJson
|
|
4048
|
-
});
|
|
4049
|
-
/**
|
|
4050
|
-
* Post promotion activate bonus.
|
|
4051
|
-
*
|
|
4052
|
-
* @param data - PlayerBonusPromotionActivateDataType.
|
|
4053
|
-
* @returns These returns values unknown.
|
|
4054
|
-
*/
|
|
4055
|
-
postPromotionActivateBonus = async (data) => this.postBase(
|
|
4056
|
-
"/promotion/welcome/assign",
|
|
4057
|
-
{
|
|
4058
|
-
headers: headersApplicationJson,
|
|
4059
|
-
body: JSON.stringify(data)
|
|
4060
|
-
},
|
|
4061
|
-
true
|
|
4062
|
-
);
|
|
4063
|
-
};
|
|
4064
|
-
|
|
4065
|
-
// services/validate.service.ts
|
|
4066
|
-
var ValidateService$1 = class ValidateService extends RequestBase {
|
|
4067
|
-
constructor(context) {
|
|
4068
|
-
const prefixService = `/validate`;
|
|
4069
|
-
super(context, prefixService);
|
|
4070
|
-
this.context = context;
|
|
4071
|
-
}
|
|
4072
|
-
context;
|
|
4073
|
-
/**
|
|
4074
|
-
* Get username validation.
|
|
4075
|
-
*
|
|
4076
|
-
* @param username Username string.
|
|
4077
|
-
* @param options Represent value options.
|
|
4078
|
-
* @returns These returns values unknown.
|
|
4079
|
-
*/
|
|
4080
|
-
getUsernameValidation = (username, options = {}) => username && this.getBase(`/username/${username}`, options);
|
|
4081
|
-
/**
|
|
4082
|
-
* Get document validation by skin.
|
|
4083
|
-
*
|
|
4084
|
-
* @param document Document string.
|
|
4085
|
-
* @param options Represent value options.
|
|
4086
|
-
* @returns These returns values unknown.
|
|
4087
|
-
*/
|
|
4088
|
-
getDocumentValidationBySkin = (document, playerPreregisterId) => document && this.postBase(`/document`, {
|
|
4089
|
-
headers: headersApplicationJson,
|
|
4090
|
-
body: JSON.stringify({
|
|
4091
|
-
document_rut: document,
|
|
4092
|
-
skin: this.context.skin,
|
|
4093
|
-
document_type: "CI",
|
|
4094
|
-
player_preregister_id: playerPreregisterId
|
|
4095
|
-
})
|
|
4096
|
-
});
|
|
4097
|
-
/**
|
|
4098
|
-
* Get document validation by skin.
|
|
4099
|
-
*
|
|
4100
|
-
* @param body Document string.
|
|
4101
|
-
* @returns These returns values unknown.
|
|
4102
|
-
*/
|
|
4103
|
-
getSerialValidationBySkin = (body) => this.postBase(`/serial`, {
|
|
4104
|
-
headers: headersApplicationJson,
|
|
4105
|
-
body: JSON.stringify({
|
|
4106
|
-
...body,
|
|
4107
|
-
skin: this.context.skin,
|
|
4108
|
-
document_type: "CI"
|
|
4109
|
-
})
|
|
4110
|
-
});
|
|
4111
|
-
/**
|
|
4112
|
-
* Get affiliate code validation.
|
|
4113
|
-
*
|
|
4114
|
-
* @param code Affiliate Code string.
|
|
4115
|
-
* @param options Represent value options.
|
|
4116
|
-
* @returns These returns values unknown.
|
|
4117
|
-
*/
|
|
4118
|
-
getAffiliateValidation = (code, options = {}) => code && this.getBase(
|
|
4119
|
-
`/skin/${this.context.skin}/affiliate/code/${code}`,
|
|
4120
|
-
options
|
|
4121
|
-
);
|
|
4122
|
-
/**
|
|
4123
|
-
* Get mail validation.
|
|
4124
|
-
*
|
|
4125
|
-
* @param mail Mail string.
|
|
4126
|
-
* @param options Represent value options.
|
|
4127
|
-
* @returns These returns values unknown.
|
|
4128
|
-
*/
|
|
4129
|
-
getMailValidation = (mail, options = {}) => mail && this.getBase(
|
|
4130
|
-
`/mail/${mail}/skin/${this.context.skin}`,
|
|
4131
|
-
options
|
|
4132
|
-
);
|
|
4133
|
-
/**
|
|
4134
|
-
* Get phone validation by skin.
|
|
4135
|
-
*
|
|
4136
|
-
* @param phone - Phone number string.
|
|
4137
|
-
* @param options - Represent value options.
|
|
4138
|
-
* @returns These returns values unknown.
|
|
4139
|
-
*/
|
|
4140
|
-
getPhoneValidationBySkin = (phone, options = {}) => phone && this.getBase(
|
|
4141
|
-
`/phone/${phone}/skin/${this.context.skin}`,
|
|
4142
|
-
options
|
|
4143
|
-
);
|
|
4144
|
-
/**
|
|
4145
|
-
* Get the code validation.
|
|
4146
|
-
*
|
|
4147
|
-
* @param code - Code to validate.
|
|
4148
|
-
* @param options - Represent value options.
|
|
4149
|
-
* @returns These returns values unknown.
|
|
4150
|
-
*/
|
|
4151
|
-
getPasswordRecoveryCodeValidation = (code, options = {}) => code && this.getBase(
|
|
4152
|
-
`/password-recovery/code/${code}`,
|
|
4153
|
-
options
|
|
4154
|
-
);
|
|
4155
|
-
postValidateSerial = (data, withToken = false) => this.postBase(
|
|
4156
|
-
"/serial",
|
|
4157
|
-
{
|
|
4158
|
-
headers: headersApplicationJson,
|
|
4159
|
-
body: JSON.stringify({
|
|
4160
|
-
...data,
|
|
4161
|
-
document_type: "CI",
|
|
4162
|
-
skin: this.context.skin
|
|
4163
|
-
})
|
|
4164
|
-
},
|
|
4165
|
-
withToken
|
|
4166
|
-
);
|
|
4167
|
-
};
|
|
4168
|
-
|
|
4169
|
-
// services/supplier.service.ts
|
|
4170
|
-
var SupplierService$1 = class SupplierService extends RequestBase {
|
|
4171
|
-
constructor(context) {
|
|
4172
|
-
const prefixService = `/provider`;
|
|
4173
|
-
super(context, prefixService);
|
|
4174
|
-
this.context = context;
|
|
4175
|
-
}
|
|
4176
|
-
context;
|
|
4177
|
-
/**
|
|
4178
|
-
* Get game categories by supplier.
|
|
4179
|
-
*
|
|
4180
|
-
* @param supplier Represents the value of the supplier.
|
|
4181
|
-
* @param options Represent Value options.
|
|
4182
|
-
* @param withToken Is fetch with session.
|
|
4183
|
-
* @returns These returns values unknown.
|
|
4184
|
-
*/
|
|
4185
|
-
getGameCategoriesBySupplier = async (supplier, options = {}, withToken = false) => this.getBase(
|
|
4186
|
-
`/${supplier}/categories`,
|
|
4187
|
-
options,
|
|
4188
|
-
withToken
|
|
4189
|
-
);
|
|
4190
|
-
/**
|
|
4191
|
-
* Get game categories by supplier.
|
|
4192
|
-
*
|
|
4193
|
-
* @param supplier Represents the value of the supplier.
|
|
4194
|
-
* @param options Represent Value options.
|
|
4195
|
-
* @returns These returns values unknown.
|
|
4196
|
-
*/
|
|
4197
|
-
getGameCategoriesBySupplierServer = async (supplier, options = {}) => {
|
|
4198
|
-
const supplierSlug = supplier.trim().toLowerCase();
|
|
4199
|
-
return this.requestBase(
|
|
4200
|
-
`/provider/${encodeURIComponent(supplierSlug)}/categories`,
|
|
4201
|
-
options
|
|
4202
|
-
);
|
|
4203
|
-
};
|
|
4204
|
-
};
|
|
4205
|
-
|
|
4206
|
-
// services/verify.service.ts
|
|
4207
|
-
var VerifyService$1 = class VerifyService extends RequestBase {
|
|
4208
|
-
constructor(context) {
|
|
4209
|
-
const prefixService = `/verify/player`;
|
|
4210
|
-
super(context, prefixService);
|
|
4211
|
-
this.context = context;
|
|
4212
|
-
}
|
|
4213
|
-
context;
|
|
4214
|
-
/**
|
|
4215
|
-
* Verify identity document.
|
|
4216
|
-
*
|
|
4217
|
-
* @param document - Identity document string.
|
|
4218
|
-
* @param serial - Serial number.
|
|
4219
|
-
* @param options - Represent value options.
|
|
4220
|
-
* @returns These returns values unknown.
|
|
4221
|
-
*/
|
|
4222
|
-
verifyIdentityDocument = (document, serial, options = {}) => document && this.getBase(
|
|
4223
|
-
`/document/${document}/skin/${this.context.skin}/verify?serial=${serial}`,
|
|
4224
|
-
options
|
|
4225
|
-
);
|
|
4226
|
-
/**
|
|
4227
|
-
* Verify player phone number.
|
|
4228
|
-
*
|
|
4229
|
-
* @param data - The data to be verified.
|
|
4230
|
-
* @returns These returns values unknown.
|
|
4231
|
-
*/
|
|
4232
|
-
verifyPlayerPhone = (data) => this.requestBase(`/verify/player/phone`, {
|
|
4233
|
-
method: "POST",
|
|
4234
|
-
body: JSON.stringify(data),
|
|
4235
|
-
headers: headersApplicationJson
|
|
4236
|
-
});
|
|
4237
|
-
/**
|
|
4238
|
-
* Verify player email.
|
|
4239
|
-
*
|
|
4240
|
-
* @param code Code to verify the email.
|
|
4241
|
-
* @returns These returns values unknown.
|
|
4242
|
-
*/
|
|
4243
|
-
verifyPlayerEmail = (code) => this.getBase(
|
|
4244
|
-
`/auth/email/code/${code}`,
|
|
4245
|
-
{},
|
|
4246
|
-
true
|
|
4247
|
-
);
|
|
4248
|
-
};
|
|
4249
|
-
|
|
4250
|
-
// services/form.services.ts
|
|
4251
|
-
var FormService$1 = class FormService extends RequestBase {
|
|
4252
|
-
constructor(context) {
|
|
4253
|
-
const prefixService = `/form`;
|
|
4254
|
-
super(context, prefixService);
|
|
4255
|
-
this.context = context;
|
|
4256
|
-
}
|
|
4257
|
-
context;
|
|
4258
|
-
/**
|
|
4259
|
-
* This method sends contact form.
|
|
4260
|
-
*
|
|
4261
|
-
* @param data - Represent value data.
|
|
4262
|
-
* @returns These returns values unknown.
|
|
4263
|
-
*/
|
|
4264
|
-
postSendContactForm = (data) => this.postBase("/contact/create", {
|
|
4265
|
-
body: JSON.stringify({
|
|
4266
|
-
...data,
|
|
4267
|
-
skin: this.context.skin
|
|
4268
|
-
}),
|
|
4269
|
-
headers: headersApplicationJson
|
|
4270
|
-
});
|
|
4271
|
-
/**
|
|
4272
|
-
* This method sends deposit form.
|
|
4273
|
-
*
|
|
4274
|
-
* @param data - Represent value data.
|
|
4275
|
-
* @returns These returns values unknown.
|
|
4276
|
-
*/
|
|
4277
|
-
postSupportDepositForm = (data) => this.postBase("/deposit", { body: data }, true);
|
|
4278
|
-
/**
|
|
4279
|
-
* This method sends sport claim form.
|
|
4280
|
-
*
|
|
4281
|
-
* @param data - Represent value data.
|
|
4282
|
-
* @returns These returns values unknown.
|
|
4283
|
-
*/
|
|
4284
|
-
postSendSportClaimForm = (data) => this.postBase(
|
|
4285
|
-
"/support/sport",
|
|
4286
|
-
{
|
|
4287
|
-
body: JSON.stringify(data),
|
|
4288
|
-
headers: headersApplicationJson
|
|
4289
|
-
},
|
|
4290
|
-
true
|
|
4291
|
-
);
|
|
4292
|
-
/**
|
|
4293
|
-
* This method sends sport claim form.
|
|
4294
|
-
*
|
|
4295
|
-
* @param data - Represent value data.
|
|
4296
|
-
* @returns These returns values unknown.
|
|
4297
|
-
*/
|
|
4298
|
-
postSendCasinoClaimForm = (data) => this.postBase(
|
|
4299
|
-
"/support",
|
|
4300
|
-
{
|
|
4301
|
-
body: JSON.stringify(data),
|
|
4302
|
-
headers: headersApplicationJson
|
|
4303
|
-
},
|
|
4304
|
-
true
|
|
4305
|
-
);
|
|
4306
|
-
/**
|
|
4307
|
-
* This method sends update data form.
|
|
4308
|
-
*
|
|
4309
|
-
* @param data - Represent value data.
|
|
4310
|
-
* @returns These returns values unknown.
|
|
4311
|
-
*/
|
|
4312
|
-
postSendUpdateDataSupport = (data) => this.postBase(
|
|
4313
|
-
"/personal-data",
|
|
4314
|
-
{
|
|
4315
|
-
body: data
|
|
4316
|
-
},
|
|
4317
|
-
true
|
|
4318
|
-
);
|
|
4319
|
-
/**
|
|
4320
|
-
* This method sends unblock account support form.
|
|
4321
|
-
*
|
|
4322
|
-
* @param data - Represent value data.
|
|
4323
|
-
* @returns These returns values unknown.
|
|
4324
|
-
*/
|
|
4325
|
-
postSendAccountClosureSupport = (data) => {
|
|
4326
|
-
data.append("skin", this.context.skin);
|
|
4327
|
-
return this.postBase("/unlock", {
|
|
4328
|
-
body: data
|
|
4329
|
-
});
|
|
4330
|
-
};
|
|
4331
|
-
};
|
|
4332
|
-
|
|
4333
|
-
// services/self-exclusion.services.ts
|
|
4334
|
-
var SelfExclusionService$1 = class SelfExclusionService extends RequestBase {
|
|
4335
|
-
constructor(context) {
|
|
4336
|
-
const prefixService = "/player/self-exclusion";
|
|
4337
|
-
super(context, prefixService);
|
|
4338
|
-
this.context = context;
|
|
4339
|
-
}
|
|
4340
|
-
context;
|
|
4341
|
-
/**
|
|
4342
|
-
* Post update or create self exclusion by category.
|
|
4343
|
-
*
|
|
4344
|
-
* @param data - PlayerCreateSelfExclusionByCategoryDataType.
|
|
4345
|
-
* @returns These returns values unknown.
|
|
4346
|
-
*/
|
|
4347
|
-
postCreateSelfExclusionByCategory = async (data) => this.postBase(
|
|
4348
|
-
"/category/create",
|
|
4349
|
-
{
|
|
4350
|
-
headers: headersApplicationJson,
|
|
4351
|
-
body: JSON.stringify(data)
|
|
4352
|
-
},
|
|
4353
|
-
true
|
|
4354
|
-
);
|
|
4355
|
-
/**
|
|
4356
|
-
* Post update or create self exclusion by provider.
|
|
4357
|
-
*
|
|
4358
|
-
* @param data - PlayerCreateSelfExclusionByProviderDataType.
|
|
4359
|
-
* @returns These returns values unknown.
|
|
4360
|
-
*/
|
|
4361
|
-
postCreateSelfExclusionByProvider = async (data) => this.postBase(
|
|
4362
|
-
"/provider/create",
|
|
4363
|
-
{
|
|
4364
|
-
headers: headersApplicationJson,
|
|
4365
|
-
body: JSON.stringify(data)
|
|
4366
|
-
},
|
|
4367
|
-
true
|
|
4368
|
-
);
|
|
4369
|
-
/**
|
|
4370
|
-
* Post create self exclusion revocation request.
|
|
4371
|
-
*
|
|
4372
|
-
* @param data - PlayerCreateSelfExclusionRevocationRequestDataType.
|
|
4373
|
-
* @returns These returns values unknown.
|
|
4374
|
-
*/
|
|
4375
|
-
postCreateSelfExclusionRevocationRequest = async (data) => this.postBase(
|
|
4376
|
-
"/revocation-request",
|
|
4377
|
-
{
|
|
4378
|
-
headers: headersApplicationJson,
|
|
4379
|
-
body: JSON.stringify(data)
|
|
4380
|
-
},
|
|
4381
|
-
true
|
|
4382
|
-
);
|
|
4383
|
-
/**
|
|
4384
|
-
* Post create self exclusion for account closure.
|
|
4385
|
-
*
|
|
4386
|
-
* @param data - PlayerCreateSelfExclusionAccountClosureDataType.
|
|
4387
|
-
* @returns These returns values unknown.
|
|
4388
|
-
*/
|
|
4389
|
-
postCreateSelfExclusionAccountClosure = async (data) => this.postBase(
|
|
4390
|
-
"/account-closure/create",
|
|
4391
|
-
{
|
|
4392
|
-
headers: headersApplicationJson,
|
|
4393
|
-
body: JSON.stringify(data)
|
|
4394
|
-
},
|
|
4395
|
-
true
|
|
4396
|
-
);
|
|
4397
|
-
/**
|
|
4398
|
-
* Post create self exclusion for total.
|
|
4399
|
-
*
|
|
4400
|
-
* @param data - PlayerCreateSelfExclusionTotalDataType.
|
|
4401
|
-
* @returns These returns values unknown.
|
|
4402
|
-
*/
|
|
4403
|
-
postCreateSelfExclusionTotal = async (data) => this.postBase(
|
|
4404
|
-
"/total/create",
|
|
4405
|
-
{
|
|
4406
|
-
headers: headersApplicationJson,
|
|
4407
|
-
body: JSON.stringify(data)
|
|
4408
|
-
},
|
|
4409
|
-
true
|
|
4410
|
-
);
|
|
4411
|
-
/**
|
|
4412
|
-
* Get self exclusion status.
|
|
4413
|
-
*
|
|
4414
|
-
* @returns These returns values unknown.
|
|
4415
|
-
*/
|
|
4416
|
-
getSelfExclusionStatus = async () => this.getBase("/active", {}, true);
|
|
4417
|
-
/**
|
|
4418
|
-
* Get self exclusion status.
|
|
4419
|
-
*
|
|
4420
|
-
* @returns These returns values unknown.
|
|
4421
|
-
*/
|
|
4422
|
-
getSelfExclusionRevocationRequestStatus = async () => this.getBase(
|
|
4423
|
-
"/revocation-request/block",
|
|
4424
|
-
{},
|
|
4425
|
-
true
|
|
4426
|
-
);
|
|
4427
|
-
};
|
|
4428
|
-
|
|
4429
|
-
// types/tournament.interface.ts
|
|
4430
|
-
var TournamentCurrentStatus = /* @__PURE__ */ ((TournamentCurrentStatus2) => {
|
|
4431
|
-
TournamentCurrentStatus2["IN_GAME"] = "EN JUEGO";
|
|
4432
|
-
TournamentCurrentStatus2["EXPIRED"] = "EXPIRADO";
|
|
4433
|
-
TournamentCurrentStatus2["BEGIN"] = "POR EMPEZAR";
|
|
4434
|
-
TournamentCurrentStatus2["INACTIVE"] = "INACTIVE";
|
|
4435
|
-
TournamentCurrentStatus2["DEFAULT"] = "DEFAULT";
|
|
4436
|
-
return TournamentCurrentStatus2;
|
|
4437
|
-
})(TournamentCurrentStatus || {});
|
|
4438
|
-
|
|
4439
|
-
// types/player-session.interface.ts
|
|
4440
|
-
var AccessFlowControllerTypeEnum = /* @__PURE__ */ ((AccessFlowControllerTypeEnum2) => {
|
|
4441
|
-
AccessFlowControllerTypeEnum2["BLOCK_ACCOUNT"] = "BLOCK_ACCOUNT";
|
|
4442
|
-
AccessFlowControllerTypeEnum2["TEMPORAL_BLOCK"] = "TEMPORAL_BLOCK";
|
|
4443
|
-
AccessFlowControllerTypeEnum2["AGE_RESTRICTION"] = "AGE_RESTRICTION";
|
|
4444
|
-
AccessFlowControllerTypeEnum2["SAME_SKIN_FOUND"] = "SAME_SKIN_FOUND";
|
|
4445
|
-
AccessFlowControllerTypeEnum2["EXIST_OTHER_SKIN"] = "EXIST_OTHER_SKIN";
|
|
4446
|
-
AccessFlowControllerTypeEnum2["RESTRICTED_BLACKLIST"] = "RESTRICTED_BLACKLIST";
|
|
4447
|
-
AccessFlowControllerTypeEnum2["INCOMPLETE_REGISTRATION"] = "INCOMPLETE_REGISTRATION";
|
|
4448
|
-
AccessFlowControllerTypeEnum2["ACCOUNT_PENDING_SMS_VERIFICATION"] = "ACCOUNT_PENDING_SMS_VERIFICATION";
|
|
4449
|
-
AccessFlowControllerTypeEnum2["DOCUMENT_IP_BLOCK"] = "DOCUMENT_IP_BLOCK";
|
|
4450
|
-
AccessFlowControllerTypeEnum2["PROVIDER_ERROR"] = "PROVIDER_ERROR";
|
|
4451
|
-
AccessFlowControllerTypeEnum2["DOCUMENT_HARD_BLOCK"] = "DOCUMENT_HARD_BLOCK";
|
|
4452
|
-
AccessFlowControllerTypeEnum2["DOCUMENT_SERIAL_BLOCK"] = "DOCUMENT_SERIAL_BLOCK";
|
|
4453
|
-
AccessFlowControllerTypeEnum2["DOCUMENT_SERIAL_WARNING"] = "DOCUMENT_SERIAL_WARNING";
|
|
4454
|
-
AccessFlowControllerTypeEnum2["PLAYER_SMS_CODE_BLOCK"] = "PLAYER_SMS_CODE_BLOCK";
|
|
4455
|
-
AccessFlowControllerTypeEnum2["PLAYER_SMS_CODE_INVALID"] = "PLAYER_SMS_CODE_INVALID";
|
|
4456
|
-
AccessFlowControllerTypeEnum2["PLAYER_SMS_CODE_WARNING"] = "PLAYER_SMS_CODE_WARNING";
|
|
4457
|
-
AccessFlowControllerTypeEnum2["PLAYER_SMS_CODE_HARD_BLOCK"] = "PLAYER_SMS_CODE_HARD_BLOCK";
|
|
4458
|
-
AccessFlowControllerTypeEnum2["PLAYER_SMS_CODE_HARD_WARNING"] = "PLAYER_SMS_CODE_HARD_WARNING";
|
|
4459
|
-
return AccessFlowControllerTypeEnum2;
|
|
4460
|
-
})(AccessFlowControllerTypeEnum || {});
|
|
4461
|
-
var AccessFlowControllerFromOriginEnum = /* @__PURE__ */ ((AccessFlowControllerFromOriginEnum2) => {
|
|
4462
|
-
AccessFlowControllerFromOriginEnum2["LOGIN"] = "LOGIN";
|
|
4463
|
-
AccessFlowControllerFromOriginEnum2["REGISTER"] = "REGISTER";
|
|
4464
|
-
AccessFlowControllerFromOriginEnum2["VALIDATE_DOCUMENT"] = "VALIDATE_DOCUMENT";
|
|
4465
|
-
AccessFlowControllerFromOriginEnum2["VALIDATE_DOCUMENT_BONUS"] = "VALIDATE_DOCUMENT_BONUS";
|
|
4466
|
-
return AccessFlowControllerFromOriginEnum2;
|
|
4467
|
-
})(AccessFlowControllerFromOriginEnum || {});
|
|
4468
|
-
|
|
4469
|
-
// types/enums/menu-status.enum.ts
|
|
4470
|
-
var MenuStatusType = /* @__PURE__ */ ((MenuStatusType2) => {
|
|
4471
|
-
MenuStatusType2["WITH_WITHOUT_SESSION"] = "WITH_WITHOUT_SESSION";
|
|
4472
|
-
MenuStatusType2["WITH_SESSION"] = "WITH_SESSION";
|
|
4473
|
-
MenuStatusType2["WITHOUT_SESSION"] = "WITHOUT_SESSION";
|
|
4474
|
-
return MenuStatusType2;
|
|
4475
|
-
})(MenuStatusType || {});
|
|
4476
|
-
|
|
4477
|
-
// types/player-bonus-activate.interface.ts
|
|
4478
|
-
var PromotionTypeEnum = /* @__PURE__ */ ((PromotionTypeEnum2) => {
|
|
4479
|
-
PromotionTypeEnum2["CASINO"] = "CASINO";
|
|
4480
|
-
PromotionTypeEnum2["SPORTS"] = "SPORTS";
|
|
4481
|
-
return PromotionTypeEnum2;
|
|
4482
|
-
})(PromotionTypeEnum || {});
|
|
4483
|
-
|
|
4484
|
-
// types/session-report.interface.ts
|
|
4485
|
-
var PlayerSessionDeviceEnum = /* @__PURE__ */ ((PlayerSessionDeviceEnum2) => {
|
|
4486
|
-
PlayerSessionDeviceEnum2["PC"] = "PC";
|
|
4487
|
-
PlayerSessionDeviceEnum2["MOBILE"] = "MOBILE";
|
|
4488
|
-
PlayerSessionDeviceEnum2["TABLET"] = "TABLET";
|
|
4489
|
-
return PlayerSessionDeviceEnum2;
|
|
4490
|
-
})(PlayerSessionDeviceEnum || {});
|
|
4491
|
-
var PlayerSessionStatusEnum = /* @__PURE__ */ ((PlayerSessionStatusEnum2) => {
|
|
4492
|
-
PlayerSessionStatusEnum2["ACTIVE"] = "ACTIVE";
|
|
4493
|
-
PlayerSessionStatusEnum2["TIMEOUT"] = "TIMEOUT";
|
|
4494
|
-
PlayerSessionStatusEnum2["CLOSED"] = "CLOSED";
|
|
4495
|
-
return PlayerSessionStatusEnum2;
|
|
4496
|
-
})(PlayerSessionStatusEnum || {});
|
|
4497
|
-
|
|
4498
|
-
// types/payment-create.interface.ts
|
|
4499
|
-
var SelfLimitationAlertKey = /* @__PURE__ */ ((SelfLimitationAlertKey2) => {
|
|
4500
|
-
SelfLimitationAlertKey2["FULL_LIMIT"] = "FULL_LIMIT";
|
|
4501
|
-
SelfLimitationAlertKey2["PARTIAL_LIMIT"] = "PARTIAL_LIMIT";
|
|
4502
|
-
return SelfLimitationAlertKey2;
|
|
4503
|
-
})(SelfLimitationAlertKey || {});
|
|
4504
|
-
|
|
4505
|
-
// types/payment-details.interface.ts
|
|
4506
|
-
var DepositStatusKey = /* @__PURE__ */ ((DepositStatusKey2) => {
|
|
4507
|
-
DepositStatusKey2["WAITING_RESPONSE"] = "WAITING_RESPONSE";
|
|
4508
|
-
DepositStatusKey2["CANCELED"] = "CANCELED";
|
|
4509
|
-
DepositStatusKey2["FAILED"] = "FAILED";
|
|
4510
|
-
DepositStatusKey2["PAID"] = "PAID";
|
|
4511
|
-
DepositStatusKey2["PENDING"] = "PENDING";
|
|
4512
|
-
DepositStatusKey2["ERROR"] = "ERROR";
|
|
4513
|
-
return DepositStatusKey2;
|
|
4514
|
-
})(DepositStatusKey || {});
|
|
4515
|
-
|
|
4516
|
-
// types/transactions-details.interface.ts
|
|
4517
|
-
var TransactionDetailsKey = /* @__PURE__ */ ((TransactionDetailsKey2) => {
|
|
4518
|
-
TransactionDetailsKey2["MANUAL_CHARGE"] = "MANUAL_CHARGE";
|
|
4519
|
-
TransactionDetailsKey2["DEPOSIT_APPROVED"] = "DEPOSIT_APPROVED";
|
|
4520
|
-
TransactionDetailsKey2["DEPOSIT_IN_PROCESS"] = "DEPOSIT_IN_PROCESS";
|
|
4521
|
-
TransactionDetailsKey2["DEPOSIT_CANCELLED"] = "DEPOSIT_CANCELLED";
|
|
4522
|
-
TransactionDetailsKey2["DEPOSIT_FAILED"] = "DEPOSIT_FAILED";
|
|
4523
|
-
TransactionDetailsKey2["WITHDRAWAL"] = "WITHDRAWAL";
|
|
4524
|
-
TransactionDetailsKey2["MANUAL_WITHDRAWAL"] = "MANUAL_WITHDRAWAL";
|
|
4525
|
-
return TransactionDetailsKey2;
|
|
4526
|
-
})(TransactionDetailsKey || {});
|
|
4527
|
-
var TransactionWithdrawalStatus = /* @__PURE__ */ ((TransactionWithdrawalStatus2) => {
|
|
4528
|
-
TransactionWithdrawalStatus2["PENDING"] = "PENDING";
|
|
4529
|
-
TransactionWithdrawalStatus2["REJECTED"] = "REJECTED";
|
|
4530
|
-
TransactionWithdrawalStatus2["PROCESSED"] = "PROCESSED";
|
|
4531
|
-
return TransactionWithdrawalStatus2;
|
|
4532
|
-
})(TransactionWithdrawalStatus || {});
|
|
4533
|
-
var DepositManualButtonKey = /* @__PURE__ */ ((DepositManualButtonKey2) => {
|
|
4534
|
-
DepositManualButtonKey2["WITHDRAWAL"] = "WITHDRAWAL";
|
|
4535
|
-
DepositManualButtonKey2["BONUS"] = "BONUS";
|
|
4536
|
-
DepositManualButtonKey2["NORMAL"] = "NORMAL";
|
|
4537
|
-
return DepositManualButtonKey2;
|
|
4538
|
-
})(DepositManualButtonKey || {});
|
|
4539
|
-
|
|
4540
|
-
// types/player-two-factor-authentication-methods.interface.ts
|
|
4541
|
-
var TWO_FACTOR_AUTHENTICATION_METHODS_ENUM = /* @__PURE__ */ ((TWO_FACTOR_AUTHENTICATION_METHODS_ENUM2) => {
|
|
4542
|
-
TWO_FACTOR_AUTHENTICATION_METHODS_ENUM2["SMS"] = "sms";
|
|
4543
|
-
TWO_FACTOR_AUTHENTICATION_METHODS_ENUM2["EMAIL"] = "email";
|
|
4544
|
-
return TWO_FACTOR_AUTHENTICATION_METHODS_ENUM2;
|
|
4545
|
-
})(TWO_FACTOR_AUTHENTICATION_METHODS_ENUM || {});
|
|
4546
|
-
|
|
4547
|
-
// types/player-two-factor-code-data.interface.ts
|
|
4548
|
-
var TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM = /* @__PURE__ */ ((TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM2) => {
|
|
4549
|
-
TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM2["REQUIRE_2FA"] = "REQUIRE_2FA";
|
|
4550
|
-
TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM2["TOTAL_BLOCK"] = "TOTAL_BLOCK";
|
|
4551
|
-
TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM2["CODE_BLOCK_ATTEMPTS"] = "CODE_BLOCK_ATTEMPTS";
|
|
4552
|
-
return TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM2;
|
|
4553
|
-
})(TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM || {});
|
|
4554
|
-
|
|
4555
|
-
// types/player-transactions.interface.ts
|
|
4556
|
-
var PlayerTransactionFlagEnum = /* @__PURE__ */ ((PlayerTransactionFlagEnum2) => {
|
|
4557
|
-
PlayerTransactionFlagEnum2["RED"] = "RED";
|
|
4558
|
-
PlayerTransactionFlagEnum2["GRAY"] = "GRAY";
|
|
4559
|
-
PlayerTransactionFlagEnum2["GREEN"] = "GREEN";
|
|
4560
|
-
return PlayerTransactionFlagEnum2;
|
|
4561
|
-
})(PlayerTransactionFlagEnum || {});
|
|
4562
|
-
var PlayerTransactionStatusEnum = /* @__PURE__ */ ((PlayerTransactionStatusEnum2) => {
|
|
4563
|
-
PlayerTransactionStatusEnum2["IN_PROCESS"] = "IN_PROCESS";
|
|
4564
|
-
PlayerTransactionStatusEnum2["COMPLETED"] = "COMPLETED";
|
|
4565
|
-
PlayerTransactionStatusEnum2["CANCELLED"] = "CANCELLED";
|
|
4566
|
-
PlayerTransactionStatusEnum2["NOT_COMPLETED"] = "NOT_COMPLETED";
|
|
4567
|
-
PlayerTransactionStatusEnum2["UNKNOWN"] = "UNKNOWN";
|
|
4568
|
-
return PlayerTransactionStatusEnum2;
|
|
4569
|
-
})(PlayerTransactionStatusEnum || {});
|
|
4570
|
-
var PlayerTransactionTypeEnum = /* @__PURE__ */ ((PlayerTransactionTypeEnum2) => {
|
|
4571
|
-
PlayerTransactionTypeEnum2["DEPOSIT"] = "Dep\xF3sito";
|
|
4572
|
-
PlayerTransactionTypeEnum2["WITHDRAWAL"] = "Retiro";
|
|
4573
|
-
PlayerTransactionTypeEnum2["DEPOSIT_MANUAL"] = "Carga manual";
|
|
4574
|
-
PlayerTransactionTypeEnum2["WITHDRAWAL_MANUAL"] = "Retiro manual";
|
|
4575
|
-
return PlayerTransactionTypeEnum2;
|
|
4576
|
-
})(PlayerTransactionTypeEnum || {});
|
|
4577
|
-
var PlayerTransactionTypeFilterEnum = /* @__PURE__ */ ((PlayerTransactionTypeFilterEnum2) => {
|
|
4578
|
-
PlayerTransactionTypeFilterEnum2["DEPOSIT"] = "DEPOSIT";
|
|
4579
|
-
PlayerTransactionTypeFilterEnum2["WITHDRAWAL"] = "WITHDRAWAL";
|
|
4580
|
-
return PlayerTransactionTypeFilterEnum2;
|
|
4581
|
-
})(PlayerTransactionTypeFilterEnum || {});
|
|
4582
|
-
|
|
4583
|
-
// types/player-self-limitation-info.interface.ts
|
|
4584
|
-
var SelfLimitationEnum = /* @__PURE__ */ ((SelfLimitationEnum2) => {
|
|
4585
|
-
SelfLimitationEnum2["DEPOSIT"] = "deposit";
|
|
4586
|
-
SelfLimitationEnum2["BET"] = "bet";
|
|
4587
|
-
SelfLimitationEnum2["SESSION"] = "session";
|
|
4588
|
-
return SelfLimitationEnum2;
|
|
4589
|
-
})(SelfLimitationEnum || {});
|
|
4590
|
-
var TypeSelfLimitationEnum = /* @__PURE__ */ ((TypeSelfLimitationEnum2) => {
|
|
4591
|
-
TypeSelfLimitationEnum2["DAILY"] = "daily";
|
|
4592
|
-
TypeSelfLimitationEnum2["WEEKLY"] = "weekly";
|
|
4593
|
-
TypeSelfLimitationEnum2["MONTHLY"] = "monthly";
|
|
4594
|
-
return TypeSelfLimitationEnum2;
|
|
4595
|
-
})(TypeSelfLimitationEnum || {});
|
|
4596
|
-
var SelfLimitationInfoResumeTypeEnum = /* @__PURE__ */ ((SelfLimitationInfoResumeTypeEnum2) => {
|
|
4597
|
-
SelfLimitationInfoResumeTypeEnum2["DEPOSIT"] = "depositSelfLimitationResume";
|
|
4598
|
-
SelfLimitationInfoResumeTypeEnum2["BET"] = "betSelfLimitationResume";
|
|
4599
|
-
SelfLimitationInfoResumeTypeEnum2["SESSION"] = "sessionSelfLimitationResume";
|
|
4600
|
-
return SelfLimitationInfoResumeTypeEnum2;
|
|
4601
|
-
})(SelfLimitationInfoResumeTypeEnum || {});
|
|
4602
|
-
|
|
4603
|
-
// types/player-self-limitation-cancel.interface.ts
|
|
4604
|
-
var SelfLimitationCancelEnum = /* @__PURE__ */ ((SelfLimitationCancelEnum2) => {
|
|
4605
|
-
SelfLimitationCancelEnum2["DAILY"] = "daily";
|
|
4606
|
-
SelfLimitationCancelEnum2["WEEKLY"] = "weekly";
|
|
4607
|
-
SelfLimitationCancelEnum2["MONTHLY"] = "monthly";
|
|
4608
|
-
return SelfLimitationCancelEnum2;
|
|
4609
|
-
})(SelfLimitationCancelEnum || {});
|
|
4610
|
-
|
|
4611
|
-
// types/player-self-limitation-info-data.interface.ts
|
|
4612
|
-
var SelfLimitationProgressBarStateEnum = /* @__PURE__ */ ((SelfLimitationProgressBarStateEnum2) => {
|
|
4613
|
-
SelfLimitationProgressBarStateEnum2["HIGH_USAGE"] = "HIGH_USAGE";
|
|
4614
|
-
SelfLimitationProgressBarStateEnum2["MEDIUM_USAGE"] = "MEDIUM_USAGE";
|
|
4615
|
-
SelfLimitationProgressBarStateEnum2["LOW_USAGE"] = "LOW_USAGE";
|
|
4616
|
-
return SelfLimitationProgressBarStateEnum2;
|
|
4617
|
-
})(SelfLimitationProgressBarStateEnum || {});
|
|
4618
|
-
var SelfLimitationStateEnum = /* @__PURE__ */ ((SelfLimitationStateEnum2) => {
|
|
4619
|
-
SelfLimitationStateEnum2["ACTIVE"] = "ACTIVE";
|
|
4620
|
-
SelfLimitationStateEnum2["REVISION"] = "REVISION";
|
|
4621
|
-
SelfLimitationStateEnum2["NOT_CREATED"] = "NOT_CREATED";
|
|
4622
|
-
return SelfLimitationStateEnum2;
|
|
4623
|
-
})(SelfLimitationStateEnum || {});
|
|
4624
|
-
var SelfLimitationRuleEnum = /* @__PURE__ */ ((SelfLimitationRuleEnum2) => {
|
|
4625
|
-
SelfLimitationRuleEnum2["DAILY"] = "amount_limit_day";
|
|
4626
|
-
SelfLimitationRuleEnum2["WEEKLY"] = "amount_limit_week";
|
|
4627
|
-
SelfLimitationRuleEnum2["MONTHLY"] = "amount_limit_month";
|
|
4628
|
-
return SelfLimitationRuleEnum2;
|
|
4629
|
-
})(SelfLimitationRuleEnum || {});
|
|
4630
|
-
|
|
4631
|
-
// types/player-create-self-exclusion-total-data.interface.ts
|
|
4632
|
-
var ChooseSeverityEnum = /* @__PURE__ */ ((ChooseSeverityEnum2) => {
|
|
4633
|
-
ChooseSeverityEnum2["ONE_DAY"] = "ONE_DAY";
|
|
4634
|
-
ChooseSeverityEnum2["ONE_WEEK"] = "ONE_WEEK";
|
|
4635
|
-
ChooseSeverityEnum2["ONE_MONTH"] = "ONE_MONTH";
|
|
4636
|
-
ChooseSeverityEnum2["THREE_MONTHS"] = "THREE_MONTHS";
|
|
4637
|
-
ChooseSeverityEnum2["SIX_MONTHS"] = "SIX_MONTHS";
|
|
4638
|
-
ChooseSeverityEnum2["ONE_YEAR"] = "ONE_YEAR";
|
|
4639
|
-
ChooseSeverityEnum2["TIME_UNLIMITED"] = "TIME_UNLIMITED";
|
|
4640
|
-
ChooseSeverityEnum2["TIME_CUSTOM"] = "TIME_CUSTOM";
|
|
4641
|
-
return ChooseSeverityEnum2;
|
|
4642
|
-
})(ChooseSeverityEnum || {});
|
|
4643
|
-
|
|
4644
|
-
// types/player-self-exclusion-status.interface.ts
|
|
4645
|
-
var SelfExclusionCardCurrentStatusEnum = /* @__PURE__ */ ((SelfExclusionCardCurrentStatusEnum2) => {
|
|
4646
|
-
SelfExclusionCardCurrentStatusEnum2["DEFAULT"] = "DEFAULT";
|
|
4647
|
-
SelfExclusionCardCurrentStatusEnum2["ACTIVE"] = "ACTIVE";
|
|
4648
|
-
SelfExclusionCardCurrentStatusEnum2["REVIEW"] = "REVIEW";
|
|
4649
|
-
SelfExclusionCardCurrentStatusEnum2["UPDATE"] = "UPDATE";
|
|
4650
|
-
return SelfExclusionCardCurrentStatusEnum2;
|
|
4651
|
-
})(SelfExclusionCardCurrentStatusEnum || {});
|
|
4652
|
-
|
|
4653
|
-
// types/player-sportbook-transactions-report.interface.ts
|
|
4654
|
-
var PlayerSportsbookTransactionsDetailsStatus = /* @__PURE__ */ ((PlayerSportsbookTransactionsDetailsStatus2) => {
|
|
4655
|
-
PlayerSportsbookTransactionsDetailsStatus2["WIN"] = "WIN";
|
|
4656
|
-
PlayerSportsbookTransactionsDetailsStatus2["LOSE"] = "LOSE";
|
|
4657
|
-
PlayerSportsbookTransactionsDetailsStatus2["PREPAID"] = "CANCELLED";
|
|
4658
|
-
PlayerSportsbookTransactionsDetailsStatus2["OPEN_BET"] = "OPEN";
|
|
4659
|
-
return PlayerSportsbookTransactionsDetailsStatus2;
|
|
4660
|
-
})(PlayerSportsbookTransactionsDetailsStatus || {});
|
|
4661
|
-
var PlayerSportsbookTransactionsDetailsType = /* @__PURE__ */ ((PlayerSportsbookTransactionsDetailsType2) => {
|
|
4662
|
-
PlayerSportsbookTransactionsDetailsType2["SINGLE"] = "SINGLE";
|
|
4663
|
-
PlayerSportsbookTransactionsDetailsType2["MULTIPLE"] = "MULTIPLE";
|
|
4664
|
-
return PlayerSportsbookTransactionsDetailsType2;
|
|
4665
|
-
})(PlayerSportsbookTransactionsDetailsType || {});
|
|
4666
|
-
|
|
4667
|
-
// types/bonus-status-available-data.interface.ts
|
|
4668
|
-
var BonusStatusAvailableEnum = /* @__PURE__ */ ((BonusStatusAvailableEnum2) => {
|
|
4669
|
-
BonusStatusAvailableEnum2["SHOW_BONUS"] = "SHOW_BONUS";
|
|
4670
|
-
BonusStatusAvailableEnum2["SHOW_PLAYS"] = "SHOW_PLAYS";
|
|
4671
|
-
return BonusStatusAvailableEnum2;
|
|
4672
|
-
})(BonusStatusAvailableEnum || {});
|
|
4673
|
-
var BonusStatusAvailableFlagEnum = /* @__PURE__ */ ((BonusStatusAvailableFlagEnum2) => {
|
|
4674
|
-
BonusStatusAvailableFlagEnum2["ACTIVE"] = "ACTIVE";
|
|
4675
|
-
BonusStatusAvailableFlagEnum2["AVAILABLE"] = "AVAILABLE";
|
|
4676
|
-
BonusStatusAvailableFlagEnum2["TO_RELEASE"] = "TO_RELEASE";
|
|
4677
|
-
return BonusStatusAvailableFlagEnum2;
|
|
4678
|
-
})(BonusStatusAvailableFlagEnum || {});
|
|
4679
|
-
|
|
4680
|
-
// types/bonus-status-finalized-data.interface.ts
|
|
4681
|
-
var BonusFinalizedTypeFlagEnum = /* @__PURE__ */ ((BonusFinalizedTypeFlagEnum2) => {
|
|
4682
|
-
BonusFinalizedTypeFlagEnum2["CASH"] = "CASH";
|
|
4683
|
-
BonusFinalizedTypeFlagEnum2["WEEKLY"] = "WEEKLY";
|
|
4684
|
-
BonusFinalizedTypeFlagEnum2["CHARGE"] = "CHARGE";
|
|
4685
|
-
BonusFinalizedTypeFlagEnum2["WELCOME"] = "WELCOME";
|
|
4686
|
-
BonusFinalizedTypeFlagEnum2["WEEKEND"] = "WEEKEND";
|
|
4687
|
-
BonusFinalizedTypeFlagEnum2["BIRTHDAY"] = "BIRTHDAY";
|
|
4688
|
-
BonusFinalizedTypeFlagEnum2["FREE_SPIN"] = "FREE_SPIN";
|
|
4689
|
-
return BonusFinalizedTypeFlagEnum2;
|
|
4690
|
-
})(BonusFinalizedTypeFlagEnum || {});
|
|
4691
|
-
var BonusFinalizedStatusEnum = /* @__PURE__ */ ((BonusFinalizedStatusEnum2) => {
|
|
4692
|
-
BonusFinalizedStatusEnum2["EXPIRED"] = "EXPIRED";
|
|
4693
|
-
BonusFinalizedStatusEnum2["CANCELED"] = "CANCELED";
|
|
4694
|
-
BonusFinalizedStatusEnum2["DECLINED"] = "DECLINED";
|
|
4695
|
-
BonusFinalizedStatusEnum2["COMPLETED_WITH_PROFIT"] = "COMPLETED_WITH_PROFIT";
|
|
4696
|
-
BonusFinalizedStatusEnum2["COMPLETED_WITHOUT_PROFIT"] = "COMPLETED_WITHOUT_PROFIT";
|
|
4697
|
-
return BonusFinalizedStatusEnum2;
|
|
4698
|
-
})(BonusFinalizedStatusEnum || {});
|
|
4699
|
-
|
|
4700
|
-
// types/bonus-status-promotion-data.interface.ts
|
|
4701
|
-
var BonusParticipationButtonNum = /* @__PURE__ */ ((BonusParticipationButtonNum2) => {
|
|
4702
|
-
BonusParticipationButtonNum2["DEPOSIT"] = "DEPOSIT";
|
|
4703
|
-
BonusParticipationButtonNum2["PROGRESS"] = "PROGRESS";
|
|
4704
|
-
BonusParticipationButtonNum2["REQUIREMENTS"] = "REQUIREMENTS";
|
|
4705
|
-
return BonusParticipationButtonNum2;
|
|
4706
|
-
})(BonusParticipationButtonNum || {});
|
|
4707
|
-
var BonusParticipationStatusEnum = /* @__PURE__ */ ((BonusParticipationStatusEnum2) => {
|
|
4708
|
-
BonusParticipationStatusEnum2["NOT_COMPLY"] = "NOT_COMPLY";
|
|
4709
|
-
BonusParticipationStatusEnum2["PARTICIPATING"] = "PARTICIPATING";
|
|
4710
|
-
BonusParticipationStatusEnum2["PENDING_DEPOSIT"] = "PENDING_DEPOSIT";
|
|
4711
|
-
return BonusParticipationStatusEnum2;
|
|
4712
|
-
})(BonusParticipationStatusEnum || {});
|
|
4713
|
-
var BonusPromotionCodeEnum = /* @__PURE__ */ ((BonusPromotionCodeEnum2) => {
|
|
4714
|
-
BonusPromotionCodeEnum2["NWB"] = "NWB";
|
|
4715
|
-
BonusPromotionCodeEnum2["CBF"] = "CBF";
|
|
4716
|
-
BonusPromotionCodeEnum2["CBS"] = "CBS";
|
|
4717
|
-
BonusPromotionCodeEnum2["CBT"] = "CBT";
|
|
4718
|
-
BonusPromotionCodeEnum2["BSM"] = "BSM";
|
|
4719
|
-
BonusPromotionCodeEnum2["BSE"] = "BSE";
|
|
4720
|
-
BonusPromotionCodeEnum2["BFS"] = "BFS";
|
|
4721
|
-
BonusPromotionCodeEnum2["BGF"] = "BGF";
|
|
4722
|
-
return BonusPromotionCodeEnum2;
|
|
4723
|
-
})(BonusPromotionCodeEnum || {});
|
|
4724
|
-
|
|
4725
|
-
// types/player-request-withdrawal-pending-tracking.interface.ts
|
|
4726
|
-
var WithdrawalStatusEnum = /* @__PURE__ */ ((WithdrawalStatusEnum2) => {
|
|
4727
|
-
WithdrawalStatusEnum2["RECEIVED"] = "RECEIVED";
|
|
4728
|
-
WithdrawalStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
|
|
4729
|
-
WithdrawalStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
|
|
4730
|
-
WithdrawalStatusEnum2["SUCCESSFUL"] = "SUCCESSFUL";
|
|
4731
|
-
WithdrawalStatusEnum2["CANCELLED"] = "CANCELLED";
|
|
4732
|
-
WithdrawalStatusEnum2["NOT_COMPLETED"] = "NOT_COMPLETED";
|
|
4733
|
-
return WithdrawalStatusEnum2;
|
|
4734
|
-
})(WithdrawalStatusEnum || {});
|
|
4735
|
-
|
|
4736
|
-
// services/self-limitation.services.ts
|
|
4737
|
-
var SelfLimitationService$1 = class SelfLimitationService extends RequestBase {
|
|
4738
|
-
constructor(context) {
|
|
4739
|
-
const prefixService = `/player/self-limitation`;
|
|
4740
|
-
super(context, prefixService);
|
|
4741
|
-
this.context = context;
|
|
4742
|
-
}
|
|
4743
|
-
context;
|
|
4744
|
-
/**
|
|
4745
|
-
* Post update or create self limitation by session.
|
|
4746
|
-
*
|
|
4747
|
-
* @param data - PlayerCreateOrUpdateSelfLimitationBySessionDataType.
|
|
4748
|
-
* @returns These returns values unknown.
|
|
4749
|
-
*/
|
|
4750
|
-
postUpdateOrCreateSelfLimitationBySession = async (data) => this.postBase(
|
|
4751
|
-
"/session/updateOrCreate",
|
|
4752
|
-
{
|
|
4753
|
-
headers: headersApplicationJson,
|
|
4754
|
-
body: JSON.stringify(data)
|
|
4755
|
-
},
|
|
4756
|
-
true
|
|
4757
|
-
);
|
|
4758
|
-
/**
|
|
4759
|
-
* Post update or create self limitation by deposit.
|
|
4760
|
-
*
|
|
4761
|
-
* @param data - PlayerCreateOrUpdateSelfLimitationBySessionDataType.
|
|
4762
|
-
* @returns These returns values unknown.
|
|
4763
|
-
*/
|
|
4764
|
-
postUpdateOrCreateSelfLimitationByDeposit = async (data) => this.postBase(
|
|
4765
|
-
"/deposit/updateOrCreate",
|
|
4766
|
-
{
|
|
4767
|
-
headers: headersApplicationJson,
|
|
4768
|
-
body: JSON.stringify(data)
|
|
4769
|
-
},
|
|
4770
|
-
true
|
|
4771
|
-
);
|
|
4772
|
-
/**
|
|
4773
|
-
* Post update or create self limitation by bet.
|
|
4774
|
-
*
|
|
4775
|
-
* @param data - PlayerCreateOrUpdateSelfLimitationByBetDataType.
|
|
4776
|
-
* @returns These returns values unknown.
|
|
4777
|
-
*/
|
|
4778
|
-
postUpdateOrCreateSelfLimitationByBet = async (data) => this.postBase(
|
|
4779
|
-
"/bet/updateOrCreate",
|
|
4780
|
-
{
|
|
4781
|
-
headers: headersApplicationJson,
|
|
4782
|
-
body: JSON.stringify(data)
|
|
4783
|
-
},
|
|
4784
|
-
true
|
|
4785
|
-
);
|
|
4786
|
-
/**
|
|
4787
|
-
* Get self limitation bet report.
|
|
4788
|
-
*
|
|
4789
|
-
* @param query - QueryType.
|
|
4790
|
-
* @returns These returns values unknown.
|
|
4791
|
-
*/
|
|
4792
|
-
getSelfLimitationBetReport = async (query = {}) => {
|
|
4793
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
4794
|
-
return this.getBase(
|
|
4795
|
-
`/bet/report?${handleQuery}`,
|
|
4796
|
-
{},
|
|
4797
|
-
true
|
|
4798
|
-
);
|
|
4799
|
-
};
|
|
4800
|
-
/**
|
|
4801
|
-
* Get self limitation deposit report.
|
|
4802
|
-
*
|
|
4803
|
-
* @param query - QueryType.
|
|
4804
|
-
* @returns These returns values unknown.
|
|
4805
|
-
*/
|
|
4806
|
-
getSelfLimitationDepositReport = async (query = {}) => {
|
|
4807
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
4808
|
-
return this.getBase(
|
|
4809
|
-
`/deposit/report?${handleQuery}`,
|
|
4810
|
-
{},
|
|
4811
|
-
true
|
|
4812
|
-
);
|
|
4813
|
-
};
|
|
4814
|
-
/**
|
|
4815
|
-
* Fetches the self-limitation information for a given path (deposit, betting, or session).
|
|
4816
|
-
*
|
|
4817
|
-
* @param nameSelfLimitation - API path representing the limitation type. Defaults to deposit.
|
|
4818
|
-
* @returns A promise with the player's self-limitation information.
|
|
4819
|
-
*/
|
|
4820
|
-
getSelfLimitationInfo = async (nameSelfLimitation = "deposit" /* DEPOSIT */) => this.getBase(
|
|
4821
|
-
`/${nameSelfLimitation}/info`,
|
|
4822
|
-
{},
|
|
4823
|
-
true
|
|
4824
|
-
);
|
|
4825
|
-
/**
|
|
4826
|
-
* Sends a request to cancel a pending or active self-limitation.
|
|
4827
|
-
*
|
|
4828
|
-
* @param selfLimitation - The self-limitation path (deposit, betting, session).
|
|
4829
|
-
* @param typeSelfLimitation - The type of self-limitation to cancel.
|
|
4830
|
-
* @returns A promise with the server response about the cancellation status.
|
|
4831
|
-
*/
|
|
4832
|
-
postSelfLimitationCancel = async (selfLimitation, typeSelfLimitation) => {
|
|
4833
|
-
return this.postBase(
|
|
4834
|
-
`/${selfLimitation}/cancel`,
|
|
4835
|
-
{
|
|
4836
|
-
headers: headersApplicationJson,
|
|
4837
|
-
...typeSelfLimitation && {
|
|
4838
|
-
body: JSON.stringify({ type: typeSelfLimitation })
|
|
4839
|
-
}
|
|
4840
|
-
},
|
|
4841
|
-
true
|
|
4842
|
-
);
|
|
4843
|
-
};
|
|
4844
|
-
/**
|
|
4845
|
-
* Creates or updates a self-limitation configuration for the given path.
|
|
4846
|
-
*
|
|
4847
|
-
* @param nameSelfLimitation - The self-limitation category (deposit, betting, session).
|
|
4848
|
-
* @param data - Payload with the new or updated self-limitation data.
|
|
4849
|
-
* @returns A promise with the operation result.
|
|
4850
|
-
*/
|
|
4851
|
-
postSelfLimitationUpdateOrCreate = async (nameSelfLimitation = "deposit" /* DEPOSIT */, data) => this.postBase(
|
|
4852
|
-
`/${nameSelfLimitation}/updateOrCreate`,
|
|
4853
|
-
{
|
|
4854
|
-
headers: headersApplicationJson,
|
|
4855
|
-
body: JSON.stringify(data)
|
|
4856
|
-
},
|
|
4857
|
-
true
|
|
4858
|
-
);
|
|
4859
|
-
/**
|
|
4860
|
-
* Retrieves the self-limitation report for the specified path.
|
|
4861
|
-
*
|
|
4862
|
-
* @param query - Optional filters or query parameters for the report.
|
|
4863
|
-
* @returns A promise with the limitation report data.
|
|
4864
|
-
*/
|
|
4865
|
-
getSelfLimitationReport = async (query = {}) => {
|
|
4866
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
4867
|
-
return this.getBase(
|
|
4868
|
-
`/report?${handleQuery}`,
|
|
4869
|
-
{},
|
|
4870
|
-
true
|
|
4871
|
-
);
|
|
4872
|
-
};
|
|
4873
|
-
/**
|
|
4874
|
-
* Retrieves the self-limitation report for the specified path.
|
|
4875
|
-
*
|
|
4876
|
-
* @returns A promise with the limitation report data.
|
|
4877
|
-
*/
|
|
4878
|
-
getSelfLimitationTypes = async () => {
|
|
4879
|
-
return this.getBase(`/types`, {}, true);
|
|
4880
|
-
};
|
|
4881
|
-
};
|
|
4882
|
-
|
|
4883
|
-
// services/bank.service.ts
|
|
4884
|
-
var BankService$1 = class BankService extends RequestBase {
|
|
4885
|
-
constructor(context) {
|
|
4886
|
-
const prefixService = `/player/bank-accounts`;
|
|
4887
|
-
super(context, prefixService);
|
|
4888
|
-
this.context = context;
|
|
4889
|
-
}
|
|
4890
|
-
context;
|
|
4891
|
-
/**
|
|
4892
|
-
* Get banks list.
|
|
4893
|
-
*
|
|
4894
|
-
* @returns These returns a list with banks.
|
|
4895
|
-
*/
|
|
4896
|
-
getBankList = async () => this.getBase("/bank", {}, true);
|
|
4897
|
-
/**
|
|
4898
|
-
* Get bank account type list.
|
|
4899
|
-
*
|
|
4900
|
-
* @returns These returns a list with bank account types.
|
|
4901
|
-
*/
|
|
4902
|
-
getBankAccountTypeList = async () => this.getBase("/account-type", {}, true);
|
|
4903
|
-
/**
|
|
4904
|
-
* Post add bank account.
|
|
4905
|
-
*
|
|
4906
|
-
* @param data - PlayerBankAccountDataType.
|
|
4907
|
-
* @returns These returns values unknown.
|
|
4908
|
-
*/
|
|
4909
|
-
postAddBankAccount = async (data) => this.postBase(
|
|
4910
|
-
"/create",
|
|
4911
|
-
{
|
|
4912
|
-
headers: headersApplicationJson,
|
|
4913
|
-
body: JSON.stringify(data)
|
|
4914
|
-
},
|
|
4915
|
-
true
|
|
4916
|
-
);
|
|
4917
|
-
/**
|
|
4918
|
-
* Put edit bank account.
|
|
4919
|
-
*
|
|
4920
|
-
* @param data - BankEditBankAccountDataType.
|
|
4921
|
-
* @returns These returns values unknown.
|
|
4922
|
-
*/
|
|
4923
|
-
putEditBankAccount = async (data) => this.putBase(
|
|
4924
|
-
"/edit",
|
|
4925
|
-
{
|
|
4926
|
-
headers: headersApplicationJson,
|
|
4927
|
-
body: JSON.stringify(data)
|
|
4928
|
-
},
|
|
4929
|
-
true
|
|
4930
|
-
);
|
|
4931
|
-
/**
|
|
4932
|
-
* Delete bank account.
|
|
4933
|
-
*
|
|
4934
|
-
* @param data - BankDeleteBankAccountDataType.
|
|
4935
|
-
* @returns These returns values unknown.
|
|
4936
|
-
*/
|
|
4937
|
-
deleteBankAccount = async (data) => this.deleteBase(
|
|
4938
|
-
"/delete",
|
|
4939
|
-
{
|
|
4940
|
-
headers: headersApplicationJson,
|
|
4941
|
-
body: JSON.stringify(data)
|
|
4942
|
-
},
|
|
4943
|
-
true
|
|
4944
|
-
);
|
|
4945
|
-
/**
|
|
4946
|
-
* Restore bank account.
|
|
4947
|
-
*
|
|
4948
|
-
* @param data - BankDeleteBankAccountDataType.
|
|
4949
|
-
* @returns These returns values unknown.
|
|
4950
|
-
*/
|
|
4951
|
-
restoreBankAccount = async (data) => this.postBase(
|
|
4952
|
-
"/restore",
|
|
4953
|
-
{
|
|
4954
|
-
headers: headersApplicationJson,
|
|
4955
|
-
body: JSON.stringify(data)
|
|
4956
|
-
},
|
|
4957
|
-
true
|
|
4958
|
-
);
|
|
4959
|
-
};
|
|
4960
|
-
|
|
4961
|
-
// services/payment.service.ts
|
|
4962
|
-
var PaymentService$1 = class PaymentService extends RequestBase {
|
|
4963
|
-
constructor(context) {
|
|
4964
|
-
const prefixService = `/payment`;
|
|
4965
|
-
super(context, prefixService);
|
|
4966
|
-
this.context = context;
|
|
4967
|
-
}
|
|
4968
|
-
context;
|
|
4969
|
-
/**
|
|
4970
|
-
* Post create a new payment.
|
|
4971
|
-
*
|
|
4972
|
-
* @param data - PaymentCreateDataType.
|
|
4973
|
-
* @returns These returns values unknown.
|
|
4974
|
-
*/
|
|
4975
|
-
postCreatePayment = async (data) => this.postBase(
|
|
4976
|
-
"/create",
|
|
4977
|
-
{
|
|
4978
|
-
headers: headersApplicationJson,
|
|
4979
|
-
body: JSON.stringify(data)
|
|
4980
|
-
},
|
|
4981
|
-
true
|
|
4982
|
-
);
|
|
4983
|
-
/**
|
|
4984
|
-
* Get payment method list.
|
|
4985
|
-
*
|
|
4986
|
-
* @param options - Represent value options.
|
|
4987
|
-
* @returns These returns a list with payment methods.
|
|
4988
|
-
*/
|
|
4989
|
-
getPaymentMethods = async (options = {}) => this.getBase("/methods", options, true);
|
|
4990
|
-
/**
|
|
4991
|
-
* Post Confirm payment provider transaction.
|
|
4992
|
-
*
|
|
4993
|
-
* @param provider - Payment provider.
|
|
4994
|
-
* @param modality - Payment modality.
|
|
4995
|
-
* @param data - PaymentCreateDataType.
|
|
4996
|
-
* @returns These returns values unknown.
|
|
4997
|
-
*/
|
|
4998
|
-
postConfirmPayment = async (provider, modality, data) => this.postBase(
|
|
4999
|
-
`/confirm/provider/${provider}/modality/${modality}`,
|
|
5000
|
-
{
|
|
5001
|
-
headers: headersApplicationJson,
|
|
5002
|
-
body: JSON.stringify(data)
|
|
5003
|
-
},
|
|
5004
|
-
false
|
|
5005
|
-
);
|
|
5006
|
-
/**
|
|
5007
|
-
* Get payment details from provider.
|
|
5008
|
-
*
|
|
5009
|
-
* @param payment_id - Payment id.
|
|
5010
|
-
* @param options - Represent value options.
|
|
5011
|
-
* @returns These returns a list with payment methods.
|
|
5012
|
-
*/
|
|
5013
|
-
getPaymentDetails = async (payment_id, options = {}) => payment_id && this.getBase(
|
|
5014
|
-
`/details/payment-id/${payment_id}`,
|
|
5015
|
-
options,
|
|
5016
|
-
false
|
|
5017
|
-
);
|
|
5018
|
-
};
|
|
5019
|
-
|
|
5020
|
-
// services/transactions.service.ts
|
|
5021
|
-
var TransactionsService$1 = class TransactionsService extends RequestBase {
|
|
5022
|
-
constructor(context) {
|
|
5023
|
-
const prefixService = `/player/plays`;
|
|
5024
|
-
super(context, prefixService);
|
|
5025
|
-
this.context = context;
|
|
5026
|
-
}
|
|
5027
|
-
context;
|
|
5028
|
-
/**
|
|
5029
|
-
* Get Bets report.
|
|
5030
|
-
*
|
|
5031
|
-
* @param query - QueryType.
|
|
5032
|
-
* @returns These returns values unknown.
|
|
5033
|
-
*/
|
|
5034
|
-
getBetsReport = async (query = {}) => {
|
|
5035
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5036
|
-
return this.getBase(
|
|
5037
|
-
`/report?${handleQuery}`,
|
|
5038
|
-
{},
|
|
5039
|
-
true
|
|
5040
|
-
);
|
|
5041
|
-
};
|
|
5042
|
-
/**
|
|
5043
|
-
* Get Bets types.
|
|
5044
|
-
*
|
|
5045
|
-
* @returns These returns values unknown.
|
|
5046
|
-
*/
|
|
5047
|
-
getBetsTypes = async () => this.getBase(`/type`, {}, true);
|
|
5048
|
-
/**
|
|
5049
|
-
* Get Bets types list.
|
|
5050
|
-
*
|
|
5051
|
-
* @returns These returns values unknown.
|
|
5052
|
-
*/
|
|
5053
|
-
getBetsTypesList = async () => this.getBase(`/types/list`, {}, true);
|
|
5054
|
-
/**
|
|
5055
|
-
* Download Bets report.
|
|
5056
|
-
*
|
|
5057
|
-
* @param query Represent query url.
|
|
5058
|
-
* @returns These returns values unknown.
|
|
5059
|
-
*/
|
|
5060
|
-
downloadBetsReport = async (query = {}) => {
|
|
5061
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5062
|
-
return this.getBase(
|
|
5063
|
-
`/report/download?${handleQuery}`,
|
|
5064
|
-
{},
|
|
5065
|
-
true
|
|
5066
|
-
);
|
|
5067
|
-
};
|
|
5068
|
-
};
|
|
5069
|
-
|
|
5070
|
-
// services/identity-biometry.service.ts
|
|
5071
|
-
var IdentityBiometryService$1 = class IdentityBiometryService extends RequestBase {
|
|
5072
|
-
constructor(context) {
|
|
5073
|
-
const prefixService = `/player`;
|
|
5074
|
-
super(context, prefixService);
|
|
5075
|
-
this.context = context;
|
|
5076
|
-
}
|
|
5077
|
-
context;
|
|
5078
|
-
/**
|
|
5079
|
-
* Get Biometric Verify Status Of Player.
|
|
5080
|
-
*
|
|
5081
|
-
* @returns The player's biometric verification status.
|
|
5082
|
-
*/
|
|
5083
|
-
getBiometryVerifyStatusOfPlayer = async () => this.getBase(
|
|
5084
|
-
"/identity-biometry/verify/type/required",
|
|
5085
|
-
{},
|
|
5086
|
-
true
|
|
5087
|
-
);
|
|
5088
|
-
/**
|
|
5089
|
-
* Get Verify Validate Document.
|
|
5090
|
-
*
|
|
5091
|
-
* @returns The player's validate document status.
|
|
5092
|
-
*/
|
|
5093
|
-
getVerifyValidateDocument = async () => this.getBase(
|
|
5094
|
-
"/verify/serial",
|
|
5095
|
-
{},
|
|
5096
|
-
true
|
|
5097
|
-
);
|
|
5098
|
-
/**
|
|
5099
|
-
* Get Verify Identity Biometry For Recharge.
|
|
5100
|
-
*
|
|
5101
|
-
* @param amount Amount.
|
|
5102
|
-
* @returns The provider url to verify biometric identity.
|
|
5103
|
-
*/
|
|
5104
|
-
getVerifyIdentityBiometryForRecharge = async (amount) => this.getBase(
|
|
5105
|
-
`/identity-biometry/verify/type/recharge/amount/${amount}`,
|
|
5106
|
-
{},
|
|
5107
|
-
true
|
|
5108
|
-
);
|
|
5109
|
-
/**
|
|
5110
|
-
* Get Verify Identity Biometry For Withdrawal.
|
|
5111
|
-
*
|
|
5112
|
-
* @param amount Amount.
|
|
5113
|
-
* @returns The provider url to verify biometric identity.
|
|
5114
|
-
*/
|
|
5115
|
-
getVerifyIdentityBiometryForWithdrawal = async (amount) => this.getBase(
|
|
5116
|
-
`/identity-biometry/verify/type/withdrawal/amount/${amount}`,
|
|
5117
|
-
{},
|
|
5118
|
-
true
|
|
5119
|
-
);
|
|
5120
|
-
/**
|
|
5121
|
-
* Create identity biometry.
|
|
5122
|
-
*
|
|
5123
|
-
* @param data - PlayerCreateIdentifyBiometryDataType.
|
|
5124
|
-
* @returns The provider url to verify biometric identity.
|
|
5125
|
-
*/
|
|
5126
|
-
postCreateIdentityBiometry = async (data) => this.postBase(
|
|
5127
|
-
"/identity-biometry/create",
|
|
5128
|
-
{
|
|
5129
|
-
headers: headersApplicationJson,
|
|
5130
|
-
body: JSON.stringify(data)
|
|
5131
|
-
},
|
|
5132
|
-
true
|
|
5133
|
-
);
|
|
5134
|
-
/**
|
|
5135
|
-
* Create identity biometry.
|
|
5136
|
-
*
|
|
5137
|
-
* @param data - PlayerCreateIdentifyBiometryDataType.
|
|
5138
|
-
* @returns The provider url to verify biometric identity.
|
|
5139
|
-
*/
|
|
5140
|
-
postConfirmIdentityBiometry = async (data) => this.postBase(
|
|
5141
|
-
"/identity-biometry/confirm",
|
|
5142
|
-
{
|
|
5143
|
-
headers: headersApplicationJson,
|
|
5144
|
-
body: JSON.stringify(data)
|
|
5145
|
-
},
|
|
5146
|
-
true
|
|
5147
|
-
);
|
|
5148
|
-
};
|
|
5149
|
-
|
|
5150
|
-
// services/pep-verification.service.ts
|
|
5151
|
-
var PepVerificationService$1 = class PepVerificationService extends RequestBase {
|
|
5152
|
-
constructor(context) {
|
|
5153
|
-
const prefixService = `/player`;
|
|
5154
|
-
super(context, prefixService);
|
|
5155
|
-
this.context = context;
|
|
5156
|
-
}
|
|
5157
|
-
context;
|
|
5158
|
-
/**
|
|
5159
|
-
* Get Pep Verify Status Of Player.
|
|
5160
|
-
*
|
|
5161
|
-
* @returns The player's Pep check verification status.
|
|
5162
|
-
*/
|
|
5163
|
-
getPepVerificationStatusOfPlayer = async () => this.getBase("/check/pep", {}, true);
|
|
5164
|
-
/**
|
|
5165
|
-
* Get pep verification questions.
|
|
5166
|
-
*
|
|
5167
|
-
* @returns The player's pep verification questions.
|
|
5168
|
-
*/
|
|
5169
|
-
getPepVerificationQuestions = async () => this.getBase(
|
|
5170
|
-
"/check/pep/questions",
|
|
5171
|
-
{},
|
|
5172
|
-
true
|
|
5173
|
-
);
|
|
5174
|
-
/**
|
|
5175
|
-
* Post send pep verification.
|
|
5176
|
-
*
|
|
5177
|
-
* @param data Confirm questions player.
|
|
5178
|
-
* @returns Success save questions.
|
|
5179
|
-
*/
|
|
5180
|
-
postSendPepVerification = async (data) => this.postBase(
|
|
5181
|
-
"/check/pep",
|
|
5182
|
-
{
|
|
5183
|
-
body: JSON.stringify(data),
|
|
5184
|
-
headers: headersApplicationJson
|
|
5185
|
-
},
|
|
5186
|
-
true
|
|
5187
|
-
);
|
|
5188
|
-
};
|
|
5189
|
-
|
|
5190
|
-
// services/sports.service.ts
|
|
5191
|
-
var SportsService$1 = class SportsService extends RequestBase {
|
|
5192
|
-
constructor(context) {
|
|
5193
|
-
const prefixService = "/sport";
|
|
5194
|
-
super(context, prefixService);
|
|
5195
|
-
this.context = context;
|
|
5196
|
-
}
|
|
5197
|
-
context;
|
|
5198
|
-
/**
|
|
5199
|
-
* Get player balance from server.
|
|
5200
|
-
*
|
|
5201
|
-
* @param token Represent value token.
|
|
5202
|
-
* @returns These returns values unknown.
|
|
5203
|
-
*/
|
|
5204
|
-
getPlayerBalanceFromFirstProvider = async (token) => this.requestBase(
|
|
5205
|
-
`/sport/first/refreshSession?operatorToken=${token}`,
|
|
5206
|
-
{
|
|
5207
|
-
method: "GET",
|
|
5208
|
-
headers: {
|
|
5209
|
-
"Content-Type": "application/json"
|
|
5210
|
-
}
|
|
5211
|
-
}
|
|
5212
|
-
);
|
|
5213
|
-
/**
|
|
5214
|
-
* Asynchronously retrieves the sport first provider skin based on the current context's skin.
|
|
5215
|
-
*
|
|
5216
|
-
* @param withAuth Boolean.
|
|
5217
|
-
* @returns A promise that resolves with an array of GameCategoryType objects representing the first provider skin.
|
|
5218
|
-
*/
|
|
5219
|
-
getSportFirstProvider = async (withAuth = true) => this.getBase(
|
|
5220
|
-
`/first/skin/${this.context.skin}`,
|
|
5221
|
-
{},
|
|
5222
|
-
withAuth
|
|
5223
|
-
);
|
|
5224
|
-
/**
|
|
5225
|
-
* Download Bets report.
|
|
5226
|
-
*
|
|
5227
|
-
* @param query Represent query url.
|
|
5228
|
-
* @returns These returns values unknown.
|
|
5229
|
-
*/
|
|
5230
|
-
downloadBetsSportsReport = async (query = {}) => {
|
|
5231
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5232
|
-
return this.getBase(
|
|
5233
|
-
`/report/download?${handleQuery}`,
|
|
5234
|
-
{},
|
|
5235
|
-
true
|
|
5236
|
-
);
|
|
5237
|
-
};
|
|
5238
|
-
};
|
|
5239
|
-
|
|
5240
|
-
// services/other.service.ts
|
|
5241
|
-
var OtherService$1 = class OtherService extends RequestBase {
|
|
5242
|
-
constructor(context) {
|
|
5243
|
-
const prefixService = "";
|
|
5244
|
-
super(context, prefixService);
|
|
5245
|
-
this.context = context;
|
|
5246
|
-
}
|
|
5247
|
-
context;
|
|
5248
|
-
/**
|
|
5249
|
-
* Get Skin Countries.
|
|
5250
|
-
*
|
|
5251
|
-
* @param options Represent value options.
|
|
5252
|
-
* @returns These returns values unknown.
|
|
5253
|
-
*/
|
|
5254
|
-
getSkinCountries = (options = {}) => this.getBase("/skin/country", options);
|
|
5255
|
-
};
|
|
5256
|
-
|
|
5257
|
-
// services/bonus.service.ts
|
|
5258
|
-
var BonusService$1 = class BonusService extends RequestBase {
|
|
5259
|
-
constructor(context) {
|
|
5260
|
-
const prefixService = `/player/bonus`;
|
|
5261
|
-
super(context, prefixService);
|
|
5262
|
-
this.context = context;
|
|
5263
|
-
}
|
|
5264
|
-
context;
|
|
5265
|
-
/**
|
|
5266
|
-
* Get player bonus status list.
|
|
5267
|
-
*
|
|
5268
|
-
* @returns These returns values PlayerBonusStatusType.
|
|
5269
|
-
*/
|
|
5270
|
-
getPlayerBonusStatus = async () => this.getBase("/status/list", {}, true);
|
|
5271
|
-
/**
|
|
5272
|
-
* Get player mode bonus active.
|
|
5273
|
-
*
|
|
5274
|
-
* @returns These returns values PlayerDetailModeBonusActive.
|
|
5275
|
-
*/
|
|
5276
|
-
getPlayerDetailsModeBonusActive = async () => this.getBase("/active", {}, true);
|
|
5277
|
-
/**
|
|
5278
|
-
* Get player bonus providers list.
|
|
5279
|
-
*
|
|
5280
|
-
* @returns These returns values PlayerBonusProvidersDataType.
|
|
5281
|
-
*/
|
|
5282
|
-
getPlayerBonusProviders = async () => this.getBase("/providers", {}, true);
|
|
5283
|
-
/**
|
|
5284
|
-
* Get player bonus availables.
|
|
5285
|
-
*
|
|
5286
|
-
* @returns These returns values PlayerBonusAvailablesType.
|
|
5287
|
-
*/
|
|
5288
|
-
getPlayerBonusAvailable = async () => this.getBase("/availables", {}, true);
|
|
5289
|
-
/**
|
|
5290
|
-
* Get player bonus available count.
|
|
5291
|
-
*
|
|
5292
|
-
* @returns These returns values unknown.
|
|
5293
|
-
*/
|
|
5294
|
-
getPlayerBonusAvailableCount = async () => this.postBase(
|
|
5295
|
-
"/available/count",
|
|
5296
|
-
{},
|
|
5297
|
-
true
|
|
5298
|
-
);
|
|
5299
|
-
/**
|
|
5300
|
-
* Post bonus activate.
|
|
5301
|
-
*
|
|
5302
|
-
* @param bonusId - String.
|
|
5303
|
-
* @returns These returns values unknown.
|
|
5304
|
-
*/
|
|
5305
|
-
postPlayerBonusActivate = async (bonusId) => this.postBase(
|
|
5306
|
-
`/activate/bonus-id/${bonusId}`,
|
|
5307
|
-
{
|
|
5308
|
-
headers: headersApplicationJson
|
|
5309
|
-
},
|
|
5310
|
-
true
|
|
5311
|
-
);
|
|
5312
|
-
/**
|
|
5313
|
-
* Post bonus Give up.
|
|
5314
|
-
*
|
|
5315
|
-
* @param bonusId - String.
|
|
5316
|
-
* @returns These returns values unknown.
|
|
5317
|
-
*/
|
|
5318
|
-
postPlayerBonusGiveUp = async (bonusId) => this.postBase(
|
|
5319
|
-
`/give-up/bonus-id/${bonusId}`,
|
|
5320
|
-
{
|
|
5321
|
-
headers: headersApplicationJson
|
|
5322
|
-
},
|
|
5323
|
-
true
|
|
5324
|
-
);
|
|
5325
|
-
/**
|
|
5326
|
-
* Get bonus terms conditions.
|
|
5327
|
-
*
|
|
5328
|
-
* @param bonusId - String.
|
|
5329
|
-
* @returns These returns values unknown.
|
|
5330
|
-
*/
|
|
5331
|
-
getPlayerBonusTermsConditions = async (bonusId) => this.getBase(
|
|
5332
|
-
`/terms-conditions/bonus-id/${bonusId}`,
|
|
5333
|
-
{},
|
|
5334
|
-
true
|
|
5335
|
-
);
|
|
5336
|
-
/**
|
|
5337
|
-
* Get bonus check status.
|
|
5338
|
-
*
|
|
5339
|
-
* @param bonusId - String.
|
|
5340
|
-
* @returns These returns values unknown.
|
|
5341
|
-
*/
|
|
5342
|
-
getPlayerBonusCheckStatusId = async (bonusId) => this.getBase(
|
|
5343
|
-
`/check-status/bonus-id/${bonusId}`,
|
|
5344
|
-
{},
|
|
5345
|
-
true
|
|
5346
|
-
);
|
|
5347
|
-
/**
|
|
5348
|
-
* Get bonus games list.
|
|
5349
|
-
*
|
|
5350
|
-
* @param bonusId - String.
|
|
5351
|
-
* @param query - Object.
|
|
5352
|
-
* @param options - Object.
|
|
5353
|
-
* @returns These returns values unknown.
|
|
5354
|
-
*/
|
|
5355
|
-
getPlayerBonusGamesList = async (bonusId, query = {}, options = {}) => {
|
|
5356
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5357
|
-
return this.getBase(
|
|
5358
|
-
`/games/${bonusId}?${handleQuery}`,
|
|
5359
|
-
options,
|
|
5360
|
-
true
|
|
5361
|
-
);
|
|
5362
|
-
};
|
|
5363
|
-
/**
|
|
5364
|
-
* Get bonus report list.
|
|
5365
|
-
*
|
|
5366
|
-
* @param query - Object.
|
|
5367
|
-
* @param options - Object.
|
|
5368
|
-
* @returns These returns values unknown.
|
|
5369
|
-
*/
|
|
5370
|
-
getPlayerBonusReports = async (query = {}, options = {}) => {
|
|
5371
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5372
|
-
return this.getBase(
|
|
5373
|
-
`/report?${handleQuery}`,
|
|
5374
|
-
options,
|
|
5375
|
-
true
|
|
5376
|
-
);
|
|
5377
|
-
};
|
|
5378
|
-
/**
|
|
5379
|
-
* Get bonus status available report.
|
|
5380
|
-
*
|
|
5381
|
-
* @returns These returns values BonusStatusAvailableData.
|
|
5382
|
-
*/
|
|
5383
|
-
getBonusStatusAvailableReport = async () => this.getBase("/available/report", {}, true);
|
|
5384
|
-
/**
|
|
5385
|
-
* Get bonus status promotion available.
|
|
5386
|
-
*
|
|
5387
|
-
* @returns These returns values BonusStatusAvailableData.
|
|
5388
|
-
*/
|
|
5389
|
-
getBonusStatusPromotionAvailable = async () => this.getBase(
|
|
5390
|
-
"/promotions/available",
|
|
5391
|
-
{},
|
|
5392
|
-
true
|
|
5393
|
-
);
|
|
5394
|
-
/**
|
|
5395
|
-
* Get bonus status promotion available code.
|
|
5396
|
-
*
|
|
5397
|
-
* @returns These returns values BonusStatusPromotionData.
|
|
5398
|
-
*/
|
|
5399
|
-
getBonusStatusPromotionAvailableCode = async (code) => this.getBase(
|
|
5400
|
-
`/promotions/available/${code}`,
|
|
5401
|
-
{},
|
|
5402
|
-
true
|
|
5403
|
-
);
|
|
5404
|
-
/**
|
|
5405
|
-
* Get bonus status finish report.
|
|
5406
|
-
*
|
|
5407
|
-
* @returns These returns values BonusStatusFinalizedData.
|
|
5408
|
-
*/
|
|
5409
|
-
getBonusStatusFinishReport = async (query = {}, options = {}) => {
|
|
5410
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5411
|
-
return this.getBase(
|
|
5412
|
-
`/finish/report?${handleQuery}`,
|
|
5413
|
-
options,
|
|
5414
|
-
true
|
|
5415
|
-
);
|
|
5416
|
-
};
|
|
5417
|
-
/**
|
|
5418
|
-
* Get bonus status details.
|
|
5419
|
-
*
|
|
5420
|
-
* @returns These returns values BonusStatusDetailsDataType.
|
|
5421
|
-
*/
|
|
5422
|
-
getBonusStatusDetails = async (code, query = {}) => {
|
|
5423
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5424
|
-
return this.getBase(
|
|
5425
|
-
`/promotions/details/${code}?${handleQuery}`,
|
|
5426
|
-
{},
|
|
5427
|
-
true
|
|
5428
|
-
);
|
|
5429
|
-
};
|
|
5430
|
-
/**
|
|
5431
|
-
* Get bonus promotion reason.
|
|
5432
|
-
*
|
|
5433
|
-
* @returns These returns values BonusPromotionReasonDataType.
|
|
5434
|
-
*/
|
|
5435
|
-
getBonusPromotionReason = async (code) => this.getBase(
|
|
5436
|
-
`/promotion/reason/${code}`,
|
|
5437
|
-
{},
|
|
5438
|
-
true
|
|
5439
|
-
);
|
|
5440
|
-
};
|
|
5441
|
-
|
|
5442
|
-
// services/onboarding.service.ts
|
|
5443
|
-
var OnboardingService$1 = class OnboardingService extends RequestBase {
|
|
5444
|
-
constructor(context) {
|
|
5445
|
-
const prefixService = `/player/tutorial`;
|
|
5446
|
-
super(context, prefixService);
|
|
5447
|
-
this.context = context;
|
|
5448
|
-
}
|
|
5449
|
-
context;
|
|
5450
|
-
/**
|
|
5451
|
-
* Retrieves the onboarding code for a player.
|
|
5452
|
-
*
|
|
5453
|
-
* @param code - The unique key associated with the player's onboarding process.
|
|
5454
|
-
* @returns A promise that resolves with the onboarding code details.
|
|
5455
|
-
*/
|
|
5456
|
-
getPlayerOnboardingCode = async (code) => this.getBase(`/${code}`, {}, true);
|
|
5457
|
-
/**
|
|
5458
|
-
* Sends a POST request to the player onboarding endpoint with the specified code and data.
|
|
5459
|
-
*
|
|
5460
|
-
* @param code - The unique key identifying the player onboarding process.
|
|
5461
|
-
* @param data - The data required to create a player onboarding, adhering to the PlayerCreateOnboardingDataType.
|
|
5462
|
-
* @returns A promise resolving to the response of type PlayerCreateOnboardingType.
|
|
5463
|
-
*/
|
|
5464
|
-
postPlayerOnboardingCode = async (code, data) => this.postBase(
|
|
5465
|
-
`/${code}`,
|
|
5466
|
-
{
|
|
5467
|
-
body: JSON.stringify(data),
|
|
5468
|
-
headers: headersApplicationJson
|
|
5469
|
-
},
|
|
5470
|
-
true
|
|
5471
|
-
);
|
|
5472
|
-
};
|
|
5473
|
-
|
|
5474
|
-
// services/two-factor-authentication.service.ts
|
|
5475
|
-
var TwoFactorAuthenticationService$1 = class TwoFactorAuthenticationService extends RequestBase {
|
|
5476
|
-
constructor(context) {
|
|
5477
|
-
const prefixService = "/player/two-factor";
|
|
5478
|
-
super(context, prefixService);
|
|
5479
|
-
this.context = context;
|
|
5480
|
-
}
|
|
5481
|
-
context;
|
|
5482
|
-
/**
|
|
5483
|
-
* Get Two Factor Authentication Methods.
|
|
5484
|
-
*
|
|
5485
|
-
* @returns Retrieves available two-factor authentication methods for a player.
|
|
5486
|
-
*/
|
|
5487
|
-
getTwoFactorAuthenticationMethods = async () => this.getBase(
|
|
5488
|
-
"/methods",
|
|
5489
|
-
{},
|
|
5490
|
-
false
|
|
5491
|
-
);
|
|
5492
|
-
/**
|
|
5493
|
-
* Post Verifies Two Factor Authentication Code.
|
|
5494
|
-
*
|
|
5495
|
-
* @param data Represent the data to send in the body.
|
|
5496
|
-
* @returns These returns values PlayerTwoFactorAuthenticationVerifiesCodeType.
|
|
5497
|
-
*/
|
|
5498
|
-
verifiesTwoFactorAuthenticationCode = (data) => this.requestBase(
|
|
5499
|
-
"/player/two-factor/verify",
|
|
5500
|
-
{
|
|
5501
|
-
method: "POST",
|
|
5502
|
-
headers: headersApplicationJson,
|
|
5503
|
-
body: JSON.stringify({
|
|
5504
|
-
...data,
|
|
5505
|
-
skin: this.context.skin
|
|
5506
|
-
})
|
|
5507
|
-
}
|
|
5508
|
-
);
|
|
5509
|
-
/**
|
|
5510
|
-
* Post Send Two Factor Authentication Code.
|
|
5511
|
-
*
|
|
5512
|
-
* @param data Represent the data to send in the body.
|
|
5513
|
-
* @returns These returns values PlayerTwoFactorAuthenticationVerifiesCodeType.
|
|
5514
|
-
*/
|
|
5515
|
-
postSendTwoFactorAuthenticationCode = (data) => this.postBase(
|
|
5516
|
-
"",
|
|
5517
|
-
{
|
|
5518
|
-
headers: headersApplicationJson,
|
|
5519
|
-
body: JSON.stringify({
|
|
5520
|
-
...data,
|
|
5521
|
-
skin: this.context.skin
|
|
5522
|
-
})
|
|
5523
|
-
},
|
|
5524
|
-
false
|
|
5525
|
-
);
|
|
5526
|
-
};
|
|
5527
|
-
|
|
5528
|
-
// services/skin-content.service.ts
|
|
5529
|
-
var SkinContentService$1 = class SkinContentService extends RequestBase {
|
|
5530
|
-
constructor(context) {
|
|
5531
|
-
const { skin, skinContent } = context;
|
|
5532
|
-
const valueSkinContent = skinContent || skin;
|
|
5533
|
-
const prefixService = `/skin/${valueSkinContent}`;
|
|
5534
|
-
super(context, prefixService);
|
|
5535
|
-
this.context = context;
|
|
5536
|
-
}
|
|
5537
|
-
context;
|
|
5538
|
-
/**
|
|
5539
|
-
* Get all tournament by skin.
|
|
5540
|
-
*
|
|
5541
|
-
* @param options Represent value options.
|
|
5542
|
-
* @returns These returns values unknown.
|
|
5543
|
-
*/
|
|
5544
|
-
getTournamentsBySkinServer = (options = {}) => this.requestBase(
|
|
5545
|
-
`/skin/${this.getSkinContent()}/tournaments`,
|
|
5546
|
-
{
|
|
5547
|
-
...options,
|
|
5548
|
-
...{ ...this.getHeaders(options) },
|
|
5549
|
-
method: "POST"
|
|
5550
|
-
}
|
|
5551
|
-
);
|
|
5552
|
-
/**
|
|
5553
|
-
* Get skin content.
|
|
5554
|
-
*
|
|
5555
|
-
* @returns These returns values unknown.
|
|
5556
|
-
*/
|
|
5557
|
-
getSkinContent = () => {
|
|
5558
|
-
return this.context.skinContent || this.context.skin;
|
|
5559
|
-
};
|
|
5560
|
-
/**
|
|
5561
|
-
* Get all tournament by skin.
|
|
5562
|
-
*
|
|
5563
|
-
* @param options Represent value options.
|
|
5564
|
-
* @returns These returns values unknown.
|
|
5565
|
-
*/
|
|
5566
|
-
getTournamentsBySkin = (options = {}) => this.postBase("/tournaments", options);
|
|
5567
|
-
/**
|
|
5568
|
-
* Get tournament details by ID.
|
|
5569
|
-
*
|
|
5570
|
-
* @param tournamentId Represent tournament ID.
|
|
5571
|
-
* @param options Represent value options.
|
|
5572
|
-
* @returns These returns values unknown.
|
|
5573
|
-
*/
|
|
5574
|
-
getTournamentDetailsById = (tournamentId, options = {}) => this.getBase(
|
|
5575
|
-
`/tournaments/${tournamentId}`,
|
|
5576
|
-
options
|
|
5577
|
-
);
|
|
5578
|
-
/**
|
|
5579
|
-
* Get tournament details by ID.
|
|
5580
|
-
*
|
|
5581
|
-
* @param tournamentId Represent tournament ID.
|
|
5582
|
-
* @param options Represent value options.
|
|
5583
|
-
* @returns These returns values unknown.
|
|
5584
|
-
*/
|
|
5585
|
-
getTournamentDetailsByIdServer = (tournamentId, options = {}) => this.requestBase(
|
|
5586
|
-
`/skin/${this.getSkinContent()}/tournaments/${tournamentId}`,
|
|
5587
|
-
options
|
|
5588
|
-
);
|
|
5589
|
-
/**
|
|
5590
|
-
* Get menu by skin.
|
|
5591
|
-
*
|
|
5592
|
-
* @param options Represent value options.
|
|
5593
|
-
* @returns These returns values unknown.
|
|
5594
|
-
*/
|
|
5595
|
-
getMenuBySkin = (options = {}) => this.getBase("/menu", options);
|
|
5596
|
-
/**
|
|
5597
|
-
* Get menu by skin.
|
|
5598
|
-
*
|
|
5599
|
-
* @param options Represent value options.
|
|
5600
|
-
* @returns These returns values unknown.
|
|
5601
|
-
*/
|
|
5602
|
-
getMenuBySkinServer = () => this.requestBase(`/skin/${this.getSkinContent()}/menu`);
|
|
5603
|
-
/**
|
|
5604
|
-
* Get content top of skin.
|
|
5605
|
-
*
|
|
5606
|
-
* @param options Represent value options.
|
|
5607
|
-
* @returns These returns values unknown.
|
|
5608
|
-
*/
|
|
5609
|
-
getTopSectionSkin = (options = {}) => this.requestBase(
|
|
5610
|
-
`/skin/${this.getSkinContent()}/content/section/top`,
|
|
5611
|
-
options
|
|
5612
|
-
);
|
|
5613
|
-
/**
|
|
5614
|
-
* Get content middle of skin.
|
|
5615
|
-
*
|
|
5616
|
-
* @param options Represent value options.
|
|
5617
|
-
* @returns These returns values unknown.
|
|
5618
|
-
*/
|
|
5619
|
-
getMiddleSectionSkin = (options = {}) => this.requestBase(
|
|
5620
|
-
`/skin/${this.getSkinContent()}/content/section/middle`,
|
|
5621
|
-
options
|
|
5622
|
-
);
|
|
5623
|
-
/**
|
|
5624
|
-
* Get content bottom of skin.
|
|
5625
|
-
*
|
|
5626
|
-
* @param options Represent value options.
|
|
5627
|
-
* @returns These returns values unknown.
|
|
5628
|
-
*/
|
|
5629
|
-
getLowerSectionSkin = (options = {}) => this.requestBase(
|
|
5630
|
-
`/skin/${this.getSkinContent()}/content/section/lower`,
|
|
5631
|
-
options
|
|
5632
|
-
);
|
|
5633
|
-
};
|
|
5634
|
-
|
|
5635
|
-
// services/player-session.service.ts
|
|
5636
|
-
var PlayerSessionService$1 = class PlayerSessionService extends RequestBase {
|
|
5637
|
-
constructor(context) {
|
|
5638
|
-
const prefixService = `/player/session`;
|
|
5639
|
-
super(context, prefixService);
|
|
5640
|
-
this.context = context;
|
|
5641
|
-
}
|
|
5642
|
-
context;
|
|
5643
|
-
/**
|
|
5644
|
-
* Get menu by skin.
|
|
5645
|
-
*
|
|
5646
|
-
* @param data Represent value options.
|
|
5647
|
-
* @returns These returns values unknown.
|
|
5648
|
-
*/
|
|
5649
|
-
postSignIn = (data) => this.postBase("/create", {
|
|
5650
|
-
method: "POST",
|
|
5651
|
-
body: JSON.stringify(data),
|
|
5652
|
-
headers: { "Content-Type": "application/json" }
|
|
5653
|
-
});
|
|
5654
|
-
/**
|
|
5655
|
-
* Get Session SignOut.
|
|
5656
|
-
*
|
|
5657
|
-
* @param reason - String.
|
|
5658
|
-
* @returns These returns function to Sign Out.
|
|
5659
|
-
*/
|
|
5660
|
-
getSignOut = (reason = "Logout") => this.getBase(`/close?reason=${reason}`, {}, true);
|
|
5661
|
-
/**
|
|
5662
|
-
* Get Session refresh.
|
|
5663
|
-
*
|
|
5664
|
-
* @returns These returns function to Sign Out.
|
|
5665
|
-
*/
|
|
5666
|
-
getSessionRefresh = () => this.getBase("/refresh", {}, true);
|
|
5667
|
-
/**
|
|
5668
|
-
* Get Session Status.
|
|
5669
|
-
*
|
|
5670
|
-
* @returns These returns function status.
|
|
5671
|
-
*/
|
|
5672
|
-
getSessionStatus = () => this.getBase("/status", {}, true);
|
|
5673
|
-
/**
|
|
5674
|
-
* Get sessions report report.
|
|
5675
|
-
*
|
|
5676
|
-
* @param query - QueryType.
|
|
5677
|
-
* @returns These returns values unknown.
|
|
5678
|
-
*/
|
|
5679
|
-
getSessionsReport = async (query = {}) => {
|
|
5680
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5681
|
-
return this.getBase(
|
|
5682
|
-
`/report?${handleQuery}`,
|
|
5683
|
-
{},
|
|
5684
|
-
true
|
|
5685
|
-
);
|
|
5686
|
-
};
|
|
5687
|
-
/**
|
|
5688
|
-
* Get latest sessions.
|
|
5689
|
-
*
|
|
5690
|
-
* @returns These returns values unknown.
|
|
5691
|
-
*/
|
|
5692
|
-
getSessionLatest = () => this.getBase(`/latest`, {}, true);
|
|
5693
|
-
};
|
|
5694
|
-
|
|
5695
|
-
// services/player-notification.services.ts
|
|
5696
|
-
var PlayerNotificationService$1 = class PlayerNotificationService extends RequestBase {
|
|
5697
|
-
constructor(context) {
|
|
5698
|
-
const prefixService = `/player/notify`;
|
|
5699
|
-
super(context, prefixService);
|
|
5700
|
-
this.context = context;
|
|
5701
|
-
}
|
|
5702
|
-
context;
|
|
5703
|
-
/**
|
|
5704
|
-
* Get player unread notifications.
|
|
5705
|
-
*
|
|
5706
|
-
* @param options Represent value options.
|
|
5707
|
-
* @returns These returns values unknown.
|
|
5708
|
-
*/
|
|
5709
|
-
getPlayerUnreadNotifications = async (options = {}) => this.getBase(
|
|
5710
|
-
`/notread/count`,
|
|
5711
|
-
options,
|
|
5712
|
-
true
|
|
5713
|
-
);
|
|
5714
|
-
/**
|
|
5715
|
-
* Put mark as read notify.
|
|
5716
|
-
*
|
|
5717
|
-
* @param data - PlayerNotifyMarkAsReadDataType.
|
|
5718
|
-
* @returns These returns values unknown.
|
|
5719
|
-
*/
|
|
5720
|
-
putMarkAsReadNotify = async (data) => this.putBase(
|
|
5721
|
-
"/mark-as-read",
|
|
5722
|
-
{
|
|
5723
|
-
headers: headersApplicationJson,
|
|
5724
|
-
body: JSON.stringify(data)
|
|
5725
|
-
},
|
|
5726
|
-
true
|
|
5727
|
-
);
|
|
5728
|
-
/**
|
|
5729
|
-
* Put restore notify.
|
|
5730
|
-
*
|
|
5731
|
-
* @param data - PlayerNotifyRestoreDataType.
|
|
5732
|
-
* @returns These returns values unknown.
|
|
5733
|
-
*/
|
|
5734
|
-
putRestoreNotify = async (data) => this.putBase(
|
|
5735
|
-
"/restore",
|
|
5736
|
-
{
|
|
5737
|
-
headers: headersApplicationJson,
|
|
5738
|
-
body: JSON.stringify(data)
|
|
5739
|
-
},
|
|
5740
|
-
true
|
|
5741
|
-
);
|
|
5742
|
-
/**
|
|
5743
|
-
* Delete notify.
|
|
5744
|
-
*
|
|
5745
|
-
* @param data - PlayerNotifyDeleteDataType.
|
|
5746
|
-
* @returns These returns values unknown.
|
|
5747
|
-
*/
|
|
5748
|
-
deleteNotify = async (data) => this.deleteBase(
|
|
5749
|
-
"/delete",
|
|
5750
|
-
{
|
|
5751
|
-
headers: headersApplicationJson,
|
|
5752
|
-
body: JSON.stringify(data)
|
|
5753
|
-
},
|
|
5754
|
-
true
|
|
5755
|
-
);
|
|
5756
|
-
/**
|
|
5757
|
-
* Get player notifications.
|
|
5758
|
-
*
|
|
5759
|
-
* @param query - QueryType.
|
|
5760
|
-
* @param options - Represent value options.
|
|
5761
|
-
* @returns These returns a list with player notifications.
|
|
5762
|
-
*/
|
|
5763
|
-
getPlayerNotifications = async (query, options = {}) => {
|
|
5764
|
-
const { page, limit } = { page: 1, limit: 20, ...query };
|
|
5765
|
-
return this.getBase(
|
|
5766
|
-
`?page=${page}&limit=${limit}`,
|
|
5767
|
-
options,
|
|
5768
|
-
true
|
|
5769
|
-
);
|
|
5770
|
-
};
|
|
5771
|
-
};
|
|
5772
|
-
|
|
5773
|
-
// services/player-report.service.ts
|
|
5774
|
-
var PlayerReportService$1 = class PlayerReportService extends RequestBase {
|
|
5775
|
-
constructor(context) {
|
|
5776
|
-
const prefixService = `/player`;
|
|
5777
|
-
super(context, prefixService);
|
|
5778
|
-
this.context = context;
|
|
5779
|
-
}
|
|
5780
|
-
context;
|
|
5781
|
-
/**
|
|
5782
|
-
* Get self exclusion report.
|
|
5783
|
-
*
|
|
5784
|
-
* @param query - QueryType.
|
|
5785
|
-
* @returns These returns values unknown.
|
|
5786
|
-
*/
|
|
5787
|
-
getSelfExclusionReport = async (query = {}) => {
|
|
5788
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5789
|
-
return this.getBase(
|
|
5790
|
-
`/self-exclusion/report?${handleQuery}`,
|
|
5791
|
-
{},
|
|
5792
|
-
true
|
|
5793
|
-
);
|
|
5794
|
-
};
|
|
5795
|
-
/**
|
|
5796
|
-
* Get self limitation Session report.
|
|
5797
|
-
*
|
|
5798
|
-
* @param query - QueryType.
|
|
5799
|
-
* @returns These returns values unknown.
|
|
5800
|
-
*/
|
|
5801
|
-
getSelfLimitationSessionReport = async (query = {}) => {
|
|
5802
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5803
|
-
return this.getBase(
|
|
5804
|
-
`/self-limitation/session/report?${handleQuery}`,
|
|
5805
|
-
{},
|
|
5806
|
-
true
|
|
5807
|
-
);
|
|
5808
|
-
};
|
|
5809
|
-
/**
|
|
5810
|
-
* Get bonus transactions report list.
|
|
5811
|
-
*
|
|
5812
|
-
* @param bonusId - String.
|
|
5813
|
-
* @param query - Object.
|
|
5814
|
-
* @param options - Object.
|
|
5815
|
-
* @returns These returns values unknown.
|
|
5816
|
-
*/
|
|
5817
|
-
getPlayerBonusTransactionsReport = async (bonusId, query = {}, options = {}) => {
|
|
5818
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5819
|
-
return this.getBase(
|
|
5820
|
-
`/plays/bonus-id/${bonusId}/report?${handleQuery}`,
|
|
5821
|
-
options,
|
|
5822
|
-
true
|
|
5823
|
-
);
|
|
5824
|
-
};
|
|
5825
|
-
/**
|
|
5826
|
-
* Get self limitation deposit report.
|
|
5827
|
-
*
|
|
5828
|
-
* @param query - QueryType.
|
|
5829
|
-
* @returns These returns values unknown.
|
|
5830
|
-
*/
|
|
5831
|
-
getSelfLimitationDepositReport = async (query = {}) => {
|
|
5832
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5833
|
-
return this.getBase(
|
|
5834
|
-
`/self-limitation/deposit/report?${handleQuery}`,
|
|
5835
|
-
{},
|
|
5836
|
-
true
|
|
5837
|
-
);
|
|
5838
|
-
};
|
|
5839
|
-
/**
|
|
5840
|
-
* Get transactions report.
|
|
5841
|
-
*
|
|
5842
|
-
* @param query - QueryType.
|
|
5843
|
-
* @returns These returns values unknown.
|
|
5844
|
-
*/
|
|
5845
|
-
getTransactionsReport = async (query = {}) => {
|
|
5846
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5847
|
-
return this.getBase(
|
|
5848
|
-
`/transactions/report?${handleQuery}`,
|
|
5849
|
-
{},
|
|
5850
|
-
true
|
|
5851
|
-
);
|
|
5852
|
-
};
|
|
5853
|
-
/**
|
|
5854
|
-
* Download transactions report.
|
|
5855
|
-
*
|
|
5856
|
-
* @param query Represent query url.
|
|
5857
|
-
* @returns These returns values unknown.
|
|
5858
|
-
*/
|
|
5859
|
-
transactionsDownloadReport = async (query = {}) => {
|
|
5860
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5861
|
-
return this.getBase(
|
|
5862
|
-
`/transactions/report/download?${handleQuery}`,
|
|
5863
|
-
{},
|
|
5864
|
-
true
|
|
5865
|
-
);
|
|
5866
|
-
};
|
|
5867
|
-
/**
|
|
5868
|
-
* Get transactions details report.
|
|
5869
|
-
*
|
|
5870
|
-
* @param query - QueryType.
|
|
5871
|
-
* @returns These returns values unknown.
|
|
5872
|
-
*/
|
|
5873
|
-
getTransactionsDetailsReport = async (query = {}) => {
|
|
5874
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5875
|
-
return this.getBase(
|
|
5876
|
-
`/transactions/details?${handleQuery}`,
|
|
5877
|
-
{},
|
|
5878
|
-
true
|
|
5879
|
-
);
|
|
5880
|
-
};
|
|
5881
|
-
/**
|
|
5882
|
-
* Get sportbook transactions report.
|
|
5883
|
-
*
|
|
5884
|
-
* @param query - QueryType.
|
|
5885
|
-
* @returns These returns values unknown.
|
|
5886
|
-
*/
|
|
5887
|
-
getSportBookTransactionsReport = async (query = {}) => {
|
|
5888
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5889
|
-
return this.getBase(
|
|
5890
|
-
`/sport/report?${handleQuery}`,
|
|
5891
|
-
{},
|
|
5892
|
-
true
|
|
5893
|
-
);
|
|
5894
|
-
};
|
|
5895
|
-
/**
|
|
5896
|
-
* Download Bets report.
|
|
5897
|
-
*
|
|
5898
|
-
* @param query Represent query url.
|
|
5899
|
-
* @returns These returns values unknown.
|
|
5900
|
-
*/
|
|
5901
|
-
downloadBetsSportsReport = async (query = {}) => {
|
|
5902
|
-
const handleQuery = new URLSearchParams(query).toString();
|
|
5903
|
-
return this.getBase(
|
|
5904
|
-
`/sport/report/download?${handleQuery}`,
|
|
5905
|
-
{},
|
|
5906
|
-
true
|
|
5907
|
-
);
|
|
5908
|
-
};
|
|
5909
|
-
/**
|
|
5910
|
-
* Get sportsbook transactions report.
|
|
5911
|
-
*
|
|
5912
|
-
* @returns These returns values unknown.
|
|
5913
|
-
*/
|
|
5914
|
-
getSportBookStatusTransactions = async () => {
|
|
5915
|
-
return this.getBase(
|
|
5916
|
-
`/plays/types/sports/list`,
|
|
5917
|
-
{},
|
|
5918
|
-
true
|
|
5919
|
-
);
|
|
5920
|
-
};
|
|
5921
|
-
/**
|
|
5922
|
-
* Get sportsbook transactions report.
|
|
5923
|
-
*
|
|
5924
|
-
* @param bet_transaction_id - String.
|
|
5925
|
-
* @returns These returns values unknown.
|
|
5926
|
-
*/
|
|
5927
|
-
getSportBookDetailsTransactions = async (bet_transaction_id) => this.getBase(
|
|
5928
|
-
`/sport/details?bet_transaction_id=${bet_transaction_id}`,
|
|
5929
|
-
{},
|
|
5930
|
-
true
|
|
5931
|
-
);
|
|
5932
|
-
};
|
|
5933
|
-
|
|
5934
|
-
// services/optix.service.ts
|
|
5935
|
-
var OptixService$1 = class OptixService extends RequestBase {
|
|
5936
|
-
constructor(context) {
|
|
5937
|
-
const prefixService = `/optix`;
|
|
5938
|
-
super(context, prefixService);
|
|
5939
|
-
this.context = context;
|
|
5940
|
-
}
|
|
5941
|
-
context;
|
|
5942
|
-
/**
|
|
5943
|
-
* Get game by name and skin.
|
|
5944
|
-
*
|
|
5945
|
-
* @param name Game ID.
|
|
5946
|
-
* @param query QueryType.
|
|
5947
|
-
* @param options Represent value options.
|
|
5948
|
-
* @param withToken Is fetch with session.
|
|
5949
|
-
* @returns These returns values unknown.
|
|
5950
|
-
*/
|
|
5951
|
-
getGameByNameAndSkin = async (name, query, options = {}, withToken = false) => {
|
|
5952
|
-
if (!name) return null;
|
|
5953
|
-
const { page, limit } = { page: 1, limit: 20, ...query };
|
|
5954
|
-
return this.getBase(
|
|
5955
|
-
`/games/search/name/${name}/skin/${this.context.skin}?page=${page}&limit=${limit}`,
|
|
5956
|
-
options,
|
|
5957
|
-
withToken
|
|
5958
|
-
);
|
|
5959
|
-
};
|
|
5960
|
-
getLobbyOptixByCode = async (lobbyCode, token) => this.requestBase(
|
|
5961
|
-
`/optix/games/skin/${this.context.skin}/lobby/${lobbyCode}?limit=100`,
|
|
5962
|
-
{
|
|
5963
|
-
...token && {
|
|
5964
|
-
headers: {
|
|
5965
|
-
Authorization: `Bearer ${token}`
|
|
5966
|
-
}
|
|
5967
|
-
}
|
|
5968
|
-
}
|
|
5969
|
-
);
|
|
5970
|
-
getListLobbyOptix = async (token) => this.requestBase(
|
|
5971
|
-
`/optix/games/skin/${this.context.skin}/lobby`,
|
|
5972
|
-
{
|
|
5973
|
-
...token && {
|
|
5974
|
-
headers: {
|
|
5975
|
-
Authorization: `Bearer ${token}`
|
|
5976
|
-
}
|
|
5977
|
-
}
|
|
5978
|
-
}
|
|
5979
|
-
);
|
|
5980
|
-
searchGamesEventOptix = async (data) => this.postBase(
|
|
5981
|
-
`/search/event`,
|
|
5982
|
-
{
|
|
5983
|
-
headers: headersApplicationJson,
|
|
5984
|
-
body: JSON.stringify(data)
|
|
5985
|
-
},
|
|
5986
|
-
true
|
|
5987
|
-
);
|
|
5988
|
-
};
|
|
5989
|
-
|
|
5990
|
-
// index.ts
|
|
5991
|
-
var SdkSAPIExtendedService$1 = class SdkSAPIExtendedService extends tsMixer.Mixin(
|
|
5992
|
-
SkinService,
|
|
5993
|
-
GameService,
|
|
5994
|
-
PlayerService$1,
|
|
5995
|
-
ValidateService$1,
|
|
5996
|
-
SupplierService$1,
|
|
5997
|
-
VerifyService$1,
|
|
5998
|
-
FormService$1,
|
|
5999
|
-
SelfExclusionService$1,
|
|
6000
|
-
SelfLimitationService$1,
|
|
6001
|
-
BankService$1
|
|
6002
|
-
) {
|
|
6003
|
-
};
|
|
6004
|
-
var SdkSAPIExtendedService2$1 = class SdkSAPIExtendedService2 extends tsMixer.Mixin(
|
|
6005
|
-
SkinContentService$1,
|
|
6006
|
-
PaymentService$1,
|
|
6007
|
-
TransactionsService$1,
|
|
6008
|
-
IdentityBiometryService$1,
|
|
6009
|
-
PepVerificationService$1,
|
|
6010
|
-
SportsService$1,
|
|
6011
|
-
OtherService$1,
|
|
6012
|
-
BonusService$1,
|
|
6013
|
-
OnboardingService$1,
|
|
6014
|
-
TwoFactorAuthenticationService$1
|
|
6015
|
-
) {
|
|
6016
|
-
};
|
|
6017
|
-
var SdkSAPIExtendedService3$1 = class SdkSAPIExtendedService3 extends tsMixer.Mixin(
|
|
6018
|
-
PlayerSessionService$1,
|
|
6019
|
-
PlayerNotificationService$1,
|
|
6020
|
-
PlayerReportService$1,
|
|
6021
|
-
OptixService$1
|
|
6022
|
-
) {
|
|
6023
|
-
};
|
|
6024
|
-
var SdkSAPI$1 = class SdkSAPI extends tsMixer.Mixin(
|
|
6025
|
-
SdkSAPIExtendedService$1,
|
|
6026
|
-
SdkSAPIExtendedService2$1,
|
|
6027
|
-
SdkSAPIExtendedService3$1
|
|
6028
|
-
) {
|
|
6029
|
-
constructor(context) {
|
|
6030
|
-
super(context);
|
|
6031
|
-
}
|
|
6032
|
-
};
|
|
6033
|
-
|
|
6034
|
-
exports.AccessFlowControllerFromOriginEnum = AccessFlowControllerFromOriginEnum;
|
|
6035
|
-
exports.AccessFlowControllerTypeEnum = AccessFlowControllerTypeEnum;
|
|
6036
|
-
exports.BonusFinalizedStatusEnum = BonusFinalizedStatusEnum;
|
|
6037
|
-
exports.BonusFinalizedTypeFlagEnum = BonusFinalizedTypeFlagEnum;
|
|
6038
|
-
exports.BonusParticipationButtonNum = BonusParticipationButtonNum;
|
|
6039
|
-
exports.BonusParticipationStatusEnum = BonusParticipationStatusEnum;
|
|
6040
|
-
exports.BonusPromotionCodeEnum = BonusPromotionCodeEnum;
|
|
6041
|
-
exports.BonusStatusAvailableEnum = BonusStatusAvailableEnum;
|
|
6042
|
-
exports.BonusStatusAvailableFlagEnum = BonusStatusAvailableFlagEnum;
|
|
6043
|
-
exports.ChooseSeverityEnum = ChooseSeverityEnum;
|
|
6044
|
-
exports.DepositManualButtonKey = DepositManualButtonKey;
|
|
6045
|
-
exports.DepositStatusKey = DepositStatusKey;
|
|
6046
|
-
exports.MenuStatusType = MenuStatusType;
|
|
6047
|
-
exports.PlayerSessionDeviceEnum = PlayerSessionDeviceEnum;
|
|
6048
|
-
exports.PlayerSessionStatusEnum = PlayerSessionStatusEnum;
|
|
6049
|
-
exports.PlayerSportsbookTransactionsDetailsStatus = PlayerSportsbookTransactionsDetailsStatus;
|
|
6050
|
-
exports.PlayerSportsbookTransactionsDetailsType = PlayerSportsbookTransactionsDetailsType;
|
|
6051
|
-
exports.PlayerTransactionFlagEnum = PlayerTransactionFlagEnum;
|
|
6052
|
-
exports.PlayerTransactionStatusEnum = PlayerTransactionStatusEnum;
|
|
6053
|
-
exports.PlayerTransactionTypeEnum = PlayerTransactionTypeEnum;
|
|
6054
|
-
exports.PlayerTransactionTypeFilterEnum = PlayerTransactionTypeFilterEnum;
|
|
6055
|
-
exports.PromotionTypeEnum = PromotionTypeEnum;
|
|
6056
|
-
exports.SdkSAPI = SdkSAPI$1;
|
|
6057
|
-
exports.SelfExclusionCardCurrentStatusEnum = SelfExclusionCardCurrentStatusEnum;
|
|
6058
|
-
exports.SelfLimitationAlertKey = SelfLimitationAlertKey;
|
|
6059
|
-
exports.SelfLimitationCancelEnum = SelfLimitationCancelEnum;
|
|
6060
|
-
exports.SelfLimitationEnum = SelfLimitationEnum;
|
|
6061
|
-
exports.SelfLimitationInfoResumeTypeEnum = SelfLimitationInfoResumeTypeEnum;
|
|
6062
|
-
exports.SelfLimitationProgressBarStateEnum = SelfLimitationProgressBarStateEnum;
|
|
6063
|
-
exports.SelfLimitationRuleEnum = SelfLimitationRuleEnum;
|
|
6064
|
-
exports.SelfLimitationStateEnum = SelfLimitationStateEnum;
|
|
6065
|
-
exports.TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM = TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM;
|
|
6066
|
-
exports.TWO_FACTOR_AUTHENTICATION_METHODS_ENUM = TWO_FACTOR_AUTHENTICATION_METHODS_ENUM;
|
|
6067
|
-
exports.TournamentCurrentStatus = TournamentCurrentStatus;
|
|
6068
|
-
exports.TransactionDetailsKey = TransactionDetailsKey;
|
|
6069
|
-
exports.TransactionWithdrawalStatus = TransactionWithdrawalStatus;
|
|
6070
|
-
exports.TypeSelfLimitationEnum = TypeSelfLimitationEnum;
|
|
6071
|
-
exports.WithdrawalStatusEnum = WithdrawalStatusEnum;
|
|
6072
|
-
|
|
6073
3245
|
/**
|
|
6074
3246
|
*
|
|
6075
3247
|
*/
|
|
6076
|
-
declare class PlayerService extends RequestBase
|
|
3248
|
+
declare class PlayerService extends RequestBase {
|
|
6077
3249
|
context: SdkSapiContext;
|
|
6078
3250
|
constructor(context: SdkSapiContext);
|
|
6079
3251
|
postPlayerPreRegistration: (data: PlayerPreRegistrationRequestDataType) => Promise<PlayerPreRegistrationResponseType>;
|
|
@@ -6185,7 +3357,7 @@ declare class PlayerService extends RequestBase$1 {
|
|
|
6185
3357
|
*
|
|
6186
3358
|
* @returns These returns values unknown.
|
|
6187
3359
|
*/
|
|
6188
|
-
getPlayerBonusAvailableCount: () => Promise<
|
|
3360
|
+
getPlayerBonusAvailableCount: () => Promise<PlayerBonusAvailableCountDataType>;
|
|
6189
3361
|
/**
|
|
6190
3362
|
* Get bet round link.
|
|
6191
3363
|
*
|
|
@@ -6272,7 +3444,7 @@ declare class PlayerService extends RequestBase$1 {
|
|
|
6272
3444
|
/**
|
|
6273
3445
|
*
|
|
6274
3446
|
*/
|
|
6275
|
-
declare class ValidateService extends RequestBase
|
|
3447
|
+
declare class ValidateService extends RequestBase {
|
|
6276
3448
|
context: SdkSapiContext;
|
|
6277
3449
|
constructor(context: SdkSapiContext);
|
|
6278
3450
|
/**
|
|
@@ -6305,7 +3477,7 @@ declare class ValidateService extends RequestBase$1 {
|
|
|
6305
3477
|
* @param options Represent value options.
|
|
6306
3478
|
* @returns These returns values unknown.
|
|
6307
3479
|
*/
|
|
6308
|
-
getAffiliateValidation: (code: string, options?: {}) =>
|
|
3480
|
+
getAffiliateValidation: (code: string, options?: {}) => Promise<ValidateAffiliateCodeType>;
|
|
6309
3481
|
/**
|
|
6310
3482
|
* Get mail validation.
|
|
6311
3483
|
*
|
|
@@ -6336,7 +3508,7 @@ declare class ValidateService extends RequestBase$1 {
|
|
|
6336
3508
|
/**
|
|
6337
3509
|
*
|
|
6338
3510
|
*/
|
|
6339
|
-
declare class SupplierService extends RequestBase
|
|
3511
|
+
declare class SupplierService extends RequestBase {
|
|
6340
3512
|
context: SdkSapiContext;
|
|
6341
3513
|
constructor(context: SdkSapiContext);
|
|
6342
3514
|
/**
|
|
@@ -6361,7 +3533,7 @@ declare class SupplierService extends RequestBase$1 {
|
|
|
6361
3533
|
/**
|
|
6362
3534
|
* Service for verify player.
|
|
6363
3535
|
*/
|
|
6364
|
-
declare class VerifyService extends RequestBase
|
|
3536
|
+
declare class VerifyService extends RequestBase {
|
|
6365
3537
|
context: SdkSapiContext;
|
|
6366
3538
|
constructor(context: SdkSapiContext);
|
|
6367
3539
|
/**
|
|
@@ -6392,7 +3564,7 @@ declare class VerifyService extends RequestBase$1 {
|
|
|
6392
3564
|
/**
|
|
6393
3565
|
*
|
|
6394
3566
|
*/
|
|
6395
|
-
declare class FormService extends RequestBase
|
|
3567
|
+
declare class FormService extends RequestBase {
|
|
6396
3568
|
context: SdkSapiContext;
|
|
6397
3569
|
constructor(context: SdkSapiContext);
|
|
6398
3570
|
/**
|
|
@@ -6442,7 +3614,7 @@ declare class FormService extends RequestBase$1 {
|
|
|
6442
3614
|
/**
|
|
6443
3615
|
* Represent all services self-exclusion.
|
|
6444
3616
|
*/
|
|
6445
|
-
declare class SelfExclusionService extends RequestBase
|
|
3617
|
+
declare class SelfExclusionService extends RequestBase {
|
|
6446
3618
|
context: SdkSapiContext;
|
|
6447
3619
|
constructor(context: SdkSapiContext);
|
|
6448
3620
|
/**
|
|
@@ -6497,7 +3669,7 @@ declare class SelfExclusionService extends RequestBase$1 {
|
|
|
6497
3669
|
/**
|
|
6498
3670
|
* Represent all services self-limitation.
|
|
6499
3671
|
*/
|
|
6500
|
-
declare class SelfLimitationService extends RequestBase
|
|
3672
|
+
declare class SelfLimitationService extends RequestBase {
|
|
6501
3673
|
context: SdkSapiContext;
|
|
6502
3674
|
constructor(context: SdkSapiContext);
|
|
6503
3675
|
/**
|
|
@@ -6541,7 +3713,7 @@ declare class SelfLimitationService extends RequestBase$1 {
|
|
|
6541
3713
|
* @param nameSelfLimitation - API path representing the limitation type. Defaults to deposit.
|
|
6542
3714
|
* @returns A promise with the player's self-limitation information.
|
|
6543
3715
|
*/
|
|
6544
|
-
getSelfLimitationInfo: (nameSelfLimitation?: `${SelfLimitationEnum
|
|
3716
|
+
getSelfLimitationInfo: (nameSelfLimitation?: `${SelfLimitationEnum}`) => Promise<PlayerSelfLimitationInfoType>;
|
|
6545
3717
|
/**
|
|
6546
3718
|
* Sends a request to cancel a pending or active self-limitation.
|
|
6547
3719
|
*
|
|
@@ -6549,7 +3721,7 @@ declare class SelfLimitationService extends RequestBase$1 {
|
|
|
6549
3721
|
* @param typeSelfLimitation - The type of self-limitation to cancel.
|
|
6550
3722
|
* @returns A promise with the server response about the cancellation status.
|
|
6551
3723
|
*/
|
|
6552
|
-
postSelfLimitationCancel: (selfLimitation: SelfLimitationEnum
|
|
3724
|
+
postSelfLimitationCancel: (selfLimitation: SelfLimitationEnum, typeSelfLimitation: TypeSelfLimitationEnum) => Promise<CommonMessageType>;
|
|
6553
3725
|
/**
|
|
6554
3726
|
* Creates or updates a self-limitation configuration for the given path.
|
|
6555
3727
|
*
|
|
@@ -6557,7 +3729,7 @@ declare class SelfLimitationService extends RequestBase$1 {
|
|
|
6557
3729
|
* @param data - Payload with the new or updated self-limitation data.
|
|
6558
3730
|
* @returns A promise with the operation result.
|
|
6559
3731
|
*/
|
|
6560
|
-
postSelfLimitationUpdateOrCreate: (nameSelfLimitation: `${SelfLimitationEnum
|
|
3732
|
+
postSelfLimitationUpdateOrCreate: (nameSelfLimitation: `${SelfLimitationEnum}` | undefined, data: PlayerSelfLimitationCreateOrUpdateDataType) => Promise<CommonMessageType>;
|
|
6561
3733
|
/**
|
|
6562
3734
|
* Retrieves the self-limitation report for the specified path.
|
|
6563
3735
|
*
|
|
@@ -6576,7 +3748,7 @@ declare class SelfLimitationService extends RequestBase$1 {
|
|
|
6576
3748
|
/**
|
|
6577
3749
|
*
|
|
6578
3750
|
*/
|
|
6579
|
-
declare class BankService extends RequestBase
|
|
3751
|
+
declare class BankService extends RequestBase {
|
|
6580
3752
|
context: SdkSapiContext;
|
|
6581
3753
|
constructor(context: SdkSapiContext);
|
|
6582
3754
|
/**
|
|
@@ -6624,7 +3796,7 @@ declare class BankService extends RequestBase$1 {
|
|
|
6624
3796
|
/**
|
|
6625
3797
|
*
|
|
6626
3798
|
*/
|
|
6627
|
-
declare class PaymentService extends RequestBase
|
|
3799
|
+
declare class PaymentService extends RequestBase {
|
|
6628
3800
|
context: SdkSapiContext;
|
|
6629
3801
|
constructor(context: SdkSapiContext);
|
|
6630
3802
|
/**
|
|
@@ -6663,7 +3835,7 @@ declare class PaymentService extends RequestBase$1 {
|
|
|
6663
3835
|
/**
|
|
6664
3836
|
*
|
|
6665
3837
|
*/
|
|
6666
|
-
declare class TransactionsService extends RequestBase
|
|
3838
|
+
declare class TransactionsService extends RequestBase {
|
|
6667
3839
|
context: SdkSapiContext;
|
|
6668
3840
|
constructor(context: SdkSapiContext);
|
|
6669
3841
|
/**
|
|
@@ -6697,7 +3869,7 @@ declare class TransactionsService extends RequestBase$1 {
|
|
|
6697
3869
|
/**
|
|
6698
3870
|
*
|
|
6699
3871
|
*/
|
|
6700
|
-
declare class IdentityBiometryService extends RequestBase
|
|
3872
|
+
declare class IdentityBiometryService extends RequestBase {
|
|
6701
3873
|
context: SdkSapiContext;
|
|
6702
3874
|
constructor(context: SdkSapiContext);
|
|
6703
3875
|
/**
|
|
@@ -6745,7 +3917,7 @@ declare class IdentityBiometryService extends RequestBase$1 {
|
|
|
6745
3917
|
/**
|
|
6746
3918
|
*
|
|
6747
3919
|
*/
|
|
6748
|
-
declare class PepVerificationService extends RequestBase
|
|
3920
|
+
declare class PepVerificationService extends RequestBase {
|
|
6749
3921
|
context: SdkSapiContext;
|
|
6750
3922
|
constructor(context: SdkSapiContext);
|
|
6751
3923
|
/**
|
|
@@ -6772,7 +3944,7 @@ declare class PepVerificationService extends RequestBase$1 {
|
|
|
6772
3944
|
/**
|
|
6773
3945
|
*
|
|
6774
3946
|
*/
|
|
6775
|
-
declare class SportsService extends RequestBase
|
|
3947
|
+
declare class SportsService extends RequestBase {
|
|
6776
3948
|
context: SdkSapiContext;
|
|
6777
3949
|
constructor(context: SdkSapiContext);
|
|
6778
3950
|
/**
|
|
@@ -6801,7 +3973,7 @@ declare class SportsService extends RequestBase$1 {
|
|
|
6801
3973
|
/**
|
|
6802
3974
|
*
|
|
6803
3975
|
*/
|
|
6804
|
-
declare class OtherService extends RequestBase
|
|
3976
|
+
declare class OtherService extends RequestBase {
|
|
6805
3977
|
context: SdkSapiContext;
|
|
6806
3978
|
constructor(context: SdkSapiContext);
|
|
6807
3979
|
/**
|
|
@@ -6819,7 +3991,7 @@ declare class OtherService extends RequestBase$1 {
|
|
|
6819
3991
|
*
|
|
6820
3992
|
* Each method returns a promise with the expected response type or unknown if not specified.
|
|
6821
3993
|
*/
|
|
6822
|
-
declare class BonusService extends RequestBase
|
|
3994
|
+
declare class BonusService extends RequestBase {
|
|
6823
3995
|
context: SdkSapiContext;
|
|
6824
3996
|
constructor(context: SdkSapiContext);
|
|
6825
3997
|
/**
|
|
@@ -6851,7 +4023,7 @@ declare class BonusService extends RequestBase$1 {
|
|
|
6851
4023
|
*
|
|
6852
4024
|
* @returns These returns values unknown.
|
|
6853
4025
|
*/
|
|
6854
|
-
getPlayerBonusAvailableCount: () => Promise<
|
|
4026
|
+
getPlayerBonusAvailableCount: () => Promise<PlayerBonusAvailableCountDataType>;
|
|
6855
4027
|
/**
|
|
6856
4028
|
* Post bonus activate.
|
|
6857
4029
|
*
|
|
@@ -6908,7 +4080,7 @@ declare class BonusService extends RequestBase$1 {
|
|
|
6908
4080
|
*
|
|
6909
4081
|
* @returns These returns values BonusStatusAvailableData.
|
|
6910
4082
|
*/
|
|
6911
|
-
getBonusStatusPromotionAvailable: () => Promise<BonusPromotionCodeEnum
|
|
4083
|
+
getBonusStatusPromotionAvailable: () => Promise<BonusPromotionCodeEnum[]>;
|
|
6912
4084
|
/**
|
|
6913
4085
|
* Get bonus status promotion available code.
|
|
6914
4086
|
*
|
|
@@ -6941,7 +4113,7 @@ declare class BonusService extends RequestBase$1 {
|
|
|
6941
4113
|
*
|
|
6942
4114
|
* Each method returns a promise with the expected response type or unknown if not specified.
|
|
6943
4115
|
*/
|
|
6944
|
-
declare class OnboardingService extends RequestBase
|
|
4116
|
+
declare class OnboardingService extends RequestBase {
|
|
6945
4117
|
context: SdkSapiContext;
|
|
6946
4118
|
constructor(context: SdkSapiContext);
|
|
6947
4119
|
/**
|
|
@@ -6970,7 +4142,7 @@ declare class OnboardingService extends RequestBase$1 {
|
|
|
6970
4142
|
* @function postVerifiesTheTwoFactorAuthenticationCode - Verifies the two-factor authentication code provided by the player.
|
|
6971
4143
|
* @function postSendTwoFactorAuthenticationCode - Sends a two-factor authentication code to the player.
|
|
6972
4144
|
*/
|
|
6973
|
-
declare class TwoFactorAuthenticationService extends RequestBase
|
|
4145
|
+
declare class TwoFactorAuthenticationService extends RequestBase {
|
|
6974
4146
|
context: SdkSapiContext;
|
|
6975
4147
|
constructor(context: SdkSapiContext);
|
|
6976
4148
|
/**
|
|
@@ -6985,14 +4157,14 @@ declare class TwoFactorAuthenticationService extends RequestBase$1 {
|
|
|
6985
4157
|
* @param data Represent the data to send in the body.
|
|
6986
4158
|
* @returns These returns values PlayerTwoFactorAuthenticationVerifiesCodeType.
|
|
6987
4159
|
*/
|
|
6988
|
-
verifiesTwoFactorAuthenticationCode: (data: PlayerTwoFactorAuthenticationVerifiesCodeDataType) => Promise<
|
|
4160
|
+
verifiesTwoFactorAuthenticationCode: (data: PlayerTwoFactorAuthenticationVerifiesCodeDataType) => Promise<PlayerSessionType>;
|
|
6989
4161
|
/**
|
|
6990
4162
|
* Post Send Two Factor Authentication Code.
|
|
6991
4163
|
*
|
|
6992
4164
|
* @param data Represent the data to send in the body.
|
|
6993
4165
|
* @returns These returns values PlayerTwoFactorAuthenticationVerifiesCodeType.
|
|
6994
4166
|
*/
|
|
6995
|
-
postSendTwoFactorAuthenticationCode: (data: PlayerTwoFactorAuthenticationSendCodeDataType) => Promise<
|
|
4167
|
+
postSendTwoFactorAuthenticationCode: (data: PlayerTwoFactorAuthenticationSendCodeDataType) => Promise<PlayerSessionType>;
|
|
6996
4168
|
}
|
|
6997
4169
|
|
|
6998
4170
|
/**
|
|
@@ -7008,7 +4180,7 @@ interface SkinContentSectionType {
|
|
|
7008
4180
|
/**
|
|
7009
4181
|
*
|
|
7010
4182
|
*/
|
|
7011
|
-
declare class SkinContentService extends RequestBase
|
|
4183
|
+
declare class SkinContentService extends RequestBase {
|
|
7012
4184
|
context: SdkSapiContext;
|
|
7013
4185
|
constructor(context: SdkSapiContext);
|
|
7014
4186
|
/**
|
|
@@ -7087,7 +4259,7 @@ declare class SkinContentService extends RequestBase$1 {
|
|
|
7087
4259
|
/**
|
|
7088
4260
|
*
|
|
7089
4261
|
*/
|
|
7090
|
-
declare class PlayerSessionService extends RequestBase
|
|
4262
|
+
declare class PlayerSessionService extends RequestBase {
|
|
7091
4263
|
context: SdkSapiContext;
|
|
7092
4264
|
constructor(context: SdkSapiContext);
|
|
7093
4265
|
/**
|
|
@@ -7134,7 +4306,7 @@ declare class PlayerSessionService extends RequestBase$1 {
|
|
|
7134
4306
|
/**
|
|
7135
4307
|
*
|
|
7136
4308
|
*/
|
|
7137
|
-
declare class PlayerNotificationService extends RequestBase
|
|
4309
|
+
declare class PlayerNotificationService extends RequestBase {
|
|
7138
4310
|
context: SdkSapiContext;
|
|
7139
4311
|
constructor(context: SdkSapiContext);
|
|
7140
4312
|
/**
|
|
@@ -7178,7 +4350,7 @@ declare class PlayerNotificationService extends RequestBase$1 {
|
|
|
7178
4350
|
/**
|
|
7179
4351
|
* ReportService.
|
|
7180
4352
|
*/
|
|
7181
|
-
declare class PlayerReportService extends RequestBase
|
|
4353
|
+
declare class PlayerReportService extends RequestBase {
|
|
7182
4354
|
context: SdkSapiContext;
|
|
7183
4355
|
constructor(context: SdkSapiContext);
|
|
7184
4356
|
/**
|
|
@@ -7264,7 +4436,7 @@ declare class PlayerReportService extends RequestBase$1 {
|
|
|
7264
4436
|
/**
|
|
7265
4437
|
*
|
|
7266
4438
|
*/
|
|
7267
|
-
declare class OptixService extends RequestBase
|
|
4439
|
+
declare class OptixService extends RequestBase {
|
|
7268
4440
|
context: SdkSapiContext;
|
|
7269
4441
|
constructor(context: SdkSapiContext);
|
|
7270
4442
|
/**
|
|
@@ -7282,7 +4454,7 @@ declare class OptixService extends RequestBase$1 {
|
|
|
7282
4454
|
searchGamesEventOptix: (data: SearchGamesEventOptixType) => Promise<unknown>;
|
|
7283
4455
|
}
|
|
7284
4456
|
|
|
7285
|
-
declare const SdkSAPIExtendedService_base: ts_mixer_dist_types_types.Class<any[], SkinService
|
|
4457
|
+
declare const SdkSAPIExtendedService_base: ts_mixer_dist_types_types.Class<any[], SkinService & GameService & PlayerService & ValidateService & SupplierService & VerifyService & FormService & SelfExclusionService & SelfLimitationService & BankService, typeof SkinService & typeof GameService & typeof PlayerService & typeof ValidateService & typeof SupplierService & typeof VerifyService & typeof FormService & typeof SelfExclusionService & typeof SelfLimitationService & typeof BankService>;
|
|
7286
4458
|
/**
|
|
7287
4459
|
* SdkSAPIExtendedService.
|
|
7288
4460
|
*/
|
|
@@ -7308,4 +4480,4 @@ declare class SdkSAPI extends SdkSAPI_base {
|
|
|
7308
4480
|
constructor(context: SdkSapiContext);
|
|
7309
4481
|
}
|
|
7310
4482
|
|
|
7311
|
-
export { AccessFlowControllerFromOriginEnum
|
|
4483
|
+
export { AccessFlowControllerFromOriginEnum, AccessFlowControllerTypeEnum, type BankAccountType, type BankAccountTypeType, type BankCreateBankAccountDataType, type BankCreateBankAccountType, type BankDeleteBankAccountDataType, type BankDeleteBankAccountType, type BankEditBankAccountDataType, type BankEditBankAccountType, type BankType, type BetRoundLinkType, type BetType, type BetTypeType, type BonusDetailsPanelRequirementType, BonusFinalizedStatusEnum, BonusFinalizedTypeFlagEnum, BonusParticipationButtonNum, BonusParticipationStatusEnum, BonusPromotionCodeEnum, type BonusPromotionReasonDataType, type BonusStatusAvailableData, BonusStatusAvailableEnum, BonusStatusAvailableFlagEnum, type BonusStatusDetailsDataType, type BonusStatusFinalizedData, type BonusStatusPromotionData, ChooseSeverityEnum, type CreatePlayerDataType, type CreatePlayerPhoneDataType, type CreatePlayerPhoneResponseType, type CreatePlayerType, type CurrencyType, type DepositApprovedDetailsData, type DepositHybridDetailsData, DepositManualButtonKey, type DepositManualDetailsData, DepositStatusKey, type DocumentIpBlockType, type FaqItemType, type FaqType, type Game, type GameAttributeType, type GameCategoryType, type GameOpeningURL, type GameProviderType, type GameSearchType, type GameType, type GameTypes, type GamesJackpotsPragmaticType, type LobbyType, type MenuItemType, MenuStatusType, type MenuType, type NotificationType, type PaginatorContentType, type PaginatorType, type PaymentConfirmDataType, type PaymentConfirmType, type PaymentCreateDataType, type PaymentCreateType, type PaymentDetailsType, type PaymentMethodsDataType, type PaymentMethodsType, type PlayerAccessFlowControllerBlockedData, type PlayerAccessFlowControllerDataType, type PlayerBalanceType, type PlayerBankAccountIsBlockedType, type PlayerBankAccountsType, type PlayerBetsReport, type PlayerBetsReportDataType, type PlayerBiometryVerifyStatusType, type PlayerBonusActivateDataType, type PlayerBonusActivateType, type PlayerBonusAvailableCountDataType, type PlayerBonusAvailableCountDataType as PlayerBonusAvailableCountType, type PlayerBonusAvailablesDataType, type PlayerBonusAvailablesType, type PlayerBonusCheckStatusType, type PlayerBonusPromotionActivateDataType, type PlayerBonusProvidersDataType, type PlayerBonusProvidersType, type PlayerBonusReportsDataType, type PlayerBonusReportsType, type PlayerBonusStatusDataType, type PlayerBonusStatusType, type PlayerBonusTermsConditionsType, type PlayerBonusTransactionsReport, type PlayerBonusTransactionsReportDataType, type PlayerBonusVerifySportsbook, type PlayerConfirmIdentifyBiometryDataType, type PlayerConfirmIdentifyBiometryType, type PlayerCountryType, type PlayerCreateIdentifyBiometryDataType, type PlayerCreateIdentifyBiometryType, type PlayerCreateOnboardingDataType, type PlayerCreateOnboardingType, type PlayerCreateOrUpdateSelfLimitationByBetDataType, type PlayerCreateOrUpdateSelfLimitationByBetType, type PlayerCreateOrUpdateSelfLimitationByDepositDataType, type PlayerCreateOrUpdateSelfLimitationByDepositType, type PlayerCreateOrUpdateSelfLimitationBySessionDataType, type PlayerCreateOrUpdateSelfLimitationBySessionType, type PlayerCreateSelfExclusionAccountClosureDataType, type PlayerCreateSelfExclusionAccountClosureType, type PlayerCreateSelfExclusionByCategoryDataType, type PlayerCreateSelfExclusionByCategoryType, type PlayerCreateSelfExclusionByProviderDataType, type PlayerCreateSelfExclusionByProviderType, type PlayerCreateSelfExclusionRevocationRequestDataType, type PlayerCreateSelfExclusionRevocationRequestType, type PlayerCreateSelfExclusionTotalDataType, type PlayerDetailsEditDataType, type PlayerDetailsEditType, type PlayerDetailsModeBonusActive, type PlayerEditDataType, type PlayerEditType, type PlayerNotifications, type PlayerNotifyDeleteDataType, type PlayerNotifyDeleteType, type PlayerNotifyMarkAsReadDataType, type PlayerNotifyMarkAsReadType, type PlayerNotifyRestoreDataType, type PlayerOnboardingDataType, type PlayerOnboardingType, type PlayerPepConfirmQuestions, type PlayerPepConfirmQuestionsType, type PlayerPepVerificationQuestions, type PlayerPepVerificationStatus, type PlayerPreRegistrationRequestDataType, type PlayerPreRegistrationResponseType, type PlayerRequestWithdrawalDataType, type PlayerRequestWithdrawalPendingTrackingDataType, type PlayerRequestWithdrawalPendingTrackingType, type PlayerRequestWithdrawalStatusType, type PlayerRequestWithdrawalType, type PlayerSelfExclusionReport, type PlayerSelfExclusionStatusType, type PlayerSelfLimitationBetReport, type PlayerSelfLimitationCancelReqType, type PlayerSelfLimitationCancelType, type PlayerSelfLimitationCreateOrUpdateDataType, type PlayerSelfLimitationDepositReport, type PlayerSelfLimitationInfoDataType, type PlayerSelfLimitationInfoType, type PlayerSelfLimitationSessionReport, type PlayerSendPasswordRecoverDataType, type PlayerSendPasswordRecoverType, type PlayerSendVerifySmsDataType, type PlayerSendVerifySmsType, type PlayerSessionCreateDataType, PlayerSessionDeviceEnum, type PlayerSessionLatestReport, type PlayerSessionRefreshType, PlayerSessionStatusEnum, type PlayerSessionType, type PlayerSessionsReport, type PlayerSetPasswordDataType, type PlayerSetPasswordType, type PlayerSportsbookMatch, type PlayerSportsbookTransactionsDetails, type PlayerSportsbookTransactionsDetailsReport, PlayerSportsbookTransactionsDetailsStatus, PlayerSportsbookTransactionsDetailsType, type PlayerSportsbookTransactionsReport, PlayerTransactionFlagEnum, PlayerTransactionStatusEnum, PlayerTransactionTypeEnum, PlayerTransactionTypeFilterEnum, type PlayerTransactionsResponseType, type PlayerTransactionsType, type PlayerTwoFactorAuthenticationMethodsType, type PlayerTwoFactorAuthenticationSendCodeDataType, type PlayerTwoFactorAuthenticationVerifiesCodeDataType, type PlayerSessionType as PlayerTwoFactorAuthenticationVerifiesCodeType, type PlayerTwoFactorCodeDataType, type PlayerType, type PlayerUnreadNotificationsType, type PlayerUpdateOrCreatePhoneType, type PlayerUpdatePasswordDataType, type PlayerUpdatePasswordType, type PlayerVerifyValidateDocumentStatusType, PromotionTypeEnum, type ProviderType, type QueryType, SdkSAPI, type SdkSapiContext, type SearchGamesEventOptixType, SelfExclusionCardCurrentStatusEnum, type SelfExclusionType, SelfLimitationAlertKey, SelfLimitationCancelEnum, SelfLimitationEnum, SelfLimitationInfoResumeTypeEnum, SelfLimitationProgressBarStateEnum, SelfLimitationRuleEnum, type SelfLimitationRuleStatusInfoType, type SelfLimitationRuleType, SelfLimitationStateEnum, type SelfLimitationTypeRuleType, type SelfLimitationTypesType, type SendCasinoClaimFormDataType, type SendCasinoClaimFormType, type SendContactFormDataType, type SendContactFormType, type SendEmailConfirmationType, type SendSportClaimFormDataType, type SendSportClaimFormType, type SessionReportType, type SessionStatusType, type SessionType, type SkinContentItemType, type SkinCountryType, type SkinInformationType, type SkinLobbyByCodeType, type SkinLobbyOptixType, type SkinProvidersListType, type SkinType, type SliderTournamentType, type SportFirstProviderType, type SupportDepositFormDataType, TWO_FACTOR_AUTHENTICATION_BLOCKED_ENUM, TWO_FACTOR_AUTHENTICATION_METHODS_ENUM, TournamentCurrentStatus, type TournamentDetailsType, TransactionDetailsKey, type TransactionStatusType, type TransactionTypeType, TransactionWithdrawalStatus, type TransactionsDepositDetailsType, type TransactionsDetailsType, type TransactionsReportType, type TransactionsSportsbookReportType, type TransactionsTypesDownloadType, type TransactionsTypesListType, type TransactionsTypesType, type TransactionsWithdrawalDetailsType, TypeSelfLimitationEnum, type ValidateAffiliateCodeType, type ValidateDocumentBySkinResponseType, type ValidateDocumentBySkinType, type ValidateMailType, type ValidatePasswordRecoveryCodeType, type ValidatePhoneType, type ValidateSerialDataType, type ValidateSerialResponseType, type ValidateSerialType, type ValidateUsernameType, type VerifyIdentityDocumentType, type VerifyIdentityPersonalDataType, type VerifyPlayerEmailType, type VerifyPlayerPhoneType, type WithdrawalCommonData, WithdrawalStatusEnum };
|