@playcaller/sdk 0.2.0 → 0.3.1
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/dist/index.d.mts +2817 -377
- package/dist/index.d.ts +2817 -377
- package/dist/index.js +4451 -947
- package/dist/index.mjs +4451 -947
- package/package.json +3 -3
- package/README.md +0 -46
package/dist/index.d.mts
CHANGED
|
@@ -268,6 +268,80 @@ declare namespace PassthroughRequest {
|
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
+
interface ServerSentEvent<T> {
|
|
272
|
+
data: T;
|
|
273
|
+
id?: string;
|
|
274
|
+
retry?: number;
|
|
275
|
+
event?: string;
|
|
276
|
+
}
|
|
277
|
+
declare namespace Stream {
|
|
278
|
+
interface Args {
|
|
279
|
+
/**
|
|
280
|
+
* The HTTP response stream to read from.
|
|
281
|
+
*/
|
|
282
|
+
stream: ReadableStream;
|
|
283
|
+
/**
|
|
284
|
+
* The event shape to use for parsing the stream data.
|
|
285
|
+
*/
|
|
286
|
+
eventShape: JsonEvent | SseEvent;
|
|
287
|
+
/**
|
|
288
|
+
* An abort signal to stop the stream.
|
|
289
|
+
*/
|
|
290
|
+
signal?: AbortSignal;
|
|
291
|
+
/**
|
|
292
|
+
* Whether transparent mid-stream reconnection is enabled on resumable
|
|
293
|
+
* SSE endpoints. Defaults to true. Has no effect on non-resumable endpoints.
|
|
294
|
+
*/
|
|
295
|
+
reconnectionEnabled?: boolean;
|
|
296
|
+
/**
|
|
297
|
+
* Maximum number of transparent mid-stream reconnect attempts on
|
|
298
|
+
* resumable SSE endpoints. Has no effect on non-resumable endpoints.
|
|
299
|
+
*/
|
|
300
|
+
maxReconnectionAttempts?: number;
|
|
301
|
+
}
|
|
302
|
+
interface JsonEvent {
|
|
303
|
+
type: "json";
|
|
304
|
+
messageTerminator: string;
|
|
305
|
+
}
|
|
306
|
+
interface SseEvent {
|
|
307
|
+
type: "sse";
|
|
308
|
+
streamTerminator?: string;
|
|
309
|
+
eventDiscriminator?: string;
|
|
310
|
+
resumable?: boolean;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
declare class Stream<T> implements AsyncIterable<T> {
|
|
314
|
+
private stream;
|
|
315
|
+
private parse;
|
|
316
|
+
/**
|
|
317
|
+
* The prefix to use for each message. For example,
|
|
318
|
+
* for SSE, the prefix is "data: ".
|
|
319
|
+
*/
|
|
320
|
+
private prefix;
|
|
321
|
+
private messageTerminator;
|
|
322
|
+
private streamTerminator;
|
|
323
|
+
private eventDiscriminator;
|
|
324
|
+
private resumable;
|
|
325
|
+
private reconnectionEnabled;
|
|
326
|
+
private maxReconnectionAttempts;
|
|
327
|
+
private controller;
|
|
328
|
+
private decoder;
|
|
329
|
+
constructor({ stream, parse, eventShape, signal, reconnectionEnabled, maxReconnectionAttempts, }: Stream.Args & {
|
|
330
|
+
parse: (val: unknown) => Promise<T>;
|
|
331
|
+
});
|
|
332
|
+
private iterMessages;
|
|
333
|
+
private iterDataMessages;
|
|
334
|
+
private iterSseEvents;
|
|
335
|
+
/**
|
|
336
|
+
* Parses and returns a single SSE event, or returns null if the event is a stream terminator.
|
|
337
|
+
*/
|
|
338
|
+
private dispatchSseEvent;
|
|
339
|
+
withMetadata(): AsyncIterable<ServerSentEvent<T>>;
|
|
340
|
+
private injectDiscriminator;
|
|
341
|
+
[Symbol.asyncIterator](): AsyncIterator<T, void, unknown>;
|
|
342
|
+
private decodeChunk;
|
|
343
|
+
}
|
|
344
|
+
|
|
271
345
|
declare class PlaycallerApiError extends Error {
|
|
272
346
|
readonly statusCode?: number;
|
|
273
347
|
readonly body?: unknown;
|
|
@@ -317,6 +391,40 @@ declare class UnauthorizedError extends PlaycallerApiError {
|
|
|
317
391
|
constructor(body: ErrorResponse, rawResponse?: RawResponse);
|
|
318
392
|
}
|
|
319
393
|
|
|
394
|
+
/**
|
|
395
|
+
* @example
|
|
396
|
+
* {
|
|
397
|
+
* url: "https://your-server.com/playcaller-hook",
|
|
398
|
+
* events: ["player.injured", "anomaly.detected"]
|
|
399
|
+
* }
|
|
400
|
+
*/
|
|
401
|
+
interface CreateWebhookRequest {
|
|
402
|
+
url: string;
|
|
403
|
+
events: CreateWebhookRequest.Events.Item[];
|
|
404
|
+
}
|
|
405
|
+
declare namespace CreateWebhookRequest {
|
|
406
|
+
type Events = Events.Item[];
|
|
407
|
+
namespace Events {
|
|
408
|
+
const Item: {
|
|
409
|
+
readonly PlayerInjured: "player.injured";
|
|
410
|
+
readonly GameScoreUpdated: "game.score_updated";
|
|
411
|
+
readonly GameStatusChanged: "game.status_changed";
|
|
412
|
+
readonly AnomalyDetected: "anomaly.detected";
|
|
413
|
+
};
|
|
414
|
+
type Item = (typeof Item)[keyof typeof Item];
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* @example
|
|
420
|
+
* {
|
|
421
|
+
* id: "id"
|
|
422
|
+
* }
|
|
423
|
+
*/
|
|
424
|
+
interface DeleteWebhookRequest {
|
|
425
|
+
id: string;
|
|
426
|
+
}
|
|
427
|
+
|
|
320
428
|
/**
|
|
321
429
|
* @example
|
|
322
430
|
* {
|
|
@@ -328,6 +436,16 @@ interface GetDaaSKeyInfoRequest {
|
|
|
328
436
|
key: string;
|
|
329
437
|
}
|
|
330
438
|
|
|
439
|
+
/**
|
|
440
|
+
* @example
|
|
441
|
+
* {
|
|
442
|
+
* id: "id"
|
|
443
|
+
* }
|
|
444
|
+
*/
|
|
445
|
+
interface GetWebhookDeliveriesRequest {
|
|
446
|
+
id: string;
|
|
447
|
+
}
|
|
448
|
+
|
|
331
449
|
/**
|
|
332
450
|
* @example
|
|
333
451
|
* {
|
|
@@ -352,6 +470,26 @@ interface StartDaaSTrialRequest {
|
|
|
352
470
|
use_case?: string;
|
|
353
471
|
}
|
|
354
472
|
|
|
473
|
+
interface CreateWebhookResponse {
|
|
474
|
+
success?: boolean | undefined;
|
|
475
|
+
data?: CreateWebhookResponse.Data | undefined;
|
|
476
|
+
}
|
|
477
|
+
declare namespace CreateWebhookResponse {
|
|
478
|
+
interface Data {
|
|
479
|
+
id?: string | undefined;
|
|
480
|
+
url?: string | undefined;
|
|
481
|
+
events?: string[] | undefined;
|
|
482
|
+
/** HMAC secret — store securely, not shown again */
|
|
483
|
+
secret?: string | undefined;
|
|
484
|
+
created_at?: string | undefined;
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
interface DeleteWebhookResponse {
|
|
489
|
+
success?: boolean | undefined;
|
|
490
|
+
message?: string | undefined;
|
|
491
|
+
}
|
|
492
|
+
|
|
355
493
|
interface GetDaaSKeyInfoResponse {
|
|
356
494
|
success?: boolean | undefined;
|
|
357
495
|
tier?: GetDaaSKeyInfoResponse.Tier | undefined;
|
|
@@ -372,6 +510,45 @@ declare namespace GetDaaSKeyInfoResponse {
|
|
|
372
510
|
type Tier = (typeof Tier)[keyof typeof Tier];
|
|
373
511
|
}
|
|
374
512
|
|
|
513
|
+
interface GetWebhookDeliveriesResponse {
|
|
514
|
+
success?: boolean | undefined;
|
|
515
|
+
webhook_id?: string | undefined;
|
|
516
|
+
count?: number | undefined;
|
|
517
|
+
data?: GetWebhookDeliveriesResponse.Data.Item[] | undefined;
|
|
518
|
+
}
|
|
519
|
+
declare namespace GetWebhookDeliveriesResponse {
|
|
520
|
+
type Data = Data.Item[];
|
|
521
|
+
namespace Data {
|
|
522
|
+
interface Item {
|
|
523
|
+
event_type?: string | undefined;
|
|
524
|
+
status_code?: (number | null) | undefined;
|
|
525
|
+
attempt?: number | undefined;
|
|
526
|
+
delivered_at?: string | undefined;
|
|
527
|
+
error_message?: (string | null) | undefined;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
interface ListWebhooksResponse {
|
|
533
|
+
success?: boolean | undefined;
|
|
534
|
+
count?: number | undefined;
|
|
535
|
+
data?: ListWebhooksResponse.Data.Item[] | undefined;
|
|
536
|
+
}
|
|
537
|
+
declare namespace ListWebhooksResponse {
|
|
538
|
+
type Data = Data.Item[];
|
|
539
|
+
namespace Data {
|
|
540
|
+
interface Item {
|
|
541
|
+
id?: string | undefined;
|
|
542
|
+
url?: string | undefined;
|
|
543
|
+
events?: string[] | undefined;
|
|
544
|
+
is_active?: boolean | undefined;
|
|
545
|
+
failure_count?: number | undefined;
|
|
546
|
+
last_delivery_at?: (string | null) | undefined;
|
|
547
|
+
created_at?: string | undefined;
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
|
|
375
552
|
interface RegisterDaaSKeyResponse {
|
|
376
553
|
success?: boolean | undefined;
|
|
377
554
|
message?: string | undefined;
|
|
@@ -386,14 +563,53 @@ interface StartDaaSTrialResponse {
|
|
|
386
563
|
message?: string | undefined;
|
|
387
564
|
}
|
|
388
565
|
|
|
389
|
-
|
|
390
|
-
declare const index$
|
|
391
|
-
type index$
|
|
392
|
-
type index$
|
|
393
|
-
type index$
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
566
|
+
declare const index$e_CreateWebhookRequest: typeof CreateWebhookRequest;
|
|
567
|
+
declare const index$e_CreateWebhookResponse: typeof CreateWebhookResponse;
|
|
568
|
+
type index$e_DeleteWebhookRequest = DeleteWebhookRequest;
|
|
569
|
+
type index$e_DeleteWebhookResponse = DeleteWebhookResponse;
|
|
570
|
+
type index$e_GetDaaSKeyInfoRequest = GetDaaSKeyInfoRequest;
|
|
571
|
+
declare const index$e_GetDaaSKeyInfoResponse: typeof GetDaaSKeyInfoResponse;
|
|
572
|
+
type index$e_GetWebhookDeliveriesRequest = GetWebhookDeliveriesRequest;
|
|
573
|
+
declare const index$e_GetWebhookDeliveriesResponse: typeof GetWebhookDeliveriesResponse;
|
|
574
|
+
declare const index$e_ListWebhooksResponse: typeof ListWebhooksResponse;
|
|
575
|
+
type index$e_RegisterDaaSKeyRequest = RegisterDaaSKeyRequest;
|
|
576
|
+
type index$e_RegisterDaaSKeyResponse = RegisterDaaSKeyResponse;
|
|
577
|
+
type index$e_StartDaaSTrialRequest = StartDaaSTrialRequest;
|
|
578
|
+
type index$e_StartDaaSTrialResponse = StartDaaSTrialResponse;
|
|
579
|
+
declare namespace index$e {
|
|
580
|
+
export { index$e_CreateWebhookRequest as CreateWebhookRequest, index$e_CreateWebhookResponse as CreateWebhookResponse, type index$e_DeleteWebhookRequest as DeleteWebhookRequest, type index$e_DeleteWebhookResponse as DeleteWebhookResponse, type index$e_GetDaaSKeyInfoRequest as GetDaaSKeyInfoRequest, index$e_GetDaaSKeyInfoResponse as GetDaaSKeyInfoResponse, type index$e_GetWebhookDeliveriesRequest as GetWebhookDeliveriesRequest, index$e_GetWebhookDeliveriesResponse as GetWebhookDeliveriesResponse, index$e_ListWebhooksResponse as ListWebhooksResponse, type index$e_RegisterDaaSKeyRequest as RegisterDaaSKeyRequest, type index$e_RegisterDaaSKeyResponse as RegisterDaaSKeyResponse, type index$e_StartDaaSTrialRequest as StartDaaSTrialRequest, type index$e_StartDaaSTrialResponse as StartDaaSTrialResponse };
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* @example
|
|
585
|
+
* {
|
|
586
|
+
* id: "pc_cfb_4432664"
|
|
587
|
+
* }
|
|
588
|
+
*/
|
|
589
|
+
interface GetCfbPlayerByIdRequest {
|
|
590
|
+
/** PlayCaller player ID (pc_cfb_XXXXXXX) */
|
|
591
|
+
id: string;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* @example
|
|
596
|
+
* {
|
|
597
|
+
* search: "Smith",
|
|
598
|
+
* team: "ALA",
|
|
599
|
+
* position: "QB"
|
|
600
|
+
* }
|
|
601
|
+
*/
|
|
602
|
+
interface GetCfbPlayersRequest {
|
|
603
|
+
/** Partial name search */
|
|
604
|
+
search?: string;
|
|
605
|
+
/** Team abbreviation filter */
|
|
606
|
+
team?: string;
|
|
607
|
+
/** Position filter (QB, RB, WR, TE, etc.) */
|
|
608
|
+
position?: string;
|
|
609
|
+
/** Results per page (default 50, max 200) */
|
|
610
|
+
limit?: number;
|
|
611
|
+
/** Pagination offset */
|
|
612
|
+
offset?: number;
|
|
397
613
|
}
|
|
398
614
|
|
|
399
615
|
/**
|
|
@@ -424,6 +640,20 @@ interface GetCfbStandingsRequest {
|
|
|
424
640
|
conference?: string;
|
|
425
641
|
}
|
|
426
642
|
|
|
643
|
+
/**
|
|
644
|
+
* @example
|
|
645
|
+
* {
|
|
646
|
+
* team: "ALA",
|
|
647
|
+
* position: "QB"
|
|
648
|
+
* }
|
|
649
|
+
*/
|
|
650
|
+
interface GetCfbTeamRosterRequest {
|
|
651
|
+
/** Team abbreviation (e.g. ALA) */
|
|
652
|
+
team: string;
|
|
653
|
+
/** Filter by position (QB, RB, WR, etc.) */
|
|
654
|
+
position?: string;
|
|
655
|
+
}
|
|
656
|
+
|
|
427
657
|
/**
|
|
428
658
|
* @example
|
|
429
659
|
* {
|
|
@@ -439,6 +669,40 @@ interface ListCfbGamesRequest {
|
|
|
439
669
|
limit?: number;
|
|
440
670
|
}
|
|
441
671
|
|
|
672
|
+
interface GetCfbPlayerByIdResponse {
|
|
673
|
+
success?: boolean | undefined;
|
|
674
|
+
data?: GetCfbPlayerByIdResponse.Data | undefined;
|
|
675
|
+
meta?: ResponseMeta | undefined;
|
|
676
|
+
}
|
|
677
|
+
declare namespace GetCfbPlayerByIdResponse {
|
|
678
|
+
interface Data {
|
|
679
|
+
id?: string | undefined;
|
|
680
|
+
full_name?: string | undefined;
|
|
681
|
+
position?: string | undefined;
|
|
682
|
+
team?: string | undefined;
|
|
683
|
+
status?: string | undefined;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
interface GetCfbPlayersResponse {
|
|
688
|
+
success?: boolean | undefined;
|
|
689
|
+
total?: number | undefined;
|
|
690
|
+
count?: number | undefined;
|
|
691
|
+
data?: GetCfbPlayersResponse.Data.Item[] | undefined;
|
|
692
|
+
meta?: ResponseMeta | undefined;
|
|
693
|
+
}
|
|
694
|
+
declare namespace GetCfbPlayersResponse {
|
|
695
|
+
type Data = Data.Item[];
|
|
696
|
+
namespace Data {
|
|
697
|
+
interface Item {
|
|
698
|
+
id?: string | undefined;
|
|
699
|
+
full_name?: string | undefined;
|
|
700
|
+
position?: string | undefined;
|
|
701
|
+
team?: string | undefined;
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
|
|
442
706
|
interface GetCfbRankingsResponse {
|
|
443
707
|
success?: boolean | undefined;
|
|
444
708
|
endpoint?: string | undefined;
|
|
@@ -457,6 +721,43 @@ interface GetCfbStandingsResponse {
|
|
|
457
721
|
meta?: ResponseMeta | undefined;
|
|
458
722
|
}
|
|
459
723
|
|
|
724
|
+
interface GetCfbTeamRosterResponse {
|
|
725
|
+
success?: boolean | undefined;
|
|
726
|
+
team?: string | undefined;
|
|
727
|
+
count?: number | undefined;
|
|
728
|
+
data?: GetCfbTeamRosterResponse.Data.Item[] | undefined;
|
|
729
|
+
meta?: ResponseMeta | undefined;
|
|
730
|
+
}
|
|
731
|
+
declare namespace GetCfbTeamRosterResponse {
|
|
732
|
+
type Data = Data.Item[];
|
|
733
|
+
namespace Data {
|
|
734
|
+
interface Item {
|
|
735
|
+
id?: string | undefined;
|
|
736
|
+
full_name?: string | undefined;
|
|
737
|
+
position?: string | undefined;
|
|
738
|
+
jersey_number?: string | undefined;
|
|
739
|
+
year?: string | undefined;
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
interface GetCfbTeamsResponse {
|
|
745
|
+
success?: boolean | undefined;
|
|
746
|
+
count?: number | undefined;
|
|
747
|
+
data?: GetCfbTeamsResponse.Data.Item[] | undefined;
|
|
748
|
+
meta?: ResponseMeta | undefined;
|
|
749
|
+
}
|
|
750
|
+
declare namespace GetCfbTeamsResponse {
|
|
751
|
+
type Data = Data.Item[];
|
|
752
|
+
namespace Data {
|
|
753
|
+
interface Item {
|
|
754
|
+
abbreviation?: string | undefined;
|
|
755
|
+
player_count?: number | undefined;
|
|
756
|
+
roster_url?: string | undefined;
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
|
|
460
761
|
declare const ListCfbGamesRequestState: {
|
|
461
762
|
readonly Scheduled: "scheduled";
|
|
462
763
|
readonly InProgress: "in_progress";
|
|
@@ -472,15 +773,121 @@ interface ListCfbGamesResponse {
|
|
|
472
773
|
meta?: ResponseMeta | undefined;
|
|
473
774
|
}
|
|
474
775
|
|
|
475
|
-
type index$
|
|
476
|
-
|
|
477
|
-
type index$
|
|
478
|
-
|
|
479
|
-
type index$
|
|
480
|
-
type index$
|
|
481
|
-
type index$
|
|
482
|
-
|
|
483
|
-
|
|
776
|
+
type index$d_GetCfbPlayerByIdRequest = GetCfbPlayerByIdRequest;
|
|
777
|
+
declare const index$d_GetCfbPlayerByIdResponse: typeof GetCfbPlayerByIdResponse;
|
|
778
|
+
type index$d_GetCfbPlayersRequest = GetCfbPlayersRequest;
|
|
779
|
+
declare const index$d_GetCfbPlayersResponse: typeof GetCfbPlayersResponse;
|
|
780
|
+
type index$d_GetCfbRankingsRequest = GetCfbRankingsRequest;
|
|
781
|
+
type index$d_GetCfbRankingsResponse = GetCfbRankingsResponse;
|
|
782
|
+
type index$d_GetCfbStandingsRequest = GetCfbStandingsRequest;
|
|
783
|
+
type index$d_GetCfbStandingsResponse = GetCfbStandingsResponse;
|
|
784
|
+
type index$d_GetCfbTeamRosterRequest = GetCfbTeamRosterRequest;
|
|
785
|
+
declare const index$d_GetCfbTeamRosterResponse: typeof GetCfbTeamRosterResponse;
|
|
786
|
+
declare const index$d_GetCfbTeamsResponse: typeof GetCfbTeamsResponse;
|
|
787
|
+
type index$d_ListCfbGamesRequest = ListCfbGamesRequest;
|
|
788
|
+
type index$d_ListCfbGamesRequestState = ListCfbGamesRequestState;
|
|
789
|
+
type index$d_ListCfbGamesResponse = ListCfbGamesResponse;
|
|
790
|
+
declare namespace index$d {
|
|
791
|
+
export { type index$d_GetCfbPlayerByIdRequest as GetCfbPlayerByIdRequest, index$d_GetCfbPlayerByIdResponse as GetCfbPlayerByIdResponse, type index$d_GetCfbPlayersRequest as GetCfbPlayersRequest, index$d_GetCfbPlayersResponse as GetCfbPlayersResponse, type index$d_GetCfbRankingsRequest as GetCfbRankingsRequest, type index$d_GetCfbRankingsResponse as GetCfbRankingsResponse, type index$d_GetCfbStandingsRequest as GetCfbStandingsRequest, type index$d_GetCfbStandingsResponse as GetCfbStandingsResponse, type index$d_GetCfbTeamRosterRequest as GetCfbTeamRosterRequest, index$d_GetCfbTeamRosterResponse as GetCfbTeamRosterResponse, index$d_GetCfbTeamsResponse as GetCfbTeamsResponse, type index$d_ListCfbGamesRequest as ListCfbGamesRequest, type index$d_ListCfbGamesRequestState as ListCfbGamesRequestState, type index$d_ListCfbGamesResponse as ListCfbGamesResponse };
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* @example
|
|
796
|
+
* {}
|
|
797
|
+
*/
|
|
798
|
+
interface GetGolfLeaderboardRequest {
|
|
799
|
+
/** Tour (pga or lpga) */
|
|
800
|
+
tour?: GetGolfLeaderboardRequestTour;
|
|
801
|
+
/** Max players (default 50, max 156) */
|
|
802
|
+
limit?: number;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* @example
|
|
807
|
+
* {}
|
|
808
|
+
*/
|
|
809
|
+
interface GetGolfTournamentsRequest {
|
|
810
|
+
/** Tour filter (pga or lpga) */
|
|
811
|
+
tour?: GetGolfTournamentsRequestTour;
|
|
812
|
+
/** Max tournaments (default 10, max 50) */
|
|
813
|
+
limit?: number;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
declare const GetGolfLeaderboardRequestTour: {
|
|
817
|
+
readonly Pga: "pga";
|
|
818
|
+
readonly Lpga: "lpga";
|
|
819
|
+
};
|
|
820
|
+
type GetGolfLeaderboardRequestTour = (typeof GetGolfLeaderboardRequestTour)[keyof typeof GetGolfLeaderboardRequestTour];
|
|
821
|
+
|
|
822
|
+
interface GetGolfLeaderboardResponse {
|
|
823
|
+
success?: boolean | undefined;
|
|
824
|
+
tournament?: GetGolfLeaderboardResponse.Tournament | undefined;
|
|
825
|
+
count?: number | undefined;
|
|
826
|
+
data?: GetGolfLeaderboardResponse.Data.Item[] | undefined;
|
|
827
|
+
meta?: ResponseMeta | undefined;
|
|
828
|
+
}
|
|
829
|
+
declare namespace GetGolfLeaderboardResponse {
|
|
830
|
+
interface Tournament {
|
|
831
|
+
id?: string | undefined;
|
|
832
|
+
name?: string | undefined;
|
|
833
|
+
date?: string | undefined;
|
|
834
|
+
is_active?: boolean | undefined;
|
|
835
|
+
}
|
|
836
|
+
type Data = Data.Item[];
|
|
837
|
+
namespace Data {
|
|
838
|
+
interface Item {
|
|
839
|
+
position?: number | undefined;
|
|
840
|
+
position_display?: string | undefined;
|
|
841
|
+
player_name?: string | undefined;
|
|
842
|
+
total_score_display?: string | undefined;
|
|
843
|
+
thru_display?: string | undefined;
|
|
844
|
+
rounds?: Item.Rounds | undefined;
|
|
845
|
+
}
|
|
846
|
+
namespace Item {
|
|
847
|
+
interface Rounds {
|
|
848
|
+
r1?: number | undefined;
|
|
849
|
+
r2?: number | undefined;
|
|
850
|
+
r3?: number | undefined;
|
|
851
|
+
r4?: number | undefined;
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
declare const GetGolfTournamentsRequestTour: {
|
|
858
|
+
readonly Pga: "pga";
|
|
859
|
+
readonly Lpga: "lpga";
|
|
860
|
+
};
|
|
861
|
+
type GetGolfTournamentsRequestTour = (typeof GetGolfTournamentsRequestTour)[keyof typeof GetGolfTournamentsRequestTour];
|
|
862
|
+
|
|
863
|
+
interface GetGolfTournamentsResponse {
|
|
864
|
+
success?: boolean | undefined;
|
|
865
|
+
count?: number | undefined;
|
|
866
|
+
data?: GetGolfTournamentsResponse.Data.Item[] | undefined;
|
|
867
|
+
meta?: ResponseMeta | undefined;
|
|
868
|
+
}
|
|
869
|
+
declare namespace GetGolfTournamentsResponse {
|
|
870
|
+
type Data = Data.Item[];
|
|
871
|
+
namespace Data {
|
|
872
|
+
interface Item {
|
|
873
|
+
tournament_id?: string | undefined;
|
|
874
|
+
name?: string | undefined;
|
|
875
|
+
date?: string | undefined;
|
|
876
|
+
tour?: string | undefined;
|
|
877
|
+
is_active?: boolean | undefined;
|
|
878
|
+
player_count?: number | undefined;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
type index$c_GetGolfLeaderboardRequest = GetGolfLeaderboardRequest;
|
|
884
|
+
type index$c_GetGolfLeaderboardRequestTour = GetGolfLeaderboardRequestTour;
|
|
885
|
+
declare const index$c_GetGolfLeaderboardResponse: typeof GetGolfLeaderboardResponse;
|
|
886
|
+
type index$c_GetGolfTournamentsRequest = GetGolfTournamentsRequest;
|
|
887
|
+
type index$c_GetGolfTournamentsRequestTour = GetGolfTournamentsRequestTour;
|
|
888
|
+
declare const index$c_GetGolfTournamentsResponse: typeof GetGolfTournamentsResponse;
|
|
889
|
+
declare namespace index$c {
|
|
890
|
+
export { type index$c_GetGolfLeaderboardRequest as GetGolfLeaderboardRequest, type index$c_GetGolfLeaderboardRequestTour as GetGolfLeaderboardRequestTour, index$c_GetGolfLeaderboardResponse as GetGolfLeaderboardResponse, type index$c_GetGolfTournamentsRequest as GetGolfTournamentsRequest, type index$c_GetGolfTournamentsRequestTour as GetGolfTournamentsRequestTour, index$c_GetGolfTournamentsResponse as GetGolfTournamentsResponse };
|
|
484
891
|
}
|
|
485
892
|
|
|
486
893
|
/**
|
|
@@ -623,61 +1030,215 @@ interface GetIntelligenceNewsResponse {
|
|
|
623
1030
|
meta?: ResponseMeta | undefined;
|
|
624
1031
|
}
|
|
625
1032
|
|
|
626
|
-
type index$
|
|
627
|
-
type index$
|
|
628
|
-
type index$
|
|
629
|
-
type index$
|
|
630
|
-
type index$
|
|
631
|
-
type index$
|
|
632
|
-
type index$
|
|
633
|
-
type index$
|
|
634
|
-
type index$
|
|
635
|
-
type index$
|
|
636
|
-
type index$
|
|
637
|
-
type index$
|
|
638
|
-
declare namespace index$
|
|
639
|
-
export type { index$
|
|
1033
|
+
type index$b_GetAnalyticsTrendsRequest = GetAnalyticsTrendsRequest;
|
|
1034
|
+
type index$b_GetAnalyticsTrendsRequestSport = GetAnalyticsTrendsRequestSport;
|
|
1035
|
+
type index$b_GetAnalyticsTrendsResponse = GetAnalyticsTrendsResponse;
|
|
1036
|
+
type index$b_GetIntelligenceInjuriesRequest = GetIntelligenceInjuriesRequest;
|
|
1037
|
+
type index$b_GetIntelligenceInjuriesRequestSeverity = GetIntelligenceInjuriesRequestSeverity;
|
|
1038
|
+
type index$b_GetIntelligenceInjuriesRequestSport = GetIntelligenceInjuriesRequestSport;
|
|
1039
|
+
type index$b_GetIntelligenceInjuriesResponse = GetIntelligenceInjuriesResponse;
|
|
1040
|
+
type index$b_GetIntelligenceNewsRequest = GetIntelligenceNewsRequest;
|
|
1041
|
+
type index$b_GetIntelligenceNewsRequestSeverity = GetIntelligenceNewsRequestSeverity;
|
|
1042
|
+
type index$b_GetIntelligenceNewsRequestSignalType = GetIntelligenceNewsRequestSignalType;
|
|
1043
|
+
type index$b_GetIntelligenceNewsRequestSport = GetIntelligenceNewsRequestSport;
|
|
1044
|
+
type index$b_GetIntelligenceNewsResponse = GetIntelligenceNewsResponse;
|
|
1045
|
+
declare namespace index$b {
|
|
1046
|
+
export type { index$b_GetAnalyticsTrendsRequest as GetAnalyticsTrendsRequest, index$b_GetAnalyticsTrendsRequestSport as GetAnalyticsTrendsRequestSport, index$b_GetAnalyticsTrendsResponse as GetAnalyticsTrendsResponse, index$b_GetIntelligenceInjuriesRequest as GetIntelligenceInjuriesRequest, index$b_GetIntelligenceInjuriesRequestSeverity as GetIntelligenceInjuriesRequestSeverity, index$b_GetIntelligenceInjuriesRequestSport as GetIntelligenceInjuriesRequestSport, index$b_GetIntelligenceInjuriesResponse as GetIntelligenceInjuriesResponse, index$b_GetIntelligenceNewsRequest as GetIntelligenceNewsRequest, index$b_GetIntelligenceNewsRequestSeverity as GetIntelligenceNewsRequestSeverity, index$b_GetIntelligenceNewsRequestSignalType as GetIntelligenceNewsRequestSignalType, index$b_GetIntelligenceNewsRequestSport as GetIntelligenceNewsRequestSport, index$b_GetIntelligenceNewsResponse as GetIntelligenceNewsResponse };
|
|
640
1047
|
}
|
|
641
1048
|
|
|
642
1049
|
/**
|
|
643
1050
|
* @example
|
|
644
1051
|
* {
|
|
645
|
-
*
|
|
646
|
-
*
|
|
647
|
-
*
|
|
1052
|
+
* leagueId: 1,
|
|
1053
|
+
* give: ["pc_nfl_2374"],
|
|
1054
|
+
* get: ["pc_nfl_4046"]
|
|
648
1055
|
* }
|
|
649
|
-
|
|
1056
|
+
*/
|
|
1057
|
+
interface EvaluateTradeRequest {
|
|
1058
|
+
leagueId: number;
|
|
1059
|
+
/** PlayCaller IDs of players you give up (1–4) */
|
|
1060
|
+
give: string[];
|
|
1061
|
+
/** PlayCaller IDs of players you receive (1–4) */
|
|
1062
|
+
get: string[];
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
650
1066
|
* @example
|
|
651
1067
|
* {
|
|
652
|
-
*
|
|
653
|
-
* id: 2,
|
|
654
|
-
* method: "tools/call",
|
|
655
|
-
* params: {
|
|
656
|
-
* name: "get_injury_signals",
|
|
657
|
-
* arguments: {
|
|
658
|
-
* "sport": "nfl",
|
|
659
|
-
* "severity": "high",
|
|
660
|
-
* "limit": 5
|
|
661
|
-
* }
|
|
662
|
-
* }
|
|
1068
|
+
* leagueId: 1
|
|
663
1069
|
* }
|
|
664
|
-
|
|
1070
|
+
*/
|
|
1071
|
+
interface GetLeagueHealthRequest {
|
|
1072
|
+
leagueId: number;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
665
1076
|
* @example
|
|
666
1077
|
* {
|
|
667
|
-
*
|
|
668
|
-
* id: 3,
|
|
669
|
-
* method: "tools/call",
|
|
670
|
-
* params: {
|
|
671
|
-
* name: "get_player_identity",
|
|
672
|
-
* arguments: {
|
|
673
|
-
* "name": "Christian McCaffrey",
|
|
674
|
-
* "sport": "nfl"
|
|
675
|
-
* }
|
|
676
|
-
* }
|
|
1078
|
+
* leagueId: 1
|
|
677
1079
|
* }
|
|
678
1080
|
*/
|
|
679
|
-
interface
|
|
680
|
-
|
|
1081
|
+
interface GetLeagueStartSitRequest {
|
|
1082
|
+
leagueId: number;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
interface EvaluateTradeResponse {
|
|
1086
|
+
success?: boolean | undefined;
|
|
1087
|
+
verdict?: EvaluateTradeResponse.Verdict | undefined;
|
|
1088
|
+
confidence?: EvaluateTradeResponse.Confidence | undefined;
|
|
1089
|
+
give_total_value?: (number | null) | undefined;
|
|
1090
|
+
get_total_value?: (number | null) | undefined;
|
|
1091
|
+
summary?: string | undefined;
|
|
1092
|
+
per_player?: EvaluateTradeResponse.PerPlayer.Item[] | undefined;
|
|
1093
|
+
give_players?: Record<string, unknown>[] | undefined;
|
|
1094
|
+
get_players?: Record<string, unknown>[] | undefined;
|
|
1095
|
+
ktc_available?: boolean | undefined;
|
|
1096
|
+
}
|
|
1097
|
+
declare namespace EvaluateTradeResponse {
|
|
1098
|
+
const Verdict: {
|
|
1099
|
+
readonly Win: "win";
|
|
1100
|
+
readonly Loss: "loss";
|
|
1101
|
+
readonly Fair: "fair";
|
|
1102
|
+
};
|
|
1103
|
+
type Verdict = (typeof Verdict)[keyof typeof Verdict];
|
|
1104
|
+
const Confidence: {
|
|
1105
|
+
readonly High: "high";
|
|
1106
|
+
readonly Medium: "medium";
|
|
1107
|
+
readonly Low: "low";
|
|
1108
|
+
};
|
|
1109
|
+
type Confidence = (typeof Confidence)[keyof typeof Confidence];
|
|
1110
|
+
type PerPlayer = PerPlayer.Item[];
|
|
1111
|
+
namespace PerPlayer {
|
|
1112
|
+
interface Item {
|
|
1113
|
+
id?: string | undefined;
|
|
1114
|
+
name?: string | undefined;
|
|
1115
|
+
assessment?: string | undefined;
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
interface GetLeagueHealthResponse {
|
|
1121
|
+
success?: boolean | undefined;
|
|
1122
|
+
league_id?: number | undefined;
|
|
1123
|
+
league_name?: string | undefined;
|
|
1124
|
+
sport?: string | undefined;
|
|
1125
|
+
team_count?: number | undefined;
|
|
1126
|
+
playoff_spots?: number | undefined;
|
|
1127
|
+
/** Average weekly score std-dev — lower = more competitive */
|
|
1128
|
+
parity_index?: number | undefined;
|
|
1129
|
+
parity_label?: GetLeagueHealthResponse.ParityLabel | undefined;
|
|
1130
|
+
league_avg_ppg?: number | undefined;
|
|
1131
|
+
standings?: GetLeagueHealthResponse.Standings.Item[] | undefined;
|
|
1132
|
+
weekly_parity?: GetLeagueHealthResponse.WeeklyParity.Item[] | undefined;
|
|
1133
|
+
}
|
|
1134
|
+
declare namespace GetLeagueHealthResponse {
|
|
1135
|
+
const ParityLabel: {
|
|
1136
|
+
readonly Competitive: "Competitive";
|
|
1137
|
+
readonly Balanced: "Balanced";
|
|
1138
|
+
readonly Lopsided: "Lopsided";
|
|
1139
|
+
};
|
|
1140
|
+
type ParityLabel = (typeof ParityLabel)[keyof typeof ParityLabel];
|
|
1141
|
+
type Standings = Standings.Item[];
|
|
1142
|
+
namespace Standings {
|
|
1143
|
+
interface Item {
|
|
1144
|
+
team_name?: string | undefined;
|
|
1145
|
+
wins?: number | undefined;
|
|
1146
|
+
losses?: number | undefined;
|
|
1147
|
+
avg_ppg?: number | undefined;
|
|
1148
|
+
max_score?: number | undefined;
|
|
1149
|
+
playoff_probability?: (number | null) | undefined;
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
type WeeklyParity = WeeklyParity.Item[];
|
|
1153
|
+
namespace WeeklyParity {
|
|
1154
|
+
interface Item {
|
|
1155
|
+
week?: number | undefined;
|
|
1156
|
+
std_dev?: number | undefined;
|
|
1157
|
+
avg_score?: number | undefined;
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
interface GetLeagueStartSitResponse {
|
|
1163
|
+
success?: boolean | undefined;
|
|
1164
|
+
league_id?: number | undefined;
|
|
1165
|
+
sport_key?: string | undefined;
|
|
1166
|
+
team_name?: string | undefined;
|
|
1167
|
+
starters?: GetLeagueStartSitResponse.Starters.Item[] | undefined;
|
|
1168
|
+
sits?: GetLeagueStartSitResponse.Sits.Item[] | undefined;
|
|
1169
|
+
summary?: string | undefined;
|
|
1170
|
+
no_action?: boolean | undefined;
|
|
1171
|
+
generated_at?: string | undefined;
|
|
1172
|
+
}
|
|
1173
|
+
declare namespace GetLeagueStartSitResponse {
|
|
1174
|
+
type Starters = Starters.Item[];
|
|
1175
|
+
namespace Starters {
|
|
1176
|
+
interface Item {
|
|
1177
|
+
name?: string | undefined;
|
|
1178
|
+
position?: string | undefined;
|
|
1179
|
+
confidence?: number | undefined;
|
|
1180
|
+
matchup_note?: string | undefined;
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
type Sits = Sits.Item[];
|
|
1184
|
+
namespace Sits {
|
|
1185
|
+
interface Item {
|
|
1186
|
+
name?: string | undefined;
|
|
1187
|
+
position?: string | undefined;
|
|
1188
|
+
reason?: string | undefined;
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
type index$a_EvaluateTradeRequest = EvaluateTradeRequest;
|
|
1194
|
+
declare const index$a_EvaluateTradeResponse: typeof EvaluateTradeResponse;
|
|
1195
|
+
type index$a_GetLeagueHealthRequest = GetLeagueHealthRequest;
|
|
1196
|
+
declare const index$a_GetLeagueHealthResponse: typeof GetLeagueHealthResponse;
|
|
1197
|
+
type index$a_GetLeagueStartSitRequest = GetLeagueStartSitRequest;
|
|
1198
|
+
declare const index$a_GetLeagueStartSitResponse: typeof GetLeagueStartSitResponse;
|
|
1199
|
+
declare namespace index$a {
|
|
1200
|
+
export { type index$a_EvaluateTradeRequest as EvaluateTradeRequest, index$a_EvaluateTradeResponse as EvaluateTradeResponse, type index$a_GetLeagueHealthRequest as GetLeagueHealthRequest, index$a_GetLeagueHealthResponse as GetLeagueHealthResponse, type index$a_GetLeagueStartSitRequest as GetLeagueStartSitRequest, index$a_GetLeagueStartSitResponse as GetLeagueStartSitResponse };
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* @example
|
|
1205
|
+
* {
|
|
1206
|
+
* jsonrpc: "2.0",
|
|
1207
|
+
* id: 1,
|
|
1208
|
+
* method: "tools/list"
|
|
1209
|
+
* }
|
|
1210
|
+
*
|
|
1211
|
+
* @example
|
|
1212
|
+
* {
|
|
1213
|
+
* jsonrpc: "2.0",
|
|
1214
|
+
* id: 2,
|
|
1215
|
+
* method: "tools/call",
|
|
1216
|
+
* params: {
|
|
1217
|
+
* name: "get_injury_signals",
|
|
1218
|
+
* arguments: {
|
|
1219
|
+
* "sport": "nfl",
|
|
1220
|
+
* "severity": "high",
|
|
1221
|
+
* "limit": 5
|
|
1222
|
+
* }
|
|
1223
|
+
* }
|
|
1224
|
+
* }
|
|
1225
|
+
*
|
|
1226
|
+
* @example
|
|
1227
|
+
* {
|
|
1228
|
+
* jsonrpc: "2.0",
|
|
1229
|
+
* id: 3,
|
|
1230
|
+
* method: "tools/call",
|
|
1231
|
+
* params: {
|
|
1232
|
+
* name: "get_player_identity",
|
|
1233
|
+
* arguments: {
|
|
1234
|
+
* "name": "Christian McCaffrey",
|
|
1235
|
+
* "sport": "nfl"
|
|
1236
|
+
* }
|
|
1237
|
+
* }
|
|
1238
|
+
* }
|
|
1239
|
+
*/
|
|
1240
|
+
interface InvokeMcpToolRequest {
|
|
1241
|
+
jsonrpc: InvokeMcpToolRequest.Jsonrpc;
|
|
681
1242
|
id?: number;
|
|
682
1243
|
method: InvokeMcpToolRequest.Method;
|
|
683
1244
|
/** Required for tools/call: `name` (tool name) and `arguments` (tool-specific args) */
|
|
@@ -704,6 +1265,17 @@ declare namespace InvokeMcpToolRequest {
|
|
|
704
1265
|
}
|
|
705
1266
|
}
|
|
706
1267
|
|
|
1268
|
+
/**
|
|
1269
|
+
* @example
|
|
1270
|
+
* {
|
|
1271
|
+
* email: "dev@example.com"
|
|
1272
|
+
* }
|
|
1273
|
+
*/
|
|
1274
|
+
interface StartMcpTrialRequest {
|
|
1275
|
+
/** Your email address. Used to send setup instructions and to identify your trial key. */
|
|
1276
|
+
email: string;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
707
1279
|
interface GetMcpInfoResponse {
|
|
708
1280
|
name?: string | undefined;
|
|
709
1281
|
version?: string | undefined;
|
|
@@ -749,11 +1321,28 @@ declare namespace InvokeMcpToolResponse {
|
|
|
749
1321
|
}
|
|
750
1322
|
}
|
|
751
1323
|
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
1324
|
+
interface StartMcpTrialResponse {
|
|
1325
|
+
success?: boolean | undefined;
|
|
1326
|
+
/** Your trial API key. Use as X-PlayCaller-Key header. */
|
|
1327
|
+
api_key?: string | undefined;
|
|
1328
|
+
tier?: string | undefined;
|
|
1329
|
+
daily_limit?: number | undefined;
|
|
1330
|
+
expires_at?: string | undefined;
|
|
1331
|
+
message?: string | undefined;
|
|
1332
|
+
/** Ready-to-run curl command to test the key immediately */
|
|
1333
|
+
quickstart?: string | undefined;
|
|
1334
|
+
/** Claude Desktop mcpServers config block */
|
|
1335
|
+
claude_desktop?: Record<string, unknown> | undefined;
|
|
1336
|
+
upgrade_url?: string | undefined;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
type index$9_GetMcpInfoResponse = GetMcpInfoResponse;
|
|
1340
|
+
declare const index$9_InvokeMcpToolRequest: typeof InvokeMcpToolRequest;
|
|
1341
|
+
declare const index$9_InvokeMcpToolResponse: typeof InvokeMcpToolResponse;
|
|
1342
|
+
type index$9_StartMcpTrialRequest = StartMcpTrialRequest;
|
|
1343
|
+
type index$9_StartMcpTrialResponse = StartMcpTrialResponse;
|
|
1344
|
+
declare namespace index$9 {
|
|
1345
|
+
export { type index$9_GetMcpInfoResponse as GetMcpInfoResponse, index$9_InvokeMcpToolRequest as InvokeMcpToolRequest, index$9_InvokeMcpToolResponse as InvokeMcpToolResponse, type index$9_StartMcpTrialRequest as StartMcpTrialRequest, type index$9_StartMcpTrialResponse as StartMcpTrialResponse };
|
|
757
1346
|
}
|
|
758
1347
|
|
|
759
1348
|
/**
|
|
@@ -1039,30 +1628,46 @@ declare namespace ListMlbTeamsResponse {
|
|
|
1039
1628
|
}
|
|
1040
1629
|
}
|
|
1041
1630
|
|
|
1042
|
-
type index$
|
|
1043
|
-
type index$
|
|
1044
|
-
type index$
|
|
1045
|
-
declare const index$
|
|
1046
|
-
type index$
|
|
1047
|
-
declare const index$
|
|
1048
|
-
type index$
|
|
1049
|
-
type index$
|
|
1050
|
-
type index$
|
|
1051
|
-
type index$
|
|
1052
|
-
type index$
|
|
1053
|
-
type index$
|
|
1054
|
-
type index$
|
|
1055
|
-
type index$
|
|
1056
|
-
type index$
|
|
1057
|
-
type index$
|
|
1058
|
-
type index$
|
|
1059
|
-
type index$
|
|
1060
|
-
type index$
|
|
1061
|
-
type index$
|
|
1062
|
-
type index$
|
|
1063
|
-
declare const index$
|
|
1064
|
-
declare namespace index$
|
|
1065
|
-
export { type index$
|
|
1631
|
+
type index$8_GetMlbPlayerRequest = GetMlbPlayerRequest;
|
|
1632
|
+
type index$8_GetMlbPlayerResponse = GetMlbPlayerResponse;
|
|
1633
|
+
type index$8_GetMlbPlayerStatsRequest = GetMlbPlayerStatsRequest;
|
|
1634
|
+
declare const index$8_GetMlbPlayerStatsResponse: typeof GetMlbPlayerStatsResponse;
|
|
1635
|
+
type index$8_GetMlbScoringCategoriesRequest = GetMlbScoringCategoriesRequest;
|
|
1636
|
+
declare const index$8_GetMlbScoringCategoriesResponse: typeof GetMlbScoringCategoriesResponse;
|
|
1637
|
+
type index$8_GetMlbScoringLeadersRequest = GetMlbScoringLeadersRequest;
|
|
1638
|
+
type index$8_GetMlbScoringLeadersRequestPosition = GetMlbScoringLeadersRequestPosition;
|
|
1639
|
+
type index$8_GetMlbScoringLeadersResponse = GetMlbScoringLeadersResponse;
|
|
1640
|
+
type index$8_GetMlbStandingsRequest = GetMlbStandingsRequest;
|
|
1641
|
+
type index$8_GetMlbStandingsResponse = GetMlbStandingsResponse;
|
|
1642
|
+
type index$8_GetMlbTeamRosterRequest = GetMlbTeamRosterRequest;
|
|
1643
|
+
type index$8_GetMlbTeamRosterRequestPosition = GetMlbTeamRosterRequestPosition;
|
|
1644
|
+
type index$8_GetMlbTeamRosterResponse = GetMlbTeamRosterResponse;
|
|
1645
|
+
type index$8_ListMlbGamesRequest = ListMlbGamesRequest;
|
|
1646
|
+
type index$8_ListMlbGamesRequestState = ListMlbGamesRequestState;
|
|
1647
|
+
type index$8_ListMlbGamesResponse = ListMlbGamesResponse;
|
|
1648
|
+
type index$8_ListMlbPlayersRequest = ListMlbPlayersRequest;
|
|
1649
|
+
type index$8_ListMlbPlayersRequestPosition = ListMlbPlayersRequestPosition;
|
|
1650
|
+
type index$8_ListMlbPlayersRequestStatus = ListMlbPlayersRequestStatus;
|
|
1651
|
+
type index$8_ListMlbPlayersResponse = ListMlbPlayersResponse;
|
|
1652
|
+
declare const index$8_ListMlbTeamsResponse: typeof ListMlbTeamsResponse;
|
|
1653
|
+
declare namespace index$8 {
|
|
1654
|
+
export { type index$8_GetMlbPlayerRequest as GetMlbPlayerRequest, type index$8_GetMlbPlayerResponse as GetMlbPlayerResponse, type index$8_GetMlbPlayerStatsRequest as GetMlbPlayerStatsRequest, index$8_GetMlbPlayerStatsResponse as GetMlbPlayerStatsResponse, type index$8_GetMlbScoringCategoriesRequest as GetMlbScoringCategoriesRequest, index$8_GetMlbScoringCategoriesResponse as GetMlbScoringCategoriesResponse, type index$8_GetMlbScoringLeadersRequest as GetMlbScoringLeadersRequest, type index$8_GetMlbScoringLeadersRequestPosition as GetMlbScoringLeadersRequestPosition, type index$8_GetMlbScoringLeadersResponse as GetMlbScoringLeadersResponse, type index$8_GetMlbStandingsRequest as GetMlbStandingsRequest, type index$8_GetMlbStandingsResponse as GetMlbStandingsResponse, type index$8_GetMlbTeamRosterRequest as GetMlbTeamRosterRequest, type index$8_GetMlbTeamRosterRequestPosition as GetMlbTeamRosterRequestPosition, type index$8_GetMlbTeamRosterResponse as GetMlbTeamRosterResponse, type index$8_ListMlbGamesRequest as ListMlbGamesRequest, type index$8_ListMlbGamesRequestState as ListMlbGamesRequestState, type index$8_ListMlbGamesResponse as ListMlbGamesResponse, type index$8_ListMlbPlayersRequest as ListMlbPlayersRequest, type index$8_ListMlbPlayersRequestPosition as ListMlbPlayersRequestPosition, type index$8_ListMlbPlayersRequestStatus as ListMlbPlayersRequestStatus, type index$8_ListMlbPlayersResponse as ListMlbPlayersResponse, index$8_ListMlbTeamsResponse as ListMlbTeamsResponse };
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* @example
|
|
1659
|
+
* {
|
|
1660
|
+
* player1: "Tyreek Hill",
|
|
1661
|
+
* player2: "Stefon Diggs"
|
|
1662
|
+
* }
|
|
1663
|
+
*/
|
|
1664
|
+
interface ComparePlayersRequest {
|
|
1665
|
+
/** First player name (fuzzy matched). Example: "Tyreek Hill" */
|
|
1666
|
+
player1: string;
|
|
1667
|
+
/** Second player name (fuzzy matched). Example: "Stefon Diggs" */
|
|
1668
|
+
player2: string;
|
|
1669
|
+
/** Sport key to scope both lookups (recommended for accuracy). Options: nfl, mlb, nba */
|
|
1670
|
+
sport?: ComparePlayersRequestSport;
|
|
1066
1671
|
}
|
|
1067
1672
|
|
|
1068
1673
|
/**
|
|
@@ -1083,6 +1688,88 @@ interface GetGamesHistoryRequest {
|
|
|
1083
1688
|
limit?: number;
|
|
1084
1689
|
}
|
|
1085
1690
|
|
|
1691
|
+
/**
|
|
1692
|
+
* @example
|
|
1693
|
+
* {
|
|
1694
|
+
* sport: "nfl",
|
|
1695
|
+
* id: "pc_nfl_001234"
|
|
1696
|
+
* }
|
|
1697
|
+
*/
|
|
1698
|
+
interface GetPlayerAlphaMetricsRequest {
|
|
1699
|
+
/** Sport key */
|
|
1700
|
+
sport: GetPlayerAlphaMetricsRequestSport;
|
|
1701
|
+
/** PlayCaller player ID */
|
|
1702
|
+
id: string;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* @example
|
|
1707
|
+
* {
|
|
1708
|
+
* sport: "nfl",
|
|
1709
|
+
* id: "pc_nfl_001234"
|
|
1710
|
+
* }
|
|
1711
|
+
*/
|
|
1712
|
+
interface GetPlayerNewsRequest {
|
|
1713
|
+
/** Sport key */
|
|
1714
|
+
sport: GetPlayerNewsRequestSport;
|
|
1715
|
+
/** PlayCaller player ID */
|
|
1716
|
+
id: string;
|
|
1717
|
+
/** Max signals to return (default 10, max 30) */
|
|
1718
|
+
limit?: number;
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
/**
|
|
1722
|
+
* @example
|
|
1723
|
+
* {
|
|
1724
|
+
* id: "pc_nfl_001234",
|
|
1725
|
+
* sport: "nfl"
|
|
1726
|
+
* }
|
|
1727
|
+
*/
|
|
1728
|
+
interface GetSimilarPlayersRequest {
|
|
1729
|
+
/** PlayCaller player ID to find comps for */
|
|
1730
|
+
id: string;
|
|
1731
|
+
/** Sport key (required — similarity is sport-scoped) */
|
|
1732
|
+
sport: GetSimilarPlayersRequestSport;
|
|
1733
|
+
/** Number of similar players (default 10, max 25) */
|
|
1734
|
+
limit?: number;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* @example
|
|
1739
|
+
* {
|
|
1740
|
+
* sport: "nfl",
|
|
1741
|
+
* team: "KC"
|
|
1742
|
+
* }
|
|
1743
|
+
*/
|
|
1744
|
+
interface GetTeamInjuriesRequest {
|
|
1745
|
+
/** Sport key */
|
|
1746
|
+
sport: GetTeamInjuriesRequestSport;
|
|
1747
|
+
/** Team abbreviation (e.g. KC, LAD, LAL) */
|
|
1748
|
+
team: string;
|
|
1749
|
+
/** Max signals (default 20, max 50) */
|
|
1750
|
+
limit?: number;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* @example
|
|
1755
|
+
* {
|
|
1756
|
+
* sport: "nfl",
|
|
1757
|
+
* team: "KC"
|
|
1758
|
+
* }
|
|
1759
|
+
*/
|
|
1760
|
+
interface GetTeamScheduleRequest {
|
|
1761
|
+
/** Sport key */
|
|
1762
|
+
sport: GetTeamScheduleRequestSport;
|
|
1763
|
+
/** Team abbreviation (e.g. KC for NFL, LAL for NBA) */
|
|
1764
|
+
team: string;
|
|
1765
|
+
/** Filter: upcoming | final | live | all (default: all) */
|
|
1766
|
+
status?: GetTeamScheduleRequestStatus;
|
|
1767
|
+
/** Season year (NFL only, e.g. 2026) */
|
|
1768
|
+
season?: number;
|
|
1769
|
+
/** Max games (default 20, max 50) */
|
|
1770
|
+
limit?: number;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1086
1773
|
/**
|
|
1087
1774
|
* @example
|
|
1088
1775
|
* {}
|
|
@@ -1127,6 +1814,51 @@ interface SearchPlayersRequest {
|
|
|
1127
1814
|
limit?: number;
|
|
1128
1815
|
}
|
|
1129
1816
|
|
|
1817
|
+
/**
|
|
1818
|
+
* @example
|
|
1819
|
+
* {}
|
|
1820
|
+
*/
|
|
1821
|
+
interface StreamEventsRequest {
|
|
1822
|
+
/** Filter to a single sport (default: all) */
|
|
1823
|
+
sport?: StreamEventsRequestSport;
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
declare const ComparePlayersRequestSport: {
|
|
1827
|
+
readonly Nfl: "nfl";
|
|
1828
|
+
readonly Mlb: "mlb";
|
|
1829
|
+
readonly Nba: "nba";
|
|
1830
|
+
};
|
|
1831
|
+
type ComparePlayersRequestSport = (typeof ComparePlayersRequestSport)[keyof typeof ComparePlayersRequestSport];
|
|
1832
|
+
|
|
1833
|
+
interface ComparePlayersResponse {
|
|
1834
|
+
success?: boolean | undefined;
|
|
1835
|
+
/** Profile for player1 — identity, injury signals, anomaly score, and recent game stats */
|
|
1836
|
+
player1?: Record<string, unknown> | undefined;
|
|
1837
|
+
/** Profile for player2 — same shape as player1 */
|
|
1838
|
+
player2?: Record<string, unknown> | undefined;
|
|
1839
|
+
meta?: ResponseMeta | undefined;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
interface GetDataStatusResponse {
|
|
1843
|
+
success?: boolean | undefined;
|
|
1844
|
+
generated_at?: string | undefined;
|
|
1845
|
+
/** Per-sport freshness and player counts */
|
|
1846
|
+
sports?: Record<string, unknown> | undefined;
|
|
1847
|
+
signals?: GetDataStatusResponse.Signals | undefined;
|
|
1848
|
+
anomalies?: GetDataStatusResponse.Anomalies | undefined;
|
|
1849
|
+
total_players?: number | undefined;
|
|
1850
|
+
}
|
|
1851
|
+
declare namespace GetDataStatusResponse {
|
|
1852
|
+
interface Signals {
|
|
1853
|
+
last_updated?: string | undefined;
|
|
1854
|
+
active_signals?: number | undefined;
|
|
1855
|
+
}
|
|
1856
|
+
interface Anomalies {
|
|
1857
|
+
last_updated?: string | undefined;
|
|
1858
|
+
total_scored?: number | undefined;
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1130
1862
|
declare const GetGamesHistoryRequestSport: {
|
|
1131
1863
|
readonly Nfl: "nfl";
|
|
1132
1864
|
readonly Nba: "nba";
|
|
@@ -1142,121 +1874,348 @@ interface GetGamesHistoryResponse {
|
|
|
1142
1874
|
meta?: ResponseMeta | undefined;
|
|
1143
1875
|
}
|
|
1144
1876
|
|
|
1145
|
-
declare const
|
|
1877
|
+
declare const GetPlayerAlphaMetricsRequestSport: {
|
|
1146
1878
|
readonly Nfl: "nfl";
|
|
1147
1879
|
readonly Mlb: "mlb";
|
|
1148
1880
|
readonly Nba: "nba";
|
|
1149
|
-
readonly All: "all";
|
|
1150
1881
|
};
|
|
1151
|
-
type
|
|
1882
|
+
type GetPlayerAlphaMetricsRequestSport = (typeof GetPlayerAlphaMetricsRequestSport)[keyof typeof GetPlayerAlphaMetricsRequestSport];
|
|
1152
1883
|
|
|
1153
|
-
interface
|
|
1884
|
+
interface GetPlayerAlphaMetricsResponse {
|
|
1154
1885
|
success?: boolean | undefined;
|
|
1155
|
-
|
|
1156
|
-
count?: number | undefined;
|
|
1157
|
-
data?: GetTrendingResponse.Data.Item[] | undefined;
|
|
1886
|
+
data?: GetPlayerAlphaMetricsResponse.Data | undefined;
|
|
1158
1887
|
meta?: ResponseMeta | undefined;
|
|
1159
1888
|
}
|
|
1160
|
-
declare namespace
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1889
|
+
declare namespace GetPlayerAlphaMetricsResponse {
|
|
1890
|
+
interface Data {
|
|
1891
|
+
player_id?: string | undefined;
|
|
1892
|
+
full_name?: string | undefined;
|
|
1893
|
+
position?: string | undefined;
|
|
1894
|
+
team?: string | undefined;
|
|
1895
|
+
sport?: string | undefined;
|
|
1896
|
+
/** Usage/floor stability (0–100). Higher = more consistent starter. */
|
|
1897
|
+
consistency_score?: (number | null) | undefined;
|
|
1898
|
+
/** Avg pts last 3 games minus avg games 4–6 back. Positive = trending up. */
|
|
1899
|
+
momentum_delta?: (number | null) | undefined;
|
|
1900
|
+
/** 90th-percentile fantasy output from the last 8 games. Peak upside. */
|
|
1901
|
+
opportunity_ceiling?: (number | null) | undefined;
|
|
1902
|
+
sample_size?: number | undefined;
|
|
1903
|
+
season?: number | undefined;
|
|
1904
|
+
week_computed?: (number | null) | undefined;
|
|
1905
|
+
computed_at?: string | undefined;
|
|
1171
1906
|
}
|
|
1172
1907
|
}
|
|
1173
1908
|
|
|
1174
|
-
declare const
|
|
1909
|
+
declare const GetPlayerNewsRequestSport: {
|
|
1175
1910
|
readonly Nfl: "nfl";
|
|
1176
1911
|
readonly Mlb: "mlb";
|
|
1177
1912
|
readonly Nba: "nba";
|
|
1913
|
+
readonly Nhl: "nhl";
|
|
1914
|
+
readonly Cfb: "cfb";
|
|
1915
|
+
readonly Soccer: "soccer";
|
|
1178
1916
|
};
|
|
1179
|
-
type
|
|
1917
|
+
type GetPlayerNewsRequestSport = (typeof GetPlayerNewsRequestSport)[keyof typeof GetPlayerNewsRequestSport];
|
|
1180
1918
|
|
|
1181
|
-
interface
|
|
1919
|
+
interface GetPlayerNewsResponse {
|
|
1182
1920
|
success?: boolean | undefined;
|
|
1183
|
-
|
|
1921
|
+
player?: GetPlayerNewsResponse.Player | undefined;
|
|
1184
1922
|
count?: number | undefined;
|
|
1185
|
-
data?:
|
|
1186
|
-
meta?: ResponseMeta | undefined;
|
|
1923
|
+
data?: GetPlayerNewsResponse.Data.Item[] | undefined;
|
|
1187
1924
|
}
|
|
1188
|
-
declare namespace
|
|
1925
|
+
declare namespace GetPlayerNewsResponse {
|
|
1926
|
+
interface Player {
|
|
1927
|
+
id?: string | undefined;
|
|
1928
|
+
name?: string | undefined;
|
|
1929
|
+
team?: string | undefined;
|
|
1930
|
+
}
|
|
1189
1931
|
type Data = Data.Item[];
|
|
1190
1932
|
namespace Data {
|
|
1191
1933
|
interface Item {
|
|
1192
|
-
|
|
1934
|
+
type?: string | undefined;
|
|
1935
|
+
severity?: Item.Severity | undefined;
|
|
1193
1936
|
title?: string | undefined;
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
season?: number | undefined;
|
|
1197
|
-
week?: number | undefined;
|
|
1198
|
-
/** Validated model-signal rows that produced this article */
|
|
1199
|
-
signals_used?: unknown[] | undefined;
|
|
1937
|
+
summary?: string | undefined;
|
|
1938
|
+
source?: string | undefined;
|
|
1200
1939
|
published_at?: string | undefined;
|
|
1201
1940
|
}
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
/** Endpoints not scoped to one sport, e.g. /v1/trending, /v1/articles/waiver */
|
|
1210
|
-
cross_sport_endpoints?: string[] | undefined;
|
|
1211
|
-
meta?: ListSportsResponse.Meta | undefined;
|
|
1212
|
-
}
|
|
1213
|
-
declare namespace ListSportsResponse {
|
|
1214
|
-
type Sports = Sports.Item[];
|
|
1215
|
-
namespace Sports {
|
|
1216
|
-
interface Item {
|
|
1217
|
-
sport?: string | undefined;
|
|
1218
|
-
name?: string | undefined;
|
|
1219
|
-
status?: string | undefined;
|
|
1220
|
-
endpoints?: string[] | undefined;
|
|
1941
|
+
namespace Item {
|
|
1942
|
+
const Severity: {
|
|
1943
|
+
readonly High: "high";
|
|
1944
|
+
readonly Medium: "medium";
|
|
1945
|
+
readonly Low: "low";
|
|
1946
|
+
};
|
|
1947
|
+
type Severity = (typeof Severity)[keyof typeof Severity];
|
|
1221
1948
|
}
|
|
1222
1949
|
}
|
|
1223
|
-
interface Meta {
|
|
1224
|
-
tier?: string | undefined;
|
|
1225
|
-
documentation_url?: string | undefined;
|
|
1226
|
-
}
|
|
1227
1950
|
}
|
|
1228
1951
|
|
|
1229
|
-
declare const
|
|
1952
|
+
declare const GetSimilarPlayersRequestSport: {
|
|
1230
1953
|
readonly Nfl: "nfl";
|
|
1231
1954
|
readonly Mlb: "mlb";
|
|
1232
1955
|
readonly Nba: "nba";
|
|
1233
1956
|
};
|
|
1234
|
-
type
|
|
1957
|
+
type GetSimilarPlayersRequestSport = (typeof GetSimilarPlayersRequestSport)[keyof typeof GetSimilarPlayersRequestSport];
|
|
1235
1958
|
|
|
1236
|
-
interface
|
|
1959
|
+
interface GetSimilarPlayersResponse {
|
|
1237
1960
|
success?: boolean | undefined;
|
|
1238
|
-
|
|
1239
|
-
q?: string | undefined;
|
|
1961
|
+
query?: GetSimilarPlayersResponse.Query | undefined;
|
|
1240
1962
|
count?: number | undefined;
|
|
1241
|
-
data?:
|
|
1963
|
+
data?: GetSimilarPlayersResponse.Data.Item[] | undefined;
|
|
1242
1964
|
meta?: ResponseMeta | undefined;
|
|
1243
1965
|
}
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
type
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1966
|
+
declare namespace GetSimilarPlayersResponse {
|
|
1967
|
+
interface Query {
|
|
1968
|
+
player_id?: string | undefined;
|
|
1969
|
+
full_name?: string | undefined;
|
|
1970
|
+
position?: string | undefined;
|
|
1971
|
+
team?: string | undefined;
|
|
1972
|
+
sport?: string | undefined;
|
|
1973
|
+
}
|
|
1974
|
+
type Data = Data.Item[];
|
|
1975
|
+
namespace Data {
|
|
1976
|
+
interface Item {
|
|
1977
|
+
id?: string | undefined;
|
|
1978
|
+
full_name?: string | undefined;
|
|
1979
|
+
position?: string | undefined;
|
|
1980
|
+
team?: string | undefined;
|
|
1981
|
+
/** 1.0 = identical profile, 0.0 = no overlap */
|
|
1982
|
+
similarity_score?: number | undefined;
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
declare const GetTeamInjuriesRequestSport: {
|
|
1988
|
+
readonly Nfl: "nfl";
|
|
1989
|
+
readonly Mlb: "mlb";
|
|
1990
|
+
readonly Nba: "nba";
|
|
1991
|
+
readonly Nhl: "nhl";
|
|
1992
|
+
};
|
|
1993
|
+
type GetTeamInjuriesRequestSport = (typeof GetTeamInjuriesRequestSport)[keyof typeof GetTeamInjuriesRequestSport];
|
|
1994
|
+
|
|
1995
|
+
interface GetTeamInjuriesResponse {
|
|
1996
|
+
success?: boolean | undefined;
|
|
1997
|
+
team?: string | undefined;
|
|
1998
|
+
sport?: string | undefined;
|
|
1999
|
+
count?: number | undefined;
|
|
2000
|
+
data?: GetTeamInjuriesResponse.Data.Item[] | undefined;
|
|
2001
|
+
}
|
|
2002
|
+
declare namespace GetTeamInjuriesResponse {
|
|
2003
|
+
type Data = Data.Item[];
|
|
2004
|
+
namespace Data {
|
|
2005
|
+
interface Item {
|
|
2006
|
+
player?: string | undefined;
|
|
2007
|
+
type?: string | undefined;
|
|
2008
|
+
severity?: Item.Severity | undefined;
|
|
2009
|
+
title?: string | undefined;
|
|
2010
|
+
summary?: string | undefined;
|
|
2011
|
+
published_at?: string | undefined;
|
|
2012
|
+
}
|
|
2013
|
+
namespace Item {
|
|
2014
|
+
const Severity: {
|
|
2015
|
+
readonly High: "high";
|
|
2016
|
+
readonly Medium: "medium";
|
|
2017
|
+
readonly Low: "low";
|
|
2018
|
+
};
|
|
2019
|
+
type Severity = (typeof Severity)[keyof typeof Severity];
|
|
2020
|
+
}
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
declare const GetTeamScheduleRequestSport: {
|
|
2025
|
+
readonly Nfl: "nfl";
|
|
2026
|
+
readonly Nba: "nba";
|
|
2027
|
+
readonly Nhl: "nhl";
|
|
2028
|
+
readonly Cfb: "cfb";
|
|
2029
|
+
readonly Soccer: "soccer";
|
|
2030
|
+
};
|
|
2031
|
+
type GetTeamScheduleRequestSport = (typeof GetTeamScheduleRequestSport)[keyof typeof GetTeamScheduleRequestSport];
|
|
2032
|
+
|
|
2033
|
+
declare const GetTeamScheduleRequestStatus: {
|
|
2034
|
+
readonly Upcoming: "upcoming";
|
|
2035
|
+
readonly Final: "final";
|
|
2036
|
+
readonly Live: "live";
|
|
2037
|
+
readonly All: "all";
|
|
2038
|
+
};
|
|
2039
|
+
type GetTeamScheduleRequestStatus = (typeof GetTeamScheduleRequestStatus)[keyof typeof GetTeamScheduleRequestStatus];
|
|
2040
|
+
|
|
2041
|
+
interface GetTeamScheduleResponse {
|
|
2042
|
+
success?: boolean | undefined;
|
|
2043
|
+
team?: string | undefined;
|
|
2044
|
+
sport?: string | undefined;
|
|
2045
|
+
count?: number | undefined;
|
|
2046
|
+
data?: GetTeamScheduleResponse.Data.Item[] | undefined;
|
|
2047
|
+
}
|
|
2048
|
+
declare namespace GetTeamScheduleResponse {
|
|
2049
|
+
type Data = Data.Item[];
|
|
2050
|
+
namespace Data {
|
|
2051
|
+
interface Item {
|
|
2052
|
+
game_id?: string | undefined;
|
|
2053
|
+
game_date?: string | undefined;
|
|
2054
|
+
game_time?: string | undefined;
|
|
2055
|
+
status?: string | undefined;
|
|
2056
|
+
away?: Item.Away | undefined;
|
|
2057
|
+
home?: Item.Home | undefined;
|
|
2058
|
+
}
|
|
2059
|
+
namespace Item {
|
|
2060
|
+
interface Away {
|
|
2061
|
+
name?: string | undefined;
|
|
2062
|
+
abbr?: string | undefined;
|
|
2063
|
+
score?: number | undefined;
|
|
2064
|
+
}
|
|
2065
|
+
interface Home {
|
|
2066
|
+
name?: string | undefined;
|
|
2067
|
+
abbr?: string | undefined;
|
|
2068
|
+
score?: number | undefined;
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2074
|
+
declare const GetTrendingRequestSport: {
|
|
2075
|
+
readonly Nfl: "nfl";
|
|
2076
|
+
readonly Mlb: "mlb";
|
|
2077
|
+
readonly Nba: "nba";
|
|
2078
|
+
readonly All: "all";
|
|
2079
|
+
};
|
|
2080
|
+
type GetTrendingRequestSport = (typeof GetTrendingRequestSport)[keyof typeof GetTrendingRequestSport];
|
|
2081
|
+
|
|
2082
|
+
interface GetTrendingResponse {
|
|
2083
|
+
success?: boolean | undefined;
|
|
2084
|
+
endpoint?: string | undefined;
|
|
2085
|
+
count?: number | undefined;
|
|
2086
|
+
data?: GetTrendingResponse.Data.Item[] | undefined;
|
|
2087
|
+
meta?: ResponseMeta | undefined;
|
|
2088
|
+
}
|
|
2089
|
+
declare namespace GetTrendingResponse {
|
|
2090
|
+
type Data = Data.Item[];
|
|
2091
|
+
namespace Data {
|
|
2092
|
+
interface Item {
|
|
2093
|
+
tag?: string | undefined;
|
|
2094
|
+
sport?: string | undefined;
|
|
2095
|
+
category?: string | undefined;
|
|
2096
|
+
relevance_score?: number | undefined;
|
|
2097
|
+
scraped_at?: string | undefined;
|
|
2098
|
+
expires_at?: string | undefined;
|
|
2099
|
+
}
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
declare const GetWaiverArticlesRequestSport: {
|
|
2104
|
+
readonly Nfl: "nfl";
|
|
2105
|
+
readonly Mlb: "mlb";
|
|
2106
|
+
readonly Nba: "nba";
|
|
2107
|
+
};
|
|
2108
|
+
type GetWaiverArticlesRequestSport = (typeof GetWaiverArticlesRequestSport)[keyof typeof GetWaiverArticlesRequestSport];
|
|
2109
|
+
|
|
2110
|
+
interface GetWaiverArticlesResponse {
|
|
2111
|
+
success?: boolean | undefined;
|
|
2112
|
+
endpoint?: string | undefined;
|
|
2113
|
+
count?: number | undefined;
|
|
2114
|
+
data?: GetWaiverArticlesResponse.Data.Item[] | undefined;
|
|
2115
|
+
meta?: ResponseMeta | undefined;
|
|
2116
|
+
}
|
|
2117
|
+
declare namespace GetWaiverArticlesResponse {
|
|
2118
|
+
type Data = Data.Item[];
|
|
2119
|
+
namespace Data {
|
|
2120
|
+
interface Item {
|
|
2121
|
+
slug?: string | undefined;
|
|
2122
|
+
title?: string | undefined;
|
|
2123
|
+
content?: string | undefined;
|
|
2124
|
+
meta_description?: (string | null) | undefined;
|
|
2125
|
+
season?: number | undefined;
|
|
2126
|
+
week?: number | undefined;
|
|
2127
|
+
/** Validated model-signal rows that produced this article */
|
|
2128
|
+
signals_used?: unknown[] | undefined;
|
|
2129
|
+
published_at?: string | undefined;
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
interface ListSportsResponse {
|
|
2135
|
+
success?: boolean | undefined;
|
|
2136
|
+
endpoint?: string | undefined;
|
|
2137
|
+
sports?: ListSportsResponse.Sports.Item[] | undefined;
|
|
2138
|
+
/** Endpoints not scoped to one sport, e.g. /v1/trending, /v1/articles/waiver */
|
|
2139
|
+
cross_sport_endpoints?: string[] | undefined;
|
|
2140
|
+
meta?: ListSportsResponse.Meta | undefined;
|
|
2141
|
+
}
|
|
2142
|
+
declare namespace ListSportsResponse {
|
|
2143
|
+
type Sports = Sports.Item[];
|
|
2144
|
+
namespace Sports {
|
|
2145
|
+
interface Item {
|
|
2146
|
+
sport?: string | undefined;
|
|
2147
|
+
name?: string | undefined;
|
|
2148
|
+
status?: string | undefined;
|
|
2149
|
+
endpoints?: string[] | undefined;
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
interface Meta {
|
|
2153
|
+
tier?: string | undefined;
|
|
2154
|
+
documentation_url?: string | undefined;
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
declare const SearchPlayersRequestSport: {
|
|
2159
|
+
readonly Nfl: "nfl";
|
|
2160
|
+
readonly Mlb: "mlb";
|
|
2161
|
+
readonly Nba: "nba";
|
|
2162
|
+
};
|
|
2163
|
+
type SearchPlayersRequestSport = (typeof SearchPlayersRequestSport)[keyof typeof SearchPlayersRequestSport];
|
|
2164
|
+
|
|
2165
|
+
interface SearchPlayersResponse {
|
|
2166
|
+
success?: boolean | undefined;
|
|
2167
|
+
endpoint?: string | undefined;
|
|
2168
|
+
q?: string | undefined;
|
|
2169
|
+
count?: number | undefined;
|
|
2170
|
+
data?: PlayerIdentity[] | undefined;
|
|
2171
|
+
meta?: ResponseMeta | undefined;
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
declare const StreamEventsRequestSport: {
|
|
2175
|
+
readonly Nfl: "nfl";
|
|
2176
|
+
readonly Mlb: "mlb";
|
|
2177
|
+
readonly Nba: "nba";
|
|
2178
|
+
readonly All: "all";
|
|
2179
|
+
};
|
|
2180
|
+
type StreamEventsRequestSport = (typeof StreamEventsRequestSport)[keyof typeof StreamEventsRequestSport];
|
|
2181
|
+
|
|
2182
|
+
type index$7_ComparePlayersRequest = ComparePlayersRequest;
|
|
2183
|
+
type index$7_ComparePlayersRequestSport = ComparePlayersRequestSport;
|
|
2184
|
+
type index$7_ComparePlayersResponse = ComparePlayersResponse;
|
|
2185
|
+
declare const index$7_GetDataStatusResponse: typeof GetDataStatusResponse;
|
|
2186
|
+
type index$7_GetGamesHistoryRequest = GetGamesHistoryRequest;
|
|
2187
|
+
type index$7_GetGamesHistoryRequestSport = GetGamesHistoryRequestSport;
|
|
2188
|
+
type index$7_GetGamesHistoryResponse = GetGamesHistoryResponse;
|
|
2189
|
+
type index$7_GetPlayerAlphaMetricsRequest = GetPlayerAlphaMetricsRequest;
|
|
2190
|
+
type index$7_GetPlayerAlphaMetricsRequestSport = GetPlayerAlphaMetricsRequestSport;
|
|
2191
|
+
declare const index$7_GetPlayerAlphaMetricsResponse: typeof GetPlayerAlphaMetricsResponse;
|
|
2192
|
+
type index$7_GetPlayerNewsRequest = GetPlayerNewsRequest;
|
|
2193
|
+
type index$7_GetPlayerNewsRequestSport = GetPlayerNewsRequestSport;
|
|
2194
|
+
declare const index$7_GetPlayerNewsResponse: typeof GetPlayerNewsResponse;
|
|
2195
|
+
type index$7_GetSimilarPlayersRequest = GetSimilarPlayersRequest;
|
|
2196
|
+
type index$7_GetSimilarPlayersRequestSport = GetSimilarPlayersRequestSport;
|
|
2197
|
+
declare const index$7_GetSimilarPlayersResponse: typeof GetSimilarPlayersResponse;
|
|
2198
|
+
type index$7_GetTeamInjuriesRequest = GetTeamInjuriesRequest;
|
|
2199
|
+
type index$7_GetTeamInjuriesRequestSport = GetTeamInjuriesRequestSport;
|
|
2200
|
+
declare const index$7_GetTeamInjuriesResponse: typeof GetTeamInjuriesResponse;
|
|
2201
|
+
type index$7_GetTeamScheduleRequest = GetTeamScheduleRequest;
|
|
2202
|
+
type index$7_GetTeamScheduleRequestSport = GetTeamScheduleRequestSport;
|
|
2203
|
+
type index$7_GetTeamScheduleRequestStatus = GetTeamScheduleRequestStatus;
|
|
2204
|
+
declare const index$7_GetTeamScheduleResponse: typeof GetTeamScheduleResponse;
|
|
2205
|
+
type index$7_GetTrendingRequest = GetTrendingRequest;
|
|
2206
|
+
type index$7_GetTrendingRequestSport = GetTrendingRequestSport;
|
|
2207
|
+
declare const index$7_GetTrendingResponse: typeof GetTrendingResponse;
|
|
2208
|
+
type index$7_GetWaiverArticlesRequest = GetWaiverArticlesRequest;
|
|
2209
|
+
type index$7_GetWaiverArticlesRequestSport = GetWaiverArticlesRequestSport;
|
|
2210
|
+
declare const index$7_GetWaiverArticlesResponse: typeof GetWaiverArticlesResponse;
|
|
2211
|
+
declare const index$7_ListSportsResponse: typeof ListSportsResponse;
|
|
2212
|
+
type index$7_SearchPlayersRequest = SearchPlayersRequest;
|
|
2213
|
+
type index$7_SearchPlayersRequestSport = SearchPlayersRequestSport;
|
|
2214
|
+
type index$7_SearchPlayersResponse = SearchPlayersResponse;
|
|
2215
|
+
type index$7_StreamEventsRequest = StreamEventsRequest;
|
|
2216
|
+
type index$7_StreamEventsRequestSport = StreamEventsRequestSport;
|
|
2217
|
+
declare namespace index$7 {
|
|
2218
|
+
export { type index$7_ComparePlayersRequest as ComparePlayersRequest, type index$7_ComparePlayersRequestSport as ComparePlayersRequestSport, type index$7_ComparePlayersResponse as ComparePlayersResponse, index$7_GetDataStatusResponse as GetDataStatusResponse, type index$7_GetGamesHistoryRequest as GetGamesHistoryRequest, type index$7_GetGamesHistoryRequestSport as GetGamesHistoryRequestSport, type index$7_GetGamesHistoryResponse as GetGamesHistoryResponse, type index$7_GetPlayerAlphaMetricsRequest as GetPlayerAlphaMetricsRequest, type index$7_GetPlayerAlphaMetricsRequestSport as GetPlayerAlphaMetricsRequestSport, index$7_GetPlayerAlphaMetricsResponse as GetPlayerAlphaMetricsResponse, type index$7_GetPlayerNewsRequest as GetPlayerNewsRequest, type index$7_GetPlayerNewsRequestSport as GetPlayerNewsRequestSport, index$7_GetPlayerNewsResponse as GetPlayerNewsResponse, type index$7_GetSimilarPlayersRequest as GetSimilarPlayersRequest, type index$7_GetSimilarPlayersRequestSport as GetSimilarPlayersRequestSport, index$7_GetSimilarPlayersResponse as GetSimilarPlayersResponse, type index$7_GetTeamInjuriesRequest as GetTeamInjuriesRequest, type index$7_GetTeamInjuriesRequestSport as GetTeamInjuriesRequestSport, index$7_GetTeamInjuriesResponse as GetTeamInjuriesResponse, type index$7_GetTeamScheduleRequest as GetTeamScheduleRequest, type index$7_GetTeamScheduleRequestSport as GetTeamScheduleRequestSport, type index$7_GetTeamScheduleRequestStatus as GetTeamScheduleRequestStatus, index$7_GetTeamScheduleResponse as GetTeamScheduleResponse, type index$7_GetTrendingRequest as GetTrendingRequest, type index$7_GetTrendingRequestSport as GetTrendingRequestSport, index$7_GetTrendingResponse as GetTrendingResponse, type index$7_GetWaiverArticlesRequest as GetWaiverArticlesRequest, type index$7_GetWaiverArticlesRequestSport as GetWaiverArticlesRequestSport, index$7_GetWaiverArticlesResponse as GetWaiverArticlesResponse, index$7_ListSportsResponse as ListSportsResponse, type index$7_SearchPlayersRequest as SearchPlayersRequest, type index$7_SearchPlayersRequestSport as SearchPlayersRequestSport, type index$7_SearchPlayersResponse as SearchPlayersResponse, type index$7_StreamEventsRequest as StreamEventsRequest, type index$7_StreamEventsRequestSport as StreamEventsRequestSport };
|
|
1260
2219
|
}
|
|
1261
2220
|
|
|
1262
2221
|
/**
|
|
@@ -1594,29 +2553,29 @@ declare namespace ListNbaTeamsResponse {
|
|
|
1594
2553
|
}
|
|
1595
2554
|
}
|
|
1596
2555
|
|
|
1597
|
-
type index$
|
|
1598
|
-
declare const index$
|
|
1599
|
-
type index$
|
|
1600
|
-
declare const index$
|
|
1601
|
-
type index$
|
|
1602
|
-
declare const index$
|
|
1603
|
-
type index$
|
|
1604
|
-
type index$
|
|
1605
|
-
type index$
|
|
1606
|
-
type index$
|
|
1607
|
-
type index$
|
|
1608
|
-
declare const index$
|
|
1609
|
-
type index$
|
|
1610
|
-
type index$
|
|
1611
|
-
type index$
|
|
1612
|
-
type index$
|
|
1613
|
-
type index$
|
|
1614
|
-
declare const index$
|
|
1615
|
-
type index$
|
|
1616
|
-
type index$
|
|
1617
|
-
declare const index$
|
|
1618
|
-
declare namespace index$
|
|
1619
|
-
export { type index$
|
|
2556
|
+
type index$6_GetNbaConfidenceRequest = GetNbaConfidenceRequest;
|
|
2557
|
+
declare const index$6_GetNbaConfidenceResponse: typeof GetNbaConfidenceResponse;
|
|
2558
|
+
type index$6_GetNbaPlayerRequest = GetNbaPlayerRequest;
|
|
2559
|
+
declare const index$6_GetNbaPlayerResponse: typeof GetNbaPlayerResponse;
|
|
2560
|
+
type index$6_GetNbaPlayerStatsRequest = GetNbaPlayerStatsRequest;
|
|
2561
|
+
declare const index$6_GetNbaPlayerStatsResponse: typeof GetNbaPlayerStatsResponse;
|
|
2562
|
+
type index$6_GetNbaStandingsRequest = GetNbaStandingsRequest;
|
|
2563
|
+
type index$6_GetNbaStandingsRequestConference = GetNbaStandingsRequestConference;
|
|
2564
|
+
type index$6_GetNbaStandingsResponse = GetNbaStandingsResponse;
|
|
2565
|
+
type index$6_GetNbaTeamRosterRequest = GetNbaTeamRosterRequest;
|
|
2566
|
+
type index$6_GetNbaTeamRosterRequestPosition = GetNbaTeamRosterRequestPosition;
|
|
2567
|
+
declare const index$6_GetNbaTeamRosterResponse: typeof GetNbaTeamRosterResponse;
|
|
2568
|
+
type index$6_ListNbaGamesRequest = ListNbaGamesRequest;
|
|
2569
|
+
type index$6_ListNbaGamesRequestState = ListNbaGamesRequestState;
|
|
2570
|
+
type index$6_ListNbaGamesResponse = ListNbaGamesResponse;
|
|
2571
|
+
type index$6_ListNbaPlayersRequest = ListNbaPlayersRequest;
|
|
2572
|
+
type index$6_ListNbaPlayersRequestPosition = ListNbaPlayersRequestPosition;
|
|
2573
|
+
declare const index$6_ListNbaPlayersResponse: typeof ListNbaPlayersResponse;
|
|
2574
|
+
type index$6_ListNbaTeamsRequest = ListNbaTeamsRequest;
|
|
2575
|
+
type index$6_ListNbaTeamsRequestConference = ListNbaTeamsRequestConference;
|
|
2576
|
+
declare const index$6_ListNbaTeamsResponse: typeof ListNbaTeamsResponse;
|
|
2577
|
+
declare namespace index$6 {
|
|
2578
|
+
export { type index$6_GetNbaConfidenceRequest as GetNbaConfidenceRequest, index$6_GetNbaConfidenceResponse as GetNbaConfidenceResponse, type index$6_GetNbaPlayerRequest as GetNbaPlayerRequest, index$6_GetNbaPlayerResponse as GetNbaPlayerResponse, type index$6_GetNbaPlayerStatsRequest as GetNbaPlayerStatsRequest, index$6_GetNbaPlayerStatsResponse as GetNbaPlayerStatsResponse, type index$6_GetNbaStandingsRequest as GetNbaStandingsRequest, type index$6_GetNbaStandingsRequestConference as GetNbaStandingsRequestConference, type index$6_GetNbaStandingsResponse as GetNbaStandingsResponse, type index$6_GetNbaTeamRosterRequest as GetNbaTeamRosterRequest, type index$6_GetNbaTeamRosterRequestPosition as GetNbaTeamRosterRequestPosition, index$6_GetNbaTeamRosterResponse as GetNbaTeamRosterResponse, type index$6_ListNbaGamesRequest as ListNbaGamesRequest, type index$6_ListNbaGamesRequestState as ListNbaGamesRequestState, type index$6_ListNbaGamesResponse as ListNbaGamesResponse, type index$6_ListNbaPlayersRequest as ListNbaPlayersRequest, type index$6_ListNbaPlayersRequestPosition as ListNbaPlayersRequestPosition, index$6_ListNbaPlayersResponse as ListNbaPlayersResponse, type index$6_ListNbaTeamsRequest as ListNbaTeamsRequest, type index$6_ListNbaTeamsRequestConference as ListNbaTeamsRequestConference, index$6_ListNbaTeamsResponse as ListNbaTeamsResponse };
|
|
1620
2579
|
}
|
|
1621
2580
|
|
|
1622
2581
|
/**
|
|
@@ -1647,6 +2606,21 @@ interface GetNflPlayerStatsRequest {
|
|
|
1647
2606
|
limit?: number;
|
|
1648
2607
|
}
|
|
1649
2608
|
|
|
2609
|
+
/**
|
|
2610
|
+
* @example
|
|
2611
|
+
* {}
|
|
2612
|
+
*/
|
|
2613
|
+
interface GetNflRankingsRequest {
|
|
2614
|
+
/** Filter by position */
|
|
2615
|
+
position?: GetNflRankingsRequestPosition;
|
|
2616
|
+
/** Scoring format (informational — ADP is sourced from PPR leagues) */
|
|
2617
|
+
format?: GetNflRankingsRequestFormat;
|
|
2618
|
+
/** Max results (default 200, max 500) */
|
|
2619
|
+
limit?: number;
|
|
2620
|
+
/** Pagination offset */
|
|
2621
|
+
offset?: number;
|
|
2622
|
+
}
|
|
2623
|
+
|
|
1650
2624
|
/**
|
|
1651
2625
|
* @example
|
|
1652
2626
|
* {
|
|
@@ -1795,6 +2769,60 @@ declare namespace GetNflPlayerStatsResponse {
|
|
|
1795
2769
|
}
|
|
1796
2770
|
}
|
|
1797
2771
|
|
|
2772
|
+
declare const GetNflRankingsRequestFormat: {
|
|
2773
|
+
readonly Ppr: "ppr";
|
|
2774
|
+
readonly HalfPpr: "half_ppr";
|
|
2775
|
+
readonly Standard: "standard";
|
|
2776
|
+
};
|
|
2777
|
+
type GetNflRankingsRequestFormat = (typeof GetNflRankingsRequestFormat)[keyof typeof GetNflRankingsRequestFormat];
|
|
2778
|
+
|
|
2779
|
+
declare const GetNflRankingsRequestPosition: {
|
|
2780
|
+
readonly Qb: "QB";
|
|
2781
|
+
readonly Rb: "RB";
|
|
2782
|
+
readonly Wr: "WR";
|
|
2783
|
+
readonly Te: "TE";
|
|
2784
|
+
readonly K: "K";
|
|
2785
|
+
};
|
|
2786
|
+
type GetNflRankingsRequestPosition = (typeof GetNflRankingsRequestPosition)[keyof typeof GetNflRankingsRequestPosition];
|
|
2787
|
+
|
|
2788
|
+
interface GetNflRankingsResponse {
|
|
2789
|
+
success?: boolean | undefined;
|
|
2790
|
+
endpoint?: string | undefined;
|
|
2791
|
+
format?: string | undefined;
|
|
2792
|
+
source?: string | undefined;
|
|
2793
|
+
updated_at?: string | undefined;
|
|
2794
|
+
total?: number | undefined;
|
|
2795
|
+
count?: number | undefined;
|
|
2796
|
+
data?: GetNflRankingsResponse.Data.Item[] | undefined;
|
|
2797
|
+
}
|
|
2798
|
+
declare namespace GetNflRankingsResponse {
|
|
2799
|
+
type Data = Data.Item[];
|
|
2800
|
+
namespace Data {
|
|
2801
|
+
interface Item {
|
|
2802
|
+
rank?: number | undefined;
|
|
2803
|
+
adp?: string | undefined;
|
|
2804
|
+
position_rank?: number | undefined;
|
|
2805
|
+
tier?: number | undefined;
|
|
2806
|
+
id?: string | undefined;
|
|
2807
|
+
full_name?: string | undefined;
|
|
2808
|
+
position?: string | undefined;
|
|
2809
|
+
team?: string | undefined;
|
|
2810
|
+
status?: string | undefined;
|
|
2811
|
+
adp_source?: Item.AdpSource | undefined;
|
|
2812
|
+
confidence_score?: (number | null) | undefined;
|
|
2813
|
+
confidence_tier?: (string | null) | undefined;
|
|
2814
|
+
}
|
|
2815
|
+
namespace Item {
|
|
2816
|
+
const AdpSource: {
|
|
2817
|
+
readonly Consensus: "consensus";
|
|
2818
|
+
readonly Sleeper: "sleeper";
|
|
2819
|
+
readonly Fantasycalc: "fantasycalc";
|
|
2820
|
+
};
|
|
2821
|
+
type AdpSource = (typeof AdpSource)[keyof typeof AdpSource];
|
|
2822
|
+
}
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2825
|
+
|
|
1798
2826
|
declare const GetNflStandingsRequestConference: {
|
|
1799
2827
|
readonly Afc: "AFC";
|
|
1800
2828
|
readonly Nfc: "NFC";
|
|
@@ -1973,60 +3001,392 @@ declare namespace ListNflTeamsResponse {
|
|
|
1973
3001
|
}
|
|
1974
3002
|
}
|
|
1975
3003
|
|
|
1976
|
-
type index$
|
|
1977
|
-
declare const index$
|
|
1978
|
-
type index$
|
|
1979
|
-
declare const index$
|
|
1980
|
-
type index$
|
|
1981
|
-
type index$
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
type index$
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
type index$
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
type index$
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
type index$
|
|
1994
|
-
|
|
1995
|
-
declare
|
|
1996
|
-
|
|
3004
|
+
type index$5_GetNflPlayerRequest = GetNflPlayerRequest;
|
|
3005
|
+
declare const index$5_GetNflPlayerResponse: typeof GetNflPlayerResponse;
|
|
3006
|
+
type index$5_GetNflPlayerStatsRequest = GetNflPlayerStatsRequest;
|
|
3007
|
+
declare const index$5_GetNflPlayerStatsResponse: typeof GetNflPlayerStatsResponse;
|
|
3008
|
+
type index$5_GetNflRankingsRequest = GetNflRankingsRequest;
|
|
3009
|
+
type index$5_GetNflRankingsRequestFormat = GetNflRankingsRequestFormat;
|
|
3010
|
+
type index$5_GetNflRankingsRequestPosition = GetNflRankingsRequestPosition;
|
|
3011
|
+
declare const index$5_GetNflRankingsResponse: typeof GetNflRankingsResponse;
|
|
3012
|
+
type index$5_GetNflStandingsRequest = GetNflStandingsRequest;
|
|
3013
|
+
type index$5_GetNflStandingsRequestConference = GetNflStandingsRequestConference;
|
|
3014
|
+
declare const index$5_GetNflStandingsResponse: typeof GetNflStandingsResponse;
|
|
3015
|
+
type index$5_GetNflTeamRosterRequest = GetNflTeamRosterRequest;
|
|
3016
|
+
type index$5_GetNflTeamRosterRequestPosition = GetNflTeamRosterRequestPosition;
|
|
3017
|
+
declare const index$5_GetNflTeamRosterResponse: typeof GetNflTeamRosterResponse;
|
|
3018
|
+
type index$5_ListNflGamesRequest = ListNflGamesRequest;
|
|
3019
|
+
type index$5_ListNflGamesRequestStatus = ListNflGamesRequestStatus;
|
|
3020
|
+
declare const index$5_ListNflGamesResponse: typeof ListNflGamesResponse;
|
|
3021
|
+
type index$5_ListNflPlayersRequest = ListNflPlayersRequest;
|
|
3022
|
+
type index$5_ListNflPlayersRequestPosition = ListNflPlayersRequestPosition;
|
|
3023
|
+
declare const index$5_ListNflPlayersResponse: typeof ListNflPlayersResponse;
|
|
3024
|
+
type index$5_ListNflTeamsRequest = ListNflTeamsRequest;
|
|
3025
|
+
type index$5_ListNflTeamsRequestConference = ListNflTeamsRequestConference;
|
|
3026
|
+
declare const index$5_ListNflTeamsResponse: typeof ListNflTeamsResponse;
|
|
3027
|
+
declare namespace index$5 {
|
|
3028
|
+
export { type index$5_GetNflPlayerRequest as GetNflPlayerRequest, index$5_GetNflPlayerResponse as GetNflPlayerResponse, type index$5_GetNflPlayerStatsRequest as GetNflPlayerStatsRequest, index$5_GetNflPlayerStatsResponse as GetNflPlayerStatsResponse, type index$5_GetNflRankingsRequest as GetNflRankingsRequest, type index$5_GetNflRankingsRequestFormat as GetNflRankingsRequestFormat, type index$5_GetNflRankingsRequestPosition as GetNflRankingsRequestPosition, index$5_GetNflRankingsResponse as GetNflRankingsResponse, type index$5_GetNflStandingsRequest as GetNflStandingsRequest, type index$5_GetNflStandingsRequestConference as GetNflStandingsRequestConference, index$5_GetNflStandingsResponse as GetNflStandingsResponse, type index$5_GetNflTeamRosterRequest as GetNflTeamRosterRequest, type index$5_GetNflTeamRosterRequestPosition as GetNflTeamRosterRequestPosition, index$5_GetNflTeamRosterResponse as GetNflTeamRosterResponse, type index$5_ListNflGamesRequest as ListNflGamesRequest, type index$5_ListNflGamesRequestStatus as ListNflGamesRequestStatus, index$5_ListNflGamesResponse as ListNflGamesResponse, type index$5_ListNflPlayersRequest as ListNflPlayersRequest, type index$5_ListNflPlayersRequestPosition as ListNflPlayersRequestPosition, index$5_ListNflPlayersResponse as ListNflPlayersResponse, type index$5_ListNflTeamsRequest as ListNflTeamsRequest, type index$5_ListNflTeamsRequestConference as ListNflTeamsRequestConference, index$5_ListNflTeamsResponse as ListNflTeamsResponse };
|
|
1997
3029
|
}
|
|
1998
3030
|
|
|
1999
3031
|
/**
|
|
2000
3032
|
* @example
|
|
2001
|
-
* {
|
|
3033
|
+
* {
|
|
3034
|
+
* date: "today"
|
|
3035
|
+
* }
|
|
2002
3036
|
*/
|
|
2003
|
-
interface
|
|
2004
|
-
/**
|
|
2005
|
-
|
|
2006
|
-
/**
|
|
3037
|
+
interface GetNhlGamesRequest {
|
|
3038
|
+
/** Game date (YYYY-MM-DD or 'today') */
|
|
3039
|
+
date?: string;
|
|
3040
|
+
/** Filter by game state (in_progress, final, scheduled) */
|
|
3041
|
+
state?: string;
|
|
3042
|
+
/** Max results (default 50, max 200) */
|
|
3043
|
+
limit?: number;
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
/**
|
|
3047
|
+
* @example
|
|
3048
|
+
* {
|
|
3049
|
+
* id: "pc_nhl_3024910"
|
|
3050
|
+
* }
|
|
3051
|
+
*/
|
|
3052
|
+
interface GetNhlPlayerByIdRequest {
|
|
3053
|
+
/** PlayCaller player ID */
|
|
3054
|
+
id: string;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
/**
|
|
3058
|
+
* @example
|
|
3059
|
+
* {
|
|
3060
|
+
* id: "pc_nhl_3024910"
|
|
3061
|
+
* }
|
|
3062
|
+
*/
|
|
3063
|
+
interface GetNhlPlayerStatsRequest {
|
|
3064
|
+
/** PlayCaller player ID (pc_nhl_XXXXXXX) */
|
|
3065
|
+
id: string;
|
|
3066
|
+
/** Season year (e.g. 2025) */
|
|
2007
3067
|
season?: number;
|
|
3068
|
+
/** Max games (default 30, max 200) */
|
|
3069
|
+
limit?: number;
|
|
2008
3070
|
}
|
|
2009
3071
|
|
|
2010
3072
|
/**
|
|
2011
3073
|
* @example
|
|
2012
3074
|
* {
|
|
2013
|
-
*
|
|
3075
|
+
* search: "Ovechkin",
|
|
3076
|
+
* team: "WSH",
|
|
3077
|
+
* position: "C"
|
|
2014
3078
|
* }
|
|
2015
3079
|
*/
|
|
2016
|
-
interface
|
|
2017
|
-
/**
|
|
2018
|
-
|
|
2019
|
-
/**
|
|
2020
|
-
|
|
2021
|
-
/**
|
|
2022
|
-
|
|
2023
|
-
/**
|
|
3080
|
+
interface GetNhlPlayersRequest {
|
|
3081
|
+
/** Partial name search (case-insensitive) */
|
|
3082
|
+
search?: string;
|
|
3083
|
+
/** Team abbreviation filter */
|
|
3084
|
+
team?: string;
|
|
3085
|
+
/** Position filter (C, LW, RW, D, G) */
|
|
3086
|
+
position?: string;
|
|
3087
|
+
/** Results per page (default 50, max 200) */
|
|
2024
3088
|
limit?: number;
|
|
3089
|
+
/** Pagination offset */
|
|
3090
|
+
offset?: number;
|
|
3091
|
+
}
|
|
3092
|
+
|
|
3093
|
+
/**
|
|
3094
|
+
* @example
|
|
3095
|
+
* {
|
|
3096
|
+
* division: "Atlantic"
|
|
3097
|
+
* }
|
|
3098
|
+
*/
|
|
3099
|
+
interface GetNhlStandingsRequest {
|
|
3100
|
+
/** Season year (defaults to current) */
|
|
3101
|
+
season?: number;
|
|
3102
|
+
/** Filter by division name (partial match) */
|
|
3103
|
+
division?: string;
|
|
3104
|
+
}
|
|
3105
|
+
|
|
3106
|
+
/**
|
|
3107
|
+
* @example
|
|
3108
|
+
* {
|
|
3109
|
+
* team: "BOS",
|
|
3110
|
+
* position: "C"
|
|
3111
|
+
* }
|
|
3112
|
+
*/
|
|
3113
|
+
interface GetNhlTeamRosterRequest {
|
|
3114
|
+
/** Team abbreviation (e.g. BOS) */
|
|
3115
|
+
team: string;
|
|
3116
|
+
/** Filter by position (C, LW, RW, D, G) */
|
|
3117
|
+
position?: string;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
/**
|
|
3121
|
+
* @example
|
|
3122
|
+
* {
|
|
3123
|
+
* conference: "Eastern",
|
|
3124
|
+
* division: "Atlantic"
|
|
3125
|
+
* }
|
|
3126
|
+
*/
|
|
3127
|
+
interface GetNhlTeamsRequest {
|
|
3128
|
+
/** Filter by conference (Eastern, Western) */
|
|
3129
|
+
conference?: string;
|
|
3130
|
+
/** Filter by division (Atlantic, Metropolitan, Central, Pacific) */
|
|
3131
|
+
division?: string;
|
|
3132
|
+
}
|
|
3133
|
+
|
|
3134
|
+
interface GetNhlGamesResponse {
|
|
3135
|
+
success?: boolean | undefined;
|
|
3136
|
+
endpoint?: string | undefined;
|
|
3137
|
+
count?: number | undefined;
|
|
3138
|
+
data?: EspnGame[] | undefined;
|
|
3139
|
+
meta?: ResponseMeta | undefined;
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3142
|
+
interface GetNhlPlayerByIdResponse {
|
|
3143
|
+
success?: boolean | undefined;
|
|
3144
|
+
data?: GetNhlPlayerByIdResponse.Data | undefined;
|
|
3145
|
+
meta?: ResponseMeta | undefined;
|
|
3146
|
+
}
|
|
3147
|
+
declare namespace GetNhlPlayerByIdResponse {
|
|
3148
|
+
interface Data {
|
|
3149
|
+
id?: string | undefined;
|
|
3150
|
+
full_name?: string | undefined;
|
|
3151
|
+
position?: string | undefined;
|
|
3152
|
+
team?: string | undefined;
|
|
3153
|
+
status?: string | undefined;
|
|
3154
|
+
slug?: string | undefined;
|
|
3155
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3156
|
+
last_updated?: string | undefined;
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
interface GetNhlPlayerStatsResponse {
|
|
3161
|
+
success?: boolean | undefined;
|
|
3162
|
+
player?: Record<string, unknown> | undefined;
|
|
3163
|
+
count?: number | undefined;
|
|
3164
|
+
data?: Record<string, unknown>[] | undefined;
|
|
3165
|
+
meta?: ResponseMeta | undefined;
|
|
3166
|
+
}
|
|
3167
|
+
|
|
3168
|
+
interface GetNhlPlayersResponse {
|
|
3169
|
+
success?: boolean | undefined;
|
|
3170
|
+
total?: number | undefined;
|
|
3171
|
+
count?: number | undefined;
|
|
3172
|
+
offset?: number | undefined;
|
|
3173
|
+
limit?: number | undefined;
|
|
3174
|
+
data?: GetNhlPlayersResponse.Data.Item[] | undefined;
|
|
3175
|
+
meta?: ResponseMeta | undefined;
|
|
3176
|
+
}
|
|
3177
|
+
declare namespace GetNhlPlayersResponse {
|
|
3178
|
+
type Data = Data.Item[];
|
|
3179
|
+
namespace Data {
|
|
3180
|
+
interface Item {
|
|
3181
|
+
id?: string | undefined;
|
|
3182
|
+
full_name?: string | undefined;
|
|
3183
|
+
position?: string | undefined;
|
|
3184
|
+
team?: string | undefined;
|
|
3185
|
+
status?: string | undefined;
|
|
3186
|
+
slug?: string | undefined;
|
|
3187
|
+
}
|
|
3188
|
+
}
|
|
3189
|
+
}
|
|
3190
|
+
|
|
3191
|
+
interface GetNhlStandingsResponse {
|
|
3192
|
+
success?: boolean | undefined;
|
|
3193
|
+
endpoint?: string | undefined;
|
|
3194
|
+
season?: number | undefined;
|
|
3195
|
+
count?: number | undefined;
|
|
3196
|
+
data?: EspnStanding[] | undefined;
|
|
3197
|
+
meta?: ResponseMeta | undefined;
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
interface GetNhlTeamRosterResponse {
|
|
3201
|
+
success?: boolean | undefined;
|
|
3202
|
+
team?: string | undefined;
|
|
3203
|
+
count?: number | undefined;
|
|
3204
|
+
data?: GetNhlTeamRosterResponse.Data.Item[] | undefined;
|
|
3205
|
+
meta?: ResponseMeta | undefined;
|
|
3206
|
+
}
|
|
3207
|
+
declare namespace GetNhlTeamRosterResponse {
|
|
3208
|
+
type Data = Data.Item[];
|
|
3209
|
+
namespace Data {
|
|
3210
|
+
interface Item {
|
|
3211
|
+
id?: string | undefined;
|
|
3212
|
+
full_name?: string | undefined;
|
|
3213
|
+
position?: string | undefined;
|
|
3214
|
+
jersey_number?: string | undefined;
|
|
3215
|
+
age?: number | undefined;
|
|
3216
|
+
}
|
|
3217
|
+
}
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
interface GetNhlTeamsResponse {
|
|
3221
|
+
success?: boolean | undefined;
|
|
3222
|
+
endpoint?: string | undefined;
|
|
3223
|
+
count?: number | undefined;
|
|
3224
|
+
data?: GetNhlTeamsResponse.Data.Item[] | undefined;
|
|
3225
|
+
meta?: ResponseMeta | undefined;
|
|
3226
|
+
}
|
|
3227
|
+
declare namespace GetNhlTeamsResponse {
|
|
3228
|
+
type Data = Data.Item[];
|
|
3229
|
+
namespace Data {
|
|
3230
|
+
interface Item {
|
|
3231
|
+
abbreviation?: string | undefined;
|
|
3232
|
+
full_name?: string | undefined;
|
|
3233
|
+
conference?: string | undefined;
|
|
3234
|
+
division?: string | undefined;
|
|
3235
|
+
player_count?: number | undefined;
|
|
3236
|
+
roster_url?: string | undefined;
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
|
|
3241
|
+
type index$4_GetNhlGamesRequest = GetNhlGamesRequest;
|
|
3242
|
+
type index$4_GetNhlGamesResponse = GetNhlGamesResponse;
|
|
3243
|
+
type index$4_GetNhlPlayerByIdRequest = GetNhlPlayerByIdRequest;
|
|
3244
|
+
declare const index$4_GetNhlPlayerByIdResponse: typeof GetNhlPlayerByIdResponse;
|
|
3245
|
+
type index$4_GetNhlPlayerStatsRequest = GetNhlPlayerStatsRequest;
|
|
3246
|
+
type index$4_GetNhlPlayerStatsResponse = GetNhlPlayerStatsResponse;
|
|
3247
|
+
type index$4_GetNhlPlayersRequest = GetNhlPlayersRequest;
|
|
3248
|
+
declare const index$4_GetNhlPlayersResponse: typeof GetNhlPlayersResponse;
|
|
3249
|
+
type index$4_GetNhlStandingsRequest = GetNhlStandingsRequest;
|
|
3250
|
+
type index$4_GetNhlStandingsResponse = GetNhlStandingsResponse;
|
|
3251
|
+
type index$4_GetNhlTeamRosterRequest = GetNhlTeamRosterRequest;
|
|
3252
|
+
declare const index$4_GetNhlTeamRosterResponse: typeof GetNhlTeamRosterResponse;
|
|
3253
|
+
type index$4_GetNhlTeamsRequest = GetNhlTeamsRequest;
|
|
3254
|
+
declare const index$4_GetNhlTeamsResponse: typeof GetNhlTeamsResponse;
|
|
3255
|
+
declare namespace index$4 {
|
|
3256
|
+
export { type index$4_GetNhlGamesRequest as GetNhlGamesRequest, type index$4_GetNhlGamesResponse as GetNhlGamesResponse, type index$4_GetNhlPlayerByIdRequest as GetNhlPlayerByIdRequest, index$4_GetNhlPlayerByIdResponse as GetNhlPlayerByIdResponse, type index$4_GetNhlPlayerStatsRequest as GetNhlPlayerStatsRequest, type index$4_GetNhlPlayerStatsResponse as GetNhlPlayerStatsResponse, type index$4_GetNhlPlayersRequest as GetNhlPlayersRequest, index$4_GetNhlPlayersResponse as GetNhlPlayersResponse, type index$4_GetNhlStandingsRequest as GetNhlStandingsRequest, type index$4_GetNhlStandingsResponse as GetNhlStandingsResponse, type index$4_GetNhlTeamRosterRequest as GetNhlTeamRosterRequest, index$4_GetNhlTeamRosterResponse as GetNhlTeamRosterResponse, type index$4_GetNhlTeamsRequest as GetNhlTeamsRequest, index$4_GetNhlTeamsResponse as GetNhlTeamsResponse };
|
|
3257
|
+
}
|
|
3258
|
+
|
|
3259
|
+
/**
|
|
3260
|
+
* @example
|
|
3261
|
+
* {
|
|
3262
|
+
* id: "pc_soccer_312182"
|
|
3263
|
+
* }
|
|
3264
|
+
*/
|
|
3265
|
+
interface GetSoccerPlayerByIdRequest {
|
|
3266
|
+
/** PlayCaller player ID (pc_soccer_XXXXXX) */
|
|
3267
|
+
id: string;
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
* @example
|
|
3272
|
+
* {
|
|
3273
|
+
* search: "Salah",
|
|
3274
|
+
* team: "ARS",
|
|
3275
|
+
* league: "eng.1",
|
|
3276
|
+
* position: "F"
|
|
3277
|
+
* }
|
|
3278
|
+
*/
|
|
3279
|
+
interface GetSoccerPlayersRequest {
|
|
3280
|
+
/** Partial name search */
|
|
3281
|
+
search?: string;
|
|
3282
|
+
/** Team abbreviation (e.g. ARS) */
|
|
3283
|
+
team?: string;
|
|
3284
|
+
/** League key filter: eng.1, usa.1, esp.1, ger.1, ita.1 */
|
|
3285
|
+
league?: string;
|
|
3286
|
+
/** Position filter: GK, D, M, F */
|
|
3287
|
+
position?: string;
|
|
3288
|
+
/** Results per page (default 50, max 200) */
|
|
3289
|
+
limit?: number;
|
|
3290
|
+
/** Pagination offset */
|
|
3291
|
+
offset?: number;
|
|
3292
|
+
}
|
|
3293
|
+
|
|
3294
|
+
/**
|
|
3295
|
+
* @example
|
|
3296
|
+
* {}
|
|
3297
|
+
*/
|
|
3298
|
+
interface GetSoccerStandingsRequest {
|
|
3299
|
+
/** League filter (epl, mls, la_liga, bundesliga, serie_a, champions_league; omit for all) */
|
|
3300
|
+
league?: GetSoccerStandingsRequestLeague;
|
|
3301
|
+
/** Season year (defaults to current) */
|
|
3302
|
+
season?: number;
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
/**
|
|
3306
|
+
* @example
|
|
3307
|
+
* {
|
|
3308
|
+
* team: "ARS",
|
|
3309
|
+
* position: "GK"
|
|
3310
|
+
* }
|
|
3311
|
+
*/
|
|
3312
|
+
interface GetSoccerTeamRosterRequest {
|
|
3313
|
+
/** Team abbreviation (e.g. ARS) */
|
|
3314
|
+
team: string;
|
|
3315
|
+
/** Filter by position: GK, D, M, F */
|
|
3316
|
+
position?: string;
|
|
3317
|
+
}
|
|
3318
|
+
|
|
3319
|
+
/**
|
|
3320
|
+
* @example
|
|
3321
|
+
* {
|
|
3322
|
+
* league: "eng.1"
|
|
3323
|
+
* }
|
|
3324
|
+
*/
|
|
3325
|
+
interface GetSoccerTeamsRequest {
|
|
3326
|
+
/** Filter by league key (eng.1, usa.1, esp.1, ger.1, ita.1) */
|
|
3327
|
+
league?: string;
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
/**
|
|
3331
|
+
* @example
|
|
3332
|
+
* {
|
|
3333
|
+
* date: "2026-05-01"
|
|
3334
|
+
* }
|
|
3335
|
+
*/
|
|
3336
|
+
interface ListSoccerGamesRequest {
|
|
3337
|
+
/** League filter (omit for both leagues) */
|
|
3338
|
+
league?: ListSoccerGamesRequestLeague;
|
|
3339
|
+
/** Match date (YYYY-MM-DD, defaults to today) */
|
|
3340
|
+
date?: string;
|
|
3341
|
+
/** Game state filter (matches the live state column exactly) */
|
|
3342
|
+
state?: ListSoccerGamesRequestState;
|
|
3343
|
+
/** Max matches (default 30, max 100) */
|
|
3344
|
+
limit?: number;
|
|
3345
|
+
}
|
|
3346
|
+
|
|
3347
|
+
interface GetSoccerPlayerByIdResponse {
|
|
3348
|
+
success?: boolean | undefined;
|
|
3349
|
+
data?: GetSoccerPlayerByIdResponse.Data | undefined;
|
|
3350
|
+
meta?: ResponseMeta | undefined;
|
|
3351
|
+
}
|
|
3352
|
+
declare namespace GetSoccerPlayerByIdResponse {
|
|
3353
|
+
interface Data {
|
|
3354
|
+
id?: string | undefined;
|
|
3355
|
+
full_name?: string | undefined;
|
|
3356
|
+
position?: string | undefined;
|
|
3357
|
+
team?: string | undefined;
|
|
3358
|
+
league?: string | undefined;
|
|
3359
|
+
status?: string | undefined;
|
|
3360
|
+
}
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
interface GetSoccerPlayersResponse {
|
|
3364
|
+
success?: boolean | undefined;
|
|
3365
|
+
total?: number | undefined;
|
|
3366
|
+
count?: number | undefined;
|
|
3367
|
+
data?: GetSoccerPlayersResponse.Data.Item[] | undefined;
|
|
3368
|
+
meta?: ResponseMeta | undefined;
|
|
3369
|
+
}
|
|
3370
|
+
declare namespace GetSoccerPlayersResponse {
|
|
3371
|
+
type Data = Data.Item[];
|
|
3372
|
+
namespace Data {
|
|
3373
|
+
interface Item {
|
|
3374
|
+
id?: string | undefined;
|
|
3375
|
+
full_name?: string | undefined;
|
|
3376
|
+
position?: string | undefined;
|
|
3377
|
+
team?: string | undefined;
|
|
3378
|
+
league?: string | undefined;
|
|
3379
|
+
}
|
|
3380
|
+
}
|
|
2025
3381
|
}
|
|
2026
3382
|
|
|
2027
3383
|
declare const GetSoccerStandingsRequestLeague: {
|
|
2028
3384
|
readonly Epl: "epl";
|
|
2029
3385
|
readonly Mls: "mls";
|
|
3386
|
+
readonly LaLiga: "la_liga";
|
|
3387
|
+
readonly Bundesliga: "bundesliga";
|
|
3388
|
+
readonly SerieA: "serie_a";
|
|
3389
|
+
readonly ChampionsLeague: "champions_league";
|
|
2030
3390
|
};
|
|
2031
3391
|
type GetSoccerStandingsRequestLeague = (typeof GetSoccerStandingsRequestLeague)[keyof typeof GetSoccerStandingsRequestLeague];
|
|
2032
3392
|
|
|
@@ -2040,6 +3400,44 @@ interface GetSoccerStandingsResponse {
|
|
|
2040
3400
|
meta?: ResponseMeta | undefined;
|
|
2041
3401
|
}
|
|
2042
3402
|
|
|
3403
|
+
interface GetSoccerTeamRosterResponse {
|
|
3404
|
+
success?: boolean | undefined;
|
|
3405
|
+
team?: string | undefined;
|
|
3406
|
+
league?: string | undefined;
|
|
3407
|
+
count?: number | undefined;
|
|
3408
|
+
data?: GetSoccerTeamRosterResponse.Data.Item[] | undefined;
|
|
3409
|
+
meta?: ResponseMeta | undefined;
|
|
3410
|
+
}
|
|
3411
|
+
declare namespace GetSoccerTeamRosterResponse {
|
|
3412
|
+
type Data = Data.Item[];
|
|
3413
|
+
namespace Data {
|
|
3414
|
+
interface Item {
|
|
3415
|
+
id?: string | undefined;
|
|
3416
|
+
full_name?: string | undefined;
|
|
3417
|
+
position?: string | undefined;
|
|
3418
|
+
nationality?: string | undefined;
|
|
3419
|
+
}
|
|
3420
|
+
}
|
|
3421
|
+
}
|
|
3422
|
+
|
|
3423
|
+
interface GetSoccerTeamsResponse {
|
|
3424
|
+
success?: boolean | undefined;
|
|
3425
|
+
count?: number | undefined;
|
|
3426
|
+
data?: GetSoccerTeamsResponse.Data.Item[] | undefined;
|
|
3427
|
+
meta?: ResponseMeta | undefined;
|
|
3428
|
+
}
|
|
3429
|
+
declare namespace GetSoccerTeamsResponse {
|
|
3430
|
+
type Data = Data.Item[];
|
|
3431
|
+
namespace Data {
|
|
3432
|
+
interface Item {
|
|
3433
|
+
abbreviation?: string | undefined;
|
|
3434
|
+
league?: string | undefined;
|
|
3435
|
+
league_name?: string | undefined;
|
|
3436
|
+
player_count?: number | undefined;
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
}
|
|
3440
|
+
|
|
2043
3441
|
declare const ListSoccerGamesRequestLeague: {
|
|
2044
3442
|
readonly Epl: "epl";
|
|
2045
3443
|
readonly Mls: "mls";
|
|
@@ -2061,15 +3459,163 @@ interface ListSoccerGamesResponse {
|
|
|
2061
3459
|
meta?: ResponseMeta | undefined;
|
|
2062
3460
|
}
|
|
2063
3461
|
|
|
2064
|
-
type index$
|
|
2065
|
-
|
|
2066
|
-
type index$
|
|
2067
|
-
|
|
2068
|
-
type index$
|
|
2069
|
-
type index$
|
|
2070
|
-
type index$
|
|
3462
|
+
type index$3_GetSoccerPlayerByIdRequest = GetSoccerPlayerByIdRequest;
|
|
3463
|
+
declare const index$3_GetSoccerPlayerByIdResponse: typeof GetSoccerPlayerByIdResponse;
|
|
3464
|
+
type index$3_GetSoccerPlayersRequest = GetSoccerPlayersRequest;
|
|
3465
|
+
declare const index$3_GetSoccerPlayersResponse: typeof GetSoccerPlayersResponse;
|
|
3466
|
+
type index$3_GetSoccerStandingsRequest = GetSoccerStandingsRequest;
|
|
3467
|
+
type index$3_GetSoccerStandingsRequestLeague = GetSoccerStandingsRequestLeague;
|
|
3468
|
+
type index$3_GetSoccerStandingsResponse = GetSoccerStandingsResponse;
|
|
3469
|
+
type index$3_GetSoccerTeamRosterRequest = GetSoccerTeamRosterRequest;
|
|
3470
|
+
declare const index$3_GetSoccerTeamRosterResponse: typeof GetSoccerTeamRosterResponse;
|
|
3471
|
+
type index$3_GetSoccerTeamsRequest = GetSoccerTeamsRequest;
|
|
3472
|
+
declare const index$3_GetSoccerTeamsResponse: typeof GetSoccerTeamsResponse;
|
|
3473
|
+
type index$3_ListSoccerGamesRequest = ListSoccerGamesRequest;
|
|
3474
|
+
type index$3_ListSoccerGamesRequestLeague = ListSoccerGamesRequestLeague;
|
|
3475
|
+
type index$3_ListSoccerGamesRequestState = ListSoccerGamesRequestState;
|
|
3476
|
+
type index$3_ListSoccerGamesResponse = ListSoccerGamesResponse;
|
|
3477
|
+
declare namespace index$3 {
|
|
3478
|
+
export { type index$3_GetSoccerPlayerByIdRequest as GetSoccerPlayerByIdRequest, index$3_GetSoccerPlayerByIdResponse as GetSoccerPlayerByIdResponse, type index$3_GetSoccerPlayersRequest as GetSoccerPlayersRequest, index$3_GetSoccerPlayersResponse as GetSoccerPlayersResponse, type index$3_GetSoccerStandingsRequest as GetSoccerStandingsRequest, type index$3_GetSoccerStandingsRequestLeague as GetSoccerStandingsRequestLeague, type index$3_GetSoccerStandingsResponse as GetSoccerStandingsResponse, type index$3_GetSoccerTeamRosterRequest as GetSoccerTeamRosterRequest, index$3_GetSoccerTeamRosterResponse as GetSoccerTeamRosterResponse, type index$3_GetSoccerTeamsRequest as GetSoccerTeamsRequest, index$3_GetSoccerTeamsResponse as GetSoccerTeamsResponse, type index$3_ListSoccerGamesRequest as ListSoccerGamesRequest, type index$3_ListSoccerGamesRequestLeague as ListSoccerGamesRequestLeague, type index$3_ListSoccerGamesRequestState as ListSoccerGamesRequestState, type index$3_ListSoccerGamesResponse as ListSoccerGamesResponse };
|
|
3479
|
+
}
|
|
3480
|
+
|
|
3481
|
+
/**
|
|
3482
|
+
* @example
|
|
3483
|
+
* {
|
|
3484
|
+
* date: "today"
|
|
3485
|
+
* }
|
|
3486
|
+
*/
|
|
3487
|
+
interface GetTennisMatchesRequest {
|
|
3488
|
+
/** Tour filter (atp or wta) */
|
|
3489
|
+
tour?: GetTennisMatchesRequestTour;
|
|
3490
|
+
/** Match date (YYYY-MM-DD or 'today') */
|
|
3491
|
+
date?: string;
|
|
3492
|
+
/** Match state (in_progress, final, scheduled) */
|
|
3493
|
+
state?: string;
|
|
3494
|
+
/** Max results (default 50, max 200) */
|
|
3495
|
+
limit?: number;
|
|
3496
|
+
}
|
|
3497
|
+
|
|
3498
|
+
declare const GetTennisMatchesRequestTour: {
|
|
3499
|
+
readonly Atp: "atp";
|
|
3500
|
+
readonly Wta: "wta";
|
|
3501
|
+
};
|
|
3502
|
+
type GetTennisMatchesRequestTour = (typeof GetTennisMatchesRequestTour)[keyof typeof GetTennisMatchesRequestTour];
|
|
3503
|
+
|
|
3504
|
+
interface GetTennisMatchesResponse {
|
|
3505
|
+
success?: boolean | undefined;
|
|
3506
|
+
endpoint?: string | undefined;
|
|
3507
|
+
count?: number | undefined;
|
|
3508
|
+
data?: GetTennisMatchesResponse.Data.Item[] | undefined;
|
|
3509
|
+
meta?: ResponseMeta | undefined;
|
|
3510
|
+
}
|
|
3511
|
+
declare namespace GetTennisMatchesResponse {
|
|
3512
|
+
type Data = Data.Item[];
|
|
3513
|
+
namespace Data {
|
|
3514
|
+
interface Item {
|
|
3515
|
+
match_id?: string | undefined;
|
|
3516
|
+
date?: string | undefined;
|
|
3517
|
+
tour?: string | undefined;
|
|
3518
|
+
state?: string | undefined;
|
|
3519
|
+
player_1?: string | undefined;
|
|
3520
|
+
player_2?: string | undefined;
|
|
3521
|
+
score_p1?: number | undefined;
|
|
3522
|
+
score_p2?: number | undefined;
|
|
3523
|
+
set?: number | undefined;
|
|
3524
|
+
is_final?: boolean | undefined;
|
|
3525
|
+
}
|
|
3526
|
+
}
|
|
3527
|
+
}
|
|
3528
|
+
|
|
3529
|
+
type index$2_GetTennisMatchesRequest = GetTennisMatchesRequest;
|
|
3530
|
+
type index$2_GetTennisMatchesRequestTour = GetTennisMatchesRequestTour;
|
|
3531
|
+
declare const index$2_GetTennisMatchesResponse: typeof GetTennisMatchesResponse;
|
|
3532
|
+
declare namespace index$2 {
|
|
3533
|
+
export { type index$2_GetTennisMatchesRequest as GetTennisMatchesRequest, type index$2_GetTennisMatchesRequestTour as GetTennisMatchesRequestTour, index$2_GetTennisMatchesResponse as GetTennisMatchesResponse };
|
|
3534
|
+
}
|
|
3535
|
+
|
|
3536
|
+
/**
|
|
3537
|
+
* @example
|
|
3538
|
+
* {}
|
|
3539
|
+
*/
|
|
3540
|
+
interface GetUfcEventsRequest {
|
|
3541
|
+
/** Filter by bout state (scheduled, in_progress, final) */
|
|
3542
|
+
state?: GetUfcEventsRequestState;
|
|
3543
|
+
/** Max bouts (default 100, max 200) */
|
|
3544
|
+
limit?: number;
|
|
3545
|
+
}
|
|
3546
|
+
|
|
3547
|
+
/**
|
|
3548
|
+
* @example
|
|
3549
|
+
* {}
|
|
3550
|
+
*/
|
|
3551
|
+
interface GetUfcFightersRequest {
|
|
3552
|
+
/** Max fighters (default 50, max 200) */
|
|
3553
|
+
limit?: number;
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
declare const GetUfcEventsRequestState: {
|
|
3557
|
+
readonly Scheduled: "scheduled";
|
|
3558
|
+
readonly InProgress: "in_progress";
|
|
3559
|
+
readonly Final: "final";
|
|
3560
|
+
};
|
|
3561
|
+
type GetUfcEventsRequestState = (typeof GetUfcEventsRequestState)[keyof typeof GetUfcEventsRequestState];
|
|
3562
|
+
|
|
3563
|
+
interface GetUfcEventsResponse {
|
|
3564
|
+
success?: boolean | undefined;
|
|
3565
|
+
count?: number | undefined;
|
|
3566
|
+
data?: GetUfcEventsResponse.Data.Item[] | undefined;
|
|
3567
|
+
meta?: ResponseMeta | undefined;
|
|
3568
|
+
}
|
|
3569
|
+
declare namespace GetUfcEventsResponse {
|
|
3570
|
+
type Data = Data.Item[];
|
|
3571
|
+
namespace Data {
|
|
3572
|
+
interface Item {
|
|
3573
|
+
bout_id?: string | undefined;
|
|
3574
|
+
card_name?: string | undefined;
|
|
3575
|
+
card_date?: string | undefined;
|
|
3576
|
+
card_time?: string | undefined;
|
|
3577
|
+
bout_order?: number | undefined;
|
|
3578
|
+
is_main_event?: boolean | undefined;
|
|
3579
|
+
state?: string | undefined;
|
|
3580
|
+
fighter_1?: string | undefined;
|
|
3581
|
+
fighter_1_record?: string | undefined;
|
|
3582
|
+
fighter_2?: string | undefined;
|
|
3583
|
+
fighter_2_record?: string | undefined;
|
|
3584
|
+
round?: number | undefined;
|
|
3585
|
+
clock?: string | undefined;
|
|
3586
|
+
status_detail?: string | undefined;
|
|
3587
|
+
winner?: (string | null) | undefined;
|
|
3588
|
+
is_final?: boolean | undefined;
|
|
3589
|
+
venue?: (string | null) | undefined;
|
|
3590
|
+
broadcast?: (string | null) | undefined;
|
|
3591
|
+
}
|
|
3592
|
+
}
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3595
|
+
interface GetUfcFightersResponse {
|
|
3596
|
+
success?: boolean | undefined;
|
|
3597
|
+
count?: number | undefined;
|
|
3598
|
+
data?: GetUfcFightersResponse.Data.Item[] | undefined;
|
|
3599
|
+
meta?: ResponseMeta | undefined;
|
|
3600
|
+
}
|
|
3601
|
+
declare namespace GetUfcFightersResponse {
|
|
3602
|
+
type Data = Data.Item[];
|
|
3603
|
+
namespace Data {
|
|
3604
|
+
interface Item {
|
|
3605
|
+
name?: string | undefined;
|
|
3606
|
+
next_fight_date?: string | undefined;
|
|
3607
|
+
next_card?: string | undefined;
|
|
3608
|
+
}
|
|
3609
|
+
}
|
|
3610
|
+
}
|
|
3611
|
+
|
|
3612
|
+
type index$1_GetUfcEventsRequest = GetUfcEventsRequest;
|
|
3613
|
+
type index$1_GetUfcEventsRequestState = GetUfcEventsRequestState;
|
|
3614
|
+
declare const index$1_GetUfcEventsResponse: typeof GetUfcEventsResponse;
|
|
3615
|
+
type index$1_GetUfcFightersRequest = GetUfcFightersRequest;
|
|
3616
|
+
declare const index$1_GetUfcFightersResponse: typeof GetUfcFightersResponse;
|
|
2071
3617
|
declare namespace index$1 {
|
|
2072
|
-
export type
|
|
3618
|
+
export { type index$1_GetUfcEventsRequest as GetUfcEventsRequest, type index$1_GetUfcEventsRequestState as GetUfcEventsRequestState, index$1_GetUfcEventsResponse as GetUfcEventsResponse, type index$1_GetUfcFightersRequest as GetUfcFightersRequest, index$1_GetUfcFightersResponse as GetUfcFightersResponse };
|
|
2073
3619
|
}
|
|
2074
3620
|
|
|
2075
3621
|
interface BeatReporterSignal {
|
|
@@ -2469,6 +4015,7 @@ declare namespace UsageStats {
|
|
|
2469
4015
|
readonly Sandbox: "sandbox";
|
|
2470
4016
|
readonly Hobbyist: "hobbyist";
|
|
2471
4017
|
readonly Build: "build";
|
|
4018
|
+
readonly Growth: "growth";
|
|
2472
4019
|
readonly Pro: "pro";
|
|
2473
4020
|
readonly ProInsights: "pro_insights";
|
|
2474
4021
|
readonly Enterprise: "enterprise";
|
|
@@ -2497,25 +4044,48 @@ type index_BadRequestError = BadRequestError;
|
|
|
2497
4044
|
declare const index_BadRequestError: typeof BadRequestError;
|
|
2498
4045
|
declare const index_BeatReporterSignal: typeof BeatReporterSignal;
|
|
2499
4046
|
type index_CfbRanking = CfbRanking;
|
|
4047
|
+
type index_ComparePlayersRequest = ComparePlayersRequest;
|
|
4048
|
+
type index_ComparePlayersRequestSport = ComparePlayersRequestSport;
|
|
4049
|
+
type index_ComparePlayersResponse = ComparePlayersResponse;
|
|
2500
4050
|
type index_ConflictError = ConflictError;
|
|
2501
4051
|
declare const index_ConflictError: typeof ConflictError;
|
|
4052
|
+
declare const index_CreateWebhookRequest: typeof CreateWebhookRequest;
|
|
4053
|
+
declare const index_CreateWebhookResponse: typeof CreateWebhookResponse;
|
|
4054
|
+
type index_DeleteWebhookRequest = DeleteWebhookRequest;
|
|
4055
|
+
type index_DeleteWebhookResponse = DeleteWebhookResponse;
|
|
2502
4056
|
type index_ErrorResponse = ErrorResponse;
|
|
2503
4057
|
declare const index_EspnGame: typeof EspnGame;
|
|
2504
4058
|
type index_EspnStanding = EspnStanding;
|
|
4059
|
+
type index_EvaluateTradeRequest = EvaluateTradeRequest;
|
|
4060
|
+
declare const index_EvaluateTradeResponse: typeof EvaluateTradeResponse;
|
|
2505
4061
|
type index_ForbiddenError = ForbiddenError;
|
|
2506
4062
|
declare const index_ForbiddenError: typeof ForbiddenError;
|
|
2507
4063
|
type index_GetAnalyticsTrendsRequest = GetAnalyticsTrendsRequest;
|
|
2508
4064
|
type index_GetAnalyticsTrendsRequestSport = GetAnalyticsTrendsRequestSport;
|
|
2509
4065
|
type index_GetAnalyticsTrendsResponse = GetAnalyticsTrendsResponse;
|
|
4066
|
+
type index_GetCfbPlayerByIdRequest = GetCfbPlayerByIdRequest;
|
|
4067
|
+
declare const index_GetCfbPlayerByIdResponse: typeof GetCfbPlayerByIdResponse;
|
|
4068
|
+
type index_GetCfbPlayersRequest = GetCfbPlayersRequest;
|
|
4069
|
+
declare const index_GetCfbPlayersResponse: typeof GetCfbPlayersResponse;
|
|
2510
4070
|
type index_GetCfbRankingsRequest = GetCfbRankingsRequest;
|
|
2511
4071
|
type index_GetCfbRankingsResponse = GetCfbRankingsResponse;
|
|
2512
4072
|
type index_GetCfbStandingsRequest = GetCfbStandingsRequest;
|
|
2513
4073
|
type index_GetCfbStandingsResponse = GetCfbStandingsResponse;
|
|
4074
|
+
type index_GetCfbTeamRosterRequest = GetCfbTeamRosterRequest;
|
|
4075
|
+
declare const index_GetCfbTeamRosterResponse: typeof GetCfbTeamRosterResponse;
|
|
4076
|
+
declare const index_GetCfbTeamsResponse: typeof GetCfbTeamsResponse;
|
|
2514
4077
|
type index_GetDaaSKeyInfoRequest = GetDaaSKeyInfoRequest;
|
|
2515
4078
|
declare const index_GetDaaSKeyInfoResponse: typeof GetDaaSKeyInfoResponse;
|
|
4079
|
+
declare const index_GetDataStatusResponse: typeof GetDataStatusResponse;
|
|
2516
4080
|
type index_GetGamesHistoryRequest = GetGamesHistoryRequest;
|
|
2517
4081
|
type index_GetGamesHistoryRequestSport = GetGamesHistoryRequestSport;
|
|
2518
4082
|
type index_GetGamesHistoryResponse = GetGamesHistoryResponse;
|
|
4083
|
+
type index_GetGolfLeaderboardRequest = GetGolfLeaderboardRequest;
|
|
4084
|
+
type index_GetGolfLeaderboardRequestTour = GetGolfLeaderboardRequestTour;
|
|
4085
|
+
declare const index_GetGolfLeaderboardResponse: typeof GetGolfLeaderboardResponse;
|
|
4086
|
+
type index_GetGolfTournamentsRequest = GetGolfTournamentsRequest;
|
|
4087
|
+
type index_GetGolfTournamentsRequestTour = GetGolfTournamentsRequestTour;
|
|
4088
|
+
declare const index_GetGolfTournamentsResponse: typeof GetGolfTournamentsResponse;
|
|
2519
4089
|
type index_GetIntelligenceInjuriesRequest = GetIntelligenceInjuriesRequest;
|
|
2520
4090
|
type index_GetIntelligenceInjuriesRequestSeverity = GetIntelligenceInjuriesRequestSeverity;
|
|
2521
4091
|
type index_GetIntelligenceInjuriesRequestSport = GetIntelligenceInjuriesRequestSport;
|
|
@@ -2525,6 +4095,10 @@ type index_GetIntelligenceNewsRequestSeverity = GetIntelligenceNewsRequestSeveri
|
|
|
2525
4095
|
type index_GetIntelligenceNewsRequestSignalType = GetIntelligenceNewsRequestSignalType;
|
|
2526
4096
|
type index_GetIntelligenceNewsRequestSport = GetIntelligenceNewsRequestSport;
|
|
2527
4097
|
type index_GetIntelligenceNewsResponse = GetIntelligenceNewsResponse;
|
|
4098
|
+
type index_GetLeagueHealthRequest = GetLeagueHealthRequest;
|
|
4099
|
+
declare const index_GetLeagueHealthResponse: typeof GetLeagueHealthResponse;
|
|
4100
|
+
type index_GetLeagueStartSitRequest = GetLeagueStartSitRequest;
|
|
4101
|
+
declare const index_GetLeagueStartSitResponse: typeof GetLeagueStartSitResponse;
|
|
2528
4102
|
type index_GetMcpInfoResponse = GetMcpInfoResponse;
|
|
2529
4103
|
type index_GetMlbPlayerRequest = GetMlbPlayerRequest;
|
|
2530
4104
|
type index_GetMlbPlayerResponse = GetMlbPlayerResponse;
|
|
@@ -2556,21 +4130,73 @@ type index_GetNflPlayerRequest = GetNflPlayerRequest;
|
|
|
2556
4130
|
declare const index_GetNflPlayerResponse: typeof GetNflPlayerResponse;
|
|
2557
4131
|
type index_GetNflPlayerStatsRequest = GetNflPlayerStatsRequest;
|
|
2558
4132
|
declare const index_GetNflPlayerStatsResponse: typeof GetNflPlayerStatsResponse;
|
|
4133
|
+
type index_GetNflRankingsRequest = GetNflRankingsRequest;
|
|
4134
|
+
type index_GetNflRankingsRequestFormat = GetNflRankingsRequestFormat;
|
|
4135
|
+
type index_GetNflRankingsRequestPosition = GetNflRankingsRequestPosition;
|
|
4136
|
+
declare const index_GetNflRankingsResponse: typeof GetNflRankingsResponse;
|
|
2559
4137
|
type index_GetNflStandingsRequest = GetNflStandingsRequest;
|
|
2560
4138
|
type index_GetNflStandingsRequestConference = GetNflStandingsRequestConference;
|
|
2561
4139
|
declare const index_GetNflStandingsResponse: typeof GetNflStandingsResponse;
|
|
2562
4140
|
type index_GetNflTeamRosterRequest = GetNflTeamRosterRequest;
|
|
2563
4141
|
type index_GetNflTeamRosterRequestPosition = GetNflTeamRosterRequestPosition;
|
|
2564
4142
|
declare const index_GetNflTeamRosterResponse: typeof GetNflTeamRosterResponse;
|
|
4143
|
+
type index_GetNhlGamesRequest = GetNhlGamesRequest;
|
|
4144
|
+
type index_GetNhlGamesResponse = GetNhlGamesResponse;
|
|
4145
|
+
type index_GetNhlPlayerByIdRequest = GetNhlPlayerByIdRequest;
|
|
4146
|
+
declare const index_GetNhlPlayerByIdResponse: typeof GetNhlPlayerByIdResponse;
|
|
4147
|
+
type index_GetNhlPlayerStatsRequest = GetNhlPlayerStatsRequest;
|
|
4148
|
+
type index_GetNhlPlayerStatsResponse = GetNhlPlayerStatsResponse;
|
|
4149
|
+
type index_GetNhlPlayersRequest = GetNhlPlayersRequest;
|
|
4150
|
+
declare const index_GetNhlPlayersResponse: typeof GetNhlPlayersResponse;
|
|
4151
|
+
type index_GetNhlStandingsRequest = GetNhlStandingsRequest;
|
|
4152
|
+
type index_GetNhlStandingsResponse = GetNhlStandingsResponse;
|
|
4153
|
+
type index_GetNhlTeamRosterRequest = GetNhlTeamRosterRequest;
|
|
4154
|
+
declare const index_GetNhlTeamRosterResponse: typeof GetNhlTeamRosterResponse;
|
|
4155
|
+
type index_GetNhlTeamsRequest = GetNhlTeamsRequest;
|
|
4156
|
+
declare const index_GetNhlTeamsResponse: typeof GetNhlTeamsResponse;
|
|
4157
|
+
type index_GetPlayerAlphaMetricsRequest = GetPlayerAlphaMetricsRequest;
|
|
4158
|
+
type index_GetPlayerAlphaMetricsRequestSport = GetPlayerAlphaMetricsRequestSport;
|
|
4159
|
+
declare const index_GetPlayerAlphaMetricsResponse: typeof GetPlayerAlphaMetricsResponse;
|
|
4160
|
+
type index_GetPlayerNewsRequest = GetPlayerNewsRequest;
|
|
4161
|
+
type index_GetPlayerNewsRequestSport = GetPlayerNewsRequestSport;
|
|
4162
|
+
declare const index_GetPlayerNewsResponse: typeof GetPlayerNewsResponse;
|
|
4163
|
+
type index_GetSimilarPlayersRequest = GetSimilarPlayersRequest;
|
|
4164
|
+
type index_GetSimilarPlayersRequestSport = GetSimilarPlayersRequestSport;
|
|
4165
|
+
declare const index_GetSimilarPlayersResponse: typeof GetSimilarPlayersResponse;
|
|
4166
|
+
type index_GetSoccerPlayerByIdRequest = GetSoccerPlayerByIdRequest;
|
|
4167
|
+
declare const index_GetSoccerPlayerByIdResponse: typeof GetSoccerPlayerByIdResponse;
|
|
4168
|
+
type index_GetSoccerPlayersRequest = GetSoccerPlayersRequest;
|
|
4169
|
+
declare const index_GetSoccerPlayersResponse: typeof GetSoccerPlayersResponse;
|
|
2565
4170
|
type index_GetSoccerStandingsRequest = GetSoccerStandingsRequest;
|
|
2566
4171
|
type index_GetSoccerStandingsRequestLeague = GetSoccerStandingsRequestLeague;
|
|
2567
4172
|
type index_GetSoccerStandingsResponse = GetSoccerStandingsResponse;
|
|
4173
|
+
type index_GetSoccerTeamRosterRequest = GetSoccerTeamRosterRequest;
|
|
4174
|
+
declare const index_GetSoccerTeamRosterResponse: typeof GetSoccerTeamRosterResponse;
|
|
4175
|
+
type index_GetSoccerTeamsRequest = GetSoccerTeamsRequest;
|
|
4176
|
+
declare const index_GetSoccerTeamsResponse: typeof GetSoccerTeamsResponse;
|
|
4177
|
+
type index_GetTeamInjuriesRequest = GetTeamInjuriesRequest;
|
|
4178
|
+
type index_GetTeamInjuriesRequestSport = GetTeamInjuriesRequestSport;
|
|
4179
|
+
declare const index_GetTeamInjuriesResponse: typeof GetTeamInjuriesResponse;
|
|
4180
|
+
type index_GetTeamScheduleRequest = GetTeamScheduleRequest;
|
|
4181
|
+
type index_GetTeamScheduleRequestSport = GetTeamScheduleRequestSport;
|
|
4182
|
+
type index_GetTeamScheduleRequestStatus = GetTeamScheduleRequestStatus;
|
|
4183
|
+
declare const index_GetTeamScheduleResponse: typeof GetTeamScheduleResponse;
|
|
4184
|
+
type index_GetTennisMatchesRequest = GetTennisMatchesRequest;
|
|
4185
|
+
type index_GetTennisMatchesRequestTour = GetTennisMatchesRequestTour;
|
|
4186
|
+
declare const index_GetTennisMatchesResponse: typeof GetTennisMatchesResponse;
|
|
2568
4187
|
type index_GetTrendingRequest = GetTrendingRequest;
|
|
2569
4188
|
type index_GetTrendingRequestSport = GetTrendingRequestSport;
|
|
2570
4189
|
declare const index_GetTrendingResponse: typeof GetTrendingResponse;
|
|
4190
|
+
type index_GetUfcEventsRequest = GetUfcEventsRequest;
|
|
4191
|
+
type index_GetUfcEventsRequestState = GetUfcEventsRequestState;
|
|
4192
|
+
declare const index_GetUfcEventsResponse: typeof GetUfcEventsResponse;
|
|
4193
|
+
type index_GetUfcFightersRequest = GetUfcFightersRequest;
|
|
4194
|
+
declare const index_GetUfcFightersResponse: typeof GetUfcFightersResponse;
|
|
2571
4195
|
type index_GetWaiverArticlesRequest = GetWaiverArticlesRequest;
|
|
2572
4196
|
type index_GetWaiverArticlesRequestSport = GetWaiverArticlesRequestSport;
|
|
2573
4197
|
declare const index_GetWaiverArticlesResponse: typeof GetWaiverArticlesResponse;
|
|
4198
|
+
type index_GetWebhookDeliveriesRequest = GetWebhookDeliveriesRequest;
|
|
4199
|
+
declare const index_GetWebhookDeliveriesResponse: typeof GetWebhookDeliveriesResponse;
|
|
2574
4200
|
type index_HistoricalGameRecord = HistoricalGameRecord;
|
|
2575
4201
|
type index_HistoricalTrend = HistoricalTrend;
|
|
2576
4202
|
type index_InternalServerError = InternalServerError;
|
|
@@ -2611,6 +4237,7 @@ type index_ListSoccerGamesRequestLeague = ListSoccerGamesRequestLeague;
|
|
|
2611
4237
|
type index_ListSoccerGamesRequestState = ListSoccerGamesRequestState;
|
|
2612
4238
|
type index_ListSoccerGamesResponse = ListSoccerGamesResponse;
|
|
2613
4239
|
declare const index_ListSportsResponse: typeof ListSportsResponse;
|
|
4240
|
+
declare const index_ListWebhooksResponse: typeof ListWebhooksResponse;
|
|
2614
4241
|
declare const index_McpTool: typeof McpTool;
|
|
2615
4242
|
declare const index_MlbGame: typeof MlbGame;
|
|
2616
4243
|
declare const index_MlbPlayer: typeof MlbPlayer;
|
|
@@ -2627,13 +4254,17 @@ type index_SearchPlayersRequestSport = SearchPlayersRequestSport;
|
|
|
2627
4254
|
type index_SearchPlayersResponse = SearchPlayersResponse;
|
|
2628
4255
|
type index_StartDaaSTrialRequest = StartDaaSTrialRequest;
|
|
2629
4256
|
type index_StartDaaSTrialResponse = StartDaaSTrialResponse;
|
|
4257
|
+
type index_StartMcpTrialRequest = StartMcpTrialRequest;
|
|
4258
|
+
type index_StartMcpTrialResponse = StartMcpTrialResponse;
|
|
4259
|
+
type index_StreamEventsRequest = StreamEventsRequest;
|
|
4260
|
+
type index_StreamEventsRequestSport = StreamEventsRequestSport;
|
|
2630
4261
|
type index_TooManyRequestsError = TooManyRequestsError;
|
|
2631
4262
|
declare const index_TooManyRequestsError: typeof TooManyRequestsError;
|
|
2632
4263
|
type index_UnauthorizedError = UnauthorizedError;
|
|
2633
4264
|
declare const index_UnauthorizedError: typeof UnauthorizedError;
|
|
2634
4265
|
declare const index_UsageStats: typeof UsageStats;
|
|
2635
4266
|
declare namespace index {
|
|
2636
|
-
export { index_BadRequestError as BadRequestError, index_BeatReporterSignal as BeatReporterSignal, type index_CfbRanking as CfbRanking, index_ConflictError as ConflictError, type index_ErrorResponse as ErrorResponse, index_EspnGame as EspnGame, type index_EspnStanding as EspnStanding, index_ForbiddenError as ForbiddenError, type index_GetAnalyticsTrendsRequest as GetAnalyticsTrendsRequest, type index_GetAnalyticsTrendsRequestSport as GetAnalyticsTrendsRequestSport, type index_GetAnalyticsTrendsResponse as GetAnalyticsTrendsResponse, type index_GetCfbRankingsRequest as GetCfbRankingsRequest, type index_GetCfbRankingsResponse as GetCfbRankingsResponse, type index_GetCfbStandingsRequest as GetCfbStandingsRequest, type index_GetCfbStandingsResponse as GetCfbStandingsResponse, type index_GetDaaSKeyInfoRequest as GetDaaSKeyInfoRequest, index_GetDaaSKeyInfoResponse as GetDaaSKeyInfoResponse, type index_GetGamesHistoryRequest as GetGamesHistoryRequest, type index_GetGamesHistoryRequestSport as GetGamesHistoryRequestSport, type index_GetGamesHistoryResponse as GetGamesHistoryResponse, type index_GetIntelligenceInjuriesRequest as GetIntelligenceInjuriesRequest, type index_GetIntelligenceInjuriesRequestSeverity as GetIntelligenceInjuriesRequestSeverity, type index_GetIntelligenceInjuriesRequestSport as GetIntelligenceInjuriesRequestSport, type index_GetIntelligenceInjuriesResponse as GetIntelligenceInjuriesResponse, type index_GetIntelligenceNewsRequest as GetIntelligenceNewsRequest, type index_GetIntelligenceNewsRequestSeverity as GetIntelligenceNewsRequestSeverity, type index_GetIntelligenceNewsRequestSignalType as GetIntelligenceNewsRequestSignalType, type index_GetIntelligenceNewsRequestSport as GetIntelligenceNewsRequestSport, type index_GetIntelligenceNewsResponse as GetIntelligenceNewsResponse, type index_GetMcpInfoResponse as GetMcpInfoResponse, type index_GetMlbPlayerRequest as GetMlbPlayerRequest, type index_GetMlbPlayerResponse as GetMlbPlayerResponse, type index_GetMlbPlayerStatsRequest as GetMlbPlayerStatsRequest, index_GetMlbPlayerStatsResponse as GetMlbPlayerStatsResponse, type index_GetMlbScoringCategoriesRequest as GetMlbScoringCategoriesRequest, index_GetMlbScoringCategoriesResponse as GetMlbScoringCategoriesResponse, type index_GetMlbScoringLeadersRequest as GetMlbScoringLeadersRequest, type index_GetMlbScoringLeadersRequestPosition as GetMlbScoringLeadersRequestPosition, type index_GetMlbScoringLeadersResponse as GetMlbScoringLeadersResponse, type index_GetMlbStandingsRequest as GetMlbStandingsRequest, type index_GetMlbStandingsResponse as GetMlbStandingsResponse, type index_GetMlbTeamRosterRequest as GetMlbTeamRosterRequest, type index_GetMlbTeamRosterRequestPosition as GetMlbTeamRosterRequestPosition, type index_GetMlbTeamRosterResponse as GetMlbTeamRosterResponse, type index_GetNbaConfidenceRequest as GetNbaConfidenceRequest, index_GetNbaConfidenceResponse as GetNbaConfidenceResponse, type index_GetNbaPlayerRequest as GetNbaPlayerRequest, index_GetNbaPlayerResponse as GetNbaPlayerResponse, type index_GetNbaPlayerStatsRequest as GetNbaPlayerStatsRequest, index_GetNbaPlayerStatsResponse as GetNbaPlayerStatsResponse, type index_GetNbaStandingsRequest as GetNbaStandingsRequest, type index_GetNbaStandingsRequestConference as GetNbaStandingsRequestConference, type index_GetNbaStandingsResponse as GetNbaStandingsResponse, type index_GetNbaTeamRosterRequest as GetNbaTeamRosterRequest, type index_GetNbaTeamRosterRequestPosition as GetNbaTeamRosterRequestPosition, index_GetNbaTeamRosterResponse as GetNbaTeamRosterResponse, type index_GetNflPlayerRequest as GetNflPlayerRequest, index_GetNflPlayerResponse as GetNflPlayerResponse, type index_GetNflPlayerStatsRequest as GetNflPlayerStatsRequest, index_GetNflPlayerStatsResponse as GetNflPlayerStatsResponse, type index_GetNflStandingsRequest as GetNflStandingsRequest, type index_GetNflStandingsRequestConference as GetNflStandingsRequestConference, index_GetNflStandingsResponse as GetNflStandingsResponse, type index_GetNflTeamRosterRequest as GetNflTeamRosterRequest, type index_GetNflTeamRosterRequestPosition as GetNflTeamRosterRequestPosition, index_GetNflTeamRosterResponse as GetNflTeamRosterResponse, type index_GetSoccerStandingsRequest as GetSoccerStandingsRequest, type index_GetSoccerStandingsRequestLeague as GetSoccerStandingsRequestLeague, type index_GetSoccerStandingsResponse as GetSoccerStandingsResponse, type index_GetTrendingRequest as GetTrendingRequest, type index_GetTrendingRequestSport as GetTrendingRequestSport, index_GetTrendingResponse as GetTrendingResponse, type index_GetWaiverArticlesRequest as GetWaiverArticlesRequest, type index_GetWaiverArticlesRequestSport as GetWaiverArticlesRequestSport, index_GetWaiverArticlesResponse as GetWaiverArticlesResponse, type index_HistoricalGameRecord as HistoricalGameRecord, type index_HistoricalTrend as HistoricalTrend, index_InternalServerError as InternalServerError, index_InvokeMcpToolRequest as InvokeMcpToolRequest, index_InvokeMcpToolResponse as InvokeMcpToolResponse, type index_ListCfbGamesRequest as ListCfbGamesRequest, type index_ListCfbGamesRequestState as ListCfbGamesRequestState, type index_ListCfbGamesResponse as ListCfbGamesResponse, type index_ListMlbGamesRequest as ListMlbGamesRequest, type index_ListMlbGamesRequestState as ListMlbGamesRequestState, type index_ListMlbGamesResponse as ListMlbGamesResponse, type index_ListMlbPlayersRequest as ListMlbPlayersRequest, type index_ListMlbPlayersRequestPosition as ListMlbPlayersRequestPosition, type index_ListMlbPlayersRequestStatus as ListMlbPlayersRequestStatus, type index_ListMlbPlayersResponse as ListMlbPlayersResponse, index_ListMlbTeamsResponse as ListMlbTeamsResponse, type index_ListNbaGamesRequest as ListNbaGamesRequest, type index_ListNbaGamesRequestState as ListNbaGamesRequestState, type index_ListNbaGamesResponse as ListNbaGamesResponse, type index_ListNbaPlayersRequest as ListNbaPlayersRequest, type index_ListNbaPlayersRequestPosition as ListNbaPlayersRequestPosition, index_ListNbaPlayersResponse as ListNbaPlayersResponse, type index_ListNbaTeamsRequest as ListNbaTeamsRequest, type index_ListNbaTeamsRequestConference as ListNbaTeamsRequestConference, index_ListNbaTeamsResponse as ListNbaTeamsResponse, type index_ListNflGamesRequest as ListNflGamesRequest, type index_ListNflGamesRequestStatus as ListNflGamesRequestStatus, index_ListNflGamesResponse as ListNflGamesResponse, type index_ListNflPlayersRequest as ListNflPlayersRequest, type index_ListNflPlayersRequestPosition as ListNflPlayersRequestPosition, index_ListNflPlayersResponse as ListNflPlayersResponse, type index_ListNflTeamsRequest as ListNflTeamsRequest, type index_ListNflTeamsRequestConference as ListNflTeamsRequestConference, index_ListNflTeamsResponse as ListNflTeamsResponse, type index_ListSoccerGamesRequest as ListSoccerGamesRequest, type index_ListSoccerGamesRequestLeague as ListSoccerGamesRequestLeague, type index_ListSoccerGamesRequestState as ListSoccerGamesRequestState, type index_ListSoccerGamesResponse as ListSoccerGamesResponse, index_ListSportsResponse as ListSportsResponse, index_McpTool as McpTool, index_MlbGame as MlbGame, index_MlbPlayer as MlbPlayer, index_MlbPlayerStats as MlbPlayerStats, index_NotFoundError as NotFoundError, index_PlayerIdentity as PlayerIdentity, type index_PublicStats as PublicStats, type index_RegisterDaaSKeyRequest as RegisterDaaSKeyRequest, type index_RegisterDaaSKeyResponse as RegisterDaaSKeyResponse, type index_ResponseMeta as ResponseMeta, type index_SearchPlayersRequest as SearchPlayersRequest, type index_SearchPlayersRequestSport as SearchPlayersRequestSport, type index_SearchPlayersResponse as SearchPlayersResponse, type index_StartDaaSTrialRequest as StartDaaSTrialRequest, type index_StartDaaSTrialResponse as StartDaaSTrialResponse, index_TooManyRequestsError as TooManyRequestsError, index_UnauthorizedError as UnauthorizedError, index_UsageStats as UsageStats, index$9 as account, index$8 as cfb, index$7 as intelligence, index$6 as mcp, index$5 as mlb, index$4 as multi, index$3 as nba, index$2 as nfl, index$1 as soccer };
|
|
4267
|
+
export { index_BadRequestError as BadRequestError, index_BeatReporterSignal as BeatReporterSignal, type index_CfbRanking as CfbRanking, type index_ComparePlayersRequest as ComparePlayersRequest, type index_ComparePlayersRequestSport as ComparePlayersRequestSport, type index_ComparePlayersResponse as ComparePlayersResponse, index_ConflictError as ConflictError, index_CreateWebhookRequest as CreateWebhookRequest, index_CreateWebhookResponse as CreateWebhookResponse, type index_DeleteWebhookRequest as DeleteWebhookRequest, type index_DeleteWebhookResponse as DeleteWebhookResponse, type index_ErrorResponse as ErrorResponse, index_EspnGame as EspnGame, type index_EspnStanding as EspnStanding, type index_EvaluateTradeRequest as EvaluateTradeRequest, index_EvaluateTradeResponse as EvaluateTradeResponse, index_ForbiddenError as ForbiddenError, type index_GetAnalyticsTrendsRequest as GetAnalyticsTrendsRequest, type index_GetAnalyticsTrendsRequestSport as GetAnalyticsTrendsRequestSport, type index_GetAnalyticsTrendsResponse as GetAnalyticsTrendsResponse, type index_GetCfbPlayerByIdRequest as GetCfbPlayerByIdRequest, index_GetCfbPlayerByIdResponse as GetCfbPlayerByIdResponse, type index_GetCfbPlayersRequest as GetCfbPlayersRequest, index_GetCfbPlayersResponse as GetCfbPlayersResponse, type index_GetCfbRankingsRequest as GetCfbRankingsRequest, type index_GetCfbRankingsResponse as GetCfbRankingsResponse, type index_GetCfbStandingsRequest as GetCfbStandingsRequest, type index_GetCfbStandingsResponse as GetCfbStandingsResponse, type index_GetCfbTeamRosterRequest as GetCfbTeamRosterRequest, index_GetCfbTeamRosterResponse as GetCfbTeamRosterResponse, index_GetCfbTeamsResponse as GetCfbTeamsResponse, type index_GetDaaSKeyInfoRequest as GetDaaSKeyInfoRequest, index_GetDaaSKeyInfoResponse as GetDaaSKeyInfoResponse, index_GetDataStatusResponse as GetDataStatusResponse, type index_GetGamesHistoryRequest as GetGamesHistoryRequest, type index_GetGamesHistoryRequestSport as GetGamesHistoryRequestSport, type index_GetGamesHistoryResponse as GetGamesHistoryResponse, type index_GetGolfLeaderboardRequest as GetGolfLeaderboardRequest, type index_GetGolfLeaderboardRequestTour as GetGolfLeaderboardRequestTour, index_GetGolfLeaderboardResponse as GetGolfLeaderboardResponse, type index_GetGolfTournamentsRequest as GetGolfTournamentsRequest, type index_GetGolfTournamentsRequestTour as GetGolfTournamentsRequestTour, index_GetGolfTournamentsResponse as GetGolfTournamentsResponse, type index_GetIntelligenceInjuriesRequest as GetIntelligenceInjuriesRequest, type index_GetIntelligenceInjuriesRequestSeverity as GetIntelligenceInjuriesRequestSeverity, type index_GetIntelligenceInjuriesRequestSport as GetIntelligenceInjuriesRequestSport, type index_GetIntelligenceInjuriesResponse as GetIntelligenceInjuriesResponse, type index_GetIntelligenceNewsRequest as GetIntelligenceNewsRequest, type index_GetIntelligenceNewsRequestSeverity as GetIntelligenceNewsRequestSeverity, type index_GetIntelligenceNewsRequestSignalType as GetIntelligenceNewsRequestSignalType, type index_GetIntelligenceNewsRequestSport as GetIntelligenceNewsRequestSport, type index_GetIntelligenceNewsResponse as GetIntelligenceNewsResponse, type index_GetLeagueHealthRequest as GetLeagueHealthRequest, index_GetLeagueHealthResponse as GetLeagueHealthResponse, type index_GetLeagueStartSitRequest as GetLeagueStartSitRequest, index_GetLeagueStartSitResponse as GetLeagueStartSitResponse, type index_GetMcpInfoResponse as GetMcpInfoResponse, type index_GetMlbPlayerRequest as GetMlbPlayerRequest, type index_GetMlbPlayerResponse as GetMlbPlayerResponse, type index_GetMlbPlayerStatsRequest as GetMlbPlayerStatsRequest, index_GetMlbPlayerStatsResponse as GetMlbPlayerStatsResponse, type index_GetMlbScoringCategoriesRequest as GetMlbScoringCategoriesRequest, index_GetMlbScoringCategoriesResponse as GetMlbScoringCategoriesResponse, type index_GetMlbScoringLeadersRequest as GetMlbScoringLeadersRequest, type index_GetMlbScoringLeadersRequestPosition as GetMlbScoringLeadersRequestPosition, type index_GetMlbScoringLeadersResponse as GetMlbScoringLeadersResponse, type index_GetMlbStandingsRequest as GetMlbStandingsRequest, type index_GetMlbStandingsResponse as GetMlbStandingsResponse, type index_GetMlbTeamRosterRequest as GetMlbTeamRosterRequest, type index_GetMlbTeamRosterRequestPosition as GetMlbTeamRosterRequestPosition, type index_GetMlbTeamRosterResponse as GetMlbTeamRosterResponse, type index_GetNbaConfidenceRequest as GetNbaConfidenceRequest, index_GetNbaConfidenceResponse as GetNbaConfidenceResponse, type index_GetNbaPlayerRequest as GetNbaPlayerRequest, index_GetNbaPlayerResponse as GetNbaPlayerResponse, type index_GetNbaPlayerStatsRequest as GetNbaPlayerStatsRequest, index_GetNbaPlayerStatsResponse as GetNbaPlayerStatsResponse, type index_GetNbaStandingsRequest as GetNbaStandingsRequest, type index_GetNbaStandingsRequestConference as GetNbaStandingsRequestConference, type index_GetNbaStandingsResponse as GetNbaStandingsResponse, type index_GetNbaTeamRosterRequest as GetNbaTeamRosterRequest, type index_GetNbaTeamRosterRequestPosition as GetNbaTeamRosterRequestPosition, index_GetNbaTeamRosterResponse as GetNbaTeamRosterResponse, type index_GetNflPlayerRequest as GetNflPlayerRequest, index_GetNflPlayerResponse as GetNflPlayerResponse, type index_GetNflPlayerStatsRequest as GetNflPlayerStatsRequest, index_GetNflPlayerStatsResponse as GetNflPlayerStatsResponse, type index_GetNflRankingsRequest as GetNflRankingsRequest, type index_GetNflRankingsRequestFormat as GetNflRankingsRequestFormat, type index_GetNflRankingsRequestPosition as GetNflRankingsRequestPosition, index_GetNflRankingsResponse as GetNflRankingsResponse, type index_GetNflStandingsRequest as GetNflStandingsRequest, type index_GetNflStandingsRequestConference as GetNflStandingsRequestConference, index_GetNflStandingsResponse as GetNflStandingsResponse, type index_GetNflTeamRosterRequest as GetNflTeamRosterRequest, type index_GetNflTeamRosterRequestPosition as GetNflTeamRosterRequestPosition, index_GetNflTeamRosterResponse as GetNflTeamRosterResponse, type index_GetNhlGamesRequest as GetNhlGamesRequest, type index_GetNhlGamesResponse as GetNhlGamesResponse, type index_GetNhlPlayerByIdRequest as GetNhlPlayerByIdRequest, index_GetNhlPlayerByIdResponse as GetNhlPlayerByIdResponse, type index_GetNhlPlayerStatsRequest as GetNhlPlayerStatsRequest, type index_GetNhlPlayerStatsResponse as GetNhlPlayerStatsResponse, type index_GetNhlPlayersRequest as GetNhlPlayersRequest, index_GetNhlPlayersResponse as GetNhlPlayersResponse, type index_GetNhlStandingsRequest as GetNhlStandingsRequest, type index_GetNhlStandingsResponse as GetNhlStandingsResponse, type index_GetNhlTeamRosterRequest as GetNhlTeamRosterRequest, index_GetNhlTeamRosterResponse as GetNhlTeamRosterResponse, type index_GetNhlTeamsRequest as GetNhlTeamsRequest, index_GetNhlTeamsResponse as GetNhlTeamsResponse, type index_GetPlayerAlphaMetricsRequest as GetPlayerAlphaMetricsRequest, type index_GetPlayerAlphaMetricsRequestSport as GetPlayerAlphaMetricsRequestSport, index_GetPlayerAlphaMetricsResponse as GetPlayerAlphaMetricsResponse, type index_GetPlayerNewsRequest as GetPlayerNewsRequest, type index_GetPlayerNewsRequestSport as GetPlayerNewsRequestSport, index_GetPlayerNewsResponse as GetPlayerNewsResponse, type index_GetSimilarPlayersRequest as GetSimilarPlayersRequest, type index_GetSimilarPlayersRequestSport as GetSimilarPlayersRequestSport, index_GetSimilarPlayersResponse as GetSimilarPlayersResponse, type index_GetSoccerPlayerByIdRequest as GetSoccerPlayerByIdRequest, index_GetSoccerPlayerByIdResponse as GetSoccerPlayerByIdResponse, type index_GetSoccerPlayersRequest as GetSoccerPlayersRequest, index_GetSoccerPlayersResponse as GetSoccerPlayersResponse, type index_GetSoccerStandingsRequest as GetSoccerStandingsRequest, type index_GetSoccerStandingsRequestLeague as GetSoccerStandingsRequestLeague, type index_GetSoccerStandingsResponse as GetSoccerStandingsResponse, type index_GetSoccerTeamRosterRequest as GetSoccerTeamRosterRequest, index_GetSoccerTeamRosterResponse as GetSoccerTeamRosterResponse, type index_GetSoccerTeamsRequest as GetSoccerTeamsRequest, index_GetSoccerTeamsResponse as GetSoccerTeamsResponse, type index_GetTeamInjuriesRequest as GetTeamInjuriesRequest, type index_GetTeamInjuriesRequestSport as GetTeamInjuriesRequestSport, index_GetTeamInjuriesResponse as GetTeamInjuriesResponse, type index_GetTeamScheduleRequest as GetTeamScheduleRequest, type index_GetTeamScheduleRequestSport as GetTeamScheduleRequestSport, type index_GetTeamScheduleRequestStatus as GetTeamScheduleRequestStatus, index_GetTeamScheduleResponse as GetTeamScheduleResponse, type index_GetTennisMatchesRequest as GetTennisMatchesRequest, type index_GetTennisMatchesRequestTour as GetTennisMatchesRequestTour, index_GetTennisMatchesResponse as GetTennisMatchesResponse, type index_GetTrendingRequest as GetTrendingRequest, type index_GetTrendingRequestSport as GetTrendingRequestSport, index_GetTrendingResponse as GetTrendingResponse, type index_GetUfcEventsRequest as GetUfcEventsRequest, type index_GetUfcEventsRequestState as GetUfcEventsRequestState, index_GetUfcEventsResponse as GetUfcEventsResponse, type index_GetUfcFightersRequest as GetUfcFightersRequest, index_GetUfcFightersResponse as GetUfcFightersResponse, type index_GetWaiverArticlesRequest as GetWaiverArticlesRequest, type index_GetWaiverArticlesRequestSport as GetWaiverArticlesRequestSport, index_GetWaiverArticlesResponse as GetWaiverArticlesResponse, type index_GetWebhookDeliveriesRequest as GetWebhookDeliveriesRequest, index_GetWebhookDeliveriesResponse as GetWebhookDeliveriesResponse, type index_HistoricalGameRecord as HistoricalGameRecord, type index_HistoricalTrend as HistoricalTrend, index_InternalServerError as InternalServerError, index_InvokeMcpToolRequest as InvokeMcpToolRequest, index_InvokeMcpToolResponse as InvokeMcpToolResponse, type index_ListCfbGamesRequest as ListCfbGamesRequest, type index_ListCfbGamesRequestState as ListCfbGamesRequestState, type index_ListCfbGamesResponse as ListCfbGamesResponse, type index_ListMlbGamesRequest as ListMlbGamesRequest, type index_ListMlbGamesRequestState as ListMlbGamesRequestState, type index_ListMlbGamesResponse as ListMlbGamesResponse, type index_ListMlbPlayersRequest as ListMlbPlayersRequest, type index_ListMlbPlayersRequestPosition as ListMlbPlayersRequestPosition, type index_ListMlbPlayersRequestStatus as ListMlbPlayersRequestStatus, type index_ListMlbPlayersResponse as ListMlbPlayersResponse, index_ListMlbTeamsResponse as ListMlbTeamsResponse, type index_ListNbaGamesRequest as ListNbaGamesRequest, type index_ListNbaGamesRequestState as ListNbaGamesRequestState, type index_ListNbaGamesResponse as ListNbaGamesResponse, type index_ListNbaPlayersRequest as ListNbaPlayersRequest, type index_ListNbaPlayersRequestPosition as ListNbaPlayersRequestPosition, index_ListNbaPlayersResponse as ListNbaPlayersResponse, type index_ListNbaTeamsRequest as ListNbaTeamsRequest, type index_ListNbaTeamsRequestConference as ListNbaTeamsRequestConference, index_ListNbaTeamsResponse as ListNbaTeamsResponse, type index_ListNflGamesRequest as ListNflGamesRequest, type index_ListNflGamesRequestStatus as ListNflGamesRequestStatus, index_ListNflGamesResponse as ListNflGamesResponse, type index_ListNflPlayersRequest as ListNflPlayersRequest, type index_ListNflPlayersRequestPosition as ListNflPlayersRequestPosition, index_ListNflPlayersResponse as ListNflPlayersResponse, type index_ListNflTeamsRequest as ListNflTeamsRequest, type index_ListNflTeamsRequestConference as ListNflTeamsRequestConference, index_ListNflTeamsResponse as ListNflTeamsResponse, type index_ListSoccerGamesRequest as ListSoccerGamesRequest, type index_ListSoccerGamesRequestLeague as ListSoccerGamesRequestLeague, type index_ListSoccerGamesRequestState as ListSoccerGamesRequestState, type index_ListSoccerGamesResponse as ListSoccerGamesResponse, index_ListSportsResponse as ListSportsResponse, index_ListWebhooksResponse as ListWebhooksResponse, index_McpTool as McpTool, index_MlbGame as MlbGame, index_MlbPlayer as MlbPlayer, index_MlbPlayerStats as MlbPlayerStats, index_NotFoundError as NotFoundError, index_PlayerIdentity as PlayerIdentity, type index_PublicStats as PublicStats, type index_RegisterDaaSKeyRequest as RegisterDaaSKeyRequest, type index_RegisterDaaSKeyResponse as RegisterDaaSKeyResponse, type index_ResponseMeta as ResponseMeta, type index_SearchPlayersRequest as SearchPlayersRequest, type index_SearchPlayersRequestSport as SearchPlayersRequestSport, type index_SearchPlayersResponse as SearchPlayersResponse, type index_StartDaaSTrialRequest as StartDaaSTrialRequest, type index_StartDaaSTrialResponse as StartDaaSTrialResponse, type index_StartMcpTrialRequest as StartMcpTrialRequest, type index_StartMcpTrialResponse as StartMcpTrialResponse, type index_StreamEventsRequest as StreamEventsRequest, type index_StreamEventsRequestSport as StreamEventsRequestSport, index_TooManyRequestsError as TooManyRequestsError, index_UnauthorizedError as UnauthorizedError, index_UsageStats as UsageStats, index$e as account, index$d as cfb, index$c as golf, index$b as intelligence, index$a as leagues, index$9 as mcp, index$8 as mlb, index$7 as multi, index$6 as nba, index$5 as nfl, index$4 as nhl, index$3 as soccer, index$2 as tennis, index$1 as ufc };
|
|
2637
4268
|
}
|
|
2638
4269
|
|
|
2639
4270
|
declare const PARAM_KEY: "apiKey";
|
|
@@ -2714,15 +4345,83 @@ declare namespace AccountClient {
|
|
|
2714
4345
|
}
|
|
2715
4346
|
}
|
|
2716
4347
|
/**
|
|
2717
|
-
* API key management, quota monitoring, and trial activation
|
|
4348
|
+
* API key management, quota monitoring, and trial activation.
|
|
2718
4349
|
*/
|
|
2719
4350
|
declare class AccountClient {
|
|
2720
4351
|
protected readonly _options: NormalizedClientOptionsWithAuth<AccountClient.Options>;
|
|
2721
4352
|
constructor(options?: AccountClient.Options);
|
|
4353
|
+
/**
|
|
4354
|
+
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4355
|
+
*
|
|
4356
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4357
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
4358
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4359
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4360
|
+
*
|
|
4361
|
+
* @example
|
|
4362
|
+
* await client.account.listWebhooks()
|
|
4363
|
+
*/
|
|
4364
|
+
listWebhooks(requestOptions?: AccountClient.RequestOptions): HttpResponsePromise<ListWebhooksResponse>;
|
|
4365
|
+
private __listWebhooks;
|
|
4366
|
+
/**
|
|
4367
|
+
* Register an HTTPS endpoint to receive signed webhook deliveries for one or more event types. Returns a one-time secret for HMAC-SHA256 signature verification (`X-PlayCaller-Signature`).
|
|
4368
|
+
*
|
|
4369
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
4370
|
+
*
|
|
4371
|
+
* @param {PlaycallerApi.CreateWebhookRequest} request
|
|
4372
|
+
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4373
|
+
*
|
|
4374
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4375
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
4376
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4377
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4378
|
+
*
|
|
4379
|
+
* @example
|
|
4380
|
+
* await client.account.createWebhook({
|
|
4381
|
+
* url: "https://your-server.com/playcaller-hook",
|
|
4382
|
+
* events: ["player.injured", "anomaly.detected"]
|
|
4383
|
+
* })
|
|
4384
|
+
*/
|
|
4385
|
+
createWebhook(request: CreateWebhookRequest, requestOptions?: AccountClient.RequestOptions): HttpResponsePromise<CreateWebhookResponse>;
|
|
4386
|
+
private __createWebhook;
|
|
4387
|
+
/**
|
|
4388
|
+
* @param {PlaycallerApi.DeleteWebhookRequest} request
|
|
4389
|
+
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4390
|
+
*
|
|
4391
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4392
|
+
* @throws {@link PlaycallerApi.NotFoundError}
|
|
4393
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4394
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4395
|
+
*
|
|
4396
|
+
* @example
|
|
4397
|
+
* await client.account.deleteWebhook({
|
|
4398
|
+
* id: "id"
|
|
4399
|
+
* })
|
|
4400
|
+
*/
|
|
4401
|
+
deleteWebhook(request: DeleteWebhookRequest, requestOptions?: AccountClient.RequestOptions): HttpResponsePromise<DeleteWebhookResponse>;
|
|
4402
|
+
private __deleteWebhook;
|
|
4403
|
+
/**
|
|
4404
|
+
* Returns the last 50 delivery attempts for a webhook, including status codes, attempt counts, and error messages.
|
|
4405
|
+
*
|
|
4406
|
+
* @param {PlaycallerApi.GetWebhookDeliveriesRequest} request
|
|
4407
|
+
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4408
|
+
*
|
|
4409
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4410
|
+
* @throws {@link PlaycallerApi.NotFoundError}
|
|
4411
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4412
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4413
|
+
*
|
|
4414
|
+
* @example
|
|
4415
|
+
* await client.account.getWebhookDeliveries({
|
|
4416
|
+
* id: "id"
|
|
4417
|
+
* })
|
|
4418
|
+
*/
|
|
4419
|
+
getWebhookDeliveries(request: GetWebhookDeliveriesRequest, requestOptions?: AccountClient.RequestOptions): HttpResponsePromise<GetWebhookDeliveriesResponse>;
|
|
4420
|
+
private __getWebhookDeliveries;
|
|
2722
4421
|
/**
|
|
2723
4422
|
* Returns current quota consumption, rate limits, tier details, and per-endpoint call breakdown for the authenticated key. Use this to build usage dashboards or trigger pre-quota alerts in your application.
|
|
2724
4423
|
*
|
|
2725
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
4424
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
2726
4425
|
*
|
|
2727
4426
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2728
4427
|
*
|
|
@@ -2738,7 +4437,7 @@ declare class AccountClient {
|
|
|
2738
4437
|
/**
|
|
2739
4438
|
* Returns tier, trial status, and creation date for the API key passed as `?key=` query parameter. Useful for building key verification flows in your own applications without exposing the full usage payload.
|
|
2740
4439
|
*
|
|
2741
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
4440
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
2742
4441
|
*
|
|
2743
4442
|
* @param {PlaycallerApi.GetDaaSKeyInfoRequest} request
|
|
2744
4443
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -2771,15 +4470,166 @@ declare class AccountClient {
|
|
|
2771
4470
|
* email: "dev@example.com"
|
|
2772
4471
|
* })
|
|
2773
4472
|
*/
|
|
2774
|
-
startDaaSTrial(request: StartDaaSTrialRequest, requestOptions?: AccountClient.RequestOptions): HttpResponsePromise<StartDaaSTrialResponse>;
|
|
2775
|
-
private __startDaaSTrial;
|
|
4473
|
+
startDaaSTrial(request: StartDaaSTrialRequest, requestOptions?: AccountClient.RequestOptions): HttpResponsePromise<StartDaaSTrialResponse>;
|
|
4474
|
+
private __startDaaSTrial;
|
|
4475
|
+
/**
|
|
4476
|
+
* Associates an existing DaaS API key with a user account for dashboard access. Used internally by the developer dashboard onboarding flow.
|
|
4477
|
+
*
|
|
4478
|
+
* **Auth:** No API key required
|
|
4479
|
+
*
|
|
4480
|
+
* @param {PlaycallerApi.RegisterDaaSKeyRequest} request
|
|
4481
|
+
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4482
|
+
*
|
|
4483
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4484
|
+
* @throws {@link PlaycallerApi.NotFoundError}
|
|
4485
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4486
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4487
|
+
*
|
|
4488
|
+
* @example
|
|
4489
|
+
* await client.account.registerDaaSKey({
|
|
4490
|
+
* email: "dev@example.com",
|
|
4491
|
+
* api_key: "pc_pro_abc123"
|
|
4492
|
+
* })
|
|
4493
|
+
*/
|
|
4494
|
+
registerDaaSKey(request: RegisterDaaSKeyRequest, requestOptions?: AccountClient.RequestOptions): HttpResponsePromise<RegisterDaaSKeyResponse>;
|
|
4495
|
+
private __registerDaaSKey;
|
|
4496
|
+
}
|
|
4497
|
+
|
|
4498
|
+
declare namespace CfbClient {
|
|
4499
|
+
type Options = BaseClientOptions;
|
|
4500
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
4501
|
+
}
|
|
4502
|
+
}
|
|
4503
|
+
/**
|
|
4504
|
+
* College football scoreboard, standings, and rankings.
|
|
4505
|
+
*/
|
|
4506
|
+
declare class CfbClient {
|
|
4507
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CfbClient.Options>;
|
|
4508
|
+
constructor(options?: CfbClient.Options);
|
|
4509
|
+
/**
|
|
4510
|
+
* CFB game scores and schedule from ESPN. Covers FBS games including conference championships and bowl games.
|
|
4511
|
+
*
|
|
4512
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
4513
|
+
*
|
|
4514
|
+
* @param {PlaycallerApi.ListCfbGamesRequest} request
|
|
4515
|
+
* @param {CfbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4516
|
+
*
|
|
4517
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4518
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
4519
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4520
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4521
|
+
*
|
|
4522
|
+
* @example
|
|
4523
|
+
* await client.cfb.listCfbGames({
|
|
4524
|
+
* date: "2026-09-05"
|
|
4525
|
+
* })
|
|
4526
|
+
*/
|
|
4527
|
+
listCfbGames(request?: ListCfbGamesRequest, requestOptions?: CfbClient.RequestOptions): HttpResponsePromise<ListCfbGamesResponse>;
|
|
4528
|
+
private __listCfbGames;
|
|
4529
|
+
/**
|
|
4530
|
+
* CFB standings by conference. Includes win %, conference record, and streak. Useful for playoff scenario modeling.
|
|
4531
|
+
*
|
|
4532
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
4533
|
+
*
|
|
4534
|
+
* @param {PlaycallerApi.GetCfbStandingsRequest} request
|
|
4535
|
+
* @param {CfbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4536
|
+
*
|
|
4537
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4538
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
4539
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4540
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4541
|
+
*
|
|
4542
|
+
* @example
|
|
4543
|
+
* await client.cfb.getCfbStandings({
|
|
4544
|
+
* conference: "SEC"
|
|
4545
|
+
* })
|
|
4546
|
+
*/
|
|
4547
|
+
getCfbStandings(request?: GetCfbStandingsRequest, requestOptions?: CfbClient.RequestOptions): HttpResponsePromise<GetCfbStandingsResponse>;
|
|
4548
|
+
private __getCfbStandings;
|
|
4549
|
+
/**
|
|
4550
|
+
* AP Top 25, Coaches Poll, and CFP rankings by week. Each poll returns ranked teams with first-place votes, total points, and previous rank movement.
|
|
4551
|
+
*
|
|
4552
|
+
* **Tier access:** Pro Insights, Syndicate Alpha
|
|
4553
|
+
*
|
|
4554
|
+
* @param {PlaycallerApi.GetCfbRankingsRequest} request
|
|
4555
|
+
* @param {CfbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4556
|
+
*
|
|
4557
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4558
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
4559
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4560
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4561
|
+
*
|
|
4562
|
+
* @example
|
|
4563
|
+
* await client.cfb.getCfbRankings({
|
|
4564
|
+
* poll: "AP"
|
|
4565
|
+
* })
|
|
4566
|
+
*/
|
|
4567
|
+
getCfbRankings(request?: GetCfbRankingsRequest, requestOptions?: CfbClient.RequestOptions): HttpResponsePromise<GetCfbRankingsResponse>;
|
|
4568
|
+
private __getCfbRankings;
|
|
4569
|
+
/**
|
|
4570
|
+
* All FBS college football teams with active player counts and roster links. Source: seeded from ESPN public roster data.
|
|
4571
|
+
*
|
|
4572
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
4573
|
+
*
|
|
4574
|
+
* @param {CfbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4575
|
+
*
|
|
4576
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4577
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4578
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4579
|
+
*
|
|
4580
|
+
* @example
|
|
4581
|
+
* await client.cfb.getCfbTeams()
|
|
4582
|
+
*/
|
|
4583
|
+
getCfbTeams(requestOptions?: CfbClient.RequestOptions): HttpResponsePromise<GetCfbTeamsResponse>;
|
|
4584
|
+
private __getCfbTeams;
|
|
4585
|
+
/**
|
|
4586
|
+
* Active FBS roster by team abbreviation. Includes position, jersey number, and eligibility year.
|
|
4587
|
+
*
|
|
4588
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
4589
|
+
*
|
|
4590
|
+
* @param {PlaycallerApi.GetCfbTeamRosterRequest} request
|
|
4591
|
+
* @param {CfbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4592
|
+
*
|
|
4593
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4594
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4595
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4596
|
+
*
|
|
4597
|
+
* @example
|
|
4598
|
+
* await client.cfb.getCfbTeamRoster({
|
|
4599
|
+
* team: "ALA",
|
|
4600
|
+
* position: "QB"
|
|
4601
|
+
* })
|
|
4602
|
+
*/
|
|
4603
|
+
getCfbTeamRoster(request: GetCfbTeamRosterRequest, requestOptions?: CfbClient.RequestOptions): HttpResponsePromise<GetCfbTeamRosterResponse>;
|
|
4604
|
+
private __getCfbTeamRoster;
|
|
4605
|
+
/**
|
|
4606
|
+
* FBS players across all 134 teams. Supports ?search=, ?team=, ?position= filters and pagination.
|
|
4607
|
+
*
|
|
4608
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
4609
|
+
*
|
|
4610
|
+
* @param {PlaycallerApi.GetCfbPlayersRequest} request
|
|
4611
|
+
* @param {CfbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4612
|
+
*
|
|
4613
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4614
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4615
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4616
|
+
*
|
|
4617
|
+
* @example
|
|
4618
|
+
* await client.cfb.getCfbPlayers({
|
|
4619
|
+
* search: "Smith",
|
|
4620
|
+
* team: "ALA",
|
|
4621
|
+
* position: "QB"
|
|
4622
|
+
* })
|
|
4623
|
+
*/
|
|
4624
|
+
getCfbPlayers(request?: GetCfbPlayersRequest, requestOptions?: CfbClient.RequestOptions): HttpResponsePromise<GetCfbPlayersResponse>;
|
|
4625
|
+
private __getCfbPlayers;
|
|
2776
4626
|
/**
|
|
2777
|
-
*
|
|
4627
|
+
* Individual College Football player by PlayCaller ID. Returns full profile including school/team, position, and status.
|
|
2778
4628
|
*
|
|
2779
|
-
* **
|
|
4629
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
2780
4630
|
*
|
|
2781
|
-
* @param {PlaycallerApi.
|
|
2782
|
-
* @param {
|
|
4631
|
+
* @param {PlaycallerApi.GetCfbPlayerByIdRequest} request
|
|
4632
|
+
* @param {CfbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2783
4633
|
*
|
|
2784
4634
|
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
2785
4635
|
* @throws {@link PlaycallerApi.NotFoundError}
|
|
@@ -2787,86 +4637,59 @@ declare class AccountClient {
|
|
|
2787
4637
|
* @throws {@link PlaycallerApi.InternalServerError}
|
|
2788
4638
|
*
|
|
2789
4639
|
* @example
|
|
2790
|
-
* await client.
|
|
2791
|
-
*
|
|
2792
|
-
* api_key: "pc_pro_abc123"
|
|
4640
|
+
* await client.cfb.getCfbPlayerById({
|
|
4641
|
+
* id: "pc_cfb_4432664"
|
|
2793
4642
|
* })
|
|
2794
4643
|
*/
|
|
2795
|
-
|
|
2796
|
-
private
|
|
4644
|
+
getCfbPlayerById(request: GetCfbPlayerByIdRequest, requestOptions?: CfbClient.RequestOptions): HttpResponsePromise<GetCfbPlayerByIdResponse>;
|
|
4645
|
+
private __getCfbPlayerById;
|
|
2797
4646
|
}
|
|
2798
4647
|
|
|
2799
|
-
declare namespace
|
|
4648
|
+
declare namespace GolfClient {
|
|
2800
4649
|
type Options = BaseClientOptions;
|
|
2801
4650
|
interface RequestOptions extends BaseRequestOptions {
|
|
2802
4651
|
}
|
|
2803
4652
|
}
|
|
2804
4653
|
/**
|
|
2805
|
-
*
|
|
4654
|
+
* PGA/LPGA tournament schedules and live leaderboards.
|
|
2806
4655
|
*/
|
|
2807
|
-
declare class
|
|
2808
|
-
protected readonly _options: NormalizedClientOptionsWithAuth<
|
|
2809
|
-
constructor(options?:
|
|
2810
|
-
/**
|
|
2811
|
-
* CFB game scores and schedule from ESPN. Covers FBS games including conference championships and bowl games.
|
|
2812
|
-
*
|
|
2813
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
2814
|
-
*
|
|
2815
|
-
* @param {PlaycallerApi.ListCfbGamesRequest} request
|
|
2816
|
-
* @param {CfbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2817
|
-
*
|
|
2818
|
-
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
2819
|
-
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
2820
|
-
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
2821
|
-
* @throws {@link PlaycallerApi.InternalServerError}
|
|
2822
|
-
*
|
|
2823
|
-
* @example
|
|
2824
|
-
* await client.cfb.listCfbGames({
|
|
2825
|
-
* date: "2026-09-05"
|
|
2826
|
-
* })
|
|
2827
|
-
*/
|
|
2828
|
-
listCfbGames(request?: ListCfbGamesRequest, requestOptions?: CfbClient.RequestOptions): HttpResponsePromise<ListCfbGamesResponse>;
|
|
2829
|
-
private __listCfbGames;
|
|
4656
|
+
declare class GolfClient {
|
|
4657
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<GolfClient.Options>;
|
|
4658
|
+
constructor(options?: GolfClient.Options);
|
|
2830
4659
|
/**
|
|
2831
|
-
*
|
|
4660
|
+
* Lists current and recently completed PGA Tour and LPGA Tour tournaments with player counts and dates.
|
|
2832
4661
|
*
|
|
2833
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
4662
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
2834
4663
|
*
|
|
2835
|
-
* @param {PlaycallerApi.
|
|
2836
|
-
* @param {
|
|
4664
|
+
* @param {PlaycallerApi.GetGolfTournamentsRequest} request
|
|
4665
|
+
* @param {GolfClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2837
4666
|
*
|
|
2838
4667
|
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
2839
|
-
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
2840
4668
|
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
2841
4669
|
* @throws {@link PlaycallerApi.InternalServerError}
|
|
2842
4670
|
*
|
|
2843
4671
|
* @example
|
|
2844
|
-
* await client.
|
|
2845
|
-
* conference: "SEC"
|
|
2846
|
-
* })
|
|
4672
|
+
* await client.golf.getGolfTournaments()
|
|
2847
4673
|
*/
|
|
2848
|
-
|
|
2849
|
-
private
|
|
4674
|
+
getGolfTournaments(request?: GetGolfTournamentsRequest, requestOptions?: GolfClient.RequestOptions): HttpResponsePromise<GetGolfTournamentsResponse>;
|
|
4675
|
+
private __getGolfTournaments;
|
|
2850
4676
|
/**
|
|
2851
|
-
*
|
|
4677
|
+
* Live or most recent tournament leaderboard with positions, scores relative to par, and per-round scores. Updated every 4 hours.
|
|
2852
4678
|
*
|
|
2853
|
-
* **Tier access:** Pro Insights, Syndicate Alpha
|
|
4679
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
2854
4680
|
*
|
|
2855
|
-
* @param {PlaycallerApi.
|
|
2856
|
-
* @param {
|
|
4681
|
+
* @param {PlaycallerApi.GetGolfLeaderboardRequest} request
|
|
4682
|
+
* @param {GolfClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2857
4683
|
*
|
|
2858
4684
|
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
2859
|
-
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
2860
4685
|
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
2861
4686
|
* @throws {@link PlaycallerApi.InternalServerError}
|
|
2862
4687
|
*
|
|
2863
4688
|
* @example
|
|
2864
|
-
* await client.
|
|
2865
|
-
* poll: "AP"
|
|
2866
|
-
* })
|
|
4689
|
+
* await client.golf.getGolfLeaderboard()
|
|
2867
4690
|
*/
|
|
2868
|
-
|
|
2869
|
-
private
|
|
4691
|
+
getGolfLeaderboard(request?: GetGolfLeaderboardRequest, requestOptions?: GolfClient.RequestOptions): HttpResponsePromise<GetGolfLeaderboardResponse>;
|
|
4692
|
+
private __getGolfLeaderboard;
|
|
2870
4693
|
}
|
|
2871
4694
|
|
|
2872
4695
|
declare namespace IntelligenceClient {
|
|
@@ -2875,7 +4698,7 @@ declare namespace IntelligenceClient {
|
|
|
2875
4698
|
}
|
|
2876
4699
|
}
|
|
2877
4700
|
/**
|
|
2878
|
-
* Beat reporter
|
|
4701
|
+
* Beat reporter injury signals and news refreshed every 2 hours — NFL, MLB, NBA. No /v1 prefix. Core input for fantasy waiver wire, start/sit, and DFS lineup decisions.
|
|
2879
4702
|
*/
|
|
2880
4703
|
declare class IntelligenceClient {
|
|
2881
4704
|
protected readonly _options: NormalizedClientOptionsWithAuth<IntelligenceClient.Options>;
|
|
@@ -2885,7 +4708,7 @@ declare class IntelligenceClient {
|
|
|
2885
4708
|
*
|
|
2886
4709
|
* Includes injuries, depth chart changes, role shifts, practice participation, and return-to-practice designations across all three sports. Signal severity is calculated based on fantasy impact: a DNP for a workhorse RB is `high`; a minor hamstring note for a backup is `low`.
|
|
2887
4710
|
*
|
|
2888
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
4711
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
2889
4712
|
*
|
|
2890
4713
|
* @param {PlaycallerApi.GetIntelligenceNewsRequest} request
|
|
2891
4714
|
* @param {IntelligenceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -2907,7 +4730,7 @@ declare class IntelligenceClient {
|
|
|
2907
4730
|
*
|
|
2908
4731
|
* 625+ active signals are re-scraped every 2 hours. High-severity signals are available before mainstream platforms aggregate them.
|
|
2909
4732
|
*
|
|
2910
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
4733
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
2911
4734
|
*
|
|
2912
4735
|
* @param {PlaycallerApi.GetIntelligenceInjuriesRequest} request
|
|
2913
4736
|
* @param {IntelligenceClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -2950,13 +4773,87 @@ declare class IntelligenceClient {
|
|
|
2950
4773
|
private __getAnalyticsTrends;
|
|
2951
4774
|
}
|
|
2952
4775
|
|
|
4776
|
+
declare namespace LeaguesClient {
|
|
4777
|
+
type Options = BaseClientOptions;
|
|
4778
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
4779
|
+
}
|
|
4780
|
+
}
|
|
4781
|
+
declare class LeaguesClient {
|
|
4782
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<LeaguesClient.Options>;
|
|
4783
|
+
constructor(options?: LeaguesClient.Options);
|
|
4784
|
+
/**
|
|
4785
|
+
* Returns standings, parity index, and Pythagorean playoff probabilities for all teams in a native PlayCaller league. The API key's email must match an active league member.
|
|
4786
|
+
*
|
|
4787
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
4788
|
+
*
|
|
4789
|
+
* @param {PlaycallerApi.GetLeagueHealthRequest} request
|
|
4790
|
+
* @param {LeaguesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4791
|
+
*
|
|
4792
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4793
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
4794
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4795
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4796
|
+
*
|
|
4797
|
+
* @example
|
|
4798
|
+
* await client.leagues.getLeagueHealth({
|
|
4799
|
+
* leagueId: 1
|
|
4800
|
+
* })
|
|
4801
|
+
*/
|
|
4802
|
+
getLeagueHealth(request: GetLeagueHealthRequest, requestOptions?: LeaguesClient.RequestOptions): HttpResponsePromise<GetLeagueHealthResponse>;
|
|
4803
|
+
private __getLeagueHealth;
|
|
4804
|
+
/**
|
|
4805
|
+
* Uses Claude Haiku to recommend optimal starters from your current roster, considering matchups, recent form, and injury status. Cached for 1 hour. The API key's email must match an active league member.
|
|
4806
|
+
*
|
|
4807
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
4808
|
+
*
|
|
4809
|
+
* @param {PlaycallerApi.GetLeagueStartSitRequest} request
|
|
4810
|
+
* @param {LeaguesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4811
|
+
*
|
|
4812
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4813
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
4814
|
+
* @throws {@link PlaycallerApi.NotFoundError}
|
|
4815
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4816
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4817
|
+
*
|
|
4818
|
+
* @example
|
|
4819
|
+
* await client.leagues.getLeagueStartSit({
|
|
4820
|
+
* leagueId: 1
|
|
4821
|
+
* })
|
|
4822
|
+
*/
|
|
4823
|
+
getLeagueStartSit(request: GetLeagueStartSitRequest, requestOptions?: LeaguesClient.RequestOptions): HttpResponsePromise<GetLeagueStartSitResponse>;
|
|
4824
|
+
private __getLeagueStartSit;
|
|
4825
|
+
/**
|
|
4826
|
+
* Submits a proposed trade for AI analysis. Returns a win/loss/fair verdict with per-player assessments, KTC dynasty values (NFL/NBA/MLB), confidence scores, and recent PPG context. The API key's email must match an active league member.
|
|
4827
|
+
*
|
|
4828
|
+
* **Tier access:** Pro Insights, Syndicate Alpha
|
|
4829
|
+
*
|
|
4830
|
+
* @param {PlaycallerApi.EvaluateTradeRequest} request
|
|
4831
|
+
* @param {LeaguesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4832
|
+
*
|
|
4833
|
+
* @throws {@link PlaycallerApi.BadRequestError}
|
|
4834
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
4835
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
4836
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4837
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
4838
|
+
*
|
|
4839
|
+
* @example
|
|
4840
|
+
* await client.leagues.evaluateTrade({
|
|
4841
|
+
* leagueId: 1,
|
|
4842
|
+
* give: ["pc_nfl_2374"],
|
|
4843
|
+
* get: ["pc_nfl_4046"]
|
|
4844
|
+
* })
|
|
4845
|
+
*/
|
|
4846
|
+
evaluateTrade(request: EvaluateTradeRequest, requestOptions?: LeaguesClient.RequestOptions): HttpResponsePromise<EvaluateTradeResponse>;
|
|
4847
|
+
private __evaluateTrade;
|
|
4848
|
+
}
|
|
4849
|
+
|
|
2953
4850
|
declare namespace McpClient {
|
|
2954
4851
|
type Options = BaseClientOptions;
|
|
2955
4852
|
interface RequestOptions extends BaseRequestOptions {
|
|
2956
4853
|
}
|
|
2957
4854
|
}
|
|
2958
4855
|
/**
|
|
2959
|
-
* Model Context Protocol server —
|
|
4856
|
+
* Model Context Protocol server — register PlayCaller as a tool in Claude Desktop, Cursor, Windsurf, or any MCP-compatible AI agent. Query live NFL injury reports, player stats, and anomaly scores directly from your AI coding environment.
|
|
2960
4857
|
*/
|
|
2961
4858
|
declare class McpClient {
|
|
2962
4859
|
protected readonly _options: NormalizedClientOptionsWithAuth<McpClient.Options>;
|
|
@@ -2978,7 +4875,7 @@ declare class McpClient {
|
|
|
2978
4875
|
/**
|
|
2979
4876
|
* The PlayCaller MCP server implements Anthropic's Model Context Protocol over HTTP transport. Send JSON-RPC 2.0 messages to invoke sports intelligence tools from any AI application.
|
|
2980
4877
|
*
|
|
2981
|
-
* **Available tools (
|
|
4878
|
+
* **Available tools (10):**
|
|
2982
4879
|
* - `get_injury_signals` — Active beat reporter signals filtered by sport/severity
|
|
2983
4880
|
* - `get_player_identity` — Resolve a player name or platform ID across ESPN, Sleeper, Yahoo, NFL.com
|
|
2984
4881
|
* - `get_anomaly_scores` — Players with usage patterns deviating from 3-season baseline (score 0–100)
|
|
@@ -2986,6 +4883,9 @@ declare class McpClient {
|
|
|
2986
4883
|
* - `get_player_projections` — AI fantasy point projections using recent game logs and injury signals
|
|
2987
4884
|
* - `get_player_stats` — Game log for any player by name across NFL/MLB/NBA historical_performance
|
|
2988
4885
|
* - `get_team_roster` — Active roster for any team by sport and abbreviation
|
|
4886
|
+
* - `get_games` — Schedule and scores for all 9 sports (NFL, MLB, NBA, NHL, CFB, Soccer, Tennis, Golf, UFC)
|
|
4887
|
+
* - `get_standings` — Division/conference standings for any sport and season
|
|
4888
|
+
* - `get_player_dossier` — Consolidated single-call profile: identity + injury + anomaly score + recent stats
|
|
2989
4889
|
*
|
|
2990
4890
|
* **Config for Cursor (.cursor/mcp.json):**
|
|
2991
4891
|
* ```json
|
|
@@ -2999,7 +4899,14 @@ declare class McpClient {
|
|
|
2999
4899
|
* }
|
|
3000
4900
|
* ```
|
|
3001
4901
|
*
|
|
3002
|
-
* **
|
|
4902
|
+
* **Get a free trial key instantly — no card required:**
|
|
4903
|
+
* ```bash
|
|
4904
|
+
* curl -X POST https://playcallerapp.com/mcp/start-trial \
|
|
4905
|
+
* -H "Content-Type: application/json" \
|
|
4906
|
+
* -d '{"email": "you@example.com"}'
|
|
4907
|
+
* ```
|
|
4908
|
+
*
|
|
4909
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3003
4910
|
*
|
|
3004
4911
|
* @param {PlaycallerApi.InvokeMcpToolRequest} request
|
|
3005
4912
|
* @param {McpClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3042,6 +4949,26 @@ declare class McpClient {
|
|
|
3042
4949
|
*/
|
|
3043
4950
|
invokeMcpTool(request: InvokeMcpToolRequest, requestOptions?: McpClient.RequestOptions): HttpResponsePromise<InvokeMcpToolResponse>;
|
|
3044
4951
|
private __invokeMcpTool;
|
|
4952
|
+
/**
|
|
4953
|
+
* Provisions a 14-day Sandbox API key and returns it immediately in the response body — no email verification gate, no credit card required. Use this to start calling PlayCaller MCP tools from Claude Desktop, Cursor, Windsurf, or any MCP-compatible AI agent within seconds.
|
|
4954
|
+
*
|
|
4955
|
+
* **Rate limit:** 5 requests per IP per hour
|
|
4956
|
+
*
|
|
4957
|
+
* **Trial limits:** 200 requests/day for 14 days (Sandbox tier). Upgrade at playcallerapp.com/developer#pricing to keep access.
|
|
4958
|
+
*
|
|
4959
|
+
* @param {PlaycallerApi.StartMcpTrialRequest} request
|
|
4960
|
+
* @param {McpClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
4961
|
+
*
|
|
4962
|
+
* @throws {@link PlaycallerApi.BadRequestError}
|
|
4963
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
4964
|
+
*
|
|
4965
|
+
* @example
|
|
4966
|
+
* await client.mcp.startMcpTrial({
|
|
4967
|
+
* email: "dev@example.com"
|
|
4968
|
+
* })
|
|
4969
|
+
*/
|
|
4970
|
+
startMcpTrial(request: StartMcpTrialRequest, requestOptions?: McpClient.RequestOptions): HttpResponsePromise<StartMcpTrialResponse>;
|
|
4971
|
+
private __startMcpTrial;
|
|
3045
4972
|
}
|
|
3046
4973
|
|
|
3047
4974
|
declare namespace MlbClient {
|
|
@@ -3050,7 +4977,7 @@ declare namespace MlbClient {
|
|
|
3050
4977
|
}
|
|
3051
4978
|
}
|
|
3052
4979
|
/**
|
|
3053
|
-
* MLB player data, game states, standings, and fantasy scoring
|
|
4980
|
+
* MLB player data, game states, standings, pitcher form scores, park factors, and fantasy scoring. Pitcher form model walk-forward validated.
|
|
3054
4981
|
*/
|
|
3055
4982
|
declare class MlbClient {
|
|
3056
4983
|
protected readonly _options: NormalizedClientOptionsWithAuth<MlbClient.Options>;
|
|
@@ -3060,7 +4987,7 @@ declare class MlbClient {
|
|
|
3060
4987
|
*
|
|
3061
4988
|
* Filter by position and team to build DFS pools or lineup constraints without doing the normalization yourself.
|
|
3062
4989
|
*
|
|
3063
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
4990
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3064
4991
|
*
|
|
3065
4992
|
* @param {PlaycallerApi.ListMlbPlayersRequest} request
|
|
3066
4993
|
* @param {MlbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3080,7 +5007,7 @@ declare class MlbClient {
|
|
|
3080
5007
|
/**
|
|
3081
5008
|
* Returns the full profile for a single MLB player by PlayCaller ID. Use `/v1/mlb/players?search=` to find IDs by name.
|
|
3082
5009
|
*
|
|
3083
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5010
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3084
5011
|
*
|
|
3085
5012
|
* @param {PlaycallerApi.GetMlbPlayerRequest} request
|
|
3086
5013
|
* @param {MlbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3100,7 +5027,7 @@ declare class MlbClient {
|
|
|
3100
5027
|
/**
|
|
3101
5028
|
* Returns daily batting and pitching stat lines with pre-calculated fantasy points. Useful for tracking recent form, streaks, and park-factor-adjusted production.
|
|
3102
5029
|
*
|
|
3103
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5030
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3104
5031
|
*
|
|
3105
5032
|
* @param {PlaycallerApi.GetMlbPlayerStatsRequest} request
|
|
3106
5033
|
* @param {MlbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3121,7 +5048,7 @@ declare class MlbClient {
|
|
|
3121
5048
|
/**
|
|
3122
5049
|
* Returns metadata for all 30 MLB teams including roster depth. Abbreviations are normalized (e.g. NYY, BOS, LAD).
|
|
3123
5050
|
*
|
|
3124
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5051
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3125
5052
|
*
|
|
3126
5053
|
* @param {MlbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3127
5054
|
*
|
|
@@ -3137,7 +5064,7 @@ declare class MlbClient {
|
|
|
3137
5064
|
/**
|
|
3138
5065
|
* Returns the active roster for a specific team. Filter by position to pull only starting pitchers or corner infielders for lineup construction.
|
|
3139
5066
|
*
|
|
3140
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5067
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3141
5068
|
*
|
|
3142
5069
|
* @param {PlaycallerApi.GetMlbTeamRosterRequest} request
|
|
3143
5070
|
* @param {MlbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3157,7 +5084,7 @@ declare class MlbClient {
|
|
|
3157
5084
|
/**
|
|
3158
5085
|
* Live inning-by-inning game state from the MLB Stats API pipeline. Defaults to today's games. Scores update on a polling cycle throughout the game day.
|
|
3159
5086
|
*
|
|
3160
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5087
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3161
5088
|
*
|
|
3162
5089
|
* @param {PlaycallerApi.ListMlbGamesRequest} request
|
|
3163
5090
|
* @param {MlbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3167,91 +5094,266 @@ declare class MlbClient {
|
|
|
3167
5094
|
* @throws {@link PlaycallerApi.InternalServerError}
|
|
3168
5095
|
*
|
|
3169
5096
|
* @example
|
|
3170
|
-
* await client.mlb.listMlbGames({
|
|
3171
|
-
* date: "2026-05-01"
|
|
5097
|
+
* await client.mlb.listMlbGames({
|
|
5098
|
+
* date: "2026-05-01"
|
|
5099
|
+
* })
|
|
5100
|
+
*/
|
|
5101
|
+
listMlbGames(request?: ListMlbGamesRequest, requestOptions?: MlbClient.RequestOptions): HttpResponsePromise<ListMlbGamesResponse>;
|
|
5102
|
+
private __listMlbGames;
|
|
5103
|
+
/**
|
|
5104
|
+
* Current MLB standings by division sourced from ESPN. Includes win %, streak, home/away splits, and runs differential.
|
|
5105
|
+
*
|
|
5106
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5107
|
+
*
|
|
5108
|
+
* @param {PlaycallerApi.GetMlbStandingsRequest} request
|
|
5109
|
+
* @param {MlbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5110
|
+
*
|
|
5111
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5112
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5113
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5114
|
+
*
|
|
5115
|
+
* @example
|
|
5116
|
+
* await client.mlb.getMlbStandings({
|
|
5117
|
+
* division: "AL East"
|
|
5118
|
+
* })
|
|
5119
|
+
*/
|
|
5120
|
+
getMlbStandings(request?: GetMlbStandingsRequest, requestOptions?: MlbClient.RequestOptions): HttpResponsePromise<GetMlbStandingsResponse>;
|
|
5121
|
+
private __getMlbStandings;
|
|
5122
|
+
/**
|
|
5123
|
+
* Top fantasy scorers for any game day, ranked by total points. Uses the PlayCaller scoring engine with standard roto weights (H, HR, RBI, SB, R, BB for batters; IP, K, SV for pitchers).
|
|
5124
|
+
*
|
|
5125
|
+
* Useful for identifying daily stack targets and late-swap pivots before lock.
|
|
5126
|
+
*
|
|
5127
|
+
* **Tier access:** Pro Insights, Syndicate Alpha
|
|
5128
|
+
*
|
|
5129
|
+
* @param {PlaycallerApi.GetMlbScoringLeadersRequest} request
|
|
5130
|
+
* @param {MlbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5131
|
+
*
|
|
5132
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5133
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
5134
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5135
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5136
|
+
*
|
|
5137
|
+
* @example
|
|
5138
|
+
* await client.mlb.getMlbScoringLeaders({
|
|
5139
|
+
* date: "2026-05-01",
|
|
5140
|
+
* team: "NYY"
|
|
5141
|
+
* })
|
|
5142
|
+
*/
|
|
5143
|
+
getMlbScoringLeaders(request?: GetMlbScoringLeadersRequest, requestOptions?: MlbClient.RequestOptions): HttpResponsePromise<GetMlbScoringLeadersResponse>;
|
|
5144
|
+
private __getMlbScoringLeaders;
|
|
5145
|
+
/**
|
|
5146
|
+
* Top 10 players per rotisserie scoring category (HR, RBI, SB, R, BB, IP, K, SV) for a given date. Ideal for roto league managers tracking category races and daily contributions.
|
|
5147
|
+
*
|
|
5148
|
+
* **Tier access:** Pro Insights, Syndicate Alpha
|
|
5149
|
+
*
|
|
5150
|
+
* @param {PlaycallerApi.GetMlbScoringCategoriesRequest} request
|
|
5151
|
+
* @param {MlbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5152
|
+
*
|
|
5153
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5154
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
5155
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5156
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5157
|
+
*
|
|
5158
|
+
* @example
|
|
5159
|
+
* await client.mlb.getMlbScoringCategories({
|
|
5160
|
+
* date: "2026-05-01"
|
|
5161
|
+
* })
|
|
5162
|
+
*/
|
|
5163
|
+
getMlbScoringCategories(request?: GetMlbScoringCategoriesRequest, requestOptions?: MlbClient.RequestOptions): HttpResponsePromise<GetMlbScoringCategoriesResponse>;
|
|
5164
|
+
private __getMlbScoringCategories;
|
|
5165
|
+
}
|
|
5166
|
+
|
|
5167
|
+
declare namespace MultiClient {
|
|
5168
|
+
type Options = BaseClientOptions;
|
|
5169
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
5170
|
+
}
|
|
5171
|
+
}
|
|
5172
|
+
/**
|
|
5173
|
+
* Multi-sport discovery, trending players, cross-sport player search, and public stats endpoints.
|
|
5174
|
+
*/
|
|
5175
|
+
declare class MultiClient {
|
|
5176
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<MultiClient.Options>;
|
|
5177
|
+
constructor(options?: MultiClient.Options);
|
|
5178
|
+
/**
|
|
5179
|
+
* Returns three proprietary ML-derived signals computed from the player's last 8 games:
|
|
5180
|
+
*
|
|
5181
|
+
* - **Consistency Score (0–100)** — how stable the player's usage/floor is. Higher = more reliable starter.
|
|
5182
|
+
* - **Momentum Delta** — signed float. Positive = trending up vs. prior 3-game baseline; negative = cooling off.
|
|
5183
|
+
* - **Opportunity Ceiling** — 90th-percentile fantasy output from the sample window. Represents the player's peak upside.
|
|
5184
|
+
*
|
|
5185
|
+
* Results are pre-computed weekly (Tuesday 3 AM ET, post-MNF) and cached. Fresh players compute on-the-fly.
|
|
5186
|
+
*
|
|
5187
|
+
* **Tier access:** Pro Insights, Syndicate Alpha
|
|
5188
|
+
*
|
|
5189
|
+
* @param {PlaycallerApi.GetPlayerAlphaMetricsRequest} request
|
|
5190
|
+
* @param {MultiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5191
|
+
*
|
|
5192
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5193
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
5194
|
+
* @throws {@link PlaycallerApi.NotFoundError}
|
|
5195
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5196
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5197
|
+
*
|
|
5198
|
+
* @example
|
|
5199
|
+
* await client.multi.getPlayerAlphaMetrics({
|
|
5200
|
+
* sport: "nfl",
|
|
5201
|
+
* id: "pc_nfl_001234"
|
|
5202
|
+
* })
|
|
5203
|
+
*/
|
|
5204
|
+
getPlayerAlphaMetrics(request: GetPlayerAlphaMetricsRequest, requestOptions?: MultiClient.RequestOptions): HttpResponsePromise<GetPlayerAlphaMetricsResponse>;
|
|
5205
|
+
private __getPlayerAlphaMetrics;
|
|
5206
|
+
/**
|
|
5207
|
+
* Returns the N most similar players by cosine distance across an 8-dimension stat-profile vector:
|
|
5208
|
+
*
|
|
5209
|
+
* 1. Average fantasy points
|
|
5210
|
+
* 2. Usage rate (snap% for NFL, minutes for NBA)
|
|
5211
|
+
* 3. Opportunity rate (target share for NFL, usage% for NBA)
|
|
5212
|
+
* 4. Average rushing yards
|
|
5213
|
+
* 5. Average receiving yards
|
|
5214
|
+
* 6. Consistency Score (from Alpha Metrics)
|
|
5215
|
+
* 7. Momentum Delta (normalized)
|
|
5216
|
+
* 8. Opportunity Ceiling (from Alpha Metrics)
|
|
5217
|
+
*
|
|
5218
|
+
* Use case: "Find WRs with the same profile as CeeDee Lamb," "Identify breakout candidates with similar usage to Cooper Kupp Year 2," DFS stack-building, dynasty trade comps.
|
|
5219
|
+
*
|
|
5220
|
+
* **Tier access:** Pro Insights, Syndicate Alpha
|
|
5221
|
+
*
|
|
5222
|
+
* @param {PlaycallerApi.GetSimilarPlayersRequest} request
|
|
5223
|
+
* @param {MultiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5224
|
+
*
|
|
5225
|
+
* @throws {@link PlaycallerApi.BadRequestError}
|
|
5226
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5227
|
+
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
5228
|
+
* @throws {@link PlaycallerApi.NotFoundError}
|
|
5229
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5230
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5231
|
+
*
|
|
5232
|
+
* @example
|
|
5233
|
+
* await client.multi.getSimilarPlayers({
|
|
5234
|
+
* id: "pc_nfl_001234",
|
|
5235
|
+
* sport: "nfl"
|
|
5236
|
+
* })
|
|
5237
|
+
*/
|
|
5238
|
+
getSimilarPlayers(request: GetSimilarPlayersRequest, requestOptions?: MultiClient.RequestOptions): HttpResponsePromise<GetSimilarPlayersResponse>;
|
|
5239
|
+
private __getSimilarPlayers;
|
|
5240
|
+
/**
|
|
5241
|
+
* Returns active beat reporter signals and injury reports for a specific player. Works across NFL, MLB, NBA, NHL, and all covered sports. Signals are refreshed every 2 hours.
|
|
5242
|
+
*
|
|
5243
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5244
|
+
*
|
|
5245
|
+
* @param {PlaycallerApi.GetPlayerNewsRequest} request
|
|
5246
|
+
* @param {MultiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5247
|
+
*
|
|
5248
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5249
|
+
* @throws {@link PlaycallerApi.NotFoundError}
|
|
5250
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5251
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5252
|
+
*
|
|
5253
|
+
* @example
|
|
5254
|
+
* await client.multi.getPlayerNews({
|
|
5255
|
+
* sport: "nfl",
|
|
5256
|
+
* id: "pc_nfl_001234"
|
|
5257
|
+
* })
|
|
5258
|
+
*/
|
|
5259
|
+
getPlayerNews(request: GetPlayerNewsRequest, requestOptions?: MultiClient.RequestOptions): HttpResponsePromise<GetPlayerNewsResponse>;
|
|
5260
|
+
private __getPlayerNews;
|
|
5261
|
+
/**
|
|
5262
|
+
* Returns all active beat reporter injury signals for a given team — every player with a reported injury, sorted by severity. Useful for opponent analysis, weekly lineup decisions, and DFS game-day research.
|
|
5263
|
+
*
|
|
5264
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5265
|
+
*
|
|
5266
|
+
* @param {PlaycallerApi.GetTeamInjuriesRequest} request
|
|
5267
|
+
* @param {MultiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5268
|
+
*
|
|
5269
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5270
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5271
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5272
|
+
*
|
|
5273
|
+
* @example
|
|
5274
|
+
* await client.multi.getTeamInjuries({
|
|
5275
|
+
* sport: "nfl",
|
|
5276
|
+
* team: "KC"
|
|
3172
5277
|
* })
|
|
3173
5278
|
*/
|
|
3174
|
-
|
|
3175
|
-
private
|
|
5279
|
+
getTeamInjuries(request: GetTeamInjuriesRequest, requestOptions?: MultiClient.RequestOptions): HttpResponsePromise<GetTeamInjuriesResponse>;
|
|
5280
|
+
private __getTeamInjuries;
|
|
3176
5281
|
/**
|
|
3177
|
-
*
|
|
5282
|
+
* Returns a team's game schedule — past results and upcoming games. NFL uses `nfl_games`; NBA, NHL, CFB, and Soccer use the ESPN live game feed. Filter by status to get only upcoming or only completed games.
|
|
3178
5283
|
*
|
|
3179
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5284
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3180
5285
|
*
|
|
3181
|
-
* @param {PlaycallerApi.
|
|
3182
|
-
* @param {
|
|
5286
|
+
* @param {PlaycallerApi.GetTeamScheduleRequest} request
|
|
5287
|
+
* @param {MultiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3183
5288
|
*
|
|
3184
5289
|
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
3185
5290
|
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
3186
5291
|
* @throws {@link PlaycallerApi.InternalServerError}
|
|
3187
5292
|
*
|
|
3188
5293
|
* @example
|
|
3189
|
-
* await client.
|
|
3190
|
-
*
|
|
5294
|
+
* await client.multi.getTeamSchedule({
|
|
5295
|
+
* sport: "nfl",
|
|
5296
|
+
* team: "KC"
|
|
3191
5297
|
* })
|
|
3192
5298
|
*/
|
|
3193
|
-
|
|
3194
|
-
private
|
|
5299
|
+
getTeamSchedule(request: GetTeamScheduleRequest, requestOptions?: MultiClient.RequestOptions): HttpResponsePromise<GetTeamScheduleResponse>;
|
|
5300
|
+
private __getTeamSchedule;
|
|
3195
5301
|
/**
|
|
3196
|
-
*
|
|
3197
|
-
*
|
|
3198
|
-
* Useful for identifying daily stack targets and late-swap pivots before lock.
|
|
5302
|
+
* Returns per-sport data freshness timestamps, player counts, active signal counts, and last anomaly scoring time. Use this to verify data recency before building time-sensitive features or to display "last updated" metadata to your users.
|
|
3199
5303
|
*
|
|
3200
|
-
* **Tier access:** Pro Insights, Syndicate Alpha
|
|
5304
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3201
5305
|
*
|
|
3202
|
-
* @param {
|
|
3203
|
-
* @param {MlbClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5306
|
+
* @param {MultiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3204
5307
|
*
|
|
3205
5308
|
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
3206
|
-
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
3207
5309
|
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
3208
5310
|
* @throws {@link PlaycallerApi.InternalServerError}
|
|
3209
5311
|
*
|
|
3210
5312
|
* @example
|
|
3211
|
-
* await client.
|
|
3212
|
-
* date: "2026-05-01",
|
|
3213
|
-
* team: "NYY"
|
|
3214
|
-
* })
|
|
5313
|
+
* await client.multi.getDataStatus()
|
|
3215
5314
|
*/
|
|
3216
|
-
|
|
3217
|
-
private
|
|
5315
|
+
getDataStatus(requestOptions?: MultiClient.RequestOptions): HttpResponsePromise<GetDataStatusResponse>;
|
|
5316
|
+
private __getDataStatus;
|
|
3218
5317
|
/**
|
|
3219
|
-
*
|
|
5318
|
+
* Returns a side-by-side comparison of two players — identity, active injury signals, anomaly/heat score, and last 5 games of stats. Use for start/sit decisions, trade analysis, or DFS lineup construction.
|
|
3220
5319
|
*
|
|
3221
|
-
* **Tier access:** Pro Insights, Syndicate Alpha
|
|
5320
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3222
5321
|
*
|
|
3223
|
-
* @param {PlaycallerApi.
|
|
3224
|
-
* @param {
|
|
5322
|
+
* @param {PlaycallerApi.ComparePlayersRequest} request
|
|
5323
|
+
* @param {MultiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3225
5324
|
*
|
|
5325
|
+
* @throws {@link PlaycallerApi.BadRequestError}
|
|
3226
5326
|
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
3227
|
-
* @throws {@link PlaycallerApi.ForbiddenError}
|
|
3228
5327
|
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
3229
5328
|
* @throws {@link PlaycallerApi.InternalServerError}
|
|
3230
5329
|
*
|
|
3231
5330
|
* @example
|
|
3232
|
-
* await client.
|
|
3233
|
-
*
|
|
5331
|
+
* await client.multi.comparePlayers({
|
|
5332
|
+
* player1: "Tyreek Hill",
|
|
5333
|
+
* player2: "Stefon Diggs"
|
|
3234
5334
|
* })
|
|
3235
5335
|
*/
|
|
3236
|
-
|
|
3237
|
-
private
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
5336
|
+
comparePlayers(request: ComparePlayersRequest, requestOptions?: MultiClient.RequestOptions): HttpResponsePromise<ComparePlayersResponse>;
|
|
5337
|
+
private __comparePlayers;
|
|
5338
|
+
/**
|
|
5339
|
+
* Server-Sent Events stream delivering live sports intelligence as it happens. Keep the connection open and receive events pushed by the server.
|
|
5340
|
+
*
|
|
5341
|
+
* **Events pushed:**
|
|
5342
|
+
* - `player.injured` — new injury signal detected
|
|
5343
|
+
* - `game.score_updated` — live score change
|
|
5344
|
+
* - `game.status_changed` — game state transition (scheduled → in_progress → final)
|
|
5345
|
+
* - `anomaly.detected` — statistical anomaly flagged
|
|
5346
|
+
*
|
|
5347
|
+
* Heartbeat `:heartbeat` comment sent every 30s to keep the connection alive.
|
|
5348
|
+
*
|
|
5349
|
+
* **Tier access:** Pro Insights, Syndicate Alpha
|
|
5350
|
+
*/
|
|
5351
|
+
streamEvents(request?: StreamEventsRequest, requestOptions?: MultiClient.RequestOptions): HttpResponsePromise<Stream<string>>;
|
|
5352
|
+
private __streamEvents;
|
|
3251
5353
|
/**
|
|
3252
5354
|
* Search across all 13,606 canonical player identities (NFL + MLB + NBA) by name, with optional sport and position filters. Returns matching players from all sports in a single call.
|
|
3253
5355
|
*
|
|
3254
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5356
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3255
5357
|
*
|
|
3256
5358
|
* @param {PlaycallerApi.SearchPlayersRequest} request
|
|
3257
5359
|
* @param {MultiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3272,7 +5374,7 @@ declare class MultiClient {
|
|
|
3272
5374
|
/**
|
|
3273
5375
|
* Raw trending-topic rows refreshed on a ~2-hour cadence. Contextual social signal, not a model output — no tier gate.
|
|
3274
5376
|
*
|
|
3275
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5377
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3276
5378
|
*
|
|
3277
5379
|
* @param {PlaycallerApi.GetTrendingRequest} request
|
|
3278
5380
|
* @param {MultiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3332,7 +5434,7 @@ declare class MultiClient {
|
|
|
3332
5434
|
/**
|
|
3333
5435
|
* Returns all supported sports with their available endpoints and status. Use this to programmatically discover which data is live vs. coming soon for your tier.
|
|
3334
5436
|
*
|
|
3335
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5437
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3336
5438
|
*
|
|
3337
5439
|
* @param {MultiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3338
5440
|
*
|
|
@@ -3348,7 +5450,7 @@ declare class MultiClient {
|
|
|
3348
5450
|
/**
|
|
3349
5451
|
* Public endpoint returning live platform statistics: registered users, active signals, total players tracked, sports covered, and platforms integrated. No API key required.
|
|
3350
5452
|
*
|
|
3351
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5453
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3352
5454
|
*
|
|
3353
5455
|
* @param {MultiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3354
5456
|
*
|
|
@@ -3365,7 +5467,7 @@ declare namespace NbaClient {
|
|
|
3365
5467
|
}
|
|
3366
5468
|
}
|
|
3367
5469
|
/**
|
|
3368
|
-
* NBA game scores, standings, teams, player profiles, and
|
|
5470
|
+
* NBA game scores, standings, teams, player profiles, game logs (5 seasons / 127k rows), and confidence scores (AUC 0.855).
|
|
3369
5471
|
*/
|
|
3370
5472
|
declare class NbaClient {
|
|
3371
5473
|
protected readonly _options: NormalizedClientOptionsWithAuth<NbaClient.Options>;
|
|
@@ -3373,7 +5475,7 @@ declare class NbaClient {
|
|
|
3373
5475
|
/**
|
|
3374
5476
|
* Live scores and scheduled NBA games from the ESPN feed. Includes venue, broadcast network, period clock, and team logos for display-ready integrations.
|
|
3375
5477
|
*
|
|
3376
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5478
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3377
5479
|
*
|
|
3378
5480
|
* @param {PlaycallerApi.ListNbaGamesRequest} request
|
|
3379
5481
|
* @param {NbaClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3392,7 +5494,7 @@ declare class NbaClient {
|
|
|
3392
5494
|
/**
|
|
3393
5495
|
* Current NBA standings including conference, division, win %, streak, and home/away split records. Filterable by conference.
|
|
3394
5496
|
*
|
|
3395
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5497
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3396
5498
|
*
|
|
3397
5499
|
* @param {PlaycallerApi.GetNbaStandingsRequest} request
|
|
3398
5500
|
* @param {NbaClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3409,7 +5511,7 @@ declare class NbaClient {
|
|
|
3409
5511
|
/**
|
|
3410
5512
|
* All 30 NBA teams with conference, division, and ESPN team logo URL. Filterable by conference.
|
|
3411
5513
|
*
|
|
3412
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5514
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3413
5515
|
*
|
|
3414
5516
|
* @param {PlaycallerApi.ListNbaTeamsRequest} request
|
|
3415
5517
|
* @param {NbaClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3426,7 +5528,7 @@ declare class NbaClient {
|
|
|
3426
5528
|
/**
|
|
3427
5529
|
* 3,252 NBA players from player_identities (same identity-resolution pipeline as MLB). Searchable by name, position, or team. No jersey number or headshot URL is currently returned (despite earlier docs claiming otherwise — corrected 2026-06-24 against a live response).
|
|
3428
5530
|
*
|
|
3429
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5531
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3430
5532
|
*
|
|
3431
5533
|
* @param {PlaycallerApi.ListNbaPlayersRequest} request
|
|
3432
5534
|
* @param {NbaClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3446,7 +5548,7 @@ declare class NbaClient {
|
|
|
3446
5548
|
/**
|
|
3447
5549
|
* Full profile for a single NBA player by PlayCaller ID. Returns platform IDs, team, position, and status.
|
|
3448
5550
|
*
|
|
3449
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5551
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3450
5552
|
*
|
|
3451
5553
|
* @param {PlaycallerApi.GetNbaPlayerRequest} request
|
|
3452
5554
|
* @param {NbaClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3466,7 +5568,7 @@ declare class NbaClient {
|
|
|
3466
5568
|
/**
|
|
3467
5569
|
* Game logs from `historical_performance` for an NBA player (127,909 rows across 5 seasons, 2021–2025). Returns fantasy points and box score stats per game.
|
|
3468
5570
|
*
|
|
3469
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5571
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3470
5572
|
*
|
|
3471
5573
|
* @param {PlaycallerApi.GetNbaPlayerStatsRequest} request
|
|
3472
5574
|
* @param {NbaClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3486,7 +5588,7 @@ declare class NbaClient {
|
|
|
3486
5588
|
/**
|
|
3487
5589
|
* Active roster for a specific NBA team. Returns all players from `player_identities` for the requested team abbreviation.
|
|
3488
5590
|
*
|
|
3489
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5591
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3490
5592
|
*
|
|
3491
5593
|
* @param {PlaycallerApi.GetNbaTeamRosterRequest} request
|
|
3492
5594
|
* @param {NbaClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3532,7 +5634,7 @@ declare namespace NflClient {
|
|
|
3532
5634
|
}
|
|
3533
5635
|
}
|
|
3534
5636
|
/**
|
|
3535
|
-
* NFL players, games, standings,
|
|
5637
|
+
* NFL players, games, standings, team rosters, injury reports, consensus ADP, opportunity trend scores, and start/sit signals. 2024 season backfilled; 2025 schedule live.
|
|
3536
5638
|
*/
|
|
3537
5639
|
declare class NflClient {
|
|
3538
5640
|
protected readonly _options: NormalizedClientOptionsWithAuth<NflClient.Options>;
|
|
@@ -3540,7 +5642,7 @@ declare class NflClient {
|
|
|
3540
5642
|
/**
|
|
3541
5643
|
* Returns metadata for all 32 NFL teams including conference, division, and live roster counts from `player_identities`.
|
|
3542
5644
|
*
|
|
3543
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5645
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3544
5646
|
*
|
|
3545
5647
|
* @param {PlaycallerApi.ListNflTeamsRequest} request
|
|
3546
5648
|
* @param {NflClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3559,7 +5661,7 @@ declare class NflClient {
|
|
|
3559
5661
|
/**
|
|
3560
5662
|
* Active roster for a specific NFL team from `player_identities`. Filter by position to pull only QBs, WRs, or RBs.
|
|
3561
5663
|
*
|
|
3562
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5664
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3563
5665
|
*
|
|
3564
5666
|
* @param {PlaycallerApi.GetNflTeamRosterRequest} request
|
|
3565
5667
|
* @param {NflClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3579,7 +5681,7 @@ declare class NflClient {
|
|
|
3579
5681
|
/**
|
|
3580
5682
|
* All NFL players from the canonical `player_identities` table. Searchable by name, position, or team. Same identity-resolution pipeline as MLB and NBA.
|
|
3581
5683
|
*
|
|
3582
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5684
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3583
5685
|
*
|
|
3584
5686
|
* @param {PlaycallerApi.ListNflPlayersRequest} request
|
|
3585
5687
|
* @param {NflClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3596,10 +5698,27 @@ declare class NflClient {
|
|
|
3596
5698
|
*/
|
|
3597
5699
|
listNflPlayers(request?: ListNflPlayersRequest, requestOptions?: NflClient.RequestOptions): HttpResponsePromise<ListNflPlayersResponse>;
|
|
3598
5700
|
private __listNflPlayers;
|
|
5701
|
+
/**
|
|
5702
|
+
* Players ranked by consensus Average Draft Position (ADP), blended from Sleeper and FantasyCalc. Includes position rank, tier, and our validated confidence score where available. Refreshed weekly.
|
|
5703
|
+
*
|
|
5704
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5705
|
+
*
|
|
5706
|
+
* @param {PlaycallerApi.GetNflRankingsRequest} request
|
|
5707
|
+
* @param {NflClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5708
|
+
*
|
|
5709
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5710
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5711
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5712
|
+
*
|
|
5713
|
+
* @example
|
|
5714
|
+
* await client.nfl.getNflRankings()
|
|
5715
|
+
*/
|
|
5716
|
+
getNflRankings(request?: GetNflRankingsRequest, requestOptions?: NflClient.RequestOptions): HttpResponsePromise<GetNflRankingsResponse>;
|
|
5717
|
+
private __getNflRankings;
|
|
3599
5718
|
/**
|
|
3600
5719
|
* Full profile for a single NFL player including team metadata, conference/division, and platform-resolved status.
|
|
3601
5720
|
*
|
|
3602
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5721
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3603
5722
|
*
|
|
3604
5723
|
* @param {PlaycallerApi.GetNflPlayerRequest} request
|
|
3605
5724
|
* @param {NflClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3619,7 +5738,7 @@ declare class NflClient {
|
|
|
3619
5738
|
/**
|
|
3620
5739
|
* Game-by-game stat lines from `historical_performance`. Covers NFL 2024 full season (weeks 1–18, ~4,400 records). Returns passing/rushing/receiving splits and fantasy points.
|
|
3621
5740
|
*
|
|
3622
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5741
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3623
5742
|
*
|
|
3624
5743
|
* @param {PlaycallerApi.GetNflPlayerStatsRequest} request
|
|
3625
5744
|
* @param {NflClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3639,7 +5758,7 @@ declare class NflClient {
|
|
|
3639
5758
|
/**
|
|
3640
5759
|
* NFL schedule and game results from `nfl_games`. Covers the 2026 season (285 games scheduled) with 2024 results backfilled. Filter by season, week, or status.
|
|
3641
5760
|
*
|
|
3642
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5761
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3643
5762
|
*
|
|
3644
5763
|
* @param {PlaycallerApi.ListNflGamesRequest} request
|
|
3645
5764
|
* @param {NflClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3656,7 +5775,7 @@ declare class NflClient {
|
|
|
3656
5775
|
/**
|
|
3657
5776
|
* NFL division standings computed from `nfl_games` results (W/L/T record, win %). Grouped by conference and division.
|
|
3658
5777
|
*
|
|
3659
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
5778
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3660
5779
|
*
|
|
3661
5780
|
* @param {PlaycallerApi.GetNflStandingsRequest} request
|
|
3662
5781
|
* @param {NflClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3674,21 +5793,253 @@ declare class NflClient {
|
|
|
3674
5793
|
private __getNflStandings;
|
|
3675
5794
|
}
|
|
3676
5795
|
|
|
5796
|
+
declare namespace NhlClient {
|
|
5797
|
+
type Options = BaseClientOptions;
|
|
5798
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
5799
|
+
}
|
|
5800
|
+
}
|
|
5801
|
+
/**
|
|
5802
|
+
* NHL game scores and standings.
|
|
5803
|
+
*/
|
|
5804
|
+
declare class NhlClient {
|
|
5805
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<NhlClient.Options>;
|
|
5806
|
+
constructor(options?: NhlClient.Options);
|
|
5807
|
+
/**
|
|
5808
|
+
* Current day scores, live updates, and upcoming schedule for NHL games. Polled every 30 min during game windows.
|
|
5809
|
+
*
|
|
5810
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5811
|
+
*
|
|
5812
|
+
* @param {PlaycallerApi.GetNhlGamesRequest} request
|
|
5813
|
+
* @param {NhlClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5814
|
+
*
|
|
5815
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5816
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5817
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5818
|
+
*
|
|
5819
|
+
* @example
|
|
5820
|
+
* await client.nhl.getNhlGames({
|
|
5821
|
+
* date: "today"
|
|
5822
|
+
* })
|
|
5823
|
+
*/
|
|
5824
|
+
getNhlGames(request?: GetNhlGamesRequest, requestOptions?: NhlClient.RequestOptions): HttpResponsePromise<GetNhlGamesResponse>;
|
|
5825
|
+
private __getNhlGames;
|
|
5826
|
+
/**
|
|
5827
|
+
* Current NHL standings including wins, losses, OT losses, points, and division/conference breakdown.
|
|
5828
|
+
*
|
|
5829
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5830
|
+
*
|
|
5831
|
+
* @param {PlaycallerApi.GetNhlStandingsRequest} request
|
|
5832
|
+
* @param {NhlClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5833
|
+
*
|
|
5834
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5835
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5836
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5837
|
+
*
|
|
5838
|
+
* @example
|
|
5839
|
+
* await client.nhl.getNhlStandings({
|
|
5840
|
+
* division: "Atlantic"
|
|
5841
|
+
* })
|
|
5842
|
+
*/
|
|
5843
|
+
getNhlStandings(request?: GetNhlStandingsRequest, requestOptions?: NhlClient.RequestOptions): HttpResponsePromise<GetNhlStandingsResponse>;
|
|
5844
|
+
private __getNhlStandings;
|
|
5845
|
+
/**
|
|
5846
|
+
* Full list of NHL teams with division/conference, active player counts, and roster links. 1,047 players seeded.
|
|
5847
|
+
*
|
|
5848
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5849
|
+
*
|
|
5850
|
+
* @param {PlaycallerApi.GetNhlTeamsRequest} request
|
|
5851
|
+
* @param {NhlClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5852
|
+
*
|
|
5853
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5854
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5855
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5856
|
+
*
|
|
5857
|
+
* @example
|
|
5858
|
+
* await client.nhl.getNhlTeams({
|
|
5859
|
+
* conference: "Eastern",
|
|
5860
|
+
* division: "Atlantic"
|
|
5861
|
+
* })
|
|
5862
|
+
*/
|
|
5863
|
+
getNhlTeams(request?: GetNhlTeamsRequest, requestOptions?: NhlClient.RequestOptions): HttpResponsePromise<GetNhlTeamsResponse>;
|
|
5864
|
+
private __getNhlTeams;
|
|
5865
|
+
/**
|
|
5866
|
+
* Active roster for an NHL team by team abbreviation (e.g. BOS, NYR, TOR). Supports position filter.
|
|
5867
|
+
*
|
|
5868
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5869
|
+
*
|
|
5870
|
+
* @param {PlaycallerApi.GetNhlTeamRosterRequest} request
|
|
5871
|
+
* @param {NhlClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5872
|
+
*
|
|
5873
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5874
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5875
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5876
|
+
*
|
|
5877
|
+
* @example
|
|
5878
|
+
* await client.nhl.getNhlTeamRoster({
|
|
5879
|
+
* team: "BOS",
|
|
5880
|
+
* position: "C"
|
|
5881
|
+
* })
|
|
5882
|
+
*/
|
|
5883
|
+
getNhlTeamRoster(request: GetNhlTeamRosterRequest, requestOptions?: NhlClient.RequestOptions): HttpResponsePromise<GetNhlTeamRosterResponse>;
|
|
5884
|
+
private __getNhlTeamRoster;
|
|
5885
|
+
/**
|
|
5886
|
+
* 1,047 NHL players across all 32 teams. Supports ?search=, ?team=, ?position= filters and pagination.
|
|
5887
|
+
*
|
|
5888
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5889
|
+
*
|
|
5890
|
+
* @param {PlaycallerApi.GetNhlPlayersRequest} request
|
|
5891
|
+
* @param {NhlClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5892
|
+
*
|
|
5893
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5894
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5895
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5896
|
+
*
|
|
5897
|
+
* @example
|
|
5898
|
+
* await client.nhl.getNhlPlayers({
|
|
5899
|
+
* search: "Ovechkin",
|
|
5900
|
+
* team: "WSH",
|
|
5901
|
+
* position: "C"
|
|
5902
|
+
* })
|
|
5903
|
+
*/
|
|
5904
|
+
getNhlPlayers(request?: GetNhlPlayersRequest, requestOptions?: NhlClient.RequestOptions): HttpResponsePromise<GetNhlPlayersResponse>;
|
|
5905
|
+
private __getNhlPlayers;
|
|
5906
|
+
/**
|
|
5907
|
+
* Individual NHL player by PlayCaller ID (pc_nhl_XXXXXX). Returns full profile including age, jersey number, and position.
|
|
5908
|
+
*
|
|
5909
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5910
|
+
*
|
|
5911
|
+
* @param {PlaycallerApi.GetNhlPlayerByIdRequest} request
|
|
5912
|
+
* @param {NhlClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5913
|
+
*
|
|
5914
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5915
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5916
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5917
|
+
*
|
|
5918
|
+
* @example
|
|
5919
|
+
* await client.nhl.getNhlPlayerById({
|
|
5920
|
+
* id: "pc_nhl_3024910"
|
|
5921
|
+
* })
|
|
5922
|
+
*/
|
|
5923
|
+
getNhlPlayerById(request: GetNhlPlayerByIdRequest, requestOptions?: NhlClient.RequestOptions): HttpResponsePromise<GetNhlPlayerByIdResponse>;
|
|
5924
|
+
private __getNhlPlayerById;
|
|
5925
|
+
/**
|
|
5926
|
+
* Per-game stat history for an NHL player — points, goals, assists, and fantasy points. Returns most recent season by default.
|
|
5927
|
+
*
|
|
5928
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5929
|
+
*
|
|
5930
|
+
* @param {PlaycallerApi.GetNhlPlayerStatsRequest} request
|
|
5931
|
+
* @param {NhlClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5932
|
+
*
|
|
5933
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5934
|
+
* @throws {@link PlaycallerApi.NotFoundError}
|
|
5935
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5936
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5937
|
+
*
|
|
5938
|
+
* @example
|
|
5939
|
+
* await client.nhl.getNhlPlayerStats({
|
|
5940
|
+
* id: "pc_nhl_3024910"
|
|
5941
|
+
* })
|
|
5942
|
+
*/
|
|
5943
|
+
getNhlPlayerStats(request: GetNhlPlayerStatsRequest, requestOptions?: NhlClient.RequestOptions): HttpResponsePromise<GetNhlPlayerStatsResponse>;
|
|
5944
|
+
private __getNhlPlayerStats;
|
|
5945
|
+
}
|
|
5946
|
+
|
|
3677
5947
|
declare namespace SoccerClient {
|
|
3678
5948
|
type Options = BaseClientOptions;
|
|
3679
5949
|
interface RequestOptions extends BaseRequestOptions {
|
|
3680
5950
|
}
|
|
3681
5951
|
}
|
|
3682
5952
|
/**
|
|
3683
|
-
* Soccer match scores and league tables
|
|
5953
|
+
* Soccer match scores and league tables — EPL, MLS, La Liga, Bundesliga, Serie A, Champions League.
|
|
3684
5954
|
*/
|
|
3685
5955
|
declare class SoccerClient {
|
|
3686
5956
|
protected readonly _options: NormalizedClientOptionsWithAuth<SoccerClient.Options>;
|
|
3687
5957
|
constructor(options?: SoccerClient.Options);
|
|
5958
|
+
/**
|
|
5959
|
+
* 2,500+ players across EPL, MLS, La Liga, Bundesliga, and Serie A. Supports ?search=, ?team=, ?league=, ?position= filters.
|
|
5960
|
+
*
|
|
5961
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5962
|
+
*
|
|
5963
|
+
* @param {PlaycallerApi.GetSoccerPlayersRequest} request
|
|
5964
|
+
* @param {SoccerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5965
|
+
*
|
|
5966
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5967
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5968
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5969
|
+
*
|
|
5970
|
+
* @example
|
|
5971
|
+
* await client.soccer.getSoccerPlayers({
|
|
5972
|
+
* search: "Salah",
|
|
5973
|
+
* team: "ARS",
|
|
5974
|
+
* league: "eng.1",
|
|
5975
|
+
* position: "F"
|
|
5976
|
+
* })
|
|
5977
|
+
*/
|
|
5978
|
+
getSoccerPlayers(request?: GetSoccerPlayersRequest, requestOptions?: SoccerClient.RequestOptions): HttpResponsePromise<GetSoccerPlayersResponse>;
|
|
5979
|
+
private __getSoccerPlayers;
|
|
5980
|
+
/**
|
|
5981
|
+
* Individual soccer player by PlayCaller ID. Returns full profile including league, club, position, and status.
|
|
5982
|
+
*
|
|
5983
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
5984
|
+
*
|
|
5985
|
+
* @param {PlaycallerApi.GetSoccerPlayerByIdRequest} request
|
|
5986
|
+
* @param {SoccerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
5987
|
+
*
|
|
5988
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
5989
|
+
* @throws {@link PlaycallerApi.NotFoundError}
|
|
5990
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
5991
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
5992
|
+
*
|
|
5993
|
+
* @example
|
|
5994
|
+
* await client.soccer.getSoccerPlayerById({
|
|
5995
|
+
* id: "pc_soccer_312182"
|
|
5996
|
+
* })
|
|
5997
|
+
*/
|
|
5998
|
+
getSoccerPlayerById(request: GetSoccerPlayerByIdRequest, requestOptions?: SoccerClient.RequestOptions): HttpResponsePromise<GetSoccerPlayerByIdResponse>;
|
|
5999
|
+
private __getSoccerPlayerById;
|
|
6000
|
+
/**
|
|
6001
|
+
* All teams across covered leagues with player counts. Filter by ?league= (eng.1, usa.1, esp.1, ger.1, ita.1).
|
|
6002
|
+
*
|
|
6003
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
6004
|
+
*
|
|
6005
|
+
* @param {PlaycallerApi.GetSoccerTeamsRequest} request
|
|
6006
|
+
* @param {SoccerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
6007
|
+
*
|
|
6008
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
6009
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
6010
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
6011
|
+
*
|
|
6012
|
+
* @example
|
|
6013
|
+
* await client.soccer.getSoccerTeams({
|
|
6014
|
+
* league: "eng.1"
|
|
6015
|
+
* })
|
|
6016
|
+
*/
|
|
6017
|
+
getSoccerTeams(request?: GetSoccerTeamsRequest, requestOptions?: SoccerClient.RequestOptions): HttpResponsePromise<GetSoccerTeamsResponse>;
|
|
6018
|
+
private __getSoccerTeams;
|
|
6019
|
+
/**
|
|
6020
|
+
* Active roster for a soccer club. Includes position, nationality, and jersey number.
|
|
6021
|
+
*
|
|
6022
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
6023
|
+
*
|
|
6024
|
+
* @param {PlaycallerApi.GetSoccerTeamRosterRequest} request
|
|
6025
|
+
* @param {SoccerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
6026
|
+
*
|
|
6027
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
6028
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
6029
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
6030
|
+
*
|
|
6031
|
+
* @example
|
|
6032
|
+
* await client.soccer.getSoccerTeamRoster({
|
|
6033
|
+
* team: "ARS",
|
|
6034
|
+
* position: "GK"
|
|
6035
|
+
* })
|
|
6036
|
+
*/
|
|
6037
|
+
getSoccerTeamRoster(request: GetSoccerTeamRosterRequest, requestOptions?: SoccerClient.RequestOptions): HttpResponsePromise<GetSoccerTeamRosterResponse>;
|
|
6038
|
+
private __getSoccerTeamRoster;
|
|
3688
6039
|
/**
|
|
3689
6040
|
* Live and historical match scores for EPL and MLS. Includes team logos, venue, broadcast, and score state for display-ready applications.
|
|
3690
6041
|
*
|
|
3691
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
6042
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3692
6043
|
*
|
|
3693
6044
|
* @param {PlaycallerApi.ListSoccerGamesRequest} request
|
|
3694
6045
|
* @param {SoccerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3705,9 +6056,9 @@ declare class SoccerClient {
|
|
|
3705
6056
|
listSoccerGames(request?: ListSoccerGamesRequest, requestOptions?: SoccerClient.RequestOptions): HttpResponsePromise<ListSoccerGamesResponse>;
|
|
3706
6057
|
private __listSoccerGames;
|
|
3707
6058
|
/**
|
|
3708
|
-
* Current league tables for EPL and
|
|
6059
|
+
* Current league tables for EPL, MLS, La Liga, Bundesliga, Serie A, and Champions League. Includes points, goal difference, wins, draws, losses, and home/away splits.
|
|
3709
6060
|
*
|
|
3710
|
-
* **Tier access:** Developer Sandbox, Build, Pro Insights, Syndicate Alpha
|
|
6061
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
3711
6062
|
*
|
|
3712
6063
|
* @param {PlaycallerApi.GetSoccerStandingsRequest} request
|
|
3713
6064
|
* @param {SoccerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3723,6 +6074,85 @@ declare class SoccerClient {
|
|
|
3723
6074
|
private __getSoccerStandings;
|
|
3724
6075
|
}
|
|
3725
6076
|
|
|
6077
|
+
declare namespace TennisClient {
|
|
6078
|
+
type Options = BaseClientOptions;
|
|
6079
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
6080
|
+
}
|
|
6081
|
+
}
|
|
6082
|
+
/**
|
|
6083
|
+
* ATP and WTA match results and schedules.
|
|
6084
|
+
*/
|
|
6085
|
+
declare class TennisClient {
|
|
6086
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<TennisClient.Options>;
|
|
6087
|
+
constructor(options?: TennisClient.Options);
|
|
6088
|
+
/**
|
|
6089
|
+
* Live and completed tennis matches across ATP and WTA tours. Returns player names, set scores, and match status.
|
|
6090
|
+
*
|
|
6091
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
6092
|
+
*
|
|
6093
|
+
* @param {PlaycallerApi.GetTennisMatchesRequest} request
|
|
6094
|
+
* @param {TennisClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
6095
|
+
*
|
|
6096
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
6097
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
6098
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
6099
|
+
*
|
|
6100
|
+
* @example
|
|
6101
|
+
* await client.tennis.getTennisMatches({
|
|
6102
|
+
* date: "today"
|
|
6103
|
+
* })
|
|
6104
|
+
*/
|
|
6105
|
+
getTennisMatches(request?: GetTennisMatchesRequest, requestOptions?: TennisClient.RequestOptions): HttpResponsePromise<GetTennisMatchesResponse>;
|
|
6106
|
+
private __getTennisMatches;
|
|
6107
|
+
}
|
|
6108
|
+
|
|
6109
|
+
declare namespace UfcClient {
|
|
6110
|
+
type Options = BaseClientOptions;
|
|
6111
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
6112
|
+
}
|
|
6113
|
+
}
|
|
6114
|
+
/**
|
|
6115
|
+
* UFC fight cards, bout results, and fighter rosters.
|
|
6116
|
+
*/
|
|
6117
|
+
declare class UfcClient {
|
|
6118
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<UfcClient.Options>;
|
|
6119
|
+
constructor(options?: UfcClient.Options);
|
|
6120
|
+
/**
|
|
6121
|
+
* Returns upcoming and recent UFC fight cards. Each row is one bout — group by `card_name` / `card_date` on the client side to reconstruct the full card.
|
|
6122
|
+
*
|
|
6123
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
6124
|
+
*
|
|
6125
|
+
* @param {PlaycallerApi.GetUfcEventsRequest} request
|
|
6126
|
+
* @param {UfcClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
6127
|
+
*
|
|
6128
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
6129
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
6130
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
6131
|
+
*
|
|
6132
|
+
* @example
|
|
6133
|
+
* await client.ufc.getUfcEvents()
|
|
6134
|
+
*/
|
|
6135
|
+
getUfcEvents(request?: GetUfcEventsRequest, requestOptions?: UfcClient.RequestOptions): HttpResponsePromise<GetUfcEventsResponse>;
|
|
6136
|
+
private __getUfcEvents;
|
|
6137
|
+
/**
|
|
6138
|
+
* Returns all fighters appearing on upcoming or recent UFC cards, with their next scheduled fight date and card name.
|
|
6139
|
+
*
|
|
6140
|
+
* **Tier access:** Developer Sandbox, Build, Growth, Pro Insights, Syndicate Alpha
|
|
6141
|
+
*
|
|
6142
|
+
* @param {PlaycallerApi.GetUfcFightersRequest} request
|
|
6143
|
+
* @param {UfcClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
6144
|
+
*
|
|
6145
|
+
* @throws {@link PlaycallerApi.UnauthorizedError}
|
|
6146
|
+
* @throws {@link PlaycallerApi.TooManyRequestsError}
|
|
6147
|
+
* @throws {@link PlaycallerApi.InternalServerError}
|
|
6148
|
+
*
|
|
6149
|
+
* @example
|
|
6150
|
+
* await client.ufc.getUfcFighters()
|
|
6151
|
+
*/
|
|
6152
|
+
getUfcFighters(request?: GetUfcFightersRequest, requestOptions?: UfcClient.RequestOptions): HttpResponsePromise<GetUfcFightersResponse>;
|
|
6153
|
+
private __getUfcFighters;
|
|
6154
|
+
}
|
|
6155
|
+
|
|
3726
6156
|
declare namespace PlaycallerApiClient {
|
|
3727
6157
|
type Options = BaseClientOptions;
|
|
3728
6158
|
interface RequestOptions extends BaseRequestOptions {
|
|
@@ -3735,9 +6165,14 @@ declare class PlaycallerApiClient {
|
|
|
3735
6165
|
protected _nba: NbaClient | undefined;
|
|
3736
6166
|
protected _nfl: NflClient | undefined;
|
|
3737
6167
|
protected _multi: MultiClient | undefined;
|
|
6168
|
+
protected _leagues: LeaguesClient | undefined;
|
|
6169
|
+
protected _account: AccountClient | undefined;
|
|
3738
6170
|
protected _cfb: CfbClient | undefined;
|
|
3739
6171
|
protected _soccer: SoccerClient | undefined;
|
|
3740
|
-
protected
|
|
6172
|
+
protected _nhl: NhlClient | undefined;
|
|
6173
|
+
protected _tennis: TennisClient | undefined;
|
|
6174
|
+
protected _golf: GolfClient | undefined;
|
|
6175
|
+
protected _ufc: UfcClient | undefined;
|
|
3741
6176
|
protected _mcp: McpClient | undefined;
|
|
3742
6177
|
constructor(options?: PlaycallerApiClient.Options);
|
|
3743
6178
|
get intelligence(): IntelligenceClient;
|
|
@@ -3745,9 +6180,14 @@ declare class PlaycallerApiClient {
|
|
|
3745
6180
|
get nba(): NbaClient;
|
|
3746
6181
|
get nfl(): NflClient;
|
|
3747
6182
|
get multi(): MultiClient;
|
|
6183
|
+
get leagues(): LeaguesClient;
|
|
6184
|
+
get account(): AccountClient;
|
|
3748
6185
|
get cfb(): CfbClient;
|
|
3749
6186
|
get soccer(): SoccerClient;
|
|
3750
|
-
get
|
|
6187
|
+
get nhl(): NhlClient;
|
|
6188
|
+
get tennis(): TennisClient;
|
|
6189
|
+
get golf(): GolfClient;
|
|
6190
|
+
get ufc(): UfcClient;
|
|
3751
6191
|
get mcp(): McpClient;
|
|
3752
6192
|
/**
|
|
3753
6193
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|