@keboola/api-client 29.0.0 → 32.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 +11 -5
- package/API-SURFACE.md +7 -2
- package/CHANGELOG.md +1890 -0
- package/README.md +45 -19
- package/dist/{ManagementClientAuthError-ZJ2-RoKT.cjs → ManagementClientAuthError-B-tyPlyG.cjs} +2 -2
- package/dist/{ManagementClientAuthError-ZJ2-RoKT.cjs.map → ManagementClientAuthError-B-tyPlyG.cjs.map} +1 -1
- package/dist/{ManagementClientAuthError-B97OtOQ7.js → ManagementClientAuthError-BAFNvOdf.js} +2 -2
- package/dist/{ManagementClientAuthError-B97OtOQ7.js.map → ManagementClientAuthError-BAFNvOdf.js.map} +1 -1
- package/dist/ai/index.cjs +2 -2
- package/dist/ai/index.d.cts +2 -2
- package/dist/ai/index.d.ts +2 -2
- package/dist/ai/index.js +2 -2
- package/dist/ai/types.d.cts +1 -1
- package/dist/ai/types.d.ts +1 -1
- package/dist/{appLogs-Dl5BcCSD.d.cts → appLogs-BAaaGYKg.d.cts} +2 -2
- package/dist/{appLogs-enL9XR9r.js → appLogs-DTLE6HTy.js} +2 -2
- package/dist/{appLogs-enL9XR9r.js.map → appLogs-DTLE6HTy.js.map} +1 -1
- package/dist/{appLogs-VdgP08aX.d.ts → appLogs-DX_WTBCa.d.ts} +2 -2
- package/dist/{appLogs-CNG3yby-.cjs → appLogs-NIEDTDHf.cjs} +2 -2
- package/dist/{appLogs-CNG3yby-.cjs.map → appLogs-NIEDTDHf.cjs.map} +1 -1
- package/dist/apps/index.cjs +3 -3
- package/dist/apps/index.d.cts +3 -3
- package/dist/apps/index.d.ts +3 -3
- package/dist/apps/index.js +3 -3
- 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.d.cts +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/assets/index.js +1 -1
- package/dist/auth/index.cjs +2 -1
- package/dist/auth/index.d.cts +2 -2
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.js +2 -2
- package/dist/auth/types.d.cts +2 -2
- package/dist/auth/types.d.ts +2 -2
- package/dist/{auth-5HCvCsZO.cjs → auth-DP-6TFiM.cjs} +2 -2
- package/dist/{auth-5HCvCsZO.cjs.map → auth-DP-6TFiM.cjs.map} +1 -1
- package/dist/{auth-D2jfNlpX.js → auth-DtbQaeDj.js} +2 -2
- package/dist/{auth-D2jfNlpX.js.map → auth-DtbQaeDj.js.map} +1 -1
- package/dist/{authClient-DOk6VKdV.js → authClient--BtZgjIc.js} +76 -11
- package/dist/authClient--BtZgjIc.js.map +1 -0
- package/dist/{authClient-Dsd7W99W.d.ts → authClient-CtfyVHRD.d.ts} +52 -5
- package/dist/{authClient-Bgj2Ay7h.d.cts → authClient-DhfzOUaa.d.cts} +52 -5
- package/dist/{authClient-Z8Eg8rlN.cjs → authClient-b7uec7sw.cjs} +81 -10
- package/dist/authClient-b7uec7sw.cjs.map +1 -0
- package/dist/chat/index.cjs +3 -3
- package/dist/chat/index.d.cts +2 -7
- package/dist/chat/index.d.ts +2 -7
- package/dist/chat/index.js +3 -3
- package/dist/chat/types.d.cts +1 -1
- package/dist/chat/types.d.ts +1 -1
- package/dist/{configurations-CujCwDcB.cjs → configurations-Ck-mNB_E.cjs} +2 -2
- package/dist/{configurations-CujCwDcB.cjs.map → configurations-Ck-mNB_E.cjs.map} +1 -1
- package/dist/{configurations-DCOJONZZ.cjs → configurations-CqwAxiQL.cjs} +5 -1
- package/dist/configurations-CqwAxiQL.cjs.map +1 -0
- package/dist/{configurations-Byt59bIa.js → configurations-ZwBXilW-.js} +2 -2
- package/dist/{configurations-Byt59bIa.js.map → configurations-ZwBXilW-.js.map} +1 -1
- package/dist/{configurations-iCbhe0tb.js → configurations-d7SZmw69.js} +5 -1
- package/dist/configurations-d7SZmw69.js.map +1 -0
- package/dist/constants/index.cjs +4 -1
- package/dist/constants/index.d.cts +3 -2
- package/dist/constants/index.d.ts +3 -2
- package/dist/constants/index.js +2 -2
- package/dist/{constants-CqyyBkXW.cjs → constants-ByEwVtGf.js} +48 -25
- package/dist/constants-ByEwVtGf.js.map +1 -0
- package/dist/{constants-_HhqKvBg.js → constants-lIfSdTzS.cjs} +89 -2
- package/dist/constants-lIfSdTzS.cjs.map +1 -0
- package/dist/{createFetchClient-BsG719K1.cjs → createFetchClient-BRfTjBLV.cjs} +29 -10
- package/dist/createFetchClient-BRfTjBLV.cjs.map +1 -0
- package/dist/{createFetchClient-BK0TZK-U.js → createFetchClient-BbG46bL0.js} +24 -11
- package/dist/createFetchClient-BbG46bL0.js.map +1 -0
- package/dist/{createGenericFetchClient-CVZYekDk.js → createGenericFetchClient-BHYQLZhe.js} +2 -2
- package/dist/{createGenericFetchClient-CVZYekDk.js.map → createGenericFetchClient-BHYQLZhe.js.map} +1 -1
- package/dist/{createGenericFetchClient-DLbjX0eM.cjs → createGenericFetchClient-DHs-i7_O.cjs} +2 -2
- package/dist/{createGenericFetchClient-DLbjX0eM.cjs.map → createGenericFetchClient-DHs-i7_O.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-B5U1fCHS.js → createOpenapiFetchClient-Bn6_Pn0H.js} +2 -2
- package/dist/{createOpenapiFetchClient-B5U1fCHS.js.map → createOpenapiFetchClient-Bn6_Pn0H.js.map} +1 -1
- package/dist/{createOpenapiFetchClient-Cr90VXY4.cjs → createOpenapiFetchClient-CyDUFxHB.cjs} +2 -2
- package/dist/{createOpenapiFetchClient-Cr90VXY4.cjs.map → createOpenapiFetchClient-CyDUFxHB.cjs.map} +1 -1
- package/dist/{credential-0c6yFwtp.cjs → credential-DOXH7XRS.cjs} +2 -2
- package/dist/{credential-0c6yFwtp.cjs.map → credential-DOXH7XRS.cjs.map} +1 -1
- package/dist/{credential-kEGLnVez.js → credential-d2RDcXRB.js} +2 -2
- package/dist/{credential-kEGLnVez.js.map → credential-d2RDcXRB.js.map} +1 -1
- package/dist/dataScience/index.cjs +2 -2
- package/dist/dataScience/index.d.cts +2 -2
- package/dist/dataScience/index.d.ts +2 -2
- package/dist/dataScience/index.js +2 -2
- package/dist/dataScience/types.d.cts +2 -2
- package/dist/dataScience/types.d.ts +2 -2
- package/dist/{dataScience-CE0pSWbl.js → dataScience-Sm8iONhP.js} +5 -5
- package/dist/{dataScience-CE0pSWbl.js.map → dataScience-Sm8iONhP.js.map} +1 -1
- package/dist/{dataScience-C-JrA0Uk.cjs → dataScience-wexHEIue.cjs} +5 -5
- package/dist/{dataScience-C-JrA0Uk.cjs.map → dataScience-wexHEIue.cjs.map} +1 -1
- package/dist/developerPortal/index.cjs +1 -1
- package/dist/developerPortal/index.d.cts +2 -2
- package/dist/developerPortal/index.d.ts +2 -2
- package/dist/developerPortal/index.js +1 -1
- package/dist/developerPortal/types.d.cts +1 -1
- package/dist/developerPortal/types.d.ts +1 -1
- package/dist/{developerPortalClient-C8oq48xW.cjs → developerPortalClient-CgTSzLoG.cjs} +3 -3
- package/dist/{developerPortalClient-C8oq48xW.cjs.map → developerPortalClient-CgTSzLoG.cjs.map} +1 -1
- package/dist/{developerPortalClient-BPPEAdJW.js → developerPortalClient-DywKpDlW.js} +3 -3
- package/dist/{developerPortalClient-BPPEAdJW.js.map → developerPortalClient-DywKpDlW.js.map} +1 -1
- package/dist/domain/permissions/index.cjs +63 -1
- package/dist/domain/permissions/index.cjs.map +1 -0
- package/dist/domain/permissions/index.d.cts +52 -3
- package/dist/domain/permissions/index.d.ts +52 -3
- package/dist/domain/permissions/index.js +59 -2
- package/dist/domain/permissions/index.js.map +1 -0
- package/dist/editor/index.cjs +2 -2
- package/dist/editor/index.d.cts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/index.js +2 -2
- package/dist/editor/types.d.cts +1 -1
- package/dist/editor/types.d.ts +1 -1
- 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.d.cts +3 -3
- package/dist/import/index.d.ts +3 -3
- package/dist/import/index.js +1 -1
- package/dist/{import-KLH1uRtx.cjs → import-C0-y1GQK.cjs} +3 -3
- package/dist/{import-KLH1uRtx.cjs.map → import-C0-y1GQK.cjs.map} +1 -1
- package/dist/{import-Cf0W-7YD.js → import-SQuurg1G.js} +3 -3
- package/dist/{import-Cf0W-7YD.js.map → import-SQuurg1G.js.map} +1 -1
- package/dist/{index-BEKaJ7Cc.d.cts → index-BKh0prif.d.cts} +4 -4
- package/dist/{index-KKJkrxjx.d.ts → index-Bc_hXWae.d.ts} +3 -3
- package/dist/{index-DYQt4zxC.d.ts → index-Bg1P6Bb2.d.ts} +6 -6
- package/dist/{index-DplMbm9E.d.cts → index-Bjk-tCpG.d.cts} +548 -3073
- package/dist/{index-eEBVG5s3.d.cts → index-C7e3wBt9.d.cts} +3 -3
- package/dist/{index-8pN6Emos.d.ts → index-CQrKS7PV.d.cts} +24 -4
- package/dist/{index-DVsnxZap.d.cts → index-CXtdQ7be.d.cts} +4 -4
- package/dist/{index-CLPrlyIz.d.cts → index-CeJOmN-P.d.ts} +24 -4
- package/dist/{index-BmjeNd9u.d.ts → index-Ctqkm3Fx.d.ts} +4 -4
- package/dist/{index-WQkVzx5e.d.cts → index-D_7yCRKy.d.cts} +4 -4
- package/dist/{index-DNlX-H1V.d.ts → index-Dbzjvy5h.d.ts} +5 -5
- package/dist/{index-BWBScAYc.d.cts → index-DeKPpYQy.d.ts} +3 -3
- package/dist/{index-DXi6wsr5.d.cts → index-DiHHyMEo.d.cts} +6 -6
- package/dist/{index-IN0qzs52.d.cts → index-DqOAjqxN.d.cts} +5 -5
- package/dist/{index-Dwp8tF6O.d.ts → index-FhKX7Cv1.d.ts} +548 -3073
- package/dist/{index-BthgbVdd.d.ts → index-GDdFZCXp.d.ts} +4 -4
- package/dist/{index-CXQRvZ-f.d.cts → index-Gn1H63Hk.d.cts} +4 -4
- package/dist/{index-vb9Rfqca.d.ts → index-NaYLwG_h.d.cts} +155 -4
- package/dist/{index-vb9Rfqca.d.cts → index-NaYLwG_h.d.ts} +155 -4
- package/dist/{index-DIM8KZly.d.ts → index-eAlN694c.d.cts} +3 -3
- package/dist/{index-Cfrl7sd5.d.ts → index-fHfc_VqS.d.ts} +4 -4
- package/dist/{index-CeistZnj.d.ts → index-tKsiUarj.d.ts} +4 -4
- package/dist/index.cjs +46 -225
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +44 -226
- package/dist/index.js.map +1 -1
- package/dist/kaiAgent/index.cjs +3 -0
- package/dist/kaiAgent/index.d.cts +210 -0
- package/dist/kaiAgent/index.d.ts +210 -0
- package/dist/kaiAgent/index.js +2 -0
- package/dist/kaiAgent/types.cjs +0 -0
- package/dist/kaiAgent/types.d.cts +2 -0
- package/dist/kaiAgent/types.d.ts +2 -0
- package/dist/kaiAgent/types.js +1 -0
- package/dist/kaiAgent-4OiIK1C2.cjs +222 -0
- package/dist/kaiAgent-4OiIK1C2.cjs.map +1 -0
- package/dist/kaiAgent-HDaFS9BR.js +217 -0
- package/dist/kaiAgent-HDaFS9BR.js.map +1 -0
- package/dist/management/index.cjs +1 -1
- package/dist/management/index.d.cts +1 -1
- package/dist/management/index.d.ts +1 -1
- package/dist/management/index.js +1 -1
- package/dist/management/types.d.cts +1 -1
- package/dist/management/types.d.ts +1 -1
- package/dist/{management-DqwQcDCx.js → management-CIFhu1Nm.js} +6 -7
- package/dist/management-CIFhu1Nm.js.map +1 -0
- package/dist/{management-WOmlBt6H.cjs → management-DfjwQo7z.cjs} +6 -7
- package/dist/management-DfjwQo7z.cjs.map +1 -0
- package/dist/metastore/index.cjs +1 -1
- package/dist/metastore/index.d.cts +1 -1
- package/dist/metastore/index.d.ts +1 -1
- package/dist/metastore/index.js +1 -1
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/{metastore-CNEhL66f.js → metastore-CrXkKufo.js} +4 -4
- package/dist/{metastore-CNEhL66f.js.map → metastore-CrXkKufo.js.map} +1 -1
- package/dist/{metastore-CkQluyX1.cjs → metastore-Dq2NS6jb.cjs} +4 -4
- package/dist/{metastore-CkQluyX1.cjs.map → metastore-Dq2NS6jb.cjs.map} +1 -1
- package/dist/microsoftGraph/index.cjs +92 -0
- package/dist/microsoftGraph/index.cjs.map +1 -0
- package/dist/microsoftGraph/index.d.cts +305 -0
- package/dist/microsoftGraph/index.d.ts +305 -0
- package/dist/microsoftGraph/index.js +90 -0
- package/dist/microsoftGraph/index.js.map +1 -0
- package/dist/microsoftGraph/types.cjs +0 -0
- package/dist/microsoftGraph/types.d.cts +10 -0
- package/dist/microsoftGraph/types.d.ts +10 -0
- package/dist/microsoftGraph/types.js +1 -0
- package/dist/notifications/index.cjs +3 -3
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/notifications/index.js +3 -3
- package/dist/notifications/types.d.cts +1 -1
- package/dist/notifications/types.d.ts +1 -1
- package/dist/oauth/index.cjs +1 -1
- package/dist/oauth/index.d.cts +2 -2
- package/dist/oauth/index.d.ts +2 -2
- package/dist/oauth/index.js +1 -1
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/{oauth-DYDObUX9.js → oauth-CFwSNz37.js} +5 -5
- package/dist/{oauth-DYDObUX9.js.map → oauth-CFwSNz37.js.map} +1 -1
- package/dist/{oauth-DTvrqe6P.cjs → oauth-CkW5gln-.cjs} +5 -5
- package/dist/{oauth-DTvrqe6P.cjs.map → oauth-CkW5gln-.cjs.map} +1 -1
- package/dist/omnisearch/index.cjs +2 -2
- package/dist/omnisearch/index.d.cts +2 -2
- package/dist/omnisearch/index.d.ts +2 -2
- package/dist/omnisearch/index.js +2 -2
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/{project-io1pY-hW.d.ts → project-BOGaVs-q.d.ts} +2 -2
- package/dist/{project-CcGxXIW_.d.cts → project-BnQkL8cb.d.cts} +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/types.d.cts +1 -1
- package/dist/queryService/types.d.ts +1 -1
- package/dist/{queryService-CvqDqigW.cjs → queryService-BLaGbpm-.cjs} +5 -5
- package/dist/{queryService-CvqDqigW.cjs.map → queryService-BLaGbpm-.cjs.map} +1 -1
- package/dist/{queryService-BHV_OZI2.js → queryService-DK-jUnET.js} +5 -5
- package/dist/{queryService-BHV_OZI2.js.map → queryService-DK-jUnET.js.map} +1 -1
- package/dist/queue/index.cjs +1 -1
- package/dist/queue/index.d.cts +3 -3
- package/dist/queue/index.d.ts +3 -3
- package/dist/queue/index.js +1 -1
- package/dist/queue/types.d.cts +1 -1
- package/dist/queue/types.d.ts +1 -1
- package/dist/{queue-CUHKupTA.cjs → queue-B7TY4JLf.cjs} +4 -4
- package/dist/{queue-CUHKupTA.cjs.map → queue-B7TY4JLf.cjs.map} +1 -1
- package/dist/{queue-uofE4Eu6.js → queue-DViSQ-eq.js} +4 -4
- package/dist/{queue-uofE4Eu6.js.map → queue-DViSQ-eq.js.map} +1 -1
- package/dist/scheduler/index.cjs +3 -3
- package/dist/scheduler/index.d.cts +2 -2
- package/dist/scheduler/index.d.ts +2 -2
- package/dist/scheduler/index.js +3 -3
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/schema-D1oxyn1O.d.cts +8760 -0
- package/dist/schema-D1oxyn1O.d.ts +8760 -0
- package/dist/sdk/configurations/index.cjs +1 -1
- package/dist/sdk/configurations/index.d.cts +4 -4
- package/dist/sdk/configurations/index.d.ts +4 -4
- package/dist/sdk/configurations/index.js +1 -1
- package/dist/sdk/developerPortal/index.cjs +3 -3
- package/dist/sdk/developerPortal/index.d.cts +3 -3
- package/dist/sdk/developerPortal/index.d.ts +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.d.cts +1 -1
- package/dist/sdk/semanticLayer/index.d.ts +1 -1
- package/dist/sdk/semanticLayer/types.d.cts +1 -1
- package/dist/sdk/semanticLayer/types.d.ts +1 -1
- package/dist/sdk/storage/index.d.cts +1 -1
- package/dist/sdk/storage/index.d.ts +1 -1
- package/dist/sdk/tag/index.d.cts +2 -2
- package/dist/sdk/tag/index.d.ts +2 -2
- package/dist/sdk/tag/types.d.cts +1 -1
- package/dist/sdk/tag/types.d.ts +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/serviceIds-fHLDwOg9.d.cts +31 -0
- package/dist/serviceIds-fHLDwOg9.d.ts +31 -0
- package/dist/status/index.cjs +1 -1
- package/dist/status/index.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/status/index.js +1 -1
- package/dist/storage/index.cjs +6 -3
- package/dist/storage/index.d.cts +3 -3
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +5 -4
- package/dist/storage/types.d.cts +4 -3
- package/dist/storage/types.d.ts +4 -3
- package/dist/{storage-DbyNnkIJ.cjs → storage-CihHwZ7z.cjs} +153 -161
- package/dist/storage-CihHwZ7z.cjs.map +1 -0
- package/dist/{storage-luq7YBZF.js → storage-kgxscFEg.js} +153 -161
- package/dist/storage-kgxscFEg.js.map +1 -0
- package/dist/stream/index.cjs +3 -3
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/index.js +3 -3
- package/dist/stream/types.d.cts +1 -1
- package/dist/stream/types.d.ts +1 -1
- package/dist/syncActions/index.cjs +1 -1
- package/dist/syncActions/index.d.cts +1 -1
- package/dist/syncActions/index.d.ts +1 -1
- package/dist/syncActions/index.js +1 -1
- package/dist/syncActions/types.d.cts +1 -1
- package/dist/syncActions/types.d.ts +1 -1
- package/dist/{syncActions-ssWWVN_4.js → syncActions-B75t0NwP.js} +5 -5
- package/dist/{syncActions-ssWWVN_4.js.map → syncActions-B75t0NwP.js.map} +1 -1
- package/dist/{syncActions-DKWeJ8GH.cjs → syncActions-CevF_TEb.cjs} +5 -5
- package/dist/{syncActions-DKWeJ8GH.cjs.map → syncActions-CevF_TEb.cjs.map} +1 -1
- package/dist/telemetry/index.cjs +1 -1
- package/dist/telemetry/index.d.cts +2 -2
- package/dist/telemetry/index.d.ts +2 -2
- package/dist/telemetry/index.js +1 -1
- package/dist/{telemetry-2IrE8HaZ.cjs → telemetry-DwlSLVAU.cjs} +3 -3
- package/dist/{telemetry-2IrE8HaZ.cjs.map → telemetry-DwlSLVAU.cjs.map} +1 -1
- package/dist/{telemetry-yQfQxBBI.js → telemetry-FXpodtJN.js} +3 -3
- package/dist/{telemetry-yQfQxBBI.js.map → telemetry-FXpodtJN.js.map} +1 -1
- package/dist/{types-DEKF5pbg.d.cts → types-Av2egS_l.d.ts} +408 -24
- package/dist/{types-DBOEA7l0.d.cts → types-B2vmg_UF.d.cts} +3 -3
- package/dist/{types-DMvU4kZ2.d.cts → types-B4jdPHoL.d.cts} +2 -2
- package/dist/{types-CAOvDtMC.d.cts → types-BH9ljNmj.d.cts} +2 -2
- package/dist/{types-QOIQ-dZU.d.cts → types-BI2jI-3-.d.cts} +3 -3
- package/dist/types-BMQW-2Yw.d.ts +2804 -0
- package/dist/{types-C8XiTXxi.d.cts → types-BREGN3qo.d.cts} +2 -2
- package/dist/{types-B1S2H7q1.d.ts → types-BTbczawY.d.ts} +2 -2
- package/dist/{types-CwvOcTOm.d.cts → types-BV2BDccJ.d.cts} +247 -430
- package/dist/{types-BREBK0xX.d.ts → types-BZBdLUpH.d.ts} +2 -2
- package/dist/{types-Z-vUwgym.d.ts → types-BlCoTm7n.d.ts} +2 -2
- package/dist/{types-CSmttcZ_.d.ts → types-BnaAo7xn.d.ts} +2 -2
- package/dist/{types-V8rC5if7.d.cts → types-BoV9M5Xg.d.cts} +2 -2
- package/dist/{types-BCt0EMiO.d.ts → types-Bpnpa2Wt.d.ts} +3 -3
- package/dist/{types-BhBvnvqe.d.ts → types-BptQ7jpP.d.cts} +408 -24
- package/dist/{types-x4xPlrr0.d.ts → types-ByWD2oeV.d.ts} +2 -2
- package/dist/{types-BefwoXik.d.cts → types-C1vhYcic.d.cts} +2 -2
- package/dist/{types-DwX1uxp_.d.ts → types-C2CLlR4i.d.ts} +2 -2
- package/dist/{types-BO-mTxKb.d.cts → types-CGH_lfxS.d.cts} +2 -16
- package/dist/{types-CyRK5z-E.d.cts → types-CJHi0zdD.d.cts} +2 -2
- package/dist/{types-DeApSCzx.d.cts → types-COIsNoTQ.d.cts} +2 -2
- package/dist/{types-DkbfBOBr.d.cts → types-COc-nind.d.cts} +2 -2
- package/dist/{types-DvsGS8By.d.cts → types-CPanB0p7.d.cts} +3 -3
- package/dist/{types-BmFyDKe6.d.ts → types-CXTqFYah.d.ts} +28 -7
- package/dist/{types-DS8uFAeq.d.cts → types-CcuG9cid.d.cts} +2 -2
- package/dist/{types-2mHlPakp.d.cts → types-Cj4bLPp5.d.cts} +28 -7
- package/dist/{types-SGuvOEV8.d.ts → types-CkcMoXRk.d.ts} +3 -3
- package/dist/{types-D2n3h1gp.d.ts → types-CpALS017.d.ts} +2 -16
- package/dist/{types-DCBKso0t.d.cts → types-CvkqEvhv.d.cts} +2 -2
- package/dist/{types-B1glyy_Q.d.ts → types-CyHZ1ZQe.d.ts} +2 -2
- package/dist/{types-B06L4-WE.d.cts → types-CyiRYRVq.d.cts} +3 -3
- package/dist/{types-CvADp-x-.d.ts → types-Cz1dj_TM.d.ts} +2 -2
- package/dist/{types-CjAia48k.d.ts → types-D-qI9ne4.d.ts} +2 -2
- package/dist/{types-CtdyAkzI.d.cts → types-D1uloiuY.d.cts} +2 -2
- package/dist/{types-CC0wymfG.d.ts → types-D6jKxUv_.d.ts} +247 -430
- package/dist/{types-CexuN7Mw.d.cts → types-DNXC_-fA.d.cts} +7 -5
- package/dist/{types-BpWqpMkL.d.ts → types-DeSd3gqW.d.ts} +3 -3
- package/dist/{types-BD6czYPH.d.ts → types-De_DA2ga.d.ts} +7 -5
- package/dist/{types-h9TTimS_.d.ts → types-Dfc58bPE.d.ts} +2 -2
- package/dist/{types-n4FFKqa4.d.ts → types-Di8VIZwQ.d.ts} +2 -2
- package/dist/{types--T-vBqdd.d.cts → types-DlbiVsVo.d.cts} +2 -2
- package/dist/types-DuiUN0h8.d.ts +33557 -0
- package/dist/{types-7H6Dnz0Y.d.ts → types-DwpRt3e9.d.ts} +2 -2
- package/dist/{types-CI1mW2lA.d.ts → types-EJEoI3ZK.d.ts} +2 -2
- package/dist/types-GuWtMCMn.d.cts +33557 -0
- package/dist/{types-BRQAKEC1.d.cts → types-MbcIiKDI.d.cts} +3 -3
- package/dist/{types-DebL68-g.d.ts → types-RfaldD4P.d.ts} +3 -3
- package/dist/{types-CbZ8aMKW.d.cts → types-cDU_J45_.d.cts} +2 -2
- package/dist/{types-bws2RtKq.d.ts → types-dybUhlU2.d.ts} +2 -2
- package/dist/types-iNlsdRkx.d.cts +2804 -0
- package/dist/{types-BXK6Ebtm.d.ts → types-sVYo0o9_.d.ts} +3 -3
- package/dist/{types-DgaYUtu_.d.cts → types-zA3H84SM.d.cts} +2 -2
- package/dist/validateConnectionStatus-BrLXkoSI.js +38 -0
- package/dist/validateConnectionStatus-BrLXkoSI.js.map +1 -0
- package/dist/validateConnectionStatus-V9q6Nl6u.cjs +55 -0
- package/dist/validateConnectionStatus-V9q6Nl6u.cjs.map +1 -0
- package/dist/vault/index.cjs +4 -4
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/index.js +4 -4
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +57 -4
- package/surface/auth.md +9 -2
- package/surface/chat.md +1 -1
- package/surface/kaiAgent.md +1 -0
- package/surface/sdk.md +4 -4
- package/surface/storage.md +44 -44
- package/dist/authClient-DOk6VKdV.js.map +0 -1
- package/dist/authClient-Z8Eg8rlN.cjs.map +0 -1
- package/dist/configurations-DCOJONZZ.cjs.map +0 -1
- package/dist/configurations-iCbhe0tb.js.map +0 -1
- package/dist/constants-CqyyBkXW.cjs.map +0 -1
- package/dist/constants-_HhqKvBg.js.map +0 -1
- package/dist/createFetchClient-BK0TZK-U.js.map +0 -1
- package/dist/createFetchClient-BsG719K1.cjs.map +0 -1
- package/dist/management-DqwQcDCx.js.map +0 -1
- package/dist/management-WOmlBt6H.cjs.map +0 -1
- package/dist/storage-DbyNnkIJ.cjs.map +0 -1
- package/dist/storage-luq7YBZF.js.map +0 -1
- package/dist/types-CRYtdj5w.d.ts +0 -18784
- package/dist/types-ISUNM_BR.d.cts +0 -18784
|
@@ -1,36 +1,38 @@
|
|
|
1
|
-
import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "./types-
|
|
2
|
-
import { C as
|
|
3
|
-
import { n as ClientInitOptions } from "./types-
|
|
4
|
-
import { S as components$1, b as GetLogsTailQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as RunId, y as GetAppsQuery } from "./types-
|
|
5
|
-
import { t as LogEntry } from "./appLogs-
|
|
6
|
-
import { r as createAuthClient } from "./authClient-
|
|
7
|
-
import { C as VoteRequest
|
|
1
|
+
import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "./types-CvkqEvhv.cjs";
|
|
2
|
+
import { C as ApiResponse, T as MiddlewareFn$1, l as UploadProgress, t as createOpenapiFetchClient, u as createGenericFetchClient, w as HttpMethod } from "./index-CQrKS7PV.cjs";
|
|
3
|
+
import { n as ClientInitOptions } from "./types-BREGN3qo.cjs";
|
|
4
|
+
import { S as components$1, b as GetLogsTailQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as RunId, y as GetAppsQuery } from "./types-CyiRYRVq.cjs";
|
|
5
|
+
import { t as LogEntry } from "./appLogs-BAaaGYKg.cjs";
|
|
6
|
+
import { r as createAuthClient } from "./authClient-DhfzOUaa.cjs";
|
|
7
|
+
import { C as VoteRequest, E as components$2, S as Vote, _ as UpdateAgentSettingsRequest, a as ChatRequest, b as UserAgentSettings, c as GetChatPath, g as ToolsListResponse, l as GetHistoryQuery, t as AgentSettings, u as GetVotesQuery, v as UpdateUserAgentSettingsRequest, y as UsageResponse } from "./types-CGH_lfxS.cjs";
|
|
8
8
|
import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "./suggestions-BH3x7xU7.cjs";
|
|
9
|
-
import { _ as PatchDataAppPath, a as DeleteSandboxPath, c as GetDataAppLogsTailPath, d as GetDataAppPath, f as GetDataAppRunPath, g as PatchDataAppBody, h as GetSandboxPath, i as DeleteDataAppPath, l as GetDataAppLogsTailQuery, m as GetDataAppRunsQuery, o as GetAppsQuery$1, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-
|
|
10
|
-
import "./index-
|
|
11
|
-
import { C as components$3, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "./types-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { a as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { a as
|
|
22
|
-
import { t as
|
|
9
|
+
import { _ as PatchDataAppPath, a as DeleteSandboxPath, c as GetDataAppLogsTailPath, d as GetDataAppPath, f as GetDataAppRunPath, g as PatchDataAppBody, h as GetSandboxPath, i as DeleteDataAppPath, l as GetDataAppLogsTailQuery, m as GetDataAppRunsQuery, o as GetAppsQuery$1, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-BI2jI-3-.cjs";
|
|
10
|
+
import "./index-DqOAjqxN.cjs";
|
|
11
|
+
import { C as components$3, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "./types-CcuG9cid.cjs";
|
|
12
|
+
import { t as ServiceId } from "./serviceIds-fHLDwOg9.cjs";
|
|
13
|
+
import { g as paths, h as components$4, i as GetTokenEventsInput, l as StorageToken, p as UpdateTokenInput, s as ShareTokenInput, t as CreateTokenBody } from "./types-GuWtMCMn.cjs";
|
|
14
|
+
import { $ as ConfigurationRowVersionDetailPath, $i as DeleteTablesInput, $r as CreateEventInput, $t as ConfigurationDiff, A as GetJobsQuery, Aa as TableDetail, Ao as CreateBucketBody, Ar as CreateDevBranchBody, At as CreateConfigurationWorkspaceInput, Bn as DeleteConfigurationRowInput, C as CreateTriggerBody, Cn as SearchComponentConfigurationsInput, Co as Bucket, Ct as GetConfigurationMetadataPath, D as UpdateTriggerInput, Dn as UpdateConfigurationInput, Ea as SetAliasTableFilterInput, F as StorageJobStatus, Fn as CreateConfigurationRowInput, Fo as GetBucketOwnerInput, Ft as Component, G as MergeRequestDetailWithActivityLog, Ga as CreateBucketListingInput, Gi as DeleteTableMetadataInput, Gr as File, Gt as GetComponentsInput, I as CreateMergeRequestBody, Ir as SaveDevBranchMetadataInput, Jn as UpdateConfigurationRowInput, Jo as UpdateBucketOwnerInput, Jr as GetFilesQuery, Kn as Row, Ko as UpdateBucketInput, Kr as GetFileContentPath, Li as CreateTableAsyncInput, M as Job, Mn as UpdateConfigurationStateInput, Mo as DeleteBucketAsyncInput, Mr as DeleteDevBranchMetadataPath, N as JobOperation, No as DeleteBucketMetadataInput, Nt as GetConfigurationWorkspacesPath, Oi as RemoveTablePrimaryKeyInput, On as UpdateConfigurationResult, Ot as ConfigurationUseCaseType, P as JobUnion, Pn as CreateConfigurationRowBody, Po as GetBucketInput, Pr as DevBranch, Q as ConfigurationRowVersionDetail, Qn as UpdateConfigurationRowStateInput, Qt as ConfigType, Ra as UpdateTableDefinitionInput, Rn as CreateConfigurationRowsInput, Ro as GetBucketsInput, Rr as UpdateDevBranchInput, Sa as SaveTableMetadataInput, Sn as SearchComponentConfiguration, Sr as WorkspaceInputMappingLoadPreviewInput, St as DeleteConfigurationMetadataPath, T as Trigger, Ti as DeleteTableColumnInput, To as BucketDetail, Tt as SaveConfigurationMetadataInput, Un as DeleteConfigurationRowsInput, Uo as SaveBucketMetadataInput, Ur as DeleteFilePath, Ut as GetComponentPath, Va as UpdateTableInput, Vi as CreateTableDefinitionInput, Vr as AddFileTagInput, W as MergeRequestDetail, Wa as CreateBucketListingBody, Wi as DeleteTableInput, Wn as GetConfigurationRowInput, Wr as DeleteFileTagPath, Xa as UpdateBucketListingBody, Xr as PrepareFileBody, Xt as BaseComponentConfig, Y as UpdateMergeRequestInput, Ya as Subscriber, Yi as DeleteTableRowsInput, Z as ConfigurationRowVersion, Za as UpdateBucketListingInput, Zo as BucketRegistrationGuideQuery, Zt as ComponentConfig, _a as PreviewData, _i as AddTableColumnInput, _n as RebaseConfigurationInput, a as Service, an as ConfigurationPath, ao as ShareBucketToOrganizationInput, ar as DeleteWorkspacePath, at as ConfigurationVersionDetailPath, bo as SharedBucketsQuery, c as RunIdStats, ci as GetEventsInput, cr as GetWorkspacePath, d as CreateSnapshotInput, di as GetTableEventsInput, dn as GetConfigurationsPath, dr as ResetWorkspacePassword, ea as ExportAsyncInput, eo as ForceUnlinkBucketInput, es as CreateScheduledRefreshInput, et as ConfigurationRowVersionPath, fr as ResetWorkspacePasswordPath, gr as UnloadWorkspaceInput, gt as RollbackConfigurationRowToVersionInput, ho as ShareBucketToUsersInput, ii as GetBucketEventsInput, is as RegisterBucketBody, it as ConfigurationVersionDetail, ja as TableExportAsyncBody, ji as CreateAliasTableInput, k as GetJobPath, ka as Table, ki as SaveColumnMetadataInput, kr as WorkspaceSaml2Login, la as GetTablesInput, lr as GetWorkspaceSaml2LoginPath, m as Snapshot, mi as StorageEvent, mn as PurgeConfigurationsInput, mt as CopyConfigurationRowFromVersionInput, n as GetStackInfoQuery, ni as CreatedEvent, ns as RefreshExternalBucketInput, o as StackComponent, oo as ShareBucketToOrganizationProjectInput, or as DeleteWorkspacesInput, ot as ConfigurationVersionPath, p as GetTableSnapshotsInput, pa as ImportAsyncInput, pn as PurgeConfigurationInput, pr as SetWorkspacePublicInput, qr as GetFilePath, ra as GetDataPreviewInput, ro as LinkBucketBody, rr as DeleteWorkspaceObjectInput, rs as RefreshExternalBucketQuery, rt as ConfigurationVersion, s as StackInfo, sa as GetTableInput, si as GetEventPath, sn as CreateConfigurationInput, sr as GetWorkspaceObjectsPath, tn as ConfigurationDiffPath, un as DeleteConfigurationInput, uo as ShareBucketToProjectsInput, ur as GetWorkspacesPath, ut as CopyConfigurationFromVersionInput, v as GlobalSearchQuery, va as PullTableAsyncInput, vt as RollbackConfigurationToVersionInput, w as GetTriggersQuery, wi as DeleteColumnMetadataInput, x as SearchTablesQuery, xi as CreateTablePrimaryKeyInput, xn as RebaseConfigurationToDeletedInput, xo as UnshareBucketInput, y as GlobalSearchResponse, yr as Workspace } from "./types-BV2BDccJ.cjs";
|
|
15
|
+
import { a as EncryptQuery, s as ScopedSecrets } from "./types-CPanB0p7.cjs";
|
|
16
|
+
import { n as WriteTableInput, t as UploadFileInput } from "./types-BH9ljNmj.cjs";
|
|
17
|
+
import { a as GetHistoryQuery$1, c as VoteRequest$1, i as GetChatPath$1, n as ChatRequest$1, o as GetVotesQuery$1, s as UsageResponse$1, t as ApprovalBody } from "./types-iNlsdRkx.cjs";
|
|
18
|
+
import { i as createManagementClient } from "./index-D_7yCRKy.cjs";
|
|
19
|
+
import { D as components$5, S as ReplaceTargetProjectsInput, T as UpdateMetaObjectInput, c as DeleteMetaObjectRevisionPath, d as GetMetaObjectRevisionsPath, f as GetMetaObjectsPath, g as MetaStoreObjectResponse, h as MetaStoreListResponse, i as CreateMetaObjectInput, l as GetMetaObjectPath, n as GetVersionedSchemaPath, p as MetaObject, s as DeleteMetaObjectPath, t as GetSchemaPath, u as GetMetaObjectRevisionPath, y as ReplaceMetaObjectInput } from "./types-B4jdPHoL.cjs";
|
|
20
|
+
import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$6, t as CreateSubscriptionBody } from "./types-cDU_J45_.cjs";
|
|
21
|
+
import { a as CredentialInput, r as CreateCredentialInput, s as GetCredentialsInput } from "./types-zA3H84SM.cjs";
|
|
22
|
+
import { h as components$7, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-COIsNoTQ.cjs";
|
|
23
|
+
import { a as GetQueryJobPath, c as JobStatusResponse, d as PostQueryPath, h as components$8, i as GetQueriesPath, l as PostCancelQueryJobPath, n as GetExportResultsQuery, o as GetQueryResultsPath, p as QueryResult, r as GetQueriesHistoryQuery, s as GetQueryResutsQuery, t as ExportResultsResponse, u as PostQueryBody } from "./types-D1uloiuY.cjs";
|
|
24
|
+
import { t as Project } from "./project-BnQkL8cb.cjs";
|
|
23
25
|
import { r as createStorageTable } from "./index-BMqLPS6S.cjs";
|
|
24
26
|
import { n as KeboolaObjectId } from "./index-NC1dXRTD.cjs";
|
|
25
|
-
import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-
|
|
26
|
-
import { _ as SemanticObject, a as SemanticChildObjectType, b as SemanticRelationshipData, f as SemanticGlossaryData, g as SemanticModelData, h as SemanticModelChildRef, i as SemanticChildObjectDataMap, l as SemanticDatasetData, o as SemanticConstraintData, p as SemanticMetricData, t as CreateSemanticObjectMeta, w as UpdateSemanticObjectMeta, y as SemanticObjectType } from "./types-
|
|
27
|
-
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-
|
|
28
|
-
import { s as EncryptionCtx } from "./index-
|
|
29
|
-
import { a as OrchestrationRerunPlanPath, c as SearchAllJobsQuery, d as SearchJobsQuery, l as SearchGroupedJobsQuery, n as GetQueueJobPath, p as components$9, r as KillJobPath, t as CreateJobBody } from "./types-
|
|
30
|
-
import { a as SchedulePath, n as ConfigurationPath$1, r as GetSchedulesQuery, t as ActivateScheduleBody } from "./types-
|
|
31
|
-
import { C as UpdateSinkSettingsRequestBody, E as components$10, S as UpdateSinkRequestBody, T as UpdateSourceSettingsRequestBody, d as SinkStatisticsFilesQuery, n as CreateSourceRequestBody, o as PaginationQuery, r as DeleteSourceQuery, t as CreateSinkRequestBody, w as UpdateSourceRequestBody, x as TestSourceQuery } from "./types-
|
|
32
|
-
import { A as ApifyObjectsInput, P as SyncActionBody, S as DbtActionInput, c as GetEntrypointsInput, i as TestLookerCredentialsInput, s as GetBranchesInput, t as EnrollMFAInput } from "./types-
|
|
33
|
-
import { n as SendSyncActionOptions } from "./index-
|
|
27
|
+
import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-MbcIiKDI.cjs";
|
|
28
|
+
import { _ as SemanticObject, a as SemanticChildObjectType, b as SemanticRelationshipData, f as SemanticGlossaryData, g as SemanticModelData, h as SemanticModelChildRef, i as SemanticChildObjectDataMap, l as SemanticDatasetData, o as SemanticConstraintData, p as SemanticMetricData, t as CreateSemanticObjectMeta, w as UpdateSemanticObjectMeta, y as SemanticObjectType } from "./types-B2vmg_UF.cjs";
|
|
29
|
+
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-CJHi0zdD.cjs";
|
|
30
|
+
import { s as EncryptionCtx } from "./index-DiHHyMEo.cjs";
|
|
31
|
+
import { a as OrchestrationRerunPlanPath, c as SearchAllJobsQuery, d as SearchJobsQuery, l as SearchGroupedJobsQuery, n as GetQueueJobPath, p as components$9, r as KillJobPath, t as CreateJobBody } from "./types-DNXC_-fA.cjs";
|
|
32
|
+
import { a as SchedulePath, n as ConfigurationPath$1, r as GetSchedulesQuery, t as ActivateScheduleBody } from "./types-C1vhYcic.cjs";
|
|
33
|
+
import { C as UpdateSinkSettingsRequestBody, E as components$10, S as UpdateSinkRequestBody, T as UpdateSourceSettingsRequestBody, d as SinkStatisticsFilesQuery, n as CreateSourceRequestBody, o as PaginationQuery, r as DeleteSourceQuery, t as CreateSinkRequestBody, w as UpdateSourceRequestBody, x as TestSourceQuery } from "./types-COc-nind.cjs";
|
|
34
|
+
import { A as ApifyObjectsInput, P as SyncActionBody, S as DbtActionInput, c as GetEntrypointsInput, i as TestLookerCredentialsInput, s as GetBranchesInput, t as EnrollMFAInput } from "./types-BoV9M5Xg.cjs";
|
|
35
|
+
import { n as SendSyncActionOptions } from "./index-CXtdQ7be.cjs";
|
|
34
36
|
import { n as WorkspaceData, t as CreateCredentialsBody } from "./types-lFsTSkhe.cjs";
|
|
35
37
|
import { z } from "zod";
|
|
36
38
|
//#region src/errors/UserError.d.ts
|
|
@@ -629,6 +631,19 @@ declare const createKeboola: (options?: KeboolaOptions) => {
|
|
|
629
631
|
* the rotation immediately and observe the new credential.
|
|
630
632
|
*/
|
|
631
633
|
debugForceRefresh: () => void;
|
|
634
|
+
/**
|
|
635
|
+
* The headers that authorize one off-client request, resolved fresh each call.
|
|
636
|
+
*
|
|
637
|
+
* - For a transport this package does not own — the chat SSE stream, whose `fetch` the AI SDK
|
|
638
|
+
* holds. Anything with a service client on `api` should use that instead.
|
|
639
|
+
* - Returns the assembled bag, never the bare token: no caller handles the credential as a
|
|
640
|
+
* string, and `X-KBC-ProjectId` is composed here rather than in every consuming app.
|
|
641
|
+
* - Resolved per call, through the credential — so a near-expiry token rotates and a revoked
|
|
642
|
+
* one is never re-sent. A snapshot held by the caller would do neither.
|
|
643
|
+
* - Throws rather than emitting a half-formed `Bearer null`: an unauthenticated or unscoped
|
|
644
|
+
* session has nothing to authorize with.
|
|
645
|
+
*/
|
|
646
|
+
getAuthHeaders: () => Promise<Record<string, string>>;
|
|
632
647
|
restore: () => Promise<RestoreResult>;
|
|
633
648
|
subscribe: (listener: (snapshot: SessionSnapshot$1) => void) => () => void;
|
|
634
649
|
debug: () => SessionSnapshot$1;
|
|
@@ -667,7 +682,7 @@ declare const createLegacyKeboola: (options?: KeboolaOptions) => {
|
|
|
667
682
|
//#endregion
|
|
668
683
|
//#region src/clients/storage/storageClient.d.ts
|
|
669
684
|
type GenericFetchClient = ReturnType<typeof createGenericFetchClient>;
|
|
670
|
-
type StorageOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths
|
|
685
|
+
type StorageOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
|
|
671
686
|
type StorageClientInitOptions = Omit<ClientInitOptions, 'middlewares'> & {
|
|
672
687
|
middlewares?: MiddlewareFn$1[];
|
|
673
688
|
onRefreshToken?: (newToken: string) => void;
|
|
@@ -737,7 +752,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
737
752
|
}>;
|
|
738
753
|
updateBucketOwner: ({ bucketId, ...body }: UpdateBucketOwnerInput, signal?: AbortSignal) => Promise<void>;
|
|
739
754
|
saveBucketMetadata: ({ branchId, bucketId, ...body }: SaveBucketMetadataInput, signal?: AbortSignal) => Promise<{
|
|
740
|
-
id:
|
|
755
|
+
id: string;
|
|
741
756
|
key: string;
|
|
742
757
|
value: string | null;
|
|
743
758
|
provider: string;
|
|
@@ -1019,7 +1034,47 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1019
1034
|
status: Exclude<StorageJobStatus, 'success' | 'error'>;
|
|
1020
1035
|
results: null;
|
|
1021
1036
|
})>;
|
|
1022
|
-
sharedBuckets: (query?: SharedBucketsQuery, signal?: AbortSignal) => Promise<
|
|
1037
|
+
sharedBuckets: (query?: SharedBucketsQuery, signal?: AbortSignal) => Promise<{
|
|
1038
|
+
id: string;
|
|
1039
|
+
name: string;
|
|
1040
|
+
displayName: string;
|
|
1041
|
+
stage: 'in' | 'out' | 'sys';
|
|
1042
|
+
description: string;
|
|
1043
|
+
sharing?: 'organization' | 'organization-project' | 'specific-projects' | 'specific-users' | null;
|
|
1044
|
+
created: string;
|
|
1045
|
+
lastChangeDate?: string | null;
|
|
1046
|
+
dataSizeBytes: number;
|
|
1047
|
+
rowsCount: number;
|
|
1048
|
+
backend: 'snowflake' | 'bigquery';
|
|
1049
|
+
hasExternalSchema: boolean;
|
|
1050
|
+
databaseName?: string | null;
|
|
1051
|
+
path: string;
|
|
1052
|
+
project: {
|
|
1053
|
+
id?: number;
|
|
1054
|
+
name?: string;
|
|
1055
|
+
};
|
|
1056
|
+
color?: string | null;
|
|
1057
|
+
tables: {
|
|
1058
|
+
id?: string;
|
|
1059
|
+
name?: string;
|
|
1060
|
+
displayName?: string;
|
|
1061
|
+
path?: string;
|
|
1062
|
+
}[];
|
|
1063
|
+
sharingParameters: {
|
|
1064
|
+
[key: string]: Record<string, never>;
|
|
1065
|
+
};
|
|
1066
|
+
sharedBy: {
|
|
1067
|
+
id?: number | null;
|
|
1068
|
+
name?: string | null;
|
|
1069
|
+
date?: string | null;
|
|
1070
|
+
};
|
|
1071
|
+
owner?: {
|
|
1072
|
+
id?: number;
|
|
1073
|
+
name?: string;
|
|
1074
|
+
email?: string;
|
|
1075
|
+
} | null;
|
|
1076
|
+
metadata: components$4['schemas']['MetadataItemResponse'][];
|
|
1077
|
+
}[]>;
|
|
1023
1078
|
};
|
|
1024
1079
|
bucketListings: {
|
|
1025
1080
|
getListing: (bucketId: string, signal?: AbortSignal) => Promise<{
|
|
@@ -1253,7 +1308,14 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1253
1308
|
status: Exclude<StorageJobStatus, 'success' | 'error'>;
|
|
1254
1309
|
results: null;
|
|
1255
1310
|
})>;
|
|
1256
|
-
createScheduledRefresh: ({ branchId, bucketId, ...body }: CreateScheduledRefreshInput) => Promise<
|
|
1311
|
+
createScheduledRefresh: ({ branchId, bucketId, ...body }: CreateScheduledRefreshInput) => Promise<{
|
|
1312
|
+
uuid: string;
|
|
1313
|
+
job: 'bucketRefresh';
|
|
1314
|
+
relatedEntity: 'bucket';
|
|
1315
|
+
relatedId: string;
|
|
1316
|
+
cronExpression: string;
|
|
1317
|
+
createdAt: string;
|
|
1318
|
+
}>;
|
|
1257
1319
|
deleteScheduledTask: (taskId: string) => Promise<void>;
|
|
1258
1320
|
};
|
|
1259
1321
|
tables: {
|
|
@@ -1563,7 +1625,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1563
1625
|
status: Exclude<StorageJobStatus, 'success' | 'error'>;
|
|
1564
1626
|
results: null;
|
|
1565
1627
|
})>;
|
|
1566
|
-
createAliasTable: ({ bucketId, ...body }: CreateAliasTableInput, signal?: AbortSignal) => Promise<
|
|
1628
|
+
createAliasTable: ({ bucketId, ...body }: CreateAliasTableInput, signal?: AbortSignal) => Promise<({
|
|
1567
1629
|
id: number;
|
|
1568
1630
|
tableId: string | null;
|
|
1569
1631
|
runId: string;
|
|
@@ -1604,7 +1666,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1604
1666
|
} | {
|
|
1605
1667
|
status: Exclude<StorageJobStatus, 'success' | 'error'>;
|
|
1606
1668
|
results: null;
|
|
1607
|
-
}))>;
|
|
1669
|
+
})) | Table>;
|
|
1608
1670
|
setAliasTableFilter: ({ tableId, ...body }: SetAliasTableFilterInput, signal?: AbortSignal) => Promise<Table>;
|
|
1609
1671
|
removeAliasTableFilter: (tableId: string, signal?: AbortSignal) => Promise<void>;
|
|
1610
1672
|
saveTableMetadata: ({ branchId, id, ...body }: SaveTableMetadataInput, signal?: AbortSignal) => Promise<{
|
|
@@ -1781,7 +1843,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1781
1843
|
results: null;
|
|
1782
1844
|
})>;
|
|
1783
1845
|
saveColumnMetadata: ({ branchId, columnId, ...body }: SaveColumnMetadataInput, signal?: AbortSignal) => Promise<{
|
|
1784
|
-
id:
|
|
1846
|
+
id: string;
|
|
1785
1847
|
key: string;
|
|
1786
1848
|
value: string | null;
|
|
1787
1849
|
provider: string;
|
|
@@ -2250,7 +2312,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
2250
2312
|
startTime?: string | null;
|
|
2251
2313
|
endTime?: string | null;
|
|
2252
2314
|
runId: string;
|
|
2253
|
-
results?: components$4['schemas']['BucketForceUnlinkJobResult'] | components$4['schemas']['BucketListingUpdateJobResponse'] | components$4['schemas']['BucketListingCreateJobResult'] | components$4['schemas']['BucketListingDeleteResponse'] | components$4['schemas']['BucketDeleteResponse'] | components$4['schemas']['RefreshJobResponse'] | components$4['schemas']['
|
|
2315
|
+
results?: components$4['schemas']['BucketForceUnlinkJobResult'] | components$4['schemas']['BucketListingUpdateJobResponse'] | components$4['schemas']['BucketListingCreateJobResult'] | components$4['schemas']['BucketListingDeleteResponse'] | components$4['schemas']['BucketDeleteResponse'] | components$4['schemas']['RefreshJobResponse'] | components$4['schemas']['FileDeleteJobResult'] | components$4['schemas']['TableSnapshotCreateJobResult'] | components$4['schemas']['TableDeleteJobResult'] | components$4['schemas']['DeleteRowsJobResult'] | components$4['schemas']['TableExportAsyncJobResponse'] | components$4['schemas']['PrimaryKeyCreateJobResult'] | components$4['schemas']['PrimaryKeyDeleteJobResult'] | components$4['schemas']['TableSwapResult'] | components$4['schemas']['TableCreateResponse'] | components$4['schemas']['ColumnCreateJobResult'] | components$4['schemas']['ColumnDeleteJobResult'] | components$4['schemas']['TableExportJobResponse'];
|
|
2254
2316
|
creatorToken: {
|
|
2255
2317
|
id?: string;
|
|
2256
2318
|
description?: string;
|
|
@@ -2292,9 +2354,59 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
2292
2354
|
getFileContent: (fileId: GetFileContentPath['fileId'], signal?: AbortSignal) => Promise<string>;
|
|
2293
2355
|
getFiles: (query?: GetFilesQuery, signal?: AbortSignal) => Promise<File[]>;
|
|
2294
2356
|
deleteFile: (fileId: DeleteFilePath['fileId']) => Promise<void>;
|
|
2295
|
-
addFileTag: (
|
|
2296
|
-
deleteFileTag: (
|
|
2297
|
-
prepareFile: (body: PrepareFileBody, signal?: AbortSignal) => Promise<
|
|
2357
|
+
addFileTag: ({ fileId, ...body }: AddFileTagInput) => Promise<void>;
|
|
2358
|
+
deleteFileTag: (path: DeleteFileTagPath) => Promise<void>;
|
|
2359
|
+
prepareFile: (body: PrepareFileBody, signal?: AbortSignal) => Promise<{
|
|
2360
|
+
id: number;
|
|
2361
|
+
created: string;
|
|
2362
|
+
isPublic: boolean;
|
|
2363
|
+
isSliced: boolean;
|
|
2364
|
+
isEncrypted: boolean;
|
|
2365
|
+
name: string;
|
|
2366
|
+
fileType: string;
|
|
2367
|
+
url: string;
|
|
2368
|
+
provider: 'aws' | 'azure' | 'gcp';
|
|
2369
|
+
region: string;
|
|
2370
|
+
sizeBytes?: number | null;
|
|
2371
|
+
tags: string[];
|
|
2372
|
+
maxAgeDays?: number | null;
|
|
2373
|
+
runId?: string | null;
|
|
2374
|
+
runIds: string[];
|
|
2375
|
+
creatorToken: {
|
|
2376
|
+
id?: number;
|
|
2377
|
+
description?: string;
|
|
2378
|
+
};
|
|
2379
|
+
} & {
|
|
2380
|
+
uploadParams?: {
|
|
2381
|
+
key?: string;
|
|
2382
|
+
bucket?: string;
|
|
2383
|
+
acl?: 'private' | 'public-read';
|
|
2384
|
+
credentials?: {
|
|
2385
|
+
AccessKeyId?: string;
|
|
2386
|
+
SecretAccessKey?: string;
|
|
2387
|
+
SessionToken?: string;
|
|
2388
|
+
Expiration?: string;
|
|
2389
|
+
};
|
|
2390
|
+
'x-amz-server-side-encryption'?: string;
|
|
2391
|
+
} | null;
|
|
2392
|
+
absUploadParams?: {
|
|
2393
|
+
blobName?: string;
|
|
2394
|
+
accountName?: string;
|
|
2395
|
+
container?: string;
|
|
2396
|
+
absCredentials?: {
|
|
2397
|
+
SASConnectionString?: string;
|
|
2398
|
+
expiration?: string;
|
|
2399
|
+
};
|
|
2400
|
+
} | null;
|
|
2401
|
+
gcsUploadParams?: {
|
|
2402
|
+
projectId?: string;
|
|
2403
|
+
bucket?: string;
|
|
2404
|
+
key?: string;
|
|
2405
|
+
access_token?: string;
|
|
2406
|
+
expires_in?: number;
|
|
2407
|
+
token_type?: string;
|
|
2408
|
+
} | null;
|
|
2409
|
+
}>;
|
|
2298
2410
|
};
|
|
2299
2411
|
workspaces: {
|
|
2300
2412
|
getWorkspace: (path: GetWorkspacePath, signal?: AbortSignal) => Promise<Workspace>;
|
|
@@ -2302,7 +2414,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
2302
2414
|
deleteWorkspace: ({ branchId, workspaceId }: DeleteWorkspacePath) => Promise<void>;
|
|
2303
2415
|
resetWorkspacePassword: ({ branchId, workspaceId }: ResetWorkspacePasswordPath) => Promise<ResetWorkspacePassword>;
|
|
2304
2416
|
deleteWorkspaces: ({ workspaceIds, branchId }: DeleteWorkspacesInput) => Promise<void>;
|
|
2305
|
-
|
|
2417
|
+
deleteWorkspaceAsync: ({ branchId, workspaceId }: DeleteWorkspacePath) => Promise<{
|
|
2306
2418
|
id: number;
|
|
2307
2419
|
tableId: string | null;
|
|
2308
2420
|
runId: string;
|
|
@@ -2457,9 +2569,8 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
2457
2569
|
}[]>;
|
|
2458
2570
|
createToken: (body: CreateTokenBody, signal?: AbortSignal) => Promise<{
|
|
2459
2571
|
id: string;
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
refreshed: string;
|
|
2572
|
+
created?: string | null;
|
|
2573
|
+
refreshed?: string | null;
|
|
2463
2574
|
description?: string | null;
|
|
2464
2575
|
uri: string;
|
|
2465
2576
|
isMasterToken: boolean;
|
|
@@ -2467,42 +2578,64 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
2467
2578
|
canManageTokens: boolean;
|
|
2468
2579
|
canReadAllFileUploads: boolean;
|
|
2469
2580
|
canPurgeTrash: boolean;
|
|
2581
|
+
canManageProtectedDefaultBranch: boolean;
|
|
2582
|
+
canCreateJobs: boolean;
|
|
2583
|
+
canReadAllProjectEvents: boolean;
|
|
2584
|
+
canManageDevBranches: boolean;
|
|
2470
2585
|
expires?: string | null;
|
|
2471
2586
|
isExpired: boolean;
|
|
2472
2587
|
isDisabled: boolean;
|
|
2473
2588
|
dailyCapacity: number;
|
|
2589
|
+
token: string;
|
|
2474
2590
|
creatorToken: {
|
|
2475
2591
|
id?: number;
|
|
2476
2592
|
description?: string;
|
|
2477
2593
|
};
|
|
2594
|
+
componentAccess: string[];
|
|
2478
2595
|
bucketPermissions: {
|
|
2479
2596
|
[key: string]: string;
|
|
2480
2597
|
};
|
|
2481
|
-
canManageProtectedDefaultBranch: boolean;
|
|
2482
|
-
canCreateJobs: boolean;
|
|
2483
|
-
canReadAllProjectEvents: boolean;
|
|
2484
|
-
canManageDevBranches: boolean;
|
|
2485
2598
|
}>;
|
|
2486
2599
|
updateToken: ({ id, ...body }: UpdateTokenInput, signal?: AbortSignal) => Promise<StorageToken>;
|
|
2487
2600
|
deleteToken: (id: string, signal?: AbortSignal) => Promise<void>;
|
|
2488
2601
|
shareToken: ({ id, ...body }: ShareTokenInput, signal?: AbortSignal) => Promise<void>;
|
|
2489
2602
|
getTokenEvents: ({ id, ...query }: GetTokenEventsInput, signal?: AbortSignal) => Promise<{
|
|
2490
|
-
|
|
2603
|
+
uuid: string;
|
|
2491
2604
|
event: string;
|
|
2492
2605
|
component: string;
|
|
2606
|
+
message: string;
|
|
2607
|
+
description?: string | null;
|
|
2608
|
+
type: 'info' | 'success' | 'warn' | 'error';
|
|
2493
2609
|
runId?: string | null;
|
|
2494
2610
|
created: string;
|
|
2495
|
-
|
|
2611
|
+
configurationId?: string | null;
|
|
2612
|
+
objectId?: string | null;
|
|
2613
|
+
objectName?: string | null;
|
|
2614
|
+
objectType?: string | null;
|
|
2615
|
+
context: {
|
|
2616
|
+
remoteAddr?: string | null;
|
|
2617
|
+
httpReferer?: string | null;
|
|
2618
|
+
httpUserAgent?: string | null;
|
|
2619
|
+
httpUserAgentOriginal?: string | null;
|
|
2620
|
+
authorization?: string | null;
|
|
2621
|
+
apiVersion?: string | null;
|
|
2622
|
+
};
|
|
2496
2623
|
params: {
|
|
2497
|
-
[key: string]:
|
|
2624
|
+
[key: string]: unknown;
|
|
2498
2625
|
};
|
|
2499
2626
|
results: {
|
|
2500
|
-
[key: string]:
|
|
2627
|
+
[key: string]: unknown;
|
|
2501
2628
|
};
|
|
2502
2629
|
performance: {
|
|
2503
|
-
[key: string]:
|
|
2630
|
+
[key: string]: unknown;
|
|
2631
|
+
};
|
|
2632
|
+
token: {
|
|
2633
|
+
id?: number;
|
|
2634
|
+
name?: string;
|
|
2504
2635
|
};
|
|
2505
|
-
|
|
2636
|
+
idBranch?: number | null;
|
|
2637
|
+
uri: string;
|
|
2638
|
+
attachments: components$4['schemas']['EventAttachmentResponse'][];
|
|
2506
2639
|
}[]>;
|
|
2507
2640
|
};
|
|
2508
2641
|
triggers: {
|
|
@@ -2562,11 +2695,11 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
2562
2695
|
};
|
|
2563
2696
|
components: {
|
|
2564
2697
|
getComponent: ({ componentId, branchId }: GetComponentPath, signal?: AbortSignal) => Promise<Component>;
|
|
2565
|
-
getComponents: ({ branchId, ...query }
|
|
2698
|
+
getComponents: ({ branchId, ...query }: GetComponentsInput, signal?: AbortSignal) => Promise<Component[]>;
|
|
2566
2699
|
};
|
|
2567
2700
|
configurations: {
|
|
2568
2701
|
createConfiguration: ({ branchId, componentId, ...body }: CreateConfigurationInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
2569
|
-
updateConfiguration: <T extends ConfigType = "unknown">({ branchId, componentId, configId, configuration, workspaceId, ...rest }:
|
|
2702
|
+
updateConfiguration: <T extends ConfigType = "unknown">({ branchId, componentId, configId, configuration, workspaceId, ...rest }: UpdateConfigurationInput, signal?: AbortSignal) => Promise<UpdateConfigurationResult<T>>;
|
|
2570
2703
|
updateConfigurationState: <T extends ConfigType = "unknown">({ branchId, componentId, configId, ...body }: UpdateConfigurationStateInput, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
|
|
2571
2704
|
getConfiguration: <T extends ConfigType = "unknown">({ componentId, configId, branchId }: ConfigurationPath, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
|
|
2572
2705
|
getConfigurationDiff: ({ componentId, configId, branchId }: ConfigurationDiffPath, signal?: AbortSignal) => Promise<ConfigurationDiff>;
|
|
@@ -2581,16 +2714,16 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
2581
2714
|
getConfigurations: <T extends ConfigType = "unknown">({ componentId, branchId }: GetConfigurationsPath, signal?: AbortSignal) => Promise<ComponentConfig<T>[]>;
|
|
2582
2715
|
restoreConfiguration: ({ branchId, componentId, configId }: ConfigurationPath) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
2583
2716
|
resetConfigurationToDefault: ({ branchId, componentId, configId }: ConfigurationPath) => Promise<void>;
|
|
2584
|
-
searchComponentConfigurations: ({ branchId, include, ...query }
|
|
2717
|
+
searchComponentConfigurations: ({ branchId, include, ...query }: SearchComponentConfigurationsInput, signal?: AbortSignal) => Promise<SearchComponentConfiguration[]>;
|
|
2585
2718
|
};
|
|
2586
2719
|
configurationRows: {
|
|
2587
|
-
createConfigurationRow: ({ branchId, componentId, configurationId, ...body }:
|
|
2588
|
-
createConfigurationRows: ({ branchId, componentId, configurationId, data }:
|
|
2720
|
+
createConfigurationRow: ({ branchId, componentId, configurationId, ...body }: CreateConfigurationRowInput) => Promise<Row>;
|
|
2721
|
+
createConfigurationRows: ({ branchId, componentId, configurationId, data }: CreateConfigurationRowsInput, options?: {
|
|
2589
2722
|
middlewares: MiddlewareFn<CreateConfigurationRowBody, Row>[];
|
|
2590
2723
|
}) => Promise<Row[]>;
|
|
2591
|
-
getConfigurationRow: ({ branchId, ...path }:
|
|
2592
|
-
updateConfigurationRow: ({ branchId, componentId, configurationId, rowId, ...body }:
|
|
2593
|
-
updateConfigurationRowState: ({ branchId, componentId, configurationId, rowId, ...body }:
|
|
2724
|
+
getConfigurationRow: ({ branchId, ...path }: GetConfigurationRowInput, signal?: AbortSignal) => Promise<Row>;
|
|
2725
|
+
updateConfigurationRow: ({ branchId, componentId, configurationId, rowId, ...body }: UpdateConfigurationRowInput, signal?: AbortSignal) => Promise<Row>;
|
|
2726
|
+
updateConfigurationRowState: ({ branchId, componentId, configurationId, rowId, ...body }: UpdateConfigurationRowStateInput, signal?: AbortSignal) => Promise<Row>;
|
|
2594
2727
|
deleteConfigurationRow: ({ changeDescription, ...path }: DeleteConfigurationRowInput) => Promise<void>;
|
|
2595
2728
|
deleteConfigurationRows: ({ rowIds, changeDescription, ...input }: DeleteConfigurationRowsInput, options?: {
|
|
2596
2729
|
middlewares: MiddlewareFn<string, void>[];
|
|
@@ -2652,15 +2785,29 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
2652
2785
|
getConfigurationWorkspaces: ({ componentId, branchId, configurationId }: GetConfigurationWorkspacesPath) => Promise<Workspace[]>;
|
|
2653
2786
|
};
|
|
2654
2787
|
configurationMetadata: {
|
|
2655
|
-
getConfigurationMetadata: (
|
|
2656
|
-
|
|
2657
|
-
|
|
2788
|
+
getConfigurationMetadata: (path: GetConfigurationMetadataPath, signal?: AbortSignal) => Promise<{
|
|
2789
|
+
id: string;
|
|
2790
|
+
key: string;
|
|
2791
|
+
value: string;
|
|
2792
|
+
timestamp: string;
|
|
2793
|
+
}[]>;
|
|
2794
|
+
saveConfigurationMetadata: ({ branchId, componentId, configurationId, ...body }: SaveConfigurationMetadataInput) => Promise<{
|
|
2795
|
+
id: string;
|
|
2796
|
+
key: string;
|
|
2797
|
+
value: string;
|
|
2798
|
+
timestamp: string;
|
|
2799
|
+
}[]>;
|
|
2800
|
+
deleteConfigurationMetadata: (path: DeleteConfigurationMetadataPath, signal?: AbortSignal) => Promise<void>;
|
|
2658
2801
|
};
|
|
2659
2802
|
configurationVersions: {
|
|
2660
2803
|
getConfigurationVersions: ({ branchId, componentId, configurationId }: ConfigurationVersionPath, signal?: AbortSignal) => Promise<ConfigurationVersion[]>;
|
|
2661
2804
|
getConfigurationVersion: ({ branchId, componentId, configurationId, versionId }: ConfigurationVersionDetailPath, signal?: AbortSignal) => Promise<ConfigurationVersionDetail>;
|
|
2662
|
-
rollbackConfigurationToVersion: ({ branchId, componentId, configurationId, versionId }: RollbackConfigurationToVersionInput) => Promise<
|
|
2663
|
-
|
|
2805
|
+
rollbackConfigurationToVersion: ({ branchId, componentId, configurationId, versionId }: RollbackConfigurationToVersionInput) => Promise<{
|
|
2806
|
+
version: string;
|
|
2807
|
+
}>;
|
|
2808
|
+
copyConfigurationFromVersion: ({ branchId, componentId, configurationId, versionId, ...body }: CopyConfigurationFromVersionInput) => Promise<{
|
|
2809
|
+
id: string;
|
|
2810
|
+
}>;
|
|
2664
2811
|
getConfigurationRowVersions: ({ branchId, componentId, configurationId, rowId }: ConfigurationRowVersionPath, signal?: AbortSignal) => Promise<ConfigurationRowVersion[]>;
|
|
2665
2812
|
getConfigurationRowVersion: ({ branchId, componentId, configurationId, rowId, versionId }: ConfigurationRowVersionDetailPath, signal?: AbortSignal) => Promise<ConfigurationRowVersionDetail>;
|
|
2666
2813
|
rollbackConfigurationRowToVersion: ({ branchId, componentId, configurationId, rowId, versionId }: RollbackConfigurationRowToVersionInput) => Promise<Row>;
|
|
@@ -3567,2954 +3714,154 @@ declare const registry: Registry<Record<never, never> & Record<"keboola.wr-db-my
|
|
|
3567
3714
|
}, import("zod/v4/core").$strip>;
|
|
3568
3715
|
}, import("zod/v4/core").$strip>;
|
|
3569
3716
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-google-ads", import("zod").ZodObject<{
|
|
3570
|
-
authorization: import("zod").ZodObject<{
|
|
3571
|
-
oauth_api: import("zod").ZodObject<{
|
|
3572
|
-
id: import("zod").ZodString;
|
|
3573
|
-
version: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3574
|
-
}, import("zod/v4/core").$strip>;
|
|
3575
|
-
}, import("zod/v4/core").$strip>;
|
|
3576
|
-
parameters: import("zod").ZodObject<{
|
|
3577
|
-
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
3578
|
-
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3579
|
-
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3580
|
-
}, import("zod/v4/core").$strip>;
|
|
3581
|
-
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
3582
|
-
parameters: import("zod").ZodObject<{
|
|
3583
|
-
baseUrl: import("zod").ZodString;
|
|
3584
|
-
maxRedirects: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3585
|
-
}, import("zod/v4/core").$loose>;
|
|
3586
|
-
}, import("zod/v4/core").$loose>> & Record<"keboola.ex-ftp", import("zod").ZodObject<{
|
|
3587
|
-
parameters: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3588
|
-
host: import("zod").ZodString;
|
|
3589
|
-
port: import("zod").ZodNumber;
|
|
3590
|
-
connectionType: import("zod").ZodEnum<{
|
|
3591
|
-
FTP: "FTP";
|
|
3592
|
-
FTPS: "FTPS";
|
|
3593
|
-
SFTP: "SFTP";
|
|
3594
|
-
}>;
|
|
3595
|
-
username: import("zod").ZodString;
|
|
3596
|
-
ignorePassiveAddress: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3597
|
-
ssh: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3598
|
-
enabled: import("zod").ZodBoolean;
|
|
3599
|
-
sshHost: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3600
|
-
user: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3601
|
-
sshPort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3602
|
-
passivePortRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3603
|
-
keys: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3604
|
-
public: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3605
|
-
'#private': import("zod").ZodOptional<import("zod").ZodString>;
|
|
3606
|
-
}, import("zod/v4/core").$strip>>;
|
|
3607
|
-
}, import("zod/v4/core").$strip>>;
|
|
3608
|
-
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3609
|
-
onlyNewFiles: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3610
|
-
'#password': import("zod").ZodString;
|
|
3611
|
-
'#privateKey': import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3612
|
-
}, import("zod/v4/core").$loose>, import("zod").ZodObject<{
|
|
3613
|
-
host: import("zod").ZodString;
|
|
3614
|
-
port: import("zod").ZodNumber;
|
|
3615
|
-
connectionType: import("zod").ZodEnum<{
|
|
3616
|
-
FTP: "FTP";
|
|
3617
|
-
FTPS: "FTPS";
|
|
3618
|
-
SFTP: "SFTP";
|
|
3619
|
-
}>;
|
|
3620
|
-
username: import("zod").ZodString;
|
|
3621
|
-
ignorePassiveAddress: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3622
|
-
ssh: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3623
|
-
enabled: import("zod").ZodBoolean;
|
|
3624
|
-
sshHost: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3625
|
-
user: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3626
|
-
sshPort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3627
|
-
passivePortRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3628
|
-
keys: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3629
|
-
public: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3630
|
-
'#private': import("zod").ZodOptional<import("zod").ZodString>;
|
|
3631
|
-
}, import("zod/v4/core").$strip>>;
|
|
3632
|
-
}, import("zod/v4/core").$strip>>;
|
|
3633
|
-
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3634
|
-
onlyNewFiles: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3635
|
-
'#privateKey': import("zod").ZodString;
|
|
3636
|
-
'#password': import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3637
|
-
}, import("zod/v4/core").$loose>]>;
|
|
3638
|
-
}, import("zod/v4/core").$loose>> & Record<"keboola.ex-ftp-csas", import("zod").ZodObject<{
|
|
3639
|
-
parameters: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3640
|
-
host: import("zod").ZodString;
|
|
3641
|
-
port: import("zod").ZodNumber;
|
|
3642
|
-
connectionType: import("zod").ZodEnum<{
|
|
3643
|
-
FTP: "FTP";
|
|
3644
|
-
FTPS: "FTPS";
|
|
3645
|
-
SFTP: "SFTP";
|
|
3646
|
-
}>;
|
|
3647
|
-
username: import("zod").ZodString;
|
|
3648
|
-
ignorePassiveAddress: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3649
|
-
ssh: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3650
|
-
enabled: import("zod").ZodBoolean;
|
|
3651
|
-
sshHost: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3652
|
-
user: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3653
|
-
sshPort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3654
|
-
passivePortRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3655
|
-
keys: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3656
|
-
public: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3657
|
-
'#private': import("zod").ZodOptional<import("zod").ZodString>;
|
|
3658
|
-
}, import("zod/v4/core").$strip>>;
|
|
3659
|
-
}, import("zod/v4/core").$strip>>;
|
|
3660
|
-
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3661
|
-
onlyNewFiles: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3662
|
-
'#password': import("zod").ZodString;
|
|
3663
|
-
'#privateKey': import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3664
|
-
}, import("zod/v4/core").$loose>, import("zod").ZodObject<{
|
|
3665
|
-
host: import("zod").ZodString;
|
|
3666
|
-
port: import("zod").ZodNumber;
|
|
3667
|
-
connectionType: import("zod").ZodEnum<{
|
|
3668
|
-
FTP: "FTP";
|
|
3669
|
-
FTPS: "FTPS";
|
|
3670
|
-
SFTP: "SFTP";
|
|
3671
|
-
}>;
|
|
3672
|
-
username: import("zod").ZodString;
|
|
3673
|
-
ignorePassiveAddress: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3674
|
-
ssh: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3675
|
-
enabled: import("zod").ZodBoolean;
|
|
3676
|
-
sshHost: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3677
|
-
user: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3678
|
-
sshPort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3679
|
-
passivePortRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3680
|
-
keys: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3681
|
-
public: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3682
|
-
'#private': import("zod").ZodOptional<import("zod").ZodString>;
|
|
3683
|
-
}, import("zod/v4/core").$strip>>;
|
|
3684
|
-
}, import("zod/v4/core").$strip>>;
|
|
3685
|
-
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3686
|
-
onlyNewFiles: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3687
|
-
'#privateKey': import("zod").ZodString;
|
|
3688
|
-
'#password': import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3689
|
-
}, import("zod/v4/core").$loose>]>;
|
|
3690
|
-
}, import("zod/v4/core").$loose>> & Record<"keboola.ex-aws-s3", import("zod").ZodObject<{
|
|
3691
|
-
parameters: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3692
|
-
loginType: import("zod").ZodLiteral<"credentials">;
|
|
3693
|
-
accessKeyId: import("zod").ZodString;
|
|
3694
|
-
'#secretAccessKey': import("zod").ZodString;
|
|
3695
|
-
accountId: import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3696
|
-
roleName: import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3697
|
-
}, import("zod/v4/core").$loose>, import("zod").ZodObject<{
|
|
3698
|
-
loginType: import("zod").ZodLiteral<"role">;
|
|
3699
|
-
accountId: import("zod").ZodString;
|
|
3700
|
-
roleName: import("zod").ZodString;
|
|
3701
|
-
accessKeyId: import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3702
|
-
'#secretAccessKey': import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3703
|
-
}, import("zod/v4/core").$loose>]>;
|
|
3704
|
-
}, import("zod/v4/core").$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", import("zod").ZodObject<{
|
|
3705
|
-
parameters: import("zod").ZodObject<{
|
|
3706
|
-
account_name: import("zod").ZodString;
|
|
3707
|
-
'#account_key': import("zod").ZodString;
|
|
3708
|
-
container_name: import("zod").ZodString;
|
|
3709
|
-
}, import("zod/v4/core").$loose>;
|
|
3710
|
-
}, import("zod/v4/core").$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", import("zod").ZodObject<{
|
|
3711
|
-
parameters: import("zod").ZodObject<{
|
|
3712
|
-
account_name: import("zod").ZodString;
|
|
3713
|
-
'#account_key': import("zod").ZodString;
|
|
3714
|
-
file_system: import("zod").ZodString;
|
|
3715
|
-
}, import("zod/v4/core").$loose>;
|
|
3716
|
-
}, import("zod/v4/core").$loose>>>;
|
|
3717
|
-
type RegisteredComponentId = InferComponentId<typeof registry>;
|
|
3718
|
-
//#endregion
|
|
3719
|
-
//#region src/clients/kaiAgent/__generated__/schema.d.ts
|
|
3720
|
-
/**
|
|
3721
|
-
* This file was auto-generated by openapi-typescript.
|
|
3722
|
-
* Do not make direct changes to the file.
|
|
3723
|
-
*/
|
|
3724
|
-
type paths = {
|
|
3725
|
-
'/ping': {
|
|
3726
|
-
parameters: {
|
|
3727
|
-
query?: never;
|
|
3728
|
-
header?: never;
|
|
3729
|
-
path?: never;
|
|
3730
|
-
cookie?: never;
|
|
3731
|
-
};
|
|
3732
|
-
/** Readiness probe */
|
|
3733
|
-
get: {
|
|
3734
|
-
parameters: {
|
|
3735
|
-
query?: never;
|
|
3736
|
-
header?: never;
|
|
3737
|
-
path?: never;
|
|
3738
|
-
cookie?: never;
|
|
3739
|
-
};
|
|
3740
|
-
requestBody?: never;
|
|
3741
|
-
responses: {
|
|
3742
|
-
/** @description Server is ready */
|
|
3743
|
-
200: {
|
|
3744
|
-
headers: {
|
|
3745
|
-
[name: string]: unknown;
|
|
3746
|
-
};
|
|
3747
|
-
content: {
|
|
3748
|
-
'application/json': {
|
|
3749
|
-
/** Format: date-time */
|
|
3750
|
-
timestamp: string;
|
|
3751
|
-
};
|
|
3752
|
-
};
|
|
3753
|
-
};
|
|
3754
|
-
};
|
|
3755
|
-
};
|
|
3756
|
-
put?: never;
|
|
3757
|
-
post?: never;
|
|
3758
|
-
delete?: never;
|
|
3759
|
-
options?: never;
|
|
3760
|
-
head?: never;
|
|
3761
|
-
patch?: never;
|
|
3762
|
-
trace?: never;
|
|
3763
|
-
};
|
|
3764
|
-
'/api': {
|
|
3765
|
-
parameters: {
|
|
3766
|
-
query?: never;
|
|
3767
|
-
header?: never;
|
|
3768
|
-
path?: never;
|
|
3769
|
-
cookie?: never;
|
|
3770
|
-
};
|
|
3771
|
-
/** Application info and health status */
|
|
3772
|
-
get: {
|
|
3773
|
-
parameters: {
|
|
3774
|
-
query?: never;
|
|
3775
|
-
header?: never;
|
|
3776
|
-
path?: never;
|
|
3777
|
-
cookie?: never;
|
|
3778
|
-
};
|
|
3779
|
-
requestBody?: never;
|
|
3780
|
-
responses: {
|
|
3781
|
-
/** @description Application info */
|
|
3782
|
-
200: {
|
|
3783
|
-
headers: {
|
|
3784
|
-
[name: string]: unknown;
|
|
3785
|
-
};
|
|
3786
|
-
content: {
|
|
3787
|
-
'application/json': {
|
|
3788
|
-
/** Format: date-time */
|
|
3789
|
-
timestamp: string;
|
|
3790
|
-
uptime: number;
|
|
3791
|
-
appName: string;
|
|
3792
|
-
appVersion: string;
|
|
3793
|
-
serverVersion: string;
|
|
3794
|
-
connectedMcp: {
|
|
3795
|
-
url: string;
|
|
3796
|
-
/** @enum {string} */
|
|
3797
|
-
status: 'ok' | 'error';
|
|
3798
|
-
details?: unknown;
|
|
3799
|
-
error?: string;
|
|
3800
|
-
};
|
|
3801
|
-
};
|
|
3802
|
-
};
|
|
3803
|
-
};
|
|
3804
|
-
};
|
|
3805
|
-
};
|
|
3806
|
-
put?: never;
|
|
3807
|
-
post?: never;
|
|
3808
|
-
delete?: never;
|
|
3809
|
-
options?: never;
|
|
3810
|
-
head?: never;
|
|
3811
|
-
patch?: never;
|
|
3812
|
-
trace?: never;
|
|
3813
|
-
};
|
|
3814
|
-
'/api/history': {
|
|
3815
|
-
parameters: {
|
|
3816
|
-
query?: never;
|
|
3817
|
-
header?: never;
|
|
3818
|
-
path?: never;
|
|
3819
|
-
cookie?: never;
|
|
3820
|
-
};
|
|
3821
|
-
/**
|
|
3822
|
-
* Get chat history
|
|
3823
|
-
* @description Retrieve paginated list of user's chats
|
|
3824
|
-
*/
|
|
3825
|
-
get: {
|
|
3826
|
-
parameters: {
|
|
3827
|
-
query?: {
|
|
3828
|
-
limit?: number;
|
|
3829
|
-
starting_after?: string;
|
|
3830
|
-
ending_before?: string;
|
|
3831
|
-
};
|
|
3832
|
-
header?: never;
|
|
3833
|
-
path?: never;
|
|
3834
|
-
cookie?: never;
|
|
3835
|
-
};
|
|
3836
|
-
requestBody?: never;
|
|
3837
|
-
responses: {
|
|
3838
|
-
/** @description List of chats with pagination info */
|
|
3839
|
-
200: {
|
|
3840
|
-
headers: {
|
|
3841
|
-
[name: string]: unknown;
|
|
3842
|
-
};
|
|
3843
|
-
content: {
|
|
3844
|
-
'application/json': {
|
|
3845
|
-
chats: {
|
|
3846
|
-
/** Format: uuid */
|
|
3847
|
-
id?: string;
|
|
3848
|
-
title?: string;
|
|
3849
|
-
userId?: string;
|
|
3850
|
-
/** Format: date-time */
|
|
3851
|
-
createdAt?: string;
|
|
3852
|
-
/** Format: date-time */
|
|
3853
|
-
lastMessageAt?: string;
|
|
3854
|
-
/** @enum {string} */
|
|
3855
|
-
visibility?: 'public' | 'private';
|
|
3856
|
-
branchId?: number | null;
|
|
3857
|
-
}[];
|
|
3858
|
-
hasMore: boolean;
|
|
3859
|
-
};
|
|
3860
|
-
};
|
|
3861
|
-
};
|
|
3862
|
-
/** @description Bad request */
|
|
3863
|
-
400: {
|
|
3864
|
-
headers: {
|
|
3865
|
-
[name: string]: unknown;
|
|
3866
|
-
};
|
|
3867
|
-
content: {
|
|
3868
|
-
'application/json': {
|
|
3869
|
-
error: {
|
|
3870
|
-
/** @enum {string} */
|
|
3871
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3872
|
-
/** @enum {string} */
|
|
3873
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3874
|
-
message: string;
|
|
3875
|
-
/** @enum {string} */
|
|
3876
|
-
subtype?: 'burst' | 'monthly';
|
|
3877
|
-
exceptionId?: string;
|
|
3878
|
-
};
|
|
3879
|
-
};
|
|
3880
|
-
};
|
|
3881
|
-
};
|
|
3882
|
-
/** @description Unauthorized */
|
|
3883
|
-
401: {
|
|
3884
|
-
headers: {
|
|
3885
|
-
[name: string]: unknown;
|
|
3886
|
-
};
|
|
3887
|
-
content: {
|
|
3888
|
-
'application/json': {
|
|
3889
|
-
error: {
|
|
3890
|
-
/** @enum {string} */
|
|
3891
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3892
|
-
/** @enum {string} */
|
|
3893
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3894
|
-
message: string;
|
|
3895
|
-
/** @enum {string} */
|
|
3896
|
-
subtype?: 'burst' | 'monthly';
|
|
3897
|
-
exceptionId?: string;
|
|
3898
|
-
};
|
|
3899
|
-
};
|
|
3900
|
-
};
|
|
3901
|
-
};
|
|
3902
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
3903
|
-
503: {
|
|
3904
|
-
headers: {
|
|
3905
|
-
[name: string]: unknown;
|
|
3906
|
-
};
|
|
3907
|
-
content: {
|
|
3908
|
-
'application/json': {
|
|
3909
|
-
error: {
|
|
3910
|
-
/** @enum {string} */
|
|
3911
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
3912
|
-
/** @enum {string} */
|
|
3913
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
3914
|
-
message: string;
|
|
3915
|
-
/** @enum {string} */
|
|
3916
|
-
subtype?: 'burst' | 'monthly';
|
|
3917
|
-
exceptionId?: string;
|
|
3918
|
-
};
|
|
3919
|
-
};
|
|
3920
|
-
};
|
|
3921
|
-
};
|
|
3922
|
-
};
|
|
3923
|
-
};
|
|
3924
|
-
put?: never;
|
|
3925
|
-
post?: never;
|
|
3926
|
-
delete?: never;
|
|
3927
|
-
options?: never;
|
|
3928
|
-
head?: never;
|
|
3929
|
-
patch?: never;
|
|
3930
|
-
trace?: never;
|
|
3931
|
-
};
|
|
3932
|
-
'/api/chat': {
|
|
3933
|
-
parameters: {
|
|
3934
|
-
query?: never;
|
|
3935
|
-
header?: never;
|
|
3936
|
-
path?: never;
|
|
3937
|
-
cookie?: never;
|
|
3938
|
-
};
|
|
3939
|
-
get?: never;
|
|
3940
|
-
put?: never;
|
|
3941
|
-
/**
|
|
3942
|
-
* Send a message and get streaming SSE response
|
|
3943
|
-
* @description Send a user message to the chat and receive a streaming Server-Sent Events response
|
|
3944
|
-
*/
|
|
3945
|
-
post: {
|
|
3946
|
-
parameters: {
|
|
3947
|
-
query?: never;
|
|
3948
|
-
header?: never;
|
|
3949
|
-
path?: never;
|
|
3950
|
-
cookie?: never;
|
|
3951
|
-
};
|
|
3952
|
-
requestBody?: {
|
|
3953
|
-
content: {
|
|
3954
|
-
'application/json': {
|
|
3955
|
-
/** Format: uuid */
|
|
3956
|
-
id: string;
|
|
3957
|
-
message: {
|
|
3958
|
-
/** Format: uuid */
|
|
3959
|
-
id: string;
|
|
3960
|
-
/** @enum {string} */
|
|
3961
|
-
role: 'user' | 'assistant';
|
|
3962
|
-
parts: {
|
|
3963
|
-
[key: string]: unknown;
|
|
3964
|
-
}[];
|
|
3965
|
-
metadata?: {
|
|
3966
|
-
hidden?: boolean;
|
|
3967
|
-
requestContext?: {
|
|
3968
|
-
path?: string;
|
|
3969
|
-
sqlEditorActive?: boolean;
|
|
3970
|
-
};
|
|
3971
|
-
tableContext?: {
|
|
3972
|
-
tableName: string;
|
|
3973
|
-
tableId: string;
|
|
3974
|
-
bucketId: string;
|
|
3975
|
-
fileName: string;
|
|
3976
|
-
}[];
|
|
3977
|
-
};
|
|
3978
|
-
};
|
|
3979
|
-
selectedChatModel?: string;
|
|
3980
|
-
/** @enum {string} */
|
|
3981
|
-
selectedVisibilityType?: 'public' | 'private';
|
|
3982
|
-
branchId?: number;
|
|
3983
|
-
toolRestrictions?: {
|
|
3984
|
-
allowedTools?: string[];
|
|
3985
|
-
disallowedTools?: string[];
|
|
3986
|
-
readOnlyMode?: boolean;
|
|
3987
|
-
};
|
|
3988
|
-
telemetryMetadata?: {
|
|
3989
|
-
[key: string]: string | number | boolean;
|
|
3990
|
-
};
|
|
3991
|
-
supportsApprovalRequestedEvent?: boolean;
|
|
3992
|
-
};
|
|
3993
|
-
};
|
|
3994
|
-
};
|
|
3995
|
-
responses: {
|
|
3996
|
-
/** @description SSE stream of chat events */
|
|
3997
|
-
200: {
|
|
3998
|
-
headers: {
|
|
3999
|
-
[name: string]: unknown;
|
|
4000
|
-
};
|
|
4001
|
-
content: {
|
|
4002
|
-
'text/event-stream': unknown;
|
|
4003
|
-
};
|
|
4004
|
-
};
|
|
4005
|
-
/** @description Bad request */
|
|
4006
|
-
400: {
|
|
4007
|
-
headers: {
|
|
4008
|
-
[name: string]: unknown;
|
|
4009
|
-
};
|
|
4010
|
-
content: {
|
|
4011
|
-
'application/json': {
|
|
4012
|
-
error: {
|
|
4013
|
-
/** @enum {string} */
|
|
4014
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4015
|
-
/** @enum {string} */
|
|
4016
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4017
|
-
message: string;
|
|
4018
|
-
/** @enum {string} */
|
|
4019
|
-
subtype?: 'burst' | 'monthly';
|
|
4020
|
-
exceptionId?: string;
|
|
4021
|
-
};
|
|
4022
|
-
};
|
|
4023
|
-
};
|
|
4024
|
-
};
|
|
4025
|
-
/** @description Unauthorized */
|
|
4026
|
-
401: {
|
|
4027
|
-
headers: {
|
|
4028
|
-
[name: string]: unknown;
|
|
4029
|
-
};
|
|
4030
|
-
content: {
|
|
4031
|
-
'application/json': {
|
|
4032
|
-
error: {
|
|
4033
|
-
/** @enum {string} */
|
|
4034
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4035
|
-
/** @enum {string} */
|
|
4036
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4037
|
-
message: string;
|
|
4038
|
-
/** @enum {string} */
|
|
4039
|
-
subtype?: 'burst' | 'monthly';
|
|
4040
|
-
exceptionId?: string;
|
|
4041
|
-
};
|
|
4042
|
-
};
|
|
4043
|
-
};
|
|
4044
|
-
};
|
|
4045
|
-
/** @description A message is already being processed in this chat */
|
|
4046
|
-
409: {
|
|
4047
|
-
headers: {
|
|
4048
|
-
[name: string]: unknown;
|
|
4049
|
-
};
|
|
4050
|
-
content: {
|
|
4051
|
-
'application/json': {
|
|
4052
|
-
error: {
|
|
4053
|
-
/** @enum {string} */
|
|
4054
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4055
|
-
/** @enum {string} */
|
|
4056
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4057
|
-
message: string;
|
|
4058
|
-
/** @enum {string} */
|
|
4059
|
-
subtype?: 'burst' | 'monthly';
|
|
4060
|
-
exceptionId?: string;
|
|
4061
|
-
};
|
|
4062
|
-
};
|
|
4063
|
-
};
|
|
4064
|
-
};
|
|
4065
|
-
/** @description Rate limit exceeded */
|
|
4066
|
-
429: {
|
|
4067
|
-
headers: {
|
|
4068
|
-
[name: string]: unknown;
|
|
4069
|
-
};
|
|
4070
|
-
content: {
|
|
4071
|
-
'application/json': {
|
|
4072
|
-
error: {
|
|
4073
|
-
/** @enum {string} */
|
|
4074
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4075
|
-
/** @enum {string} */
|
|
4076
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4077
|
-
message: string;
|
|
4078
|
-
/** @enum {string} */
|
|
4079
|
-
subtype?: 'burst' | 'monthly';
|
|
4080
|
-
exceptionId?: string;
|
|
4081
|
-
};
|
|
4082
|
-
};
|
|
4083
|
-
};
|
|
4084
|
-
};
|
|
4085
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
4086
|
-
503: {
|
|
4087
|
-
headers: {
|
|
4088
|
-
[name: string]: unknown;
|
|
4089
|
-
};
|
|
4090
|
-
content: {
|
|
4091
|
-
'application/json': {
|
|
4092
|
-
error: {
|
|
4093
|
-
/** @enum {string} */
|
|
4094
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4095
|
-
/** @enum {string} */
|
|
4096
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4097
|
-
message: string;
|
|
4098
|
-
/** @enum {string} */
|
|
4099
|
-
subtype?: 'burst' | 'monthly';
|
|
4100
|
-
exceptionId?: string;
|
|
4101
|
-
};
|
|
4102
|
-
};
|
|
4103
|
-
};
|
|
4104
|
-
};
|
|
4105
|
-
};
|
|
4106
|
-
};
|
|
4107
|
-
/**
|
|
4108
|
-
* Delete a chat
|
|
4109
|
-
* @description Delete a chat by ID
|
|
4110
|
-
*/
|
|
4111
|
-
delete: {
|
|
4112
|
-
parameters: {
|
|
4113
|
-
query: {
|
|
4114
|
-
id: string;
|
|
4115
|
-
};
|
|
4116
|
-
header?: never;
|
|
4117
|
-
path?: never;
|
|
4118
|
-
cookie?: never;
|
|
4119
|
-
};
|
|
4120
|
-
requestBody?: never;
|
|
4121
|
-
responses: {
|
|
4122
|
-
/** @description Chat deleted successfully */
|
|
4123
|
-
200: {
|
|
4124
|
-
headers: {
|
|
4125
|
-
[name: string]: unknown;
|
|
4126
|
-
};
|
|
4127
|
-
content: {
|
|
4128
|
-
'application/json': {
|
|
4129
|
-
/** Format: uuid */
|
|
4130
|
-
id?: string;
|
|
4131
|
-
title?: string;
|
|
4132
|
-
userId?: string;
|
|
4133
|
-
/** Format: date-time */
|
|
4134
|
-
createdAt?: string;
|
|
4135
|
-
/** @enum {string} */
|
|
4136
|
-
visibility?: 'public' | 'private';
|
|
4137
|
-
branchId?: number | null;
|
|
4138
|
-
};
|
|
4139
|
-
};
|
|
4140
|
-
};
|
|
4141
|
-
/** @description Bad request */
|
|
4142
|
-
400: {
|
|
4143
|
-
headers: {
|
|
4144
|
-
[name: string]: unknown;
|
|
4145
|
-
};
|
|
4146
|
-
content: {
|
|
4147
|
-
'application/json': {
|
|
4148
|
-
error: {
|
|
4149
|
-
/** @enum {string} */
|
|
4150
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4151
|
-
/** @enum {string} */
|
|
4152
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4153
|
-
message: string;
|
|
4154
|
-
/** @enum {string} */
|
|
4155
|
-
subtype?: 'burst' | 'monthly';
|
|
4156
|
-
exceptionId?: string;
|
|
4157
|
-
};
|
|
4158
|
-
};
|
|
4159
|
-
};
|
|
4160
|
-
};
|
|
4161
|
-
/** @description Unauthorized */
|
|
4162
|
-
401: {
|
|
4163
|
-
headers: {
|
|
4164
|
-
[name: string]: unknown;
|
|
4165
|
-
};
|
|
4166
|
-
content: {
|
|
4167
|
-
'application/json': {
|
|
4168
|
-
error: {
|
|
4169
|
-
/** @enum {string} */
|
|
4170
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4171
|
-
/** @enum {string} */
|
|
4172
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4173
|
-
message: string;
|
|
4174
|
-
/** @enum {string} */
|
|
4175
|
-
subtype?: 'burst' | 'monthly';
|
|
4176
|
-
exceptionId?: string;
|
|
4177
|
-
};
|
|
4178
|
-
};
|
|
4179
|
-
};
|
|
4180
|
-
};
|
|
4181
|
-
/** @description Forbidden */
|
|
4182
|
-
403: {
|
|
4183
|
-
headers: {
|
|
4184
|
-
[name: string]: unknown;
|
|
4185
|
-
};
|
|
4186
|
-
content: {
|
|
4187
|
-
'application/json': {
|
|
4188
|
-
error: {
|
|
4189
|
-
/** @enum {string} */
|
|
4190
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4191
|
-
/** @enum {string} */
|
|
4192
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4193
|
-
message: string;
|
|
4194
|
-
/** @enum {string} */
|
|
4195
|
-
subtype?: 'burst' | 'monthly';
|
|
4196
|
-
exceptionId?: string;
|
|
4197
|
-
};
|
|
4198
|
-
};
|
|
4199
|
-
};
|
|
4200
|
-
};
|
|
4201
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
4202
|
-
503: {
|
|
4203
|
-
headers: {
|
|
4204
|
-
[name: string]: unknown;
|
|
4205
|
-
};
|
|
4206
|
-
content: {
|
|
4207
|
-
'application/json': {
|
|
4208
|
-
error: {
|
|
4209
|
-
/** @enum {string} */
|
|
4210
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4211
|
-
/** @enum {string} */
|
|
4212
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4213
|
-
message: string;
|
|
4214
|
-
/** @enum {string} */
|
|
4215
|
-
subtype?: 'burst' | 'monthly';
|
|
4216
|
-
exceptionId?: string;
|
|
4217
|
-
};
|
|
4218
|
-
};
|
|
4219
|
-
};
|
|
4220
|
-
};
|
|
4221
|
-
};
|
|
4222
|
-
};
|
|
4223
|
-
options?: never;
|
|
4224
|
-
head?: never;
|
|
4225
|
-
patch?: never;
|
|
4226
|
-
trace?: never;
|
|
4227
|
-
};
|
|
4228
|
-
'/api/chat/{id}/stream': {
|
|
4229
|
-
parameters: {
|
|
4230
|
-
query?: never;
|
|
4231
|
-
header?: never;
|
|
4232
|
-
path?: never;
|
|
4233
|
-
cookie?: never;
|
|
4234
|
-
};
|
|
4235
|
-
/**
|
|
4236
|
-
* Reattach to the in-flight SSE stream for a chat
|
|
4237
|
-
* @description Subscribe to the bus for a running or recently-completed assistant turn. Replays buffered events from the start of the run, then continues live (if the run is still in flight). Returns 404 if no run exists for this chat or its retention window has expired.
|
|
4238
|
-
*/
|
|
4239
|
-
get: {
|
|
4240
|
-
parameters: {
|
|
4241
|
-
query?: never;
|
|
4242
|
-
header?: never;
|
|
4243
|
-
path: {
|
|
4244
|
-
id: string;
|
|
4245
|
-
};
|
|
4246
|
-
cookie?: never;
|
|
4247
|
-
};
|
|
4248
|
-
requestBody?: never;
|
|
4249
|
-
responses: {
|
|
4250
|
-
/** @description SSE stream of chat events */
|
|
4251
|
-
200: {
|
|
4252
|
-
headers: {
|
|
4253
|
-
[name: string]: unknown;
|
|
4254
|
-
};
|
|
4255
|
-
content: {
|
|
4256
|
-
'text/event-stream': unknown;
|
|
4257
|
-
};
|
|
4258
|
-
};
|
|
4259
|
-
/** @description Unauthorized */
|
|
4260
|
-
401: {
|
|
4261
|
-
headers: {
|
|
4262
|
-
[name: string]: unknown;
|
|
4263
|
-
};
|
|
4264
|
-
content: {
|
|
4265
|
-
'application/json': {
|
|
4266
|
-
error: {
|
|
4267
|
-
/** @enum {string} */
|
|
4268
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4269
|
-
/** @enum {string} */
|
|
4270
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4271
|
-
message: string;
|
|
4272
|
-
/** @enum {string} */
|
|
4273
|
-
subtype?: 'burst' | 'monthly';
|
|
4274
|
-
exceptionId?: string;
|
|
4275
|
-
};
|
|
4276
|
-
};
|
|
4277
|
-
};
|
|
4278
|
-
};
|
|
4279
|
-
/** @description Forbidden */
|
|
4280
|
-
403: {
|
|
4281
|
-
headers: {
|
|
4282
|
-
[name: string]: unknown;
|
|
4283
|
-
};
|
|
4284
|
-
content: {
|
|
4285
|
-
'application/json': {
|
|
4286
|
-
error: {
|
|
4287
|
-
/** @enum {string} */
|
|
4288
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4289
|
-
/** @enum {string} */
|
|
4290
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4291
|
-
message: string;
|
|
4292
|
-
/** @enum {string} */
|
|
4293
|
-
subtype?: 'burst' | 'monthly';
|
|
4294
|
-
exceptionId?: string;
|
|
4295
|
-
};
|
|
4296
|
-
};
|
|
4297
|
-
};
|
|
4298
|
-
};
|
|
4299
|
-
/** @description No stream for this chat — either never started or retention window expired */
|
|
4300
|
-
404: {
|
|
4301
|
-
headers: {
|
|
4302
|
-
[name: string]: unknown;
|
|
4303
|
-
};
|
|
4304
|
-
content: {
|
|
4305
|
-
'application/json': {
|
|
4306
|
-
error: {
|
|
4307
|
-
/** @enum {string} */
|
|
4308
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4309
|
-
/** @enum {string} */
|
|
4310
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4311
|
-
message: string;
|
|
4312
|
-
/** @enum {string} */
|
|
4313
|
-
subtype?: 'burst' | 'monthly';
|
|
4314
|
-
exceptionId?: string;
|
|
4315
|
-
};
|
|
4316
|
-
};
|
|
4317
|
-
};
|
|
4318
|
-
};
|
|
4319
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
4320
|
-
503: {
|
|
4321
|
-
headers: {
|
|
4322
|
-
[name: string]: unknown;
|
|
4323
|
-
};
|
|
4324
|
-
content: {
|
|
4325
|
-
'application/json': {
|
|
4326
|
-
error: {
|
|
4327
|
-
/** @enum {string} */
|
|
4328
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4329
|
-
/** @enum {string} */
|
|
4330
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4331
|
-
message: string;
|
|
4332
|
-
/** @enum {string} */
|
|
4333
|
-
subtype?: 'burst' | 'monthly';
|
|
4334
|
-
exceptionId?: string;
|
|
4335
|
-
};
|
|
4336
|
-
};
|
|
4337
|
-
};
|
|
4338
|
-
};
|
|
4339
|
-
};
|
|
4340
|
-
};
|
|
4341
|
-
put?: never;
|
|
4342
|
-
post?: never;
|
|
4343
|
-
delete?: never;
|
|
4344
|
-
options?: never;
|
|
4345
|
-
head?: never;
|
|
4346
|
-
patch?: never;
|
|
4347
|
-
trace?: never;
|
|
4348
|
-
};
|
|
4349
|
-
'/api/chat/{id}/stop': {
|
|
4350
|
-
parameters: {
|
|
4351
|
-
query?: never;
|
|
4352
|
-
header?: never;
|
|
4353
|
-
path?: never;
|
|
4354
|
-
cookie?: never;
|
|
4355
|
-
};
|
|
4356
|
-
get?: never;
|
|
4357
|
-
put?: never;
|
|
4358
|
-
/**
|
|
4359
|
-
* Stop the in-flight assistant turn for a chat
|
|
4360
|
-
* @description Signals the chat handler to abort the sandbox process. Idempotent — returns 200 even if no run is active.
|
|
4361
|
-
*/
|
|
4362
|
-
post: {
|
|
4363
|
-
parameters: {
|
|
4364
|
-
query?: never;
|
|
4365
|
-
header?: never;
|
|
4366
|
-
path: {
|
|
4367
|
-
id: string;
|
|
4368
|
-
};
|
|
4369
|
-
cookie?: never;
|
|
4370
|
-
};
|
|
4371
|
-
requestBody?: never;
|
|
4372
|
-
responses: {
|
|
4373
|
-
/** @description Stop requested (or no run was active) */
|
|
4374
|
-
200: {
|
|
4375
|
-
headers: {
|
|
4376
|
-
[name: string]: unknown;
|
|
4377
|
-
};
|
|
4378
|
-
content: {
|
|
4379
|
-
'application/json': {
|
|
4380
|
-
stopped: boolean;
|
|
4381
|
-
};
|
|
4382
|
-
};
|
|
4383
|
-
};
|
|
4384
|
-
/** @description Unauthorized */
|
|
4385
|
-
401: {
|
|
4386
|
-
headers: {
|
|
4387
|
-
[name: string]: unknown;
|
|
4388
|
-
};
|
|
4389
|
-
content: {
|
|
4390
|
-
'application/json': {
|
|
4391
|
-
error: {
|
|
4392
|
-
/** @enum {string} */
|
|
4393
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4394
|
-
/** @enum {string} */
|
|
4395
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4396
|
-
message: string;
|
|
4397
|
-
/** @enum {string} */
|
|
4398
|
-
subtype?: 'burst' | 'monthly';
|
|
4399
|
-
exceptionId?: string;
|
|
4400
|
-
};
|
|
4401
|
-
};
|
|
4402
|
-
};
|
|
4403
|
-
};
|
|
4404
|
-
/** @description Forbidden */
|
|
4405
|
-
403: {
|
|
4406
|
-
headers: {
|
|
4407
|
-
[name: string]: unknown;
|
|
4408
|
-
};
|
|
4409
|
-
content: {
|
|
4410
|
-
'application/json': {
|
|
4411
|
-
error: {
|
|
4412
|
-
/** @enum {string} */
|
|
4413
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4414
|
-
/** @enum {string} */
|
|
4415
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4416
|
-
message: string;
|
|
4417
|
-
/** @enum {string} */
|
|
4418
|
-
subtype?: 'burst' | 'monthly';
|
|
4419
|
-
exceptionId?: string;
|
|
4420
|
-
};
|
|
4421
|
-
};
|
|
4422
|
-
};
|
|
4423
|
-
};
|
|
4424
|
-
/** @description Chat not found */
|
|
4425
|
-
404: {
|
|
4426
|
-
headers: {
|
|
4427
|
-
[name: string]: unknown;
|
|
4428
|
-
};
|
|
4429
|
-
content: {
|
|
4430
|
-
'application/json': {
|
|
4431
|
-
error: {
|
|
4432
|
-
/** @enum {string} */
|
|
4433
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4434
|
-
/** @enum {string} */
|
|
4435
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4436
|
-
message: string;
|
|
4437
|
-
/** @enum {string} */
|
|
4438
|
-
subtype?: 'burst' | 'monthly';
|
|
4439
|
-
exceptionId?: string;
|
|
4440
|
-
};
|
|
4441
|
-
};
|
|
4442
|
-
};
|
|
4443
|
-
};
|
|
4444
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
4445
|
-
503: {
|
|
4446
|
-
headers: {
|
|
4447
|
-
[name: string]: unknown;
|
|
4448
|
-
};
|
|
4449
|
-
content: {
|
|
4450
|
-
'application/json': {
|
|
4451
|
-
error: {
|
|
4452
|
-
/** @enum {string} */
|
|
4453
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4454
|
-
/** @enum {string} */
|
|
4455
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4456
|
-
message: string;
|
|
4457
|
-
/** @enum {string} */
|
|
4458
|
-
subtype?: 'burst' | 'monthly';
|
|
4459
|
-
exceptionId?: string;
|
|
4460
|
-
};
|
|
4461
|
-
};
|
|
4462
|
-
};
|
|
4463
|
-
};
|
|
4464
|
-
};
|
|
4465
|
-
};
|
|
4466
|
-
delete?: never;
|
|
4467
|
-
options?: never;
|
|
4468
|
-
head?: never;
|
|
4469
|
-
patch?: never;
|
|
4470
|
-
trace?: never;
|
|
4471
|
-
};
|
|
4472
|
-
'/api/chat/{id}': {
|
|
4473
|
-
parameters: {
|
|
4474
|
-
query?: never;
|
|
4475
|
-
header?: never;
|
|
4476
|
-
path?: never;
|
|
4477
|
-
cookie?: never;
|
|
4478
|
-
};
|
|
4479
|
-
/**
|
|
4480
|
-
* Get chat details and message history
|
|
4481
|
-
* @description Retrieve complete chat details including all messages in the conversation
|
|
4482
|
-
*/
|
|
4483
|
-
get: {
|
|
4484
|
-
parameters: {
|
|
4485
|
-
query?: never;
|
|
4486
|
-
header?: never;
|
|
4487
|
-
path: {
|
|
4488
|
-
id: string;
|
|
4489
|
-
};
|
|
4490
|
-
cookie?: never;
|
|
4491
|
-
};
|
|
4492
|
-
requestBody?: never;
|
|
4493
|
-
responses: {
|
|
4494
|
-
/** @description Chat details with message history */
|
|
4495
|
-
200: {
|
|
4496
|
-
headers: {
|
|
4497
|
-
[name: string]: unknown;
|
|
4498
|
-
};
|
|
4499
|
-
content: {
|
|
4500
|
-
'application/json': {
|
|
4501
|
-
/** Format: uuid */
|
|
4502
|
-
id: string;
|
|
4503
|
-
title: string;
|
|
4504
|
-
userId: string;
|
|
4505
|
-
/** Format: date-time */
|
|
4506
|
-
createdAt: string;
|
|
4507
|
-
/** Format: date-time */
|
|
4508
|
-
lastMessageAt: string;
|
|
4509
|
-
/** @enum {string} */
|
|
4510
|
-
visibility: 'public' | 'private';
|
|
4511
|
-
branchId?: number | null;
|
|
4512
|
-
contextWindow?: {
|
|
4513
|
-
usedTokens: number;
|
|
4514
|
-
maxTokens: number;
|
|
4515
|
-
percentage: number;
|
|
4516
|
-
} | null;
|
|
4517
|
-
messages: {
|
|
4518
|
-
/** Format: uuid */
|
|
4519
|
-
id: string;
|
|
4520
|
-
/** @enum {string} */
|
|
4521
|
-
role: 'user' | 'assistant';
|
|
4522
|
-
parts: ({
|
|
4523
|
-
/** @enum {string} */
|
|
4524
|
-
type: 'text';
|
|
4525
|
-
text: string;
|
|
4526
|
-
/** @enum {string} */
|
|
4527
|
-
state?: 'done';
|
|
4528
|
-
} | {
|
|
4529
|
-
/** @enum {string} */
|
|
4530
|
-
type: 'tool-result';
|
|
4531
|
-
toolCallId: string;
|
|
4532
|
-
toolName: string;
|
|
4533
|
-
result: string;
|
|
4534
|
-
} | {
|
|
4535
|
-
/** @enum {string} */
|
|
4536
|
-
type: 'step-start';
|
|
4537
|
-
} | {
|
|
4538
|
-
/** @enum {string} */
|
|
4539
|
-
type: 'data-compact-boundary';
|
|
4540
|
-
data: {
|
|
4541
|
-
/** @enum {string} */
|
|
4542
|
-
trigger: 'manual' | 'auto';
|
|
4543
|
-
preTokens: number;
|
|
4544
|
-
preservedSegment?: {
|
|
4545
|
-
/** Format: uuid */
|
|
4546
|
-
headUuid: string;
|
|
4547
|
-
/** Format: uuid */
|
|
4548
|
-
anchorUuid: string;
|
|
4549
|
-
/** Format: uuid */
|
|
4550
|
-
tailUuid: string;
|
|
4551
|
-
};
|
|
4552
|
-
summary: string;
|
|
4553
|
-
sdkSessionId: string;
|
|
4554
|
-
};
|
|
4555
|
-
} | {
|
|
4556
|
-
type: string;
|
|
4557
|
-
toolCallId: string;
|
|
4558
|
-
/** @enum {string} */
|
|
4559
|
-
state: 'output-available' | 'output-error' | 'output-denied' | 'input-available' | 'input-streaming' | 'approval-requested' | 'approval-responded';
|
|
4560
|
-
input?: {
|
|
4561
|
-
[key: string]: unknown;
|
|
4562
|
-
};
|
|
4563
|
-
output?: unknown;
|
|
4564
|
-
errorText?: string;
|
|
4565
|
-
approval?: {
|
|
4566
|
-
id: string;
|
|
4567
|
-
approved: boolean;
|
|
4568
|
-
reason?: string;
|
|
4569
|
-
};
|
|
4570
|
-
})[];
|
|
4571
|
-
metadata?: {
|
|
4572
|
-
/** Format: date-time */
|
|
4573
|
-
createdAt?: string;
|
|
4574
|
-
hidden?: boolean;
|
|
4575
|
-
requestContext?: {
|
|
4576
|
-
path?: string;
|
|
4577
|
-
sqlEditorActive?: boolean;
|
|
4578
|
-
};
|
|
4579
|
-
};
|
|
4580
|
-
/** @enum {string} */
|
|
4581
|
-
status?: 'pending' | 'completed' | 'interrupted' | 'failed';
|
|
4582
|
-
}[];
|
|
4583
|
-
};
|
|
4584
|
-
};
|
|
4585
|
-
};
|
|
4586
|
-
/** @description Bad request */
|
|
4587
|
-
400: {
|
|
4588
|
-
headers: {
|
|
4589
|
-
[name: string]: unknown;
|
|
4590
|
-
};
|
|
4591
|
-
content: {
|
|
4592
|
-
'application/json': {
|
|
4593
|
-
error: {
|
|
4594
|
-
/** @enum {string} */
|
|
4595
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4596
|
-
/** @enum {string} */
|
|
4597
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4598
|
-
message: string;
|
|
4599
|
-
/** @enum {string} */
|
|
4600
|
-
subtype?: 'burst' | 'monthly';
|
|
4601
|
-
exceptionId?: string;
|
|
4602
|
-
};
|
|
4603
|
-
};
|
|
4604
|
-
};
|
|
4605
|
-
};
|
|
4606
|
-
/** @description Unauthorized */
|
|
4607
|
-
401: {
|
|
4608
|
-
headers: {
|
|
4609
|
-
[name: string]: unknown;
|
|
4610
|
-
};
|
|
4611
|
-
content: {
|
|
4612
|
-
'application/json': {
|
|
4613
|
-
error: {
|
|
4614
|
-
/** @enum {string} */
|
|
4615
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4616
|
-
/** @enum {string} */
|
|
4617
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4618
|
-
message: string;
|
|
4619
|
-
/** @enum {string} */
|
|
4620
|
-
subtype?: 'burst' | 'monthly';
|
|
4621
|
-
exceptionId?: string;
|
|
4622
|
-
};
|
|
4623
|
-
};
|
|
4624
|
-
};
|
|
4625
|
-
};
|
|
4626
|
-
/** @description Forbidden */
|
|
4627
|
-
403: {
|
|
4628
|
-
headers: {
|
|
4629
|
-
[name: string]: unknown;
|
|
4630
|
-
};
|
|
4631
|
-
content: {
|
|
4632
|
-
'application/json': {
|
|
4633
|
-
error: {
|
|
4634
|
-
/** @enum {string} */
|
|
4635
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4636
|
-
/** @enum {string} */
|
|
4637
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4638
|
-
message: string;
|
|
4639
|
-
/** @enum {string} */
|
|
4640
|
-
subtype?: 'burst' | 'monthly';
|
|
4641
|
-
exceptionId?: string;
|
|
4642
|
-
};
|
|
4643
|
-
};
|
|
4644
|
-
};
|
|
4645
|
-
};
|
|
4646
|
-
/** @description Chat not found */
|
|
4647
|
-
404: {
|
|
4648
|
-
headers: {
|
|
4649
|
-
[name: string]: unknown;
|
|
4650
|
-
};
|
|
4651
|
-
content: {
|
|
4652
|
-
'application/json': {
|
|
4653
|
-
error: {
|
|
4654
|
-
/** @enum {string} */
|
|
4655
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4656
|
-
/** @enum {string} */
|
|
4657
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4658
|
-
message: string;
|
|
4659
|
-
/** @enum {string} */
|
|
4660
|
-
subtype?: 'burst' | 'monthly';
|
|
4661
|
-
exceptionId?: string;
|
|
4662
|
-
};
|
|
4663
|
-
};
|
|
4664
|
-
};
|
|
4665
|
-
};
|
|
4666
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
4667
|
-
503: {
|
|
4668
|
-
headers: {
|
|
4669
|
-
[name: string]: unknown;
|
|
4670
|
-
};
|
|
4671
|
-
content: {
|
|
4672
|
-
'application/json': {
|
|
4673
|
-
error: {
|
|
4674
|
-
/** @enum {string} */
|
|
4675
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4676
|
-
/** @enum {string} */
|
|
4677
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4678
|
-
message: string;
|
|
4679
|
-
/** @enum {string} */
|
|
4680
|
-
subtype?: 'burst' | 'monthly';
|
|
4681
|
-
exceptionId?: string;
|
|
4682
|
-
};
|
|
4683
|
-
};
|
|
4684
|
-
};
|
|
4685
|
-
};
|
|
4686
|
-
};
|
|
4687
|
-
};
|
|
4688
|
-
put?: never;
|
|
4689
|
-
post?: never;
|
|
4690
|
-
delete?: never;
|
|
4691
|
-
options?: never;
|
|
4692
|
-
head?: never;
|
|
4693
|
-
patch?: never;
|
|
4694
|
-
trace?: never;
|
|
4695
|
-
};
|
|
4696
|
-
'/api/vote': {
|
|
4697
|
-
parameters: {
|
|
4698
|
-
query?: never;
|
|
4699
|
-
header?: never;
|
|
4700
|
-
path?: never;
|
|
4701
|
-
cookie?: never;
|
|
4702
|
-
};
|
|
4703
|
-
/**
|
|
4704
|
-
* Get votes for a chat
|
|
4705
|
-
* @description Retrieve all votes for messages in a specific chat
|
|
4706
|
-
*/
|
|
4707
|
-
get: {
|
|
4708
|
-
parameters: {
|
|
4709
|
-
query: {
|
|
4710
|
-
chatId: string;
|
|
4711
|
-
};
|
|
4712
|
-
header?: never;
|
|
4713
|
-
path?: never;
|
|
4714
|
-
cookie?: never;
|
|
4715
|
-
};
|
|
4716
|
-
requestBody?: never;
|
|
4717
|
-
responses: {
|
|
4718
|
-
/** @description List of votes */
|
|
4719
|
-
200: {
|
|
4720
|
-
headers: {
|
|
4721
|
-
[name: string]: unknown;
|
|
4722
|
-
};
|
|
4723
|
-
content: {
|
|
4724
|
-
'application/json': {
|
|
4725
|
-
/** Format: uuid */
|
|
4726
|
-
chatId: string;
|
|
4727
|
-
/** Format: uuid */
|
|
4728
|
-
messageId: string;
|
|
4729
|
-
isUpvoted: boolean;
|
|
4730
|
-
}[];
|
|
4731
|
-
};
|
|
4732
|
-
};
|
|
4733
|
-
/** @description Bad request */
|
|
4734
|
-
400: {
|
|
4735
|
-
headers: {
|
|
4736
|
-
[name: string]: unknown;
|
|
4737
|
-
};
|
|
4738
|
-
content: {
|
|
4739
|
-
'application/json': {
|
|
4740
|
-
error: {
|
|
4741
|
-
/** @enum {string} */
|
|
4742
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4743
|
-
/** @enum {string} */
|
|
4744
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4745
|
-
message: string;
|
|
4746
|
-
/** @enum {string} */
|
|
4747
|
-
subtype?: 'burst' | 'monthly';
|
|
4748
|
-
exceptionId?: string;
|
|
4749
|
-
};
|
|
4750
|
-
};
|
|
4751
|
-
};
|
|
4752
|
-
};
|
|
4753
|
-
/** @description Unauthorized */
|
|
4754
|
-
401: {
|
|
4755
|
-
headers: {
|
|
4756
|
-
[name: string]: unknown;
|
|
4757
|
-
};
|
|
4758
|
-
content: {
|
|
4759
|
-
'application/json': {
|
|
4760
|
-
error: {
|
|
4761
|
-
/** @enum {string} */
|
|
4762
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4763
|
-
/** @enum {string} */
|
|
4764
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4765
|
-
message: string;
|
|
4766
|
-
/** @enum {string} */
|
|
4767
|
-
subtype?: 'burst' | 'monthly';
|
|
4768
|
-
exceptionId?: string;
|
|
4769
|
-
};
|
|
4770
|
-
};
|
|
4771
|
-
};
|
|
4772
|
-
};
|
|
4773
|
-
/** @description Forbidden */
|
|
4774
|
-
403: {
|
|
4775
|
-
headers: {
|
|
4776
|
-
[name: string]: unknown;
|
|
4777
|
-
};
|
|
4778
|
-
content: {
|
|
4779
|
-
'application/json': {
|
|
4780
|
-
error: {
|
|
4781
|
-
/** @enum {string} */
|
|
4782
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4783
|
-
/** @enum {string} */
|
|
4784
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4785
|
-
message: string;
|
|
4786
|
-
/** @enum {string} */
|
|
4787
|
-
subtype?: 'burst' | 'monthly';
|
|
4788
|
-
exceptionId?: string;
|
|
4789
|
-
};
|
|
4790
|
-
};
|
|
4791
|
-
};
|
|
4792
|
-
};
|
|
4793
|
-
/** @description Chat not found */
|
|
4794
|
-
404: {
|
|
4795
|
-
headers: {
|
|
4796
|
-
[name: string]: unknown;
|
|
4797
|
-
};
|
|
4798
|
-
content: {
|
|
4799
|
-
'application/json': {
|
|
4800
|
-
error: {
|
|
4801
|
-
/** @enum {string} */
|
|
4802
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4803
|
-
/** @enum {string} */
|
|
4804
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4805
|
-
message: string;
|
|
4806
|
-
/** @enum {string} */
|
|
4807
|
-
subtype?: 'burst' | 'monthly';
|
|
4808
|
-
exceptionId?: string;
|
|
4809
|
-
};
|
|
4810
|
-
};
|
|
4811
|
-
};
|
|
4812
|
-
};
|
|
4813
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
4814
|
-
503: {
|
|
4815
|
-
headers: {
|
|
4816
|
-
[name: string]: unknown;
|
|
4817
|
-
};
|
|
4818
|
-
content: {
|
|
4819
|
-
'application/json': {
|
|
4820
|
-
error: {
|
|
4821
|
-
/** @enum {string} */
|
|
4822
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4823
|
-
/** @enum {string} */
|
|
4824
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4825
|
-
message: string;
|
|
4826
|
-
/** @enum {string} */
|
|
4827
|
-
subtype?: 'burst' | 'monthly';
|
|
4828
|
-
exceptionId?: string;
|
|
4829
|
-
};
|
|
4830
|
-
};
|
|
4831
|
-
};
|
|
4832
|
-
};
|
|
4833
|
-
};
|
|
4834
|
-
};
|
|
4835
|
-
put?: never;
|
|
4836
|
-
post?: never;
|
|
4837
|
-
delete?: never;
|
|
4838
|
-
options?: never;
|
|
4839
|
-
head?: never;
|
|
4840
|
-
/**
|
|
4841
|
-
* Vote on a message
|
|
4842
|
-
* @description Add or update a vote on a specific message
|
|
4843
|
-
*/
|
|
4844
|
-
patch: {
|
|
4845
|
-
parameters: {
|
|
4846
|
-
query?: never;
|
|
4847
|
-
header?: never;
|
|
4848
|
-
path?: never;
|
|
4849
|
-
cookie?: never;
|
|
4850
|
-
};
|
|
4851
|
-
requestBody?: {
|
|
4852
|
-
content: {
|
|
4853
|
-
'application/json': {
|
|
4854
|
-
/** Format: uuid */
|
|
4855
|
-
chatId: string;
|
|
4856
|
-
/** Format: uuid */
|
|
4857
|
-
messageId: string;
|
|
4858
|
-
/** @enum {string} */
|
|
4859
|
-
type: 'up' | 'down';
|
|
4860
|
-
};
|
|
4861
|
-
};
|
|
4862
|
-
};
|
|
4863
|
-
responses: {
|
|
4864
|
-
/** @description Vote recorded successfully */
|
|
4865
|
-
200: {
|
|
4866
|
-
headers: {
|
|
4867
|
-
[name: string]: unknown;
|
|
4868
|
-
};
|
|
4869
|
-
content?: never;
|
|
4870
|
-
};
|
|
4871
|
-
/** @description Bad request */
|
|
4872
|
-
400: {
|
|
4873
|
-
headers: {
|
|
4874
|
-
[name: string]: unknown;
|
|
4875
|
-
};
|
|
4876
|
-
content: {
|
|
4877
|
-
'application/json': {
|
|
4878
|
-
error: {
|
|
4879
|
-
/** @enum {string} */
|
|
4880
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4881
|
-
/** @enum {string} */
|
|
4882
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4883
|
-
message: string;
|
|
4884
|
-
/** @enum {string} */
|
|
4885
|
-
subtype?: 'burst' | 'monthly';
|
|
4886
|
-
exceptionId?: string;
|
|
4887
|
-
};
|
|
4888
|
-
};
|
|
4889
|
-
};
|
|
4890
|
-
};
|
|
4891
|
-
/** @description Unauthorized */
|
|
4892
|
-
401: {
|
|
4893
|
-
headers: {
|
|
4894
|
-
[name: string]: unknown;
|
|
4895
|
-
};
|
|
4896
|
-
content: {
|
|
4897
|
-
'application/json': {
|
|
4898
|
-
error: {
|
|
4899
|
-
/** @enum {string} */
|
|
4900
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4901
|
-
/** @enum {string} */
|
|
4902
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4903
|
-
message: string;
|
|
4904
|
-
/** @enum {string} */
|
|
4905
|
-
subtype?: 'burst' | 'monthly';
|
|
4906
|
-
exceptionId?: string;
|
|
4907
|
-
};
|
|
4908
|
-
};
|
|
4909
|
-
};
|
|
4910
|
-
};
|
|
4911
|
-
/** @description Forbidden */
|
|
4912
|
-
403: {
|
|
4913
|
-
headers: {
|
|
4914
|
-
[name: string]: unknown;
|
|
4915
|
-
};
|
|
4916
|
-
content: {
|
|
4917
|
-
'application/json': {
|
|
4918
|
-
error: {
|
|
4919
|
-
/** @enum {string} */
|
|
4920
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4921
|
-
/** @enum {string} */
|
|
4922
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4923
|
-
message: string;
|
|
4924
|
-
/** @enum {string} */
|
|
4925
|
-
subtype?: 'burst' | 'monthly';
|
|
4926
|
-
exceptionId?: string;
|
|
4927
|
-
};
|
|
4928
|
-
};
|
|
4929
|
-
};
|
|
4930
|
-
};
|
|
4931
|
-
/** @description Chat not found */
|
|
4932
|
-
404: {
|
|
4933
|
-
headers: {
|
|
4934
|
-
[name: string]: unknown;
|
|
4935
|
-
};
|
|
4936
|
-
content: {
|
|
4937
|
-
'application/json': {
|
|
4938
|
-
error: {
|
|
4939
|
-
/** @enum {string} */
|
|
4940
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4941
|
-
/** @enum {string} */
|
|
4942
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4943
|
-
message: string;
|
|
4944
|
-
/** @enum {string} */
|
|
4945
|
-
subtype?: 'burst' | 'monthly';
|
|
4946
|
-
exceptionId?: string;
|
|
4947
|
-
};
|
|
4948
|
-
};
|
|
4949
|
-
};
|
|
4950
|
-
};
|
|
4951
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
4952
|
-
503: {
|
|
4953
|
-
headers: {
|
|
4954
|
-
[name: string]: unknown;
|
|
4955
|
-
};
|
|
4956
|
-
content: {
|
|
4957
|
-
'application/json': {
|
|
4958
|
-
error: {
|
|
4959
|
-
/** @enum {string} */
|
|
4960
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
4961
|
-
/** @enum {string} */
|
|
4962
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
4963
|
-
message: string;
|
|
4964
|
-
/** @enum {string} */
|
|
4965
|
-
subtype?: 'burst' | 'monthly';
|
|
4966
|
-
exceptionId?: string;
|
|
4967
|
-
};
|
|
4968
|
-
};
|
|
4969
|
-
};
|
|
4970
|
-
};
|
|
4971
|
-
};
|
|
4972
|
-
};
|
|
4973
|
-
trace?: never;
|
|
4974
|
-
};
|
|
4975
|
-
'/api/chat/{id}/approval': {
|
|
4976
|
-
parameters: {
|
|
4977
|
-
query?: never;
|
|
4978
|
-
header?: never;
|
|
4979
|
-
path?: never;
|
|
4980
|
-
cookie?: never;
|
|
4981
|
-
};
|
|
4982
|
-
get?: never;
|
|
4983
|
-
put?: never;
|
|
4984
|
-
/**
|
|
4985
|
-
* Approve or deny a pending tool execution
|
|
4986
|
-
* @description Submit approval decision for a tool that requires human-in-the-loop confirmation
|
|
4987
|
-
*/
|
|
4988
|
-
post: {
|
|
4989
|
-
parameters: {
|
|
4990
|
-
query?: never;
|
|
4991
|
-
header?: never;
|
|
4992
|
-
path: {
|
|
4993
|
-
id: string;
|
|
4994
|
-
};
|
|
4995
|
-
cookie?: never;
|
|
4996
|
-
};
|
|
4997
|
-
requestBody?: {
|
|
4998
|
-
content: {
|
|
4999
|
-
'application/json': {
|
|
5000
|
-
toolUseId: string;
|
|
5001
|
-
approved: boolean;
|
|
5002
|
-
reason?: string;
|
|
5003
|
-
updatedInput?: {
|
|
5004
|
-
[key: string]: unknown;
|
|
5005
|
-
};
|
|
5006
|
-
answers?: {
|
|
5007
|
-
[key: string]: string;
|
|
5008
|
-
};
|
|
5009
|
-
};
|
|
5010
|
-
};
|
|
5011
|
-
};
|
|
5012
|
-
responses: {
|
|
5013
|
-
/** @description Approval processed */
|
|
5014
|
-
200: {
|
|
5015
|
-
headers: {
|
|
5016
|
-
[name: string]: unknown;
|
|
5017
|
-
};
|
|
5018
|
-
content: {
|
|
5019
|
-
'application/json': {
|
|
5020
|
-
success: boolean;
|
|
5021
|
-
toolUseId: string;
|
|
5022
|
-
approved: boolean;
|
|
5023
|
-
};
|
|
5024
|
-
};
|
|
5025
|
-
};
|
|
5026
|
-
/** @description Bad request */
|
|
5027
|
-
400: {
|
|
5028
|
-
headers: {
|
|
5029
|
-
[name: string]: unknown;
|
|
5030
|
-
};
|
|
5031
|
-
content: {
|
|
5032
|
-
'application/json': {
|
|
5033
|
-
error: {
|
|
5034
|
-
/** @enum {string} */
|
|
5035
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5036
|
-
/** @enum {string} */
|
|
5037
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5038
|
-
message: string;
|
|
5039
|
-
/** @enum {string} */
|
|
5040
|
-
subtype?: 'burst' | 'monthly';
|
|
5041
|
-
exceptionId?: string;
|
|
5042
|
-
};
|
|
5043
|
-
};
|
|
5044
|
-
};
|
|
5045
|
-
};
|
|
5046
|
-
/** @description Unauthorized */
|
|
5047
|
-
401: {
|
|
5048
|
-
headers: {
|
|
5049
|
-
[name: string]: unknown;
|
|
5050
|
-
};
|
|
5051
|
-
content: {
|
|
5052
|
-
'application/json': {
|
|
5053
|
-
error: {
|
|
5054
|
-
/** @enum {string} */
|
|
5055
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5056
|
-
/** @enum {string} */
|
|
5057
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5058
|
-
message: string;
|
|
5059
|
-
/** @enum {string} */
|
|
5060
|
-
subtype?: 'burst' | 'monthly';
|
|
5061
|
-
exceptionId?: string;
|
|
5062
|
-
};
|
|
5063
|
-
};
|
|
5064
|
-
};
|
|
5065
|
-
};
|
|
5066
|
-
/** @description Forbidden — approval belongs to different chat */
|
|
5067
|
-
403: {
|
|
5068
|
-
headers: {
|
|
5069
|
-
[name: string]: unknown;
|
|
5070
|
-
};
|
|
5071
|
-
content: {
|
|
5072
|
-
'application/json': {
|
|
5073
|
-
error: {
|
|
5074
|
-
/** @enum {string} */
|
|
5075
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5076
|
-
/** @enum {string} */
|
|
5077
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5078
|
-
message: string;
|
|
5079
|
-
/** @enum {string} */
|
|
5080
|
-
subtype?: 'burst' | 'monthly';
|
|
5081
|
-
exceptionId?: string;
|
|
5082
|
-
};
|
|
5083
|
-
};
|
|
5084
|
-
};
|
|
5085
|
-
};
|
|
5086
|
-
/** @description No pending approval found */
|
|
5087
|
-
404: {
|
|
5088
|
-
headers: {
|
|
5089
|
-
[name: string]: unknown;
|
|
5090
|
-
};
|
|
5091
|
-
content: {
|
|
5092
|
-
'application/json': {
|
|
5093
|
-
error: {
|
|
5094
|
-
/** @enum {string} */
|
|
5095
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5096
|
-
/** @enum {string} */
|
|
5097
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5098
|
-
message: string;
|
|
5099
|
-
/** @enum {string} */
|
|
5100
|
-
subtype?: 'burst' | 'monthly';
|
|
5101
|
-
exceptionId?: string;
|
|
5102
|
-
};
|
|
5103
|
-
};
|
|
5104
|
-
};
|
|
5105
|
-
};
|
|
5106
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
5107
|
-
503: {
|
|
5108
|
-
headers: {
|
|
5109
|
-
[name: string]: unknown;
|
|
5110
|
-
};
|
|
5111
|
-
content: {
|
|
5112
|
-
'application/json': {
|
|
5113
|
-
error: {
|
|
5114
|
-
/** @enum {string} */
|
|
5115
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5116
|
-
/** @enum {string} */
|
|
5117
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5118
|
-
message: string;
|
|
5119
|
-
/** @enum {string} */
|
|
5120
|
-
subtype?: 'burst' | 'monthly';
|
|
5121
|
-
exceptionId?: string;
|
|
5122
|
-
};
|
|
5123
|
-
};
|
|
5124
|
-
};
|
|
5125
|
-
};
|
|
5126
|
-
};
|
|
5127
|
-
};
|
|
5128
|
-
delete?: never;
|
|
5129
|
-
options?: never;
|
|
5130
|
-
head?: never;
|
|
5131
|
-
patch?: never;
|
|
5132
|
-
trace?: never;
|
|
5133
|
-
};
|
|
5134
|
-
'/api/chat/{id}/ui-tool-result': {
|
|
5135
|
-
parameters: {
|
|
5136
|
-
query?: never;
|
|
5137
|
-
header?: never;
|
|
5138
|
-
path?: never;
|
|
5139
|
-
cookie?: never;
|
|
5140
|
-
};
|
|
5141
|
-
get?: never;
|
|
5142
|
-
put?: never;
|
|
5143
|
-
/**
|
|
5144
|
-
* Submit the result of a UI tool (e.g. SQL editor) invocation
|
|
5145
|
-
* @description The frontend executes ui_sql_editor_* tools in the browser and returns the result here. The backend writes the result into the sandbox so the sandbox MCP server unblocks and returns it to the agent.
|
|
5146
|
-
*/
|
|
5147
|
-
post: {
|
|
5148
|
-
parameters: {
|
|
5149
|
-
query?: never;
|
|
5150
|
-
header?: never;
|
|
5151
|
-
path: {
|
|
5152
|
-
id: string;
|
|
5153
|
-
};
|
|
5154
|
-
cookie?: never;
|
|
5155
|
-
};
|
|
5156
|
-
requestBody?: {
|
|
5157
|
-
content: {
|
|
5158
|
-
'application/json': {
|
|
5159
|
-
toolUseId: string;
|
|
5160
|
-
output?: string;
|
|
5161
|
-
errorText?: string;
|
|
5162
|
-
};
|
|
5163
|
-
};
|
|
5164
|
-
};
|
|
5165
|
-
responses: {
|
|
5166
|
-
/** @description Result accepted */
|
|
5167
|
-
200: {
|
|
5168
|
-
headers: {
|
|
5169
|
-
[name: string]: unknown;
|
|
5170
|
-
};
|
|
5171
|
-
content: {
|
|
5172
|
-
'application/json': {
|
|
5173
|
-
success: boolean;
|
|
5174
|
-
toolUseId: string;
|
|
5175
|
-
};
|
|
5176
|
-
};
|
|
5177
|
-
};
|
|
5178
|
-
/** @description Bad request */
|
|
5179
|
-
400: {
|
|
5180
|
-
headers: {
|
|
5181
|
-
[name: string]: unknown;
|
|
5182
|
-
};
|
|
5183
|
-
content: {
|
|
5184
|
-
'application/json': {
|
|
5185
|
-
error: {
|
|
5186
|
-
/** @enum {string} */
|
|
5187
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5188
|
-
/** @enum {string} */
|
|
5189
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5190
|
-
message: string;
|
|
5191
|
-
/** @enum {string} */
|
|
5192
|
-
subtype?: 'burst' | 'monthly';
|
|
5193
|
-
exceptionId?: string;
|
|
5194
|
-
};
|
|
5195
|
-
};
|
|
5196
|
-
};
|
|
5197
|
-
};
|
|
5198
|
-
/** @description Unauthorized */
|
|
5199
|
-
401: {
|
|
5200
|
-
headers: {
|
|
5201
|
-
[name: string]: unknown;
|
|
5202
|
-
};
|
|
5203
|
-
content: {
|
|
5204
|
-
'application/json': {
|
|
5205
|
-
error: {
|
|
5206
|
-
/** @enum {string} */
|
|
5207
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5208
|
-
/** @enum {string} */
|
|
5209
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5210
|
-
message: string;
|
|
5211
|
-
/** @enum {string} */
|
|
5212
|
-
subtype?: 'burst' | 'monthly';
|
|
5213
|
-
exceptionId?: string;
|
|
5214
|
-
};
|
|
5215
|
-
};
|
|
5216
|
-
};
|
|
5217
|
-
};
|
|
5218
|
-
/** @description Forbidden — request belongs to a different chat */
|
|
5219
|
-
403: {
|
|
5220
|
-
headers: {
|
|
5221
|
-
[name: string]: unknown;
|
|
5222
|
-
};
|
|
5223
|
-
content: {
|
|
5224
|
-
'application/json': {
|
|
5225
|
-
error: {
|
|
5226
|
-
/** @enum {string} */
|
|
5227
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5228
|
-
/** @enum {string} */
|
|
5229
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5230
|
-
message: string;
|
|
5231
|
-
/** @enum {string} */
|
|
5232
|
-
subtype?: 'burst' | 'monthly';
|
|
5233
|
-
exceptionId?: string;
|
|
5234
|
-
};
|
|
5235
|
-
};
|
|
5236
|
-
};
|
|
5237
|
-
};
|
|
5238
|
-
/** @description No pending UI tool request found */
|
|
5239
|
-
404: {
|
|
5240
|
-
headers: {
|
|
5241
|
-
[name: string]: unknown;
|
|
5242
|
-
};
|
|
5243
|
-
content: {
|
|
5244
|
-
'application/json': {
|
|
5245
|
-
error: {
|
|
5246
|
-
/** @enum {string} */
|
|
5247
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5248
|
-
/** @enum {string} */
|
|
5249
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5250
|
-
message: string;
|
|
5251
|
-
/** @enum {string} */
|
|
5252
|
-
subtype?: 'burst' | 'monthly';
|
|
5253
|
-
exceptionId?: string;
|
|
5254
|
-
};
|
|
5255
|
-
};
|
|
5256
|
-
};
|
|
5257
|
-
};
|
|
5258
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
5259
|
-
503: {
|
|
5260
|
-
headers: {
|
|
5261
|
-
[name: string]: unknown;
|
|
5262
|
-
};
|
|
5263
|
-
content: {
|
|
5264
|
-
'application/json': {
|
|
5265
|
-
error: {
|
|
5266
|
-
/** @enum {string} */
|
|
5267
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5268
|
-
/** @enum {string} */
|
|
5269
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5270
|
-
message: string;
|
|
5271
|
-
/** @enum {string} */
|
|
5272
|
-
subtype?: 'burst' | 'monthly';
|
|
5273
|
-
exceptionId?: string;
|
|
5274
|
-
};
|
|
5275
|
-
};
|
|
5276
|
-
};
|
|
5277
|
-
};
|
|
5278
|
-
};
|
|
5279
|
-
};
|
|
5280
|
-
delete?: never;
|
|
5281
|
-
options?: never;
|
|
5282
|
-
head?: never;
|
|
5283
|
-
patch?: never;
|
|
5284
|
-
trace?: never;
|
|
5285
|
-
};
|
|
5286
|
-
'/api/chat/{id}/sandbox/files': {
|
|
5287
|
-
parameters: {
|
|
5288
|
-
query?: never;
|
|
5289
|
-
header?: never;
|
|
5290
|
-
path?: never;
|
|
5291
|
-
cookie?: never;
|
|
5292
|
-
};
|
|
5293
|
-
/**
|
|
5294
|
-
* List files in the data-app working directory of the chat sandbox
|
|
5295
|
-
* @description Returns a single-level directory listing rooted at the data-app dir, scoped to the calling user + project. Hidden dirs (.git, node_modules, etc.) are filtered out.
|
|
5296
|
-
*/
|
|
5297
|
-
get: {
|
|
5298
|
-
parameters: {
|
|
5299
|
-
query?: {
|
|
5300
|
-
path?: string;
|
|
5301
|
-
};
|
|
5302
|
-
header?: never;
|
|
5303
|
-
path: {
|
|
5304
|
-
id: string;
|
|
5305
|
-
};
|
|
5306
|
-
cookie?: never;
|
|
5307
|
-
};
|
|
5308
|
-
requestBody?: never;
|
|
5309
|
-
responses: {
|
|
5310
|
-
/** @description Directory listing */
|
|
5311
|
-
200: {
|
|
5312
|
-
headers: {
|
|
5313
|
-
[name: string]: unknown;
|
|
5314
|
-
};
|
|
5315
|
-
content: {
|
|
5316
|
-
'application/json': {
|
|
5317
|
-
entries: {
|
|
5318
|
-
name: string;
|
|
5319
|
-
path: string;
|
|
5320
|
-
/** @enum {string} */
|
|
5321
|
-
type: 'file' | 'dir';
|
|
5322
|
-
size?: number;
|
|
5323
|
-
}[];
|
|
5324
|
-
};
|
|
5325
|
-
};
|
|
5326
|
-
};
|
|
5327
|
-
/** @description Bad request */
|
|
5328
|
-
400: {
|
|
5329
|
-
headers: {
|
|
5330
|
-
[name: string]: unknown;
|
|
5331
|
-
};
|
|
5332
|
-
content: {
|
|
5333
|
-
'application/json': {
|
|
5334
|
-
error: {
|
|
5335
|
-
/** @enum {string} */
|
|
5336
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5337
|
-
/** @enum {string} */
|
|
5338
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5339
|
-
message: string;
|
|
5340
|
-
/** @enum {string} */
|
|
5341
|
-
subtype?: 'burst' | 'monthly';
|
|
5342
|
-
exceptionId?: string;
|
|
5343
|
-
};
|
|
5344
|
-
};
|
|
5345
|
-
};
|
|
5346
|
-
};
|
|
5347
|
-
/** @description Unauthorized */
|
|
5348
|
-
401: {
|
|
5349
|
-
headers: {
|
|
5350
|
-
[name: string]: unknown;
|
|
5351
|
-
};
|
|
5352
|
-
content: {
|
|
5353
|
-
'application/json': {
|
|
5354
|
-
error: {
|
|
5355
|
-
/** @enum {string} */
|
|
5356
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5357
|
-
/** @enum {string} */
|
|
5358
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5359
|
-
message: string;
|
|
5360
|
-
/** @enum {string} */
|
|
5361
|
-
subtype?: 'burst' | 'monthly';
|
|
5362
|
-
exceptionId?: string;
|
|
5363
|
-
};
|
|
5364
|
-
};
|
|
5365
|
-
};
|
|
5366
|
-
};
|
|
5367
|
-
/** @description Chat or sandbox not found */
|
|
5368
|
-
404: {
|
|
5369
|
-
headers: {
|
|
5370
|
-
[name: string]: unknown;
|
|
5371
|
-
};
|
|
5372
|
-
content: {
|
|
5373
|
-
'application/json': {
|
|
5374
|
-
error: {
|
|
5375
|
-
/** @enum {string} */
|
|
5376
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5377
|
-
/** @enum {string} */
|
|
5378
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5379
|
-
message: string;
|
|
5380
|
-
/** @enum {string} */
|
|
5381
|
-
subtype?: 'burst' | 'monthly';
|
|
5382
|
-
exceptionId?: string;
|
|
5383
|
-
};
|
|
5384
|
-
};
|
|
5385
|
-
};
|
|
5386
|
-
};
|
|
5387
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
5388
|
-
503: {
|
|
5389
|
-
headers: {
|
|
5390
|
-
[name: string]: unknown;
|
|
5391
|
-
};
|
|
5392
|
-
content: {
|
|
5393
|
-
'application/json': {
|
|
5394
|
-
error: {
|
|
5395
|
-
/** @enum {string} */
|
|
5396
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5397
|
-
/** @enum {string} */
|
|
5398
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5399
|
-
message: string;
|
|
5400
|
-
/** @enum {string} */
|
|
5401
|
-
subtype?: 'burst' | 'monthly';
|
|
5402
|
-
exceptionId?: string;
|
|
5403
|
-
};
|
|
5404
|
-
};
|
|
5405
|
-
};
|
|
5406
|
-
};
|
|
5407
|
-
};
|
|
5408
|
-
};
|
|
5409
|
-
put?: never;
|
|
5410
|
-
post?: never;
|
|
5411
|
-
delete?: never;
|
|
5412
|
-
options?: never;
|
|
5413
|
-
head?: never;
|
|
5414
|
-
patch?: never;
|
|
5415
|
-
trace?: never;
|
|
5416
|
-
};
|
|
5417
|
-
'/api/chat/{id}/sandbox/file': {
|
|
5418
|
-
parameters: {
|
|
5419
|
-
query?: never;
|
|
5420
|
-
header?: never;
|
|
5421
|
-
path?: never;
|
|
5422
|
-
cookie?: never;
|
|
5423
|
-
};
|
|
5424
|
-
/**
|
|
5425
|
-
* Read a file from the chat sandbox data-app directory
|
|
5426
|
-
* @description Returns the text content of a file inside the data-app dir. Oversize files are truncated; binary files return an empty content string with encoding="binary".
|
|
5427
|
-
*/
|
|
5428
|
-
get: {
|
|
5429
|
-
parameters: {
|
|
5430
|
-
query: {
|
|
5431
|
-
path: string;
|
|
5432
|
-
};
|
|
5433
|
-
header?: never;
|
|
5434
|
-
path: {
|
|
5435
|
-
id: string;
|
|
5436
|
-
};
|
|
5437
|
-
cookie?: never;
|
|
5438
|
-
};
|
|
5439
|
-
requestBody?: never;
|
|
5440
|
-
responses: {
|
|
5441
|
-
/** @description File content */
|
|
5442
|
-
200: {
|
|
5443
|
-
headers: {
|
|
5444
|
-
[name: string]: unknown;
|
|
5445
|
-
};
|
|
5446
|
-
content: {
|
|
5447
|
-
'application/json': {
|
|
5448
|
-
content: string;
|
|
5449
|
-
/** @enum {string} */
|
|
5450
|
-
encoding: 'utf-8' | 'binary';
|
|
5451
|
-
truncated: boolean;
|
|
5452
|
-
size: number;
|
|
5453
|
-
};
|
|
5454
|
-
};
|
|
5455
|
-
};
|
|
5456
|
-
/** @description Bad request */
|
|
5457
|
-
400: {
|
|
5458
|
-
headers: {
|
|
5459
|
-
[name: string]: unknown;
|
|
5460
|
-
};
|
|
5461
|
-
content: {
|
|
5462
|
-
'application/json': {
|
|
5463
|
-
error: {
|
|
5464
|
-
/** @enum {string} */
|
|
5465
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5466
|
-
/** @enum {string} */
|
|
5467
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5468
|
-
message: string;
|
|
5469
|
-
/** @enum {string} */
|
|
5470
|
-
subtype?: 'burst' | 'monthly';
|
|
5471
|
-
exceptionId?: string;
|
|
5472
|
-
};
|
|
5473
|
-
};
|
|
5474
|
-
};
|
|
5475
|
-
};
|
|
5476
|
-
/** @description Unauthorized */
|
|
5477
|
-
401: {
|
|
5478
|
-
headers: {
|
|
5479
|
-
[name: string]: unknown;
|
|
5480
|
-
};
|
|
5481
|
-
content: {
|
|
5482
|
-
'application/json': {
|
|
5483
|
-
error: {
|
|
5484
|
-
/** @enum {string} */
|
|
5485
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5486
|
-
/** @enum {string} */
|
|
5487
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5488
|
-
message: string;
|
|
5489
|
-
/** @enum {string} */
|
|
5490
|
-
subtype?: 'burst' | 'monthly';
|
|
5491
|
-
exceptionId?: string;
|
|
5492
|
-
};
|
|
5493
|
-
};
|
|
5494
|
-
};
|
|
5495
|
-
};
|
|
5496
|
-
/** @description Chat or sandbox not found */
|
|
5497
|
-
404: {
|
|
5498
|
-
headers: {
|
|
5499
|
-
[name: string]: unknown;
|
|
5500
|
-
};
|
|
5501
|
-
content: {
|
|
5502
|
-
'application/json': {
|
|
5503
|
-
error: {
|
|
5504
|
-
/** @enum {string} */
|
|
5505
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5506
|
-
/** @enum {string} */
|
|
5507
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5508
|
-
message: string;
|
|
5509
|
-
/** @enum {string} */
|
|
5510
|
-
subtype?: 'burst' | 'monthly';
|
|
5511
|
-
exceptionId?: string;
|
|
5512
|
-
};
|
|
5513
|
-
};
|
|
5514
|
-
};
|
|
5515
|
-
};
|
|
5516
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
5517
|
-
503: {
|
|
5518
|
-
headers: {
|
|
5519
|
-
[name: string]: unknown;
|
|
5520
|
-
};
|
|
5521
|
-
content: {
|
|
5522
|
-
'application/json': {
|
|
5523
|
-
error: {
|
|
5524
|
-
/** @enum {string} */
|
|
5525
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5526
|
-
/** @enum {string} */
|
|
5527
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5528
|
-
message: string;
|
|
5529
|
-
/** @enum {string} */
|
|
5530
|
-
subtype?: 'burst' | 'monthly';
|
|
5531
|
-
exceptionId?: string;
|
|
5532
|
-
};
|
|
5533
|
-
};
|
|
5534
|
-
};
|
|
5535
|
-
};
|
|
5536
|
-
};
|
|
5537
|
-
};
|
|
5538
|
-
put?: never;
|
|
5539
|
-
post?: never;
|
|
5540
|
-
delete?: never;
|
|
5541
|
-
options?: never;
|
|
5542
|
-
head?: never;
|
|
5543
|
-
patch?: never;
|
|
5544
|
-
trace?: never;
|
|
5545
|
-
};
|
|
5546
|
-
'/api/chat/{id}/sandbox/git-branch': {
|
|
5547
|
-
parameters: {
|
|
5548
|
-
query?: never;
|
|
5549
|
-
header?: never;
|
|
5550
|
-
path?: never;
|
|
5551
|
-
cookie?: never;
|
|
5552
|
-
};
|
|
5553
|
-
/**
|
|
5554
|
-
* Get the current git branch of the chat sandbox data-app directory
|
|
5555
|
-
* @description Runs `git rev-parse --abbrev-ref HEAD` inside the data-app dir. Returns `branch: null` when the directory has no git repo or the sandbox is unreachable.
|
|
5556
|
-
*/
|
|
5557
|
-
get: {
|
|
5558
|
-
parameters: {
|
|
5559
|
-
query?: never;
|
|
5560
|
-
header?: never;
|
|
5561
|
-
path: {
|
|
5562
|
-
id: string;
|
|
5563
|
-
};
|
|
5564
|
-
cookie?: never;
|
|
5565
|
-
};
|
|
5566
|
-
requestBody?: never;
|
|
5567
|
-
responses: {
|
|
5568
|
-
/** @description Current branch (or null) */
|
|
5569
|
-
200: {
|
|
5570
|
-
headers: {
|
|
5571
|
-
[name: string]: unknown;
|
|
5572
|
-
};
|
|
5573
|
-
content: {
|
|
5574
|
-
'application/json': {
|
|
5575
|
-
branch: string | null;
|
|
5576
|
-
};
|
|
5577
|
-
};
|
|
5578
|
-
};
|
|
5579
|
-
/** @description Bad request */
|
|
5580
|
-
400: {
|
|
5581
|
-
headers: {
|
|
5582
|
-
[name: string]: unknown;
|
|
5583
|
-
};
|
|
5584
|
-
content: {
|
|
5585
|
-
'application/json': {
|
|
5586
|
-
error: {
|
|
5587
|
-
/** @enum {string} */
|
|
5588
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5589
|
-
/** @enum {string} */
|
|
5590
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5591
|
-
message: string;
|
|
5592
|
-
/** @enum {string} */
|
|
5593
|
-
subtype?: 'burst' | 'monthly';
|
|
5594
|
-
exceptionId?: string;
|
|
5595
|
-
};
|
|
5596
|
-
};
|
|
5597
|
-
};
|
|
5598
|
-
};
|
|
5599
|
-
/** @description Unauthorized */
|
|
5600
|
-
401: {
|
|
5601
|
-
headers: {
|
|
5602
|
-
[name: string]: unknown;
|
|
5603
|
-
};
|
|
5604
|
-
content: {
|
|
5605
|
-
'application/json': {
|
|
5606
|
-
error: {
|
|
5607
|
-
/** @enum {string} */
|
|
5608
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5609
|
-
/** @enum {string} */
|
|
5610
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5611
|
-
message: string;
|
|
5612
|
-
/** @enum {string} */
|
|
5613
|
-
subtype?: 'burst' | 'monthly';
|
|
5614
|
-
exceptionId?: string;
|
|
5615
|
-
};
|
|
5616
|
-
};
|
|
5617
|
-
};
|
|
5618
|
-
};
|
|
5619
|
-
/** @description Chat or sandbox not found */
|
|
5620
|
-
404: {
|
|
5621
|
-
headers: {
|
|
5622
|
-
[name: string]: unknown;
|
|
5623
|
-
};
|
|
5624
|
-
content: {
|
|
5625
|
-
'application/json': {
|
|
5626
|
-
error: {
|
|
5627
|
-
/** @enum {string} */
|
|
5628
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5629
|
-
/** @enum {string} */
|
|
5630
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5631
|
-
message: string;
|
|
5632
|
-
/** @enum {string} */
|
|
5633
|
-
subtype?: 'burst' | 'monthly';
|
|
5634
|
-
exceptionId?: string;
|
|
5635
|
-
};
|
|
5636
|
-
};
|
|
5637
|
-
};
|
|
5638
|
-
};
|
|
5639
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
5640
|
-
503: {
|
|
5641
|
-
headers: {
|
|
5642
|
-
[name: string]: unknown;
|
|
5643
|
-
};
|
|
5644
|
-
content: {
|
|
5645
|
-
'application/json': {
|
|
5646
|
-
error: {
|
|
5647
|
-
/** @enum {string} */
|
|
5648
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5649
|
-
/** @enum {string} */
|
|
5650
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5651
|
-
message: string;
|
|
5652
|
-
/** @enum {string} */
|
|
5653
|
-
subtype?: 'burst' | 'monthly';
|
|
5654
|
-
exceptionId?: string;
|
|
5655
|
-
};
|
|
5656
|
-
};
|
|
5657
|
-
};
|
|
5658
|
-
};
|
|
5659
|
-
};
|
|
5660
|
-
};
|
|
5661
|
-
put?: never;
|
|
5662
|
-
post?: never;
|
|
5663
|
-
delete?: never;
|
|
5664
|
-
options?: never;
|
|
5665
|
-
head?: never;
|
|
5666
|
-
patch?: never;
|
|
5667
|
-
trace?: never;
|
|
5668
|
-
};
|
|
5669
|
-
'/api/usage': {
|
|
5670
|
-
parameters: {
|
|
5671
|
-
query?: never;
|
|
5672
|
-
header?: never;
|
|
5673
|
-
path?: never;
|
|
5674
|
-
cookie?: never;
|
|
5675
|
-
};
|
|
5676
|
-
/**
|
|
5677
|
-
* Get rate limit usage information
|
|
5678
|
-
* @description Returns the current rate limit usage for the authenticated user in the current project.
|
|
5679
|
-
*/
|
|
5680
|
-
get: {
|
|
5681
|
-
parameters: {
|
|
5682
|
-
query?: never;
|
|
5683
|
-
header?: never;
|
|
5684
|
-
path?: never;
|
|
5685
|
-
cookie?: never;
|
|
5686
|
-
};
|
|
5687
|
-
requestBody?: never;
|
|
5688
|
-
responses: {
|
|
5689
|
-
/** @description Rate limit usage information */
|
|
5690
|
-
200: {
|
|
5691
|
-
headers: {
|
|
5692
|
-
[name: string]: unknown;
|
|
5693
|
-
};
|
|
5694
|
-
content: {
|
|
5695
|
-
'application/json': {
|
|
5696
|
-
messagesUsed: number;
|
|
5697
|
-
messagesLimit: number | null;
|
|
5698
|
-
/** Format: date-time */
|
|
5699
|
-
resetDate: string;
|
|
5700
|
-
};
|
|
5701
|
-
};
|
|
5702
|
-
};
|
|
5703
|
-
/** @description Unauthorized */
|
|
5704
|
-
401: {
|
|
5705
|
-
headers: {
|
|
5706
|
-
[name: string]: unknown;
|
|
5707
|
-
};
|
|
5708
|
-
content: {
|
|
5709
|
-
'application/json': {
|
|
5710
|
-
error: {
|
|
5711
|
-
/** @enum {string} */
|
|
5712
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5713
|
-
/** @enum {string} */
|
|
5714
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5715
|
-
message: string;
|
|
5716
|
-
/** @enum {string} */
|
|
5717
|
-
subtype?: 'burst' | 'monthly';
|
|
5718
|
-
exceptionId?: string;
|
|
5719
|
-
};
|
|
5720
|
-
};
|
|
5721
|
-
};
|
|
5722
|
-
};
|
|
5723
|
-
/** @description Internal server error */
|
|
5724
|
-
500: {
|
|
5725
|
-
headers: {
|
|
5726
|
-
[name: string]: unknown;
|
|
5727
|
-
};
|
|
5728
|
-
content: {
|
|
5729
|
-
'application/json': {
|
|
5730
|
-
error: {
|
|
5731
|
-
/** @enum {string} */
|
|
5732
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5733
|
-
/** @enum {string} */
|
|
5734
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5735
|
-
message: string;
|
|
5736
|
-
/** @enum {string} */
|
|
5737
|
-
subtype?: 'burst' | 'monthly';
|
|
5738
|
-
exceptionId?: string;
|
|
5739
|
-
};
|
|
5740
|
-
};
|
|
5741
|
-
};
|
|
5742
|
-
};
|
|
5743
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
5744
|
-
503: {
|
|
5745
|
-
headers: {
|
|
5746
|
-
[name: string]: unknown;
|
|
5747
|
-
};
|
|
5748
|
-
content: {
|
|
5749
|
-
'application/json': {
|
|
5750
|
-
error: {
|
|
5751
|
-
/** @enum {string} */
|
|
5752
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5753
|
-
/** @enum {string} */
|
|
5754
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5755
|
-
message: string;
|
|
5756
|
-
/** @enum {string} */
|
|
5757
|
-
subtype?: 'burst' | 'monthly';
|
|
5758
|
-
exceptionId?: string;
|
|
5759
|
-
};
|
|
5760
|
-
};
|
|
5761
|
-
};
|
|
5762
|
-
};
|
|
5763
|
-
};
|
|
5764
|
-
};
|
|
5765
|
-
put?: never;
|
|
5766
|
-
post?: never;
|
|
5767
|
-
delete?: never;
|
|
5768
|
-
options?: never;
|
|
5769
|
-
head?: never;
|
|
5770
|
-
patch?: never;
|
|
5771
|
-
trace?: never;
|
|
5772
|
-
};
|
|
5773
|
-
'/api/settings': {
|
|
5774
|
-
parameters: {
|
|
5775
|
-
query?: never;
|
|
5776
|
-
header?: never;
|
|
5777
|
-
path?: never;
|
|
5778
|
-
cookie?: never;
|
|
5779
|
-
};
|
|
5780
|
-
/**
|
|
5781
|
-
* Get project settings
|
|
5782
|
-
* @description Retrieve project-level custom instructions
|
|
5783
|
-
*/
|
|
5784
|
-
get: {
|
|
5785
|
-
parameters: {
|
|
5786
|
-
query?: never;
|
|
5787
|
-
header?: never;
|
|
5788
|
-
path?: never;
|
|
5789
|
-
cookie?: never;
|
|
5790
|
-
};
|
|
5791
|
-
requestBody?: never;
|
|
5792
|
-
responses: {
|
|
5793
|
-
/** @description Project settings */
|
|
5794
|
-
200: {
|
|
5795
|
-
headers: {
|
|
5796
|
-
[name: string]: unknown;
|
|
5797
|
-
};
|
|
5798
|
-
content: {
|
|
5799
|
-
'application/json': {
|
|
5800
|
-
projectId: string;
|
|
5801
|
-
customInstructions: string | null;
|
|
5802
|
-
createdAt: string;
|
|
5803
|
-
updatedAt: string;
|
|
5804
|
-
};
|
|
5805
|
-
};
|
|
5806
|
-
};
|
|
5807
|
-
/** @description Unauthorized */
|
|
5808
|
-
401: {
|
|
5809
|
-
headers: {
|
|
5810
|
-
[name: string]: unknown;
|
|
5811
|
-
};
|
|
5812
|
-
content: {
|
|
5813
|
-
'application/json': {
|
|
5814
|
-
error: {
|
|
5815
|
-
/** @enum {string} */
|
|
5816
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5817
|
-
/** @enum {string} */
|
|
5818
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5819
|
-
message: string;
|
|
5820
|
-
/** @enum {string} */
|
|
5821
|
-
subtype?: 'burst' | 'monthly';
|
|
5822
|
-
exceptionId?: string;
|
|
5823
|
-
};
|
|
5824
|
-
};
|
|
5825
|
-
};
|
|
5826
|
-
};
|
|
5827
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
5828
|
-
503: {
|
|
5829
|
-
headers: {
|
|
5830
|
-
[name: string]: unknown;
|
|
5831
|
-
};
|
|
5832
|
-
content: {
|
|
5833
|
-
'application/json': {
|
|
5834
|
-
error: {
|
|
5835
|
-
/** @enum {string} */
|
|
5836
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5837
|
-
/** @enum {string} */
|
|
5838
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5839
|
-
message: string;
|
|
5840
|
-
/** @enum {string} */
|
|
5841
|
-
subtype?: 'burst' | 'monthly';
|
|
5842
|
-
exceptionId?: string;
|
|
5843
|
-
};
|
|
5844
|
-
};
|
|
5845
|
-
};
|
|
5846
|
-
};
|
|
5847
|
-
};
|
|
5848
|
-
};
|
|
5849
|
-
put?: never;
|
|
5850
|
-
post?: never;
|
|
5851
|
-
delete?: never;
|
|
5852
|
-
options?: never;
|
|
5853
|
-
head?: never;
|
|
5854
|
-
/**
|
|
5855
|
-
* Update project settings
|
|
5856
|
-
* @description Update project-level custom instructions
|
|
5857
|
-
*/
|
|
5858
|
-
patch: {
|
|
5859
|
-
parameters: {
|
|
5860
|
-
query?: never;
|
|
5861
|
-
header?: never;
|
|
5862
|
-
path?: never;
|
|
5863
|
-
cookie?: never;
|
|
5864
|
-
};
|
|
5865
|
-
requestBody?: {
|
|
5866
|
-
content: {
|
|
5867
|
-
'application/json': {
|
|
5868
|
-
customInstructions?: string | null;
|
|
5869
|
-
};
|
|
5870
|
-
};
|
|
5871
|
-
};
|
|
5872
|
-
responses: {
|
|
5873
|
-
/** @description Updated project settings */
|
|
5874
|
-
200: {
|
|
5875
|
-
headers: {
|
|
5876
|
-
[name: string]: unknown;
|
|
5877
|
-
};
|
|
5878
|
-
content: {
|
|
5879
|
-
'application/json': {
|
|
5880
|
-
projectId: string;
|
|
5881
|
-
customInstructions: string | null;
|
|
5882
|
-
createdAt: string;
|
|
5883
|
-
updatedAt: string;
|
|
5884
|
-
};
|
|
5885
|
-
};
|
|
5886
|
-
};
|
|
5887
|
-
/** @description Bad request */
|
|
5888
|
-
400: {
|
|
5889
|
-
headers: {
|
|
5890
|
-
[name: string]: unknown;
|
|
5891
|
-
};
|
|
5892
|
-
content: {
|
|
5893
|
-
'application/json': {
|
|
5894
|
-
error: {
|
|
5895
|
-
/** @enum {string} */
|
|
5896
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5897
|
-
/** @enum {string} */
|
|
5898
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5899
|
-
message: string;
|
|
5900
|
-
/** @enum {string} */
|
|
5901
|
-
subtype?: 'burst' | 'monthly';
|
|
5902
|
-
exceptionId?: string;
|
|
5903
|
-
};
|
|
5904
|
-
};
|
|
5905
|
-
};
|
|
5906
|
-
};
|
|
5907
|
-
/** @description Unauthorized */
|
|
5908
|
-
401: {
|
|
5909
|
-
headers: {
|
|
5910
|
-
[name: string]: unknown;
|
|
5911
|
-
};
|
|
5912
|
-
content: {
|
|
5913
|
-
'application/json': {
|
|
5914
|
-
error: {
|
|
5915
|
-
/** @enum {string} */
|
|
5916
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5917
|
-
/** @enum {string} */
|
|
5918
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5919
|
-
message: string;
|
|
5920
|
-
/** @enum {string} */
|
|
5921
|
-
subtype?: 'burst' | 'monthly';
|
|
5922
|
-
exceptionId?: string;
|
|
5923
|
-
};
|
|
5924
|
-
};
|
|
5925
|
-
};
|
|
5926
|
-
};
|
|
5927
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
5928
|
-
503: {
|
|
5929
|
-
headers: {
|
|
5930
|
-
[name: string]: unknown;
|
|
5931
|
-
};
|
|
5932
|
-
content: {
|
|
5933
|
-
'application/json': {
|
|
5934
|
-
error: {
|
|
5935
|
-
/** @enum {string} */
|
|
5936
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5937
|
-
/** @enum {string} */
|
|
5938
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
5939
|
-
message: string;
|
|
5940
|
-
/** @enum {string} */
|
|
5941
|
-
subtype?: 'burst' | 'monthly';
|
|
5942
|
-
exceptionId?: string;
|
|
5943
|
-
};
|
|
5944
|
-
};
|
|
5945
|
-
};
|
|
5946
|
-
};
|
|
5947
|
-
};
|
|
5948
|
-
};
|
|
5949
|
-
trace?: never;
|
|
5950
|
-
};
|
|
5951
|
-
'/api/settings/user': {
|
|
5952
|
-
parameters: {
|
|
5953
|
-
query?: never;
|
|
5954
|
-
header?: never;
|
|
5955
|
-
path?: never;
|
|
5956
|
-
cookie?: never;
|
|
5957
|
-
};
|
|
5958
|
-
/**
|
|
5959
|
-
* Get user settings
|
|
5960
|
-
* @description Retrieve user-level custom instructions and tool permissions
|
|
5961
|
-
*/
|
|
5962
|
-
get: {
|
|
5963
|
-
parameters: {
|
|
5964
|
-
query?: never;
|
|
5965
|
-
header?: never;
|
|
5966
|
-
path?: never;
|
|
5967
|
-
cookie?: never;
|
|
5968
|
-
};
|
|
5969
|
-
requestBody?: never;
|
|
5970
|
-
responses: {
|
|
5971
|
-
/** @description User settings */
|
|
5972
|
-
200: {
|
|
5973
|
-
headers: {
|
|
5974
|
-
[name: string]: unknown;
|
|
5975
|
-
};
|
|
5976
|
-
content: {
|
|
5977
|
-
'application/json': {
|
|
5978
|
-
projectId: string;
|
|
5979
|
-
userId: string;
|
|
5980
|
-
customInstructions: string | null;
|
|
5981
|
-
toolPermissions: {
|
|
5982
|
-
[key: string]: 'always_allow' | 'always_ask' | 'blocked';
|
|
5983
|
-
} | null;
|
|
5984
|
-
createdAt: string;
|
|
5985
|
-
updatedAt: string;
|
|
5986
|
-
};
|
|
5987
|
-
};
|
|
5988
|
-
};
|
|
5989
|
-
/** @description Unauthorized */
|
|
5990
|
-
401: {
|
|
5991
|
-
headers: {
|
|
5992
|
-
[name: string]: unknown;
|
|
5993
|
-
};
|
|
5994
|
-
content: {
|
|
5995
|
-
'application/json': {
|
|
5996
|
-
error: {
|
|
5997
|
-
/** @enum {string} */
|
|
5998
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
5999
|
-
/** @enum {string} */
|
|
6000
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
6001
|
-
message: string;
|
|
6002
|
-
/** @enum {string} */
|
|
6003
|
-
subtype?: 'burst' | 'monthly';
|
|
6004
|
-
exceptionId?: string;
|
|
6005
|
-
};
|
|
6006
|
-
};
|
|
6007
|
-
};
|
|
6008
|
-
};
|
|
6009
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
6010
|
-
503: {
|
|
6011
|
-
headers: {
|
|
6012
|
-
[name: string]: unknown;
|
|
6013
|
-
};
|
|
6014
|
-
content: {
|
|
6015
|
-
'application/json': {
|
|
6016
|
-
error: {
|
|
6017
|
-
/** @enum {string} */
|
|
6018
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
6019
|
-
/** @enum {string} */
|
|
6020
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
6021
|
-
message: string;
|
|
6022
|
-
/** @enum {string} */
|
|
6023
|
-
subtype?: 'burst' | 'monthly';
|
|
6024
|
-
exceptionId?: string;
|
|
6025
|
-
};
|
|
6026
|
-
};
|
|
6027
|
-
};
|
|
6028
|
-
};
|
|
6029
|
-
};
|
|
6030
|
-
};
|
|
6031
|
-
put?: never;
|
|
6032
|
-
post?: never;
|
|
6033
|
-
delete?: never;
|
|
6034
|
-
options?: never;
|
|
6035
|
-
head?: never;
|
|
6036
|
-
/**
|
|
6037
|
-
* Update user settings
|
|
6038
|
-
* @description Update user-level custom instructions and/or tool permissions. Tool permissions are merged with existing values.
|
|
6039
|
-
*/
|
|
6040
|
-
patch: {
|
|
6041
|
-
parameters: {
|
|
6042
|
-
query?: never;
|
|
6043
|
-
header?: never;
|
|
6044
|
-
path?: never;
|
|
6045
|
-
cookie?: never;
|
|
6046
|
-
};
|
|
6047
|
-
requestBody?: {
|
|
6048
|
-
content: {
|
|
6049
|
-
'application/json': {
|
|
6050
|
-
customInstructions?: string | null;
|
|
6051
|
-
toolPermissions?: {
|
|
6052
|
-
[key: string]: 'always_allow' | 'always_ask' | 'blocked';
|
|
6053
|
-
} | null;
|
|
6054
|
-
};
|
|
6055
|
-
};
|
|
6056
|
-
};
|
|
6057
|
-
responses: {
|
|
6058
|
-
/** @description Updated user settings */
|
|
6059
|
-
200: {
|
|
6060
|
-
headers: {
|
|
6061
|
-
[name: string]: unknown;
|
|
6062
|
-
};
|
|
6063
|
-
content: {
|
|
6064
|
-
'application/json': {
|
|
6065
|
-
projectId: string;
|
|
6066
|
-
userId: string;
|
|
6067
|
-
customInstructions: string | null;
|
|
6068
|
-
toolPermissions: {
|
|
6069
|
-
[key: string]: 'always_allow' | 'always_ask' | 'blocked';
|
|
6070
|
-
} | null;
|
|
6071
|
-
createdAt: string;
|
|
6072
|
-
updatedAt: string;
|
|
6073
|
-
};
|
|
6074
|
-
};
|
|
6075
|
-
};
|
|
6076
|
-
/** @description Bad request */
|
|
6077
|
-
400: {
|
|
6078
|
-
headers: {
|
|
6079
|
-
[name: string]: unknown;
|
|
6080
|
-
};
|
|
6081
|
-
content: {
|
|
6082
|
-
'application/json': {
|
|
6083
|
-
error: {
|
|
6084
|
-
/** @enum {string} */
|
|
6085
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
6086
|
-
/** @enum {string} */
|
|
6087
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
6088
|
-
message: string;
|
|
6089
|
-
/** @enum {string} */
|
|
6090
|
-
subtype?: 'burst' | 'monthly';
|
|
6091
|
-
exceptionId?: string;
|
|
6092
|
-
};
|
|
6093
|
-
};
|
|
6094
|
-
};
|
|
6095
|
-
};
|
|
6096
|
-
/** @description Unauthorized */
|
|
6097
|
-
401: {
|
|
6098
|
-
headers: {
|
|
6099
|
-
[name: string]: unknown;
|
|
6100
|
-
};
|
|
6101
|
-
content: {
|
|
6102
|
-
'application/json': {
|
|
6103
|
-
error: {
|
|
6104
|
-
/** @enum {string} */
|
|
6105
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
6106
|
-
/** @enum {string} */
|
|
6107
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
6108
|
-
message: string;
|
|
6109
|
-
/** @enum {string} */
|
|
6110
|
-
subtype?: 'burst' | 'monthly';
|
|
6111
|
-
exceptionId?: string;
|
|
6112
|
-
};
|
|
6113
|
-
};
|
|
6114
|
-
};
|
|
6115
|
-
};
|
|
6116
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
6117
|
-
503: {
|
|
6118
|
-
headers: {
|
|
6119
|
-
[name: string]: unknown;
|
|
6120
|
-
};
|
|
6121
|
-
content: {
|
|
6122
|
-
'application/json': {
|
|
6123
|
-
error: {
|
|
6124
|
-
/** @enum {string} */
|
|
6125
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
6126
|
-
/** @enum {string} */
|
|
6127
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
6128
|
-
message: string;
|
|
6129
|
-
/** @enum {string} */
|
|
6130
|
-
subtype?: 'burst' | 'monthly';
|
|
6131
|
-
exceptionId?: string;
|
|
6132
|
-
};
|
|
6133
|
-
};
|
|
6134
|
-
};
|
|
6135
|
-
};
|
|
6136
|
-
};
|
|
6137
|
-
};
|
|
6138
|
-
trace?: never;
|
|
6139
|
-
};
|
|
6140
|
-
'/api/suggestions': {
|
|
6141
|
-
parameters: {
|
|
6142
|
-
query?: never;
|
|
6143
|
-
header?: never;
|
|
6144
|
-
path?: never;
|
|
6145
|
-
cookie?: never;
|
|
6146
|
-
};
|
|
6147
|
-
get?: never;
|
|
6148
|
-
put?: never;
|
|
6149
|
-
/**
|
|
6150
|
-
* Generate contextual suggestions
|
|
6151
|
-
* @description Generate AI-powered contextual suggestions for dashboard, job-detail, or configuration-detail contexts
|
|
6152
|
-
*/
|
|
6153
|
-
post: {
|
|
6154
|
-
parameters: {
|
|
6155
|
-
query?: never;
|
|
6156
|
-
header?: never;
|
|
6157
|
-
path?: never;
|
|
6158
|
-
cookie?: never;
|
|
6159
|
-
};
|
|
6160
|
-
requestBody?: {
|
|
6161
|
-
content: {
|
|
6162
|
-
'application/json': {
|
|
6163
|
-
/** @enum {string} */
|
|
6164
|
-
context: 'dashboard';
|
|
6165
|
-
data: {
|
|
6166
|
-
recentFailedJobs: {
|
|
6167
|
-
id: string;
|
|
6168
|
-
/** @enum {string} */
|
|
6169
|
-
status: 'error' | 'warning';
|
|
6170
|
-
component: string;
|
|
6171
|
-
configId: string;
|
|
6172
|
-
configName?: string;
|
|
6173
|
-
createdTime: string;
|
|
6174
|
-
durationSeconds?: number;
|
|
6175
|
-
errorMessage?: string;
|
|
6176
|
-
}[];
|
|
6177
|
-
deprecatedComponents: {
|
|
6178
|
-
id: string;
|
|
6179
|
-
name: string;
|
|
6180
|
-
type: string;
|
|
6181
|
-
expiredOn: string;
|
|
6182
|
-
configCount: number;
|
|
6183
|
-
}[];
|
|
6184
|
-
userRecentEdits: {
|
|
6185
|
-
component: string;
|
|
6186
|
-
configId: string;
|
|
6187
|
-
configName: string;
|
|
6188
|
-
lastEdited: string;
|
|
6189
|
-
}[];
|
|
6190
|
-
/** Format: email */
|
|
6191
|
-
currentUserEmail: string;
|
|
6192
|
-
};
|
|
6193
|
-
} | {
|
|
6194
|
-
/** @enum {string} */
|
|
6195
|
-
context: 'job-detail';
|
|
6196
|
-
data: {
|
|
6197
|
-
job: {
|
|
6198
|
-
id: string;
|
|
6199
|
-
/** @enum {string} */
|
|
6200
|
-
status: 'created' | 'waiting' | 'processing' | 'success' | 'error' | 'terminating' | 'terminated' | 'cancelled' | 'warning';
|
|
6201
|
-
component: string;
|
|
6202
|
-
configId?: string;
|
|
6203
|
-
configName?: string;
|
|
6204
|
-
createdTime: string;
|
|
6205
|
-
startTime?: string;
|
|
6206
|
-
endTime?: string;
|
|
6207
|
-
durationSeconds?: number;
|
|
6208
|
-
errorMessage?: string;
|
|
6209
|
-
/** @enum {string} */
|
|
6210
|
-
errorType?: 'user' | 'application';
|
|
6211
|
-
backendSize?: string;
|
|
6212
|
-
};
|
|
6213
|
-
component?: {
|
|
6214
|
-
id: string;
|
|
6215
|
-
name: string;
|
|
6216
|
-
type: string;
|
|
6217
|
-
};
|
|
6218
|
-
runtimeHistory?: {
|
|
6219
|
-
averageDurationSeconds?: number;
|
|
6220
|
-
minDurationSeconds?: number;
|
|
6221
|
-
maxDurationSeconds?: number;
|
|
6222
|
-
recentJobsCount: number;
|
|
6223
|
-
isSlowerThanAverage?: boolean;
|
|
6224
|
-
isFasterThanAverage?: boolean;
|
|
6225
|
-
percentageDifference?: number;
|
|
6226
|
-
};
|
|
6227
|
-
/** Format: email */
|
|
6228
|
-
currentUserEmail: string;
|
|
6229
|
-
};
|
|
6230
|
-
} | {
|
|
6231
|
-
/** @enum {string} */
|
|
6232
|
-
context: 'configuration-detail';
|
|
6233
|
-
data: {
|
|
6234
|
-
configuration: {
|
|
6235
|
-
id: string;
|
|
6236
|
-
name: string;
|
|
6237
|
-
description?: string;
|
|
6238
|
-
component: string;
|
|
6239
|
-
hasRows: boolean;
|
|
6240
|
-
rowCount?: number;
|
|
6241
|
-
lastChangeDescription?: string;
|
|
6242
|
-
};
|
|
6243
|
-
component?: {
|
|
6244
|
-
id: string;
|
|
6245
|
-
name: string;
|
|
6246
|
-
type: string;
|
|
6247
|
-
};
|
|
6248
|
-
latestJobs?: {
|
|
6249
|
-
id: string;
|
|
6250
|
-
/** @enum {string} */
|
|
6251
|
-
status: 'created' | 'waiting' | 'processing' | 'success' | 'error' | 'terminating' | 'terminated' | 'cancelled' | 'warning';
|
|
6252
|
-
durationSeconds?: number;
|
|
6253
|
-
errorMessage?: string;
|
|
6254
|
-
createdTime: string;
|
|
6255
|
-
}[];
|
|
6256
|
-
/** Format: email */
|
|
6257
|
-
currentUserEmail: string;
|
|
6258
|
-
};
|
|
6259
|
-
};
|
|
6260
|
-
};
|
|
6261
|
-
};
|
|
6262
|
-
responses: {
|
|
6263
|
-
/** @description Suggestions generated successfully */
|
|
6264
|
-
200: {
|
|
6265
|
-
headers: {
|
|
6266
|
-
[name: string]: unknown;
|
|
6267
|
-
};
|
|
6268
|
-
content: {
|
|
6269
|
-
'application/json': {
|
|
6270
|
-
suggestions: {
|
|
6271
|
-
/** Format: uuid */
|
|
6272
|
-
id: string;
|
|
6273
|
-
label: string;
|
|
6274
|
-
prompt: string;
|
|
6275
|
-
priority: number;
|
|
6276
|
-
/** @enum {string} */
|
|
6277
|
-
category: 'error' | 'maintenance' | 'documentation';
|
|
6278
|
-
reasoning: string;
|
|
6279
|
-
}[];
|
|
6280
|
-
/** Format: uuid */
|
|
6281
|
-
suggestionSessionId: string;
|
|
6282
|
-
};
|
|
6283
|
-
};
|
|
6284
|
-
};
|
|
6285
|
-
/** @description Bad request */
|
|
6286
|
-
400: {
|
|
6287
|
-
headers: {
|
|
6288
|
-
[name: string]: unknown;
|
|
6289
|
-
};
|
|
6290
|
-
content: {
|
|
6291
|
-
'application/json': {
|
|
6292
|
-
error: {
|
|
6293
|
-
/** @enum {string} */
|
|
6294
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
6295
|
-
/** @enum {string} */
|
|
6296
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
6297
|
-
message: string;
|
|
6298
|
-
/** @enum {string} */
|
|
6299
|
-
subtype?: 'burst' | 'monthly';
|
|
6300
|
-
exceptionId?: string;
|
|
6301
|
-
};
|
|
6302
|
-
};
|
|
6303
|
-
};
|
|
6304
|
-
};
|
|
6305
|
-
/** @description Unauthorized */
|
|
6306
|
-
401: {
|
|
6307
|
-
headers: {
|
|
6308
|
-
[name: string]: unknown;
|
|
6309
|
-
};
|
|
6310
|
-
content: {
|
|
6311
|
-
'application/json': {
|
|
6312
|
-
error: {
|
|
6313
|
-
/** @enum {string} */
|
|
6314
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
6315
|
-
/** @enum {string} */
|
|
6316
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
6317
|
-
message: string;
|
|
6318
|
-
/** @enum {string} */
|
|
6319
|
-
subtype?: 'burst' | 'monthly';
|
|
6320
|
-
exceptionId?: string;
|
|
6321
|
-
};
|
|
6322
|
-
};
|
|
6323
|
-
};
|
|
6324
|
-
};
|
|
6325
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
6326
|
-
503: {
|
|
6327
|
-
headers: {
|
|
6328
|
-
[name: string]: unknown;
|
|
6329
|
-
};
|
|
6330
|
-
content: {
|
|
6331
|
-
'application/json': {
|
|
6332
|
-
error: {
|
|
6333
|
-
/** @enum {string} */
|
|
6334
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
6335
|
-
/** @enum {string} */
|
|
6336
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
6337
|
-
message: string;
|
|
6338
|
-
/** @enum {string} */
|
|
6339
|
-
subtype?: 'burst' | 'monthly';
|
|
6340
|
-
exceptionId?: string;
|
|
6341
|
-
};
|
|
6342
|
-
};
|
|
6343
|
-
};
|
|
6344
|
-
};
|
|
6345
|
-
};
|
|
6346
|
-
};
|
|
6347
|
-
delete?: never;
|
|
6348
|
-
options?: never;
|
|
6349
|
-
head?: never;
|
|
6350
|
-
patch?: never;
|
|
6351
|
-
trace?: never;
|
|
6352
|
-
};
|
|
6353
|
-
'/api/settings/tools': {
|
|
6354
|
-
parameters: {
|
|
6355
|
-
query?: never;
|
|
6356
|
-
header?: never;
|
|
6357
|
-
path?: never;
|
|
6358
|
-
cookie?: never;
|
|
6359
|
-
};
|
|
6360
|
-
/**
|
|
6361
|
-
* List available tools
|
|
6362
|
-
* @description List all available MCP tools with their metadata
|
|
6363
|
-
*/
|
|
6364
|
-
get: {
|
|
6365
|
-
parameters: {
|
|
6366
|
-
query?: never;
|
|
6367
|
-
header?: never;
|
|
6368
|
-
path?: never;
|
|
6369
|
-
cookie?: never;
|
|
6370
|
-
};
|
|
6371
|
-
requestBody?: never;
|
|
6372
|
-
responses: {
|
|
6373
|
-
/** @description List of available tools */
|
|
6374
|
-
200: {
|
|
6375
|
-
headers: {
|
|
6376
|
-
[name: string]: unknown;
|
|
6377
|
-
};
|
|
6378
|
-
content: {
|
|
6379
|
-
'application/json': {
|
|
6380
|
-
tools: {
|
|
6381
|
-
name: string;
|
|
6382
|
-
description: string;
|
|
6383
|
-
readOnly: boolean;
|
|
6384
|
-
}[];
|
|
6385
|
-
};
|
|
6386
|
-
};
|
|
6387
|
-
};
|
|
6388
|
-
/** @description Unauthorized */
|
|
6389
|
-
401: {
|
|
6390
|
-
headers: {
|
|
6391
|
-
[name: string]: unknown;
|
|
6392
|
-
};
|
|
6393
|
-
content: {
|
|
6394
|
-
'application/json': {
|
|
6395
|
-
error: {
|
|
6396
|
-
/** @enum {string} */
|
|
6397
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
6398
|
-
/** @enum {string} */
|
|
6399
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
6400
|
-
message: string;
|
|
6401
|
-
/** @enum {string} */
|
|
6402
|
-
subtype?: 'burst' | 'monthly';
|
|
6403
|
-
exceptionId?: string;
|
|
6404
|
-
};
|
|
6405
|
-
};
|
|
6406
|
-
};
|
|
6407
|
-
};
|
|
6408
|
-
/** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
|
|
6409
|
-
503: {
|
|
6410
|
-
headers: {
|
|
6411
|
-
[name: string]: unknown;
|
|
6412
|
-
};
|
|
6413
|
-
content: {
|
|
6414
|
-
'application/json': {
|
|
6415
|
-
error: {
|
|
6416
|
-
/** @enum {string} */
|
|
6417
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
6418
|
-
/** @enum {string} */
|
|
6419
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
6420
|
-
message: string;
|
|
6421
|
-
/** @enum {string} */
|
|
6422
|
-
subtype?: 'burst' | 'monthly';
|
|
6423
|
-
exceptionId?: string;
|
|
6424
|
-
};
|
|
6425
|
-
};
|
|
6426
|
-
};
|
|
6427
|
-
};
|
|
6428
|
-
};
|
|
6429
|
-
};
|
|
6430
|
-
put?: never;
|
|
6431
|
-
post?: never;
|
|
6432
|
-
delete?: never;
|
|
6433
|
-
options?: never;
|
|
6434
|
-
head?: never;
|
|
6435
|
-
patch?: never;
|
|
6436
|
-
trace?: never;
|
|
6437
|
-
};
|
|
6438
|
-
'/api/skills': {
|
|
6439
|
-
parameters: {
|
|
6440
|
-
query?: never;
|
|
6441
|
-
header?: never;
|
|
6442
|
-
path?: never;
|
|
6443
|
-
cookie?: never;
|
|
6444
|
-
};
|
|
6445
|
-
/**
|
|
6446
|
-
* List skills and built-in slash commands available to the agent
|
|
6447
|
-
* @description Returns the full set of `/`-invokable items the chat UI surfaces in its slash-command menu: built-in slash commands kai-agent itself recognises (`/plan`, `/compact`) plus every skill (first-party + vendored bundled with the sandbox, project-tagged files uploaded to Keboola Storage). Names and descriptions are normalised server-side — the UI does no merging.
|
|
6448
|
-
*/
|
|
6449
|
-
get: {
|
|
6450
|
-
parameters: {
|
|
6451
|
-
query?: never;
|
|
6452
|
-
header?: never;
|
|
6453
|
-
path?: never;
|
|
6454
|
-
cookie?: never;
|
|
6455
|
-
};
|
|
6456
|
-
requestBody?: never;
|
|
6457
|
-
responses: {
|
|
6458
|
-
/** @description List of skills */
|
|
6459
|
-
200: {
|
|
6460
|
-
headers: {
|
|
6461
|
-
[name: string]: unknown;
|
|
6462
|
-
};
|
|
6463
|
-
content: {
|
|
6464
|
-
'application/json': {
|
|
6465
|
-
skills: {
|
|
6466
|
-
name: string;
|
|
6467
|
-
description: string | null;
|
|
6468
|
-
/** @enum {string} */
|
|
6469
|
-
source: 'first-party' | 'vendored' | 'project';
|
|
6470
|
-
}[];
|
|
6471
|
-
commands: {
|
|
6472
|
-
name: string;
|
|
6473
|
-
description: string;
|
|
6474
|
-
}[];
|
|
6475
|
-
};
|
|
6476
|
-
};
|
|
6477
|
-
};
|
|
6478
|
-
/** @description Unauthorized */
|
|
6479
|
-
401: {
|
|
6480
|
-
headers: {
|
|
6481
|
-
[name: string]: unknown;
|
|
6482
|
-
};
|
|
6483
|
-
content: {
|
|
6484
|
-
'application/json': {
|
|
6485
|
-
error: {
|
|
6486
|
-
/** @enum {string} */
|
|
6487
|
-
type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
|
|
6488
|
-
/** @enum {string} */
|
|
6489
|
-
surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
|
|
6490
|
-
message: string;
|
|
6491
|
-
/** @enum {string} */
|
|
6492
|
-
subtype?: 'burst' | 'monthly';
|
|
6493
|
-
exceptionId?: string;
|
|
6494
|
-
};
|
|
6495
|
-
};
|
|
6496
|
-
};
|
|
6497
|
-
};
|
|
6498
|
-
};
|
|
6499
|
-
};
|
|
6500
|
-
put?: never;
|
|
6501
|
-
post?: never;
|
|
6502
|
-
delete?: never;
|
|
6503
|
-
options?: never;
|
|
6504
|
-
head?: never;
|
|
6505
|
-
patch?: never;
|
|
6506
|
-
trace?: never;
|
|
6507
|
-
};
|
|
6508
|
-
};
|
|
6509
|
-
//#endregion
|
|
6510
|
-
//#region src/clients/kaiAgent/types.d.ts
|
|
6511
|
-
type GetHistoryQuery = OpenapiQueryType<paths['/api/history']['get']>;
|
|
6512
|
-
type GetVotesQuery = OpenapiQueryType<paths['/api/vote']['get']>;
|
|
6513
|
-
type GetChatPath = OpenapiPathType<paths['/api/chat/{id}']['get']>;
|
|
6514
|
-
type ChatRequest = OpenapiBodyType<paths['/api/chat']['post']>;
|
|
6515
|
-
type VoteRequest = OpenapiBodyType<paths['/api/vote']['patch']>;
|
|
6516
|
-
type ApprovalBody = OpenapiBodyType<paths['/api/chat/{id}/approval']['post']>;
|
|
6517
|
-
type UsageResponse = OpenapiReturnType<paths['/api/usage']['get']>;
|
|
3717
|
+
authorization: import("zod").ZodObject<{
|
|
3718
|
+
oauth_api: import("zod").ZodObject<{
|
|
3719
|
+
id: import("zod").ZodString;
|
|
3720
|
+
version: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3721
|
+
}, import("zod/v4/core").$strip>;
|
|
3722
|
+
}, import("zod/v4/core").$strip>;
|
|
3723
|
+
parameters: import("zod").ZodObject<{
|
|
3724
|
+
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
3725
|
+
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3726
|
+
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3727
|
+
}, import("zod/v4/core").$strip>;
|
|
3728
|
+
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
3729
|
+
parameters: import("zod").ZodObject<{
|
|
3730
|
+
baseUrl: import("zod").ZodString;
|
|
3731
|
+
maxRedirects: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3732
|
+
}, import("zod/v4/core").$loose>;
|
|
3733
|
+
}, import("zod/v4/core").$loose>> & Record<"keboola.ex-ftp", import("zod").ZodObject<{
|
|
3734
|
+
parameters: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3735
|
+
host: import("zod").ZodString;
|
|
3736
|
+
port: import("zod").ZodNumber;
|
|
3737
|
+
connectionType: import("zod").ZodEnum<{
|
|
3738
|
+
FTP: "FTP";
|
|
3739
|
+
FTPS: "FTPS";
|
|
3740
|
+
SFTP: "SFTP";
|
|
3741
|
+
}>;
|
|
3742
|
+
username: import("zod").ZodString;
|
|
3743
|
+
ignorePassiveAddress: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3744
|
+
ssh: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3745
|
+
enabled: import("zod").ZodBoolean;
|
|
3746
|
+
sshHost: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3747
|
+
user: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3748
|
+
sshPort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3749
|
+
passivePortRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3750
|
+
keys: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3751
|
+
public: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3752
|
+
'#private': import("zod").ZodOptional<import("zod").ZodString>;
|
|
3753
|
+
}, import("zod/v4/core").$strip>>;
|
|
3754
|
+
}, import("zod/v4/core").$strip>>;
|
|
3755
|
+
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3756
|
+
onlyNewFiles: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3757
|
+
'#password': import("zod").ZodString;
|
|
3758
|
+
'#privateKey': import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3759
|
+
}, import("zod/v4/core").$loose>, import("zod").ZodObject<{
|
|
3760
|
+
host: import("zod").ZodString;
|
|
3761
|
+
port: import("zod").ZodNumber;
|
|
3762
|
+
connectionType: import("zod").ZodEnum<{
|
|
3763
|
+
FTP: "FTP";
|
|
3764
|
+
FTPS: "FTPS";
|
|
3765
|
+
SFTP: "SFTP";
|
|
3766
|
+
}>;
|
|
3767
|
+
username: import("zod").ZodString;
|
|
3768
|
+
ignorePassiveAddress: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3769
|
+
ssh: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3770
|
+
enabled: import("zod").ZodBoolean;
|
|
3771
|
+
sshHost: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3772
|
+
user: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3773
|
+
sshPort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3774
|
+
passivePortRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3775
|
+
keys: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3776
|
+
public: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3777
|
+
'#private': import("zod").ZodOptional<import("zod").ZodString>;
|
|
3778
|
+
}, import("zod/v4/core").$strip>>;
|
|
3779
|
+
}, import("zod/v4/core").$strip>>;
|
|
3780
|
+
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3781
|
+
onlyNewFiles: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3782
|
+
'#privateKey': import("zod").ZodString;
|
|
3783
|
+
'#password': import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3784
|
+
}, import("zod/v4/core").$loose>]>;
|
|
3785
|
+
}, import("zod/v4/core").$loose>> & Record<"keboola.ex-ftp-csas", import("zod").ZodObject<{
|
|
3786
|
+
parameters: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3787
|
+
host: import("zod").ZodString;
|
|
3788
|
+
port: import("zod").ZodNumber;
|
|
3789
|
+
connectionType: import("zod").ZodEnum<{
|
|
3790
|
+
FTP: "FTP";
|
|
3791
|
+
FTPS: "FTPS";
|
|
3792
|
+
SFTP: "SFTP";
|
|
3793
|
+
}>;
|
|
3794
|
+
username: import("zod").ZodString;
|
|
3795
|
+
ignorePassiveAddress: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3796
|
+
ssh: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3797
|
+
enabled: import("zod").ZodBoolean;
|
|
3798
|
+
sshHost: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3799
|
+
user: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3800
|
+
sshPort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3801
|
+
passivePortRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3802
|
+
keys: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3803
|
+
public: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3804
|
+
'#private': import("zod").ZodOptional<import("zod").ZodString>;
|
|
3805
|
+
}, import("zod/v4/core").$strip>>;
|
|
3806
|
+
}, import("zod/v4/core").$strip>>;
|
|
3807
|
+
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3808
|
+
onlyNewFiles: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3809
|
+
'#password': import("zod").ZodString;
|
|
3810
|
+
'#privateKey': import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3811
|
+
}, import("zod/v4/core").$loose>, import("zod").ZodObject<{
|
|
3812
|
+
host: import("zod").ZodString;
|
|
3813
|
+
port: import("zod").ZodNumber;
|
|
3814
|
+
connectionType: import("zod").ZodEnum<{
|
|
3815
|
+
FTP: "FTP";
|
|
3816
|
+
FTPS: "FTPS";
|
|
3817
|
+
SFTP: "SFTP";
|
|
3818
|
+
}>;
|
|
3819
|
+
username: import("zod").ZodString;
|
|
3820
|
+
ignorePassiveAddress: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3821
|
+
ssh: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3822
|
+
enabled: import("zod").ZodBoolean;
|
|
3823
|
+
sshHost: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3824
|
+
user: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3825
|
+
sshPort: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3826
|
+
passivePortRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3827
|
+
keys: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3828
|
+
public: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3829
|
+
'#private': import("zod").ZodOptional<import("zod").ZodString>;
|
|
3830
|
+
}, import("zod/v4/core").$strip>>;
|
|
3831
|
+
}, import("zod/v4/core").$strip>>;
|
|
3832
|
+
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3833
|
+
onlyNewFiles: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3834
|
+
'#privateKey': import("zod").ZodString;
|
|
3835
|
+
'#password': import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3836
|
+
}, import("zod/v4/core").$loose>]>;
|
|
3837
|
+
}, import("zod/v4/core").$loose>> & Record<"keboola.ex-aws-s3", import("zod").ZodObject<{
|
|
3838
|
+
parameters: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3839
|
+
loginType: import("zod").ZodLiteral<"credentials">;
|
|
3840
|
+
accessKeyId: import("zod").ZodString;
|
|
3841
|
+
'#secretAccessKey': import("zod").ZodString;
|
|
3842
|
+
accountId: import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3843
|
+
roleName: import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3844
|
+
}, import("zod/v4/core").$loose>, import("zod").ZodObject<{
|
|
3845
|
+
loginType: import("zod").ZodLiteral<"role">;
|
|
3846
|
+
accountId: import("zod").ZodString;
|
|
3847
|
+
roleName: import("zod").ZodString;
|
|
3848
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3849
|
+
'#secretAccessKey': import("zod").ZodOptional<import("zod").ZodUndefined>;
|
|
3850
|
+
}, import("zod/v4/core").$loose>]>;
|
|
3851
|
+
}, import("zod/v4/core").$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", import("zod").ZodObject<{
|
|
3852
|
+
parameters: import("zod").ZodObject<{
|
|
3853
|
+
account_name: import("zod").ZodString;
|
|
3854
|
+
'#account_key': import("zod").ZodString;
|
|
3855
|
+
container_name: import("zod").ZodString;
|
|
3856
|
+
}, import("zod/v4/core").$loose>;
|
|
3857
|
+
}, import("zod/v4/core").$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", import("zod").ZodObject<{
|
|
3858
|
+
parameters: import("zod").ZodObject<{
|
|
3859
|
+
account_name: import("zod").ZodString;
|
|
3860
|
+
'#account_key': import("zod").ZodString;
|
|
3861
|
+
file_system: import("zod").ZodString;
|
|
3862
|
+
}, import("zod/v4/core").$loose>;
|
|
3863
|
+
}, import("zod/v4/core").$loose>>>;
|
|
3864
|
+
type RegisteredComponentId = InferComponentId<typeof registry>;
|
|
6518
3865
|
//#endregion
|
|
6519
3866
|
//#region src/keboola/bearer/createProjectClients.d.ts
|
|
6520
3867
|
/**
|
|
@@ -6603,7 +3950,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
6603
3950
|
}>;
|
|
6604
3951
|
updateBucketOwner: ({ bucketId, ...body }: UpdateBucketOwnerInput, signal?: AbortSignal) => Promise<void>;
|
|
6605
3952
|
saveBucketMetadata: ({ branchId, bucketId, ...body }: SaveBucketMetadataInput, signal?: AbortSignal) => Promise<{
|
|
6606
|
-
id:
|
|
3953
|
+
id: string;
|
|
6607
3954
|
key: string;
|
|
6608
3955
|
value: string | null;
|
|
6609
3956
|
provider: string;
|
|
@@ -6885,7 +4232,47 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
6885
4232
|
status: Exclude<StorageJobStatus, 'success' | 'error'>;
|
|
6886
4233
|
results: null;
|
|
6887
4234
|
})>;
|
|
6888
|
-
sharedBuckets: (query?: SharedBucketsQuery, signal?: AbortSignal) => Promise<
|
|
4235
|
+
sharedBuckets: (query?: SharedBucketsQuery, signal?: AbortSignal) => Promise<{
|
|
4236
|
+
id: string;
|
|
4237
|
+
name: string;
|
|
4238
|
+
displayName: string;
|
|
4239
|
+
stage: 'in' | 'out' | 'sys';
|
|
4240
|
+
description: string;
|
|
4241
|
+
sharing?: 'organization' | 'organization-project' | 'specific-projects' | 'specific-users' | null;
|
|
4242
|
+
created: string;
|
|
4243
|
+
lastChangeDate?: string | null;
|
|
4244
|
+
dataSizeBytes: number;
|
|
4245
|
+
rowsCount: number;
|
|
4246
|
+
backend: 'snowflake' | 'bigquery';
|
|
4247
|
+
hasExternalSchema: boolean;
|
|
4248
|
+
databaseName?: string | null;
|
|
4249
|
+
path: string;
|
|
4250
|
+
project: {
|
|
4251
|
+
id?: number;
|
|
4252
|
+
name?: string;
|
|
4253
|
+
};
|
|
4254
|
+
color?: string | null;
|
|
4255
|
+
tables: {
|
|
4256
|
+
id?: string;
|
|
4257
|
+
name?: string;
|
|
4258
|
+
displayName?: string;
|
|
4259
|
+
path?: string;
|
|
4260
|
+
}[];
|
|
4261
|
+
sharingParameters: {
|
|
4262
|
+
[key: string]: Record<string, never>;
|
|
4263
|
+
};
|
|
4264
|
+
sharedBy: {
|
|
4265
|
+
id?: number | null;
|
|
4266
|
+
name?: string | null;
|
|
4267
|
+
date?: string | null;
|
|
4268
|
+
};
|
|
4269
|
+
owner?: {
|
|
4270
|
+
id?: number;
|
|
4271
|
+
name?: string;
|
|
4272
|
+
email?: string;
|
|
4273
|
+
} | null;
|
|
4274
|
+
metadata: components$4['schemas']['MetadataItemResponse'][];
|
|
4275
|
+
}[]>;
|
|
6889
4276
|
};
|
|
6890
4277
|
bucketListings: {
|
|
6891
4278
|
getListing: (bucketId: string, signal?: AbortSignal) => Promise<{
|
|
@@ -7119,7 +4506,14 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
7119
4506
|
status: Exclude<StorageJobStatus, 'success' | 'error'>;
|
|
7120
4507
|
results: null;
|
|
7121
4508
|
})>;
|
|
7122
|
-
createScheduledRefresh: ({ branchId, bucketId, ...body }: CreateScheduledRefreshInput) => Promise<
|
|
4509
|
+
createScheduledRefresh: ({ branchId, bucketId, ...body }: CreateScheduledRefreshInput) => Promise<{
|
|
4510
|
+
uuid: string;
|
|
4511
|
+
job: 'bucketRefresh';
|
|
4512
|
+
relatedEntity: 'bucket';
|
|
4513
|
+
relatedId: string;
|
|
4514
|
+
cronExpression: string;
|
|
4515
|
+
createdAt: string;
|
|
4516
|
+
}>;
|
|
7123
4517
|
deleteScheduledTask: (taskId: string) => Promise<void>;
|
|
7124
4518
|
};
|
|
7125
4519
|
tables: {
|
|
@@ -7429,7 +4823,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
7429
4823
|
status: Exclude<StorageJobStatus, 'success' | 'error'>;
|
|
7430
4824
|
results: null;
|
|
7431
4825
|
})>;
|
|
7432
|
-
createAliasTable: ({ bucketId, ...body }: CreateAliasTableInput, signal?: AbortSignal) => Promise<
|
|
4826
|
+
createAliasTable: ({ bucketId, ...body }: CreateAliasTableInput, signal?: AbortSignal) => Promise<({
|
|
7433
4827
|
id: number;
|
|
7434
4828
|
tableId: string | null;
|
|
7435
4829
|
runId: string;
|
|
@@ -7470,7 +4864,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
7470
4864
|
} | {
|
|
7471
4865
|
status: Exclude<StorageJobStatus, 'success' | 'error'>;
|
|
7472
4866
|
results: null;
|
|
7473
|
-
}))>;
|
|
4867
|
+
})) | Table>;
|
|
7474
4868
|
setAliasTableFilter: ({ tableId, ...body }: SetAliasTableFilterInput, signal?: AbortSignal) => Promise<Table>;
|
|
7475
4869
|
removeAliasTableFilter: (tableId: string, signal?: AbortSignal) => Promise<void>;
|
|
7476
4870
|
saveTableMetadata: ({ branchId, id, ...body }: SaveTableMetadataInput, signal?: AbortSignal) => Promise<{
|
|
@@ -7647,7 +5041,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
7647
5041
|
results: null;
|
|
7648
5042
|
})>;
|
|
7649
5043
|
saveColumnMetadata: ({ branchId, columnId, ...body }: SaveColumnMetadataInput, signal?: AbortSignal) => Promise<{
|
|
7650
|
-
id:
|
|
5044
|
+
id: string;
|
|
7651
5045
|
key: string;
|
|
7652
5046
|
value: string | null;
|
|
7653
5047
|
provider: string;
|
|
@@ -8116,7 +5510,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
8116
5510
|
startTime?: string | null;
|
|
8117
5511
|
endTime?: string | null;
|
|
8118
5512
|
runId: string;
|
|
8119
|
-
results?: components$4['schemas']['BucketForceUnlinkJobResult'] | components$4['schemas']['BucketListingUpdateJobResponse'] | components$4['schemas']['BucketListingCreateJobResult'] | components$4['schemas']['BucketListingDeleteResponse'] | components$4['schemas']['BucketDeleteResponse'] | components$4['schemas']['RefreshJobResponse'] | components$4['schemas']['
|
|
5513
|
+
results?: components$4['schemas']['BucketForceUnlinkJobResult'] | components$4['schemas']['BucketListingUpdateJobResponse'] | components$4['schemas']['BucketListingCreateJobResult'] | components$4['schemas']['BucketListingDeleteResponse'] | components$4['schemas']['BucketDeleteResponse'] | components$4['schemas']['RefreshJobResponse'] | components$4['schemas']['FileDeleteJobResult'] | components$4['schemas']['TableSnapshotCreateJobResult'] | components$4['schemas']['TableDeleteJobResult'] | components$4['schemas']['DeleteRowsJobResult'] | components$4['schemas']['TableExportAsyncJobResponse'] | components$4['schemas']['PrimaryKeyCreateJobResult'] | components$4['schemas']['PrimaryKeyDeleteJobResult'] | components$4['schemas']['TableSwapResult'] | components$4['schemas']['TableCreateResponse'] | components$4['schemas']['ColumnCreateJobResult'] | components$4['schemas']['ColumnDeleteJobResult'] | components$4['schemas']['TableExportJobResponse'];
|
|
8120
5514
|
creatorToken: {
|
|
8121
5515
|
id?: string;
|
|
8122
5516
|
description?: string;
|
|
@@ -8158,9 +5552,59 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
8158
5552
|
getFileContent: (fileId: GetFileContentPath['fileId'], signal?: AbortSignal) => Promise<string>;
|
|
8159
5553
|
getFiles: (query?: GetFilesQuery, signal?: AbortSignal) => Promise<File[]>;
|
|
8160
5554
|
deleteFile: (fileId: DeleteFilePath['fileId']) => Promise<void>;
|
|
8161
|
-
addFileTag: (
|
|
8162
|
-
deleteFileTag: (
|
|
8163
|
-
prepareFile: (body: PrepareFileBody, signal?: AbortSignal) => Promise<
|
|
5555
|
+
addFileTag: ({ fileId, ...body }: AddFileTagInput) => Promise<void>;
|
|
5556
|
+
deleteFileTag: (path: DeleteFileTagPath) => Promise<void>;
|
|
5557
|
+
prepareFile: (body: PrepareFileBody, signal?: AbortSignal) => Promise<{
|
|
5558
|
+
id: number;
|
|
5559
|
+
created: string;
|
|
5560
|
+
isPublic: boolean;
|
|
5561
|
+
isSliced: boolean;
|
|
5562
|
+
isEncrypted: boolean;
|
|
5563
|
+
name: string;
|
|
5564
|
+
fileType: string;
|
|
5565
|
+
url: string;
|
|
5566
|
+
provider: 'aws' | 'azure' | 'gcp';
|
|
5567
|
+
region: string;
|
|
5568
|
+
sizeBytes?: number | null;
|
|
5569
|
+
tags: string[];
|
|
5570
|
+
maxAgeDays?: number | null;
|
|
5571
|
+
runId?: string | null;
|
|
5572
|
+
runIds: string[];
|
|
5573
|
+
creatorToken: {
|
|
5574
|
+
id?: number;
|
|
5575
|
+
description?: string;
|
|
5576
|
+
};
|
|
5577
|
+
} & {
|
|
5578
|
+
uploadParams?: {
|
|
5579
|
+
key?: string;
|
|
5580
|
+
bucket?: string;
|
|
5581
|
+
acl?: 'private' | 'public-read';
|
|
5582
|
+
credentials?: {
|
|
5583
|
+
AccessKeyId?: string;
|
|
5584
|
+
SecretAccessKey?: string;
|
|
5585
|
+
SessionToken?: string;
|
|
5586
|
+
Expiration?: string;
|
|
5587
|
+
};
|
|
5588
|
+
'x-amz-server-side-encryption'?: string;
|
|
5589
|
+
} | null;
|
|
5590
|
+
absUploadParams?: {
|
|
5591
|
+
blobName?: string;
|
|
5592
|
+
accountName?: string;
|
|
5593
|
+
container?: string;
|
|
5594
|
+
absCredentials?: {
|
|
5595
|
+
SASConnectionString?: string;
|
|
5596
|
+
expiration?: string;
|
|
5597
|
+
};
|
|
5598
|
+
} | null;
|
|
5599
|
+
gcsUploadParams?: {
|
|
5600
|
+
projectId?: string;
|
|
5601
|
+
bucket?: string;
|
|
5602
|
+
key?: string;
|
|
5603
|
+
access_token?: string;
|
|
5604
|
+
expires_in?: number;
|
|
5605
|
+
token_type?: string;
|
|
5606
|
+
} | null;
|
|
5607
|
+
}>;
|
|
8164
5608
|
};
|
|
8165
5609
|
workspaces: {
|
|
8166
5610
|
getWorkspace: (path: GetWorkspacePath, signal?: AbortSignal) => Promise<Workspace>;
|
|
@@ -8168,7 +5612,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
8168
5612
|
deleteWorkspace: ({ branchId, workspaceId }: DeleteWorkspacePath) => Promise<void>;
|
|
8169
5613
|
resetWorkspacePassword: ({ branchId, workspaceId }: ResetWorkspacePasswordPath) => Promise<ResetWorkspacePassword>;
|
|
8170
5614
|
deleteWorkspaces: ({ workspaceIds, branchId }: DeleteWorkspacesInput) => Promise<void>;
|
|
8171
|
-
|
|
5615
|
+
deleteWorkspaceAsync: ({ branchId, workspaceId }: DeleteWorkspacePath) => Promise<{
|
|
8172
5616
|
id: number;
|
|
8173
5617
|
tableId: string | null;
|
|
8174
5618
|
runId: string;
|
|
@@ -8323,9 +5767,8 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
8323
5767
|
}[]>;
|
|
8324
5768
|
createToken: (body: CreateTokenBody, signal?: AbortSignal) => Promise<{
|
|
8325
5769
|
id: string;
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
refreshed: string;
|
|
5770
|
+
created?: string | null;
|
|
5771
|
+
refreshed?: string | null;
|
|
8329
5772
|
description?: string | null;
|
|
8330
5773
|
uri: string;
|
|
8331
5774
|
isMasterToken: boolean;
|
|
@@ -8333,42 +5776,64 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
8333
5776
|
canManageTokens: boolean;
|
|
8334
5777
|
canReadAllFileUploads: boolean;
|
|
8335
5778
|
canPurgeTrash: boolean;
|
|
5779
|
+
canManageProtectedDefaultBranch: boolean;
|
|
5780
|
+
canCreateJobs: boolean;
|
|
5781
|
+
canReadAllProjectEvents: boolean;
|
|
5782
|
+
canManageDevBranches: boolean;
|
|
8336
5783
|
expires?: string | null;
|
|
8337
5784
|
isExpired: boolean;
|
|
8338
5785
|
isDisabled: boolean;
|
|
8339
5786
|
dailyCapacity: number;
|
|
5787
|
+
token: string;
|
|
8340
5788
|
creatorToken: {
|
|
8341
5789
|
id?: number;
|
|
8342
5790
|
description?: string;
|
|
8343
5791
|
};
|
|
5792
|
+
componentAccess: string[];
|
|
8344
5793
|
bucketPermissions: {
|
|
8345
5794
|
[key: string]: string;
|
|
8346
5795
|
};
|
|
8347
|
-
canManageProtectedDefaultBranch: boolean;
|
|
8348
|
-
canCreateJobs: boolean;
|
|
8349
|
-
canReadAllProjectEvents: boolean;
|
|
8350
|
-
canManageDevBranches: boolean;
|
|
8351
5796
|
}>;
|
|
8352
5797
|
updateToken: ({ id, ...body }: UpdateTokenInput, signal?: AbortSignal) => Promise<StorageToken>;
|
|
8353
5798
|
deleteToken: (id: string, signal?: AbortSignal) => Promise<void>;
|
|
8354
5799
|
shareToken: ({ id, ...body }: ShareTokenInput, signal?: AbortSignal) => Promise<void>;
|
|
8355
5800
|
getTokenEvents: ({ id, ...query }: GetTokenEventsInput, signal?: AbortSignal) => Promise<{
|
|
8356
|
-
|
|
5801
|
+
uuid: string;
|
|
8357
5802
|
event: string;
|
|
8358
5803
|
component: string;
|
|
5804
|
+
message: string;
|
|
5805
|
+
description?: string | null;
|
|
5806
|
+
type: 'info' | 'success' | 'warn' | 'error';
|
|
8359
5807
|
runId?: string | null;
|
|
8360
5808
|
created: string;
|
|
8361
|
-
|
|
5809
|
+
configurationId?: string | null;
|
|
5810
|
+
objectId?: string | null;
|
|
5811
|
+
objectName?: string | null;
|
|
5812
|
+
objectType?: string | null;
|
|
5813
|
+
context: {
|
|
5814
|
+
remoteAddr?: string | null;
|
|
5815
|
+
httpReferer?: string | null;
|
|
5816
|
+
httpUserAgent?: string | null;
|
|
5817
|
+
httpUserAgentOriginal?: string | null;
|
|
5818
|
+
authorization?: string | null;
|
|
5819
|
+
apiVersion?: string | null;
|
|
5820
|
+
};
|
|
8362
5821
|
params: {
|
|
8363
|
-
[key: string]:
|
|
5822
|
+
[key: string]: unknown;
|
|
8364
5823
|
};
|
|
8365
5824
|
results: {
|
|
8366
|
-
[key: string]:
|
|
5825
|
+
[key: string]: unknown;
|
|
8367
5826
|
};
|
|
8368
5827
|
performance: {
|
|
8369
|
-
[key: string]:
|
|
5828
|
+
[key: string]: unknown;
|
|
8370
5829
|
};
|
|
8371
|
-
|
|
5830
|
+
token: {
|
|
5831
|
+
id?: number;
|
|
5832
|
+
name?: string;
|
|
5833
|
+
};
|
|
5834
|
+
idBranch?: number | null;
|
|
5835
|
+
uri: string;
|
|
5836
|
+
attachments: components$4['schemas']['EventAttachmentResponse'][];
|
|
8372
5837
|
}[]>;
|
|
8373
5838
|
};
|
|
8374
5839
|
triggers: {
|
|
@@ -8428,11 +5893,11 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
8428
5893
|
};
|
|
8429
5894
|
components: {
|
|
8430
5895
|
getComponent: ({ componentId, branchId }: GetComponentPath, signal?: AbortSignal) => Promise<Component>;
|
|
8431
|
-
getComponents: ({ branchId, ...query }
|
|
5896
|
+
getComponents: ({ branchId, ...query }: GetComponentsInput, signal?: AbortSignal) => Promise<Component[]>;
|
|
8432
5897
|
};
|
|
8433
5898
|
configurations: {
|
|
8434
5899
|
createConfiguration: ({ branchId, componentId, ...body }: CreateConfigurationInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
8435
|
-
updateConfiguration: <T extends ConfigType = "unknown">({ branchId, componentId, configId, configuration, workspaceId, ...rest }:
|
|
5900
|
+
updateConfiguration: <T extends ConfigType = "unknown">({ branchId, componentId, configId, configuration, workspaceId, ...rest }: UpdateConfigurationInput, signal?: AbortSignal) => Promise<UpdateConfigurationResult<T>>;
|
|
8436
5901
|
updateConfigurationState: <T extends ConfigType = "unknown">({ branchId, componentId, configId, ...body }: UpdateConfigurationStateInput, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
|
|
8437
5902
|
getConfiguration: <T extends ConfigType = "unknown">({ componentId, configId, branchId }: ConfigurationPath, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
|
|
8438
5903
|
getConfigurationDiff: ({ componentId, configId, branchId }: ConfigurationDiffPath, signal?: AbortSignal) => Promise<ConfigurationDiff>;
|
|
@@ -8447,16 +5912,16 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
8447
5912
|
getConfigurations: <T extends ConfigType = "unknown">({ componentId, branchId }: GetConfigurationsPath, signal?: AbortSignal) => Promise<ComponentConfig<T>[]>;
|
|
8448
5913
|
restoreConfiguration: ({ branchId, componentId, configId }: ConfigurationPath) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
8449
5914
|
resetConfigurationToDefault: ({ branchId, componentId, configId }: ConfigurationPath) => Promise<void>;
|
|
8450
|
-
searchComponentConfigurations: ({ branchId, include, ...query }
|
|
5915
|
+
searchComponentConfigurations: ({ branchId, include, ...query }: SearchComponentConfigurationsInput, signal?: AbortSignal) => Promise<SearchComponentConfiguration[]>;
|
|
8451
5916
|
};
|
|
8452
5917
|
configurationRows: {
|
|
8453
|
-
createConfigurationRow: ({ branchId, componentId, configurationId, ...body }:
|
|
8454
|
-
createConfigurationRows: ({ branchId, componentId, configurationId, data }:
|
|
5918
|
+
createConfigurationRow: ({ branchId, componentId, configurationId, ...body }: CreateConfigurationRowInput) => Promise<Row>;
|
|
5919
|
+
createConfigurationRows: ({ branchId, componentId, configurationId, data }: CreateConfigurationRowsInput, options?: {
|
|
8455
5920
|
middlewares: MiddlewareFn<CreateConfigurationRowBody, Row>[];
|
|
8456
5921
|
}) => Promise<Row[]>;
|
|
8457
|
-
getConfigurationRow: ({ branchId, ...path }:
|
|
8458
|
-
updateConfigurationRow: ({ branchId, componentId, configurationId, rowId, ...body }:
|
|
8459
|
-
updateConfigurationRowState: ({ branchId, componentId, configurationId, rowId, ...body }:
|
|
5922
|
+
getConfigurationRow: ({ branchId, ...path }: GetConfigurationRowInput, signal?: AbortSignal) => Promise<Row>;
|
|
5923
|
+
updateConfigurationRow: ({ branchId, componentId, configurationId, rowId, ...body }: UpdateConfigurationRowInput, signal?: AbortSignal) => Promise<Row>;
|
|
5924
|
+
updateConfigurationRowState: ({ branchId, componentId, configurationId, rowId, ...body }: UpdateConfigurationRowStateInput, signal?: AbortSignal) => Promise<Row>;
|
|
8460
5925
|
deleteConfigurationRow: ({ changeDescription, ...path }: DeleteConfigurationRowInput) => Promise<void>;
|
|
8461
5926
|
deleteConfigurationRows: ({ rowIds, changeDescription, ...input }: DeleteConfigurationRowsInput, options?: {
|
|
8462
5927
|
middlewares: MiddlewareFn<string, void>[];
|
|
@@ -8518,15 +5983,29 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
8518
5983
|
getConfigurationWorkspaces: ({ componentId, branchId, configurationId }: GetConfigurationWorkspacesPath) => Promise<Workspace[]>;
|
|
8519
5984
|
};
|
|
8520
5985
|
configurationMetadata: {
|
|
8521
|
-
getConfigurationMetadata: (
|
|
8522
|
-
|
|
8523
|
-
|
|
5986
|
+
getConfigurationMetadata: (path: GetConfigurationMetadataPath, signal?: AbortSignal) => Promise<{
|
|
5987
|
+
id: string;
|
|
5988
|
+
key: string;
|
|
5989
|
+
value: string;
|
|
5990
|
+
timestamp: string;
|
|
5991
|
+
}[]>;
|
|
5992
|
+
saveConfigurationMetadata: ({ branchId, componentId, configurationId, ...body }: SaveConfigurationMetadataInput) => Promise<{
|
|
5993
|
+
id: string;
|
|
5994
|
+
key: string;
|
|
5995
|
+
value: string;
|
|
5996
|
+
timestamp: string;
|
|
5997
|
+
}[]>;
|
|
5998
|
+
deleteConfigurationMetadata: (path: DeleteConfigurationMetadataPath, signal?: AbortSignal) => Promise<void>;
|
|
8524
5999
|
};
|
|
8525
6000
|
configurationVersions: {
|
|
8526
6001
|
getConfigurationVersions: ({ branchId, componentId, configurationId }: ConfigurationVersionPath, signal?: AbortSignal) => Promise<ConfigurationVersion[]>;
|
|
8527
6002
|
getConfigurationVersion: ({ branchId, componentId, configurationId, versionId }: ConfigurationVersionDetailPath, signal?: AbortSignal) => Promise<ConfigurationVersionDetail>;
|
|
8528
|
-
rollbackConfigurationToVersion: ({ branchId, componentId, configurationId, versionId }: RollbackConfigurationToVersionInput) => Promise<
|
|
8529
|
-
|
|
6003
|
+
rollbackConfigurationToVersion: ({ branchId, componentId, configurationId, versionId }: RollbackConfigurationToVersionInput) => Promise<{
|
|
6004
|
+
version: string;
|
|
6005
|
+
}>;
|
|
6006
|
+
copyConfigurationFromVersion: ({ branchId, componentId, configurationId, versionId, ...body }: CopyConfigurationFromVersionInput) => Promise<{
|
|
6007
|
+
id: string;
|
|
6008
|
+
}>;
|
|
8530
6009
|
getConfigurationRowVersions: ({ branchId, componentId, configurationId, rowId }: ConfigurationRowVersionPath, signal?: AbortSignal) => Promise<ConfigurationRowVersion[]>;
|
|
8531
6010
|
getConfigurationRowVersion: ({ branchId, componentId, configurationId, rowId, versionId }: ConfigurationRowVersionDetailPath, signal?: AbortSignal) => Promise<ConfigurationRowVersionDetail>;
|
|
8532
6011
|
rollbackConfigurationRowToVersion: ({ branchId, componentId, configurationId, rowId, versionId }: RollbackConfigurationRowToVersionInput) => Promise<Row>;
|
|
@@ -16660,7 +14139,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
16660
14139
|
copy: ({ variablesId, variablesValuesId, branchId }: {
|
|
16661
14140
|
variablesId: string;
|
|
16662
14141
|
variablesValuesId?: string;
|
|
16663
|
-
branchId?: string
|
|
14142
|
+
branchId?: string;
|
|
16664
14143
|
}) => Promise<{
|
|
16665
14144
|
variablesId: string;
|
|
16666
14145
|
variablesValuesId: string;
|
|
@@ -16670,7 +14149,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
16670
14149
|
targetValuesId?: string;
|
|
16671
14150
|
sourceVariablesId: string;
|
|
16672
14151
|
sourceValuesId?: string;
|
|
16673
|
-
branchId?: string
|
|
14152
|
+
branchId?: string;
|
|
16674
14153
|
}) => Promise<{
|
|
16675
14154
|
variablesId: string;
|
|
16676
14155
|
variablesValuesId: string;
|
|
@@ -16954,11 +14433,11 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
16954
14433
|
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
16955
14434
|
timestamp: string;
|
|
16956
14435
|
}>;
|
|
16957
|
-
getHistory: (params?: GetHistoryQuery
|
|
14436
|
+
getHistory: (params?: GetHistoryQuery) => Promise<{
|
|
16958
14437
|
chats: components$2['schemas']['Chat'][];
|
|
16959
14438
|
hasMore: boolean;
|
|
16960
14439
|
}>;
|
|
16961
|
-
getChat: (chatId: GetChatPath
|
|
14440
|
+
getChat: (chatId: GetChatPath['id'], signal?: AbortSignal) => Promise<{
|
|
16962
14441
|
id: string;
|
|
16963
14442
|
title: string;
|
|
16964
14443
|
userId: string;
|
|
@@ -16966,11 +14445,6 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
16966
14445
|
lastMessageAt: string;
|
|
16967
14446
|
visibility: 'public' | 'private';
|
|
16968
14447
|
branchId?: number | null;
|
|
16969
|
-
contextWindow?: {
|
|
16970
|
-
usedTokens: number;
|
|
16971
|
-
maxTokens: number;
|
|
16972
|
-
percentage: number;
|
|
16973
|
-
} | null;
|
|
16974
14448
|
messages: components$2['schemas']['Message'][];
|
|
16975
14449
|
}>;
|
|
16976
14450
|
deleteChat: (chatId: string) => Promise<{
|
|
@@ -16982,10 +14456,10 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
16982
14456
|
visibility: 'public' | 'private';
|
|
16983
14457
|
branchId?: number | null;
|
|
16984
14458
|
}>;
|
|
16985
|
-
createChat: (request: ChatRequest
|
|
16986
|
-
getVotes: (chatId: GetVotesQuery
|
|
16987
|
-
submitVote: (params: VoteRequest
|
|
16988
|
-
getUsage: (signal?: AbortSignal) => Promise<UsageResponse
|
|
14459
|
+
createChat: (request: ChatRequest) => Promise<Response>;
|
|
14460
|
+
getVotes: (chatId: GetVotesQuery['chatId']) => Promise<Vote[]>;
|
|
14461
|
+
submitVote: (params: VoteRequest) => Promise<void>;
|
|
14462
|
+
getUsage: (signal?: AbortSignal) => Promise<UsageResponse>;
|
|
16989
14463
|
getSuggestions: (request: SuggestionsRequestBody, signal?: AbortSignal) => Promise<SuggestionsApiResponse>;
|
|
16990
14464
|
getAgentSettings: (signal?: AbortSignal) => Promise<AgentSettings>;
|
|
16991
14465
|
updateAgentSettings: (request: UpdateAgentSettingsRequest, signal?: AbortSignal) => Promise<AgentSettings>;
|
|
@@ -17406,7 +14880,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
17406
14880
|
};
|
|
17407
14881
|
kaiAgent: {
|
|
17408
14882
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
17409
|
-
getHistory: (params?: GetHistoryQuery) => Promise<{
|
|
14883
|
+
getHistory: (params?: GetHistoryQuery$1) => Promise<{
|
|
17410
14884
|
chats: {
|
|
17411
14885
|
id?: string;
|
|
17412
14886
|
title?: string;
|
|
@@ -17418,7 +14892,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
17418
14892
|
}[];
|
|
17419
14893
|
hasMore: boolean;
|
|
17420
14894
|
}>;
|
|
17421
|
-
getChat: (chatId: GetChatPath['id'], signal?: AbortSignal) => Promise<{
|
|
14895
|
+
getChat: (chatId: GetChatPath$1['id'], signal?: AbortSignal) => Promise<{
|
|
17422
14896
|
id: string;
|
|
17423
14897
|
title: string;
|
|
17424
14898
|
userId: string;
|
|
@@ -17492,14 +14966,14 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
17492
14966
|
visibility?: 'public' | 'private';
|
|
17493
14967
|
branchId?: number | null;
|
|
17494
14968
|
}>;
|
|
17495
|
-
createChat: (request: ChatRequest) => Promise<Response>;
|
|
17496
|
-
getVotes: (chatId: GetVotesQuery['chatId']) => Promise<{
|
|
14969
|
+
createChat: (request: ChatRequest$1) => Promise<Response>;
|
|
14970
|
+
getVotes: (chatId: GetVotesQuery$1['chatId']) => Promise<{
|
|
17497
14971
|
chatId: string;
|
|
17498
14972
|
messageId: string;
|
|
17499
14973
|
isUpvoted: boolean;
|
|
17500
14974
|
}[]>;
|
|
17501
|
-
submitVote: (params: VoteRequest) => Promise<void>;
|
|
17502
|
-
getUsage: (signal?: AbortSignal) => Promise<UsageResponse>;
|
|
14975
|
+
submitVote: (params: VoteRequest$1) => Promise<void>;
|
|
14976
|
+
getUsage: (signal?: AbortSignal) => Promise<UsageResponse$1>;
|
|
17503
14977
|
approveToolCall: (chatId: string, body: ApprovalBody) => Promise<void>;
|
|
17504
14978
|
submitToolOutput: (chatId: string, body: {
|
|
17505
14979
|
toolUseId: string;
|
|
@@ -17579,6 +15053,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
17579
15053
|
truncated: boolean;
|
|
17580
15054
|
size: number;
|
|
17581
15055
|
}>;
|
|
15056
|
+
downloadSandboxFile: (chatId: string, path: string, signal?: AbortSignal) => Promise<Blob>;
|
|
17582
15057
|
getSandboxGitBranch: (chatId: string, signal?: AbortSignal) => Promise<{
|
|
17583
15058
|
branch: string | null;
|
|
17584
15059
|
}>;
|
|
@@ -19879,4 +17354,4 @@ declare const createQueryServiceClient: ({ baseUrl, middlewares, auth }: ClientI
|
|
|
19879
17354
|
};
|
|
19880
17355
|
//#endregion
|
|
19881
17356
|
export { generateUUID as $, LegacySession as A, TaskFn as At, createPersistor as B, isKeboolaError as Bt, LogLevel as C, delay as Ct, ResponseLog as D, CollectOptions as Dt, RequestLog as E, concurrent as Et, StorageOpenApiFetchClient as F, createMemoryStorage as Ft, Emitter as G, isSyncActionError as Gt, isEmptyDeep as H, isStorageTokenMutatingRequest as Ht, createStorageClient as I, createNullStorage as It, createDerivedAsyncStore as J, isQueryJobTimeoutError as Jt, ReadableStore as K, ServiceUnavailableError as Kt, createLegacyKeboola as L, createSessionStorage as Lt, RegisteredComponentId as M, KeboolaOptions as Mt, registry as N, StorageAdapter as Nt, createLoggingMiddleware as O, collect as Ot, GenericFetchClient as P, createLocalStorage as Pt, shallowEqual as Q, createKeboola as R, KeboolaError as Rt, Log as S, lazy as St, LoggingOptions as T, ConcurrentOptions as Tt, isPlainObject as U, createDefaultBranch as Ut, deepMerge as V, ClientContext as Vt, AsyncState as W, SyncActionError as Wt, createEmitter as X, isQueryJobError as Xt, createDerivedStore as Y, QueryJobError as Yt, createStore as Z, UserError as Zt, toBackendSubscribers as _, PollContext as _t, parseCurrentDevBranchIdFromUrl as a, createPollRegistry as at, RetryOptions as b, PollResult as bt, removeBranchFromUrl as c, PollState as ct, constructFQID as d, PollerStartFn as dt, Result as et, parseFQID as f, PollerStopFn as ft, fromBackendSubscribers as g, poller as gt, createStorageSdk as h, poll as ht, createQueryServiceSdk as i, PollRegistry as it, KeboolaApi as j, assert as jt, BearerSession as k, coalesce as kt, FQID_TYPES as l, PollTask as lt, tableIdParser as m, failureOf as mt, ExecuteQueryOptions as n, series as nt, parseDevBranchId as o, ObservedPoller as ot, parse as p, emitter as pt, Store as q, QueryJobTimeoutError as qt, WaitForJobOptions as r, PollEntry as rt, prefixTagsWithDevBranchId as s, PollSnapshot as st, createQueryServiceClient as t, asError as tt, ParsedFQID as u, Poller as ut, jobStatus as v, PollKey as vt, Logger as w, dedupe as wt, createRetryMiddleware as x, PollTick as xt, KeboolaHttpHeader as y, PollOptions as yt, Persistor as z, KeboolaErrorType as zt };
|
|
19882
|
-
//# sourceMappingURL=index-
|
|
17357
|
+
//# sourceMappingURL=index-Bjk-tCpG.d.cts.map
|