@keboola/api-client 25.0.0 → 29.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (812) hide show
  1. package/AGENTS.md +623 -0
  2. package/API-SURFACE.md +133 -57
  3. package/README.md +81 -42
  4. package/dist/ManagementClientAuthError-B97OtOQ7.js +15 -0
  5. package/dist/ManagementClientAuthError-B97OtOQ7.js.map +1 -0
  6. package/dist/ManagementClientAuthError-ZJ2-RoKT.cjs +20 -0
  7. package/dist/ManagementClientAuthError-ZJ2-RoKT.cjs.map +1 -0
  8. package/dist/QueryJobTimeoutError-C7JbNGOM.js +38 -0
  9. package/dist/QueryJobTimeoutError-C7JbNGOM.js.map +1 -0
  10. package/dist/QueryJobTimeoutError-CVNPdCWX.cjs +61 -0
  11. package/dist/QueryJobTimeoutError-CVNPdCWX.cjs.map +1 -0
  12. package/dist/SyncActionError-BG0zwchi.cjs +35 -0
  13. package/dist/SyncActionError-BG0zwchi.cjs.map +1 -0
  14. package/dist/SyncActionError-CoZFsdUk.js +24 -0
  15. package/dist/SyncActionError-CoZFsdUk.js.map +1 -0
  16. package/dist/UserError-By_Zckmc.js +10 -0
  17. package/dist/UserError-By_Zckmc.js.map +1 -0
  18. package/dist/UserError-CSGO1qII.cjs +15 -0
  19. package/dist/UserError-CSGO1qII.cjs.map +1 -0
  20. package/dist/ValidationError-CzPWydEb.js +44 -0
  21. package/dist/ValidationError-CzPWydEb.js.map +1 -0
  22. package/dist/ValidationError-h5qvwahi.cjs +61 -0
  23. package/dist/ValidationError-h5qvwahi.cjs.map +1 -0
  24. package/dist/adminRoles-B40yBcmq.js +14 -0
  25. package/dist/adminRoles-B40yBcmq.js.map +1 -0
  26. package/dist/adminRoles-C696kD_U.d.cts +14 -0
  27. package/dist/adminRoles-C696kD_U.d.ts +14 -0
  28. package/dist/adminRoles-CO7J5qAy.cjs +19 -0
  29. package/dist/adminRoles-CO7J5qAy.cjs.map +1 -0
  30. package/dist/ai/index.cjs +62 -12
  31. package/dist/ai/index.cjs.map +1 -1
  32. package/dist/ai/index.d.cts +52 -50
  33. package/dist/ai/index.d.ts +52 -50
  34. package/dist/ai/index.js +62 -4
  35. package/dist/ai/index.js.map +1 -1
  36. package/dist/ai/types.cjs +0 -4
  37. package/dist/ai/types.d.cts +2 -2
  38. package/dist/ai/types.d.ts +2 -2
  39. package/dist/ai/types.js +1 -3
  40. package/dist/appLogs-CNG3yby-.cjs +153 -0
  41. package/dist/appLogs-CNG3yby-.cjs.map +1 -0
  42. package/dist/appLogs-Dl5BcCSD.d.cts +10 -0
  43. package/dist/appLogs-VdgP08aX.d.ts +10 -0
  44. package/dist/appLogs-enL9XR9r.js +132 -0
  45. package/dist/appLogs-enL9XR9r.js.map +1 -0
  46. package/dist/apps/index.cjs +231 -0
  47. package/dist/apps/index.cjs.map +1 -0
  48. package/dist/apps/index.d.cts +248 -0
  49. package/dist/apps/index.d.ts +248 -0
  50. package/dist/apps/index.js +230 -0
  51. package/dist/apps/index.js.map +1 -0
  52. package/dist/apps/types.cjs +0 -0
  53. package/dist/apps/types.d.cts +3 -0
  54. package/dist/apps/types.d.ts +3 -0
  55. package/dist/apps/types.js +1 -0
  56. package/dist/assets/index.cjs +33 -38
  57. package/dist/assets/index.cjs.map +1 -1
  58. package/dist/assets/index.d.cts +22 -22
  59. package/dist/assets/index.d.ts +22 -22
  60. package/dist/assets/index.js +32 -36
  61. package/dist/assets/index.js.map +1 -1
  62. package/dist/assets/schema.cjs +23 -13
  63. package/dist/assets/schema.cjs.map +1 -1
  64. package/dist/assets/schema.d.cts +29 -28
  65. package/dist/assets/schema.d.ts +29 -28
  66. package/dist/assets/schema.js +21 -2
  67. package/dist/assets/schema.js.map +1 -1
  68. package/dist/auth/index.cjs +14 -53
  69. package/dist/auth/index.d.cts +2 -305
  70. package/dist/auth/index.d.ts +2 -305
  71. package/dist/auth/index.js +2 -4
  72. package/dist/auth/types.cjs +0 -4
  73. package/dist/auth/types.d.cts +2 -7
  74. package/dist/auth/types.d.ts +2 -7
  75. package/dist/auth/types.js +1 -3
  76. package/dist/auth-5HCvCsZO.cjs +18 -0
  77. package/dist/auth-5HCvCsZO.cjs.map +1 -0
  78. package/dist/auth-D2jfNlpX.js +13 -0
  79. package/dist/{chunk-EDX5D6UY.js.map → auth-D2jfNlpX.js.map} +1 -1
  80. package/dist/authClient-Bgj2Ay7h.d.cts +320 -0
  81. package/dist/authClient-DOk6VKdV.js +332 -0
  82. package/dist/authClient-DOk6VKdV.js.map +1 -0
  83. package/dist/authClient-Dsd7W99W.d.ts +320 -0
  84. package/dist/authClient-Z8Eg8rlN.cjs +405 -0
  85. package/dist/authClient-Z8Eg8rlN.cjs.map +1 -0
  86. package/dist/backends-DKBz5OxE.d.cts +9 -0
  87. package/dist/backends-DKBz5OxE.d.ts +9 -0
  88. package/dist/chat/index.cjs +134 -13
  89. package/dist/chat/index.cjs.map +1 -1
  90. package/dist/chat/index.d.cts +49 -48
  91. package/dist/chat/index.d.ts +49 -48
  92. package/dist/chat/index.js +134 -5
  93. package/dist/chat/index.js.map +1 -1
  94. package/dist/chat/suggestions.cjs +152 -74
  95. package/dist/chat/suggestions.cjs.map +1 -1
  96. package/dist/chat/suggestions.d.cts +2 -437
  97. package/dist/chat/suggestions.d.ts +2 -437
  98. package/dist/chat/suggestions.js +136 -2
  99. package/dist/chat/suggestions.js.map +1 -1
  100. package/dist/chat/types.cjs +6 -8
  101. package/dist/chat/types.cjs.map +1 -1
  102. package/dist/chat/types.d.cts +2 -3
  103. package/dist/chat/types.d.ts +2 -3
  104. package/dist/chat/types.js +5 -6
  105. package/dist/chat/types.js.map +1 -1
  106. package/dist/componentId-DkyQ8PM0.cjs +73 -0
  107. package/dist/componentId-DkyQ8PM0.cjs.map +1 -0
  108. package/dist/componentId-vJz-kWs6.js +68 -0
  109. package/dist/componentId-vJz-kWs6.js.map +1 -0
  110. package/dist/concurrent-CH9fbNr3.js +34 -0
  111. package/dist/concurrent-CH9fbNr3.js.map +1 -0
  112. package/dist/concurrent-tbiIa0UL.cjs +39 -0
  113. package/dist/concurrent-tbiIa0UL.cjs.map +1 -0
  114. package/dist/configurations-Byt59bIa.js +726 -0
  115. package/dist/{chunk-IAYPOSMM.cjs.map → configurations-Byt59bIa.js.map} +1 -1
  116. package/dist/configurations-CujCwDcB.cjs +743 -0
  117. package/dist/configurations-CujCwDcB.cjs.map +1 -0
  118. package/dist/configurations-DCOJONZZ.cjs +313 -0
  119. package/dist/configurations-DCOJONZZ.cjs.map +1 -0
  120. package/dist/configurations-iCbhe0tb.js +158 -0
  121. package/dist/configurations-iCbhe0tb.js.map +1 -0
  122. package/dist/constants/index.cjs +10 -34
  123. package/dist/constants/index.d.cts +4 -92
  124. package/dist/constants/index.d.ts +4 -92
  125. package/dist/constants/index.js +4 -5
  126. package/dist/constants-CqyyBkXW.cjs +197 -0
  127. package/dist/constants-CqyyBkXW.cjs.map +1 -0
  128. package/dist/constants-_HhqKvBg.js +174 -0
  129. package/dist/constants-_HhqKvBg.js.map +1 -0
  130. package/dist/createFetchClient-BK0TZK-U.js +184 -0
  131. package/dist/createFetchClient-BK0TZK-U.js.map +1 -0
  132. package/dist/createFetchClient-BsG719K1.cjs +263 -0
  133. package/dist/createFetchClient-BsG719K1.cjs.map +1 -0
  134. package/dist/createGenericFetchClient-CVZYekDk.js +7 -0
  135. package/dist/createGenericFetchClient-CVZYekDk.js.map +1 -0
  136. package/dist/createGenericFetchClient-DLbjX0eM.cjs +12 -0
  137. package/dist/createGenericFetchClient-DLbjX0eM.cjs.map +1 -0
  138. package/dist/createOpenapiFetchClient-B5U1fCHS.js +7 -0
  139. package/dist/createOpenapiFetchClient-B5U1fCHS.js.map +1 -0
  140. package/dist/createOpenapiFetchClient-Cr90VXY4.cjs +12 -0
  141. package/dist/createOpenapiFetchClient-Cr90VXY4.cjs.map +1 -0
  142. package/dist/createStore-BNiCRQXa.js +148 -0
  143. package/dist/createStore-BNiCRQXa.js.map +1 -0
  144. package/dist/createStore-MQbboXcB.cjs +177 -0
  145. package/dist/createStore-MQbboXcB.cjs.map +1 -0
  146. package/dist/credential-0c6yFwtp.cjs +44 -0
  147. package/dist/credential-0c6yFwtp.cjs.map +1 -0
  148. package/dist/credential-kEGLnVez.js +33 -0
  149. package/dist/credential-kEGLnVez.js.map +1 -0
  150. package/dist/dataScience/index.cjs +5 -19
  151. package/dist/dataScience/index.d.cts +3 -207
  152. package/dist/dataScience/index.d.ts +3 -207
  153. package/dist/dataScience/index.js +3 -6
  154. package/dist/dataScience/types.cjs +0 -4
  155. package/dist/dataScience/types.d.cts +3 -2
  156. package/dist/dataScience/types.d.ts +3 -2
  157. package/dist/dataScience/types.js +1 -3
  158. package/dist/dataScience-C-JrA0Uk.cjs +114 -0
  159. package/dist/dataScience-C-JrA0Uk.cjs.map +1 -0
  160. package/dist/dataScience-CE0pSWbl.js +109 -0
  161. package/dist/dataScience-CE0pSWbl.js.map +1 -0
  162. package/dist/dedupe-CiskLkGR.cjs +30 -0
  163. package/dist/dedupe-CiskLkGR.cjs.map +1 -0
  164. package/dist/dedupe-DYIHgZoG.js +25 -0
  165. package/dist/dedupe-DYIHgZoG.js.map +1 -0
  166. package/dist/developerPortal/index.cjs +6 -0
  167. package/dist/developerPortal/index.d.cts +3 -0
  168. package/dist/developerPortal/index.d.ts +3 -0
  169. package/dist/developerPortal/index.js +2 -0
  170. package/dist/developerPortal/types.cjs +0 -0
  171. package/dist/developerPortal/types.d.cts +2 -0
  172. package/dist/developerPortal/types.d.ts +2 -0
  173. package/dist/developerPortal/types.js +1 -0
  174. package/dist/developerPortalClient-BPPEAdJW.js +485 -0
  175. package/dist/developerPortalClient-BPPEAdJW.js.map +1 -0
  176. package/dist/developerPortalClient-C8oq48xW.cjs +508 -0
  177. package/dist/developerPortalClient-C8oq48xW.cjs.map +1 -0
  178. package/dist/domain/permissions/index.cjs +31 -122
  179. package/dist/domain/permissions/index.d.cts +19 -51
  180. package/dist/domain/permissions/index.d.ts +19 -51
  181. package/dist/domain/permissions/index.js +3 -5
  182. package/dist/domain/storageTable/index.cjs +4 -16
  183. package/dist/domain/storageTable/index.d.cts +2 -131
  184. package/dist/domain/storageTable/index.d.ts +2 -131
  185. package/dist/domain/storageTable/index.js +2 -3
  186. package/dist/editor/index.cjs +96 -12
  187. package/dist/editor/index.cjs.map +1 -1
  188. package/dist/editor/index.d.cts +163 -161
  189. package/dist/editor/index.d.ts +163 -161
  190. package/dist/editor/index.js +96 -4
  191. package/dist/editor/index.js.map +1 -1
  192. package/dist/editor/types.cjs +0 -4
  193. package/dist/editor/types.d.cts +2 -2
  194. package/dist/editor/types.d.ts +2 -2
  195. package/dist/editor/types.js +1 -3
  196. package/dist/encryption/index.cjs +58 -11
  197. package/dist/encryption/index.cjs.map +1 -1
  198. package/dist/encryption/index.d.cts +2 -18
  199. package/dist/encryption/index.d.ts +2 -18
  200. package/dist/encryption/index.js +58 -3
  201. package/dist/encryption/index.js.map +1 -1
  202. package/dist/encryption/types.cjs +0 -4
  203. package/dist/encryption/types.d.cts +2 -68
  204. package/dist/encryption/types.d.ts +2 -68
  205. package/dist/encryption/types.js +1 -3
  206. package/dist/generateUUID-C6qKBPIv.cjs +11 -0
  207. package/dist/generateUUID-C6qKBPIv.cjs.map +1 -0
  208. package/dist/generateUUID-Dr8l-aoc.js +6 -0
  209. package/dist/generateUUID-Dr8l-aoc.js.map +1 -0
  210. package/dist/import/index.cjs +3 -14
  211. package/dist/import/index.d.cts +41 -38
  212. package/dist/import/index.d.ts +41 -38
  213. package/dist/import/index.js +2 -5
  214. package/dist/import-Cf0W-7YD.js +116 -0
  215. package/dist/import-Cf0W-7YD.js.map +1 -0
  216. package/dist/import-KLH1uRtx.cjs +121 -0
  217. package/dist/import-KLH1uRtx.cjs.map +1 -0
  218. package/dist/index-8pN6Emos.d.ts +218 -0
  219. package/dist/index-BEKaJ7Cc.d.cts +1388 -0
  220. package/dist/index-BMqLPS6S.d.cts +135 -0
  221. package/dist/index-BMqLPS6S.d.ts +135 -0
  222. package/dist/index-BWBScAYc.d.cts +16 -0
  223. package/dist/index-BmjeNd9u.d.ts +1075 -0
  224. package/dist/index-BthgbVdd.d.ts +31 -0
  225. package/dist/index-CLPrlyIz.d.cts +218 -0
  226. package/dist/index-CXQRvZ-f.d.cts +31 -0
  227. package/dist/index-CeistZnj.d.ts +1388 -0
  228. package/dist/index-Cfrl7sd5.d.ts +65 -0
  229. package/dist/index-DIM8KZly.d.ts +16 -0
  230. package/dist/index-DNlX-H1V.d.ts +208 -0
  231. package/dist/index-DVsnxZap.d.cts +65 -0
  232. package/dist/index-DXi6wsr5.d.cts +77 -0
  233. package/dist/index-DYQt4zxC.d.ts +77 -0
  234. package/dist/index-DplMbm9E.d.cts +19882 -0
  235. package/dist/index-Dwp8tF6O.d.ts +19882 -0
  236. package/dist/index-IN0qzs52.d.cts +208 -0
  237. package/dist/index-KKJkrxjx.d.ts +26 -0
  238. package/dist/index-NC1dXRTD.d.cts +40 -0
  239. package/dist/index-NC1dXRTD.d.ts +40 -0
  240. package/dist/index-WQkVzx5e.d.cts +1075 -0
  241. package/dist/index-eEBVG5s3.d.cts +26 -0
  242. package/dist/index-vb9Rfqca.d.cts +115 -0
  243. package/dist/index-vb9Rfqca.d.ts +115 -0
  244. package/dist/index.cjs +1728 -1802
  245. package/dist/index.cjs.map +1 -1
  246. package/dist/index.d.cts +7 -15301
  247. package/dist/index.d.ts +7 -15301
  248. package/dist/index.js +1678 -1675
  249. package/dist/index.js.map +1 -1
  250. package/dist/isPlainObject-BB3iy87C.cjs +16 -0
  251. package/dist/isPlainObject-BB3iy87C.cjs.map +1 -0
  252. package/dist/isPlainObject-LYW-03uB.js +11 -0
  253. package/dist/isPlainObject-LYW-03uB.js.map +1 -0
  254. package/dist/jobStatus-DbMupQEK.js +423 -0
  255. package/dist/jobStatus-DbMupQEK.js.map +1 -0
  256. package/dist/jobStatus-kQ9JqF8t.cjs +494 -0
  257. package/dist/jobStatus-kQ9JqF8t.cjs.map +1 -0
  258. package/dist/management/index.cjs +4 -18
  259. package/dist/management/index.d.cts +2 -1083
  260. package/dist/management/index.d.ts +2 -1083
  261. package/dist/management/index.js +2 -5
  262. package/dist/management/types.cjs +0 -4
  263. package/dist/management/types.d.cts +2 -12
  264. package/dist/management/types.d.ts +2 -12
  265. package/dist/management/types.js +1 -3
  266. package/dist/management-DqwQcDCx.js +1065 -0
  267. package/dist/management-DqwQcDCx.js.map +1 -0
  268. package/dist/management-WOmlBt6H.cjs +1076 -0
  269. package/dist/management-WOmlBt6H.cjs.map +1 -0
  270. package/dist/metastore/index.cjs +3 -14
  271. package/dist/metastore/index.d.cts +2 -33
  272. package/dist/metastore/index.d.ts +2 -33
  273. package/dist/metastore/index.js +2 -5
  274. package/dist/metastore/types.cjs +0 -4
  275. package/dist/metastore/types.d.cts +2 -2
  276. package/dist/metastore/types.d.ts +2 -2
  277. package/dist/metastore/types.js +1 -3
  278. package/dist/metastore-CNEhL66f.js +134 -0
  279. package/dist/metastore-CNEhL66f.js.map +1 -0
  280. package/dist/metastore-CkQluyX1.cjs +139 -0
  281. package/dist/metastore-CkQluyX1.cjs.map +1 -0
  282. package/dist/notifications/index.cjs +67 -13
  283. package/dist/notifications/index.cjs.map +1 -1
  284. package/dist/notifications/index.d.cts +56 -56
  285. package/dist/notifications/index.d.ts +56 -56
  286. package/dist/notifications/index.js +67 -5
  287. package/dist/notifications/index.js.map +1 -1
  288. package/dist/notifications/types.cjs +0 -4
  289. package/dist/notifications/types.d.cts +2 -2
  290. package/dist/notifications/types.d.ts +2 -2
  291. package/dist/notifications/types.js +1 -3
  292. package/dist/oauth/index.cjs +3 -14
  293. package/dist/oauth/index.d.cts +49 -49
  294. package/dist/oauth/index.d.ts +49 -49
  295. package/dist/oauth/index.js +2 -5
  296. package/dist/oauth/types.cjs +0 -4
  297. package/dist/oauth/types.d.cts +2 -725
  298. package/dist/oauth/types.d.ts +2 -725
  299. package/dist/oauth/types.js +1 -3
  300. package/dist/oauth-DTvrqe6P.cjs +88 -0
  301. package/dist/oauth-DTvrqe6P.cjs.map +1 -0
  302. package/dist/oauth-DYDObUX9.js +83 -0
  303. package/dist/oauth-DYDObUX9.js.map +1 -0
  304. package/dist/omnisearch/index.cjs +49 -0
  305. package/dist/omnisearch/index.cjs.map +1 -0
  306. package/dist/omnisearch/index.d.cts +30 -0
  307. package/dist/omnisearch/index.d.ts +30 -0
  308. package/dist/omnisearch/index.js +48 -0
  309. package/dist/omnisearch/index.js.map +1 -0
  310. package/dist/omnisearch/types.cjs +0 -0
  311. package/dist/omnisearch/types.d.cts +2 -0
  312. package/dist/omnisearch/types.d.ts +2 -0
  313. package/dist/omnisearch/types.js +1 -0
  314. package/dist/project-BvFi19K_.cjs +56 -0
  315. package/dist/project-BvFi19K_.cjs.map +1 -0
  316. package/dist/project-CcGxXIW_.d.cts +18 -0
  317. package/dist/project-DWwZv66D.js +39 -0
  318. package/dist/project-DWwZv66D.js.map +1 -0
  319. package/dist/project-io1pY-hW.d.ts +18 -0
  320. package/dist/queryService/index.cjs +3 -14
  321. package/dist/queryService/index.d.cts +2 -39
  322. package/dist/queryService/index.d.ts +2 -39
  323. package/dist/queryService/index.js +2 -5
  324. package/dist/queryService/types.cjs +0 -4
  325. package/dist/queryService/types.d.cts +2 -2
  326. package/dist/queryService/types.d.ts +2 -2
  327. package/dist/queryService/types.js +1 -3
  328. package/dist/queryService-BHV_OZI2.js +114 -0
  329. package/dist/queryService-BHV_OZI2.js.map +1 -0
  330. package/dist/queryService-CvqDqigW.cjs +119 -0
  331. package/dist/queryService-CvqDqigW.cjs.map +1 -0
  332. package/dist/queue/index.cjs +3 -15
  333. package/dist/queue/index.d.cts +411 -334
  334. package/dist/queue/index.d.ts +411 -334
  335. package/dist/queue/index.js +2 -6
  336. package/dist/queue/types.cjs +0 -4
  337. package/dist/queue/types.d.cts +2 -2
  338. package/dist/queue/types.d.ts +2 -2
  339. package/dist/queue/types.js +1 -3
  340. package/dist/queue-CUHKupTA.cjs +137 -0
  341. package/dist/queue-CUHKupTA.cjs.map +1 -0
  342. package/dist/queue-uofE4Eu6.js +126 -0
  343. package/dist/queue-uofE4Eu6.js.map +1 -0
  344. package/dist/rolldown-runtime-VH7oDXx4.cjs +28 -0
  345. package/dist/scheduler/index.cjs +61 -13
  346. package/dist/scheduler/index.cjs.map +1 -1
  347. package/dist/scheduler/index.d.cts +73 -73
  348. package/dist/scheduler/index.d.ts +73 -73
  349. package/dist/scheduler/index.js +61 -5
  350. package/dist/scheduler/index.js.map +1 -1
  351. package/dist/scheduler/types.cjs +0 -4
  352. package/dist/scheduler/types.d.cts +2 -372
  353. package/dist/scheduler/types.d.ts +2 -372
  354. package/dist/scheduler/types.js +1 -3
  355. package/dist/sdk/configurations/index.cjs +3 -16
  356. package/dist/sdk/configurations/index.d.cts +3066 -3077
  357. package/dist/sdk/configurations/index.d.ts +3066 -3077
  358. package/dist/sdk/configurations/index.js +2 -7
  359. package/dist/sdk/developerPortal/index.cjs +203 -0
  360. package/dist/sdk/developerPortal/index.cjs.map +1 -0
  361. package/dist/sdk/developerPortal/index.d.cts +1371 -0
  362. package/dist/sdk/developerPortal/index.d.ts +1371 -0
  363. package/dist/sdk/developerPortal/index.js +202 -0
  364. package/dist/sdk/developerPortal/index.js.map +1 -0
  365. package/dist/sdk/queryService/index.cjs +93 -0
  366. package/dist/sdk/queryService/index.cjs.map +1 -0
  367. package/dist/sdk/queryService/index.d.cts +2 -0
  368. package/dist/sdk/queryService/index.d.ts +2 -0
  369. package/dist/sdk/queryService/index.js +92 -0
  370. package/dist/sdk/queryService/index.js.map +1 -0
  371. package/dist/sdk/semanticLayer/index.cjs +352 -50
  372. package/dist/sdk/semanticLayer/index.cjs.map +1 -1
  373. package/dist/sdk/semanticLayer/index.d.cts +105 -94
  374. package/dist/sdk/semanticLayer/index.d.ts +105 -94
  375. package/dist/sdk/semanticLayer/index.js +346 -4
  376. package/dist/sdk/semanticLayer/index.js.map +1 -1
  377. package/dist/sdk/semanticLayer/types.cjs +0 -4
  378. package/dist/sdk/semanticLayer/types.d.cts +2 -132
  379. package/dist/sdk/semanticLayer/types.d.ts +2 -132
  380. package/dist/sdk/semanticLayer/types.js +1 -3
  381. package/dist/sdk/storage/index.cjs +267 -47
  382. package/dist/sdk/storage/index.cjs.map +1 -1
  383. package/dist/sdk/storage/index.d.cts +2 -119
  384. package/dist/sdk/storage/index.d.ts +2 -119
  385. package/dist/sdk/storage/index.js +258 -3
  386. package/dist/sdk/storage/index.js.map +1 -1
  387. package/dist/sdk/tag/index.cjs +3 -14
  388. package/dist/sdk/tag/index.d.cts +16 -20
  389. package/dist/sdk/tag/index.d.ts +16 -20
  390. package/dist/sdk/tag/index.js +2 -5
  391. package/dist/sdk/tag/types.cjs +0 -4
  392. package/dist/sdk/tag/types.d.cts +2 -30
  393. package/dist/sdk/tag/types.d.ts +2 -30
  394. package/dist/sdk/tag/types.js +1 -3
  395. package/dist/sdk/vault/index.cjs +93 -31
  396. package/dist/sdk/vault/index.cjs.map +1 -1
  397. package/dist/sdk/vault/index.d.cts +2 -72
  398. package/dist/sdk/vault/index.d.ts +2 -72
  399. package/dist/sdk/vault/index.js +88 -3
  400. package/dist/sdk/vault/index.js.map +1 -1
  401. package/dist/status/index.cjs +16 -20
  402. package/dist/status/index.cjs.map +1 -1
  403. package/dist/status/index.d.cts +8 -9
  404. package/dist/status/index.d.ts +8 -9
  405. package/dist/status/index.js +15 -18
  406. package/dist/status/index.js.map +1 -1
  407. package/dist/status/types.cjs +0 -6
  408. package/dist/status/types.d.cts +17 -15
  409. package/dist/status/types.d.ts +17 -15
  410. package/dist/status/types.js +1 -3
  411. package/dist/storage/index.cjs +27 -54
  412. package/dist/storage/index.d.cts +3 -43
  413. package/dist/storage/index.d.ts +3 -43
  414. package/dist/storage/index.js +8 -9
  415. package/dist/storage/types.cjs +0 -4
  416. package/dist/storage/types.d.cts +5 -1654
  417. package/dist/storage/types.d.ts +5 -1654
  418. package/dist/storage/types.js +1 -3
  419. package/dist/storage-DbyNnkIJ.cjs +2458 -0
  420. package/dist/storage-DbyNnkIJ.cjs.map +1 -0
  421. package/dist/storage-luq7YBZF.js +2429 -0
  422. package/dist/storage-luq7YBZF.js.map +1 -0
  423. package/dist/storageTable-C9crh4Ef.cjs +310 -0
  424. package/dist/storageTable-C9crh4Ef.cjs.map +1 -0
  425. package/dist/storageTable-DslXtqNL.js +299 -0
  426. package/dist/storageTable-DslXtqNL.js.map +1 -0
  427. package/dist/stream/index.cjs +363 -12
  428. package/dist/stream/index.cjs.map +1 -1
  429. package/dist/stream/index.d.cts +345 -345
  430. package/dist/stream/index.d.ts +345 -345
  431. package/dist/stream/index.js +363 -4
  432. package/dist/stream/index.js.map +1 -1
  433. package/dist/stream/types.cjs +0 -4
  434. package/dist/stream/types.d.cts +2 -2
  435. package/dist/stream/types.d.ts +2 -2
  436. package/dist/stream/types.js +1 -3
  437. package/dist/suggestions-BH3x7xU7.d.cts +438 -0
  438. package/dist/suggestions-BH3x7xU7.d.ts +438 -0
  439. package/dist/syncActions/index.cjs +3 -18
  440. package/dist/syncActions/index.d.cts +2 -112
  441. package/dist/syncActions/index.d.ts +2 -112
  442. package/dist/syncActions/index.js +2 -9
  443. package/dist/syncActions/types.cjs +0 -4
  444. package/dist/syncActions/types.d.cts +2 -298
  445. package/dist/syncActions/types.d.ts +2 -298
  446. package/dist/syncActions/types.js +1 -3
  447. package/dist/syncActions-DKWeJ8GH.cjs +504 -0
  448. package/dist/syncActions-DKWeJ8GH.cjs.map +1 -0
  449. package/dist/syncActions-ssWWVN_4.js +497 -0
  450. package/dist/syncActions-ssWWVN_4.js.map +1 -0
  451. package/dist/tag-CsoOZWB_.cjs +175 -0
  452. package/dist/tag-CsoOZWB_.cjs.map +1 -0
  453. package/dist/tag-DCsoewjL.js +164 -0
  454. package/dist/{chunk-DHOVQ2TW.js.map → tag-DCsoewjL.js.map} +1 -1
  455. package/dist/telemetry/index.cjs +3 -14
  456. package/dist/telemetry/index.d.cts +10 -10
  457. package/dist/telemetry/index.d.ts +10 -10
  458. package/dist/telemetry/index.js +2 -5
  459. package/dist/telemetry/types.cjs +0 -4
  460. package/dist/telemetry/types.d.cts +2 -12
  461. package/dist/telemetry/types.d.ts +2 -12
  462. package/dist/telemetry/types.js +1 -3
  463. package/dist/telemetry-2IrE8HaZ.cjs +29 -0
  464. package/dist/telemetry-2IrE8HaZ.cjs.map +1 -0
  465. package/dist/telemetry-yQfQxBBI.js +24 -0
  466. package/dist/telemetry-yQfQxBBI.js.map +1 -0
  467. package/dist/types--T-vBqdd.d.cts +2835 -0
  468. package/dist/{types-CM1zHzgm.d.ts → types-2mHlPakp.d.cts} +893 -69
  469. package/dist/types-7H6Dnz0Y.d.ts +23 -0
  470. package/dist/types-B06L4-WE.d.cts +2124 -0
  471. package/dist/types-B1S2H7q1.d.ts +373 -0
  472. package/dist/types-B1glyy_Q.d.ts +726 -0
  473. package/dist/{utils-DK7uJcmR.d.cts → types-BCt0EMiO.d.ts} +16 -905
  474. package/dist/{types-BX1xr4CX.d.cts → types-BD6czYPH.d.ts} +43 -108
  475. package/dist/{types-BEnE7LHB.d.cts → types-BO-mTxKb.d.cts} +57 -81
  476. package/dist/{types-BieLFMW1.d.cts → types-BREBK0xX.d.ts} +9 -8
  477. package/dist/types-BRQAKEC1.d.cts +32 -0
  478. package/dist/types-BXK6Ebtm.d.ts +32 -0
  479. package/dist/types-BefwoXik.d.cts +373 -0
  480. package/dist/{types-DeoA45gz.d.cts → types-BhBvnvqe.d.ts} +632 -464
  481. package/dist/{types-Cgh3jqrV.d.cts → types-BmFyDKe6.d.ts} +893 -69
  482. package/dist/types-BpWqpMkL.d.ts +66 -0
  483. package/dist/types-C8XiTXxi.d.cts +23 -0
  484. package/dist/{types-BfuVN8Pk.d.cts → types-CAOvDtMC.d.cts} +11 -16
  485. package/dist/types-CC0wymfG.d.ts +2088 -0
  486. package/dist/{types-YzkNUuYo.d.ts → types-CI1mW2lA.d.ts} +11 -16
  487. package/dist/{types-00IaLn3S.d.ts → types-CRYtdj5w.d.ts} +876 -374
  488. package/dist/{types-CrLjE5xf.d.ts → types-CSmttcZ_.d.ts} +10 -12
  489. package/dist/{types-DgSyBwP3.d.cts → types-CbZ8aMKW.d.cts} +11 -14
  490. package/dist/{types-DwMezEHT.d.ts → types-CexuN7Mw.d.cts} +43 -108
  491. package/dist/types-CjAia48k.d.ts +386 -0
  492. package/dist/{types-D-MuJHwl.d.cts → types-CtdyAkzI.d.cts} +28 -16
  493. package/dist/{types-DpUcInCX.d.ts → types-CvADp-x-.d.ts} +11 -14
  494. package/dist/types-CwvOcTOm.d.cts +2088 -0
  495. package/dist/types-CyRK5z-E.d.cts +386 -0
  496. package/dist/{types-DbAO-Tgk.d.ts → types-D2n3h1gp.d.ts} +57 -81
  497. package/dist/types-DBOEA7l0.d.cts +148 -0
  498. package/dist/{types-DYnHIm7m.d.cts → types-DCBKso0t.d.cts} +10 -12
  499. package/dist/{types-Hj1CaKtV.d.ts → types-DEKF5pbg.d.cts} +632 -464
  500. package/dist/{types-B30y9Lhc.d.ts → types-DMvU4kZ2.d.cts} +208 -24
  501. package/dist/{types-B-vmDlWB.d.cts → types-DS8uFAeq.d.cts} +10 -15
  502. package/dist/types-DeApSCzx.d.cts +602 -0
  503. package/dist/types-DebL68-g.d.ts +148 -0
  504. package/dist/types-DgaYUtu_.d.cts +726 -0
  505. package/dist/{types-CiJ5ULtS.d.ts → types-DkbfBOBr.d.cts} +9 -8
  506. package/dist/types-DvsGS8By.d.cts +66 -0
  507. package/dist/{types-DHXZZKb3.d.ts → types-DwX1uxp_.d.ts} +10 -15
  508. package/dist/{types-sVyfECai.d.cts → types-ISUNM_BR.d.cts} +876 -374
  509. package/dist/{utils-B_SOM1XR.d.ts → types-QOIQ-dZU.d.cts} +16 -905
  510. package/dist/types-SGuvOEV8.d.ts +2124 -0
  511. package/dist/types-V8rC5if7.d.cts +621 -0
  512. package/dist/{types-CSZoV4lM.d.cts → types-Z-vUwgym.d.ts} +208 -24
  513. package/dist/types-bws2RtKq.d.ts +602 -0
  514. package/dist/types-h9TTimS_.d.ts +2835 -0
  515. package/dist/types-lFsTSkhe.d.cts +14 -0
  516. package/dist/types-lFsTSkhe.d.ts +14 -0
  517. package/dist/types-n4FFKqa4.d.ts +621 -0
  518. package/dist/{types-DeS-oVdn.d.ts → types-x4xPlrr0.d.ts} +28 -16
  519. package/dist/vault/index.cjs +49 -13
  520. package/dist/vault/index.cjs.map +1 -1
  521. package/dist/vault/index.d.cts +2 -26
  522. package/dist/vault/index.d.ts +2 -26
  523. package/dist/vault/index.js +49 -5
  524. package/dist/vault/index.js.map +1 -1
  525. package/dist/vault/types.cjs +0 -4
  526. package/dist/vault/types.d.cts +2 -385
  527. package/dist/vault/types.d.ts +2 -385
  528. package/dist/vault/types.js +1 -3
  529. package/package.json +113 -7
  530. package/surface/ai.md +1 -0
  531. package/surface/apps.md +32 -0
  532. package/surface/auth.md +6 -4
  533. package/surface/chat.md +3 -2
  534. package/surface/dataScience.md +3 -2
  535. package/surface/editor.md +1 -0
  536. package/surface/encryption.md +1 -0
  537. package/surface/import.md +1 -0
  538. package/surface/kaiAgent.md +2 -1
  539. package/surface/management.md +17 -16
  540. package/surface/metastore.md +2 -1
  541. package/surface/notifications.md +1 -0
  542. package/surface/oauth.md +1 -0
  543. package/surface/omnisearch.md +9 -0
  544. package/surface/queryService.md +5 -3
  545. package/surface/queue.md +8 -6
  546. package/surface/scheduler.md +1 -0
  547. package/surface/sdk.md +22 -22
  548. package/surface/storage.md +147 -106
  549. package/surface/stream.md +1 -0
  550. package/surface/syncActions.md +13 -6
  551. package/surface/vault.md +1 -0
  552. package/dist/ManagementClientAuthError-4J0S5tV-.d.ts +0 -9
  553. package/dist/ManagementClientAuthError-CyDpa4NS.d.cts +0 -9
  554. package/dist/adminRoles-Cil1lavB.d.cts +0 -18
  555. package/dist/adminRoles-Cil1lavB.d.ts +0 -18
  556. package/dist/ai/types.cjs.map +0 -1
  557. package/dist/ai/types.js.map +0 -1
  558. package/dist/auth/index.cjs.map +0 -1
  559. package/dist/auth/index.js.map +0 -1
  560. package/dist/auth/types.cjs.map +0 -1
  561. package/dist/auth/types.js.map +0 -1
  562. package/dist/chunk-22E6IGXR.js +0 -6
  563. package/dist/chunk-22E6IGXR.js.map +0 -1
  564. package/dist/chunk-2BOG5U7C.js +0 -75
  565. package/dist/chunk-2BOG5U7C.js.map +0 -1
  566. package/dist/chunk-2CFM7K4U.cjs +0 -55
  567. package/dist/chunk-2CFM7K4U.cjs.map +0 -1
  568. package/dist/chunk-34GM6NXB.js +0 -77
  569. package/dist/chunk-34GM6NXB.js.map +0 -1
  570. package/dist/chunk-3BFPNM2J.js +0 -61
  571. package/dist/chunk-3BFPNM2J.js.map +0 -1
  572. package/dist/chunk-3PVERYSF.js +0 -16
  573. package/dist/chunk-3PVERYSF.js.map +0 -1
  574. package/dist/chunk-3YWQQ3OG.cjs +0 -79
  575. package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
  576. package/dist/chunk-4RC5E3SL.js +0 -140
  577. package/dist/chunk-4RC5E3SL.js.map +0 -1
  578. package/dist/chunk-4VVF2PIX.js +0 -110
  579. package/dist/chunk-4VVF2PIX.js.map +0 -1
  580. package/dist/chunk-552FC4ZV.js +0 -14
  581. package/dist/chunk-552FC4ZV.js.map +0 -1
  582. package/dist/chunk-5XWVWFTC.js +0 -33
  583. package/dist/chunk-5XWVWFTC.js.map +0 -1
  584. package/dist/chunk-6YZQIMML.cjs +0 -163
  585. package/dist/chunk-6YZQIMML.cjs.map +0 -1
  586. package/dist/chunk-77LILJYX.js +0 -110
  587. package/dist/chunk-77LILJYX.js.map +0 -1
  588. package/dist/chunk-7J2R6XHB.js +0 -3
  589. package/dist/chunk-7J2R6XHB.js.map +0 -1
  590. package/dist/chunk-7R22VKV7.cjs +0 -62
  591. package/dist/chunk-7R22VKV7.cjs.map +0 -1
  592. package/dist/chunk-7RO6PKZ4.cjs +0 -16
  593. package/dist/chunk-7RO6PKZ4.cjs.map +0 -1
  594. package/dist/chunk-7YXL4FKN.cjs +0 -340
  595. package/dist/chunk-7YXL4FKN.cjs.map +0 -1
  596. package/dist/chunk-7Z4MU7ZB.js +0 -1294
  597. package/dist/chunk-7Z4MU7ZB.js.map +0 -1
  598. package/dist/chunk-AFJGNBVM.cjs +0 -63
  599. package/dist/chunk-AFJGNBVM.cjs.map +0 -1
  600. package/dist/chunk-AVH6F5LB.js +0 -1492
  601. package/dist/chunk-AVH6F5LB.js.map +0 -1
  602. package/dist/chunk-AXEANGGK.js +0 -226
  603. package/dist/chunk-AXEANGGK.js.map +0 -1
  604. package/dist/chunk-BCZPCMGL.cjs +0 -49
  605. package/dist/chunk-BCZPCMGL.cjs.map +0 -1
  606. package/dist/chunk-BR6WZE3O.cjs +0 -42
  607. package/dist/chunk-BR6WZE3O.cjs.map +0 -1
  608. package/dist/chunk-BZA3FGO6.js +0 -40
  609. package/dist/chunk-BZA3FGO6.js.map +0 -1
  610. package/dist/chunk-CV2JGHBN.js +0 -183
  611. package/dist/chunk-CV2JGHBN.js.map +0 -1
  612. package/dist/chunk-CWCUQACX.cjs +0 -18
  613. package/dist/chunk-CWCUQACX.cjs.map +0 -1
  614. package/dist/chunk-CWUQ6ZAO.cjs +0 -185
  615. package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
  616. package/dist/chunk-D4WOOKMI.js +0 -350
  617. package/dist/chunk-D4WOOKMI.js.map +0 -1
  618. package/dist/chunk-DHOVQ2TW.js +0 -177
  619. package/dist/chunk-DRNOCC6W.cjs +0 -295
  620. package/dist/chunk-DRNOCC6W.cjs.map +0 -1
  621. package/dist/chunk-EDX5D6UY.js +0 -14
  622. package/dist/chunk-EWMXK3EI.cjs +0 -8
  623. package/dist/chunk-EWMXK3EI.cjs.map +0 -1
  624. package/dist/chunk-EYIPM2XB.cjs +0 -82
  625. package/dist/chunk-EYIPM2XB.cjs.map +0 -1
  626. package/dist/chunk-F6ZAYTBX.cjs +0 -364
  627. package/dist/chunk-F6ZAYTBX.cjs.map +0 -1
  628. package/dist/chunk-FJBP3MRI.cjs +0 -63
  629. package/dist/chunk-FJBP3MRI.cjs.map +0 -1
  630. package/dist/chunk-FMS5PNM2.cjs +0 -37
  631. package/dist/chunk-FMS5PNM2.cjs.map +0 -1
  632. package/dist/chunk-FPB6OGTV.js +0 -26
  633. package/dist/chunk-FPB6OGTV.js.map +0 -1
  634. package/dist/chunk-FRLSKIUI.cjs +0 -180
  635. package/dist/chunk-FRLSKIUI.cjs.map +0 -1
  636. package/dist/chunk-G3N5KDEY.js +0 -10
  637. package/dist/chunk-G3N5KDEY.js.map +0 -1
  638. package/dist/chunk-G66EP527.js +0 -59
  639. package/dist/chunk-G66EP527.js.map +0 -1
  640. package/dist/chunk-GF4XZK5N.cjs +0 -43
  641. package/dist/chunk-GF4XZK5N.cjs.map +0 -1
  642. package/dist/chunk-HITKHHWN.cjs +0 -174
  643. package/dist/chunk-HITKHHWN.cjs.map +0 -1
  644. package/dist/chunk-HMCZUHR7.js +0 -53
  645. package/dist/chunk-HMCZUHR7.js.map +0 -1
  646. package/dist/chunk-HTVJR5WS.cjs +0 -305
  647. package/dist/chunk-HTVJR5WS.cjs.map +0 -1
  648. package/dist/chunk-HY7J3OD3.cjs +0 -1298
  649. package/dist/chunk-HY7J3OD3.cjs.map +0 -1
  650. package/dist/chunk-IAYPOSMM.cjs +0 -472
  651. package/dist/chunk-IDWGBCSB.cjs +0 -61
  652. package/dist/chunk-IDWGBCSB.cjs.map +0 -1
  653. package/dist/chunk-J3NLKXQ5.cjs +0 -79
  654. package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
  655. package/dist/chunk-KEFXOJD7.js +0 -61
  656. package/dist/chunk-KEFXOJD7.js.map +0 -1
  657. package/dist/chunk-KUYVBCUM.cjs +0 -231
  658. package/dist/chunk-KUYVBCUM.cjs.map +0 -1
  659. package/dist/chunk-L262THNK.cjs +0 -253
  660. package/dist/chunk-L262THNK.cjs.map +0 -1
  661. package/dist/chunk-LD3JERYP.js +0 -77
  662. package/dist/chunk-LD3JERYP.js.map +0 -1
  663. package/dist/chunk-LIXSIM3H.cjs +0 -113
  664. package/dist/chunk-LIXSIM3H.cjs.map +0 -1
  665. package/dist/chunk-LNZP2O4P.js +0 -169
  666. package/dist/chunk-LNZP2O4P.js.map +0 -1
  667. package/dist/chunk-MMOAH3EH.cjs +0 -288
  668. package/dist/chunk-MMOAH3EH.cjs.map +0 -1
  669. package/dist/chunk-MRHQJNWF.cjs +0 -8
  670. package/dist/chunk-MRHQJNWF.cjs.map +0 -1
  671. package/dist/chunk-MSI6FVGG.js +0 -6
  672. package/dist/chunk-MSI6FVGG.js.map +0 -1
  673. package/dist/chunk-N4COL54U.cjs +0 -22
  674. package/dist/chunk-N4COL54U.cjs.map +0 -1
  675. package/dist/chunk-NVQ6LGDO.cjs +0 -35
  676. package/dist/chunk-NVQ6LGDO.cjs.map +0 -1
  677. package/dist/chunk-NVRVPWNY.js +0 -148
  678. package/dist/chunk-NVRVPWNY.js.map +0 -1
  679. package/dist/chunk-OUSPQ55W.js +0 -263
  680. package/dist/chunk-OUSPQ55W.js.map +0 -1
  681. package/dist/chunk-PPQF7LTS.cjs +0 -63
  682. package/dist/chunk-PPQF7LTS.cjs.map +0 -1
  683. package/dist/chunk-PSR3N4NC.js +0 -136
  684. package/dist/chunk-PSR3N4NC.js.map +0 -1
  685. package/dist/chunk-QHD4LPAQ.cjs +0 -8
  686. package/dist/chunk-QHD4LPAQ.cjs.map +0 -1
  687. package/dist/chunk-RRC5RKF7.cjs +0 -12
  688. package/dist/chunk-RRC5RKF7.cjs.map +0 -1
  689. package/dist/chunk-RVBGE2Z4.js +0 -468
  690. package/dist/chunk-RVBGE2Z4.js.map +0 -1
  691. package/dist/chunk-S4JK7DKM.js +0 -61
  692. package/dist/chunk-S4JK7DKM.js.map +0 -1
  693. package/dist/chunk-SJZ66FD5.js +0 -35
  694. package/dist/chunk-SJZ66FD5.js.map +0 -1
  695. package/dist/chunk-T242YFMT.cjs +0 -150
  696. package/dist/chunk-T242YFMT.cjs.map +0 -1
  697. package/dist/chunk-T526LPBK.js +0 -6
  698. package/dist/chunk-T526LPBK.js.map +0 -1
  699. package/dist/chunk-U5SE6W5M.cjs +0 -158
  700. package/dist/chunk-U5SE6W5M.cjs.map +0 -1
  701. package/dist/chunk-UABYNGBZ.js +0 -39
  702. package/dist/chunk-UABYNGBZ.js.map +0 -1
  703. package/dist/chunk-UP5SEEYZ.js +0 -218
  704. package/dist/chunk-UP5SEEYZ.js.map +0 -1
  705. package/dist/chunk-UQ5CACMW.js +0 -283
  706. package/dist/chunk-UQ5CACMW.js.map +0 -1
  707. package/dist/chunk-UUY6LQT6.cjs +0 -267
  708. package/dist/chunk-UUY6LQT6.cjs.map +0 -1
  709. package/dist/chunk-UWQUHP3T.cjs +0 -112
  710. package/dist/chunk-UWQUHP3T.cjs.map +0 -1
  711. package/dist/chunk-XHDYLUM4.js +0 -268
  712. package/dist/chunk-XHDYLUM4.js.map +0 -1
  713. package/dist/chunk-XIIER7QQ.js +0 -60
  714. package/dist/chunk-XIIER7QQ.js.map +0 -1
  715. package/dist/chunk-XKIENBIE.js +0 -338
  716. package/dist/chunk-XKIENBIE.js.map +0 -1
  717. package/dist/chunk-XPDEQND7.cjs +0 -4
  718. package/dist/chunk-XPDEQND7.cjs.map +0 -1
  719. package/dist/chunk-YGEJDWGG.js +0 -19
  720. package/dist/chunk-YGEJDWGG.js.map +0 -1
  721. package/dist/chunk-YXGBD4WP.cjs +0 -16
  722. package/dist/chunk-YXGBD4WP.cjs.map +0 -1
  723. package/dist/chunk-Z3HZ4MP4.cjs +0 -1496
  724. package/dist/chunk-Z3HZ4MP4.cjs.map +0 -1
  725. package/dist/chunk-ZOREOLGE.js +0 -264
  726. package/dist/chunk-ZOREOLGE.js.map +0 -1
  727. package/dist/constants/index.cjs.map +0 -1
  728. package/dist/constants/index.js.map +0 -1
  729. package/dist/createGenericFetchClient-JcbIIqwF.d.cts +0 -18
  730. package/dist/createGenericFetchClient-ZGG5wbAC.d.ts +0 -18
  731. package/dist/createOpenapiFetchClient-6RX67Hws.d.ts +0 -24
  732. package/dist/createOpenapiFetchClient-BFmiJ9C5.d.cts +0 -24
  733. package/dist/dataScience/index.cjs.map +0 -1
  734. package/dist/dataScience/index.js.map +0 -1
  735. package/dist/dataScience/types.cjs.map +0 -1
  736. package/dist/dataScience/types.js.map +0 -1
  737. package/dist/domain/permissions/index.cjs.map +0 -1
  738. package/dist/domain/permissions/index.js.map +0 -1
  739. package/dist/domain/storageTable/index.cjs.map +0 -1
  740. package/dist/domain/storageTable/index.js.map +0 -1
  741. package/dist/editor/types.cjs.map +0 -1
  742. package/dist/editor/types.js.map +0 -1
  743. package/dist/encryption/types.cjs.map +0 -1
  744. package/dist/encryption/types.js.map +0 -1
  745. package/dist/import/index.cjs.map +0 -1
  746. package/dist/import/index.js.map +0 -1
  747. package/dist/keboolaUID-D1DGSbge.d.cts +0 -19
  748. package/dist/keboolaUID-D1DGSbge.d.ts +0 -19
  749. package/dist/management/index.cjs.map +0 -1
  750. package/dist/management/index.js.map +0 -1
  751. package/dist/management/types.cjs.map +0 -1
  752. package/dist/management/types.js.map +0 -1
  753. package/dist/metastore/index.cjs.map +0 -1
  754. package/dist/metastore/index.js.map +0 -1
  755. package/dist/metastore/types.cjs.map +0 -1
  756. package/dist/metastore/types.js.map +0 -1
  757. package/dist/notifications/types.cjs.map +0 -1
  758. package/dist/notifications/types.js.map +0 -1
  759. package/dist/oauth/index.cjs.map +0 -1
  760. package/dist/oauth/index.js.map +0 -1
  761. package/dist/oauth/types.cjs.map +0 -1
  762. package/dist/oauth/types.js.map +0 -1
  763. package/dist/project-CXqPYo4T.d.ts +0 -17
  764. package/dist/project-CZPvcxRW.d.cts +0 -17
  765. package/dist/queryService/index.cjs.map +0 -1
  766. package/dist/queryService/index.js.map +0 -1
  767. package/dist/queryService/types.cjs.map +0 -1
  768. package/dist/queryService/types.js.map +0 -1
  769. package/dist/queue/index.cjs.map +0 -1
  770. package/dist/queue/index.js.map +0 -1
  771. package/dist/queue/types.cjs.map +0 -1
  772. package/dist/queue/types.js.map +0 -1
  773. package/dist/registry-CcKlB-yY.d.ts +0 -1046
  774. package/dist/registry-Cg0Yng1z.d.cts +0 -1046
  775. package/dist/scheduler/types.cjs.map +0 -1
  776. package/dist/scheduler/types.js.map +0 -1
  777. package/dist/sdk/configurations/index.cjs.map +0 -1
  778. package/dist/sdk/configurations/index.js.map +0 -1
  779. package/dist/sdk/semanticLayer/types.cjs.map +0 -1
  780. package/dist/sdk/semanticLayer/types.js.map +0 -1
  781. package/dist/sdk/tag/index.cjs.map +0 -1
  782. package/dist/sdk/tag/index.js.map +0 -1
  783. package/dist/sdk/tag/types.cjs.map +0 -1
  784. package/dist/sdk/tag/types.js.map +0 -1
  785. package/dist/status/types.cjs.map +0 -1
  786. package/dist/status/types.js.map +0 -1
  787. package/dist/storage/index.cjs.map +0 -1
  788. package/dist/storage/index.js.map +0 -1
  789. package/dist/storage/types.cjs.map +0 -1
  790. package/dist/storage/types.js.map +0 -1
  791. package/dist/storageClient-Cd4jVt58.d.ts +0 -1519
  792. package/dist/storageClient-Dkcg7hKa.d.cts +0 -1519
  793. package/dist/storageSdk-15_Fbucc.d.cts +0 -746
  794. package/dist/storageSdk-L6NOdgSJ.d.ts +0 -746
  795. package/dist/stream/types.cjs.map +0 -1
  796. package/dist/stream/types.js.map +0 -1
  797. package/dist/syncActions/index.cjs.map +0 -1
  798. package/dist/syncActions/index.js.map +0 -1
  799. package/dist/syncActions/types.cjs.map +0 -1
  800. package/dist/syncActions/types.js.map +0 -1
  801. package/dist/telemetry/index.cjs.map +0 -1
  802. package/dist/telemetry/index.js.map +0 -1
  803. package/dist/telemetry/types.cjs.map +0 -1
  804. package/dist/telemetry/types.js.map +0 -1
  805. package/dist/types-BqC3U0k0.d.cts +0 -12
  806. package/dist/types-Dkipk6NN.d.ts +0 -12
  807. package/dist/types-UwuKN9Kx.d.cts +0 -60
  808. package/dist/types-UwuKN9Kx.d.ts +0 -60
  809. package/dist/types-gcShAmmi.d.cts +0 -90
  810. package/dist/types-gcShAmmi.d.ts +0 -90
  811. package/dist/vault/types.cjs.map +0 -1
  812. package/dist/vault/types.js.map +0 -1
