@thinkai/tai-api-contract 2.137.0 → 2.138.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/dist/generated/openapi.d.ts +69 -0
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/openapi/openapi.yaml +61 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +69 -0
- package/src/index.ts +6 -0
|
@@ -4178,6 +4178,26 @@ export interface paths {
|
|
|
4178
4178
|
patch?: never;
|
|
4179
4179
|
trace?: never;
|
|
4180
4180
|
};
|
|
4181
|
+
"/workspaces/{workspaceId}/ingest/productivity/catch-up": {
|
|
4182
|
+
parameters: {
|
|
4183
|
+
query?: never;
|
|
4184
|
+
header?: never;
|
|
4185
|
+
path?: never;
|
|
4186
|
+
cookie?: never;
|
|
4187
|
+
};
|
|
4188
|
+
get?: never;
|
|
4189
|
+
put?: never;
|
|
4190
|
+
/**
|
|
4191
|
+
* Queue productivity catch-up from last fetch to now
|
|
4192
|
+
* @description Workspace admin (or platform admin) queues incremental productivity catch-up while phase is `complete`. Sets `productivity_incremental_requested_at` only; does not set `productivity_sync_requested_at` or change phase. Members receive 403.
|
|
4193
|
+
*/
|
|
4194
|
+
post: operations["catchUpWorkspaceProductivityIngest"];
|
|
4195
|
+
delete?: never;
|
|
4196
|
+
options?: never;
|
|
4197
|
+
head?: never;
|
|
4198
|
+
patch?: never;
|
|
4199
|
+
trace?: never;
|
|
4200
|
+
};
|
|
4181
4201
|
"/workspaces/{workspaceId}/ingest-runs": {
|
|
4182
4202
|
parameters: {
|
|
4183
4203
|
query?: never;
|
|
@@ -8188,6 +8208,12 @@ export interface components {
|
|
|
8188
8208
|
/** @description True when the slug was already pending; no second run row. */
|
|
8189
8209
|
alreadyQueued?: boolean;
|
|
8190
8210
|
};
|
|
8211
|
+
ProductivityCatchUpResponseDto: {
|
|
8212
|
+
/** @enum {boolean} */
|
|
8213
|
+
ok: true;
|
|
8214
|
+
/** @description True when productivity_incremental_requested_at is already set; no second queue stamp. */
|
|
8215
|
+
alreadyQueued?: boolean;
|
|
8216
|
+
};
|
|
8191
8217
|
/** @description Latest depth scan read from stored activity. `capturePercent` is the minimum existing capture ratio over that scan's repo checks with a GitHub merge count, or null when none qualify. */
|
|
8192
8218
|
IngestCoverageProductivityDepthScanDto: {
|
|
8193
8219
|
/** Format: date-time */
|
|
@@ -10506,6 +10532,7 @@ export type IngestCoverageGapDto = components['schemas']['IngestCoverageGapDto']
|
|
|
10506
10532
|
export type IngestCoverageLastRunDto = components['schemas']['IngestCoverageLastRunDto'];
|
|
10507
10533
|
export type IngestCoverageProductivityRepoDto = components['schemas']['IngestCoverageProductivityRepoDto'];
|
|
10508
10534
|
export type ProductivityRepoRetryResponseDto = components['schemas']['ProductivityRepoRetryResponseDto'];
|
|
10535
|
+
export type ProductivityCatchUpResponseDto = components['schemas']['ProductivityCatchUpResponseDto'];
|
|
10509
10536
|
export type IngestCoverageProductivityDepthScanDto = components['schemas']['IngestCoverageProductivityDepthScanDto'];
|
|
10510
10537
|
export type IngestCoverageProductivityWeekReconcileDto = components['schemas']['IngestCoverageProductivityWeekReconcileDto'];
|
|
10511
10538
|
export type IngestCoverageProductivitySelfHealDto = components['schemas']['IngestCoverageProductivitySelfHealDto'];
|
|
@@ -21276,6 +21303,48 @@ export interface operations {
|
|
|
21276
21303
|
};
|
|
21277
21304
|
};
|
|
21278
21305
|
};
|
|
21306
|
+
catchUpWorkspaceProductivityIngest: {
|
|
21307
|
+
parameters: {
|
|
21308
|
+
query?: never;
|
|
21309
|
+
header?: never;
|
|
21310
|
+
path: {
|
|
21311
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
21312
|
+
};
|
|
21313
|
+
cookie?: never;
|
|
21314
|
+
};
|
|
21315
|
+
requestBody?: never;
|
|
21316
|
+
responses: {
|
|
21317
|
+
/** @description Catch-up accepted */
|
|
21318
|
+
200: {
|
|
21319
|
+
headers: {
|
|
21320
|
+
[name: string]: unknown;
|
|
21321
|
+
};
|
|
21322
|
+
content: {
|
|
21323
|
+
"application/json": components["schemas"]["ProductivityCatchUpResponseDto"];
|
|
21324
|
+
};
|
|
21325
|
+
};
|
|
21326
|
+
401: components["responses"]["Unauthorized"];
|
|
21327
|
+
403: components["responses"]["Forbidden"];
|
|
21328
|
+
/** @description Productivity not connected */
|
|
21329
|
+
404: {
|
|
21330
|
+
headers: {
|
|
21331
|
+
[name: string]: unknown;
|
|
21332
|
+
};
|
|
21333
|
+
content: {
|
|
21334
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
21335
|
+
};
|
|
21336
|
+
};
|
|
21337
|
+
/** @description Backfill in progress (phase recent or historical) */
|
|
21338
|
+
409: {
|
|
21339
|
+
headers: {
|
|
21340
|
+
[name: string]: unknown;
|
|
21341
|
+
};
|
|
21342
|
+
content: {
|
|
21343
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
21344
|
+
};
|
|
21345
|
+
};
|
|
21346
|
+
};
|
|
21347
|
+
};
|
|
21279
21348
|
getWorkspaceIngestRuns: {
|
|
21280
21349
|
parameters: {
|
|
21281
21350
|
query?: {
|