@thinkai/tai-api-contract 2.252.0 → 2.253.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ThinkAI API
4
- version: 2.252.0
4
+ version: 2.253.0
5
5
  description: >
6
6
  Contract surface for the AI Driven SDLC backend used by ThinkAI.
7
7
  Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
@@ -14998,12 +14998,13 @@ paths:
14998
14998
  tags: [YourAiJourney]
14999
14999
  summary: Secondary dashboard panels bootstrap payload
15000
15000
  description: >
15001
- Returns readiness aggregate, merged PR trends (8-week default window), aggregated teams
15002
- (8-week default window), and agentic foundation dashboard in one response. Nested payloads
15003
- reuse the same builders and caches as their dedicated routes.
15001
+ Returns readiness aggregate, merged PR trends, aggregated teams, and agentic foundation
15002
+ dashboard in one response. Productivity nested payloads use the same builders and caches
15003
+ as their dedicated routes. Default productivity window is `30d` when `rangeId` is omitted.
15004
15004
  operationId: getYourAiJourneyDashboardSecondary
15005
15005
  parameters:
15006
15006
  - $ref: "#/components/parameters/WorkspaceId"
15007
+ - $ref: "#/components/parameters/InsightsProductivityRangeId"
15007
15008
  responses:
15008
15009
  "200":
15009
15010
  description: Secondary dashboard bootstrap payload
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.252.0",
3
+ "version": "2.253.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -5804,7 +5804,7 @@ export interface paths {
5804
5804
  };
5805
5805
  /**
5806
5806
  * Secondary dashboard panels bootstrap payload
5807
- * @description Returns readiness aggregate, merged PR trends (8-week default window), aggregated teams (8-week default window), and agentic foundation dashboard in one response. Nested payloads reuse the same builders and caches as their dedicated routes.
5807
+ * @description Returns readiness aggregate, merged PR trends, aggregated teams, and agentic foundation dashboard in one response. Productivity nested payloads use the same builders and caches as their dedicated routes. Default productivity window is `30d` when `rangeId` is omitted.
5808
5808
  */
5809
5809
  get: operations["getYourAiJourneyDashboardSecondary"];
5810
5810
  put?: never;
@@ -32336,7 +32336,10 @@ export interface operations {
32336
32336
  };
32337
32337
  getYourAiJourneyDashboardSecondary: {
32338
32338
  parameters: {
32339
- query?: never;
32339
+ query?: {
32340
+ /** @description Productivity insights time range. Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. Omit when using explicit `from`/`to` day bounds. */
32341
+ rangeId?: components["parameters"]["InsightsProductivityRangeId"];
32342
+ };
32340
32343
  header?: never;
32341
32344
  path: {
32342
32345
  workspaceId: components["parameters"]["WorkspaceId"];