@azuro-org/toolkit 6.0.0-beta.6 → 6.0.0-beta.8
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/bets/types.d.ts +0 -585
- package/dist/docs/legacy-live-feed/types.d.ts +0 -153
- package/dist/global.d.ts +13 -2
- package/dist/index.js +18 -5
- package/dist/index.js.map +1 -1
- package/dist/utils/bet/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -6994,590 +6994,6 @@ export declare enum Sport_OrderBy {
|
|
|
6994
6994
|
SportId = "sportId",
|
|
6995
6995
|
Sporthub = "sporthub"
|
|
6996
6996
|
}
|
|
6997
|
-
export type Subscription = {
|
|
6998
|
-
__typename?: 'Subscription';
|
|
6999
|
-
/** Access to subgraph metadata */
|
|
7000
|
-
_meta?: Maybe<_Meta_>;
|
|
7001
|
-
affiliateMonthlies: Array<AffiliateMonthly>;
|
|
7002
|
-
affiliateMonthly?: Maybe<AffiliateMonthly>;
|
|
7003
|
-
azuroBetContract?: Maybe<AzuroBetContract>;
|
|
7004
|
-
azuroBetContracts: Array<AzuroBetContract>;
|
|
7005
|
-
bet?: Maybe<Bet>;
|
|
7006
|
-
betMargin?: Maybe<BetMargin>;
|
|
7007
|
-
betMargins: Array<BetMargin>;
|
|
7008
|
-
bets: Array<Bet>;
|
|
7009
|
-
bettor?: Maybe<Bettor>;
|
|
7010
|
-
bettors: Array<Bettor>;
|
|
7011
|
-
cashback?: Maybe<Cashback>;
|
|
7012
|
-
cashbackContract?: Maybe<CashbackContract>;
|
|
7013
|
-
cashbackContracts: Array<CashbackContract>;
|
|
7014
|
-
cashbacks: Array<Cashback>;
|
|
7015
|
-
cashout?: Maybe<Cashout>;
|
|
7016
|
-
cashouts: Array<Cashout>;
|
|
7017
|
-
condition?: Maybe<Condition>;
|
|
7018
|
-
conditionLog?: Maybe<ConditionLog>;
|
|
7019
|
-
conditionLogs: Array<ConditionLog>;
|
|
7020
|
-
conditions: Array<Condition>;
|
|
7021
|
-
coreContract?: Maybe<CoreContract>;
|
|
7022
|
-
coreContracts: Array<CoreContract>;
|
|
7023
|
-
countries: Array<Country>;
|
|
7024
|
-
country?: Maybe<Country>;
|
|
7025
|
-
event?: Maybe<Event>;
|
|
7026
|
-
events: Array<Event>;
|
|
7027
|
-
expressPrematchRelation?: Maybe<ExpressPrematchRelation>;
|
|
7028
|
-
expressPrematchRelations: Array<ExpressPrematchRelation>;
|
|
7029
|
-
freebet?: Maybe<Freebet>;
|
|
7030
|
-
freebetContract?: Maybe<FreebetContract>;
|
|
7031
|
-
freebetContracts: Array<FreebetContract>;
|
|
7032
|
-
freebets: Array<Freebet>;
|
|
7033
|
-
game?: Maybe<Game>;
|
|
7034
|
-
games: Array<Game>;
|
|
7035
|
-
league?: Maybe<League>;
|
|
7036
|
-
leagues: Array<League>;
|
|
7037
|
-
liquidityPoolContract?: Maybe<LiquidityPoolContract>;
|
|
7038
|
-
liquidityPoolContracts: Array<LiquidityPoolContract>;
|
|
7039
|
-
liquidityPoolNft?: Maybe<LiquidityPoolNft>;
|
|
7040
|
-
liquidityPoolNfts: Array<LiquidityPoolNft>;
|
|
7041
|
-
liquidityPoolTransaction?: Maybe<LiquidityPoolTransaction>;
|
|
7042
|
-
liquidityPoolTransactions: Array<LiquidityPoolTransaction>;
|
|
7043
|
-
liveBet?: Maybe<LiveBet>;
|
|
7044
|
-
liveBets: Array<LiveBet>;
|
|
7045
|
-
liveCondition?: Maybe<LiveCondition>;
|
|
7046
|
-
liveConditions: Array<LiveCondition>;
|
|
7047
|
-
liveOutcome?: Maybe<LiveOutcome>;
|
|
7048
|
-
liveOutcomes: Array<LiveOutcome>;
|
|
7049
|
-
liveSelection?: Maybe<LiveSelection>;
|
|
7050
|
-
liveSelections: Array<LiveSelection>;
|
|
7051
|
-
outcome?: Maybe<Outcome>;
|
|
7052
|
-
outcomes: Array<Outcome>;
|
|
7053
|
-
outcomesKeyConditionRelation?: Maybe<OutcomesKeyConditionRelation>;
|
|
7054
|
-
outcomesKeyConditionRelations: Array<OutcomesKeyConditionRelation>;
|
|
7055
|
-
participant?: Maybe<Participant>;
|
|
7056
|
-
participants: Array<Participant>;
|
|
7057
|
-
selection?: Maybe<Selection>;
|
|
7058
|
-
selections: Array<Selection>;
|
|
7059
|
-
sport?: Maybe<Sport>;
|
|
7060
|
-
sportHub?: Maybe<SportHub>;
|
|
7061
|
-
sportHubs: Array<SportHub>;
|
|
7062
|
-
sports: Array<Sport>;
|
|
7063
|
-
v3Bet?: Maybe<V3_Bet>;
|
|
7064
|
-
v3BetMetadata?: Maybe<V3_BetMetadata>;
|
|
7065
|
-
v3BetMetadata_collection: Array<V3_BetMetadata>;
|
|
7066
|
-
v3Bets: Array<V3_Bet>;
|
|
7067
|
-
v3Condition?: Maybe<V3_Condition>;
|
|
7068
|
-
v3Conditions: Array<V3_Condition>;
|
|
7069
|
-
v3Outcome?: Maybe<V3_Outcome>;
|
|
7070
|
-
v3Outcomes: Array<V3_Outcome>;
|
|
7071
|
-
v3Selection?: Maybe<V3_Selection>;
|
|
7072
|
-
v3Selections: Array<V3_Selection>;
|
|
7073
|
-
};
|
|
7074
|
-
export type Subscription_MetaArgs = {
|
|
7075
|
-
block?: InputMaybe<Block_Height>;
|
|
7076
|
-
};
|
|
7077
|
-
export type SubscriptionAffiliateMonthliesArgs = {
|
|
7078
|
-
block?: InputMaybe<Block_Height>;
|
|
7079
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7080
|
-
orderBy?: InputMaybe<AffiliateMonthly_OrderBy>;
|
|
7081
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7082
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7083
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7084
|
-
where?: InputMaybe<AffiliateMonthly_Filter>;
|
|
7085
|
-
};
|
|
7086
|
-
export type SubscriptionAffiliateMonthlyArgs = {
|
|
7087
|
-
block?: InputMaybe<Block_Height>;
|
|
7088
|
-
id: Scalars['ID']['input'];
|
|
7089
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7090
|
-
};
|
|
7091
|
-
export type SubscriptionAzuroBetContractArgs = {
|
|
7092
|
-
block?: InputMaybe<Block_Height>;
|
|
7093
|
-
id: Scalars['ID']['input'];
|
|
7094
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7095
|
-
};
|
|
7096
|
-
export type SubscriptionAzuroBetContractsArgs = {
|
|
7097
|
-
block?: InputMaybe<Block_Height>;
|
|
7098
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7099
|
-
orderBy?: InputMaybe<AzuroBetContract_OrderBy>;
|
|
7100
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7101
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7102
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7103
|
-
where?: InputMaybe<AzuroBetContract_Filter>;
|
|
7104
|
-
};
|
|
7105
|
-
export type SubscriptionBetArgs = {
|
|
7106
|
-
block?: InputMaybe<Block_Height>;
|
|
7107
|
-
id: Scalars['ID']['input'];
|
|
7108
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7109
|
-
};
|
|
7110
|
-
export type SubscriptionBetMarginArgs = {
|
|
7111
|
-
block?: InputMaybe<Block_Height>;
|
|
7112
|
-
id: Scalars['ID']['input'];
|
|
7113
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7114
|
-
};
|
|
7115
|
-
export type SubscriptionBetMarginsArgs = {
|
|
7116
|
-
block?: InputMaybe<Block_Height>;
|
|
7117
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7118
|
-
orderBy?: InputMaybe<BetMargin_OrderBy>;
|
|
7119
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7120
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7121
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7122
|
-
where?: InputMaybe<BetMargin_Filter>;
|
|
7123
|
-
};
|
|
7124
|
-
export type SubscriptionBetsArgs = {
|
|
7125
|
-
block?: InputMaybe<Block_Height>;
|
|
7126
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7127
|
-
orderBy?: InputMaybe<Bet_OrderBy>;
|
|
7128
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7129
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7130
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7131
|
-
where?: InputMaybe<Bet_Filter>;
|
|
7132
|
-
};
|
|
7133
|
-
export type SubscriptionBettorArgs = {
|
|
7134
|
-
block?: InputMaybe<Block_Height>;
|
|
7135
|
-
id: Scalars['ID']['input'];
|
|
7136
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7137
|
-
};
|
|
7138
|
-
export type SubscriptionBettorsArgs = {
|
|
7139
|
-
block?: InputMaybe<Block_Height>;
|
|
7140
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7141
|
-
orderBy?: InputMaybe<Bettor_OrderBy>;
|
|
7142
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7143
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7144
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7145
|
-
where?: InputMaybe<Bettor_Filter>;
|
|
7146
|
-
};
|
|
7147
|
-
export type SubscriptionCashbackArgs = {
|
|
7148
|
-
block?: InputMaybe<Block_Height>;
|
|
7149
|
-
id: Scalars['ID']['input'];
|
|
7150
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7151
|
-
};
|
|
7152
|
-
export type SubscriptionCashbackContractArgs = {
|
|
7153
|
-
block?: InputMaybe<Block_Height>;
|
|
7154
|
-
id: Scalars['ID']['input'];
|
|
7155
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7156
|
-
};
|
|
7157
|
-
export type SubscriptionCashbackContractsArgs = {
|
|
7158
|
-
block?: InputMaybe<Block_Height>;
|
|
7159
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7160
|
-
orderBy?: InputMaybe<CashbackContract_OrderBy>;
|
|
7161
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7162
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7163
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7164
|
-
where?: InputMaybe<CashbackContract_Filter>;
|
|
7165
|
-
};
|
|
7166
|
-
export type SubscriptionCashbacksArgs = {
|
|
7167
|
-
block?: InputMaybe<Block_Height>;
|
|
7168
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7169
|
-
orderBy?: InputMaybe<Cashback_OrderBy>;
|
|
7170
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7171
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7172
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7173
|
-
where?: InputMaybe<Cashback_Filter>;
|
|
7174
|
-
};
|
|
7175
|
-
export type SubscriptionCashoutArgs = {
|
|
7176
|
-
block?: InputMaybe<Block_Height>;
|
|
7177
|
-
id: Scalars['ID']['input'];
|
|
7178
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7179
|
-
};
|
|
7180
|
-
export type SubscriptionCashoutsArgs = {
|
|
7181
|
-
block?: InputMaybe<Block_Height>;
|
|
7182
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7183
|
-
orderBy?: InputMaybe<Cashout_OrderBy>;
|
|
7184
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7185
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7186
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7187
|
-
where?: InputMaybe<Cashout_Filter>;
|
|
7188
|
-
};
|
|
7189
|
-
export type SubscriptionConditionArgs = {
|
|
7190
|
-
block?: InputMaybe<Block_Height>;
|
|
7191
|
-
id: Scalars['ID']['input'];
|
|
7192
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7193
|
-
};
|
|
7194
|
-
export type SubscriptionConditionLogArgs = {
|
|
7195
|
-
block?: InputMaybe<Block_Height>;
|
|
7196
|
-
id: Scalars['ID']['input'];
|
|
7197
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7198
|
-
};
|
|
7199
|
-
export type SubscriptionConditionLogsArgs = {
|
|
7200
|
-
block?: InputMaybe<Block_Height>;
|
|
7201
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7202
|
-
orderBy?: InputMaybe<ConditionLog_OrderBy>;
|
|
7203
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7204
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7205
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7206
|
-
where?: InputMaybe<ConditionLog_Filter>;
|
|
7207
|
-
};
|
|
7208
|
-
export type SubscriptionConditionsArgs = {
|
|
7209
|
-
block?: InputMaybe<Block_Height>;
|
|
7210
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7211
|
-
orderBy?: InputMaybe<Condition_OrderBy>;
|
|
7212
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7213
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7214
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7215
|
-
where?: InputMaybe<Condition_Filter>;
|
|
7216
|
-
};
|
|
7217
|
-
export type SubscriptionCoreContractArgs = {
|
|
7218
|
-
block?: InputMaybe<Block_Height>;
|
|
7219
|
-
id: Scalars['ID']['input'];
|
|
7220
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7221
|
-
};
|
|
7222
|
-
export type SubscriptionCoreContractsArgs = {
|
|
7223
|
-
block?: InputMaybe<Block_Height>;
|
|
7224
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7225
|
-
orderBy?: InputMaybe<CoreContract_OrderBy>;
|
|
7226
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7227
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7228
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7229
|
-
where?: InputMaybe<CoreContract_Filter>;
|
|
7230
|
-
};
|
|
7231
|
-
export type SubscriptionCountriesArgs = {
|
|
7232
|
-
block?: InputMaybe<Block_Height>;
|
|
7233
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7234
|
-
orderBy?: InputMaybe<Country_OrderBy>;
|
|
7235
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7236
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7237
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7238
|
-
where?: InputMaybe<Country_Filter>;
|
|
7239
|
-
};
|
|
7240
|
-
export type SubscriptionCountryArgs = {
|
|
7241
|
-
block?: InputMaybe<Block_Height>;
|
|
7242
|
-
id: Scalars['ID']['input'];
|
|
7243
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7244
|
-
};
|
|
7245
|
-
export type SubscriptionEventArgs = {
|
|
7246
|
-
block?: InputMaybe<Block_Height>;
|
|
7247
|
-
id: Scalars['ID']['input'];
|
|
7248
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7249
|
-
};
|
|
7250
|
-
export type SubscriptionEventsArgs = {
|
|
7251
|
-
block?: InputMaybe<Block_Height>;
|
|
7252
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7253
|
-
orderBy?: InputMaybe<Event_OrderBy>;
|
|
7254
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7255
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7256
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7257
|
-
where?: InputMaybe<Event_Filter>;
|
|
7258
|
-
};
|
|
7259
|
-
export type SubscriptionExpressPrematchRelationArgs = {
|
|
7260
|
-
block?: InputMaybe<Block_Height>;
|
|
7261
|
-
id: Scalars['ID']['input'];
|
|
7262
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7263
|
-
};
|
|
7264
|
-
export type SubscriptionExpressPrematchRelationsArgs = {
|
|
7265
|
-
block?: InputMaybe<Block_Height>;
|
|
7266
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7267
|
-
orderBy?: InputMaybe<ExpressPrematchRelation_OrderBy>;
|
|
7268
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7269
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7270
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7271
|
-
where?: InputMaybe<ExpressPrematchRelation_Filter>;
|
|
7272
|
-
};
|
|
7273
|
-
export type SubscriptionFreebetArgs = {
|
|
7274
|
-
block?: InputMaybe<Block_Height>;
|
|
7275
|
-
id: Scalars['ID']['input'];
|
|
7276
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7277
|
-
};
|
|
7278
|
-
export type SubscriptionFreebetContractArgs = {
|
|
7279
|
-
block?: InputMaybe<Block_Height>;
|
|
7280
|
-
id: Scalars['ID']['input'];
|
|
7281
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7282
|
-
};
|
|
7283
|
-
export type SubscriptionFreebetContractsArgs = {
|
|
7284
|
-
block?: InputMaybe<Block_Height>;
|
|
7285
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7286
|
-
orderBy?: InputMaybe<FreebetContract_OrderBy>;
|
|
7287
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7288
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7289
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7290
|
-
where?: InputMaybe<FreebetContract_Filter>;
|
|
7291
|
-
};
|
|
7292
|
-
export type SubscriptionFreebetsArgs = {
|
|
7293
|
-
block?: InputMaybe<Block_Height>;
|
|
7294
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7295
|
-
orderBy?: InputMaybe<Freebet_OrderBy>;
|
|
7296
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7297
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7298
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7299
|
-
where?: InputMaybe<Freebet_Filter>;
|
|
7300
|
-
};
|
|
7301
|
-
export type SubscriptionGameArgs = {
|
|
7302
|
-
block?: InputMaybe<Block_Height>;
|
|
7303
|
-
id: Scalars['ID']['input'];
|
|
7304
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7305
|
-
};
|
|
7306
|
-
export type SubscriptionGamesArgs = {
|
|
7307
|
-
block?: InputMaybe<Block_Height>;
|
|
7308
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7309
|
-
orderBy?: InputMaybe<Game_OrderBy>;
|
|
7310
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7311
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7312
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7313
|
-
where?: InputMaybe<Game_Filter>;
|
|
7314
|
-
};
|
|
7315
|
-
export type SubscriptionLeagueArgs = {
|
|
7316
|
-
block?: InputMaybe<Block_Height>;
|
|
7317
|
-
id: Scalars['ID']['input'];
|
|
7318
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7319
|
-
};
|
|
7320
|
-
export type SubscriptionLeaguesArgs = {
|
|
7321
|
-
block?: InputMaybe<Block_Height>;
|
|
7322
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7323
|
-
orderBy?: InputMaybe<League_OrderBy>;
|
|
7324
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7325
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7326
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7327
|
-
where?: InputMaybe<League_Filter>;
|
|
7328
|
-
};
|
|
7329
|
-
export type SubscriptionLiquidityPoolContractArgs = {
|
|
7330
|
-
block?: InputMaybe<Block_Height>;
|
|
7331
|
-
id: Scalars['ID']['input'];
|
|
7332
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7333
|
-
};
|
|
7334
|
-
export type SubscriptionLiquidityPoolContractsArgs = {
|
|
7335
|
-
block?: InputMaybe<Block_Height>;
|
|
7336
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7337
|
-
orderBy?: InputMaybe<LiquidityPoolContract_OrderBy>;
|
|
7338
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7339
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7340
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7341
|
-
where?: InputMaybe<LiquidityPoolContract_Filter>;
|
|
7342
|
-
};
|
|
7343
|
-
export type SubscriptionLiquidityPoolNftArgs = {
|
|
7344
|
-
block?: InputMaybe<Block_Height>;
|
|
7345
|
-
id: Scalars['ID']['input'];
|
|
7346
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7347
|
-
};
|
|
7348
|
-
export type SubscriptionLiquidityPoolNftsArgs = {
|
|
7349
|
-
block?: InputMaybe<Block_Height>;
|
|
7350
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7351
|
-
orderBy?: InputMaybe<LiquidityPoolNft_OrderBy>;
|
|
7352
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7353
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7354
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7355
|
-
where?: InputMaybe<LiquidityPoolNft_Filter>;
|
|
7356
|
-
};
|
|
7357
|
-
export type SubscriptionLiquidityPoolTransactionArgs = {
|
|
7358
|
-
block?: InputMaybe<Block_Height>;
|
|
7359
|
-
id: Scalars['ID']['input'];
|
|
7360
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7361
|
-
};
|
|
7362
|
-
export type SubscriptionLiquidityPoolTransactionsArgs = {
|
|
7363
|
-
block?: InputMaybe<Block_Height>;
|
|
7364
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7365
|
-
orderBy?: InputMaybe<LiquidityPoolTransaction_OrderBy>;
|
|
7366
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7367
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7368
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7369
|
-
where?: InputMaybe<LiquidityPoolTransaction_Filter>;
|
|
7370
|
-
};
|
|
7371
|
-
export type SubscriptionLiveBetArgs = {
|
|
7372
|
-
block?: InputMaybe<Block_Height>;
|
|
7373
|
-
id: Scalars['ID']['input'];
|
|
7374
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7375
|
-
};
|
|
7376
|
-
export type SubscriptionLiveBetsArgs = {
|
|
7377
|
-
block?: InputMaybe<Block_Height>;
|
|
7378
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7379
|
-
orderBy?: InputMaybe<LiveBet_OrderBy>;
|
|
7380
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7381
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7382
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7383
|
-
where?: InputMaybe<LiveBet_Filter>;
|
|
7384
|
-
};
|
|
7385
|
-
export type SubscriptionLiveConditionArgs = {
|
|
7386
|
-
block?: InputMaybe<Block_Height>;
|
|
7387
|
-
id: Scalars['ID']['input'];
|
|
7388
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7389
|
-
};
|
|
7390
|
-
export type SubscriptionLiveConditionsArgs = {
|
|
7391
|
-
block?: InputMaybe<Block_Height>;
|
|
7392
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7393
|
-
orderBy?: InputMaybe<LiveCondition_OrderBy>;
|
|
7394
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7395
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7396
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7397
|
-
where?: InputMaybe<LiveCondition_Filter>;
|
|
7398
|
-
};
|
|
7399
|
-
export type SubscriptionLiveOutcomeArgs = {
|
|
7400
|
-
block?: InputMaybe<Block_Height>;
|
|
7401
|
-
id: Scalars['ID']['input'];
|
|
7402
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7403
|
-
};
|
|
7404
|
-
export type SubscriptionLiveOutcomesArgs = {
|
|
7405
|
-
block?: InputMaybe<Block_Height>;
|
|
7406
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7407
|
-
orderBy?: InputMaybe<LiveOutcome_OrderBy>;
|
|
7408
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7409
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7410
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7411
|
-
where?: InputMaybe<LiveOutcome_Filter>;
|
|
7412
|
-
};
|
|
7413
|
-
export type SubscriptionLiveSelectionArgs = {
|
|
7414
|
-
block?: InputMaybe<Block_Height>;
|
|
7415
|
-
id: Scalars['ID']['input'];
|
|
7416
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7417
|
-
};
|
|
7418
|
-
export type SubscriptionLiveSelectionsArgs = {
|
|
7419
|
-
block?: InputMaybe<Block_Height>;
|
|
7420
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7421
|
-
orderBy?: InputMaybe<LiveSelection_OrderBy>;
|
|
7422
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7423
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7424
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7425
|
-
where?: InputMaybe<LiveSelection_Filter>;
|
|
7426
|
-
};
|
|
7427
|
-
export type SubscriptionOutcomeArgs = {
|
|
7428
|
-
block?: InputMaybe<Block_Height>;
|
|
7429
|
-
id: Scalars['ID']['input'];
|
|
7430
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7431
|
-
};
|
|
7432
|
-
export type SubscriptionOutcomesArgs = {
|
|
7433
|
-
block?: InputMaybe<Block_Height>;
|
|
7434
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7435
|
-
orderBy?: InputMaybe<Outcome_OrderBy>;
|
|
7436
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7437
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7438
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7439
|
-
where?: InputMaybe<Outcome_Filter>;
|
|
7440
|
-
};
|
|
7441
|
-
export type SubscriptionOutcomesKeyConditionRelationArgs = {
|
|
7442
|
-
block?: InputMaybe<Block_Height>;
|
|
7443
|
-
id: Scalars['ID']['input'];
|
|
7444
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7445
|
-
};
|
|
7446
|
-
export type SubscriptionOutcomesKeyConditionRelationsArgs = {
|
|
7447
|
-
block?: InputMaybe<Block_Height>;
|
|
7448
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7449
|
-
orderBy?: InputMaybe<OutcomesKeyConditionRelation_OrderBy>;
|
|
7450
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7451
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7452
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7453
|
-
where?: InputMaybe<OutcomesKeyConditionRelation_Filter>;
|
|
7454
|
-
};
|
|
7455
|
-
export type SubscriptionParticipantArgs = {
|
|
7456
|
-
block?: InputMaybe<Block_Height>;
|
|
7457
|
-
id: Scalars['ID']['input'];
|
|
7458
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7459
|
-
};
|
|
7460
|
-
export type SubscriptionParticipantsArgs = {
|
|
7461
|
-
block?: InputMaybe<Block_Height>;
|
|
7462
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7463
|
-
orderBy?: InputMaybe<Participant_OrderBy>;
|
|
7464
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7465
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7466
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7467
|
-
where?: InputMaybe<Participant_Filter>;
|
|
7468
|
-
};
|
|
7469
|
-
export type SubscriptionSelectionArgs = {
|
|
7470
|
-
block?: InputMaybe<Block_Height>;
|
|
7471
|
-
id: Scalars['ID']['input'];
|
|
7472
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7473
|
-
};
|
|
7474
|
-
export type SubscriptionSelectionsArgs = {
|
|
7475
|
-
block?: InputMaybe<Block_Height>;
|
|
7476
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7477
|
-
orderBy?: InputMaybe<Selection_OrderBy>;
|
|
7478
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7479
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7480
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7481
|
-
where?: InputMaybe<Selection_Filter>;
|
|
7482
|
-
};
|
|
7483
|
-
export type SubscriptionSportArgs = {
|
|
7484
|
-
block?: InputMaybe<Block_Height>;
|
|
7485
|
-
id: Scalars['ID']['input'];
|
|
7486
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7487
|
-
};
|
|
7488
|
-
export type SubscriptionSportHubArgs = {
|
|
7489
|
-
block?: InputMaybe<Block_Height>;
|
|
7490
|
-
id: Scalars['ID']['input'];
|
|
7491
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7492
|
-
};
|
|
7493
|
-
export type SubscriptionSportHubsArgs = {
|
|
7494
|
-
block?: InputMaybe<Block_Height>;
|
|
7495
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7496
|
-
orderBy?: InputMaybe<SportHub_OrderBy>;
|
|
7497
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7498
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7499
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7500
|
-
where?: InputMaybe<SportHub_Filter>;
|
|
7501
|
-
};
|
|
7502
|
-
export type SubscriptionSportsArgs = {
|
|
7503
|
-
block?: InputMaybe<Block_Height>;
|
|
7504
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7505
|
-
orderBy?: InputMaybe<Sport_OrderBy>;
|
|
7506
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7507
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7508
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7509
|
-
where?: InputMaybe<Sport_Filter>;
|
|
7510
|
-
};
|
|
7511
|
-
export type SubscriptionV3BetArgs = {
|
|
7512
|
-
block?: InputMaybe<Block_Height>;
|
|
7513
|
-
id: Scalars['ID']['input'];
|
|
7514
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7515
|
-
};
|
|
7516
|
-
export type SubscriptionV3BetMetadataArgs = {
|
|
7517
|
-
block?: InputMaybe<Block_Height>;
|
|
7518
|
-
id: Scalars['ID']['input'];
|
|
7519
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7520
|
-
};
|
|
7521
|
-
export type SubscriptionV3BetMetadata_CollectionArgs = {
|
|
7522
|
-
block?: InputMaybe<Block_Height>;
|
|
7523
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7524
|
-
orderBy?: InputMaybe<V3_BetMetadata_OrderBy>;
|
|
7525
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7526
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7527
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7528
|
-
where?: InputMaybe<V3_BetMetadata_Filter>;
|
|
7529
|
-
};
|
|
7530
|
-
export type SubscriptionV3BetsArgs = {
|
|
7531
|
-
block?: InputMaybe<Block_Height>;
|
|
7532
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7533
|
-
orderBy?: InputMaybe<V3_Bet_OrderBy>;
|
|
7534
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7535
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7536
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7537
|
-
where?: InputMaybe<V3_Bet_Filter>;
|
|
7538
|
-
};
|
|
7539
|
-
export type SubscriptionV3ConditionArgs = {
|
|
7540
|
-
block?: InputMaybe<Block_Height>;
|
|
7541
|
-
id: Scalars['ID']['input'];
|
|
7542
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7543
|
-
};
|
|
7544
|
-
export type SubscriptionV3ConditionsArgs = {
|
|
7545
|
-
block?: InputMaybe<Block_Height>;
|
|
7546
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7547
|
-
orderBy?: InputMaybe<V3_Condition_OrderBy>;
|
|
7548
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7549
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7550
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7551
|
-
where?: InputMaybe<V3_Condition_Filter>;
|
|
7552
|
-
};
|
|
7553
|
-
export type SubscriptionV3OutcomeArgs = {
|
|
7554
|
-
block?: InputMaybe<Block_Height>;
|
|
7555
|
-
id: Scalars['ID']['input'];
|
|
7556
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7557
|
-
};
|
|
7558
|
-
export type SubscriptionV3OutcomesArgs = {
|
|
7559
|
-
block?: InputMaybe<Block_Height>;
|
|
7560
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7561
|
-
orderBy?: InputMaybe<V3_Outcome_OrderBy>;
|
|
7562
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7563
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7564
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7565
|
-
where?: InputMaybe<V3_Outcome_Filter>;
|
|
7566
|
-
};
|
|
7567
|
-
export type SubscriptionV3SelectionArgs = {
|
|
7568
|
-
block?: InputMaybe<Block_Height>;
|
|
7569
|
-
id: Scalars['ID']['input'];
|
|
7570
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7571
|
-
};
|
|
7572
|
-
export type SubscriptionV3SelectionsArgs = {
|
|
7573
|
-
block?: InputMaybe<Block_Height>;
|
|
7574
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7575
|
-
orderBy?: InputMaybe<V3_Selection_OrderBy>;
|
|
7576
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
7577
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
7578
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
7579
|
-
where?: InputMaybe<V3_Selection_Filter>;
|
|
7580
|
-
};
|
|
7581
6997
|
export type V3_Bet = {
|
|
7582
6998
|
__typename?: 'V3_Bet';
|
|
7583
6999
|
_canceledSubBetsCount: Scalars['Int']['output'];
|
|
@@ -8955,7 +8371,6 @@ export type _Meta_ = {
|
|
|
8955
8371
|
* will be null if the _meta field has a block constraint that asks for
|
|
8956
8372
|
* a block number. It will be filled if the _meta field has no block constraint
|
|
8957
8373
|
* and therefore asks for the latest block
|
|
8958
|
-
*
|
|
8959
8374
|
*/
|
|
8960
8375
|
block: _Block_;
|
|
8961
8376
|
/** The deployment ID */
|
|
@@ -1725,158 +1725,6 @@ export declare enum Sport_OrderBy {
|
|
|
1725
1725
|
SportId = "sportId",
|
|
1726
1726
|
Sporthub = "sporthub"
|
|
1727
1727
|
}
|
|
1728
|
-
export type Subscription = {
|
|
1729
|
-
__typename?: 'Subscription';
|
|
1730
|
-
/** Access to subgraph metadata */
|
|
1731
|
-
_meta?: Maybe<_Meta_>;
|
|
1732
|
-
condition?: Maybe<Condition>;
|
|
1733
|
-
conditions: Array<Condition>;
|
|
1734
|
-
countries: Array<Country>;
|
|
1735
|
-
country?: Maybe<Country>;
|
|
1736
|
-
event?: Maybe<Event>;
|
|
1737
|
-
events: Array<Event>;
|
|
1738
|
-
game?: Maybe<Game>;
|
|
1739
|
-
games: Array<Game>;
|
|
1740
|
-
league?: Maybe<League>;
|
|
1741
|
-
leagues: Array<League>;
|
|
1742
|
-
outcome?: Maybe<Outcome>;
|
|
1743
|
-
outcomes: Array<Outcome>;
|
|
1744
|
-
participant?: Maybe<Participant>;
|
|
1745
|
-
participants: Array<Participant>;
|
|
1746
|
-
sport?: Maybe<Sport>;
|
|
1747
|
-
sportHub?: Maybe<SportHub>;
|
|
1748
|
-
sportHubs: Array<SportHub>;
|
|
1749
|
-
sports: Array<Sport>;
|
|
1750
|
-
};
|
|
1751
|
-
export type Subscription_MetaArgs = {
|
|
1752
|
-
block?: InputMaybe<Block_Height>;
|
|
1753
|
-
};
|
|
1754
|
-
export type SubscriptionConditionArgs = {
|
|
1755
|
-
block?: InputMaybe<Block_Height>;
|
|
1756
|
-
id: Scalars['ID']['input'];
|
|
1757
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1758
|
-
};
|
|
1759
|
-
export type SubscriptionConditionsArgs = {
|
|
1760
|
-
block?: InputMaybe<Block_Height>;
|
|
1761
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1762
|
-
orderBy?: InputMaybe<Condition_OrderBy>;
|
|
1763
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
1764
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1765
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1766
|
-
where?: InputMaybe<Condition_Filter>;
|
|
1767
|
-
};
|
|
1768
|
-
export type SubscriptionCountriesArgs = {
|
|
1769
|
-
block?: InputMaybe<Block_Height>;
|
|
1770
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1771
|
-
orderBy?: InputMaybe<Country_OrderBy>;
|
|
1772
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
1773
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1774
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1775
|
-
where?: InputMaybe<Country_Filter>;
|
|
1776
|
-
};
|
|
1777
|
-
export type SubscriptionCountryArgs = {
|
|
1778
|
-
block?: InputMaybe<Block_Height>;
|
|
1779
|
-
id: Scalars['ID']['input'];
|
|
1780
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1781
|
-
};
|
|
1782
|
-
export type SubscriptionEventArgs = {
|
|
1783
|
-
block?: InputMaybe<Block_Height>;
|
|
1784
|
-
id: Scalars['ID']['input'];
|
|
1785
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1786
|
-
};
|
|
1787
|
-
export type SubscriptionEventsArgs = {
|
|
1788
|
-
block?: InputMaybe<Block_Height>;
|
|
1789
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1790
|
-
orderBy?: InputMaybe<Event_OrderBy>;
|
|
1791
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
1792
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1793
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1794
|
-
where?: InputMaybe<Event_Filter>;
|
|
1795
|
-
};
|
|
1796
|
-
export type SubscriptionGameArgs = {
|
|
1797
|
-
block?: InputMaybe<Block_Height>;
|
|
1798
|
-
id: Scalars['ID']['input'];
|
|
1799
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1800
|
-
};
|
|
1801
|
-
export type SubscriptionGamesArgs = {
|
|
1802
|
-
block?: InputMaybe<Block_Height>;
|
|
1803
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1804
|
-
orderBy?: InputMaybe<Game_OrderBy>;
|
|
1805
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
1806
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1807
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1808
|
-
where?: InputMaybe<Game_Filter>;
|
|
1809
|
-
};
|
|
1810
|
-
export type SubscriptionLeagueArgs = {
|
|
1811
|
-
block?: InputMaybe<Block_Height>;
|
|
1812
|
-
id: Scalars['ID']['input'];
|
|
1813
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1814
|
-
};
|
|
1815
|
-
export type SubscriptionLeaguesArgs = {
|
|
1816
|
-
block?: InputMaybe<Block_Height>;
|
|
1817
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1818
|
-
orderBy?: InputMaybe<League_OrderBy>;
|
|
1819
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
1820
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1821
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1822
|
-
where?: InputMaybe<League_Filter>;
|
|
1823
|
-
};
|
|
1824
|
-
export type SubscriptionOutcomeArgs = {
|
|
1825
|
-
block?: InputMaybe<Block_Height>;
|
|
1826
|
-
id: Scalars['ID']['input'];
|
|
1827
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1828
|
-
};
|
|
1829
|
-
export type SubscriptionOutcomesArgs = {
|
|
1830
|
-
block?: InputMaybe<Block_Height>;
|
|
1831
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1832
|
-
orderBy?: InputMaybe<Outcome_OrderBy>;
|
|
1833
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
1834
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1835
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1836
|
-
where?: InputMaybe<Outcome_Filter>;
|
|
1837
|
-
};
|
|
1838
|
-
export type SubscriptionParticipantArgs = {
|
|
1839
|
-
block?: InputMaybe<Block_Height>;
|
|
1840
|
-
id: Scalars['ID']['input'];
|
|
1841
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1842
|
-
};
|
|
1843
|
-
export type SubscriptionParticipantsArgs = {
|
|
1844
|
-
block?: InputMaybe<Block_Height>;
|
|
1845
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1846
|
-
orderBy?: InputMaybe<Participant_OrderBy>;
|
|
1847
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
1848
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1849
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1850
|
-
where?: InputMaybe<Participant_Filter>;
|
|
1851
|
-
};
|
|
1852
|
-
export type SubscriptionSportArgs = {
|
|
1853
|
-
block?: InputMaybe<Block_Height>;
|
|
1854
|
-
id: Scalars['ID']['input'];
|
|
1855
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1856
|
-
};
|
|
1857
|
-
export type SubscriptionSportHubArgs = {
|
|
1858
|
-
block?: InputMaybe<Block_Height>;
|
|
1859
|
-
id: Scalars['ID']['input'];
|
|
1860
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1861
|
-
};
|
|
1862
|
-
export type SubscriptionSportHubsArgs = {
|
|
1863
|
-
block?: InputMaybe<Block_Height>;
|
|
1864
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1865
|
-
orderBy?: InputMaybe<SportHub_OrderBy>;
|
|
1866
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
1867
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1868
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1869
|
-
where?: InputMaybe<SportHub_Filter>;
|
|
1870
|
-
};
|
|
1871
|
-
export type SubscriptionSportsArgs = {
|
|
1872
|
-
block?: InputMaybe<Block_Height>;
|
|
1873
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1874
|
-
orderBy?: InputMaybe<Sport_OrderBy>;
|
|
1875
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
1876
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1877
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
1878
|
-
where?: InputMaybe<Sport_Filter>;
|
|
1879
|
-
};
|
|
1880
1728
|
export type _Block_ = {
|
|
1881
1729
|
__typename?: '_Block_';
|
|
1882
1730
|
/** The hash of the block */
|
|
@@ -1896,7 +1744,6 @@ export type _Meta_ = {
|
|
|
1896
1744
|
* will be null if the _meta field has a block constraint that asks for
|
|
1897
1745
|
* a block number. It will be filled if the _meta field has no block constraint
|
|
1898
1746
|
* and therefore asks for the latest block
|
|
1899
|
-
*
|
|
1900
1747
|
*/
|
|
1901
1748
|
block: _Block_;
|
|
1902
1749
|
/** The deployment ID */
|
package/dist/global.d.ts
CHANGED
|
@@ -32,16 +32,27 @@ export type Selection = {
|
|
|
32
32
|
export type WaveId = number | 'active';
|
|
33
33
|
/** a string in format `YYYY-MM-DDTHH:mm:ss.sssZ` */
|
|
34
34
|
export type ISOTimestamp = string;
|
|
35
|
+
/**
|
|
36
|
+
* Bet order states in the DB. To show aggregated states to the end user, use `getBetStatus` helper
|
|
37
|
+
* */
|
|
35
38
|
export declare enum BetOrderState {
|
|
39
|
+
/** First status when created */
|
|
36
40
|
Created = "Created",
|
|
41
|
+
/** Bet is included in the calculation of potential loss/wins */
|
|
37
42
|
Placed = "Placed",
|
|
43
|
+
/** The relayer has been taken into processing to send the bet to the contracts */
|
|
38
44
|
Sent = "Sent",
|
|
39
|
-
|
|
45
|
+
/** Bet successfully accepted in the contracts */
|
|
40
46
|
Accepted = "Accepted",
|
|
47
|
+
/** An error occurred during the contracts checks */
|
|
41
48
|
Rejected = "Rejected",
|
|
49
|
+
/** The process of canceling the bet. The bet placed in the contracts still has the "GraphBetStatus.Accepted" status */
|
|
42
50
|
PendingCancel = "PendingCancel",
|
|
43
|
-
|
|
51
|
+
/** Cancellation error. The bet placed in the contracts still has the "GraphBetStatus.Accepted" status */
|
|
44
52
|
CancelFailed = "CancelFailed",
|
|
53
|
+
/** Bet is canceled */
|
|
54
|
+
Canceled = "Canceled",
|
|
55
|
+
/** The bet is settled (won or lost) */
|
|
45
56
|
Settled = "Settled"
|
|
46
57
|
}
|
|
47
58
|
export declare enum BetOrderResult {
|
package/dist/index.js
CHANGED
|
@@ -6234,17 +6234,28 @@ const chainsDataByEnv = {
|
|
|
6234
6234
|
[Environment.BaseSepoliaWETH]: baseSepoliaData,
|
|
6235
6235
|
[Environment.BscDevUSDT]: bscTestnetData,
|
|
6236
6236
|
[Environment.BscUSDT]: bscData,
|
|
6237
|
-
}
|
|
6237
|
+
};/**
|
|
6238
|
+
* Bet order states in the DB. To show aggregated states to the end user, use `getBetStatus` helper
|
|
6239
|
+
* */
|
|
6240
|
+
var BetOrderState;
|
|
6238
6241
|
(function (BetOrderState) {
|
|
6242
|
+
/** First status when created */
|
|
6239
6243
|
BetOrderState["Created"] = "Created";
|
|
6244
|
+
/** Bet is included in the calculation of potential loss/wins */
|
|
6240
6245
|
BetOrderState["Placed"] = "Placed";
|
|
6246
|
+
/** The relayer has been taken into processing to send the bet to the contracts */
|
|
6241
6247
|
BetOrderState["Sent"] = "Sent";
|
|
6242
|
-
|
|
6248
|
+
/** Bet successfully accepted in the contracts */
|
|
6243
6249
|
BetOrderState["Accepted"] = "Accepted";
|
|
6250
|
+
/** An error occurred during the contracts checks */
|
|
6244
6251
|
BetOrderState["Rejected"] = "Rejected";
|
|
6252
|
+
/** The process of canceling the bet. The bet placed in the contracts still has the "GraphBetStatus.Accepted" status */
|
|
6245
6253
|
BetOrderState["PendingCancel"] = "PendingCancel";
|
|
6246
|
-
|
|
6254
|
+
/** Cancellation error. The bet placed in the contracts still has the "GraphBetStatus.Accepted" status */
|
|
6247
6255
|
BetOrderState["CancelFailed"] = "CancelFailed";
|
|
6256
|
+
/** Bet is canceled */
|
|
6257
|
+
BetOrderState["Canceled"] = "Canceled";
|
|
6258
|
+
/** The bet is settled (won or lost) */
|
|
6248
6259
|
BetOrderState["Settled"] = "Settled";
|
|
6249
6260
|
})(BetOrderState || (BetOrderState = {}));
|
|
6250
6261
|
var BetOrderResult;
|
|
@@ -7597,6 +7608,9 @@ const groupConditionsByMarket = (conditions) => {
|
|
|
7597
7608
|
BetStatus[BetStatus["Rejected"] = 6] = "Rejected";
|
|
7598
7609
|
})(BetStatus || (BetStatus = {}));
|
|
7599
7610
|
const filterLastGames = (games) => {
|
|
7611
|
+
if (!games?.length) {
|
|
7612
|
+
return [];
|
|
7613
|
+
}
|
|
7600
7614
|
const lastStartDate = Math.max(...games.map(({ startsAt }) => +startsAt));
|
|
7601
7615
|
return games.filter(({ startsAt }) => +startsAt === lastStartDate);
|
|
7602
7616
|
};
|
|
@@ -7624,7 +7638,6 @@ const filterLastGames = (games) => {
|
|
|
7624
7638
|
const getBetStatus = (props) => {
|
|
7625
7639
|
const { games, graphStatus, orderState } = props;
|
|
7626
7640
|
if ((!orderState && !graphStatus)
|
|
7627
|
-
|| orderState === BetOrderState.Pending
|
|
7628
7641
|
|| orderState === BetOrderState.Created
|
|
7629
7642
|
|| orderState === BetOrderState.Placed
|
|
7630
7643
|
|| (orderState === BetOrderState.Sent && !graphStatus)) {
|
|
@@ -7645,7 +7658,7 @@ const getBetStatus = (props) => {
|
|
|
7645
7658
|
|| lastGames.some((game) => getIsPendingResolution(game))) {
|
|
7646
7659
|
return BetStatus.PendingResolution;
|
|
7647
7660
|
}
|
|
7648
|
-
const isLive = games
|
|
7661
|
+
const isLive = games?.some(game => game.state === GameState.Live);
|
|
7649
7662
|
if (isLive) {
|
|
7650
7663
|
return BetStatus.Live;
|
|
7651
7664
|
}
|
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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -99,6 +99,7 @@ export type BetOrderConditionData = {
|
|
|
99
99
|
potentialLoss: string | null;
|
|
100
100
|
};
|
|
101
101
|
export type BetOrderData = {
|
|
102
|
+
/** bettorAddressLowerCase_nonce */
|
|
102
103
|
id: string;
|
|
103
104
|
state: BetOrderState;
|
|
104
105
|
environment: Environment;
|
|
@@ -112,6 +113,7 @@ export type BetOrderData = {
|
|
|
112
113
|
odds: number;
|
|
113
114
|
bonusId: string | null;
|
|
114
115
|
isFreebet: boolean;
|
|
116
|
+
isSponsoredBetReturnable?: boolean;
|
|
115
117
|
betId: number | null;
|
|
116
118
|
txHash: Hex | null;
|
|
117
119
|
margin: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azuro-org/toolkit",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.8",
|
|
4
4
|
"description": "This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|