@keboola/api-client 32.0.0 → 33.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 (377) hide show
  1. package/AGENTS.md +80 -2
  2. package/API-SURFACE.md +4 -1
  3. package/CHANGELOG.md +222 -0
  4. package/dist/{ManagementClientAuthError-B-tyPlyG.cjs → ManagementClientAuthError-DqeXL8nv.cjs} +2 -2
  5. package/dist/{ManagementClientAuthError-B-tyPlyG.cjs.map → ManagementClientAuthError-DqeXL8nv.cjs.map} +1 -1
  6. package/dist/{ManagementClientAuthError-BAFNvOdf.js → ManagementClientAuthError-iKbBugKC.js} +2 -2
  7. package/dist/{ManagementClientAuthError-BAFNvOdf.js.map → ManagementClientAuthError-iKbBugKC.js.map} +1 -1
  8. package/dist/ai/index.cjs +2 -2
  9. package/dist/ai/index.d.cts +2 -2
  10. package/dist/ai/index.d.ts +2 -2
  11. package/dist/ai/index.js +2 -2
  12. package/dist/ai/types.d.cts +1 -1
  13. package/dist/ai/types.d.ts +1 -1
  14. package/dist/{appLogs-DTLE6HTy.js → appLogs-D72eD8vP.js} +2 -2
  15. package/dist/{appLogs-DTLE6HTy.js.map → appLogs-D72eD8vP.js.map} +1 -1
  16. package/dist/{appLogs-NIEDTDHf.cjs → appLogs-D8K0VeNM.cjs} +2 -2
  17. package/dist/{appLogs-NIEDTDHf.cjs.map → appLogs-D8K0VeNM.cjs.map} +1 -1
  18. package/dist/{appLogs-BAaaGYKg.d.cts → appLogs-Q4A7A_Fc.d.cts} +2 -2
  19. package/dist/{appLogs-DX_WTBCa.d.ts → appLogs-u0XMZLjS.d.ts} +2 -2
  20. package/dist/apps/index.cjs +3 -3
  21. package/dist/apps/index.d.cts +3 -3
  22. package/dist/apps/index.d.ts +3 -3
  23. package/dist/apps/index.js +3 -3
  24. package/dist/apps/types.d.cts +2 -2
  25. package/dist/apps/types.d.ts +2 -2
  26. package/dist/assets/index.cjs +1 -1
  27. package/dist/assets/index.d.cts +1 -1
  28. package/dist/assets/index.d.ts +1 -1
  29. package/dist/assets/index.js +1 -1
  30. package/dist/auth/index.cjs +1 -1
  31. package/dist/auth/index.d.cts +1 -1
  32. package/dist/auth/index.d.ts +1 -1
  33. package/dist/auth/index.js +1 -1
  34. package/dist/auth/types.d.cts +2 -2
  35. package/dist/auth/types.d.ts +2 -2
  36. package/dist/{auth-DP-6TFiM.cjs → auth-C2_JLisH.cjs} +2 -2
  37. package/dist/{auth-DP-6TFiM.cjs.map → auth-C2_JLisH.cjs.map} +1 -1
  38. package/dist/{auth-DtbQaeDj.js → auth-CE9rQV3-.js} +2 -2
  39. package/dist/{auth-DtbQaeDj.js.map → auth-CE9rQV3-.js.map} +1 -1
  40. package/dist/{authClient--BtZgjIc.js → authClient-DEyqR7GW.js} +43 -9
  41. package/dist/authClient-DEyqR7GW.js.map +1 -0
  42. package/dist/{authClient-DhfzOUaa.d.cts → authClient-DZ_8lvdJ.d.cts} +6 -6
  43. package/dist/{authClient-CtfyVHRD.d.ts → authClient-DwT6xdg5.d.ts} +6 -6
  44. package/dist/{authClient-b7uec7sw.cjs → authClient-IwQ9Ti0J.cjs} +43 -9
  45. package/dist/authClient-IwQ9Ti0J.cjs.map +1 -0
  46. package/dist/chat/index.cjs +3 -3
  47. package/dist/chat/index.d.cts +2 -2
  48. package/dist/chat/index.d.ts +2 -2
  49. package/dist/chat/index.js +3 -3
  50. package/dist/chat/types.d.cts +1 -1
  51. package/dist/chat/types.d.ts +1 -1
  52. package/dist/{createFetchClient-BbG46bL0.js → createFetchClient-DdyZMhxO.js} +3 -2
  53. package/dist/{createFetchClient-BbG46bL0.js.map → createFetchClient-DdyZMhxO.js.map} +1 -1
  54. package/dist/{createFetchClient-BRfTjBLV.cjs → createFetchClient-DvZvD31l.cjs} +8 -1
  55. package/dist/{createFetchClient-BRfTjBLV.cjs.map → createFetchClient-DvZvD31l.cjs.map} +1 -1
  56. package/dist/{createGenericFetchClient-BHYQLZhe.js → createGenericFetchClient-MQeLRiNW.js} +2 -2
  57. package/dist/{createGenericFetchClient-BHYQLZhe.js.map → createGenericFetchClient-MQeLRiNW.js.map} +1 -1
  58. package/dist/{createGenericFetchClient-DHs-i7_O.cjs → createGenericFetchClient-qfCZlCTv.cjs} +2 -2
  59. package/dist/{createGenericFetchClient-DHs-i7_O.cjs.map → createGenericFetchClient-qfCZlCTv.cjs.map} +1 -1
  60. package/dist/{createOpenapiFetchClient-CyDUFxHB.cjs → createOpenapiFetchClient-C57Ljzi6.cjs} +2 -2
  61. package/dist/{createOpenapiFetchClient-CyDUFxHB.cjs.map → createOpenapiFetchClient-C57Ljzi6.cjs.map} +1 -1
  62. package/dist/{createOpenapiFetchClient-Bn6_Pn0H.js → createOpenapiFetchClient-E7OIVkYv.js} +2 -2
  63. package/dist/{createOpenapiFetchClient-Bn6_Pn0H.js.map → createOpenapiFetchClient-E7OIVkYv.js.map} +1 -1
  64. package/dist/{credential-d2RDcXRB.js → credential-Bxv7yxOZ.js} +7 -4
  65. package/dist/credential-Bxv7yxOZ.js.map +1 -0
  66. package/dist/{credential-DOXH7XRS.cjs → credential-D-X5QQrM.cjs} +7 -4
  67. package/dist/credential-D-X5QQrM.cjs.map +1 -0
  68. package/dist/dataScience/index.cjs +2 -2
  69. package/dist/dataScience/index.d.cts +2 -2
  70. package/dist/dataScience/index.d.ts +2 -2
  71. package/dist/dataScience/index.js +2 -2
  72. package/dist/dataScience/types.d.cts +2 -2
  73. package/dist/dataScience/types.d.ts +2 -2
  74. package/dist/{dataScience-wexHEIue.cjs → dataScience-BPW993AG.cjs} +5 -5
  75. package/dist/{dataScience-wexHEIue.cjs.map → dataScience-BPW993AG.cjs.map} +1 -1
  76. package/dist/{dataScience-Sm8iONhP.js → dataScience-B_TA7wCB.js} +5 -5
  77. package/dist/{dataScience-Sm8iONhP.js.map → dataScience-B_TA7wCB.js.map} +1 -1
  78. package/dist/developerPortal/index.cjs +1 -1
  79. package/dist/developerPortal/index.d.cts +2 -2
  80. package/dist/developerPortal/index.d.ts +2 -2
  81. package/dist/developerPortal/index.js +1 -1
  82. package/dist/developerPortal/types.d.cts +1 -1
  83. package/dist/developerPortal/types.d.ts +1 -1
  84. package/dist/{developerPortalClient-CgTSzLoG.cjs → developerPortalClient-Db2XVB_o.cjs} +3 -3
  85. package/dist/{developerPortalClient-CgTSzLoG.cjs.map → developerPortalClient-Db2XVB_o.cjs.map} +1 -1
  86. package/dist/{developerPortalClient-DywKpDlW.js → developerPortalClient-jk46sjwP.js} +3 -3
  87. package/dist/{developerPortalClient-DywKpDlW.js.map → developerPortalClient-jk46sjwP.js.map} +1 -1
  88. package/dist/domain/permissions/index.d.cts +2 -2
  89. package/dist/domain/permissions/index.d.ts +2 -2
  90. package/dist/editor/index.cjs +2 -2
  91. package/dist/editor/index.d.cts +2 -2
  92. package/dist/editor/index.d.ts +2 -2
  93. package/dist/editor/index.js +2 -2
  94. package/dist/editor/types.d.cts +1 -1
  95. package/dist/editor/types.d.ts +1 -1
  96. package/dist/emitter-dLF1Fyfg.d.cts +11 -0
  97. package/dist/emitter-dLF1Fyfg.d.ts +11 -0
  98. package/dist/encryption/index.cjs +1 -1
  99. package/dist/encryption/index.d.cts +1 -1
  100. package/dist/encryption/index.d.ts +1 -1
  101. package/dist/encryption/index.js +1 -1
  102. package/dist/encryption/types.d.cts +1 -1
  103. package/dist/encryption/types.d.ts +1 -1
  104. package/dist/import/index.cjs +1 -1
  105. package/dist/import/index.d.cts +3 -3
  106. package/dist/import/index.d.ts +3 -3
  107. package/dist/import/index.js +1 -1
  108. package/dist/{import-SQuurg1G.js → import-2nqxQ9Rt.js} +3 -3
  109. package/dist/{import-SQuurg1G.js.map → import-2nqxQ9Rt.js.map} +1 -1
  110. package/dist/{import-C0-y1GQK.cjs → import-DJilJ6tq.cjs} +3 -3
  111. package/dist/{import-C0-y1GQK.cjs.map → import-DJilJ6tq.cjs.map} +1 -1
  112. package/dist/{index-FhKX7Cv1.d.ts → index-B0V1pJAa.d.ts} +241 -200
  113. package/dist/{index-Bg1P6Bb2.d.ts → index-B2OGaUap.d.ts} +6 -6
  114. package/dist/{index-Dbzjvy5h.d.ts → index-BjKjp3Rf.d.ts} +5 -5
  115. package/dist/{index-DeKPpYQy.d.ts → index-C7gxKoDF.d.cts} +3 -3
  116. package/dist/{index-D_7yCRKy.d.cts → index-CTd4YY8e.d.cts} +4 -4
  117. package/dist/{index-DiHHyMEo.d.cts → index-CUXEFQ7i.d.cts} +6 -6
  118. package/dist/{index-eAlN694c.d.cts → index-CVqk63at.d.ts} +3 -3
  119. package/dist/{index-Bc_hXWae.d.ts → index-C_cxKL1V.d.ts} +3 -3
  120. package/dist/{index-tKsiUarj.d.ts → index-ChMtULt4.d.ts} +4 -4
  121. package/dist/{index-Gn1H63Hk.d.cts → index-DCN2lH0v.d.cts} +4 -4
  122. package/dist/{index-Bjk-tCpG.d.cts → index-DIVvL54G.d.cts} +241 -200
  123. package/dist/{index-C7e3wBt9.d.cts → index-DLYAvSWZ.d.cts} +3 -3
  124. package/dist/{index-fHfc_VqS.d.ts → index-DQef014j.d.ts} +4 -4
  125. package/dist/{index-CeJOmN-P.d.ts → index-DVhTNwvu.d.ts} +3 -2
  126. package/dist/{index-CQrKS7PV.d.cts → index-DhVFuQDv.d.cts} +3 -2
  127. package/dist/{index-Ctqkm3Fx.d.ts → index-GNKwr7EQ.d.ts} +4 -4
  128. package/dist/{index-GDdFZCXp.d.ts → index-bB6wvw1f.d.ts} +4 -4
  129. package/dist/{index-BKh0prif.d.cts → index-exNi3I2Q.d.cts} +4 -4
  130. package/dist/{index-CXtdQ7be.d.cts → index-qOK5FtAH.d.cts} +4 -4
  131. package/dist/{index-DqOAjqxN.d.cts → index-t-a7kYnx.d.cts} +5 -5
  132. package/dist/index.cjs +303 -47
  133. package/dist/index.cjs.map +1 -1
  134. package/dist/index.d.cts +7 -6
  135. package/dist/index.d.ts +7 -6
  136. package/dist/index.js +285 -30
  137. package/dist/index.js.map +1 -1
  138. package/dist/{jobStatus-kQ9JqF8t.cjs → jobStatus-0_Y3Sr4i.cjs} +37 -20
  139. package/dist/jobStatus-0_Y3Sr4i.cjs.map +1 -0
  140. package/dist/{jobStatus-DbMupQEK.js → jobStatus-PSZJMTiA.js} +35 -18
  141. package/dist/jobStatus-PSZJMTiA.js.map +1 -0
  142. package/dist/kaiAgent/index.cjs +1 -1
  143. package/dist/kaiAgent/index.d.cts +2 -210
  144. package/dist/kaiAgent/index.d.ts +2 -210
  145. package/dist/kaiAgent/index.js +1 -1
  146. package/dist/kaiAgent/types.d.cts +1 -1
  147. package/dist/kaiAgent/types.d.ts +1 -1
  148. package/dist/{kaiAgent-4OiIK1C2.cjs → kaiAgent-CMVub6Sc.cjs} +48 -4
  149. package/dist/kaiAgent-CMVub6Sc.cjs.map +1 -0
  150. package/dist/{kaiAgent-HDaFS9BR.js → kaiAgent-CYYn0QJW.js} +48 -4
  151. package/dist/kaiAgent-CYYn0QJW.js.map +1 -0
  152. package/dist/kaiAgentClient-B2O0DF4d.d.ts +249 -0
  153. package/dist/kaiAgentClient-iCFR2tRU.d.cts +249 -0
  154. package/dist/management/index.cjs +1 -1
  155. package/dist/management/index.d.cts +1 -1
  156. package/dist/management/index.d.ts +1 -1
  157. package/dist/management/index.js +1 -1
  158. package/dist/management/types.d.cts +1 -1
  159. package/dist/management/types.d.ts +1 -1
  160. package/dist/{management-DfjwQo7z.cjs → management-DGfgKsaA.cjs} +5 -5
  161. package/dist/{management-DfjwQo7z.cjs.map → management-DGfgKsaA.cjs.map} +1 -1
  162. package/dist/{management-CIFhu1Nm.js → management-DNEKhR6a.js} +5 -5
  163. package/dist/{management-CIFhu1Nm.js.map → management-DNEKhR6a.js.map} +1 -1
  164. package/dist/metastore/index.cjs +1 -1
  165. package/dist/metastore/index.d.cts +1 -1
  166. package/dist/metastore/index.d.ts +1 -1
  167. package/dist/metastore/index.js +1 -1
  168. package/dist/metastore/types.d.cts +1 -1
  169. package/dist/metastore/types.d.ts +1 -1
  170. package/dist/{metastore-CrXkKufo.js → metastore-CjwktHvw.js} +4 -4
  171. package/dist/{metastore-CrXkKufo.js.map → metastore-CjwktHvw.js.map} +1 -1
  172. package/dist/{metastore-Dq2NS6jb.cjs → metastore-DksEte8P.cjs} +4 -4
  173. package/dist/{metastore-Dq2NS6jb.cjs.map → metastore-DksEte8P.cjs.map} +1 -1
  174. package/dist/microsoftGraph/index.cjs +2 -2
  175. package/dist/microsoftGraph/index.d.cts +2 -2
  176. package/dist/microsoftGraph/index.d.ts +2 -2
  177. package/dist/microsoftGraph/index.js +2 -2
  178. package/dist/microsoftGraph/types.d.cts +1 -1
  179. package/dist/microsoftGraph/types.d.ts +1 -1
  180. package/dist/notifications/index.cjs +3 -3
  181. package/dist/notifications/index.d.cts +2 -2
  182. package/dist/notifications/index.d.ts +2 -2
  183. package/dist/notifications/index.js +3 -3
  184. package/dist/notifications/types.d.cts +1 -1
  185. package/dist/notifications/types.d.ts +1 -1
  186. package/dist/oauth/index.cjs +1 -1
  187. package/dist/oauth/index.d.cts +2 -2
  188. package/dist/oauth/index.d.ts +2 -2
  189. package/dist/oauth/index.js +1 -1
  190. package/dist/oauth/types.d.cts +1 -1
  191. package/dist/oauth/types.d.ts +1 -1
  192. package/dist/{oauth-CFwSNz37.js → oauth-Bg5zro5S.js} +5 -5
  193. package/dist/{oauth-CFwSNz37.js.map → oauth-Bg5zro5S.js.map} +1 -1
  194. package/dist/{oauth-CkW5gln-.cjs → oauth-DFsI1TE5.cjs} +5 -5
  195. package/dist/{oauth-CkW5gln-.cjs.map → oauth-DFsI1TE5.cjs.map} +1 -1
  196. package/dist/omnisearch/index.cjs +2 -2
  197. package/dist/omnisearch/index.d.cts +2 -2
  198. package/dist/omnisearch/index.d.ts +2 -2
  199. package/dist/omnisearch/index.js +2 -2
  200. package/dist/omnisearch/types.d.cts +1 -1
  201. package/dist/omnisearch/types.d.ts +1 -1
  202. package/dist/{project-BOGaVs-q.d.ts → project-Bh954iOA.d.ts} +2 -2
  203. package/dist/{project-BnQkL8cb.d.cts → project-D25GH8zK.d.cts} +2 -2
  204. package/dist/queryService/index.cjs +1 -1
  205. package/dist/queryService/index.d.cts +1 -1
  206. package/dist/queryService/index.d.ts +1 -1
  207. package/dist/queryService/index.js +1 -1
  208. package/dist/queryService/types.d.cts +1 -1
  209. package/dist/queryService/types.d.ts +1 -1
  210. package/dist/{queryService-BLaGbpm-.cjs → queryService--t_W9PSJ.cjs} +6 -6
  211. package/dist/{queryService-BLaGbpm-.cjs.map → queryService--t_W9PSJ.cjs.map} +1 -1
  212. package/dist/{queryService-DK-jUnET.js → queryService-DX6zeAs_.js} +6 -6
  213. package/dist/{queryService-DK-jUnET.js.map → queryService-DX6zeAs_.js.map} +1 -1
  214. package/dist/queue/index.cjs +1 -1
  215. package/dist/queue/index.d.cts +3 -3
  216. package/dist/queue/index.d.ts +3 -3
  217. package/dist/queue/index.js +1 -1
  218. package/dist/queue/types.d.cts +1 -1
  219. package/dist/queue/types.d.ts +1 -1
  220. package/dist/{queue-B7TY4JLf.cjs → queue-D1_TCe0z.cjs} +5 -5
  221. package/dist/{queue-B7TY4JLf.cjs.map → queue-D1_TCe0z.cjs.map} +1 -1
  222. package/dist/{queue-DViSQ-eq.js → queue-DrLUbk98.js} +5 -5
  223. package/dist/{queue-DViSQ-eq.js.map → queue-DrLUbk98.js.map} +1 -1
  224. package/dist/scheduler/index.cjs +3 -3
  225. package/dist/scheduler/index.d.cts +2 -2
  226. package/dist/scheduler/index.d.ts +2 -2
  227. package/dist/scheduler/index.js +3 -3
  228. package/dist/scheduler/types.d.cts +1 -1
  229. package/dist/scheduler/types.d.ts +1 -1
  230. package/dist/sdk/configurations/index.d.cts +4 -4
  231. package/dist/sdk/configurations/index.d.ts +4 -4
  232. package/dist/sdk/developerPortal/index.cjs +5 -5
  233. package/dist/sdk/developerPortal/index.cjs.map +1 -1
  234. package/dist/sdk/developerPortal/index.d.cts +5 -4
  235. package/dist/sdk/developerPortal/index.d.ts +5 -4
  236. package/dist/sdk/developerPortal/index.js +4 -4
  237. package/dist/sdk/queryService/index.cjs +1 -1
  238. package/dist/sdk/queryService/index.d.cts +1 -1
  239. package/dist/sdk/queryService/index.d.ts +1 -1
  240. package/dist/sdk/queryService/index.js +1 -1
  241. package/dist/sdk/semanticLayer/index.cjs +163 -74
  242. package/dist/sdk/semanticLayer/index.cjs.map +1 -1
  243. package/dist/sdk/semanticLayer/index.d.cts +16 -13
  244. package/dist/sdk/semanticLayer/index.d.ts +16 -13
  245. package/dist/sdk/semanticLayer/index.js +158 -75
  246. package/dist/sdk/semanticLayer/index.js.map +1 -1
  247. package/dist/sdk/semanticLayer/types.d.cts +2 -2
  248. package/dist/sdk/semanticLayer/types.d.ts +2 -2
  249. package/dist/sdk/storage/index.d.cts +1 -1
  250. package/dist/sdk/storage/index.d.ts +1 -1
  251. package/dist/sdk/tag/index.d.cts +2 -2
  252. package/dist/sdk/tag/index.d.ts +2 -2
  253. package/dist/sdk/tag/types.d.cts +1 -1
  254. package/dist/sdk/tag/types.d.ts +1 -1
  255. package/dist/sdk/vault/index.d.cts +1 -1
  256. package/dist/sdk/vault/index.d.ts +1 -1
  257. package/dist/status/index.cjs +1 -1
  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 +4 -4
  262. package/dist/storage/index.d.cts +2 -2
  263. package/dist/storage/index.d.ts +2 -2
  264. package/dist/storage/index.js +4 -4
  265. package/dist/storage/types.d.cts +2 -2
  266. package/dist/storage/types.d.ts +2 -2
  267. package/dist/{storage-kgxscFEg.js → storage--cVaecFq.js} +7 -7
  268. package/dist/{storage-kgxscFEg.js.map → storage--cVaecFq.js.map} +1 -1
  269. package/dist/{storage-CihHwZ7z.cjs → storage-DexWot8H.cjs} +7 -7
  270. package/dist/{storage-CihHwZ7z.cjs.map → storage-DexWot8H.cjs.map} +1 -1
  271. package/dist/store-C9FQCHGe.js +74 -0
  272. package/dist/store-C9FQCHGe.js.map +1 -0
  273. package/dist/store-xS-Cu_VS.cjs +85 -0
  274. package/dist/store-xS-Cu_VS.cjs.map +1 -0
  275. package/dist/stream/index.cjs +3 -3
  276. package/dist/stream/index.d.cts +2 -2
  277. package/dist/stream/index.d.ts +2 -2
  278. package/dist/stream/index.js +3 -3
  279. package/dist/stream/types.d.cts +1 -1
  280. package/dist/stream/types.d.ts +1 -1
  281. package/dist/syncActions/index.cjs +1 -1
  282. package/dist/syncActions/index.d.cts +1 -1
  283. package/dist/syncActions/index.d.ts +1 -1
  284. package/dist/syncActions/index.js +1 -1
  285. package/dist/syncActions/types.d.cts +1 -1
  286. package/dist/syncActions/types.d.ts +1 -1
  287. package/dist/{syncActions-B75t0NwP.js → syncActions-CkMHM-jB.js} +5 -5
  288. package/dist/{syncActions-B75t0NwP.js.map → syncActions-CkMHM-jB.js.map} +1 -1
  289. package/dist/{syncActions-CevF_TEb.cjs → syncActions-DQq_A9v6.cjs} +5 -5
  290. package/dist/{syncActions-CevF_TEb.cjs.map → syncActions-DQq_A9v6.cjs.map} +1 -1
  291. package/dist/telemetry/index.cjs +1 -1
  292. package/dist/telemetry/index.d.cts +2 -2
  293. package/dist/telemetry/index.d.ts +2 -2
  294. package/dist/telemetry/index.js +1 -1
  295. package/dist/{telemetry-DwlSLVAU.cjs → telemetry-CAu1Qt7B.cjs} +3 -3
  296. package/dist/{telemetry-DwlSLVAU.cjs.map → telemetry-CAu1Qt7B.cjs.map} +1 -1
  297. package/dist/{telemetry-FXpodtJN.js → telemetry-Ca6j0i9w.js} +3 -3
  298. package/dist/{telemetry-FXpodtJN.js.map → telemetry-Ca6j0i9w.js.map} +1 -1
  299. package/dist/{types-CGH_lfxS.d.cts → types-0xa_7cgo.d.cts} +2 -2
  300. package/dist/{types-CyiRYRVq.d.cts → types-3p0adMdd.d.cts} +3 -3
  301. package/dist/{types-BlCoTm7n.d.ts → types-6ThDkaJw.d.ts} +2 -2
  302. package/dist/{types-CkcMoXRk.d.ts → types-6hh_3SZs.d.ts} +3 -3
  303. package/dist/{types-dybUhlU2.d.ts → types-6ku2LeX6.d.ts} +2 -2
  304. package/dist/{types-BH9ljNmj.d.cts → types-B42HhyB0.d.cts} +2 -2
  305. package/dist/{types-C1vhYcic.d.cts → types-B4_MM5Wf.d.cts} +2 -2
  306. package/dist/{types-DlbiVsVo.d.cts → types-B6JJCta-.d.cts} +2 -2
  307. package/dist/{types-sVYo0o9_.d.ts → types-B6lOyHY_.d.ts} +3 -3
  308. package/dist/{types-BZBdLUpH.d.ts → types-B7O5koJb.d.cts} +2 -2
  309. package/dist/{types-De_DA2ga.d.ts → types-BHI8Lin9.d.ts} +2 -2
  310. package/dist/{types-Cj4bLPp5.d.cts → types-BO3sCD0a.d.cts} +37 -6
  311. package/dist/{types-zA3H84SM.d.cts → types-BOnf68s5.d.cts} +2 -2
  312. package/dist/{types-CPanB0p7.d.cts → types-BS5M67xm.d.cts} +3 -3
  313. package/dist/{types-COIsNoTQ.d.cts → types-BT46XIgn.d.cts} +2 -2
  314. package/dist/types-BUYqdN7B.d.ts +205 -0
  315. package/dist/{types-D-qI9ne4.d.ts → types-BYKHr5bR.d.ts} +2 -2
  316. package/dist/{types-D1uloiuY.d.cts → types-Be3Wgn1U.d.cts} +2 -2
  317. package/dist/{types-BTbczawY.d.ts → types-BgVKG4vg.d.ts} +2 -2
  318. package/dist/{types-CyHZ1ZQe.d.ts → types-C2gzqtjf.d.ts} +2 -2
  319. package/dist/{types-Av2egS_l.d.ts → types-C35GWNmq.d.ts} +2 -2
  320. package/dist/{types-D6jKxUv_.d.ts → types-C4mr0lop.d.ts} +35 -3
  321. package/dist/{types-BI2jI-3-.d.cts → types-CCr1-9Q6.d.cts} +3 -3
  322. package/dist/{types-DeSd3gqW.d.ts → types-CHCM9oNk.d.ts} +3 -3
  323. package/dist/{types-BMQW-2Yw.d.ts → types-CNQdtffE.d.ts} +729 -79
  324. package/dist/{types-MbcIiKDI.d.cts → types-CPaluTW7.d.cts} +3 -3
  325. package/dist/{types-CXTqFYah.d.ts → types-CSc8NQCY.d.ts} +37 -6
  326. package/dist/{types-Cz1dj_TM.d.ts → types-C_ilZZkQ.d.ts} +2 -2
  327. package/dist/{types-EJEoI3ZK.d.ts → types-CaMfshWX.d.ts} +2 -2
  328. package/dist/{types-BoV9M5Xg.d.cts → types-Ccgbipp4.d.cts} +2 -2
  329. package/dist/{types-DuiUN0h8.d.ts → types-Cpjk0-ta.d.ts} +2 -2
  330. package/dist/{types-GuWtMCMn.d.cts → types-CrH4H8M4.d.cts} +2 -2
  331. package/dist/{types-DNXC_-fA.d.cts → types-Cu-0LT4f.d.cts} +2 -2
  332. package/dist/{types-BptQ7jpP.d.cts → types-CxmV36rp.d.cts} +2 -2
  333. package/dist/{types-DwpRt3e9.d.ts → types-D-98DirB.d.ts} +2 -2
  334. package/dist/{types-BV2BDccJ.d.cts → types-D6ocCyGh.d.cts} +35 -3
  335. package/dist/{types-COc-nind.d.cts → types-D7Wgcp0u.d.ts} +2 -2
  336. package/dist/{types-ByWD2oeV.d.ts → types-DAzmGzlb.d.ts} +2 -2
  337. package/dist/{types-BREGN3qo.d.cts → types-DHI0g51U.d.cts} +2 -2
  338. package/dist/{types-Dfc58bPE.d.ts → types-DHqIJKwx.d.ts} +2 -2
  339. package/dist/types-DONxb2-c.d.cts +205 -0
  340. package/dist/{types-Di8VIZwQ.d.ts → types-DTTC70Ac.d.ts} +2 -2
  341. package/dist/{types-C2CLlR4i.d.ts → types-DlvZeert.d.ts} +2 -2
  342. package/dist/{types-cDU_J45_.d.cts → types-DqniGeDJ.d.cts} +2 -2
  343. package/dist/{types-iNlsdRkx.d.cts → types-E3VT-zYz.d.cts} +729 -79
  344. package/dist/{types-B4jdPHoL.d.cts → types-Jt0ipbSm.d.cts} +2 -2
  345. package/dist/{types-Bpnpa2Wt.d.ts → types-Ur37iOqb.d.ts} +3 -3
  346. package/dist/{types-BnaAo7xn.d.ts → types-ZGAWRIBW.d.ts} +2 -2
  347. package/dist/{types-CvkqEvhv.d.cts → types-bY6K3y0O.d.cts} +2 -2
  348. package/dist/{types-CpALS017.d.ts → types-k4R8gQ4U.d.ts} +2 -2
  349. package/dist/{types-CcuG9cid.d.cts → types-sO52qIAA.d.cts} +2 -2
  350. package/dist/{types-CJHi0zdD.d.cts → types-sp1rJY9E.d.cts} +2 -2
  351. package/dist/{validateConnectionStatus-V9q6Nl6u.cjs → validateConnectionStatus-24zqIQ0p.cjs} +2 -2
  352. package/dist/{validateConnectionStatus-V9q6Nl6u.cjs.map → validateConnectionStatus-24zqIQ0p.cjs.map} +1 -1
  353. package/dist/{validateConnectionStatus-BrLXkoSI.js → validateConnectionStatus-DhkWg6Eq.js} +2 -2
  354. package/dist/{validateConnectionStatus-BrLXkoSI.js.map → validateConnectionStatus-DhkWg6Eq.js.map} +1 -1
  355. package/dist/vault/index.cjs +4 -4
  356. package/dist/vault/index.d.cts +1 -1
  357. package/dist/vault/index.d.ts +1 -1
  358. package/dist/vault/index.js +4 -4
  359. package/dist/vault/types.d.cts +1 -1
  360. package/dist/vault/types.d.ts +1 -1
  361. package/package.json +2 -2
  362. package/surface/auth.md +2 -2
  363. package/surface/kaiAgent.md +5 -2
  364. package/dist/authClient--BtZgjIc.js.map +0 -1
  365. package/dist/authClient-b7uec7sw.cjs.map +0 -1
  366. package/dist/createStore-BNiCRQXa.js +0 -148
  367. package/dist/createStore-BNiCRQXa.js.map +0 -1
  368. package/dist/createStore-MQbboXcB.cjs +0 -177
  369. package/dist/createStore-MQbboXcB.cjs.map +0 -1
  370. package/dist/credential-DOXH7XRS.cjs.map +0 -1
  371. package/dist/credential-d2RDcXRB.js.map +0 -1
  372. package/dist/jobStatus-DbMupQEK.js.map +0 -1
  373. package/dist/jobStatus-kQ9JqF8t.cjs.map +0 -1
  374. package/dist/kaiAgent-4OiIK1C2.cjs.map +0 -1
  375. package/dist/kaiAgent-HDaFS9BR.js.map +0 -1
  376. package/dist/types-B2vmg_UF.d.cts +0 -148
  377. package/dist/types-RfaldD4P.d.ts +0 -148
