@nodaro/sdk 2.29.0 → 2.31.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 (716) hide show
  1. package/README.md +31 -0
  2. package/dist/chunk-2DZWWIJ4.cjs +32 -0
  3. package/dist/chunk-2DZWWIJ4.cjs.map +1 -0
  4. package/dist/chunk-34PU2DAT.cjs +118 -0
  5. package/dist/chunk-34PU2DAT.cjs.map +1 -0
  6. package/dist/chunk-37Y5QAVA.js +3 -0
  7. package/dist/chunk-37Y5QAVA.js.map +1 -0
  8. package/dist/chunk-37YCKZX4.cjs +4 -0
  9. package/dist/chunk-37YCKZX4.cjs.map +1 -0
  10. package/dist/chunk-3B47IHB3.cjs +65 -0
  11. package/dist/chunk-3B47IHB3.cjs.map +1 -0
  12. package/dist/chunk-3BELHJBN.cjs +4 -0
  13. package/dist/chunk-3BELHJBN.cjs.map +1 -0
  14. package/dist/chunk-3PPSGM5X.js +3 -0
  15. package/dist/chunk-3PPSGM5X.js.map +1 -0
  16. package/dist/chunk-3QBH2VE2.cjs +80 -0
  17. package/dist/chunk-3QBH2VE2.cjs.map +1 -0
  18. package/dist/chunk-3QFTP5P5.js +102 -0
  19. package/dist/chunk-3QFTP5P5.js.map +1 -0
  20. package/dist/chunk-43FVH6LJ.cjs +123 -0
  21. package/dist/chunk-43FVH6LJ.cjs.map +1 -0
  22. package/dist/chunk-43NO4SGC.cjs +4 -0
  23. package/dist/chunk-43NO4SGC.cjs.map +1 -0
  24. package/dist/chunk-45CK55BH.cjs +4 -0
  25. package/dist/chunk-45CK55BH.cjs.map +1 -0
  26. package/dist/chunk-4NLVBYMW.js +280 -0
  27. package/dist/chunk-4NLVBYMW.js.map +1 -0
  28. package/dist/chunk-4WRDR4GN.js +102 -0
  29. package/dist/chunk-4WRDR4GN.js.map +1 -0
  30. package/dist/chunk-4WWSHV5G.cjs +4 -0
  31. package/dist/chunk-4WWSHV5G.cjs.map +1 -0
  32. package/dist/chunk-53SXNN3A.js +80 -0
  33. package/dist/chunk-53SXNN3A.js.map +1 -0
  34. package/dist/chunk-5ALNFATQ.cjs +27 -0
  35. package/dist/chunk-5ALNFATQ.cjs.map +1 -0
  36. package/dist/chunk-5UQNMNUE.cjs +4 -0
  37. package/dist/chunk-5UQNMNUE.cjs.map +1 -0
  38. package/dist/chunk-5WAI7VGO.js +184 -0
  39. package/dist/chunk-5WAI7VGO.js.map +1 -0
  40. package/dist/chunk-65E3JBFZ.js +52 -0
  41. package/dist/chunk-65E3JBFZ.js.map +1 -0
  42. package/dist/chunk-6JFNBAKV.js +3 -0
  43. package/dist/chunk-6JFNBAKV.js.map +1 -0
  44. package/dist/chunk-6OC6OKLY.cjs +4 -0
  45. package/dist/chunk-6OC6OKLY.cjs.map +1 -0
  46. package/dist/chunk-6OGGJQVA.js +25 -0
  47. package/dist/chunk-6OGGJQVA.js.map +1 -0
  48. package/dist/chunk-7A7HYFGM.js +3 -0
  49. package/dist/chunk-7A7HYFGM.js.map +1 -0
  50. package/dist/chunk-7ISSKQ6S.cjs +106 -0
  51. package/dist/chunk-7ISSKQ6S.cjs.map +1 -0
  52. package/dist/chunk-7LSFG2AF.js +194 -0
  53. package/dist/chunk-7LSFG2AF.js.map +1 -0
  54. package/dist/chunk-7MYKT2L4.cjs +4 -0
  55. package/dist/chunk-7MYKT2L4.cjs.map +1 -0
  56. package/dist/chunk-7QOCWJKD.cjs +25 -0
  57. package/dist/chunk-7QOCWJKD.cjs.map +1 -0
  58. package/dist/chunk-A2ZAFAWC.cjs +4 -0
  59. package/dist/chunk-A2ZAFAWC.cjs.map +1 -0
  60. package/dist/chunk-A3S55XGF.cjs +54 -0
  61. package/dist/chunk-A3S55XGF.cjs.map +1 -0
  62. package/dist/chunk-A3THLBFG.js +3 -0
  63. package/dist/chunk-A3THLBFG.js.map +1 -0
  64. package/dist/chunk-AJVSMNPZ.js +78 -0
  65. package/dist/chunk-AJVSMNPZ.js.map +1 -0
  66. package/dist/chunk-ALSLZG3U.js +124 -0
  67. package/dist/chunk-ALSLZG3U.js.map +1 -0
  68. package/dist/chunk-ALUUBPDG.cjs +4 -0
  69. package/dist/chunk-ALUUBPDG.cjs.map +1 -0
  70. package/dist/chunk-AO3W45LT.cjs +4 -0
  71. package/dist/chunk-AO3W45LT.cjs.map +1 -0
  72. package/dist/chunk-AUDHV3OE.js +3 -0
  73. package/dist/chunk-AUDHV3OE.js.map +1 -0
  74. package/dist/chunk-BAL576G2.cjs +4 -0
  75. package/dist/chunk-BAL576G2.cjs.map +1 -0
  76. package/dist/chunk-BFMKPELU.cjs +212 -0
  77. package/dist/chunk-BFMKPELU.cjs.map +1 -0
  78. package/dist/chunk-BKP6F2IX.js +3 -0
  79. package/dist/chunk-BKP6F2IX.js.map +1 -0
  80. package/dist/chunk-BLA44UCM.js +32 -0
  81. package/dist/chunk-BLA44UCM.js.map +1 -0
  82. package/dist/chunk-BPWUWUZ3.cjs +20 -0
  83. package/dist/chunk-BPWUWUZ3.cjs.map +1 -0
  84. package/dist/chunk-BRV7Z4GD.cjs +17 -0
  85. package/dist/chunk-BRV7Z4GD.cjs.map +1 -0
  86. package/dist/chunk-BU5A6K4C.js +122 -0
  87. package/dist/chunk-BU5A6K4C.js.map +1 -0
  88. package/dist/chunk-C22RJDW3.js +3 -0
  89. package/dist/chunk-C22RJDW3.js.map +1 -0
  90. package/dist/chunk-CGNVHN4V.js +3 -0
  91. package/dist/chunk-CGNVHN4V.js.map +1 -0
  92. package/dist/chunk-CJFIOVBA.js +3 -0
  93. package/dist/chunk-CJFIOVBA.js.map +1 -0
  94. package/dist/chunk-CJLLIVSB.cjs +4 -0
  95. package/dist/chunk-CJLLIVSB.cjs.map +1 -0
  96. package/dist/chunk-CK3AMMSC.js +194 -0
  97. package/dist/chunk-CK3AMMSC.js.map +1 -0
  98. package/dist/chunk-COCKKMNP.cjs +205 -0
  99. package/dist/chunk-COCKKMNP.cjs.map +1 -0
  100. package/dist/chunk-CR5E2SF3.cjs +212 -0
  101. package/dist/chunk-CR5E2SF3.cjs.map +1 -0
  102. package/dist/chunk-CRCPRZFN.js +3 -0
  103. package/dist/chunk-CRCPRZFN.js.map +1 -0
  104. package/dist/chunk-CYRFD6KR.cjs +4 -0
  105. package/dist/chunk-CYRFD6KR.cjs.map +1 -0
  106. package/dist/chunk-D3PW7AHZ.js +3 -0
  107. package/dist/chunk-D3PW7AHZ.js.map +1 -0
  108. package/dist/chunk-DKEYSJCE.cjs +82 -0
  109. package/dist/chunk-DKEYSJCE.cjs.map +1 -0
  110. package/dist/chunk-DPSMVOM3.js +15 -0
  111. package/dist/chunk-DPSMVOM3.js.map +1 -0
  112. package/dist/chunk-E2ZXHS6E.js +20 -0
  113. package/dist/chunk-E2ZXHS6E.js.map +1 -0
  114. package/dist/chunk-E37CVHWW.js +33 -0
  115. package/dist/chunk-E37CVHWW.js.map +1 -0
  116. package/dist/chunk-E5BM4BLO.js +78 -0
  117. package/dist/chunk-E5BM4BLO.js.map +1 -0
  118. package/dist/chunk-EHRWTYGR.cjs +4 -0
  119. package/dist/chunk-EHRWTYGR.cjs.map +1 -0
  120. package/dist/chunk-EJSGJDZY.js +212 -0
  121. package/dist/chunk-EJSGJDZY.js.map +1 -0
  122. package/dist/chunk-ELSOVJPF.js +3 -0
  123. package/dist/chunk-ELSOVJPF.js.map +1 -0
  124. package/dist/chunk-ERLXU47J.js +29 -0
  125. package/dist/chunk-ERLXU47J.js.map +1 -0
  126. package/dist/chunk-ES2E65HT.js +3 -0
  127. package/dist/chunk-ES2E65HT.js.map +1 -0
  128. package/dist/chunk-EXLAHZKF.js +3 -0
  129. package/dist/chunk-EXLAHZKF.js.map +1 -0
  130. package/dist/chunk-FHEYAW5H.js +3 -0
  131. package/dist/chunk-FHEYAW5H.js.map +1 -0
  132. package/dist/chunk-GA4LZZKQ.cjs +104 -0
  133. package/dist/chunk-GA4LZZKQ.cjs.map +1 -0
  134. package/dist/chunk-GAZJ2PA3.js +3 -0
  135. package/dist/chunk-GAZJ2PA3.js.map +1 -0
  136. package/dist/chunk-GB6C5OEZ.cjs +32 -0
  137. package/dist/chunk-GB6C5OEZ.cjs.map +1 -0
  138. package/dist/chunk-GD24ZRFD.js +3 -0
  139. package/dist/chunk-GD24ZRFD.js.map +1 -0
  140. package/dist/chunk-GI7LROLL.cjs +4 -0
  141. package/dist/chunk-GI7LROLL.cjs.map +1 -0
  142. package/dist/chunk-GRFLPEM2.cjs +16 -0
  143. package/dist/chunk-GRFLPEM2.cjs.map +1 -0
  144. package/dist/chunk-GVIFLUYZ.cjs +40 -0
  145. package/dist/chunk-GVIFLUYZ.cjs.map +1 -0
  146. package/dist/chunk-H7VQTG4M.js +35 -0
  147. package/dist/chunk-H7VQTG4M.js.map +1 -0
  148. package/dist/chunk-HAKYPZLB.cjs +242 -0
  149. package/dist/chunk-HAKYPZLB.cjs.map +1 -0
  150. package/dist/chunk-HFBR6G36.js +3 -0
  151. package/dist/chunk-HFBR6G36.js.map +1 -0
  152. package/dist/chunk-HGCVWOGK.cjs +209 -0
  153. package/dist/chunk-HGCVWOGK.cjs.map +1 -0
  154. package/dist/chunk-HLHR3R4P.js +3 -0
  155. package/dist/chunk-HLHR3R4P.js.map +1 -0
  156. package/dist/chunk-HRXXGGSJ.js +3 -0
  157. package/dist/chunk-HRXXGGSJ.js.map +1 -0
  158. package/dist/chunk-I3TYBAOX.js +3 -0
  159. package/dist/chunk-I3TYBAOX.js.map +1 -0
  160. package/dist/chunk-I4A5VJRL.js +352 -0
  161. package/dist/chunk-I4A5VJRL.js.map +1 -0
  162. package/dist/chunk-I6CXC345.js +102 -0
  163. package/dist/chunk-I6CXC345.js.map +1 -0
  164. package/dist/chunk-IGOPUMEX.cjs +4 -0
  165. package/dist/chunk-IGOPUMEX.cjs.map +1 -0
  166. package/dist/chunk-IHKIYVZQ.js +30 -0
  167. package/dist/chunk-IHKIYVZQ.js.map +1 -0
  168. package/dist/chunk-IMC2M5YM.cjs +12 -0
  169. package/dist/chunk-IMC2M5YM.cjs.map +1 -0
  170. package/dist/chunk-IQ6KWSXP.js +3 -0
  171. package/dist/chunk-IQ6KWSXP.js.map +1 -0
  172. package/dist/chunk-IS26FJO7.cjs +4 -0
  173. package/dist/chunk-IS26FJO7.cjs.map +1 -0
  174. package/dist/chunk-J4WFSKY6.js +50 -0
  175. package/dist/chunk-J4WFSKY6.js.map +1 -0
  176. package/dist/chunk-J5LGGCAS.cjs +126 -0
  177. package/dist/chunk-J5LGGCAS.cjs.map +1 -0
  178. package/dist/chunk-JDEZHITT.js +43 -0
  179. package/dist/chunk-JDEZHITT.js.map +1 -0
  180. package/dist/chunk-JGS6YBDW.js +260 -0
  181. package/dist/chunk-JGS6YBDW.js.map +1 -0
  182. package/dist/chunk-JMOKD6ZP.js +46 -0
  183. package/dist/chunk-JMOKD6ZP.js.map +1 -0
  184. package/dist/chunk-JOX5BJ6K.cjs +4 -0
  185. package/dist/chunk-JOX5BJ6K.cjs.map +1 -0
  186. package/dist/chunk-JTAW54UM.js +116 -0
  187. package/dist/chunk-JTAW54UM.js.map +1 -0
  188. package/dist/chunk-K4RQOSJH.js +203 -0
  189. package/dist/chunk-K4RQOSJH.js.map +1 -0
  190. package/dist/chunk-KAIE6WJB.cjs +4 -0
  191. package/dist/chunk-KAIE6WJB.cjs.map +1 -0
  192. package/dist/chunk-KEDPGWIK.cjs +4 -0
  193. package/dist/chunk-KEDPGWIK.cjs.map +1 -0
  194. package/dist/chunk-KG4R454Z.js +18 -0
  195. package/dist/chunk-KG4R454Z.js.map +1 -0
  196. package/dist/chunk-KGKCAGRD.cjs +22 -0
  197. package/dist/chunk-KGKCAGRD.cjs.map +1 -0
  198. package/dist/chunk-KNMW722T.cjs +48 -0
  199. package/dist/chunk-KNMW722T.cjs.map +1 -0
  200. package/dist/chunk-KTTL7BND.cjs +4 -0
  201. package/dist/chunk-KTTL7BND.cjs.map +1 -0
  202. package/dist/chunk-KXEWTYS4.cjs +80 -0
  203. package/dist/chunk-KXEWTYS4.cjs.map +1 -0
  204. package/dist/chunk-KZQKFBRN.js +3 -0
  205. package/dist/chunk-KZQKFBRN.js.map +1 -0
  206. package/dist/chunk-LAWYFC4G.cjs +37 -0
  207. package/dist/chunk-LAWYFC4G.cjs.map +1 -0
  208. package/dist/chunk-LHP2CWHD.js +228 -0
  209. package/dist/chunk-LHP2CWHD.js.map +1 -0
  210. package/dist/chunk-LHRQXWI5.js +3 -0
  211. package/dist/chunk-LHRQXWI5.js.map +1 -0
  212. package/dist/chunk-LKH5M44B.cjs +114 -0
  213. package/dist/chunk-LKH5M44B.cjs.map +1 -0
  214. package/dist/chunk-LLNNHLCE.cjs +4 -0
  215. package/dist/chunk-LLNNHLCE.cjs.map +1 -0
  216. package/dist/chunk-LWZLWSXD.cjs +4 -0
  217. package/dist/chunk-LWZLWSXD.cjs.map +1 -0
  218. package/dist/chunk-M6Y5TOYE.js +3 -0
  219. package/dist/chunk-M6Y5TOYE.js.map +1 -0
  220. package/dist/chunk-MBFUMWI5.cjs +31 -0
  221. package/dist/chunk-MBFUMWI5.cjs.map +1 -0
  222. package/dist/chunk-MEKI37WI.js +3 -0
  223. package/dist/chunk-MEKI37WI.js.map +1 -0
  224. package/dist/chunk-MQ74AKA2.cjs +200 -0
  225. package/dist/chunk-MQ74AKA2.cjs.map +1 -0
  226. package/dist/chunk-N6GLZOE4.cjs +282 -0
  227. package/dist/chunk-N6GLZOE4.cjs.map +1 -0
  228. package/dist/chunk-NBVARNVA.cjs +38 -0
  229. package/dist/chunk-NBVARNVA.cjs.map +1 -0
  230. package/dist/chunk-NCCBS6GU.js +42 -0
  231. package/dist/chunk-NCCBS6GU.js.map +1 -0
  232. package/dist/chunk-NGKODS3J.cjs +52 -0
  233. package/dist/chunk-NGKODS3J.cjs.map +1 -0
  234. package/dist/chunk-NJVSKUL2.cjs +4 -0
  235. package/dist/chunk-NJVSKUL2.cjs.map +1 -0
  236. package/dist/chunk-NLQQHJ25.cjs +104 -0
  237. package/dist/chunk-NLQQHJ25.cjs.map +1 -0
  238. package/dist/chunk-NNHWH7ER.js +181 -0
  239. package/dist/chunk-NNHWH7ER.js.map +1 -0
  240. package/dist/chunk-NX67YIF3.js +3 -0
  241. package/dist/chunk-NX67YIF3.js.map +1 -0
  242. package/dist/chunk-OA6FWYZF.cjs +4 -0
  243. package/dist/chunk-OA6FWYZF.cjs.map +1 -0
  244. package/dist/chunk-OJDBSKC2.js +3 -0
  245. package/dist/chunk-OJDBSKC2.js.map +1 -0
  246. package/dist/chunk-OLPA44QJ.js +3 -0
  247. package/dist/chunk-OLPA44QJ.js.map +1 -0
  248. package/dist/chunk-OMH7ATOQ.js +3 -0
  249. package/dist/chunk-OMH7ATOQ.js.map +1 -0
  250. package/dist/chunk-OPR4TULG.js +3 -0
  251. package/dist/chunk-OPR4TULG.js.map +1 -0
  252. package/dist/chunk-OSX2GVZ2.cjs +34 -0
  253. package/dist/chunk-OSX2GVZ2.cjs.map +1 -0
  254. package/dist/chunk-OXQKE5EG.cjs +282 -0
  255. package/dist/chunk-OXQKE5EG.cjs.map +1 -0
  256. package/dist/chunk-P6E4QDJN.js +30 -0
  257. package/dist/chunk-P6E4QDJN.js.map +1 -0
  258. package/dist/chunk-PEMLIAPZ.cjs +64 -0
  259. package/dist/chunk-PEMLIAPZ.cjs.map +1 -0
  260. package/dist/chunk-PGYQ754I.js +3 -0
  261. package/dist/chunk-PGYQ754I.js.map +1 -0
  262. package/dist/chunk-PHKYIWE4.cjs +16 -0
  263. package/dist/chunk-PHKYIWE4.cjs.map +1 -0
  264. package/dist/chunk-PMTM26LL.js +3 -0
  265. package/dist/chunk-PMTM26LL.js.map +1 -0
  266. package/dist/chunk-PY4OEKNX.cjs +4 -0
  267. package/dist/chunk-PY4OEKNX.cjs.map +1 -0
  268. package/dist/chunk-PZS2EXDR.cjs +4 -0
  269. package/dist/chunk-PZS2EXDR.cjs.map +1 -0
  270. package/dist/chunk-QITJGSFA.js +210 -0
  271. package/dist/chunk-QITJGSFA.js.map +1 -0
  272. package/dist/chunk-QRHJEITQ.cjs +4 -0
  273. package/dist/chunk-QRHJEITQ.cjs.map +1 -0
  274. package/dist/chunk-QUFU5RJ7.cjs +4 -0
  275. package/dist/chunk-QUFU5RJ7.cjs.map +1 -0
  276. package/dist/chunk-QVQCKOBM.js +3 -0
  277. package/dist/chunk-QVQCKOBM.js.map +1 -0
  278. package/dist/chunk-R63TTR35.cjs +200 -0
  279. package/dist/chunk-R63TTR35.cjs.map +1 -0
  280. package/dist/chunk-RA42NMWV.cjs +4 -0
  281. package/dist/chunk-RA42NMWV.cjs.map +1 -0
  282. package/dist/chunk-RAZN6C5R.cjs +12 -0
  283. package/dist/chunk-RAZN6C5R.cjs.map +1 -0
  284. package/dist/chunk-REUFPWM7.cjs +233 -0
  285. package/dist/chunk-REUFPWM7.cjs.map +1 -0
  286. package/dist/chunk-RHETJOUM.cjs +4 -0
  287. package/dist/chunk-RHETJOUM.cjs.map +1 -0
  288. package/dist/chunk-RJIJVVXS.js +3 -0
  289. package/dist/chunk-RJIJVVXS.js.map +1 -0
  290. package/dist/chunk-RKVRCNMB.js +3 -0
  291. package/dist/chunk-RKVRCNMB.js.map +1 -0
  292. package/dist/chunk-SBV5MWEL.cjs +53 -0
  293. package/dist/chunk-SBV5MWEL.cjs.map +1 -0
  294. package/dist/chunk-SFB4YLCS.js +121 -0
  295. package/dist/chunk-SFB4YLCS.js.map +1 -0
  296. package/dist/chunk-SLPD47SR.js +3 -0
  297. package/dist/chunk-SLPD47SR.js.map +1 -0
  298. package/dist/chunk-SS3B6PHT.cjs +35 -0
  299. package/dist/chunk-SS3B6PHT.cjs.map +1 -0
  300. package/dist/chunk-SUCHGNYT.js +3 -0
  301. package/dist/chunk-SUCHGNYT.js.map +1 -0
  302. package/dist/chunk-SYVNY3AH.cjs +44 -0
  303. package/dist/chunk-SYVNY3AH.cjs.map +1 -0
  304. package/dist/chunk-T3SYREY4.js +29 -0
  305. package/dist/chunk-T3SYREY4.js.map +1 -0
  306. package/dist/chunk-T7N7DFQJ.js +198 -0
  307. package/dist/chunk-T7N7DFQJ.js.map +1 -0
  308. package/dist/chunk-TRCENAIY.cjs +4 -0
  309. package/dist/chunk-TRCENAIY.cjs.map +1 -0
  310. package/dist/chunk-TVENC6PH.js +186 -0
  311. package/dist/chunk-TVENC6PH.js.map +1 -0
  312. package/dist/chunk-U4T3Z3K7.cjs +325 -0
  313. package/dist/chunk-U4T3Z3K7.cjs.map +1 -0
  314. package/dist/chunk-UI2NXUML.cjs +187 -0
  315. package/dist/chunk-UI2NXUML.cjs.map +1 -0
  316. package/dist/chunk-UIFFNTUX.js +3 -0
  317. package/dist/chunk-UIFFNTUX.js.map +1 -0
  318. package/dist/chunk-V4GPQ6Y2.js +3 -0
  319. package/dist/chunk-V4GPQ6Y2.js.map +1 -0
  320. package/dist/chunk-VGTRKXF2.js +93 -0
  321. package/dist/chunk-VGTRKXF2.js.map +1 -0
  322. package/dist/chunk-VGWOIWRQ.cjs +202 -0
  323. package/dist/chunk-VGWOIWRQ.cjs.map +1 -0
  324. package/dist/chunk-VLCNNA76.cjs +4 -0
  325. package/dist/chunk-VLCNNA76.cjs.map +1 -0
  326. package/dist/chunk-VPAUN75Q.js +3 -0
  327. package/dist/chunk-VPAUN75Q.js.map +1 -0
  328. package/dist/chunk-VT237QF2.js +3 -0
  329. package/dist/chunk-VT237QF2.js.map +1 -0
  330. package/dist/chunk-VV4TZG5S.js +321 -0
  331. package/dist/chunk-VV4TZG5S.js.map +1 -0
  332. package/dist/chunk-VYK6MBL4.cjs +4 -0
  333. package/dist/chunk-VYK6MBL4.cjs.map +1 -0
  334. package/dist/chunk-W33CKW6Q.cjs +4 -0
  335. package/dist/chunk-W33CKW6Q.cjs.map +1 -0
  336. package/dist/chunk-W5VHATSR.cjs +31 -0
  337. package/dist/chunk-W5VHATSR.cjs.map +1 -0
  338. package/dist/chunk-W7YI5UT3.js +3 -0
  339. package/dist/chunk-W7YI5UT3.js.map +1 -0
  340. package/dist/chunk-WEQWU2IC.js +34 -0
  341. package/dist/chunk-WEQWU2IC.js.map +1 -0
  342. package/dist/chunk-WK4VXPPZ.cjs +104 -0
  343. package/dist/chunk-WK4VXPPZ.cjs.map +1 -0
  344. package/dist/chunk-WSA4LMWR.cjs +96 -0
  345. package/dist/chunk-WSA4LMWR.cjs.map +1 -0
  346. package/dist/chunk-WUIEZ6Z4.cjs +360 -0
  347. package/dist/chunk-WUIEZ6Z4.cjs.map +1 -0
  348. package/dist/chunk-WUKIJJG2.cjs +45 -0
  349. package/dist/chunk-WUKIJJG2.cjs.map +1 -0
  350. package/dist/chunk-WVFAQBS7.js +29 -0
  351. package/dist/chunk-WVFAQBS7.js.map +1 -0
  352. package/dist/chunk-X7RDNMN7.js +3 -0
  353. package/dist/chunk-X7RDNMN7.js.map +1 -0
  354. package/dist/chunk-X7XP5WBP.cjs +4 -0
  355. package/dist/chunk-X7XP5WBP.cjs.map +1 -0
  356. package/dist/chunk-XQAIEPAZ.js +104 -0
  357. package/dist/chunk-XQAIEPAZ.js.map +1 -0
  358. package/dist/chunk-XWKNE6DH.cjs +4 -0
  359. package/dist/chunk-XWKNE6DH.cjs.map +1 -0
  360. package/dist/chunk-Y6V6CBY5.js +23 -0
  361. package/dist/chunk-Y6V6CBY5.js.map +1 -0
  362. package/dist/chunk-Y6VDCZPB.js +62 -0
  363. package/dist/chunk-Y6VDCZPB.js.map +1 -0
  364. package/dist/chunk-YDRXBRW2.cjs +184 -0
  365. package/dist/chunk-YDRXBRW2.cjs.map +1 -0
  366. package/dist/chunk-YFS2LMG4.cjs +124 -0
  367. package/dist/chunk-YFS2LMG4.cjs.map +1 -0
  368. package/dist/chunk-YN6CBIIB.js +63 -0
  369. package/dist/chunk-YN6CBIIB.js.map +1 -0
  370. package/dist/chunk-YOJ2XNQX.cjs +4 -0
  371. package/dist/chunk-YOJ2XNQX.cjs.map +1 -0
  372. package/dist/chunk-YOOZB4RL.js +3 -0
  373. package/dist/chunk-YOOZB4RL.js.map +1 -0
  374. package/dist/chunk-YVU2M7MI.js +34 -0
  375. package/dist/chunk-YVU2M7MI.js.map +1 -0
  376. package/dist/chunk-YXBZRB5H.cjs +4 -0
  377. package/dist/chunk-YXBZRB5H.cjs.map +1 -0
  378. package/dist/chunk-Z3ZKFI2M.js +43 -0
  379. package/dist/chunk-Z3ZKFI2M.js.map +1 -0
  380. package/dist/chunk-Z5GLY4R3.js +112 -0
  381. package/dist/chunk-Z5GLY4R3.js.map +1 -0
  382. package/dist/chunk-Z5OMWAQX.js +3 -0
  383. package/dist/chunk-Z5OMWAQX.js.map +1 -0
  384. package/dist/chunk-Z7LGWNI7.js +38 -0
  385. package/dist/chunk-Z7LGWNI7.js.map +1 -0
  386. package/dist/chunk-ZCWKX4V6.cjs +38 -0
  387. package/dist/chunk-ZCWKX4V6.cjs.map +1 -0
  388. package/dist/chunk-ZE5RISBZ.cjs +4 -0
  389. package/dist/chunk-ZE5RISBZ.cjs.map +1 -0
  390. package/dist/chunk-ZH4F2P2G.js +3 -0
  391. package/dist/chunk-ZH4F2P2G.js.map +1 -0
  392. package/dist/chunk-ZJGFLJ2Z.cjs +4 -0
  393. package/dist/chunk-ZJGFLJ2Z.cjs.map +1 -0
  394. package/dist/chunk-ZKBHD27K.cjs +4 -0
  395. package/dist/chunk-ZKBHD27K.cjs.map +1 -0
  396. package/dist/chunk-ZQPLRNKX.cjs +4 -0
  397. package/dist/chunk-ZQPLRNKX.cjs.map +1 -0
  398. package/dist/chunk-ZQQABQMH.cjs +31 -0
  399. package/dist/chunk-ZQQABQMH.cjs.map +1 -0
  400. package/dist/chunk-ZXJQSFIA.js +200 -0
  401. package/dist/chunk-ZXJQSFIA.js.map +1 -0
  402. package/dist/developer-apps-zSQXWmEG.d.cts +294 -0
  403. package/dist/developer-apps-zSQXWmEG.d.ts +294 -0
  404. package/dist/entries/apps.cjs +13 -0
  405. package/dist/entries/apps.cjs.map +1 -0
  406. package/dist/entries/apps.d.cts +300 -0
  407. package/dist/entries/apps.d.ts +300 -0
  408. package/dist/entries/apps.js +4 -0
  409. package/dist/entries/apps.js.map +1 -0
  410. package/dist/entries/audio.cjs +13 -0
  411. package/dist/entries/audio.cjs.map +1 -0
  412. package/dist/entries/audio.d.cts +200 -0
  413. package/dist/entries/audio.d.ts +200 -0
  414. package/dist/entries/audio.js +4 -0
  415. package/dist/entries/audio.js.map +1 -0
  416. package/dist/entries/billing.cjs +13 -0
  417. package/dist/entries/billing.cjs.map +1 -0
  418. package/dist/entries/billing.d.cts +208 -0
  419. package/dist/entries/billing.d.ts +208 -0
  420. package/dist/entries/billing.js +4 -0
  421. package/dist/entries/billing.js.map +1 -0
  422. package/dist/entries/catalogs.cjs +13 -0
  423. package/dist/entries/catalogs.cjs.map +1 -0
  424. package/dist/entries/catalogs.d.cts +82 -0
  425. package/dist/entries/catalogs.d.ts +82 -0
  426. package/dist/entries/catalogs.js +4 -0
  427. package/dist/entries/catalogs.js.map +1 -0
  428. package/dist/entries/characters.cjs +45 -0
  429. package/dist/entries/characters.cjs.map +1 -0
  430. package/dist/entries/characters.d.cts +741 -0
  431. package/dist/entries/characters.d.ts +741 -0
  432. package/dist/entries/characters.js +4 -0
  433. package/dist/entries/characters.js.map +1 -0
  434. package/dist/entries/client.cjs +78 -0
  435. package/dist/entries/client.cjs.map +1 -0
  436. package/dist/entries/client.d.cts +147 -0
  437. package/dist/entries/client.d.ts +147 -0
  438. package/dist/entries/client.js +53 -0
  439. package/dist/entries/client.js.map +1 -0
  440. package/dist/entries/collections.cjs +13 -0
  441. package/dist/entries/collections.cjs.map +1 -0
  442. package/dist/entries/collections.d.cts +77 -0
  443. package/dist/entries/collections.d.ts +77 -0
  444. package/dist/entries/collections.js +4 -0
  445. package/dist/entries/collections.js.map +1 -0
  446. package/dist/entries/community.cjs +13 -0
  447. package/dist/entries/community.cjs.map +1 -0
  448. package/dist/entries/community.d.cts +87 -0
  449. package/dist/entries/community.d.ts +87 -0
  450. package/dist/entries/community.js +4 -0
  451. package/dist/entries/community.js.map +1 -0
  452. package/dist/entries/competitors.cjs +13 -0
  453. package/dist/entries/competitors.cjs.map +1 -0
  454. package/dist/entries/competitors.d.cts +96 -0
  455. package/dist/entries/competitors.d.ts +96 -0
  456. package/dist/entries/competitors.js +4 -0
  457. package/dist/entries/competitors.js.map +1 -0
  458. package/dist/entries/copilot.cjs +15 -0
  459. package/dist/entries/copilot.cjs.map +1 -0
  460. package/dist/entries/copilot.d.cts +296 -0
  461. package/dist/entries/copilot.d.ts +296 -0
  462. package/dist/entries/copilot.js +6 -0
  463. package/dist/entries/copilot.js.map +1 -0
  464. package/dist/entries/core.cjs +26 -0
  465. package/dist/entries/core.cjs.map +1 -0
  466. package/dist/entries/core.d.cts +3 -0
  467. package/dist/entries/core.d.ts +3 -0
  468. package/dist/entries/core.js +5 -0
  469. package/dist/entries/core.js.map +1 -0
  470. package/dist/entries/creatures.cjs +29 -0
  471. package/dist/entries/creatures.cjs.map +1 -0
  472. package/dist/entries/creatures.d.cts +594 -0
  473. package/dist/entries/creatures.d.ts +594 -0
  474. package/dist/entries/creatures.js +4 -0
  475. package/dist/entries/creatures.js.map +1 -0
  476. package/dist/entries/credits.cjs +13 -0
  477. package/dist/entries/credits.cjs.map +1 -0
  478. package/dist/entries/credits.d.cts +229 -0
  479. package/dist/entries/credits.d.ts +229 -0
  480. package/dist/entries/credits.js +4 -0
  481. package/dist/entries/credits.js.map +1 -0
  482. package/dist/entries/developer-apps.cjs +13 -0
  483. package/dist/entries/developer-apps.cjs.map +1 -0
  484. package/dist/entries/developer-apps.d.cts +3 -0
  485. package/dist/entries/developer-apps.d.ts +3 -0
  486. package/dist/entries/developer-apps.js +4 -0
  487. package/dist/entries/developer-apps.js.map +1 -0
  488. package/dist/entries/edit.cjs +34 -0
  489. package/dist/entries/edit.cjs.map +1 -0
  490. package/dist/entries/edit.d.cts +705 -0
  491. package/dist/entries/edit.d.ts +705 -0
  492. package/dist/entries/edit.js +5 -0
  493. package/dist/entries/edit.js.map +1 -0
  494. package/dist/entries/errors.cjs +93 -0
  495. package/dist/entries/errors.cjs.map +1 -0
  496. package/dist/entries/errors.d.cts +338 -0
  497. package/dist/entries/errors.d.ts +338 -0
  498. package/dist/entries/errors.js +4 -0
  499. package/dist/entries/errors.js.map +1 -0
  500. package/dist/entries/executions.cjs +21 -0
  501. package/dist/entries/executions.cjs.map +1 -0
  502. package/dist/entries/executions.d.cts +120 -0
  503. package/dist/entries/executions.d.ts +120 -0
  504. package/dist/entries/executions.js +4 -0
  505. package/dist/entries/executions.js.map +1 -0
  506. package/dist/entries/gallery.cjs +13 -0
  507. package/dist/entries/gallery.cjs.map +1 -0
  508. package/dist/entries/gallery.d.cts +85 -0
  509. package/dist/entries/gallery.d.ts +85 -0
  510. package/dist/entries/gallery.js +4 -0
  511. package/dist/entries/gallery.js.map +1 -0
  512. package/dist/entries/jobs.cjs +13 -0
  513. package/dist/entries/jobs.cjs.map +1 -0
  514. package/dist/entries/jobs.d.cts +252 -0
  515. package/dist/entries/jobs.d.ts +252 -0
  516. package/dist/entries/jobs.js +4 -0
  517. package/dist/entries/jobs.js.map +1 -0
  518. package/dist/entries/library.cjs +13 -0
  519. package/dist/entries/library.cjs.map +1 -0
  520. package/dist/entries/library.d.cts +109 -0
  521. package/dist/entries/library.d.ts +109 -0
  522. package/dist/entries/library.js +4 -0
  523. package/dist/entries/library.js.map +1 -0
  524. package/dist/entries/llm.cjs +13 -0
  525. package/dist/entries/llm.cjs.map +1 -0
  526. package/dist/entries/llm.d.cts +98 -0
  527. package/dist/entries/llm.d.ts +98 -0
  528. package/dist/entries/llm.js +4 -0
  529. package/dist/entries/llm.js.map +1 -0
  530. package/dist/entries/locations.cjs +25 -0
  531. package/dist/entries/locations.cjs.map +1 -0
  532. package/dist/entries/locations.d.cts +573 -0
  533. package/dist/entries/locations.d.ts +573 -0
  534. package/dist/entries/locations.js +4 -0
  535. package/dist/entries/locations.js.map +1 -0
  536. package/dist/entries/media.cjs +15 -0
  537. package/dist/entries/media.cjs.map +1 -0
  538. package/dist/entries/media.d.cts +548 -0
  539. package/dist/entries/media.d.ts +548 -0
  540. package/dist/entries/media.js +6 -0
  541. package/dist/entries/media.js.map +1 -0
  542. package/dist/entries/models.cjs +13 -0
  543. package/dist/entries/models.cjs.map +1 -0
  544. package/dist/entries/models.d.cts +92 -0
  545. package/dist/entries/models.d.ts +92 -0
  546. package/dist/entries/models.js +4 -0
  547. package/dist/entries/models.js.map +1 -0
  548. package/dist/entries/moodboards.cjs +21 -0
  549. package/dist/entries/moodboards.cjs.map +1 -0
  550. package/dist/entries/moodboards.d.cts +77 -0
  551. package/dist/entries/moodboards.d.ts +77 -0
  552. package/dist/entries/moodboards.js +4 -0
  553. package/dist/entries/moodboards.js.map +1 -0
  554. package/dist/entries/node-presets.cjs +13 -0
  555. package/dist/entries/node-presets.cjs.map +1 -0
  556. package/dist/entries/node-presets.d.cts +217 -0
  557. package/dist/entries/node-presets.d.ts +217 -0
  558. package/dist/entries/node-presets.js +4 -0
  559. package/dist/entries/node-presets.js.map +1 -0
  560. package/dist/entries/nodes.cjs +22 -0
  561. package/dist/entries/nodes.cjs.map +1 -0
  562. package/dist/entries/nodes.d.cts +18 -0
  563. package/dist/entries/nodes.d.ts +18 -0
  564. package/dist/entries/nodes.js +5 -0
  565. package/dist/entries/nodes.js.map +1 -0
  566. package/dist/entries/oauth.cjs +13 -0
  567. package/dist/entries/oauth.cjs.map +1 -0
  568. package/dist/entries/oauth.d.cts +69 -0
  569. package/dist/entries/oauth.d.ts +69 -0
  570. package/dist/entries/oauth.js +4 -0
  571. package/dist/entries/oauth.js.map +1 -0
  572. package/dist/entries/objects.cjs +29 -0
  573. package/dist/entries/objects.cjs.map +1 -0
  574. package/dist/entries/objects.d.cts +544 -0
  575. package/dist/entries/objects.d.ts +544 -0
  576. package/dist/entries/objects.js +4 -0
  577. package/dist/entries/objects.js.map +1 -0
  578. package/dist/entries/organizations.cjs +21 -0
  579. package/dist/entries/organizations.cjs.map +1 -0
  580. package/dist/entries/organizations.d.cts +164 -0
  581. package/dist/entries/organizations.d.ts +164 -0
  582. package/dist/entries/organizations.js +4 -0
  583. package/dist/entries/organizations.js.map +1 -0
  584. package/dist/entries/palettes.cjs +21 -0
  585. package/dist/entries/palettes.cjs.map +1 -0
  586. package/dist/entries/palettes.d.cts +69 -0
  587. package/dist/entries/palettes.d.ts +69 -0
  588. package/dist/entries/palettes.js +4 -0
  589. package/dist/entries/palettes.js.map +1 -0
  590. package/dist/entries/picker-catalogs.cjs +13 -0
  591. package/dist/entries/picker-catalogs.cjs.map +1 -0
  592. package/dist/entries/picker-catalogs.d.cts +148 -0
  593. package/dist/entries/picker-catalogs.d.ts +148 -0
  594. package/dist/entries/picker-catalogs.js +4 -0
  595. package/dist/entries/picker-catalogs.js.map +1 -0
  596. package/dist/entries/pipelines.cjs +13 -0
  597. package/dist/entries/pipelines.cjs.map +1 -0
  598. package/dist/entries/pipelines.d.cts +255 -0
  599. package/dist/entries/pipelines.d.ts +255 -0
  600. package/dist/entries/pipelines.js +4 -0
  601. package/dist/entries/pipelines.js.map +1 -0
  602. package/dist/entries/projects.cjs +13 -0
  603. package/dist/entries/projects.cjs.map +1 -0
  604. package/dist/entries/projects.d.cts +49 -0
  605. package/dist/entries/projects.d.ts +49 -0
  606. package/dist/entries/projects.js +4 -0
  607. package/dist/entries/projects.js.map +1 -0
  608. package/dist/entries/prompt-helper.cjs +13 -0
  609. package/dist/entries/prompt-helper.cjs.map +1 -0
  610. package/dist/entries/prompt-helper.d.cts +73 -0
  611. package/dist/entries/prompt-helper.d.ts +73 -0
  612. package/dist/entries/prompt-helper.js +4 -0
  613. package/dist/entries/prompt-helper.js.map +1 -0
  614. package/dist/entries/recast.cjs +17 -0
  615. package/dist/entries/recast.cjs.map +1 -0
  616. package/dist/entries/recast.d.cts +229 -0
  617. package/dist/entries/recast.d.ts +229 -0
  618. package/dist/entries/recast.js +4 -0
  619. package/dist/entries/recast.js.map +1 -0
  620. package/dist/entries/reduce.cjs +13 -0
  621. package/dist/entries/reduce.cjs.map +1 -0
  622. package/dist/entries/reduce.d.cts +56 -0
  623. package/dist/entries/reduce.d.ts +56 -0
  624. package/dist/entries/reduce.js +4 -0
  625. package/dist/entries/reduce.js.map +1 -0
  626. package/dist/entries/saved-posts.cjs +13 -0
  627. package/dist/entries/saved-posts.cjs.map +1 -0
  628. package/dist/entries/saved-posts.d.cts +33 -0
  629. package/dist/entries/saved-posts.d.ts +33 -0
  630. package/dist/entries/saved-posts.js +4 -0
  631. package/dist/entries/saved-posts.js.map +1 -0
  632. package/dist/entries/scene3d.cjs +17 -0
  633. package/dist/entries/scene3d.cjs.map +1 -0
  634. package/dist/entries/scene3d.d.cts +131 -0
  635. package/dist/entries/scene3d.d.ts +131 -0
  636. package/dist/entries/scene3d.js +4 -0
  637. package/dist/entries/scene3d.js.map +1 -0
  638. package/dist/entries/sessions.cjs +13 -0
  639. package/dist/entries/sessions.cjs.map +1 -0
  640. package/dist/entries/sessions.d.cts +122 -0
  641. package/dist/entries/sessions.d.ts +122 -0
  642. package/dist/entries/sessions.js +4 -0
  643. package/dist/entries/sessions.js.map +1 -0
  644. package/dist/entries/shots.cjs +13 -0
  645. package/dist/entries/shots.cjs.map +1 -0
  646. package/dist/entries/shots.d.cts +78 -0
  647. package/dist/entries/shots.d.ts +78 -0
  648. package/dist/entries/shots.js +4 -0
  649. package/dist/entries/shots.js.map +1 -0
  650. package/dist/entries/studio.cjs +22 -0
  651. package/dist/entries/studio.cjs.map +1 -0
  652. package/dist/entries/studio.d.cts +281 -0
  653. package/dist/entries/studio.d.ts +281 -0
  654. package/dist/entries/studio.js +5 -0
  655. package/dist/entries/studio.js.map +1 -0
  656. package/dist/entries/templates.cjs +13 -0
  657. package/dist/entries/templates.cjs.map +1 -0
  658. package/dist/entries/templates.d.cts +110 -0
  659. package/dist/entries/templates.d.ts +110 -0
  660. package/dist/entries/templates.js +4 -0
  661. package/dist/entries/templates.js.map +1 -0
  662. package/dist/entries/tutorials.cjs +13 -0
  663. package/dist/entries/tutorials.cjs.map +1 -0
  664. package/dist/entries/tutorials.d.cts +63 -0
  665. package/dist/entries/tutorials.d.ts +63 -0
  666. package/dist/entries/tutorials.js +4 -0
  667. package/dist/entries/tutorials.js.map +1 -0
  668. package/dist/entries/uploads.cjs +13 -0
  669. package/dist/entries/uploads.cjs.map +1 -0
  670. package/dist/entries/uploads.d.cts +44 -0
  671. package/dist/entries/uploads.d.ts +44 -0
  672. package/dist/entries/uploads.js +4 -0
  673. package/dist/entries/uploads.js.map +1 -0
  674. package/dist/entries/video-pro.cjs +13 -0
  675. package/dist/entries/video-pro.cjs.map +1 -0
  676. package/dist/entries/video-pro.d.cts +60 -0
  677. package/dist/entries/video-pro.d.ts +60 -0
  678. package/dist/entries/video-pro.js +4 -0
  679. package/dist/entries/video-pro.js.map +1 -0
  680. package/dist/entries/voices.cjs +13 -0
  681. package/dist/entries/voices.cjs.map +1 -0
  682. package/dist/entries/voices.d.cts +498 -0
  683. package/dist/entries/voices.d.ts +498 -0
  684. package/dist/entries/voices.js +4 -0
  685. package/dist/entries/voices.js.map +1 -0
  686. package/dist/entries/webhooks.cjs +21 -0
  687. package/dist/entries/webhooks.cjs.map +1 -0
  688. package/dist/entries/webhooks.d.cts +64 -0
  689. package/dist/entries/webhooks.d.ts +64 -0
  690. package/dist/entries/webhooks.js +4 -0
  691. package/dist/entries/webhooks.js.map +1 -0
  692. package/dist/entries/workflows.cjs +13 -0
  693. package/dist/entries/workflows.cjs.map +1 -0
  694. package/dist/entries/workflows.d.cts +393 -0
  695. package/dist/entries/workflows.d.ts +393 -0
  696. package/dist/entries/workflows.js +4 -0
  697. package/dist/entries/workflows.js.map +1 -0
  698. package/dist/entries/workspaces.cjs +13 -0
  699. package/dist/entries/workspaces.cjs.map +1 -0
  700. package/dist/entries/workspaces.d.cts +124 -0
  701. package/dist/entries/workspaces.d.ts +124 -0
  702. package/dist/entries/workspaces.js +4 -0
  703. package/dist/entries/workspaces.js.map +1 -0
  704. package/dist/index.cjs +501 -5192
  705. package/dist/index.cjs.map +1 -1
  706. package/dist/index.d.cts +66 -10894
  707. package/dist/index.d.ts +66 -10894
  708. package/dist/index.js +100 -5074
  709. package/dist/index.js.map +1 -1
  710. package/dist/nodes-BPvrAoUs.d.cts +1264 -0
  711. package/dist/nodes-C2zu3uqn.d.ts +1264 -0
  712. package/dist/studio-productions-DUHvdSvk.d.cts +572 -0
  713. package/dist/studio-productions-vbCNSbtf.d.ts +572 -0
  714. package/dist/webhooks-BJawEIz8.d.ts +198 -0
  715. package/dist/webhooks-Dn_DtNTD.d.cts +198 -0
  716. package/package.json +253 -3
