@crawlora-org/sofascore 0.1.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/src/types.d.ts ADDED
@@ -0,0 +1,651 @@
1
+ // Generated by scripts/generate.py. Do not edit manually.
2
+
3
+ export type CrawloraResponse<T = unknown> = T;
4
+ export type CrawloraBody<T = Record<string, unknown>> = T;
5
+
6
+ export interface ModelAppResponse {
7
+ "code"?: number;
8
+ "data"?: unknown;
9
+ "msg"?: unknown;
10
+ }
11
+
12
+ export interface ModelSofascoreTournamentSeasonsResponseDoc {
13
+ "code"?: number;
14
+ "data"?: ModelSofascoreTournamentSeasonsResponse;
15
+ "msg"?: string;
16
+ }
17
+
18
+ export interface ModelSofascoreTournamentSeasonsResponse {
19
+ "count"?: number;
20
+ "fetched_at"?: string;
21
+ "seasons"?: Array<ModelSofascoreSeason>;
22
+ "source_url"?: string;
23
+ "tournament_id"?: number;
24
+ }
25
+
26
+ export interface ModelSofascoreSeason {
27
+ "id"?: number;
28
+ "name"?: string;
29
+ "year"?: string;
30
+ }
31
+
32
+ export interface ModelSofascoreTeamPlayersResponseDoc {
33
+ "code"?: number;
34
+ "data"?: ModelSofascoreTeamPlayersResponse;
35
+ "msg"?: string;
36
+ }
37
+
38
+ export interface ModelSofascoreTeamPlayersResponse {
39
+ "count"?: number;
40
+ "fetched_at"?: string;
41
+ "players"?: Array<ModelSofascoreSquadPlayer>;
42
+ "source_url"?: string;
43
+ "team_id"?: number;
44
+ }
45
+
46
+ export interface ModelSofascoreSquadPlayer {
47
+ "country"?: string;
48
+ "date_of_birth"?: string;
49
+ "height"?: number;
50
+ "id"?: number;
51
+ "jersey_number"?: string;
52
+ "market_value"?: number;
53
+ "market_value_currency"?: string;
54
+ "name"?: string;
55
+ "position"?: string;
56
+ "preferred_foot"?: string;
57
+ "short_name"?: string;
58
+ "slug"?: string;
59
+ }
60
+
61
+ export interface ModelSofascoreTeamEventsResponseDoc {
62
+ "code"?: number;
63
+ "data"?: ModelSofascoreTeamEventsResponse;
64
+ "msg"?: string;
65
+ }
66
+
67
+ export interface ModelSofascoreTeamEventsResponse {
68
+ "count"?: number;
69
+ "direction"?: string;
70
+ "events"?: Array<ModelSofascoreEventSummary>;
71
+ "fetched_at"?: string;
72
+ "has_next_page"?: boolean;
73
+ "page"?: number;
74
+ "source_url"?: string;
75
+ "team_id"?: number;
76
+ }
77
+
78
+ export interface ModelSofascoreEventSummary {
79
+ "away_score"?: ModelSofascoreScoreLine;
80
+ "away_team"?: ModelSofascoreTeamRef;
81
+ "home_score"?: ModelSofascoreScoreLine;
82
+ "home_team"?: ModelSofascoreTeamRef;
83
+ "id"?: number;
84
+ "slug"?: string;
85
+ "start_time"?: string;
86
+ "start_timestamp"?: number;
87
+ "status"?: ModelSofascoreEventStatus;
88
+ "tournament"?: ModelSofascoreTournamentRef;
89
+ "winner_code"?: number;
90
+ }
91
+
92
+ export interface ModelSofascoreTournamentRef {
93
+ "category"?: string;
94
+ "id"?: number;
95
+ "name"?: string;
96
+ "slug"?: string;
97
+ "unique_tournament_id"?: number;
98
+ "unique_tournament_name"?: string;
99
+ }
100
+
101
+ export interface ModelSofascoreEventStatus {
102
+ "code"?: number;
103
+ "description"?: string;
104
+ "type"?: string;
105
+ }
106
+
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
+ export interface ModelSofascoreScoreLine {
117
+ "current"?: number;
118
+ "period1"?: number;
119
+ "period2"?: number;
120
+ }
121
+
122
+ export interface ModelSofascoreTeamResponseDoc {
123
+ "code"?: number;
124
+ "data"?: ModelSofascoreTeamResponse;
125
+ "msg"?: string;
126
+ }
127
+
128
+ export interface ModelSofascoreTeamResponse {
129
+ "fetched_at"?: string;
130
+ "source_url"?: string;
131
+ "team"?: ModelSofascoreTeamDetail;
132
+ }
133
+
134
+ export interface ModelSofascoreTeamDetail {
135
+ "country"?: string;
136
+ "id"?: number;
137
+ "manager"?: string;
138
+ "name"?: string;
139
+ "national"?: boolean;
140
+ "primary_color"?: string;
141
+ "short_name"?: string;
142
+ "slug"?: string;
143
+ "sport"?: string;
144
+ "tournament_id"?: number;
145
+ "tournament_name"?: string;
146
+ "venue"?: string;
147
+ "venue_capacity"?: number;
148
+ "venue_city"?: string;
149
+ }
150
+
151
+ export interface ModelSofascoreStandingsResponseDoc {
152
+ "code"?: number;
153
+ "data"?: ModelSofascoreStandingsResponse;
154
+ "msg"?: string;
155
+ }
156
+
157
+ export interface ModelSofascoreStandingsResponse {
158
+ "fetched_at"?: string;
159
+ "groups"?: Array<ModelSofascoreStandingsGroup>;
160
+ "season_id"?: number;
161
+ "source_url"?: string;
162
+ "tournament_id"?: number;
163
+ "type"?: string;
164
+ }
165
+
166
+ export interface ModelSofascoreStandingsGroup {
167
+ "name"?: string;
168
+ "rows"?: Array<ModelSofascoreStandingsRow>;
169
+ }
170
+
171
+ export interface ModelSofascoreStandingsRow {
172
+ "draws"?: number;
173
+ "losses"?: number;
174
+ "matches"?: number;
175
+ "points"?: number;
176
+ "position"?: number;
177
+ "promotion"?: string;
178
+ "scores_against"?: number;
179
+ "scores_for"?: number;
180
+ "team"?: ModelSofascoreTeamRef;
181
+ "wins"?: number;
182
+ }
183
+
184
+ export interface ModelSofascoreSearchResponseDoc {
185
+ "code"?: number;
186
+ "data"?: ModelSofascoreSearchResponse;
187
+ "msg"?: string;
188
+ }
189
+
190
+ export interface ModelSofascoreSearchResponse {
191
+ "count"?: number;
192
+ "fetched_at"?: string;
193
+ "query"?: string;
194
+ "results"?: Array<ModelSofascoreSearchResult>;
195
+ "source_url"?: string;
196
+ }
197
+
198
+ export interface ModelSofascoreSearchResult {
199
+ "country"?: string;
200
+ "id"?: number;
201
+ "name"?: string;
202
+ "slug"?: string;
203
+ "sport"?: string;
204
+ "team_id"?: number;
205
+ "team_name"?: string;
206
+ "type"?: string;
207
+ }
208
+
209
+ export interface ModelSofascoreRoundEventsResponseDoc {
210
+ "code"?: number;
211
+ "data"?: ModelSofascoreRoundEventsResponse;
212
+ "msg"?: string;
213
+ }
214
+
215
+ export interface ModelSofascoreRoundEventsResponse {
216
+ "count"?: number;
217
+ "events"?: Array<ModelSofascoreEventSummary>;
218
+ "fetched_at"?: string;
219
+ "has_next_page"?: boolean;
220
+ "round"?: number;
221
+ "season_id"?: number;
222
+ "source_url"?: string;
223
+ "tournament_id"?: number;
224
+ }
225
+
226
+ export interface ModelSofascorePlayerResponseDoc {
227
+ "code"?: number;
228
+ "data"?: ModelSofascorePlayerResponse;
229
+ "msg"?: string;
230
+ }
231
+
232
+ export interface ModelSofascorePlayerResponse {
233
+ "fetched_at"?: string;
234
+ "player"?: ModelSofascorePlayerDetail;
235
+ "source_url"?: string;
236
+ }
237
+
238
+ export interface ModelSofascorePlayerDetail {
239
+ "country"?: string;
240
+ "date_of_birth"?: string;
241
+ "deceased"?: boolean;
242
+ "height"?: number;
243
+ "id"?: number;
244
+ "jersey_number"?: string;
245
+ "market_value"?: number;
246
+ "market_value_currency"?: string;
247
+ "name"?: string;
248
+ "position"?: string;
249
+ "preferred_foot"?: string;
250
+ "short_name"?: string;
251
+ "slug"?: string;
252
+ "team"?: ModelSofascoreTeamRef;
253
+ }
254
+
255
+ export interface ModelSofascoreLiveEventsResponseDoc {
256
+ "code"?: number;
257
+ "data"?: ModelSofascoreLiveEventsResponse;
258
+ "msg"?: string;
259
+ }
260
+
261
+ export interface ModelSofascoreLiveEventsResponse {
262
+ "count"?: number;
263
+ "events"?: Array<ModelSofascoreEventSummary>;
264
+ "fetched_at"?: string;
265
+ "source_url"?: string;
266
+ "sport"?: string;
267
+ }
268
+
269
+ export interface ModelSofascoreEventStatisticsResponseDoc {
270
+ "code"?: number;
271
+ "data"?: ModelSofascoreEventStatisticsResponse;
272
+ "msg"?: string;
273
+ }
274
+
275
+ export interface ModelSofascoreEventStatisticsResponse {
276
+ "event_id"?: number;
277
+ "fetched_at"?: string;
278
+ "periods"?: Array<ModelSofascoreStatPeriod>;
279
+ "source_url"?: string;
280
+ }
281
+
282
+ export interface ModelSofascoreStatPeriod {
283
+ "groups"?: Array<ModelSofascoreStatGroup>;
284
+ "period"?: string;
285
+ }
286
+
287
+ export interface ModelSofascoreStatGroup {
288
+ "items"?: Array<ModelSofascoreStatItem>;
289
+ "name"?: string;
290
+ }
291
+
292
+ export interface ModelSofascoreStatItem {
293
+ "away"?: string;
294
+ "home"?: string;
295
+ "key"?: string;
296
+ "name"?: string;
297
+ }
298
+
299
+ export interface ModelSofascoreEventOddsResponseDoc {
300
+ "code"?: number;
301
+ "data"?: ModelSofascoreEventOddsResponse;
302
+ "msg"?: string;
303
+ }
304
+
305
+ export interface ModelSofascoreEventOddsResponse {
306
+ "count"?: number;
307
+ "event_id"?: number;
308
+ "fetched_at"?: string;
309
+ "markets"?: Array<ModelSofascoreOddsMarket>;
310
+ "source_url"?: string;
311
+ }
312
+
313
+ export interface ModelSofascoreOddsMarket {
314
+ "choices"?: Array<ModelSofascoreOddsChoice>;
315
+ "group"?: string;
316
+ "name"?: string;
317
+ "period"?: string;
318
+ "suspended"?: boolean;
319
+ }
320
+
321
+ export interface ModelSofascoreOddsChoice {
322
+ "name"?: string;
323
+ "value"?: string;
324
+ "winning"?: boolean;
325
+ }
326
+
327
+ export interface ModelSofascoreEventLineupsResponseDoc {
328
+ "code"?: number;
329
+ "data"?: ModelSofascoreEventLineupsResponse;
330
+ "msg"?: string;
331
+ }
332
+
333
+ export interface ModelSofascoreEventLineupsResponse {
334
+ "away"?: ModelSofascoreTeamLineup;
335
+ "confirmed"?: boolean;
336
+ "event_id"?: number;
337
+ "fetched_at"?: string;
338
+ "home"?: ModelSofascoreTeamLineup;
339
+ "source_url"?: string;
340
+ }
341
+
342
+ export interface ModelSofascoreTeamLineup {
343
+ "formation"?: string;
344
+ "players"?: Array<ModelSofascoreLineupPlayer>;
345
+ }
346
+
347
+ export interface ModelSofascoreLineupPlayer {
348
+ "jersey_number"?: string;
349
+ "player"?: ModelSofascorePlayerRef;
350
+ "position"?: string;
351
+ "substitute"?: boolean;
352
+ }
353
+
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
+ export interface ModelSofascoreEventIncidentsResponseDoc {
364
+ "code"?: number;
365
+ "data"?: ModelSofascoreEventIncidentsResponse;
366
+ "msg"?: string;
367
+ }
368
+
369
+ export interface ModelSofascoreEventIncidentsResponse {
370
+ "count"?: number;
371
+ "event_id"?: number;
372
+ "fetched_at"?: string;
373
+ "incidents"?: Array<ModelSofascoreIncident>;
374
+ "source_url"?: string;
375
+ }
376
+
377
+ export interface ModelSofascoreIncident {
378
+ "added_time"?: number;
379
+ "away_score"?: number;
380
+ "card_color"?: string;
381
+ "home_score"?: number;
382
+ "is_home"?: boolean;
383
+ "player"?: string;
384
+ "player_in"?: string;
385
+ "player_out"?: string;
386
+ "reason"?: string;
387
+ "text"?: string;
388
+ "time"?: number;
389
+ "type"?: string;
390
+ }
391
+
392
+ export interface ModelSofascoreEventH2HresponseDoc {
393
+ "code"?: number;
394
+ "data"?: ModelSofascoreEventH2Hresponse;
395
+ "msg"?: string;
396
+ }
397
+
398
+ export interface ModelSofascoreEventH2Hresponse {
399
+ "event_id"?: number;
400
+ "fetched_at"?: string;
401
+ "manager_duel"?: ModelSofascoreTeamDuel;
402
+ "source_url"?: string;
403
+ "team_duel"?: ModelSofascoreTeamDuel;
404
+ }
405
+
406
+ export interface ModelSofascoreTeamDuel {
407
+ "away_wins"?: number;
408
+ "draws"?: number;
409
+ "home_wins"?: number;
410
+ }
411
+
412
+ export interface ModelSofascoreEventResponseDoc {
413
+ "code"?: number;
414
+ "data"?: ModelSofascoreEventResponse;
415
+ "msg"?: string;
416
+ }
417
+
418
+ export interface ModelSofascoreEventResponse {
419
+ "event"?: ModelSofascoreEventDetail;
420
+ "fetched_at"?: string;
421
+ "source_url"?: string;
422
+ }
423
+
424
+ export interface ModelSofascoreEventDetail {
425
+ "attendance"?: number;
426
+ "away_score"?: ModelSofascoreScoreLine;
427
+ "away_team"?: ModelSofascoreTeamRef;
428
+ "home_score"?: ModelSofascoreScoreLine;
429
+ "home_team"?: ModelSofascoreTeamRef;
430
+ "id"?: number;
431
+ "referee"?: ModelSofascoreReferee;
432
+ "slug"?: string;
433
+ "start_time"?: string;
434
+ "start_timestamp"?: number;
435
+ "status"?: ModelSofascoreEventStatus;
436
+ "tournament"?: ModelSofascoreTournamentRef;
437
+ "venue"?: ModelSofascoreVenue;
438
+ "winner_code"?: number;
439
+ }
440
+
441
+ export interface ModelSofascoreVenue {
442
+ "capacity"?: number;
443
+ "city"?: string;
444
+ "country"?: string;
445
+ "name"?: string;
446
+ }
447
+
448
+ export interface ModelSofascoreReferee {
449
+ "country"?: string;
450
+ "id"?: number;
451
+ "name"?: string;
452
+ }
453
+
454
+ export type SofascoreEventResponse = CrawloraResponse<ModelSofascoreEventResponseDoc>;
455
+ export interface SofascoreEventParams {
456
+ "id": string;
457
+ }
458
+
459
+ export type SofascoreEventH2hResponse = CrawloraResponse<ModelSofascoreEventH2HresponseDoc>;
460
+ export interface SofascoreEventH2hParams {
461
+ "id": string;
462
+ }
463
+
464
+ export type SofascoreEventIncidentsResponse = CrawloraResponse<ModelSofascoreEventIncidentsResponseDoc>;
465
+ export interface SofascoreEventIncidentsParams {
466
+ "id": string;
467
+ }
468
+
469
+ export type SofascoreEventLineupsResponse = CrawloraResponse<ModelSofascoreEventLineupsResponseDoc>;
470
+ export interface SofascoreEventLineupsParams {
471
+ "id": string;
472
+ }
473
+
474
+ export type SofascoreEventOddsResponse = CrawloraResponse<ModelSofascoreEventOddsResponseDoc>;
475
+ export interface SofascoreEventOddsParams {
476
+ "id": string;
477
+ }
478
+
479
+ export type SofascoreEventStatisticsResponse = CrawloraResponse<ModelSofascoreEventStatisticsResponseDoc>;
480
+ export interface SofascoreEventStatisticsParams {
481
+ "id": string;
482
+ }
483
+
484
+ export type SofascoreLiveEventsResponse = CrawloraResponse<ModelSofascoreLiveEventsResponseDoc>;
485
+ export interface SofascoreLiveEventsParams {
486
+ "sport": "football" | "basketball" | "tennis";
487
+ }
488
+
489
+ export type SofascorePlayerResponse = CrawloraResponse<ModelSofascorePlayerResponseDoc>;
490
+ export interface SofascorePlayerParams {
491
+ "id": string;
492
+ }
493
+
494
+ export type SofascoreRoundEventsResponse = CrawloraResponse<ModelSofascoreRoundEventsResponseDoc>;
495
+ export interface SofascoreRoundEventsParams {
496
+ "id": string;
497
+ "season": string;
498
+ "round": number;
499
+ }
500
+
501
+ export type SofascoreSearchResponse = CrawloraResponse<ModelSofascoreSearchResponseDoc>;
502
+ export interface SofascoreSearchParams {
503
+ "q": string;
504
+ }
505
+
506
+ export type SofascoreStandingsResponse = CrawloraResponse<ModelSofascoreStandingsResponseDoc>;
507
+ export interface SofascoreStandingsParams {
508
+ "id": string;
509
+ "season": string;
510
+ "type": "total" | "home" | "away";
511
+ }
512
+
513
+ export type SofascoreTeamResponse = CrawloraResponse<ModelSofascoreTeamResponseDoc>;
514
+ export interface SofascoreTeamParams {
515
+ "id": string;
516
+ }
517
+
518
+ export type SofascoreTeamEventsResponse = CrawloraResponse<ModelSofascoreTeamEventsResponseDoc>;
519
+ export interface SofascoreTeamEventsParams {
520
+ "id": string;
521
+ "direction": "next" | "last";
522
+ "page"?: number;
523
+ }
524
+
525
+ export type SofascoreTeamPlayersResponse = CrawloraResponse<ModelSofascoreTeamPlayersResponseDoc>;
526
+ export interface SofascoreTeamPlayersParams {
527
+ "id": string;
528
+ }
529
+
530
+ export type SofascoreTournamentSeasonsResponse = CrawloraResponse<ModelSofascoreTournamentSeasonsResponseDoc>;
531
+ export interface SofascoreTournamentSeasonsParams {
532
+ "id": string;
533
+ }
534
+
535
+ export interface SofascoreService {
536
+ event<T = SofascoreEventResponse>(params: SofascoreEventParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
537
+ eventH2h<T = SofascoreEventH2hResponse>(params: SofascoreEventH2hParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
538
+ eventIncidents<T = SofascoreEventIncidentsResponse>(params: SofascoreEventIncidentsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
539
+ eventLineups<T = SofascoreEventLineupsResponse>(params: SofascoreEventLineupsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
540
+ eventOdds<T = SofascoreEventOddsResponse>(params: SofascoreEventOddsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
541
+ eventStatistics<T = SofascoreEventStatisticsResponse>(params: SofascoreEventStatisticsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
542
+ liveEvents<T = SofascoreLiveEventsResponse>(params: SofascoreLiveEventsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
543
+ player<T = SofascorePlayerResponse>(params: SofascorePlayerParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
544
+ roundEvents<T = SofascoreRoundEventsResponse>(params: SofascoreRoundEventsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
545
+ search<T = SofascoreSearchResponse>(params: SofascoreSearchParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
546
+ standings<T = SofascoreStandingsResponse>(params: SofascoreStandingsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
547
+ team<T = SofascoreTeamResponse>(params: SofascoreTeamParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
548
+ teamEvents<T = SofascoreTeamEventsResponse>(params: SofascoreTeamEventsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
549
+ teamPlayers<T = SofascoreTeamPlayersResponse>(params: SofascoreTeamPlayersParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
550
+ tournamentSeasons<T = SofascoreTournamentSeasonsResponse>(params: SofascoreTournamentSeasonsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
551
+ }
552
+
553
+ export interface CrawloraGeneratedGroups {
554
+ sofascore: SofascoreService;
555
+ }
556
+
557
+ export interface OperationParamsMap {
558
+ "sofascore-event": SofascoreEventParams;
559
+ "sofascore-event-h2h": SofascoreEventH2hParams;
560
+ "sofascore-event-incidents": SofascoreEventIncidentsParams;
561
+ "sofascore-event-lineups": SofascoreEventLineupsParams;
562
+ "sofascore-event-odds": SofascoreEventOddsParams;
563
+ "sofascore-event-statistics": SofascoreEventStatisticsParams;
564
+ "sofascore-live-events": SofascoreLiveEventsParams;
565
+ "sofascore-player": SofascorePlayerParams;
566
+ "sofascore-round-events": SofascoreRoundEventsParams;
567
+ "sofascore-search": SofascoreSearchParams;
568
+ "sofascore-standings": SofascoreStandingsParams;
569
+ "sofascore-team": SofascoreTeamParams;
570
+ "sofascore-team-events": SofascoreTeamEventsParams;
571
+ "sofascore-team-players": SofascoreTeamPlayersParams;
572
+ "sofascore-tournament-seasons": SofascoreTournamentSeasonsParams;
573
+ }
574
+
575
+ export interface OperationResponseMap {
576
+ "sofascore-event": SofascoreEventResponse;
577
+ "sofascore-event-h2h": SofascoreEventH2hResponse;
578
+ "sofascore-event-incidents": SofascoreEventIncidentsResponse;
579
+ "sofascore-event-lineups": SofascoreEventLineupsResponse;
580
+ "sofascore-event-odds": SofascoreEventOddsResponse;
581
+ "sofascore-event-statistics": SofascoreEventStatisticsResponse;
582
+ "sofascore-live-events": SofascoreLiveEventsResponse;
583
+ "sofascore-player": SofascorePlayerResponse;
584
+ "sofascore-round-events": SofascoreRoundEventsResponse;
585
+ "sofascore-search": SofascoreSearchResponse;
586
+ "sofascore-standings": SofascoreStandingsResponse;
587
+ "sofascore-team": SofascoreTeamResponse;
588
+ "sofascore-team-events": SofascoreTeamEventsResponse;
589
+ "sofascore-team-players": SofascoreTeamPlayersResponse;
590
+ "sofascore-tournament-seasons": SofascoreTournamentSeasonsResponse;
591
+ }
592
+
593
+ export interface OperationRequiredParamsMap {
594
+ "sofascore-event": true;
595
+ "sofascore-event-h2h": true;
596
+ "sofascore-event-incidents": true;
597
+ "sofascore-event-lineups": true;
598
+ "sofascore-event-odds": true;
599
+ "sofascore-event-statistics": true;
600
+ "sofascore-live-events": true;
601
+ "sofascore-player": true;
602
+ "sofascore-round-events": true;
603
+ "sofascore-search": true;
604
+ "sofascore-standings": true;
605
+ "sofascore-team": true;
606
+ "sofascore-team-events": true;
607
+ "sofascore-team-players": true;
608
+ "sofascore-tournament-seasons": true;
609
+ }
610
+
611
+ export type OperationId = keyof OperationParamsMap;
612
+
613
+ export type OperationRequestArgs<I extends OperationId> =
614
+ OperationRequiredParamsMap[I] extends true
615
+ ? [params: OperationParamsMap[I], options?: import('./index.js').CrawloraRequestOptions]
616
+ : [params?: OperationParamsMap[I], options?: import('./index.js').CrawloraRequestOptions];
617
+
618
+ export type OperationIdLiteral =
619
+ | "sofascore-event"
620
+ | "sofascore-event-h2h"
621
+ | "sofascore-event-incidents"
622
+ | "sofascore-event-lineups"
623
+ | "sofascore-event-odds"
624
+ | "sofascore-event-statistics"
625
+ | "sofascore-live-events"
626
+ | "sofascore-player"
627
+ | "sofascore-round-events"
628
+ | "sofascore-search"
629
+ | "sofascore-standings"
630
+ | "sofascore-team"
631
+ | "sofascore-team-events"
632
+ | "sofascore-team-players"
633
+ | "sofascore-tournament-seasons";
634
+
635
+ export declare const OperationIds: Readonly<{
636
+ SofascoreEvent: "sofascore-event";
637
+ SofascoreEventH2h: "sofascore-event-h2h";
638
+ SofascoreEventIncidents: "sofascore-event-incidents";
639
+ SofascoreEventLineups: "sofascore-event-lineups";
640
+ SofascoreEventOdds: "sofascore-event-odds";
641
+ SofascoreEventStatistics: "sofascore-event-statistics";
642
+ SofascoreLiveEvents: "sofascore-live-events";
643
+ SofascorePlayer: "sofascore-player";
644
+ SofascoreRoundEvents: "sofascore-round-events";
645
+ SofascoreSearch: "sofascore-search";
646
+ SofascoreStandings: "sofascore-standings";
647
+ SofascoreTeam: "sofascore-team";
648
+ SofascoreTeamEvents: "sofascore-team-events";
649
+ SofascoreTeamPlayers: "sofascore-team-players";
650
+ SofascoreTournamentSeasons: "sofascore-tournament-seasons";
651
+ }>;