@@ -1,4 +1,4 @@
1
- import { c as OpenapiReturnType, o as OpenapiPathType, r as OpenapiBodyType, s as OpenapiQueryType } from "./index-CeJOmN-P.js";
1
+ import { c as OpenapiReturnType, o as OpenapiPathType, r as OpenapiBodyType, s as OpenapiQueryType } from "./index-DVhTNwvu.js";
2
2
  //#region src/clients/kaiAgent/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -156,7 +156,7 @@ type paths = {
156
156
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
157
157
  message: string;
158
158
  /** @enum {string} */
159
- subtype?: 'burst' | 'monthly';
159
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
160
160
  exceptionId?: string;
161
161
  };
162
162
  };
@@ -176,7 +176,7 @@ type paths = {
176
176
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
177
177
  message: string;
178
178
  /** @enum {string} */
179
- subtype?: 'burst' | 'monthly';
179
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
180
180
  exceptionId?: string;
181
181
  };
182
182
  };
@@ -196,7 +196,7 @@ type paths = {
196
196
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
197
197
  message: string;
198
198
  /** @enum {string} */
199
- subtype?: 'burst' | 'monthly';
199
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
200
200
  exceptionId?: string;
201
201
  };
202
202
  };
@@ -299,7 +299,7 @@ type paths = {
299
299
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
300
300
  message: string;
301
301
  /** @enum {string} */
302
- subtype?: 'burst' | 'monthly';
302
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
303
303
  exceptionId?: string;
304
304
  };