@@ -0,0 +1,294 @@
1
+ import { OAuthScope } from '@nodaro/shared/apps';
2
+ import { MeOrganizations } from '@nodaro/shared/organizations';
3
+
4
+ /**
5
+ * Auth provides the token used for `Authorization: Bearer <token>` on each request.
6
+ * Implementations:
7
+ * - StaticTokenAuth — fixed string (server-side, OAuth access token, API token)
8
+ * - CallbackAuth — caller-supplied async function (BYO logic)
9
+ * - supabaseAuth — pulls JWT from a Supabase client live (browser frontends)
10
+ */
11
+ interface Auth {
12
+ /** Returns the current Bearer token, or null if not authenticated. */
13
+ getToken(): Promise<string | null>;
14
+ }
15
+ declare class StaticTokenAuth implements Auth {
16
+ private token;
17
+ constructor(token: string);
18
+ getToken(): Promise<string>;
19
+ }
20
+ declare class CallbackAuth implements Auth {
21
+ private fn;
22
+ constructor(fn: () => string | null | Promise<string | null>);
23
+ getToken(): Promise<string | null>;
24
+ }
25
+ interface SupabaseLikeClient {
26
+ auth: {
27
+ getSession(): Promise<{
28
+ data: {
29
+ session: {
30
+ access_token: string;
31
+ } | null;
32
+ };
33
+ }>;
34
+ };
35
+ }
36
+ /** Pulls a JWT from a Supabase v2 client. Caller supplies their own supabase. */
37
+ declare function supabaseAuth(supabase: SupabaseLikeClient): Auth;
38
+
39
+ /**
40
+ * OAuth scopes that a developer app may request — the server's own list
41
+ * (`OAUTH_SCOPES` in `@nodaro/shared`), so it cannot fall behind.
42
+ */
43
+ type DeveloperAppScope = OAuthScope;
44
+ type DeveloperAppStatus = "active" | "suspended" | "pending_review";
45
+ /**
46
+ * How the app came to exist. `user` is an app someone registered by hand in
47
+ * the dashboard; the others register themselves (MCP clients via Dynamic
48
+ * Client Registration, first-party MCP, a connected community instance).
49
+ * Only `user` apps count toward the per-user registration cap.
50
+ */
51
+ type DeveloperAppKind = "user" | "dynamic_mcp" | "first_party_mcp" | "community_instance";
52
+ interface DeveloperApp {
53
+ id: string;
54
+ name: string;
55
+ description: string | null;
56
+ logoUrl: string | null;
57
+ homepageUrl: string | null;
58
+ redirectUris: string[];
59
+ allowedOrigins: string[];
60
+ scopesRequested: DeveloperAppScope[];
61
+ clientId: string;
62
+ status: DeveloperAppStatus;
63
+ /** Absent from servers older than this field; treat missing as `"user"`. */
64
+ kind?: DeveloperAppKind | (string & {});
65
+ createdAt: string;
66
+ updatedAt: string;
67
+ }
68
+ /**
69
+ * One-shot create response — `clientSecret` is returned exactly ONCE here.
70
+ * Store it securely; subsequent `get`/`list` calls will not include it.
71
+ */
72
+ interface CreateDeveloperAppResult extends DeveloperApp {
73
+ clientSecret: string;
74
+ }
75
+ interface CreateDeveloperAppInput {
76
+ name: string;
77
+ description?: string;
78
+ homepageUrl?: string;
79
+ logoUrl?: string;
80
+ /** At least 1, at most 10 redirect URIs. Each must be https or http://localhost. */
81
+ redirectUris: string[];
82
+ /** Up to 5 bare origins (no path/query/hash), e.g. "https://example.com". */
83
+ allowedOrigins?: string[];
84
+ /** At least 1 scope required. */
85
+ scopesRequested: DeveloperAppScope[];
86
+ }
87
+ interface UpdateDeveloperAppInput {
88
+ name?: string;
89
+ description?: string;
90
+ homepageUrl?: string;
91
+ logoUrl?: string;
92
+ redirectUris?: string[];
93
+ allowedOrigins?: string[];
94
+ scopesRequested?: DeveloperAppScope[];
95
+ }
96
+ interface RotateSecretResult {
97
+ /** New client secret. Returned exactly once — old secret is invalidated. */
98
+ clientSecret: string;
99
+ }
100
+ declare class DeveloperAppsResource {
101
+ private client;
102
+ constructor(client: NodaroClientCore);
103
+ /** List the authenticated user's developer apps. */
104
+ list(): Promise<{
105
+ data: DeveloperApp[];
106
+ }>;
107
+ /** Get a developer app by ID. */
108
+ get(id: string): Promise<{
109
+ data: DeveloperApp;
110
+ }>;
111
+ /**
112
+ * Create a new developer app. Returns the app PLUS a one-time `clientSecret`
113
+ * — store it now, the secret hash is the only copy kept server-side.
114
+ */
115
+ create(input: CreateDeveloperAppInput): Promise<{
116
+ data: CreateDeveloperAppResult;
117
+ }>;
118
+ /** Update a developer app's metadata, redirect URIs, origins, or requested scopes. */
119
+ update(id: string, input: UpdateDeveloperAppInput): Promise<{
120
+ data: DeveloperApp;
121
+ }>;
122
+ /** Delete a developer app. Returns `{ success: true }`. Throws
123
+ * `NotFoundError` when the id doesn't exist or isn't yours. */
124
+ delete(id: string): Promise<{
125
+ success: true;
126
+ }>;
127
+ /**
128
+ * Generate a new `clientSecret`. The previous secret is invalidated.
129
+ * Server returns ONLY the new secret, not the full app record.
130
+ */
131
+ rotateSecret(id: string): Promise<RotateSecretResult>;
132
+ }
133
+
134
+ interface ClientOptions {
135
+ /** Backend base URL, e.g. "https://nodaro.example.com" or empty string for same-origin. */
136
+ baseUrl: string;
137
+ /** Auth provider. Use StaticTokenAuth, supabaseAuth, or CallbackAuth. */
138
+ auth: Auth;
139
+ /** Optional fetch override (for tests or custom transports). */
140
+ fetch?: typeof fetch;
141
+ /** Default request timeout in ms. Default 60s. */
142
+ timeoutMs?: number;
143
+ /**
144
+ * Overrides the `X-Nodaro-Client` label. Defaults to `sdk/<version>`.
145
+ *
146
+ * Exists for `@nodaro/cli`, which is a wrapper AROUND this SDK: without an
147
+ * override every CLI invocation would be recorded as an SDK call and the two
148
+ * surfaces could never be told apart.
149
+ */
150
+ clientLabel?: string;
151
+ /**
152
+ * The workspace every request acts in — sent as `X-Nodaro-Workspace`.
153
+ *
154
+ * It selects which workspace a LIST reads from and where a CREATE lands.
155
+ * It never authorizes: reading, updating, deleting or running an
156
+ * identified object is decided by that object's own workspace, so a
157
+ * forgotten header cannot hide work and a forged one cannot reach anyone
158
+ * else's. Omit it to work in the caller's personal space.
159
+ *
160
+ * Prefer {@link NodaroClient.withWorkspace} for anything short-lived — one
161
+ * client per workspace, no shared mutable selection to get wrong.
162
+ */
163
+ workspaceId?: string;
164
+ }
165
+ interface RequestOptions {
166
+ body?: unknown;
167
+ query?: Record<string, string | number | boolean | undefined>;
168
+ headers?: Record<string, string>;
169
+ signal?: AbortSignal;
170
+ }
171
+ /**
172
+ * The authenticated user's canonical identity (`GET /v1/me`). A token-
173
+ * introspection primitive: any valid bearer token (first-party Supabase JWT or
174
+ * a developer-app OAuth token) resolves to its owner's identity. Mirrors the
175
+ * `profiles` identity columns server-side — the route is the source of truth.
176
+ */
177
+ interface UserIdentity {
178
+ /** Nodaro user id (= the Supabase auth user id). */
179
+ readonly id: string;
180
+ readonly email: string;
181
+ /** Human-readable display name (from `profiles.full_name`); `null` if unset. */
182
+ readonly displayName: string | null;
183
+ /** Avatar URL; `null` if unset. */
184
+ readonly avatarUrl: string | null;
185
+ /** Subscription tier (e.g. "free", "pro"). */
186
+ readonly tier: string;
187
+ /**
188
+ * Whether the user holds an admin role. DESCRIPTIVE only — use it to decide
189
+ * whether to render admin surfaces without capability-probing an admin
190
+ * endpoint; every admin API stays enforced server-side regardless.
191
+ */
192
+ readonly isAdmin: boolean;
193
+ }
194
+ /**
195
+ * An app the user let into their account through OAuth (`GET
196
+ * /v1/me/connected-apps`): a developer app, an AI assistant's MCP connector, or
197
+ * a self-hosted install. One entry per grant still in force.
198
+ */
199
+ interface ConnectedApp {
200
+ /** The grant's id — what {@link NodaroClient.revokeConnectedApp} takes. */
201
+ readonly authorizationId: string;
202
+ /** The app's name; `null` if it has none. A `dynamic_mcp` client chose its own. */
203
+ readonly name: string | null;
204
+ /**
205
+ * How the app came to exist: `user` (a developer app someone registered),
206
+ * `first_party_mcp`, `dynamic_mcp` (an MCP client that registered itself) or
207
+ * `community_instance` (a self-hosted install).
208
+ */
209
+ readonly kind: DeveloperAppKind | (string & {});
210
+ readonly homepageUrl: string | null;
211
+ /** The scopes this grant holds. */
212
+ readonly scopes: readonly DeveloperAppScope[];
213
+ /** When the user granted access (ISO 8601). */
214
+ readonly connectedAt: string;
215
+ /** The latest use of any token issued under the grant; `null` if never used. */
216
+ readonly lastUsedAt: string | null;
217
+ }
218
+ declare class NodaroClientCore {
219
+ readonly baseUrl: string;
220
+ readonly auth: Auth;
221
+ readonly timeoutMs: number;
222
+ /** Value sent as `X-Nodaro-Client`; recorded by the backend as job provenance. */
223
+ readonly clientLabel: string;
224
+ /** Whether to actually send it — see the note on {@link CLIENT_HEADER}. */
225
+ private readonly sendClientHeader;
226
+ private readonly fetchOverride;
227
+ /**
228
+ * Resolved lazily so consumers can swap `globalThis.fetch` after the
229
+ * client has been constructed (e.g. test mocks). Always rebound to the
230
+ * global object — native fetch throws "Illegal invocation" when its
231
+ * `this` is anything else.
232
+ */
233
+ get fetch(): typeof fetch;
234
+ /** The workspace this client acts in; undefined = the personal space. */
235
+ readonly workspaceId: string | undefined;
236
+ constructor(opts: ClientOptions);
237
+ /**
238
+ * The transport: build the request, send it, throw the typed error on a
239
+ * non-2xx via {@link throwFromResponse}, then read the body via `read` — all
240
+ * inside the abort timer, so `timeoutMs` bounds the body download too (a
241
+ * stalled CSV stream aborts, it does not hang forever). Both the JSON path
242
+ * ({@link request}) and the text path ({@link requestText}) go through here.
243
+ */
244
+ private send;
245
+ /** Authenticated, bounded binary reads through the normal timeout/error transport. */
246
+ requestBytes(method: string, path: string, options: RequestOptions & {
247
+ maxBytes: number;
248
+ }): Promise<ArrayBuffer>;
249
+ request<T>(method: string, path: string, options?: RequestOptions): Promise<T>;
250
+ /**
251
+ * Like {@link request}, for endpoints that answer text (CSV exports). Errors
252
+ * are still the JSON envelope and throw the same typed errors, and the read is
253
+ * bounded by the same timeout as the request.
254
+ */
255
+ requestText(method: string, path: string, options?: RequestOptions): Promise<string>;
256
+ /**
257
+ * `GET /v1/me` → the authenticated user's identity (see {@link UserIdentity}).
258
+ * Unwraps the `{ data }` envelope. Throws `UnauthorizedError` (401) when the
259
+ * token is missing/invalid, and the SDK's other typed errors as usual.
260
+ *
261
+ * On an instance with organizations it also carries what the caller belongs
262
+ * to. THREE states, and collapsing them is wrong in a way users feel: the
263
+ * organization fields ABSENT means this instance has no organizations at
264
+ * all; present and empty means the account belongs to none; and
265
+ * `organizationsUnavailable` means the lookup failed — keep whatever
266
+ * selection you already had rather than concluding the person was removed
267
+ * from everything.
268
+ */
269
+ me(): Promise<UserIdentity & MeOrganizations>;
270
+ /**
271
+ * `GET /v1/me/connected-apps` → every app with access to the signed-in
272
+ * user's account (see {@link ConnectedApp}), newest grant first.
273
+ *
274
+ * **A signed-in browser session only.** The route answers a Supabase
275
+ * session token (`supabaseAuth(…)`, `createSharedSupabaseClient`, or a
276
+ * `StaticTokenAuth` holding one) and refuses every other credential with
277
+ * `UnauthorizedError` ("Sign in required"): an app token or an API key must
278
+ * not list the grants it lives under. Build your "Connected apps" settings
279
+ * screen on this; a server-side integration cannot call it.
280
+ */
281
+ connectedApps(): Promise<ConnectedApp[]>;
282
+ /**
283
+ * `POST /v1/me/connected-apps/:authorizationId/revoke` — ends an app's
284
+ * access: the grant and every token issued under it, at once (the app's next
285
+ * call is a 401). Resolves when done.
286
+ *
287
+ * A signed-in browser session only, like {@link connectedApps}. Throws
288
+ * `NotFoundError` when the grant is not the user's or is already revoked.
289
+ */
290
+ revokeConnectedApp(authorizationId: string): Promise<void>;
291
+ private buildUrl;
292
+ }
293
+
294
+ export { type Auth as A, CallbackAuth as C, type DeveloperApp as D, NodaroClientCore as N, type RotateSecretResult as R, StaticTokenAuth as S, type UpdateDeveloperAppInput as U, type ClientOptions as a, type ConnectedApp as b, type CreateDeveloperAppInput as c, type CreateDeveloperAppResult as d, type DeveloperAppKind as e, type DeveloperAppScope as f, type DeveloperAppStatus as g, DeveloperAppsResource as h, type UserIdentity as i, supabaseAuth as s };
@@ -0,0 +1,294 @@
1
+ import { OAuthScope } from '@nodaro/shared/apps';
2
+ import { MeOrganizations } from '@nodaro/shared/organizations';
3
+
4
+ /**
5
+ * Auth provides the token used for `Authorization: Bearer <token>` on each request.
6
+ * Implementations:
7
+ * - StaticTokenAuth — fixed string (server-side, OAuth access token, API token)
8
+ * - CallbackAuth — caller-supplied async function (BYO logic)
9
+ * - supabaseAuth — pulls JWT from a Supabase client live (browser frontends)
10
+ */
11
+ interface Auth {
12
+ /** Returns the current Bearer token, or null if not authenticated. */
13
+ getToken(): Promise<string | null>;
14
+ }
15
+ declare class StaticTokenAuth implements Auth {
16
+ private token;
17
+ constructor(token: string);
18
+ getToken(): Promise<string>;
19
+ }
20
+ declare class CallbackAuth implements Auth {
21
+ private fn;
22
+ constructor(fn: () => string | null | Promise<string | null>);
23
+ getToken(): Promise<string | null>;
24
+ }
25
+ interface SupabaseLikeClient {
26
+ auth: {
27
+ getSession(): Promise<{
28
+ data: {
29
+ session: {
30
+ access_token: string;
31
+ } | null;
32
+ };
33
+ }>;
34
+ };
35
+ }
36
+ /** Pulls a JWT from a Supabase v2 client. Caller supplies their own supabase. */
37
+ declare function supabaseAuth(supabase: SupabaseLikeClient): Auth;
38
+
39
+ /**
40
+ * OAuth scopes that a developer app may request — the server's own list
41
+ * (`OAUTH_SCOPES` in `@nodaro/shared`), so it cannot fall behind.
42
+ */
43
+ type DeveloperAppScope = OAuthScope;
44
+ type DeveloperAppStatus = "active" | "suspended" | "pending_review";
45
+ /**
46
+ * How the app came to exist. `user` is an app someone registered by hand in
47
+ * the dashboard; the others register themselves (MCP clients via Dynamic
48
+ * Client Registration, first-party MCP, a connected community instance).
49
+ * Only `user` apps count toward the per-user registration cap.
50
+ */
51
+ type DeveloperAppKind = "user" | "dynamic_mcp" | "first_party_mcp" | "community_instance";
52
+ interface DeveloperApp {
53
+ id: string;
54
+ name: string;
55
+ description: string | null;
56
+ logoUrl: string | null;
57
+ homepageUrl: string | null;
58
+ redirectUris: string[];
59
+ allowedOrigins: string[];
60
+ scopesRequested: DeveloperAppScope[];
61
+ clientId: string;
62
+ status: DeveloperAppStatus;
63
+ /** Absent from servers older than this field; treat missing as `"user"`. */
64
+ kind?: DeveloperAppKind | (string & {});
65
+ createdAt: string;
66
+ updatedAt: string;
67
+ }
68
+ /**
69
+ * One-shot create response — `clientSecret` is returned exactly ONCE here.
70
+ * Store it securely; subsequent `get`/`list` calls will not include it.
71
+ */
72
+ interface CreateDeveloperAppResult extends DeveloperApp {
73
+ clientSecret: string;
74
+ }
75
+ interface CreateDeveloperAppInput {
76
+ name: string;
77
+ description?: string;
78
+ homepageUrl?: string;
79
+ logoUrl?: string;
80
+ /** At least 1, at most 10 redirect URIs. Each must be https or http://localhost. */
81
+ redirectUris: string[];
82
+ /** Up to 5 bare origins (no path/query/hash), e.g. "https://example.com". */
83
+ allowedOrigins?: string[];
84
+ /** At least 1 scope required. */
85
+ scopesRequested: DeveloperAppScope[];
86
+ }
87
+ interface UpdateDeveloperAppInput {
88
+ name?: string;
89
+ description?: string;
90
+ homepageUrl?: string;
91
+ logoUrl?: string;
92
+ redirectUris?: string[];
93
+ allowedOrigins?: string[];
94
+ scopesRequested?: DeveloperAppScope[];
95
+ }
96
+ interface RotateSecretResult {
97
+ /** New client secret. Returned exactly once — old secret is invalidated. */
98
+ clientSecret: string;
99
+ }
100
+ declare class DeveloperAppsResource {
101
+ private client;
102
+ constructor(client: NodaroClientCore);
103
+ /** List the authenticated user's developer apps. */
104
+ list(): Promise<{
105
+ data: DeveloperApp[];
106
+ }>;
107
+ /** Get a developer app by ID. */
108
+ get(id: string): Promise<{
109
+ data: DeveloperApp;
110
+ }>;
111
+ /**
112
+ * Create a new developer app. Returns the app PLUS a one-time `clientSecret`
113
+ * — store it now, the secret hash is the only copy kept server-side.
114
+ */
115
+ create(input: CreateDeveloperAppInput): Promise<{
116
+ data: CreateDeveloperAppResult;
117
+ }>;
118
+ /** Update a developer app's metadata, redirect URIs, origins, or requested scopes. */
119
+ update(id: string, input: UpdateDeveloperAppInput): Promise<{
120
+ data: DeveloperApp;
121
+ }>;
122
+ /** Delete a developer app. Returns `{ success: true }`. Throws
123
+ * `NotFoundError` when the id doesn't exist or isn't yours. */
124
+ delete(id: string): Promise<{
125
+ success: true;
126
+ }>;
127
+ /**
128
+ * Generate a new `clientSecret`. The previous secret is invalidated.
129
+ * Server returns ONLY the new secret, not the full app record.
130
+ */
131
+ rotateSecret(id: string): Promise<RotateSecretResult>;
132
+ }
133
+
134
+ interface ClientOptions {
135
+ /** Backend base URL, e.g. "https://nodaro.example.com" or empty string for same-origin. */
136
+ baseUrl: string;
137
+ /** Auth provider. Use StaticTokenAuth, supabaseAuth, or CallbackAuth. */
138
+ auth: Auth;
139
+ /** Optional fetch override (for tests or custom transports). */
140
+ fetch?: typeof fetch;
141
+ /** Default request timeout in ms. Default 60s. */
142
+ timeoutMs?: number;
143
+ /**
144
+ * Overrides the `X-Nodaro-Client` label. Defaults to `sdk/<version>`.
145
+ *
146
+ * Exists for `@nodaro/cli`, which is a wrapper AROUND this SDK: without an
147
+ * override every CLI invocation would be recorded as an SDK call and the two
148
+ * surfaces could never be told apart.
149
+ */
150
+ clientLabel?: string;
151
+ /**
152
+ * The workspace every request acts in — sent as `X-Nodaro-Workspace`.
153
+ *
154
+ * It selects which workspace a LIST reads from and where a CREATE lands.
155
+ * It never authorizes: reading, updating, deleting or running an
156
+ * identified object is decided by that object's own workspace, so a
157
+ * forgotten header cannot hide work and a forged one cannot reach anyone
158
+ * else's. Omit it to work in the caller's personal space.
159
+ *
160
+ * Prefer {@link NodaroClient.withWorkspace} for anything short-lived — one
161
+ * client per workspace, no shared mutable selection to get wrong.
162
+ */
163
+ workspaceId?: string;
164
+ }
165
+ interface RequestOptions {
166
+ body?: unknown;
167
+ query?: Record<string, string | number | boolean | undefined>;
168
+ headers?: Record<string, string>;
169
+ signal?: AbortSignal;
170
+ }
171
+ /**
172
+ * The authenticated user's canonical identity (`GET /v1/me`). A token-
173
+ * introspection primitive: any valid bearer token (first-party Supabase JWT or
174
+ * a developer-app OAuth token) resolves to its owner's identity. Mirrors the
175
+ * `profiles` identity columns server-side — the route is the source of truth.
176
+ */
177
+ interface UserIdentity {
178
+ /** Nodaro user id (= the Supabase auth user id). */
179
+ readonly id: string;
180
+ readonly email: string;
181
+ /** Human-readable display name (from `profiles.full_name`); `null` if unset. */
182
+ readonly displayName: string | null;
183
+ /** Avatar URL; `null` if unset. */
184
+ readonly avatarUrl: string | null;
185
+ /** Subscription tier (e.g. "free", "pro"). */
186
+ readonly tier: string;
187
+ /**
188
+ * Whether the user holds an admin role. DESCRIPTIVE only — use it to decide
189
+ * whether to render admin surfaces without capability-probing an admin
190
+ * endpoint; every admin API stays enforced server-side regardless.
191
+ */
192
+ readonly isAdmin: boolean;
193
+ }
194
+ /**
195
+ * An app the user let into their account through OAuth (`GET
196
+ * /v1/me/connected-apps`): a developer app, an AI assistant's MCP connector, or
197
+ * a self-hosted install. One entry per grant still in force.
198
+ */
199
+ interface ConnectedApp {
200
+ /** The grant's id — what {@link NodaroClient.revokeConnectedApp} takes. */
201
+ readonly authorizationId: string;
202
+ /** The app's name; `null` if it has none. A `dynamic_mcp` client chose its own. */
203
+ readonly name: string | null;
204
+ /**
205
+ * How the app came to exist: `user` (a developer app someone registered),
206
+ * `first_party_mcp`, `dynamic_mcp` (an MCP client that registered itself) or
207
+ * `community_instance` (a self-hosted install).
208
+ */
209
+ readonly kind: DeveloperAppKind | (string & {});
210
+ readonly homepageUrl: string | null;
211
+ /** The scopes this grant holds. */
212
+ readonly scopes: readonly DeveloperAppScope[];
213
+ /** When the user granted access (ISO 8601). */
214
+ readonly connectedAt: string;
215
+ /** The latest use of any token issued under the grant; `null` if never used. */
216
+ readonly lastUsedAt: string | null;
217
+ }
218
+ declare class NodaroClientCore {
219
+ readonly baseUrl: string;
220
+ readonly auth: Auth;
221
+ readonly timeoutMs: number;
222
+ /** Value sent as `X-Nodaro-Client`; recorded by the backend as job provenance. */
223
+ readonly clientLabel: string;
224
+ /** Whether to actually send it — see the note on {@link CLIENT_HEADER}. */
225
+ private readonly sendClientHeader;
226
+ private readonly fetchOverride;
227
+ /**
228
+ * Resolved lazily so consumers can swap `globalThis.fetch` after the
229
+ * client has been constructed (e.g. test mocks). Always rebound to the
230
+ * global object — native fetch throws "Illegal invocation" when its
231
+ * `this` is anything else.
232
+ */
233
+ get fetch(): typeof fetch;
234
+ /** The workspace this client acts in; undefined = the personal space. */
235
+ readonly workspaceId: string | undefined;
236
+ constructor(opts: ClientOptions);
237
+ /**
238
+ * The transport: build the request, send it, throw the typed error on a
239
+ * non-2xx via {@link throwFromResponse}, then read the body via `read` — all
240
+ * inside the abort timer, so `timeoutMs` bounds the body download too (a
241
+ * stalled CSV stream aborts, it does not hang forever). Both the JSON path
242
+ * ({@link request}) and the text path ({@link requestText}) go through here.
243
+ */
244
+ private send;
245
+ /** Authenticated, bounded binary reads through the normal timeout/error transport. */
246
+ requestBytes(method: string, path: string, options: RequestOptions & {
247
+ maxBytes: number;
248
+ }): Promise<ArrayBuffer>;
249
+ request<T>(method: string, path: string, options?: RequestOptions): Promise<T>;
250
+ /**
251
+ * Like {@link request}, for endpoints that answer text (CSV exports). Errors
252
+ * are still the JSON envelope and throw the same typed errors, and the read is
253
+ * bounded by the same timeout as the request.
254
+ */
255
+ requestText(method: string, path: string, options?: RequestOptions): Promise<string>;
256
+ /**
257
+ * `GET /v1/me` → the authenticated user's identity (see {@link UserIdentity}).
258
+ * Unwraps the `{ data }` envelope. Throws `UnauthorizedError` (401) when the
259
+ * token is missing/invalid, and the SDK's other typed errors as usual.
260
+ *
261
+ * On an instance with organizations it also carries what the caller belongs
262
+ * to. THREE states, and collapsing them is wrong in a way users feel: the
263
+ * organization fields ABSENT means this instance has no organizations at
264
+ * all; present and empty means the account belongs to none; and
265
+ * `organizationsUnavailable` means the lookup failed — keep whatever
266
+ * selection you already had rather than concluding the person was removed
267
+ * from everything.
268
+ */
269
+ me(): Promise<UserIdentity & MeOrganizations>;
270
+ /**
271
+ * `GET /v1/me/connected-apps` → every app with access to the signed-in
272
+ * user's account (see {@link ConnectedApp}), newest grant first.
273
+ *
274
+ * **A signed-in browser session only.** The route answers a Supabase
275
+ * session token (`supabaseAuth(…)`, `createSharedSupabaseClient`, or a
276
+ * `StaticTokenAuth` holding one) and refuses every other credential with
277
+ * `UnauthorizedError` ("Sign in required"): an app token or an API key must
278
+ * not list the grants it lives under. Build your "Connected apps" settings
279
+ * screen on this; a server-side integration cannot call it.
280
+ */
281
+ connectedApps(): Promise<ConnectedApp[]>;
282
+ /**
283
+ * `POST /v1/me/connected-apps/:authorizationId/revoke` — ends an app's
284
+ * access: the grant and every token issued under it, at once (the app's next
285
+ * call is a 401). Resolves when done.
286
+ *
287
+ * A signed-in browser session only, like {@link connectedApps}. Throws
288
+ * `NotFoundError` when the grant is not the user's or is already revoked.
289
+ */
290
+ revokeConnectedApp(authorizationId: string): Promise<void>;
291
+ private buildUrl;
292
+ }
293
+
294
+ export { type Auth as A, CallbackAuth as C, type DeveloperApp as D, NodaroClientCore as N, type RotateSecretResult as R, StaticTokenAuth as S, type UpdateDeveloperAppInput as U, type ClientOptions as a, type ConnectedApp as b, type CreateDeveloperAppInput as c, type CreateDeveloperAppResult as d, type DeveloperAppKind as e, type DeveloperAppScope as f, type DeveloperAppStatus as g, DeveloperAppsResource as h, type UserIdentity as i, supabaseAuth as s };
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ require('../chunk-NJVSKUL2.cjs');
4
+ var chunkDKEYSJCE_cjs = require('../chunk-DKEYSJCE.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "AppsResource", {
9
+ enumerable: true,
10
+ get: function () { return chunkDKEYSJCE_cjs.AppsResource; }
11
+ });
12
+ //# sourceMappingURL=apps.cjs.map
13
+ //# sourceMappingURL=apps.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"apps.cjs"}