@commercelayer/sdk 8.0.0-beta.8 → 8.0.0-beta.9
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 +20 -8
- package/lib/api-B89jsST3.d.cts +18490 -0
- package/lib/api-DVobTSjQ.d.ts +18490 -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/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-235HO65F.cjs +75 -0
- package/lib/chunk-235HO65F.cjs.map +1 -0
- package/lib/chunk-2BRGAZ4X.js +68 -0
- package/lib/chunk-2BRGAZ4X.js.map +1 -0
- package/lib/chunk-2GRDW45N.cjs +70 -0
- package/lib/chunk-2GRDW45N.cjs.map +1 -0
- package/lib/chunk-2MI5Z7VJ.js +78 -0
- package/lib/chunk-2MI5Z7VJ.js.map +1 -0
- package/lib/chunk-2NEP5PSK.js +100 -0
- package/lib/chunk-2NEP5PSK.js.map +1 -0
- package/lib/chunk-2OYKT3RR.js +77 -0
- package/lib/chunk-2OYKT3RR.js.map +1 -0
- package/lib/chunk-2PQAQHJI.js +177 -0
- package/lib/chunk-2PQAQHJI.js.map +1 -0
- package/lib/chunk-2QQF3ZMT.cjs +79 -0
- package/lib/chunk-2QQF3ZMT.cjs.map +1 -0
- package/lib/chunk-2UKLZ4EG.js +36 -0
- package/lib/chunk-2UKLZ4EG.js.map +1 -0
- package/lib/chunk-2VUXKS2F.js +73 -0
- package/lib/chunk-2VUXKS2F.js.map +1 -0
- package/lib/chunk-2VZ3GTLB.js +89 -0
- package/lib/chunk-2VZ3GTLB.js.map +1 -0
- package/lib/chunk-36PT4X6A.cjs +62 -0
- package/lib/chunk-36PT4X6A.cjs.map +1 -0
- package/lib/chunk-37NI4FHX.js +68 -0
- package/lib/chunk-37NI4FHX.js.map +1 -0
- package/lib/chunk-3BHI5VNM.js +68 -0
- package/lib/chunk-3BHI5VNM.js.map +1 -0
- package/lib/chunk-3VR5QCJN.cjs +79 -0
- package/lib/chunk-3VR5QCJN.cjs.map +1 -0
- package/lib/chunk-42DVUIC3.cjs +69 -0
- package/lib/chunk-42DVUIC3.cjs.map +1 -0
- package/lib/chunk-446RVIXA.js +196 -0
- package/lib/chunk-446RVIXA.js.map +1 -0
- package/lib/chunk-46MXNGIX.cjs +67 -0
- package/lib/chunk-46MXNGIX.cjs.map +1 -0
- package/lib/chunk-4COAM2UE.cjs +44 -0
- package/lib/chunk-4COAM2UE.cjs.map +1 -0
- package/lib/chunk-4DTC6Q55.cjs +77 -0
- package/lib/chunk-4DTC6Q55.cjs.map +1 -0
- package/lib/chunk-4M5WDVHU.cjs +62 -0
- package/lib/chunk-4M5WDVHU.cjs.map +1 -0
- package/lib/chunk-4NJX5DTP.cjs +193 -0
- package/lib/chunk-4NJX5DTP.cjs.map +1 -0
- package/lib/chunk-4T2SG77Z.js +89 -0
- package/lib/chunk-4T2SG77Z.js.map +1 -0
- package/lib/chunk-4U6G25RN.js +91 -0
- package/lib/chunk-4U6G25RN.js.map +1 -0
- package/lib/chunk-4W2XRXKH.js +84 -0
- package/lib/chunk-4W2XRXKH.js.map +1 -0
- package/lib/chunk-4X4HMQC7.cjs +70 -0
- package/lib/chunk-4X4HMQC7.cjs.map +1 -0
- package/lib/chunk-4XCA5IXW.js +180 -0
- package/lib/chunk-4XCA5IXW.js.map +1 -0
- package/lib/chunk-5247NHKP.js +88 -0
- package/lib/chunk-5247NHKP.js.map +1 -0
- package/lib/chunk-57TABMO5.cjs +71 -0
- package/lib/chunk-57TABMO5.cjs.map +1 -0
- package/lib/chunk-5LWXBEM2.js +59 -0
- package/lib/chunk-5LWXBEM2.js.map +1 -0
- package/lib/chunk-5OBEOAVA.cjs +179 -0
- package/lib/chunk-5OBEOAVA.cjs.map +1 -0
- package/lib/chunk-5QZBWB7E.cjs +93 -0
- package/lib/chunk-5QZBWB7E.cjs.map +1 -0
- package/lib/chunk-5SCGD2SM.js +60 -0
- package/lib/chunk-5SCGD2SM.js.map +1 -0
- package/lib/chunk-5YXCRSRV.cjs +91 -0
- package/lib/chunk-5YXCRSRV.cjs.map +1 -0
- package/lib/chunk-676BTCSC.cjs +70 -0
- package/lib/chunk-676BTCSC.cjs.map +1 -0
- package/lib/chunk-67UKEI4Q.js +77 -0
- package/lib/chunk-67UKEI4Q.js.map +1 -0
- package/lib/chunk-6CI5PFOJ.cjs +84 -0
- package/lib/chunk-6CI5PFOJ.cjs.map +1 -0
- package/lib/chunk-6KUTNI4L.cjs +70 -0
- package/lib/chunk-6KUTNI4L.cjs.map +1 -0
- package/lib/chunk-6VEXYG3T.js +123 -0
- package/lib/chunk-6VEXYG3T.js.map +1 -0
- package/lib/chunk-6VWPITQA.cjs +165 -0
- package/lib/chunk-6VWPITQA.cjs.map +1 -0
- package/lib/chunk-6WIZIPTT.js +60 -0
- package/lib/chunk-6WIZIPTT.js.map +1 -0
- package/lib/chunk-6YI7SUXL.js +42 -0
- package/lib/chunk-6YI7SUXL.js.map +1 -0
- package/lib/chunk-6ZEDHYE7.js +68 -0
- package/lib/chunk-6ZEDHYE7.js.map +1 -0
- package/lib/chunk-75CGJHAH.js +163 -0
- package/lib/chunk-75CGJHAH.js.map +1 -0
- package/lib/chunk-767AGYG7.cjs +62 -0
- package/lib/chunk-767AGYG7.cjs.map +1 -0
- package/lib/chunk-76C7DJD6.cjs +91 -0
- package/lib/chunk-76C7DJD6.cjs.map +1 -0
- package/lib/chunk-76KIQ66Q.js +68 -0
- package/lib/chunk-76KIQ66Q.js.map +1 -0
- package/lib/chunk-7BI3E7HL.cjs +79 -0
- package/lib/chunk-7BI3E7HL.cjs.map +1 -0
- package/lib/chunk-7MAOZTJA.cjs +35 -0
- package/lib/chunk-7MAOZTJA.cjs.map +1 -0
- package/lib/chunk-7MSAW7UA.js +89 -0
- package/lib/chunk-7MSAW7UA.js.map +1 -0
- package/lib/chunk-7RGN2RV2.cjs +60 -0
- package/lib/chunk-7RGN2RV2.cjs.map +1 -0
- package/lib/chunk-7SDKOZQE.cjs +79 -0
- package/lib/chunk-7SDKOZQE.cjs.map +1 -0
- package/lib/chunk-A4RURV7K.cjs +53 -0
- package/lib/chunk-A4RURV7K.cjs.map +1 -0
- package/lib/chunk-A6SPZ23B.js +75 -0
- package/lib/chunk-A6SPZ23B.js.map +1 -0
- package/lib/chunk-AALFYYOS.js +177 -0
- package/lib/chunk-AALFYYOS.js.map +1 -0
- package/lib/chunk-ABFJHOWD.js +68 -0
- package/lib/chunk-ABFJHOWD.js.map +1 -0
- package/lib/chunk-AHD4BYFN.cjs +243 -0
- package/lib/chunk-AHD4BYFN.cjs.map +1 -0
- package/lib/chunk-ARM7D4MZ.cjs +53 -0
- package/lib/chunk-ARM7D4MZ.cjs.map +1 -0
- package/lib/chunk-ARRZDPYJ.cjs +82 -0
- package/lib/chunk-ARRZDPYJ.cjs.map +1 -0
- package/lib/chunk-AY6EM77P.js +58 -0
- package/lib/chunk-AY6EM77P.js.map +1 -0
- package/lib/chunk-B2NRMWAL.js +69 -0
- package/lib/chunk-B2NRMWAL.js.map +1 -0
- package/lib/chunk-BAROX6BR.js +92 -0
- package/lib/chunk-BAROX6BR.js.map +1 -0
- package/lib/chunk-BNJ6YNOM.cjs +94 -0
- package/lib/chunk-BNJ6YNOM.cjs.map +1 -0
- package/lib/chunk-BNJVH4IU.js +51 -0
- package/lib/chunk-BNJVH4IU.js.map +1 -0
- package/lib/chunk-BR2HYHSI.js +82 -0
- package/lib/chunk-BR2HYHSI.js.map +1 -0
- package/lib/chunk-BRQPZWVK.js +68 -0
- package/lib/chunk-BRQPZWVK.js.map +1 -0
- package/lib/chunk-BUKBRSD5.cjs +86 -0
- package/lib/chunk-BUKBRSD5.cjs.map +1 -0
- package/lib/chunk-C6GJIIFQ.js +42 -0
- package/lib/chunk-C6GJIIFQ.js.map +1 -0
- package/lib/chunk-CAYOO3JS.cjs +44 -0
- package/lib/chunk-CAYOO3JS.cjs.map +1 -0
- package/lib/chunk-CEU5RCUI.js +79 -0
- package/lib/chunk-CEU5RCUI.js.map +1 -0
- package/lib/chunk-CGTNH6IV.js +50 -0
- package/lib/chunk-CGTNH6IV.js.map +1 -0
- package/lib/chunk-CGVELRN7.cjs +91 -0
- package/lib/chunk-CGVELRN7.cjs.map +1 -0
- package/lib/chunk-CIBE2CZX.cjs +52 -0
- package/lib/chunk-CIBE2CZX.cjs.map +1 -0
- package/lib/chunk-CPLBLR4E.js +612 -0
- package/lib/chunk-CPLBLR4E.js.map +1 -0
- package/lib/chunk-CTNIVLTY.cjs +205 -0
- package/lib/chunk-CTNIVLTY.cjs.map +1 -0
- package/lib/chunk-CUTRMHSG.js +89 -0
- package/lib/chunk-CUTRMHSG.js.map +1 -0
- package/lib/chunk-CVABRGXH.cjs +90 -0
- package/lib/chunk-CVABRGXH.cjs.map +1 -0
- package/lib/chunk-CW2AOHY4.cjs +88 -0
- package/lib/chunk-CW2AOHY4.cjs.map +1 -0
- package/lib/chunk-D2YPSUY4.cjs +61 -0
- package/lib/chunk-D2YPSUY4.cjs.map +1 -0
- package/lib/chunk-DDRL7ERF.js +68 -0
- package/lib/chunk-DDRL7ERF.js.map +1 -0
- package/lib/chunk-DKUQ6K6B.cjs +88 -0
- package/lib/chunk-DKUQ6K6B.cjs.map +1 -0
- package/lib/chunk-DNTDADTR.js +68 -0
- package/lib/chunk-DNTDADTR.js.map +1 -0
- package/lib/chunk-DTOF2RPL.js +77 -0
- package/lib/chunk-DTOF2RPL.js.map +1 -0
- package/lib/chunk-DU6GNBT4.js +50 -0
- package/lib/chunk-DU6GNBT4.js.map +1 -0
- package/lib/chunk-EBQ2K7TQ.js +33 -0
- package/lib/chunk-EBQ2K7TQ.js.map +1 -0
- package/lib/chunk-ECBKFTAK.cjs +61 -0
- package/lib/chunk-ECBKFTAK.cjs.map +1 -0
- package/lib/chunk-ENFK5CSE.js +118 -0
- package/lib/chunk-ENFK5CSE.js.map +1 -0
- package/lib/chunk-EOU6MO6H.cjs +70 -0
- package/lib/chunk-EOU6MO6H.cjs.map +1 -0
- package/lib/chunk-EUBNM3ZO.js +132 -0
- package/lib/chunk-EUBNM3ZO.js.map +1 -0
- package/lib/chunk-EUETC74Z.cjs +79 -0
- package/lib/chunk-EUETC74Z.cjs.map +1 -0
- package/lib/chunk-EVDBBPVM.js +68 -0
- package/lib/chunk-EVDBBPVM.js.map +1 -0
- package/lib/chunk-EXDJVWKS.js +79 -0
- package/lib/chunk-EXDJVWKS.js.map +1 -0
- package/lib/chunk-EXJAC7CY.cjs +94 -0
- package/lib/chunk-EXJAC7CY.cjs.map +1 -0
- package/lib/chunk-EY6KN5IF.cjs +60 -0
- package/lib/chunk-EY6KN5IF.cjs.map +1 -0
- package/lib/chunk-EZ32PKLC.cjs +70 -0
- package/lib/chunk-EZ32PKLC.cjs.map +1 -0
- package/lib/chunk-F5A5D4S3.cjs +102 -0
- package/lib/chunk-F5A5D4S3.cjs.map +1 -0
- package/lib/chunk-FB355ROS.js +60 -0
- package/lib/chunk-FB355ROS.js.map +1 -0
- package/lib/chunk-FEZTHTWY.cjs +120 -0
- package/lib/chunk-FEZTHTWY.cjs.map +1 -0
- package/lib/chunk-FG5OAZGV.cjs +85 -0
- package/lib/chunk-FG5OAZGV.cjs.map +1 -0
- package/lib/chunk-FNFCD7PC.cjs +98 -0
- package/lib/chunk-FNFCD7PC.cjs.map +1 -0
- package/lib/chunk-FNWLI3ZP.js +42 -0
- package/lib/chunk-FNWLI3ZP.js.map +1 -0
- package/lib/chunk-FOGC3CFK.cjs +81 -0
- package/lib/chunk-FOGC3CFK.cjs.map +1 -0
- package/lib/chunk-G4HHEC6Y.js +68 -0
- package/lib/chunk-G4HHEC6Y.js.map +1 -0
- package/lib/chunk-G4LTWX4G.cjs +62 -0
- package/lib/chunk-G4LTWX4G.cjs.map +1 -0
- package/lib/chunk-GCG5LC5E.js +86 -0
- package/lib/chunk-GCG5LC5E.js.map +1 -0
- package/lib/chunk-GEXJ2VE2.cjs +91 -0
- package/lib/chunk-GEXJ2VE2.cjs.map +1 -0
- package/lib/chunk-GGQ6AIVP.cjs +88 -0
- package/lib/chunk-GGQ6AIVP.cjs.map +1 -0
- package/lib/chunk-GIFJ76X2.cjs +47 -0
- package/lib/chunk-GIFJ76X2.cjs.map +1 -0
- package/lib/chunk-GIJ3WM7Y.js +38 -0
- package/lib/chunk-GIJ3WM7Y.js.map +1 -0
- package/lib/chunk-GMIHCHTG.js +124 -0
- package/lib/chunk-GMIHCHTG.js.map +1 -0
- package/lib/chunk-GMNK6R5J.cjs +79 -0
- package/lib/chunk-GMNK6R5J.cjs.map +1 -0
- package/lib/chunk-GS6WJNM7.cjs +166 -0
- package/lib/chunk-GS6WJNM7.cjs.map +1 -0
- package/lib/chunk-GWXMGS75.cjs +44 -0
- package/lib/chunk-GWXMGS75.cjs.map +1 -0
- package/lib/chunk-GZZXSIB2.js +61 -0
- package/lib/chunk-GZZXSIB2.js.map +1 -0
- package/lib/chunk-H3VW56K5.js +86 -0
- package/lib/chunk-H3VW56K5.js.map +1 -0
- package/lib/chunk-H4HF6EEU.js +77 -0
- package/lib/chunk-H4HF6EEU.js.map +1 -0
- package/lib/chunk-H4HUFIWL.cjs +84 -0
- package/lib/chunk-H4HUFIWL.cjs.map +1 -0
- package/lib/chunk-HHVBAXKQ.js +75 -0
- package/lib/chunk-HHVBAXKQ.js.map +1 -0
- package/lib/chunk-HIXXUB6L.js +100 -0
- package/lib/chunk-HIXXUB6L.js.map +1 -0
- package/lib/chunk-HPPLGWM2.cjs +70 -0
- package/lib/chunk-HPPLGWM2.cjs.map +1 -0
- package/lib/chunk-HTIOMBO7.js +116 -0
- package/lib/chunk-HTIOMBO7.js.map +1 -0
- package/lib/chunk-HTXJD6EN.cjs +115 -0
- package/lib/chunk-HTXJD6EN.cjs.map +1 -0
- package/lib/chunk-I3WRPA4J.cjs +77 -0
- package/lib/chunk-I3WRPA4J.cjs.map +1 -0
- package/lib/chunk-I6SL6R6A.cjs +62 -0
- package/lib/chunk-I6SL6R6A.cjs.map +1 -0
- package/lib/chunk-I7BELWOZ.cjs +29 -0
- package/lib/chunk-I7BELWOZ.cjs.map +1 -0
- package/lib/chunk-IODO3GRL.cjs +170 -0
- package/lib/chunk-IODO3GRL.cjs.map +1 -0
- package/lib/chunk-IWIVCJZP.cjs +102 -0
- package/lib/chunk-IWIVCJZP.cjs.map +1 -0
- package/lib/chunk-J2Y6T6IN.js +120 -0
- package/lib/chunk-J2Y6T6IN.js.map +1 -0
- package/lib/chunk-J6K7L5VW.cjs +126 -0
- package/lib/chunk-J6K7L5VW.cjs.map +1 -0
- package/lib/chunk-JCHHPOT7.js +75 -0
- package/lib/chunk-JCHHPOT7.js.map +1 -0
- package/lib/chunk-JDEZCM7S.cjs +70 -0
- package/lib/chunk-JDEZCM7S.cjs.map +1 -0
- package/lib/chunk-JF57GVB2.cjs +193 -0
- package/lib/chunk-JF57GVB2.cjs.map +1 -0
- package/lib/chunk-JFSUTJFF.js +79 -0
- package/lib/chunk-JFSUTJFF.js.map +1 -0
- package/lib/chunk-JLJE2LDY.js +68 -0
- package/lib/chunk-JLJE2LDY.js.map +1 -0
- package/lib/chunk-JRT3ACN7.js +80 -0
- package/lib/chunk-JRT3ACN7.js.map +1 -0
- package/lib/chunk-JUAEZTVG.js +68 -0
- package/lib/chunk-JUAEZTVG.js.map +1 -0
- package/lib/chunk-JXGFGLHJ.js +59 -0
- package/lib/chunk-JXGFGLHJ.js.map +1 -0
- package/lib/chunk-K2XM5WOD.js +77 -0
- package/lib/chunk-K2XM5WOD.js.map +1 -0
- package/lib/chunk-K7ACN66H.js +60 -0
- package/lib/chunk-K7ACN66H.js.map +1 -0
- package/lib/chunk-KAMEZEWA.js +96 -0
- package/lib/chunk-KAMEZEWA.js.map +1 -0
- package/lib/chunk-KCJ5Q3RC.js +77 -0
- package/lib/chunk-KCJ5Q3RC.js.map +1 -0
- package/lib/chunk-KDT2QFFT.cjs +81 -0
- package/lib/chunk-KDT2QFFT.cjs.map +1 -0
- package/lib/chunk-KHWZJWFV.cjs +80 -0
- package/lib/chunk-KHWZJWFV.cjs.map +1 -0
- package/lib/chunk-KKCUNEDC.js +709 -0
- package/lib/chunk-KKCUNEDC.js.map +1 -0
- package/lib/chunk-KKFPVGSR.cjs +80 -0
- package/lib/chunk-KKFPVGSR.cjs.map +1 -0
- package/lib/chunk-KKHJJLMA.js +27 -0
- package/lib/chunk-KKHJJLMA.js.map +1 -0
- package/lib/chunk-KLKK2HYA.cjs +70 -0
- package/lib/chunk-KLKK2HYA.cjs.map +1 -0
- package/lib/chunk-KSBHVLHJ.js +321 -0
- package/lib/chunk-KSBHVLHJ.js.map +1 -0
- package/lib/chunk-KVSFJGOA.js +129 -0
- package/lib/chunk-KVSFJGOA.js.map +1 -0
- package/lib/chunk-KX5YC4QE.cjs +120 -0
- package/lib/chunk-KX5YC4QE.cjs.map +1 -0
- package/lib/chunk-L2I4FREQ.js +77 -0
- package/lib/chunk-L2I4FREQ.js.map +1 -0
- package/lib/chunk-L5LKAYAB.js +177 -0
- package/lib/chunk-L5LKAYAB.js.map +1 -0
- package/lib/chunk-L7PKARTY.cjs +79 -0
- package/lib/chunk-L7PKARTY.cjs.map +1 -0
- package/lib/chunk-LKRQUDCQ.js +51 -0
- package/lib/chunk-LKRQUDCQ.js.map +1 -0
- package/lib/chunk-LKYITM53.cjs +88 -0
- package/lib/chunk-LKYITM53.cjs.map +1 -0
- package/lib/chunk-LOCGW4UZ.js +68 -0
- package/lib/chunk-LOCGW4UZ.js.map +1 -0
- package/lib/chunk-LRQC72OM.js +87 -0
- package/lib/chunk-LRQC72OM.js.map +1 -0
- package/lib/chunk-LSQVELFQ.cjs +313 -0
- package/lib/chunk-LSQVELFQ.cjs.map +1 -0
- package/lib/chunk-LTUUDUV4.js +24 -0
- package/lib/chunk-LTUUDUV4.js.map +1 -0
- package/lib/chunk-LUAW6PVB.cjs +52 -0
- package/lib/chunk-LUAW6PVB.cjs.map +1 -0
- package/lib/chunk-LWMBA3O2.js +82 -0
- package/lib/chunk-LWMBA3O2.js.map +1 -0
- package/lib/chunk-M4RBYRV3.js +67 -0
- package/lib/chunk-M4RBYRV3.js.map +1 -0
- package/lib/chunk-M6OJPQJ4.js +77 -0
- package/lib/chunk-M6OJPQJ4.js.map +1 -0
- package/lib/chunk-M7J2SDJC.cjs +53 -0
- package/lib/chunk-M7J2SDJC.cjs.map +1 -0
- package/lib/chunk-MBJR7LV2.cjs +77 -0
- package/lib/chunk-MBJR7LV2.cjs.map +1 -0
- package/lib/chunk-MCODGGUN.js +60 -0
- package/lib/chunk-MCODGGUN.js.map +1 -0
- package/lib/chunk-MEZMS5RE.cjs +86 -0
- package/lib/chunk-MEZMS5RE.cjs.map +1 -0
- package/lib/chunk-MIREPRUH.js +86 -0
- package/lib/chunk-MIREPRUH.js.map +1 -0
- package/lib/chunk-MOHY2GQS.js +78 -0
- package/lib/chunk-MOHY2GQS.js.map +1 -0
- package/lib/chunk-MQ43UMAN.js +191 -0
- package/lib/chunk-MQ43UMAN.js.map +1 -0
- package/lib/chunk-MUWHE7HE.cjs +61 -0
- package/lib/chunk-MUWHE7HE.cjs.map +1 -0
- package/lib/chunk-MWRGTRKR.js +241 -0
- package/lib/chunk-MWRGTRKR.js.map +1 -0
- package/lib/chunk-MZAPRZJ5.cjs +91 -0
- package/lib/chunk-MZAPRZJ5.cjs.map +1 -0
- package/lib/chunk-N37YHRKP.js +58 -0
- package/lib/chunk-N37YHRKP.js.map +1 -0
- package/lib/chunk-NCDURU7R.js +51 -0
- package/lib/chunk-NCDURU7R.js.map +1 -0
- package/lib/chunk-NGFQ7KED.js +92 -0
- package/lib/chunk-NGFQ7KED.js.map +1 -0
- package/lib/chunk-NIGW2WJZ.js +100 -0
- package/lib/chunk-NIGW2WJZ.js.map +1 -0
- package/lib/chunk-NOEFPOPE.js +77 -0
- package/lib/chunk-NOEFPOPE.js.map +1 -0
- package/lib/chunk-NPES3RMM.cjs +98 -0
- package/lib/chunk-NPES3RMM.cjs.map +1 -0
- package/lib/chunk-O533BGM3.cjs +323 -0
- package/lib/chunk-O533BGM3.cjs.map +1 -0
- package/lib/chunk-O6SULED7.js +191 -0
- package/lib/chunk-O6SULED7.js.map +1 -0
- package/lib/chunk-OGTS3FUY.cjs +67 -0
- package/lib/chunk-OGTS3FUY.cjs.map +1 -0
- package/lib/chunk-OOHRQZZD.cjs +84 -0
- package/lib/chunk-OOHRQZZD.cjs.map +1 -0
- package/lib/chunk-OOL5BY5X.js +96 -0
- package/lib/chunk-OOL5BY5X.js.map +1 -0
- package/lib/chunk-OS6CCKJ2.cjs +55 -0
- package/lib/chunk-OS6CCKJ2.cjs.map +1 -0
- package/lib/chunk-OVVCRTP7.js +203 -0
- package/lib/chunk-OVVCRTP7.js.map +1 -0
- package/lib/chunk-OWHODKLW.cjs +614 -0
- package/lib/chunk-OWHODKLW.cjs.map +1 -0
- package/lib/chunk-OXGUUNU2.js +68 -0
- package/lib/chunk-OXGUUNU2.js.map +1 -0
- package/lib/chunk-P6LNSPOI.cjs +53 -0
- package/lib/chunk-P6LNSPOI.cjs.map +1 -0
- package/lib/chunk-PHBLKRKQ.cjs +70 -0
- package/lib/chunk-PHBLKRKQ.cjs.map +1 -0
- package/lib/chunk-PHYWUU7V.js +84 -0
- package/lib/chunk-PHYWUU7V.js.map +1 -0
- package/lib/chunk-PIPNMGPH.cjs +79 -0
- package/lib/chunk-PIPNMGPH.cjs.map +1 -0
- package/lib/chunk-PSLEKRZK.cjs +198 -0
- package/lib/chunk-PSLEKRZK.cjs.map +1 -0
- package/lib/chunk-PX7JHWRT.js +65 -0
- package/lib/chunk-PX7JHWRT.js.map +1 -0
- package/lib/chunk-Q6VOWBEQ.cjs +125 -0
- package/lib/chunk-Q6VOWBEQ.cjs.map +1 -0
- package/lib/chunk-QHRU26FW.js +75 -0
- package/lib/chunk-QHRU26FW.js.map +1 -0
- package/lib/chunk-QJ7CAGZ5.js +83 -0
- package/lib/chunk-QJ7CAGZ5.js.map +1 -0
- package/lib/chunk-QMN65ZNB.js +77 -0
- package/lib/chunk-QMN65ZNB.js.map +1 -0
- package/lib/chunk-QORYWNNP.cjs +63 -0
- package/lib/chunk-QORYWNNP.cjs.map +1 -0
- package/lib/chunk-QTGLEGGW.cjs +89 -0
- package/lib/chunk-QTGLEGGW.cjs.map +1 -0
- package/lib/chunk-QWN7WOZ5.cjs +79 -0
- package/lib/chunk-QWN7WOZ5.cjs.map +1 -0
- package/lib/chunk-QX7FGLBA.js +60 -0
- package/lib/chunk-QX7FGLBA.js.map +1 -0
- package/lib/chunk-QYNCY3YO.js +51 -0
- package/lib/chunk-QYNCY3YO.js.map +1 -0
- package/lib/chunk-QZUT3LHW.cjs +70 -0
- package/lib/chunk-QZUT3LHW.cjs.map +1 -0
- package/lib/chunk-R5TTR22O.cjs +81 -0
- package/lib/chunk-R5TTR22O.cjs.map +1 -0
- package/lib/chunk-RBVNKEEP.cjs +79 -0
- package/lib/chunk-RBVNKEEP.cjs.map +1 -0
- package/lib/chunk-RDB6NEE4.cjs +98 -0
- package/lib/chunk-RDB6NEE4.cjs.map +1 -0
- package/lib/chunk-RGVEG53S.js +168 -0
- package/lib/chunk-RGVEG53S.js.map +1 -0
- package/lib/chunk-RKMVLTAY.cjs +70 -0
- package/lib/chunk-RKMVLTAY.cjs.map +1 -0
- package/lib/chunk-RMANZCYG.cjs +70 -0
- package/lib/chunk-RMANZCYG.cjs.map +1 -0
- package/lib/chunk-RPRYQAVD.js +69 -0
- package/lib/chunk-RPRYQAVD.js.map +1 -0
- package/lib/chunk-RQ5M3VRG.js +118 -0
- package/lib/chunk-RQ5M3VRG.js.map +1 -0
- package/lib/chunk-RQRSN6GK.cjs +70 -0
- package/lib/chunk-RQRSN6GK.cjs.map +1 -0
- package/lib/chunk-RTLI25A2.cjs +118 -0
- package/lib/chunk-RTLI25A2.cjs.map +1 -0
- package/lib/chunk-RXSGRNKJ.js +50 -0
- package/lib/chunk-RXSGRNKJ.js.map +1 -0
- package/lib/chunk-S5LBERKZ.cjs +79 -0
- package/lib/chunk-S5LBERKZ.cjs.map +1 -0
- package/lib/chunk-S7AZ2CAV.cjs +62 -0
- package/lib/chunk-S7AZ2CAV.cjs.map +1 -0
- package/lib/chunk-SBCHXAFH.js +77 -0
- package/lib/chunk-SBCHXAFH.js.map +1 -0
- package/lib/chunk-SG6BDPDG.js +177 -0
- package/lib/chunk-SG6BDPDG.js.map +1 -0
- package/lib/chunk-SH2MT5YH.js +59 -0
- package/lib/chunk-SH2MT5YH.js.map +1 -0
- package/lib/chunk-SJAPPBAX.cjs +84 -0
- package/lib/chunk-SJAPPBAX.cjs.map +1 -0
- package/lib/chunk-SNYNOS4X.js +89 -0
- package/lib/chunk-SNYNOS4X.js.map +1 -0
- package/lib/chunk-SRUNHFBP.cjs +179 -0
- package/lib/chunk-SRUNHFBP.cjs.map +1 -0
- package/lib/chunk-T2QY74EE.cjs +122 -0
- package/lib/chunk-T2QY74EE.cjs.map +1 -0
- package/lib/chunk-T33HICMW.cjs +53 -0
- package/lib/chunk-T33HICMW.cjs.map +1 -0
- package/lib/chunk-T44NBZHI.cjs +134 -0
- package/lib/chunk-T44NBZHI.cjs.map +1 -0
- package/lib/chunk-T5HTYZIG.cjs +120 -0
- package/lib/chunk-T5HTYZIG.cjs.map +1 -0
- package/lib/chunk-TLA45WNE.js +53 -0
- package/lib/chunk-TLA45WNE.js.map +1 -0
- package/lib/chunk-TLYNUT46.js +191 -0
- package/lib/chunk-TLYNUT46.js.map +1 -0
- package/lib/chunk-TQJXJSPS.js +77 -0
- package/lib/chunk-TQJXJSPS.js.map +1 -0
- package/lib/chunk-TR7P3VDX.js +96 -0
- package/lib/chunk-TR7P3VDX.js.map +1 -0
- package/lib/chunk-TXK5K43E.js +82 -0
- package/lib/chunk-TXK5K43E.js.map +1 -0
- package/lib/chunk-TZICXIFV.js +113 -0
- package/lib/chunk-TZICXIFV.js.map +1 -0
- package/lib/chunk-TZXOKIVJ.js +86 -0
- package/lib/chunk-TZXOKIVJ.js.map +1 -0
- package/lib/chunk-UIXOF5WD.js +60 -0
- package/lib/chunk-UIXOF5WD.js.map +1 -0
- package/lib/chunk-UL36HJRH.cjs +179 -0
- package/lib/chunk-UL36HJRH.cjs.map +1 -0
- package/lib/chunk-UN5ADA3I.js +89 -0
- package/lib/chunk-UN5ADA3I.js.map +1 -0
- package/lib/chunk-UQA3V7EQ.cjs +193 -0
- package/lib/chunk-UQA3V7EQ.cjs.map +1 -0
- package/lib/chunk-US3S3AKJ.cjs +77 -0
- package/lib/chunk-US3S3AKJ.cjs.map +1 -0
- package/lib/chunk-UT5ALTP2.js +164 -0
- package/lib/chunk-UT5ALTP2.js.map +1 -0
- package/lib/chunk-UT7EZWLA.cjs +71 -0
- package/lib/chunk-UT7EZWLA.cjs.map +1 -0
- package/lib/chunk-UZZEUGAU.cjs +88 -0
- package/lib/chunk-UZZEUGAU.cjs.map +1 -0
- package/lib/chunk-V6ZTOCIP.cjs +44 -0
- package/lib/chunk-V6ZTOCIP.cjs.map +1 -0
- package/lib/chunk-VALGSE43.cjs +38 -0
- package/lib/chunk-VALGSE43.cjs.map +1 -0
- package/lib/chunk-VF2O2LL2.cjs +91 -0
- package/lib/chunk-VF2O2LL2.cjs.map +1 -0
- package/lib/chunk-VKKABEIF.js +91 -0
- package/lib/chunk-VKKABEIF.js.map +1 -0
- package/lib/chunk-VMIJFFMR.cjs +98 -0
- package/lib/chunk-VMIJFFMR.cjs.map +1 -0
- package/lib/chunk-VQL2GDOC.js +65 -0
- package/lib/chunk-VQL2GDOC.js.map +1 -0
- package/lib/chunk-W4TRA2O2.cjs +102 -0
- package/lib/chunk-W4TRA2O2.cjs.map +1 -0
- package/lib/chunk-W7HLFWQY.cjs +182 -0
- package/lib/chunk-W7HLFWQY.cjs.map +1 -0
- package/lib/chunk-WBWYSOBQ.js +177 -0
- package/lib/chunk-WBWYSOBQ.js.map +1 -0
- package/lib/chunk-WGBYJEHX.cjs +179 -0
- package/lib/chunk-WGBYJEHX.cjs.map +1 -0
- package/lib/chunk-WGJFSDBA.cjs +93 -0
- package/lib/chunk-WGJFSDBA.cjs.map +1 -0
- package/lib/chunk-WHX5YI6H.js +51 -0
- package/lib/chunk-WHX5YI6H.js.map +1 -0
- package/lib/chunk-WIDPMSU4.cjs +179 -0
- package/lib/chunk-WIDPMSU4.cjs.map +1 -0
- package/lib/chunk-WISBTS3C.cjs +79 -0
- package/lib/chunk-WISBTS3C.cjs.map +1 -0
- package/lib/chunk-WLKLPLXH.cjs +70 -0
- package/lib/chunk-WLKLPLXH.cjs.map +1 -0
- package/lib/chunk-WNCRJM76.js +120 -0
- package/lib/chunk-WNCRJM76.js.map +1 -0
- package/lib/chunk-WOD46TWU.js +96 -0
- package/lib/chunk-WOD46TWU.js.map +1 -0
- package/lib/chunk-WROORM6M.js +116 -0
- package/lib/chunk-WROORM6M.js.map +1 -0
- package/lib/chunk-WSSSFMLB.cjs +131 -0
- package/lib/chunk-WSSSFMLB.cjs.map +1 -0
- package/lib/chunk-WYHWZDME.js +82 -0
- package/lib/chunk-WYHWZDME.js.map +1 -0
- package/lib/chunk-WZKYHIUM.cjs +52 -0
- package/lib/chunk-WZKYHIUM.cjs.map +1 -0
- package/lib/chunk-X3NJTGAQ.js +45 -0
- package/lib/chunk-X3NJTGAQ.js.map +1 -0
- package/lib/chunk-X7J5ETGR.cjs +96 -0
- package/lib/chunk-X7J5ETGR.cjs.map +1 -0
- package/lib/chunk-XEZW6I2I.js +42 -0
- package/lib/chunk-XEZW6I2I.js.map +1 -0
- package/lib/chunk-XFFPZEJQ.cjs +40 -0
- package/lib/chunk-XFFPZEJQ.cjs.map +1 -0
- package/lib/chunk-XVMHGTZT.js +11 -0
- package/lib/chunk-XVMHGTZT.js.map +1 -0
- package/lib/chunk-YD6OZ4RO.cjs +712 -0
- package/lib/chunk-YD6OZ4RO.cjs.map +1 -0
- package/lib/chunk-YTWBZTJI.js +94 -0
- package/lib/chunk-YTWBZTJI.js.map +1 -0
- package/lib/chunk-YV756IAI.cjs +62 -0
- package/lib/chunk-YV756IAI.cjs.map +1 -0
- package/lib/chunk-YVX5EI7G.cjs +122 -0
- package/lib/chunk-YVX5EI7G.cjs.map +1 -0
- package/lib/chunk-YX2YHZDI.cjs +70 -0
- package/lib/chunk-YX2YHZDI.cjs.map +1 -0
- package/lib/chunk-YXCYLDXT.cjs +179 -0
- package/lib/chunk-YXCYLDXT.cjs.map +1 -0
- package/lib/chunk-YYOW53OQ.js +68 -0
- package/lib/chunk-YYOW53OQ.js.map +1 -0
- package/lib/chunk-Z3KQDJAD.cjs +26 -0
- package/lib/chunk-Z3KQDJAD.cjs.map +1 -0
- package/lib/chunk-ZCQOTKMF.js +177 -0
- package/lib/chunk-ZCQOTKMF.js.map +1 -0
- package/lib/chunk-ZDBMDLOT.js +86 -0
- package/lib/chunk-ZDBMDLOT.js.map +1 -0
- package/lib/chunk-ZQY6GVML.cjs +14 -0
- package/lib/chunk-ZQY6GVML.cjs.map +1 -0
- package/lib/chunk-ZYT2EPDD.js +305 -0
- package/lib/chunk-ZYT2EPDD.js.map +1 -0
- package/lib/client.cjs +3 -3
- package/lib/client.js +2 -2
- package/lib/commercelayer.cjs +9 -9
- 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 +147 -148
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +14 -5
- package/lib/index.d.ts +12 -2
- package/lib/index.js +147 -140
- package/lib/index.js.map +1 -1
- package/lib/jsonapi.cjs +5 -5
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- package/lib/jsonapi.js +3 -3
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/query.d.cts +1 -1
- package/lib/query.d.ts +1 -1
- package/lib/resource.cjs +8 -8
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resource.js +3 -3
- 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 +280 -281
- package/lib/single-client.cjs.map +1 -1
- package/lib/single-client.d.cts +15 -5
- package/lib/single-client.d.ts +13 -2
- package/lib/single-client.js +146 -139
- 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 +3 -3
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/lib/api-BrD0VGs7.d.ts +0 -18490
- package/lib/api-p_JJnFXy.d.cts +0 -18490
- package/lib/chunk-27JY4ULD.js +0 -45
- package/lib/chunk-27JY4ULD.js.map +0 -1
- package/lib/chunk-2A2L2CKF.js +0 -75
- package/lib/chunk-2A2L2CKF.js.map +0 -1
- package/lib/chunk-2FPWAQJJ.js +0 -96
- package/lib/chunk-2FPWAQJJ.js.map +0 -1
- package/lib/chunk-2KTN65O5.cjs +0 -70
- package/lib/chunk-2KTN65O5.cjs.map +0 -1
- package/lib/chunk-2PFTQHFT.js +0 -79
- package/lib/chunk-2PFTQHFT.js.map +0 -1
- package/lib/chunk-2SPJZDGK.js +0 -80
- package/lib/chunk-2SPJZDGK.js.map +0 -1
- package/lib/chunk-2YNRSRZU.cjs +0 -102
- package/lib/chunk-2YNRSRZU.cjs.map +0 -1
- package/lib/chunk-32JKZIM5.js +0 -68
- package/lib/chunk-32JKZIM5.js.map +0 -1
- package/lib/chunk-36O6EEZT.cjs +0 -53
- package/lib/chunk-36O6EEZT.cjs.map +0 -1
- package/lib/chunk-37KCG4S4.cjs +0 -79
- package/lib/chunk-37KCG4S4.cjs.map +0 -1
- package/lib/chunk-3DQIXZAG.js +0 -129
- package/lib/chunk-3DQIXZAG.js.map +0 -1
- package/lib/chunk-3FZPEWUV.cjs +0 -91
- package/lib/chunk-3FZPEWUV.cjs.map +0 -1
- package/lib/chunk-3M6XJ7NN.js +0 -100
- package/lib/chunk-3M6XJ7NN.js.map +0 -1
- package/lib/chunk-3NBRFRLX.cjs +0 -125
- package/lib/chunk-3NBRFRLX.cjs.map +0 -1
- package/lib/chunk-3OLFEEMC.js +0 -100
- package/lib/chunk-3OLFEEMC.js.map +0 -1
- package/lib/chunk-3QD74K3Q.cjs +0 -53
- package/lib/chunk-3QD74K3Q.cjs.map +0 -1
- package/lib/chunk-3SW2ASSY.js +0 -60
- package/lib/chunk-3SW2ASSY.js.map +0 -1
- package/lib/chunk-3XPISUB4.js +0 -42
- package/lib/chunk-3XPISUB4.js.map +0 -1
- package/lib/chunk-47ZNGHD4.js +0 -77
- package/lib/chunk-47ZNGHD4.js.map +0 -1
- package/lib/chunk-4PQ23R44.cjs +0 -62
- package/lib/chunk-4PQ23R44.cjs.map +0 -1
- package/lib/chunk-4VNGP4WP.js +0 -100
- package/lib/chunk-4VNGP4WP.js.map +0 -1
- package/lib/chunk-4XVOXNET.cjs +0 -70
- package/lib/chunk-4XVOXNET.cjs.map +0 -1
- package/lib/chunk-4YWYHTLB.js +0 -68
- package/lib/chunk-4YWYHTLB.js.map +0 -1
- package/lib/chunk-55KBBWVE.cjs +0 -62
- package/lib/chunk-55KBBWVE.cjs.map +0 -1
- package/lib/chunk-5BZCMLOG.cjs +0 -38
- package/lib/chunk-5BZCMLOG.cjs.map +0 -1
- package/lib/chunk-5DKOODMA.cjs +0 -91
- package/lib/chunk-5DKOODMA.cjs.map +0 -1
- package/lib/chunk-5MSW2F5A.js +0 -58
- package/lib/chunk-5MSW2F5A.js.map +0 -1
- package/lib/chunk-5NDRJ2CN.cjs +0 -79
- package/lib/chunk-5NDRJ2CN.cjs.map +0 -1
- package/lib/chunk-5RDGD6N2.js +0 -82
- package/lib/chunk-5RDGD6N2.js.map +0 -1
- package/lib/chunk-5TLQ5NEK.js +0 -60
- package/lib/chunk-5TLQ5NEK.js.map +0 -1
- package/lib/chunk-5WLJRGB6.cjs +0 -89
- package/lib/chunk-5WLJRGB6.cjs.map +0 -1
- package/lib/chunk-5WSJNCYM.cjs +0 -44
- package/lib/chunk-5WSJNCYM.cjs.map +0 -1
- package/lib/chunk-5YY7PVEO.js +0 -191
- package/lib/chunk-5YY7PVEO.js.map +0 -1
- package/lib/chunk-5Z5QSUVM.cjs +0 -71
- package/lib/chunk-5Z5QSUVM.cjs.map +0 -1
- package/lib/chunk-5ZPUTH6R.cjs +0 -62
- package/lib/chunk-5ZPUTH6R.cjs.map +0 -1
- package/lib/chunk-65HWKNSV.cjs +0 -71
- package/lib/chunk-65HWKNSV.cjs.map +0 -1
- package/lib/chunk-6BUTICKQ.js +0 -75
- package/lib/chunk-6BUTICKQ.js.map +0 -1
- package/lib/chunk-6F3SJXD3.cjs +0 -62
- package/lib/chunk-6F3SJXD3.cjs.map +0 -1
- package/lib/chunk-6JIKAK5C.js +0 -77
- package/lib/chunk-6JIKAK5C.js.map +0 -1
- package/lib/chunk-6JP6GEER.cjs +0 -70
- package/lib/chunk-6JP6GEER.cjs.map +0 -1
- package/lib/chunk-6L3AE23J.cjs +0 -193
- package/lib/chunk-6L3AE23J.cjs.map +0 -1
- package/lib/chunk-6NPLS5UO.cjs +0 -60
- package/lib/chunk-6NPLS5UO.cjs.map +0 -1
- package/lib/chunk-6R6A75PL.cjs +0 -712
- package/lib/chunk-6R6A75PL.cjs.map +0 -1
- package/lib/chunk-6UATBFH6.cjs +0 -614
- package/lib/chunk-6UATBFH6.cjs.map +0 -1
- package/lib/chunk-7CMX56OH.cjs +0 -62
- package/lib/chunk-7CMX56OH.cjs.map +0 -1
- package/lib/chunk-7CZ5BGBN.js +0 -60
- package/lib/chunk-7CZ5BGBN.js.map +0 -1
- package/lib/chunk-7EGB7KLE.cjs +0 -70
- package/lib/chunk-7EGB7KLE.cjs.map +0 -1
- package/lib/chunk-7FXEYH5P.js +0 -77
- package/lib/chunk-7FXEYH5P.js.map +0 -1
- package/lib/chunk-7HJJTBA5.cjs +0 -88
- package/lib/chunk-7HJJTBA5.cjs.map +0 -1
- package/lib/chunk-7J7U2OVV.cjs +0 -44
- package/lib/chunk-7J7U2OVV.cjs.map +0 -1
- package/lib/chunk-7KAEFUHR.js +0 -58
- package/lib/chunk-7KAEFUHR.js.map +0 -1
- package/lib/chunk-7LWJU3MC.js +0 -77
- package/lib/chunk-7LWJU3MC.js.map +0 -1
- package/lib/chunk-7MKSY64F.cjs +0 -77
- package/lib/chunk-7MKSY64F.cjs.map +0 -1
- package/lib/chunk-7NXUTO5Z.cjs +0 -70
- package/lib/chunk-7NXUTO5Z.cjs.map +0 -1
- package/lib/chunk-7YLXO22M.js +0 -78
- package/lib/chunk-7YLXO22M.js.map +0 -1
- package/lib/chunk-7ZNP5ZRX.cjs +0 -182
- package/lib/chunk-7ZNP5ZRX.cjs.map +0 -1
- package/lib/chunk-A5MOUKBT.cjs +0 -81
- package/lib/chunk-A5MOUKBT.cjs.map +0 -1
- package/lib/chunk-ACLWKVZH.cjs +0 -179
- package/lib/chunk-ACLWKVZH.cjs.map +0 -1
- package/lib/chunk-AH4P3KIO.cjs +0 -198
- package/lib/chunk-AH4P3KIO.cjs.map +0 -1
- package/lib/chunk-AIQS4XI7.cjs +0 -70
- package/lib/chunk-AIQS4XI7.cjs.map +0 -1
- package/lib/chunk-AQ6OHDUF.js +0 -709
- package/lib/chunk-AQ6OHDUF.js.map +0 -1
- package/lib/chunk-ARM4HSQI.cjs +0 -98
- package/lib/chunk-ARM4HSQI.cjs.map +0 -1
- package/lib/chunk-AUQHYYKJ.cjs +0 -60
- package/lib/chunk-AUQHYYKJ.cjs.map +0 -1
- package/lib/chunk-AXXSDR45.js +0 -96
- package/lib/chunk-AXXSDR45.js.map +0 -1
- package/lib/chunk-AYXJJKWA.js +0 -75
- package/lib/chunk-AYXJJKWA.js.map +0 -1
- package/lib/chunk-B5P3GWI5.js +0 -67
- package/lib/chunk-B5P3GWI5.js.map +0 -1
- package/lib/chunk-B5XPPQC7.cjs +0 -70
- package/lib/chunk-B5XPPQC7.cjs.map +0 -1
- package/lib/chunk-BD3ASC6K.cjs +0 -84
- package/lib/chunk-BD3ASC6K.cjs.map +0 -1
- package/lib/chunk-BDZQCGCJ.cjs +0 -77
- package/lib/chunk-BDZQCGCJ.cjs.map +0 -1
- package/lib/chunk-BEANHXLX.js +0 -612
- package/lib/chunk-BEANHXLX.js.map +0 -1
- package/lib/chunk-BF5HDO3M.cjs +0 -70
- package/lib/chunk-BF5HDO3M.cjs.map +0 -1
- package/lib/chunk-BFQFVHLA.cjs +0 -94
- package/lib/chunk-BFQFVHLA.cjs.map +0 -1
- package/lib/chunk-BTFN2FBP.js +0 -69
- package/lib/chunk-BTFN2FBP.js.map +0 -1
- package/lib/chunk-BY57BZ6S.cjs +0 -79
- package/lib/chunk-BY57BZ6S.cjs.map +0 -1
- package/lib/chunk-CDWXHURD.js +0 -96
- package/lib/chunk-CDWXHURD.js.map +0 -1
- package/lib/chunk-CEAYZF3Z.js +0 -120
- package/lib/chunk-CEAYZF3Z.js.map +0 -1
- package/lib/chunk-CEBLLOSH.cjs +0 -79
- package/lib/chunk-CEBLLOSH.cjs.map +0 -1
- package/lib/chunk-CEZGXW2V.cjs +0 -102
- package/lib/chunk-CEZGXW2V.cjs.map +0 -1
- package/lib/chunk-CITYMGFY.js +0 -78
- package/lib/chunk-CITYMGFY.js.map +0 -1
- package/lib/chunk-CK2UROFT.js +0 -68
- package/lib/chunk-CK2UROFT.js.map +0 -1
- package/lib/chunk-CMQ4CS3C.cjs +0 -84
- package/lib/chunk-CMQ4CS3C.cjs.map +0 -1
- package/lib/chunk-CMRTIKRS.cjs +0 -98
- package/lib/chunk-CMRTIKRS.cjs.map +0 -1
- package/lib/chunk-COCVOAAR.js +0 -168
- package/lib/chunk-COCVOAAR.js.map +0 -1
- package/lib/chunk-CPC4EDUN.js +0 -60
- package/lib/chunk-CPC4EDUN.js.map +0 -1
- package/lib/chunk-CQMGOKLY.js +0 -89
- package/lib/chunk-CQMGOKLY.js.map +0 -1
- package/lib/chunk-D433AVZU.cjs +0 -61
- package/lib/chunk-D433AVZU.cjs.map +0 -1
- package/lib/chunk-DGMBHG2D.cjs +0 -122
- package/lib/chunk-DGMBHG2D.cjs.map +0 -1
- package/lib/chunk-DH4T5JRD.cjs +0 -47
- package/lib/chunk-DH4T5JRD.cjs.map +0 -1
- package/lib/chunk-DIDUU3HJ.cjs +0 -98
- package/lib/chunk-DIDUU3HJ.cjs.map +0 -1
- package/lib/chunk-DJRBZJME.js +0 -116
- package/lib/chunk-DJRBZJME.js.map +0 -1
- package/lib/chunk-DN2TPVPQ.js +0 -84
- package/lib/chunk-DN2TPVPQ.js.map +0 -1
- package/lib/chunk-DVXTCITU.js +0 -86
- package/lib/chunk-DVXTCITU.js.map +0 -1
- package/lib/chunk-DXMFGRLZ.js +0 -83
- package/lib/chunk-DXMFGRLZ.js.map +0 -1
- package/lib/chunk-E5XRQXA3.cjs +0 -193
- package/lib/chunk-E5XRQXA3.cjs.map +0 -1
- package/lib/chunk-E6G7T2X4.cjs +0 -14
- package/lib/chunk-E6G7T2X4.cjs.map +0 -1
- package/lib/chunk-ECE464P6.js +0 -68
- package/lib/chunk-ECE464P6.js.map +0 -1
- package/lib/chunk-ECFID6YL.cjs +0 -179
- package/lib/chunk-ECFID6YL.cjs.map +0 -1
- package/lib/chunk-EG2D35UQ.js +0 -77
- package/lib/chunk-EG2D35UQ.js.map +0 -1
- package/lib/chunk-EIPT5P4Q.cjs +0 -120
- package/lib/chunk-EIPT5P4Q.cjs.map +0 -1
- package/lib/chunk-EJXIWONM.cjs +0 -88
- package/lib/chunk-EJXIWONM.cjs.map +0 -1
- package/lib/chunk-ELXHUTOX.js +0 -82
- package/lib/chunk-ELXHUTOX.js.map +0 -1
- package/lib/chunk-ENLBWOGO.cjs +0 -86
- package/lib/chunk-ENLBWOGO.cjs.map +0 -1
- package/lib/chunk-ENY5ZEDH.js +0 -65
- package/lib/chunk-ENY5ZEDH.js.map +0 -1
- package/lib/chunk-EQQVT4VQ.js +0 -77
- package/lib/chunk-EQQVT4VQ.js.map +0 -1
- package/lib/chunk-ESIW5CXF.js +0 -91
- package/lib/chunk-ESIW5CXF.js.map +0 -1
- package/lib/chunk-EWUUQ4L5.cjs +0 -62
- package/lib/chunk-EWUUQ4L5.cjs.map +0 -1
- package/lib/chunk-F5BYJ3P2.js +0 -59
- package/lib/chunk-F5BYJ3P2.js.map +0 -1
- package/lib/chunk-F7QAC5GG.js +0 -33
- package/lib/chunk-F7QAC5GG.js.map +0 -1
- package/lib/chunk-F7T5ONOF.js +0 -163
- package/lib/chunk-F7T5ONOF.js.map +0 -1
- package/lib/chunk-FCBQU5M7.js +0 -79
- package/lib/chunk-FCBQU5M7.js.map +0 -1
- package/lib/chunk-FCHVA2JJ.cjs +0 -70
- package/lib/chunk-FCHVA2JJ.cjs.map +0 -1
- package/lib/chunk-FEANKEWU.cjs +0 -52
- package/lib/chunk-FEANKEWU.cjs.map +0 -1
- package/lib/chunk-FHZ4JRXD.js +0 -118
- package/lib/chunk-FHZ4JRXD.js.map +0 -1
- package/lib/chunk-FIFWQWWX.js +0 -79
- package/lib/chunk-FIFWQWWX.js.map +0 -1
- package/lib/chunk-FIOQCCDK.js +0 -53
- package/lib/chunk-FIOQCCDK.js.map +0 -1
- package/lib/chunk-FJUOPWWJ.js +0 -77
- package/lib/chunk-FJUOPWWJ.js.map +0 -1
- package/lib/chunk-FKZUAC4B.cjs +0 -79
- package/lib/chunk-FKZUAC4B.cjs.map +0 -1
- package/lib/chunk-FRDOPI4T.cjs +0 -79
- package/lib/chunk-FRDOPI4T.cjs.map +0 -1
- package/lib/chunk-FVWXA45V.cjs +0 -179
- package/lib/chunk-FVWXA45V.cjs.map +0 -1
- package/lib/chunk-G2AIQH2C.js +0 -60
- package/lib/chunk-G2AIQH2C.js.map +0 -1
- package/lib/chunk-G34UCKUZ.cjs +0 -91
- package/lib/chunk-G34UCKUZ.cjs.map +0 -1
- package/lib/chunk-G4LJVHIH.js +0 -42
- package/lib/chunk-G4LJVHIH.js.map +0 -1
- package/lib/chunk-G6D5G6IF.cjs +0 -166
- package/lib/chunk-G6D5G6IF.cjs.map +0 -1
- package/lib/chunk-GGISBFEU.cjs +0 -69
- package/lib/chunk-GGISBFEU.cjs.map +0 -1
- package/lib/chunk-GGZNCXGR.js +0 -24
- package/lib/chunk-GGZNCXGR.js.map +0 -1
- package/lib/chunk-GINNGSFR.cjs +0 -120
- package/lib/chunk-GINNGSFR.cjs.map +0 -1
- package/lib/chunk-GNSSCO7B.js +0 -38
- package/lib/chunk-GNSSCO7B.js.map +0 -1
- package/lib/chunk-GOF6YS2G.js +0 -241
- package/lib/chunk-GOF6YS2G.js.map +0 -1
- package/lib/chunk-GOK6KXUU.cjs +0 -52
- package/lib/chunk-GOK6KXUU.cjs.map +0 -1
- package/lib/chunk-GQNMEV3Q.cjs +0 -243
- package/lib/chunk-GQNMEV3Q.cjs.map +0 -1
- package/lib/chunk-GQU2VL6D.js +0 -59
- package/lib/chunk-GQU2VL6D.js.map +0 -1
- package/lib/chunk-GU6AYW56.cjs +0 -118
- package/lib/chunk-GU6AYW56.cjs.map +0 -1
- package/lib/chunk-GYKGN67Z.cjs +0 -70
- package/lib/chunk-GYKGN67Z.cjs.map +0 -1
- package/lib/chunk-H2SPYNQJ.js +0 -68
- package/lib/chunk-H2SPYNQJ.js.map +0 -1
- package/lib/chunk-H3JUBJ6N.js +0 -68
- package/lib/chunk-H3JUBJ6N.js.map +0 -1
- package/lib/chunk-HBQRDVGM.cjs +0 -79
- package/lib/chunk-HBQRDVGM.cjs.map +0 -1
- package/lib/chunk-HEL2QWYR.js +0 -196
- package/lib/chunk-HEL2QWYR.js.map +0 -1
- package/lib/chunk-HFIPME7H.cjs +0 -86
- package/lib/chunk-HFIPME7H.cjs.map +0 -1
- package/lib/chunk-HI4ESMWV.cjs +0 -44
- package/lib/chunk-HI4ESMWV.cjs.map +0 -1
- package/lib/chunk-HKHSTGP4.cjs +0 -120
- package/lib/chunk-HKHSTGP4.cjs.map +0 -1
- package/lib/chunk-HLMRSUWY.cjs +0 -88
- package/lib/chunk-HLMRSUWY.cjs.map +0 -1
- package/lib/chunk-HXHL7HRZ.cjs +0 -179
- package/lib/chunk-HXHL7HRZ.cjs.map +0 -1
- package/lib/chunk-HZMMDAUQ.cjs +0 -179
- package/lib/chunk-HZMMDAUQ.cjs.map +0 -1
- package/lib/chunk-I2JMQPUT.js +0 -42
- package/lib/chunk-I2JMQPUT.js.map +0 -1
- package/lib/chunk-I5EJCLGC.js +0 -51
- package/lib/chunk-I5EJCLGC.js.map +0 -1
- package/lib/chunk-I6QTNC6Y.cjs +0 -81
- package/lib/chunk-I6QTNC6Y.cjs.map +0 -1
- package/lib/chunk-IBQCEBT3.cjs +0 -96
- package/lib/chunk-IBQCEBT3.cjs.map +0 -1
- package/lib/chunk-IC7XKJ55.cjs +0 -61
- package/lib/chunk-IC7XKJ55.cjs.map +0 -1
- package/lib/chunk-ICFJKNCL.js +0 -89
- package/lib/chunk-ICFJKNCL.js.map +0 -1
- package/lib/chunk-IJS5RGNW.js +0 -77
- package/lib/chunk-IJS5RGNW.js.map +0 -1
- package/lib/chunk-ISR6D4PG.js +0 -68
- package/lib/chunk-ISR6D4PG.js.map +0 -1
- package/lib/chunk-IXKNMEYJ.js +0 -82
- package/lib/chunk-IXKNMEYJ.js.map +0 -1
- package/lib/chunk-J6K5KGCO.js +0 -84
- package/lib/chunk-J6K5KGCO.js.map +0 -1
- package/lib/chunk-JBZ3YPHB.js +0 -60
- package/lib/chunk-JBZ3YPHB.js.map +0 -1
- package/lib/chunk-JGMO7E75.cjs +0 -193
- package/lib/chunk-JGMO7E75.cjs.map +0 -1
- package/lib/chunk-JHK2ADFO.js +0 -116
- package/lib/chunk-JHK2ADFO.js.map +0 -1
- package/lib/chunk-JO3634ZB.cjs +0 -84
- package/lib/chunk-JO3634ZB.cjs.map +0 -1
- package/lib/chunk-JUZQNX6I.js +0 -42
- package/lib/chunk-JUZQNX6I.js.map +0 -1
- package/lib/chunk-JYEJBSLC.cjs +0 -91
- package/lib/chunk-JYEJBSLC.cjs.map +0 -1
- package/lib/chunk-K4W33IZP.cjs +0 -70
- package/lib/chunk-K4W33IZP.cjs.map +0 -1
- package/lib/chunk-KBQOXEYZ.cjs +0 -81
- package/lib/chunk-KBQOXEYZ.cjs.map +0 -1
- package/lib/chunk-KIYHIGIY.cjs +0 -179
- package/lib/chunk-KIYHIGIY.cjs.map +0 -1
- package/lib/chunk-KN6QR2VT.cjs +0 -79
- package/lib/chunk-KN6QR2VT.cjs.map +0 -1
- package/lib/chunk-LEVF3A5F.cjs +0 -93
- package/lib/chunk-LEVF3A5F.cjs.map +0 -1
- package/lib/chunk-LMJZ2K6P.js +0 -77
- package/lib/chunk-LMJZ2K6P.js.map +0 -1
- package/lib/chunk-LSBBCEX5.js +0 -305
- package/lib/chunk-LSBBCEX5.js.map +0 -1
- package/lib/chunk-LSH2CQLI.js +0 -68
- package/lib/chunk-LSH2CQLI.js.map +0 -1
- package/lib/chunk-LV5MM4CO.js +0 -118
- package/lib/chunk-LV5MM4CO.js.map +0 -1
- package/lib/chunk-LVETDD3O.cjs +0 -67
- package/lib/chunk-LVETDD3O.cjs.map +0 -1
- package/lib/chunk-LYKCJHYR.js +0 -94
- package/lib/chunk-LYKCJHYR.js.map +0 -1
- package/lib/chunk-M2L4OZJ6.cjs +0 -88
- package/lib/chunk-M2L4OZJ6.cjs.map +0 -1
- package/lib/chunk-MF5IYI5N.js +0 -11
- package/lib/chunk-MF5IYI5N.js.map +0 -1
- package/lib/chunk-MFEIFGUU.js +0 -124
- package/lib/chunk-MFEIFGUU.js.map +0 -1
- package/lib/chunk-MIJ6DRSS.js +0 -51
- package/lib/chunk-MIJ6DRSS.js.map +0 -1
- package/lib/chunk-MLMK3BYP.js +0 -27
- package/lib/chunk-MLMK3BYP.js.map +0 -1
- package/lib/chunk-MN7T5QVU.cjs +0 -70
- package/lib/chunk-MN7T5QVU.cjs.map +0 -1
- package/lib/chunk-MO3ADFGB.js +0 -50
- package/lib/chunk-MO3ADFGB.js.map +0 -1
- package/lib/chunk-MWQLDBWJ.js +0 -51
- package/lib/chunk-MWQLDBWJ.js.map +0 -1
- package/lib/chunk-N25XG3WB.cjs +0 -77
- package/lib/chunk-N25XG3WB.cjs.map +0 -1
- package/lib/chunk-N7HMWUKO.js +0 -177
- package/lib/chunk-N7HMWUKO.js.map +0 -1
- package/lib/chunk-N7RIOQEE.cjs +0 -205
- package/lib/chunk-N7RIOQEE.cjs.map +0 -1
- package/lib/chunk-NCHSV74A.js +0 -180
- package/lib/chunk-NCHSV74A.js.map +0 -1
- package/lib/chunk-NHCNGRUW.js +0 -321
- package/lib/chunk-NHCNGRUW.js.map +0 -1
- package/lib/chunk-NJJ3AQFY.cjs +0 -75
- package/lib/chunk-NJJ3AQFY.cjs.map +0 -1
- package/lib/chunk-NL47AA7V.cjs +0 -323
- package/lib/chunk-NL47AA7V.cjs.map +0 -1
- package/lib/chunk-NXWBNR4A.js +0 -75
- package/lib/chunk-NXWBNR4A.js.map +0 -1
- package/lib/chunk-NZ5R6RZP.js +0 -113
- package/lib/chunk-NZ5R6RZP.js.map +0 -1
- package/lib/chunk-O4UBVFXZ.cjs +0 -80
- package/lib/chunk-O4UBVFXZ.cjs.map +0 -1
- package/lib/chunk-O5NLCRMD.cjs +0 -131
- package/lib/chunk-O5NLCRMD.cjs.map +0 -1
- package/lib/chunk-O7ZCUDYF.js +0 -191
- package/lib/chunk-O7ZCUDYF.js.map +0 -1
- package/lib/chunk-OGZMICIO.cjs +0 -62
- package/lib/chunk-OGZMICIO.cjs.map +0 -1
- package/lib/chunk-OI4ZCY65.js +0 -68
- package/lib/chunk-OI4ZCY65.js.map +0 -1
- package/lib/chunk-OJGNL5XA.js +0 -87
- package/lib/chunk-OJGNL5XA.js.map +0 -1
- package/lib/chunk-OKXSPFSZ.js +0 -65
- package/lib/chunk-OKXSPFSZ.js.map +0 -1
- package/lib/chunk-OOS4I2K6.cjs +0 -70
- package/lib/chunk-OOS4I2K6.cjs.map +0 -1
- package/lib/chunk-OTRQ6CRD.cjs +0 -94
- package/lib/chunk-OTRQ6CRD.cjs.map +0 -1
- package/lib/chunk-OVAMOIAR.js +0 -51
- package/lib/chunk-OVAMOIAR.js.map +0 -1
- package/lib/chunk-OXGJX4G5.cjs +0 -79
- package/lib/chunk-OXGJX4G5.cjs.map +0 -1
- package/lib/chunk-OXLZLXNI.js +0 -86
- package/lib/chunk-OXLZLXNI.js.map +0 -1
- package/lib/chunk-OXTZP6XB.js +0 -123
- package/lib/chunk-OXTZP6XB.js.map +0 -1
- package/lib/chunk-OZ6L33P7.cjs +0 -40
- package/lib/chunk-OZ6L33P7.cjs.map +0 -1
- package/lib/chunk-P2IUL4K4.cjs +0 -52
- package/lib/chunk-P2IUL4K4.cjs.map +0 -1
- package/lib/chunk-P7FIQR6P.cjs +0 -91
- package/lib/chunk-P7FIQR6P.cjs.map +0 -1
- package/lib/chunk-PA3XKIYI.cjs +0 -98
- package/lib/chunk-PA3XKIYI.cjs.map +0 -1
- package/lib/chunk-QELDOHCC.cjs +0 -63
- package/lib/chunk-QELDOHCC.cjs.map +0 -1
- package/lib/chunk-QHJ6WOJI.js +0 -69
- package/lib/chunk-QHJ6WOJI.js.map +0 -1
- package/lib/chunk-QIYG7O7V.js +0 -77
- package/lib/chunk-QIYG7O7V.js.map +0 -1
- package/lib/chunk-QM3JEWRN.cjs +0 -93
- package/lib/chunk-QM3JEWRN.cjs.map +0 -1
- package/lib/chunk-QQAD7R24.js +0 -61
- package/lib/chunk-QQAD7R24.js.map +0 -1
- package/lib/chunk-QX4Z7FX4.js +0 -177
- package/lib/chunk-QX4Z7FX4.js.map +0 -1
- package/lib/chunk-QZBOTY6C.js +0 -203
- package/lib/chunk-QZBOTY6C.js.map +0 -1
- package/lib/chunk-R4LYMSQW.cjs +0 -61
- package/lib/chunk-R4LYMSQW.cjs.map +0 -1
- package/lib/chunk-R7MCKMYA.js +0 -177
- package/lib/chunk-R7MCKMYA.js.map +0 -1
- package/lib/chunk-R7PD7BIN.js +0 -164
- package/lib/chunk-R7PD7BIN.js.map +0 -1
- package/lib/chunk-RHVGUEEZ.cjs +0 -82
- package/lib/chunk-RHVGUEEZ.cjs.map +0 -1
- package/lib/chunk-RNVBXM52.cjs +0 -79
- package/lib/chunk-RNVBXM52.cjs.map +0 -1
- package/lib/chunk-ROIDGFBH.js +0 -68
- package/lib/chunk-ROIDGFBH.js.map +0 -1
- package/lib/chunk-RT6CH7MF.js +0 -120
- package/lib/chunk-RT6CH7MF.js.map +0 -1
- package/lib/chunk-RZXG6SYW.js +0 -50
- package/lib/chunk-RZXG6SYW.js.map +0 -1
- package/lib/chunk-S2E6K3CX.js +0 -88
- package/lib/chunk-S2E6K3CX.js.map +0 -1
- package/lib/chunk-S3KPKHRF.cjs +0 -79
- package/lib/chunk-S3KPKHRF.cjs.map +0 -1
- package/lib/chunk-S3PPZ4MN.cjs +0 -170
- package/lib/chunk-S3PPZ4MN.cjs.map +0 -1
- package/lib/chunk-S4N7TNLE.js +0 -132
- package/lib/chunk-S4N7TNLE.js.map +0 -1
- package/lib/chunk-S6LUE4BK.cjs +0 -35
- package/lib/chunk-S6LUE4BK.cjs.map +0 -1
- package/lib/chunk-SAU26L56.js +0 -91
- package/lib/chunk-SAU26L56.js.map +0 -1
- package/lib/chunk-SB36RX2R.cjs +0 -85
- package/lib/chunk-SB36RX2R.cjs.map +0 -1
- package/lib/chunk-SD6TP5QY.cjs +0 -29
- package/lib/chunk-SD6TP5QY.cjs.map +0 -1
- package/lib/chunk-SITF5ZAC.js +0 -68
- package/lib/chunk-SITF5ZAC.js.map +0 -1
- package/lib/chunk-SQTCUWGR.cjs +0 -67
- package/lib/chunk-SQTCUWGR.cjs.map +0 -1
- package/lib/chunk-SSXDR6PH.js +0 -86
- package/lib/chunk-SSXDR6PH.js.map +0 -1
- package/lib/chunk-SYRDEPVH.js +0 -68
- package/lib/chunk-SYRDEPVH.js.map +0 -1
- package/lib/chunk-TBRFFV55.cjs +0 -53
- package/lib/chunk-TBRFFV55.cjs.map +0 -1
- package/lib/chunk-TEOE3WNS.cjs +0 -102
- package/lib/chunk-TEOE3WNS.cjs.map +0 -1
- package/lib/chunk-TI5JILQ4.cjs +0 -134
- package/lib/chunk-TI5JILQ4.cjs.map +0 -1
- package/lib/chunk-U222MLC5.cjs +0 -88
- package/lib/chunk-U222MLC5.cjs.map +0 -1
- package/lib/chunk-UARW4YQW.cjs +0 -70
- package/lib/chunk-UARW4YQW.cjs.map +0 -1
- package/lib/chunk-UCTSAXGF.cjs +0 -122
- package/lib/chunk-UCTSAXGF.cjs.map +0 -1
- package/lib/chunk-UE2ALA2G.js +0 -36
- package/lib/chunk-UE2ALA2G.js.map +0 -1
- package/lib/chunk-UEXD6ROE.cjs +0 -44
- package/lib/chunk-UEXD6ROE.cjs.map +0 -1
- package/lib/chunk-ULS6IZPC.js +0 -86
- package/lib/chunk-ULS6IZPC.js.map +0 -1
- package/lib/chunk-UUEYW4SI.cjs +0 -55
- package/lib/chunk-UUEYW4SI.cjs.map +0 -1
- package/lib/chunk-V3NFJBSM.js +0 -50
- package/lib/chunk-V3NFJBSM.js.map +0 -1
- package/lib/chunk-V4KUITPI.js +0 -86
- package/lib/chunk-V4KUITPI.js.map +0 -1
- package/lib/chunk-VBQSG5M5.js +0 -92
- package/lib/chunk-VBQSG5M5.js.map +0 -1
- package/lib/chunk-VCRPNIEH.cjs +0 -70
- package/lib/chunk-VCRPNIEH.cjs.map +0 -1
- package/lib/chunk-VE3SPP3G.js +0 -177
- package/lib/chunk-VE3SPP3G.js.map +0 -1
- package/lib/chunk-VNBY6YSL.js +0 -82
- package/lib/chunk-VNBY6YSL.js.map +0 -1
- package/lib/chunk-VNML47KB.js +0 -59
- package/lib/chunk-VNML47KB.js.map +0 -1
- package/lib/chunk-VP4IZXYD.cjs +0 -26
- package/lib/chunk-VP4IZXYD.cjs.map +0 -1
- package/lib/chunk-VVZDCEJY.js +0 -68
- package/lib/chunk-VVZDCEJY.js.map +0 -1
- package/lib/chunk-VWLPSTPL.cjs +0 -91
- package/lib/chunk-VWLPSTPL.cjs.map +0 -1
- package/lib/chunk-VY2QQ6GL.cjs +0 -126
- package/lib/chunk-VY2QQ6GL.cjs.map +0 -1
- package/lib/chunk-VZPW7ARO.cjs +0 -90
- package/lib/chunk-VZPW7ARO.cjs.map +0 -1
- package/lib/chunk-W35HDHDU.js +0 -191
- package/lib/chunk-W35HDHDU.js.map +0 -1
- package/lib/chunk-WCBPR2FU.js +0 -177
- package/lib/chunk-WCBPR2FU.js.map +0 -1
- package/lib/chunk-WJLT2Q6F.cjs +0 -79
- package/lib/chunk-WJLT2Q6F.cjs.map +0 -1
- package/lib/chunk-WKDK4TTS.cjs +0 -80
- package/lib/chunk-WKDK4TTS.cjs.map +0 -1
- package/lib/chunk-WMDLFAGR.cjs +0 -53
- package/lib/chunk-WMDLFAGR.cjs.map +0 -1
- package/lib/chunk-WTD6QSTI.js +0 -89
- package/lib/chunk-WTD6QSTI.js.map +0 -1
- package/lib/chunk-WVVUEB6A.cjs +0 -70
- package/lib/chunk-WVVUEB6A.cjs.map +0 -1
- package/lib/chunk-X6J7WQEA.js +0 -89
- package/lib/chunk-X6J7WQEA.js.map +0 -1
- package/lib/chunk-XE46YXZW.js +0 -51
- package/lib/chunk-XE46YXZW.js.map +0 -1
- package/lib/chunk-XGCAYVWC.js +0 -73
- package/lib/chunk-XGCAYVWC.js.map +0 -1
- package/lib/chunk-XKFKPTKY.cjs +0 -115
- package/lib/chunk-XKFKPTKY.cjs.map +0 -1
- package/lib/chunk-XS3PGMW7.cjs +0 -77
- package/lib/chunk-XS3PGMW7.cjs.map +0 -1
- package/lib/chunk-XUIGE5EC.js +0 -68
- package/lib/chunk-XUIGE5EC.js.map +0 -1
- package/lib/chunk-Y6XMMFGD.js +0 -68
- package/lib/chunk-Y6XMMFGD.js.map +0 -1
- package/lib/chunk-YKSGPQWF.cjs +0 -165
- package/lib/chunk-YKSGPQWF.cjs.map +0 -1
- package/lib/chunk-YLGAEBN4.js +0 -96
- package/lib/chunk-YLGAEBN4.js.map +0 -1
- package/lib/chunk-YOTHMSEP.js +0 -68
- package/lib/chunk-YOTHMSEP.js.map +0 -1
- package/lib/chunk-YPAKLMVE.js +0 -60
- package/lib/chunk-YPAKLMVE.js.map +0 -1
- package/lib/chunk-YQLZRFYW.js +0 -77
- package/lib/chunk-YQLZRFYW.js.map +0 -1
- package/lib/chunk-YZDBPUNJ.cjs +0 -313
- package/lib/chunk-YZDBPUNJ.cjs.map +0 -1
- package/lib/chunk-Z3LIS3PJ.js +0 -77
- package/lib/chunk-Z3LIS3PJ.js.map +0 -1
- package/lib/chunk-ZI7VCQUJ.cjs +0 -84
- package/lib/chunk-ZI7VCQUJ.cjs.map +0 -1
- package/lib/chunk-ZJX6FYOO.cjs +0 -53
- package/lib/chunk-ZJX6FYOO.cjs.map +0 -1
- package/lib/chunk-ZMIDBZVE.js +0 -89
- package/lib/chunk-ZMIDBZVE.js.map +0 -1
- package/lib/chunk-ZTDGE4FR.js +0 -92
- package/lib/chunk-ZTDGE4FR.js.map +0 -1
- package/lib/chunk-ZV322LW2.js +0 -89
- package/lib/chunk-ZV322LW2.js.map +0 -1
- package/lib/chunk-ZX75XWHD.js +0 -177
- package/lib/chunk-ZX75XWHD.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/exports.ts"],"names":[],"mappings":"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","file":"chunk-ENY5ZEDH.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\ntype ExportType = 'exports'\ntype ExportRel = ResourceRel & { type: ExportType }\n\nexport type ExportSort = Pick<\n Export,\n | 'id'\n | 'resource_type'\n | 'format'\n | 'status'\n | 'started_at'\n | 'completed_at'\n | 'interrupted_at'\n | 'records_count'\n | 'processed_count'\n | 'attachment_url'\n> &\n ResourceSort\n// export type ExportFilter = Pick<Export, 'id' | 'resource_type' | 'format' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'processed_count' | 'attachment_url' | 'errors_log'> & ResourceFilter\n\ninterface Export extends Resource {\n readonly type: ExportType\n\n /**\n * The type of resource being exported. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.\n * @example ```\"skus\"```\n */\n resource_type:\n | 'applications'\n | 'event_stores'\n | 'organizations'\n | 'addresses'\n | 'geocoders'\n | 'events'\n | 'tags'\n | 'adjustments'\n | 'price_lists'\n | 'payment_gateways'\n | 'payment_methods'\n | 'markets'\n | 'customer_groups'\n | 'line_items'\n | 'discount_engine_items'\n | 'promotions'\n | 'adyen_payments'\n | 'orders'\n | 'transactions'\n | 'order_factories'\n | 'attachments'\n | 'tax_calculators'\n | 'tax_categories'\n | 'skus'\n | 'shipping_categories'\n | 'axerve_payments'\n | 'order_validation_rules'\n | 'braintree_payments'\n | 'bundles'\n | 'sku_lists'\n | 'sku_list_items'\n | 'stock_items'\n | 'stock_locations'\n | 'promotion_rules'\n | 'coupons'\n | 'returns'\n | 'carrier_accounts'\n | 'checkout_com_payments'\n | 'customers'\n | 'customer_addresses'\n | 'customer_payment_sources'\n | 'customer_subscriptions'\n | 'order_subscriptions'\n | 'customer_password_resets'\n | 'delivery_lead_times'\n | 'shipping_methods'\n | 'shipments'\n | 'discount_engines'\n | 'pickups'\n | 'parcels'\n | 'webhooks'\n | 'event_callbacks'\n | 'external_payments'\n | 'gift_cards'\n | 'in_stock_subscriptions'\n | 'inventory_models'\n | 'inventory_stock_locations'\n | 'inventory_return_locations'\n | 'klarna_payments'\n | 'line_item_options'\n | 'return_line_items'\n | 'stock_line_items'\n | 'stock_reservations'\n | 'stock_transfers'\n | 'notifications'\n | 'sku_options'\n | 'links'\n | 'tax_rules'\n | 'merchants'\n | 'subscription_models'\n | 'stores'\n | 'price_list_schedulers'\n | 'order_subscription_items'\n | 'payment_options'\n | 'resource_errors'\n | 'paypal_payments'\n | 'packages'\n | 'parcel_line_items'\n | 'prices'\n | 'price_tiers'\n | 'reserved_stocks'\n | 'satispay_payments'\n | 'shipping_method_tiers'\n | 'shipping_zones'\n | 'stripe_payments'\n | 'wire_transfers'\n /**\n * The format of the export. One of 'csv', or 'json' (default).\n * @example ```\"json\"```\n */\n format?: 'csv' | 'json' | null\n /**\n * The export job status. One of 'pending' (default), 'in_progress', 'interrupted', 'completed', or 'failed'.\n * @example ```\"in_progress\"```\n */\n status: 'pending' | 'in_progress' | 'interrupted' | 'completed' | 'failed'\n /**\n * List of related resources that should be included in the export (redundant when 'fields' are specified).\n * @example ```[\"prices.price_tiers\"]```\n */\n includes?: string[] | null\n /**\n * List of fields to export for the main and related resources (automatically included). Pass the asterisk '*' to include all exportable fields for the main and related resources.\n * @example ```[\"code\",\"name\",\"prices.*\",\"prices.price_tiers.price_amount_cents\"]```\n */\n fields?: string[] | null\n /**\n * The filters used to select the records to be exported.\n * @example ```{\"code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n /**\n * Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset.\n */\n dry_data?: boolean | null\n /**\n * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.\n * @example ```true```\n */\n jwt_filters?: boolean | null\n /**\n * Time at which the export was started.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n started_at?: string | null\n /**\n * Time at which the export was completed.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n completed_at?: string | null\n /**\n * Estimated time at which the export should complete (dynamically refres^hed).\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n estimated_completion_at?: string | null\n /**\n * Time at which the export was interrupted.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n interrupted_at?: string | null\n /**\n * Indicates the number of records to be exported.\n * @example ```300```\n */\n records_count?: number | null\n /**\n * Indicates how many records have been processed in real time.\n * @example ```270```\n */\n processed_count?: number | null\n /**\n * The percentage of progress of the export.\n * @example ```30```\n */\n progress?: number | null\n /**\n * The URL to the output file, which will be generated upon export completion.\n * @example ```\"http://cl_exports.s3.amazonaws.com/\"```\n */\n attachment_url?: string | null\n /**\n * Contains the exports errors, if any.\n * @example ```{\"RuntimeError\":\"query timeout\"}```\n */\n errors_log?: Record<string, any> | null\n\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface ExportCreate extends ResourceCreate {\n /**\n * The type of resource being exported. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.\n * @example ```\"skus\"```\n */\n resource_type:\n | 'applications'\n | 'event_stores'\n | 'organizations'\n | 'addresses'\n | 'geocoders'\n | 'events'\n | 'tags'\n | 'adjustments'\n | 'price_lists'\n | 'payment_gateways'\n | 'payment_methods'\n | 'markets'\n | 'customer_groups'\n | 'line_items'\n | 'discount_engine_items'\n | 'promotions'\n | 'adyen_payments'\n | 'orders'\n | 'transactions'\n | 'order_factories'\n | 'attachments'\n | 'tax_calculators'\n | 'tax_categories'\n | 'skus'\n | 'shipping_categories'\n | 'axerve_payments'\n | 'order_validation_rules'\n | 'braintree_payments'\n | 'bundles'\n | 'sku_lists'\n | 'sku_list_items'\n | 'stock_items'\n | 'stock_locations'\n | 'promotion_rules'\n | 'coupons'\n | 'returns'\n | 'carrier_accounts'\n | 'checkout_com_payments'\n | 'customers'\n | 'customer_addresses'\n | 'customer_payment_sources'\n | 'customer_subscriptions'\n | 'order_subscriptions'\n | 'customer_password_resets'\n | 'delivery_lead_times'\n | 'shipping_methods'\n | 'shipments'\n | 'discount_engines'\n | 'pickups'\n | 'parcels'\n | 'webhooks'\n | 'event_callbacks'\n | 'external_payments'\n | 'gift_cards'\n | 'in_stock_subscriptions'\n | 'inventory_models'\n | 'inventory_stock_locations'\n | 'inventory_return_locations'\n | 'klarna_payments'\n | 'line_item_options'\n | 'return_line_items'\n | 'stock_line_items'\n | 'stock_reservations'\n | 'stock_transfers'\n | 'notifications'\n | 'sku_options'\n | 'links'\n | 'tax_rules'\n | 'merchants'\n | 'subscription_models'\n | 'stores'\n | 'price_list_schedulers'\n | 'order_subscription_items'\n | 'payment_options'\n | 'resource_errors'\n | 'paypal_payments'\n | 'packages'\n | 'parcel_line_items'\n | 'prices'\n | 'price_tiers'\n | 'reserved_stocks'\n | 'satispay_payments'\n | 'shipping_method_tiers'\n | 'shipping_zones'\n | 'stripe_payments'\n | 'wire_transfers'\n /**\n * The format of the export. One of 'csv', or 'json' (default).\n * @example ```\"json\"```\n */\n format?: 'csv' | 'json' | null\n /**\n * List of related resources that should be included in the export (redundant when 'fields' are specified).\n * @example ```[\"prices.price_tiers\"]```\n */\n includes?: string[] | null\n /**\n * List of fields to export for the main and related resources (automatically included). Pass the asterisk '*' to include all exportable fields for the main and related resources.\n * @example ```[\"code\",\"name\",\"prices.*\",\"prices.price_tiers.price_amount_cents\"]```\n */\n fields?: string[] | null\n /**\n * The filters used to select the records to be exported.\n * @example ```{\"code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n /**\n * Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset.\n */\n dry_data?: boolean | null\n /**\n * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.\n * @example ```true```\n */\n jwt_filters?: boolean | null\n}\n\ninterface ExportUpdate extends ResourceUpdate {\n /**\n * Send this attribute if you want to restart an 'interrupted' export.\n * @example ```true```\n */\n _start?: boolean | null\n /**\n * Send this attribute if you want to mark status as 'interrupted'.\n * @example ```true```\n */\n _interrupt?: boolean | null\n}\n\nclass Exports extends ApiResource<Export> {\n static readonly TYPE: ExportType = 'exports' as const\n\n async create(\n resource: ExportCreate,\n params?: QueryParamsRetrieve<Export>,\n options?: ResourcesConfig,\n ): Promise<Export> {\n return this.resources.create<ExportCreate, Export>({ ...resource, type: Exports.TYPE }, params, options)\n }\n\n async update(\n resource: ExportUpdate,\n params?: QueryParamsRetrieve<Export>,\n options?: ResourcesConfig,\n ): Promise<Export> {\n return this.resources.update<ExportUpdate, Export>({ ...resource, type: Exports.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: Exports.TYPE } : id, options)\n }\n\n async events(\n exportId: string | Export,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _exportId = (exportId as Export).id || (exportId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `exports/${_exportId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n exportId: string | Export,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _exportId = (exportId as Export).id || (exportId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `exports/${_exportId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _start(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export> {\n return this.resources.update<ExportUpdate, Export>(\n { id: typeof id === 'string' ? id : id.id, type: Exports.TYPE, _start: true },\n params,\n options,\n )\n }\n\n async _interrupt(\n id: string | Export,\n params?: QueryParamsRetrieve<Export>,\n options?: ResourcesConfig,\n ): Promise<Export> {\n return this.resources.update<ExportUpdate, Export>(\n { id: typeof id === 'string' ? id : id.id, type: Exports.TYPE, _interrupt: true },\n params,\n options,\n )\n }\n\n isExport(resource: any): resource is Export {\n return resource.type && resource.type === Exports.TYPE\n }\n\n relationship(id: string | ResourceId | null): ExportRel {\n return super.relationshipOneToOne<ExportRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ExportRel[] {\n return super.relationshipOneToMany<ExportRel>(...ids)\n }\n\n type(): ExportType {\n return Exports.TYPE\n }\n}\n\nconst instance = new Exports()\nexport default instance\n\nexport type { Export, ExportCreate, Exports, ExportType, ExportUpdate }\n"]}
|
package/lib/chunk-EQQVT4VQ.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-LSBBCEX5.js';
|
|
2
|
-
|
|
3
|
-
// src/resources/price_volume_tiers.ts
|
|
4
|
-
var PriceVolumeTiers = class _PriceVolumeTiers extends ApiResource {
|
|
5
|
-
static TYPE = "price_volume_tiers";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create(
|
|
8
|
-
{ ...resource, type: _PriceVolumeTiers.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async update(resource, params, options) {
|
|
14
|
-
return this.resources.update(
|
|
15
|
-
{ ...resource, type: _PriceVolumeTiers.TYPE },
|
|
16
|
-
params,
|
|
17
|
-
options
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
async delete(id, options) {
|
|
21
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _PriceVolumeTiers.TYPE } : id, options);
|
|
22
|
-
}
|
|
23
|
-
async price(priceVolumeTierId, params, options) {
|
|
24
|
-
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
25
|
-
return this.resources.fetch(
|
|
26
|
-
{ type: "prices" },
|
|
27
|
-
`price_volume_tiers/${_priceVolumeTierId}/price`,
|
|
28
|
-
params,
|
|
29
|
-
options
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async attachments(priceVolumeTierId, params, options) {
|
|
33
|
-
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
34
|
-
return this.resources.fetch(
|
|
35
|
-
{ type: "attachments" },
|
|
36
|
-
`price_volume_tiers/${_priceVolumeTierId}/attachments`,
|
|
37
|
-
params,
|
|
38
|
-
options
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
async event_stores(priceVolumeTierId, params, options) {
|
|
42
|
-
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
43
|
-
return this.resources.fetch(
|
|
44
|
-
{ type: "event_stores" },
|
|
45
|
-
`price_volume_tiers/${_priceVolumeTierId}/event_stores`,
|
|
46
|
-
params,
|
|
47
|
-
options
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
async events(priceVolumeTierId, params, options) {
|
|
51
|
-
const _priceVolumeTierId = priceVolumeTierId.id || priceVolumeTierId;
|
|
52
|
-
return this.resources.fetch(
|
|
53
|
-
{ type: "events" },
|
|
54
|
-
`price_volume_tiers/${_priceVolumeTierId}/events`,
|
|
55
|
-
params,
|
|
56
|
-
options
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
isPriceVolumeTier(resource) {
|
|
60
|
-
return resource.type && resource.type === _PriceVolumeTiers.TYPE;
|
|
61
|
-
}
|
|
62
|
-
relationship(id) {
|
|
63
|
-
return super.relationshipOneToOne(id);
|
|
64
|
-
}
|
|
65
|
-
relationshipToMany(...ids) {
|
|
66
|
-
return super.relationshipOneToMany(...ids);
|
|
67
|
-
}
|
|
68
|
-
type() {
|
|
69
|
-
return _PriceVolumeTiers.TYPE;
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
var instance = new PriceVolumeTiers();
|
|
73
|
-
var price_volume_tiers_default = instance;
|
|
74
|
-
|
|
75
|
-
export { price_volume_tiers_default };
|
|
76
|
-
//# sourceMappingURL=chunk-EQQVT4VQ.js.map
|
|
77
|
-
//# sourceMappingURL=chunk-EQQVT4VQ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/price_volume_tiers.ts"],"names":[],"mappings":"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","file":"chunk-EQQVT4VQ.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../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\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"]}
|
package/lib/chunk-ESIW5CXF.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-LSBBCEX5.js';
|
|
2
|
-
|
|
3
|
-
// src/resources/external_tax_calculators.ts
|
|
4
|
-
var ExternalTaxCalculators = class _ExternalTaxCalculators extends ApiResource {
|
|
5
|
-
static TYPE = "external_tax_calculators";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create(
|
|
8
|
-
{ ...resource, type: _ExternalTaxCalculators.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async update(resource, params, options) {
|
|
14
|
-
return this.resources.update(
|
|
15
|
-
{ ...resource, type: _ExternalTaxCalculators.TYPE },
|
|
16
|
-
params,
|
|
17
|
-
options
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
async delete(id, options) {
|
|
21
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _ExternalTaxCalculators.TYPE } : id, options);
|
|
22
|
-
}
|
|
23
|
-
async markets(externalTaxCalculatorId, params, options) {
|
|
24
|
-
const _externalTaxCalculatorId = externalTaxCalculatorId.id || externalTaxCalculatorId;
|
|
25
|
-
return this.resources.fetch(
|
|
26
|
-
{ type: "markets" },
|
|
27
|
-
`external_tax_calculators/${_externalTaxCalculatorId}/markets`,
|
|
28
|
-
params,
|
|
29
|
-
options
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async attachments(externalTaxCalculatorId, params, options) {
|
|
33
|
-
const _externalTaxCalculatorId = externalTaxCalculatorId.id || externalTaxCalculatorId;
|
|
34
|
-
return this.resources.fetch(
|
|
35
|
-
{ type: "attachments" },
|
|
36
|
-
`external_tax_calculators/${_externalTaxCalculatorId}/attachments`,
|
|
37
|
-
params,
|
|
38
|
-
options
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
async events(externalTaxCalculatorId, params, options) {
|
|
42
|
-
const _externalTaxCalculatorId = externalTaxCalculatorId.id || externalTaxCalculatorId;
|
|
43
|
-
return this.resources.fetch(
|
|
44
|
-
{ type: "events" },
|
|
45
|
-
`external_tax_calculators/${_externalTaxCalculatorId}/events`,
|
|
46
|
-
params,
|
|
47
|
-
options
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
async event_stores(externalTaxCalculatorId, params, options) {
|
|
51
|
-
const _externalTaxCalculatorId = externalTaxCalculatorId.id || externalTaxCalculatorId;
|
|
52
|
-
return this.resources.fetch(
|
|
53
|
-
{ type: "event_stores" },
|
|
54
|
-
`external_tax_calculators/${_externalTaxCalculatorId}/event_stores`,
|
|
55
|
-
params,
|
|
56
|
-
options
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
async _reset_circuit(id, params, options) {
|
|
60
|
-
return this.resources.update(
|
|
61
|
-
{ id: typeof id === "string" ? id : id.id, type: _ExternalTaxCalculators.TYPE, _reset_circuit: true },
|
|
62
|
-
params,
|
|
63
|
-
options
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
async _regenerate_shared_secret(id, params, options) {
|
|
67
|
-
return this.resources.update(
|
|
68
|
-
{ id: typeof id === "string" ? id : id.id, type: _ExternalTaxCalculators.TYPE, _regenerate_shared_secret: true },
|
|
69
|
-
params,
|
|
70
|
-
options
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
isExternalTaxCalculator(resource) {
|
|
74
|
-
return resource.type && resource.type === _ExternalTaxCalculators.TYPE;
|
|
75
|
-
}
|
|
76
|
-
relationship(id) {
|
|
77
|
-
return super.relationshipOneToOne(id);
|
|
78
|
-
}
|
|
79
|
-
relationshipToMany(...ids) {
|
|
80
|
-
return super.relationshipOneToMany(...ids);
|
|
81
|
-
}
|
|
82
|
-
type() {
|
|
83
|
-
return _ExternalTaxCalculators.TYPE;
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
var instance = new ExternalTaxCalculators();
|
|
87
|
-
var external_tax_calculators_default = instance;
|
|
88
|
-
|
|
89
|
-
export { external_tax_calculators_default };
|
|
90
|
-
//# sourceMappingURL=chunk-ESIW5CXF.js.map
|
|
91
|
-
//# sourceMappingURL=chunk-ESIW5CXF.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/external_tax_calculators.ts"],"names":[],"mappings":"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","file":"chunk-ESIW5CXF.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market } from './markets'\n\ntype ExternalTaxCalculatorType = 'external_tax_calculators'\ntype ExternalTaxCalculatorRel = ResourceRel & { type: ExternalTaxCalculatorType }\n\nexport type ExternalTaxCalculatorSort = Pick<\n ExternalTaxCalculator,\n 'id' | 'name' | 'circuit_state' | 'circuit_failure_count'\n> &\n ResourceSort\n// export type ExternalTaxCalculatorFilter = Pick<ExternalTaxCalculator, 'id' | 'name' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\ninterface ExternalTaxCalculator extends Resource {\n readonly type: ExternalTaxCalculatorType\n\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name: string\n /**\n * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.\n * @example ```\"closed\"```\n */\n circuit_state?: string | null\n /**\n * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.\n * @example ```5```\n */\n circuit_failure_count?: number | null\n /**\n * The shared secret used to sign the external request payload.\n * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n */\n shared_secret: string\n /**\n * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The URL to the service that will compute the taxes.\n * @example ```\"https://external_calculator.yourbrand.com\"```\n */\n tax_calculator_url: string\n\n markets?: Market[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface ExternalTaxCalculatorCreate extends ResourceCreate {\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name: string\n /**\n * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The URL to the service that will compute the taxes.\n * @example ```\"https://external_calculator.yourbrand.com\"```\n */\n tax_calculator_url: string\n}\n\ninterface ExternalTaxCalculatorUpdate extends ResourceUpdate {\n /**\n * The tax calculator's internal name.\n * @example ```\"Personal tax calculator\"```\n */\n name?: string | null\n /**\n * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.\n * @example ```true```\n */\n _reset_circuit?: boolean | null\n /**\n * Send this attribute if you want to regenerate the shared secret.\n * @example ```true```\n */\n _regenerate_shared_secret?: boolean | null\n /**\n * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n * @example ```[\"order.line_item_options\"]```\n */\n external_includes?: string[] | null\n /**\n * The URL to the service that will compute the taxes.\n * @example ```\"https://external_calculator.yourbrand.com\"```\n */\n tax_calculator_url?: string | null\n}\n\nclass ExternalTaxCalculators extends ApiResource<ExternalTaxCalculator> {\n static readonly TYPE: ExternalTaxCalculatorType = 'external_tax_calculators' as const\n\n async create(\n resource: ExternalTaxCalculatorCreate,\n params?: QueryParamsRetrieve<ExternalTaxCalculator>,\n options?: ResourcesConfig,\n ): Promise<ExternalTaxCalculator> {\n return this.resources.create<ExternalTaxCalculatorCreate, ExternalTaxCalculator>(\n { ...resource, type: ExternalTaxCalculators.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: ExternalTaxCalculatorUpdate,\n params?: QueryParamsRetrieve<ExternalTaxCalculator>,\n options?: ResourcesConfig,\n ): Promise<ExternalTaxCalculator> {\n return this.resources.update<ExternalTaxCalculatorUpdate, ExternalTaxCalculator>(\n { ...resource, type: ExternalTaxCalculators.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: ExternalTaxCalculators.TYPE } : id, options)\n }\n\n async markets(\n externalTaxCalculatorId: string | ExternalTaxCalculator,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _externalTaxCalculatorId =\n (externalTaxCalculatorId as ExternalTaxCalculator).id || (externalTaxCalculatorId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `external_tax_calculators/${_externalTaxCalculatorId}/markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async attachments(\n externalTaxCalculatorId: string | ExternalTaxCalculator,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _externalTaxCalculatorId =\n (externalTaxCalculatorId as ExternalTaxCalculator).id || (externalTaxCalculatorId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `external_tax_calculators/${_externalTaxCalculatorId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n externalTaxCalculatorId: string | ExternalTaxCalculator,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _externalTaxCalculatorId =\n (externalTaxCalculatorId as ExternalTaxCalculator).id || (externalTaxCalculatorId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `external_tax_calculators/${_externalTaxCalculatorId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n externalTaxCalculatorId: string | ExternalTaxCalculator,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _externalTaxCalculatorId =\n (externalTaxCalculatorId as ExternalTaxCalculator).id || (externalTaxCalculatorId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `external_tax_calculators/${_externalTaxCalculatorId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _reset_circuit(\n id: string | ExternalTaxCalculator,\n params?: QueryParamsRetrieve<ExternalTaxCalculator>,\n options?: ResourcesConfig,\n ): Promise<ExternalTaxCalculator> {\n return this.resources.update<ExternalTaxCalculatorUpdate, ExternalTaxCalculator>(\n { id: typeof id === 'string' ? id : id.id, type: ExternalTaxCalculators.TYPE, _reset_circuit: true },\n params,\n options,\n )\n }\n\n async _regenerate_shared_secret(\n id: string | ExternalTaxCalculator,\n params?: QueryParamsRetrieve<ExternalTaxCalculator>,\n options?: ResourcesConfig,\n ): Promise<ExternalTaxCalculator> {\n return this.resources.update<ExternalTaxCalculatorUpdate, ExternalTaxCalculator>(\n { id: typeof id === 'string' ? id : id.id, type: ExternalTaxCalculators.TYPE, _regenerate_shared_secret: true },\n params,\n options,\n )\n }\n\n isExternalTaxCalculator(resource: any): resource is ExternalTaxCalculator {\n return resource.type && resource.type === ExternalTaxCalculators.TYPE\n }\n\n relationship(id: string | ResourceId | null): ExternalTaxCalculatorRel {\n return super.relationshipOneToOne<ExternalTaxCalculatorRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ExternalTaxCalculatorRel[] {\n return super.relationshipOneToMany<ExternalTaxCalculatorRel>(...ids)\n }\n\n type(): ExternalTaxCalculatorType {\n return ExternalTaxCalculators.TYPE\n }\n}\n\nconst instance = new ExternalTaxCalculators()\nexport default instance\n\nexport type {\n ExternalTaxCalculator,\n ExternalTaxCalculatorCreate,\n ExternalTaxCalculators,\n ExternalTaxCalculatorType,\n ExternalTaxCalculatorUpdate,\n}\n"]}
|
package/lib/chunk-EWUUQ4L5.cjs
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkYZDBPUNJ_cjs = require('./chunk-YZDBPUNJ.cjs');
|
|
4
|
-
|
|
5
|
-
// src/resources/order_factories.ts
|
|
6
|
-
var OrderFactories = class _OrderFactories extends chunkYZDBPUNJ_cjs.ApiResource {
|
|
7
|
-
static TYPE = "order_factories";
|
|
8
|
-
async source_order(orderFactoryId, params, options) {
|
|
9
|
-
const _orderFactoryId = orderFactoryId.id || orderFactoryId;
|
|
10
|
-
return this.resources.fetch(
|
|
11
|
-
{ type: "orders" },
|
|
12
|
-
`order_factories/${_orderFactoryId}/source_order`,
|
|
13
|
-
params,
|
|
14
|
-
options
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
async target_order(orderFactoryId, params, options) {
|
|
18
|
-
const _orderFactoryId = orderFactoryId.id || orderFactoryId;
|
|
19
|
-
return this.resources.fetch(
|
|
20
|
-
{ type: "orders" },
|
|
21
|
-
`order_factories/${_orderFactoryId}/target_order`,
|
|
22
|
-
params,
|
|
23
|
-
options
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
async events(orderFactoryId, params, options) {
|
|
27
|
-
const _orderFactoryId = orderFactoryId.id || orderFactoryId;
|
|
28
|
-
return this.resources.fetch(
|
|
29
|
-
{ type: "events" },
|
|
30
|
-
`order_factories/${_orderFactoryId}/events`,
|
|
31
|
-
params,
|
|
32
|
-
options
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
async event_stores(orderFactoryId, params, options) {
|
|
36
|
-
const _orderFactoryId = orderFactoryId.id || orderFactoryId;
|
|
37
|
-
return this.resources.fetch(
|
|
38
|
-
{ type: "event_stores" },
|
|
39
|
-
`order_factories/${_orderFactoryId}/event_stores`,
|
|
40
|
-
params,
|
|
41
|
-
options
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
isOrderFactory(resource) {
|
|
45
|
-
return !!resource.type && (resource.type === _OrderFactories.TYPE || ["order_copies", "recurring_order_copies"].includes(resource.type));
|
|
46
|
-
}
|
|
47
|
-
relationship(id) {
|
|
48
|
-
return super.relationshipOneToOne(id);
|
|
49
|
-
}
|
|
50
|
-
relationshipToMany(...ids) {
|
|
51
|
-
return super.relationshipOneToMany(...ids);
|
|
52
|
-
}
|
|
53
|
-
type() {
|
|
54
|
-
return _OrderFactories.TYPE;
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
var instance = new OrderFactories();
|
|
58
|
-
var order_factories_default = instance;
|
|
59
|
-
|
|
60
|
-
exports.order_factories_default = order_factories_default;
|
|
61
|
-
//# sourceMappingURL=chunk-EWUUQ4L5.cjs.map
|
|
62
|
-
//# sourceMappingURL=chunk-EWUUQ4L5.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/order_factories.ts"],"names":["ApiResource"],"mappings":";;;;;AA8EA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA0B;AAAA,EACrD,OAAgB,IAAA,GAAyB,iBAAA;AAAA,EAEzC,MAAM,YAAA,CACJ,cAAA,EACA,MAAA,EACA,OAAA,EACgB;AAChB,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAO,cAAA;AAChE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,QAAA,EAAS;AAAA,MACjB,mBAAmB,eAAe,CAAA,aAAA,CAAA;AAAA,MAClC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,cAAA,EACA,MAAA,EACA,OAAA,EACgB;AAChB,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAO,cAAA;AAChE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,QAAA,EAAS;AAAA,MACjB,mBAAmB,eAAe,CAAA,aAAA,CAAA;AAAA,MAClC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,cAAA,EACA,MAAA,EACA,OAAA,EAC8B;AAC9B,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAO,cAAA;AAChE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,QAAA,EAAS;AAAA,MACjB,mBAAmB,eAAe,CAAA,OAAA,CAAA;AAAA,MAClC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,cAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAO,cAAA;AAChE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,mBAAmB,eAAe,CAAA,aAAA,CAAA;AAAA,MAClC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,eAAe,QAAA,EAAyC;AACtD,IAAA,OACE,CAAC,CAAC,QAAA,CAAS,IAAA,KACV,SAAS,IAAA,KAAS,eAAA,CAAe,IAAA,IAAQ,CAAC,cAAA,EAAgB,wBAAwB,CAAA,CAAE,QAAA,CAAS,SAAS,IAAI,CAAA,CAAA;AAAA,EAE/G;AAAA,EAEA,aAAa,EAAA,EAAiD;AAC5D,IAAA,OAAO,KAAA,CAAM,qBAAsC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAkC;AACtD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAuC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAEA,IAAA,GAAyB;AACvB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACxB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-EWUUQ4L5.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { OrderCopy } from './order_copies'\nimport type { Order } from './orders'\nimport type { RecurringOrderCopy } from './recurring_order_copies'\n\ntype OrderFactoryType = 'order_factories'\ntype OrderFactoryRel = ResourceRel & { type: OrderFactoryType }\n\nexport type OrderFactorySort = Pick<\n OrderFactoryBase,\n 'id' | 'status' | 'started_at' | 'completed_at' | 'failed_at' | 'errors_count'\n> &\n ResourceSort\n// export type OrderFactoryFilter = Pick<OrderFactory, 'id' | 'status' | 'started_at' | 'completed_at' | 'failed_at' | 'errors_count'> & ResourceFilter\n\ntype OrderFactory = OrderCopy | RecurringOrderCopy\n\ninterface OrderFactoryBase extends Resource {\n readonly type: OrderFactoryType\n\n /**\n * The order factory status. One of 'pending' (default), 'in_progress', 'aborted', 'failed', or 'completed'.\n * @example ```\"in_progress\"```\n */\n status: 'pending' | 'in_progress' | 'aborted' | 'failed' | 'completed'\n /**\n * Time at which the order copy was started.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n started_at?: string | null\n /**\n * Time at which the order copy was completed.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n completed_at?: string | null\n /**\n * Time at which the order copy has failed.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n failed_at?: string | null\n /**\n * Contains the order copy errors, if any.\n * @example ```{\"status\":[\"cannot transition from draft to placed\"]}```\n */\n errors_log?: Record<string, any> | null\n /**\n * Indicates the number of copy errors, if any.\n * @example ```2```\n */\n errors_count?: number | null\n /**\n * Indicates if the target order must be placed upon copy.\n * @example ```true```\n */\n place_target_order?: boolean | null\n /**\n * Indicates if the payment source within the source order customer's wallet must be copied.\n * @example ```true```\n */\n reuse_wallet?: boolean | null\n\n source_order?: Order | null\n target_order?: Order | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\nclass OrderFactories extends ApiResource<OrderFactory> {\n static readonly TYPE: OrderFactoryType = 'order_factories' as const\n\n async source_order(\n orderFactoryId: string | OrderFactory,\n params?: QueryParamsRetrieve<Order>,\n options?: ResourcesConfig,\n ): Promise<Order> {\n const _orderFactoryId = (orderFactoryId as OrderFactory).id || (orderFactoryId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `order_factories/${_orderFactoryId}/source_order`,\n params,\n options,\n ) as unknown as Order\n }\n\n async target_order(\n orderFactoryId: string | OrderFactory,\n params?: QueryParamsRetrieve<Order>,\n options?: ResourcesConfig,\n ): Promise<Order> {\n const _orderFactoryId = (orderFactoryId as OrderFactory).id || (orderFactoryId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `order_factories/${_orderFactoryId}/target_order`,\n params,\n options,\n ) as unknown as Order\n }\n\n async events(\n orderFactoryId: string | OrderFactory,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _orderFactoryId = (orderFactoryId as OrderFactory).id || (orderFactoryId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `order_factories/${_orderFactoryId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n orderFactoryId: string | OrderFactory,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _orderFactoryId = (orderFactoryId as OrderFactory).id || (orderFactoryId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `order_factories/${_orderFactoryId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isOrderFactory(resource: any): resource is OrderFactory {\n return (\n !!resource.type &&\n (resource.type === OrderFactories.TYPE || ['order_copies', 'recurring_order_copies'].includes(resource.type))\n )\n }\n\n relationship(id: string | ResourceId | null): OrderFactoryRel {\n return super.relationshipOneToOne<OrderFactoryRel>(id)\n }\n\n relationshipToMany(...ids: string[]): OrderFactoryRel[] {\n return super.relationshipOneToMany<OrderFactoryRel>(...ids)\n }\n\n type(): OrderFactoryType {\n return OrderFactories.TYPE\n }\n}\n\nconst instance = new OrderFactories()\nexport default instance\n\nexport type { OrderFactories, OrderFactory, OrderFactoryType }\n"]}
|
package/lib/chunk-F5BYJ3P2.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-LSBBCEX5.js';
|
|
2
|
-
|
|
3
|
-
// src/resources/coupon_codes_promotion_rules.ts
|
|
4
|
-
var CouponCodesPromotionRules = class _CouponCodesPromotionRules extends ApiResource {
|
|
5
|
-
static TYPE = "coupon_codes_promotion_rules";
|
|
6
|
-
async create(resource, params, options) {
|
|
7
|
-
return this.resources.create(
|
|
8
|
-
{ ...resource, type: _CouponCodesPromotionRules.TYPE },
|
|
9
|
-
params,
|
|
10
|
-
options
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
async update(resource, params, options) {
|
|
14
|
-
return this.resources.update(
|
|
15
|
-
{ ...resource, type: _CouponCodesPromotionRules.TYPE },
|
|
16
|
-
params,
|
|
17
|
-
options
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
async delete(id, options) {
|
|
21
|
-
await this.resources.delete(typeof id === "string" ? { id, type: _CouponCodesPromotionRules.TYPE } : id, options);
|
|
22
|
-
}
|
|
23
|
-
async event_stores(couponCodesPromotionRuleId, params, options) {
|
|
24
|
-
const _couponCodesPromotionRuleId = couponCodesPromotionRuleId.id || couponCodesPromotionRuleId;
|
|
25
|
-
return this.resources.fetch(
|
|
26
|
-
{ type: "event_stores" },
|
|
27
|
-
`coupon_codes_promotion_rules/${_couponCodesPromotionRuleId}/event_stores`,
|
|
28
|
-
params,
|
|
29
|
-
options
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
async coupons(couponCodesPromotionRuleId, params, options) {
|
|
33
|
-
const _couponCodesPromotionRuleId = couponCodesPromotionRuleId.id || couponCodesPromotionRuleId;
|
|
34
|
-
return this.resources.fetch(
|
|
35
|
-
{ type: "coupons" },
|
|
36
|
-
`coupon_codes_promotion_rules/${_couponCodesPromotionRuleId}/coupons`,
|
|
37
|
-
params,
|
|
38
|
-
options
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
isCouponCodesPromotionRule(resource) {
|
|
42
|
-
return resource.type && resource.type === _CouponCodesPromotionRules.TYPE;
|
|
43
|
-
}
|
|
44
|
-
relationship(id) {
|
|
45
|
-
return super.relationshipOneToOne(id);
|
|
46
|
-
}
|
|
47
|
-
relationshipToMany(...ids) {
|
|
48
|
-
return super.relationshipOneToMany(...ids);
|
|
49
|
-
}
|
|
50
|
-
type() {
|
|
51
|
-
return _CouponCodesPromotionRules.TYPE;
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
var instance = new CouponCodesPromotionRules();
|
|
55
|
-
var coupon_codes_promotion_rules_default = instance;
|
|
56
|
-
|
|
57
|
-
export { coupon_codes_promotion_rules_default };
|
|
58
|
-
//# sourceMappingURL=chunk-F5BYJ3P2.js.map
|
|
59
|
-
//# sourceMappingURL=chunk-F5BYJ3P2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/coupon_codes_promotion_rules.ts"],"names":[],"mappings":";;;AAkFA,IAAM,yBAAA,GAAN,MAAM,0BAAA,SAAkC,WAAA,CAAsC;AAAA,EAC5E,OAAgB,IAAA,GAAqC,8BAAA;AAAA,EAErD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,2BAA0B,IAAA,EAAK;AAAA,MACpD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,2BAA0B,IAAA,EAAK;AAAA,MACpD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,0BAAA,CAA0B,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACjH;AAAA,EAEA,MAAM,YAAA,CACJ,0BAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,2BAAA,GACH,2BAAwD,EAAA,IAAO,0BAAA;AAClE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,gCAAgC,2BAA2B,CAAA,aAAA,CAAA;AAAA,MAC3D,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,OAAA,CACJ,0BAAA,EACA,MAAA,EACA,OAAA,EAC+B;AAC/B,IAAA,MAAM,2BAAA,GACH,2BAAwD,EAAA,IAAO,0BAAA;AAClE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,SAAA,EAAU;AAAA,MAClB,gCAAgC,2BAA2B,CAAA,QAAA,CAAA;AAAA,MAC3D,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,2BAA2B,QAAA,EAAqD;AAC9E,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,0BAAA,CAA0B,IAAA;AAAA,EACtE;AAAA,EAEA,aAAa,EAAA,EAA6D;AACxE,IAAA,OAAO,KAAA,CAAM,qBAAkD,EAAE,CAAA;AAAA,EACnE;AAAA,EAEA,sBAAsB,GAAA,EAA8C;AAClE,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAmD,GAAG,GAAG,CAAA;AAAA,EACxE;AAAA,EAEA,IAAA,GAAqC;AACnC,IAAA,OAAO,0BAAA,CAA0B,IAAA;AAAA,EACnC;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,yBAAA,EAA0B;AAC/C,IAAO,oCAAA,GAAQ","file":"chunk-F5BYJ3P2.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { BuyXPayYPromotion, BuyXPayYPromotionType } from './buy_x_pay_y_promotions'\nimport type { Coupon, CouponType } from './coupons'\nimport type { EventStore } from './event_stores'\nimport type { ExternalPromotion, ExternalPromotionType } from './external_promotions'\nimport type { FixedAmountPromotion, FixedAmountPromotionType } from './fixed_amount_promotions'\nimport type { FixedPricePromotion, FixedPricePromotionType } from './fixed_price_promotions'\nimport type { FlexPromotion, FlexPromotionType } from './flex_promotions'\nimport type { FreeGiftPromotion, FreeGiftPromotionType } from './free_gift_promotions'\nimport type { FreeShippingPromotion, FreeShippingPromotionType } from './free_shipping_promotions'\nimport type { PercentageDiscountPromotion, PercentageDiscountPromotionType } from './percentage_discount_promotions'\n\ntype CouponCodesPromotionRuleType = 'coupon_codes_promotion_rules'\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype PercentageDiscountPromotionRel = ResourceRel & { type: PercentageDiscountPromotionType }\ntype FreeShippingPromotionRel = ResourceRel & { type: FreeShippingPromotionType }\ntype BuyXPayYPromotionRel = ResourceRel & { type: BuyXPayYPromotionType }\ntype FreeGiftPromotionRel = ResourceRel & { type: FreeGiftPromotionType }\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\ntype FixedAmountPromotionRel = ResourceRel & { type: FixedAmountPromotionType }\ntype FlexPromotionRel = ResourceRel & { type: FlexPromotionType }\ntype CouponRel = ResourceRel & { type: CouponType }\n\nexport type CouponCodesPromotionRuleSort = Pick<CouponCodesPromotionRule, 'id'> & ResourceSort\n// export type CouponCodesPromotionRuleFilter = Pick<CouponCodesPromotionRule, 'id'> & ResourceFilter\n\ninterface CouponCodesPromotionRule extends Resource {\n readonly type: CouponCodesPromotionRuleType\n\n promotion?:\n | PercentageDiscountPromotion\n | FreeShippingPromotion\n | BuyXPayYPromotion\n | FreeGiftPromotion\n | FixedPricePromotion\n | ExternalPromotion\n | FixedAmountPromotion\n | FlexPromotion\n | null\n event_stores?: EventStore[] | null\n coupons?: Coupon[] | null\n}\n\ninterface CouponCodesPromotionRuleCreate extends ResourceCreate {\n promotion:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n coupons?: CouponRel[] | null\n}\n\ninterface CouponCodesPromotionRuleUpdate extends ResourceUpdate {\n promotion?:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n | null\n coupons?: CouponRel[] | null\n}\n\nclass CouponCodesPromotionRules extends ApiResource<CouponCodesPromotionRule> {\n static readonly TYPE: CouponCodesPromotionRuleType = 'coupon_codes_promotion_rules' as const\n\n async create(\n resource: CouponCodesPromotionRuleCreate,\n params?: QueryParamsRetrieve<CouponCodesPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CouponCodesPromotionRule> {\n return this.resources.create<CouponCodesPromotionRuleCreate, CouponCodesPromotionRule>(\n { ...resource, type: CouponCodesPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CouponCodesPromotionRuleUpdate,\n params?: QueryParamsRetrieve<CouponCodesPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CouponCodesPromotionRule> {\n return this.resources.update<CouponCodesPromotionRuleUpdate, CouponCodesPromotionRule>(\n { ...resource, type: CouponCodesPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CouponCodesPromotionRules.TYPE } : id, options)\n }\n\n async event_stores(\n couponCodesPromotionRuleId: string | CouponCodesPromotionRule,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _couponCodesPromotionRuleId =\n (couponCodesPromotionRuleId as CouponCodesPromotionRule).id || (couponCodesPromotionRuleId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `coupon_codes_promotion_rules/${_couponCodesPromotionRuleId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async coupons(\n couponCodesPromotionRuleId: string | CouponCodesPromotionRule,\n params?: QueryParamsList<Coupon>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Coupon>> {\n const _couponCodesPromotionRuleId =\n (couponCodesPromotionRuleId as CouponCodesPromotionRule).id || (couponCodesPromotionRuleId as string)\n return this.resources.fetch<Coupon>(\n { type: 'coupons' },\n `coupon_codes_promotion_rules/${_couponCodesPromotionRuleId}/coupons`,\n params,\n options,\n ) as unknown as ListResponse<Coupon>\n }\n\n isCouponCodesPromotionRule(resource: any): resource is CouponCodesPromotionRule {\n return resource.type && resource.type === CouponCodesPromotionRules.TYPE\n }\n\n relationship(id: string | ResourceId | null): CouponCodesPromotionRuleRel {\n return super.relationshipOneToOne<CouponCodesPromotionRuleRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CouponCodesPromotionRuleRel[] {\n return super.relationshipOneToMany<CouponCodesPromotionRuleRel>(...ids)\n }\n\n type(): CouponCodesPromotionRuleType {\n return CouponCodesPromotionRules.TYPE\n }\n}\n\nconst instance = new CouponCodesPromotionRules()\nexport default instance\n\nexport type {\n CouponCodesPromotionRule,\n CouponCodesPromotionRuleCreate,\n CouponCodesPromotionRules,\n CouponCodesPromotionRuleType,\n CouponCodesPromotionRuleUpdate,\n}\n"]}
|
package/lib/chunk-F7QAC5GG.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ApiResource } from './chunk-LSBBCEX5.js';
|
|
2
|
-
|
|
3
|
-
// src/resources/resource_errors.ts
|
|
4
|
-
var ResourceErrors = class _ResourceErrors extends ApiResource {
|
|
5
|
-
static TYPE = "resource_errors";
|
|
6
|
-
async event_stores(resourceErrorId, params, options) {
|
|
7
|
-
const _resourceErrorId = resourceErrorId.id || resourceErrorId;
|
|
8
|
-
return this.resources.fetch(
|
|
9
|
-
{ type: "event_stores" },
|
|
10
|
-
`resource_errors/${_resourceErrorId}/event_stores`,
|
|
11
|
-
params,
|
|
12
|
-
options
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
isResourceError(resource) {
|
|
16
|
-
return resource.type && resource.type === _ResourceErrors.TYPE;
|
|
17
|
-
}
|
|
18
|
-
relationship(id) {
|
|
19
|
-
return super.relationshipOneToOne(id);
|
|
20
|
-
}
|
|
21
|
-
relationshipToMany(...ids) {
|
|
22
|
-
return super.relationshipOneToMany(...ids);
|
|
23
|
-
}
|
|
24
|
-
type() {
|
|
25
|
-
return _ResourceErrors.TYPE;
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
var instance = new ResourceErrors();
|
|
29
|
-
var resource_errors_default = instance;
|
|
30
|
-
|
|
31
|
-
export { resource_errors_default };
|
|
32
|
-
//# sourceMappingURL=chunk-F7QAC5GG.js.map
|
|
33
|
-
//# sourceMappingURL=chunk-F7QAC5GG.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/resource_errors.ts"],"names":[],"mappings":";;;AA4CA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,WAAA,CAA2B;AAAA,EACtD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,YAAA,CACJ,eAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAO,eAAA;AACnE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,mBAAmB,gBAAgB,CAAA,aAAA,CAAA;AAAA,MACnC,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,gBAAgB,QAAA,EAA0C;AACxD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAEA,aAAa,EAAA,EAAkD;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACxD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC7D;AAAA,EAEA,IAAA,GAA0B;AACxB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACxB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-F7QAC5GG.js","sourcesContent":["import type { QueryParamsList } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n} from '../resource'\nimport { ApiResource } from '../resource'\n\nimport type { EventStore } from './event_stores'\nimport type { Order } from './orders'\nimport type { Return } from './returns'\n\ntype ResourceErrorType = 'resource_errors'\ntype ResourceErrorRel = ResourceRel & { type: ResourceErrorType }\n\nexport type ResourceErrorSort = Pick<ResourceError, 'id' | 'name' | 'code'> & ResourceSort\n// export type ResourceErrorFilter = Pick<ResourceError, 'id' | 'name' | 'code' | 'message'> & ResourceFilter\n\ninterface ResourceError extends Resource {\n readonly type: ResourceErrorType\n\n /**\n * The resource attribute name related to the error.\n * @example ```\"number\"```\n */\n name: string\n /**\n * The error code.\n * @example ```\"BLANK\"```\n */\n code: string\n /**\n * The error message.\n * @example ```\"can't be blank\"```\n */\n message: string\n\n resource?: Order | Return | null\n event_stores?: EventStore[] | null\n}\n\nclass ResourceErrors extends ApiResource<ResourceError> {\n static readonly TYPE: ResourceErrorType = 'resource_errors' as const\n\n async event_stores(\n resourceErrorId: string | ResourceError,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _resourceErrorId = (resourceErrorId as ResourceError).id || (resourceErrorId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `resource_errors/${_resourceErrorId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isResourceError(resource: any): resource is ResourceError {\n return resource.type && resource.type === ResourceErrors.TYPE\n }\n\n relationship(id: string | ResourceId | null): ResourceErrorRel {\n return super.relationshipOneToOne<ResourceErrorRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ResourceErrorRel[] {\n return super.relationshipOneToMany<ResourceErrorRel>(...ids)\n }\n\n type(): ResourceErrorType {\n return ResourceErrors.TYPE\n }\n}\n\nconst instance = new ResourceErrors()\nexport default instance\n\nexport type { ResourceError, ResourceErrors, ResourceErrorType }\n"]}
|
package/lib/chunk-F7T5ONOF.js
DELETED
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import { extractTokenData, isTokenExpired } from './chunk-M6EAUX5W.js';
|
|
2
|
-
import { SDK_VERSION, API_SCHEMA_VERSION } from './chunk-MF5IYI5N.js';
|
|
3
|
-
import { SdkError, fetchURL, handleError, isExpiredTokenError } from './chunk-YXFYXDGG.js';
|
|
4
|
-
import { config_default } from './chunk-3DMYHXGB.js';
|
|
5
|
-
import { debug_default } from './chunk-OXHQKMPQ.js';
|
|
6
|
-
|
|
7
|
-
// src/client.ts
|
|
8
|
-
var CLIENT_HEADER_NAME = "X-CL-SDK";
|
|
9
|
-
var debug = debug_default("client");
|
|
10
|
-
var URL_VERSION_SEGMENT = API_SCHEMA_VERSION === "latest" ? "" : `/${API_SCHEMA_VERSION}`;
|
|
11
|
-
var baseURL = (organization, domain) => {
|
|
12
|
-
return `https://${organization.toLowerCase()}.${domain || config_default.default.domain}/api${URL_VERSION_SEGMENT}`;
|
|
13
|
-
};
|
|
14
|
-
var ApiClient = class _ApiClient {
|
|
15
|
-
static create(options) {
|
|
16
|
-
if ((!options.organization || !options.domain) && options.accessToken) {
|
|
17
|
-
const tokenData = extractTokenData(options.accessToken);
|
|
18
|
-
if (!options.organization && tokenData?.organization) options.organization = tokenData.organization;
|
|
19
|
-
if (!options.domain && tokenData?.domain) options.domain = tokenData.domain;
|
|
20
|
-
}
|
|
21
|
-
for (const attr of config_default.client.requiredAttributes)
|
|
22
|
-
if (!options[attr]) throw new SdkError({ message: `Undefined '${attr}' parameter` });
|
|
23
|
-
return new _ApiClient(options);
|
|
24
|
-
}
|
|
25
|
-
#baseUrl;
|
|
26
|
-
#accessToken;
|
|
27
|
-
#organization;
|
|
28
|
-
#domain;
|
|
29
|
-
#clientConfig;
|
|
30
|
-
#interceptors;
|
|
31
|
-
constructor(options) {
|
|
32
|
-
debug("new client instance %O", options);
|
|
33
|
-
this.#baseUrl = baseURL(options.organization ?? "", options.domain);
|
|
34
|
-
this.#accessToken = options.accessToken;
|
|
35
|
-
this.#organization = options.organization ?? "";
|
|
36
|
-
this.#domain = options.domain;
|
|
37
|
-
const fetchConfig = {
|
|
38
|
-
timeout: options.timeout || config_default.client.timeout,
|
|
39
|
-
fetch: options.fetch,
|
|
40
|
-
refreshToken: options.refreshToken
|
|
41
|
-
};
|
|
42
|
-
const customHeaders = this.customHeaders(options.headers);
|
|
43
|
-
const headers = {
|
|
44
|
-
...customHeaders,
|
|
45
|
-
Accept: "application/vnd.api+json",
|
|
46
|
-
"Content-Type": "application/vnd.api+json",
|
|
47
|
-
Authorization: "Bearer " + this.#accessToken
|
|
48
|
-
};
|
|
49
|
-
if (options.telemetry !== false) headers[CLIENT_HEADER_NAME] = `js/${SDK_VERSION}`;
|
|
50
|
-
if (options.userAgent) headers["User-Agent"] = options.userAgent;
|
|
51
|
-
fetchConfig.headers = headers;
|
|
52
|
-
this.#clientConfig = fetchConfig;
|
|
53
|
-
debug("fetch config: %O", fetchConfig);
|
|
54
|
-
this.#interceptors = {};
|
|
55
|
-
}
|
|
56
|
-
get interceptors() {
|
|
57
|
-
return this.#interceptors;
|
|
58
|
-
}
|
|
59
|
-
get requestHeaders() {
|
|
60
|
-
if (!this.#clientConfig.headers) this.#clientConfig.headers = {};
|
|
61
|
-
return this.#clientConfig.headers;
|
|
62
|
-
}
|
|
63
|
-
/*
|
|
64
|
-
set requestHeaders(headers: RequestHeaders) {
|
|
65
|
-
this.#clientConfig.headers = { ...this.#clientConfig.headers, ...headers }
|
|
66
|
-
}
|
|
67
|
-
*/
|
|
68
|
-
config(config) {
|
|
69
|
-
debug("config %o", config);
|
|
70
|
-
const def = this.#clientConfig;
|
|
71
|
-
if (!def.headers) def.headers = {};
|
|
72
|
-
if (config.timeout) def.timeout = config.timeout;
|
|
73
|
-
if (config.userAgent) this.userAgent(config.userAgent);
|
|
74
|
-
if (config.fetch) this.#clientConfig.fetch = config.fetch;
|
|
75
|
-
if (config.refreshToken) this.#clientConfig.refreshToken = config.refreshToken;
|
|
76
|
-
if (config.organization || config.domain)
|
|
77
|
-
this.#baseUrl = baseURL(config.organization || this.#organization, config.domain || this.#domain);
|
|
78
|
-
if (config.organization) this.#organization = config.organization;
|
|
79
|
-
if (config.domain) this.#domain = config.domain;
|
|
80
|
-
if (config.accessToken) {
|
|
81
|
-
this.#accessToken = config.accessToken;
|
|
82
|
-
def.headers.Authorization = "Bearer " + this.#accessToken;
|
|
83
|
-
}
|
|
84
|
-
if (config.headers) def.headers = { ...def.headers, ...this.customHeaders(config.headers) };
|
|
85
|
-
return this;
|
|
86
|
-
}
|
|
87
|
-
userAgent(userAgent) {
|
|
88
|
-
if (userAgent) this.requestHeaders["User-Agent"] = userAgent;
|
|
89
|
-
return this;
|
|
90
|
-
}
|
|
91
|
-
async request(method, path, body, options) {
|
|
92
|
-
debug("request %s %s, %O, %O", method, path, body || {}, options || {});
|
|
93
|
-
if (options?.userAgent) debug("User-Agent header ignored in request config");
|
|
94
|
-
const baseUrl = options?.organization ? baseURL(options.organization, options.domain) : this.#baseUrl;
|
|
95
|
-
const url = new URL(`${baseUrl}/${path}`);
|
|
96
|
-
const bodyData = body ? JSON.stringify({ data: body }) : void 0;
|
|
97
|
-
const headers = { ...this.requestHeaders, ...this.customHeaders(options?.headers) };
|
|
98
|
-
const accessToken = options?.accessToken || this.#accessToken;
|
|
99
|
-
if (accessToken) headers.Authorization = "Bearer " + accessToken;
|
|
100
|
-
const refreshToken = options?.refreshToken || this.#clientConfig.refreshToken;
|
|
101
|
-
const fetchFunction = options?.fetch || this.#clientConfig.fetch;
|
|
102
|
-
const requestOptions = { method, body: bodyData, headers };
|
|
103
|
-
const timeout = options?.timeout || this.#clientConfig.timeout;
|
|
104
|
-
if (timeout) {
|
|
105
|
-
if (AbortSignal?.timeout) requestOptions.signal = AbortSignal.timeout(timeout);
|
|
106
|
-
else debug("Timeout not set. Undefined function: %s", "AbortSignal.timeout");
|
|
107
|
-
}
|
|
108
|
-
if (options?.params)
|
|
109
|
-
Object.entries(options?.params).forEach(([name, value]) => {
|
|
110
|
-
url.searchParams.append(name, String(value));
|
|
111
|
-
});
|
|
112
|
-
const clientOptions = {
|
|
113
|
-
interceptors: this.interceptors,
|
|
114
|
-
fetch: fetchFunction
|
|
115
|
-
};
|
|
116
|
-
try {
|
|
117
|
-
return await fetchURL(url, requestOptions, clientOptions).catch((error) => handleError(error));
|
|
118
|
-
} catch (err) {
|
|
119
|
-
if (isExpiredTokenError(err) && refreshToken && isTokenExpired(accessToken)) {
|
|
120
|
-
debug("Access token has expired");
|
|
121
|
-
const newAccessToken = await refreshToken(this.#accessToken).catch((e) => {
|
|
122
|
-
debug("Refresh token error: %s", e.message);
|
|
123
|
-
const tokenError = new SdkError({ message: "Error refreshing access token", type: "token-refresh" /* TOKEN_REFRESH */ });
|
|
124
|
-
tokenError.source = e;
|
|
125
|
-
throw tokenError;
|
|
126
|
-
});
|
|
127
|
-
if (newAccessToken) {
|
|
128
|
-
debug("Access token refreshed");
|
|
129
|
-
this.config({ accessToken: newAccessToken });
|
|
130
|
-
this.#accessToken = newAccessToken;
|
|
131
|
-
if (requestOptions.headers)
|
|
132
|
-
requestOptions.headers.Authorization = `Bearer ${newAccessToken}`;
|
|
133
|
-
const response = await fetchURL(url, requestOptions, clientOptions).catch(
|
|
134
|
-
(error) => handleError(error)
|
|
135
|
-
);
|
|
136
|
-
return response;
|
|
137
|
-
}
|
|
138
|
-
} else throw err;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
customHeaders(headers) {
|
|
142
|
-
const customHeaders = {};
|
|
143
|
-
if (headers) {
|
|
144
|
-
for (const [name, value] of Object.entries(headers))
|
|
145
|
-
if (!["accept", "content-type", "authorization", "user-agent", CLIENT_HEADER_NAME.toLowerCase()].includes(
|
|
146
|
-
name.toLowerCase()
|
|
147
|
-
))
|
|
148
|
-
customHeaders[name] = value;
|
|
149
|
-
}
|
|
150
|
-
return customHeaders;
|
|
151
|
-
}
|
|
152
|
-
get currentAccessToken() {
|
|
153
|
-
return this.#accessToken;
|
|
154
|
-
}
|
|
155
|
-
get currentOrganization() {
|
|
156
|
-
return this.#organization;
|
|
157
|
-
}
|
|
158
|
-
};
|
|
159
|
-
var client_default = ApiClient;
|
|
160
|
-
|
|
161
|
-
export { client_default };
|
|
162
|
-
//# sourceMappingURL=chunk-F7T5ONOF.js.map
|
|
163
|
-
//# sourceMappingURL=chunk-F7T5ONOF.js.map
|