@thinkai/tai-api-contract 2.114.0 → 2.115.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.115.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}/...`.
|
|
@@ -7261,10 +7261,11 @@ paths:
|
|
|
7261
7261
|
summary: Set per-workspace repo-sync eligibility overrides
|
|
7262
7262
|
description: >
|
|
7263
7263
|
Set (or clear, with an empty `overrides`) the per-workspace repo-sync eligibility overrides.
|
|
7264
|
-
|
|
7265
|
-
**
|
|
7266
|
-
|
|
7267
|
-
(
|
|
7264
|
+
Omitted keys leave existing workspace overrides unchanged; `null` clears a single override
|
|
7265
|
+
back to the platform default. **Platform admins** may set any value (raise caps, `0` = unlimited,
|
|
7266
|
+
include archived/forks). **Workspace admins** may only make the gate *more restrictive* than
|
|
7267
|
+
the platform defaults (lower caps, exclude archived/forks) — exceeding a platform limit returns
|
|
7268
|
+
`403` (`repo_eligibility_bound_exceeded`). Requires workspace admin or platform admin.
|
|
7268
7269
|
operationId: putWorkspaceRepoEligibility
|
|
7269
7270
|
parameters:
|
|
7270
7271
|
- $ref: "#/components/parameters/WorkspaceId"
|
|
@@ -7284,13 +7285,7 @@ paths:
|
|
|
7284
7285
|
content:
|
|
7285
7286
|
application/json:
|
|
7286
7287
|
schema:
|
|
7287
|
-
|
|
7288
|
-
required: [overrides, effective]
|
|
7289
|
-
properties:
|
|
7290
|
-
overrides:
|
|
7291
|
-
$ref: "#/components/schemas/RepoEligibilityOverridesDto"
|
|
7292
|
-
effective:
|
|
7293
|
-
$ref: "#/components/schemas/RepoEligibilityConfigDto"
|
|
7288
|
+
$ref: "#/components/schemas/WorkspaceRepoEligibilityDto"
|
|
7294
7289
|
"400":
|
|
7295
7290
|
description: Invalid request body
|
|
7296
7291
|
content:
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -2790,7 +2790,7 @@ export interface paths {
|
|
|
2790
2790
|
get: operations["getWorkspaceRepoEligibility"];
|
|
2791
2791
|
/**
|
|
2792
2792
|
* Set per-workspace repo-sync eligibility overrides
|
|
2793
|
-
* @description Set (or clear, with an empty `overrides`) the per-workspace repo-sync eligibility overrides. **Platform admins** may set any value (raise caps, `0` = unlimited, include archived/forks). **Workspace admins** may only make the gate *more restrictive* than the platform defaults (lower caps, exclude archived/forks) — exceeding a platform limit returns `403` (`repo_eligibility_bound_exceeded`). Requires workspace admin or platform admin.
|
|
2793
|
+
* @description Set (or clear, with an empty `overrides`) the per-workspace repo-sync eligibility overrides. Omitted keys leave existing workspace overrides unchanged; `null` clears a single override back to the platform default. **Platform admins** may set any value (raise caps, `0` = unlimited, include archived/forks). **Workspace admins** may only make the gate *more restrictive* than the platform defaults (lower caps, exclude archived/forks) — exceeding a platform limit returns `403` (`repo_eligibility_bound_exceeded`). Requires workspace admin or platform admin.
|
|
2794
2794
|
*/
|
|
2795
2795
|
put: operations["putWorkspaceRepoEligibility"];
|
|
2796
2796
|
post?: never;
|
|
@@ -16834,10 +16834,7 @@ export interface operations {
|
|
|
16834
16834
|
[name: string]: unknown;
|
|
16835
16835
|
};
|
|
16836
16836
|
content: {
|
|
16837
|
-
"application/json":
|
|
16838
|
-
overrides: components["schemas"]["RepoEligibilityOverridesDto"];
|
|
16839
|
-
effective: components["schemas"]["RepoEligibilityConfigDto"];
|
|
16840
|
-
};
|
|
16837
|
+
"application/json": components["schemas"]["WorkspaceRepoEligibilityDto"];
|
|
16841
16838
|
};
|
|
16842
16839
|
};
|
|
16843
16840
|
/** @description Invalid request body */
|