@thinkai/tai-api-contract 2.231.1 → 2.231.2
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.231.
|
|
4
|
+
version: 2.231.2
|
|
5
5
|
description: >
|
|
6
6
|
Contract surface for the AI Driven SDLC backend used by ThinkAI.
|
|
7
7
|
Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
|
|
@@ -5366,8 +5366,10 @@ paths:
|
|
|
5366
5366
|
signed-in admin. Editor or viewer is `403` with `code` `workspace_admin_required`.
|
|
5367
5367
|
Missing Google client settings, or an unavailable OAuth state store (Postgres
|
|
5368
5368
|
`42P01`/`42501` on insert), are `503` with `code` `googleforms_not_configured`.
|
|
5369
|
-
|
|
5370
|
-
|
|
5369
|
+
When the state insert cannot complete quickly (database lock wait, statement timeout,
|
|
5370
|
+
or no connection available), the route fails fast with `503` and `code`
|
|
5371
|
+
`googleforms_state_unavailable`; retry shortly. `404` with `code`
|
|
5372
|
+
`team_efficiency_disabled` when Team Efficiency is off for the workspace.
|
|
5371
5373
|
security:
|
|
5372
5374
|
- bearerAuth: []
|
|
5373
5375
|
parameters:
|
|
@@ -5402,14 +5404,22 @@ paths:
|
|
|
5402
5404
|
"503":
|
|
5403
5405
|
description: >
|
|
5404
5406
|
Google client id/secret unset, or OAuth state table missing/unwritable
|
|
5405
|
-
(`code` `googleforms_not_configured`)
|
|
5407
|
+
(`code` `googleforms_not_configured`); or the OAuth state could not be stored in
|
|
5408
|
+
time because of a database lock wait, statement timeout, or connection timeout
|
|
5409
|
+
(`code` `googleforms_state_unavailable`, retryable)
|
|
5406
5410
|
content:
|
|
5407
5411
|
application/json:
|
|
5408
5412
|
schema:
|
|
5409
5413
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5414
|
+
examples:
|
|
5415
|
+
notConfigured:
|
|
5416
|
+
value:
|
|
5417
|
+
error: Google sign-in is not configured
|
|
5418
|
+
code: googleforms_not_configured
|
|
5419
|
+
stateUnavailable:
|
|
5420
|
+
value:
|
|
5421
|
+
error: Google sign-in is busy. Try again in a moment.
|
|
5422
|
+
code: googleforms_state_unavailable
|
|
5413
5423
|
|
|
5414
5424
|
/connectors/googleforms/callback:
|
|
5415
5425
|
get:
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -1829,7 +1829,7 @@ export interface paths {
|
|
|
1829
1829
|
};
|
|
1830
1830
|
/**
|
|
1831
1831
|
* Google sign-in URL for the Google Forms DevEx survey
|
|
1832
|
-
* @description Workspace admin only. Returns the Google OAuth authorize URL (offline access, read-only Forms scopes). State is stored server-side, single-use, and names this workspace and the signed-in admin. Editor or viewer is `403` with `code` `workspace_admin_required`. Missing Google client settings, or an unavailable OAuth state store (Postgres `42P01`/`42501` on insert), are `503` with `code` `googleforms_not_configured`. `404` with `code` `team_efficiency_disabled` when Team Efficiency is off for the workspace.
|
|
1832
|
+
* @description Workspace admin only. Returns the Google OAuth authorize URL (offline access, read-only Forms scopes). State is stored server-side, single-use, and names this workspace and the signed-in admin. Editor or viewer is `403` with `code` `workspace_admin_required`. Missing Google client settings, or an unavailable OAuth state store (Postgres `42P01`/`42501` on insert), are `503` with `code` `googleforms_not_configured`. When the state insert cannot complete quickly (database lock wait, statement timeout, or no connection available), the route fails fast with `503` and `code` `googleforms_state_unavailable`; retry shortly. `404` with `code` `team_efficiency_disabled` when Team Efficiency is off for the workspace.
|
|
1833
1833
|
*/
|
|
1834
1834
|
get: operations["getGoogleFormsInstallUrl"];
|
|
1835
1835
|
put?: never;
|
|
@@ -21157,18 +21157,12 @@ export interface operations {
|
|
|
21157
21157
|
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
21158
21158
|
};
|
|
21159
21159
|
};
|
|
21160
|
-
/** @description Google client id/secret unset, or OAuth state table missing/unwritable (`code` `googleforms_not_configured`) */
|
|
21160
|
+
/** @description Google client id/secret unset, or OAuth state table missing/unwritable (`code` `googleforms_not_configured`); or the OAuth state could not be stored in time because of a database lock wait, statement timeout, or connection timeout (`code` `googleforms_state_unavailable`, retryable) */
|
|
21161
21161
|
503: {
|
|
21162
21162
|
headers: {
|
|
21163
21163
|
[name: string]: unknown;
|
|
21164
21164
|
};
|
|
21165
21165
|
content: {
|
|
21166
|
-
/**
|
|
21167
|
-
* @example {
|
|
21168
|
-
* "error": "Google sign-in is not configured",
|
|
21169
|
-
* "code": "googleforms_not_configured"
|
|
21170
|
-
* }
|
|
21171
|
-
*/
|
|
21172
21166
|
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
21173
21167
|
};
|
|
21174
21168
|
};
|