@azuro-org/toolkit 5.1.0 → 5.1.2
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/docs/feed/types.d.ts +6 -0
- package/dist/global.d.ts +15 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/utils/bonus/getBonuses.d.ts +15 -0
- package/package.json +1 -1
|
@@ -1312,6 +1312,7 @@ export declare enum OrderDirection {
|
|
|
1312
1312
|
}
|
|
1313
1313
|
export type Outcome = {
|
|
1314
1314
|
__typename?: 'Outcome';
|
|
1315
|
+
_isCustomPrice: Scalars['Boolean']['output'];
|
|
1315
1316
|
_updatedAt: Scalars['BigInt']['output'];
|
|
1316
1317
|
condition: Condition;
|
|
1317
1318
|
currentOdds: Scalars['BigDecimal']['output'];
|
|
@@ -1334,6 +1335,10 @@ export declare enum OutcomeResult {
|
|
|
1334
1335
|
export type Outcome_Filter = {
|
|
1335
1336
|
/** Filter for the block changed event. */
|
|
1336
1337
|
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1338
|
+
_isCustomPrice?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1339
|
+
_isCustomPrice_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
1340
|
+
_isCustomPrice_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1341
|
+
_isCustomPrice_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
1337
1342
|
_updatedAt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1338
1343
|
_updatedAt_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1339
1344
|
_updatedAt_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -1463,6 +1468,7 @@ export type Outcome_Filter = {
|
|
|
1463
1468
|
turnover_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
1464
1469
|
};
|
|
1465
1470
|
export declare enum Outcome_OrderBy {
|
|
1471
|
+
IsCustomPrice = "_isCustomPrice",
|
|
1466
1472
|
UpdatedAt = "_updatedAt",
|
|
1467
1473
|
Condition = "condition",
|
|
1468
1474
|
CurrentOdds = "currentOdds",
|
package/dist/global.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ type BonusBase = {
|
|
|
82
82
|
expiresAt: number;
|
|
83
83
|
usedAt: number;
|
|
84
84
|
createdAt: number;
|
|
85
|
+
publicCustomData: Record<string, string> | null;
|
|
85
86
|
};
|
|
86
87
|
export type Freebet = {
|
|
87
88
|
type: BonusType.FreeBet;
|
|
@@ -100,6 +101,20 @@ export type Freebet = {
|
|
|
100
101
|
};
|
|
101
102
|
eventRestriction: {
|
|
102
103
|
state: EventRestrictionState | undefined;
|
|
104
|
+
eventFilter?: {
|
|
105
|
+
exclude: boolean;
|
|
106
|
+
filter: [
|
|
107
|
+
{
|
|
108
|
+
sportId: string;
|
|
109
|
+
leagues: string[];
|
|
110
|
+
markets: {
|
|
111
|
+
marketId: number;
|
|
112
|
+
gamePeriodId: number;
|
|
113
|
+
gameTypeId: number;
|
|
114
|
+
}[];
|
|
115
|
+
}
|
|
116
|
+
];
|
|
117
|
+
};
|
|
103
118
|
};
|
|
104
119
|
periodOfValidityMs: number;
|
|
105
120
|
};
|
package/dist/index.js
CHANGED
|
@@ -7651,6 +7651,7 @@ var OutcomeResult;
|
|
|
7651
7651
|
})(OutcomeResult || (OutcomeResult = {}));
|
|
7652
7652
|
var Outcome_OrderBy;
|
|
7653
7653
|
(function (Outcome_OrderBy) {
|
|
7654
|
+
Outcome_OrderBy["IsCustomPrice"] = "_isCustomPrice";
|
|
7654
7655
|
Outcome_OrderBy["UpdatedAt"] = "_updatedAt";
|
|
7655
7656
|
Outcome_OrderBy["Condition"] = "condition";
|
|
7656
7657
|
Outcome_OrderBy["CurrentOdds"] = "currentOdds";
|
|
@@ -8368,6 +8369,7 @@ const createCashout = async (props) => {
|
|
|
8368
8369
|
},
|
|
8369
8370
|
eventRestriction: {
|
|
8370
8371
|
state: settings.eventRestriction.eventStatus === 'All' ? undefined : settings.eventRestriction.eventStatus,
|
|
8372
|
+
eventFilter: settings.eventRestriction.eventFilter,
|
|
8371
8373
|
},
|
|
8372
8374
|
periodOfValidityMs: settings.periodOfValidityMs,
|
|
8373
8375
|
},
|
|
@@ -8376,6 +8378,7 @@ const createCashout = async (props) => {
|
|
|
8376
8378
|
expiresAt: +new Date(bonus.expiresAt),
|
|
8377
8379
|
usedAt: +new Date(bonus.usedAt),
|
|
8378
8380
|
createdAt: +new Date(bonus.createdAt),
|
|
8381
|
+
publicCustomData: bonus.publicCustomData,
|
|
8379
8382
|
});
|
|
8380
8383
|
}
|
|
8381
8384
|
return acc;
|
|
@@ -8427,6 +8430,7 @@ const createCashout = async (props) => {
|
|
|
8427
8430
|
},
|
|
8428
8431
|
eventRestriction: {
|
|
8429
8432
|
state: settings.eventRestriction.eventStatus === 'All' ? undefined : settings.eventRestriction.eventStatus,
|
|
8433
|
+
eventFilter: settings.eventRestriction.eventFilter,
|
|
8430
8434
|
},
|
|
8431
8435
|
periodOfValidityMs: settings.periodOfValidityMs,
|
|
8432
8436
|
},
|
|
@@ -8435,6 +8439,7 @@ const createCashout = async (props) => {
|
|
|
8435
8439
|
expiresAt: +new Date(bonus.expiresAt),
|
|
8436
8440
|
usedAt: +new Date(bonus.usedAt),
|
|
8437
8441
|
createdAt: +new Date(bonus.createdAt),
|
|
8442
|
+
publicCustomData: bonus.publicCustomData,
|
|
8438
8443
|
};
|
|
8439
8444
|
});
|
|
8440
8445
|
};export{Aggregation_Interval,BET_DATA_TYPES,ConditionStatus as BetConditionStatus,BetFragmentDoc,BetRestrictionType,BetResult,BetState,BetStatus,V3_Bet_OrderBy as Bet_OrderBy,BetsDocument,BettorFragmentDoc,BettorsDocument,BonusStatus,BonusType,CASHOUT_DATA_TYPES,CASHOUT_TYPED_DATA_DOMAIN_NAME,CASHOUT_TYPED_DATA_DOMAIN_VERSION,CLIENT_DATA_TYPES,COMBO_BET_DATA_TYPES,CashoutState,ConditionDocument,ConditionFragmentDoc,ConditionState,Condition_OrderBy,ConditionsBatchDocument,ConditionsDocument,Country_OrderBy,Environment,EventName,EventRestrictionState,Event_OrderBy,FreebetType,GameBetsDocument,GameDocument,GameInfoFragmentDoc,GameState,Game_OrderBy,GamesDocument,BetStatus$1 as GraphBetStatus,League_OrderBy,LegacyBetsDocument,GameStatus as LegacyGameStatus,LegacyLiveBetFragmentDoc,LegacyLiveGamesDocument,LegacyPrematchBetFragmentDoc,Bet_OrderBy as Legacy_Bet_OrderBy,NavigationDocument,ODDS_DECIMALS,OrderDirection,OutcomeResult,Outcome_OrderBy,Participant_OrderBy,V3_SelectionConditionKind as SelectionKind,SelectionResult,SportHub_OrderBy,Sport_OrderBy,SportsDocument,SportsNavigationDocument,TYPED_DATA_DOMAIN_NAME,TYPED_DATA_DOMAIN_VERSION,VirtualCondition_OrderBy,VirtualGame_OrderBy,WaveLevelName,_SubgraphErrorPolicy_,activateWave,azuroBetAbi,baseData,baseSepoliaData,calcMindOdds,cashoutAbi,chainsData,chainsDataByEnv,chilizData,coreAbi,createBet,createCashout,createComboBet,environments,getApiEndpoint,getAvailableFreebets,getBet,getBetFee,getBetStatus,getBetTypedData,getBetsGraphqlEndpoint,getBonuses,getCalculatedCashout,getCashout,getCashoutTypedData,getComboBetTypedData,getFeedGraphqlEndpoint,getIsPendingResolution,getMaxBet,getPrecalculatedCashouts,getProviderFromId,getSocketEndpoint,getWaveLeaderBoard,getWaveLevels,getWavePeriods,getWaveStats,gnosisData,gnosisDevData,groupConditionsByMarket,lpAbi,paymasterAbi,polygonAmoyData,polygonData,relayerAbi,setupContracts,spicyData,vaultAbi};//# sourceMappingURL=index.js.map
|
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
|
};
|
|
@@ -30,6 +44,7 @@ export type RawBonus = {
|
|
|
30
44
|
expiresAt: string;
|
|
31
45
|
usedAt: string;
|
|
32
46
|
createdAt: string;
|
|
47
|
+
publicCustomData: Record<string, string> | null;
|
|
33
48
|
};
|
|
34
49
|
export type GetBonuses = Bonus[] | null;
|
|
35
50
|
type Props = {
|
package/package.json
CHANGED