@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,338 @@
|
|
|
1
|
+
import { x as StudioOpsResponse } from '../studio-productions-vbCNSbtf.js';
|
|
2
|
+
import '../developer-apps-zSQXWmEG.js';
|
|
3
|
+
import '@nodaro/shared/apps';
|
|
4
|
+
import '@nodaro/shared/organizations';
|
|
5
|
+
|
|
6
|
+
declare class NodaroError extends Error {
|
|
7
|
+
readonly code: string;
|
|
8
|
+
readonly status: number;
|
|
9
|
+
constructor(message: string, code: string, status: number);
|
|
10
|
+
}
|
|
11
|
+
declare class UnauthorizedError extends NodaroError {
|
|
12
|
+
constructor(message?: string);
|
|
13
|
+
}
|
|
14
|
+
declare class ForbiddenError extends NodaroError {
|
|
15
|
+
readonly missingScope?: string | undefined;
|
|
16
|
+
constructor(message?: string, missingScope?: string | undefined);
|
|
17
|
+
}
|
|
18
|
+
declare class NotFoundError extends NodaroError {
|
|
19
|
+
constructor(message?: string);
|
|
20
|
+
}
|
|
21
|
+
declare class RateLimitedError extends NodaroError {
|
|
22
|
+
constructor(message?: string);
|
|
23
|
+
}
|
|
24
|
+
declare class InsufficientCreditsError extends NodaroError {
|
|
25
|
+
readonly required?: number | undefined;
|
|
26
|
+
readonly available?: number | undefined;
|
|
27
|
+
constructor(message?: string, required?: number | undefined, available?: number | undefined);
|
|
28
|
+
}
|
|
29
|
+
declare class StorageExceededError extends NodaroError {
|
|
30
|
+
readonly limitBytes?: number | undefined;
|
|
31
|
+
constructor(message?: string, limitBytes?: number | undefined);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Optimistic-concurrency rejection (HTTP 409 `workflow_conflict`): the workflow
|
|
35
|
+
* was written by another tab/device after the state carried in
|
|
36
|
+
* `expectedUpdatedAt`/`expectedVersion` was read. `currentRecord` — when the
|
|
37
|
+
* server includes it — is the full current workflow: merge your changes onto it
|
|
38
|
+
* and retry with its fresh `updatedAt`, no follow-up GET needed.
|
|
39
|
+
*/
|
|
40
|
+
declare class WorkflowConflictError extends NodaroError {
|
|
41
|
+
readonly currentUpdatedAt?: string | undefined;
|
|
42
|
+
readonly currentVersion?: number | undefined;
|
|
43
|
+
readonly currentRecord?: Record<string, unknown> | undefined;
|
|
44
|
+
constructor(message?: string, currentUpdatedAt?: string | undefined, currentVersion?: number | undefined, currentRecord?: Record<string, unknown> | undefined,
|
|
45
|
+
/**
|
|
46
|
+
* The wire code this conflict actually arrived with.
|
|
47
|
+
*
|
|
48
|
+
* `production_busy` is the studio production routes' own 409: the row
|
|
49
|
+
* changed under a read-modify-write and the server exhausted its retries.
|
|
50
|
+
* It is the same situation and the same remedy — re-read and apply again —
|
|
51
|
+
* so it is the same ERROR, and a caller catching `WorkflowConflictError`
|
|
52
|
+
* handles both. The code stays truthful because a caller that logs or
|
|
53
|
+
* branches on it should see what the server said, not what the class is
|
|
54
|
+
* usually called.
|
|
55
|
+
*/
|
|
56
|
+
code?: WorkflowConflictCode);
|
|
57
|
+
}
|
|
58
|
+
/** The 409 codes that mean "somebody else wrote first; re-read and retry". */
|
|
59
|
+
type WorkflowConflictCode = "workflow_conflict" | "production_busy";
|
|
60
|
+
/**
|
|
61
|
+
* A studio operation batch was refused, and the error names WHICH operation
|
|
62
|
+
* (`opIndex`, zero-based) was wrong. Nothing in the batch was written: a batch
|
|
63
|
+
* applies atomically or not at all, so fix that one operation and send the
|
|
64
|
+
* whole batch again.
|
|
65
|
+
*
|
|
66
|
+
* Selected by SHAPE — any 4xx carrying a numeric `opIndex` — not by a list of
|
|
67
|
+
* codes, so a new refusal reason (`op_invalid`, `op_target_missing`, whatever
|
|
68
|
+
* the server adds next) reaches the caller as this error without an SDK
|
|
69
|
+
* release. `code` is whatever the server sent.
|
|
70
|
+
*/
|
|
71
|
+
declare class StudioOpError extends NodaroError {
|
|
72
|
+
/** Zero-based index into the `ops` array that was sent. */
|
|
73
|
+
readonly opIndex: number;
|
|
74
|
+
constructor(message: string, code: string, status: number,
|
|
75
|
+
/** Zero-based index into the `ops` array that was sent. */
|
|
76
|
+
opIndex: number);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* A 409 that names the job to turn to instead: continuing a use-case run
|
|
80
|
+
* (`client.edit.continueUseCase`) answers `already_running` (a continuation is
|
|
81
|
+
* under way, or one that already completed — follow `jobId`),
|
|
82
|
+
* `continuation_superseded` (a later continuation failed too — continue
|
|
83
|
+
* `jobId` instead) or `render_final_already_rendered` (a Render final with this
|
|
84
|
+
* very edit already completed — `jobId` holds the result). `code` and `status`
|
|
85
|
+
* are what the server sent. Selected for exactly those three codes when the
|
|
86
|
+
* answer carries a top-level `jobId`; every other 409 stays a plain
|
|
87
|
+
* `NodaroError`.
|
|
88
|
+
*/
|
|
89
|
+
declare class ContinuationRefusedError extends NodaroError {
|
|
90
|
+
/** The job the refusal names. */
|
|
91
|
+
readonly jobId: string;
|
|
92
|
+
constructor(message: string, code: string,
|
|
93
|
+
/** The job the refusal names. */
|
|
94
|
+
jobId: string);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The one run that finishes a continuation held at a Preview review (the
|
|
98
|
+
* `next` of {@link ContinuationPreviewPendingError}): pass these three fields
|
|
99
|
+
* to `client.workflows.run`. It continues that execution, runs each held render
|
|
100
|
+
* at Final and each held Tighten Episode continuing the run that made its
|
|
101
|
+
* Preview, then every node after them.
|
|
102
|
+
*/
|
|
103
|
+
interface HeldFinalRun {
|
|
104
|
+
continueFromExecutionId: string;
|
|
105
|
+
/** The nodes it runs, in canvas order. */
|
|
106
|
+
nodeIds: string[];
|
|
107
|
+
/** For this run only: each held render at Final, each held use-case node's `useCaseContinue`. */
|
|
108
|
+
inputOverrides: Record<string, Record<string, unknown>>;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* HTTP 409 `continuation_preview_pending`: a continue-from-failed
|
|
112
|
+
* (`client.workflows.run` with `continueMode: "from-failed"`) whose run's
|
|
113
|
+
* newest later continuation completed by stopping at a Preview review, so
|
|
114
|
+
* continuing again would stop there too. `executionId` is that continuation;
|
|
115
|
+
* `renderNodeIds` the Apply EDL renders and `reviewNodeIds` the Tighten Episode
|
|
116
|
+
* nodes holding it; `next` the run that finishes them — send it first
|
|
117
|
+
* (`client.workflows.run(workflowId, error.next)`), then continue. Absent only
|
|
118
|
+
* when the server could not name it. For a single held render, `next` is that
|
|
119
|
+
* render's `client.workflows.renderFinal`.
|
|
120
|
+
*/
|
|
121
|
+
declare class ContinuationPreviewPendingError extends NodaroError {
|
|
122
|
+
readonly executionId: string;
|
|
123
|
+
readonly renderNodeIds: readonly string[];
|
|
124
|
+
readonly reviewNodeIds: readonly string[];
|
|
125
|
+
readonly next?: HeldFinalRun | undefined;
|
|
126
|
+
constructor(message: string, executionId: string, renderNodeIds: readonly string[], reviewNodeIds: readonly string[], next?: HeldFinalRun | undefined);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* HTTP 409 `already_running` that names the execution under way (a top-level
|
|
130
|
+
* `executionId`): the run you asked to start or continue is still running —
|
|
131
|
+
* follow `executionId` (`client.executions.get`) instead of starting it again.
|
|
132
|
+
* Sent by the workflow run route and by an app run's Retry
|
|
133
|
+
* (`client.apps.resume`). An `already_running` that names a job instead stays
|
|
134
|
+
* {@link ContinuationRefusedError}; one that names nothing, a plain
|
|
135
|
+
* `NodaroError`.
|
|
136
|
+
*/
|
|
137
|
+
declare class AlreadyRunningError extends NodaroError {
|
|
138
|
+
/** The execution under way. */
|
|
139
|
+
readonly executionId: string;
|
|
140
|
+
constructor(message: string,
|
|
141
|
+
/** The execution under way. */
|
|
142
|
+
executionId: string);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* HTTP 409 `app_run_version_changed`: a Retry of a failed app run
|
|
146
|
+
* (`client.apps.resume`) refused because the app is on another version than
|
|
147
|
+
* the one the run ran — continuing would mix them. `runVersion` is the run's
|
|
148
|
+
* version, `appVersion` the one you are on (the `version` you sent, else the
|
|
149
|
+
* app's latest). Start the run over (`client.apps.run`) to run `appVersion`,
|
|
150
|
+
* or send `{ version: runVersion }` to continue on the run's own version.
|
|
151
|
+
* Nothing was written or billed. Selected by code; the two numbers are
|
|
152
|
+
* `undefined` when the answer does not carry them.
|
|
153
|
+
*/
|
|
154
|
+
declare class AppRunVersionChangedError extends NodaroError {
|
|
155
|
+
readonly runVersion?: number | undefined;
|
|
156
|
+
readonly appVersion?: number | undefined;
|
|
157
|
+
constructor(message: string, runVersion?: number | undefined, appVersion?: number | undefined);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* HTTP 422 `job_blocked`. A job policy registered by this deployment refused
|
|
161
|
+
* the generation **before it ran** — no job was created, nothing was reserved
|
|
162
|
+
* and nothing was charged. `message` is the policy's user-safe text: show it
|
|
163
|
+
* as-is. Do not retry the identical request; whether the same input would be
|
|
164
|
+
* judged differently is the deployment's policy's business.
|
|
165
|
+
*
|
|
166
|
+
* Only occurs on deployments that register a job policy. Selected by `code`,
|
|
167
|
+
* not by status, the same way `workflow_conflict` narrows a 409 above — any
|
|
168
|
+
* other 422 stays a plain `NodaroError`.
|
|
169
|
+
*/
|
|
170
|
+
declare class JobBlockedError extends NodaroError {
|
|
171
|
+
constructor(message?: string);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* A job reached a terminal `failed`/`cancelled` status while being awaited by
|
|
175
|
+
* `nodes.runAndWait` / `nodes.runMany`. Not an HTTP-level error (the polls
|
|
176
|
+
* themselves succeeded), so `status` is 0 — distinguish it by type/`code`.
|
|
177
|
+
* Carries the job's own `error_message` (as the message) and `jobId`.
|
|
178
|
+
*/
|
|
179
|
+
declare class JobFailedError extends NodaroError {
|
|
180
|
+
readonly jobId: string;
|
|
181
|
+
/** The terminal status that triggered the failure (`failed` | `cancelled`). */
|
|
182
|
+
readonly jobStatus: "failed" | "cancelled";
|
|
183
|
+
constructor(message: string, jobId: string,
|
|
184
|
+
/** The terminal status that triggered the failure (`failed` | `cancelled`). */
|
|
185
|
+
jobStatus?: "failed" | "cancelled");
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* `nodes.runAndWait` polled past its `maxMs` deadline without the job reaching
|
|
189
|
+
* a terminal status. Not an HTTP error — `status` is 0; catch by type/`code`.
|
|
190
|
+
*/
|
|
191
|
+
declare class JobTimeoutError extends NodaroError {
|
|
192
|
+
readonly jobId: string;
|
|
193
|
+
/** The wall-clock deadline (ms) that was exceeded. */
|
|
194
|
+
readonly timeoutMs: number;
|
|
195
|
+
constructor(message: string, jobId: string,
|
|
196
|
+
/** The wall-clock deadline (ms) that was exceeded. */
|
|
197
|
+
timeoutMs: number);
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* The caller's `AbortSignal` fired while `nodes.runAndWait` was polling (or it
|
|
201
|
+
* was already aborted on entry). Polling stops and this rejects. Not an HTTP
|
|
202
|
+
* error — `status` is 0; catch by type/`code`.
|
|
203
|
+
*/
|
|
204
|
+
declare class JobAbortedError extends NodaroError {
|
|
205
|
+
readonly jobId?: string | undefined;
|
|
206
|
+
constructor(message?: string, jobId?: string | undefined);
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* A batch preview was asked for and this deployment cannot give one, so
|
|
210
|
+
* NOTHING was sent: the batch is still unapplied and the production untouched.
|
|
211
|
+
*
|
|
212
|
+
* A preview is two requests because the route's body is parsed in strip mode —
|
|
213
|
+
* a deployment that predates the preview silently DROPS the flag and APPLIES
|
|
214
|
+
* the batch. So the SDK asks with an EMPTY batch first and sends the real one
|
|
215
|
+
* only when that answer carries the `dryRun` marker. This is what it throws
|
|
216
|
+
* when the answer does not: whatever the older deployment made of an empty
|
|
217
|
+
* batch, the caller's batch never left.
|
|
218
|
+
*
|
|
219
|
+
* The remedy is a deployment that serves the preview — there is nothing to
|
|
220
|
+
* retry here. To apply the batch instead, send it without the flag.
|
|
221
|
+
*
|
|
222
|
+
* A deployment that REFUSES the empty batch outright throws its own error
|
|
223
|
+
* instead of this one, which is the right way round: the route's message says
|
|
224
|
+
* more than "unavailable" does.
|
|
225
|
+
*
|
|
226
|
+
* Not an HTTP error: the request itself succeeded and answered the older shape.
|
|
227
|
+
* `status` is 0; catch by type/`code`.
|
|
228
|
+
*/
|
|
229
|
+
declare class StudioPreviewUnavailable extends NodaroError {
|
|
230
|
+
constructor(message?: string);
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* A batch preview was asked for and the batch was APPLIED instead. The
|
|
234
|
+
* production is written; this is the opposite of {@link
|
|
235
|
+
* StudioPreviewUnavailable}, where nothing was sent.
|
|
236
|
+
*
|
|
237
|
+
* How it happens: the preview's proving ping and the batch are two requests,
|
|
238
|
+
* and a fleet mid-rollout can serve them from different deployments. The ping
|
|
239
|
+
* answers the marker, the batch reaches a deployment that predates the preview,
|
|
240
|
+
* parses in strip mode, drops the flag and writes. The SDK cannot recall that
|
|
241
|
+
* request — by the time the answer comes back the change has landed — so it
|
|
242
|
+
* refuses to call the result a preview, which is the only thing still in its
|
|
243
|
+
* gift. `receipts` and `warnings` are on both shapes, so an unchecked reply
|
|
244
|
+
* would have shown a person what ALREADY happened under the heading of what
|
|
245
|
+
* would.
|
|
246
|
+
*
|
|
247
|
+
* `applied` is what the route answered: the ordinary apply reply, whose
|
|
248
|
+
* `production` and `version` are now the truth. Adopt them the way a plain
|
|
249
|
+
* apply's caller does — do NOT re-send the batch, and do not present it for
|
|
250
|
+
* approval.
|
|
251
|
+
*
|
|
252
|
+
* Not an HTTP error: the request succeeded, at the wrong thing. `status` is 0.
|
|
253
|
+
*/
|
|
254
|
+
declare class StudioPreviewAppliedError extends NodaroError {
|
|
255
|
+
/**
|
|
256
|
+
* The apply reply the route sent back, as it sent it. An answer this
|
|
257
|
+
* package does not recognise arrives here unchanged rather than being
|
|
258
|
+
* dressed up: it is what the deployment said about a batch it took.
|
|
259
|
+
*
|
|
260
|
+
* `undefined` when the answer carried no body at all — a 204, an empty
|
|
261
|
+
* envelope. The refusal still fires, because a non-preview answer is never
|
|
262
|
+
* handed back as a preview, but there is nothing to report and the SDK will
|
|
263
|
+
* not invent it: whether the batch was applied is unknown from here, and
|
|
264
|
+
* the caller settles it by re-reading the production.
|
|
265
|
+
*/
|
|
266
|
+
readonly applied: StudioOpsResponse | undefined;
|
|
267
|
+
constructor(
|
|
268
|
+
/**
|
|
269
|
+
* The apply reply the route sent back, as it sent it. An answer this
|
|
270
|
+
* package does not recognise arrives here unchanged rather than being
|
|
271
|
+
* dressed up: it is what the deployment said about a batch it took.
|
|
272
|
+
*
|
|
273
|
+
* `undefined` when the answer carried no body at all — a 204, an empty
|
|
274
|
+
* envelope. The refusal still fires, because a non-preview answer is never
|
|
275
|
+
* handed back as a preview, but there is nothing to report and the SDK will
|
|
276
|
+
* not invent it: whether the batch was applied is unknown from here, and
|
|
277
|
+
* the caller settles it by re-reading the production.
|
|
278
|
+
*/
|
|
279
|
+
applied: StudioOpsResponse | undefined, message?: string);
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* The awaited job entered `pending_review`: a job policy registered by this
|
|
283
|
+
* deployment held its output for a human reviewer. `pending_review` is
|
|
284
|
+
* IN-FLIGHT, not terminal, so `nodes.runAndWait` / `nodes.runMany` end the
|
|
285
|
+
* poll on the first tick they observe it rather than burning `maxMs` on a
|
|
286
|
+
* status that no longer moves on its own.
|
|
287
|
+
*
|
|
288
|
+
* This does NOT cancel the job — the output exists, a human is reviewing it,
|
|
289
|
+
* and the credit reservation stays `reserved` for the whole hold. Do not
|
|
290
|
+
* re-run the request (a duplicate would be held too): re-fetch with
|
|
291
|
+
* `jobs.get(jobId)` later, or surface "awaiting review" to your user and poll
|
|
292
|
+
* `jobs.getStatus()` yourself. It resolves to `completed` (approved), `failed`
|
|
293
|
+
* (rejected, with `error_hint.kind === "policy-block"`) or `cancelled`.
|
|
294
|
+
*
|
|
295
|
+
* Not an HTTP error — `status` is 0; catch by type/`code`.
|
|
296
|
+
*/
|
|
297
|
+
declare class JobHeldError extends NodaroError {
|
|
298
|
+
readonly jobId: string;
|
|
299
|
+
constructor(message: string, jobId: string);
|
|
300
|
+
}
|
|
301
|
+
/** The `{ error: { code, message, … } }` envelope every current route sends. */
|
|
302
|
+
interface ApiErrorEnvelope {
|
|
303
|
+
code?: string;
|
|
304
|
+
message?: string;
|
|
305
|
+
missingScope?: string;
|
|
306
|
+
required?: number;
|
|
307
|
+
available?: number;
|
|
308
|
+
limitBytes?: number;
|
|
309
|
+
opIndex?: number;
|
|
310
|
+
[key: string]: unknown;
|
|
311
|
+
}
|
|
312
|
+
interface ApiErrorBody {
|
|
313
|
+
/** The envelope — or, on an older route, a bare string (see {@link readErrorBody}). */
|
|
314
|
+
error?: ApiErrorEnvelope | string;
|
|
315
|
+
/** A top-level message: an older route's, a bare validation answer's, or the server framework's own. */
|
|
316
|
+
message?: unknown;
|
|
317
|
+
/** OAuth's human text (RFC 6749 §5.2), beside a bare-string `error`. */
|
|
318
|
+
error_description?: unknown;
|
|
319
|
+
/** A bare validation answer's per-field issues (`{ message, issues }`). */
|
|
320
|
+
issues?: unknown;
|
|
321
|
+
/** A refusal that names another job (see {@link ContinuationRefusedError}). */
|
|
322
|
+
jobId?: unknown;
|
|
323
|
+
/** `continuation_preview_pending`: the held continuation, what holds it, and the run that finishes it. */
|
|
324
|
+
executionId?: unknown;
|
|
325
|
+
renderNodeIds?: unknown;
|
|
326
|
+
reviewNodeIds?: unknown;
|
|
327
|
+
next?: unknown;
|
|
328
|
+
/** The credit guard's 402 sends its figures beside the envelope: what the run needs… */
|
|
329
|
+
required?: unknown;
|
|
330
|
+
/** …and what the caller has (withheld on a deployment-paid instance). */
|
|
331
|
+
balance?: unknown;
|
|
332
|
+
/** `app_run_version_changed`: the version the run ran, and the one the caller is on. */
|
|
333
|
+
runVersion?: unknown;
|
|
334
|
+
appVersion?: unknown;
|
|
335
|
+
}
|
|
336
|
+
declare function throwFromResponse(status: number, body: ApiErrorBody): never;
|
|
337
|
+
|
|
338
|
+
export { AlreadyRunningError, AppRunVersionChangedError, ContinuationPreviewPendingError, ContinuationRefusedError, ForbiddenError, type HeldFinalRun, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, type WorkflowConflictCode, WorkflowConflictError, throwFromResponse };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import '../chunk-CJFIOVBA.js';
|
|
2
|
+
export { AlreadyRunningError, AppRunVersionChangedError, ContinuationPreviewPendingError, ContinuationRefusedError, ForbiddenError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from '../chunk-JGS6YBDW.js';
|
|
3
|
+
//# sourceMappingURL=errors.js.map
|
|
4
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"errors.js"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('../chunk-YOJ2XNQX.cjs');
|
|
4
|
+
var chunkSBV5MWEL_cjs = require('../chunk-SBV5MWEL.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "ExecutionsResource", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkSBV5MWEL_cjs.ExecutionsResource; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "OUTPUT_BEARING_NODE_STATUSES", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkSBV5MWEL_cjs.OUTPUT_BEARING_NODE_STATUSES; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "nodeStateMayCarryOutput", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkSBV5MWEL_cjs.nodeStateMayCarryOutput; }
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=executions.cjs.map
|
|
21
|
+
//# sourceMappingURL=executions.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"executions.cjs"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.cjs';
|
|
2
|
+
import { ExecutionOutcome, NodeExecutionStateWire } from '@nodaro/shared/workflow';
|
|
3
|
+
export { ExecutionOutcome, NodeExecutionStatus, NodeSkipReason, OUTPUT_BEARING_NODE_STATUSES, nodeStateMayCarryOutput } from '@nodaro/shared/workflow';
|
|
4
|
+
import '@nodaro/shared/apps';
|
|
5
|
+
import '@nodaro/shared/organizations';
|
|
6
|
+
|
|
7
|
+
type ExecutionStatus = "pending" | "running" | "completed" | "failed" | "cancelled" | "stopping" | "timed_out" | "discarded";
|
|
8
|
+
type ExecutionTriggerType = "manual" | "webhook" | "schedule" | "app_run" | "single-node" | "telegram" | "telegram_account" | "api" | "mcp";
|
|
9
|
+
/**
|
|
10
|
+
* Per-node state inside an execution's `nodeStates` map. Keys are node IDs.
|
|
11
|
+
*
|
|
12
|
+
* Extends the published wire contract in `@nodaro/shared`, which is what the
|
|
13
|
+
* orchestrator writes and the editor reads — so a field added there reaches
|
|
14
|
+
* SDK consumers as a typed field rather than through the index signature. The
|
|
15
|
+
* synthetic single-node-job shape from `routes/workflow-execution.ts` fits the
|
|
16
|
+
* same contract.
|
|
17
|
+
*/
|
|
18
|
+
interface NodeExecutionState extends NodeExecutionStateWire {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Workflow execution record. Returned by `get()` and `cancel()` (the cancel
|
|
24
|
+
* endpoint returns `{ success: true }`, not the execution itself).
|
|
25
|
+
*/
|
|
26
|
+
interface WorkflowExecution {
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* `"execution"` for an orchestrator run; `"job"` for a single-node job the
|
|
30
|
+
* list shows beside the runs (its `triggerType` is the lane that started it,
|
|
31
|
+
* `"mcp"` for an MCP client's one-node job). Absent on an older server.
|
|
32
|
+
*/
|
|
33
|
+
kind?: "execution" | "job";
|
|
34
|
+
workflowId: string | null;
|
|
35
|
+
userId: string;
|
|
36
|
+
status: ExecutionStatus;
|
|
37
|
+
/**
|
|
38
|
+
* How a `completed` run ended: `"nothing_new"` when at least one node was
|
|
39
|
+
* skipped for want of input (its `nodeStates` entry carries
|
|
40
|
+
* `skipReason: "empty_input"` — a feed that found no new posts, a writer with
|
|
41
|
+
* nothing to write), `"succeeded"` otherwise. Absent until the run completes
|
|
42
|
+
* and on an older server. Derived by `executionOutcome()` (exported).
|
|
43
|
+
*/
|
|
44
|
+
outcome?: ExecutionOutcome;
|
|
45
|
+
triggerType: ExecutionTriggerType;
|
|
46
|
+
triggerData?: unknown;
|
|
47
|
+
nodeStates: Record<string, NodeExecutionState>;
|
|
48
|
+
/**
|
|
49
|
+
* What a continue-from-failed of this run (`continueMode: "from-failed"`)
|
|
50
|
+
* sent no `nodeIds` considers, besides every node the run left failed or
|
|
51
|
+
* held back: the nodes the first run of its chain was started on (`nodeIds`
|
|
52
|
+
* on `/run` — Run selected, an API subset, a Render final). `null`: every
|
|
53
|
+
* node — a run of every node, one started before the nodes were recorded,
|
|
54
|
+
* or one a trigger started. Absent on an older server (= every node).
|
|
55
|
+
*/
|
|
56
|
+
nodeScope?: string[] | null;
|
|
57
|
+
totalNodes: number;
|
|
58
|
+
completedNodes: number;
|
|
59
|
+
failedNodes: number;
|
|
60
|
+
totalCreditsUsed: number;
|
|
61
|
+
errorMessage: string | null;
|
|
62
|
+
startedAt: string | null;
|
|
63
|
+
completedAt: string | null;
|
|
64
|
+
createdAt: string;
|
|
65
|
+
updatedAt: string;
|
|
66
|
+
}
|
|
67
|
+
/** Summary returned by `listForWorkflow()`. Excludes per-row `triggerData`/`updatedAt`. */
|
|
68
|
+
interface WorkflowExecutionSummary {
|
|
69
|
+
id: string;
|
|
70
|
+
/** See {@link WorkflowExecution.kind}. */
|
|
71
|
+
kind?: "execution" | "job";
|
|
72
|
+
status: ExecutionStatus;
|
|
73
|
+
/** See {@link WorkflowExecution.outcome}. */
|
|
74
|
+
outcome?: ExecutionOutcome;
|
|
75
|
+
triggerType: ExecutionTriggerType;
|
|
76
|
+
nodeStates: Record<string, NodeExecutionState>;
|
|
77
|
+
totalNodes: number;
|
|
78
|
+
completedNodes: number;
|
|
79
|
+
failedNodes: number;
|
|
80
|
+
totalCreditsUsed: number;
|
|
81
|
+
errorMessage: string | null;
|
|
82
|
+
startedAt: string | null;
|
|
83
|
+
completedAt: string | null;
|
|
84
|
+
createdAt: string;
|
|
85
|
+
}
|
|
86
|
+
interface ListExecutionsForWorkflowParams {
|
|
87
|
+
limit?: number;
|
|
88
|
+
cursor?: string;
|
|
89
|
+
/** Comma-separated list of statuses, e.g. "pending,running". */
|
|
90
|
+
status?: string;
|
|
91
|
+
/** "editor" excludes app_run / component / webhook / schedule executions. */
|
|
92
|
+
source?: "editor" | "all";
|
|
93
|
+
}
|
|
94
|
+
interface ListExecutionsPage<T> {
|
|
95
|
+
data: T[];
|
|
96
|
+
nextCursor?: string;
|
|
97
|
+
}
|
|
98
|
+
interface CancelExecutionParams {
|
|
99
|
+
/**
|
|
100
|
+
* "after_current" sets the execution to "stopping" (let in-flight nodes
|
|
101
|
+
* finish, then stop). Default behavior cancels immediately.
|
|
102
|
+
*/
|
|
103
|
+
mode?: "after_current" | "discard";
|
|
104
|
+
}
|
|
105
|
+
declare class ExecutionsResource {
|
|
106
|
+
private client;
|
|
107
|
+
constructor(client: NodaroClientCore);
|
|
108
|
+
/** Get an execution by ID. Falls back to standalone single-node jobs server-side. */
|
|
109
|
+
get(id: string): Promise<{
|
|
110
|
+
data: WorkflowExecution;
|
|
111
|
+
}>;
|
|
112
|
+
/** List executions for a workflow. Merges workflow_executions + standalone single-node jobs. */
|
|
113
|
+
listForWorkflow(workflowId: string, params?: ListExecutionsForWorkflowParams): Promise<ListExecutionsPage<WorkflowExecutionSummary>>;
|
|
114
|
+
/** Cancel an execution. Returns `{ success: true }`. */
|
|
115
|
+
cancel(id: string, params?: CancelExecutionParams): Promise<{
|
|
116
|
+
success: true;
|
|
117
|
+
}>;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export { type CancelExecutionParams, type ExecutionStatus, type ExecutionTriggerType, ExecutionsResource, type ListExecutionsForWorkflowParams, type ListExecutionsPage, type NodeExecutionState, type WorkflowExecution, type WorkflowExecutionSummary };
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.js';
|
|
2
|
+
import { ExecutionOutcome, NodeExecutionStateWire } from '@nodaro/shared/workflow';
|
|
3
|
+
export { ExecutionOutcome, NodeExecutionStatus, NodeSkipReason, OUTPUT_BEARING_NODE_STATUSES, nodeStateMayCarryOutput } from '@nodaro/shared/workflow';
|
|
4
|
+
import '@nodaro/shared/apps';
|
|
5
|
+
import '@nodaro/shared/organizations';
|
|
6
|
+
|
|
7
|
+
type ExecutionStatus = "pending" | "running" | "completed" | "failed" | "cancelled" | "stopping" | "timed_out" | "discarded";
|
|
8
|
+
type ExecutionTriggerType = "manual" | "webhook" | "schedule" | "app_run" | "single-node" | "telegram" | "telegram_account" | "api" | "mcp";
|
|
9
|
+
/**
|
|
10
|
+
* Per-node state inside an execution's `nodeStates` map. Keys are node IDs.
|
|
11
|
+
*
|
|
12
|
+
* Extends the published wire contract in `@nodaro/shared`, which is what the
|
|
13
|
+
* orchestrator writes and the editor reads — so a field added there reaches
|
|
14
|
+
* SDK consumers as a typed field rather than through the index signature. The
|
|
15
|
+
* synthetic single-node-job shape from `routes/workflow-execution.ts` fits the
|
|
16
|
+
* same contract.
|
|
17
|
+
*/
|
|
18
|
+
interface NodeExecutionState extends NodeExecutionStateWire {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Workflow execution record. Returned by `get()` and `cancel()` (the cancel
|
|
24
|
+
* endpoint returns `{ success: true }`, not the execution itself).
|
|
25
|
+
*/
|
|
26
|
+
interface WorkflowExecution {
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* `"execution"` for an orchestrator run; `"job"` for a single-node job the
|
|
30
|
+
* list shows beside the runs (its `triggerType` is the lane that started it,
|
|
31
|
+
* `"mcp"` for an MCP client's one-node job). Absent on an older server.
|
|
32
|
+
*/
|
|
33
|
+
kind?: "execution" | "job";
|
|
34
|
+
workflowId: string | null;
|
|
35
|
+
userId: string;
|
|
36
|
+
status: ExecutionStatus;
|
|
37
|
+
/**
|
|
38
|
+
* How a `completed` run ended: `"nothing_new"` when at least one node was
|
|
39
|
+
* skipped for want of input (its `nodeStates` entry carries
|
|
40
|
+
* `skipReason: "empty_input"` — a feed that found no new posts, a writer with
|
|
41
|
+
* nothing to write), `"succeeded"` otherwise. Absent until the run completes
|
|
42
|
+
* and on an older server. Derived by `executionOutcome()` (exported).
|
|
43
|
+
*/
|
|
44
|
+
outcome?: ExecutionOutcome;
|
|
45
|
+
triggerType: ExecutionTriggerType;
|
|
46
|
+
triggerData?: unknown;
|
|
47
|
+
nodeStates: Record<string, NodeExecutionState>;
|
|
48
|
+
/**
|
|
49
|
+
* What a continue-from-failed of this run (`continueMode: "from-failed"`)
|
|
50
|
+
* sent no `nodeIds` considers, besides every node the run left failed or
|
|
51
|
+
* held back: the nodes the first run of its chain was started on (`nodeIds`
|
|
52
|
+
* on `/run` — Run selected, an API subset, a Render final). `null`: every
|
|
53
|
+
* node — a run of every node, one started before the nodes were recorded,
|
|
54
|
+
* or one a trigger started. Absent on an older server (= every node).
|
|
55
|
+
*/
|
|
56
|
+
nodeScope?: string[] | null;
|
|
57
|
+
totalNodes: number;
|
|
58
|
+
completedNodes: number;
|
|
59
|
+
failedNodes: number;
|
|
60
|
+
totalCreditsUsed: number;
|
|
61
|
+
errorMessage: string | null;
|
|
62
|
+
startedAt: string | null;
|
|
63
|
+
completedAt: string | null;
|
|
64
|
+
createdAt: string;
|
|
65
|
+
updatedAt: string;
|
|
66
|
+
}
|
|
67
|
+
/** Summary returned by `listForWorkflow()`. Excludes per-row `triggerData`/`updatedAt`. */
|
|
68
|
+
interface WorkflowExecutionSummary {
|
|
69
|
+
id: string;
|
|
70
|
+
/** See {@link WorkflowExecution.kind}. */
|
|
71
|
+
kind?: "execution" | "job";
|
|
72
|
+
status: ExecutionStatus;
|
|
73
|
+
/** See {@link WorkflowExecution.outcome}. */
|
|
74
|
+
outcome?: ExecutionOutcome;
|
|
75
|
+
triggerType: ExecutionTriggerType;
|
|
76
|
+
nodeStates: Record<string, NodeExecutionState>;
|
|
77
|
+
totalNodes: number;
|
|
78
|
+
completedNodes: number;
|
|
79
|
+
failedNodes: number;
|
|
80
|
+
totalCreditsUsed: number;
|
|
81
|
+
errorMessage: string | null;
|
|
82
|
+
startedAt: string | null;
|
|
83
|
+
completedAt: string | null;
|
|
84
|
+
createdAt: string;
|
|
85
|
+
}
|
|
86
|
+
interface ListExecutionsForWorkflowParams {
|
|
87
|
+
limit?: number;
|
|
88
|
+
cursor?: string;
|
|
89
|
+
/** Comma-separated list of statuses, e.g. "pending,running". */
|
|
90
|
+
status?: string;
|
|
91
|
+
/** "editor" excludes app_run / component / webhook / schedule executions. */
|
|
92
|
+
source?: "editor" | "all";
|
|
93
|
+
}
|
|
94
|
+
interface ListExecutionsPage<T> {
|
|
95
|
+
data: T[];
|
|
96
|
+
nextCursor?: string;
|
|
97
|
+
}
|
|
98
|
+
interface CancelExecutionParams {
|
|
99
|
+
/**
|
|
100
|
+
* "after_current" sets the execution to "stopping" (let in-flight nodes
|
|
101
|
+
* finish, then stop). Default behavior cancels immediately.
|
|
102
|
+
*/
|
|
103
|
+
mode?: "after_current" | "discard";
|
|
104
|
+
}
|
|
105
|
+
declare class ExecutionsResource {
|
|
106
|
+
private client;
|
|
107
|
+
constructor(client: NodaroClientCore);
|
|
108
|
+
/** Get an execution by ID. Falls back to standalone single-node jobs server-side. */
|
|
109
|
+
get(id: string): Promise<{
|
|
110
|
+
data: WorkflowExecution;
|
|
111
|
+
}>;
|
|
112
|
+
/** List executions for a workflow. Merges workflow_executions + standalone single-node jobs. */
|
|
113
|
+
listForWorkflow(workflowId: string, params?: ListExecutionsForWorkflowParams): Promise<ListExecutionsPage<WorkflowExecutionSummary>>;
|
|
114
|
+
/** Cancel an execution. Returns `{ success: true }`. */
|
|
115
|
+
cancel(id: string, params?: CancelExecutionParams): Promise<{
|
|
116
|
+
success: true;
|
|
117
|
+
}>;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export { type CancelExecutionParams, type ExecutionStatus, type ExecutionTriggerType, ExecutionsResource, type ListExecutionsForWorkflowParams, type ListExecutionsPage, type NodeExecutionState, type WorkflowExecution, type WorkflowExecutionSummary };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"executions.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('../chunk-KAIE6WJB.cjs');
|
|
4
|
+
var chunkWUKIJJG2_cjs = require('../chunk-WUKIJJG2.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "GalleryResource", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkWUKIJJG2_cjs.GalleryResource; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=gallery.cjs.map
|
|
13
|
+
//# sourceMappingURL=gallery.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"gallery.cjs"}
|