@keboola/api-client 20.0.0 → 23.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 (392) hide show
  1. package/API-SURFACE.md +51 -3
  2. package/README.md +124 -24
  3. package/dist/{ManagementClientAuthError-BMOhz4mx.d.ts → ManagementClientAuthError-B3PZRWBU.d.ts} +1 -1
  4. package/dist/{ManagementClientAuthError-B7mGrnGn.d.cts → ManagementClientAuthError-CJu_hpGi.d.cts} +1 -1
  5. package/dist/ai/index.cjs +4 -4
  6. package/dist/ai/index.d.cts +4 -3
  7. package/dist/ai/index.d.ts +4 -3
  8. package/dist/ai/index.js +3 -3
  9. package/dist/ai/types.d.cts +2 -2
  10. package/dist/ai/types.d.ts +2 -2
  11. package/dist/assets/index.cjs +12 -3
  12. package/dist/assets/index.cjs.map +1 -1
  13. package/dist/assets/index.d.cts +2 -1
  14. package/dist/assets/index.d.ts +2 -1
  15. package/dist/assets/index.js +11 -2
  16. package/dist/assets/index.js.map +1 -1
  17. package/dist/auth/index.cjs +22 -10
  18. package/dist/auth/index.d.cts +117 -10
  19. package/dist/auth/index.d.ts +117 -10
  20. package/dist/auth/index.js +2 -2
  21. package/dist/auth/types.d.cts +4 -8
  22. package/dist/auth/types.d.ts +4 -8
  23. package/dist/chat/index.cjs +4 -4
  24. package/dist/chat/index.d.cts +4 -8
  25. package/dist/chat/index.d.ts +4 -8
  26. package/dist/chat/index.js +3 -3
  27. package/dist/chat/suggestions.d.cts +11 -11
  28. package/dist/chat/suggestions.d.ts +11 -11
  29. package/dist/chat/types.d.cts +2 -2
  30. package/dist/chat/types.d.ts +2 -2
  31. package/dist/{chunk-SWJHENEP.cjs → chunk-22D55AHX.cjs} +180 -28
  32. package/dist/chunk-22D55AHX.cjs.map +1 -0
  33. package/dist/chunk-22E6IGXR.js +6 -0
  34. package/dist/chunk-22E6IGXR.js.map +1 -0
  35. package/dist/{chunk-7ETZQGY7.js → chunk-2BOG5U7C.js} +3 -3
  36. package/dist/{chunk-7ETZQGY7.js.map → chunk-2BOG5U7C.js.map} +1 -1
  37. package/dist/{chunk-RHLDDKX6.js → chunk-33NQB34X.js} +99 -30
  38. package/dist/chunk-33NQB34X.js.map +1 -0
  39. package/dist/{chunk-AWRMGLMT.cjs → chunk-35MODDCL.cjs} +8 -9
  40. package/dist/chunk-35MODDCL.cjs.map +1 -0
  41. package/dist/{chunk-RK2VGHJE.js → chunk-3B3GOGAL.js} +3 -3
  42. package/dist/chunk-3B3GOGAL.js.map +1 -0
  43. package/dist/{chunk-TTPJSPZA.cjs → chunk-3KEVPUSX.cjs} +10 -3
  44. package/dist/chunk-3KEVPUSX.cjs.map +1 -0
  45. package/dist/chunk-43CGBOVT.cjs +16 -0
  46. package/dist/chunk-43CGBOVT.cjs.map +1 -0
  47. package/dist/{chunk-IZWNTRMT.cjs → chunk-4GUUSO5O.cjs} +24 -7
  48. package/dist/chunk-4GUUSO5O.cjs.map +1 -0
  49. package/dist/{chunk-YUTWLJBK.js → chunk-4IEIVLYT.js} +55 -5
  50. package/dist/chunk-4IEIVLYT.js.map +1 -0
  51. package/dist/{chunk-KLVBTRLR.js → chunk-4Z5W2F6Q.js} +168 -17
  52. package/dist/chunk-4Z5W2F6Q.js.map +1 -0
  53. package/dist/{chunk-JJXTE2SL.cjs → chunk-556U6PFA.cjs} +6 -6
  54. package/dist/{chunk-JJXTE2SL.cjs.map → chunk-556U6PFA.cjs.map} +1 -1
  55. package/dist/{chunk-M3UUJIMO.js → chunk-5Z6M32UE.js} +16 -5
  56. package/dist/chunk-5Z6M32UE.js.map +1 -0
  57. package/dist/{chunk-XISA4SYM.cjs → chunk-5ZOWA7DA.cjs} +6 -6
  58. package/dist/{chunk-XISA4SYM.cjs.map → chunk-5ZOWA7DA.cjs.map} +1 -1
  59. package/dist/{chunk-6FE3CWV6.js → chunk-6LBMZAPF.js} +14 -5
  60. package/dist/chunk-6LBMZAPF.js.map +1 -0
  61. package/dist/{chunk-4H2DDEUI.cjs → chunk-BWBTNAVL.cjs} +9 -9
  62. package/dist/{chunk-4H2DDEUI.cjs.map → chunk-BWBTNAVL.cjs.map} +1 -1
  63. package/dist/{chunk-NRJTA5P3.cjs → chunk-CCC6I32C.cjs} +4 -4
  64. package/dist/{chunk-NRJTA5P3.cjs.map → chunk-CCC6I32C.cjs.map} +1 -1
  65. package/dist/{chunk-ZLW3243Q.cjs → chunk-CN5GAKRO.cjs} +6 -6
  66. package/dist/chunk-CN5GAKRO.cjs.map +1 -0
  67. package/dist/{chunk-JURD5MC3.js → chunk-DHOVQ2TW.js} +15 -16
  68. package/dist/chunk-DHOVQ2TW.js.map +1 -0
  69. package/dist/{chunk-IUN2ZSU3.cjs → chunk-DMNWPVVT.cjs} +3 -2
  70. package/dist/chunk-DMNWPVVT.cjs.map +1 -0
  71. package/dist/chunk-EWMXK3EI.cjs +8 -0
  72. package/dist/chunk-EWMXK3EI.cjs.map +1 -0
  73. package/dist/{chunk-IWIN6HKU.cjs → chunk-EYIPM2XB.cjs} +4 -4
  74. package/dist/{chunk-IWIN6HKU.cjs.map → chunk-EYIPM2XB.cjs.map} +1 -1
  75. package/dist/{chunk-HEVDH4JQ.js → chunk-F43HBNKD.js} +4 -4
  76. package/dist/{chunk-HEVDH4JQ.js.map → chunk-F43HBNKD.js.map} +1 -1
  77. package/dist/{chunk-QQJXXNUE.cjs → chunk-FDTWXXI4.cjs} +7 -7
  78. package/dist/{chunk-QQJXXNUE.cjs.map → chunk-FDTWXXI4.cjs.map} +1 -1
  79. package/dist/{chunk-CVV4HROS.cjs → chunk-FMS5PNM2.cjs} +4 -4
  80. package/dist/chunk-FMS5PNM2.cjs.map +1 -0
  81. package/dist/{chunk-ZHNOZHJG.js → chunk-FQK3YM7U.js} +3 -3
  82. package/dist/{chunk-ZHNOZHJG.js.map → chunk-FQK3YM7U.js.map} +1 -1
  83. package/dist/{chunk-BR3SBEFE.cjs → chunk-FRLSKIUI.cjs} +19 -21
  84. package/dist/chunk-FRLSKIUI.cjs.map +1 -0
  85. package/dist/{chunk-JIAMBOU7.cjs → chunk-FVJC2GJY.cjs} +19 -8
  86. package/dist/chunk-FVJC2GJY.cjs.map +1 -0
  87. package/dist/{chunk-7KMFRSYA.js → chunk-G5JMZI2L.js} +22 -5
  88. package/dist/chunk-G5JMZI2L.js.map +1 -0
  89. package/dist/{chunk-4HJUQVXR.js → chunk-HFZCZ7PZ.js} +61 -12
  90. package/dist/chunk-HFZCZ7PZ.js.map +1 -0
  91. package/dist/{chunk-4JCVPUXF.cjs → chunk-HZSZQFEO.cjs} +109 -40
  92. package/dist/chunk-HZSZQFEO.cjs.map +1 -0
  93. package/dist/{chunk-WWICQYOY.cjs → chunk-IYGHWPCR.cjs} +4 -4
  94. package/dist/{chunk-WWICQYOY.cjs.map → chunk-IYGHWPCR.cjs.map} +1 -1
  95. package/dist/{chunk-KDWIJTED.js → chunk-J2MBTBE2.js} +4 -4
  96. package/dist/{chunk-KDWIJTED.js.map → chunk-J2MBTBE2.js.map} +1 -1
  97. package/dist/{chunk-ISY2BOFY.js → chunk-JQSMJ64B.js} +4 -4
  98. package/dist/{chunk-ISY2BOFY.js.map → chunk-JQSMJ64B.js.map} +1 -1
  99. package/dist/{chunk-ANRUSNYD.cjs → chunk-K6EZ3USU.cjs} +7 -7
  100. package/dist/{chunk-ANRUSNYD.cjs.map → chunk-K6EZ3USU.cjs.map} +1 -1
  101. package/dist/{chunk-KQ2QNGRX.js → chunk-KH6BHTXN.js} +5 -6
  102. package/dist/chunk-KH6BHTXN.js.map +1 -0
  103. package/dist/chunk-KUYVBCUM.cjs +231 -0
  104. package/dist/chunk-KUYVBCUM.cjs.map +1 -0
  105. package/dist/{chunk-EKWD4ODT.cjs → chunk-KY4EYQ6I.cjs} +6 -6
  106. package/dist/{chunk-EKWD4ODT.cjs.map → chunk-KY4EYQ6I.cjs.map} +1 -1
  107. package/dist/{chunk-WJRHT346.js → chunk-L4R66Q6S.js} +4 -4
  108. package/dist/chunk-L4R66Q6S.js.map +1 -0
  109. package/dist/{chunk-K6E7LOWZ.js → chunk-L63UYWJG.js} +4 -4
  110. package/dist/{chunk-K6E7LOWZ.js.map → chunk-L63UYWJG.js.map} +1 -1
  111. package/dist/{chunk-EXNR4FGV.js → chunk-MIUULCML.js} +3 -3
  112. package/dist/{chunk-EXNR4FGV.js.map → chunk-MIUULCML.js.map} +1 -1
  113. package/dist/{chunk-V4FLCCD4.js → chunk-PEC3BYFA.js} +4 -4
  114. package/dist/{chunk-V4FLCCD4.js.map → chunk-PEC3BYFA.js.map} +1 -1
  115. package/dist/{chunk-ZAPK7HZS.js → chunk-PHP2NND7.js} +4 -4
  116. package/dist/{chunk-ZAPK7HZS.js.map → chunk-PHP2NND7.js.map} +1 -1
  117. package/dist/{chunk-STAQJVW4.cjs → chunk-Q7C2IRF2.cjs} +6 -6
  118. package/dist/{chunk-STAQJVW4.cjs.map → chunk-Q7C2IRF2.cjs.map} +1 -1
  119. package/dist/chunk-QHD4LPAQ.cjs +8 -0
  120. package/dist/chunk-QHD4LPAQ.cjs.map +1 -0
  121. package/dist/{chunk-FPWOK2CR.js → chunk-R3NW5LAB.js} +4 -4
  122. package/dist/chunk-R3NW5LAB.js.map +1 -0
  123. package/dist/{chunk-EBCZUGUX.js → chunk-SJZ66FD5.js} +4 -4
  124. package/dist/chunk-SJZ66FD5.js.map +1 -0
  125. package/dist/chunk-T526LPBK.js +6 -0
  126. package/dist/chunk-T526LPBK.js.map +1 -0
  127. package/dist/{chunk-G7VCXMQB.cjs → chunk-T7SEZMQ7.cjs} +16 -7
  128. package/dist/chunk-T7SEZMQ7.cjs.map +1 -0
  129. package/dist/{chunk-UREIP7XG.js → chunk-TCGHVOIJ.js} +4 -4
  130. package/dist/{chunk-UREIP7XG.js.map → chunk-TCGHVOIJ.js.map} +1 -1
  131. package/dist/{chunk-IBELIKBL.js → chunk-TF3JWA7J.js} +4 -4
  132. package/dist/{chunk-IBELIKBL.js.map → chunk-TF3JWA7J.js.map} +1 -1
  133. package/dist/{chunk-GENABZQ3.js → chunk-UH5JOSEE.js} +4 -4
  134. package/dist/{chunk-GENABZQ3.js.map → chunk-UH5JOSEE.js.map} +1 -1
  135. package/dist/chunk-UP5SEEYZ.js +218 -0
  136. package/dist/chunk-UP5SEEYZ.js.map +1 -0
  137. package/dist/{chunk-MLCMKHMK.cjs → chunk-VPNWX7YM.cjs} +6 -6
  138. package/dist/{chunk-MLCMKHMK.cjs.map → chunk-VPNWX7YM.cjs.map} +1 -1
  139. package/dist/{chunk-YOD5F25S.js → chunk-WJEAGAWB.js} +4 -4
  140. package/dist/{chunk-YOD5F25S.js.map → chunk-WJEAGAWB.js.map} +1 -1
  141. package/dist/{chunk-YLHZ2H7O.cjs → chunk-WZGBE4XH.cjs} +9 -9
  142. package/dist/{chunk-YLHZ2H7O.cjs.map → chunk-WZGBE4XH.cjs.map} +1 -1
  143. package/dist/chunk-X4HEWMPU.cjs +113 -0
  144. package/dist/chunk-X4HEWMPU.cjs.map +1 -0
  145. package/dist/{chunk-WFBQUWRC.js → chunk-XMC355U2.js} +10 -3
  146. package/dist/chunk-XMC355U2.js.map +1 -0
  147. package/dist/{chunk-N3GNUFMA.cjs → chunk-YEF46DYF.cjs} +65 -13
  148. package/dist/chunk-YEF46DYF.cjs.map +1 -0
  149. package/dist/{chunk-AKDJSXVJ.cjs → chunk-YQEBJG5H.cjs} +6 -6
  150. package/dist/{chunk-AKDJSXVJ.cjs.map → chunk-YQEBJG5H.cjs.map} +1 -1
  151. package/dist/{chunk-UFQVOZZ6.cjs → chunk-Z76DIRLA.cjs} +55 -5
  152. package/dist/chunk-Z76DIRLA.cjs.map +1 -0
  153. package/dist/chunk-ZDCEKJAL.js +110 -0
  154. package/dist/chunk-ZDCEKJAL.js.map +1 -0
  155. package/dist/constants/index.cjs +17 -3
  156. package/dist/constants/index.cjs.map +1 -1
  157. package/dist/constants/index.d.cts +8 -1
  158. package/dist/constants/index.d.ts +8 -1
  159. package/dist/constants/index.js +16 -2
  160. package/dist/constants/index.js.map +1 -1
  161. package/dist/{createGenericFetchClient-D4tfhW6Z.d.ts → createGenericFetchClient-B2Gp1a8f.d.ts} +1 -1
  162. package/dist/{createGenericFetchClient-CrB9cdk8.d.cts → createGenericFetchClient-DJ-oaxPj.d.cts} +1 -1
  163. package/dist/{createOpenapiFetchClient-DLA4-_yg.d.ts → createOpenapiFetchClient-BX7_szVZ.d.ts} +2 -2
  164. package/dist/{createOpenapiFetchClient-zK2SckO2.d.cts → createOpenapiFetchClient-pguVgT7R.d.cts} +2 -2
  165. package/dist/dataScience/index.cjs +5 -5
  166. package/dist/dataScience/index.d.cts +4 -9
  167. package/dist/dataScience/index.d.ts +4 -9
  168. package/dist/dataScience/index.js +3 -3
  169. package/dist/dataScience/types.d.cts +2 -2
  170. package/dist/dataScience/types.d.ts +2 -2
  171. package/dist/domain/permissions/index.cjs +23 -0
  172. package/dist/domain/permissions/index.cjs.map +1 -1
  173. package/dist/domain/permissions/index.d.cts +40 -5
  174. package/dist/domain/permissions/index.d.ts +40 -5
  175. package/dist/domain/permissions/index.js +20 -1
  176. package/dist/domain/permissions/index.js.map +1 -1
  177. package/dist/editor/index.cjs +4 -4
  178. package/dist/editor/index.d.cts +3 -3
  179. package/dist/editor/index.d.ts +3 -3
  180. package/dist/editor/index.js +3 -3
  181. package/dist/editor/types.d.cts +2 -2
  182. package/dist/editor/types.d.ts +2 -2
  183. package/dist/encryption/index.cjs +3 -3
  184. package/dist/encryption/index.d.cts +4 -4
  185. package/dist/encryption/index.d.ts +4 -4
  186. package/dist/encryption/index.js +2 -2
  187. package/dist/encryption/types.d.cts +3 -3
  188. package/dist/encryption/types.d.ts +3 -3
  189. package/dist/import/index.cjs +4 -4
  190. package/dist/import/index.d.cts +1 -1
  191. package/dist/import/index.d.ts +1 -1
  192. package/dist/import/index.js +3 -3
  193. package/dist/index.cjs +1572 -848
  194. package/dist/index.cjs.map +1 -1
  195. package/dist/index.d.cts +1830 -1101
  196. package/dist/index.d.ts +1830 -1101
  197. package/dist/index.js +1571 -881
  198. package/dist/index.js.map +1 -1
  199. package/dist/management/index.cjs +5 -5
  200. package/dist/management/index.d.cts +39 -42
  201. package/dist/management/index.d.ts +39 -42
  202. package/dist/management/index.js +3 -3
  203. package/dist/management/types.d.cts +3 -7
  204. package/dist/management/types.d.ts +3 -7
  205. package/dist/metastore/index.cjs +4 -4
  206. package/dist/metastore/index.d.cts +14 -33
  207. package/dist/metastore/index.d.ts +14 -33
  208. package/dist/metastore/index.js +3 -3
  209. package/dist/metastore/types.d.cts +2 -2
  210. package/dist/metastore/types.d.ts +2 -2
  211. package/dist/notifications/index.cjs +5 -4
  212. package/dist/notifications/index.d.cts +30 -17
  213. package/dist/notifications/index.d.ts +30 -17
  214. package/dist/notifications/index.js +4 -3
  215. package/dist/notifications/types.d.cts +2 -2
  216. package/dist/notifications/types.d.ts +2 -2
  217. package/dist/oauth/index.cjs +4 -4
  218. package/dist/oauth/index.d.cts +1 -1
  219. package/dist/oauth/index.d.ts +1 -1
  220. package/dist/oauth/index.js +3 -3
  221. package/dist/{project-Bj7A_TSe.d.ts → project-BV-vseKc.d.ts} +2 -2
  222. package/dist/{project-CX3TEH8A.d.cts → project-CbJCjkdt.d.cts} +2 -2
  223. package/dist/queryService/index.cjs +4 -4
  224. package/dist/queryService/index.d.cts +3 -3
  225. package/dist/queryService/index.d.ts +3 -3
  226. package/dist/queryService/index.js +3 -3
  227. package/dist/queryService/types.d.cts +2 -2
  228. package/dist/queryService/types.d.ts +2 -2
  229. package/dist/queue/index.cjs +5 -4
  230. package/dist/queue/index.d.cts +207 -3
  231. package/dist/queue/index.d.ts +207 -3
  232. package/dist/queue/index.js +4 -3
  233. package/dist/queue/types.d.cts +2 -2
  234. package/dist/queue/types.d.ts +2 -2
  235. package/dist/{registry-BLItWxbK.d.ts → registry-v_1krdcs.d.cts} +136 -1
  236. package/dist/{registry-BLItWxbK.d.cts → registry-v_1krdcs.d.ts} +136 -1
  237. package/dist/scheduler/index.cjs +5 -4
  238. package/dist/scheduler/index.d.cts +3 -2
  239. package/dist/scheduler/index.d.ts +3 -2
  240. package/dist/scheduler/index.js +4 -3
  241. package/dist/scheduler/types.d.cts +1 -1
  242. package/dist/scheduler/types.d.ts +1 -1
  243. package/dist/sdk/configurations/index.cjs +3 -3
  244. package/dist/sdk/configurations/index.d.cts +418 -26
  245. package/dist/sdk/configurations/index.d.ts +418 -26
  246. package/dist/sdk/configurations/index.js +2 -2
  247. package/dist/sdk/semanticLayer/index.cjs +58 -0
  248. package/dist/sdk/semanticLayer/index.cjs.map +1 -0
  249. package/dist/sdk/semanticLayer/index.d.cts +151 -0
  250. package/dist/sdk/semanticLayer/index.d.ts +151 -0
  251. package/dist/sdk/semanticLayer/index.js +5 -0
  252. package/dist/sdk/semanticLayer/index.js.map +1 -0
  253. package/dist/sdk/semanticLayer/types.cjs +4 -0
  254. package/dist/sdk/semanticLayer/types.cjs.map +1 -0
  255. package/dist/sdk/semanticLayer/types.d.cts +132 -0
  256. package/dist/sdk/semanticLayer/types.d.ts +132 -0
  257. package/dist/sdk/semanticLayer/types.js +3 -0
  258. package/dist/sdk/semanticLayer/types.js.map +1 -0
  259. package/dist/sdk/storage/index.cjs +12 -11
  260. package/dist/sdk/storage/index.d.cts +8 -8
  261. package/dist/sdk/storage/index.d.ts +8 -8
  262. package/dist/sdk/storage/index.js +2 -1
  263. package/dist/sdk/tag/index.cjs +4 -3
  264. package/dist/sdk/tag/index.d.cts +7 -7
  265. package/dist/sdk/tag/index.d.ts +7 -7
  266. package/dist/sdk/tag/index.js +3 -2
  267. package/dist/sdk/tag/types.d.cts +5 -5
  268. package/dist/sdk/tag/types.d.ts +5 -5
  269. package/dist/sdk/vault/index.cjs +8 -8
  270. package/dist/sdk/vault/index.d.cts +5 -5
  271. package/dist/sdk/vault/index.d.ts +5 -5
  272. package/dist/sdk/vault/index.js +2 -2
  273. package/dist/status/index.cjs +2 -2
  274. package/dist/status/index.d.cts +1 -1
  275. package/dist/status/index.d.ts +1 -1
  276. package/dist/status/index.js +1 -1
  277. package/dist/storage/index.cjs +12 -12
  278. package/dist/storage/index.d.cts +8 -8
  279. package/dist/storage/index.d.ts +8 -8
  280. package/dist/storage/index.js +5 -5
  281. package/dist/storage/types.d.cts +59 -6
  282. package/dist/storage/types.d.ts +59 -6
  283. package/dist/{storageClient-D1USmiC5.d.cts → storageClient-Dlu7OJgJ.d.cts} +14 -7
  284. package/dist/{storageClient-Cwr5Vl45.d.ts → storageClient-Dz4tTWOc.d.ts} +14 -7
  285. package/dist/{storageSdk-MciYsR_e.d.cts → storageSdk-DxbSjnHh.d.cts} +1 -1
  286. package/dist/{storageSdk-Um7iSJMs.d.ts → storageSdk-PRaSLkD6.d.ts} +1 -1
  287. package/dist/stream/index.cjs +4 -4
  288. package/dist/stream/index.d.cts +3 -3
  289. package/dist/stream/index.d.ts +3 -3
  290. package/dist/stream/index.js +3 -3
  291. package/dist/stream/types.d.cts +2 -2
  292. package/dist/stream/types.d.ts +2 -2
  293. package/dist/syncActions/index.cjs +4 -4
  294. package/dist/syncActions/index.d.cts +3 -3
  295. package/dist/syncActions/index.d.ts +3 -3
  296. package/dist/syncActions/index.js +3 -3
  297. package/dist/syncActions/types.d.cts +1 -10
  298. package/dist/syncActions/types.d.ts +1 -10
  299. package/dist/telemetry/index.cjs +4 -4
  300. package/dist/telemetry/index.d.cts +2 -2
  301. package/dist/telemetry/index.d.ts +2 -2
  302. package/dist/telemetry/index.js +3 -3
  303. package/dist/{types-BCPmAXOQ.d.cts → types-22LtuLPM.d.cts} +355 -108
  304. package/dist/{types-BVldT2vs.d.cts → types-B-3bBl2q.d.ts} +21 -17
  305. package/dist/{types-DHCbX2uR.d.cts → types-B3hgDuaG.d.cts} +1 -1
  306. package/dist/{types-jKnx7Tm_.d.cts → types-BbM5WDSR.d.cts} +1 -1
  307. package/dist/{types-jKnx7Tm_.d.ts → types-BbM5WDSR.d.ts} +1 -1
  308. package/dist/{types-Dv3vN7M9.d.ts → types-Bj3fLP0h.d.ts} +1 -1
  309. package/dist/{types-D3Kkh6yW.d.ts → types-BjNd012m.d.ts} +3 -545
  310. package/dist/{types-yKV1EX6f.d.ts → types-BjdcqqvT.d.ts} +10 -1
  311. package/dist/{types-ClxrZC77.d.cts → types-CJ0RgA57.d.ts} +3146 -826
  312. package/dist/{types-DFWnAftN.d.cts → types-CUzRu6Z8.d.cts} +1 -1
  313. package/dist/{types-o8eTf_G9.d.ts → types-CfIKhNMg.d.cts} +3146 -826
  314. package/dist/{types-D9cNOf-3.d.cts → types-CkQXSDqo.d.cts} +10 -1
  315. package/dist/{types-CWebeQXy.d.cts → types-CmdRXxqa.d.cts} +1 -1
  316. package/dist/{types-l_pP5J0H.d.ts → types-Cnsa5tWp.d.ts} +1 -1
  317. package/dist/{types-BxjcUj-y.d.cts → types-D6p5VsOx.d.cts} +27 -4
  318. package/dist/{types-oJnjpvPi.d.ts → types-DNEuJ-tb.d.cts} +585 -6
  319. package/dist/{types-BbeZapCu.d.ts → types-DXFcF3_c.d.ts} +2 -2
  320. package/dist/{types-GRfGXouy.d.cts → types-DgU_wy4q.d.cts} +2 -2
  321. package/dist/{types-DacFMc6L.d.ts → types-Dq5jIMye.d.ts} +27 -4
  322. package/dist/{types-0yn6OefX.d.ts → types-DqxZDbM1.d.cts} +1 -1
  323. package/dist/{types-0yn6OefX.d.cts → types-DqxZDbM1.d.ts} +1 -1
  324. package/dist/{types-BowqtZ7v.d.ts → types-Dz4Yc-Mu.d.ts} +355 -108
  325. package/dist/{types-YEfQ5pAy.d.ts → types-GecGaYgv.d.cts} +981 -171
  326. package/dist/{types-YEfQ5pAy.d.cts → types-GecGaYgv.d.ts} +981 -171
  327. package/dist/{types-CFd7q2ed.d.ts → types-PG_v0QyH.d.ts} +1 -1
  328. package/dist/{types-CS8MYc2k.d.ts → types-mQtL3f4D.d.cts} +21 -17
  329. package/dist/{types-59-LNg5i.d.cts → types-qCMu5X9I.d.ts} +585 -6
  330. package/dist/{types-CvHPHNH0.d.cts → types-y3pEpGrH.d.cts} +3 -545
  331. package/dist/{utils-DDERw8dM.d.cts → utils-CuiDsDxz.d.cts} +997 -168
  332. package/dist/{utils-C7eSJKtG.d.ts → utils-zcz60drL.d.ts} +997 -168
  333. package/dist/vault/index.cjs +4 -4
  334. package/dist/vault/index.d.cts +2 -2
  335. package/dist/vault/index.d.ts +2 -2
  336. package/dist/vault/index.js +3 -3
  337. package/dist/vault/types.d.cts +4 -10
  338. package/dist/vault/types.d.ts +4 -10
  339. package/package.json +30 -4
  340. package/surface/ai.md +2 -2
  341. package/surface/auth.md +15 -3
  342. package/surface/chat.md +1 -1
  343. package/surface/dataScience.md +5 -5
  344. package/surface/editor.md +5 -5
  345. package/surface/kaiAgent.md +4 -4
  346. package/surface/management.md +24 -4
  347. package/surface/metastore.md +10 -10
  348. package/surface/notifications.md +6 -4
  349. package/surface/queue.md +6 -1
  350. package/surface/scheduler.md +1 -0
  351. package/surface/sdk.md +21 -6
  352. package/surface/storage.md +12 -4
  353. package/surface/stream.md +7 -7
  354. package/dist/authMiddleware-BcRYj3eQ.d.cts +0 -5
  355. package/dist/authMiddleware-CirRGURb.d.ts +0 -5
  356. package/dist/chunk-4HJUQVXR.js.map +0 -1
  357. package/dist/chunk-4JCVPUXF.cjs.map +0 -1
  358. package/dist/chunk-6FE3CWV6.js.map +0 -1
  359. package/dist/chunk-7KMFRSYA.js.map +0 -1
  360. package/dist/chunk-AWRMGLMT.cjs.map +0 -1
  361. package/dist/chunk-BR3SBEFE.cjs.map +0 -1
  362. package/dist/chunk-CVV4HROS.cjs.map +0 -1
  363. package/dist/chunk-EBCZUGUX.js.map +0 -1
  364. package/dist/chunk-FPWOK2CR.js.map +0 -1
  365. package/dist/chunk-G7VCXMQB.cjs.map +0 -1
  366. package/dist/chunk-HNP33VR5.cjs +0 -16
  367. package/dist/chunk-HNP33VR5.cjs.map +0 -1
  368. package/dist/chunk-IUN2ZSU3.cjs.map +0 -1
  369. package/dist/chunk-IZWNTRMT.cjs.map +0 -1
  370. package/dist/chunk-JIAMBOU7.cjs.map +0 -1
  371. package/dist/chunk-JURD5MC3.js.map +0 -1
  372. package/dist/chunk-KLVBTRLR.js.map +0 -1
  373. package/dist/chunk-KQ2QNGRX.js.map +0 -1
  374. package/dist/chunk-M3UUJIMO.js.map +0 -1
  375. package/dist/chunk-N3GNUFMA.cjs.map +0 -1
  376. package/dist/chunk-PINOAERX.js +0 -36
  377. package/dist/chunk-PINOAERX.js.map +0 -1
  378. package/dist/chunk-RHLDDKX6.js.map +0 -1
  379. package/dist/chunk-RK2VGHJE.js.map +0 -1
  380. package/dist/chunk-SWJHENEP.cjs.map +0 -1
  381. package/dist/chunk-TTPJSPZA.cjs.map +0 -1
  382. package/dist/chunk-UFQVOZZ6.cjs.map +0 -1
  383. package/dist/chunk-WFBQUWRC.js.map +0 -1
  384. package/dist/chunk-WJRHT346.js.map +0 -1
  385. package/dist/chunk-YOPRPXER.cjs +0 -38
  386. package/dist/chunk-YOPRPXER.cjs.map +0 -1
  387. package/dist/chunk-YUTWLJBK.js.map +0 -1
  388. package/dist/chunk-ZLW3243Q.cjs.map +0 -1
  389. package/dist/schemas-CraXbXke.d.cts +0 -74
  390. package/dist/schemas-CraXbXke.d.ts +0 -74
  391. package/dist/{backends-Bofq_Nr0.d.cts → adminRoles-Cil1lavB.d.cts} +6 -6
  392. package/dist/{backends-Bofq_Nr0.d.ts → adminRoles-Cil1lavB.d.ts} +6 -6
