@thinkai/tai-api-contract 2.45.0-pr.855.f75b4bb3 → 2.45.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.
|
@@ -841,7 +841,7 @@ export interface paths {
|
|
|
841
841
|
put?: never;
|
|
842
842
|
/**
|
|
843
843
|
* Refresh AI tool integration snapshots
|
|
844
|
-
* @description Provider-agnostic refresh. Returns 409 when an advisory-lock refresh is already in progress. On upstream auth/rate/network failures, returns `200` with `{ ok:false, error }` so the SPA can render inline error. Pass `full=true` to force a full re-sync that
|
|
844
|
+
* @description Provider-agnostic refresh. Returns 409 when an advisory-lock refresh is already in progress. On upstream auth/rate/network failures, returns `200` with `{ ok:false, error }` so the SPA can render inline error. Pass `full=true` to force a full re-sync that re-pulls the full history instead of the incremental window, used to backfill historical months. Provider-specific behavior: Claude Enterprise re-pulls six calendar months of daily usage; Claude Team widens its daily-usage window to the configured history depth (`spendHistoryDays`, default 180 days); Cursor resets its spend/model/daily backfill cursors so the full `spendHistoryDays` window re-ingests from the retention floor even when the backfill was already complete. Omitted/false performs a normal incremental refresh.
|
|
845
845
|
*/
|
|
846
846
|
post: operations["refreshWorkspaceAiTool"];
|
|
847
847
|
delete?: never;
|
|
@@ -7100,7 +7100,7 @@ export interface operations {
|
|
|
7100
7100
|
refreshWorkspaceAiTool: {
|
|
7101
7101
|
parameters: {
|
|
7102
7102
|
query?: {
|
|
7103
|
-
/** @description Force a full re-sync
|
|
7103
|
+
/** @description Force a full history re-sync instead of the incremental window (Enterprise: 6 months; Team: `spendHistoryDays`-day daily-usage window; Cursor: spend/model/daily backfill reset over `spendHistoryDays`). Truthy only for `true` or `1`. */
|
|
7104
7104
|
full?: "true" | "1";
|
|
7105
7105
|
};
|
|
7106
7106
|
header?: never;
|