@keboola/api-client 48.0.0 → 49.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 (278) hide show
  1. package/AGENTS.md +1 -1
  2. package/API-SURFACE.md +3 -2
  3. package/CHANGELOG.md +34 -0
  4. package/dist/{adminRoles-DsoGQipO.d.ts → adminRoles-BX1gk3At.d.ts} +2 -2
  5. package/dist/{adminRoles-BgpaBE7h.d.cts → adminRoles-BbxFgfX-.d.cts} +2 -2
  6. package/dist/ai/index.d.cts +2 -2
  7. package/dist/ai/index.d.ts +2 -2
  8. package/dist/ai/types.d.cts +1 -1
  9. package/dist/ai/types.d.ts +1 -1
  10. package/dist/{appLogs-DpcqeOe5.d.ts → appLogs-DI2Y4imY.d.ts} +2 -2
  11. package/dist/{appLogs-SjrflOHk.d.cts → appLogs-IhRA3xyv.d.cts} +2 -2
  12. package/dist/apps/index.cjs +1 -1
  13. package/dist/apps/index.cjs.map +1 -1
  14. package/dist/apps/index.d.cts +6 -3
  15. package/dist/apps/index.d.ts +6 -3
  16. package/dist/apps/index.js +1 -1
  17. package/dist/apps/index.js.map +1 -1
  18. package/dist/apps/types.d.cts +2 -2
  19. package/dist/apps/types.d.ts +2 -2
  20. package/dist/assets/index.d.cts +1 -1
  21. package/dist/assets/index.d.ts +1 -1
  22. package/dist/auth/index.d.cts +1 -1
  23. package/dist/auth/index.d.ts +1 -1
  24. package/dist/auth/types.d.cts +1 -1
  25. package/dist/auth/types.d.ts +1 -1
  26. package/dist/{authClient-BYIGzL_u.d.ts → authClient-6Aau_4Zt.d.ts} +4 -4
  27. package/dist/{authClient-D06srBQE.d.cts → authClient-B3P6WtWW.d.cts} +4 -4
  28. package/dist/billing/index.cjs +0 -1
  29. package/dist/billing/index.cjs.map +1 -1
  30. package/dist/billing/index.d.cts +27 -27
  31. package/dist/billing/index.d.ts +27 -27
  32. package/dist/billing/index.js +0 -1
  33. package/dist/billing/index.js.map +1 -1
  34. package/dist/billing/types.d.cts +26 -22
  35. package/dist/billing/types.d.ts +26 -22
  36. package/dist/chat/index.d.cts +2 -2
  37. package/dist/chat/index.d.ts +2 -2
  38. package/dist/chat/types.d.cts +1 -1
  39. package/dist/chat/types.d.ts +1 -1
  40. package/dist/componentsMcp/index.d.cts +1 -1
  41. package/dist/componentsMcp/index.d.ts +1 -1
  42. package/dist/componentsMcp/types.d.cts +1 -1
  43. package/dist/componentsMcp/types.d.ts +1 -1
  44. package/dist/{configurations-DKINmjA3.js → configurations-B44z6BSO.js} +2 -2
  45. package/dist/{configurations-DKINmjA3.js.map → configurations-B44z6BSO.js.map} +1 -1
  46. package/dist/{configurations-B2O8AAy0.cjs → configurations-Dkxsa3Uf.cjs} +2 -2
  47. package/dist/{configurations-B2O8AAy0.cjs.map → configurations-Dkxsa3Uf.cjs.map} +1 -1
  48. package/dist/constants/index.cjs +4 -1
  49. package/dist/constants/index.d.cts +4 -3
  50. package/dist/constants/index.d.ts +4 -3
  51. package/dist/constants/index.js +2 -2
  52. package/dist/{constants-a0jswUeK.cjs → constants-DErcRkWl.cjs} +95 -2
  53. package/dist/constants-DErcRkWl.cjs.map +1 -0
  54. package/dist/{constants-CA4UN2Xv.js → constants-VpSwBtCb.js} +78 -3
  55. package/dist/constants-VpSwBtCb.js.map +1 -0
  56. package/dist/dataScience/index.d.cts +2 -2
  57. package/dist/dataScience/index.d.ts +2 -2
  58. package/dist/dataScience/types.d.cts +2 -2
  59. package/dist/dataScience/types.d.ts +2 -2
  60. package/dist/developerPortal/index.d.cts +2 -2
  61. package/dist/developerPortal/index.d.ts +2 -2
  62. package/dist/developerPortal/types.d.cts +1 -1
  63. package/dist/developerPortal/types.d.ts +1 -1
  64. package/dist/domain/permissions/index.cjs +7 -42
  65. package/dist/domain/permissions/index.d.cts +6 -2
  66. package/dist/domain/permissions/index.d.ts +6 -2
  67. package/dist/domain/permissions/index.js +2 -38
  68. package/dist/domain/storageTable/index.d.cts +1 -1
  69. package/dist/domain/storageTable/index.d.ts +1 -1
  70. package/dist/editor/index.d.cts +2 -2
  71. package/dist/editor/index.d.ts +2 -2
  72. package/dist/editor/types.d.cts +1 -1
  73. package/dist/editor/types.d.ts +1 -1
  74. package/dist/encryption/index.d.cts +1 -1
  75. package/dist/encryption/index.d.ts +1 -1
  76. package/dist/encryption/types.d.cts +1 -1
  77. package/dist/encryption/types.d.ts +1 -1
  78. package/dist/import/index.d.cts +3 -3
  79. package/dist/import/index.d.ts +3 -3
  80. package/dist/{index-Cc5wSIRJ.d.cts → index-BM_fXKq5.d.cts} +5 -5
  81. package/dist/{index-ChDl6ig5.d.cts → index-BPMr8PQJ.d.ts} +16 -3
  82. package/dist/{index-CzHrIfZS.d.ts → index-BT88-GpA.d.ts} +73 -3
  83. package/dist/{index-ByLCYBaw.d.cts → index-BVjhAkXW.d.cts} +4 -4
  84. package/dist/{index-C40Fbj-6.d.cts → index-Be2dNJ_N.d.cts} +71 -64
  85. package/dist/{index-m7fX76x3.d.ts → index-BiZR9BjN.d.ts} +4 -4
  86. package/dist/{index-BLvmyehw.d.ts → index-C6oPUTWZ.d.ts} +3 -3
  87. package/dist/{index-sDHBkJhU.d.ts → index-CL4iKFic.d.cts} +16 -3
  88. package/dist/{index-Co2Cd-nw.d.cts → index-CbZQCDkD.d.cts} +3 -3
  89. package/dist/{index-D91RxB_S.d.cts → index-CrrHvDiX.d.cts} +4 -4
  90. package/dist/{index-CpUYVB-d.d.cts → index-CtQl-Iqw.d.cts} +4 -4
  91. package/dist/{index-avzO5sLa.d.ts → index-D6JMbJ9b.d.ts} +4 -4
  92. package/dist/{index-BCjU-g9t.d.cts → index-DGKCTQkb.d.cts} +3 -3
  93. package/dist/{index-BIldED4N.d.ts → index-DReKz9Zt.d.ts} +4 -4
  94. package/dist/{index-CpGmmJbt.d.cts → index-DYNVbgm8.d.cts} +4 -4
  95. package/dist/{index-BTrxCk90.d.ts → index-DhZTIejy.d.ts} +3 -3
  96. package/dist/{index-BHiJu8LF.d.cts → index-Dkb8CynB.d.cts} +16 -5
  97. package/dist/{index-DlZiWfQb.d.ts → index-DorowSay.d.ts} +16 -5
  98. package/dist/{index-VlzlOBkc.d.cts → index-PqJGDHHl.d.cts} +73 -3
  99. package/dist/{index-DzLXtE4Q.d.ts → index-XcnkRVb0.d.ts} +5 -5
  100. package/dist/{index-CIqWOEWD.d.ts → index-dgu6udMy.d.ts} +4 -4
  101. package/dist/{index-P1vR966i.d.cts → index-fMoM8SeH.d.cts} +4 -4
  102. package/dist/{index-P1vR966i.d.ts → index-fMoM8SeH.d.ts} +4 -4
  103. package/dist/{index-B3QTeqfL.d.ts → index-uGRdAORl.d.ts} +71 -64
  104. package/dist/index.cjs +10 -6
  105. package/dist/index.cjs.map +1 -1
  106. package/dist/index.d.cts +6 -6
  107. package/dist/index.d.ts +6 -6
  108. package/dist/index.js +8 -7
  109. package/dist/index.js.map +1 -1
  110. package/dist/kaiAgent/index.d.cts +2 -2
  111. package/dist/kaiAgent/index.d.ts +2 -2
  112. package/dist/kaiAgent/types.d.cts +1 -1
  113. package/dist/kaiAgent/types.d.ts +1 -1
  114. package/dist/management/index.cjs +1 -1
  115. package/dist/management/index.d.cts +1 -1
  116. package/dist/management/index.d.ts +1 -1
  117. package/dist/management/index.js +1 -1
  118. package/dist/management/types.cjs +14 -0
  119. package/dist/management/types.cjs.map +1 -0
  120. package/dist/management/types.d.cts +2 -2
  121. package/dist/management/types.d.ts +2 -2
  122. package/dist/management/types.js +12 -1
  123. package/dist/management/types.js.map +1 -0
  124. package/dist/{management-CXHnxVaZ.cjs → management-B1o6RpKF.cjs} +9 -15
  125. package/dist/management-B1o6RpKF.cjs.map +1 -0
  126. package/dist/{management-NYAD6ej4.js → management-C9w3DNhs.js} +9 -15
  127. package/dist/management-C9w3DNhs.js.map +1 -0
  128. package/dist/metastore/index.d.cts +1 -1
  129. package/dist/metastore/index.d.ts +1 -1
  130. package/dist/metastore/types.d.cts +1 -1
  131. package/dist/metastore/types.d.ts +1 -1
  132. package/dist/microsoftGraph/index.d.cts +2 -2
  133. package/dist/microsoftGraph/index.d.ts +2 -2
  134. package/dist/microsoftGraph/types.d.cts +1 -1
  135. package/dist/microsoftGraph/types.d.ts +1 -1
  136. package/dist/notifications/index.d.cts +2 -2
  137. package/dist/notifications/index.d.ts +2 -2
  138. package/dist/notifications/types.d.cts +1 -1
  139. package/dist/notifications/types.d.ts +1 -1
  140. package/dist/oauth/index.d.cts +2 -2
  141. package/dist/oauth/index.d.ts +2 -2
  142. package/dist/oauth/types.d.cts +1 -1
  143. package/dist/oauth/types.d.ts +1 -1
  144. package/dist/omnisearch/index.d.cts +2 -2
  145. package/dist/omnisearch/index.d.ts +2 -2
  146. package/dist/omnisearch/types.d.cts +1 -1
  147. package/dist/omnisearch/types.d.ts +1 -1
  148. package/dist/project-ClH22nzH.js +86 -0
  149. package/dist/project-ClH22nzH.js.map +1 -0
  150. package/dist/{project-nbv9yjpl.d.ts → project-DTfBtIJs.d.ts} +4 -3
  151. package/dist/project-Rh4nXiWh.cjs +139 -0
  152. package/dist/project-Rh4nXiWh.cjs.map +1 -0
  153. package/dist/{project-Dzu85cqr.d.cts → project-vOnvjo80.d.cts} +4 -3
  154. package/dist/queryService/index.d.cts +1 -1
  155. package/dist/queryService/index.d.ts +1 -1
  156. package/dist/queryService/types.d.cts +1 -1
  157. package/dist/queryService/types.d.ts +1 -1
  158. package/dist/queue/index.d.cts +3 -3
  159. package/dist/queue/index.d.ts +3 -3
  160. package/dist/queue/types.d.cts +1 -1
  161. package/dist/queue/types.d.ts +1 -1
  162. package/dist/scheduler/index.d.cts +2 -2
  163. package/dist/scheduler/index.d.ts +2 -2
  164. package/dist/scheduler/types.d.cts +1 -1
  165. package/dist/scheduler/types.d.ts +1 -1
  166. package/dist/sdk/configurations/index.cjs +1 -1
  167. package/dist/sdk/configurations/index.d.cts +2 -2
  168. package/dist/sdk/configurations/index.d.ts +2 -2
  169. package/dist/sdk/configurations/index.js +1 -1
  170. package/dist/sdk/developerPortal/index.d.cts +3 -3
  171. package/dist/sdk/developerPortal/index.d.ts +3 -3
  172. package/dist/sdk/kaiMemory/index.d.cts +1 -1
  173. package/dist/sdk/kaiMemory/index.d.ts +1 -1
  174. package/dist/sdk/kaiMemory/types.d.cts +1 -1
  175. package/dist/sdk/kaiMemory/types.d.ts +1 -1
  176. package/dist/sdk/queryService/index.d.cts +1 -1
  177. package/dist/sdk/queryService/index.d.ts +1 -1
  178. package/dist/sdk/semanticLayer/index.d.cts +1 -1
  179. package/dist/sdk/semanticLayer/index.d.ts +1 -1
  180. package/dist/sdk/semanticLayer/types.d.cts +1 -1
  181. package/dist/sdk/semanticLayer/types.d.ts +1 -1
  182. package/dist/sdk/tag/index.d.cts +2 -2
  183. package/dist/sdk/tag/index.d.ts +2 -2
  184. package/dist/sdk/tag/types.d.cts +1 -1
  185. package/dist/sdk/tag/types.d.ts +1 -1
  186. package/dist/sdk/vault/index.d.cts +1 -1
  187. package/dist/sdk/vault/index.d.ts +1 -1
  188. package/dist/status/index.d.cts +1 -1
  189. package/dist/status/index.d.ts +1 -1
  190. package/dist/storage/index.cjs +4 -1
  191. package/dist/storage/index.d.cts +3 -3
  192. package/dist/storage/index.d.ts +3 -3
  193. package/dist/storage/index.js +2 -2
  194. package/dist/storage/types.d.cts +5 -5
  195. package/dist/storage/types.d.ts +5 -5
  196. package/dist/{storage-BR-Kgi-6.js → storage-CChfKlrb.js} +25 -2
  197. package/dist/{storage-CVBXivpB.cjs.map → storage-CChfKlrb.js.map} +1 -1
  198. package/dist/{storage-CVBXivpB.cjs → storage-Ci9gXgcw.cjs} +42 -1
  199. package/dist/storage-Ci9gXgcw.cjs.map +1 -0
  200. package/dist/stream/index.d.cts +2 -2
  201. package/dist/stream/index.d.ts +2 -2
  202. package/dist/stream/types.d.cts +1 -1
  203. package/dist/stream/types.d.ts +1 -1
  204. package/dist/syncActions/index.d.cts +2 -2
  205. package/dist/syncActions/index.d.ts +2 -2
  206. package/dist/syncActions/types.d.cts +1 -1
  207. package/dist/syncActions/types.d.ts +1 -1
  208. package/dist/telemetry/index.d.cts +2 -2
  209. package/dist/telemetry/index.d.ts +2 -2
  210. package/dist/telemetry/types.d.cts +1 -1
  211. package/dist/telemetry/types.d.ts +1 -1
  212. package/dist/{types-Cn8I0vcr.d.ts → types-0R9-osUJ.d.ts} +2 -2
  213. package/dist/{types-CfZLdfAL.d.ts → types-302-NBaU.d.ts} +3 -3
  214. package/dist/{types-BWYtQkHu.d.ts → types-45O2dU2w.d.ts} +2 -2
  215. package/dist/{types-DMpiG2q4.d.cts → types-BAsYMltG.d.cts} +2 -2
  216. package/dist/{types-Vu09EUZs.d.ts → types-BM6rri7-.d.ts} +3 -3
  217. package/dist/{types-BaqdM92a.d.ts → types-BOT6TgOS.d.ts} +2 -2
  218. package/dist/{types-CwQ8_n8q.d.ts → types-BT5e9TSQ.d.ts} +26 -27
  219. package/dist/{types-C-GSYDTN.d.ts → types-BUirSne-.d.ts} +3 -3
  220. package/dist/{types-1LENlL5h.d.ts → types-BWzt1ju_.d.ts} +3 -3
  221. package/dist/{types-Cc4yTEdK.d.ts → types-BXybSjn-.d.ts} +2 -2
  222. package/dist/{types-BXHZQvGy.d.ts → types-BZ--6pIt.d.ts} +2 -2
  223. package/dist/{types-BYFU_6Iz.d.ts → types-BjwbzqJd.d.ts} +2 -2
  224. package/dist/{types-EkyQ0_10.d.cts → types-BnmsuDfH.d.cts} +2 -2
  225. package/dist/{types-9d8ihjZh.d.cts → types-BrpIEj_N.d.ts} +2 -2
  226. package/dist/{types-D3mj56iq.d.cts → types-C614wC5h.d.cts} +2 -2
  227. package/dist/{types-Cfc-fYbq.d.cts → types-CTS2NSIb.d.cts} +2 -2
  228. package/dist/{types-CNkQuWnO.d.cts → types-CY8X39qv.d.cts} +3 -3
  229. package/dist/{types-D3H3EAre.d.ts → types-CeqZuOEC.d.ts} +2 -2
  230. package/dist/{types-DgOLSRiy.d.ts → types-CfXqFz2e.d.ts} +5 -3
  231. package/dist/{types-BbwrMl0Q.d.cts → types-ChLWY8aU.d.cts} +2 -2
  232. package/dist/{types-CwGbiMF-.d.cts → types-CjNl7O7f.d.cts} +3 -3
  233. package/dist/{types-C4eQ-Zcx.d.cts → types-CkJxMoTk.d.cts} +2 -2
  234. package/dist/{types-DXF6faow.d.cts → types-CpJhWBmH.d.cts} +2 -2
  235. package/dist/{types-c4h2YDMC.d.ts → types-D2Pb_4FA.d.cts} +2 -2
  236. package/dist/{types-VehpPOQX.d.ts → types-D53zBV25.d.ts} +2 -2
  237. package/dist/{types-Bt8CEZ6K.d.ts → types-D9ZKJYZk.d.ts} +2 -2
  238. package/dist/{types-DfJP6Dti.d.ts → types-DODAZKEm.d.ts} +2 -2
  239. package/dist/{types-wNuJUhco.d.cts → types-DV7K07oX.d.cts} +2 -2
  240. package/dist/{types-CXv_e6xC.d.cts → types-DbXV0g8U.d.cts} +2 -2
  241. package/dist/{types-UySfduQo.d.ts → types-DjadPty5.d.ts} +2 -2
  242. package/dist/{types-BTy_FFSu.d.ts → types-DlhNay1n.d.ts} +2 -2
  243. package/dist/{types-CrJIILXf.d.cts → types-DmzSFOhK.d.cts} +2 -2
  244. package/dist/{types-EmIcG-8K.d.cts → types-DpbrGDRf.d.cts} +2 -2
  245. package/dist/{types-Ce5Blzhg.d.ts → types-DqOxIujY.d.ts} +2 -2
  246. package/dist/{types-NSxpnYW5.d.cts → types-Duurgaqk.d.cts} +2 -2
  247. package/dist/{types-CpWE6Yg2.d.ts → types-Dy6EdWPG.d.ts} +2 -2
  248. package/dist/{types-6KabdIyO.d.cts → types-HmK8iKp5.d.cts} +3 -3
  249. package/dist/{types-DlgqPU_4.d.cts → types-JZ0Bdlpk.d.cts} +2 -2
  250. package/dist/{types-sOM2_KPc.d.cts → types-O6XM48J8.d.cts} +2 -2
  251. package/dist/{types-QPW-7dPm.d.ts → types-RogkWzOu.d.ts} +2 -2
  252. package/dist/{types-Dn1G-qv4.d.cts → types-TmrPVMhy.d.cts} +26 -27
  253. package/dist/{types-C9VaQSqV.d.ts → types-_zKX6JmD.d.ts} +2 -2
  254. package/dist/{types-0ZAMQhva.d.cts → types-dn6MHur3.d.cts} +5 -3
  255. package/dist/{types-BtS3DhGu.d.cts → types-jN2KmMet.d.cts} +2 -2
  256. package/dist/{types-D8d5tyGi.d.cts → types-jfPoUlO8.d.cts} +2 -2
  257. package/dist/{types-C_raqbl-.d.cts → types-ptynVnkv.d.cts} +3 -3
  258. package/dist/{types-B7L6uSYb.d.ts → types-tdIo5FpR.d.ts} +2 -2
  259. package/dist/{types-DSBrhK_K.d.cts → types-vvw_H7wp.d.cts} +2 -2
  260. package/dist/vault/index.d.cts +1 -1
  261. package/dist/vault/index.d.ts +1 -1
  262. package/dist/vault/types.d.cts +1 -1
  263. package/dist/vault/types.d.ts +1 -1
  264. package/package.json +1 -1
  265. package/surface/apps.md +7 -7
  266. package/surface/billing.md +2 -2
  267. package/surface/management.md +2 -1
  268. package/dist/constants-CA4UN2Xv.js.map +0 -1
  269. package/dist/constants-a0jswUeK.cjs.map +0 -1
  270. package/dist/domain/permissions/index.cjs.map +0 -1
  271. package/dist/domain/permissions/index.js.map +0 -1
  272. package/dist/management-CXHnxVaZ.cjs.map +0 -1
  273. package/dist/management-NYAD6ej4.js.map +0 -1
  274. package/dist/project-BXLFrWJ6.js +0 -45
  275. package/dist/project-BXLFrWJ6.js.map +0 -1
  276. package/dist/project-CpgplgCr.cjs +0 -62
  277. package/dist/project-CpgplgCr.cjs.map +0 -1
  278. package/dist/storage-BR-Kgi-6.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-sDHBkJhU.js";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-BPMr8PQJ.js";