@@ -1,12 +1,103 @@
1
- import { c as components, A as AssertSamlBody, I as InitiateSamlBody, C as CreatePatBody, E as ExchangePatBody, R as RevokePatPath, a as CreateDeviceAuthorizationBody, b as ApproveDeviceAuthorizationBody, G as GetDeviceAuthorizationTokenBody, S as SudoBody, d as GetPkceTokenBody, e as RevokeSessionPath, f as RevokeTokenBody } from '../types-59-LNg5i.cjs';
2
- import { L as LoginInput, O as OidcInput, M as MfaCodeInput, a as MfaWebauthnInput } from '../schemas-CraXbXke.cjs';
3
- export { b as LoginResult, l as loginInputSchema, c as loginResultSchema, d as loginSuccessSchema, m as mfaChallengeSchema, e as mfaCodeInputSchema, f as mfaWebauthnInputSchema, o as oidcInputSchema } from '../schemas-CraXbXke.cjs';
4
- import { c as createOpenapiFetchClient } from '../createOpenapiFetchClient-zK2SckO2.cjs';
5
- import { C as ClientInitOptions } from '../types-0yn6OefX.cjs';
6
- import '../types-jKnx7Tm_.cjs';
7
- import 'zod';
1
+ import { x as components, u as TotpVerifyBody, D as DisableTotpPath, b as AssertSamlBody, I as InitiateSamlBody, e as CreatePatBody, E as ExchangePatBody, o as RevokePatPath, C as CreateDeviceAuthorizationBody, A as ApproveDeviceAuthorizationBody, G as GetDeviceAuthorizationTokenBody, S as SudoBody, i as GetPkceTokenBody, q as RevokeSessionPath, r as RevokeTokenBody } from '../types-DNEuJ-tb.cjs';
2
+ import * as zod from 'zod';
3
+ import { c as createOpenapiFetchClient } from '../createOpenapiFetchClient-pguVgT7R.cjs';
4
+ import { C as ClientInitOptions } from '../types-DqxZDbM1.cjs';
5
+ import '../types-BbM5WDSR.cjs';
8
6
  import 'qs';
