@commercelayer/sdk 8.0.0-beta.13 → 8.0.0-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -6
- package/lib/api-BAk3MsjU.d.cts +19365 -0
- package/lib/api-BAk3MsjU.d.ts +19365 -0
- package/lib/api.cjs +271 -271
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +137 -137
- package/lib/binding.cjs +3 -3
- package/lib/binding.d.cts +2 -2
- package/lib/binding.d.ts +2 -2
- package/lib/binding.js +2 -2
- package/lib/bundle-compat.cjs +140 -140
- package/lib/bundle-compat.d.cts +1 -1
- package/lib/bundle-compat.d.ts +1 -1
- package/lib/bundle-compat.js +139 -139
- package/lib/bundle.cjs +141 -141
- package/lib/bundle.d.cts +1 -1
- package/lib/bundle.d.ts +1 -1
- package/lib/bundle.js +139 -139
- package/lib/chunk-267RA7RZ.js +177 -0
- package/lib/chunk-267RA7RZ.js.map +1 -0
- package/lib/chunk-2IDKIYLP.js +196 -0
- package/lib/chunk-2IDKIYLP.js.map +1 -0
- package/lib/chunk-2KYZ7M7Y.js +86 -0
- package/lib/chunk-2KYZ7M7Y.js.map +1 -0
- package/lib/chunk-2MBOYMDB.js +88 -0
- package/lib/chunk-2MBOYMDB.js.map +1 -0
- package/lib/chunk-2MW475FY.cjs +71 -0
- package/lib/chunk-2MW475FY.cjs.map +1 -0
- package/lib/chunk-2NQTIDQ7.js +68 -0
- package/lib/chunk-2NQTIDQ7.js.map +1 -0
- package/lib/chunk-2OD6OFOC.js +89 -0
- package/lib/chunk-2OD6OFOC.js.map +1 -0
- package/lib/chunk-2Q5KDTHE.js +60 -0
- package/lib/chunk-2Q5KDTHE.js.map +1 -0
- package/lib/chunk-2RH6X25G.js +82 -0
- package/lib/chunk-2RH6X25G.js.map +1 -0
- package/lib/chunk-2SHM4O4J.js +118 -0
- package/lib/chunk-2SHM4O4J.js.map +1 -0
- package/lib/chunk-2VAYH7SU.js +69 -0
- package/lib/chunk-2VAYH7SU.js.map +1 -0
- package/lib/chunk-33CXRUSA.js +17 -0
- package/lib/chunk-33CXRUSA.js.map +1 -0
- package/lib/chunk-374VNA6I.js +65 -0
- package/lib/chunk-374VNA6I.js.map +1 -0
- package/lib/chunk-3HOIA4P5.js +80 -0
- package/lib/chunk-3HOIA4P5.js.map +1 -0
- package/lib/chunk-3JP2AXCC.js +59 -0
- package/lib/chunk-3JP2AXCC.js.map +1 -0
- package/lib/chunk-3L4NCS23.js +51 -0
- package/lib/chunk-3L4NCS23.js.map +1 -0
- package/lib/chunk-3MW62UTE.js +68 -0
- package/lib/chunk-3MW62UTE.js.map +1 -0
- package/lib/chunk-3U2RMI23.js +51 -0
- package/lib/chunk-3U2RMI23.js.map +1 -0
- package/lib/chunk-3UDKMRV2.js +51 -0
- package/lib/chunk-3UDKMRV2.js.map +1 -0
- package/lib/chunk-3VHTJUDT.cjs +117 -0
- package/lib/chunk-3VHTJUDT.cjs.map +1 -0
- package/lib/chunk-4354ZGXW.js +87 -0
- package/lib/chunk-4354ZGXW.js.map +1 -0
- package/lib/chunk-43KJOJAU.js +100 -0
- package/lib/chunk-43KJOJAU.js.map +1 -0
- package/lib/chunk-46HJB47O.cjs +88 -0
- package/lib/chunk-46HJB47O.cjs.map +1 -0
- package/lib/chunk-4722CAO4.cjs +98 -0
- package/lib/chunk-4722CAO4.cjs.map +1 -0
- package/lib/chunk-4B7WEHX2.cjs +44 -0
- package/lib/chunk-4B7WEHX2.cjs.map +1 -0
- package/lib/chunk-4F7PG4F7.js +51 -0
- package/lib/chunk-4F7PG4F7.js.map +1 -0
- package/lib/chunk-4H5LFHSL.js +91 -0
- package/lib/chunk-4H5LFHSL.js.map +1 -0
- package/lib/chunk-4ICF5YLG.cjs +243 -0
- package/lib/chunk-4ICF5YLG.cjs.map +1 -0
- package/lib/chunk-4JBO6N7C.cjs +70 -0
- package/lib/chunk-4JBO6N7C.cjs.map +1 -0
- package/lib/chunk-4JTV4XIV.js +191 -0
- package/lib/chunk-4JTV4XIV.js.map +1 -0
- package/lib/chunk-4KLK7FQM.cjs +52 -0
- package/lib/chunk-4KLK7FQM.cjs.map +1 -0
- package/lib/chunk-4T2ZMQG5.cjs +71 -0
- package/lib/chunk-4T2ZMQG5.cjs.map +1 -0
- package/lib/chunk-4TRDULXE.cjs +122 -0
- package/lib/chunk-4TRDULXE.cjs.map +1 -0
- package/lib/chunk-4Y3AIY4K.cjs +102 -0
- package/lib/chunk-4Y3AIY4K.cjs.map +1 -0
- package/lib/chunk-52QBTEDY.js +612 -0
- package/lib/chunk-52QBTEDY.js.map +1 -0
- package/lib/chunk-55OSCBQ4.cjs +98 -0
- package/lib/chunk-55OSCBQ4.cjs.map +1 -0
- package/lib/chunk-572MEZII.cjs +67 -0
- package/lib/chunk-572MEZII.cjs.map +1 -0
- package/lib/chunk-5FMJEWZ3.cjs +88 -0
- package/lib/chunk-5FMJEWZ3.cjs.map +1 -0
- package/lib/chunk-5IRUCRZ5.cjs +61 -0
- package/lib/chunk-5IRUCRZ5.cjs.map +1 -0
- package/lib/chunk-5JQYMMWU.cjs +77 -0
- package/lib/chunk-5JQYMMWU.cjs.map +1 -0
- package/lib/chunk-5NDE62DU.js +96 -0
- package/lib/chunk-5NDE62DU.js.map +1 -0
- package/lib/chunk-6BYD43SW.cjs +179 -0
- package/lib/chunk-6BYD43SW.cjs.map +1 -0
- package/lib/chunk-6CLZW6SD.js +77 -0
- package/lib/chunk-6CLZW6SD.js.map +1 -0
- package/lib/chunk-6F6T357E.cjs +52 -0
- package/lib/chunk-6F6T357E.cjs.map +1 -0
- package/lib/chunk-6GV7HLRL.cjs +118 -0
- package/lib/chunk-6GV7HLRL.cjs.map +1 -0
- package/lib/chunk-6HHYYIQD.js +78 -0
- package/lib/chunk-6HHYYIQD.js.map +1 -0
- package/lib/chunk-6IY3G52S.js +77 -0
- package/lib/chunk-6IY3G52S.js.map +1 -0
- package/lib/chunk-6JFMLMLS.js +44 -0
- package/lib/chunk-6JFMLMLS.js.map +1 -0
- package/lib/chunk-6NBTVRIJ.cjs +126 -0
- package/lib/chunk-6NBTVRIJ.cjs.map +1 -0
- package/lib/chunk-6SM5SS7Q.cjs +115 -0
- package/lib/chunk-6SM5SS7Q.cjs.map +1 -0
- package/lib/chunk-76IB5YL6.cjs +55 -0
- package/lib/chunk-76IB5YL6.cjs.map +1 -0
- package/lib/chunk-7HKJP4G2.js +68 -0
- package/lib/chunk-7HKJP4G2.js.map +1 -0
- package/lib/chunk-7IDFFIE3.cjs +90 -0
- package/lib/chunk-7IDFFIE3.cjs.map +1 -0
- package/lib/chunk-7LDQBSSA.cjs +93 -0
- package/lib/chunk-7LDQBSSA.cjs.map +1 -0
- package/lib/chunk-7SSQUWI5.js +36 -0
- package/lib/chunk-7SSQUWI5.js.map +1 -0
- package/lib/chunk-7VORKVCN.cjs +79 -0
- package/lib/chunk-7VORKVCN.cjs.map +1 -0
- package/lib/chunk-7WWHYLE4.cjs +193 -0
- package/lib/chunk-7WWHYLE4.cjs.map +1 -0
- package/lib/chunk-A5FOC3U6.js +203 -0
- package/lib/chunk-A5FOC3U6.js.map +1 -0
- package/lib/chunk-ACORKFFY.cjs +44 -0
- package/lib/chunk-ACORKFFY.cjs.map +1 -0
- package/lib/chunk-AFEODH7A.js +61 -0
- package/lib/chunk-AFEODH7A.js.map +1 -0
- package/lib/chunk-APN7MZCJ.js +59 -0
- package/lib/chunk-APN7MZCJ.js.map +1 -0
- package/lib/chunk-ARYXPN5P.js +77 -0
- package/lib/chunk-ARYXPN5P.js.map +1 -0
- package/lib/chunk-AT5EZFTB.js +77 -0
- package/lib/chunk-AT5EZFTB.js.map +1 -0
- package/lib/chunk-B2FPY7YB.cjs +79 -0
- package/lib/chunk-B2FPY7YB.cjs.map +1 -0
- package/lib/chunk-B2GCBM4S.cjs +62 -0
- package/lib/chunk-B2GCBM4S.cjs.map +1 -0
- package/lib/chunk-BGRQNLMA.js +83 -0
- package/lib/chunk-BGRQNLMA.js.map +1 -0
- package/lib/chunk-BH6XJI2L.js +42 -0
- package/lib/chunk-BH6XJI2L.js.map +1 -0
- package/lib/chunk-BIWEO37T.cjs +712 -0
- package/lib/chunk-BIWEO37T.cjs.map +1 -0
- package/lib/chunk-BPUCU7PC.cjs +88 -0
- package/lib/chunk-BPUCU7PC.cjs.map +1 -0
- package/lib/chunk-BQ4RMF7S.cjs +91 -0
- package/lib/chunk-BQ4RMF7S.cjs.map +1 -0
- package/lib/chunk-CGIL4EGD.cjs +80 -0
- package/lib/chunk-CGIL4EGD.cjs.map +1 -0
- package/lib/chunk-CPCPNH42.cjs +75 -0
- package/lib/chunk-CPCPNH42.cjs.map +1 -0
- package/lib/chunk-CTLKR6ZS.cjs +82 -0
- package/lib/chunk-CTLKR6ZS.cjs.map +1 -0
- package/lib/chunk-D5AAOXSY.js +77 -0
- package/lib/chunk-D5AAOXSY.js.map +1 -0
- package/lib/chunk-DG75FTCW.js +113 -0
- package/lib/chunk-DG75FTCW.js.map +1 -0
- package/lib/chunk-DHS6QK53.js +77 -0
- package/lib/chunk-DHS6QK53.js.map +1 -0
- package/lib/chunk-DJ3KEZ4F.js +132 -0
- package/lib/chunk-DJ3KEZ4F.js.map +1 -0
- package/lib/chunk-DOMLW4P3.cjs +84 -0
- package/lib/chunk-DOMLW4P3.cjs.map +1 -0
- package/lib/chunk-DTFVNWN5.cjs +86 -0
- package/lib/chunk-DTFVNWN5.cjs.map +1 -0
- package/lib/chunk-DTLFNN2Z.cjs +61 -0
- package/lib/chunk-DTLFNN2Z.cjs.map +1 -0
- package/lib/chunk-DTNOZFYT.cjs +88 -0
- package/lib/chunk-DTNOZFYT.cjs.map +1 -0
- package/lib/chunk-DU5GIKNP.cjs +84 -0
- package/lib/chunk-DU5GIKNP.cjs.map +1 -0
- package/lib/chunk-DY5753SN.js +164 -0
- package/lib/chunk-DY5753SN.js.map +1 -0
- package/lib/chunk-E3MRCQDG.cjs +70 -0
- package/lib/chunk-E3MRCQDG.cjs.map +1 -0
- package/lib/chunk-E4GCMJQ7.js +709 -0
- package/lib/chunk-E4GCMJQ7.js.map +1 -0
- package/lib/chunk-EBEZL76F.cjs +91 -0
- package/lib/chunk-EBEZL76F.cjs.map +1 -0
- package/lib/chunk-EBUN44PI.cjs +62 -0
- package/lib/chunk-EBUN44PI.cjs.map +1 -0
- package/lib/chunk-EGVGWVKD.js +68 -0
- package/lib/chunk-EGVGWVKD.js.map +1 -0
- package/lib/chunk-EKEA7VUX.cjs +91 -0
- package/lib/chunk-EKEA7VUX.cjs.map +1 -0
- package/lib/chunk-EQPVMYAP.js +241 -0
- package/lib/chunk-EQPVMYAP.js.map +1 -0
- package/lib/chunk-EW27463D.js +79 -0
- package/lib/chunk-EW27463D.js.map +1 -0
- package/lib/chunk-EXRKWZXE.cjs +70 -0
- package/lib/chunk-EXRKWZXE.cjs.map +1 -0
- package/lib/chunk-EY7YDAYZ.cjs +91 -0
- package/lib/chunk-EY7YDAYZ.cjs.map +1 -0
- package/lib/chunk-EZBSX56Q.cjs +179 -0
- package/lib/chunk-EZBSX56Q.cjs.map +1 -0
- package/lib/chunk-F4UYRZYH.cjs +70 -0
- package/lib/chunk-F4UYRZYH.cjs.map +1 -0
- package/lib/chunk-F5EE7JU2.cjs +40 -0
- package/lib/chunk-F5EE7JU2.cjs.map +1 -0
- package/lib/chunk-FAGH74DD.cjs +53 -0
- package/lib/chunk-FAGH74DD.cjs.map +1 -0
- package/lib/chunk-FCX5DDJB.cjs +182 -0
- package/lib/chunk-FCX5DDJB.cjs.map +1 -0
- package/lib/chunk-FCXUVZO5.cjs +98 -0
- package/lib/chunk-FCXUVZO5.cjs.map +1 -0
- package/lib/chunk-FDSPOKHZ.js +38 -0
- package/lib/chunk-FDSPOKHZ.js.map +1 -0
- package/lib/chunk-FHGTJPGQ.js +177 -0
- package/lib/chunk-FHGTJPGQ.js.map +1 -0
- package/lib/chunk-FJY57LUQ.js +177 -0
- package/lib/chunk-FJY57LUQ.js.map +1 -0
- package/lib/chunk-FOBT47PD.js +77 -0
- package/lib/chunk-FOBT47PD.js.map +1 -0
- package/lib/chunk-FPCMIH4U.js +116 -0
- package/lib/chunk-FPCMIH4U.js.map +1 -0
- package/lib/chunk-FY5SQIN2.js +12 -0
- package/lib/chunk-FY5SQIN2.js.map +1 -0
- package/lib/chunk-FYNVVHOV.js +89 -0
- package/lib/chunk-FYNVVHOV.js.map +1 -0
- package/lib/chunk-FZPVXB67.js +120 -0
- package/lib/chunk-FZPVXB67.js.map +1 -0
- package/lib/chunk-G26HYK7R.cjs +84 -0
- package/lib/chunk-G26HYK7R.cjs.map +1 -0
- package/lib/chunk-G4WZCNGY.js +68 -0
- package/lib/chunk-G4WZCNGY.js.map +1 -0
- package/lib/chunk-GAGCSJMI.cjs +80 -0
- package/lib/chunk-GAGCSJMI.cjs.map +1 -0
- package/lib/chunk-GCBHCW63.cjs +120 -0
- package/lib/chunk-GCBHCW63.cjs.map +1 -0
- package/lib/chunk-GLE4WBW2.cjs +44 -0
- package/lib/chunk-GLE4WBW2.cjs.map +1 -0
- package/lib/chunk-GNVYLLHO.cjs +77 -0
- package/lib/chunk-GNVYLLHO.cjs.map +1 -0
- package/lib/chunk-H3IZMD2L.js +177 -0
- package/lib/chunk-H3IZMD2L.js.map +1 -0
- package/lib/chunk-H7NQOWEP.cjs +70 -0
- package/lib/chunk-H7NQOWEP.cjs.map +1 -0
- package/lib/chunk-HAZK7BPS.js +89 -0
- package/lib/chunk-HAZK7BPS.js.map +1 -0
- package/lib/chunk-HGRQZF4O.js +86 -0
- package/lib/chunk-HGRQZF4O.js.map +1 -0
- package/lib/chunk-HSRHP6DQ.js +68 -0
- package/lib/chunk-HSRHP6DQ.js.map +1 -0
- package/lib/chunk-HU5Y5YXV.js +60 -0
- package/lib/chunk-HU5Y5YXV.js.map +1 -0
- package/lib/chunk-HUKSYJM3.js +77 -0
- package/lib/chunk-HUKSYJM3.js.map +1 -0
- package/lib/chunk-HWATXMZF.cjs +70 -0
- package/lib/chunk-HWATXMZF.cjs.map +1 -0
- package/lib/chunk-HWPPOBR4.js +168 -0
- package/lib/chunk-HWPPOBR4.js.map +1 -0
- package/lib/chunk-I3YEPHGW.cjs +16 -0
- package/lib/chunk-I3YEPHGW.cjs.map +1 -0
- package/lib/chunk-IAP4LRXE.js +27 -0
- package/lib/chunk-IAP4LRXE.js.map +1 -0
- package/lib/chunk-IDMNIXXU.js +75 -0
- package/lib/chunk-IDMNIXXU.js.map +1 -0
- package/lib/chunk-IHAR4QGZ.js +67 -0
- package/lib/chunk-IHAR4QGZ.js.map +1 -0
- package/lib/chunk-ILRWH3PN.cjs +62 -0
- package/lib/chunk-ILRWH3PN.cjs.map +1 -0
- package/lib/chunk-IUIYKRAL.js +77 -0
- package/lib/chunk-IUIYKRAL.js.map +1 -0
- package/lib/chunk-J4XNW4P5.js +86 -0
- package/lib/chunk-J4XNW4P5.js.map +1 -0
- package/lib/chunk-JCBW6XXU.cjs +193 -0
- package/lib/chunk-JCBW6XXU.cjs.map +1 -0
- package/lib/chunk-JDIM7NXF.js +65 -0
- package/lib/chunk-JDIM7NXF.js.map +1 -0
- package/lib/chunk-JOCMXEM4.js +118 -0
- package/lib/chunk-JOCMXEM4.js.map +1 -0
- package/lib/chunk-JT5FZXTG.js +79 -0
- package/lib/chunk-JT5FZXTG.js.map +1 -0
- package/lib/chunk-JVDTK24V.cjs +198 -0
- package/lib/chunk-JVDTK24V.cjs.map +1 -0
- package/lib/chunk-K75FGUGR.cjs +205 -0
- package/lib/chunk-K75FGUGR.cjs.map +1 -0
- package/lib/chunk-KCZK4HVB.cjs +179 -0
- package/lib/chunk-KCZK4HVB.cjs.map +1 -0
- package/lib/chunk-KD6BFSCC.js +60 -0
- package/lib/chunk-KD6BFSCC.js.map +1 -0
- package/lib/chunk-KERSACIW.js +321 -0
- package/lib/chunk-KERSACIW.js.map +1 -0
- package/lib/chunk-KFZYNATI.cjs +62 -0
- package/lib/chunk-KFZYNATI.cjs.map +1 -0
- package/lib/chunk-KGCJVIPG.cjs +179 -0
- package/lib/chunk-KGCJVIPG.cjs.map +1 -0
- package/lib/chunk-KN4PEUEE.cjs +98 -0
- package/lib/chunk-KN4PEUEE.cjs.map +1 -0
- package/lib/chunk-KTTZGD7J.cjs +323 -0
- package/lib/chunk-KTTZGD7J.cjs.map +1 -0
- package/lib/chunk-KXRL6CNS.js +73 -0
- package/lib/chunk-KXRL6CNS.js.map +1 -0
- package/lib/chunk-L3YGP4QA.cjs +79 -0
- package/lib/chunk-L3YGP4QA.cjs.map +1 -0
- package/lib/chunk-L4FX7PNF.cjs +77 -0
- package/lib/chunk-L4FX7PNF.cjs.map +1 -0
- package/lib/chunk-LBN6M47Q.js +50 -0
- package/lib/chunk-LBN6M47Q.js.map +1 -0
- package/lib/chunk-LEEJP37I.js +58 -0
- package/lib/chunk-LEEJP37I.js.map +1 -0
- package/lib/chunk-LGPOILNE.js +86 -0
- package/lib/chunk-LGPOILNE.js.map +1 -0
- package/lib/chunk-LH3COSZD.cjs +79 -0
- package/lib/chunk-LH3COSZD.cjs.map +1 -0
- package/lib/chunk-LHG2DMYX.cjs +85 -0
- package/lib/chunk-LHG2DMYX.cjs.map +1 -0
- package/lib/chunk-LI3PRJXB.js +50 -0
- package/lib/chunk-LI3PRJXB.js.map +1 -0
- package/lib/chunk-LKOCJITH.js +68 -0
- package/lib/chunk-LKOCJITH.js.map +1 -0
- package/lib/chunk-LRVKKYKK.cjs +79 -0
- package/lib/chunk-LRVKKYKK.cjs.map +1 -0
- package/lib/chunk-LV4NOJHE.cjs +29 -0
- package/lib/chunk-LV4NOJHE.cjs.map +1 -0
- package/lib/chunk-LZFW7E5I.js +84 -0
- package/lib/chunk-LZFW7E5I.js.map +1 -0
- package/lib/chunk-MANICPFK.js +86 -0
- package/lib/chunk-MANICPFK.js.map +1 -0
- package/lib/chunk-MEDRY2GL.js +191 -0
- package/lib/chunk-MEDRY2GL.js.map +1 -0
- package/lib/chunk-MFFERELH.js +89 -0
- package/lib/chunk-MFFERELH.js.map +1 -0
- package/lib/chunk-MGSPPFHY.js +835 -0
- package/lib/chunk-MGSPPFHY.js.map +1 -0
- package/lib/chunk-MIRX3KPG.js +68 -0
- package/lib/chunk-MIRX3KPG.js.map +1 -0
- package/lib/chunk-MLJAPB6X.cjs +179 -0
- package/lib/chunk-MLJAPB6X.cjs.map +1 -0
- package/lib/chunk-MOHK5Y4K.cjs +67 -0
- package/lib/chunk-MOHK5Y4K.cjs.map +1 -0
- package/lib/chunk-MZCEJDFS.cjs +91 -0
- package/lib/chunk-MZCEJDFS.cjs.map +1 -0
- package/lib/chunk-N2QYUTNW.cjs +26 -0
- package/lib/chunk-N2QYUTNW.cjs.map +1 -0
- package/lib/chunk-N2WLLOFR.js +77 -0
- package/lib/chunk-N2WLLOFR.js.map +1 -0
- package/lib/chunk-NEUAOMAN.cjs +79 -0
- package/lib/chunk-NEUAOMAN.cjs.map +1 -0
- package/lib/chunk-NFAYBSDG.cjs +88 -0
- package/lib/chunk-NFAYBSDG.cjs.map +1 -0
- package/lib/chunk-NK4SOOM5.cjs +52 -0
- package/lib/chunk-NK4SOOM5.cjs.map +1 -0
- package/lib/chunk-NPTF547B.js +53 -0
- package/lib/chunk-NPTF547B.js.map +1 -0
- package/lib/chunk-NQ66VLXL.js +68 -0
- package/lib/chunk-NQ66VLXL.js.map +1 -0
- package/lib/chunk-NQACG5RT.cjs +166 -0
- package/lib/chunk-NQACG5RT.cjs.map +1 -0
- package/lib/chunk-NTE62E3M.cjs +79 -0
- package/lib/chunk-NTE62E3M.cjs.map +1 -0
- package/lib/chunk-NXOYRDRO.js +129 -0
- package/lib/chunk-NXOYRDRO.js.map +1 -0
- package/lib/chunk-O47ZP7H6.cjs +614 -0
- package/lib/chunk-O47ZP7H6.cjs.map +1 -0
- package/lib/chunk-OES4VE5M.cjs +84 -0
- package/lib/chunk-OES4VE5M.cjs.map +1 -0
- package/lib/chunk-OHW3ZNR3.js +75 -0
- package/lib/chunk-OHW3ZNR3.js.map +1 -0
- package/lib/chunk-OK3SKMBO.js +89 -0
- package/lib/chunk-OK3SKMBO.js.map +1 -0
- package/lib/chunk-OKEOKU4E.cjs +35 -0
- package/lib/chunk-OKEOKU4E.cjs.map +1 -0
- package/lib/chunk-ONC3OQN4.js +91 -0
- package/lib/chunk-ONC3OQN4.js.map +1 -0
- package/lib/chunk-OTVHFX4H.cjs +77 -0
- package/lib/chunk-OTVHFX4H.cjs.map +1 -0
- package/lib/chunk-OZX27KMR.js +79 -0
- package/lib/chunk-OZX27KMR.js.map +1 -0
- package/lib/chunk-P27AFQBR.js +33 -0
- package/lib/chunk-P27AFQBR.js.map +1 -0
- package/lib/chunk-P6K5NNLW.js +60 -0
- package/lib/chunk-P6K5NNLW.js.map +1 -0
- package/lib/chunk-PGPWTEFE.js +180 -0
- package/lib/chunk-PGPWTEFE.js.map +1 -0
- package/lib/chunk-PHU3CMZ5.cjs +79 -0
- package/lib/chunk-PHU3CMZ5.cjs.map +1 -0
- package/lib/chunk-PI4SJ754.js +50 -0
- package/lib/chunk-PI4SJ754.js.map +1 -0
- package/lib/chunk-PIVKFVWL.cjs +77 -0
- package/lib/chunk-PIVKFVWL.cjs.map +1 -0
- package/lib/chunk-PJACY5CN.js +77 -0
- package/lib/chunk-PJACY5CN.js.map +1 -0
- package/lib/chunk-PNUSOLC7.js +75 -0
- package/lib/chunk-PNUSOLC7.js.map +1 -0
- package/lib/chunk-PTZVULBG.js +68 -0
- package/lib/chunk-PTZVULBG.js.map +1 -0
- package/lib/chunk-PVK2W5DY.cjs +134 -0
- package/lib/chunk-PVK2W5DY.cjs.map +1 -0
- package/lib/chunk-Q2WNIDHO.cjs +60 -0
- package/lib/chunk-Q2WNIDHO.cjs.map +1 -0
- package/lib/chunk-Q5UGOLNH.js +94 -0
- package/lib/chunk-Q5UGOLNH.js.map +1 -0
- package/lib/chunk-QHZYJRJE.cjs +53 -0
- package/lib/chunk-QHZYJRJE.cjs.map +1 -0
- package/lib/chunk-QKVPFV7C.js +68 -0
- package/lib/chunk-QKVPFV7C.js.map +1 -0
- package/lib/chunk-QMZ46W5A.js +82 -0
- package/lib/chunk-QMZ46W5A.js.map +1 -0
- package/lib/chunk-QN7S6NVC.cjs +94 -0
- package/lib/chunk-QN7S6NVC.cjs.map +1 -0
- package/lib/chunk-QPYILFHO.js +60 -0
- package/lib/chunk-QPYILFHO.js.map +1 -0
- package/lib/chunk-QTT5TV37.cjs +170 -0
- package/lib/chunk-QTT5TV37.cjs.map +1 -0
- package/lib/chunk-R3QWC2WC.cjs +60 -0
- package/lib/chunk-R3QWC2WC.cjs.map +1 -0
- package/lib/chunk-R3ZMNR7G.cjs +79 -0
- package/lib/chunk-R3ZMNR7G.cjs.map +1 -0
- package/lib/chunk-R7JJORII.cjs +44 -0
- package/lib/chunk-R7JJORII.cjs.map +1 -0
- package/lib/chunk-RG2WS3WW.js +123 -0
- package/lib/chunk-RG2WS3WW.js.map +1 -0
- package/lib/chunk-RHHHLUEO.js +84 -0
- package/lib/chunk-RHHHLUEO.js.map +1 -0
- package/lib/chunk-RJJTTINA.cjs +62 -0
- package/lib/chunk-RJJTTINA.cjs.map +1 -0
- package/lib/chunk-RWHYI7SY.cjs +70 -0
- package/lib/chunk-RWHYI7SY.cjs.map +1 -0
- package/lib/chunk-RXCUQGFP.js +120 -0
- package/lib/chunk-RXCUQGFP.js.map +1 -0
- package/lib/chunk-S5IFF5TU.js +68 -0
- package/lib/chunk-S5IFF5TU.js.map +1 -0
- package/lib/chunk-SFWTY6BU.js +92 -0
- package/lib/chunk-SFWTY6BU.js.map +1 -0
- package/lib/chunk-SJ643BKA.cjs +70 -0
- package/lib/chunk-SJ643BKA.cjs.map +1 -0
- package/lib/chunk-SJUXQEDZ.js +60 -0
- package/lib/chunk-SJUXQEDZ.js.map +1 -0
- package/lib/chunk-SNVRSI5K.js +177 -0
- package/lib/chunk-SNVRSI5K.js.map +1 -0
- package/lib/chunk-SPDLK6FQ.cjs +81 -0
- package/lib/chunk-SPDLK6FQ.cjs.map +1 -0
- package/lib/chunk-SUTVCSO3.js +124 -0
- package/lib/chunk-SUTVCSO3.js.map +1 -0
- package/lib/chunk-SWZGGEKJ.cjs +125 -0
- package/lib/chunk-SWZGGEKJ.cjs.map +1 -0
- package/lib/chunk-SYXA55WV.cjs +122 -0
- package/lib/chunk-SYXA55WV.cjs.map +1 -0
- package/lib/chunk-SZ7YS3KF.cjs +62 -0
- package/lib/chunk-SZ7YS3KF.cjs.map +1 -0
- package/lib/chunk-T4X3WRUF.cjs +81 -0
- package/lib/chunk-T4X3WRUF.cjs.map +1 -0
- package/lib/chunk-TE4WMF6U.cjs +81 -0
- package/lib/chunk-TE4WMF6U.cjs.map +1 -0
- package/lib/chunk-TLIXQVS5.js +77 -0
- package/lib/chunk-TLIXQVS5.js.map +1 -0
- package/lib/chunk-TQXOBB5Z.cjs +61 -0
- package/lib/chunk-TQXOBB5Z.cjs.map +1 -0
- package/lib/chunk-TRDPCNFE.js +82 -0
- package/lib/chunk-TRDPCNFE.js.map +1 -0
- package/lib/chunk-TWFPZI6T.cjs +94 -0
- package/lib/chunk-TWFPZI6T.cjs.map +1 -0
- package/lib/chunk-TWOWDWCI.cjs +70 -0
- package/lib/chunk-TWOWDWCI.cjs.map +1 -0
- package/lib/chunk-U65XDKVZ.cjs +91 -0
- package/lib/chunk-U65XDKVZ.cjs.map +1 -0
- package/lib/chunk-UBLJX7XD.js +59 -0
- package/lib/chunk-UBLJX7XD.js.map +1 -0
- package/lib/chunk-UBWI5WGL.js +68 -0
- package/lib/chunk-UBWI5WGL.js.map +1 -0
- package/lib/chunk-UBZNC5FH.cjs +102 -0
- package/lib/chunk-UBZNC5FH.cjs.map +1 -0
- package/lib/chunk-UDGHDQ5B.js +24 -0
- package/lib/chunk-UDGHDQ5B.js.map +1 -0
- package/lib/chunk-UI3N2K3F.js +60 -0
- package/lib/chunk-UI3N2K3F.js.map +1 -0
- package/lib/chunk-UIIIGOQX.cjs +70 -0
- package/lib/chunk-UIIIGOQX.cjs.map +1 -0
- package/lib/chunk-UILWZQ2W.cjs +46 -0
- package/lib/chunk-UILWZQ2W.cjs.map +1 -0
- package/lib/chunk-VAMWCYR2.cjs +53 -0
- package/lib/chunk-VAMWCYR2.cjs.map +1 -0
- package/lib/chunk-VC47FGUP.cjs +70 -0
- package/lib/chunk-VC47FGUP.cjs.map +1 -0
- package/lib/chunk-VCELHAKJ.js +177 -0
- package/lib/chunk-VCELHAKJ.js.map +1 -0
- package/lib/chunk-VF736IVO.cjs +86 -0
- package/lib/chunk-VF736IVO.cjs.map +1 -0
- package/lib/chunk-VG6VDUNJ.js +113 -0
- package/lib/chunk-VG6VDUNJ.js.map +1 -0
- package/lib/chunk-VMQK3XJY.js +92 -0
- package/lib/chunk-VMQK3XJY.js.map +1 -0
- package/lib/chunk-W3AU6NQS.js +191 -0
- package/lib/chunk-W3AU6NQS.js.map +1 -0
- package/lib/chunk-WFXPGFZX.cjs +102 -0
- package/lib/chunk-WFXPGFZX.cjs.map +1 -0
- package/lib/chunk-WIQ572EG.js +89 -0
- package/lib/chunk-WIQ572EG.js.map +1 -0
- package/lib/chunk-WIXNV5SM.cjs +19 -0
- package/lib/chunk-WIXNV5SM.cjs.map +1 -0
- package/lib/chunk-WKUJL54B.js +75 -0
- package/lib/chunk-WKUJL54B.js.map +1 -0
- package/lib/chunk-WN3JJ437.cjs +38 -0
- package/lib/chunk-WN3JJ437.cjs.map +1 -0
- package/lib/chunk-WNQ2B7Z6.cjs +70 -0
- package/lib/chunk-WNQ2B7Z6.cjs.map +1 -0
- package/lib/chunk-WOTGMGIZ.js +96 -0
- package/lib/chunk-WOTGMGIZ.js.map +1 -0
- package/lib/chunk-WPPZHCW6.js +42 -0
- package/lib/chunk-WPPZHCW6.js.map +1 -0
- package/lib/chunk-WSBTDWNY.js +78 -0
- package/lib/chunk-WSBTDWNY.js.map +1 -0
- package/lib/chunk-X4NXPMRS.js +100 -0
- package/lib/chunk-X4NXPMRS.js.map +1 -0
- package/lib/chunk-XJXOSSG2.cjs +79 -0
- package/lib/chunk-XJXOSSG2.cjs.map +1 -0
- package/lib/chunk-XMPXZBI2.js +68 -0
- package/lib/chunk-XMPXZBI2.js.map +1 -0
- package/lib/chunk-XNFSTSZN.js +51 -0
- package/lib/chunk-XNFSTSZN.js.map +1 -0
- package/lib/chunk-XPFSWXAU.js +42 -0
- package/lib/chunk-XPFSWXAU.js.map +1 -0
- package/lib/chunk-XUWL4FY6.js +58 -0
- package/lib/chunk-XUWL4FY6.js.map +1 -0
- package/lib/chunk-XWOOGY54.js +69 -0
- package/lib/chunk-XWOOGY54.js.map +1 -0
- package/lib/chunk-XZQTBLKO.cjs +93 -0
- package/lib/chunk-XZQTBLKO.cjs.map +1 -0
- package/lib/chunk-Y2WAPNSF.js +82 -0
- package/lib/chunk-Y2WAPNSF.js.map +1 -0
- package/lib/chunk-Y33SKLZU.cjs +53 -0
- package/lib/chunk-Y33SKLZU.cjs.map +1 -0
- package/lib/chunk-Y5L33WN3.cjs +69 -0
- package/lib/chunk-Y5L33WN3.cjs.map +1 -0
- package/lib/chunk-YIQFPB2D.cjs +79 -0
- package/lib/chunk-YIQFPB2D.cjs.map +1 -0
- package/lib/chunk-YKB7L74M.cjs +70 -0
- package/lib/chunk-YKB7L74M.cjs.map +1 -0
- package/lib/chunk-YKC5RL7S.cjs +96 -0
- package/lib/chunk-YKC5RL7S.cjs.map +1 -0
- package/lib/chunk-Z2DAEKW7.js +68 -0
- package/lib/chunk-Z2DAEKW7.js.map +1 -0
- package/lib/chunk-Z56I34U3.cjs +70 -0
- package/lib/chunk-Z56I34U3.cjs.map +1 -0
- package/lib/chunk-Z66BOR7R.js +96 -0
- package/lib/chunk-Z66BOR7R.js.map +1 -0
- package/lib/chunk-Z6TK6XCK.cjs +79 -0
- package/lib/chunk-Z6TK6XCK.cjs.map +1 -0
- package/lib/chunk-ZBJNN6OX.js +42 -0
- package/lib/chunk-ZBJNN6OX.js.map +1 -0
- package/lib/chunk-ZE2JOYWP.js +75 -0
- package/lib/chunk-ZE2JOYWP.js.map +1 -0
- package/lib/chunk-ZETZFLTU.cjs +89 -0
- package/lib/chunk-ZETZFLTU.cjs.map +1 -0
- package/lib/chunk-ZFAAZWRS.cjs +70 -0
- package/lib/chunk-ZFAAZWRS.cjs.map +1 -0
- package/lib/chunk-ZG4D26E4.js +96 -0
- package/lib/chunk-ZG4D26E4.js.map +1 -0
- package/lib/chunk-ZGB7XH6V.cjs +179 -0
- package/lib/chunk-ZGB7XH6V.cjs.map +1 -0
- package/lib/chunk-ZGHN3XCC.js +100 -0
- package/lib/chunk-ZGHN3XCC.js.map +1 -0
- package/lib/chunk-ZJR3IHHN.cjs +53 -0
- package/lib/chunk-ZJR3IHHN.cjs.map +1 -0
- package/lib/chunk-ZKH76BPQ.cjs +120 -0
- package/lib/chunk-ZKH76BPQ.cjs.map +1 -0
- package/lib/chunk-ZKP5WO4N.cjs +193 -0
- package/lib/chunk-ZKP5WO4N.cjs.map +1 -0
- package/lib/chunk-ZNXSEQIH.cjs +131 -0
- package/lib/chunk-ZNXSEQIH.cjs.map +1 -0
- package/lib/chunk-ZPVG73FO.cjs +63 -0
- package/lib/chunk-ZPVG73FO.cjs.map +1 -0
- package/lib/chunk-ZUYCVSFZ.cjs +843 -0
- package/lib/chunk-ZUYCVSFZ.cjs.map +1 -0
- package/lib/chunk-ZYY52BNG.cjs +62 -0
- package/lib/chunk-ZYY52BNG.cjs.map +1 -0
- package/lib/commercelayer.cjs +10 -10
- package/lib/commercelayer.d.cts +1 -1
- package/lib/commercelayer.d.ts +1 -1
- package/lib/commercelayer.js +4 -4
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/index.cjs +146 -146
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +141 -141
- package/lib/index.js.map +1 -1
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/resources/addresses.cjs +5 -5
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/addresses.js +4 -4
- package/lib/resources/adjustments.cjs +5 -5
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adjustments.js +4 -4
- package/lib/resources/adyen_gateways.cjs +5 -5
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +4 -4
- package/lib/resources/adyen_payments.cjs +5 -5
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +4 -4
- package/lib/resources/applications.cjs +5 -5
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/applications.js +4 -4
- package/lib/resources/attachments.cjs +5 -5
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +4 -4
- package/lib/resources/authorizations.cjs +5 -5
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +4 -4
- package/lib/resources/avalara_accounts.cjs +5 -5
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/avalara_accounts.js +4 -4
- package/lib/resources/axerve_gateways.cjs +5 -5
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_gateways.js +4 -4
- package/lib/resources/axerve_payments.cjs +5 -5
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/axerve_payments.js +4 -4
- package/lib/resources/billing_info_validation_rules.cjs +5 -5
- package/lib/resources/billing_info_validation_rules.d.cts +2 -2
- package/lib/resources/billing_info_validation_rules.d.ts +1 -1
- package/lib/resources/billing_info_validation_rules.js +4 -4
- package/lib/resources/bing_geocoders.cjs +5 -5
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/bing_geocoders.js +4 -4
- package/lib/resources/braintree_gateways.cjs +5 -5
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_gateways.js +4 -4
- package/lib/resources/braintree_payments.cjs +5 -5
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/braintree_payments.js +4 -4
- package/lib/resources/bundles.cjs +5 -5
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +4 -4
- package/lib/resources/buy_x_pay_y_promotions.cjs +5 -5
- package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.js +4 -4
- package/lib/resources/captures.cjs +5 -5
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +4 -4
- package/lib/resources/carrier_accounts.cjs +5 -5
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/carrier_accounts.js +4 -4
- package/lib/resources/checkout_com_gateways.cjs +5 -5
- package/lib/resources/checkout_com_gateways.d.cts +2 -2
- package/lib/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/resources/checkout_com_gateways.js +4 -4
- package/lib/resources/checkout_com_payments.cjs +5 -5
- package/lib/resources/checkout_com_payments.d.cts +2 -2
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/checkout_com_payments.js +4 -4
- package/lib/resources/cleanups.cjs +5 -5
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/cleanups.js +4 -4
- package/lib/resources/coupon_codes_promotion_rules.cjs +5 -5
- package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.js +4 -4
- package/lib/resources/coupon_recipients.cjs +5 -5
- package/lib/resources/coupon_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupon_recipients.js +4 -4
- package/lib/resources/coupons.cjs +5 -5
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/coupons.js +4 -4
- package/lib/resources/custom_promotion_rules.cjs +5 -5
- package/lib/resources/custom_promotion_rules.d.cts +2 -2
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.js +4 -4
- package/lib/resources/customer_addresses.cjs +5 -5
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_addresses.js +4 -4
- package/lib/resources/customer_groups.cjs +5 -5
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_groups.js +4 -4
- package/lib/resources/customer_password_resets.cjs +5 -5
- package/lib/resources/customer_password_resets.d.cts +2 -2
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_password_resets.js +4 -4
- package/lib/resources/customer_payment_sources.cjs +5 -5
- package/lib/resources/customer_payment_sources.d.cts +2 -2
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_payment_sources.js +4 -4
- package/lib/resources/customer_subscriptions.cjs +5 -5
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customer_subscriptions.js +4 -4
- package/lib/resources/customers.cjs +5 -5
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/customers.js +4 -4
- package/lib/resources/delivery_lead_times.cjs +5 -5
- package/lib/resources/delivery_lead_times.d.cts +2 -2
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/delivery_lead_times.js +4 -4
- package/lib/resources/discount_engine_items.cjs +5 -5
- package/lib/resources/discount_engine_items.d.cts +2 -2
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engine_items.js +4 -4
- package/lib/resources/discount_engines.cjs +5 -5
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/discount_engines.js +4 -4
- package/lib/resources/easypost_pickups.cjs +5 -5
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/easypost_pickups.js +4 -4
- package/lib/resources/event_callbacks.cjs +5 -5
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_callbacks.js +4 -4
- package/lib/resources/event_stores.cjs +5 -5
- package/lib/resources/event_stores.d.cts +2 -2
- package/lib/resources/event_stores.d.ts +1 -1
- package/lib/resources/event_stores.js +4 -4
- package/lib/resources/events.cjs +5 -5
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/events.js +4 -4
- package/lib/resources/exports.cjs +5 -5
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +4 -4
- package/lib/resources/external_gateways.cjs +5 -5
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_gateways.js +4 -4
- package/lib/resources/external_payments.cjs +5 -5
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_payments.js +4 -4
- package/lib/resources/external_promotions.cjs +5 -5
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +4 -4
- package/lib/resources/external_tax_calculators.cjs +5 -5
- package/lib/resources/external_tax_calculators.d.cts +2 -2
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/external_tax_calculators.js +4 -4
- package/lib/resources/fixed_amount_promotions.cjs +5 -5
- package/lib/resources/fixed_amount_promotions.d.cts +2 -2
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.js +4 -4
- package/lib/resources/fixed_price_promotions.cjs +5 -5
- package/lib/resources/fixed_price_promotions.d.cts +2 -2
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.js +4 -4
- package/lib/resources/flex_promotions.cjs +5 -5
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +4 -4
- package/lib/resources/free_gift_promotions.cjs +5 -5
- package/lib/resources/free_gift_promotions.d.cts +2 -2
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_gift_promotions.js +4 -4
- package/lib/resources/free_shipping_promotions.cjs +5 -5
- package/lib/resources/free_shipping_promotions.d.cts +2 -2
- package/lib/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.js +4 -4
- package/lib/resources/geocoders.cjs +5 -5
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/geocoders.js +4 -4
- package/lib/resources/gift_card_recipients.cjs +5 -5
- package/lib/resources/gift_card_recipients.d.cts +2 -2
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_card_recipients.js +4 -4
- package/lib/resources/gift_cards.cjs +5 -5
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/gift_cards.js +4 -4
- package/lib/resources/google_geocoders.cjs +5 -5
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/google_geocoders.js +4 -4
- package/lib/resources/imports.cjs +5 -5
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +4 -4
- package/lib/resources/in_stock_subscriptions.cjs +5 -5
- package/lib/resources/in_stock_subscriptions.d.cts +2 -2
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.js +4 -4
- package/lib/resources/inventory_models.cjs +5 -5
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_models.js +4 -4
- package/lib/resources/inventory_return_locations.cjs +5 -5
- package/lib/resources/inventory_return_locations.d.cts +2 -2
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_return_locations.js +4 -4
- package/lib/resources/inventory_stock_locations.cjs +5 -5
- package/lib/resources/inventory_stock_locations.d.cts +2 -2
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.js +4 -4
- package/lib/resources/klarna_gateways.cjs +5 -5
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_gateways.js +4 -4
- package/lib/resources/klarna_payments.cjs +5 -5
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/klarna_payments.js +4 -4
- package/lib/resources/line_item_options.cjs +5 -5
- package/lib/resources/line_item_options.d.cts +2 -2
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_item_options.js +4 -4
- package/lib/resources/line_items.cjs +5 -5
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +4 -4
- package/lib/resources/links.cjs +5 -5
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/links.js +4 -4
- package/lib/resources/manual_gateways.cjs +5 -5
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_gateways.js +4 -4
- package/lib/resources/manual_tax_calculators.cjs +5 -5
- package/lib/resources/manual_tax_calculators.d.cts +2 -2
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.js +4 -4
- package/lib/resources/markets.cjs +5 -5
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/markets.js +4 -4
- package/lib/resources/merchants.cjs +5 -5
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/merchants.js +4 -4
- package/lib/resources/notifications.cjs +5 -5
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/notifications.js +4 -4
- package/lib/resources/order_amount_promotion_rules.cjs +5 -5
- package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/resources/order_amount_promotion_rules.js +4 -4
- package/lib/resources/order_copies.cjs +5 -5
- package/lib/resources/order_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_copies.js +4 -4
- package/lib/resources/order_factories.cjs +5 -5
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_factories.js +4 -4
- package/lib/resources/order_subscription_items.cjs +5 -5
- package/lib/resources/order_subscription_items.d.cts +2 -2
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscription_items.js +4 -4
- package/lib/resources/order_subscriptions.cjs +5 -5
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/order_subscriptions.js +4 -4
- package/lib/resources/order_validation_rules.cjs +5 -5
- package/lib/resources/order_validation_rules.d.cts +2 -2
- package/lib/resources/order_validation_rules.d.ts +1 -1
- package/lib/resources/order_validation_rules.js +4 -4
- package/lib/resources/orders.cjs +5 -5
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +4 -4
- package/lib/resources/organizations.cjs +5 -5
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +4 -4
- package/lib/resources/packages.cjs +5 -5
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/packages.js +4 -4
- package/lib/resources/parcel_line_items.cjs +5 -5
- package/lib/resources/parcel_line_items.d.cts +2 -2
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcel_line_items.js +4 -4
- package/lib/resources/parcels.cjs +5 -5
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/parcels.js +4 -4
- package/lib/resources/payment_gateways.cjs +5 -5
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_gateways.js +4 -4
- package/lib/resources/payment_methods.cjs +5 -5
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_methods.js +4 -4
- package/lib/resources/payment_options.cjs +5 -5
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/payment_options.js +4 -4
- package/lib/resources/paypal_gateways.cjs +5 -5
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_gateways.js +4 -4
- package/lib/resources/paypal_payments.cjs +5 -5
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/paypal_payments.js +4 -4
- package/lib/resources/percentage_discount_promotions.cjs +5 -5
- package/lib/resources/percentage_discount_promotions.d.cts +2 -2
- package/lib/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.js +4 -4
- package/lib/resources/pickups.cjs +5 -5
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/pickups.js +4 -4
- package/lib/resources/price_frequency_tiers.cjs +5 -5
- package/lib/resources/price_frequency_tiers.d.cts +2 -2
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.js +4 -4
- package/lib/resources/price_list_schedulers.cjs +5 -5
- package/lib/resources/price_list_schedulers.d.cts +2 -2
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.js +4 -4
- package/lib/resources/price_lists.cjs +5 -5
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +4 -4
- package/lib/resources/price_tiers.cjs +5 -5
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_tiers.js +4 -4
- package/lib/resources/price_volume_tiers.cjs +5 -5
- package/lib/resources/price_volume_tiers.d.cts +2 -2
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.js +4 -4
- package/lib/resources/prices.cjs +5 -5
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +4 -4
- package/lib/resources/promotion_rules.cjs +5 -5
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotion_rules.js +4 -4
- package/lib/resources/promotions.cjs +5 -5
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +4 -4
- package/lib/resources/recurring_order_copies.cjs +5 -5
- package/lib/resources/recurring_order_copies.d.cts +2 -2
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/recurring_order_copies.js +4 -4
- package/lib/resources/refunds.cjs +5 -5
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +4 -4
- package/lib/resources/reserved_stocks.cjs +5 -5
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/reserved_stocks.js +4 -4
- package/lib/resources/resource_errors.cjs +5 -5
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/resource_errors.js +4 -4
- package/lib/resources/return_line_items.cjs +5 -5
- package/lib/resources/return_line_items.d.cts +2 -2
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/return_line_items.js +4 -4
- package/lib/resources/returns.cjs +5 -5
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/returns.js +4 -4
- package/lib/resources/satispay_gateways.cjs +5 -5
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_gateways.js +4 -4
- package/lib/resources/satispay_payments.cjs +5 -5
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +4 -4
- package/lib/resources/shipment_line_items.cjs +5 -5
- package/lib/resources/shipment_line_items.d.cts +2 -2
- package/lib/resources/shipment_line_items.d.ts +1 -1
- package/lib/resources/shipment_line_items.js +4 -4
- package/lib/resources/shipments.cjs +5 -5
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +4 -4
- package/lib/resources/shipping_categories.cjs +5 -5
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_categories.js +4 -4
- package/lib/resources/shipping_method_tiers.cjs +5 -5
- package/lib/resources/shipping_method_tiers.d.cts +2 -2
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.js +4 -4
- package/lib/resources/shipping_methods.cjs +5 -5
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_methods.js +4 -4
- package/lib/resources/shipping_weight_tiers.cjs +5 -5
- package/lib/resources/shipping_weight_tiers.d.cts +2 -2
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.js +4 -4
- package/lib/resources/shipping_zones.cjs +5 -5
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/shipping_zones.js +4 -4
- package/lib/resources/sku_list_items.cjs +5 -5
- package/lib/resources/sku_list_items.d.cts +2 -2
- package/lib/resources/sku_list_items.d.ts +1 -1
- package/lib/resources/sku_list_items.js +4 -4
- package/lib/resources/sku_list_promotion_rules.cjs +5 -5
- package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_list_promotion_rules.js +4 -4
- package/lib/resources/sku_lists.cjs +5 -5
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_lists.js +4 -4
- package/lib/resources/sku_options.cjs +5 -5
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/sku_options.js +4 -4
- package/lib/resources/skus.cjs +5 -5
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +4 -4
- package/lib/resources/stock_items.cjs +5 -5
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_items.js +4 -4
- package/lib/resources/stock_line_items.cjs +5 -5
- package/lib/resources/stock_line_items.d.cts +2 -2
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_line_items.js +4 -4
- package/lib/resources/stock_locations.cjs +5 -5
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_locations.js +4 -4
- package/lib/resources/stock_reservations.cjs +5 -5
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_reservations.js +4 -4
- package/lib/resources/stock_transfers.cjs +5 -5
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stock_transfers.js +4 -4
- package/lib/resources/stores.cjs +5 -5
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stores.js +4 -4
- package/lib/resources/stripe_gateways.cjs +5 -5
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_gateways.js +4 -4
- package/lib/resources/stripe_payments.cjs +5 -5
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_payments.js +4 -4
- package/lib/resources/stripe_tax_accounts.cjs +5 -5
- package/lib/resources/stripe_tax_accounts.d.cts +2 -2
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.js +4 -4
- package/lib/resources/subscription_models.cjs +5 -5
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/subscription_models.js +4 -4
- package/lib/resources/tags.cjs +5 -5
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/tags.js +4 -4
- package/lib/resources/talon_one_accounts.cjs +5 -5
- package/lib/resources/talon_one_accounts.d.cts +2 -2
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/talon_one_accounts.js +4 -4
- package/lib/resources/tax_calculators.cjs +5 -5
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_calculators.js +4 -4
- package/lib/resources/tax_categories.cjs +5 -5
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_categories.js +4 -4
- package/lib/resources/tax_rules.cjs +5 -5
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/tax_rules.js +4 -4
- package/lib/resources/taxjar_accounts.cjs +5 -5
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/taxjar_accounts.js +4 -4
- package/lib/resources/transactions.cjs +5 -5
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +4 -4
- package/lib/resources/vertex_accounts.cjs +5 -5
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +4 -4
- package/lib/resources/voids.cjs +5 -5
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +4 -4
- package/lib/resources/webhooks.cjs +5 -5
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/webhooks.js +4 -4
- package/lib/resources/wire_transfers.cjs +5 -5
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/resources/wire_transfers.js +4 -4
- package/lib/single-client.cjs +279 -279
- package/lib/single-client.cjs.map +1 -1
- package/lib/single-client.d.cts +1 -1
- package/lib/single-client.d.ts +1 -1
- package/lib/single-client.js +140 -140
- package/lib/single-client.js.map +1 -1
- package/lib/static.cjs +6 -6
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +5 -5
- package/lib/version.cjs +4 -4
- package/lib/version.js +1 -1
- package/package.json +10 -12
- package/lib/api-B1BMXFo6.d.cts +0 -19348
- package/lib/api-B1BMXFo6.d.ts +0 -19348
- package/lib/chunk-22QEVU7O.js +0 -118
- package/lib/chunk-22QEVU7O.js.map +0 -1
- package/lib/chunk-23N7ZNJN.cjs +0 -85
- package/lib/chunk-23N7ZNJN.cjs.map +0 -1
- package/lib/chunk-24FKVY4W.js +0 -53
- package/lib/chunk-24FKVY4W.js.map +0 -1
- package/lib/chunk-27C4F3SM.cjs +0 -91
- package/lib/chunk-27C4F3SM.cjs.map +0 -1
- package/lib/chunk-2BDFFEBL.js +0 -168
- package/lib/chunk-2BDFFEBL.js.map +0 -1
- package/lib/chunk-2DLE4OHU.js +0 -91
- package/lib/chunk-2DLE4OHU.js.map +0 -1
- package/lib/chunk-2EFMY5ID.js +0 -60
- package/lib/chunk-2EFMY5ID.js.map +0 -1
- package/lib/chunk-2GWJ3F3V.js +0 -177
- package/lib/chunk-2GWJ3F3V.js.map +0 -1
- package/lib/chunk-2JGAWCSO.js +0 -68
- package/lib/chunk-2JGAWCSO.js.map +0 -1
- package/lib/chunk-2P72JFW6.js +0 -68
- package/lib/chunk-2P72JFW6.js.map +0 -1
- package/lib/chunk-2P7JGV3T.cjs +0 -70
- package/lib/chunk-2P7JGV3T.cjs.map +0 -1
- package/lib/chunk-2R7IRINK.js +0 -79
- package/lib/chunk-2R7IRINK.js.map +0 -1
- package/lib/chunk-3GCSAK5R.cjs +0 -77
- package/lib/chunk-3GCSAK5R.cjs.map +0 -1
- package/lib/chunk-3OJL5XNH.js +0 -77
- package/lib/chunk-3OJL5XNH.js.map +0 -1
- package/lib/chunk-3TT3ZNWR.cjs +0 -71
- package/lib/chunk-3TT3ZNWR.cjs.map +0 -1
- package/lib/chunk-3Y3P26RJ.js +0 -86
- package/lib/chunk-3Y3P26RJ.js.map +0 -1
- package/lib/chunk-43XLD2HN.cjs +0 -70
- package/lib/chunk-43XLD2HN.cjs.map +0 -1
- package/lib/chunk-4RIOLWWG.js +0 -82
- package/lib/chunk-4RIOLWWG.js.map +0 -1
- package/lib/chunk-4SH4UNDF.cjs +0 -98
- package/lib/chunk-4SH4UNDF.cjs.map +0 -1
- package/lib/chunk-4ZIHEYP7.cjs +0 -70
- package/lib/chunk-4ZIHEYP7.cjs.map +0 -1
- package/lib/chunk-57BH3H7I.cjs +0 -79
- package/lib/chunk-57BH3H7I.cjs.map +0 -1
- package/lib/chunk-5AXTTRTZ.cjs +0 -166
- package/lib/chunk-5AXTTRTZ.cjs.map +0 -1
- package/lib/chunk-5BLV7QCQ.js +0 -177
- package/lib/chunk-5BLV7QCQ.js.map +0 -1
- package/lib/chunk-5E7XDFEY.cjs +0 -70
- package/lib/chunk-5E7XDFEY.cjs.map +0 -1
- package/lib/chunk-5GCRDWIT.cjs +0 -53
- package/lib/chunk-5GCRDWIT.cjs.map +0 -1
- package/lib/chunk-5H4QQYLL.cjs +0 -29
- package/lib/chunk-5H4QQYLL.cjs.map +0 -1
- package/lib/chunk-5JC7I6QJ.js +0 -177
- package/lib/chunk-5JC7I6QJ.js.map +0 -1
- package/lib/chunk-5N2UKZQB.cjs +0 -44
- package/lib/chunk-5N2UKZQB.cjs.map +0 -1
- package/lib/chunk-5OBBF2XZ.js +0 -118
- package/lib/chunk-5OBBF2XZ.js.map +0 -1
- package/lib/chunk-5OFBIQYL.js +0 -60
- package/lib/chunk-5OFBIQYL.js.map +0 -1
- package/lib/chunk-5WEDRZPL.cjs +0 -44
- package/lib/chunk-5WEDRZPL.cjs.map +0 -1
- package/lib/chunk-5WTAGYRE.cjs +0 -88
- package/lib/chunk-5WTAGYRE.cjs.map +0 -1
- package/lib/chunk-5YV2MUSC.js +0 -75
- package/lib/chunk-5YV2MUSC.js.map +0 -1
- package/lib/chunk-65VX4PJL.cjs +0 -79
- package/lib/chunk-65VX4PJL.cjs.map +0 -1
- package/lib/chunk-6KP5YH6F.js +0 -68
- package/lib/chunk-6KP5YH6F.js.map +0 -1
- package/lib/chunk-73PDTWDI.js +0 -83
- package/lib/chunk-73PDTWDI.js.map +0 -1
- package/lib/chunk-756AJG23.cjs +0 -61
- package/lib/chunk-756AJG23.cjs.map +0 -1
- package/lib/chunk-7CWPDL7D.cjs +0 -71
- package/lib/chunk-7CWPDL7D.cjs.map +0 -1
- package/lib/chunk-7WOEETZZ.cjs +0 -79
- package/lib/chunk-7WOEETZZ.cjs.map +0 -1
- package/lib/chunk-A3W5ZTHY.js +0 -77
- package/lib/chunk-A3W5ZTHY.js.map +0 -1
- package/lib/chunk-A3XAAY6I.js +0 -123
- package/lib/chunk-A3XAAY6I.js.map +0 -1
- package/lib/chunk-ADQDVME4.js +0 -42
- package/lib/chunk-ADQDVME4.js.map +0 -1
- package/lib/chunk-AFCRSRTJ.js +0 -75
- package/lib/chunk-AFCRSRTJ.js.map +0 -1
- package/lib/chunk-AM3F6VLX.cjs +0 -193
- package/lib/chunk-AM3F6VLX.cjs.map +0 -1
- package/lib/chunk-AVDVPECB.cjs +0 -122
- package/lib/chunk-AVDVPECB.cjs.map +0 -1
- package/lib/chunk-AXGILGEL.js +0 -42
- package/lib/chunk-AXGILGEL.js.map +0 -1
- package/lib/chunk-AZXCR5YI.cjs +0 -79
- package/lib/chunk-AZXCR5YI.cjs.map +0 -1
- package/lib/chunk-B4WLQFDI.cjs +0 -120
- package/lib/chunk-B4WLQFDI.cjs.map +0 -1
- package/lib/chunk-B6WVZLF2.cjs +0 -79
- package/lib/chunk-B6WVZLF2.cjs.map +0 -1
- package/lib/chunk-BALL5SQ4.cjs +0 -131
- package/lib/chunk-BALL5SQ4.cjs.map +0 -1
- package/lib/chunk-BBI33EU4.cjs +0 -102
- package/lib/chunk-BBI33EU4.cjs.map +0 -1
- package/lib/chunk-BHL3OK33.cjs +0 -118
- package/lib/chunk-BHL3OK33.cjs.map +0 -1
- package/lib/chunk-BOM4XWDX.cjs +0 -79
- package/lib/chunk-BOM4XWDX.cjs.map +0 -1
- package/lib/chunk-BROHUUMK.cjs +0 -62
- package/lib/chunk-BROHUUMK.cjs.map +0 -1
- package/lib/chunk-BTWAXIAN.js +0 -86
- package/lib/chunk-BTWAXIAN.js.map +0 -1
- package/lib/chunk-BVP4O5YT.js +0 -12
- package/lib/chunk-BVP4O5YT.js.map +0 -1
- package/lib/chunk-C2HCNUWI.js +0 -86
- package/lib/chunk-C2HCNUWI.js.map +0 -1
- package/lib/chunk-C4LEK74I.cjs +0 -67
- package/lib/chunk-C4LEK74I.cjs.map +0 -1
- package/lib/chunk-C4OIX7FQ.js +0 -65
- package/lib/chunk-C4OIX7FQ.js.map +0 -1
- package/lib/chunk-CAFLLUM3.js +0 -75
- package/lib/chunk-CAFLLUM3.js.map +0 -1
- package/lib/chunk-CBEDD5XV.cjs +0 -179
- package/lib/chunk-CBEDD5XV.cjs.map +0 -1
- package/lib/chunk-CCBZH2BZ.js +0 -177
- package/lib/chunk-CCBZH2BZ.js.map +0 -1
- package/lib/chunk-CEPPOT75.js +0 -59
- package/lib/chunk-CEPPOT75.js.map +0 -1
- package/lib/chunk-CLX2MA3D.cjs +0 -77
- package/lib/chunk-CLX2MA3D.cjs.map +0 -1
- package/lib/chunk-CNFMQUCE.js +0 -68
- package/lib/chunk-CNFMQUCE.js.map +0 -1
- package/lib/chunk-CTXGAWSA.cjs +0 -55
- package/lib/chunk-CTXGAWSA.cjs.map +0 -1
- package/lib/chunk-CWH7I3BL.js +0 -68
- package/lib/chunk-CWH7I3BL.js.map +0 -1
- package/lib/chunk-D3U7JSGR.cjs +0 -60
- package/lib/chunk-D3U7JSGR.cjs.map +0 -1
- package/lib/chunk-D6YW3NMU.cjs +0 -86
- package/lib/chunk-D6YW3NMU.cjs.map +0 -1
- package/lib/chunk-DCFZLBUH.js +0 -60
- package/lib/chunk-DCFZLBUH.js.map +0 -1
- package/lib/chunk-DD42A7RW.cjs +0 -88
- package/lib/chunk-DD42A7RW.cjs.map +0 -1
- package/lib/chunk-DH4MWJA5.js +0 -50
- package/lib/chunk-DH4MWJA5.js.map +0 -1
- package/lib/chunk-DMKFUBUL.cjs +0 -79
- package/lib/chunk-DMKFUBUL.cjs.map +0 -1
- package/lib/chunk-DODU3HR5.js +0 -68
- package/lib/chunk-DODU3HR5.js.map +0 -1
- package/lib/chunk-DPEMEKMH.js +0 -91
- package/lib/chunk-DPEMEKMH.js.map +0 -1
- package/lib/chunk-DQTUZXNM.cjs +0 -60
- package/lib/chunk-DQTUZXNM.cjs.map +0 -1
- package/lib/chunk-DSHKV2DU.cjs +0 -614
- package/lib/chunk-DSHKV2DU.cjs.map +0 -1
- package/lib/chunk-DVR45EYD.js +0 -69
- package/lib/chunk-DVR45EYD.js.map +0 -1
- package/lib/chunk-DYS7XVRH.js +0 -92
- package/lib/chunk-DYS7XVRH.js.map +0 -1
- package/lib/chunk-DZFJO4LF.cjs +0 -816
- package/lib/chunk-DZFJO4LF.cjs.map +0 -1
- package/lib/chunk-DZGXCZVF.cjs +0 -53
- package/lib/chunk-DZGXCZVF.cjs.map +0 -1
- package/lib/chunk-E6AATN7Y.cjs +0 -70
- package/lib/chunk-E6AATN7Y.cjs.map +0 -1
- package/lib/chunk-E7VI2SVA.cjs +0 -93
- package/lib/chunk-E7VI2SVA.cjs.map +0 -1
- package/lib/chunk-EB66RJXX.cjs +0 -90
- package/lib/chunk-EB66RJXX.cjs.map +0 -1
- package/lib/chunk-ECFRQWZF.js +0 -77
- package/lib/chunk-ECFRQWZF.js.map +0 -1
- package/lib/chunk-EDLY6XW6.cjs +0 -61
- package/lib/chunk-EDLY6XW6.cjs.map +0 -1
- package/lib/chunk-EHIRQORB.js +0 -113
- package/lib/chunk-EHIRQORB.js.map +0 -1
- package/lib/chunk-EN5IKIGN.cjs +0 -53
- package/lib/chunk-EN5IKIGN.cjs.map +0 -1
- package/lib/chunk-EORYVMG7.cjs +0 -102
- package/lib/chunk-EORYVMG7.cjs.map +0 -1
- package/lib/chunk-EP353ENQ.js +0 -17
- package/lib/chunk-EP353ENQ.js.map +0 -1
- package/lib/chunk-EPWU4GMQ.cjs +0 -84
- package/lib/chunk-EPWU4GMQ.cjs.map +0 -1
- package/lib/chunk-EQ7F256D.js +0 -180
- package/lib/chunk-EQ7F256D.js.map +0 -1
- package/lib/chunk-EVBJLO37.js +0 -60
- package/lib/chunk-EVBJLO37.js.map +0 -1
- package/lib/chunk-F3S2D4XA.js +0 -44
- package/lib/chunk-F3S2D4XA.js.map +0 -1
- package/lib/chunk-F6G7TTJP.js +0 -42
- package/lib/chunk-F6G7TTJP.js.map +0 -1
- package/lib/chunk-FAONDNFT.js +0 -82
- package/lib/chunk-FAONDNFT.js.map +0 -1
- package/lib/chunk-FGHB6SIM.cjs +0 -122
- package/lib/chunk-FGHB6SIM.cjs.map +0 -1
- package/lib/chunk-FKMQZNBZ.js +0 -51
- package/lib/chunk-FKMQZNBZ.js.map +0 -1
- package/lib/chunk-FSJ5ASJO.js +0 -68
- package/lib/chunk-FSJ5ASJO.js.map +0 -1
- package/lib/chunk-FYRSCQAT.js +0 -100
- package/lib/chunk-FYRSCQAT.js.map +0 -1
- package/lib/chunk-GDFQYZF4.js +0 -94
- package/lib/chunk-GDFQYZF4.js.map +0 -1
- package/lib/chunk-GDLOUNY7.cjs +0 -88
- package/lib/chunk-GDLOUNY7.cjs.map +0 -1
- package/lib/chunk-GDYUR3M5.cjs +0 -91
- package/lib/chunk-GDYUR3M5.cjs.map +0 -1
- package/lib/chunk-GH5VQCDT.cjs +0 -179
- package/lib/chunk-GH5VQCDT.cjs.map +0 -1
- package/lib/chunk-GLQ55MH2.cjs +0 -77
- package/lib/chunk-GLQ55MH2.cjs.map +0 -1
- package/lib/chunk-GXID6I4X.cjs +0 -62
- package/lib/chunk-GXID6I4X.cjs.map +0 -1
- package/lib/chunk-HAVNDSL3.js +0 -68
- package/lib/chunk-HAVNDSL3.js.map +0 -1
- package/lib/chunk-HAWT3AVI.cjs +0 -35
- package/lib/chunk-HAWT3AVI.cjs.map +0 -1
- package/lib/chunk-HAZOMHMN.js +0 -80
- package/lib/chunk-HAZOMHMN.js.map +0 -1
- package/lib/chunk-HBQQF3YE.js +0 -84
- package/lib/chunk-HBQQF3YE.js.map +0 -1
- package/lib/chunk-HBXGDXPS.cjs +0 -198
- package/lib/chunk-HBXGDXPS.cjs.map +0 -1
- package/lib/chunk-HETS5MDK.js +0 -100
- package/lib/chunk-HETS5MDK.js.map +0 -1
- package/lib/chunk-HIFEJ3UD.js +0 -89
- package/lib/chunk-HIFEJ3UD.js.map +0 -1
- package/lib/chunk-HOK4CEEE.js +0 -69
- package/lib/chunk-HOK4CEEE.js.map +0 -1
- package/lib/chunk-HQSUDPLN.js +0 -42
- package/lib/chunk-HQSUDPLN.js.map +0 -1
- package/lib/chunk-HRXF5PYG.js +0 -191
- package/lib/chunk-HRXF5PYG.js.map +0 -1
- package/lib/chunk-HVE6MLV2.cjs +0 -63
- package/lib/chunk-HVE6MLV2.cjs.map +0 -1
- package/lib/chunk-HVMK64MS.cjs +0 -77
- package/lib/chunk-HVMK64MS.cjs.map +0 -1
- package/lib/chunk-I663QZHP.js +0 -60
- package/lib/chunk-I663QZHP.js.map +0 -1
- package/lib/chunk-I6QA5OLE.cjs +0 -98
- package/lib/chunk-I6QA5OLE.cjs.map +0 -1
- package/lib/chunk-IBO6CPGX.cjs +0 -98
- package/lib/chunk-IBO6CPGX.cjs.map +0 -1
- package/lib/chunk-IBVEEQKC.js +0 -89
- package/lib/chunk-IBVEEQKC.js.map +0 -1
- package/lib/chunk-IERQWZMB.cjs +0 -70
- package/lib/chunk-IERQWZMB.cjs.map +0 -1
- package/lib/chunk-ILK4A253.cjs +0 -179
- package/lib/chunk-ILK4A253.cjs.map +0 -1
- package/lib/chunk-INWIFJOG.cjs +0 -94
- package/lib/chunk-INWIFJOG.cjs.map +0 -1
- package/lib/chunk-IOFM4JEN.cjs +0 -44
- package/lib/chunk-IOFM4JEN.cjs.map +0 -1
- package/lib/chunk-IOHDRJKA.cjs +0 -80
- package/lib/chunk-IOHDRJKA.cjs.map +0 -1
- package/lib/chunk-IVP2QAEE.js +0 -77
- package/lib/chunk-IVP2QAEE.js.map +0 -1
- package/lib/chunk-J4CIIZ7K.js +0 -58
- package/lib/chunk-J4CIIZ7K.js.map +0 -1
- package/lib/chunk-J5RQQEG7.js +0 -89
- package/lib/chunk-J5RQQEG7.js.map +0 -1
- package/lib/chunk-JDZMUJEG.js +0 -100
- package/lib/chunk-JDZMUJEG.js.map +0 -1
- package/lib/chunk-JGRWFQIK.cjs +0 -52
- package/lib/chunk-JGRWFQIK.cjs.map +0 -1
- package/lib/chunk-JHQLDVWP.cjs +0 -67
- package/lib/chunk-JHQLDVWP.cjs.map +0 -1
- package/lib/chunk-JIDUW5OL.js +0 -82
- package/lib/chunk-JIDUW5OL.js.map +0 -1
- package/lib/chunk-JR3KXI2J.cjs +0 -117
- package/lib/chunk-JR3KXI2J.cjs.map +0 -1
- package/lib/chunk-JROMCT3R.cjs +0 -88
- package/lib/chunk-JROMCT3R.cjs.map +0 -1
- package/lib/chunk-JTCQISTA.cjs +0 -91
- package/lib/chunk-JTCQISTA.cjs.map +0 -1
- package/lib/chunk-K6R2EBBD.cjs +0 -70
- package/lib/chunk-K6R2EBBD.cjs.map +0 -1
- package/lib/chunk-KAAL3X72.cjs +0 -84
- package/lib/chunk-KAAL3X72.cjs.map +0 -1
- package/lib/chunk-KAFJIMKH.js +0 -88
- package/lib/chunk-KAFJIMKH.js.map +0 -1
- package/lib/chunk-KD6CL5CK.cjs +0 -81
- package/lib/chunk-KD6CL5CK.cjs.map +0 -1
- package/lib/chunk-KGDYXOHY.js +0 -51
- package/lib/chunk-KGDYXOHY.js.map +0 -1
- package/lib/chunk-KITEAEYA.js +0 -96
- package/lib/chunk-KITEAEYA.js.map +0 -1
- package/lib/chunk-KLQVXFFS.cjs +0 -179
- package/lib/chunk-KLQVXFFS.cjs.map +0 -1
- package/lib/chunk-KNYGM6CD.cjs +0 -79
- package/lib/chunk-KNYGM6CD.cjs.map +0 -1
- package/lib/chunk-L2CAYREK.js +0 -68
- package/lib/chunk-L2CAYREK.js.map +0 -1
- package/lib/chunk-L3Q2TFM3.js +0 -191
- package/lib/chunk-L3Q2TFM3.js.map +0 -1
- package/lib/chunk-L6UNI64M.cjs +0 -91
- package/lib/chunk-L6UNI64M.cjs.map +0 -1
- package/lib/chunk-LCAZRGON.js +0 -116
- package/lib/chunk-LCAZRGON.js.map +0 -1
- package/lib/chunk-LDE7CC7L.js +0 -196
- package/lib/chunk-LDE7CC7L.js.map +0 -1
- package/lib/chunk-LFCHI43P.cjs +0 -46
- package/lib/chunk-LFCHI43P.cjs.map +0 -1
- package/lib/chunk-LIBKAWDY.cjs +0 -712
- package/lib/chunk-LIBKAWDY.cjs.map +0 -1
- package/lib/chunk-LKDWO346.js +0 -68
- package/lib/chunk-LKDWO346.js.map +0 -1
- package/lib/chunk-LLYSQ5JX.js +0 -60
- package/lib/chunk-LLYSQ5JX.js.map +0 -1
- package/lib/chunk-LP4HCCSP.js +0 -132
- package/lib/chunk-LP4HCCSP.js.map +0 -1
- package/lib/chunk-LVZUJ6IN.js +0 -120
- package/lib/chunk-LVZUJ6IN.js.map +0 -1
- package/lib/chunk-M2TFEBGP.cjs +0 -75
- package/lib/chunk-M2TFEBGP.cjs.map +0 -1
- package/lib/chunk-MITMRRX2.cjs +0 -19
- package/lib/chunk-MITMRRX2.cjs.map +0 -1
- package/lib/chunk-MMF27PU7.js +0 -612
- package/lib/chunk-MMF27PU7.js.map +0 -1
- package/lib/chunk-MRVEUGPI.cjs +0 -52
- package/lib/chunk-MRVEUGPI.cjs.map +0 -1
- package/lib/chunk-MUBD6YPJ.cjs +0 -70
- package/lib/chunk-MUBD6YPJ.cjs.map +0 -1
- package/lib/chunk-N5FS2DVM.js +0 -75
- package/lib/chunk-N5FS2DVM.js.map +0 -1
- package/lib/chunk-N6HG6W3R.js +0 -92
- package/lib/chunk-N6HG6W3R.js.map +0 -1
- package/lib/chunk-NBXYK3NQ.js +0 -164
- package/lib/chunk-NBXYK3NQ.js.map +0 -1
- package/lib/chunk-NDP7Z7DS.cjs +0 -205
- package/lib/chunk-NDP7Z7DS.cjs.map +0 -1
- package/lib/chunk-NGNKJ6WL.js +0 -96
- package/lib/chunk-NGNKJ6WL.js.map +0 -1
- package/lib/chunk-NIRFJABJ.js +0 -51
- package/lib/chunk-NIRFJABJ.js.map +0 -1
- package/lib/chunk-NJ6UVTYG.cjs +0 -61
- package/lib/chunk-NJ6UVTYG.cjs.map +0 -1
- package/lib/chunk-NMXOO64W.cjs +0 -182
- package/lib/chunk-NMXOO64W.cjs.map +0 -1
- package/lib/chunk-NOYJYNWI.cjs +0 -38
- package/lib/chunk-NOYJYNWI.cjs.map +0 -1
- package/lib/chunk-NT2DAUSV.cjs +0 -243
- package/lib/chunk-NT2DAUSV.cjs.map +0 -1
- package/lib/chunk-NVAGPUU6.cjs +0 -115
- package/lib/chunk-NVAGPUU6.cjs.map +0 -1
- package/lib/chunk-NX2T5UXY.js +0 -120
- package/lib/chunk-NX2T5UXY.js.map +0 -1
- package/lib/chunk-NYP4VNBV.cjs +0 -91
- package/lib/chunk-NYP4VNBV.cjs.map +0 -1
- package/lib/chunk-NZMCLORF.cjs +0 -70
- package/lib/chunk-NZMCLORF.cjs.map +0 -1
- package/lib/chunk-O26QPADM.js +0 -77
- package/lib/chunk-O26QPADM.js.map +0 -1
- package/lib/chunk-O2OH2BOI.js +0 -82
- package/lib/chunk-O2OH2BOI.js.map +0 -1
- package/lib/chunk-O6DODGY7.js +0 -241
- package/lib/chunk-O6DODGY7.js.map +0 -1
- package/lib/chunk-OCMOWAHV.cjs +0 -80
- package/lib/chunk-OCMOWAHV.cjs.map +0 -1
- package/lib/chunk-OF2GTDJ3.js +0 -50
- package/lib/chunk-OF2GTDJ3.js.map +0 -1
- package/lib/chunk-OGY4DULR.cjs +0 -193
- package/lib/chunk-OGY4DULR.cjs.map +0 -1
- package/lib/chunk-OM2AZYLG.cjs +0 -91
- package/lib/chunk-OM2AZYLG.cjs.map +0 -1
- package/lib/chunk-OONH6WXN.cjs +0 -79
- package/lib/chunk-OONH6WXN.cjs.map +0 -1
- package/lib/chunk-OULDY4YE.cjs +0 -44
- package/lib/chunk-OULDY4YE.cjs.map +0 -1
- package/lib/chunk-OWPG3FNI.cjs +0 -53
- package/lib/chunk-OWPG3FNI.cjs.map +0 -1
- package/lib/chunk-OZIR3YWA.js +0 -86
- package/lib/chunk-OZIR3YWA.js.map +0 -1
- package/lib/chunk-P2JPRBHZ.js +0 -51
- package/lib/chunk-P2JPRBHZ.js.map +0 -1
- package/lib/chunk-P3H7TCQO.cjs +0 -70
- package/lib/chunk-P3H7TCQO.cjs.map +0 -1
- package/lib/chunk-P4IHC45V.js +0 -68
- package/lib/chunk-P4IHC45V.js.map +0 -1
- package/lib/chunk-P7ROLPCU.js +0 -77
- package/lib/chunk-P7ROLPCU.js.map +0 -1
- package/lib/chunk-PCGH6UJQ.js +0 -50
- package/lib/chunk-PCGH6UJQ.js.map +0 -1
- package/lib/chunk-PKE3BBFP.js +0 -68
- package/lib/chunk-PKE3BBFP.js.map +0 -1
- package/lib/chunk-PMERNCSJ.js +0 -203
- package/lib/chunk-PMERNCSJ.js.map +0 -1
- package/lib/chunk-PNTX6XU2.cjs +0 -323
- package/lib/chunk-PNTX6XU2.cjs.map +0 -1
- package/lib/chunk-PQ75J3RB.js +0 -58
- package/lib/chunk-PQ75J3RB.js.map +0 -1
- package/lib/chunk-PSBMKEZE.js +0 -89
- package/lib/chunk-PSBMKEZE.js.map +0 -1
- package/lib/chunk-PWWE7OPX.js +0 -51
- package/lib/chunk-PWWE7OPX.js.map +0 -1
- package/lib/chunk-PZST5ZSQ.cjs +0 -79
- package/lib/chunk-PZST5ZSQ.cjs.map +0 -1
- package/lib/chunk-Q6NZ4ERM.js +0 -808
- package/lib/chunk-Q6NZ4ERM.js.map +0 -1
- package/lib/chunk-Q7HH3WAF.js +0 -89
- package/lib/chunk-Q7HH3WAF.js.map +0 -1
- package/lib/chunk-QC7VOWFK.cjs +0 -70
- package/lib/chunk-QC7VOWFK.cjs.map +0 -1
- package/lib/chunk-QDAZS5P4.js +0 -77
- package/lib/chunk-QDAZS5P4.js.map +0 -1
- package/lib/chunk-QF6NWTGQ.cjs +0 -79
- package/lib/chunk-QF6NWTGQ.cjs.map +0 -1
- package/lib/chunk-QULKMJNT.cjs +0 -16
- package/lib/chunk-QULKMJNT.cjs.map +0 -1
- package/lib/chunk-QUW37EJH.js +0 -36
- package/lib/chunk-QUW37EJH.js.map +0 -1
- package/lib/chunk-QVZAZNT7.js +0 -96
- package/lib/chunk-QVZAZNT7.js.map +0 -1
- package/lib/chunk-R2ZRTQ47.cjs +0 -88
- package/lib/chunk-R2ZRTQ47.cjs.map +0 -1
- package/lib/chunk-R6FQFTXL.cjs +0 -70
- package/lib/chunk-R6FQFTXL.cjs.map +0 -1
- package/lib/chunk-RHP23EX4.cjs +0 -62
- package/lib/chunk-RHP23EX4.cjs.map +0 -1
- package/lib/chunk-RIEJBKV5.cjs +0 -82
- package/lib/chunk-RIEJBKV5.cjs.map +0 -1
- package/lib/chunk-RRKI2DT7.cjs +0 -62
- package/lib/chunk-RRKI2DT7.cjs.map +0 -1
- package/lib/chunk-RSQTDLUZ.js +0 -27
- package/lib/chunk-RSQTDLUZ.js.map +0 -1
- package/lib/chunk-RT734KX6.cjs +0 -179
- package/lib/chunk-RT734KX6.cjs.map +0 -1
- package/lib/chunk-RZB3YT7E.js +0 -86
- package/lib/chunk-RZB3YT7E.js.map +0 -1
- package/lib/chunk-RZZZDMV4.js +0 -77
- package/lib/chunk-RZZZDMV4.js.map +0 -1
- package/lib/chunk-S3NUL3KA.js +0 -68
- package/lib/chunk-S3NUL3KA.js.map +0 -1
- package/lib/chunk-S43GW2P2.js +0 -75
- package/lib/chunk-S43GW2P2.js.map +0 -1
- package/lib/chunk-SC6RW7TX.cjs +0 -193
- package/lib/chunk-SC6RW7TX.cjs.map +0 -1
- package/lib/chunk-SFLFBJYM.js +0 -177
- package/lib/chunk-SFLFBJYM.js.map +0 -1
- package/lib/chunk-SGCLUVCE.js +0 -24
- package/lib/chunk-SGCLUVCE.js.map +0 -1
- package/lib/chunk-SHQ5WPWB.cjs +0 -62
- package/lib/chunk-SHQ5WPWB.cjs.map +0 -1
- package/lib/chunk-SJTDKSSV.cjs +0 -179
- package/lib/chunk-SJTDKSSV.cjs.map +0 -1
- package/lib/chunk-SNVAKY6A.js +0 -79
- package/lib/chunk-SNVAKY6A.js.map +0 -1
- package/lib/chunk-SVNPIPNB.cjs +0 -96
- package/lib/chunk-SVNPIPNB.cjs.map +0 -1
- package/lib/chunk-SWAKRVXF.js +0 -84
- package/lib/chunk-SWAKRVXF.js.map +0 -1
- package/lib/chunk-SXDLEQXQ.cjs +0 -94
- package/lib/chunk-SXDLEQXQ.cjs.map +0 -1
- package/lib/chunk-T2O6ZEDI.js +0 -78
- package/lib/chunk-T2O6ZEDI.js.map +0 -1
- package/lib/chunk-T7KEDNBP.js +0 -96
- package/lib/chunk-T7KEDNBP.js.map +0 -1
- package/lib/chunk-TBKNPEXT.cjs +0 -70
- package/lib/chunk-TBKNPEXT.cjs.map +0 -1
- package/lib/chunk-TBTPGODY.cjs +0 -86
- package/lib/chunk-TBTPGODY.cjs.map +0 -1
- package/lib/chunk-TGUDVMKA.js +0 -124
- package/lib/chunk-TGUDVMKA.js.map +0 -1
- package/lib/chunk-TJMXOSWV.cjs +0 -89
- package/lib/chunk-TJMXOSWV.cjs.map +0 -1
- package/lib/chunk-TXO5TNAN.cjs +0 -70
- package/lib/chunk-TXO5TNAN.cjs.map +0 -1
- package/lib/chunk-U5HAYP73.js +0 -87
- package/lib/chunk-U5HAYP73.js.map +0 -1
- package/lib/chunk-UAHOAAF5.cjs +0 -102
- package/lib/chunk-UAHOAAF5.cjs.map +0 -1
- package/lib/chunk-UC4EBIEP.cjs +0 -40
- package/lib/chunk-UC4EBIEP.cjs.map +0 -1
- package/lib/chunk-UFB5C7RB.js +0 -79
- package/lib/chunk-UFB5C7RB.js.map +0 -1
- package/lib/chunk-UKPP3NJH.js +0 -67
- package/lib/chunk-UKPP3NJH.js.map +0 -1
- package/lib/chunk-USDSZN37.cjs +0 -120
- package/lib/chunk-USDSZN37.cjs.map +0 -1
- package/lib/chunk-USF6ZXAU.js +0 -33
- package/lib/chunk-USF6ZXAU.js.map +0 -1
- package/lib/chunk-UTEWVMUY.js +0 -78
- package/lib/chunk-UTEWVMUY.js.map +0 -1
- package/lib/chunk-UTIVMNMW.js +0 -73
- package/lib/chunk-UTIVMNMW.js.map +0 -1
- package/lib/chunk-VBISYOF4.cjs +0 -77
- package/lib/chunk-VBISYOF4.cjs.map +0 -1
- package/lib/chunk-VEG7LLQB.js +0 -59
- package/lib/chunk-VEG7LLQB.js.map +0 -1
- package/lib/chunk-VNZTHEHI.cjs +0 -52
- package/lib/chunk-VNZTHEHI.cjs.map +0 -1
- package/lib/chunk-VSBNV5XE.js +0 -77
- package/lib/chunk-VSBNV5XE.js.map +0 -1
- package/lib/chunk-VSIPPK7O.cjs +0 -81
- package/lib/chunk-VSIPPK7O.cjs.map +0 -1
- package/lib/chunk-VUET2RHO.js +0 -177
- package/lib/chunk-VUET2RHO.js.map +0 -1
- package/lib/chunk-VUVWOQW3.cjs +0 -170
- package/lib/chunk-VUVWOQW3.cjs.map +0 -1
- package/lib/chunk-VWWMNMVU.js +0 -60
- package/lib/chunk-VWWMNMVU.js.map +0 -1
- package/lib/chunk-VWZTYMTS.js +0 -709
- package/lib/chunk-VWZTYMTS.js.map +0 -1
- package/lib/chunk-W4PGH4JH.js +0 -113
- package/lib/chunk-W4PGH4JH.js.map +0 -1
- package/lib/chunk-W7WL44ZO.cjs +0 -84
- package/lib/chunk-W7WL44ZO.cjs.map +0 -1
- package/lib/chunk-WDPGYKKY.cjs +0 -126
- package/lib/chunk-WDPGYKKY.cjs.map +0 -1
- package/lib/chunk-WNKENBNE.cjs +0 -53
- package/lib/chunk-WNKENBNE.cjs.map +0 -1
- package/lib/chunk-WNM4AOJM.cjs +0 -98
- package/lib/chunk-WNM4AOJM.cjs.map +0 -1
- package/lib/chunk-WXVWQXDZ.js +0 -129
- package/lib/chunk-WXVWQXDZ.js.map +0 -1
- package/lib/chunk-X3KKVQ4B.js +0 -89
- package/lib/chunk-X3KKVQ4B.js.map +0 -1
- package/lib/chunk-XARE43DB.js +0 -191
- package/lib/chunk-XARE43DB.js.map +0 -1
- package/lib/chunk-XIAEDILF.cjs +0 -70
- package/lib/chunk-XIAEDILF.cjs.map +0 -1
- package/lib/chunk-XMDSMUH4.js +0 -65
- package/lib/chunk-XMDSMUH4.js.map +0 -1
- package/lib/chunk-XOMDOKUR.js +0 -77
- package/lib/chunk-XOMDOKUR.js.map +0 -1
- package/lib/chunk-XU2TLA7E.js +0 -59
- package/lib/chunk-XU2TLA7E.js.map +0 -1
- package/lib/chunk-XVJ74AKI.js +0 -321
- package/lib/chunk-XVJ74AKI.js.map +0 -1
- package/lib/chunk-Y5LFT7RG.js +0 -77
- package/lib/chunk-Y5LFT7RG.js.map +0 -1
- package/lib/chunk-YAEFTHO3.cjs +0 -93
- package/lib/chunk-YAEFTHO3.cjs.map +0 -1
- package/lib/chunk-YENWKHWP.cjs +0 -26
- package/lib/chunk-YENWKHWP.cjs.map +0 -1
- package/lib/chunk-YG7QYI34.cjs +0 -134
- package/lib/chunk-YG7QYI34.cjs.map +0 -1
- package/lib/chunk-YJIBX2CK.cjs +0 -81
- package/lib/chunk-YJIBX2CK.cjs.map +0 -1
- package/lib/chunk-YOACNJYE.cjs +0 -79
- package/lib/chunk-YOACNJYE.cjs.map +0 -1
- package/lib/chunk-YSSUMXAB.cjs +0 -62
- package/lib/chunk-YSSUMXAB.cjs.map +0 -1
- package/lib/chunk-YWJTC2WA.cjs +0 -69
- package/lib/chunk-YWJTC2WA.cjs.map +0 -1
- package/lib/chunk-Z2E5OBDM.js +0 -68
- package/lib/chunk-Z2E5OBDM.js.map +0 -1
- package/lib/chunk-ZAFGXVIP.js +0 -61
- package/lib/chunk-ZAFGXVIP.js.map +0 -1
- package/lib/chunk-ZBGZB2ON.cjs +0 -62
- package/lib/chunk-ZBGZB2ON.cjs.map +0 -1
- package/lib/chunk-ZC5CIFZU.js +0 -77
- package/lib/chunk-ZC5CIFZU.js.map +0 -1
- package/lib/chunk-ZEHBZXJ5.cjs +0 -84
- package/lib/chunk-ZEHBZXJ5.cjs.map +0 -1
- package/lib/chunk-ZI6LGD3R.js +0 -38
- package/lib/chunk-ZI6LGD3R.js.map +0 -1
- package/lib/chunk-ZLQH6Q4K.cjs +0 -125
- package/lib/chunk-ZLQH6Q4K.cjs.map +0 -1
- package/lib/chunk-ZPQ775KO.js +0 -68
- package/lib/chunk-ZPQ775KO.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/customer_addresses.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-LH3COSZD.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 { Address, AddressType } from './addresses'\nimport type { Customer, CustomerType } from './customers'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\ntype CustomerAddressType = 'customer_addresses'\ntype CustomerAddressRel = ResourceRel & { type: CustomerAddressType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype AddressRel = ResourceRel & { type: AddressType }\n\nexport type CustomerAddressSort = Pick<CustomerAddress, 'id'> & ResourceSort\n// export type CustomerAddressFilter = Pick<CustomerAddress, 'id'> & ResourceFilter\n\n/**\n * The Customer address object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customer_addresses endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/customer_addresses/object\n */\ninterface CustomerAddress extends Resource {\n readonly type: CustomerAddressType\n\n /**\n * Returns the associated address' name.\n * @example ```\"John Smith, 2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212) 646-338-1228\"```\n */\n name?: string | null\n /**\n * The email of the customer associated to the address.\n * @example ```\"john@example.com\"```\n */\n customer_email: string\n\n customer?: Customer | null\n address?: Address | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerAddressCreate extends ResourceCreate {\n /**\n * The email of the customer associated to the address.\n * @example ```\"john@example.com\"```\n */\n customer_email: string\n\n customer: CustomerRel\n address: AddressRel\n}\n\ninterface CustomerAddressUpdate extends ResourceUpdate {\n customer?: CustomerRel | null\n address?: AddressRel | null\n}\n\nclass CustomerAddresses extends ApiResource<CustomerAddress> {\n static readonly TYPE: CustomerAddressType = 'customer_addresses' as const\n\n async create(\n resource: CustomerAddressCreate,\n params?: QueryParamsRetrieve<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<CustomerAddress> {\n return this.resources.create<CustomerAddressCreate, CustomerAddress>(\n { ...resource, type: CustomerAddresses.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomerAddressUpdate,\n params?: QueryParamsRetrieve<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<CustomerAddress> {\n return this.resources.update<CustomerAddressUpdate, CustomerAddress>(\n { ...resource, type: CustomerAddresses.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: CustomerAddresses.TYPE } : id, options)\n }\n\n async customer(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customer_addresses/${_customerAddressId}/customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async address(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Address>(\n { type: 'addresses' },\n `customer_addresses/${_customerAddressId}/address`,\n params,\n options,\n ) as unknown as Address\n }\n\n async events(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `customer_addresses/${_customerAddressId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customer_addresses/${_customerAddressId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomerAddress(resource: any): resource is CustomerAddress {\n return resource.type && resource.type === CustomerAddresses.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerAddressRel {\n return super.relationshipOneToOne<CustomerAddressRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerAddressRel[] {\n return super.relationshipOneToMany<CustomerAddressRel>(...ids)\n }\n\n type(): CustomerAddressType {\n return CustomerAddresses.TYPE\n }\n}\n\nconst instance = new CustomerAddresses()\nexport default instance\n\nexport type { CustomerAddress, CustomerAddressCreate, CustomerAddresses, CustomerAddressType, CustomerAddressUpdate }\n"]}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkZUYCVSFZ_cjs = require('./chunk-ZUYCVSFZ.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/addresses.ts
|
|
6
|
+
var Addresses = class _Addresses extends chunkZUYCVSFZ_cjs.ApiResource {
|
|
7
|
+
static TYPE = "addresses";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create({ ...resource, type: _Addresses.TYPE }, params, options);
|
|
10
|
+
}
|
|
11
|
+
async update(resource, params, options) {
|
|
12
|
+
return this.resources.update({ ...resource, type: _Addresses.TYPE }, params, options);
|
|
13
|
+
}
|
|
14
|
+
async delete(id, options) {
|
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _Addresses.TYPE } : id, options);
|
|
16
|
+
}
|
|
17
|
+
async geocoder(addressId, params, options) {
|
|
18
|
+
const _addressId = addressId.id || addressId;
|
|
19
|
+
return this.resources.fetch(
|
|
20
|
+
{ type: "geocoders" },
|
|
21
|
+
`addresses/${_addressId}/geocoder`,
|
|
22
|
+
params,
|
|
23
|
+
options
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
async events(addressId, params, options) {
|
|
27
|
+
const _addressId = addressId.id || addressId;
|
|
28
|
+
return this.resources.fetch(
|
|
29
|
+
{ type: "events" },
|
|
30
|
+
`addresses/${_addressId}/events`,
|
|
31
|
+
params,
|
|
32
|
+
options
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
async tags(addressId, params, options) {
|
|
36
|
+
const _addressId = addressId.id || addressId;
|
|
37
|
+
return this.resources.fetch(
|
|
38
|
+
{ type: "tags" },
|
|
39
|
+
`addresses/${_addressId}/tags`,
|
|
40
|
+
params,
|
|
41
|
+
options
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
async event_stores(addressId, params, options) {
|
|
45
|
+
const _addressId = addressId.id || addressId;
|
|
46
|
+
return this.resources.fetch(
|
|
47
|
+
{ type: "event_stores" },
|
|
48
|
+
`addresses/${_addressId}/event_stores`,
|
|
49
|
+
params,
|
|
50
|
+
options
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
async _add_tags(id, triggerValue, params, options) {
|
|
54
|
+
return this.resources.update(
|
|
55
|
+
{ id: typeof id === "string" ? id : id.id, type: _Addresses.TYPE, _add_tags: triggerValue },
|
|
56
|
+
params,
|
|
57
|
+
options
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
async _remove_tags(id, triggerValue, params, options) {
|
|
61
|
+
return this.resources.update(
|
|
62
|
+
{ id: typeof id === "string" ? id : id.id, type: _Addresses.TYPE, _remove_tags: triggerValue },
|
|
63
|
+
params,
|
|
64
|
+
options
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
isAddress(resource) {
|
|
68
|
+
return resource.type && resource.type === _Addresses.TYPE;
|
|
69
|
+
}
|
|
70
|
+
relationship(id) {
|
|
71
|
+
return super.relationshipOneToOne(id);
|
|
72
|
+
}
|
|
73
|
+
relationshipToMany(...ids) {
|
|
74
|
+
return super.relationshipOneToMany(...ids);
|
|
75
|
+
}
|
|
76
|
+
type() {
|
|
77
|
+
return _Addresses.TYPE;
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
var instance = new Addresses();
|
|
81
|
+
var addresses_default = instance;
|
|
82
|
+
|
|
83
|
+
exports.addresses_default = addresses_default;
|
|
84
|
+
//# sourceMappingURL=chunk-LHG2DMYX.cjs.map
|
|
85
|
+
//# sourceMappingURL=chunk-LHG2DMYX.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/addresses.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-LHG2DMYX.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 { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Geocoder, GeocoderType } from './geocoders'\nimport type { Tag, TagType } from './tags'\n\ntype AddressType = 'addresses'\ntype AddressRel = ResourceRel & { type: AddressType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type AddressSort = Pick<Address, 'id' | 'city' | 'state_code' | 'country_code'> & ResourceSort\n// export type AddressFilter = Pick<Address, 'id' | 'business' | 'first_name' | 'last_name' | 'company' | 'line_1' | 'line_2' | 'city' | 'zip_code' | 'state_code' | 'country_code' | 'phone' | 'email' | 'notes' | 'lat' | 'lng' | 'billing_info'> & ResourceFilter\n\n/**\n * The Address object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/addresses endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/addresses/object\n */\ninterface Address extends Resource {\n readonly type: AddressType\n\n /**\n * Indicates if it's a business or a personal address.\n */\n business?: boolean | null\n /**\n * Address first name (personal).\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * Address last name (personal).\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n /**\n * Address company name (business).\n * @example ```\"The Red Brand Inc.\"```\n */\n company?: string | null\n /**\n * Company name (business) of first name and last name (personal).\n * @example ```\"John Smith\"```\n */\n full_name?: string | null\n /**\n * Address line 1, i.e. Street address, PO Box.\n * @example ```\"2883 Geraldine Lane\"```\n */\n line_1: string\n /**\n * Address line 2, i.e. Apartment, Suite, Building.\n * @example ```\"Apt.23\"```\n */\n line_2?: string | null\n /**\n * Address city.\n * @example ```\"New York\"```\n */\n city: string\n /**\n * ZIP or postal code.\n * @example ```\"10013\"```\n */\n zip_code?: string | null\n /**\n * State, province or region code.\n * @example ```\"NY\"```\n */\n state_code?: string | null\n /**\n * The international 2-letter country code as defined by the ISO 3166-1 standard.\n * @example ```\"US\"```\n */\n country_code: string\n /**\n * Phone number (including extension).\n * @example ```\"(212) 646-338-1228\"```\n */\n phone: string\n /**\n * Compact description of the address location, without the full name.\n * @example ```\"2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212) 646-338-1228\"```\n */\n full_address?: string | null\n /**\n * Compact description of the address location, including the full name.\n * @example ```\"John Smith, 2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212) 646-338-1228\"```\n */\n name?: string | null\n /**\n * Email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * A free notes attached to the address. When used as a shipping address, this can be useful to let the customers add specific delivery instructions.\n * @example ```\"Please ring the bell twice\"```\n */\n notes?: string | null\n /**\n * The address geocoded latitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```40.6971494```\n */\n lat?: number | null\n /**\n * The address geocoded longitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```-74.2598672```\n */\n lng?: number | null\n /**\n * Indicates if the latitude and logitude are present, either geocoded or manually updated.\n * @example ```true```\n */\n is_localized?: boolean | null\n /**\n * Indicates if the address has been successfully geocoded.\n * @example ```true```\n */\n is_geocoded?: boolean | null\n /**\n * The geocoder provider name (either Google or Bing).\n * @example ```\"google\"```\n */\n provider_name?: string | null\n /**\n * The map url of the geocoded address (if geocoded).\n * @example ```\"https://www.google.com/maps/search/?api=1&query=40.6971494,-74.2598672\"```\n */\n map_url?: string | null\n /**\n * The static map image url of the geocoded address (if geocoded).\n * @example ```\"https://maps.googleapis.com/maps/api/staticmap?center=40.6971494,-74.2598672&size=640x320&zoom=15\"```\n */\n static_map_url?: string | null\n /**\n * Customer's billing information (i.e. VAT number, codice fiscale).\n * @example ```\"VAT ID IT02382940977\"```\n */\n billing_info?: string | null\n\n geocoder?: Geocoder | null\n events?: Event[] | null\n tags?: Tag[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface AddressCreate extends ResourceCreate {\n /**\n * Indicates if it's a business or a personal address.\n */\n business?: boolean | null\n /**\n * Address first name (personal).\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * Address last name (personal).\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n /**\n * Address company name (business).\n * @example ```\"The Red Brand Inc.\"```\n */\n company?: string | null\n /**\n * Address line 1, i.e. Street address, PO Box.\n * @example ```\"2883 Geraldine Lane\"```\n */\n line_1: string\n /**\n * Address line 2, i.e. Apartment, Suite, Building.\n * @example ```\"Apt.23\"```\n */\n line_2?: string | null\n /**\n * Address city.\n * @example ```\"New York\"```\n */\n city: string\n /**\n * ZIP or postal code.\n * @example ```\"10013\"```\n */\n zip_code?: string | null\n /**\n * State, province or region code.\n * @example ```\"NY\"```\n */\n state_code?: string | null\n /**\n * The international 2-letter country code as defined by the ISO 3166-1 standard.\n * @example ```\"US\"```\n */\n country_code: string\n /**\n * Phone number (including extension).\n * @example ```\"(212) 646-338-1228\"```\n */\n phone: string\n /**\n * Email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * A free notes attached to the address. When used as a shipping address, this can be useful to let the customers add specific delivery instructions.\n * @example ```\"Please ring the bell twice\"```\n */\n notes?: string | null\n /**\n * The address geocoded latitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```40.6971494```\n */\n lat?: number | null\n /**\n * The address geocoded longitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```-74.2598672```\n */\n lng?: number | null\n /**\n * Customer's billing information (i.e. VAT number, codice fiscale).\n * @example ```\"VAT ID IT02382940977\"```\n */\n billing_info?: string | null\n\n geocoder?: GeocoderRel | null\n tags?: TagRel[] | null\n}\n\ninterface AddressUpdate extends ResourceUpdate {\n /**\n * Indicates if it's a business or a personal address.\n */\n business?: boolean | null\n /**\n * Address first name (personal).\n * @example ```\"John\"```\n */\n first_name?: string | null\n /**\n * Address last name (personal).\n * @example ```\"Smith\"```\n */\n last_name?: string | null\n /**\n * Address company name (business).\n * @example ```\"The Red Brand Inc.\"```\n */\n company?: string | null\n /**\n * Address line 1, i.e. Street address, PO Box.\n * @example ```\"2883 Geraldine Lane\"```\n */\n line_1?: string | null\n /**\n * Address line 2, i.e. Apartment, Suite, Building.\n * @example ```\"Apt.23\"```\n */\n line_2?: string | null\n /**\n * Address city.\n * @example ```\"New York\"```\n */\n city?: string | null\n /**\n * ZIP or postal code.\n * @example ```\"10013\"```\n */\n zip_code?: string | null\n /**\n * State, province or region code.\n * @example ```\"NY\"```\n */\n state_code?: string | null\n /**\n * The international 2-letter country code as defined by the ISO 3166-1 standard.\n * @example ```\"US\"```\n */\n country_code?: string | null\n /**\n * Phone number (including extension).\n * @example ```\"(212) 646-338-1228\"```\n */\n phone?: string | null\n /**\n * Email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * A free notes attached to the address. When used as a shipping address, this can be useful to let the customers add specific delivery instructions.\n * @example ```\"Please ring the bell twice\"```\n */\n notes?: string | null\n /**\n * The address geocoded latitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```40.6971494```\n */\n lat?: number | null\n /**\n * The address geocoded longitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n * @example ```-74.2598672```\n */\n lng?: number | null\n /**\n * Customer's billing information (i.e. VAT number, codice fiscale).\n * @example ```\"VAT ID IT02382940977\"```\n */\n billing_info?: 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 geocoder?: GeocoderRel | null\n tags?: TagRel[] | null\n}\n\nclass Addresses extends ApiResource<Address> {\n static readonly TYPE: AddressType = 'addresses' as const\n\n async create(\n resource: AddressCreate,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n return this.resources.create<AddressCreate, Address>({ ...resource, type: Addresses.TYPE }, params, options)\n }\n\n async update(\n resource: AddressUpdate,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n return this.resources.update<AddressUpdate, Address>({ ...resource, type: Addresses.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: Addresses.TYPE } : id, options)\n }\n\n async geocoder(\n addressId: string | Address,\n params?: QueryParamsRetrieve<Geocoder>,\n options?: ResourcesConfig,\n ): Promise<Geocoder> {\n const _addressId = (addressId as Address).id || (addressId as string)\n return this.resources.fetch<Geocoder>(\n { type: 'geocoders' },\n `addresses/${_addressId}/geocoder`,\n params,\n options,\n ) as unknown as Geocoder\n }\n\n async events(\n addressId: string | Address,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _addressId = (addressId as Address).id || (addressId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `addresses/${_addressId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n addressId: string | Address,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _addressId = (addressId as Address).id || (addressId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `addresses/${_addressId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async event_stores(\n addressId: string | Address,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _addressId = (addressId as Address).id || (addressId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `addresses/${_addressId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _add_tags(\n id: string | Address,\n triggerValue: string,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n return this.resources.update<AddressUpdate, Address>(\n { id: typeof id === 'string' ? id : id.id, type: Addresses.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | Address,\n triggerValue: string,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n return this.resources.update<AddressUpdate, Address>(\n { id: typeof id === 'string' ? id : id.id, type: Addresses.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n isAddress(resource: any): resource is Address {\n return resource.type && resource.type === Addresses.TYPE\n }\n\n relationship(id: string | ResourceId | null): AddressRel {\n return super.relationshipOneToOne<AddressRel>(id)\n }\n\n relationshipToMany(...ids: string[]): AddressRel[] {\n return super.relationshipOneToMany<AddressRel>(...ids)\n }\n\n type(): AddressType {\n return Addresses.TYPE\n }\n}\n\nconst instance = new Addresses()\nexport default instance\n\nexport type { Address, AddressCreate, Addresses, AddressType, AddressUpdate }\n"]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-MGSPPFHY.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/custom_promotion_rules.ts
|
|
4
|
+
var CustomPromotionRules = class _CustomPromotionRules extends ApiResource {
|
|
5
|
+
static TYPE = "custom_promotion_rules";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _CustomPromotionRules.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _CustomPromotionRules.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomPromotionRules.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async event_stores(customPromotionRuleId, params, options) {
|
|
24
|
+
const _customPromotionRuleId = customPromotionRuleId.id || customPromotionRuleId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "event_stores" },
|
|
27
|
+
`custom_promotion_rules/${_customPromotionRuleId}/event_stores`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
isCustomPromotionRule(resource) {
|
|
33
|
+
return resource.type && resource.type === _CustomPromotionRules.TYPE;
|
|
34
|
+
}
|
|
35
|
+
relationship(id) {
|
|
36
|
+
return super.relationshipOneToOne(id);
|
|
37
|
+
}
|
|
38
|
+
relationshipToMany(...ids) {
|
|
39
|
+
return super.relationshipOneToMany(...ids);
|
|
40
|
+
}
|
|
41
|
+
type() {
|
|
42
|
+
return _CustomPromotionRules.TYPE;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
var instance = new CustomPromotionRules();
|
|
46
|
+
var custom_promotion_rules_default = instance;
|
|
47
|
+
|
|
48
|
+
export { custom_promotion_rules_default };
|
|
49
|
+
//# sourceMappingURL=chunk-LI3PRJXB.js.map
|
|
50
|
+
//# sourceMappingURL=chunk-LI3PRJXB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/custom_promotion_rules.ts"],"names":[],"mappings":";;;AAoGA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6B,WAAA,CAAiC;AAAA,EAClE,OAAgB,IAAA,GAAgC,wBAAA;AAAA,EAEhD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC8B;AAC9B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,sBAAqB,IAAA,EAAK;AAAA,MAC/C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC8B;AAC9B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,sBAAqB,IAAA,EAAK;AAAA,MAC/C,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,qBAAA,CAAqB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC5G;AAAA,EAEA,MAAM,YAAA,CACJ,qBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,sBAAA,GACH,sBAA8C,EAAA,IAAO,qBAAA;AACxD,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,0BAA0B,sBAAsB,CAAA,aAAA,CAAA;AAAA,MAChD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,sBAAsB,QAAA,EAAgD;AACpE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,qBAAA,CAAqB,IAAA;AAAA,EACjE;AAAA,EAEA,aAAa,EAAA,EAAwD;AACnE,IAAA,OAAO,KAAA,CAAM,qBAA6C,EAAE,CAAA;AAAA,EAC9D;AAAA,EAEA,sBAAsB,GAAA,EAAyC;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8C,GAAG,GAAG,CAAA;AAAA,EACnE;AAAA,EAEA,IAAA,GAAgC;AAC9B,IAAA,OAAO,qBAAA,CAAqB,IAAA;AAAA,EAC9B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,oBAAA,EAAqB;AAC1C,IAAO,8BAAA,GAAQ","file":"chunk-LI3PRJXB.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 { 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 CustomPromotionRuleType = 'custom_promotion_rules'\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\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 }\n\nexport type CustomPromotionRuleSort = Pick<CustomPromotionRule, 'id'> & ResourceSort\n// export type CustomPromotionRuleFilter = Pick<CustomPromotionRule, 'id'> & ResourceFilter\n\n/**\n * The Custom 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/custom_promotion_rules endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/custom_promotion_rules/object\n */\ninterface CustomPromotionRule extends Resource {\n readonly type: CustomPromotionRuleType\n\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\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}\n\ninterface CustomPromotionRuleCreate extends ResourceCreate {\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n}\n\ninterface CustomPromotionRuleUpdate extends ResourceUpdate {\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion?:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n | null\n}\n\nclass CustomPromotionRules extends ApiResource<CustomPromotionRule> {\n static readonly TYPE: CustomPromotionRuleType = 'custom_promotion_rules' as const\n\n async create(\n resource: CustomPromotionRuleCreate,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n return this.resources.create<CustomPromotionRuleCreate, CustomPromotionRule>(\n { ...resource, type: CustomPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomPromotionRuleUpdate,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n return this.resources.update<CustomPromotionRuleUpdate, CustomPromotionRule>(\n { ...resource, type: CustomPromotionRules.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: CustomPromotionRules.TYPE } : id, options)\n }\n\n async event_stores(\n customPromotionRuleId: string | CustomPromotionRule,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customPromotionRuleId =\n (customPromotionRuleId as CustomPromotionRule).id || (customPromotionRuleId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `custom_promotion_rules/${_customPromotionRuleId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomPromotionRule(resource: any): resource is CustomPromotionRule {\n return resource.type && resource.type === CustomPromotionRules.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomPromotionRuleRel {\n return super.relationshipOneToOne<CustomPromotionRuleRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomPromotionRuleRel[] {\n return super.relationshipOneToMany<CustomPromotionRuleRel>(...ids)\n }\n\n type(): CustomPromotionRuleType {\n return CustomPromotionRules.TYPE\n }\n}\n\nconst instance = new CustomPromotionRules()\nexport default instance\n\nexport type {\n CustomPromotionRule,\n CustomPromotionRuleCreate,\n CustomPromotionRules,\n CustomPromotionRuleType,\n CustomPromotionRuleUpdate,\n}\n"]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-MGSPPFHY.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/customer_payment_sources.ts
|
|
4
|
+
var CustomerPaymentSources = class _CustomerPaymentSources extends ApiResource {
|
|
5
|
+
static TYPE = "customer_payment_sources";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _CustomerPaymentSources.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _CustomerPaymentSources.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerPaymentSources.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async customer(customerPaymentSourceId, params, options) {
|
|
24
|
+
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "customers" },
|
|
27
|
+
`customer_payment_sources/${_customerPaymentSourceId}/customer`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async payment_method(customerPaymentSourceId, params, options) {
|
|
33
|
+
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "payment_methods" },
|
|
36
|
+
`customer_payment_sources/${_customerPaymentSourceId}/payment_method`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async event_stores(customerPaymentSourceId, params, options) {
|
|
42
|
+
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "event_stores" },
|
|
45
|
+
`customer_payment_sources/${_customerPaymentSourceId}/event_stores`,
|
|
46
|
+
params,
|
|
47
|
+
options
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
isCustomerPaymentSource(resource) {
|
|
51
|
+
return resource.type && resource.type === _CustomerPaymentSources.TYPE;
|
|
52
|
+
}
|
|
53
|
+
relationship(id) {
|
|
54
|
+
return super.relationshipOneToOne(id);
|
|
55
|
+
}
|
|
56
|
+
relationshipToMany(...ids) {
|
|
57
|
+
return super.relationshipOneToMany(...ids);
|
|
58
|
+
}
|
|
59
|
+
type() {
|
|
60
|
+
return _CustomerPaymentSources.TYPE;
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
var instance = new CustomerPaymentSources();
|
|
64
|
+
var customer_payment_sources_default = instance;
|
|
65
|
+
|
|
66
|
+
export { customer_payment_sources_default };
|
|
67
|
+
//# sourceMappingURL=chunk-LKOCJITH.js.map
|
|
68
|
+
//# sourceMappingURL=chunk-LKOCJITH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/customer_payment_sources.ts"],"names":[],"mappings":";;;AA6IA,IAAM,sBAAA,GAAN,MAAM,uBAAA,SAA+B,WAAA,CAAmC;AAAA,EACtE,OAAgB,IAAA,GAAkC,0BAAA;AAAA,EAElD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACgC;AAChC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,wBAAuB,IAAA,EAAK;AAAA,MACjD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACgC;AAChC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,wBAAuB,IAAA,EAAK;AAAA,MACjD,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,uBAAA,CAAuB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC9G;AAAA,EAEA,MAAM,QAAA,CACJ,uBAAA,EACA,MAAA,EACA,OAAA,EACmB;AACnB,IAAA,MAAM,wBAAA,GACH,wBAAkD,EAAA,IAAO,uBAAA;AAC5D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,WAAA,EAAY;AAAA,MACpB,4BAA4B,wBAAwB,CAAA,SAAA,CAAA;AAAA,MACpD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,cAAA,CACJ,uBAAA,EACA,MAAA,EACA,OAAA,EACwB;AACxB,IAAA,MAAM,wBAAA,GACH,wBAAkD,EAAA,IAAO,uBAAA;AAC5D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,iBAAA,EAAkB;AAAA,MAC1B,4BAA4B,wBAAwB,CAAA,eAAA,CAAA;AAAA,MACpD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,uBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,wBAAA,GACH,wBAAkD,EAAA,IAAO,uBAAA;AAC5D,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,4BAA4B,wBAAwB,CAAA,aAAA,CAAA;AAAA,MACpD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,wBAAwB,QAAA,EAAkD;AACxE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,uBAAA,CAAuB,IAAA;AAAA,EACnE;AAAA,EAEA,aAAa,EAAA,EAA0D;AACrE,IAAA,OAAO,KAAA,CAAM,qBAA+C,EAAE,CAAA;AAAA,EAChE;AAAA,EAEA,sBAAsB,GAAA,EAA2C;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAgD,GAAG,GAAG,CAAA;AAAA,EACrE;AAAA,EAEA,IAAA,GAAkC;AAChC,IAAA,OAAO,uBAAA,CAAuB,IAAA;AAAA,EAChC;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,sBAAA,EAAuB;AAC5C,IAAO,gCAAA,GAAQ","file":"chunk-LKOCJITH.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 { AdyenPayment, AdyenPaymentType } from './adyen_payments'\nimport type { AxervePayment, AxervePaymentType } from './axerve_payments'\nimport type { BraintreePayment, BraintreePaymentType } from './braintree_payments'\nimport type { CheckoutComPayment, CheckoutComPaymentType } from './checkout_com_payments'\nimport type { Customer, CustomerType } from './customers'\nimport type { EventStore } from './event_stores'\nimport type { ExternalPayment, ExternalPaymentType } from './external_payments'\nimport type { KlarnaPayment, KlarnaPaymentType } from './klarna_payments'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { PaypalPayment, PaypalPaymentType } from './paypal_payments'\nimport type { SatispayPayment, SatispayPaymentType } from './satispay_payments'\nimport type { StripePayment, StripePaymentType } from './stripe_payments'\nimport type { WireTransfer, WireTransferType } from './wire_transfers'\n\ntype CustomerPaymentSourceType = 'customer_payment_sources'\ntype CustomerPaymentSourceRel = ResourceRel & { type: CustomerPaymentSourceType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype AdyenPaymentRel = ResourceRel & { type: AdyenPaymentType }\ntype AxervePaymentRel = ResourceRel & { type: AxervePaymentType }\ntype BraintreePaymentRel = ResourceRel & { type: BraintreePaymentType }\ntype CheckoutComPaymentRel = ResourceRel & { type: CheckoutComPaymentType }\ntype ExternalPaymentRel = ResourceRel & { type: ExternalPaymentType }\ntype KlarnaPaymentRel = ResourceRel & { type: KlarnaPaymentType }\ntype PaypalPaymentRel = ResourceRel & { type: PaypalPaymentType }\ntype SatispayPaymentRel = ResourceRel & { type: SatispayPaymentType }\ntype StripePaymentRel = ResourceRel & { type: StripePaymentType }\ntype WireTransferRel = ResourceRel & { type: WireTransferType }\n\nexport type CustomerPaymentSourceSort = Pick<CustomerPaymentSource, 'id'> & ResourceSort\n// export type CustomerPaymentSourceFilter = Pick<CustomerPaymentSource, 'id' | 'name' | 'payment_source_token'> & ResourceFilter\n\n/**\n * The Customer payment source object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customer_payment_sources endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/customer_payment_sources/object\n */\ninterface CustomerPaymentSource extends Resource {\n readonly type: CustomerPaymentSourceType\n\n /**\n * Returns the associated payment source's name.\n * @example ```\"XXXX-XXXX-XXXX-1111\"```\n */\n name?: string | null\n /**\n * Returns the customer gateway token stored in the gateway.\n * @example ```\"cus_xxxyyyzzz\"```\n */\n customer_token?: string | null\n /**\n * Returns the payment source token stored in the gateway.\n * @example ```\"pm_xxxyyyzzz\"```\n */\n payment_source_token?: string | null\n\n customer?: Customer | null\n payment_method?: PaymentMethod | null\n payment_source?:\n | AdyenPayment\n | AxervePayment\n | BraintreePayment\n | CheckoutComPayment\n | ExternalPayment\n | KlarnaPayment\n | PaypalPayment\n | SatispayPayment\n | StripePayment\n | WireTransfer\n | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerPaymentSourceCreate extends ResourceCreate {\n /**\n * Returns the customer gateway token stored in the gateway.\n * @example ```\"cus_xxxyyyzzz\"```\n */\n customer_token?: string | null\n /**\n * Returns the payment source token stored in the gateway.\n * @example ```\"pm_xxxyyyzzz\"```\n */\n payment_source_token?: string | null\n\n customer: CustomerRel\n payment_method?: PaymentMethodRel | null\n payment_source?:\n | AdyenPaymentRel\n | AxervePaymentRel\n | BraintreePaymentRel\n | CheckoutComPaymentRel\n | ExternalPaymentRel\n | KlarnaPaymentRel\n | PaypalPaymentRel\n | SatispayPaymentRel\n | StripePaymentRel\n | WireTransferRel\n | null\n}\n\ninterface CustomerPaymentSourceUpdate extends ResourceUpdate {\n /**\n * Returns the customer gateway token stored in the gateway.\n * @example ```\"cus_xxxyyyzzz\"```\n */\n customer_token?: string | null\n /**\n * Returns the payment source token stored in the gateway.\n * @example ```\"pm_xxxyyyzzz\"```\n */\n payment_source_token?: string | null\n\n customer?: CustomerRel | null\n payment_method?: PaymentMethodRel | null\n payment_source?:\n | AdyenPaymentRel\n | AxervePaymentRel\n | BraintreePaymentRel\n | CheckoutComPaymentRel\n | ExternalPaymentRel\n | KlarnaPaymentRel\n | PaypalPaymentRel\n | SatispayPaymentRel\n | StripePaymentRel\n | WireTransferRel\n | null\n}\n\nclass CustomerPaymentSources extends ApiResource<CustomerPaymentSource> {\n static readonly TYPE: CustomerPaymentSourceType = 'customer_payment_sources' as const\n\n async create(\n resource: CustomerPaymentSourceCreate,\n params?: QueryParamsRetrieve<CustomerPaymentSource>,\n options?: ResourcesConfig,\n ): Promise<CustomerPaymentSource> {\n return this.resources.create<CustomerPaymentSourceCreate, CustomerPaymentSource>(\n { ...resource, type: CustomerPaymentSources.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomerPaymentSourceUpdate,\n params?: QueryParamsRetrieve<CustomerPaymentSource>,\n options?: ResourcesConfig,\n ): Promise<CustomerPaymentSource> {\n return this.resources.update<CustomerPaymentSourceUpdate, CustomerPaymentSource>(\n { ...resource, type: CustomerPaymentSources.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: CustomerPaymentSources.TYPE } : id, options)\n }\n\n async customer(\n customerPaymentSourceId: string | CustomerPaymentSource,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _customerPaymentSourceId =\n (customerPaymentSourceId as CustomerPaymentSource).id || (customerPaymentSourceId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customer_payment_sources/${_customerPaymentSourceId}/customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async payment_method(\n customerPaymentSourceId: string | CustomerPaymentSource,\n params?: QueryParamsRetrieve<PaymentMethod>,\n options?: ResourcesConfig,\n ): Promise<PaymentMethod> {\n const _customerPaymentSourceId =\n (customerPaymentSourceId as CustomerPaymentSource).id || (customerPaymentSourceId as string)\n return this.resources.fetch<PaymentMethod>(\n { type: 'payment_methods' },\n `customer_payment_sources/${_customerPaymentSourceId}/payment_method`,\n params,\n options,\n ) as unknown as PaymentMethod\n }\n\n async event_stores(\n customerPaymentSourceId: string | CustomerPaymentSource,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerPaymentSourceId =\n (customerPaymentSourceId as CustomerPaymentSource).id || (customerPaymentSourceId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customer_payment_sources/${_customerPaymentSourceId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomerPaymentSource(resource: any): resource is CustomerPaymentSource {\n return resource.type && resource.type === CustomerPaymentSources.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerPaymentSourceRel {\n return super.relationshipOneToOne<CustomerPaymentSourceRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerPaymentSourceRel[] {\n return super.relationshipOneToMany<CustomerPaymentSourceRel>(...ids)\n }\n\n type(): CustomerPaymentSourceType {\n return CustomerPaymentSources.TYPE\n }\n}\n\nconst instance = new CustomerPaymentSources()\nexport default instance\n\nexport type {\n CustomerPaymentSource,\n CustomerPaymentSourceCreate,\n CustomerPaymentSources,\n CustomerPaymentSourceType,\n CustomerPaymentSourceUpdate,\n}\n"]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkZUYCVSFZ_cjs = require('./chunk-ZUYCVSFZ.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/price_volume_tiers.ts
|
|
6
|
+
var PriceVolumeTiers = class _PriceVolumeTiers extends chunkZUYCVSFZ_cjs.ApiResource {
|
|
7
|
+
static TYPE = "price_volume_tiers";
|
|
8
|
+
async create(resource, params, options) {
|
|
9
|
+
return this.resources.create(
|
|
10
|
+
{ ...resource, type: _PriceVolumeTiers.TYPE },
|
|
11
|
+
params,
|
|
12
|
+
options
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
async update(resource, params, options) {
|
|
16
|
+
return this.resources.update(
|
|
17
|
+
{ ...resource, type: _PriceVolumeTiers.TYPE },
|
|
18
|
+
params,
|
|
19
|
+
options
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
async delete(id, options) {
|
|
23
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _PriceVolumeTiers.TYPE } : id, options);
|
|
24
|
+
}
|
|
25
|
+
async price(priceVolumeTierId, params, options) {
|
|
26
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
27
|
+
return this.resources.fetch(
|
|
28
|
+
{ type: "prices" },
|
|
29
|
+
`price_volume_tiers/${_priceVolumeTierId}/price`,
|
|
30
|
+
params,
|
|
31
|
+
options
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
async attachments(priceVolumeTierId, params, options) {
|
|
35
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
36
|
+
return this.resources.fetch(
|
|
37
|
+
{ type: "attachments" },
|
|
38
|
+
`price_volume_tiers/${_priceVolumeTierId}/attachments`,
|
|
39
|
+
params,
|
|
40
|
+
options
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
async event_stores(priceVolumeTierId, params, options) {
|
|
44
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
45
|
+
return this.resources.fetch(
|
|
46
|
+
{ type: "event_stores" },
|
|
47
|
+
`price_volume_tiers/${_priceVolumeTierId}/event_stores`,
|
|
48
|
+
params,
|
|
49
|
+
options
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
async events(priceVolumeTierId, params, options) {
|
|
53
|
+
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
54
|
+
return this.resources.fetch(
|
|
55
|
+
{ type: "events" },
|
|
56
|
+
`price_volume_tiers/${_priceVolumeTierId}/events`,
|
|
57
|
+
params,
|
|
58
|
+
options
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
isPriceVolumeTier(resource) {
|
|
62
|
+
return resource.type && resource.type === _PriceVolumeTiers.TYPE;
|
|
63
|
+
}
|
|
64
|
+
relationship(id) {
|
|
65
|
+
return super.relationshipOneToOne(id);
|
|
66
|
+
}
|
|
67
|
+
relationshipToMany(...ids) {
|
|
68
|
+
return super.relationshipOneToMany(...ids);
|
|
69
|
+
}
|
|
70
|
+
type() {
|
|
71
|
+
return _PriceVolumeTiers.TYPE;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
var instance = new PriceVolumeTiers();
|
|
75
|
+
var price_volume_tiers_default = instance;
|
|
76
|
+
|
|
77
|
+
exports.price_volume_tiers_default = price_volume_tiers_default;
|
|
78
|
+
//# sourceMappingURL=chunk-LRVKKYKK.cjs.map
|
|
79
|
+
//# sourceMappingURL=chunk-LRVKKYKK.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/price_volume_tiers.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-LRVKKYKK.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 { 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,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkZUYCVSFZ_cjs = require('./chunk-ZUYCVSFZ.cjs');
|
|
4
|
+
|
|
5
|
+
// gen/resources/applications.ts
|
|
6
|
+
var Applications = class _Applications extends chunkZUYCVSFZ_cjs.ApiSingleton {
|
|
7
|
+
static TYPE = "applications";
|
|
8
|
+
isApplication(resource) {
|
|
9
|
+
return resource.type && resource.type === _Applications.TYPE;
|
|
10
|
+
}
|
|
11
|
+
relationship(id) {
|
|
12
|
+
return super.relationshipOneToOne(id);
|
|
13
|
+
}
|
|
14
|
+
relationshipToMany(...ids) {
|
|
15
|
+
return super.relationshipOneToMany(...ids);
|
|
16
|
+
}
|
|
17
|
+
type() {
|
|
18
|
+
return _Applications.TYPE;
|
|
19
|
+
}
|
|
20
|
+
path() {
|
|
21
|
+
return "application";
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
var instance = new Applications();
|
|
25
|
+
var applications_default = instance;
|
|
26
|
+
|
|
27
|
+
exports.applications_default = applications_default;
|
|
28
|
+
//# sourceMappingURL=chunk-LV4NOJHE.cjs.map
|
|
29
|
+
//# sourceMappingURL=chunk-LV4NOJHE.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/applications.ts"],"names":["ApiSingleton"],"mappings":";;;;;AA2EA,IAAM,YAAA,GAAN,MAAM,aAAA,SAAqBA,8BAAA,CAA0B;AAAA,EACnD,OAAgB,IAAA,GAAwB,cAAA;AAAA,EAExC,cAAc,QAAA,EAAwC;AACpD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,aAAA,CAAa,IAAA;AAAA,EACzD;AAAA,EAEA,aAAa,EAAA,EAAgD;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAqC,EAAE,CAAA;AAAA,EACtD;AAAA,EAEA,sBAAsB,GAAA,EAAiC;AACrD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAsC,GAAG,GAAG,CAAA;AAAA,EAC3D;AAAA,EAEA,IAAA,GAAwB;AACtB,IAAA,OAAO,aAAA,CAAa,IAAA;AAAA,EACtB;AAAA,EAEA,IAAA,GAAe;AACb,IAAA,OAAO,aAAA;AAAA,EACT;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,YAAA,EAAa;AAClC,IAAO,oBAAA,GAAQ","file":"chunk-LV4NOJHE.cjs","sourcesContent":["import type { Resource, ResourceId, ResourceRel, ResourceSort /* ResourceFilter */ } from '@runtime/resource'\nimport { ApiSingleton } from '@runtime/resource'\n\ntype ApplicationType = 'applications'\ntype ApplicationRel = ResourceRel & { type: ApplicationType }\n\nexport type ApplicationSort = Pick<Application, 'id'> & ResourceSort\n// export type ApplicationFilter = Pick<Application, 'id' | 'name' | 'kind' | 'public_access' | 'scopes'> & ResourceFilter\n\n/**\n * The Application object is returned as part of the response body of each successful retrieve API call to the /api/application endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/applications/object\n */\ninterface Application extends Resource {\n readonly type: ApplicationType\n\n /**\n * The application's internal name.\n * @example ```\"My app\"```\n */\n name?: string | null\n /**\n * The application's kind. One of 'sales_channel', 'integration', or 'webapp'.\n * @example ```\"sales-channel\"```\n */\n kind?:\n | 'dashboard'\n | 'user'\n | 'contentful'\n | 'bundles'\n | 'customers'\n | 'datocms'\n | 'exports'\n | 'external'\n | 'generic'\n | 'gift_cards'\n | 'imports'\n | 'integration'\n | 'inventory'\n | 'metrics'\n | 'orders'\n | 'price_lists'\n | 'promotions'\n | 'resources'\n | 'returns'\n | 'sales_channel'\n | 'sanity'\n | 'shipments'\n | 'skus'\n | 'sku_lists'\n | 'stock_transfers'\n | 'subscriptions'\n | 'tags'\n | 'webapp'\n | 'webhooks'\n | 'zapier'\n | null\n /**\n * Indicates if the application has public access.\n * @example ```true```\n */\n public_access?: boolean | null\n /**\n * The application's redirect URI.\n * @example ```\"https://bluebrand.com/img/logo.svg\"```\n */\n redirect_uri?: string | null\n /**\n * The application's scopes.\n * @example ```\"market:all market:9 market:122 market:6 stock_location:6 stock_location:33\"```\n */\n scopes?: string | null\n}\n\nclass Applications extends ApiSingleton<Application> {\n static readonly TYPE: ApplicationType = 'applications' as const\n\n isApplication(resource: any): resource is Application {\n return resource.type && resource.type === Applications.TYPE\n }\n\n relationship(id: string | ResourceId | null): ApplicationRel {\n return super.relationshipOneToOne<ApplicationRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ApplicationRel[] {\n return super.relationshipOneToMany<ApplicationRel>(...ids)\n }\n\n type(): ApplicationType {\n return Applications.TYPE\n }\n\n path(): string {\n return 'application'\n }\n}\n\nconst instance = new Applications()\nexport default instance\n\nexport type { Application, Applications, ApplicationType }\n"]}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ApiResource } from './chunk-MGSPPFHY.js';
|
|
2
|
+
|
|
3
|
+
// gen/resources/vertex_accounts.ts
|
|
4
|
+
var VertexAccounts = class _VertexAccounts extends ApiResource {
|
|
5
|
+
static TYPE = "vertex_accounts";
|
|
6
|
+
async create(resource, params, options) {
|
|
7
|
+
return this.resources.create(
|
|
8
|
+
{ ...resource, type: _VertexAccounts.TYPE },
|
|
9
|
+
params,
|
|
10
|
+
options
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
async update(resource, params, options) {
|
|
14
|
+
return this.resources.update(
|
|
15
|
+
{ ...resource, type: _VertexAccounts.TYPE },
|
|
16
|
+
params,
|
|
17
|
+
options
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
async delete(id, options) {
|
|
21
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _VertexAccounts.TYPE } : id, options);
|
|
22
|
+
}
|
|
23
|
+
async markets(vertexAccountId, params, options) {
|
|
24
|
+
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
25
|
+
return this.resources.fetch(
|
|
26
|
+
{ type: "markets" },
|
|
27
|
+
`vertex_accounts/${_vertexAccountId}/markets`,
|
|
28
|
+
params,
|
|
29
|
+
options
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
async attachments(vertexAccountId, params, options) {
|
|
33
|
+
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
34
|
+
return this.resources.fetch(
|
|
35
|
+
{ type: "attachments" },
|
|
36
|
+
`vertex_accounts/${_vertexAccountId}/attachments`,
|
|
37
|
+
params,
|
|
38
|
+
options
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
async events(vertexAccountId, params, options) {
|
|
42
|
+
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
43
|
+
return this.resources.fetch(
|
|
44
|
+
{ type: "events" },
|
|
45
|
+
`vertex_accounts/${_vertexAccountId}/events`,
|
|
46
|
+
params,
|
|
47
|
+
options
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
async event_stores(vertexAccountId, params, options) {
|
|
51
|
+
const _vertexAccountId = vertexAccountId.id || vertexAccountId;
|
|
52
|
+
return this.resources.fetch(
|
|
53
|
+
{ type: "event_stores" },
|
|
54
|
+
`vertex_accounts/${_vertexAccountId}/event_stores`,
|
|
55
|
+
params,
|
|
56
|
+
options
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
async _refresh_token(id, params, options) {
|
|
60
|
+
return this.resources.update(
|
|
61
|
+
{ id: typeof id === "string" ? id : id.id, type: _VertexAccounts.TYPE, _refresh_token: true },
|
|
62
|
+
params,
|
|
63
|
+
options
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
isVertexAccount(resource) {
|
|
67
|
+
return resource.type && resource.type === _VertexAccounts.TYPE;
|
|
68
|
+
}
|
|
69
|
+
relationship(id) {
|
|
70
|
+
return super.relationshipOneToOne(id);
|
|
71
|
+
}
|
|
72
|
+
relationshipToMany(...ids) {
|
|
73
|
+
return super.relationshipOneToMany(...ids);
|
|
74
|
+
}
|
|
75
|
+
type() {
|
|
76
|
+
return _VertexAccounts.TYPE;
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
var instance = new VertexAccounts();
|
|
80
|
+
var vertex_accounts_default = instance;
|
|
81
|
+
|
|
82
|
+
export { vertex_accounts_default };
|
|
83
|
+
//# sourceMappingURL=chunk-LZFW7E5I.js.map
|
|
84
|
+
//# sourceMappingURL=chunk-LZFW7E5I.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../gen/resources/vertex_accounts.ts"],"names":[],"mappings":"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","file":"chunk-LZFW7E5I.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 { Market } from './markets'\n\ntype VertexAccountType = 'vertex_accounts'\ntype VertexAccountRel = ResourceRel & { type: VertexAccountType }\n\nexport type VertexAccountSort = Pick<VertexAccount, 'id' | 'name'> & ResourceSort\n// export type VertexAccountFilter = Pick<VertexAccount, 'id' | 'name'> & ResourceFilter\n\n/**\n * The Vertex account object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/vertex_accounts endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/vertex_accounts/object\n */\ninterface VertexAccount extends Resource {\n readonly type: VertexAccountType\n\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name: string\n /**\n * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.\n * @example ```\"cloud\"```\n */\n kind?: 'cloud' | 'on_demand' | 'on_premise' | null\n /**\n * The Vertex API baseurl, optional for 'cloud' kind.\n * @example ```\"yourbaseurl\"```\n */\n baseurl?: string | null\n /**\n * The OAuth audience sent with the token request. Defaults to 'verx://migration-api' for 'cloud' kind unless set explicitly.\n * @example ```\"verx://xyz\"```\n */\n audience?: string | null\n /**\n * The API endpoint as computed by specified kind and baseurl.\n * @example ```\"https://my_baseurl.ondemand.vertexinc.com\"```\n */\n api_endpoint?: string | null\n /**\n * Indicates if the transaction will be recorded and visible on the Vertex website.\n * @example ```true```\n */\n commit_invoice?: boolean | null\n /**\n * The expiration date/time of the access token.\n * @example ```\"2018-01-02T12:00:00.000Z\"```\n */\n token_expires_at?: string | null\n\n markets?: Market[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface VertexAccountCreate extends ResourceCreate {\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name: string\n /**\n * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.\n * @example ```\"cloud\"```\n */\n kind?: 'cloud' | 'on_demand' | 'on_premise' | null\n /**\n * The Vertex API baseurl, optional for 'cloud' kind.\n * @example ```\"yourbaseurl\"```\n */\n baseurl?: string | null\n /**\n * The OAuth audience sent with the token request. Defaults to 'verx://migration-api' for 'cloud' kind unless set explicitly.\n * @example ```\"verx://xyz\"```\n */\n audience?: string | null\n /**\n * The Vertex account client ID.\n * @example ```\"xxx-yyy-zzz\"```\n */\n client_id: string\n /**\n * The Vertex account client secret.\n * @example ```\"xxx-yyy-zzz\"```\n */\n client_secret: string\n /**\n * Indicates if the transaction will be recorded and visible on the Vertex website.\n * @example ```true```\n */\n commit_invoice?: boolean | null\n}\n\ninterface VertexAccountUpdate extends ResourceUpdate {\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name?: string | null\n /**\n * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.\n * @example ```\"cloud\"```\n */\n kind?: 'cloud' | 'on_demand' | 'on_premise' | null\n /**\n * The Vertex API baseurl, optional for 'cloud' kind.\n * @example ```\"yourbaseurl\"```\n */\n baseurl?: string | null\n /**\n * The OAuth audience sent with the token request. Defaults to 'verx://migration-api' for 'cloud' kind unless set explicitly.\n * @example ```\"verx://xyz\"```\n */\n audience?: string | null\n /**\n * The Vertex account client ID.\n * @example ```\"xxx-yyy-zzz\"```\n */\n client_id?: string | null\n /**\n * The Vertex account client secret.\n * @example ```\"xxx-yyy-zzz\"```\n */\n client_secret?: string | null\n /**\n * Indicates if the transaction will be recorded and visible on the Vertex website.\n * @example ```true```\n */\n commit_invoice?: boolean | null\n /**\n * Send this attribute if you want to manually refresh the access token.\n * @example ```true```\n */\n _refresh_token?: boolean | null\n}\n\nclass VertexAccounts extends ApiResource<VertexAccount> {\n static readonly TYPE: VertexAccountType = 'vertex_accounts' as const\n\n async create(\n resource: VertexAccountCreate,\n params?: QueryParamsRetrieve<VertexAccount>,\n options?: ResourcesConfig,\n ): Promise<VertexAccount> {\n return this.resources.create<VertexAccountCreate, VertexAccount>(\n { ...resource, type: VertexAccounts.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: VertexAccountUpdate,\n params?: QueryParamsRetrieve<VertexAccount>,\n options?: ResourcesConfig,\n ): Promise<VertexAccount> {\n return this.resources.update<VertexAccountUpdate, VertexAccount>(\n { ...resource, type: VertexAccounts.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: VertexAccounts.TYPE } : id, options)\n }\n\n async markets(\n vertexAccountId: string | VertexAccount,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _vertexAccountId = (vertexAccountId as VertexAccount).id || (vertexAccountId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `vertex_accounts/${_vertexAccountId}/markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async attachments(\n vertexAccountId: string | VertexAccount,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _vertexAccountId = (vertexAccountId as VertexAccount).id || (vertexAccountId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `vertex_accounts/${_vertexAccountId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n vertexAccountId: string | VertexAccount,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _vertexAccountId = (vertexAccountId as VertexAccount).id || (vertexAccountId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `vertex_accounts/${_vertexAccountId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n vertexAccountId: string | VertexAccount,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _vertexAccountId = (vertexAccountId as VertexAccount).id || (vertexAccountId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `vertex_accounts/${_vertexAccountId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _refresh_token(\n id: string | VertexAccount,\n params?: QueryParamsRetrieve<VertexAccount>,\n options?: ResourcesConfig,\n ): Promise<VertexAccount> {\n return this.resources.update<VertexAccountUpdate, VertexAccount>(\n { id: typeof id === 'string' ? id : id.id, type: VertexAccounts.TYPE, _refresh_token: true },\n params,\n options,\n )\n }\n\n isVertexAccount(resource: any): resource is VertexAccount {\n return resource.type && resource.type === VertexAccounts.TYPE\n }\n\n relationship(id: string | ResourceId | null): VertexAccountRel {\n return super.relationshipOneToOne<VertexAccountRel>(id)\n }\n\n relationshipToMany(...ids: string[]): VertexAccountRel[] {\n return super.relationshipOneToMany<VertexAccountRel>(...ids)\n }\n\n type(): VertexAccountType {\n return VertexAccounts.TYPE\n }\n}\n\nconst instance = new VertexAccounts()\nexport default instance\n\nexport type { VertexAccount, VertexAccountCreate, VertexAccounts, VertexAccountType, VertexAccountUpdate }\n"]}
|