305
305
  };
@@ -319,7 +319,7 @@ type paths = {
319
319
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
320
320
  message: string;
321
321
  /** @enum {string} */
322
- subtype?: 'burst' | 'monthly';
322
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
323
323
  exceptionId?: string;
324
324
  };
325
325
  };
@@ -339,7 +339,7 @@ type paths = {
339
339
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
340
340
  message: string;
341
341
  /** @enum {string} */
342
- subtype?: 'burst' | 'monthly';
342
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
343
343
  exceptionId?: string;
344
344
  };
345
345
  };
@@ -359,7 +359,7 @@ type paths = {
359
359
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
360
360
  message: string;
361
361
  /** @enum {string} */
362
- subtype?: 'burst' | 'monthly';
362
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
363
363
  exceptionId?: string;
364
364
  };
365
365
  };
@@ -379,7 +379,7 @@ type paths = {
379
379
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
380
380
  message: string;
381
381
  /** @enum {string} */
382
- subtype?: 'burst' | 'monthly';
382
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
383
383
  exceptionId?: string;
384
384
  };
385
385
  };
@@ -435,7 +435,7 @@ type paths = {
435
435
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
436
436
  message: string;
437
437
  /** @enum {string} */
438
- subtype?: 'burst' | 'monthly';
438
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
439
439
  exceptionId?: string;
440
440
  };