9
7
 
8
+ declare const resetRequestInputSchema: zod.ZodObject<{
9
+ email: zod.ZodEmail;
10
+ }, zod.core.$strip>;
11
+ declare const resetInputSchema: zod.ZodObject<{
12
+ token: zod.ZodString;
13
+ newPassword: zod.ZodString;
14
+ revokeSessions: zod.ZodDefault<zod.ZodBoolean>;
15
+ }, zod.core.$strip>;
16
+ declare const changeInputSchema: zod.ZodObject<{
17
+ currentPassword: zod.ZodString;
18
+ newPassword: zod.ZodString;
19
+ revokeOtherSessions: zod.ZodDefault<zod.ZodBoolean>;
20
+ }, zod.core.$strip>;
21
+ type ResetRequestInput = zod.infer<typeof resetRequestInputSchema>;
22
+ type ResetInput = zod.input<typeof resetInputSchema>;
23
+ type ChangePasswordInput = zod.input<typeof changeInputSchema>;
24
+
25
+ declare const mfaCodeInputSchema: zod.ZodObject<{
26
+ mfaToken: zod.ZodString;
27
+ type: zod.ZodEnum<{
28
+ totp: "totp";
29
+ recovery_code: "recovery_code";
30
+ }>;
31
+ code: zod.ZodString;
32
+ }, zod.core.$strip>;
33
+ declare const mfaWebauthnInputSchema: zod.ZodObject<{
34
+ mfaToken: zod.ZodString;
35
+ assertion: zod.ZodString;
36
+ }, zod.core.$strip>;
37
+ type MfaCodeInput = zod.infer<typeof mfaCodeInputSchema>;
38
+ type MfaWebauthnInput = zod.infer<typeof mfaWebauthnInputSchema>;
39
+
40
+ declare const loginInputSchema: zod.ZodObject<{
41
+ email: zod.ZodEmail;
42
+ password: zod.ZodString;
43
+ }, zod.core.$strip>;
44
+ declare const oidcInputSchema: zod.ZodObject<{
45
+ grantType: zod.ZodEnum<{
46
+ google: "google";
47
+ microsoft: "microsoft";
48
+ }>;
49
+ idToken: zod.ZodString;
50
+ }, zod.core.$strip>;
51
+ type LoginInput = zod.infer<typeof loginInputSchema>;
52
+ type OidcInput = zod.infer<typeof oidcInputSchema>;
53
+ declare const userSchema: zod.ZodObject<{
54
+ id: zod.ZodNumber;
55
+ email: zod.ZodString;
56
+ name: zod.ZodString;
57
+ }, zod.core.$strip>;
58
+ declare const loginSuccessSchema: zod.ZodObject<{
59
+ mfaRequired: zod.ZodDefault<zod.ZodLiteral<false>>;
60
+ accessToken: zod.ZodString;
61
+ refreshToken: zod.ZodString;
62
+ tokenType: zod.ZodString;
63
+ expiresIn: zod.ZodNumber;
64
+ sessionId: zod.ZodString;
65
+ user: zod.ZodObject<{
66
+ id: zod.ZodNumber;
67
+ email: zod.ZodString;
68
+ name: zod.ZodString;
69
+ }, zod.core.$strip>;
70
+ }, zod.core.$strip>;
71
+ declare const mfaChallengeSchema: zod.ZodObject<{
72
+ mfaRequired: zod.ZodLiteral<true>;
73
+ mfaType: zod.ZodString;
74
+ mfaToken: zod.ZodString;
75
+ expiresIn: zod.ZodNumber;
76
+ allowedMethods: zod.ZodArray<zod.ZodString>;
77
+ }, zod.core.$strip>;
78
+ declare const loginResultSchema: zod.ZodUnion<readonly [zod.ZodObject<{
79
+ mfaRequired: zod.ZodDefault<zod.ZodLiteral<false>>;
80
+ accessToken: zod.ZodString;
81
+ refreshToken: zod.ZodString;
82
+ tokenType: zod.ZodString;
83
+ expiresIn: zod.ZodNumber;
84
+ sessionId: zod.ZodString;
85
+ user: zod.ZodObject<{
86
+ id: zod.ZodNumber;
87
+ email: zod.ZodString;
88
+ name: zod.ZodString;
89
+ }, zod.core.$strip>;
90
+ }, zod.core.$strip>, zod.ZodObject<{
91
+ mfaRequired: zod.ZodLiteral<true>;
92
+ mfaType: zod.ZodString;
93
+ mfaToken: zod.ZodString;
94
+ expiresIn: zod.ZodNumber;
95
+ allowedMethods: zod.ZodArray<zod.ZodString>;
96
+ }, zod.core.$strip>]>;
97
+ type LoginUser = zod.infer<typeof userSchema>;
98
+ type LoginSuccess = zod.infer<typeof loginSuccessSchema>;
99
+ type LoginResult = zod.infer<typeof loginResultSchema>;
100
+
10
101
  type AuthClientInitOptions = Omit<ClientInitOptions, 'auth'>;
