@lovebowls/api 0.0.0-stage → 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.
@@ -0,0 +1,1454 @@
1
+ export interface paths {
2
+ "/clubs/{clubId}": {
3
+ parameters: {
4
+ query?: never;
5
+ header?: never;
6
+ path?: never;
7
+ cookie?: never;
8
+ };
9
+ /**
10
+ * Get the club summary
11
+ * @description The club's name, its teams (for the `team` filter and field) and its current season.
12
+ */
13
+ get: operations["getClub"];
14
+ put?: never;
15
+ post?: never;
16
+ delete?: never;
17
+ options?: never;
18
+ head?: never;
19
+ patch?: never;
20
+ trace?: never;
21
+ };
22
+ "/clubs/{clubId}/competitions": {
23
+ parameters: {
24
+ query?: never;
25
+ header?: never;
26
+ path?: never;
27
+ cookie?: never;
28
+ };
29
+ /**
30
+ * List the club's competitions
31
+ * @description Every competition of the club, matches and club events alike. Use a competition's `id` as the
32
+ * `competition` filter of `listFixtures`. Ordered by name. Not paged: a club has tens, not
33
+ * thousands.
34
+ */
35
+ get: operations["listCompetitions"];
36
+ put?: never;
37
+ post?: never;
38
+ delete?: never;
39
+ options?: never;
40
+ head?: never;
41
+ patch?: never;
42
+ trace?: never;
43
+ };
44
+ "/clubs/{clubId}/fixtures": {
45
+ parameters: {
46
+ query?: never;
47
+ header?: never;
48
+ path?: never;
49
+ cookie?: never;
50
+ };
51
+ /**
52
+ * List fixtures and club events
53
+ * @description Published fixtures and club events in a date range, oldest first, each with its result once
54
+ * there is one. This is also the club calendar: ask for the range you want to show.
55
+ *
56
+ * With no `from` and `to`, the range is the club's current season. Send both `from` and `to`, or
57
+ * neither: one alone is `400 invalid_request`. A range may not exceed 400 days. `from` is
58
+ * inclusive and `to` is exclusive.
59
+ */
60
+ get: operations["listFixtures"];
61
+ put?: never;
62
+ post?: never;
63
+ delete?: never;
64
+ options?: never;
65
+ head?: never;
66
+ patch?: never;
67
+ trace?: never;
68
+ };
69
+ "/clubs/{clubId}/fixtures/{fixtureId}": {
70
+ parameters: {
71
+ query?: never;
72
+ header?: never;
73
+ path?: never;
74
+ cookie?: never;
75
+ };
76
+ /**
77
+ * Get one fixture
78
+ * @description One published fixture or club event, with its result once there is one. A draft fixture
79
+ * answers `404 fixture_not_found`, as an unknown id does.
80
+ */
81
+ get: operations["getFixture"];
82
+ put?: never;
83
+ post?: never;
84
+ delete?: never;
85
+ options?: never;
86
+ head?: never;
87
+ patch?: never;
88
+ trace?: never;
89
+ };
90
+ "/leagues/{leagueId}": {
91
+ parameters: {
92
+ query?: never;
93
+ header?: never;
94
+ path?: never;
95
+ cookie?: never;
96
+ };
97
+ /**
98
+ * Get a league table
99
+ * @description A league and its current table. Leagues are not owned by a club, so this path has no club id;
100
+ * any key may read any league whose id it knows, as the public `/league?id=` page allows today.
101
+ * The feature-group check uses the key's club.
102
+ */
103
+ get: operations["getLeague"];
104
+ put?: never;
105
+ post?: never;
106
+ delete?: never;
107
+ options?: never;
108
+ head?: never;
109
+ patch?: never;
110
+ trace?: never;
111
+ };
112
+ "/clubs/{clubId}/news": {
113
+ parameters: {
114
+ query?: never;
115
+ header?: never;
116
+ path?: never;
117
+ cookie?: never;
118
+ };
119
+ /**
120
+ * List news articles
121
+ * @description The club's current news: articles inside their show window, newest first. A call with a member
122
+ * token of this club also gets the club's members-only articles; without one, only public articles.
123
+ * Member-token calls are answered with `Cache-Control: private, no-store`.
124
+ */
125
+ get: operations["listNews"];
126
+ put?: never;
127
+ post?: never;
128
+ delete?: never;
129
+ options?: never;
130
+ head?: never;
131
+ patch?: never;
132
+ trace?: never;
133
+ };
134
+ "/clubs/{clubId}/news/{articleId}": {
135
+ parameters: {
136
+ query?: never;
137
+ header?: never;
138
+ path?: never;
139
+ cookie?: never;
140
+ };
141
+ /**
142
+ * Get one news article
143
+ * @description One article with its body. An article outside its show window, of another club, or members-only
144
+ * without a member token of this club answers `404 news_not_found`, as an unknown id does.
145
+ */
146
+ get: operations["getNewsArticle"];
147
+ put?: never;
148
+ post?: never;
149
+ delete?: never;
150
+ options?: never;
151
+ head?: never;
152
+ patch?: never;
153
+ trace?: never;
154
+ };
155
+ "/clubs/{clubId}/honours": {
156
+ parameters: {
157
+ query?: never;
158
+ header?: never;
159
+ path?: never;
160
+ cookie?: never;
161
+ };
162
+ /**
163
+ * List the club honours board
164
+ * @description Every entry on the club's honours board, newest year first. Not paged.
165
+ */
166
+ get: operations["listHonours"];
167
+ put?: never;
168
+ post?: never;
169
+ delete?: never;
170
+ options?: never;
171
+ head?: never;
172
+ patch?: never;
173
+ trace?: never;
174
+ };
175
+ "/clubs/{clubId}/life-members": {
176
+ parameters: {
177
+ query?: never;
178
+ header?: never;
179
+ path?: never;
180
+ cookie?: never;
181
+ };
182
+ /**
183
+ * List the club's life members
184
+ * @description The club's life members and founders, in the club's own order. Not paged.
185
+ */
186
+ get: operations["listLifeMembers"];
187
+ put?: never;
188
+ post?: never;
189
+ delete?: never;
190
+ options?: never;
191
+ head?: never;
192
+ patch?: never;
193
+ trace?: never;
194
+ };
195
+ "/clubs/{clubId}/trophies": {
196
+ parameters: {
197
+ query?: never;
198
+ header?: never;
199
+ path?: never;
200
+ cookie?: never;
201
+ };
202
+ /**
203
+ * List the club's trophies
204
+ * @description The club's trophies in the club's own order, without their winners. Not paged.
205
+ */
206
+ get: operations["listTrophies"];
207
+ put?: never;
208
+ post?: never;
209
+ delete?: never;
210
+ options?: never;
211
+ head?: never;
212
+ patch?: never;
213
+ trace?: never;
214
+ };
215
+ "/clubs/{clubId}/trophies/{trophyId}": {
216
+ parameters: {
217
+ query?: never;
218
+ header?: never;
219
+ path?: never;
220
+ cookie?: never;
221
+ };
222
+ /**
223
+ * Get a trophy and its winners
224
+ * @description One trophy with its winners for every year on record, newest year first.
225
+ */
226
+ get: operations["getTrophy"];
227
+ put?: never;
228
+ post?: never;
229
+ delete?: never;
230
+ options?: never;
231
+ head?: never;
232
+ patch?: never;
233
+ trace?: never;
234
+ };
235
+ "/clubs/{clubId}/me": {
236
+ parameters: {
237
+ query?: never;
238
+ header?: never;
239
+ path?: never;
240
+ cookie?: never;
241
+ };
242
+ /**
243
+ * Get the signed-in member's own record
244
+ * @description The caller's own record in this club, including their own contact details. Read-only in v1;
245
+ * members change their details on the lovebowls site. A valid token of someone who is not a member
246
+ * of this club answers `403 not_a_member`.
247
+ */
248
+ get: operations["getMe"];
249
+ put?: never;
250
+ post?: never;
251
+ delete?: never;
252
+ options?: never;
253
+ head?: never;
254
+ patch?: never;
255
+ trace?: never;
256
+ };
257
+ "/clubs/{clubId}/me/calendar": {
258
+ parameters: {
259
+ query?: never;
260
+ header?: never;
261
+ path?: never;
262
+ cookie?: never;
263
+ };
264
+ /**
265
+ * Get the signed-in member's calendar
266
+ * @description The member's own calendar, as on the lovebowls site: the fixtures they marked themselves available
267
+ * for, were selected for or withdrew from, every club event, and their away periods. Ordered by
268
+ * start. With no `from` and `to`, the club's current season; at most 400 days. Not paged.
269
+ */
270
+ get: operations["getMyCalendar"];
271
+ put?: never;
272
+ post?: never;
273
+ delete?: never;
274
+ options?: never;
275
+ head?: never;
276
+ patch?: never;
277
+ trace?: never;
278
+ };
279
+ "/clubs/{clubId}/me/availability": {
280
+ parameters: {
281
+ query?: never;
282
+ header?: never;
283
+ path?: never;
284
+ cookie?: never;
285
+ };
286
+ /**
287
+ * List the fixtures the member is available for
288
+ * @description The ids of the published fixtures in the range that the signed-in member has marked themselves
289
+ * available for. With no `from` and `to`, the club's current season; at most 400 days. Not paged.
290
+ */
291
+ get: operations["listMyAvailability"];
292
+ put?: never;
293
+ post?: never;
294
+ delete?: never;
295
+ options?: never;
296
+ head?: never;
297
+ patch?: never;
298
+ trace?: never;
299
+ };
300
+ "/clubs/{clubId}/me/availability/{fixtureId}": {
301
+ parameters: {
302
+ query?: never;
303
+ header?: never;
304
+ path?: never;
305
+ cookie?: never;
306
+ };
307
+ get?: never;
308
+ /**
309
+ * Mark the member available for a fixture
310
+ * @description Marks the signed-in member available, under the same rules as the lovebowls site (spec.md §8.2);
311
+ * a fixture that does not allow it answers `409` with the reason as `code`. Idempotent. When the
312
+ * competition groups availability, every fixture of that competition at the same time is marked too,
313
+ * and `fixtureIds` lists them all.
314
+ */
315
+ put: operations["setMyAvailability"];
316
+ post?: never;
317
+ /**
318
+ * Mark the member not available for a fixture
319
+ * @description The reverse of `setMyAvailability`, under the same rules, grouping included. Idempotent.
320
+ */
321
+ delete: operations["clearMyAvailability"];
322
+ options?: never;
323
+ head?: never;
324
+ patch?: never;
325
+ trace?: never;
326
+ };
327
+ "/clubs/{clubId}/fixtures/{fixtureId}/teamsheet": {
328
+ parameters: {
329
+ query?: never;
330
+ header?: never;
331
+ path?: never;
332
+ cookie?: never;
333
+ };
334
+ /**
335
+ * Get a fixture's published teamsheet
336
+ * @description The published selection as a member sees it on the lovebowls site: each rink with its places,
337
+ * position names, player names and, once entered, the rink's score. `confirmed` is filled in only for
338
+ * the caller's own place. A selection that is not published answers `404 teamsheet_not_found`.
339
+ */
340
+ get: operations["getTeamsheet"];
341
+ put?: never;
342
+ post?: never;
343
+ delete?: never;
344
+ options?: never;
345
+ head?: never;
346
+ patch?: never;
347
+ trace?: never;
348
+ };
349
+ }
350
+ export type webhooks = Record<string, never>;
351
+ export interface components {
352
+ schemas: {
353
+ /** @description An RFC 9457 problem. Branch on `code`; `title` and `detail` are for people and may change. */
354
+ Problem: {
355
+ /**
356
+ * Format: uri
357
+ * @example https://api.lovebowls.co.uk/problems/not-found
358
+ */
359
+ type: string;
360
+ /** @example Not found */
361
+ title: string;
362
+ /** @example 404 */
363
+ status: number;
364
+ /**
365
+ * @description Stable machine-readable error code. See spec.md §3.6 for the list.
366
+ * @example fixture_not_found
367
+ */
368
+ code: string;
369
+ /** @example No published fixture with this id in this club. */
370
+ detail?: string | null;
371
+ requestId: string;
372
+ };
373
+ Page: {
374
+ items: unknown[];
375
+ /** @description Pass as `cursor` to get the next page; `null` on the last page. */
376
+ nextCursor: string | null;
377
+ };
378
+ /**
379
+ * @description `match` — against opponents; `event` — a club event. More values may be added.
380
+ * @enum {string}
381
+ */
382
+ FixtureKind: "match" | "event";
383
+ Club: {
384
+ id: string;
385
+ /** @example lovebowls demo */
386
+ name: string;
387
+ /**
388
+ * @description The club's IANA time zone, for showing local times. Times on the wire are UTC.
389
+ * @example Europe/London
390
+ */
391
+ timeZone: string;
392
+ /** @description The club's teams, as used by a fixture's `team` and the `team` filter. */
393
+ teams: {
394
+ /** @example A */
395
+ id: string;
396
+ /** @example A team */
397
+ name: string;
398
+ }[];
399
+ /** @description The club's current season. `end` is exclusive. */
400
+ season: {
401
+ /** Format: date-time */
402
+ start: string;
403
+ /** Format: date-time */
404
+ end: string;
405
+ };
406
+ };
407
+ CompetitionSummary: {
408
+ id: string;
409
+ name: string;
410
+ kind: components["schemas"]["FixtureKind"];
411
+ /** @description Calendar colour (a CSS colour) set by the club. */
412
+ colour: string | null;
413
+ /** @description Text colour to use on `colour`. */
414
+ textColour: string | null;
415
+ };
416
+ Competition: components["schemas"]["CompetitionSummary"] & {
417
+ description: string | null;
418
+ playersPerRink: number | null;
419
+ /**
420
+ * @description Who may play. More values may be added.
421
+ * @enum {string}
422
+ */
423
+ gender: "mixed" | "male" | "female";
424
+ /** @description Minimum age on the fixture date; `null` for no minimum. */
425
+ minAge: number | null;
426
+ /** @description Maximum age on the fixture date; `null` for no maximum. */
427
+ maxAge: number | null;
428
+ /** Format: uri */
429
+ imageUrl: string | null;
430
+ /** Format: uri */
431
+ link: string | null;
432
+ };
433
+ /**
434
+ * @description The fixture's result. Rink scores, when any rink has one, give `outcome` and the scores;
435
+ * otherwise the result the club entered by hand.
436
+ */
437
+ Result: {
438
+ /**
439
+ * @description `null` when the club recorded only a text result.
440
+ * @enum {string|null}
441
+ */
442
+ outcome: "win" | "loss" | "draw" | null;
443
+ /** @description Sum of the club's rink scores. */
444
+ clubScore: number | null;
445
+ /** @description Sum of the opponents' rink scores. */
446
+ opponentScore: number | null;
447
+ /** @description The result as the club wrote it. */
448
+ text: string | null;
449
+ };
450
+ Fixture: {
451
+ id: string;
452
+ /**
453
+ * @description The club's fixture number, as shown on the hosted site.
454
+ * @example 026
455
+ */
456
+ number: string | null;
457
+ kind: components["schemas"]["FixtureKind"];
458
+ /** Format: date-time */
459
+ start: string;
460
+ /** Format: date-time */
461
+ meetTime: string | null;
462
+ competition: components["schemas"]["CompetitionSummary"];
463
+ /** @description The team's id; its name is in the club summary. */
464
+ team: string | null;
465
+ /**
466
+ * @description `null` for a club event.
467
+ * @enum {string|null}
468
+ */
469
+ venue: "home" | "away" | null;
470
+ /** @description The opposing club or team. Matches only. */
471
+ opponent: string | null;
472
+ /** @description The event's name. Club events only. */
473
+ eventName: string | null;
474
+ notes: string | null;
475
+ dress: string | null;
476
+ rinks: number | null;
477
+ /**
478
+ * @description Members mark their availability for this fixture (it has rinks, or the club switched
479
+ * availability on). Whether a given member may change it now follows spec.md §8.2.
480
+ */
481
+ availabilityEnabled: boolean;
482
+ /** @description The selection is published; members can read the teamsheet. */
483
+ teamsheetPublished: boolean;
484
+ result: components["schemas"]["Result"] | null;
485
+ /** Format: date-time */
486
+ updatedAt: string;
487
+ };
488
+ League: {
489
+ id: string;
490
+ name: string;
491
+ /** @description Ordered by position. */
492
+ table: components["schemas"]["LeagueTableRow"][];
493
+ /** Format: date-time */
494
+ updatedAt: string | null;
495
+ };
496
+ LeagueTableRow: {
497
+ position: number;
498
+ teamId: string;
499
+ teamName: string;
500
+ played: number;
501
+ won: number;
502
+ drawn: number;
503
+ lost: number;
504
+ shotsFor: number;
505
+ shotsAgainst: number;
506
+ shotDifference: number;
507
+ points: number;
508
+ inPromotionPosition: boolean;
509
+ inRelegationPosition: boolean;
510
+ };
511
+ NewsSummary: {
512
+ id: string;
513
+ title: string;
514
+ /** @description The club's own lead text, or else the first ~300 characters of the body as plain text. */
515
+ summary: string | null;
516
+ categories: string[];
517
+ /** Format: uri */
518
+ imageUrl: string | null;
519
+ imageCaption: string | null;
520
+ /** @description Only ever true on a call with a member token of this club. */
521
+ membersOnly: boolean;
522
+ /** Format: date-time */
523
+ publishedAt: string;
524
+ /** Format: date-time */
525
+ showFrom: string;
526
+ /** Format: date-time */
527
+ showUntil: string;
528
+ };
529
+ NewsArticle: components["schemas"]["NewsSummary"] & {
530
+ /**
531
+ * @description The body as sanitised HTML: scripts, styles, event attributes and unknown tags removed;
532
+ * links and images as absolute https URLs. Safe to insert into a page.
533
+ */
534
+ bodyHtml: string;
535
+ attachments: {
536
+ name: string;
537
+ /** Format: uri */
538
+ url: string;
539
+ }[];
540
+ };
541
+ /**
542
+ * @description One winner. `member` — a current member, by name; `nonMember` — a name the club typed in;
543
+ * `formerMember` — someone who has since left the club, shown without a name.
544
+ */
545
+ Winner: {
546
+ /** @enum {string} */
547
+ kind: "member" | "nonMember" | "formerMember";
548
+ /** @description `null` for a former member. */
549
+ name: string | null;
550
+ };
551
+ Honour: {
552
+ id: string;
553
+ title: string;
554
+ year: number;
555
+ winners: components["schemas"]["Winner"][];
556
+ };
557
+ LifeMember: {
558
+ id: string;
559
+ name: string;
560
+ /** Format: uri */
561
+ pictureUrl: string | null;
562
+ founder: boolean;
563
+ };
564
+ Trophy: {
565
+ id: string;
566
+ name: string;
567
+ knownAs: string | null;
568
+ /** Format: uri */
569
+ imageUrl: string | null;
570
+ firstYear: number | null;
571
+ winnersPerYear: number | null;
572
+ singles: boolean;
573
+ notes: string | null;
574
+ };
575
+ TrophyYear: {
576
+ year: number;
577
+ /** @description `false` when the club recorded that the trophy was not awarded that year. */
578
+ awarded: boolean;
579
+ winners: components["schemas"]["Winner"][];
580
+ /** Format: uri */
581
+ imageUrl: string | null;
582
+ };
583
+ TrophyWithWinners: components["schemas"]["Trophy"] & {
584
+ /** @description Newest year first. */
585
+ years: components["schemas"]["TrophyYear"][];
586
+ };
587
+ /**
588
+ * @description A role in the club. More values may be added.
589
+ * @enum {string}
590
+ */
591
+ ClubRole: "fixtureSecretary" | "selector" | "admin" | "secretary" | "eventsManager";
592
+ Me: {
593
+ id: string;
594
+ name: string;
595
+ firstName: string | null;
596
+ lastName: string | null;
597
+ /** Format: uri */
598
+ pictureUrl: string | null;
599
+ /** Format: email */
600
+ email: string | null;
601
+ phones: string[];
602
+ /** Format: date */
603
+ dateOfBirth: string | null;
604
+ age: number | null;
605
+ /** @enum {string|null} */
606
+ gender: "male" | "female" | null;
607
+ handicap: string | null;
608
+ cardNumber: string | null;
609
+ /** @description A non-playing member; cannot mark availability. */
610
+ nonPlaying: boolean;
611
+ /** @description Officer roles in this club; empty for an ordinary member. */
612
+ roles: components["schemas"]["ClubRole"][];
613
+ };
614
+ /** @description The signed-in member's own position on one fixture. */
615
+ MyFixtureStatus: {
616
+ available: boolean;
617
+ withdrawn: boolean;
618
+ /** @description Only true once the teamsheet is published. */
619
+ selected: boolean;
620
+ /** @description `null` when not selected. */
621
+ confirmed: boolean | null;
622
+ reserve: boolean;
623
+ position: number | null;
624
+ /** @example Skip */
625
+ positionName: string | null;
626
+ /** @example Team 2 */
627
+ rink: string | null;
628
+ };
629
+ /**
630
+ * @description `fixture` — a fixture or club event, with the member's own status; `away` — a period the member
631
+ * marked themselves away.
632
+ */
633
+ CalendarEntry: {
634
+ /** @enum {string} */
635
+ kind: "fixture" | "away";
636
+ /** Format: date-time */
637
+ start: string;
638
+ /**
639
+ * Format: date-time
640
+ * @description The end of an away period; `null` for a fixture.
641
+ */
642
+ end: string | null;
643
+ fixture: components["schemas"]["Fixture"] | null;
644
+ me: components["schemas"]["MyFixtureStatus"] | null;
645
+ };
646
+ AvailabilityChange: {
647
+ available: boolean;
648
+ /** @description Every fixture changed — more than one when the competition groups availability. */
649
+ fixtureIds: string[];
650
+ };
651
+ TeamsheetPlace: {
652
+ position: number;
653
+ /** @example Lead */
654
+ positionName: string | null;
655
+ /** @description `null` for an empty place. */
656
+ name: string | null;
657
+ /**
658
+ * @description `member` — a member of the club; `nonMember` — someone the selector added by name; `null` for an empty place.
659
+ * @enum {string|null}
660
+ */
661
+ kind: "member" | "nonMember" | null;
662
+ isMe: boolean;
663
+ /** @description Only for the caller's own place; `null` everywhere else. */
664
+ confirmed: boolean | null;
665
+ };
666
+ TeamsheetRink: {
667
+ /** @example Team 1 */
668
+ name: string;
669
+ /** @description The reserves list rather than a rink. */
670
+ reserve: boolean;
671
+ places: components["schemas"]["TeamsheetPlace"][];
672
+ clubScore: number | null;
673
+ opponentScore: number | null;
674
+ };
675
+ Teamsheet: {
676
+ fixtureId: string;
677
+ /** @description In rink order; the reserves last. */
678
+ rinks: components["schemas"]["TeamsheetRink"][];
679
+ };
680
+ };
681
+ responses: {
682
+ /** @description A parameter is missing, malformed or out of range (`invalid_request`), or the cursor is not valid for these filters (`invalid_cursor`). */
683
+ BadRequest: {
684
+ headers: {
685
+ [name: string]: unknown;
686
+ };
687
+ content: {
688
+ "application/problem+json": components["schemas"]["Problem"];
689
+ };
690
+ };
691
+ /** @description No API key or an unknown or revoked key (`api_key_missing`, `api_key_invalid`); for member operations, no valid member token (`member_token_required`, `member_token_invalid`). */
692
+ Unauthenticated: {
693
+ headers: {
694
+ [name: string]: unknown;
695
+ };
696
+ content: {
697
+ "application/problem+json": components["schemas"]["Problem"];
698
+ };
699
+ };
700
+ /** @description The key may not make this call (`origin_not_allowed`, `server_key_in_browser`, `club_mismatch`, `feature_not_in_plan`, `not_a_member`). */
701
+ Forbidden: {
702
+ headers: {
703
+ [name: string]: unknown;
704
+ };
705
+ content: {
706
+ "application/problem+json": components["schemas"]["Problem"];
707
+ };
708
+ };
709
+ /** @description The resource does not exist or is not visible to this caller (`club_not_found`, `fixture_not_found`, `league_not_found`, `news_not_found`, `trophy_not_found`, `teamsheet_not_found`). */
710
+ NotFound: {
711
+ headers: {
712
+ [name: string]: unknown;
713
+ };
714
+ content: {
715
+ "application/problem+json": components["schemas"]["Problem"];
716
+ };
717
+ };
718
+ /**
719
+ * @description The member may not change their availability for this fixture now. `code` gives the reason:
720
+ * `availability_not_enabled`, `fixture_started`, `teamsheet_published`, `non_playing_member`,
721
+ * `not_eligible`, `invitation_only` or `member_away`.
722
+ */
723
+ AvailabilityRefused: {
724
+ headers: {
725
+ [name: string]: unknown;
726
+ };
727
+ content: {
728
+ "application/problem+json": components["schemas"]["Problem"];
729
+ };
730
+ };
731
+ /** @description Over the key's rate limit (`rate_limited`). */
732
+ RateLimited: {
733
+ headers: {
734
+ "Retry-After": components["headers"]["Retry-After"];
735
+ [name: string]: unknown;
736
+ };
737
+ content: {
738
+ "application/problem+json": components["schemas"]["Problem"];
739
+ };
740
+ };
741
+ /** @description The backend failed (`upstream_error`). Safe to retry. */
742
+ UpstreamError: {
743
+ headers: {
744
+ [name: string]: unknown;
745
+ };
746
+ content: {
747
+ "application/problem+json": components["schemas"]["Problem"];
748
+ };
749
+ };
750
+ };
751
+ parameters: {
752
+ /**
753
+ * @description The club's id. It must be the club the API key belongs to.
754
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
755
+ */
756
+ clubId: string;
757
+ fixtureIdPath: string;
758
+ /**
759
+ * @description Start of the range (inclusive). A date means midnight UTC at the start of that day.
760
+ * @example 2027-04-01
761
+ */
762
+ from: string;
763
+ /**
764
+ * @description End of the range (exclusive). A date means midnight UTC at the start of that day.
765
+ * @example 2027-10-01
766
+ */
767
+ to: string;
768
+ /** @description Items per page. */
769
+ limit: number;
770
+ /** @description The `nextCursor` of the previous page, unchanged. Use it with the same filters. */
771
+ cursor: string;
772
+ };
773
+ requestBodies: never;
774
+ headers: {
775
+ /** @description Requests allowed in the current window. */
776
+ "RateLimit-Limit": number;
777
+ /** @description Requests left in the current window. */
778
+ "RateLimit-Remaining": number;
779
+ /** @description Seconds until the window resets. */
780
+ "RateLimit-Reset": number;
781
+ /** @description Seconds to wait before retrying. */
782
+ "Retry-After": number;
783
+ /** @description The request's id, also in the problem body and the usage log. */
784
+ "X-Request-Id": string;
785
+ };
786
+ pathItems: never;
787
+ }
788
+ export type $defs = Record<string, never>;
789
+ export interface operations {
790
+ getClub: {
791
+ parameters: {
792
+ query?: never;
793
+ header?: never;
794
+ path: {
795
+ /**
796
+ * @description The club's id. It must be the club the API key belongs to.
797
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
798
+ */
799
+ clubId: components["parameters"]["clubId"];
800
+ };
801
+ cookie?: never;
802
+ };
803
+ requestBody?: never;
804
+ responses: {
805
+ /** @description The club. */
806
+ 200: {
807
+ headers: {
808
+ "RateLimit-Limit": components["headers"]["RateLimit-Limit"];
809
+ "RateLimit-Remaining": components["headers"]["RateLimit-Remaining"];
810
+ "RateLimit-Reset": components["headers"]["RateLimit-Reset"];
811
+ [name: string]: unknown;
812
+ };
813
+ content: {
814
+ "application/json": components["schemas"]["Club"];
815
+ };
816
+ };
817
+ 400: components["responses"]["BadRequest"];
818
+ 401: components["responses"]["Unauthenticated"];
819
+ 403: components["responses"]["Forbidden"];
820
+ 404: components["responses"]["NotFound"];
821
+ 429: components["responses"]["RateLimited"];
822
+ 502: components["responses"]["UpstreamError"];
823
+ };
824
+ };
825
+ listCompetitions: {
826
+ parameters: {
827
+ query?: {
828
+ /** @description Only competitions of this kind. */
829
+ kind?: components["schemas"]["FixtureKind"];
830
+ };
831
+ header?: never;
832
+ path: {
833
+ /**
834
+ * @description The club's id. It must be the club the API key belongs to.
835
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
836
+ */
837
+ clubId: components["parameters"]["clubId"];
838
+ };
839
+ cookie?: never;
840
+ };
841
+ requestBody?: never;
842
+ responses: {
843
+ /** @description The competitions. */
844
+ 200: {
845
+ headers: {
846
+ /** @example public, max-age=60 */
847
+ "Cache-Control"?: string;
848
+ [name: string]: unknown;
849
+ };
850
+ content: {
851
+ "application/json": {
852
+ items: components["schemas"]["Competition"][];
853
+ };
854
+ };
855
+ };
856
+ 400: components["responses"]["BadRequest"];
857
+ 401: components["responses"]["Unauthenticated"];
858
+ 403: components["responses"]["Forbidden"];
859
+ 404: components["responses"]["NotFound"];
860
+ 429: components["responses"]["RateLimited"];
861
+ 502: components["responses"]["UpstreamError"];
862
+ };
863
+ };
864
+ listFixtures: {
865
+ parameters: {
866
+ query?: {
867
+ /**
868
+ * @description Start of the range (inclusive). A date means midnight UTC at the start of that day.
869
+ * @example 2027-04-01
870
+ */
871
+ from?: components["parameters"]["from"];
872
+ /**
873
+ * @description End of the range (exclusive). A date means midnight UTC at the start of that day.
874
+ * @example 2027-10-01
875
+ */
876
+ to?: components["parameters"]["to"];
877
+ /** @description Only fixtures of these competitions. Repeat the parameter for several. */
878
+ competition?: string[];
879
+ /** @description Only fixtures of this team (a team `id` from `getClub`). */
880
+ team?: string;
881
+ /** @description Only matches, or only club events. */
882
+ kind?: components["schemas"]["FixtureKind"];
883
+ /** @description Items per page. */
884
+ limit?: components["parameters"]["limit"];
885
+ /** @description The `nextCursor` of the previous page, unchanged. Use it with the same filters. */
886
+ cursor?: components["parameters"]["cursor"];
887
+ };
888
+ header?: never;
889
+ path: {
890
+ /**
891
+ * @description The club's id. It must be the club the API key belongs to.
892
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
893
+ */
894
+ clubId: components["parameters"]["clubId"];
895
+ };
896
+ cookie?: never;
897
+ };
898
+ requestBody?: never;
899
+ responses: {
900
+ /** @description One page of fixtures. */
901
+ 200: {
902
+ headers: {
903
+ /** @example public, max-age=60 */
904
+ "Cache-Control"?: string;
905
+ [name: string]: unknown;
906
+ };
907
+ content: {
908
+ /**
909
+ * @example {
910
+ * "items": [
911
+ * {
912
+ * "id": "117578e2-e1d8-4806-b519-557a3f1160cd",
913
+ * "number": "002",
914
+ * "kind": "match",
915
+ * "start": "2027-04-05T09:00:00.000Z",
916
+ * "meetTime": null,
917
+ * "competition": {
918
+ * "id": "6f0c2a44-1b7e-4d0e-9a51-2f8f0d1c9e10",
919
+ * "name": "Ladies Premier 2",
920
+ * "kind": "match",
921
+ * "colour": "#7b1fa2",
922
+ * "textColour": "#ffffff"
923
+ * },
924
+ * "team": null,
925
+ * "venue": "home",
926
+ * "opponent": "Kestrelbury Ladies",
927
+ * "eventName": null,
928
+ * "notes": null,
929
+ * "dress": null,
930
+ * "rinks": 3,
931
+ * "availabilityEnabled": true,
932
+ * "teamsheetPublished": false,
933
+ * "result": null,
934
+ * "updatedAt": "2026-11-21T14:02:11.000Z"
935
+ * }
936
+ * ],
937
+ * "nextCursor": null
938
+ * }
939
+ */
940
+ "application/json": components["schemas"]["Page"] & {
941
+ items?: components["schemas"]["Fixture"][];
942
+ };
943
+ };
944
+ };
945
+ 400: components["responses"]["BadRequest"];
946
+ 401: components["responses"]["Unauthenticated"];
947
+ 403: components["responses"]["Forbidden"];
948
+ 404: components["responses"]["NotFound"];
949
+ 429: components["responses"]["RateLimited"];
950
+ 502: components["responses"]["UpstreamError"];
951
+ };
952
+ };
953
+ getFixture: {
954
+ parameters: {
955
+ query?: never;
956
+ header?: never;
957
+ path: {
958
+ /**
959
+ * @description The club's id. It must be the club the API key belongs to.
960
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
961
+ */
962
+ clubId: components["parameters"]["clubId"];
963
+ fixtureId: components["parameters"]["fixtureIdPath"];
964
+ };
965
+ cookie?: never;
966
+ };
967
+ requestBody?: never;
968
+ responses: {
969
+ /** @description The fixture. */
970
+ 200: {
971
+ headers: {
972
+ /** @example public, max-age=60 */
973
+ "Cache-Control"?: string;
974
+ [name: string]: unknown;
975
+ };
976
+ content: {
977
+ "application/json": components["schemas"]["Fixture"];
978
+ };
979
+ };
980
+ 400: components["responses"]["BadRequest"];
981
+ 401: components["responses"]["Unauthenticated"];
982
+ 403: components["responses"]["Forbidden"];
983
+ 404: components["responses"]["NotFound"];
984
+ 429: components["responses"]["RateLimited"];
985
+ 502: components["responses"]["UpstreamError"];
986
+ };
987
+ };
988
+ getLeague: {
989
+ parameters: {
990
+ query?: never;
991
+ header?: never;
992
+ path: {
993
+ leagueId: string;
994
+ };
995
+ cookie?: never;
996
+ };
997
+ requestBody?: never;
998
+ responses: {
999
+ /** @description The league. */
1000
+ 200: {
1001
+ headers: {
1002
+ /** @example public, max-age=60 */
1003
+ "Cache-Control"?: string;
1004
+ [name: string]: unknown;
1005
+ };
1006
+ content: {
1007
+ "application/json": components["schemas"]["League"];
1008
+ };
1009
+ };
1010
+ 400: components["responses"]["BadRequest"];
1011
+ 401: components["responses"]["Unauthenticated"];
1012
+ 403: components["responses"]["Forbidden"];
1013
+ 404: components["responses"]["NotFound"];
1014
+ 429: components["responses"]["RateLimited"];
1015
+ 502: components["responses"]["UpstreamError"];
1016
+ };
1017
+ };
1018
+ listNews: {
1019
+ parameters: {
1020
+ query?: {
1021
+ /** @description Items per page. */
1022
+ limit?: components["parameters"]["limit"];
1023
+ /** @description The `nextCursor` of the previous page, unchanged. Use it with the same filters. */
1024
+ cursor?: components["parameters"]["cursor"];
1025
+ };
1026
+ header?: never;
1027
+ path: {
1028
+ /**
1029
+ * @description The club's id. It must be the club the API key belongs to.
1030
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1031
+ */
1032
+ clubId: components["parameters"]["clubId"];
1033
+ };
1034
+ cookie?: never;
1035
+ };
1036
+ requestBody?: never;
1037
+ responses: {
1038
+ /** @description One page of articles, without their bodies. */
1039
+ 200: {
1040
+ headers: {
1041
+ [name: string]: unknown;
1042
+ };
1043
+ content: {
1044
+ "application/json": components["schemas"]["Page"] & {
1045
+ items?: components["schemas"]["NewsSummary"][];
1046
+ };
1047
+ };
1048
+ };
1049
+ 400: components["responses"]["BadRequest"];
1050
+ 401: components["responses"]["Unauthenticated"];
1051
+ 403: components["responses"]["Forbidden"];
1052
+ 404: components["responses"]["NotFound"];
1053
+ 429: components["responses"]["RateLimited"];
1054
+ 502: components["responses"]["UpstreamError"];
1055
+ };
1056
+ };
1057
+ getNewsArticle: {
1058
+ parameters: {
1059
+ query?: never;
1060
+ header?: never;
1061
+ path: {
1062
+ /**
1063
+ * @description The club's id. It must be the club the API key belongs to.
1064
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1065
+ */
1066
+ clubId: components["parameters"]["clubId"];
1067
+ articleId: string;
1068
+ };
1069
+ cookie?: never;
1070
+ };
1071
+ requestBody?: never;
1072
+ responses: {
1073
+ /** @description The article. */
1074
+ 200: {
1075
+ headers: {
1076
+ [name: string]: unknown;
1077
+ };
1078
+ content: {
1079
+ "application/json": components["schemas"]["NewsArticle"];
1080
+ };
1081
+ };
1082
+ 400: components["responses"]["BadRequest"];
1083
+ 401: components["responses"]["Unauthenticated"];
1084
+ 403: components["responses"]["Forbidden"];
1085
+ 404: components["responses"]["NotFound"];
1086
+ 429: components["responses"]["RateLimited"];
1087
+ 502: components["responses"]["UpstreamError"];
1088
+ };
1089
+ };
1090
+ listHonours: {
1091
+ parameters: {
1092
+ query?: never;
1093
+ header?: never;
1094
+ path: {
1095
+ /**
1096
+ * @description The club's id. It must be the club the API key belongs to.
1097
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1098
+ */
1099
+ clubId: components["parameters"]["clubId"];
1100
+ };
1101
+ cookie?: never;
1102
+ };
1103
+ requestBody?: never;
1104
+ responses: {
1105
+ /** @description The honours board. */
1106
+ 200: {
1107
+ headers: {
1108
+ [name: string]: unknown;
1109
+ };
1110
+ content: {
1111
+ "application/json": {
1112
+ items: components["schemas"]["Honour"][];
1113
+ };
1114
+ };
1115
+ };
1116
+ 400: components["responses"]["BadRequest"];
1117
+ 401: components["responses"]["Unauthenticated"];
1118
+ 403: components["responses"]["Forbidden"];
1119
+ 404: components["responses"]["NotFound"];
1120
+ 429: components["responses"]["RateLimited"];
1121
+ 502: components["responses"]["UpstreamError"];
1122
+ };
1123
+ };
1124
+ listLifeMembers: {
1125
+ parameters: {
1126
+ query?: never;
1127
+ header?: never;
1128
+ path: {
1129
+ /**
1130
+ * @description The club's id. It must be the club the API key belongs to.
1131
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1132
+ */
1133
+ clubId: components["parameters"]["clubId"];
1134
+ };
1135
+ cookie?: never;
1136
+ };
1137
+ requestBody?: never;
1138
+ responses: {
1139
+ /** @description The life members. */
1140
+ 200: {
1141
+ headers: {
1142
+ [name: string]: unknown;
1143
+ };
1144
+ content: {
1145
+ "application/json": {
1146
+ items: components["schemas"]["LifeMember"][];
1147
+ };
1148
+ };
1149
+ };
1150
+ 400: components["responses"]["BadRequest"];
1151
+ 401: components["responses"]["Unauthenticated"];
1152
+ 403: components["responses"]["Forbidden"];
1153
+ 404: components["responses"]["NotFound"];
1154
+ 429: components["responses"]["RateLimited"];
1155
+ 502: components["responses"]["UpstreamError"];
1156
+ };
1157
+ };
1158
+ listTrophies: {
1159
+ parameters: {
1160
+ query?: never;
1161
+ header?: never;
1162
+ path: {
1163
+ /**
1164
+ * @description The club's id. It must be the club the API key belongs to.
1165
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1166
+ */
1167
+ clubId: components["parameters"]["clubId"];
1168
+ };
1169
+ cookie?: never;
1170
+ };
1171
+ requestBody?: never;
1172
+ responses: {
1173
+ /** @description The trophies. */
1174
+ 200: {
1175
+ headers: {
1176
+ [name: string]: unknown;
1177
+ };
1178
+ content: {
1179
+ "application/json": {
1180
+ items: components["schemas"]["Trophy"][];
1181
+ };
1182
+ };
1183
+ };
1184
+ 400: components["responses"]["BadRequest"];
1185
+ 401: components["responses"]["Unauthenticated"];
1186
+ 403: components["responses"]["Forbidden"];
1187
+ 404: components["responses"]["NotFound"];
1188
+ 429: components["responses"]["RateLimited"];
1189
+ 502: components["responses"]["UpstreamError"];
1190
+ };
1191
+ };
1192
+ getTrophy: {
1193
+ parameters: {
1194
+ query?: never;
1195
+ header?: never;
1196
+ path: {
1197
+ /**
1198
+ * @description The club's id. It must be the club the API key belongs to.
1199
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1200
+ */
1201
+ clubId: components["parameters"]["clubId"];
1202
+ trophyId: string;
1203
+ };
1204
+ cookie?: never;
1205
+ };
1206
+ requestBody?: never;
1207
+ responses: {
1208
+ /** @description The trophy. */
1209
+ 200: {
1210
+ headers: {
1211
+ [name: string]: unknown;
1212
+ };
1213
+ content: {
1214
+ "application/json": components["schemas"]["TrophyWithWinners"];
1215
+ };
1216
+ };
1217
+ 400: components["responses"]["BadRequest"];
1218
+ 401: components["responses"]["Unauthenticated"];
1219
+ 403: components["responses"]["Forbidden"];
1220
+ 404: components["responses"]["NotFound"];
1221
+ 429: components["responses"]["RateLimited"];
1222
+ 502: components["responses"]["UpstreamError"];
1223
+ };
1224
+ };
1225
+ getMe: {
1226
+ parameters: {
1227
+ query?: never;
1228
+ header?: never;
1229
+ path: {
1230
+ /**
1231
+ * @description The club's id. It must be the club the API key belongs to.
1232
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1233
+ */
1234
+ clubId: components["parameters"]["clubId"];
1235
+ };
1236
+ cookie?: never;
1237
+ };
1238
+ requestBody?: never;
1239
+ responses: {
1240
+ /** @description The member. */
1241
+ 200: {
1242
+ headers: {
1243
+ /** @example private, no-store */
1244
+ "Cache-Control"?: string;
1245
+ [name: string]: unknown;
1246
+ };
1247
+ content: {
1248
+ "application/json": components["schemas"]["Me"];
1249
+ };
1250
+ };
1251
+ 400: components["responses"]["BadRequest"];
1252
+ 401: components["responses"]["Unauthenticated"];
1253
+ 403: components["responses"]["Forbidden"];
1254
+ 404: components["responses"]["NotFound"];
1255
+ 429: components["responses"]["RateLimited"];
1256
+ 502: components["responses"]["UpstreamError"];
1257
+ };
1258
+ };
1259
+ getMyCalendar: {
1260
+ parameters: {
1261
+ query?: {
1262
+ /**
1263
+ * @description Start of the range (inclusive). A date means midnight UTC at the start of that day.
1264
+ * @example 2027-04-01
1265
+ */
1266
+ from?: components["parameters"]["from"];
1267
+ /**
1268
+ * @description End of the range (exclusive). A date means midnight UTC at the start of that day.
1269
+ * @example 2027-10-01
1270
+ */
1271
+ to?: components["parameters"]["to"];
1272
+ };
1273
+ header?: never;
1274
+ path: {
1275
+ /**
1276
+ * @description The club's id. It must be the club the API key belongs to.
1277
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1278
+ */
1279
+ clubId: components["parameters"]["clubId"];
1280
+ };
1281
+ cookie?: never;
1282
+ };
1283
+ requestBody?: never;
1284
+ responses: {
1285
+ /** @description The calendar. */
1286
+ 200: {
1287
+ headers: {
1288
+ /** @example private, no-store */
1289
+ "Cache-Control"?: string;
1290
+ [name: string]: unknown;
1291
+ };
1292
+ content: {
1293
+ "application/json": {
1294
+ items: components["schemas"]["CalendarEntry"][];
1295
+ };
1296
+ };
1297
+ };
1298
+ 400: components["responses"]["BadRequest"];
1299
+ 401: components["responses"]["Unauthenticated"];
1300
+ 403: components["responses"]["Forbidden"];
1301
+ 404: components["responses"]["NotFound"];
1302
+ 429: components["responses"]["RateLimited"];
1303
+ 502: components["responses"]["UpstreamError"];
1304
+ };
1305
+ };
1306
+ listMyAvailability: {
1307
+ parameters: {
1308
+ query?: {
1309
+ /**
1310
+ * @description Start of the range (inclusive). A date means midnight UTC at the start of that day.
1311
+ * @example 2027-04-01
1312
+ */
1313
+ from?: components["parameters"]["from"];
1314
+ /**
1315
+ * @description End of the range (exclusive). A date means midnight UTC at the start of that day.
1316
+ * @example 2027-10-01
1317
+ */
1318
+ to?: components["parameters"]["to"];
1319
+ };
1320
+ header?: never;
1321
+ path: {
1322
+ /**
1323
+ * @description The club's id. It must be the club the API key belongs to.
1324
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1325
+ */
1326
+ clubId: components["parameters"]["clubId"];
1327
+ };
1328
+ cookie?: never;
1329
+ };
1330
+ requestBody?: never;
1331
+ responses: {
1332
+ /** @description The fixtures marked available. */
1333
+ 200: {
1334
+ headers: {
1335
+ [name: string]: unknown;
1336
+ };
1337
+ content: {
1338
+ "application/json": {
1339
+ fixtureIds: string[];
1340
+ };
1341
+ };
1342
+ };
1343
+ 400: components["responses"]["BadRequest"];
1344
+ 401: components["responses"]["Unauthenticated"];
1345
+ 403: components["responses"]["Forbidden"];
1346
+ 404: components["responses"]["NotFound"];
1347
+ 429: components["responses"]["RateLimited"];
1348
+ 502: components["responses"]["UpstreamError"];
1349
+ };
1350
+ };
1351
+ setMyAvailability: {
1352
+ parameters: {
1353
+ query?: never;
1354
+ header?: never;
1355
+ path: {
1356
+ /**
1357
+ * @description The club's id. It must be the club the API key belongs to.
1358
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1359
+ */
1360
+ clubId: components["parameters"]["clubId"];
1361
+ fixtureId: components["parameters"]["fixtureIdPath"];
1362
+ };
1363
+ cookie?: never;
1364
+ };
1365
+ requestBody?: never;
1366
+ responses: {
1367
+ /** @description The member is now available. */
1368
+ 200: {
1369
+ headers: {
1370
+ [name: string]: unknown;
1371
+ };
1372
+ content: {
1373
+ "application/json": components["schemas"]["AvailabilityChange"];
1374
+ };
1375
+ };
1376
+ 400: components["responses"]["BadRequest"];
1377
+ 401: components["responses"]["Unauthenticated"];
1378
+ 403: components["responses"]["Forbidden"];
1379
+ 404: components["responses"]["NotFound"];
1380
+ 409: components["responses"]["AvailabilityRefused"];
1381
+ 429: components["responses"]["RateLimited"];
1382
+ 502: components["responses"]["UpstreamError"];
1383
+ };
1384
+ };
1385
+ clearMyAvailability: {
1386
+ parameters: {
1387
+ query?: never;
1388
+ header?: never;
1389
+ path: {
1390
+ /**
1391
+ * @description The club's id. It must be the club the API key belongs to.
1392
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1393
+ */
1394
+ clubId: components["parameters"]["clubId"];
1395
+ fixtureId: components["parameters"]["fixtureIdPath"];
1396
+ };
1397
+ cookie?: never;
1398
+ };
1399
+ requestBody?: never;
1400
+ responses: {
1401
+ /** @description The member is now not available. */
1402
+ 200: {
1403
+ headers: {
1404
+ [name: string]: unknown;
1405
+ };
1406
+ content: {
1407
+ "application/json": components["schemas"]["AvailabilityChange"];
1408
+ };
1409
+ };
1410
+ 400: components["responses"]["BadRequest"];
1411
+ 401: components["responses"]["Unauthenticated"];
1412
+ 403: components["responses"]["Forbidden"];
1413
+ 404: components["responses"]["NotFound"];
1414
+ 409: components["responses"]["AvailabilityRefused"];
1415
+ 429: components["responses"]["RateLimited"];
1416
+ 502: components["responses"]["UpstreamError"];
1417
+ };
1418
+ };
1419
+ getTeamsheet: {
1420
+ parameters: {
1421
+ query?: never;
1422
+ header?: never;
1423
+ path: {
1424
+ /**
1425
+ * @description The club's id. It must be the club the API key belongs to.
1426
+ * @example 52e5435c-8b5e-4e0d-abbb-6cb90b66f3b6
1427
+ */
1428
+ clubId: components["parameters"]["clubId"];
1429
+ fixtureId: components["parameters"]["fixtureIdPath"];
1430
+ };
1431
+ cookie?: never;
1432
+ };
1433
+ requestBody?: never;
1434
+ responses: {
1435
+ /** @description The teamsheet. */
1436
+ 200: {
1437
+ headers: {
1438
+ /** @example private, no-store */
1439
+ "Cache-Control"?: string;
1440
+ [name: string]: unknown;
1441
+ };
1442
+ content: {
1443
+ "application/json": components["schemas"]["Teamsheet"];
1444
+ };
1445
+ };
1446
+ 400: components["responses"]["BadRequest"];
1447
+ 401: components["responses"]["Unauthenticated"];
1448
+ 403: components["responses"]["Forbidden"];
1449
+ 404: components["responses"]["NotFound"];
1450
+ 429: components["responses"]["RateLimited"];
1451
+ 502: components["responses"]["UpstreamError"];
1452
+ };
1453
+ };
1454
+ }