@keboola/api-client 45.0.0 → 46.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 (254) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/ManagementSessionMintError-5FFyvBZi.js +36 -0
  3. package/dist/ManagementSessionMintError-5FFyvBZi.js.map +1 -0
  4. package/dist/ManagementSessionMintError-Bm8s6yDB.cjs +47 -0
  5. package/dist/ManagementSessionMintError-Bm8s6yDB.cjs.map +1 -0
  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-BS6ViVGR.d.ts → appLogs-DGIctwbb.d.ts} +2 -2
  11. package/dist/{appLogs-C9YlJ2g8.d.cts → appLogs-Dl0v684o.d.cts} +2 -2
  12. package/dist/apps/index.d.cts +3 -3
  13. package/dist/apps/index.d.ts +3 -3
  14. package/dist/apps/types.d.cts +2 -2
  15. package/dist/apps/types.d.ts +2 -2
  16. package/dist/assets/index.d.cts +1 -1
  17. package/dist/assets/index.d.ts +1 -1
  18. package/dist/auth/index.d.cts +1 -1
  19. package/dist/auth/index.d.ts +1 -1
  20. package/dist/auth/types.d.cts +1 -1
  21. package/dist/auth/types.d.ts +1 -1
  22. package/dist/{authClient-CBVAT3v9.d.cts → authClient-DSa5t2Ft.d.cts} +27 -33
  23. package/dist/{authClient-CRumc934.d.ts → authClient-ZiaKSKpp.d.ts} +27 -33
  24. package/dist/billing/index.d.cts +1 -1
  25. package/dist/billing/index.d.ts +1 -1
  26. package/dist/billing/types.d.cts +1 -1
  27. package/dist/billing/types.d.ts +1 -1
  28. package/dist/chat/index.d.cts +2 -2
  29. package/dist/chat/index.d.ts +2 -2
  30. package/dist/chat/types.d.cts +1 -1
  31. package/dist/chat/types.d.ts +1 -1
  32. package/dist/dataScience/index.d.cts +2 -2
  33. package/dist/dataScience/index.d.ts +2 -2
  34. package/dist/dataScience/types.d.cts +2 -2
  35. package/dist/dataScience/types.d.ts +2 -2
  36. package/dist/developerPortal/index.d.cts +2 -2
  37. package/dist/developerPortal/index.d.ts +2 -2
  38. package/dist/developerPortal/types.d.cts +1 -1
  39. package/dist/developerPortal/types.d.ts +1 -1
  40. package/dist/domain/permissions/index.cjs +1 -1
  41. package/dist/domain/permissions/index.d.cts +2 -2
  42. package/dist/domain/permissions/index.d.ts +2 -2
  43. package/dist/domain/permissions/index.js +1 -1
  44. package/dist/editor/index.d.cts +2 -2
  45. package/dist/editor/index.d.ts +2 -2
  46. package/dist/editor/types.d.cts +1 -1
  47. package/dist/editor/types.d.ts +1 -1
  48. package/dist/encryption/index.d.cts +1 -1
  49. package/dist/encryption/index.d.ts +1 -1
  50. package/dist/encryption/types.d.cts +1 -1
  51. package/dist/encryption/types.d.ts +1 -1
  52. package/dist/import/index.d.cts +3 -3
  53. package/dist/import/index.d.ts +3 -3
  54. package/dist/{index-Bl2EloC0.d.ts → index-BP3choXr.d.ts} +572 -526
  55. package/dist/{index-04pgr-EO.d.cts → index-BhDxP0x4.d.cts} +4 -4
  56. package/dist/{index-zyxZVJnd.d.ts → index-BnPYPXGQ.d.ts} +3 -3
  57. package/dist/{index-D9UsQOuT.d.cts → index-Bt43tKyu.d.cts} +5 -5
  58. package/dist/{index-BVhHt5lx.d.cts → index-BzhLY7el.d.cts} +15 -2
  59. package/dist/{index-CWPi7lBF.d.ts → index-CH5Sg3rk.d.ts} +6 -6
  60. package/dist/{index-Cvkrjh--.d.cts → index-CTKC-mwi.d.cts} +30 -4
  61. package/dist/{index-DkCXaYsn.d.cts → index-CiwWDu-q.d.cts} +3 -3
  62. package/dist/{index-DINB7vsV.d.cts → index-D-4TT5yW.d.cts} +4 -4
  63. package/dist/{index-Bf8dr2KQ.d.ts → index-DCAnnlcL.d.ts} +3 -3
  64. package/dist/{index-CA6QxbhZ.d.ts → index-DCxVLGHH.d.ts} +239 -236
  65. package/dist/{index-Dd40ojPr.d.cts → index-DQwjlSJi.d.cts} +6 -6
  66. package/dist/{index-BCgmwncs.d.ts → index-DRaVzOLM.d.ts} +5 -5
  67. package/dist/{index-BKOFRmTB.d.cts → index-DS6O4UDB.d.cts} +4 -4
  68. package/dist/{index-DtuwWYDR.d.ts → index-DWFxcmVD.d.ts} +4 -4
  69. package/dist/{index-CGCXR_6Q.d.ts → index-DXcTukgn.d.ts} +4 -4
  70. package/dist/{index-DkvrbR2i.d.cts → index-GVxpBH6j.d.cts} +239 -236
  71. package/dist/{index-BgR5zcjJ.d.ts → index-PyTPrtaL.d.ts} +15 -2
  72. package/dist/{index-R-w0Zncz.d.ts → index-se5ee8U1.d.ts} +4 -4
  73. package/dist/{index-CGFGd3tF.d.cts → index-syAYY5LC.d.cts} +572 -526
  74. package/dist/{index-BHWTa4YN.d.cts → index-x8ET_BTN.d.cts} +3 -3
  75. package/dist/{index-CX8GAP2g.d.ts → index-yJ0HrxY6.d.ts} +30 -4
  76. package/dist/index.cjs +31 -4
  77. package/dist/index.cjs.map +1 -1
  78. package/dist/index.d.cts +6 -6
  79. package/dist/index.d.ts +6 -6
  80. package/dist/index.js +28 -4
  81. package/dist/index.js.map +1 -1
  82. package/dist/kaiAgent/index.d.cts +2 -2
  83. package/dist/kaiAgent/index.d.ts +2 -2
  84. package/dist/kaiAgent/types.d.cts +1 -1
  85. package/dist/kaiAgent/types.d.ts +1 -1
  86. package/dist/management/index.cjs +2 -1
  87. package/dist/management/index.d.cts +2 -2
  88. package/dist/management/index.d.ts +2 -2
  89. package/dist/management/index.js +2 -2
  90. package/dist/management/types.d.cts +1 -1
  91. package/dist/management/types.d.ts +1 -1
  92. package/dist/{management-C5lf9nsU.cjs → management-0cWVLHei.cjs} +25 -6
  93. package/dist/management-0cWVLHei.cjs.map +1 -0
  94. package/dist/{management-WAtKH6Tu.js → management-eg4Ig-Cx.js} +18 -5
  95. package/dist/management-eg4Ig-Cx.js.map +1 -0
  96. package/dist/metastore/index.d.cts +1 -1
  97. package/dist/metastore/index.d.ts +1 -1
  98. package/dist/metastore/types.d.cts +1 -1
  99. package/dist/metastore/types.d.ts +1 -1
  100. package/dist/microsoftGraph/index.d.cts +3 -3
  101. package/dist/microsoftGraph/index.d.ts +3 -3
  102. package/dist/microsoftGraph/types.d.cts +2 -2
  103. package/dist/microsoftGraph/types.d.ts +2 -2
  104. package/dist/notifications/index.d.cts +2 -2
  105. package/dist/notifications/index.d.ts +2 -2
  106. package/dist/notifications/types.d.cts +1 -1
  107. package/dist/notifications/types.d.ts +1 -1
  108. package/dist/oauth/index.d.cts +2 -2
  109. package/dist/oauth/index.d.ts +2 -2
  110. package/dist/oauth/types.d.cts +1 -1
  111. package/dist/oauth/types.d.ts +1 -1
  112. package/dist/omnisearch/index.d.cts +2 -2
  113. package/dist/omnisearch/index.d.ts +2 -2
  114. package/dist/omnisearch/types.d.cts +1 -1
  115. package/dist/omnisearch/types.d.ts +1 -1
  116. package/dist/{project-B8wtlstY.d.cts → project-BN7YRWFS.d.cts} +8 -2
  117. package/dist/{project-DWwZv66D.js → project-BXLFrWJ6.js} +7 -1
  118. package/dist/project-BXLFrWJ6.js.map +1 -0
  119. package/dist/{project-BCc3mpAy.d.ts → project-BpWTnoQ_.d.ts} +8 -2
  120. package/dist/{project-BvFi19K_.cjs → project-CpgplgCr.cjs} +7 -1
  121. package/dist/project-CpgplgCr.cjs.map +1 -0
  122. package/dist/queryService/index.d.cts +1 -1
  123. package/dist/queryService/index.d.ts +1 -1
  124. package/dist/queryService/types.d.cts +1 -1
  125. package/dist/queryService/types.d.ts +1 -1
  126. package/dist/queue/index.d.cts +3 -3
  127. package/dist/queue/index.d.ts +3 -3
  128. package/dist/queue/types.d.cts +1 -1
  129. package/dist/queue/types.d.ts +1 -1
  130. package/dist/scheduler/index.d.cts +2 -2
  131. package/dist/scheduler/index.d.ts +2 -2
  132. package/dist/scheduler/types.d.cts +1 -1
  133. package/dist/scheduler/types.d.ts +1 -1
  134. package/dist/{schema-DJa9WBjR.d.cts → schema-BUyMwQnM.d.cts} +7 -1
  135. package/dist/{schema-DJa9WBjR.d.ts → schema-BUyMwQnM.d.ts} +7 -1
  136. package/dist/sdk/configurations/index.d.cts +4 -4
  137. package/dist/sdk/configurations/index.d.ts +4 -4
  138. package/dist/sdk/developerPortal/index.d.cts +29 -3
  139. package/dist/sdk/developerPortal/index.d.ts +29 -3
  140. package/dist/sdk/kaiMemory/index.d.cts +1 -1
  141. package/dist/sdk/kaiMemory/index.d.ts +1 -1
  142. package/dist/sdk/kaiMemory/types.d.cts +1 -1
  143. package/dist/sdk/kaiMemory/types.d.ts +1 -1
  144. package/dist/sdk/queryService/index.d.cts +1 -1
  145. package/dist/sdk/queryService/index.d.ts +1 -1
  146. package/dist/sdk/semanticLayer/index.d.cts +1 -1
  147. package/dist/sdk/semanticLayer/index.d.ts +1 -1
  148. package/dist/sdk/semanticLayer/types.d.cts +1 -1
  149. package/dist/sdk/semanticLayer/types.d.ts +1 -1
  150. package/dist/sdk/storage/index.d.cts +1 -1
  151. package/dist/sdk/storage/index.d.ts +1 -1
  152. package/dist/sdk/tag/index.d.cts +2 -2
  153. package/dist/sdk/tag/index.d.ts +2 -2
  154. package/dist/sdk/tag/types.d.cts +1 -1
  155. package/dist/sdk/tag/types.d.ts +1 -1
  156. package/dist/sdk/vault/index.d.cts +1 -1
  157. package/dist/sdk/vault/index.d.ts +1 -1
  158. package/dist/status/index.d.cts +1 -1
  159. package/dist/status/index.d.ts +1 -1
  160. package/dist/storage/index.cjs +3 -2
  161. package/dist/storage/index.d.cts +3 -3
  162. package/dist/storage/index.d.ts +3 -3
  163. package/dist/storage/index.js +2 -2
  164. package/dist/storage/types.d.cts +2 -2
  165. package/dist/storage/types.d.ts +2 -2
  166. package/dist/storage-76Sf_z_H.cjs.map +1 -1
  167. package/dist/storage-RkNaOFJ-.js.map +1 -1
  168. package/dist/stream/index.d.cts +2 -2
  169. package/dist/stream/index.d.ts +2 -2
  170. package/dist/stream/types.d.cts +1 -1
  171. package/dist/stream/types.d.ts +1 -1
  172. package/dist/syncActions/index.d.cts +2 -2
  173. package/dist/syncActions/index.d.ts +2 -2
  174. package/dist/syncActions/types.d.cts +1 -1
  175. package/dist/syncActions/types.d.ts +1 -1
  176. package/dist/telemetry/index.d.cts +2 -2
  177. package/dist/telemetry/index.d.ts +2 -2
  178. package/dist/telemetry/types.d.cts +1 -1
  179. package/dist/telemetry/types.d.ts +1 -1
  180. package/dist/{types-DgPt4LY_.d.cts → types--owScV0r.d.cts} +183 -77
  181. package/dist/{types-CLHaZv9f.d.cts → types-1B3ioN33.d.cts} +3 -3
  182. package/dist/{types-tgU8XvPs.d.cts → types-5HdT1rSH.d.cts} +2 -2
  183. package/dist/{types-DaMmgW-O.d.ts → types-B1GN_I06.d.ts} +2 -2
  184. package/dist/{types-DrvKfXXd.d.cts → types-B5kkD7h4.d.cts} +2 -2
  185. package/dist/{types-D9axmt5o.d.cts → types-BE7mRarT.d.ts} +8 -2
  186. package/dist/{types-CcYxlqtB.d.cts → types-BGICH80a.d.cts} +2 -2
  187. package/dist/{types-BaSlU0uo.d.ts → types-BHxsCu0f.d.ts} +2 -2
  188. package/dist/{types-z82gSTx8.d.ts → types-BMWeCO5M.d.ts} +3 -3
  189. package/dist/{types-CGm2fQKK.d.cts → types-BRvs3fXN.d.cts} +64 -5
  190. package/dist/{types-B-5ya_L5.d.ts → types-BTqxM-IN.d.ts} +2 -2
  191. package/dist/{types-DxN2siRW.d.ts → types-BjIuVrAZ.d.ts} +3 -3
  192. package/dist/{types-DoZtE9tz.d.cts → types-BksK2Eo0.d.cts} +2 -2
  193. package/dist/{types-DicSaNwq.d.ts → types-BoNqe_Lz.d.ts} +2 -2
  194. package/dist/{types-CAp1VexS.d.ts → types-Br04cEri.d.ts} +16 -4
  195. package/dist/{types-CN6huo55.d.ts → types-BtII5RSD.d.ts} +183 -77
  196. package/dist/types-Btb8r9iw.d.ts +1467 -0
  197. package/dist/{types-B2w2TtSA.d.ts → types-BuKviWct.d.ts} +2 -2
  198. package/dist/{types-CalDJHCX.d.cts → types-C05ALlV6.d.cts} +3 -3
  199. package/dist/{types-DzV6LaZq.d.ts → types-C4yryy-R.d.ts} +132 -5
  200. package/dist/{types-DdsYv2WG.d.cts → types-C8oZX0oP.d.cts} +3 -3
  201. package/dist/{types-BhEx9iRx.d.ts → types-CESP1ONj.d.ts} +1364 -1316
  202. package/dist/{types-ByLH46Dt.d.cts → types-CFurl1xe.d.cts} +2 -2
  203. package/dist/{types-BjR8Yodc.d.cts → types-CGhu0tID.d.cts} +2 -2
  204. package/dist/{types-DVZpKGBJ.d.ts → types-CaBhH99H.d.ts} +3 -3
  205. package/dist/{types-D1A4mAG0.d.cts → types-CclheyE7.d.cts} +3 -3
  206. package/dist/{types-CoJVrRAD.d.ts → types-CoQET4Ep.d.ts} +2 -2
  207. package/dist/{types-BiEh5c_t.d.cts → types-Csmy6qFk.d.cts} +132 -5
  208. package/dist/{types-CgBzm1YR.d.cts → types-CyO8qCKl.d.cts} +2 -2
  209. package/dist/{types-DlQw6FCi.d.ts → types-DDjp9lXD.d.ts} +2 -2
  210. package/dist/{types-CBPKpLTf.d.cts → types-DGu-wPPm.d.cts} +169 -2
  211. package/dist/{types-Ccd9O6ca.d.cts → types-DHdXufVf.d.cts} +3 -3
  212. package/dist/{types-BPy5Ozee.d.cts → types-DMWfdZ5C.d.cts} +2 -2
  213. package/dist/{types-WZBztugL.d.ts → types-DQauEri3.d.ts} +2 -2
  214. package/dist/{types-BZDV8DZk.d.ts → types-DSv1XS7s.d.ts} +11 -6
  215. package/dist/{types-YHUEArkR.d.cts → types-DUDQg4ry.d.cts} +2 -2
  216. package/dist/{types-CABWhTa9.d.ts → types-DiE081mn.d.ts} +3 -3
  217. package/dist/{types-CZJlLCbA.d.ts → types-Dvysi2Eo.d.ts} +2 -2
  218. package/dist/{types-sV9OaqTI.d.cts → types-GaOcVZ3d.d.cts} +1364 -1316
  219. package/dist/{types-Bydx6ga_.d.cts → types-LxDyOfdY.d.cts} +2 -2
  220. package/dist/{types-D8pGSkRe.d.ts → types-M9vU_ONp.d.ts} +3 -3
  221. package/dist/{types-CfwqVkEA.d.ts → types-Nwq1QtYe.d.ts} +2 -2
  222. package/dist/{types-9SEE4icc.d.ts → types-P_61P9Nd.d.ts} +2 -2
  223. package/dist/{types-pvQzbgNE.d.cts → types-QroFANIW.d.cts} +11 -6
  224. package/dist/{types-Fs4a3mVs.d.ts → types-UI2aZ74n.d.ts} +64 -5
  225. package/dist/{types-Dd31Lw4S.d.cts → types-XHNJRi3-.d.cts} +2 -2
  226. package/dist/{types-BBUZ9EHs.d.ts → types-YdE2VJzw.d.cts} +8 -2
  227. package/dist/{types-DVt0qlzI.d.cts → types-fAqPUl-a.d.ts} +521 -270
  228. package/dist/{types-c_bsDkV6.d.cts → types-ggpJFEWZ.d.cts} +16 -4
  229. package/dist/{types-CaOtNjSZ.d.ts → types-j30rKMe6.d.ts} +2 -2
  230. package/dist/{types-ePSqbXRr.d.cts → types-q5lgElyc.d.cts} +2 -2
  231. package/dist/{types-AYX7VtS6.d.ts → types-qGMVZGSB.d.ts} +169 -2
  232. package/dist/{types-D3wcs4tp.d.ts → types-qWA5iU0j.d.ts} +2 -2
  233. package/dist/{types-DazRtukc.d.ts → types-sI3K5t3w.d.cts} +521 -270
  234. package/dist/types-sg2xnYlr.d.cts +1467 -0
  235. package/dist/{types-B8N_k79M.d.cts → types-tJLoKlMX.d.cts} +2 -2
  236. package/dist/vault/index.d.cts +1 -1
  237. package/dist/vault/index.d.ts +1 -1
  238. package/dist/vault/types.d.cts +1 -1
  239. package/dist/vault/types.d.ts +1 -1
  240. package/package.json +1 -1
  241. package/surface/auth.md +19 -19
  242. package/surface/kaiAgent.md +1 -1
  243. package/surface/management.md +41 -41
  244. package/surface/storage.md +21 -21
  245. package/dist/ManagementClientAuthError-BcPYxAWZ.js +0 -16
  246. package/dist/ManagementClientAuthError-BcPYxAWZ.js.map +0 -1
  247. package/dist/ManagementClientAuthError-DHuykEPF.cjs +0 -21
  248. package/dist/ManagementClientAuthError-DHuykEPF.cjs.map +0 -1
  249. package/dist/management-C5lf9nsU.cjs.map +0 -1
  250. package/dist/management-WAtKH6Tu.js.map +0 -1
  251. package/dist/project-BvFi19K_.cjs.map +0 -1
  252. package/dist/project-DWwZv66D.js.map +0 -1
  253. package/dist/types-BhOUS9j1.d.cts +0 -749
  254. package/dist/types-gcAb6olM.d.ts +0 -749
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @keboola/api-client
2
2
 
