@nodaro/sdk 2.29.0 → 2.32.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.
- package/README.md +31 -0
- package/dist/chunk-2DZWWIJ4.cjs +32 -0
- package/dist/chunk-2DZWWIJ4.cjs.map +1 -0
- package/dist/chunk-34PU2DAT.cjs +118 -0
- package/dist/chunk-34PU2DAT.cjs.map +1 -0
- package/dist/chunk-37Y5QAVA.js +3 -0
- package/dist/chunk-37Y5QAVA.js.map +1 -0
- package/dist/chunk-37YCKZX4.cjs +4 -0
- package/dist/chunk-37YCKZX4.cjs.map +1 -0
- package/dist/chunk-3B47IHB3.cjs +65 -0
- package/dist/chunk-3B47IHB3.cjs.map +1 -0
- package/dist/chunk-3BELHJBN.cjs +4 -0
- package/dist/chunk-3BELHJBN.cjs.map +1 -0
- package/dist/chunk-3PPSGM5X.js +3 -0
- package/dist/chunk-3PPSGM5X.js.map +1 -0
- package/dist/chunk-3QBH2VE2.cjs +80 -0
- package/dist/chunk-3QBH2VE2.cjs.map +1 -0
- package/dist/chunk-3QFTP5P5.js +102 -0
- package/dist/chunk-3QFTP5P5.js.map +1 -0
- package/dist/chunk-43FVH6LJ.cjs +123 -0
- package/dist/chunk-43FVH6LJ.cjs.map +1 -0
- package/dist/chunk-43NO4SGC.cjs +4 -0
- package/dist/chunk-43NO4SGC.cjs.map +1 -0
- package/dist/chunk-45CK55BH.cjs +4 -0
- package/dist/chunk-45CK55BH.cjs.map +1 -0
- package/dist/chunk-4CXB7RA6.js +104 -0
- package/dist/chunk-4CXB7RA6.js.map +1 -0
- package/dist/chunk-4NLVBYMW.js +280 -0
- package/dist/chunk-4NLVBYMW.js.map +1 -0
- package/dist/chunk-4WRDR4GN.js +102 -0
- package/dist/chunk-4WRDR4GN.js.map +1 -0
- package/dist/chunk-4WWSHV5G.cjs +4 -0
- package/dist/chunk-4WWSHV5G.cjs.map +1 -0
- package/dist/chunk-53SXNN3A.js +80 -0
- package/dist/chunk-53SXNN3A.js.map +1 -0
- package/dist/chunk-5ALNFATQ.cjs +27 -0
- package/dist/chunk-5ALNFATQ.cjs.map +1 -0
- package/dist/chunk-5UQNMNUE.cjs +4 -0
- package/dist/chunk-5UQNMNUE.cjs.map +1 -0
- package/dist/chunk-65E3JBFZ.js +52 -0
- package/dist/chunk-65E3JBFZ.js.map +1 -0
- package/dist/chunk-6ECW23GA.js +214 -0
- package/dist/chunk-6ECW23GA.js.map +1 -0
- package/dist/chunk-6JFNBAKV.js +3 -0
- package/dist/chunk-6JFNBAKV.js.map +1 -0
- package/dist/chunk-6OC6OKLY.cjs +4 -0
- package/dist/chunk-6OC6OKLY.cjs.map +1 -0
- package/dist/chunk-6OGGJQVA.js +25 -0
- package/dist/chunk-6OGGJQVA.js.map +1 -0
- package/dist/chunk-7A7HYFGM.js +3 -0
- package/dist/chunk-7A7HYFGM.js.map +1 -0
- package/dist/chunk-7CK6I4CT.cjs +16 -0
- package/dist/chunk-7CK6I4CT.cjs.map +1 -0
- package/dist/chunk-7LSFG2AF.js +194 -0
- package/dist/chunk-7LSFG2AF.js.map +1 -0
- package/dist/chunk-7MYKT2L4.cjs +4 -0
- package/dist/chunk-7MYKT2L4.cjs.map +1 -0
- package/dist/chunk-7QOCWJKD.cjs +25 -0
- package/dist/chunk-7QOCWJKD.cjs.map +1 -0
- package/dist/chunk-A2ZAFAWC.cjs +4 -0
- package/dist/chunk-A2ZAFAWC.cjs.map +1 -0
- package/dist/chunk-A3S55XGF.cjs +54 -0
- package/dist/chunk-A3S55XGF.cjs.map +1 -0
- package/dist/chunk-A3THLBFG.js +3 -0
- package/dist/chunk-A3THLBFG.js.map +1 -0
- package/dist/chunk-AJVSMNPZ.js +78 -0
- package/dist/chunk-AJVSMNPZ.js.map +1 -0
- package/dist/chunk-ALSLZG3U.js +124 -0
- package/dist/chunk-ALSLZG3U.js.map +1 -0
- package/dist/chunk-ALUUBPDG.cjs +4 -0
- package/dist/chunk-ALUUBPDG.cjs.map +1 -0
- package/dist/chunk-AO3W45LT.cjs +4 -0
- package/dist/chunk-AO3W45LT.cjs.map +1 -0
- package/dist/chunk-AUDHV3OE.js +3 -0
- package/dist/chunk-AUDHV3OE.js.map +1 -0
- package/dist/chunk-B7RG6AUQ.cjs +216 -0
- package/dist/chunk-B7RG6AUQ.cjs.map +1 -0
- package/dist/chunk-BAL576G2.cjs +4 -0
- package/dist/chunk-BAL576G2.cjs.map +1 -0
- package/dist/chunk-BKP6F2IX.js +3 -0
- package/dist/chunk-BKP6F2IX.js.map +1 -0
- package/dist/chunk-BLA44UCM.js +32 -0
- package/dist/chunk-BLA44UCM.js.map +1 -0
- package/dist/chunk-BPWUWUZ3.cjs +20 -0
- package/dist/chunk-BPWUWUZ3.cjs.map +1 -0
- package/dist/chunk-BRV7Z4GD.cjs +17 -0
- package/dist/chunk-BRV7Z4GD.cjs.map +1 -0
- package/dist/chunk-BU5A6K4C.js +122 -0
- package/dist/chunk-BU5A6K4C.js.map +1 -0
- package/dist/chunk-C22RJDW3.js +3 -0
- package/dist/chunk-C22RJDW3.js.map +1 -0
- package/dist/chunk-CGNVHN4V.js +3 -0
- package/dist/chunk-CGNVHN4V.js.map +1 -0
- package/dist/chunk-CJFIOVBA.js +3 -0
- package/dist/chunk-CJFIOVBA.js.map +1 -0
- package/dist/chunk-CJLLIVSB.cjs +4 -0
- package/dist/chunk-CJLLIVSB.cjs.map +1 -0
- package/dist/chunk-CK3AMMSC.js +194 -0
- package/dist/chunk-CK3AMMSC.js.map +1 -0
- package/dist/chunk-COCKKMNP.cjs +205 -0
- package/dist/chunk-COCKKMNP.cjs.map +1 -0
- package/dist/chunk-CR5E2SF3.cjs +212 -0
- package/dist/chunk-CR5E2SF3.cjs.map +1 -0
- package/dist/chunk-CRCPRZFN.js +3 -0
- package/dist/chunk-CRCPRZFN.js.map +1 -0
- package/dist/chunk-CYRFD6KR.cjs +4 -0
- package/dist/chunk-CYRFD6KR.cjs.map +1 -0
- package/dist/chunk-D3PW7AHZ.js +3 -0
- package/dist/chunk-D3PW7AHZ.js.map +1 -0
- package/dist/chunk-DKEYSJCE.cjs +82 -0
- package/dist/chunk-DKEYSJCE.cjs.map +1 -0
- package/dist/chunk-DPSMVOM3.js +15 -0
- package/dist/chunk-DPSMVOM3.js.map +1 -0
- package/dist/chunk-E2ZXHS6E.js +20 -0
- package/dist/chunk-E2ZXHS6E.js.map +1 -0
- package/dist/chunk-E37CVHWW.js +33 -0
- package/dist/chunk-E37CVHWW.js.map +1 -0
- package/dist/chunk-E5BM4BLO.js +78 -0
- package/dist/chunk-E5BM4BLO.js.map +1 -0
- package/dist/chunk-EHRWTYGR.cjs +4 -0
- package/dist/chunk-EHRWTYGR.cjs.map +1 -0
- package/dist/chunk-EJSGJDZY.js +212 -0
- package/dist/chunk-EJSGJDZY.js.map +1 -0
- package/dist/chunk-ELSOVJPF.js +3 -0
- package/dist/chunk-ELSOVJPF.js.map +1 -0
- package/dist/chunk-ERLXU47J.js +29 -0
- package/dist/chunk-ERLXU47J.js.map +1 -0
- package/dist/chunk-ES2E65HT.js +3 -0
- package/dist/chunk-ES2E65HT.js.map +1 -0
- package/dist/chunk-EXLAHZKF.js +3 -0
- package/dist/chunk-EXLAHZKF.js.map +1 -0
- package/dist/chunk-FB3S2FON.cjs +233 -0
- package/dist/chunk-FB3S2FON.cjs.map +1 -0
- package/dist/chunk-FHEYAW5H.js +3 -0
- package/dist/chunk-FHEYAW5H.js.map +1 -0
- package/dist/chunk-GA4LZZKQ.cjs +104 -0
- package/dist/chunk-GA4LZZKQ.cjs.map +1 -0
- package/dist/chunk-GAZJ2PA3.js +3 -0
- package/dist/chunk-GAZJ2PA3.js.map +1 -0
- package/dist/chunk-GB6C5OEZ.cjs +32 -0
- package/dist/chunk-GB6C5OEZ.cjs.map +1 -0
- package/dist/chunk-GB724HW2.cjs +106 -0
- package/dist/chunk-GB724HW2.cjs.map +1 -0
- package/dist/chunk-GD24ZRFD.js +3 -0
- package/dist/chunk-GD24ZRFD.js.map +1 -0
- package/dist/chunk-GI7LROLL.cjs +4 -0
- package/dist/chunk-GI7LROLL.cjs.map +1 -0
- package/dist/chunk-GRFLPEM2.cjs +16 -0
- package/dist/chunk-GRFLPEM2.cjs.map +1 -0
- package/dist/chunk-GVIFLUYZ.cjs +40 -0
- package/dist/chunk-GVIFLUYZ.cjs.map +1 -0
- package/dist/chunk-GWCOKNST.js +228 -0
- package/dist/chunk-GWCOKNST.js.map +1 -0
- package/dist/chunk-H7VQTG4M.js +35 -0
- package/dist/chunk-H7VQTG4M.js.map +1 -0
- package/dist/chunk-HAKYPZLB.cjs +242 -0
- package/dist/chunk-HAKYPZLB.cjs.map +1 -0
- package/dist/chunk-HFBR6G36.js +3 -0
- package/dist/chunk-HFBR6G36.js.map +1 -0
- package/dist/chunk-HGCVWOGK.cjs +209 -0
- package/dist/chunk-HGCVWOGK.cjs.map +1 -0
- package/dist/chunk-HLHR3R4P.js +3 -0
- package/dist/chunk-HLHR3R4P.js.map +1 -0
- package/dist/chunk-HRXXGGSJ.js +3 -0
- package/dist/chunk-HRXXGGSJ.js.map +1 -0
- package/dist/chunk-I3TYBAOX.js +3 -0
- package/dist/chunk-I3TYBAOX.js.map +1 -0
- package/dist/chunk-I4A5VJRL.js +352 -0
- package/dist/chunk-I4A5VJRL.js.map +1 -0
- package/dist/chunk-I6CXC345.js +102 -0
- package/dist/chunk-I6CXC345.js.map +1 -0
- package/dist/chunk-IGOPUMEX.cjs +4 -0
- package/dist/chunk-IGOPUMEX.cjs.map +1 -0
- package/dist/chunk-IHKIYVZQ.js +30 -0
- package/dist/chunk-IHKIYVZQ.js.map +1 -0
- package/dist/chunk-IMC2M5YM.cjs +12 -0
- package/dist/chunk-IMC2M5YM.cjs.map +1 -0
- package/dist/chunk-IQ6KWSXP.js +3 -0
- package/dist/chunk-IQ6KWSXP.js.map +1 -0
- package/dist/chunk-IS26FJO7.cjs +4 -0
- package/dist/chunk-IS26FJO7.cjs.map +1 -0
- package/dist/chunk-J4WFSKY6.js +50 -0
- package/dist/chunk-J4WFSKY6.js.map +1 -0
- package/dist/chunk-J5LGGCAS.cjs +126 -0
- package/dist/chunk-J5LGGCAS.cjs.map +1 -0
- package/dist/chunk-JDEZHITT.js +43 -0
- package/dist/chunk-JDEZHITT.js.map +1 -0
- package/dist/chunk-JGS6YBDW.js +260 -0
- package/dist/chunk-JGS6YBDW.js.map +1 -0
- package/dist/chunk-JMOKD6ZP.js +46 -0
- package/dist/chunk-JMOKD6ZP.js.map +1 -0
- package/dist/chunk-JOX5BJ6K.cjs +4 -0
- package/dist/chunk-JOX5BJ6K.cjs.map +1 -0
- package/dist/chunk-JTAW54UM.js +116 -0
- package/dist/chunk-JTAW54UM.js.map +1 -0
- package/dist/chunk-K4RQOSJH.js +203 -0
- package/dist/chunk-K4RQOSJH.js.map +1 -0
- package/dist/chunk-KAIE6WJB.cjs +4 -0
- package/dist/chunk-KAIE6WJB.cjs.map +1 -0
- package/dist/chunk-KEDPGWIK.cjs +4 -0
- package/dist/chunk-KEDPGWIK.cjs.map +1 -0
- package/dist/chunk-KG4R454Z.js +18 -0
- package/dist/chunk-KG4R454Z.js.map +1 -0
- package/dist/chunk-KGKCAGRD.cjs +22 -0
- package/dist/chunk-KGKCAGRD.cjs.map +1 -0
- package/dist/chunk-KNMW722T.cjs +48 -0
- package/dist/chunk-KNMW722T.cjs.map +1 -0
- package/dist/chunk-KTTL7BND.cjs +4 -0
- package/dist/chunk-KTTL7BND.cjs.map +1 -0
- package/dist/chunk-KXEWTYS4.cjs +80 -0
- package/dist/chunk-KXEWTYS4.cjs.map +1 -0
- package/dist/chunk-KZQKFBRN.js +3 -0
- package/dist/chunk-KZQKFBRN.js.map +1 -0
- package/dist/chunk-LAWYFC4G.cjs +37 -0
- package/dist/chunk-LAWYFC4G.cjs.map +1 -0
- package/dist/chunk-LHRQXWI5.js +3 -0
- package/dist/chunk-LHRQXWI5.js.map +1 -0
- package/dist/chunk-LKH5M44B.cjs +114 -0
- package/dist/chunk-LKH5M44B.cjs.map +1 -0
- package/dist/chunk-LLNNHLCE.cjs +4 -0
- package/dist/chunk-LLNNHLCE.cjs.map +1 -0
- package/dist/chunk-LWZLWSXD.cjs +4 -0
- package/dist/chunk-LWZLWSXD.cjs.map +1 -0
- package/dist/chunk-M6Y5TOYE.js +3 -0
- package/dist/chunk-M6Y5TOYE.js.map +1 -0
- package/dist/chunk-MBFUMWI5.cjs +31 -0
- package/dist/chunk-MBFUMWI5.cjs.map +1 -0
- package/dist/chunk-MEKI37WI.js +3 -0
- package/dist/chunk-MEKI37WI.js.map +1 -0
- package/dist/chunk-MQ74AKA2.cjs +200 -0
- package/dist/chunk-MQ74AKA2.cjs.map +1 -0
- package/dist/chunk-N6GLZOE4.cjs +282 -0
- package/dist/chunk-N6GLZOE4.cjs.map +1 -0
- package/dist/chunk-NBVARNVA.cjs +38 -0
- package/dist/chunk-NBVARNVA.cjs.map +1 -0
- package/dist/chunk-NCCBS6GU.js +42 -0
- package/dist/chunk-NCCBS6GU.js.map +1 -0
- package/dist/chunk-NGKODS3J.cjs +52 -0
- package/dist/chunk-NGKODS3J.cjs.map +1 -0
- package/dist/chunk-NJVSKUL2.cjs +4 -0
- package/dist/chunk-NJVSKUL2.cjs.map +1 -0
- package/dist/chunk-NLQQHJ25.cjs +104 -0
- package/dist/chunk-NLQQHJ25.cjs.map +1 -0
- package/dist/chunk-NNHWH7ER.js +181 -0
- package/dist/chunk-NNHWH7ER.js.map +1 -0
- package/dist/chunk-NX67YIF3.js +3 -0
- package/dist/chunk-NX67YIF3.js.map +1 -0
- package/dist/chunk-OA6FWYZF.cjs +4 -0
- package/dist/chunk-OA6FWYZF.cjs.map +1 -0
- package/dist/chunk-OJDBSKC2.js +3 -0
- package/dist/chunk-OJDBSKC2.js.map +1 -0
- package/dist/chunk-OLPA44QJ.js +3 -0
- package/dist/chunk-OLPA44QJ.js.map +1 -0
- package/dist/chunk-OMH7ATOQ.js +3 -0
- package/dist/chunk-OMH7ATOQ.js.map +1 -0
- package/dist/chunk-OPR4TULG.js +3 -0
- package/dist/chunk-OPR4TULG.js.map +1 -0
- package/dist/chunk-OSX2GVZ2.cjs +34 -0
- package/dist/chunk-OSX2GVZ2.cjs.map +1 -0
- package/dist/chunk-OXQKE5EG.cjs +282 -0
- package/dist/chunk-OXQKE5EG.cjs.map +1 -0
- package/dist/chunk-P6E4QDJN.js +30 -0
- package/dist/chunk-P6E4QDJN.js.map +1 -0
- package/dist/chunk-PEMLIAPZ.cjs +64 -0
- package/dist/chunk-PEMLIAPZ.cjs.map +1 -0
- package/dist/chunk-PGYQ754I.js +3 -0
- package/dist/chunk-PGYQ754I.js.map +1 -0
- package/dist/chunk-PHEA6FVQ.js +184 -0
- package/dist/chunk-PHEA6FVQ.js.map +1 -0
- package/dist/chunk-PMTM26LL.js +3 -0
- package/dist/chunk-PMTM26LL.js.map +1 -0
- package/dist/chunk-PY4OEKNX.cjs +4 -0
- package/dist/chunk-PY4OEKNX.cjs.map +1 -0
- package/dist/chunk-PZS2EXDR.cjs +4 -0
- package/dist/chunk-PZS2EXDR.cjs.map +1 -0
- package/dist/chunk-QRHJEITQ.cjs +4 -0
- package/dist/chunk-QRHJEITQ.cjs.map +1 -0
- package/dist/chunk-QUFU5RJ7.cjs +4 -0
- package/dist/chunk-QUFU5RJ7.cjs.map +1 -0
- package/dist/chunk-QVQCKOBM.js +3 -0
- package/dist/chunk-QVQCKOBM.js.map +1 -0
- package/dist/chunk-R63TTR35.cjs +200 -0
- package/dist/chunk-R63TTR35.cjs.map +1 -0
- package/dist/chunk-RA42NMWV.cjs +4 -0
- package/dist/chunk-RA42NMWV.cjs.map +1 -0
- package/dist/chunk-RAZN6C5R.cjs +12 -0
- package/dist/chunk-RAZN6C5R.cjs.map +1 -0
- package/dist/chunk-RHETJOUM.cjs +4 -0
- package/dist/chunk-RHETJOUM.cjs.map +1 -0
- package/dist/chunk-RJIJVVXS.js +3 -0
- package/dist/chunk-RJIJVVXS.js.map +1 -0
- package/dist/chunk-RKVRCNMB.js +3 -0
- package/dist/chunk-RKVRCNMB.js.map +1 -0
- package/dist/chunk-S7JQKNVT.cjs +187 -0
- package/dist/chunk-S7JQKNVT.cjs.map +1 -0
- package/dist/chunk-SBV5MWEL.cjs +53 -0
- package/dist/chunk-SBV5MWEL.cjs.map +1 -0
- package/dist/chunk-SFB4YLCS.js +121 -0
- package/dist/chunk-SFB4YLCS.js.map +1 -0
- package/dist/chunk-SLPD47SR.js +3 -0
- package/dist/chunk-SLPD47SR.js.map +1 -0
- package/dist/chunk-SS3B6PHT.cjs +35 -0
- package/dist/chunk-SS3B6PHT.cjs.map +1 -0
- package/dist/chunk-SUCHGNYT.js +3 -0
- package/dist/chunk-SUCHGNYT.js.map +1 -0
- package/dist/chunk-SYVNY3AH.cjs +44 -0
- package/dist/chunk-SYVNY3AH.cjs.map +1 -0
- package/dist/chunk-T3SYREY4.js +29 -0
- package/dist/chunk-T3SYREY4.js.map +1 -0
- package/dist/chunk-T7N7DFQJ.js +198 -0
- package/dist/chunk-T7N7DFQJ.js.map +1 -0
- package/dist/chunk-TRCENAIY.cjs +4 -0
- package/dist/chunk-TRCENAIY.cjs.map +1 -0
- package/dist/chunk-TVENC6PH.js +186 -0
- package/dist/chunk-TVENC6PH.js.map +1 -0
- package/dist/chunk-U4T3Z3K7.cjs +325 -0
- package/dist/chunk-U4T3Z3K7.cjs.map +1 -0
- package/dist/chunk-UIFFNTUX.js +3 -0
- package/dist/chunk-UIFFNTUX.js.map +1 -0
- package/dist/chunk-V4GPQ6Y2.js +3 -0
- package/dist/chunk-V4GPQ6Y2.js.map +1 -0
- package/dist/chunk-VGTRKXF2.js +93 -0
- package/dist/chunk-VGTRKXF2.js.map +1 -0
- package/dist/chunk-VGWOIWRQ.cjs +202 -0
- package/dist/chunk-VGWOIWRQ.cjs.map +1 -0
- package/dist/chunk-VLCNNA76.cjs +4 -0
- package/dist/chunk-VLCNNA76.cjs.map +1 -0
- package/dist/chunk-VPAUN75Q.js +3 -0
- package/dist/chunk-VPAUN75Q.js.map +1 -0
- package/dist/chunk-VT237QF2.js +3 -0
- package/dist/chunk-VT237QF2.js.map +1 -0
- package/dist/chunk-VV4TZG5S.js +321 -0
- package/dist/chunk-VV4TZG5S.js.map +1 -0
- package/dist/chunk-VYK6MBL4.cjs +4 -0
- package/dist/chunk-VYK6MBL4.cjs.map +1 -0
- package/dist/chunk-W33CKW6Q.cjs +4 -0
- package/dist/chunk-W33CKW6Q.cjs.map +1 -0
- package/dist/chunk-W5VHATSR.cjs +31 -0
- package/dist/chunk-W5VHATSR.cjs.map +1 -0
- package/dist/chunk-WEQWU2IC.js +34 -0
- package/dist/chunk-WEQWU2IC.js.map +1 -0
- package/dist/chunk-WK4VXPPZ.cjs +104 -0
- package/dist/chunk-WK4VXPPZ.cjs.map +1 -0
- package/dist/chunk-WSA4LMWR.cjs +96 -0
- package/dist/chunk-WSA4LMWR.cjs.map +1 -0
- package/dist/chunk-WUIEZ6Z4.cjs +360 -0
- package/dist/chunk-WUIEZ6Z4.cjs.map +1 -0
- package/dist/chunk-WUKIJJG2.cjs +45 -0
- package/dist/chunk-WUKIJJG2.cjs.map +1 -0
- package/dist/chunk-WVFAQBS7.js +29 -0
- package/dist/chunk-WVFAQBS7.js.map +1 -0
- package/dist/chunk-X7RDNMN7.js +3 -0
- package/dist/chunk-X7RDNMN7.js.map +1 -0
- package/dist/chunk-X7XP5WBP.cjs +4 -0
- package/dist/chunk-X7XP5WBP.cjs.map +1 -0
- package/dist/chunk-XWKNE6DH.cjs +4 -0
- package/dist/chunk-XWKNE6DH.cjs.map +1 -0
- package/dist/chunk-Y6V6CBY5.js +23 -0
- package/dist/chunk-Y6V6CBY5.js.map +1 -0
- package/dist/chunk-Y6VDCZPB.js +62 -0
- package/dist/chunk-Y6VDCZPB.js.map +1 -0
- package/dist/chunk-YDRXBRW2.cjs +184 -0
- package/dist/chunk-YDRXBRW2.cjs.map +1 -0
- package/dist/chunk-YFS2LMG4.cjs +124 -0
- package/dist/chunk-YFS2LMG4.cjs.map +1 -0
- package/dist/chunk-YN6CBIIB.js +63 -0
- package/dist/chunk-YN6CBIIB.js.map +1 -0
- package/dist/chunk-YOJ2XNQX.cjs +4 -0
- package/dist/chunk-YOJ2XNQX.cjs.map +1 -0
- package/dist/chunk-YOOZB4RL.js +3 -0
- package/dist/chunk-YOOZB4RL.js.map +1 -0
- package/dist/chunk-YVU2M7MI.js +34 -0
- package/dist/chunk-YVU2M7MI.js.map +1 -0
- package/dist/chunk-YXBZRB5H.cjs +4 -0
- package/dist/chunk-YXBZRB5H.cjs.map +1 -0
- package/dist/chunk-Z3ZKFI2M.js +43 -0
- package/dist/chunk-Z3ZKFI2M.js.map +1 -0
- package/dist/chunk-Z5GLY4R3.js +112 -0
- package/dist/chunk-Z5GLY4R3.js.map +1 -0
- package/dist/chunk-Z5OMWAQX.js +3 -0
- package/dist/chunk-Z5OMWAQX.js.map +1 -0
- package/dist/chunk-Z7LGWNI7.js +38 -0
- package/dist/chunk-Z7LGWNI7.js.map +1 -0
- package/dist/chunk-ZCWKX4V6.cjs +38 -0
- package/dist/chunk-ZCWKX4V6.cjs.map +1 -0
- package/dist/chunk-ZE5RISBZ.cjs +4 -0
- package/dist/chunk-ZE5RISBZ.cjs.map +1 -0
- package/dist/chunk-ZH4F2P2G.js +3 -0
- package/dist/chunk-ZH4F2P2G.js.map +1 -0
- package/dist/chunk-ZJGFLJ2Z.cjs +4 -0
- package/dist/chunk-ZJGFLJ2Z.cjs.map +1 -0
- package/dist/chunk-ZKBHD27K.cjs +4 -0
- package/dist/chunk-ZKBHD27K.cjs.map +1 -0
- package/dist/chunk-ZQPLRNKX.cjs +4 -0
- package/dist/chunk-ZQPLRNKX.cjs.map +1 -0
- package/dist/chunk-ZQQABQMH.cjs +31 -0
- package/dist/chunk-ZQQABQMH.cjs.map +1 -0
- package/dist/chunk-ZXJQSFIA.js +200 -0
- package/dist/chunk-ZXJQSFIA.js.map +1 -0
- package/dist/chunk-ZYPH2FPT.js +3 -0
- package/dist/chunk-ZYPH2FPT.js.map +1 -0
- package/dist/developer-apps-zSQXWmEG.d.cts +294 -0
- package/dist/developer-apps-zSQXWmEG.d.ts +294 -0
- package/dist/entries/apps.cjs +13 -0
- package/dist/entries/apps.cjs.map +1 -0
- package/dist/entries/apps.d.cts +300 -0
- package/dist/entries/apps.d.ts +300 -0
- package/dist/entries/apps.js +4 -0
- package/dist/entries/apps.js.map +1 -0
- package/dist/entries/audio.cjs +13 -0
- package/dist/entries/audio.cjs.map +1 -0
- package/dist/entries/audio.d.cts +200 -0
- package/dist/entries/audio.d.ts +200 -0
- package/dist/entries/audio.js +4 -0
- package/dist/entries/audio.js.map +1 -0
- package/dist/entries/billing.cjs +13 -0
- package/dist/entries/billing.cjs.map +1 -0
- package/dist/entries/billing.d.cts +208 -0
- package/dist/entries/billing.d.ts +208 -0
- package/dist/entries/billing.js +4 -0
- package/dist/entries/billing.js.map +1 -0
- package/dist/entries/catalogs.cjs +13 -0
- package/dist/entries/catalogs.cjs.map +1 -0
- package/dist/entries/catalogs.d.cts +82 -0
- package/dist/entries/catalogs.d.ts +82 -0
- package/dist/entries/catalogs.js +4 -0
- package/dist/entries/catalogs.js.map +1 -0
- package/dist/entries/characters.cjs +45 -0
- package/dist/entries/characters.cjs.map +1 -0
- package/dist/entries/characters.d.cts +741 -0
- package/dist/entries/characters.d.ts +741 -0
- package/dist/entries/characters.js +4 -0
- package/dist/entries/characters.js.map +1 -0
- package/dist/entries/client.cjs +78 -0
- package/dist/entries/client.cjs.map +1 -0
- package/dist/entries/client.d.cts +147 -0
- package/dist/entries/client.d.ts +147 -0
- package/dist/entries/client.js +53 -0
- package/dist/entries/client.js.map +1 -0
- package/dist/entries/collections.cjs +13 -0
- package/dist/entries/collections.cjs.map +1 -0
- package/dist/entries/collections.d.cts +77 -0
- package/dist/entries/collections.d.ts +77 -0
- package/dist/entries/collections.js +4 -0
- package/dist/entries/collections.js.map +1 -0
- package/dist/entries/community.cjs +13 -0
- package/dist/entries/community.cjs.map +1 -0
- package/dist/entries/community.d.cts +87 -0
- package/dist/entries/community.d.ts +87 -0
- package/dist/entries/community.js +4 -0
- package/dist/entries/community.js.map +1 -0
- package/dist/entries/competitors.cjs +13 -0
- package/dist/entries/competitors.cjs.map +1 -0
- package/dist/entries/competitors.d.cts +96 -0
- package/dist/entries/competitors.d.ts +96 -0
- package/dist/entries/competitors.js +4 -0
- package/dist/entries/competitors.js.map +1 -0
- package/dist/entries/copilot.cjs +15 -0
- package/dist/entries/copilot.cjs.map +1 -0
- package/dist/entries/copilot.d.cts +296 -0
- package/dist/entries/copilot.d.ts +296 -0
- package/dist/entries/copilot.js +6 -0
- package/dist/entries/copilot.js.map +1 -0
- package/dist/entries/core.cjs +26 -0
- package/dist/entries/core.cjs.map +1 -0
- package/dist/entries/core.d.cts +3 -0
- package/dist/entries/core.d.ts +3 -0
- package/dist/entries/core.js +5 -0
- package/dist/entries/core.js.map +1 -0
- package/dist/entries/creatures.cjs +29 -0
- package/dist/entries/creatures.cjs.map +1 -0
- package/dist/entries/creatures.d.cts +594 -0
- package/dist/entries/creatures.d.ts +594 -0
- package/dist/entries/creatures.js +4 -0
- package/dist/entries/creatures.js.map +1 -0
- package/dist/entries/credits.cjs +13 -0
- package/dist/entries/credits.cjs.map +1 -0
- package/dist/entries/credits.d.cts +237 -0
- package/dist/entries/credits.d.ts +237 -0
- package/dist/entries/credits.js +4 -0
- package/dist/entries/credits.js.map +1 -0
- package/dist/entries/developer-apps.cjs +13 -0
- package/dist/entries/developer-apps.cjs.map +1 -0
- package/dist/entries/developer-apps.d.cts +3 -0
- package/dist/entries/developer-apps.d.ts +3 -0
- package/dist/entries/developer-apps.js +4 -0
- package/dist/entries/developer-apps.js.map +1 -0
- package/dist/entries/edit.cjs +34 -0
- package/dist/entries/edit.cjs.map +1 -0
- package/dist/entries/edit.d.cts +705 -0
- package/dist/entries/edit.d.ts +705 -0
- package/dist/entries/edit.js +5 -0
- package/dist/entries/edit.js.map +1 -0
- package/dist/entries/errors.cjs +93 -0
- package/dist/entries/errors.cjs.map +1 -0
- package/dist/entries/errors.d.cts +338 -0
- package/dist/entries/errors.d.ts +338 -0
- package/dist/entries/errors.js +4 -0
- package/dist/entries/errors.js.map +1 -0
- package/dist/entries/executions.cjs +21 -0
- package/dist/entries/executions.cjs.map +1 -0
- package/dist/entries/executions.d.cts +120 -0
- package/dist/entries/executions.d.ts +120 -0
- package/dist/entries/executions.js +4 -0
- package/dist/entries/executions.js.map +1 -0
- package/dist/entries/gallery.cjs +13 -0
- package/dist/entries/gallery.cjs.map +1 -0
- package/dist/entries/gallery.d.cts +85 -0
- package/dist/entries/gallery.d.ts +85 -0
- package/dist/entries/gallery.js +4 -0
- package/dist/entries/gallery.js.map +1 -0
- package/dist/entries/jobs.cjs +13 -0
- package/dist/entries/jobs.cjs.map +1 -0
- package/dist/entries/jobs.d.cts +252 -0
- package/dist/entries/jobs.d.ts +252 -0
- package/dist/entries/jobs.js +4 -0
- package/dist/entries/jobs.js.map +1 -0
- package/dist/entries/library.cjs +13 -0
- package/dist/entries/library.cjs.map +1 -0
- package/dist/entries/library.d.cts +109 -0
- package/dist/entries/library.d.ts +109 -0
- package/dist/entries/library.js +4 -0
- package/dist/entries/library.js.map +1 -0
- package/dist/entries/llm.cjs +13 -0
- package/dist/entries/llm.cjs.map +1 -0
- package/dist/entries/llm.d.cts +98 -0
- package/dist/entries/llm.d.ts +98 -0
- package/dist/entries/llm.js +4 -0
- package/dist/entries/llm.js.map +1 -0
- package/dist/entries/locations.cjs +25 -0
- package/dist/entries/locations.cjs.map +1 -0
- package/dist/entries/locations.d.cts +573 -0
- package/dist/entries/locations.d.ts +573 -0
- package/dist/entries/locations.js +4 -0
- package/dist/entries/locations.js.map +1 -0
- package/dist/entries/media.cjs +15 -0
- package/dist/entries/media.cjs.map +1 -0
- package/dist/entries/media.d.cts +548 -0
- package/dist/entries/media.d.ts +548 -0
- package/dist/entries/media.js +6 -0
- package/dist/entries/media.js.map +1 -0
- package/dist/entries/models.cjs +13 -0
- package/dist/entries/models.cjs.map +1 -0
- package/dist/entries/models.d.cts +92 -0
- package/dist/entries/models.d.ts +92 -0
- package/dist/entries/models.js +4 -0
- package/dist/entries/models.js.map +1 -0
- package/dist/entries/moodboards.cjs +21 -0
- package/dist/entries/moodboards.cjs.map +1 -0
- package/dist/entries/moodboards.d.cts +77 -0
- package/dist/entries/moodboards.d.ts +77 -0
- package/dist/entries/moodboards.js +4 -0
- package/dist/entries/moodboards.js.map +1 -0
- package/dist/entries/node-presets.cjs +13 -0
- package/dist/entries/node-presets.cjs.map +1 -0
- package/dist/entries/node-presets.d.cts +217 -0
- package/dist/entries/node-presets.d.ts +217 -0
- package/dist/entries/node-presets.js +4 -0
- package/dist/entries/node-presets.js.map +1 -0
- package/dist/entries/nodes.cjs +22 -0
- package/dist/entries/nodes.cjs.map +1 -0
- package/dist/entries/nodes.d.cts +18 -0
- package/dist/entries/nodes.d.ts +18 -0
- package/dist/entries/nodes.js +5 -0
- package/dist/entries/nodes.js.map +1 -0
- package/dist/entries/oauth.cjs +13 -0
- package/dist/entries/oauth.cjs.map +1 -0
- package/dist/entries/oauth.d.cts +69 -0
- package/dist/entries/oauth.d.ts +69 -0
- package/dist/entries/oauth.js +4 -0
- package/dist/entries/oauth.js.map +1 -0
- package/dist/entries/objects.cjs +29 -0
- package/dist/entries/objects.cjs.map +1 -0
- package/dist/entries/objects.d.cts +544 -0
- package/dist/entries/objects.d.ts +544 -0
- package/dist/entries/objects.js +4 -0
- package/dist/entries/objects.js.map +1 -0
- package/dist/entries/organizations.cjs +21 -0
- package/dist/entries/organizations.cjs.map +1 -0
- package/dist/entries/organizations.d.cts +164 -0
- package/dist/entries/organizations.d.ts +164 -0
- package/dist/entries/organizations.js +4 -0
- package/dist/entries/organizations.js.map +1 -0
- package/dist/entries/palettes.cjs +21 -0
- package/dist/entries/palettes.cjs.map +1 -0
- package/dist/entries/palettes.d.cts +69 -0
- package/dist/entries/palettes.d.ts +69 -0
- package/dist/entries/palettes.js +4 -0
- package/dist/entries/palettes.js.map +1 -0
- package/dist/entries/picker-catalogs.cjs +13 -0
- package/dist/entries/picker-catalogs.cjs.map +1 -0
- package/dist/entries/picker-catalogs.d.cts +148 -0
- package/dist/entries/picker-catalogs.d.ts +148 -0
- package/dist/entries/picker-catalogs.js +4 -0
- package/dist/entries/picker-catalogs.js.map +1 -0
- package/dist/entries/pipelines.cjs +13 -0
- package/dist/entries/pipelines.cjs.map +1 -0
- package/dist/entries/pipelines.d.cts +255 -0
- package/dist/entries/pipelines.d.ts +255 -0
- package/dist/entries/pipelines.js +4 -0
- package/dist/entries/pipelines.js.map +1 -0
- package/dist/entries/projects.cjs +13 -0
- package/dist/entries/projects.cjs.map +1 -0
- package/dist/entries/projects.d.cts +49 -0
- package/dist/entries/projects.d.ts +49 -0
- package/dist/entries/projects.js +4 -0
- package/dist/entries/projects.js.map +1 -0
- package/dist/entries/prompt-helper.cjs +13 -0
- package/dist/entries/prompt-helper.cjs.map +1 -0
- package/dist/entries/prompt-helper.d.cts +73 -0
- package/dist/entries/prompt-helper.d.ts +73 -0
- package/dist/entries/prompt-helper.js +4 -0
- package/dist/entries/prompt-helper.js.map +1 -0
- package/dist/entries/recast.cjs +17 -0
- package/dist/entries/recast.cjs.map +1 -0
- package/dist/entries/recast.d.cts +229 -0
- package/dist/entries/recast.d.ts +229 -0
- package/dist/entries/recast.js +4 -0
- package/dist/entries/recast.js.map +1 -0
- package/dist/entries/reduce.cjs +13 -0
- package/dist/entries/reduce.cjs.map +1 -0
- package/dist/entries/reduce.d.cts +56 -0
- package/dist/entries/reduce.d.ts +56 -0
- package/dist/entries/reduce.js +4 -0
- package/dist/entries/reduce.js.map +1 -0
- package/dist/entries/saved-posts.cjs +13 -0
- package/dist/entries/saved-posts.cjs.map +1 -0
- package/dist/entries/saved-posts.d.cts +33 -0
- package/dist/entries/saved-posts.d.ts +33 -0
- package/dist/entries/saved-posts.js +4 -0
- package/dist/entries/saved-posts.js.map +1 -0
- package/dist/entries/scene3d.cjs +17 -0
- package/dist/entries/scene3d.cjs.map +1 -0
- package/dist/entries/scene3d.d.cts +131 -0
- package/dist/entries/scene3d.d.ts +131 -0
- package/dist/entries/scene3d.js +4 -0
- package/dist/entries/scene3d.js.map +1 -0
- package/dist/entries/sessions.cjs +13 -0
- package/dist/entries/sessions.cjs.map +1 -0
- package/dist/entries/sessions.d.cts +122 -0
- package/dist/entries/sessions.d.ts +122 -0
- package/dist/entries/sessions.js +4 -0
- package/dist/entries/sessions.js.map +1 -0
- package/dist/entries/shots.cjs +13 -0
- package/dist/entries/shots.cjs.map +1 -0
- package/dist/entries/shots.d.cts +78 -0
- package/dist/entries/shots.d.ts +78 -0
- package/dist/entries/shots.js +4 -0
- package/dist/entries/shots.js.map +1 -0
- package/dist/entries/studio.cjs +22 -0
- package/dist/entries/studio.cjs.map +1 -0
- package/dist/entries/studio.d.cts +281 -0
- package/dist/entries/studio.d.ts +281 -0
- package/dist/entries/studio.js +5 -0
- package/dist/entries/studio.js.map +1 -0
- package/dist/entries/templates.cjs +13 -0
- package/dist/entries/templates.cjs.map +1 -0
- package/dist/entries/templates.d.cts +110 -0
- package/dist/entries/templates.d.ts +110 -0
- package/dist/entries/templates.js +4 -0
- package/dist/entries/templates.js.map +1 -0
- package/dist/entries/tutorials.cjs +13 -0
- package/dist/entries/tutorials.cjs.map +1 -0
- package/dist/entries/tutorials.d.cts +63 -0
- package/dist/entries/tutorials.d.ts +63 -0
- package/dist/entries/tutorials.js +4 -0
- package/dist/entries/tutorials.js.map +1 -0
- package/dist/entries/uploads.cjs +13 -0
- package/dist/entries/uploads.cjs.map +1 -0
- package/dist/entries/uploads.d.cts +44 -0
- package/dist/entries/uploads.d.ts +44 -0
- package/dist/entries/uploads.js +4 -0
- package/dist/entries/uploads.js.map +1 -0
- package/dist/entries/video-pro.cjs +13 -0
- package/dist/entries/video-pro.cjs.map +1 -0
- package/dist/entries/video-pro.d.cts +60 -0
- package/dist/entries/video-pro.d.ts +60 -0
- package/dist/entries/video-pro.js +4 -0
- package/dist/entries/video-pro.js.map +1 -0
- package/dist/entries/voices.cjs +13 -0
- package/dist/entries/voices.cjs.map +1 -0
- package/dist/entries/voices.d.cts +498 -0
- package/dist/entries/voices.d.ts +498 -0
- package/dist/entries/voices.js +4 -0
- package/dist/entries/voices.js.map +1 -0
- package/dist/entries/webhooks.cjs +21 -0
- package/dist/entries/webhooks.cjs.map +1 -0
- package/dist/entries/webhooks.d.cts +64 -0
- package/dist/entries/webhooks.d.ts +64 -0
- package/dist/entries/webhooks.js +4 -0
- package/dist/entries/webhooks.js.map +1 -0
- package/dist/entries/workflows.cjs +13 -0
- package/dist/entries/workflows.cjs.map +1 -0
- package/dist/entries/workflows.d.cts +393 -0
- package/dist/entries/workflows.d.ts +393 -0
- package/dist/entries/workflows.js +4 -0
- package/dist/entries/workflows.js.map +1 -0
- package/dist/entries/workspaces.cjs +13 -0
- package/dist/entries/workspaces.cjs.map +1 -0
- package/dist/entries/workspaces.d.cts +124 -0
- package/dist/entries/workspaces.d.ts +124 -0
- package/dist/entries/workspaces.js +4 -0
- package/dist/entries/workspaces.js.map +1 -0
- package/dist/index.cjs +501 -5192
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +67 -10895
- package/dist/index.d.ts +67 -10895
- package/dist/index.js +100 -5074
- package/dist/index.js.map +1 -1
- package/dist/nodes-C-wrO6Sg.d.ts +1364 -0
- package/dist/nodes-J8ByUN8z.d.cts +1364 -0
- package/dist/studio-productions-DUHvdSvk.d.cts +572 -0
- package/dist/studio-productions-vbCNSbtf.d.ts +572 -0
- package/dist/webhooks-BJawEIz8.d.ts +198 -0
- package/dist/webhooks-Dn_DtNTD.d.cts +198 -0
- 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,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"}
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.cjs';
|
|
2
|
+
import '@nodaro/shared/apps';
|
|
3
|
+
import '@nodaro/shared/organizations';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A published app — a workflow wrapped in a curated input/output presentation.
|
|
7
|
+
* Returned by the public `/v1/apps/browse` endpoint.
|
|
8
|
+
*/
|
|
9
|
+
interface PublishedApp {
|
|
10
|
+
id: string;
|
|
11
|
+
slug: string;
|
|
12
|
+
name: string;
|
|
13
|
+
description?: string | null;
|
|
14
|
+
creatorId: string;
|
|
15
|
+
creatorName?: string | null;
|
|
16
|
+
thumbnailUrl?: string | null;
|
|
17
|
+
category?: string | null;
|
|
18
|
+
isFeatured?: boolean;
|
|
19
|
+
runCount?: number;
|
|
20
|
+
/** The listed price per run; when `perMinuteCredits` is above 0, its fixed part. */
|
|
21
|
+
estimatedCredits?: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* Credits per minute of the recording the app is given, when its price
|
|
24
|
+
* follows that recording's length: the price is `estimatedCredits` plus
|
|
25
|
+
* this per minute. 0 or absent when the price does not depend on a
|
|
26
|
+
* recording's length.
|
|
27
|
+
*/
|
|
28
|
+
perMinuteCredits?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Credits for each item beyond the creator's saved items of a list input
|
|
31
|
+
* the app's user fills: the price is the listed one plus this per further
|
|
32
|
+
* item. 0 or absent when the app has no such input.
|
|
33
|
+
*/
|
|
34
|
+
perItemCredits?: number;
|
|
35
|
+
/**
|
|
36
|
+
* The listed price is a range: `estimatedCredits` (with `perMinuteCredits` /
|
|
37
|
+
* `perItemCredits`) is "from" — the app's saved settings — and these are
|
|
38
|
+
* "up to": the most a run can cost over the choices the app's user has (every
|
|
39
|
+
* exposed field, at the creator's restricted values where set). Present only
|
|
40
|
+
* when they differ from "from"; absent on an app published before the range
|
|
41
|
+
* existed until its next publish.
|
|
42
|
+
*/
|
|
43
|
+
maxEstimatedCredits?: number;
|
|
44
|
+
maxPerMinuteCredits?: number;
|
|
45
|
+
maxPerItemCredits?: number;
|
|
46
|
+
createdAt: string;
|
|
47
|
+
updatedAt: string;
|
|
48
|
+
}
|
|
49
|
+
interface ListAppsParams {
|
|
50
|
+
/** Substring search across app name + description. */
|
|
51
|
+
search?: string;
|
|
52
|
+
/** Page size; backend caps at 50. */
|
|
53
|
+
limit?: number;
|
|
54
|
+
/** Cursor token returned by the previous page. */
|
|
55
|
+
cursor?: string;
|
|
56
|
+
/** Filter to a single category slug. */
|
|
57
|
+
category?: string;
|
|
58
|
+
}
|
|
59
|
+
interface ListAppsResult {
|
|
60
|
+
data: PublishedApp[];
|
|
61
|
+
nextCursor?: string | null;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* App detail — includes the input schema (required + optional fields end users
|
|
65
|
+
* fill in) and the output mapping (which workflow nodes produce which display
|
|
66
|
+
* cards).
|
|
67
|
+
*/
|
|
68
|
+
interface PublishedAppDetail extends PublishedApp {
|
|
69
|
+
inputSchema: Record<string, unknown>;
|
|
70
|
+
outputs: Array<{
|
|
71
|
+
nodeId: string;
|
|
72
|
+
label: string;
|
|
73
|
+
type: string;
|
|
74
|
+
}>;
|
|
75
|
+
/**
|
|
76
|
+
* The app run alone: the listed price less its Render final part (run and
|
|
77
|
+
* charged separately) — fixed, per minute of the recording and per further
|
|
78
|
+
* list item. Absent from a server that predates them; read the listed
|
|
79
|
+
* `estimatedCredits` / `perMinuteCredits` / `perItemCredits` instead.
|
|
80
|
+
*/
|
|
81
|
+
runEstimatedCredits?: number;
|
|
82
|
+
runPerMinuteCredits?: number;
|
|
83
|
+
runPerItemCredits?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Whether this server charges Edit Plan per started minute of the recording
|
|
86
|
+
* (otherwise in 15/30/60/90/120/180-minute steps). Absent from a server that
|
|
87
|
+
* predates it: read it as the steps.
|
|
88
|
+
*/
|
|
89
|
+
editPlanPerMinute?: boolean;
|
|
90
|
+
}
|
|
91
|
+
interface AppRunResult {
|
|
92
|
+
/** The execution-id that was started — poll via client.executions.get(). */
|
|
93
|
+
executionId: string;
|
|
94
|
+
status: "pending" | "running";
|
|
95
|
+
/** App-run id (distinct from executionId — used by listRuns/getRun). */
|
|
96
|
+
runId?: string;
|
|
97
|
+
}
|
|
98
|
+
interface AppRun {
|
|
99
|
+
id: string;
|
|
100
|
+
appSlug: string;
|
|
101
|
+
executionId: string;
|
|
102
|
+
status: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
103
|
+
inputs: Record<string, unknown>;
|
|
104
|
+
outputs?: Array<{
|
|
105
|
+
nodeId: string;
|
|
106
|
+
type: string;
|
|
107
|
+
url?: string;
|
|
108
|
+
text?: string;
|
|
109
|
+
}>;
|
|
110
|
+
startedAt: string;
|
|
111
|
+
finishedAt?: string | null;
|
|
112
|
+
}
|
|
113
|
+
interface ListAppRunsParams {
|
|
114
|
+
limit?: number;
|
|
115
|
+
cursor?: string;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Result of a soft-delete (archive) operation. The run is moved to the user's
|
|
119
|
+
* archive in the Nodaro UI; restoration and permanent deletion are UI-only by
|
|
120
|
+
* design — SDK / MCP / API delete callers can't accidentally destroy data.
|
|
121
|
+
*/
|
|
122
|
+
interface DeleteAppRunResult {
|
|
123
|
+
success: true;
|
|
124
|
+
archived: true;
|
|
125
|
+
}
|
|
126
|
+
/** Advanced per-run options for `apps.run`. */
|
|
127
|
+
interface RunAppOptions {
|
|
128
|
+
/**
|
|
129
|
+
* Raw node-data overrides keyed by node id → field → value, merged onto the
|
|
130
|
+
* app's workflow for THIS run only. Reaches fields that are NOT exposed as app
|
|
131
|
+
* inputs — e.g. `{ [nodeId]: { promptPrefix: "…", promptSuffix: "…" } }` to
|
|
132
|
+
* wrap the end user's prompt with text they never see.
|
|
133
|
+
*/
|
|
134
|
+
inputOverrides?: Record<string, Record<string, unknown>>;
|
|
135
|
+
}
|
|
136
|
+
/** Options for `apps.resume` — the Retry of a failed app run. */
|
|
137
|
+
interface ResumeAppRunOptions {
|
|
138
|
+
/** Answer what the Retry would run and charge, and start nothing. */
|
|
139
|
+
dryRun?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* The app version you expect the Retry to run — the one starting over would
|
|
142
|
+
* run. Absent: the app's latest. A run of another version is refused with
|
|
143
|
+
* `app_run_version_changed`; send the run's own version (the refusal's
|
|
144
|
+
* `runVersion`) to continue on it anyway.
|
|
145
|
+
*/
|
|
146
|
+
version?: number;
|
|
147
|
+
}
|
|
148
|
+
/** One step a Retry runs again. */
|
|
149
|
+
interface AppRunResumeStep {
|
|
150
|
+
nodeId: string;
|
|
151
|
+
type: string;
|
|
152
|
+
/** The node's label, or `null` when it has none. */
|
|
153
|
+
label: string | null;
|
|
154
|
+
}
|
|
155
|
+
/** What a Retry would do (`apps.resume(…, { dryRun: true })`); nothing is started. */
|
|
156
|
+
interface AppRunResumePlan {
|
|
157
|
+
runId: string;
|
|
158
|
+
/** The failed execution the Retry continues. */
|
|
159
|
+
continuesExecutionId: string;
|
|
160
|
+
/** The app version the Retry runs (the run's own). */
|
|
161
|
+
appVersion: number | null;
|
|
162
|
+
/** Every node the Retry runs, in graph order. */
|
|
163
|
+
nodeIds: string[];
|
|
164
|
+
/** The steps that run again. */
|
|
165
|
+
steps: AppRunResumeStep[];
|
|
166
|
+
/** What the Retry is expected to charge, the creator's fee included; `null` without credits. */
|
|
167
|
+
estimatedCredits: number | null;
|
|
168
|
+
/** Clips handed back at no cost. */
|
|
169
|
+
reusedClips: number;
|
|
170
|
+
/** Whether your balance and your app credits cover what the Retry holds while it runs; `null` without credits. */
|
|
171
|
+
sufficient: boolean | null;
|
|
172
|
+
/** Your spendable balance; `null` without credits. */
|
|
173
|
+
available: number | null;
|
|
174
|
+
/** Your app credits, present only when they are what stops the Retry (it would be refused `insufficient_app_credits`). */
|
|
175
|
+
appCreditsAllowance?: number;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* A Retry that started. `deduped: true` when a concurrent double press reached
|
|
179
|
+
* the same Retry; a second call made while the first is pending is refused
|
|
180
|
+
* with `already_running` (`AlreadyRunningError`) instead.
|
|
181
|
+
*/
|
|
182
|
+
interface AppRunResumeResult {
|
|
183
|
+
/** The Retry's execution — the run now points at it. Poll via client.executions.get(). */
|
|
184
|
+
executionId: string;
|
|
185
|
+
runId: string;
|
|
186
|
+
status: "pending";
|
|
187
|
+
/** Every node the Retry runs. */
|
|
188
|
+
nodeIds: string[];
|
|
189
|
+
/** `true` when a concurrent press had already started this Retry. */
|
|
190
|
+
deduped?: true;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* The `code` the server gives an `apps.resume` refusal. Nothing is written or
|
|
194
|
+
* billed when a Retry is refused. How each arrives:
|
|
195
|
+
* - `app_run_version_changed` as `AppRunVersionChangedError`;
|
|
196
|
+
* - `already_running` as `AlreadyRunningError` (with the live `executionId`);
|
|
197
|
+
* - `not_found` and `continuation_not_found` as `NotFoundError`, whose `code`
|
|
198
|
+
* is always `not_found` (the server's message is kept);
|
|
199
|
+
* - `insufficient_credits` and `insufficient_app_credits` as
|
|
200
|
+
* `InsufficientCreditsError`, whose `code` is always `insufficient_credits`
|
|
201
|
+
* (the server's message says which);
|
|
202
|
+
* - the rest as `NodaroError` carrying this code.
|
|
203
|
+
*/
|
|
204
|
+
type AppRunResumeRefusalCode =
|
|
205
|
+
/** No such run of yours under this app. */
|
|
206
|
+
"not_found"
|
|
207
|
+
/** The run's execution is not yours. */
|
|
208
|
+
| "continuation_not_found"
|
|
209
|
+
/** A malformed run id or body, or a component's run (continued by the run that called it). */
|
|
210
|
+
| "validation_error"
|
|
211
|
+
/** The app version the run ran is gone: start the run over. */
|
|
212
|
+
| "app_run_version_unavailable"
|
|
213
|
+
/** The app is on another version than the run ran: start over, or send `version` = the run's. */
|
|
214
|
+
| "app_run_version_changed"
|
|
215
|
+
/** The run's execution ran another workflow, or another version of it (rare). */
|
|
216
|
+
| "continuation_workflow_mismatch" | "continuation_version_mismatch"
|
|
217
|
+
/** The run did not fail (it completed or was stopped): start it over. */
|
|
218
|
+
| "continuation_not_failed"
|
|
219
|
+
/** The run is still running, a Retry of it is pending, or it was started again elsewhere. */
|
|
220
|
+
| "already_running"
|
|
221
|
+
/** Nothing is left to retry: every step completed (409), or the app runs no step (400). */
|
|
222
|
+
| "continuation_subset_required"
|
|
223
|
+
/** An input the run applied sets a field the app does not let a runner set. */
|
|
224
|
+
| "locked_field"
|
|
225
|
+
/**
|
|
226
|
+
* The Retry would stop at a Preview with nobody to review it: retry it from the app page.
|
|
227
|
+
* (The same refusal arrives under the other preview refusal codes when a review-on use-case
|
|
228
|
+
* node holds the run; `isPreviewRefusalCode` in `@nodaro/shared/nodes` asks for all of them.)
|
|
229
|
+
*/
|
|
230
|
+
| "preview_review_required"
|
|
231
|
+
/** Your app credits cannot cover it. */
|
|
232
|
+
| "insufficient_app_credits"
|
|
233
|
+
/** Your balance cannot cover it. */
|
|
234
|
+
| "insufficient_credits"
|
|
235
|
+
/** Billing is briefly unavailable for a workspace run (503): try again shortly. */
|
|
236
|
+
| "billing_unavailable";
|
|
237
|
+
declare class AppsResource {
|
|
238
|
+
private client;
|
|
239
|
+
constructor(client: NodaroClientCore);
|
|
240
|
+
/** List published apps. Public — no auth required for community apps. */
|
|
241
|
+
list(params?: ListAppsParams): Promise<ListAppsResult>;
|
|
242
|
+
/** Get one app's metadata + input schema by slug. */
|
|
243
|
+
get(slug: string): Promise<{
|
|
244
|
+
data: PublishedAppDetail;
|
|
245
|
+
}>;
|
|
246
|
+
/**
|
|
247
|
+
* Trigger an app run with the given input values. The keys in `inputs` must
|
|
248
|
+
* match the app's input-schema field names (see `get(slug).inputSchema`).
|
|
249
|
+
* `opts.inputOverrides` adds raw per-node overrides (see {@link RunAppOptions}).
|
|
250
|
+
* Returns the execution-id for status polling via client.executions.get().
|
|
251
|
+
*/
|
|
252
|
+
run(slug: string, inputs?: Record<string, unknown>, opts?: RunAppOptions): Promise<AppRunResult>;
|
|
253
|
+
/** List past runs for an app (the caller must own the app or the runs). */
|
|
254
|
+
listRuns(slug: string, params?: ListAppRunsParams): Promise<{
|
|
255
|
+
data: AppRun[];
|
|
256
|
+
nextCursor?: string | null;
|
|
257
|
+
}>;
|
|
258
|
+
/** Get one app-run by id. */
|
|
259
|
+
getRun(slug: string, runId: string): Promise<{
|
|
260
|
+
data: AppRun;
|
|
261
|
+
}>;
|
|
262
|
+
/**
|
|
263
|
+
* Retry a FAILED app run from where it stopped: only the steps it did not
|
|
264
|
+
* complete run, and only those are charged; every step it completed hands
|
|
265
|
+
* on its result. It runs the version the run ran, with the inputs the run
|
|
266
|
+
* applied (it takes none of its own). The run's execution moves to the
|
|
267
|
+
* Retry's.
|
|
268
|
+
*
|
|
269
|
+
* `{ dryRun: true }` answers what the Retry would run and charge
|
|
270
|
+
* ({@link AppRunResumePlan}) and starts nothing — show it before a Retry.
|
|
271
|
+
* Refusals are listed in {@link AppRunResumeRefusalCode}; to run with other
|
|
272
|
+
* inputs or on the app's current version, start over with
|
|
273
|
+
* `run(slug, inputs)` instead.
|
|
274
|
+
*
|
|
275
|
+
* @param slug The published app's slug.
|
|
276
|
+
* @param runId The run's UUID (`AppRunResult.runId`, `AppRun.id`).
|
|
277
|
+
*/
|
|
278
|
+
resume(slug: string, runId: string, opts: ResumeAppRunOptions & {
|
|
279
|
+
dryRun: true;
|
|
280
|
+
}): Promise<{
|
|
281
|
+
data: AppRunResumePlan;
|
|
282
|
+
}>;
|
|
283
|
+
resume(slug: string, runId: string, opts?: ResumeAppRunOptions & {
|
|
284
|
+
dryRun?: false;
|
|
285
|
+
}): Promise<AppRunResumeResult>;
|
|
286
|
+
resume(slug: string, runId: string, opts?: ResumeAppRunOptions): Promise<{
|
|
287
|
+
data: AppRunResumePlan;
|
|
288
|
+
} | AppRunResumeResult>;
|
|
289
|
+
/**
|
|
290
|
+
* Archive (soft-delete) a published-app run. The run is hidden from the
|
|
291
|
+
* default run list and can be restored or permanently deleted from the
|
|
292
|
+
* archive view at https://app.nodaro.ai/archived-runs.
|
|
293
|
+
*
|
|
294
|
+
* @param slug The published app's slug (the last path segment of its URL).
|
|
295
|
+
* @param runId The run's UUID.
|
|
296
|
+
*/
|
|
297
|
+
deleteRun(slug: string, runId: string): Promise<DeleteAppRunResult>;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export { type AppRun, type AppRunResult, type AppRunResumePlan, type AppRunResumeRefusalCode, type AppRunResumeResult, type AppRunResumeStep, AppsResource, type DeleteAppRunResult, type ListAppRunsParams, type ListAppsParams, type ListAppsResult, type PublishedApp, type PublishedAppDetail, type ResumeAppRunOptions, type RunAppOptions };
|