@keboola/api-client 13.0.0 → 15.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 (266) hide show
  1. package/API-SURFACE.md +25 -22
  2. package/dist/ai/index.cjs +3 -3
  3. package/dist/ai/index.d.cts +2 -2
  4. package/dist/ai/index.d.ts +2 -2
  5. package/dist/ai/index.js +2 -2
  6. package/dist/ai/types.d.cts +2 -2
  7. package/dist/ai/types.d.ts +2 -2
  8. package/dist/assets/index.cjs +3 -3
  9. package/dist/assets/index.js +2 -2
  10. package/dist/auth/index.cjs +31 -3
  11. package/dist/auth/index.d.cts +191 -135
  12. package/dist/auth/index.d.ts +191 -135
  13. package/dist/auth/index.js +2 -2
  14. package/dist/auth/types.d.cts +11 -2
  15. package/dist/auth/types.d.ts +11 -2
  16. package/dist/chat/index.cjs +3 -3
  17. package/dist/chat/index.d.cts +2 -2
  18. package/dist/chat/index.d.ts +2 -2
  19. package/dist/chat/index.js +2 -2
  20. package/dist/chat/types.d.cts +2 -2
  21. package/dist/chat/types.d.ts +2 -2
  22. package/dist/chunk-35HRT5BW.js +213 -0
  23. package/dist/chunk-35HRT5BW.js.map +1 -0
  24. package/dist/{chunk-U3W6XYQQ.cjs → chunk-3KZ2PZXV.cjs} +5 -5
  25. package/dist/{chunk-U3W6XYQQ.cjs.map → chunk-3KZ2PZXV.cjs.map} +1 -1
  26. package/dist/{chunk-SDN6SU7K.cjs → chunk-3L7OOFA6.cjs} +4 -4
  27. package/dist/{chunk-SDN6SU7K.cjs.map → chunk-3L7OOFA6.cjs.map} +1 -1
  28. package/dist/{chunk-LUHYZXJH.js → chunk-3Z2C6TYS.js} +3 -3
  29. package/dist/{chunk-LUHYZXJH.js.map → chunk-3Z2C6TYS.js.map} +1 -1
  30. package/dist/{chunk-FBGUBMJ7.js → chunk-6VILIOTV.js} +5 -3
  31. package/dist/chunk-6VILIOTV.js.map +1 -0
  32. package/dist/{chunk-GUJ5RTYJ.js → chunk-73TMXRTL.js} +3 -3
  33. package/dist/{chunk-GUJ5RTYJ.js.map → chunk-73TMXRTL.js.map} +1 -1
  34. package/dist/{chunk-I7BLN5NZ.js → chunk-7D6MDAD7.js} +3 -3
  35. package/dist/{chunk-I7BLN5NZ.js.map → chunk-7D6MDAD7.js.map} +1 -1
  36. package/dist/{chunk-PHQ66FNI.cjs → chunk-7EKSFTKQ.cjs} +5 -5
  37. package/dist/{chunk-PHQ66FNI.cjs.map → chunk-7EKSFTKQ.cjs.map} +1 -1
  38. package/dist/{chunk-IVIWWOM4.cjs → chunk-AJA4JSUB.cjs} +5 -5
  39. package/dist/{chunk-IVIWWOM4.cjs.map → chunk-AJA4JSUB.cjs.map} +1 -1
  40. package/dist/{chunk-OWGJ3PVA.cjs → chunk-ALHWNI4P.cjs} +5 -3
  41. package/dist/chunk-ALHWNI4P.cjs.map +1 -0
  42. package/dist/{chunk-AHYMMDIC.cjs → chunk-ALQYICBZ.cjs} +9 -9
  43. package/dist/{chunk-AHYMMDIC.cjs.map → chunk-ALQYICBZ.cjs.map} +1 -1
  44. package/dist/{chunk-KZLC2XSZ.cjs → chunk-AQURCB4K.cjs} +5 -5
  45. package/dist/{chunk-KZLC2XSZ.cjs.map → chunk-AQURCB4K.cjs.map} +1 -1
  46. package/dist/{chunk-W2VWZGA3.js → chunk-B2COLV6T.js} +3 -3
  47. package/dist/{chunk-W2VWZGA3.js.map → chunk-B2COLV6T.js.map} +1 -1
  48. package/dist/{chunk-SUA3D6YF.js → chunk-BZ7SEQVM.js} +3 -3
  49. package/dist/{chunk-SUA3D6YF.js.map → chunk-BZ7SEQVM.js.map} +1 -1
  50. package/dist/{chunk-GOWOD3O4.js → chunk-CITS6SLX.js} +3 -3
  51. package/dist/{chunk-GOWOD3O4.js.map → chunk-CITS6SLX.js.map} +1 -1
  52. package/dist/{chunk-IA7WBVH3.js → chunk-CWYVLIOU.js} +3 -3
  53. package/dist/{chunk-IA7WBVH3.js.map → chunk-CWYVLIOU.js.map} +1 -1
  54. package/dist/{chunk-ATVNCGTO.js → chunk-ENDD2X6P.js} +3 -3
  55. package/dist/{chunk-ATVNCGTO.js.map → chunk-ENDD2X6P.js.map} +1 -1
  56. package/dist/{chunk-RHZK7AL7.js → chunk-F2X4KSSM.js} +3 -3
  57. package/dist/{chunk-RHZK7AL7.js.map → chunk-F2X4KSSM.js.map} +1 -1
  58. package/dist/chunk-FHFURAAG.cjs +242 -0
  59. package/dist/chunk-FHFURAAG.cjs.map +1 -0
  60. package/dist/{chunk-IQOXQMON.cjs → chunk-FW35SRXA.cjs} +4 -4
  61. package/dist/{chunk-IQOXQMON.cjs.map → chunk-FW35SRXA.cjs.map} +1 -1
  62. package/dist/{chunk-SBWZKVAG.cjs → chunk-FYIAKMUH.cjs} +5 -5
  63. package/dist/{chunk-SBWZKVAG.cjs.map → chunk-FYIAKMUH.cjs.map} +1 -1
  64. package/dist/{chunk-APILLKET.js → chunk-HTDR76X5.js} +3 -3
  65. package/dist/{chunk-APILLKET.js.map → chunk-HTDR76X5.js.map} +1 -1
  66. package/dist/{chunk-XBCR6YKE.cjs → chunk-JJMROO3W.cjs} +8 -8
  67. package/dist/{chunk-XBCR6YKE.cjs.map → chunk-JJMROO3W.cjs.map} +1 -1
  68. package/dist/{chunk-J5WWYWPL.js → chunk-JOCACBVT.js} +3 -3
  69. package/dist/{chunk-J5WWYWPL.js.map → chunk-JOCACBVT.js.map} +1 -1
  70. package/dist/{chunk-XP5FQTAA.cjs → chunk-LICWQUWY.cjs} +6 -6
  71. package/dist/{chunk-XP5FQTAA.cjs.map → chunk-LICWQUWY.cjs.map} +1 -1
  72. package/dist/{chunk-XZAUQZIO.js → chunk-LO6SBV3D.js} +3 -3
  73. package/dist/{chunk-XZAUQZIO.js.map → chunk-LO6SBV3D.js.map} +1 -1
  74. package/dist/{chunk-LY7IR43M.js → chunk-LOBHLBLZ.js} +3 -3
  75. package/dist/{chunk-LY7IR43M.js.map → chunk-LOBHLBLZ.js.map} +1 -1
  76. package/dist/{chunk-MQZT4HJH.cjs → chunk-QC2EOJPP.cjs} +6 -6
  77. package/dist/{chunk-MQZT4HJH.cjs.map → chunk-QC2EOJPP.cjs.map} +1 -1
  78. package/dist/{chunk-ULZPXG4L.cjs → chunk-QFITJNNL.cjs} +4 -4
  79. package/dist/{chunk-ULZPXG4L.cjs.map → chunk-QFITJNNL.cjs.map} +1 -1
  80. package/dist/{chunk-DRIO222J.cjs → chunk-QIFJ53KD.cjs} +5 -5
  81. package/dist/{chunk-DRIO222J.cjs.map → chunk-QIFJ53KD.cjs.map} +1 -1
  82. package/dist/{chunk-HZSJXB5C.cjs → chunk-QVYMSM2Y.cjs} +5 -5
  83. package/dist/{chunk-HZSJXB5C.cjs.map → chunk-QVYMSM2Y.cjs.map} +1 -1
  84. package/dist/{chunk-CQRPG6ZN.js → chunk-QWPP4YIV.js} +3 -3
  85. package/dist/{chunk-CQRPG6ZN.js.map → chunk-QWPP4YIV.js.map} +1 -1
  86. package/dist/{chunk-MUKQ6HZE.js → chunk-RWR4AALA.js} +8 -4
  87. package/dist/{chunk-MUKQ6HZE.js.map → chunk-RWR4AALA.js.map} +1 -1
  88. package/dist/{chunk-PG4D5KCD.cjs → chunk-SDV5YRCF.cjs} +6 -6
  89. package/dist/{chunk-PG4D5KCD.cjs.map → chunk-SDV5YRCF.cjs.map} +1 -1
  90. package/dist/{chunk-AU2OPVRI.cjs → chunk-SHNWYSGO.cjs} +13 -9
  91. package/dist/{chunk-AU2OPVRI.cjs.map → chunk-SHNWYSGO.cjs.map} +1 -1
  92. package/dist/{chunk-VVDMWSSL.js → chunk-SP54TZCN.js} +3 -3
  93. package/dist/{chunk-VVDMWSSL.js.map → chunk-SP54TZCN.js.map} +1 -1
  94. package/dist/{chunk-BADSOKHM.cjs → chunk-T3QLPHMN.cjs} +5 -5
  95. package/dist/{chunk-BADSOKHM.cjs.map → chunk-T3QLPHMN.cjs.map} +1 -1
  96. package/dist/{chunk-ZIQM4R3L.js → chunk-U2AEUTMF.js} +3 -3
  97. package/dist/{chunk-ZIQM4R3L.js.map → chunk-U2AEUTMF.js.map} +1 -1
  98. package/dist/{chunk-BUY6KV2P.js → chunk-UBDOWCZP.js} +3 -3
  99. package/dist/{chunk-BUY6KV2P.js.map → chunk-UBDOWCZP.js.map} +1 -1
  100. package/dist/{chunk-WDAQJ346.js → chunk-UHFQANTC.js} +3 -3
  101. package/dist/{chunk-WDAQJ346.js.map → chunk-UHFQANTC.js.map} +1 -1
  102. package/dist/{chunk-2ZXOVTCN.cjs → chunk-W6ETXCKM.cjs} +15 -15
  103. package/dist/{chunk-2ZXOVTCN.cjs.map → chunk-W6ETXCKM.cjs.map} +1 -1
  104. package/dist/{chunk-MIAVX53Y.js → chunk-WFXTOK2T.js} +5 -5
  105. package/dist/{chunk-MIAVX53Y.js.map → chunk-WFXTOK2T.js.map} +1 -1
  106. package/dist/{chunk-NXYJKXJ4.js → chunk-WZGB5JR7.js} +3 -3
  107. package/dist/{chunk-NXYJKXJ4.js.map → chunk-WZGB5JR7.js.map} +1 -1
  108. package/dist/{chunk-YTF4RQ52.cjs → chunk-XHISE3ZF.cjs} +5 -5
  109. package/dist/{chunk-YTF4RQ52.cjs.map → chunk-XHISE3ZF.cjs.map} +1 -1
  110. package/dist/{chunk-Q24BTT5D.cjs → chunk-XJFAYKB6.cjs} +4 -4
  111. package/dist/{chunk-Q24BTT5D.cjs.map → chunk-XJFAYKB6.cjs.map} +1 -1
  112. package/dist/{chunk-H466MBV4.cjs → chunk-YEP4RESB.cjs} +5 -5
  113. package/dist/{chunk-H466MBV4.cjs.map → chunk-YEP4RESB.cjs.map} +1 -1
  114. package/dist/{chunk-NRDZL6JO.cjs → chunk-YXLXVXRD.cjs} +8 -8
  115. package/dist/{chunk-NRDZL6JO.cjs.map → chunk-YXLXVXRD.cjs.map} +1 -1
  116. package/dist/{chunk-47CIRFCO.js → chunk-Z5TJL6FJ.js} +3 -3
  117. package/dist/{chunk-47CIRFCO.js.map → chunk-Z5TJL6FJ.js.map} +1 -1
  118. package/dist/{createOpenapiFetchClient-Oi-KX-f-.d.ts → createOpenapiFetchClient-B50N1zkV.d.ts} +1 -1
  119. package/dist/{createOpenapiFetchClient-DIsEiRUz.d.cts → createOpenapiFetchClient-CKNLT4ND.d.cts} +1 -1
  120. package/dist/dataScience/index.cjs +4 -4
  121. package/dist/dataScience/index.d.cts +4 -3
  122. package/dist/dataScience/index.d.ts +4 -3
  123. package/dist/dataScience/index.js +2 -2
  124. package/dist/dataScience/types.d.cts +2 -2
  125. package/dist/dataScience/types.d.ts +2 -2
  126. package/dist/domain/permissions/index.d.cts +3 -3
  127. package/dist/domain/permissions/index.d.ts +3 -3
  128. package/dist/editor/index.cjs +3 -3
  129. package/dist/editor/index.d.cts +2 -2
  130. package/dist/editor/index.d.ts +2 -2
  131. package/dist/editor/index.js +2 -2
  132. package/dist/editor/types.d.cts +2 -2
  133. package/dist/editor/types.d.ts +2 -2
  134. package/dist/encryption/index.cjs +3 -3
  135. package/dist/encryption/index.d.cts +2 -2
  136. package/dist/encryption/index.d.ts +2 -2
  137. package/dist/encryption/index.js +2 -2
  138. package/dist/encryption/types.d.cts +2 -2
  139. package/dist/encryption/types.d.ts +2 -2
  140. package/dist/import/index.cjs +3 -3
  141. package/dist/import/index.js +2 -2
  142. package/dist/index.cjs +74 -74
  143. package/dist/index.d.cts +205 -151
  144. package/dist/index.d.ts +205 -151
  145. package/dist/index.js +28 -28
  146. package/dist/management/index.cjs +6 -6
  147. package/dist/management/index.d.cts +2 -2
  148. package/dist/management/index.d.ts +2 -2
  149. package/dist/management/index.js +4 -4
  150. package/dist/metastore/index.cjs +3 -3
  151. package/dist/metastore/index.d.cts +3 -3
  152. package/dist/metastore/index.d.ts +3 -3
  153. package/dist/metastore/index.js +2 -2
  154. package/dist/metastore/types.d.cts +2 -2
  155. package/dist/metastore/types.d.ts +2 -2
  156. package/dist/notifications/index.cjs +3 -3
  157. package/dist/notifications/index.d.cts +2 -2
  158. package/dist/notifications/index.d.ts +2 -2
  159. package/dist/notifications/index.js +2 -2
  160. package/dist/notifications/types.d.cts +2 -2
  161. package/dist/notifications/types.d.ts +2 -2
  162. package/dist/oauth/index.cjs +3 -3
  163. package/dist/oauth/index.js +2 -2
  164. package/dist/{project-D9FCXphc.d.ts → project-BxSa1Ci9.d.ts} +1 -1
  165. package/dist/{project-DWdvh1ev.d.cts → project-NJuUPx8-.d.cts} +1 -1
  166. package/dist/queryService/index.cjs +3 -3
  167. package/dist/queryService/index.d.cts +2 -2
  168. package/dist/queryService/index.d.ts +2 -2
  169. package/dist/queryService/index.js +2 -2
  170. package/dist/queryService/types.d.cts +2 -2
  171. package/dist/queryService/types.d.ts +2 -2
  172. package/dist/queue/index.cjs +3 -3
  173. package/dist/queue/index.d.cts +2 -2
  174. package/dist/queue/index.d.ts +2 -2
  175. package/dist/queue/index.js +2 -2
  176. package/dist/queue/types.d.cts +2 -2
  177. package/dist/queue/types.d.ts +2 -2
  178. package/dist/scheduler/index.cjs +3 -3
  179. package/dist/scheduler/index.d.cts +1 -1
  180. package/dist/scheduler/index.d.ts +1 -1
  181. package/dist/scheduler/index.js +2 -2
  182. package/dist/scheduler/types.d.cts +1 -1
  183. package/dist/scheduler/types.d.ts +1 -1
  184. package/dist/schemas-DVB6wC7L.d.cts +74 -0
  185. package/dist/schemas-DVB6wC7L.d.ts +74 -0
  186. package/dist/sdk/configurations/index.d.cts +5 -5
  187. package/dist/sdk/configurations/index.d.ts +5 -5
  188. package/dist/sdk/storage/index.d.cts +5 -5
  189. package/dist/sdk/storage/index.d.ts +5 -5
  190. package/dist/sdk/tag/index.d.cts +3 -3
  191. package/dist/sdk/tag/index.d.ts +3 -3
  192. package/dist/sdk/tag/types.d.cts +3 -3
  193. package/dist/sdk/tag/types.d.ts +3 -3
  194. package/dist/sdk/vault/index.d.cts +3 -3
  195. package/dist/sdk/vault/index.d.ts +3 -3
  196. package/dist/status/index.cjs +3 -3
  197. package/dist/status/index.js +2 -2
  198. package/dist/storage/index.cjs +10 -10
  199. package/dist/storage/index.d.cts +4 -4
  200. package/dist/storage/index.d.ts +4 -4
  201. package/dist/storage/index.js +3 -3
  202. package/dist/storage/types.d.cts +3 -3
  203. package/dist/storage/types.d.ts +3 -3
  204. package/dist/{storageClient-Bm2xAtWJ.d.ts → storageClient-Bqd4_-xH.d.ts} +2 -2
  205. package/dist/{storageClient-CeLEkQNI.d.cts → storageClient-C0Kh5L01.d.cts} +2 -2
  206. package/dist/{storageSdk-CBM85gUk.d.cts → storageSdk-BCUgrB3U.d.cts} +1 -1
  207. package/dist/{storageSdk-Db1TowTM.d.ts → storageSdk-C5Ea9eRR.d.ts} +1 -1
  208. package/dist/stream/index.cjs +3 -3
  209. package/dist/stream/index.d.cts +2 -2
  210. package/dist/stream/index.d.ts +2 -2
  211. package/dist/stream/index.js +2 -2
  212. package/dist/stream/types.d.cts +2 -2
  213. package/dist/stream/types.d.ts +2 -2
  214. package/dist/syncActions/index.cjs +3 -3
  215. package/dist/syncActions/index.d.cts +2 -2
  216. package/dist/syncActions/index.d.ts +2 -2
  217. package/dist/syncActions/index.js +2 -2
  218. package/dist/syncActions/types.d.cts +1 -1
  219. package/dist/syncActions/types.d.ts +1 -1
  220. package/dist/telemetry/index.cjs +3 -3
  221. package/dist/telemetry/index.js +2 -2
  222. package/dist/{types-CBYDpcI1.d.ts → types-59-LNg5i.d.cts} +19 -19
  223. package/dist/{types-CD0r-1MV.d.cts → types-BVldT2vs.d.cts} +1 -1
  224. package/dist/{types-R6KVJSvx.d.ts → types-BbeZapCu.d.ts} +1 -1
  225. package/dist/{types-Coaofyh9.d.cts → types-BxjcUj-y.d.cts} +1 -1
  226. package/dist/{types-DLWBh7iV.d.ts → types-CFd7q2ed.d.ts} +1 -1
  227. package/dist/{types-DclddzzB.d.cts → types-CMEwVQ78.d.cts} +1 -1
  228. package/dist/{types-CyQJ4AXd.d.ts → types-CS8MYc2k.d.ts} +1 -1
  229. package/dist/{types-BavhR4tO.d.cts → types-CWebeQXy.d.cts} +1 -1
  230. package/dist/{types-CaoEwPpD.d.cts → types-CvHPHNH0.d.cts} +1 -1
  231. package/dist/{types-_uKmxlZr.d.ts → types-D3Kkh6yW.d.ts} +1 -1
  232. package/dist/{types-DLUrR6Xu.d.ts → types-D64zThBJ.d.ts} +1 -1
  233. package/dist/{types-BiylbcWm.d.cts → types-D9cNOf-3.d.cts} +1 -1
  234. package/dist/{types-kPz1WIPX.d.cts → types-DFWnAftN.d.cts} +1 -1
  235. package/dist/{types-BMHNYi_B.d.cts → types-DTkxk0fW.d.cts} +1 -1
  236. package/dist/{types-rgoWljL8.d.ts → types-DacFMc6L.d.ts} +1 -1
  237. package/dist/{types-BsIu3NSe.d.cts → types-DsqDUWJn.d.cts} +1 -1
  238. package/dist/{types-DHA8WCNr.d.ts → types-Dv3vN7M9.d.ts} +1 -1
  239. package/dist/{types-QLM97gSa.d.cts → types-GRfGXouy.d.cts} +1 -1
  240. package/dist/{types-Ct6wJf9k.d.ts → types-GmAeMsok.d.ts} +1 -1
  241. package/dist/{types-njJEULW3.d.ts → types-Mghz1gMD.d.ts} +1 -1
  242. package/dist/{types-auVqO7UT.d.cts → types-jKnx7Tm_.d.cts} +1 -1
  243. package/dist/{types-auVqO7UT.d.ts → types-jKnx7Tm_.d.ts} +1 -1
  244. package/dist/{types-BsA3W6Mo.d.cts → types-oJnjpvPi.d.ts} +19 -19
  245. package/dist/{types-5hVwJbZy.d.ts → types-yKV1EX6f.d.ts} +1 -1
  246. package/dist/{utils-BcMjZotB.d.ts → utils-C7eSJKtG.d.ts} +3 -2
  247. package/dist/{utils-IEMDjlU4.d.cts → utils-DDERw8dM.d.cts} +3 -2
  248. package/dist/vault/index.cjs +3 -3
  249. package/dist/vault/index.d.cts +1 -1
  250. package/dist/vault/index.d.ts +1 -1
  251. package/dist/vault/index.js +2 -2
  252. package/dist/vault/types.d.cts +1 -1
  253. package/dist/vault/types.d.ts +1 -1
  254. package/dist/verify/index.cjs +3 -3
  255. package/dist/verify/index.d.cts +2 -2
  256. package/dist/verify/index.d.ts +2 -2
  257. package/dist/verify/index.js +2 -2
  258. package/package.json +2 -2
  259. package/surface/auth.md +50 -21
  260. package/surface/dataScience.md +1 -0
  261. package/dist/chunk-FBGUBMJ7.js.map +0 -1
  262. package/dist/chunk-I3VK6VQT.js +0 -113
  263. package/dist/chunk-I3VK6VQT.js.map +0 -1
  264. package/dist/chunk-IL5MYBXL.cjs +0 -115
  265. package/dist/chunk-IL5MYBXL.cjs.map +0 -1
  266. package/dist/chunk-OWGJ3PVA.cjs.map +0 -1