11
102
  type AuthOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
12
103
  declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions) => {
@@ -29,7 +120,6 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
29
120
  mfaToken: string;
30
121
  expiresIn: number;
31
122
  allowedMethods: string[];
32
- webauthn: Record<string, unknown> | null;
33
123
  }>;
34
124
  withOidc: (input: OidcInput, signal?: AbortSignal) => Promise<{
35
125
  mfaRequired: false;
@@ -49,7 +139,6 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
49
139
  mfaToken: string;
50
140
  expiresIn: number;
51
141
  allowedMethods: string[];
52
- webauthn: Record<string, unknown> | null;
53
142
  }>;
54
143
  };
55
144
  mfa: {
@@ -72,6 +161,24 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
72
161
  regenerateRecoveryCodes: (signal?: AbortSignal) => Promise<{
73
162
  codes: string[];
74
163
  }>;
164
+ totp: {
165
+ setup: (signal?: AbortSignal) => Promise<{
166
+ secret: string;
167
+ otpauthUri: string;
168
+ expiresAt: string;
169
+ }>;
170
+ verify: (input: TotpVerifyBody, signal?: AbortSignal) => Promise<{
171
+ id: number;
172
+ mfaType: string;
173
+ recoveryCodes?: string[] | null;
174
+ }>;
175
+ disable: (id: DisableTotpPath["id"], signal?: AbortSignal) => Promise<void>;
176
+ };
177
+ };
178
+ password: {
179
+ resetRequest: (input: ResetRequestInput, signal?: AbortSignal) => Promise<void>;
180
+ reset: (input: ResetInput, signal?: AbortSignal) => Promise<void>;
181
+ change: (input: ChangePasswordInput, signal?: AbortSignal) => Promise<void>;
75
182
  };