3
+ ## 46.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Regenerate the omnisearch, developerPortal, vault, dataScience, apps, kaiAgent, storage, management, auth, oauth and microsoftGraph OpenAPI types against the live services
8
+ - **Breaking:** `auth.me.getOrganizations`, `getProjects` and `getMaintainers` return a cursor page `{ data, meta, links }` instead of `{ count, items, limit, offset, hasMore }`, and take `{ page: { after, limit }, filter: { … } }` instead of `limit` / `offset` / top-level filters (`q` is now `filter.name`).
9
+ - `storage.tokens.createToken` resolves `token` as a required `string`.
10
+
11
+ ### Minor Changes
12
+
13
+ - The admin behind a Manage token, as a domain object.
14
+ - `createAdminAccount({ managementToken })` mirrors `createProject`: `isSuperAdmin`, `hasAdminFeature`, `hasAnyAdminFeature`, the raw `user` and the token.
15
+ - A token with no admin behind it, or `null` for no token at all, yields an account where every helper answers `false`.
16
+ - `ManagementSessionMintError` (a `ManagementClientAuthError`) when the legacy client could not mint a session token from the login cookie, with `isManagementSessionMintError`. A bearer client never raises it.
17
+
3
18
  ## 45.0.0
4
19
 
5
20
  ### Major Changes