@@ -0,0 +1,726 @@
1
+ import { t as isPlainObject } from "./isPlainObject-LYW-03uB.js";
2
+ import { o as assertCanUpdateConfiguration, r as assertCanCreateConfiguration } from "./configurations-iCbhe0tb.js";
3
+ import { t as ComponentId } from "./componentId-vJz-kWs6.js";
4
+ import { z } from "zod";
5
+ //#region src/utils/isEmptyDeep.ts
6
+ /**
7
+ * Is `value` "deeply empty" — i.e. carries no leaf data? `null`/`undefined`, `{}`, `[]`, and
8
+ * nested structures whose every leaf is itself empty (e.g. `{ parameters: {} }`) are empty.
9
+ * Any present primitive (string, number, boolean — including `''`) counts as content.
10
+ *
11
+ * Used to skip a pointless encryption round-trip when a validated configuration has nothing
12
+ * to encrypt.
13
+ */
14
+ const isEmptyDeep = (value) => {
15
+ if (value == null) return true;
16
+ if (Array.isArray(value)) return value.every(isEmptyDeep);
17
+ if (isPlainObject(value)) return Object.values(value).every(isEmptyDeep);
18
+ return false;
19
+ };
20
+ //#endregion
21
+ //#region src/utils/schemaGuidedMerge.ts
22
+ /** Strip optional/nullable/default wrappers to reach the structural schema node. */
23
+ const unwrap = (schema) => schema instanceof z.ZodOptional || schema instanceof z.ZodNullable || schema instanceof z.ZodDefault ? unwrap(schema.unwrap()) : schema;
24
+ /**
25
+ * Merge `patch` into `base`, guided by `schema`: descend only through object schemas, merging
26
+ * key-by-key. At every non-object node — a `z.union` (e.g. Snowflake's password|keypair auth),
27
+ * an array, or a primitive — the patch REPLACES the base wholesale. That replace is what lets an
28
+ * update *delete* keys the additive `deepMerge` cannot: switching a credential union to the other
29
+ * variant drops the abandoned variant's secret, because the entire union subtree is swapped.
30
+ *
31
+ * Consequence: a union (or array) subtree is all-or-nothing — the caller must send the complete
32
+ * block, since a partial patch replaces (and so loses) the omitted siblings.
33
+ *
34
+ * Object keys present only in `base` (e.g. `storage`, `processors`, anything the schema omits) are
35
+ * preserved at every level; `undefined` patch values are skipped. Assumes `patch` is already
36
+ * schema-validated (so every object-valued patch key has a matching schema node). Pure — neither
37
+ * argument is mutated.
38
+ */
39
+ const schemaGuidedMerge = (schema, base, patch) => {
40
+ const node = unwrap(schema);
41
+ if (!(node instanceof z.ZodObject) || !isPlainObject(base)) return patch;
42
+ const out = { ...base };
43
+ for (const [key, value] of Object.entries(patch)) {
44
+ if (value === void 0) continue;
45
+ const child = node.shape[key];
46
+ const current = out[key];
47
+ out[key] = child && isPlainObject(current) && isPlainObject(value) ? schemaGuidedMerge(child, current, value) : value;
48
+ }
49
+ return out;
50
+ };
51
+ //#endregion
52
+ //#region src/sdks/configurations/schemas/appDataGatewaySchema.ts
53
+ /**
54
+ * `keboola.app-data-gateway` — the Data Gateway provisions and manages its own Snowflake
55
+ * workspace, so the config carries no credentials: just the id of the workspace it runs
56
+ * against, stored at `parameters.db.workspaceId`.
57
+ */
58
+ const appDataGatewaySchema = z.object({ parameters: z.object({ db: z.object({ workspaceId: z.number() }) }) });
59
+ //#endregion
60
+ //#region src/sdks/configurations/schemas/common/dbConfig.ts
61
+ /** Wrap a `parameters.db` credential schema into the full component config shape. */
62
+ const dbConfig = (db) => z.object({ parameters: z.object({ db }) });
63
+ //#endregion
64
+ //#region src/sdks/configurations/schemas/common/dbConnection.ts
65
+ /**
66
+ * The credential fields shared by virtually every DB writer, stored at `parameters.db`.
67
+ * Components extend this with driver-specific fields (`schema`, `warehouse`, `ssh`, …) and
68
+ * override where they differ (e.g. Snowflake makes `#password` optional). Secret leaves use
69
+ * the `#` prefix the encryption service recognizes.
70
+ */
71
+ const dbConnectionSchema = z.object({
72
+ host: z.string().describe("Hostname"),
73
+ port: z.number().describe("Port"),
74
+ user: z.string().describe("Username"),
75
+ "#password": z.string().describe("Password"),
76
+ database: z.string().describe("Database Name")
77
+ });
78
+ //#endregion
79
+ //#region src/sdks/configurations/schemas/common/forbidden.ts
80
+ /**
81
+ * Marks a field as "must be absent" in one arm of a mutually-exclusive union: `z.undefined()`
82
+ * rejects any value while `.optional()` lets the key be omitted entirely. Pairing it with a
83
+ * required field in the sibling arm (e.g. `#password` XOR `#privateKey`) is what makes an
84
+ * "exactly one of" union reject configs that set both keys — or neither — at runtime and in
85
+ * the inferred type. Without it the arms would be open objects that silently strip the extra key.
86
+ */
87
+ const forbidden = z.undefined().optional();
88
+ //#endregion
89
+ //#region src/sdks/configurations/schemas/common/oauthAuthorization.ts
90
+ /**
91
+ * The OAuth credential reference components store under a top-level `authorization` key. `id`
92
+ * points at the vault-stored credential; `version` is the OAuth-API version (3 on modern stacks).
93
+ * Shared by every OAuth-backed component (Google family, Facebook, …).
94
+ */
95
+ const oauthAuthorizationSchema = z.object({ oauth_api: z.object({
96
+ id: z.string(),
97
+ version: z.number().optional()
98
+ }) });
99
+ //#endregion
100
+ //#region src/sdks/configurations/schemas/common/sshTunnelSchema.ts
101
+ const sshTunnelSchema = z.object({
102
+ enabled: z.boolean(),
103
+ sshHost: z.string().optional(),
104
+ user: z.string().optional(),
105
+ sshPort: z.number().optional(),
106
+ /** FTP passive-mode port range (e.g. `10000:10005`); only relevant to FTP extractors. */
107
+ passivePortRange: z.string().optional(),
108
+ keys: z.object({
109
+ public: z.string().optional(),
110
+ "#private": z.string().optional()
111
+ }).optional()
112
+ });
113
+ //#endregion
114
+ //#region src/sdks/configurations/schemas/common/sslSchema.ts
115
+ /** SSL options nested at `parameters.db.ssl` (drivers that support it, e.g. MySQL, Hive). */
116
+ const sslSchema = z.object({
117
+ enabled: z.boolean(),
118
+ cert: z.string().optional(),
119
+ "#key": z.string().optional(),
120
+ ca: z.string().optional(),
121
+ cipher: z.string().optional(),
122
+ verifyServerCert: z.boolean().optional()
123
+ });
124
+ //#endregion
125
+ //#region src/sdks/configurations/schemas/appSnowflakeDwhManagerSchema.ts
126
+ /**
127
+ * `keboola.app-snowflake-dwh-manager` — master Snowflake connection. Auth is a password OR a
128
+ * key-pair (exactly one). The common fields are shared; each variant requires its own secret and
129
+ * *forbids the other* (`forbidden`), so a config carrying both — or neither — is rejected at
130
+ * runtime and at the type level, matching the `wr-db-snowflake` XOR pattern.
131
+ */
132
+ const dwhMasterBase = z.object({
133
+ master_host: z.string(),
134
+ master_user: z.string(),
135
+ master_database: z.string(),
136
+ warehouse: z.string()
137
+ });
138
+ const appSnowflakeDwhManagerSchema = z.object({ parameters: z.union([dwhMasterBase.extend({
139
+ "#master_password": z.string(),
140
+ "#master_private_key": forbidden
141
+ }), dwhMasterBase.extend({
142
+ "#master_private_key": z.string(),
143
+ "#master_password": forbidden
144
+ })]) });
145
+ //#endregion
146
+ //#region src/sdks/configurations/schemas/ex/exAwsS3Schema.ts
147
+ /** Access-key credentials — forbids the IAM-role fields so the variants stay exclusive. */
148
+ const awsCredentialsAuth = z.object({
149
+ loginType: z.literal("credentials"),
150
+ accessKeyId: z.string(),
151
+ "#secretAccessKey": z.string(),
152
+ accountId: forbidden,
153
+ roleName: forbidden
154
+ }).loose();
155
+ /** IAM-role auth — forbids the access-key fields so the variants stay exclusive. */
156
+ const awsRoleAuth = z.object({
157
+ loginType: z.literal("role"),
158
+ accountId: z.string(),
159
+ roleName: z.string(),
160
+ accessKeyId: forbidden,
161
+ "#secretAccessKey": forbidden
162
+ }).loose();
163
+ /**
164
+ * `keboola.ex-aws-s3` — access-key credentials OR IAM-role auth (exactly one). `loginType` is the
165
+ * discriminant, and each arm *forbids the other* variant's fields (`z.undefined()`) so a config
166
+ * mixing both — e.g. credentials + a stale `roleName` — is rejected rather than silently stripped.
167
+ * The outer object is `.loose()` so top-level component-managed keys (`storage`, `processors`)
168
+ * pass through.
169
+ */
170
+ const exAwsS3Schema = z.object({ parameters: z.union([awsCredentialsAuth, awsRoleAuth]) }).loose();
171
+ //#endregion
172
+ //#region src/sdks/configurations/schemas/ex/exAzureBlobStorageSchema.ts
173
+ /**
174
+ * `kds-team.ex-azure-blob-storage-v2` — account name + key + container. Both levels are `.loose()`:
175
+ * the connection block is validated, but component-managed `parameters` and top-level keys
176
+ * (`storage`, `processors`) pass through rather than being stripped on create/update.
177
+ */
178
+ const exAzureBlobSchema = z.object({ parameters: z.object({
179
+ account_name: z.string(),
180
+ "#account_key": z.string(),
181
+ container_name: z.string()
182
+ }).loose() }).loose();
183
+ //#endregion
184
+ //#region src/sdks/configurations/schemas/ex/exAzureDataLakeSchema.ts
185
+ /**
186
+ * `kds-team.ex-azure-data-lake-gen2` — like Blob, but a `file_system` instead of a container. Both
187
+ * levels are `.loose()`: the connection block is validated, but component-managed `parameters` and
188
+ * top-level keys (`storage`, `processors`) pass through rather than being stripped on create/update.
189
+ */
190
+ const exAzureDataLakeSchema = z.object({ parameters: z.object({
191
+ account_name: z.string(),
192
+ "#account_key": z.string(),
193
+ file_system: z.string()
194
+ }).loose() }).loose();
195
+ //#endregion
196
+ //#region src/sdks/configurations/schemas/ex/exFtpSchema.ts
197
+ /** Connection fields shared by both auth variants. */
198
+ const ftpConnection = z.object({
199
+ host: z.string(),
200
+ port: z.number(),
201
+ connectionType: z.enum([
202
+ "FTP",
203
+ "FTPS",
204
+ "SFTP"
205
+ ]),
206
+ username: z.string(),
207
+ ignorePassiveAddress: z.boolean().optional(),
208
+ ssh: sshTunnelSchema.optional(),
209
+ path: z.string().optional(),
210
+ onlyNewFiles: z.boolean().optional()
211
+ });
212
+ /** Password auth — forbids the private key so the variants stay exclusive. */
213
+ const ftpPasswordAuth = ftpConnection.extend({
214
+ "#password": z.string(),
215
+ "#privateKey": forbidden
216
+ }).loose();
217
+ /** Private-key auth — forbids the password so the variants stay exclusive. */
218
+ const ftpPrivateKeyAuth = ftpConnection.extend({
219
+ "#privateKey": z.string(),
220
+ "#password": forbidden
221
+ }).loose();
222
+ /**
223
+ * `keboola.ex-ftp` / `keboola.ex-ftp-csas` — FTP/FTPS/SFTP server connection. Auth is a password
224
+ * OR a private key (exactly one): each variant requires its secret and *forbids the other*
225
+ * (`z.undefined()`), so a config with both — or neither — is rejected, and switching variants via
226
+ * an update drops the abandoned secret (the whole `parameters` union subtree is replaced wholesale
227
+ * by `schemaGuidedMerge`, so a partial patch must carry the complete connection block). The outer
228
+ * object is `.loose()` so top-level component-managed keys (`storage`, `processors`) pass through.
229
+ */
230
+ const exFtpSchema = z.object({ parameters: z.union([ftpPasswordAuth, ftpPrivateKeyAuth]) }).loose();
231
+ //#endregion
232
+ //#region src/sdks/configurations/schemas/ex/exHttpSchema.ts
233
+ /**
234
+ * `keboola.ex-http` — only the connection block is stable here. The request/job definitions are
235
+ * component-managed and left unvalidated, so both levels are `.loose()`: extra `parameters` keys
236
+ * and top-level keys (`storage`, `processors`) pass through `schema`/`inputSchema` unchanged rather
237
+ * than being stripped on create/update.
238
+ */
239
+ const exHttpSchema = z.object({ parameters: z.object({
240
+ baseUrl: z.string(),
241
+ maxRedirects: z.number().optional()
242
+ }).loose() }).loose();
243
+ //#endregion
244
+ //#region src/sdks/configurations/schemas/exDb/exDbDefaultSchema.ts
245
+ /**
246
+ * Default extractor credentials — host/port/user/#password/database + optional SSH tunnel, the
247
+ * same `parameters.db` block the writers use. Tunnel support mirrors kbc-ui's `hasSshTunnel` /
248
+ * `hasSsl` (`apps/kbc-ui/src/scripts/modules/ex-db-generic/helpers.ts`): most drivers accept an
249
+ * SSH tunnel, only pgsql/mysql/mssql also accept SSL, and a handful accept neither. This shared
250
+ * schema covers the generic SSH-only drivers: redshift, db2(-bata), mssql-cdata, impala,
251
+ * hive(-csas, -csas-test). SSL-capable pgsql and the tunnel-less progress-db get their own
252
+ * schema, as do drivers with extra/renamed fields.
253
+ */
254
+ const exDbDefaultSchema = dbConfig(dbConnectionSchema.extend({ ssh: sshTunnelSchema.optional() }));
255
+ //#endregion
256
+ //#region src/sdks/configurations/schemas/exDb/exDbPgsqlSchema.ts
257
+ /** `keboola.ex-db-pgsql` — generic credentials that also accept SSL. */
258
+ const exDbPgsqlSchema = dbConfig(dbConnectionSchema.extend({
259
+ ssh: sshTunnelSchema.optional(),
260
+ ssl: sslSchema.optional()
261
+ }));
262
+ //#endregion
263
+ //#region src/sdks/configurations/schemas/exDb/exDbProgressSchema.ts
264
+ /** `kds-team.ex-progress-db` — generic credentials, no SSH tunnel or SSL. */
265
+ const exDbProgressSchema = dbConfig(dbConnectionSchema);
266
+ //#endregion
267
+ //#region src/sdks/configurations/schemas/exDb/exDbMysqlSchema.ts
268
+ /** `keboola.ex-db-mysql` — `database` optional + transaction-isolation / network-compression. */
269
+ const exDbMysqlSchema = dbConfig(dbConnectionSchema.extend({
270
+ database: z.string().optional(),
271
+ transactionIsolationLevel: z.enum([
272
+ "REPEATABLE READ",
273
+ "READ COMMITTED",
274
+ "READ UNCOMMITTED",
275
+ "SERIALIZABLE"
276
+ ]).optional(),
277
+ networkCompression: z.boolean().optional(),
278
+ ssh: sshTunnelSchema.optional(),
279
+ ssl: sslSchema.optional()
280
+ }));
281
+ //#endregion
282
+ //#region src/sdks/configurations/schemas/exDb/exDbMssqlSchema.ts
283
+ /** `keboola.ex-db-mssql` — `port` optional, otherwise the shared base. */
284
+ const exDbMssqlSchema = dbConfig(dbConnectionSchema.extend({
285
+ port: z.number().optional(),
286
+ ssh: sshTunnelSchema.optional(),
287
+ ssl: sslSchema.optional()
288
+ }));
289
+ //#endregion
290
+ //#region src/sdks/configurations/schemas/exDb/exDbOracleSchema.ts
291
+ /** `keboola.ex-db-oracle` — host/port/database all optional (tnsnames is the alternative). */
292
+ const exDbOracleSchema = dbConfig(dbConnectionSchema.omit({
293
+ host: true,
294
+ port: true,
295
+ database: true
296
+ }).extend({
297
+ host: z.string().optional(),
298
+ port: z.number().optional(),
299
+ database: z.string().optional(),
300
+ tnsnames: z.string().optional(),
301
+ connectThrough: z.boolean().optional(),
302
+ ssh: sshTunnelSchema.optional()
303
+ }));
304
+ //#endregion
305
+ //#region src/sdks/configurations/schemas/exDb/exDbFirebirdSchema.ts
306
+ /** `keboola.ex-db-firebird` — `dbname` + user/#password only (no host/port/database fields). */
307
+ const exDbFirebirdSchema = dbConfig(z.object({
308
+ dbname: z.string(),
309
+ user: z.string(),
310
+ "#password": z.string()
311
+ }));
312
+ //#endregion
313
+ //#region src/sdks/configurations/schemas/exDb/exTeradataSchema.ts
314
+ /** `keboola.ex-teradata` — shared base with optional `database`. */
315
+ const exTeradataSchema = dbConfig(dbConnectionSchema.extend({ database: z.string().optional() }));
316
+ //#endregion
317
+ //#region src/sdks/configurations/schemas/exDb/exDbInformixSchema.ts
318
+ /** `keboola.ex-db-informix` — Informix server name + protocol + optional locale. */
319
+ const exDbInformixSchema = dbConfig(dbConnectionSchema.extend({
320
+ serverName: z.string(),
321
+ protocol: z.enum(["onsoctcp", "onsocssl"]),
322
+ dbLocale: z.string().optional()
323
+ }));
324
+ //#endregion
325
+ //#region src/sdks/configurations/schemas/exDb/exDbSnowflakeSchema.ts
326
+ /**
327
+ * `keboola.ex-db-snowflake` — auth is a union: password OR key-pair (exactly one). The common
328
+ * fields (host/port/user/database + optional schema/warehouse) are shared; each variant requires
329
+ * its own secret and forbids the other, so a config carrying both — or neither — is rejected at
330
+ * runtime and at the type level.
331
+ */
332
+ const snowflakeCommon$1 = dbConnectionSchema.omit({ "#password": true }).extend({
333
+ schema: z.string().optional(),
334
+ warehouse: z.string().optional()
335
+ });
336
+ const exDbSnowflakeSchema = dbConfig(z.union([snowflakeCommon$1.extend({
337
+ "#password": z.string(),
338
+ "#privateKey": forbidden
339
+ }), snowflakeCommon$1.extend({
340
+ "#privateKey": z.string(),
341
+ "#password": forbidden
342
+ })]));
343
+ //#endregion
344
+ //#region src/sdks/configurations/schemas/exDb/exDbNetsuiteSchema.ts
345
+ /** `keboola.ex-db-netsuite` — SuiteAnalytics account/role + user/#password (no host/port/db). */
346
+ const exDbNetsuiteSchema = dbConfig(z.object({
347
+ accountId: z.string(),
348
+ roleId: z.string(),
349
+ user: z.string(),
350
+ "#password": z.string()
351
+ }));
352
+ /** `kds-team.ex-netsuite` — Connect host/port + server data source + account/role. */
353
+ const exKdsNetsuiteSchema = dbConfig(z.object({
354
+ host: z.string(),
355
+ port: z.number(),
356
+ server_data_source: z.enum(["NetSuite.com", "NetSuite2.com"]),
357
+ account_id: z.string(),
358
+ role_id: z.string(),
359
+ user: z.string(),
360
+ "#password": z.string()
361
+ }));
362
+ //#endregion
363
+ //#region src/sdks/configurations/schemas/gooddataWriterSchema.ts
364
+ /**
365
+ * A single exported column. `type` is always present and drives which of the other fields the
366
+ * UI shows (and persists): `dataType`/`dataTypeSize` for the base types + LABEL, `reference` for
367
+ * LABEL/HYPERLINK, `schemaReference` for REFERENCE, `format`/`dateDimension` for DATE, and
368
+ * `sortLabel`/`sortOrder` + the `identifier*` fields for ATTRIBUTE. They're optional here since a
369
+ * given column only carries the subset relevant to its type. Mirrors the kbc-ui column adapter
370
+ * (`apps/kbc-ui/src/scripts/modules/gooddata-writer-v3/helpers/makeColumnDefinition.ts`).
371
+ */
372
+ const gooddataColumn = z.object({
373
+ type: z.enum([
374
+ "ATTRIBUTE",
375
+ "CONNECTION_POINT",
376
+ "DATE",
377
+ "FACT",
378
+ "HYPERLINK",
379
+ "LABEL",
380
+ "REFERENCE",
381
+ "IGNORE"
382
+ ]),
383
+ id: z.string().optional(),
384
+ title: z.string().optional(),
385
+ dataType: z.enum([
386
+ "BIGINT",
387
+ "DATE",
388
+ "DECIMAL",
389
+ "INT",
390
+ "VARCHAR"
391
+ ]).optional(),
392
+ dataTypeSize: z.string().optional(),
393
+ reference: z.string().optional(),
394
+ schemaReference: z.string().optional(),
395
+ sortLabel: z.string().optional(),
396
+ sortOrder: z.enum(["ASC", "DESC"]).optional(),
397
+ format: z.string().optional(),
398
+ dateDimension: z.string().optional(),
399
+ identifier: z.string().optional(),
400
+ identifierLabel: z.string().optional(),
401
+ identifierSortLabel: z.string().optional()
402
+ });
403
+ /** One exported table: a GoodData `title`, its `columns` keyed by source column name, and an
404
+ * optional `disabled` flag toggled when export is switched off. */
405
+ const gooddataTable = z.object({
406
+ title: z.string(),
407
+ disabled: z.boolean().optional(),
408
+ identifier: z.string().optional(),
409
+ columns: z.record(z.string(), gooddataColumn)
410
+ });
411
+ /** One date dimension; `template` selects the date-dimension template (`gooddata` / `keboola` /
412
+ * a custom template id). */
413
+ const gooddataDimension = z.object({
414
+ template: z.string(),
415
+ includeTime: z.boolean().optional(),
416
+ identifier: z.string().optional()
417
+ });
418
+ /**
419
+ * `keboola.gooddata-writer` — GoodData project + login credentials plus the exported model:
420
+ * `tables` (keyed by source table id) and `dimensions` (keyed by dimension name). Both are
421
+ * optional — a fresh config has credentials before any table/dimension is mapped — and must be
422
+ * declared: the registry validates create/update input with a deep-partial that strips keys
423
+ * absent from this shape, so an undeclared `tables`/`dimensions` payload would be dropped before
424
+ * it's stored.
425
+ */
426
+ const gooddataWriterSchema = z.object({ parameters: z.object({
427
+ project: z.object({
428
+ pid: z.string(),
429
+ backendUrl: z.string().optional()
430
+ }),
431
+ user: z.object({
432
+ login: z.string(),
433
+ "#password": z.string()
434
+ }),
435
+ loadOnly: z.boolean().optional(),
436
+ multiLoad: z.boolean().optional(),
437
+ tables: z.record(z.string(), gooddataTable).optional(),
438
+ dimensions: z.record(z.string(), gooddataDimension).optional()
439
+ }) });
440
+ //#endregion
441
+ //#region src/sdks/configurations/schemas/googleAdsSchema.ts
442
+ /** `keboola.ex-google-ads` — OAuth credential reference + account selection. */
443
+ const exGoogleAdsSchema = z.object({
444
+ authorization: oauthAuthorizationSchema,
445
+ parameters: z.object({
446
+ customerId: z.array(z.string()),
447
+ onlyEnabledCustomers: z.boolean().optional(),
448
+ getAccountChildren: z.boolean().optional()
449
+ })
450
+ });
451
+ //#endregion
452
+ //#region src/sdks/configurations/schemas/schedulerSchema.ts
453
+ /**
454
+ * `keboola.scheduler` — drives a target component config on a cron schedule. Unlike the
455
+ * writer configs, scheduler state lives at the top level (no `parameters` wrapper):
456
+ * `schedule` holds the cron expression + timezone + enabled/disabled state, `target`
457
+ * identifies which component configuration to run.
458
+ */
459
+ const schedulerSchema = z.object({
460
+ schedule: z.object({
461
+ cronTab: z.string(),
462
+ timezone: z.string().optional(),
463
+ state: z.enum(["enabled", "disabled"])
464
+ }),
465
+ target: z.object({
466
+ componentId: z.string(),
467
+ configurationId: z.string(),
468
+ mode: z.literal("run")
469
+ })
470
+ });
471
+ //#endregion
472
+ //#region src/sdks/configurations/schemas/wrDb/wrDbDefaultSchema.ts
473
+ /**
474
+ * Default writer credentials — host/port/user/#password/database + optional SSH and SSL tunnels.
475
+ * Shared by the writers that add no extra fields (`keboola.wr-db-mysql`, `keboola.wr-db-hive`);
476
+ * writers that add or rename fields get their own schema.
477
+ */
478
+ const wrDbDefaultSchema = dbConfig(dbConnectionSchema.extend({
479
+ ssh: sshTunnelSchema.optional(),
480
+ ssl: sslSchema.optional()
481
+ }));
482
+ //#endregion
483
+ //#region src/sdks/configurations/schemas/wrDb/wrDbPgsqlSchema.ts
484
+ /** `keboola.wr-db-pgsql` — adds a required `schema`, optional SSH. */
485
+ const wrDbPgsqlSchema = dbConfig(dbConnectionSchema.extend({
486
+ schema: z.string(),
487
+ ssh: sshTunnelSchema.optional()
488
+ }));
489
+ //#endregion
490
+ //#region src/sdks/configurations/schemas/wrDb/wrDbOracleSchema.ts
491
+ /** `keboola.wr-db-oracle` — optional `schema`, optional SSH. */
492
+ const wrDbOracleSchema = dbConfig(dbConnectionSchema.extend({
493
+ schema: z.string().optional(),
494
+ ssh: sshTunnelSchema.optional()
495
+ }));
496
+ //#endregion
497
+ //#region src/sdks/configurations/schemas/wrDb/wrSynapseSchema.ts
498
+ /** `keboola.wr-synapse` — optional `schema` (defaults to `dbo` in the UI). */
499
+ const wrSynapseSchema = dbConfig(dbConnectionSchema.extend({ schema: z.string().optional() }));
500
+ //#endregion
501
+ //#region src/sdks/configurations/schemas/wrDb/wrRedshiftSchema.ts
502
+ /** `keboola.wr-redshift-v2` — required `schema`, optional SSH. */
503
+ const wrRedshiftSchema = dbConfig(dbConnectionSchema.extend({
504
+ schema: z.string(),
505
+ ssh: sshTunnelSchema.optional()
506
+ }));
507
+ //#endregion
508
+ //#region src/sdks/configurations/schemas/wrDb/wrDbMssqlSchema.ts
509
+ /** `keboola.wr-db-mssql-v2` — optional `instance`, required `tdsVersion`, optional SSH. */
510
+ const wrDbMssqlSchema = dbConfig(dbConnectionSchema.extend({
511
+ instance: z.string().optional(),
512
+ tdsVersion: z.enum([
513
+ "7.0",
514
+ "7.1",
515
+ "7.2",
516
+ "7.3",
517
+ "7.4"
518
+ ]),
519
+ ssh: sshTunnelSchema.optional()
520
+ }));
521
+ //#endregion
522
+ //#region src/sdks/configurations/schemas/wrDb/wrDbImpalaSchema.ts
523
+ /** `keboola.wr-db-impala` — adds `auth_mech`, optional SSH. */
524
+ const wrDbImpalaSchema = dbConfig(dbConnectionSchema.extend({
525
+ auth_mech: z.number(),
526
+ ssh: sshTunnelSchema.optional()
527
+ }));
528
+ //#endregion
529
+ //#region src/sdks/configurations/schemas/wrDb/wrExasolSchema.ts
530
+ /**
531
+ * `kds-team.wr-exasol` — no `database`; auth is password OR SaaS personal-access-token
532
+ * (`#refresh_token`), at least one required (both may coexist). Mirrors kbc-ui's
533
+ * `apps/kbc-ui/src/scripts/modules/wr-db/templates/hasValidCredentials.ts`, which drops the
534
+ * `#password` requirement once a `#refresh_token` is present.
535
+ */
536
+ const exasolBase = z.object({
537
+ host: z.string(),
538
+ port: z.number(),
539
+ user: z.string(),
540
+ schema: z.string()
541
+ });
542
+ const wrExasolSchema = dbConfig(z.union([exasolBase.extend({
543
+ "#password": z.string(),
544
+ "#refresh_token": z.string().optional()
545
+ }), exasolBase.extend({
546
+ "#refresh_token": z.string(),
547
+ "#password": z.string().optional()
548
+ })]));
549
+ //#endregion
550
+ //#region src/sdks/configurations/schemas/wrDb/wrFireboltSchema.ts
551
+ /** `kds-team.wr-firebolt` — no host/port; engine + AWS staging credentials. */
552
+ const wrFireboltSchema = dbConfig(z.object({
553
+ user: z.string(),
554
+ "#password": z.string(),
555
+ database: z.string(),
556
+ aws_api_key_id: z.string(),
557
+ "#aws_api_key_secret": z.string(),
558
+ staging_bucket: z.string(),
559
+ engine_name: z.string().optional()
560
+ }));
561
+ //#endregion
562
+ //#region src/sdks/configurations/schemas/wrDb/wrHiveCsasSchema.ts
563
+ /** `kds-team.wr-hive-csas` — Hive base + Kerberos auth. */
564
+ const wrHiveCsasSchema = dbConfig(dbConnectionSchema.extend({
565
+ kinitPrincipal: z.string(),
566
+ servicePrincipal: z.string(),
567
+ config: z.string(),
568
+ "#keytab": z.string(),
569
+ ssh: sshTunnelSchema.optional()
570
+ }));
571
+ //#endregion
572
+ //#region src/sdks/configurations/schemas/wrDb/wrThoughtspotSchema.ts
573
+ /** `keboola.wr-thoughtspot` — SSH tunnel creds carried as top-level fields, not nested. */
574
+ const wrThoughtspotSchema = dbConfig(dbConnectionSchema.extend({
575
+ schema: z.string().optional(),
576
+ sshUser: z.string(),
577
+ "#sshPassword": z.string()
578
+ }));
579
+ //#endregion
580
+ //#region src/sdks/configurations/schemas/wrDb/wrSisenseSchema.ts
581
+ /** `keboola.wr-sisense` — uses `username` (not `user`). */
582
+ const wrSisenseSchema = dbConfig(z.object({
583
+ host: z.string(),
584
+ port: z.number(),
585
+ username: z.string(),
586
+ "#password": z.string(),
587
+ database: z.string()
588
+ }));
589
+ //#endregion
590
+ //#region src/sdks/configurations/schemas/wrDb/wrDbSnowflakeSchema.ts
591
+ /**
592
+ * `keboola.wr-db-snowflake` — auth is a union: password OR key-pair (exactly one). The common
593
+ * fields (host/port/user/database/schema/warehouse) are shared; each variant requires its own
594
+ * secret and *forbids the other* (`z.undefined()`), so a config carrying both — or neither —
595
+ * is rejected at runtime and at the type level. Without the `forbidden` half, the variants
596
+ * would be open objects: the extra key is excess (TS allows it) and stripped (Zod accepts it).
597
+ */
598
+ const snowflakeCommon = dbConnectionSchema.omit({ "#password": true }).extend({
599
+ schema: z.string(),
600
+ warehouse: z.string().optional()
601
+ });
602
+ const wrDbSnowflakeSchema = dbConfig(z.union([snowflakeCommon.extend({
603
+ "#password": z.string(),
604
+ "#privateKey": forbidden
605
+ }), snowflakeCommon.extend({
606
+ "#privateKey": z.string(),
607
+ "#password": forbidden
608
+ })]));
609
+ //#endregion
610
+ //#region src/sdks/configurations/createRegistry/createRegistry.ts
611
+ /** Deep-partial any schema: objects → keys optional (recursing), unions → each member
612
+ * deep-partialed, anything else left as-is. Lets a union schema (e.g. Snowflake's
613
+ * password | key-pair auth) still produce a partial input schema. */
614
+ const partialize = (schema) => {
615
+ if (schema instanceof z.ZodObject) return deepPartial(schema);
616
+ if (schema instanceof z.ZodUnion) {
617
+ const options = schema.options.map(partialize);
618
+ return z.union(options);
619
+ }
620
+ return schema;
621
+ };
622
+ const deepPartial = (schema) => {
623
+ const shape = {};
624
+ for (const [key, value] of Object.entries(schema.shape)) {
625
+ const field = value;
626
+ const inner = field instanceof z.ZodOptional ? field.unwrap() : field;
627
+ shape[key] = partialize(inner);
628
+ }
629
+ const partial = z.object(shape).partial();
630
+ return schema.def.catchall ? partial.catchall(schema.def.catchall) : partial;
631
+ };
632
+ const createRegistry = () => {
633
+ const map = /* @__PURE__ */ new Map();
634
+ const registry = {
635
+ add(componentId, schema) {
636
+ map.set(componentId, schema);
637
+ return registry;
638
+ },
639
+ get(componentId) {
640
+ const schema = map.get(componentId);
641
+ if (!schema) throw new Error(`No configuration registered for component "${componentId}".`);
642
+ return {
643
+ schema,
644
+ inputSchema: deepPartial(schema)
645
+ };
646
+ },
647
+ has: (componentId) => map.has(componentId)
648
+ };
649
+ return registry;
650
+ };
651
+ //#endregion
652
+ //#region src/sdks/configurations/registry.ts
653
+ const registry = createRegistry().add(ComponentId.WR_DB_MYSQL, wrDbDefaultSchema).add(ComponentId.WR_DB_PGSQL, wrDbPgsqlSchema).add(ComponentId.WR_PAIRITY, wrDbPgsqlSchema).add(ComponentId.WR_DB_ORACLE, wrDbOracleSchema).add(ComponentId.WR_DB_SNOWFLAKE, wrDbSnowflakeSchema).add(ComponentId.WR_DB_SNOWFLAKE_GCS, wrDbSnowflakeSchema).add(ComponentId.WR_DB_SNOWFLAKE_GCS_S3, wrDbSnowflakeSchema).add(ComponentId.WR_SNOWFLAKE_BLOB_STORAGE, wrDbSnowflakeSchema).add(ComponentId.WR_LOOKER_V2, wrDbSnowflakeSchema).add(ComponentId.WR_SYNAPSE, wrSynapseSchema).add(ComponentId.WR_REDSHIFT, wrRedshiftSchema).add(ComponentId.WR_DB_MSSQL, wrDbMssqlSchema).add(ComponentId.WR_DB_HIVE, wrDbDefaultSchema).add(ComponentId.WR_DB_IMPALA, wrDbImpalaSchema).add(ComponentId.WR_HIVE_CSAS, wrHiveCsasSchema).add(ComponentId.WR_THOUGHTSPOT, wrThoughtspotSchema).add(ComponentId.WR_EXASOL, wrExasolSchema).add(ComponentId.WR_FIREBOLT, wrFireboltSchema).add(ComponentId.WR_SISENSE, wrSisenseSchema).add(ComponentId.APP_DATA_GATEWAY, appDataGatewaySchema).add(ComponentId.SCHEDULER, schedulerSchema).add(ComponentId.APP_SNOWFLAKE_DWH_MANAGER, appSnowflakeDwhManagerSchema).add(ComponentId.GOODDATA_WRITER, gooddataWriterSchema).add(ComponentId.EX_DB_REDSHIFT, exDbDefaultSchema).add(ComponentId.EX_DB_DB2, exDbDefaultSchema).add(ComponentId.EX_DB_DB2_BATA, exDbDefaultSchema).add(ComponentId.EX_DB_MSSQL_CDATA, exDbDefaultSchema).add(ComponentId.EX_DB_IMPALA, exDbDefaultSchema).add(ComponentId.EX_DB_HIVE, exDbDefaultSchema).add(ComponentId.EX_DB_HIVE_CSAS, exDbDefaultSchema).add(ComponentId.EX_DB_HIVE_CSAS_TEST, exDbDefaultSchema).add(ComponentId.EX_DB_PGSQL, exDbPgsqlSchema).add(ComponentId.EX_DB_MYSQL, exDbMysqlSchema).add(ComponentId.EX_DB_MSSQL, exDbMssqlSchema).add(ComponentId.EX_DB_ORACLE, exDbOracleSchema).add(ComponentId.EX_DB_SNOWFLAKE, exDbSnowflakeSchema).add(ComponentId.EX_DB_FIREBIRD, exDbFirebirdSchema).add(ComponentId.EX_DB_NETSUITE, exDbNetsuiteSchema).add(ComponentId.EX_DB_INFORMIX, exDbInformixSchema).add(ComponentId.EX_TERADATA, exTeradataSchema).add(ComponentId.KDS_EX_NETSUITE, exKdsNetsuiteSchema).add(ComponentId.KDS_EX_PROGRESS_DB, exDbProgressSchema).add(ComponentId.EX_GOOGLE_ADS, exGoogleAdsSchema).add(ComponentId.EX_HTTP, exHttpSchema).add(ComponentId.EX_FTP, exFtpSchema).add(ComponentId.EX_FTP_CSAS, exFtpSchema).add(ComponentId.EX_AWS_S3, exAwsS3Schema).add(ComponentId.KDS_EX_AZURE_BLOB_STORAGE_V2, exAzureBlobSchema).add(ComponentId.KDS_EX_AZURE_DATA_LAKE_GEN2, exAzureDataLakeSchema);
654
+ //#endregion
655
+ //#region src/sdks/configurations/configurationsSdk.ts
656
+ const toConfigResult = (data, schema) => {
657
+ const result = schema.safeParse(data.configuration);
658
+ return {
659
+ data,
660
+ runnable: result.success,
661
+ error: result.error
662
+ };
663
+ };
664
+ const createConfigurationSdk = ({ storageClient, encryptionClient, context }) => {
665
+ const _encrypt = async (componentId, data) => {
666
+ if (isEmptyDeep(data)) return data;
667
+ return encryptionClient.encryptScopedSecrets({
668
+ scope: "ProjectSecure",
669
+ componentId,
670
+ projectId: context.project.sapiToken.owner.id,
671
+ data
672
+ });
673
+ };
674
+ const getConfiguration = async (path) => {
675
+ const data = await storageClient.configurations.getConfiguration(path);
676
+ const def = registry.get(path.componentId);
677
+ return toConfigResult(data, def.schema);
678
+ };
679
+ const createConfiguration = async (input) => {
680
+ const { componentId, branchId, configuration, ...rest } = input;
681
+ assertCanCreateConfiguration(context.project.sapiToken, { isDevModeActive: context.defaultBranch.isDev(branchId) });
682
+ const def = registry.get(componentId);
683
+ const validated = def.inputSchema.parse(configuration);
684
+ const encrypted = await _encrypt(componentId, validated);
685
+ const data = await storageClient.configurations.createConfiguration({
686
+ ...rest,
687
+ branchId,
688
+ componentId,
689
+ configuration: encrypted
690
+ });
691
+ return toConfigResult(data, def.schema);
692
+ };
693
+ const updateConfiguration = async (input) => {
694
+ const { componentId, branchId, configId, configuration, mode = "merge", ...rest } = input;
695
+ assertCanUpdateConfiguration(context.project.sapiToken, { isDevModeActive: context.defaultBranch.isDev(branchId) });
696
+ const def = registry.get(componentId);
697
+ const validated = def.inputSchema.parse(configuration);
698
+ const encrypted = await _encrypt(componentId, validated);
699
+ let newConfiguration = encrypted;
700
+ if (mode === "merge") {
701
+ const original = await storageClient.configurations.getConfiguration({
702
+ componentId,
703
+ branchId,
704
+ configId
705
+ });
706
+ newConfiguration = schemaGuidedMerge(def.schema, original.configuration ?? {}, encrypted);
707
+ }
708
+ const { configuration: data } = await storageClient.configurations.updateConfiguration({
709
+ ...rest,
710
+ branchId,
711
+ componentId,
712
+ configId,
713
+ configuration: newConfiguration
714
+ });
715
+ return toConfigResult(data, def.schema);
716
+ };
717
+ return {
718
+ getConfiguration,
719
+ createConfiguration,
720
+ updateConfiguration
721
+ };
722
+ };
723
+ //#endregion
724
+ export { schemaGuidedMerge as n, isEmptyDeep as r, createConfigurationSdk as t };
725
+
726
+ //# sourceMappingURL=configurations-Byt59bIa.js.map