2
2
  //#region src/clients/vault/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -392,4 +392,4 @@ type VariableWithHash = Omit<VariableWithHashRaw, 'hash'> & {
392
392
  type AnyVariable = VariableWithHash | CreateVariableBody;
393
393
  //#endregion
394
394
  export { GetVariablesQuery as a, GetVariablesByBranchId as i, CreateVariableBody as n, VariableWithHash as o, DeleteVariablePath as r, AnyVariable as t };
395
- //# sourceMappingURL=types-UySfduQo.d.ts.map
395
+ //# sourceMappingURL=types-DjadPty5.d.ts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-sDHBkJhU.js";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-BPMr8PQJ.js";
2
2
  //#region src/clients/notifications/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -402,4 +402,4 @@ type SubscriptionRecipient = CreateSubscriptionBody['recipient'];
402
402
  type SubscriptionFilter = NonNullable<CreateSubscriptionBody['filters']>[number];
403
403
  //#endregion
404
404
  export { SubscriptionId as a, SubscriptionFilter as i, ListSubscriptionsQuery as n, SubscriptionRecipient as o, ProjectSubscription as r, components as s, CreateSubscriptionBody as t };
405
- //# sourceMappingURL=types-BTy_FFSu.d.ts.map
405
+ //# sourceMappingURL=types-DlhNay1n.d.ts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-CL4iKFic.cjs";
2
2
  //#region src/clients/notifications/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -402,4 +402,4 @@ type SubscriptionRecipient = CreateSubscriptionBody['recipient'];
402
402
  type SubscriptionFilter = NonNullable<CreateSubscriptionBody['filters']>[number];
403
403
  //#endregion
404
404
  export { SubscriptionId as a, SubscriptionFilter as i, ListSubscriptionsQuery as n, SubscriptionRecipient as o, ProjectSubscription as r, components as s, CreateSubscriptionBody as t };
405
- //# sourceMappingURL=types-CrJIILXf.d.cts.map
405
+ //# sourceMappingURL=types-DmzSFOhK.d.cts.map
@@ -1,4 +1,4 @@
1
- import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-ChDl6ig5.cjs";
1
+ import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-CL4iKFic.cjs";
2
2
  //#region src/clients/telemetry/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -286,4 +286,4 @@ type GetProvisioningTokenBody = NonNullable<OpenapiBodyType<paths['/token']['pos
286
286
  type ProvisioningToken = OpenapiReturnType<paths['/token']['post']>;
287
287
  //#endregion
288
288
  export { ProvisioningToken as n, GetProvisioningTokenBody as t };
289
- //# sourceMappingURL=types-EmIcG-8K.d.cts.map
289
+ //# sourceMappingURL=types-DpbrGDRf.d.cts.map
@@ -1,4 +1,4 @@
1
- import { a as OpenapiFormDataType } from "./index-sDHBkJhU.js";
1
+ import { a as OpenapiFormDataType } from "./index-BPMr8PQJ.js";
2
2
  //#region src/clients/import/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -460,4 +460,4 @@ type WriteTableInput = Omit<WriteTableFormData, 'data'> & {