package/API-SURFACE.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Every namespace and method reachable from an initialized `ApiClient` (`createApiClient()` after `init()`, or `useApiClient()`). Generated from the TypeScript type checker — see `scripts/gen-surface.mjs`.
6
6
 
7
- 23 top-level namespaces, 436 methods. This index lists method **names** only — full signatures live per namespace under [`surface/`](./surface). Open `surface/<namespace>.md` for the one you need.
7
+ 23 top-level namespaces, 439 methods. This index lists method **names** only — full signatures live per namespace under [`surface/`](./surface). Open `surface/<namespace>.md` for the one you need.
8
8
 
9
9
  ## [`api.ai`](./surface/ai.md)
10
10
 
@@ -23,27 +23,29 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
23
23
 
24
24
  ## [`api.auth`](./surface/auth.md)
25
25
 
26
- - `approveDeviceAuthorization`
27
- - `assertSaml`
28
- - `createDeviceAuthorization`
29
- - `createPat`
30
- - `createSudoChallenge`
31
- - `exchangePat`
32
- - `getDeviceAuthorizationToken`
33
- - `getPkceToken`
34
- - `initiateSaml`
35
- - `introspectToken`
36
- - `listPats`
37
- - `listSessions`
38
- - `login`
39
- - `refreshToken`
40
- - `regenerateRecoveryCodes`
41
- - `revokeAllSessions`
42
- - `revokePat`
43
- - `revokeSession`
44
- - `revokeToken`
45
- - `sudo`
46
- - `verifyMfa`
26
+ - `device.approve`
27
+ - `device.create`
28
+ - `device.getToken`
29
+ - `login.withOidc`
30
+ - `login.withPassword`
31
+ - `mfa.regenerateRecoveryCodes`
32
+ - `mfa.verifyWithCode`
33
+ - `mfa.verifyWithWebauthn`
34
+ - `pat.create`
35
+ - `pat.exchange`
36
+ - `pat.getAll`
37
+ - `pat.revoke`
38
+ - `pkce.getToken`
39
+ - `saml.assert`
40
+ - `saml.initiate`
41
+ - `session.getAll`
42
+ - `session.revoke`
43
+ - `session.revokeAll`
44
+ - `sudo.challenge`
45
+ - `sudo.verify`
46
+ - `token.introspect`
47
+ - `token.refresh`
48
+ - `token.revoke`
47
49
 