@@ -0,0 +1,36 @@
1
+ import { p as ApiError } from "./createFetchClient-DITkTV2k.js";
2
+ //#region src/errors/ManagementClientAuthError.ts
3
+ var ManagementClientAuthError = class extends ApiError {
4
+ title;
5
+ message;
6
+ constructor(title, message, res) {
7
+ super(res);
8
+ this.name = "ManagementClientAuthError";
9
+ this.title = title;
10
+ this.message = message;
11
+ }
12
+ };
13
+ //#endregion
14
+ //#region src/errors/ManagementSessionMintError.ts
15
+ /**
16
+ * The Manage client has no credential of its own and could not mint a session token from the
17
+ * login cookie.
18
+ *
19
+ * - Only the legacy (SAPI) entry point mints; a bearer client never raises it.
20
+ * - The login page in place of the token: the session expired, or there is no cookie (off the
21
+ * stack host).
22
+ */
23
+ var ManagementSessionMintError = class extends ManagementClientAuthError {
24
+ constructor({ title, message, response, request, data }) {
25
+ super(title, message, {
26
+ response,
27
+ request,
28
+ data
29
+ });
30
+ this.name = "ManagementSessionMintError";
31
+ }
32
+ };
33
+ //#endregion
34
+ export { ManagementClientAuthError as n, ManagementSessionMintError as t };
35
+
36
+ //# sourceMappingURL=ManagementSessionMintError-5FFyvBZi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ManagementSessionMintError-5FFyvBZi.js","names":[],"sources":["../src/errors/ManagementClientAuthError.ts","../src/errors/ManagementSessionMintError.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\nexport class ManagementClientAuthError extends ApiError {\n title: string;\n message: string;\n constructor(title: string, message: string, res: ApiResponse) {\n super(res);\n this.name = 'ManagementClientAuthError';\n this.title = title;\n this.message = message;\n }\n}\n","import { ManagementClientAuthError } from './ManagementClientAuthError';\n\n/**\n * The Manage client has no credential of its own and could not mint a session token from the\n * login cookie.\n *\n * - Only the legacy (SAPI) entry point mints; a bearer client never raises it.\n * - The login page in place of the token: the session expired, or there is no cookie (off the\n * stack host).\n */\nexport class ManagementSessionMintError extends ManagementClientAuthError {\n constructor({ title, message, response, request, data }: ManagementClientAuthError) {\n super(title, message, { response, request, data });\n this.name = 'ManagementSessionMintError';\n }\n}\n"],"mappings":";;AAIA,IAAa,4BAAb,cAA+C,SAAS;CACtD;CACA;CACA,YAAY,OAAe,SAAiB,KAAkB;EAC5D,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;CACjB;AACF;;;;;;;;;;;ACHA,IAAa,6BAAb,cAAgD,0BAA0B;CACxE,YAAY,EAAE,OAAO,SAAS,UAAU,SAAS,QAAmC;EAClF,MAAM,OAAO,SAAS;GAAE;GAAU;GAAS;EAAK,CAAC;EACjD,KAAK,OAAO;CACd;AACF"}
@@ -0,0 +1,47 @@
1
+ const require_createFetchClient = require("./createFetchClient-ClWD4ua3.cjs");
2
+ //#region src/errors/ManagementClientAuthError.ts
3
+ var ManagementClientAuthError = class extends require_createFetchClient.ApiError {
4
+ title;
5
+ message;
6
+ constructor(title, message, res) {
7
+ super(res);
8
+ this.name = "ManagementClientAuthError";
9
+ this.title = title;
10
+ this.message = message;
11
+ }
12
+ };
13
+ //#endregion
14
+ //#region src/errors/ManagementSessionMintError.ts
15
+ /**
16
+ * The Manage client has no credential of its own and could not mint a session token from the
17
+ * login cookie.
18
+ *
19
+ * - Only the legacy (SAPI) entry point mints; a bearer client never raises it.
20
+ * - The login page in place of the token: the session expired, or there is no cookie (off the
21
+ * stack host).
22
+ */
23
+ var ManagementSessionMintError = class extends ManagementClientAuthError {
24
+ constructor({ title, message, response, request, data }) {
25
+ super(title, message, {
26
+ response,
27
+ request,
28
+ data
29
+ });
30
+ this.name = "ManagementSessionMintError";
31
+ }
32
+ };
33
+ //#endregion
34
+ Object.defineProperty(exports, "ManagementClientAuthError", {
35
+ enumerable: true,
36
+ get: function() {
37
+ return ManagementClientAuthError;
38
+ }
39
+ });
40
+ Object.defineProperty(exports, "ManagementSessionMintError", {
41
+ enumerable: true,
42
+ get: function() {
43
+ return ManagementSessionMintError;
44
+ }
45
+ });
46
+
47
+ //# sourceMappingURL=ManagementSessionMintError-Bm8s6yDB.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ManagementSessionMintError-Bm8s6yDB.cjs","names":["ApiError"],"sources":["../src/errors/ManagementClientAuthError.ts","../src/errors/ManagementSessionMintError.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\nexport class ManagementClientAuthError extends ApiError {\n title: string;\n message: string;\n constructor(title: string, message: string, res: ApiResponse) {\n super(res);\n this.name = 'ManagementClientAuthError';\n this.title = title;\n this.message = message;\n }\n}\n","import { ManagementClientAuthError } from './ManagementClientAuthError';\n\n/**\n * The Manage client has no credential of its own and could not mint a session token from the\n * login cookie.\n *\n * - Only the legacy (SAPI) entry point mints; a bearer client never raises it.\n * - The login page in place of the token: the session expired, or there is no cookie (off the\n * stack host).\n */\nexport class ManagementSessionMintError extends ManagementClientAuthError {\n constructor({ title, message, response, request, data }: ManagementClientAuthError) {\n super(title, message, { response, request, data });\n this.name = 'ManagementSessionMintError';\n }\n}\n"],"mappings":";;AAIA,IAAa,4BAAb,cAA+CA,0BAAAA,SAAS;CACtD;CACA;CACA,YAAY,OAAe,SAAiB,KAAkB;EAC5D,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;CACjB;AACF;;;;;;;;;;;ACHA,IAAa,6BAAb,cAAgD,0BAA0B;CACxE,YAAY,EAAE,OAAO,SAAS,UAAU,SAAS,QAAmC;EAClF,MAAM,OAAO,SAAS;GAAE;GAAU;GAAS;EAAK,CAAC;EACjD,KAAK,OAAO;CACd;AACF"}
@@ -1,5 +1,5 @@
1
- import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "../types-YHUEArkR.cjs";
2
- import { n as ClientInitOptions } from "../types-DoZtE9tz.cjs";
1
+ import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "../types-DUDQg4ry.cjs";
2
+ import { n as ClientInitOptions } from "../types-BksK2Eo0.cjs";
3
3
  //#region src/clients/ai/aiClient.d.ts