441
441
  };
@@ -455,7 +455,7 @@ type paths = {
455
455
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
456
456
  message: string;
457
457
  /** @enum {string} */
458
- subtype?: 'burst' | 'monthly';
458
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
459
459
  exceptionId?: string;
460
460
  };
461
461
  };
@@ -475,7 +475,7 @@ type paths = {
475
475
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
476
476
  message: string;
477
477
  /** @enum {string} */
478
- subtype?: 'burst' | 'monthly';
478
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
479
479
  exceptionId?: string;
480
480
  };
481
481
  };
@@ -495,7 +495,7 @@ type paths = {
495
495
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
496
496
  message: string;
497
497
  /** @enum {string} */
498
- subtype?: 'burst' | 'monthly';
498
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
499
499
  exceptionId?: string;
500
500
  };
501
501
  };
@@ -553,7 +553,7 @@ type paths = {
553
553
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
554
554
  message: string;
555
555
  /** @enum {string} */
556
- subtype?: 'burst' | 'monthly';
556
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
557
557
  exceptionId?: string;
558
558
  };
559
559
  };
@@ -573,7 +573,7 @@ type paths = {
573
573
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
574
574
  message: string;
575
575
  /** @enum {string} */
576
- subtype?: 'burst' | 'monthly';
576
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
577
577
  exceptionId?: string;
578
578
  };
579
579
  };
@@ -593,7 +593,7 @@ type paths = {
593
593
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
594
594
  message: string;
595
595
  /** @enum {string} */
596
- subtype?: 'burst' | 'monthly';
596
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
597
597
  exceptionId?: string;
598
598
  };
599
599
  };
@@ -613,7 +613,7 @@ type paths = {
613
613
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
614
614
  message: string;
615
615
  /** @enum {string} */
616
- subtype?: 'burst' | 'monthly';
616
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
617
617
  exceptionId?: string;
618
618
  };
619
619
  };
@@ -678,7 +678,7 @@ type paths = {
678
678
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
679
679
  message: string;
680
680
  /** @enum {string} */
681
- subtype?: 'burst' | 'monthly';
681
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
682
682
  exceptionId?: string;
683
683
  };
684
684
  };
@@ -698,7 +698,7 @@ type paths = {
698
698
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
699
699
  message: string;
700
700
  /** @enum {string} */
701
- subtype?: 'burst' | 'monthly';
701
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
702
702
  exceptionId?: string;
703
703
  };
704
704
  };
@@ -718,7 +718,7 @@ type paths = {
718
718
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
719
719
  message: string;
720
720
  /** @enum {string} */
721
- subtype?: 'burst' | 'monthly';
721
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
722
722
  exceptionId?: string;
723
723
  };
724
724
  };
@@ -738,7 +738,7 @@ type paths = {
738
738
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
739
739
  message: string;
740
740
  /** @enum {string} */
741
- subtype?: 'burst' | 'monthly';
741
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
742
742
  exceptionId?: string;
743
743
  };