48
50
  ## [`api.chat`](./surface/chat.md)
49
51
 
@@ -90,6 +92,7 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
90
92
 
91
93
  - `createApp`
92
94
  - `deleteApp`
95
+ - `deleteSandbox`
93
96
  - `getApp`
94
97
  - `getAppLogsDownload`
95
98
  - `getAppLogsTail`
package/dist/ai/index.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkBADSOKHM_cjs = require('../chunk-BADSOKHM.cjs');
4
- require('../chunk-OWGJ3PVA.cjs');
3
+ var chunkT3QLPHMN_cjs = require('../chunk-T3QLPHMN.cjs');
4
+ require('../chunk-ALHWNI4P.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "createAiClient", {
9
9
  enumerable: true,
10
- get: function () { return chunkBADSOKHM_cjs.createAiClient; }
10
+ get: function () { return chunkT3QLPHMN_cjs.createAiClient; }
11
11
  });
12
12
  //# sourceMappingURL=index.cjs.map
13
13
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,6 @@
1
- import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-CaoEwPpD.cjs';
1
+ import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-CvHPHNH0.cjs';
2
2
  import { C as ClientInitOptions } from '../types-BLJoO6YL.cjs';
3
- import '../types-auVqO7UT.cjs';
3
+ import '../types-jKnx7Tm_.cjs';
4
4
  import 'qs';
