@thinkai/tai-api-contract 2.228.1 → 2.229.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.
- package/dist/generated/openapi.d.ts +30 -5
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/openapi/openapi.yaml +46 -10
- package/package.json +1 -1
- package/src/generated/openapi.ts +30 -5
- package/src/index.ts +7 -1
|
@@ -5911,7 +5911,7 @@ export interface paths {
|
|
|
5911
5911
|
patch?: never;
|
|
5912
5912
|
trace?: never;
|
|
5913
5913
|
};
|
|
5914
|
-
"/workspaces/{workspaceId}/ingest/productivity/repos/
|
|
5914
|
+
"/workspaces/{workspaceId}/ingest/productivity/repos/retry": {
|
|
5915
5915
|
parameters: {
|
|
5916
5916
|
query?: never;
|
|
5917
5917
|
header?: never;
|
|
@@ -5922,7 +5922,7 @@ export interface paths {
|
|
|
5922
5922
|
put?: never;
|
|
5923
5923
|
/**
|
|
5924
5924
|
* Retry productivity ingest for one repository
|
|
5925
|
-
* @description Workspace admin (or platform admin) re-queues a failed or non-benign-skipped productivity GitHub repo. Does not call GitHub on the request. Creates one `in_progress` ingest-run row when newly queued. Members receive 403.
|
|
5925
|
+
* @description Workspace admin (or platform admin) re-queues a failed or non-benign-skipped productivity GitHub repo. Slug is in the JSON body (not the path) so SPA/nginx proxies that decode `%2F` cannot break `owner/name` routing. Does not call GitHub on the request. Creates one `in_progress` ingest-run row when newly queued. `productivity_not_connected` means no GitHub VCS rows (Connectors), not a failed pending UPDATE. Members receive 403.
|
|
5926
5926
|
*/
|
|
5927
5927
|
post: operations["retryWorkspaceProductivityRepo"];
|
|
5928
5928
|
delete?: never;
|
|
@@ -12235,6 +12235,10 @@ export interface components {
|
|
|
12235
12235
|
/** @description True when queueStatus is failed, or skipped with a non-benign reason. Benign skips are empty_repo, archived, and no_merged_prs_in_window. */
|
|
12236
12236
|
retryable?: boolean;
|
|
12237
12237
|
};
|
|
12238
|
+
ProductivityRepoRetryRequestDto: {
|
|
12239
|
+
/** @description GitHub repo slug (`owner/name`). Sent in the body so the path never embeds a slash (avoids nginx `%2F` decode breaking `:slug` routing). */
|
|
12240
|
+
slug: string;
|
|
12241
|
+
};
|
|
12238
12242
|
ProductivityRepoRetryResponseDto: {
|
|
12239
12243
|
/** @enum {boolean} */
|
|
12240
12244
|
ok: true;
|
|
@@ -15531,6 +15535,7 @@ export type WorkspaceAbsenceListDto = components['schemas']['WorkspaceAbsenceLis
|
|
|
15531
15535
|
export type IngestCoverageGapDto = components['schemas']['IngestCoverageGapDto'];
|
|
15532
15536
|
export type IngestCoverageLastRunDto = components['schemas']['IngestCoverageLastRunDto'];
|
|
15533
15537
|
export type IngestCoverageProductivityRepoDto = components['schemas']['IngestCoverageProductivityRepoDto'];
|
|
15538
|
+
export type ProductivityRepoRetryRequestDto = components['schemas']['ProductivityRepoRetryRequestDto'];
|
|
15534
15539
|
export type ProductivityRepoRetryResponseDto = components['schemas']['ProductivityRepoRetryResponseDto'];
|
|
15535
15540
|
export type ProductivityCatchUpResponseDto = components['schemas']['ProductivityCatchUpResponseDto'];
|
|
15536
15541
|
export type ProductivityDualVcsCutoverDto = components['schemas']['ProductivityDualVcsCutoverDto'];
|
|
@@ -31439,12 +31444,14 @@ export interface operations {
|
|
|
31439
31444
|
header?: never;
|
|
31440
31445
|
path: {
|
|
31441
31446
|
workspaceId: components["parameters"]["WorkspaceId"];
|
|
31442
|
-
/** @description GitHub repo slug (owner/name). Match is case-insensitive. */
|
|
31443
|
-
slug: string;
|
|
31444
31447
|
};
|
|
31445
31448
|
cookie?: never;
|
|
31446
31449
|
};
|
|
31447
|
-
requestBody
|
|
31450
|
+
requestBody: {
|
|
31451
|
+
content: {
|
|
31452
|
+
"application/json": components["schemas"]["ProductivityRepoRetryRequestDto"];
|
|
31453
|
+
};
|
|
31454
|
+
};
|
|
31448
31455
|
responses: {
|
|
31449
31456
|
/** @description Retry accepted */
|
|
31450
31457
|
200: {
|
|
@@ -31455,6 +31462,15 @@ export interface operations {
|
|
|
31455
31462
|
"application/json": components["schemas"]["ProductivityRepoRetryResponseDto"];
|
|
31456
31463
|
};
|
|
31457
31464
|
};
|
|
31465
|
+
/** @description Missing or empty slug in body */
|
|
31466
|
+
400: {
|
|
31467
|
+
headers: {
|
|
31468
|
+
[name: string]: unknown;
|
|
31469
|
+
};
|
|
31470
|
+
content: {
|
|
31471
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
31472
|
+
};
|
|
31473
|
+
};
|
|
31458
31474
|
401: components["responses"]["Unauthorized"];
|
|
31459
31475
|
403: components["responses"]["Forbidden"];
|
|
31460
31476
|
/** @description Unknown slug or productivity not connected */
|
|
@@ -31475,6 +31491,15 @@ export interface operations {
|
|
|
31475
31491
|
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
31476
31492
|
};
|
|
31477
31493
|
};
|
|
31494
|
+
/** @description Owners matched but pending UPDATE wrote zero rows */
|
|
31495
|
+
500: {
|
|
31496
|
+
headers: {
|
|
31497
|
+
[name: string]: unknown;
|
|
31498
|
+
};
|
|
31499
|
+
content: {
|
|
31500
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
31501
|
+
};
|
|
31502
|
+
};
|
|
31478
31503
|
};
|
|
31479
31504
|
};
|
|
31480
31505
|
catchUpWorkspaceProductivityIngest: {
|