76
183
  saml: {
77
184
  assert: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
@@ -195,4 +302,4 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
195
302
  };
196
303
  };
197
304
 
198
- export { type AuthClientInitOptions, type AuthOpenApiFetchClient, LoginInput, MfaCodeInput, MfaWebauthnInput, OidcInput, createAuthClient };
305
+ export { type AuthClientInitOptions, type AuthOpenApiFetchClient, type ChangePasswordInput, type LoginInput, type LoginResult, type LoginSuccess, type LoginUser, type MfaCodeInput, type MfaWebauthnInput, type OidcInput, type ResetInput, type ResetRequestInput, changeInputSchema, createAuthClient, loginInputSchema, loginResultSchema, loginSuccessSchema, mfaChallengeSchema, mfaCodeInputSchema, mfaWebauthnInputSchema, oidcInputSchema, resetInputSchema, resetRequestInputSchema };
@@ -1,12 +1,103 @@
1
- import { c as components, A as AssertSamlBody, I as InitiateSamlBody, C as CreatePatBody, E as ExchangePatBody, R as RevokePatPath, a as CreateDeviceAuthorizationBody, b as ApproveDeviceAuthorizationBody, G as GetDeviceAuthorizationTokenBody, S as SudoBody, d as GetPkceTokenBody, e as RevokeSessionPath, f as RevokeTokenBody } from '../types-oJnjpvPi.js';
2
- import { L as LoginInput, O as OidcInput, M as MfaCodeInput, a as MfaWebauthnInput } from '../schemas-CraXbXke.js';
3
- export { b as LoginResult, l as loginInputSchema, c as loginResultSchema, d as loginSuccessSchema, m as mfaChallengeSchema, e as mfaCodeInputSchema, f as mfaWebauthnInputSchema, o as oidcInputSchema } from '../schemas-CraXbXke.js';
4
- import { c as createOpenapiFetchClient } from '../createOpenapiFetchClient-DLA4-_yg.js';
5
- import { C as ClientInitOptions } from '../types-0yn6OefX.js';
6
- import '../types-jKnx7Tm_.js';
7
- import 'zod';
1
+ import { x as components, u as TotpVerifyBody, D as DisableTotpPath, b as AssertSamlBody, I as InitiateSamlBody, e as CreatePatBody, E as ExchangePatBody, o as RevokePatPath, C as CreateDeviceAuthorizationBody, A as ApproveDeviceAuthorizationBody, G as GetDeviceAuthorizationTokenBody, S as SudoBody, i as GetPkceTokenBody, q as RevokeSessionPath, r as RevokeTokenBody } from '../types-qCMu5X9I.js';
2
+ import * as zod from 'zod';
3
+ import { c as createOpenapiFetchClient } from '../createOpenapiFetchClient-BX7_szVZ.js';
4
+ import { C as ClientInitOptions } from '../types-DqxZDbM1.js';
5
+ import '../types-BbM5WDSR.js';
8
6
  import 'qs';
