@thinkai/tai-api-contract 2.165.0 → 2.166.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/openapi/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ThinkAI API
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.166.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}/...`.
|
|
@@ -4775,6 +4775,17 @@ paths:
|
|
|
4775
4775
|
schema:
|
|
4776
4776
|
type: string
|
|
4777
4777
|
format: date
|
|
4778
|
+
- name: rollout
|
|
4779
|
+
in: query
|
|
4780
|
+
required: false
|
|
4781
|
+
description: >
|
|
4782
|
+
Assessment rollout day (`YYYY-MM-DD`). Queues matched pre and post
|
|
4783
|
+
Data Coverage windows as separate provider chunks. Mutually exclusive
|
|
4784
|
+
with `full` and with `from`/`to`. The inclusive span of each window
|
|
4785
|
+
must stay within 180 days.
|
|
4786
|
+
schema:
|
|
4787
|
+
type: string
|
|
4788
|
+
format: date
|
|
4778
4789
|
responses:
|
|
4779
4790
|
"200":
|
|
4780
4791
|
description: >
|
|
@@ -4791,8 +4802,10 @@ paths:
|
|
|
4791
4802
|
description: >
|
|
4792
4803
|
Invalid request. Stable `error` codes: `invalid_day_range` (missing pair,
|
|
4793
4804
|
bad calendar date, or from > to), `full_and_day_range_conflict` (`full`
|
|
4794
|
-
combined with `from`/`to`),
|
|
4795
|
-
|
|
4805
|
+
combined with `from`/`to`/`rollout`), `range_exceeds_cap` (a requested
|
|
4806
|
+
window is longer than 180 days), `assessment_rollout_conflict`
|
|
4807
|
+
(`rollout` combined with `from`/`to`), and `invalid_provider` (path
|
|
4808
|
+
provider is not a supported AI-tool integration id).
|
|
4796
4809
|
content:
|
|
4797
4810
|
application/json:
|
|
4798
4811
|
schema:
|
|
@@ -4802,6 +4815,10 @@ paths:
|
|
|
4802
4815
|
value: { ok: false, error: "invalid_day_range" }
|
|
4803
4816
|
full_and_day_range_conflict:
|
|
4804
4817
|
value: { ok: false, error: "full_and_day_range_conflict" }
|
|
4818
|
+
range_exceeds_cap:
|
|
4819
|
+
value: { ok: false, error: "range_exceeds_cap" }
|
|
4820
|
+
assessment_rollout_conflict:
|
|
4821
|
+
value: { ok: false, error: "assessment_rollout_conflict" }
|
|
4805
4822
|
invalid_provider:
|
|
4806
4823
|
value: { ok: false, error: "invalid_provider" }
|
|
4807
4824
|
"401":
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -16439,6 +16439,8 @@ export interface operations {
|
|
|
16439
16439
|
from?: string;
|
|
16440
16440
|
/** @description Inclusive UTC end day (`YYYY-MM-DD`) for a targeted re-ingest window. Must be paired with `from`. Mutually exclusive with `full`. */
|
|
16441
16441
|
to?: string;
|
|
16442
|
+
/** @description Assessment rollout day (`YYYY-MM-DD`). Queues matched pre and post Data Coverage windows as separate provider chunks. Mutually exclusive with `full` and with `from`/`to`. The inclusive span of each window must stay within 180 days. */
|
|
16443
|
+
rollout?: string;
|
|
16442
16444
|
};
|
|
16443
16445
|
header?: never;
|
|
16444
16446
|
path: {
|
|
@@ -16458,7 +16460,7 @@ export interface operations {
|
|
|
16458
16460
|
"application/json": components["schemas"]["AiToolRefreshResponseDto"];
|
|
16459
16461
|
};
|
|
16460
16462
|
};
|
|
16461
|
-
/** @description Invalid request. Stable `error` codes: `invalid_day_range` (missing pair, bad calendar date, or from > to), `full_and_day_range_conflict` (`full` combined with `from`/`to`), and `invalid_provider` (path provider is not a supported AI-tool integration id). */
|
|
16463
|
+
/** @description Invalid request. Stable `error` codes: `invalid_day_range` (missing pair, bad calendar date, or from > to), `full_and_day_range_conflict` (`full` combined with `from`/`to`/`rollout`), `range_exceeds_cap` (a requested window is longer than 180 days), `assessment_rollout_conflict` (`rollout` combined with `from`/`to`), and `invalid_provider` (path provider is not a supported AI-tool integration id). */
|
|
16462
16464
|
400: {
|
|
16463
16465
|
headers: {
|
|
16464
16466
|
[name: string]: unknown;
|