@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,252 @@
|
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.js';
|
|
2
|
+
import '@nodaro/shared/apps';
|
|
3
|
+
import '@nodaro/shared/organizations';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A job's lifecycle status. Hand-copied mirror of `JOB_STATUSES` in the
|
|
7
|
+
* platform's `backend/src/lib/job-status.ts` — nothing links the two at build
|
|
8
|
+
* time, so a new member has to be added here in the same change.
|
|
9
|
+
*
|
|
10
|
+
* `pending_review` is IN-FLIGHT, NOT TERMINAL: a job policy registered by the
|
|
11
|
+
* deployment held the output for a human reviewer. Treat it like `processing`
|
|
12
|
+
* in a `switch` — keep waiting, do not re-run — and it resolves to `completed`
|
|
13
|
+
* (approved), `failed` (rejected, carrying an `error_hint` with
|
|
14
|
+
* `kind: "policy-block"`) or `cancelled` (a held job is cancellable like any
|
|
15
|
+
* in-flight job). `credit_status` reads `"reserved"` for the whole hold. Only
|
|
16
|
+
* appears on deployments that register a job policy; `runAndWait` throws
|
|
17
|
+
* {@link JobHeldError} on the first held tick rather than waiting it out.
|
|
18
|
+
*/
|
|
19
|
+
type JobStatus = "pending" | "queued" | "processing" | "pending_review" | "completed" | "failed" | "cancelled";
|
|
20
|
+
/**
|
|
21
|
+
* A PROVIDER's verdict: the model's own safety filter refused the output.
|
|
22
|
+
* `class` distinguishes a deterministic block (copyright/likeness — retrying
|
|
23
|
+
* the same request never helps) from `safety`, whose filter is known to be
|
|
24
|
+
* non-deterministic for some models: `retried` says whether the worker
|
|
25
|
+
* already spent its one extra attempt, and `suggestedProvider` — present
|
|
26
|
+
* only when the catalog declares a fallback for the model that failed — is a
|
|
27
|
+
* real model id the SAME prompt/references can be retried on.
|
|
28
|
+
*/
|
|
29
|
+
type SafetyBlockHint = {
|
|
30
|
+
kind: "safety-block";
|
|
31
|
+
class: "copyright" | "likeness" | "safety";
|
|
32
|
+
retried: boolean;
|
|
33
|
+
suggestedProvider?: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* A NODARO-side verdict, not a provider's: a job policy registered by the
|
|
37
|
+
* deployment rejected the request (`hookPoint: "request"` — nothing ran, and
|
|
38
|
+
* the call itself failed with {@link JobBlockedError}) or the finished output
|
|
39
|
+
* (`hookPoint: "result"` — the result was blocked and never published).
|
|
40
|
+
*
|
|
41
|
+
* `reason` is USER-SAFE BY CONTRACT — the platform guarantees the policy's
|
|
42
|
+
* machine text (scores, labels) never reaches it — so show it to the person
|
|
43
|
+
* who made the request as-is. `policyId` identifies the deployment's policy,
|
|
44
|
+
* not a Nodaro product feature. Only occurs on deployments that register a
|
|
45
|
+
* job policy.
|
|
46
|
+
*/
|
|
47
|
+
type PolicyBlockHint = {
|
|
48
|
+
kind: "policy-block";
|
|
49
|
+
policyId: string;
|
|
50
|
+
reason: string;
|
|
51
|
+
hookPoint: "request" | "result";
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* A job's `jobs.error_hint` (migration 376) — a user-safe, machine-readable
|
|
55
|
+
* failure verdict, so a caller can act on it without parsing `error_message`
|
|
56
|
+
* prose. One column, two verdict sources; `kind` is the discriminant.
|
|
57
|
+
*
|
|
58
|
+
* HAND-COPIED MIRROR of `ErrorHint` in the platform's
|
|
59
|
+
* `backend/src/lib/safety-block.ts` (which names this file in its own
|
|
60
|
+
* comment). Nothing links the two at build time: a new arm there has to be
|
|
61
|
+
* pasted here verbatim in the same change, with a changeset.
|
|
62
|
+
* `packages/client/dist/index.d.ts` is REBUILT, never hand-edited.
|
|
63
|
+
*/
|
|
64
|
+
type JobErrorHint = SafetyBlockHint | PolicyBlockHint;
|
|
65
|
+
/**
|
|
66
|
+
* The billing lifecycle of a job's credit reservation — `usage_logs.status`
|
|
67
|
+
* for the job's `usage_log_id`. `null` when the job has no usage log (e.g. a
|
|
68
|
+
* free run) or hasn't reserved credits yet.
|
|
69
|
+
*/
|
|
70
|
+
type CreditStatus = "reserved" | "committed" | "refunded";
|
|
71
|
+
/** A job owner's rating of their job — set with {@link JobsResource.rate}. */
|
|
72
|
+
type JobRating = "good" | "bad";
|
|
73
|
+
/**
|
|
74
|
+
* The `rating` filter of {@link JobsResource.list}: one rating, any rating
|
|
75
|
+
* (`"rated"`) or none (`"unrated"`).
|
|
76
|
+
*/
|
|
77
|
+
type JobRatingFilter = JobRating | "rated" | "unrated";
|
|
78
|
+
/**
|
|
79
|
+
* Job record returned to non-admin SDK consumers. Field names are snake_case
|
|
80
|
+
* to match the wire format (per the OpenAPI fix in Phase 1).
|
|
81
|
+
*
|
|
82
|
+
* Sensitive fields stripped server-side for non-admin callers:
|
|
83
|
+
* `provider`, `provider_cost`, `display_cost`, `credits_actual`. USD
|
|
84
|
+
* pricing is admin-only across api/sdk/mcp — non-admin consumers see
|
|
85
|
+
* only the `credits` abstraction. Server-only nested job data (including
|
|
86
|
+
* Recast's private remux base) is stripped for every caller, including admins.
|
|
87
|
+
*/
|
|
88
|
+
interface Job {
|
|
89
|
+
id: string;
|
|
90
|
+
status: JobStatus;
|
|
91
|
+
progress: number;
|
|
92
|
+
user_id: string;
|
|
93
|
+
input_data: unknown;
|
|
94
|
+
output_data: unknown;
|
|
95
|
+
error_message: string | null;
|
|
96
|
+
/** Present on a failed job the worker classified as a provider
|
|
97
|
+
* content-policy block (`kind: "safety-block"`) or that a deployment's job
|
|
98
|
+
* policy rejected (`kind: "policy-block"`); absent/null otherwise.
|
|
99
|
+
* User-safe by construction — narrow on `kind` before reading the rest. */
|
|
100
|
+
error_hint?: JobErrorHint | null;
|
|
101
|
+
/** PR9: the job's credit reservation lifecycle, derived server-side from
|
|
102
|
+
* `usage_logs.status`. `null` when there is no usage log to report. Never
|
|
103
|
+
* changes the meaning of `credits` (the reserved amount) below. */
|
|
104
|
+
credit_status?: CreditStatus | null;
|
|
105
|
+
/** The credits HELD when the job was accepted. Never changes — a job can
|
|
106
|
+
* settle below it; read {@link Job.credits_charged} for what it cost. */
|
|
107
|
+
credits: number | null;
|
|
108
|
+
/**
|
|
109
|
+
* What the job actually cost once its hold settled. Can be lower than
|
|
110
|
+
* `credits` (the unused part goes back to the balance), `0` when the hold was
|
|
111
|
+
* refunded, `null` while the job is still running or when it reserved
|
|
112
|
+
* nothing of its own. Sum this — not `credits` — to total spend. Returned by
|
|
113
|
+
* `get()` and `list()`.
|
|
114
|
+
*/
|
|
115
|
+
credits_charged?: number | null;
|
|
116
|
+
job_type: string | null;
|
|
117
|
+
created_at: string;
|
|
118
|
+
started_at: string | null;
|
|
119
|
+
completed_at: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* Provenance: which kind of caller created the job — one of
|
|
122
|
+
* `"internal" | "mcp" | "app" | "cli" | "sdk" | "extension" | "web" | "api"`.
|
|
123
|
+
* `source_detail` narrows it (origin host, `extension/<name>` label,
|
|
124
|
+
* `sdk/<version>`, MCP client name, developer-app id). Descriptive only;
|
|
125
|
+
* lets a library view label or filter media by origin.
|
|
126
|
+
*/
|
|
127
|
+
source?: string | null;
|
|
128
|
+
source_detail?: string | null;
|
|
129
|
+
/** The generation session this job was born in (the `sessionId` sent with
|
|
130
|
+
* the generation request), or null. See `client.sessions`. */
|
|
131
|
+
session_id?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Whether the job's owner favorited it (`client.gallery.toggleFavorite`).
|
|
134
|
+
* Returned by `get()` and `list()`. Absent from an older server, and when
|
|
135
|
+
* the server could not read it for a moment — treat absent as unknown,
|
|
136
|
+
* never as `false`.
|
|
137
|
+
*/
|
|
138
|
+
favorited?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* The owner's rating of the job ({@link JobsResource.rate}), or `null` when
|
|
141
|
+
* unrated. Returned by `get()` and `list()`; absent like `favorited`.
|
|
142
|
+
*/
|
|
143
|
+
rating?: JobRating | null;
|
|
144
|
+
}
|
|
145
|
+
interface CancelJobResult {
|
|
146
|
+
success: true;
|
|
147
|
+
cancelled: number;
|
|
148
|
+
}
|
|
149
|
+
interface DeleteJobResult {
|
|
150
|
+
success: true;
|
|
151
|
+
}
|
|
152
|
+
interface ListJobsParams {
|
|
153
|
+
/** One status or several (a job matching any of them). An unknown status is a 400. */
|
|
154
|
+
status?: JobStatus | readonly JobStatus[];
|
|
155
|
+
/** Exact match on `input_data.type` — the route that created the job
|
|
156
|
+
* (`"llm-structured"`, `"video-analysis"`, …). One value or several (up to 20). */
|
|
157
|
+
type?: string | readonly string[];
|
|
158
|
+
/** Exact match on `input_data.origin` — the client app that sent it. */
|
|
159
|
+
origin?: string;
|
|
160
|
+
/** `true`: only jobs you favorited; `false`: only jobs you did not. */
|
|
161
|
+
favorited?: boolean;
|
|
162
|
+
/** Your rating: `"good"`, `"bad"`, any (`"rated"`) or none (`"unrated"`). */
|
|
163
|
+
rating?: JobRatingFilter;
|
|
164
|
+
/** The jobs of one generate-image batch (`count` / `models`) — its `batchId`. */
|
|
165
|
+
batchId?: string;
|
|
166
|
+
/** Page size, 1–100 (server default 50). */
|
|
167
|
+
limit?: number;
|
|
168
|
+
/** The previous page's `next`. */
|
|
169
|
+
cursor?: string;
|
|
170
|
+
}
|
|
171
|
+
/** What {@link JobsResource.rate} answers: the job's rating now. */
|
|
172
|
+
interface RateJobResult {
|
|
173
|
+
data: {
|
|
174
|
+
jobId: string;
|
|
175
|
+
rating: JobRating | null;
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
interface ListJobsPage {
|
|
179
|
+
/**
|
|
180
|
+
* A page may hold fewer than `limit` rows — even none — and still carry a
|
|
181
|
+
* `next`. Page on `next`, never on `data.length`.
|
|
182
|
+
*/
|
|
183
|
+
data: Job[];
|
|
184
|
+
/** Pass back as `cursor` for the next page; `null` on the last one. */
|
|
185
|
+
next: string | null;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Lean job status returned by `GET /v1/jobs/:id/status`. Skips the
|
|
189
|
+
* `input_data` JSONB and cost columns. Its `output_data` still goes
|
|
190
|
+
* through the server-only nested-field redaction. Intended for poll loops that
|
|
191
|
+
* only need progress/output/error, and when the job finished.
|
|
192
|
+
*/
|
|
193
|
+
interface JobStatusResult {
|
|
194
|
+
id: string;
|
|
195
|
+
status: JobStatus;
|
|
196
|
+
progress?: number;
|
|
197
|
+
output_data?: unknown;
|
|
198
|
+
error_message?: string | null;
|
|
199
|
+
/** PR9: see {@link Job.error_hint}. */
|
|
200
|
+
error_hint?: JobErrorHint | null;
|
|
201
|
+
/** PR9: see {@link Job.credit_status}. */
|
|
202
|
+
credit_status?: CreditStatus | null;
|
|
203
|
+
/** When the job finished, on the server's clock; null until it has. */
|
|
204
|
+
completed_at?: string | null;
|
|
205
|
+
}
|
|
206
|
+
declare class JobsResource {
|
|
207
|
+
private client;
|
|
208
|
+
constructor(client: NodaroClientCore);
|
|
209
|
+
/** Get a single job by ID. */
|
|
210
|
+
get(id: string): Promise<{
|
|
211
|
+
data: Job;
|
|
212
|
+
}>;
|
|
213
|
+
/**
|
|
214
|
+
* Your jobs, newest first (`GET /v1/jobs`), cursor-paginated. `type` and
|
|
215
|
+
* `origin` filter on the job's own `input_data`, which every job carries —
|
|
216
|
+
* a client app lists its runs with `{ type: "llm-structured", origin: "studio" }`.
|
|
217
|
+
* `status` and `type` take one value or a list; `favorited` and `rating`
|
|
218
|
+
* filter on your own marks. Every filter combines with AND, and each job
|
|
219
|
+
* carries `favorited` and `rating`.
|
|
220
|
+
*/
|
|
221
|
+
list(params?: ListJobsParams): Promise<ListJobsPage>;
|
|
222
|
+
/**
|
|
223
|
+
* Rate one of your jobs `"good"` or `"bad"`, or clear the rating with
|
|
224
|
+
* `null` (`PUT /v1/jobs/:id/rating`). Only the job's owner rates it — anyone
|
|
225
|
+
* else's job is a `NotFoundError`. The rating reads back as `Job.rating`
|
|
226
|
+
* and filters {@link list}. OAuth apps need the `assets:write` scope.
|
|
227
|
+
*/
|
|
228
|
+
rate(id: string, rating: JobRating | null): Promise<RateJobResult>;
|
|
229
|
+
/**
|
|
230
|
+
* Get the lean status of a single job (poll-loop friendly).
|
|
231
|
+
* Hits `GET /v1/jobs/:id/status` — returns only id/status/progress/
|
|
232
|
+
* output_data/error_message, with far less wire/CPU cost than `get()`.
|
|
233
|
+
* Same auth + ownership semantics as {@link get}.
|
|
234
|
+
*/
|
|
235
|
+
getStatus(id: string): Promise<{
|
|
236
|
+
data: JobStatusResult;
|
|
237
|
+
}>;
|
|
238
|
+
/**
|
|
239
|
+
* Cancel a job. Server route is `POST /v1/jobs/:jobId/cancel`.
|
|
240
|
+
* Refunds any reserved credit holds.
|
|
241
|
+
*/
|
|
242
|
+
cancel(id: string): Promise<CancelJobResult>;
|
|
243
|
+
/**
|
|
244
|
+
* Delete a job and the private media it produced. Server route is
|
|
245
|
+
* `DELETE /v1/jobs/:jobId`. Only the job's owner (or an admin) may delete it;
|
|
246
|
+
* a job that is still running is deleted as-is — cancel it first when its
|
|
247
|
+
* worker should stop ({@link cancel}).
|
|
248
|
+
*/
|
|
249
|
+
delete(id: string): Promise<DeleteJobResult>;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export { type CancelJobResult, type CreditStatus, type DeleteJobResult, type Job, type JobErrorHint, type JobRating, type JobRatingFilter, type JobStatus, type JobStatusResult, JobsResource, type ListJobsPage, type ListJobsParams, type PolicyBlockHint, type RateJobResult, type SafetyBlockHint };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"jobs.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('../chunk-5UQNMNUE.cjs');
|
|
4
|
+
var chunk2DZWWIJ4_cjs = require('../chunk-2DZWWIJ4.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "LibraryResource", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk2DZWWIJ4_cjs.LibraryResource; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=library.cjs.map
|
|
13
|
+
//# sourceMappingURL=library.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"library.cjs"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.cjs';
|
|
2
|
+
import '@nodaro/shared/apps';
|
|
3
|
+
import '@nodaro/shared/organizations';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A media asset in the caller's library (`GET /v1/library`). Mirrors the route's
|
|
7
|
+
* camelCase row shape (`backend/src/routes/library.ts`), the source of truth —
|
|
8
|
+
* keep in sync if that response changes. Covers BOTH uploaded files and saved
|
|
9
|
+
* generations; `type` discriminates the media kind.
|
|
10
|
+
*/
|
|
11
|
+
interface LibraryAsset {
|
|
12
|
+
readonly id: string;
|
|
13
|
+
/** Media kind — filter the list with the same values via `type`. */
|
|
14
|
+
readonly type: "image" | "video" | "audio";
|
|
15
|
+
/** Display filename (server override or the original); `null` if unknown. */
|
|
16
|
+
readonly filename: string | null;
|
|
17
|
+
readonly mimeType: string | null;
|
|
18
|
+
readonly sizeBytes: number | null;
|
|
19
|
+
/** Public R2 URL of the asset. */
|
|
20
|
+
readonly url: string;
|
|
21
|
+
/** Generated thumbnail URL (images/video); `null` for audio or when absent. */
|
|
22
|
+
readonly thumbnailUrl: string | null;
|
|
23
|
+
readonly metadata: Record<string, unknown>;
|
|
24
|
+
/** True when promoted to the shared (admin) library. */
|
|
25
|
+
readonly isLibraryItem: boolean;
|
|
26
|
+
/** How the asset entered storage (e.g. "manual_upload" | "generated"). */
|
|
27
|
+
readonly uploadSource: string;
|
|
28
|
+
/**
|
|
29
|
+
* WHICH SURFACE the media came from — `"internal" | "mcp" | "app" | "cli" |
|
|
30
|
+
* "sdk" | "extension" | "web" | "api"`. Distinct from `uploadSource`, which
|
|
31
|
+
* says how it entered storage (uploaded vs generated), not who was calling.
|
|
32
|
+
* `null` on assets created before origin tracking existed — render as
|
|
33
|
+
* "unknown", don't infer.
|
|
34
|
+
*/
|
|
35
|
+
readonly source: string | null;
|
|
36
|
+
/** Specific identity within `source` (origin host, `extension/<name>`, `sdk/<version>`, MCP client, app id). */
|
|
37
|
+
readonly sourceDetail: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The job that made the file, when known: `null` for an upload or once that
|
|
40
|
+
* job's history was deleted. Optional because servers before this field
|
|
41
|
+
* leave it out.
|
|
42
|
+
*/
|
|
43
|
+
readonly jobId?: string | null;
|
|
44
|
+
readonly createdAt: string;
|
|
45
|
+
}
|
|
46
|
+
interface ListLibraryParams {
|
|
47
|
+
/** Filter by media kind; `"all"` (default) returns every kind. */
|
|
48
|
+
readonly type?: "all" | "image" | "video" | "audio";
|
|
49
|
+
/**
|
|
50
|
+
* Search words: only the assets whose filename contains every word (split
|
|
51
|
+
* on spaces, the first 5), ignoring case. Each word is matched as written
|
|
52
|
+
* (`%`, `_` and `*` are not wildcards); blank means no search; up to 200
|
|
53
|
+
* characters.
|
|
54
|
+
*/
|
|
55
|
+
readonly q?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated Use `q`. The original name of the filename search, still
|
|
58
|
+
* accepted; when both are given, `q` is sent and `search` is not.
|
|
59
|
+
*/
|
|
60
|
+
readonly search?: string;
|
|
61
|
+
/** Page size, 1–100 (default 40). */
|
|
62
|
+
readonly limit?: number;
|
|
63
|
+
/** Opaque cursor from a prior page's `nextCursor` (fetches the next page). */
|
|
64
|
+
readonly cursor?: string;
|
|
65
|
+
/**
|
|
66
|
+
* `true` → EVERY asset the caller owns (the "Storage" view: uploads +
|
|
67
|
+
* generations, regardless of the in-library flag). `false` (default) → only
|
|
68
|
+
* assets explicitly saved to the library plus shared items (the in-editor
|
|
69
|
+
* Media Library picker).
|
|
70
|
+
*/
|
|
71
|
+
readonly owned?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Filter to media that originated from one surface (see
|
|
74
|
+
* {@link LibraryAsset.source}) — e.g. `"extension"` for everything a
|
|
75
|
+
* browser extension produced. Assets predating origin tracking have a null
|
|
76
|
+
* source and match no value, so they appear only when this is omitted.
|
|
77
|
+
*/
|
|
78
|
+
readonly source?: "internal" | "mcp" | "app" | "cli" | "sdk" | "extension" | "web" | "api";
|
|
79
|
+
}
|
|
80
|
+
interface ListLibraryResult {
|
|
81
|
+
readonly data: LibraryAsset[];
|
|
82
|
+
/** Pass back as `cursor` for the next page; `null` when there are no more. */
|
|
83
|
+
readonly nextCursor: string | null;
|
|
84
|
+
/** Exact total (first page only — omitted on cursor-paged requests). */
|
|
85
|
+
readonly totalCount?: number;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Library — the caller's media assets (uploaded files + saved generations).
|
|
89
|
+
*
|
|
90
|
+
* Read surface over `GET /v1/library`: a cursor-paginated, type-filterable,
|
|
91
|
+
* filename-searchable list. This is the "bring from your media" source for
|
|
92
|
+
* pickers that also offer upload + in-production stills. Writes (saving a
|
|
93
|
+
* generation, promoting/removing) stay on their dedicated routes — not exposed
|
|
94
|
+
* here until a consumer needs them.
|
|
95
|
+
*/
|
|
96
|
+
declare class LibraryResource {
|
|
97
|
+
private client;
|
|
98
|
+
constructor(client: NodaroClientCore);
|
|
99
|
+
/**
|
|
100
|
+
* `GET /v1/library` → a page of the caller's media assets (newest first) plus
|
|
101
|
+
* a `nextCursor`. Pass the returned `nextCursor` back as `cursor` for the next
|
|
102
|
+
* page. Filter by `type` and search the filename with `q`; `owned: true`
|
|
103
|
+
* returns the full Storage set (uploads + generations), the default only
|
|
104
|
+
* library-saved + shared items.
|
|
105
|
+
*/
|
|
106
|
+
list(params?: ListLibraryParams): Promise<ListLibraryResult>;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export { type LibraryAsset, LibraryResource, type ListLibraryParams, type ListLibraryResult };
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.js';
|
|
2
|
+
import '@nodaro/shared/apps';
|
|
3
|
+
import '@nodaro/shared/organizations';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A media asset in the caller's library (`GET /v1/library`). Mirrors the route's
|
|
7
|
+
* camelCase row shape (`backend/src/routes/library.ts`), the source of truth —
|
|
8
|
+
* keep in sync if that response changes. Covers BOTH uploaded files and saved
|
|
9
|
+
* generations; `type` discriminates the media kind.
|
|
10
|
+
*/
|
|
11
|
+
interface LibraryAsset {
|
|
12
|
+
readonly id: string;
|
|
13
|
+
/** Media kind — filter the list with the same values via `type`. */
|
|
14
|
+
readonly type: "image" | "video" | "audio";
|
|
15
|
+
/** Display filename (server override or the original); `null` if unknown. */
|
|
16
|
+
readonly filename: string | null;
|
|
17
|
+
readonly mimeType: string | null;
|
|
18
|
+
readonly sizeBytes: number | null;
|
|
19
|
+
/** Public R2 URL of the asset. */
|
|
20
|
+
readonly url: string;
|
|
21
|
+
/** Generated thumbnail URL (images/video); `null` for audio or when absent. */
|
|
22
|
+
readonly thumbnailUrl: string | null;
|
|
23
|
+
readonly metadata: Record<string, unknown>;
|
|
24
|
+
/** True when promoted to the shared (admin) library. */
|
|
25
|
+
readonly isLibraryItem: boolean;
|
|
26
|
+
/** How the asset entered storage (e.g. "manual_upload" | "generated"). */
|
|
27
|
+
readonly uploadSource: string;
|
|
28
|
+
/**
|
|
29
|
+
* WHICH SURFACE the media came from — `"internal" | "mcp" | "app" | "cli" |
|
|
30
|
+
* "sdk" | "extension" | "web" | "api"`. Distinct from `uploadSource`, which
|
|
31
|
+
* says how it entered storage (uploaded vs generated), not who was calling.
|
|
32
|
+
* `null` on assets created before origin tracking existed — render as
|
|
33
|
+
* "unknown", don't infer.
|
|
34
|
+
*/
|
|
35
|
+
readonly source: string | null;
|
|
36
|
+
/** Specific identity within `source` (origin host, `extension/<name>`, `sdk/<version>`, MCP client, app id). */
|
|
37
|
+
readonly sourceDetail: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The job that made the file, when known: `null` for an upload or once that
|
|
40
|
+
* job's history was deleted. Optional because servers before this field
|
|
41
|
+
* leave it out.
|
|
42
|
+
*/
|
|
43
|
+
readonly jobId?: string | null;
|
|
44
|
+
readonly createdAt: string;
|
|
45
|
+
}
|
|
46
|
+
interface ListLibraryParams {
|
|
47
|
+
/** Filter by media kind; `"all"` (default) returns every kind. */
|
|
48
|
+
readonly type?: "all" | "image" | "video" | "audio";
|
|
49
|
+
/**
|
|
50
|
+
* Search words: only the assets whose filename contains every word (split
|
|
51
|
+
* on spaces, the first 5), ignoring case. Each word is matched as written
|
|
52
|
+
* (`%`, `_` and `*` are not wildcards); blank means no search; up to 200
|
|
53
|
+
* characters.
|
|
54
|
+
*/
|
|
55
|
+
readonly q?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated Use `q`. The original name of the filename search, still
|
|
58
|
+
* accepted; when both are given, `q` is sent and `search` is not.
|
|
59
|
+
*/
|
|
60
|
+
readonly search?: string;
|
|
61
|
+
/** Page size, 1–100 (default 40). */
|
|
62
|
+
readonly limit?: number;
|
|
63
|
+
/** Opaque cursor from a prior page's `nextCursor` (fetches the next page). */
|
|
64
|
+
readonly cursor?: string;
|
|
65
|
+
/**
|
|
66
|
+
* `true` → EVERY asset the caller owns (the "Storage" view: uploads +
|
|
67
|
+
* generations, regardless of the in-library flag). `false` (default) → only
|
|
68
|
+
* assets explicitly saved to the library plus shared items (the in-editor
|
|
69
|
+
* Media Library picker).
|
|
70
|
+
*/
|
|
71
|
+
readonly owned?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Filter to media that originated from one surface (see
|
|
74
|
+
* {@link LibraryAsset.source}) — e.g. `"extension"` for everything a
|
|
75
|
+
* browser extension produced. Assets predating origin tracking have a null
|
|
76
|
+
* source and match no value, so they appear only when this is omitted.
|
|
77
|
+
*/
|
|
78
|
+
readonly source?: "internal" | "mcp" | "app" | "cli" | "sdk" | "extension" | "web" | "api";
|
|
79
|
+
}
|
|
80
|
+
interface ListLibraryResult {
|
|
81
|
+
readonly data: LibraryAsset[];
|
|
82
|
+
/** Pass back as `cursor` for the next page; `null` when there are no more. */
|
|
83
|
+
readonly nextCursor: string | null;
|
|
84
|
+
/** Exact total (first page only — omitted on cursor-paged requests). */
|
|
85
|
+
readonly totalCount?: number;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Library — the caller's media assets (uploaded files + saved generations).
|
|
89
|
+
*
|
|
90
|
+
* Read surface over `GET /v1/library`: a cursor-paginated, type-filterable,
|
|
91
|
+
* filename-searchable list. This is the "bring from your media" source for
|
|
92
|
+
* pickers that also offer upload + in-production stills. Writes (saving a
|
|
93
|
+
* generation, promoting/removing) stay on their dedicated routes — not exposed
|
|
94
|
+
* here until a consumer needs them.
|
|
95
|
+
*/
|
|
96
|
+
declare class LibraryResource {
|
|
97
|
+
private client;
|
|
98
|
+
constructor(client: NodaroClientCore);
|
|
99
|
+
/**
|
|
100
|
+
* `GET /v1/library` → a page of the caller's media assets (newest first) plus
|
|
101
|
+
* a `nextCursor`. Pass the returned `nextCursor` back as `cursor` for the next
|
|
102
|
+
* page. Filter by `type` and search the filename with `q`; `owned: true`
|
|
103
|
+
* returns the full Storage set (uploads + generations), the default only
|
|
104
|
+
* library-saved + shared items.
|
|
105
|
+
*/
|
|
106
|
+
list(params?: ListLibraryParams): Promise<ListLibraryResult>;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export { type LibraryAsset, LibraryResource, type ListLibraryParams, type ListLibraryResult };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"library.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('../chunk-TRCENAIY.cjs');
|
|
4
|
+
var chunkSS3B6PHT_cjs = require('../chunk-SS3B6PHT.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "LlmResource", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkSS3B6PHT_cjs.LlmResource; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=llm.cjs.map
|
|
13
|
+
//# sourceMappingURL=llm.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"llm.cjs"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.cjs';
|
|
2
|
+
import '@nodaro/shared/apps';
|
|
3
|
+
import '@nodaro/shared/organizations';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Structured LLM output — `POST /v1/llm/structured` and its asynchronous
|
|
7
|
+
* twin. The platform supplies the model lane, forced JSON-Schema output with
|
|
8
|
+
* validation and error-fed retries, the job row and the credit lifecycle; the
|
|
9
|
+
* caller supplies its own system prompt and schema (an app-owned vocabulary
|
|
10
|
+
* the platform cannot know — Nodaro Studio's production plan is the first).
|
|
11
|
+
*/
|
|
12
|
+
interface LlmStructuredInput {
|
|
13
|
+
/** The system prompt (≤ 100,000 chars). */
|
|
14
|
+
system: string;
|
|
15
|
+
/** The user turn (1–100,000 chars). */
|
|
16
|
+
input: string;
|
|
17
|
+
/** A JSON Schema OBJECT (`type: "object"`, ≤ 64 KB, ≤ 20 levels) in the
|
|
18
|
+
* keyword subset the server converts — see the API guide. */
|
|
19
|
+
jsonSchema: Record<string, unknown>;
|
|
20
|
+
/** Names the forced-output tool the provider sees (≤ 64 chars). */
|
|
21
|
+
schemaName?: string;
|
|
22
|
+
llmModel?: string;
|
|
23
|
+
reasoningEffort?: string;
|
|
24
|
+
/** Invalid answers fed back with their error before the call fails (0–3, default 2). */
|
|
25
|
+
maxRetries?: number;
|
|
26
|
+
/** Your app's slug — attribution only; `jobs.list({ origin })` finds the rows. */
|
|
27
|
+
origin?: string;
|
|
28
|
+
advancedMode?: boolean;
|
|
29
|
+
temperature?: number;
|
|
30
|
+
maxTokens?: number;
|
|
31
|
+
}
|
|
32
|
+
interface LlmStructuredResult<T = unknown> {
|
|
33
|
+
jobId: string;
|
|
34
|
+
output: T;
|
|
35
|
+
usage: {
|
|
36
|
+
inputTokens: number;
|
|
37
|
+
outputTokens: number;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
interface LlmStructuredJobInput extends LlmStructuredInput {
|
|
41
|
+
/** Display label stored on the job (≤ 120 chars) — a run list's row title. */
|
|
42
|
+
label?: string;
|
|
43
|
+
/** Draft FROM this video: the platform analyzes it first (`POST
|
|
44
|
+
* /v1/video-analysis`, a separate job you own) and appends the analysis
|
|
45
|
+
* to `input` before the LLM call. */
|
|
46
|
+
videoUrl?: string;
|
|
47
|
+
/** Analysis options, handed to the analysis route unchanged (its tiers). */
|
|
48
|
+
videoAnalysis?: {
|
|
49
|
+
llmModel?: string;
|
|
50
|
+
selectionMode?: "choose" | "combine";
|
|
51
|
+
};
|
|
52
|
+
/** Draft from THIS finished `video-analysis` job of yours instead of
|
|
53
|
+
* analyzing `videoUrl` again: no second analysis, no second analysis
|
|
54
|
+
* charge — a retry after a failed draft, another model, different
|
|
55
|
+
* notes. `videoUrl` may still ride beside it as the record of the source.
|
|
56
|
+
* 422 when the job is not yours, does not exist, or is not a finished,
|
|
57
|
+
* readable video analysis (`analysis_not_found` / `not_analysis` /
|
|
58
|
+
* `analysis_failed` / `analysis_not_ready` / `invalid_analysis` — never a
|
|
59
|
+
* 404, which means the route itself is absent). Not combinable with
|
|
60
|
+
* `videoAnalysis`. */
|
|
61
|
+
analysisJobId?: string;
|
|
62
|
+
}
|
|
63
|
+
/** `output_data` of an `llm-structured` job as it progresses: `stage` while
|
|
64
|
+
* running (`analyzing` only for movie runs), then the result. */
|
|
65
|
+
interface LlmStructuredJobOutput<T = unknown> {
|
|
66
|
+
stage?: "analyzing" | "drafting";
|
|
67
|
+
output?: T;
|
|
68
|
+
inputTokens?: number;
|
|
69
|
+
outputTokens?: number;
|
|
70
|
+
analysisJobId?: string;
|
|
71
|
+
analysisCredits?: number;
|
|
72
|
+
}
|
|
73
|
+
declare class LlmResource {
|
|
74
|
+
private client;
|
|
75
|
+
constructor(client: NodaroClientCore);
|
|
76
|
+
/**
|
|
77
|
+
* Synchronous forced-schema completion (`POST /v1/llm/structured`). A call
|
|
78
|
+
* can run several minutes — longer than the client's default 60 s
|
|
79
|
+
* `timeoutMs`; construct the client with a larger `timeoutMs` for this
|
|
80
|
+
* call, or use {@link LlmResource.structuredJob}.
|
|
81
|
+
*/
|
|
82
|
+
structured<T = unknown>(input: LlmStructuredInput): Promise<LlmStructuredResult<T>>;
|
|
83
|
+
/**
|
|
84
|
+
* The same call as a job (`POST /v1/llm/structured/jobs`): answers `{ jobId }`
|
|
85
|
+
* at once. Poll `jobs.getStatus(jobId)` — `output_data` is an
|
|
86
|
+
* {@link LlmStructuredJobOutput}; `error_message` says why a run failed.
|
|
87
|
+
* `jobs.list({ type: "llm-structured", origin })` finds every run later.
|
|
88
|
+
* Throws `NotFoundError` on a platform that predates the route. An instance
|
|
89
|
+
* that proxies its LLM calls to nodaro.ai answers `503 provider_unavailable`
|
|
90
|
+
* permanently — the SDK surfaces that as a generic `NodaroError` with the
|
|
91
|
+
* same code; treat it as unavailable here, not as transient.
|
|
92
|
+
*/
|
|
93
|
+
structuredJob(input: LlmStructuredJobInput): Promise<{
|
|
94
|
+
jobId: string;
|
|
95
|
+
}>;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export { LlmResource, type LlmStructuredInput, type LlmStructuredJobInput, type LlmStructuredJobOutput, type LlmStructuredResult };
|