9
7
 
8
+ declare const resetRequestInputSchema: zod.ZodObject<{
9
+ email: zod.ZodEmail;
10
+ }, zod.core.$strip>;
11
+ declare const resetInputSchema: zod.ZodObject<{
12
+ token: zod.ZodString;
13
+ newPassword: zod.ZodString;
14
+ revokeSessions: zod.ZodDefault<zod.ZodBoolean>;
15
+ }, zod.core.$strip>;
16
+ declare const changeInputSchema: zod.ZodObject<{
17
+ currentPassword: zod.ZodString;
18
+ newPassword: zod.ZodString;
19
+ revokeOtherSessions: zod.ZodDefault<zod.ZodBoolean>;
20
+ }, zod.core.$strip>;
21
+ type ResetRequestInput = zod.infer<typeof resetRequestInputSchema>;
22
+ type ResetInput = zod.input<typeof resetInputSchema>;
23
+ type ChangePasswordInput = zod.input<typeof changeInputSchema>;
24
+
25
+ declare const mfaCodeInputSchema: zod.ZodObject<{
26
+ mfaToken: zod.ZodString;
27
+ type: zod.ZodEnum<{
28
+ totp: "totp";
29
+ recovery_code: "recovery_code";
30
+ }>;
31
+ code: zod.ZodString;
32
+ }, zod.core.$strip>;
33
+ declare const mfaWebauthnInputSchema: zod.ZodObject<{
34
+ mfaToken: zod.ZodString;
35
+ assertion: zod.ZodString;
36
+ }, zod.core.$strip>;
37
+ type MfaCodeInput = zod.infer<typeof mfaCodeInputSchema>;
38
+ type MfaWebauthnInput = zod.infer<typeof mfaWebauthnInputSchema>;
39
+
40
+ declare const loginInputSchema: zod.ZodObject<{
41
+ email: zod.ZodEmail;
42
+ password: zod.ZodString;
43
+ }, zod.core.$strip>;
44
+ declare const oidcInputSchema: zod.ZodObject<{
45
+ grantType: zod.ZodEnum<{
46
+ google: "google";
47
+ microsoft: "microsoft";
48
+ }>;
49
+ idToken: zod.ZodString;
50
+ }, zod.core.$strip>;
51
+ type LoginInput = zod.infer<typeof loginInputSchema>;
52
+ type OidcInput = zod.infer<typeof oidcInputSchema>;
53
+ declare const userSchema: zod.ZodObject<{
54
+ id: zod.ZodNumber;
55
+ email: zod.ZodString;
56
+ name: zod.ZodString;
57
+ }, zod.core.$strip>;
58
+ declare const loginSuccessSchema: zod.ZodObject<{
59
+ mfaRequired: zod.ZodDefault<zod.ZodLiteral<false>>;
60
+ accessToken: zod.ZodString;
61
+ refreshToken: zod.ZodString;
62
+ tokenType: zod.ZodString;
63
+ expiresIn: zod.ZodNumber;
64
+ sessionId: zod.ZodString;
65
+ user: zod.ZodObject<{
66
+ id: zod.ZodNumber;
67
+ email: zod.ZodString;
68
+ name: zod.ZodString;
69
+ }, zod.core.$strip>;
70
+ }, zod.core.$strip>;
71
+ declare const mfaChallengeSchema: zod.ZodObject<{
72
+ mfaRequired: zod.ZodLiteral<true>;
73
+ mfaType: zod.ZodString;
74
+ mfaToken: zod.ZodString;
75
+ expiresIn: zod.ZodNumber;
76
+ allowedMethods: zod.ZodArray<zod.ZodString>;
77
+ }, zod.core.$strip>;
78
+ declare const loginResultSchema: zod.ZodUnion<readonly [zod.ZodObject<{
79
+ mfaRequired: zod.ZodDefault<zod.ZodLiteral<false>>;
80
+ accessToken: zod.ZodString;
81
+ refreshToken: zod.ZodString;
82
+ tokenType: zod.ZodString;
83
+ expiresIn: zod.ZodNumber;
84
+ sessionId: zod.ZodString;
85
+ user: zod.ZodObject<{
86
+ id: zod.ZodNumber;
87
+ email: zod.ZodString;
88
+ name: zod.ZodString;
89
+ }, zod.core.$strip>;
90
+ }, zod.core.$strip>, zod.ZodObject<{
91
+ mfaRequired: zod.ZodLiteral<true>;
92
+ mfaType: zod.ZodString;
93
+ mfaToken: zod.ZodString;
94
+ expiresIn: zod.ZodNumber;
95
+ allowedMethods: zod.ZodArray<zod.ZodString>;
96
+ }, zod.core.$strip>]>;
97
+ type LoginUser = zod.infer<typeof userSchema>;
98
+ type LoginSuccess = zod.infer<typeof loginSuccessSchema>;
99
+ type LoginResult = zod.infer<typeof loginResultSchema>;
100
+
10
101
  type AuthClientInitOptions = Omit<ClientInitOptions, 'auth'>;
11
102
  type AuthOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
12
103
  declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions) => {
@@ -29,7 +120,6 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
29
120
  mfaToken: string;
30
121
  expiresIn: number;
31
122
  allowedMethods: string[];
32
- webauthn: Record<string, unknown> | null;
33
123
  }>;
34
124
  withOidc: (input: OidcInput, signal?: AbortSignal) => Promise<{
35
125
  mfaRequired: false;
@@ -49,7 +139,6 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
49
139
  mfaToken: string;
50
140
  expiresIn: number;
51
141
  allowedMethods: string[];
52
- webauthn: Record<string, unknown> | null;
53
142
  }>;
54
143
  };
55
144
  mfa: {
@@ -72,6 +161,24 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
72
161
  regenerateRecoveryCodes: (signal?: AbortSignal) => Promise<{
73
162
  codes: string[];
74
163
  }>;
164
+ totp: {
165
+ setup: (signal?: AbortSignal) => Promise<{
166
+ secret: string;
167
+ otpauthUri: string;
168
+ expiresAt: string;
169
+ }>;
170
+ verify: (input: TotpVerifyBody, signal?: AbortSignal) => Promise<{
171
+ id: number;
172
+ mfaType: string;
173
+ recoveryCodes?: string[] | null;
174
+ }>;
175
+ disable: (id: DisableTotpPath["id"], signal?: AbortSignal) => Promise<void>;
176
+ };
177
+ };
178
+ password: {
179
+ resetRequest: (input: ResetRequestInput, signal?: AbortSignal) => Promise<void>;
180
+ reset: (input: ResetInput, signal?: AbortSignal) => Promise<void>;
181
+ change: (input: ChangePasswordInput, signal?: AbortSignal) => Promise<void>;
75
182
  };
76
183
  saml: {
77
184
  assert: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
@@ -195,4 +302,4 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
195
302
  };
196
303
  };
197
304
 