4
4
  declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
5
5
  healthCheck: (signal?: AbortSignal) => Promise<{
@@ -1,5 +1,5 @@
1
- import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "../types-CfwqVkEA.js";
2
- import { n as ClientInitOptions } from "../types-B2w2TtSA.js";
1
+ import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "../types-Nwq1QtYe.js";
2
+ import { n as ClientInitOptions } from "../types-BuKviWct.js";
3
3
  //#region src/clients/ai/aiClient.d.ts
4
4
  declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
5
5
  healthCheck: (signal?: AbortSignal) => Promise<{
@@ -1,2 +1,2 @@
1
- import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as ObjectDescription, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as FeedbackBody } from "../types-YHUEArkR.cjs";
1
+ import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as ObjectDescription, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as FeedbackBody } from "../types-DUDQg4ry.cjs";
2
2
  export { ComponentDocsDetail, ComponentSuggestion, DescribeConfigurationBody, DescribeConfigurationMergeBody, DescribeConfigurationVersionBody, DocsAnswer, DocsQuestionBody, ErrorExplanation, ExplainErrorBody, FeedbackBody, ObjectDescription, SuggestComponentBody };
@@ -1,2 +1,2 @@
1
- import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as ObjectDescription, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as FeedbackBody } from "../types-CfwqVkEA.js";
1
+ import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as ObjectDescription, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as FeedbackBody } from "../types-Nwq1QtYe.js";
2
2
  export { ComponentDocsDetail, ComponentSuggestion, DescribeConfigurationBody, DescribeConfigurationMergeBody, DescribeConfigurationVersionBody, DocsAnswer, DocsQuestionBody, ErrorExplanation, ExplainErrorBody, FeedbackBody, ObjectDescription, SuggestComponentBody };
@@ -1,4 +1,4 @@
1
- import "./index-BgR5zcjJ.js";
1
+ import "./index-PyTPrtaL.js";
2
2
  //#region src/domain/appLogs.d.ts