5
5
 
6
6
  declare const createAiClient: ({ baseUrl, middlewares, token }: ClientInitOptions) => {
@@ -1,6 +1,6 @@
1
- import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-_uKmxlZr.js';
1
+ import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-D3Kkh6yW.js';
2
2
  import { C as ClientInitOptions } from '../types-BLJoO6YL.js';
3
- import '../types-auVqO7UT.js';
3
+ import '../types-jKnx7Tm_.js';
4
4
  import 'qs';
5
5
 
6
6
  declare const createAiClient: ({ baseUrl, middlewares, token }: ClientInitOptions) => {
package/dist/ai/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { createAiClient } from '../chunk-IA7WBVH3.js';
2
- import '../chunk-FBGUBMJ7.js';
1
+ export { createAiClient } from '../chunk-CWYVLIOU.js';
2
+ import '../chunk-6VILIOTV.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import '../types-auVqO7UT.cjs';
2
- export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-CaoEwPpD.cjs';
1
+ import '../types-jKnx7Tm_.cjs';
2
+ export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-CvHPHNH0.cjs';
@@ -1,2 +1,2 @@
1
- import '../types-auVqO7UT.js';
2
- export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-_uKmxlZr.js';
1
+ import '../types-jKnx7Tm_.js';
2
+ export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-D3Kkh6yW.js';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkIQOXQMON_cjs = require('../chunk-IQOXQMON.cjs');
4
- require('../chunk-OWGJ3PVA.cjs');
3
+ var chunkFW35SRXA_cjs = require('../chunk-FW35SRXA.cjs');
4
+ require('../chunk-ALHWNI4P.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "createAssetsClient", {
9
9
  enumerable: true,
10
- get: function () { return chunkIQOXQMON_cjs.createAssetsClient; }
10
+ get: function () { return chunkFW35SRXA_cjs.createAssetsClient; }
11
11
  });
12
12
  //# sourceMappingURL=index.cjs.map
13
13
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- export { createAssetsClient } from '../chunk-SUA3D6YF.js';
2
- import '../chunk-FBGUBMJ7.js';
1
+ export { createAssetsClient } from '../chunk-BZ7SEQVM.js';
2
+ import '../chunk-6VILIOTV.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,13 +1,41 @@
1
1
  'use strict';
2
2
 
3
- var chunkIL5MYBXL_cjs = require('../chunk-IL5MYBXL.cjs');
4
- require('../chunk-OWGJ3PVA.cjs');
3
+ var chunkFHFURAAG_cjs = require('../chunk-FHFURAAG.cjs');
4
+ require('../chunk-ALHWNI4P.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "createAuthClient", {
9
9
  enumerable: true,
10
- get: function () { return chunkIL5MYBXL_cjs.createAuthClient; }
10
+ get: function () { return chunkFHFURAAG_cjs.createAuthClient; }
11
+ });
12
+ Object.defineProperty(exports, "loginInputSchema", {
13
+ enumerable: true,
14
+ get: function () { return chunkFHFURAAG_cjs.loginInputSchema; }
15
+ });
16
+ Object.defineProperty(exports, "loginResultSchema", {
17
+ enumerable: true,
18
+ get: function () { return chunkFHFURAAG_cjs.loginResultSchema; }
19
+ });
20
+ Object.defineProperty(exports, "loginSuccessSchema", {
21
+ enumerable: true,
22
+ get: function () { return chunkFHFURAAG_cjs.loginSuccessSchema; }
23
+ });
24
+ Object.defineProperty(exports, "mfaChallengeSchema", {
25
+ enumerable: true,
26
+ get: function () { return chunkFHFURAAG_cjs.mfaChallengeSchema; }
27
+ });
28
+ Object.defineProperty(exports, "mfaCodeInputSchema", {
29
+ enumerable: true,
30
+ get: function () { return chunkFHFURAAG_cjs.mfaCodeInputSchema; }
31
+ });
32
+ Object.defineProperty(exports, "mfaWebauthnInputSchema", {
33
+ enumerable: true,
34
+ get: function () { return chunkFHFURAAG_cjs.mfaWebauthnInputSchema; }
35
+ });
36
+ Object.defineProperty(exports, "oidcInputSchema", {
37
+ enumerable: true,
38
+ get: function () { return chunkFHFURAAG_cjs.oidcInputSchema; }
11
39
  });