198
- export { type AuthClientInitOptions, type AuthOpenApiFetchClient, LoginInput, MfaCodeInput, MfaWebauthnInput, OidcInput, createAuthClient };
305
+ export { type AuthClientInitOptions, type AuthOpenApiFetchClient, type ChangePasswordInput, type LoginInput, type LoginResult, type LoginSuccess, type LoginUser, type MfaCodeInput, type MfaWebauthnInput, type OidcInput, type ResetInput, type ResetRequestInput, changeInputSchema, createAuthClient, loginInputSchema, loginResultSchema, loginSuccessSchema, mfaChallengeSchema, mfaCodeInputSchema, mfaWebauthnInputSchema, oidcInputSchema, resetInputSchema, resetRequestInputSchema };
@@ -1,4 +1,4 @@
1
- export { createAuthClient, loginInputSchema, loginResultSchema, loginSuccessSchema, mfaChallengeSchema, mfaCodeInputSchema, mfaWebauthnInputSchema, oidcInputSchema } from '../chunk-4HJUQVXR.js';
2
- import '../chunk-RK2VGHJE.js';
1
+ export { changeInputSchema, createAuthClient, loginInputSchema, loginResultSchema, loginSuccessSchema, mfaChallengeSchema, mfaCodeInputSchema, mfaWebauthnInputSchema, oidcInputSchema, resetInputSchema, resetRequestInputSchema } from '../chunk-HFZCZ7PZ.js';
2
+ import '../chunk-3B3GOGAL.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,11 +1,7 @@
1
- import { p as paths } from '../types-59-LNg5i.cjs';
2
- export { b as ApproveDeviceAuthorizationBody, g as ApproveDeviceAuthorizationResult, A as AssertSamlBody, h as AssertSamlResult, a as CreateDeviceAuthorizationBody, i as CreateDeviceAuthorizationResult, C as CreatePatBody, j as CreatePatResult, E as ExchangePatBody, k as ExchangePatResult, G as GetDeviceAuthorizationTokenBody, l as GetDeviceAuthorizationTokenResult, d as GetPkceTokenBody, m as GetPkceTokenResult, I as InitiateSamlBody, n as InitiateSamlResult, o as IntrospectTokenResult, L as ListPatsResult, q as ListSessionsResult, r as RefreshTokenResult, R as RevokePatPath, e as RevokeSessionPath, f as RevokeTokenBody, S as SudoBody, s as SudoChallengeResult, t as SudoResult } from '../types-59-LNg5i.cjs';
3
- import { b as OpenapiBodyType, a as OpenapiReturnType } from '../types-jKnx7Tm_.cjs';
1
+ import { p as paths } from '../types-DNEuJ-tb.cjs';
2
+ export { A as ApproveDeviceAuthorizationBody, a as ApproveDeviceAuthorizationResult, b as AssertSamlBody, c as AssertSamlResult, C as CreateDeviceAuthorizationBody, d as CreateDeviceAuthorizationResult, e as CreatePatBody, f as CreatePatResult, D as DisableTotpPath, E as ExchangePatBody, g as ExchangePatResult, G as GetDeviceAuthorizationTokenBody, h as GetDeviceAuthorizationTokenResult, i as GetPkceTokenBody, j as GetPkceTokenResult, I as InitiateSamlBody, k as InitiateSamlResult, l as IntrospectTokenResult, L as ListPatsResult, m as ListSessionsResult, R as RefreshTokenResult, n as RegenerateRecoveryCodesResult, o as RevokePatPath, q as RevokeSessionPath, r as RevokeTokenBody, S as SudoBody, s as SudoChallengeResult, t as SudoResult, T as TotpSetupResult, u as TotpVerifyBody, v as TotpVerifyResult, V as VerifyMfaBody, w as VerifyMfaResult } from '../types-DNEuJ-tb.cjs';
3
+ import { O as OpenapiBodyType } from '../types-BbM5WDSR.cjs';
4
4
 
5
5
  type LoginBody = OpenapiBodyType<paths['/v1/auth/login']['post']>;
6
6
 
7
- type VerifyMfaBody = OpenapiBodyType<paths['/v1/auth/mfa']['post']>;
8
- type VerifyMfaResult = OpenapiReturnType<paths['/v1/auth/mfa']['post']>;
9
- type RegenerateRecoveryCodesResult = OpenapiReturnType<paths['/v1/auth/mfa/recovery-codes']['post']>;
10
-
11
- export type { LoginBody, RegenerateRecoveryCodesResult, VerifyMfaBody, VerifyMfaResult };
7
+ export type { LoginBody };
@@ -1,11 +1,7 @@
1
- import { p as paths } from '../types-oJnjpvPi.js';
2
- export { b as ApproveDeviceAuthorizationBody, g as ApproveDeviceAuthorizationResult, A as AssertSamlBody, h as AssertSamlResult, a as CreateDeviceAuthorizationBody, i as CreateDeviceAuthorizationResult, C as CreatePatBody, j as CreatePatResult, E as ExchangePatBody, k as ExchangePatResult, G as GetDeviceAuthorizationTokenBody, l as GetDeviceAuthorizationTokenResult, d as GetPkceTokenBody, m as GetPkceTokenResult, I as InitiateSamlBody, n as InitiateSamlResult, o as IntrospectTokenResult, L as ListPatsResult, q as ListSessionsResult, r as RefreshTokenResult, R as RevokePatPath, e as RevokeSessionPath, f as RevokeTokenBody, S as SudoBody, s as SudoChallengeResult, t as SudoResult } from '../types-oJnjpvPi.js';
3
- import { b as OpenapiBodyType, a as OpenapiReturnType } from '../types-jKnx7Tm_.js';
1
+ import { p as paths } from '../types-qCMu5X9I.js';
2
+ export { A as ApproveDeviceAuthorizationBody, a as ApproveDeviceAuthorizationResult, b as AssertSamlBody, c as AssertSamlResult, C as CreateDeviceAuthorizationBody, d as CreateDeviceAuthorizationResult, e as CreatePatBody, f as CreatePatResult, D as DisableTotpPath, E as ExchangePatBody, g as ExchangePatResult, G as GetDeviceAuthorizationTokenBody, h as GetDeviceAuthorizationTokenResult, i as GetPkceTokenBody, j as GetPkceTokenResult, I as InitiateSamlBody, k as InitiateSamlResult, l as IntrospectTokenResult, L as ListPatsResult, m as ListSessionsResult, R as RefreshTokenResult, n as RegenerateRecoveryCodesResult, o as RevokePatPath, q as RevokeSessionPath, r as RevokeTokenBody, S as SudoBody, s as SudoChallengeResult, t as SudoResult, T as TotpSetupResult, u as TotpVerifyBody, v as TotpVerifyResult, V as VerifyMfaBody, w as VerifyMfaResult } from '../types-qCMu5X9I.js';
3
+ import { O as OpenapiBodyType } from '../types-BbM5WDSR.js';
4
4
 
5
5
  type LoginBody = OpenapiBodyType<paths['/v1/auth/login']['post']>;
6
6
 
7
- type VerifyMfaBody = OpenapiBodyType<paths['/v1/auth/mfa']['post']>;
8
- type VerifyMfaResult = OpenapiReturnType<paths['/v1/auth/mfa']['post']>;
9
- type RegenerateRecoveryCodesResult = OpenapiReturnType<paths['/v1/auth/mfa/recovery-codes']['post']>;
10
-
11
- export type { LoginBody, RegenerateRecoveryCodesResult, VerifyMfaBody, VerifyMfaResult };
7
+ export type { LoginBody };
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkJIAMBOU7_cjs = require('../chunk-JIAMBOU7.cjs');
3
+ var chunkFVJC2GJY_cjs = require('../chunk-FVJC2GJY.cjs');
4
4
  require('../chunk-U5SE6W5M.cjs');
5
- require('../chunk-HNP33VR5.cjs');
6
- require('../chunk-IUN2ZSU3.cjs');
5
+ require('../chunk-43CGBOVT.cjs');
6
+ require('../chunk-DMNWPVVT.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "createChatClient", {
11
11
  enumerable: true,
12
- get: function () { return chunkJIAMBOU7_cjs.createChatClient; }
12
+ get: function () { return chunkFVJC2GJY_cjs.createChatClient; }
13
13
  });
14
14
  //# sourceMappingURL=index.cjs.map
15
15
  //# sourceMappingURL=index.cjs.map
@@ -1,8 +1,8 @@
1
- import { G as GetHistoryQuery, c as components, a as GetChatPath, C as ChatRequest, b as GetVotesQuery, V as VoteRequest, U as UsageResponse, A as AgentSettings, d as UpdateAgentSettingsRequest, e as UserAgentSettings, f as UpdateUserAgentSettingsRequest, T as ToolsListResponse } from '../types-GRfGXouy.cjs';
2
- import { C as ClientInitOptions } from '../types-0yn6OefX.cjs';
1
+ import { G as GetHistoryQuery, c as components, a as GetChatPath, C as ChatRequest, b as GetVotesQuery, V as Vote, d as VoteRequest, U as UsageResponse, A as AgentSettings, e as UpdateAgentSettingsRequest, f as UserAgentSettings, g as UpdateUserAgentSettingsRequest, T as ToolsListResponse } from '../types-DgU_wy4q.cjs';
2
+ import { C as ClientInitOptions } from '../types-DqxZDbM1.cjs';
3
3
  import { SuggestionsRequestBody, SuggestionsApiResponse } from './suggestions.cjs';
4
4
  import 'zod';
5
- import '../types-jKnx7Tm_.cjs';
5
+ import '../types-BbM5WDSR.cjs';
6
6
  import 'qs';
7
7
 
