fansunited-data-layer 0.6.4 → 0.8.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.
- package/api/fansunited/football/index.d.ts +2 -2
- package/api/fansunited/football/index.d.ts.map +1 -1
- package/api/fansunited/football/teams/index.d.ts +43 -2
- package/api/fansunited/football/teams/index.d.ts.map +1 -1
- package/api/fansunited/football/teams/transformer.d.ts +5 -1
- package/api/fansunited/football/teams/transformer.d.ts.map +1 -1
- package/api/fansunited/football/teams/types.d.ts +43 -0
- package/api/fansunited/football/teams/types.d.ts.map +1 -1
- package/api/fansunited/index.d.ts +2 -2
- package/api/fansunited/index.d.ts.map +1 -1
- package/api/sportal365-sports/basketball/games/index.d.ts +32 -0
- package/api/sportal365-sports/basketball/games/index.d.ts.map +1 -0
- package/api/sportal365-sports/basketball/games/transformers/game.d.ts +11 -0
- package/api/sportal365-sports/basketball/games/transformers/game.d.ts.map +1 -0
- package/api/sportal365-sports/basketball/games/types.d.ts +116 -0
- package/api/sportal365-sports/basketball/games/types.d.ts.map +1 -0
- package/api/sportal365-sports/basketball/http.d.ts +8 -0
- package/api/sportal365-sports/basketball/http.d.ts.map +1 -0
- package/api/sportal365-sports/basketball/index.d.ts +6 -0
- package/api/sportal365-sports/basketball/index.d.ts.map +1 -0
- package/api/sportal365-sports/football/index.d.ts +2 -2
- package/api/sportal365-sports/football/index.d.ts.map +1 -1
- package/api/sportal365-sports/football/matches/index.d.ts +39 -2
- package/api/sportal365-sports/football/matches/index.d.ts.map +1 -1
- package/api/sportal365-sports/football/matches/types/index.d.ts +1 -1
- package/api/sportal365-sports/football/matches/types/index.d.ts.map +1 -1
- package/api/sportal365-sports/football/matches/types/option.types.d.ts +38 -0
- package/api/sportal365-sports/football/matches/types/option.types.d.ts.map +1 -1
- package/api/sportal365-sports/index.d.ts +6 -2
- package/api/sportal365-sports/index.d.ts.map +1 -1
- package/api/sportal365-sports/tennis/http.d.ts +8 -0
- package/api/sportal365-sports/tennis/http.d.ts.map +1 -0
- package/api/sportal365-sports/tennis/index.d.ts +6 -0
- package/api/sportal365-sports/tennis/index.d.ts.map +1 -0
- package/api/sportal365-sports/tennis/matches/index.d.ts +33 -0
- package/api/sportal365-sports/tennis/matches/index.d.ts.map +1 -0
- package/api/sportal365-sports/tennis/matches/transformers/match.d.ts +11 -0
- package/api/sportal365-sports/tennis/matches/transformers/match.d.ts.map +1 -0
- package/api/sportal365-sports/tennis/matches/types.d.ts +153 -0
- package/api/sportal365-sports/tennis/matches/types.d.ts.map +1 -0
- package/client.cjs +1 -1
- package/client.js +2 -2
- package/fansunited-data-layer.cjs +1 -1
- package/fansunited-data-layer.js +963 -616
- package/index.d.ts +4 -4
- package/index.d.ts.map +1 -1
- package/matches-DRzEEGm5.cjs +1 -0
- package/{matches-CBFdPkPa.js → matches-KOom0gwu.js} +229 -198
- package/package.json +1 -1
- package/matches-DKjnuuq_.cjs +0 -1
|
@@ -8,8 +8,8 @@ export { getFansUnitedFootballCompetitions } from "./competitions";
|
|
|
8
8
|
export type { GetFootballCompetitionsOptions } from "./competitions/types";
|
|
9
9
|
export { getFansUnitedFootballCompetition } from "./competition";
|
|
10
10
|
export type { GetFootballCompetitionOptions } from "./competition/types";
|
|
11
|
-
export { getFansUnitedFootballTeam } from "./teams";
|
|
12
|
-
export type { GetFootballTeamOptions } from "./teams/types";
|
|
11
|
+
export { getFansUnitedFootballTeam, getFansUnitedFootballTeams } from "./teams";
|
|
12
|
+
export type { GetFootballTeamOptions, GetFootballTeamsOptions } from "./teams/types";
|
|
13
13
|
export { getFansUnitedFootballPlayer, getFansUnitedFootballPlayers } from "./players";
|
|
14
14
|
export type { GetFootballPlayerOptions, GetFootballPlayersOptions } from "./players/types";
|
|
15
15
|
export { getFansUnitedFootballMatch, getFansUnitedFootballMatches } from "./matches";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/api/fansunited/football/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,iCAAiC,EAAE,MAAM,gBAAgB,CAAC;AACnE,YAAY,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAG3E,OAAO,EAAE,gCAAgC,EAAE,MAAM,eAAe,CAAC;AACjE,YAAY,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AAGzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/api/fansunited/football/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,iCAAiC,EAAE,MAAM,gBAAgB,CAAC;AACnE,YAAY,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAG3E,OAAO,EAAE,gCAAgC,EAAE,MAAM,eAAe,CAAC;AACjE,YAAY,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AAGzE,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAChF,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAGrF,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AACtF,YAAY,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAG3F,OAAO,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AACrF,YAAY,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAG1F,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AACvD,YAAY,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { FUSportsTeamCompetitor } from "../../../../types/canonical";
|
|
5
5
|
import { type DataLayerConfig } from "../../../../config";
|
|
6
|
-
import type { GetFootballTeamOptions } from "./types";
|
|
7
|
-
export type { GetFootballTeamOptions } from "./types";
|
|
6
|
+
import type { GetFootballTeamOptions, GetFootballTeamsOptions } from "./types";
|
|
7
|
+
export type { GetFootballTeamOptions, GetFootballTeamsOptions } from "./types";
|
|
8
8
|
/**
|
|
9
9
|
* Get a football team by ID from Fans United Football API
|
|
10
10
|
*
|
|
@@ -27,4 +27,45 @@ export type { GetFootballTeamOptions } from "./types";
|
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
export declare function getFansUnitedFootballTeam(teamId: string, options?: GetFootballTeamOptions, config?: DataLayerConfig): Promise<FUSportsTeamCompetitor>;
|
|
30
|
+
/**
|
|
31
|
+
* Get multiple football teams from Fans United Football API
|
|
32
|
+
*
|
|
33
|
+
* @param options - Query options for filtering, sorting, and pagination
|
|
34
|
+
* @param config - Optional data layer config (uses singleton if not provided)
|
|
35
|
+
* @returns Array of teams in canonical format
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import { getFansUnitedFootballTeams } from 'fansunited-data-layer';
|
|
40
|
+
*
|
|
41
|
+
* // Get teams by IDs
|
|
42
|
+
* const teams = await getFansUnitedFootballTeams({
|
|
43
|
+
* teamIds: 'fb:t:8102,fb:t:8104',
|
|
44
|
+
* lang: 'EN'
|
|
45
|
+
* });
|
|
46
|
+
*
|
|
47
|
+
* // Get teams from a specific competition
|
|
48
|
+
* const competitionTeams = await getFansUnitedFootballTeams({
|
|
49
|
+
* scope: 'fb:c:478',
|
|
50
|
+
* limit: 50,
|
|
51
|
+
* sortField: 'name',
|
|
52
|
+
* sortOrder: 'asc'
|
|
53
|
+
* });
|
|
54
|
+
*
|
|
55
|
+
* // Search teams by name
|
|
56
|
+
* const searchResults = await getFansUnitedFootballTeams({
|
|
57
|
+
* name: 'Manchester',
|
|
58
|
+
* limit: 10
|
|
59
|
+
* });
|
|
60
|
+
*
|
|
61
|
+
* // Get only national teams
|
|
62
|
+
* const nationalTeams = await getFansUnitedFootballTeams({
|
|
63
|
+
* national: true,
|
|
64
|
+
* gender: 'male',
|
|
65
|
+
* sortField: 'name',
|
|
66
|
+
* sortOrder: 'asc'
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
export declare function getFansUnitedFootballTeams(options?: GetFootballTeamsOptions, config?: DataLayerConfig): Promise<FUSportsTeamCompetitor[]>;
|
|
30
71
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/api/fansunited/football/teams/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErE,OAAO,KAAK,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/api/fansunited/football/teams/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErE,OAAO,KAAK,EAAE,sBAAsB,EAAE,uBAAuB,EAAqC,MAAM,SAAS,CAAC;AAIlH,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAE/E;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,yBAAyB,CAC3C,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,sBAAsB,EAChC,MAAM,CAAC,EAAE,eAAe,GACzB,OAAO,CAAC,sBAAsB,CAAC,CAkBjC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAsB,0BAA0B,CAC5C,OAAO,CAAC,EAAE,uBAAuB,EACjC,MAAM,CAAC,EAAE,eAAe,GACzB,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAsDnC"}
|
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
* Transform raw team data to canonical FUSports types
|
|
3
3
|
*/
|
|
4
4
|
import type { FUSportsTeamCompetitor } from "../../../../types/canonical";
|
|
5
|
-
import type { RawTeamResponse } from "./types";
|
|
5
|
+
import type { RawTeamResponse, RawTeamsResponse } from "./types";
|
|
6
6
|
/**
|
|
7
7
|
* Transform raw team response to canonical FUSportsTeamCompetitor
|
|
8
8
|
*/
|
|
9
9
|
export declare function transformTeam(raw: RawTeamResponse): FUSportsTeamCompetitor;
|
|
10
|
+
/**
|
|
11
|
+
* Transform raw teams response to array of canonical FUSportsTeamCompetitor
|
|
12
|
+
*/
|
|
13
|
+
export declare function transformTeams(raw: RawTeamsResponse): FUSportsTeamCompetitor[];
|
|
10
14
|
//# sourceMappingURL=transformer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformer.d.ts","sourceRoot":"","sources":["../../../../../src/lib/api/fansunited/football/teams/transformer.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAuB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"transformer.d.ts","sourceRoot":"","sources":["../../../../../src/lib/api/fansunited/football/teams/transformer.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAuB,MAAM,SAAS,CAAC;AA0DtF;;GAEG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,eAAe,GAAG,sBAAsB,CAE1E;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,gBAAgB,GAAG,sBAAsB,EAAE,CAE9E"}
|
|
@@ -78,10 +78,53 @@ export interface RawTeam {
|
|
|
78
78
|
export interface RawTeamResponse {
|
|
79
79
|
data: RawTeam;
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Raw response metadata for paginated endpoints
|
|
83
|
+
*/
|
|
84
|
+
export interface RawResponseMeta {
|
|
85
|
+
total: number;
|
|
86
|
+
per_page: number;
|
|
87
|
+
current_page: number;
|
|
88
|
+
last_page: number;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Raw teams response from /v1/teams
|
|
92
|
+
* The API wraps the teams array in a "data" property and includes metadata
|
|
93
|
+
*/
|
|
94
|
+
export interface RawTeamsResponse {
|
|
95
|
+
meta: RawResponseMeta;
|
|
96
|
+
data: RawTeam[];
|
|
97
|
+
}
|
|
81
98
|
export interface GetFootballTeamOptions {
|
|
82
99
|
/** Language code for translations (e.g., 'EN', 'BG'). Defaults to 'EN' */
|
|
83
100
|
lang?: string;
|
|
84
101
|
/** Next.js cache options for ISR/on-demand revalidation */
|
|
85
102
|
next?: NextCacheOptions;
|
|
86
103
|
}
|
|
104
|
+
export interface GetFootballTeamsOptions {
|
|
105
|
+
/** Language code for translations (e.g., 'EN', 'BG'). Defaults to 'EN' */
|
|
106
|
+
lang?: string;
|
|
107
|
+
/** Filter by comma-separated team IDs (e.g., 'fb:t:8102,fb:t:8104') */
|
|
108
|
+
teamIds?: string;
|
|
109
|
+
/** Filter by country ID (e.g., 'fb:cnt:1224') */
|
|
110
|
+
countryId?: string;
|
|
111
|
+
/** Full-text search by team name */
|
|
112
|
+
name?: string;
|
|
113
|
+
/** Filter by comma-separated competition IDs (e.g., 'fb:c:478,fb:c:479'). Maximum is 15. */
|
|
114
|
+
scope?: string;
|
|
115
|
+
/** Filter by team type: national teams or clubs */
|
|
116
|
+
national?: boolean;
|
|
117
|
+
/** Filter by gender */
|
|
118
|
+
gender?: "male" | "female";
|
|
119
|
+
/** Number of teams returned by the request. Default is 20. Maximum is 200. */
|
|
120
|
+
limit?: number;
|
|
121
|
+
/** Choose the page in the result set. Starts from 1. */
|
|
122
|
+
page?: number;
|
|
123
|
+
/** The field by which the results will be sorted. ID by default. */
|
|
124
|
+
sortField?: string;
|
|
125
|
+
/** The direction of the sorting: ascending or descending */
|
|
126
|
+
sortOrder?: "asc" | "desc";
|
|
127
|
+
/** Next.js cache options for ISR/on-demand revalidation */
|
|
128
|
+
next?: NextCacheOptions;
|
|
129
|
+
}
|
|
87
130
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/api/fansunited/football/teams/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAMnD,MAAM,WAAW,UAAU;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE;QACL,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACL;AAED,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI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E,MAAM,GAAG,IAAI,CAAC;KAC5B,CAAC;IACF,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,OAAO,CAAC;CACjB;AAMD,MAAM,WAAW,sBAAsB;IACnC,0EAA0E;IAC1E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,IAAI,CAAC,EAAE,gBAAgB,CAAC;CAC3B"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/api/fansunited/football/teams/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAMnD,MAAM,WAAW,UAAU;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE;QACL,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACL;AAED,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,SAAS,CAAC,EAAE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|
|
4
4
|
* API layer for communicating with Fans United APIs.
|
|
5
5
|
* All public functions return canonical FUSports types.
|
|
6
6
|
*/
|
|
7
|
-
export { getFansUnitedFootballCompetitions, getFansUnitedFootballCompetition, getFansUnitedFootballTeam, getFansUnitedFootballPlayer, getFansUnitedFootballPlayers, getFansUnitedFootballMatch, getFansUnitedFootballMatches, getFansUnitedFootballSearch, } from "./football";
|
|
8
|
-
export type { GetFootballCompetitionsOptions, GetFootballCompetitionOptions, GetFootballTeamOptions, GetFootballPlayerOptions, GetFootballPlayersOptions, GetFootballMatchOptions, GetFootballMatchesOptions, GetFootballSearchOptions, SearchEntityType, FansUnitedFootballSearchResult, } from "./football";
|
|
7
|
+
export { getFansUnitedFootballCompetitions, getFansUnitedFootballCompetition, getFansUnitedFootballTeam, getFansUnitedFootballTeams, getFansUnitedFootballPlayer, getFansUnitedFootballPlayers, getFansUnitedFootballMatch, getFansUnitedFootballMatches, getFansUnitedFootballSearch, } from "./football";
|
|
8
|
+
export type { GetFootballCompetitionsOptions, GetFootballCompetitionOptions, GetFootballTeamOptions, GetFootballTeamsOptions, GetFootballPlayerOptions, GetFootballPlayersOptions, GetFootballMatchOptions, GetFootballMatchesOptions, GetFootballSearchOptions, SearchEntityType, FansUnitedFootballSearchResult, } from "./football";
|
|
9
9
|
export type { NextCacheOptions } from "./http";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/api/fansunited/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACH,iCAAiC,EACjC,gCAAgC,EAChC,yBAAyB,EACzB,2BAA2B,EAC3B,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,EAC5B,2BAA2B,GAC9B,MAAM,YAAY,CAAC;AAEpB,YAAY,EACR,8BAA8B,EAC9B,6BAA6B,EAC7B,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,EAChB,8BAA8B,GACjC,MAAM,YAAY,CAAC;AAGpB,YAAY,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/api/fansunited/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACH,iCAAiC,EACjC,gCAAgC,EAChC,yBAAyB,EACzB,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,EAC5B,2BAA2B,GAC9B,MAAM,YAAY,CAAC;AAEpB,YAAY,EACR,8BAA8B,EAC9B,6BAA6B,EAC7B,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,EAChB,8BAA8B,GACjC,MAAM,YAAY,CAAC;AAGpB,YAAY,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Basketball games API functions
|
|
3
|
+
*/
|
|
4
|
+
import type { FUSportsMatch } from "../../../../types/canonical";
|
|
5
|
+
import type { DataLayerConfig } from "../../../../config";
|
|
6
|
+
import type { GetBasketballLivescoreOptions } from "./types";
|
|
7
|
+
/**
|
|
8
|
+
* Get basketball livescore data
|
|
9
|
+
*
|
|
10
|
+
* Fetches live and recent basketball games from the Sportal365 Basketball API.
|
|
11
|
+
* Returns data in canonical FUSportsMatch format.
|
|
12
|
+
*
|
|
13
|
+
* @param options - Optional filters and configuration
|
|
14
|
+
* @param config - Optional data layer configuration
|
|
15
|
+
* @returns Array of basketball matches in canonical format
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```typescript
|
|
19
|
+
* // Get all live basketball games
|
|
20
|
+
* const liveGames = await getBasketballLivescore({
|
|
21
|
+
* statusTypes: ['LIVE']
|
|
22
|
+
* });
|
|
23
|
+
*
|
|
24
|
+
* // Get games for a specific competition
|
|
25
|
+
* const nbaGames = await getBasketballLivescore({
|
|
26
|
+
* competitionList: 'nba',
|
|
27
|
+
* statusTypes: ['LIVE', 'NOT_STARTED']
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare function getBasketballLivescore(options?: GetBasketballLivescoreOptions, config?: DataLayerConfig): Promise<FUSportsMatch[]>;
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/api/sportal365-sports/basketball/games/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,OAAO,KAAK,EAAqB,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAGhF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAsB,sBAAsB,CACxC,OAAO,CAAC,EAAE,6BAA6B,EACvC,MAAM,CAAC,EAAE,eAAe,GACzB,OAAO,CAAC,aAAa,EAAE,CAAC,CAuB1B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Basketball game transformation utilities
|
|
3
|
+
* Transforms raw Basketball API game responses to canonical FUSports types
|
|
4
|
+
*/
|
|
5
|
+
import type { FUSportsMatch } from "../../../../../types/canonical";
|
|
6
|
+
import type { RawBasketballGame } from "../types";
|
|
7
|
+
/**
|
|
8
|
+
* Transform raw basketball game response to canonical FUSportsMatch
|
|
9
|
+
*/
|
|
10
|
+
export declare function transformBasketballGame(raw: RawBasketballGame): FUSportsMatch;
|
|
11
|
+
//# sourceMappingURL=game.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"game.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/api/sportal365-sports/basketball/games/transformers/game.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EACR,aAAa,EAQhB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AA8IlD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,iBAAiB,GAAG,aAAa,CAoC7E"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Basketball game types for Sportal365 Sports API
|
|
3
|
+
*/
|
|
4
|
+
import type { NextCacheOptions } from "../../http";
|
|
5
|
+
export interface RawBasketballTeam {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
slug: string;
|
|
9
|
+
type?: "national" | "placeholder" | "club";
|
|
10
|
+
gender?: "MALE" | "FEMALE";
|
|
11
|
+
three_letter_code?: string;
|
|
12
|
+
entity_type: string;
|
|
13
|
+
}
|
|
14
|
+
export interface RawBasketballStatus {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
type: "NOT_STARTED" | "LIVE" | "FINISHED" | "CANCELLED" | "INTERRUPTED" | "UNKNOWN" | "POSTPONED";
|
|
18
|
+
entity_type: string;
|
|
19
|
+
short_name?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface RawBasketballResultType {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
type: string;
|
|
25
|
+
category: string;
|
|
26
|
+
entity_type: string;
|
|
27
|
+
short_name?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface RawBasketballScore {
|
|
30
|
+
home: number;
|
|
31
|
+
away: number;
|
|
32
|
+
winner?: "HOME" | "AWAY" | "NOT_AVAILABLE";
|
|
33
|
+
result_type: RawBasketballResultType;
|
|
34
|
+
}
|
|
35
|
+
export interface RawBasketballWinner {
|
|
36
|
+
id: string;
|
|
37
|
+
}
|
|
38
|
+
export interface RawBasketballSeason {
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
slug: string;
|
|
42
|
+
competition: {
|
|
43
|
+
id: string;
|
|
44
|
+
name: string;
|
|
45
|
+
slug: string;
|
|
46
|
+
country: {
|
|
47
|
+
id: string;
|
|
48
|
+
name: string;
|
|
49
|
+
slug: string;
|
|
50
|
+
entity_type: string;
|
|
51
|
+
};
|
|
52
|
+
gender: "MALE" | "FEMALE";
|
|
53
|
+
region: "INTERNATIONAL" | "DOMESTIC";
|
|
54
|
+
entity_type: string;
|
|
55
|
+
};
|
|
56
|
+
status: "ACTIVE" | "INACTIVE";
|
|
57
|
+
entity_type: string;
|
|
58
|
+
}
|
|
59
|
+
export interface RawBasketballStage {
|
|
60
|
+
id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
slug: string;
|
|
63
|
+
status: "ACTIVE" | "INACTIVE";
|
|
64
|
+
entity_type: string;
|
|
65
|
+
type: "PLAYOFF" | "LEAGUE" | "UNKNOWN";
|
|
66
|
+
}
|
|
67
|
+
export interface RawBasketballRound {
|
|
68
|
+
id: string;
|
|
69
|
+
name: string;
|
|
70
|
+
uuid: string;
|
|
71
|
+
entity_type: string;
|
|
72
|
+
}
|
|
73
|
+
export interface RawBasketballArena {
|
|
74
|
+
id: string;
|
|
75
|
+
name: string;
|
|
76
|
+
slug: string;
|
|
77
|
+
entity_type: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Full game response from /games endpoint
|
|
81
|
+
*/
|
|
82
|
+
export interface RawBasketballGame {
|
|
83
|
+
id: string;
|
|
84
|
+
slug: string;
|
|
85
|
+
stage?: RawBasketballStage;
|
|
86
|
+
season?: RawBasketballSeason;
|
|
87
|
+
status: RawBasketballStatus;
|
|
88
|
+
round?: RawBasketballRound;
|
|
89
|
+
score?: RawBasketballScore[];
|
|
90
|
+
winner?: RawBasketballWinner;
|
|
91
|
+
arena?: RawBasketballArena;
|
|
92
|
+
coverage?: string;
|
|
93
|
+
minute?: number;
|
|
94
|
+
game_time: string;
|
|
95
|
+
home_team: RawBasketballTeam;
|
|
96
|
+
away_team: RawBasketballTeam;
|
|
97
|
+
odds?: unknown[];
|
|
98
|
+
}
|
|
99
|
+
export type BasketballMatchStatusType = "NOT_STARTED" | "LIVE" | "FINISHED" | "CANCELLED" | "INTERRUPTED" | "UNKNOWN" | "POSTPONED";
|
|
100
|
+
export interface GetBasketballLivescoreOptions {
|
|
101
|
+
/** Language code for translations (e.g., 'en', 'bg') */
|
|
102
|
+
languageCode?: string;
|
|
103
|
+
/** Filter by competition list */
|
|
104
|
+
competitionList?: string;
|
|
105
|
+
/** Filter by status types */
|
|
106
|
+
statusTypes?: BasketballMatchStatusType[];
|
|
107
|
+
/** Odd client code */
|
|
108
|
+
oddClient?: string;
|
|
109
|
+
/** Odd type */
|
|
110
|
+
oddType?: "LIVE" | "PRE_EVENT" | "ALL";
|
|
111
|
+
/** Market types for odds */
|
|
112
|
+
marketTypes?: string[];
|
|
113
|
+
/** Next.js cache options */
|
|
114
|
+
next?: NextCacheOptions;
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/api/sportal365-sports/basketball/games/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAMnD,MAAM,WAAW,iBAAiB;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,UAAU,GAAG,aAAa,GAAG,MAAM,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,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AAM,yBAAyB,GAC/B,aAAa,GACb,MAAM,GACN,UAAU,GACV,WAAW,GACX,aAAa,GACb,SAAS,GACT,WAAW,CAAC;AAElB,MAAM,WAAW,6BAA6B;IAC1C,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,iCAAiC;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAE1C,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,eAAe;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,KAAK,CAAC;IAEvC,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAEvB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,gBAAgB,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../src/lib/api/sportal365-sports/basketball/http.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH;;GAEG;AACH,eAAO,MAAM,cAAc,wCAAiD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/api/sportal365-sports/basketball/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACjD,YAAY,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Football-specific endpoints for the Sportal365 Sports API.
|
|
5
5
|
* All functions return canonical FUSports types.
|
|
6
6
|
*/
|
|
7
|
-
export { getFootballMatch, getFootballMatchEvents, getFootballMatchLineups, getFootballMatchOdds, getFootballMatchStatistics, getFootballMatchCommentary, getFootballMatches, } from "./matches";
|
|
8
|
-
export type { GetFootballMatchOptions, GetFootballMatchEventsOptions, GetFootballMatchLineupsOptions, GetFootballMatchOddsOptions, GetFootballMatchStatisticsOptions, GetFootballMatchCommentaryOptions, GetFootballMatchesOptions, OddType, ScopeType, OddFormat, MarketType, OptionalMatchData, MatchStatusType, SortDirection, } from "./matches";
|
|
7
|
+
export { getFootballMatch, getFootballMatchEvents, getFootballMatchLineups, getFootballMatchOdds, getFootballMatchStatistics, getFootballMatchCommentary, getFootballMatches, getFootballLivescore, } from "./matches";
|
|
8
|
+
export type { GetFootballMatchOptions, GetFootballMatchEventsOptions, GetFootballMatchLineupsOptions, GetFootballMatchOddsOptions, GetFootballMatchStatisticsOptions, GetFootballMatchCommentaryOptions, GetFootballMatchesOptions, GetFootballLivescoreOptions, OddType, ScopeType, OddFormat, MarketType, OptionalMatchData, MatchStatusType, SortDirection, SelectionFilter, } from "./matches";
|
|
9
9
|
export { getFootballTeam, getFootballTeamSquad } from "./teams";
|
|
10
10
|
export type { GetFootballTeamOptions, GetFootballTeamSquadOptions } from "./teams";
|
|
11
11
|
export { getFootballCompetition, getFootballSeasonDetails } from "./competitions";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/api/sportal365-sports/football/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACH,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/api/sportal365-sports/football/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACH,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,kBAAkB,EAClB,oBAAoB,GACvB,MAAM,WAAW,CAAC;AAEnB,YAAY,EACR,uBAAuB,EACvB,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,iCAAiC,EACjC,iCAAiC,EACjC,yBAAyB,EACzB,2BAA2B,EAC3B,OAAO,EACP,SAAS,EACT,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,eAAe,GAClB,MAAM,WAAW,CAAC;AAGnB,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAChE,YAAY,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAGnF,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAClF,YAAY,EAAE,6BAA6B,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AAGrG,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,YAAY,EAAE,2BAA2B,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC;AAG9F,OAAO,EAAE,iCAAiC,EAAE,MAAM,cAAc,CAAC;AACjE,YAAY,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AAG7E,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { FUSportsMatch, FUSportsMatchEvent, FUSportsMatchLineups, FUSportsMatchStatistics, FUSportsMatchOdds, FUSportsCommentaryItem } from "../../../../types/canonical";
|
|
7
7
|
import { type DataLayerConfig } from "../../../../config";
|
|
8
|
-
import type { GetFootballMatchOptions, GetFootballMatchEventsOptions, GetFootballMatchLineupsOptions, GetFootballMatchOddsOptions, GetFootballMatchStatisticsOptions, GetFootballMatchCommentaryOptions, GetFootballMatchesOptions } from "./types";
|
|
9
|
-
export type { GetFootballMatchOptions, GetFootballMatchEventsOptions, GetFootballMatchLineupsOptions, GetFootballMatchOddsOptions, GetFootballMatchStatisticsOptions, GetFootballMatchCommentaryOptions, GetFootballMatchesOptions, OddType, ScopeType, OddFormat, MarketType, OptionalMatchData, MatchStatusType, SortDirection, } from "./types";
|
|
8
|
+
import type { GetFootballMatchOptions, GetFootballMatchEventsOptions, GetFootballMatchLineupsOptions, GetFootballMatchOddsOptions, GetFootballMatchStatisticsOptions, GetFootballMatchCommentaryOptions, GetFootballMatchesOptions, GetFootballLivescoreOptions } from "./types";
|
|
9
|
+
export type { GetFootballMatchOptions, GetFootballMatchEventsOptions, GetFootballMatchLineupsOptions, GetFootballMatchOddsOptions, GetFootballMatchStatisticsOptions, GetFootballMatchCommentaryOptions, GetFootballMatchesOptions, GetFootballLivescoreOptions, OddType, ScopeType, OddFormat, MarketType, OptionalMatchData, MatchStatusType, SortDirection, SelectionFilter, } from "./types";
|
|
10
10
|
/**
|
|
11
11
|
* Get a football match by ID, UUID, or slug
|
|
12
12
|
*
|
|
@@ -148,4 +148,41 @@ export declare function getFootballMatchCommentary(matchId: string, options?: Ge
|
|
|
148
148
|
* ```
|
|
149
149
|
*/
|
|
150
150
|
export declare function getFootballMatches(options: GetFootballMatchesOptions, config?: DataLayerConfig): Promise<FUSportsMatch[]>;
|
|
151
|
+
/**
|
|
152
|
+
* Get livescore matches
|
|
153
|
+
*
|
|
154
|
+
* This endpoint is optimized for livescore use cases and provides a simpler
|
|
155
|
+
* interface compared to the general matches endpoint. It's designed for
|
|
156
|
+
* fetching matches by date, tournament group, or status.
|
|
157
|
+
*
|
|
158
|
+
* @param options - Filter options for livescore matches
|
|
159
|
+
* @param config - Optional data layer config (uses singleton if not provided)
|
|
160
|
+
* @returns Array of canonical FUSportsMatch objects
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* ```typescript
|
|
164
|
+
* // Get all live matches
|
|
165
|
+
* const liveMatches = await getFootballLivescore({
|
|
166
|
+
* statusTypes: ['LIVE']
|
|
167
|
+
* });
|
|
168
|
+
*
|
|
169
|
+
* // Get matches for a specific date
|
|
170
|
+
* const todayMatches = await getFootballLivescore({
|
|
171
|
+
* date: '2024-01-15',
|
|
172
|
+
* utcOffset: 2
|
|
173
|
+
* });
|
|
174
|
+
*
|
|
175
|
+
* // Get matches for a tournament group with main events
|
|
176
|
+
* const premierLeague = await getFootballLivescore({
|
|
177
|
+
* tournamentGroup: 'premier_league',
|
|
178
|
+
* optionalData: 'MAIN_EVENTS'
|
|
179
|
+
* });
|
|
180
|
+
*
|
|
181
|
+
* // Get specific matches by IDs
|
|
182
|
+
* const matches = await getFootballLivescore({
|
|
183
|
+
* matchIds: ['7576255', '7576256']
|
|
184
|
+
* });
|
|
185
|
+
* ```
|
|
186
|
+
*/
|
|
187
|
+
export declare function getFootballLivescore(options?: GetFootballLivescoreOptions, config?: DataLayerConfig): Promise<FUSportsMatch[]>;
|
|
151
188
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/api/sportal365-sports/football/matches/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACR,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErE,OAAO,KAAK,EAMR,uBAAuB,EACvB,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,iCAAiC,EACjC,iCAAiC,EACjC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/api/sportal365-sports/football/matches/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACR,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACzB,MAAM,6BAA6B,CAAC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,CAC5C,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,iCAAiC,EAC3C,MAAM,CAAC,EAAE,eAAe,GACzB,OAAO,CAAC,uBAAuB,CAAC,CAiBlC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,0BAA0B,CAC5C,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,iCAAiC,EAC3C,MAAM,CAAC,EAAE,eAAe,GACzB,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAiBnC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAsB,kBAAkB,CACpC,OAAO,EAAE,yBAAyB,EAClC,MAAM,CAAC,EAAE,eAAe,GACzB,OAAO,CAAC,aAAa,EAAE,CAAC,CAsD1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAsB,oBAAoB,CACtC,OAAO,CAAC,EAAE,2BAA2B,EACrC,MAAM,CAAC,EAAE,eAAe,GACzB,OAAO,CAAC,aAAa,EAAE,CAAC,CAiC1B"}
|
|
@@ -10,7 +10,7 @@ export type { RawMatchMinute } from "./minute.types";
|
|
|
10
10
|
export type { RawOddsBookmakerAsset, RawOddsBookmakerLink, RawOddsBookmakerBranding, RawOddsBookmakerEventUrl, RawOddsBookmaker, RawOddsMarketType, RawOddsMarketScope, RawOddsSelectionUrl, RawOddsSelectionProviderInfo, RawOddsSelection, RawOddsMarket, RawMatchOdd, } from "./odds.types";
|
|
11
11
|
export type { RawLineupCountry, RawLineupPlayerDetails, RawLineupPlayerType, RawLineupPlayerEntry, RawLineupCoach, RawTeamLineup, RawMatchLineups, } from "./lineup.types";
|
|
12
12
|
export type { RawStatisticsData, RawTeamStatisticsEntry, RawMatchStatisticsResponse } from "./statistics.types";
|
|
13
|
-
export type { OddType, ScopeType, OddFormat, MarketType, OptionalMatchData, MatchStatusType, SortDirection, GetFootballMatchOptions, GetFootballMatchEventsOptions, GetFootballMatchLineupsOptions, GetFootballMatchOddsOptions, GetFootballMatchStatisticsOptions, GetFootballMatchesOptions, } from "./option.types";
|
|
13
|
+
export type { OddType, ScopeType, OddFormat, MarketType, OptionalMatchData, MatchStatusType, SortDirection, SelectionFilter, GetFootballMatchOptions, GetFootballMatchEventsOptions, GetFootballMatchLineupsOptions, GetFootballMatchOddsOptions, GetFootballMatchStatisticsOptions, GetFootballMatchesOptions, GetFootballLivescoreOptions, } from "./option.types";
|
|
14
14
|
export type { RawCommentaryDetail, RawCommentary, GetFootballMatchCommentaryOptions } from "./commentary.types";
|
|
15
15
|
export type { RawMatchCoverage, RawLineupStatus, RawMatch } from "./match.types";
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/api/sportal365-sports/football/matches/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGzE,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,YAAY,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG1E,YAAY,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGvD,YAAY,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGtG,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGrD,YAAY,EACR,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,4BAA4B,EAC5B,gBAAgB,EAChB,aAAa,EACb,WAAW,GACd,MAAM,cAAc,CAAC;AAGtB,YAAY,EACR,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,eAAe,GAClB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGhH,YAAY,EACR,OAAO,EACP,SAAS,EACT,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,uBAAuB,EACvB,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,iCAAiC,EACjC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/api/sportal365-sports/football/matches/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGzE,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,YAAY,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG1E,YAAY,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGvD,YAAY,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGtG,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGrD,YAAY,EACR,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,4BAA4B,EAC5B,gBAAgB,EAChB,aAAa,EACb,WAAW,GACd,MAAM,cAAc,CAAC;AAGtB,YAAY,EACR,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,eAAe,GAClB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGhH,YAAY,EACR,OAAO,EACP,SAAS,EACT,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,eAAe,EACf,uBAAuB,EACvB,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,iCAAiC,EACjC,yBAAyB,EACzB,2BAA2B,GAC9B,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EAAE,mBAAmB,EAAE,aAAa,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AAGhH,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -126,4 +126,42 @@ export interface GetFootballMatchesOptions {
|
|
|
126
126
|
/** Next.js cache options for ISR/on-demand revalidation */
|
|
127
127
|
next?: NextCacheOptions;
|
|
128
128
|
}
|
|
129
|
+
/** Selection filter for livescore endpoint */
|
|
130
|
+
export type SelectionFilter = "ENABLED" | "DISABLED";
|
|
131
|
+
/**
|
|
132
|
+
* Options for fetching livescore matches
|
|
133
|
+
*
|
|
134
|
+
* This endpoint is optimized for livescore use cases and provides a simpler
|
|
135
|
+
* interface compared to the general matches endpoint.
|
|
136
|
+
*/
|
|
137
|
+
export interface GetFootballLivescoreOptions {
|
|
138
|
+
/** Language code for translations (e.g., 'en', 'bg'). Defaults to 'en' */
|
|
139
|
+
languageCode?: string;
|
|
140
|
+
/** Filter matches by their IDs */
|
|
141
|
+
matchIds?: string[];
|
|
142
|
+
/** Filter matches by the date when they were played (ISO 8601 date format, e.g., '2024-01-15') */
|
|
143
|
+
date?: string;
|
|
144
|
+
/** Filter matches by date and UTC offset, allowed value range: [-12,14] */
|
|
145
|
+
utcOffset?: number;
|
|
146
|
+
/** Filter matches by a tournament group code */
|
|
147
|
+
tournamentGroup?: string;
|
|
148
|
+
/** Filter matches by status types (e.g., 'LIVE', 'FINISHED', 'NOT_STARTED') */
|
|
149
|
+
statusTypes?: MatchStatusType[];
|
|
150
|
+
/** Fetch selected matches for specific date and tournament_group. Defaults to 'ENABLED' */
|
|
151
|
+
selectionFilter?: SelectionFilter;
|
|
152
|
+
/** Filter matches by odd client */
|
|
153
|
+
oddClient?: string;
|
|
154
|
+
/** Type of odds to include. Defaults to 'ALL' */
|
|
155
|
+
oddType?: OddType;
|
|
156
|
+
/** Scope type for odds. Defaults to 'ORDINARY_TIME' */
|
|
157
|
+
scopeType?: ScopeType;
|
|
158
|
+
/** Format of odds */
|
|
159
|
+
oddFormat?: OddFormat;
|
|
160
|
+
/** Market types to include. NOTE: default value is ['1x2'] */
|
|
161
|
+
marketTypes?: MarketType[];
|
|
162
|
+
/** Optional data to include in response (e.g., 'MAIN_EVENTS' for goals, cards, etc.) */
|
|
163
|
+
optionalData?: "MAIN_EVENTS";
|
|
164
|
+
/** Next.js cache options for ISR/on-demand revalidation */
|
|
165
|
+
next?: NextCacheOptions;
|
|
166
|
+
}
|
|
129
167
|
//# sourceMappingURL=option.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option.types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/api/sportal365-sports/football/matches/types/option.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,WAAW,GAAG,KAAK,CAAC;AACnD,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,WAAW,CAAC;AACtD,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,SAAS,GAAG,WAAW,CAAC;AAC/D,MAAM,MAAM,UAAU,GAChB,KAAK,GACL,IAAI,GACJ,YAAY,GACZ,eAAe,GACf,eAAe,GACf,aAAa,GACb,qBAAqB,GACrB,eAAe,GACf,kBAAkB,GAClB,uBAAuB,GACvB,6BAA6B,GAC7B,wBAAwB,GACxB,6BAA6B,CAAC;AACpC,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,eAAe,CAAC;AAEhE,MAAM,WAAW,uBA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,CAAC;IAGlB,wDAAwD;IACxD,WAAW,CAAC,EAAE,eAAe,EAAE,CAAC;IAChC,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAGvB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,qBAAqB;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAGxB,qCAAqC;IACrC,aAAa,CAAC,EAAE,aAAa,CAAC;IAG9B,+CAA+C;IAC/C,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;IAE/B,2DAA2D;IAC3D,IAAI,CAAC,EAAE,gBAAgB,CAAC;CAC3B"}
|
|
1
|
+
{"version":3,"file":"option.types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/api/sportal365-sports/football/matches/types/option.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,WAAW,GAAG,KAAK,CAAC;AACnD,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,WAAW,CAAC;AACtD,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,SAAS,GAAG,WAAW,CAAC;AAC/D,MAAM,MAAM,UAAU,GAChB,KAAK,GACL,IAAI,GACJ,YAAY,GACZ,eAAe,GACf,eAAe,GACf,aAAa,GACb,qBAAqB,GACrB,eAAe,GACf,kBAAkB,GAClB,uBAAuB,GACvB,6BAA6B,GAC7B,wBAAwB,GACxB,6BAA6B,CAAC;AACpC,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,eAAe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;IAClB,uDAAuD;IACvD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,qBAAqB;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,8DAA8D;IAC9D,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAG3B,wFAAwF;IACxF,YAAY,CAAC,EAAE,aAAa,CAAC;IAE7B,2DAA2D;IAC3D,IAAI,CAAC,EAAE,gBAAgB,CAAC;CAC3B"}
|
|
@@ -4,10 +4,14 @@
|
|
|
4
4
|
* API layer for communicating with Sportal365 Sports API.
|
|
5
5
|
* All public functions return canonical FUSports types.
|
|
6
6
|
*/
|
|
7
|
-
export { getFootballMatch, getFootballMatchEvents, getFootballMatchLineups, getFootballMatchOdds, getFootballMatchStatistics, getFootballMatchCommentary, getFootballMatches, getFootballTeam, getFootballTeamSquad, getFootballCompetition, getFootballSeasonDetails, getFootballStandings, getFootballPlayerSeasonStatistics, searchFootball, } from "./football";
|
|
7
|
+
export { getFootballMatch, getFootballMatchEvents, getFootballMatchLineups, getFootballMatchOdds, getFootballMatchStatistics, getFootballMatchCommentary, getFootballMatches, getFootballLivescore, getFootballTeam, getFootballTeamSquad, getFootballCompetition, getFootballSeasonDetails, getFootballStandings, getFootballPlayerSeasonStatistics, searchFootball, } from "./football";
|
|
8
|
+
export { getBasketballLivescore } from "./basketball";
|
|
9
|
+
export { getTennisLivescore } from "./tennis";
|
|
8
10
|
export { search } from "./search";
|
|
9
|
-
export type { GetFootballMatchOptions, GetFootballMatchEventsOptions, GetFootballMatchLineupsOptions, GetFootballMatchOddsOptions, GetFootballMatchStatisticsOptions, GetFootballMatchCommentaryOptions, GetFootballMatchesOptions, GetFootballTeamOptions, GetFootballTeamSquadOptions, GetFootballCompetitionOptions, GetFootballSeasonDetailsOptions, GetFootballStandingsOptions, GetFootballPlayerSeasonStatisticsOptions, GetFootballSearchOptions, SearchEntityType, FootballStandingsExpandOption, OddType, ScopeType, OddFormat, MarketType, OptionalMatchData, MatchStatusType, SortDirection, } from "./football";
|
|
11
|
+
export type { GetFootballMatchOptions, GetFootballMatchEventsOptions, GetFootballMatchLineupsOptions, GetFootballMatchOddsOptions, GetFootballMatchStatisticsOptions, GetFootballMatchCommentaryOptions, GetFootballMatchesOptions, GetFootballLivescoreOptions, GetFootballTeamOptions, GetFootballTeamSquadOptions, GetFootballCompetitionOptions, GetFootballSeasonDetailsOptions, GetFootballStandingsOptions, GetFootballPlayerSeasonStatisticsOptions, GetFootballSearchOptions, SearchEntityType, FootballStandingsExpandOption, OddType, ScopeType, OddFormat, MarketType, OptionalMatchData, MatchStatusType, SortDirection, SelectionFilter, } from "./football";
|
|
10
12
|
export type { GetSportsSearchOptions, SportType, SportsSearchEntityType } from "./search";
|
|
13
|
+
export type { GetBasketballLivescoreOptions, BasketballMatchStatusType } from "./basketball";
|
|
14
|
+
export type { GetTennisLivescoreOptions, TennisMatchStatusType, TennisMatchType, TennisGender } from "./tennis";
|
|
11
15
|
export { getTeamSeasonStatistics } from "./statistics";
|
|
12
16
|
export type { GetTeamSeasonStatisticsOptions } from "./statistics";
|
|
13
17
|
export type { NextCacheOptions } from "./http";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/api/sportal365-sports/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACH,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,iCAAiC,EACjC,cAAc,GACjB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,YAAY,EACR,uBAAuB,EACvB,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,iCAAiC,EACjC,iCAAiC,EACjC,yBAAyB,EACzB,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,EAC7B,+BAA+B,EAC/B,2BAA2B,EAC3B,wCAAwC,EACxC,wBAAwB,EACxB,gBAAgB,EAChB,6BAA6B,EAC7B,OAAO,EACP,SAAS,EACT,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/api/sportal365-sports/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACH,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,iCAAiC,EACjC,cAAc,GACjB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAGtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAG9C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,YAAY,EACR,uBAAuB,EACvB,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,iCAAiC,EACjC,iCAAiC,EACjC,yBAAyB,EACzB,2BAA2B,EAC3B,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,EAC7B,+BAA+B,EAC/B,2BAA2B,EAC3B,wCAAwC,EACxC,wBAAwB,EACxB,gBAAgB,EAChB,6BAA6B,EAC7B,OAAO,EACP,SAAS,EACT,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,eAAe,GAClB,MAAM,YAAY,CAAC;AAEpB,YAAY,EAAE,sBAAsB,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAG1F,YAAY,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAG7F,YAAY,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGhH,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,YAAY,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAGnE,YAAY,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../src/lib/api/sportal365-sports/tennis/http.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH;;GAEG;AACH,eAAO,MAAM,UAAU,wCAA6C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/api/sportal365-sports/tennis/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,YAAY,EACR,yBAAyB,EACzB,qBAAqB,EACrB,eAAe,EACf,YAAY,GACf,MAAM,iBAAiB,CAAC"}
|