@commercelayer/sdk 8.0.0-beta.11 → 8.0.0-beta.12
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/LICENSE +1 -1
- package/lib/api-D0eatyA3.d.cts +19341 -0
- package/lib/api-D0eatyA3.d.ts +19341 -0
- package/lib/api.cjs +315 -321
- package/lib/api.d.cts +1 -4
- package/lib/api.d.ts +1 -4
- package/lib/api.js +139 -145
- package/lib/binding.cjs +14 -0
- package/lib/binding.cjs.map +1 -0
- package/lib/binding.d.cts +20 -0
- package/lib/binding.d.ts +20 -0
- package/lib/binding.js +5 -0
- package/lib/binding.js.map +1 -0
- package/lib/bundle-compat.cjs +142 -148
- package/lib/bundle-compat.cjs.map +1 -1
- package/lib/bundle-compat.d.cts +2 -5
- package/lib/bundle-compat.d.ts +2 -5
- package/lib/bundle-compat.js +141 -147
- package/lib/bundle-compat.js.map +1 -1
- package/lib/bundle.cjs +143 -149
- package/lib/bundle.d.cts +2 -5
- package/lib/bundle.d.ts +2 -5
- package/lib/bundle.js +141 -147
- package/lib/chunk-23URFLKP.js +69 -0
- package/lib/chunk-23URFLKP.js.map +1 -0
- package/lib/chunk-24MBIFVA.cjs +70 -0
- package/lib/chunk-24MBIFVA.cjs.map +1 -0
- package/lib/chunk-2BQWTC5S.cjs +125 -0
- package/lib/chunk-2BQWTC5S.cjs.map +1 -0
- package/lib/chunk-2DSQA3AH.js +86 -0
- package/lib/chunk-2DSQA3AH.js.map +1 -0
- package/lib/chunk-2HJ3L77F.cjs +81 -0
- package/lib/chunk-2HJ3L77F.cjs.map +1 -0
- package/lib/chunk-2PNIRVMS.js +75 -0
- package/lib/chunk-2PNIRVMS.js.map +1 -0
- package/lib/chunk-2WSD3E3G.js +77 -0
- package/lib/chunk-2WSD3E3G.js.map +1 -0
- package/lib/chunk-2XIWERKY.js +73 -0
- package/lib/chunk-2XIWERKY.js.map +1 -0
- package/lib/chunk-32NZQRH7.cjs +62 -0
- package/lib/chunk-32NZQRH7.cjs.map +1 -0
- package/lib/chunk-346RKEND.js +84 -0
- package/lib/chunk-346RKEND.js.map +1 -0
- package/lib/chunk-37EXQJZT.js +75 -0
- package/lib/chunk-37EXQJZT.js.map +1 -0
- package/lib/chunk-3DCRFK2I.cjs +70 -0
- package/lib/chunk-3DCRFK2I.cjs.map +1 -0
- package/lib/chunk-3HSY3BRY.js +42 -0
- package/lib/chunk-3HSY3BRY.js.map +1 -0
- package/lib/chunk-3HY6ZUYQ.cjs +115 -0
- package/lib/chunk-3HY6ZUYQ.cjs.map +1 -0
- package/lib/chunk-3NYP67U2.cjs +118 -0
- package/lib/chunk-3NYP67U2.cjs.map +1 -0
- package/lib/chunk-3OXKOEHT.cjs +91 -0
- package/lib/chunk-3OXKOEHT.cjs.map +1 -0
- package/lib/chunk-3P4RX57L.cjs +94 -0
- package/lib/chunk-3P4RX57L.cjs.map +1 -0
- package/lib/chunk-3PZVWRCK.js +180 -0
- package/lib/chunk-3PZVWRCK.js.map +1 -0
- package/lib/chunk-3SMXHQ6X.cjs +61 -0
- package/lib/chunk-3SMXHQ6X.cjs.map +1 -0
- package/lib/chunk-3UOZGKNM.js +129 -0
- package/lib/chunk-3UOZGKNM.js.map +1 -0
- package/lib/chunk-424U6FMB.cjs +44 -0
- package/lib/chunk-424U6FMB.cjs.map +1 -0
- package/lib/chunk-43WFN4DX.cjs +19 -0
- package/lib/chunk-43WFN4DX.cjs.map +1 -0
- package/lib/chunk-475MKBER.cjs +86 -0
- package/lib/chunk-475MKBER.cjs.map +1 -0
- package/lib/chunk-4HB7CRMG.cjs +70 -0
- package/lib/chunk-4HB7CRMG.cjs.map +1 -0
- package/lib/chunk-4IY3XMDJ.cjs +205 -0
- package/lib/chunk-4IY3XMDJ.cjs.map +1 -0
- package/lib/chunk-4PJ2LIM6.js +113 -0
- package/lib/chunk-4PJ2LIM6.js.map +1 -0
- package/lib/chunk-4RZSTEYC.cjs +79 -0
- package/lib/chunk-4RZSTEYC.cjs.map +1 -0
- package/lib/chunk-4VISJW7S.js +68 -0
- package/lib/chunk-4VISJW7S.js.map +1 -0
- package/lib/chunk-4WU3YZF6.cjs +4 -0
- package/lib/chunk-4WU3YZF6.cjs.map +1 -0
- package/lib/chunk-4Y5KJTZE.cjs +614 -0
- package/lib/chunk-4Y5KJTZE.cjs.map +1 -0
- package/lib/chunk-54RV6UFR.js +78 -0
- package/lib/chunk-54RV6UFR.js.map +1 -0
- package/lib/chunk-57VBD4AA.cjs +70 -0
- package/lib/chunk-57VBD4AA.cjs.map +1 -0
- package/lib/chunk-5JUTXCVS.js +191 -0
- package/lib/chunk-5JUTXCVS.js.map +1 -0
- package/lib/chunk-5ZXPNCGU.cjs +102 -0
- package/lib/chunk-5ZXPNCGU.cjs.map +1 -0
- package/lib/chunk-6E76MVAJ.cjs +94 -0
- package/lib/chunk-6E76MVAJ.cjs.map +1 -0
- package/lib/chunk-6ED5TPZK.cjs +79 -0
- package/lib/chunk-6ED5TPZK.cjs.map +1 -0
- package/lib/chunk-6GV72TJ3.js +113 -0
- package/lib/chunk-6GV72TJ3.js.map +1 -0
- package/lib/chunk-6OH35VFP.cjs +61 -0
- package/lib/chunk-6OH35VFP.cjs.map +1 -0
- package/lib/chunk-6PTRHKSW.cjs +70 -0
- package/lib/chunk-6PTRHKSW.cjs.map +1 -0
- package/lib/chunk-6VQ7I5IF.js +51 -0
- package/lib/chunk-6VQ7I5IF.js.map +1 -0
- package/lib/chunk-6XCEZPJE.cjs +85 -0
- package/lib/chunk-6XCEZPJE.cjs.map +1 -0
- package/lib/chunk-73OCIZVQ.cjs +102 -0
- package/lib/chunk-73OCIZVQ.cjs.map +1 -0
- package/lib/chunk-7C7OMUFD.cjs +98 -0
- package/lib/chunk-7C7OMUFD.cjs.map +1 -0
- package/lib/chunk-7FSZ6SBH.js +177 -0
- package/lib/chunk-7FSZ6SBH.js.map +1 -0
- package/lib/chunk-7MAXJKPR.js +80 -0
- package/lib/chunk-7MAXJKPR.js.map +1 -0
- package/lib/chunk-7OO4CUD3.js +203 -0
- package/lib/chunk-7OO4CUD3.js.map +1 -0
- package/lib/chunk-7TDL2W4Y.cjs +70 -0
- package/lib/chunk-7TDL2W4Y.cjs.map +1 -0
- package/lib/chunk-7YQQQTZN.cjs +77 -0
- package/lib/chunk-7YQQQTZN.cjs.map +1 -0
- package/lib/chunk-A5VRPXCX.cjs +134 -0
- package/lib/chunk-A5VRPXCX.cjs.map +1 -0
- package/lib/chunk-A5XWHEAW.js +68 -0
- package/lib/chunk-A5XWHEAW.js.map +1 -0
- package/lib/chunk-ABNTISBI.js +50 -0
- package/lib/chunk-ABNTISBI.js.map +1 -0
- package/lib/chunk-AESVJ5CV.cjs +70 -0
- package/lib/chunk-AESVJ5CV.cjs.map +1 -0
- package/lib/chunk-AOIPH64V.cjs +79 -0
- package/lib/chunk-AOIPH64V.cjs.map +1 -0
- package/lib/chunk-AOSNZ3D5.js +241 -0
- package/lib/chunk-AOSNZ3D5.js.map +1 -0
- package/lib/chunk-AUPYST3F.js +177 -0
- package/lib/chunk-AUPYST3F.js.map +1 -0
- package/lib/chunk-AWA4622I.cjs +80 -0
- package/lib/chunk-AWA4622I.cjs.map +1 -0
- package/lib/chunk-AX5RKHRG.cjs +98 -0
- package/lib/chunk-AX5RKHRG.cjs.map +1 -0
- package/lib/chunk-BHYMWU3Y.js +12 -0
- package/lib/chunk-BHYMWU3Y.js.map +1 -0
- package/lib/chunk-BJFAKJ6R.js +77 -0
- package/lib/chunk-BJFAKJ6R.js.map +1 -0
- package/lib/chunk-BNPSK3AX.cjs +90 -0
- package/lib/chunk-BNPSK3AX.cjs.map +1 -0
- package/lib/chunk-BX3VJO26.js +68 -0
- package/lib/chunk-BX3VJO26.js.map +1 -0
- package/lib/chunk-CCNTO5PD.js +68 -0
- package/lib/chunk-CCNTO5PD.js.map +1 -0
- package/lib/chunk-CHZW23J5.js +24 -0
- package/lib/chunk-CHZW23J5.js.map +1 -0
- package/lib/chunk-CK4S634W.js +51 -0
- package/lib/chunk-CK4S634W.js.map +1 -0
- package/lib/chunk-CL7NQ7SS.js +44 -0
- package/lib/chunk-CL7NQ7SS.js.map +1 -0
- package/lib/chunk-CLJC6OIA.js +91 -0
- package/lib/chunk-CLJC6OIA.js.map +1 -0
- package/lib/chunk-CPTBSFBO.js +51 -0
- package/lib/chunk-CPTBSFBO.js.map +1 -0
- package/lib/chunk-CQKXD2E4.js +84 -0
- package/lib/chunk-CQKXD2E4.js.map +1 -0
- package/lib/chunk-CSOKDC4R.cjs +88 -0
- package/lib/chunk-CSOKDC4R.cjs.map +1 -0
- package/lib/chunk-CSUG7RWW.js +65 -0
- package/lib/chunk-CSUG7RWW.js.map +1 -0
- package/lib/chunk-CTIVKRAD.cjs +70 -0
- package/lib/chunk-CTIVKRAD.cjs.map +1 -0
- package/lib/chunk-CUHP564L.js +89 -0
- package/lib/chunk-CUHP564L.js.map +1 -0
- package/lib/chunk-CUK2U7NN.cjs +62 -0
- package/lib/chunk-CUK2U7NN.cjs.map +1 -0
- package/lib/chunk-CWXVJ6YG.js +89 -0
- package/lib/chunk-CWXVJ6YG.js.map +1 -0
- package/lib/chunk-CY2PLGSB.cjs +120 -0
- package/lib/chunk-CY2PLGSB.cjs.map +1 -0
- package/lib/chunk-D2TP75LQ.cjs +67 -0
- package/lib/chunk-D2TP75LQ.cjs.map +1 -0
- package/lib/chunk-D37NLCFK.js +191 -0
- package/lib/chunk-D37NLCFK.js.map +1 -0
- package/lib/chunk-D5VC6YOB.cjs +91 -0
- package/lib/chunk-D5VC6YOB.cjs.map +1 -0
- package/lib/chunk-DA5GCFQM.cjs +89 -0
- package/lib/chunk-DA5GCFQM.cjs.map +1 -0
- package/lib/chunk-DFOOH2WW.js +60 -0
- package/lib/chunk-DFOOH2WW.js.map +1 -0
- package/lib/chunk-DHPCNTAW.cjs +98 -0
- package/lib/chunk-DHPCNTAW.cjs.map +1 -0
- package/lib/chunk-DJBO3WTX.js +68 -0
- package/lib/chunk-DJBO3WTX.js.map +1 -0
- package/lib/chunk-DQXPL4R4.js +709 -0
- package/lib/chunk-DQXPL4R4.js.map +1 -0
- package/lib/chunk-EATLGC6R.cjs +79 -0
- package/lib/chunk-EATLGC6R.cjs.map +1 -0
- package/lib/chunk-EBUSVBHB.js +68 -0
- package/lib/chunk-EBUSVBHB.js.map +1 -0
- package/lib/chunk-EDU5O2BV.js +94 -0
- package/lib/chunk-EDU5O2BV.js.map +1 -0
- package/lib/chunk-EEUEHM7P.js +58 -0
- package/lib/chunk-EEUEHM7P.js.map +1 -0
- package/lib/chunk-EGD5RSXO.js +38 -0
- package/lib/chunk-EGD5RSXO.js.map +1 -0
- package/lib/chunk-ENTP2RZN.js +89 -0
- package/lib/chunk-ENTP2RZN.js.map +1 -0
- package/lib/chunk-EPCTKVEX.js +50 -0
- package/lib/chunk-EPCTKVEX.js.map +1 -0
- package/lib/chunk-ERIYAZFF.cjs +91 -0
- package/lib/chunk-ERIYAZFF.cjs.map +1 -0
- package/lib/chunk-ESVJZWNY.js +89 -0
- package/lib/chunk-ESVJZWNY.js.map +1 -0
- package/lib/chunk-EXKSLABH.cjs +26 -0
- package/lib/chunk-EXKSLABH.cjs.map +1 -0
- package/lib/chunk-F4NY3VXW.js +51 -0
- package/lib/chunk-F4NY3VXW.js.map +1 -0
- package/lib/chunk-FAY6QWMD.js +59 -0
- package/lib/chunk-FAY6QWMD.js.map +1 -0
- package/lib/chunk-FB4YNZ27.cjs +77 -0
- package/lib/chunk-FB4YNZ27.cjs.map +1 -0
- package/lib/chunk-FBN3XE7X.js +321 -0
- package/lib/chunk-FBN3XE7X.js.map +1 -0
- package/lib/chunk-FBUQUNF7.js +50 -0
- package/lib/chunk-FBUQUNF7.js.map +1 -0
- package/lib/chunk-FJFKKH63.js +96 -0
- package/lib/chunk-FJFKKH63.js.map +1 -0
- package/lib/chunk-FLTDGOWH.cjs +179 -0
- package/lib/chunk-FLTDGOWH.cjs.map +1 -0
- package/lib/chunk-FSYGL7JD.js +3 -0
- package/lib/chunk-FSYGL7JD.js.map +1 -0
- package/lib/chunk-FTJVKRNI.cjs +70 -0
- package/lib/chunk-FTJVKRNI.cjs.map +1 -0
- package/lib/chunk-FU6GXVWX.cjs +70 -0
- package/lib/chunk-FU6GXVWX.cjs.map +1 -0
- package/lib/chunk-FX3LUP53.cjs +96 -0
- package/lib/chunk-FX3LUP53.cjs.map +1 -0
- package/lib/chunk-G264EKGR.js +86 -0
- package/lib/chunk-G264EKGR.js.map +1 -0
- package/lib/chunk-G66NQJYO.cjs +82 -0
- package/lib/chunk-G66NQJYO.cjs.map +1 -0
- package/lib/chunk-GBA62ZSN.cjs +52 -0
- package/lib/chunk-GBA62ZSN.cjs.map +1 -0
- package/lib/chunk-GCVUOAVT.js +86 -0
- package/lib/chunk-GCVUOAVT.js.map +1 -0
- package/lib/chunk-GEY2R25H.js +60 -0
- package/lib/chunk-GEY2R25H.js.map +1 -0
- package/lib/chunk-GFYA3JFR.js +100 -0
- package/lib/chunk-GFYA3JFR.js.map +1 -0
- package/lib/chunk-GKLSNJYZ.cjs +62 -0
- package/lib/chunk-GKLSNJYZ.cjs.map +1 -0
- package/lib/chunk-GLYW4X75.js +77 -0
- package/lib/chunk-GLYW4X75.js.map +1 -0
- package/lib/chunk-GQ4EG3PH.js +177 -0
- package/lib/chunk-GQ4EG3PH.js.map +1 -0
- package/lib/chunk-GRMIWQRN.js +68 -0
- package/lib/chunk-GRMIWQRN.js.map +1 -0
- package/lib/chunk-GRN6UI5O.js +75 -0
- package/lib/chunk-GRN6UI5O.js.map +1 -0
- package/lib/chunk-GRY655U3.cjs +61 -0
- package/lib/chunk-GRY655U3.cjs.map +1 -0
- package/lib/chunk-GUOXJ2II.cjs +182 -0
- package/lib/chunk-GUOXJ2II.cjs.map +1 -0
- package/lib/chunk-GWAJA5WZ.cjs +179 -0
- package/lib/chunk-GWAJA5WZ.cjs.map +1 -0
- package/lib/chunk-H24OE6OL.js +542 -0
- package/lib/chunk-H24OE6OL.js.map +1 -0
- package/lib/chunk-H7C5BAYC.js +82 -0
- package/lib/chunk-H7C5BAYC.js.map +1 -0
- package/lib/chunk-HABG2EQZ.cjs +179 -0
- package/lib/chunk-HABG2EQZ.cjs.map +1 -0
- package/lib/chunk-HEQKQD6L.cjs +80 -0
- package/lib/chunk-HEQKQD6L.cjs.map +1 -0
- package/lib/chunk-HEUHQU5Q.js +177 -0
- package/lib/chunk-HEUHQU5Q.js.map +1 -0
- package/lib/chunk-HHLBPITX.js +92 -0
- package/lib/chunk-HHLBPITX.js.map +1 -0
- package/lib/chunk-HUA4G4G7.cjs +53 -0
- package/lib/chunk-HUA4G4G7.cjs.map +1 -0
- package/lib/chunk-I2U6TRXU.js +86 -0
- package/lib/chunk-I2U6TRXU.js.map +1 -0
- package/lib/chunk-I2Y5MGCV.js +89 -0
- package/lib/chunk-I2Y5MGCV.js.map +1 -0
- package/lib/chunk-I5AS47IY.js +808 -0
- package/lib/chunk-I5AS47IY.js.map +1 -0
- package/lib/chunk-IEVOIBTG.cjs +84 -0
- package/lib/chunk-IEVOIBTG.cjs.map +1 -0
- package/lib/chunk-IF6TZTLV.js +65 -0
- package/lib/chunk-IF6TZTLV.js.map +1 -0
- package/lib/chunk-IHLDYOF4.js +69 -0
- package/lib/chunk-IHLDYOF4.js.map +1 -0
- package/lib/chunk-IIBH66T2.cjs +79 -0
- package/lib/chunk-IIBH66T2.cjs.map +1 -0
- package/lib/chunk-IKRDK376.js +58 -0
- package/lib/chunk-IKRDK376.js.map +1 -0
- package/lib/chunk-IRP2NUMF.cjs +62 -0
- package/lib/chunk-IRP2NUMF.cjs.map +1 -0
- package/lib/chunk-J267I7R5.js +68 -0
- package/lib/chunk-J267I7R5.js.map +1 -0
- package/lib/chunk-J2P4L2YP.cjs +52 -0
- package/lib/chunk-J2P4L2YP.cjs.map +1 -0
- package/lib/chunk-J7LYW2GF.js +77 -0
- package/lib/chunk-J7LYW2GF.js.map +1 -0
- package/lib/chunk-JA77OJAG.cjs +70 -0
- package/lib/chunk-JA77OJAG.cjs.map +1 -0
- package/lib/chunk-JAQEC2MQ.js +82 -0
- package/lib/chunk-JAQEC2MQ.js.map +1 -0
- package/lib/chunk-JDTLKWLV.js +116 -0
- package/lib/chunk-JDTLKWLV.js.map +1 -0
- package/lib/chunk-JITZJ3ZG.js +82 -0
- package/lib/chunk-JITZJ3ZG.js.map +1 -0
- package/lib/chunk-JL37DZ7T.js +75 -0
- package/lib/chunk-JL37DZ7T.js.map +1 -0
- package/lib/chunk-JTHQO3SQ.cjs +88 -0
- package/lib/chunk-JTHQO3SQ.cjs.map +1 -0
- package/lib/chunk-JWZI2CF2.js +17 -0
- package/lib/chunk-JWZI2CF2.js.map +1 -0
- package/lib/chunk-JXVQ46M2.js +68 -0
- package/lib/chunk-JXVQ46M2.js.map +1 -0
- package/lib/chunk-K6WHEZM5.cjs +60 -0
- package/lib/chunk-K6WHEZM5.cjs.map +1 -0
- package/lib/chunk-KADJ44US.js +36 -0
- package/lib/chunk-KADJ44US.js.map +1 -0
- package/lib/chunk-KBUV2RVV.cjs +44 -0
- package/lib/chunk-KBUV2RVV.cjs.map +1 -0
- package/lib/chunk-KCFF7UUD.js +132 -0
- package/lib/chunk-KCFF7UUD.js.map +1 -0
- package/lib/chunk-KCNFVPYB.js +42 -0
- package/lib/chunk-KCNFVPYB.js.map +1 -0
- package/lib/chunk-KCZQRESM.js +164 -0
- package/lib/chunk-KCZQRESM.js.map +1 -0
- package/lib/chunk-KDJZITT5.js +77 -0
- package/lib/chunk-KDJZITT5.js.map +1 -0
- package/lib/chunk-KIMYXQMX.cjs +86 -0
- package/lib/chunk-KIMYXQMX.cjs.map +1 -0
- package/lib/chunk-KNQK7T6A.js +87 -0
- package/lib/chunk-KNQK7T6A.js.map +1 -0
- package/lib/chunk-KSBMPODE.js +612 -0
- package/lib/chunk-KSBMPODE.js.map +1 -0
- package/lib/chunk-KTBWKQ6V.cjs +166 -0
- package/lib/chunk-KTBWKQ6V.cjs.map +1 -0
- package/lib/chunk-KWE3LK3M.cjs +62 -0
- package/lib/chunk-KWE3LK3M.cjs.map +1 -0
- package/lib/chunk-KWLVA6Z4.cjs +131 -0
- package/lib/chunk-KWLVA6Z4.cjs.map +1 -0
- package/lib/chunk-L4JABO3R.js +33 -0
- package/lib/chunk-L4JABO3R.js.map +1 -0
- package/lib/chunk-L5VFXDWX.cjs +60 -0
- package/lib/chunk-L5VFXDWX.cjs.map +1 -0
- package/lib/chunk-LAJXSUB4.cjs +63 -0
- package/lib/chunk-LAJXSUB4.cjs.map +1 -0
- package/lib/chunk-LKWLTTDG.cjs +70 -0
- package/lib/chunk-LKWLTTDG.cjs.map +1 -0
- package/lib/chunk-LQDXQKIT.cjs +62 -0
- package/lib/chunk-LQDXQKIT.cjs.map +1 -0
- package/lib/chunk-LRVC7V2N.cjs +193 -0
- package/lib/chunk-LRVC7V2N.cjs.map +1 -0
- package/lib/chunk-LWFWUWU4.cjs +122 -0
- package/lib/chunk-LWFWUWU4.cjs.map +1 -0
- package/lib/chunk-MA6XX7BH.cjs +16 -0
- package/lib/chunk-MA6XX7BH.cjs.map +1 -0
- package/lib/chunk-MALO5K7G.js +68 -0
- package/lib/chunk-MALO5K7G.js.map +1 -0
- package/lib/chunk-MKL2WQSE.cjs +69 -0
- package/lib/chunk-MKL2WQSE.cjs.map +1 -0
- package/lib/chunk-MQMRNDRB.js +75 -0
- package/lib/chunk-MQMRNDRB.js.map +1 -0
- package/lib/chunk-MRBG72Y3.cjs +179 -0
- package/lib/chunk-MRBG72Y3.cjs.map +1 -0
- package/lib/chunk-NBCRS7KO.cjs +556 -0
- package/lib/chunk-NBCRS7KO.cjs.map +1 -0
- package/lib/chunk-NCXJJGO2.cjs +84 -0
- package/lib/chunk-NCXJJGO2.cjs.map +1 -0
- package/lib/chunk-NLHDTN37.cjs +193 -0
- package/lib/chunk-NLHDTN37.cjs.map +1 -0
- package/lib/chunk-NP2JYF3V.cjs +81 -0
- package/lib/chunk-NP2JYF3V.cjs.map +1 -0
- package/lib/chunk-O4YV47MU.js +196 -0
- package/lib/chunk-O4YV47MU.js.map +1 -0
- package/lib/chunk-OCGQKSBT.cjs +46 -0
- package/lib/chunk-OCGQKSBT.cjs.map +1 -0
- package/lib/chunk-OEK7SCVD.js +60 -0
- package/lib/chunk-OEK7SCVD.js.map +1 -0
- package/lib/chunk-OEKHEAG5.cjs +35 -0
- package/lib/chunk-OEKHEAG5.cjs.map +1 -0
- package/lib/chunk-OIQVUXAY.cjs +62 -0
- package/lib/chunk-OIQVUXAY.cjs.map +1 -0
- package/lib/chunk-OOYCXVXP.cjs +53 -0
- package/lib/chunk-OOYCXVXP.cjs.map +1 -0
- package/lib/chunk-ORFPHNVU.js +89 -0
- package/lib/chunk-ORFPHNVU.js.map +1 -0
- package/lib/chunk-OTZHBYV5.js +123 -0
- package/lib/chunk-OTZHBYV5.js.map +1 -0
- package/lib/chunk-P3Y42EGI.cjs +38 -0
- package/lib/chunk-P3Y42EGI.cjs.map +1 -0
- package/lib/chunk-P74KHE2J.cjs +98 -0
- package/lib/chunk-P74KHE2J.cjs.map +1 -0
- package/lib/chunk-PHCU2GSM.cjs +77 -0
- package/lib/chunk-PHCU2GSM.cjs.map +1 -0
- package/lib/chunk-POLTI6QO.cjs +93 -0
- package/lib/chunk-POLTI6QO.cjs.map +1 -0
- package/lib/chunk-PPB6W4JC.cjs +91 -0
- package/lib/chunk-PPB6W4JC.cjs.map +1 -0
- package/lib/chunk-PRE3YU5A.cjs +816 -0
- package/lib/chunk-PRE3YU5A.cjs.map +1 -0
- package/lib/chunk-PRVN45UR.cjs +88 -0
- package/lib/chunk-PRVN45UR.cjs.map +1 -0
- package/lib/chunk-PU57SF2R.cjs +77 -0
- package/lib/chunk-PU57SF2R.cjs.map +1 -0
- package/lib/chunk-PUTHUCU7.cjs +53 -0
- package/lib/chunk-PUTHUCU7.cjs.map +1 -0
- package/lib/chunk-PVXN3ZX4.cjs +88 -0
- package/lib/chunk-PVXN3ZX4.cjs.map +1 -0
- package/lib/chunk-Q7FCC7A4.js +77 -0
- package/lib/chunk-Q7FCC7A4.js.map +1 -0
- package/lib/chunk-QENVU424.js +68 -0
- package/lib/chunk-QENVU424.js.map +1 -0
- package/lib/chunk-QETFMOWJ.js +118 -0
- package/lib/chunk-QETFMOWJ.js.map +1 -0
- package/lib/chunk-QJ5B6HGE.js +68 -0
- package/lib/chunk-QJ5B6HGE.js.map +1 -0
- package/lib/chunk-QLZRFKNC.js +118 -0
- package/lib/chunk-QLZRFKNC.js.map +1 -0
- package/lib/chunk-QOMCY4NX.js +79 -0
- package/lib/chunk-QOMCY4NX.js.map +1 -0
- package/lib/chunk-QQNJZOBS.cjs +170 -0
- package/lib/chunk-QQNJZOBS.cjs.map +1 -0
- package/lib/chunk-QRAY4AHE.js +60 -0
- package/lib/chunk-QRAY4AHE.js.map +1 -0
- package/lib/chunk-QRUPAU4D.cjs +79 -0
- package/lib/chunk-QRUPAU4D.cjs.map +1 -0
- package/lib/chunk-QSM6HEUU.cjs +70 -0
- package/lib/chunk-QSM6HEUU.cjs.map +1 -0
- package/lib/chunk-QVEX5Q65.cjs +81 -0
- package/lib/chunk-QVEX5Q65.cjs.map +1 -0
- package/lib/chunk-QWKAFFRB.cjs +77 -0
- package/lib/chunk-QWKAFFRB.cjs.map +1 -0
- package/lib/chunk-QXT4NCXW.cjs +29 -0
- package/lib/chunk-QXT4NCXW.cjs.map +1 -0
- package/lib/chunk-QXVR6ZZR.js +177 -0
- package/lib/chunk-QXVR6ZZR.js.map +1 -0
- package/lib/chunk-QZEWBE5D.js +42 -0
- package/lib/chunk-QZEWBE5D.js.map +1 -0
- package/lib/chunk-QZONKNRQ.js +177 -0
- package/lib/chunk-QZONKNRQ.js.map +1 -0
- package/lib/chunk-R4FCMGTE.cjs +243 -0
- package/lib/chunk-R4FCMGTE.cjs.map +1 -0
- package/lib/chunk-RD3TXYW5.js +83 -0
- package/lib/chunk-RD3TXYW5.js.map +1 -0
- package/lib/chunk-RGBFHUC2.js +91 -0
- package/lib/chunk-RGBFHUC2.js.map +1 -0
- package/lib/chunk-RGOILWCB.js +124 -0
- package/lib/chunk-RGOILWCB.js.map +1 -0
- package/lib/chunk-RKNDHKGN.js +61 -0
- package/lib/chunk-RKNDHKGN.js.map +1 -0
- package/lib/chunk-RPYJJTIG.js +68 -0
- package/lib/chunk-RPYJJTIG.js.map +1 -0
- package/lib/chunk-RQ5I4JHS.cjs +88 -0
- package/lib/chunk-RQ5I4JHS.cjs.map +1 -0
- package/lib/chunk-RQLMQP6U.cjs +120 -0
- package/lib/chunk-RQLMQP6U.cjs.map +1 -0
- package/lib/chunk-RZ4WI3NH.js +60 -0
- package/lib/chunk-RZ4WI3NH.js.map +1 -0
- package/lib/chunk-RZIW25QW.js +68 -0
- package/lib/chunk-RZIW25QW.js.map +1 -0
- package/lib/chunk-S4AT2O34.cjs +122 -0
- package/lib/chunk-S4AT2O34.cjs.map +1 -0
- package/lib/chunk-S5PIAPKP.cjs +84 -0
- package/lib/chunk-S5PIAPKP.cjs.map +1 -0
- package/lib/chunk-S6HWFMH3.cjs +193 -0
- package/lib/chunk-S6HWFMH3.cjs.map +1 -0
- package/lib/chunk-SO3WXEZ4.cjs +52 -0
- package/lib/chunk-SO3WXEZ4.cjs.map +1 -0
- package/lib/chunk-SRQ6QGXC.js +79 -0
- package/lib/chunk-SRQ6QGXC.js.map +1 -0
- package/lib/chunk-T2ERHAGG.cjs +55 -0
- package/lib/chunk-T2ERHAGG.cjs.map +1 -0
- package/lib/chunk-T5ZRTAPG.cjs +91 -0
- package/lib/chunk-T5ZRTAPG.cjs.map +1 -0
- package/lib/chunk-TB2EIJER.cjs +179 -0
- package/lib/chunk-TB2EIJER.cjs.map +1 -0
- package/lib/chunk-TD35HNQP.js +168 -0
- package/lib/chunk-TD35HNQP.js.map +1 -0
- package/lib/chunk-TPPUQQPC.js +77 -0
- package/lib/chunk-TPPUQQPC.js.map +1 -0
- package/lib/chunk-TUNBZ3ZH.cjs +84 -0
- package/lib/chunk-TUNBZ3ZH.cjs.map +1 -0
- package/lib/chunk-TWAYAXA2.js +67 -0
- package/lib/chunk-TWAYAXA2.js.map +1 -0
- package/lib/chunk-U34KUQXA.js +120 -0
- package/lib/chunk-U34KUQXA.js.map +1 -0
- package/lib/chunk-U6JAKKOV.js +100 -0
- package/lib/chunk-U6JAKKOV.js.map +1 -0
- package/lib/chunk-UBE4YSEL.js +60 -0
- package/lib/chunk-UBE4YSEL.js.map +1 -0
- package/lib/chunk-UCECBYPO.cjs +44 -0
- package/lib/chunk-UCECBYPO.cjs.map +1 -0
- package/lib/chunk-UGQAWILC.js +53 -0
- package/lib/chunk-UGQAWILC.js.map +1 -0
- package/lib/chunk-UGSEWMOT.js +77 -0
- package/lib/chunk-UGSEWMOT.js.map +1 -0
- package/lib/chunk-UIJCNVX4.js +59 -0
- package/lib/chunk-UIJCNVX4.js.map +1 -0
- package/lib/chunk-UMRNYMOF.js +68 -0
- package/lib/chunk-UMRNYMOF.js.map +1 -0
- package/lib/chunk-USUPWZTW.cjs +198 -0
- package/lib/chunk-USUPWZTW.cjs.map +1 -0
- package/lib/chunk-UZ4CGMXI.cjs +70 -0
- package/lib/chunk-UZ4CGMXI.cjs.map +1 -0
- package/lib/chunk-V3XCCIJQ.js +77 -0
- package/lib/chunk-V3XCCIJQ.js.map +1 -0
- package/lib/chunk-V46ZQIRF.js +77 -0
- package/lib/chunk-V46ZQIRF.js.map +1 -0
- package/lib/chunk-V7ID2Q5E.js +100 -0
- package/lib/chunk-V7ID2Q5E.js.map +1 -0
- package/lib/chunk-VCWICZZ3.js +191 -0
- package/lib/chunk-VCWICZZ3.js.map +1 -0
- package/lib/chunk-VCXOJHZ5.cjs +712 -0
- package/lib/chunk-VCXOJHZ5.cjs.map +1 -0
- package/lib/chunk-VR3MIUI6.js +96 -0
- package/lib/chunk-VR3MIUI6.js.map +1 -0
- package/lib/chunk-VSFS2YSQ.cjs +44 -0
- package/lib/chunk-VSFS2YSQ.cjs.map +1 -0
- package/lib/chunk-VWQLM2QW.cjs +93 -0
- package/lib/chunk-VWQLM2QW.cjs.map +1 -0
- package/lib/chunk-VZ37VWLV.cjs +71 -0
- package/lib/chunk-VZ37VWLV.cjs.map +1 -0
- package/lib/chunk-VZDWZE2F.cjs +79 -0
- package/lib/chunk-VZDWZE2F.cjs.map +1 -0
- package/lib/chunk-WBCNIXDU.js +27 -0
- package/lib/chunk-WBCNIXDU.js.map +1 -0
- package/lib/chunk-WCQ7PU3I.js +60 -0
- package/lib/chunk-WCQ7PU3I.js.map +1 -0
- package/lib/chunk-WCVSRFDT.cjs +79 -0
- package/lib/chunk-WCVSRFDT.cjs.map +1 -0
- package/lib/chunk-WG3VU7K6.cjs +79 -0
- package/lib/chunk-WG3VU7K6.cjs.map +1 -0
- package/lib/chunk-WHZ3RDUY.js +86 -0
- package/lib/chunk-WHZ3RDUY.js.map +1 -0
- package/lib/chunk-WJILFEDV.js +96 -0
- package/lib/chunk-WJILFEDV.js.map +1 -0
- package/lib/chunk-WPROPYFB.cjs +79 -0
- package/lib/chunk-WPROPYFB.cjs.map +1 -0
- package/lib/chunk-WQEUUUBH.cjs +91 -0
- package/lib/chunk-WQEUUUBH.cjs.map +1 -0
- package/lib/chunk-WSSWGPDM.cjs +179 -0
- package/lib/chunk-WSSWGPDM.cjs.map +1 -0
- package/lib/chunk-WXF62JJL.js +51 -0
- package/lib/chunk-WXF62JJL.js.map +1 -0
- package/lib/chunk-X22S44DG.cjs +323 -0
- package/lib/chunk-X22S44DG.cjs.map +1 -0
- package/lib/chunk-X6NDTTWQ.cjs +75 -0
- package/lib/chunk-X6NDTTWQ.cjs.map +1 -0
- package/lib/chunk-XD7YRJZM.cjs +67 -0
- package/lib/chunk-XD7YRJZM.cjs.map +1 -0
- package/lib/chunk-XH7RV45F.js +92 -0
- package/lib/chunk-XH7RV45F.js.map +1 -0
- package/lib/chunk-XIKMN2I3.js +77 -0
- package/lib/chunk-XIKMN2I3.js.map +1 -0
- package/lib/chunk-XJFBOBME.cjs +70 -0
- package/lib/chunk-XJFBOBME.cjs.map +1 -0
- package/lib/chunk-XRY6YJDC.cjs +53 -0
- package/lib/chunk-XRY6YJDC.cjs.map +1 -0
- package/lib/chunk-XTJW3CUF.js +77 -0
- package/lib/chunk-XTJW3CUF.js.map +1 -0
- package/lib/chunk-XUCUG7FA.cjs +79 -0
- package/lib/chunk-XUCUG7FA.cjs.map +1 -0
- package/lib/chunk-XVFH2RND.js +78 -0
- package/lib/chunk-XVFH2RND.js.map +1 -0
- package/lib/chunk-XWDHQ75A.js +59 -0
- package/lib/chunk-XWDHQ75A.js.map +1 -0
- package/lib/chunk-XWID26AA.cjs +71 -0
- package/lib/chunk-XWID26AA.cjs.map +1 -0
- package/lib/chunk-XZ2E3WPZ.js +120 -0
- package/lib/chunk-XZ2E3WPZ.js.map +1 -0
- package/lib/chunk-Y62PYMY5.cjs +126 -0
- package/lib/chunk-Y62PYMY5.cjs.map +1 -0
- package/lib/chunk-Y77CQIUK.js +79 -0
- package/lib/chunk-Y77CQIUK.js.map +1 -0
- package/lib/chunk-YBNXYHJL.cjs +40 -0
- package/lib/chunk-YBNXYHJL.cjs.map +1 -0
- package/lib/chunk-YE3KE4FH.cjs +79 -0
- package/lib/chunk-YE3KE4FH.cjs.map +1 -0
- package/lib/chunk-YKVNRK57.js +42 -0
- package/lib/chunk-YKVNRK57.js.map +1 -0
- package/lib/chunk-YNWJLLHC.cjs +53 -0
- package/lib/chunk-YNWJLLHC.cjs.map +1 -0
- package/lib/chunk-YOOIJWJP.cjs +102 -0
- package/lib/chunk-YOOIJWJP.cjs.map +1 -0
- package/lib/chunk-YRJDRXKK.cjs +117 -0
- package/lib/chunk-YRJDRXKK.cjs.map +1 -0
- package/lib/chunk-YY3PFKZX.js +82 -0
- package/lib/chunk-YY3PFKZX.js.map +1 -0
- package/lib/chunk-YYFXD3AB.js +96 -0
- package/lib/chunk-YYFXD3AB.js.map +1 -0
- package/lib/chunk-YZBOV7XI.js +88 -0
- package/lib/chunk-YZBOV7XI.js.map +1 -0
- package/lib/commercelayer.cjs +11 -17
- package/lib/commercelayer.d.cts +2 -5
- package/lib/commercelayer.d.ts +2 -5
- package/lib/commercelayer.js +5 -11
- package/lib/enum.cjs +14 -15
- package/lib/enum.d.cts +1 -4
- package/lib/enum.d.ts +1 -4
- package/lib/enum.js +1 -2
- package/lib/error-C0BYyTel.d.cts +33 -0
- package/lib/error-C0BYyTel.d.ts +33 -0
- package/lib/index.cjs +150 -156
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +2 -5
- package/lib/index.d.ts +2 -5
- package/lib/index.js +145 -151
- package/lib/index.js.map +1 -1
- package/lib/model.d.cts +1 -4
- package/lib/model.d.ts +1 -4
- package/lib/resources/addresses.cjs +6 -12
- package/lib/resources/addresses.d.cts +2 -5
- package/lib/resources/addresses.d.ts +1 -4
- package/lib/resources/addresses.js +5 -11
- package/lib/resources/adjustments.cjs +6 -12
- package/lib/resources/adjustments.d.cts +2 -5
- package/lib/resources/adjustments.d.ts +1 -4
- package/lib/resources/adjustments.js +5 -11
- package/lib/resources/adyen_gateways.cjs +6 -12
- package/lib/resources/adyen_gateways.d.cts +2 -5
- package/lib/resources/adyen_gateways.d.ts +1 -4
- package/lib/resources/adyen_gateways.js +5 -11
- package/lib/resources/adyen_payments.cjs +6 -12
- package/lib/resources/adyen_payments.d.cts +2 -5
- package/lib/resources/adyen_payments.d.ts +1 -4
- package/lib/resources/adyen_payments.js +5 -11
- package/lib/resources/applications.cjs +6 -12
- package/lib/resources/applications.d.cts +2 -5
- package/lib/resources/applications.d.ts +1 -4
- package/lib/resources/applications.js +5 -11
- package/lib/resources/attachments.cjs +6 -12
- package/lib/resources/attachments.d.cts +2 -5
- package/lib/resources/attachments.d.ts +1 -4
- package/lib/resources/attachments.js +5 -11
- package/lib/resources/authorizations.cjs +6 -12
- package/lib/resources/authorizations.d.cts +2 -5
- package/lib/resources/authorizations.d.ts +1 -4
- package/lib/resources/authorizations.js +5 -11
- package/lib/resources/avalara_accounts.cjs +6 -12
- package/lib/resources/avalara_accounts.d.cts +2 -5
- package/lib/resources/avalara_accounts.d.ts +1 -4
- package/lib/resources/avalara_accounts.js +5 -11
- package/lib/resources/axerve_gateways.cjs +6 -12
- package/lib/resources/axerve_gateways.d.cts +2 -5
- package/lib/resources/axerve_gateways.d.ts +1 -4
- package/lib/resources/axerve_gateways.js +5 -11
- package/lib/resources/axerve_payments.cjs +6 -12
- package/lib/resources/axerve_payments.d.cts +2 -5
- package/lib/resources/axerve_payments.d.ts +1 -4
- package/lib/resources/axerve_payments.js +5 -11
- package/lib/resources/billing_info_validation_rules.cjs +6 -12
- package/lib/resources/billing_info_validation_rules.d.cts +2 -5
- package/lib/resources/billing_info_validation_rules.d.ts +1 -4
- package/lib/resources/billing_info_validation_rules.js +5 -11
- package/lib/resources/bing_geocoders.cjs +6 -12
- package/lib/resources/bing_geocoders.d.cts +2 -5
- package/lib/resources/bing_geocoders.d.ts +1 -4
- package/lib/resources/bing_geocoders.js +5 -11
- package/lib/resources/braintree_gateways.cjs +6 -12
- package/lib/resources/braintree_gateways.d.cts +2 -5
- package/lib/resources/braintree_gateways.d.ts +1 -4
- package/lib/resources/braintree_gateways.js +5 -11
- package/lib/resources/braintree_payments.cjs +6 -12
- package/lib/resources/braintree_payments.d.cts +2 -5
- package/lib/resources/braintree_payments.d.ts +1 -4
- package/lib/resources/braintree_payments.js +5 -11
- package/lib/resources/bundles.cjs +6 -12
- package/lib/resources/bundles.d.cts +2 -5
- package/lib/resources/bundles.d.ts +1 -4
- package/lib/resources/bundles.js +5 -11
- package/lib/resources/buy_x_pay_y_promotions.cjs +6 -12
- package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -5
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -4
- package/lib/resources/buy_x_pay_y_promotions.js +5 -11
- package/lib/resources/captures.cjs +6 -12
- package/lib/resources/captures.d.cts +2 -5
- package/lib/resources/captures.d.ts +1 -4
- package/lib/resources/captures.js +5 -11
- package/lib/resources/carrier_accounts.cjs +6 -12
- package/lib/resources/carrier_accounts.d.cts +2 -5
- package/lib/resources/carrier_accounts.d.ts +1 -4
- package/lib/resources/carrier_accounts.js +5 -11
- package/lib/resources/checkout_com_gateways.cjs +6 -12
- package/lib/resources/checkout_com_gateways.d.cts +2 -5
- package/lib/resources/checkout_com_gateways.d.ts +1 -4
- package/lib/resources/checkout_com_gateways.js +5 -11
- package/lib/resources/checkout_com_payments.cjs +6 -12
- package/lib/resources/checkout_com_payments.d.cts +2 -5
- package/lib/resources/checkout_com_payments.d.ts +1 -4
- package/lib/resources/checkout_com_payments.js +5 -11
- package/lib/resources/cleanups.cjs +6 -12
- package/lib/resources/cleanups.d.cts +2 -5
- package/lib/resources/cleanups.d.ts +1 -4
- package/lib/resources/cleanups.js +5 -11
- package/lib/resources/coupon_codes_promotion_rules.cjs +6 -12
- package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -5
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -4
- package/lib/resources/coupon_codes_promotion_rules.js +5 -11
- package/lib/resources/coupon_recipients.cjs +6 -12
- package/lib/resources/coupon_recipients.d.cts +2 -5
- package/lib/resources/coupon_recipients.d.ts +1 -4
- package/lib/resources/coupon_recipients.js +5 -11
- package/lib/resources/coupons.cjs +6 -12
- package/lib/resources/coupons.d.cts +2 -5
- package/lib/resources/coupons.d.ts +1 -4
- package/lib/resources/coupons.js +5 -11
- package/lib/resources/custom_promotion_rules.cjs +6 -12
- package/lib/resources/custom_promotion_rules.d.cts +2 -5
- package/lib/resources/custom_promotion_rules.d.ts +1 -4
- package/lib/resources/custom_promotion_rules.js +5 -11
- package/lib/resources/customer_addresses.cjs +6 -12
- package/lib/resources/customer_addresses.d.cts +2 -5
- package/lib/resources/customer_addresses.d.ts +1 -4
- package/lib/resources/customer_addresses.js +5 -11
- package/lib/resources/customer_groups.cjs +6 -12
- package/lib/resources/customer_groups.d.cts +2 -5
- package/lib/resources/customer_groups.d.ts +1 -4
- package/lib/resources/customer_groups.js +5 -11
- package/lib/resources/customer_password_resets.cjs +6 -12
- package/lib/resources/customer_password_resets.d.cts +2 -5
- package/lib/resources/customer_password_resets.d.ts +1 -4
- package/lib/resources/customer_password_resets.js +5 -11
- package/lib/resources/customer_payment_sources.cjs +6 -12
- package/lib/resources/customer_payment_sources.d.cts +2 -5
- package/lib/resources/customer_payment_sources.d.ts +1 -4
- package/lib/resources/customer_payment_sources.js +5 -11
- package/lib/resources/customer_subscriptions.cjs +6 -12
- package/lib/resources/customer_subscriptions.d.cts +2 -5
- package/lib/resources/customer_subscriptions.d.ts +1 -4
- package/lib/resources/customer_subscriptions.js +5 -11
- package/lib/resources/customers.cjs +6 -12
- package/lib/resources/customers.d.cts +2 -5
- package/lib/resources/customers.d.ts +1 -4
- package/lib/resources/customers.js +5 -11
- package/lib/resources/delivery_lead_times.cjs +6 -12
- package/lib/resources/delivery_lead_times.d.cts +2 -5
- package/lib/resources/delivery_lead_times.d.ts +1 -4
- package/lib/resources/delivery_lead_times.js +5 -11
- package/lib/resources/discount_engine_items.cjs +6 -12
- package/lib/resources/discount_engine_items.d.cts +2 -5
- package/lib/resources/discount_engine_items.d.ts +1 -4
- package/lib/resources/discount_engine_items.js +5 -11
- package/lib/resources/discount_engines.cjs +6 -12
- package/lib/resources/discount_engines.d.cts +2 -5
- package/lib/resources/discount_engines.d.ts +1 -4
- package/lib/resources/discount_engines.js +5 -11
- package/lib/resources/easypost_pickups.cjs +6 -12
- package/lib/resources/easypost_pickups.d.cts +2 -5
- package/lib/resources/easypost_pickups.d.ts +1 -4
- package/lib/resources/easypost_pickups.js +5 -11
- package/lib/resources/event_callbacks.cjs +6 -12
- package/lib/resources/event_callbacks.d.cts +2 -5
- package/lib/resources/event_callbacks.d.ts +1 -4
- package/lib/resources/event_callbacks.js +5 -11
- package/lib/resources/event_stores.cjs +6 -12
- package/lib/resources/event_stores.d.cts +2 -5
- package/lib/resources/event_stores.d.ts +1 -4
- package/lib/resources/event_stores.js +5 -11
- package/lib/resources/events.cjs +6 -12
- package/lib/resources/events.d.cts +2 -5
- package/lib/resources/events.d.ts +1 -4
- package/lib/resources/events.js +5 -11
- package/lib/resources/exports.cjs +6 -12
- package/lib/resources/exports.d.cts +2 -5
- package/lib/resources/exports.d.ts +1 -4
- package/lib/resources/exports.js +5 -11
- package/lib/resources/external_gateways.cjs +6 -12
- package/lib/resources/external_gateways.d.cts +2 -5
- package/lib/resources/external_gateways.d.ts +1 -4
- package/lib/resources/external_gateways.js +5 -11
- package/lib/resources/external_payments.cjs +6 -12
- package/lib/resources/external_payments.d.cts +2 -5
- package/lib/resources/external_payments.d.ts +1 -4
- package/lib/resources/external_payments.js +5 -11
- package/lib/resources/external_promotions.cjs +6 -12
- package/lib/resources/external_promotions.d.cts +2 -5
- package/lib/resources/external_promotions.d.ts +1 -4
- package/lib/resources/external_promotions.js +5 -11
- package/lib/resources/external_tax_calculators.cjs +6 -12
- package/lib/resources/external_tax_calculators.d.cts +2 -5
- package/lib/resources/external_tax_calculators.d.ts +1 -4
- package/lib/resources/external_tax_calculators.js +5 -11
- package/lib/resources/fixed_amount_promotions.cjs +6 -12
- package/lib/resources/fixed_amount_promotions.d.cts +2 -5
- package/lib/resources/fixed_amount_promotions.d.ts +1 -4
- package/lib/resources/fixed_amount_promotions.js +5 -11
- package/lib/resources/fixed_price_promotions.cjs +6 -12
- package/lib/resources/fixed_price_promotions.d.cts +2 -5
- package/lib/resources/fixed_price_promotions.d.ts +1 -4
- package/lib/resources/fixed_price_promotions.js +5 -11
- package/lib/resources/flex_promotions.cjs +6 -12
- package/lib/resources/flex_promotions.d.cts +2 -5
- package/lib/resources/flex_promotions.d.ts +1 -4
- package/lib/resources/flex_promotions.js +5 -11
- package/lib/resources/free_gift_promotions.cjs +6 -12
- package/lib/resources/free_gift_promotions.d.cts +2 -5
- package/lib/resources/free_gift_promotions.d.ts +1 -4
- package/lib/resources/free_gift_promotions.js +5 -11
- package/lib/resources/free_shipping_promotions.cjs +6 -12
- package/lib/resources/free_shipping_promotions.d.cts +2 -5
- package/lib/resources/free_shipping_promotions.d.ts +1 -4
- package/lib/resources/free_shipping_promotions.js +5 -11
- package/lib/resources/geocoders.cjs +6 -12
- package/lib/resources/geocoders.d.cts +2 -5
- package/lib/resources/geocoders.d.ts +1 -4
- package/lib/resources/geocoders.js +5 -11
- package/lib/resources/gift_card_recipients.cjs +6 -12
- package/lib/resources/gift_card_recipients.d.cts +2 -5
- package/lib/resources/gift_card_recipients.d.ts +1 -4
- package/lib/resources/gift_card_recipients.js +5 -11
- package/lib/resources/gift_cards.cjs +6 -12
- package/lib/resources/gift_cards.d.cts +2 -5
- package/lib/resources/gift_cards.d.ts +1 -4
- package/lib/resources/gift_cards.js +5 -11
- package/lib/resources/google_geocoders.cjs +6 -12
- package/lib/resources/google_geocoders.d.cts +2 -5
- package/lib/resources/google_geocoders.d.ts +1 -4
- package/lib/resources/google_geocoders.js +5 -11
- package/lib/resources/imports.cjs +6 -12
- package/lib/resources/imports.d.cts +2 -5
- package/lib/resources/imports.d.ts +1 -4
- package/lib/resources/imports.js +5 -11
- package/lib/resources/in_stock_subscriptions.cjs +6 -12
- package/lib/resources/in_stock_subscriptions.d.cts +2 -5
- package/lib/resources/in_stock_subscriptions.d.ts +1 -4
- package/lib/resources/in_stock_subscriptions.js +5 -11
- package/lib/resources/inventory_models.cjs +6 -12
- package/lib/resources/inventory_models.d.cts +2 -5
- package/lib/resources/inventory_models.d.ts +1 -4
- package/lib/resources/inventory_models.js +5 -11
- package/lib/resources/inventory_return_locations.cjs +6 -12
- package/lib/resources/inventory_return_locations.d.cts +2 -5
- package/lib/resources/inventory_return_locations.d.ts +1 -4
- package/lib/resources/inventory_return_locations.js +5 -11
- package/lib/resources/inventory_stock_locations.cjs +6 -12
- package/lib/resources/inventory_stock_locations.d.cts +2 -5
- package/lib/resources/inventory_stock_locations.d.ts +1 -4
- package/lib/resources/inventory_stock_locations.js +5 -11
- package/lib/resources/klarna_gateways.cjs +6 -12
- package/lib/resources/klarna_gateways.d.cts +2 -5
- package/lib/resources/klarna_gateways.d.ts +1 -4
- package/lib/resources/klarna_gateways.js +5 -11
- package/lib/resources/klarna_payments.cjs +6 -12
- package/lib/resources/klarna_payments.d.cts +2 -5
- package/lib/resources/klarna_payments.d.ts +1 -4
- package/lib/resources/klarna_payments.js +5 -11
- package/lib/resources/line_item_options.cjs +6 -12
- package/lib/resources/line_item_options.d.cts +2 -5
- package/lib/resources/line_item_options.d.ts +1 -4
- package/lib/resources/line_item_options.js +5 -11
- package/lib/resources/line_items.cjs +6 -12
- package/lib/resources/line_items.d.cts +2 -5
- package/lib/resources/line_items.d.ts +1 -4
- package/lib/resources/line_items.js +5 -11
- package/lib/resources/links.cjs +6 -12
- package/lib/resources/links.d.cts +2 -5
- package/lib/resources/links.d.ts +1 -4
- package/lib/resources/links.js +5 -11
- package/lib/resources/manual_gateways.cjs +6 -12
- package/lib/resources/manual_gateways.d.cts +2 -5
- package/lib/resources/manual_gateways.d.ts +1 -4
- package/lib/resources/manual_gateways.js +5 -11
- package/lib/resources/manual_tax_calculators.cjs +6 -12
- package/lib/resources/manual_tax_calculators.d.cts +2 -5
- package/lib/resources/manual_tax_calculators.d.ts +1 -4
- package/lib/resources/manual_tax_calculators.js +5 -11
- package/lib/resources/markets.cjs +6 -12
- package/lib/resources/markets.d.cts +2 -5
- package/lib/resources/markets.d.ts +1 -4
- package/lib/resources/markets.js +5 -11
- package/lib/resources/merchants.cjs +6 -12
- package/lib/resources/merchants.d.cts +2 -5
- package/lib/resources/merchants.d.ts +1 -4
- package/lib/resources/merchants.js +5 -11
- package/lib/resources/notifications.cjs +6 -12
- package/lib/resources/notifications.d.cts +2 -5
- package/lib/resources/notifications.d.ts +1 -4
- package/lib/resources/notifications.js +5 -11
- package/lib/resources/order_amount_promotion_rules.cjs +6 -12
- package/lib/resources/order_amount_promotion_rules.d.cts +2 -5
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -4
- package/lib/resources/order_amount_promotion_rules.js +5 -11
- package/lib/resources/order_copies.cjs +6 -12
- package/lib/resources/order_copies.d.cts +2 -5
- package/lib/resources/order_copies.d.ts +1 -4
- package/lib/resources/order_copies.js +5 -11
- package/lib/resources/order_factories.cjs +6 -12
- package/lib/resources/order_factories.d.cts +2 -5
- package/lib/resources/order_factories.d.ts +1 -4
- package/lib/resources/order_factories.js +5 -11
- package/lib/resources/order_subscription_items.cjs +6 -12
- package/lib/resources/order_subscription_items.d.cts +2 -5
- package/lib/resources/order_subscription_items.d.ts +1 -4
- package/lib/resources/order_subscription_items.js +5 -11
- package/lib/resources/order_subscriptions.cjs +6 -12
- package/lib/resources/order_subscriptions.d.cts +2 -5
- package/lib/resources/order_subscriptions.d.ts +1 -4
- package/lib/resources/order_subscriptions.js +5 -11
- package/lib/resources/order_validation_rules.cjs +6 -12
- package/lib/resources/order_validation_rules.d.cts +2 -5
- package/lib/resources/order_validation_rules.d.ts +1 -4
- package/lib/resources/order_validation_rules.js +5 -11
- package/lib/resources/orders.cjs +6 -12
- package/lib/resources/orders.d.cts +2 -5
- package/lib/resources/orders.d.ts +1 -4
- package/lib/resources/orders.js +5 -11
- package/lib/resources/organizations.cjs +6 -12
- package/lib/resources/organizations.d.cts +2 -5
- package/lib/resources/organizations.d.ts +1 -4
- package/lib/resources/organizations.js +5 -11
- package/lib/resources/packages.cjs +6 -12
- package/lib/resources/packages.d.cts +2 -5
- package/lib/resources/packages.d.ts +1 -4
- package/lib/resources/packages.js +5 -11
- package/lib/resources/parcel_line_items.cjs +6 -12
- package/lib/resources/parcel_line_items.d.cts +2 -5
- package/lib/resources/parcel_line_items.d.ts +1 -4
- package/lib/resources/parcel_line_items.js +5 -11
- package/lib/resources/parcels.cjs +6 -12
- package/lib/resources/parcels.d.cts +2 -5
- package/lib/resources/parcels.d.ts +1 -4
- package/lib/resources/parcels.js +5 -11
- package/lib/resources/payment_gateways.cjs +6 -12
- package/lib/resources/payment_gateways.d.cts +2 -5
- package/lib/resources/payment_gateways.d.ts +1 -4
- package/lib/resources/payment_gateways.js +5 -11
- package/lib/resources/payment_methods.cjs +6 -12
- package/lib/resources/payment_methods.d.cts +2 -5
- package/lib/resources/payment_methods.d.ts +1 -4
- package/lib/resources/payment_methods.js +5 -11
- package/lib/resources/payment_options.cjs +6 -12
- package/lib/resources/payment_options.d.cts +2 -5
- package/lib/resources/payment_options.d.ts +1 -4
- package/lib/resources/payment_options.js +5 -11
- package/lib/resources/paypal_gateways.cjs +6 -12
- package/lib/resources/paypal_gateways.d.cts +2 -5
- package/lib/resources/paypal_gateways.d.ts +1 -4
- package/lib/resources/paypal_gateways.js +5 -11
- package/lib/resources/paypal_payments.cjs +6 -12
- package/lib/resources/paypal_payments.d.cts +2 -5
- package/lib/resources/paypal_payments.d.ts +1 -4
- package/lib/resources/paypal_payments.js +5 -11
- package/lib/resources/percentage_discount_promotions.cjs +6 -12
- package/lib/resources/percentage_discount_promotions.d.cts +2 -5
- package/lib/resources/percentage_discount_promotions.d.ts +1 -4
- package/lib/resources/percentage_discount_promotions.js +5 -11
- package/lib/resources/pickups.cjs +6 -12
- package/lib/resources/pickups.d.cts +2 -5
- package/lib/resources/pickups.d.ts +1 -4
- package/lib/resources/pickups.js +5 -11
- package/lib/resources/price_frequency_tiers.cjs +6 -12
- package/lib/resources/price_frequency_tiers.d.cts +2 -5
- package/lib/resources/price_frequency_tiers.d.ts +1 -4
- package/lib/resources/price_frequency_tiers.js +5 -11
- package/lib/resources/price_list_schedulers.cjs +6 -12
- package/lib/resources/price_list_schedulers.d.cts +2 -5
- package/lib/resources/price_list_schedulers.d.ts +1 -4
- package/lib/resources/price_list_schedulers.js +5 -11
- package/lib/resources/price_lists.cjs +6 -12
- package/lib/resources/price_lists.d.cts +2 -5
- package/lib/resources/price_lists.d.ts +1 -4
- package/lib/resources/price_lists.js +5 -11
- package/lib/resources/price_tiers.cjs +6 -12
- package/lib/resources/price_tiers.d.cts +2 -5
- package/lib/resources/price_tiers.d.ts +1 -4
- package/lib/resources/price_tiers.js +5 -11
- package/lib/resources/price_volume_tiers.cjs +6 -12
- package/lib/resources/price_volume_tiers.d.cts +2 -5
- package/lib/resources/price_volume_tiers.d.ts +1 -4
- package/lib/resources/price_volume_tiers.js +5 -11
- package/lib/resources/prices.cjs +6 -12
- package/lib/resources/prices.d.cts +2 -5
- package/lib/resources/prices.d.ts +1 -4
- package/lib/resources/prices.js +5 -11
- package/lib/resources/promotion_rules.cjs +6 -12
- package/lib/resources/promotion_rules.d.cts +2 -5
- package/lib/resources/promotion_rules.d.ts +1 -4
- package/lib/resources/promotion_rules.js +5 -11
- package/lib/resources/promotions.cjs +6 -12
- package/lib/resources/promotions.d.cts +2 -5
- package/lib/resources/promotions.d.ts +1 -4
- package/lib/resources/promotions.js +5 -11
- package/lib/resources/recurring_order_copies.cjs +6 -12
- package/lib/resources/recurring_order_copies.d.cts +2 -5
- package/lib/resources/recurring_order_copies.d.ts +1 -4
- package/lib/resources/recurring_order_copies.js +5 -11
- package/lib/resources/refunds.cjs +6 -12
- package/lib/resources/refunds.d.cts +2 -5
- package/lib/resources/refunds.d.ts +1 -4
- package/lib/resources/refunds.js +5 -11
- package/lib/resources/reserved_stocks.cjs +6 -12
- package/lib/resources/reserved_stocks.d.cts +2 -5
- package/lib/resources/reserved_stocks.d.ts +1 -4
- package/lib/resources/reserved_stocks.js +5 -11
- package/lib/resources/resource_errors.cjs +6 -12
- package/lib/resources/resource_errors.d.cts +2 -5
- package/lib/resources/resource_errors.d.ts +1 -4
- package/lib/resources/resource_errors.js +5 -11
- package/lib/resources/return_line_items.cjs +6 -12
- package/lib/resources/return_line_items.d.cts +2 -5
- package/lib/resources/return_line_items.d.ts +1 -4
- package/lib/resources/return_line_items.js +5 -11
- package/lib/resources/returns.cjs +6 -12
- package/lib/resources/returns.d.cts +2 -5
- package/lib/resources/returns.d.ts +1 -4
- package/lib/resources/returns.js +5 -11
- package/lib/resources/satispay_gateways.cjs +6 -12
- package/lib/resources/satispay_gateways.d.cts +2 -5
- package/lib/resources/satispay_gateways.d.ts +1 -4
- package/lib/resources/satispay_gateways.js +5 -11
- package/lib/resources/satispay_payments.cjs +6 -12
- package/lib/resources/satispay_payments.d.cts +2 -5
- package/lib/resources/satispay_payments.d.ts +1 -4
- package/lib/resources/satispay_payments.js +5 -11
- package/lib/resources/shipment_line_items.cjs +6 -12
- package/lib/resources/shipment_line_items.d.cts +2 -5
- package/lib/resources/shipment_line_items.d.ts +1 -4
- package/lib/resources/shipment_line_items.js +5 -11
- package/lib/resources/shipments.cjs +6 -12
- package/lib/resources/shipments.d.cts +2 -5
- package/lib/resources/shipments.d.ts +1 -4
- package/lib/resources/shipments.js +5 -11
- package/lib/resources/shipping_categories.cjs +6 -12
- package/lib/resources/shipping_categories.d.cts +2 -5
- package/lib/resources/shipping_categories.d.ts +1 -4
- package/lib/resources/shipping_categories.js +5 -11
- package/lib/resources/shipping_method_tiers.cjs +6 -12
- package/lib/resources/shipping_method_tiers.d.cts +2 -5
- package/lib/resources/shipping_method_tiers.d.ts +1 -4
- package/lib/resources/shipping_method_tiers.js +5 -11
- package/lib/resources/shipping_methods.cjs +6 -12
- package/lib/resources/shipping_methods.d.cts +2 -5
- package/lib/resources/shipping_methods.d.ts +1 -4
- package/lib/resources/shipping_methods.js +5 -11
- package/lib/resources/shipping_weight_tiers.cjs +6 -12
- package/lib/resources/shipping_weight_tiers.d.cts +2 -5
- package/lib/resources/shipping_weight_tiers.d.ts +1 -4
- package/lib/resources/shipping_weight_tiers.js +5 -11
- package/lib/resources/shipping_zones.cjs +6 -12
- package/lib/resources/shipping_zones.d.cts +2 -5
- package/lib/resources/shipping_zones.d.ts +1 -4
- package/lib/resources/shipping_zones.js +5 -11
- package/lib/resources/sku_list_items.cjs +6 -12
- package/lib/resources/sku_list_items.d.cts +2 -5
- package/lib/resources/sku_list_items.d.ts +1 -4
- package/lib/resources/sku_list_items.js +5 -11
- package/lib/resources/sku_list_promotion_rules.cjs +6 -12
- package/lib/resources/sku_list_promotion_rules.d.cts +2 -5
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -4
- package/lib/resources/sku_list_promotion_rules.js +5 -11
- package/lib/resources/sku_lists.cjs +6 -12
- package/lib/resources/sku_lists.d.cts +2 -5
- package/lib/resources/sku_lists.d.ts +1 -4
- package/lib/resources/sku_lists.js +5 -11
- package/lib/resources/sku_options.cjs +6 -12
- package/lib/resources/sku_options.d.cts +2 -5
- package/lib/resources/sku_options.d.ts +1 -4
- package/lib/resources/sku_options.js +5 -11
- package/lib/resources/skus.cjs +6 -12
- package/lib/resources/skus.d.cts +2 -5
- package/lib/resources/skus.d.ts +1 -4
- package/lib/resources/skus.js +5 -11
- package/lib/resources/stock_items.cjs +6 -12
- package/lib/resources/stock_items.d.cts +2 -5
- package/lib/resources/stock_items.d.ts +1 -4
- package/lib/resources/stock_items.js +5 -11
- package/lib/resources/stock_line_items.cjs +6 -12
- package/lib/resources/stock_line_items.d.cts +2 -5
- package/lib/resources/stock_line_items.d.ts +1 -4
- package/lib/resources/stock_line_items.js +5 -11
- package/lib/resources/stock_locations.cjs +6 -12
- package/lib/resources/stock_locations.d.cts +2 -5
- package/lib/resources/stock_locations.d.ts +1 -4
- package/lib/resources/stock_locations.js +5 -11
- package/lib/resources/stock_reservations.cjs +6 -12
- package/lib/resources/stock_reservations.d.cts +2 -5
- package/lib/resources/stock_reservations.d.ts +1 -4
- package/lib/resources/stock_reservations.js +5 -11
- package/lib/resources/stock_transfers.cjs +6 -12
- package/lib/resources/stock_transfers.d.cts +2 -5
- package/lib/resources/stock_transfers.d.ts +1 -4
- package/lib/resources/stock_transfers.js +5 -11
- package/lib/resources/stores.cjs +6 -12
- package/lib/resources/stores.d.cts +2 -5
- package/lib/resources/stores.d.ts +1 -4
- package/lib/resources/stores.js +5 -11
- package/lib/resources/stripe_gateways.cjs +6 -12
- package/lib/resources/stripe_gateways.d.cts +2 -5
- package/lib/resources/stripe_gateways.d.ts +1 -4
- package/lib/resources/stripe_gateways.js +5 -11
- package/lib/resources/stripe_payments.cjs +6 -12
- package/lib/resources/stripe_payments.d.cts +2 -5
- package/lib/resources/stripe_payments.d.ts +1 -4
- package/lib/resources/stripe_payments.js +5 -11
- package/lib/resources/stripe_tax_accounts.cjs +6 -12
- package/lib/resources/stripe_tax_accounts.d.cts +2 -5
- package/lib/resources/stripe_tax_accounts.d.ts +1 -4
- package/lib/resources/stripe_tax_accounts.js +5 -11
- package/lib/resources/subscription_models.cjs +6 -12
- package/lib/resources/subscription_models.d.cts +2 -5
- package/lib/resources/subscription_models.d.ts +1 -4
- package/lib/resources/subscription_models.js +5 -11
- package/lib/resources/tags.cjs +6 -12
- package/lib/resources/tags.d.cts +2 -5
- package/lib/resources/tags.d.ts +1 -4
- package/lib/resources/tags.js +5 -11
- package/lib/resources/talon_one_accounts.cjs +6 -12
- package/lib/resources/talon_one_accounts.d.cts +2 -5
- package/lib/resources/talon_one_accounts.d.ts +1 -4
- package/lib/resources/talon_one_accounts.js +5 -11
- package/lib/resources/tax_calculators.cjs +6 -12
- package/lib/resources/tax_calculators.d.cts +2 -5
- package/lib/resources/tax_calculators.d.ts +1 -4
- package/lib/resources/tax_calculators.js +5 -11
- package/lib/resources/tax_categories.cjs +6 -12
- package/lib/resources/tax_categories.d.cts +2 -5
- package/lib/resources/tax_categories.d.ts +1 -4
- package/lib/resources/tax_categories.js +5 -11
- package/lib/resources/tax_rules.cjs +6 -12
- package/lib/resources/tax_rules.d.cts +2 -5
- package/lib/resources/tax_rules.d.ts +1 -4
- package/lib/resources/tax_rules.js +5 -11
- package/lib/resources/taxjar_accounts.cjs +6 -12
- package/lib/resources/taxjar_accounts.d.cts +2 -5
- package/lib/resources/taxjar_accounts.d.ts +1 -4
- package/lib/resources/taxjar_accounts.js +5 -11
- package/lib/resources/transactions.cjs +6 -12
- package/lib/resources/transactions.d.cts +2 -5
- package/lib/resources/transactions.d.ts +1 -4
- package/lib/resources/transactions.js +5 -11
- package/lib/resources/vertex_accounts.cjs +6 -12
- package/lib/resources/vertex_accounts.d.cts +2 -5
- package/lib/resources/vertex_accounts.d.ts +1 -4
- package/lib/resources/vertex_accounts.js +5 -11
- package/lib/resources/voids.cjs +6 -12
- package/lib/resources/voids.d.cts +2 -5
- package/lib/resources/voids.d.ts +1 -4
- package/lib/resources/voids.js +5 -11
- package/lib/resources/webhooks.cjs +6 -12
- package/lib/resources/webhooks.d.cts +2 -5
- package/lib/resources/webhooks.d.ts +1 -4
- package/lib/resources/webhooks.js +5 -11
- package/lib/resources/wire_transfers.cjs +6 -12
- package/lib/resources/wire_transfers.d.cts +2 -5
- package/lib/resources/wire_transfers.d.ts +1 -4
- package/lib/resources/wire_transfers.js +5 -11
- package/lib/single-client.cjs +322 -328
- package/lib/single-client.cjs.map +1 -1
- package/lib/single-client.d.cts +2 -5
- package/lib/single-client.d.ts +2 -5
- package/lib/single-client.js +142 -148
- package/lib/single-client.js.map +1 -1
- package/lib/static.cjs +7 -13
- package/lib/static.d.cts +2 -5
- package/lib/static.d.ts +2 -5
- package/lib/static.js +6 -12
- package/lib/version.cjs +4 -5
- package/lib/version.js +1 -2
- package/package.json +20 -12
- package/lib/api-CbtXzzPa.d.ts +0 -19196
- package/lib/api-DtDA0Oxa.d.cts +0 -19196
- package/lib/chunk-25VHLJ3F.js +0 -89
- package/lib/chunk-25VHLJ3F.js.map +0 -1
- package/lib/chunk-2AXNVWID.js +0 -51
- package/lib/chunk-2AXNVWID.js.map +0 -1
- package/lib/chunk-2E77ADQI.cjs +0 -81
- package/lib/chunk-2E77ADQI.cjs.map +0 -1
- package/lib/chunk-2JJWJZIX.cjs +0 -79
- package/lib/chunk-2JJWJZIX.cjs.map +0 -1
- package/lib/chunk-2MEIS5NA.cjs +0 -182
- package/lib/chunk-2MEIS5NA.cjs.map +0 -1
- package/lib/chunk-2QFPV3FM.js +0 -60
- package/lib/chunk-2QFPV3FM.js.map +0 -1
- package/lib/chunk-2RBVOBOE.cjs +0 -60
- package/lib/chunk-2RBVOBOE.cjs.map +0 -1
- package/lib/chunk-2UWYPR4T.js +0 -120
- package/lib/chunk-2UWYPR4T.js.map +0 -1
- package/lib/chunk-2VGVF5SJ.cjs +0 -86
- package/lib/chunk-2VGVF5SJ.cjs.map +0 -1
- package/lib/chunk-32YLRD6X.cjs +0 -70
- package/lib/chunk-32YLRD6X.cjs.map +0 -1
- package/lib/chunk-346DE4FR.cjs +0 -193
- package/lib/chunk-346DE4FR.cjs.map +0 -1
- package/lib/chunk-35HABXOS.cjs +0 -205
- package/lib/chunk-35HABXOS.cjs.map +0 -1
- package/lib/chunk-3DMYHXGB.js +0 -20
- package/lib/chunk-3DMYHXGB.js.map +0 -1
- package/lib/chunk-3EI7CXU3.js +0 -68
- package/lib/chunk-3EI7CXU3.js.map +0 -1
- package/lib/chunk-3MR4RCHV.js +0 -100
- package/lib/chunk-3MR4RCHV.js.map +0 -1
- package/lib/chunk-3OIAX6XB.js +0 -59
- package/lib/chunk-3OIAX6XB.js.map +0 -1
- package/lib/chunk-3Q2WCV4Q.js +0 -67
- package/lib/chunk-3Q2WCV4Q.js.map +0 -1
- package/lib/chunk-3QQMAS7W.cjs +0 -94
- package/lib/chunk-3QQMAS7W.cjs.map +0 -1
- package/lib/chunk-3RCAZLBZ.cjs +0 -82
- package/lib/chunk-3RCAZLBZ.cjs.map +0 -1
- package/lib/chunk-3SBL6VHM.cjs +0 -122
- package/lib/chunk-3SBL6VHM.cjs.map +0 -1
- package/lib/chunk-3VPZFDUD.cjs +0 -102
- package/lib/chunk-3VPZFDUD.cjs.map +0 -1
- package/lib/chunk-3ZC34CCX.js +0 -38
- package/lib/chunk-3ZC34CCX.js.map +0 -1
- package/lib/chunk-426WITQY.js +0 -89
- package/lib/chunk-426WITQY.js.map +0 -1
- package/lib/chunk-47X2DZN4.cjs +0 -102
- package/lib/chunk-47X2DZN4.cjs.map +0 -1
- package/lib/chunk-4HTYFQWK.cjs +0 -44
- package/lib/chunk-4HTYFQWK.cjs.map +0 -1
- package/lib/chunk-4K2SOUH5.cjs +0 -52
- package/lib/chunk-4K2SOUH5.cjs.map +0 -1
- package/lib/chunk-4REPNW3X.js +0 -61
- package/lib/chunk-4REPNW3X.js.map +0 -1
- package/lib/chunk-4WZ6KSV6.js +0 -129
- package/lib/chunk-4WZ6KSV6.js.map +0 -1
- package/lib/chunk-4YUZOIAO.cjs +0 -131
- package/lib/chunk-4YUZOIAO.cjs.map +0 -1
- package/lib/chunk-52DKX77F.cjs +0 -98
- package/lib/chunk-52DKX77F.cjs.map +0 -1
- package/lib/chunk-5CTB4AQM.cjs +0 -62
- package/lib/chunk-5CTB4AQM.cjs.map +0 -1
- package/lib/chunk-5GGEXHQI.cjs +0 -98
- package/lib/chunk-5GGEXHQI.cjs.map +0 -1
- package/lib/chunk-5H7R4SYT.js +0 -58
- package/lib/chunk-5H7R4SYT.js.map +0 -1
- package/lib/chunk-5IMEH7YJ.js +0 -177
- package/lib/chunk-5IMEH7YJ.js.map +0 -1
- package/lib/chunk-5MAU5OUB.cjs +0 -91
- package/lib/chunk-5MAU5OUB.cjs.map +0 -1
- package/lib/chunk-5RLBHS3F.cjs +0 -179
- package/lib/chunk-5RLBHS3F.cjs.map +0 -1
- package/lib/chunk-5VI4FFCJ.cjs +0 -91
- package/lib/chunk-5VI4FFCJ.cjs.map +0 -1
- package/lib/chunk-5W54ENHX.js +0 -331
- package/lib/chunk-5W54ENHX.js.map +0 -1
- package/lib/chunk-5XNNWIAH.cjs +0 -98
- package/lib/chunk-5XNNWIAH.cjs.map +0 -1
- package/lib/chunk-5Z2IIZE4.cjs +0 -62
- package/lib/chunk-5Z2IIZE4.cjs.map +0 -1
- package/lib/chunk-62VNLMH5.cjs +0 -176
- package/lib/chunk-62VNLMH5.cjs.map +0 -1
- package/lib/chunk-6EZRTCA4.cjs +0 -53
- package/lib/chunk-6EZRTCA4.cjs.map +0 -1
- package/lib/chunk-6G4MV4VT.js +0 -75
- package/lib/chunk-6G4MV4VT.js.map +0 -1
- package/lib/chunk-6TJJD77K.cjs +0 -40
- package/lib/chunk-6TJJD77K.cjs.map +0 -1
- package/lib/chunk-6TN2P34K.cjs +0 -120
- package/lib/chunk-6TN2P34K.cjs.map +0 -1
- package/lib/chunk-73Q3EU2I.js +0 -68
- package/lib/chunk-73Q3EU2I.js.map +0 -1
- package/lib/chunk-7GDSHRLY.cjs +0 -170
- package/lib/chunk-7GDSHRLY.cjs.map +0 -1
- package/lib/chunk-7KTPV74D.js +0 -113
- package/lib/chunk-7KTPV74D.js.map +0 -1
- package/lib/chunk-7OUOUHOO.cjs +0 -84
- package/lib/chunk-7OUOUHOO.cjs.map +0 -1
- package/lib/chunk-7Y3OVLWC.cjs +0 -79
- package/lib/chunk-7Y3OVLWC.cjs.map +0 -1
- package/lib/chunk-A3U2XTGP.js +0 -124
- package/lib/chunk-A3U2XTGP.js.map +0 -1
- package/lib/chunk-A4GLMRLN.js +0 -89
- package/lib/chunk-A4GLMRLN.js.map +0 -1
- package/lib/chunk-A6AENRHK.cjs +0 -125
- package/lib/chunk-A6AENRHK.cjs.map +0 -1
- package/lib/chunk-ANFIAB6R.js +0 -177
- package/lib/chunk-ANFIAB6R.js.map +0 -1
- package/lib/chunk-AOHAWFOB.js +0 -86
- package/lib/chunk-AOHAWFOB.js.map +0 -1
- package/lib/chunk-APBF76ZC.cjs +0 -91
- package/lib/chunk-APBF76ZC.cjs.map +0 -1
- package/lib/chunk-ATGOMWPN.js +0 -77
- package/lib/chunk-ATGOMWPN.js.map +0 -1
- package/lib/chunk-AYBAQVWV.js +0 -612
- package/lib/chunk-AYBAQVWV.js.map +0 -1
- package/lib/chunk-AZTICLOY.js +0 -45
- package/lib/chunk-AZTICLOY.js.map +0 -1
- package/lib/chunk-B3KEZC7E.cjs +0 -62
- package/lib/chunk-B3KEZC7E.cjs.map +0 -1
- package/lib/chunk-B77UNRIL.cjs +0 -79
- package/lib/chunk-B77UNRIL.cjs.map +0 -1
- package/lib/chunk-BFD4ZKN2.cjs +0 -86
- package/lib/chunk-BFD4ZKN2.cjs.map +0 -1
- package/lib/chunk-BHWL7SMR.cjs +0 -614
- package/lib/chunk-BHWL7SMR.cjs.map +0 -1
- package/lib/chunk-BIRMFKH4.js +0 -51
- package/lib/chunk-BIRMFKH4.js.map +0 -1
- package/lib/chunk-BMQ5UFUF.cjs +0 -44
- package/lib/chunk-BMQ5UFUF.cjs.map +0 -1
- package/lib/chunk-BNN6J67M.js +0 -84
- package/lib/chunk-BNN6J67M.js.map +0 -1
- package/lib/chunk-BODGU3FN.js +0 -70
- package/lib/chunk-BODGU3FN.js.map +0 -1
- package/lib/chunk-BPANUY47.cjs +0 -22
- package/lib/chunk-BPANUY47.cjs.map +0 -1
- package/lib/chunk-BPJZJZ4P.cjs +0 -62
- package/lib/chunk-BPJZJZ4P.cjs.map +0 -1
- package/lib/chunk-BQASYOEH.js +0 -68
- package/lib/chunk-BQASYOEH.js.map +0 -1
- package/lib/chunk-BTR6K6LM.cjs +0 -63
- package/lib/chunk-BTR6K6LM.cjs.map +0 -1
- package/lib/chunk-BU7V7PER.cjs +0 -70
- package/lib/chunk-BU7V7PER.cjs.map +0 -1
- package/lib/chunk-BULIJXJG.js +0 -42
- package/lib/chunk-BULIJXJG.js.map +0 -1
- package/lib/chunk-BVY6R7DW.cjs +0 -74
- package/lib/chunk-BVY6R7DW.cjs.map +0 -1
- package/lib/chunk-CAMYSYCA.cjs +0 -125
- package/lib/chunk-CAMYSYCA.cjs.map +0 -1
- package/lib/chunk-CCMUJPKE.js +0 -51
- package/lib/chunk-CCMUJPKE.js.map +0 -1
- package/lib/chunk-CKS7ZLKB.js +0 -77
- package/lib/chunk-CKS7ZLKB.js.map +0 -1
- package/lib/chunk-CNX3NNSJ.js +0 -42
- package/lib/chunk-CNX3NNSJ.js.map +0 -1
- package/lib/chunk-CRSL2GLF.js +0 -80
- package/lib/chunk-CRSL2GLF.js.map +0 -1
- package/lib/chunk-CWAFALCE.js +0 -94
- package/lib/chunk-CWAFALCE.js.map +0 -1
- package/lib/chunk-CXLUFFYV.js +0 -180
- package/lib/chunk-CXLUFFYV.js.map +0 -1
- package/lib/chunk-D3X4TTHW.cjs +0 -55
- package/lib/chunk-D3X4TTHW.cjs.map +0 -1
- package/lib/chunk-D4ZRETJN.cjs +0 -179
- package/lib/chunk-D4ZRETJN.cjs.map +0 -1
- package/lib/chunk-D74NQPBD.js +0 -77
- package/lib/chunk-D74NQPBD.js.map +0 -1
- package/lib/chunk-DCHLWNWE.js +0 -89
- package/lib/chunk-DCHLWNWE.js.map +0 -1
- package/lib/chunk-DCKGGURY.js +0 -12
- package/lib/chunk-DCKGGURY.js.map +0 -1
- package/lib/chunk-DDJBA5N3.js +0 -86
- package/lib/chunk-DDJBA5N3.js.map +0 -1
- package/lib/chunk-DGUM43GV.js +0 -10
- package/lib/chunk-DGUM43GV.js.map +0 -1
- package/lib/chunk-DLEMEQCL.js +0 -68
- package/lib/chunk-DLEMEQCL.js.map +0 -1
- package/lib/chunk-DTENA3KF.cjs +0 -94
- package/lib/chunk-DTENA3KF.cjs.map +0 -1
- package/lib/chunk-DTVZJW3T.js +0 -60
- package/lib/chunk-DTVZJW3T.js.map +0 -1
- package/lib/chunk-DZPTIKD7.cjs +0 -70
- package/lib/chunk-DZPTIKD7.cjs.map +0 -1
- package/lib/chunk-E5WNJXQM.cjs +0 -79
- package/lib/chunk-E5WNJXQM.cjs.map +0 -1
- package/lib/chunk-E7N3CO5I.cjs +0 -122
- package/lib/chunk-E7N3CO5I.cjs.map +0 -1
- package/lib/chunk-E7ZKYXMW.js +0 -120
- package/lib/chunk-E7ZKYXMW.js.map +0 -1
- package/lib/chunk-ELS7YPTF.js +0 -60
- package/lib/chunk-ELS7YPTF.js.map +0 -1
- package/lib/chunk-ELSMZZL6.js +0 -68
- package/lib/chunk-ELSMZZL6.js.map +0 -1
- package/lib/chunk-EMAUWPBH.cjs +0 -62
- package/lib/chunk-EMAUWPBH.cjs.map +0 -1
- package/lib/chunk-ENGSDWYA.cjs +0 -70
- package/lib/chunk-ENGSDWYA.cjs.map +0 -1
- package/lib/chunk-ET7SIFCZ.js +0 -82
- package/lib/chunk-ET7SIFCZ.js.map +0 -1
- package/lib/chunk-F4XVHX6I.cjs +0 -243
- package/lib/chunk-F4XVHX6I.cjs.map +0 -1
- package/lib/chunk-FD2JC7HR.cjs +0 -62
- package/lib/chunk-FD2JC7HR.cjs.map +0 -1
- package/lib/chunk-FDPYOOCE.js +0 -132
- package/lib/chunk-FDPYOOCE.js.map +0 -1
- package/lib/chunk-FMPIBZQI.js +0 -78
- package/lib/chunk-FMPIBZQI.js.map +0 -1
- package/lib/chunk-FO6W4J2K.cjs +0 -70
- package/lib/chunk-FO6W4J2K.cjs.map +0 -1
- package/lib/chunk-FOTU7CYD.js +0 -53
- package/lib/chunk-FOTU7CYD.js.map +0 -1
- package/lib/chunk-FRJSKD6D.js +0 -68
- package/lib/chunk-FRJSKD6D.js.map +0 -1
- package/lib/chunk-FUVQOAPT.js +0 -60
- package/lib/chunk-FUVQOAPT.js.map +0 -1
- package/lib/chunk-FVJWAGF3.cjs +0 -77
- package/lib/chunk-FVJWAGF3.cjs.map +0 -1
- package/lib/chunk-G2G7OZPY.cjs +0 -71
- package/lib/chunk-G2G7OZPY.cjs.map +0 -1
- package/lib/chunk-GAQQJH3L.cjs +0 -70
- package/lib/chunk-GAQQJH3L.cjs.map +0 -1
- package/lib/chunk-GEJSGUO3.js +0 -75
- package/lib/chunk-GEJSGUO3.js.map +0 -1
- package/lib/chunk-GKPLAZMH.cjs +0 -339
- package/lib/chunk-GKPLAZMH.cjs.map +0 -1
- package/lib/chunk-GL5HO22G.js +0 -75
- package/lib/chunk-GL5HO22G.js.map +0 -1
- package/lib/chunk-GLA3FXNM.js +0 -96
- package/lib/chunk-GLA3FXNM.js.map +0 -1
- package/lib/chunk-GLFJHLVP.cjs +0 -120
- package/lib/chunk-GLFJHLVP.cjs.map +0 -1
- package/lib/chunk-GMOMWH45.js +0 -79
- package/lib/chunk-GMOMWH45.js.map +0 -1
- package/lib/chunk-GP7TYOQO.js +0 -68
- package/lib/chunk-GP7TYOQO.js.map +0 -1
- package/lib/chunk-GXOLCMKF.js +0 -73
- package/lib/chunk-GXOLCMKF.js.map +0 -1
- package/lib/chunk-H4CW7KIP.cjs +0 -102
- package/lib/chunk-H4CW7KIP.cjs.map +0 -1
- package/lib/chunk-H7FOVRDB.js +0 -51
- package/lib/chunk-H7FOVRDB.js.map +0 -1
- package/lib/chunk-H7I2IH4X.js +0 -68
- package/lib/chunk-H7I2IH4X.js.map +0 -1
- package/lib/chunk-HDETPQPF.js +0 -177
- package/lib/chunk-HDETPQPF.js.map +0 -1
- package/lib/chunk-HL4RE2VL.js +0 -96
- package/lib/chunk-HL4RE2VL.js.map +0 -1
- package/lib/chunk-HP72HI2Q.cjs +0 -193
- package/lib/chunk-HP72HI2Q.cjs.map +0 -1
- package/lib/chunk-HPFHY6E4.cjs +0 -75
- package/lib/chunk-HPFHY6E4.cjs.map +0 -1
- package/lib/chunk-HVHXCOIY.cjs +0 -126
- package/lib/chunk-HVHXCOIY.cjs.map +0 -1
- package/lib/chunk-HVW67FMI.cjs +0 -84
- package/lib/chunk-HVW67FMI.cjs.map +0 -1
- package/lib/chunk-HVYTLHDO.cjs +0 -79
- package/lib/chunk-HVYTLHDO.cjs.map +0 -1
- package/lib/chunk-I2Y3JYO7.js +0 -177
- package/lib/chunk-I2Y3JYO7.js.map +0 -1
- package/lib/chunk-I42LP7ZG.cjs +0 -91
- package/lib/chunk-I42LP7ZG.cjs.map +0 -1
- package/lib/chunk-IFT5SYLF.cjs +0 -91
- package/lib/chunk-IFT5SYLF.cjs.map +0 -1
- package/lib/chunk-IIXJMXXF.cjs +0 -80
- package/lib/chunk-IIXJMXXF.cjs.map +0 -1
- package/lib/chunk-ILC7QEAT.cjs +0 -79
- package/lib/chunk-ILC7QEAT.cjs.map +0 -1
- package/lib/chunk-IRBANPTE.cjs +0 -90
- package/lib/chunk-IRBANPTE.cjs.map +0 -1
- package/lib/chunk-IRYMYC5C.cjs +0 -88
- package/lib/chunk-IRYMYC5C.cjs.map +0 -1
- package/lib/chunk-IUOZC7XK.js +0 -174
- package/lib/chunk-IUOZC7XK.js.map +0 -1
- package/lib/chunk-IWM7VPWN.cjs +0 -85
- package/lib/chunk-IWM7VPWN.cjs.map +0 -1
- package/lib/chunk-IXWOBRJ4.js +0 -68
- package/lib/chunk-IXWOBRJ4.js.map +0 -1
- package/lib/chunk-IYNDRTNU.cjs +0 -53
- package/lib/chunk-IYNDRTNU.cjs.map +0 -1
- package/lib/chunk-IZFNSMU3.cjs +0 -193
- package/lib/chunk-IZFNSMU3.cjs.map +0 -1
- package/lib/chunk-IZOPMMMF.js +0 -82
- package/lib/chunk-IZOPMMMF.js.map +0 -1
- package/lib/chunk-JBUP7E7U.js +0 -86
- package/lib/chunk-JBUP7E7U.js.map +0 -1
- package/lib/chunk-JEJPSSXF.js +0 -77
- package/lib/chunk-JEJPSSXF.js.map +0 -1
- package/lib/chunk-JEQ2X3Z6.cjs +0 -12
- package/lib/chunk-JEQ2X3Z6.cjs.map +0 -1
- package/lib/chunk-JNS3HMDG.js +0 -68
- package/lib/chunk-JNS3HMDG.js.map +0 -1
- package/lib/chunk-JROHRQBW.cjs +0 -88
- package/lib/chunk-JROHRQBW.cjs.map +0 -1
- package/lib/chunk-JUZY67IP.cjs +0 -70
- package/lib/chunk-JUZY67IP.cjs.map +0 -1
- package/lib/chunk-JVLJIDJJ.js +0 -191
- package/lib/chunk-JVLJIDJJ.js.map +0 -1
- package/lib/chunk-K35AJI7L.js +0 -91
- package/lib/chunk-K35AJI7L.js.map +0 -1
- package/lib/chunk-KDFBUMSZ.js +0 -121
- package/lib/chunk-KDFBUMSZ.js.map +0 -1
- package/lib/chunk-KFIHPXZD.js +0 -60
- package/lib/chunk-KFIHPXZD.js.map +0 -1
- package/lib/chunk-KKU4FTJD.cjs +0 -198
- package/lib/chunk-KKU4FTJD.cjs.map +0 -1
- package/lib/chunk-KM76YWNO.cjs +0 -62
- package/lib/chunk-KM76YWNO.cjs.map +0 -1
- package/lib/chunk-KTGTFKFD.js +0 -89
- package/lib/chunk-KTGTFKFD.js.map +0 -1
- package/lib/chunk-KTICF7CN.js +0 -77
- package/lib/chunk-KTICF7CN.js.map +0 -1
- package/lib/chunk-KXITMWWL.js +0 -50
- package/lib/chunk-KXITMWWL.js.map +0 -1
- package/lib/chunk-KZMT4U4X.cjs +0 -52
- package/lib/chunk-KZMT4U4X.cjs.map +0 -1
- package/lib/chunk-L7VAH4BF.js +0 -60
- package/lib/chunk-L7VAH4BF.js.map +0 -1
- package/lib/chunk-LLQJ3JII.js +0 -241
- package/lib/chunk-LLQJ3JII.js.map +0 -1
- package/lib/chunk-LLTYLK3I.js +0 -92
- package/lib/chunk-LLTYLK3I.js.map +0 -1
- package/lib/chunk-LQYHM4ET.cjs +0 -77
- package/lib/chunk-LQYHM4ET.cjs.map +0 -1
- package/lib/chunk-M4VCWE32.js +0 -77
- package/lib/chunk-M4VCWE32.js.map +0 -1
- package/lib/chunk-M6EAUX5W.js +0 -35
- package/lib/chunk-M6EAUX5W.js.map +0 -1
- package/lib/chunk-M7NCBLZJ.cjs +0 -52
- package/lib/chunk-M7NCBLZJ.cjs.map +0 -1
- package/lib/chunk-MMKCMAW3.cjs +0 -61
- package/lib/chunk-MMKCMAW3.cjs.map +0 -1
- package/lib/chunk-MMNJTSFU.cjs +0 -70
- package/lib/chunk-MMNJTSFU.cjs.map +0 -1
- package/lib/chunk-MO2XOIMU.cjs +0 -53
- package/lib/chunk-MO2XOIMU.cjs.map +0 -1
- package/lib/chunk-MSXT4OKO.js +0 -203
- package/lib/chunk-MSXT4OKO.js.map +0 -1
- package/lib/chunk-N2B5T256.js +0 -65
- package/lib/chunk-N2B5T256.js.map +0 -1
- package/lib/chunk-N5346XYN.js +0 -69
- package/lib/chunk-N5346XYN.js.map +0 -1
- package/lib/chunk-ND7K4KSA.cjs +0 -179
- package/lib/chunk-ND7K4KSA.cjs.map +0 -1
- package/lib/chunk-NDQ6NHZJ.cjs +0 -77
- package/lib/chunk-NDQ6NHZJ.cjs.map +0 -1
- package/lib/chunk-NJ2ERQUB.js +0 -36
- package/lib/chunk-NJ2ERQUB.js.map +0 -1
- package/lib/chunk-NOOZM2ZC.js +0 -116
- package/lib/chunk-NOOZM2ZC.js.map +0 -1
- package/lib/chunk-NR5ZYTRC.js +0 -75
- package/lib/chunk-NR5ZYTRC.js.map +0 -1
- package/lib/chunk-NRKJ6IBM.cjs +0 -70
- package/lib/chunk-NRKJ6IBM.cjs.map +0 -1
- package/lib/chunk-NRSSZKXW.js +0 -92
- package/lib/chunk-NRSSZKXW.js.map +0 -1
- package/lib/chunk-NRTF52EF.cjs +0 -44
- package/lib/chunk-NRTF52EF.cjs.map +0 -1
- package/lib/chunk-NTLWDGIN.cjs +0 -53
- package/lib/chunk-NTLWDGIN.cjs.map +0 -1
- package/lib/chunk-NUUMQNTS.js +0 -191
- package/lib/chunk-NUUMQNTS.js.map +0 -1
- package/lib/chunk-NXKJ6SD5.cjs +0 -40
- package/lib/chunk-NXKJ6SD5.cjs.map +0 -1
- package/lib/chunk-O6KAEVM7.cjs +0 -60
- package/lib/chunk-O6KAEVM7.cjs.map +0 -1
- package/lib/chunk-OES7SSLU.cjs +0 -79
- package/lib/chunk-OES7SSLU.cjs.map +0 -1
- package/lib/chunk-OETE27SD.cjs +0 -91
- package/lib/chunk-OETE27SD.cjs.map +0 -1
- package/lib/chunk-OH4R7NRW.cjs +0 -556
- package/lib/chunk-OH4R7NRW.cjs.map +0 -1
- package/lib/chunk-OLG2UDIK.cjs +0 -16
- package/lib/chunk-OLG2UDIK.cjs.map +0 -1
- package/lib/chunk-ON6Q7XO4.js +0 -82
- package/lib/chunk-ON6Q7XO4.js.map +0 -1
- package/lib/chunk-OOUG4ORW.js +0 -50
- package/lib/chunk-OOUG4ORW.js.map +0 -1
- package/lib/chunk-OXHQKMPQ.js +0 -20
- package/lib/chunk-OXHQKMPQ.js.map +0 -1
- package/lib/chunk-OYDQRTMK.js +0 -50
- package/lib/chunk-OYDQRTMK.js.map +0 -1
- package/lib/chunk-OZJAWDJJ.js +0 -68
- package/lib/chunk-OZJAWDJJ.js.map +0 -1
- package/lib/chunk-P7ZYV63Z.js +0 -65
- package/lib/chunk-P7ZYV63Z.js.map +0 -1
- package/lib/chunk-PGA6KIDT.js +0 -164
- package/lib/chunk-PGA6KIDT.js.map +0 -1
- package/lib/chunk-PN2WF7LS.js +0 -118
- package/lib/chunk-PN2WF7LS.js.map +0 -1
- package/lib/chunk-PNLR24KH.cjs +0 -88
- package/lib/chunk-PNLR24KH.cjs.map +0 -1
- package/lib/chunk-PUZ5FS42.js +0 -58
- package/lib/chunk-PUZ5FS42.js.map +0 -1
- package/lib/chunk-PXI3FFHR.js +0 -542
- package/lib/chunk-PXI3FFHR.js.map +0 -1
- package/lib/chunk-PZHPJODG.cjs +0 -67
- package/lib/chunk-PZHPJODG.cjs.map +0 -1
- package/lib/chunk-QGUQARY2.js +0 -59
- package/lib/chunk-QGUQARY2.js.map +0 -1
- package/lib/chunk-QOX77APY.cjs +0 -96
- package/lib/chunk-QOX77APY.cjs.map +0 -1
- package/lib/chunk-QPL3YX2K.js +0 -83
- package/lib/chunk-QPL3YX2K.js.map +0 -1
- package/lib/chunk-QTBQUW5F.js +0 -196
- package/lib/chunk-QTBQUW5F.js.map +0 -1
- package/lib/chunk-QWA7BZWH.cjs +0 -79
- package/lib/chunk-QWA7BZWH.cjs.map +0 -1
- package/lib/chunk-R2OO474N.js +0 -27
- package/lib/chunk-R2OO474N.js.map +0 -1
- package/lib/chunk-R5CNDSIV.js +0 -68
- package/lib/chunk-R5CNDSIV.js.map +0 -1
- package/lib/chunk-R7GDQOYO.js +0 -100
- package/lib/chunk-R7GDQOYO.js.map +0 -1
- package/lib/chunk-REJKMDQW.js +0 -51
- package/lib/chunk-REJKMDQW.js.map +0 -1
- package/lib/chunk-RHDFKSZY.cjs +0 -29
- package/lib/chunk-RHDFKSZY.cjs.map +0 -1
- package/lib/chunk-RK2FEMQP.cjs +0 -323
- package/lib/chunk-RK2FEMQP.cjs.map +0 -1
- package/lib/chunk-RKTXSN4V.cjs +0 -71
- package/lib/chunk-RKTXSN4V.cjs.map +0 -1
- package/lib/chunk-RKZ7NQQK.js +0 -177
- package/lib/chunk-RKZ7NQQK.js.map +0 -1
- package/lib/chunk-RNTRA77X.cjs +0 -79
- package/lib/chunk-RNTRA77X.cjs.map +0 -1
- package/lib/chunk-RPSB3BEJ.cjs +0 -67
- package/lib/chunk-RPSB3BEJ.cjs.map +0 -1
- package/lib/chunk-RPYKNJGO.cjs +0 -61
- package/lib/chunk-RPYKNJGO.cjs.map +0 -1
- package/lib/chunk-RREOQFIQ.js +0 -77
- package/lib/chunk-RREOQFIQ.js.map +0 -1
- package/lib/chunk-S4CPSRCJ.cjs +0 -61
- package/lib/chunk-S4CPSRCJ.cjs.map +0 -1
- package/lib/chunk-SALCRQCG.js +0 -24
- package/lib/chunk-SALCRQCG.js.map +0 -1
- package/lib/chunk-SCM6LSNM.cjs +0 -98
- package/lib/chunk-SCM6LSNM.cjs.map +0 -1
- package/lib/chunk-SDTS2VCD.js +0 -86
- package/lib/chunk-SDTS2VCD.js.map +0 -1
- package/lib/chunk-SFAO2A3N.cjs +0 -53
- package/lib/chunk-SFAO2A3N.cjs.map +0 -1
- package/lib/chunk-SFXZIJ25.js +0 -79
- package/lib/chunk-SFXZIJ25.js.map +0 -1
- package/lib/chunk-SKHYOLJA.js +0 -100
- package/lib/chunk-SKHYOLJA.js.map +0 -1
- package/lib/chunk-SLBCAAYH.js +0 -68
- package/lib/chunk-SLBCAAYH.js.map +0 -1
- package/lib/chunk-SQBN5NCG.cjs +0 -80
- package/lib/chunk-SQBN5NCG.cjs.map +0 -1
- package/lib/chunk-SSP54MAX.cjs +0 -88
- package/lib/chunk-SSP54MAX.cjs.map +0 -1
- package/lib/chunk-TCBUTFPR.js +0 -123
- package/lib/chunk-TCBUTFPR.js.map +0 -1
- package/lib/chunk-TDSOIDEK.cjs +0 -134
- package/lib/chunk-TDSOIDEK.cjs.map +0 -1
- package/lib/chunk-TEYJIKEG.cjs +0 -179
- package/lib/chunk-TEYJIKEG.cjs.map +0 -1
- package/lib/chunk-TK6ZJDPM.cjs +0 -89
- package/lib/chunk-TK6ZJDPM.cjs.map +0 -1
- package/lib/chunk-TKLJQ4EZ.cjs +0 -70
- package/lib/chunk-TKLJQ4EZ.cjs.map +0 -1
- package/lib/chunk-TLVM56AW.cjs +0 -712
- package/lib/chunk-TLVM56AW.cjs.map +0 -1
- package/lib/chunk-TMLHA2SH.cjs +0 -70
- package/lib/chunk-TMLHA2SH.cjs.map +0 -1
- package/lib/chunk-TNYPDYRQ.js +0 -77
- package/lib/chunk-TNYPDYRQ.js.map +0 -1
- package/lib/chunk-TQMWALIZ.cjs +0 -93
- package/lib/chunk-TQMWALIZ.cjs.map +0 -1
- package/lib/chunk-TVRITF4Q.cjs +0 -164
- package/lib/chunk-TVRITF4Q.cjs.map +0 -1
- package/lib/chunk-TZQZDDQM.cjs +0 -179
- package/lib/chunk-TZQZDDQM.cjs.map +0 -1
- package/lib/chunk-TZYNA4PS.js +0 -79
- package/lib/chunk-TZYNA4PS.js.map +0 -1
- package/lib/chunk-U753GALL.js +0 -88
- package/lib/chunk-U753GALL.js.map +0 -1
- package/lib/chunk-UIIA2NOP.js +0 -118
- package/lib/chunk-UIIA2NOP.js.map +0 -1
- package/lib/chunk-UKPBX7LY.cjs +0 -70
- package/lib/chunk-UKPBX7LY.cjs.map +0 -1
- package/lib/chunk-UQ7DYB5E.js +0 -77
- package/lib/chunk-UQ7DYB5E.js.map +0 -1
- package/lib/chunk-US6R23LF.cjs +0 -70
- package/lib/chunk-US6R23LF.cjs.map +0 -1
- package/lib/chunk-UTST4YPO.js +0 -68
- package/lib/chunk-UTST4YPO.js.map +0 -1
- package/lib/chunk-UZBVGMSV.js +0 -68
- package/lib/chunk-UZBVGMSV.js.map +0 -1
- package/lib/chunk-UZEYQBID.cjs +0 -70
- package/lib/chunk-UZEYQBID.cjs.map +0 -1
- package/lib/chunk-VBWYHYCJ.cjs +0 -35
- package/lib/chunk-VBWYHYCJ.cjs.map +0 -1
- package/lib/chunk-VRPS4DFY.cjs +0 -115
- package/lib/chunk-VRPS4DFY.cjs.map +0 -1
- package/lib/chunk-VWSDATWK.cjs +0 -79
- package/lib/chunk-VWSDATWK.cjs.map +0 -1
- package/lib/chunk-VZQIHAFY.cjs +0 -81
- package/lib/chunk-VZQIHAFY.cjs.map +0 -1
- package/lib/chunk-W2TZOXPY.cjs +0 -47
- package/lib/chunk-W2TZOXPY.cjs.map +0 -1
- package/lib/chunk-W2VZAGW4.js +0 -60
- package/lib/chunk-W2VZAGW4.js.map +0 -1
- package/lib/chunk-W4URWXJ7.js +0 -96
- package/lib/chunk-W4URWXJ7.js.map +0 -1
- package/lib/chunk-WAFUWWBD.cjs +0 -118
- package/lib/chunk-WAFUWWBD.cjs.map +0 -1
- package/lib/chunk-WFZK3GQX.cjs +0 -38
- package/lib/chunk-WFZK3GQX.cjs.map +0 -1
- package/lib/chunk-WLWSEYVW.cjs +0 -26
- package/lib/chunk-WLWSEYVW.cjs.map +0 -1
- package/lib/chunk-WNEAV26W.js +0 -89
- package/lib/chunk-WNEAV26W.js.map +0 -1
- package/lib/chunk-WO5LQQSK.cjs +0 -4
- package/lib/chunk-WO5LQQSK.cjs.map +0 -1
- package/lib/chunk-WOVCY6ON.cjs +0 -22
- package/lib/chunk-WOVCY6ON.cjs.map +0 -1
- package/lib/chunk-WPZZ7TYZ.js +0 -77
- package/lib/chunk-WPZZ7TYZ.js.map +0 -1
- package/lib/chunk-WXAR4XMS.cjs +0 -79
- package/lib/chunk-WXAR4XMS.cjs.map +0 -1
- package/lib/chunk-X5AV3JJL.js +0 -42
- package/lib/chunk-X5AV3JJL.js.map +0 -1
- package/lib/chunk-X6NTP67A.cjs +0 -88
- package/lib/chunk-X6NTP67A.cjs.map +0 -1
- package/lib/chunk-X7L4YY6Q.cjs +0 -93
- package/lib/chunk-X7L4YY6Q.cjs.map +0 -1
- package/lib/chunk-XBZ4KQ72.js +0 -69
- package/lib/chunk-XBZ4KQ72.js.map +0 -1
- package/lib/chunk-XC52EDZL.js +0 -191
- package/lib/chunk-XC52EDZL.js.map +0 -1
- package/lib/chunk-XCYEGPE6.cjs +0 -44
- package/lib/chunk-XCYEGPE6.cjs.map +0 -1
- package/lib/chunk-XFEBSQBG.cjs +0 -84
- package/lib/chunk-XFEBSQBG.cjs.map +0 -1
- package/lib/chunk-XGETDJS6.cjs +0 -79
- package/lib/chunk-XGETDJS6.cjs.map +0 -1
- package/lib/chunk-XISWA6SP.cjs +0 -77
- package/lib/chunk-XISWA6SP.cjs.map +0 -1
- package/lib/chunk-XJPK7JSH.js +0 -77
- package/lib/chunk-XJPK7JSH.js.map +0 -1
- package/lib/chunk-XKCYUSO3.cjs +0 -81
- package/lib/chunk-XKCYUSO3.cjs.map +0 -1
- package/lib/chunk-XZLQM5TG.js +0 -33
- package/lib/chunk-XZLQM5TG.js.map +0 -1
- package/lib/chunk-YC7P7U37.js +0 -78
- package/lib/chunk-YC7P7U37.js.map +0 -1
- package/lib/chunk-YIP564B3.js +0 -87
- package/lib/chunk-YIP564B3.js.map +0 -1
- package/lib/chunk-YJ3O5XLC.js +0 -3
- package/lib/chunk-YJ3O5XLC.js.map +0 -1
- package/lib/chunk-YRHBJTKU.js +0 -96
- package/lib/chunk-YRHBJTKU.js.map +0 -1
- package/lib/chunk-YT2JXKSB.js +0 -82
- package/lib/chunk-YT2JXKSB.js.map +0 -1
- package/lib/chunk-YTKKF3OH.cjs +0 -70
- package/lib/chunk-YTKKF3OH.cjs.map +0 -1
- package/lib/chunk-YTSMQAN7.js +0 -86
- package/lib/chunk-YTSMQAN7.js.map +0 -1
- package/lib/chunk-YTXNOZVJ.js +0 -68
- package/lib/chunk-YTXNOZVJ.js.map +0 -1
- package/lib/chunk-YUKH7ESE.js +0 -42
- package/lib/chunk-YUKH7ESE.js.map +0 -1
- package/lib/chunk-YVUJAOL2.cjs +0 -69
- package/lib/chunk-YVUJAOL2.cjs.map +0 -1
- package/lib/chunk-YWU46S7V.js +0 -709
- package/lib/chunk-YWU46S7V.js.map +0 -1
- package/lib/chunk-YXFYXDGG.js +0 -154
- package/lib/chunk-YXFYXDGG.js.map +0 -1
- package/lib/chunk-YZQACFJF.js +0 -77
- package/lib/chunk-YZQACFJF.js.map +0 -1
- package/lib/chunk-Z2ZLJGA4.cjs +0 -70
- package/lib/chunk-Z2ZLJGA4.cjs.map +0 -1
- package/lib/chunk-ZA46YCQ5.js +0 -321
- package/lib/chunk-ZA46YCQ5.js.map +0 -1
- package/lib/chunk-ZA6NI5JQ.js +0 -84
- package/lib/chunk-ZA6NI5JQ.js.map +0 -1
- package/lib/chunk-ZEUZ6YAA.cjs +0 -179
- package/lib/chunk-ZEUZ6YAA.cjs.map +0 -1
- package/lib/chunk-ZFCXWZIL.cjs +0 -84
- package/lib/chunk-ZFCXWZIL.cjs.map +0 -1
- package/lib/chunk-ZMH7UHLF.js +0 -177
- package/lib/chunk-ZMH7UHLF.js.map +0 -1
- package/lib/chunk-ZRRBBZZ6.js +0 -168
- package/lib/chunk-ZRRBBZZ6.js.map +0 -1
- package/lib/chunk-ZSTRX2NN.cjs +0 -166
- package/lib/chunk-ZSTRX2NN.cjs.map +0 -1
- package/lib/chunk-ZV2F5AT6.js +0 -59
- package/lib/chunk-ZV2F5AT6.js.map +0 -1
- package/lib/chunk-ZX6P5OOB.js +0 -91
- package/lib/chunk-ZX6P5OOB.js.map +0 -1
- package/lib/client.cjs +0 -17
- package/lib/client.cjs.map +0 -1
- package/lib/client.d.cts +0 -42
- package/lib/client.d.ts +0 -40
- package/lib/client.js +0 -9
- package/lib/client.js.map +0 -1
- package/lib/config.cjs +0 -12
- package/lib/config.cjs.map +0 -1
- package/lib/config.d.cts +0 -19
- package/lib/config.d.ts +0 -19
- package/lib/config.js +0 -4
- package/lib/config.js.map +0 -1
- package/lib/debug.cjs +0 -12
- package/lib/debug.cjs.map +0 -1
- package/lib/debug.d.cts +0 -4
- package/lib/debug.d.ts +0 -4
- package/lib/debug.js +0 -4
- package/lib/debug.js.map +0 -1
- package/lib/error.cjs +0 -38
- package/lib/error.cjs.map +0 -1
- package/lib/error.d.cts +0 -38
- package/lib/error.d.ts +0 -38
- package/lib/error.js +0 -5
- package/lib/error.js.map +0 -1
- package/lib/fetch-D4JGyBOl.d.cts +0 -55
- package/lib/fetch-D4JGyBOl.d.ts +0 -55
- package/lib/fetch.cjs +0 -18
- package/lib/fetch.cjs.map +0 -1
- package/lib/fetch.d.cts +0 -1
- package/lib/fetch.d.ts +0 -1
- package/lib/fetch.js +0 -5
- package/lib/fetch.js.map +0 -1
- package/lib/interceptor.cjs +0 -4
- package/lib/interceptor.cjs.map +0 -1
- package/lib/interceptor.d.cts +0 -1
- package/lib/interceptor.d.ts +0 -1
- package/lib/interceptor.js +0 -3
- package/lib/interceptor.js.map +0 -1
- package/lib/jsonapi.cjs +0 -25
- package/lib/jsonapi.cjs.map +0 -1
- package/lib/jsonapi.d.cts +0 -11
- package/lib/jsonapi.d.ts +0 -11
- package/lib/jsonapi.js +0 -12
- package/lib/jsonapi.js.map +0 -1
- package/lib/query.cjs +0 -23
- package/lib/query.cjs.map +0 -1
- package/lib/query.d.cts +0 -4
- package/lib/query.d.ts +0 -4
- package/lib/query.js +0 -6
- package/lib/query.js.map +0 -1
- package/lib/resource.cjs +0 -37
- package/lib/resource.cjs.map +0 -1
- package/lib/resource.d.cts +0 -4
- package/lib/resource.d.ts +0 -4
- package/lib/resource.js +0 -12
- package/lib/resource.js.map +0 -1
- package/lib/types.cjs +0 -4
- package/lib/types.cjs.map +0 -1
- package/lib/types.d.cts +0 -7
- package/lib/types.d.ts +0 -7
- package/lib/types.js +0 -3
- package/lib/types.js.map +0 -1
- package/lib/util.cjs +0 -25
- package/lib/util.cjs.map +0 -1
- package/lib/util.d.cts +0 -13
- package/lib/util.d.ts +0 -13
- package/lib/util.js +0 -4
- package/lib/util.js.map +0 -1
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-I5AS47IY.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/price_volume_tiers.ts
|
|
4
|
+
var PriceVolumeTiers = class _PriceVolumeTiers extends ApiResource {
|
|
5
|
+
static TYPE = "price_volume_tiers";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _PriceVolumeTiers.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _PriceVolumeTiers.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _PriceVolumeTiers.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async price(priceVolumeTierId, params, options) {
|
|
24
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "prices" },
|
|
27
|
+
`price_volume_tiers/${_priceVolumeTierId}/price`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async attachments(priceVolumeTierId, params, options) {
|
|
33
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "attachments" },
|
|
36
|
+
`price_volume_tiers/${_priceVolumeTierId}/attachments`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async event_stores(priceVolumeTierId, params, options) {
|
|
42
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "event_stores" },
|
|
45
|
+
`price_volume_tiers/${_priceVolumeTierId}/event_stores`,
|
|
46
|
+
params,
|
|
47
|
+
options
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
async events(priceVolumeTierId, params, options) {
|
|
51
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
52
|
+
return this.resources.fetch(
|
|
53
|
+
{ type: "events" },
|
|
54
|
+
`price_volume_tiers/${_priceVolumeTierId}/events`,
|
|
55
|
+
params,
|
|
56
|
+
options
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
isPriceVolumeTier(resource) {
|
|
60
|
+
return resource.type && resource.type === _PriceVolumeTiers.TYPE;
|
|
61
|
+
}
|
|
62
|
+
relationship(id) {
|
|
63
|
+
return super.relationshipOneToOne(id);
|
|
64
|
+
}
|
|
65
|
+
relationshipToMany(...ids) {
|
|
66
|
+
return super.relationshipOneToMany(...ids);
|
|
67
|
+
}
|
|
68
|
+
type() {
|
|
69
|
+
return _PriceVolumeTiers.TYPE;
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
var instance = new PriceVolumeTiers();
|
|
73
|
+
var price_volume_tiers_default = instance;
|
|
74
|
+
|
|
75
|
+
export { price_volume_tiers_default };
|
|
76
|
+
//# sourceMappingURL=chunk-UGSEWMOT.js.map
|
|
77
|
+
//# sourceMappingURL=chunk-UGSEWMOT.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/price_volume_tiers.ts"],"names":[],"mappings":"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","file":"chunk-UGSEWMOT.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Price, PriceType } from './prices'\n\ntype PriceVolumeTierType = 'price_volume_tiers'\ntype PriceVolumeTierRel = ResourceRel & { type: PriceVolumeTierType }\ntype PriceRel = ResourceRel & { type: PriceType }\n\nexport type PriceVolumeTierSort = Pick<PriceVolumeTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort\n// export type PriceVolumeTierFilter = Pick<PriceVolumeTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceFilter\n\n/**\n * The Price volume tier object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/price_volume_tiers endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/price_volume_tiers/object\n */\ninterface PriceVolumeTier extends Resource {\n readonly type: PriceVolumeTierType\n\n /**\n * The price tier's name.\n * @example ```\"six pack\"```\n */\n name: string\n /**\n * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n * @example ```15```\n */\n up_to?: number | null\n /**\n * The price of this price tier, in cents.\n * @example ```1000```\n */\n price_amount_cents: number\n /**\n * The price of this price tier, float.\n * @example ```10```\n */\n price_amount_float?: number | null\n /**\n * The price of this price tier, formatted.\n * @example ```\"€10,00\"```\n */\n formatted_price_amount?: string | null\n\n price?: Price | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n events?: Event[] | null\n}\n\ninterface PriceVolumeTierCreate extends ResourceCreate {\n /**\n * The price tier's name.\n * @example ```\"six pack\"```\n */\n name: string\n /**\n * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n * @example ```15```\n */\n up_to?: number | null\n /**\n * The price of this price tier, in cents.\n * @example ```1000```\n */\n price_amount_cents: number\n\n price: PriceRel\n}\n\ninterface PriceVolumeTierUpdate extends ResourceUpdate {\n /**\n * The price tier's name.\n * @example ```\"six pack\"```\n */\n name?: string | null\n /**\n * The tier upper limit, expressed as the line item quantity. When 'null' it means infinity (useful to have an always matching tier).\n * @example ```15```\n */\n up_to?: number | null\n /**\n * The price of this price tier, in cents.\n * @example ```1000```\n */\n price_amount_cents?: number | null\n\n price?: PriceRel | null\n}\n\nclass PriceVolumeTiers extends ApiResource<PriceVolumeTier> {\n static readonly TYPE: PriceVolumeTierType = 'price_volume_tiers' as const\n\n async create(\n resource: PriceVolumeTierCreate,\n params?: QueryParamsRetrieve<PriceVolumeTier>,\n options?: ResourcesConfig,\n ): Promise<PriceVolumeTier> {\n return this.resources.create<PriceVolumeTierCreate, PriceVolumeTier>(\n { ...resource, type: PriceVolumeTiers.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: PriceVolumeTierUpdate,\n params?: QueryParamsRetrieve<PriceVolumeTier>,\n options?: ResourcesConfig,\n ): Promise<PriceVolumeTier> {\n return this.resources.update<PriceVolumeTierUpdate, PriceVolumeTier>(\n { ...resource, type: PriceVolumeTiers.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: PriceVolumeTiers.TYPE } : id, options)\n }\n\n async price(\n priceVolumeTierId: string | PriceVolumeTier,\n params?: QueryParamsRetrieve<Price>,\n options?: ResourcesConfig,\n ): Promise<Price> {\n const _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || (priceVolumeTierId as string)\n return this.resources.fetch<Price>(\n { type: 'prices' },\n `price_volume_tiers/${_priceVolumeTierId}/price`,\n params,\n options,\n ) as unknown as Price\n }\n\n async attachments(\n priceVolumeTierId: string | PriceVolumeTier,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || (priceVolumeTierId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `price_volume_tiers/${_priceVolumeTierId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n priceVolumeTierId: string | PriceVolumeTier,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || (priceVolumeTierId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `price_volume_tiers/${_priceVolumeTierId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async events(\n priceVolumeTierId: string | PriceVolumeTier,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _priceVolumeTierId = (priceVolumeTierId as PriceVolumeTier).id || (priceVolumeTierId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `price_volume_tiers/${_priceVolumeTierId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n isPriceVolumeTier(resource: any): resource is PriceVolumeTier {\n return resource.type && resource.type === PriceVolumeTiers.TYPE\n }\n\n relationship(id: string | ResourceId | null): PriceVolumeTierRel {\n return super.relationshipOneToOne<PriceVolumeTierRel>(id)\n }\n\n relationshipToMany(...ids: string[]): PriceVolumeTierRel[] {\n return super.relationshipOneToMany<PriceVolumeTierRel>(...ids)\n }\n\n type(): PriceVolumeTierType {\n return PriceVolumeTiers.TYPE\n }\n}\n\nconst instance = new PriceVolumeTiers()\nexport default instance\n\nexport type { PriceVolumeTier, PriceVolumeTierCreate, PriceVolumeTiers, PriceVolumeTierType, PriceVolumeTierUpdate }\n"]}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-I5AS47IY.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/coupon_codes_promotion_rules.ts
|
|
4
|
+
var CouponCodesPromotionRules = class _CouponCodesPromotionRules extends ApiResource {
|
|
5
|
+
static TYPE = "coupon_codes_promotion_rules";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _CouponCodesPromotionRules.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _CouponCodesPromotionRules.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CouponCodesPromotionRules.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async event_stores(couponCodesPromotionRuleId, params, options) {
|
|
24
|
+
const _couponCodesPromotionRuleId = couponCodesPromotionRuleId.id || couponCodesPromotionRuleId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "event_stores" },
|
|
27
|
+
`coupon_codes_promotion_rules/${_couponCodesPromotionRuleId}/event_stores`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async coupons(couponCodesPromotionRuleId, params, options) {
|
|
33
|
+
const _couponCodesPromotionRuleId = couponCodesPromotionRuleId.id || couponCodesPromotionRuleId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "coupons" },
|
|
36
|
+
`coupon_codes_promotion_rules/${_couponCodesPromotionRuleId}/coupons`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
isCouponCodesPromotionRule(resource) {
|
|
42
|
+
return resource.type && resource.type === _CouponCodesPromotionRules.TYPE;
|
|
43
|
+
}
|
|
44
|
+
relationship(id) {
|
|
45
|
+
return super.relationshipOneToOne(id);
|
|
46
|
+
}
|
|
47
|
+
relationshipToMany(...ids) {
|
|
48
|
+
return super.relationshipOneToMany(...ids);
|
|
49
|
+
}
|
|
50
|
+
type() {
|
|
51
|
+
return _CouponCodesPromotionRules.TYPE;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
var instance = new CouponCodesPromotionRules();
|
|
55
|
+
var coupon_codes_promotion_rules_default = instance;
|
|
56
|
+
|
|
57
|
+
export { coupon_codes_promotion_rules_default };
|
|
58
|
+
//# sourceMappingURL=chunk-UIJCNVX4.js.map
|
|
59
|
+
//# sourceMappingURL=chunk-UIJCNVX4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/coupon_codes_promotion_rules.ts"],"names":[],"mappings":";;;AAuFA,IAAM,yBAAA,GAAN,MAAM,0BAAA,SAAkC,WAAA,CAAsC;AAAA,EAC5E,OAAgB,IAAA,GAAqC,8BAAA;AAAA,EAErD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,2BAA0B,IAAA,EAAK;AAAA,MACpD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,2BAA0B,IAAA,EAAK;AAAA,MACpD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,0BAAA,CAA0B,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACjH;AAAA,EAEA,MAAM,YAAA,CACJ,0BAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,2BAAA,GACH,2BAAwD,EAAA,IAAO,0BAAA;AAClE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,gCAAgC,2BAA2B,CAAA,aAAA,CAAA;AAAA,MAC3D,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,OAAA,CACJ,0BAAA,EACA,MAAA,EACA,OAAA,EAC+B;AAC/B,IAAA,MAAM,2BAAA,GACH,2BAAwD,EAAA,IAAO,0BAAA;AAClE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,SAAA,EAAU;AAAA,MAClB,gCAAgC,2BAA2B,CAAA,QAAA,CAAA;AAAA,MAC3D,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,2BAA2B,QAAA,EAAqD;AAC9E,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,0BAAA,CAA0B,IAAA;AAAA,EACtE;AAAA,EAEA,aAAa,EAAA,EAA6D;AACxE,IAAA,OAAO,KAAA,CAAM,qBAAkD,EAAE,CAAA;AAAA,EACnE;AAAA,EAEA,sBAAsB,GAAA,EAA8C;AAClE,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAmD,GAAG,GAAG,CAAA;AAAA,EACxE;AAAA,EAEA,IAAA,GAAqC;AACnC,IAAA,OAAO,0BAAA,CAA0B,IAAA;AAAA,EACnC;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,yBAAA,EAA0B;AAC/C,IAAO,oCAAA,GAAQ","file":"chunk-UIJCNVX4.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { BuyXPayYPromotion, BuyXPayYPromotionType } from './buy_x_pay_y_promotions'\nimport type { Coupon, CouponType } from './coupons'\nimport type { EventStore } from './event_stores'\nimport type { ExternalPromotion, ExternalPromotionType } from './external_promotions'\nimport type { FixedAmountPromotion, FixedAmountPromotionType } from './fixed_amount_promotions'\nimport type { FixedPricePromotion, FixedPricePromotionType } from './fixed_price_promotions'\nimport type { FlexPromotion, FlexPromotionType } from './flex_promotions'\nimport type { FreeGiftPromotion, FreeGiftPromotionType } from './free_gift_promotions'\nimport type { FreeShippingPromotion, FreeShippingPromotionType } from './free_shipping_promotions'\nimport type { PercentageDiscountPromotion, PercentageDiscountPromotionType } from './percentage_discount_promotions'\n\ntype CouponCodesPromotionRuleType = 'coupon_codes_promotion_rules'\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype PercentageDiscountPromotionRel = ResourceRel & { type: PercentageDiscountPromotionType }\ntype FreeShippingPromotionRel = ResourceRel & { type: FreeShippingPromotionType }\ntype BuyXPayYPromotionRel = ResourceRel & { type: BuyXPayYPromotionType }\ntype FreeGiftPromotionRel = ResourceRel & { type: FreeGiftPromotionType }\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\ntype FixedAmountPromotionRel = ResourceRel & { type: FixedAmountPromotionType }\ntype FlexPromotionRel = ResourceRel & { type: FlexPromotionType }\ntype CouponRel = ResourceRel & { type: CouponType }\n\nexport type CouponCodesPromotionRuleSort = Pick<CouponCodesPromotionRule, 'id'> & ResourceSort\n// export type CouponCodesPromotionRuleFilter = Pick<CouponCodesPromotionRule, 'id'> & ResourceFilter\n\n/**\n * The Coupon codes promotion rule object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/coupon_codes_promotion_rules endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/coupon_codes_promotion_rules/object\n */\ninterface CouponCodesPromotionRule extends Resource {\n readonly type: CouponCodesPromotionRuleType\n\n promotion?:\n | PercentageDiscountPromotion\n | FreeShippingPromotion\n | BuyXPayYPromotion\n | FreeGiftPromotion\n | FixedPricePromotion\n | ExternalPromotion\n | FixedAmountPromotion\n | FlexPromotion\n | null\n event_stores?: EventStore[] | null\n coupons?: Coupon[] | null\n}\n\ninterface CouponCodesPromotionRuleCreate extends ResourceCreate {\n promotion:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n coupons?: CouponRel[] | null\n}\n\ninterface CouponCodesPromotionRuleUpdate extends ResourceUpdate {\n promotion?:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n | null\n coupons?: CouponRel[] | null\n}\n\nclass CouponCodesPromotionRules extends ApiResource<CouponCodesPromotionRule> {\n static readonly TYPE: CouponCodesPromotionRuleType = 'coupon_codes_promotion_rules' as const\n\n async create(\n resource: CouponCodesPromotionRuleCreate,\n params?: QueryParamsRetrieve<CouponCodesPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CouponCodesPromotionRule> {\n return this.resources.create<CouponCodesPromotionRuleCreate, CouponCodesPromotionRule>(\n { ...resource, type: CouponCodesPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CouponCodesPromotionRuleUpdate,\n params?: QueryParamsRetrieve<CouponCodesPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CouponCodesPromotionRule> {\n return this.resources.update<CouponCodesPromotionRuleUpdate, CouponCodesPromotionRule>(\n { ...resource, type: CouponCodesPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CouponCodesPromotionRules.TYPE } : id, options)\n }\n\n async event_stores(\n couponCodesPromotionRuleId: string | CouponCodesPromotionRule,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _couponCodesPromotionRuleId =\n (couponCodesPromotionRuleId as CouponCodesPromotionRule).id || (couponCodesPromotionRuleId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `coupon_codes_promotion_rules/${_couponCodesPromotionRuleId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async coupons(\n couponCodesPromotionRuleId: string | CouponCodesPromotionRule,\n params?: QueryParamsList<Coupon>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Coupon>> {\n const _couponCodesPromotionRuleId =\n (couponCodesPromotionRuleId as CouponCodesPromotionRule).id || (couponCodesPromotionRuleId as string)\n return this.resources.fetch<Coupon>(\n { type: 'coupons' },\n `coupon_codes_promotion_rules/${_couponCodesPromotionRuleId}/coupons`,\n params,\n options,\n ) as unknown as ListResponse<Coupon>\n }\n\n isCouponCodesPromotionRule(resource: any): resource is CouponCodesPromotionRule {\n return resource.type && resource.type === CouponCodesPromotionRules.TYPE\n }\n\n relationship(id: string | ResourceId | null): CouponCodesPromotionRuleRel {\n return super.relationshipOneToOne<CouponCodesPromotionRuleRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CouponCodesPromotionRuleRel[] {\n return super.relationshipOneToMany<CouponCodesPromotionRuleRel>(...ids)\n }\n\n type(): CouponCodesPromotionRuleType {\n return CouponCodesPromotionRules.TYPE\n }\n}\n\nconst instance = new CouponCodesPromotionRules()\nexport default instance\n\nexport type {\n CouponCodesPromotionRule,\n CouponCodesPromotionRuleCreate,\n CouponCodesPromotionRules,\n CouponCodesPromotionRuleType,\n CouponCodesPromotionRuleUpdate,\n}\n"]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-I5AS47IY.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/customer_subscriptions.ts
|
|
4
|
+
var CustomerSubscriptions = class _CustomerSubscriptions extends ApiResource {
|
|
5
|
+
static TYPE = "customer_subscriptions";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _CustomerSubscriptions.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _CustomerSubscriptions.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerSubscriptions.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async customer(customerSubscriptionId, params, options) {
|
|
24
|
+
const _customerSubscriptionId = customerSubscriptionId.id || customerSubscriptionId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "customers" },
|
|
27
|
+
`customer_subscriptions/${_customerSubscriptionId}/customer`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async events(customerSubscriptionId, params, options) {
|
|
33
|
+
const _customerSubscriptionId = customerSubscriptionId.id || customerSubscriptionId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "events" },
|
|
36
|
+
`customer_subscriptions/${_customerSubscriptionId}/events`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async event_stores(customerSubscriptionId, params, options) {
|
|
42
|
+
const _customerSubscriptionId = customerSubscriptionId.id || customerSubscriptionId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "event_stores" },
|
|
45
|
+
`customer_subscriptions/${_customerSubscriptionId}/event_stores`,
|
|
46
|
+
params,
|
|
47
|
+
options
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
isCustomerSubscription(resource) {
|
|
51
|
+
return resource.type && resource.type === _CustomerSubscriptions.TYPE;
|
|
52
|
+
}
|
|
53
|
+
relationship(id) {
|
|
54
|
+
return super.relationshipOneToOne(id);
|
|
55
|
+
}
|
|
56
|
+
relationshipToMany(...ids) {
|
|
57
|
+
return super.relationshipOneToMany(...ids);
|
|
58
|
+
}
|
|
59
|
+
type() {
|
|
60
|
+
return _CustomerSubscriptions.TYPE;
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
var instance = new CustomerSubscriptions();
|
|
64
|
+
var customer_subscriptions_default = instance;
|
|
65
|
+
|
|
66
|
+
export { customer_subscriptions_default };
|
|
67
|
+
//# sourceMappingURL=chunk-UMRNYMOF.js.map
|
|
68
|
+
//# sourceMappingURL=chunk-UMRNYMOF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/customer_subscriptions.ts"],"names":[],"mappings":";;;AAoDA,IAAM,qBAAA,GAAN,MAAM,sBAAA,SAA8B,WAAA,CAAkC;AAAA,EACpE,OAAgB,IAAA,GAAiC,wBAAA;AAAA,EAEjD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC+B;AAC/B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,uBAAsB,IAAA,EAAK;AAAA,MAChD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC+B;AAC/B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,uBAAsB,IAAA,EAAK;AAAA,MAChD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,sBAAA,CAAsB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC7G;AAAA,EAEA,MAAM,QAAA,CACJ,sBAAA,EACA,MAAA,EACA,OAAA,EACmB;AACnB,IAAA,MAAM,uBAAA,GACH,uBAAgD,EAAA,IAAO,sBAAA;AAC1D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,WAAA,EAAY;AAAA,MACpB,0BAA0B,uBAAuB,CAAA,SAAA,CAAA;AAAA,MACjD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,sBAAA,EACA,MAAA,EACA,OAAA,EAC8B;AAC9B,IAAA,MAAM,uBAAA,GACH,uBAAgD,EAAA,IAAO,sBAAA;AAC1D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,QAAA,EAAS;AAAA,MACjB,0BAA0B,uBAAuB,CAAA,OAAA,CAAA;AAAA,MACjD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,sBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,uBAAA,GACH,uBAAgD,EAAA,IAAO,sBAAA;AAC1D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,0BAA0B,uBAAuB,CAAA,aAAA,CAAA;AAAA,MACjD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,uBAAuB,QAAA,EAAiD;AACtE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,sBAAA,CAAsB,IAAA;AAAA,EAClE;AAAA,EAEA,aAAa,EAAA,EAAyD;AACpE,IAAA,OAAO,KAAA,CAAM,qBAA8C,EAAE,CAAA;AAAA,EAC/D;AAAA,EAEA,sBAAsB,GAAA,EAA0C;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA+C,GAAG,GAAG,CAAA;AAAA,EACpE;AAAA,EAEA,IAAA,GAAiC;AAC/B,IAAA,OAAO,sBAAA,CAAsB,IAAA;AAAA,EAC/B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,qBAAA,EAAsB;AAC3C,IAAO,8BAAA,GAAQ","file":"chunk-UMRNYMOF.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\n\nimport type { Customer } from './customers'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\ntype CustomerSubscriptionType = 'customer_subscriptions'\ntype CustomerSubscriptionRel = ResourceRel & { type: CustomerSubscriptionType }\n\nexport type CustomerSubscriptionSort = Pick<CustomerSubscription, 'id'> & ResourceSort\n// export type CustomerSubscriptionFilter = Pick<CustomerSubscription, 'id'> & ResourceFilter\n\n/**\n * The Customer subscription object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customer_subscriptions endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/customer_subscriptions/object\n */\ninterface CustomerSubscription extends Resource {\n readonly type: CustomerSubscriptionType\n\n /**\n * The email of the customer that owns the subscription.\n * @example ```\"john@example.com\"```\n */\n customer_email: string\n\n customer?: Customer | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerSubscriptionCreate extends ResourceCreate {\n /**\n * The email of the customer that owns the subscription.\n * @example ```\"john@example.com\"```\n */\n customer_email: string\n}\n\ntype CustomerSubscriptionUpdate = ResourceUpdate\n\nclass CustomerSubscriptions extends ApiResource<CustomerSubscription> {\n static readonly TYPE: CustomerSubscriptionType = 'customer_subscriptions' as const\n\n async create(\n resource: CustomerSubscriptionCreate,\n params?: QueryParamsRetrieve<CustomerSubscription>,\n options?: ResourcesConfig,\n ): Promise<CustomerSubscription> {\n return this.resources.create<CustomerSubscriptionCreate, CustomerSubscription>(\n { ...resource, type: CustomerSubscriptions.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomerSubscriptionUpdate,\n params?: QueryParamsRetrieve<CustomerSubscription>,\n options?: ResourcesConfig,\n ): Promise<CustomerSubscription> {\n return this.resources.update<CustomerSubscriptionUpdate, CustomerSubscription>(\n { ...resource, type: CustomerSubscriptions.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CustomerSubscriptions.TYPE } : id, options)\n }\n\n async customer(\n customerSubscriptionId: string | CustomerSubscription,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _customerSubscriptionId =\n (customerSubscriptionId as CustomerSubscription).id || (customerSubscriptionId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customer_subscriptions/${_customerSubscriptionId}/customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async events(\n customerSubscriptionId: string | CustomerSubscription,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _customerSubscriptionId =\n (customerSubscriptionId as CustomerSubscription).id || (customerSubscriptionId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `customer_subscriptions/${_customerSubscriptionId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n customerSubscriptionId: string | CustomerSubscription,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerSubscriptionId =\n (customerSubscriptionId as CustomerSubscription).id || (customerSubscriptionId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customer_subscriptions/${_customerSubscriptionId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomerSubscription(resource: any): resource is CustomerSubscription {\n return resource.type && resource.type === CustomerSubscriptions.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerSubscriptionRel {\n return super.relationshipOneToOne<CustomerSubscriptionRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerSubscriptionRel[] {\n return super.relationshipOneToMany<CustomerSubscriptionRel>(...ids)\n }\n\n type(): CustomerSubscriptionType {\n return CustomerSubscriptions.TYPE\n }\n}\n\nconst instance = new CustomerSubscriptions()\nexport default instance\n\nexport type {\n CustomerSubscription,\n CustomerSubscriptionCreate,\n CustomerSubscriptions,\n CustomerSubscriptionType,\n CustomerSubscriptionUpdate,\n}\n"]}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkPRE3YU5A_cjs = require('./chunk-PRE3YU5A.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/customers.ts
|
|
6
|
+
var Customers = class _Customers extends chunkPRE3YU5A_cjs.ApiResource {
|
|
7
|
+
static TYPE = "customers";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _Customers.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _Customers.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _Customers.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async customer_group(customerId, params, options) {
|
|
18
|
+
const _customerId = customerId.id || customerId;
|
|
19
|
+
return this.resources.fetch(
|
|
20
|
+
{ type: "customer_groups" },
|
|
21
|
+
`customers/${_customerId}/customer_group`,
|
|
22
|
+
params,
|
|
23
|
+
options
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
async customer_addresses(customerId, params, options) {
|
|
27
|
+
const _customerId = customerId.id || customerId;
|
|
28
|
+
return this.resources.fetch(
|
|
29
|
+
{ type: "customer_addresses" },
|
|
30
|
+
`customers/${_customerId}/customer_addresses`,
|
|
31
|
+
params,
|
|
32
|
+
options
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
async customer_payment_sources(customerId, params, options) {
|
|
36
|
+
const _customerId = customerId.id || customerId;
|
|
37
|
+
return this.resources.fetch(
|
|
38
|
+
{ type: "customer_payment_sources" },
|
|
39
|
+
`customers/${_customerId}/customer_payment_sources`,
|
|
40
|
+
params,
|
|
41
|
+
options
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
async customer_subscriptions(customerId, params, options) {
|
|
45
|
+
const _customerId = customerId.id || customerId;
|
|
46
|
+
return this.resources.fetch(
|
|
47
|
+
{ type: "customer_subscriptions" },
|
|
48
|
+
`customers/${_customerId}/customer_subscriptions`,
|
|
49
|
+
params,
|
|
50
|
+
options
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
async orders(customerId, params, options) {
|
|
54
|
+
const _customerId = customerId.id || customerId;
|
|
55
|
+
return this.resources.fetch(
|
|
56
|
+
{ type: "orders" },
|
|
57
|
+
`customers/${_customerId}/orders`,
|
|
58
|
+
params,
|
|
59
|
+
options
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
async order_subscriptions(customerId, params, options) {
|
|
63
|
+
const _customerId = customerId.id || customerId;
|
|
64
|
+
return this.resources.fetch(
|
|
65
|
+
{ type: "order_subscriptions" },
|
|
66
|
+
`customers/${_customerId}/order_subscriptions`,
|
|
67
|
+
params,
|
|
68
|
+
options
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
async returns(customerId, params, options) {
|
|
72
|
+
const _customerId = customerId.id || customerId;
|
|
73
|
+
return this.resources.fetch(
|
|
74
|
+
{ type: "returns" },
|
|
75
|
+
`customers/${_customerId}/returns`,
|
|
76
|
+
params,
|
|
77
|
+
options
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
async sku_lists(customerId, params, options) {
|
|
81
|
+
const _customerId = customerId.id || customerId;
|
|
82
|
+
return this.resources.fetch(
|
|
83
|
+
{ type: "sku_lists" },
|
|
84
|
+
`customers/${_customerId}/sku_lists`,
|
|
85
|
+
params,
|
|
86
|
+
options
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
async attachments(customerId, params, options) {
|
|
90
|
+
const _customerId = customerId.id || customerId;
|
|
91
|
+
return this.resources.fetch(
|
|
92
|
+
{ type: "attachments" },
|
|
93
|
+
`customers/${_customerId}/attachments`,
|
|
94
|
+
params,
|
|
95
|
+
options
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
async events(customerId, params, options) {
|
|
99
|
+
const _customerId = customerId.id || customerId;
|
|
100
|
+
return this.resources.fetch(
|
|
101
|
+
{ type: "events" },
|
|
102
|
+
`customers/${_customerId}/events`,
|
|
103
|
+
params,
|
|
104
|
+
options
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
async tags(customerId, params, options) {
|
|
108
|
+
const _customerId = customerId.id || customerId;
|
|
109
|
+
return this.resources.fetch(
|
|
110
|
+
{ type: "tags" },
|
|
111
|
+
`customers/${_customerId}/tags`,
|
|
112
|
+
params,
|
|
113
|
+
options
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
async jwt_customer(customerId, params, options) {
|
|
117
|
+
const _customerId = customerId.id || customerId;
|
|
118
|
+
return this.resources.fetch(
|
|
119
|
+
{ type: "customers" },
|
|
120
|
+
`customers/${_customerId}/jwt_customer`,
|
|
121
|
+
params,
|
|
122
|
+
options
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
async jwt_markets(customerId, params, options) {
|
|
126
|
+
const _customerId = customerId.id || customerId;
|
|
127
|
+
return this.resources.fetch(
|
|
128
|
+
{ type: "markets" },
|
|
129
|
+
`customers/${_customerId}/jwt_markets`,
|
|
130
|
+
params,
|
|
131
|
+
options
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
async jwt_stock_locations(customerId, params, options) {
|
|
135
|
+
const _customerId = customerId.id || customerId;
|
|
136
|
+
return this.resources.fetch(
|
|
137
|
+
{ type: "stock_locations" },
|
|
138
|
+
`customers/${_customerId}/jwt_stock_locations`,
|
|
139
|
+
params,
|
|
140
|
+
options
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
async event_stores(customerId, params, options) {
|
|
144
|
+
const _customerId = customerId.id || customerId;
|
|
145
|
+
return this.resources.fetch(
|
|
146
|
+
{ type: "event_stores" },
|
|
147
|
+
`customers/${_customerId}/event_stores`,
|
|
148
|
+
params,
|
|
149
|
+
options
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
async _add_tags(id, triggerValue, params, options) {
|
|
153
|
+
return this.resources.update(
|
|
154
|
+
{ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _add_tags: triggerValue },
|
|
155
|
+
params,
|
|
156
|
+
options
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
async _remove_tags(id, triggerValue, params, options) {
|
|
160
|
+
return this.resources.update(
|
|
161
|
+
{ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _remove_tags: triggerValue },
|
|
162
|
+
params,
|
|
163
|
+
options
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
async _request_anonymization(id, params, options) {
|
|
167
|
+
return this.resources.update(
|
|
168
|
+
{ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _request_anonymization: true },
|
|
169
|
+
params,
|
|
170
|
+
options
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
async _cancel_anonymization(id, params, options) {
|
|
174
|
+
return this.resources.update(
|
|
175
|
+
{ id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _cancel_anonymization: true },
|
|
176
|
+
params,
|
|
177
|
+
options
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
isCustomer(resource) {
|
|
181
|
+
return resource.type && resource.type === _Customers.TYPE;
|
|
182
|
+
}
|
|
183
|
+
relationship(id) {
|
|
184
|
+
return super.relationshipOneToOne(id);
|
|
185
|
+
}
|
|
186
|
+
relationshipToMany(...ids) {
|
|
187
|
+
return super.relationshipOneToMany(...ids);
|
|
188
|
+
}
|
|
189
|
+
type() {
|
|
190
|
+
return _Customers.TYPE;
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
var instance = new Customers();
|
|
194
|
+
var customers_default = instance;
|
|
195
|
+
|
|
196
|
+
exports.customers_default = customers_default;
|
|
197
|
+
//# sourceMappingURL=chunk-USUPWZTW.cjs.map
|
|
198
|
+
//# sourceMappingURL=chunk-USUPWZTW.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/customers.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-USUPWZTW.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { CustomerAddress } from './customer_addresses'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { CustomerPaymentSource } from './customer_payment_sources'\nimport type { CustomerSubscription } from './customer_subscriptions'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market } from './markets'\nimport type { OrderSubscription } from './order_subscriptions'\nimport type { Order } from './orders'\nimport type { Return } from './returns'\nimport type { SkuList } from './sku_lists'\nimport type { StockLocation } from './stock_locations'\nimport type { Tag, TagType } from './tags'\n\ntype CustomerType = 'customers'\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type CustomerSort = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> &\n ResourceSort\n// export type CustomerFilter = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> & ResourceFilter\n\n/**\n * The Customer object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customers endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/customers/object\n */\ninterface Customer extends Resource {\n readonly type: CustomerType\n\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The customer's status. One of 'prospect' (default), 'acquired', or 'repeat'.\n * @example ```\"prospect\"```\n */\n status: 'prospect' | 'acquired' | 'repeat'\n /**\n * Indicates if the customer has a password.\n */\n has_password?: boolean | null\n /**\n * The total number of orders for the customer.\n * @example ```6```\n */\n total_orders_count?: number | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n /**\n * The custom_claim attached to the current JWT (if any).\n * @example ```{}```\n */\n jwt_custom_claim?: Record<string, any> | null\n /**\n * The anonymization info object.\n * @example ```{\"status\":\"requested\",\"requested_at\":\"2025-03-15 11:39:21 UTC\",\"requester\":{\"id\":\"fdgt56hh\",\"first_name\":\"Travis\",\"last_name\":\"Muller\",\"email\":\"test@labadie.test\"}}```\n */\n anonymization_info?: Record<string, any> | null\n /**\n * Status of the current anonymization request (if any). One of 'requested', 'started', 'completed', 'failed', or 'cancelled'.\n * @example ```\"requested\"```\n */\n anonymization_status?: 'requested' | 'started' | 'completed' | 'failed' | 'cancelled' | null\n\n customer_group?: CustomerGroup | null\n customer_addresses?: CustomerAddress[] | null\n customer_payment_sources?: CustomerPaymentSource[] | null\n customer_subscriptions?: CustomerSubscription[] | null\n orders?: Order[] | null\n order_subscriptions?: OrderSubscription[] | null\n returns?: Return[] | null\n sku_lists?: SkuList[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n tags?: Tag[] | null\n jwt_customer?: Customer | null\n jwt_markets?: Market[] | null\n jwt_stock_locations?: StockLocation[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerCreate extends ResourceCreate {\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The customer's password. Initiate a customer password reset flow if you need to change it.\n * @example ```\"secret\"```\n */\n password?: string | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n\n customer_group?: CustomerGroupRel | null\n tags?: TagRel[] | null\n}\n\ninterface CustomerUpdate extends ResourceUpdate {\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * The customer's password. Initiate a customer password reset flow if you need to change it.\n * @example ```\"secret\"```\n */\n password?: string | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n /**\n * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _add_tags?: string | null\n /**\n * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _remove_tags?: string | null\n /**\n * Send this attribute if you want to trigger anonymization. Cannot be passed by sales channels.\n * @example ```true```\n */\n _request_anonymization?: boolean | null\n /**\n * Send this attribute if you want to trigger a cancellation of anonymization. Cannot be passed by sales channels.\n * @example ```true```\n */\n _cancel_anonymization?: boolean | null\n\n customer_group?: CustomerGroupRel | null\n tags?: TagRel[] | null\n}\n\nclass Customers extends ApiResource<Customer> {\n static readonly TYPE: CustomerType = 'customers' as const\n\n async create(\n resource: CustomerCreate,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.create<CustomerCreate, Customer>({ ...resource, type: Customers.TYPE }, params, options)\n }\n\n async update(\n resource: CustomerUpdate,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>({ ...resource, type: Customers.TYPE }, params, options)\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: Customers.TYPE } : id, options)\n }\n\n async customer_group(\n customerId: string | Customer,\n params?: QueryParamsRetrieve<CustomerGroup>,\n options?: ResourcesConfig,\n ): Promise<CustomerGroup> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerGroup>(\n { type: 'customer_groups' },\n `customers/${_customerId}/customer_group`,\n params,\n options,\n ) as unknown as CustomerGroup\n }\n\n async customer_addresses(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerAddress>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerAddress>(\n { type: 'customer_addresses' },\n `customers/${_customerId}/customer_addresses`,\n params,\n options,\n ) as unknown as ListResponse<CustomerAddress>\n }\n\n async customer_payment_sources(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerPaymentSource>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerPaymentSource>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerPaymentSource>(\n { type: 'customer_payment_sources' },\n `customers/${_customerId}/customer_payment_sources`,\n params,\n options,\n ) as unknown as ListResponse<CustomerPaymentSource>\n }\n\n async customer_subscriptions(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerSubscription>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerSubscription>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerSubscription>(\n { type: 'customer_subscriptions' },\n `customers/${_customerId}/customer_subscriptions`,\n params,\n options,\n ) as unknown as ListResponse<CustomerSubscription>\n }\n\n async orders(\n customerId: string | Customer,\n params?: QueryParamsList<Order>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Order>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `customers/${_customerId}/orders`,\n params,\n options,\n ) as unknown as ListResponse<Order>\n }\n\n async order_subscriptions(\n customerId: string | Customer,\n params?: QueryParamsList<OrderSubscription>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<OrderSubscription>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<OrderSubscription>(\n { type: 'order_subscriptions' },\n `customers/${_customerId}/order_subscriptions`,\n params,\n options,\n ) as unknown as ListResponse<OrderSubscription>\n }\n\n async returns(\n customerId: string | Customer,\n params?: QueryParamsList<Return>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Return>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Return>(\n { type: 'returns' },\n `customers/${_customerId}/returns`,\n params,\n options,\n ) as unknown as ListResponse<Return>\n }\n\n async sku_lists(\n customerId: string | Customer,\n params?: QueryParamsList<SkuList>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<SkuList>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<SkuList>(\n { type: 'sku_lists' },\n `customers/${_customerId}/sku_lists`,\n params,\n options,\n ) as unknown as ListResponse<SkuList>\n }\n\n async attachments(\n customerId: string | Customer,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `customers/${_customerId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n customerId: string | Customer,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `customers/${_customerId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n customerId: string | Customer,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `customers/${_customerId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async jwt_customer(\n customerId: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customers/${_customerId}/jwt_customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async jwt_markets(\n customerId: string | Customer,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `customers/${_customerId}/jwt_markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async jwt_stock_locations(\n customerId: string | Customer,\n params?: QueryParamsList<StockLocation>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockLocation>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<StockLocation>(\n { type: 'stock_locations' },\n `customers/${_customerId}/jwt_stock_locations`,\n params,\n options,\n ) as unknown as ListResponse<StockLocation>\n }\n\n async event_stores(\n customerId: string | Customer,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customers/${_customerId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _add_tags(\n id: string | Customer,\n triggerValue: string,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | Customer,\n triggerValue: string,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _request_anonymization(\n id: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _request_anonymization: true },\n params,\n options,\n )\n }\n\n async _cancel_anonymization(\n id: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _cancel_anonymization: true },\n params,\n options,\n )\n }\n\n isCustomer(resource: any): resource is Customer {\n return resource.type && resource.type === Customers.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerRel {\n return super.relationshipOneToOne<CustomerRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerRel[] {\n return super.relationshipOneToMany<CustomerRel>(...ids)\n }\n\n type(): CustomerType {\n return Customers.TYPE\n }\n}\n\nconst instance = new Customers()\nexport default instance\n\nexport type { Customer, CustomerCreate, Customers, CustomerType, CustomerUpdate }\n"]}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkPRE3YU5A_cjs = require('./chunk-PRE3YU5A.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/coupon_recipients.ts
|
|
6
|
+
var CouponRecipients = class _CouponRecipients extends chunkPRE3YU5A_cjs.ApiResource {
|
|
7
|
+
static TYPE = "coupon_recipients";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create(
|
|
10
|
+
{ ...resource, type: _CouponRecipients.TYPE },
|
|
11
|
+
params,
|
|
12
|
+
options
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
async update(resource, params, options) {
|
|
16
|
+
return this.resources.update(
|
|
17
|
+
{ ...resource, type: _CouponRecipients.TYPE },
|
|
18
|
+
params,
|
|
19
|
+
options
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
async delete(id, options) {
|
|
23
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CouponRecipients.TYPE } : id, options);
|
|
24
|
+
}
|
|
25
|
+
async customer(couponRecipientId, params, options) {
|
|
26
|
+
const _couponRecipientId = couponRecipientId.id || couponRecipientId;
|
|
27
|
+
return this.resources.fetch(
|
|
28
|
+
{ type: "customers" },
|
|
29
|
+
`coupon_recipients/${_couponRecipientId}/customer`,
|
|
30
|
+
params,
|
|
31
|
+
options
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
async event_stores(couponRecipientId, params, options) {
|
|
35
|
+
const _couponRecipientId = couponRecipientId.id || couponRecipientId;
|
|
36
|
+
return this.resources.fetch(
|
|
37
|
+
{ type: "event_stores" },
|
|
38
|
+
`coupon_recipients/${_couponRecipientId}/event_stores`,
|
|
39
|
+
params,
|
|
40
|
+
options
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
async attachments(couponRecipientId, params, options) {
|
|
44
|
+
const _couponRecipientId = couponRecipientId.id || couponRecipientId;
|
|
45
|
+
return this.resources.fetch(
|
|
46
|
+
{ type: "attachments" },
|
|
47
|
+
`coupon_recipients/${_couponRecipientId}/attachments`,
|
|
48
|
+
params,
|
|
49
|
+
options
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
isCouponRecipient(resource) {
|
|
53
|
+
return resource.type && resource.type === _CouponRecipients.TYPE;
|
|
54
|
+
}
|
|
55
|
+
relationship(id) {
|
|
56
|
+
return super.relationshipOneToOne(id);
|
|
57
|
+
}
|
|
58
|
+
relationshipToMany(...ids) {
|
|
59
|
+
return super.relationshipOneToMany(...ids);
|
|
60
|
+
}
|
|
61
|
+
type() {
|
|
62
|
+
return _CouponRecipients.TYPE;
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
var instance = new CouponRecipients();
|
|
66
|
+
var coupon_recipients_default = instance;
|
|
67
|
+
|
|
68
|
+
exports.coupon_recipients_default = coupon_recipients_default;
|
|
69
|
+
//# sourceMappingURL=chunk-UZ4CGMXI.cjs.map
|
|
70
|
+
//# sourceMappingURL=chunk-UZ4CGMXI.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/coupon_recipients.ts"],"names":["ApiResource"],"mappings":";;;;;AA4FA,IAAM,gBAAA,GAAN,MAAM,iBAAA,SAAyBA,6BAAA,CAA6B;AAAA,EAC1D,OAAgB,IAAA,GAA4B,mBAAA;AAAA,EAE5C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC0B;AAC1B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,kBAAiB,IAAA,EAAK;AAAA,MAC3C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC0B;AAC1B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,kBAAiB,IAAA,EAAK;AAAA,MAC3C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,iBAAA,CAAiB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACxG;AAAA,EAEA,MAAM,QAAA,CACJ,iBAAA,EACA,MAAA,EACA,OAAA,EACmB;AACnB,IAAA,MAAM,kBAAA,GAAsB,kBAAsC,EAAA,IAAO,iBAAA;AACzE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,WAAA,EAAY;AAAA,MACpB,qBAAqB,kBAAkB,CAAA,SAAA,CAAA;AAAA,MACvC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,iBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,kBAAA,GAAsB,kBAAsC,EAAA,IAAO,iBAAA;AACzE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,qBAAqB,kBAAkB,CAAA,aAAA,CAAA;AAAA,MACvC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,WAAA,CACJ,iBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,kBAAA,GAAsB,kBAAsC,EAAA,IAAO,iBAAA;AACzE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,aAAA,EAAc;AAAA,MACtB,qBAAqB,kBAAkB,CAAA,YAAA,CAAA;AAAA,MACvC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,kBAAkB,QAAA,EAA4C;AAC5D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,iBAAA,CAAiB,IAAA;AAAA,EAC7D;AAAA,EAEA,aAAa,EAAA,EAAoD;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAyC,EAAE,CAAA;AAAA,EAC1D;AAAA,EAEA,sBAAsB,GAAA,EAAqC;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA0C,GAAG,GAAG,CAAA;AAAA,EAC/D;AAAA,EAEA,IAAA,GAA4B;AAC1B,IAAA,OAAO,iBAAA,CAAiB,IAAA;AAAA,EAC1B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,gBAAA,EAAiB;AACtC,IAAO,yBAAA,GAAQ","file":"chunk-UZ4CGMXI.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { Customer, CustomerType } from './customers'\nimport type { EventStore } from './event_stores'\n\ntype CouponRecipientType = 'coupon_recipients'\ntype CouponRecipientRel = ResourceRel & { type: CouponRecipientType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\n\nexport type CouponRecipientSort = Pick<CouponRecipient, 'id' | 'email'> & ResourceSort\n// export type CouponRecipientFilter = Pick<CouponRecipient, 'id' | 'email' | 'first_name' | 'last_name'> & ResourceFilter\n\n/**\n * The Coupon recipient object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/coupon_recipients endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/coupon_recipients/object\n */\ninterface CouponRecipient extends Resource {\n readonly type: CouponRecipientType\n\n /**\n * The recipient email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The recipient first name.\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * The recipient last name.\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n\n customer?: Customer | null\n event_stores?: EventStore[] | null\n attachments?: Attachment[] | null\n}\n\ninterface CouponRecipientCreate extends ResourceCreate {\n /**\n * The recipient email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The recipient first name.\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * The recipient last name.\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n\n customer?: CustomerRel | null\n}\n\ninterface CouponRecipientUpdate extends ResourceUpdate {\n /**\n * The recipient email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * The recipient first name.\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * The recipient last name.\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n\n customer?: CustomerRel | null\n}\n\nclass CouponRecipients extends ApiResource<CouponRecipient> {\n static readonly TYPE: CouponRecipientType = 'coupon_recipients' as const\n\n async create(\n resource: CouponRecipientCreate,\n params?: QueryParamsRetrieve<CouponRecipient>,\n options?: ResourcesConfig,\n ): Promise<CouponRecipient> {\n return this.resources.create<CouponRecipientCreate, CouponRecipient>(\n { ...resource, type: CouponRecipients.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CouponRecipientUpdate,\n params?: QueryParamsRetrieve<CouponRecipient>,\n options?: ResourcesConfig,\n ): Promise<CouponRecipient> {\n return this.resources.update<CouponRecipientUpdate, CouponRecipient>(\n { ...resource, type: CouponRecipients.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CouponRecipients.TYPE } : id, options)\n }\n\n async customer(\n couponRecipientId: string | CouponRecipient,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _couponRecipientId = (couponRecipientId as CouponRecipient).id || (couponRecipientId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `coupon_recipients/${_couponRecipientId}/customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async event_stores(\n couponRecipientId: string | CouponRecipient,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _couponRecipientId = (couponRecipientId as CouponRecipient).id || (couponRecipientId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `coupon_recipients/${_couponRecipientId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async attachments(\n couponRecipientId: string | CouponRecipient,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _couponRecipientId = (couponRecipientId as CouponRecipient).id || (couponRecipientId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `coupon_recipients/${_couponRecipientId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n isCouponRecipient(resource: any): resource is CouponRecipient {\n return resource.type && resource.type === CouponRecipients.TYPE\n }\n\n relationship(id: string | ResourceId | null): CouponRecipientRel {\n return super.relationshipOneToOne<CouponRecipientRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CouponRecipientRel[] {\n return super.relationshipOneToMany<CouponRecipientRel>(...ids)\n }\n\n type(): CouponRecipientType {\n return CouponRecipients.TYPE\n }\n}\n\nconst instance = new CouponRecipients()\nexport default instance\n\nexport type { CouponRecipient, CouponRecipientCreate, CouponRecipients, CouponRecipientType, CouponRecipientUpdate }\n"]}
|