12
40
  //# sourceMappingURL=index.cjs.map
13
41
  //# sourceMappingURL=index.cjs.map
@@ -1,142 +1,198 @@
1
- import { L as LoginBody, c as components, V as VerifyMfaBody, S as SudoBody, A as AssertSamlBody, I as InitiateSamlBody, C as CreateDeviceAuthorizationBody, a as ApproveDeviceAuthorizationBody, G as GetDeviceAuthorizationTokenBody, b as GetPkceTokenBody, d as CreatePatBody, E as ExchangePatBody, R as RevokePatPath, e as RevokeSessionPath, f as RefreshTokenBody, g as RevokeTokenBody } from '../types-BsA3W6Mo.cjs';
1
+ import { c as components, A as AssertSamlBody, I as InitiateSamlBody, C as CreatePatBody, E as ExchangePatBody, R as RevokePatPath, a as CreateDeviceAuthorizationBody, b as ApproveDeviceAuthorizationBody, G as GetDeviceAuthorizationTokenBody, S as SudoBody, d as GetPkceTokenBody, e as RevokeSessionPath, f as RevokeTokenBody } from '../types-59-LNg5i.cjs';
2
+ import { L as LoginInput, O as OidcInput, M as MfaCodeInput, a as MfaWebauthnInput } from '../schemas-DVB6wC7L.cjs';
3
+ export { b as LoginResult, l as loginInputSchema, c as loginResultSchema, d as loginSuccessSchema, m as mfaChallengeSchema, e as mfaCodeInputSchema, f as mfaWebauthnInputSchema, o as oidcInputSchema } from '../schemas-DVB6wC7L.cjs';
4
+ import { c as createOpenapiFetchClient } from '../createOpenapiFetchClient-CKNLT4ND.cjs';
2
5
  import { C as ClientInitOptions } from '../types-BLJoO6YL.cjs';