744
744
  };
@@ -797,6 +797,8 @@ type paths = {
797
797
  maxTokens: number;
798
798
  percentage: number;
799
799
  } | null;
800
+ ppuUsed: number | null;
801
+ ppuPercentage: number | null;
800
802
  messages: {
801
803
  /** Format: uuid */
802
804
  id: string;
@@ -880,7 +882,7 @@ type paths = {
880
882
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
881
883
  message: string;
882
884
  /** @enum {string} */
883
- subtype?: 'burst' | 'monthly';
885
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
884
886
  exceptionId?: string;
885
887
  };
886
888
  };
@@ -900,7 +902,7 @@ type paths = {
900
902
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
901
903
  message: string;
902
904
  /** @enum {string} */
903
- subtype?: 'burst' | 'monthly';
905
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
904
906
  exceptionId?: string;
905
907
  };
906
908
  };
@@ -920,7 +922,7 @@ type paths = {
920
922
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
921
923
  message: string;
922
924
  /** @enum {string} */
923
- subtype?: 'burst' | 'monthly';
925
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
924
926
  exceptionId?: string;
925
927
  };
926
928
  };
@@ -940,7 +942,7 @@ type paths = {
940
942
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
941
943
  message: string;
942
944
  /** @enum {string} */
943
- subtype?: 'burst' | 'monthly';
945
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
944
946
  exceptionId?: string;
945
947
  };
946
948
  };
@@ -960,7 +962,7 @@ type paths = {
960
962
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
961
963
  message: string;
962
964
  /** @enum {string} */
963
- subtype?: 'burst' | 'monthly';
965
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
964
966
  exceptionId?: string;
965
967
  };
966
968
  };
@@ -1027,7 +1029,7 @@ type paths = {
1027
1029
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1028
1030
  message: string;
1029
1031
  /** @enum {string} */
1030
- subtype?: 'burst' | 'monthly';
1032
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1031
1033
  exceptionId?: string;
1032
1034
  };
1033
1035
  };
@@ -1047,7 +1049,7 @@ type paths = {
1047
1049
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1048
1050
  message: string;
1049
1051
  /** @enum {string} */
1050
- subtype?: 'burst' | 'monthly';
1052
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1051
1053
  exceptionId?: string;
1052
1054
  };
1053
1055
  };
@@ -1067,7 +1069,7 @@ type paths = {
1067
1069
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1068
1070
  message: string;
1069
1071
  /** @enum {string} */
1070
- subtype?: 'burst' | 'monthly';
1072
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1071
1073
  exceptionId?: string;
1072
1074
  };
1073
1075
  };
@@ -1087,7 +1089,7 @@ type paths = {
1087
1089
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1088
1090
  message: string;
1089
1091
  /** @enum {string} */
1090
- subtype?: 'burst' | 'monthly';
1092
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1091
1093
  exceptionId?: string;
1092
1094
  };
1093
1095
  };
@@ -1107,7 +1109,7 @@ type paths = {
1107
1109
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1108
1110
  message: string;
1109
1111
  /** @enum {string} */
1110
- subtype?: 'burst' | 'monthly';
1112
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1111
1113
  exceptionId?: string;
1112
1114
  };
1113
1115
  };
@@ -1165,7 +1167,7 @@ type paths = {
1165
1167
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1166
1168
  message: string;
1167
1169
  /** @enum {string} */
1168
- subtype?: 'burst' | 'monthly';
1170
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1169
1171
  exceptionId?: string;
1170
1172
  };
1171
1173
  };
@@ -1185,7 +1187,7 @@ type paths = {
1185
1187
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1186
1188
  message: string;
1187
1189
  /** @enum {string} */
1188
- subtype?: 'burst' | 'monthly';
1190
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1189
1191
  exceptionId?: string;
1190
1192
  };
1191
1193
  };
@@ -1205,7 +1207,7 @@ type paths = {
1205
1207
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1206
1208
  message: string;
1207
1209
  /** @enum {string} */
1208
- subtype?: 'burst' | 'monthly';
1210
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1209
1211
  exceptionId?: string;
1210
1212
  };
1211
1213
  };
@@ -1225,7 +1227,7 @@ type paths = {
1225
1227
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1226
1228
  message: string;
1227
1229
  /** @enum {string} */
1228
- subtype?: 'burst' | 'monthly';
1230
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1229
1231
  exceptionId?: string;
1230
1232
  };
1231
1233
  };
@@ -1245,7 +1247,7 @@ type paths = {
1245
1247
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1246
1248
  message: string;
1247
1249
  /** @enum {string} */
1248
- subtype?: 'burst' | 'monthly';
1250
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1249
1251
  exceptionId?: string;
1250
1252
  };
1251
1253
  };
@@ -1320,7 +1322,7 @@ type paths = {
1320
1322
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1321
1323
  message: string;
1322
1324
  /** @enum {string} */
1323
- subtype?: 'burst' | 'monthly';
1325
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1324
1326
  exceptionId?: string;
1325
1327
  };
1326
1328
  };
@@ -1340,7 +1342,7 @@ type paths = {
1340
1342
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1341
1343
  message: string;
1342
1344
  /** @enum {string} */
1343
- subtype?: 'burst' | 'monthly';
1345
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1344
1346
  exceptionId?: string;
1345
1347
  };
1346
1348
  };
@@ -1360,7 +1362,7 @@ type paths = {
1360
1362
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1361
1363
  message: string;
1362
1364
  /** @enum {string} */
1363
- subtype?: 'burst' | 'monthly';
1365
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1364
1366
  exceptionId?: string;
1365
1367
  };
1366
1368
  };
@@ -1380,7 +1382,7 @@ type paths = {
1380
1382
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1381
1383
  message: string;
1382
1384
  /** @enum {string} */
1383
- subtype?: 'burst' | 'monthly';
1385
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1384
1386
  exceptionId?: string;
1385
1387
  };
1386
1388
  };
@@ -1400,7 +1402,7 @@ type paths = {
1400
1402
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1401
1403
  message: string;
1402
1404
  /** @enum {string} */
1403
- subtype?: 'burst' | 'monthly';
1405
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1404
1406
  exceptionId?: string;
1405
1407
  };
1406
1408
  };
@@ -1472,7 +1474,7 @@ type paths = {
1472
1474
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1473
1475
  message: string;
1474
1476
  /** @enum {string} */
1475
- subtype?: 'burst' | 'monthly';
1477
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1476
1478
  exceptionId?: string;
1477
1479
  };
1478
1480
  };
@@ -1492,7 +1494,7 @@ type paths = {
1492
1494
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1493
1495
  message: string;
1494
1496
  /** @enum {string} */
1495
- subtype?: 'burst' | 'monthly';
1497
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1496
1498
  exceptionId?: string;
1497
1499
  };
1498
1500
  };
@@ -1512,7 +1514,7 @@ type paths = {
1512
1514
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1513
1515
  message: string;
1514
1516
  /** @enum {string} */
1515
- subtype?: 'burst' | 'monthly';
1517
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1516
1518
  exceptionId?: string;
1517
1519
  };
1518
1520
  };
@@ -1532,7 +1534,7 @@ type paths = {
1532
1534
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1533
1535
  message: string;
1534
1536
  /** @enum {string} */
1535
- subtype?: 'burst' | 'monthly';
1537
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1536
1538
  exceptionId?: string;
1537
1539
  };
1538
1540
  };
@@ -1552,7 +1554,7 @@ type paths = {
1552
1554
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1553
1555
  message: string;
1554
1556
  /** @enum {string} */
1555
- subtype?: 'burst' | 'monthly';
1557
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1556
1558
  exceptionId?: string;
1557
1559
  };
1558
1560
  };
@@ -1621,7 +1623,7 @@ type paths = {
1621
1623
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1622
1624
  message: string;
1623
1625
  /** @enum {string} */
1624
- subtype?: 'burst' | 'monthly';
1626
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1625
1627
  exceptionId?: string;
1626
1628
  };
1627
1629
  };
@@ -1641,7 +1643,7 @@ type paths = {
1641
1643
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1642
1644
  message: string;
1643
1645
  /** @enum {string} */
1644
- subtype?: 'burst' | 'monthly';
1646
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1645
1647
  exceptionId?: string;
1646
1648
  };
1647
1649
  };
@@ -1661,7 +1663,7 @@ type paths = {
1661
1663
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1662
1664
  message: string;
1663
1665
  /** @enum {string} */
1664
- subtype?: 'burst' | 'monthly';
1666
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1665
1667
  exceptionId?: string;
1666
1668
  };
1667
1669
  };
@@ -1681,7 +1683,7 @@ type paths = {
1681
1683
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1682
1684
  message: string;
1683
1685
  /** @enum {string} */
1684
- subtype?: 'burst' | 'monthly';
1686
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1685
1687
  exceptionId?: string;
1686
1688
  };
1687
1689
  };
@@ -1750,7 +1752,7 @@ type paths = {
1750
1752
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1751
1753
  message: string;
1752
1754
  /** @enum {string} */
1753
- subtype?: 'burst' | 'monthly';
1755
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1754
1756
  exceptionId?: string;
1755
1757
  };
1756
1758
  };
@@ -1770,7 +1772,7 @@ type paths = {
1770
1772
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1771
1773
  message: string;
1772
1774
  /** @enum {string} */
1773
- subtype?: 'burst' | 'monthly';
1775
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1774
1776
  exceptionId?: string;
1775
1777
  };
1776
1778
  };
