@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.
|
@@ -1828,7 +1828,7 @@ export interface paths {
|
|
|
1828
1828
|
};
|
|
1829
1829
|
/**
|
|
1830
1830
|
* Google sign-in URL for the Google Forms DevEx survey
|
|
1831
|
-
* @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.
|
|
1831
|
+
* @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.
|
|
1832
1832
|
*/
|
|
1833
1833
|
get: operations["getGoogleFormsInstallUrl"];
|
|
1834
1834
|
put?: never;
|
|
@@ -21156,18 +21156,12 @@ export interface operations {
|
|
|
21156
21156
|
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
21157
21157
|
};
|
|
21158
21158
|
};
|
|
21159
|
-
/** @description Google client id/secret unset, or OAuth state table missing/unwritable (`code` `googleforms_not_configured`) */
|
|
21159
|
+
/** @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) */
|
|
21160
21160
|
503: {
|
|
21161
21161
|
headers: {
|
|
21162
21162
|
[name: string]: unknown;
|
|
21163
21163
|
};
|
|
21164
21164
|
content: {
|
|
21165
|
-
/**
|
|
21166
|
-
* @example {
|
|
21167
|
-
* "error": "Google sign-in is not configured",
|
|
21168
|
-
* "code": "googleforms_not_configured"
|
|
21169
|
-
* }
|
|
21170
|
-
*/
|
|
21171
21165
|
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
21172
21166
|
};
|
|
21173
21167
|
};
|