@azuro-org/toolkit 5.0.0-beta.1 → 5.0.0-beta.3
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/abis/Cashout.d.ts +1 -1
- package/dist/abis/Core.d.ts +5 -13
- package/dist/abis/LP.d.ts +1 -1
- package/dist/abis/Relayer.d.ts +3 -3
- package/dist/docs/bets/gameBets.d.ts +24 -0
- package/dist/docs/bets/{legacyPrematchBets.d.ts → legacyBets.d.ts} +48 -3
- package/dist/docs/bets/types.d.ts +20 -20
- package/dist/docs/feed/sports.d.ts +1 -0
- package/dist/docs/feed/types.d.ts +26 -117
- package/dist/docs/index.d.ts +2 -2
- package/dist/docs/legacy-live-feed/games.d.ts +41 -0
- package/dist/docs/legacy-live-feed/types.d.ts +1912 -0
- package/dist/global.d.ts +4 -0
- package/dist/index.js +128 -75
- package/dist/utils/getEndpoints.d.ts +4 -0
- package/package.json +1 -1
- package/dist/docs/bets/fragments/mainGameInfo.d.ts +0 -31
- package/dist/docs/bets/legacyLiveBets.d.ts +0 -57
package/dist/abis/Cashout.d.ts
CHANGED
package/dist/abis/Core.d.ts
CHANGED
|
@@ -134,14 +134,6 @@ declare const _default: readonly [{
|
|
|
134
134
|
readonly inputs: readonly [];
|
|
135
135
|
readonly name: "OddsTooSmall";
|
|
136
136
|
readonly type: "error";
|
|
137
|
-
}, {
|
|
138
|
-
readonly inputs: readonly [{
|
|
139
|
-
readonly internalType: "uint256";
|
|
140
|
-
readonly name: "conditionId";
|
|
141
|
-
readonly type: "uint256";
|
|
142
|
-
}];
|
|
143
|
-
readonly name: "OneOfConditionsInComboNotFinished";
|
|
144
|
-
readonly type: "error";
|
|
145
137
|
}, {
|
|
146
138
|
readonly inputs: readonly [];
|
|
147
139
|
readonly name: "OnlyLp";
|
|
@@ -172,7 +164,7 @@ declare const _default: readonly [{
|
|
|
172
164
|
readonly type: "error";
|
|
173
165
|
}, {
|
|
174
166
|
readonly inputs: readonly [];
|
|
175
|
-
readonly name: "
|
|
167
|
+
readonly name: "PotentialLossLimit";
|
|
176
168
|
readonly type: "error";
|
|
177
169
|
}, {
|
|
178
170
|
readonly inputs: readonly [{
|
|
@@ -352,7 +344,7 @@ declare const _default: readonly [{
|
|
|
352
344
|
}, {
|
|
353
345
|
readonly indexed: false;
|
|
354
346
|
readonly internalType: "uint128";
|
|
355
|
-
readonly name: "
|
|
347
|
+
readonly name: "potentialLossLimit";
|
|
356
348
|
readonly type: "uint128";
|
|
357
349
|
}];
|
|
358
350
|
readonly name: "NewLiveBet";
|
|
@@ -527,7 +519,7 @@ declare const _default: readonly [{
|
|
|
527
519
|
readonly type: "uint128[]";
|
|
528
520
|
}, {
|
|
529
521
|
readonly internalType: "uint128";
|
|
530
|
-
readonly name: "
|
|
522
|
+
readonly name: "potentialLossLimit";
|
|
531
523
|
readonly type: "uint128";
|
|
532
524
|
}, {
|
|
533
525
|
readonly internalType: "uint8";
|
|
@@ -680,7 +672,7 @@ declare const _default: readonly [{
|
|
|
680
672
|
readonly type: "uint128[]";
|
|
681
673
|
}, {
|
|
682
674
|
readonly internalType: "uint128";
|
|
683
|
-
readonly name: "
|
|
675
|
+
readonly name: "potentialLossLimit";
|
|
684
676
|
readonly type: "uint128";
|
|
685
677
|
}, {
|
|
686
678
|
readonly internalType: "uint8";
|
|
@@ -854,7 +846,7 @@ declare const _default: readonly [{
|
|
|
854
846
|
readonly type: "uint128[]";
|
|
855
847
|
}, {
|
|
856
848
|
readonly internalType: "uint128";
|
|
857
|
-
readonly name: "
|
|
849
|
+
readonly name: "potentialLossLimit";
|
|
858
850
|
readonly type: "uint128";
|
|
859
851
|
}, {
|
|
860
852
|
readonly internalType: "uint8";
|
package/dist/abis/LP.d.ts
CHANGED
|
@@ -453,7 +453,7 @@ declare const _default: readonly [{
|
|
|
453
453
|
readonly type: "uint128[]";
|
|
454
454
|
}, {
|
|
455
455
|
readonly internalType: "uint128";
|
|
456
|
-
readonly name: "
|
|
456
|
+
readonly name: "potentialLossLimit";
|
|
457
457
|
readonly type: "uint128";
|
|
458
458
|
}, {
|
|
459
459
|
readonly internalType: "uint8";
|
package/dist/abis/Relayer.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ declare const _default: readonly [{
|
|
|
135
135
|
readonly type: "uint128[]";
|
|
136
136
|
}, {
|
|
137
137
|
readonly internalType: "uint128";
|
|
138
|
-
readonly name: "
|
|
138
|
+
readonly name: "potentialLossLimit";
|
|
139
139
|
readonly type: "uint128";
|
|
140
140
|
}, {
|
|
141
141
|
readonly internalType: "uint8";
|
|
@@ -203,7 +203,7 @@ declare const _default: readonly [{
|
|
|
203
203
|
readonly type: "uint128[]";
|
|
204
204
|
}, {
|
|
205
205
|
readonly internalType: "uint128";
|
|
206
|
-
readonly name: "
|
|
206
|
+
readonly name: "potentialLossLimit";
|
|
207
207
|
readonly type: "uint128";
|
|
208
208
|
}, {
|
|
209
209
|
readonly internalType: "uint8";
|
|
@@ -300,7 +300,7 @@ declare const _default: readonly [{
|
|
|
300
300
|
readonly type: "uint128[]";
|
|
301
301
|
}, {
|
|
302
302
|
readonly internalType: "uint128";
|
|
303
|
-
readonly name: "
|
|
303
|
+
readonly name: "potentialLossLimit";
|
|
304
304
|
readonly type: "uint128";
|
|
305
305
|
}, {
|
|
306
306
|
readonly internalType: "uint8";
|
|
@@ -50,5 +50,29 @@ export type GameBetsQuery = {
|
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
52
|
}>;
|
|
53
|
+
v3Bets: Array<{
|
|
54
|
+
__typename?: 'V3_Bet';
|
|
55
|
+
rawAmount: string;
|
|
56
|
+
rawPotentialPayout: string;
|
|
57
|
+
result?: Types.BetResult | null;
|
|
58
|
+
isCashedOut: boolean;
|
|
59
|
+
selections: Array<{
|
|
60
|
+
__typename?: 'V3_Selection';
|
|
61
|
+
rawOdds: string;
|
|
62
|
+
outcome: {
|
|
63
|
+
__typename?: 'V3_Outcome';
|
|
64
|
+
outcomeId: string;
|
|
65
|
+
condition: {
|
|
66
|
+
__typename?: 'V3_Condition';
|
|
67
|
+
conditionId: string;
|
|
68
|
+
gameId: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
}>;
|
|
72
|
+
freebet?: {
|
|
73
|
+
__typename?: 'Freebet';
|
|
74
|
+
id: string;
|
|
75
|
+
} | null;
|
|
76
|
+
}>;
|
|
53
77
|
};
|
|
54
78
|
export declare const GameBetsDocument: import("graphql/language/ast").DocumentNode;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Types from './types';
|
|
2
|
-
export type
|
|
2
|
+
export type LegacyBetsQueryVariables = Types.Exact<{
|
|
3
3
|
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
4
4
|
skip?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
5
5
|
where: Types.Bet_Filter;
|
|
6
6
|
orderBy?: Types.InputMaybe<Types.Bet_OrderBy>;
|
|
7
7
|
orderDirection?: Types.InputMaybe<Types.OrderDirection>;
|
|
8
8
|
}>;
|
|
9
|
-
export type
|
|
9
|
+
export type LegacyBetsQuery = {
|
|
10
10
|
__typename?: 'Query';
|
|
11
11
|
bets: Array<{
|
|
12
12
|
__typename?: 'Bet';
|
|
@@ -88,5 +88,50 @@ export type LegacyPrematchBetsQuery = {
|
|
|
88
88
|
payout: string;
|
|
89
89
|
} | null;
|
|
90
90
|
}>;
|
|
91
|
+
liveBets: Array<{
|
|
92
|
+
__typename?: 'LiveBet';
|
|
93
|
+
id: string;
|
|
94
|
+
amount: string;
|
|
95
|
+
status: Types.BetStatus;
|
|
96
|
+
potentialPayout: string;
|
|
97
|
+
payout?: string | null;
|
|
98
|
+
result?: Types.BetResult | null;
|
|
99
|
+
odds: string;
|
|
100
|
+
settledOdds?: string | null;
|
|
101
|
+
affiliate?: string | null;
|
|
102
|
+
isRedeemed: boolean;
|
|
103
|
+
isRedeemable: boolean;
|
|
104
|
+
isCashedOut: boolean;
|
|
105
|
+
tokenId: string;
|
|
106
|
+
createdAt: string;
|
|
107
|
+
txHash: string;
|
|
108
|
+
core: {
|
|
109
|
+
__typename?: 'CoreContract';
|
|
110
|
+
address: string;
|
|
111
|
+
liquidityPool: {
|
|
112
|
+
__typename?: 'LiquidityPoolContract';
|
|
113
|
+
address: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
selections: Array<{
|
|
117
|
+
__typename?: 'LiveSelection';
|
|
118
|
+
odds: string;
|
|
119
|
+
result?: Types.SelectionResult | null;
|
|
120
|
+
outcome: {
|
|
121
|
+
__typename?: 'LiveOutcome';
|
|
122
|
+
outcomeId: string;
|
|
123
|
+
condition: {
|
|
124
|
+
__typename?: 'LiveCondition';
|
|
125
|
+
conditionId: string;
|
|
126
|
+
status: Types.ConditionStatus;
|
|
127
|
+
gameId: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
}>;
|
|
131
|
+
cashout?: {
|
|
132
|
+
__typename?: 'Cashout';
|
|
133
|
+
payout: string;
|
|
134
|
+
} | null;
|
|
135
|
+
}>;
|
|
91
136
|
};
|
|
92
|
-
export declare const
|
|
137
|
+
export declare const LegacyBetsDocument: import("graphql/language/ast").DocumentNode;
|
|
@@ -7578,12 +7578,12 @@ export type V3_Bet = {
|
|
|
7578
7578
|
odds: Scalars['BigDecimal']['output'];
|
|
7579
7579
|
owner: Scalars['String']['output'];
|
|
7580
7580
|
payout?: Maybe<Scalars['BigDecimal']['output']>;
|
|
7581
|
-
|
|
7581
|
+
potentialLossLimit: Scalars['BigDecimal']['output'];
|
|
7582
7582
|
potentialPayout: Scalars['BigDecimal']['output'];
|
|
7583
7583
|
rawAmount: Scalars['BigInt']['output'];
|
|
7584
7584
|
rawOdds: Scalars['BigInt']['output'];
|
|
7585
7585
|
rawPayout?: Maybe<Scalars['BigInt']['output']>;
|
|
7586
|
-
|
|
7586
|
+
rawPotentialLossLimit: Scalars['BigInt']['output'];
|
|
7587
7587
|
rawPotentialPayout: Scalars['BigInt']['output'];
|
|
7588
7588
|
rawSettledOdds?: Maybe<Scalars['BigInt']['output']>;
|
|
7589
7589
|
redeemedBlockNumber?: Maybe<Scalars['BigInt']['output']>;
|
|
@@ -7928,14 +7928,6 @@ export type V3_Bet_Filter = {
|
|
|
7928
7928
|
owner_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
7929
7929
|
owner_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
7930
7930
|
payout?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7931
|
-
payoutLimit?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7932
|
-
payoutLimit_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7933
|
-
payoutLimit_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7934
|
-
payoutLimit_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
7935
|
-
payoutLimit_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7936
|
-
payoutLimit_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7937
|
-
payoutLimit_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7938
|
-
payoutLimit_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
7939
7931
|
payout_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7940
7932
|
payout_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7941
7933
|
payout_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
@@ -7943,6 +7935,14 @@ export type V3_Bet_Filter = {
|
|
|
7943
7935
|
payout_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7944
7936
|
payout_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7945
7937
|
payout_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
7938
|
+
potentialLossLimit?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7939
|
+
potentialLossLimit_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7940
|
+
potentialLossLimit_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7941
|
+
potentialLossLimit_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
7942
|
+
potentialLossLimit_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7943
|
+
potentialLossLimit_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7944
|
+
potentialLossLimit_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7945
|
+
potentialLossLimit_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
7946
7946
|
potentialPayout?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7947
7947
|
potentialPayout_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
7948
7948
|
potentialPayout_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
@@ -7968,14 +7968,6 @@ export type V3_Bet_Filter = {
|
|
|
7968
7968
|
rawOdds_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7969
7969
|
rawOdds_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7970
7970
|
rawPayout?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7971
|
-
rawPayoutLimit?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7972
|
-
rawPayoutLimit_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7973
|
-
rawPayoutLimit_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7974
|
-
rawPayoutLimit_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7975
|
-
rawPayoutLimit_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7976
|
-
rawPayoutLimit_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7977
|
-
rawPayoutLimit_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7978
|
-
rawPayoutLimit_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7979
7971
|
rawPayout_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7980
7972
|
rawPayout_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7981
7973
|
rawPayout_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
@@ -7983,6 +7975,14 @@ export type V3_Bet_Filter = {
|
|
|
7983
7975
|
rawPayout_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7984
7976
|
rawPayout_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7985
7977
|
rawPayout_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7978
|
+
rawPotentialLossLimit?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7979
|
+
rawPotentialLossLimit_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7980
|
+
rawPotentialLossLimit_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7981
|
+
rawPotentialLossLimit_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7982
|
+
rawPotentialLossLimit_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7983
|
+
rawPotentialLossLimit_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7984
|
+
rawPotentialLossLimit_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7985
|
+
rawPotentialLossLimit_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
7986
7986
|
rawPotentialPayout?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7987
7987
|
rawPotentialPayout_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
7988
7988
|
rawPotentialPayout_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -8124,12 +8124,12 @@ export declare enum V3_Bet_OrderBy {
|
|
|
8124
8124
|
Odds = "odds",
|
|
8125
8125
|
Owner = "owner",
|
|
8126
8126
|
Payout = "payout",
|
|
8127
|
-
|
|
8127
|
+
PotentialLossLimit = "potentialLossLimit",
|
|
8128
8128
|
PotentialPayout = "potentialPayout",
|
|
8129
8129
|
RawAmount = "rawAmount",
|
|
8130
8130
|
RawOdds = "rawOdds",
|
|
8131
8131
|
RawPayout = "rawPayout",
|
|
8132
|
-
|
|
8132
|
+
RawPotentialLossLimit = "rawPotentialLossLimit",
|
|
8133
8133
|
RawPotentialPayout = "rawPotentialPayout",
|
|
8134
8134
|
RawSettledOdds = "rawSettledOdds",
|
|
8135
8135
|
RedeemedBlockNumber = "redeemedBlockNumber",
|
|
@@ -76,6 +76,9 @@ export type Block_Height = {
|
|
|
76
76
|
};
|
|
77
77
|
export type Condition = {
|
|
78
78
|
__typename?: 'Condition';
|
|
79
|
+
_isCustomSettings: Scalars['Boolean']['output'];
|
|
80
|
+
_maxLiveConditionPotentialLoss?: Maybe<Scalars['BigDecimal']['output']>;
|
|
81
|
+
_maxLiveOutcomePotentialLoss?: Maybe<Scalars['BigDecimal']['output']>;
|
|
79
82
|
_updatedAt: Scalars['BigInt']['output'];
|
|
80
83
|
conditionId: Scalars['BigInt']['output'];
|
|
81
84
|
createdBlockNumber: Scalars['BigInt']['output'];
|
|
@@ -129,6 +132,26 @@ export declare enum ConditionState {
|
|
|
129
132
|
export type Condition_Filter = {
|
|
130
133
|
/** Filter for the block changed event. */
|
|
131
134
|
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
135
|
+
_isCustomSettings?: InputMaybe<Scalars['Boolean']['input']>;
|
|
136
|
+
_isCustomSettings_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
137
|
+
_isCustomSettings_not?: InputMaybe<Scalars['Boolean']['input']>;
|
|
138
|
+
_isCustomSettings_not_in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
|
|
139
|
+
_maxLiveConditionPotentialLoss?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
140
|
+
_maxLiveConditionPotentialLoss_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
141
|
+
_maxLiveConditionPotentialLoss_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
142
|
+
_maxLiveConditionPotentialLoss_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
143
|
+
_maxLiveConditionPotentialLoss_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
144
|
+
_maxLiveConditionPotentialLoss_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
145
|
+
_maxLiveConditionPotentialLoss_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
146
|
+
_maxLiveConditionPotentialLoss_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
147
|
+
_maxLiveOutcomePotentialLoss?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
148
|
+
_maxLiveOutcomePotentialLoss_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
149
|
+
_maxLiveOutcomePotentialLoss_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
150
|
+
_maxLiveOutcomePotentialLoss_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
151
|
+
_maxLiveOutcomePotentialLoss_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
152
|
+
_maxLiveOutcomePotentialLoss_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
153
|
+
_maxLiveOutcomePotentialLoss_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
154
|
+
_maxLiveOutcomePotentialLoss_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
132
155
|
_updatedAt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
133
156
|
_updatedAt_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
134
157
|
_updatedAt_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
@@ -358,6 +381,9 @@ export type Condition_Filter = {
|
|
|
358
381
|
wonOutcomes_not_contains_nocase?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
359
382
|
};
|
|
360
383
|
export declare enum Condition_OrderBy {
|
|
384
|
+
IsCustomSettings = "_isCustomSettings",
|
|
385
|
+
MaxLiveConditionPotentialLoss = "_maxLiveConditionPotentialLoss",
|
|
386
|
+
MaxLiveOutcomePotentialLoss = "_maxLiveOutcomePotentialLoss",
|
|
361
387
|
UpdatedAt = "_updatedAt",
|
|
362
388
|
ConditionId = "conditionId",
|
|
363
389
|
CreatedBlockNumber = "createdBlockNumber",
|
|
@@ -1253,91 +1279,6 @@ export declare enum League_OrderBy {
|
|
|
1253
1279
|
TotalTurnover = "totalTurnover",
|
|
1254
1280
|
Turnover = "turnover"
|
|
1255
1281
|
}
|
|
1256
|
-
export type OffchainEvent = {
|
|
1257
|
-
__typename?: 'OffchainEvent';
|
|
1258
|
-
block: Scalars['BigInt']['output'];
|
|
1259
|
-
data: Scalars['String']['output'];
|
|
1260
|
-
id: Scalars['ID']['output'];
|
|
1261
|
-
name?: Maybe<Scalars['String']['output']>;
|
|
1262
|
-
timestamp: Scalars['BigInt']['output'];
|
|
1263
|
-
};
|
|
1264
|
-
export type OffchainEvent_Filter = {
|
|
1265
|
-
/** Filter for the block changed event. */
|
|
1266
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1267
|
-
and?: InputMaybe<Array<InputMaybe<OffchainEvent_Filter>>>;
|
|
1268
|
-
block?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1269
|
-
block_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1270
|
-
block_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1271
|
-
block_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1272
|
-
block_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1273
|
-
block_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1274
|
-
block_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1275
|
-
block_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1276
|
-
data?: InputMaybe<Scalars['String']['input']>;
|
|
1277
|
-
data_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1278
|
-
data_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1279
|
-
data_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1280
|
-
data_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1281
|
-
data_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1282
|
-
data_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1283
|
-
data_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1284
|
-
data_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1285
|
-
data_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1286
|
-
data_not?: InputMaybe<Scalars['String']['input']>;
|
|
1287
|
-
data_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1288
|
-
data_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1289
|
-
data_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1290
|
-
data_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1291
|
-
data_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1292
|
-
data_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1293
|
-
data_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1294
|
-
data_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1295
|
-
data_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1296
|
-
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1297
|
-
id_gt?: InputMaybe<Scalars['ID']['input']>;
|
|
1298
|
-
id_gte?: InputMaybe<Scalars['ID']['input']>;
|
|
1299
|
-
id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1300
|
-
id_lt?: InputMaybe<Scalars['ID']['input']>;
|
|
1301
|
-
id_lte?: InputMaybe<Scalars['ID']['input']>;
|
|
1302
|
-
id_not?: InputMaybe<Scalars['ID']['input']>;
|
|
1303
|
-
id_not_in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1304
|
-
name?: InputMaybe<Scalars['String']['input']>;
|
|
1305
|
-
name_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1306
|
-
name_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1307
|
-
name_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1308
|
-
name_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1309
|
-
name_gt?: InputMaybe<Scalars['String']['input']>;
|
|
1310
|
-
name_gte?: InputMaybe<Scalars['String']['input']>;
|
|
1311
|
-
name_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1312
|
-
name_lt?: InputMaybe<Scalars['String']['input']>;
|
|
1313
|
-
name_lte?: InputMaybe<Scalars['String']['input']>;
|
|
1314
|
-
name_not?: InputMaybe<Scalars['String']['input']>;
|
|
1315
|
-
name_not_contains?: InputMaybe<Scalars['String']['input']>;
|
|
1316
|
-
name_not_contains_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1317
|
-
name_not_ends_with?: InputMaybe<Scalars['String']['input']>;
|
|
1318
|
-
name_not_ends_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1319
|
-
name_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1320
|
-
name_not_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1321
|
-
name_not_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1322
|
-
name_starts_with?: InputMaybe<Scalars['String']['input']>;
|
|
1323
|
-
name_starts_with_nocase?: InputMaybe<Scalars['String']['input']>;
|
|
1324
|
-
or?: InputMaybe<Array<InputMaybe<OffchainEvent_Filter>>>;
|
|
1325
|
-
timestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1326
|
-
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1327
|
-
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1328
|
-
timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1329
|
-
timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1330
|
-
timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1331
|
-
timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
1332
|
-
timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
1333
|
-
};
|
|
1334
|
-
export declare enum OffchainEvent_OrderBy {
|
|
1335
|
-
Block = "block",
|
|
1336
|
-
Data = "data",
|
|
1337
|
-
Id = "id",
|
|
1338
|
-
Name = "name",
|
|
1339
|
-
Timestamp = "timestamp"
|
|
1340
|
-
}
|
|
1341
1282
|
/** Defines the order direction, either ascending or descending */
|
|
1342
1283
|
export declare enum OrderDirection {
|
|
1343
1284
|
Asc = "asc",
|
|
@@ -1623,8 +1564,6 @@ export type Query = {
|
|
|
1623
1564
|
games: Array<Game>;
|
|
1624
1565
|
league?: Maybe<League>;
|
|
1625
1566
|
leagues: Array<League>;
|
|
1626
|
-
offchainEvent?: Maybe<OffchainEvent>;
|
|
1627
|
-
offchainEvents: Array<OffchainEvent>;
|
|
1628
1567
|
outcome?: Maybe<Outcome>;
|
|
1629
1568
|
outcomes: Array<Outcome>;
|
|
1630
1569
|
participant?: Maybe<Participant>;
|
|
@@ -1711,20 +1650,6 @@ export type QueryLeaguesArgs = {
|
|
|
1711
1650
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
1712
1651
|
where?: InputMaybe<League_Filter>;
|
|
1713
1652
|
};
|
|
1714
|
-
export type QueryOffchainEventArgs = {
|
|
1715
|
-
block?: InputMaybe<Block_Height>;
|
|
1716
|
-
id: Scalars['ID']['input'];
|
|
1717
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1718
|
-
};
|
|
1719
|
-
export type QueryOffchainEventsArgs = {
|
|
1720
|
-
block?: InputMaybe<Block_Height>;
|
|
1721
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1722
|
-
orderBy?: InputMaybe<OffchainEvent_OrderBy>;
|
|
1723
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
1724
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1725
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1726
|
-
where?: InputMaybe<OffchainEvent_Filter>;
|
|
1727
|
-
};
|
|
1728
1653
|
export type QueryOutcomeArgs = {
|
|
1729
1654
|
block?: InputMaybe<Block_Height>;
|
|
1730
1655
|
id: Scalars['ID']['input'];
|
|
@@ -2156,8 +2081,6 @@ export type Subscription = {
|
|
|
2156
2081
|
games: Array<Game>;
|
|
2157
2082
|
league?: Maybe<League>;
|
|
2158
2083
|
leagues: Array<League>;
|
|
2159
|
-
offchainEvent?: Maybe<OffchainEvent>;
|
|
2160
|
-
offchainEvents: Array<OffchainEvent>;
|
|
2161
2084
|
outcome?: Maybe<Outcome>;
|
|
2162
2085
|
outcomes: Array<Outcome>;
|
|
2163
2086
|
participant?: Maybe<Participant>;
|
|
@@ -2244,20 +2167,6 @@ export type SubscriptionLeaguesArgs = {
|
|
|
2244
2167
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
2245
2168
|
where?: InputMaybe<League_Filter>;
|
|
2246
2169
|
};
|
|
2247
|
-
export type SubscriptionOffchainEventArgs = {
|
|
2248
|
-
block?: InputMaybe<Block_Height>;
|
|
2249
|
-
id: Scalars['ID']['input'];
|
|
2250
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
2251
|
-
};
|
|
2252
|
-
export type SubscriptionOffchainEventsArgs = {
|
|
2253
|
-
block?: InputMaybe<Block_Height>;
|
|
2254
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2255
|
-
orderBy?: InputMaybe<OffchainEvent_OrderBy>;
|
|
2256
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
2257
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2258
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
2259
|
-
where?: InputMaybe<OffchainEvent_Filter>;
|
|
2260
|
-
};
|
|
2261
2170
|
export type SubscriptionOutcomeArgs = {
|
|
2262
2171
|
block?: InputMaybe<Block_Height>;
|
|
2263
2172
|
id: Scalars['ID']['input'];
|
package/dist/docs/index.d.ts
CHANGED
|
@@ -3,8 +3,7 @@ export * from './bets/fragments/legacyLiveBet';
|
|
|
3
3
|
export * from './bets/fragments/legacyPrematchBet';
|
|
4
4
|
export * from './bets/fragments/bet';
|
|
5
5
|
export * from './bets/bettors';
|
|
6
|
-
export * from './bets/
|
|
7
|
-
export * from './bets/legacyPrematchBets';
|
|
6
|
+
export * from './bets/legacyBets';
|
|
8
7
|
export * from './bets/gameBets';
|
|
9
8
|
export * from './bets/bets';
|
|
10
9
|
export * from './feed/fragments/condition';
|
|
@@ -17,5 +16,6 @@ export * from './feed/games';
|
|
|
17
16
|
export * from './feed/navigation';
|
|
18
17
|
export * from './feed/sports';
|
|
19
18
|
export * from './feed/sportsNavigation';
|
|
19
|
+
export * from './legacy-live-feed/games';
|
|
20
20
|
export { BetResult, Bet_OrderBy as Legacy_Bet_OrderBy, GameStatus as LegacyGameStatus, SelectionResult, BetStatus as GraphBetStatus, V3_Bet_OrderBy as Bet_OrderBy, ConditionStatus as BetConditionStatus, } from './bets/types';
|
|
21
21
|
export { type Condition_Filter, Game_OrderBy, ConditionState, OrderDirection, GameState, Condition_OrderBy, } from './feed/types';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as Types from './types';
|
|
2
|
+
export type LegacyLiveGamesQueryVariables = Types.Exact<{
|
|
3
|
+
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
4
|
+
skip?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
5
|
+
where: Types.Game_Filter;
|
|
6
|
+
orderBy?: Types.InputMaybe<Types.Game_OrderBy>;
|
|
7
|
+
orderDirection?: Types.InputMaybe<Types.OrderDirection>;
|
|
8
|
+
}>;
|
|
9
|
+
export type LegacyLiveGamesQuery = {
|
|
10
|
+
__typename?: 'Query';
|
|
11
|
+
games: Array<{
|
|
12
|
+
__typename?: 'Game';
|
|
13
|
+
id: string;
|
|
14
|
+
gameId: string;
|
|
15
|
+
title?: string | null;
|
|
16
|
+
startsAt: string;
|
|
17
|
+
status: Types.GameStatus;
|
|
18
|
+
sport: {
|
|
19
|
+
__typename?: 'Sport';
|
|
20
|
+
sportId: string;
|
|
21
|
+
slug: string;
|
|
22
|
+
name: string;
|
|
23
|
+
};
|
|
24
|
+
league: {
|
|
25
|
+
__typename?: 'League';
|
|
26
|
+
slug: string;
|
|
27
|
+
name: string;
|
|
28
|
+
country: {
|
|
29
|
+
__typename?: 'Country';
|
|
30
|
+
slug: string;
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
participants: Array<{
|
|
35
|
+
__typename?: 'Participant';
|
|
36
|
+
image?: string | null;
|
|
37
|
+
name: string;
|
|
38
|
+
}>;
|
|
39
|
+
}>;
|
|
40
|
+
};
|
|
41
|
+
export declare const LegacyLiveGamesDocument: import("graphql/language/ast").DocumentNode;
|