@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
@@ -1,50 +0,0 @@
1
- import * as Types from './types';
2
- export type GamesQueryVariables = 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 GamesQuery = {
10
- __typename?: 'Query';
11
- games: Array<{
12
- __typename?: 'Game';
13
- id: string;
14
- gameId: string;
15
- slug: string;
16
- title: string;
17
- startsAt: string;
18
- state: Types.GameState;
19
- turnover: string;
20
- sport: {
21
- __typename?: 'Sport';
22
- sportId: string;
23
- slug: string;
24
- name: string;
25
- sporthub: {
26
- __typename?: 'SportHub';
27
- id: string;
28
- slug: string;
29
- };
30
- };
31
- league: {
32
- __typename?: 'League';
33
- id: string;
34
- slug: string;
35
- name: string;
36
- };
37
- country: {
38
- __typename?: 'Country';
39
- id: string;
40
- slug: string;
41
- name: string;
42
- };
43
- participants: Array<{
44
- __typename?: 'Participant';
45
- image?: string | null;
46
- name: string;
47
- }>;
48
- }>;
49
- };
50
- export declare const GamesDocument: import("graphql/language/ast").DocumentNode;
@@ -1,45 +0,0 @@
1
- import * as Types from './types';
2
- export type NavigationQueryVariables = Types.Exact<{
3
- sportFilter?: Types.InputMaybe<Types.Sport_Filter>;
4
- countryFilter?: Types.InputMaybe<Types.Country_Filter>;
5
- leagueFilter?: Types.InputMaybe<Types.League_Filter>;
6
- }>;
7
- export type NavigationQuery = {
8
- __typename?: 'Query';
9
- sports: Array<{
10
- __typename?: 'Sport';
11
- id: string;
12
- slug: string;
13
- name: string;
14
- sportId: string;
15
- activeGamesCount: number;
16
- activeLiveGamesCount: number;
17
- activePrematchGamesCount: number;
18
- sporthub: {
19
- __typename?: 'SportHub';
20
- id: string;
21
- slug: string;
22
- };
23
- countries: Array<{
24
- __typename?: 'Country';
25
- id: string;
26
- slug: string;
27
- name: string;
28
- turnover: string;
29
- activeGamesCount: number;
30
- activeLiveGamesCount: number;
31
- activePrematchGamesCount: number;
32
- leagues: Array<{
33
- __typename?: 'League';
34
- id: string;
35
- slug: string;
36
- name: string;
37
- turnover: string;
38
- activeGamesCount: number;
39
- activeLiveGamesCount: number;
40
- activePrematchGamesCount: number;
41
- }>;
42
- }>;
43
- }>;
44
- };
45
- export declare const NavigationDocument: import("graphql/language/ast").DocumentNode;
@@ -1,72 +0,0 @@
1
- import * as Types from './types';
2
- export type SportsQueryVariables = Types.Exact<{
3
- first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
4
- sportFilter?: Types.InputMaybe<Types.Sport_Filter>;
5
- countryFilter?: Types.InputMaybe<Types.Country_Filter>;
6
- leagueFilter?: Types.InputMaybe<Types.League_Filter>;
7
- gameFilter?: Types.InputMaybe<Types.Game_Filter>;
8
- gameOrderBy?: Types.InputMaybe<Types.Game_OrderBy>;
9
- gameOrderDirection?: Types.InputMaybe<Types.OrderDirection>;
10
- }>;
11
- export type SportsQuery = {
12
- __typename?: 'Query';
13
- sports: Array<{
14
- __typename?: 'Sport';
15
- id: string;
16
- slug: string;
17
- name: string;
18
- sportId: string;
19
- turnover: string;
20
- countries: Array<{
21
- __typename?: 'Country';
22
- slug: string;
23
- name: string;
24
- turnover: string;
25
- leagues: Array<{
26
- __typename?: 'League';
27
- slug: string;
28
- name: string;
29
- turnover: string;
30
- games: Array<{
31
- __typename?: 'Game';
32
- id: string;
33
- gameId: string;
34
- slug: string;
35
- title: string;
36
- startsAt: string;
37
- state: Types.GameState;
38
- turnover: string;
39
- sport: {
40
- __typename?: 'Sport';
41
- sportId: string;
42
- slug: string;
43
- name: string;
44
- sporthub: {
45
- __typename?: 'SportHub';
46
- id: string;
47
- slug: string;
48
- };
49
- };
50
- league: {
51
- __typename?: 'League';
52
- id: string;
53
- slug: string;
54
- name: string;
55
- };
56
- country: {
57
- __typename?: 'Country';
58
- id: string;
59
- slug: string;
60
- name: string;
61
- };
62
- participants: Array<{
63
- __typename?: 'Participant';
64
- image?: string | null;
65
- name: string;
66
- }>;
67
- }>;
68
- }>;
69
- }>;
70
- }>;
71
- };
72
- export declare const SportsDocument: import("graphql/language/ast").DocumentNode;
@@ -1,23 +0,0 @@
1
- import * as Types from './types';
2
- export type SportsNavigationQueryVariables = Types.Exact<{
3
- sportFilter?: Types.InputMaybe<Types.Sport_Filter>;
4
- }>;
5
- export type SportsNavigationQuery = {
6
- __typename?: 'Query';
7
- sports: Array<{
8
- __typename?: 'Sport';
9
- id: string;
10
- slug: string;
11
- name: string;
12
- sportId: string;
13
- activeGamesCount: number;
14
- activeLiveGamesCount: number;
15
- activePrematchGamesCount: number;
16
- sporthub: {
17
- __typename?: 'SportHub';
18
- id: string;
19
- slug: string;
20
- };
21
- }>;
22
- };
23
- export declare const SportsNavigationDocument: import("graphql/language/ast").DocumentNode;