@azuro-org/toolkit 5.1.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/global.d.ts +14 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/utils/bonus/getBonuses.d.ts +14 -0
- package/package.json +1 -1
package/dist/global.d.ts
CHANGED
|
@@ -100,6 +100,20 @@ export type Freebet = {
|
|
|
100
100
|
};
|
|
101
101
|
eventRestriction: {
|
|
102
102
|
state: EventRestrictionState | undefined;
|
|
103
|
+
eventFilter?: {
|
|
104
|
+
exclude: boolean;
|
|
105
|
+
filter: [
|
|
106
|
+
{
|
|
107
|
+
sportId: string;
|
|
108
|
+
leagues: string[];
|
|
109
|
+
markets: {
|
|
110
|
+
marketId: number;
|
|
111
|
+
gamePeriodId: number;
|
|
112
|
+
gameTypeId: number;
|
|
113
|
+
}[];
|
|
114
|
+
}
|
|
115
|
+
];
|
|
116
|
+
};
|
|
103
117
|
};
|
|
104
118
|
periodOfValidityMs: number;
|
|
105
119
|
};
|
package/dist/index.js
CHANGED
|
@@ -8368,6 +8368,7 @@ const createCashout = async (props) => {
|
|
|
8368
8368
|
},
|
|
8369
8369
|
eventRestriction: {
|
|
8370
8370
|
state: settings.eventRestriction.eventStatus === 'All' ? undefined : settings.eventRestriction.eventStatus,
|
|
8371
|
+
eventFilter: settings.eventRestriction.eventFilter,
|
|
8371
8372
|
},
|
|
8372
8373
|
periodOfValidityMs: settings.periodOfValidityMs,
|
|
8373
8374
|
},
|
|
@@ -8427,6 +8428,7 @@ const createCashout = async (props) => {
|
|
|
8427
8428
|
},
|
|
8428
8429
|
eventRestriction: {
|
|
8429
8430
|
state: settings.eventRestriction.eventStatus === 'All' ? undefined : settings.eventRestriction.eventStatus,
|
|
8431
|
+
eventFilter: settings.eventRestriction.eventFilter,
|
|
8430
8432
|
},
|
|
8431
8433
|
periodOfValidityMs: settings.periodOfValidityMs,
|
|
8432
8434
|
},
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -18,6 +18,20 @@ export type RawBonus = {
|
|
|
18
18
|
};
|
|
19
19
|
eventRestriction: {
|
|
20
20
|
eventStatus: EventRestrictionState | 'All';
|
|
21
|
+
eventFilter?: {
|
|
22
|
+
exclude: boolean;
|
|
23
|
+
filter: [
|
|
24
|
+
{
|
|
25
|
+
sportId: string;
|
|
26
|
+
leagues: string[];
|
|
27
|
+
markets: {
|
|
28
|
+
marketId: number;
|
|
29
|
+
gamePeriodId: number;
|
|
30
|
+
gameTypeId: number;
|
|
31
|
+
}[];
|
|
32
|
+
}
|
|
33
|
+
];
|
|
34
|
+
};
|
|
21
35
|
};
|
|
22
36
|
periodOfValidityMs: 86400000;
|
|
23
37
|
};
|
package/package.json
CHANGED