460
460
  };
461
461
  //#endregion
462
462
  export { WriteTableInput as n, UploadFileInput as t };
463
- //# sourceMappingURL=types-Ce5Blzhg.d.ts.map
463
+ //# sourceMappingURL=types-DqOxIujY.d.ts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-CL4iKFic.cjs";
2
2
  //#region src/clients/kaiAgent/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -4336,4 +4336,4 @@ type ArtifactResponse = OpenapiReturnType<paths['/api/artifacts/{id}']['get']>;
4336
4336
  type ArtifactListResponse = OpenapiReturnType<paths['/api/artifacts']['get']>;
4337
4337
  //#endregion
4338
4338
  export { ChatWithMessages as a, GetChatPath as c, PrepareChatRequest as d, UsageResponse as f, ChatRequest as i, GetHistoryQuery as l, ArtifactListResponse as n, GetArtifactPath as o, VoteRequest as p, ArtifactResponse as r, GetArtifactsQuery as s, ApprovalBody as t, GetVotesQuery as u };
4339
- //# sourceMappingURL=types-NSxpnYW5.d.cts.map
4339
+ //# sourceMappingURL=types-Duurgaqk.d.cts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-sDHBkJhU.js";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-BPMr8PQJ.js";
2
2
  //#region src/clients/editor/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -1408,4 +1408,4 @@ type PostSqlSessionUnloadPath = OpenapiPathType<paths['/sql/sessions/{id}/unload
1408
1408
  type PostSqlSessionUnloadBody = OpenapiBodyType<paths['/sql/sessions/{id}/unload']['post']>;
1409
1409
  //#endregion
1410
1410
  export { components as C, SqlSession as S, SessionSchema as _, GetSqlSessionTableDdlPath as a, SessionSchemaDatabase as b, PostSqlRunQueryBody as c, PostSqlSessionLoadPath as d, PostSqlSessionUnloadBody as f, Session as g, PostSqlTablePreviewPath as h, GetSqlSessionSchemaQuery as i, PostSqlRunQueryPath as l, PostSqlTablePreviewBody as m, GetSqlSessionPath as n, GetSqlSessionTableDdlQuery as o, PostSqlSessionUnloadPath as p, GetSqlSessionSchemaPath as r, GetSqlSessionsQuery as s, CreateSqlSessionBody as t, PostSqlSessionLoadBody as u, SessionSchemaBucket as v, SessionSchemaTable as x, SessionSchemaColumn as y };
1411
- //# sourceMappingURL=types-CpWE6Yg2.d.ts.map
1411
+ //# sourceMappingURL=types-Dy6EdWPG.d.ts.map
@@ -1,5 +1,5 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
2
- import "./appLogs-SjrflOHk.cjs";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-CL4iKFic.cjs";
2
+ import "./appLogs-IhRA3xyv.cjs";
3
3
  //#region src/clients/dataScience/__generated__/schema.d.ts
4
4
  /**
5
5
  * This file was auto-generated by openapi-typescript.
@@ -2400,4 +2400,4 @@ type PatchDataAppBodyStopped = {
2400
2400
  type PatchDataAppBody = PatchDataAppBodyRunning | PatchDataAppBodyStopped;
2401
2401
  //#endregion
2402
2402
  export { RuntimeImageKey as C, Runtime as S, GetSandboxPath as _, DataAppRun as a, RawAppRun as b, GetAppsQuery as c, GetDataAppLogsTailQuery as d, GetDataAppPasswordPath as f, GetDataAppRunsQuery as g, GetDataAppRunsPath as h, DataAppPreviewLink as i, GetDataAppLogsDownloadPath as l, GetDataAppRunPath as m, CreateDataAppPreviewLinkPath as n, DeleteDataAppPath as o, GetDataAppPath as p, DataApp as r, DeleteSandboxPath as s, CreateDataAppBody as t, GetDataAppLogsTailPath as u, PatchDataAppBody as v, Sandbox as w, ResetDataAppPasswordPath as x, PatchDataAppPath as y };
2403
- //# sourceMappingURL=types-6KabdIyO.d.cts.map
2403
+ //# sourceMappingURL=types-HmK8iKp5.d.cts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-CL4iKFic.cjs";
2
2
  //#region src/clients/editor/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -1408,4 +1408,4 @@ type PostSqlSessionUnloadPath = OpenapiPathType<paths['/sql/sessions/{id}/unload
1408
1408
  type PostSqlSessionUnloadBody = OpenapiBodyType<paths['/sql/sessions/{id}/unload']['post']>;
1409
1409
  //#endregion
1410
1410
  export { components as C, SqlSession as S, SessionSchema as _, GetSqlSessionTableDdlPath as a, SessionSchemaDatabase as b, PostSqlRunQueryBody as c, PostSqlSessionLoadPath as d, PostSqlSessionUnloadBody as f, Session as g, PostSqlTablePreviewPath as h, GetSqlSessionSchemaQuery as i, PostSqlRunQueryPath as l, PostSqlTablePreviewBody as m, GetSqlSessionPath as n, GetSqlSessionTableDdlQuery as o, PostSqlSessionUnloadPath as p, GetSqlSessionSchemaPath as r, GetSqlSessionsQuery as s, CreateSqlSessionBody as t, PostSqlSessionLoadBody as u, SessionSchemaBucket as v, SessionSchemaTable as x, SessionSchemaColumn as y };
1411
- //# sourceMappingURL=types-DlgqPU_4.d.cts.map
1411
+ //# sourceMappingURL=types-JZ0Bdlpk.d.cts.map
@@ -1,4 +1,4 @@
1
- import { ii as BaseUrl, oi as MiddlewareFn } from "./index-ChDl6ig5.cjs";
1
+ import { li as MiddlewareFn, si as BaseUrl } from "./index-CL4iKFic.cjs";
2
2
  //#region src/clients/auth.d.ts
3
3
  type AuthStrategy = {
4
4
  type: 'sapi-token';
@@ -20,4 +20,4 @@ type ClientInitOptions = {
20
20
  };
21
21
  //#endregion
22
22
  export { ClientInitOptions as n, AuthStrategy as r, BaseClientOptions as t };
23
- //# sourceMappingURL=types-sOM2_KPc.d.cts.map
23
+ //# sourceMappingURL=types-O6XM48J8.d.cts.map
@@ -1,4 +1,4 @@
1
- import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-sDHBkJhU.js";
1
+ import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-BPMr8PQJ.js";
2
2
  //#region src/clients/telemetry/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -286,4 +286,4 @@ type GetProvisioningTokenBody = NonNullable<OpenapiBodyType<paths['/token']['pos
286
286
  type ProvisioningToken = OpenapiReturnType<paths['/token']['post']>;
287
287
  //#endregion
288
288
  export { ProvisioningToken as n, GetProvisioningTokenBody as t };
289
- //# sourceMappingURL=types-QPW-7dPm.d.ts.map
289
+ //# sourceMappingURL=types-RogkWzOu.d.ts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-CL4iKFic.cjs";
2
2
  //#region src/clients/management/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -18029,11 +18029,30 @@ type MaintainerMetadataItemPath = MaintainerPath & {
18029
18029
  type PayAsYouGoBillingConfiguration = Omit<OpenapiReturnType<paths['/pay-as-you-go/billing/configuration']['get']>, 'credit-price'> & {
18030
18030
  'credit-price': number;
18031
18031
  };
18032
- /** Tightens the two Stripe enums the spec types as bare strings, and marks `moneyAmount` nullable. */
18032
+ /** The `invoiceTopUpType` of a credit purchase paid over x402. */
18033
+ declare const X402_TOP_UP_TYPE = "x402";
18034
+ declare const X402_PAYMENT_STATUS: {
18035
+ readonly PENDING: 'pending';
18036
+ readonly SETTLED: 'settled';
18037
+ readonly EXPIRED: 'expired';
18038
+ };
18039
+ type X402PaymentStatus = (typeof X402_PAYMENT_STATUS)[keyof typeof X402_PAYMENT_STATUS];
18040
+ /**
18041
+ * A credit purchase of a pay-as-you-go project.
18042
+ *
18043
+ * - Tightens the two Stripe enums the spec types as bare strings, and marks `moneyAmount` nullable.
18044
+ * - `x402` rows carry the payment fields; every other row has them `null`, or omits them.
18045
+ * - The payment fields are typed by hand: the generated spec does not document them yet.
18046
+ */
18033
18047
  type CreditPurchase = Omit<OpenapiReturnType<paths['/pay-as-you-go/billing/credits']['post']>[number], 'moneyAmount' | 'invoiceTopUpType' | 'stripeInvoiceStatus'> & {
18034
18048
  moneyAmount: number | null;
18035
- invoiceTopUpType: 'automatic' | 'manual' | null;
18049
+ invoiceTopUpType: 'automatic' | 'manual' | typeof X402_TOP_UP_TYPE | null;
18036
18050
  stripeInvoiceStatus: 'draft' | 'open' | 'paid' | 'uncollectible' | 'void' | null;
18051
+ /** The payment network, e.g. `x402-base`; it scopes `externalPaymentId`. */
18052
+ paymentProvider?: string | null;
18053
+ paymentStatus?: X402PaymentStatus | null;
18054
+ /** The settlement transaction hash; `null` until the payment settles. */
18055
+ externalPaymentId?: string | null;
18037
18056
  };
18038
18057
  type StripeCustomer = OpenapiReturnType<paths['/pay-as-you-go/billing/stripe-customer']['get']>;
18039
18058
  type StripeCustomerCard = StripeCustomer['cards'][number];
