@azuro-org/toolkit 6.0.0-beta.8 → 6.0.0

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.
Files changed (50) hide show
  1. package/README.md +1 -2
  2. package/dist/docs/bets/bets.d.ts +66 -0
  3. package/dist/docs/bets/fragments/bet.d.ts +58 -0
  4. package/dist/docs/bets/gameBets.d.ts +1 -1
  5. package/dist/docs/bets/types.d.ts +10 -10
  6. package/dist/docs/index.d.ts +2 -0
  7. package/dist/docs/legacy-live-feed/types.d.ts +10 -10
  8. package/dist/global.d.ts +7 -1
  9. package/dist/index.js +107 -46
  10. package/dist/index.js.map +1 -1
  11. package/dist/utils/bet/createBet.d.ts +1 -1
  12. package/dist/utils/bet/createComboBet.d.ts +1 -1
  13. package/dist/utils/bet/getBet.d.ts +1 -1
  14. package/dist/utils/bet/getBetCalculation.d.ts +1 -1
  15. package/dist/utils/bet/getBetFee.d.ts +1 -1
  16. package/dist/utils/bet/getBetStatus.d.ts +1 -1
  17. package/dist/utils/bet/getBetTypedData.d.ts +1 -1
  18. package/dist/utils/bet/getBetsByBettor.d.ts +6 -6
  19. package/dist/utils/bet/getComboBetTypedData.d.ts +1 -1
  20. package/dist/utils/bet/types.d.ts +1 -0
  21. package/dist/utils/bonus/getAvailableFreebets.d.ts +1 -1
  22. package/dist/utils/bonus/getBonuses.d.ts +1 -1
  23. package/dist/utils/calcMinOdds.d.ts +1 -1
  24. package/dist/utils/cashout/createCashout.d.ts +1 -1
  25. package/dist/utils/cashout/getCalculatedCashout.d.ts +1 -1
  26. package/dist/utils/cashout/getCashout.d.ts +1 -1
  27. package/dist/utils/cashout/getCashoutTypedData.d.ts +1 -1
  28. package/dist/utils/cashout/getPrecalculatedCashouts.d.ts +1 -1
  29. package/dist/utils/feed/getConditionsByGameIds.d.ts +1 -1
  30. package/dist/utils/feed/getConditionsState.d.ts +1 -1
  31. package/dist/utils/feed/getGamesByFilters.d.ts +1 -1
  32. package/dist/utils/feed/getGamesByIds.d.ts +1 -1
  33. package/dist/utils/feed/getNavigation.d.ts +1 -1
  34. package/dist/utils/feed/getSports.d.ts +1 -1
  35. package/dist/utils/feed/searchGames.d.ts +1 -1
  36. package/dist/utils/getIsPendingResolution.d.ts +1 -1
  37. package/dist/utils/getProviderFromId.d.ts +0 -8
  38. package/dist/utils/groupConditionsByMarket.d.ts +1 -1
  39. package/package.json +11 -12
  40. package/dist/docs/feed/condition.d.ts +0 -33
  41. package/dist/docs/feed/conditions.d.ts +0 -36
  42. package/dist/docs/feed/conditionsBatch.d.ts +0 -19
  43. package/dist/docs/feed/fragments/condition.d.ts +0 -27
  44. package/dist/docs/feed/fragments/gameInfo.d.ts +0 -40
  45. package/dist/docs/feed/game.d.ts +0 -46
  46. package/dist/docs/feed/games.d.ts +0 -50
  47. package/dist/docs/feed/navigation.d.ts +0 -45
  48. package/dist/docs/feed/sports.d.ts +0 -72
  49. package/dist/docs/feed/sportsNavigation.d.ts +0 -23
  50. package/dist/docs/feed/types.d.ts +0 -2415
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -18,7 +18,7 @@ export type CreateBetResult = CreateBetResponse;
18
18
  * Creates a single (ordinary) bet by submitting signed bet data to the Azuro API.
19
19
  * This function sends the bet order to the relayer which will then place the bet on-chain.
20
20
  *
21
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/bet/createBet
21
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/bet/createBet
22
22
  *
23
23
  * @example
24
24
  * import { createBet } from '@azuro-org/toolkit'
@@ -18,7 +18,7 @@ export type CreateComboBetResult = CreateBetResponse;
18
18
  * Creates a combo (parlay) bet by submitting signed bet data to the Azuro API.
