@crawlora-org/sofascore 0.1.3 → 0.2.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/package.json +1 -1
- package/src/index.d.ts +84 -0
- package/src/index.js +30 -2
- package/src/operations.js +1207 -67
- package/src/types.d.ts +1170 -57
package/src/types.d.ts
CHANGED
|
@@ -9,6 +9,88 @@ export interface ModelAppResponse {
|
|
|
9
9
|
"msg"?: unknown;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
export interface ModelSofascoreTournamentTopTeamsResponseDoc {
|
|
13
|
+
"code"?: number;
|
|
14
|
+
"data"?: ModelSofascoreTournamentTopTeamsResponse;
|
|
15
|
+
"msg"?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface ModelSofascoreTournamentTopTeamsResponse {
|
|
19
|
+
"categories"?: Array<ModelSofascoreTopTeamCategory>;
|
|
20
|
+
"category_count"?: number;
|
|
21
|
+
"fetched_at"?: string;
|
|
22
|
+
"season_id"?: number;
|
|
23
|
+
"source_url"?: string;
|
|
24
|
+
"sport"?: string;
|
|
25
|
+
"tournament_id"?: number;
|
|
26
|
+
"type"?: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface ModelSofascoreTopTeamCategory {
|
|
30
|
+
"count"?: number;
|
|
31
|
+
"key"?: string;
|
|
32
|
+
"teams"?: Array<ModelSofascoreTopTeamEntry>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface ModelSofascoreTopTeamEntry {
|
|
36
|
+
"details"?: Record<string, number>;
|
|
37
|
+
"matches"?: number;
|
|
38
|
+
"rank"?: number;
|
|
39
|
+
"team"?: ModelSofascoreTeamRef;
|
|
40
|
+
"value"?: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface ModelSofascoreTeamRef {
|
|
44
|
+
"country"?: string;
|
|
45
|
+
"id"?: number;
|
|
46
|
+
"name"?: string;
|
|
47
|
+
"national"?: boolean;
|
|
48
|
+
"short_name"?: string;
|
|
49
|
+
"slug"?: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface ModelSofascoreTournamentTopPlayersResponseDoc {
|
|
53
|
+
"code"?: number;
|
|
54
|
+
"data"?: ModelSofascoreTournamentTopPlayersResponse;
|
|
55
|
+
"msg"?: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface ModelSofascoreTournamentTopPlayersResponse {
|
|
59
|
+
"categories"?: Array<ModelSofascoreTopPlayerCategory>;
|
|
60
|
+
"category_count"?: number;
|
|
61
|
+
"fetched_at"?: string;
|
|
62
|
+
"season_id"?: number;
|
|
63
|
+
"source_url"?: string;
|
|
64
|
+
"sport"?: string;
|
|
65
|
+
"tournament_id"?: number;
|
|
66
|
+
"type"?: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface ModelSofascoreTopPlayerCategory {
|
|
70
|
+
"count"?: number;
|
|
71
|
+
"key"?: string;
|
|
72
|
+
"players"?: Array<ModelSofascoreTopPlayerEntry>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface ModelSofascoreTopPlayerEntry {
|
|
76
|
+
"appearances"?: number;
|
|
77
|
+
"details"?: Record<string, number>;
|
|
78
|
+
"played_enough"?: boolean;
|
|
79
|
+
"player"?: ModelSofascorePlayerRef;
|
|
80
|
+
"rank"?: number;
|
|
81
|
+
"team"?: ModelSofascoreTeamRef;
|
|
82
|
+
"value"?: number;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export interface ModelSofascorePlayerRef {
|
|
86
|
+
"country"?: string;
|
|
87
|
+
"id"?: number;
|
|
88
|
+
"name"?: string;
|
|
89
|
+
"position"?: string;
|
|
90
|
+
"short_name"?: string;
|
|
91
|
+
"slug"?: string;
|
|
92
|
+
}
|
|
93
|
+
|
|
12
94
|
export interface ModelSofascoreTournamentSeasonsResponseDoc {
|
|
13
95
|
"code"?: number;
|
|
14
96
|
"data"?: ModelSofascoreTournamentSeasonsResponse;
|
|
@@ -29,6 +111,203 @@ export interface ModelSofascoreSeason {
|
|
|
29
111
|
"year"?: string;
|
|
30
112
|
}
|
|
31
113
|
|
|
114
|
+
export interface ModelSofascoreTournamentRoundsResponseDoc {
|
|
115
|
+
"code"?: number;
|
|
116
|
+
"data"?: ModelSofascoreTournamentRoundsResponse;
|
|
117
|
+
"msg"?: string;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export interface ModelSofascoreTournamentRoundsResponse {
|
|
121
|
+
"count"?: number;
|
|
122
|
+
"current_round"?: ModelSofascoreRoundRef;
|
|
123
|
+
"fetched_at"?: string;
|
|
124
|
+
"rounds"?: Array<ModelSofascoreRoundRef>;
|
|
125
|
+
"season_id"?: number;
|
|
126
|
+
"source_url"?: string;
|
|
127
|
+
"tournament_id"?: number;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export interface ModelSofascoreRoundRef {
|
|
131
|
+
"name"?: string;
|
|
132
|
+
"prefix"?: string;
|
|
133
|
+
"round"?: number;
|
|
134
|
+
"slug"?: string;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export interface ModelSofascoreTournamentPlayerStatisticsResponseDoc {
|
|
138
|
+
"code"?: number;
|
|
139
|
+
"data"?: ModelSofascoreTournamentPlayerStatisticsResponse;
|
|
140
|
+
"msg"?: string;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface ModelSofascoreTournamentPlayerStatisticsResponse {
|
|
144
|
+
"accumulation"?: string;
|
|
145
|
+
"count"?: number;
|
|
146
|
+
"direction"?: string;
|
|
147
|
+
"fetched_at"?: string;
|
|
148
|
+
"group"?: string;
|
|
149
|
+
"has_next_page"?: boolean;
|
|
150
|
+
"limit"?: number;
|
|
151
|
+
"offset"?: number;
|
|
152
|
+
"order"?: string;
|
|
153
|
+
"page"?: number;
|
|
154
|
+
"players"?: Array<ModelSofascorePlayerStatisticsRow>;
|
|
155
|
+
"season_id"?: number;
|
|
156
|
+
"source_url"?: string;
|
|
157
|
+
"total_pages"?: number;
|
|
158
|
+
"tournament_id"?: number;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export interface ModelSofascorePlayerStatisticsRow {
|
|
162
|
+
"player"?: ModelSofascorePlayerRef;
|
|
163
|
+
"rank"?: number;
|
|
164
|
+
"statistics"?: Record<string, number>;
|
|
165
|
+
"team"?: ModelSofascoreTeamRef;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export interface ModelSofascoreTournamentInfoResponseDoc {
|
|
169
|
+
"code"?: number;
|
|
170
|
+
"data"?: ModelSofascoreTournamentInfoResponse;
|
|
171
|
+
"msg"?: string;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export interface ModelSofascoreTournamentInfoResponse {
|
|
175
|
+
"fetched_at"?: string;
|
|
176
|
+
"season"?: ModelSofascoreSeasonInfo;
|
|
177
|
+
"season_id"?: number;
|
|
178
|
+
"season_source_url"?: string;
|
|
179
|
+
"source_url"?: string;
|
|
180
|
+
"tournament"?: ModelSofascoreTournamentDetail;
|
|
181
|
+
"tournament_id"?: number;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface ModelSofascoreTournamentDetail {
|
|
185
|
+
"category"?: string;
|
|
186
|
+
"current_season_end"?: string;
|
|
187
|
+
"current_season_start"?: string;
|
|
188
|
+
"gender"?: string;
|
|
189
|
+
"has_groups"?: boolean;
|
|
190
|
+
"has_playoff_series"?: boolean;
|
|
191
|
+
"has_rounds"?: boolean;
|
|
192
|
+
"id"?: number;
|
|
193
|
+
"linked_tournaments"?: Array<ModelSofascoreCompetitionRef>;
|
|
194
|
+
"lower_divisions"?: Array<ModelSofascoreCompetitionRef>;
|
|
195
|
+
"most_titles"?: number;
|
|
196
|
+
"most_titles_teams"?: Array<ModelSofascoreTeamRef>;
|
|
197
|
+
"name"?: string;
|
|
198
|
+
"slug"?: string;
|
|
199
|
+
"sport"?: string;
|
|
200
|
+
"tier"?: number;
|
|
201
|
+
"title_holder"?: ModelSofascoreTeamRef;
|
|
202
|
+
"title_holder_titles"?: number;
|
|
203
|
+
"upper_divisions"?: Array<ModelSofascoreCompetitionRef>;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export interface ModelSofascoreCompetitionRef {
|
|
207
|
+
"id"?: number;
|
|
208
|
+
"name"?: string;
|
|
209
|
+
"slug"?: string;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export interface ModelSofascoreSeasonInfo {
|
|
213
|
+
"away_team_wins"?: number;
|
|
214
|
+
"draws"?: number;
|
|
215
|
+
"goals"?: number;
|
|
216
|
+
"home_team_wins"?: number;
|
|
217
|
+
"id"?: number;
|
|
218
|
+
"name"?: string;
|
|
219
|
+
"newcomers_lower_division"?: Array<ModelSofascoreTeamRef>;
|
|
220
|
+
"newcomers_other"?: Array<ModelSofascoreTeamRef>;
|
|
221
|
+
"newcomers_upper_division"?: Array<ModelSofascoreTeamRef>;
|
|
222
|
+
"number_of_competitors"?: number;
|
|
223
|
+
"red_cards"?: number;
|
|
224
|
+
"year"?: string;
|
|
225
|
+
"yellow_cards"?: number;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export interface ModelSofascoreTeamTransfersResponseDoc {
|
|
229
|
+
"code"?: number;
|
|
230
|
+
"data"?: ModelSofascoreTeamTransfersResponse;
|
|
231
|
+
"msg"?: string;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export interface ModelSofascoreTeamTransfersResponse {
|
|
235
|
+
"fetched_at"?: string;
|
|
236
|
+
"source_url"?: string;
|
|
237
|
+
"team_id"?: number;
|
|
238
|
+
"transfers_in"?: Array<ModelSofascoreTransfer>;
|
|
239
|
+
"transfers_out"?: Array<ModelSofascoreTransfer>;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export interface ModelSofascoreTransfer {
|
|
243
|
+
"fee"?: number;
|
|
244
|
+
"fee_currency"?: string;
|
|
245
|
+
"fee_description"?: string;
|
|
246
|
+
"from_team"?: ModelSofascoreTeamRef;
|
|
247
|
+
"from_team_name"?: string;
|
|
248
|
+
"id"?: number;
|
|
249
|
+
"player"?: ModelSofascorePlayerBrief;
|
|
250
|
+
"to_team"?: ModelSofascoreTeamRef;
|
|
251
|
+
"to_team_name"?: string;
|
|
252
|
+
"transfer_date"?: string;
|
|
253
|
+
"transfer_timestamp"?: number;
|
|
254
|
+
"type_code"?: number;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export interface ModelSofascorePlayerBrief {
|
|
258
|
+
"id"?: number;
|
|
259
|
+
"jersey_number"?: string;
|
|
260
|
+
"name"?: string;
|
|
261
|
+
"position"?: string;
|
|
262
|
+
"short_name"?: string;
|
|
263
|
+
"slug"?: string;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export interface ModelSofascoreTeamStatisticsSeasonsResponseDoc {
|
|
267
|
+
"code"?: number;
|
|
268
|
+
"data"?: ModelSofascoreTeamStatisticsSeasonsResponse;
|
|
269
|
+
"msg"?: string;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export interface ModelSofascoreTeamStatisticsSeasonsResponse {
|
|
273
|
+
"count"?: number;
|
|
274
|
+
"fetched_at"?: string;
|
|
275
|
+
"source_url"?: string;
|
|
276
|
+
"team_id"?: number;
|
|
277
|
+
"tournaments"?: Array<ModelSofascoreStatisticsTournament>;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export interface ModelSofascoreStatisticsTournament {
|
|
281
|
+
"category"?: string;
|
|
282
|
+
"name"?: string;
|
|
283
|
+
"seasons"?: Array<ModelSofascoreStatisticsSeason>;
|
|
284
|
+
"slug"?: string;
|
|
285
|
+
"unique_tournament_id"?: number;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export interface ModelSofascoreStatisticsSeason {
|
|
289
|
+
"id"?: number;
|
|
290
|
+
"name"?: string;
|
|
291
|
+
"types"?: Array<"overall" | "home" | "away" | "regular_season" | "playoffs">;
|
|
292
|
+
"year"?: string;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export interface ModelSofascoreTeamSeasonStatisticsResponseDoc {
|
|
296
|
+
"code"?: number;
|
|
297
|
+
"data"?: ModelSofascoreTeamSeasonStatisticsResponse;
|
|
298
|
+
"msg"?: string;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export interface ModelSofascoreTeamSeasonStatisticsResponse {
|
|
302
|
+
"fetched_at"?: string;
|
|
303
|
+
"season"?: number;
|
|
304
|
+
"source_url"?: string;
|
|
305
|
+
"statistics"?: Record<string, number>;
|
|
306
|
+
"team_id"?: number;
|
|
307
|
+
"tournament_id"?: number;
|
|
308
|
+
"type"?: string;
|
|
309
|
+
}
|
|
310
|
+
|
|
32
311
|
export interface ModelSofascoreTeamPlayersResponseDoc {
|
|
33
312
|
"code"?: number;
|
|
34
313
|
"data"?: ModelSofascoreTeamPlayersResponse;
|
|
@@ -58,21 +337,57 @@ export interface ModelSofascoreSquadPlayer {
|
|
|
58
337
|
"slug"?: string;
|
|
59
338
|
}
|
|
60
339
|
|
|
61
|
-
export interface
|
|
340
|
+
export interface ModelSofascoreTeamOfTheWeekPeriodsResponseDoc {
|
|
62
341
|
"code"?: number;
|
|
63
|
-
"data"?:
|
|
342
|
+
"data"?: ModelSofascoreTeamOfTheWeekPeriodsResponse;
|
|
64
343
|
"msg"?: string;
|
|
65
344
|
}
|
|
66
345
|
|
|
67
|
-
export interface
|
|
346
|
+
export interface ModelSofascoreTeamOfTheWeekPeriodsResponse {
|
|
68
347
|
"count"?: number;
|
|
69
|
-
"direction"?: string;
|
|
70
|
-
"events"?: Array<ModelSofascoreEventSummary>;
|
|
71
348
|
"fetched_at"?: string;
|
|
72
|
-
"
|
|
73
|
-
"
|
|
349
|
+
"periods"?: Array<ModelSofascoreTeamOfTheWeekPeriod>;
|
|
350
|
+
"season_id"?: number;
|
|
74
351
|
"source_url"?: string;
|
|
75
|
-
"
|
|
352
|
+
"tournament_id"?: number;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export interface ModelSofascoreTeamOfTheWeekPeriod {
|
|
356
|
+
"created_at"?: string;
|
|
357
|
+
"date_from"?: string;
|
|
358
|
+
"date_to"?: string;
|
|
359
|
+
"id"?: number;
|
|
360
|
+
"name"?: string;
|
|
361
|
+
"round"?: number;
|
|
362
|
+
"round_name"?: string;
|
|
363
|
+
"sequence"?: number;
|
|
364
|
+
"type"?: string;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export interface ModelSofascoreTeamOfTheWeekResponseDoc {
|
|
368
|
+
"code"?: number;
|
|
369
|
+
"data"?: ModelSofascoreTeamOfTheWeekResponse;
|
|
370
|
+
"msg"?: string;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export interface ModelSofascoreTeamOfTheWeekResponse {
|
|
374
|
+
"count"?: number;
|
|
375
|
+
"fetched_at"?: string;
|
|
376
|
+
"formation"?: string;
|
|
377
|
+
"period"?: ModelSofascoreTeamOfTheWeekPeriod;
|
|
378
|
+
"players"?: Array<ModelSofascoreTeamOfTheWeekPlayer>;
|
|
379
|
+
"season_id"?: number;
|
|
380
|
+
"source_url"?: string;
|
|
381
|
+
"tournament_id"?: number;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export interface ModelSofascoreTeamOfTheWeekPlayer {
|
|
385
|
+
"event"?: ModelSofascoreEventSummary;
|
|
386
|
+
"jersey_number"?: string;
|
|
387
|
+
"order"?: number;
|
|
388
|
+
"player"?: ModelSofascorePlayerRef;
|
|
389
|
+
"rating"?: number;
|
|
390
|
+
"team"?: ModelSofascoreTeamRef;
|
|
76
391
|
}
|
|
77
392
|
|
|
78
393
|
export interface ModelSofascoreEventSummary {
|
|
@@ -104,21 +419,29 @@ export interface ModelSofascoreEventStatus {
|
|
|
104
419
|
"type"?: string;
|
|
105
420
|
}
|
|
106
421
|
|
|
107
|
-
export interface ModelSofascoreTeamRef {
|
|
108
|
-
"country"?: string;
|
|
109
|
-
"id"?: number;
|
|
110
|
-
"name"?: string;
|
|
111
|
-
"national"?: boolean;
|
|
112
|
-
"short_name"?: string;
|
|
113
|
-
"slug"?: string;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
422
|
export interface ModelSofascoreScoreLine {
|
|
117
423
|
"current"?: number;
|
|
118
424
|
"period1"?: number;
|
|
119
425
|
"period2"?: number;
|
|
120
426
|
}
|
|
121
427
|
|
|
428
|
+
export interface ModelSofascoreTeamEventsResponseDoc {
|
|
429
|
+
"code"?: number;
|
|
430
|
+
"data"?: ModelSofascoreTeamEventsResponse;
|
|
431
|
+
"msg"?: string;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export interface ModelSofascoreTeamEventsResponse {
|
|
435
|
+
"count"?: number;
|
|
436
|
+
"direction"?: string;
|
|
437
|
+
"events"?: Array<ModelSofascoreEventSummary>;
|
|
438
|
+
"fetched_at"?: string;
|
|
439
|
+
"has_next_page"?: boolean;
|
|
440
|
+
"page"?: number;
|
|
441
|
+
"source_url"?: string;
|
|
442
|
+
"team_id"?: number;
|
|
443
|
+
}
|
|
444
|
+
|
|
122
445
|
export interface ModelSofascoreTeamResponseDoc {
|
|
123
446
|
"code"?: number;
|
|
124
447
|
"data"?: ModelSofascoreTeamResponse;
|
|
@@ -178,78 +501,355 @@ export interface ModelSofascoreStandingsRow {
|
|
|
178
501
|
"scores_against"?: number;
|
|
179
502
|
"scores_for"?: number;
|
|
180
503
|
"team"?: ModelSofascoreTeamRef;
|
|
181
|
-
"wins"?: number;
|
|
504
|
+
"wins"?: number;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
export interface ModelSofascoreSportsResponseDoc {
|
|
508
|
+
"code"?: number;
|
|
509
|
+
"data"?: ModelSofascoreSportsResponse;
|
|
510
|
+
"msg"?: string;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
export interface ModelSofascoreSportsResponse {
|
|
514
|
+
"count"?: number;
|
|
515
|
+
"counts_available"?: boolean;
|
|
516
|
+
"fetched_at"?: string;
|
|
517
|
+
"source_url"?: string;
|
|
518
|
+
"sports"?: Array<ModelSofascoreSportEntry>;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export interface ModelSofascoreSportEntry {
|
|
522
|
+
"key"?: string;
|
|
523
|
+
"live_events"?: number;
|
|
524
|
+
"name"?: string;
|
|
525
|
+
"total_events"?: number;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export interface ModelSofascoreSeasonEventsResponseDoc {
|
|
529
|
+
"code"?: number;
|
|
530
|
+
"data"?: ModelSofascoreSeasonEventsResponse;
|
|
531
|
+
"msg"?: string;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
export interface ModelSofascoreSeasonEventsResponse {
|
|
535
|
+
"count"?: number;
|
|
536
|
+
"direction"?: string;
|
|
537
|
+
"events"?: Array<ModelSofascoreSeasonEvent>;
|
|
538
|
+
"fetched_at"?: string;
|
|
539
|
+
"has_next_page"?: boolean;
|
|
540
|
+
"page"?: number;
|
|
541
|
+
"season_id"?: number;
|
|
542
|
+
"source_url"?: string;
|
|
543
|
+
"tournament_id"?: number;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export interface ModelSofascoreSeasonEvent {
|
|
547
|
+
"away_score"?: ModelSofascoreScoreLine;
|
|
548
|
+
"away_team"?: ModelSofascoreTeamRef;
|
|
549
|
+
"home_score"?: ModelSofascoreScoreLine;
|
|
550
|
+
"home_team"?: ModelSofascoreTeamRef;
|
|
551
|
+
"id"?: number;
|
|
552
|
+
"round"?: number;
|
|
553
|
+
"round_name"?: string;
|
|
554
|
+
"slug"?: string;
|
|
555
|
+
"start_time"?: string;
|
|
556
|
+
"start_timestamp"?: number;
|
|
557
|
+
"status"?: ModelSofascoreEventStatus;
|
|
558
|
+
"tournament"?: ModelSofascoreTournamentRef;
|
|
559
|
+
"winner_code"?: number;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export interface ModelSofascoreSearchResponseDoc {
|
|
563
|
+
"code"?: number;
|
|
564
|
+
"data"?: ModelSofascoreSearchResponse;
|
|
565
|
+
"msg"?: string;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export interface ModelSofascoreSearchResponse {
|
|
569
|
+
"count"?: number;
|
|
570
|
+
"fetched_at"?: string;
|
|
571
|
+
"query"?: string;
|
|
572
|
+
"results"?: Array<ModelSofascoreSearchResult>;
|
|
573
|
+
"source_url"?: string;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export interface ModelSofascoreSearchResult {
|
|
577
|
+
"country"?: string;
|
|
578
|
+
"id"?: number;
|
|
579
|
+
"name"?: string;
|
|
580
|
+
"slug"?: string;
|
|
581
|
+
"sport"?: string;
|
|
582
|
+
"team_id"?: number;
|
|
583
|
+
"team_name"?: string;
|
|
584
|
+
"type"?: string;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export interface ModelSofascoreScheduledTournamentsResponseDoc {
|
|
588
|
+
"code"?: number;
|
|
589
|
+
"data"?: ModelSofascoreScheduledTournamentsResponse;
|
|
590
|
+
"msg"?: string;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export interface ModelSofascoreScheduledTournamentsResponse {
|
|
594
|
+
"count"?: number;
|
|
595
|
+
"date"?: string;
|
|
596
|
+
"fetched_at"?: string;
|
|
597
|
+
"has_next_page"?: boolean;
|
|
598
|
+
"page"?: number;
|
|
599
|
+
"source_url"?: string;
|
|
600
|
+
"sport"?: string;
|
|
601
|
+
"tournaments"?: Array<ModelSofascoreScheduledTournament>;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
export interface ModelSofascoreScheduledTournament {
|
|
605
|
+
"category_id"?: number;
|
|
606
|
+
"category_name"?: string;
|
|
607
|
+
"event_count"?: number;
|
|
608
|
+
"id"?: number;
|
|
609
|
+
"name"?: string;
|
|
610
|
+
"slug"?: string;
|
|
611
|
+
"unique_tournament_id"?: number;
|
|
612
|
+
"unique_tournament_name"?: string;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export interface ModelSofascoreScheduledEventsResponseDoc {
|
|
616
|
+
"code"?: number;
|
|
617
|
+
"data"?: ModelSofascoreScheduledEventsResponse;
|
|
618
|
+
"msg"?: string;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
export interface ModelSofascoreScheduledEventsResponse {
|
|
622
|
+
"category_id"?: number;
|
|
623
|
+
"count"?: number;
|
|
624
|
+
"date"?: string;
|
|
625
|
+
"events"?: Array<ModelSofascoreEventSummary>;
|
|
626
|
+
"fetched_at"?: string;
|
|
627
|
+
"source_url"?: string;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export interface ModelSofascoreRoundEventsResponseDoc {
|
|
631
|
+
"code"?: number;
|
|
632
|
+
"data"?: ModelSofascoreRoundEventsResponse;
|
|
633
|
+
"msg"?: string;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
export interface ModelSofascoreRoundEventsResponse {
|
|
637
|
+
"count"?: number;
|
|
638
|
+
"events"?: Array<ModelSofascoreEventSummary>;
|
|
639
|
+
"fetched_at"?: string;
|
|
640
|
+
"has_next_page"?: boolean;
|
|
641
|
+
"prefix"?: string;
|
|
642
|
+
"round"?: number;
|
|
643
|
+
"season_id"?: number;
|
|
644
|
+
"slug"?: string;
|
|
645
|
+
"source_url"?: string;
|
|
646
|
+
"tournament_id"?: number;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
export interface ModelSofascoreRankingsResponseDoc {
|
|
650
|
+
"code"?: number;
|
|
651
|
+
"data"?: ModelSofascoreRankingsResponse;
|
|
652
|
+
"msg"?: string;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
export interface ModelSofascoreRankingsResponse {
|
|
656
|
+
"count"?: number;
|
|
657
|
+
"entity_type"?: string;
|
|
658
|
+
"fetched_at"?: string;
|
|
659
|
+
"name"?: string;
|
|
660
|
+
"rankings"?: Array<ModelSofascoreRankingRow>;
|
|
661
|
+
"source_url"?: string;
|
|
662
|
+
"sport"?: string;
|
|
663
|
+
"total_rows"?: number;
|
|
664
|
+
"type"?: number;
|
|
665
|
+
"updated_at"?: string;
|
|
666
|
+
"updated_timestamp"?: number;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
export interface ModelSofascoreRankingRow {
|
|
670
|
+
"best_rank"?: number;
|
|
671
|
+
"entity"?: ModelSofascoreRankingEntity;
|
|
672
|
+
"label"?: string;
|
|
673
|
+
"max_points"?: number;
|
|
674
|
+
"next_win_points"?: number;
|
|
675
|
+
"playing_teams"?: number;
|
|
676
|
+
"points"?: number;
|
|
677
|
+
"previous_points"?: number;
|
|
678
|
+
"previous_rank"?: number;
|
|
679
|
+
"rank"?: number;
|
|
680
|
+
"total_teams"?: number;
|
|
681
|
+
"tournaments_played"?: number;
|
|
682
|
+
"year"?: string;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
export interface ModelSofascoreRankingEntity {
|
|
686
|
+
"country"?: string;
|
|
687
|
+
"country_code"?: string;
|
|
688
|
+
"gender"?: string;
|
|
689
|
+
"id"?: number;
|
|
690
|
+
"name"?: string;
|
|
691
|
+
"national"?: boolean;
|
|
692
|
+
"record"?: ModelSofascoreWdlrecord;
|
|
693
|
+
"short_name"?: string;
|
|
694
|
+
"slug"?: string;
|
|
695
|
+
"sport"?: string;
|
|
696
|
+
"type"?: string;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
export interface ModelSofascoreWdlrecord {
|
|
700
|
+
"draws"?: number;
|
|
701
|
+
"losses"?: number;
|
|
702
|
+
"wins"?: number;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
export interface ModelSofascoreRankingTypesResponseDoc {
|
|
706
|
+
"code"?: number;
|
|
707
|
+
"data"?: ModelSofascoreRankingTypesResponse;
|
|
708
|
+
"msg"?: string;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export interface ModelSofascoreRankingTypesResponse {
|
|
712
|
+
"count"?: number;
|
|
713
|
+
"types"?: Array<ModelSofascoreRankingType>;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
export interface ModelSofascoreRankingType {
|
|
717
|
+
"description"?: string;
|
|
718
|
+
"entity_type"?: string;
|
|
719
|
+
"gender"?: string;
|
|
720
|
+
"name"?: string;
|
|
721
|
+
"sport"?: string;
|
|
722
|
+
"type"?: number;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
export interface ModelSofascorePlayerTransfersResponseDoc {
|
|
726
|
+
"code"?: number;
|
|
727
|
+
"data"?: ModelSofascorePlayerTransfersResponse;
|
|
728
|
+
"msg"?: string;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export interface ModelSofascorePlayerTransfersResponse {
|
|
732
|
+
"count"?: number;
|
|
733
|
+
"fetched_at"?: string;
|
|
734
|
+
"player_id"?: number;
|
|
735
|
+
"source_url"?: string;
|
|
736
|
+
"transfers"?: Array<ModelSofascoreTransfer>;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
export interface ModelSofascorePlayerStatisticsSeasonsResponseDoc {
|
|
740
|
+
"code"?: number;
|
|
741
|
+
"data"?: ModelSofascorePlayerStatisticsSeasonsResponse;
|
|
742
|
+
"msg"?: string;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
export interface ModelSofascorePlayerStatisticsSeasonsResponse {
|
|
746
|
+
"count"?: number;
|
|
747
|
+
"fetched_at"?: string;
|
|
748
|
+
"player_id"?: number;
|
|
749
|
+
"source_url"?: string;
|
|
750
|
+
"tournaments"?: Array<ModelSofascoreStatisticsTournament>;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
export interface ModelSofascorePlayerSeasonStatisticsResponseDoc {
|
|
754
|
+
"code"?: number;
|
|
755
|
+
"data"?: ModelSofascorePlayerSeasonStatisticsResponse;
|
|
756
|
+
"msg"?: string;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
export interface ModelSofascorePlayerSeasonStatisticsResponse {
|
|
760
|
+
"fetched_at"?: string;
|
|
761
|
+
"player_id"?: number;
|
|
762
|
+
"rating_breakdown"?: Record<string, number>;
|
|
763
|
+
"season"?: number;
|
|
764
|
+
"source_url"?: string;
|
|
765
|
+
"statistics"?: Record<string, number>;
|
|
766
|
+
"team"?: ModelSofascoreTeamRef;
|
|
767
|
+
"tournament_id"?: number;
|
|
768
|
+
"type"?: string;
|
|
182
769
|
}
|
|
183
770
|
|
|
184
|
-
export interface
|
|
771
|
+
export interface ModelSofascorePlayerResponseDoc {
|
|
185
772
|
"code"?: number;
|
|
186
|
-
"data"?:
|
|
773
|
+
"data"?: ModelSofascorePlayerResponse;
|
|
187
774
|
"msg"?: string;
|
|
188
775
|
}
|
|
189
776
|
|
|
190
|
-
export interface
|
|
191
|
-
"count"?: number;
|
|
777
|
+
export interface ModelSofascorePlayerResponse {
|
|
192
778
|
"fetched_at"?: string;
|
|
193
|
-
"
|
|
194
|
-
"results"?: Array<ModelSofascoreSearchResult>;
|
|
779
|
+
"player"?: ModelSofascorePlayerDetail;
|
|
195
780
|
"source_url"?: string;
|
|
196
781
|
}
|
|
197
782
|
|
|
198
|
-
export interface
|
|
783
|
+
export interface ModelSofascorePlayerDetail {
|
|
199
784
|
"country"?: string;
|
|
785
|
+
"date_of_birth"?: string;
|
|
786
|
+
"deceased"?: boolean;
|
|
787
|
+
"height"?: number;
|
|
200
788
|
"id"?: number;
|
|
789
|
+
"jersey_number"?: string;
|
|
790
|
+
"market_value"?: number;
|
|
791
|
+
"market_value_currency"?: string;
|
|
201
792
|
"name"?: string;
|
|
793
|
+
"position"?: string;
|
|
794
|
+
"preferred_foot"?: string;
|
|
795
|
+
"short_name"?: string;
|
|
202
796
|
"slug"?: string;
|
|
203
|
-
"
|
|
204
|
-
"team_id"?: number;
|
|
205
|
-
"team_name"?: string;
|
|
206
|
-
"type"?: string;
|
|
797
|
+
"team"?: ModelSofascoreTeamRef;
|
|
207
798
|
}
|
|
208
799
|
|
|
209
|
-
export interface
|
|
800
|
+
export interface ModelSofascoreManagerEventsResponseDoc {
|
|
210
801
|
"code"?: number;
|
|
211
|
-
"data"?:
|
|
802
|
+
"data"?: ModelSofascoreManagerEventsResponse;
|
|
212
803
|
"msg"?: string;
|
|
213
804
|
}
|
|
214
805
|
|
|
215
|
-
export interface
|
|
806
|
+
export interface ModelSofascoreManagerEventsResponse {
|
|
216
807
|
"count"?: number;
|
|
217
808
|
"events"?: Array<ModelSofascoreEventSummary>;
|
|
218
809
|
"fetched_at"?: string;
|
|
219
810
|
"has_next_page"?: boolean;
|
|
220
|
-
"
|
|
221
|
-
"
|
|
811
|
+
"manager_id"?: number;
|
|
812
|
+
"page"?: number;
|
|
222
813
|
"source_url"?: string;
|
|
223
|
-
"tournament_id"?: number;
|
|
224
814
|
}
|
|
225
815
|
|
|
226
|
-
export interface
|
|
816
|
+
export interface ModelSofascoreManagerResponseDoc {
|
|
227
817
|
"code"?: number;
|
|
228
|
-
"data"?:
|
|
818
|
+
"data"?: ModelSofascoreManagerResponse;
|
|
229
819
|
"msg"?: string;
|
|
230
820
|
}
|
|
231
821
|
|
|
232
|
-
export interface
|
|
822
|
+
export interface ModelSofascoreManagerResponse {
|
|
233
823
|
"fetched_at"?: string;
|
|
234
|
-
"
|
|
824
|
+
"manager"?: ModelSofascoreManagerDetail;
|
|
235
825
|
"source_url"?: string;
|
|
236
826
|
}
|
|
237
827
|
|
|
238
|
-
export interface
|
|
828
|
+
export interface ModelSofascoreManagerDetail {
|
|
239
829
|
"country"?: string;
|
|
240
830
|
"date_of_birth"?: string;
|
|
241
831
|
"deceased"?: boolean;
|
|
242
|
-
"
|
|
832
|
+
"former_player_id"?: number;
|
|
243
833
|
"id"?: number;
|
|
244
|
-
"jersey_number"?: string;
|
|
245
|
-
"market_value"?: number;
|
|
246
|
-
"market_value_currency"?: string;
|
|
247
834
|
"name"?: string;
|
|
248
|
-
"
|
|
249
|
-
"
|
|
835
|
+
"nationality_code"?: string;
|
|
836
|
+
"nationality_iso2"?: string;
|
|
837
|
+
"performance"?: ModelSofascoreManagerPerformance;
|
|
838
|
+
"preferred_formation"?: string;
|
|
250
839
|
"short_name"?: string;
|
|
251
840
|
"slug"?: string;
|
|
252
841
|
"team"?: ModelSofascoreTeamRef;
|
|
842
|
+
"teams"?: Array<ModelSofascoreTeamRef>;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
export interface ModelSofascoreManagerPerformance {
|
|
846
|
+
"draws"?: number;
|
|
847
|
+
"goals_conceded"?: number;
|
|
848
|
+
"goals_scored"?: number;
|
|
849
|
+
"losses"?: number;
|
|
850
|
+
"total"?: number;
|
|
851
|
+
"total_points"?: number;
|
|
852
|
+
"wins"?: number;
|
|
253
853
|
}
|
|
254
854
|
|
|
255
855
|
export interface ModelSofascoreLiveEventsResponseDoc {
|
|
@@ -296,6 +896,63 @@ export interface ModelSofascoreStatItem {
|
|
|
296
896
|
"name"?: string;
|
|
297
897
|
}
|
|
298
898
|
|
|
899
|
+
export interface ModelSofascoreEventShotmapResponseDoc {
|
|
900
|
+
"code"?: number;
|
|
901
|
+
"data"?: ModelSofascoreEventShotmapResponse;
|
|
902
|
+
"msg"?: string;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
export interface ModelSofascoreEventShotmapResponse {
|
|
906
|
+
"count"?: number;
|
|
907
|
+
"event_id"?: number;
|
|
908
|
+
"fetched_at"?: string;
|
|
909
|
+
"shots"?: Array<ModelSofascoreShot>;
|
|
910
|
+
"source_url"?: string;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
export interface ModelSofascoreShot {
|
|
914
|
+
"added_time"?: number;
|
|
915
|
+
"block_coordinates"?: ModelSofascoreCoordinates;
|
|
916
|
+
"body_part"?: string;
|
|
917
|
+
"goal_mouth_coordinates"?: ModelSofascoreCoordinates;
|
|
918
|
+
"goal_mouth_location"?: string;
|
|
919
|
+
"goal_type"?: string;
|
|
920
|
+
"goalkeeper"?: ModelSofascorePlayerBrief;
|
|
921
|
+
"id"?: number;
|
|
922
|
+
"is_home"?: boolean;
|
|
923
|
+
"minute"?: number;
|
|
924
|
+
"player"?: ModelSofascorePlayerBrief;
|
|
925
|
+
"player_coordinates"?: ModelSofascoreCoordinates;
|
|
926
|
+
"shot_type"?: string;
|
|
927
|
+
"situation"?: string;
|
|
928
|
+
"time_seconds"?: number;
|
|
929
|
+
"xg"?: number;
|
|
930
|
+
"xgot"?: number;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
export interface ModelSofascoreCoordinates {
|
|
934
|
+
"x"?: number;
|
|
935
|
+
"y"?: number;
|
|
936
|
+
"z"?: number;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
export interface ModelSofascoreEventPlayerStatisticsResponseDoc {
|
|
940
|
+
"code"?: number;
|
|
941
|
+
"data"?: ModelSofascoreEventPlayerStatisticsResponse;
|
|
942
|
+
"msg"?: string;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
export interface ModelSofascoreEventPlayerStatisticsResponse {
|
|
946
|
+
"event_id"?: number;
|
|
947
|
+
"fetched_at"?: string;
|
|
948
|
+
"player"?: ModelSofascorePlayerBrief;
|
|
949
|
+
"player_id"?: number;
|
|
950
|
+
"position"?: string;
|
|
951
|
+
"source_url"?: string;
|
|
952
|
+
"statistics"?: Record<string, number>;
|
|
953
|
+
"team"?: ModelSofascoreTeamRef;
|
|
954
|
+
}
|
|
955
|
+
|
|
299
956
|
export interface ModelSofascoreEventOddsResponseDoc {
|
|
300
957
|
"code"?: number;
|
|
301
958
|
"data"?: ModelSofascoreEventOddsResponse;
|
|
@@ -351,15 +1008,6 @@ export interface ModelSofascoreLineupPlayer {
|
|
|
351
1008
|
"substitute"?: boolean;
|
|
352
1009
|
}
|
|
353
1010
|
|
|
354
|
-
export interface ModelSofascorePlayerRef {
|
|
355
|
-
"country"?: string;
|
|
356
|
-
"id"?: number;
|
|
357
|
-
"name"?: string;
|
|
358
|
-
"position"?: string;
|
|
359
|
-
"short_name"?: string;
|
|
360
|
-
"slug"?: string;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
1011
|
export interface ModelSofascoreEventIncidentsResponseDoc {
|
|
364
1012
|
"code"?: number;
|
|
365
1013
|
"data"?: ModelSofascoreEventIncidentsResponse;
|
|
@@ -409,6 +1057,84 @@ export interface ModelSofascoreTeamDuel {
|
|
|
409
1057
|
"home_wins"?: number;
|
|
410
1058
|
}
|
|
411
1059
|
|
|
1060
|
+
export interface ModelSofascoreEventGraphResponseDoc {
|
|
1061
|
+
"code"?: number;
|
|
1062
|
+
"data"?: ModelSofascoreEventGraphResponse;
|
|
1063
|
+
"msg"?: string;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
export interface ModelSofascoreEventGraphResponse {
|
|
1067
|
+
"count"?: number;
|
|
1068
|
+
"event_id"?: number;
|
|
1069
|
+
"fetched_at"?: string;
|
|
1070
|
+
"overtime_count"?: number;
|
|
1071
|
+
"overtime_length"?: number;
|
|
1072
|
+
"period_count"?: number;
|
|
1073
|
+
"period_time"?: number;
|
|
1074
|
+
"points"?: Array<ModelSofascoreGraphPoint>;
|
|
1075
|
+
"source_url"?: string;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
export interface ModelSofascoreGraphPoint {
|
|
1079
|
+
"minute"?: number;
|
|
1080
|
+
"value"?: number;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
export interface ModelSofascoreEventCommentsResponseDoc {
|
|
1084
|
+
"code"?: number;
|
|
1085
|
+
"data"?: ModelSofascoreEventCommentsResponse;
|
|
1086
|
+
"msg"?: string;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
export interface ModelSofascoreEventCommentsResponse {
|
|
1090
|
+
"comments"?: Array<ModelSofascoreEventComment>;
|
|
1091
|
+
"count"?: number;
|
|
1092
|
+
"event_id"?: number;
|
|
1093
|
+
"fetched_at"?: string;
|
|
1094
|
+
"source_url"?: string;
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
export interface ModelSofascoreEventComment {
|
|
1098
|
+
"assist"?: ModelSofascorePlayerBrief;
|
|
1099
|
+
"away_score"?: number;
|
|
1100
|
+
"goal_type"?: string;
|
|
1101
|
+
"home_score"?: number;
|
|
1102
|
+
"id"?: number;
|
|
1103
|
+
"is_home"?: boolean;
|
|
1104
|
+
"minute"?: number;
|
|
1105
|
+
"penalty_drawn_by"?: ModelSofascorePlayerBrief;
|
|
1106
|
+
"period"?: string;
|
|
1107
|
+
"player"?: ModelSofascorePlayerBrief;
|
|
1108
|
+
"player_in"?: ModelSofascorePlayerBrief;
|
|
1109
|
+
"player_out"?: ModelSofascorePlayerBrief;
|
|
1110
|
+
"text"?: string;
|
|
1111
|
+
"time_seconds"?: number;
|
|
1112
|
+
"type"?: string;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
export interface ModelSofascoreEventBestPlayersResponseDoc {
|
|
1116
|
+
"code"?: number;
|
|
1117
|
+
"data"?: ModelSofascoreEventBestPlayersResponse;
|
|
1118
|
+
"msg"?: string;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
export interface ModelSofascoreEventBestPlayersResponse {
|
|
1122
|
+
"away_players"?: Array<ModelSofascoreBestPlayer>;
|
|
1123
|
+
"event_id"?: number;
|
|
1124
|
+
"fetched_at"?: string;
|
|
1125
|
+
"home_players"?: Array<ModelSofascoreBestPlayer>;
|
|
1126
|
+
"player_of_the_match"?: ModelSofascoreBestPlayer;
|
|
1127
|
+
"source_url"?: string;
|
|
1128
|
+
"top_players"?: Array<ModelSofascoreBestPlayer>;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
export interface ModelSofascoreBestPlayer {
|
|
1132
|
+
"label"?: string;
|
|
1133
|
+
"player"?: ModelSofascorePlayerBrief;
|
|
1134
|
+
"team"?: ModelSofascoreTeamRef;
|
|
1135
|
+
"value"?: number;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
412
1138
|
export interface ModelSofascoreEventResponseDoc {
|
|
413
1139
|
"code"?: number;
|
|
414
1140
|
"data"?: ModelSofascoreEventResponse;
|
|
@@ -451,11 +1177,82 @@ export interface ModelSofascoreReferee {
|
|
|
451
1177
|
"name"?: string;
|
|
452
1178
|
}
|
|
453
1179
|
|
|
1180
|
+
export interface ModelSofascoreCategoryTournamentsResponseDoc {
|
|
1181
|
+
"code"?: number;
|
|
1182
|
+
"data"?: ModelSofascoreCategoryTournamentsResponse;
|
|
1183
|
+
"msg"?: string;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
export interface ModelSofascoreCategoryTournamentsResponse {
|
|
1187
|
+
"category_id"?: number;
|
|
1188
|
+
"count"?: number;
|
|
1189
|
+
"fetched_at"?: string;
|
|
1190
|
+
"source_url"?: string;
|
|
1191
|
+
"tournaments"?: Array<ModelSofascoreCategoryTournament>;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
export interface ModelSofascoreCategoryTournament {
|
|
1195
|
+
"category_id"?: number;
|
|
1196
|
+
"category_name"?: string;
|
|
1197
|
+
"id"?: number;
|
|
1198
|
+
"name"?: string;
|
|
1199
|
+
"slug"?: string;
|
|
1200
|
+
"user_count"?: number;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
export interface ModelSofascoreCategoriesResponseDoc {
|
|
1204
|
+
"code"?: number;
|
|
1205
|
+
"data"?: ModelSofascoreCategoriesResponse;
|
|
1206
|
+
"msg"?: string;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
export interface ModelSofascoreCategoriesResponse {
|
|
1210
|
+
"categories"?: Array<ModelSofascoreCategory>;
|
|
1211
|
+
"count"?: number;
|
|
1212
|
+
"fetched_at"?: string;
|
|
1213
|
+
"source_url"?: string;
|
|
1214
|
+
"sport"?: string;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
export interface ModelSofascoreCategory {
|
|
1218
|
+
"alpha2"?: string;
|
|
1219
|
+
"flag"?: string;
|
|
1220
|
+
"id"?: number;
|
|
1221
|
+
"name"?: string;
|
|
1222
|
+
"priority"?: number;
|
|
1223
|
+
"slug"?: string;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
export type SofascoreCategoriesResponse = CrawloraResponse<ModelSofascoreCategoriesResponseDoc>;
|
|
1227
|
+
export interface SofascoreCategoriesParams {
|
|
1228
|
+
"sport": "american-football" | "aussie-rules" | "badminton" | "bandy" | "baseball" | "basketball" | "beach-volley" | "cricket" | "darts" | "esports" | "floorball" | "football" | "futsal" | "handball" | "ice-hockey" | "mma" | "minifootball" | "padel" | "rugby" | "snooker" | "table-tennis" | "tennis" | "volleyball" | "waterpolo";
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
export type SofascoreCategoryTournamentsResponse = CrawloraResponse<ModelSofascoreCategoryTournamentsResponseDoc>;
|
|
1232
|
+
export interface SofascoreCategoryTournamentsParams {
|
|
1233
|
+
"id": string;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
454
1236
|
export type SofascoreEventResponse = CrawloraResponse<ModelSofascoreEventResponseDoc>;
|
|
455
1237
|
export interface SofascoreEventParams {
|
|
456
1238
|
"id": string;
|
|
457
1239
|
}
|
|
458
1240
|
|
|
1241
|
+
export type SofascoreEventBestPlayersResponse = CrawloraResponse<ModelSofascoreEventBestPlayersResponseDoc>;
|
|
1242
|
+
export interface SofascoreEventBestPlayersParams {
|
|
1243
|
+
"id": string;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
export type SofascoreEventCommentsResponse = CrawloraResponse<ModelSofascoreEventCommentsResponseDoc>;
|
|
1247
|
+
export interface SofascoreEventCommentsParams {
|
|
1248
|
+
"id": string;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
export type SofascoreEventGraphResponse = CrawloraResponse<ModelSofascoreEventGraphResponseDoc>;
|
|
1252
|
+
export interface SofascoreEventGraphParams {
|
|
1253
|
+
"id": string;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
459
1256
|
export type SofascoreEventH2hResponse = CrawloraResponse<ModelSofascoreEventH2HresponseDoc>;
|
|
460
1257
|
export interface SofascoreEventH2hParams {
|
|
461
1258
|
"id": string;
|
|
@@ -476,6 +1273,17 @@ export interface SofascoreEventOddsParams {
|
|
|
476
1273
|
"id": string;
|
|
477
1274
|
}
|
|
478
1275
|
|
|
1276
|
+
export type SofascoreEventPlayerStatisticsResponse = CrawloraResponse<ModelSofascoreEventPlayerStatisticsResponseDoc>;
|
|
1277
|
+
export interface SofascoreEventPlayerStatisticsParams {
|
|
1278
|
+
"id": string;
|
|
1279
|
+
"player_id": string;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
export type SofascoreEventShotmapResponse = CrawloraResponse<ModelSofascoreEventShotmapResponseDoc>;
|
|
1283
|
+
export interface SofascoreEventShotmapParams {
|
|
1284
|
+
"id": string;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
479
1287
|
export type SofascoreEventStatisticsResponse = CrawloraResponse<ModelSofascoreEventStatisticsResponseDoc>;
|
|
480
1288
|
export interface SofascoreEventStatisticsParams {
|
|
481
1289
|
"id": string;
|
|
@@ -483,7 +1291,18 @@ export interface SofascoreEventStatisticsParams {
|
|
|
483
1291
|
|
|
484
1292
|
export type SofascoreLiveEventsResponse = CrawloraResponse<ModelSofascoreLiveEventsResponseDoc>;
|
|
485
1293
|
export interface SofascoreLiveEventsParams {
|
|
486
|
-
"sport": "football" | "basketball" | "tennis";
|
|
1294
|
+
"sport": "american-football" | "aussie-rules" | "badminton" | "bandy" | "baseball" | "basketball" | "beach-volley" | "cricket" | "darts" | "esports" | "floorball" | "football" | "futsal" | "handball" | "ice-hockey" | "mma" | "minifootball" | "padel" | "rugby" | "snooker" | "table-tennis" | "tennis" | "volleyball" | "waterpolo";
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
export type SofascoreManagerResponse = CrawloraResponse<ModelSofascoreManagerResponseDoc>;
|
|
1298
|
+
export interface SofascoreManagerParams {
|
|
1299
|
+
"id": string;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
export type SofascoreManagerEventsResponse = CrawloraResponse<ModelSofascoreManagerEventsResponseDoc>;
|
|
1303
|
+
export interface SofascoreManagerEventsParams {
|
|
1304
|
+
"id": string;
|
|
1305
|
+
"page"?: number;
|
|
487
1306
|
}
|
|
488
1307
|
|
|
489
1308
|
export type SofascorePlayerResponse = CrawloraResponse<ModelSofascorePlayerResponseDoc>;
|
|
@@ -491,11 +1310,54 @@ export interface SofascorePlayerParams {
|
|
|
491
1310
|
"id": string;
|
|
492
1311
|
}
|
|
493
1312
|
|
|
1313
|
+
export type SofascorePlayerSeasonStatisticsResponse = CrawloraResponse<ModelSofascorePlayerSeasonStatisticsResponseDoc>;
|
|
1314
|
+
export interface SofascorePlayerSeasonStatisticsParams {
|
|
1315
|
+
"id": string;
|
|
1316
|
+
"tournament_id": string;
|
|
1317
|
+
"season": string;
|
|
1318
|
+
"type"?: "overall" | "home" | "away" | "regular_season" | "playoffs";
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
export type SofascorePlayerStatisticsSeasonsResponse = CrawloraResponse<ModelSofascorePlayerStatisticsSeasonsResponseDoc>;
|
|
1322
|
+
export interface SofascorePlayerStatisticsSeasonsParams {
|
|
1323
|
+
"id": string;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
export type SofascorePlayerTransfersResponse = CrawloraResponse<ModelSofascorePlayerTransfersResponseDoc>;
|
|
1327
|
+
export interface SofascorePlayerTransfersParams {
|
|
1328
|
+
"id": string;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
export type SofascoreRankingTypesResponse = CrawloraResponse<ModelSofascoreRankingTypesResponseDoc>;
|
|
1332
|
+
export interface SofascoreRankingTypesParams {
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
export type SofascoreRankingsResponse = CrawloraResponse<ModelSofascoreRankingsResponseDoc>;
|
|
1336
|
+
export interface SofascoreRankingsParams {
|
|
1337
|
+
"type": "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "34" | "35" | "36" | "37" | "40" | "41" | "42" | "43" | "44" | "45" | "46";
|
|
1338
|
+
"limit"?: number;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
494
1341
|
export type SofascoreRoundEventsResponse = CrawloraResponse<ModelSofascoreRoundEventsResponseDoc>;
|
|
495
1342
|
export interface SofascoreRoundEventsParams {
|
|
496
1343
|
"id": string;
|
|
497
1344
|
"season": string;
|
|
498
1345
|
"round": number;
|
|
1346
|
+
"slug"?: string;
|
|
1347
|
+
"prefix"?: string;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
export type SofascoreScheduledEventsResponse = CrawloraResponse<ModelSofascoreScheduledEventsResponseDoc>;
|
|
1351
|
+
export interface SofascoreScheduledEventsParams {
|
|
1352
|
+
"category_id": string;
|
|
1353
|
+
"date": string;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
export type SofascoreScheduledTournamentsResponse = CrawloraResponse<ModelSofascoreScheduledTournamentsResponseDoc>;
|
|
1357
|
+
export interface SofascoreScheduledTournamentsParams {
|
|
1358
|
+
"sport": "american-football" | "aussie-rules" | "badminton" | "bandy" | "baseball" | "basketball" | "beach-volley" | "cricket" | "darts" | "esports" | "floorball" | "football" | "futsal" | "handball" | "ice-hockey" | "mma" | "minifootball" | "padel" | "rugby" | "snooker" | "table-tennis" | "tennis" | "volleyball" | "waterpolo";
|
|
1359
|
+
"date": string;
|
|
1360
|
+
"page"?: number;
|
|
499
1361
|
}
|
|
500
1362
|
|
|
501
1363
|
export type SofascoreSearchResponse = CrawloraResponse<ModelSofascoreSearchResponseDoc>;
|
|
@@ -503,6 +1365,18 @@ export interface SofascoreSearchParams {
|
|
|
503
1365
|
"q": string;
|
|
504
1366
|
}
|
|
505
1367
|
|
|
1368
|
+
export type SofascoreSeasonEventsResponse = CrawloraResponse<ModelSofascoreSeasonEventsResponseDoc>;
|
|
1369
|
+
export interface SofascoreSeasonEventsParams {
|
|
1370
|
+
"id": string;
|
|
1371
|
+
"season": string;
|
|
1372
|
+
"direction": "next" | "last";
|
|
1373
|
+
"page"?: number;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
export type SofascoreSportsResponse = CrawloraResponse<ModelSofascoreSportsResponseDoc>;
|
|
1377
|
+
export interface SofascoreSportsParams {
|
|
1378
|
+
}
|
|
1379
|
+
|
|
506
1380
|
export type SofascoreStandingsResponse = CrawloraResponse<ModelSofascoreStandingsResponseDoc>;
|
|
507
1381
|
export interface SofascoreStandingsParams {
|
|
508
1382
|
"id": string;
|
|
@@ -522,32 +1396,131 @@ export interface SofascoreTeamEventsParams {
|
|
|
522
1396
|
"page"?: number;
|
|
523
1397
|
}
|
|
524
1398
|
|
|
1399
|
+
export type SofascoreTeamOfTheWeekResponse = CrawloraResponse<ModelSofascoreTeamOfTheWeekResponseDoc>;
|
|
1400
|
+
export interface SofascoreTeamOfTheWeekParams {
|
|
1401
|
+
"id": string;
|
|
1402
|
+
"season": string;
|
|
1403
|
+
"period": string;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
export type SofascoreTeamOfTheWeekPeriodsResponse = CrawloraResponse<ModelSofascoreTeamOfTheWeekPeriodsResponseDoc>;
|
|
1407
|
+
export interface SofascoreTeamOfTheWeekPeriodsParams {
|
|
1408
|
+
"id": string;
|
|
1409
|
+
"season": string;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
525
1412
|
export type SofascoreTeamPlayersResponse = CrawloraResponse<ModelSofascoreTeamPlayersResponseDoc>;
|
|
526
1413
|
export interface SofascoreTeamPlayersParams {
|
|
527
1414
|
"id": string;
|
|
528
1415
|
}
|
|
529
1416
|
|
|
1417
|
+
export type SofascoreTeamSeasonStatisticsResponse = CrawloraResponse<ModelSofascoreTeamSeasonStatisticsResponseDoc>;
|
|
1418
|
+
export interface SofascoreTeamSeasonStatisticsParams {
|
|
1419
|
+
"id": string;
|
|
1420
|
+
"tournament_id": string;
|
|
1421
|
+
"season": string;
|
|
1422
|
+
"type"?: "overall" | "home" | "away" | "regular_season" | "playoffs";
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
export type SofascoreTeamStatisticsSeasonsResponse = CrawloraResponse<ModelSofascoreTeamStatisticsSeasonsResponseDoc>;
|
|
1426
|
+
export interface SofascoreTeamStatisticsSeasonsParams {
|
|
1427
|
+
"id": string;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
export type SofascoreTeamTransfersResponse = CrawloraResponse<ModelSofascoreTeamTransfersResponseDoc>;
|
|
1431
|
+
export interface SofascoreTeamTransfersParams {
|
|
1432
|
+
"id": string;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
export type SofascoreTournamentInfoResponse = CrawloraResponse<ModelSofascoreTournamentInfoResponseDoc>;
|
|
1436
|
+
export interface SofascoreTournamentInfoParams {
|
|
1437
|
+
"id": string;
|
|
1438
|
+
"season"?: string;
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
export type SofascoreTournamentPlayerStatisticsResponse = CrawloraResponse<ModelSofascoreTournamentPlayerStatisticsResponseDoc>;
|
|
1442
|
+
export interface SofascoreTournamentPlayerStatisticsParams {
|
|
1443
|
+
"id": string;
|
|
1444
|
+
"season": string;
|
|
1445
|
+
"order"?: "rating" | "goals" | "expectedGoals" | "assists" | "successfulDribbles" | "tackles" | "accuratePassesPercentage" | "bigChancesMissed" | "totalShots" | "goalConversionPercentage" | "interceptions" | "clearances" | "errorLeadToGoal" | "outfielderBlocks" | "bigChancesCreated" | "accuratePasses" | "keyPasses" | "saves" | "cleanSheet" | "penaltySave" | "savedShotsFromInsideTheBox" | "runsOut";
|
|
1446
|
+
"direction"?: "desc" | "asc";
|
|
1447
|
+
"accumulation"?: "total" | "perGame" | "per90";
|
|
1448
|
+
"group"?: "summary" | "attack" | "defence" | "passing" | "goalkeeper";
|
|
1449
|
+
"limit"?: number;
|
|
1450
|
+
"offset"?: number;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
export type SofascoreTournamentRoundsResponse = CrawloraResponse<ModelSofascoreTournamentRoundsResponseDoc>;
|
|
1454
|
+
export interface SofascoreTournamentRoundsParams {
|
|
1455
|
+
"id": string;
|
|
1456
|
+
"season": string;
|
|
1457
|
+
}
|
|
1458
|
+
|
|
530
1459
|
export type SofascoreTournamentSeasonsResponse = CrawloraResponse<ModelSofascoreTournamentSeasonsResponseDoc>;
|
|
531
1460
|
export interface SofascoreTournamentSeasonsParams {
|
|
532
1461
|
"id": string;
|
|
533
1462
|
}
|
|
534
1463
|
|
|
1464
|
+
export type SofascoreTournamentTopPlayersResponse = CrawloraResponse<ModelSofascoreTournamentTopPlayersResponseDoc>;
|
|
1465
|
+
export interface SofascoreTournamentTopPlayersParams {
|
|
1466
|
+
"id": string;
|
|
1467
|
+
"season": string;
|
|
1468
|
+
"type"?: "overall" | "regular_season" | "playoffs";
|
|
1469
|
+
"limit"?: number;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
export type SofascoreTournamentTopTeamsResponse = CrawloraResponse<ModelSofascoreTournamentTopTeamsResponseDoc>;
|
|
1473
|
+
export interface SofascoreTournamentTopTeamsParams {
|
|
1474
|
+
"id": string;
|
|
1475
|
+
"season": string;
|
|
1476
|
+
"type"?: "overall" | "regular_season" | "playoffs";
|
|
1477
|
+
"limit"?: number;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
535
1480
|
export interface SofascoreService {
|
|
1481
|
+
categories<T = SofascoreCategoriesResponse>(params: SofascoreCategoriesParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1482
|
+
categoryTournaments<T = SofascoreCategoryTournamentsResponse>(params: SofascoreCategoryTournamentsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
536
1483
|
event<T = SofascoreEventResponse>(params: SofascoreEventParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1484
|
+
eventBestPlayers<T = SofascoreEventBestPlayersResponse>(params: SofascoreEventBestPlayersParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1485
|
+
eventComments<T = SofascoreEventCommentsResponse>(params: SofascoreEventCommentsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1486
|
+
eventGraph<T = SofascoreEventGraphResponse>(params: SofascoreEventGraphParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
537
1487
|
eventH2h<T = SofascoreEventH2hResponse>(params: SofascoreEventH2hParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
538
1488
|
eventIncidents<T = SofascoreEventIncidentsResponse>(params: SofascoreEventIncidentsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
539
1489
|
eventLineups<T = SofascoreEventLineupsResponse>(params: SofascoreEventLineupsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
540
1490
|
eventOdds<T = SofascoreEventOddsResponse>(params: SofascoreEventOddsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1491
|
+
eventPlayerStatistics<T = SofascoreEventPlayerStatisticsResponse>(params: SofascoreEventPlayerStatisticsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1492
|
+
eventShotmap<T = SofascoreEventShotmapResponse>(params: SofascoreEventShotmapParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
541
1493
|
eventStatistics<T = SofascoreEventStatisticsResponse>(params: SofascoreEventStatisticsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
542
1494
|
liveEvents<T = SofascoreLiveEventsResponse>(params: SofascoreLiveEventsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1495
|
+
manager<T = SofascoreManagerResponse>(params: SofascoreManagerParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1496
|
+
managerEvents<T = SofascoreManagerEventsResponse>(params: SofascoreManagerEventsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
543
1497
|
player<T = SofascorePlayerResponse>(params: SofascorePlayerParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1498
|
+
playerSeasonStatistics<T = SofascorePlayerSeasonStatisticsResponse>(params: SofascorePlayerSeasonStatisticsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1499
|
+
playerStatisticsSeasons<T = SofascorePlayerStatisticsSeasonsResponse>(params: SofascorePlayerStatisticsSeasonsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1500
|
+
playerTransfers<T = SofascorePlayerTransfersResponse>(params: SofascorePlayerTransfersParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1501
|
+
rankingTypes<T = SofascoreRankingTypesResponse>(params?: SofascoreRankingTypesParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1502
|
+
rankings<T = SofascoreRankingsResponse>(params: SofascoreRankingsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
544
1503
|
roundEvents<T = SofascoreRoundEventsResponse>(params: SofascoreRoundEventsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1504
|
+
scheduledEvents<T = SofascoreScheduledEventsResponse>(params: SofascoreScheduledEventsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1505
|
+
scheduledTournaments<T = SofascoreScheduledTournamentsResponse>(params: SofascoreScheduledTournamentsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
545
1506
|
search<T = SofascoreSearchResponse>(params: SofascoreSearchParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1507
|
+
seasonEvents<T = SofascoreSeasonEventsResponse>(params: SofascoreSeasonEventsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1508
|
+
sports<T = SofascoreSportsResponse>(params?: SofascoreSportsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
546
1509
|
standings<T = SofascoreStandingsResponse>(params: SofascoreStandingsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
547
1510
|
team<T = SofascoreTeamResponse>(params: SofascoreTeamParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
548
1511
|
teamEvents<T = SofascoreTeamEventsResponse>(params: SofascoreTeamEventsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1512
|
+
teamOfTheWeek<T = SofascoreTeamOfTheWeekResponse>(params: SofascoreTeamOfTheWeekParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1513
|
+
teamOfTheWeekPeriods<T = SofascoreTeamOfTheWeekPeriodsResponse>(params: SofascoreTeamOfTheWeekPeriodsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
549
1514
|
teamPlayers<T = SofascoreTeamPlayersResponse>(params: SofascoreTeamPlayersParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1515
|
+
teamSeasonStatistics<T = SofascoreTeamSeasonStatisticsResponse>(params: SofascoreTeamSeasonStatisticsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1516
|
+
teamStatisticsSeasons<T = SofascoreTeamStatisticsSeasonsResponse>(params: SofascoreTeamStatisticsSeasonsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1517
|
+
teamTransfers<T = SofascoreTeamTransfersResponse>(params: SofascoreTeamTransfersParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1518
|
+
tournamentInfo<T = SofascoreTournamentInfoResponse>(params: SofascoreTournamentInfoParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1519
|
+
tournamentPlayerStatistics<T = SofascoreTournamentPlayerStatisticsResponse>(params: SofascoreTournamentPlayerStatisticsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1520
|
+
tournamentRounds<T = SofascoreTournamentRoundsResponse>(params: SofascoreTournamentRoundsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
550
1521
|
tournamentSeasons<T = SofascoreTournamentSeasonsResponse>(params: SofascoreTournamentSeasonsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1522
|
+
tournamentTopPlayers<T = SofascoreTournamentTopPlayersResponse>(params: SofascoreTournamentTopPlayersParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
1523
|
+
tournamentTopTeams<T = SofascoreTournamentTopTeamsResponse>(params: SofascoreTournamentTopTeamsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
551
1524
|
}
|
|
552
1525
|
|
|
553
1526
|
export interface CrawloraGeneratedGroups {
|
|
@@ -555,57 +1528,141 @@ export interface CrawloraGeneratedGroups {
|
|
|
555
1528
|
}
|
|
556
1529
|
|
|
557
1530
|
export interface OperationParamsMap {
|
|
1531
|
+
"sofascore-categories": SofascoreCategoriesParams;
|
|
1532
|
+
"sofascore-category-tournaments": SofascoreCategoryTournamentsParams;
|
|
558
1533
|
"sofascore-event": SofascoreEventParams;
|
|
1534
|
+
"sofascore-event-best-players": SofascoreEventBestPlayersParams;
|
|
1535
|
+
"sofascore-event-comments": SofascoreEventCommentsParams;
|
|
1536
|
+
"sofascore-event-graph": SofascoreEventGraphParams;
|
|
559
1537
|
"sofascore-event-h2h": SofascoreEventH2hParams;
|
|
560
1538
|
"sofascore-event-incidents": SofascoreEventIncidentsParams;
|
|
561
1539
|
"sofascore-event-lineups": SofascoreEventLineupsParams;
|
|
562
1540
|
"sofascore-event-odds": SofascoreEventOddsParams;
|
|
1541
|
+
"sofascore-event-player-statistics": SofascoreEventPlayerStatisticsParams;
|
|
1542
|
+
"sofascore-event-shotmap": SofascoreEventShotmapParams;
|
|
563
1543
|
"sofascore-event-statistics": SofascoreEventStatisticsParams;
|
|
564
1544
|
"sofascore-live-events": SofascoreLiveEventsParams;
|
|
1545
|
+
"sofascore-manager": SofascoreManagerParams;
|
|
1546
|
+
"sofascore-manager-events": SofascoreManagerEventsParams;
|
|
565
1547
|
"sofascore-player": SofascorePlayerParams;
|
|
1548
|
+
"sofascore-player-season-statistics": SofascorePlayerSeasonStatisticsParams;
|
|
1549
|
+
"sofascore-player-statistics-seasons": SofascorePlayerStatisticsSeasonsParams;
|
|
1550
|
+
"sofascore-player-transfers": SofascorePlayerTransfersParams;
|
|
1551
|
+
"sofascore-ranking-types": SofascoreRankingTypesParams;
|
|
1552
|
+
"sofascore-rankings": SofascoreRankingsParams;
|
|
566
1553
|
"sofascore-round-events": SofascoreRoundEventsParams;
|
|
1554
|
+
"sofascore-scheduled-events": SofascoreScheduledEventsParams;
|
|
1555
|
+
"sofascore-scheduled-tournaments": SofascoreScheduledTournamentsParams;
|
|
567
1556
|
"sofascore-search": SofascoreSearchParams;
|
|
1557
|
+
"sofascore-season-events": SofascoreSeasonEventsParams;
|
|
1558
|
+
"sofascore-sports": SofascoreSportsParams;
|
|
568
1559
|
"sofascore-standings": SofascoreStandingsParams;
|
|
569
1560
|
"sofascore-team": SofascoreTeamParams;
|
|
570
1561
|
"sofascore-team-events": SofascoreTeamEventsParams;
|
|
1562
|
+
"sofascore-team-of-the-week": SofascoreTeamOfTheWeekParams;
|
|
1563
|
+
"sofascore-team-of-the-week-periods": SofascoreTeamOfTheWeekPeriodsParams;
|
|
571
1564
|
"sofascore-team-players": SofascoreTeamPlayersParams;
|
|
1565
|
+
"sofascore-team-season-statistics": SofascoreTeamSeasonStatisticsParams;
|
|
1566
|
+
"sofascore-team-statistics-seasons": SofascoreTeamStatisticsSeasonsParams;
|
|
1567
|
+
"sofascore-team-transfers": SofascoreTeamTransfersParams;
|
|
1568
|
+
"sofascore-tournament-info": SofascoreTournamentInfoParams;
|
|
1569
|
+
"sofascore-tournament-player-statistics": SofascoreTournamentPlayerStatisticsParams;
|
|
1570
|
+
"sofascore-tournament-rounds": SofascoreTournamentRoundsParams;
|
|
572
1571
|
"sofascore-tournament-seasons": SofascoreTournamentSeasonsParams;
|
|
1572
|
+
"sofascore-tournament-top-players": SofascoreTournamentTopPlayersParams;
|
|
1573
|
+
"sofascore-tournament-top-teams": SofascoreTournamentTopTeamsParams;
|
|
573
1574
|
}
|
|
574
1575
|
|
|
575
1576
|
export interface OperationResponseMap {
|
|
1577
|
+
"sofascore-categories": SofascoreCategoriesResponse;
|
|
1578
|
+
"sofascore-category-tournaments": SofascoreCategoryTournamentsResponse;
|
|
576
1579
|
"sofascore-event": SofascoreEventResponse;
|
|
1580
|
+
"sofascore-event-best-players": SofascoreEventBestPlayersResponse;
|
|
1581
|
+
"sofascore-event-comments": SofascoreEventCommentsResponse;
|
|
1582
|
+
"sofascore-event-graph": SofascoreEventGraphResponse;
|
|
577
1583
|
"sofascore-event-h2h": SofascoreEventH2hResponse;
|
|
578
1584
|
"sofascore-event-incidents": SofascoreEventIncidentsResponse;
|
|
579
1585
|
"sofascore-event-lineups": SofascoreEventLineupsResponse;
|
|
580
1586
|
"sofascore-event-odds": SofascoreEventOddsResponse;
|
|
1587
|
+
"sofascore-event-player-statistics": SofascoreEventPlayerStatisticsResponse;
|
|
1588
|
+
"sofascore-event-shotmap": SofascoreEventShotmapResponse;
|
|
581
1589
|
"sofascore-event-statistics": SofascoreEventStatisticsResponse;
|
|
582
1590
|
"sofascore-live-events": SofascoreLiveEventsResponse;
|
|
1591
|
+
"sofascore-manager": SofascoreManagerResponse;
|
|
1592
|
+
"sofascore-manager-events": SofascoreManagerEventsResponse;
|
|
583
1593
|
"sofascore-player": SofascorePlayerResponse;
|
|
1594
|
+
"sofascore-player-season-statistics": SofascorePlayerSeasonStatisticsResponse;
|
|
1595
|
+
"sofascore-player-statistics-seasons": SofascorePlayerStatisticsSeasonsResponse;
|
|
1596
|
+
"sofascore-player-transfers": SofascorePlayerTransfersResponse;
|
|
1597
|
+
"sofascore-ranking-types": SofascoreRankingTypesResponse;
|
|
1598
|
+
"sofascore-rankings": SofascoreRankingsResponse;
|
|
584
1599
|
"sofascore-round-events": SofascoreRoundEventsResponse;
|
|
1600
|
+
"sofascore-scheduled-events": SofascoreScheduledEventsResponse;
|
|
1601
|
+
"sofascore-scheduled-tournaments": SofascoreScheduledTournamentsResponse;
|
|
585
1602
|
"sofascore-search": SofascoreSearchResponse;
|
|
1603
|
+
"sofascore-season-events": SofascoreSeasonEventsResponse;
|
|
1604
|
+
"sofascore-sports": SofascoreSportsResponse;
|
|
586
1605
|
"sofascore-standings": SofascoreStandingsResponse;
|
|
587
1606
|
"sofascore-team": SofascoreTeamResponse;
|
|
588
1607
|
"sofascore-team-events": SofascoreTeamEventsResponse;
|
|
1608
|
+
"sofascore-team-of-the-week": SofascoreTeamOfTheWeekResponse;
|
|
1609
|
+
"sofascore-team-of-the-week-periods": SofascoreTeamOfTheWeekPeriodsResponse;
|
|
589
1610
|
"sofascore-team-players": SofascoreTeamPlayersResponse;
|
|
1611
|
+
"sofascore-team-season-statistics": SofascoreTeamSeasonStatisticsResponse;
|
|
1612
|
+
"sofascore-team-statistics-seasons": SofascoreTeamStatisticsSeasonsResponse;
|
|
1613
|
+
"sofascore-team-transfers": SofascoreTeamTransfersResponse;
|
|
1614
|
+
"sofascore-tournament-info": SofascoreTournamentInfoResponse;
|
|
1615
|
+
"sofascore-tournament-player-statistics": SofascoreTournamentPlayerStatisticsResponse;
|
|
1616
|
+
"sofascore-tournament-rounds": SofascoreTournamentRoundsResponse;
|
|
590
1617
|
"sofascore-tournament-seasons": SofascoreTournamentSeasonsResponse;
|
|
1618
|
+
"sofascore-tournament-top-players": SofascoreTournamentTopPlayersResponse;
|
|
1619
|
+
"sofascore-tournament-top-teams": SofascoreTournamentTopTeamsResponse;
|
|
591
1620
|
}
|
|
592
1621
|
|
|
593
1622
|
export interface OperationRequiredParamsMap {
|
|
1623
|
+
"sofascore-categories": true;
|
|
1624
|
+
"sofascore-category-tournaments": true;
|
|
594
1625
|
"sofascore-event": true;
|
|
1626
|
+
"sofascore-event-best-players": true;
|
|
1627
|
+
"sofascore-event-comments": true;
|
|
1628
|
+
"sofascore-event-graph": true;
|
|
595
1629
|
"sofascore-event-h2h": true;
|
|
596
1630
|
"sofascore-event-incidents": true;
|
|
597
1631
|
"sofascore-event-lineups": true;
|
|
598
1632
|
"sofascore-event-odds": true;
|
|
1633
|
+
"sofascore-event-player-statistics": true;
|
|
1634
|
+
"sofascore-event-shotmap": true;
|
|
599
1635
|
"sofascore-event-statistics": true;
|
|
600
1636
|
"sofascore-live-events": true;
|
|
1637
|
+
"sofascore-manager": true;
|
|
1638
|
+
"sofascore-manager-events": true;
|
|
601
1639
|
"sofascore-player": true;
|
|
1640
|
+
"sofascore-player-season-statistics": true;
|
|
1641
|
+
"sofascore-player-statistics-seasons": true;
|
|
1642
|
+
"sofascore-player-transfers": true;
|
|
1643
|
+
"sofascore-ranking-types": false;
|
|
1644
|
+
"sofascore-rankings": true;
|
|
602
1645
|
"sofascore-round-events": true;
|
|
1646
|
+
"sofascore-scheduled-events": true;
|
|
1647
|
+
"sofascore-scheduled-tournaments": true;
|
|
603
1648
|
"sofascore-search": true;
|
|
1649
|
+
"sofascore-season-events": true;
|
|
1650
|
+
"sofascore-sports": false;
|
|
604
1651
|
"sofascore-standings": true;
|
|
605
1652
|
"sofascore-team": true;
|
|
606
1653
|
"sofascore-team-events": true;
|
|
1654
|
+
"sofascore-team-of-the-week": true;
|
|
1655
|
+
"sofascore-team-of-the-week-periods": true;
|
|
607
1656
|
"sofascore-team-players": true;
|
|
1657
|
+
"sofascore-team-season-statistics": true;
|
|
1658
|
+
"sofascore-team-statistics-seasons": true;
|
|
1659
|
+
"sofascore-team-transfers": true;
|
|
1660
|
+
"sofascore-tournament-info": true;
|
|
1661
|
+
"sofascore-tournament-player-statistics": true;
|
|
1662
|
+
"sofascore-tournament-rounds": true;
|
|
608
1663
|
"sofascore-tournament-seasons": true;
|
|
1664
|
+
"sofascore-tournament-top-players": true;
|
|
1665
|
+
"sofascore-tournament-top-teams": true;
|
|
609
1666
|
}
|
|
610
1667
|
|
|
611
1668
|
export type OperationId = keyof OperationParamsMap;
|
|
@@ -616,36 +1673,92 @@ export type OperationRequestArgs<I extends OperationId> =
|
|
|
616
1673
|
: [params?: OperationParamsMap[I], options?: import('./index.js').CrawloraRequestOptions];
|
|
617
1674
|
|
|
618
1675
|
export type OperationIdLiteral =
|
|
1676
|
+
| "sofascore-categories"
|
|
1677
|
+
| "sofascore-category-tournaments"
|
|
619
1678
|
| "sofascore-event"
|
|
1679
|
+
| "sofascore-event-best-players"
|
|
1680
|
+
| "sofascore-event-comments"
|
|
1681
|
+
| "sofascore-event-graph"
|
|
620
1682
|
| "sofascore-event-h2h"
|
|
621
1683
|
| "sofascore-event-incidents"
|
|
622
1684
|
| "sofascore-event-lineups"
|
|
623
1685
|
| "sofascore-event-odds"
|
|
1686
|
+
| "sofascore-event-player-statistics"
|
|
1687
|
+
| "sofascore-event-shotmap"
|
|
624
1688
|
| "sofascore-event-statistics"
|
|
625
1689
|
| "sofascore-live-events"
|
|
1690
|
+
| "sofascore-manager"
|
|
1691
|
+
| "sofascore-manager-events"
|
|
626
1692
|
| "sofascore-player"
|
|
1693
|
+
| "sofascore-player-season-statistics"
|
|
1694
|
+
| "sofascore-player-statistics-seasons"
|
|
1695
|
+
| "sofascore-player-transfers"
|
|
1696
|
+
| "sofascore-ranking-types"
|
|
1697
|
+
| "sofascore-rankings"
|
|
627
1698
|
| "sofascore-round-events"
|
|
1699
|
+
| "sofascore-scheduled-events"
|
|
1700
|
+
| "sofascore-scheduled-tournaments"
|
|
628
1701
|
| "sofascore-search"
|
|
1702
|
+
| "sofascore-season-events"
|
|
1703
|
+
| "sofascore-sports"
|
|
629
1704
|
| "sofascore-standings"
|
|
630
1705
|
| "sofascore-team"
|
|
631
1706
|
| "sofascore-team-events"
|
|
1707
|
+
| "sofascore-team-of-the-week"
|
|
1708
|
+
| "sofascore-team-of-the-week-periods"
|
|
632
1709
|
| "sofascore-team-players"
|
|
633
|
-
| "sofascore-
|
|
1710
|
+
| "sofascore-team-season-statistics"
|
|
1711
|
+
| "sofascore-team-statistics-seasons"
|
|
1712
|
+
| "sofascore-team-transfers"
|
|
1713
|
+
| "sofascore-tournament-info"
|
|
1714
|
+
| "sofascore-tournament-player-statistics"
|
|
1715
|
+
| "sofascore-tournament-rounds"
|
|
1716
|
+
| "sofascore-tournament-seasons"
|
|
1717
|
+
| "sofascore-tournament-top-players"
|
|
1718
|
+
| "sofascore-tournament-top-teams";
|
|
634
1719
|
|
|
635
1720
|
export declare const OperationIds: Readonly<{
|
|
1721
|
+
SofascoreCategories: "sofascore-categories";
|
|
1722
|
+
SofascoreCategoryTournaments: "sofascore-category-tournaments";
|
|
636
1723
|
SofascoreEvent: "sofascore-event";
|
|
1724
|
+
SofascoreEventBestPlayers: "sofascore-event-best-players";
|
|
1725
|
+
SofascoreEventComments: "sofascore-event-comments";
|
|
1726
|
+
SofascoreEventGraph: "sofascore-event-graph";
|
|
637
1727
|
SofascoreEventH2h: "sofascore-event-h2h";
|
|
638
1728
|
SofascoreEventIncidents: "sofascore-event-incidents";
|
|
639
1729
|
SofascoreEventLineups: "sofascore-event-lineups";
|
|
640
1730
|
SofascoreEventOdds: "sofascore-event-odds";
|
|
1731
|
+
SofascoreEventPlayerStatistics: "sofascore-event-player-statistics";
|
|
1732
|
+
SofascoreEventShotmap: "sofascore-event-shotmap";
|
|
641
1733
|
SofascoreEventStatistics: "sofascore-event-statistics";
|
|
642
1734
|
SofascoreLiveEvents: "sofascore-live-events";
|
|
1735
|
+
SofascoreManager: "sofascore-manager";
|
|
1736
|
+
SofascoreManagerEvents: "sofascore-manager-events";
|
|
643
1737
|
SofascorePlayer: "sofascore-player";
|
|
1738
|
+
SofascorePlayerSeasonStatistics: "sofascore-player-season-statistics";
|
|
1739
|
+
SofascorePlayerStatisticsSeasons: "sofascore-player-statistics-seasons";
|
|
1740
|
+
SofascorePlayerTransfers: "sofascore-player-transfers";
|
|
1741
|
+
SofascoreRankingTypes: "sofascore-ranking-types";
|
|
1742
|
+
SofascoreRankings: "sofascore-rankings";
|
|
644
1743
|
SofascoreRoundEvents: "sofascore-round-events";
|
|
1744
|
+
SofascoreScheduledEvents: "sofascore-scheduled-events";
|
|
1745
|
+
SofascoreScheduledTournaments: "sofascore-scheduled-tournaments";
|
|
645
1746
|
SofascoreSearch: "sofascore-search";
|
|
1747
|
+
SofascoreSeasonEvents: "sofascore-season-events";
|
|
1748
|
+
SofascoreSports: "sofascore-sports";
|
|
646
1749
|
SofascoreStandings: "sofascore-standings";
|
|
647
1750
|
SofascoreTeam: "sofascore-team";
|
|
648
1751
|
SofascoreTeamEvents: "sofascore-team-events";
|
|
1752
|
+
SofascoreTeamOfTheWeek: "sofascore-team-of-the-week";
|
|
1753
|
+
SofascoreTeamOfTheWeekPeriods: "sofascore-team-of-the-week-periods";
|
|
649
1754
|
SofascoreTeamPlayers: "sofascore-team-players";
|
|
1755
|
+
SofascoreTeamSeasonStatistics: "sofascore-team-season-statistics";
|
|
1756
|
+
SofascoreTeamStatisticsSeasons: "sofascore-team-statistics-seasons";
|
|
1757
|
+
SofascoreTeamTransfers: "sofascore-team-transfers";
|
|
1758
|
+
SofascoreTournamentInfo: "sofascore-tournament-info";
|
|
1759
|
+
SofascoreTournamentPlayerStatistics: "sofascore-tournament-player-statistics";
|
|
1760
|
+
SofascoreTournamentRounds: "sofascore-tournament-rounds";
|
|
650
1761
|
SofascoreTournamentSeasons: "sofascore-tournament-seasons";
|
|
1762
|
+
SofascoreTournamentTopPlayers: "sofascore-tournament-top-players";
|
|
1763
|
+
SofascoreTournamentTopTeams: "sofascore-tournament-top-teams";
|
|
651
1764
|
}>;
|