@keboola/api-client 21.0.0 → 24.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. package/API-SURFACE.md +72 -1
  2. package/README.md +43 -2
  3. package/dist/{ManagementClientAuthError-CJu_hpGi.d.cts → ManagementClientAuthError-BuqHAOBO.d.cts} +1 -1
  4. package/dist/{ManagementClientAuthError-B3PZRWBU.d.ts → ManagementClientAuthError-C7q1Jd9I.d.ts} +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 +19 -4
  12. package/dist/assets/index.cjs.map +1 -1
  13. package/dist/assets/index.d.cts +18 -3
  14. package/dist/assets/index.d.ts +18 -3
  15. package/dist/assets/index.js +18 -3
  16. package/dist/assets/index.js.map +1 -1
  17. package/dist/assets/schema.cjs +16 -0
  18. package/dist/assets/schema.cjs.map +1 -0
  19. package/dist/assets/schema.d.cts +28 -0
  20. package/dist/assets/schema.d.ts +28 -0
  21. package/dist/assets/schema.js +3 -0
  22. package/dist/assets/schema.js.map +1 -0
  23. package/dist/auth/index.cjs +22 -10
  24. package/dist/auth/index.d.cts +40 -5
  25. package/dist/auth/index.d.ts +40 -5
  26. package/dist/auth/index.js +2 -2
  27. package/dist/auth/types.d.cts +4 -8
  28. package/dist/auth/types.d.ts +4 -8
  29. package/dist/chat/index.cjs +4 -4
  30. package/dist/chat/index.d.cts +4 -8
  31. package/dist/chat/index.d.ts +4 -8
  32. package/dist/chat/index.js +3 -3
  33. package/dist/chat/types.d.cts +2 -2
  34. package/dist/chat/types.d.ts +2 -2
  35. package/dist/chunk-22E6IGXR.js +6 -0
  36. package/dist/chunk-22E6IGXR.js.map +1 -0
  37. package/dist/chunk-2CFM7K4U.cjs +55 -0
  38. package/dist/chunk-2CFM7K4U.cjs.map +1 -0
  39. package/dist/{chunk-CWD66KRM.js → chunk-34GM6NXB.js} +4 -4
  40. package/dist/{chunk-CWD66KRM.js.map → chunk-34GM6NXB.js.map} +1 -1
  41. package/dist/{chunk-CBVGOANJ.cjs → chunk-35MODDCL.cjs} +6 -7
  42. package/dist/chunk-35MODDCL.cjs.map +1 -0
  43. package/dist/{chunk-IWNJ47CV.js → chunk-3BFPNM2J.js} +14 -5
  44. package/dist/chunk-3BFPNM2J.js.map +1 -0
  45. package/dist/{chunk-V6QQZLEU.js → chunk-3MTY6I2W.js} +4 -4
  46. package/dist/{chunk-V6QQZLEU.js.map → chunk-3MTY6I2W.js.map} +1 -1
  47. package/dist/{chunk-ZHNOZHJG.js → chunk-3PVERYSF.js} +3 -3
  48. package/dist/{chunk-ZHNOZHJG.js.map → chunk-3PVERYSF.js.map} +1 -1
  49. package/dist/chunk-3YWQQ3OG.cjs +79 -0
  50. package/dist/chunk-3YWQQ3OG.cjs.map +1 -0
  51. package/dist/chunk-4VVF2PIX.js +110 -0
  52. package/dist/chunk-4VVF2PIX.js.map +1 -0
  53. package/dist/{chunk-ZCODWFCC.js → chunk-5XWVWFTC.js} +4 -4
  54. package/dist/{chunk-ZCODWFCC.js.map → chunk-5XWVWFTC.js.map} +1 -1
  55. package/dist/chunk-6YZQIMML.cjs +163 -0
  56. package/dist/chunk-6YZQIMML.cjs.map +1 -0
  57. package/dist/{chunk-P6OWDUN7.js → chunk-77LILJYX.js} +4 -4
  58. package/dist/{chunk-P6OWDUN7.js.map → chunk-77LILJYX.js.map} +1 -1
  59. package/dist/{chunk-X6BQTEIT.cjs → chunk-7R22VKV7.cjs} +7 -7
  60. package/dist/{chunk-X6BQTEIT.cjs.map → chunk-7R22VKV7.cjs.map} +1 -1
  61. package/dist/chunk-7RO6PKZ4.cjs +16 -0
  62. package/dist/{chunk-UQWVZTEA.cjs.map → chunk-7RO6PKZ4.cjs.map} +1 -1
  63. package/dist/{chunk-OZMUKLXN.cjs → chunk-7YXL4FKN.cjs} +6 -6
  64. package/dist/{chunk-OZMUKLXN.cjs.map → chunk-7YXL4FKN.cjs.map} +1 -1
  65. package/dist/{chunk-R2FAPJMZ.js → chunk-7Z4MU7ZB.js} +498 -132
  66. package/dist/chunk-7Z4MU7ZB.js.map +1 -0
  67. package/dist/{chunk-FDISA5KO.cjs → chunk-AFJGNBVM.cjs} +16 -7
  68. package/dist/chunk-AFJGNBVM.cjs.map +1 -0
  69. package/dist/{chunk-4WX5W7YU.js → chunk-AXEANGGK.js} +4 -4
  70. package/dist/{chunk-4WX5W7YU.js.map → chunk-AXEANGGK.js.map} +1 -1
  71. package/dist/chunk-BCZPCMGL.cjs +49 -0
  72. package/dist/chunk-BCZPCMGL.cjs.map +1 -0
  73. package/dist/{chunk-NRJTA5P3.cjs → chunk-BR6WZE3O.cjs} +4 -4
  74. package/dist/{chunk-NRJTA5P3.cjs.map → chunk-BR6WZE3O.cjs.map} +1 -1
  75. package/dist/{chunk-EXNR4FGV.js → chunk-BZA3FGO6.js} +3 -3
  76. package/dist/{chunk-EXNR4FGV.js.map → chunk-BZA3FGO6.js.map} +1 -1
  77. package/dist/{chunk-LFLFNQMQ.js → chunk-CV2JGHBN.js} +4 -4
  78. package/dist/{chunk-LFLFNQMQ.js.map → chunk-CV2JGHBN.js.map} +1 -1
  79. package/dist/{chunk-WWICQYOY.cjs → chunk-CWCUQACX.cjs} +4 -4
  80. package/dist/{chunk-WWICQYOY.cjs.map → chunk-CWCUQACX.cjs.map} +1 -1
  81. package/dist/{chunk-LGWRJM5X.cjs → chunk-CWUQ6ZAO.cjs} +6 -6
  82. package/dist/{chunk-LGWRJM5X.cjs.map → chunk-CWUQ6ZAO.cjs.map} +1 -1
  83. package/dist/{chunk-Z76DIRLA.cjs → chunk-D3ZZQIY2.cjs} +9 -2
  84. package/dist/{chunk-4IEIVLYT.js.map → chunk-D3ZZQIY2.cjs.map} +1 -1
  85. package/dist/{chunk-4IEIVLYT.js → chunk-D6O5C67S.js} +9 -2
  86. package/dist/chunk-D6O5C67S.js.map +1 -0
  87. package/dist/{chunk-XPQBE77T.cjs → chunk-DRNOCC6W.cjs} +61 -8
  88. package/dist/chunk-DRNOCC6W.cjs.map +1 -0
  89. package/dist/{chunk-6JXSO3AR.js → chunk-EDX5D6UY.js} +3 -3
  90. package/dist/{chunk-6JXSO3AR.js.map → chunk-EDX5D6UY.js.map} +1 -1
  91. package/dist/chunk-FPB6OGTV.js +26 -0
  92. package/dist/chunk-FPB6OGTV.js.map +1 -0
  93. package/dist/{chunk-YVC4NGW2.js → chunk-G66EP527.js} +4 -4
  94. package/dist/{chunk-YVC4NGW2.js.map → chunk-G66EP527.js.map} +1 -1
  95. package/dist/chunk-HMCZUHR7.js +53 -0
  96. package/dist/chunk-HMCZUHR7.js.map +1 -0
  97. package/dist/{chunk-YHMW7CZF.cjs → chunk-HY7J3OD3.cjs} +508 -142
  98. package/dist/chunk-HY7J3OD3.cjs.map +1 -0
  99. package/dist/{chunk-SB7AVZQU.cjs → chunk-IDWGBCSB.cjs} +6 -6
  100. package/dist/{chunk-SB7AVZQU.cjs.map → chunk-IDWGBCSB.cjs.map} +1 -1
  101. package/dist/{chunk-3GTRQFWA.cjs → chunk-J3NLKXQ5.cjs} +9 -9
  102. package/dist/{chunk-3GTRQFWA.cjs.map → chunk-J3NLKXQ5.cjs.map} +1 -1
  103. package/dist/{chunk-6BYHD5DG.js → chunk-KH6BHTXN.js} +3 -4
  104. package/dist/chunk-KH6BHTXN.js.map +1 -0
  105. package/dist/{chunk-4HBUVR57.cjs → chunk-KUYVBCUM.cjs} +82 -6
  106. package/dist/chunk-KUYVBCUM.cjs.map +1 -0
  107. package/dist/{chunk-AFIQYB2O.cjs → chunk-L262THNK.cjs} +9 -9
  108. package/dist/{chunk-AFIQYB2O.cjs.map → chunk-L262THNK.cjs.map} +1 -1
  109. package/dist/chunk-LD3JERYP.js +77 -0
  110. package/dist/chunk-LD3JERYP.js.map +1 -0
  111. package/dist/chunk-LIXSIM3H.cjs +113 -0
  112. package/dist/chunk-LIXSIM3H.cjs.map +1 -0
  113. package/dist/{chunk-IUN2ZSU3.cjs → chunk-MMOAH3EH.cjs} +72 -6
  114. package/dist/chunk-MMOAH3EH.cjs.map +1 -0
  115. package/dist/{chunk-DAAHTUXU.cjs → chunk-NVQ6LGDO.cjs} +6 -6
  116. package/dist/{chunk-DAAHTUXU.cjs.map → chunk-NVQ6LGDO.cjs.map} +1 -1
  117. package/dist/{chunk-U7CANHDD.js → chunk-NVRVPWNY.js} +16 -5
  118. package/dist/chunk-NVRVPWNY.js.map +1 -0
  119. package/dist/{chunk-KF5EI2IB.js → chunk-OUSPQ55W.js} +57 -7
  120. package/dist/chunk-OUSPQ55W.js.map +1 -0
  121. package/dist/{chunk-C5R6ITYD.cjs → chunk-PPQF7LTS.cjs} +24 -7
  122. package/dist/chunk-PPQF7LTS.cjs.map +1 -0
  123. package/dist/chunk-PSR3N4NC.js +136 -0
  124. package/dist/chunk-PSR3N4NC.js.map +1 -0
  125. package/dist/chunk-QHD4LPAQ.cjs +8 -0
  126. package/dist/chunk-QHD4LPAQ.cjs.map +1 -0
  127. package/dist/{chunk-S5XEXK36.cjs → chunk-QZKDBVAU.cjs} +9 -9
  128. package/dist/{chunk-S5XEXK36.cjs.map → chunk-QZKDBVAU.cjs.map} +1 -1
  129. package/dist/{chunk-5FDQYOJD.js → chunk-S4JK7DKM.js} +22 -5
  130. package/dist/chunk-S4JK7DKM.js.map +1 -0
  131. package/dist/{chunk-DAS5UQN6.cjs → chunk-T242YFMT.cjs} +19 -8
  132. package/dist/chunk-T242YFMT.cjs.map +1 -0
  133. package/dist/{chunk-M2LJZXVR.js → chunk-UP5SEEYZ.js} +73 -7
  134. package/dist/chunk-UP5SEEYZ.js.map +1 -0
  135. package/dist/{chunk-RTQEMQIC.cjs → chunk-UWQUHP3T.cjs} +6 -6
  136. package/dist/{chunk-RTQEMQIC.cjs.map → chunk-UWQUHP3T.cjs.map} +1 -1
  137. package/dist/{chunk-NV3P6XBU.js → chunk-WFXW4XU3.js} +4 -4
  138. package/dist/{chunk-NV3P6XBU.js.map → chunk-WFXW4XU3.js.map} +1 -1
  139. package/dist/{chunk-RK2VGHJE.js → chunk-XHDYLUM4.js} +71 -7
  140. package/dist/chunk-XHDYLUM4.js.map +1 -0
  141. package/dist/{chunk-WXGYFLFX.js → chunk-XIIER7QQ.js} +4 -4
  142. package/dist/{chunk-WXGYFLFX.js.map → chunk-XIIER7QQ.js.map} +1 -1
  143. package/dist/{chunk-DJ5LXAG3.js → chunk-XKIENBIE.js} +4 -4
  144. package/dist/{chunk-DJ5LXAG3.js.map → chunk-XKIENBIE.js.map} +1 -1
  145. package/dist/{chunk-HJQYMALV.cjs → chunk-Y44G2VDC.cjs} +6 -6
  146. package/dist/{chunk-HJQYMALV.cjs.map → chunk-Y44G2VDC.cjs.map} +1 -1
  147. package/dist/constants/index.cjs +20 -6
  148. package/dist/constants/index.cjs.map +1 -1
  149. package/dist/constants/index.d.cts +1 -0
  150. package/dist/constants/index.d.ts +1 -0
  151. package/dist/constants/index.js +16 -2
  152. package/dist/constants/index.js.map +1 -1
  153. package/dist/{createGenericFetchClient-DJ-oaxPj.d.cts → createGenericFetchClient-Df_wFqT8.d.cts} +1 -1
  154. package/dist/{createGenericFetchClient-B2Gp1a8f.d.ts → createGenericFetchClient-Sl1DH71J.d.ts} +1 -1
  155. package/dist/{createOpenapiFetchClient-BMaILWyq.d.ts → createOpenapiFetchClient-BSy6dVM5.d.ts} +2 -2
  156. package/dist/{createOpenapiFetchClient-DQL2ZYNb.d.cts → createOpenapiFetchClient-GZxZgYHd.d.cts} +2 -2
  157. package/dist/dataScience/index.cjs +5 -5
  158. package/dist/dataScience/index.d.cts +4 -9
  159. package/dist/dataScience/index.d.ts +4 -9
  160. package/dist/dataScience/index.js +3 -3
  161. package/dist/dataScience/types.d.cts +2 -2
  162. package/dist/dataScience/types.d.ts +2 -2
  163. package/dist/domain/permissions/index.cjs +106 -122
  164. package/dist/domain/permissions/index.cjs.map +1 -1
  165. package/dist/domain/permissions/index.d.cts +42 -5
  166. package/dist/domain/permissions/index.d.ts +42 -5
  167. package/dist/domain/permissions/index.js +2 -106
  168. package/dist/domain/permissions/index.js.map +1 -1
  169. package/dist/editor/index.cjs +4 -4
  170. package/dist/editor/index.d.cts +3 -3
  171. package/dist/editor/index.d.ts +3 -3
  172. package/dist/editor/index.js +3 -3
  173. package/dist/editor/types.d.cts +2 -2
  174. package/dist/editor/types.d.ts +2 -2
  175. package/dist/encryption/index.cjs +3 -3
  176. package/dist/encryption/index.d.cts +3 -3
  177. package/dist/encryption/index.d.ts +3 -3
  178. package/dist/encryption/index.js +2 -2
  179. package/dist/encryption/types.d.cts +2 -2
  180. package/dist/encryption/types.d.ts +2 -2
  181. package/dist/import/index.cjs +4 -4
  182. package/dist/import/index.d.cts +37 -3
  183. package/dist/import/index.d.ts +37 -3
  184. package/dist/import/index.js +3 -3
  185. package/dist/index.cjs +136 -103
  186. package/dist/index.cjs.map +1 -1
  187. package/dist/index.d.cts +493 -81
  188. package/dist/index.d.ts +493 -81
  189. package/dist/index.js +63 -33
  190. package/dist/index.js.map +1 -1
  191. package/dist/management/index.cjs +5 -5
  192. package/dist/management/index.d.cts +597 -99
  193. package/dist/management/index.d.ts +597 -99
  194. package/dist/management/index.js +3 -3
  195. package/dist/management/types.d.cts +3 -2
  196. package/dist/management/types.d.ts +3 -2
  197. package/dist/metastore/index.cjs +4 -4
  198. package/dist/metastore/index.d.cts +4 -4
  199. package/dist/metastore/index.d.ts +4 -4
  200. package/dist/metastore/index.js +3 -3
  201. package/dist/metastore/types.d.cts +2 -2
  202. package/dist/metastore/types.d.ts +2 -2
  203. package/dist/notifications/index.cjs +5 -4
  204. package/dist/notifications/index.d.cts +30 -17
  205. package/dist/notifications/index.d.ts +30 -17
  206. package/dist/notifications/index.js +4 -3
  207. package/dist/notifications/types.d.cts +2 -2
  208. package/dist/notifications/types.d.ts +2 -2
  209. package/dist/oauth/index.cjs +4 -4
  210. package/dist/oauth/index.d.cts +46 -6
  211. package/dist/oauth/index.d.ts +46 -6
  212. package/dist/oauth/index.js +3 -3
  213. package/dist/oauth/types.d.cts +718 -27
  214. package/dist/oauth/types.d.ts +718 -27
  215. package/dist/{project-DEFMKeAm.d.cts → project-CSJzVylj.d.cts} +1 -1
  216. package/dist/{project-BpTHlKfO.d.ts → project-DmC8vKnh.d.ts} +1 -1
  217. package/dist/queryService/index.cjs +4 -4
  218. package/dist/queryService/index.d.cts +3 -3
  219. package/dist/queryService/index.d.ts +3 -3
  220. package/dist/queryService/index.js +3 -3
  221. package/dist/queryService/types.d.cts +2 -2
  222. package/dist/queryService/types.d.ts +2 -2
  223. package/dist/queue/index.cjs +5 -4
  224. package/dist/queue/index.d.cts +207 -3
  225. package/dist/queue/index.d.ts +207 -3
  226. package/dist/queue/index.js +4 -3
  227. package/dist/queue/types.d.cts +2 -2
  228. package/dist/queue/types.d.ts +2 -2
  229. package/dist/{registry-v_1krdcs.d.cts → registry-CcKlB-yY.d.ts} +15 -2
  230. package/dist/{registry-v_1krdcs.d.ts → registry-Cg0Yng1z.d.cts} +15 -2
  231. package/dist/scheduler/index.cjs +5 -4
  232. package/dist/scheduler/index.d.cts +3 -2
  233. package/dist/scheduler/index.d.ts +3 -2
  234. package/dist/scheduler/index.js +4 -3
  235. package/dist/scheduler/types.d.cts +1 -1
  236. package/dist/scheduler/types.d.ts +1 -1
  237. package/dist/sdk/configurations/index.cjs +4 -2
  238. package/dist/sdk/configurations/index.d.cts +12 -11
  239. package/dist/sdk/configurations/index.d.ts +12 -11
  240. package/dist/sdk/configurations/index.js +3 -1
  241. package/dist/sdk/semanticLayer/index.cjs +43 -3
  242. package/dist/sdk/semanticLayer/index.d.cts +121 -6
  243. package/dist/sdk/semanticLayer/index.d.ts +121 -6
  244. package/dist/sdk/semanticLayer/index.js +1 -1
  245. package/dist/sdk/semanticLayer/types.d.cts +4 -4
  246. package/dist/sdk/semanticLayer/types.d.ts +4 -4
  247. package/dist/sdk/storage/index.cjs +12 -11
  248. package/dist/sdk/storage/index.d.cts +7 -7
  249. package/dist/sdk/storage/index.d.ts +7 -7
  250. package/dist/sdk/storage/index.js +2 -1
  251. package/dist/sdk/tag/index.d.cts +4 -4
  252. package/dist/sdk/tag/index.d.ts +4 -4
  253. package/dist/sdk/tag/types.d.cts +4 -4
  254. package/dist/sdk/tag/types.d.ts +4 -4
  255. package/dist/sdk/vault/index.d.cts +4 -4
  256. package/dist/sdk/vault/index.d.ts +4 -4
  257. package/dist/status/index.cjs +2 -2
  258. package/dist/status/index.d.cts +1 -1
  259. package/dist/status/index.d.ts +1 -1
  260. package/dist/status/index.js +1 -1
  261. package/dist/storage/index.cjs +12 -12
  262. package/dist/storage/index.d.cts +7 -7
  263. package/dist/storage/index.d.ts +7 -7
  264. package/dist/storage/index.js +5 -5
  265. package/dist/storage/types.d.cts +4 -4
  266. package/dist/storage/types.d.ts +4 -4
  267. package/dist/{storageClient-BONJnuhr.d.ts → storageClient-B4OooGB9.d.ts} +4 -4
  268. package/dist/{storageClient-BxgbulPW.d.cts → storageClient-CdFqTbn3.d.cts} +4 -4
  269. package/dist/{storageSdk-CUnp67LN.d.ts → storageSdk-DA7U-1Hy.d.ts} +1 -1
  270. package/dist/{storageSdk-uCojVKkr.d.cts → storageSdk-U45zMbUb.d.cts} +1 -1
  271. package/dist/stream/index.cjs +4 -4
  272. package/dist/stream/index.d.cts +3 -3
  273. package/dist/stream/index.d.ts +3 -3
  274. package/dist/stream/index.js +3 -3
  275. package/dist/stream/types.d.cts +2 -2
  276. package/dist/stream/types.d.ts +2 -2
  277. package/dist/syncActions/index.cjs +4 -4
  278. package/dist/syncActions/index.d.cts +3 -3
  279. package/dist/syncActions/index.d.ts +3 -3
  280. package/dist/syncActions/index.js +3 -3
  281. package/dist/syncActions/types.d.cts +1 -10
  282. package/dist/syncActions/types.d.ts +1 -10
  283. package/dist/telemetry/index.cjs +4 -4
  284. package/dist/telemetry/index.d.cts +2 -2
  285. package/dist/telemetry/index.d.ts +2 -2
  286. package/dist/telemetry/index.js +3 -3
  287. package/dist/{types-CWebeQXy.d.cts → types-B-vmDlWB.d.cts} +1 -1
  288. package/dist/{types-Do0nBZbY.d.ts → types-B30y9Lhc.d.ts} +1 -1
  289. package/dist/{types-GRfGXouy.d.cts → types-BEnE7LHB.d.cts} +2 -2
  290. package/dist/{types-BxjcUj-y.d.cts → types-BX1xr4CX.d.cts} +27 -4
  291. package/dist/types-BfuVN8Pk.d.cts +468 -0
  292. package/dist/{types-BogOtZre.d.ts → types-BhlJw2f2.d.ts} +500 -44
  293. package/dist/{types-Dv3vN7M9.d.ts → types-BieLFMW1.d.cts} +1 -1
  294. package/dist/{types-BM3xJvzM.d.ts → types-Brc6lq7i.d.ts} +1 -1
  295. package/dist/{types-BjcRP8q1.d.cts → types-CM1zHzgm.d.ts} +585 -6
  296. package/dist/{types-VK3k4Z6R.d.cts → types-CSZoV4lM.d.cts} +1 -1
  297. package/dist/{types-CbEJaobw.d.ts → types-Cgh3jqrV.d.cts} +585 -6
  298. package/dist/{types-DFWnAftN.d.cts → types-CiJ5ULtS.d.ts} +1 -1
  299. package/dist/{types-D3Kkh6yW.d.ts → types-CrLjE5xf.d.ts} +3 -545
  300. package/dist/{types-D9cNOf-3.d.cts → types-D-MuJHwl.d.cts} +10 -1
  301. package/dist/{types-CFd7q2ed.d.ts → types-DHXZZKb3.d.ts} +1 -1
  302. package/dist/{types-DqxZDbM1.d.ts → types-DNg4M5JV.d.cts} +2 -0
  303. package/dist/{types-DqxZDbM1.d.cts → types-DNg4M5JV.d.ts} +2 -0
  304. package/dist/{types-B9SJ0cIc.d.cts → types-DVhcwrwN.d.cts} +500 -44
  305. package/dist/{types-CvHPHNH0.d.cts → types-DYnHIm7m.d.cts} +3 -545
  306. package/dist/{types-BbeZapCu.d.ts → types-DbAO-Tgk.d.ts} +2 -2
  307. package/dist/{types-yKV1EX6f.d.ts → types-DeS-oVdn.d.ts} +10 -1
  308. package/dist/{types-DJLceKR0.d.ts → types-DeoA45gz.d.cts} +679 -89
  309. package/dist/{types-CS8MYc2k.d.ts → types-DgSyBwP3.d.cts} +21 -17
  310. package/dist/{types-BVldT2vs.d.cts → types-DpUcInCX.d.ts} +21 -17
  311. package/dist/{types-DacFMc6L.d.ts → types-DwMezEHT.d.ts} +27 -4
  312. package/dist/{types-DJLceKR0.d.cts → types-Hj1CaKtV.d.ts} +679 -89
  313. package/dist/{types-C6gjiVpQ.d.cts → types-WGZN6XLN.d.cts} +1 -1
  314. package/dist/types-YzkNUuYo.d.ts +468 -0
  315. package/dist/{types-jKnx7Tm_.d.ts → types-gcShAmmi.d.cts} +27 -1
  316. package/dist/{types-jKnx7Tm_.d.cts → types-gcShAmmi.d.ts} +27 -1
  317. package/dist/{utils-C7eSJKtG.d.ts → utils-B_SOM1XR.d.ts} +997 -168
  318. package/dist/{utils-DDERw8dM.d.cts → utils-DK7uJcmR.d.cts} +997 -168
  319. package/dist/vault/index.cjs +4 -4
  320. package/dist/vault/index.d.cts +2 -2
  321. package/dist/vault/index.d.ts +2 -2
  322. package/dist/vault/index.js +3 -3
  323. package/dist/vault/types.d.cts +4 -10
  324. package/dist/vault/types.d.ts +4 -10
  325. package/package.json +10 -10
  326. package/surface/ai.md +2 -2
  327. package/surface/auth.md +13 -1
  328. package/surface/dataScience.md +5 -5
  329. package/surface/import.md +2 -1
  330. package/surface/kaiAgent.md +3 -3
  331. package/surface/management.md +86 -29
  332. package/surface/notifications.md +6 -4
  333. package/surface/oauth.md +4 -4
  334. package/surface/queue.md +6 -1
  335. package/surface/scheduler.md +1 -0
  336. package/surface/sdk.md +2 -0
  337. package/surface/storage.md +1 -1
  338. package/dist/assets/types.cjs +0 -4
  339. package/dist/assets/types.cjs.map +0 -1
  340. package/dist/assets/types.d.cts +0 -8
  341. package/dist/assets/types.d.ts +0 -8
  342. package/dist/assets/types.js +0 -3
  343. package/dist/assets/types.js.map +0 -1
  344. package/dist/chunk-4HBUVR57.cjs.map +0 -1
  345. package/dist/chunk-5FDQYOJD.js.map +0 -1
  346. package/dist/chunk-6BYHD5DG.js.map +0 -1
  347. package/dist/chunk-C5R6ITYD.cjs.map +0 -1
  348. package/dist/chunk-CBVGOANJ.cjs.map +0 -1
  349. package/dist/chunk-DAS5UQN6.cjs.map +0 -1
  350. package/dist/chunk-FDISA5KO.cjs.map +0 -1
  351. package/dist/chunk-HHULC5GT.cjs +0 -44
  352. package/dist/chunk-HHULC5GT.cjs.map +0 -1
  353. package/dist/chunk-HUNYAVJJ.cjs +0 -78
  354. package/dist/chunk-HUNYAVJJ.cjs.map +0 -1
  355. package/dist/chunk-IUN2ZSU3.cjs.map +0 -1
  356. package/dist/chunk-IWNJ47CV.js.map +0 -1
  357. package/dist/chunk-KF5EI2IB.js.map +0 -1
  358. package/dist/chunk-M2LJZXVR.js.map +0 -1
  359. package/dist/chunk-MUC6XWII.js +0 -42
  360. package/dist/chunk-MUC6XWII.js.map +0 -1
  361. package/dist/chunk-NZN6OX4H.cjs +0 -38
  362. package/dist/chunk-NZN6OX4H.cjs.map +0 -1
  363. package/dist/chunk-QNDU44PQ.js +0 -36
  364. package/dist/chunk-QNDU44PQ.js.map +0 -1
  365. package/dist/chunk-R2FAPJMZ.js.map +0 -1
  366. package/dist/chunk-RK2VGHJE.js.map +0 -1
  367. package/dist/chunk-U7CANHDD.js.map +0 -1
  368. package/dist/chunk-UQWVZTEA.cjs +0 -16
  369. package/dist/chunk-VTC3FL4B.js +0 -76
  370. package/dist/chunk-VTC3FL4B.js.map +0 -1
  371. package/dist/chunk-XPQBE77T.cjs.map +0 -1
  372. package/dist/chunk-YHMW7CZF.cjs.map +0 -1
  373. package/dist/chunk-Z76DIRLA.cjs.map +0 -1
  374. package/dist/types-Dg1tEsVR.d.cts +0 -17
  375. package/dist/types-Dg1tEsVR.d.ts +0 -17
