@keboola/api-client 25.0.0 → 27.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 +489 -0
- package/API-SURFACE.md +126 -57
- package/README.md +29 -25
- package/dist/{adminRoles-Cil1lavB.d.cts → adminRoles-BSUPLfNf.d.cts} +1 -7
- package/dist/{adminRoles-Cil1lavB.d.ts → adminRoles-BSUPLfNf.d.ts} +1 -7
- package/dist/ai/index.cjs +4 -4
- package/dist/ai/index.d.cts +5 -2
- package/dist/ai/index.d.ts +5 -2
- package/dist/ai/index.js +3 -3
- package/dist/ai/types.d.cts +2 -2
- package/dist/ai/types.d.ts +2 -2
- package/dist/appLogs-BbgAJ5I8.d.cts +7 -0
- package/dist/appLogs-BbgAJ5I8.d.ts +7 -0
- package/dist/apps/index.cjs +16 -0
- package/dist/apps/index.cjs.map +1 -0
- package/dist/apps/index.d.cts +249 -0
- package/dist/apps/index.d.ts +249 -0
- package/dist/apps/index.js +7 -0
- package/dist/apps/index.js.map +1 -0
- package/dist/apps/types.cjs +4 -0
- package/dist/apps/types.cjs.map +1 -0
- package/dist/apps/types.d.cts +3 -0
- package/dist/apps/types.d.ts +3 -0
- package/dist/apps/types.js +3 -0
- package/dist/apps/types.js.map +1 -0
- package/dist/assets/index.cjs +2 -2
- package/dist/assets/index.js +1 -1
- package/dist/auth/index.cjs +17 -13
- package/dist/auth/index.d.cts +18 -5
- package/dist/auth/index.d.ts +18 -5
- package/dist/auth/index.js +2 -2
- package/dist/auth/types.d.cts +3 -3
- package/dist/auth/types.d.ts +3 -3
- package/dist/backends-UNp_e5y9.d.cts +7 -0
- package/dist/backends-UNp_e5y9.d.ts +7 -0
- package/dist/chat/index.cjs +4 -4
- package/dist/chat/index.d.cts +5 -2
- package/dist/chat/index.d.ts +5 -2
- package/dist/chat/index.js +3 -3
- package/dist/chat/types.d.cts +2 -2
- package/dist/chat/types.d.ts +2 -2
- package/dist/{chunk-LD3JERYP.js → chunk-24YVNNAG.js} +10 -4
- package/dist/chunk-24YVNNAG.js.map +1 -0
- package/dist/{chunk-CV2JGHBN.js → chunk-255CHZ3U.js} +23 -6
- package/dist/chunk-255CHZ3U.js.map +1 -0
- package/dist/{chunk-S4JK7DKM.js → chunk-2BCH2U57.js} +11 -5
- package/dist/chunk-2BCH2U57.js.map +1 -0
- package/dist/{chunk-XHDYLUM4.js → chunk-2BQBKU6E.js} +15 -13
- package/dist/chunk-2BQBKU6E.js.map +1 -0
- package/dist/{chunk-NVQ6LGDO.cjs → chunk-2JKTV7UG.cjs} +6 -6
- package/dist/{chunk-NVQ6LGDO.cjs.map → chunk-2JKTV7UG.cjs.map} +1 -1
- package/dist/chunk-3UBGQFBU.js +29 -0
- package/dist/chunk-3UBGQFBU.js.map +1 -0
- package/dist/chunk-57Q4CY4H.js +190 -0
- package/dist/chunk-57Q4CY4H.js.map +1 -0
- package/dist/{chunk-EDX5D6UY.js → chunk-5A3AQIXR.js} +3 -3
- package/dist/{chunk-EDX5D6UY.js.map → chunk-5A3AQIXR.js.map} +1 -1
- package/dist/{chunk-UABYNGBZ.js → chunk-5HEIR4DC.js} +4 -4
- package/dist/chunk-5HEIR4DC.js.map +1 -0
- package/dist/{chunk-Z3HZ4MP4.cjs → chunk-5SR2L35Y.cjs} +885 -553
- package/dist/chunk-5SR2L35Y.cjs.map +1 -0
- package/dist/{chunk-OUSPQ55W.js → chunk-62LG5KPI.js} +29 -7
- package/dist/chunk-62LG5KPI.js.map +1 -0
- package/dist/{chunk-HMCZUHR7.js → chunk-67P5UI6H.js} +9 -4
- package/dist/{chunk-2CFM7K4U.cjs.map → chunk-67P5UI6H.js.map} +1 -1
- package/dist/{chunk-HY7J3OD3.cjs → chunk-6PVEHUJL.cjs} +39 -29
- package/dist/chunk-6PVEHUJL.cjs.map +1 -0
- package/dist/chunk-6XFXU5N4.js +119 -0
- package/dist/chunk-6XFXU5N4.js.map +1 -0
- package/dist/chunk-6ZQBFK2Y.js +24 -0
- package/dist/chunk-6ZQBFK2Y.js.map +1 -0
- package/dist/{chunk-AFJGNBVM.cjs → chunk-AJ3SCWUB.cjs} +14 -8
- package/dist/chunk-AJ3SCWUB.cjs.map +1 -0
- package/dist/{chunk-GF4XZK5N.cjs → chunk-AXYNFDUI.cjs} +4 -4
- package/dist/chunk-AXYNFDUI.cjs.map +1 -0
- package/dist/{chunk-UP5SEEYZ.js → chunk-B45B4AYG.js} +61 -7
- package/dist/chunk-B45B4AYG.js.map +1 -0
- package/dist/{chunk-4VVF2PIX.js → chunk-B4T4QCLB.js} +10 -4
- package/dist/chunk-B4T4QCLB.js.map +1 -0
- package/dist/{chunk-XIIER7QQ.js → chunk-BGJWHTBJ.js} +10 -4
- package/dist/chunk-BGJWHTBJ.js.map +1 -0
- package/dist/chunk-BVRPZKRE.cjs +147 -0
- package/dist/chunk-BVRPZKRE.cjs.map +1 -0
- package/dist/chunk-BZB4UVQA.cjs +192 -0
- package/dist/chunk-BZB4UVQA.cjs.map +1 -0
- package/dist/{chunk-IAYPOSMM.cjs → chunk-CHRBWCL7.cjs} +8 -8
- package/dist/chunk-CHRBWCL7.cjs.map +1 -0
- package/dist/{chunk-3PVERYSF.js → chunk-CPZME73I.js} +3 -3
- package/dist/{chunk-3PVERYSF.js.map → chunk-CPZME73I.js.map} +1 -1
- package/dist/{chunk-RVBGE2Z4.js → chunk-DVV35AIS.js} +7 -7
- package/dist/chunk-DVV35AIS.js.map +1 -0
- package/dist/{chunk-CWUQ6ZAO.cjs → chunk-E7GGDLAH.cjs} +25 -8
- package/dist/chunk-E7GGDLAH.cjs.map +1 -0
- package/dist/{chunk-J3NLKXQ5.cjs → chunk-EQPBR3BE.cjs} +15 -9
- package/dist/chunk-EQPBR3BE.cjs.map +1 -0
- package/dist/{chunk-SJZ66FD5.js → chunk-ERZEQ5JR.js} +8 -3
- package/dist/chunk-ERZEQ5JR.js.map +1 -0
- package/dist/{chunk-CWCUQACX.cjs → chunk-ES3ADC2G.cjs} +4 -4
- package/dist/{chunk-CWCUQACX.cjs.map → chunk-ES3ADC2G.cjs.map} +1 -1
- package/dist/{chunk-2CFM7K4U.cjs → chunk-FEAE6L3K.cjs} +13 -8
- package/dist/chunk-FEAE6L3K.cjs.map +1 -0
- package/dist/{chunk-IDWGBCSB.cjs → chunk-FVU7WU2H.cjs} +11 -6
- package/dist/chunk-FVU7WU2H.cjs.map +1 -0
- package/dist/{chunk-3BFPNM2J.js → chunk-FW5GBBKL.js} +11 -5
- package/dist/chunk-FW5GBBKL.js.map +1 -0
- package/dist/chunk-G2SWCC3X.js +90 -0
- package/dist/chunk-G2SWCC3X.js.map +1 -0
- package/dist/{chunk-KUYVBCUM.cjs → chunk-G3JHVIDZ.cjs} +63 -8
- package/dist/chunk-G3JHVIDZ.cjs.map +1 -0
- package/dist/{chunk-D4WOOKMI.js → chunk-HGKDXF35.js} +58 -107
- package/dist/chunk-HGKDXF35.js.map +1 -0
- package/dist/chunk-HQO572JW.cjs +34 -0
- package/dist/chunk-HQO572JW.cjs.map +1 -0
- package/dist/{chunk-MMOAH3EH.cjs → chunk-HUQ5ATIL.cjs} +15 -13
- package/dist/chunk-HUQ5ATIL.cjs.map +1 -0
- package/dist/{chunk-XKIENBIE.js → chunk-HZDVMHU6.js} +10 -4
- package/dist/chunk-HZDVMHU6.js.map +1 -0
- package/dist/{chunk-7R22VKV7.cjs → chunk-ICWUR5WA.cjs} +13 -7
- package/dist/chunk-ICWUR5WA.cjs.map +1 -0
- package/dist/{chunk-BR6WZE3O.cjs → chunk-IQFNHQWP.cjs} +9 -4
- package/dist/chunk-IQFNHQWP.cjs.map +1 -0
- package/dist/{chunk-7Z4MU7ZB.js → chunk-IZ4QM7O4.js} +32 -22
- package/dist/chunk-IZ4QM7O4.js.map +1 -0
- package/dist/{chunk-UWQUHP3T.cjs → chunk-J5JCXSAS.cjs} +11 -6
- package/dist/chunk-J5JCXSAS.cjs.map +1 -0
- package/dist/{chunk-LIXSIM3H.cjs → chunk-JI7HLIDL.cjs} +12 -6
- package/dist/chunk-JI7HLIDL.cjs.map +1 -0
- package/dist/chunk-JWISA775.cjs +92 -0
- package/dist/chunk-JWISA775.cjs.map +1 -0
- package/dist/chunk-K3BLXPLA.cjs +16 -0
- package/dist/{chunk-7RO6PKZ4.cjs.map → chunk-K3BLXPLA.cjs.map} +1 -1
- package/dist/{chunk-BZA3FGO6.js → chunk-KATUDT3E.js} +8 -3
- package/dist/chunk-KATUDT3E.js.map +1 -0
- package/dist/chunk-KGBWWS6I.js +32 -0
- package/dist/chunk-KGBWWS6I.js.map +1 -0
- package/dist/chunk-KQENBXPS.cjs +34 -0
- package/dist/chunk-KQENBXPS.cjs.map +1 -0
- package/dist/chunk-KTKJD4DM.js +60 -0
- package/dist/chunk-KTKJD4DM.js.map +1 -0
- package/dist/{chunk-2BOG5U7C.js → chunk-LWQP7OWA.js} +3 -3
- package/dist/{chunk-2BOG5U7C.js.map → chunk-LWQP7OWA.js.map} +1 -1
- package/dist/chunk-NFJKJGXR.js +397 -0
- package/dist/chunk-NFJKJGXR.js.map +1 -0
- package/dist/chunk-NH2TQGRL.cjs +28 -0
- package/dist/chunk-NH2TQGRL.cjs.map +1 -0
- package/dist/{chunk-KEFXOJD7.js → chunk-NHYL5QPM.js} +16 -3
- package/dist/chunk-NHYL5QPM.js.map +1 -0
- package/dist/{chunk-AVH6F5LB.js → chunk-ON4ILCHP.js} +876 -546
- package/dist/chunk-ON4ILCHP.js.map +1 -0
- package/dist/{chunk-T242YFMT.cjs → chunk-PLF4JX5B.cjs} +12 -7
- package/dist/chunk-PLF4JX5B.cjs.map +1 -0
- package/dist/{chunk-77LILJYX.js → chunk-QNF3L4B7.js} +9 -4
- package/dist/chunk-QNF3L4B7.js.map +1 -0
- package/dist/{chunk-NVRVPWNY.js → chunk-RBN3ITTM.js} +9 -4
- package/dist/chunk-RBN3ITTM.js.map +1 -0
- package/dist/{chunk-DRNOCC6W.cjs → chunk-RXYT7EMN.cjs} +31 -8
- package/dist/chunk-RXYT7EMN.cjs.map +1 -0
- package/dist/chunk-S46FMY4G.cjs +64 -0
- package/dist/chunk-S46FMY4G.cjs.map +1 -0
- package/dist/chunk-S6BWQKHJ.cjs +116 -0
- package/dist/chunk-S6BWQKHJ.cjs.map +1 -0
- package/dist/{chunk-3YWQQ3OG.cjs → chunk-SFTI6QFB.cjs} +13 -7
- package/dist/chunk-SFTI6QFB.cjs.map +1 -0
- package/dist/{chunk-7YXL4FKN.cjs → chunk-SNP577FA.cjs} +12 -6
- package/dist/chunk-SNP577FA.cjs.map +1 -0
- package/dist/{chunk-PPQF7LTS.cjs → chunk-SUVM3S2T.cjs} +15 -9
- package/dist/chunk-SUVM3S2T.cjs.map +1 -0
- package/dist/chunk-SYZ5OFNT.js +114 -0
- package/dist/chunk-SYZ5OFNT.js.map +1 -0
- package/dist/{chunk-FRLSKIUI.cjs → chunk-SZBW4EE2.cjs} +6 -6
- package/dist/{chunk-FRLSKIUI.cjs.map → chunk-SZBW4EE2.cjs.map} +1 -1
- package/dist/{chunk-G66EP527.js → chunk-TBHJQCAE.js} +9 -4
- package/dist/chunk-TBHJQCAE.js.map +1 -0
- package/dist/{chunk-EYIPM2XB.cjs → chunk-U3E5YMLO.cjs} +4 -4
- package/dist/{chunk-EYIPM2XB.cjs.map → chunk-U3E5YMLO.cjs.map} +1 -1
- package/dist/{chunk-34GM6NXB.js → chunk-UVX733BX.js} +10 -4
- package/dist/chunk-UVX733BX.js.map +1 -0
- package/dist/{chunk-FMS5PNM2.cjs → chunk-V6FT3RTU.cjs} +8 -3
- package/dist/chunk-V6FT3RTU.cjs.map +1 -0
- package/dist/{chunk-F6ZAYTBX.cjs → chunk-VB56OVFM.cjs} +58 -110
- package/dist/chunk-VB56OVFM.cjs.map +1 -0
- package/dist/{chunk-5XWVWFTC.js → chunk-WQ7NNIJ3.js} +4 -4
- package/dist/{chunk-5XWVWFTC.js.map → chunk-WQ7NNIJ3.js.map} +1 -1
- package/dist/{chunk-DHOVQ2TW.js → chunk-WUFODWZV.js} +3 -3
- package/dist/{chunk-DHOVQ2TW.js.map → chunk-WUFODWZV.js.map} +1 -1
- package/dist/{chunk-FJBP3MRI.cjs → chunk-WUJ53PP7.cjs} +16 -3
- package/dist/chunk-WUJ53PP7.cjs.map +1 -0
- package/dist/chunk-YDOSWWE4.cjs +419 -0
- package/dist/chunk-YDOSWWE4.cjs.map +1 -0
- package/dist/constants/index.cjs +2 -2
- package/dist/constants/index.d.cts +13 -1
- package/dist/constants/index.d.ts +13 -1
- package/dist/constants/index.js +1 -1
- package/dist/createFetchClient-BHAsPDgF.d.cts +86 -0
- package/dist/createFetchClient-CFIwc6Lh.d.ts +86 -0
- package/dist/{createOpenapiFetchClient-BFmiJ9C5.d.cts → createOpenapiFetchClient-CduEua6F.d.cts} +1 -1
- package/dist/{createOpenapiFetchClient-6RX67Hws.d.ts → createOpenapiFetchClient-wLlVgp3k.d.ts} +1 -1
- package/dist/dataScience/index.cjs +6 -5
- package/dist/dataScience/index.d.cts +7 -5
- package/dist/dataScience/index.d.ts +7 -5
- package/dist/dataScience/index.js +4 -3
- package/dist/dataScience/types.d.cts +2172 -2
- package/dist/dataScience/types.d.ts +2172 -2
- package/dist/domain/permissions/index.cjs +3 -3
- package/dist/domain/permissions/index.d.cts +5 -4
- package/dist/domain/permissions/index.d.ts +5 -4
- package/dist/domain/permissions/index.js +1 -1
- package/dist/editor/index.cjs +4 -4
- package/dist/editor/index.d.cts +5 -2
- package/dist/editor/index.d.ts +5 -2
- package/dist/editor/index.js +3 -3
- package/dist/editor/types.d.cts +2 -2
- package/dist/editor/types.d.ts +2 -2
- package/dist/encryption/index.cjs +3 -3
- package/dist/encryption/index.d.cts +5 -3
- package/dist/encryption/index.d.ts +5 -3
- package/dist/encryption/index.js +2 -2
- package/dist/encryption/types.d.cts +4 -3
- package/dist/encryption/types.d.ts +4 -3
- package/dist/import/index.cjs +4 -4
- package/dist/import/index.d.cts +5 -2
- package/dist/import/index.d.ts +5 -2
- package/dist/import/index.js +3 -3
- package/dist/index.cjs +211 -127
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +934 -457
- package/dist/index.d.ts +934 -457
- package/dist/index.js +95 -44
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +5 -5
- package/dist/management/index.d.cts +60 -67
- package/dist/management/index.d.ts +60 -67
- package/dist/management/index.js +3 -3
- package/dist/management/types.d.cts +3 -3
- package/dist/management/types.d.ts +3 -3
- package/dist/metastore/index.cjs +4 -4
- package/dist/metastore/index.d.cts +5 -6
- package/dist/metastore/index.d.ts +5 -6
- package/dist/metastore/index.js +3 -3
- package/dist/metastore/types.d.cts +2 -2
- package/dist/metastore/types.d.ts +2 -2
- package/dist/notifications/index.cjs +5 -5
- package/dist/notifications/index.d.cts +3 -2
- package/dist/notifications/index.d.ts +3 -2
- package/dist/notifications/index.js +4 -4
- package/dist/notifications/types.d.cts +2 -2
- package/dist/notifications/types.d.ts +2 -2
- package/dist/oauth/index.cjs +4 -4
- package/dist/oauth/index.d.cts +2 -1
- package/dist/oauth/index.d.ts +2 -1
- package/dist/oauth/index.js +3 -3
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/omnisearch/index.cjs +14 -0
- package/dist/omnisearch/index.cjs.map +1 -0
- package/dist/omnisearch/index.d.cts +32 -0
- package/dist/omnisearch/index.d.ts +32 -0
- package/dist/omnisearch/index.js +5 -0
- package/dist/omnisearch/index.js.map +1 -0
- package/dist/omnisearch/types.cjs +4 -0
- package/dist/omnisearch/types.cjs.map +1 -0
- package/dist/omnisearch/types.d.cts +3 -0
- package/dist/omnisearch/types.d.ts +3 -0
- package/dist/omnisearch/types.js +3 -0
- package/dist/omnisearch/types.js.map +1 -0
- package/dist/{project-CXqPYo4T.d.ts → project-Dmr-zrQG.d.ts} +2 -2
- package/dist/{project-CZPvcxRW.d.cts → project-DstzWVMN.d.cts} +2 -2
- package/dist/queryService/index.cjs +4 -4
- package/dist/queryService/index.d.cts +3 -2
- package/dist/queryService/index.d.ts +3 -2
- package/dist/queryService/index.js +3 -3
- package/dist/queryService/types.d.cts +2 -2
- package/dist/queryService/types.d.ts +2 -2
- package/dist/queue/index.cjs +4 -4
- package/dist/queue/index.d.cts +8 -2
- package/dist/queue/index.d.ts +8 -2
- package/dist/queue/index.js +3 -3
- package/dist/queue/types.d.cts +2 -2
- package/dist/queue/types.d.ts +2 -2
- package/dist/scheduler/index.cjs +5 -5
- package/dist/scheduler/index.d.cts +2 -1
- package/dist/scheduler/index.d.ts +2 -1
- package/dist/scheduler/index.js +4 -4
- package/dist/scheduler/types.d.cts +3 -3
- package/dist/scheduler/types.d.ts +3 -3
- package/dist/sdk/configurations/index.cjs +3 -3
- package/dist/sdk/configurations/index.d.cts +7 -6
- package/dist/sdk/configurations/index.d.ts +7 -6
- package/dist/sdk/configurations/index.js +2 -2
- package/dist/sdk/queryService/index.cjs +16 -0
- package/dist/sdk/queryService/index.cjs.map +1 -0
- package/dist/sdk/queryService/index.d.cts +35 -0
- package/dist/sdk/queryService/index.d.ts +35 -0
- package/dist/sdk/queryService/index.js +7 -0
- package/dist/sdk/queryService/index.js.map +1 -0
- package/dist/sdk/semanticLayer/index.cjs +18 -14
- package/dist/sdk/semanticLayer/index.d.cts +25 -10
- package/dist/sdk/semanticLayer/index.d.ts +25 -10
- package/dist/sdk/semanticLayer/index.js +2 -2
- package/dist/sdk/semanticLayer/types.d.cts +25 -5
- package/dist/sdk/semanticLayer/types.d.ts +25 -5
- package/dist/sdk/storage/index.cjs +12 -11
- package/dist/sdk/storage/index.d.cts +7 -6
- package/dist/sdk/storage/index.d.ts +7 -6
- package/dist/sdk/storage/index.js +2 -1
- package/dist/sdk/tag/index.cjs +3 -3
- package/dist/sdk/tag/index.d.cts +3 -3
- package/dist/sdk/tag/index.d.ts +3 -3
- package/dist/sdk/tag/index.js +2 -2
- package/dist/sdk/tag/types.d.cts +10 -4
- package/dist/sdk/tag/types.d.ts +10 -4
- package/dist/sdk/vault/index.cjs +8 -8
- package/dist/sdk/vault/index.d.cts +5 -4
- package/dist/sdk/vault/index.d.ts +5 -4
- package/dist/sdk/vault/index.js +2 -2
- package/dist/status/index.cjs +2 -2
- package/dist/status/index.js +1 -1
- package/dist/storage/index.cjs +50 -12
- package/dist/storage/index.d.cts +17 -36
- package/dist/storage/index.d.ts +17 -36
- package/dist/storage/index.js +7 -5
- package/dist/storage/types.d.cts +720 -425
- package/dist/storage/types.d.ts +720 -425
- package/dist/{storageClient-Dkcg7hKa.d.cts → storageClient-BAid0vi2.d.cts} +478 -247
- package/dist/{storageClient-Cd4jVt58.d.ts → storageClient-BX50Attd.d.ts} +478 -247
- package/dist/{storageSdk-L6NOdgSJ.d.ts → storageSdk-BS5982c_.d.cts} +22 -15
- package/dist/{storageSdk-15_Fbucc.d.cts → storageSdk-BeJcnEIO.d.ts} +22 -15
- package/dist/stream/index.cjs +4 -4
- package/dist/stream/index.d.cts +3 -2
- package/dist/stream/index.d.ts +3 -2
- package/dist/stream/index.js +3 -3
- package/dist/stream/types.d.cts +2 -2
- package/dist/stream/types.d.ts +2 -2
- package/dist/syncActions/index.cjs +6 -5
- package/dist/syncActions/index.d.cts +31 -76
- package/dist/syncActions/index.d.ts +31 -76
- package/dist/syncActions/index.js +5 -4
- package/dist/syncActions/types.d.cts +334 -18
- package/dist/syncActions/types.d.ts +334 -18
- package/dist/telemetry/index.cjs +4 -4
- package/dist/telemetry/index.js +3 -3
- package/dist/{types-DbAO-Tgk.d.ts → types-BALUbGA5.d.ts} +10 -2
- package/dist/{types-B30y9Lhc.d.ts → types-BCBF_5cU.d.cts} +186 -4
- package/dist/{types-B-vmDlWB.d.cts → types-BPKQRahf.d.cts} +3 -3
- package/dist/types-BcaALDYY.d.cts +2130 -0
- package/dist/{types-BfuVN8Pk.d.cts → types-Bom93Zx2.d.cts} +3 -3
- package/dist/types-Bp8d9PJf.d.cts +607 -0
- package/dist/types-BsejtGjZ.d.ts +2130 -0
- package/dist/{types-DeoA45gz.d.cts → types-BuEkMmKT.d.ts} +491 -308
- package/dist/{types-BqC3U0k0.d.cts → types-C5DdOzx8.d.cts} +1 -1
- package/dist/{types-D-MuJHwl.d.cts → types-CFeOCzzg.d.cts} +3 -2
- package/dist/{types-DpUcInCX.d.ts → types-COti0FGo.d.ts} +3 -3
- package/dist/{types-Dkipk6NN.d.ts → types-C_jxWM7A.d.ts} +1 -1
- package/dist/{types-CM1zHzgm.d.ts → types-Cffam0Nw.d.ts} +856 -36
- package/dist/{types-BieLFMW1.d.cts → types-CfzHhZVG.d.ts} +3 -3
- package/dist/{types-DYnHIm7m.d.cts → types-CniF_D1P.d.cts} +3 -3
- package/dist/{types-BEnE7LHB.d.cts → types-CwAYn1EJ.d.cts} +10 -2
- package/dist/{types-DgSyBwP3.d.cts → types-CxAH36ip.d.cts} +3 -3
- package/dist/{types-DwMezEHT.d.ts → types-D2qGShlS.d.ts} +15 -3
- package/dist/{types-CSZoV4lM.d.cts → types-D6dnnju2.d.ts} +186 -4
- package/dist/{types-CrLjE5xf.d.ts → types-DM1glEQI.d.ts} +3 -3
- package/dist/{types-Hj1CaKtV.d.ts → types-DNyZ0z3L.d.cts} +491 -308
- package/dist/types-DOc5_aYZ.d.ts +607 -0
- package/dist/{types-DHXZZKb3.d.ts → types-Dpwb4dD0.d.ts} +3 -3
- package/dist/{types-YzkNUuYo.d.ts → types-DrGnvgkB.d.ts} +3 -3
- package/dist/{types-00IaLn3S.d.ts → types-EZBBpiFU.d.ts} +695 -82
- package/dist/{types-BX1xr4CX.d.cts → types-Y1ynT2PH.d.cts} +15 -3
- package/dist/{types-sVyfECai.d.cts → types-cxk-0ftN.d.cts} +695 -82
- package/dist/{types-DeS-oVdn.d.ts → types-ebolWqn1.d.ts} +3 -2
- package/dist/{types-gcShAmmi.d.cts → types-f8dUjMX4.d.cts} +1 -1
- package/dist/{types-gcShAmmi.d.ts → types-f8dUjMX4.d.ts} +1 -1
- package/dist/{types-CiJ5ULtS.d.ts → types-nt7I4XNc.d.cts} +3 -3
- package/dist/{types-Cgh3jqrV.d.cts → types-qvle4Ydu.d.cts} +856 -36
- package/dist/vault/index.cjs +4 -4
- package/dist/vault/index.d.cts +2 -1
- package/dist/vault/index.d.ts +2 -1
- package/dist/vault/index.js +3 -3
- package/dist/vault/types.d.cts +3 -3
- package/dist/vault/types.d.ts +3 -3
- package/package.json +71 -3
- package/surface/ai.md +1 -0
- package/surface/apps.md +32 -0
- package/surface/auth.md +6 -4
- package/surface/chat.md +1 -0
- package/surface/dataScience.md +1 -0
- package/surface/editor.md +1 -0
- package/surface/encryption.md +1 -0
- package/surface/import.md +1 -0
- package/surface/kaiAgent.md +1 -0
- 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 +1 -0
- package/surface/queue.md +7 -6
- package/surface/scheduler.md +1 -0
- package/surface/sdk.md +16 -16
- package/surface/storage.md +119 -83
- package/surface/stream.md +1 -0
- package/surface/syncActions.md +13 -6
- package/surface/vault.md +1 -0
- package/dist/chunk-34GM6NXB.js.map +0 -1
- package/dist/chunk-3BFPNM2J.js.map +0 -1
- package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
- package/dist/chunk-4VVF2PIX.js.map +0 -1
- package/dist/chunk-77LILJYX.js.map +0 -1
- package/dist/chunk-7R22VKV7.cjs.map +0 -1
- package/dist/chunk-7RO6PKZ4.cjs +0 -16
- package/dist/chunk-7YXL4FKN.cjs.map +0 -1
- package/dist/chunk-7Z4MU7ZB.js.map +0 -1
- package/dist/chunk-AFJGNBVM.cjs.map +0 -1
- 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-BR6WZE3O.cjs.map +0 -1
- package/dist/chunk-BZA3FGO6.js.map +0 -1
- package/dist/chunk-CV2JGHBN.js.map +0 -1
- package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
- package/dist/chunk-D4WOOKMI.js.map +0 -1
- package/dist/chunk-DRNOCC6W.cjs.map +0 -1
- package/dist/chunk-F6ZAYTBX.cjs.map +0 -1
- package/dist/chunk-FJBP3MRI.cjs.map +0 -1
- package/dist/chunk-FMS5PNM2.cjs.map +0 -1
- package/dist/chunk-G66EP527.js.map +0 -1
- package/dist/chunk-GF4XZK5N.cjs.map +0 -1
- 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.map +0 -1
- package/dist/chunk-IAYPOSMM.cjs.map +0 -1
- package/dist/chunk-IDWGBCSB.cjs.map +0 -1
- package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
- package/dist/chunk-KEFXOJD7.js.map +0 -1
- 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.map +0 -1
- package/dist/chunk-LIXSIM3H.cjs.map +0 -1
- package/dist/chunk-MMOAH3EH.cjs.map +0 -1
- package/dist/chunk-NVRVPWNY.js.map +0 -1
- package/dist/chunk-OUSPQ55W.js.map +0 -1
- package/dist/chunk-PPQF7LTS.cjs.map +0 -1
- package/dist/chunk-RVBGE2Z4.js.map +0 -1
- package/dist/chunk-S4JK7DKM.js.map +0 -1
- package/dist/chunk-SJZ66FD5.js.map +0 -1
- package/dist/chunk-T242YFMT.cjs.map +0 -1
- package/dist/chunk-UABYNGBZ.js.map +0 -1
- 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-UWQUHP3T.cjs.map +0 -1
- package/dist/chunk-XHDYLUM4.js.map +0 -1
- package/dist/chunk-XIIER7QQ.js.map +0 -1
- package/dist/chunk-XKIENBIE.js.map +0 -1
- package/dist/chunk-Z3HZ4MP4.cjs.map +0 -1
- package/dist/utils-B_SOM1XR.d.ts +0 -3051
- package/dist/utils-DK7uJcmR.d.cts +0 -3051
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as components, S as StorageToken, C as CreateTokenBody, U as
|
|
2
|
-
import {
|
|
1
|
+
import { c as components, S as StorageToken, C as CreateTokenBody, U as UpdateTokenInput, a as ShareTokenInput } from './types-EZBBpiFU.js';
|
|
2
|
+
import { GetStackInfoQuery, StackInfo, GetBucketsInput, Bucket, GetBucketInput, BucketDetail, CreateBucketBody, UpdateBucketInput, DeleteBucketAsyncInput, JobStatus, GetBucketOwnerInput, UpdateBucketOwnerInput, SaveBucketMetadataInput, DeleteBucketMetadataInput, ShareBucketToOrganizationInput, ShareBucketToOrganizationProjectInput, ShareBucketToProjectsInput, ShareBucketToUsersInput, UnshareBucketInput, ForceUnlinkBucketInput, LinkBucketBody, CreateBucketListingInput, UpdateBucketListingInput, RegisterBucketBody, BucketRegistrationGuideQuery, RefreshExternalBucketInput, CreateScheduledRefreshInput, ScheduledTask, GetTablesInput, Table, GetTableInput, TableDetail, GetDataPreviewInput, PreviewData, DeleteTableRowsInput, JobUnion, ExportAsyncInput, TableExportJob, CreateTableAsyncInput, TableCreateJob, CreateTableDefinitionInput, ImportAsyncInput, TableImportJob, UpdateTableDefinitionInput, UpdateTableInput, PullTableAsyncInput, CreateAliasTableInput, SetAliasTableFilterInput, SaveTableMetadataInput, DeleteTableMetadataInput, AddTableColumnInput, DeleteTableColumnInput, CreateTablePrimaryKeyInput, SaveColumnMetadataInput, DeleteColumnMetadataInput, CreateSnapshotInput, Snapshot, GetTableSnapshotsInput, DevBranch, UpdateDevBranchInput, CreateDevBranchBody, SaveDevBranchMetadataInput, DeleteDevBranchMetadataPath, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, GetEventsQuery, StorageEvent, GetTableEventsInput, TableEvent, GetBucketEventsInput, CreateEventBody, File, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, JobOperation, GetJobPath, Job, GetJobsQuery, GetTriggersQuery, CreateTriggerBody, UpdateTriggerInput, Trigger, GlobalSearchQuery, GlobalSearchResponse, SearchTablesQuery, RunIdStats, GetComponentPath, Component, GetComponentsInput, CreateConfigurationInput, BaseComponentConfig, ConfigType, PartialKey, UpdateConfigurationInput, UpdateConfigurationResult, UpdateConfigurationStateInput, ComponentConfig, ConfigurationPath, ConfigurationDiffPath, ConfigurationDiff, RebaseConfigurationInput, DeleteConfigurationInput, PurgeConfigurationInput, PurgeConfigurationsInput, GetConfigurationsPath, SearchComponentConfigurationsInput, SearchComponentConfiguration, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, GetConfigurationRowInput, UpdateConfigurationRowInput, UpdateConfigurationRowStateInput, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceInput, ConfigurationUseCaseType, GetConfigurationWorkspacesPath, GetConfigurationMetadataInput, ConfigurationMetadataItem, SaveConfigurationMetadataInput, DeleteConfigurationMetadataInput, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, RollbackConfigurationToVersionInput, RollbackConfigurationToVersionResult, CopyConfigurationFromVersionInput, CopyConfigurationFromVersionResult, ConfigurationRowVersionPath, ConfigurationRowVersion, ConfigurationRowVersionDetailPath, ConfigurationRowVersionDetail, RollbackConfigurationRowToVersionInput, CopyConfigurationRowFromVersionInput } from './storage/types.js';
|
|
3
3
|
import { C as ClientInitOptions, M as MiddlewareFn$1 } from './types-UwuKN9Kx.js';
|
|
4
4
|
import { c as createGenericFetchClient } from './createGenericFetchClient-ZGG5wbAC.js';
|
|
5
|
-
import { c as createOpenapiFetchClient } from './createOpenapiFetchClient-
|
|
5
|
+
import { c as createOpenapiFetchClient } from './createOpenapiFetchClient-wLlVgp3k.js';
|
|
6
6
|
|
|
7
|
-
type ProcessFn<T, R> = (item: T, index: number, arrayLength: number) =>
|
|
7
|
+
type ProcessFn<T, R> = (item: T, index: number, arrayLength: number) => R | PromiseLike<R>;
|
|
8
8
|
type MiddlewareFn<T, R> = (next: ProcessFn<T, R>) => ProcessFn<T, R>;
|
|
9
9
|
type ConcurrentOptions<T, R> = {
|
|
10
10
|
items: T[];
|
|
@@ -13,10 +13,12 @@ type ConcurrentOptions<T, R> = {
|
|
|
13
13
|
middlewares?: MiddlewareFn<T, R>[];
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
|
-
* Executes
|
|
16
|
+
* Executes a callback function on an array of items, processing multiple items concurrently with a specified concurrency limit.
|
|
17
17
|
* It behaves similarly to Promise.all(), failing on the first rejected promise.
|
|
18
|
+
* After the first rejection no further items are started: items already in flight run to
|
|
19
|
+
* completion (they cannot be cancelled), but the rest of the queue is abandoned — nothing
|
|
20
|
+
* keeps executing detached behind the caller's back after the returned promise has settled.
|
|
18
21
|
* The order of the results matches the order of the promises.
|
|
19
|
-
* The API is the same as Bluebird.map().
|
|
20
22
|
*/
|
|
21
23
|
declare const concurrent: <T, R>({ items, process, concurrency, middlewares, }: ConcurrentOptions<T, R>) => Promise<R[]>;
|
|
22
24
|
|
|
@@ -27,15 +29,15 @@ type StorageClientInitOptions = Omit<ClientInitOptions, 'middlewares'> & {
|
|
|
27
29
|
onRefreshToken?: (newToken: string) => void;
|
|
28
30
|
};
|
|
29
31
|
declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken, }: StorageClientInitOptions) => {
|
|
32
|
+
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
33
|
+
getStackInfo: (query?: GetStackInfoQuery, signal?: AbortSignal) => Promise<StackInfo>;
|
|
30
34
|
buckets: {
|
|
31
|
-
getBuckets: (branchId
|
|
35
|
+
getBuckets: ({ branchId, ...query }: GetBucketsInput, signal?: AbortSignal) => Promise<Bucket[]>;
|
|
32
36
|
getBucket: ({ branchId, bucketId, include }: GetBucketInput, signal?: AbortSignal) => Promise<BucketDetail>;
|
|
33
37
|
createBucket: (body: CreateBucketBody) => Promise<BucketDetail>;
|
|
34
|
-
updateBucket: (
|
|
38
|
+
updateBucket: ({ bucketId, ...body }: UpdateBucketInput) => Promise<BucketDetail>;
|
|
35
39
|
deleteBucket: (id: string) => Promise<void>;
|
|
36
|
-
deleteBucketAsync: (
|
|
37
|
-
force?: boolean;
|
|
38
|
-
}) => Promise<{
|
|
40
|
+
deleteBucketAsync: ({ bucketId, ...query }: DeleteBucketAsyncInput) => Promise<{
|
|
39
41
|
id: number;
|
|
40
42
|
tableId: string | null;
|
|
41
43
|
runId: string;
|
|
@@ -76,14 +78,23 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
76
78
|
status: "success";
|
|
77
79
|
results: null;
|
|
78
80
|
})>;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
getBucketOwner: ({ branchId, bucketId }: GetBucketOwnerInput, signal?: AbortSignal) => Promise<{
|
|
82
|
+
id: number;
|
|
83
|
+
name: string;
|
|
84
|
+
email: string;
|
|
85
|
+
}>;
|
|
86
|
+
updateBucketOwner: ({ bucketId, ...body }: UpdateBucketOwnerInput, signal?: AbortSignal) => Promise<void>;
|
|
87
|
+
saveBucketMetadata: ({ branchId, bucketId, ...body }: SaveBucketMetadataInput, signal?: AbortSignal) => Promise<{
|
|
88
|
+
id: number;
|
|
89
|
+
key: string;
|
|
90
|
+
value: string | null;
|
|
91
|
+
provider: string;
|
|
92
|
+
timestamp: string;
|
|
93
|
+
}[]>;
|
|
94
|
+
deleteBucketMetadata: ({ branchId, bucketId, metadataId }: DeleteBucketMetadataInput, signal?: AbortSignal) => Promise<void>;
|
|
95
|
+
};
|
|
96
|
+
bucketSharing: {
|
|
97
|
+
shareBucketToOrganizationAsync: ({ branchId, bucketId }: ShareBucketToOrganizationInput, signal?: AbortSignal) => Promise<{
|
|
87
98
|
id: number;
|
|
88
99
|
tableId: string | null;
|
|
89
100
|
runId: string;
|
|
@@ -122,7 +133,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
122
133
|
status: "success";
|
|
123
134
|
results: null;
|
|
124
135
|
})>;
|
|
125
|
-
|
|
136
|
+
shareBucketToOrganizationProjectAsync: ({ branchId, bucketId }: ShareBucketToOrganizationProjectInput, signal?: AbortSignal) => Promise<{
|
|
126
137
|
id: number;
|
|
127
138
|
tableId: string | null;
|
|
128
139
|
runId: string;
|
|
@@ -161,7 +172,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
161
172
|
status: "success";
|
|
162
173
|
results: null;
|
|
163
174
|
})>;
|
|
164
|
-
|
|
175
|
+
shareBucketToProjectsAsync: ({ branchId, bucketId, ...body }: ShareBucketToProjectsInput, signal?: AbortSignal) => Promise<{
|
|
165
176
|
id: number;
|
|
166
177
|
tableId: string | null;
|
|
167
178
|
runId: string;
|
|
@@ -200,7 +211,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
200
211
|
status: "success";
|
|
201
212
|
results: null;
|
|
202
213
|
})>;
|
|
203
|
-
|
|
214
|
+
shareBucketToUsersAsync: ({ branchId, bucketId, ...body }: ShareBucketToUsersInput, signal?: AbortSignal) => Promise<{
|
|
204
215
|
id: number;
|
|
205
216
|
tableId: string | null;
|
|
206
217
|
runId: string;
|
|
@@ -239,7 +250,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
239
250
|
status: "success";
|
|
240
251
|
results: null;
|
|
241
252
|
})>;
|
|
242
|
-
|
|
253
|
+
unshareBucketAsync: ({ branchId, bucketId }: UnshareBucketInput, signal?: AbortSignal) => Promise<{
|
|
243
254
|
id: number;
|
|
244
255
|
tableId: string | null;
|
|
245
256
|
runId: string;
|
|
@@ -278,7 +289,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
278
289
|
status: "success";
|
|
279
290
|
results: null;
|
|
280
291
|
})>;
|
|
281
|
-
|
|
292
|
+
forceUnlinkBucketAsync: ({ branchId, bucketId, linkedProjectId }: ForceUnlinkBucketInput, signal?: AbortSignal) => Promise<{
|
|
282
293
|
id: number;
|
|
283
294
|
tableId: string | null;
|
|
284
295
|
runId: string;
|
|
@@ -317,13 +328,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
317
328
|
status: "success";
|
|
318
329
|
results: null;
|
|
319
330
|
})>;
|
|
320
|
-
|
|
321
|
-
id: number;
|
|
322
|
-
name: string;
|
|
323
|
-
email: string;
|
|
324
|
-
}>;
|
|
325
|
-
updateBucketOwner: (bucketId: string, body: UpdateBucketOwnerBody, signal?: AbortSignal) => Promise<void>;
|
|
326
|
-
refreshExternalBucket: (bucketId: string, query?: RefreshExternalBucketQuery, signal?: AbortSignal) => Promise<{
|
|
331
|
+
linkBucketAsync: (body: LinkBucketBody, signal?: AbortSignal) => Promise<{
|
|
327
332
|
id: number;
|
|
328
333
|
tableId: string | null;
|
|
329
334
|
runId: string;
|
|
@@ -335,7 +340,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
335
340
|
};
|
|
336
341
|
endTime: string | null;
|
|
337
342
|
startTime: string | null;
|
|
338
|
-
operationName: "
|
|
343
|
+
operationName: "bucketLink";
|
|
339
344
|
operationParams: {
|
|
340
345
|
queue: string;
|
|
341
346
|
} & Record<string, unknown>;
|
|
@@ -360,9 +365,19 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
360
365
|
};
|
|
361
366
|
} | {
|
|
362
367
|
status: "success";
|
|
363
|
-
results:
|
|
368
|
+
results: BucketDetail;
|
|
364
369
|
})>;
|
|
365
|
-
|
|
370
|
+
sharedBuckets: (signal?: AbortSignal) => Promise<Record<string, never>[]>;
|
|
371
|
+
};
|
|
372
|
+
bucketListings: {
|
|
373
|
+
getListing: (bucketId: string, signal?: AbortSignal) => Promise<{
|
|
374
|
+
name: string;
|
|
375
|
+
description?: string | null;
|
|
376
|
+
backend: "bigquery";
|
|
377
|
+
bigquery?: components["schemas"]["BigQueryBucketListingDetailResponse"] | null;
|
|
378
|
+
createdAt: string;
|
|
379
|
+
} | null>;
|
|
380
|
+
createListingAsync: ({ bucketId, ...input }: CreateBucketListingInput, signal?: AbortSignal) => Promise<{
|
|
366
381
|
id: number;
|
|
367
382
|
tableId: string | null;
|
|
368
383
|
runId: string;
|
|
@@ -374,10 +389,12 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
374
389
|
};
|
|
375
390
|
endTime: string | null;
|
|
376
391
|
startTime: string | null;
|
|
377
|
-
operationName: "
|
|
392
|
+
operationName: "bucketListingCreate";
|
|
378
393
|
operationParams: {
|
|
379
394
|
queue: string;
|
|
380
|
-
} &
|
|
395
|
+
} & {
|
|
396
|
+
bucketId: string;
|
|
397
|
+
};
|
|
381
398
|
metrics: {
|
|
382
399
|
inCompressed: boolean;
|
|
383
400
|
inBytes: number;
|
|
@@ -401,45 +418,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
401
418
|
status: "success";
|
|
402
419
|
results: null;
|
|
403
420
|
})>;
|
|
404
|
-
|
|
405
|
-
markdown: string;
|
|
406
|
-
}>;
|
|
407
|
-
sharedBuckets: (signal?: AbortSignal) => Promise<Record<string, never>[]>;
|
|
408
|
-
saveBucketMetadata: (bucketId: string, body: SaveBucketMetadataBody, signal?: AbortSignal) => Promise<{
|
|
409
|
-
id: number;
|
|
410
|
-
key: string;
|
|
411
|
-
value: string | null;
|
|
412
|
-
provider: string;
|
|
413
|
-
timestamp: string;
|
|
414
|
-
}[]>;
|
|
415
|
-
deleteBucketMetadata: (bucketId: string, metadataId: string, signal?: AbortSignal) => Promise<void>;
|
|
416
|
-
};
|
|
417
|
-
events: {
|
|
418
|
-
getEvents: (query?: GetEventsQuery, signal?: AbortSignal) => Promise<StorageEvent[]>;
|
|
419
|
-
getEvent: (eventId: string | number, signal?: AbortSignal) => Promise<StorageEvent>;
|
|
420
|
-
getTableEvents: ({ branchId, tableId, ...query }: GetTableEventsInput, signal?: AbortSignal) => Promise<TableEvent[]>;
|
|
421
|
-
getBucketEvents: ({ branchId, bucketId, ...query }: GetBucketEventsInput, signal?: AbortSignal) => Promise<TableEvent[]>;
|
|
422
|
-
createEvent: (body: CreateEventBody, signal?: AbortSignal) => Promise<StorageEvent>;
|
|
423
|
-
};
|
|
424
|
-
files: {
|
|
425
|
-
getFile: (fileId: number, signal?: AbortSignal) => Promise<File>;
|
|
426
|
-
getFileContent: (fileId: number, signal?: AbortSignal) => Promise<string>;
|
|
427
|
-
getFiles: (query?: GetFilesQuery, signal?: AbortSignal) => Promise<File[]>;
|
|
428
|
-
deleteFile: (fileId: number) => Promise<void>;
|
|
429
|
-
addFileTag: (fileId: number, tag: string) => Promise<void>;
|
|
430
|
-
deleteFileTag: (fileId: DeleteFileTagPath["fileId"], tag: DeleteFileTagPath["tag"]) => Promise<void>;
|
|
431
|
-
prepareFile: (body: PrepareFileBody, signal?: AbortSignal) => Promise<PreparedFile>;
|
|
432
|
-
};
|
|
433
|
-
tables: {
|
|
434
|
-
getTables: (branchId: string, query?: GetTablesQuery, signal?: AbortSignal) => Promise<Table[]>;
|
|
435
|
-
getTable: ({ branchId, tableId }: GetTableInput, signal?: AbortSignal) => Promise<TableDetail>;
|
|
436
|
-
getDataPreview: ({ branchId, tableId, ...query }: GetDataPreviewInput, signal?: AbortSignal) => Promise<PreviewData>;
|
|
437
|
-
deleteTable: (id: string, signal?: AbortSignal) => Promise<void>;
|
|
438
|
-
deleteTables: (ids: string[]) => Promise<void>;
|
|
439
|
-
deleteTableRows: (id: string, query?: DeleteTableRows, signal?: AbortSignal) => Promise<JobUnion>;
|
|
440
|
-
exportAsync: (tableId: string, body?: TableExportAsyncBody, signal?: AbortSignal) => Promise<TableExportJob>;
|
|
441
|
-
createTableAsync: (bucketId: string, body: CreateTableAsyncBody, signal?: AbortSignal) => Promise<TableCreateJob>;
|
|
442
|
-
createTableDefinitionAsync: (bucketId: string, body: CreateTableDefinitionBody, signal?: AbortSignal) => Promise<{
|
|
421
|
+
updateListingAsync: ({ bucketId, ...input }: UpdateBucketListingInput, signal?: AbortSignal) => Promise<{
|
|
443
422
|
id: number;
|
|
444
423
|
tableId: string | null;
|
|
445
424
|
runId: string;
|
|
@@ -451,15 +430,11 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
451
430
|
};
|
|
452
431
|
endTime: string | null;
|
|
453
432
|
startTime: string | null;
|
|
454
|
-
operationName: "
|
|
433
|
+
operationName: "bucketListingUpdate";
|
|
455
434
|
operationParams: {
|
|
456
435
|
queue: string;
|
|
457
436
|
} & {
|
|
458
|
-
|
|
459
|
-
primaryKeysNames: string[];
|
|
460
|
-
name: string;
|
|
461
|
-
backendConfiguration: unknown[];
|
|
462
|
-
columns: unknown[];
|
|
437
|
+
bucketId: string;
|
|
463
438
|
};
|
|
464
439
|
metrics: {
|
|
465
440
|
inCompressed: boolean;
|
|
@@ -482,10 +457,9 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
482
457
|
};
|
|
483
458
|
} | {
|
|
484
459
|
status: "success";
|
|
485
|
-
results:
|
|
460
|
+
results: null;
|
|
486
461
|
})>;
|
|
487
|
-
|
|
488
|
-
updateTableDefinition: ({ branchId, tableId, ...body }: UpdateTableDefinitionInput, signal?: AbortSignal) => Promise<{
|
|
462
|
+
deleteListingAsync: (bucketId: string, signal?: AbortSignal) => Promise<{
|
|
489
463
|
id: number;
|
|
490
464
|
tableId: string | null;
|
|
491
465
|
runId: string;
|
|
@@ -497,14 +471,11 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
497
471
|
};
|
|
498
472
|
endTime: string | null;
|
|
499
473
|
startTime: string | null;
|
|
500
|
-
operationName: "
|
|
474
|
+
operationName: "bucketListingDelete";
|
|
501
475
|
operationParams: {
|
|
502
476
|
queue: string;
|
|
503
477
|
} & {
|
|
504
|
-
|
|
505
|
-
displayName: string;
|
|
506
|
-
description?: string | null;
|
|
507
|
-
columns: unknown[];
|
|
478
|
+
bucketId: string;
|
|
508
479
|
};
|
|
509
480
|
metrics: {
|
|
510
481
|
inCompressed: boolean;
|
|
@@ -527,10 +498,20 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
527
498
|
};
|
|
528
499
|
} | {
|
|
529
500
|
status: "success";
|
|
530
|
-
results:
|
|
501
|
+
results: null;
|
|
531
502
|
})>;
|
|
532
|
-
|
|
533
|
-
|
|
503
|
+
getListings: (signal?: AbortSignal) => Promise<{
|
|
504
|
+
bucketId: string;
|
|
505
|
+
name: string;
|
|
506
|
+
description?: string | null;
|
|
507
|
+
backend: "bigquery";
|
|
508
|
+
bigquery?: components["schemas"]["BigQueryBucketListingDetailResponse"] | null;
|
|
509
|
+
createdAt: string;
|
|
510
|
+
detail: components["schemas"]["BucketListingDetailResponse"];
|
|
511
|
+
}[]>;
|
|
512
|
+
};
|
|
513
|
+
bucketExternal: {
|
|
514
|
+
registerBucketAsync: (body: RegisterBucketBody, signal?: AbortSignal) => Promise<{
|
|
534
515
|
id: number;
|
|
535
516
|
tableId: string | null;
|
|
536
517
|
runId: string;
|
|
@@ -542,12 +523,57 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
542
523
|
};
|
|
543
524
|
endTime: string | null;
|
|
544
525
|
startTime: string | null;
|
|
545
|
-
operationName: "
|
|
526
|
+
operationName: "bucketRegister";
|
|
546
527
|
operationParams: {
|
|
547
528
|
queue: string;
|
|
548
|
-
} &
|
|
529
|
+
} & Record<string, unknown>;
|
|
530
|
+
metrics: {
|
|
531
|
+
inCompressed: boolean;
|
|
532
|
+
inBytes: number;
|
|
533
|
+
inBytesUncompressed: number;
|
|
534
|
+
outCompressed: boolean;
|
|
535
|
+
outBytes: number;
|
|
536
|
+
outBytesUncompressed: number;
|
|
537
|
+
};
|
|
538
|
+
} & ({
|
|
539
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
540
|
+
results: null;
|
|
541
|
+
} | {
|
|
542
|
+
status: "error";
|
|
543
|
+
results: null;
|
|
544
|
+
error: {
|
|
545
|
+
code: string;
|
|
546
|
+
message: string;
|
|
547
|
+
exceptionId?: string;
|
|
548
|
+
};
|
|
549
|
+
} | {
|
|
550
|
+
status: "success";
|
|
551
|
+
results: {
|
|
552
|
+
id: string;
|
|
553
|
+
warnings?: {
|
|
554
|
+
message: string;
|
|
555
|
+
}[];
|
|
556
|
+
};
|
|
557
|
+
})>;
|
|
558
|
+
getBucketRegistrationGuide: (query: BucketRegistrationGuideQuery, signal?: AbortSignal) => Promise<{
|
|
559
|
+
markdown: string;
|
|
560
|
+
}>;
|
|
561
|
+
refreshExternalBucketAsync: ({ bucketId, ...query }: RefreshExternalBucketInput, signal?: AbortSignal) => Promise<{
|
|
562
|
+
id: number;
|
|
563
|
+
tableId: string | null;
|
|
564
|
+
runId: string;
|
|
565
|
+
url: string;
|
|
566
|
+
createdTime: string;
|
|
567
|
+
creatorToken: {
|
|
549
568
|
id: string;
|
|
569
|
+
description: string;
|
|
550
570
|
};
|
|
571
|
+
endTime: string | null;
|
|
572
|
+
startTime: string | null;
|
|
573
|
+
operationName: "bucketRefresh";
|
|
574
|
+
operationParams: {
|
|
575
|
+
queue: string;
|
|
576
|
+
} & Record<string, unknown>;
|
|
551
577
|
metrics: {
|
|
552
578
|
inCompressed: boolean;
|
|
553
579
|
inBytes: number;
|
|
@@ -569,9 +595,25 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
569
595
|
};
|
|
570
596
|
} | {
|
|
571
597
|
status: "success";
|
|
572
|
-
results:
|
|
598
|
+
results: {
|
|
599
|
+
warnings?: {
|
|
600
|
+
message: string;
|
|
601
|
+
}[];
|
|
602
|
+
};
|
|
573
603
|
})>;
|
|
574
|
-
|
|
604
|
+
createScheduledRefresh: ({ branchId, bucketId, ...body }: CreateScheduledRefreshInput) => Promise<ScheduledTask>;
|
|
605
|
+
deleteScheduledTask: (taskId: string) => Promise<void>;
|
|
606
|
+
};
|
|
607
|
+
tables: {
|
|
608
|
+
getTables: ({ branchId, include, ...query }: GetTablesInput, signal?: AbortSignal) => Promise<Table[]>;
|
|
609
|
+
getTable: ({ branchId, tableId }: GetTableInput, signal?: AbortSignal) => Promise<TableDetail>;
|
|
610
|
+
getDataPreview: ({ branchId, tableId, ...query }: GetDataPreviewInput, signal?: AbortSignal) => Promise<PreviewData>;
|
|
611
|
+
deleteTable: (id: string, signal?: AbortSignal) => Promise<void>;
|
|
612
|
+
deleteTables: (ids: string[]) => Promise<void>;
|
|
613
|
+
deleteTableRows: ({ tableId, ...query }: DeleteTableRowsInput, signal?: AbortSignal) => Promise<JobUnion>;
|
|
614
|
+
exportAsync: ({ tableId, ...body }: ExportAsyncInput, signal?: AbortSignal) => Promise<TableExportJob>;
|
|
615
|
+
createTableAsync: ({ bucketId, ...body }: CreateTableAsyncInput, signal?: AbortSignal) => Promise<TableCreateJob>;
|
|
616
|
+
createTableDefinitionAsync: ({ bucketId, ...body }: CreateTableDefinitionInput, signal?: AbortSignal) => Promise<{
|
|
575
617
|
id: number;
|
|
576
618
|
tableId: string | null;
|
|
577
619
|
runId: string;
|
|
@@ -583,12 +625,15 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
583
625
|
};
|
|
584
626
|
endTime: string | null;
|
|
585
627
|
startTime: string | null;
|
|
586
|
-
operationName: "
|
|
628
|
+
operationName: "tableDefinitionCreate";
|
|
587
629
|
operationParams: {
|
|
588
630
|
queue: string;
|
|
589
631
|
} & {
|
|
632
|
+
timestampType: string;
|
|
633
|
+
primaryKeysNames: string[];
|
|
590
634
|
name: string;
|
|
591
|
-
|
|
635
|
+
backendConfiguration: unknown[];
|
|
636
|
+
columns: unknown[];
|
|
592
637
|
};
|
|
593
638
|
metrics: {
|
|
594
639
|
inCompressed: boolean;
|
|
@@ -611,11 +656,10 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
611
656
|
};
|
|
612
657
|
} | {
|
|
613
658
|
status: "success";
|
|
614
|
-
results:
|
|
615
|
-
})
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
createSnapshot: ({ branchId, tableId, ...body }: CreateSnapshotInput, signal?: AbortSignal) => Promise<{
|
|
659
|
+
results: Table;
|
|
660
|
+
})>;
|
|
661
|
+
importAsync: ({ tableId, ...body }: ImportAsyncInput, signal?: AbortSignal) => Promise<TableImportJob>;
|
|
662
|
+
updateTableDefinition: ({ branchId, tableId, ...body }: UpdateTableDefinitionInput, signal?: AbortSignal) => Promise<{
|
|
619
663
|
id: number;
|
|
620
664
|
tableId: string | null;
|
|
621
665
|
runId: string;
|
|
@@ -627,11 +671,14 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
627
671
|
};
|
|
628
672
|
endTime: string | null;
|
|
629
673
|
startTime: string | null;
|
|
630
|
-
operationName: "
|
|
674
|
+
operationName: "tableDefinitionUpdate";
|
|
631
675
|
operationParams: {
|
|
632
676
|
queue: string;
|
|
633
677
|
} & {
|
|
634
|
-
|
|
678
|
+
tableId: string;
|
|
679
|
+
displayName: string;
|
|
680
|
+
description?: string | null;
|
|
681
|
+
columns: unknown[];
|
|
635
682
|
};
|
|
636
683
|
metrics: {
|
|
637
684
|
inCompressed: boolean;
|
|
@@ -654,15 +701,10 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
654
701
|
};
|
|
655
702
|
} | {
|
|
656
703
|
status: "success";
|
|
657
|
-
results:
|
|
704
|
+
results: Table;
|
|
658
705
|
})>;
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
saveTableMetadata: (tableId: string, body: SaveMetadataBody, signal?: AbortSignal) => Promise<Metadata[]>;
|
|
662
|
-
deleteTableMetadata: (tableId: string, metadataId: string, signal?: AbortSignal) => Promise<void>;
|
|
663
|
-
};
|
|
664
|
-
columns: {
|
|
665
|
-
addTableColumn: (tableId: string, body: AddTableColumnBody, signal?: AbortSignal) => Promise<{
|
|
706
|
+
updateTable: ({ tableId, ...body }: UpdateTableInput, signal?: AbortSignal) => Promise<Table>;
|
|
707
|
+
pullTableAsync: ({ branchId, tableId }: PullTableAsyncInput, signal?: AbortSignal) => Promise<{
|
|
666
708
|
id: number;
|
|
667
709
|
tableId: string | null;
|
|
668
710
|
runId: string;
|
|
@@ -674,7 +716,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
674
716
|
};
|
|
675
717
|
endTime: string | null;
|
|
676
718
|
startTime: string | null;
|
|
677
|
-
operationName: "
|
|
719
|
+
operationName: "devBranchTablePull";
|
|
678
720
|
operationParams: {
|
|
679
721
|
queue: string;
|
|
680
722
|
} & {
|
|
@@ -703,7 +745,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
703
745
|
status: "success";
|
|
704
746
|
results: null;
|
|
705
747
|
})>;
|
|
706
|
-
|
|
748
|
+
createAliasTable: ({ bucketId, ...body }: CreateAliasTableInput, signal?: AbortSignal) => Promise<Table | ({
|
|
707
749
|
id: number;
|
|
708
750
|
tableId: string | null;
|
|
709
751
|
runId: string;
|
|
@@ -715,11 +757,12 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
715
757
|
};
|
|
716
758
|
endTime: string | null;
|
|
717
759
|
startTime: string | null;
|
|
718
|
-
operationName: "
|
|
760
|
+
operationName: "aliasCreate";
|
|
719
761
|
operationParams: {
|
|
720
762
|
queue: string;
|
|
721
763
|
} & {
|
|
722
|
-
|
|
764
|
+
name: string;
|
|
765
|
+
sourceTable: string;
|
|
723
766
|
};
|
|
724
767
|
metrics: {
|
|
725
768
|
inCompressed: boolean;
|
|
@@ -743,8 +786,19 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
743
786
|
} | {
|
|
744
787
|
status: "success";
|
|
745
788
|
results: null;
|
|
746
|
-
})>;
|
|
747
|
-
|
|
789
|
+
}))>;
|
|
790
|
+
setAliasTableFilter: ({ tableId, ...body }: SetAliasTableFilterInput, signal?: AbortSignal) => Promise<Table>;
|
|
791
|
+
removeAliasTableFilter: (tableId: string, signal?: AbortSignal) => Promise<void>;
|
|
792
|
+
saveTableMetadata: ({ branchId, tableId, ...body }: SaveTableMetadataInput, signal?: AbortSignal) => Promise<{
|
|
793
|
+
metadata: components["schemas"]["MetadataItemResponse"][];
|
|
794
|
+
columnsMetadata: {
|
|
795
|
+
[key: string]: components["schemas"]["MetadataItemResponse"][];
|
|
796
|
+
};
|
|
797
|
+
}>;
|
|
798
|
+
deleteTableMetadata: ({ branchId, tableId, metadataId }: DeleteTableMetadataInput, signal?: AbortSignal) => Promise<void>;
|
|
799
|
+
};
|
|
800
|
+
columns: {
|
|
801
|
+
addTableColumnAsync: ({ id, ...body }: AddTableColumnInput, signal?: AbortSignal) => Promise<{
|
|
748
802
|
id: number;
|
|
749
803
|
tableId: string | null;
|
|
750
804
|
runId: string;
|
|
@@ -756,7 +810,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
756
810
|
};
|
|
757
811
|
endTime: string | null;
|
|
758
812
|
startTime: string | null;
|
|
759
|
-
operationName: "
|
|
813
|
+
operationName: "tableColumnAdd";
|
|
760
814
|
operationParams: {
|
|
761
815
|
queue: string;
|
|
762
816
|
} & {
|
|
@@ -785,7 +839,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
785
839
|
status: "success";
|
|
786
840
|
results: null;
|
|
787
841
|
})>;
|
|
788
|
-
|
|
842
|
+
deleteTableColumnAsync: ({ tableId, columnName, ...query }: DeleteTableColumnInput, signal?: AbortSignal) => Promise<{
|
|
789
843
|
id: number;
|
|
790
844
|
tableId: string | null;
|
|
791
845
|
runId: string;
|
|
@@ -797,7 +851,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
797
851
|
};
|
|
798
852
|
endTime: string | null;
|
|
799
853
|
startTime: string | null;
|
|
800
|
-
operationName: "
|
|
854
|
+
operationName: "tableColumnDelete";
|
|
801
855
|
operationParams: {
|
|
802
856
|
queue: string;
|
|
803
857
|
} & {
|
|
@@ -826,12 +880,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
826
880
|
status: "success";
|
|
827
881
|
results: null;
|
|
828
882
|
})>;
|
|
829
|
-
|
|
830
|
-
deleteColumnMetadata: (columnId: string, metadataId: string, signal?: AbortSignal) => Promise<void>;
|
|
831
|
-
};
|
|
832
|
-
branches: {
|
|
833
|
-
getDevBranches: (signal?: AbortSignal) => Promise<DevBranch[]>;
|
|
834
|
-
createDevBranchJob: (body: CreateDevBranchJobBody) => Promise<{
|
|
883
|
+
createTablePrimaryKeyAsync: ({ tableId, ...body }: CreateTablePrimaryKeyInput, signal?: AbortSignal) => Promise<{
|
|
835
884
|
id: number;
|
|
836
885
|
tableId: string | null;
|
|
837
886
|
runId: string;
|
|
@@ -843,14 +892,11 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
843
892
|
};
|
|
844
893
|
endTime: string | null;
|
|
845
894
|
startTime: string | null;
|
|
846
|
-
operationName: "
|
|
895
|
+
operationName: "tablePrimaryKeyAdd";
|
|
847
896
|
operationParams: {
|
|
848
897
|
queue: string;
|
|
849
898
|
} & {
|
|
850
|
-
|
|
851
|
-
name: string;
|
|
852
|
-
description: string;
|
|
853
|
-
};
|
|
899
|
+
id: string;
|
|
854
900
|
};
|
|
855
901
|
metrics: {
|
|
856
902
|
inCompressed: boolean;
|
|
@@ -863,9 +909,6 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
863
909
|
} & ({
|
|
864
910
|
status: Exclude<JobStatus, "success" | "error">;
|
|
865
911
|
results: null;
|
|
866
|
-
} | {
|
|
867
|
-
status: "success";
|
|
868
|
-
results: DevBranch;
|
|
869
912
|
} | {
|
|
870
913
|
status: "error";
|
|
871
914
|
results: null;
|
|
@@ -874,9 +917,11 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
874
917
|
message: string;
|
|
875
918
|
exceptionId?: string;
|
|
876
919
|
};
|
|
920
|
+
} | {
|
|
921
|
+
status: "success";
|
|
922
|
+
results: null;
|
|
877
923
|
})>;
|
|
878
|
-
|
|
879
|
-
deleteDevBranchJob: (id: number) => Promise<{
|
|
924
|
+
removeTablePrimaryKeyAsync: (tableId: string, signal?: AbortSignal) => Promise<{
|
|
880
925
|
id: number;
|
|
881
926
|
tableId: string | null;
|
|
882
927
|
runId: string;
|
|
@@ -888,13 +933,11 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
888
933
|
};
|
|
889
934
|
endTime: string | null;
|
|
890
935
|
startTime: string | null;
|
|
891
|
-
operationName: "
|
|
936
|
+
operationName: "tablePrimaryKeyDelete";
|
|
892
937
|
operationParams: {
|
|
893
938
|
queue: string;
|
|
894
939
|
} & {
|
|
895
|
-
|
|
896
|
-
id: number;
|
|
897
|
-
};
|
|
940
|
+
id: string;
|
|
898
941
|
};
|
|
899
942
|
metrics: {
|
|
900
943
|
inCompressed: boolean;
|
|
@@ -919,19 +962,17 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
919
962
|
status: "success";
|
|
920
963
|
results: null;
|
|
921
964
|
})>;
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
965
|
+
saveColumnMetadata: ({ branchId, columnId, ...body }: SaveColumnMetadataInput, signal?: AbortSignal) => Promise<{
|
|
966
|
+
id: number;
|
|
967
|
+
key: string;
|
|
968
|
+
value: string | null;
|
|
969
|
+
provider: string;
|
|
970
|
+
timestamp: string;
|
|
971
|
+
}[]>;
|
|
972
|
+
deleteColumnMetadata: ({ branchId, columnId, metadataId }: DeleteColumnMetadataInput, signal?: AbortSignal) => Promise<void>;
|
|
925
973
|
};
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
getWorkspaces: (branchId: WorkspacesPath["branchId"], signal?: AbortSignal) => Promise<Workspace[]>;
|
|
929
|
-
deleteWorkspace: (path: WorkspacePath) => Promise<void>;
|
|
930
|
-
resetWorkspacePassword: ({ branchId, workspaceId }: WorkspacePath) => Promise<ResetWorkspacePassword>;
|
|
931
|
-
deleteWorkspaces: ({ workspaceIds, branchId, }: Omit<WorkspacePath, "workspaceId"> & {
|
|
932
|
-
workspaceIds: WorkspacePath["workspaceId"][];
|
|
933
|
-
}) => Promise<void>;
|
|
934
|
-
deleteWorkspaceJob: (path: WorkspacePath) => Promise<{
|
|
974
|
+
snapshots: {
|
|
975
|
+
createSnapshotAsync: ({ branchId, tableId, ...body }: CreateSnapshotInput, signal?: AbortSignal) => Promise<{
|
|
935
976
|
id: number;
|
|
936
977
|
tableId: string | null;
|
|
937
978
|
runId: string;
|
|
@@ -943,12 +984,11 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
943
984
|
};
|
|
944
985
|
endTime: string | null;
|
|
945
986
|
startTime: string | null;
|
|
946
|
-
operationName: "
|
|
987
|
+
operationName: "tableSnapshotCreate";
|
|
947
988
|
operationParams: {
|
|
948
989
|
queue: string;
|
|
949
990
|
} & {
|
|
950
|
-
|
|
951
|
-
backendConfiguration: [];
|
|
991
|
+
id: string;
|
|
952
992
|
};
|
|
953
993
|
metrics: {
|
|
954
994
|
inCompressed: boolean;
|
|
@@ -973,10 +1013,14 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
973
1013
|
status: "success";
|
|
974
1014
|
results: null;
|
|
975
1015
|
})>;
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
1016
|
+
deleteSnapshotAsync: (snapshotId: string, signal?: AbortSignal) => Promise<JobUnion | null>;
|
|
1017
|
+
getSnapshot: (snapshotId: string, signal?: AbortSignal) => Promise<Snapshot>;
|
|
1018
|
+
getTableSnapshots: ({ branchId, tableId, ...query }: GetTableSnapshotsInput, signal?: AbortSignal) => Promise<Snapshot[]>;
|
|
1019
|
+
};
|
|
1020
|
+
branches: {
|
|
1021
|
+
getDevBranches: (signal?: AbortSignal) => Promise<DevBranch[]>;
|
|
1022
|
+
updateDevBranch: ({ id, name, description }: UpdateDevBranchInput) => Promise<DevBranch>;
|
|
1023
|
+
createDevBranchAsync: (body: CreateDevBranchBody) => Promise<{
|
|
980
1024
|
id: number;
|
|
981
1025
|
tableId: string | null;
|
|
982
1026
|
runId: string;
|
|
@@ -988,12 +1032,14 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
988
1032
|
};
|
|
989
1033
|
endTime: string | null;
|
|
990
1034
|
startTime: string | null;
|
|
991
|
-
operationName: "
|
|
1035
|
+
operationName: "devBranchCreate";
|
|
992
1036
|
operationParams: {
|
|
993
1037
|
queue: string;
|
|
994
1038
|
} & {
|
|
995
|
-
|
|
996
|
-
|
|
1039
|
+
values: {
|
|
1040
|
+
name: string;
|
|
1041
|
+
description: string;
|
|
1042
|
+
};
|
|
997
1043
|
};
|
|
998
1044
|
metrics: {
|
|
999
1045
|
inCompressed: boolean;
|
|
@@ -1008,41 +1054,72 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1008
1054
|
results: null;
|
|
1009
1055
|
} | {
|
|
1010
1056
|
status: "success";
|
|
1011
|
-
results:
|
|
1012
|
-
deleted: {
|
|
1013
|
-
objectName: string;
|
|
1014
|
-
}[];
|
|
1015
|
-
failed: {
|
|
1016
|
-
objectName: string;
|
|
1017
|
-
error: string;
|
|
1018
|
-
}[];
|
|
1019
|
-
};
|
|
1057
|
+
results: DevBranch;
|
|
1020
1058
|
} | {
|
|
1021
1059
|
status: "error";
|
|
1022
|
-
results:
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1060
|
+
results: null;
|
|
1061
|
+
error: {
|
|
1062
|
+
code: string;
|
|
1063
|
+
message: string;
|
|
1064
|
+
exceptionId?: string;
|
|
1065
|
+
};
|
|
1066
|
+
})>;
|
|
1067
|
+
deleteDevBranchAsync: (id: number) => Promise<{
|
|
1068
|
+
id: number;
|
|
1069
|
+
tableId: string | null;
|
|
1070
|
+
runId: string;
|
|
1071
|
+
url: string;
|
|
1072
|
+
createdTime: string;
|
|
1073
|
+
creatorToken: {
|
|
1074
|
+
id: string;
|
|
1075
|
+
description: string;
|
|
1076
|
+
};
|
|
1077
|
+
endTime: string | null;
|
|
1078
|
+
startTime: string | null;
|
|
1079
|
+
operationName: "devBranchDelete";
|
|
1080
|
+
operationParams: {
|
|
1081
|
+
queue: string;
|
|
1082
|
+
} & {
|
|
1083
|
+
values: {
|
|
1084
|
+
id: number;
|
|
1085
|
+
};
|
|
1030
1086
|
};
|
|
1087
|
+
metrics: {
|
|
1088
|
+
inCompressed: boolean;
|
|
1089
|
+
inBytes: number;
|
|
1090
|
+
inBytesUncompressed: number;
|
|
1091
|
+
outCompressed: boolean;
|
|
1092
|
+
outBytes: number;
|
|
1093
|
+
outBytesUncompressed: number;
|
|
1094
|
+
};
|
|
1095
|
+
} & ({
|
|
1096
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
1097
|
+
results: null;
|
|
1098
|
+
} | {
|
|
1099
|
+
status: "error";
|
|
1100
|
+
results: null;
|
|
1031
1101
|
error: {
|
|
1032
1102
|
code: string;
|
|
1033
1103
|
message: string;
|
|
1034
1104
|
exceptionId?: string;
|
|
1035
1105
|
};
|
|
1106
|
+
} | {
|
|
1107
|
+
status: "success";
|
|
1108
|
+
results: null;
|
|
1036
1109
|
})>;
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1110
|
+
getDevBranchMetadata: (branchId: string, signal?: AbortSignal) => Promise<{
|
|
1111
|
+
id: string;
|
|
1112
|
+
key: string;
|
|
1113
|
+
value: string | null;
|
|
1114
|
+
timestamp: string;
|
|
1115
|
+
}[]>;
|
|
1116
|
+
saveDevBranchMetadata: ({ branchId, metadata }: SaveDevBranchMetadataInput, signal?: AbortSignal) => Promise<{
|
|
1117
|
+
id: string;
|
|
1118
|
+
key: string;
|
|
1119
|
+
value: string | null;
|
|
1120
|
+
timestamp: string;
|
|
1121
|
+
}[]>;
|
|
1122
|
+
deleteDevBranchMetadata: ({ branchId, metadataId }: DeleteDevBranchMetadataPath, signal?: AbortSignal) => Promise<void>;
|
|
1046
1123
|
};
|
|
1047
1124
|
mergeRequests: {
|
|
1048
1125
|
getMergeRequests: (signal?: AbortSignal) => Promise<{
|
|
@@ -1268,7 +1345,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1268
1345
|
startTime?: string | null;
|
|
1269
1346
|
endTime?: string | null;
|
|
1270
1347
|
runId: string;
|
|
1271
|
-
results?: components["schemas"]["BucketListingUpdateJobResponse"] | components["schemas"]["BucketListingCreateJobResult"] | components["schemas"]["BucketListingDeleteResponse"] | components["schemas"]["BucketDeleteResponse"] | components["schemas"]["RefreshJobResponse"] | components["schemas"]["FileDeleteResponse"] | components["schemas"]["TableSnapshotCreateJobResult"] | components["schemas"]["TableExportAsyncJobResponse"] | components["schemas"]["PrimaryKeyDeleteJobResult"] | components["schemas"]["TableSwapResult"] | components["schemas"]["TableCreateResponse"] | components["schemas"]["TableExportJobResponse"];
|
|
1348
|
+
results?: components["schemas"]["BucketForceUnlinkJobResult"] | components["schemas"]["BucketListingUpdateJobResponse"] | components["schemas"]["BucketListingCreateJobResult"] | components["schemas"]["BucketListingDeleteResponse"] | components["schemas"]["BucketDeleteResponse"] | components["schemas"]["RefreshJobResponse"] | components["schemas"]["FileDeleteResponse"] | components["schemas"]["TableSnapshotCreateJobResult"] | components["schemas"]["TableExportAsyncJobResponse"] | components["schemas"]["PrimaryKeyDeleteJobResult"] | components["schemas"]["TableSwapResult"] | components["schemas"]["TableCreateResponse"] | components["schemas"]["ColumnDeleteJobResult"] | components["schemas"]["TableExportJobResponse"];
|
|
1272
1349
|
creatorToken: {
|
|
1273
1350
|
id?: string;
|
|
1274
1351
|
description?: string;
|
|
@@ -1298,37 +1375,31 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1298
1375
|
defaultBranchVersionIdentifier: string;
|
|
1299
1376
|
}[]>;
|
|
1300
1377
|
};
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1378
|
+
events: {
|
|
1379
|
+
getEvents: (query?: GetEventsQuery, signal?: AbortSignal) => Promise<StorageEvent[]>;
|
|
1380
|
+
getEvent: (eventId: string | number, signal?: AbortSignal) => Promise<StorageEvent>;
|
|
1381
|
+
getTableEvents: ({ branchId, tableId, ...query }: GetTableEventsInput, signal?: AbortSignal) => Promise<TableEvent[]>;
|
|
1382
|
+
getBucketEvents: ({ branchId, bucketId, ...query }: GetBucketEventsInput, signal?: AbortSignal) => Promise<TableEvent[]>;
|
|
1383
|
+
createEvent: (body: CreateEventBody, signal?: AbortSignal) => Promise<StorageEvent>;
|
|
1304
1384
|
};
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
}) => Promise<
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
resetConfigurationToDefault: ({ branchId, componentId, configId, }: ConfigurationPath) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
1322
|
-
createConfigurationRow: ({ branchId, componentId, configId, ...body }: PartialKey<CreateConfigurationRowInput, "branchId">) => Promise<Row>;
|
|
1323
|
-
createConfigurationRows: ({ branchId, componentId, configId, data, }: PartialKey<CreateConfigurationRowsInput, "branchId">, options?: {
|
|
1324
|
-
middlewares: MiddlewareFn<CreateConfigurationRowBody, Row>[];
|
|
1325
|
-
}) => Promise<Row[]>;
|
|
1326
|
-
deleteConfigurationRow: ({ changeDescription, ...path }: DeleteConfigurationRowInput) => Promise<void>;
|
|
1327
|
-
deleteConfigurationRows: ({ rowIds, changeDescription, ...input }: DeleteConfigurationRowsInput, options?: {
|
|
1328
|
-
middlewares: MiddlewareFn<string, void>[];
|
|
1385
|
+
files: {
|
|
1386
|
+
getFile: (fileId: number, signal?: AbortSignal) => Promise<File>;
|
|
1387
|
+
getFileContent: (fileId: number, signal?: AbortSignal) => Promise<string>;
|
|
1388
|
+
getFiles: (query?: GetFilesQuery, signal?: AbortSignal) => Promise<File[]>;
|
|
1389
|
+
deleteFile: (fileId: number) => Promise<void>;
|
|
1390
|
+
addFileTag: (fileId: number, tag: string) => Promise<void>;
|
|
1391
|
+
deleteFileTag: (fileId: DeleteFileTagPath["fileId"], tag: DeleteFileTagPath["tag"]) => Promise<void>;
|
|
1392
|
+
prepareFile: (body: PrepareFileBody, signal?: AbortSignal) => Promise<PreparedFile>;
|
|
1393
|
+
};
|
|
1394
|
+
workspaces: {
|
|
1395
|
+
getWorkspace: (path: WorkspacePath, signal?: AbortSignal) => Promise<Workspace>;
|
|
1396
|
+
getWorkspaces: (branchId: WorkspacesPath["branchId"], signal?: AbortSignal) => Promise<Workspace[]>;
|
|
1397
|
+
deleteWorkspace: (path: WorkspacePath) => Promise<void>;
|
|
1398
|
+
resetWorkspacePassword: ({ branchId, workspaceId }: WorkspacePath) => Promise<ResetWorkspacePassword>;
|
|
1399
|
+
deleteWorkspaces: ({ workspaceIds, branchId, }: Omit<WorkspacePath, "workspaceId"> & {
|
|
1400
|
+
workspaceIds: WorkspacePath["workspaceId"][];
|
|
1329
1401
|
}) => Promise<void>;
|
|
1330
|
-
|
|
1331
|
-
createConfigurationWorkspaceJob: ({ componentId, branchId, configId, ...body }: Required<ConfigurationPath> & CreateConfigurationWorkspaceBody) => Promise<{
|
|
1402
|
+
deleteWorkspaceJob: (path: WorkspacePath) => Promise<{
|
|
1332
1403
|
id: number;
|
|
1333
1404
|
tableId: string | null;
|
|
1334
1405
|
runId: string;
|
|
@@ -1340,21 +1411,12 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1340
1411
|
};
|
|
1341
1412
|
endTime: string | null;
|
|
1342
1413
|
startTime: string | null;
|
|
1343
|
-
operationName: "
|
|
1414
|
+
operationName: "workspaceDrop";
|
|
1344
1415
|
operationParams: {
|
|
1345
1416
|
queue: string;
|
|
1346
1417
|
} & {
|
|
1347
|
-
|
|
1418
|
+
workspaceId: string;
|
|
1348
1419
|
backendConfiguration: [];
|
|
1349
|
-
backendSize: null;
|
|
1350
|
-
branchId: number;
|
|
1351
|
-
componentId: string;
|
|
1352
|
-
configurationId: string;
|
|
1353
|
-
loginType: number;
|
|
1354
|
-
networkPolicy: string;
|
|
1355
|
-
publicKey: string;
|
|
1356
|
-
readOnlyStorageAccess: boolean;
|
|
1357
|
-
useCase: ConfigurationUseCaseType;
|
|
1358
1420
|
};
|
|
1359
1421
|
metrics: {
|
|
1360
1422
|
inCompressed: boolean;
|
|
@@ -1377,18 +1439,82 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1377
1439
|
};
|
|
1378
1440
|
} | {
|
|
1379
1441
|
status: "success";
|
|
1380
|
-
results:
|
|
1442
|
+
results: null;
|
|
1381
1443
|
})>;
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1444
|
+
setWorkspacePublicKey: ({ branchId, workspaceId, publicKey, }: SetWorkspacePublicInput) => Promise<Workspace>;
|
|
1445
|
+
getWorkspaceSaml2Login: (path: GetWorkspaceSaml2LoginPath, signal?: AbortSignal) => Promise<WorkspaceSaml2Login>;
|
|
1446
|
+
getWorkspaceObjects: (path: WorkspacePath, signal?: AbortSignal) => Promise<WorkspaceObject[]>;
|
|
1447
|
+
deleteWorkspaceObjectsAsync: ({ branchId, workspaceId, ...body }: DeleteWorkspaceObjectInput) => Promise<{
|
|
1448
|
+
id: number;
|
|
1449
|
+
tableId: string | null;
|
|
1450
|
+
runId: string;
|
|
1451
|
+
url: string;
|
|
1452
|
+
createdTime: string;
|
|
1453
|
+
creatorToken: {
|
|
1454
|
+
id: string;
|
|
1455
|
+
description: string;
|
|
1456
|
+
};
|
|
1457
|
+
endTime: string | null;
|
|
1458
|
+
startTime: string | null;
|
|
1459
|
+
operationName: "workspaceBatchDeleteObjects";
|
|
1460
|
+
operationParams: {
|
|
1461
|
+
queue: string;
|
|
1462
|
+
} & {
|
|
1463
|
+
workspaceId: string;
|
|
1464
|
+
objects: string[];
|
|
1465
|
+
};
|
|
1466
|
+
metrics: {
|
|
1467
|
+
inCompressed: boolean;
|
|
1468
|
+
inBytes: number;
|
|
1469
|
+
inBytesUncompressed: number;
|
|
1470
|
+
outCompressed: boolean;
|
|
1471
|
+
outBytes: number;
|
|
1472
|
+
outBytesUncompressed: number;
|
|
1473
|
+
};
|
|
1474
|
+
} & ({
|
|
1475
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
1476
|
+
results: null;
|
|
1477
|
+
} | {
|
|
1478
|
+
status: "success";
|
|
1479
|
+
results: {
|
|
1480
|
+
deleted: {
|
|
1481
|
+
objectName: string;
|
|
1482
|
+
}[];
|
|
1483
|
+
failed: {
|
|
1484
|
+
objectName: string;
|
|
1485
|
+
error: string;
|
|
1486
|
+
}[];
|
|
1487
|
+
};
|
|
1488
|
+
} | {
|
|
1489
|
+
status: "error";
|
|
1490
|
+
results: {
|
|
1491
|
+
deleted: {
|
|
1492
|
+
objectName: string;
|
|
1493
|
+
}[];
|
|
1494
|
+
failed: {
|
|
1495
|
+
objectName: string;
|
|
1496
|
+
error: string;
|
|
1497
|
+
}[];
|
|
1498
|
+
};
|
|
1499
|
+
error: {
|
|
1500
|
+
code: string;
|
|
1501
|
+
message: string;
|
|
1502
|
+
exceptionId?: string;
|
|
1503
|
+
};
|
|
1504
|
+
})>;
|
|
1505
|
+
unloadWorkspace: ({ branchId, workspaceId, ...query }: UnloadWorkspaceInput) => Promise<Record<string, never>[]>;
|
|
1506
|
+
inputMappingLoadPreview: ({ branchId, body, backend }: WorkspaceInputMappingLoadPreviewInput, signal?: AbortSignal) => Promise<{
|
|
1507
|
+
input: {
|
|
1508
|
+
source: string;
|
|
1509
|
+
destination: string;
|
|
1510
|
+
loadType: "COPY" | "CLONE" | "VIEW";
|
|
1511
|
+
possibleLoadTypes: ("COPY" | "CLONE" | "VIEW")[];
|
|
1512
|
+
}[];
|
|
1513
|
+
}>;
|
|
1386
1514
|
};
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
rollbackConfigurationToVersion: ({ branchId, componentId, configId, versionId, }: RollbackConfigurationToVersionInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
1391
|
-
copyConfigurationFromVersion: ({ branchId, componentId, configId, versionId, ...body }: CopyConfigurationFromVersionInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
1515
|
+
jobs: {
|
|
1516
|
+
getJob: <T extends JobOperation | string = string>(id: GetJobPath["id"], signal?: AbortSignal) => Promise<Job<T>>;
|
|
1517
|
+
getJobs: <T extends JobOperation | string = string>(query?: GetJobsQuery, signal?: AbortSignal) => Promise<Job<T>[]>;
|
|
1392
1518
|
};
|
|
1393
1519
|
tokens: {
|
|
1394
1520
|
verify: (signal?: AbortSignal) => Promise<StorageToken>;
|
|
@@ -1455,12 +1581,12 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1455
1581
|
canReadAllProjectEvents: boolean;
|
|
1456
1582
|
canManageDevBranches: boolean;
|
|
1457
1583
|
}>;
|
|
1458
|
-
updateToken: (id
|
|
1584
|
+
updateToken: ({ id, ...body }: UpdateTokenInput, signal?: AbortSignal) => Promise<StorageToken>;
|
|
1459
1585
|
deleteToken: (id: string, signal?: AbortSignal) => Promise<void>;
|
|
1460
|
-
shareToken: (id
|
|
1586
|
+
shareToken: ({ id, ...body }: ShareTokenInput, signal?: AbortSignal) => Promise<void>;
|
|
1461
1587
|
};
|
|
1462
1588
|
triggers: {
|
|
1463
|
-
|
|
1589
|
+
getTriggers: (query?: GetTriggersQuery, signal?: AbortSignal) => Promise<{
|
|
1464
1590
|
id: string;
|
|
1465
1591
|
runWithTokenId: number;
|
|
1466
1592
|
component: string;
|
|
@@ -1490,7 +1616,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1490
1616
|
tableId: string;
|
|
1491
1617
|
}[];
|
|
1492
1618
|
}>;
|
|
1493
|
-
updateTrigger: (triggerId
|
|
1619
|
+
updateTrigger: ({ triggerId, ...body }: UpdateTriggerInput, signal?: AbortSignal) => Promise<{
|
|
1494
1620
|
id: string;
|
|
1495
1621
|
runWithTokenId: number;
|
|
1496
1622
|
component: string;
|
|
@@ -1505,15 +1631,120 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
1505
1631
|
tableId: string;
|
|
1506
1632
|
}[];
|
|
1507
1633
|
}>;
|
|
1508
|
-
deleteTrigger: (triggerId:
|
|
1634
|
+
deleteTrigger: (triggerId: Trigger["id"], signal?: AbortSignal) => Promise<void>;
|
|
1509
1635
|
};
|
|
1510
1636
|
search: {
|
|
1511
1637
|
globalSearch: (query: GlobalSearchQuery, signal?: AbortSignal) => Promise<GlobalSearchResponse>;
|
|
1638
|
+
searchTables: (query: SearchTablesQuery, signal?: AbortSignal) => Promise<Table[]>;
|
|
1512
1639
|
};
|
|
1513
1640
|
stats: {
|
|
1514
1641
|
getRunIdStats: (runId: string, signal?: AbortSignal) => Promise<RunIdStats>;
|
|
1515
1642
|
};
|
|
1516
|
-
|
|
1643
|
+
components: {
|
|
1644
|
+
getComponent: ({ componentId, branchId }: GetComponentPath, signal?: AbortSignal) => Promise<Component>;
|
|
1645
|
+
getComponents: ({ branchId, ...query }?: GetComponentsInput, signal?: AbortSignal) => Promise<Component[]>;
|
|
1646
|
+
};
|
|
1647
|
+
configurations: {
|
|
1648
|
+
createConfiguration: ({ branchId, componentId, ...body }: CreateConfigurationInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
1649
|
+
updateConfiguration: <T extends ConfigType = "unknown">({ branchId, componentId, configId, configuration, workspaceId, ...rest }: PartialKey<UpdateConfigurationInput, "branchId">, signal?: AbortSignal) => Promise<UpdateConfigurationResult<T>>;
|
|
1650
|
+
updateConfigurationState: <T extends ConfigType = "unknown">({ branchId, componentId, configId, ...body }: UpdateConfigurationStateInput, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
|
|
1651
|
+
getConfiguration: <T extends ConfigType = "unknown">({ componentId, configId, branchId }: ConfigurationPath, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
|
|
1652
|
+
getConfigurationDiff: ({ componentId, configId, branchId }: ConfigurationDiffPath, signal?: AbortSignal) => Promise<ConfigurationDiff>;
|
|
1653
|
+
rebaseConfiguration: ({ branchId, componentId, configId, ...body }: RebaseConfigurationInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
1654
|
+
deleteConfiguration: ({ branchId, componentId, configId, expectedVersion, }: DeleteConfigurationInput) => Promise<void>;
|
|
1655
|
+
deleteConfigurations: ({ configIds, ...rest }: Required<Omit<ConfigurationPath, "configId">> & {
|
|
1656
|
+
configIds: string[];
|
|
1657
|
+
}) => Promise<void>;
|
|
1658
|
+
purgeConfiguration: ({ branchId, componentId, configId, expectedVersion, }: PurgeConfigurationInput) => Promise<void>;
|
|
1659
|
+
purgeConfigurations: ({ branchId, configs }: PurgeConfigurationsInput) => Promise<void>;
|
|
1660
|
+
getConfigurations: <T extends ConfigType = "unknown">({ componentId, branchId }: GetConfigurationsPath, signal?: AbortSignal) => Promise<ComponentConfig<T>[]>;
|
|
1661
|
+
restoreConfiguration: ({ branchId, componentId, configId, }: ConfigurationPath) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
1662
|
+
resetConfigurationToDefault: ({ branchId, componentId, configId, }: ConfigurationPath) => Promise<void>;
|
|
1663
|
+
searchComponentConfigurations: ({ branchId, include, ...query }?: SearchComponentConfigurationsInput, signal?: AbortSignal) => Promise<SearchComponentConfiguration[]>;
|
|
1664
|
+
};
|
|
1665
|
+
configurationRows: {
|
|
1666
|
+
createConfigurationRow: ({ branchId, componentId, configurationId, ...body }: PartialKey<CreateConfigurationRowInput, "branchId">) => Promise<Row>;
|
|
1667
|
+
createConfigurationRows: ({ branchId, componentId, configurationId, data, }: PartialKey<CreateConfigurationRowsInput, "branchId">, options?: {
|
|
1668
|
+
middlewares: MiddlewareFn<CreateConfigurationRowBody, Row>[];
|
|
1669
|
+
}) => Promise<Row[]>;
|
|
1670
|
+
getConfigurationRow: ({ branchId, ...path }: PartialKey<GetConfigurationRowInput, "branchId">, signal?: AbortSignal) => Promise<Row>;
|
|
1671
|
+
updateConfigurationRow: ({ branchId, componentId, configurationId, rowId, ...body }: PartialKey<UpdateConfigurationRowInput, "branchId">, signal?: AbortSignal) => Promise<Row>;
|
|
1672
|
+
updateConfigurationRowState: ({ branchId, componentId, configurationId, rowId, ...body }: PartialKey<UpdateConfigurationRowStateInput, "branchId">, signal?: AbortSignal) => Promise<Row>;
|
|
1673
|
+
deleteConfigurationRow: ({ changeDescription, ...path }: DeleteConfigurationRowInput) => Promise<void>;
|
|
1674
|
+
deleteConfigurationRows: ({ rowIds, changeDescription, ...input }: DeleteConfigurationRowsInput, options?: {
|
|
1675
|
+
middlewares: MiddlewareFn<string, void>[];
|
|
1676
|
+
}) => Promise<void>;
|
|
1677
|
+
};
|
|
1678
|
+
configurationWorkspaces: {
|
|
1679
|
+
createConfigurationWorkspace: ({ componentId, branchId, configurationId, ...body }: CreateConfigurationWorkspaceInput) => Promise<Workspace>;
|
|
1680
|
+
createConfigurationWorkspaceJob: ({ componentId, branchId, configurationId, ...body }: CreateConfigurationWorkspaceInput) => Promise<{
|
|
1681
|
+
id: number;
|
|
1682
|
+
tableId: string | null;
|
|
1683
|
+
runId: string;
|
|
1684
|
+
url: string;
|
|
1685
|
+
createdTime: string;
|
|
1686
|
+
creatorToken: {
|
|
1687
|
+
id: string;
|
|
1688
|
+
description: string;
|
|
1689
|
+
};
|
|
1690
|
+
endTime: string | null;
|
|
1691
|
+
startTime: string | null;
|
|
1692
|
+
operationName: "workspaceCreate";
|
|
1693
|
+
operationParams: {
|
|
1694
|
+
queue: string;
|
|
1695
|
+
} & {
|
|
1696
|
+
backend: string;
|
|
1697
|
+
backendConfiguration: [];
|
|
1698
|
+
backendSize: null;
|
|
1699
|
+
branchId: number;
|
|
1700
|
+
componentId: string;
|
|
1701
|
+
configurationId: string;
|
|
1702
|
+
loginType: number;
|
|
1703
|
+
networkPolicy: string;
|
|
1704
|
+
publicKey: string;
|
|
1705
|
+
readOnlyStorageAccess: boolean;
|
|
1706
|
+
useCase: ConfigurationUseCaseType;
|
|
1707
|
+
};
|
|
1708
|
+
metrics: {
|
|
1709
|
+
inCompressed: boolean;
|
|
1710
|
+
inBytes: number;
|
|
1711
|
+
inBytesUncompressed: number;
|
|
1712
|
+
outCompressed: boolean;
|
|
1713
|
+
outBytes: number;
|
|
1714
|
+
outBytesUncompressed: number;
|
|
1715
|
+
};
|
|
1716
|
+
} & ({
|
|
1717
|
+
status: Exclude<JobStatus, "success" | "error">;
|
|
1718
|
+
results: null;
|
|
1719
|
+
} | {
|
|
1720
|
+
status: "error";
|
|
1721
|
+
results: null;
|
|
1722
|
+
error: {
|
|
1723
|
+
code: string;
|
|
1724
|
+
message: string;
|
|
1725
|
+
exceptionId?: string;
|
|
1726
|
+
};
|
|
1727
|
+
} | {
|
|
1728
|
+
status: "success";
|
|
1729
|
+
results: Workspace;
|
|
1730
|
+
})>;
|
|
1731
|
+
getConfigurationWorkspaces: ({ componentId, branchId, configurationId, }: GetConfigurationWorkspacesPath) => Promise<Workspace[]>;
|
|
1732
|
+
};
|
|
1733
|
+
configurationMetadata: {
|
|
1734
|
+
getConfigurationMetadata: ({ branchId, componentId, configurationId, }: PartialKey<GetConfigurationMetadataInput, "branchId">, signal?: AbortSignal) => Promise<ConfigurationMetadataItem[]>;
|
|
1735
|
+
saveConfigurationMetadata: ({ branchId, componentId, configurationId, ...body }: PartialKey<SaveConfigurationMetadataInput, "branchId">) => Promise<ConfigurationMetadataItem[]>;
|
|
1736
|
+
deleteConfigurationMetadata: ({ branchId, componentId, configurationId, metadataId, }: PartialKey<DeleteConfigurationMetadataInput, "branchId">, signal?: AbortSignal) => Promise<void>;
|
|
1737
|
+
};
|
|
1738
|
+
configurationVersions: {
|
|
1739
|
+
getConfigurationVersions: ({ branchId, componentId, configurationId }: ConfigurationVersionPath, signal?: AbortSignal) => Promise<ConfigurationVersion[]>;
|
|
1740
|
+
getConfigurationVersion: ({ branchId, componentId, configurationId, versionId }: ConfigurationVersionDetailPath, signal?: AbortSignal) => Promise<ConfigurationVersionDetail>;
|
|
1741
|
+
rollbackConfigurationToVersion: ({ branchId, componentId, configurationId, versionId, }: RollbackConfigurationToVersionInput) => Promise<RollbackConfigurationToVersionResult>;
|
|
1742
|
+
copyConfigurationFromVersion: ({ branchId, componentId, configurationId, versionId, ...body }: CopyConfigurationFromVersionInput) => Promise<CopyConfigurationFromVersionResult>;
|
|
1743
|
+
getConfigurationRowVersions: ({ branchId, componentId, configurationId, rowId }: ConfigurationRowVersionPath, signal?: AbortSignal) => Promise<ConfigurationRowVersion[]>;
|
|
1744
|
+
getConfigurationRowVersion: ({ branchId, componentId, configurationId, rowId, versionId }: ConfigurationRowVersionDetailPath, signal?: AbortSignal) => Promise<ConfigurationRowVersionDetail>;
|
|
1745
|
+
rollbackConfigurationRowToVersion: ({ branchId, componentId, configurationId, rowId, versionId, }: RollbackConfigurationRowToVersionInput) => Promise<Row>;
|
|
1746
|
+
copyConfigurationRowFromVersion: ({ branchId, componentId, configurationId, rowId, versionId, }: CopyConfigurationRowFromVersionInput) => Promise<Row>;
|
|
1747
|
+
};
|
|
1517
1748
|
};
|
|
1518
1749
|
|
|
1519
1750
|
export { type ConcurrentOptions as C, type GenericFetchClient as G, type MiddlewareFn as M, type StorageOpenApiFetchClient as S, concurrent as a, createStorageClient as c };
|