@@ -1790,7 +1792,7 @@ type paths = {
1790
1792
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1791
1793
  message: string;
1792
1794
  /** @enum {string} */
1793
- subtype?: 'burst' | 'monthly';
1795
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1794
1796
  exceptionId?: string;
1795
1797
  };
1796
1798
  };
@@ -1810,7 +1812,150 @@ type paths = {
1810
1812
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1811
1813
  message: string;
1812
1814
  /** @enum {string} */
1813
- subtype?: 'burst' | 'monthly';
1815
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1816
+ exceptionId?: string;
1817
+ };
1818
+ };
1819
+ };
1820
+ };
1821
+ };
1822
+ };
1823
+ put?: never;
1824
+ post?: never;
1825
+ delete?: never;
1826
+ options?: never;
1827
+ head?: never;
1828
+ patch?: never;
1829
+ trace?: never;
1830
+ };
1831
+ '/api/chat/{id}/sandbox/file/download': {
1832
+ parameters: {
1833
+ query?: never;
1834
+ header?: never;
1835
+ path?: never;
1836
+ cookie?: never;
1837
+ };
1838
+ /**
1839
+ * Download a file from the chat sandbox data-app directory as raw bytes
1840
+ * @description Returns the raw bytes of a file inside the data-app dir — the binary counterpart of `/sandbox/file`, for deliverables the agent rendered (a `.docx`, a `.pptx`) that the text preview cannot carry. The first binary response in this API: always served as `application/octet-stream` with `Content-Disposition: attachment` and `nosniff`, never with a sniffable type. Same path policy as the preview, plus download-only tightenings: `.env*` files are refused, and files over the size ceiling are refused (413) rather than truncated.
1841
+ */
1842
+ get: {
1843
+ parameters: {
1844
+ query: {
1845
+ path: string;
1846
+ };
1847
+ header?: never;
1848
+ path: {
1849
+ id: string;
1850
+ };
1851
+ cookie?: never;
1852
+ };
1853
+ requestBody?: never;
1854
+ responses: {
1855
+ /** @description Raw file bytes */
1856
+ 200: {
1857
+ headers: {
1858
+ [name: string]: unknown;
1859
+ };
1860
+ content: {
1861
+ 'application/octet-stream': string;
1862
+ };
1863
+ };
1864
+ /** @description Bad request */
1865
+ 400: {
1866
+ headers: {
1867
+ [name: string]: unknown;
1868
+ };
1869
+ content: {
1870
+ 'application/json': {
1871
+ error: {
1872
+ /** @enum {string} */
1873
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
1874
+ /** @enum {string} */
1875
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1876
+ message: string;
1877
+ /** @enum {string} */
1878
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1879
+ exceptionId?: string;
1880
+ };
1881
+ };
1882
+ };
1883
+ };
1884
+ /** @description Unauthorized */
1885
+ 401: {
1886
+ headers: {
1887
+ [name: string]: unknown;
1888
+ };
1889
+ content: {
1890
+ 'application/json': {
1891
+ error: {
1892
+ /** @enum {string} */
1893
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
1894
+ /** @enum {string} */
1895
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1896
+ message: string;
1897
+ /** @enum {string} */
1898
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1899
+ exceptionId?: string;
1900
+ };
1901
+ };
1902
+ };
1903
+ };
1904
+ /** @description Chat or sandbox not found */
1905
+ 404: {
1906
+ headers: {
1907
+ [name: string]: unknown;
1908
+ };
1909
+ content: {
1910
+ 'application/json': {
1911
+ error: {
1912
+ /** @enum {string} */
1913
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
1914
+ /** @enum {string} */
1915
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1916
+ message: string;
1917
+ /** @enum {string} */
1918
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1919
+ exceptionId?: string;
1920
+ };
1921
+ };
1922
+ };
1923
+ };
1924
+ /** @description File exceeds the download size ceiling */
1925
+ 413: {
1926
+ headers: {
1927
+ [name: string]: unknown;
1928
+ };
1929
+ content: {
1930
+ 'application/json': {
1931
+ error: {
1932
+ /** @enum {string} */
1933
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
1934
+ /** @enum {string} */
1935
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1936
+ message: string;
1937
+ /** @enum {string} */
1938
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1939
+ exceptionId?: string;
1940
+ };
1941
+ };
1942
+ };
1943
+ };
1944
+ /** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
1945
+ 503: {
1946
+ headers: {
1947
+ [name: string]: unknown;
1948
+ };
1949
+ content: {
1950
+ 'application/json': {
1951
+ error: {
1952
+ /** @enum {string} */
1953
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
1954
+ /** @enum {string} */
1955
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1956
+ message: string;
1957
+ /** @enum {string} */
1958
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1814
1959
  exceptionId?: string;
1815
1960
  };
1816
1961
  };
@@ -1873,7 +2018,7 @@ type paths = {
1873
2018
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1874
2019
  message: string;
1875
2020
  /** @enum {string} */
1876
- subtype?: 'burst' | 'monthly';
2021
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1877
2022
  exceptionId?: string;
1878
2023
  };
1879
2024
  };
@@ -1893,7 +2038,7 @@ type paths = {
1893
2038
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1894
2039
  message: string;
1895
2040
  /** @enum {string} */
1896
- subtype?: 'burst' | 'monthly';
2041
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1897
2042
  exceptionId?: string;
1898
2043
  };
1899
2044
  };
@@ -1913,7 +2058,7 @@ type paths = {
1913
2058
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1914
2059
  message: string;
1915
2060
  /** @enum {string} */
1916
- subtype?: 'burst' | 'monthly';
2061
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1917
2062
  exceptionId?: string;
1918
2063
  };
1919
2064
  };
@@ -1933,7 +2078,7 @@ type paths = {
1933
2078
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1934
2079
  message: string;
1935
2080
  /** @enum {string} */
1936
- subtype?: 'burst' | 'monthly';
2081
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
1937
2082
  exceptionId?: string;
1938
2083
  };
1939
2084
  };
@@ -1978,6 +2123,11 @@ type paths = {
1978
2123
  'application/json': {
1979
2124
  messagesUsed: number;
1980
2125
  messagesLimit: number | null;
2126
+ ppuUsed: number;
2127
+ ppuLimit: number | null;
2128
+ /** @enum {string|null} */
2129
+ ppuLimitScope: 'user' | 'project' | null;
2130
+ projectPpuPercentage: number | null;
1981
2131
  /** Format: date-time */
1982
2132
  resetDate: string;
1983
2133
  };
@@ -1997,7 +2147,7 @@ type paths = {
1997
2147
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
1998
2148
  message: string;
1999
2149
  /** @enum {string} */
2000
- subtype?: 'burst' | 'monthly';
2150
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2001
2151
  exceptionId?: string;
2002
2152
  };
2003
2153
  };
@@ -2017,7 +2167,7 @@ type paths = {
2017
2167
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2018
2168
  message: string;
2019
2169
  /** @enum {string} */
2020
- subtype?: 'burst' | 'monthly';
2170
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2021
2171
  exceptionId?: string;
2022
2172
  };
2023
2173
  };
@@ -2037,7 +2187,7 @@ type paths = {
2037
2187
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2038
2188
  message: string;
2039
2189
  /** @enum {string} */
2040
- subtype?: 'burst' | 'monthly';
2190
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2041
2191
  exceptionId?: string;
2042
2192
  };
2043
2193
  };
@@ -2101,7 +2251,7 @@ type paths = {
2101
2251
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2102
2252
  message: string;
2103
2253
  /** @enum {string} */
2104
- subtype?: 'burst' | 'monthly';
2254
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2105
2255
  exceptionId?: string;
2106
2256
  };
2107
2257
  };
@@ -2121,7 +2271,7 @@ type paths = {
2121
2271
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2122
2272
  message: string;
2123
2273
  /** @enum {string} */
2124
- subtype?: 'burst' | 'monthly';
2274
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2125
2275
  exceptionId?: string;
2126
2276
  };
2127
2277
  };
@@ -2181,7 +2331,7 @@ type paths = {
2181
2331
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2182
2332
  message: string;
2183
2333
  /** @enum {string} */
2184
- subtype?: 'burst' | 'monthly';
2334
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2185
2335
  exceptionId?: string;
2186
2336
  };
2187
2337
  };
@@ -2201,7 +2351,27 @@ type paths = {
2201
2351
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2202
2352
  message: string;
2203
2353
  /** @enum {string} */
2204
- subtype?: 'burst' | 'monthly';
2354
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2355
+ exceptionId?: string;
2356
+ };
2357
+ };
2358
+ };
2359
+ };
2360
+ /** @description Forbidden — the caller's project role cannot write project-wide Kai settings */
2361
+ 403: {
2362
+ headers: {
2363
+ [name: string]: unknown;
2364
+ };
2365
+ content: {
2366
+ 'application/json': {
2367
+ error: {
2368
+ /** @enum {string} */
2369
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2370
+ /** @enum {string} */
2371
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2372
+ message: string;
2373
+ /** @enum {string} */
2374
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2205
2375
  exceptionId?: string;
2206
2376
  };
2207
2377
  };
@@ -2221,7 +2391,7 @@ type paths = {
2221
2391
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2222
2392
  message: string;
2223
2393
  /** @enum {string} */
2224
- subtype?: 'burst' | 'monthly';
2394
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2225
2395
  exceptionId?: string;
2226
2396
  };
2227
2397
  };
@@ -2283,7 +2453,7 @@ type paths = {
2283
2453
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2284
2454
  message: string;
2285
2455
  /** @enum {string} */
2286
- subtype?: 'burst' | 'monthly';
2456
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2287
2457
  exceptionId?: string;
2288
2458
  };
2289
2459
  };
