@keboola/api-client 21.0.0 → 24.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/API-SURFACE.md +72 -1
- package/README.md +43 -2
- package/dist/{ManagementClientAuthError-CJu_hpGi.d.cts → ManagementClientAuthError-BuqHAOBO.d.cts} +1 -1
- package/dist/{ManagementClientAuthError-B3PZRWBU.d.ts → ManagementClientAuthError-C7q1Jd9I.d.ts} +1 -1
- package/dist/ai/index.cjs +4 -4
- package/dist/ai/index.d.cts +4 -3
- package/dist/ai/index.d.ts +4 -3
- 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/assets/index.cjs +19 -4
- package/dist/assets/index.cjs.map +1 -1
- package/dist/assets/index.d.cts +18 -3
- package/dist/assets/index.d.ts +18 -3
- package/dist/assets/index.js +18 -3
- package/dist/assets/index.js.map +1 -1
- package/dist/assets/schema.cjs +16 -0
- package/dist/assets/schema.cjs.map +1 -0
- package/dist/assets/schema.d.cts +28 -0
- package/dist/assets/schema.d.ts +28 -0
- package/dist/assets/schema.js +3 -0
- package/dist/assets/schema.js.map +1 -0
- package/dist/auth/index.cjs +22 -10
- package/dist/auth/index.d.cts +40 -5
- package/dist/auth/index.d.ts +40 -5
- package/dist/auth/index.js +2 -2
- package/dist/auth/types.d.cts +4 -8
- package/dist/auth/types.d.ts +4 -8
- package/dist/chat/index.cjs +4 -4
- package/dist/chat/index.d.cts +4 -8
- package/dist/chat/index.d.ts +4 -8
- 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-22E6IGXR.js +6 -0
- package/dist/chunk-22E6IGXR.js.map +1 -0
- package/dist/chunk-2CFM7K4U.cjs +55 -0
- package/dist/chunk-2CFM7K4U.cjs.map +1 -0
- package/dist/{chunk-CWD66KRM.js → chunk-34GM6NXB.js} +4 -4
- package/dist/{chunk-CWD66KRM.js.map → chunk-34GM6NXB.js.map} +1 -1
- package/dist/{chunk-CBVGOANJ.cjs → chunk-35MODDCL.cjs} +6 -7
- package/dist/chunk-35MODDCL.cjs.map +1 -0
- package/dist/{chunk-IWNJ47CV.js → chunk-3BFPNM2J.js} +14 -5
- package/dist/chunk-3BFPNM2J.js.map +1 -0
- package/dist/{chunk-V6QQZLEU.js → chunk-3MTY6I2W.js} +4 -4
- package/dist/{chunk-V6QQZLEU.js.map → chunk-3MTY6I2W.js.map} +1 -1
- package/dist/{chunk-ZHNOZHJG.js → chunk-3PVERYSF.js} +3 -3
- package/dist/{chunk-ZHNOZHJG.js.map → chunk-3PVERYSF.js.map} +1 -1
- package/dist/chunk-3YWQQ3OG.cjs +79 -0
- package/dist/chunk-3YWQQ3OG.cjs.map +1 -0
- package/dist/chunk-4VVF2PIX.js +110 -0
- package/dist/chunk-4VVF2PIX.js.map +1 -0
- package/dist/{chunk-ZCODWFCC.js → chunk-5XWVWFTC.js} +4 -4
- package/dist/{chunk-ZCODWFCC.js.map → chunk-5XWVWFTC.js.map} +1 -1
- package/dist/chunk-6YZQIMML.cjs +163 -0
- package/dist/chunk-6YZQIMML.cjs.map +1 -0
- package/dist/{chunk-P6OWDUN7.js → chunk-77LILJYX.js} +4 -4
- package/dist/{chunk-P6OWDUN7.js.map → chunk-77LILJYX.js.map} +1 -1
- package/dist/{chunk-X6BQTEIT.cjs → chunk-7R22VKV7.cjs} +7 -7
- package/dist/{chunk-X6BQTEIT.cjs.map → chunk-7R22VKV7.cjs.map} +1 -1
- package/dist/chunk-7RO6PKZ4.cjs +16 -0
- package/dist/{chunk-UQWVZTEA.cjs.map → chunk-7RO6PKZ4.cjs.map} +1 -1
- package/dist/{chunk-OZMUKLXN.cjs → chunk-7YXL4FKN.cjs} +6 -6
- package/dist/{chunk-OZMUKLXN.cjs.map → chunk-7YXL4FKN.cjs.map} +1 -1
- package/dist/{chunk-R2FAPJMZ.js → chunk-7Z4MU7ZB.js} +498 -132
- package/dist/chunk-7Z4MU7ZB.js.map +1 -0
- package/dist/{chunk-FDISA5KO.cjs → chunk-AFJGNBVM.cjs} +16 -7
- package/dist/chunk-AFJGNBVM.cjs.map +1 -0
- package/dist/{chunk-4WX5W7YU.js → chunk-AXEANGGK.js} +4 -4
- package/dist/{chunk-4WX5W7YU.js.map → chunk-AXEANGGK.js.map} +1 -1
- package/dist/chunk-BCZPCMGL.cjs +49 -0
- package/dist/chunk-BCZPCMGL.cjs.map +1 -0
- package/dist/{chunk-NRJTA5P3.cjs → chunk-BR6WZE3O.cjs} +4 -4
- package/dist/{chunk-NRJTA5P3.cjs.map → chunk-BR6WZE3O.cjs.map} +1 -1
- package/dist/{chunk-EXNR4FGV.js → chunk-BZA3FGO6.js} +3 -3
- package/dist/{chunk-EXNR4FGV.js.map → chunk-BZA3FGO6.js.map} +1 -1
- package/dist/{chunk-LFLFNQMQ.js → chunk-CV2JGHBN.js} +4 -4
- package/dist/{chunk-LFLFNQMQ.js.map → chunk-CV2JGHBN.js.map} +1 -1
- package/dist/{chunk-WWICQYOY.cjs → chunk-CWCUQACX.cjs} +4 -4
- package/dist/{chunk-WWICQYOY.cjs.map → chunk-CWCUQACX.cjs.map} +1 -1
- package/dist/{chunk-LGWRJM5X.cjs → chunk-CWUQ6ZAO.cjs} +6 -6
- package/dist/{chunk-LGWRJM5X.cjs.map → chunk-CWUQ6ZAO.cjs.map} +1 -1
- package/dist/{chunk-Z76DIRLA.cjs → chunk-D3ZZQIY2.cjs} +9 -2
- package/dist/{chunk-4IEIVLYT.js.map → chunk-D3ZZQIY2.cjs.map} +1 -1
- package/dist/{chunk-4IEIVLYT.js → chunk-D6O5C67S.js} +9 -2
- package/dist/chunk-D6O5C67S.js.map +1 -0
- package/dist/{chunk-XPQBE77T.cjs → chunk-DRNOCC6W.cjs} +61 -8
- package/dist/chunk-DRNOCC6W.cjs.map +1 -0
- package/dist/{chunk-6JXSO3AR.js → chunk-EDX5D6UY.js} +3 -3
- package/dist/{chunk-6JXSO3AR.js.map → chunk-EDX5D6UY.js.map} +1 -1
- package/dist/chunk-FPB6OGTV.js +26 -0
- package/dist/chunk-FPB6OGTV.js.map +1 -0
- package/dist/{chunk-YVC4NGW2.js → chunk-G66EP527.js} +4 -4
- package/dist/{chunk-YVC4NGW2.js.map → chunk-G66EP527.js.map} +1 -1
- package/dist/chunk-HMCZUHR7.js +53 -0
- package/dist/chunk-HMCZUHR7.js.map +1 -0
- package/dist/{chunk-YHMW7CZF.cjs → chunk-HY7J3OD3.cjs} +508 -142
- package/dist/chunk-HY7J3OD3.cjs.map +1 -0
- package/dist/{chunk-SB7AVZQU.cjs → chunk-IDWGBCSB.cjs} +6 -6
- package/dist/{chunk-SB7AVZQU.cjs.map → chunk-IDWGBCSB.cjs.map} +1 -1
- package/dist/{chunk-3GTRQFWA.cjs → chunk-J3NLKXQ5.cjs} +9 -9
- package/dist/{chunk-3GTRQFWA.cjs.map → chunk-J3NLKXQ5.cjs.map} +1 -1
- package/dist/{chunk-6BYHD5DG.js → chunk-KH6BHTXN.js} +3 -4
- package/dist/chunk-KH6BHTXN.js.map +1 -0
- package/dist/{chunk-4HBUVR57.cjs → chunk-KUYVBCUM.cjs} +82 -6
- package/dist/chunk-KUYVBCUM.cjs.map +1 -0
- package/dist/{chunk-AFIQYB2O.cjs → chunk-L262THNK.cjs} +9 -9
- package/dist/{chunk-AFIQYB2O.cjs.map → chunk-L262THNK.cjs.map} +1 -1
- package/dist/chunk-LD3JERYP.js +77 -0
- package/dist/chunk-LD3JERYP.js.map +1 -0
- package/dist/chunk-LIXSIM3H.cjs +113 -0
- package/dist/chunk-LIXSIM3H.cjs.map +1 -0
- package/dist/{chunk-IUN2ZSU3.cjs → chunk-MMOAH3EH.cjs} +72 -6
- package/dist/chunk-MMOAH3EH.cjs.map +1 -0
- package/dist/{chunk-DAAHTUXU.cjs → chunk-NVQ6LGDO.cjs} +6 -6
- package/dist/{chunk-DAAHTUXU.cjs.map → chunk-NVQ6LGDO.cjs.map} +1 -1
- package/dist/{chunk-U7CANHDD.js → chunk-NVRVPWNY.js} +16 -5
- package/dist/chunk-NVRVPWNY.js.map +1 -0
- package/dist/{chunk-KF5EI2IB.js → chunk-OUSPQ55W.js} +57 -7
- package/dist/chunk-OUSPQ55W.js.map +1 -0
- package/dist/{chunk-C5R6ITYD.cjs → chunk-PPQF7LTS.cjs} +24 -7
- package/dist/chunk-PPQF7LTS.cjs.map +1 -0
- package/dist/chunk-PSR3N4NC.js +136 -0
- package/dist/chunk-PSR3N4NC.js.map +1 -0
- package/dist/chunk-QHD4LPAQ.cjs +8 -0
- package/dist/chunk-QHD4LPAQ.cjs.map +1 -0
- package/dist/{chunk-S5XEXK36.cjs → chunk-QZKDBVAU.cjs} +9 -9
- package/dist/{chunk-S5XEXK36.cjs.map → chunk-QZKDBVAU.cjs.map} +1 -1
- package/dist/{chunk-5FDQYOJD.js → chunk-S4JK7DKM.js} +22 -5
- package/dist/chunk-S4JK7DKM.js.map +1 -0
- package/dist/{chunk-DAS5UQN6.cjs → chunk-T242YFMT.cjs} +19 -8
- package/dist/chunk-T242YFMT.cjs.map +1 -0
- package/dist/{chunk-M2LJZXVR.js → chunk-UP5SEEYZ.js} +73 -7
- package/dist/chunk-UP5SEEYZ.js.map +1 -0
- package/dist/{chunk-RTQEMQIC.cjs → chunk-UWQUHP3T.cjs} +6 -6
- package/dist/{chunk-RTQEMQIC.cjs.map → chunk-UWQUHP3T.cjs.map} +1 -1
- package/dist/{chunk-NV3P6XBU.js → chunk-WFXW4XU3.js} +4 -4
- package/dist/{chunk-NV3P6XBU.js.map → chunk-WFXW4XU3.js.map} +1 -1
- package/dist/{chunk-RK2VGHJE.js → chunk-XHDYLUM4.js} +71 -7
- package/dist/chunk-XHDYLUM4.js.map +1 -0
- package/dist/{chunk-WXGYFLFX.js → chunk-XIIER7QQ.js} +4 -4
- package/dist/{chunk-WXGYFLFX.js.map → chunk-XIIER7QQ.js.map} +1 -1
- package/dist/{chunk-DJ5LXAG3.js → chunk-XKIENBIE.js} +4 -4
- package/dist/{chunk-DJ5LXAG3.js.map → chunk-XKIENBIE.js.map} +1 -1
- package/dist/{chunk-HJQYMALV.cjs → chunk-Y44G2VDC.cjs} +6 -6
- package/dist/{chunk-HJQYMALV.cjs.map → chunk-Y44G2VDC.cjs.map} +1 -1
- package/dist/constants/index.cjs +20 -6
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.js +16 -2
- package/dist/constants/index.js.map +1 -1
- package/dist/{createGenericFetchClient-DJ-oaxPj.d.cts → createGenericFetchClient-Df_wFqT8.d.cts} +1 -1
- package/dist/{createGenericFetchClient-B2Gp1a8f.d.ts → createGenericFetchClient-Sl1DH71J.d.ts} +1 -1
- package/dist/{createOpenapiFetchClient-BMaILWyq.d.ts → createOpenapiFetchClient-BSy6dVM5.d.ts} +2 -2
- package/dist/{createOpenapiFetchClient-DQL2ZYNb.d.cts → createOpenapiFetchClient-GZxZgYHd.d.cts} +2 -2
- package/dist/dataScience/index.cjs +5 -5
- package/dist/dataScience/index.d.cts +4 -9
- package/dist/dataScience/index.d.ts +4 -9
- package/dist/dataScience/index.js +3 -3
- package/dist/dataScience/types.d.cts +2 -2
- package/dist/dataScience/types.d.ts +2 -2
- package/dist/domain/permissions/index.cjs +106 -122
- package/dist/domain/permissions/index.cjs.map +1 -1
- package/dist/domain/permissions/index.d.cts +42 -5
- package/dist/domain/permissions/index.d.ts +42 -5
- package/dist/domain/permissions/index.js +2 -106
- package/dist/domain/permissions/index.js.map +1 -1
- package/dist/editor/index.cjs +4 -4
- package/dist/editor/index.d.cts +3 -3
- package/dist/editor/index.d.ts +3 -3
- 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 +3 -3
- package/dist/encryption/index.d.ts +3 -3
- package/dist/encryption/index.js +2 -2
- package/dist/encryption/types.d.cts +2 -2
- package/dist/encryption/types.d.ts +2 -2
- package/dist/import/index.cjs +4 -4
- package/dist/import/index.d.cts +37 -3
- package/dist/import/index.d.ts +37 -3
- package/dist/import/index.js +3 -3
- package/dist/index.cjs +136 -103
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +493 -81
- package/dist/index.d.ts +493 -81
- package/dist/index.js +63 -33
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +5 -5
- package/dist/management/index.d.cts +597 -99
- package/dist/management/index.d.ts +597 -99
- package/dist/management/index.js +3 -3
- package/dist/management/types.d.cts +3 -2
- package/dist/management/types.d.ts +3 -2
- package/dist/metastore/index.cjs +4 -4
- package/dist/metastore/index.d.cts +4 -4
- package/dist/metastore/index.d.ts +4 -4
- 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 -4
- package/dist/notifications/index.d.cts +30 -17
- package/dist/notifications/index.d.ts +30 -17
- package/dist/notifications/index.js +4 -3
- 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 +46 -6
- package/dist/oauth/index.d.ts +46 -6
- package/dist/oauth/index.js +3 -3
- package/dist/oauth/types.d.cts +718 -27
- package/dist/oauth/types.d.ts +718 -27
- package/dist/{project-DEFMKeAm.d.cts → project-CSJzVylj.d.cts} +1 -1
- package/dist/{project-BpTHlKfO.d.ts → project-DmC8vKnh.d.ts} +1 -1
- package/dist/queryService/index.cjs +4 -4
- package/dist/queryService/index.d.cts +3 -3
- package/dist/queryService/index.d.ts +3 -3
- 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 +5 -4
- package/dist/queue/index.d.cts +207 -3
- package/dist/queue/index.d.ts +207 -3
- package/dist/queue/index.js +4 -3
- package/dist/queue/types.d.cts +2 -2
- package/dist/queue/types.d.ts +2 -2
- package/dist/{registry-v_1krdcs.d.cts → registry-CcKlB-yY.d.ts} +15 -2
- package/dist/{registry-v_1krdcs.d.ts → registry-Cg0Yng1z.d.cts} +15 -2
- package/dist/scheduler/index.cjs +5 -4
- package/dist/scheduler/index.d.cts +3 -2
- package/dist/scheduler/index.d.ts +3 -2
- package/dist/scheduler/index.js +4 -3
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/sdk/configurations/index.cjs +4 -2
- package/dist/sdk/configurations/index.d.cts +12 -11
- package/dist/sdk/configurations/index.d.ts +12 -11
- package/dist/sdk/configurations/index.js +3 -1
- package/dist/sdk/semanticLayer/index.cjs +43 -3
- package/dist/sdk/semanticLayer/index.d.cts +121 -6
- package/dist/sdk/semanticLayer/index.d.ts +121 -6
- package/dist/sdk/semanticLayer/index.js +1 -1
- package/dist/sdk/semanticLayer/types.d.cts +4 -4
- package/dist/sdk/semanticLayer/types.d.ts +4 -4
- package/dist/sdk/storage/index.cjs +12 -11
- package/dist/sdk/storage/index.d.cts +7 -7
- package/dist/sdk/storage/index.d.ts +7 -7
- package/dist/sdk/storage/index.js +2 -1
- package/dist/sdk/tag/index.d.cts +4 -4
- package/dist/sdk/tag/index.d.ts +4 -4
- package/dist/sdk/tag/types.d.cts +4 -4
- package/dist/sdk/tag/types.d.ts +4 -4
- package/dist/sdk/vault/index.d.cts +4 -4
- package/dist/sdk/vault/index.d.ts +4 -4
- package/dist/status/index.cjs +2 -2
- package/dist/status/index.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/status/index.js +1 -1
- package/dist/storage/index.cjs +12 -12
- package/dist/storage/index.d.cts +7 -7
- package/dist/storage/index.d.ts +7 -7
- package/dist/storage/index.js +5 -5
- package/dist/storage/types.d.cts +4 -4
- package/dist/storage/types.d.ts +4 -4
- package/dist/{storageClient-BONJnuhr.d.ts → storageClient-B4OooGB9.d.ts} +4 -4
- package/dist/{storageClient-BxgbulPW.d.cts → storageClient-CdFqTbn3.d.cts} +4 -4
- package/dist/{storageSdk-CUnp67LN.d.ts → storageSdk-DA7U-1Hy.d.ts} +1 -1
- package/dist/{storageSdk-uCojVKkr.d.cts → storageSdk-U45zMbUb.d.cts} +1 -1
- package/dist/stream/index.cjs +4 -4
- package/dist/stream/index.d.cts +3 -3
- package/dist/stream/index.d.ts +3 -3
- 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 +4 -4
- package/dist/syncActions/index.d.cts +3 -3
- package/dist/syncActions/index.d.ts +3 -3
- package/dist/syncActions/index.js +3 -3
- package/dist/syncActions/types.d.cts +1 -10
- package/dist/syncActions/types.d.ts +1 -10
- package/dist/telemetry/index.cjs +4 -4
- package/dist/telemetry/index.d.cts +2 -2
- package/dist/telemetry/index.d.ts +2 -2
- package/dist/telemetry/index.js +3 -3
- package/dist/{types-CWebeQXy.d.cts → types-B-vmDlWB.d.cts} +1 -1
- package/dist/{types-Do0nBZbY.d.ts → types-B30y9Lhc.d.ts} +1 -1
- package/dist/{types-GRfGXouy.d.cts → types-BEnE7LHB.d.cts} +2 -2
- package/dist/{types-BxjcUj-y.d.cts → types-BX1xr4CX.d.cts} +27 -4
- package/dist/types-BfuVN8Pk.d.cts +468 -0
- package/dist/{types-BogOtZre.d.ts → types-BhlJw2f2.d.ts} +500 -44
- package/dist/{types-Dv3vN7M9.d.ts → types-BieLFMW1.d.cts} +1 -1
- package/dist/{types-BM3xJvzM.d.ts → types-Brc6lq7i.d.ts} +1 -1
- package/dist/{types-BjcRP8q1.d.cts → types-CM1zHzgm.d.ts} +585 -6
- package/dist/{types-VK3k4Z6R.d.cts → types-CSZoV4lM.d.cts} +1 -1
- package/dist/{types-CbEJaobw.d.ts → types-Cgh3jqrV.d.cts} +585 -6
- package/dist/{types-DFWnAftN.d.cts → types-CiJ5ULtS.d.ts} +1 -1
- package/dist/{types-D3Kkh6yW.d.ts → types-CrLjE5xf.d.ts} +3 -545
- package/dist/{types-D9cNOf-3.d.cts → types-D-MuJHwl.d.cts} +10 -1
- package/dist/{types-CFd7q2ed.d.ts → types-DHXZZKb3.d.ts} +1 -1
- package/dist/{types-DqxZDbM1.d.ts → types-DNg4M5JV.d.cts} +2 -0
- package/dist/{types-DqxZDbM1.d.cts → types-DNg4M5JV.d.ts} +2 -0
- package/dist/{types-B9SJ0cIc.d.cts → types-DVhcwrwN.d.cts} +500 -44
- package/dist/{types-CvHPHNH0.d.cts → types-DYnHIm7m.d.cts} +3 -545
- package/dist/{types-BbeZapCu.d.ts → types-DbAO-Tgk.d.ts} +2 -2
- package/dist/{types-yKV1EX6f.d.ts → types-DeS-oVdn.d.ts} +10 -1
- package/dist/{types-DJLceKR0.d.ts → types-DeoA45gz.d.cts} +679 -89
- package/dist/{types-CS8MYc2k.d.ts → types-DgSyBwP3.d.cts} +21 -17
- package/dist/{types-BVldT2vs.d.cts → types-DpUcInCX.d.ts} +21 -17
- package/dist/{types-DacFMc6L.d.ts → types-DwMezEHT.d.ts} +27 -4
- package/dist/{types-DJLceKR0.d.cts → types-Hj1CaKtV.d.ts} +679 -89
- package/dist/{types-C6gjiVpQ.d.cts → types-WGZN6XLN.d.cts} +1 -1
- package/dist/types-YzkNUuYo.d.ts +468 -0
- package/dist/{types-jKnx7Tm_.d.ts → types-gcShAmmi.d.cts} +27 -1
- package/dist/{types-jKnx7Tm_.d.cts → types-gcShAmmi.d.ts} +27 -1
- package/dist/{utils-C7eSJKtG.d.ts → utils-B_SOM1XR.d.ts} +997 -168
- package/dist/{utils-DDERw8dM.d.cts → utils-DK7uJcmR.d.cts} +997 -168
- package/dist/vault/index.cjs +4 -4
- package/dist/vault/index.d.cts +2 -2
- package/dist/vault/index.d.ts +2 -2
- package/dist/vault/index.js +3 -3
- package/dist/vault/types.d.cts +4 -10
- package/dist/vault/types.d.ts +4 -10
- package/package.json +10 -10
- package/surface/ai.md +2 -2
- package/surface/auth.md +13 -1
- package/surface/dataScience.md +5 -5
- package/surface/import.md +2 -1
- package/surface/kaiAgent.md +3 -3
- package/surface/management.md +86 -29
- package/surface/notifications.md +6 -4
- package/surface/oauth.md +4 -4
- package/surface/queue.md +6 -1
- package/surface/scheduler.md +1 -0
- package/surface/sdk.md +2 -0
- package/surface/storage.md +1 -1
- package/dist/assets/types.cjs +0 -4
- package/dist/assets/types.cjs.map +0 -1
- package/dist/assets/types.d.cts +0 -8
- package/dist/assets/types.d.ts +0 -8
- package/dist/assets/types.js +0 -3
- package/dist/assets/types.js.map +0 -1
- package/dist/chunk-4HBUVR57.cjs.map +0 -1
- package/dist/chunk-5FDQYOJD.js.map +0 -1
- package/dist/chunk-6BYHD5DG.js.map +0 -1
- package/dist/chunk-C5R6ITYD.cjs.map +0 -1
- package/dist/chunk-CBVGOANJ.cjs.map +0 -1
- package/dist/chunk-DAS5UQN6.cjs.map +0 -1
- package/dist/chunk-FDISA5KO.cjs.map +0 -1
- package/dist/chunk-HHULC5GT.cjs +0 -44
- package/dist/chunk-HHULC5GT.cjs.map +0 -1
- package/dist/chunk-HUNYAVJJ.cjs +0 -78
- package/dist/chunk-HUNYAVJJ.cjs.map +0 -1
- package/dist/chunk-IUN2ZSU3.cjs.map +0 -1
- package/dist/chunk-IWNJ47CV.js.map +0 -1
- package/dist/chunk-KF5EI2IB.js.map +0 -1
- package/dist/chunk-M2LJZXVR.js.map +0 -1
- package/dist/chunk-MUC6XWII.js +0 -42
- package/dist/chunk-MUC6XWII.js.map +0 -1
- package/dist/chunk-NZN6OX4H.cjs +0 -38
- package/dist/chunk-NZN6OX4H.cjs.map +0 -1
- package/dist/chunk-QNDU44PQ.js +0 -36
- package/dist/chunk-QNDU44PQ.js.map +0 -1
- package/dist/chunk-R2FAPJMZ.js.map +0 -1
- package/dist/chunk-RK2VGHJE.js.map +0 -1
- package/dist/chunk-U7CANHDD.js.map +0 -1
- package/dist/chunk-UQWVZTEA.cjs +0 -16
- package/dist/chunk-VTC3FL4B.js +0 -76
- package/dist/chunk-VTC3FL4B.js.map +0 -1
- package/dist/chunk-XPQBE77T.cjs.map +0 -1
- package/dist/chunk-YHMW7CZF.cjs.map +0 -1
- package/dist/chunk-Z76DIRLA.cjs.map +0 -1
- package/dist/types-Dg1tEsVR.d.cts +0 -17
- package/dist/types-Dg1tEsVR.d.ts +0 -17
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ClientInitOptions } from '../types-
|
|
1
|
+
import { C as ClientInitOptions } from '../types-DNg4M5JV.cjs';
|
|
2
2
|
import { GetSchedulesQuery, ActivateScheduleBody, SchedulePath, ConfigurationPath } from './types.cjs';
|
|
3
3
|
import 'qs';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-gcShAmmi.cjs';
|
|
5
5
|
|
|
6
6
|
declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
7
7
|
getSchedules: (query?: GetSchedulesQuery, signal?: AbortSignal) => Promise<{
|
|
@@ -70,6 +70,7 @@ declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInit
|
|
|
70
70
|
deleteSchedule: (scheduleId: SchedulePath["scheduleId"], signal?: AbortSignal) => Promise<void>;
|
|
71
71
|
refreshScheduleToken: (scheduleId: SchedulePath["scheduleId"], signal?: AbortSignal) => Promise<void>;
|
|
72
72
|
deleteSchedulesForConfiguration: (configurationId: ConfigurationPath["configurationId"], signal?: AbortSignal) => Promise<void>;
|
|
73
|
+
deleteSchedulesForConfigurations: (configurationIds: ConfigurationPath["configurationId"][], signal?: AbortSignal) => Promise<void>;
|
|
73
74
|
};
|
|
74
75
|
|
|
75
76
|
export { createSchedulerClient };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ClientInitOptions } from '../types-
|
|
1
|
+
import { C as ClientInitOptions } from '../types-DNg4M5JV.js';
|
|
2
2
|
import { GetSchedulesQuery, ActivateScheduleBody, SchedulePath, ConfigurationPath } from './types.js';
|
|
3
3
|
import 'qs';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-gcShAmmi.js';
|
|
5
5
|
|
|
6
6
|
declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
7
7
|
getSchedules: (query?: GetSchedulesQuery, signal?: AbortSignal) => Promise<{
|
|
@@ -70,6 +70,7 @@ declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInit
|
|
|
70
70
|
deleteSchedule: (scheduleId: SchedulePath["scheduleId"], signal?: AbortSignal) => Promise<void>;
|
|
71
71
|
refreshScheduleToken: (scheduleId: SchedulePath["scheduleId"], signal?: AbortSignal) => Promise<void>;
|
|
72
72
|
deleteSchedulesForConfiguration: (configurationId: ConfigurationPath["configurationId"], signal?: AbortSignal) => Promise<void>;
|
|
73
|
+
deleteSchedulesForConfigurations: (configurationIds: ConfigurationPath["configurationId"][], signal?: AbortSignal) => Promise<void>;
|
|
73
74
|
};
|
|
74
75
|
|
|
75
76
|
export { createSchedulerClient };
|
package/dist/scheduler/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { createSchedulerClient } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { createSchedulerClient } from '../chunk-3BFPNM2J.js';
|
|
2
|
+
import '../chunk-SJZ66FD5.js';
|
|
3
|
+
import '../chunk-EDX5D6UY.js';
|
|
4
|
+
import '../chunk-XHDYLUM4.js';
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as OpenapiQueryType,
|
|
1
|
+
import { c as OpenapiQueryType, O as OpenapiBodyType, d as OpenapiPathType, b as OpenapiReturnType } from '../types-gcShAmmi.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as OpenapiQueryType,
|
|
1
|
+
import { c as OpenapiQueryType, O as OpenapiBodyType, d as OpenapiPathType, b as OpenapiReturnType } from '../types-gcShAmmi.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkD3ZZQIY2_cjs = require('../../chunk-D3ZZQIY2.cjs');
|
|
4
|
+
require('../../chunk-6YZQIMML.cjs');
|
|
4
5
|
require('../../chunk-3KEVPUSX.cjs');
|
|
6
|
+
require('../../chunk-YXGBD4WP.cjs');
|
|
5
7
|
require('../../chunk-MRHQJNWF.cjs');
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
Object.defineProperty(exports, "createConfigurationSdk", {
|
|
10
12
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkD3ZZQIY2_cjs.createConfigurationSdk; }
|
|
12
14
|
});
|
|
13
15
|
//# sourceMappingURL=index.cjs.map
|
|
14
16
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { createEncryptionClient } from '../../encryption/index.cjs';
|
|
3
|
-
import { c as createStorageClient } from '../../storageClient-
|
|
3
|
+
import { c as createStorageClient } from '../../storageClient-CdFqTbn3.cjs';
|
|
4
4
|
import { ConfigurationPath, BaseComponentConfig, CreateConfigurationInput, UpdateConfigurationInput } from '../../storage/types.cjs';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import '../../types-
|
|
5
|
+
import { c as createDefaultBranch, R as RegisteredComponentId, r as registry } from '../../registry-Cg0Yng1z.cjs';
|
|
6
|
+
import { P as Project } from '../../project-CSJzVylj.cjs';
|
|
7
|
+
import '../../types-DNg4M5JV.cjs';
|
|
8
8
|
import 'qs';
|
|
9
9
|
import '../../encryption/types.cjs';
|
|
10
|
-
import '../../types-
|
|
10
|
+
import '../../types-DVhcwrwN.cjs';
|
|
11
11
|
import '../../adminRoles-Cil1lavB.cjs';
|
|
12
|
-
import '../../types-
|
|
13
|
-
import '../../createGenericFetchClient-
|
|
14
|
-
import '../../createOpenapiFetchClient-
|
|
12
|
+
import '../../types-gcShAmmi.cjs';
|
|
13
|
+
import '../../createGenericFetchClient-Df_wFqT8.cjs';
|
|
14
|
+
import '../../createOpenapiFetchClient-GZxZgYHd.cjs';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
|
|
17
17
|
type ConfigurationSdkContext = {
|
|
18
18
|
project: Project;
|
|
19
|
+
defaultBranch: ReturnType<typeof createDefaultBranch>;
|
|
19
20
|
};
|
|
20
21
|
type Options = {
|
|
21
22
|
storageClient: ReturnType<typeof createStorageClient>;
|
|
@@ -450,8 +451,8 @@ declare const createConfigurationSdk: ({ storageClient, encryptionClient, contex
|
|
|
450
451
|
cronTab: z.ZodString;
|
|
451
452
|
timezone: z.ZodOptional<z.ZodString>;
|
|
452
453
|
state: z.ZodEnum<{
|
|
453
|
-
enabled: "enabled";
|
|
454
454
|
disabled: "disabled";
|
|
455
|
+
enabled: "enabled";
|
|
455
456
|
}>;
|
|
456
457
|
}, z.core.$strip>;
|
|
457
458
|
target: z.ZodObject<{
|
|
@@ -1466,8 +1467,8 @@ declare const createConfigurationSdk: ({ storageClient, encryptionClient, contex
|
|
|
1466
1467
|
cronTab: z.ZodString;
|
|
1467
1468
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1468
1469
|
state: z.ZodEnum<{
|
|
1469
|
-
enabled: "enabled";
|
|
1470
1470
|
disabled: "disabled";
|
|
1471
|
+
enabled: "enabled";
|
|
1471
1472
|
}>;
|
|
1472
1473
|
}, z.core.$strip>;
|
|
1473
1474
|
target: z.ZodObject<{
|
|
@@ -2484,8 +2485,8 @@ declare const createConfigurationSdk: ({ storageClient, encryptionClient, contex
|
|
|
2484
2485
|
cronTab: z.ZodString;
|
|
2485
2486
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2486
2487
|
state: z.ZodEnum<{
|
|
2487
|
-
enabled: "enabled";
|
|
2488
2488
|
disabled: "disabled";
|
|
2489
|
+
enabled: "enabled";
|
|
2489
2490
|
}>;
|
|
2490
2491
|
}, z.core.$strip>;
|
|
2491
2492
|
target: z.ZodObject<{
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { createEncryptionClient } from '../../encryption/index.js';
|
|
3
|
-
import { c as createStorageClient } from '../../storageClient-
|
|
3
|
+
import { c as createStorageClient } from '../../storageClient-B4OooGB9.js';
|
|
4
4
|
import { ConfigurationPath, BaseComponentConfig, CreateConfigurationInput, UpdateConfigurationInput } from '../../storage/types.js';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import '../../types-
|
|
5
|
+
import { c as createDefaultBranch, R as RegisteredComponentId, r as registry } from '../../registry-CcKlB-yY.js';
|
|
6
|
+
import { P as Project } from '../../project-DmC8vKnh.js';
|
|
7
|
+
import '../../types-DNg4M5JV.js';
|
|
8
8
|
import 'qs';
|
|
9
9
|
import '../../encryption/types.js';
|
|
10
|
-
import '../../types-
|
|
10
|
+
import '../../types-BhlJw2f2.js';
|
|
11
11
|
import '../../adminRoles-Cil1lavB.js';
|
|
12
|
-
import '../../types-
|
|
13
|
-
import '../../createGenericFetchClient-
|
|
14
|
-
import '../../createOpenapiFetchClient-
|
|
12
|
+
import '../../types-gcShAmmi.js';
|
|
13
|
+
import '../../createGenericFetchClient-Sl1DH71J.js';
|
|
14
|
+
import '../../createOpenapiFetchClient-BSy6dVM5.js';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
|
|
17
17
|
type ConfigurationSdkContext = {
|
|
18
18
|
project: Project;
|
|
19
|
+
defaultBranch: ReturnType<typeof createDefaultBranch>;
|
|
19
20
|
};
|
|
20
21
|
type Options = {
|
|
21
22
|
storageClient: ReturnType<typeof createStorageClient>;
|
|
@@ -450,8 +451,8 @@ declare const createConfigurationSdk: ({ storageClient, encryptionClient, contex
|
|
|
450
451
|
cronTab: z.ZodString;
|
|
451
452
|
timezone: z.ZodOptional<z.ZodString>;
|
|
452
453
|
state: z.ZodEnum<{
|
|
453
|
-
enabled: "enabled";
|
|
454
454
|
disabled: "disabled";
|
|
455
|
+
enabled: "enabled";
|
|
455
456
|
}>;
|
|
456
457
|
}, z.core.$strip>;
|
|
457
458
|
target: z.ZodObject<{
|
|
@@ -1466,8 +1467,8 @@ declare const createConfigurationSdk: ({ storageClient, encryptionClient, contex
|
|
|
1466
1467
|
cronTab: z.ZodString;
|
|
1467
1468
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1468
1469
|
state: z.ZodEnum<{
|
|
1469
|
-
enabled: "enabled";
|
|
1470
1470
|
disabled: "disabled";
|
|
1471
|
+
enabled: "enabled";
|
|
1471
1472
|
}>;
|
|
1472
1473
|
}, z.core.$strip>;
|
|
1473
1474
|
target: z.ZodObject<{
|
|
@@ -2484,8 +2485,8 @@ declare const createConfigurationSdk: ({ storageClient, encryptionClient, contex
|
|
|
2484
2485
|
cronTab: z.ZodString;
|
|
2485
2486
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2486
2487
|
state: z.ZodEnum<{
|
|
2487
|
-
enabled: "enabled";
|
|
2488
2488
|
disabled: "disabled";
|
|
2489
|
+
enabled: "enabled";
|
|
2489
2490
|
}>;
|
|
2490
2491
|
}, z.core.$strip>;
|
|
2491
2492
|
target: z.ZodObject<{
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export { createConfigurationSdk } from '../../chunk-
|
|
1
|
+
export { createConfigurationSdk } from '../../chunk-D6O5C67S.js';
|
|
2
|
+
import '../../chunk-PSR3N4NC.js';
|
|
2
3
|
import '../../chunk-XMC355U2.js';
|
|
4
|
+
import '../../chunk-552FC4ZV.js';
|
|
3
5
|
import '../../chunk-MSI6FVGG.js';
|
|
4
6
|
//# sourceMappingURL=index.js.map
|
|
5
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,18 +1,58 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKUYVBCUM_cjs = require('../../chunk-KUYVBCUM.cjs');
|
|
4
4
|
require('../../chunk-EWMXK3EI.cjs');
|
|
5
5
|
require('../../chunk-FMS5PNM2.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
Object.defineProperty(exports, "CONSTRAINT_TYPES", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkKUYVBCUM_cjs.CONSTRAINT_TYPES; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "MODEL_CHILD_OBJECT_TYPES", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkKUYVBCUM_cjs.MODEL_CHILD_OBJECT_TYPES; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "SEMANTIC_CHILD_OBJECT_SCHEMAS", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkKUYVBCUM_cjs.SEMANTIC_CHILD_OBJECT_SCHEMAS; }
|
|
20
|
+
});
|
|
9
21
|
Object.defineProperty(exports, "SEMANTIC_OBJECT_TYPE", {
|
|
10
22
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkKUYVBCUM_cjs.SEMANTIC_OBJECT_TYPE; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "SQL_DIALECTS", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkKUYVBCUM_cjs.SQL_DIALECTS; }
|
|
12
28
|
});
|
|
13
29
|
Object.defineProperty(exports, "createSemanticLayerSdk", {
|
|
14
30
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkKUYVBCUM_cjs.createSemanticLayerSdk; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "semanticConstraintSchema", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkKUYVBCUM_cjs.semanticConstraintSchema; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "semanticDatasetSchema", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkKUYVBCUM_cjs.semanticDatasetSchema; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "semanticGlossarySchema", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return chunkKUYVBCUM_cjs.semanticGlossarySchema; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "semanticMetricSchema", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunkKUYVBCUM_cjs.semanticMetricSchema; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "semanticModelSchema", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return chunkKUYVBCUM_cjs.semanticModelSchema; }
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "semanticRelationshipSchema", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () { return chunkKUYVBCUM_cjs.semanticRelationshipSchema; }
|
|
16
56
|
});
|
|
17
57
|
//# sourceMappingURL=index.cjs.map
|
|
18
58
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,11 +1,104 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { SemanticChildObjectType, MetastoreClient, SemanticObject, SemanticModelData, CreateSemanticObjectMeta, UpdateSemanticObjectMeta, SemanticChildObjectDataMap, SemanticDatasetData, SemanticMetricData, SemanticRelationshipData, SemanticGlossaryData, SemanticConstraintData } from './types.cjs';
|
|
2
3
|
import '../../metastore/index.cjs';
|
|
3
|
-
import '../../types-
|
|
4
|
-
import '../../types-
|
|
5
|
-
import '../../createOpenapiFetchClient-
|
|
6
|
-
import '../../types-
|
|
4
|
+
import '../../types-CSZoV4lM.cjs';
|
|
5
|
+
import '../../types-gcShAmmi.cjs';
|
|
6
|
+
import '../../createOpenapiFetchClient-GZxZgYHd.cjs';
|
|
7
|
+
import '../../types-DNg4M5JV.cjs';
|
|
7
8
|
import 'qs';
|
|
8
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Runtime validators for the semantic-layer payload shapes.
|
|
12
|
+
*
|
|
13
|
+
* These exist because the metastore's validation errors are opaque — a missing or misspelled
|
|
14
|
+
* field surfaces only as a generic "Validation failed", and a wrong `sql_dialect` casing as a
|
|
15
|
+
* 422 that names neither the field nor the accepted values. Parsing first turns those into a
|
|
16
|
+
* message that says what is wrong.
|
|
17
|
+
*
|
|
18
|
+
* **Only the fields the SDK types mark as required are declared.** The metastore owns each
|
|
19
|
+
* object type's full schema, so every schema is a `looseObject`: unknown fields pass through
|
|
20
|
+
* untouched rather than being stripped or rejected. Re-declaring the optional fields here
|
|
21
|
+
* would create a second source of truth that silently drops whatever the metastore adds next.
|
|
22
|
+
*
|
|
23
|
+
* The SDK does **not** parse on its own writes — these are for callers that accept untrusted
|
|
24
|
+
* or hand-authored input (an agent's tool call, a form submission) and want to fail early.
|
|
25
|
+
* `modelUUID` is omitted throughout: the SDK injects it, so callers never supply it.
|
|
26
|
+
*/
|
|
27
|
+
declare const semanticModelSchema: z.ZodObject<{
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
sql_dialect: z.ZodEnum<{
|
|
30
|
+
Snowflake: "Snowflake";
|
|
31
|
+
BigQuery: "BigQuery";
|
|
32
|
+
}>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
|
+
declare const semanticDatasetSchema: z.ZodObject<{
|
|
35
|
+
name: z.ZodString;
|
|
36
|
+
tableId: z.ZodString;
|
|
37
|
+
fqn: z.ZodString;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
|
+
declare const semanticMetricSchema: z.ZodObject<{
|
|
40
|
+
name: z.ZodString;
|
|
41
|
+
sql: z.ZodString;
|
|
42
|
+
}, z.core.$loose>;
|
|
43
|
+
declare const semanticRelationshipSchema: z.ZodObject<{
|
|
44
|
+
from: z.ZodString;
|
|
45
|
+
to: z.ZodString;
|
|
46
|
+
on: z.ZodString;
|
|
47
|
+
}, z.core.$loose>;
|
|
48
|
+
declare const semanticGlossarySchema: z.ZodObject<{
|
|
49
|
+
term: z.ZodString;
|
|
50
|
+
definition: z.ZodString;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
|
+
declare const semanticConstraintSchema: z.ZodObject<{
|
|
53
|
+
name: z.ZodString;
|
|
54
|
+
constraintType: z.ZodEnum<{
|
|
55
|
+
inequality: "inequality";
|
|
56
|
+
equality: "equality";
|
|
57
|
+
range: "range";
|
|
58
|
+
composition: "composition";
|
|
59
|
+
exclusion: "exclusion";
|
|
60
|
+
temporal: "temporal";
|
|
61
|
+
conditional: "conditional";
|
|
62
|
+
}>;
|
|
63
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
64
|
+
rule: z.ZodString;
|
|
65
|
+
}, z.core.$loose>;
|
|
66
|
+
/** Keyed by object type so a caller can pick the schema from a `SemanticChildObjectType`. */
|
|
67
|
+
declare const SEMANTIC_CHILD_OBJECT_SCHEMAS: {
|
|
68
|
+
readonly 'semantic-dataset': z.ZodObject<{
|
|
69
|
+
name: z.ZodString;
|
|
70
|
+
tableId: z.ZodString;
|
|
71
|
+
fqn: z.ZodString;
|
|
72
|
+
}, z.core.$loose>;
|
|
73
|
+
readonly 'semantic-metric': z.ZodObject<{
|
|
74
|
+
name: z.ZodString;
|
|
75
|
+
sql: z.ZodString;
|
|
76
|
+
}, z.core.$loose>;
|
|
77
|
+
readonly 'semantic-relationship': z.ZodObject<{
|
|
78
|
+
from: z.ZodString;
|
|
79
|
+
to: z.ZodString;
|
|
80
|
+
on: z.ZodString;
|
|
81
|
+
}, z.core.$loose>;
|
|
82
|
+
readonly 'semantic-glossary': z.ZodObject<{
|
|
83
|
+
term: z.ZodString;
|
|
84
|
+
definition: z.ZodString;
|
|
85
|
+
}, z.core.$loose>;
|
|
86
|
+
readonly 'semantic-constraint': z.ZodObject<{
|
|
87
|
+
name: z.ZodString;
|
|
88
|
+
constraintType: z.ZodEnum<{
|
|
89
|
+
inequality: "inequality";
|
|
90
|
+
equality: "equality";
|
|
91
|
+
range: "range";
|
|
92
|
+
composition: "composition";
|
|
93
|
+
exclusion: "exclusion";
|
|
94
|
+
temporal: "temporal";
|
|
95
|
+
conditional: "conditional";
|
|
96
|
+
}>;
|
|
97
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
98
|
+
rule: z.ZodString;
|
|
99
|
+
}, z.core.$loose>;
|
|
100
|
+
};
|
|
101
|
+
|
|
9
102
|
declare const SEMANTIC_OBJECT_TYPE: {
|
|
10
103
|
readonly MODEL: "semantic-model";
|
|
11
104
|
readonly DATASET: "semantic-dataset";
|
|
@@ -14,6 +107,22 @@ declare const SEMANTIC_OBJECT_TYPE: {
|
|
|
14
107
|
readonly GLOSSARY: "semantic-glossary";
|
|
15
108
|
readonly CONSTRAINT: "semantic-constraint";
|
|
16
109
|
};
|
|
110
|
+
/**
|
|
111
|
+
* `readonly` because this drives `createModelTree`, `listModelChildren` and `deleteModel` —
|
|
112
|
+
* a consumer-side `.push()` would silently change what a cascade delete touches.
|
|
113
|
+
*/
|
|
114
|
+
declare const MODEL_CHILD_OBJECT_TYPES: readonly SemanticChildObjectType[];
|
|
115
|
+
/**
|
|
116
|
+
* The dialects the metastore accepts, exactly as it spells them. A lowercase value is
|
|
117
|
+
* rejected with `422 value must be one of 'Snowflake', 'BigQuery'`, which surfaces only as a
|
|
118
|
+
* generic "Validation failed" — so callers need the real set rather than a bare `string`.
|
|
119
|
+
*
|
|
120
|
+
* `SemanticModelData.sql_dialect` stays `string` for now: narrowing it would break any caller
|
|
121
|
+
* passing a `string` variable, which is a major bump. Validate against this instead.
|
|
122
|
+
*/
|
|
123
|
+
declare const SQL_DIALECTS: readonly ["Snowflake", "BigQuery"];
|
|
124
|
+
/** The metastore's constraint kinds. Runtime counterpart to `SemanticConstraintType`. */
|
|
125
|
+
declare const CONSTRAINT_TYPES: readonly ["inequality", "equality", "range", "composition", "exclusion", "temporal", "conditional"];
|
|
17
126
|
type Options = {
|
|
18
127
|
metastoreClient: MetastoreClient;
|
|
19
128
|
};
|
|
@@ -22,7 +131,13 @@ declare const createSemanticLayerSdk: ({ metastoreClient }: Options) => {
|
|
|
22
131
|
createModel: (data: SemanticModelData, meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticModelData>>;
|
|
23
132
|
updateModel: (modelUUID: string, data: Partial<SemanticModelData>, meta?: UpdateSemanticObjectMeta) => Promise<SemanticObject<SemanticModelData>>;
|
|
24
133
|
deleteModel: (modelUUID: string) => Promise<void>;
|
|
134
|
+
listModelChildren: (modelUUID: string, signal?: AbortSignal) => Promise<{
|
|
135
|
+
objectType: keyof SemanticChildObjectDataMap;
|
|
136
|
+
objectUUID: string;
|
|
137
|
+
name: string | undefined;
|
|
138
|
+
}[]>;
|
|
25
139
|
listObjects: <T extends SemanticChildObjectType>(objectType: T, modelUUID: string, signal?: AbortSignal) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>;
|
|
140
|
+
findObjectsByName: <T extends SemanticChildObjectType>(objectType: T, name: string, modelUUID: string, signal?: AbortSignal) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>;
|
|
26
141
|
createObject: <T extends SemanticChildObjectType>(objectType: T, data: SemanticChildObjectDataMap[T], meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>>;
|
|
27
142
|
createObjects: <T extends SemanticChildObjectType>(objectType: T, items: SemanticChildObjectDataMap[T][], meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>;
|
|
28
143
|
createModelTree: (model: SemanticModelData, children: Partial<{ [T in SemanticChildObjectType]: Omit<SemanticChildObjectDataMap[T], "modelUUID">[]; }>, meta?: CreateSemanticObjectMeta) => Promise<{
|
|
@@ -33,4 +148,4 @@ declare const createSemanticLayerSdk: ({ metastoreClient }: Options) => {
|
|
|
33
148
|
deleteObject: (objectType: SemanticChildObjectType, objectUUID: string) => Promise<void>;
|
|
34
149
|
};
|
|
35
150
|
|
|
36
|
-
export { SEMANTIC_OBJECT_TYPE, createSemanticLayerSdk };
|
|
151
|
+
export { CONSTRAINT_TYPES, MODEL_CHILD_OBJECT_TYPES, SEMANTIC_CHILD_OBJECT_SCHEMAS, SEMANTIC_OBJECT_TYPE, SQL_DIALECTS, createSemanticLayerSdk, semanticConstraintSchema, semanticDatasetSchema, semanticGlossarySchema, semanticMetricSchema, semanticModelSchema, semanticRelationshipSchema };
|
|
@@ -1,11 +1,104 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { SemanticChildObjectType, MetastoreClient, SemanticObject, SemanticModelData, CreateSemanticObjectMeta, UpdateSemanticObjectMeta, SemanticChildObjectDataMap, SemanticDatasetData, SemanticMetricData, SemanticRelationshipData, SemanticGlossaryData, SemanticConstraintData } from './types.js';
|
|
2
3
|
import '../../metastore/index.js';
|
|
3
|
-
import '../../types-
|
|
4
|
-
import '../../types-
|
|
5
|
-
import '../../createOpenapiFetchClient-
|
|
6
|
-
import '../../types-
|
|
4
|
+
import '../../types-B30y9Lhc.js';
|
|
5
|
+
import '../../types-gcShAmmi.js';
|
|
6
|
+
import '../../createOpenapiFetchClient-BSy6dVM5.js';
|
|
7
|
+
import '../../types-DNg4M5JV.js';
|
|
7
8
|
import 'qs';
|
|
8
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Runtime validators for the semantic-layer payload shapes.
|
|
12
|
+
*
|
|
13
|
+
* These exist because the metastore's validation errors are opaque — a missing or misspelled
|
|
14
|
+
* field surfaces only as a generic "Validation failed", and a wrong `sql_dialect` casing as a
|
|
15
|
+
* 422 that names neither the field nor the accepted values. Parsing first turns those into a
|
|
16
|
+
* message that says what is wrong.
|
|
17
|
+
*
|
|
18
|
+
* **Only the fields the SDK types mark as required are declared.** The metastore owns each
|
|
19
|
+
* object type's full schema, so every schema is a `looseObject`: unknown fields pass through
|
|
20
|
+
* untouched rather than being stripped or rejected. Re-declaring the optional fields here
|
|
21
|
+
* would create a second source of truth that silently drops whatever the metastore adds next.
|
|
22
|
+
*
|
|
23
|
+
* The SDK does **not** parse on its own writes — these are for callers that accept untrusted
|
|
24
|
+
* or hand-authored input (an agent's tool call, a form submission) and want to fail early.
|
|
25
|
+
* `modelUUID` is omitted throughout: the SDK injects it, so callers never supply it.
|
|
26
|
+
*/
|
|
27
|
+
declare const semanticModelSchema: z.ZodObject<{
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
sql_dialect: z.ZodEnum<{
|
|
30
|
+
Snowflake: "Snowflake";
|
|
31
|
+
BigQuery: "BigQuery";
|
|
32
|
+
}>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
|
+
declare const semanticDatasetSchema: z.ZodObject<{
|
|
35
|
+
name: z.ZodString;
|
|
36
|
+
tableId: z.ZodString;
|
|
37
|
+
fqn: z.ZodString;
|
|
38
|
+
}, z.core.$loose>;
|
|
39
|
+
declare const semanticMetricSchema: z.ZodObject<{
|
|
40
|
+
name: z.ZodString;
|
|
41
|
+
sql: z.ZodString;
|
|
42
|
+
}, z.core.$loose>;
|
|
43
|
+
declare const semanticRelationshipSchema: z.ZodObject<{
|
|
44
|
+
from: z.ZodString;
|
|
45
|
+
to: z.ZodString;
|
|
46
|
+
on: z.ZodString;
|
|
47
|
+
}, z.core.$loose>;
|
|
48
|
+
declare const semanticGlossarySchema: z.ZodObject<{
|
|
49
|
+
term: z.ZodString;
|
|
50
|
+
definition: z.ZodString;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
|
+
declare const semanticConstraintSchema: z.ZodObject<{
|
|
53
|
+
name: z.ZodString;
|
|
54
|
+
constraintType: z.ZodEnum<{
|
|
55
|
+
inequality: "inequality";
|
|
56
|
+
equality: "equality";
|
|
57
|
+
range: "range";
|
|
58
|
+
composition: "composition";
|
|
59
|
+
exclusion: "exclusion";
|
|
60
|
+
temporal: "temporal";
|
|
61
|
+
conditional: "conditional";
|
|
62
|
+
}>;
|
|
63
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
64
|
+
rule: z.ZodString;
|
|
65
|
+
}, z.core.$loose>;
|
|
66
|
+
/** Keyed by object type so a caller can pick the schema from a `SemanticChildObjectType`. */
|
|
67
|
+
declare const SEMANTIC_CHILD_OBJECT_SCHEMAS: {
|
|
68
|
+
readonly 'semantic-dataset': z.ZodObject<{
|
|
69
|
+
name: z.ZodString;
|
|
70
|
+
tableId: z.ZodString;
|
|
71
|
+
fqn: z.ZodString;
|
|
72
|
+
}, z.core.$loose>;
|
|
73
|
+
readonly 'semantic-metric': z.ZodObject<{
|
|
74
|
+
name: z.ZodString;
|
|
75
|
+
sql: z.ZodString;
|
|
76
|
+
}, z.core.$loose>;
|
|
77
|
+
readonly 'semantic-relationship': z.ZodObject<{
|
|
78
|
+
from: z.ZodString;
|
|
79
|
+
to: z.ZodString;
|
|
80
|
+
on: z.ZodString;
|
|
81
|
+
}, z.core.$loose>;
|
|
82
|
+
readonly 'semantic-glossary': z.ZodObject<{
|
|
83
|
+
term: z.ZodString;
|
|
84
|
+
definition: z.ZodString;
|
|
85
|
+
}, z.core.$loose>;
|
|
86
|
+
readonly 'semantic-constraint': z.ZodObject<{
|
|
87
|
+
name: z.ZodString;
|
|
88
|
+
constraintType: z.ZodEnum<{
|
|
89
|
+
inequality: "inequality";
|
|
90
|
+
equality: "equality";
|
|
91
|
+
range: "range";
|
|
92
|
+
composition: "composition";
|
|
93
|
+
exclusion: "exclusion";
|
|
94
|
+
temporal: "temporal";
|
|
95
|
+
conditional: "conditional";
|
|
96
|
+
}>;
|
|
97
|
+
metrics: z.ZodArray<z.ZodString>;
|
|
98
|
+
rule: z.ZodString;
|
|
99
|
+
}, z.core.$loose>;
|
|
100
|
+
};
|
|
101
|
+
|
|
9
102
|
declare const SEMANTIC_OBJECT_TYPE: {
|
|
10
103
|
readonly MODEL: "semantic-model";
|
|
11
104
|
readonly DATASET: "semantic-dataset";
|
|
@@ -14,6 +107,22 @@ declare const SEMANTIC_OBJECT_TYPE: {
|
|
|
14
107
|
readonly GLOSSARY: "semantic-glossary";
|
|
15
108
|
readonly CONSTRAINT: "semantic-constraint";
|
|
16
109
|
};
|
|
110
|
+
/**
|
|
111
|
+
* `readonly` because this drives `createModelTree`, `listModelChildren` and `deleteModel` —
|
|
112
|
+
* a consumer-side `.push()` would silently change what a cascade delete touches.
|
|
113
|
+
*/
|
|
114
|
+
declare const MODEL_CHILD_OBJECT_TYPES: readonly SemanticChildObjectType[];
|
|
115
|
+
/**
|
|
116
|
+
* The dialects the metastore accepts, exactly as it spells them. A lowercase value is
|
|
117
|
+
* rejected with `422 value must be one of 'Snowflake', 'BigQuery'`, which surfaces only as a
|
|
118
|
+
* generic "Validation failed" — so callers need the real set rather than a bare `string`.
|
|
119
|
+
*
|
|
120
|
+
* `SemanticModelData.sql_dialect` stays `string` for now: narrowing it would break any caller
|
|
121
|
+
* passing a `string` variable, which is a major bump. Validate against this instead.
|
|
122
|
+
*/
|
|
123
|
+
declare const SQL_DIALECTS: readonly ["Snowflake", "BigQuery"];
|
|
124
|
+
/** The metastore's constraint kinds. Runtime counterpart to `SemanticConstraintType`. */
|
|
125
|
+
declare const CONSTRAINT_TYPES: readonly ["inequality", "equality", "range", "composition", "exclusion", "temporal", "conditional"];
|
|
17
126
|
type Options = {
|
|
18
127
|
metastoreClient: MetastoreClient;
|
|
19
128
|
};
|
|
@@ -22,7 +131,13 @@ declare const createSemanticLayerSdk: ({ metastoreClient }: Options) => {
|
|
|
22
131
|
createModel: (data: SemanticModelData, meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticModelData>>;
|
|
23
132
|
updateModel: (modelUUID: string, data: Partial<SemanticModelData>, meta?: UpdateSemanticObjectMeta) => Promise<SemanticObject<SemanticModelData>>;
|
|
24
133
|
deleteModel: (modelUUID: string) => Promise<void>;
|
|
134
|
+
listModelChildren: (modelUUID: string, signal?: AbortSignal) => Promise<{
|
|
135
|
+
objectType: keyof SemanticChildObjectDataMap;
|
|
136
|
+
objectUUID: string;
|
|
137
|
+
name: string | undefined;
|
|
138
|
+
}[]>;
|
|
25
139
|
listObjects: <T extends SemanticChildObjectType>(objectType: T, modelUUID: string, signal?: AbortSignal) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>;
|
|
140
|
+
findObjectsByName: <T extends SemanticChildObjectType>(objectType: T, name: string, modelUUID: string, signal?: AbortSignal) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>;
|
|
26
141
|
createObject: <T extends SemanticChildObjectType>(objectType: T, data: SemanticChildObjectDataMap[T], meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>>;
|
|
27
142
|
createObjects: <T extends SemanticChildObjectType>(objectType: T, items: SemanticChildObjectDataMap[T][], meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>;
|
|
28
143
|
createModelTree: (model: SemanticModelData, children: Partial<{ [T in SemanticChildObjectType]: Omit<SemanticChildObjectDataMap[T], "modelUUID">[]; }>, meta?: CreateSemanticObjectMeta) => Promise<{
|
|
@@ -33,4 +148,4 @@ declare const createSemanticLayerSdk: ({ metastoreClient }: Options) => {
|
|
|
33
148
|
deleteObject: (objectType: SemanticChildObjectType, objectUUID: string) => Promise<void>;
|
|
34
149
|
};
|
|
35
150
|
|
|
36
|
-
export { SEMANTIC_OBJECT_TYPE, createSemanticLayerSdk };
|
|
151
|
+
export { CONSTRAINT_TYPES, MODEL_CHILD_OBJECT_TYPES, SEMANTIC_CHILD_OBJECT_SCHEMAS, SEMANTIC_OBJECT_TYPE, SQL_DIALECTS, createSemanticLayerSdk, semanticConstraintSchema, semanticDatasetSchema, semanticGlossarySchema, semanticMetricSchema, semanticModelSchema, semanticRelationshipSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SEMANTIC_OBJECT_TYPE, createSemanticLayerSdk } from '../../chunk-
|
|
1
|
+
export { CONSTRAINT_TYPES, MODEL_CHILD_OBJECT_TYPES, SEMANTIC_CHILD_OBJECT_SCHEMAS, SEMANTIC_OBJECT_TYPE, SQL_DIALECTS, createSemanticLayerSdk, semanticConstraintSchema, semanticDatasetSchema, semanticGlossarySchema, semanticMetricSchema, semanticModelSchema, semanticRelationshipSchema } from '../../chunk-UP5SEEYZ.js';
|
|
2
2
|
import '../../chunk-T526LPBK.js';
|
|
3
3
|
import '../../chunk-SJZ66FD5.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createMetastoreClient } from '../../metastore/index.cjs';
|
|
2
|
-
import { C as CreateMetaObjectInput, U as UpdateMetaObjectInput } from '../../types-
|
|
3
|
-
import '../../createOpenapiFetchClient-
|
|
4
|
-
import '../../types-
|
|
2
|
+
import { C as CreateMetaObjectInput, U as UpdateMetaObjectInput } from '../../types-CSZoV4lM.cjs';
|
|
3
|
+
import '../../createOpenapiFetchClient-GZxZgYHd.cjs';
|
|
4
|
+
import '../../types-DNg4M5JV.cjs';
|
|
5
5
|
import 'qs';
|
|
6
|
-
import '../../types-
|
|
6
|
+
import '../../types-gcShAmmi.cjs';
|
|
7
7
|
|
|
8
8
|
type MetastoreClient = ReturnType<typeof createMetastoreClient>;
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createMetastoreClient } from '../../metastore/index.js';
|
|
2
|
-
import { C as CreateMetaObjectInput, U as UpdateMetaObjectInput } from '../../types-
|
|
3
|
-
import '../../createOpenapiFetchClient-
|
|
4
|
-
import '../../types-
|
|
2
|
+
import { C as CreateMetaObjectInput, U as UpdateMetaObjectInput } from '../../types-B30y9Lhc.js';
|
|
3
|
+
import '../../createOpenapiFetchClient-BSy6dVM5.js';
|
|
4
|
+
import '../../types-DNg4M5JV.js';
|
|
5
5
|
import 'qs';
|
|
6
|
-
import '../../types-
|
|
6
|
+
import '../../types-gcShAmmi.js';
|
|
7
7
|
|
|
8
8
|
type MetastoreClient = ReturnType<typeof createMetastoreClient>;
|
|
9
9
|
|