3
3
  type LogEntry = {
4
4
  timestamp: string | null;
@@ -7,4 +7,4 @@ type LogEntry = {
7
7
  declare const parseLogLines: (raw: unknown) => LogEntry[];
8
8
  //#endregion
9
9
  export { parseLogLines as n, LogEntry as t };
10
- //# sourceMappingURL=appLogs-BS6ViVGR.d.ts.map
10
+ //# sourceMappingURL=appLogs-DGIctwbb.d.ts.map
@@ -1,4 +1,4 @@
1
- import "./index-BVhHt5lx.cjs";
1
+ import "./index-BzhLY7el.cjs";
2
2
  //#region src/domain/appLogs.d.ts
3
3
  type LogEntry = {
4
4
  timestamp: string | null;
@@ -7,4 +7,4 @@ type LogEntry = {
7
7
  declare const parseLogLines: (raw: unknown) => LogEntry[];
8
8
  //#endregion
9
9
  export { parseLogLines as n, LogEntry as t };
10
- //# sourceMappingURL=appLogs-C9YlJ2g8.d.cts.map
10
+ //# sourceMappingURL=appLogs-Dl0v684o.d.cts.map
@@ -1,6 +1,6 @@
1
- import { n as ClientInitOptions } from "../types-DoZtE9tz.cjs";
2
- import { C as components, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-pvQzbgNE.cjs";
3
- import { t as LogEntry } from "../appLogs-C9YlJ2g8.cjs";
1
+ import { n as ClientInitOptions } from "../types-BksK2Eo0.cjs";
2
+ import { C as components, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-QroFANIW.cjs";
3
+ import { t as LogEntry } from "../appLogs-Dl0v684o.cjs";
4
4
  //#region src/clients/apps/appsClient.d.ts
5
5
  /**
6
6
  * Options every write takes.
@@ -1,6 +1,6 @@
1
- import { n as ClientInitOptions } from "../types-B2w2TtSA.js";
2
- import { C as components, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-BZDV8DZk.js";
3
- import { t as LogEntry } from "../appLogs-BS6ViVGR.js";
1
+ import { n as ClientInitOptions } from "../types-BuKviWct.js";
2
+ import { C as components, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-DSv1XS7s.js";
3
+ import { t as LogEntry } from "../appLogs-DGIctwbb.js";
4
4
  //#region src/clients/apps/appsClient.d.ts
5
5
  /**
6
6
  * Options every write takes.
@@ -1,3 +1,3 @@
1
- import { S as RunId, _ as DeploymentRunState, a as AppRun, b as GetDeploymentsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-pvQzbgNE.cjs";
2
- import { t as LogEntry } from "../appLogs-C9YlJ2g8.cjs";
1
+ import { S as RunId, _ as DeploymentRunState, a as AppRun, b as GetDeploymentsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-QroFANIW.cjs";
2
+ import { t as LogEntry } from "../appLogs-Dl0v684o.cjs";
3
3
  export { App, AppGitRepo, AppId, AppPassword, AppRun, AppState, CreateAppBody, CreateCredentialBody, CreateDeploymentBody, CreatedCredential, Credential, CredentialId, CredentialList, Deployment, DeploymentBuildState, DeploymentId, DeploymentRunState, GetAppRunsQuery, GetAppsQuery, GetDeploymentsQuery, GetLogsTailQuery, type LogEntry, RunId };
@@ -1,3 +1,3 @@
1
- import { S as RunId, _ as DeploymentRunState, a as AppRun, b as GetDeploymentsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-BZDV8DZk.js";
2
- import { t as LogEntry } from "../appLogs-BS6ViVGR.js";
1
+ import { S as RunId, _ as DeploymentRunState, a as AppRun, b as GetDeploymentsQuery, c as CreateCredentialBody, d as Credential, f as CredentialId, g as DeploymentId, h as DeploymentBuildState, i as AppPassword, l as CreateDeploymentBody, m as Deployment, n as AppGitRepo, o as AppState, p as CredentialList, r as AppId, s as CreateAppBody, t as App, u as CreatedCredential, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "../types-DSv1XS7s.js";
2
+ import { t as LogEntry } from "../appLogs-DGIctwbb.js";
3
3
  export { App, AppGitRepo, AppId, AppPassword, AppRun, AppState, CreateAppBody, CreateCredentialBody, CreateDeploymentBody, CreatedCredential, Credential, CredentialId, CredentialList, Deployment, DeploymentBuildState, DeploymentId, DeploymentRunState, GetAppRunsQuery, GetAppsQuery, GetDeploymentsQuery, GetLogsTailQuery, type LogEntry, RunId };
@@ -1,4 +1,4 @@
1
- import { n as ClientInitOptions } from "../types-DoZtE9tz.cjs";
1
+ import { n as ClientInitOptions } from "../types-BksK2Eo0.cjs";
2
2
  //#region src/clients/assets/assetsClient.d.ts
3
3
  declare const createAssetsClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {
4
4
  getPublishedChangelogPosts: (signal?: AbortSignal) => Promise<{
@@ -1,4 +1,4 @@
1
- import { n as ClientInitOptions } from "../types-B2w2TtSA.js";
1
+ import { n as ClientInitOptions } from "../types-BuKviWct.js";
2
2
  //#region src/clients/assets/assetsClient.d.ts
3
3
  declare const createAssetsClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {
4
4
  getPublishedChangelogPosts: (signal?: AbortSignal) => Promise<{
@@ -1,2 +1,2 @@
1
- import { A as PasswordInput, C as ApiLoginSuccess, D as LoginUser, E as LoginResultFor, F as mfaChallengeSchema, I as oidcInputSchema, L as passwordInputSchema, M as apiLoginSuccessSchema, N as browserLoginResultSchema, O as MfaChallenge, P as browserLoginSuccessSchema, S as ApiLoginResult, T as BrowserLoginSuccess, _ as MfaWebauthnInput, a as RefreshTokenInput, b as mfaWebauthnInputSchema, c as ChangePasswordInput, d as changeInputSchema, f as resetInputSchema, g as MfaMethod, h as MfaCodeInput, i as RefreshSessionInput, j as apiLoginResultSchema, k as OidcInput, l as ResetInput, m as MFA_METHOD, n as AuthOpenApiFetchClient, o as refreshSessionInputSchema, p as resetRequestInputSchema, r as createAuthClient, s as refreshTokenInputSchema, t as AuthClientInitOptions, u as ResetRequestInput, v as TotpVerifyInput, w as BrowserLoginResult, x as totpVerifyInputSchema, y as mfaCodeInputSchema } from "../authClient-CBVAT3v9.cjs";
1
+ import { A as PasswordInput, C as ApiLoginSuccess, D as LoginUser, E as LoginResultFor, F as mfaChallengeSchema, I as oidcInputSchema, L as passwordInputSchema, M as apiLoginSuccessSchema, N as browserLoginResultSchema, O as MfaChallenge, P as browserLoginSuccessSchema, S as ApiLoginResult, T as BrowserLoginSuccess, _ as MfaWebauthnInput, a as RefreshTokenInput, b as mfaWebauthnInputSchema, c as ChangePasswordInput, d as changeInputSchema, f as resetInputSchema, g as MfaMethod, h as MfaCodeInput, i as RefreshSessionInput, j as apiLoginResultSchema, k as OidcInput, l as ResetInput, m as MFA_METHOD, n as AuthOpenApiFetchClient, o as refreshSessionInputSchema, p as resetRequestInputSchema, r as createAuthClient, s as refreshTokenInputSchema, t as AuthClientInitOptions, u as ResetRequestInput, v as TotpVerifyInput, w as BrowserLoginResult, x as totpVerifyInputSchema, y as mfaCodeInputSchema } from "../authClient-DSa5t2Ft.cjs";
2
2
  export { ApiLoginResult, ApiLoginSuccess, AuthClientInitOptions, AuthOpenApiFetchClient, BrowserLoginResult, BrowserLoginSuccess, ChangePasswordInput, LoginResultFor, LoginUser, MFA_METHOD, MfaChallenge, MfaCodeInput, MfaMethod, MfaWebauthnInput, OidcInput, PasswordInput, RefreshSessionInput, RefreshTokenInput, ResetInput, ResetRequestInput, TotpVerifyInput, apiLoginResultSchema, apiLoginSuccessSchema, browserLoginResultSchema, browserLoginSuccessSchema, changeInputSchema, createAuthClient, mfaChallengeSchema, mfaCodeInputSchema, mfaWebauthnInputSchema, oidcInputSchema, passwordInputSchema, refreshSessionInputSchema, refreshTokenInputSchema, resetInputSchema, resetRequestInputSchema, totpVerifyInputSchema };
@@ -1,2 +1,2 @@
1
- import { A as PasswordInput, C as ApiLoginSuccess, D as LoginUser, E as LoginResultFor, F as mfaChallengeSchema, I as oidcInputSchema, L as passwordInputSchema, M as apiLoginSuccessSchema, N as browserLoginResultSchema, O as MfaChallenge, P as browserLoginSuccessSchema, S as ApiLoginResult, T as BrowserLoginSuccess, _ as MfaWebauthnInput, a as RefreshTokenInput, b as mfaWebauthnInputSchema, c as ChangePasswordInput, d as changeInputSchema, f as resetInputSchema, g as MfaMethod, h as MfaCodeInput, i as RefreshSessionInput, j as apiLoginResultSchema, k as OidcInput, l as ResetInput, m as MFA_METHOD, n as AuthOpenApiFetchClient, o as refreshSessionInputSchema, p as resetRequestInputSchema, r as createAuthClient, s as refreshTokenInputSchema, t as AuthClientInitOptions, u as ResetRequestInput, v as TotpVerifyInput, w as BrowserLoginResult, x as totpVerifyInputSchema, y as mfaCodeInputSchema } from "../authClient-CRumc934.js";
1
+ import { A as PasswordInput, C as ApiLoginSuccess, D as LoginUser, E as LoginResultFor, F as mfaChallengeSchema, I as oidcInputSchema, L as passwordInputSchema, M as apiLoginSuccessSchema, N as browserLoginResultSchema, O as MfaChallenge, P as browserLoginSuccessSchema, S as ApiLoginResult, T as BrowserLoginSuccess, _ as MfaWebauthnInput, a as RefreshTokenInput, b as mfaWebauthnInputSchema, c as ChangePasswordInput, d as changeInputSchema, f as resetInputSchema, g as MfaMethod, h as MfaCodeInput, i as RefreshSessionInput, j as apiLoginResultSchema, k as OidcInput, l as ResetInput, m as MFA_METHOD, n as AuthOpenApiFetchClient, o as refreshSessionInputSchema, p as resetRequestInputSchema, r as createAuthClient, s as refreshTokenInputSchema, t as AuthClientInitOptions, u as ResetRequestInput, v as TotpVerifyInput, w as BrowserLoginResult, x as totpVerifyInputSchema, y as mfaCodeInputSchema } from "../authClient-ZiaKSKpp.js";
2
2
  export { ApiLoginResult, ApiLoginSuccess, AuthClientInitOptions, AuthOpenApiFetchClient, BrowserLoginResult, BrowserLoginSuccess, ChangePasswordInput, LoginResultFor, LoginUser, MFA_METHOD, MfaChallenge, MfaCodeInput, MfaMethod, MfaWebauthnInput, OidcInput, PasswordInput, RefreshSessionInput, RefreshTokenInput, ResetInput, ResetRequestInput, TotpVerifyInput, apiLoginResultSchema, apiLoginSuccessSchema, browserLoginResultSchema, browserLoginSuccessSchema, changeInputSchema, createAuthClient, mfaChallengeSchema, mfaCodeInputSchema, mfaWebauthnInputSchema, oidcInputSchema, passwordInputSchema, refreshSessionInputSchema, refreshTokenInputSchema, resetInputSchema, resetRequestInputSchema, totpVerifyInputSchema };
@@ -1,2 +1,2 @@
1
- import { A as PatScopeInput, B as GetMeOrganizationsQuery, C as GetPkceTokenResult, D as ExchangePatBodyRaw, E as CreatePatResult, F as TotpVerifyResult, G as CreateDeviceAuthorizationBody, H as LoginBody, I as VerifyMfaBody, J as GetDeviceAuthorizationTokenResult, K as CreateDeviceAuthorizationResult, L as VerifyMfaResult, M as DisableTotpPath, N as RegenerateRecoveryCodesResult, O as ExchangePatInput, P as TotpSetupResult, R as VerifyMfaType, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, W as ApproveDeviceAuthorizationResult, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, c as IntrospectTokenResult, d as RefreshTokenResult, f as RevokeTokenBody, g as SudoResult, h as SudoChallengeResult, i as RegisterWebauthnResult, j as RevokePatPath, k as ListPatsResult, l as RefreshTokenBody, m as SudoBodyRaw, n as RegisterWebauthnInput, o as RemoveWebauthnPath, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, s as RemoveWebauthnQuery, t as ListWebauthnCredentialsResult, u as RefreshTokenPartialBody, v as AssertSamlBody, w as CreatePatBodyRaw, x as InitiateSamlResult, y as AssertSamlResult, z as GetMeMaintainersQuery } from "../types-DgPt4LY_.cjs";
1
+ import { A as PatScopeInput, B as GetMeOrganizationsQuery, C as GetPkceTokenResult, D as ExchangePatBodyRaw, E as CreatePatResult, F as TotpVerifyResult, G as CreateDeviceAuthorizationBody, H as LoginBody, I as VerifyMfaBody, J as GetDeviceAuthorizationTokenResult, K as CreateDeviceAuthorizationResult, L as VerifyMfaResult, M as DisableTotpPath, N as RegenerateRecoveryCodesResult, O as ExchangePatInput, P as TotpSetupResult, R as VerifyMfaType, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, W as ApproveDeviceAuthorizationResult, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, c as IntrospectTokenResult, d as RefreshTokenResult, f as RevokeTokenBody, g as SudoResult, h as SudoChallengeResult, i as RegisterWebauthnResult, j as RevokePatPath, k as ListPatsResult, l as RefreshTokenBody, m as SudoBodyRaw, n as RegisterWebauthnInput, o as RemoveWebauthnPath, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, s as RemoveWebauthnQuery, t as ListWebauthnCredentialsResult, u as RefreshTokenPartialBody, v as AssertSamlBody, w as CreatePatBodyRaw, x as InitiateSamlResult, y as AssertSamlResult, z as GetMeMaintainersQuery } from "../types--owScV0r.cjs";
2
2
  export { ApproveDeviceAuthorizationBody, ApproveDeviceAuthorizationResult, AssertSamlBody, AssertSamlResult, CreateDeviceAuthorizationBody, CreateDeviceAuthorizationResult, CreatePatBodyRaw, CreatePatInput, CreatePatResult, DisableTotpPath, ExchangePatBodyRaw, ExchangePatInput, GetDeviceAuthorizationTokenBody, GetDeviceAuthorizationTokenResult, GetMeMaintainersQuery, GetMeOrganizationsQuery, GetMeProjectsQuery, GetPkceTokenBody, GetPkceTokenResult, InitiateSamlBody, InitiateSamlResult, IntrospectTokenResult, ListPatsResult, ListWebauthnCredentialsResult, LoginBody, PatScopeInput, RefreshTokenBody, RefreshTokenPartialBody, RefreshTokenResult, RegenerateRecoveryCodesResult, RegisterWebauthnInput, RegisterWebauthnOptionsResult, RegisterWebauthnResult, RemoveWebauthnInput, RemoveWebauthnPath, RemoveWebauthnQuery, RevokePatPath, RevokeSessionPath, RevokeTokenBody, SudoBody, SudoBodyRaw, SudoChallengeResult, SudoResult, TotpSetupResult, TotpVerifyResult, VerifyMfaBody, VerifyMfaResult, VerifyMfaType };
@@ -1,2 +1,2 @@
1
- import { A as PatScopeInput, B as GetMeOrganizationsQuery, C as GetPkceTokenResult, D as ExchangePatBodyRaw, E as CreatePatResult, F as TotpVerifyResult, G as CreateDeviceAuthorizationBody, H as LoginBody, I as VerifyMfaBody, J as GetDeviceAuthorizationTokenResult, K as CreateDeviceAuthorizationResult, L as VerifyMfaResult, M as DisableTotpPath, N as RegenerateRecoveryCodesResult, O as ExchangePatInput, P as TotpSetupResult, R as VerifyMfaType, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, W as ApproveDeviceAuthorizationResult, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, c as IntrospectTokenResult, d as RefreshTokenResult, f as RevokeTokenBody, g as SudoResult, h as SudoChallengeResult, i as RegisterWebauthnResult, j as RevokePatPath, k as ListPatsResult, l as RefreshTokenBody, m as SudoBodyRaw, n as RegisterWebauthnInput, o as RemoveWebauthnPath, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, s as RemoveWebauthnQuery, t as ListWebauthnCredentialsResult, u as RefreshTokenPartialBody, v as AssertSamlBody, w as CreatePatBodyRaw, x as InitiateSamlResult, y as AssertSamlResult, z as GetMeMaintainersQuery } from "../types-CN6huo55.js";
1
+ import { A as PatScopeInput, B as GetMeOrganizationsQuery, C as GetPkceTokenResult, D as ExchangePatBodyRaw, E as CreatePatResult, F as TotpVerifyResult, G as CreateDeviceAuthorizationBody, H as LoginBody, I as VerifyMfaBody, J as GetDeviceAuthorizationTokenResult, K as CreateDeviceAuthorizationResult, L as VerifyMfaResult, M as DisableTotpPath, N as RegenerateRecoveryCodesResult, O as ExchangePatInput, P as TotpSetupResult, R as VerifyMfaType, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, W as ApproveDeviceAuthorizationResult, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, c as IntrospectTokenResult, d as RefreshTokenResult, f as RevokeTokenBody, g as SudoResult, h as SudoChallengeResult, i as RegisterWebauthnResult, j as RevokePatPath, k as ListPatsResult, l as RefreshTokenBody, m as SudoBodyRaw, n as RegisterWebauthnInput, o as RemoveWebauthnPath, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, s as RemoveWebauthnQuery, t as ListWebauthnCredentialsResult, u as RefreshTokenPartialBody, v as AssertSamlBody, w as CreatePatBodyRaw, x as InitiateSamlResult, y as AssertSamlResult, z as GetMeMaintainersQuery } from "../types-BtII5RSD.js";
2
2
  export { ApproveDeviceAuthorizationBody, ApproveDeviceAuthorizationResult, AssertSamlBody, AssertSamlResult, CreateDeviceAuthorizationBody, CreateDeviceAuthorizationResult, CreatePatBodyRaw, CreatePatInput, CreatePatResult, DisableTotpPath, ExchangePatBodyRaw, ExchangePatInput, GetDeviceAuthorizationTokenBody, GetDeviceAuthorizationTokenResult, GetMeMaintainersQuery, GetMeOrganizationsQuery, GetMeProjectsQuery, GetPkceTokenBody, GetPkceTokenResult, InitiateSamlBody, InitiateSamlResult, IntrospectTokenResult, ListPatsResult, ListWebauthnCredentialsResult, LoginBody, PatScopeInput, RefreshTokenBody, RefreshTokenPartialBody, RefreshTokenResult, RegenerateRecoveryCodesResult, RegisterWebauthnInput, RegisterWebauthnOptionsResult, RegisterWebauthnResult, RemoveWebauthnInput, RemoveWebauthnPath, RemoveWebauthnQuery, RevokePatPath, RevokeSessionPath, RevokeTokenBody, SudoBody, SudoBodyRaw, SudoChallengeResult, SudoResult, TotpSetupResult, TotpVerifyResult, VerifyMfaBody, VerifyMfaResult, VerifyMfaType };
@@ -1,6 +1,6 @@
1
- import { o as OpenapiPathType, r as OpenapiBodyType, t as createOpenapiFetchClient } from "./index-BVhHt5lx.cjs";
2
- import { n as ClientInitOptions } from "./types-DoZtE9tz.cjs";
3
- import { B as GetMeOrganizationsQuery, G as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, X as paths, Y as components, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types-DgPt4LY_.cjs";
1
+ import { o as OpenapiPathType, r as OpenapiBodyType, t as createOpenapiFetchClient } from "./index-BzhLY7el.cjs";
2
+ import { n as ClientInitOptions } from "./types-BksK2Eo0.cjs";
3
+ import { B as GetMeOrganizationsQuery, G as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, X as paths, Y as components, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types--owScV0r.cjs";
4
4
  import * as z$1 from "zod";
5
5
  //#region src/clients/auth/login/schemas.d.ts
6
6
  declare const passwordInputSchema: z$1.ZodObject<{
@@ -205,7 +205,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
205
205
  mfa: {
206
206
  verifyWithCode: (input: MfaCodeInput, signal?: AbortSignal) => Promise<{
207
207
  accessToken: string;
208
- refreshToken?: string | null;
208
+ refreshToken?: string;
209
209
  tokenType: string;
210
210
  expiresIn: number;
211
211
  sessionId: string;
@@ -213,7 +213,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
213
213
  }>;
214
214
  verifyWithWebauthn: (input: MfaWebauthnInput, signal?: AbortSignal) => Promise<{
215
215
  accessToken: string;
216
- refreshToken?: string | null;
216
+ refreshToken?: string;
217
217
  tokenType: string;
218
218
  expiresIn: number;
219
219
  sessionId: string;
@@ -231,7 +231,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
231
231
  verify: (input: TotpVerifyInput, signal?: AbortSignal) => Promise<{
232
232
  id: number;
233
233
  mfaType: string;
234
- recoveryCodes?: string[] | null;
234
+ recoveryCodes?: string[];
235
235
  }>;
236
236
  disable: (id: DisableTotpPath['id'], signal?: AbortSignal) => Promise<void>;
237
237
  };
@@ -244,7 +244,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
244
244
  saml: {
245
245
  assert: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
246
246
  accessToken: string;
247
- refreshToken?: string | null;
247
+ refreshToken?: string;
248
248
  tokenType: string;
249
249
  expiresIn: number;
250
250
  sessionId: string;
@@ -317,31 +317,25 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
317
317
  };
318
318
  }>;
319
319
  getOrganizations: (query?: GetMeOrganizationsQuery, signal?: AbortSignal) => Promise<{
320
- count: number;
321
- items: Record<string, never>[];
322
- limit: number;
323
- offset: number;
324
- hasMore: boolean;
320
+ data: Record<string, never>[];
321
+ meta: components['schemas']['PaginationMeta'];
322
+ links: components['schemas']['PaginationLinks'];
325
323
  } & {
326
- items?: components['schemas']['OrganizationAccessItem'][];
324
+ data?: components['schemas']['OrganizationAccessItem'][];
327
325
  }>;
328
326
  getMaintainers: (query?: GetMeMaintainersQuery, signal?: AbortSignal) => Promise<{
329
- count: number;
330
- items: Record<string, never>[];
331
- limit: number;
332
- offset: number;
333
- hasMore: boolean;
327
+ data: Record<string, never>[];
328
+ meta: components['schemas']['PaginationMeta'];
329
+ links: components['schemas']['PaginationLinks'];
334
330
  } & {
335
- items?: components['schemas']['OrganizationMaintainerReference'][];
331
+ data?: components['schemas']['OrganizationMaintainerReference'][];
336
332
  }>;
337
333
  getProjects: (query?: GetMeProjectsQuery, signal?: AbortSignal) => Promise<{
338
- count: number;
339
- items: Record<string, never>[];
340
- limit: number;
341
- offset: number;
342
- hasMore: boolean;
334
+ data: Record<string, never>[];
335
+ meta: components['schemas']['PaginationMeta'];
336
+ links: components['schemas']['PaginationLinks'];
343
337
  } & {
344
- items?: components['schemas']['OrganizationProjectItem'][];
338
+ data?: components['schemas']['OrganizationProjectItem'][];
345
339
  }>;
346
340
  };
347
341
  device: {
@@ -356,7 +350,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
356
350
  approve: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
357
351
  status: 'approved' | 'denied';
358
352
  idempotent: boolean;
359
- decision: components['schemas']['DeviceApprovalDecision'];
353
+ decision?: components['schemas']['DeviceApprovalDecision'];
360
354
  }>;
361
355
  getToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
362
356
  accessToken: string;
@@ -400,7 +394,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
400
394
  token: {
401
395
  refreshWithToken: (input: RefreshTokenInput, signal?: AbortSignal) => Promise<{
402
396
  accessToken: string;
403
- refreshToken?: string | null;
397
+ refreshToken?: string;
404
398
  tokenType: string;
405
399
  expiresIn: number;
406
400
  sessionId: string;
@@ -408,7 +402,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
408
402
  }>;
409
403
  refreshWithSession: (input: RefreshSessionInput, signal?: AbortSignal) => Promise<{
410
404
  accessToken: string;
411
- refreshToken?: string | null;
405
+ refreshToken?: string;
412
406
  tokenType: string;
413
407
  expiresIn: number;
414
408
  sessionId: string;
@@ -421,9 +415,9 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
421
415
  sudoVerified: boolean;
422
416
  createdAt: string;
423
417
  expiresAt: string;
424
- lastUsedAt?: string | null;
425
- lastUsedIp?: string | null;
426
- userAgent?: string | null;
418
+ lastUsedAt: string | null;
419
+ lastUsedIp: string | null;
420
+ userAgent: string | null;
427
421
  projects: components['schemas']['ProjectAccessItem'][];
428
422
  }>;
429
423
  revoke: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
@@ -437,11 +431,11 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
437
431
  id: number;
438
432
  deviceName: string;
439
433
  created: string;
440
- recoveryCodes?: string[] | null;
434
+ recoveryCodes?: string[];
441
435
  }>;
442
436
  remove: ({ id, ...query }: RemoveWebauthnInput, signal?: AbortSignal) => Promise<void>;
443
437
  };
444
438
  };
445
439
  //#endregion
446
440
  export { PasswordInput as A, ApiLoginSuccess as C, LoginUser as D, LoginResultFor as E, mfaChallengeSchema as F, oidcInputSchema as I, passwordInputSchema as L, apiLoginSuccessSchema as M, browserLoginResultSchema as N, MfaChallenge as O, browserLoginSuccessSchema as P, ApiLoginResult as S, BrowserLoginSuccess as T, MfaWebauthnInput as _, RefreshTokenInput as a, mfaWebauthnInputSchema as b, ChangePasswordInput as c, changeInputSchema as d, resetInputSchema as f, MfaMethod as g, MfaCodeInput as h, RefreshSessionInput as i, apiLoginResultSchema as j, OidcInput as k, ResetInput as l, MFA_METHOD as m, AuthOpenApiFetchClient as n, refreshSessionInputSchema as o, resetRequestInputSchema as p, createAuthClient as r, refreshTokenInputSchema as s, AuthClientInitOptions as t, ResetRequestInput as u, TotpVerifyInput as v, BrowserLoginResult as w, totpVerifyInputSchema as x, mfaCodeInputSchema as y };
447
- //# sourceMappingURL=authClient-CBVAT3v9.d.cts.map
441
+ //# sourceMappingURL=authClient-DSa5t2Ft.d.cts.map
@@ -1,6 +1,6 @@
1
- import { o as OpenapiPathType, r as OpenapiBodyType, t as createOpenapiFetchClient } from "./index-BgR5zcjJ.js";
2
- import { n as ClientInitOptions } from "./types-B2w2TtSA.js";
3
- import { B as GetMeOrganizationsQuery, G as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, X as paths, Y as components, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types-CN6huo55.js";
1
+ import { o as OpenapiPathType, r as OpenapiBodyType, t as createOpenapiFetchClient } from "./index-PyTPrtaL.js";
2
+ import { n as ClientInitOptions } from "./types-BuKviWct.js";
3
+ import { B as GetMeOrganizationsQuery, G as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as ApproveDeviceAuthorizationBody, V as GetMeProjectsQuery, X as paths, Y as components, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, q as GetDeviceAuthorizationTokenBody, r as RegisterWebauthnOptionsResult, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types-BtII5RSD.js";
4
4
  import * as z$1 from "zod";
5
5
  //#region src/clients/auth/login/schemas.d.ts
6
6
  declare const passwordInputSchema: z$1.ZodObject<{
@@ -205,7 +205,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
205
205
  mfa: {
206
206
  verifyWithCode: (input: MfaCodeInput, signal?: AbortSignal) => Promise<{
207
207
  accessToken: string;
208
- refreshToken?: string | null;
208
+ refreshToken?: string;
209
209
  tokenType: string;
210
210
  expiresIn: number;
211
211
  sessionId: string;
@@ -213,7 +213,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
213
213
  }>;
214
214
  verifyWithWebauthn: (input: MfaWebauthnInput, signal?: AbortSignal) => Promise<{
215
215
  accessToken: string;
216
- refreshToken?: string | null;
216
+ refreshToken?: string;
217
217
  tokenType: string;
218
218
  expiresIn: number;
219
219
  sessionId: string;
@@ -231,7 +231,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
231
231
  verify: (input: TotpVerifyInput, signal?: AbortSignal) => Promise<{
232
232
  id: number;
233
233
  mfaType: string;
234
- recoveryCodes?: string[] | null;
234
+ recoveryCodes?: string[];
235
235
  }>;
236
236
  disable: (id: DisableTotpPath['id'], signal?: AbortSignal) => Promise<void>;
237
237
  };
@@ -244,7 +244,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
244
244
  saml: {
245
245
  assert: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
246
246
  accessToken: string;
247
- refreshToken?: string | null;
247
+ refreshToken?: string;
248
248
  tokenType: string;
249
249
  expiresIn: number;
250
250
  sessionId: string;
@@ -317,31 +317,25 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
317
317
  };
318
318
  }>;
319
319
  getOrganizations: (query?: GetMeOrganizationsQuery, signal?: AbortSignal) => Promise<{
320
- count: number;
321
- items: Record<string, never>[];
322
- limit: number;
323
- offset: number;
324
- hasMore: boolean;
320
+ data: Record<string, never>[];
321
+ meta: components['schemas']['PaginationMeta'];
322
+ links: components['schemas']['PaginationLinks'];
325
323
  } & {
326
- items?: components['schemas']['OrganizationAccessItem'][];
324
+ data?: components['schemas']['OrganizationAccessItem'][];
327
325
  }>;
328
326
  getMaintainers: (query?: GetMeMaintainersQuery, signal?: AbortSignal) => Promise<{
329
- count: number;
330
- items: Record<string, never>[];
331
- limit: number;
332
- offset: number;
333
- hasMore: boolean;
327
+ data: Record<string, never>[];
328
+ meta: components['schemas']['PaginationMeta'];
329
+ links: components['schemas']['PaginationLinks'];
334
330
  } & {
335
- items?: components['schemas']['OrganizationMaintainerReference'][];
331
+ data?: components['schemas']['OrganizationMaintainerReference'][];
336
332
  }>;
337
333
  getProjects: (query?: GetMeProjectsQuery, signal?: AbortSignal) => Promise<{
338
- count: number;
339
- items: Record<string, never>[];
340
- limit: number;
341
- offset: number;
342
- hasMore: boolean;
334
+ data: Record<string, never>[];
335
+ meta: components['schemas']['PaginationMeta'];
336
+ links: components['schemas']['PaginationLinks'];
343
337
  } & {
344
- items?: components['schemas']['OrganizationProjectItem'][];
338
+ data?: components['schemas']['OrganizationProjectItem'][];
345
339
  }>;
346
340
  };
347
341
  device: {
@@ -356,7 +350,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
356
350
  approve: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
357
351
  status: 'approved' | 'denied';
358
352
  idempotent: boolean;
359
- decision: components['schemas']['DeviceApprovalDecision'];
353
+ decision?: components['schemas']['DeviceApprovalDecision'];
360
354
  }>;
361
355
  getToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
362
356
  accessToken: string;
@@ -400,7 +394,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
400
394
  token: {
401
395
  refreshWithToken: (input: RefreshTokenInput, signal?: AbortSignal) => Promise<{
402
396
  accessToken: string;
403
- refreshToken?: string | null;
397
+ refreshToken?: string;
404
398
  tokenType: string;
405
399
  expiresIn: number;
406
400
  sessionId: string;
@@ -408,7 +402,7 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
408
402
  }>;
409
403
  refreshWithSession: (input: RefreshSessionInput, signal?: AbortSignal) => Promise<{
410
404
  accessToken: string;
411
- refreshToken?: string | null;
405
+ refreshToken?: string;
412
406
  tokenType: string;
413
407
  expiresIn: number;
414
408
  sessionId: string;
@@ -421,9 +415,9 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
421
415
  sudoVerified: boolean;
422
416
  createdAt: string;
423
417
  expiresAt: string;
424
- lastUsedAt?: string | null;
425
- lastUsedIp?: string | null;
426
- userAgent?: string | null;
418
+ lastUsedAt: string | null;
419
+ lastUsedIp: string | null;
420
+ userAgent: string | null;
427
421
  projects: components['schemas']['ProjectAccessItem'][];
428
422
  }>;
429
423
  revoke: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
@@ -437,11 +431,11 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
437
431
  id: number;
438
432
  deviceName: string;
439
433
  created: string;
440
- recoveryCodes?: string[] | null;
434
+ recoveryCodes?: string[];
441
435
  }>;
442
436
  remove: ({ id, ...query }: RemoveWebauthnInput, signal?: AbortSignal) => Promise<void>;
443
437
  };
444
438
  };
445
439
  //#endregion
446
440
  export { PasswordInput as A, ApiLoginSuccess as C, LoginUser as D, LoginResultFor as E, mfaChallengeSchema as F, oidcInputSchema as I, passwordInputSchema as L, apiLoginSuccessSchema as M, browserLoginResultSchema as N, MfaChallenge as O, browserLoginSuccessSchema as P, ApiLoginResult as S, BrowserLoginSuccess as T, MfaWebauthnInput as _, RefreshTokenInput as a, mfaWebauthnInputSchema as b, ChangePasswordInput as c, changeInputSchema as d, resetInputSchema as f, MfaMethod as g, MfaCodeInput as h, RefreshSessionInput as i, apiLoginResultSchema as j, OidcInput as k, ResetInput as l, MFA_METHOD as m, AuthOpenApiFetchClient as n, refreshSessionInputSchema as o, resetRequestInputSchema as p, createAuthClient as r, refreshTokenInputSchema as s, AuthClientInitOptions as t, ResetRequestInput as u, TotpVerifyInput as v, BrowserLoginResult as w, totpVerifyInputSchema as x, mfaCodeInputSchema as y };
447
- //# sourceMappingURL=authClient-CRumc934.d.ts.map
441
+ //# sourceMappingURL=authClient-ZiaKSKpp.d.ts.map
@@ -1,4 +1,4 @@
1
- import { n as ClientInitOptions } from "../types-DoZtE9tz.cjs";
1
+ import { n as ClientInitOptions } from "../types-BksK2Eo0.cjs";
2
2
  //#region src/clients/billing/billingClient.d.ts
3
3
  declare const createBillingClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
4
4
  healthCheck: (signal?: AbortSignal) => Promise<{
@@ -1,4 +1,4 @@
1
- import { n as ClientInitOptions } from "../types-B2w2TtSA.js";
1
+ import { n as ClientInitOptions } from "../types-BuKviWct.js";
2
2
  //#region src/clients/billing/billingClient.d.ts
3
3
  declare const createBillingClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
4
4
  healthCheck: (signal?: AbortSignal) => Promise<{
@@ -1,4 +1,4 @@
1
- import { c as OpenapiReturnType } from "../index-BVhHt5lx.cjs";
1
+ import { c as OpenapiReturnType } from "../index-BzhLY7el.cjs";
2
2
  //#region src/clients/billing/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -1,4 +1,4 @@
1
- import { c as OpenapiReturnType } from "../index-BgR5zcjJ.js";
1
+ import { c as OpenapiReturnType } from "../index-PyTPrtaL.js";
2
2
  //#region src/clients/billing/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -1,5 +1,5 @@
1
- import { n as ClientInitOptions } from "../types-DoZtE9tz.cjs";
2
- import { A as components, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-ByLH46Dt.cjs";
1
+ import { n as ClientInitOptions } from "../types-BksK2Eo0.cjs";
2
+ import { A as components, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-CFurl1xe.cjs";
3
3
  import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "../suggestions-BH3x7xU7.cjs";
4
4
  //#region src/clients/chat/chatClient.d.ts
5
5
  type ChatClientOptions = ClientInitOptions & {
@@ -1,5 +1,5 @@
1
- import { n as ClientInitOptions } from "../types-B2w2TtSA.js";
2
- import { A as components, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-DlQw6FCi.js";
1
+ import { n as ClientInitOptions } from "../types-BuKviWct.js";
2
+ import { A as components, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-DDjp9lXD.js";
3
3
  import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "../suggestions-BH3x7xU7.js";
4
4
  //#region src/clients/chat/chatClient.d.ts
5
5
  type ChatClientOptions = ClientInitOptions & {
@@ -1,2 +1,2 @@
1
- import { C as UserAgentSettings, D as VotesResponse, E as VoteRequest, O as approvalGoneReasonSchema, S as UsageResponse, T as Vote, _ as ToolInfo, a as ChatMessage, b as UpdateAgentSettingsRequest, c as ChatWithMessages, d as GetVotesQuery, f as HistoryResponse, g as TextPart, h as ProjectToolPolicyValue, i as Chat, k as askUserQuestionAnswersSchema, l as GetChatPath, m as ProjectToolPolicy, n as ApprovalGoneReason, o as ChatRequest, p as MessageStatus, r as AskUserQuestionAnswers, s as ChatWithMessage, t as AgentSettings, u as GetHistoryQuery, v as ToolPermissionValue, w as UserMessage, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-ByLH46Dt.cjs";
1
+ import { C as UserAgentSettings, D as VotesResponse, E as VoteRequest, O as approvalGoneReasonSchema, S as UsageResponse, T as Vote, _ as ToolInfo, a as ChatMessage, b as UpdateAgentSettingsRequest, c as ChatWithMessages, d as GetVotesQuery, f as HistoryResponse, g as TextPart, h as ProjectToolPolicyValue, i as Chat, k as askUserQuestionAnswersSchema, l as GetChatPath, m as ProjectToolPolicy, n as ApprovalGoneReason, o as ChatRequest, p as MessageStatus, r as AskUserQuestionAnswers, s as ChatWithMessage, t as AgentSettings, u as GetHistoryQuery, v as ToolPermissionValue, w as UserMessage, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-CFurl1xe.cjs";
2
2
  export { AgentSettings, ApprovalGoneReason, AskUserQuestionAnswers, Chat, ChatMessage, ChatRequest, ChatWithMessage, ChatWithMessages, GetChatPath, GetHistoryQuery, GetVotesQuery, HistoryResponse, MessageStatus, ProjectToolPolicy, ProjectToolPolicyValue, TextPart, ToolInfo, ToolPermissionValue, ToolsListResponse, UpdateAgentSettingsRequest, UpdateUserAgentSettingsRequest, UsageResponse, UserAgentSettings, UserMessage, Vote, VoteRequest, VotesResponse, approvalGoneReasonSchema, askUserQuestionAnswersSchema };