@playcaller/sdk 0.4.0 → 0.4.2

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 CHANGED
@@ -3584,6 +3584,9 @@ interface OptimizeLineupResponse {
3584
3584
  salary_remaining?: number | undefined;
3585
3585
  projected_points?: number | undefined;
3586
3586
  optimization_method?: string | undefined;
3587
+ /** Players in the lineup that have an alpha (opportunity ceiling) metric */
3588
+ alpha_metric_players?: number | undefined;
3589
+ /** Always null: there is no validated lineup confidence model */
3587
3590
  confidence?: (string | null) | undefined;
3588
3591
  }
3589
3592
  declare namespace OptimizeLineupResponse {
@@ -4024,8 +4027,13 @@ declare namespace GetNbaConfidenceResponse {
4024
4027
  }
4025
4028
  }
4026
4029
  interface ModelAudit {
4030
+ model_version?: string | undefined;
4027
4031
  auc?: number | undefined;
4028
4032
  decile_lift?: number | undefined;
4033
+ brier?: number | undefined;
4034
+ calibration_error_pts?: number | undefined;
4035
+ test_season?: number | undefined;
4036
+ label?: string | undefined;
4029
4037
  model_type?: string | undefined;
4030
4038
  sport?: string | undefined;
4031
4039
  validated?: string | undefined;
@@ -8084,7 +8092,7 @@ declare class MultiClient {
8084
8092
  batchPlayerSignals(request: BatchPlayerSignalsRequest, requestOptions?: MultiClient.RequestOptions): HttpResponsePromise<BatchPlayerSignalsResponse>;
8085
8093
  private __batchPlayerSignals;
8086
8094
  /**
8087
- * Consensus rankings blending consensus ADP (NFL) or the sport's AUC-validated confidence model (NBA/MLB) with a tier grouping and a plain-language consensus label.
8095
+ * Consensus rankings. NFL: consensus ADP order (Sleeper + FantasyCalc) with a tier grouping; no model score is attached (confidence_score null). NBA/MLB: ordered by a stored per-player model score when one exists; none is stored today, so these return an empty list with a methodology note.
8088
8096
  *
8089
8097
  * **Tier access:** Growth, Pro Insights, Syndicate Alpha
8090
8098
  *
@@ -8716,7 +8724,7 @@ declare namespace NbaClient {
8716
8724
  }
8717
8725
  }
8718
8726
  /**
8719
- * NBA game scores, standings, teams, player profiles, game logs (5 seasons / 127k rows), and confidence scores (AUC 0.847).
8727
+ * NBA game scores, standings, teams, player profiles, game logs (5 seasons / 127k rows), and confidence scores (AUC 0.831).
8720
8728
  */
8721
8729
  declare class NbaClient {
8722
8730
  protected readonly _options: NormalizedClientOptionsWithAuth<NbaClient.Options>;
@@ -8855,7 +8863,7 @@ declare class NbaClient {
8855
8863
  getNbaTeamRoster(request: GetNbaTeamRosterRequest, requestOptions?: NbaClient.RequestOptions): HttpResponsePromise<GetNbaTeamRosterResponse>;
8856
8864
  private __getNbaTeamRoster;
8857
8865
  /**
8858
- * Full detail behind PlayCaller's best-validated signal in the entire portfolio — AUC-ROC 0.847, 71.27x decile lift on the 2025 holdout, promoted ACTIVE 2026-06-19. `/v1/feed` returns a capped display score for this same model; this endpoint exposes the raw (pre-cap) score, percentile, and the 5 underlying signal components including `usage_vacuum`.
8866
+ * Full detail behind PlayCaller's strongest model (NBA confidence v4): AUC-ROC 0.831, 42x decile lift, Brier 0.1255, calibration error 2.9 pts on the held-out 2026 season. Predicts: Finishes as a startable fantasy game at his position (top-N, 12-team league). `/v1/feed` returns a capped display score for this same model; this endpoint exposes the raw (pre-cap) score and the underlying inputs.
8859
8867
  *
8860
8868
  * **Tier access:** Pro Insights, Syndicate Alpha
8861
8869
  *
package/dist/index.d.ts CHANGED
@@ -3584,6 +3584,9 @@ interface OptimizeLineupResponse {
3584
3584
  salary_remaining?: number | undefined;
3585
3585
  projected_points?: number | undefined;
3586
3586
  optimization_method?: string | undefined;
3587
+ /** Players in the lineup that have an alpha (opportunity ceiling) metric */
3588
+ alpha_metric_players?: number | undefined;
3589
+ /** Always null: there is no validated lineup confidence model */
3587
3590
  confidence?: (string | null) | undefined;
3588
3591
  }
3589
3592
  declare namespace OptimizeLineupResponse {
@@ -4024,8 +4027,13 @@ declare namespace GetNbaConfidenceResponse {
4024
4027
  }
4025
4028
  }
4026
4029
  interface ModelAudit {
4030
+ model_version?: string | undefined;
4027
4031
  auc?: number | undefined;
4028
4032
  decile_lift?: number | undefined;
4033
+ brier?: number | undefined;
4034
+ calibration_error_pts?: number | undefined;
4035
+ test_season?: number | undefined;
4036
+ label?: string | undefined;
4029
4037
  model_type?: string | undefined;
4030
4038
  sport?: string | undefined;
4031
4039
  validated?: string | undefined;
@@ -8084,7 +8092,7 @@ declare class MultiClient {
8084
8092
  batchPlayerSignals(request: BatchPlayerSignalsRequest, requestOptions?: MultiClient.RequestOptions): HttpResponsePromise<BatchPlayerSignalsResponse>;
8085
8093
  private __batchPlayerSignals;
8086
8094
  /**
8087
- * Consensus rankings blending consensus ADP (NFL) or the sport's AUC-validated confidence model (NBA/MLB) with a tier grouping and a plain-language consensus label.
8095
+ * Consensus rankings. NFL: consensus ADP order (Sleeper + FantasyCalc) with a tier grouping; no model score is attached (confidence_score null). NBA/MLB: ordered by a stored per-player model score when one exists; none is stored today, so these return an empty list with a methodology note.
8088
8096
  *
8089
8097
  * **Tier access:** Growth, Pro Insights, Syndicate Alpha
8090
8098
  *
@@ -8716,7 +8724,7 @@ declare namespace NbaClient {
8716
8724
  }
8717
8725
  }
8718
8726
  /**
8719
- * NBA game scores, standings, teams, player profiles, game logs (5 seasons / 127k rows), and confidence scores (AUC 0.847).
8727
+ * NBA game scores, standings, teams, player profiles, game logs (5 seasons / 127k rows), and confidence scores (AUC 0.831).
8720
8728
  */
8721
8729
  declare class NbaClient {
8722
8730
  protected readonly _options: NormalizedClientOptionsWithAuth<NbaClient.Options>;
@@ -8855,7 +8863,7 @@ declare class NbaClient {
8855
8863
  getNbaTeamRoster(request: GetNbaTeamRosterRequest, requestOptions?: NbaClient.RequestOptions): HttpResponsePromise<GetNbaTeamRosterResponse>;
8856
8864
  private __getNbaTeamRoster;
8857
8865
  /**
8858
- * Full detail behind PlayCaller's best-validated signal in the entire portfolio — AUC-ROC 0.847, 71.27x decile lift on the 2025 holdout, promoted ACTIVE 2026-06-19. `/v1/feed` returns a capped display score for this same model; this endpoint exposes the raw (pre-cap) score, percentile, and the 5 underlying signal components including `usage_vacuum`.
8866
+ * Full detail behind PlayCaller's strongest model (NBA confidence v4): AUC-ROC 0.831, 42x decile lift, Brier 0.1255, calibration error 2.9 pts on the held-out 2026 season. Predicts: Finishes as a startable fantasy game at his position (top-N, 12-team league). `/v1/feed` returns a capped display score for this same model; this endpoint exposes the raw (pre-cap) score and the underlying inputs.
8859
8867
  *
8860
8868
  * **Tier access:** Pro Insights, Syndicate Alpha
8861
8869
  *
package/dist/index.js CHANGED
@@ -7338,7 +7338,7 @@ var MultiClient = class {
7338
7338
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/v1/batch/signals");
7339
7339
  }
7340
7340
  /**
7341
- * Consensus rankings blending consensus ADP (NFL) or the sport's AUC-validated confidence model (NBA/MLB) with a tier grouping and a plain-language consensus label.
7341
+ * Consensus rankings. NFL: consensus ADP order (Sleeper + FantasyCalc) with a tier grouping; no model score is attached (confidence_score null). NBA/MLB: ordered by a stored per-player model score when one exists; none is stored today, so these return an empty list with a methodology note.
7342
7342
  *
7343
7343
  * **Tier access:** Growth, Pro Insights, Syndicate Alpha
7344
7344
  *
@@ -10451,7 +10451,7 @@ var NbaClient = class {
10451
10451
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v1/nba/teams/{team}/roster");
10452
10452
  }
10453
10453
  /**
10454
- * Full detail behind PlayCaller's best-validated signal in the entire portfolio — AUC-ROC 0.847, 71.27x decile lift on the 2025 holdout, promoted ACTIVE 2026-06-19. `/v1/feed` returns a capped display score for this same model; this endpoint exposes the raw (pre-cap) score, percentile, and the 5 underlying signal components including `usage_vacuum`.
10454
+ * Full detail behind PlayCaller's strongest model (NBA confidence v4): AUC-ROC 0.831, 42x decile lift, Brier 0.1255, calibration error 2.9 pts on the held-out 2026 season. Predicts: Finishes as a startable fantasy game at his position (top-N, 12-team league). `/v1/feed` returns a capped display score for this same model; this endpoint exposes the raw (pre-cap) score and the underlying inputs.
10455
10455
  *
10456
10456
  * **Tier access:** Pro Insights, Syndicate Alpha
10457
10457
  *
package/dist/index.mjs CHANGED
@@ -7313,7 +7313,7 @@ var MultiClient = class {
7313
7313
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/v1/batch/signals");
7314
7314
  }
7315
7315
  /**
7316
- * Consensus rankings blending consensus ADP (NFL) or the sport's AUC-validated confidence model (NBA/MLB) with a tier grouping and a plain-language consensus label.
7316
+ * Consensus rankings. NFL: consensus ADP order (Sleeper + FantasyCalc) with a tier grouping; no model score is attached (confidence_score null). NBA/MLB: ordered by a stored per-player model score when one exists; none is stored today, so these return an empty list with a methodology note.
7317
7317
  *
7318
7318
  * **Tier access:** Growth, Pro Insights, Syndicate Alpha
7319
7319
  *
@@ -10426,7 +10426,7 @@ var NbaClient = class {
10426
10426
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v1/nba/teams/{team}/roster");
10427
10427
  }
10428
10428
  /**
10429
- * Full detail behind PlayCaller's best-validated signal in the entire portfolio — AUC-ROC 0.847, 71.27x decile lift on the 2025 holdout, promoted ACTIVE 2026-06-19. `/v1/feed` returns a capped display score for this same model; this endpoint exposes the raw (pre-cap) score, percentile, and the 5 underlying signal components including `usage_vacuum`.
10429
+ * Full detail behind PlayCaller's strongest model (NBA confidence v4): AUC-ROC 0.831, 42x decile lift, Brier 0.1255, calibration error 2.9 pts on the held-out 2026 season. Predicts: Finishes as a startable fantasy game at his position (top-N, 12-team league). `/v1/feed` returns a capped display score for this same model; this endpoint exposes the raw (pre-cap) score and the underlying inputs.
10430
10430
  *
10431
10431
  * **Tier access:** Pro Insights, Syndicate Alpha
10432
10432
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playcaller/sdk",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Official TypeScript SDK for PlayCaller — real-time sports data, AI-powered analytics, and ML signals for fantasy football, baseball, basketball, hockey, golf, soccer, tennis, and UFC",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",