@@ -2303,7 +2473,7 @@ type paths = {
2303
2473
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2304
2474
  message: string;
2305
2475
  /** @enum {string} */
2306
- subtype?: 'burst' | 'monthly';
2476
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2307
2477
  exceptionId?: string;
2308
2478
  };
2309
2479
  };
@@ -2370,12 +2540,103 @@ type paths = {
2370
2540
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2371
2541
  message: string;
2372
2542
  /** @enum {string} */
2373
- subtype?: 'burst' | 'monthly';
2543
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2544
+ exceptionId?: string;
2545
+ };
2546
+ };
2547
+ };
2548
+ };
2549
+ /** @description Unauthorized */
2550
+ 401: {
2551
+ headers: {
2552
+ [name: string]: unknown;
2553
+ };
2554
+ content: {
2555
+ 'application/json': {
2556
+ error: {
2557
+ /** @enum {string} */
2558
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2559
+ /** @enum {string} */
2560
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2561
+ message: string;
2562
+ /** @enum {string} */
2563
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2564
+ exceptionId?: string;
2565
+ };
2566
+ };
2567
+ };
2568
+ };
2569
+ /** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
2570
+ 503: {
2571
+ headers: {
2572
+ [name: string]: unknown;
2573
+ };
2574
+ content: {
2575
+ 'application/json': {
2576
+ error: {
2577
+ /** @enum {string} */
2578
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2579
+ /** @enum {string} */
2580
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2581
+ message: string;
2582
+ /** @enum {string} */
2583
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2374
2584
  exceptionId?: string;
2375
2585
  };
2376
2586
  };
2377
2587
  };
2378
2588
  };
2589
+ };
2590
+ };
2591
+ trace?: never;
2592
+ };
2593
+ '/api/settings/spend-caps': {
2594
+ parameters: {
2595
+ query?: never;
2596
+ header?: never;
2597
+ path?: never;
2598
+ cookie?: never;
2599
+ };
2600
+ /**
2601
+ * Get Kai spend caps
2602
+ * @description Retrieve the project cap, default per-user limit, and per-user overrides/usage. Readable by any project admin/share role; only an organization admin may write. `members[]` carries every member for an organization admin (`canWrite: true`); a non-org-admin caller sees only their own row, never another member's override/usage.
2603
+ */
2604
+ get: {
2605
+ parameters: {
2606
+ query?: never;
2607
+ header?: never;
2608
+ path?: never;
2609
+ cookie?: never;
2610
+ };
2611
+ requestBody?: never;
2612
+ responses: {
2613
+ /** @description Spend caps view */
2614
+ 200: {
2615
+ headers: {
2616
+ [name: string]: unknown;
2617
+ };
2618
+ content: {
2619
+ 'application/json': {
2620
+ projectCapPpu: number | null;
2621
+ effectiveProjectCapPpu: number;
2622
+ defaultUserLimitPpu: number | null;
2623
+ projectUsedPpu: number;
2624
+ canWrite: boolean;
2625
+ members: {
2626
+ userId: string;
2627
+ overrideLimitPpu: number | null;
2628
+ effectiveLimitPpu: number | null;
2629
+ usedPpu: number;
2630
+ /** Format: date-time */
2631
+ overrideUpdatedAt: string | null;
2632
+ overrideUpdatedByUserId: string | null;
2633
+ }[];
2634
+ /** Format: date-time */
2635
+ updatedAt: string | null;
2636
+ updatedByUserId: string | null;
2637
+ };
2638
+ };
2639
+ };
2379
2640
  /** @description Unauthorized */
2380
2641
  401: {
2381
2642
  headers: {
@@ -2390,7 +2651,47 @@ type paths = {
2390
2651
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2391
2652
  message: string;
2392
2653
  /** @enum {string} */
2393
- subtype?: 'burst' | 'monthly';
2654
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2655
+ exceptionId?: string;
2656
+ };
2657
+ };
2658
+ };
2659
+ };
2660
+ /** @description Forbidden — the caller's project role cannot read Kai spend caps */
2661
+ 403: {
2662
+ headers: {
2663
+ [name: string]: unknown;
2664
+ };
2665
+ content: {
2666
+ 'application/json': {
2667
+ error: {
2668
+ /** @enum {string} */
2669
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2670
+ /** @enum {string} */
2671
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2672
+ message: string;
2673
+ /** @enum {string} */
2674
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2675
+ exceptionId?: string;
2676
+ };
2677
+ };
2678
+ };
2679
+ };
2680
+ /** @description Not found — Kai spend caps do not apply to this project (e.g. it is PAYG) */
2681
+ 404: {
2682
+ headers: {
2683
+ [name: string]: unknown;
2684
+ };
2685
+ content: {
2686
+ 'application/json': {
2687
+ error: {
2688
+ /** @enum {string} */
2689
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2690
+ /** @enum {string} */
2691
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2692
+ message: string;
2693
+ /** @enum {string} */
2694
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2394
2695
  exceptionId?: string;
2395
2696
  };
2396
2697
  };
@@ -2410,7 +2711,7 @@ type paths = {
2410
2711
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2411
2712
  message: string;
2412
2713
  /** @enum {string} */
2413
- subtype?: 'burst' | 'monthly';
2714
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2414
2715
  exceptionId?: string;
2415
2716
  };
2416
2717
  };
@@ -2418,6 +2719,355 @@ type paths = {
2418
2719
  };
2419
2720
  };
2420
2721
  };
2722
+ put?: never;
2723
+ post?: never;
2724
+ delete?: never;
2725
+ options?: never;
2726
+ head?: never;
2727
+ /**
2728
+ * Update the project cap and/or default per-user limit
2729
+ * @description Organization-admin only. Rejects a value that would make an existing configuration unreachable.
2730
+ */
2731
+ patch: {
2732
+ parameters: {
2733
+ query?: never;
2734
+ header?: never;
2735
+ path?: never;
2736
+ cookie?: never;
2737
+ };
2738
+ requestBody?: {
2739
+ content: {
2740
+ 'application/json': {
2741
+ projectCapPpu?: number | null;
2742
+ defaultUserLimitPpu?: number | null;
2743
+ };
2744
+ };
2745
+ };
2746
+ responses: {
2747
+ /** @description Updated spend caps view */
2748
+ 200: {
2749
+ headers: {
2750
+ [name: string]: unknown;
2751
+ };
2752
+ content: {
2753
+ 'application/json': {
2754
+ projectCapPpu: number | null;
2755
+ effectiveProjectCapPpu: number;
2756
+ defaultUserLimitPpu: number | null;
2757
+ projectUsedPpu: number;
2758
+ canWrite: boolean;
2759
+ members: {
2760
+ userId: string;
2761
+ overrideLimitPpu: number | null;
2762
+ effectiveLimitPpu: number | null;
2763
+ usedPpu: number;
2764
+ /** Format: date-time */
2765
+ overrideUpdatedAt: string | null;
2766
+ overrideUpdatedByUserId: string | null;
2767
+ }[];
2768
+ /** Format: date-time */
2769
+ updatedAt: string | null;
2770
+ updatedByUserId: string | null;
2771
+ };
2772
+ };
2773
+ };
2774
+ /** @description Bad request — the new cap/default is unreachable */
2775
+ 400: {
2776
+ headers: {
2777
+ [name: string]: unknown;
2778
+ };
2779
+ content: {
2780
+ 'application/json': {
2781
+ error: {
2782
+ /** @enum {string} */
2783
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2784
+ /** @enum {string} */
2785
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2786
+ message: string;
2787
+ /** @enum {string} */
2788
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2789
+ exceptionId?: string;
2790
+ };
2791
+ };
2792
+ };
2793
+ };
2794
+ /** @description Unauthorized */
2795
+ 401: {
2796
+ headers: {
2797
+ [name: string]: unknown;
2798
+ };
2799
+ content: {
2800
+ 'application/json': {
2801
+ error: {
2802
+ /** @enum {string} */
2803
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2804
+ /** @enum {string} */
2805
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2806
+ message: string;
2807
+ /** @enum {string} */
2808
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2809
+ exceptionId?: string;
2810
+ };
2811
+ };
2812
+ };
2813
+ };
2814
+ /** @description Forbidden — only an organization admin may change Kai spend caps */
2815
+ 403: {
2816
+ headers: {
2817
+ [name: string]: unknown;
2818
+ };
2819
+ content: {
2820
+ 'application/json': {
2821
+ error: {
2822
+ /** @enum {string} */
2823
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2824
+ /** @enum {string} */
2825
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2826
+ message: string;
2827
+ /** @enum {string} */
2828
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2829
+ exceptionId?: string;
2830
+ };
2831
+ };
2832
+ };
2833
+ };
2834
+ /** @description Not found — Kai spend caps do not apply to this project (e.g. it is PAYG) */
2835
+ 404: {
2836
+ headers: {
2837
+ [name: string]: unknown;
2838
+ };
2839
+ content: {
2840
+ 'application/json': {
2841
+ error: {
2842
+ /** @enum {string} */
2843
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2844
+ /** @enum {string} */
2845
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2846
+ message: string;
2847
+ /** @enum {string} */
2848
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2849
+ exceptionId?: string;
2850
+ };
2851
+ };
2852
+ };
2853
+ };
2854
+ /** @description Conflict — the new project cap would make an existing per-user override unreachable */
2855
+ 409: {
2856
+ headers: {
2857
+ [name: string]: unknown;
2858
+ };
2859
+ content: {
2860
+ 'application/json': {
2861
+ error: {
2862
+ /** @enum {string} */
2863
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2864
+ /** @enum {string} */
2865
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2866
+ message: string;
2867
+ /** @enum {string} */
2868
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2869
+ exceptionId?: string;
2870
+ };
2871
+ };
2872
+ };
2873
+ };
2874
+ /** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
2875
+ 503: {
2876
+ headers: {
2877
+ [name: string]: unknown;
2878
+ };
2879
+ content: {
2880
+ 'application/json': {
2881
+ error: {
2882
+ /** @enum {string} */
2883
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2884
+ /** @enum {string} */
2885
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2886
+ message: string;
2887
+ /** @enum {string} */
2888
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2889
+ exceptionId?: string;
2890
+ };
2891
+ };
2892
+ };
2893
+ };
2894
+ };
2895
+ };
2896
+ trace?: never;
2897
+ };
2898
+ '/api/settings/spend-caps/users/{userId}': {
2899
+ parameters: {
2900
+ query?: never;
2901
+ header?: never;
2902
+ path?: never;
2903
+ cookie?: never;
2904
+ };
2905
+ get?: never;
2906
+ /**
2907
+ * Set or clear one member's spend-cap override
2908
+ * @description Organization-admin only. `overrideLimitPpu: null` clears the override (inherit the project default); `0` is a real value ("no Kai access").
2909
+ */
2910
+ put: {
2911
+ parameters: {
2912
+ query?: never;
2913
+ header?: never;
2914
+ path: {
2915
+ userId: string;
2916
+ };
2917
+ cookie?: never;
2918
+ };
2919
+ requestBody?: {
2920
+ content: {
2921
+ 'application/json': {
2922
+ overrideLimitPpu: number | null;
2923
+ };
2924
+ };
2925
+ };
2926
+ responses: {
2927
+ /** @description Updated member row */
2928
+ 200: {
2929
+ headers: {
2930
+ [name: string]: unknown;
2931
+ };
2932
+ content: {
2933
+ 'application/json': {
2934
+ userId: string;
2935
+ overrideLimitPpu: number | null;
2936
+ effectiveLimitPpu: number | null;
2937
+ usedPpu: number;
2938
+ /** Format: date-time */
2939
+ overrideUpdatedAt: string | null;
2940
+ overrideUpdatedByUserId: string | null;
2941
+ };
2942
+ };
2943
+ };
2944
+ /** @description Bad request — the new override is unreachable */
2945
+ 400: {
2946
+ headers: {
2947
+ [name: string]: unknown;
2948
+ };
2949
+ content: {
2950
+ 'application/json': {
2951
+ error: {
2952
+ /** @enum {string} */
2953
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2954
+ /** @enum {string} */
2955
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2956
+ message: string;
2957
+ /** @enum {string} */
2958
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2959
+ exceptionId?: string;
2960
+ };
2961
+ };
2962
+ };
2963
+ };
2964
+ /** @description Unauthorized */
2965
+ 401: {
2966
+ headers: {
2967
+ [name: string]: unknown;
2968
+ };
2969
+ content: {
2970
+ 'application/json': {
2971
+ error: {
2972
+ /** @enum {string} */
2973
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2974
+ /** @enum {string} */
2975
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2976
+ message: string;
2977
+ /** @enum {string} */
2978
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2979
+ exceptionId?: string;
2980
+ };
2981
+ };
2982
+ };
2983
+ };
2984
+ /** @description Forbidden — only an organization admin may change Kai spend caps */
2985
+ 403: {
2986
+ headers: {
2987
+ [name: string]: unknown;
2988
+ };
2989
+ content: {
2990
+ 'application/json': {
2991
+ error: {
2992
+ /** @enum {string} */
2993
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
2994
+ /** @enum {string} */
2995
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2996
+ message: string;
2997
+ /** @enum {string} */
2998
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2999
+ exceptionId?: string;
3000
+ };
3001
+ };
3002
+ };
3003
+ };
3004
+ /** @description Not found — Kai spend caps do not apply to this project (e.g. it is PAYG) */
3005
+ 404: {
3006
+ headers: {
3007
+ [name: string]: unknown;
3008
+ };
3009
+ content: {
3010
+ 'application/json': {
3011
+ error: {
3012
+ /** @enum {string} */
3013
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
3014
+ /** @enum {string} */
3015
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
3016
+ message: string;
3017
+ /** @enum {string} */
3018
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
3019
+ exceptionId?: string;
3020
+ };
3021
+ };
3022
+ };
3023
+ };
3024
+ /** @description Conflict — too many per-user overrides already exist on this project */
3025
+ 409: {
3026
+ headers: {
3027
+ [name: string]: unknown;
3028
+ };
3029
+ content: {
3030
+ 'application/json': {
3031
+ error: {
3032
+ /** @enum {string} */
3033
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
3034
+ /** @enum {string} */
3035
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
3036
+ message: string;
3037
+ /** @enum {string} */
3038
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
3039
+ exceptionId?: string;
3040
+ };
3041
+ };
3042
+ };
3043
+ };
3044
+ /** @description Service unavailable — an upstream dependency (e.g. Storage API) is unreachable */
3045
+ 503: {
3046
+ headers: {
3047
+ [name: string]: unknown;
3048
+ };
3049
+ content: {
3050
+ 'application/json': {
3051
+ error: {
3052
+ /** @enum {string} */
3053
+ type: 'bad_request' | 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'payload_too_large' | 'rate_limit' | 'offline' | 'bad_response' | 'internal';
3054
+ /** @enum {string} */
3055
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
3056
+ message: string;
3057
+ /** @enum {string} */
3058
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
3059
+ exceptionId?: string;
3060
+ };
3061
+ };
3062
+ };
3063
+ };
3064
+ };
3065
+ };
3066
+ post?: never;
3067
+ delete?: never;
3068
+ options?: never;
3069
+ head?: never;
3070
+ patch?: never;
2421
3071
  trace?: never;
2422
3072
  };
