@nodaro/sdk 2.28.0 → 2.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -2
- 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-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-5WAI7VGO.js +184 -0
- package/dist/chunk-5WAI7VGO.js.map +1 -0
- package/dist/chunk-65E3JBFZ.js +52 -0
- package/dist/chunk-65E3JBFZ.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-7ISSKQ6S.cjs +106 -0
- package/dist/chunk-7ISSKQ6S.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-BAL576G2.cjs +4 -0
- package/dist/chunk-BAL576G2.cjs.map +1 -0
- package/dist/chunk-BFMKPELU.cjs +212 -0
- package/dist/chunk-BFMKPELU.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-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-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-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-LHP2CWHD.js +228 -0
- package/dist/chunk-LHP2CWHD.js.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-PHKYIWE4.cjs +16 -0
- package/dist/chunk-PHKYIWE4.cjs.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-QITJGSFA.js +210 -0
- package/dist/chunk-QITJGSFA.js.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-REUFPWM7.cjs +233 -0
- package/dist/chunk-REUFPWM7.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-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-UI2NXUML.cjs +187 -0
- package/dist/chunk-UI2NXUML.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-W7YI5UT3.js +3 -0
- package/dist/chunk-W7YI5UT3.js.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-XQAIEPAZ.js +104 -0
- package/dist/chunk-XQAIEPAZ.js.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/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 +229 -0
- package/dist/entries/credits.d.ts +229 -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 -4618
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +66 -9651
- package/dist/index.d.ts +66 -9651
- package/dist/index.js +100 -4511
- package/dist/index.js.map +1 -1
- package/dist/nodes-BPvrAoUs.d.cts +1264 -0
- package/dist/nodes-C2zu3uqn.d.ts +1264 -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,164 @@
|
|
|
1
|
+
import { OrgKind, OrgSettings, WorkspaceRole, InvitationState, OrganizationView, OrgPage, OrgMemberView, MemberStatus, InvitationDelivery, InvitationView, InvitationPreview, OrgAuditEntry, UsageQuery, UsageReport, UsageLogEntry } from '@nodaro/shared/organizations';
|
|
2
|
+
export { InvitationDelivery, InvitationPreview, InvitationState, InvitationView, JoinCodeView, MeOrganizations, MemberStatus, OrgAuditEntry, OrgErrorCode, OrgKind, OrgMemberView, OrgPage, OrgRole, OrgSettings, OrgStatus, OrganizationSummary, OrganizationView, USAGE_GROUP_BYS, UsageGroupBy, UsageLogEntry, UsageQuery, UsageReport, UsageReportRow, UsageReportTotals, UsageVarianceRow, WORKSPACE_HEADER, WorkspaceMemberView, WorkspaceRole, WorkspaceSettings, WorkspaceSummary, WorkspaceView } from '@nodaro/shared/organizations';
|
|
3
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.cjs';
|
|
4
|
+
import '@nodaro/shared/apps';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Organizations, their members, and the invitations that fill them.
|
|
8
|
+
*
|
|
9
|
+
* Every shape here comes from `@nodaro/shared` rather than being restated:
|
|
10
|
+
* the app, the CLI and this SDK all read the same wire, and a shape written
|
|
11
|
+
* out three times is one that drifts in two of them.
|
|
12
|
+
*
|
|
13
|
+
* Nothing in this file decides anything. Whether a caller may invite, remove
|
|
14
|
+
* or rename is the server's answer, delivered as a typed error code, and an
|
|
15
|
+
* SDK that guessed would be wrong the first time a setting changed.
|
|
16
|
+
*/
|
|
17
|
+
interface CreateOrgInput {
|
|
18
|
+
name: string;
|
|
19
|
+
kind: OrgKind;
|
|
20
|
+
/** Derived from the name when omitted; the server resolves collisions. */
|
|
21
|
+
slug?: string;
|
|
22
|
+
acceptTerms?: boolean;
|
|
23
|
+
settings?: OrgSettings;
|
|
24
|
+
}
|
|
25
|
+
interface InviteInput {
|
|
26
|
+
emails: string[];
|
|
27
|
+
orgRole?: "admin" | "member";
|
|
28
|
+
/** Also places the invitee in this workspace on accept. */
|
|
29
|
+
workspaceId?: string;
|
|
30
|
+
workspaceRole?: WorkspaceRole;
|
|
31
|
+
}
|
|
32
|
+
interface ListInvitationsOptions {
|
|
33
|
+
status?: InvitationState;
|
|
34
|
+
workspaceId?: string;
|
|
35
|
+
cursor?: string;
|
|
36
|
+
limit?: number;
|
|
37
|
+
}
|
|
38
|
+
declare class OrganizationsResource {
|
|
39
|
+
private client;
|
|
40
|
+
constructor(client: NodaroClientCore);
|
|
41
|
+
/** The organizations this account belongs to. */
|
|
42
|
+
list(): Promise<{
|
|
43
|
+
data: OrganizationView[];
|
|
44
|
+
}>;
|
|
45
|
+
get(id: string): Promise<{
|
|
46
|
+
data: OrganizationView;
|
|
47
|
+
}>;
|
|
48
|
+
/**
|
|
49
|
+
* Create an organization. On instances that require it, `acceptTerms` must
|
|
50
|
+
* be true or the server answers `terms_required` — the SDK does not decide
|
|
51
|
+
* whether terms apply, because only the instance knows.
|
|
52
|
+
*
|
|
53
|
+
* A new organization may come back `pending`: some instances hold new
|
|
54
|
+
* organizations for a platform admin to approve, and a pending one grants
|
|
55
|
+
* nothing until it is active.
|
|
56
|
+
*/
|
|
57
|
+
create(input: CreateOrgInput): Promise<{
|
|
58
|
+
data: OrganizationView;
|
|
59
|
+
}>;
|
|
60
|
+
update(id: string, input: {
|
|
61
|
+
name?: string;
|
|
62
|
+
settings?: OrgSettings;
|
|
63
|
+
}): Promise<{
|
|
64
|
+
data: OrganizationView;
|
|
65
|
+
}>;
|
|
66
|
+
/** Soft-delete. The organization stops granting context; nothing is destroyed. */
|
|
67
|
+
delete(id: string): Promise<{
|
|
68
|
+
data: {
|
|
69
|
+
id: string;
|
|
70
|
+
status: string;
|
|
71
|
+
};
|
|
72
|
+
}>;
|
|
73
|
+
/** Hand the organization to another member. The caller becomes an admin. */
|
|
74
|
+
transferOwnership(id: string, userId: string): Promise<{
|
|
75
|
+
data: {
|
|
76
|
+
orgId: string;
|
|
77
|
+
ownerUserId: string;
|
|
78
|
+
};
|
|
79
|
+
}>;
|
|
80
|
+
/** Leave. An owner cannot — transfer ownership first (`owner_cannot_leave`). */
|
|
81
|
+
leave(id: string): Promise<{
|
|
82
|
+
data: {
|
|
83
|
+
orgId: string;
|
|
84
|
+
left: boolean;
|
|
85
|
+
};
|
|
86
|
+
}>;
|
|
87
|
+
listMembers(orgId: string, opts?: {
|
|
88
|
+
cursor?: string;
|
|
89
|
+
limit?: number;
|
|
90
|
+
}): Promise<OrgPage<OrgMemberView>>;
|
|
91
|
+
updateMember(orgId: string, userId: string, input: {
|
|
92
|
+
role?: "admin" | "member";
|
|
93
|
+
status?: MemberStatus;
|
|
94
|
+
}): Promise<{
|
|
95
|
+
data: OrgMemberView;
|
|
96
|
+
}>;
|
|
97
|
+
removeMember(orgId: string, userId: string): Promise<{
|
|
98
|
+
data: {
|
|
99
|
+
removed: boolean;
|
|
100
|
+
};
|
|
101
|
+
}>;
|
|
102
|
+
/**
|
|
103
|
+
* Invite by email. Returns ONE ROW PER ADDRESS, and a row whose `status` is
|
|
104
|
+
* not `sent` carries a `link` instead.
|
|
105
|
+
*
|
|
106
|
+
* Surface that link. An install with no mail provider — every fresh
|
|
107
|
+
* self-host — delivers nothing, and an integration that reports "invited"
|
|
108
|
+
* without showing the link creates invitations nobody can ever reach.
|
|
109
|
+
*/
|
|
110
|
+
invite(orgId: string, input: InviteInput): Promise<{
|
|
111
|
+
data: InvitationDelivery[];
|
|
112
|
+
}>;
|
|
113
|
+
listInvitations(orgId: string, opts?: ListInvitationsOptions): Promise<OrgPage<InvitationView>>;
|
|
114
|
+
revokeInvitation(id: string): Promise<{
|
|
115
|
+
data: {
|
|
116
|
+
id: string;
|
|
117
|
+
revoked: boolean;
|
|
118
|
+
};
|
|
119
|
+
}>;
|
|
120
|
+
resendInvitation(id: string): Promise<{
|
|
121
|
+
data: InvitationDelivery & {
|
|
122
|
+
id: string;
|
|
123
|
+
};
|
|
124
|
+
}>;
|
|
125
|
+
/**
|
|
126
|
+
* What an invitee sees before signing in — the one organization read that
|
|
127
|
+
* needs no token, so it works while the recipient is still signed out.
|
|
128
|
+
*/
|
|
129
|
+
previewInvitation(token: string): Promise<{
|
|
130
|
+
data: InvitationPreview;
|
|
131
|
+
}>;
|
|
132
|
+
/** Accept. Requires an authenticated caller whose email matches the invite. */
|
|
133
|
+
acceptInvitation(token: string): Promise<{
|
|
134
|
+
data: {
|
|
135
|
+
orgId: string;
|
|
136
|
+
workspaceId: string | null;
|
|
137
|
+
};
|
|
138
|
+
}>;
|
|
139
|
+
/**
|
|
140
|
+
* The organization's audit log, newest first. Owner and admins only, and
|
|
141
|
+
* readable while the organization is suspended — the record of what
|
|
142
|
+
* happened is exactly what someone needs when things have gone wrong.
|
|
143
|
+
*/
|
|
144
|
+
audit(orgId: string, opts?: {
|
|
145
|
+
cursor?: string;
|
|
146
|
+
limit?: number;
|
|
147
|
+
}): Promise<OrgPage<OrgAuditEntry>>;
|
|
148
|
+
/**
|
|
149
|
+
* Credits by workspace, member, model or day. Owner and org admins only.
|
|
150
|
+
* Inclusive dates (`from`/`to`), IANA `tz` (default UTC), ≤ 366 days
|
|
151
|
+
* (default last 30).
|
|
152
|
+
*/
|
|
153
|
+
usage(orgId: string, opts?: Omit<UsageQuery, "cursor" | "limit" | "groupBy"> & {
|
|
154
|
+
groupBy?: "workspace" | "member" | "model" | "day";
|
|
155
|
+
}): Promise<{
|
|
156
|
+
data: UsageReport;
|
|
157
|
+
}>;
|
|
158
|
+
/** The individual runs behind a report, newest first, cursor-paged. */
|
|
159
|
+
usageRows(orgId: string, opts?: Omit<UsageQuery, "groupBy">): Promise<OrgPage<UsageLogEntry>>;
|
|
160
|
+
/** The same report (or the rows, with `groupBy: "none"`) as CSV text. */
|
|
161
|
+
usageCsv(orgId: string, opts?: Omit<UsageQuery, "cursor" | "limit">): Promise<string>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export { type CreateOrgInput, type InviteInput, type ListInvitationsOptions, OrganizationsResource };
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { OrgKind, OrgSettings, WorkspaceRole, InvitationState, OrganizationView, OrgPage, OrgMemberView, MemberStatus, InvitationDelivery, InvitationView, InvitationPreview, OrgAuditEntry, UsageQuery, UsageReport, UsageLogEntry } from '@nodaro/shared/organizations';
|
|
2
|
+
export { InvitationDelivery, InvitationPreview, InvitationState, InvitationView, JoinCodeView, MeOrganizations, MemberStatus, OrgAuditEntry, OrgErrorCode, OrgKind, OrgMemberView, OrgPage, OrgRole, OrgSettings, OrgStatus, OrganizationSummary, OrganizationView, USAGE_GROUP_BYS, UsageGroupBy, UsageLogEntry, UsageQuery, UsageReport, UsageReportRow, UsageReportTotals, UsageVarianceRow, WORKSPACE_HEADER, WorkspaceMemberView, WorkspaceRole, WorkspaceSettings, WorkspaceSummary, WorkspaceView } from '@nodaro/shared/organizations';
|
|
3
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.js';
|
|
4
|
+
import '@nodaro/shared/apps';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Organizations, their members, and the invitations that fill them.
|
|
8
|
+
*
|
|
9
|
+
* Every shape here comes from `@nodaro/shared` rather than being restated:
|
|
10
|
+
* the app, the CLI and this SDK all read the same wire, and a shape written
|
|
11
|
+
* out three times is one that drifts in two of them.
|
|
12
|
+
*
|
|
13
|
+
* Nothing in this file decides anything. Whether a caller may invite, remove
|
|
14
|
+
* or rename is the server's answer, delivered as a typed error code, and an
|
|
15
|
+
* SDK that guessed would be wrong the first time a setting changed.
|
|
16
|
+
*/
|
|
17
|
+
interface CreateOrgInput {
|
|
18
|
+
name: string;
|
|
19
|
+
kind: OrgKind;
|
|
20
|
+
/** Derived from the name when omitted; the server resolves collisions. */
|
|
21
|
+
slug?: string;
|
|
22
|
+
acceptTerms?: boolean;
|
|
23
|
+
settings?: OrgSettings;
|
|
24
|
+
}
|
|
25
|
+
interface InviteInput {
|
|
26
|
+
emails: string[];
|
|
27
|
+
orgRole?: "admin" | "member";
|
|
28
|
+
/** Also places the invitee in this workspace on accept. */
|
|
29
|
+
workspaceId?: string;
|
|
30
|
+
workspaceRole?: WorkspaceRole;
|
|
31
|
+
}
|
|
32
|
+
interface ListInvitationsOptions {
|
|
33
|
+
status?: InvitationState;
|
|
34
|
+
workspaceId?: string;
|
|
35
|
+
cursor?: string;
|
|
36
|
+
limit?: number;
|
|
37
|
+
}
|
|
38
|
+
declare class OrganizationsResource {
|
|
39
|
+
private client;
|
|
40
|
+
constructor(client: NodaroClientCore);
|
|
41
|
+
/** The organizations this account belongs to. */
|
|
42
|
+
list(): Promise<{
|
|
43
|
+
data: OrganizationView[];
|
|
44
|
+
}>;
|
|
45
|
+
get(id: string): Promise<{
|
|
46
|
+
data: OrganizationView;
|
|
47
|
+
}>;
|
|
48
|
+
/**
|
|
49
|
+
* Create an organization. On instances that require it, `acceptTerms` must
|
|
50
|
+
* be true or the server answers `terms_required` — the SDK does not decide
|
|
51
|
+
* whether terms apply, because only the instance knows.
|
|
52
|
+
*
|
|
53
|
+
* A new organization may come back `pending`: some instances hold new
|
|
54
|
+
* organizations for a platform admin to approve, and a pending one grants
|
|
55
|
+
* nothing until it is active.
|
|
56
|
+
*/
|
|
57
|
+
create(input: CreateOrgInput): Promise<{
|
|
58
|
+
data: OrganizationView;
|
|
59
|
+
}>;
|
|
60
|
+
update(id: string, input: {
|
|
61
|
+
name?: string;
|
|
62
|
+
settings?: OrgSettings;
|
|
63
|
+
}): Promise<{
|
|
64
|
+
data: OrganizationView;
|
|
65
|
+
}>;
|
|
66
|
+
/** Soft-delete. The organization stops granting context; nothing is destroyed. */
|
|
67
|
+
delete(id: string): Promise<{
|
|
68
|
+
data: {
|
|
69
|
+
id: string;
|
|
70
|
+
status: string;
|
|
71
|
+
};
|
|
72
|
+
}>;
|
|
73
|
+
/** Hand the organization to another member. The caller becomes an admin. */
|
|
74
|
+
transferOwnership(id: string, userId: string): Promise<{
|
|
75
|
+
data: {
|
|
76
|
+
orgId: string;
|
|
77
|
+
ownerUserId: string;
|
|
78
|
+
};
|
|
79
|
+
}>;
|
|
80
|
+
/** Leave. An owner cannot — transfer ownership first (`owner_cannot_leave`). */
|
|
81
|
+
leave(id: string): Promise<{
|
|
82
|
+
data: {
|
|
83
|
+
orgId: string;
|
|
84
|
+
left: boolean;
|
|
85
|
+
};
|
|
86
|
+
}>;
|
|
87
|
+
listMembers(orgId: string, opts?: {
|
|
88
|
+
cursor?: string;
|
|
89
|
+
limit?: number;
|
|
90
|
+
}): Promise<OrgPage<OrgMemberView>>;
|
|
91
|
+
updateMember(orgId: string, userId: string, input: {
|
|
92
|
+
role?: "admin" | "member";
|
|
93
|
+
status?: MemberStatus;
|
|
94
|
+
}): Promise<{
|
|
95
|
+
data: OrgMemberView;
|
|
96
|
+
}>;
|
|
97
|
+
removeMember(orgId: string, userId: string): Promise<{
|
|
98
|
+
data: {
|
|
99
|
+
removed: boolean;
|
|
100
|
+
};
|
|
101
|
+
}>;
|
|
102
|
+
/**
|
|
103
|
+
* Invite by email. Returns ONE ROW PER ADDRESS, and a row whose `status` is
|
|
104
|
+
* not `sent` carries a `link` instead.
|
|
105
|
+
*
|
|
106
|
+
* Surface that link. An install with no mail provider — every fresh
|
|
107
|
+
* self-host — delivers nothing, and an integration that reports "invited"
|
|
108
|
+
* without showing the link creates invitations nobody can ever reach.
|
|
109
|
+
*/
|
|
110
|
+
invite(orgId: string, input: InviteInput): Promise<{
|
|
111
|
+
data: InvitationDelivery[];
|
|
112
|
+
}>;
|
|
113
|
+
listInvitations(orgId: string, opts?: ListInvitationsOptions): Promise<OrgPage<InvitationView>>;
|
|
114
|
+
revokeInvitation(id: string): Promise<{
|
|
115
|
+
data: {
|
|
116
|
+
id: string;
|
|
117
|
+
revoked: boolean;
|
|
118
|
+
};
|
|
119
|
+
}>;
|
|
120
|
+
resendInvitation(id: string): Promise<{
|
|
121
|
+
data: InvitationDelivery & {
|
|
122
|
+
id: string;
|
|
123
|
+
};
|
|
124
|
+
}>;
|
|
125
|
+
/**
|
|
126
|
+
* What an invitee sees before signing in — the one organization read that
|
|
127
|
+
* needs no token, so it works while the recipient is still signed out.
|
|
128
|
+
*/
|
|
129
|
+
previewInvitation(token: string): Promise<{
|
|
130
|
+
data: InvitationPreview;
|
|
131
|
+
}>;
|
|
132
|
+
/** Accept. Requires an authenticated caller whose email matches the invite. */
|
|
133
|
+
acceptInvitation(token: string): Promise<{
|
|
134
|
+
data: {
|
|
135
|
+
orgId: string;
|
|
136
|
+
workspaceId: string | null;
|
|
137
|
+
};
|
|
138
|
+
}>;
|
|
139
|
+
/**
|
|
140
|
+
* The organization's audit log, newest first. Owner and admins only, and
|
|
141
|
+
* readable while the organization is suspended — the record of what
|
|
142
|
+
* happened is exactly what someone needs when things have gone wrong.
|
|
143
|
+
*/
|
|
144
|
+
audit(orgId: string, opts?: {
|
|
145
|
+
cursor?: string;
|
|
146
|
+
limit?: number;
|
|
147
|
+
}): Promise<OrgPage<OrgAuditEntry>>;
|
|
148
|
+
/**
|
|
149
|
+
* Credits by workspace, member, model or day. Owner and org admins only.
|
|
150
|
+
* Inclusive dates (`from`/`to`), IANA `tz` (default UTC), ≤ 366 days
|
|
151
|
+
* (default last 30).
|
|
152
|
+
*/
|
|
153
|
+
usage(orgId: string, opts?: Omit<UsageQuery, "cursor" | "limit" | "groupBy"> & {
|
|
154
|
+
groupBy?: "workspace" | "member" | "model" | "day";
|
|
155
|
+
}): Promise<{
|
|
156
|
+
data: UsageReport;
|
|
157
|
+
}>;
|
|
158
|
+
/** The individual runs behind a report, newest first, cursor-paged. */
|
|
159
|
+
usageRows(orgId: string, opts?: Omit<UsageQuery, "groupBy">): Promise<OrgPage<UsageLogEntry>>;
|
|
160
|
+
/** The same report (or the rows, with `groupBy: "none"`) as CSV text. */
|
|
161
|
+
usageCsv(orgId: string, opts?: Omit<UsageQuery, "cursor" | "limit">): Promise<string>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export { type CreateOrgInput, type InviteInput, type ListInvitationsOptions, OrganizationsResource };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"organizations.js"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('../chunk-LLNNHLCE.cjs');
|
|
4
|
+
var chunkNBVARNVA_cjs = require('../chunk-NBVARNVA.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "PALETTE_DIRECTION_PREFIX", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkNBVARNVA_cjs.PALETTE_DIRECTION_PREFIX; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "PalettesResource", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkNBVARNVA_cjs.PalettesResource; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "paletteDirectionId", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkNBVARNVA_cjs.paletteDirectionId; }
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=palettes.cjs.map
|
|
21
|
+
//# sourceMappingURL=palettes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"palettes.cjs"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.cjs';
|
|
2
|
+
import '@nodaro/shared/apps';
|
|
3
|
+
import '@nodaro/shared/organizations';
|
|
4
|
+
|
|
5
|
+
/** One of your colour palettes. */
|
|
6
|
+
interface ColorPalette {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
/** 2–12 colours, `#RRGGBB`, upper case. */
|
|
10
|
+
colors: string[];
|
|
11
|
+
/** Your own note. It is not put into the prompt. */
|
|
12
|
+
description: string | null;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
}
|
|
16
|
+
interface CreatePaletteInput {
|
|
17
|
+
/** 1–80 characters. */
|
|
18
|
+
name: string;
|
|
19
|
+
/** 2–12 colours, `#RRGGBB` (any case; stored upper case). */
|
|
20
|
+
colors: string[];
|
|
21
|
+
/** Up to 500 characters. */
|
|
22
|
+
description?: string | null;
|
|
23
|
+
}
|
|
24
|
+
/** Only the fields you send are written; `description: null` clears it. */
|
|
25
|
+
interface UpdatePaletteInput {
|
|
26
|
+
name?: string;
|
|
27
|
+
colors?: string[];
|
|
28
|
+
description?: string | null;
|
|
29
|
+
}
|
|
30
|
+
interface ListPalettesParams {
|
|
31
|
+
/** Page size, 1–100 (server default 50). */
|
|
32
|
+
limit?: number;
|
|
33
|
+
/** The previous page's `nextCursor`. */
|
|
34
|
+
cursor?: string;
|
|
35
|
+
}
|
|
36
|
+
interface PalettePage {
|
|
37
|
+
data: ColorPalette[];
|
|
38
|
+
/** Pass back as `cursor` for the next page; `null` on the last one. */
|
|
39
|
+
nextCursor: string | null;
|
|
40
|
+
}
|
|
41
|
+
/** The prefix of a palette's generate-image direction id (`direction.colorLook`). */
|
|
42
|
+
declare const PALETTE_DIRECTION_PREFIX: "palette:";
|
|
43
|
+
/**
|
|
44
|
+
* A palette as a generate-image direction value — put it on
|
|
45
|
+
* `direction.colorLook`. The run names each colour (an everyday name and its
|
|
46
|
+
* hex) in the prompt; the job keeps the id, so a re-run uses the palette as it
|
|
47
|
+
* is then.
|
|
48
|
+
*/
|
|
49
|
+
declare function paletteDirectionId(id: string): `palette:${string}`;
|
|
50
|
+
/**
|
|
51
|
+
* Colour palettes — `GET/POST /v1/palettes`, `GET/PATCH/DELETE /v1/palettes/:id`.
|
|
52
|
+
*
|
|
53
|
+
* Yours only (another person's id answers 404). Use one on generate-image as
|
|
54
|
+
* `direction: { colorLook: paletteDirectionId(id) }`. OAuth app tokens need
|
|
55
|
+
* `assets:read` for reads and `assets:write` for writes.
|
|
56
|
+
*/
|
|
57
|
+
declare class PalettesResource {
|
|
58
|
+
private client;
|
|
59
|
+
constructor(client: NodaroClientCore);
|
|
60
|
+
/** Your palettes, newest first. Page with `nextCursor`. */
|
|
61
|
+
list(params?: ListPalettesParams): Promise<PalettePage>;
|
|
62
|
+
get(id: string): Promise<ColorPalette>;
|
|
63
|
+
create(input: CreatePaletteInput): Promise<ColorPalette>;
|
|
64
|
+
update(id: string, input: UpdatePaletteInput): Promise<ColorPalette>;
|
|
65
|
+
/** A run that still names the palette answers 404 `direction_not_found`. */
|
|
66
|
+
delete(id: string): Promise<void>;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export { type ColorPalette, type CreatePaletteInput, type ListPalettesParams, PALETTE_DIRECTION_PREFIX, type PalettePage, PalettesResource, type UpdatePaletteInput, paletteDirectionId };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.js';
|
|
2
|
+
import '@nodaro/shared/apps';
|
|
3
|
+
import '@nodaro/shared/organizations';
|
|
4
|
+
|
|
5
|
+
/** One of your colour palettes. */
|
|
6
|
+
interface ColorPalette {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
/** 2–12 colours, `#RRGGBB`, upper case. */
|
|
10
|
+
colors: string[];
|
|
11
|
+
/** Your own note. It is not put into the prompt. */
|
|
12
|
+
description: string | null;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
}
|
|
16
|
+
interface CreatePaletteInput {
|
|
17
|
+
/** 1–80 characters. */
|
|
18
|
+
name: string;
|
|
19
|
+
/** 2–12 colours, `#RRGGBB` (any case; stored upper case). */
|
|
20
|
+
colors: string[];
|
|
21
|
+
/** Up to 500 characters. */
|
|
22
|
+
description?: string | null;
|
|
23
|
+
}
|
|
24
|
+
/** Only the fields you send are written; `description: null` clears it. */
|
|
25
|
+
interface UpdatePaletteInput {
|
|
26
|
+
name?: string;
|
|
27
|
+
colors?: string[];
|
|
28
|
+
description?: string | null;
|
|
29
|
+
}
|
|
30
|
+
interface ListPalettesParams {
|
|
31
|
+
/** Page size, 1–100 (server default 50). */
|
|
32
|
+
limit?: number;
|
|
33
|
+
/** The previous page's `nextCursor`. */
|
|
34
|
+
cursor?: string;
|
|
35
|
+
}
|
|
36
|
+
interface PalettePage {
|
|
37
|
+
data: ColorPalette[];
|
|
38
|
+
/** Pass back as `cursor` for the next page; `null` on the last one. */
|
|
39
|
+
nextCursor: string | null;
|
|
40
|
+
}
|
|
41
|
+
/** The prefix of a palette's generate-image direction id (`direction.colorLook`). */
|
|
42
|
+
declare const PALETTE_DIRECTION_PREFIX: "palette:";
|
|
43
|
+
/**
|
|
44
|
+
* A palette as a generate-image direction value — put it on
|
|
45
|
+
* `direction.colorLook`. The run names each colour (an everyday name and its
|
|
46
|
+
* hex) in the prompt; the job keeps the id, so a re-run uses the palette as it
|
|
47
|
+
* is then.
|
|
48
|
+
*/
|
|
49
|
+
declare function paletteDirectionId(id: string): `palette:${string}`;
|
|
50
|
+
/**
|
|
51
|
+
* Colour palettes — `GET/POST /v1/palettes`, `GET/PATCH/DELETE /v1/palettes/:id`.
|
|
52
|
+
*
|
|
53
|
+
* Yours only (another person's id answers 404). Use one on generate-image as
|
|
54
|
+
* `direction: { colorLook: paletteDirectionId(id) }`. OAuth app tokens need
|
|
55
|
+
* `assets:read` for reads and `assets:write` for writes.
|
|
56
|
+
*/
|
|
57
|
+
declare class PalettesResource {
|
|
58
|
+
private client;
|
|
59
|
+
constructor(client: NodaroClientCore);
|
|
60
|
+
/** Your palettes, newest first. Page with `nextCursor`. */
|
|
61
|
+
list(params?: ListPalettesParams): Promise<PalettePage>;
|
|
62
|
+
get(id: string): Promise<ColorPalette>;
|
|
63
|
+
create(input: CreatePaletteInput): Promise<ColorPalette>;
|
|
64
|
+
update(id: string, input: UpdatePaletteInput): Promise<ColorPalette>;
|
|
65
|
+
/** A run that still names the palette answers 404 `direction_not_found`. */
|
|
66
|
+
delete(id: string): Promise<void>;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export { type ColorPalette, type CreatePaletteInput, type ListPalettesParams, PALETTE_DIRECTION_PREFIX, type PalettePage, PalettesResource, type UpdatePaletteInput, paletteDirectionId };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"palettes.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('../chunk-7MYKT2L4.cjs');
|
|
4
|
+
var chunkOSX2GVZ2_cjs = require('../chunk-OSX2GVZ2.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "PickerCatalogsResource", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkOSX2GVZ2_cjs.PickerCatalogsResource; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=picker-catalogs.cjs.map
|
|
13
|
+
//# sourceMappingURL=picker-catalogs.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"picker-catalogs.cjs"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { CharacterMotionMetadata } from '@nodaro/shared/types';
|
|
2
|
+
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.cjs';
|
|
3
|
+
import '@nodaro/shared/apps';
|
|
4
|
+
import '@nodaro/shared/organizations';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Picker-catalog types. Mirrors `@nodaro/shared`'s `ProjectedPickerCatalog` /
|
|
8
|
+
* `PickerCatalogSummary` so the SDK stays dependency-free (same convention as
|
|
9
|
+
* `NodeDescriptor` mirroring node-registry).
|
|
10
|
+
*/
|
|
11
|
+
interface PickerOption {
|
|
12
|
+
id: string;
|
|
13
|
+
label: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
category?: string;
|
|
16
|
+
/** The prompt fragment this id injects downstream. Present only when detail="full". */
|
|
17
|
+
promptHint?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Short professional term injected by compact hint mode; `label` is for
|
|
20
|
+
* display. Present at BOTH detail levels — a thin client renders `label`
|
|
21
|
+
* and injects `term`. Empty for a no-op ("auto"/"none") entry that injects
|
|
22
|
+
* nothing.
|
|
23
|
+
*/
|
|
24
|
+
term?: string;
|
|
25
|
+
icon?: string;
|
|
26
|
+
/** Authored Character Motion prerequisites and sequence state. Missing means unknown. */
|
|
27
|
+
motion?: CharacterMotionMetadata;
|
|
28
|
+
/**
|
|
29
|
+
* Per-option parameters — node-data fields that apply only while THIS option
|
|
30
|
+
* is picked (the Transition catalog's `wipe` → `wipeDirection`). Same shape
|
|
31
|
+
* as a catalog's `dimensions`, at both detail levels; `auto` leads each list
|
|
32
|
+
* and means "send nothing". Absent on every other option.
|
|
33
|
+
*/
|
|
34
|
+
params?: PickerDimension[];
|
|
35
|
+
/**
|
|
36
|
+
* Absolute URL of the option's picture — a photo, 3D emoji, flag or (Nodaro
|
|
37
|
+
* Cloud only) rendered look preview — on the installation's own host, or the
|
|
38
|
+
* Nodaro CDN for look previews. Absent when the option has no picture. Use it
|
|
39
|
+
* as given: file names carry a content hash, so it can be cached for good.
|
|
40
|
+
*/
|
|
41
|
+
imageUrl?: string;
|
|
42
|
+
}
|
|
43
|
+
interface PickerDimension {
|
|
44
|
+
field: string;
|
|
45
|
+
label: string;
|
|
46
|
+
options: PickerOption[];
|
|
47
|
+
}
|
|
48
|
+
/** A topic a multi-dim catalog's settings are grouped under in the editor (person, styling). */
|
|
49
|
+
interface PickerCatalogSection {
|
|
50
|
+
/** English topic name, e.g. "Identity", "Beauty & Hair". */
|
|
51
|
+
label: string;
|
|
52
|
+
/** Node-data fields of the settings in this topic, in display order. */
|
|
53
|
+
fields: string[];
|
|
54
|
+
/** Absolute URL of the topic's round picture. Absent when it has none. */
|
|
55
|
+
imageUrl?: string;
|
|
56
|
+
}
|
|
57
|
+
interface PickerCatalog {
|
|
58
|
+
nodeType: string;
|
|
59
|
+
label: string;
|
|
60
|
+
catalogId: string;
|
|
61
|
+
kind: "single" | "multi";
|
|
62
|
+
/** single only — the node-data field the chosen id writes to. */
|
|
63
|
+
valueField?: string;
|
|
64
|
+
defaultValue?: string;
|
|
65
|
+
categoryOrder?: string[];
|
|
66
|
+
categoryLabels?: Record<string, string>;
|
|
67
|
+
/** single-dim catalogs. */
|
|
68
|
+
options?: PickerOption[];
|
|
69
|
+
/** multi-dim catalogs. */
|
|
70
|
+
fields?: string[];
|
|
71
|
+
/** Per-field option lists. Multi-dim catalogs always carry these; a
|
|
72
|
+
* single-dim catalog carries them when it has secondary parameter
|
|
73
|
+
* fields beside its main picker (transition position/duration/intensity). */
|
|
74
|
+
dimensions?: PickerDimension[];
|
|
75
|
+
detail?: "compact" | "full";
|
|
76
|
+
/** person and styling: the topics their settings are grouped under, in order, each with its picture. */
|
|
77
|
+
sections?: PickerCatalogSection[];
|
|
78
|
+
}
|
|
79
|
+
interface PickerCatalogSummary {
|
|
80
|
+
nodeType: string;
|
|
81
|
+
label: string;
|
|
82
|
+
catalogId: string;
|
|
83
|
+
kind: "single" | "multi";
|
|
84
|
+
valueField?: string;
|
|
85
|
+
fields?: string[];
|
|
86
|
+
optionCount: number;
|
|
87
|
+
/** How many of those options carry an `imageUrl` (0 = no pictures). Absent from servers that predate pictures. */
|
|
88
|
+
imageCount?: number;
|
|
89
|
+
}
|
|
90
|
+
interface GetPickerCatalogOptions {
|
|
91
|
+
/** "compact" (default) = id, label, category, term, icon, imageUrl; "full" additionally includes description + promptHint. */
|
|
92
|
+
detail?: "compact" | "full";
|
|
93
|
+
/** single-dim: filter to one category. */
|
|
94
|
+
category?: string;
|
|
95
|
+
/** multi-dim: only this dimension field. */
|
|
96
|
+
field?: string;
|
|
97
|
+
}
|
|
98
|
+
/** Input for `analyzeText` (POST /v1/text-to-picker). */
|
|
99
|
+
interface TextToPickerParams {
|
|
100
|
+
/** Free-text scene/shot description to analyze. */
|
|
101
|
+
text: string;
|
|
102
|
+
/** Picker node types to fill. Omit for ALL analyzable pickers (the server
|
|
103
|
+
* fans the analysis out per family and merges). */
|
|
104
|
+
targetPickers?: string[];
|
|
105
|
+
/** Extra guidance appended to the analyzer system prompt. */
|
|
106
|
+
instructions?: string;
|
|
107
|
+
/** Originating client app slug (e.g. "cine") — attribution only. */
|
|
108
|
+
origin?: string;
|
|
109
|
+
llmModel?: string;
|
|
110
|
+
reasoningEffort?: string;
|
|
111
|
+
}
|
|
112
|
+
interface TextToPickerResult {
|
|
113
|
+
jobId: string;
|
|
114
|
+
/** pickerType → dimension → chosen catalog id(s) — same shape as
|
|
115
|
+
* describe-to-picker; hydrate pickers from it verbatim. */
|
|
116
|
+
pickerJson: Record<string, Record<string, string | string[]>>;
|
|
117
|
+
/** Catalog-coverage feedback (attributes the text described that no
|
|
118
|
+
* catalog id represents well). Surface as "we couldn't infer X". */
|
|
119
|
+
gaps?: {
|
|
120
|
+
missingItems: Array<{
|
|
121
|
+
picker: string;
|
|
122
|
+
dimension: string;
|
|
123
|
+
observed: string;
|
|
124
|
+
}>;
|
|
125
|
+
missingCategories: Array<{
|
|
126
|
+
picker: string;
|
|
127
|
+
suggestedDimension: string;
|
|
128
|
+
observed: string;
|
|
129
|
+
}>;
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
declare class PickerCatalogsResource {
|
|
133
|
+
private client;
|
|
134
|
+
constructor(client: NodaroClientCore);
|
|
135
|
+
/** List every parameter-picker node type + its option count. Cached publicly 5 min. */
|
|
136
|
+
list(): Promise<{
|
|
137
|
+
data: PickerCatalogSummary[];
|
|
138
|
+
}>;
|
|
139
|
+
/** Fill pickers from a free-text description (Cine "AI Fill"): returns the
|
|
140
|
+
* same pickerJson shape as describe-to-picker, keyed by picker node type. */
|
|
141
|
+
analyzeText(params: TextToPickerParams): Promise<TextToPickerResult>;
|
|
142
|
+
/** Get one picker's catalog of valid values. */
|
|
143
|
+
get(nodeType: string, opts?: GetPickerCatalogOptions): Promise<{
|
|
144
|
+
data: PickerCatalog;
|
|
145
|
+
}>;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export { type GetPickerCatalogOptions, type PickerCatalog, type PickerCatalogSection, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, type TextToPickerParams, type TextToPickerResult };
|