@@ -1,4 +1,4 @@
1
- import { b as OpenapiBodyType, a as OpenapiReturnType, d as OpenapiPathType } from './types-jKnx7Tm_.js';
1
+ import { O as OpenapiBodyType, b as OpenapiReturnType, d as OpenapiPathType } from './types-gcShAmmi.cjs';
2
2
 
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -106,6 +106,66 @@ type paths = {
106
106
  patch?: never;
107
107
  trace?: never;
108
108
  };
109
+ '/v1/auth/password/change': {
110
+ parameters: {
111
+ query?: never;
112
+ header?: never;
113
+ path?: never;
114
+ cookie?: never;
115
+ };
116
+ get?: never;
117
+ put?: never;
118
+ /**
119
+ * Change the current admin's password
120
+ * @description Verifies the current password and applies the new one. Optionally (revokeOtherSessions=true) revokes every other session of the admin and the tokens derived from them; the calling session always stays valid.
121
+ */
122
+ post: operations['post_auth_password_change'];
123
+ delete?: never;
124
+ options?: never;
125
+ head?: never;
126
+ patch?: never;
127
+ trace?: never;
128
+ };
129
+ '/v1/auth/password/reset': {
130
+ parameters: {
131
+ query?: never;
132
+ header?: never;
133
+ path?: never;
134
+ cookie?: never;
135
+ };
136
+ get?: never;
137
+ put?: never;
138
+ /**
139
+ * Reset a password with a reset token
140
+ * @description Validates the single-use reset token, applies the new password, and (by default) revokes every session of the admin and the tokens derived from them; pass revokeSessions=false to keep sessions alive. User-created Personal Access Tokens are never affected.
141
+ */
142
+ post: operations['post_auth_password_reset'];
143
+ delete?: never;
144
+ options?: never;
145
+ head?: never;
146
+ patch?: never;
147
+ trace?: never;
148
+ };
149
+ '/v1/auth/password/reset-request': {
150
+ parameters: {
151
+ query?: never;
152
+ header?: never;
153
+ path?: never;
154
+ cookie?: never;
155
+ };
156
+ get?: never;
157
+ put?: never;
158
+ /**
159
+ * Request a password reset token
160
+ * @description Sends a single-use, short-lived password-reset token to the given email if it belongs to a password-eligible account. The response is always 202 Accepted and reveals nothing about whether the account exists.
161
+ */
162
+ post: operations['post_auth_password_reset_request'];
163
+ delete?: never;
164
+ options?: never;
165
+ head?: never;
166
+ patch?: never;
167
+ trace?: never;
168
+ };
109
169
  '/v1/auth/pat': {
110
170
  parameters: {
111
171
  query?: never;
@@ -305,7 +365,7 @@ type paths = {
305
365
  put?: never;
306
366
  /**
307
367
  * Step-up authentication (sudo)
308
- * @description Verifies a TOTP or recovery code and activates a sudo window on the current session. Required for sensitive operations annotated with #[RequiresSudo].
368
+ * @description Verifies a TOTP code, recovery code, WebAuthn assertion, or — for accounts without MFA only — the account password, and activates a sudo window on the current session. Required for sensitive operations annotated with #[RequiresSudo].
309
369
  */
310
370
  post: operations['post_/v1/auth/sudo'];
311
371
  delete?: never;
@@ -394,6 +454,82 @@ type paths = {
394
454
  patch?: never;
395
455
  trace?: never;
396
456
  };
457
+ '/v1/auth/mfa/totp/{id}': {
458
+ parameters: {
459
+ query?: never;
460
+ header?: never;
461
+ path?: never;
462
+ cookie?: never;
463
+ };
464
+ get?: never;
465
+ put?: never;
466
+ post?: never;
467
+ /**
468
+ * Remove the TOTP factor
469
+ * @description Removes the authenticated admin's TOTP factor. Since TOTP is always the admin's only factor of its type, this disables MFA entirely and wipes recovery codes.
470
+ */
471
+ delete: operations['delete_auth_mfa_totp_delete'];
472
+ options?: never;
473
+ head?: never;
474
+ patch?: never;
475
+ trace?: never;
476
+ };
477
+ '/v1/auth/mfa/totp': {
478
+ parameters: {
479
+ query?: never;
480
+ header?: never;
481
+ path?: never;
482
+ cookie?: never;
483
+ };
484
+ get?: never;
485
+ put?: never;
486
+ /**
487
+ * Start a TOTP enrollment
488
+ * @description Generates a new TOTP secret and otpauth:// URI for the authenticated admin. The secret is held server-side until confirmed via POST /v1/auth/mfa/totp/verify.
489
+ */
490
+ post: operations['post_auth_mfa_totp_enroll'];
491
+ delete?: never;
492
+ options?: never;
493
+ head?: never;
494
+ patch?: never;
495
+ trace?: never;
496
+ };
497
+ '/v1/auth/mfa/totp/verify': {
498
+ parameters: {
499
+ query?: never;
500
+ header?: never;
501
+ path?: never;
502
+ cookie?: never;
503
+ };
504
+ get?: never;
505
+ put?: never;
506
+ /**
507
+ * Confirm a TOTP enrollment
508
+ * @description Confirms a pending TOTP enrollment with a 6-digit code. Activates (or reconfigures) the admin's TOTP factor. Recovery codes are returned only when this enabled the first MFA factor.
509
+ */
510
+ post: operations['post_auth_mfa_totp_enroll_verify'];
511
+ delete?: never;
512
+ options?: never;
513
+ head?: never;
514
+ patch?: never;
515
+ trace?: never;
516
+ };
517
+ '/admin/auth/pkce/authorize': {
518
+ parameters: {
519
+ query?: never;
520
+ header?: never;
521
+ path?: never;
522
+ cookie?: never;
523
+ };
524
+ get: operations['get_auth_pkce_authorize'];
525
+ put?: never;
526
+ post?: never;
527
+ delete?: never;
528
+ options?: never;
529
+ head?: never;
530
+ patch?: never;
531
+ trace?: never;
532
+ };
397
533
  };
398
534
  type components = {
399
535
  schemas: {
@@ -440,6 +576,44 @@ type components = {
440
576
  /** @description WebAuthn assertion response as JSON string. Required when type is webauthn. */
441
577
  assertion: string;
442
578
  };
579
+ PasswordChangeRequest: {
580
+ /**
581
+ * Format: password
582
+ * @description The admin's current password.
583
+ */
584
+ currentPassword: string;
585
+ /**
586
+ * Format: password
587
+ * @description The new password. Must be 12–512 characters and include at least one uppercase letter, one lowercase letter, one number and one special character.
588
+ */
589
+ newPassword: string;
590
+ /**
591
+ * @description When true, revokes every other session of the admin and the tokens derived from them (the calling session stays valid). Use after a suspected credential leak; defaults to false.
592
+ * @default false
593
+ */
594
+ revokeOtherSessions: boolean;
595
+ };
596
+ PasswordResetRequest: {
597
+ /** @description The single-use reset token delivered by e-mail (kbc_pr_...). */
598
+ token: string;
599
+ /**
600
+ * Format: password
601
+ * @description The new password. Must be 12–512 characters and include at least one uppercase letter, one lowercase letter, one number and one special character.
602
+ */
603
+ newPassword: string;
604
+ /**
605
+ * @description When true (default), revokes every session of the admin and the session-derived tokens after the password is set. User-created Personal Access Tokens are not affected. Set to false to keep existing sessions alive.
606
+ * @default true
607
+ */
608
+ revokeSessions: boolean;
609
+ };
610
+ PasswordResetEmailRequest: {
611
+ /**
612
+ * Format: email
613
+ * @description Email address of the account to send a password-reset token to.
614
+ */
615
+ email: string;
616
+ };
443
617
  ScopeRequestPayload: {
444
618
  /**
445
619
  * @description Explicit allow-list of project ids. Omit the field (do not send `null`) to inherit the parent scope verbatim (exchange) or default to all projects (user-create).
@@ -493,6 +667,8 @@ type components = {
493
667
  webauthnAssertion?: string | null;
494
668
  /** @description Sudo challenge token (kbc_mfa_*) from POST /v1/auth/sudo/challenge. Required when webauthnAssertion is provided. */
495
669
  challengeToken?: string | null;
670
+ /** @description Account password. Only accepted when the account has no MFA configured (first-factor enrollment bootstrap). */
671
+ password?: string | null;
496
672
  };
497
673
  TokenRefreshRequest: {
498
674
  /** @description Refresh token to exchange for new token pair. */
@@ -507,6 +683,41 @@ type components = {
507
683
  */
508
684
  tokenTypeHint?: 'accessToken' | 'refreshToken' | null;
509
685
  };
686
+ TotpEnrollVerifyRequest: {
687
+ /** @description 6-digit TOTP code generated from the pending secret. */
688
+ code: string;
689
+ };
690
+ PkceAuthorizeQueryRequest: {
691
+ /**
692
+ * @description OAuth response type. Not enforced at the constraint level, but required to be "code" for the authorize flow to succeed.
693
+ * @enum {string|null}
694
+ */
695
+ responseType?: 'code' | null;
696
+ /** @description Public PKCE client identifier. Required for the authorize flow to succeed. */
697
+ clientId?: string | null;
698
+ /**
699
+ * Format: uri
700
+ * @description URI to redirect to with the authorization code. Required for the authorize flow to succeed.
701
+ */
702
+ redirectUri?: string | null;
703
+ /** @description PKCE code challenge derived from the client code verifier. Required for the authorize flow to succeed. */
704
+ codeChallenge?: string | null;
705
+ /**
706
+ * @description PKCE code challenge method. Not enforced at the constraint level, but required to be "S256" for the authorize flow to succeed.
707
+ * @enum {string|null}
708
+ */
709
+ codeChallengeMethod?: 'S256' | null;
710
+ /** @description Opaque value used to maintain state between the request and callback. Required for the authorize flow to succeed. */
711
+ state?: string | null;
712
+ };
713
+ PkceAuthorizeHeaderRequest: {
714
+ /** @description Value of the Origin request header, if present. */
715
+ origin?: string | null;
716
+ /** @description Value of the Referer request header, if present. */
717
+ referer?: string | null;
718
+ /** @description Value of the User-Agent request header, if present. */
719
+ 'user-agent'?: string | null;
720
+ };
510
721
  LoginRequest2: {
511
722
  /**
512
723
  * @description Authentication grant type.
@@ -803,6 +1014,11 @@ type components = {
803
1014
  * @default null
804
1015
  */
805
1016
  challengeToken: string | null;
1017
+ /**
1018
+ * @description Account password. Only accepted when the account has no MFA configured (first-factor enrollment bootstrap).
1019
+ * @default null
1020
+ */
1021
+ password: string | null;
806
1022
  type: string;
807
1023
  };
808
1024
  SudoResponse: {
@@ -864,6 +1080,33 @@ type components = {
864
1080
  */
865
1081
  tokenTypeHint: 'accessToken' | 'refreshToken' | null;
866
1082
  };
1083
+ /** @description Pending TOTP enrollment material. Confirm with POST /v1/auth/mfa/totp/verify before expiresAt. */
1084
+ TotpEnrollResponse: {
1085
+ /** @description Base32-encoded TOTP shared secret, for manual entry. */
1086
+ secret: string;
1087
+ /** @description otpauth:// URI to render as a QR code for the authenticator app. */
1088
+ otpauthUri: string;
1089
+ /**
1090
+ * Format: date-time
1091
+ * @description When this pending enrollment expires; verify before this time.
1092
+ */
1093
+ expiresAt: string;
1094
+ };
1095
+ /** @description TOTP enrollment confirmed. recoveryCodes is present only when this enabled the first MFA factor. */
1096
+ TotpEnrollVerifyResponse: {
1097
+ /**
1098
+ * @description Id of the persisted TOTP credential (use with DELETE /v1/auth/mfa/totp/{id}).
1099
+ * @example 42
1100
+ */
1101
+ id: number;
1102
+ /**
1103
+ * @description The admin's active MFA type after this call.
1104
+ * @example TOTP
1105
+ */
1106
+ mfaType: string;
1107
+ /** @description Plaintext recovery codes, present only when this enrollment enabled the first MFA factor. */
1108
+ recoveryCodes?: string[] | null;
1109
+ };
867
1110
  };
868
1111
  responses: never;
869
1112
  parameters: never;
@@ -926,8 +1169,15 @@ type operations = {
926
1169
  path?: never;
927
1170
  cookie?: never;
928
1171
  };
1172
+ /** @description Bearer mode (session bearer in the `Authorization` header): JSON body with `userCode` and `decision`. Browser/cookie mode: form-encoded body with `decision` and the CSRF `_token` — the device user code is read from the browser session, not the body. */
929
1173
  requestBody: {
930
1174
  content: {
1175
+ 'application/x-www-form-urlencoded': {
1176
+ /** @enum {string} */
1177
+ decision: 'approve' | 'deny';
1178
+ /** @description CSRF token bound to the browser session. */
1179
+ _token: string;
1180
+ };
931
1181
  'application/json': components['schemas']['DeviceAuthorizationApprovalRequest'];
932
1182
  };
933
1183
  };
@@ -1105,6 +1355,149 @@ type operations = {
1105
1355
  };
1106
1356
  };
1107
1357
  };
1358
+ post_auth_password_change: {
1359
+ parameters: {
1360
+ query?: never;
1361
+ header?: never;
1362
+ path?: never;
1363
+ cookie?: never;
1364
+ };
1365
+ requestBody: {
1366
+ content: {
1367
+ 'application/json': components['schemas']['PasswordChangeRequest'];
1368
+ };
1369
+ };
1370
+ responses: {
1371
+ /** @description Password changed. Other sessions were revoked only when revokeOtherSessions was true. */
1372
+ 204: {
1373
+ headers: {
1374
+ [name: string]: unknown;
1375
+ };
1376
+ content?: never;
1377
+ };
1378
+ /** @description Current password incorrect (auth.password.invalidCurrentPassword), or invalid request payload including a new password that violates the password policy (validation.failed). */
1379
+ 400: {
1380
+ headers: {
1381
+ [name: string]: unknown;
1382
+ };
1383
+ content?: never;
1384
+ };
1385
+ /** @description Invalid or missing bearer token. */
1386
+ 401: {
1387
+ headers: {
1388
+ [name: string]: unknown;
1389
+ };
1390
+ content?: never;
1391
+ };
1392
+ /** @description Password is managed by the SSO identity provider. */
1393
+ 403: {
1394
+ headers: {
1395
+ [name: string]: unknown;
1396
+ };
1397
+ content?: never;
1398
+ };
1399
+ /** @description Programmatic auth feature disabled on this stack. */
1400
+ 404: {
1401
+ headers: {
1402
+ [name: string]: unknown;
1403
+ };
1404
+ content?: never;
1405
+ };
1406
+ /** @description Too many failed attempts. */
1407
+ 429: {
1408
+ headers: {
1409
+ [name: string]: unknown;
1410
+ };
1411
+ content?: never;
1412
+ };
1413
+ };
1414
+ };
1415
+ post_auth_password_reset: {
1416
+ parameters: {
1417
+ query?: never;
1418
+ header?: never;
1419
+ path?: never;
1420
+ cookie?: never;
1421
+ };
1422
+ requestBody: {
1423
+ content: {
1424
+ 'application/json': components['schemas']['PasswordResetRequest'];
1425
+ };
1426
+ };
1427
+ responses: {
1428
+ /** @description Password reset. Unless revokeSessions=false was sent, all sessions and session-derived tokens of the admin were revoked. */
1429
+ 204: {
1430
+ headers: {
1431
+ [name: string]: unknown;
1432
+ };
1433
+ content?: never;
1434
+ };
1435
+ /** @description Invalid/expired/used reset token (auth.password.invalidResetToken), or a new password that violates the password policy (validation.failed). */
1436
+ 400: {
1437
+ headers: {
1438
+ [name: string]: unknown;
1439
+ };
1440
+ content?: never;
1441
+ };
1442
+ /** @description Programmatic auth feature disabled on this stack. */
1443
+ 404: {
1444
+ headers: {
1445
+ [name: string]: unknown;
1446
+ };
1447
+ content?: never;
1448
+ };
1449
+ /** @description Too many reset attempts. */
1450
+ 429: {
1451
+ headers: {
1452
+ [name: string]: unknown;
1453
+ };
1454
+ content?: never;
1455
+ };
1456
+ };
1457
+ };
1458
+ post_auth_password_reset_request: {
1459
+ parameters: {
1460
+ query?: never;
1461
+ header?: never;
1462
+ path?: never;
1463
+ cookie?: never;
1464
+ };
1465
+ requestBody: {
1466
+ content: {
1467
+ 'application/json': components['schemas']['PasswordResetEmailRequest'];
1468
+ };
1469
+ };
1470
+ responses: {
1471
+ /** @description Request accepted. If the account exists and is password-eligible, a reset token was e-mailed. */
1472
+ 202: {
1473
+ headers: {
1474
+ [name: string]: unknown;
1475
+ };
1476
+ content?: never;
1477
+ };
1478
+ /** @description Invalid request payload (validation.failed). */
1479
+ 400: {
1480
+ headers: {
1481
+ [name: string]: unknown;
1482
+ };
1483
+ content?: never;
1484
+ };
1485
+ /** @description Programmatic auth feature disabled on this stack. */
1486
+ 404: {
1487
+ headers: {
1488
+ [name: string]: unknown;
1489
+ };
1490
+ content?: never;
1491
+ };
1492
+ /** @description Too many reset requests. */
1493
+ 429: {
1494
+ headers: {
1495
+ [name: string]: unknown;
1496
+ };
1497
+ content?: never;
1498
+ };
1499
+ };
1500
+ };
1108
1501
  get_auth_pat_list: {
1109
1502
  parameters: {
1110
1503
  query?: never;
@@ -1241,7 +1634,7 @@ type operations = {
1241
1634
  };
1242
1635
  content?: never;
1243
1636
  };
1244
- /** @description PAT issuance rate limit exceeded. */
1637
+ /** @description Rate limit exceeded — either the per-admin PAT issuance limit, or the per-IP limit on repeated failed parent-token verifications. */
1245
1638
  429: {
1246
1639
  headers: {
1247
1640
  [name: string]: unknown;
@@ -1590,14 +1983,14 @@ type operations = {
1590
1983
  'application/json': components['schemas']['SudoResponse'];
1591
1984
  };
1592
1985
  };
1593
- /** @description Invalid or missing bearer token. */
1986
+ /** @description Invalid or missing bearer token, or invalid password. */
1594
1987
  401: {
1595
1988
  headers: {
1596
1989
  [name: string]: unknown;
1597
1990
  };
1598
1991
  content?: never;
1599
1992
  };
1600
- /** @description MFA is not configured for this account. */
1993
+ /** @description MFA is not configured for this account (MFA factor supplied), or password step-up attempted on an MFA-configured account. */
1601
1994
  403: {
1602
1995
  headers: {
1603
1996
  [name: string]: unknown;
@@ -1748,6 +2141,184 @@ type operations = {
1748
2141
  };
1749
2142
  };
1750
2143
  };
2144
+ delete_auth_mfa_totp_delete: {
2145
+ parameters: {
2146
+ query?: never;
2147
+ header?: never;
2148
+ path: {
2149
+ /** @description Identifier of the TOTP credential to remove. */
2150
+ id: number;
2151
+ };
2152
+ cookie?: never;
2153
+ };
2154
+ requestBody?: never;
2155
+ responses: {
2156
+ /** @description TOTP factor removed; MFA disabled. */
2157
+ 204: {
2158
+ headers: {
2159
+ [name: string]: unknown;
2160
+ };
2161
+ content?: never;
2162
+ };
2163
+ /** @description Invalid or missing bearer token. */
2164
+ 401: {
2165
+ headers: {
2166
+ [name: string]: unknown;
2167
+ };
2168
+ content?: never;
2169
+ };
2170
+ /** @description Sudo window not active. Call POST /v1/auth/sudo first. */
2171
+ 403: {
2172
+ headers: {
2173
+ /** @description RFC 9470 step-up challenge (only returned when the sudo window is not active). */
2174
+ 'WWW-Authenticate'?: string;
2175
+ [name: string]: unknown;
2176
+ };
2177
+ content?: never;
2178
+ };
2179
+ /** @description TOTP credential not found, not owned by the caller, or the programmatic auth feature is disabled on this stack. */
2180
+ 404: {
2181
+ headers: {
2182
+ [name: string]: unknown;
2183
+ };
2184
+ content?: never;
2185
+ };
2186
+ };
2187
+ };
2188
+ post_auth_mfa_totp_enroll: {
2189
+ parameters: {
2190
+ query?: never;
2191
+ header?: never;
2192
+ path?: never;
2193
+ cookie?: never;
2194
+ };
2195
+ requestBody?: never;
2196
+ responses: {
2197
+ /** @description Pending TOTP enrollment created. */
2198
+ 200: {
2199
+ headers: {
2200
+ [name: string]: unknown;
2201
+ };
2202
+ content: {
2203
+ 'application/json': components['schemas']['TotpEnrollResponse'];
2204
+ };
2205
+ };
2206
+ /** @description Invalid or missing bearer token. */
2207
+ 401: {
2208
+ headers: {
2209
+ [name: string]: unknown;
2210
+ };
2211
+ content?: never;
2212
+ };
2213
+ /** @description Sudo window not active. Call POST /v1/auth/sudo first. */
2214
+ 403: {
2215
+ headers: {
2216
+ /** @description RFC 9470 step-up challenge (only returned when the sudo window is not active). */
2217
+ 'WWW-Authenticate'?: string;
2218
+ [name: string]: unknown;
2219
+ };
2220
+ content?: never;
2221
+ };
2222
+ /** @description Programmatic auth feature disabled on this stack. */
2223
+ 404: {
2224
+ headers: {
2225
+ [name: string]: unknown;
2226
+ };
2227
+ content?: never;
2228
+ };
2229
+ /** @description A different MFA factor type (WebAuthn) is already active for this account. */
2230
+ 409: {
2231
+ headers: {
2232
+ [name: string]: unknown;
2233
+ };
2234
+ content?: never;
2235
+ };
2236
+ };
2237
+ };
2238
+ post_auth_mfa_totp_enroll_verify: {
2239
+ parameters: {
2240
+ query?: never;
2241
+ header?: never;
2242
+ path?: never;
2243
+ cookie?: never;
2244
+ };
2245
+ requestBody: {
2246
+ content: {
2247
+ 'application/json': components['schemas']['TotpEnrollVerifyRequest'];
2248
+ };
2249
+ };
2250
+ responses: {
2251
+ /** @description TOTP enrollment confirmed. */
2252
+ 200: {
2253
+ headers: {
2254
+ [name: string]: unknown;
2255
+ };
2256
+ content: {
2257
+ 'application/json': components['schemas']['TotpEnrollVerifyResponse'];
2258
+ };
2259
+ };
2260
+ /** @description Invalid or missing bearer token, or invalid TOTP code (auth.mfa.invalidCode). */
2261
+ 401: {
2262
+ headers: {
2263
+ [name: string]: unknown;
2264
+ };
2265
+ content?: never;
2266
+ };
2267
+ /** @description Sudo window not active. Call POST /v1/auth/sudo first. */
2268
+ 403: {
2269
+ headers: {
2270
+ /** @description RFC 9470 step-up challenge (only returned when the sudo window is not active). */
2271
+ 'WWW-Authenticate'?: string;
2272
+ [name: string]: unknown;
2273
+ };
2274
+ content?: never;
2275
+ };
2276
+ /** @description No eligible pending enrollment — either the feature is disabled on this stack, or no enrollment was started, it expired, exceeded the maximum attempts, or was already used. */
2277
+ 404: {
2278
+ headers: {
2279
+ [name: string]: unknown;
2280
+ };
2281
+ content?: never;
2282
+ };
2283
+ /** @description A different MFA factor type (WebAuthn) became active for this account after this enrollment was started. */
2284
+ 409: {
2285
+ headers: {
2286
+ [name: string]: unknown;
2287
+ };
2288
+ content?: never;
2289
+ };
2290
+ };
2291
+ };
2292
+ get_auth_pkce_authorize: {
2293
+ parameters: {
2294
+ query?: {
2295
+ /** @description OAuth response type. Not enforced at the constraint level, but required to be "code" for the authorize flow to succeed. */
2296
+ responseType?: 'code' | null;
2297
+ /** @description Public PKCE client identifier. Required for the authorize flow to succeed. */
2298
+ clientId?: string | null;
2299
+ /** @description URI to redirect to with the authorization code. Required for the authorize flow to succeed. */
2300
+ redirectUri?: string | null;
2301
+ /** @description PKCE code challenge derived from the client code verifier. Required for the authorize flow to succeed. */
2302
+ codeChallenge?: string | null;
2303
+ /** @description PKCE code challenge method. Not enforced at the constraint level, but required to be "S256" for the authorize flow to succeed. */
2304
+ codeChallengeMethod?: 'S256' | null;
2305
+ /** @description Opaque value used to maintain state between the request and callback. Required for the authorize flow to succeed. */
2306
+ state?: string | null;
2307
+ };
2308
+ header?: never;
2309
+ path?: never;
2310
+ cookie?: never;
2311
+ };
2312
+ requestBody?: never;
2313
+ responses: {
2314
+ default: {
2315
+ headers: {
2316
+ [name: string]: unknown;
2317
+ };
2318
+ content?: never;
2319
+ };
2320
+ };
2321
+ };
1751
2322
  };
1752
2323
 
1753
2324
  type IntrospectTokenResult = OpenapiReturnType<paths['/v1/auth/token/introspect']['get']>;
@@ -1783,4 +2354,12 @@ type AssertSamlResult = OpenapiReturnType<paths['/v1/auth/saml/assert']['post']>
1783
2354
  type InitiateSamlBody = OpenapiBodyType<paths['/v1/auth/saml/initiate']['post']>;
1784
2355
  type InitiateSamlResult = OpenapiReturnType<paths['/v1/auth/saml/initiate']['post']>;
1785
2356
 
1786
- export type { ApproveDeviceAuthorizationBody as A, CreateDeviceAuthorizationBody as C, ExchangePatBody as E, GetDeviceAuthorizationTokenBody as G, InitiateSamlBody as I, ListPatsResult as L, RefreshTokenResult as R, SudoBody as S, ApproveDeviceAuthorizationResult as a, AssertSamlBody as b, AssertSamlResult as c, CreateDeviceAuthorizationResult as d, CreatePatBody as e, CreatePatResult as f, ExchangePatResult as g, GetDeviceAuthorizationTokenResult as h, GetPkceTokenBody as i, GetPkceTokenResult as j, InitiateSamlResult as k, IntrospectTokenResult as l, ListSessionsResult as m, RevokePatPath as n, RevokeSessionPath as o, paths as p, RevokeTokenBody as q, SudoChallengeResult as r, SudoResult as s, components as t };
2357
+ type VerifyMfaBody = OpenapiBodyType<paths['/v1/auth/mfa']['post']>;
2358
+ type VerifyMfaResult = OpenapiReturnType<paths['/v1/auth/mfa']['post']>;
2359
+ type RegenerateRecoveryCodesResult = OpenapiReturnType<paths['/v1/auth/mfa/recovery-codes']['post']>;
2360
+ type TotpSetupResult = OpenapiReturnType<paths['/v1/auth/mfa/totp']['post']>;
2361
+ type TotpVerifyBody = OpenapiBodyType<paths['/v1/auth/mfa/totp/verify']['post']>;
2362
+ type TotpVerifyResult = OpenapiReturnType<paths['/v1/auth/mfa/totp/verify']['post']>;
2363
+ type DisableTotpPath = OpenapiPathType<paths['/v1/auth/mfa/totp/{id}']['delete']>;
2364
+
2365
+ export type { ApproveDeviceAuthorizationBody as A, CreateDeviceAuthorizationBody as C, DisableTotpPath as D, ExchangePatBody as E, GetDeviceAuthorizationTokenBody as G, InitiateSamlBody as I, ListPatsResult as L, RefreshTokenResult as R, SudoBody as S, TotpSetupResult as T, VerifyMfaBody as V, ApproveDeviceAuthorizationResult as a, AssertSamlBody as b, AssertSamlResult as c, CreateDeviceAuthorizationResult as d, CreatePatBody as e, CreatePatResult as f, ExchangePatResult as g, GetDeviceAuthorizationTokenResult as h, GetPkceTokenBody as i, GetPkceTokenResult as j, InitiateSamlResult as k, IntrospectTokenResult as l, ListSessionsResult as m, RegenerateRecoveryCodesResult as n, RevokePatPath as o, paths as p, RevokeSessionPath as q, RevokeTokenBody as r, SudoChallengeResult as s, SudoResult as t, TotpVerifyBody as u, TotpVerifyResult as v, VerifyMfaResult as w, components as x };
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, b as OpenapiBodyType, a as OpenapiReturnType, A as ArrayElement } from './types-jKnx7Tm_.cjs';
1
+ import { c as OpenapiQueryType, O as OpenapiBodyType, b as OpenapiReturnType, A as ArrayElement } from './types-gcShAmmi.js';
2
2
 
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.