@keboola/api-client 25.0.0 → 29.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +623 -0
- package/API-SURFACE.md +133 -57
- package/README.md +81 -42
- package/dist/ManagementClientAuthError-B97OtOQ7.js +15 -0
- package/dist/ManagementClientAuthError-B97OtOQ7.js.map +1 -0
- package/dist/ManagementClientAuthError-ZJ2-RoKT.cjs +20 -0
- package/dist/ManagementClientAuthError-ZJ2-RoKT.cjs.map +1 -0
- package/dist/QueryJobTimeoutError-C7JbNGOM.js +38 -0
- package/dist/QueryJobTimeoutError-C7JbNGOM.js.map +1 -0
- package/dist/QueryJobTimeoutError-CVNPdCWX.cjs +61 -0
- package/dist/QueryJobTimeoutError-CVNPdCWX.cjs.map +1 -0
- package/dist/SyncActionError-BG0zwchi.cjs +35 -0
- package/dist/SyncActionError-BG0zwchi.cjs.map +1 -0
- package/dist/SyncActionError-CoZFsdUk.js +24 -0
- package/dist/SyncActionError-CoZFsdUk.js.map +1 -0
- package/dist/UserError-By_Zckmc.js +10 -0
- package/dist/UserError-By_Zckmc.js.map +1 -0
- package/dist/UserError-CSGO1qII.cjs +15 -0
- package/dist/UserError-CSGO1qII.cjs.map +1 -0
- package/dist/ValidationError-CzPWydEb.js +44 -0
- package/dist/ValidationError-CzPWydEb.js.map +1 -0
- package/dist/ValidationError-h5qvwahi.cjs +61 -0
- package/dist/ValidationError-h5qvwahi.cjs.map +1 -0
- package/dist/adminRoles-B40yBcmq.js +14 -0
- package/dist/adminRoles-B40yBcmq.js.map +1 -0
- package/dist/adminRoles-C696kD_U.d.cts +14 -0
- package/dist/adminRoles-C696kD_U.d.ts +14 -0
- package/dist/adminRoles-CO7J5qAy.cjs +19 -0
- package/dist/adminRoles-CO7J5qAy.cjs.map +1 -0
- package/dist/ai/index.cjs +62 -12
- package/dist/ai/index.cjs.map +1 -1
- package/dist/ai/index.d.cts +52 -50
- package/dist/ai/index.d.ts +52 -50
- package/dist/ai/index.js +62 -4
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/types.cjs +0 -4
- package/dist/ai/types.d.cts +2 -2
- package/dist/ai/types.d.ts +2 -2
- package/dist/ai/types.js +1 -3
- package/dist/appLogs-CNG3yby-.cjs +153 -0
- package/dist/appLogs-CNG3yby-.cjs.map +1 -0
- package/dist/appLogs-Dl5BcCSD.d.cts +10 -0
- package/dist/appLogs-VdgP08aX.d.ts +10 -0
- package/dist/appLogs-enL9XR9r.js +132 -0
- package/dist/appLogs-enL9XR9r.js.map +1 -0
- package/dist/apps/index.cjs +231 -0
- package/dist/apps/index.cjs.map +1 -0
- package/dist/apps/index.d.cts +248 -0
- package/dist/apps/index.d.ts +248 -0
- package/dist/apps/index.js +230 -0
- package/dist/apps/index.js.map +1 -0
- package/dist/apps/types.cjs +0 -0
- package/dist/apps/types.d.cts +3 -0
- package/dist/apps/types.d.ts +3 -0
- package/dist/apps/types.js +1 -0
- package/dist/assets/index.cjs +33 -38
- package/dist/assets/index.cjs.map +1 -1
- package/dist/assets/index.d.cts +22 -22
- package/dist/assets/index.d.ts +22 -22
- package/dist/assets/index.js +32 -36
- package/dist/assets/index.js.map +1 -1
- package/dist/assets/schema.cjs +23 -13
- package/dist/assets/schema.cjs.map +1 -1
- package/dist/assets/schema.d.cts +29 -28
- package/dist/assets/schema.d.ts +29 -28
- package/dist/assets/schema.js +21 -2
- package/dist/assets/schema.js.map +1 -1
- package/dist/auth/index.cjs +14 -53
- package/dist/auth/index.d.cts +2 -305
- package/dist/auth/index.d.ts +2 -305
- package/dist/auth/index.js +2 -4
- package/dist/auth/types.cjs +0 -4
- package/dist/auth/types.d.cts +2 -7
- package/dist/auth/types.d.ts +2 -7
- package/dist/auth/types.js +1 -3
- package/dist/auth-5HCvCsZO.cjs +18 -0
- package/dist/auth-5HCvCsZO.cjs.map +1 -0
- package/dist/auth-D2jfNlpX.js +13 -0
- package/dist/{chunk-EDX5D6UY.js.map → auth-D2jfNlpX.js.map} +1 -1
- package/dist/authClient-Bgj2Ay7h.d.cts +320 -0
- package/dist/authClient-DOk6VKdV.js +332 -0
- package/dist/authClient-DOk6VKdV.js.map +1 -0
- package/dist/authClient-Dsd7W99W.d.ts +320 -0
- package/dist/authClient-Z8Eg8rlN.cjs +405 -0
- package/dist/authClient-Z8Eg8rlN.cjs.map +1 -0
- package/dist/backends-DKBz5OxE.d.cts +9 -0
- package/dist/backends-DKBz5OxE.d.ts +9 -0
- package/dist/chat/index.cjs +134 -13
- package/dist/chat/index.cjs.map +1 -1
- package/dist/chat/index.d.cts +49 -48
- package/dist/chat/index.d.ts +49 -48
- package/dist/chat/index.js +134 -5
- package/dist/chat/index.js.map +1 -1
- package/dist/chat/suggestions.cjs +152 -74
- package/dist/chat/suggestions.cjs.map +1 -1
- package/dist/chat/suggestions.d.cts +2 -437
- package/dist/chat/suggestions.d.ts +2 -437
- package/dist/chat/suggestions.js +136 -2
- package/dist/chat/suggestions.js.map +1 -1
- package/dist/chat/types.cjs +6 -8
- package/dist/chat/types.cjs.map +1 -1
- package/dist/chat/types.d.cts +2 -3
- package/dist/chat/types.d.ts +2 -3
- package/dist/chat/types.js +5 -6
- package/dist/chat/types.js.map +1 -1
- package/dist/componentId-DkyQ8PM0.cjs +73 -0
- package/dist/componentId-DkyQ8PM0.cjs.map +1 -0
- package/dist/componentId-vJz-kWs6.js +68 -0
- package/dist/componentId-vJz-kWs6.js.map +1 -0
- package/dist/concurrent-CH9fbNr3.js +34 -0
- package/dist/concurrent-CH9fbNr3.js.map +1 -0
- package/dist/concurrent-tbiIa0UL.cjs +39 -0
- package/dist/concurrent-tbiIa0UL.cjs.map +1 -0
- package/dist/configurations-Byt59bIa.js +726 -0
- package/dist/{chunk-IAYPOSMM.cjs.map → configurations-Byt59bIa.js.map} +1 -1
- package/dist/configurations-CujCwDcB.cjs +743 -0
- package/dist/configurations-CujCwDcB.cjs.map +1 -0
- package/dist/configurations-DCOJONZZ.cjs +313 -0
- package/dist/configurations-DCOJONZZ.cjs.map +1 -0
- package/dist/configurations-iCbhe0tb.js +158 -0
- package/dist/configurations-iCbhe0tb.js.map +1 -0
- package/dist/constants/index.cjs +10 -34
- package/dist/constants/index.d.cts +4 -92
- package/dist/constants/index.d.ts +4 -92
- package/dist/constants/index.js +4 -5
- package/dist/constants-CqyyBkXW.cjs +197 -0
- package/dist/constants-CqyyBkXW.cjs.map +1 -0
- package/dist/constants-_HhqKvBg.js +174 -0
- package/dist/constants-_HhqKvBg.js.map +1 -0
- package/dist/createFetchClient-BK0TZK-U.js +184 -0
- package/dist/createFetchClient-BK0TZK-U.js.map +1 -0
- package/dist/createFetchClient-BsG719K1.cjs +263 -0
- package/dist/createFetchClient-BsG719K1.cjs.map +1 -0
- package/dist/createGenericFetchClient-CVZYekDk.js +7 -0
- package/dist/createGenericFetchClient-CVZYekDk.js.map +1 -0
- package/dist/createGenericFetchClient-DLbjX0eM.cjs +12 -0
- package/dist/createGenericFetchClient-DLbjX0eM.cjs.map +1 -0
- package/dist/createOpenapiFetchClient-B5U1fCHS.js +7 -0
- package/dist/createOpenapiFetchClient-B5U1fCHS.js.map +1 -0
- package/dist/createOpenapiFetchClient-Cr90VXY4.cjs +12 -0
- package/dist/createOpenapiFetchClient-Cr90VXY4.cjs.map +1 -0
- package/dist/createStore-BNiCRQXa.js +148 -0
- package/dist/createStore-BNiCRQXa.js.map +1 -0
- package/dist/createStore-MQbboXcB.cjs +177 -0
- package/dist/createStore-MQbboXcB.cjs.map +1 -0
- package/dist/credential-0c6yFwtp.cjs +44 -0
- package/dist/credential-0c6yFwtp.cjs.map +1 -0
- package/dist/credential-kEGLnVez.js +33 -0
- package/dist/credential-kEGLnVez.js.map +1 -0
- package/dist/dataScience/index.cjs +5 -19
- package/dist/dataScience/index.d.cts +3 -207
- package/dist/dataScience/index.d.ts +3 -207
- package/dist/dataScience/index.js +3 -6
- package/dist/dataScience/types.cjs +0 -4
- package/dist/dataScience/types.d.cts +3 -2
- package/dist/dataScience/types.d.ts +3 -2
- package/dist/dataScience/types.js +1 -3
- package/dist/dataScience-C-JrA0Uk.cjs +114 -0
- package/dist/dataScience-C-JrA0Uk.cjs.map +1 -0
- package/dist/dataScience-CE0pSWbl.js +109 -0
- package/dist/dataScience-CE0pSWbl.js.map +1 -0
- package/dist/dedupe-CiskLkGR.cjs +30 -0
- package/dist/dedupe-CiskLkGR.cjs.map +1 -0
- package/dist/dedupe-DYIHgZoG.js +25 -0
- package/dist/dedupe-DYIHgZoG.js.map +1 -0
- package/dist/developerPortal/index.cjs +6 -0
- package/dist/developerPortal/index.d.cts +3 -0
- package/dist/developerPortal/index.d.ts +3 -0
- package/dist/developerPortal/index.js +2 -0
- package/dist/developerPortal/types.cjs +0 -0
- package/dist/developerPortal/types.d.cts +2 -0
- package/dist/developerPortal/types.d.ts +2 -0
- package/dist/developerPortal/types.js +1 -0
- package/dist/developerPortalClient-BPPEAdJW.js +485 -0
- package/dist/developerPortalClient-BPPEAdJW.js.map +1 -0
- package/dist/developerPortalClient-C8oq48xW.cjs +508 -0
- package/dist/developerPortalClient-C8oq48xW.cjs.map +1 -0
- package/dist/domain/permissions/index.cjs +31 -122
- package/dist/domain/permissions/index.d.cts +19 -51
- package/dist/domain/permissions/index.d.ts +19 -51
- package/dist/domain/permissions/index.js +3 -5
- package/dist/domain/storageTable/index.cjs +4 -16
- package/dist/domain/storageTable/index.d.cts +2 -131
- package/dist/domain/storageTable/index.d.ts +2 -131
- package/dist/domain/storageTable/index.js +2 -3
- package/dist/editor/index.cjs +96 -12
- package/dist/editor/index.cjs.map +1 -1
- package/dist/editor/index.d.cts +163 -161
- package/dist/editor/index.d.ts +163 -161
- package/dist/editor/index.js +96 -4
- package/dist/editor/index.js.map +1 -1
- package/dist/editor/types.cjs +0 -4
- package/dist/editor/types.d.cts +2 -2
- package/dist/editor/types.d.ts +2 -2
- package/dist/editor/types.js +1 -3
- package/dist/encryption/index.cjs +58 -11
- package/dist/encryption/index.cjs.map +1 -1
- package/dist/encryption/index.d.cts +2 -18
- package/dist/encryption/index.d.ts +2 -18
- package/dist/encryption/index.js +58 -3
- package/dist/encryption/index.js.map +1 -1
- package/dist/encryption/types.cjs +0 -4
- package/dist/encryption/types.d.cts +2 -68
- package/dist/encryption/types.d.ts +2 -68
- package/dist/encryption/types.js +1 -3
- package/dist/generateUUID-C6qKBPIv.cjs +11 -0
- package/dist/generateUUID-C6qKBPIv.cjs.map +1 -0
- package/dist/generateUUID-Dr8l-aoc.js +6 -0
- package/dist/generateUUID-Dr8l-aoc.js.map +1 -0
- package/dist/import/index.cjs +3 -14
- package/dist/import/index.d.cts +41 -38
- package/dist/import/index.d.ts +41 -38
- package/dist/import/index.js +2 -5
- package/dist/import-Cf0W-7YD.js +116 -0
- package/dist/import-Cf0W-7YD.js.map +1 -0
- package/dist/import-KLH1uRtx.cjs +121 -0
- package/dist/import-KLH1uRtx.cjs.map +1 -0
- package/dist/index-8pN6Emos.d.ts +218 -0
- package/dist/index-BEKaJ7Cc.d.cts +1388 -0
- package/dist/index-BMqLPS6S.d.cts +135 -0
- package/dist/index-BMqLPS6S.d.ts +135 -0
- package/dist/index-BWBScAYc.d.cts +16 -0
- package/dist/index-BmjeNd9u.d.ts +1075 -0
- package/dist/index-BthgbVdd.d.ts +31 -0
- package/dist/index-CLPrlyIz.d.cts +218 -0
- package/dist/index-CXQRvZ-f.d.cts +31 -0
- package/dist/index-CeistZnj.d.ts +1388 -0
- package/dist/index-Cfrl7sd5.d.ts +65 -0
- package/dist/index-DIM8KZly.d.ts +16 -0
- package/dist/index-DNlX-H1V.d.ts +208 -0
- package/dist/index-DVsnxZap.d.cts +65 -0
- package/dist/index-DXi6wsr5.d.cts +77 -0
- package/dist/index-DYQt4zxC.d.ts +77 -0
- package/dist/index-DplMbm9E.d.cts +19882 -0
- package/dist/index-Dwp8tF6O.d.ts +19882 -0
- package/dist/index-IN0qzs52.d.cts +208 -0
- package/dist/index-KKJkrxjx.d.ts +26 -0
- package/dist/index-NC1dXRTD.d.cts +40 -0
- package/dist/index-NC1dXRTD.d.ts +40 -0
- package/dist/index-WQkVzx5e.d.cts +1075 -0
- package/dist/index-eEBVG5s3.d.cts +26 -0
- package/dist/index-vb9Rfqca.d.cts +115 -0
- package/dist/index-vb9Rfqca.d.ts +115 -0
- package/dist/index.cjs +1728 -1802
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -15301
- package/dist/index.d.ts +7 -15301
- package/dist/index.js +1678 -1675
- package/dist/index.js.map +1 -1
- package/dist/isPlainObject-BB3iy87C.cjs +16 -0
- package/dist/isPlainObject-BB3iy87C.cjs.map +1 -0
- package/dist/isPlainObject-LYW-03uB.js +11 -0
- package/dist/isPlainObject-LYW-03uB.js.map +1 -0
- package/dist/jobStatus-DbMupQEK.js +423 -0
- package/dist/jobStatus-DbMupQEK.js.map +1 -0
- package/dist/jobStatus-kQ9JqF8t.cjs +494 -0
- package/dist/jobStatus-kQ9JqF8t.cjs.map +1 -0
- package/dist/management/index.cjs +4 -18
- package/dist/management/index.d.cts +2 -1083
- package/dist/management/index.d.ts +2 -1083
- package/dist/management/index.js +2 -5
- package/dist/management/types.cjs +0 -4
- package/dist/management/types.d.cts +2 -12
- package/dist/management/types.d.ts +2 -12
- package/dist/management/types.js +1 -3
- package/dist/management-DqwQcDCx.js +1065 -0
- package/dist/management-DqwQcDCx.js.map +1 -0
- package/dist/management-WOmlBt6H.cjs +1076 -0
- package/dist/management-WOmlBt6H.cjs.map +1 -0
- package/dist/metastore/index.cjs +3 -14
- package/dist/metastore/index.d.cts +2 -33
- package/dist/metastore/index.d.ts +2 -33
- package/dist/metastore/index.js +2 -5
- package/dist/metastore/types.cjs +0 -4
- package/dist/metastore/types.d.cts +2 -2
- package/dist/metastore/types.d.ts +2 -2
- package/dist/metastore/types.js +1 -3
- package/dist/metastore-CNEhL66f.js +134 -0
- package/dist/metastore-CNEhL66f.js.map +1 -0
- package/dist/metastore-CkQluyX1.cjs +139 -0
- package/dist/metastore-CkQluyX1.cjs.map +1 -0
- package/dist/notifications/index.cjs +67 -13
- package/dist/notifications/index.cjs.map +1 -1
- package/dist/notifications/index.d.cts +56 -56
- package/dist/notifications/index.d.ts +56 -56
- package/dist/notifications/index.js +67 -5
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/types.cjs +0 -4
- package/dist/notifications/types.d.cts +2 -2
- package/dist/notifications/types.d.ts +2 -2
- package/dist/notifications/types.js +1 -3
- package/dist/oauth/index.cjs +3 -14
- package/dist/oauth/index.d.cts +49 -49
- package/dist/oauth/index.d.ts +49 -49
- package/dist/oauth/index.js +2 -5
- package/dist/oauth/types.cjs +0 -4
- package/dist/oauth/types.d.cts +2 -725
- package/dist/oauth/types.d.ts +2 -725
- package/dist/oauth/types.js +1 -3
- package/dist/oauth-DTvrqe6P.cjs +88 -0
- package/dist/oauth-DTvrqe6P.cjs.map +1 -0
- package/dist/oauth-DYDObUX9.js +83 -0
- package/dist/oauth-DYDObUX9.js.map +1 -0
- package/dist/omnisearch/index.cjs +49 -0
- package/dist/omnisearch/index.cjs.map +1 -0
- package/dist/omnisearch/index.d.cts +30 -0
- package/dist/omnisearch/index.d.ts +30 -0
- package/dist/omnisearch/index.js +48 -0
- package/dist/omnisearch/index.js.map +1 -0
- package/dist/omnisearch/types.cjs +0 -0
- package/dist/omnisearch/types.d.cts +2 -0
- package/dist/omnisearch/types.d.ts +2 -0
- package/dist/omnisearch/types.js +1 -0
- package/dist/project-BvFi19K_.cjs +56 -0
- package/dist/project-BvFi19K_.cjs.map +1 -0
- package/dist/project-CcGxXIW_.d.cts +18 -0
- package/dist/project-DWwZv66D.js +39 -0
- package/dist/project-DWwZv66D.js.map +1 -0
- package/dist/project-io1pY-hW.d.ts +18 -0
- package/dist/queryService/index.cjs +3 -14
- package/dist/queryService/index.d.cts +2 -39
- package/dist/queryService/index.d.ts +2 -39
- package/dist/queryService/index.js +2 -5
- package/dist/queryService/types.cjs +0 -4
- package/dist/queryService/types.d.cts +2 -2
- package/dist/queryService/types.d.ts +2 -2
- package/dist/queryService/types.js +1 -3
- package/dist/queryService-BHV_OZI2.js +114 -0
- package/dist/queryService-BHV_OZI2.js.map +1 -0
- package/dist/queryService-CvqDqigW.cjs +119 -0
- package/dist/queryService-CvqDqigW.cjs.map +1 -0
- package/dist/queue/index.cjs +3 -15
- package/dist/queue/index.d.cts +411 -334
- package/dist/queue/index.d.ts +411 -334
- package/dist/queue/index.js +2 -6
- package/dist/queue/types.cjs +0 -4
- package/dist/queue/types.d.cts +2 -2
- package/dist/queue/types.d.ts +2 -2
- package/dist/queue/types.js +1 -3
- package/dist/queue-CUHKupTA.cjs +137 -0
- package/dist/queue-CUHKupTA.cjs.map +1 -0
- package/dist/queue-uofE4Eu6.js +126 -0
- package/dist/queue-uofE4Eu6.js.map +1 -0
- package/dist/rolldown-runtime-VH7oDXx4.cjs +28 -0
- package/dist/scheduler/index.cjs +61 -13
- package/dist/scheduler/index.cjs.map +1 -1
- package/dist/scheduler/index.d.cts +73 -73
- package/dist/scheduler/index.d.ts +73 -73
- package/dist/scheduler/index.js +61 -5
- package/dist/scheduler/index.js.map +1 -1
- package/dist/scheduler/types.cjs +0 -4
- package/dist/scheduler/types.d.cts +2 -372
- package/dist/scheduler/types.d.ts +2 -372
- package/dist/scheduler/types.js +1 -3
- package/dist/sdk/configurations/index.cjs +3 -16
- package/dist/sdk/configurations/index.d.cts +3066 -3077
- package/dist/sdk/configurations/index.d.ts +3066 -3077
- package/dist/sdk/configurations/index.js +2 -7
- package/dist/sdk/developerPortal/index.cjs +203 -0
- package/dist/sdk/developerPortal/index.cjs.map +1 -0
- package/dist/sdk/developerPortal/index.d.cts +1371 -0
- package/dist/sdk/developerPortal/index.d.ts +1371 -0
- package/dist/sdk/developerPortal/index.js +202 -0
- package/dist/sdk/developerPortal/index.js.map +1 -0
- package/dist/sdk/queryService/index.cjs +93 -0
- package/dist/sdk/queryService/index.cjs.map +1 -0
- package/dist/sdk/queryService/index.d.cts +2 -0
- package/dist/sdk/queryService/index.d.ts +2 -0
- package/dist/sdk/queryService/index.js +92 -0
- package/dist/sdk/queryService/index.js.map +1 -0
- package/dist/sdk/semanticLayer/index.cjs +352 -50
- package/dist/sdk/semanticLayer/index.cjs.map +1 -1
- package/dist/sdk/semanticLayer/index.d.cts +105 -94
- package/dist/sdk/semanticLayer/index.d.ts +105 -94
- package/dist/sdk/semanticLayer/index.js +346 -4
- package/dist/sdk/semanticLayer/index.js.map +1 -1
- package/dist/sdk/semanticLayer/types.cjs +0 -4
- package/dist/sdk/semanticLayer/types.d.cts +2 -132
- package/dist/sdk/semanticLayer/types.d.ts +2 -132
- package/dist/sdk/semanticLayer/types.js +1 -3
- package/dist/sdk/storage/index.cjs +267 -47
- package/dist/sdk/storage/index.cjs.map +1 -1
- package/dist/sdk/storage/index.d.cts +2 -119
- package/dist/sdk/storage/index.d.ts +2 -119
- package/dist/sdk/storage/index.js +258 -3
- package/dist/sdk/storage/index.js.map +1 -1
- package/dist/sdk/tag/index.cjs +3 -14
- package/dist/sdk/tag/index.d.cts +16 -20
- package/dist/sdk/tag/index.d.ts +16 -20
- package/dist/sdk/tag/index.js +2 -5
- package/dist/sdk/tag/types.cjs +0 -4
- package/dist/sdk/tag/types.d.cts +2 -30
- package/dist/sdk/tag/types.d.ts +2 -30
- package/dist/sdk/tag/types.js +1 -3
- package/dist/sdk/vault/index.cjs +93 -31
- package/dist/sdk/vault/index.cjs.map +1 -1
- package/dist/sdk/vault/index.d.cts +2 -72
- package/dist/sdk/vault/index.d.ts +2 -72
- package/dist/sdk/vault/index.js +88 -3
- package/dist/sdk/vault/index.js.map +1 -1
- package/dist/status/index.cjs +16 -20
- package/dist/status/index.cjs.map +1 -1
- package/dist/status/index.d.cts +8 -9
- package/dist/status/index.d.ts +8 -9
- package/dist/status/index.js +15 -18
- package/dist/status/index.js.map +1 -1
- package/dist/status/types.cjs +0 -6
- package/dist/status/types.d.cts +17 -15
- package/dist/status/types.d.ts +17 -15
- package/dist/status/types.js +1 -3
- package/dist/storage/index.cjs +27 -54
- package/dist/storage/index.d.cts +3 -43
- package/dist/storage/index.d.ts +3 -43
- package/dist/storage/index.js +8 -9
- package/dist/storage/types.cjs +0 -4
- package/dist/storage/types.d.cts +5 -1654
- package/dist/storage/types.d.ts +5 -1654
- package/dist/storage/types.js +1 -3
- package/dist/storage-DbyNnkIJ.cjs +2458 -0
- package/dist/storage-DbyNnkIJ.cjs.map +1 -0
- package/dist/storage-luq7YBZF.js +2429 -0
- package/dist/storage-luq7YBZF.js.map +1 -0
- package/dist/storageTable-C9crh4Ef.cjs +310 -0
- package/dist/storageTable-C9crh4Ef.cjs.map +1 -0
- package/dist/storageTable-DslXtqNL.js +299 -0
- package/dist/storageTable-DslXtqNL.js.map +1 -0
- package/dist/stream/index.cjs +363 -12
- package/dist/stream/index.cjs.map +1 -1
- package/dist/stream/index.d.cts +345 -345
- package/dist/stream/index.d.ts +345 -345
- package/dist/stream/index.js +363 -4
- package/dist/stream/index.js.map +1 -1
- package/dist/stream/types.cjs +0 -4
- package/dist/stream/types.d.cts +2 -2
- package/dist/stream/types.d.ts +2 -2
- package/dist/stream/types.js +1 -3
- package/dist/suggestions-BH3x7xU7.d.cts +438 -0
- package/dist/suggestions-BH3x7xU7.d.ts +438 -0
- package/dist/syncActions/index.cjs +3 -18
- package/dist/syncActions/index.d.cts +2 -112
- package/dist/syncActions/index.d.ts +2 -112
- package/dist/syncActions/index.js +2 -9
- package/dist/syncActions/types.cjs +0 -4
- package/dist/syncActions/types.d.cts +2 -298
- package/dist/syncActions/types.d.ts +2 -298
- package/dist/syncActions/types.js +1 -3
- package/dist/syncActions-DKWeJ8GH.cjs +504 -0
- package/dist/syncActions-DKWeJ8GH.cjs.map +1 -0
- package/dist/syncActions-ssWWVN_4.js +497 -0
- package/dist/syncActions-ssWWVN_4.js.map +1 -0
- package/dist/tag-CsoOZWB_.cjs +175 -0
- package/dist/tag-CsoOZWB_.cjs.map +1 -0
- package/dist/tag-DCsoewjL.js +164 -0
- package/dist/{chunk-DHOVQ2TW.js.map → tag-DCsoewjL.js.map} +1 -1
- package/dist/telemetry/index.cjs +3 -14
- package/dist/telemetry/index.d.cts +10 -10
- package/dist/telemetry/index.d.ts +10 -10
- package/dist/telemetry/index.js +2 -5
- package/dist/telemetry/types.cjs +0 -4
- package/dist/telemetry/types.d.cts +2 -12
- package/dist/telemetry/types.d.ts +2 -12
- package/dist/telemetry/types.js +1 -3
- package/dist/telemetry-2IrE8HaZ.cjs +29 -0
- package/dist/telemetry-2IrE8HaZ.cjs.map +1 -0
- package/dist/telemetry-yQfQxBBI.js +24 -0
- package/dist/telemetry-yQfQxBBI.js.map +1 -0
- package/dist/types--T-vBqdd.d.cts +2835 -0
- package/dist/{types-CM1zHzgm.d.ts → types-2mHlPakp.d.cts} +893 -69
- package/dist/types-7H6Dnz0Y.d.ts +23 -0
- package/dist/types-B06L4-WE.d.cts +2124 -0
- package/dist/types-B1S2H7q1.d.ts +373 -0
- package/dist/types-B1glyy_Q.d.ts +726 -0
- package/dist/{utils-DK7uJcmR.d.cts → types-BCt0EMiO.d.ts} +16 -905
- package/dist/{types-BX1xr4CX.d.cts → types-BD6czYPH.d.ts} +43 -108
- package/dist/{types-BEnE7LHB.d.cts → types-BO-mTxKb.d.cts} +57 -81
- package/dist/{types-BieLFMW1.d.cts → types-BREBK0xX.d.ts} +9 -8
- package/dist/types-BRQAKEC1.d.cts +32 -0
- package/dist/types-BXK6Ebtm.d.ts +32 -0
- package/dist/types-BefwoXik.d.cts +373 -0
- package/dist/{types-DeoA45gz.d.cts → types-BhBvnvqe.d.ts} +632 -464
- package/dist/{types-Cgh3jqrV.d.cts → types-BmFyDKe6.d.ts} +893 -69
- package/dist/types-BpWqpMkL.d.ts +66 -0
- package/dist/types-C8XiTXxi.d.cts +23 -0
- package/dist/{types-BfuVN8Pk.d.cts → types-CAOvDtMC.d.cts} +11 -16
- package/dist/types-CC0wymfG.d.ts +2088 -0
- package/dist/{types-YzkNUuYo.d.ts → types-CI1mW2lA.d.ts} +11 -16
- package/dist/{types-00IaLn3S.d.ts → types-CRYtdj5w.d.ts} +876 -374
- package/dist/{types-CrLjE5xf.d.ts → types-CSmttcZ_.d.ts} +10 -12
- package/dist/{types-DgSyBwP3.d.cts → types-CbZ8aMKW.d.cts} +11 -14
- package/dist/{types-DwMezEHT.d.ts → types-CexuN7Mw.d.cts} +43 -108
- package/dist/types-CjAia48k.d.ts +386 -0
- package/dist/{types-D-MuJHwl.d.cts → types-CtdyAkzI.d.cts} +28 -16
- package/dist/{types-DpUcInCX.d.ts → types-CvADp-x-.d.ts} +11 -14
- package/dist/types-CwvOcTOm.d.cts +2088 -0
- package/dist/types-CyRK5z-E.d.cts +386 -0
- package/dist/{types-DbAO-Tgk.d.ts → types-D2n3h1gp.d.ts} +57 -81
- package/dist/types-DBOEA7l0.d.cts +148 -0
- package/dist/{types-DYnHIm7m.d.cts → types-DCBKso0t.d.cts} +10 -12
- package/dist/{types-Hj1CaKtV.d.ts → types-DEKF5pbg.d.cts} +632 -464
- package/dist/{types-B30y9Lhc.d.ts → types-DMvU4kZ2.d.cts} +208 -24
- package/dist/{types-B-vmDlWB.d.cts → types-DS8uFAeq.d.cts} +10 -15
- package/dist/types-DeApSCzx.d.cts +602 -0
- package/dist/types-DebL68-g.d.ts +148 -0
- package/dist/types-DgaYUtu_.d.cts +726 -0
- package/dist/{types-CiJ5ULtS.d.ts → types-DkbfBOBr.d.cts} +9 -8
- package/dist/types-DvsGS8By.d.cts +66 -0
- package/dist/{types-DHXZZKb3.d.ts → types-DwX1uxp_.d.ts} +10 -15
- package/dist/{types-sVyfECai.d.cts → types-ISUNM_BR.d.cts} +876 -374
- package/dist/{utils-B_SOM1XR.d.ts → types-QOIQ-dZU.d.cts} +16 -905
- package/dist/types-SGuvOEV8.d.ts +2124 -0
- package/dist/types-V8rC5if7.d.cts +621 -0
- package/dist/{types-CSZoV4lM.d.cts → types-Z-vUwgym.d.ts} +208 -24
- package/dist/types-bws2RtKq.d.ts +602 -0
- package/dist/types-h9TTimS_.d.ts +2835 -0
- package/dist/types-lFsTSkhe.d.cts +14 -0
- package/dist/types-lFsTSkhe.d.ts +14 -0
- package/dist/types-n4FFKqa4.d.ts +621 -0
- package/dist/{types-DeS-oVdn.d.ts → types-x4xPlrr0.d.ts} +28 -16
- package/dist/vault/index.cjs +49 -13
- package/dist/vault/index.cjs.map +1 -1
- package/dist/vault/index.d.cts +2 -26
- package/dist/vault/index.d.ts +2 -26
- package/dist/vault/index.js +49 -5
- package/dist/vault/index.js.map +1 -1
- package/dist/vault/types.cjs +0 -4
- package/dist/vault/types.d.cts +2 -385
- package/dist/vault/types.d.ts +2 -385
- package/dist/vault/types.js +1 -3
- package/package.json +113 -7
- package/surface/ai.md +1 -0
- package/surface/apps.md +32 -0
- package/surface/auth.md +6 -4
- package/surface/chat.md +3 -2
- package/surface/dataScience.md +3 -2
- package/surface/editor.md +1 -0
- package/surface/encryption.md +1 -0
- package/surface/import.md +1 -0
- package/surface/kaiAgent.md +2 -1
- package/surface/management.md +17 -16
- package/surface/metastore.md +2 -1
- package/surface/notifications.md +1 -0
- package/surface/oauth.md +1 -0
- package/surface/omnisearch.md +9 -0
- package/surface/queryService.md +5 -3
- package/surface/queue.md +8 -6
- package/surface/scheduler.md +1 -0
- package/surface/sdk.md +22 -22
- package/surface/storage.md +147 -106
- package/surface/stream.md +1 -0
- package/surface/syncActions.md +13 -6
- package/surface/vault.md +1 -0
- package/dist/ManagementClientAuthError-4J0S5tV-.d.ts +0 -9
- package/dist/ManagementClientAuthError-CyDpa4NS.d.cts +0 -9
- package/dist/adminRoles-Cil1lavB.d.cts +0 -18
- package/dist/adminRoles-Cil1lavB.d.ts +0 -18
- package/dist/ai/types.cjs.map +0 -1
- package/dist/ai/types.js.map +0 -1
- package/dist/auth/index.cjs.map +0 -1
- package/dist/auth/index.js.map +0 -1
- package/dist/auth/types.cjs.map +0 -1
- package/dist/auth/types.js.map +0 -1
- package/dist/chunk-22E6IGXR.js +0 -6
- package/dist/chunk-22E6IGXR.js.map +0 -1
- package/dist/chunk-2BOG5U7C.js +0 -75
- package/dist/chunk-2BOG5U7C.js.map +0 -1
- package/dist/chunk-2CFM7K4U.cjs +0 -55
- package/dist/chunk-2CFM7K4U.cjs.map +0 -1
- package/dist/chunk-34GM6NXB.js +0 -77
- package/dist/chunk-34GM6NXB.js.map +0 -1
- package/dist/chunk-3BFPNM2J.js +0 -61
- package/dist/chunk-3BFPNM2J.js.map +0 -1
- package/dist/chunk-3PVERYSF.js +0 -16
- package/dist/chunk-3PVERYSF.js.map +0 -1
- package/dist/chunk-3YWQQ3OG.cjs +0 -79
- package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
- package/dist/chunk-4RC5E3SL.js +0 -140
- package/dist/chunk-4RC5E3SL.js.map +0 -1
- package/dist/chunk-4VVF2PIX.js +0 -110
- package/dist/chunk-4VVF2PIX.js.map +0 -1
- package/dist/chunk-552FC4ZV.js +0 -14
- package/dist/chunk-552FC4ZV.js.map +0 -1
- package/dist/chunk-5XWVWFTC.js +0 -33
- package/dist/chunk-5XWVWFTC.js.map +0 -1
- package/dist/chunk-6YZQIMML.cjs +0 -163
- package/dist/chunk-6YZQIMML.cjs.map +0 -1
- package/dist/chunk-77LILJYX.js +0 -110
- package/dist/chunk-77LILJYX.js.map +0 -1
- package/dist/chunk-7J2R6XHB.js +0 -3
- package/dist/chunk-7J2R6XHB.js.map +0 -1
- package/dist/chunk-7R22VKV7.cjs +0 -62
- package/dist/chunk-7R22VKV7.cjs.map +0 -1
- package/dist/chunk-7RO6PKZ4.cjs +0 -16
- package/dist/chunk-7RO6PKZ4.cjs.map +0 -1
- package/dist/chunk-7YXL4FKN.cjs +0 -340
- package/dist/chunk-7YXL4FKN.cjs.map +0 -1
- package/dist/chunk-7Z4MU7ZB.js +0 -1294
- package/dist/chunk-7Z4MU7ZB.js.map +0 -1
- package/dist/chunk-AFJGNBVM.cjs +0 -63
- package/dist/chunk-AFJGNBVM.cjs.map +0 -1
- package/dist/chunk-AVH6F5LB.js +0 -1492
- package/dist/chunk-AVH6F5LB.js.map +0 -1
- package/dist/chunk-AXEANGGK.js +0 -226
- package/dist/chunk-AXEANGGK.js.map +0 -1
- package/dist/chunk-BCZPCMGL.cjs +0 -49
- package/dist/chunk-BCZPCMGL.cjs.map +0 -1
- package/dist/chunk-BR6WZE3O.cjs +0 -42
- package/dist/chunk-BR6WZE3O.cjs.map +0 -1
- package/dist/chunk-BZA3FGO6.js +0 -40
- package/dist/chunk-BZA3FGO6.js.map +0 -1
- package/dist/chunk-CV2JGHBN.js +0 -183
- package/dist/chunk-CV2JGHBN.js.map +0 -1
- package/dist/chunk-CWCUQACX.cjs +0 -18
- package/dist/chunk-CWCUQACX.cjs.map +0 -1
- package/dist/chunk-CWUQ6ZAO.cjs +0 -185
- package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
- package/dist/chunk-D4WOOKMI.js +0 -350
- package/dist/chunk-D4WOOKMI.js.map +0 -1
- package/dist/chunk-DHOVQ2TW.js +0 -177
- package/dist/chunk-DRNOCC6W.cjs +0 -295
- package/dist/chunk-DRNOCC6W.cjs.map +0 -1
- package/dist/chunk-EDX5D6UY.js +0 -14
- package/dist/chunk-EWMXK3EI.cjs +0 -8
- package/dist/chunk-EWMXK3EI.cjs.map +0 -1
- package/dist/chunk-EYIPM2XB.cjs +0 -82
- package/dist/chunk-EYIPM2XB.cjs.map +0 -1
- package/dist/chunk-F6ZAYTBX.cjs +0 -364
- package/dist/chunk-F6ZAYTBX.cjs.map +0 -1
- package/dist/chunk-FJBP3MRI.cjs +0 -63
- package/dist/chunk-FJBP3MRI.cjs.map +0 -1
- package/dist/chunk-FMS5PNM2.cjs +0 -37
- package/dist/chunk-FMS5PNM2.cjs.map +0 -1
- package/dist/chunk-FPB6OGTV.js +0 -26
- package/dist/chunk-FPB6OGTV.js.map +0 -1
- package/dist/chunk-FRLSKIUI.cjs +0 -180
- package/dist/chunk-FRLSKIUI.cjs.map +0 -1
- package/dist/chunk-G3N5KDEY.js +0 -10
- package/dist/chunk-G3N5KDEY.js.map +0 -1
- package/dist/chunk-G66EP527.js +0 -59
- package/dist/chunk-G66EP527.js.map +0 -1
- package/dist/chunk-GF4XZK5N.cjs +0 -43
- package/dist/chunk-GF4XZK5N.cjs.map +0 -1
- package/dist/chunk-HITKHHWN.cjs +0 -174
- package/dist/chunk-HITKHHWN.cjs.map +0 -1
- package/dist/chunk-HMCZUHR7.js +0 -53
- package/dist/chunk-HMCZUHR7.js.map +0 -1
- package/dist/chunk-HTVJR5WS.cjs +0 -305
- package/dist/chunk-HTVJR5WS.cjs.map +0 -1
- package/dist/chunk-HY7J3OD3.cjs +0 -1298
- package/dist/chunk-HY7J3OD3.cjs.map +0 -1
- package/dist/chunk-IAYPOSMM.cjs +0 -472
- package/dist/chunk-IDWGBCSB.cjs +0 -61
- package/dist/chunk-IDWGBCSB.cjs.map +0 -1
- package/dist/chunk-J3NLKXQ5.cjs +0 -79
- package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
- package/dist/chunk-KEFXOJD7.js +0 -61
- package/dist/chunk-KEFXOJD7.js.map +0 -1
- package/dist/chunk-KUYVBCUM.cjs +0 -231
- package/dist/chunk-KUYVBCUM.cjs.map +0 -1
- package/dist/chunk-L262THNK.cjs +0 -253
- package/dist/chunk-L262THNK.cjs.map +0 -1
- package/dist/chunk-LD3JERYP.js +0 -77
- package/dist/chunk-LD3JERYP.js.map +0 -1
- package/dist/chunk-LIXSIM3H.cjs +0 -113
- package/dist/chunk-LIXSIM3H.cjs.map +0 -1
- package/dist/chunk-LNZP2O4P.js +0 -169
- package/dist/chunk-LNZP2O4P.js.map +0 -1
- package/dist/chunk-MMOAH3EH.cjs +0 -288
- package/dist/chunk-MMOAH3EH.cjs.map +0 -1
- package/dist/chunk-MRHQJNWF.cjs +0 -8
- package/dist/chunk-MRHQJNWF.cjs.map +0 -1
- package/dist/chunk-MSI6FVGG.js +0 -6
- package/dist/chunk-MSI6FVGG.js.map +0 -1
- package/dist/chunk-N4COL54U.cjs +0 -22
- package/dist/chunk-N4COL54U.cjs.map +0 -1
- package/dist/chunk-NVQ6LGDO.cjs +0 -35
- package/dist/chunk-NVQ6LGDO.cjs.map +0 -1
- package/dist/chunk-NVRVPWNY.js +0 -148
- package/dist/chunk-NVRVPWNY.js.map +0 -1
- package/dist/chunk-OUSPQ55W.js +0 -263
- package/dist/chunk-OUSPQ55W.js.map +0 -1
- package/dist/chunk-PPQF7LTS.cjs +0 -63
- package/dist/chunk-PPQF7LTS.cjs.map +0 -1
- package/dist/chunk-PSR3N4NC.js +0 -136
- package/dist/chunk-PSR3N4NC.js.map +0 -1
- package/dist/chunk-QHD4LPAQ.cjs +0 -8
- package/dist/chunk-QHD4LPAQ.cjs.map +0 -1
- package/dist/chunk-RRC5RKF7.cjs +0 -12
- package/dist/chunk-RRC5RKF7.cjs.map +0 -1
- package/dist/chunk-RVBGE2Z4.js +0 -468
- package/dist/chunk-RVBGE2Z4.js.map +0 -1
- package/dist/chunk-S4JK7DKM.js +0 -61
- package/dist/chunk-S4JK7DKM.js.map +0 -1
- package/dist/chunk-SJZ66FD5.js +0 -35
- package/dist/chunk-SJZ66FD5.js.map +0 -1
- package/dist/chunk-T242YFMT.cjs +0 -150
- package/dist/chunk-T242YFMT.cjs.map +0 -1
- package/dist/chunk-T526LPBK.js +0 -6
- package/dist/chunk-T526LPBK.js.map +0 -1
- package/dist/chunk-U5SE6W5M.cjs +0 -158
- package/dist/chunk-U5SE6W5M.cjs.map +0 -1
- package/dist/chunk-UABYNGBZ.js +0 -39
- package/dist/chunk-UABYNGBZ.js.map +0 -1
- package/dist/chunk-UP5SEEYZ.js +0 -218
- package/dist/chunk-UP5SEEYZ.js.map +0 -1
- package/dist/chunk-UQ5CACMW.js +0 -283
- package/dist/chunk-UQ5CACMW.js.map +0 -1
- package/dist/chunk-UUY6LQT6.cjs +0 -267
- package/dist/chunk-UUY6LQT6.cjs.map +0 -1
- package/dist/chunk-UWQUHP3T.cjs +0 -112
- package/dist/chunk-UWQUHP3T.cjs.map +0 -1
- package/dist/chunk-XHDYLUM4.js +0 -268
- package/dist/chunk-XHDYLUM4.js.map +0 -1
- package/dist/chunk-XIIER7QQ.js +0 -60
- package/dist/chunk-XIIER7QQ.js.map +0 -1
- package/dist/chunk-XKIENBIE.js +0 -338
- package/dist/chunk-XKIENBIE.js.map +0 -1
- package/dist/chunk-XPDEQND7.cjs +0 -4
- package/dist/chunk-XPDEQND7.cjs.map +0 -1
- package/dist/chunk-YGEJDWGG.js +0 -19
- package/dist/chunk-YGEJDWGG.js.map +0 -1
- package/dist/chunk-YXGBD4WP.cjs +0 -16
- package/dist/chunk-YXGBD4WP.cjs.map +0 -1
- package/dist/chunk-Z3HZ4MP4.cjs +0 -1496
- package/dist/chunk-Z3HZ4MP4.cjs.map +0 -1
- package/dist/chunk-ZOREOLGE.js +0 -264
- package/dist/chunk-ZOREOLGE.js.map +0 -1
- package/dist/constants/index.cjs.map +0 -1
- package/dist/constants/index.js.map +0 -1
- package/dist/createGenericFetchClient-JcbIIqwF.d.cts +0 -18
- package/dist/createGenericFetchClient-ZGG5wbAC.d.ts +0 -18
- package/dist/createOpenapiFetchClient-6RX67Hws.d.ts +0 -24
- package/dist/createOpenapiFetchClient-BFmiJ9C5.d.cts +0 -24
- package/dist/dataScience/index.cjs.map +0 -1
- package/dist/dataScience/index.js.map +0 -1
- package/dist/dataScience/types.cjs.map +0 -1
- package/dist/dataScience/types.js.map +0 -1
- package/dist/domain/permissions/index.cjs.map +0 -1
- package/dist/domain/permissions/index.js.map +0 -1
- package/dist/domain/storageTable/index.cjs.map +0 -1
- package/dist/domain/storageTable/index.js.map +0 -1
- package/dist/editor/types.cjs.map +0 -1
- package/dist/editor/types.js.map +0 -1
- package/dist/encryption/types.cjs.map +0 -1
- package/dist/encryption/types.js.map +0 -1
- package/dist/import/index.cjs.map +0 -1
- package/dist/import/index.js.map +0 -1
- package/dist/keboolaUID-D1DGSbge.d.cts +0 -19
- package/dist/keboolaUID-D1DGSbge.d.ts +0 -19
- package/dist/management/index.cjs.map +0 -1
- package/dist/management/index.js.map +0 -1
- package/dist/management/types.cjs.map +0 -1
- package/dist/management/types.js.map +0 -1
- package/dist/metastore/index.cjs.map +0 -1
- package/dist/metastore/index.js.map +0 -1
- package/dist/metastore/types.cjs.map +0 -1
- package/dist/metastore/types.js.map +0 -1
- package/dist/notifications/types.cjs.map +0 -1
- package/dist/notifications/types.js.map +0 -1
- package/dist/oauth/index.cjs.map +0 -1
- package/dist/oauth/index.js.map +0 -1
- package/dist/oauth/types.cjs.map +0 -1
- package/dist/oauth/types.js.map +0 -1
- package/dist/project-CXqPYo4T.d.ts +0 -17
- package/dist/project-CZPvcxRW.d.cts +0 -17
- package/dist/queryService/index.cjs.map +0 -1
- package/dist/queryService/index.js.map +0 -1
- package/dist/queryService/types.cjs.map +0 -1
- package/dist/queryService/types.js.map +0 -1
- package/dist/queue/index.cjs.map +0 -1
- package/dist/queue/index.js.map +0 -1
- package/dist/queue/types.cjs.map +0 -1
- package/dist/queue/types.js.map +0 -1
- package/dist/registry-CcKlB-yY.d.ts +0 -1046
- package/dist/registry-Cg0Yng1z.d.cts +0 -1046
- package/dist/scheduler/types.cjs.map +0 -1
- package/dist/scheduler/types.js.map +0 -1
- package/dist/sdk/configurations/index.cjs.map +0 -1
- package/dist/sdk/configurations/index.js.map +0 -1
- package/dist/sdk/semanticLayer/types.cjs.map +0 -1
- package/dist/sdk/semanticLayer/types.js.map +0 -1
- package/dist/sdk/tag/index.cjs.map +0 -1
- package/dist/sdk/tag/index.js.map +0 -1
- package/dist/sdk/tag/types.cjs.map +0 -1
- package/dist/sdk/tag/types.js.map +0 -1
- package/dist/status/types.cjs.map +0 -1
- package/dist/status/types.js.map +0 -1
- package/dist/storage/index.cjs.map +0 -1
- package/dist/storage/index.js.map +0 -1
- package/dist/storage/types.cjs.map +0 -1
- package/dist/storage/types.js.map +0 -1
- package/dist/storageClient-Cd4jVt58.d.ts +0 -1519
- package/dist/storageClient-Dkcg7hKa.d.cts +0 -1519
- package/dist/storageSdk-15_Fbucc.d.cts +0 -746
- package/dist/storageSdk-L6NOdgSJ.d.ts +0 -746
- package/dist/stream/types.cjs.map +0 -1
- package/dist/stream/types.js.map +0 -1
- package/dist/syncActions/index.cjs.map +0 -1
- package/dist/syncActions/index.js.map +0 -1
- package/dist/syncActions/types.cjs.map +0 -1
- package/dist/syncActions/types.js.map +0 -1
- package/dist/telemetry/index.cjs.map +0 -1
- package/dist/telemetry/index.js.map +0 -1
- package/dist/telemetry/types.cjs.map +0 -1
- package/dist/telemetry/types.js.map +0 -1
- package/dist/types-BqC3U0k0.d.cts +0 -12
- package/dist/types-Dkipk6NN.d.ts +0 -12
- package/dist/types-UwuKN9Kx.d.cts +0 -60
- package/dist/types-UwuKN9Kx.d.ts +0 -60
- package/dist/types-gcShAmmi.d.cts +0 -90
- package/dist/types-gcShAmmi.d.ts +0 -90
- package/dist/vault/types.cjs.map +0 -1
- package/dist/vault/types.js.map +0 -1
|
@@ -0,0 +1,2088 @@
|
|
|
1
|
+
import { a as OpenapiParametersType, c as OpenapiReturnType, n as ArrayElement, o as OpenapiPathType, r as OpenapiBodyType, s as OpenapiQueryType } from "./index-8pN6Emos.js";
|
|
2
|
+
import { g as paths, h as components } from "./types-CRYtdj5w.js";
|
|
3
|
+
//#region src/clients/storage/bucketExternal/types.d.ts
|
|
4
|
+
type RegisterBucketSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets/register']['post']>;
|
|
5
|
+
type RegisterBucketSchemaQuery = OpenapiQueryType<paths['/v2/storage/buckets/register']['post']>;
|
|
6
|
+
/**
|
|
7
|
+
* Body for `POST /v2/storage/buckets/register`. The generated schema stubs the request body, so it
|
|
8
|
+
* is hand-authored from the Storage API contract.
|
|
9
|
+
*/
|
|
10
|
+
type RegisterBucketBody = {
|
|
11
|
+
name: string;
|
|
12
|
+
/** Snowflake: `['database', 'schema']`; BigQuery: `['projectId', 'location', 'exchanger', 'listing']`. */
|
|
13
|
+
path: string[];
|
|
14
|
+
stage?: BucketStage;
|
|
15
|
+
description?: string;
|
|
16
|
+
backend?: 'snowflake' | 'bigquery';
|
|
17
|
+
displayName?: string;
|
|
18
|
+
isSnowflakeSharedDatabase?: boolean;
|
|
19
|
+
};
|
|
20
|
+
/** Markdown guide returned by `GET /v2/storage/buckets/register-guide`. */
|
|
21
|
+
type BucketRegistrationGuide = OpenapiReturnType<paths['/v2/storage/buckets/register-guide']['get']>;
|
|
22
|
+
type BucketRegistrationGuideSchemaQuery = OpenapiQueryType<paths['/v2/storage/buckets/register-guide']['get']>;
|
|
23
|
+
/**
|
|
24
|
+
* Query for `GET /v2/storage/buckets/register-guide`.
|
|
25
|
+
*
|
|
26
|
+
* The spec names the repeatable segment `path[]`, brackets and all, which would put a bracketed key
|
|
27
|
+
* in every call site. Only that one field is remapped: `queryArrayFormat: 'brackets'` builds the
|
|
28
|
+
* same wire format from a clean `path`, which is how `files` and `jobs` spell their repeatable
|
|
29
|
+
* fields — and how `RegisterBucketBody` right below already spells this one.
|
|
30
|
+
*/
|
|
31
|
+
type BucketRegistrationGuideQuery = Omit<BucketRegistrationGuideSchemaQuery, 'path[]'> & {
|
|
32
|
+
path: string[];
|
|
33
|
+
};
|
|
34
|
+
/** Optional query for `PUT /v2/storage/buckets/{bucketId}/refresh`. */
|
|
35
|
+
type RefreshExternalBucketQuery = {
|
|
36
|
+
force?: boolean;
|
|
37
|
+
lastChangeDate?: string;
|
|
38
|
+
};
|
|
39
|
+
type RefreshExternalBucketInput = {
|
|
40
|
+
bucketId: string;
|
|
41
|
+
} & RefreshExternalBucketQuery;
|
|
42
|
+
type CreateScheduledRefreshPath = {
|
|
43
|
+
branchId: string;
|
|
44
|
+
bucketId: string;
|
|
45
|
+
};
|
|
46
|
+
type CreateScheduledRefreshBody = {
|
|
47
|
+
cronExpression: string;
|
|
48
|
+
};
|
|
49
|
+
type CreateScheduledRefreshInput = CreateScheduledRefreshPath & CreateScheduledRefreshBody;
|
|
50
|
+
type ScheduledTask = {
|
|
51
|
+
uuid: string;
|
|
52
|
+
job: string;
|
|
53
|
+
relatedEntity: string;
|
|
54
|
+
relatedId: string;
|
|
55
|
+
cronExpression: string;
|
|
56
|
+
createdAt: string;
|
|
57
|
+
};
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/clients/storage/buckets/types.d.ts
|
|
60
|
+
type GetBucketsSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets']['get']>;
|
|
61
|
+
type CreateBucketSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets']['post']>;
|
|
62
|
+
type UpdateBucketOwnerSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets/{bucketId}/owner']['post']>;
|
|
63
|
+
type BucketStage = 'in' | 'out';
|
|
64
|
+
type BucketBackend = 'snowflake' | 'redshift' | 'bigquery' | 'teradata';
|
|
65
|
+
type Bucket = {
|
|
66
|
+
attributes?: {
|
|
67
|
+
name: string;
|
|
68
|
+
value: string;
|
|
69
|
+
protected: boolean;
|
|
70
|
+
}[];
|
|
71
|
+
backend: BucketBackend;
|
|
72
|
+
backendPath: string[];
|
|
73
|
+
bucketSharingAllowed?: boolean;
|
|
74
|
+
color: string | null;
|
|
75
|
+
created: string;
|
|
76
|
+
databaseName: string | null;
|
|
77
|
+
dataSizeBytes: number;
|
|
78
|
+
description: string;
|
|
79
|
+
displayName: string;
|
|
80
|
+
hasExternalSchema: boolean;
|
|
81
|
+
id: string;
|
|
82
|
+
idBranch: number;
|
|
83
|
+
isMaintenance: boolean;
|
|
84
|
+
isReadOnly: boolean;
|
|
85
|
+
isSnowflakeSharedDatabase: boolean;
|
|
86
|
+
lastChangeDate: string | null;
|
|
87
|
+
metadata?: {
|
|
88
|
+
id: string;
|
|
89
|
+
key: string;
|
|
90
|
+
value: string;
|
|
91
|
+
provider: string;
|
|
92
|
+
timestamp: string;
|
|
93
|
+
}[];
|
|
94
|
+
name: string;
|
|
95
|
+
owner: {
|
|
96
|
+
id: number;
|
|
97
|
+
name: string;
|
|
98
|
+
email: string;
|
|
99
|
+
} | null;
|
|
100
|
+
path: string;
|
|
101
|
+
rowsCount: number;
|
|
102
|
+
sharedBy?: {
|
|
103
|
+
id: number | null;
|
|
104
|
+
name: string | null;
|
|
105
|
+
date: string | null;
|
|
106
|
+
};
|
|
107
|
+
sharing: string | null;
|
|
108
|
+
sharingParameters?: {
|
|
109
|
+
projects?: {
|
|
110
|
+
id: number;
|
|
111
|
+
name: string;
|
|
112
|
+
}[];
|
|
113
|
+
users?: {
|
|
114
|
+
id: number;
|
|
115
|
+
name: string;
|
|
116
|
+
email: string;
|
|
117
|
+
}[];
|
|
118
|
+
};
|
|
119
|
+
sourceBucket?: BucketShared;
|
|
120
|
+
stage: BucketStage;
|
|
121
|
+
tables: string;
|
|
122
|
+
updated: string | null;
|
|
123
|
+
uri: string;
|
|
124
|
+
};
|
|
125
|
+
type BucketShared = {
|
|
126
|
+
backend: BucketBackend;
|
|
127
|
+
color: string | null;
|
|
128
|
+
created: string;
|
|
129
|
+
databaseName: string | null;
|
|
130
|
+
dataSizeBytes: number;
|
|
131
|
+
description: string;
|
|
132
|
+
displayName: string;
|
|
133
|
+
hasExternalSchema: boolean;
|
|
134
|
+
id: string;
|
|
135
|
+
lastChangeDate: string | null;
|
|
136
|
+
name: string;
|
|
137
|
+
owner: {
|
|
138
|
+
id: number;
|
|
139
|
+
name: string;
|
|
140
|
+
email: string;
|
|
141
|
+
} | null;
|
|
142
|
+
path: string;
|
|
143
|
+
project: {
|
|
144
|
+
id: number;
|
|
145
|
+
name: string;
|
|
146
|
+
};
|
|
147
|
+
rowsCount: number;
|
|
148
|
+
sharedBy?: {
|
|
149
|
+
id: number | null;
|
|
150
|
+
name: string | null;
|
|
151
|
+
date: string | null;
|
|
152
|
+
};
|
|
153
|
+
sharing: string | null;
|
|
154
|
+
sharingParameters?: {
|
|
155
|
+
projects?: {
|
|
156
|
+
id: number;
|
|
157
|
+
name: string;
|
|
158
|
+
}[];
|
|
159
|
+
users?: {
|
|
160
|
+
id: number;
|
|
161
|
+
name: string;
|
|
162
|
+
email: string;
|
|
163
|
+
}[];
|
|
164
|
+
};
|
|
165
|
+
stage: BucketStage;
|
|
166
|
+
tables: {
|
|
167
|
+
id: string;
|
|
168
|
+
name: string;
|
|
169
|
+
displayName: string;
|
|
170
|
+
path: string;
|
|
171
|
+
}[];
|
|
172
|
+
};
|
|
173
|
+
type BucketDetail = Bucket & {
|
|
174
|
+
linkedBy?: {
|
|
175
|
+
id: string;
|
|
176
|
+
created: string;
|
|
177
|
+
project: {
|
|
178
|
+
id: number;
|
|
179
|
+
name: string;
|
|
180
|
+
};
|
|
181
|
+
}[];
|
|
182
|
+
scheduledTasks?: ScheduledTask[];
|
|
183
|
+
tables: unknown[];
|
|
184
|
+
};
|
|
185
|
+
type GetBucketsInput = {
|
|
186
|
+
branchId: string;
|
|
187
|
+
} & GetBucketsQuery;
|
|
188
|
+
type GetBucketsQuery = {
|
|
189
|
+
include?: ('attributes' | 'metadata' | 'linkedBuckets')[];
|
|
190
|
+
};
|
|
191
|
+
type GetBucketQuery = {
|
|
192
|
+
include?: ('columns' | 'metadata' | 'columnMetadata' | 'sourceMetadata')[];
|
|
193
|
+
};
|
|
194
|
+
type GetBucketInput = {
|
|
195
|
+
branchId: string;
|
|
196
|
+
bucketId: string;
|
|
197
|
+
} & GetBucketQuery;
|
|
198
|
+
type GetBucketOwnerInput = {
|
|
199
|
+
branchId: string;
|
|
200
|
+
bucketId: string;
|
|
201
|
+
};
|
|
202
|
+
type CreateBucketBody = {
|
|
203
|
+
name: string;
|
|
204
|
+
stage: BucketStage;
|
|
205
|
+
displayName?: string;
|
|
206
|
+
description?: string;
|
|
207
|
+
backend?: BucketBackend;
|
|
208
|
+
};
|
|
209
|
+
type UpdateBucketBody = {
|
|
210
|
+
displayName?: string;
|
|
211
|
+
description?: string;
|
|
212
|
+
color?: string;
|
|
213
|
+
};
|
|
214
|
+
type UpdateBucketInput = {
|
|
215
|
+
bucketId: string;
|
|
216
|
+
} & UpdateBucketBody;
|
|
217
|
+
/** `force` deletes every table in the bucket before removing it. */
|
|
218
|
+
type DeleteBucketAsyncInput = {
|
|
219
|
+
bucketId: string;
|
|
220
|
+
force?: boolean;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* Body for `POST /v2/storage/buckets/{bucketId}/owner`. The generated schema stubs the request
|
|
224
|
+
* body, so it is hand-authored: pass the new owner either by `email` or by `id`.
|
|
225
|
+
*/
|
|
226
|
+
type UpdateBucketOwnerBody = {
|
|
227
|
+
email: string;
|
|
228
|
+
} | {
|
|
229
|
+
id: number;
|
|
230
|
+
};
|
|
231
|
+
type UpdateBucketOwnerInput = {
|
|
232
|
+
bucketId: string;
|
|
233
|
+
} & UpdateBucketOwnerBody;
|
|
234
|
+
/** Owner detail returned by `GET /v2/storage/branch/{branchId}/buckets/{bucketId}/owner`. */
|
|
235
|
+
type BucketOwner = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/owner']['get']>;
|
|
236
|
+
/** Body for `POST /v2/storage/branch/{branchId}/buckets/{bucketId}/metadata`. */
|
|
237
|
+
type SaveBucketMetadataBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata']['post']>;
|
|
238
|
+
/** Metadata items returned by `POST /v2/storage/branch/{branchId}/buckets/{bucketId}/metadata`. */
|
|
239
|
+
type BucketMetadata = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata']['post']>;
|
|
240
|
+
type SaveBucketMetadataInput = {
|
|
241
|
+
branchId: string;
|
|
242
|
+
bucketId: string;
|
|
243
|
+
} & SaveBucketMetadataBody;
|
|
244
|
+
type DeleteBucketMetadataInput = {
|
|
245
|
+
branchId: string;
|
|
246
|
+
bucketId: string;
|
|
247
|
+
metadataId: MetadataId;
|
|
248
|
+
};
|
|
249
|
+
//#endregion
|
|
250
|
+
//#region src/clients/storage/bucketSharing/types.d.ts
|
|
251
|
+
type LinkBucketSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets']['post']>;
|
|
252
|
+
/**
|
|
253
|
+
* The `LinkBucketRequest` arm of the create-or-link union `POST /v2/storage/buckets` accepts, picked
|
|
254
|
+
* by the discriminating field rather than hand-authored so the stage enum stays spec-derived.
|
|
255
|
+
*/
|
|
256
|
+
type LinkBucketBody = Extract<LinkBucketSchemaBody, {
|
|
257
|
+
sourceBucketId: string;
|
|
258
|
+
}>;
|
|
259
|
+
type ShareBucketToOrganizationSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-organization']['post']>;
|
|
260
|
+
type ShareBucketToOrganizationInput = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-organization']['post']>;
|
|
261
|
+
type ShareBucketToOrganizationProjectSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-organization-project']['post']>;
|
|
262
|
+
type ShareBucketToOrganizationProjectInput = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-organization-project']['post']>;
|
|
263
|
+
type ShareBucketToProjectsSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-projects']['post']>;
|
|
264
|
+
type ShareBucketToProjectsSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-projects']['post']>;
|
|
265
|
+
type ShareBucketToProjectsPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-projects']['post']>;
|
|
266
|
+
/** Body for `POST /v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-projects`. */
|
|
267
|
+
type ShareBucketToProjectsBody = {
|
|
268
|
+
targetProjectIds: number[];
|
|
269
|
+
};
|
|
270
|
+
type ShareBucketToProjectsInput = ShareBucketToProjectsPath & ShareBucketToProjectsBody;
|
|
271
|
+
type ShareBucketToUsersSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-users']['post']>;
|
|
272
|
+
type ShareBucketToUsersSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-users']['post']>;
|
|
273
|
+
type ShareBucketToUsersPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-users']['post']>;
|
|
274
|
+
/**
|
|
275
|
+
* Body for `POST /v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-users` — admin ids, which
|
|
276
|
+
* the endpoint also accepts as e-mails.
|
|
277
|
+
*/
|
|
278
|
+
type ShareBucketToUsersBody = {
|
|
279
|
+
targetUsers: (number | string)[];
|
|
280
|
+
};
|
|
281
|
+
type ShareBucketToUsersInput = ShareBucketToUsersPath & ShareBucketToUsersBody;
|
|
282
|
+
type UnshareBucketSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share']['delete']>;
|
|
283
|
+
type UnshareBucketInput = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share']['delete']>;
|
|
284
|
+
type ForceUnlinkBucketSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/links/{linkedProjectId}']['delete']>;
|
|
285
|
+
type ForceUnlinkBucketSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/links/{linkedProjectId}']['delete']>;
|
|
286
|
+
type ForceUnlinkBucketInput = Omit<ForceUnlinkBucketSchemaPath, 'linkedProjectId'> & {
|
|
287
|
+
linkedProjectId: string;
|
|
288
|
+
};
|
|
289
|
+
type SharedBucketsQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/shared-buckets']['get']>>;
|
|
290
|
+
/** Buckets shared with the current project, returned by `GET /v2/storage/shared-buckets`. */
|
|
291
|
+
type SharedBuckets = OpenapiReturnType<paths['/v2/storage/shared-buckets']['get']>;
|
|
292
|
+
//#endregion
|
|
293
|
+
//#region src/clients/storage/bucketListings/types.d.ts
|
|
294
|
+
type CreateBucketListingPath = OpenapiPathType<paths['/v2/storage/buckets/{bucketId}/listing']['post']>;
|
|
295
|
+
type CreateBucketListingSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets/{bucketId}/listing']['post']>;
|
|
296
|
+
type UpdateBucketListingPath = OpenapiPathType<paths['/v2/storage/buckets/{bucketId}/listing']['patch']>;
|
|
297
|
+
type UpdateBucketListingSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets/{bucketId}/listing']['patch']>;
|
|
298
|
+
type BucketListingDetail = OpenapiReturnType<paths['/v2/storage/buckets/{bucketId}/listing']['get']>;
|
|
299
|
+
type ProjectBucketListing = ArrayElement<OpenapiReturnType<paths['/v2/storage/listings']['get']>>;
|
|
300
|
+
/**
|
|
301
|
+
* A listing subscriber, decoded from the `user:`/`group:`-prefixed IAM principal the API carries in
|
|
302
|
+
* `bigquery.subscribers`. Convert with `toBackendSubscribers` / `fromBackendSubscribers`.
|
|
303
|
+
*/
|
|
304
|
+
type Subscriber = {
|
|
305
|
+
type: 'user' | 'group';
|
|
306
|
+
email: string;
|
|
307
|
+
};
|
|
308
|
+
type CreateBucketListingBody = {
|
|
309
|
+
name: string;
|
|
310
|
+
description: string | null;
|
|
311
|
+
listingId: string;
|
|
312
|
+
subscribers: Subscriber[];
|
|
313
|
+
};
|
|
314
|
+
type CreateBucketListingInput = CreateBucketListingPath & CreateBucketListingBody;
|
|
315
|
+
type UpdateBucketListingBody = {
|
|
316
|
+
name?: string;
|
|
317
|
+
description?: string | null;
|
|
318
|
+
subscribers?: Subscriber[];
|
|
319
|
+
};
|
|
320
|
+
type UpdateBucketListingInput = UpdateBucketListingPath & UpdateBucketListingBody;
|
|
321
|
+
//#endregion
|
|
322
|
+
//#region src/clients/storage/tables/types.d.ts
|
|
323
|
+
type GetTablesPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables']['get']>;
|
|
324
|
+
type GetTablesSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables']['get']>;
|
|
325
|
+
type GetTablePath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{id}']['get']>;
|
|
326
|
+
type DeleteTablePath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{id}']['delete']>;
|
|
327
|
+
type DeleteTableSchemaQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables/{id}']['delete']>>;
|
|
328
|
+
type PullTableAsyncPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{id}/pull']['post']>;
|
|
329
|
+
type GetDataPreviewPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/data-preview']['get']>;
|
|
330
|
+
type GetDataPreviewSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/data-preview']['get']>;
|
|
331
|
+
type DeleteTableRowsPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{id}/rows']['delete']>;
|
|
332
|
+
type DeleteTableRowsSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables/{id}/rows']['delete']>;
|
|
333
|
+
type CreateTableAsyncPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{id}/tables-async']['post']>;
|
|
334
|
+
type CreateTableAsyncSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/buckets/{id}/tables-async']['post']>;
|
|
335
|
+
type CreateTableDefinitionPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/tables-definition']['post']>;
|
|
336
|
+
type CreateTableDefinitionSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/tables-definition']['post']>;
|
|
337
|
+
type ImportAsyncPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{id}/import-async']['post']>;
|
|
338
|
+
type TableImportAsyncSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/tables/{id}/import-async']['post']>;
|
|
339
|
+
type ExportAsyncPath = OpenapiPathType<paths['/v2/storage/tables/{tableId}/export-async']['post']>;
|
|
340
|
+
type TableExportAsyncSchemaBody = OpenapiBodyType<paths['/v2/storage/tables/{tableId}/export-async']['post']>;
|
|
341
|
+
type SetAliasTableFilterPath = OpenapiPathType<paths['/v2/storage/tables/{tableId}/alias-filter']['post']>;
|
|
342
|
+
type SetAliasTableFilterSchemaBody = OpenapiBodyType<paths['/v2/storage/tables/{tableId}/alias-filter']['post']>;
|
|
343
|
+
type UpdateTableDefinitionPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/definition']['put']>;
|
|
344
|
+
type UpdateTableDefinitionSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/definition']['put']>;
|
|
345
|
+
type SaveTableMetadataPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{id}/metadata']['post']>;
|
|
346
|
+
type SaveTableMetadataSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/tables/{id}/metadata']['post']>;
|
|
347
|
+
type TableMetadataResponse = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/tables/{id}/metadata']['post']>;
|
|
348
|
+
type DeleteTableMetadataPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{id}/metadata/{metadataId}']['delete']>;
|
|
349
|
+
/**
|
|
350
|
+
* Marks the sibling source keys absent. Both `tables-async` and `import-async` resolve which variant
|
|
351
|
+
* you meant from which source key is populated, and reject more than one outright ("Only one source
|
|
352
|
+
* can be provided") — see connection's `CreateTableAsyncGuessRequest` / `ImportDataAsyncGuessRequest`.
|
|
353
|
+
* The document cannot express that: each variant is a standalone schema that simply omits the
|
|
354
|
+
* others' keys, and a union of those permits them all together.
|
|
355
|
+
*/
|
|
356
|
+
type NoOtherSource<Others extends PropertyKey> = Partial<Record<Others, never>>;
|
|
357
|
+
/**
|
|
358
|
+
* Body for `POST /v2/storage/branch/{branchId}/tables/{id}/import-async`.
|
|
359
|
+
*
|
|
360
|
+
* The document marks every field of both variants required. The backend's request objects mark all
|
|
361
|
+
* but the source id `Assert\Optional`, each with a default applied on mapping — so kbc-ui imports a
|
|
362
|
+
* file with `dataFileId` plus a delimiter/enclosure/incremental triple and nothing else. The
|
|
363
|
+
* workspace variant additionally enforces, in a callback rather than the schema, that one of
|
|
364
|
+
* `dataObject` / `dataTableName` is set, hence its two arms.
|
|
365
|
+
*/
|
|
366
|
+
type ImportFromFileBody = Extract<TableImportAsyncSchemaBody, {
|
|
367
|
+
dataFileId: number;
|
|
368
|
+
}>;
|
|
369
|
+
type ImportFromWorkspaceBody = Extract<TableImportAsyncSchemaBody, {
|
|
370
|
+
dataWorkspaceId: number;
|
|
371
|
+
}>;
|
|
372
|
+
type ImportSource<T, Required extends keyof T> = Partial<T> & Pick<T, Required>;
|
|
373
|
+
type TableImportAsyncBody = (ImportSource<ImportFromFileBody, 'dataFileId'> & NoOtherSource<'dataWorkspaceId'>) | (ImportSource<ImportFromWorkspaceBody, 'dataWorkspaceId' | 'dataObject'> & NoOtherSource<'dataFileId'>) | (ImportSource<ImportFromWorkspaceBody, 'dataWorkspaceId' | 'dataTableName'> & NoOtherSource<'dataFileId'>);
|
|
374
|
+
type FilterOperator = 'eq' | 'ne' | 'gt' | 'lt' | 'ge' | 'le';
|
|
375
|
+
type DataType = 'INTEGER' | 'DOUBLE' | 'BIGINT' | 'REAL' | 'DECIMAL';
|
|
376
|
+
type WhereFilters = {
|
|
377
|
+
column: string;
|
|
378
|
+
operator: FilterOperator;
|
|
379
|
+
values: string[];
|
|
380
|
+
dataType?: DataType;
|
|
381
|
+
};
|
|
382
|
+
type DeleteTableRows = {
|
|
383
|
+
changedSince?: string;
|
|
384
|
+
changedUntil?: string;
|
|
385
|
+
whereFilters?: WhereFilters[];
|
|
386
|
+
allowTruncate?: boolean;
|
|
387
|
+
};
|
|
388
|
+
type OrderBy = {
|
|
389
|
+
column: string;
|
|
390
|
+
order: 'ASC' | 'DESC';
|
|
391
|
+
dataType?: DataType;
|
|
392
|
+
};
|
|
393
|
+
type GetDataPreviewQuery = {
|
|
394
|
+
format?: 'json' | 'rfc';
|
|
395
|
+
limit?: number;
|
|
396
|
+
changedSince?: string;
|
|
397
|
+
changedUntil?: string;
|
|
398
|
+
fulltextSearch?: string;
|
|
399
|
+
whereFilters?: WhereFilters[];
|
|
400
|
+
orderBy?: OrderBy[];
|
|
401
|
+
};
|
|
402
|
+
type GetTablesQuery = {
|
|
403
|
+
include?: ('attributes' | 'buckets' | 'columns' | 'metadata' | 'columnMetadata' | 'bucketsWithoutSourceTables' | 'sourceMetadata' | 'sourceColumnMetadata')[];
|
|
404
|
+
};
|
|
405
|
+
type PreviewData = {
|
|
406
|
+
columns: string[];
|
|
407
|
+
rows: {
|
|
408
|
+
columnName: string;
|
|
409
|
+
value: string;
|
|
410
|
+
isTruncated: boolean;
|
|
411
|
+
}[][];
|
|
412
|
+
};
|
|
413
|
+
/** @deprecated misspelling kept for backwards compatibility — use `PreviewData`. */
|
|
414
|
+
type PrevieData = PreviewData;
|
|
415
|
+
type TableDefinition = {
|
|
416
|
+
columns: {
|
|
417
|
+
name: string;
|
|
418
|
+
definition: {
|
|
419
|
+
type: string;
|
|
420
|
+
};
|
|
421
|
+
}[];
|
|
422
|
+
primaryKeysNames: string[];
|
|
423
|
+
};
|
|
424
|
+
type Metadata = {
|
|
425
|
+
id: string;
|
|
426
|
+
key: string;
|
|
427
|
+
provider: string;
|
|
428
|
+
timestamp: string;
|
|
429
|
+
value: string;
|
|
430
|
+
};
|
|
431
|
+
type ColumnMetadata = Record<string, Metadata[]>;
|
|
432
|
+
type BaseSourceTable = {
|
|
433
|
+
id: string;
|
|
434
|
+
project: {
|
|
435
|
+
id: number;
|
|
436
|
+
name: string;
|
|
437
|
+
};
|
|
438
|
+
columnMetadata: Record<string, Metadata[]>;
|
|
439
|
+
uri: string;
|
|
440
|
+
};
|
|
441
|
+
type SourceTable = BaseSourceTable & {
|
|
442
|
+
definition?: TableDefinition;
|
|
443
|
+
};
|
|
444
|
+
type TypedSourceTable = BaseSourceTable & {
|
|
445
|
+
definition: TableDefinition;
|
|
446
|
+
};
|
|
447
|
+
type TableDetail = {
|
|
448
|
+
id: string;
|
|
449
|
+
name: string;
|
|
450
|
+
displayName: string;
|
|
451
|
+
primaryKey: string[];
|
|
452
|
+
metadata: Metadata[];
|
|
453
|
+
columns: string[];
|
|
454
|
+
columnMetadata: ColumnMetadata;
|
|
455
|
+
bucket: Bucket;
|
|
456
|
+
attributes: unknown[];
|
|
457
|
+
} & ({
|
|
458
|
+
isTyped: false;
|
|
459
|
+
isAlias: false;
|
|
460
|
+
} | {
|
|
461
|
+
isTyped: true;
|
|
462
|
+
definition: TableDefinition;
|
|
463
|
+
isAlias: false;
|
|
464
|
+
} | {
|
|
465
|
+
isTyped: false;
|
|
466
|
+
isAlias: true;
|
|
467
|
+
sourceTable: SourceTable;
|
|
468
|
+
bucket: Bucket & {
|
|
469
|
+
sourceBucket: Bucket;
|
|
470
|
+
};
|
|
471
|
+
} | {
|
|
472
|
+
isTyped: true;
|
|
473
|
+
definition: TableDefinition;
|
|
474
|
+
isAlias: true;
|
|
475
|
+
sourceTable: TypedSourceTable;
|
|
476
|
+
bucket: Bucket & {
|
|
477
|
+
sourceBucket: Bucket;
|
|
478
|
+
};
|
|
479
|
+
});
|
|
480
|
+
type Table = {
|
|
481
|
+
id: string;
|
|
482
|
+
indexKey: unknown[];
|
|
483
|
+
indexType: unknown;
|
|
484
|
+
uri: string;
|
|
485
|
+
transactional?: boolean;
|
|
486
|
+
timestampType: string;
|
|
487
|
+
tableType: string;
|
|
488
|
+
syntheticPrimaryKeyEnabled: boolean;
|
|
489
|
+
rowsCount: number;
|
|
490
|
+
primaryKey: string[];
|
|
491
|
+
path: string;
|
|
492
|
+
name: string;
|
|
493
|
+
lastImportDate: string;
|
|
494
|
+
lastChangeDate: string;
|
|
495
|
+
isTyped: boolean;
|
|
496
|
+
isAliasable: boolean;
|
|
497
|
+
isAlias: boolean;
|
|
498
|
+
displayName: string;
|
|
499
|
+
dataSizeBytes: number;
|
|
500
|
+
created: string;
|
|
501
|
+
metadata?: Metadata[];
|
|
502
|
+
columns?: string[];
|
|
503
|
+
columnMetadata?: ColumnMetadata;
|
|
504
|
+
bucket?: Bucket;
|
|
505
|
+
distributionKey: unknown[];
|
|
506
|
+
distributionType: unknown;
|
|
507
|
+
};
|
|
508
|
+
type TableExportAsyncBody = {
|
|
509
|
+
limit?: number;
|
|
510
|
+
columns?: string[];
|
|
511
|
+
whereColumn?: string;
|
|
512
|
+
whereOperator?: FilterOperator;
|
|
513
|
+
whereValues?: string[];
|
|
514
|
+
changedSince?: string;
|
|
515
|
+
changedUntil?: string;
|
|
516
|
+
};
|
|
517
|
+
/**
|
|
518
|
+
* Body for creating a table from an uploaded file.
|
|
519
|
+
*
|
|
520
|
+
* Hand-authored to match the Storage backend's runtime contract, which differs
|
|
521
|
+
* from the stack's published OpenAPI doc (`doc.json`, the source for the
|
|
522
|
+
* generated schema): the doc models `primaryKey`/`distributionKey` as
|
|
523
|
+
* `string[]` and marks several fields required, but the backend rejects an
|
|
524
|
+
* array `primaryKey` ("primaryKey must be string. Use comma as separator for
|
|
525
|
+
* composite primary key.") and treats every field except `dataFileId` and
|
|
526
|
+
* `name` as optional. kbc-ui sends `primaryKey` comma-joined, or omits it.
|
|
527
|
+
* See UT-4310.
|
|
528
|
+
*/
|
|
529
|
+
type CreateTableAsyncFromFileBody = {
|
|
530
|
+
dataFileId: number;
|
|
531
|
+
name: string;
|
|
532
|
+
delimiter?: string | null;
|
|
533
|
+
enclosure?: string | null;
|
|
534
|
+
escapedBy?: string | null;
|
|
535
|
+
/** Comma-separated primary-key columns; omit when there is no primary key. */
|
|
536
|
+
primaryKey?: string;
|
|
537
|
+
/** Comma-separated distribution-key columns (Synapse); omit when none. */
|
|
538
|
+
distributionKey?: string;
|
|
539
|
+
/** Column names (file workspace only). */
|
|
540
|
+
columns?: string[] | null;
|
|
541
|
+
timestampType?: string | null;
|
|
542
|
+
};
|
|
543
|
+
/**
|
|
544
|
+
* The document gets the same three fields wrong on every create-table variant, which is why
|
|
545
|
+
* `CreateTableAsyncFromFileBody` above is hand-authored rather than derived. In connection's
|
|
546
|
+
* `Storage/Tables/Create/Request`, all three variants compose `ParamPrimaryKey` and
|
|
547
|
+
* `ParamDistribution`, which make `primaryKey` and `distributionKey` `Assert\Optional` *and*
|
|
548
|
+
* `Assert\Type('string')` — a comma-separated list, not the `string[]` the document declares (an
|
|
549
|
+
* array is rejected: "primaryKey must be string. Use comma as separator for composite primary
|
|
550
|
+
* key."). `timestampType` is `Assert\Optional` too. See UT-4310.
|
|
551
|
+
*
|
|
552
|
+
* Distributive so the union in `CreateTableAsyncBody` keeps its arms.
|
|
553
|
+
*/
|
|
554
|
+
type WithCorrectedTableShape<T> = T extends unknown ? Omit<T, 'primaryKey' | 'distributionKey' | 'timestampType'> & {
|
|
555
|
+
/** Comma-separated primary-key columns; omit when there is no primary key. */
|
|
556
|
+
primaryKey?: string;
|
|
557
|
+
/** Comma-separated distribution-key columns (Synapse); omit when none. */
|
|
558
|
+
distributionKey?: string;
|
|
559
|
+
timestampType?: string | null;
|
|
560
|
+
} : never;
|
|
561
|
+
/** Body for creating a table from an existing snapshot. */
|
|
562
|
+
type CreateTableAsyncFromSnapshotBody = WithCorrectedTableShape<components['schemas']['CreateTableAsyncFromSnapshotRequest']>;
|
|
563
|
+
/** Body for creating a table from another table as it was at a point in time. */
|
|
564
|
+
type CreateTableAsyncFromTimeTravelBody = WithCorrectedTableShape<components['schemas']['CreateTableAsyncFromTimeTravelRequest']>;
|
|
565
|
+
/**
|
|
566
|
+
* Both keys are already optional on this variant (unlike the import one, where they are required and
|
|
567
|
+
* `ImportSource` is enough), so the arm has to make its own required rather than un-optional the
|
|
568
|
+
* other — and non-null, since the backend rejects a blank value.
|
|
569
|
+
*/
|
|
570
|
+
type RequireSource<T, K extends keyof T> = T & { [P in K]-?: NonNullable<T[P]>; };
|
|
571
|
+
type CreateFromWorkspace = WithCorrectedTableShape<components['schemas']['CreateTableAsyncFromWorkspaceRequest']>;
|
|
572
|
+
/**
|
|
573
|
+
* Body for creating a table from a workspace. Like the workspace import, one of `dataObject` /
|
|
574
|
+
* `dataTableName` is required — enforced in an `Assert\Callback`, which the document cannot express
|
|
575
|
+
* — hence the two arms. `dataTableName` is the deprecated spelling.
|
|
576
|
+
*/
|
|
577
|
+
type CreateTableAsyncFromWorkspaceBody = RequireSource<CreateFromWorkspace, 'dataObject'> | RequireSource<CreateFromWorkspace, 'dataTableName'>;
|
|
578
|
+
/**
|
|
579
|
+
* The file variant is hand-authored above to match the backend; the rest are derived per variant so
|
|
580
|
+
* each can carry the corrections the document needs. A new variant in the schema is a type error
|
|
581
|
+
* here rather than a silently unsupported body.
|
|
582
|
+
*/
|
|
583
|
+
type CreateTableAsyncBody = (CreateTableAsyncFromFileBody & NoOtherSource<'snapshotId' | 'sourceTableId' | 'dataWorkspaceId'>) | (CreateTableAsyncFromSnapshotBody & NoOtherSource<'dataFileId' | 'sourceTableId' | 'dataWorkspaceId'>) | (CreateTableAsyncFromTimeTravelBody & NoOtherSource<'dataFileId' | 'snapshotId' | 'dataWorkspaceId'>) | (CreateTableAsyncFromWorkspaceBody & NoOtherSource<'dataFileId' | 'snapshotId' | 'sourceTableId'>);
|
|
584
|
+
/**
|
|
585
|
+
* Body for `POST /v2/storage/buckets/{bucketId}/tables-definition` — creates a typed
|
|
586
|
+
* table from an explicit column definition (no data). Returns a `tableDefinitionCreate` storage job.
|
|
587
|
+
*/
|
|
588
|
+
type CreateTableDefinitionBody = {
|
|
589
|
+
name: string;
|
|
590
|
+
primaryKeysNames?: string[];
|
|
591
|
+
columns: {
|
|
592
|
+
name: string;
|
|
593
|
+
definition: {
|
|
594
|
+
type: string;
|
|
595
|
+
nullable?: boolean;
|
|
596
|
+
length?: string;
|
|
597
|
+
};
|
|
598
|
+
}[];
|
|
599
|
+
};
|
|
600
|
+
type TableDefinitionPatchFields = {
|
|
601
|
+
displayName: string;
|
|
602
|
+
description: string | null;
|
|
603
|
+
/**
|
|
604
|
+
* `false` marks the description user-authored, which stops Output Mapping from
|
|
605
|
+
* overwriting it on the next component run. Tables default to `true`
|
|
606
|
+
* (system-managed).
|
|
607
|
+
*/
|
|
608
|
+
isDescriptionSystemManaged: boolean;
|
|
609
|
+
columns: {
|
|
610
|
+
name: string;
|
|
611
|
+
length?: string;
|
|
612
|
+
nullable?: boolean;
|
|
613
|
+
default?: string | null;
|
|
614
|
+
description?: string | null;
|
|
615
|
+
}[];
|
|
616
|
+
};
|
|
617
|
+
/**
|
|
618
|
+
* Body for `PUT /v2/storage/branch/{branchId}/tables/{tableId}/definition`.
|
|
619
|
+
*
|
|
620
|
+
* Every field is a patch — omitted keys are left untouched — and the server
|
|
621
|
+
* rejects a body carrying none of them, so the type requires at least one:
|
|
622
|
+
* it distributes into one variant per field, each pinning that field required
|
|
623
|
+
* and leaving the rest optional. `columns` is positive-only: columns absent from
|
|
624
|
+
* it keep their current definition. Server-side validation caps `description`
|
|
625
|
+
* and each `columns[].description` at 65,535 chars; the value is stored in full
|
|
626
|
+
* and truncated only where the backend is narrower (BigQuery 1,024 / Snowflake
|
|
627
|
+
* 16,384).
|
|
628
|
+
*/
|
|
629
|
+
type UpdateTableDefinitionBody = { [K in keyof TableDefinitionPatchFields]: Required<Pick<TableDefinitionPatchFields, K>> & Partial<Omit<TableDefinitionPatchFields, K>>; }[keyof TableDefinitionPatchFields];
|
|
630
|
+
/** Body for `PUT /v2/storage/tables/{id}` — synchronous table update (display name). */
|
|
631
|
+
type UpdateTableBody = {
|
|
632
|
+
displayName?: string;
|
|
633
|
+
};
|
|
634
|
+
/** Body for `POST /v2/storage/buckets/{bucketId}/table-aliases`. */
|
|
635
|
+
type CreateAliasTableBody = {
|
|
636
|
+
sourceTable: string;
|
|
637
|
+
name: string;
|
|
638
|
+
/** Keep the alias' columns in step with the source table's. Defaults to true. */
|
|
639
|
+
aliasColumnsAutosync?: boolean;
|
|
640
|
+
aliasColumns?: string[];
|
|
641
|
+
aliasFilter?: {
|
|
642
|
+
column: string;
|
|
643
|
+
operator?: 'eq' | 'ne';
|
|
644
|
+
values: string[];
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
/** Body for `POST /v2/storage/tables/{id}/alias-filter` (synchronous). */
|
|
648
|
+
type SetAliasTableFilterBody = {
|
|
649
|
+
column: string;
|
|
650
|
+
values: string[];
|
|
651
|
+
operator?: 'eq' | 'ne';
|
|
652
|
+
};
|
|
653
|
+
type SaveMetadataBody = {
|
|
654
|
+
provider: string;
|
|
655
|
+
metadata: {
|
|
656
|
+
key: string;
|
|
657
|
+
value: string;
|
|
658
|
+
}[];
|
|
659
|
+
};
|
|
660
|
+
type GetTablesInput = GetTablesPath & GetTablesQuery;
|
|
661
|
+
type GetTableInput = GetTablePath;
|
|
662
|
+
/**
|
|
663
|
+
* Input for `POST /v2/storage/branch/{branchId}/tables/{id}/pull`. The branch is the *target* — the
|
|
664
|
+
* table is pulled from the default branch into it — so pass the dev branch you are pulling into; a
|
|
665
|
+
* pull into the default branch is a no-op.
|
|
666
|
+
*/
|
|
667
|
+
type PullTableAsyncInput = PullTableAsyncPath;
|
|
668
|
+
type GetDataPreviewInput = GetDataPreviewPath & GetDataPreviewQuery;
|
|
669
|
+
type DeleteTableInput = DeleteTablePath & Pick<DeleteTableSchemaQuery, 'force'>;
|
|
670
|
+
/** Not an endpoint — `deleteTables` fans out over `deleteTable`, so the ids are a client-side list. */
|
|
671
|
+
type DeleteTablesInput = Omit<DeleteTableInput, 'id'> & {
|
|
672
|
+
ids: string[];
|
|
673
|
+
};
|
|
674
|
+
type DeleteTableRowsInput = DeleteTableRowsPath & DeleteTableRows;
|
|
675
|
+
type CreateTableAsyncInput = CreateTableAsyncPath & CreateTableAsyncBody;
|
|
676
|
+
type CreateTableDefinitionInput = CreateTableDefinitionPath & CreateTableDefinitionBody;
|
|
677
|
+
/**
|
|
678
|
+
* `POST /v2/storage/buckets/{bucketId}/table-aliases` is absent from the Storage document, so this
|
|
679
|
+
* is one of the two inputs here with a hand-written path parameter.
|
|
680
|
+
*/
|
|
681
|
+
type CreateAliasTableInput = {
|
|
682
|
+
bucketId: string;
|
|
683
|
+
} & CreateAliasTableBody;
|
|
684
|
+
type SetAliasTableFilterInput = SetAliasTableFilterPath & SetAliasTableFilterBody;
|
|
685
|
+
/**
|
|
686
|
+
* `PUT /v2/storage/tables/{id}` is absent from the Storage document — it declares `put?: never` on
|
|
687
|
+
* both the branched and unbranched table paths — so, like `CreateAliasTableInput`, this one cannot
|
|
688
|
+
* derive its path parameter.
|
|
689
|
+
*/
|
|
690
|
+
type UpdateTableInput = {
|
|
691
|
+
tableId: string;
|
|
692
|
+
} & UpdateTableBody;
|
|
693
|
+
type ExportAsyncInput = ExportAsyncPath & TableExportAsyncBody;
|
|
694
|
+
type ImportAsyncInput = ImportAsyncPath & TableImportAsyncBody;
|
|
695
|
+
type UpdateTableDefinitionInput = UpdateTableDefinitionPath & UpdateTableDefinitionBody;
|
|
696
|
+
type SaveTableMetadataInput = SaveTableMetadataPath & SaveMetadataBody;
|
|
697
|
+
type DeleteTableMetadataInput = Omit<DeleteTableMetadataPath, 'metadataId'> & {
|
|
698
|
+
metadataId: MetadataId;
|
|
699
|
+
};
|
|
700
|
+
//#endregion
|
|
701
|
+
//#region src/clients/storage/columns/types.d.ts
|
|
702
|
+
type AddTableColumnSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/tables/{id}/columns']['post']>;
|
|
703
|
+
type CreateTablePrimaryKeySchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/primary-key']['post']>;
|
|
704
|
+
type AddTableColumnPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{id}/columns']['post']>;
|
|
705
|
+
type DeleteTableColumnPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/columns/{columnName}']['delete']>;
|
|
706
|
+
type DeleteTableColumnQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/columns/{columnName}']['delete']>>;
|
|
707
|
+
type CreateTablePrimaryKeyPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/primary-key']['post']>;
|
|
708
|
+
/** Body for `POST /v2/storage/tables/{id}/columns`. */
|
|
709
|
+
type AddTableColumnBody = {
|
|
710
|
+
name: string;
|
|
711
|
+
/** Column settings for typed tables. */
|
|
712
|
+
definition?: {
|
|
713
|
+
type: string;
|
|
714
|
+
length?: string;
|
|
715
|
+
nullable?: boolean;
|
|
716
|
+
default?: string;
|
|
717
|
+
};
|
|
718
|
+
/** Base datatype for non-typed tables (e.g. `STRING`, `INTEGER`, `BOOLEAN`). */
|
|
719
|
+
basetype?: string;
|
|
720
|
+
};
|
|
721
|
+
/** Body for `POST /v2/storage/tables/{id}/primary-key`. */
|
|
722
|
+
type CreateTablePrimaryKeyBody = {
|
|
723
|
+
columns: string[];
|
|
724
|
+
/** Skip the duplicate-values check (Snowflake only). */
|
|
725
|
+
skipDuplicatesCheck?: boolean;
|
|
726
|
+
};
|
|
727
|
+
type AddTableColumnInput = AddTableColumnPath & AddTableColumnBody;
|
|
728
|
+
type DeleteTableColumnInput = DeleteTableColumnPath & DeleteTableColumnQuery;
|
|
729
|
+
type CreateTablePrimaryKeyInput = CreateTablePrimaryKeyPath & CreateTablePrimaryKeyBody;
|
|
730
|
+
type RemoveTablePrimaryKeyInput = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/primary-key']['delete']>;
|
|
731
|
+
type SaveColumnMetadataInput = {
|
|
732
|
+
branchId: string;
|
|
733
|
+
columnId: string;
|
|
734
|
+
} & SaveMetadataBody;
|
|
735
|
+
type DeleteColumnMetadataInput = {
|
|
736
|
+
branchId: string;
|
|
737
|
+
columnId: string;
|
|
738
|
+
metadataId: MetadataId;
|
|
739
|
+
};
|
|
740
|
+
//#endregion
|
|
741
|
+
//#region src/clients/storage/events/types.d.ts
|
|
742
|
+
type EventType = 'info' | 'warn' | 'error' | 'success';
|
|
743
|
+
type GetEventsPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/events']['get']>;
|
|
744
|
+
type GetEventsQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/events']['get']>>;
|
|
745
|
+
type GetEventsInput = GetEventsPath & GetEventsQuery;
|
|
746
|
+
type GetEventPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/events/{eventId}']['get']>;
|
|
747
|
+
/**
|
|
748
|
+
* `branchId` is optional here alone, where the spec requires it.
|
|
749
|
+
*
|
|
750
|
+
* - A writer records against the branch it is running in, and the callers outside kbc-ui have no
|
|
751
|
+
* branch to resolve, so the client falls back to the default one.
|
|
752
|
+
* - Both reads take it, since which branch's feed you want is never implicit.
|
|
753
|
+
*/
|
|
754
|
+
type CreateEventPath = Omit<OpenapiPathType<paths['/v2/storage/branch/{branchId}/events']['post']>, 'branchId'> & Partial<Pick<OpenapiPathType<paths['/v2/storage/branch/{branchId}/events']['post']>, 'branchId'>>;
|
|
755
|
+
type CreateEventSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/events']['post']>;
|
|
756
|
+
/**
|
|
757
|
+
* Derived from the create body, overriding the three fields the spec models badly.
|
|
758
|
+
*
|
|
759
|
+
* - `params` and `results` are JSON-encoded `string | null` there; both go as objects instead.
|
|
760
|
+
* - `params` also keeps the string form, which `sapi-events/actions` pre-serializes.
|
|
761
|
+
* - `type` is a free-form `string | null`; only the four `EventType` values do anything.
|
|
762
|
+
*/
|
|
763
|
+
type CreateEventBody = Omit<CreateEventSchemaBody, 'type' | 'params' | 'results'> & {
|
|
764
|
+
type?: EventType;
|
|
765
|
+
params?: Record<string, unknown> | string;
|
|
766
|
+
results?: Record<string, unknown>;
|
|
767
|
+
};
|
|
768
|
+
type CreateEventInput = CreateEventPath & CreateEventBody;
|
|
769
|
+
type GetTableEventsPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/events']['get']>;
|
|
770
|
+
type GetTableEventsQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/events']['get']>>;
|
|
771
|
+
type GetTableEventsInput = GetTableEventsPath & GetTableEventsQuery;
|
|
772
|
+
type GetBucketEventsPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/events']['get']>;
|
|
773
|
+
type GetBucketEventsQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/events']['get']>>;
|
|
774
|
+
type GetBucketEventsInput = GetBucketEventsPath & GetBucketEventsQuery;
|
|
775
|
+
/**
|
|
776
|
+
* One event as a feed returns it, from the table feed's payload — the bucket feed declares an
|
|
777
|
+
* identical shape, and the project feed and the detail endpoint declare none at all.
|
|
778
|
+
*/
|
|
779
|
+
type StorageEventRaw = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/events']['get']>[number];
|
|
780
|
+
/**
|
|
781
|
+
* Fields the table feed declares required that this type does not, because it also describes the
|
|
782
|
+
* project feed and the detail endpoint — and neither of those declares a payload to check them
|
|
783
|
+
* against. Optional is the safe reading until a live one is probed.
|
|
784
|
+
*/
|
|
785
|
+
type UnverifiedEventFields = 'description' | 'objectId' | 'objectName' | 'objectType' | 'idBranch' | 'uri' | 'token' | 'context' | 'attachments';
|
|
786
|
+
/**
|
|
787
|
+
* Derived from `StorageEventRaw`, overriding only what the spec cannot express.
|
|
788
|
+
*
|
|
789
|
+
* - `params`, `results` and `performance` are `Record<string, never>` there, which types every
|
|
790
|
+
* property access as an error.
|
|
791
|
+
* - `type` is a free-form `string`; the four `EventType` values are what the backend emits.
|
|
792
|
+
*/
|
|
793
|
+
type StorageEvent = Omit<StorageEventRaw, 'type' | 'params' | 'results' | 'performance' | UnverifiedEventFields> & Partial<Pick<StorageEventRaw, UnverifiedEventFields>> & {
|
|
794
|
+
type: EventType;
|
|
795
|
+
params?: Record<string, unknown>;
|
|
796
|
+
results?: {
|
|
797
|
+
rowsCount?: number;
|
|
798
|
+
sizeBytes?: number;
|
|
799
|
+
};
|
|
800
|
+
performance?: {
|
|
801
|
+
importDuration?: number;
|
|
802
|
+
};
|
|
803
|
+
};
|
|
804
|
+
/**
|
|
805
|
+
* What a create answers with — not a feed item.
|
|
806
|
+
*
|
|
807
|
+
* - Keyed by `id`, which the detail endpoint cannot resolve: that one keys on `uuid`.
|
|
808
|
+
* - `createdTime`, where a feed item carries `created`.
|
|
809
|
+
*/
|
|
810
|
+
type CreatedEvent = {
|
|
811
|
+
id: string | number;
|
|
812
|
+
component: string;
|
|
813
|
+
message: string;
|
|
814
|
+
type: EventType;
|
|
815
|
+
runId?: string;
|
|
816
|
+
configurationId?: string;
|
|
817
|
+
results?: Record<string, unknown>;
|
|
818
|
+
params?: Record<string, unknown>;
|
|
819
|
+
duration?: number;
|
|
820
|
+
createdTime: string;
|
|
821
|
+
};
|
|
822
|
+
//#endregion
|
|
823
|
+
//#region src/clients/storage/files/types.d.ts
|
|
824
|
+
/**
|
|
825
|
+
* One id type across the namespace, as `File['id']` returns it.
|
|
826
|
+
*
|
|
827
|
+
* - Spec types the same path segment a `string` on the detail, tag-create and tag-delete operations
|
|
828
|
+
* and a `number` on the delete and the content read.
|
|
829
|
+
* - The paths below normalise it to this; the client stringifies for the `string` operations.
|
|
830
|
+
*/
|
|
831
|
+
type FileId = number;
|
|
832
|
+
type GetFilePath = Omit<OpenapiPathType<paths['/v2/storage/files/{fileId}']['get']>, 'fileId'> & {
|
|
833
|
+
fileId: FileId;
|
|
834
|
+
};
|
|
835
|
+
type DeleteFilePath = OpenapiPathType<paths['/v2/storage/files/{fileId}']['delete']>;
|
|
836
|
+
type GetFileContentPath = OpenapiPathType<paths['/v2/storage/files/{fileId}/content']['get']>;
|
|
837
|
+
type AddFileTagPath = Omit<OpenapiPathType<paths['/v2/storage/files/{fileId}/tags']['post']>, 'fileId'> & {
|
|
838
|
+
fileId: FileId;
|
|
839
|
+
};
|
|
840
|
+
type AddFileTagBody = OpenapiBodyType<paths['/v2/storage/files/{fileId}/tags']['post']>;
|
|
841
|
+
type AddFileTagInput = AddFileTagPath & AddFileTagBody;
|
|
842
|
+
type DeleteFileTagPath = Omit<OpenapiPathType<paths['/v2/storage/files/{fileId}/tags/{tagName}']['delete']>, 'fileId'> & {
|
|
843
|
+
fileId: FileId;
|
|
844
|
+
};
|
|
845
|
+
/**
|
|
846
|
+
* Spec models the list as a GET carrying a `ListFilesRequest` **body** and no query parameters.
|
|
847
|
+
*
|
|
848
|
+
* - The API reads the same fields from the query string, which is what `GetFilesQuery` describes.
|
|
849
|
+
* - So the whole parameters object is asserted in, not just the query.
|
|
850
|
+
*/
|
|
851
|
+
type GetFilesSchemaParams = OpenapiParametersType<paths['/v2/storage/files']['get']>;
|
|
852
|
+
/**
|
|
853
|
+
* The list filters, from the shape the spec mis-models as a request body.
|
|
854
|
+
*
|
|
855
|
+
* - Spec marks `tags`, `limit`, `offset` and `showExpired` required, each with a default the API
|
|
856
|
+
* applies, so every filter is optional here.
|
|
857
|
+
*/
|
|
858
|
+
type GetFilesQuery = Partial<OpenapiBodyType<paths['/v2/storage/files']['get']>>;
|
|
859
|
+
type CreatorToken$1 = {
|
|
860
|
+
id: number;
|
|
861
|
+
description: string;
|
|
862
|
+
};
|
|
863
|
+
type File = {
|
|
864
|
+
created: string;
|
|
865
|
+
creatorToken: CreatorToken$1;
|
|
866
|
+
id: number;
|
|
867
|
+
isExpired: boolean;
|
|
868
|
+
isEncrypted: boolean;
|
|
869
|
+
isPublic: boolean;
|
|
870
|
+
isSliced: boolean;
|
|
871
|
+
maxAgeDays: number | null;
|
|
872
|
+
name: string;
|
|
873
|
+
provider: string;
|
|
874
|
+
region: string;
|
|
875
|
+
runId: string;
|
|
876
|
+
runIds: string[];
|
|
877
|
+
sizeBytes: number;
|
|
878
|
+
tags: string[];
|
|
879
|
+
url: string;
|
|
880
|
+
};
|
|
881
|
+
type PrepareFileSchemaBody = OpenapiBodyType<paths['/v2/storage/files/prepare']['post']>;
|
|
882
|
+
/**
|
|
883
|
+
* The prepare body, with every flag optional because the API defaults each one.
|
|
884
|
+
*
|
|
885
|
+
* - `PrepareFileSchemaBody` is a union of one arm per provider; the S3 arm is the widest and the only
|
|
886
|
+
* one declaring `isPublic`, `notify`, `isEncrypted` and `federationToken`, so it is picked by a
|
|
887
|
+
* field the other two lack.
|
|
888
|
+
* - `name` stays required: the API has nothing to default it to.
|
|
889
|
+
*/
|
|
890
|
+
type PrepareFileBody = Partial<Extract<PrepareFileSchemaBody, {
|
|
891
|
+
isPublic: boolean;
|
|
892
|
+
}>> & {
|
|
893
|
+
name: string;
|
|
894
|
+
};
|
|
895
|
+
type AwsUploadParams = {
|
|
896
|
+
key: string;
|
|
897
|
+
bucket: string;
|
|
898
|
+
acl: string;
|
|
899
|
+
credentials: {
|
|
900
|
+
AccessKeyId: string;
|
|
901
|
+
SecretAccessKey: string;
|
|
902
|
+
SessionToken: string;
|
|
903
|
+
Expiration: string;
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
type AzureUploadParams = {
|
|
907
|
+
container: string;
|
|
908
|
+
blobName: string;
|
|
909
|
+
accountName: string;
|
|
910
|
+
sasConnectionString: string;
|
|
911
|
+
};
|
|
912
|
+
type GcsUploadParams = {
|
|
913
|
+
key: string;
|
|
914
|
+
bucket: string;
|
|
915
|
+
credentials: {
|
|
916
|
+
access_token: string;
|
|
917
|
+
expires_in: number;
|
|
918
|
+
token_type: string;
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
type PreparedFile = {
|
|
922
|
+
id: number;
|
|
923
|
+
name: string;
|
|
924
|
+
url: string;
|
|
925
|
+
provider: 'aws' | 'azure' | 'gcp';
|
|
926
|
+
region?: string;
|
|
927
|
+
isSliced: boolean;
|
|
928
|
+
isEncrypted: boolean;
|
|
929
|
+
uploadParams?: AwsUploadParams;
|
|
930
|
+
absUploadParams?: AzureUploadParams;
|
|
931
|
+
gcsUploadParams?: GcsUploadParams;
|
|
932
|
+
};
|
|
933
|
+
//#endregion
|
|
934
|
+
//#region src/clients/storage/branches/types.d.ts
|
|
935
|
+
type BranchMetadataRaw = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/metadata']['get']>[number];
|
|
936
|
+
type CreateDevBranchSchemaBody = OpenapiBodyType<paths['/v2/storage/dev-branches']['post']>;
|
|
937
|
+
type UpdateDevBranchSchemaBody = OpenapiBodyType<paths['/v2/storage/dev-branches/{id}']['put']>;
|
|
938
|
+
type SaveDevBranchMetadataPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/metadata']['post']>;
|
|
939
|
+
type DeleteDevBranchMetadataSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/metadata/{metadataId}']['delete']>;
|
|
940
|
+
type BranchMetadataEntry = {
|
|
941
|
+
key: string;
|
|
942
|
+
value: string;
|
|
943
|
+
};
|
|
944
|
+
type DevBranch = {
|
|
945
|
+
id: number;
|
|
946
|
+
name: string;
|
|
947
|
+
description: string;
|
|
948
|
+
isDefault: boolean;
|
|
949
|
+
created: string;
|
|
950
|
+
creatorToken: {
|
|
951
|
+
id: number;
|
|
952
|
+
name: string;
|
|
953
|
+
} | [];
|
|
954
|
+
};
|
|
955
|
+
type CreateDevBranchBody = {
|
|
956
|
+
name: string;
|
|
957
|
+
description?: string;
|
|
958
|
+
};
|
|
959
|
+
type DevBranchPath = {
|
|
960
|
+
id: number;
|
|
961
|
+
};
|
|
962
|
+
type UpdateDevBranchInput = DevBranchPath & CreateDevBranchBody;
|
|
963
|
+
type SaveDevBranchMetadataInput = SaveDevBranchMetadataPath & {
|
|
964
|
+
metadata: BranchMetadataEntry[];
|
|
965
|
+
};
|
|
966
|
+
type DeleteDevBranchMetadataPath = Omit<DeleteDevBranchMetadataSchemaPath, 'metadataId'> & {
|
|
967
|
+
metadataId: MetadataId;
|
|
968
|
+
};
|
|
969
|
+
//#endregion
|
|
970
|
+
//#region src/clients/storage/workspaces/types.d.ts
|
|
971
|
+
/**
|
|
972
|
+
* One id type across the namespace, as the list and detail payloads return it.
|
|
973
|
+
*
|
|
974
|
+
* - Spec types the same path segment a `string` on the delete, password, SSO and public-key
|
|
975
|
+
* operations and a `number` on the list, detail, objects and batch-delete ones.
|
|
976
|
+
* - The paths below normalise it to this; the client stringifies for the `string` operations.
|
|
977
|
+
*/
|
|
978
|
+
type WorkspaceId = number;
|
|
979
|
+
type GetWorkspacesPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/workspaces']['get']>;
|
|
980
|
+
type GetWorkspacePath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}']['get']>;
|
|
981
|
+
type DeleteWorkspacePath = Omit<OpenapiPathType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}']['delete']>, 'workspaceId'> & {
|
|
982
|
+
workspaceId: WorkspaceId;
|
|
983
|
+
};
|
|
984
|
+
/** Client-side fan-out over `deleteWorkspace`, not an endpoint of its own. */
|
|
985
|
+
type DeleteWorkspacesInput = Omit<DeleteWorkspacePath, 'workspaceId'> & {
|
|
986
|
+
workspaceIds: WorkspaceId[];
|
|
987
|
+
};
|
|
988
|
+
type ResetWorkspacePasswordPath = Omit<OpenapiPathType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}/password']['post']>, 'workspaceId'> & {
|
|
989
|
+
workspaceId: WorkspaceId;
|
|
990
|
+
};
|
|
991
|
+
type GetWorkspaceSaml2LoginPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}/saml2-login']['get']>;
|
|
992
|
+
type SetWorkspacePublicKeyPath = Omit<OpenapiPathType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}/public-key']['post']>, 'workspaceId'> & {
|
|
993
|
+
workspaceId: WorkspaceId;
|
|
994
|
+
};
|
|
995
|
+
type SetWorkspacePublicKeyBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}/public-key']['post']>;
|
|
996
|
+
type SetWorkspacePublicInput = SetWorkspacePublicKeyPath & SetWorkspacePublicKeyBody;
|
|
997
|
+
type GetWorkspaceObjectsPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}/objects']['get']>;
|
|
998
|
+
type WorkspaceObject = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}/objects']['get']>[number];
|
|
999
|
+
type DeleteWorkspaceObjectPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}/objects/batch-delete']['post']>;
|
|
1000
|
+
type DeleteWorkspaceObjectBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}/objects/batch-delete']['post']>;
|
|
1001
|
+
type DeleteWorkspaceObjectInput = DeleteWorkspaceObjectPath & DeleteWorkspaceObjectBody;
|
|
1002
|
+
type UnloadWorkspacePath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}/unload']['post']>;
|
|
1003
|
+
type UnloadWorkspaceQuery = Omit<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}/unload']['post']>, 'only-direct-grants'>;
|
|
1004
|
+
type UnloadWorkspaceInput = UnloadWorkspacePath & UnloadWorkspaceQuery;
|
|
1005
|
+
type WorkspaceInputMappingLoadPreviewPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/input-mapping-load/preview']['post']>;
|
|
1006
|
+
type WorkspaceInputMappingLoadPreviewQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/input-mapping-load/preview']['post']>>;
|
|
1007
|
+
/** Component-style input-mapping config sent to the workspace-less preview endpoint. */
|
|
1008
|
+
type WorkspaceInputMappingLoadPreviewBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/input-mapping-load/preview']['post']>;
|
|
1009
|
+
/** Resolved load type plus the possible load types per input table. */
|
|
1010
|
+
type WorkspaceInputMappingLoadPreviewResponse = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/input-mapping-load/preview']['post']>;
|
|
1011
|
+
type WorkspaceInputMappingLoadPreviewInput = WorkspaceInputMappingLoadPreviewPath & WorkspaceInputMappingLoadPreviewQuery & {
|
|
1012
|
+
body: WorkspaceInputMappingLoadPreviewBody;
|
|
1013
|
+
};
|
|
1014
|
+
type WorkspaceLoginType = 'default' | 'snowflake-legacy-service' | 'snowflake-person-sso' | 'snowflake-person-keypair' | 'snowflake-service-keypair';
|
|
1015
|
+
/**
|
|
1016
|
+
* Hand-authored, because `WorkspaceDetailResponse.connection` describes a narrower payload than the
|
|
1017
|
+
* one callers get.
|
|
1018
|
+
*
|
|
1019
|
+
* - Spec's union carries neither `password` nor `account` nor `port`, which a workspace created
|
|
1020
|
+
* through `configurationWorkspaces.createConfigurationWorkspace` returns and consumers read.
|
|
1021
|
+
* - `configurations/types` reuses this shape for a component's `db` parameters.
|
|
1022
|
+
*/
|
|
1023
|
+
type WorkspaceConnection = {
|
|
1024
|
+
account: string;
|
|
1025
|
+
backend?: 'snowflake' | 'bigquery';
|
|
1026
|
+
port?: string;
|
|
1027
|
+
host: string;
|
|
1028
|
+
region: string;
|
|
1029
|
+
database: string;
|
|
1030
|
+
schema: string;
|
|
1031
|
+
warehouse: string;
|
|
1032
|
+
user: string;
|
|
1033
|
+
/**
|
|
1034
|
+
* Available only upon creation with `storage.configurationWorkspaces.createConfigurationWorkspace`.
|
|
1035
|
+
*/
|
|
1036
|
+
password?: string;
|
|
1037
|
+
loginType: WorkspaceLoginType;
|
|
1038
|
+
/** Only for file workspaces */
|
|
1039
|
+
container: string;
|
|
1040
|
+
/** indicates whenever is login into workspace possible via Snowflake SSO */
|
|
1041
|
+
ssoLoginAvailable: boolean;
|
|
1042
|
+
};
|
|
1043
|
+
/** The workspace payload as the spec declares it — `Workspace` is the corrected shape. */
|
|
1044
|
+
type WorkspaceRaw = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}']['get']>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Derived from `WorkspaceRaw`, overriding only the fields the spec models badly. Everything not
|
|
1047
|
+
* listed in the `Omit` tracks the schema, so a field the backend adds arrives with `pnpm gen:types`.
|
|
1048
|
+
* Each override below names the spec bug it works around — if one is ever fixed upstream, delete the
|
|
1049
|
+
* override.
|
|
1050
|
+
*/
|
|
1051
|
+
type Workspace = Omit<WorkspaceRaw, 'name' | 'component' | 'configurationId' | 'backendSize' | 'connection' | 'creatorToken' | 'platformUsageType'> & {
|
|
1052
|
+
/** working schema name */
|
|
1053
|
+
name: string;
|
|
1054
|
+
/** name of the registered component that created the workspace */
|
|
1055
|
+
component: string | null;
|
|
1056
|
+
/** id of a configuration used to create workspace */
|
|
1057
|
+
configurationId: string | null;
|
|
1058
|
+
/** string for backends supporting dynamic backend size (currently only Snowflake), null for other backends */
|
|
1059
|
+
backendSize: string | null;
|
|
1060
|
+
connection: WorkspaceConnection;
|
|
1061
|
+
creatorToken: {
|
|
1062
|
+
id: number;
|
|
1063
|
+
description: string;
|
|
1064
|
+
};
|
|
1065
|
+
/** type of usage in Keboola Connection (user, system, reader) */
|
|
1066
|
+
platformUsageType: 'user' | 'system' | 'reader';
|
|
1067
|
+
};
|
|
1068
|
+
type WorkspaceSaml2Login = {
|
|
1069
|
+
acsUrl: string;
|
|
1070
|
+
samlResponse: string;
|
|
1071
|
+
relayState: string;
|
|
1072
|
+
expiresAt: string;
|
|
1073
|
+
};
|
|
1074
|
+
type ResetWorkspacePassword = {
|
|
1075
|
+
password: string;
|
|
1076
|
+
};
|
|
1077
|
+
//#endregion
|
|
1078
|
+
//#region src/clients/storage/configurationRows/types.d.ts
|
|
1079
|
+
type CreateConfigurationRowPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows']['post']>;
|
|
1080
|
+
type CreateConfigurationRowSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows']['post']>;
|
|
1081
|
+
type GetConfigurationRowPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}']['get']>;
|
|
1082
|
+
type UpdateConfigurationRowPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}']['put']>;
|
|
1083
|
+
type UpdateConfigurationRowSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}']['put']>;
|
|
1084
|
+
type DeleteConfigurationRowPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}']['delete']>;
|
|
1085
|
+
type DeleteConfigurationRowSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}']['delete']>;
|
|
1086
|
+
type UpdateConfigurationRowStatePath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/state']['put']>;
|
|
1087
|
+
type UpdateConfigurationRowStateSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/state']['put']>;
|
|
1088
|
+
type RowPayload = {
|
|
1089
|
+
isDisabled?: boolean | number;
|
|
1090
|
+
configuration?: string | Record<string, unknown>;
|
|
1091
|
+
state?: string | Record<string, unknown>;
|
|
1092
|
+
};
|
|
1093
|
+
type CreateConfigurationRowBody = RowPayload & {
|
|
1094
|
+
rowId?: string;
|
|
1095
|
+
name?: string;
|
|
1096
|
+
description?: string;
|
|
1097
|
+
changeDescription?: string;
|
|
1098
|
+
};
|
|
1099
|
+
type UpdateConfigurationRowBody = RowPayload & {
|
|
1100
|
+
name?: string;
|
|
1101
|
+
description?: string;
|
|
1102
|
+
changeDescription?: string;
|
|
1103
|
+
};
|
|
1104
|
+
type UpdateConfigurationRowStateBody = Pick<RowPayload, 'state'>;
|
|
1105
|
+
type DeleteConfigurationRowBody = {
|
|
1106
|
+
changeDescription?: string;
|
|
1107
|
+
};
|
|
1108
|
+
type CreateConfigurationRowInput = CreateConfigurationRowPath & CreateConfigurationRowBody;
|
|
1109
|
+
type CreateConfigurationRowsInput = CreateConfigurationRowPath & {
|
|
1110
|
+
data: CreateConfigurationRowBody[];
|
|
1111
|
+
};
|
|
1112
|
+
type GetConfigurationRowInput = GetConfigurationRowPath;
|
|
1113
|
+
type UpdateConfigurationRowInput = UpdateConfigurationRowPath & UpdateConfigurationRowBody;
|
|
1114
|
+
type UpdateConfigurationRowStateInput = UpdateConfigurationRowStatePath & UpdateConfigurationRowStateBody;
|
|
1115
|
+
type DeleteConfigurationRowInput = DeleteConfigurationRowPath & DeleteConfigurationRowBody;
|
|
1116
|
+
type DeleteConfigurationRowsInput = Omit<DeleteConfigurationRowInput, 'rowId' | 'changeDescription'> & {
|
|
1117
|
+
rowIds: string[];
|
|
1118
|
+
changeDescription?: string | ((rowId: string) => string);
|
|
1119
|
+
};
|
|
1120
|
+
type Row = {
|
|
1121
|
+
id: string;
|
|
1122
|
+
name: string;
|
|
1123
|
+
description: string;
|
|
1124
|
+
isDisabled: boolean;
|
|
1125
|
+
created: string;
|
|
1126
|
+
creatorToken: CreatorToken;
|
|
1127
|
+
changeDescription: string;
|
|
1128
|
+
versionIdentifier: string;
|
|
1129
|
+
state: Record<string, unknown>;
|
|
1130
|
+
configuration: Record<string, unknown>;
|
|
1131
|
+
};
|
|
1132
|
+
type WrDbRow = Omit<Row, 'configuration'> & {
|
|
1133
|
+
configuration: {
|
|
1134
|
+
parameters?: {
|
|
1135
|
+
dbName?: string;
|
|
1136
|
+
incremental?: boolean;
|
|
1137
|
+
items?: {
|
|
1138
|
+
name: string;
|
|
1139
|
+
dbName: string;
|
|
1140
|
+
default: string;
|
|
1141
|
+
nullable: boolean;
|
|
1142
|
+
size: string;
|
|
1143
|
+
type: number;
|
|
1144
|
+
}[];
|
|
1145
|
+
primaryKey?: string[];
|
|
1146
|
+
tableId?: string;
|
|
1147
|
+
};
|
|
1148
|
+
storage?: {
|
|
1149
|
+
input?: {
|
|
1150
|
+
tables?: {
|
|
1151
|
+
columns: string[];
|
|
1152
|
+
destination: string;
|
|
1153
|
+
overwrite: boolean;
|
|
1154
|
+
source: string;
|
|
1155
|
+
}[];
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1159
|
+
};
|
|
1160
|
+
//#endregion
|
|
1161
|
+
//#region src/clients/storage/configurations/types.d.ts
|
|
1162
|
+
type CreateConfigurationSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs']['post']>;
|
|
1163
|
+
type UpdateConfigurationSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}']['put']>;
|
|
1164
|
+
type UpdateConfigurationStateSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/state']['put']>;
|
|
1165
|
+
type RebaseConfigurationSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rebase']['post']>;
|
|
1166
|
+
type SearchComponentConfigurationsSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/search/component-configurations']['get']>;
|
|
1167
|
+
type BranchId$2 = number | string | 'default';
|
|
1168
|
+
type GetSearchComponentConfigurationsPath = {
|
|
1169
|
+
branchId?: BranchId$2;
|
|
1170
|
+
};
|
|
1171
|
+
type GetConfigurationsPath<ComponentId extends string = string> = {
|
|
1172
|
+
branchId?: BranchId$2;
|
|
1173
|
+
componentId: ComponentId;
|
|
1174
|
+
};
|
|
1175
|
+
type ConfigurationPath<ComponentId extends string = string> = {
|
|
1176
|
+
configId: string;
|
|
1177
|
+
} & GetConfigurationsPath<ComponentId>;
|
|
1178
|
+
type CreatorToken = {
|
|
1179
|
+
id: number;
|
|
1180
|
+
description: string;
|
|
1181
|
+
};
|
|
1182
|
+
type CreateConfigurationBody<ConfigData extends Record<string, unknown> = Record<string, unknown>> = {
|
|
1183
|
+
name: string;
|
|
1184
|
+
description?: string;
|
|
1185
|
+
changeDescription?: string;
|
|
1186
|
+
isDisabled?: boolean;
|
|
1187
|
+
/**
|
|
1188
|
+
* Id to create the configuration under. Omit to have Storage generate one — which is what
|
|
1189
|
+
* most callers want; pass it only to mirror an id that already exists somewhere else (the
|
|
1190
|
+
* same configuration in another branch, a fixed id for a first-run flow).
|
|
1191
|
+
*/
|
|
1192
|
+
configurationId?: string;
|
|
1193
|
+
/**
|
|
1194
|
+
* Omit it to have Storage create the configuration empty, which is what a "new configuration"
|
|
1195
|
+
* flow with nothing filled in yet does.
|
|
1196
|
+
*/
|
|
1197
|
+
configuration?: ConfigData;
|
|
1198
|
+
};
|
|
1199
|
+
type CreateConfigurationInput<ComponentId extends string = string, ConfigData extends Record<string, unknown> = Record<string, unknown>> = GetConfigurationsPath<ComponentId> & CreateConfigurationBody<ConfigData>;
|
|
1200
|
+
type UpdateConfigurationSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}']['put']>;
|
|
1201
|
+
type UpdateConfigurationBody<ConfigData extends Record<string, unknown> = Record<string, unknown>> = {
|
|
1202
|
+
name?: string;
|
|
1203
|
+
description?: string;
|
|
1204
|
+
changeDescription?: string;
|
|
1205
|
+
isDisabled?: boolean;
|
|
1206
|
+
configuration?: ConfigData;
|
|
1207
|
+
state?: Record<string, unknown>;
|
|
1208
|
+
rowsSortOrder?: string[];
|
|
1209
|
+
};
|
|
1210
|
+
type UpdateConfigurationInput<ComponentId extends string = string, ConfigData extends Record<string, unknown> = Record<string, unknown>> = ConfigurationPath<ComponentId> & UpdateConfigurationBody<ConfigData> & UpdateConfigurationSchemaQuery;
|
|
1211
|
+
type UpdateConfigurationResult<T extends ConfigType = 'unknown'> = {
|
|
1212
|
+
/** The updated configuration. This part of the write is complete. */
|
|
1213
|
+
configuration: ComponentConfig<T>;
|
|
1214
|
+
/**
|
|
1215
|
+
* The output-mapping sync job `workspaceId` enqueued, to poll via `jobs.getJob`.
|
|
1216
|
+
*
|
|
1217
|
+
* - `null` whenever no `workspaceId` was sent.
|
|
1218
|
+
* - `null` for components outside Storage's sync allow-list, which ignore `workspaceId`.
|
|
1219
|
+
*/
|
|
1220
|
+
syncJobId: number | null;
|
|
1221
|
+
};
|
|
1222
|
+
type DeleteConfigurationInput = Required<ConfigurationPath> & {
|
|
1223
|
+
/**
|
|
1224
|
+
* Configuration `version` the delete was decided on, sent as the `If-Match` precondition:
|
|
1225
|
+
* Storage answers 412 when the configuration has moved on since it was read.
|
|
1226
|
+
*/
|
|
1227
|
+
expectedVersion?: number;
|
|
1228
|
+
};
|
|
1229
|
+
type PurgeConfigurationInput = ConfigurationPath & {
|
|
1230
|
+
/** Configuration `version` to purge, from the trash listing. Storage answers 428 without it. */
|
|
1231
|
+
expectedVersion: number;
|
|
1232
|
+
};
|
|
1233
|
+
/** One `concurrent` fan-out over the whole trash, whatever component each configuration belongs to. */
|
|
1234
|
+
type PurgeConfigurationsInput = Pick<ConfigurationPath, 'branchId'> & {
|
|
1235
|
+
configs: {
|
|
1236
|
+
componentId: string;
|
|
1237
|
+
configId: string;
|
|
1238
|
+
expectedVersion: number;
|
|
1239
|
+
}[];
|
|
1240
|
+
};
|
|
1241
|
+
type UpdateConfigurationStateBody = {
|
|
1242
|
+
state?: string | Record<string, unknown>;
|
|
1243
|
+
};
|
|
1244
|
+
type UpdateConfigurationStateInput<ComponentId extends string = string> = ConfigurationPath<ComponentId> & UpdateConfigurationStateBody;
|
|
1245
|
+
type ConfigurationCurrentVersion = {
|
|
1246
|
+
created: string;
|
|
1247
|
+
creatorToken: CreatorToken;
|
|
1248
|
+
changeDescription: string;
|
|
1249
|
+
versionIdentifier: string;
|
|
1250
|
+
};
|
|
1251
|
+
type BaseComponentConfig<ConfigData extends Record<string, unknown> = Record<string, unknown>> = {
|
|
1252
|
+
id: string;
|
|
1253
|
+
name: string;
|
|
1254
|
+
description: string;
|
|
1255
|
+
created: string;
|
|
1256
|
+
creatorToken: CreatorToken;
|
|
1257
|
+
changeDescription: string;
|
|
1258
|
+
isDisabled: boolean;
|
|
1259
|
+
isDeleted: boolean;
|
|
1260
|
+
version: number;
|
|
1261
|
+
currentVersion: ConfigurationCurrentVersion;
|
|
1262
|
+
rowsSortOrder: string[];
|
|
1263
|
+
isSample?: boolean;
|
|
1264
|
+
configuration?: ConfigData;
|
|
1265
|
+
state: Record<string, unknown>;
|
|
1266
|
+
rows: Row[];
|
|
1267
|
+
};
|
|
1268
|
+
type DataAppConfigConfiguration = {
|
|
1269
|
+
authorization?: {
|
|
1270
|
+
app_proxy: {
|
|
1271
|
+
auth_providers: {
|
|
1272
|
+
id: string;
|
|
1273
|
+
type: string;
|
|
1274
|
+
}[];
|
|
1275
|
+
auth_rules: {
|
|
1276
|
+
type: string;
|
|
1277
|
+
value: string;
|
|
1278
|
+
auth_required: boolean;
|
|
1279
|
+
auth: string[];
|
|
1280
|
+
}[];
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
parameters?: {
|
|
1284
|
+
id: string;
|
|
1285
|
+
autoSuspendAfterSeconds: number;
|
|
1286
|
+
size: string;
|
|
1287
|
+
script?: string[];
|
|
1288
|
+
packages?: string[];
|
|
1289
|
+
dataApp?: {
|
|
1290
|
+
slug?: string;
|
|
1291
|
+
secrets?: Record<string, string>;
|
|
1292
|
+
streamlit?: {
|
|
1293
|
+
'config.toml': string;
|
|
1294
|
+
};
|
|
1295
|
+
streamlitAuthEnabled?: boolean;
|
|
1296
|
+
freezeDependencies?: boolean;
|
|
1297
|
+
};
|
|
1298
|
+
};
|
|
1299
|
+
};
|
|
1300
|
+
type DataAppConfigState = {
|
|
1301
|
+
component?: unknown[];
|
|
1302
|
+
storage?: {
|
|
1303
|
+
input: {
|
|
1304
|
+
tables: unknown[];
|
|
1305
|
+
files: unknown[];
|
|
1306
|
+
};
|
|
1307
|
+
};
|
|
1308
|
+
data_app?: {
|
|
1309
|
+
'requirements.txt': string;
|
|
1310
|
+
};
|
|
1311
|
+
};
|
|
1312
|
+
type DataAppConfig = Omit<BaseComponentConfig, 'configuration' | 'state'> & {
|
|
1313
|
+
configuration: DataAppConfigConfiguration;
|
|
1314
|
+
state: DataAppConfigState;
|
|
1315
|
+
};
|
|
1316
|
+
type WrDbConfig = BaseComponentConfig & {
|
|
1317
|
+
configuration: {
|
|
1318
|
+
parameters: {
|
|
1319
|
+
db?: Omit<Partial<WorkspaceConnection>, 'backend'> & {
|
|
1320
|
+
driver: string;
|
|
1321
|
+
workspaceId?: number;
|
|
1322
|
+
};
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
rows: WrDbRow[];
|
|
1326
|
+
};
|
|
1327
|
+
type DevBranchId = number | `${number}`;
|
|
1328
|
+
type ConfigurationDiffPath = {
|
|
1329
|
+
branchId: DevBranchId;
|
|
1330
|
+
componentId: string;
|
|
1331
|
+
configId: string;
|
|
1332
|
+
};
|
|
1333
|
+
type ConfigurationDiffSideContent = {
|
|
1334
|
+
name: string;
|
|
1335
|
+
description: string;
|
|
1336
|
+
changeDescription: string;
|
|
1337
|
+
isDisabled: boolean;
|
|
1338
|
+
configuration: Record<string, unknown>;
|
|
1339
|
+
};
|
|
1340
|
+
type ConfigurationDiffRow = {
|
|
1341
|
+
id: string;
|
|
1342
|
+
name: string;
|
|
1343
|
+
description: string;
|
|
1344
|
+
isDisabled: boolean;
|
|
1345
|
+
configuration: Record<string, unknown>;
|
|
1346
|
+
};
|
|
1347
|
+
type ConfigurationDiffContent = ConfigurationDiffSideContent & {
|
|
1348
|
+
rows: ConfigurationDiffRow[];
|
|
1349
|
+
};
|
|
1350
|
+
type ConfigurationDiffSide = {
|
|
1351
|
+
version: number;
|
|
1352
|
+
isDeleted: boolean;
|
|
1353
|
+
diff: ConfigurationDiffContent;
|
|
1354
|
+
};
|
|
1355
|
+
type ConfigurationDiff = {
|
|
1356
|
+
base: ConfigurationDiffSide | null;
|
|
1357
|
+
ours: ConfigurationDiffSide | null;
|
|
1358
|
+
theirs: ConfigurationDiffSide | null;
|
|
1359
|
+
};
|
|
1360
|
+
type RebaseConfigurationPath = ConfigurationDiffPath;
|
|
1361
|
+
type RebaseConfigurationRow = {
|
|
1362
|
+
/** Omit to have the backend create a row with a generated id. */
|
|
1363
|
+
id?: string;
|
|
1364
|
+
name: string;
|
|
1365
|
+
description: string;
|
|
1366
|
+
isDisabled: boolean;
|
|
1367
|
+
configuration: Record<string, unknown>;
|
|
1368
|
+
};
|
|
1369
|
+
type RebaseConfigurationDiff = {
|
|
1370
|
+
/** Resolved configuration name (head). Required — a configuration always has a name. */
|
|
1371
|
+
name: string;
|
|
1372
|
+
/** Resolved configuration description (head, the 3-way diff result). */
|
|
1373
|
+
description?: string;
|
|
1374
|
+
/** Resolved configuration body (head, the 3-way diff result). */
|
|
1375
|
+
configuration?: Record<string, unknown>;
|
|
1376
|
+
/** Change description for the resolved head version. Defaults to a backend rebase message. */
|
|
1377
|
+
changeDescription?: string;
|
|
1378
|
+
/** Resolved disabled flag (head, the 3-way diff result). Defaults to false. */
|
|
1379
|
+
isDisabled?: boolean;
|
|
1380
|
+
/**
|
|
1381
|
+
* Complete resolved row set (the diff's `diff.rows` sent back). Required for a
|
|
1382
|
+
* keep rebase; `[]` deletes all rows. Array order = row sort order. Row `id`
|
|
1383
|
+
* drives reconciliation: id in base → update, id absent from base or missing
|
|
1384
|
+
* → create, base row whose id is absent from the request → delete.
|
|
1385
|
+
*/
|
|
1386
|
+
rows: RebaseConfigurationRow[];
|
|
1387
|
+
};
|
|
1388
|
+
type RebaseConfigurationBody = {
|
|
1389
|
+
/** Default-branch version to rebase the dev branch onto. */
|
|
1390
|
+
version: number;
|
|
1391
|
+
/**
|
|
1392
|
+
* Resolved configuration content (the 3-way diff result) wrapped in the same
|
|
1393
|
+
* envelope the /diff endpoint returns its sides in. The API also accepts an
|
|
1394
|
+
* empty `diff` (`{}` or an empty string) to resolve the conflict by deleting
|
|
1395
|
+
* the configuration — expressed through `rebaseConfigurationToDeleted`, never
|
|
1396
|
+
* by widening this type (a keep rebase must not silently become a delete).
|
|
1397
|
+
*/
|
|
1398
|
+
diff: RebaseConfigurationDiff;
|
|
1399
|
+
};
|
|
1400
|
+
type RebaseConfigurationInput = RebaseConfigurationPath & RebaseConfigurationBody;
|
|
1401
|
+
type RebaseConfigurationToDeletedInput = RebaseConfigurationPath & Pick<RebaseConfigurationBody, 'version'>;
|
|
1402
|
+
type ConfigType = 'data-app' | 'wr-db' | 'unknown';
|
|
1403
|
+
type ComponentConfig<T extends ConfigType = 'unknown'> = T extends 'data-app' ? DataAppConfig : T extends 'wr-db' ? WrDbConfig : BaseComponentConfig;
|
|
1404
|
+
type SearchComponentConfigurationsQuery = {
|
|
1405
|
+
/**
|
|
1406
|
+
* The API's field name, per the spec and what kbc-ui's legacy client sends in production. This
|
|
1407
|
+
* used to be `componentId`, which Storage rejects with "This field was not expected" — the live
|
|
1408
|
+
* nightly caught it, so the previous divergence from the spec was a bug, not a deliberate choice.
|
|
1409
|
+
*/
|
|
1410
|
+
idComponent?: string | null;
|
|
1411
|
+
configurationId?: string | null;
|
|
1412
|
+
/** Comma-joined by the client, which is how the spec types it (`include?: string`). */
|
|
1413
|
+
include?: 'filteredMetadata'[];
|
|
1414
|
+
metadataKeys?: string[];
|
|
1415
|
+
};
|
|
1416
|
+
type SearchComponentConfigurationsInput = GetSearchComponentConfigurationsPath & SearchComponentConfigurationsQuery;
|
|
1417
|
+
type SearchComponentConfiguration = {
|
|
1418
|
+
configurationId: string;
|
|
1419
|
+
idComponent: string;
|
|
1420
|
+
metadata?: {
|
|
1421
|
+
id: string;
|
|
1422
|
+
key: string;
|
|
1423
|
+
timestamp: string;
|
|
1424
|
+
value: string;
|
|
1425
|
+
}[];
|
|
1426
|
+
};
|
|
1427
|
+
//#endregion
|
|
1428
|
+
//#region src/clients/storage/components/types.d.ts
|
|
1429
|
+
type GetComponentSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}']['get']>;
|
|
1430
|
+
type GetComponentsSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components']['get']>;
|
|
1431
|
+
type GetComponentsSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/components']['get']>;
|
|
1432
|
+
type BranchId$1 = number | string | 'default';
|
|
1433
|
+
type GetComponentsPath = {
|
|
1434
|
+
branchId?: BranchId$1;
|
|
1435
|
+
};
|
|
1436
|
+
type GetComponentPath = Omit<GetComponentSchemaPath, 'branchId'> & {
|
|
1437
|
+
branchId?: BranchId$1;
|
|
1438
|
+
};
|
|
1439
|
+
type GetComponentsQuery = Pick<GetComponentsSchemaQuery, 'componentType'> & {
|
|
1440
|
+
include?: ('configuration' | 'rows' | 'state')[];
|
|
1441
|
+
isDeleted?: boolean;
|
|
1442
|
+
};
|
|
1443
|
+
type GetComponentsInput = GetComponentsPath & GetComponentsQuery;
|
|
1444
|
+
type ComponentDefinition = {
|
|
1445
|
+
type: string;
|
|
1446
|
+
uri: string;
|
|
1447
|
+
tag?: string;
|
|
1448
|
+
digest?: string;
|
|
1449
|
+
};
|
|
1450
|
+
type ComponentVendor = {
|
|
1451
|
+
contact?: string[];
|
|
1452
|
+
licenseUrl?: string;
|
|
1453
|
+
};
|
|
1454
|
+
type ComponentLogging = {
|
|
1455
|
+
verbosity?: Record<string, string>;
|
|
1456
|
+
gelf_server_type?: string;
|
|
1457
|
+
type?: string;
|
|
1458
|
+
};
|
|
1459
|
+
type ComponentStagingStorage = {
|
|
1460
|
+
input: string;
|
|
1461
|
+
output: string;
|
|
1462
|
+
};
|
|
1463
|
+
type ComponentData = {
|
|
1464
|
+
configuration_format?: string;
|
|
1465
|
+
default_bucket?: boolean;
|
|
1466
|
+
default_bucket_stage?: string;
|
|
1467
|
+
definition?: ComponentDefinition;
|
|
1468
|
+
forward_token?: boolean;
|
|
1469
|
+
forward_token_details?: boolean;
|
|
1470
|
+
logging?: ComponentLogging;
|
|
1471
|
+
network?: string;
|
|
1472
|
+
staging_storage?: ComponentStagingStorage;
|
|
1473
|
+
vendor?: ComponentVendor;
|
|
1474
|
+
};
|
|
1475
|
+
type ComponentDataTypesConfiguration = {
|
|
1476
|
+
dataTypesSupport: 'none' | 'hints' | 'authoritative';
|
|
1477
|
+
};
|
|
1478
|
+
type ComponentProcessorConfiguration = {
|
|
1479
|
+
allowedProcessorPosition: 'before' | 'after' | 'any';
|
|
1480
|
+
};
|
|
1481
|
+
type Component = StackComponent & {
|
|
1482
|
+
longDescription?: string;
|
|
1483
|
+
version: number;
|
|
1484
|
+
complexity?: string | null;
|
|
1485
|
+
hasUI: boolean;
|
|
1486
|
+
hasRun: boolean;
|
|
1487
|
+
ico32?: string;
|
|
1488
|
+
data: ComponentData;
|
|
1489
|
+
configurationSchema?: Record<string, unknown>;
|
|
1490
|
+
configurationRowSchema?: Record<string, unknown>;
|
|
1491
|
+
emptyConfiguration?: Record<string, unknown>;
|
|
1492
|
+
emptyConfigurationRow?: Record<string, unknown>;
|
|
1493
|
+
createConfigurationRowSchema?: Record<string, unknown>;
|
|
1494
|
+
uiOptions?: Record<string, unknown>;
|
|
1495
|
+
configurationDescription?: string;
|
|
1496
|
+
expiredOn?: string | null;
|
|
1497
|
+
dataTypesConfiguration?: ComponentDataTypesConfiguration;
|
|
1498
|
+
processorConfiguration?: ComponentProcessorConfiguration;
|
|
1499
|
+
uri: string;
|
|
1500
|
+
documentationUrl?: string;
|
|
1501
|
+
configurations?: ComponentConfig[];
|
|
1502
|
+
};
|
|
1503
|
+
//#endregion
|
|
1504
|
+
//#region src/clients/storage/configurationWorkspaces/types.d.ts
|
|
1505
|
+
type GetConfigurationWorkspacesPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/workspaces']['get']>;
|
|
1506
|
+
type CreateConfigurationWorkspacePath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/workspaces']['post']>;
|
|
1507
|
+
type CreateConfigurationWorkspaceSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/workspaces']['post']>;
|
|
1508
|
+
type BackendType = Exclude<NonNullable<CreateConfigurationWorkspaceSchemaBody['backend']>, 'abs'>;
|
|
1509
|
+
type LoginType = NonNullable<CreateConfigurationWorkspaceSchemaBody['loginType']>;
|
|
1510
|
+
type ConfigurationUseCaseType = NonNullable<CreateConfigurationWorkspaceSchemaBody['useCase']>;
|
|
1511
|
+
type CreateConfigurationWorkspaceBody = Omit<CreateConfigurationWorkspaceSchemaBody, 'backend' | 'readOnlyStorageAccess' | 'useCase'> & {
|
|
1512
|
+
backend: BackendType;
|
|
1513
|
+
readOnlyStorageAccess: boolean;
|
|
1514
|
+
useCase: ConfigurationUseCaseType;
|
|
1515
|
+
};
|
|
1516
|
+
type CreateConfigurationWorkspaceInput = CreateConfigurationWorkspacePath & CreateConfigurationWorkspaceBody;
|
|
1517
|
+
//#endregion
|
|
1518
|
+
//#region src/clients/storage/configurationMetadata/types.d.ts
|
|
1519
|
+
type GetConfigurationMetadataPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/metadata']['get']>;
|
|
1520
|
+
type SaveConfigurationMetadataPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/metadata']['post']>;
|
|
1521
|
+
type SaveConfigurationMetadataSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/metadata']['post']>;
|
|
1522
|
+
type DeleteConfigurationMetadataPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/metadata/{metadataId}']['delete']>;
|
|
1523
|
+
type ConfigurationMetadataItem = {
|
|
1524
|
+
id: string;
|
|
1525
|
+
key: string;
|
|
1526
|
+
value: string;
|
|
1527
|
+
timestamp: string;
|
|
1528
|
+
};
|
|
1529
|
+
type SaveConfigurationMetadataBody = {
|
|
1530
|
+
metadata: {
|
|
1531
|
+
key: string;
|
|
1532
|
+
value: string;
|
|
1533
|
+
}[];
|
|
1534
|
+
};
|
|
1535
|
+
type SaveConfigurationMetadataInput = SaveConfigurationMetadataPath & SaveConfigurationMetadataBody;
|
|
1536
|
+
type DeleteConfigurationMetadataInput = DeleteConfigurationMetadataPath;
|
|
1537
|
+
type GetConfigurationMetadataInput = GetConfigurationMetadataPath;
|
|
1538
|
+
//#endregion
|
|
1539
|
+
//#region src/clients/storage/configurationVersions/types.d.ts
|
|
1540
|
+
type ConfigurationVersionsSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/versions']['get']>;
|
|
1541
|
+
type ConfigurationVersionSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/versions/{versionId}']['get']>;
|
|
1542
|
+
type CopyConfigurationFromVersionSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/versions/{versionId}/create']['post']>;
|
|
1543
|
+
type RollbackConfigurationToVersionSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/versions/{versionId}/rollback']['post']>;
|
|
1544
|
+
type ConfigurationRowVersionsSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/versions']['get']>;
|
|
1545
|
+
type ConfigurationRowVersionSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/versions/{versionId}']['get']>;
|
|
1546
|
+
type CopyConfigurationRowFromVersionSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/versions/{versionId}/create']['post']>;
|
|
1547
|
+
type RollbackConfigurationRowToVersionSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/versions/{versionId}/rollback']['post']>;
|
|
1548
|
+
type BranchId = number | string | 'default';
|
|
1549
|
+
type VersionId = number | string;
|
|
1550
|
+
type ConfigurationVersionPath = Omit<ConfigurationVersionsSchemaPath, 'branchId'> & {
|
|
1551
|
+
branchId: BranchId;
|
|
1552
|
+
};
|
|
1553
|
+
type ConfigurationVersionDetailPath = Omit<ConfigurationVersionSchemaPath, 'branchId' | 'versionId'> & {
|
|
1554
|
+
branchId: BranchId;
|
|
1555
|
+
versionId: VersionId;
|
|
1556
|
+
};
|
|
1557
|
+
/** Roll a configuration back to one of its versions. Takes no request body. */
|
|
1558
|
+
type RollbackConfigurationToVersionInput = Omit<ConfigurationVersionSchemaPath, 'branchId' | 'versionId'> & {
|
|
1559
|
+
branchId?: BranchId;
|
|
1560
|
+
versionId: VersionId;
|
|
1561
|
+
};
|
|
1562
|
+
type CopyConfigurationFromVersionPath = RollbackConfigurationToVersionInput;
|
|
1563
|
+
type CopyConfigurationFromVersionBody = {
|
|
1564
|
+
name: string;
|
|
1565
|
+
description?: string;
|
|
1566
|
+
};
|
|
1567
|
+
type CopyConfigurationFromVersionInput = CopyConfigurationFromVersionPath & CopyConfigurationFromVersionBody;
|
|
1568
|
+
type ConfigurationVersion = {
|
|
1569
|
+
version: number;
|
|
1570
|
+
created: string;
|
|
1571
|
+
creatorToken: CreatorToken;
|
|
1572
|
+
changeDescription: string;
|
|
1573
|
+
name: string;
|
|
1574
|
+
description: string;
|
|
1575
|
+
versionIdentifier: string;
|
|
1576
|
+
};
|
|
1577
|
+
/**
|
|
1578
|
+
* What the rollback endpoint answers with — only the new version number, and as a **string**, unlike
|
|
1579
|
+
* the `number` the same field carries on `ConfigurationVersion`. The inconsistency is the API's; it is
|
|
1580
|
+
* mirrored here rather than hidden, and the nightly smoke pins the string-ness.
|
|
1581
|
+
*/
|
|
1582
|
+
type RollbackConfigurationToVersionResult = {
|
|
1583
|
+
version: string;
|
|
1584
|
+
};
|
|
1585
|
+
/** What the copy endpoint answers with — only the new configuration's id. */
|
|
1586
|
+
type CopyConfigurationFromVersionResult = {
|
|
1587
|
+
id: string;
|
|
1588
|
+
};
|
|
1589
|
+
type ConfigurationVersionDetail = ConfigurationVersion & {
|
|
1590
|
+
configuration: Record<string, unknown>;
|
|
1591
|
+
state: Record<string, unknown>;
|
|
1592
|
+
rowsSortOrder: string[];
|
|
1593
|
+
rows: {
|
|
1594
|
+
id: string;
|
|
1595
|
+
version: number;
|
|
1596
|
+
name: string;
|
|
1597
|
+
description: string;
|
|
1598
|
+
isDisabled: boolean;
|
|
1599
|
+
configuration: Record<string, unknown>;
|
|
1600
|
+
state: Record<string, unknown>;
|
|
1601
|
+
}[];
|
|
1602
|
+
};
|
|
1603
|
+
type ConfigurationRowVersionPath = Omit<ConfigurationRowVersionsSchemaPath, 'branchId'> & {
|
|
1604
|
+
branchId: BranchId;
|
|
1605
|
+
};
|
|
1606
|
+
type ConfigurationRowVersionDetailPath = Omit<ConfigurationRowVersionSchemaPath, 'branchId' | 'versionId'> & {
|
|
1607
|
+
branchId: BranchId;
|
|
1608
|
+
versionId: VersionId;
|
|
1609
|
+
};
|
|
1610
|
+
/** Roll a configuration row back to one of its versions. Takes no request body. */
|
|
1611
|
+
type RollbackConfigurationRowToVersionInput = Omit<ConfigurationRowVersionSchemaPath, 'branchId' | 'versionId'> & {
|
|
1612
|
+
branchId?: BranchId;
|
|
1613
|
+
versionId: VersionId;
|
|
1614
|
+
};
|
|
1615
|
+
type CopyConfigurationRowFromVersionInput = Omit<ConfigurationRowVersionSchemaPath, 'branchId' | 'versionId'> & {
|
|
1616
|
+
branchId?: BranchId;
|
|
1617
|
+
versionId: VersionId;
|
|
1618
|
+
};
|
|
1619
|
+
type ConfigurationRowVersion = {
|
|
1620
|
+
version: number;
|
|
1621
|
+
created: string;
|
|
1622
|
+
creatorToken: CreatorToken;
|
|
1623
|
+
changeDescription: string;
|
|
1624
|
+
name: string;
|
|
1625
|
+
description: string;
|
|
1626
|
+
isDisabled: boolean;
|
|
1627
|
+
versionIdentifier: string;
|
|
1628
|
+
};
|
|
1629
|
+
type ConfigurationRowVersionDetail = ConfigurationRowVersion & {
|
|
1630
|
+
id: string;
|
|
1631
|
+
configuration: Record<string, unknown>;
|
|
1632
|
+
state: Record<string, unknown>;
|
|
1633
|
+
};
|
|
1634
|
+
//#endregion
|
|
1635
|
+
//#region src/clients/storage/mergeRequests/types.d.ts
|
|
1636
|
+
/**
|
|
1637
|
+
* Both bodies are the spec's, with everything the API can default made optional.
|
|
1638
|
+
*
|
|
1639
|
+
* - The spec declares each field required and nullable; the API defaults an absent one.
|
|
1640
|
+
* - Sending an explicit `null` is not the same request as omitting the key.
|
|
1641
|
+
*/
|
|
1642
|
+
type CreateMergeRequestSchemaBody = OpenapiBodyType<paths['/v2/storage/merge-request']['post']>;
|
|
1643
|
+
type CreateMergeRequestBody = Pick<CreateMergeRequestSchemaBody, 'branchFromId' | 'branchIntoId' | 'title'> & Partial<Omit<CreateMergeRequestSchemaBody, 'branchFromId' | 'branchIntoId' | 'title'>>;
|
|
1644
|
+
type UpdateMergeRequestSchemaBody = OpenapiBodyType<paths['/v2/storage/merge-request/{id}']['put']>;
|
|
1645
|
+
type UpdateMergeRequestBody = Partial<UpdateMergeRequestSchemaBody>;
|
|
1646
|
+
type UpdateMergeRequestInput = {
|
|
1647
|
+
id: number;
|
|
1648
|
+
} & UpdateMergeRequestBody;
|
|
1649
|
+
type MergeRequest = OpenapiReturnType<paths['/v2/storage/merge-request']['get']>[number];
|
|
1650
|
+
type MergeRequestChangeLogEntry = {
|
|
1651
|
+
isDeleted: boolean;
|
|
1652
|
+
componentId: string;
|
|
1653
|
+
configurationId: string;
|
|
1654
|
+
lastVersionIdentifier?: string;
|
|
1655
|
+
};
|
|
1656
|
+
type MergeRequestChangeLog = {
|
|
1657
|
+
configurations: MergeRequestChangeLogEntry[];
|
|
1658
|
+
};
|
|
1659
|
+
type MergeRequestDetail = Omit<components['schemas']['MergeRequestWithChangeLogResponse'], 'changeLog'> & {
|
|
1660
|
+
changeLog?: MergeRequestChangeLog;
|
|
1661
|
+
};
|
|
1662
|
+
type MergeRequestReviewer = MergeRequest['reviewers'][number];
|
|
1663
|
+
type MergeRequestReviewerStatus = NonNullable<MergeRequestReviewer['status']>;
|
|
1664
|
+
type MergeRequestActivityLogEntry = NonNullable<components['schemas']['MergeRequestDetailResponse']['activityLog']>[number];
|
|
1665
|
+
type MergeRequestActivityEventType = MergeRequestActivityLogEntry['eventType'];
|
|
1666
|
+
type MergeRequestDetailWithActivityLog = MergeRequestDetail & {
|
|
1667
|
+
activityLog?: MergeRequestActivityLogEntry[];
|
|
1668
|
+
};
|
|
1669
|
+
type MergeRequestConflict = OpenapiReturnType<paths['/v2/storage/merge-request/{id}/conflicts']['get']>[number];
|
|
1670
|
+
//#endregion
|
|
1671
|
+
//#region src/clients/storage/jobs/types.d.ts
|
|
1672
|
+
/**
|
|
1673
|
+
* The statuses a storage job reports.
|
|
1674
|
+
*
|
|
1675
|
+
* - Terminal: `success` and `error`. There is no third outcome.
|
|
1676
|
+
* - `StorageJobStatus` in `connection` backs these with an integer 1–4 and its `fromString` throws
|
|
1677
|
+
* on anything else, so `created`, `terminating`, `terminated`, `cancelled` and `warning` are
|
|
1678
|
+
* unrepresentable on a storage job — they are the queue's.
|
|
1679
|
+
*/
|
|
1680
|
+
type StorageJobStatus = 'waiting' | 'processing' | 'error' | 'success';
|
|
1681
|
+
type JobOperation = 'bucketDelete' | 'bucketListingCreate' | 'bucketListingUpdate' | 'bucketListingDelete' | 'bucketShareToOrganization' | 'bucketShareToOrganizationProject' | 'bucketShareToProjects' | 'bucketShareToAdmins' | 'bucketRemoveShare' | 'bucketForceUnlink' | 'bucketLink' | 'bucketRegister' | 'bucketRefresh' | 'devBranchCreate' | 'devBranchDelete' | 'workspaceDrop' | 'workspaceCreate' | 'workspaceOutputMappingSync' | 'tableDefinitionCreate' | 'tableDefinitionUpdate' | 'tableCreate' | 'tableExport' | 'tableImport' | 'tableRowsDelete' | 'tableSnapshotCreate' | 'aliasCreate' | 'devBranchTablePull' | 'tableColumnAdd' | 'tableColumnDelete' | 'tablePrimaryKeyAdd' | 'tablePrimaryKeyDelete' | 'workspaceBatchDeleteObjects';
|
|
1682
|
+
type JobResult<SuccessData = unknown, ErrorData = null> = {
|
|
1683
|
+
status: 'success';
|
|
1684
|
+
results: SuccessData;
|
|
1685
|
+
} | {
|
|
1686
|
+
status: 'error';
|
|
1687
|
+
results: ErrorData;
|
|
1688
|
+
error: {
|
|
1689
|
+
code: string;
|
|
1690
|
+
message: string;
|
|
1691
|
+
exceptionId?: string;
|
|
1692
|
+
};
|
|
1693
|
+
} | {
|
|
1694
|
+
status: Exclude<StorageJobStatus, 'success' | 'error'>;
|
|
1695
|
+
results: null;
|
|
1696
|
+
};
|
|
1697
|
+
type JobBase<OperationName extends JobOperation | string = string, OperationValues extends Record<string, unknown> = Record<string, unknown>> = {
|
|
1698
|
+
id: number;
|
|
1699
|
+
tableId: string | null;
|
|
1700
|
+
runId: string;
|
|
1701
|
+
url: string;
|
|
1702
|
+
createdTime: string;
|
|
1703
|
+
creatorToken: {
|
|
1704
|
+
id: string;
|
|
1705
|
+
description: string;
|
|
1706
|
+
};
|
|
1707
|
+
endTime: string | null;
|
|
1708
|
+
startTime: string | null;
|
|
1709
|
+
operationName: OperationName;
|
|
1710
|
+
operationParams: {
|
|
1711
|
+
queue: string;
|
|
1712
|
+
} & OperationValues;
|
|
1713
|
+
metrics: {
|
|
1714
|
+
inCompressed: boolean;
|
|
1715
|
+
inBytes: number;
|
|
1716
|
+
inBytesUncompressed: number;
|
|
1717
|
+
outCompressed: boolean;
|
|
1718
|
+
outBytes: number;
|
|
1719
|
+
outBytesUncompressed: number;
|
|
1720
|
+
};
|
|
1721
|
+
};
|
|
1722
|
+
type StorageJob<OperationName extends JobOperation | string = string, SuccessData = unknown, OperationValues extends Record<string, unknown> = Record<string, unknown>, ErrorData = null> = JobBase<OperationName, OperationValues> & JobResult<SuccessData, ErrorData>;
|
|
1723
|
+
type CreateDevBranchJob = StorageJob<'devBranchCreate', DevBranch, {
|
|
1724
|
+
values: {
|
|
1725
|
+
name: string;
|
|
1726
|
+
description: string;
|
|
1727
|
+
};
|
|
1728
|
+
}>;
|
|
1729
|
+
type DeleteDevBranchJob = StorageJob<'devBranchDelete', null, {
|
|
1730
|
+
values: {
|
|
1731
|
+
id: number;
|
|
1732
|
+
};
|
|
1733
|
+
}>;
|
|
1734
|
+
type WorkspaceOutputMappingSyncJob = StorageJob<'workspaceOutputMappingSync', unknown, {
|
|
1735
|
+
workspaceId: number;
|
|
1736
|
+
targetConfigurationVersion: number;
|
|
1737
|
+
}>;
|
|
1738
|
+
type CreateWorkspaceJob = StorageJob<'workspaceCreate', Workspace, {
|
|
1739
|
+
backend: string;
|
|
1740
|
+
backendConfiguration: [];
|
|
1741
|
+
backendSize: null;
|
|
1742
|
+
branchId: number;
|
|
1743
|
+
componentId: string;
|
|
1744
|
+
configurationId: string;
|
|
1745
|
+
loginType: number;
|
|
1746
|
+
networkPolicy: string;
|
|
1747
|
+
publicKey: string;
|
|
1748
|
+
readOnlyStorageAccess: boolean;
|
|
1749
|
+
useCase: ConfigurationUseCaseType;
|
|
1750
|
+
}>;
|
|
1751
|
+
type WorkspaceDropJob = StorageJob<'workspaceDrop', null, {
|
|
1752
|
+
workspaceId: string;
|
|
1753
|
+
backendConfiguration: [];
|
|
1754
|
+
}>;
|
|
1755
|
+
type TableDefinitionCreateJob = StorageJob<'tableDefinitionCreate', Table, {
|
|
1756
|
+
timestampType: string;
|
|
1757
|
+
primaryKeysNames: string[];
|
|
1758
|
+
name: string;
|
|
1759
|
+
backendConfiguration: unknown[];
|
|
1760
|
+
columns: unknown[];
|
|
1761
|
+
}>;
|
|
1762
|
+
type TableDefinitionUpdateJob = StorageJob<'tableDefinitionUpdate', Table, {
|
|
1763
|
+
tableId: string;
|
|
1764
|
+
displayName: string;
|
|
1765
|
+
description?: string | null;
|
|
1766
|
+
columns: unknown[];
|
|
1767
|
+
}>;
|
|
1768
|
+
type TableCreateJob = StorageJob<'tableCreate', Table, {
|
|
1769
|
+
id: string;
|
|
1770
|
+
}>;
|
|
1771
|
+
type TableExportJob = StorageJob<'tableExport', {
|
|
1772
|
+
file: {
|
|
1773
|
+
id: number;
|
|
1774
|
+
};
|
|
1775
|
+
}, {
|
|
1776
|
+
id: string;
|
|
1777
|
+
}>;
|
|
1778
|
+
type TableImportJob = StorageJob<'tableImport', Table, {
|
|
1779
|
+
id: string;
|
|
1780
|
+
}>;
|
|
1781
|
+
type DeleteTableRowsJob = StorageJob<'tableRowsDelete', {
|
|
1782
|
+
deletedRows: number;
|
|
1783
|
+
}, {
|
|
1784
|
+
id: string;
|
|
1785
|
+
}>;
|
|
1786
|
+
type CreateSnapshotJob = StorageJob<'tableSnapshotCreate', null, {
|
|
1787
|
+
id: string;
|
|
1788
|
+
}>;
|
|
1789
|
+
type PullTableJob = StorageJob<'devBranchTablePull', null, {
|
|
1790
|
+
id: string;
|
|
1791
|
+
}>;
|
|
1792
|
+
type AddTableColumnJob = StorageJob<'tableColumnAdd', null, {
|
|
1793
|
+
id: string;
|
|
1794
|
+
}>;
|
|
1795
|
+
type DeleteTableColumnJob = StorageJob<'tableColumnDelete', null, {
|
|
1796
|
+
id: string;
|
|
1797
|
+
}>;
|
|
1798
|
+
type CreateTablePrimaryKeyJob = StorageJob<'tablePrimaryKeyAdd', null, {
|
|
1799
|
+
id: string;
|
|
1800
|
+
}>;
|
|
1801
|
+
type RemoveTablePrimaryKeyJob = StorageJob<'tablePrimaryKeyDelete', null, {
|
|
1802
|
+
id: string;
|
|
1803
|
+
}>;
|
|
1804
|
+
type CreateAliasJob = StorageJob<'aliasCreate', null, {
|
|
1805
|
+
name: string;
|
|
1806
|
+
sourceTable: string;
|
|
1807
|
+
}>;
|
|
1808
|
+
type DeleteBucketJob = StorageJob<'bucketDelete', null, {
|
|
1809
|
+
id: string;
|
|
1810
|
+
}>;
|
|
1811
|
+
type BucketListingCreateJob = StorageJob<'bucketListingCreate', null, {
|
|
1812
|
+
bucketId: string;
|
|
1813
|
+
}>;
|
|
1814
|
+
type BucketListingUpdateJob = StorageJob<'bucketListingUpdate', null, {
|
|
1815
|
+
bucketId: string;
|
|
1816
|
+
}>;
|
|
1817
|
+
type BucketListingDeleteJob = StorageJob<'bucketListingDelete', null, {
|
|
1818
|
+
bucketId: string;
|
|
1819
|
+
}>;
|
|
1820
|
+
type ShareBucketToOrganizationJob = StorageJob<'bucketShareToOrganization', null>;
|
|
1821
|
+
type ShareBucketToOrganizationProjectJob = StorageJob<'bucketShareToOrganizationProject', null>;
|
|
1822
|
+
type ShareBucketToProjectsJob = StorageJob<'bucketShareToProjects', null>;
|
|
1823
|
+
type ShareBucketToAdminsJob = StorageJob<'bucketShareToAdmins', null>;
|
|
1824
|
+
type RemoveBucketShareJob = StorageJob<'bucketRemoveShare', null>;
|
|
1825
|
+
type ForceUnlinkBucketJob = StorageJob<'bucketForceUnlink', null>;
|
|
1826
|
+
type LinkBucketJob = StorageJob<'bucketLink', BucketDetail>;
|
|
1827
|
+
type ExternalBucketWarning = {
|
|
1828
|
+
message: string;
|
|
1829
|
+
};
|
|
1830
|
+
type RegisterBucketJob = StorageJob<'bucketRegister', {
|
|
1831
|
+
id: string;
|
|
1832
|
+
warnings?: ExternalBucketWarning[];
|
|
1833
|
+
}>;
|
|
1834
|
+
type RefreshBucketJob = StorageJob<'bucketRefresh', {
|
|
1835
|
+
warnings?: ExternalBucketWarning[];
|
|
1836
|
+
}>;
|
|
1837
|
+
type WorkspaceBatchDeleteObjectResult = {
|
|
1838
|
+
deleted: {
|
|
1839
|
+
objectName: string;
|
|
1840
|
+
}[];
|
|
1841
|
+
failed: {
|
|
1842
|
+
objectName: string;
|
|
1843
|
+
error: string;
|
|
1844
|
+
}[];
|
|
1845
|
+
};
|
|
1846
|
+
type DeleteWorkspaceObjectsJob = StorageJob<'workspaceBatchDeleteObjects', WorkspaceBatchDeleteObjectResult, {
|
|
1847
|
+
workspaceId: string;
|
|
1848
|
+
objects: string[];
|
|
1849
|
+
}, WorkspaceBatchDeleteObjectResult>;
|
|
1850
|
+
type GetJobPath = Omit<OpenapiPathType<paths['/v2/storage/jobs/{jobId}']['get']>, 'jobId'> & {
|
|
1851
|
+
jobId: number;
|
|
1852
|
+
};
|
|
1853
|
+
type JobUnion = CreateDevBranchJob | DeleteDevBranchJob | DeleteBucketJob | BucketListingCreateJob | BucketListingUpdateJob | BucketListingDeleteJob | ShareBucketToOrganizationJob | ShareBucketToOrganizationProjectJob | ShareBucketToProjectsJob | ShareBucketToAdminsJob | RemoveBucketShareJob | ForceUnlinkBucketJob | LinkBucketJob | RegisterBucketJob | RefreshBucketJob | WorkspaceDropJob | CreateWorkspaceJob | TableDefinitionCreateJob | TableDefinitionUpdateJob | TableCreateJob | TableExportJob | TableImportJob | DeleteTableRowsJob | CreateSnapshotJob | PullTableJob | AddTableColumnJob | DeleteTableColumnJob | CreateTablePrimaryKeyJob | RemoveTablePrimaryKeyJob | CreateAliasJob | DeleteWorkspaceObjectsJob;
|
|
1854
|
+
type GetJobsSchemaQuery = OpenapiQueryType<paths['/v2/storage/jobs']['get']>;
|
|
1855
|
+
/**
|
|
1856
|
+
* The list filters, deriving every one the spec names as a caller passes it.
|
|
1857
|
+
*
|
|
1858
|
+
* - Only the two repeatable filters are re-declared: the spec names them `storage_job_status[]` and
|
|
1859
|
+
* `excluded_storage_job_status[]`, where the brackets are the serializer's job (`queryArrayFormat`)
|
|
1860
|
+
* rather than the caller's.
|
|
1861
|
+
* - Both narrow to `StorageJobStatus[]`, where the spec widens to `string[]`.
|
|
1862
|
+
* - `StorageJobsListStatusFilter` in connection matches these against a column holding 1-4, so a
|
|
1863
|
+
* status from another service would filter on a value that cannot be stored.
|
|
1864
|
+
*/
|
|
1865
|
+
type GetJobsQuery = Omit<NonNullable<GetJobsSchemaQuery>, 'storage_job_status[]' | 'excluded_storage_job_status[]'> & {
|
|
1866
|
+
storage_job_status?: StorageJobStatus[];
|
|
1867
|
+
excluded_storage_job_status?: StorageJobStatus[];
|
|
1868
|
+
};
|
|
1869
|
+
type JobByOperation = {
|
|
1870
|
+
bucketDelete: DeleteBucketJob;
|
|
1871
|
+
bucketListingCreate: BucketListingCreateJob;
|
|
1872
|
+
bucketListingUpdate: BucketListingUpdateJob;
|
|
1873
|
+
bucketListingDelete: BucketListingDeleteJob;
|
|
1874
|
+
bucketShareToOrganization: ShareBucketToOrganizationJob;
|
|
1875
|
+
bucketShareToOrganizationProject: ShareBucketToOrganizationProjectJob;
|
|
1876
|
+
bucketShareToProjects: ShareBucketToProjectsJob;
|
|
1877
|
+
bucketShareToAdmins: ShareBucketToAdminsJob;
|
|
1878
|
+
bucketRemoveShare: RemoveBucketShareJob;
|
|
1879
|
+
bucketForceUnlink: ForceUnlinkBucketJob;
|
|
1880
|
+
bucketLink: LinkBucketJob;
|
|
1881
|
+
bucketRegister: RegisterBucketJob;
|
|
1882
|
+
bucketRefresh: RefreshBucketJob;
|
|
1883
|
+
devBranchCreate: CreateDevBranchJob;
|
|
1884
|
+
devBranchDelete: DeleteDevBranchJob;
|
|
1885
|
+
workspaceDrop: WorkspaceDropJob;
|
|
1886
|
+
workspaceCreate: CreateWorkspaceJob;
|
|
1887
|
+
workspaceOutputMappingSync: WorkspaceOutputMappingSyncJob;
|
|
1888
|
+
tableDefinitionCreate: TableDefinitionCreateJob;
|
|
1889
|
+
tableDefinitionUpdate: TableDefinitionUpdateJob;
|
|
1890
|
+
tableCreate: TableCreateJob;
|
|
1891
|
+
tableExport: TableExportJob;
|
|
1892
|
+
tableImport: TableImportJob;
|
|
1893
|
+
tableRowsDelete: DeleteTableRowsJob;
|
|
1894
|
+
tableSnapshotCreate: CreateSnapshotJob;
|
|
1895
|
+
devBranchTablePull: PullTableJob;
|
|
1896
|
+
tableColumnAdd: AddTableColumnJob;
|
|
1897
|
+
tableColumnDelete: DeleteTableColumnJob;
|
|
1898
|
+
tablePrimaryKeyAdd: CreateTablePrimaryKeyJob;
|
|
1899
|
+
tablePrimaryKeyDelete: RemoveTablePrimaryKeyJob;
|
|
1900
|
+
aliasCreate: CreateAliasJob;
|
|
1901
|
+
workspaceBatchDeleteObjects: DeleteWorkspaceObjectsJob;
|
|
1902
|
+
};
|
|
1903
|
+
type Job<T extends JobOperation | string = string> = T extends keyof JobByOperation ? JobByOperation[T] : JobUnion;
|
|
1904
|
+
//#endregion
|
|
1905
|
+
//#region src/clients/storage/triggers/types.d.ts
|
|
1906
|
+
type Trigger = OpenapiReturnType<paths['/v2/storage/triggers']['get']>[number];
|
|
1907
|
+
type GetTriggersQuery = OpenapiQueryType<paths['/v2/storage/triggers']['get']>;
|
|
1908
|
+
type CreateTriggerBody = OpenapiBodyType<paths['/v2/storage/triggers']['post']>;
|
|
1909
|
+
type UpdateTriggerRequest = OpenapiBodyType<paths['/v2/storage/triggers/{triggerId}']['put']>;
|
|
1910
|
+
type UpdateTriggerBody = Partial<UpdateTriggerRequest>;
|
|
1911
|
+
type UpdateTriggerInput = {
|
|
1912
|
+
triggerId: Trigger['id'];
|
|
1913
|
+
} & UpdateTriggerBody;
|
|
1914
|
+
//#endregion
|
|
1915
|
+
//#region src/clients/storage/search/types.d.ts
|
|
1916
|
+
type GlobalSearchSchemaQuery = OpenapiQueryType<paths['/v2/storage/global-search']['get']>;
|
|
1917
|
+
type SearchTablesSchemaQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/search/tables']['get']>>;
|
|
1918
|
+
/**
|
|
1919
|
+
* Object types the `types` filter accepts, spec-derived so the allow-list can't drift. Narrower than
|
|
1920
|
+
* `GlobalSearchItemType`: the spec has no `component` filter, though a hit can carry that type.
|
|
1921
|
+
*/
|
|
1922
|
+
type GlobalSearchFilterType = NonNullable<GlobalSearchSchemaQuery['types[]']>[number];
|
|
1923
|
+
/** Result categories returned by global search. */
|
|
1924
|
+
type GlobalSearchItemType = 'flow' | 'bucket' | 'table' | 'transformation' | 'component' | 'configuration' | 'configuration-row' | 'workspace' | 'shared-code';
|
|
1925
|
+
/** A single global-search hit. */
|
|
1926
|
+
type GlobalSearchItem = {
|
|
1927
|
+
id: string;
|
|
1928
|
+
type: GlobalSearchItemType;
|
|
1929
|
+
componentId: string;
|
|
1930
|
+
name: string;
|
|
1931
|
+
organizationId: number;
|
|
1932
|
+
projectId: number;
|
|
1933
|
+
created: string;
|
|
1934
|
+
/** Present only for `table` hits matched via column names — contains just the matched columns. */
|
|
1935
|
+
matchedColumns?: string[];
|
|
1936
|
+
fullPath: {
|
|
1937
|
+
branch: {
|
|
1938
|
+
id: number;
|
|
1939
|
+
name: string;
|
|
1940
|
+
isDefault: boolean;
|
|
1941
|
+
isNative: boolean;
|
|
1942
|
+
};
|
|
1943
|
+
project: {
|
|
1944
|
+
id: string;
|
|
1945
|
+
name: string;
|
|
1946
|
+
};
|
|
1947
|
+
component?: {
|
|
1948
|
+
id: string;
|
|
1949
|
+
name: string;
|
|
1950
|
+
};
|
|
1951
|
+
configuration?: {
|
|
1952
|
+
id: string;
|
|
1953
|
+
name: string;
|
|
1954
|
+
};
|
|
1955
|
+
bucket?: {
|
|
1956
|
+
id: string;
|
|
1957
|
+
name: string;
|
|
1958
|
+
};
|
|
1959
|
+
};
|
|
1960
|
+
};
|
|
1961
|
+
/**
|
|
1962
|
+
* Query for `GET /v2/storage/global-search`. Derived from the spec, minus its `[]` suffixes: the
|
|
1963
|
+
* document names every repeatable filter the way PHP receives it (`types[]`), which is
|
|
1964
|
+
* wire-serialization detail rather than something a caller should have to type — `globalSearch` casts
|
|
1965
|
+
* back. `branchTypes` also stays `string[]` where the spec says `('production' | 'development')[]`,
|
|
1966
|
+
* because callers build it from a set of filter strings.
|
|
1967
|
+
*/
|
|
1968
|
+
type GlobalSearchQuery = Omit<GlobalSearchSchemaQuery, 'types[]' | 'projectIds[]' | 'branchTypes[]' | 'branchIds[]'> & {
|
|
1969
|
+
types?: GlobalSearchFilterType[];
|
|
1970
|
+
projectIds?: number[];
|
|
1971
|
+
branchTypes?: string[];
|
|
1972
|
+
branchIds?: number[];
|
|
1973
|
+
};
|
|
1974
|
+
type GlobalSearchResponse = {
|
|
1975
|
+
all: number;
|
|
1976
|
+
items: GlobalSearchItem[];
|
|
1977
|
+
byType: {
|
|
1978
|
+
total: number;
|
|
1979
|
+
} & Partial<Record<GlobalSearchItemType, number>>;
|
|
1980
|
+
byProject: Record<number, string>;
|
|
1981
|
+
};
|
|
1982
|
+
/**
|
|
1983
|
+
* Query for `GET /v2/storage/search/tables`. Two tightenings on top of the spec: at least one of the
|
|
1984
|
+
* three metadata filters is required (the endpoint answers 400 without one), and `include` narrows
|
|
1985
|
+
* from `string | string[]` to the one documented value, sent comma-joined like every other table read.
|
|
1986
|
+
*/
|
|
1987
|
+
type SearchTablesQuery = Omit<SearchTablesSchemaQuery, 'include' | 'metadataKey' | 'metadataValue' | 'metadataProvider'> & {
|
|
1988
|
+
include?: 'buckets'[];
|
|
1989
|
+
} & ({
|
|
1990
|
+
metadataKey: string;
|
|
1991
|
+
} | {
|
|
1992
|
+
metadataValue: string;
|
|
1993
|
+
} | {
|
|
1994
|
+
metadataProvider: string;
|
|
1995
|
+
});
|
|
1996
|
+
//#endregion
|
|
1997
|
+
//#region src/clients/storage/snapshots/types.d.ts
|
|
1998
|
+
type CreateSnapshotBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/tables/{id}/snapshots']['post']>;
|
|
1999
|
+
type GetSnapshotsQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables/{id}/snapshots']['get']>>;
|
|
2000
|
+
/**
|
|
2001
|
+
* A table snapshot. The schema types the list items as a bare `Record<string, never>` because the
|
|
2002
|
+
* backend OpenAPI declares them as plain objects — this is the real shape.
|
|
2003
|
+
*/
|
|
2004
|
+
type Snapshot = {
|
|
2005
|
+
id: string;
|
|
2006
|
+
description: string;
|
|
2007
|
+
created: string;
|
|
2008
|
+
creatorToken: {
|
|
2009
|
+
id: number;
|
|
2010
|
+
description: string;
|
|
2011
|
+
};
|
|
2012
|
+
};
|
|
2013
|
+
type CreateSnapshotInput = {
|
|
2014
|
+
branchId: string;
|
|
2015
|
+
tableId: string;
|
|
2016
|
+
} & CreateSnapshotBody;
|
|
2017
|
+
type GetTableSnapshotsInput = {
|
|
2018
|
+
branchId: string;
|
|
2019
|
+
tableId: string;
|
|
2020
|
+
} & GetSnapshotsQuery;
|
|
2021
|
+
//#endregion
|
|
2022
|
+
//#region src/clients/storage/stats/types.d.ts
|
|
2023
|
+
/** A table entry in run stats. Consumers currently only count entries; `id` identifies the table. */
|
|
2024
|
+
type RunIdTableStat = {
|
|
2025
|
+
id: string;
|
|
2026
|
+
};
|
|
2027
|
+
/**
|
|
2028
|
+
* Response of `GET /v2/storage/stats?runId=…` — import/export table stats for a job run.
|
|
2029
|
+
* The generated schema stubs this operation, so the shape is hand-authored from the consumed paths.
|
|
2030
|
+
*/
|
|
2031
|
+
type RunIdStats = {
|
|
2032
|
+
tables: {
|
|
2033
|
+
import: {
|
|
2034
|
+
tables: RunIdTableStat[];
|
|
2035
|
+
};
|
|
2036
|
+
export: {
|
|
2037
|
+
tables: RunIdTableStat[];
|
|
2038
|
+
};
|
|
2039
|
+
};
|
|
2040
|
+
};
|
|
2041
|
+
//#endregion
|
|
2042
|
+
//#region src/clients/storage/types.d.ts
|
|
2043
|
+
/**
|
|
2044
|
+
* Spec declares the index `query?: never` and its 200 contentless, so both ends are asserted in.
|
|
2045
|
+
*
|
|
2046
|
+
* - `exclude=componentDetails` is accepted; it trims the component registry out of the payload.
|
|
2047
|
+
* - The whole parameters object is asserted, not just the query, since `never` admits no key.
|
|
2048
|
+
*/
|
|
2049
|
+
type GetStackInfoSchemaParams = OpenapiParametersType<paths['/v2/storage']['get']>;
|
|
2050
|
+
type GetStackInfoQuery = {
|
|
2051
|
+
exclude: 'componentDetails';
|
|
2052
|
+
};
|
|
2053
|
+
type MetadataId = string | number;
|
|
2054
|
+
type ServiceId = 'vault' | 'data-science' | 'encryption' | 'telemetry' | 'ai' | 'editor' | 'import' | 'oauth' | 'query' | 'queue' | 'kai-assistant' | 'kai-agent' | 'sync-actions' | 'stream' | 'notification' | 'scheduler' | 'metastore';
|
|
2055
|
+
type Service = {
|
|
2056
|
+
id: ServiceId;
|
|
2057
|
+
url: string;
|
|
2058
|
+
};
|
|
2059
|
+
type ComponentType = 'extractor' | 'writer' | 'application' | 'transformation' | 'code-pattern' | 'other' | '';
|
|
2060
|
+
type StackComponent = {
|
|
2061
|
+
id: string;
|
|
2062
|
+
name: string;
|
|
2063
|
+
type: ComponentType;
|
|
2064
|
+
description: string;
|
|
2065
|
+
features: unknown[];
|
|
2066
|
+
categories: string[];
|
|
2067
|
+
flags: string[];
|
|
2068
|
+
ico64: string;
|
|
2069
|
+
ico128: string;
|
|
2070
|
+
};
|
|
2071
|
+
type StackInfo = {
|
|
2072
|
+
api: string;
|
|
2073
|
+
documentation: string;
|
|
2074
|
+
services: Service[];
|
|
2075
|
+
components: StackComponent[];
|
|
2076
|
+
features: string[];
|
|
2077
|
+
host: string;
|
|
2078
|
+
revision: string;
|
|
2079
|
+
stack: string;
|
|
2080
|
+
urlTemplates: {
|
|
2081
|
+
orchestrationJob: string;
|
|
2082
|
+
};
|
|
2083
|
+
version: string;
|
|
2084
|
+
};
|
|
2085
|
+
type PartialKey<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
2086
|
+
//#endregion
|
|
2087
|
+
export { ConfigurationRowVersion as $, CreateBucketListingPath as $a, DeleteTableMetadataInput as $i, UpdateConfigurationRowInput as $n, UpdateBucketOwnerSchemaBody as $o, GetFileContentPath as $r, GetComponentsSchemaPath as $t, UpdateTriggerRequest as A, SaveTableMetadataPath as Aa, CreateTablePrimaryKeyPath as Ai, SearchComponentConfigurationsSchemaQuery as An, Bucket as Ao, WorkspaceInputMappingLoadPreviewResponse as Ar, SaveConfigurationMetadataPath as At, MergeRequest as B, TableImportAsyncBody as Ba, CreateTableAsyncBody as Bi, CreateConfigurationRowInput as Bn, DeleteBucketMetadataInput as Bo, DeleteDevBranchMetadataSchemaPath as Br, Component as Bt, SearchTablesQuery as C, Metadata as Ca, StorageEventRaw as Ci, RebaseConfigurationPath as Cn, ShareBucketToUsersPath as Co, UnloadWorkspaceQuery as Cr, ConfigurationMetadataItem as Ct, Trigger as D, PullTableAsyncPath as Da, AddTableColumnSchemaBody as Di, SearchComponentConfiguration as Dn, SharedBucketsQuery as Do, WorkspaceInputMappingLoadPreviewInput as Dr, GetConfigurationMetadataPath as Dt, GetTriggersQuery as E, PullTableAsyncInput as Ea, AddTableColumnPath as Ei, RebaseConfigurationToDeletedInput as En, SharedBuckets as Eo, WorkspaceInputMappingLoadPreviewBody as Er, GetConfigurationMetadataInput as Et, JobOperation as F, SetAliasTableFilterSchemaBody as Fa, DeleteTableColumnQuery as Fi, UpdateConfigurationSchemaQuery as Fn, BucketShared as Fo, BranchMetadataEntry as Fr, CreateConfigurationWorkspaceInput as Ft, MergeRequestConflict as G, UpdateTableDefinitionInput as Ga, CreateTableAsyncInput as Gi, DeleteConfigurationRowInput as Gn, GetBucketsQuery as Go, UpdateDevBranchInput as Gr, ComponentProcessorConfiguration as Gt, MergeRequestActivityLogEntry as H, TableMetadataResponse as Ha, CreateTableAsyncFromSnapshotBody as Hi, CreateConfigurationRowSchemaBody as Hn, GetBucketOwnerInput as Ho, DevBranchPath as Hr, ComponentDataTypesConfiguration as Ht, JobUnion as I, Table as Ia, RemoveTablePrimaryKeyInput as Ii, UpdateConfigurationStateBody as In, BucketStage as Io, BranchMetadataRaw as Ir, CreateConfigurationWorkspacePath as It, MergeRequestReviewer as J, UpdateTableInput as Ja, CreateTableDefinitionBody as Ji, DeleteConfigurationRowsInput as Jn, SaveBucketMetadataInput as Jo, AddFileTagInput as Jr, GetComponentPath as Jt, MergeRequestDetail as K, UpdateTableDefinitionPath as Ka, CreateTableAsyncPath as Ki, DeleteConfigurationRowPath as Kn, GetBucketsSchemaQuery as Ko, UpdateDevBranchSchemaBody as Kr, ComponentStagingStorage as Kt, StorageJobStatus as L, TableDetail as La, SaveColumnMetadataInput as Li, UpdateConfigurationStateInput as Ln, CreateBucketBody as Lo, CreateDevBranchBody as Lr, CreateConfigurationWorkspaceSchemaBody as Lt, GetJobsQuery as M, SetAliasTableFilterBody as Ma, DeleteColumnMetadataInput as Mi, UpdateConfigurationInput as Mn, BucketDetail as Mo, WorkspaceObject as Mr, BackendType as Mt, GetJobsSchemaQuery as N, SetAliasTableFilterInput as Na, DeleteTableColumnInput as Ni, UpdateConfigurationResult as Nn, BucketMetadata as No, WorkspaceRaw as Nr, ConfigurationUseCaseType as Nt, UpdateTriggerBody as O, SaveMetadataBody as Oa, CreateTablePrimaryKeyBody as Oi, SearchComponentConfigurationsInput as On, UnshareBucketInput as Oo, WorkspaceInputMappingLoadPreviewPath as Or, SaveConfigurationMetadataBody as Ot, Job as P, SetAliasTableFilterPath as Pa, DeleteTableColumnPath as Pi, UpdateConfigurationSchemaBody as Pn, BucketOwner as Po, WorkspaceSaml2Login as Pr, CreateConfigurationWorkspaceBody as Pt, UpdateMergeRequestSchemaBody as Q, CreateBucketListingInput as Qa, DeleteTableInput as Qi, UpdateConfigurationRowBody as Qn, UpdateBucketOwnerInput as Qo, File as Qr, GetComponentsQuery as Qt, CreateMergeRequestBody as R, TableExportAsyncBody as Ra, CreateAliasTableBody as Ri, UpdateConfigurationStateSchemaBody as Rn, CreateBucketSchemaBody as Ro, CreateDevBranchSchemaBody as Rr, GetConfigurationWorkspacesPath as Rt, GlobalSearchSchemaQuery as S, ImportAsyncPath as Sa, StorageEvent as Si, RebaseConfigurationInput as Sn, ShareBucketToUsersInput as So, UnloadWorkspacePath as Sr, RollbackConfigurationToVersionSchemaBody as St, CreateTriggerBody as T, PreviewData as Ta, AddTableColumnInput as Ti, RebaseConfigurationSchemaBody as Tn, ShareBucketToUsersSchemaQuery as To, WorkspaceConnection as Tr, DeleteConfigurationMetadataPath as Tt, MergeRequestChangeLog as U, UpdateTableBody as Ua, CreateTableAsyncFromTimeTravelBody as Ui, CreateConfigurationRowsInput as Un, GetBucketQuery as Uo, SaveDevBranchMetadataInput as Ur, ComponentDefinition as Ut, MergeRequestActivityEventType as V, TableImportAsyncSchemaBody as Va, CreateTableAsyncFromFileBody as Vi, CreateConfigurationRowPath as Vn, GetBucketInput as Vo, DevBranch as Vr, ComponentData as Vt, MergeRequestChangeLogEntry as W, UpdateTableDefinitionBody as Wa, CreateTableAsyncFromWorkspaceBody as Wi, DeleteConfigurationRowBody as Wn, GetBucketsInput as Wo, SaveDevBranchMetadataPath as Wr, ComponentLogging as Wt, UpdateMergeRequestBody as X, BucketListingDetail as Xa, CreateTableDefinitionPath as Xi, GetConfigurationRowPath as Xn, UpdateBucketInput as Xo, DeleteFilePath as Xr, GetComponentsInput as Xt, MergeRequestReviewerStatus as Y, WhereFilters as Ya, CreateTableDefinitionInput as Yi, GetConfigurationRowInput as Yn, UpdateBucketBody as Yo, AddFileTagPath as Yr, GetComponentSchemaPath as Yt, UpdateMergeRequestInput as Z, CreateBucketListingBody as Za, CreateTableDefinitionSchemaBody as Zi, Row as Zn, UpdateBucketOwnerBody as Zo, DeleteFileTagPath as Zr, GetComponentsPath as Zt, GlobalSearchFilterType as _, GetTablesInput as _a, GetEventsPath as _i, GetSearchComponentConfigurationsPath as _n, ShareBucketToProjectsInput as _o, ResetWorkspacePasswordPath as _r, CopyConfigurationRowFromVersionSchemaBody as _t, PartialKey as a, DeleteTableRowsSchemaQuery as aa, PreparedFile as ai, ConfigurationDiffContent as an, UpdateBucketListingPath as ao, UpdateConfigurationRowStateSchemaBody as ar, CreateScheduledRefreshPath as as, ConfigurationVersion as at, GlobalSearchQuery as b, GetTablesSchemaQuery as ba, GetTableEventsPath as bi, RebaseConfigurationBody as bn, ShareBucketToProjectsSchemaQuery as bo, SetWorkspacePublicKeyPath as br, RollbackConfigurationToVersionInput as bt, StackComponent as c, ExportAsyncInput as ca, CreateEventPath as ci, ConfigurationDiffSide as cn, ForceUnlinkBucketSchemaPath as co, DeleteWorkspaceObjectInput as cr, RegisterBucketBody as cs, ConfigurationVersionPath as ct, RunIdTableStat as d, GetDataPreviewInput as da, EventType as di, CreateConfigurationBody as dn, LinkBucketSchemaBody as do, DeleteWorkspacesInput as dr, ScheduledTask as ds, CopyConfigurationFromVersionBody as dt, DeleteTableMetadataPath as ea, GetFilePath as ei, GetComponentsSchemaQuery as en, CreateBucketListingSchemaBody as eo, UpdateConfigurationRowPath as er, BucketRegistrationGuide as es, ConfigurationRowVersionDetail as et, CreateSnapshotBody as f, GetDataPreviewPath as fa, GetBucketEventsInput as fi, CreateConfigurationInput as fn, ShareBucketToOrganizationInput as fo, GetWorkspaceObjectsPath as fr, CopyConfigurationFromVersionInput as ft, Snapshot as g, GetTablePath as ga, GetEventsInput as gi, GetConfigurationsPath as gn, ShareBucketToProjectsBody as go, ResetWorkspacePassword as gr, CopyConfigurationRowFromVersionInput as gt, GetTableSnapshotsInput as h, GetTableInput as ha, GetEventPath as hi, DeleteConfigurationInput as hn, ShareBucketToOrganizationSchemaQuery as ho, GetWorkspacesPath as hr, CopyConfigurationFromVersionSchemaBody as ht, MetadataId as i, DeleteTableRowsPath as ia, PrepareFileSchemaBody as ii, ConfigurationDiff as in, UpdateBucketListingInput as io, UpdateConfigurationRowStatePath as ir, CreateScheduledRefreshInput as is, ConfigurationRowVersionsSchemaPath as it, GetJobPath as j, SaveTableMetadataSchemaBody as ja, CreateTablePrimaryKeySchemaBody as ji, UpdateConfigurationBody as jn, BucketBackend as jo, WorkspaceLoginType as jr, SaveConfigurationMetadataSchemaBody as jt, UpdateTriggerInput as k, SaveTableMetadataInput as ka, CreateTablePrimaryKeyInput as ki, SearchComponentConfigurationsQuery as kn, UnshareBucketSchemaQuery as ko, WorkspaceInputMappingLoadPreviewQuery as kr, SaveConfigurationMetadataInput as kt, StackInfo as l, ExportAsyncPath as la, CreateEventSchemaBody as li, ConfigurationDiffSideContent as ln, ForceUnlinkBucketSchemaQuery as lo, DeleteWorkspaceObjectPath as lr, RegisterBucketSchemaBody as ls, ConfigurationVersionSchemaPath as lt, GetSnapshotsQuery as m, GetDataPreviewSchemaQuery as ma, GetBucketEventsQuery as mi, CreatorToken as mn, ShareBucketToOrganizationProjectSchemaQuery as mo, GetWorkspaceSaml2LoginPath as mr, CopyConfigurationFromVersionResult as mt, GetStackInfoQuery as n, DeleteTableRows as na, GetFilesSchemaParams as ni, ComponentConfig as nn, Subscriber as no, UpdateConfigurationRowStateBody as nr, BucketRegistrationGuideSchemaQuery as ns, ConfigurationRowVersionPath as nt, Service as o, DeleteTableSchemaQuery as oa, CreateEventBody as oi, ConfigurationDiffPath as on, UpdateBucketListingSchemaBody as oo, WrDbRow as or, RefreshExternalBucketInput as os, ConfigurationVersionDetail as ot, CreateSnapshotInput as p, GetDataPreviewQuery as pa, GetBucketEventsPath as pi, CreateConfigurationSchemaBody as pn, ShareBucketToOrganizationProjectInput as po, GetWorkspacePath as pr, CopyConfigurationFromVersionPath as pt, MergeRequestDetailWithActivityLog as q, UpdateTableDefinitionSchemaBody as qa, CreateTableAsyncSchemaBody as qi, DeleteConfigurationRowSchemaBody as qn, SaveBucketMetadataBody as qo, AddFileTagBody as qr, ComponentVendor as qt, GetStackInfoSchemaParams as r, DeleteTableRowsInput as ra, PrepareFileBody as ri, ConfigType as rn, UpdateBucketListingBody as ro, UpdateConfigurationRowStateInput as rr, CreateScheduledRefreshBody as rs, ConfigurationRowVersionSchemaPath as rt, ServiceId as s, DeleteTablesInput as sa, CreateEventInput as si, ConfigurationDiffRow as sn, ForceUnlinkBucketInput as so, DeleteWorkspaceObjectBody as sr, RefreshExternalBucketQuery as ss, ConfigurationVersionDetailPath as st, ComponentType as t, DeleteTablePath as ta, GetFilesQuery as ti, BaseComponentConfig as tn, ProjectBucketListing as to, UpdateConfigurationRowSchemaBody as tr, BucketRegistrationGuideQuery as ts, ConfigurationRowVersionDetailPath as tt, RunIdStats as u, FilterOperator as ua, CreatedEvent as ui, ConfigurationPath as un, LinkBucketBody as uo, DeleteWorkspacePath as ur, RegisterBucketSchemaQuery as us, ConfigurationVersionsSchemaPath as ut, GlobalSearchItem as v, GetTablesPath as va, GetEventsQuery as vi, PurgeConfigurationInput as vn, ShareBucketToProjectsPath as vo, SetWorkspacePublicInput as vr, RollbackConfigurationRowToVersionInput as vt, SearchTablesSchemaQuery as w, PrevieData as wa, AddTableColumnBody as wi, RebaseConfigurationRow as wn, ShareBucketToUsersSchemaBody as wo, Workspace as wr, DeleteConfigurationMetadataInput as wt, GlobalSearchResponse as x, ImportAsyncInput as xa, GetTableEventsQuery as xi, RebaseConfigurationDiff as xn, ShareBucketToUsersBody as xo, UnloadWorkspaceInput as xr, RollbackConfigurationToVersionResult as xt, GlobalSearchItemType as y, GetTablesQuery as ya, GetTableEventsInput as yi, PurgeConfigurationsInput as yn, ShareBucketToProjectsSchemaBody as yo, SetWorkspacePublicKeyBody as yr, RollbackConfigurationRowToVersionSchemaBody as yt, CreateMergeRequestSchemaBody as z, TableExportAsyncSchemaBody as za, CreateAliasTableInput as zi, CreateConfigurationRowBody as zn, DeleteBucketAsyncInput as zo, DeleteDevBranchMetadataPath as zr, LoginType as zt };
|
|
2088
|
+
//# sourceMappingURL=types-CC0wymfG.d.ts.map
|