19
19
  * This function sends the combo bet order to the relayer which will then place the bet on-chain.
20
20
  *
21
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/bet/createComboBet
21
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/bet/createComboBet
22
22
  *
23
23
  * @example
24
24
  * import { createComboBet } from '@azuro-org/toolkit'
@@ -10,7 +10,7 @@ export type GetBetResult = GetBetResponse | null;
10
10
  * Retrieves bet order data by order ID from the Azuro API.
11
11
  * Returns null if the bet order is not found.
12
12
  *
13
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/bet/getBet
13
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/bet/getBet
14
14
  *
15
15
  * @example
16
16
  * import { getBet } from '@azuro-org/toolkit'
@@ -20,7 +20,7 @@ export type GetBetCalculationResult = GetBetCalculationResponse['response'];
20
20
  * User's account is required to provide the **correct** maximum bet amount.
21
21
  * It may be undefined if the user isn't logged in.
22
22
  *
23
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/bet/getBetCalculation
23
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/bet/getBetCalculation
24
24
  *
25
25
  * @example
26
26
  * import { getBetCalculation } from '@azuro-org/toolkit'
@@ -17,7 +17,7 @@ export type GetBetFeeResult = BetFeeResponse;
17
17
  * Retrieves the current relayer fee information for placing bets on a specific chain.
18
18
  * Returns gas price, bet token rate, and calculated relayer fee amount.
19
19
  *
20
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/bet/getBetFee
20
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/bet/getBetFee
21
21
  *
22
22
  * @example
23
23
  * import { getBetFee } from '@azuro-org/toolkit'