2423
3073
  '/api/suggestions': {
@@ -2579,7 +3229,7 @@ type paths = {
2579
3229
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2580
3230
  message: string;
2581
3231
  /** @enum {string} */
2582
- subtype?: 'burst' | 'monthly';
3232
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2583
3233
  exceptionId?: string;
2584
3234
  };
2585
3235
  };
@@ -2599,7 +3249,7 @@ type paths = {
2599
3249
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2600
3250
  message: string;
2601
3251
  /** @enum {string} */
2602
- subtype?: 'burst' | 'monthly';
3252
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2603
3253
  exceptionId?: string;
2604
3254
  };
2605
3255
  };
@@ -2619,7 +3269,7 @@ type paths = {
2619
3269
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2620
3270
  message: string;
2621
3271
  /** @enum {string} */
2622
- subtype?: 'burst' | 'monthly';
3272
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2623
3273
  exceptionId?: string;
2624
3274
  };
2625
3275
  };
@@ -2682,7 +3332,7 @@ type paths = {
2682
3332
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2683
3333
  message: string;
2684
3334
  /** @enum {string} */
2685
- subtype?: 'burst' | 'monthly';
3335
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2686
3336
  exceptionId?: string;
2687
3337
  };
2688
3338
  };
@@ -2702,7 +3352,7 @@ type paths = {
2702
3352
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2703
3353
  message: string;
2704
3354
  /** @enum {string} */
2705
- subtype?: 'burst' | 'monthly';
3355
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2706
3356
  exceptionId?: string;
2707
3357
  };
2708
3358
  };
@@ -2727,7 +3377,7 @@ type paths = {
2727
3377
  };
2728
3378
  /**
2729
3379
  * List skills and built-in slash commands available to the agent
2730
- * @description Returns the full set of `/`-invokable items the chat UI surfaces in its slash-command menu: built-in slash commands kai-agent itself recognises (`/plan`, `/compact`) plus every skill (first-party + vendored bundled with the sandbox, project-tagged files uploaded to Keboola Storage). Names and descriptions are normalised server-side — the UI does no merging.
3380
+ * @description Returns the items the chat UI lists in its slash-command menu: built-in slash commands kai-agent itself recognises (`/plan`, `/compact`, `/feedback`) plus the project-tagged skills uploaded to Keboola Storage. Skills bundled with the sandbox (first-party, vendored) are withheld — Claude still auto-invokes them, but they are not offered in the picker. Names and descriptions are normalised server-side — the UI does no merging, and lists whatever it is given.
2731
3381
  */
2732
3382
  get: {
2733
3383
  parameters: {
@@ -2772,7 +3422,7 @@ type paths = {
2772
3422
  surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
2773
3423
  message: string;
2774
3424
  /** @enum {string} */
2775
- subtype?: 'burst' | 'monthly';
3425
+ subtype?: 'burst' | 'monthly_messages' | 'monthly_credits_user' | 'monthly_credits_project';
2776
3426
  exceptionId?: string;
2777
3427
  };
2778
3428
  };
@@ -2801,4 +3451,4 @@ type UsageResponse = OpenapiReturnType<paths['/api/usage']['get']>;
2801
3451
  type ChatWithMessages = OpenapiReturnType<paths['/api/chat/{id}']['get']>;
2802
3452
  //#endregion
2803
3453
  export { GetHistoryQuery as a, VoteRequest as c, GetChatPath as i, ChatRequest as n, GetVotesQuery as o, ChatWithMessages as r, UsageResponse as s, ApprovalBody as t };
2804
- //# sourceMappingURL=types-BMQW-2Yw.d.ts.map
3454
+ //# sourceMappingURL=types-CNQdtffE.d.ts.map