8
8
  type ChatClientOptions = ClientInitOptions & {
@@ -38,11 +38,7 @@ declare const createChatClient: ({ baseUrl, middlewares, storageApiUrl, auth, }:
38
38
  branchId?: number | null;
39
39
  }>;
40
40
  createChat: (request: ChatRequest) => Promise<Response>;
41
- getVotes: (chatId: GetVotesQuery["chatId"]) => Promise<{
42
- chatId: string;
43
- messageId: string;
44
- isUpvoted: boolean;
45
- }[]>;
41
+ getVotes: (chatId: GetVotesQuery["chatId"]) => Promise<Vote[]>;
46
42
  submitVote: (params: VoteRequest) => Promise<void>;
47
43
  getUsage: (signal?: AbortSignal) => Promise<UsageResponse>;
48
44
  getSuggestions: (request: SuggestionsRequestBody, signal?: AbortSignal) => Promise<SuggestionsApiResponse>;
@@ -1,8 +1,8 @@
1
- import { G as GetHistoryQuery, c as components, a as GetChatPath, C as ChatRequest, b as GetVotesQuery, V as VoteRequest, U as UsageResponse, A as AgentSettings, d as UpdateAgentSettingsRequest, e as UserAgentSettings, f as UpdateUserAgentSettingsRequest, T as ToolsListResponse } from '../types-BbeZapCu.js';
2
- import { C as ClientInitOptions } from '../types-0yn6OefX.js';
1
+ import { G as GetHistoryQuery, c as components, a as GetChatPath, C as ChatRequest, b as GetVotesQuery, V as Vote, d as VoteRequest, U as UsageResponse, A as AgentSettings, e as UpdateAgentSettingsRequest, f as UserAgentSettings, g as UpdateUserAgentSettingsRequest, T as ToolsListResponse } from '../types-DXFcF3_c.js';
2
+ import { C as ClientInitOptions } from '../types-DqxZDbM1.js';
3
3
  import { SuggestionsRequestBody, SuggestionsApiResponse } from './suggestions.js';
4
4
  import 'zod';
5
- import '../types-jKnx7Tm_.js';
5
+ import '../types-BbM5WDSR.js';
6
6
  import 'qs';
7
7
 
8
8
  type ChatClientOptions = ClientInitOptions & {
@@ -38,11 +38,7 @@ declare const createChatClient: ({ baseUrl, middlewares, storageApiUrl, auth, }:
38
38
  branchId?: number | null;
39
39
  }>;
40
40
  createChat: (request: ChatRequest) => Promise<Response>;
41
- getVotes: (chatId: GetVotesQuery["chatId"]) => Promise<{
42
- chatId: string;
43
- messageId: string;
44
- isUpvoted: boolean;
45
- }[]>;
41
+ getVotes: (chatId: GetVotesQuery["chatId"]) => Promise<Vote[]>;
46
42
  submitVote: (params: VoteRequest) => Promise<void>;
47
43
  getUsage: (signal?: AbortSignal) => Promise<UsageResponse>;
48
44
  getSuggestions: (request: SuggestionsRequestBody, signal?: AbortSignal) => Promise<SuggestionsApiResponse>;
@@ -1,6 +1,6 @@
1
- export { createChatClient } from '../chunk-M3UUJIMO.js';
1
+ export { createChatClient } from '../chunk-5Z6M32UE.js';
2
2
  import '../chunk-4RC5E3SL.js';
3
- import '../chunk-WJRHT346.js';
4
- import '../chunk-RK2VGHJE.js';
3
+ import '../chunk-L4R66Q6S.js';
4
+ import '../chunk-3B3GOGAL.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -3,8 +3,8 @@ import { z } from 'zod';
3
3
  declare const SUGGESTION_CATEGORIES: readonly ["error", "maintenance", "documentation"];
4
4
  declare const suggestionCategorySchema: z.ZodEnum<{
5
5
  error: "error";
6
- maintenance: "maintenance";
7
6
  documentation: "documentation";
7
+ maintenance: "maintenance";
8
8
  }>;
9
9
  type SuggestionCategory = z.infer<typeof suggestionCategorySchema>;
10
10
  declare const suggestionSchema: z.ZodObject<{
@@ -13,8 +13,8 @@ declare const suggestionSchema: z.ZodObject<{
13
13
  priority: z.ZodNumber;
14
14
  category: z.ZodEnum<{
15
15
  error: "error";
16
- maintenance: "maintenance";
17
16
  documentation: "documentation";
17
+ maintenance: "maintenance";
18
18
  }>;
19
19
  reasoning: z.ZodString;
20
20
  }, z.core.$strip>;
@@ -26,8 +26,8 @@ declare const suggestionsResponseSchema: z.ZodObject<{
26
26
  priority: z.ZodNumber;
27
27
  category: z.ZodEnum<{
28
28
  error: "error";
29
- maintenance: "maintenance";
30
29
  documentation: "documentation";
30
+ maintenance: "maintenance";
31
31
  }>;
32
32
  reasoning: z.ZodString;
33
33
  }, z.core.$strip>>;
@@ -39,8 +39,8 @@ declare const suggestionWithIdSchema: z.ZodObject<{
39
39
  priority: z.ZodNumber;
40
40
  category: z.ZodEnum<{
41
41
  error: "error";
42
- maintenance: "maintenance";
43
42
  documentation: "documentation";
43
+ maintenance: "maintenance";
44
44
  }>;
45
45
  reasoning: z.ZodString;
46
46
  id: z.ZodString;
@@ -53,8 +53,8 @@ declare const suggestionsApiResponseSchema: z.ZodObject<{
53
53
  priority: z.ZodNumber;
54
54
  category: z.ZodEnum<{
55
55
  error: "error";
56
- maintenance: "maintenance";
57
56
  documentation: "documentation";
57
+ maintenance: "maintenance";
58
58
  }>;
59
59
  reasoning: z.ZodString;
60
60
  id: z.ZodString;
@@ -128,13 +128,13 @@ declare const jobDetailContextDataSchema: z.ZodObject<{
128
128
  status: z.ZodEnum<{
129
129
  error: "error";
130
130
  success: "success";
131
- warning: "warning";
132
131
  created: "created";
133
132
  waiting: "waiting";
134
133
  processing: "processing";
135
134
  terminating: "terminating";
136
135
  terminated: "terminated";
137
136
  cancelled: "cancelled";
137
+ warning: "warning";
138
138
  }>;
139
139
  component: z.ZodString;
140
140
  configId: z.ZodOptional<z.ZodString>;
@@ -187,13 +187,13 @@ declare const configurationDetailContextDataSchema: z.ZodObject<{
187
187
  status: z.ZodEnum<{
188
188
  error: "error";
189
189
  success: "success";
190
- warning: "warning";
191
190
  created: "created";
192
191
  waiting: "waiting";
193
192
  processing: "processing";
194
193
  terminating: "terminating";
195
194
  terminated: "terminated";
196
195
  cancelled: "cancelled";
196
+ warning: "warning";
197
197
  }>;
198
198
  durationSeconds: z.ZodOptional<z.ZodNumber>;
199
199
  errorMessage: z.ZodOptional<z.ZodString>;
@@ -242,13 +242,13 @@ declare const jobDetailSuggestionsRequestSchema: z.ZodObject<{
242
242
  status: z.ZodEnum<{
243
243
  error: "error";
244
244
  success: "success";
245
- warning: "warning";
246
245
  created: "created";
247
246
  waiting: "waiting";
248
247
  processing: "processing";
249
248
  terminating: "terminating";
250
249
  terminated: "terminated";
251
250
  cancelled: "cancelled";
251
+ warning: "warning";
252
252
  }>;
253
253
  component: z.ZodString;
254
254
  configId: z.ZodOptional<z.ZodString>;
@@ -303,13 +303,13 @@ declare const configurationDetailSuggestionsRequestSchema: z.ZodObject<{
303
303
  status: z.ZodEnum<{
304
304
  error: "error";
305
305
  success: "success";
306
- warning: "warning";
307
306
  created: "created";
308
307
  waiting: "waiting";
309
308
  processing: "processing";
310
309
  terminating: "terminating";
311
310
  terminated: "terminated";
312
311
  cancelled: "cancelled";
312
+ warning: "warning";
313
313
  }>;
314
314
  durationSeconds: z.ZodOptional<z.ZodNumber>;
315
315
  errorMessage: z.ZodOptional<z.ZodString>;
@@ -357,13 +357,13 @@ declare const suggestionsRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
357
357
  status: z.ZodEnum<{
358
358
  error: "error";
359
359
  success: "success";
360
- warning: "warning";
361
360
  created: "created";
362
361
  waiting: "waiting";
363
362
  processing: "processing";
364
363
  terminating: "terminating";
365
364
  terminated: "terminated";
366
365
  cancelled: "cancelled";
366
+ warning: "warning";
367
367
  }>;
368
368
  component: z.ZodString;
369
369
  configId: z.ZodOptional<z.ZodString>;
@@ -417,13 +417,13 @@ declare const suggestionsRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
417
417
  status: z.ZodEnum<{
418
418
  error: "error";
419
419
  success: "success";
420
- warning: "warning";
421
420
  created: "created";
422
421
  waiting: "waiting";
423
422
  processing: "processing";
424
423
  terminating: "terminating";
425
424
  terminated: "terminated";
426
425
  cancelled: "cancelled";
426
+ warning: "warning";
427
427
  }>;
428
428
  durationSeconds: z.ZodOptional<z.ZodNumber>;
429
429
  errorMessage: z.ZodOptional<z.ZodString>;