@thinkai/tai-api-contract 2.229.0 → 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.
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ThinkAI API
4
- version: 2.229.0
4
+ version: 2.229.1
5
5
  description: >
6
6
  Contract surface for the AI Driven SDLC backend used by ThinkAI.
7
7
  Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
@@ -14991,7 +14991,8 @@ paths:
14991
14991
  productivity GitHub repo. Slug is in the JSON body (not the path) so SPA/nginx
14992
14992
  proxies that decode `%2F` cannot break `owner/name` routing. Does not call
14993
14993
  GitHub on the request. Creates one `in_progress` ingest-run row when newly
14994
- queued. Members receive 403.
14994
+ queued. `productivity_not_connected` means no GitHub VCS rows (Connectors),
14995
+ not a failed pending UPDATE. Members receive 403.
14995
14996
  parameters:
14996
14997
  - $ref: "#/components/parameters/WorkspaceId"
14997
14998
  requestBody:
@@ -15052,6 +15053,15 @@ paths:
15052
15053
  value: { error: Backfill in progress, code: backfill_in_progress }
15053
15054
  notApplicable:
15054
15055
  value: { error: Retry not applicable, code: retry_not_applicable }
15056
+ "500":
15057
+ description: Owners matched but pending UPDATE wrote zero rows
15058
+ content:
15059
+ application/json:
15060
+ schema:
15061
+ $ref: "#/components/schemas/ErrorMessageDto"
15062
+ examples:
15063
+ persistFailed:
15064
+ value: { error: Failed to queue repository retry, code: persist_failed }
15055
15065
 
15056
15066
  /workspaces/{workspaceId}/ingest/productivity/catch-up:
15057
15067
  post:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.229.0",
3
+ "version": "2.229.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -5923,7 +5923,7 @@ export interface paths {
5923
5923
  put?: never;
5924
5924
  /**
5925
5925
  * Retry productivity ingest for one repository
5926
- * @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. Members receive 403.
5926
+ * @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.
5927
5927
  */
5928
5928
  post: operations["retryWorkspaceProductivityRepo"];
5929
5929
  delete?: never;
@@ -31492,6 +31492,15 @@ export interface operations {
31492
31492
  "application/json": components["schemas"]["ErrorMessageDto"];
31493
31493
  };
31494
31494
  };
31495
+ /** @description Owners matched but pending UPDATE wrote zero rows */
31496
+ 500: {
31497
+ headers: {
31498
+ [name: string]: unknown;
31499
+ };
31500
+ content: {
31501
+ "application/json": components["schemas"]["ErrorMessageDto"];
31502
+ };
31503
+ };
31495
31504
  };
31496
31505
  };
31497
31506
  catchUpWorkspaceProductivityIngest: {