@@ -22,7 +22,7 @@ type Props = {
22
22
  * Determines the current status of a bet based on order state, on-chain status, and game states.
23
23
  * Returns a unified bet status that combines API order state and blockchain data.
24
24
  *
25
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/bet/getBetStatus
25
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/bet/getBetStatus
26
26
  *
27
27
  * @example
28
28
  * import { getBetStatus, BetStatus } from '@azuro-org/toolkit'
@@ -16,7 +16,7 @@ export type GetBetTypedDataParams = {
16
16
  * Generates EIP-712 typed data for signing a single (ordinary) bet.
17
17
  * This typed data is used with wallet signing methods to create a bet signature.
18
18
  *
19
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/bet/getBetTypedData
19
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/bet/getBetTypedData
20
20
  *
21
21
  * @example
22
22
  * import { getBetTypedData } from '@azuro-org/toolkit'
@@ -23,7 +23,7 @@ export type GetBetsByBettorResult = (BetOrderData & {
23
23
  * Retrieves all bet orders for a specific bettor address with optional filtering.
24
24
  * Supports pagination and filtering by state, result, affiliate, and redemption status.
25
25
  *
26
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/bet/getBetsByBettor
26
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/bet/getBetsByBettor
27
27
  *
28
28
  * @example
29
29
  * import { getBetsByBettor } from '@azuro-org/toolkit'
@@ -34,13 +34,13 @@ export type GetBetsByBettorResult = (BetOrderData & {
34
34
  * // Get all bets
35
35
  * const allBets = await getBetsByBettor({ chainId, bettor })
36
36
  *
37
- * // Get only resolved bets
38
- * const resolvedBets = await getBetsByBettor({
37
+ * // Get only redeemable bets
38
+ * const redeemableBets = await getBetsByBettor({
39
39
  * chainId,
40
40
  * bettor,
41
- * state: 'Sent',
42
- * result: 'Won',
43
- * limit: 50,
41
+ * result: [BetOrderResult.Won, BetOrderResult.Canceled],
42
+ * isRedeemed: false,
43
+ * limit: 1000,
44
44
  * })
45
45
  * */
46
46
  export declare const getBetsByBettor: (props: GetBetsByBettorParams) => Promise<GetBetsByBettorResult>;
@@ -16,7 +16,7 @@ export type GetComboBetTypedDataParams = {
16
16
  * Generates EIP-712 typed data for signing a combo (parlay) bet.
17
17
  * This typed data is used with wallet signing methods to create a combo bet signature.
18
18
  *
19
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/bet/getComboBetTypedData
19
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/bet/getComboBetTypedData
20
20
  *
21
21
  * @example
22
22
  * import { getComboBetTypedData } from '@azuro-org/toolkit'
@@ -10,6 +10,7 @@ export type BetMetaData = {
10
10
  address: Address;
11
11
  liquidityPool: {
12
12
  address: Address;
13
+ asset: string;
13
14
  };
14
15
  };
15
16
  odds: string;
@@ -18,7 +18,7 @@ export type GetAvailableFreebets = Freebet[] | null;
18
18
  * Retrieves available freebets for a bettor that can be applied to specific bet selections.
19
19
  * Returns null if no freebets are available for the given selections.
20
20
  *
21
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/bonus/getAvailableFreebets
21
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/bonus/getAvailableFreebets
22
22
  *
23
23
  * @example
24
24
  * import { getAvailableFreebets } from '@azuro-org/toolkit'
@@ -59,7 +59,7 @@ export type GetBonusesParams = {
59
59
  * Fetches all bonuses for a bettor account filtered by status.
60
60
  * By default, retrieves only available bonuses. Returns null if no bonuses are found.
61
61
  *
62
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/bonus/getBonuses
62
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/bonus/getBonuses
63
63
  *
64
64
  * @example
65
65
  * import { getBonuses, BonusStatus } from '@azuro-org/toolkit'
@@ -6,7 +6,7 @@ export type CalcMinOddsParams = {
6
6
  * Calculates the minimum acceptable odds considering slippage for single or combo bets.
7
7
  * For combo bets, applies fee modifiers and multiplies individual odds to calculate total odds.
8
8
  *
9
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/calcMinOdds
9
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/utils/calcMinOdds
10
10
  *
11
11
  * @example
12
12
  * import { calcMindOdds } from '@azuro-org/toolkit'
@@ -22,7 +22,7 @@ export type CreateCashoutParams = {
22
22
  * Creates a cashout order for an existing bet by submitting the signed cashout calculation to the Azuro API.
23
23
  * This finalizes the cashout process after obtaining a calculation and signing the typed data.
24
24
  *
25
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/cashout/createCashout
25
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/utils/cashout/createCashout
26
26
  *
27
27
  * @example
28
28
  * import { createCashout } from '@azuro-org/toolkit'
@@ -23,7 +23,7 @@ export type GetCalculatedCashoutParams = {
23
23
  * Retrieves the calculated cashout information for a specific bet, including the cashout amount and odds.
24
24
  * Returns null if no cashout calculation is available for the bet.
25
25
  *
26
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/cashout/getCalculatedCashout
26
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/utils/cashout/getCalculatedCashout
27
27
  *
28
28
  * @example
29
29
  * import { getCalculatedCashout } from '@azuro-org/toolkit'
@@ -12,7 +12,7 @@ export type GetCashoutParams = {
12
12
  * Retrieves the status and details of a cashout order by its order ID.
13
13
  * Returns null if the cashout order is not found.
14
14
  *
15
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/cashout/getCashout
15
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/utils/cashout/getCashout
16
16
  *
17
17
  * @example
18
18
  * import { getCashout } from '@azuro-org/toolkit'
@@ -12,7 +12,7 @@ export type GetCashoutTypedDataParams = {
12
12
  * Generates EIP-712 typed data for signing a cashout order.
13
13
  * This typed data must be signed by the user before submitting the cashout.
14
14
  *
15
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/cashout/getCashoutTypedData
15
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/utils/cashout/getCashoutTypedData
16
16
  *
17
17
  * @example
18
18
  * import { getCashoutTypedData } from '@azuro-org/toolkit'
@@ -22,7 +22,7 @@ export type GetPrecalculatedCashoutsParams = {
22
22
  * Retrieves precalculated cashout availability and prices for specified conditions.
23
23
  * Returns margin information and outcome prices for each available condition.
24
24
  *
25
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/cashout/getPrecalculatedCashouts
25
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/utils/cashout/getPrecalculatedCashouts
26
26
  *
27
27
  * @example
28
28
  * import { getPrecalculatedCashouts } from '@azuro-org/toolkit'
@@ -34,7 +34,7 @@ export type GetConditionsByGameIdsResponseResult = GetConditionsByGameIdsRespons
34
34
  * Fetches detailed conditions data for a given list of game IDs.
35
35
  * Returns comprehensive condition information including outcomes, odds, and game relationships.
36
36
  *
37
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/feed/getConditionsByGameIds
37
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/feed/getConditionsByGameIds
38
38
  *
39
39
  * @example
40
40
  * import { getConditionsByGameIds } from '@azuro-org/toolkit'
@@ -20,7 +20,7 @@ export type GetConditionsStateResult = ConditionsStateResponse['conditions'];
20
20
  /**
21
21
  * Fetches up-to-date condition states and outcome odds for a list of conditions.
22
22
  *
23
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/feed/getConditionsState
23
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/feed/getConditionsState
24
24
  *
25
25
  * @example
26
26
  * import { getConditionsState } from '@azuro-org/toolkit'
@@ -20,7 +20,7 @@ export type GetGamesByFiltersResult = PaginatedGamesResponse;
20
20
  * Fetches games by applying various filters such as sport, league, or game state.
21
21
  * Returns paginated results ideal for building sport/country/league listing pages.
22
22
  *
23
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/feed/getGamesByFilters
23
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/feed/getGamesByFilters
24
24
  *
25
25
  * @example
26
26
  * import { GameState, getGamesByFilters } from '@azuro-org/toolkit'
@@ -12,7 +12,7 @@ export type GetGamesByIdsResult = GetGamesByIdsResponse['games'];
12
12
  * Fetches game data for a specific list of game IDs.
13
13
  * Returns detailed information for each requested game including participants, timing, and league data.
14
14
  *
15
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/feed/getGamesByIds
15
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/feed/getGamesByIds
16
16
  *
17
17
  * @example
18
18
  * import { getGamesByIds } from '@azuro-org/toolkit'
@@ -47,7 +47,7 @@ export type GetNavigationResult = NavigationSportData[];
47
47
  * Fetches navigation structure with sports, countries, and leagues hierarchy.
48
48
  * Returns active game counts at each level for building navigation menus.
49
49
  *
50
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/feed/getNavigation
50
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/feed/getNavigation
51
51
  *
52
52
  * @example
53
53
  * import { getNavigation } from '@azuro-org/toolkit'
@@ -39,7 +39,7 @@ export type GetSportsResult = GetSportsResponse['sports'];
39
39
  * Fetches a complete sports hierarchy including countries, leagues, and games.
40
40
  * Returns nested structure with all games organized by sport, country, and league.
41
41
  *
42
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/feed/getSports
42
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/feed/getSports
43
43
  *
44
44
  * @example
45
45
  * import { GameState, getSports } from '@azuro-org/toolkit'
@@ -14,7 +14,7 @@ export type SearchGamesResult = PaginatedGamesResponse;
14
14
  * Searches for games by text query across game titles, leagues, and countries.
15
15
  * The minimum query length is 3 characters. Returns paginated results.
16
16
  *
17
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/feed/searchGames
17
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/feed/searchGames
18
18
  *
19
19
  * @example
20
20
  * import { searchGames } from '@azuro-org/toolkit'
@@ -7,7 +7,7 @@ export type GetIsPendingResolutionParams = {
7
7
  * Determines if a game is pending resolution after completion.
8
8
  * Returns true if the game is in Live state but has exceeded the expected resolution window (100 minutes after start).
9
9
  *
10
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/getIsPendingResolution
10
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/utils/getIsPendingResolution
11
11
  *
12
12
  * @example
13
13
  * import { getIsPendingResolution, GameState } from '@azuro-org/toolkit'
@@ -1,13 +1,5 @@
1
1
  /**
2
2
  * Extracts the provider ID from a condition ID string.
3
3
  * The provider ID is encoded in characters 2-4 of the condition ID.
4
- *
5
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/getProviderFromId
6
- *
7
- * @example
8
- * import { getProviderFromId } from '@azuro-org/toolkit'
9
- *
10
- * const providerId = getProviderFromId('C001234567890')
11
- * console.log(providerId) // 001
12
4
  * */
13
5
  export declare const getProviderFromId: (id: string) => number;
@@ -26,7 +26,7 @@ export type GameMarkets = Market[];
26
26
  * Groups game conditions by their market types and sorts them according to sport-specific ordering.
27
27
  * It processes outcomes to include selection names, handles duplicate conditions, and organizes data for display.
28
28
  *
29
- * - Docs: https://gem.azuro.org/hub/apps/toolkit/utils/groupConditionsByMarket
29
+ * - Docs: https://dev-gem.azuro.org/hub/apps/toolkit/utils/groupConditionsByMarket
30
30
  *
31
31
  * @example
32
32
  * import { groupConditionsByMarket } from '@azuro-org/toolkit'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azuro-org/toolkit",
3
- "version": "6.0.0-beta.8",
3
+ "version": "6.0.0",
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",
@@ -41,30 +41,29 @@
41
41
  "homepage": "https://github.com/Azuro-protocol/toolkit#readme",
42
42
  "peerDependencies": {
43
43
  "@azuro-org/dictionaries": "^3.0.28",
44
- "@wagmi/core": "^2.20.3",
45
44
  "graphql-tag": "^2.12.6",
46
45
  "viem": "^2.37.4"
47
46
  },
48
47
  "devDependencies": {
49
48
  "@babel/core": "^7.17.0",
50
49
  "@graphql-codegen/cli": "^4.0.1",
51
- "@graphql-codegen/near-operation-file-preset": "^2.5.0",
50
+ "@graphql-codegen/near-operation-file-preset": "^5.0.0",
52
51
  "@graphql-codegen/typescript": "^4.1.2",
53
52
  "@graphql-codegen/typescript-document-nodes": "^4.0.12",
54
53
  "@graphql-codegen/typescript-operations": "^4.4.0",
55
54
  "@rollup/plugin-commonjs": "^29.0.0",
56
- "@rollup/plugin-json": "^4.1.0",
57
- "@types/node": "^17.0.21",
58
- "@typescript-eslint/eslint-plugin": "^8.56.0",
55
+ "@rollup/plugin-json": "^6.1.0",
56
+ "@types/node": "^22.13.14",
57
+ "@typescript-eslint/eslint-plugin": "^8.57.0",
59
58
  "builtin-modules": "^3.3.0",
60
- "eslint": "9.39.2",
61
- "eslint-import-resolver-typescript": "^3.6.1",
62
- "eslint-plugin-import": "^1.14.0",
59
+ "eslint": "9.39.4",
60
+ "eslint-import-resolver-typescript": "^4.4.4",
61
+ "eslint-plugin-import": "^2.32.0",
63
62
  "minimist": "^1.2.8",
64
63
  "rimraf": "^6.1.3",
65
- "rollup": "^2.79.2",
66
- "rollup-plugin-typescript2": "^0.34.1",
67
- "tslib": "^2.4.1",
64
+ "rollup": "^4.59.0",
65
+ "rollup-plugin-typescript2": "^0.36.0",
66
+ "tslib": "^2.8.1",
68
67
  "typescript": "^5.8.3"
69
68
  }
70
69
  }
@@ -1,33 +0,0 @@
1
- import * as Types from './types';
2
- export type ConditionQueryVariables = Types.Exact<{
3
- id: Types.Scalars['ID']['input'];
4
- }>;
5
- export type ConditionQuery = {
6
- __typename?: 'Query';
7
- condition?: {
8
- __typename?: 'Condition';
9
- id: string;
10
- conditionId: string;
11
- state: Types.ConditionState;
12
- title?: string | null;
13
- isExpressForbidden: boolean;
14
- isPrematchEnabled: boolean;
15
- isLiveEnabled: boolean;
16
- margin: string;
17
- outcomes: Array<{
18
- __typename?: 'Outcome';
19
- title?: string | null;
20
- outcomeId: string;
21
- odds: string;
22
- }>;
23
- game: {
24
- __typename?: 'Game';
25
- gameId: string;
26
- sport: {
27
- __typename?: 'Sport';
28
- sportId: string;
29
- };
30
- };
31
- } | null;
32
- };
33
- export declare const ConditionDocument: import("graphql/language/ast").DocumentNode;
@@ -1,36 +0,0 @@
1
- import * as Types from './types';
2
- export type ConditionsQueryVariables = Types.Exact<{
3
- where: Types.Condition_Filter;
4
- orderBy?: Types.InputMaybe<Types.Condition_OrderBy>;
5
- orderDirection?: Types.InputMaybe<Types.OrderDirection>;
6
- }>;
7
- export type ConditionsQuery = {
8
- __typename?: 'Query';
9
- conditions: Array<{
10
- __typename?: 'Condition';
11
- wonOutcomeIds?: Array<string> | null;
12
- id: string;
13
- conditionId: string;
14
- state: Types.ConditionState;
15
- title?: string | null;
16
- isExpressForbidden: boolean;
17
- isPrematchEnabled: boolean;
18
- isLiveEnabled: boolean;
19
- margin: string;
20
- outcomes: Array<{
21
- __typename?: 'Outcome';
22
- title?: string | null;
23
- outcomeId: string;
24
- odds: string;
25
- }>;
26
- game: {
27
- __typename?: 'Game';
28
- gameId: string;
29
- sport: {
30
- __typename?: 'Sport';
31
- sportId: string;
32
- };
33
- };
34
- }>;
35
- };
36
- export declare const ConditionsDocument: import("graphql/language/ast").DocumentNode;
@@ -1,19 +0,0 @@
1
- import * as Types from './types';
2
- export type ConditionsBatchQueryVariables = Types.Exact<{
3
- conditionFilter?: Types.InputMaybe<Types.Condition_Filter>;
4
- }>;
5
- export type ConditionsBatchQuery = {
6
- __typename?: 'Query';
7
- conditions: Array<{
8
- __typename?: 'Condition';
9
- state: Types.ConditionState;
10
- conditionId: string;
11
- outcomes: Array<{
12
- __typename?: 'Outcome';
13
- id: string;
14
- outcomeId: string;
15
- odds: string;
16
- }>;
17
- }>;
18
- };
19
- export declare const ConditionsBatchDocument: import("graphql/language/ast").DocumentNode;
@@ -1,27 +0,0 @@
1
- import * as Types from '../types';
2
- export type ConditionFragment = {
3
- __typename?: 'Condition';
4
- id: string;
5
- conditionId: string;
6
- state: Types.ConditionState;
7
- title?: string | null;
8
- isExpressForbidden: boolean;
9
- isPrematchEnabled: boolean;
10
- isLiveEnabled: boolean;
11
- margin: string;
12
- outcomes: Array<{
13
- __typename?: 'Outcome';
14
- title?: string | null;
15
- outcomeId: string;
16
- odds: string;
17
- }>;
18
- game: {
19
- __typename?: 'Game';
20
- gameId: string;
21
- sport: {
22
- __typename?: 'Sport';
23
- sportId: string;
24
- };
25
- };
26
- };
27
- export declare const ConditionFragmentDoc: import("graphql/language/ast").DocumentNode;
@@ -1,40 +0,0 @@
1
- import * as Types from '../types';
2
- export type GameInfoFragment = {
3
- __typename?: 'Game';
4
- id: string;
5
- gameId: string;
6
- slug: string;
7
- title: string;
8
- startsAt: string;
9
- state: Types.GameState;
10
- turnover: string;
11
- sport: {
12
- __typename?: 'Sport';
13
- sportId: string;
14
- slug: string;
15
- name: string;
16
- sporthub: {
17
- __typename?: 'SportHub';
18
- id: string;
19
- slug: string;
20
- };
21
- };
22
- league: {
23
- __typename?: 'League';
24
- id: string;
25
- slug: string;
26
- name: string;
27
- };
28
- country: {
29
- __typename?: 'Country';
30
- id: string;
31
- slug: string;
32
- name: string;
33
- };
34
- participants: Array<{
35
- __typename?: 'Participant';
36
- image?: string | null;
37
- name: string;
38
- }>;
39
- };
40
- export declare const GameInfoFragmentDoc: import("graphql/language/ast").DocumentNode;
@@ -1,46 +0,0 @@
1
- import * as Types from './types';
2
- export type GameQueryVariables = Types.Exact<{
3
- id: Types.Scalars['ID']['input'];
4
- }>;
5
- export type GameQuery = {
6
- __typename?: 'Query';
7
- game?: {
8
- __typename?: 'Game';
9
- id: string;
10
- gameId: string;
11
- slug: string;
12
- title: string;
13
- startsAt: string;
14
- state: Types.GameState;
15
- turnover: string;
16
- sport: {
17
- __typename?: 'Sport';
18
- sportId: string;
19
- slug: string;
20
- name: string;
21
- sporthub: {
22
- __typename?: 'SportHub';
23
- id: string;
24
- slug: string;
25
- };
26
- };
27
- league: {
28
- __typename?: 'League';
29
- id: string;
30
- slug: string;
31
- name: string;
32
- };
33
- country: {
34
- __typename?: 'Country';
35
- id: string;
36
- slug: string;
37
- name: string;
38
- };
39
- participants: Array<{
40
- __typename?: 'Participant';
41
- image?: string | null;
42
- name: string;
43
- }>;
44
- } | null;
45
- };
46
- export declare const GameDocument: import("graphql/language/ast").DocumentNode;