@@ -18052,29 +18071,9 @@ type CreditPaymentRequest = Omit<OpenapiReturnType<paths['/pay-as-you-go/billing
18052
18071
  type CreatePaymentRequestBody = OpenapiBodyType<paths['/pay-as-you-go/billing/create-payment-request']['post']>;
18053
18072
  //#endregion
18054
18073
  //#region src/clients/management/programmaticProjects/types.d.ts
18055
- /**
18056
- * `POST /manage/programmatic-projects/confirm`, hand-declared.
18057
- *
18058
- * - Production's spec lacks this path; replace both types with the generated
18059
- * `operations['post_/manage/programmatic-projects/confirm::…']` once it has it.
18060
- */
18061
- type ConfirmProgrammaticProjectPayload = {
18062
- /** `kbc_apc_<claimId>_<secret>`. Omit to use the `HttpOnly` claim cookie (e.g. after sign-up/IdP);
18063
- * the body wins over the cookie. */
18064
- claimToken?: string;
18065
- };
18066
- /**
18067
- * The confirmed project and the account that now owns it.
18068
- *
18069
- * - No token: the claim is spent and the agent's session revoked.
18070
- */
18071
- type ConfirmProgrammaticProjectResult = {
18072
- project: {
18073
- id: number;
18074
- };
18075
- confirmedByAdminId: number;
18076
- };
18077
18074
  type ProgrammaticProjectClaim = OpenapiReturnType<paths['/manage/programmatic-projects/claim']['get']>;
18075
+ type ConfirmProgrammaticProjectBody = OpenapiBodyType<paths['/manage/programmatic-projects/confirm']['post']>;
18076
+ type ConfirmProgrammaticProjectResult = OpenapiReturnType<paths['/manage/programmatic-projects/confirm']['post']>;
18078
18077
  //#endregion
18079
18078
  //#region src/clients/management/users/types.d.ts
18080
18079
  type AddUserFeaturePath = {
@@ -18421,5 +18420,5 @@ type ProjectRetentionWorkspace = {
18421
18420
  //#region src/clients/management/tokenTypes.d.ts
18422
18421
  type ManagementToken = components['schemas']['ManageTokenVerifyResponse'];
18423
18422
  //#endregion
18424
- export { MoveProjectInput as $, SetUpBigQueryBody as $n, TopUpSetting as $t, UpdateStorageBackendInput as A, UpdateSamlConfigBody as An, OrganizationInvitation as Ar, DeleteUserMetadataPath as At, CreateProjectInvitationBody as B, OrganizationDetail as Bn, UserMaintainerMembership as Bt, StorageBackendBigquery as C, SamlConfigDetail as Cn, DeletedProjectPurgeResult as Cr, SetProjectMetadataPath as Ct, UpdateBigqueryStorageBackendBody as D, SetMaintainerMetadataInput as Dn, DeletedProjectsStats as Dr, UpdateProjectInput as Dt, StorageBackendProject as E, SetMaintainerMetadataBody as En, DeletedProjectsPage as Er, UpdateProjectBody as Et, ChangeProjectUserRoleBody as F, CreateOrganizationInvitationBody as Fn, CreateApplicationTokenBody as Fr, UpdateUserBody as Ft, GetProjectPath as G, OrganizationMetadataItemPath as Gn, ConfirmProgrammaticProjectResult as Gt, DeleteProjectInvitationPath as H, OrganizationInvitationPath as Hn, UserPath as Ht, ChangeProjectUserRoleInput as I, CreateOrganizationInvitationInput as In, CreatedApplicationToken as Ir, UpdateUserInput as It, JoinProjectInput as J, OrganizationUserPath as Jn, CreditPaymentRequest as Jt, GetProjectReviewersPath as K, OrganizationPath as Kn, ProgrammaticProjectClaim as Kt, ChangeProjectUserRolePath as L, CreateOrganizationProjectBody as Ln, components as Lr, User as Lt, AddProjectUserPath as M, AddOrganizationUserBody as Mn, ProjectJoinRequest as Mr, RemoveUserFeaturePath as Mt, AssignFeatureBody as N, AddOrganizationUserInput as Nn, ApplicationToken as Nr, SetUserMetadataBody as Nt, UpdateBigqueryStorageBackendInput as O, UpdateMaintainerBody as On, DeletedProjectsStatus as Or, AddUserFeatureBody as Ot, AssignProjectTemplateFeatureInput as P, AdminUser as Pn, ApplicationTokenScope as Pr, SetUserMetadataInput as Pt, MoveProjectBody as Q, UpdateOrganizationInput as Qn, StripeCustomerCard as Qt, CreateProjectFeatureBody as R, CreateOrganizationProjectInput as Rn, paths as Rr, UserDetail as Rt, StorageBackend as S, MetadataItem as Sn, DeletedProject as Sr, SetProjectMetadataBody as St, StorageBackendPath as T, SamlConfigSummary as Tn, DeletedProjectsListQuery as Tr, SetProjectReviewersPath as Tt, DeleteProjectMetadataPath as U, OrganizationListItem as Un, UserProjectMembership as Ut, CreateProjectInvitationPath as V, OrganizationInvitationDetail as Vn, UserOrganizationMembership as Vt, GetProjectMetadataPath as W, OrganizationMaintainer as Wn, ConfirmProgrammaticProjectPayload as Wt, ListProjectJoinRequestsPath as X, SetOrganizationMetadataInput as Xn, PayAsYouGoBillingConfiguration as Xt, ListProjectInvitationsPath as Y, SetOrganizationMetadataBody as Yn, CreditPurchase as Yt, ListProjectUsersPath as Z, UpdateOrganizationBody as Zn, StripeCustomer as Zt, PolicyTagEnablementGuide as _, MaintainerInvitationPath as _n, Feature as _r, Reviewer as _t, GetUiAppsQuery as a, CompleteSamlSetupInput as an, FileStorageGcs as ar, ProjectJoinRequestPath as at, PolicyTagEnablementGuideQuery as b, MaintainerUser as bn, FeatureType as br, SetProjectLimitsBody as bt, UiApp as c, CreateMaintainerInvitationInput as cn, RotateFileStorageAbsInput as cr, ProjectPath as ct, UiAppVersion as d, CreateSamlConfigBody as dn, RotateFileStorageGcsInput as dr, RemoveProjectFeaturePath as dt, UpdateStripeCustomerBody as en, CreateFileStorageAbsBody as er, Project as et, CreateBigqueryServerSideStorageBackendBody as f, CreateSamlConfigInput as fn, RotateFileStorageGcsPath as fr, RemoveProjectLimitPath as ft, GetStorageBackendProjectsQuery as g, MaintainerInvitationDetail as gn, UpdateFileStorageBody as gr, RequestProjectAccessInput as gt, CreateSnowflakeStorageBackendResponse as h, MaintainerDetail as hn, RotateFileStorageS3Path as hr, RequestProjectAccessBody as ht, ReactivateWorkspaceResult as i, CompleteSamlSetupBody as in, FileStorageAbs as ir, ProjectJoinRequestDetail as it, AddProjectUserBody as j, UpdateSamlConfigInput as jn, ProjectInvitation as jr, GetUsersQuery as jt, UpdateStorageBackendBody as k, UpdateMaintainerInput as kn, MaintainerInvitation as kr, AddUserFeaturePath as kt, UiAppDetail as l, CreateMaintainerOrganizationBody as ln, RotateFileStorageAbsPath as lr, ProjectTemplate as lt, CreateSnowflakeStorageBackendBody as m, Maintainer as mn, RotateFileStorageS3Input as mr, RemoveProjectUserPath as mt, ProjectRetentionWorkspace as n, AddMaintainerUserBody as nn, CreateFileStorageS3Body as nr, ProjectInvitableRole as nt, RegisterUiAppBody as o, CreateMaintainerBody as on, FileStorageS3 as or, ProjectMetadataInput as ot, CreateBigqueryStorageBackendBody as p, CreateSamlConfigPath as pn, RotateFileStorageS3Body as pr, RemoveProjectTemplateFeaturePath as pt, JoinProjectBody as q, OrganizationProject as qn, CreatePaymentRequestBody as qt, ProjectRetentionWorkspaceState as r, AddMaintainerUserInput as rn, FileStorage as rr, ProjectInvitationDetail as rt, RenameUiAppBody as s, CreateMaintainerInvitationBody as sn, RotateFileStorageAbsBody as sr, ProjectMetadataItem as st, ManagementToken as t, UpdateTopUpSettingBody as tn, CreateFileStorageGcsBody as tr, ProjectBase as tt, UiAppRegistrationResult as u, CreateMaintainerOrganizationInput as un, RotateFileStorageGcsBody as ur, ProjectTemplatePath as ut, PolicyTagEnablementGuideInput as v, MaintainerMetadataItemPath as vn, FeatureAdmin as vr, SetProjectDisabledBody as vt, StorageBackendMaintainer as w, SamlConfigPath as wn, DeletedProjectsListFilter as wr, SetProjectReviewersBody as wt, PolicyTagEnablementGuideSchemaQuery as x, MaintainerUserPath as xn, GetAllFeaturesQuery as xr, SetProjectLimitsInput as xt, PolicyTagEnablementGuidePath as y, MaintainerPath as yn, FeatureProject as yr, SetProjectDisabledInput as yt, CreateProjectFeaturePath as z, Organization as zn, UserListItem as zt };
18425
- //# sourceMappingURL=types-Dn1G-qv4.d.cts.map
18423
+ export { MoveProjectInput as $, SetOrganizationMetadataInput as $n, TopUpSetting as $t, UpdateStorageBackendInput as A, SetMaintainerMetadataInput as An, DeletedProjectsStats as Ar, DeleteUserMetadataPath as At, CreateProjectInvitationBody as B, CreateOrganizationProjectBody as Bn, components as Br, UserMaintainerMembership as Bt, StorageBackendBigquery as C, MaintainerUser as Cn, FeatureType as Cr, SetProjectMetadataPath as Ct, UpdateBigqueryStorageBackendBody as D, SamlConfigPath as Dn, DeletedProjectsListFilter as Dr, UpdateProjectInput as Dt, StorageBackendProject as E, SamlConfigDetail as En, DeletedProjectPurgeResult as Er, UpdateProjectBody as Et, ChangeProjectUserRoleBody as F, AddOrganizationUserBody as Fn, ProjectJoinRequest as Fr, UpdateUserBody as Ft, GetProjectPath as G, OrganizationInvitationPath as Gn, ConfirmProgrammaticProjectResult as Gt, DeleteProjectInvitationPath as H, Organization as Hn, UserPath as Ht, ChangeProjectUserRoleInput as I, AddOrganizationUserInput as In, ApplicationToken as Ir, UpdateUserInput as It, JoinProjectInput as J, OrganizationMetadataItemPath as Jn, CreditPaymentRequest as Jt, GetProjectReviewersPath as K, OrganizationListItem as Kn, ProgrammaticProjectClaim as Kt, ChangeProjectUserRolePath as L, AdminUser as Ln, ApplicationTokenScope as Lr, User as Lt, AddProjectUserPath as M, UpdateMaintainerInput as Mn, MaintainerInvitation as Mr, RemoveUserFeaturePath as Mt, AssignFeatureBody as N, UpdateSamlConfigBody as Nn, OrganizationInvitation as Nr, SetUserMetadataBody as Nt, UpdateBigqueryStorageBackendInput as O, SamlConfigSummary as On, DeletedProjectsListQuery as Or, AddUserFeatureBody as Ot, AssignProjectTemplateFeatureInput as P, UpdateSamlConfigInput as Pn, ProjectInvitation as Pr, SetUserMetadataInput as Pt, MoveProjectBody as Q, SetOrganizationMetadataBody as Qn, StripeCustomerCard as Qt, CreateProjectFeatureBody as R, CreateOrganizationInvitationBody as Rn, CreateApplicationTokenBody as Rr, UserDetail as Rt, StorageBackend as S, MaintainerPath as Sn, FeatureProject as Sr, SetProjectMetadataBody as St, StorageBackendPath as T, MetadataItem as Tn, DeletedProject as Tr, SetProjectReviewersPath as Tt, DeleteProjectMetadataPath as U, OrganizationDetail as Un, UserProjectMembership as Ut, CreateProjectInvitationPath as V, CreateOrganizationProjectInput as Vn, paths as Vr, UserOrganizationMembership as Vt, GetProjectMetadataPath as W, OrganizationInvitationDetail as Wn, ConfirmProgrammaticProjectBody as Wt, ListProjectJoinRequestsPath as X, OrganizationProject as Xn, PayAsYouGoBillingConfiguration as Xt, ListProjectInvitationsPath as Y, OrganizationPath as Yn, CreditPurchase as Yt, ListProjectUsersPath as Z, OrganizationUserPath as Zn, StripeCustomer as Zt, PolicyTagEnablementGuide as _, Maintainer as _n, RotateFileStorageS3Input as _r, Reviewer as _t, GetUiAppsQuery as a, AddMaintainerUserBody as an, CreateFileStorageS3Body as ar, ProjectJoinRequestPath as at, PolicyTagEnablementGuideQuery as b, MaintainerInvitationPath as bn, Feature as br, SetProjectLimitsBody as bt, UiApp as c, CompleteSamlSetupInput as cn, FileStorageGcs as cr, ProjectPath as ct, UiAppVersion as d, CreateMaintainerInvitationInput as dn, RotateFileStorageAbsInput as dr, RemoveProjectFeaturePath as dt, UpdateStripeCustomerBody as en, UpdateOrganizationBody as er, Project as et, CreateBigqueryServerSideStorageBackendBody as f, CreateMaintainerOrganizationBody as fn, RotateFileStorageAbsPath as fr, RemoveProjectLimitPath as ft, GetStorageBackendProjectsQuery as g, CreateSamlConfigPath as gn, RotateFileStorageS3Body as gr, RequestProjectAccessInput as gt, CreateSnowflakeStorageBackendResponse as h, CreateSamlConfigInput as hn, RotateFileStorageGcsPath as hr, RequestProjectAccessBody as ht, ReactivateWorkspaceResult as i, X402_TOP_UP_TYPE as in, CreateFileStorageGcsBody as ir, ProjectJoinRequestDetail as it, AddProjectUserBody as j, UpdateMaintainerBody as jn, DeletedProjectsStatus as jr, GetUsersQuery as jt, UpdateStorageBackendBody as k, SetMaintainerMetadataBody as kn, DeletedProjectsPage as kr, AddUserFeaturePath as kt, UiAppDetail as l, CreateMaintainerBody as ln, FileStorageS3 as lr, ProjectTemplate as lt, CreateSnowflakeStorageBackendBody as m, CreateSamlConfigBody as mn, RotateFileStorageGcsInput as mr, RemoveProjectUserPath as mt, ProjectRetentionWorkspace as n, X402PaymentStatus as nn, SetUpBigQueryBody as nr, ProjectInvitableRole as nt, RegisterUiAppBody as o, AddMaintainerUserInput as on, FileStorage as or, ProjectMetadataInput as ot, CreateBigqueryStorageBackendBody as p, CreateMaintainerOrganizationInput as pn, RotateFileStorageGcsBody as pr, RemoveProjectTemplateFeaturePath as pt, JoinProjectBody as q, OrganizationMaintainer as qn, CreatePaymentRequestBody as qt, ProjectRetentionWorkspaceState as r, X402_PAYMENT_STATUS as rn, CreateFileStorageAbsBody as rr, ProjectInvitationDetail as rt, RenameUiAppBody as s, CompleteSamlSetupBody as sn, FileStorageAbs as sr, ProjectMetadataItem as st, ManagementToken as t, UpdateTopUpSettingBody as tn, UpdateOrganizationInput as tr, ProjectBase as tt, UiAppRegistrationResult as u, CreateMaintainerInvitationBody as un, RotateFileStorageAbsBody as ur, ProjectTemplatePath as ut, PolicyTagEnablementGuideInput as v, MaintainerDetail as vn, RotateFileStorageS3Path as vr, SetProjectDisabledBody as vt, StorageBackendMaintainer as w, MaintainerUserPath as wn, GetAllFeaturesQuery as wr, SetProjectReviewersBody as wt, PolicyTagEnablementGuideSchemaQuery as x, MaintainerMetadataItemPath as xn, FeatureAdmin as xr, SetProjectLimitsInput as xt, PolicyTagEnablementGuidePath as y, MaintainerInvitationDetail as yn, UpdateFileStorageBody as yr, SetProjectDisabledInput as yt, CreateProjectFeaturePath as z, CreateOrganizationInvitationInput as zn, CreatedApplicationToken as zr, UserListItem as zt };
18424
+ //# sourceMappingURL=types-TmrPVMhy.d.cts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-sDHBkJhU.js";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-BPMr8PQJ.js";
2
2
  //#region src/clients/metastore/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -1787,4 +1787,4 @@ type GetSchemaPath = OpenapiPathType<paths['/api/v1/schema/{objectType}']['get']
1787
1787
  type GetVersionedSchemaPath = OpenapiPathType<paths['/api/v1/schema/{objectType}/{version}']['get']>;
1788
1788
  //#endregion
1789
1789
  export { ReplaceMetaObjectPath as A, MetaObjectMeta as C, RawMetaObject as D, MetaStoreObjectResponse as E, UpdateMetaObjectBody as F, UpdateMetaObjectInput as I, UpdateMetaObjectPath as L, ReplaceTargetProjectsInput as M, ReplaceTargetProjectsPath as N, ReplaceMetaObjectBody as O, ScopeElevationRequestPath as P, components as R, MetaObject as S, MetaStoreListResponse as T, GetMetaObjectsQuery as _, CreateMetaObjectPath as a, GetOrganizationMetaObjectsQuery as b, DeleteMetaObjectRevisionPath as c, GetMetaObjectRevisionsInput as d, GetMetaObjectRevisionsPath as f, GetMetaObjectsPath as g, GetMetaObjectsInput as h, CreateMetaObjectInput as i, ReplaceTargetProjectsBody as j, ReplaceMetaObjectInput as k, GetMetaObjectPath as l, GetMetaObjectRevisionsSchemaQuery as m, GetVersionedSchemaPath as n, CreateMetaObjectReturn as o, GetMetaObjectRevisionsQuery as p, CreateMetaObjectBody as r, DeleteMetaObjectPath as s, GetSchemaPath as t, GetMetaObjectRevisionPath as u, GetMetaObjectsSchemaQuery as v, MetaObjectScope as w, GetOrganizationMetaObjectsSchemaQuery as x, GetOrganizationMetaObjectsPath as y, paths as z };
1790
- //# sourceMappingURL=types-C9VaQSqV.d.ts.map
1790
+ //# sourceMappingURL=types-_zKX6JmD.d.ts.map
@@ -1,5 +1,5 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
2
- import "./appLogs-SjrflOHk.cjs";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-CL4iKFic.cjs";
2
+ import "./appLogs-IhRA3xyv.cjs";
3
3
  //#region src/clients/apps/__generated__/schema.d.ts
4
4
  /**
5
5
  * This file was auto-generated by openapi-typescript.
@@ -562,6 +562,8 @@ type components = {
562
562
  * @description Production URL — stable, unchanged by promote/rollback. May briefly be `null` right after creation. Does not mean "not deployed" — check `production` for that; the URL is reserved from creation and 404s publicly until something is promoted to it.
563
563
  */
564
564
  url: string | null;
565
+ /** @description Whether the app has a Keboola-managed git repository (see `GET /apps/{appId}/git-repo`). */
566
+ hasManagedGitRepo: boolean;
565
567
  /** @description Always present. `null` on both fields means the app has never been deployed (URL reserved, publicly 404s). The two fields differ while a promotion is in progress — see `App.state` for how to read that alongside it. */
566
568
  production: {
567
569
  /** @description Id of the deployment most recently asked to be production — pass this to `promote`, or delete it instead. */
@@ -1949,4 +1951,4 @@ type CreateDeploymentBody = OpenapiBodyType<paths['/apps/{appId}/deployments']['
1949
1951
  type CreateCredentialBody = OpenapiBodyType<paths['/apps/{appId}/git-repo/credentials']['post']>;
1950
1952
  //#endregion
1951
1953
  export { components as C, RunId as S, DeploymentRunState as _, AppRun as a, GetDeploymentsQuery as b, CreateCredentialBody as c, Credential as d, CredentialId as f, DeploymentId as g, DeploymentBuildState as h, AppPassword as i, CreateDeploymentBody as l, Deployment as m, AppGitRepo as n, AppState as o, CredentialList as p, AppId as r, CreateAppBody as s, App as t, CreatedCredential as u, GetAppRunsQuery as v, GetLogsTailQuery as x, GetAppsQuery as y };
1952
- //# sourceMappingURL=types-0ZAMQhva.d.cts.map
1954
+ //# sourceMappingURL=types-dn6MHur3.d.cts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
1
+ import { c as OpenapiQueryType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-CL4iKFic.cjs";
2
2
  //#region src/clients/componentsMcp/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -2108,4 +2108,4 @@ type SetConnectorCredentialsPath = OpenapiPathType<paths['/connectors/{connector
2108
2108
  type SetConnectorCredentialsBody = OpenapiBodyType<paths['/connectors/{connector_id}/credentials']['put']>;
2109
2109
  //#endregion
2110
2110
  export { SetConnectorCredentialsBody as n, SetConnectorCredentialsPath as r, GetConnectorsQuery as t };
2111
- //# sourceMappingURL=types-BtS3DhGu.d.cts.map
2111
+ //# sourceMappingURL=types-jN2KmMet.d.cts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-CL4iKFic.cjs";
2
2
  //#region src/clients/vault/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -392,4 +392,4 @@ type VariableWithHash = Omit<VariableWithHashRaw, 'hash'> & {
392
392
  type AnyVariable = VariableWithHash | CreateVariableBody;
393
393
  //#endregion
394
394
  export { GetVariablesQuery as a, GetVariablesByBranchId as i, CreateVariableBody as n, VariableWithHash as o, DeleteVariablePath as r, AnyVariable as t };
395
- //# sourceMappingURL=types-D8d5tyGi.d.cts.map
395
+ //# sourceMappingURL=types-jfPoUlO8.d.cts.map
@@ -1,5 +1,5 @@
1
- import { i as CreateMetaObjectInput } from "./types-DXF6faow.cjs";
2
- import { n as createMetastoreClient } from "./index-ByLCYBaw.cjs";
1
+ import { i as CreateMetaObjectInput } from "./types-CpJhWBmH.cjs";
2
+ import { n as createMetastoreClient } from "./index-BVjhAkXW.cjs";
3
3
  //#region src/sdks/semanticLayer/vocabulary.d.ts
4
4
  /**
5
5
  * The closed value sets the metastore accepts on a semantic object.
@@ -199,4 +199,4 @@ type SemanticUnreadableObjectRef = {
199
199
  };
200
200
  //#endregion
201
201
  export { CONSTRAINT_TYPES as A, SemanticRuleExpression as C, UpdateSemanticObjectMeta as D, SemanticValidationQuery as E, SQL_DIALECTS as F, RELATIONSHIP_JOIN_TYPES as M, RULE_OPERATORS as N, CONSTRAINT_SCOPES as O, SEMANTIC_OBJECT_SCOPES as P, SemanticRelationshipJoinType as S, SemanticUnreadableObjectRef as T, SemanticObject as _, SemanticChildObjectType as a, SemanticObjectType as b, SemanticConstraintSeverity as c, SemanticFieldData as d, SemanticFieldRole as f, SemanticModelData as g, SemanticModelChildRef as h, SemanticChildObjectDataMap as i, FIELD_ROLES as j, CONSTRAINT_SEVERITIES as k, SemanticConstraintType as l, SemanticMetricData as m, MetastoreClient as n, SemanticConstraintData as o, SemanticGlossaryData as p, SemanticAiMetadata as r, SemanticConstraintScope as s, CreateSemanticObjectMeta as t, SemanticDatasetData as u, SemanticObjectMeta as v, SemanticRuleOperator as w, SemanticRelationshipData as x, SemanticObjectScope as y };
202
- //# sourceMappingURL=types-C_raqbl-.d.cts.map
202
+ //# sourceMappingURL=types-ptynVnkv.d.cts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-sDHBkJhU.js";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-BPMr8PQJ.js";
2
2
  //#region src/clients/kaiAgent/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -4336,4 +4336,4 @@ type ArtifactResponse = OpenapiReturnType<paths['/api/artifacts/{id}']['get']>;
4336
4336
  type ArtifactListResponse = OpenapiReturnType<paths['/api/artifacts']['get']>;
4337
4337
  //#endregion
4338
4338
  export { ChatWithMessages as a, GetChatPath as c, PrepareChatRequest as d, UsageResponse as f, ChatRequest as i, GetHistoryQuery as l, ArtifactListResponse as n, GetArtifactPath as o, VoteRequest as p, ArtifactResponse as r, GetArtifactsQuery as s, ApprovalBody as t, GetVotesQuery as u };
4339
- //# sourceMappingURL=types-B7L6uSYb.d.ts.map
4339
+ //# sourceMappingURL=types-tdIo5FpR.d.ts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType } from "./index-ChDl6ig5.cjs";
1
+ import { c as OpenapiQueryType } from "./index-CL4iKFic.cjs";
2
2
  import { t as Backend } from "./backends-DKBz5OxE.cjs";
3
3
  //#region src/clients/omnisearch/__generated__/schema.d.ts
4
4
  /**
@@ -611,4 +611,4 @@ type LineageTable = components['schemas']['TableNode'] & {
611
611
  };
612
612
  //#endregion
613
613
  export { LineageMetadata as a, LineageTable as c, ProjectsLineageResponse as d, TableLineageRelation as f, components as h, LineageConfiguration as i, ProjectLineageRelation as l, TablesLineageResponse as m, GetTablesLineageQuery as n, LineageProject as o, TablesLineage as p, LineageBucket as r, LineageSource as s, GetProjectsLineageQuery as t, ProjectsLineage as u };
614
- //# sourceMappingURL=types-DSBrhK_K.d.cts.map
614
+ //# sourceMappingURL=types-vvw_H7wp.d.cts.map
@@ -1,2 +1,2 @@
1
- import { t as createVaultClient } from "../index-BCjU-g9t.cjs";
1
+ import { t as createVaultClient } from "../index-DGKCTQkb.cjs";
2
2
  export { createVaultClient };
@@ -1,2 +1,2 @@
1
- import { t as createVaultClient } from "../index-BTrxCk90.js";
1
+ import { t as createVaultClient } from "../index-DhZTIejy.js";
2
2
  export { createVaultClient };
@@ -1,2 +1,2 @@
1
- import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-D8d5tyGi.cjs";
1
+ import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-jfPoUlO8.cjs";
2
2
  export { AnyVariable, CreateVariableBody, DeleteVariablePath, GetVariablesByBranchId, GetVariablesQuery, VariableWithHash };
@@ -1,2 +1,2 @@
1
- import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-UySfduQo.js";
1
+ import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-DjadPty5.js";
2
2
  export { AnyVariable, CreateVariableBody, DeleteVariablePath, GetVariablesByBranchId, GetVariablesQuery, VariableWithHash };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keboola/api-client",
3
- "version": "48.0.0",
3
+ "version": "49.0.0",
4
4
  "description": "TypeScript SDK for Keboola APIs",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/surface/apps.md CHANGED
@@ -4,13 +4,13 @@
4
4
 
5
5
  Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
6
6
 
7
- - `api.apps.createApp(body: { branchId: string | null; name: string; type: "streamlit" | "python-js"; description?: string | null | undefined; config?: { [key: string]: unknown; } | undefined; useManagedGitRepo: boolean; }, options?: WriteOptions): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
7
+ - `api.apps.createApp(body: { branchId: string | null; name: string; type: "streamlit" | "python-js"; description?: string | null | undefined; config?: { [key: string]: unknown; } | undefined; useManagedGitRepo: boolean; }, options?: WriteOptions): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; hasManagedGitRepo: boolean; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
8
8
  - `api.apps.createAppGitRepoCredential(appId: string, body: { type: "ssh_key" | "http_token"; publicKey?: string | undefined; name: string; permissions: "readOnly" | "readWrite"; }, options?: WriteOptions): Promise<{ id: string; type: "ssh_key" | "http_token"; name: string; permissions: "readOnly" | "readWrite"; ownerAdminId: string; createdAt: string; } & { secret?: string | undefined; }>`
9
9
  - `api.apps.createDeployment(appId: string, body?: { promote: boolean; configVersion?: string | null | undefined; } | undefined, options?: WriteOptions): Promise<{ id: string; configVersion: string; gitCommitSha: string | null; runtimeSize?: "small" | "external" | "micro" | "tiny" | "medium" | "large" | null | undefined; buildState: "pending" | "failed" | "building" | "ready"; runState: "pending" | "starting" | "running" | "failed" | "stopping" | "stopped" | "neverRun"; archived: boolean; archivedAt: string | null; createdAt: string; }>`
10
10
  - `api.apps.deleteApp(appId: string, signal?: AbortSignal | undefined): Promise<void>`
11
11
  - `api.apps.deleteAppGitRepoCredential(appId: string, credentialId: string, signal?: AbortSignal | undefined): Promise<void>`
12
12
  - `api.apps.deleteDeployment(appId: string, deploymentId: string, signal?: AbortSignal | undefined): Promise<void>`
13
- - `api.apps.getApp(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
13
+ - `api.apps.getApp(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; hasManagedGitRepo: boolean; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
14
14
  - `api.apps.getAppGitRepo(appId: string, signal?: AbortSignal | undefined): Promise<{ sshUrl: string | null; httpsUrl: string | null; isManagedGitRepo: boolean; }>`
15
15
  - `api.apps.getAppGitRepoCredential(appId: string, credentialId: string, signal?: AbortSignal | undefined): Promise<{ id: string; type: "ssh_key" | "http_token"; name: string; permissions: "readOnly" | "readWrite"; ownerAdminId: string; createdAt: string; }>`
16
16
  - `api.apps.getAppGitRepoCredentials(appId: string, signal?: AbortSignal | undefined): Promise<{ credentials: { id: string; type: "ssh_key" | "http_token"; name: string; permissions: "readOnly" | "readWrite"; ownerAdminId: string; createdAt: string; }[]; }>`
@@ -19,14 +19,14 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
19
19
  - `api.apps.getAppPassword(appId: string, signal?: AbortSignal | undefined): Promise<{ password?: string | null | undefined; }>`
20
20
  - `api.apps.getAppRun(appId: string, runId: string, signal?: AbortSignal | undefined): Promise<{ id: string; appId: string; deploymentId: string | null; state?: "starting" | "running" | "failed" | "finished" | null | undefined; createdAt?: string | null | undefined; startedAt?: string | null | undefined; stoppedAt?: string | null | undefined; startupLogs?: string | null | undefined; runtimeSize?: string | null | undefined; runtimeBackendType?: string | null | undefined; configVersion?: string | null | undefined; imageVersion?: string | null | undefined; failureReason?: { reason?: string | null | undefined; message?: string | null | undefined; } | null | undefined; mode?: string | undefined; }>`
21
21
  - `api.apps.getAppRuns(appId: string, query?: { deploymentId?: string | undefined; since?: string | undefined; until?: string | undefined; offset?: number | undefined; limit?: number | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; appId: string; deploymentId: string | null; state?: "starting" | "running" | "failed" | "finished" | null | undefined; createdAt?: string | null | undefined; startedAt?: string | null | undefined; stoppedAt?: string | null | undefined; startupLogs?: string | null | undefined; runtimeSize?: string | null | undefined; runtimeBackendType?: string | null | undefined; configVersion?: string | null | undefined; imageVersion?: string | null | undefined; failureReason?: { reason?: string | null | undefined; message?: string | null | undefined; } | null | undefined; mode?: string | undefined; }[]>`
22
- - `api.apps.getApps(query?: { offset?: number | undefined; limit?: number | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }[]>`
22
+ - `api.apps.getApps(query?: { offset?: number | undefined; limit?: number | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; hasManagedGitRepo: boolean; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }[]>`
23
23
  - `api.apps.getDeployment(appId: string, deploymentId: string, signal?: AbortSignal | undefined): Promise<{ id: string; configVersion: string; gitCommitSha: string | null; runtimeSize?: "small" | "external" | "micro" | "tiny" | "medium" | "large" | null | undefined; buildState: "pending" | "failed" | "building" | "ready"; runState: "pending" | "starting" | "running" | "failed" | "stopping" | "stopped" | "neverRun"; archived: boolean; archivedAt: string | null; createdAt: string; }>`
24
24
  - `api.apps.getDeploymentLogsDownload(appId: string, deploymentId: string, signal?: AbortSignal | undefined): Promise<{ logs: string; fileName: string; }>`
25
25
  - `api.apps.getDeploymentLogsTail(appId: string, deploymentId: string, { query, signal }?: LogsTailOptions): Promise<{ entries: LogEntry[]; nextLogTimestamp: string | null; }>`
26
26
  - `api.apps.getDeployments(appId: string, query?: { archived?: boolean | undefined; offset?: number | undefined; limit?: number | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; configVersion: string; gitCommitSha: string | null; runtimeSize?: "small" | "external" | "micro" | "tiny" | "medium" | "large" | null | undefined; buildState: "pending" | "failed" | "building" | "ready"; runState: "pending" | "starting" | "running" | "failed" | "stopping" | "stopped" | "neverRun"; archived: boolean; archivedAt: string | null; createdAt: string; }[]>`
27
27
  - `api.apps.healthCheck(signal?: AbortSignal | undefined): Promise<{ appName?: string | undefined; appVersion?: string | undefined; apiDocs?: string | undefined; }>`
28
- - `api.apps.promoteDeployment(appId: string, deploymentId: string, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
28
+ - `api.apps.promoteDeployment(appId: string, deploymentId: string, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; hasManagedGitRepo: boolean; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
29
29
  - `api.apps.resetAppPassword(appId: string, signal?: AbortSignal | undefined): Promise<{ password: string; }>`
30
- - `api.apps.resumeApp(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
31
- - `api.apps.suspendApp(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
32
- - `api.apps.unpublishApp(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
30
+ - `api.apps.resumeApp(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; hasManagedGitRepo: boolean; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
31
+ - `api.apps.suspendApp(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; hasManagedGitRepo: boolean; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
32
+ - `api.apps.unpublishApp(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; hasManagedGitRepo: boolean; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
@@ -4,6 +4,6 @@
4
4
 
5
5
  Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
6
6
 
7
- - `api.billing.getCredits(signal?: AbortSignal | undefined): Promise<{ consumed: number; remaining: number; stats?: { componentJobs?: { consumed?: number | undefined; } | undefined; workspaceJobs?: { workspaceType?: "writer" | "sandbox-sql" | "transformation" | "sandbox-data-science" | undefined; warehouseSize?: "small" | "medium" | "large" | "x-small" | "x-large" | "2x-large" | "3x-large" | "4x-large" | undefined; consumed?: number | undefined; } | undefined; marketplaceSubscription?: { vendor: "aws" | "azure"; state: "suspended" | "inactive" | "active" | "unsubscribed"; billingLink: string; } | undefined; } | undefined; }>`
8
- - `api.billing.getCreditsAndTopUp(signal?: AbortSignal | undefined): Promise<{ consumed: number; remaining: number; stats?: { componentJobs?: { consumed?: number | undefined; } | undefined; workspaceJobs?: { workspaceType?: "writer" | "sandbox-sql" | "transformation" | "sandbox-data-science" | undefined; warehouseSize?: "small" | "medium" | "large" | "x-small" | "x-large" | "2x-large" | "3x-large" | "4x-large" | undefined; consumed?: number | undefined; } | undefined; marketplaceSubscription?: { vendor: "aws" | "azure"; state: "suspended" | "inactive" | "active" | "unsubscribed"; billingLink: string; } | undefined; } | undefined; }>`
7
+ - `api.billing.getCredits(signal?: AbortSignal | undefined): Promise<{ consumed: number; remaining: number; stats: { componentJobs: { consumed: number; }; workspaceJobs: { workspaceType: "writer" | "sandbox-sql" | "transformation" | "sandbox-data-science"; warehouseSize: "small" | "medium" | "large" | "x-small" | "x-large" | "2x-large" | "3x-large" | "4x-large"; consumed: number; }[]; }; marketplaceSubscription?: { vendor: "aws" | "azure" | "gcp"; state: "suspended" | "inactive" | "active" | "unsubscribed"; billingLink: string | null; } | undefined; }>`
8
+ - `api.billing.getCreditsAndTopUp(signal?: AbortSignal | undefined): Promise<{ consumed: number; remaining: number; stats: { componentJobs: { consumed: number; }; workspaceJobs: { workspaceType: "writer" | "sandbox-sql" | "transformation" | "sandbox-data-science"; warehouseSize: "small" | "medium" | "large" | "x-small" | "x-large" | "2x-large" | "3x-large" | "4x-large"; consumed: number; }[]; }; marketplaceSubscription?: { vendor: "aws" | "azure" | "gcp"; state: "suspended" | "inactive" | "active" | "unsubscribed"; billingLink: string | null; } | undefined; }>`
9
9
  - `api.billing.healthCheck(signal?: AbortSignal | undefined): Promise<{ status?: string | undefined; }>`
@@ -129,7 +129,8 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
129
129
 
130
130
  ### `api.management.programmaticProjects`
131
131
 
132
- - `api.management.programmaticProjects.confirm(payload: ConfirmProgrammaticProjectPayload, signal?: AbortSignal | undefined): Promise<ConfirmProgrammaticProjectResult>`
132
+ - `api.management.programmaticProjects.confirmByCookie(signal?: AbortSignal | undefined): Promise<{ project: { id: number; }; confirmedByAdminId: number; }>`
133
+ - `api.management.programmaticProjects.confirmByToken(claimToken: string, signal?: AbortSignal | undefined): Promise<{ project: { id: number; }; confirmedByAdminId: number; }>`
133
134
  - `api.management.programmaticProjects.getClaim(signal?: AbortSignal | undefined): Promise<{ present: boolean; claimId?: string | null | undefined; projectName?: string | null | undefined; }>`
134
135
 
135
136
  ### `api.management.projects`
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants-CA4UN2Xv.js","names":[],"sources":["../src/constants/projectFeatures.ts","../src/constants/serviceIds.ts","../src/constants/backends.ts","../src/constants/stacks.ts","../src/constants/index.ts"],"sourcesContent":["export const ProjectFeature = {\n DisableLegacyBucketPrefix: 'disable-legacy-bucket-prefix',\n SoxProtectedDefaultBranch: 'protected-default-branch',\n StorageBranches: 'storage-branches',\n} as const;\n\nexport type ProjectFeature = (typeof ProjectFeature)[keyof typeof ProjectFeature];\n","/**\n * Every service a Keboola stack can announce in its `GET /v2/storage` index.\n *\n * - The values are the `id`s the stack reports; the service-client registry and `createStack`'s\n * lookups narrow on them. The index itself stays `string` — a stack may announce more.\n * - Callers enumerate them at runtime — a test double announcing every service, for one.\n */\nexport const ServiceId = {\n Vault: 'vault',\n DataScience: 'data-science',\n Encryption: 'encryption',\n Telemetry: 'telemetry',\n Ai: 'ai',\n Editor: 'editor',\n Import: 'import',\n Oauth: 'oauth',\n Query: 'query',\n Queue: 'queue',\n KaiAssistant: 'kai-assistant',\n KaiAgent: 'kai-agent',\n ComponentsMcp: 'components-mcp',\n SyncActions: 'sync-actions',\n Stream: 'stream',\n Notification: 'notification',\n Scheduler: 'scheduler',\n Metastore: 'metastore',\n Billing: 'billing',\n} as const;\n\nexport type ServiceId = (typeof ServiceId)[keyof typeof ServiceId];\n","export const Backend = {\n Snowflake: 'snowflake',\n Bigquery: 'bigquery',\n} as const;\n\nexport type Backend = (typeof Backend)[keyof typeof Backend];\n","export const Provider = {\n Aws: 'aws',\n Azure: 'azure',\n Gcp: 'gcp',\n} as const;\n\nexport type Provider = (typeof Provider)[keyof typeof Provider];\n\nexport const Continent = {\n Us: 'us',\n Europe: 'europe',\n} as const;\n\nexport type Continent = (typeof Continent)[keyof typeof Continent];\n\nexport type KeboolaStack = {\n id: string;\n host: string;\n isSingleTenant?: boolean;\n isTesting?: boolean;\n isPayg?: boolean;\n provider?: Provider;\n continent?: Continent;\n region?: string;\n isCanary?: boolean;\n};\n\nconst stacks = {\n NORTH_EUROPE_AZURE: {\n id: 'com-keboola-azure-north-europe',\n region: 'north-europe',\n host: 'connection.north-europe.azure.keboola.com',\n provider: 'azure',\n continent: 'europe',\n isPayg: true,\n },\n EU_CENTRAL_1_AWS: {\n id: 'kbc-eu-central-1',\n region: 'eu-central-1',\n host: 'connection.eu-central-1.keboola.com',\n provider: 'aws',\n continent: 'europe',\n },\n US_EAST_1_AWS: {\n id: 'kbc-us-east-1',\n region: 'us-east-1',\n host: 'connection.keboola.com',\n provider: 'aws',\n continent: 'us',\n },\n EUROPE_WEST3_GCP: {\n id: 'com-keboola-gcp-europe-west3',\n region: 'europe-west3',\n host: 'connection.europe-west3.gcp.keboola.com',\n provider: 'gcp',\n continent: 'europe',\n },\n US_EAST_4_GCP: {\n id: 'com-keboola-gcp-us-east4',\n region: 'us-east4',\n host: 'connection.us-east4.gcp.keboola.com',\n provider: 'gcp',\n continent: 'us',\n isPayg: true,\n },\n\n /* PRIVATE SINGLE TENANT STACKS\n ---------------------------- */\n HCI: {\n id: 'cloud-keboola-hci',\n host: 'connection.hci.keboola.cloud',\n isSingleTenant: true,\n },\n CSAS_PROD: {\n id: 'cloud-keboola-cs',\n host: 'connection.cs.keboola.cloud',\n isSingleTenant: true,\n },\n CSAS_TEST: {\n id: 'cloud-keboola-cs-test',\n host: 'connection.cs-test.keboola.cloud',\n isSingleTenant: true,\n },\n INNOGY: {\n id: 'cloud-keboola-innogy-hub',\n host: 'connection.innogy-hub.keboola.cloud',\n isSingleTenant: true,\n },\n GROUPON: {\n id: 'cloud-keboola-groupon',\n host: 'connection.groupon.keboola.cloud',\n isSingleTenant: true,\n },\n CREDIT_INFO: {\n id: 'cloud-keboola-creditinfo',\n host: 'connection.creditinfo.keboola.cloud',\n isSingleTenant: true,\n },\n COATES: {\n id: 'cloud-keboola-coates',\n host: 'connection.coates.keboola.cloud',\n isSingleTenant: true,\n },\n SLSP: {\n id: 'cloud-keboola-slsp',\n host: 'connection.slsp.keboola.cloud',\n isSingleTenant: true,\n },\n HCKZ: {\n id: 'cloud-keboola-hckz',\n host: 'connection.hckz.keboola.cloud',\n isSingleTenant: true,\n },\n PASHA: {\n id: 'cloud-keboola-pasha',\n host: 'connection.pasha.keboola.cloud',\n isSingleTenant: true,\n },\n RBI: {\n id: 'cloud-keboola-rbi',\n host: 'connection.rbi.keboola.cloud',\n isSingleTenant: true,\n },\n NAH: {\n id: 'cloud-keboola-nah',\n host: 'connection.nah.keboola.cloud',\n isSingleTenant: true,\n provider: 'azure',\n continent: 'us',\n },\n\n /* DEV STACKS\n ---------------------------- */\n DEV_US_CENTRAL_1_GCP: {\n id: 'dev-keboola-gcp-us-central1',\n region: 'us-central1',\n host: 'connection.us-central1.gcp.keboola.dev',\n provider: 'gcp',\n continent: 'us',\n isTesting: true,\n },\n DEV_EU_WEST_1_AWS: {\n id: 'dev-keboola-aws-eu-west-1',\n region: 'eu-west-1',\n host: 'connection.eu-west-1.aws.keboola.dev',\n provider: 'aws',\n continent: 'europe',\n isTesting: true,\n },\n DEV_US_EAST_1_AWS_E2E: {\n id: 'dev-keboola-aws-us-east-1-e2e',\n region: 'us-east-1',\n host: 'connection.e2e.us-east-1.aws.keboola.dev',\n provider: 'aws',\n continent: 'us',\n isTesting: true,\n },\n DEV_US_EAST_2_AZURE: {\n id: 'kbc-testing-azure-east-us-2',\n region: 'east-us-2',\n host: 'connection.east-us-2.azure.keboola-testing.com',\n provider: 'azure',\n continent: 'us',\n isTesting: true,\n },\n DEV_KEBOOLA_CANARY_ORION: {\n id: 'dev-keboola-canary-orion',\n region: 'europe-west3',\n host: 'connection.canary-orion.keboola.dev',\n provider: 'gcp',\n continent: 'europe',\n isCanary: true,\n },\n} satisfies Record<string, Readonly<KeboolaStack>>;\n\n/**\n * Every stack the platform knows, keyed by name.\n *\n * - The key set is literal, so a name that is not in the object is a compile error at the call site\n * rather than an `undefined` to fall back from.\n * - The value type stays the uniform `KeboolaStack`, so `stack.isCanary` reads on any entry, not\n * only on the ones that carry the flag.\n */\nexport const STACKS: Record<keyof typeof stacks, Readonly<KeboolaStack>> = stacks;\n","export { ComponentId } from './componentId';\nexport { ProjectFeature } from './projectFeatures';\nexport { Backend } from './backends';\nexport { AdminRole } from './adminRoles';\nexport { ServiceId } from './serviceIds';\nexport { Continent, Provider, STACKS } from './stacks';\nexport type { KeboolaStack } from './stacks';\n\nexport const URLS = {\n USER_DOCUMENTATION: 'https://help.keboola.com',\n COMPONENTS: 'https://components.keboola.com',\n DEVELOPERS_DOCUMENTATION: 'https://developers.keboola.com',\n ACADEMY: 'https://academy.keboola.com',\n SALES_CONTACT_FORM: 'https://keboola.com/contact',\n SNOWFLAKE: 'https://www.snowflake.com',\n SNOWFLAKE_DOCS: 'https://docs.snowflake.com',\n MCP: 'https://www.keboola.com/mcp',\n CLI: 'https://www.keboola.com/cli',\n NODE_JS: 'https://nodejs.org/en',\n CLAUDE_CONNECTORS: 'https://claude.ai/customize/connectors',\n // Vendor \"how do I get this client\" pages linked from the connect surfaces.\n CLIENT_CLAUDE_CODE_QUICKSTART: 'https://code.claude.com/docs/en/quickstart',\n CLIENT_CLAUDE_AI: 'https://claude.ai',\n CLIENT_CLAUDE_DESKTOP_DOWNLOAD: 'https://claude.com/download',\n CLIENT_CURSOR_QUICKSTART: 'https://cursor.com/docs/get-started/quickstart',\n CLIENT_VS_CODE_SETUP: 'https://code.visualstudio.com/docs/setup/setup-overview',\n CLIENT_CODEX_QUICKSTART: 'https://developers.openai.com/codex/cli',\n CLIENT_CHATGPT_DOWNLOAD: 'https://chatgpt.com/download',\n CLIENT_MAKE_GET_STARTED: 'https://help.make.com/get-started',\n CLIENT_DEVIN_DESKTOP: 'https://docs.devin.ai/desktop/getting-started',\n} as const;\n"],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants-a0jswUeK.cjs","names":[],"sources":["../src/constants/projectFeatures.ts","../src/constants/serviceIds.ts","../src/constants/backends.ts","../src/constants/stacks.ts","../src/constants/index.ts"],"sourcesContent":["export const ProjectFeature = {\n DisableLegacyBucketPrefix: 'disable-legacy-bucket-prefix',\n SoxProtectedDefaultBranch: 'protected-default-branch',\n StorageBranches: 'storage-branches',\n} as const;\n\nexport type ProjectFeature = (typeof ProjectFeature)[keyof typeof ProjectFeature];\n","/**\n * Every service a Keboola stack can announce in its `GET /v2/storage` index.\n *\n * - The values are the `id`s the stack reports; the service-client registry and `createStack`'s\n * lookups narrow on them. The index itself stays `string` — a stack may announce more.\n * - Callers enumerate them at runtime — a test double announcing every service, for one.\n */\nexport const ServiceId = {\n Vault: 'vault',\n DataScience: 'data-science',\n Encryption: 'encryption',\n Telemetry: 'telemetry',\n Ai: 'ai',\n Editor: 'editor',\n Import: 'import',\n Oauth: 'oauth',\n Query: 'query',\n Queue: 'queue',\n KaiAssistant: 'kai-assistant',\n KaiAgent: 'kai-agent',\n ComponentsMcp: 'components-mcp',\n SyncActions: 'sync-actions',\n Stream: 'stream',\n Notification: 'notification',\n Scheduler: 'scheduler',\n Metastore: 'metastore',\n Billing: 'billing',\n} as const;\n\nexport type ServiceId = (typeof ServiceId)[keyof typeof ServiceId];\n","export const Backend = {\n Snowflake: 'snowflake',\n Bigquery: 'bigquery',\n} as const;\n\nexport type Backend = (typeof Backend)[keyof typeof Backend];\n","export const Provider = {\n Aws: 'aws',\n Azure: 'azure',\n Gcp: 'gcp',\n} as const;\n\nexport type Provider = (typeof Provider)[keyof typeof Provider];\n\nexport const Continent = {\n Us: 'us',\n Europe: 'europe',\n} as const;\n\nexport type Continent = (typeof Continent)[keyof typeof Continent];\n\nexport type KeboolaStack = {\n id: string;\n host: string;\n isSingleTenant?: boolean;\n isTesting?: boolean;\n isPayg?: boolean;\n provider?: Provider;\n continent?: Continent;\n region?: string;\n isCanary?: boolean;\n};\n\nconst stacks = {\n NORTH_EUROPE_AZURE: {\n id: 'com-keboola-azure-north-europe',\n region: 'north-europe',\n host: 'connection.north-europe.azure.keboola.com',\n provider: 'azure',\n continent: 'europe',\n isPayg: true,\n },\n EU_CENTRAL_1_AWS: {\n id: 'kbc-eu-central-1',\n region: 'eu-central-1',\n host: 'connection.eu-central-1.keboola.com',\n provider: 'aws',\n continent: 'europe',\n },\n US_EAST_1_AWS: {\n id: 'kbc-us-east-1',\n region: 'us-east-1',\n host: 'connection.keboola.com',\n provider: 'aws',\n continent: 'us',\n },\n EUROPE_WEST3_GCP: {\n id: 'com-keboola-gcp-europe-west3',\n region: 'europe-west3',\n host: 'connection.europe-west3.gcp.keboola.com',\n provider: 'gcp',\n continent: 'europe',\n },\n US_EAST_4_GCP: {\n id: 'com-keboola-gcp-us-east4',\n region: 'us-east4',\n host: 'connection.us-east4.gcp.keboola.com',\n provider: 'gcp',\n continent: 'us',\n isPayg: true,\n },\n\n /* PRIVATE SINGLE TENANT STACKS\n ---------------------------- */\n HCI: {\n id: 'cloud-keboola-hci',\n host: 'connection.hci.keboola.cloud',\n isSingleTenant: true,\n },\n CSAS_PROD: {\n id: 'cloud-keboola-cs',\n host: 'connection.cs.keboola.cloud',\n isSingleTenant: true,\n },\n CSAS_TEST: {\n id: 'cloud-keboola-cs-test',\n host: 'connection.cs-test.keboola.cloud',\n isSingleTenant: true,\n },\n INNOGY: {\n id: 'cloud-keboola-innogy-hub',\n host: 'connection.innogy-hub.keboola.cloud',\n isSingleTenant: true,\n },\n GROUPON: {\n id: 'cloud-keboola-groupon',\n host: 'connection.groupon.keboola.cloud',\n isSingleTenant: true,\n },\n CREDIT_INFO: {\n id: 'cloud-keboola-creditinfo',\n host: 'connection.creditinfo.keboola.cloud',\n isSingleTenant: true,\n },\n COATES: {\n id: 'cloud-keboola-coates',\n host: 'connection.coates.keboola.cloud',\n isSingleTenant: true,\n },\n SLSP: {\n id: 'cloud-keboola-slsp',\n host: 'connection.slsp.keboola.cloud',\n isSingleTenant: true,\n },\n HCKZ: {\n id: 'cloud-keboola-hckz',\n host: 'connection.hckz.keboola.cloud',\n isSingleTenant: true,\n },\n PASHA: {\n id: 'cloud-keboola-pasha',\n host: 'connection.pasha.keboola.cloud',\n isSingleTenant: true,\n },\n RBI: {\n id: 'cloud-keboola-rbi',\n host: 'connection.rbi.keboola.cloud',\n isSingleTenant: true,\n },\n NAH: {\n id: 'cloud-keboola-nah',\n host: 'connection.nah.keboola.cloud',\n isSingleTenant: true,\n provider: 'azure',\n continent: 'us',\n },\n\n /* DEV STACKS\n ---------------------------- */\n DEV_US_CENTRAL_1_GCP: {\n id: 'dev-keboola-gcp-us-central1',\n region: 'us-central1',\n host: 'connection.us-central1.gcp.keboola.dev',\n provider: 'gcp',\n continent: 'us',\n isTesting: true,\n },\n DEV_EU_WEST_1_AWS: {\n id: 'dev-keboola-aws-eu-west-1',\n region: 'eu-west-1',\n host: 'connection.eu-west-1.aws.keboola.dev',\n provider: 'aws',\n continent: 'europe',\n isTesting: true,\n },\n DEV_US_EAST_1_AWS_E2E: {\n id: 'dev-keboola-aws-us-east-1-e2e',\n region: 'us-east-1',\n host: 'connection.e2e.us-east-1.aws.keboola.dev',\n provider: 'aws',\n continent: 'us',\n isTesting: true,\n },\n DEV_US_EAST_2_AZURE: {\n id: 'kbc-testing-azure-east-us-2',\n region: 'east-us-2',\n host: 'connection.east-us-2.azure.keboola-testing.com',\n provider: 'azure',\n continent: 'us',\n isTesting: true,\n },\n DEV_KEBOOLA_CANARY_ORION: {\n id: 'dev-keboola-canary-orion',\n region: 'europe-west3',\n host: 'connection.canary-orion.keboola.dev',\n provider: 'gcp',\n continent: 'europe',\n isCanary: true,\n },\n} satisfies Record<string, Readonly<KeboolaStack>>;\n\n/**\n * Every stack the platform knows, keyed by name.\n *\n * - The key set is literal, so a name that is not in the object is a compile error at the call site\n * rather than an `undefined` to fall back from.\n * - The value type stays the uniform `KeboolaStack`, so `stack.isCanary` reads on any entry, not\n * only on the ones that carry the flag.\n */\nexport const STACKS: Record<keyof typeof stacks, Readonly<KeboolaStack>> = stacks;\n","export { ComponentId } from './componentId';\nexport { ProjectFeature } from './projectFeatures';\nexport { Backend } from './backends';\nexport { AdminRole } from './adminRoles';\nexport { ServiceId } from './serviceIds';\nexport { Continent, Provider, STACKS } from './stacks';\nexport type { KeboolaStack } from './stacks';\n\nexport const URLS = {\n USER_DOCUMENTATION: 'https://help.keboola.com',\n COMPONENTS: 'https://components.keboola.com',\n DEVELOPERS_DOCUMENTATION: 'https://developers.keboola.com',\n ACADEMY: 'https://academy.keboola.com',\n SALES_CONTACT_FORM: 'https://keboola.com/contact',\n SNOWFLAKE: 'https://www.snowflake.com',\n SNOWFLAKE_DOCS: 'https://docs.snowflake.com',\n MCP: 'https://www.keboola.com/mcp',\n CLI: 'https://www.keboola.com/cli',\n NODE_JS: 'https://nodejs.org/en',\n CLAUDE_CONNECTORS: 'https://claude.ai/customize/connectors',\n // Vendor \"how do I get this client\" pages linked from the connect surfaces.\n CLIENT_CLAUDE_CODE_QUICKSTART: 'https://code.claude.com/docs/en/quickstart',\n CLIENT_CLAUDE_AI: 'https://claude.ai',\n CLIENT_CLAUDE_DESKTOP_DOWNLOAD: 'https://claude.com/download',\n CLIENT_CURSOR_QUICKSTART: 'https://cursor.com/docs/get-started/quickstart',\n CLIENT_VS_CODE_SETUP: 'https://code.visualstudio.com/docs/setup/setup-overview',\n CLIENT_CODEX_QUICKSTART: 'https://developers.openai.com/codex/cli',\n CLIENT_CHATGPT_DOWNLOAD: 'https://chatgpt.com/download',\n CLIENT_MAKE_GET_STARTED: 'https://help.make.com/get-started',\n CLIENT_DEVIN_DESKTOP: 'https://docs.devin.ai/desktop/getting-started',\n} as const;\n"],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","names":["isAdminOrShare","PermissionDeniedError"],"sources":["../../../src/domain/permissions/organization.ts"],"sourcesContent":["/**\n * @module domain/permissions/organization\n *\n * Organization-scope predicates, read from `admin.isOrganizationMember`, not the project role.\n * - In Keboola, org membership is org administration of every project the org owns.\n * - `isOrganizationMember` is a raw signal; nothing asserts on bare membership.\n */\nimport type { StorageToken } from '../../clients/storage/tokens/types';\n\nimport { isAdminOrShare } from './admin';\nimport { PermissionDeniedError } from './errors';\n\n/**\n * Whether this token's admin is a member of the organization owning the project.\n *\n * - A limited token has no `admin` block despite the type saying required.\n * - Prefer `isOrganizationAdmin` for authorization decisions.\n */\nexport const isOrganizationMember = (token: StorageToken): boolean =>\n token.isMasterToken && (token.admin?.isOrganizationMember ?? false);\n\n/**\n * `isOrganizationMember` AND `admin`/`share`.\n *\n * - An org member with a `readOnly` or `guest` role on this project still cannot write.\n */\nexport const isOrganizationAdmin = (token: StorageToken): boolean =>\n isOrganizationMember(token) && isAdminOrShare(token);\n\nexport const assertCanAdministerOrganization = (token: StorageToken): void => {\n if (!isOrganizationAdmin(token)) {\n throw new PermissionDeniedError({\n action: 'administer-organization',\n reason: token.isMasterToken\n ? `role '${token.admin?.role ?? 'none'}' with isOrganizationMember=${token.admin?.isOrganizationMember ?? false} may not administer organization settings`\n : 'a limited (non-master) token may not administer organization settings',\n });\n }\n};\n\n/**\n * Whether this token may write Kai's spend caps: project cap, default and per-user limits.\n *\n * - Org-admin only, stricter than `canWriteKaiSettings`: caps commit the org's money.\n * - A project whose own admin could raise its cap has no cap.\n */\nexport const canWriteKaiSpendCaps = (token: StorageToken): boolean => isOrganizationAdmin(token);\n\nexport const assertCanWriteKaiSpendCaps = (token: StorageToken): void => {\n if (!canWriteKaiSpendCaps(token)) {\n throw new PermissionDeniedError({\n action: 'write-kai-spend-caps',\n reason: token.isMasterToken\n ? `role '${token.admin?.role ?? 'none'}' with isOrganizationMember=${token.admin?.isOrganizationMember ?? false} may not change Kai spend caps`\n : 'a limited (non-master) token may not change Kai spend caps',\n });\n }\n};\n"],"mappings":";;;;;;;;;;AAkBA,MAAa,wBAAwB,UACnC,MAAM,kBAAkB,MAAM,OAAO,wBAAwB;;;;;;AAO/D,MAAa,uBAAuB,UAClC,qBAAqB,KAAK,KAAKA,uBAAAA,eAAe,KAAK;AAErD,MAAa,mCAAmC,UAA8B;CAC5E,IAAI,CAAC,oBAAoB,KAAK,GAC5B,MAAM,IAAIC,uBAAAA,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,MAAM,gBACV,SAAS,MAAM,OAAO,QAAQ,OAAO,8BAA8B,MAAM,OAAO,wBAAwB,MAAM,6CAC9G;CACN,CAAC;AAEL;;;;;;;AAQA,MAAa,wBAAwB,UAAiC,oBAAoB,KAAK;AAE/F,MAAa,8BAA8B,UAA8B;CACvE,IAAI,CAAC,qBAAqB,KAAK,GAC7B,MAAM,IAAIA,uBAAAA,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,MAAM,gBACV,SAAS,MAAM,OAAO,QAAQ,OAAO,8BAA8B,MAAM,OAAO,wBAAwB,MAAM,kCAC9G;CACN,CAAC;AAEL"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/domain/permissions/organization.ts"],"sourcesContent":["/**\n * @module domain/permissions/organization\n *\n * Organization-scope predicates, read from `admin.isOrganizationMember`, not the project role.\n * - In Keboola, org membership is org administration of every project the org owns.\n * - `isOrganizationMember` is a raw signal; nothing asserts on bare membership.\n */\nimport type { StorageToken } from '../../clients/storage/tokens/types';\n\nimport { isAdminOrShare } from './admin';\nimport { PermissionDeniedError } from './errors';\n\n/**\n * Whether this token's admin is a member of the organization owning the project.\n *\n * - A limited token has no `admin` block despite the type saying required.\n * - Prefer `isOrganizationAdmin` for authorization decisions.\n */\nexport const isOrganizationMember = (token: StorageToken): boolean =>\n token.isMasterToken && (token.admin?.isOrganizationMember ?? false);\n\n/**\n * `isOrganizationMember` AND `admin`/`share`.\n *\n * - An org member with a `readOnly` or `guest` role on this project still cannot write.\n */\nexport const isOrganizationAdmin = (token: StorageToken): boolean =>\n isOrganizationMember(token) && isAdminOrShare(token);\n\nexport const assertCanAdministerOrganization = (token: StorageToken): void => {\n if (!isOrganizationAdmin(token)) {\n throw new PermissionDeniedError({\n action: 'administer-organization',\n reason: token.isMasterToken\n ? `role '${token.admin?.role ?? 'none'}' with isOrganizationMember=${token.admin?.isOrganizationMember ?? false} may not administer organization settings`\n : 'a limited (non-master) token may not administer organization settings',\n });\n }\n};\n\n/**\n * Whether this token may write Kai's spend caps: project cap, default and per-user limits.\n *\n * - Org-admin only, stricter than `canWriteKaiSettings`: caps commit the org's money.\n * - A project whose own admin could raise its cap has no cap.\n */\nexport const canWriteKaiSpendCaps = (token: StorageToken): boolean => isOrganizationAdmin(token);\n\nexport const assertCanWriteKaiSpendCaps = (token: StorageToken): void => {\n if (!canWriteKaiSpendCaps(token)) {\n throw new PermissionDeniedError({\n action: 'write-kai-spend-caps',\n reason: token.isMasterToken\n ? `role '${token.admin?.role ?? 'none'}' with isOrganizationMember=${token.admin?.isOrganizationMember ?? false} may not change Kai spend caps`\n : 'a limited (non-master) token may not change Kai spend caps',\n });\n }\n};\n"],"mappings":";;;;;;;;;AAkBA,MAAa,wBAAwB,UACnC,MAAM,kBAAkB,MAAM,OAAO,wBAAwB;;;;;;AAO/D,MAAa,uBAAuB,UAClC,qBAAqB,KAAK,KAAK,eAAe,KAAK;AAErD,MAAa,mCAAmC,UAA8B;CAC5E,IAAI,CAAC,oBAAoB,KAAK,GAC5B,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,MAAM,gBACV,SAAS,MAAM,OAAO,QAAQ,OAAO,8BAA8B,MAAM,OAAO,wBAAwB,MAAM,6CAC9G;CACN,CAAC;AAEL;;;;;;;AAQA,MAAa,wBAAwB,UAAiC,oBAAoB,KAAK;AAE/F,MAAa,8BAA8B,UAA8B;CACvE,IAAI,CAAC,qBAAqB,KAAK,GAC7B,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,MAAM,gBACV,SAAS,MAAM,OAAO,QAAQ,OAAO,8BAA8B,MAAM,OAAO,wBAAwB,MAAM,kCAC9G;CACN,CAAC;AAEL"}