@keboola/api-client 3.0.1 → 5.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/README.md +34 -6
- package/dist/ai/index.cjs +4 -3
- package/dist/ai/index.d.cts +5 -10
- package/dist/ai/index.d.ts +5 -10
- package/dist/ai/index.js +3 -2
- package/dist/ai/types.d.cts +2 -2
- package/dist/ai/types.d.ts +2 -2
- package/dist/assets/index.cjs +4 -3
- package/dist/assets/index.d.cts +2 -2
- package/dist/assets/index.d.ts +2 -2
- package/dist/assets/index.js +3 -2
- package/dist/{authMiddleware-Dcy9gRT9.d.ts → authMiddleware-B0p06GYQ.d.ts} +1 -1
- package/dist/{authMiddleware-CeIxAJQ5.d.cts → authMiddleware-vNb2hfLP.d.cts} +1 -1
- package/dist/chat/index.cjs +4 -3
- package/dist/chat/index.d.cts +4 -4
- package/dist/chat/index.d.ts +4 -4
- package/dist/chat/index.js +3 -2
- package/dist/chat/types.d.cts +2 -2
- package/dist/chat/types.d.ts +2 -2
- package/dist/{chunk-Q6T6GRDR.js → chunk-2CTHLPTU.js} +12 -5
- package/dist/chunk-2CTHLPTU.js.map +1 -0
- package/dist/{chunk-BA2JMZP6.cjs → chunk-2EWL5BAZ.cjs} +4 -4
- package/dist/{chunk-BA2JMZP6.cjs.map → chunk-2EWL5BAZ.cjs.map} +1 -1
- package/dist/{chunk-LBVYZLWL.js → chunk-2NLVV2MF.js} +3 -3
- package/dist/{chunk-LBVYZLWL.js.map → chunk-2NLVV2MF.js.map} +1 -1
- package/dist/{chunk-MTFRH3R5.cjs → chunk-3CIPWA33.cjs} +4 -23
- package/dist/chunk-3CIPWA33.cjs.map +1 -0
- package/dist/{chunk-RBGTWJ7G.js → chunk-4FU45NEU.js} +7 -5
- package/dist/chunk-4FU45NEU.js.map +1 -0
- package/dist/chunk-4I6TJWBG.cjs +38 -0
- package/dist/chunk-4I6TJWBG.cjs.map +1 -0
- package/dist/{chunk-3DW7RIEB.js → chunk-4IBEYSSA.js} +7 -5
- package/dist/chunk-4IBEYSSA.js.map +1 -0
- package/dist/{chunk-T66CY2YX.js → chunk-4NUA46VD.js} +473 -41
- package/dist/chunk-4NUA46VD.js.map +1 -0
- package/dist/{chunk-T23NVI3Q.js → chunk-5XADEX3R.js} +7 -5
- package/dist/chunk-5XADEX3R.js.map +1 -0
- package/dist/{chunk-V35JLM5Q.js → chunk-65YXOZDQ.js} +7 -4
- package/dist/chunk-65YXOZDQ.js.map +1 -0
- package/dist/{chunk-M4PFR3OS.js → chunk-6DPZQRNC.js} +8 -5
- package/dist/chunk-6DPZQRNC.js.map +1 -0
- package/dist/{chunk-GLQZHLLN.js → chunk-7JOV7PXU.js} +7 -5
- package/dist/chunk-7JOV7PXU.js.map +1 -0
- package/dist/{chunk-OAKTIIG4.js → chunk-7PPUK4HS.js} +4 -3
- package/dist/chunk-7PPUK4HS.js.map +1 -0
- package/dist/{chunk-ZIVZF6M2.cjs → chunk-7UQVB2SQ.cjs} +9 -7
- package/dist/chunk-7UQVB2SQ.cjs.map +1 -0
- package/dist/{chunk-RTD3XWBM.cjs → chunk-AB6LHU2Z.cjs} +11 -9
- package/dist/chunk-AB6LHU2Z.cjs.map +1 -0
- package/dist/{chunk-VLSN55I3.cjs → chunk-AWRMGLMT.cjs} +113 -3
- package/dist/chunk-AWRMGLMT.cjs.map +1 -0
- package/dist/{chunk-REXMA2IN.cjs → chunk-CFR2CKM6.cjs} +8 -6
- package/dist/chunk-CFR2CKM6.cjs.map +1 -0
- package/dist/{chunk-5YN6FED2.cjs → chunk-DGWPC6VR.cjs} +13 -6
- package/dist/chunk-DGWPC6VR.cjs.map +1 -0
- package/dist/{chunk-SDA2UO4X.cjs → chunk-DOUFVJJF.cjs} +9 -6
- package/dist/chunk-DOUFVJJF.cjs.map +1 -0
- package/dist/{chunk-76Q2CTFV.js → chunk-EDDRN2CO.js} +7 -5
- package/dist/chunk-EDDRN2CO.js.map +1 -0
- package/dist/chunk-FL54VJ35.js +32 -0
- package/dist/chunk-FL54VJ35.js.map +1 -0
- package/dist/chunk-GOC5UODV.cjs +30 -0
- package/dist/chunk-GOC5UODV.cjs.map +1 -0
- package/dist/{chunk-5PUNJJAR.js → chunk-JKXQFEY7.js} +7 -5
- package/dist/chunk-JKXQFEY7.js.map +1 -0
- package/dist/chunk-KKZP4DUR.cjs +340 -0
- package/dist/chunk-KKZP4DUR.cjs.map +1 -0
- package/dist/{chunk-2ZMZ4KWJ.js → chunk-KQ2QNGRX.js} +113 -3
- package/dist/chunk-KQ2QNGRX.js.map +1 -0
- package/dist/{chunk-ECQZAWH3.cjs → chunk-KT4MFNBC.cjs} +8 -6
- package/dist/chunk-KT4MFNBC.cjs.map +1 -0
- package/dist/{chunk-RBW5ABSQ.js → chunk-MUQ7TAWH.js} +126 -7
- package/dist/chunk-MUQ7TAWH.js.map +1 -0
- package/dist/{chunk-D2ZTB5R2.cjs → chunk-OAQGC32L.cjs} +135 -16
- package/dist/chunk-OAQGC32L.cjs.map +1 -0
- package/dist/chunk-OJJ3QLZP.js +338 -0
- package/dist/chunk-OJJ3QLZP.js.map +1 -0
- package/dist/{chunk-5DVEQBCD.cjs → chunk-P4CQFG3X.cjs} +11 -9
- package/dist/chunk-P4CQFG3X.cjs.map +1 -0
- package/dist/{chunk-IL2PAEG3.cjs → chunk-RF64RAHW.cjs} +8 -6
- package/dist/chunk-RF64RAHW.cjs.map +1 -0
- package/dist/{chunk-AYXQJONA.cjs → chunk-RPNL672Y.cjs} +4 -4
- package/dist/chunk-RPNL672Y.cjs.map +1 -0
- package/dist/{chunk-HLGMFFDF.js → chunk-S7HIK7XY.js} +7 -5
- package/dist/chunk-S7HIK7XY.js.map +1 -0
- package/dist/{chunk-ROBQ2CV7.cjs → chunk-T7UDL2KI.cjs} +475 -44
- package/dist/chunk-T7UDL2KI.cjs.map +1 -0
- package/dist/{chunk-PM2FAMWT.js → chunk-UT3GUUCO.js} +7 -5
- package/dist/chunk-UT3GUUCO.js.map +1 -0
- package/dist/chunk-UUY6LQT6.cjs +267 -0
- package/dist/chunk-UUY6LQT6.cjs.map +1 -0
- package/dist/{chunk-LI3BAYDV.cjs → chunk-V32CB5U2.cjs} +8 -6
- package/dist/chunk-V32CB5U2.cjs.map +1 -0
- package/dist/{chunk-6D3MJRXE.cjs → chunk-VZROPAWL.cjs} +8 -6
- package/dist/chunk-VZROPAWL.cjs.map +1 -0
- package/dist/{chunk-6HBXNLB7.cjs → chunk-WLS43HX4.cjs} +8 -6
- package/dist/chunk-WLS43HX4.cjs.map +1 -0
- package/dist/{chunk-KOO3ZG5X.cjs → chunk-WOGG723K.cjs} +8 -5
- package/dist/{chunk-V35JLM5Q.js.map → chunk-WOGG723K.cjs.map} +1 -1
- package/dist/{chunk-4TENBFWN.cjs → chunk-XHQZ4TF7.cjs} +11 -6
- package/dist/chunk-XHQZ4TF7.cjs.map +1 -0
- package/dist/{chunk-QXWPUKK2.js → chunk-XI6R76X3.js} +4 -20
- package/dist/chunk-XI6R76X3.js.map +1 -0
- package/dist/{chunk-6TUGEXVX.js → chunk-XRHAE4SD.js} +3 -3
- package/dist/{chunk-6TUGEXVX.js.map → chunk-XRHAE4SD.js.map} +1 -1
- package/dist/{chunk-ZQPET6GI.js → chunk-Y3RILILK.js} +10 -5
- package/dist/chunk-Y3RILILK.js.map +1 -0
- package/dist/{chunk-CQFZ7PGZ.js → chunk-YH52X52J.js} +7 -5
- package/dist/chunk-YH52X52J.js.map +1 -0
- package/dist/chunk-ZOREOLGE.js +264 -0
- package/dist/chunk-ZOREOLGE.js.map +1 -0
- package/dist/{createGenericFetchClient-Cp2By_KQ.d.ts → createGenericFetchClient-Gpom91V-.d.ts} +1 -1
- package/dist/{createGenericFetchClient-DuW7iSRy.d.cts → createGenericFetchClient-yfcpR7qD.d.cts} +1 -1
- package/dist/{createOpenapiFetchClient-DhL2gQvd.d.ts → createOpenapiFetchClient-B44nXiti.d.ts} +2 -2
- package/dist/{createOpenapiFetchClient-BuKDZcLD.d.cts → createOpenapiFetchClient-Ci0-Qe53.d.cts} +2 -2
- package/dist/dataScience/index.cjs +5 -4
- package/dist/dataScience/index.d.cts +26 -6
- package/dist/dataScience/index.d.ts +26 -6
- package/dist/dataScience/index.js +3 -2
- package/dist/dataScience/types.d.cts +2 -2
- package/dist/dataScience/types.d.ts +2 -2
- package/dist/domain/permissions/index.cjs +5 -11
- package/dist/domain/permissions/index.cjs.map +1 -1
- package/dist/domain/permissions/index.d.cts +3 -2
- package/dist/domain/permissions/index.d.ts +3 -2
- package/dist/domain/permissions/index.js +1 -7
- package/dist/domain/permissions/index.js.map +1 -1
- package/dist/domain/storageTable/index.cjs +9 -260
- package/dist/domain/storageTable/index.cjs.map +1 -1
- package/dist/domain/storageTable/index.js +1 -262
- package/dist/domain/storageTable/index.js.map +1 -1
- package/dist/editor/index.cjs +4 -3
- package/dist/editor/index.d.cts +4 -4
- package/dist/editor/index.d.ts +4 -4
- package/dist/editor/index.js +3 -2
- package/dist/editor/types.d.cts +2 -2
- package/dist/editor/types.d.ts +2 -2
- package/dist/encryption/index.cjs +4 -3
- package/dist/encryption/index.d.cts +2 -2
- package/dist/encryption/index.d.ts +2 -2
- package/dist/encryption/index.js +3 -2
- package/dist/import/index.cjs +4 -3
- package/dist/import/index.d.cts +2 -2
- package/dist/import/index.d.ts +2 -2
- package/dist/import/index.js +3 -2
- package/dist/index-BEE_qeId.d.ts +1511 -0
- package/dist/index-KHRrA2IR.d.cts +1511 -0
- package/dist/index.cjs +299 -160
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3048 -1028
- package/dist/index.d.ts +3048 -1028
- package/dist/index.js +244 -108
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +6 -5
- package/dist/management/index.d.cts +137 -69
- package/dist/management/index.d.ts +137 -69
- package/dist/management/index.js +4 -3
- package/dist/management/types.d.cts +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/metastore/index.cjs +4 -3
- package/dist/metastore/index.d.cts +5 -5
- package/dist/metastore/index.d.ts +5 -5
- package/dist/metastore/index.js +3 -2
- package/dist/metastore/types.d.cts +2 -2
- package/dist/metastore/types.d.ts +2 -2
- package/dist/oauth/index.cjs +4 -3
- package/dist/oauth/index.d.cts +2 -2
- package/dist/oauth/index.d.ts +2 -2
- package/dist/oauth/index.js +3 -2
- package/dist/{project-CYhB6rYN.d.cts → project-C4K5Dzoy.d.cts} +1 -1
- package/dist/{project-Bzslbq4u.d.ts → project-COwNmNoc.d.ts} +1 -1
- package/dist/queryService/index.cjs +4 -3
- package/dist/queryService/index.d.cts +4 -4
- package/dist/queryService/index.d.ts +4 -4
- package/dist/queryService/index.js +3 -2
- package/dist/queryService/types.d.cts +2 -2
- package/dist/queryService/types.d.ts +2 -2
- package/dist/queue/index.cjs +4 -3
- package/dist/queue/index.d.cts +4 -4
- package/dist/queue/index.d.ts +4 -4
- package/dist/queue/index.js +3 -2
- package/dist/queue/types.d.cts +2 -2
- package/dist/queue/types.d.ts +2 -2
- package/dist/sdk/configurations/index.d.cts +3 -2
- package/dist/sdk/configurations/index.d.ts +3 -2
- package/dist/sdk/storage/index.cjs +11 -11
- package/dist/sdk/storage/index.d.cts +7 -7
- package/dist/sdk/storage/index.d.ts +7 -7
- package/dist/sdk/storage/index.js +1 -1
- package/dist/sdk/tag/index.d.cts +4 -4
- package/dist/sdk/tag/index.d.ts +4 -4
- package/dist/sdk/tag/types.d.cts +4 -4
- package/dist/sdk/tag/types.d.ts +4 -4
- package/dist/sdk/vault/index.d.cts +2 -2
- package/dist/sdk/vault/index.d.ts +2 -2
- package/dist/status/index.cjs +4 -3
- package/dist/status/index.d.cts +2 -2
- package/dist/status/index.d.ts +2 -2
- package/dist/status/index.js +3 -2
- package/dist/storage/index.cjs +4 -7
- package/dist/storage/index.d.cts +6 -10
- package/dist/storage/index.d.ts +6 -10
- package/dist/storage/index.js +3 -2
- package/dist/storage/types.d.cts +451 -11617
- package/dist/storage/types.d.ts +451 -11617
- package/dist/storageSdk--0Hh4UCE.d.ts +746 -0
- package/dist/storageSdk-DJz6WcW3.d.cts +746 -0
- package/dist/stream/index.cjs +14 -0
- package/dist/stream/index.cjs.map +1 -0
- package/dist/stream/index.d.cts +348 -0
- package/dist/stream/index.d.ts +348 -0
- package/dist/stream/index.js +5 -0
- package/dist/stream/index.js.map +1 -0
- package/dist/stream/types.cjs +4 -0
- package/dist/stream/types.cjs.map +1 -0
- package/dist/stream/types.d.cts +2 -0
- package/dist/stream/types.d.ts +2 -0
- package/dist/stream/types.js +3 -0
- package/dist/stream/types.js.map +1 -0
- package/dist/syncActions/index.cjs +4 -3
- package/dist/syncActions/index.d.cts +5 -7
- package/dist/syncActions/index.d.ts +5 -7
- package/dist/syncActions/index.js +3 -2
- package/dist/syncActions/types.d.cts +1 -1
- package/dist/syncActions/types.d.ts +1 -1
- package/dist/telemetry/index.cjs +4 -3
- package/dist/telemetry/index.d.cts +3 -3
- package/dist/telemetry/index.d.ts +3 -3
- package/dist/telemetry/index.js +3 -2
- package/dist/{types-CNkgmuhe.d.cts → types-Bc-H4gfv.d.cts} +1 -1
- package/dist/{types-CRSKcua9.d.cts → types-BxjcUj-y.d.cts} +1 -1
- package/dist/{types-CqWXdTMg.d.ts → types-CFd7q2ed.d.ts} +1 -1
- package/dist/{types-DBVQGCI1.d.cts → types-CWebeQXy.d.cts} +1 -1
- package/dist/{types-DJkU9gvB.d.cts → types-D9cNOf-3.d.cts} +1 -1
- package/dist/types-DFWnAftN.d.cts +7523 -0
- package/dist/{types-B51cQMrX.d.ts → types-DFbHRDdR.d.ts} +1 -1
- package/dist/types-DMC601TE.d.cts +14375 -0
- package/dist/types-DMC601TE.d.ts +14375 -0
- package/dist/{types-C-bd4ArM.d.cts → types-DTkxk0fW.d.cts} +1 -1
- package/dist/{types-cH0_hkCW.d.ts → types-DacFMc6L.d.ts} +1 -1
- package/dist/types-DcL25GqY.d.cts +15820 -0
- package/dist/types-Dfw6a58i.d.ts +15820 -0
- package/dist/{types-Dws8mFNY.d.cts → types-DiC2wKsx.d.cts} +1 -1
- package/dist/types-Dv3vN7M9.d.ts +7523 -0
- package/dist/{types-Bom8wyth.d.ts → types-DxJD6LIN.d.cts} +1 -0
- package/dist/{types-Bom8wyth.d.cts → types-DxJD6LIN.d.ts} +1 -0
- package/dist/{types-DzwzVgyG.d.ts → types-JvKRS8Qd.d.ts} +1 -1
- package/dist/{types-BY0tjg2Q.d.ts → types-Mghz1gMD.d.ts} +1 -1
- package/dist/{types-C7mpAfq-.d.cts → types-jKnx7Tm_.d.cts} +1 -1
- package/dist/{types-C7mpAfq-.d.ts → types-jKnx7Tm_.d.ts} +1 -1
- package/dist/{types-CGMJT3JL.d.ts → types-yKV1EX6f.d.ts} +1 -1
- package/dist/{utils-BNQZiNOu.d.ts → utils-Cl4emy8g.d.ts} +567 -3
- package/dist/{utils-DE09pDTi.d.cts → utils-JsCYFmHj.d.cts} +567 -3
- package/dist/vault/index.cjs +4 -3
- package/dist/vault/index.d.cts +3 -3
- package/dist/vault/index.d.ts +3 -3
- package/dist/vault/index.js +3 -2
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/dist/verify/index.cjs +4 -3
- package/dist/verify/index.d.cts +2 -1
- package/dist/verify/index.d.ts +2 -1
- package/dist/verify/index.js +3 -2
- package/package.json +31 -3
- package/dist/chunk-2ZMZ4KWJ.js.map +0 -1
- package/dist/chunk-3DW7RIEB.js.map +0 -1
- package/dist/chunk-4TENBFWN.cjs.map +0 -1
- package/dist/chunk-5DVEQBCD.cjs.map +0 -1
- package/dist/chunk-5PUNJJAR.js.map +0 -1
- package/dist/chunk-5YN6FED2.cjs.map +0 -1
- package/dist/chunk-6D3MJRXE.cjs.map +0 -1
- package/dist/chunk-6FW72PC2.cjs +0 -29
- package/dist/chunk-6FW72PC2.cjs.map +0 -1
- package/dist/chunk-6HBXNLB7.cjs.map +0 -1
- package/dist/chunk-76Q2CTFV.js.map +0 -1
- package/dist/chunk-AYXQJONA.cjs.map +0 -1
- package/dist/chunk-CQFZ7PGZ.js.map +0 -1
- package/dist/chunk-D2ZTB5R2.cjs.map +0 -1
- package/dist/chunk-ECQZAWH3.cjs.map +0 -1
- package/dist/chunk-GLQZHLLN.js.map +0 -1
- package/dist/chunk-HLGMFFDF.js.map +0 -1
- package/dist/chunk-IL2PAEG3.cjs.map +0 -1
- package/dist/chunk-KOO3ZG5X.cjs.map +0 -1
- package/dist/chunk-LI3BAYDV.cjs.map +0 -1
- package/dist/chunk-M4PFR3OS.js.map +0 -1
- package/dist/chunk-MTFRH3R5.cjs.map +0 -1
- package/dist/chunk-OAKTIIG4.js.map +0 -1
- package/dist/chunk-PM2FAMWT.js.map +0 -1
- package/dist/chunk-Q6T6GRDR.js.map +0 -1
- package/dist/chunk-QXWPUKK2.js.map +0 -1
- package/dist/chunk-RBGTWJ7G.js.map +0 -1
- package/dist/chunk-RBW5ABSQ.js.map +0 -1
- package/dist/chunk-REXMA2IN.cjs.map +0 -1
- package/dist/chunk-ROBQ2CV7.cjs.map +0 -1
- package/dist/chunk-RTD3XWBM.cjs.map +0 -1
- package/dist/chunk-SDA2UO4X.cjs.map +0 -1
- package/dist/chunk-T23NVI3Q.js.map +0 -1
- package/dist/chunk-T66CY2YX.js.map +0 -1
- package/dist/chunk-VLSN55I3.cjs.map +0 -1
- package/dist/chunk-ZIVZF6M2.cjs.map +0 -1
- package/dist/chunk-ZQPET6GI.js.map +0 -1
- package/dist/storageClient-C5R3H96R.d.cts +0 -631
- package/dist/storageClient-DBiS4voo.d.ts +0 -631
- package/dist/storageSdk-B7Iq38Vh.d.cts +0 -143
- package/dist/storageSdk-BnIemr2s.d.ts +0 -143
- package/dist/types-BTcT8Q0T.d.cts +0 -8605
- package/dist/types-BTcT8Q0T.d.ts +0 -8605
- package/dist/types-DYMMsuU0.d.cts +0 -78
- package/dist/types-DYMMsuU0.d.ts +0 -78
package/dist/index.d.cts
CHANGED
|
@@ -1,41 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as ApiError, M as MiddlewareFn, c as BaseClientOptions, A as ApiResponse, H as HttpMethod } from './types-
|
|
1
|
+
import { M as Maintainer, a as MaintainerDetail, C as CreateMaintainerBody, U as UpdateMaintainerBody, b as MaintainerUser, A as AddMaintainerUserBody, c as CreateMaintainerInvitationBody, d as CreateMaintainerOrganizationBody, e as MetadataItem, S as SetMaintainerMetadataBody, O as OrganizationDetail, f as UpdateOrganizationBody, g as AddOrganizationUserBody, h as CreateOrganizationInvitationBody, P as Project, i as CreateOrganizationProjectBody, j as SetOrganizationMetadataBody, G as GetAllFeaturesQuery, F as Feature, k as FeatureProject, l as FeatureAdmin, m as GetProjectPath, n as CreateProjectFeaturePath, o as CreateProjectFeatureBody, R as RemoveProjectFeaturePath, p as User, L as ListProjectUsersPath, q as ListProjectInvitationsPath, r as CreateProjectInvitationPath, s as CreateProjectInvitationBody, D as DeleteProjectInvitationPath, t as AddProjectUserPath, u as AddProjectUserBody, v as RemoveProjectUserPath, w as GetProjectMetadataPath, x as ProjectMetadataItem, y as SetProjectMetadataPath, z as SetProjectMetadataBody, B as GetProjectReviewersPath, E as Reviewer, H as SetProjectReviewersPath, I as SetProjectReviewersBody, J as UpdateProjectBody, K as MoveProjectBody, N as SetProjectDisabledBody, Q as AddUserFeatureBody, T as AddUserFeaturePath, V as RemoveUserFeaturePath } from './types-DMC601TE.cjs';
|
|
2
|
+
import { b as ApiError, M as MiddlewareFn, c as BaseClientOptions, A as ApiResponse, H as HttpMethod } from './types-DxJD6LIN.cjs';
|
|
3
3
|
import { StatusSummary } from './status/types.cjs';
|
|
4
4
|
import { Post } from './assets/types.cjs';
|
|
5
|
+
import { B as Backend, S as StorageToken, c as components$6, C as CreateTokenBody, U as UpdateTokenBody, b as ShareTokenBody } from './types-DcL25GqY.cjs';
|
|
6
|
+
export { K as KeboolaHttpHeader } from './types-DcL25GqY.cjs';
|
|
7
|
+
import { StorageTableScope as StorageTable } from './domain/storageTable/index.cjs';
|
|
8
|
+
import { P as PaginationQuery, c as components$5, C as CreateSourceRequestBody, U as UpdateSourceRequestBody, D as DeleteSourceQuery, a as UpdateSourceSettingsRequestBody, T as TestSourceQuery, b as CreateSinkRequestBody, d as UpdateSinkRequestBody, e as UpdateSinkSettingsRequestBody, S as SinkStatisticsFilesQuery } from './types-DFWnAftN.cjs';
|
|
5
9
|
import { GetCredentialsQuery, Credential, CreateCredentialBody } from './oauth/types.cjs';
|
|
6
10
|
import * as zod from 'zod';
|
|
7
|
-
import { c as OpenapiQueryType, d as OpenapiPathType, b as OpenapiBodyType, a as OpenapiReturnType } from './types-
|
|
11
|
+
import { c as OpenapiQueryType, d as OpenapiPathType, b as OpenapiBodyType, a as OpenapiReturnType } from './types-jKnx7Tm_.cjs';
|
|
8
12
|
import { U as UploadFileParams, a as UploadedFile } from './types-Dg1tEsVR.cjs';
|
|
9
|
-
import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components$4, F as FeedbackBody } from './types-
|
|
13
|
+
import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components$4, F as FeedbackBody } from './types-DiC2wKsx.cjs';
|
|
10
14
|
import { SuggestionsRequestBody, SuggestionsApiResponse } from './chat/suggestions.cjs';
|
|
11
|
-
import { G as GetHistoryQuery$1, c as components$3, a as GetChatPath$1, C as ChatRequest$1, b as GetVotesQuery$1, V as VoteRequest$1, U as UsageResponse$1, A as AgentSettings, d as UpdateAgentSettingsRequest, e as UserAgentSettings, f as UpdateUserAgentSettingsRequest, T as ToolsListResponse } from './types-
|
|
12
|
-
import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery } from './types-
|
|
13
|
-
import { P as PostQueryPath, a as PostQueryBody, b as PostCancelQueryJobPath, G as GetQueryJobPath, c as components$1, d as GetQueryResultsPath, e as GetQueryResutsQuery, f as GetQueriesPath, g as GetQueriesHistoryQuery, h as GetExportResultsQuery, E as ExportResultsResponse } from './types-
|
|
15
|
+
import { G as GetHistoryQuery$1, c as components$3, a as GetChatPath$1, C as ChatRequest$1, b as GetVotesQuery$1, V as VoteRequest$1, U as UsageResponse$1, A as AgentSettings, d as UpdateAgentSettingsRequest, e as UserAgentSettings, f as UpdateUserAgentSettingsRequest, T as ToolsListResponse } from './types-Bc-H4gfv.cjs';
|
|
16
|
+
import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery } from './types-BxjcUj-y.cjs';
|
|
17
|
+
import { P as PostQueryPath, a as PostQueryBody, b as PostCancelQueryJobPath, G as GetQueryJobPath, c as components$1, d as GetQueryResultsPath, e as GetQueryResutsQuery, f as GetQueriesPath, g as GetQueriesHistoryQuery, h as GetExportResultsQuery, E as ExportResultsResponse } from './types-D9cNOf-3.cjs';
|
|
14
18
|
import { CreateCredentialsBody, WorkspaceData } from './telemetry/types.cjs';
|
|
15
|
-
import { EnrollMFAInput, GetDataAppPublicGitRepositoryInput, GetDataAppPasswordPrivateGitRepositoryInput, GetDataAppSSHKeyPrivateGitRepositoryInput, GetPublicGitRepositoryInput, GetGitPrivateRepositoryInput } from './syncActions/types.cjs';
|
|
16
|
-
import { C as CreateSqlSessionBody, G as GetSqlSessionPath, a as GetSqlSessionsQuery, b as GetSqlSessionSchemaPath, c as GetSqlSessionSchemaQuery, d as components, P as PostSqlRunQueryPath, e as PostSqlRunQueryBody, f as PostSqlTablePreviewPath, g as PostSqlTablePreviewBody, h as GetSqlSessionTableDdlPath, i as GetSqlSessionTableDdlQuery, j as PostSqlSessionLoadPath, k as PostSqlSessionLoadBody, l as PostSqlSessionUnloadPath, m as PostSqlSessionUnloadBody } from './types-
|
|
19
|
+
import { PostActionsBody, EnrollMFAInput, GetDataAppPublicGitRepositoryInput, GetDataAppPasswordPrivateGitRepositoryInput, GetDataAppSSHKeyPrivateGitRepositoryInput, GetPublicGitRepositoryInput, GetGitPrivateRepositoryInput } from './syncActions/types.cjs';
|
|
20
|
+
import { C as CreateSqlSessionBody, G as GetSqlSessionPath, a as GetSqlSessionsQuery, b as GetSqlSessionSchemaPath, c as GetSqlSessionSchemaQuery, d as components, P as PostSqlRunQueryPath, e as PostSqlRunQueryBody, f as PostSqlTablePreviewPath, g as PostSqlTablePreviewBody, h as GetSqlSessionTableDdlPath, i as GetSqlSessionTableDdlQuery, j as PostSqlSessionLoadPath, k as PostSqlSessionLoadBody, l as PostSqlSessionUnloadPath, m as PostSqlSessionUnloadBody } from './types-CWebeQXy.cjs';
|
|
17
21
|
import { EncryptQuery } from './encryption/types.cjs';
|
|
18
|
-
import { G as GetDataAppRunsPath, a as GetDataAppRunsQuery, b as GetDataAppRunPath, c as GetDataAppLogsDownloadPath, d as GetDataAppLogsTailPath, e as GetDataAppLogsTailQuery, L as LogEntry, f as GetAppsQuery, g as GetDataAppPath, C as CreateDataAppBody, P as PatchDataAppPath, h as PatchDataAppBody, D as DeleteDataAppPath, i as GetDataAppPasswordPath, R as ResetDataAppPasswordPath, j as GetSandboxPath } from './utils-
|
|
19
|
-
export { p as parseLogLines } from './utils-
|
|
22
|
+
import { G as GetDataAppRunsPath, a as GetDataAppRunsQuery, b as GetDataAppRunPath, c as GetDataAppLogsDownloadPath, d as GetDataAppLogsTailPath, e as GetDataAppLogsTailQuery, L as LogEntry, f as GetAppsQuery, g as GetDataAppPath, C as CreateDataAppBody, P as PatchDataAppPath, h as PatchDataAppBody, D as DeleteDataAppPath, i as GetDataAppPasswordPath, R as ResetDataAppPasswordPath, j as GetSandboxPath } from './utils-JsCYFmHj.cjs';
|
|
23
|
+
export { p as parseLogLines } from './utils-JsCYFmHj.cjs';
|
|
20
24
|
import { CreateVariableBody, VariableWithHash, DeleteVariablePath, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.cjs';
|
|
21
25
|
import { a as EncryptionCtx } from './types-Brx8PoEB.cjs';
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './
|
|
25
|
-
export { a as concurrent } from './
|
|
26
|
+
import { M as MetaObject } from './types-DTkxk0fW.cjs';
|
|
27
|
+
import { TagWithBindings, TagData, CreateMetaObjectMetaDataInput, UpdateMetaObjectMetaDataInput } from './sdk/tag/types.cjs';
|
|
28
|
+
import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './index-KHRrA2IR.cjs';
|
|
29
|
+
export { a as concurrent } from './index-KHRrA2IR.cjs';
|
|
26
30
|
import { K as KeboolaObjectId } from './keboolaUID-D1DGSbge.cjs';
|
|
27
31
|
export { k as keboolaUID } from './keboolaUID-D1DGSbge.cjs';
|
|
28
|
-
import {
|
|
29
|
-
|
|
30
|
-
export {
|
|
31
|
-
export { M as ManagementClientAuthError, i as isManagementClientAuthError } from './authMiddleware-CeIxAJQ5.cjs';
|
|
32
|
+
import { ServiceId, CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotBody, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody, Service, StackComponent, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, Job, UpdateBucketOwnerBody, BucketRegistrationGuideQuery, SaveBucketMetadataBody, GetEventsQuery, StorageEvent, GetTableEventsQuery, TableEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, TableDetail, GetDataPreview, PrevieData, DeleteTableRows, JobUnion, UpdateTableDefinitionInput, UpdateTableBody, CreateAliasTableBody, SetAliasTableFilterBody, Snapshot, SaveMetadataBody, Metadata, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, PartialKey, CreateConfigurationInput, BaseComponentConfig, ConfigType, UpdateConfigurationInput, ComponentConfig, ConfigurationPath, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.cjs';
|
|
33
|
+
export { c as createGenericFetchClient } from './createGenericFetchClient-yfcpR7qD.cjs';
|
|
34
|
+
export { M as ManagementClientAuthError, i as isManagementClientAuthError } from './authMiddleware-vNb2hfLP.cjs';
|
|
32
35
|
import { ManagementToken } from './verify/types.cjs';
|
|
33
|
-
export { c as createStorageSdk } from './storageSdk-
|
|
36
|
+
export { c as createStorageSdk } from './storageSdk-DJz6WcW3.cjs';
|
|
34
37
|
import 'qs';
|
|
35
38
|
import './encryption/index.cjs';
|
|
36
39
|
import './vault/index.cjs';
|
|
37
|
-
import './createOpenapiFetchClient-BuKDZcLD.cjs';
|
|
38
40
|
import './metastore/index.cjs';
|
|
41
|
+
import './createOpenapiFetchClient-Ci0-Qe53.cjs';
|
|
39
42
|
|
|
40
43
|
declare class UserError extends Error {
|
|
41
44
|
constructor(message: string);
|
|
@@ -3559,20 +3562,24 @@ type UsageResponse = OpenapiReturnType<paths['/api/usage']['get']>;
|
|
|
3559
3562
|
|
|
3560
3563
|
declare function assert<T>(value: T | undefined | null, message: string): asserts value is T;
|
|
3561
3564
|
|
|
3565
|
+
type TaskFn<T> = () => T;
|
|
3562
3566
|
/**
|
|
3563
|
-
*
|
|
3564
|
-
*
|
|
3565
|
-
*
|
|
3566
|
-
* exactly once more (looping until no call arrived mid-run). The returned
|
|
3567
|
-
* trigger returns `void`: callers fire it and never await.
|
|
3567
|
+
* Coalesces concurrent triggers onto a single, never-parallel run of `task`.
|
|
3568
|
+
* Triggers fired while a run is busy collapse into one trailing run, and each
|
|
3569
|
+
* resolves with the first run that started after it — so it never sees stale state.
|
|
3568
3570
|
*
|
|
3569
|
-
*
|
|
3570
|
-
*
|
|
3571
|
-
*
|
|
3572
|
-
*
|
|
3573
|
-
*
|
|
3571
|
+
* Example — A triggers, then B and C trigger while A's run is still going:
|
|
3572
|
+
* 1. trigger A → run #1 starts
|
|
3573
|
+
* 2. trigger B, C → run #1 busy, so they wait
|
|
3574
|
+
* 3. run #1 done → A resolves
|
|
3575
|
+
* 4. run #2 starts → covers B and C together (one trailing run, not two)
|
|
3576
|
+
* 5. run #2 done → B and C resolve
|
|
3577
|
+
*
|
|
3578
|
+
* @returns a trigger; each call returns a promise of the task result.
|
|
3579
|
+
* @throws The returned promise rejects with whatever `task` throws or rejects
|
|
3580
|
+
* with — the caller handles it (try/catch, or `.catch` on `void trigger()`).
|
|
3574
3581
|
*/
|
|
3575
|
-
declare const coalesce: (task:
|
|
3582
|
+
declare const coalesce: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
|
|
3576
3583
|
|
|
3577
3584
|
declare const delay: (timeout: number, signal?: AbortSignal) => Promise<unknown>;
|
|
3578
3585
|
|
|
@@ -3605,17 +3612,22 @@ declare const generateUUID: () => `${string}-${string}-${string}-${string}-${str
|
|
|
3605
3612
|
declare const series: <T, R>(options: Omit<ConcurrentOptions<T, R>, "concurrency">) => Promise<R[]>;
|
|
3606
3613
|
|
|
3607
3614
|
type Listener<T> = (value: T) => void;
|
|
3608
|
-
|
|
3609
|
-
* A minimal subscribable value holder: read the current value, replace it, and
|
|
3610
|
-
* be notified when it changes. `set` notifies listeners only when the value
|
|
3611
|
-
* actually changes (`Object.is`), and `subscribe` returns an unsubscribe fn.
|
|
3612
|
-
*/
|
|
3613
|
-
type Store<T> = {
|
|
3615
|
+
type ReadableStore<T> = {
|
|
3614
3616
|
get: () => T;
|
|
3615
|
-
set: (value: T) => void;
|
|
3616
3617
|
subscribe: (listener: Listener<T>) => () => void;
|
|
3617
3618
|
};
|
|
3619
|
+
type Store<T> = ReadableStore<T> & {
|
|
3620
|
+
set: (value: T) => void;
|
|
3621
|
+
};
|
|
3618
3622
|
declare const createStore: <T>(initial: T) => Store<T>;
|
|
3623
|
+
declare const shallowEqual: <T>(a: T, b: T) => boolean;
|
|
3624
|
+
type DerivedStoreOptions<S, K, T> = {
|
|
3625
|
+
source: ReadableStore<S>;
|
|
3626
|
+
dependsOn: (state: S) => K;
|
|
3627
|
+
build: (key: K) => T;
|
|
3628
|
+
keyEquals?: (a: K, b: K) => boolean;
|
|
3629
|
+
};
|
|
3630
|
+
declare const createDerivedStore: <S, K, T>({ source, dependsOn, build, keyEquals, }: DerivedStoreOptions<S, K, T>) => ReadableStore<T>;
|
|
3619
3631
|
|
|
3620
3632
|
type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined | null>>;
|
|
3621
3633
|
|
|
@@ -3623,7 +3635,7 @@ type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined
|
|
|
3623
3635
|
* Service clients reached through the registry — the key is the `clientName`
|
|
3624
3636
|
* the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
|
|
3625
3637
|
*/
|
|
3626
|
-
type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth';
|
|
3638
|
+
type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'stream';
|
|
3627
3639
|
/** Clients instantiated directly (not stack-discovered), keyed by their property name. */
|
|
3628
3640
|
type NonServiceClientName = 'storage' | 'management' | 'assets' | 'status' | 'metastore';
|
|
3629
3641
|
type MiddlewareTarget = ServiceClientName | NonServiceClientName;
|
|
@@ -3642,6 +3654,31 @@ type ApiClientOptions = {
|
|
|
3642
3654
|
middlewares?: Middlewares;
|
|
3643
3655
|
clientServiceUrls?: ServiceUrls;
|
|
3644
3656
|
} & BaseClientOptions;
|
|
3657
|
+
declare const isStorageTokenMutatingRequest: (request: Request) => boolean;
|
|
3658
|
+
declare const createLiveProject: ({ initialToken, verify, }: {
|
|
3659
|
+
initialToken: StorageToken;
|
|
3660
|
+
verify: () => Promise<StorageToken>;
|
|
3661
|
+
}) => {
|
|
3662
|
+
store: Store<{
|
|
3663
|
+
hasFeature: (...feature: string[]) => boolean;
|
|
3664
|
+
hasAdminFeature: (...feature: string[]) => boolean;
|
|
3665
|
+
hasBackend: (backend: Backend) => boolean;
|
|
3666
|
+
sapiToken: StorageToken;
|
|
3667
|
+
}>;
|
|
3668
|
+
getProject: () => {
|
|
3669
|
+
hasFeature: (...feature: string[]) => boolean;
|
|
3670
|
+
hasAdminFeature: (...feature: string[]) => boolean;
|
|
3671
|
+
hasBackend: (backend: Backend) => boolean;
|
|
3672
|
+
sapiToken: StorageToken;
|
|
3673
|
+
};
|
|
3674
|
+
subscribe: (listener: (value: {
|
|
3675
|
+
hasFeature: (...feature: string[]) => boolean;
|
|
3676
|
+
hasAdminFeature: (...feature: string[]) => boolean;
|
|
3677
|
+
hasBackend: (backend: Backend) => boolean;
|
|
3678
|
+
sapiToken: StorageToken;
|
|
3679
|
+
}) => void) => () => void;
|
|
3680
|
+
middleware: MiddlewareFn;
|
|
3681
|
+
};
|
|
3645
3682
|
declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, metastoreBaseUrl, clientServiceUrls, middlewares, }: ApiClientOptions) => Promise<{
|
|
3646
3683
|
sdk: {
|
|
3647
3684
|
tag: {
|
|
@@ -3661,6 +3698,55 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
3661
3698
|
maxAttempts?: number;
|
|
3662
3699
|
abortSignal?: AbortSignal;
|
|
3663
3700
|
}) => Promise<TableCreateJob>;
|
|
3701
|
+
createTableDefinition: (bucketId: string, body: CreateTableDefinitionBody, options?: {
|
|
3702
|
+
interval?: number;
|
|
3703
|
+
maxAttempts?: number;
|
|
3704
|
+
abortSignal?: AbortSignal;
|
|
3705
|
+
}) => Promise<{
|
|
3706
|
+
id: number;
|
|
3707
|
+
tableId: string | null;
|
|
3708
|
+
runId: string;
|
|
3709
|
+
url: string;
|
|
3710
|
+
createdTime: string;
|
|
3711
|
+
creatorToken: {
|
|
3712
|
+
id: string;
|
|
3713
|
+
description: string;
|
|
3714
|
+
};
|
|
3715
|
+
endTime: string | null;
|
|
3716
|
+
startTime: string | null;
|
|
3717
|
+
operationName: "tableDefinitionCreate";
|
|
3718
|
+
operationParams: {
|
|
3719
|
+
queue: string;
|
|
3720
|
+
} & {
|
|
3721
|
+
timestampType: string;
|
|
3722
|
+
primaryKeysNames: string[];
|
|
3723
|
+
name: string;
|
|
3724
|
+
backendConfiguration: unknown[];
|
|
3725
|
+
columns: unknown[];
|
|
3726
|
+
};
|
|
3727
|
+
metrics: {
|
|
3728
|
+
inCompressed: boolean;
|
|
3729
|
+
inBytes: number;
|
|
3730
|
+
inBytesUncompressed: number;
|
|
3731
|
+
outCompressed: boolean;
|
|
3732
|
+
outBytes: number;
|
|
3733
|
+
outBytesUncompressed: number;
|
|
3734
|
+
};
|
|
3735
|
+
} & ({
|
|
3736
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
3737
|
+
results: null;
|
|
3738
|
+
} | {
|
|
3739
|
+
status: "error";
|
|
3740
|
+
results: null;
|
|
3741
|
+
error: {
|
|
3742
|
+
code: string;
|
|
3743
|
+
message: string;
|
|
3744
|
+
exceptionId?: string;
|
|
3745
|
+
};
|
|
3746
|
+
} | {
|
|
3747
|
+
status: "success";
|
|
3748
|
+
results: Table;
|
|
3749
|
+
})>;
|
|
3664
3750
|
importFromFile: (tableId: string, body: TableImportAsyncBody, options?: {
|
|
3665
3751
|
interval?: number;
|
|
3666
3752
|
maxAttempts?: number;
|
|
@@ -3808,167 +3894,822 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
3808
3894
|
status: "success";
|
|
3809
3895
|
results: null;
|
|
3810
3896
|
})>;
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3897
|
+
shareBucketToOrganization: (bucketId: string, options?: {
|
|
3898
|
+
interval?: number;
|
|
3899
|
+
maxAttempts?: number;
|
|
3900
|
+
abortSignal?: AbortSignal;
|
|
3901
|
+
}) => Promise<{
|
|
3902
|
+
id: number;
|
|
3903
|
+
tableId: string | null;
|
|
3904
|
+
runId: string;
|
|
3905
|
+
url: string;
|
|
3906
|
+
createdTime: string;
|
|
3907
|
+
creatorToken: {
|
|
3908
|
+
id: string;
|
|
3909
|
+
description: string;
|
|
3822
3910
|
};
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3911
|
+
endTime: string | null;
|
|
3912
|
+
startTime: string | null;
|
|
3913
|
+
operationName: "bucketShareToOrganization";
|
|
3914
|
+
operationParams: {
|
|
3915
|
+
queue: string;
|
|
3916
|
+
} & Record<string, unknown>;
|
|
3917
|
+
metrics: {
|
|
3918
|
+
inCompressed: boolean;
|
|
3919
|
+
inBytes: number;
|
|
3920
|
+
inBytesUncompressed: number;
|
|
3921
|
+
outCompressed: boolean;
|
|
3922
|
+
outBytes: number;
|
|
3923
|
+
outBytesUncompressed: number;
|
|
3836
3924
|
};
|
|
3837
|
-
} & {
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
} & {
|
|
3848
|
-
[key: string]: string;
|
|
3925
|
+
} & ({
|
|
3926
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
3927
|
+
results: null;
|
|
3928
|
+
} | {
|
|
3929
|
+
status: "error";
|
|
3930
|
+
results: null;
|
|
3931
|
+
error: {
|
|
3932
|
+
code: string;
|
|
3933
|
+
message: string;
|
|
3934
|
+
exceptionId?: string;
|
|
3849
3935
|
};
|
|
3850
|
-
}
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3936
|
+
} | {
|
|
3937
|
+
status: "success";
|
|
3938
|
+
results: null;
|
|
3939
|
+
})>;
|
|
3940
|
+
shareBucketToOrganizationProject: (bucketId: string, options?: {
|
|
3941
|
+
interval?: number;
|
|
3942
|
+
maxAttempts?: number;
|
|
3943
|
+
abortSignal?: AbortSignal;
|
|
3944
|
+
}) => Promise<{
|
|
3945
|
+
id: number;
|
|
3946
|
+
tableId: string | null;
|
|
3947
|
+
runId: string;
|
|
3948
|
+
url: string;
|
|
3949
|
+
createdTime: string;
|
|
3950
|
+
creatorToken: {
|
|
3951
|
+
id: string;
|
|
3952
|
+
description: string;
|
|
3953
|
+
};
|
|
3954
|
+
endTime: string | null;
|
|
3955
|
+
startTime: string | null;
|
|
3956
|
+
operationName: "bucketShareToOrganizationProject";
|
|
3957
|
+
operationParams: {
|
|
3958
|
+
queue: string;
|
|
3959
|
+
} & Record<string, unknown>;
|
|
3960
|
+
metrics: {
|
|
3961
|
+
inCompressed: boolean;
|
|
3962
|
+
inBytes: number;
|
|
3963
|
+
inBytesUncompressed: number;
|
|
3964
|
+
outCompressed: boolean;
|
|
3965
|
+
outBytes: number;
|
|
3966
|
+
outBytesUncompressed: number;
|
|
3967
|
+
};
|
|
3968
|
+
} & ({
|
|
3969
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
3970
|
+
results: null;
|
|
3971
|
+
} | {
|
|
3972
|
+
status: "error";
|
|
3973
|
+
results: null;
|
|
3974
|
+
error: {
|
|
3975
|
+
code: string;
|
|
3976
|
+
message: string;
|
|
3977
|
+
exceptionId?: string;
|
|
3978
|
+
};
|
|
3979
|
+
} | {
|
|
3980
|
+
status: "success";
|
|
3981
|
+
results: null;
|
|
3982
|
+
})>;
|
|
3983
|
+
shareBucketToProjects: (bucketId: string, body: ShareBucketToProjectsBody, options?: {
|
|
3984
|
+
interval?: number;
|
|
3985
|
+
maxAttempts?: number;
|
|
3986
|
+
abortSignal?: AbortSignal;
|
|
3987
|
+
}) => Promise<{
|
|
3988
|
+
id: number;
|
|
3989
|
+
tableId: string | null;
|
|
3990
|
+
runId: string;
|
|
3991
|
+
url: string;
|
|
3992
|
+
createdTime: string;
|
|
3993
|
+
creatorToken: {
|
|
3994
|
+
id: string;
|
|
3995
|
+
description: string;
|
|
3996
|
+
};
|
|
3997
|
+
endTime: string | null;
|
|
3998
|
+
startTime: string | null;
|
|
3999
|
+
operationName: "bucketShareToProjects";
|
|
4000
|
+
operationParams: {
|
|
4001
|
+
queue: string;
|
|
4002
|
+
} & Record<string, unknown>;
|
|
4003
|
+
metrics: {
|
|
4004
|
+
inCompressed: boolean;
|
|
4005
|
+
inBytes: number;
|
|
4006
|
+
inBytesUncompressed: number;
|
|
4007
|
+
outCompressed: boolean;
|
|
4008
|
+
outBytes: number;
|
|
4009
|
+
outBytesUncompressed: number;
|
|
4010
|
+
};
|
|
4011
|
+
} & ({
|
|
4012
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4013
|
+
results: null;
|
|
4014
|
+
} | {
|
|
4015
|
+
status: "error";
|
|
4016
|
+
results: null;
|
|
4017
|
+
error: {
|
|
4018
|
+
code: string;
|
|
4019
|
+
message: string;
|
|
4020
|
+
exceptionId?: string;
|
|
4021
|
+
};
|
|
4022
|
+
} | {
|
|
4023
|
+
status: "success";
|
|
4024
|
+
results: null;
|
|
4025
|
+
})>;
|
|
4026
|
+
shareBucketToUsers: (bucketId: string, body: ShareBucketToUsersBody, options?: {
|
|
4027
|
+
interval?: number;
|
|
4028
|
+
maxAttempts?: number;
|
|
4029
|
+
abortSignal?: AbortSignal;
|
|
4030
|
+
}) => Promise<{
|
|
4031
|
+
id: number;
|
|
4032
|
+
tableId: string | null;
|
|
4033
|
+
runId: string;
|
|
4034
|
+
url: string;
|
|
4035
|
+
createdTime: string;
|
|
4036
|
+
creatorToken: {
|
|
4037
|
+
id: string;
|
|
4038
|
+
description: string;
|
|
4039
|
+
};
|
|
4040
|
+
endTime: string | null;
|
|
4041
|
+
startTime: string | null;
|
|
4042
|
+
operationName: "bucketShareToAdmins";
|
|
4043
|
+
operationParams: {
|
|
4044
|
+
queue: string;
|
|
4045
|
+
} & Record<string, unknown>;
|
|
4046
|
+
metrics: {
|
|
4047
|
+
inCompressed: boolean;
|
|
4048
|
+
inBytes: number;
|
|
4049
|
+
inBytesUncompressed: number;
|
|
4050
|
+
outCompressed: boolean;
|
|
4051
|
+
outBytes: number;
|
|
4052
|
+
outBytesUncompressed: number;
|
|
4053
|
+
};
|
|
4054
|
+
} & ({
|
|
4055
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4056
|
+
results: null;
|
|
4057
|
+
} | {
|
|
4058
|
+
status: "error";
|
|
4059
|
+
results: null;
|
|
4060
|
+
error: {
|
|
4061
|
+
code: string;
|
|
4062
|
+
message: string;
|
|
4063
|
+
exceptionId?: string;
|
|
4064
|
+
};
|
|
4065
|
+
} | {
|
|
4066
|
+
status: "success";
|
|
4067
|
+
results: null;
|
|
4068
|
+
})>;
|
|
4069
|
+
unshareBucket: (bucketId: string, options?: {
|
|
4070
|
+
interval?: number;
|
|
4071
|
+
maxAttempts?: number;
|
|
4072
|
+
abortSignal?: AbortSignal;
|
|
4073
|
+
}) => Promise<{
|
|
4074
|
+
id: number;
|
|
4075
|
+
tableId: string | null;
|
|
4076
|
+
runId: string;
|
|
4077
|
+
url: string;
|
|
4078
|
+
createdTime: string;
|
|
4079
|
+
creatorToken: {
|
|
4080
|
+
id: string;
|
|
4081
|
+
description: string;
|
|
4082
|
+
};
|
|
4083
|
+
endTime: string | null;
|
|
4084
|
+
startTime: string | null;
|
|
4085
|
+
operationName: "bucketRemoveShare";
|
|
4086
|
+
operationParams: {
|
|
4087
|
+
queue: string;
|
|
4088
|
+
} & Record<string, unknown>;
|
|
4089
|
+
metrics: {
|
|
4090
|
+
inCompressed: boolean;
|
|
4091
|
+
inBytes: number;
|
|
4092
|
+
inBytesUncompressed: number;
|
|
4093
|
+
outCompressed: boolean;
|
|
4094
|
+
outBytes: number;
|
|
4095
|
+
outBytesUncompressed: number;
|
|
4096
|
+
};
|
|
4097
|
+
} & ({
|
|
4098
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4099
|
+
results: null;
|
|
4100
|
+
} | {
|
|
4101
|
+
status: "error";
|
|
4102
|
+
results: null;
|
|
4103
|
+
error: {
|
|
4104
|
+
code: string;
|
|
4105
|
+
message: string;
|
|
4106
|
+
exceptionId?: string;
|
|
4107
|
+
};
|
|
4108
|
+
} | {
|
|
4109
|
+
status: "success";
|
|
4110
|
+
results: null;
|
|
4111
|
+
})>;
|
|
4112
|
+
forceUnlinkBucket: (bucketId: string, linkedProjectId: string, options?: {
|
|
4113
|
+
interval?: number;
|
|
4114
|
+
maxAttempts?: number;
|
|
4115
|
+
abortSignal?: AbortSignal;
|
|
4116
|
+
}) => Promise<{
|
|
4117
|
+
id: number;
|
|
4118
|
+
tableId: string | null;
|
|
4119
|
+
runId: string;
|
|
4120
|
+
url: string;
|
|
4121
|
+
createdTime: string;
|
|
4122
|
+
creatorToken: {
|
|
4123
|
+
id: string;
|
|
4124
|
+
description: string;
|
|
4125
|
+
};
|
|
4126
|
+
endTime: string | null;
|
|
4127
|
+
startTime: string | null;
|
|
4128
|
+
operationName: "bucketForceUnlink";
|
|
4129
|
+
operationParams: {
|
|
4130
|
+
queue: string;
|
|
4131
|
+
} & Record<string, unknown>;
|
|
4132
|
+
metrics: {
|
|
4133
|
+
inCompressed: boolean;
|
|
4134
|
+
inBytes: number;
|
|
4135
|
+
inBytesUncompressed: number;
|
|
4136
|
+
outCompressed: boolean;
|
|
4137
|
+
outBytes: number;
|
|
4138
|
+
outBytesUncompressed: number;
|
|
4139
|
+
};
|
|
4140
|
+
} & ({
|
|
4141
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4142
|
+
results: null;
|
|
4143
|
+
} | {
|
|
4144
|
+
status: "error";
|
|
4145
|
+
results: null;
|
|
4146
|
+
error: {
|
|
4147
|
+
code: string;
|
|
4148
|
+
message: string;
|
|
4149
|
+
exceptionId?: string;
|
|
4150
|
+
};
|
|
4151
|
+
} | {
|
|
4152
|
+
status: "success";
|
|
4153
|
+
results: null;
|
|
4154
|
+
})>;
|
|
4155
|
+
registerBucket: (body: RegisterBucketBody, options?: {
|
|
4156
|
+
interval?: number;
|
|
4157
|
+
maxAttempts?: number;
|
|
4158
|
+
abortSignal?: AbortSignal;
|
|
4159
|
+
}) => Promise<{
|
|
4160
|
+
id: number;
|
|
4161
|
+
tableId: string | null;
|
|
4162
|
+
runId: string;
|
|
4163
|
+
url: string;
|
|
4164
|
+
createdTime: string;
|
|
4165
|
+
creatorToken: {
|
|
4166
|
+
id: string;
|
|
4167
|
+
description: string;
|
|
4168
|
+
};
|
|
4169
|
+
endTime: string | null;
|
|
4170
|
+
startTime: string | null;
|
|
4171
|
+
operationName: "bucketRegister";
|
|
4172
|
+
operationParams: {
|
|
4173
|
+
queue: string;
|
|
4174
|
+
} & Record<string, unknown>;
|
|
4175
|
+
metrics: {
|
|
4176
|
+
inCompressed: boolean;
|
|
4177
|
+
inBytes: number;
|
|
4178
|
+
inBytesUncompressed: number;
|
|
4179
|
+
outCompressed: boolean;
|
|
4180
|
+
outBytes: number;
|
|
4181
|
+
outBytesUncompressed: number;
|
|
4182
|
+
};
|
|
4183
|
+
} & ({
|
|
4184
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4185
|
+
results: null;
|
|
4186
|
+
} | {
|
|
4187
|
+
status: "error";
|
|
4188
|
+
results: null;
|
|
4189
|
+
error: {
|
|
4190
|
+
code: string;
|
|
4191
|
+
message: string;
|
|
4192
|
+
exceptionId?: string;
|
|
4193
|
+
};
|
|
4194
|
+
} | {
|
|
4195
|
+
status: "success";
|
|
4196
|
+
results: null;
|
|
4197
|
+
})>;
|
|
4198
|
+
refreshExternalBucket: (bucketId: string, query?: RefreshExternalBucketQuery, options?: {
|
|
4199
|
+
interval?: number;
|
|
4200
|
+
maxAttempts?: number;
|
|
4201
|
+
abortSignal?: AbortSignal;
|
|
4202
|
+
}) => Promise<{
|
|
4203
|
+
id: number;
|
|
4204
|
+
tableId: string | null;
|
|
4205
|
+
runId: string;
|
|
4206
|
+
url: string;
|
|
4207
|
+
createdTime: string;
|
|
4208
|
+
creatorToken: {
|
|
4209
|
+
id: string;
|
|
4210
|
+
description: string;
|
|
4211
|
+
};
|
|
4212
|
+
endTime: string | null;
|
|
4213
|
+
startTime: string | null;
|
|
4214
|
+
operationName: "bucketRefresh";
|
|
4215
|
+
operationParams: {
|
|
4216
|
+
queue: string;
|
|
4217
|
+
} & Record<string, unknown>;
|
|
4218
|
+
metrics: {
|
|
4219
|
+
inCompressed: boolean;
|
|
4220
|
+
inBytes: number;
|
|
4221
|
+
inBytesUncompressed: number;
|
|
4222
|
+
outCompressed: boolean;
|
|
4223
|
+
outBytes: number;
|
|
4224
|
+
outBytesUncompressed: number;
|
|
4225
|
+
};
|
|
4226
|
+
} & ({
|
|
4227
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4228
|
+
results: null;
|
|
4229
|
+
} | {
|
|
4230
|
+
status: "error";
|
|
4231
|
+
results: null;
|
|
4232
|
+
error: {
|
|
4233
|
+
code: string;
|
|
4234
|
+
message: string;
|
|
4235
|
+
exceptionId?: string;
|
|
4236
|
+
};
|
|
4237
|
+
} | {
|
|
4238
|
+
status: "success";
|
|
4239
|
+
results: null;
|
|
4240
|
+
})>;
|
|
4241
|
+
createSnapshot: (tableId: string, body?: CreateSnapshotBody, options?: {
|
|
4242
|
+
interval?: number;
|
|
4243
|
+
maxAttempts?: number;
|
|
4244
|
+
abortSignal?: AbortSignal;
|
|
4245
|
+
}) => Promise<{
|
|
4246
|
+
id: number;
|
|
4247
|
+
tableId: string | null;
|
|
4248
|
+
runId: string;
|
|
4249
|
+
url: string;
|
|
4250
|
+
createdTime: string;
|
|
4251
|
+
creatorToken: {
|
|
4252
|
+
id: string;
|
|
4253
|
+
description: string;
|
|
4254
|
+
};
|
|
4255
|
+
endTime: string | null;
|
|
4256
|
+
startTime: string | null;
|
|
4257
|
+
operationName: "tableSnapshotCreate";
|
|
4258
|
+
operationParams: {
|
|
4259
|
+
queue: string;
|
|
4260
|
+
} & {
|
|
4261
|
+
id: string;
|
|
4262
|
+
};
|
|
4263
|
+
metrics: {
|
|
4264
|
+
inCompressed: boolean;
|
|
4265
|
+
inBytes: number;
|
|
4266
|
+
inBytesUncompressed: number;
|
|
4267
|
+
outCompressed: boolean;
|
|
4268
|
+
outBytes: number;
|
|
4269
|
+
outBytesUncompressed: number;
|
|
4270
|
+
};
|
|
4271
|
+
} & ({
|
|
4272
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4273
|
+
results: null;
|
|
4274
|
+
} | {
|
|
4275
|
+
status: "error";
|
|
4276
|
+
results: null;
|
|
4277
|
+
error: {
|
|
4278
|
+
code: string;
|
|
4279
|
+
message: string;
|
|
4280
|
+
exceptionId?: string;
|
|
4281
|
+
};
|
|
4282
|
+
} | {
|
|
4283
|
+
status: "success";
|
|
4284
|
+
results: null;
|
|
4285
|
+
})>;
|
|
4286
|
+
pullTable: (tableId: string, options?: {
|
|
4287
|
+
interval?: number;
|
|
4288
|
+
maxAttempts?: number;
|
|
4289
|
+
abortSignal?: AbortSignal;
|
|
4290
|
+
}) => Promise<{
|
|
4291
|
+
id: number;
|
|
4292
|
+
tableId: string | null;
|
|
4293
|
+
runId: string;
|
|
4294
|
+
url: string;
|
|
4295
|
+
createdTime: string;
|
|
4296
|
+
creatorToken: {
|
|
4297
|
+
id: string;
|
|
4298
|
+
description: string;
|
|
4299
|
+
};
|
|
4300
|
+
endTime: string | null;
|
|
4301
|
+
startTime: string | null;
|
|
4302
|
+
operationName: "devBranchTablePull";
|
|
4303
|
+
operationParams: {
|
|
4304
|
+
queue: string;
|
|
4305
|
+
} & {
|
|
4306
|
+
id: string;
|
|
4307
|
+
};
|
|
4308
|
+
metrics: {
|
|
4309
|
+
inCompressed: boolean;
|
|
4310
|
+
inBytes: number;
|
|
4311
|
+
inBytesUncompressed: number;
|
|
4312
|
+
outCompressed: boolean;
|
|
4313
|
+
outBytes: number;
|
|
4314
|
+
outBytesUncompressed: number;
|
|
4315
|
+
};
|
|
4316
|
+
} & ({
|
|
4317
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4318
|
+
results: null;
|
|
4319
|
+
} | {
|
|
4320
|
+
status: "error";
|
|
4321
|
+
results: null;
|
|
4322
|
+
error: {
|
|
4323
|
+
code: string;
|
|
4324
|
+
message: string;
|
|
4325
|
+
exceptionId?: string;
|
|
4326
|
+
};
|
|
4327
|
+
} | {
|
|
4328
|
+
status: "success";
|
|
4329
|
+
results: null;
|
|
4330
|
+
})>;
|
|
4331
|
+
addTableColumn: (tableId: string, body: AddTableColumnBody, options?: {
|
|
4332
|
+
interval?: number;
|
|
4333
|
+
maxAttempts?: number;
|
|
4334
|
+
abortSignal?: AbortSignal;
|
|
4335
|
+
}) => Promise<{
|
|
4336
|
+
id: number;
|
|
4337
|
+
tableId: string | null;
|
|
4338
|
+
runId: string;
|
|
4339
|
+
url: string;
|
|
4340
|
+
createdTime: string;
|
|
4341
|
+
creatorToken: {
|
|
4342
|
+
id: string;
|
|
4343
|
+
description: string;
|
|
4344
|
+
};
|
|
4345
|
+
endTime: string | null;
|
|
4346
|
+
startTime: string | null;
|
|
4347
|
+
operationName: "tableColumnAdd";
|
|
4348
|
+
operationParams: {
|
|
4349
|
+
queue: string;
|
|
4350
|
+
} & {
|
|
4351
|
+
id: string;
|
|
4352
|
+
};
|
|
4353
|
+
metrics: {
|
|
4354
|
+
inCompressed: boolean;
|
|
4355
|
+
inBytes: number;
|
|
4356
|
+
inBytesUncompressed: number;
|
|
4357
|
+
outCompressed: boolean;
|
|
4358
|
+
outBytes: number;
|
|
4359
|
+
outBytesUncompressed: number;
|
|
4360
|
+
};
|
|
4361
|
+
} & ({
|
|
4362
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4363
|
+
results: null;
|
|
4364
|
+
} | {
|
|
4365
|
+
status: "error";
|
|
4366
|
+
results: null;
|
|
4367
|
+
error: {
|
|
4368
|
+
code: string;
|
|
4369
|
+
message: string;
|
|
4370
|
+
exceptionId?: string;
|
|
4371
|
+
};
|
|
4372
|
+
} | {
|
|
4373
|
+
status: "success";
|
|
4374
|
+
results: null;
|
|
4375
|
+
})>;
|
|
4376
|
+
deleteTableColumn: (tableId: string, columnName: string, query?: DeleteTableColumnQuery, options?: {
|
|
4377
|
+
interval?: number;
|
|
4378
|
+
maxAttempts?: number;
|
|
4379
|
+
abortSignal?: AbortSignal;
|
|
4380
|
+
}) => Promise<{
|
|
4381
|
+
id: number;
|
|
4382
|
+
tableId: string | null;
|
|
4383
|
+
runId: string;
|
|
4384
|
+
url: string;
|
|
4385
|
+
createdTime: string;
|
|
4386
|
+
creatorToken: {
|
|
4387
|
+
id: string;
|
|
4388
|
+
description: string;
|
|
4389
|
+
};
|
|
4390
|
+
endTime: string | null;
|
|
4391
|
+
startTime: string | null;
|
|
4392
|
+
operationName: "tableColumnDelete";
|
|
4393
|
+
operationParams: {
|
|
4394
|
+
queue: string;
|
|
4395
|
+
} & {
|
|
4396
|
+
id: string;
|
|
4397
|
+
};
|
|
4398
|
+
metrics: {
|
|
4399
|
+
inCompressed: boolean;
|
|
4400
|
+
inBytes: number;
|
|
4401
|
+
inBytesUncompressed: number;
|
|
4402
|
+
outCompressed: boolean;
|
|
4403
|
+
outBytes: number;
|
|
4404
|
+
outBytesUncompressed: number;
|
|
4405
|
+
};
|
|
4406
|
+
} & ({
|
|
4407
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4408
|
+
results: null;
|
|
4409
|
+
} | {
|
|
4410
|
+
status: "error";
|
|
4411
|
+
results: null;
|
|
4412
|
+
error: {
|
|
4413
|
+
code: string;
|
|
4414
|
+
message: string;
|
|
4415
|
+
exceptionId?: string;
|
|
4416
|
+
};
|
|
4417
|
+
} | {
|
|
4418
|
+
status: "success";
|
|
4419
|
+
results: null;
|
|
4420
|
+
})>;
|
|
4421
|
+
createTablePrimaryKey: (tableId: string, body: CreateTablePrimaryKeyBody, options?: {
|
|
4422
|
+
interval?: number;
|
|
4423
|
+
maxAttempts?: number;
|
|
4424
|
+
abortSignal?: AbortSignal;
|
|
4425
|
+
}) => Promise<{
|
|
4426
|
+
id: number;
|
|
4427
|
+
tableId: string | null;
|
|
4428
|
+
runId: string;
|
|
4429
|
+
url: string;
|
|
4430
|
+
createdTime: string;
|
|
4431
|
+
creatorToken: {
|
|
4432
|
+
id: string;
|
|
4433
|
+
description: string;
|
|
4434
|
+
};
|
|
4435
|
+
endTime: string | null;
|
|
4436
|
+
startTime: string | null;
|
|
4437
|
+
operationName: "tablePrimaryKeyAdd";
|
|
4438
|
+
operationParams: {
|
|
4439
|
+
queue: string;
|
|
4440
|
+
} & {
|
|
4441
|
+
id: string;
|
|
4442
|
+
};
|
|
4443
|
+
metrics: {
|
|
4444
|
+
inCompressed: boolean;
|
|
4445
|
+
inBytes: number;
|
|
4446
|
+
inBytesUncompressed: number;
|
|
4447
|
+
outCompressed: boolean;
|
|
4448
|
+
outBytes: number;
|
|
4449
|
+
outBytesUncompressed: number;
|
|
4450
|
+
};
|
|
4451
|
+
} & ({
|
|
4452
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4453
|
+
results: null;
|
|
4454
|
+
} | {
|
|
4455
|
+
status: "error";
|
|
4456
|
+
results: null;
|
|
4457
|
+
error: {
|
|
4458
|
+
code: string;
|
|
4459
|
+
message: string;
|
|
4460
|
+
exceptionId?: string;
|
|
4461
|
+
};
|
|
4462
|
+
} | {
|
|
4463
|
+
status: "success";
|
|
4464
|
+
results: null;
|
|
4465
|
+
})>;
|
|
4466
|
+
removeTablePrimaryKey: (tableId: string, options?: {
|
|
4467
|
+
interval?: number;
|
|
4468
|
+
maxAttempts?: number;
|
|
4469
|
+
abortSignal?: AbortSignal;
|
|
4470
|
+
}) => Promise<{
|
|
4471
|
+
id: number;
|
|
4472
|
+
tableId: string | null;
|
|
4473
|
+
runId: string;
|
|
4474
|
+
url: string;
|
|
4475
|
+
createdTime: string;
|
|
4476
|
+
creatorToken: {
|
|
4477
|
+
id: string;
|
|
4478
|
+
description: string;
|
|
4479
|
+
};
|
|
4480
|
+
endTime: string | null;
|
|
4481
|
+
startTime: string | null;
|
|
4482
|
+
operationName: "tablePrimaryKeyDelete";
|
|
4483
|
+
operationParams: {
|
|
4484
|
+
queue: string;
|
|
4485
|
+
} & {
|
|
4486
|
+
id: string;
|
|
4487
|
+
};
|
|
4488
|
+
metrics: {
|
|
4489
|
+
inCompressed: boolean;
|
|
4490
|
+
inBytes: number;
|
|
4491
|
+
inBytesUncompressed: number;
|
|
4492
|
+
outCompressed: boolean;
|
|
4493
|
+
outBytes: number;
|
|
4494
|
+
outBytesUncompressed: number;
|
|
4495
|
+
};
|
|
4496
|
+
} & ({
|
|
4497
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
4498
|
+
results: null;
|
|
4499
|
+
} | {
|
|
4500
|
+
status: "error";
|
|
4501
|
+
results: null;
|
|
4502
|
+
error: {
|
|
4503
|
+
code: string;
|
|
4504
|
+
message: string;
|
|
4505
|
+
exceptionId?: string;
|
|
4506
|
+
};
|
|
4507
|
+
} | {
|
|
4508
|
+
status: "success";
|
|
4509
|
+
results: null;
|
|
4510
|
+
})>;
|
|
4511
|
+
};
|
|
4512
|
+
vault: {
|
|
4513
|
+
createVariable: (variable: CreateVariableBody, encryption: EncryptionCtx) => Promise<{
|
|
4514
|
+
key: string;
|
|
4515
|
+
value: string;
|
|
4516
|
+
flags: ("encrypted" | "oauthCredentialsId")[];
|
|
4517
|
+
group?: string;
|
|
4518
|
+
attributes: {
|
|
4519
|
+
branchId?: string;
|
|
4520
|
+
} & {
|
|
4521
|
+
[key: string]: string;
|
|
4522
|
+
};
|
|
4523
|
+
} & {
|
|
4524
|
+
hash?: string;
|
|
4525
|
+
}>;
|
|
4526
|
+
deleteVariable: (variable: VariableWithHash, signal?: AbortSignal) => Promise<void>;
|
|
4527
|
+
updateVariable: (variable: VariableWithHash, encryption: EncryptionCtx, signal?: AbortSignal) => Promise<{
|
|
4528
|
+
key: string;
|
|
4529
|
+
value: string;
|
|
4530
|
+
flags: ("encrypted" | "oauthCredentialsId")[];
|
|
4531
|
+
group?: string;
|
|
4532
|
+
attributes: {
|
|
4533
|
+
branchId?: string;
|
|
4534
|
+
} & {
|
|
4535
|
+
[key: string]: string;
|
|
4536
|
+
};
|
|
4537
|
+
} & {
|
|
4538
|
+
hash?: string;
|
|
4539
|
+
}>;
|
|
4540
|
+
setVariablesGroup: (group: string, variables: VariableWithHash[], encryption: EncryptionCtx, signal?: AbortSignal) => Promise<({
|
|
4541
|
+
key: string;
|
|
4542
|
+
value: string;
|
|
4543
|
+
flags: ("encrypted" | "oauthCredentialsId")[];
|
|
4544
|
+
group?: string;
|
|
4545
|
+
attributes: {
|
|
4546
|
+
branchId?: string;
|
|
4547
|
+
} & {
|
|
4548
|
+
[key: string]: string;
|
|
4549
|
+
};
|
|
4550
|
+
} & {
|
|
4551
|
+
hash?: string;
|
|
4552
|
+
})[]>;
|
|
4553
|
+
};
|
|
4554
|
+
};
|
|
4555
|
+
vault: {
|
|
4556
|
+
createVariable: (body: CreateVariableBody, signal?: AbortSignal) => Promise<{
|
|
4557
|
+
key: string;
|
|
4558
|
+
value: string;
|
|
4559
|
+
flags: ("encrypted" | "oauthCredentialsId")[];
|
|
4560
|
+
group?: string;
|
|
4561
|
+
attributes: {
|
|
4562
|
+
branchId?: string;
|
|
4563
|
+
} & {
|
|
4564
|
+
[key: string]: string;
|
|
4565
|
+
};
|
|
4566
|
+
} & {
|
|
4567
|
+
hash?: string;
|
|
4568
|
+
}>;
|
|
4569
|
+
deleteVariable: (hash: DeleteVariablePath["hash"], signal?: AbortSignal) => Promise<void>;
|
|
4570
|
+
getProjectWideVariables: (signal?: AbortSignal) => Promise<VariableWithHash[]>;
|
|
4571
|
+
getVariables: (query: GetVariablesQuery, signal?: AbortSignal) => Promise<VariableWithHash[]>;
|
|
4572
|
+
getVariablesByBranchId: (branchId: GetVariablesByBranchId["branchId"], signal?: AbortSignal) => Promise<VariableWithHash[]>;
|
|
4573
|
+
};
|
|
4574
|
+
dataScience: {
|
|
4575
|
+
getAppRuns: (appId: GetDataAppRunsPath["appId"], query?: GetDataAppRunsQuery, signal?: AbortSignal) => Promise<{
|
|
4576
|
+
state: "failed" | "starting" | "running" | "finished";
|
|
4577
|
+
id: string;
|
|
4578
|
+
appId: string;
|
|
4579
|
+
createdAt?: string | null;
|
|
4580
|
+
startedAt?: string | null;
|
|
4581
|
+
stoppedAt?: string | null;
|
|
4582
|
+
startupLogs?: string | null;
|
|
4583
|
+
runtimeSize?: string | null;
|
|
4584
|
+
configVersion?: string | null;
|
|
4585
|
+
failureReason?: {
|
|
4586
|
+
reason?: string | null;
|
|
4587
|
+
message?: string | null;
|
|
4588
|
+
} | null;
|
|
4589
|
+
mode: "prod" | "dev";
|
|
4590
|
+
}[]>;
|
|
4591
|
+
getAppRun: (appId: GetDataAppRunPath["appId"], runId: GetDataAppRunPath["runId"], signal?: AbortSignal) => Promise<{
|
|
4592
|
+
state: "failed" | "starting" | "running" | "finished";
|
|
4593
|
+
id: string;
|
|
4594
|
+
appId: string;
|
|
4595
|
+
createdAt?: string | null;
|
|
4596
|
+
startedAt?: string | null;
|
|
4597
|
+
stoppedAt?: string | null;
|
|
4598
|
+
startupLogs?: string | null;
|
|
4599
|
+
runtimeSize?: string | null;
|
|
4600
|
+
configVersion?: string | null;
|
|
4601
|
+
failureReason?: {
|
|
4602
|
+
reason?: string | null;
|
|
4603
|
+
message?: string | null;
|
|
4604
|
+
} | null;
|
|
4605
|
+
mode: "prod" | "dev";
|
|
4606
|
+
}>;
|
|
4607
|
+
getAppLogsDownload: (id: GetDataAppLogsDownloadPath["appId"], signal?: AbortSignal) => Promise<{
|
|
4608
|
+
logs: string;
|
|
4609
|
+
fileName: string;
|
|
4610
|
+
}>;
|
|
4611
|
+
getAppLogsTail: (id: GetDataAppLogsTailPath["appId"], { query, signal }?: {
|
|
4612
|
+
query?: GetDataAppLogsTailQuery;
|
|
4613
|
+
signal?: AbortSignal;
|
|
4614
|
+
}) => Promise<{
|
|
4615
|
+
entries: LogEntry[];
|
|
4616
|
+
nextLogTimestamp: string | null;
|
|
4617
|
+
}>;
|
|
4618
|
+
getApps: (query: GetAppsQuery, signal?: AbortSignal) => Promise<{
|
|
4619
|
+
id: string;
|
|
4620
|
+
type?: string | null;
|
|
4621
|
+
projectId: string;
|
|
4622
|
+
componentId: string;
|
|
4623
|
+
branchId: string | null;
|
|
4624
|
+
configId: string;
|
|
4625
|
+
configVersion: string;
|
|
4626
|
+
state: "created" | "starting" | "restarting" | "running" | "stopping" | "stopped" | "deleting" | "deleted";
|
|
4627
|
+
desiredState: "running" | "stopped" | "deleted";
|
|
4628
|
+
mode: "prod" | "dev";
|
|
4629
|
+
lastRequestTimestamp: string | null;
|
|
4630
|
+
lastStartTimestamp?: string | null;
|
|
4631
|
+
url?: string | null;
|
|
4632
|
+
autoSuspendAfterSeconds?: number;
|
|
4633
|
+
autoRestartEnabled?: boolean;
|
|
4634
|
+
size?: string | null;
|
|
4635
|
+
provisioningStrategy: "jobQueue" | "operator";
|
|
4636
|
+
hasManagedGitRepo?: boolean;
|
|
4637
|
+
}[]>;
|
|
4638
|
+
getApp: (appId: GetDataAppPath["appId"], signal?: AbortSignal) => Promise<{
|
|
4639
|
+
id: string;
|
|
4640
|
+
type?: string | null;
|
|
4641
|
+
projectId: string;
|
|
4642
|
+
componentId: string;
|
|
4643
|
+
branchId: string | null;
|
|
4644
|
+
configId: string;
|
|
4645
|
+
configVersion: string;
|
|
4646
|
+
state: "created" | "starting" | "restarting" | "running" | "stopping" | "stopped" | "deleting" | "deleted";
|
|
4647
|
+
desiredState: "running" | "stopped" | "deleted";
|
|
4648
|
+
mode: "prod" | "dev";
|
|
4649
|
+
lastRequestTimestamp: string | null;
|
|
4650
|
+
lastStartTimestamp?: string | null;
|
|
4651
|
+
url?: string | null;
|
|
4652
|
+
autoSuspendAfterSeconds?: number;
|
|
4653
|
+
autoRestartEnabled?: boolean;
|
|
4654
|
+
size?: string | null;
|
|
4655
|
+
provisioningStrategy: "jobQueue" | "operator";
|
|
4656
|
+
hasManagedGitRepo?: boolean;
|
|
4657
|
+
}>;
|
|
4658
|
+
createApp: (body: CreateDataAppBody, signal?: AbortSignal) => Promise<{
|
|
4659
|
+
id: string;
|
|
4660
|
+
type?: string | null;
|
|
4661
|
+
projectId: string;
|
|
4662
|
+
componentId: string;
|
|
4663
|
+
branchId: string | null;
|
|
4664
|
+
configId: string;
|
|
4665
|
+
configVersion: string;
|
|
4666
|
+
state: "created" | "starting" | "restarting" | "running" | "stopping" | "stopped" | "deleting" | "deleted";
|
|
4667
|
+
desiredState: "running" | "stopped" | "deleted";
|
|
4668
|
+
mode: "prod" | "dev";
|
|
4669
|
+
lastRequestTimestamp: string | null;
|
|
4670
|
+
lastStartTimestamp?: string | null;
|
|
4671
|
+
url?: string | null;
|
|
4672
|
+
autoSuspendAfterSeconds?: number;
|
|
4673
|
+
autoRestartEnabled?: boolean;
|
|
4674
|
+
size?: string | null;
|
|
4675
|
+
provisioningStrategy: "jobQueue" | "operator";
|
|
4676
|
+
hasManagedGitRepo?: boolean;
|
|
4677
|
+
}>;
|
|
4678
|
+
patchApp: (appId: PatchDataAppPath["appId"], body: PatchDataAppBody, signal?: AbortSignal) => Promise<{
|
|
4679
|
+
id: string;
|
|
4680
|
+
type?: string | null;
|
|
4681
|
+
projectId: string;
|
|
4682
|
+
componentId: string;
|
|
4683
|
+
branchId: string | null;
|
|
4684
|
+
configId: string;
|
|
4685
|
+
configVersion: string;
|
|
4686
|
+
state: "created" | "starting" | "restarting" | "running" | "stopping" | "stopped" | "deleting" | "deleted";
|
|
4687
|
+
desiredState: "running" | "stopped" | "deleted";
|
|
4688
|
+
mode: "prod" | "dev";
|
|
4689
|
+
lastRequestTimestamp: string | null;
|
|
4690
|
+
lastStartTimestamp?: string | null;
|
|
4691
|
+
url?: string | null;
|
|
4692
|
+
autoSuspendAfterSeconds?: number;
|
|
4693
|
+
autoRestartEnabled?: boolean;
|
|
4694
|
+
size?: string | null;
|
|
4695
|
+
provisioningStrategy: "jobQueue" | "operator";
|
|
4696
|
+
hasManagedGitRepo?: boolean;
|
|
4697
|
+
}>;
|
|
4698
|
+
deleteApp: (appId: DeleteDataAppPath["appId"], signal?: AbortSignal) => Promise<ApiResponse<never>>;
|
|
4699
|
+
getAppPassword: (appId: GetDataAppPasswordPath["appId"], signal?: AbortSignal) => Promise<{
|
|
4700
|
+
password?: string;
|
|
4701
|
+
}>;
|
|
4702
|
+
resetAppPassword: (appId: ResetDataAppPasswordPath["appId"], signal?: AbortSignal) => Promise<{
|
|
4703
|
+
id: string;
|
|
4704
|
+
type?: string | null;
|
|
4705
|
+
projectId: string;
|
|
4706
|
+
componentId: string;
|
|
4707
|
+
branchId: string | null;
|
|
4708
|
+
configId: string;
|
|
4709
|
+
configVersion: string;
|
|
4710
|
+
state: "created" | "starting" | "restarting" | "running" | "stopping" | "stopped" | "deleting" | "deleted";
|
|
4711
|
+
desiredState: "running" | "stopped" | "deleted";
|
|
4712
|
+
mode: "prod" | "dev";
|
|
3972
4713
|
lastRequestTimestamp: string | null;
|
|
3973
4714
|
lastStartTimestamp?: string | null;
|
|
3974
4715
|
url?: string | null;
|
|
@@ -3976,771 +4717,1857 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
3976
4717
|
autoRestartEnabled?: boolean;
|
|
3977
4718
|
size?: string | null;
|
|
3978
4719
|
provisioningStrategy: "jobQueue" | "operator";
|
|
4720
|
+
hasManagedGitRepo?: boolean;
|
|
4721
|
+
}>;
|
|
4722
|
+
getRuntimes: (signal?: AbortSignal) => Promise<{
|
|
4723
|
+
description: string;
|
|
4724
|
+
type: string;
|
|
4725
|
+
isTypeDefault: boolean;
|
|
4726
|
+
releaseDate: string;
|
|
4727
|
+
endOfLifeDate?: string | null;
|
|
4728
|
+
imageName?: string | null;
|
|
4729
|
+
imageTag?: string | null;
|
|
4730
|
+
transformationComponentId?: string | null;
|
|
4731
|
+
transformationComponentTag?: string | null;
|
|
4732
|
+
sandboxImageName?: string | null;
|
|
4733
|
+
sandboxImageTag?: string | null;
|
|
4734
|
+
}[]>;
|
|
4735
|
+
getSandbox: (appId: GetSandboxPath["appId"], signal?: AbortSignal) => Promise<{
|
|
4736
|
+
id?: string;
|
|
4737
|
+
projectId?: string;
|
|
4738
|
+
tokenId?: string;
|
|
4739
|
+
branchId?: string | null;
|
|
4740
|
+
configurationId?: string;
|
|
4741
|
+
physicalId?: string;
|
|
4742
|
+
type?: string;
|
|
4743
|
+
active?: boolean;
|
|
4744
|
+
createdTimestamp?: string;
|
|
4745
|
+
startTimestamp?: string;
|
|
4746
|
+
updatedTimestamp?: string;
|
|
4747
|
+
persistentStorage?: {
|
|
4748
|
+
pvcName?: string | null;
|
|
4749
|
+
k8sManifest?: string | null;
|
|
4750
|
+
isEnabled?: boolean;
|
|
4751
|
+
ready?: boolean | null;
|
|
4752
|
+
k8sStorageClassName?: string | null;
|
|
4753
|
+
};
|
|
4754
|
+
shared?: boolean;
|
|
4755
|
+
componentId?: string;
|
|
4756
|
+
configurationVersion?: string;
|
|
4757
|
+
size?: string | null;
|
|
4758
|
+
lastAutosaveTimestamp?: string | null;
|
|
4759
|
+
expirationTimestamp?: string | null;
|
|
4760
|
+
autoSuspendAfterSeconds?: number;
|
|
4761
|
+
expirationAfterHours?: number;
|
|
4762
|
+
user?: string | null;
|
|
4763
|
+
url?: string | null;
|
|
4764
|
+
password?: string | null;
|
|
4765
|
+
autosaveTokenId?: string | null;
|
|
4766
|
+
host?: string | null;
|
|
4767
|
+
imageVersion?: string | null;
|
|
4768
|
+
packages?: string[] | null;
|
|
4769
|
+
sizeParameters?: unknown;
|
|
4770
|
+
stagingWorkspaceId?: unknown;
|
|
4771
|
+
stagingWorkspaceType?: unknown;
|
|
4772
|
+
workspaceDetails?: unknown;
|
|
4773
|
+
databricks?: unknown;
|
|
4774
|
+
credentials?: unknown;
|
|
4775
|
+
}>;
|
|
4776
|
+
};
|
|
4777
|
+
encryption: {
|
|
4778
|
+
encryptSecrets: <T extends Record<string, unknown>>(data: EncryptQuery & {
|
|
4779
|
+
data: T;
|
|
4780
|
+
}, signal?: AbortSignal) => Promise<T>;
|
|
4781
|
+
encrypt: (data: EncryptQuery & {
|
|
4782
|
+
data: string;
|
|
4783
|
+
}, signal?: AbortSignal) => Promise<string>;
|
|
4784
|
+
};
|
|
4785
|
+
editor: {
|
|
4786
|
+
createSession: (body: CreateSqlSessionBody) => Promise<{
|
|
4787
|
+
id: string;
|
|
4788
|
+
createdAt: string;
|
|
4789
|
+
updatedAt: string;
|
|
4790
|
+
status: "initializing" | "ready" | "loading" | "unloading" | "failed" | "deleted";
|
|
4791
|
+
userId: string;
|
|
4792
|
+
branchId: string;
|
|
4793
|
+
componentId: string;
|
|
4794
|
+
configurationId: string;
|
|
4795
|
+
workspaceSchema: string;
|
|
4796
|
+
workspaceDatabase?: string | null;
|
|
4797
|
+
workspaceId: string;
|
|
4798
|
+
workspaceCreateJobId: string | null;
|
|
4799
|
+
workspaceLoadJobs: {
|
|
4800
|
+
id: string;
|
|
4801
|
+
type: string;
|
|
4802
|
+
}[];
|
|
4803
|
+
snowflakePrivateKey?: string;
|
|
4804
|
+
readOnlyStorageAccess?: boolean;
|
|
4805
|
+
backendType?: "snowflake" | "bigquery" | null;
|
|
4806
|
+
backendSize?: string | null;
|
|
4807
|
+
lastError?: string | null;
|
|
4808
|
+
shared: boolean;
|
|
4809
|
+
workspaceLoginType?: "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "default" | null;
|
|
4810
|
+
lastLoadedAt?: string | null;
|
|
4811
|
+
}>;
|
|
4812
|
+
getSession: ({ id }: GetSqlSessionPath, signal?: AbortSignal) => Promise<{
|
|
4813
|
+
id: string;
|
|
4814
|
+
createdAt: string;
|
|
4815
|
+
updatedAt: string;
|
|
4816
|
+
status: "initializing" | "ready" | "loading" | "unloading" | "failed" | "deleted";
|
|
4817
|
+
userId: string;
|
|
4818
|
+
branchId: string;
|
|
4819
|
+
componentId: string;
|
|
4820
|
+
configurationId: string;
|
|
4821
|
+
workspaceSchema: string;
|
|
4822
|
+
workspaceDatabase?: string | null;
|
|
4823
|
+
workspaceId: string;
|
|
4824
|
+
workspaceCreateJobId: string | null;
|
|
4825
|
+
workspaceLoadJobs: {
|
|
4826
|
+
id: string;
|
|
4827
|
+
type: string;
|
|
4828
|
+
}[];
|
|
4829
|
+
snowflakePrivateKey?: string;
|
|
4830
|
+
readOnlyStorageAccess?: boolean;
|
|
4831
|
+
backendType?: "snowflake" | "bigquery" | null;
|
|
4832
|
+
backendSize?: string | null;
|
|
4833
|
+
lastError?: string | null;
|
|
4834
|
+
shared: boolean;
|
|
4835
|
+
workspaceLoginType?: "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "default" | null;
|
|
4836
|
+
lastLoadedAt?: string | null;
|
|
4837
|
+
}>;
|
|
4838
|
+
getSessions: (query: GetSqlSessionsQuery, signal?: AbortSignal) => Promise<{
|
|
4839
|
+
id: string;
|
|
4840
|
+
createdAt: string;
|
|
4841
|
+
updatedAt: string;
|
|
4842
|
+
status: "initializing" | "ready" | "loading" | "unloading" | "failed" | "deleted";
|
|
4843
|
+
userId: string;
|
|
4844
|
+
branchId: string;
|
|
4845
|
+
componentId: string;
|
|
4846
|
+
configurationId: string;
|
|
4847
|
+
workspaceSchema: string;
|
|
4848
|
+
workspaceDatabase?: string | null;
|
|
4849
|
+
workspaceId: string;
|
|
4850
|
+
workspaceCreateJobId: string | null;
|
|
4851
|
+
workspaceLoadJobs: {
|
|
4852
|
+
id: string;
|
|
4853
|
+
type: string;
|
|
4854
|
+
}[];
|
|
4855
|
+
snowflakePrivateKey?: string;
|
|
4856
|
+
readOnlyStorageAccess?: boolean;
|
|
4857
|
+
backendType?: "snowflake" | "bigquery" | null;
|
|
4858
|
+
backendSize?: string | null;
|
|
4859
|
+
lastError?: string | null;
|
|
4860
|
+
shared: boolean;
|
|
4861
|
+
workspaceLoginType?: "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "default" | null;
|
|
4862
|
+
lastLoadedAt?: string | null;
|
|
4863
|
+
}[]>;
|
|
4864
|
+
getSessionSchema: ({ id, onlyWorkspaceSchema, loadTables, }: GetSqlSessionSchemaPath & GetSqlSessionSchemaQuery, signal?: AbortSignal) => Promise<{
|
|
4865
|
+
databases: components["schemas"]["Catalog"][];
|
|
4866
|
+
}>;
|
|
4867
|
+
createQueryJob: ({ id }: PostSqlRunQueryPath, body: PostSqlRunQueryBody) => Promise<{
|
|
4868
|
+
queryJobId: string;
|
|
4869
|
+
url: string;
|
|
4870
|
+
}>;
|
|
4871
|
+
tablePreview: ({ id }: PostSqlTablePreviewPath, body: PostSqlTablePreviewBody) => Promise<{
|
|
4872
|
+
queryJobId: string;
|
|
4873
|
+
url: string;
|
|
4874
|
+
}>;
|
|
4875
|
+
tableDefinition: ({ id, ...query }: GetSqlSessionTableDdlPath & GetSqlSessionTableDdlQuery, signal?: AbortSignal) => Promise<{
|
|
4876
|
+
ddl: string;
|
|
4877
|
+
}>;
|
|
4878
|
+
load: ({ id }: PostSqlSessionLoadPath, body: PostSqlSessionLoadBody) => Promise<{
|
|
4879
|
+
id: string;
|
|
4880
|
+
createdAt: string;
|
|
4881
|
+
updatedAt: string;
|
|
4882
|
+
status: "initializing" | "ready" | "loading" | "unloading" | "failed" | "deleted";
|
|
4883
|
+
userId: string;
|
|
4884
|
+
branchId: string;
|
|
4885
|
+
componentId: string;
|
|
4886
|
+
configurationId: string;
|
|
4887
|
+
workspaceSchema: string;
|
|
4888
|
+
workspaceDatabase?: string | null;
|
|
4889
|
+
workspaceId: string;
|
|
4890
|
+
workspaceCreateJobId: string | null;
|
|
4891
|
+
workspaceLoadJobs: {
|
|
4892
|
+
id: string;
|
|
4893
|
+
type: string;
|
|
4894
|
+
}[];
|
|
4895
|
+
snowflakePrivateKey?: string;
|
|
4896
|
+
readOnlyStorageAccess?: boolean;
|
|
4897
|
+
backendType?: "snowflake" | "bigquery" | null;
|
|
4898
|
+
backendSize?: string | null;
|
|
4899
|
+
lastError?: string | null;
|
|
4900
|
+
shared: boolean;
|
|
4901
|
+
workspaceLoginType?: "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "default" | null;
|
|
4902
|
+
lastLoadedAt?: string | null;
|
|
4903
|
+
}>;
|
|
4904
|
+
unload: ({ id }: PostSqlSessionUnloadPath, body?: PostSqlSessionUnloadBody) => Promise<{
|
|
4905
|
+
id: string;
|
|
4906
|
+
createdAt: string;
|
|
4907
|
+
updatedAt: string;
|
|
4908
|
+
status: "initializing" | "ready" | "loading" | "unloading" | "failed" | "deleted";
|
|
4909
|
+
userId: string;
|
|
4910
|
+
branchId: string;
|
|
4911
|
+
componentId: string;
|
|
4912
|
+
configurationId: string;
|
|
4913
|
+
workspaceSchema: string;
|
|
4914
|
+
workspaceDatabase?: string | null;
|
|
4915
|
+
workspaceId: string;
|
|
4916
|
+
workspaceCreateJobId: string | null;
|
|
4917
|
+
workspaceLoadJobs: {
|
|
4918
|
+
id: string;
|
|
4919
|
+
type: string;
|
|
4920
|
+
}[];
|
|
4921
|
+
snowflakePrivateKey?: string;
|
|
4922
|
+
readOnlyStorageAccess?: boolean;
|
|
4923
|
+
backendType?: "snowflake" | "bigquery" | null;
|
|
4924
|
+
backendSize?: string | null;
|
|
4925
|
+
lastError?: string | null;
|
|
4926
|
+
shared: boolean;
|
|
4927
|
+
workspaceLoginType?: "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "default" | null;
|
|
4928
|
+
lastLoadedAt?: string | null;
|
|
4929
|
+
}>;
|
|
4930
|
+
resetWorkspacePassword: (id: string) => Promise<{
|
|
4931
|
+
username: string;
|
|
4932
|
+
password: string;
|
|
4933
|
+
host: string;
|
|
4934
|
+
database: string;
|
|
4935
|
+
schema: string;
|
|
4936
|
+
warehouse: string;
|
|
4937
|
+
}>;
|
|
4938
|
+
getSessionCredentials: (id: string, signal?: AbortSignal) => Promise<{
|
|
4939
|
+
[key: string]: unknown;
|
|
4940
|
+
}>;
|
|
4941
|
+
};
|
|
4942
|
+
syncActions: {
|
|
4943
|
+
sendSyncAction: (body: PostActionsBody, signal?: AbortSignal) => Promise<Record<string, never>>;
|
|
4944
|
+
enrollMFA: ({ email, ...rest }: EnrollMFAInput, signal?: AbortSignal) => Promise<Record<string, never>>;
|
|
4945
|
+
gitRepository: {
|
|
4946
|
+
getDataAppPublicGitRepository: ({ repositoryUrl, ...other }: GetDataAppPublicGitRepositoryInput, signal?: AbortSignal) => Promise<{
|
|
4947
|
+
repository: {
|
|
4948
|
+
url: string;
|
|
4949
|
+
};
|
|
4950
|
+
branches: {
|
|
4951
|
+
sha: string;
|
|
4952
|
+
date: string;
|
|
4953
|
+
comment: string;
|
|
4954
|
+
branch: string;
|
|
4955
|
+
author: {
|
|
4956
|
+
name: string;
|
|
4957
|
+
email: string;
|
|
4958
|
+
};
|
|
4959
|
+
}[];
|
|
4960
|
+
}>;
|
|
4961
|
+
getDataAppPasswordPrivateGitRepository: ({ repositoryUrl, username, password, ...other }: GetDataAppPasswordPrivateGitRepositoryInput, signal?: AbortSignal) => Promise<{
|
|
4962
|
+
repository: {
|
|
4963
|
+
url: string;
|
|
4964
|
+
};
|
|
4965
|
+
branches: {
|
|
4966
|
+
sha: string;
|
|
4967
|
+
date: string;
|
|
4968
|
+
comment: string;
|
|
4969
|
+
branch: string;
|
|
4970
|
+
author: {
|
|
4971
|
+
name: string;
|
|
4972
|
+
email: string;
|
|
4973
|
+
};
|
|
4974
|
+
}[];
|
|
4975
|
+
}>;
|
|
4976
|
+
getDataAppSSHKeyPrivateGitRepository: ({ repositoryUrl, username, sshKey, ...other }: GetDataAppSSHKeyPrivateGitRepositoryInput, signal?: AbortSignal) => Promise<{
|
|
4977
|
+
repository: {
|
|
4978
|
+
url: string;
|
|
4979
|
+
};
|
|
4980
|
+
branches: {
|
|
4981
|
+
sha: string;
|
|
4982
|
+
date: string;
|
|
4983
|
+
comment: string;
|
|
4984
|
+
branch: string;
|
|
4985
|
+
author: {
|
|
4986
|
+
name: string;
|
|
4987
|
+
email: string;
|
|
4988
|
+
};
|
|
4989
|
+
}[];
|
|
4990
|
+
}>;
|
|
4991
|
+
getPublicGitRepository: ({ repositoryUrl, componentId, ...other }: GetPublicGitRepositoryInput, signal?: AbortSignal) => Promise<{
|
|
4992
|
+
repository: {
|
|
4993
|
+
url: string;
|
|
4994
|
+
};
|
|
4995
|
+
branches: {
|
|
4996
|
+
sha: string;
|
|
4997
|
+
date: string;
|
|
4998
|
+
comment: string;
|
|
4999
|
+
branch: string;
|
|
5000
|
+
author: {
|
|
5001
|
+
name: string;
|
|
5002
|
+
email: string;
|
|
5003
|
+
};
|
|
5004
|
+
}[];
|
|
5005
|
+
}>;
|
|
5006
|
+
getPrivateGitRepository: ({ repositoryUrl, username, password, componentId, ...other }: GetGitPrivateRepositoryInput, signal?: AbortSignal) => Promise<{
|
|
5007
|
+
repository: {
|
|
5008
|
+
url: string;
|
|
5009
|
+
};
|
|
5010
|
+
branches: {
|
|
5011
|
+
sha: string;
|
|
5012
|
+
date: string;
|
|
5013
|
+
comment: string;
|
|
5014
|
+
branch: string;
|
|
5015
|
+
author: {
|
|
5016
|
+
name: string;
|
|
5017
|
+
email: string;
|
|
5018
|
+
};
|
|
5019
|
+
}[];
|
|
5020
|
+
}>;
|
|
5021
|
+
};
|
|
5022
|
+
};
|
|
5023
|
+
telemetry: {
|
|
5024
|
+
provisioning: {
|
|
5025
|
+
createCredentials: (body: CreateCredentialsBody, signal?: AbortSignal) => Promise<WorkspaceData>;
|
|
5026
|
+
};
|
|
5027
|
+
};
|
|
5028
|
+
queryService: {
|
|
5029
|
+
createQueryJob: (branchId: PostQueryPath["branchId"], workspaceId: PostQueryPath["workspaceId"], body: PostQueryBody) => Promise<{
|
|
5030
|
+
queryJobId: string;
|
|
5031
|
+
sessionId?: string;
|
|
5032
|
+
}>;
|
|
5033
|
+
cancelQueryJob: (queryJobId: PostCancelQueryJobPath["queryJobId"]) => Promise<{
|
|
5034
|
+
queryJobId: string;
|
|
5035
|
+
}>;
|
|
5036
|
+
getQueryJob: (queryJobId: GetQueryJobPath["queryJobId"]) => Promise<{
|
|
5037
|
+
actorType: components$1["schemas"]["models.ActorType"];
|
|
5038
|
+
canceledAt?: string;
|
|
5039
|
+
cancellationReason?: string;
|
|
5040
|
+
changedAt: string;
|
|
5041
|
+
createdAt: string;
|
|
5042
|
+
expiration?: string;
|
|
5043
|
+
queryJobId: string;
|
|
5044
|
+
statements: components$1["schemas"]["handlers.Statement"][];
|
|
5045
|
+
status: components$1["schemas"]["models.JobState"];
|
|
5046
|
+
}>;
|
|
5047
|
+
getQueryResults: (queryJobId: GetQueryResultsPath["queryJobId"], statementId: GetQueryResultsPath["statementId"], query?: GetQueryResutsQuery) => Promise<{
|
|
5048
|
+
columns?: components$1["schemas"]["handlers.Column"][];
|
|
5049
|
+
data?: string[][];
|
|
5050
|
+
message?: string;
|
|
5051
|
+
numberOfRows?: number;
|
|
5052
|
+
rowsAffected?: number;
|
|
5053
|
+
status: components$1["schemas"]["models.StatementState"];
|
|
5054
|
+
}>;
|
|
5055
|
+
getQueryHistory: (branchId: GetQueriesPath["branchId"], workspaceId: GetQueriesPath["workspaceId"], query?: GetQueriesHistoryQuery) => Promise<{
|
|
5056
|
+
statements: components$1["schemas"]["handlers.StatementWithWorkspaceInfo"][];
|
|
5057
|
+
}>;
|
|
5058
|
+
exportResults: (queryJobId: GetQueryResultsPath["queryJobId"], statementId: GetQueryResultsPath["statementId"], query: GetExportResultsQuery, signal?: AbortSignal) => Promise<ExportResultsResponse>;
|
|
5059
|
+
};
|
|
5060
|
+
queue: {
|
|
5061
|
+
getJob: (jobId: GetQueueJobPath["jobId"], signal?: AbortSignal) => Promise<{
|
|
5062
|
+
id: string;
|
|
5063
|
+
runId: string;
|
|
5064
|
+
branchId?: string;
|
|
5065
|
+
project: {
|
|
5066
|
+
id: string;
|
|
5067
|
+
};
|
|
5068
|
+
token: {
|
|
5069
|
+
id?: string;
|
|
5070
|
+
description?: string;
|
|
5071
|
+
};
|
|
5072
|
+
status: components$2["schemas"]["JobStatus"];
|
|
5073
|
+
desiredStatus?: "processing" | "terminating" | null;
|
|
5074
|
+
component: string;
|
|
5075
|
+
mode: "run" | "debug";
|
|
5076
|
+
tag?: string | null;
|
|
5077
|
+
config?: string | null;
|
|
5078
|
+
configRow?: string | null;
|
|
5079
|
+
configData?: Record<string, never> | null;
|
|
5080
|
+
result?: {
|
|
5081
|
+
images?: {
|
|
5082
|
+
digests?: string[];
|
|
5083
|
+
id?: string;
|
|
5084
|
+
}[];
|
|
5085
|
+
configVersion?: number;
|
|
5086
|
+
message?: string;
|
|
5087
|
+
} | null;
|
|
5088
|
+
createdTime: string;
|
|
5089
|
+
startTime?: string | null;
|
|
5090
|
+
endTime?: string | null;
|
|
5091
|
+
delayedStartTime?: string | null;
|
|
5092
|
+
durationSeconds?: number | null;
|
|
5093
|
+
isFinished: boolean;
|
|
5094
|
+
url: string;
|
|
5095
|
+
variableValuesId?: string | null;
|
|
5096
|
+
variableValuesData?: {
|
|
5097
|
+
values?: {
|
|
5098
|
+
name?: string;
|
|
5099
|
+
value?: string;
|
|
5100
|
+
}[];
|
|
5101
|
+
} | null;
|
|
5102
|
+
backend?: {
|
|
5103
|
+
type?: string;
|
|
5104
|
+
containerType?: string;
|
|
5105
|
+
context?: string;
|
|
5106
|
+
} | null;
|
|
5107
|
+
metrics?: {
|
|
5108
|
+
storage?: {
|
|
5109
|
+
inputTablesBytesSum?: number;
|
|
5110
|
+
outputTablesBytesSum?: number;
|
|
5111
|
+
};
|
|
5112
|
+
backend?: {
|
|
5113
|
+
type?: string;
|
|
5114
|
+
containerType?: string;
|
|
5115
|
+
context?: string;
|
|
5116
|
+
};
|
|
5117
|
+
} | null;
|
|
5118
|
+
type?: components$2["schemas"]["JobType"];
|
|
5119
|
+
orchestrationTaskId?: string | null;
|
|
5120
|
+
previousJobId?: string | null;
|
|
5121
|
+
onlyOrchestrationTaskIds?: string[] | null;
|
|
5122
|
+
}>;
|
|
5123
|
+
searchJobs: (query?: SearchJobsQuery, signal?: AbortSignal) => Promise<{
|
|
5124
|
+
id: string;
|
|
5125
|
+
runId: string;
|
|
5126
|
+
branchId?: string;
|
|
5127
|
+
project: {
|
|
5128
|
+
id: string;
|
|
5129
|
+
};
|
|
5130
|
+
token: {
|
|
5131
|
+
id?: string;
|
|
5132
|
+
description?: string;
|
|
5133
|
+
};
|
|
5134
|
+
status: components$2["schemas"]["JobStatus"];
|
|
5135
|
+
desiredStatus?: "processing" | "terminating" | null;
|
|
5136
|
+
component: string;
|
|
5137
|
+
mode: "run" | "debug";
|
|
5138
|
+
tag?: string | null;
|
|
5139
|
+
config?: string | null;
|
|
5140
|
+
configRow?: string | null;
|
|
5141
|
+
configData?: Record<string, never> | null;
|
|
5142
|
+
result?: {
|
|
5143
|
+
images?: {
|
|
5144
|
+
digests?: string[];
|
|
5145
|
+
id?: string;
|
|
5146
|
+
}[];
|
|
5147
|
+
configVersion?: number;
|
|
5148
|
+
message?: string;
|
|
5149
|
+
} | null;
|
|
5150
|
+
createdTime: string;
|
|
5151
|
+
startTime?: string | null;
|
|
5152
|
+
endTime?: string | null;
|
|
5153
|
+
delayedStartTime?: string | null;
|
|
5154
|
+
durationSeconds?: number | null;
|
|
5155
|
+
isFinished: boolean;
|
|
5156
|
+
url: string;
|
|
5157
|
+
variableValuesId?: string | null;
|
|
5158
|
+
variableValuesData?: {
|
|
5159
|
+
values?: {
|
|
5160
|
+
name?: string;
|
|
5161
|
+
value?: string;
|
|
5162
|
+
}[];
|
|
5163
|
+
} | null;
|
|
5164
|
+
backend?: {
|
|
5165
|
+
type?: string;
|
|
5166
|
+
containerType?: string;
|
|
5167
|
+
context?: string;
|
|
5168
|
+
} | null;
|
|
5169
|
+
metrics?: {
|
|
5170
|
+
storage?: {
|
|
5171
|
+
inputTablesBytesSum?: number;
|
|
5172
|
+
outputTablesBytesSum?: number;
|
|
5173
|
+
};
|
|
5174
|
+
backend?: {
|
|
5175
|
+
type?: string;
|
|
5176
|
+
containerType?: string;
|
|
5177
|
+
context?: string;
|
|
5178
|
+
};
|
|
5179
|
+
} | null;
|
|
5180
|
+
type?: components$2["schemas"]["JobType"];
|
|
5181
|
+
orchestrationTaskId?: string | null;
|
|
5182
|
+
previousJobId?: string | null;
|
|
5183
|
+
onlyOrchestrationTaskIds?: string[] | null;
|
|
5184
|
+
}[]>;
|
|
5185
|
+
};
|
|
5186
|
+
chat: {
|
|
5187
|
+
getHistory: (params?: GetHistoryQuery$1) => Promise<{
|
|
5188
|
+
chats: components$3["schemas"]["Chat"][];
|
|
5189
|
+
hasMore: boolean;
|
|
5190
|
+
}>;
|
|
5191
|
+
getChat: (chatId: GetChatPath$1["id"], signal?: AbortSignal) => Promise<{
|
|
5192
|
+
id: string;
|
|
5193
|
+
title: string;
|
|
5194
|
+
userId: string;
|
|
5195
|
+
createdAt: string;
|
|
5196
|
+
lastMessageAt: string;
|
|
5197
|
+
visibility: "public" | "private";
|
|
5198
|
+
branchId?: number | null;
|
|
5199
|
+
messages: components$3["schemas"]["Message"][];
|
|
5200
|
+
}>;
|
|
5201
|
+
deleteChat: (chatId: string) => Promise<{
|
|
5202
|
+
id: string;
|
|
5203
|
+
title: string;
|
|
5204
|
+
userId: string;
|
|
5205
|
+
createdAt: string;
|
|
5206
|
+
lastMessageAt: string;
|
|
5207
|
+
visibility: "public" | "private";
|
|
5208
|
+
branchId?: number | null;
|
|
5209
|
+
}>;
|
|
5210
|
+
createChat: (request: ChatRequest$1) => Promise<Response>;
|
|
5211
|
+
getVotes: (chatId: GetVotesQuery$1["chatId"]) => Promise<{
|
|
5212
|
+
chatId: string;
|
|
5213
|
+
messageId: string;
|
|
5214
|
+
isUpvoted: boolean;
|
|
5215
|
+
}[]>;
|
|
5216
|
+
submitVote: (params: VoteRequest$1) => Promise<void>;
|
|
5217
|
+
getUsage: (signal?: AbortSignal) => Promise<UsageResponse$1>;
|
|
5218
|
+
getSuggestions: (request: SuggestionsRequestBody, signal?: AbortSignal) => Promise<SuggestionsApiResponse>;
|
|
5219
|
+
getAgentSettings: (signal?: AbortSignal) => Promise<AgentSettings>;
|
|
5220
|
+
updateAgentSettings: (request: UpdateAgentSettingsRequest, signal?: AbortSignal) => Promise<AgentSettings>;
|
|
5221
|
+
getUserAgentSettings: (signal?: AbortSignal) => Promise<UserAgentSettings>;
|
|
5222
|
+
updateUserAgentSettings: (request: UpdateUserAgentSettingsRequest, signal?: AbortSignal) => Promise<UserAgentSettings>;
|
|
5223
|
+
getToolsList: (signal?: AbortSignal) => Promise<ToolsListResponse>;
|
|
5224
|
+
};
|
|
5225
|
+
ai: {
|
|
5226
|
+
describeConfigurationVersion: (body: DescribeConfigurationVersionBody) => Promise<{
|
|
5227
|
+
description: string;
|
|
5228
|
+
correlationId: string;
|
|
5229
|
+
}>;
|
|
5230
|
+
describeConfigurationMerge: (body: DescribeConfigurationMergeBody) => Promise<{
|
|
5231
|
+
description: string;
|
|
5232
|
+
correlationId: string;
|
|
5233
|
+
}>;
|
|
5234
|
+
explainError: (body: ExplainErrorBody) => Promise<{
|
|
5235
|
+
answer: string;
|
|
5236
|
+
correlationId: string;
|
|
5237
|
+
}>;
|
|
5238
|
+
describeConfiguration: (body: DescribeConfigurationBody) => Promise<{
|
|
5239
|
+
description: string;
|
|
5240
|
+
correlationId: string;
|
|
5241
|
+
}>;
|
|
5242
|
+
suggestComponent: (body: SuggestComponentBody) => Promise<{
|
|
5243
|
+
components: components$4["schemas"]["SuggestedComponent"][];
|
|
5244
|
+
correlationId: string;
|
|
5245
|
+
}>;
|
|
5246
|
+
feedback: (body: FeedbackBody) => Promise<never>;
|
|
5247
|
+
};
|
|
5248
|
+
import: {
|
|
5249
|
+
uploadFile: (file: File, params?: UploadFileParams, signal?: AbortSignal) => Promise<UploadedFile>;
|
|
5250
|
+
};
|
|
5251
|
+
kaiAgent: {
|
|
5252
|
+
getHistory: (params?: GetHistoryQuery) => Promise<{
|
|
5253
|
+
chats: {
|
|
5254
|
+
id?: string;
|
|
5255
|
+
title?: string;
|
|
5256
|
+
userId?: string;
|
|
5257
|
+
createdAt?: string;
|
|
5258
|
+
lastMessageAt?: string;
|
|
5259
|
+
visibility?: "public" | "private";
|
|
5260
|
+
branchId?: number | null;
|
|
5261
|
+
}[];
|
|
5262
|
+
hasMore: boolean;
|
|
5263
|
+
}>;
|
|
5264
|
+
getChat: (chatId: GetChatPath["id"], signal?: AbortSignal) => Promise<{
|
|
5265
|
+
id: string;
|
|
5266
|
+
title: string;
|
|
5267
|
+
userId: string;
|
|
5268
|
+
createdAt: string;
|
|
5269
|
+
lastMessageAt: string;
|
|
5270
|
+
visibility: "public" | "private";
|
|
5271
|
+
branchId?: number | null;
|
|
5272
|
+
messages: {
|
|
5273
|
+
id: string;
|
|
5274
|
+
role: "user" | "assistant";
|
|
5275
|
+
parts: ({
|
|
5276
|
+
type: "text";
|
|
5277
|
+
text: string;
|
|
5278
|
+
state?: "done";
|
|
5279
|
+
} | {
|
|
5280
|
+
type: "tool-result";
|
|
5281
|
+
toolCallId: string;
|
|
5282
|
+
toolName: string;
|
|
5283
|
+
result: string;
|
|
5284
|
+
} | {
|
|
5285
|
+
type: "step-start";
|
|
5286
|
+
} | {
|
|
5287
|
+
type: "data-compact-boundary";
|
|
5288
|
+
data: {
|
|
5289
|
+
trigger: "manual" | "auto";
|
|
5290
|
+
preTokens: number;
|
|
5291
|
+
preservedSegment?: {
|
|
5292
|
+
headUuid: string;
|
|
5293
|
+
anchorUuid: string;
|
|
5294
|
+
tailUuid: string;
|
|
5295
|
+
};
|
|
5296
|
+
summary: string;
|
|
5297
|
+
sdkSessionId: string;
|
|
5298
|
+
};
|
|
5299
|
+
} | {
|
|
5300
|
+
type: string;
|
|
5301
|
+
toolCallId: string;
|
|
5302
|
+
state: "output-available" | "output-error" | "output-denied" | "input-available" | "input-streaming" | "approval-requested" | "approval-responded";
|
|
5303
|
+
input?: {
|
|
5304
|
+
[key: string]: unknown;
|
|
5305
|
+
};
|
|
5306
|
+
output?: unknown;
|
|
5307
|
+
errorText?: string;
|
|
5308
|
+
approval?: {
|
|
5309
|
+
id: string;
|
|
5310
|
+
approved: boolean;
|
|
5311
|
+
reason?: string;
|
|
5312
|
+
};
|
|
5313
|
+
})[];
|
|
5314
|
+
metadata?: {
|
|
5315
|
+
createdAt?: string;
|
|
5316
|
+
hidden?: boolean;
|
|
5317
|
+
requestContext?: {
|
|
5318
|
+
path?: string;
|
|
5319
|
+
sqlEditorActive?: boolean;
|
|
5320
|
+
};
|
|
5321
|
+
};
|
|
5322
|
+
status?: "pending" | "completed" | "interrupted" | "failed";
|
|
5323
|
+
}[];
|
|
5324
|
+
}>;
|
|
5325
|
+
deleteChat: (chatId: string) => Promise<{
|
|
5326
|
+
id?: string;
|
|
5327
|
+
title?: string;
|
|
5328
|
+
userId?: string;
|
|
5329
|
+
createdAt?: string;
|
|
5330
|
+
visibility?: "public" | "private";
|
|
5331
|
+
branchId?: number | null;
|
|
3979
5332
|
}>;
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
5333
|
+
createChat: (request: ChatRequest) => Promise<Response>;
|
|
5334
|
+
getVotes: (chatId: GetVotesQuery["chatId"]) => Promise<{
|
|
5335
|
+
chatId: string;
|
|
5336
|
+
messageId: string;
|
|
5337
|
+
isUpvoted: boolean;
|
|
5338
|
+
}[]>;
|
|
5339
|
+
submitVote: (params: VoteRequest) => Promise<void>;
|
|
5340
|
+
getUsage: (signal?: AbortSignal) => Promise<UsageResponse>;
|
|
5341
|
+
approveToolCall: (chatId: string, body: ApprovalBody) => Promise<void>;
|
|
5342
|
+
submitToolOutput: (chatId: string, body: {
|
|
5343
|
+
toolUseId: string;
|
|
5344
|
+
output?: string;
|
|
5345
|
+
errorText?: string;
|
|
5346
|
+
}) => Promise<void>;
|
|
5347
|
+
stopChat: (chatId: string) => Promise<{
|
|
5348
|
+
stopped: boolean;
|
|
3983
5349
|
}>;
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
type?: string | null;
|
|
5350
|
+
getSuggestions: (request: SuggestionsRequestBody, signal?: AbortSignal) => Promise<SuggestionsApiResponse>;
|
|
5351
|
+
getAgentSettings: (signal?: AbortSignal) => Promise<{
|
|
3987
5352
|
projectId: string;
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
configVersion: string;
|
|
3992
|
-
state: "created" | "starting" | "restarting" | "running" | "stopping" | "stopped" | "deleting" | "deleted";
|
|
3993
|
-
desiredState: "running" | "stopped" | "deleted";
|
|
3994
|
-
lastRequestTimestamp: string | null;
|
|
3995
|
-
lastStartTimestamp?: string | null;
|
|
3996
|
-
url?: string | null;
|
|
3997
|
-
autoSuspendAfterSeconds?: number;
|
|
3998
|
-
autoRestartEnabled?: boolean;
|
|
3999
|
-
size?: string | null;
|
|
4000
|
-
provisioningStrategy: "jobQueue" | "operator";
|
|
5353
|
+
customInstructions: string | null;
|
|
5354
|
+
createdAt: string;
|
|
5355
|
+
updatedAt: string;
|
|
4001
5356
|
}>;
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
imageTag?: string | null;
|
|
4010
|
-
transformationComponentId?: string | null;
|
|
4011
|
-
transformationComponentTag?: string | null;
|
|
4012
|
-
sandboxImageName?: string | null;
|
|
4013
|
-
sandboxImageTag?: string | null;
|
|
4014
|
-
}[]>;
|
|
4015
|
-
getSandbox: (appId: GetSandboxPath["appId"], signal?: AbortSignal) => Promise<{
|
|
4016
|
-
id?: string;
|
|
4017
|
-
projectId?: string;
|
|
4018
|
-
tokenId?: string;
|
|
4019
|
-
branchId?: string | null;
|
|
4020
|
-
configurationId?: string;
|
|
4021
|
-
physicalId?: string;
|
|
4022
|
-
type?: string;
|
|
4023
|
-
active?: boolean;
|
|
4024
|
-
createdTimestamp?: string;
|
|
4025
|
-
startTimestamp?: string;
|
|
4026
|
-
updatedTimestamp?: string;
|
|
4027
|
-
persistentStorage?: {
|
|
4028
|
-
pvcName?: string | null;
|
|
4029
|
-
k8sManifest?: string | null;
|
|
4030
|
-
isEnabled?: boolean;
|
|
4031
|
-
ready?: boolean | null;
|
|
4032
|
-
k8sStorageClassName?: string | null;
|
|
4033
|
-
};
|
|
4034
|
-
shared?: boolean;
|
|
4035
|
-
componentId?: string;
|
|
4036
|
-
configurationVersion?: string;
|
|
4037
|
-
size?: string | null;
|
|
4038
|
-
lastAutosaveTimestamp?: string | null;
|
|
4039
|
-
expirationTimestamp?: string | null;
|
|
4040
|
-
autoSuspendAfterSeconds?: number;
|
|
4041
|
-
expirationAfterHours?: number;
|
|
4042
|
-
user?: string | null;
|
|
4043
|
-
url?: string | null;
|
|
4044
|
-
password?: string | null;
|
|
4045
|
-
autosaveTokenId?: string | null;
|
|
4046
|
-
host?: string | null;
|
|
4047
|
-
imageVersion?: string | null;
|
|
4048
|
-
packages?: string[] | null;
|
|
4049
|
-
sizeParameters?: unknown;
|
|
4050
|
-
stagingWorkspaceId?: unknown;
|
|
4051
|
-
stagingWorkspaceType?: unknown;
|
|
4052
|
-
workspaceDetails?: unknown;
|
|
4053
|
-
databricks?: unknown;
|
|
4054
|
-
credentials?: unknown;
|
|
5357
|
+
updateAgentSettings: (request: {
|
|
5358
|
+
customInstructions?: string | null;
|
|
5359
|
+
}, signal?: AbortSignal) => Promise<{
|
|
5360
|
+
projectId: string;
|
|
5361
|
+
customInstructions: string | null;
|
|
5362
|
+
createdAt: string;
|
|
5363
|
+
updatedAt: string;
|
|
4055
5364
|
}>;
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
encrypt: (data: EncryptQuery & {
|
|
4062
|
-
data: string;
|
|
4063
|
-
}, signal?: AbortSignal) => Promise<string>;
|
|
4064
|
-
};
|
|
4065
|
-
editor: {
|
|
4066
|
-
createSession: (body: CreateSqlSessionBody) => Promise<{
|
|
4067
|
-
id: string;
|
|
5365
|
+
getUserAgentSettings: (signal?: AbortSignal) => Promise<{
|
|
5366
|
+
projectId: string;
|
|
5367
|
+
userId: string;
|
|
5368
|
+
customInstructions: string | null;
|
|
5369
|
+
toolPermissions: Record<string, "always_allow" | "always_ask" | "blocked"> | null;
|
|
4068
5370
|
createdAt: string;
|
|
4069
5371
|
updatedAt: string;
|
|
4070
|
-
|
|
5372
|
+
}>;
|
|
5373
|
+
updateUserAgentSettings: (request: {
|
|
5374
|
+
customInstructions?: string | null;
|
|
5375
|
+
toolPermissions?: Record<string, zod.infer<zod.ZodEnum<{
|
|
5376
|
+
always_allow: "always_allow";
|
|
5377
|
+
always_ask: "always_ask";
|
|
5378
|
+
blocked: "blocked";
|
|
5379
|
+
}>>> | null;
|
|
5380
|
+
}, signal?: AbortSignal) => Promise<{
|
|
5381
|
+
projectId: string;
|
|
4071
5382
|
userId: string;
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
5383
|
+
customInstructions: string | null;
|
|
5384
|
+
toolPermissions: Record<string, "always_allow" | "always_ask" | "blocked"> | null;
|
|
5385
|
+
createdAt: string;
|
|
5386
|
+
updatedAt: string;
|
|
5387
|
+
}>;
|
|
5388
|
+
getToolsList: (signal?: AbortSignal) => Promise<{
|
|
5389
|
+
tools: {
|
|
5390
|
+
name: string;
|
|
5391
|
+
description: string;
|
|
5392
|
+
readOnly: boolean;
|
|
4082
5393
|
}[];
|
|
4083
|
-
snowflakePrivateKey?: string;
|
|
4084
|
-
readOnlyStorageAccess?: boolean;
|
|
4085
|
-
backendType?: "snowflake" | "bigquery" | null;
|
|
4086
|
-
backendSize?: string | null;
|
|
4087
|
-
lastError?: string | null;
|
|
4088
|
-
shared: boolean;
|
|
4089
|
-
workspaceLoginType?: "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "default" | null;
|
|
4090
|
-
lastLoadedAt?: string | null;
|
|
4091
5394
|
}>;
|
|
4092
|
-
|
|
4093
|
-
|
|
5395
|
+
getSkillsList: (signal?: AbortSignal) => Promise<{
|
|
5396
|
+
skills: {
|
|
5397
|
+
name: string;
|
|
5398
|
+
description: string | null;
|
|
5399
|
+
source: "first-party" | "vendored" | "project";
|
|
5400
|
+
}[];
|
|
5401
|
+
commands: {
|
|
5402
|
+
name: string;
|
|
5403
|
+
description: string;
|
|
5404
|
+
}[];
|
|
5405
|
+
}>;
|
|
5406
|
+
listSandboxFiles: (chatId: string, path?: string, signal?: AbortSignal) => Promise<{
|
|
5407
|
+
entries: {
|
|
5408
|
+
name: string;
|
|
5409
|
+
path: string;
|
|
5410
|
+
type: "file" | "dir";
|
|
5411
|
+
size?: number | undefined;
|
|
5412
|
+
}[];
|
|
5413
|
+
}>;
|
|
5414
|
+
readSandboxFile: (chatId: string, path: string, signal?: AbortSignal) => Promise<{
|
|
5415
|
+
content: string;
|
|
5416
|
+
encoding: "utf-8" | "binary";
|
|
5417
|
+
truncated: boolean;
|
|
5418
|
+
size: number;
|
|
5419
|
+
}>;
|
|
5420
|
+
getSandboxGitBranch: (chatId: string, signal?: AbortSignal) => Promise<{
|
|
5421
|
+
branch: string | null;
|
|
5422
|
+
}>;
|
|
5423
|
+
chatStreamUrl: string;
|
|
5424
|
+
};
|
|
5425
|
+
oauth: {
|
|
5426
|
+
getCredentials: (query?: GetCredentialsQuery, signal?: AbortSignal) => Promise<Credential[]>;
|
|
5427
|
+
getCredential: (componentId: string, id: string, signal?: AbortSignal) => Promise<Credential>;
|
|
5428
|
+
createCredential: (componentId: string, body: CreateCredentialBody, signal?: AbortSignal) => Promise<Credential>;
|
|
5429
|
+
deleteCredential: (componentId: string, id: string, signal?: AbortSignal) => Promise<void>;
|
|
5430
|
+
};
|
|
5431
|
+
stream: {
|
|
5432
|
+
getSources: (branchId: string, query?: PaginationQuery, signal?: AbortSignal) => Promise<{
|
|
5433
|
+
branchId: number;
|
|
5434
|
+
page: components$5["schemas"]["PaginatedResponse"];
|
|
5435
|
+
projectId: number;
|
|
5436
|
+
sources: components$5["schemas"]["Sources"];
|
|
5437
|
+
}>;
|
|
5438
|
+
getDeletedSources: (branchId: string, query?: PaginationQuery, signal?: AbortSignal) => Promise<{
|
|
5439
|
+
branchId: number;
|
|
5440
|
+
page: components$5["schemas"]["PaginatedResponse"];
|
|
5441
|
+
projectId: number;
|
|
5442
|
+
sources: components$5["schemas"]["Sources"];
|
|
5443
|
+
}>;
|
|
5444
|
+
getAggregatedSources: (branchId: string, query?: PaginationQuery, signal?: AbortSignal) => Promise<{
|
|
5445
|
+
branchId: number;
|
|
5446
|
+
page: components$5["schemas"]["PaginatedResponse"];
|
|
5447
|
+
projectId: number;
|
|
5448
|
+
sources: components$5["schemas"]["AggregatedSources"];
|
|
5449
|
+
}>;
|
|
5450
|
+
getSource: (branchId: string, sourceId: string, signal?: AbortSignal) => Promise<{
|
|
5451
|
+
branchId: number;
|
|
5452
|
+
created: components$5["schemas"]["CreatedEntity"];
|
|
5453
|
+
deleted?: components$5["schemas"]["DeletedEntity"];
|
|
5454
|
+
description: string;
|
|
5455
|
+
disabled?: components$5["schemas"]["DisabledEntity"];
|
|
5456
|
+
http?: components$5["schemas"]["HTTPSource"];
|
|
5457
|
+
name: string;
|
|
5458
|
+
otlp?: components$5["schemas"]["OTLPSource"];
|
|
5459
|
+
projectId: number;
|
|
5460
|
+
sourceId: string;
|
|
5461
|
+
type: "http" | "otlp";
|
|
5462
|
+
version: components$5["schemas"]["Version"];
|
|
5463
|
+
}>;
|
|
5464
|
+
createSource: (branchId: string, body: CreateSourceRequestBody, signal?: AbortSignal) => Promise<{
|
|
5465
|
+
createdAt: string;
|
|
5466
|
+
duration?: number;
|
|
5467
|
+
error?: string;
|
|
5468
|
+
finishedAt?: string;
|
|
5469
|
+
isFinished: boolean;
|
|
5470
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5471
|
+
result?: string;
|
|
5472
|
+
status: "processing" | "success" | "error";
|
|
5473
|
+
taskId: string;
|
|
5474
|
+
type: string;
|
|
5475
|
+
url: string;
|
|
5476
|
+
}>;
|
|
5477
|
+
updateSource: (branchId: string, sourceId: string, body: UpdateSourceRequestBody, signal?: AbortSignal) => Promise<{
|
|
5478
|
+
createdAt: string;
|
|
5479
|
+
duration?: number;
|
|
5480
|
+
error?: string;
|
|
5481
|
+
finishedAt?: string;
|
|
5482
|
+
isFinished: boolean;
|
|
5483
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5484
|
+
result?: string;
|
|
5485
|
+
status: "processing" | "success" | "error";
|
|
5486
|
+
taskId: string;
|
|
5487
|
+
type: string;
|
|
5488
|
+
url: string;
|
|
5489
|
+
}>;
|
|
5490
|
+
deleteSource: (branchId: string, sourceId: string, query?: DeleteSourceQuery, signal?: AbortSignal) => Promise<{
|
|
5491
|
+
createdAt: string;
|
|
5492
|
+
duration?: number;
|
|
5493
|
+
error?: string;
|
|
5494
|
+
finishedAt?: string;
|
|
5495
|
+
isFinished: boolean;
|
|
5496
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5497
|
+
result?: string;
|
|
5498
|
+
status: "processing" | "success" | "error";
|
|
5499
|
+
taskId: string;
|
|
5500
|
+
type: string;
|
|
5501
|
+
url: string;
|
|
5502
|
+
}>;
|
|
5503
|
+
disableSource: (branchId: string, sourceId: string, signal?: AbortSignal) => Promise<{
|
|
5504
|
+
createdAt: string;
|
|
5505
|
+
duration?: number;
|
|
5506
|
+
error?: string;
|
|
5507
|
+
finishedAt?: string;
|
|
5508
|
+
isFinished: boolean;
|
|
5509
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5510
|
+
result?: string;
|
|
5511
|
+
status: "processing" | "success" | "error";
|
|
5512
|
+
taskId: string;
|
|
5513
|
+
type: string;
|
|
5514
|
+
url: string;
|
|
5515
|
+
}>;
|
|
5516
|
+
enableSource: (branchId: string, sourceId: string, signal?: AbortSignal) => Promise<{
|
|
5517
|
+
createdAt: string;
|
|
5518
|
+
duration?: number;
|
|
5519
|
+
error?: string;
|
|
5520
|
+
finishedAt?: string;
|
|
5521
|
+
isFinished: boolean;
|
|
5522
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5523
|
+
result?: string;
|
|
5524
|
+
status: "processing" | "success" | "error";
|
|
5525
|
+
taskId: string;
|
|
5526
|
+
type: string;
|
|
5527
|
+
url: string;
|
|
5528
|
+
}>;
|
|
5529
|
+
undeleteSource: (branchId: string, sourceId: string, signal?: AbortSignal) => Promise<{
|
|
5530
|
+
createdAt: string;
|
|
5531
|
+
duration?: number;
|
|
5532
|
+
error?: string;
|
|
5533
|
+
finishedAt?: string;
|
|
5534
|
+
isFinished: boolean;
|
|
5535
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5536
|
+
result?: string;
|
|
5537
|
+
status: "processing" | "success" | "error";
|
|
5538
|
+
taskId: string;
|
|
5539
|
+
type: string;
|
|
5540
|
+
url: string;
|
|
5541
|
+
}>;
|
|
5542
|
+
rotateSourceSecret: (branchId: string, sourceId: string, signal?: AbortSignal) => Promise<{
|
|
5543
|
+
branchId: number;
|
|
5544
|
+
created: components$5["schemas"]["CreatedEntity"];
|
|
5545
|
+
deleted?: components$5["schemas"]["DeletedEntity"];
|
|
5546
|
+
description: string;
|
|
5547
|
+
disabled?: components$5["schemas"]["DisabledEntity"];
|
|
5548
|
+
http?: components$5["schemas"]["HTTPSource"];
|
|
5549
|
+
name: string;
|
|
5550
|
+
otlp?: components$5["schemas"]["OTLPSource"];
|
|
5551
|
+
projectId: number;
|
|
5552
|
+
sourceId: string;
|
|
5553
|
+
type: "http" | "otlp";
|
|
5554
|
+
version: components$5["schemas"]["Version"];
|
|
5555
|
+
}>;
|
|
5556
|
+
getSourceSettings: (branchId: string, sourceId: string, signal?: AbortSignal) => Promise<{
|
|
5557
|
+
settings?: components$5["schemas"]["SettingResult"][];
|
|
5558
|
+
}>;
|
|
5559
|
+
updateSourceSettings: (branchId: string, sourceId: string, body: UpdateSourceSettingsRequestBody, signal?: AbortSignal) => Promise<{
|
|
5560
|
+
createdAt: string;
|
|
5561
|
+
duration?: number;
|
|
5562
|
+
error?: string;
|
|
5563
|
+
finishedAt?: string;
|
|
5564
|
+
isFinished: boolean;
|
|
5565
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5566
|
+
result?: string;
|
|
5567
|
+
status: "processing" | "success" | "error";
|
|
5568
|
+
taskId: string;
|
|
5569
|
+
type: string;
|
|
5570
|
+
url: string;
|
|
5571
|
+
}>;
|
|
5572
|
+
clearSourceStatistics: (branchId: string, sourceId: string, signal?: AbortSignal) => Promise<void>;
|
|
5573
|
+
testSource: (branchId: string, sourceId: string, payload: Record<string, unknown>, query?: TestSourceQuery, signal?: AbortSignal) => Promise<{
|
|
5574
|
+
branchId: number;
|
|
5575
|
+
projectId: number;
|
|
5576
|
+
sourceId: string;
|
|
5577
|
+
tables: components$5["schemas"]["TestResultTable"][];
|
|
5578
|
+
}>;
|
|
5579
|
+
getSourceVersions: (branchId: string, sourceId: string, query?: PaginationQuery, signal?: AbortSignal) => Promise<{
|
|
5580
|
+
page: components$5["schemas"]["PaginatedResponse"];
|
|
5581
|
+
versions: components$5["schemas"]["Version"][];
|
|
5582
|
+
}>;
|
|
5583
|
+
getSourceVersion: (branchId: string, sourceId: string, versionNumber: number, signal?: AbortSignal) => Promise<{
|
|
5584
|
+
at: string;
|
|
5585
|
+
by: components$5["schemas"]["By"];
|
|
5586
|
+
description: string;
|
|
5587
|
+
hash: string;
|
|
5588
|
+
number: number;
|
|
5589
|
+
}>;
|
|
5590
|
+
rollbackSourceVersion: (branchId: string, sourceId: string, versionNumber: number, signal?: AbortSignal) => Promise<{
|
|
5591
|
+
createdAt: string;
|
|
5592
|
+
duration?: number;
|
|
5593
|
+
error?: string;
|
|
5594
|
+
finishedAt?: string;
|
|
5595
|
+
isFinished: boolean;
|
|
5596
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5597
|
+
result?: string;
|
|
5598
|
+
status: "processing" | "success" | "error";
|
|
5599
|
+
taskId: string;
|
|
5600
|
+
type: string;
|
|
5601
|
+
url: string;
|
|
5602
|
+
}>;
|
|
5603
|
+
getSinks: (branchId: string, sourceId: string, query?: PaginationQuery, signal?: AbortSignal) => Promise<{
|
|
5604
|
+
branchId: number;
|
|
5605
|
+
page: components$5["schemas"]["PaginatedResponse"];
|
|
5606
|
+
projectId: number;
|
|
5607
|
+
sinks: components$5["schemas"]["Sinks"];
|
|
5608
|
+
sourceId: string;
|
|
5609
|
+
}>;
|
|
5610
|
+
getDeletedSinks: (branchId: string, sourceId: string, query?: PaginationQuery, signal?: AbortSignal) => Promise<{
|
|
5611
|
+
branchId: number;
|
|
5612
|
+
page: components$5["schemas"]["PaginatedResponse"];
|
|
5613
|
+
projectId: number;
|
|
5614
|
+
sinks: components$5["schemas"]["Sinks"];
|
|
5615
|
+
sourceId: string;
|
|
5616
|
+
}>;
|
|
5617
|
+
getSink: (branchId: string, sourceId: string, sinkId: string, signal?: AbortSignal) => Promise<{
|
|
5618
|
+
allowedSignals?: ("logs" | "metrics" | "traces")[];
|
|
5619
|
+
branchId: number;
|
|
5620
|
+
created: components$5["schemas"]["CreatedEntity"];
|
|
5621
|
+
deleted?: components$5["schemas"]["DeletedEntity"];
|
|
5622
|
+
description: string;
|
|
5623
|
+
disabled?: components$5["schemas"]["DisabledEntity"];
|
|
5624
|
+
name: string;
|
|
5625
|
+
projectId: number;
|
|
5626
|
+
sinkId: string;
|
|
5627
|
+
sourceId: string;
|
|
5628
|
+
table?: components$5["schemas"]["TableSink"];
|
|
5629
|
+
type: "table";
|
|
5630
|
+
version: components$5["schemas"]["Version"];
|
|
5631
|
+
}>;
|
|
5632
|
+
createSink: (branchId: string, sourceId: string, body: CreateSinkRequestBody, signal?: AbortSignal) => Promise<{
|
|
5633
|
+
createdAt: string;
|
|
5634
|
+
duration?: number;
|
|
5635
|
+
error?: string;
|
|
5636
|
+
finishedAt?: string;
|
|
5637
|
+
isFinished: boolean;
|
|
5638
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5639
|
+
result?: string;
|
|
5640
|
+
status: "processing" | "success" | "error";
|
|
5641
|
+
taskId: string;
|
|
5642
|
+
type: string;
|
|
5643
|
+
url: string;
|
|
5644
|
+
}>;
|
|
5645
|
+
updateSink: (branchId: string, sourceId: string, sinkId: string, body: UpdateSinkRequestBody, signal?: AbortSignal) => Promise<{
|
|
5646
|
+
createdAt: string;
|
|
5647
|
+
duration?: number;
|
|
5648
|
+
error?: string;
|
|
5649
|
+
finishedAt?: string;
|
|
5650
|
+
isFinished: boolean;
|
|
5651
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5652
|
+
result?: string;
|
|
5653
|
+
status: "processing" | "success" | "error";
|
|
5654
|
+
taskId: string;
|
|
5655
|
+
type: string;
|
|
5656
|
+
url: string;
|
|
5657
|
+
}>;
|
|
5658
|
+
deleteSink: (branchId: string, sourceId: string, sinkId: string, signal?: AbortSignal) => Promise<{
|
|
5659
|
+
createdAt: string;
|
|
5660
|
+
duration?: number;
|
|
5661
|
+
error?: string;
|
|
5662
|
+
finishedAt?: string;
|
|
5663
|
+
isFinished: boolean;
|
|
5664
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5665
|
+
result?: string;
|
|
5666
|
+
status: "processing" | "success" | "error";
|
|
5667
|
+
taskId: string;
|
|
5668
|
+
type: string;
|
|
5669
|
+
url: string;
|
|
5670
|
+
}>;
|
|
5671
|
+
disableSink: (branchId: string, sourceId: string, sinkId: string, signal?: AbortSignal) => Promise<{
|
|
4094
5672
|
createdAt: string;
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
workspaceLoadJobs: {
|
|
4106
|
-
id: string;
|
|
4107
|
-
type: string;
|
|
4108
|
-
}[];
|
|
4109
|
-
snowflakePrivateKey?: string;
|
|
4110
|
-
readOnlyStorageAccess?: boolean;
|
|
4111
|
-
backendType?: "snowflake" | "bigquery" | null;
|
|
4112
|
-
backendSize?: string | null;
|
|
4113
|
-
lastError?: string | null;
|
|
4114
|
-
shared: boolean;
|
|
4115
|
-
workspaceLoginType?: "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "default" | null;
|
|
4116
|
-
lastLoadedAt?: string | null;
|
|
5673
|
+
duration?: number;
|
|
5674
|
+
error?: string;
|
|
5675
|
+
finishedAt?: string;
|
|
5676
|
+
isFinished: boolean;
|
|
5677
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5678
|
+
result?: string;
|
|
5679
|
+
status: "processing" | "success" | "error";
|
|
5680
|
+
taskId: string;
|
|
5681
|
+
type: string;
|
|
5682
|
+
url: string;
|
|
4117
5683
|
}>;
|
|
4118
|
-
|
|
4119
|
-
id: string;
|
|
5684
|
+
enableSink: (branchId: string, sourceId: string, sinkId: string, signal?: AbortSignal) => Promise<{
|
|
4120
5685
|
createdAt: string;
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
workspaceLoadJobs: {
|
|
4132
|
-
id: string;
|
|
4133
|
-
type: string;
|
|
4134
|
-
}[];
|
|
4135
|
-
snowflakePrivateKey?: string;
|
|
4136
|
-
readOnlyStorageAccess?: boolean;
|
|
4137
|
-
backendType?: "snowflake" | "bigquery" | null;
|
|
4138
|
-
backendSize?: string | null;
|
|
4139
|
-
lastError?: string | null;
|
|
4140
|
-
shared: boolean;
|
|
4141
|
-
workspaceLoginType?: "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "default" | null;
|
|
4142
|
-
lastLoadedAt?: string | null;
|
|
4143
|
-
}[]>;
|
|
4144
|
-
getSessionSchema: ({ id, onlyWorkspaceSchema, loadTables, }: GetSqlSessionSchemaPath & GetSqlSessionSchemaQuery, signal?: AbortSignal) => Promise<{
|
|
4145
|
-
databases: components["schemas"]["Catalog"][];
|
|
5686
|
+
duration?: number;
|
|
5687
|
+
error?: string;
|
|
5688
|
+
finishedAt?: string;
|
|
5689
|
+
isFinished: boolean;
|
|
5690
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5691
|
+
result?: string;
|
|
5692
|
+
status: "processing" | "success" | "error";
|
|
5693
|
+
taskId: string;
|
|
5694
|
+
type: string;
|
|
5695
|
+
url: string;
|
|
4146
5696
|
}>;
|
|
4147
|
-
|
|
4148
|
-
|
|
5697
|
+
undeleteSink: (branchId: string, sourceId: string, sinkId: string, signal?: AbortSignal) => Promise<{
|
|
5698
|
+
createdAt: string;
|
|
5699
|
+
duration?: number;
|
|
5700
|
+
error?: string;
|
|
5701
|
+
finishedAt?: string;
|
|
5702
|
+
isFinished: boolean;
|
|
5703
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5704
|
+
result?: string;
|
|
5705
|
+
status: "processing" | "success" | "error";
|
|
5706
|
+
taskId: string;
|
|
5707
|
+
type: string;
|
|
4149
5708
|
url: string;
|
|
4150
5709
|
}>;
|
|
4151
|
-
|
|
4152
|
-
|
|
5710
|
+
getSinkSettings: (branchId: string, sourceId: string, sinkId: string, signal?: AbortSignal) => Promise<{
|
|
5711
|
+
settings?: components$5["schemas"]["SettingResult"][];
|
|
5712
|
+
}>;
|
|
5713
|
+
updateSinkSettings: (branchId: string, sourceId: string, sinkId: string, body: UpdateSinkSettingsRequestBody, signal?: AbortSignal) => Promise<{
|
|
5714
|
+
createdAt: string;
|
|
5715
|
+
duration?: number;
|
|
5716
|
+
error?: string;
|
|
5717
|
+
finishedAt?: string;
|
|
5718
|
+
isFinished: boolean;
|
|
5719
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5720
|
+
result?: string;
|
|
5721
|
+
status: "processing" | "success" | "error";
|
|
5722
|
+
taskId: string;
|
|
5723
|
+
type: string;
|
|
4153
5724
|
url: string;
|
|
4154
5725
|
}>;
|
|
4155
|
-
|
|
4156
|
-
|
|
5726
|
+
getSinkStatisticsTotal: (branchId: string, sourceId: string, sinkId: string, signal?: AbortSignal) => Promise<{
|
|
5727
|
+
levels: components$5["schemas"]["Levels"];
|
|
5728
|
+
total: components$5["schemas"]["Level"];
|
|
4157
5729
|
}>;
|
|
4158
|
-
|
|
4159
|
-
|
|
5730
|
+
getSinkStatisticsFiles: (branchId: string, sourceId: string, sinkId: string, query?: SinkStatisticsFilesQuery, signal?: AbortSignal) => Promise<{
|
|
5731
|
+
files: components$5["schemas"]["SinkFiles"];
|
|
5732
|
+
}>;
|
|
5733
|
+
clearSinkStatistics: (branchId: string, sourceId: string, sinkId: string, signal?: AbortSignal) => Promise<void>;
|
|
5734
|
+
getSinkVersions: (branchId: string, sourceId: string, sinkId: string, query?: PaginationQuery, signal?: AbortSignal) => Promise<{
|
|
5735
|
+
page: components$5["schemas"]["PaginatedResponse"];
|
|
5736
|
+
versions: components$5["schemas"]["Version"][];
|
|
5737
|
+
}>;
|
|
5738
|
+
getSinkVersion: (branchId: string, sourceId: string, sinkId: string, versionNumber: number, signal?: AbortSignal) => Promise<{
|
|
5739
|
+
at: string;
|
|
5740
|
+
by: components$5["schemas"]["By"];
|
|
5741
|
+
description: string;
|
|
5742
|
+
hash: string;
|
|
5743
|
+
number: number;
|
|
5744
|
+
}>;
|
|
5745
|
+
rollbackSinkVersion: (branchId: string, sourceId: string, sinkId: string, versionNumber: number, signal?: AbortSignal) => Promise<{
|
|
4160
5746
|
createdAt: string;
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
workspaceLoadJobs: {
|
|
4172
|
-
id: string;
|
|
4173
|
-
type: string;
|
|
4174
|
-
}[];
|
|
4175
|
-
snowflakePrivateKey?: string;
|
|
4176
|
-
readOnlyStorageAccess?: boolean;
|
|
4177
|
-
backendType?: "snowflake" | "bigquery" | null;
|
|
4178
|
-
backendSize?: string | null;
|
|
4179
|
-
lastError?: string | null;
|
|
4180
|
-
shared: boolean;
|
|
4181
|
-
workspaceLoginType?: "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "default" | null;
|
|
4182
|
-
lastLoadedAt?: string | null;
|
|
5747
|
+
duration?: number;
|
|
5748
|
+
error?: string;
|
|
5749
|
+
finishedAt?: string;
|
|
5750
|
+
isFinished: boolean;
|
|
5751
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5752
|
+
result?: string;
|
|
5753
|
+
status: "processing" | "success" | "error";
|
|
5754
|
+
taskId: string;
|
|
5755
|
+
type: string;
|
|
5756
|
+
url: string;
|
|
4183
5757
|
}>;
|
|
4184
|
-
|
|
4185
|
-
id: string;
|
|
5758
|
+
getTask: (taskId: string, signal?: AbortSignal) => Promise<{
|
|
4186
5759
|
createdAt: string;
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
workspaceLoadJobs: {
|
|
4198
|
-
id: string;
|
|
4199
|
-
type: string;
|
|
4200
|
-
}[];
|
|
4201
|
-
snowflakePrivateKey?: string;
|
|
4202
|
-
readOnlyStorageAccess?: boolean;
|
|
4203
|
-
backendType?: "snowflake" | "bigquery" | null;
|
|
4204
|
-
backendSize?: string | null;
|
|
4205
|
-
lastError?: string | null;
|
|
4206
|
-
shared: boolean;
|
|
4207
|
-
workspaceLoginType?: "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "default" | null;
|
|
4208
|
-
lastLoadedAt?: string | null;
|
|
5760
|
+
duration?: number;
|
|
5761
|
+
error?: string;
|
|
5762
|
+
finishedAt?: string;
|
|
5763
|
+
isFinished: boolean;
|
|
5764
|
+
outputs?: components$5["schemas"]["TaskOutputs"];
|
|
5765
|
+
result?: string;
|
|
5766
|
+
status: "processing" | "success" | "error";
|
|
5767
|
+
taskId: string;
|
|
5768
|
+
type: string;
|
|
5769
|
+
url: string;
|
|
4209
5770
|
}>;
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
5771
|
+
};
|
|
5772
|
+
context: {
|
|
5773
|
+
stack: {
|
|
5774
|
+
services: Service[];
|
|
5775
|
+
features: string[];
|
|
5776
|
+
components: StackComponent[];
|
|
5777
|
+
hasFeature: (...feature: string[]) => boolean;
|
|
5778
|
+
getServiceUrl: (serviceId: ServiceId) => string | null;
|
|
5779
|
+
hasService: (serviceId: ServiceId) => boolean;
|
|
5780
|
+
getComponent: (componentId: string) => StackComponent | null;
|
|
5781
|
+
hasComponent: (...componentId: string[]) => boolean;
|
|
5782
|
+
api: string;
|
|
5783
|
+
documentation: string;
|
|
4213
5784
|
host: string;
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
}
|
|
5785
|
+
revision: string;
|
|
5786
|
+
stack: string;
|
|
5787
|
+
urlTemplates: {
|
|
5788
|
+
orchestrationJob: string;
|
|
5789
|
+
};
|
|
5790
|
+
version: string;
|
|
5791
|
+
};
|
|
5792
|
+
defaultBranch: {
|
|
5793
|
+
id: number;
|
|
5794
|
+
name: string;
|
|
5795
|
+
getType: (branchId?: string | number) => "default" | "dev";
|
|
5796
|
+
isDev: (branchId?: string | number) => boolean;
|
|
5797
|
+
isDefault: (branchId?: string | number) => boolean;
|
|
5798
|
+
};
|
|
5799
|
+
readonly project: {
|
|
5800
|
+
hasFeature: (...feature: string[]) => boolean;
|
|
5801
|
+
hasAdminFeature: (...feature: string[]) => boolean;
|
|
5802
|
+
hasBackend: (backend: Backend) => boolean;
|
|
5803
|
+
sapiToken: StorageToken;
|
|
5804
|
+
};
|
|
5805
|
+
readonly st: StorageTable;
|
|
5806
|
+
serviceMeta: {
|
|
5807
|
+
clientName: string;
|
|
5808
|
+
serviceId: ServiceId;
|
|
5809
|
+
isAvailable: boolean;
|
|
5810
|
+
}[];
|
|
4221
5811
|
};
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
5812
|
+
storage: {
|
|
5813
|
+
buckets: {
|
|
5814
|
+
getBuckets: (branchId: string, query?: GetBucketsQuery, signal?: AbortSignal) => Promise<Bucket[]>;
|
|
5815
|
+
getBucket: (id: string, signal?: AbortSignal) => Promise<BucketDetail>;
|
|
5816
|
+
createBucket: (body: CreateBucketBody) => Promise<BucketDetail>;
|
|
5817
|
+
updateBucket: (id: string, body: UpdateBucketBody) => Promise<BucketDetail>;
|
|
5818
|
+
deleteBucket: (id: string) => Promise<void>;
|
|
5819
|
+
deleteBucketAsync: (id: string, options?: {
|
|
5820
|
+
force?: boolean;
|
|
5821
|
+
}) => Promise<{
|
|
5822
|
+
id: number;
|
|
5823
|
+
tableId: string | null;
|
|
5824
|
+
runId: string;
|
|
5825
|
+
url: string;
|
|
5826
|
+
createdTime: string;
|
|
5827
|
+
creatorToken: {
|
|
5828
|
+
id: string;
|
|
5829
|
+
description: string;
|
|
5830
|
+
};
|
|
5831
|
+
endTime: string | null;
|
|
5832
|
+
startTime: string | null;
|
|
5833
|
+
operationName: "bucketDelete";
|
|
5834
|
+
operationParams: {
|
|
5835
|
+
queue: string;
|
|
5836
|
+
} & {
|
|
5837
|
+
id: string;
|
|
5838
|
+
};
|
|
5839
|
+
metrics: {
|
|
5840
|
+
inCompressed: boolean;
|
|
5841
|
+
inBytes: number;
|
|
5842
|
+
inBytesUncompressed: number;
|
|
5843
|
+
outCompressed: boolean;
|
|
5844
|
+
outBytes: number;
|
|
5845
|
+
outBytesUncompressed: number;
|
|
5846
|
+
};
|
|
5847
|
+
} & ({
|
|
5848
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
5849
|
+
results: null;
|
|
5850
|
+
} | {
|
|
5851
|
+
status: "error";
|
|
5852
|
+
results: null;
|
|
5853
|
+
error: {
|
|
5854
|
+
code: string;
|
|
5855
|
+
message: string;
|
|
5856
|
+
exceptionId?: string;
|
|
5857
|
+
};
|
|
5858
|
+
} | {
|
|
5859
|
+
status: "success";
|
|
5860
|
+
results: null;
|
|
5861
|
+
})>;
|
|
5862
|
+
createScheduledRefresh: (input: CreateScheduledRefreshPath & CreateScheduledRefreshBody) => Promise<ScheduledTask>;
|
|
5863
|
+
deleteScheduledTask: (taskId: string) => Promise<void>;
|
|
5864
|
+
getListing: (bucketId: string, signal?: AbortSignal) => Promise<BucketListing | null>;
|
|
5865
|
+
createListing: (bucketId: string, input: CreateBucketListingInput, signal?: AbortSignal) => Promise<Job<"bucketListingCreate">>;
|
|
5866
|
+
updateListing: (bucketId: string, input: UpdateBucketListingInput, signal?: AbortSignal) => Promise<Job<"bucketListingUpdate">>;
|
|
5867
|
+
deleteListing: (bucketId: string, signal?: AbortSignal) => Promise<Job<"bucketListingDelete">>;
|
|
5868
|
+
listListings: (signal?: AbortSignal) => Promise<BucketListing[]>;
|
|
5869
|
+
shareBucketToOrganization: (bucketId: string, signal?: AbortSignal) => Promise<{
|
|
5870
|
+
id: number;
|
|
5871
|
+
tableId: string | null;
|
|
5872
|
+
runId: string;
|
|
5873
|
+
url: string;
|
|
5874
|
+
createdTime: string;
|
|
5875
|
+
creatorToken: {
|
|
5876
|
+
id: string;
|
|
5877
|
+
description: string;
|
|
5878
|
+
};
|
|
5879
|
+
endTime: string | null;
|
|
5880
|
+
startTime: string | null;
|
|
5881
|
+
operationName: "bucketShareToOrganization";
|
|
5882
|
+
operationParams: {
|
|
5883
|
+
queue: string;
|
|
5884
|
+
} & Record<string, unknown>;
|
|
5885
|
+
metrics: {
|
|
5886
|
+
inCompressed: boolean;
|
|
5887
|
+
inBytes: number;
|
|
5888
|
+
inBytesUncompressed: number;
|
|
5889
|
+
outCompressed: boolean;
|
|
5890
|
+
outBytes: number;
|
|
5891
|
+
outBytesUncompressed: number;
|
|
5892
|
+
};
|
|
5893
|
+
} & ({
|
|
5894
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
5895
|
+
results: null;
|
|
5896
|
+
} | {
|
|
5897
|
+
status: "error";
|
|
5898
|
+
results: null;
|
|
5899
|
+
error: {
|
|
5900
|
+
code: string;
|
|
5901
|
+
message: string;
|
|
5902
|
+
exceptionId?: string;
|
|
5903
|
+
};
|
|
5904
|
+
} | {
|
|
5905
|
+
status: "success";
|
|
5906
|
+
results: null;
|
|
5907
|
+
})>;
|
|
5908
|
+
shareBucketToOrganizationProject: (bucketId: string, signal?: AbortSignal) => Promise<{
|
|
5909
|
+
id: number;
|
|
5910
|
+
tableId: string | null;
|
|
5911
|
+
runId: string;
|
|
5912
|
+
url: string;
|
|
5913
|
+
createdTime: string;
|
|
5914
|
+
creatorToken: {
|
|
5915
|
+
id: string;
|
|
5916
|
+
description: string;
|
|
5917
|
+
};
|
|
5918
|
+
endTime: string | null;
|
|
5919
|
+
startTime: string | null;
|
|
5920
|
+
operationName: "bucketShareToOrganizationProject";
|
|
5921
|
+
operationParams: {
|
|
5922
|
+
queue: string;
|
|
5923
|
+
} & Record<string, unknown>;
|
|
5924
|
+
metrics: {
|
|
5925
|
+
inCompressed: boolean;
|
|
5926
|
+
inBytes: number;
|
|
5927
|
+
inBytesUncompressed: number;
|
|
5928
|
+
outCompressed: boolean;
|
|
5929
|
+
outBytes: number;
|
|
5930
|
+
outBytesUncompressed: number;
|
|
4228
5931
|
};
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
}>;
|
|
4240
|
-
getDataAppPasswordPrivateGitRepository: ({ repositoryUrl, username, password, ...other }: GetDataAppPasswordPrivateGitRepositoryInput, signal?: AbortSignal) => Promise<{
|
|
4241
|
-
repository: {
|
|
4242
|
-
url: string;
|
|
5932
|
+
} & ({
|
|
5933
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
5934
|
+
results: null;
|
|
5935
|
+
} | {
|
|
5936
|
+
status: "error";
|
|
5937
|
+
results: null;
|
|
5938
|
+
error: {
|
|
5939
|
+
code: string;
|
|
5940
|
+
message: string;
|
|
5941
|
+
exceptionId?: string;
|
|
4243
5942
|
};
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
url: string;
|
|
5943
|
+
} | {
|
|
5944
|
+
status: "success";
|
|
5945
|
+
results: null;
|
|
5946
|
+
})>;
|
|
5947
|
+
shareBucketToProjects: (bucketId: string, body: ShareBucketToProjectsBody, signal?: AbortSignal) => Promise<{
|
|
5948
|
+
id: number;
|
|
5949
|
+
tableId: string | null;
|
|
5950
|
+
runId: string;
|
|
5951
|
+
url: string;
|
|
5952
|
+
createdTime: string;
|
|
5953
|
+
creatorToken: {
|
|
5954
|
+
id: string;
|
|
5955
|
+
description: string;
|
|
4258
5956
|
};
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
5957
|
+
endTime: string | null;
|
|
5958
|
+
startTime: string | null;
|
|
5959
|
+
operationName: "bucketShareToProjects";
|
|
5960
|
+
operationParams: {
|
|
5961
|
+
queue: string;
|
|
5962
|
+
} & Record<string, unknown>;
|
|
5963
|
+
metrics: {
|
|
5964
|
+
inCompressed: boolean;
|
|
5965
|
+
inBytes: number;
|
|
5966
|
+
inBytesUncompressed: number;
|
|
5967
|
+
outCompressed: boolean;
|
|
5968
|
+
outBytes: number;
|
|
5969
|
+
outBytesUncompressed: number;
|
|
5970
|
+
};
|
|
5971
|
+
} & ({
|
|
5972
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
5973
|
+
results: null;
|
|
5974
|
+
} | {
|
|
5975
|
+
status: "error";
|
|
5976
|
+
results: null;
|
|
5977
|
+
error: {
|
|
5978
|
+
code: string;
|
|
5979
|
+
message: string;
|
|
5980
|
+
exceptionId?: string;
|
|
5981
|
+
};
|
|
5982
|
+
} | {
|
|
5983
|
+
status: "success";
|
|
5984
|
+
results: null;
|
|
5985
|
+
})>;
|
|
5986
|
+
shareBucketToUsers: (bucketId: string, body: ShareBucketToUsersBody, signal?: AbortSignal) => Promise<{
|
|
5987
|
+
id: number;
|
|
5988
|
+
tableId: string | null;
|
|
5989
|
+
runId: string;
|
|
5990
|
+
url: string;
|
|
5991
|
+
createdTime: string;
|
|
5992
|
+
creatorToken: {
|
|
5993
|
+
id: string;
|
|
5994
|
+
description: string;
|
|
5995
|
+
};
|
|
5996
|
+
endTime: string | null;
|
|
5997
|
+
startTime: string | null;
|
|
5998
|
+
operationName: "bucketShareToAdmins";
|
|
5999
|
+
operationParams: {
|
|
6000
|
+
queue: string;
|
|
6001
|
+
} & Record<string, unknown>;
|
|
6002
|
+
metrics: {
|
|
6003
|
+
inCompressed: boolean;
|
|
6004
|
+
inBytes: number;
|
|
6005
|
+
inBytesUncompressed: number;
|
|
6006
|
+
outCompressed: boolean;
|
|
6007
|
+
outBytes: number;
|
|
6008
|
+
outBytesUncompressed: number;
|
|
6009
|
+
};
|
|
6010
|
+
} & ({
|
|
6011
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6012
|
+
results: null;
|
|
6013
|
+
} | {
|
|
6014
|
+
status: "error";
|
|
6015
|
+
results: null;
|
|
6016
|
+
error: {
|
|
6017
|
+
code: string;
|
|
6018
|
+
message: string;
|
|
6019
|
+
exceptionId?: string;
|
|
6020
|
+
};
|
|
6021
|
+
} | {
|
|
6022
|
+
status: "success";
|
|
6023
|
+
results: null;
|
|
6024
|
+
})>;
|
|
6025
|
+
unshareBucket: (bucketId: string, signal?: AbortSignal) => Promise<{
|
|
6026
|
+
id: number;
|
|
6027
|
+
tableId: string | null;
|
|
6028
|
+
runId: string;
|
|
6029
|
+
url: string;
|
|
6030
|
+
createdTime: string;
|
|
6031
|
+
creatorToken: {
|
|
6032
|
+
id: string;
|
|
6033
|
+
description: string;
|
|
6034
|
+
};
|
|
6035
|
+
endTime: string | null;
|
|
6036
|
+
startTime: string | null;
|
|
6037
|
+
operationName: "bucketRemoveShare";
|
|
6038
|
+
operationParams: {
|
|
6039
|
+
queue: string;
|
|
6040
|
+
} & Record<string, unknown>;
|
|
6041
|
+
metrics: {
|
|
6042
|
+
inCompressed: boolean;
|
|
6043
|
+
inBytes: number;
|
|
6044
|
+
inBytesUncompressed: number;
|
|
6045
|
+
outCompressed: boolean;
|
|
6046
|
+
outBytes: number;
|
|
6047
|
+
outBytesUncompressed: number;
|
|
6048
|
+
};
|
|
6049
|
+
} & ({
|
|
6050
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6051
|
+
results: null;
|
|
6052
|
+
} | {
|
|
6053
|
+
status: "error";
|
|
6054
|
+
results: null;
|
|
6055
|
+
error: {
|
|
6056
|
+
code: string;
|
|
6057
|
+
message: string;
|
|
6058
|
+
exceptionId?: string;
|
|
6059
|
+
};
|
|
6060
|
+
} | {
|
|
6061
|
+
status: "success";
|
|
6062
|
+
results: null;
|
|
6063
|
+
})>;
|
|
6064
|
+
forceUnlinkBucket: (bucketId: string, linkedProjectId: string, signal?: AbortSignal) => Promise<{
|
|
6065
|
+
id: number;
|
|
6066
|
+
tableId: string | null;
|
|
6067
|
+
runId: string;
|
|
6068
|
+
url: string;
|
|
6069
|
+
createdTime: string;
|
|
6070
|
+
creatorToken: {
|
|
6071
|
+
id: string;
|
|
6072
|
+
description: string;
|
|
6073
|
+
};
|
|
6074
|
+
endTime: string | null;
|
|
6075
|
+
startTime: string | null;
|
|
6076
|
+
operationName: "bucketForceUnlink";
|
|
6077
|
+
operationParams: {
|
|
6078
|
+
queue: string;
|
|
6079
|
+
} & Record<string, unknown>;
|
|
6080
|
+
metrics: {
|
|
6081
|
+
inCompressed: boolean;
|
|
6082
|
+
inBytes: number;
|
|
6083
|
+
inBytesUncompressed: number;
|
|
6084
|
+
outCompressed: boolean;
|
|
6085
|
+
outBytes: number;
|
|
6086
|
+
outBytesUncompressed: number;
|
|
6087
|
+
};
|
|
6088
|
+
} & ({
|
|
6089
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6090
|
+
results: null;
|
|
6091
|
+
} | {
|
|
6092
|
+
status: "error";
|
|
6093
|
+
results: null;
|
|
6094
|
+
error: {
|
|
6095
|
+
code: string;
|
|
6096
|
+
message: string;
|
|
6097
|
+
exceptionId?: string;
|
|
6098
|
+
};
|
|
6099
|
+
} | {
|
|
6100
|
+
status: "success";
|
|
6101
|
+
results: null;
|
|
6102
|
+
})>;
|
|
6103
|
+
getBucketOwner: (bucketId: string, signal?: AbortSignal) => Promise<{
|
|
6104
|
+
id: number;
|
|
6105
|
+
name: string;
|
|
6106
|
+
email: string;
|
|
4269
6107
|
}>;
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
6108
|
+
updateBucketOwner: (bucketId: string, body: UpdateBucketOwnerBody, signal?: AbortSignal) => Promise<void>;
|
|
6109
|
+
refreshExternalBucket: (bucketId: string, query?: RefreshExternalBucketQuery, signal?: AbortSignal) => Promise<{
|
|
6110
|
+
id: number;
|
|
6111
|
+
tableId: string | null;
|
|
6112
|
+
runId: string;
|
|
6113
|
+
url: string;
|
|
6114
|
+
createdTime: string;
|
|
6115
|
+
creatorToken: {
|
|
6116
|
+
id: string;
|
|
6117
|
+
description: string;
|
|
6118
|
+
};
|
|
6119
|
+
endTime: string | null;
|
|
6120
|
+
startTime: string | null;
|
|
6121
|
+
operationName: "bucketRefresh";
|
|
6122
|
+
operationParams: {
|
|
6123
|
+
queue: string;
|
|
6124
|
+
} & Record<string, unknown>;
|
|
6125
|
+
metrics: {
|
|
6126
|
+
inCompressed: boolean;
|
|
6127
|
+
inBytes: number;
|
|
6128
|
+
inBytesUncompressed: number;
|
|
6129
|
+
outCompressed: boolean;
|
|
6130
|
+
outBytes: number;
|
|
6131
|
+
outBytesUncompressed: number;
|
|
6132
|
+
};
|
|
6133
|
+
} & ({
|
|
6134
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6135
|
+
results: null;
|
|
6136
|
+
} | {
|
|
6137
|
+
status: "error";
|
|
6138
|
+
results: null;
|
|
6139
|
+
error: {
|
|
6140
|
+
code: string;
|
|
6141
|
+
message: string;
|
|
6142
|
+
exceptionId?: string;
|
|
6143
|
+
};
|
|
6144
|
+
} | {
|
|
6145
|
+
status: "success";
|
|
6146
|
+
results: null;
|
|
6147
|
+
})>;
|
|
6148
|
+
registerBucket: (body: RegisterBucketBody, signal?: AbortSignal) => Promise<{
|
|
6149
|
+
id: number;
|
|
6150
|
+
tableId: string | null;
|
|
6151
|
+
runId: string;
|
|
6152
|
+
url: string;
|
|
6153
|
+
createdTime: string;
|
|
6154
|
+
creatorToken: {
|
|
6155
|
+
id: string;
|
|
6156
|
+
description: string;
|
|
6157
|
+
};
|
|
6158
|
+
endTime: string | null;
|
|
6159
|
+
startTime: string | null;
|
|
6160
|
+
operationName: "bucketRegister";
|
|
6161
|
+
operationParams: {
|
|
6162
|
+
queue: string;
|
|
6163
|
+
} & Record<string, unknown>;
|
|
6164
|
+
metrics: {
|
|
6165
|
+
inCompressed: boolean;
|
|
6166
|
+
inBytes: number;
|
|
6167
|
+
inBytesUncompressed: number;
|
|
6168
|
+
outCompressed: boolean;
|
|
6169
|
+
outBytes: number;
|
|
6170
|
+
outBytesUncompressed: number;
|
|
4273
6171
|
};
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
}>;
|
|
4285
|
-
getPrivateGitRepository: ({ repositoryUrl, username, password, componentId, ...other }: GetGitPrivateRepositoryInput, signal?: AbortSignal) => Promise<{
|
|
4286
|
-
repository: {
|
|
4287
|
-
url: string;
|
|
6172
|
+
} & ({
|
|
6173
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6174
|
+
results: null;
|
|
6175
|
+
} | {
|
|
6176
|
+
status: "error";
|
|
6177
|
+
results: null;
|
|
6178
|
+
error: {
|
|
6179
|
+
code: string;
|
|
6180
|
+
message: string;
|
|
6181
|
+
exceptionId?: string;
|
|
4288
6182
|
};
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
name: string;
|
|
4296
|
-
email: string;
|
|
4297
|
-
};
|
|
4298
|
-
}[];
|
|
6183
|
+
} | {
|
|
6184
|
+
status: "success";
|
|
6185
|
+
results: null;
|
|
6186
|
+
})>;
|
|
6187
|
+
getBucketRegistrationGuide: (query: BucketRegistrationGuideQuery, signal?: AbortSignal) => Promise<{
|
|
6188
|
+
markdown: string;
|
|
4299
6189
|
}>;
|
|
6190
|
+
sharedBuckets: (signal?: AbortSignal) => Promise<Record<string, never>[]>;
|
|
6191
|
+
saveBucketMetadata: (bucketId: string, body: SaveBucketMetadataBody, signal?: AbortSignal) => Promise<{
|
|
6192
|
+
id: number;
|
|
6193
|
+
key: string;
|
|
6194
|
+
value: string | null;
|
|
6195
|
+
provider: string;
|
|
6196
|
+
timestamp: string;
|
|
6197
|
+
}[]>;
|
|
6198
|
+
deleteBucketMetadata: (bucketId: string, metadataId: string, signal?: AbortSignal) => Promise<void>;
|
|
4300
6199
|
};
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
6200
|
+
events: {
|
|
6201
|
+
getEvents: (query?: GetEventsQuery, signal?: AbortSignal) => Promise<StorageEvent[]>;
|
|
6202
|
+
getEvent: (eventId: string | number, signal?: AbortSignal) => Promise<StorageEvent>;
|
|
6203
|
+
getTableEvents: (tableId: string, query?: GetTableEventsQuery, signal?: AbortSignal) => Promise<TableEvent[]>;
|
|
6204
|
+
createEvent: (body: CreateEventBody, signal?: AbortSignal) => Promise<StorageEvent>;
|
|
4305
6205
|
};
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
}
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
}
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
6206
|
+
files: {
|
|
6207
|
+
getFile: (fileId: number, signal?: AbortSignal) => Promise<File$1>;
|
|
6208
|
+
getFileContent: (fileId: number, signal?: AbortSignal) => Promise<string>;
|
|
6209
|
+
getFiles: (query?: GetFilesQuery, signal?: AbortSignal) => Promise<File$1[]>;
|
|
6210
|
+
deleteFile: (fileId: number) => Promise<void>;
|
|
6211
|
+
addFileTag: (fileId: number, tag: string) => Promise<void>;
|
|
6212
|
+
deleteFileTag: (fileId: DeleteFileTagPath["fileId"], tag: DeleteFileTagPath["tag"]) => Promise<void>;
|
|
6213
|
+
prepareFile: (body: PrepareFileBody, signal?: AbortSignal) => Promise<PreparedFile>;
|
|
6214
|
+
};
|
|
6215
|
+
tables: {
|
|
6216
|
+
getTables: (branchId: string, query?: GetTablesQuery, signal?: AbortSignal) => Promise<Table[]>;
|
|
6217
|
+
getTable: (id: string, signal?: AbortSignal) => Promise<TableDetail>;
|
|
6218
|
+
getDataPreview: (id: string, query?: GetDataPreview, signal?: AbortSignal) => Promise<PrevieData>;
|
|
6219
|
+
deleteTable: (id: string, signal?: AbortSignal) => Promise<void>;
|
|
6220
|
+
deleteTables: (ids: string[]) => Promise<void>;
|
|
6221
|
+
deleteTableRows: (id: string, query?: DeleteTableRows, signal?: AbortSignal) => Promise<JobUnion>;
|
|
6222
|
+
exportAsync: (tableId: string, body?: TableExportAsyncBody, signal?: AbortSignal) => Promise<TableExportJob>;
|
|
6223
|
+
createTableAsync: (bucketId: string, body: CreateTableAsyncBody, signal?: AbortSignal) => Promise<TableCreateJob>;
|
|
6224
|
+
createTableDefinitionAsync: (bucketId: string, body: CreateTableDefinitionBody, signal?: AbortSignal) => Promise<{
|
|
6225
|
+
id: number;
|
|
6226
|
+
tableId: string | null;
|
|
6227
|
+
runId: string;
|
|
6228
|
+
url: string;
|
|
6229
|
+
createdTime: string;
|
|
6230
|
+
creatorToken: {
|
|
6231
|
+
id: string;
|
|
6232
|
+
description: string;
|
|
6233
|
+
};
|
|
6234
|
+
endTime: string | null;
|
|
6235
|
+
startTime: string | null;
|
|
6236
|
+
operationName: "tableDefinitionCreate";
|
|
6237
|
+
operationParams: {
|
|
6238
|
+
queue: string;
|
|
6239
|
+
} & {
|
|
6240
|
+
timestampType: string;
|
|
6241
|
+
primaryKeysNames: string[];
|
|
6242
|
+
name: string;
|
|
6243
|
+
backendConfiguration: unknown[];
|
|
6244
|
+
columns: unknown[];
|
|
6245
|
+
};
|
|
6246
|
+
metrics: {
|
|
6247
|
+
inCompressed: boolean;
|
|
6248
|
+
inBytes: number;
|
|
6249
|
+
inBytesUncompressed: number;
|
|
6250
|
+
outCompressed: boolean;
|
|
6251
|
+
outBytes: number;
|
|
6252
|
+
outBytesUncompressed: number;
|
|
6253
|
+
};
|
|
6254
|
+
} & ({
|
|
6255
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6256
|
+
results: null;
|
|
6257
|
+
} | {
|
|
6258
|
+
status: "error";
|
|
6259
|
+
results: null;
|
|
6260
|
+
error: {
|
|
6261
|
+
code: string;
|
|
6262
|
+
message: string;
|
|
6263
|
+
exceptionId?: string;
|
|
6264
|
+
};
|
|
6265
|
+
} | {
|
|
6266
|
+
status: "success";
|
|
6267
|
+
results: Table;
|
|
6268
|
+
})>;
|
|
6269
|
+
importAsync: (tableId: string, body: TableImportAsyncBody, signal?: AbortSignal) => Promise<TableImportJob>;
|
|
6270
|
+
updateTableDefinition: ({ branchId, tableId, ...body }: UpdateTableDefinitionInput, signal?: AbortSignal) => Promise<{
|
|
6271
|
+
id: number;
|
|
6272
|
+
tableId: string | null;
|
|
6273
|
+
runId: string;
|
|
6274
|
+
url: string;
|
|
6275
|
+
createdTime: string;
|
|
6276
|
+
creatorToken: {
|
|
6277
|
+
id: string;
|
|
6278
|
+
description: string;
|
|
6279
|
+
};
|
|
6280
|
+
endTime: string | null;
|
|
6281
|
+
startTime: string | null;
|
|
6282
|
+
operationName: "tableDefinitionUpdate";
|
|
6283
|
+
operationParams: {
|
|
6284
|
+
queue: string;
|
|
6285
|
+
} & {
|
|
6286
|
+
tableId: string;
|
|
6287
|
+
displayName: string;
|
|
6288
|
+
description?: string | null;
|
|
6289
|
+
columns: unknown[];
|
|
6290
|
+
};
|
|
6291
|
+
metrics: {
|
|
6292
|
+
inCompressed: boolean;
|
|
6293
|
+
inBytes: number;
|
|
6294
|
+
inBytesUncompressed: number;
|
|
6295
|
+
outCompressed: boolean;
|
|
6296
|
+
outBytes: number;
|
|
6297
|
+
outBytesUncompressed: number;
|
|
6298
|
+
};
|
|
6299
|
+
} & ({
|
|
6300
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6301
|
+
results: null;
|
|
6302
|
+
} | {
|
|
6303
|
+
status: "error";
|
|
6304
|
+
results: null;
|
|
6305
|
+
error: {
|
|
6306
|
+
code: string;
|
|
6307
|
+
message: string;
|
|
6308
|
+
exceptionId?: string;
|
|
6309
|
+
};
|
|
6310
|
+
} | {
|
|
6311
|
+
status: "success";
|
|
6312
|
+
results: Table;
|
|
6313
|
+
})>;
|
|
6314
|
+
updateTable: (tableId: string, body: UpdateTableBody, signal?: AbortSignal) => Promise<Table>;
|
|
6315
|
+
pullTable: (tableId: string, signal?: AbortSignal) => Promise<{
|
|
6316
|
+
id: number;
|
|
6317
|
+
tableId: string | null;
|
|
6318
|
+
runId: string;
|
|
6319
|
+
url: string;
|
|
6320
|
+
createdTime: string;
|
|
6321
|
+
creatorToken: {
|
|
6322
|
+
id: string;
|
|
6323
|
+
description: string;
|
|
6324
|
+
};
|
|
6325
|
+
endTime: string | null;
|
|
6326
|
+
startTime: string | null;
|
|
6327
|
+
operationName: "devBranchTablePull";
|
|
6328
|
+
operationParams: {
|
|
6329
|
+
queue: string;
|
|
6330
|
+
} & {
|
|
6331
|
+
id: string;
|
|
6332
|
+
};
|
|
6333
|
+
metrics: {
|
|
6334
|
+
inCompressed: boolean;
|
|
6335
|
+
inBytes: number;
|
|
6336
|
+
inBytesUncompressed: number;
|
|
6337
|
+
outCompressed: boolean;
|
|
6338
|
+
outBytes: number;
|
|
6339
|
+
outBytesUncompressed: number;
|
|
4390
6340
|
};
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
6341
|
+
} & ({
|
|
6342
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6343
|
+
results: null;
|
|
6344
|
+
} | {
|
|
6345
|
+
status: "error";
|
|
6346
|
+
results: null;
|
|
6347
|
+
error: {
|
|
6348
|
+
code: string;
|
|
6349
|
+
message: string;
|
|
6350
|
+
exceptionId?: string;
|
|
4395
6351
|
};
|
|
4396
|
-
} |
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
token: {
|
|
4410
|
-
id?: string;
|
|
4411
|
-
description?: string;
|
|
4412
|
-
};
|
|
4413
|
-
status: components$2["schemas"]["JobStatus"];
|
|
4414
|
-
desiredStatus?: "processing" | "terminating" | null;
|
|
4415
|
-
component: string;
|
|
4416
|
-
mode: "run" | "debug";
|
|
4417
|
-
tag?: string | null;
|
|
4418
|
-
config?: string | null;
|
|
4419
|
-
configRow?: string | null;
|
|
4420
|
-
configData?: Record<string, never> | null;
|
|
4421
|
-
result?: {
|
|
4422
|
-
images?: {
|
|
4423
|
-
digests?: string[];
|
|
4424
|
-
id?: string;
|
|
4425
|
-
}[];
|
|
4426
|
-
configVersion?: number;
|
|
4427
|
-
message?: string;
|
|
4428
|
-
} | null;
|
|
4429
|
-
createdTime: string;
|
|
4430
|
-
startTime?: string | null;
|
|
4431
|
-
endTime?: string | null;
|
|
4432
|
-
delayedStartTime?: string | null;
|
|
4433
|
-
durationSeconds?: number | null;
|
|
4434
|
-
isFinished: boolean;
|
|
4435
|
-
url: string;
|
|
4436
|
-
variableValuesId?: string | null;
|
|
4437
|
-
variableValuesData?: {
|
|
4438
|
-
values?: {
|
|
4439
|
-
name?: string;
|
|
4440
|
-
value?: string;
|
|
4441
|
-
}[];
|
|
4442
|
-
} | null;
|
|
4443
|
-
backend?: {
|
|
4444
|
-
type?: string;
|
|
4445
|
-
containerType?: string;
|
|
4446
|
-
context?: string;
|
|
4447
|
-
} | null;
|
|
4448
|
-
metrics?: {
|
|
4449
|
-
storage?: {
|
|
4450
|
-
inputTablesBytesSum?: number;
|
|
4451
|
-
outputTablesBytesSum?: number;
|
|
6352
|
+
} | {
|
|
6353
|
+
status: "success";
|
|
6354
|
+
results: null;
|
|
6355
|
+
})>;
|
|
6356
|
+
createAliasTable: (bucketId: string, body: CreateAliasTableBody, signal?: AbortSignal) => Promise<Table | ({
|
|
6357
|
+
id: number;
|
|
6358
|
+
tableId: string | null;
|
|
6359
|
+
runId: string;
|
|
6360
|
+
url: string;
|
|
6361
|
+
createdTime: string;
|
|
6362
|
+
creatorToken: {
|
|
6363
|
+
id: string;
|
|
6364
|
+
description: string;
|
|
4452
6365
|
};
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
6366
|
+
endTime: string | null;
|
|
6367
|
+
startTime: string | null;
|
|
6368
|
+
operationName: "aliasCreate";
|
|
6369
|
+
operationParams: {
|
|
6370
|
+
queue: string;
|
|
6371
|
+
} & {
|
|
6372
|
+
name: string;
|
|
6373
|
+
sourceTable: string;
|
|
4457
6374
|
};
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
messageId: string;
|
|
4493
|
-
isUpvoted: boolean;
|
|
4494
|
-
}[]>;
|
|
4495
|
-
submitVote: (params: VoteRequest$1) => Promise<void>;
|
|
4496
|
-
getUsage: (signal?: AbortSignal) => Promise<UsageResponse$1>;
|
|
4497
|
-
getSuggestions: (request: SuggestionsRequestBody, signal?: AbortSignal) => Promise<SuggestionsApiResponse>;
|
|
4498
|
-
getAgentSettings: (signal?: AbortSignal) => Promise<AgentSettings>;
|
|
4499
|
-
updateAgentSettings: (request: UpdateAgentSettingsRequest, signal?: AbortSignal) => Promise<AgentSettings>;
|
|
4500
|
-
getUserAgentSettings: (signal?: AbortSignal) => Promise<UserAgentSettings>;
|
|
4501
|
-
updateUserAgentSettings: (request: UpdateUserAgentSettingsRequest, signal?: AbortSignal) => Promise<UserAgentSettings>;
|
|
4502
|
-
getToolsList: (signal?: AbortSignal) => Promise<ToolsListResponse>;
|
|
4503
|
-
};
|
|
4504
|
-
ai: {
|
|
4505
|
-
describeConfigurationVersion: (body: DescribeConfigurationVersionBody) => Promise<{
|
|
4506
|
-
description: string;
|
|
4507
|
-
correlationId: string;
|
|
4508
|
-
}>;
|
|
4509
|
-
describeConfigurationMerge: (body: DescribeConfigurationMergeBody) => Promise<{
|
|
4510
|
-
description: string;
|
|
4511
|
-
correlationId: string;
|
|
4512
|
-
}>;
|
|
4513
|
-
explainError: (body: ExplainErrorBody) => Promise<{
|
|
4514
|
-
answer: string;
|
|
4515
|
-
correlationId: string;
|
|
4516
|
-
}>;
|
|
4517
|
-
describeConfiguration: (body: DescribeConfigurationBody) => Promise<{
|
|
4518
|
-
description: string;
|
|
4519
|
-
correlationId: string;
|
|
4520
|
-
}>;
|
|
4521
|
-
suggestComponent: (body: SuggestComponentBody) => Promise<{
|
|
4522
|
-
components: components$4["schemas"]["SuggestedComponent"][];
|
|
4523
|
-
correlationId: string;
|
|
4524
|
-
}>;
|
|
4525
|
-
feedback: (body: FeedbackBody) => Promise<{
|
|
4526
|
-
error: string;
|
|
4527
|
-
code: number;
|
|
4528
|
-
status: "error";
|
|
4529
|
-
exceptionId?: string;
|
|
4530
|
-
}>;
|
|
4531
|
-
};
|
|
4532
|
-
import: {
|
|
4533
|
-
uploadFile: (file: File, params?: UploadFileParams, signal?: AbortSignal) => Promise<UploadedFile>;
|
|
4534
|
-
};
|
|
4535
|
-
kaiAgent: {
|
|
4536
|
-
getHistory: (params?: GetHistoryQuery) => Promise<{
|
|
4537
|
-
chats: {
|
|
4538
|
-
id?: string;
|
|
4539
|
-
title?: string;
|
|
4540
|
-
userId?: string;
|
|
4541
|
-
createdAt?: string;
|
|
4542
|
-
lastMessageAt?: string;
|
|
4543
|
-
visibility?: "public" | "private";
|
|
4544
|
-
branchId?: number | null;
|
|
4545
|
-
}[];
|
|
4546
|
-
hasMore: boolean;
|
|
4547
|
-
}>;
|
|
4548
|
-
getChat: (chatId: GetChatPath["id"], signal?: AbortSignal) => Promise<{
|
|
4549
|
-
id: string;
|
|
4550
|
-
title: string;
|
|
4551
|
-
userId: string;
|
|
4552
|
-
createdAt: string;
|
|
4553
|
-
lastMessageAt: string;
|
|
4554
|
-
visibility: "public" | "private";
|
|
4555
|
-
branchId?: number | null;
|
|
4556
|
-
messages: {
|
|
4557
|
-
id: string;
|
|
4558
|
-
role: "user" | "assistant";
|
|
4559
|
-
parts: ({
|
|
4560
|
-
type: "text";
|
|
4561
|
-
text: string;
|
|
4562
|
-
state?: "done";
|
|
4563
|
-
} | {
|
|
4564
|
-
type: "tool-result";
|
|
4565
|
-
toolCallId: string;
|
|
4566
|
-
toolName: string;
|
|
4567
|
-
result: string;
|
|
4568
|
-
} | {
|
|
4569
|
-
type: "step-start";
|
|
4570
|
-
} | {
|
|
4571
|
-
type: "data-compact-boundary";
|
|
4572
|
-
data: {
|
|
4573
|
-
trigger: "manual" | "auto";
|
|
4574
|
-
preTokens: number;
|
|
4575
|
-
preservedSegment?: {
|
|
4576
|
-
headUuid: string;
|
|
4577
|
-
anchorUuid: string;
|
|
4578
|
-
tailUuid: string;
|
|
4579
|
-
};
|
|
4580
|
-
summary: string;
|
|
4581
|
-
sdkSessionId: string;
|
|
4582
|
-
};
|
|
4583
|
-
} | {
|
|
4584
|
-
type: string;
|
|
4585
|
-
toolCallId: string;
|
|
4586
|
-
state: "output-available" | "output-error" | "output-denied" | "input-available" | "input-streaming" | "approval-requested" | "approval-responded";
|
|
4587
|
-
input?: {
|
|
4588
|
-
[key: string]: unknown;
|
|
4589
|
-
};
|
|
4590
|
-
output?: unknown;
|
|
4591
|
-
errorText?: string;
|
|
4592
|
-
approval?: {
|
|
4593
|
-
id: string;
|
|
4594
|
-
approved: boolean;
|
|
4595
|
-
reason?: string;
|
|
4596
|
-
};
|
|
4597
|
-
})[];
|
|
4598
|
-
metadata?: {
|
|
4599
|
-
createdAt?: string;
|
|
4600
|
-
hidden?: boolean;
|
|
4601
|
-
requestContext?: {
|
|
4602
|
-
path?: string;
|
|
4603
|
-
sqlEditorActive?: boolean;
|
|
4604
|
-
};
|
|
6375
|
+
metrics: {
|
|
6376
|
+
inCompressed: boolean;
|
|
6377
|
+
inBytes: number;
|
|
6378
|
+
inBytesUncompressed: number;
|
|
6379
|
+
outCompressed: boolean;
|
|
6380
|
+
outBytes: number;
|
|
6381
|
+
outBytesUncompressed: number;
|
|
6382
|
+
};
|
|
6383
|
+
} & ({
|
|
6384
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6385
|
+
results: null;
|
|
6386
|
+
} | {
|
|
6387
|
+
status: "error";
|
|
6388
|
+
results: null;
|
|
6389
|
+
error: {
|
|
6390
|
+
code: string;
|
|
6391
|
+
message: string;
|
|
6392
|
+
exceptionId?: string;
|
|
6393
|
+
};
|
|
6394
|
+
} | {
|
|
6395
|
+
status: "success";
|
|
6396
|
+
results: null;
|
|
6397
|
+
}))>;
|
|
6398
|
+
setAliasTableFilter: (tableId: string, body: SetAliasTableFilterBody, signal?: AbortSignal) => Promise<Table>;
|
|
6399
|
+
removeAliasTableFilter: (tableId: string, signal?: AbortSignal) => Promise<void>;
|
|
6400
|
+
createSnapshot: (tableId: string, body?: CreateSnapshotBody, signal?: AbortSignal) => Promise<{
|
|
6401
|
+
id: number;
|
|
6402
|
+
tableId: string | null;
|
|
6403
|
+
runId: string;
|
|
6404
|
+
url: string;
|
|
6405
|
+
createdTime: string;
|
|
6406
|
+
creatorToken: {
|
|
6407
|
+
id: string;
|
|
6408
|
+
description: string;
|
|
4605
6409
|
};
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
6410
|
+
endTime: string | null;
|
|
6411
|
+
startTime: string | null;
|
|
6412
|
+
operationName: "tableSnapshotCreate";
|
|
6413
|
+
operationParams: {
|
|
6414
|
+
queue: string;
|
|
6415
|
+
} & {
|
|
6416
|
+
id: string;
|
|
6417
|
+
};
|
|
6418
|
+
metrics: {
|
|
6419
|
+
inCompressed: boolean;
|
|
6420
|
+
inBytes: number;
|
|
6421
|
+
inBytesUncompressed: number;
|
|
6422
|
+
outCompressed: boolean;
|
|
6423
|
+
outBytes: number;
|
|
6424
|
+
outBytesUncompressed: number;
|
|
6425
|
+
};
|
|
6426
|
+
} & ({
|
|
6427
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6428
|
+
results: null;
|
|
6429
|
+
} | {
|
|
6430
|
+
status: "error";
|
|
6431
|
+
results: null;
|
|
6432
|
+
error: {
|
|
6433
|
+
code: string;
|
|
6434
|
+
message: string;
|
|
6435
|
+
exceptionId?: string;
|
|
6436
|
+
};
|
|
6437
|
+
} | {
|
|
6438
|
+
status: "success";
|
|
6439
|
+
results: null;
|
|
6440
|
+
})>;
|
|
6441
|
+
deleteSnapshot: (snapshotId: string, signal?: AbortSignal) => Promise<void>;
|
|
6442
|
+
loadTableSnapshots: (tableId: string, signal?: AbortSignal) => Promise<Snapshot[]>;
|
|
6443
|
+
saveTableMetadata: (tableId: string, body: SaveMetadataBody, signal?: AbortSignal) => Promise<Metadata[]>;
|
|
6444
|
+
deleteTableMetadata: (tableId: string, metadataId: string, signal?: AbortSignal) => Promise<void>;
|
|
6445
|
+
};
|
|
6446
|
+
columns: {
|
|
6447
|
+
addTableColumn: (tableId: string, body: AddTableColumnBody, signal?: AbortSignal) => Promise<{
|
|
6448
|
+
id: number;
|
|
6449
|
+
tableId: string | null;
|
|
6450
|
+
runId: string;
|
|
6451
|
+
url: string;
|
|
6452
|
+
createdTime: string;
|
|
6453
|
+
creatorToken: {
|
|
6454
|
+
id: string;
|
|
6455
|
+
description: string;
|
|
6456
|
+
};
|
|
6457
|
+
endTime: string | null;
|
|
6458
|
+
startTime: string | null;
|
|
6459
|
+
operationName: "tableColumnAdd";
|
|
6460
|
+
operationParams: {
|
|
6461
|
+
queue: string;
|
|
6462
|
+
} & {
|
|
6463
|
+
id: string;
|
|
6464
|
+
};
|
|
6465
|
+
metrics: {
|
|
6466
|
+
inCompressed: boolean;
|
|
6467
|
+
inBytes: number;
|
|
6468
|
+
inBytesUncompressed: number;
|
|
6469
|
+
outCompressed: boolean;
|
|
6470
|
+
outBytes: number;
|
|
6471
|
+
outBytesUncompressed: number;
|
|
6472
|
+
};
|
|
6473
|
+
} & ({
|
|
6474
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6475
|
+
results: null;
|
|
6476
|
+
} | {
|
|
6477
|
+
status: "error";
|
|
6478
|
+
results: null;
|
|
6479
|
+
error: {
|
|
6480
|
+
code: string;
|
|
6481
|
+
message: string;
|
|
6482
|
+
exceptionId?: string;
|
|
6483
|
+
};
|
|
6484
|
+
} | {
|
|
6485
|
+
status: "success";
|
|
6486
|
+
results: null;
|
|
6487
|
+
})>;
|
|
6488
|
+
deleteTableColumn: (tableId: string, columnName: string, query?: DeleteTableColumnQuery, signal?: AbortSignal) => Promise<{
|
|
6489
|
+
id: number;
|
|
6490
|
+
tableId: string | null;
|
|
6491
|
+
runId: string;
|
|
6492
|
+
url: string;
|
|
6493
|
+
createdTime: string;
|
|
6494
|
+
creatorToken: {
|
|
6495
|
+
id: string;
|
|
6496
|
+
description: string;
|
|
6497
|
+
};
|
|
6498
|
+
endTime: string | null;
|
|
6499
|
+
startTime: string | null;
|
|
6500
|
+
operationName: "tableColumnDelete";
|
|
6501
|
+
operationParams: {
|
|
6502
|
+
queue: string;
|
|
6503
|
+
} & {
|
|
6504
|
+
id: string;
|
|
6505
|
+
};
|
|
6506
|
+
metrics: {
|
|
6507
|
+
inCompressed: boolean;
|
|
6508
|
+
inBytes: number;
|
|
6509
|
+
inBytesUncompressed: number;
|
|
6510
|
+
outCompressed: boolean;
|
|
6511
|
+
outBytes: number;
|
|
6512
|
+
outBytesUncompressed: number;
|
|
6513
|
+
};
|
|
6514
|
+
} & ({
|
|
6515
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6516
|
+
results: null;
|
|
6517
|
+
} | {
|
|
6518
|
+
status: "error";
|
|
6519
|
+
results: null;
|
|
6520
|
+
error: {
|
|
6521
|
+
code: string;
|
|
6522
|
+
message: string;
|
|
6523
|
+
exceptionId?: string;
|
|
6524
|
+
};
|
|
6525
|
+
} | {
|
|
6526
|
+
status: "success";
|
|
6527
|
+
results: null;
|
|
6528
|
+
})>;
|
|
6529
|
+
createTablePrimaryKey: (tableId: string, body: CreateTablePrimaryKeyBody, signal?: AbortSignal) => Promise<{
|
|
6530
|
+
id: number;
|
|
6531
|
+
tableId: string | null;
|
|
6532
|
+
runId: string;
|
|
6533
|
+
url: string;
|
|
6534
|
+
createdTime: string;
|
|
6535
|
+
creatorToken: {
|
|
6536
|
+
id: string;
|
|
6537
|
+
description: string;
|
|
6538
|
+
};
|
|
6539
|
+
endTime: string | null;
|
|
6540
|
+
startTime: string | null;
|
|
6541
|
+
operationName: "tablePrimaryKeyAdd";
|
|
6542
|
+
operationParams: {
|
|
6543
|
+
queue: string;
|
|
6544
|
+
} & {
|
|
6545
|
+
id: string;
|
|
6546
|
+
};
|
|
6547
|
+
metrics: {
|
|
6548
|
+
inCompressed: boolean;
|
|
6549
|
+
inBytes: number;
|
|
6550
|
+
inBytesUncompressed: number;
|
|
6551
|
+
outCompressed: boolean;
|
|
6552
|
+
outBytes: number;
|
|
6553
|
+
outBytesUncompressed: number;
|
|
6554
|
+
};
|
|
6555
|
+
} & ({
|
|
6556
|
+
status: Exclude<"error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled", "success" | "error">;
|
|
6557
|
+
results: null;
|
|
6558
|
+
} | {
|
|
6559
|
+
status: "error";
|
|
6560
|
+
results: null;
|
|
6561
|
+
error: {
|
|
6562
|
+
code: string;
|
|
6563
|
+
message: string;
|
|
6564
|
+
exceptionId?: string;
|
|
6565
|
+
};
|
|
6566
|
+
} | {
|
|
6567
|
+
status: "success";
|
|
6568
|
+
results: null;
|
|
6569
|
+
})>;
|
|
6570
|
+
removeTablePrimaryKey: (tableId: string, signal?: AbortSignal) => Promise<{
|
|
4744
6571
|
id: number;
|
|
4745
6572
|
tableId: string | null;
|
|
4746
6573
|
runId: string;
|
|
@@ -4752,7 +6579,7 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
4752
6579
|
};
|
|
4753
6580
|
endTime: string | null;
|
|
4754
6581
|
startTime: string | null;
|
|
4755
|
-
operationName: "
|
|
6582
|
+
operationName: "tablePrimaryKeyDelete";
|
|
4756
6583
|
operationParams: {
|
|
4757
6584
|
queue: string;
|
|
4758
6585
|
} & {
|
|
@@ -4781,39 +6608,8 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
4781
6608
|
status: "success";
|
|
4782
6609
|
results: null;
|
|
4783
6610
|
})>;
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
getListing: (bucketId: string, signal?: AbortSignal) => Promise<BucketListing | null>;
|
|
4787
|
-
createListing: (bucketId: string, input: CreateBucketListingInput, signal?: AbortSignal) => Promise<Job<"bucketListingCreate">>;
|
|
4788
|
-
updateListing: (bucketId: string, input: UpdateBucketListingInput, signal?: AbortSignal) => Promise<Job<"bucketListingUpdate">>;
|
|
4789
|
-
deleteListing: (bucketId: string, signal?: AbortSignal) => Promise<Job<"bucketListingDelete">>;
|
|
4790
|
-
listListings: (signal?: AbortSignal) => Promise<BucketListing[]>;
|
|
4791
|
-
};
|
|
4792
|
-
events: {
|
|
4793
|
-
getEvents: (query?: GetEventsQuery, signal?: AbortSignal) => Promise<StorageEvent[]>;
|
|
4794
|
-
getEvent: (eventId: string | number, signal?: AbortSignal) => Promise<StorageEvent>;
|
|
4795
|
-
getTableEvents: (tableId: string, query?: GetTableEventsQuery, signal?: AbortSignal) => Promise<TableEvent[]>;
|
|
4796
|
-
createEvent: (body: CreateEventBody, signal?: AbortSignal) => Promise<StorageEvent>;
|
|
4797
|
-
};
|
|
4798
|
-
files: {
|
|
4799
|
-
getFile: (fileId: number, signal?: AbortSignal) => Promise<File$1>;
|
|
4800
|
-
getFileContent: (fileId: number, signal?: AbortSignal) => Promise<string>;
|
|
4801
|
-
getFiles: (query?: GetFilesQuery, signal?: AbortSignal) => Promise<File$1[]>;
|
|
4802
|
-
deleteFile: (fileId: number) => Promise<void>;
|
|
4803
|
-
addFileTag: (fileId: number, tag: string) => Promise<void>;
|
|
4804
|
-
deleteFileTag: (fileId: DeleteFileTagPath["fileId"], tag: DeleteFileTagPath["tag"]) => Promise<void>;
|
|
4805
|
-
prepareFile: (body: PrepareFileBody, signal?: AbortSignal) => Promise<PreparedFile>;
|
|
4806
|
-
};
|
|
4807
|
-
tables: {
|
|
4808
|
-
getTables: (query?: GetTablesQuery, signal?: AbortSignal) => Promise<Table[]>;
|
|
4809
|
-
getTable: (id: string, signal?: AbortSignal) => Promise<TableDetail>;
|
|
4810
|
-
getDataPreview: (id: string, query?: GetDataPreview, signal?: AbortSignal) => Promise<PrevieData>;
|
|
4811
|
-
deleteTable: (id: string, signal?: AbortSignal) => Promise<void>;
|
|
4812
|
-
deleteTables: (ids: string[]) => Promise<void>;
|
|
4813
|
-
deleteTableRows: (id: string, query?: DeleteTableRows, signal?: AbortSignal) => Promise<JobUnion>;
|
|
4814
|
-
exportAsync: (tableId: string, body?: TableExportAsyncBody, signal?: AbortSignal) => Promise<TableExportJob>;
|
|
4815
|
-
createTableAsync: (bucketId: string, body: CreateTableAsyncBody, signal?: AbortSignal) => Promise<TableCreateJob>;
|
|
4816
|
-
importAsync: (tableId: string, body: TableImportAsyncBody, signal?: AbortSignal) => Promise<TableImportJob>;
|
|
6611
|
+
saveColumnMetadata: (columnId: string, body: SaveMetadataBody, signal?: AbortSignal) => Promise<Metadata[]>;
|
|
6612
|
+
deleteColumnMetadata: (columnId: string, metadataId: string, signal?: AbortSignal) => Promise<void>;
|
|
4817
6613
|
};
|
|
4818
6614
|
branches: {
|
|
4819
6615
|
getDevBranches: (signal?: AbortSignal) => Promise<DevBranch[]>;
|
|
@@ -5020,7 +6816,15 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5020
6816
|
exceptionId?: string;
|
|
5021
6817
|
};
|
|
5022
6818
|
})>;
|
|
5023
|
-
unloadWorkspace: ({ branchId, workspaceId, ...query }: UnloadWorkspaceInput) => Promise<
|
|
6819
|
+
unloadWorkspace: ({ branchId, workspaceId, ...query }: UnloadWorkspaceInput) => Promise<Record<string, never>[]>;
|
|
6820
|
+
inputMappingLoadPreview: ({ branchId, body, backend }: WorkspaceInputMappingLoadPreviewInput, signal?: AbortSignal) => Promise<{
|
|
6821
|
+
input: {
|
|
6822
|
+
source: string;
|
|
6823
|
+
destination: string;
|
|
6824
|
+
loadType: "COPY" | "CLONE" | "VIEW";
|
|
6825
|
+
possibleLoadTypes: ("COPY" | "CLONE" | "VIEW")[];
|
|
6826
|
+
}[];
|
|
6827
|
+
}>;
|
|
5024
6828
|
};
|
|
5025
6829
|
mergeRequests: {
|
|
5026
6830
|
getMergeRequests: (signal?: AbortSignal) => Promise<{
|
|
@@ -5235,6 +7039,38 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5235
7039
|
} & {
|
|
5236
7040
|
changeLog?: Record<string, never>;
|
|
5237
7041
|
}>;
|
|
7042
|
+
mergeMergeRequest: (id: number) => Promise<{
|
|
7043
|
+
id: string;
|
|
7044
|
+
status: string;
|
|
7045
|
+
url: string;
|
|
7046
|
+
tableId: string;
|
|
7047
|
+
operationName: string;
|
|
7048
|
+
operationParams: Record<string, never>;
|
|
7049
|
+
createdTime: string;
|
|
7050
|
+
startTime?: string | null;
|
|
7051
|
+
endTime?: string | null;
|
|
7052
|
+
runId: string;
|
|
7053
|
+
results?: components$6["schemas"]["BucketListingUpdateJobResponse"] | components$6["schemas"]["BucketListingCreateJobResult"] | components$6["schemas"]["BucketListingDeleteResponse"] | components$6["schemas"]["RefreshJobResponse"] | components$6["schemas"]["FileDeleteResponse"] | components$6["schemas"]["TableSnapshotCreateJobResult"] | components$6["schemas"]["TableSwapResult"] | components$6["schemas"]["TableCreateResponse"] | components$6["schemas"]["TableExportJobResponse"];
|
|
7054
|
+
creatorToken: {
|
|
7055
|
+
id?: string;
|
|
7056
|
+
description?: string;
|
|
7057
|
+
};
|
|
7058
|
+
metrics: {
|
|
7059
|
+
inCompressed?: boolean;
|
|
7060
|
+
inBytes?: number;
|
|
7061
|
+
inBytesUncompressed?: number;
|
|
7062
|
+
outCompressed?: boolean;
|
|
7063
|
+
outBytes?: number;
|
|
7064
|
+
outBytesUncompressed?: number;
|
|
7065
|
+
};
|
|
7066
|
+
error?: {
|
|
7067
|
+
code?: string;
|
|
7068
|
+
message?: string;
|
|
7069
|
+
exceptionId?: string;
|
|
7070
|
+
contextParams?: Record<string, never> | null;
|
|
7071
|
+
uuid?: string | null;
|
|
7072
|
+
} | null;
|
|
7073
|
+
}>;
|
|
5238
7074
|
getMergeRequestConflicts: (id: number, signal?: AbortSignal) => Promise<{
|
|
5239
7075
|
message: string;
|
|
5240
7076
|
componentId: string;
|
|
@@ -5253,9 +7089,11 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5253
7089
|
getComponents: ({ branchId, ...query }?: GetComponentsPath & GetComponentsQuery, signal?: AbortSignal) => Promise<Component[]>;
|
|
5254
7090
|
searchComponentConfigurations: ({ branchId }?: GetSearchComponentConfigurationsPath, query?: SearchComponentConfigurationsQuery, signal?: AbortSignal) => Promise<SearchComponentConfiguration[]>;
|
|
5255
7091
|
createConfiguration: ({ branchId, componentId, ...body }: PartialKey<CreateConfigurationInput, "branchId">) => Promise<BaseComponentConfig>;
|
|
7092
|
+
updateConfiguration: <T extends ConfigType = "unknown">({ branchId, componentId, configId, configuration, ...rest }: PartialKey<UpdateConfigurationInput, "branchId">, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
|
|
5256
7093
|
getConfiguration: <T extends ConfigType = "unknown">({ componentId, configId, branchId }: ConfigurationPath, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
|
|
5257
7094
|
getConfigurationDiff: ({ componentId, configId, branchId }: ConfigurationDiffPath, signal?: AbortSignal) => Promise<ConfigurationDiff>;
|
|
5258
7095
|
getConfigurationRowDiff: ({ componentId, configId, rowId, branchId }: ConfigurationRowDiffPath, signal?: AbortSignal) => Promise<ConfigurationRowDiff>;
|
|
7096
|
+
rebaseConfiguration: ({ branchId, componentId, configId, ...body }: RebaseConfigurationInput) => Promise<BaseComponentConfig>;
|
|
5259
7097
|
deleteConfiguration: (path: Required<ConfigurationPath>) => Promise<void>;
|
|
5260
7098
|
deleteConfigurations: ({ configIds, ...rest }: Required<Omit<ConfigurationPath, "configId">> & {
|
|
5261
7099
|
configIds: string[];
|
|
@@ -5330,6 +7168,125 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5330
7168
|
tokens: {
|
|
5331
7169
|
verify: (signal?: AbortSignal) => Promise<StorageToken>;
|
|
5332
7170
|
refresh: (id: string, signal?: AbortSignal) => Promise<StorageToken>;
|
|
7171
|
+
getTokens: (signal?: AbortSignal) => Promise<{
|
|
7172
|
+
id: string;
|
|
7173
|
+
created: string;
|
|
7174
|
+
refreshed: string;
|
|
7175
|
+
description?: string | null;
|
|
7176
|
+
uri: string;
|
|
7177
|
+
isMasterToken: boolean;
|
|
7178
|
+
canManageBuckets: boolean;
|
|
7179
|
+
canManageTokens: boolean;
|
|
7180
|
+
canReadAllFileUploads: boolean;
|
|
7181
|
+
canPurgeTrash: boolean;
|
|
7182
|
+
canManageProtectedDefaultBranch: boolean;
|
|
7183
|
+
canCreateJobs: boolean;
|
|
7184
|
+
canReadAllProjectEvents: boolean;
|
|
7185
|
+
canManageDevBranches: boolean;
|
|
7186
|
+
expires?: string | null;
|
|
7187
|
+
isExpired: boolean;
|
|
7188
|
+
isDisabled: boolean;
|
|
7189
|
+
dailyCapacity: number;
|
|
7190
|
+
token?: string | null;
|
|
7191
|
+
creatorToken?: {
|
|
7192
|
+
id?: number;
|
|
7193
|
+
description?: string;
|
|
7194
|
+
} | null;
|
|
7195
|
+
componentAccess?: string[] | null;
|
|
7196
|
+
bucketPermissions: {
|
|
7197
|
+
[key: string]: string;
|
|
7198
|
+
};
|
|
7199
|
+
admin?: {
|
|
7200
|
+
name?: string;
|
|
7201
|
+
id?: number;
|
|
7202
|
+
role?: string;
|
|
7203
|
+
} | null;
|
|
7204
|
+
}[]>;
|
|
7205
|
+
createToken: (body: CreateTokenBody, signal?: AbortSignal) => Promise<{
|
|
7206
|
+
id: string;
|
|
7207
|
+
token: string;
|
|
7208
|
+
created: string;
|
|
7209
|
+
refreshed: string;
|
|
7210
|
+
description?: string | null;
|
|
7211
|
+
uri: string;
|
|
7212
|
+
isMasterToken: boolean;
|
|
7213
|
+
canManageBuckets: boolean;
|
|
7214
|
+
canManageTokens: boolean;
|
|
7215
|
+
canReadAllFileUploads: boolean;
|
|
7216
|
+
canPurgeTrash: boolean;
|
|
7217
|
+
expires?: string | null;
|
|
7218
|
+
isExpired: boolean;
|
|
7219
|
+
isDisabled: boolean;
|
|
7220
|
+
dailyCapacity: number;
|
|
7221
|
+
creatorToken: {
|
|
7222
|
+
id?: number;
|
|
7223
|
+
description?: string;
|
|
7224
|
+
};
|
|
7225
|
+
bucketPermissions: {
|
|
7226
|
+
[key: string]: string;
|
|
7227
|
+
};
|
|
7228
|
+
canManageProtectedDefaultBranch: boolean;
|
|
7229
|
+
canCreateJobs: boolean;
|
|
7230
|
+
canReadAllProjectEvents: boolean;
|
|
7231
|
+
canManageDevBranches: boolean;
|
|
7232
|
+
}>;
|
|
7233
|
+
updateToken: (id: string, body: UpdateTokenBody, signal?: AbortSignal) => Promise<StorageToken>;
|
|
7234
|
+
deleteToken: (id: string, signal?: AbortSignal) => Promise<void>;
|
|
7235
|
+
shareToken: (id: string, body: ShareTokenBody, signal?: AbortSignal) => Promise<void>;
|
|
7236
|
+
};
|
|
7237
|
+
triggers: {
|
|
7238
|
+
listTriggers: (query?: ListTriggersQuery, signal?: AbortSignal) => Promise<{
|
|
7239
|
+
id: string;
|
|
7240
|
+
runWithTokenId: number;
|
|
7241
|
+
component: string;
|
|
7242
|
+
configurationId: string;
|
|
7243
|
+
lastRun?: string | null;
|
|
7244
|
+
creatorToken: {
|
|
7245
|
+
id: number;
|
|
7246
|
+
description: string;
|
|
7247
|
+
};
|
|
7248
|
+
coolDownPeriodMinutes: number;
|
|
7249
|
+
tables: {
|
|
7250
|
+
tableId: string;
|
|
7251
|
+
}[];
|
|
7252
|
+
}[]>;
|
|
7253
|
+
createTrigger: (body: CreateTriggerBody, signal?: AbortSignal) => Promise<{
|
|
7254
|
+
id: string;
|
|
7255
|
+
runWithTokenId: number;
|
|
7256
|
+
component: string;
|
|
7257
|
+
configurationId: string;
|
|
7258
|
+
lastRun?: string | null;
|
|
7259
|
+
creatorToken: {
|
|
7260
|
+
id: number;
|
|
7261
|
+
description: string;
|
|
7262
|
+
};
|
|
7263
|
+
coolDownPeriodMinutes: number;
|
|
7264
|
+
tables: {
|
|
7265
|
+
tableId: string;
|
|
7266
|
+
}[];
|
|
7267
|
+
}>;
|
|
7268
|
+
updateTrigger: (triggerId: string, body: UpdateTriggerBody, signal?: AbortSignal) => Promise<{
|
|
7269
|
+
id: string;
|
|
7270
|
+
runWithTokenId: number;
|
|
7271
|
+
component: string;
|
|
7272
|
+
configurationId: string;
|
|
7273
|
+
lastRun?: string | null;
|
|
7274
|
+
creatorToken: {
|
|
7275
|
+
id: number;
|
|
7276
|
+
description: string;
|
|
7277
|
+
};
|
|
7278
|
+
coolDownPeriodMinutes: number;
|
|
7279
|
+
tables: {
|
|
7280
|
+
tableId: string;
|
|
7281
|
+
}[];
|
|
7282
|
+
}>;
|
|
7283
|
+
deleteTrigger: (triggerId: string, signal?: AbortSignal) => Promise<void>;
|
|
7284
|
+
};
|
|
7285
|
+
search: {
|
|
7286
|
+
globalSearch: (query: GlobalSearchQuery, signal?: AbortSignal) => Promise<GlobalSearchResponse>;
|
|
7287
|
+
};
|
|
7288
|
+
stats: {
|
|
7289
|
+
getRunIdStats: (runId: string, signal?: AbortSignal) => Promise<RunIdStats>;
|
|
5333
7290
|
};
|
|
5334
7291
|
getStackInfo: (query?: GetStackInfoQuery, signal?: AbortSignal) => Promise<StackInfo>;
|
|
5335
7292
|
};
|
|
@@ -5397,7 +7354,22 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5397
7354
|
}>;
|
|
5398
7355
|
acceptOrganizationInvitation: (id: number) => Promise<void>;
|
|
5399
7356
|
rejectOrganizationInvitation: (id: number) => Promise<void>;
|
|
5400
|
-
getProjectInvitations: (signal?: AbortSignal) => Promise<
|
|
7357
|
+
getProjectInvitations: (signal?: AbortSignal) => Promise<{
|
|
7358
|
+
id: number;
|
|
7359
|
+
created: string;
|
|
7360
|
+
expires?: string | null;
|
|
7361
|
+
reason?: string | null;
|
|
7362
|
+
role?: string | null;
|
|
7363
|
+
project: {
|
|
7364
|
+
id?: number;
|
|
7365
|
+
name?: string;
|
|
7366
|
+
};
|
|
7367
|
+
creator: {
|
|
7368
|
+
id?: number;
|
|
7369
|
+
name?: string;
|
|
7370
|
+
email?: string;
|
|
7371
|
+
};
|
|
7372
|
+
}[]>;
|
|
5401
7373
|
getProjectInvitation: (id: number, signal?: AbortSignal) => Promise<{
|
|
5402
7374
|
id: number;
|
|
5403
7375
|
created: string;
|
|
@@ -5416,49 +7388,21 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5416
7388
|
}>;
|
|
5417
7389
|
acceptProjectInvitation: (id: number) => Promise<void>;
|
|
5418
7390
|
rejectProjectInvitation: (id: number) => Promise<void>;
|
|
5419
|
-
getProjectJoinRequests: (signal?: AbortSignal) => Promise<
|
|
5420
|
-
deleteProjectJoinRequest: (id: number) => Promise<void>;
|
|
5421
|
-
};
|
|
5422
|
-
features: {
|
|
5423
|
-
getAllFeatures: (query: GetAllFeaturesQuery, signal?: AbortSignal) => Promise<Feature[]>;
|
|
5424
|
-
};
|
|
5425
|
-
maintainers: {
|
|
5426
|
-
getMaintainers: (signal?: AbortSignal) => Promise<{
|
|
7391
|
+
getProjectJoinRequests: (signal?: AbortSignal) => Promise<{
|
|
5427
7392
|
id: number;
|
|
5428
|
-
name: string;
|
|
5429
7393
|
created: string;
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
defaultFileStorageId?: number | null;
|
|
5437
|
-
zendeskUrl?: string | null;
|
|
5438
|
-
organizations: {
|
|
5439
|
-
id: number;
|
|
5440
|
-
name: string;
|
|
5441
|
-
}[];
|
|
7394
|
+
expires?: string | null;
|
|
7395
|
+
reason?: string | null;
|
|
7396
|
+
project: {
|
|
7397
|
+
id?: number;
|
|
7398
|
+
name?: string;
|
|
7399
|
+
};
|
|
5442
7400
|
}[]>;
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
defaultConnectionSnowflakeId?: number | null;
|
|
5449
|
-
defaultConnectionSynapseId?: number | null;
|
|
5450
|
-
defaultConnectionExasolId?: number | null;
|
|
5451
|
-
defaultConnectionBigqueryId?: number | null;
|
|
5452
|
-
defaultConnectionTeradataId?: number | null;
|
|
5453
|
-
defaultFileStorageId?: number | null;
|
|
5454
|
-
zendeskUrl?: string | null;
|
|
5455
|
-
organizations: {
|
|
5456
|
-
id: number;
|
|
5457
|
-
name: string;
|
|
5458
|
-
}[];
|
|
5459
|
-
} & {
|
|
5460
|
-
organizations?: components$5["schemas"]["OrganizationResponse"][];
|
|
5461
|
-
}>;
|
|
7401
|
+
deleteProjectJoinRequest: (id: number) => Promise<void>;
|
|
7402
|
+
};
|
|
7403
|
+
maintainers: {
|
|
7404
|
+
getMaintainers: (signal?: AbortSignal) => Promise<Maintainer[]>;
|
|
7405
|
+
getMaintainer: (maintainerId: number, signal?: AbortSignal) => Promise<MaintainerDetail>;
|
|
5462
7406
|
createMaintainer: (body: CreateMaintainerBody) => Promise<{
|
|
5463
7407
|
id: number;
|
|
5464
7408
|
name: string;
|
|
@@ -5472,8 +7416,8 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5472
7416
|
defaultFileStorageId?: number | null;
|
|
5473
7417
|
zendeskUrl?: string | null;
|
|
5474
7418
|
organizations: {
|
|
5475
|
-
id
|
|
5476
|
-
name
|
|
7419
|
+
id?: number;
|
|
7420
|
+
name?: string;
|
|
5477
7421
|
}[];
|
|
5478
7422
|
}>;
|
|
5479
7423
|
updateMaintainer: ({ maintainerId, ...body }: {
|
|
@@ -5491,8 +7435,8 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5491
7435
|
defaultFileStorageId?: number | null;
|
|
5492
7436
|
zendeskUrl?: string | null;
|
|
5493
7437
|
organizations: {
|
|
5494
|
-
id
|
|
5495
|
-
name
|
|
7438
|
+
id?: number;
|
|
7439
|
+
name?: string;
|
|
5496
7440
|
}[];
|
|
5497
7441
|
}>;
|
|
5498
7442
|
deleteMaintainer: (maintainerId: number) => Promise<void>;
|
|
@@ -5512,7 +7456,20 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5512
7456
|
maintainerId: number;
|
|
5513
7457
|
adminId: number;
|
|
5514
7458
|
}) => Promise<void>;
|
|
5515
|
-
getMaintainerInvitations: (maintainerId: number, signal?: AbortSignal) => Promise<
|
|
7459
|
+
getMaintainerInvitations: (maintainerId: number, signal?: AbortSignal) => Promise<{
|
|
7460
|
+
id: number;
|
|
7461
|
+
created?: string | null;
|
|
7462
|
+
user: {
|
|
7463
|
+
id?: number;
|
|
7464
|
+
name?: string;
|
|
7465
|
+
email?: string;
|
|
7466
|
+
};
|
|
7467
|
+
creator: {
|
|
7468
|
+
id?: number;
|
|
7469
|
+
name?: string;
|
|
7470
|
+
email?: string;
|
|
7471
|
+
};
|
|
7472
|
+
}[]>;
|
|
5516
7473
|
getMaintainerInvitation: ({ maintainerId, invitationId }: {
|
|
5517
7474
|
maintainerId: number;
|
|
5518
7475
|
invitationId: number;
|
|
@@ -5560,7 +7517,6 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5560
7517
|
crmId?: string | null;
|
|
5561
7518
|
activityCenterProjectId?: number | null;
|
|
5562
7519
|
mfaRequired: boolean;
|
|
5563
|
-
projectsCount: number;
|
|
5564
7520
|
}>;
|
|
5565
7521
|
getMaintainerMetadata: (maintainerId: number, signal?: AbortSignal) => Promise<MetadataItem[]>;
|
|
5566
7522
|
setMaintainerMetadata: ({ maintainerId, ...body }: {
|
|
@@ -5605,7 +7561,12 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5605
7561
|
crmId?: string | null;
|
|
5606
7562
|
activityCenterProjectId?: number | null;
|
|
5607
7563
|
mfaRequired: boolean;
|
|
5608
|
-
|
|
7564
|
+
} & {
|
|
7565
|
+
projects: {
|
|
7566
|
+
id: number;
|
|
7567
|
+
name: string;
|
|
7568
|
+
created: string;
|
|
7569
|
+
}[];
|
|
5609
7570
|
}>;
|
|
5610
7571
|
deleteOrganization: (organizationId: number) => Promise<void>;
|
|
5611
7572
|
forceMfa: (organizationId: number) => Promise<{
|
|
@@ -5616,7 +7577,12 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5616
7577
|
crmId?: string | null;
|
|
5617
7578
|
activityCenterProjectId?: number | null;
|
|
5618
7579
|
mfaRequired: boolean;
|
|
5619
|
-
|
|
7580
|
+
} & {
|
|
7581
|
+
projects: {
|
|
7582
|
+
id: number;
|
|
7583
|
+
name: string;
|
|
7584
|
+
created: string;
|
|
7585
|
+
}[];
|
|
5620
7586
|
}>;
|
|
5621
7587
|
joinOrganization: (organizationId: number) => Promise<void>;
|
|
5622
7588
|
getOrganizationUsers: (organizationId: number, signal?: AbortSignal) => Promise<{
|
|
@@ -5725,10 +7691,16 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5725
7691
|
defaultBackend: string;
|
|
5726
7692
|
hasTryModeOn: string;
|
|
5727
7693
|
limits: {
|
|
5728
|
-
[key: string]:
|
|
7694
|
+
[key: string]: {
|
|
7695
|
+
name?: string;
|
|
7696
|
+
value?: number;
|
|
7697
|
+
};
|
|
5729
7698
|
};
|
|
5730
7699
|
metrics: {
|
|
5731
|
-
[key: string]:
|
|
7700
|
+
[key: string]: {
|
|
7701
|
+
name?: string;
|
|
7702
|
+
value?: number;
|
|
7703
|
+
};
|
|
5732
7704
|
};
|
|
5733
7705
|
isDisabled: boolean;
|
|
5734
7706
|
billedMonthlyPrice?: number | null;
|
|
@@ -5756,6 +7728,12 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5756
7728
|
metadataId: number;
|
|
5757
7729
|
}) => Promise<void>;
|
|
5758
7730
|
};
|
|
7731
|
+
features: {
|
|
7732
|
+
getAllFeatures: (query: GetAllFeaturesQuery, signal?: AbortSignal) => Promise<Feature[]>;
|
|
7733
|
+
getFeature: (featureId: number, signal?: AbortSignal) => Promise<Feature>;
|
|
7734
|
+
getFeatureProjects: (featureId: number, signal?: AbortSignal) => Promise<FeatureProject[]>;
|
|
7735
|
+
getFeatureAdmins: (featureId: number, signal?: AbortSignal) => Promise<FeatureAdmin[]>;
|
|
7736
|
+
};
|
|
5759
7737
|
projects: {
|
|
5760
7738
|
getProject: (projectId: GetProjectPath["projectId"], signal?: AbortSignal) => Promise<Project>;
|
|
5761
7739
|
addProjectFeature: ({ projectId, feature, }: CreateProjectFeaturePath & CreateProjectFeatureBody) => Promise<Project>;
|
|
@@ -5766,10 +7744,57 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5766
7744
|
role: User["role"];
|
|
5767
7745
|
}) => Promise<User>;
|
|
5768
7746
|
getProjectUsers: (projectId: ListProjectUsersPath["projectId"], signal?: AbortSignal) => Promise<User[]>;
|
|
7747
|
+
getProjectInvitations: (projectId: ListProjectInvitationsPath["projectId"], signal?: AbortSignal) => Promise<{
|
|
7748
|
+
id: number;
|
|
7749
|
+
created?: string | null;
|
|
7750
|
+
expires?: string | null;
|
|
7751
|
+
reason?: string | null;
|
|
7752
|
+
role?: string | null;
|
|
7753
|
+
user: {
|
|
7754
|
+
id?: number;
|
|
7755
|
+
name?: string;
|
|
7756
|
+
email?: string;
|
|
7757
|
+
};
|
|
7758
|
+
creator: {
|
|
7759
|
+
id?: number;
|
|
7760
|
+
name?: string;
|
|
7761
|
+
email?: string;
|
|
7762
|
+
};
|
|
7763
|
+
}[]>;
|
|
7764
|
+
createProjectInvitation: ({ projectId, ...body }: CreateProjectInvitationPath & CreateProjectInvitationBody) => Promise<{
|
|
7765
|
+
id: number;
|
|
7766
|
+
created?: string | null;
|
|
7767
|
+
expires?: string | null;
|
|
7768
|
+
reason?: string | null;
|
|
7769
|
+
role?: string | null;
|
|
7770
|
+
user: {
|
|
7771
|
+
id?: number;
|
|
7772
|
+
name?: string;
|
|
7773
|
+
email?: string;
|
|
7774
|
+
};
|
|
7775
|
+
creator: {
|
|
7776
|
+
id?: number;
|
|
7777
|
+
name?: string;
|
|
7778
|
+
email?: string;
|
|
7779
|
+
};
|
|
7780
|
+
}>;
|
|
7781
|
+
deleteProjectInvitation: ({ projectId, invitationId, }: DeleteProjectInvitationPath) => Promise<null>;
|
|
7782
|
+
addProjectUser: ({ projectId, ...body }: AddProjectUserPath & AddProjectUserBody) => Promise<User>;
|
|
7783
|
+
removeProjectUser: ({ projectId, idOrEmail }: RemoveProjectUserPath) => Promise<null>;
|
|
5769
7784
|
getProjectMetadata: (projectId: GetProjectMetadataPath["projectId"], signal?: AbortSignal) => Promise<ProjectMetadataItem[]>;
|
|
5770
7785
|
setProjectMetadata: ({ projectId, provider, metadata, }: SetProjectMetadataPath & SetProjectMetadataBody) => Promise<ProjectMetadataItem[]>;
|
|
5771
7786
|
getProjectReviewers: (projectId: GetProjectReviewersPath["projectId"], signal?: AbortSignal) => Promise<Reviewer[]>;
|
|
5772
7787
|
setProjectReviewers: ({ projectId, adminIds, }: SetProjectReviewersPath & SetProjectReviewersBody) => Promise<void>;
|
|
7788
|
+
updateProject: ({ projectId, ...body }: {
|
|
7789
|
+
projectId: number;
|
|
7790
|
+
} & UpdateProjectBody) => Promise<Project>;
|
|
7791
|
+
deleteProject: (projectId: number) => Promise<null>;
|
|
7792
|
+
moveProject: ({ projectId, organizationId, }: {
|
|
7793
|
+
projectId: number;
|
|
7794
|
+
} & MoveProjectBody) => Promise<Project>;
|
|
7795
|
+
setProjectDisabled: ({ projectId, ...body }: {
|
|
7796
|
+
projectId: number;
|
|
7797
|
+
} & SetProjectDisabledBody) => Promise<Project>;
|
|
5773
7798
|
};
|
|
5774
7799
|
users: {
|
|
5775
7800
|
addUserAdminFeature: ({ feature, userIdOrMail }: AddUserFeatureBody & AddUserFeaturePath, signal?: AbortSignal) => Promise<User>;
|
|
@@ -5779,30 +7804,31 @@ declare const createClients: ({ baseUrl, token, assetsBaseUrl, statusBaseUrl, me
|
|
|
5779
7804
|
id: number;
|
|
5780
7805
|
description: string;
|
|
5781
7806
|
created: string;
|
|
5782
|
-
lastUsed
|
|
5783
|
-
expires
|
|
7807
|
+
lastUsed: string | null;
|
|
7808
|
+
expires: string | null;
|
|
5784
7809
|
isSessionToken: boolean;
|
|
5785
7810
|
isExpired: boolean;
|
|
5786
7811
|
isDisabled: boolean;
|
|
5787
7812
|
scopes: string[];
|
|
5788
7813
|
type: string;
|
|
5789
7814
|
creator: {
|
|
5790
|
-
id
|
|
5791
|
-
name
|
|
7815
|
+
id: number;
|
|
7816
|
+
name: string;
|
|
5792
7817
|
};
|
|
5793
7818
|
user?: {
|
|
5794
|
-
id
|
|
5795
|
-
name
|
|
5796
|
-
email
|
|
5797
|
-
mfaEnabled
|
|
5798
|
-
features
|
|
5799
|
-
canAccessLogs
|
|
5800
|
-
isSuperAdmin
|
|
7819
|
+
id: number;
|
|
7820
|
+
name: string;
|
|
7821
|
+
email: string;
|
|
7822
|
+
mfaEnabled: boolean;
|
|
7823
|
+
features: string[];
|
|
7824
|
+
canAccessLogs: boolean;
|
|
7825
|
+
isSuperAdmin: boolean;
|
|
5801
7826
|
} | null;
|
|
5802
7827
|
}>;
|
|
5803
7828
|
};
|
|
5804
7829
|
}>;
|
|
5805
7830
|
type Clients = Awaited<ReturnType<typeof createClients>>;
|
|
7831
|
+
type ClientContext = Clients['context'];
|
|
5806
7832
|
type ApiClient = {
|
|
5807
7833
|
init: (options: ApiClientOptions) => Promise<void>;
|
|
5808
7834
|
} & Clients;
|
|
@@ -5849,12 +7875,6 @@ type RetryOptions = {
|
|
|
5849
7875
|
};
|
|
5850
7876
|
declare const createRetryMiddleware: (options?: RetryOptions) => MiddlewareFn;
|
|
5851
7877
|
|
|
5852
|
-
declare const KeboolaHttpHeader: {
|
|
5853
|
-
STORAGE_API_TOKEN: string;
|
|
5854
|
-
MANAGEMENT_API_TOKEN: string;
|
|
5855
|
-
STORAGE_API_URL: string;
|
|
5856
|
-
};
|
|
5857
|
-
|
|
5858
7878
|
declare const createDevApiClient: () => {
|
|
5859
7879
|
verify: {
|
|
5860
7880
|
storageApiToken: (host: string, token: string, signal?: AbortSignal) => Promise<StorageToken>;
|
|
@@ -5862,4 +7882,4 @@ declare const createDevApiClient: () => {
|
|
|
5862
7882
|
};
|
|
5863
7883
|
};
|
|
5864
7884
|
|
|
5865
|
-
export { type ApiClient, type ApiClientOptions, ApiError, ConcurrentOptions, type FetchClientError, HttpContentType, HttpHeader,
|
|
7885
|
+
export { type ApiClient, type ApiClientOptions, ApiError, type ClientContext, ConcurrentOptions, type FetchClientError, HttpContentType, HttpHeader, KeboolaObjectId, type Log, type LogLevel, type Logger, type LoggingOptions, MiddlewareFn, PollException, type ReadableStore, type RequestLog, type ResponseLog, type RetryOptions, ServiceUnavailableError, type Store, UserError, assert, coalesce, createApiClient, createDerivedStore, createDevApiClient, createLiveProject, createLoggingMiddleware, createRetryMiddleware, createStore, delay, generateUUID, isAbortError, isApiError, isFetchClientError, isStorageTokenMutatingRequest, poll, series, shallowEqual };
|