@keboola/api-client 35.0.0 → 39.0.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/AGENTS.md +12 -3
- package/API-SURFACE.md +14 -1
- package/CHANGELOG.md +102 -0
- package/README.md +19 -17
- package/dist/{ManagementClientAuthError-ey-f03vy.js → ManagementClientAuthError-Cr9IOsnJ.js} +3 -2
- package/dist/{ManagementClientAuthError-ey-f03vy.js.map → ManagementClientAuthError-Cr9IOsnJ.js.map} +1 -1
- package/dist/{ManagementClientAuthError-DD4u0EU7.cjs → ManagementClientAuthError-FcfMJNhr.cjs} +3 -2
- package/dist/{ManagementClientAuthError-DD4u0EU7.cjs.map → ManagementClientAuthError-FcfMJNhr.cjs.map} +1 -1
- package/dist/ai/index.cjs +2 -2
- package/dist/ai/index.js +2 -2
- package/dist/{appLogs-BjfUoWzs.cjs → appLogs-C_zP0lpv.cjs} +2 -2
- package/dist/{appLogs-BjfUoWzs.cjs.map → appLogs-C_zP0lpv.cjs.map} +1 -1
- package/dist/{appLogs-xsVkTriU.js → appLogs-Cl7Q_MR9.js} +2 -2
- package/dist/{appLogs-xsVkTriU.js.map → appLogs-Cl7Q_MR9.js.map} +1 -1
- package/dist/apps/index.cjs +29 -22
- package/dist/apps/index.cjs.map +1 -1
- package/dist/apps/index.d.cts +31 -73
- package/dist/apps/index.d.ts +31 -73
- package/dist/apps/index.js +29 -22
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/types.d.cts +2 -2
- package/dist/apps/types.d.ts +2 -2
- package/dist/assets/index.cjs +1 -1
- package/dist/assets/index.js +1 -1
- package/dist/auth/index.cjs +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/{auth-aItmDu45.js → auth-BjmkFOgd.js} +2 -2
- package/dist/{auth-aItmDu45.js.map → auth-BjmkFOgd.js.map} +1 -1
- package/dist/{auth-JQ33o3nU.cjs → auth-DLWnl18b.cjs} +2 -2
- package/dist/{auth-JQ33o3nU.cjs.map → auth-DLWnl18b.cjs.map} +1 -1
- package/dist/{authClient-_PpvGgZJ.cjs → authClient-8yU1last.cjs} +5 -5
- package/dist/{authClient-_PpvGgZJ.cjs.map → authClient-8yU1last.cjs.map} +1 -1
- package/dist/{authClient-D7W9vWPR.js → authClient-BTo4Afm6.js} +5 -5
- package/dist/{authClient-D7W9vWPR.js.map → authClient-BTo4Afm6.js.map} +1 -1
- package/dist/billing/index.cjs +2 -2
- package/dist/billing/index.js +2 -2
- package/dist/businessWorkspaceApi/index.cjs +3 -0
- package/dist/businessWorkspaceApi/index.d.cts +2 -0
- package/dist/businessWorkspaceApi/index.d.ts +2 -0
- package/dist/businessWorkspaceApi/index.js +2 -0
- package/dist/businessWorkspaceApi/types.cjs +0 -0
- package/dist/businessWorkspaceApi/types.d.cts +2 -0
- package/dist/businessWorkspaceApi/types.d.ts +2 -0
- package/dist/businessWorkspaceApi/types.js +1 -0
- package/dist/businessWorkspaceApi-BD-iUj07.js +61 -0
- package/dist/businessWorkspaceApi-BD-iUj07.js.map +1 -0
- package/dist/businessWorkspaceApi-wyBdbpIJ.cjs +66 -0
- package/dist/businessWorkspaceApi-wyBdbpIJ.cjs.map +1 -0
- package/dist/businessWorkspaceApiClient-C2WyWN3b.d.ts +529 -0
- package/dist/businessWorkspaceApiClient-CRM1U8b-.d.cts +529 -0
- package/dist/chat/index.cjs +5 -5
- package/dist/chat/index.cjs.map +1 -1
- package/dist/chat/index.d.cts +1 -1
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/index.js +5 -5
- package/dist/chat/index.js.map +1 -1
- package/dist/constants/index.cjs +1 -1
- package/dist/constants/index.d.cts +2 -2
- package/dist/constants/index.d.ts +2 -2
- package/dist/constants/index.js +1 -1
- package/dist/{constants-wfbFsqqN.js → constants-C2tYAJSj.js} +10 -1
- package/dist/constants-C2tYAJSj.js.map +1 -0
- package/dist/{constants-C4DlsF_M.cjs → constants-C6xku_Vx.cjs} +10 -1
- package/dist/constants-C6xku_Vx.cjs.map +1 -0
- package/dist/{createFetchClient-DgMiqTJ8.cjs → createFetchClient-BlgPbjFj.cjs} +14 -2
- package/dist/createFetchClient-BlgPbjFj.cjs.map +1 -0
- package/dist/{createFetchClient-U-ZrwPl2.js → createFetchClient-C-cadpBx.js} +14 -2
- package/dist/createFetchClient-C-cadpBx.js.map +1 -0
- package/dist/{createGenericFetchClient-rxvUUbap.js → createGenericFetchClient-Bnf1QK9W.js} +2 -2
- package/dist/{createGenericFetchClient-rxvUUbap.js.map → createGenericFetchClient-Bnf1QK9W.js.map} +1 -1
- package/dist/{createGenericFetchClient-o3cPJeRn.cjs → createGenericFetchClient-lcozzwk2.cjs} +2 -2
- package/dist/{createGenericFetchClient-o3cPJeRn.cjs.map → createGenericFetchClient-lcozzwk2.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-DhUU3M1W.cjs → createOpenapiFetchClient-C3UmDXpe.cjs} +2 -2
- package/dist/{createOpenapiFetchClient-DhUU3M1W.cjs.map → createOpenapiFetchClient-C3UmDXpe.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-BVSc9ibR.js → createOpenapiFetchClient-COaPeeQ0.js} +2 -2
- package/dist/{createOpenapiFetchClient-BVSc9ibR.js.map → createOpenapiFetchClient-COaPeeQ0.js.map} +1 -1
- package/dist/{credential-DVWvJFJs.cjs → credential-CAulvfZ-.cjs} +2 -2
- package/dist/{credential-DVWvJFJs.cjs.map → credential-CAulvfZ-.cjs.map} +1 -1
- package/dist/{credential-CihSf_xs.js → credential-DWXbo4IX.js} +2 -2
- package/dist/{credential-CihSf_xs.js.map → credential-DWXbo4IX.js.map} +1 -1
- package/dist/dataScience/index.cjs +2 -2
- package/dist/dataScience/index.js +2 -2
- package/dist/{dataScience-C1gO5zUn.js → dataScience-B_BmnB1m.js} +5 -5
- package/dist/{dataScience-C1gO5zUn.js.map → dataScience-B_BmnB1m.js.map} +1 -1
- package/dist/{dataScience-0Rl_EuV_.cjs → dataScience-D-hyc4GY.cjs} +5 -5
- package/dist/{dataScience-0Rl_EuV_.cjs.map → dataScience-D-hyc4GY.cjs.map} +1 -1
- package/dist/developerPortal/index.cjs +1 -1
- package/dist/developerPortal/index.js +1 -1
- package/dist/{developerPortalClient-ki0XS_OD.cjs → developerPortalClient-CutPqoAa.cjs} +3 -3
- package/dist/{developerPortalClient-ki0XS_OD.cjs.map → developerPortalClient-CutPqoAa.cjs.map} +1 -1
- package/dist/{developerPortalClient-C_48z8BN.js → developerPortalClient-yHFTkKPb.js} +3 -3
- package/dist/{developerPortalClient-C_48z8BN.js.map → developerPortalClient-yHFTkKPb.js.map} +1 -1
- package/dist/domain/permissions/index.d.cts +2 -2
- package/dist/domain/permissions/index.d.ts +2 -2
- package/dist/editor/index.cjs +2 -2
- package/dist/editor/index.js +2 -2
- package/dist/encryption/index.cjs +1 -1
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/index.js +1 -1
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/import/index.cjs +1 -1
- package/dist/import/index.js +1 -1
- package/dist/{import-C83w7BKz.cjs → import-7YyyD_U_.cjs} +3 -3
- package/dist/{import-C83w7BKz.cjs.map → import-7YyyD_U_.cjs.map} +1 -1
- package/dist/{import-CROEK82b.js → import-xliONVib.js} +3 -3
- package/dist/{import-CROEK82b.js.map → import-xliONVib.js.map} +1 -1
- package/dist/{index-D8rcUbnk.d.ts → index-1r_CskjU.d.ts} +2 -2
- package/dist/{index-P-iT5THa.d.ts → index-BK-qHT39.d.ts} +8 -4
- package/dist/{index-BLx14ZI4.d.cts → index-CHXnJQ9s.d.cts} +117 -76
- package/dist/{index-Dodwl64k.d.cts → index-CWoEnDJ_.d.cts} +8 -4
- package/dist/{index-NaYLwG_h.d.ts → index-DBklbaTp.d.cts} +9 -1
- package/dist/{index-NaYLwG_h.d.cts → index-DBklbaTp.d.ts} +9 -1
- package/dist/{index-BgLnWTZU.d.cts → index-DVw4Av4b.d.cts} +4 -4
- package/dist/{index-DR4QqItd.d.cts → index-DWf6FXOr.d.cts} +2 -2
- package/dist/{index-CqgtL2NU.d.ts → index-De5qUWhp.d.ts} +4 -4
- package/dist/{index-DFBFa3SS.d.ts → index-GfKzh267.d.ts} +117 -76
- package/dist/index.cjs +30 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +30 -20
- package/dist/index.js.map +1 -1
- package/dist/{isLoginPageRedirect-B0EmRsHr.cjs → isLoginPageRedirect-Cm6Pn8Pj.cjs} +2 -2
- package/dist/{isLoginPageRedirect-B0EmRsHr.cjs.map → isLoginPageRedirect-Cm6Pn8Pj.cjs.map} +1 -1
- package/dist/{isLoginPageRedirect-BTTAedW-.js → isLoginPageRedirect-hyPqyWNX.js} +2 -2
- package/dist/{isLoginPageRedirect-BTTAedW-.js.map → isLoginPageRedirect-hyPqyWNX.js.map} +1 -1
- package/dist/kaiAgent/index.cjs +1 -1
- package/dist/kaiAgent/index.d.cts +1 -1
- package/dist/kaiAgent/index.d.ts +1 -1
- package/dist/kaiAgent/index.js +1 -1
- package/dist/kaiAgent/types.d.cts +2 -2
- package/dist/kaiAgent/types.d.ts +2 -2
- package/dist/{kaiAgent-8LNzGhZc.js → kaiAgent-CcT2oNip.js} +41 -6
- package/dist/kaiAgent-CcT2oNip.js.map +1 -0
- package/dist/{kaiAgent-B_TaUPRt.cjs → kaiAgent-DaB6UCsh.cjs} +41 -6
- package/dist/kaiAgent-DaB6UCsh.cjs.map +1 -0
- package/dist/{kaiAgentClient-BJj_2aqt.d.ts → kaiAgentClient-B5L4gbQ1.d.ts} +8 -3
- package/dist/{kaiAgentClient-DhTaM3GC.d.cts → kaiAgentClient-CHpULyeG.d.cts} +8 -3
- package/dist/management/index.cjs +1 -1
- package/dist/management/index.d.cts +2 -2
- package/dist/management/index.d.ts +2 -2
- package/dist/management/index.js +1 -1
- package/dist/management/types.d.cts +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/{management-BoxlRNg2.cjs → management-DeZiQSlw.cjs} +41 -8
- package/dist/management-DeZiQSlw.cjs.map +1 -0
- package/dist/{management-Bp440RsV.js → management-ckdnu1dA.js} +41 -8
- package/dist/management-ckdnu1dA.js.map +1 -0
- package/dist/metastore/index.cjs +1 -1
- package/dist/metastore/index.js +1 -1
- package/dist/{metastore-BYYWTb3m.cjs → metastore-9AGrwjmN.cjs} +4 -4
- package/dist/{metastore-BYYWTb3m.cjs.map → metastore-9AGrwjmN.cjs.map} +1 -1
- package/dist/{metastore-VCDRVhUT.js → metastore-B0PolCjQ.js} +4 -4
- package/dist/{metastore-VCDRVhUT.js.map → metastore-B0PolCjQ.js.map} +1 -1
- package/dist/microsoftGraph/index.cjs +2 -2
- package/dist/microsoftGraph/index.js +2 -2
- package/dist/notifications/index.cjs +3 -3
- package/dist/notifications/index.js +3 -3
- package/dist/oauth/index.cjs +1 -1
- package/dist/oauth/index.js +1 -1
- package/dist/{oauth--asfePw-.js → oauth-BnHVf4cB.js} +5 -5
- package/dist/{oauth--asfePw-.js.map → oauth-BnHVf4cB.js.map} +1 -1
- package/dist/{oauth-B8yqG6Sy.cjs → oauth-DNtv4Ihb.cjs} +5 -5
- package/dist/{oauth-B8yqG6Sy.cjs.map → oauth-DNtv4Ihb.cjs.map} +1 -1
- package/dist/omnisearch/index.cjs +2 -2
- package/dist/omnisearch/index.js +2 -2
- package/dist/{project-hePfzUY0.d.cts → project-BRpzv3yE.d.cts} +2 -2
- package/dist/{project-C2wvX0xZ.d.ts → project-DCHOxRWd.d.ts} +2 -2
- package/dist/queryService/index.cjs +1 -1
- package/dist/queryService/index.d.cts +1 -1
- package/dist/queryService/index.d.ts +1 -1
- package/dist/queryService/index.js +1 -1
- package/dist/{queryService-BVtjkXy1.cjs → queryService-BVwD6Vmc.cjs} +5 -5
- package/dist/{queryService-BVtjkXy1.cjs.map → queryService-BVwD6Vmc.cjs.map} +1 -1
- package/dist/{queryService-Ca65E5KH.js → queryService-j3XZ2mX6.js} +5 -5
- package/dist/{queryService-Ca65E5KH.js.map → queryService-j3XZ2mX6.js.map} +1 -1
- package/dist/queue/index.cjs +1 -1
- package/dist/queue/index.d.cts +1 -1
- package/dist/queue/index.d.ts +1 -1
- package/dist/queue/index.js +1 -1
- package/dist/{queue-DyotLFJi.js → queue-Dagl0sdP.js} +4 -4
- package/dist/{queue-DyotLFJi.js.map → queue-Dagl0sdP.js.map} +1 -1
- package/dist/{queue-OJJUUqc2.cjs → queue-e3rMWbmK.cjs} +4 -4
- package/dist/{queue-OJJUUqc2.cjs.map → queue-e3rMWbmK.cjs.map} +1 -1
- package/dist/scheduler/index.cjs +3 -3
- package/dist/scheduler/index.js +3 -3
- package/dist/sdk/configurations/index.d.cts +4 -4
- package/dist/sdk/configurations/index.d.ts +4 -4
- package/dist/sdk/developerPortal/index.cjs +3 -3
- package/dist/sdk/developerPortal/index.js +3 -3
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/semanticLayer/index.cjs +1 -1
- package/dist/sdk/semanticLayer/index.js +1 -1
- package/dist/sdk/storage/index.d.cts +1 -1
- package/dist/sdk/storage/index.d.ts +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/{semanticLayer-CSqmtHRo.js → semanticLayer-6_gtFxDu.js} +38 -5
- package/dist/semanticLayer-6_gtFxDu.js.map +1 -0
- package/dist/{semanticLayer-E0Vilu8u.cjs → semanticLayer-9uTaU7UT.cjs} +38 -5
- package/dist/semanticLayer-9uTaU7UT.cjs.map +1 -0
- package/dist/{serviceIds-DRcoTnSd.d.ts → serviceIds-DC-H6ZD9.d.cts} +2 -1
- package/dist/{serviceIds-DRcoTnSd.d.cts → serviceIds-DC-H6ZD9.d.ts} +2 -1
- package/dist/status/index.cjs +1 -1
- package/dist/status/index.js +1 -1
- package/dist/storage/index.cjs +5 -4
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.js +5 -5
- package/dist/storage/types.d.cts +3 -3
- package/dist/storage/types.d.ts +3 -3
- package/dist/{storage-BKm7cztt.cjs → storage-HFUdEy7P.cjs} +43 -6
- package/dist/storage-HFUdEy7P.cjs.map +1 -0
- package/dist/{storage-LYwFQPNO.js → storage-Ob1LUIDq.js} +38 -7
- package/dist/storage-Ob1LUIDq.js.map +1 -0
- package/dist/stream/index.cjs +3 -3
- package/dist/stream/index.js +3 -3
- package/dist/syncActions/index.cjs +1 -1
- package/dist/syncActions/index.js +1 -1
- package/dist/{syncActions-QeBhIVhG.js → syncActions-B3NS5a0g.js} +5 -5
- package/dist/{syncActions-QeBhIVhG.js.map → syncActions-B3NS5a0g.js.map} +1 -1
- package/dist/{syncActions-OEZdVffK.cjs → syncActions-D2DhY6pP.cjs} +5 -5
- package/dist/{syncActions-OEZdVffK.cjs.map → syncActions-D2DhY6pP.cjs.map} +1 -1
- package/dist/telemetry/index.cjs +3 -3
- package/dist/telemetry/index.js +3 -3
- package/dist/{types-B3GOGUJ7.d.cts → types-B-P4vQe0.d.cts} +47 -2
- package/dist/{types-DEc55spK.d.ts → types-B95uNQ9o.d.ts} +3 -3
- package/dist/{types-BQsOHNI0.d.ts → types-BrPlv-NS.d.ts} +3 -3
- package/dist/{types-DjrRmQUe.d.cts → types-CmF3pR2n.d.cts} +3 -3
- package/dist/{types-f8W_j6qD.d.cts → types-Crhy0c9m.d.cts} +657 -199
- package/dist/{types-CBgLCkYe.d.ts → types-D6UmMa6E.d.ts} +224 -401
- package/dist/{types-DPS8nwkV.d.cts → types-DOyNe7oe.d.cts} +2 -1
- package/dist/{types-BMeDOB_D.d.ts → types-DPl8pZsY.d.ts} +47 -2
- package/dist/{types-DARv_P6O.d.cts → types-DXskkNp8.d.cts} +224 -401
- package/dist/{types-CaYtinmA.d.cts → types-D_j2Uq5X.d.cts} +3 -3
- package/dist/{types-BupPADSm.d.ts → types-DrqKICcK.d.ts} +657 -199
- package/dist/{types-DBOSvWtD.d.ts → types-gi4Eay19.d.ts} +2 -1
- package/dist/{validateConnectionStatus-olE2sQ3U.js → validateConnectionStatus-828HV8WL.js} +4 -3
- package/dist/validateConnectionStatus-828HV8WL.js.map +1 -0
- package/dist/{validateConnectionStatus-CsvYmCOI.cjs → validateConnectionStatus-CvBKyeDO.cjs} +4 -3
- package/dist/validateConnectionStatus-CvBKyeDO.cjs.map +1 -0
- package/dist/vault/index.cjs +4 -4
- package/dist/vault/index.js +4 -4
- package/package.json +34 -8
- package/surface/apps.md +11 -11
- package/surface/billing.md +2 -2
- package/surface/businessWorkspaceApi.md +12 -0
- package/surface/chat.md +1 -1
- package/surface/editor.md +5 -5
- package/surface/kaiAgent.md +5 -2
- package/surface/management.md +4 -0
- package/dist/constants-C4DlsF_M.cjs.map +0 -1
- package/dist/constants-wfbFsqqN.js.map +0 -1
- package/dist/createFetchClient-DgMiqTJ8.cjs.map +0 -1
- package/dist/createFetchClient-U-ZrwPl2.js.map +0 -1
- package/dist/kaiAgent-8LNzGhZc.js.map +0 -1
- package/dist/kaiAgent-B_TaUPRt.cjs.map +0 -1
- package/dist/management-BoxlRNg2.cjs.map +0 -1
- package/dist/management-Bp440RsV.js.map +0 -1
- package/dist/semanticLayer-CSqmtHRo.js.map +0 -1
- package/dist/semanticLayer-E0Vilu8u.cjs.map +0 -1
- package/dist/storage-BKm7cztt.cjs.map +0 -1
- package/dist/storage-LYwFQPNO.js.map +0 -1
- package/dist/validateConnectionStatus-CsvYmCOI.cjs.map +0 -1
- package/dist/validateConnectionStatus-olE2sQ3U.js.map +0 -1
|
@@ -156,10 +156,10 @@ type paths = {
|
|
|
156
156
|
/** @enum {string} */
|
|
157
157
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
158
158
|
/** @enum {string} */
|
|
159
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
159
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
160
160
|
message: string;
|
|
161
161
|
/** @enum {string} */
|
|
162
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
162
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
163
163
|
exceptionId?: string;
|
|
164
164
|
};
|
|
165
165
|
};
|
|
@@ -176,10 +176,10 @@ type paths = {
|
|
|
176
176
|
/** @enum {string} */
|
|
177
177
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
178
178
|
/** @enum {string} */
|
|
179
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
179
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
180
180
|
message: string;
|
|
181
181
|
/** @enum {string} */
|
|
182
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
182
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
183
183
|
exceptionId?: string;
|
|
184
184
|
};
|
|
185
185
|
};
|
|
@@ -196,10 +196,10 @@ type paths = {
|
|
|
196
196
|
/** @enum {string} */
|
|
197
197
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
198
198
|
/** @enum {string} */
|
|
199
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
199
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
200
200
|
message: string;
|
|
201
201
|
/** @enum {string} */
|
|
202
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
202
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
203
203
|
exceptionId?: string;
|
|
204
204
|
};
|
|
205
205
|
};
|
|
@@ -301,10 +301,10 @@ type paths = {
|
|
|
301
301
|
/** @enum {string} */
|
|
302
302
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
303
303
|
/** @enum {string} */
|
|
304
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
304
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
305
305
|
message: string;
|
|
306
306
|
/** @enum {string} */
|
|
307
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
307
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
308
308
|
exceptionId?: string;
|
|
309
309
|
};
|
|
310
310
|
};
|
|
@@ -321,10 +321,10 @@ type paths = {
|
|
|
321
321
|
/** @enum {string} */
|
|
322
322
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
323
323
|
/** @enum {string} */
|
|
324
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
324
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
325
325
|
message: string;
|
|
326
326
|
/** @enum {string} */
|
|
327
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
327
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
328
328
|
exceptionId?: string;
|
|
329
329
|
};
|
|
330
330
|
};
|
|
@@ -341,10 +341,10 @@ type paths = {
|
|
|
341
341
|
/** @enum {string} */
|
|
342
342
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
343
343
|
/** @enum {string} */
|
|
344
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
344
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
345
345
|
message: string;
|
|
346
346
|
/** @enum {string} */
|
|
347
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
347
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
348
348
|
exceptionId?: string;
|
|
349
349
|
};
|
|
350
350
|
};
|
|
@@ -361,10 +361,10 @@ type paths = {
|
|
|
361
361
|
/** @enum {string} */
|
|
362
362
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
363
363
|
/** @enum {string} */
|
|
364
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
364
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
365
365
|
message: string;
|
|
366
366
|
/** @enum {string} */
|
|
367
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
367
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
368
368
|
exceptionId?: string;
|
|
369
369
|
};
|
|
370
370
|
};
|
|
@@ -381,10 +381,10 @@ type paths = {
|
|
|
381
381
|
/** @enum {string} */
|
|
382
382
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
383
383
|
/** @enum {string} */
|
|
384
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
384
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
385
385
|
message: string;
|
|
386
386
|
/** @enum {string} */
|
|
387
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
387
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
388
388
|
exceptionId?: string;
|
|
389
389
|
};
|
|
390
390
|
};
|
|
@@ -437,10 +437,10 @@ type paths = {
|
|
|
437
437
|
/** @enum {string} */
|
|
438
438
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
439
439
|
/** @enum {string} */
|
|
440
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
440
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
441
441
|
message: string;
|
|
442
442
|
/** @enum {string} */
|
|
443
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
443
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
444
444
|
exceptionId?: string;
|
|
445
445
|
};
|
|
446
446
|
};
|
|
@@ -457,10 +457,10 @@ type paths = {
|
|
|
457
457
|
/** @enum {string} */
|
|
458
458
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
459
459
|
/** @enum {string} */
|
|
460
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
460
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
461
461
|
message: string;
|
|
462
462
|
/** @enum {string} */
|
|
463
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
463
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
464
464
|
exceptionId?: string;
|
|
465
465
|
};
|
|
466
466
|
};
|
|
@@ -477,10 +477,10 @@ type paths = {
|
|
|
477
477
|
/** @enum {string} */
|
|
478
478
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
479
479
|
/** @enum {string} */
|
|
480
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
480
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
481
481
|
message: string;
|
|
482
482
|
/** @enum {string} */
|
|
483
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
483
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
484
484
|
exceptionId?: string;
|
|
485
485
|
};
|
|
486
486
|
};
|
|
@@ -497,10 +497,10 @@ type paths = {
|
|
|
497
497
|
/** @enum {string} */
|
|
498
498
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
499
499
|
/** @enum {string} */
|
|
500
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
500
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
501
501
|
message: string;
|
|
502
502
|
/** @enum {string} */
|
|
503
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
503
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
504
504
|
exceptionId?: string;
|
|
505
505
|
};
|
|
506
506
|
};
|
|
@@ -555,10 +555,10 @@ type paths = {
|
|
|
555
555
|
/** @enum {string} */
|
|
556
556
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
557
557
|
/** @enum {string} */
|
|
558
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
558
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
559
559
|
message: string;
|
|
560
560
|
/** @enum {string} */
|
|
561
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
561
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
562
562
|
exceptionId?: string;
|
|
563
563
|
};
|
|
564
564
|
};
|
|
@@ -575,10 +575,10 @@ type paths = {
|
|
|
575
575
|
/** @enum {string} */
|
|
576
576
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
577
577
|
/** @enum {string} */
|
|
578
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
578
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
579
579
|
message: string;
|
|
580
580
|
/** @enum {string} */
|
|
581
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
581
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
582
582
|
exceptionId?: string;
|
|
583
583
|
};
|
|
584
584
|
};
|
|
@@ -595,10 +595,10 @@ type paths = {
|
|
|
595
595
|
/** @enum {string} */
|
|
596
596
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
597
597
|
/** @enum {string} */
|
|
598
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
598
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
599
599
|
message: string;
|
|
600
600
|
/** @enum {string} */
|
|
601
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
601
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
602
602
|
exceptionId?: string;
|
|
603
603
|
};
|
|
604
604
|
};
|
|
@@ -615,10 +615,10 @@ type paths = {
|
|
|
615
615
|
/** @enum {string} */
|
|
616
616
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
617
617
|
/** @enum {string} */
|
|
618
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
618
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
619
619
|
message: string;
|
|
620
620
|
/** @enum {string} */
|
|
621
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
621
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
622
622
|
exceptionId?: string;
|
|
623
623
|
};
|
|
624
624
|
};
|
|
@@ -680,10 +680,10 @@ type paths = {
|
|
|
680
680
|
/** @enum {string} */
|
|
681
681
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
682
682
|
/** @enum {string} */
|
|
683
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
683
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
684
684
|
message: string;
|
|
685
685
|
/** @enum {string} */
|
|
686
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
686
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
687
687
|
exceptionId?: string;
|
|
688
688
|
};
|
|
689
689
|
};
|
|
@@ -700,10 +700,10 @@ type paths = {
|
|
|
700
700
|
/** @enum {string} */
|
|
701
701
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
702
702
|
/** @enum {string} */
|
|
703
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
703
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
704
704
|
message: string;
|
|
705
705
|
/** @enum {string} */
|
|
706
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
706
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
707
707
|
exceptionId?: string;
|
|
708
708
|
};
|
|
709
709
|
};
|
|
@@ -720,10 +720,10 @@ type paths = {
|
|
|
720
720
|
/** @enum {string} */
|
|
721
721
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
722
722
|
/** @enum {string} */
|
|
723
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
723
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
724
724
|
message: string;
|
|
725
725
|
/** @enum {string} */
|
|
726
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
726
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
727
727
|
exceptionId?: string;
|
|
728
728
|
};
|
|
729
729
|
};
|
|
@@ -740,10 +740,113 @@ type paths = {
|
|
|
740
740
|
/** @enum {string} */
|
|
741
741
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
742
742
|
/** @enum {string} */
|
|
743
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
743
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
744
744
|
message: string;
|
|
745
745
|
/** @enum {string} */
|
|
746
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
746
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
747
|
+
exceptionId?: string;
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
};
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
delete?: never;
|
|
755
|
+
options?: never;
|
|
756
|
+
head?: never;
|
|
757
|
+
patch?: never;
|
|
758
|
+
trace?: never;
|
|
759
|
+
};
|
|
760
|
+
'/api/chat/{id}/prepare': {
|
|
761
|
+
parameters: {
|
|
762
|
+
query?: never;
|
|
763
|
+
header?: never;
|
|
764
|
+
path?: never;
|
|
765
|
+
cookie?: never;
|
|
766
|
+
};
|
|
767
|
+
get?: never;
|
|
768
|
+
put?: never;
|
|
769
|
+
/**
|
|
770
|
+
* Build this chat's sandbox before a turn asks for one
|
|
771
|
+
* @description Pre-warms the chat: acquires the sandbox, materializes the workspace and boots the agent process so a message that follows only has to be handed to it. Speculative and fire-and-forget — the work continues after the response, nothing is written to the chat, and a pre-warm that fails costs only what not pre-warming costs. 404 when this deployment has no pre-warm capability, which callers should treat as "not supported here", not as an error.
|
|
772
|
+
*/
|
|
773
|
+
post: {
|
|
774
|
+
parameters: {
|
|
775
|
+
query?: never;
|
|
776
|
+
header?: never;
|
|
777
|
+
path: {
|
|
778
|
+
id: string;
|
|
779
|
+
};
|
|
780
|
+
cookie?: never;
|
|
781
|
+
};
|
|
782
|
+
requestBody?: never;
|
|
783
|
+
responses: {
|
|
784
|
+
/** @description Pre-warm request accepted. `started` is true only when one is actually running: it is false when another was already in flight for this chat, when the chat is not one a pre-warm may touch (it already exists, or is deleted), and while the pod is draining. */
|
|
785
|
+
202: {
|
|
786
|
+
headers: {
|
|
787
|
+
[name: string]: unknown;
|
|
788
|
+
};
|
|
789
|
+
content: {
|
|
790
|
+
'application/json': {
|
|
791
|
+
started: boolean;
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
/** @description Unauthorized */
|
|
796
|
+
401: {
|
|
797
|
+
headers: {
|
|
798
|
+
[name: string]: unknown;
|
|
799
|
+
};
|
|
800
|
+
content: {
|
|
801
|
+
'application/json': {
|
|
802
|
+
error: {
|
|
803
|
+
/** @enum {string} */
|
|
804
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
805
|
+
/** @enum {string} */
|
|
806
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
807
|
+
message: string;
|
|
808
|
+
/** @enum {string} */
|
|
809
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
810
|
+
exceptionId?: string;
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
/** @description Forbidden */
|
|
816
|
+
403: {
|
|
817
|
+
headers: {
|
|
818
|
+
[name: string]: unknown;
|
|
819
|
+
};
|
|
820
|
+
content: {
|
|
821
|
+
'application/json': {
|
|
822
|
+
error: {
|
|
823
|
+
/** @enum {string} */
|
|
824
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
825
|
+
/** @enum {string} */
|
|
826
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
827
|
+
message: string;
|
|
828
|
+
/** @enum {string} */
|
|
829
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
830
|
+
exceptionId?: string;
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
/** @description This deployment does not pre-warm */
|
|
836
|
+
404: {
|
|
837
|
+
headers: {
|
|
838
|
+
[name: string]: unknown;
|
|
839
|
+
};
|
|
840
|
+
content: {
|
|
841
|
+
'application/json': {
|
|
842
|
+
error: {
|
|
843
|
+
/** @enum {string} */
|
|
844
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
845
|
+
/** @enum {string} */
|
|
846
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
847
|
+
message: string;
|
|
848
|
+
/** @enum {string} */
|
|
849
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
747
850
|
exceptionId?: string;
|
|
748
851
|
};
|
|
749
852
|
};
|
|
@@ -884,10 +987,10 @@ type paths = {
|
|
|
884
987
|
/** @enum {string} */
|
|
885
988
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
886
989
|
/** @enum {string} */
|
|
887
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
990
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
888
991
|
message: string;
|
|
889
992
|
/** @enum {string} */
|
|
890
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
993
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
891
994
|
exceptionId?: string;
|
|
892
995
|
};
|
|
893
996
|
};
|
|
@@ -904,10 +1007,10 @@ type paths = {
|
|
|
904
1007
|
/** @enum {string} */
|
|
905
1008
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
906
1009
|
/** @enum {string} */
|
|
907
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1010
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
908
1011
|
message: string;
|
|
909
1012
|
/** @enum {string} */
|
|
910
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1013
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
911
1014
|
exceptionId?: string;
|
|
912
1015
|
};
|
|
913
1016
|
};
|
|
@@ -924,10 +1027,10 @@ type paths = {
|
|
|
924
1027
|
/** @enum {string} */
|
|
925
1028
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
926
1029
|
/** @enum {string} */
|
|
927
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1030
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
928
1031
|
message: string;
|
|
929
1032
|
/** @enum {string} */
|
|
930
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1033
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
931
1034
|
exceptionId?: string;
|
|
932
1035
|
};
|
|
933
1036
|
};
|
|
@@ -944,10 +1047,10 @@ type paths = {
|
|
|
944
1047
|
/** @enum {string} */
|
|
945
1048
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
946
1049
|
/** @enum {string} */
|
|
947
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1050
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
948
1051
|
message: string;
|
|
949
1052
|
/** @enum {string} */
|
|
950
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1053
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
951
1054
|
exceptionId?: string;
|
|
952
1055
|
};
|
|
953
1056
|
};
|
|
@@ -964,10 +1067,330 @@ type paths = {
|
|
|
964
1067
|
/** @enum {string} */
|
|
965
1068
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
966
1069
|
/** @enum {string} */
|
|
967
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1070
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
968
1071
|
message: string;
|
|
969
1072
|
/** @enum {string} */
|
|
970
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1073
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1074
|
+
exceptionId?: string;
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
};
|
|
1080
|
+
};
|
|
1081
|
+
put?: never;
|
|
1082
|
+
post?: never;
|
|
1083
|
+
delete?: never;
|
|
1084
|
+
options?: never;
|
|
1085
|
+
head?: never;
|
|
1086
|
+
patch?: never;
|
|
1087
|
+
trace?: never;
|
|
1088
|
+
};
|
|
1089
|
+
'/api/artifacts': {
|
|
1090
|
+
parameters: {
|
|
1091
|
+
query?: never;
|
|
1092
|
+
header?: never;
|
|
1093
|
+
path?: never;
|
|
1094
|
+
cookie?: never;
|
|
1095
|
+
};
|
|
1096
|
+
/**
|
|
1097
|
+
* List a chat’s artifacts
|
|
1098
|
+
* @description Every artifact derived from a chat, oldest first — the same order as the transcript they came from. Read-only: artifacts are derived server-side at the end of a turn, never posted.
|
|
1099
|
+
*/
|
|
1100
|
+
get: {
|
|
1101
|
+
parameters: {
|
|
1102
|
+
query: {
|
|
1103
|
+
chatId: string;
|
|
1104
|
+
};
|
|
1105
|
+
header?: never;
|
|
1106
|
+
path?: never;
|
|
1107
|
+
cookie?: never;
|
|
1108
|
+
};
|
|
1109
|
+
requestBody?: never;
|
|
1110
|
+
responses: {
|
|
1111
|
+
/** @description List of artifacts */
|
|
1112
|
+
200: {
|
|
1113
|
+
headers: {
|
|
1114
|
+
[name: string]: unknown;
|
|
1115
|
+
};
|
|
1116
|
+
content: {
|
|
1117
|
+
'application/json': {
|
|
1118
|
+
/** Format: uuid */
|
|
1119
|
+
id: string;
|
|
1120
|
+
/** Format: uuid */
|
|
1121
|
+
chatId: string;
|
|
1122
|
+
/** Format: uuid */
|
|
1123
|
+
messageId: string;
|
|
1124
|
+
/** @enum {string} */
|
|
1125
|
+
kind: 'chart' | 'table' | 'document';
|
|
1126
|
+
title: string;
|
|
1127
|
+
summary: string | null;
|
|
1128
|
+
spec: {
|
|
1129
|
+
[key: string]: unknown;
|
|
1130
|
+
};
|
|
1131
|
+
recipe: {
|
|
1132
|
+
[key: string]: unknown;
|
|
1133
|
+
};
|
|
1134
|
+
/** Format: date-time */
|
|
1135
|
+
createdAt: string;
|
|
1136
|
+
}[];
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
/** @description Bad request */
|
|
1140
|
+
400: {
|
|
1141
|
+
headers: {
|
|
1142
|
+
[name: string]: unknown;
|
|
1143
|
+
};
|
|
1144
|
+
content: {
|
|
1145
|
+
'application/json': {
|
|
1146
|
+
error: {
|
|
1147
|
+
/** @enum {string} */
|
|
1148
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1149
|
+
/** @enum {string} */
|
|
1150
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1151
|
+
message: string;
|
|
1152
|
+
/** @enum {string} */
|
|
1153
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1154
|
+
exceptionId?: string;
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1159
|
+
/** @description Unauthorized */
|
|
1160
|
+
401: {
|
|
1161
|
+
headers: {
|
|
1162
|
+
[name: string]: unknown;
|
|
1163
|
+
};
|
|
1164
|
+
content: {
|
|
1165
|
+
'application/json': {
|
|
1166
|
+
error: {
|
|
1167
|
+
/** @enum {string} */
|
|
1168
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1169
|
+
/** @enum {string} */
|
|
1170
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1171
|
+
message: string;
|
|
1172
|
+
/** @enum {string} */
|
|
1173
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1174
|
+
exceptionId?: string;
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
};
|
|
1179
|
+
/** @description Forbidden */
|
|
1180
|
+
403: {
|
|
1181
|
+
headers: {
|
|
1182
|
+
[name: string]: unknown;
|
|
1183
|
+
};
|
|
1184
|
+
content: {
|
|
1185
|
+
'application/json': {
|
|
1186
|
+
error: {
|
|
1187
|
+
/** @enum {string} */
|
|
1188
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1189
|
+
/** @enum {string} */
|
|
1190
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1191
|
+
message: string;
|
|
1192
|
+
/** @enum {string} */
|
|
1193
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1194
|
+
exceptionId?: string;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
};
|
|
1199
|
+
/** @description Not found */
|
|
1200
|
+
404: {
|
|
1201
|
+
headers: {
|
|
1202
|
+
[name: string]: unknown;
|
|
1203
|
+
};
|
|
1204
|
+
content: {
|
|
1205
|
+
'application/json': {
|
|
1206
|
+
error: {
|
|
1207
|
+
/** @enum {string} */
|
|
1208
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1209
|
+
/** @enum {string} */
|
|
1210
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1211
|
+
message: string;
|
|
1212
|
+
/** @enum {string} */
|
|
1213
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1214
|
+
exceptionId?: string;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1219
|
+
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
1220
|
+
503: {
|
|
1221
|
+
headers: {
|
|
1222
|
+
[name: string]: unknown;
|
|
1223
|
+
};
|
|
1224
|
+
content: {
|
|
1225
|
+
'application/json': {
|
|
1226
|
+
error: {
|
|
1227
|
+
/** @enum {string} */
|
|
1228
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1229
|
+
/** @enum {string} */
|
|
1230
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1231
|
+
message: string;
|
|
1232
|
+
/** @enum {string} */
|
|
1233
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1234
|
+
exceptionId?: string;
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
};
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
1241
|
+
put?: never;
|
|
1242
|
+
post?: never;
|
|
1243
|
+
delete?: never;
|
|
1244
|
+
options?: never;
|
|
1245
|
+
head?: never;
|
|
1246
|
+
patch?: never;
|
|
1247
|
+
trace?: never;
|
|
1248
|
+
};
|
|
1249
|
+
'/api/artifacts/{id}': {
|
|
1250
|
+
parameters: {
|
|
1251
|
+
query?: never;
|
|
1252
|
+
header?: never;
|
|
1253
|
+
path?: never;
|
|
1254
|
+
cookie?: never;
|
|
1255
|
+
};
|
|
1256
|
+
/**
|
|
1257
|
+
* Get one artifact
|
|
1258
|
+
* @description One artifact, readable exactly when the chat it belongs to is — its owning chat is the authorization.
|
|
1259
|
+
*/
|
|
1260
|
+
get: {
|
|
1261
|
+
parameters: {
|
|
1262
|
+
query?: never;
|
|
1263
|
+
header?: never;
|
|
1264
|
+
path: {
|
|
1265
|
+
id: string;
|
|
1266
|
+
};
|
|
1267
|
+
cookie?: never;
|
|
1268
|
+
};
|
|
1269
|
+
requestBody?: never;
|
|
1270
|
+
responses: {
|
|
1271
|
+
/** @description The artifact */
|
|
1272
|
+
200: {
|
|
1273
|
+
headers: {
|
|
1274
|
+
[name: string]: unknown;
|
|
1275
|
+
};
|
|
1276
|
+
content: {
|
|
1277
|
+
'application/json': {
|
|
1278
|
+
/** Format: uuid */
|
|
1279
|
+
id: string;
|
|
1280
|
+
/** Format: uuid */
|
|
1281
|
+
chatId: string;
|
|
1282
|
+
/** Format: uuid */
|
|
1283
|
+
messageId: string;
|
|
1284
|
+
/** @enum {string} */
|
|
1285
|
+
kind: 'chart' | 'table' | 'document';
|
|
1286
|
+
title: string;
|
|
1287
|
+
summary: string | null;
|
|
1288
|
+
spec: {
|
|
1289
|
+
[key: string]: unknown;
|
|
1290
|
+
};
|
|
1291
|
+
recipe: {
|
|
1292
|
+
[key: string]: unknown;
|
|
1293
|
+
};
|
|
1294
|
+
/** Format: date-time */
|
|
1295
|
+
createdAt: string;
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
};
|
|
1299
|
+
/** @description Bad request */
|
|
1300
|
+
400: {
|
|
1301
|
+
headers: {
|
|
1302
|
+
[name: string]: unknown;
|
|
1303
|
+
};
|
|
1304
|
+
content: {
|
|
1305
|
+
'application/json': {
|
|
1306
|
+
error: {
|
|
1307
|
+
/** @enum {string} */
|
|
1308
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1309
|
+
/** @enum {string} */
|
|
1310
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1311
|
+
message: string;
|
|
1312
|
+
/** @enum {string} */
|
|
1313
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1314
|
+
exceptionId?: string;
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
/** @description Unauthorized */
|
|
1320
|
+
401: {
|
|
1321
|
+
headers: {
|
|
1322
|
+
[name: string]: unknown;
|
|
1323
|
+
};
|
|
1324
|
+
content: {
|
|
1325
|
+
'application/json': {
|
|
1326
|
+
error: {
|
|
1327
|
+
/** @enum {string} */
|
|
1328
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1329
|
+
/** @enum {string} */
|
|
1330
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1331
|
+
message: string;
|
|
1332
|
+
/** @enum {string} */
|
|
1333
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1334
|
+
exceptionId?: string;
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1339
|
+
/** @description Forbidden */
|
|
1340
|
+
403: {
|
|
1341
|
+
headers: {
|
|
1342
|
+
[name: string]: unknown;
|
|
1343
|
+
};
|
|
1344
|
+
content: {
|
|
1345
|
+
'application/json': {
|
|
1346
|
+
error: {
|
|
1347
|
+
/** @enum {string} */
|
|
1348
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1349
|
+
/** @enum {string} */
|
|
1350
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1351
|
+
message: string;
|
|
1352
|
+
/** @enum {string} */
|
|
1353
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1354
|
+
exceptionId?: string;
|
|
1355
|
+
};
|
|
1356
|
+
};
|
|
1357
|
+
};
|
|
1358
|
+
};
|
|
1359
|
+
/** @description Not found */
|
|
1360
|
+
404: {
|
|
1361
|
+
headers: {
|
|
1362
|
+
[name: string]: unknown;
|
|
1363
|
+
};
|
|
1364
|
+
content: {
|
|
1365
|
+
'application/json': {
|
|
1366
|
+
error: {
|
|
1367
|
+
/** @enum {string} */
|
|
1368
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1369
|
+
/** @enum {string} */
|
|
1370
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1371
|
+
message: string;
|
|
1372
|
+
/** @enum {string} */
|
|
1373
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1374
|
+
exceptionId?: string;
|
|
1375
|
+
};
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
1379
|
+
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
1380
|
+
503: {
|
|
1381
|
+
headers: {
|
|
1382
|
+
[name: string]: unknown;
|
|
1383
|
+
};
|
|
1384
|
+
content: {
|
|
1385
|
+
'application/json': {
|
|
1386
|
+
error: {
|
|
1387
|
+
/** @enum {string} */
|
|
1388
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1389
|
+
/** @enum {string} */
|
|
1390
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1391
|
+
message: string;
|
|
1392
|
+
/** @enum {string} */
|
|
1393
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
971
1394
|
exceptionId?: string;
|
|
972
1395
|
};
|
|
973
1396
|
};
|
|
@@ -1031,10 +1454,10 @@ type paths = {
|
|
|
1031
1454
|
/** @enum {string} */
|
|
1032
1455
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1033
1456
|
/** @enum {string} */
|
|
1034
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1457
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1035
1458
|
message: string;
|
|
1036
1459
|
/** @enum {string} */
|
|
1037
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1460
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1038
1461
|
exceptionId?: string;
|
|
1039
1462
|
};
|
|
1040
1463
|
};
|
|
@@ -1051,10 +1474,10 @@ type paths = {
|
|
|
1051
1474
|
/** @enum {string} */
|
|
1052
1475
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1053
1476
|
/** @enum {string} */
|
|
1054
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1477
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1055
1478
|
message: string;
|
|
1056
1479
|
/** @enum {string} */
|
|
1057
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1480
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1058
1481
|
exceptionId?: string;
|
|
1059
1482
|
};
|
|
1060
1483
|
};
|
|
@@ -1071,10 +1494,10 @@ type paths = {
|
|
|
1071
1494
|
/** @enum {string} */
|
|
1072
1495
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1073
1496
|
/** @enum {string} */
|
|
1074
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1497
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1075
1498
|
message: string;
|
|
1076
1499
|
/** @enum {string} */
|
|
1077
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1500
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1078
1501
|
exceptionId?: string;
|
|
1079
1502
|
};
|
|
1080
1503
|
};
|
|
@@ -1091,10 +1514,10 @@ type paths = {
|
|
|
1091
1514
|
/** @enum {string} */
|
|
1092
1515
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1093
1516
|
/** @enum {string} */
|
|
1094
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1517
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1095
1518
|
message: string;
|
|
1096
1519
|
/** @enum {string} */
|
|
1097
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1520
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1098
1521
|
exceptionId?: string;
|
|
1099
1522
|
};
|
|
1100
1523
|
};
|
|
@@ -1111,10 +1534,10 @@ type paths = {
|
|
|
1111
1534
|
/** @enum {string} */
|
|
1112
1535
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1113
1536
|
/** @enum {string} */
|
|
1114
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1537
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1115
1538
|
message: string;
|
|
1116
1539
|
/** @enum {string} */
|
|
1117
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1540
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1118
1541
|
exceptionId?: string;
|
|
1119
1542
|
};
|
|
1120
1543
|
};
|
|
@@ -1169,10 +1592,10 @@ type paths = {
|
|
|
1169
1592
|
/** @enum {string} */
|
|
1170
1593
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1171
1594
|
/** @enum {string} */
|
|
1172
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1595
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1173
1596
|
message: string;
|
|
1174
1597
|
/** @enum {string} */
|
|
1175
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1598
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1176
1599
|
exceptionId?: string;
|
|
1177
1600
|
};
|
|
1178
1601
|
};
|
|
@@ -1189,10 +1612,10 @@ type paths = {
|
|
|
1189
1612
|
/** @enum {string} */
|
|
1190
1613
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1191
1614
|
/** @enum {string} */
|
|
1192
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1615
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1193
1616
|
message: string;
|
|
1194
1617
|
/** @enum {string} */
|
|
1195
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1618
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1196
1619
|
exceptionId?: string;
|
|
1197
1620
|
};
|
|
1198
1621
|
};
|
|
@@ -1209,10 +1632,10 @@ type paths = {
|
|
|
1209
1632
|
/** @enum {string} */
|
|
1210
1633
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1211
1634
|
/** @enum {string} */
|
|
1212
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1635
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1213
1636
|
message: string;
|
|
1214
1637
|
/** @enum {string} */
|
|
1215
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1638
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1216
1639
|
exceptionId?: string;
|
|
1217
1640
|
};
|
|
1218
1641
|
};
|
|
@@ -1229,10 +1652,10 @@ type paths = {
|
|
|
1229
1652
|
/** @enum {string} */
|
|
1230
1653
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1231
1654
|
/** @enum {string} */
|
|
1232
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1655
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1233
1656
|
message: string;
|
|
1234
1657
|
/** @enum {string} */
|
|
1235
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1658
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1236
1659
|
exceptionId?: string;
|
|
1237
1660
|
};
|
|
1238
1661
|
};
|
|
@@ -1249,10 +1672,10 @@ type paths = {
|
|
|
1249
1672
|
/** @enum {string} */
|
|
1250
1673
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1251
1674
|
/** @enum {string} */
|
|
1252
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1675
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1253
1676
|
message: string;
|
|
1254
1677
|
/** @enum {string} */
|
|
1255
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1678
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1256
1679
|
exceptionId?: string;
|
|
1257
1680
|
};
|
|
1258
1681
|
};
|
|
@@ -1290,6 +1713,7 @@ type paths = {
|
|
|
1290
1713
|
toolUseId: string;
|
|
1291
1714
|
approved: boolean;
|
|
1292
1715
|
reason?: string;
|
|
1716
|
+
dismissed?: boolean;
|
|
1293
1717
|
updatedInput?: {
|
|
1294
1718
|
[key: string]: unknown;
|
|
1295
1719
|
};
|
|
@@ -1324,10 +1748,10 @@ type paths = {
|
|
|
1324
1748
|
/** @enum {string} */
|
|
1325
1749
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1326
1750
|
/** @enum {string} */
|
|
1327
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1751
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1328
1752
|
message: string;
|
|
1329
1753
|
/** @enum {string} */
|
|
1330
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1754
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1331
1755
|
exceptionId?: string;
|
|
1332
1756
|
};
|
|
1333
1757
|
};
|
|
@@ -1344,10 +1768,10 @@ type paths = {
|
|
|
1344
1768
|
/** @enum {string} */
|
|
1345
1769
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1346
1770
|
/** @enum {string} */
|
|
1347
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1771
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1348
1772
|
message: string;
|
|
1349
1773
|
/** @enum {string} */
|
|
1350
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1774
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1351
1775
|
exceptionId?: string;
|
|
1352
1776
|
};
|
|
1353
1777
|
};
|
|
@@ -1364,16 +1788,16 @@ type paths = {
|
|
|
1364
1788
|
/** @enum {string} */
|
|
1365
1789
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1366
1790
|
/** @enum {string} */
|
|
1367
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1791
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1368
1792
|
message: string;
|
|
1369
1793
|
/** @enum {string} */
|
|
1370
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1794
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1371
1795
|
exceptionId?: string;
|
|
1372
1796
|
};
|
|
1373
1797
|
};
|
|
1374
1798
|
};
|
|
1375
1799
|
};
|
|
1376
|
-
/** @description
|
|
1800
|
+
/** @description Unknown toolUseId — no approval was ever registered for it */
|
|
1377
1801
|
404: {
|
|
1378
1802
|
headers: {
|
|
1379
1803
|
[name: string]: unknown;
|
|
@@ -1384,10 +1808,30 @@ type paths = {
|
|
|
1384
1808
|
/** @enum {string} */
|
|
1385
1809
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1386
1810
|
/** @enum {string} */
|
|
1387
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1811
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1812
|
+
message: string;
|
|
1813
|
+
/** @enum {string} */
|
|
1814
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1815
|
+
exceptionId?: string;
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
/** @description The approval slot existed and is gone. `error.subtype` carries the reason (resolved | timed_out | chat_cancelled | swept | shutdown); the decision is final, so the client must not retry. */
|
|
1821
|
+
409: {
|
|
1822
|
+
headers: {
|
|
1823
|
+
[name: string]: unknown;
|
|
1824
|
+
};
|
|
1825
|
+
content: {
|
|
1826
|
+
'application/json': {
|
|
1827
|
+
error: {
|
|
1828
|
+
/** @enum {string} */
|
|
1829
|
+
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1830
|
+
/** @enum {string} */
|
|
1831
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1388
1832
|
message: string;
|
|
1389
1833
|
/** @enum {string} */
|
|
1390
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1834
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1391
1835
|
exceptionId?: string;
|
|
1392
1836
|
};
|
|
1393
1837
|
};
|
|
@@ -1404,10 +1848,10 @@ type paths = {
|
|
|
1404
1848
|
/** @enum {string} */
|
|
1405
1849
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1406
1850
|
/** @enum {string} */
|
|
1407
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1851
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1408
1852
|
message: string;
|
|
1409
1853
|
/** @enum {string} */
|
|
1410
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1854
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1411
1855
|
exceptionId?: string;
|
|
1412
1856
|
};
|
|
1413
1857
|
};
|
|
@@ -1476,10 +1920,10 @@ type paths = {
|
|
|
1476
1920
|
/** @enum {string} */
|
|
1477
1921
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1478
1922
|
/** @enum {string} */
|
|
1479
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1923
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1480
1924
|
message: string;
|
|
1481
1925
|
/** @enum {string} */
|
|
1482
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1926
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1483
1927
|
exceptionId?: string;
|
|
1484
1928
|
};
|
|
1485
1929
|
};
|
|
@@ -1496,10 +1940,10 @@ type paths = {
|
|
|
1496
1940
|
/** @enum {string} */
|
|
1497
1941
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1498
1942
|
/** @enum {string} */
|
|
1499
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1943
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1500
1944
|
message: string;
|
|
1501
1945
|
/** @enum {string} */
|
|
1502
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1946
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1503
1947
|
exceptionId?: string;
|
|
1504
1948
|
};
|
|
1505
1949
|
};
|
|
@@ -1516,10 +1960,10 @@ type paths = {
|
|
|
1516
1960
|
/** @enum {string} */
|
|
1517
1961
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1518
1962
|
/** @enum {string} */
|
|
1519
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1963
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1520
1964
|
message: string;
|
|
1521
1965
|
/** @enum {string} */
|
|
1522
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1966
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1523
1967
|
exceptionId?: string;
|
|
1524
1968
|
};
|
|
1525
1969
|
};
|
|
@@ -1536,10 +1980,10 @@ type paths = {
|
|
|
1536
1980
|
/** @enum {string} */
|
|
1537
1981
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1538
1982
|
/** @enum {string} */
|
|
1539
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
1983
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1540
1984
|
message: string;
|
|
1541
1985
|
/** @enum {string} */
|
|
1542
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
1986
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1543
1987
|
exceptionId?: string;
|
|
1544
1988
|
};
|
|
1545
1989
|
};
|
|
@@ -1556,10 +2000,10 @@ type paths = {
|
|
|
1556
2000
|
/** @enum {string} */
|
|
1557
2001
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1558
2002
|
/** @enum {string} */
|
|
1559
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2003
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1560
2004
|
message: string;
|
|
1561
2005
|
/** @enum {string} */
|
|
1562
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2006
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1563
2007
|
exceptionId?: string;
|
|
1564
2008
|
};
|
|
1565
2009
|
};
|
|
@@ -1625,10 +2069,10 @@ type paths = {
|
|
|
1625
2069
|
/** @enum {string} */
|
|
1626
2070
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1627
2071
|
/** @enum {string} */
|
|
1628
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2072
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1629
2073
|
message: string;
|
|
1630
2074
|
/** @enum {string} */
|
|
1631
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2075
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1632
2076
|
exceptionId?: string;
|
|
1633
2077
|
};
|
|
1634
2078
|
};
|
|
@@ -1645,10 +2089,10 @@ type paths = {
|
|
|
1645
2089
|
/** @enum {string} */
|
|
1646
2090
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1647
2091
|
/** @enum {string} */
|
|
1648
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2092
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1649
2093
|
message: string;
|
|
1650
2094
|
/** @enum {string} */
|
|
1651
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2095
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1652
2096
|
exceptionId?: string;
|
|
1653
2097
|
};
|
|
1654
2098
|
};
|
|
@@ -1665,10 +2109,10 @@ type paths = {
|
|
|
1665
2109
|
/** @enum {string} */
|
|
1666
2110
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1667
2111
|
/** @enum {string} */
|
|
1668
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2112
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1669
2113
|
message: string;
|
|
1670
2114
|
/** @enum {string} */
|
|
1671
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2115
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1672
2116
|
exceptionId?: string;
|
|
1673
2117
|
};
|
|
1674
2118
|
};
|
|
@@ -1685,10 +2129,10 @@ type paths = {
|
|
|
1685
2129
|
/** @enum {string} */
|
|
1686
2130
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1687
2131
|
/** @enum {string} */
|
|
1688
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2132
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1689
2133
|
message: string;
|
|
1690
2134
|
/** @enum {string} */
|
|
1691
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2135
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1692
2136
|
exceptionId?: string;
|
|
1693
2137
|
};
|
|
1694
2138
|
};
|
|
@@ -1754,10 +2198,10 @@ type paths = {
|
|
|
1754
2198
|
/** @enum {string} */
|
|
1755
2199
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1756
2200
|
/** @enum {string} */
|
|
1757
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2201
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1758
2202
|
message: string;
|
|
1759
2203
|
/** @enum {string} */
|
|
1760
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2204
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1761
2205
|
exceptionId?: string;
|
|
1762
2206
|
};
|
|
1763
2207
|
};
|
|
@@ -1774,10 +2218,10 @@ type paths = {
|
|
|
1774
2218
|
/** @enum {string} */
|
|
1775
2219
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1776
2220
|
/** @enum {string} */
|
|
1777
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2221
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1778
2222
|
message: string;
|
|
1779
2223
|
/** @enum {string} */
|
|
1780
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2224
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1781
2225
|
exceptionId?: string;
|
|
1782
2226
|
};
|
|
1783
2227
|
};
|
|
@@ -1794,10 +2238,10 @@ type paths = {
|
|
|
1794
2238
|
/** @enum {string} */
|
|
1795
2239
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1796
2240
|
/** @enum {string} */
|
|
1797
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2241
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1798
2242
|
message: string;
|
|
1799
2243
|
/** @enum {string} */
|
|
1800
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2244
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1801
2245
|
exceptionId?: string;
|
|
1802
2246
|
};
|
|
1803
2247
|
};
|
|
@@ -1814,10 +2258,10 @@ type paths = {
|
|
|
1814
2258
|
/** @enum {string} */
|
|
1815
2259
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1816
2260
|
/** @enum {string} */
|
|
1817
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2261
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1818
2262
|
message: string;
|
|
1819
2263
|
/** @enum {string} */
|
|
1820
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2264
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1821
2265
|
exceptionId?: string;
|
|
1822
2266
|
};
|
|
1823
2267
|
};
|
|
@@ -1877,10 +2321,10 @@ type paths = {
|
|
|
1877
2321
|
/** @enum {string} */
|
|
1878
2322
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1879
2323
|
/** @enum {string} */
|
|
1880
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2324
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1881
2325
|
message: string;
|
|
1882
2326
|
/** @enum {string} */
|
|
1883
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2327
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1884
2328
|
exceptionId?: string;
|
|
1885
2329
|
};
|
|
1886
2330
|
};
|
|
@@ -1897,10 +2341,10 @@ type paths = {
|
|
|
1897
2341
|
/** @enum {string} */
|
|
1898
2342
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1899
2343
|
/** @enum {string} */
|
|
1900
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2344
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1901
2345
|
message: string;
|
|
1902
2346
|
/** @enum {string} */
|
|
1903
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2347
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1904
2348
|
exceptionId?: string;
|
|
1905
2349
|
};
|
|
1906
2350
|
};
|
|
@@ -1917,10 +2361,10 @@ type paths = {
|
|
|
1917
2361
|
/** @enum {string} */
|
|
1918
2362
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1919
2363
|
/** @enum {string} */
|
|
1920
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2364
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1921
2365
|
message: string;
|
|
1922
2366
|
/** @enum {string} */
|
|
1923
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2367
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1924
2368
|
exceptionId?: string;
|
|
1925
2369
|
};
|
|
1926
2370
|
};
|
|
@@ -1937,10 +2381,10 @@ type paths = {
|
|
|
1937
2381
|
/** @enum {string} */
|
|
1938
2382
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1939
2383
|
/** @enum {string} */
|
|
1940
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2384
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1941
2385
|
message: string;
|
|
1942
2386
|
/** @enum {string} */
|
|
1943
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2387
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1944
2388
|
exceptionId?: string;
|
|
1945
2389
|
};
|
|
1946
2390
|
};
|
|
@@ -1957,10 +2401,10 @@ type paths = {
|
|
|
1957
2401
|
/** @enum {string} */
|
|
1958
2402
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
1959
2403
|
/** @enum {string} */
|
|
1960
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2404
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
1961
2405
|
message: string;
|
|
1962
2406
|
/** @enum {string} */
|
|
1963
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2407
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
1964
2408
|
exceptionId?: string;
|
|
1965
2409
|
};
|
|
1966
2410
|
};
|
|
@@ -2020,10 +2464,10 @@ type paths = {
|
|
|
2020
2464
|
/** @enum {string} */
|
|
2021
2465
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2022
2466
|
/** @enum {string} */
|
|
2023
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2467
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2024
2468
|
message: string;
|
|
2025
2469
|
/** @enum {string} */
|
|
2026
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2470
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2027
2471
|
exceptionId?: string;
|
|
2028
2472
|
};
|
|
2029
2473
|
};
|
|
@@ -2040,10 +2484,10 @@ type paths = {
|
|
|
2040
2484
|
/** @enum {string} */
|
|
2041
2485
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2042
2486
|
/** @enum {string} */
|
|
2043
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2487
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2044
2488
|
message: string;
|
|
2045
2489
|
/** @enum {string} */
|
|
2046
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2490
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2047
2491
|
exceptionId?: string;
|
|
2048
2492
|
};
|
|
2049
2493
|
};
|
|
@@ -2060,10 +2504,10 @@ type paths = {
|
|
|
2060
2504
|
/** @enum {string} */
|
|
2061
2505
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2062
2506
|
/** @enum {string} */
|
|
2063
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2507
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2064
2508
|
message: string;
|
|
2065
2509
|
/** @enum {string} */
|
|
2066
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2510
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2067
2511
|
exceptionId?: string;
|
|
2068
2512
|
};
|
|
2069
2513
|
};
|
|
@@ -2080,10 +2524,10 @@ type paths = {
|
|
|
2080
2524
|
/** @enum {string} */
|
|
2081
2525
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2082
2526
|
/** @enum {string} */
|
|
2083
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2527
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2084
2528
|
message: string;
|
|
2085
2529
|
/** @enum {string} */
|
|
2086
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2530
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2087
2531
|
exceptionId?: string;
|
|
2088
2532
|
};
|
|
2089
2533
|
};
|
|
@@ -2149,10 +2593,10 @@ type paths = {
|
|
|
2149
2593
|
/** @enum {string} */
|
|
2150
2594
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2151
2595
|
/** @enum {string} */
|
|
2152
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2596
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2153
2597
|
message: string;
|
|
2154
2598
|
/** @enum {string} */
|
|
2155
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2599
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2156
2600
|
exceptionId?: string;
|
|
2157
2601
|
};
|
|
2158
2602
|
};
|
|
@@ -2169,10 +2613,10 @@ type paths = {
|
|
|
2169
2613
|
/** @enum {string} */
|
|
2170
2614
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2171
2615
|
/** @enum {string} */
|
|
2172
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2616
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2173
2617
|
message: string;
|
|
2174
2618
|
/** @enum {string} */
|
|
2175
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2619
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2176
2620
|
exceptionId?: string;
|
|
2177
2621
|
};
|
|
2178
2622
|
};
|
|
@@ -2189,10 +2633,10 @@ type paths = {
|
|
|
2189
2633
|
/** @enum {string} */
|
|
2190
2634
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2191
2635
|
/** @enum {string} */
|
|
2192
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2636
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2193
2637
|
message: string;
|
|
2194
2638
|
/** @enum {string} */
|
|
2195
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2639
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2196
2640
|
exceptionId?: string;
|
|
2197
2641
|
};
|
|
2198
2642
|
};
|
|
@@ -2253,10 +2697,10 @@ type paths = {
|
|
|
2253
2697
|
/** @enum {string} */
|
|
2254
2698
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2255
2699
|
/** @enum {string} */
|
|
2256
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2700
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2257
2701
|
message: string;
|
|
2258
2702
|
/** @enum {string} */
|
|
2259
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2703
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2260
2704
|
exceptionId?: string;
|
|
2261
2705
|
};
|
|
2262
2706
|
};
|
|
@@ -2273,10 +2717,10 @@ type paths = {
|
|
|
2273
2717
|
/** @enum {string} */
|
|
2274
2718
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2275
2719
|
/** @enum {string} */
|
|
2276
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2720
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2277
2721
|
message: string;
|
|
2278
2722
|
/** @enum {string} */
|
|
2279
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2723
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2280
2724
|
exceptionId?: string;
|
|
2281
2725
|
};
|
|
2282
2726
|
};
|
|
@@ -2333,10 +2777,10 @@ type paths = {
|
|
|
2333
2777
|
/** @enum {string} */
|
|
2334
2778
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2335
2779
|
/** @enum {string} */
|
|
2336
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2780
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2337
2781
|
message: string;
|
|
2338
2782
|
/** @enum {string} */
|
|
2339
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2783
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2340
2784
|
exceptionId?: string;
|
|
2341
2785
|
};
|
|
2342
2786
|
};
|
|
@@ -2353,10 +2797,10 @@ type paths = {
|
|
|
2353
2797
|
/** @enum {string} */
|
|
2354
2798
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2355
2799
|
/** @enum {string} */
|
|
2356
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2800
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2357
2801
|
message: string;
|
|
2358
2802
|
/** @enum {string} */
|
|
2359
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2803
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2360
2804
|
exceptionId?: string;
|
|
2361
2805
|
};
|
|
2362
2806
|
};
|
|
@@ -2373,10 +2817,10 @@ type paths = {
|
|
|
2373
2817
|
/** @enum {string} */
|
|
2374
2818
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2375
2819
|
/** @enum {string} */
|
|
2376
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2820
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2377
2821
|
message: string;
|
|
2378
2822
|
/** @enum {string} */
|
|
2379
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2823
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2380
2824
|
exceptionId?: string;
|
|
2381
2825
|
};
|
|
2382
2826
|
};
|
|
@@ -2393,10 +2837,10 @@ type paths = {
|
|
|
2393
2837
|
/** @enum {string} */
|
|
2394
2838
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2395
2839
|
/** @enum {string} */
|
|
2396
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2840
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2397
2841
|
message: string;
|
|
2398
2842
|
/** @enum {string} */
|
|
2399
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2843
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2400
2844
|
exceptionId?: string;
|
|
2401
2845
|
};
|
|
2402
2846
|
};
|
|
@@ -2455,10 +2899,10 @@ type paths = {
|
|
|
2455
2899
|
/** @enum {string} */
|
|
2456
2900
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2457
2901
|
/** @enum {string} */
|
|
2458
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2902
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2459
2903
|
message: string;
|
|
2460
2904
|
/** @enum {string} */
|
|
2461
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2905
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2462
2906
|
exceptionId?: string;
|
|
2463
2907
|
};
|
|
2464
2908
|
};
|
|
@@ -2475,10 +2919,10 @@ type paths = {
|
|
|
2475
2919
|
/** @enum {string} */
|
|
2476
2920
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2477
2921
|
/** @enum {string} */
|
|
2478
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2922
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2479
2923
|
message: string;
|
|
2480
2924
|
/** @enum {string} */
|
|
2481
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2925
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2482
2926
|
exceptionId?: string;
|
|
2483
2927
|
};
|
|
2484
2928
|
};
|
|
@@ -2542,10 +2986,10 @@ type paths = {
|
|
|
2542
2986
|
/** @enum {string} */
|
|
2543
2987
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2544
2988
|
/** @enum {string} */
|
|
2545
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
2989
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2546
2990
|
message: string;
|
|
2547
2991
|
/** @enum {string} */
|
|
2548
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
2992
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2549
2993
|
exceptionId?: string;
|
|
2550
2994
|
};
|
|
2551
2995
|
};
|
|
@@ -2562,10 +3006,10 @@ type paths = {
|
|
|
2562
3006
|
/** @enum {string} */
|
|
2563
3007
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2564
3008
|
/** @enum {string} */
|
|
2565
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3009
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2566
3010
|
message: string;
|
|
2567
3011
|
/** @enum {string} */
|
|
2568
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3012
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2569
3013
|
exceptionId?: string;
|
|
2570
3014
|
};
|
|
2571
3015
|
};
|
|
@@ -2582,10 +3026,10 @@ type paths = {
|
|
|
2582
3026
|
/** @enum {string} */
|
|
2583
3027
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2584
3028
|
/** @enum {string} */
|
|
2585
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3029
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2586
3030
|
message: string;
|
|
2587
3031
|
/** @enum {string} */
|
|
2588
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3032
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2589
3033
|
exceptionId?: string;
|
|
2590
3034
|
};
|
|
2591
3035
|
};
|
|
@@ -2654,10 +3098,10 @@ type paths = {
|
|
|
2654
3098
|
/** @enum {string} */
|
|
2655
3099
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2656
3100
|
/** @enum {string} */
|
|
2657
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3101
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2658
3102
|
message: string;
|
|
2659
3103
|
/** @enum {string} */
|
|
2660
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3104
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2661
3105
|
exceptionId?: string;
|
|
2662
3106
|
};
|
|
2663
3107
|
};
|
|
@@ -2674,10 +3118,10 @@ type paths = {
|
|
|
2674
3118
|
/** @enum {string} */
|
|
2675
3119
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2676
3120
|
/** @enum {string} */
|
|
2677
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3121
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2678
3122
|
message: string;
|
|
2679
3123
|
/** @enum {string} */
|
|
2680
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3124
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2681
3125
|
exceptionId?: string;
|
|
2682
3126
|
};
|
|
2683
3127
|
};
|
|
@@ -2694,10 +3138,10 @@ type paths = {
|
|
|
2694
3138
|
/** @enum {string} */
|
|
2695
3139
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2696
3140
|
/** @enum {string} */
|
|
2697
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3141
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2698
3142
|
message: string;
|
|
2699
3143
|
/** @enum {string} */
|
|
2700
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3144
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2701
3145
|
exceptionId?: string;
|
|
2702
3146
|
};
|
|
2703
3147
|
};
|
|
@@ -2714,10 +3158,10 @@ type paths = {
|
|
|
2714
3158
|
/** @enum {string} */
|
|
2715
3159
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2716
3160
|
/** @enum {string} */
|
|
2717
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3161
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2718
3162
|
message: string;
|
|
2719
3163
|
/** @enum {string} */
|
|
2720
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3164
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2721
3165
|
exceptionId?: string;
|
|
2722
3166
|
};
|
|
2723
3167
|
};
|
|
@@ -2789,10 +3233,10 @@ type paths = {
|
|
|
2789
3233
|
/** @enum {string} */
|
|
2790
3234
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2791
3235
|
/** @enum {string} */
|
|
2792
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3236
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2793
3237
|
message: string;
|
|
2794
3238
|
/** @enum {string} */
|
|
2795
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3239
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2796
3240
|
exceptionId?: string;
|
|
2797
3241
|
};
|
|
2798
3242
|
};
|
|
@@ -2809,10 +3253,10 @@ type paths = {
|
|
|
2809
3253
|
/** @enum {string} */
|
|
2810
3254
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2811
3255
|
/** @enum {string} */
|
|
2812
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3256
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2813
3257
|
message: string;
|
|
2814
3258
|
/** @enum {string} */
|
|
2815
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3259
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2816
3260
|
exceptionId?: string;
|
|
2817
3261
|
};
|
|
2818
3262
|
};
|
|
@@ -2829,10 +3273,10 @@ type paths = {
|
|
|
2829
3273
|
/** @enum {string} */
|
|
2830
3274
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2831
3275
|
/** @enum {string} */
|
|
2832
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3276
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2833
3277
|
message: string;
|
|
2834
3278
|
/** @enum {string} */
|
|
2835
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3279
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2836
3280
|
exceptionId?: string;
|
|
2837
3281
|
};
|
|
2838
3282
|
};
|
|
@@ -2849,10 +3293,10 @@ type paths = {
|
|
|
2849
3293
|
/** @enum {string} */
|
|
2850
3294
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2851
3295
|
/** @enum {string} */
|
|
2852
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3296
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2853
3297
|
message: string;
|
|
2854
3298
|
/** @enum {string} */
|
|
2855
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3299
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2856
3300
|
exceptionId?: string;
|
|
2857
3301
|
};
|
|
2858
3302
|
};
|
|
@@ -2869,10 +3313,10 @@ type paths = {
|
|
|
2869
3313
|
/** @enum {string} */
|
|
2870
3314
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2871
3315
|
/** @enum {string} */
|
|
2872
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3316
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2873
3317
|
message: string;
|
|
2874
3318
|
/** @enum {string} */
|
|
2875
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3319
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2876
3320
|
exceptionId?: string;
|
|
2877
3321
|
};
|
|
2878
3322
|
};
|
|
@@ -2889,10 +3333,10 @@ type paths = {
|
|
|
2889
3333
|
/** @enum {string} */
|
|
2890
3334
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2891
3335
|
/** @enum {string} */
|
|
2892
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3336
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2893
3337
|
message: string;
|
|
2894
3338
|
/** @enum {string} */
|
|
2895
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3339
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2896
3340
|
exceptionId?: string;
|
|
2897
3341
|
};
|
|
2898
3342
|
};
|
|
@@ -2959,10 +3403,10 @@ type paths = {
|
|
|
2959
3403
|
/** @enum {string} */
|
|
2960
3404
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2961
3405
|
/** @enum {string} */
|
|
2962
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3406
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2963
3407
|
message: string;
|
|
2964
3408
|
/** @enum {string} */
|
|
2965
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3409
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2966
3410
|
exceptionId?: string;
|
|
2967
3411
|
};
|
|
2968
3412
|
};
|
|
@@ -2979,10 +3423,10 @@ type paths = {
|
|
|
2979
3423
|
/** @enum {string} */
|
|
2980
3424
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
2981
3425
|
/** @enum {string} */
|
|
2982
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3426
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
2983
3427
|
message: string;
|
|
2984
3428
|
/** @enum {string} */
|
|
2985
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3429
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
2986
3430
|
exceptionId?: string;
|
|
2987
3431
|
};
|
|
2988
3432
|
};
|
|
@@ -2999,10 +3443,10 @@ type paths = {
|
|
|
2999
3443
|
/** @enum {string} */
|
|
3000
3444
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3001
3445
|
/** @enum {string} */
|
|
3002
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3446
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
3003
3447
|
message: string;
|
|
3004
3448
|
/** @enum {string} */
|
|
3005
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3449
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
3006
3450
|
exceptionId?: string;
|
|
3007
3451
|
};
|
|
3008
3452
|
};
|
|
@@ -3019,10 +3463,10 @@ type paths = {
|
|
|
3019
3463
|
/** @enum {string} */
|
|
3020
3464
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3021
3465
|
/** @enum {string} */
|
|
3022
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3466
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
3023
3467
|
message: string;
|
|
3024
3468
|
/** @enum {string} */
|
|
3025
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3469
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
3026
3470
|
exceptionId?: string;
|
|
3027
3471
|
};
|
|
3028
3472
|
};
|
|
@@ -3039,10 +3483,10 @@ type paths = {
|
|
|
3039
3483
|
/** @enum {string} */
|
|
3040
3484
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3041
3485
|
/** @enum {string} */
|
|
3042
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3486
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
3043
3487
|
message: string;
|
|
3044
3488
|
/** @enum {string} */
|
|
3045
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3489
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
3046
3490
|
exceptionId?: string;
|
|
3047
3491
|
};
|
|
3048
3492
|
};
|
|
@@ -3059,10 +3503,10 @@ type paths = {
|
|
|
3059
3503
|
/** @enum {string} */
|
|
3060
3504
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3061
3505
|
/** @enum {string} */
|
|
3062
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3506
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
3063
3507
|
message: string;
|
|
3064
3508
|
/** @enum {string} */
|
|
3065
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3509
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
3066
3510
|
exceptionId?: string;
|
|
3067
3511
|
};
|
|
3068
3512
|
};
|
|
@@ -3233,10 +3677,10 @@ type paths = {
|
|
|
3233
3677
|
/** @enum {string} */
|
|
3234
3678
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3235
3679
|
/** @enum {string} */
|
|
3236
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3680
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
3237
3681
|
message: string;
|
|
3238
3682
|
/** @enum {string} */
|
|
3239
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3683
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
3240
3684
|
exceptionId?: string;
|
|
3241
3685
|
};
|
|
3242
3686
|
};
|
|
@@ -3253,10 +3697,10 @@ type paths = {
|
|
|
3253
3697
|
/** @enum {string} */
|
|
3254
3698
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3255
3699
|
/** @enum {string} */
|
|
3256
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3700
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
3257
3701
|
message: string;
|
|
3258
3702
|
/** @enum {string} */
|
|
3259
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3703
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
3260
3704
|
exceptionId?: string;
|
|
3261
3705
|
};
|
|
3262
3706
|
};
|
|
@@ -3273,10 +3717,10 @@ type paths = {
|
|
|
3273
3717
|
/** @enum {string} */
|
|
3274
3718
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3275
3719
|
/** @enum {string} */
|
|
3276
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3720
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
3277
3721
|
message: string;
|
|
3278
3722
|
/** @enum {string} */
|
|
3279
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3723
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
3280
3724
|
exceptionId?: string;
|
|
3281
3725
|
};
|
|
3282
3726
|
};
|
|
@@ -3336,10 +3780,10 @@ type paths = {
|
|
|
3336
3780
|
/** @enum {string} */
|
|
3337
3781
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3338
3782
|
/** @enum {string} */
|
|
3339
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3783
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
3340
3784
|
message: string;
|
|
3341
3785
|
/** @enum {string} */
|
|
3342
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3786
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
3343
3787
|
exceptionId?: string;
|
|
3344
3788
|
};
|
|
3345
3789
|
};
|
|
@@ -3356,10 +3800,10 @@ type paths = {
|
|
|
3356
3800
|
/** @enum {string} */
|
|
3357
3801
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3358
3802
|
/** @enum {string} */
|
|
3359
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3803
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
3360
3804
|
message: string;
|
|
3361
3805
|
/** @enum {string} */
|
|
3362
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3806
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
3363
3807
|
exceptionId?: string;
|
|
3364
3808
|
};
|
|
3365
3809
|
};
|
|
@@ -3426,10 +3870,10 @@ type paths = {
|
|
|
3426
3870
|
/** @enum {string} */
|
|
3427
3871
|
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3428
3872
|
/** @enum {string} */
|
|
3429
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3873
|
+
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote' | 'artifact';
|
|
3430
3874
|
message: string;
|
|
3431
3875
|
/** @enum {string} */
|
|
3432
|
-
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
|
|
3876
|
+
subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project' | 'resolved' | 'timed_out' | 'chat_cancelled' | 'swept' | 'shutdown';
|
|
3433
3877
|
exceptionId?: string;
|
|
3434
3878
|
};
|
|
3435
3879
|
};
|
|
@@ -3456,6 +3900,20 @@ type VoteRequest = OpenapiBodyType<paths['/api/vote']['patch']>;
|
|
|
3456
3900
|
type ApprovalBody = OpenapiBodyType<paths['/api/chat/{id}/approval']['post']>;
|
|
3457
3901
|
type UsageResponse = OpenapiReturnType<paths['/api/usage']['get']>;
|
|
3458
3902
|
type ChatWithMessages = OpenapiReturnType<paths['/api/chat/{id}']['get']>;
|
|
3903
|
+
type GetArtifactsQuery = OpenapiQueryType<paths['/api/artifacts']['get']>;
|
|
3904
|
+
type GetArtifactPath = OpenapiPathType<paths['/api/artifacts/{id}']['get']>;
|
|
3905
|
+
/**
|
|
3906
|
+
* A stored artifact, as kai-agent returns it.
|
|
3907
|
+
*
|
|
3908
|
+
* - `spec` and `recipe` arrive as open maps: the route documents them as passthrough objects, so
|
|
3909
|
+
* the generated types carry no shape for either.
|
|
3910
|
+
* - `ArtifactSpec` / `ArtifactRecipe` in `@keboola/kai-chat/artifacts` are the shapes behind them.
|
|
3911
|
+
* The narrowing belongs there, not here — that package already depends on this one, and the
|
|
3912
|
+
* reverse edge would close a workspace cycle.
|
|
3913
|
+
* - `kind` is the row's index onto `spec.kind`, not a second source of truth.
|
|
3914
|
+
*/
|
|
3915
|
+
type ArtifactResponse = OpenapiReturnType<paths['/api/artifacts/{id}']['get']>;
|
|
3916
|
+
type ArtifactListResponse = OpenapiReturnType<paths['/api/artifacts']['get']>;
|
|
3459
3917
|
//#endregion
|
|
3460
|
-
export {
|
|
3461
|
-
//# sourceMappingURL=types-
|
|
3918
|
+
export { ChatWithMessages as a, GetChatPath as c, UsageResponse as d, VoteRequest as f, ChatRequest as i, GetHistoryQuery as l, ArtifactListResponse as n, GetArtifactPath as o, ArtifactResponse as r, GetArtifactsQuery as s, ApprovalBody as t, GetVotesQuery as u };
|
|
3919
|
+
//# sourceMappingURL=types-Crhy0c9m.d.cts.map
|