3
- import '../types-auVqO7UT.cjs';
6
+ import '../types-jKnx7Tm_.cjs';
7
+ import 'zod';
4
8
  import 'qs';
5
9
 
6
10
  type AuthClientInitOptions = Omit<ClientInitOptions, 'token'>;
11
+ type AuthOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
7
12
  declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions) => {
8
- login: (body: LoginBody, signal?: AbortSignal) => Promise<{
9
- accessToken: string;
10
- refreshToken: string;
11
- tokenType: string;
12
- expiresIn: number;
13
- sessionId: string;
14
- user: components["schemas"]["UserLoggedInResponse"];
15
- } | {
16
- mfaRequired: boolean;
17
- mfaType: string;
18
- mfaToken: string;
19
- expiresIn: number;
20
- allowedMethods: string[];
21
- webauthn: Record<string, never> | null;
22
- }>;
23
- verifyMfa: (body: VerifyMfaBody, signal?: AbortSignal) => Promise<{
24
- accessToken: string;
25
- refreshToken: string;
26
- tokenType: string;
27
- expiresIn: number;
28
- sessionId: string;
29
- user: components["schemas"]["UserLoggedInResponse"];
30
- }>;
31
- regenerateRecoveryCodes: (signal?: AbortSignal) => Promise<{
32
- codes: string[];
33
- }>;
34
- sudo: (body: SudoBody, signal?: AbortSignal) => Promise<{
35
- sudoVerified: boolean;
36
- sudoExpiresAt: string;
37
- sudoTimeoutSeconds: number;
38
- }>;
39
- createSudoChallenge: (signal?: AbortSignal) => Promise<{
40
- challengeToken: string;
41
- options: Record<string, never>;
42
- expiresIn: number;
43
- }>;
44
- assertSaml: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
45
- accessToken: string;
46
- refreshToken: string;
47
- tokenType: string;
48
- expiresIn: number;
49
- sessionId: string;
50
- user: components["schemas"]["UserLoggedInResponse"];
51
- } | {
52
- mfaRequired: boolean;
53
- mfaType: string;
54
- mfaToken: string;
55
- expiresIn: number;
56
- allowedMethods: string[];
57
- webauthn: Record<string, never> | null;
58
- }>;
59
- initiateSaml: (body?: InitiateSamlBody, signal?: AbortSignal) => Promise<{
60
- ssoUrl: string;
61
- requestHandle: string;
62
- expiresIn: number;
63
- }>;
64
- createDeviceAuthorization: (body: CreateDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
65
- deviceCode: string;
66
- userCode: string;
67
- verificationUri: string;
68
- verificationUriComplete: string;
69
- expiresIn: number;
70
- interval: number;
71
- }>;
72
- approveDeviceAuthorization: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
73
- status: "approved" | "denied";
74
- idempotent: boolean;
75
- decision: components["schemas"]["DeviceApprovalDecision"];
76
- }>;
77
- getDeviceAuthorizationToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
78
- accessToken: string;
79
- refreshToken: string;
80
- tokenType: string;
81
- expiresIn: number;
82
- sessionId: string;
83
- user: components["schemas"]["UserLoggedInResponse"];
84
- }>;
85
- getPkceToken: (body: GetPkceTokenBody, signal?: AbortSignal) => Promise<{
86
- accessToken: string;
87
- refreshToken: string;
88
- tokenType: string;
89
- expiresIn: number;
90
- sessionId: string;
91
- user: components["schemas"]["UserLoggedInResponse"];
92
- }>;
93
- listPats: (signal?: AbortSignal) => Promise<{
94
- items: components["schemas"]["PatItemResponse"][];
95
- }>;
96
- createPat: (body: CreatePatBody, signal?: AbortSignal) => Promise<{
97
- accessToken: string;
98
- tokenType: string;
99
- expiresIn: number;
100
- pat: components["schemas"]["PatItemResponse"];
101
- }>;
102
- exchangePat: (body?: ExchangePatBody, signal?: AbortSignal) => Promise<{
103
- accessToken: string;
104
- tokenType: string;
105
- expiresIn: number;
106
- scope: Record<string, never>;
107
- readOnly: boolean;
108
- parentTokenId: string;
109
- parentTokenType: "session" | "pat";
110
- expiresAt: string;
111
- pat: components["schemas"]["PatItemResponse"];
112
- }>;
113
- revokePat: (id: RevokePatPath["id"], signal?: AbortSignal) => Promise<void>;
114
- listSessions: (signal?: AbortSignal) => Promise<{
115
- sessions?: components["schemas"]["SessionItemResponse"][];
116
- }>;
117
- revokeAllSessions: (signal?: AbortSignal) => Promise<void>;
118
- revokeSession: (sessionId: RevokeSessionPath["sessionId"], signal?: AbortSignal) => Promise<void>;
119
- introspectToken: (signal?: AbortSignal) => Promise<{
120
- sessionId: string;
121
- user: components["schemas"]["UserLoggedInResponse"];
122
- grantType: string;
123
- sudoVerified: boolean;
124
- createdAt: string;
125
- expiresAt: string;
126
- lastUsedAt?: string | null;
127
- lastUsedIp?: string | null;
128
- userAgent?: string | null;
129
- projects: components["schemas"]["ProjectAccessItem"][];
130
- }>;
131
- refreshToken: (body: RefreshTokenBody, signal?: AbortSignal) => Promise<{
132
- accessToken: string;
133
- refreshToken: string;
134
- tokenType: string;
135
- expiresIn: number;
136
- sessionId: string;
137
- user: components["schemas"]["UserLoggedInResponse"];
138
- }>;
139
- revokeToken: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
13
+ login: {
14
+ withPassword: (input: LoginInput, signal?: AbortSignal) => Promise<{
15
+ mfaRequired: false;
16
+ accessToken: string;
17
+ refreshToken: string;
18
+ tokenType: string;
19
+ expiresIn: number;
20
+ sessionId: string;
21
+ user: {
22
+ id: number;
23
+ email: string;
24
+ name: string;
25
+ };
26
+ } | {
27
+ mfaRequired: true;
28
+ mfaType: string;
29
+ mfaToken: string;
30
+ expiresIn: number;
31
+ allowedMethods: string[];
32
+ webauthn: Record<string, unknown> | null;
33
+ }>;
34
+ withOidc: (input: OidcInput, signal?: AbortSignal) => Promise<{
35
+ mfaRequired: false;
36
+ accessToken: string;
37
+ refreshToken: string;
38
+ tokenType: string;
39
+ expiresIn: number;
40
+ sessionId: string;
41
+ user: {
42
+ id: number;
43
+ email: string;
44
+ name: string;
45
+ };
46
+ } | {
47
+ mfaRequired: true;
48
+ mfaType: string;
49
+ mfaToken: string;
50
+ expiresIn: number;
51
+ allowedMethods: string[];
52
+ webauthn: Record<string, unknown> | null;
53
+ }>;
54
+ };
55
+ mfa: {
56
+ verifyWithCode: (input: MfaCodeInput, signal?: AbortSignal) => Promise<{
57
+ accessToken: string;
58
+ refreshToken: string;
59
+ tokenType: string;
60
+ expiresIn: number;
61
+ sessionId: string;
62
+ user: components["schemas"]["UserLoggedInResponse"];
63
+ }>;
64
+ verifyWithWebauthn: (input: MfaWebauthnInput, signal?: AbortSignal) => Promise<{
65
+ accessToken: string;
66
+ refreshToken: string;
67
+ tokenType: string;
68
+ expiresIn: number;
69
+ sessionId: string;
70
+ user: components["schemas"]["UserLoggedInResponse"];
71
+ }>;
72
+ regenerateRecoveryCodes: (signal?: AbortSignal) => Promise<{
73
+ codes: string[];
74
+ }>;
75
+ };
76
+ saml: {
77
+ assert: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
78
+ accessToken: string;
79
+ refreshToken: string;
80
+ tokenType: string;
81
+ expiresIn: number;
82
+ sessionId: string;
83
+ user: components["schemas"]["UserLoggedInResponse"];
84
+ } | {
85
+ mfaRequired: boolean;
86
+ mfaType: string;
87
+ mfaToken: string;
88
+ expiresIn: number;
89
+ allowedMethods: string[];
90
+ webauthn: Record<string, never> | null;
91
+ }>;
92
+ initiate: (body?: InitiateSamlBody, signal?: AbortSignal) => Promise<{
93
+ ssoUrl: string;
94
+ requestHandle: string;
95
+ expiresIn: number;
96
+ }>;
97
+ };
98
+ pat: {
99
+ create: (body: CreatePatBody, signal?: AbortSignal) => Promise<{
100
+ accessToken: string;
101
+ tokenType: string;
102
+ expiresIn: number;
103
+ pat: components["schemas"]["PatItemResponse"];
104
+ }>;
105
+ exchange: (body?: ExchangePatBody, signal?: AbortSignal) => Promise<{
106
+ accessToken: string;
107
+ tokenType: string;
108
+ expiresIn: number;
109
+ scope: Record<string, never>;
110
+ readOnly: boolean;
111
+ parentTokenId: string;
112
+ parentTokenType: "session" | "pat";
113
+ expiresAt: string;
114
+ pat: components["schemas"]["PatItemResponse"];
115
+ }>;
116
+ revoke: (id: RevokePatPath["id"], signal?: AbortSignal) => Promise<void>;
117
+ getAll: (signal?: AbortSignal) => Promise<{
118
+ items: components["schemas"]["PatItemResponse"][];
119
+ }>;
120
+ };
121
+ device: {
122
+ create: (body: CreateDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
123
+ deviceCode: string;
124
+ userCode: string;
125
+ verificationUri: string;
126
+ verificationUriComplete: string;
127
+ expiresIn: number;
128
+ interval: number;
129
+ }>;
130
+ approve: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
131
+ status: "approved" | "denied";
132
+ idempotent: boolean;
133
+ decision: components["schemas"]["DeviceApprovalDecision"];
134
+ }>;
135
+ getToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
136
+ accessToken: string;
137
+ refreshToken: string;
138
+ tokenType: string;
139
+ expiresIn: number;
140
+ sessionId: string;
141
+ user: components["schemas"]["UserLoggedInResponse"];
142
+ }>;
143
+ };
144
+ sudo: {
145
+ verify: (body: SudoBody, signal?: AbortSignal) => Promise<{
146
+ sudoVerified: boolean;
147
+ sudoExpiresAt: string;
148
+ sudoTimeoutSeconds: number;
149
+ }>;
150
+ challenge: (signal?: AbortSignal) => Promise<{
151
+ challengeToken: string;
152
+ options: Record<string, never>;
153
+ expiresIn: number;
154
+ }>;
155
+ };
156
+ pkce: {
157
+ getToken: (body: GetPkceTokenBody, signal?: AbortSignal) => Promise<{
158
+ accessToken: string;
159
+ refreshToken: string;
160
+ tokenType: string;
161
+ expiresIn: number;
162
+ sessionId: string;
163
+ user: components["schemas"]["UserLoggedInResponse"];
164
+ }>;
165
+ };
166
+ session: {
167
+ getAll: (signal?: AbortSignal) => Promise<{
168
+ sessions?: components["schemas"]["SessionItemResponse"][];
169
+ }>;
170
+ revoke: (sessionId: RevokeSessionPath["sessionId"], signal?: AbortSignal) => Promise<void>;
171
+ revokeAll: (signal?: AbortSignal) => Promise<void>;
172
+ };
173
+ token: {
174
+ refresh: (refreshToken: string, signal?: AbortSignal) => Promise<{
175
+ accessToken: string;
176
+ refreshToken: string;
177
+ tokenType: string;
178
+ expiresIn: number;
179
+ sessionId: string;
180
+ user: components["schemas"]["UserLoggedInResponse"];
181
+ }>;
182
+ introspect: (token?: string, signal?: AbortSignal) => Promise<{
183
+ sessionId: string;
184
+ user: components["schemas"]["UserLoggedInResponse"];
185
+ grantType: string;
186
+ sudoVerified: boolean;
187
+ createdAt: string;
188
+ expiresAt: string;
189
+ lastUsedAt?: string | null;
190
+ lastUsedIp?: string | null;
191
+ userAgent?: string | null;
192
+ projects: components["schemas"]["ProjectAccessItem"][];
193
+ }>;
194
+ revoke: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
195
+ };
140
196
  };
141
197
 
142
- export { type AuthClientInitOptions, createAuthClient };
198
+ export { type AuthClientInitOptions, type AuthOpenApiFetchClient, LoginInput, MfaCodeInput, MfaWebauthnInput, OidcInput, createAuthClient };