@commercelayer/sdk 7.0.0-rc.12 → 7.0.0-rc.13
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/lib/{api-BIiVfx1G.d.ts → api-C7ddKOtt.d.ts} +59 -1
- package/lib/{api-xIgvzFhW.d.cts → api-DuTbl3z_.d.cts} +59 -1
- package/lib/api.cjs +20 -20
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +10 -10
- package/lib/bundle.cjs +22 -22
- package/lib/bundle.cjs.map +1 -1
- package/lib/bundle.d.cts +1 -1
- package/lib/bundle.d.ts +1 -1
- package/lib/bundle.js +11 -11
- package/lib/bundle.js.map +1 -1
- package/lib/chunk-2AFNQJXP.cjs.map +1 -1
- package/lib/chunk-2AMKJ6V7.cjs.map +1 -1
- package/lib/chunk-2HLQW5MF.cjs.map +1 -1
- package/lib/chunk-2HPO4UZA.cjs.map +1 -1
- package/lib/chunk-2JOYLKTP.cjs.map +1 -1
- package/lib/chunk-2KKHO6QF.js.map +1 -1
- package/lib/chunk-2L2ZM3VD.js.map +1 -1
- package/lib/chunk-2P6AFRJL.js.map +1 -1
- package/lib/chunk-2PYM3QGA.js.map +1 -1
- package/lib/chunk-2THU5NEW.cjs.map +1 -1
- package/lib/{chunk-WXE5KXJC.cjs → chunk-2VPJZZIF.cjs} +3 -3
- package/lib/chunk-2VPJZZIF.cjs.map +1 -0
- package/lib/chunk-2XGMKMF5.cjs.map +1 -1
- package/lib/chunk-34H2NFDA.js.map +1 -1
- package/lib/chunk-35OHXDG3.cjs.map +1 -1
- package/lib/chunk-3ADITMLN.cjs.map +1 -1
- package/lib/chunk-3ANXNJ6U.cjs.map +1 -1
- package/lib/chunk-3AOPII3W.js.map +1 -1
- package/lib/chunk-3DFZ5QLR.js.map +1 -1
- package/lib/chunk-3I5BJF3J.js.map +1 -1
- package/lib/chunk-3N2MNKA3.js.map +1 -1
- package/lib/chunk-3NWQH32A.js.map +1 -1
- package/lib/chunk-3OBFBFUV.js.map +1 -1
- package/lib/chunk-3PVKJIA3.js.map +1 -1
- package/lib/chunk-3RR27O3T.js.map +1 -1
- package/lib/chunk-3TGZNMLP.cjs.map +1 -1
- package/lib/chunk-3URHH3S6.js.map +1 -1
- package/lib/chunk-3WKN5OCU.cjs.map +1 -1
- package/lib/chunk-3XWE56FL.cjs.map +1 -1
- package/lib/chunk-42DT6ZET.cjs.map +1 -1
- package/lib/chunk-432EXURP.js.map +1 -1
- package/lib/chunk-4IH4EHXT.cjs.map +1 -1
- package/lib/chunk-4KFJUIFD.js.map +1 -1
- package/lib/chunk-4KO5LZ7F.js.map +1 -1
- package/lib/chunk-4L4MGCUZ.js.map +1 -1
- package/lib/chunk-4L73LJKG.js.map +1 -1
- package/lib/chunk-4NI5SICY.cjs.map +1 -1
- package/lib/chunk-4SCFKFIM.cjs.map +1 -1
- package/lib/chunk-57XXD3GQ.cjs.map +1 -1
- package/lib/chunk-5EXCGVF2.cjs.map +1 -1
- package/lib/chunk-5FZNBGAF.cjs.map +1 -1
- package/lib/chunk-5NMDIVXH.js.map +1 -1
- package/lib/chunk-5OQQBNVB.js.map +1 -1
- package/lib/chunk-5P5Z7NXC.js.map +1 -1
- package/lib/chunk-5R76TU4I.cjs.map +1 -1
- package/lib/chunk-627I2FYX.cjs.map +1 -1
- package/lib/chunk-66JDSPFD.cjs.map +1 -1
- package/lib/{chunk-AVJX4OEZ.js → chunk-67KNILG6.js} +3 -3
- package/lib/chunk-67KNILG6.js.map +1 -0
- package/lib/chunk-67QVA2J3.cjs.map +1 -1
- package/lib/chunk-6AJSOS56.cjs.map +1 -1
- package/lib/chunk-6B66AQKB.cjs.map +1 -1
- package/lib/chunk-6OHA2TO3.cjs.map +1 -1
- package/lib/chunk-6SCAIB4K.cjs.map +1 -1
- package/lib/chunk-6SOWFGBP.cjs.map +1 -1
- package/lib/{chunk-EQD223JW.cjs → chunk-73PUROZG.cjs} +2 -2
- package/lib/chunk-73PUROZG.cjs.map +1 -0
- package/lib/chunk-7CQTUOR4.cjs.map +1 -1
- package/lib/chunk-7JLRB7QH.js.map +1 -1
- package/lib/{chunk-ANCLAYJV.cjs → chunk-7KY7C5RC.cjs} +2 -2
- package/lib/chunk-7KY7C5RC.cjs.map +1 -0
- package/lib/chunk-7SG4WU7W.js.map +1 -1
- package/lib/chunk-7SZY5BWE.js.map +1 -1
- package/lib/chunk-7VSYXEXL.js.map +1 -1
- package/lib/chunk-7Z2U4MHU.cjs.map +1 -1
- package/lib/chunk-A6BT5FSV.cjs.map +1 -1
- package/lib/chunk-A7BEMDVP.cjs.map +1 -1
- package/lib/chunk-AD73LDFJ.cjs.map +1 -1
- package/lib/chunk-AGNIOGQC.cjs.map +1 -1
- package/lib/chunk-AIGQRBCY.cjs.map +1 -1
- package/lib/chunk-AQFAND5D.cjs.map +1 -1
- package/lib/chunk-ARIBIRKF.cjs.map +1 -1
- package/lib/chunk-AW3TRBZ7.js.map +1 -1
- package/lib/{chunk-2UUZHL2R.js → chunk-AWP3PHRS.js} +2 -2
- package/lib/chunk-AWP3PHRS.js.map +1 -0
- package/lib/chunk-B72FREUL.cjs.map +1 -1
- package/lib/chunk-BJYOKKGX.cjs.map +1 -1
- package/lib/chunk-BN6XJAZH.cjs.map +1 -1
- package/lib/chunk-BTAKU6V5.cjs.map +1 -1
- package/lib/chunk-CG2ACHGS.js.map +1 -1
- package/lib/chunk-CHYP5F26.js.map +1 -1
- package/lib/chunk-CK6RZLVM.cjs.map +1 -1
- package/lib/chunk-CNCZCBI3.js.map +1 -1
- package/lib/chunk-CRRYP7ZN.js.map +1 -1
- package/lib/chunk-CTXBUDGO.cjs.map +1 -1
- package/lib/chunk-CUNOMS5N.js.map +1 -1
- package/lib/chunk-D26KDUDM.cjs.map +1 -1
- package/lib/chunk-D5E4OGXU.js.map +1 -1
- package/lib/chunk-D7KNSKNJ.js.map +1 -1
- package/lib/chunk-DAXKXBA3.js.map +1 -1
- package/lib/chunk-DGW3ZSW6.js.map +1 -1
- package/lib/chunk-DJ572MZB.cjs.map +1 -1
- package/lib/chunk-DOFPDQMJ.cjs.map +1 -1
- package/lib/chunk-DOGEZ6XX.cjs.map +1 -1
- package/lib/chunk-DSKZRVXS.js.map +1 -1
- package/lib/chunk-DYZGWPZ6.js.map +1 -1
- package/lib/{chunk-7ISS2FDY.js → chunk-DZLNYX4L.js} +2 -2
- package/lib/chunk-DZLNYX4L.js.map +1 -0
- package/lib/chunk-E3FDHGI7.js.map +1 -1
- package/lib/chunk-E4DYW6HB.cjs.map +1 -1
- package/lib/chunk-E65GENXB.js.map +1 -1
- package/lib/chunk-E6TBQVLK.cjs.map +1 -1
- package/lib/chunk-EADFDBOR.cjs.map +1 -1
- package/lib/chunk-ECMCBU3N.js.map +1 -1
- package/lib/chunk-EEFOL62K.js.map +1 -1
- package/lib/chunk-ELBOXOTA.js.map +1 -1
- package/lib/chunk-EP22KKHR.js.map +1 -1
- package/lib/chunk-EP7MAEQH.cjs.map +1 -1
- package/lib/chunk-ESMKOP42.cjs.map +1 -1
- package/lib/chunk-F6MSHDB7.cjs.map +1 -1
- package/lib/chunk-FAU5EILL.js.map +1 -1
- package/lib/chunk-FO7WBEPF.js.map +1 -1
- package/lib/{chunk-HAAE23MQ.js → chunk-FRZBCW3D.js} +2 -2
- package/lib/chunk-FRZBCW3D.js.map +1 -0
- package/lib/chunk-FSFXOZ35.cjs.map +1 -1
- package/lib/chunk-FTAZDUH6.js.map +1 -1
- package/lib/chunk-FVJDRHG7.js.map +1 -1
- package/lib/{chunk-HSILJQCD.js → chunk-FWFGGAKV.js} +2 -2
- package/lib/chunk-FWFGGAKV.js.map +1 -0
- package/lib/chunk-FXE62CPP.cjs.map +1 -1
- package/lib/chunk-FYKIHWAM.cjs.map +1 -1
- package/lib/chunk-G74OZ4M6.js.map +1 -1
- package/lib/chunk-GE6OHQR6.cjs.map +1 -1
- package/lib/chunk-GHLCA7BX.js.map +1 -1
- package/lib/chunk-GLSPCG3M.cjs.map +1 -1
- package/lib/chunk-H2USYPU6.js.map +1 -1
- package/lib/chunk-H4PUXGNI.cjs.map +1 -1
- package/lib/chunk-H4SVEI6E.js.map +1 -1
- package/lib/chunk-HBUDZOK7.cjs.map +1 -1
- package/lib/chunk-HCBXRHD7.js.map +1 -1
- package/lib/chunk-HDYENVKD.js.map +1 -1
- package/lib/chunk-HERQULAV.cjs.map +1 -1
- package/lib/chunk-HNHF6T2I.cjs.map +1 -1
- package/lib/chunk-HNONYIDO.cjs.map +1 -1
- package/lib/chunk-HQ5STEMD.js.map +1 -1
- package/lib/chunk-HQ6TJSB7.cjs.map +1 -1
- package/lib/chunk-I3SKGXTB.cjs.map +1 -1
- package/lib/{chunk-BBEMCANC.cjs → chunk-I5KTGLTE.cjs} +2 -2
- package/lib/chunk-I5KTGLTE.cjs.map +1 -0
- package/lib/chunk-IITNQS6D.js.map +1 -1
- package/lib/chunk-IKENWSRH.cjs.map +1 -1
- package/lib/chunk-IKHD5UQP.cjs.map +1 -1
- package/lib/chunk-INJ7FRDA.cjs.map +1 -1
- package/lib/chunk-J4CTOHX6.cjs.map +1 -1
- package/lib/chunk-J6NBJHWL.cjs.map +1 -1
- package/lib/chunk-J6PTNG3D.js.map +1 -1
- package/lib/{chunk-ROPOLXIV.js → chunk-J6Z6ZR33.js} +2 -2
- package/lib/chunk-J6Z6ZR33.js.map +1 -0
- package/lib/chunk-J7ZSBB35.js.map +1 -1
- package/lib/chunk-JAQECLCE.js.map +1 -1
- package/lib/chunk-JECYKPCC.cjs.map +1 -1
- package/lib/chunk-JPUF5YXX.js.map +1 -1
- package/lib/chunk-JRTJ6LWK.js.map +1 -1
- package/lib/chunk-JT7HVLLW.cjs.map +1 -1
- package/lib/chunk-JWC2GSYH.cjs.map +1 -1
- package/lib/chunk-JYOFP6BM.js.map +1 -1
- package/lib/chunk-JYXAF775.js.map +1 -1
- package/lib/chunk-K2CU5HIV.js.map +1 -1
- package/lib/chunk-K6WSCQKS.cjs.map +1 -1
- package/lib/chunk-KH5OQRQL.js.map +1 -1
- package/lib/chunk-KITKWF6F.js.map +1 -1
- package/lib/chunk-KPRWSW6P.cjs.map +1 -1
- package/lib/chunk-KU5U6DTU.js.map +1 -1
- package/lib/chunk-KWRDUU7K.js.map +1 -1
- package/lib/{chunk-DTGODPCN.js → chunk-KYZ4CKIR.js} +2 -2
- package/lib/chunk-KYZ4CKIR.js.map +1 -0
- package/lib/{chunk-EHWAGYNX.js → chunk-KZ75CT2Q.js} +2 -2
- package/lib/chunk-KZ75CT2Q.js.map +1 -0
- package/lib/chunk-L4LPS3DV.cjs.map +1 -1
- package/lib/chunk-L4TDKOAC.js.map +1 -1
- package/lib/{chunk-INZD34YD.cjs → chunk-L5FMOT44.cjs} +2 -2
- package/lib/chunk-L5FMOT44.cjs.map +1 -0
- package/lib/chunk-L5NEDGXK.js.map +1 -1
- package/lib/chunk-L6IGO47T.js.map +1 -1
- package/lib/chunk-LCNT6GY3.js.map +1 -1
- package/lib/chunk-LIT4FEIU.cjs.map +1 -1
- package/lib/chunk-LJ2EP6AL.cjs.map +1 -1
- package/lib/{chunk-WBPEFNL7.cjs → chunk-LJFBPFPR.cjs} +2 -2
- package/lib/chunk-LJFBPFPR.cjs.map +1 -0
- package/lib/chunk-LNMY5BDT.js.map +1 -1
- package/lib/chunk-LTLMRGB7.js.map +1 -1
- package/lib/chunk-MADGMICB.js.map +1 -1
- package/lib/chunk-MCGX2ZDC.cjs.map +1 -1
- package/lib/chunk-MJRMRWP3.js.map +1 -1
- package/lib/chunk-MQZSDICO.cjs.map +1 -1
- package/lib/chunk-MUPRLXGP.js.map +1 -1
- package/lib/chunk-MWYBER5I.cjs.map +1 -1
- package/lib/chunk-MZNHRIXE.js.map +1 -1
- package/lib/chunk-N4P7A3RY.js.map +1 -1
- package/lib/chunk-NAWKHFBZ.js.map +1 -1
- package/lib/chunk-NBYV35R4.cjs.map +1 -1
- package/lib/chunk-NDPDO54G.js.map +1 -1
- package/lib/chunk-NEC22ZSI.cjs.map +1 -1
- package/lib/chunk-NIHOABAW.cjs.map +1 -1
- package/lib/chunk-NJYMO7FP.cjs.map +1 -1
- package/lib/chunk-NODKE6P4.js.map +1 -1
- package/lib/{chunk-6PWK52UZ.cjs → chunk-NYS7N44P.cjs} +2 -2
- package/lib/chunk-NYS7N44P.cjs.map +1 -0
- package/lib/chunk-OGLS27LJ.js.map +1 -1
- package/lib/chunk-OYFNK2SE.cjs.map +1 -1
- package/lib/chunk-PEU5GGGE.js.map +1 -1
- package/lib/{chunk-M2ZERG2X.cjs → chunk-PGZTQAOR.cjs} +2 -2
- package/lib/chunk-PGZTQAOR.cjs.map +1 -0
- package/lib/chunk-PNSVP3KP.cjs.map +1 -1
- package/lib/chunk-PQS6KXZ2.cjs.map +1 -1
- package/lib/chunk-PV7MUP5Z.js.map +1 -1
- package/lib/chunk-PZZLLHJP.js.map +1 -1
- package/lib/chunk-Q2ZSQM7I.js.map +1 -1
- package/lib/chunk-Q66HILUF.js.map +1 -1
- package/lib/chunk-Q66JEOCJ.cjs.map +1 -1
- package/lib/chunk-Q7YHSPJL.js.map +1 -1
- package/lib/chunk-QGE4ELJO.cjs.map +1 -1
- package/lib/chunk-QK5MFD4L.js.map +1 -1
- package/lib/chunk-QK7D6L3W.js.map +1 -1
- package/lib/chunk-QYDOENWU.cjs.map +1 -1
- package/lib/chunk-QZTNLPOD.cjs.map +1 -1
- package/lib/chunk-QZWQNPKC.js.map +1 -1
- package/lib/chunk-R2LRLUUY.js.map +1 -1
- package/lib/chunk-R755X3AG.cjs.map +1 -1
- package/lib/chunk-RHARO4TQ.cjs.map +1 -1
- package/lib/chunk-RL7Y22OT.js.map +1 -1
- package/lib/chunk-RT7XLEV6.js.map +1 -1
- package/lib/chunk-RTDD2NRL.cjs.map +1 -1
- package/lib/chunk-RTGW34KX.cjs.map +1 -1
- package/lib/{chunk-WVAW33XQ.js → chunk-S4GBVQLI.js} +3 -3
- package/lib/chunk-S4GBVQLI.js.map +1 -0
- package/lib/{chunk-MPSHBMZS.js → chunk-SDRMBCHM.js} +2 -2
- package/lib/chunk-SDRMBCHM.js.map +1 -0
- package/lib/chunk-SGOUEVJ3.cjs.map +1 -1
- package/lib/chunk-SGWRNEJB.cjs.map +1 -1
- package/lib/chunk-SKFA2ZIK.js.map +1 -1
- package/lib/chunk-SOXJJRL2.js.map +1 -1
- package/lib/chunk-SPLHKBWG.cjs.map +1 -1
- package/lib/chunk-SRW7OWVS.cjs.map +1 -1
- package/lib/chunk-SUJCEUOZ.cjs.map +1 -1
- package/lib/chunk-SWWPX4V4.cjs.map +1 -1
- package/lib/chunk-THO6KQJZ.js.map +1 -1
- package/lib/chunk-THVPSJTK.cjs.map +1 -1
- package/lib/chunk-TIJIXGNJ.cjs.map +1 -1
- package/lib/chunk-TM5OCFYV.cjs.map +1 -1
- package/lib/chunk-TOV6ECTA.js.map +1 -1
- package/lib/chunk-TQFODT4D.cjs.map +1 -1
- package/lib/chunk-TSD2PK6H.js.map +1 -1
- package/lib/chunk-TSLXKI72.js.map +1 -1
- package/lib/chunk-U5FTZYJJ.js.map +1 -1
- package/lib/chunk-U6PW4AZV.js.map +1 -1
- package/lib/chunk-UB6JC3W7.js.map +1 -1
- package/lib/chunk-UBXNH6J3.js.map +1 -1
- package/lib/chunk-UP7FR6HD.cjs.map +1 -1
- package/lib/{chunk-W6AL2GJ4.cjs → chunk-UROMLQDG.cjs} +2 -2
- package/lib/chunk-UROMLQDG.cjs.map +1 -0
- package/lib/chunk-VNWOCO65.cjs.map +1 -1
- package/lib/chunk-VPXMI42G.cjs.map +1 -1
- package/lib/chunk-VRFSITD3.js.map +1 -1
- package/lib/chunk-VUCYIRSC.cjs.map +1 -1
- package/lib/chunk-W6YJDUYD.js.map +1 -1
- package/lib/chunk-WAL76UPE.cjs.map +1 -1
- package/lib/chunk-WC4Z7ENS.cjs.map +1 -1
- package/lib/chunk-WI5IVLYL.js.map +1 -1
- package/lib/chunk-WKN5RLNR.js.map +1 -1
- package/lib/chunk-WP3L72CW.js.map +1 -1
- package/lib/chunk-WTHX574O.js.map +1 -1
- package/lib/chunk-WVKEXOIY.js.map +1 -1
- package/lib/chunk-WXD4O4UY.js.map +1 -1
- package/lib/chunk-X2D47UM7.cjs.map +1 -1
- package/lib/chunk-XMDDYWH5.js.map +1 -1
- package/lib/{chunk-S3MCPCGR.cjs → chunk-XOYVZN2R.cjs} +4 -4
- package/lib/chunk-XOYVZN2R.cjs.map +1 -0
- package/lib/chunk-XPF5Z2WY.js.map +1 -1
- package/lib/chunk-XR3KEV7U.js.map +1 -1
- package/lib/chunk-XUC3BYL2.cjs.map +1 -1
- package/lib/{chunk-YUGZUUAU.js → chunk-XXKXNBD5.js} +2 -2
- package/lib/chunk-XXKXNBD5.js.map +1 -0
- package/lib/{chunk-N6MHUHGE.cjs → chunk-Y27X5PYA.cjs} +2 -2
- package/lib/chunk-Y27X5PYA.cjs.map +1 -0
- package/lib/chunk-Y2IGLW5N.js.map +1 -1
- package/lib/chunk-Y3BFYVWA.js.map +1 -1
- package/lib/chunk-Y5BP4C42.cjs.map +1 -1
- package/lib/chunk-YAKNUPNE.cjs.map +1 -1
- package/lib/chunk-YAVHAWTZ.js.map +1 -1
- package/lib/chunk-YBXRC6MC.js.map +1 -1
- package/lib/chunk-YHYBOXVX.cjs.map +1 -1
- package/lib/chunk-YIDX7HVR.cjs.map +1 -1
- package/lib/chunk-YN4M5CNJ.js.map +1 -1
- package/lib/chunk-YOHBJHTH.cjs.map +1 -1
- package/lib/chunk-YY5ENJSH.cjs.map +1 -1
- package/lib/{chunk-SN6BP777.js → chunk-YZ57ATOP.js} +2 -2
- package/lib/chunk-YZ57ATOP.js.map +1 -0
- package/lib/chunk-Z2QVXW6T.cjs.map +1 -1
- package/lib/chunk-Z667GAZJ.js.map +1 -1
- package/lib/chunk-Z7DKPFKZ.js.map +1 -1
- package/lib/chunk-ZAISVVBE.cjs.map +1 -1
- package/lib/chunk-ZASD6IUL.js.map +1 -1
- package/lib/chunk-ZEEB5YAU.js.map +1 -1
- package/lib/{chunk-IDAOX5RB.cjs → chunk-ZLDJ7WAY.cjs} +2 -2
- package/lib/chunk-ZLDJ7WAY.cjs.map +1 -0
- package/lib/chunk-ZQSCFH5J.cjs.map +1 -1
- package/lib/chunk-ZTVQSWSD.cjs.map +1 -1
- package/lib/chunk-ZU7GFVQ6.js.map +1 -1
- package/lib/chunk-ZZF34M2E.cjs.map +1 -1
- package/lib/commercelayer.cjs +5 -5
- package/lib/commercelayer.d.cts +3 -3
- package/lib/commercelayer.d.ts +3 -3
- package/lib/commercelayer.js +1 -1
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/index.cjs +25 -25
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +12 -12
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- 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.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.cjs +2 -2
- 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 +1 -1
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +1 -1
- 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_payments.d.cts +2 -2
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +1 -1
- 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_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.d.cts +2 -2
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_password_resets.d.cts +2 -2
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_payment_sources.d.cts +2 -2
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/delivery_lead_times.d.cts +2 -2
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/discount_engine_items.d.cts +2 -2
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_promotions.cjs +2 -2
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +1 -1
- package/lib/resources/external_tax_calculators.d.cts +2 -2
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.cjs +2 -2
- 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 +1 -1
- package/lib/resources/fixed_price_promotions.cjs +2 -2
- 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 +1 -1
- package/lib/resources/flex_promotions.cjs +2 -2
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +1 -1
- package/lib/resources/free_gift_promotions.cjs +2 -2
- 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 +1 -1
- package/lib/resources/free_shipping_promotions.cjs +2 -2
- 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 +1 -1
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/gift_card_recipients.d.cts +2 -2
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.d.cts +2 -2
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_return_locations.d.cts +2 -2
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.d.cts +2 -2
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/line_item_options.d.cts +2 -2
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.d.cts +2 -2
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +1 -1
- 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_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_subscription_items.d.cts +2 -2
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/organizations.cjs +2 -2
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +1 -1
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/parcel_line_items.d.cts +2 -2
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.cjs +2 -2
- 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 +1 -1
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.d.cts +2 -2
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.d.cts +2 -2
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.d.cts +2 -2
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotions.cjs +2 -2
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +1 -1
- package/lib/resources/recurring_order_copies.d.cts +2 -2
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/return_line_items.d.cts +2 -2
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.d.cts +2 -2
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.d.cts +2 -2
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +1 -1
- 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_promotion_rules.d.cts +2 -2
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_line_items.d.cts +2 -2
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.d.cts +2 -2
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/talon_one_accounts.d.cts +2 -2
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/versions.d.cts +2 -2
- package/lib/resources/versions.d.ts +1 -1
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/static.cjs +3 -3
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +2 -2
- package/package.json +5 -5
- package/lib/chunk-2UUZHL2R.js.map +0 -1
- package/lib/chunk-6PWK52UZ.cjs.map +0 -1
- package/lib/chunk-7ISS2FDY.js.map +0 -1
- package/lib/chunk-ANCLAYJV.cjs.map +0 -1
- package/lib/chunk-AVJX4OEZ.js.map +0 -1
- package/lib/chunk-BBEMCANC.cjs.map +0 -1
- package/lib/chunk-DTGODPCN.js.map +0 -1
- package/lib/chunk-EHWAGYNX.js.map +0 -1
- package/lib/chunk-EQD223JW.cjs.map +0 -1
- package/lib/chunk-HAAE23MQ.js.map +0 -1
- package/lib/chunk-HSILJQCD.js.map +0 -1
- package/lib/chunk-IDAOX5RB.cjs.map +0 -1
- package/lib/chunk-INZD34YD.cjs.map +0 -1
- package/lib/chunk-M2ZERG2X.cjs.map +0 -1
- package/lib/chunk-MPSHBMZS.js.map +0 -1
- package/lib/chunk-N6MHUHGE.cjs.map +0 -1
- package/lib/chunk-ROPOLXIV.js.map +0 -1
- package/lib/chunk-S3MCPCGR.cjs.map +0 -1
- package/lib/chunk-SN6BP777.js.map +0 -1
- package/lib/chunk-W6AL2GJ4.cjs.map +0 -1
- package/lib/chunk-WBPEFNL7.cjs.map +0 -1
- package/lib/chunk-WVAW33XQ.js.map +0 -1
- package/lib/chunk-WXE5KXJC.cjs.map +0 -1
- package/lib/chunk-YUGZUUAU.js.map +0 -1
package/lib/bundle.cjs
CHANGED
@@ -41,21 +41,21 @@ var chunkY5BP4C42_cjs = require('./chunk-Y5BP4C42.cjs');
|
|
41
41
|
var chunkVPXMI42G_cjs = require('./chunk-VPXMI42G.cjs');
|
42
42
|
var chunkBJYOKKGX_cjs = require('./chunk-BJYOKKGX.cjs');
|
43
43
|
var chunkJECYKPCC_cjs = require('./chunk-JECYKPCC.cjs');
|
44
|
-
var
|
44
|
+
var chunkNYS7N44P_cjs = require('./chunk-NYS7N44P.cjs');
|
45
45
|
var chunk2HPO4UZA_cjs = require('./chunk-2HPO4UZA.cjs');
|
46
46
|
var chunkDOFPDQMJ_cjs = require('./chunk-DOFPDQMJ.cjs');
|
47
47
|
var chunkBTAKU6V5_cjs = require('./chunk-BTAKU6V5.cjs');
|
48
48
|
var chunkI3SKGXTB_cjs = require('./chunk-I3SKGXTB.cjs');
|
49
49
|
var chunkZZF34M2E_cjs = require('./chunk-ZZF34M2E.cjs');
|
50
50
|
var chunkNEC22ZSI_cjs = require('./chunk-NEC22ZSI.cjs');
|
51
|
-
var
|
51
|
+
var chunkI5KTGLTE_cjs = require('./chunk-I5KTGLTE.cjs');
|
52
52
|
var chunkOYFNK2SE_cjs = require('./chunk-OYFNK2SE.cjs');
|
53
53
|
var chunkYAKNUPNE_cjs = require('./chunk-YAKNUPNE.cjs');
|
54
54
|
var chunkYOHBJHTH_cjs = require('./chunk-YOHBJHTH.cjs');
|
55
55
|
var chunkMCGX2ZDC_cjs = require('./chunk-MCGX2ZDC.cjs');
|
56
56
|
var chunkMQZSDICO_cjs = require('./chunk-MQZSDICO.cjs');
|
57
57
|
var chunkAQFAND5D_cjs = require('./chunk-AQFAND5D.cjs');
|
58
|
-
var
|
58
|
+
var chunkLJFBPFPR_cjs = require('./chunk-LJFBPFPR.cjs');
|
59
59
|
var chunkQZTNLPOD_cjs = require('./chunk-QZTNLPOD.cjs');
|
60
60
|
var chunkAIGQRBCY_cjs = require('./chunk-AIGQRBCY.cjs');
|
61
61
|
var chunk2HLQW5MF_cjs = require('./chunk-2HLQW5MF.cjs');
|
@@ -87,13 +87,13 @@ var chunk2AFNQJXP_cjs = require('./chunk-2AFNQJXP.cjs');
|
|
87
87
|
var chunkSPLHKBWG_cjs = require('./chunk-SPLHKBWG.cjs');
|
88
88
|
var chunkL4LPS3DV_cjs = require('./chunk-L4LPS3DV.cjs');
|
89
89
|
var chunk3ANXNJ6U_cjs = require('./chunk-3ANXNJ6U.cjs');
|
90
|
-
var
|
90
|
+
var chunk7KY7C5RC_cjs = require('./chunk-7KY7C5RC.cjs');
|
91
91
|
var chunkPNSVP3KP_cjs = require('./chunk-PNSVP3KP.cjs');
|
92
|
-
var
|
93
|
-
var
|
94
|
-
var
|
95
|
-
var
|
96
|
-
var
|
92
|
+
var chunkPGZTQAOR_cjs = require('./chunk-PGZTQAOR.cjs');
|
93
|
+
var chunk73PUROZG_cjs = require('./chunk-73PUROZG.cjs');
|
94
|
+
var chunkUROMLQDG_cjs = require('./chunk-UROMLQDG.cjs');
|
95
|
+
var chunkZLDJ7WAY_cjs = require('./chunk-ZLDJ7WAY.cjs');
|
96
|
+
var chunkL5FMOT44_cjs = require('./chunk-L5FMOT44.cjs');
|
97
97
|
var chunkNJYMO7FP_cjs = require('./chunk-NJYMO7FP.cjs');
|
98
98
|
var chunkSWWPX4V4_cjs = require('./chunk-SWWPX4V4.cjs');
|
99
99
|
var chunk2JOYLKTP_cjs = require('./chunk-2JOYLKTP.cjs');
|
@@ -110,7 +110,7 @@ var chunkFXE62CPP_cjs = require('./chunk-FXE62CPP.cjs');
|
|
110
110
|
var chunk627I2FYX_cjs = require('./chunk-627I2FYX.cjs');
|
111
111
|
var chunkZTVQSWSD_cjs = require('./chunk-ZTVQSWSD.cjs');
|
112
112
|
var chunkWC4Z7ENS_cjs = require('./chunk-WC4Z7ENS.cjs');
|
113
|
-
var
|
113
|
+
var chunkY27X5PYA_cjs = require('./chunk-Y27X5PYA.cjs');
|
114
114
|
var chunk4IH4EHXT_cjs = require('./chunk-4IH4EHXT.cjs');
|
115
115
|
var chunkR755X3AG_cjs = require('./chunk-R755X3AG.cjs');
|
116
116
|
var chunkCK6RZLVM_cjs = require('./chunk-CK6RZLVM.cjs');
|
@@ -132,7 +132,7 @@ var chunkH4PUXGNI_cjs = require('./chunk-H4PUXGNI.cjs');
|
|
132
132
|
var chunkESMKOP42_cjs = require('./chunk-ESMKOP42.cjs');
|
133
133
|
var chunkAGNIOGQC_cjs = require('./chunk-AGNIOGQC.cjs');
|
134
134
|
var chunkSGWRNEJB_cjs = require('./chunk-SGWRNEJB.cjs');
|
135
|
-
var
|
135
|
+
var chunk2VPJZZIF_cjs = require('./chunk-2VPJZZIF.cjs');
|
136
136
|
require('./chunk-QYDOENWU.cjs');
|
137
137
|
require('./chunk-YY5ENJSH.cjs');
|
138
138
|
require('./chunk-WAL76UPE.cjs');
|
@@ -145,7 +145,7 @@ require('./chunk-JEQ2X3Z6.cjs');
|
|
145
145
|
|
146
146
|
// src/bundle.ts
|
147
147
|
var debug = chunkJVF5KY2J_cjs.debug_default("bundle");
|
148
|
-
var CommerceLayerBundle = class _CommerceLayerBundle extends
|
148
|
+
var CommerceLayerBundle = class _CommerceLayerBundle extends chunk2VPJZZIF_cjs.CommerceLayerClient {
|
149
149
|
// ##__CL_RESOURCES_DEF_START__##
|
150
150
|
// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##
|
151
151
|
// ##__CL_RESOURCES_DEF_STOP__##
|
@@ -207,7 +207,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWXE5KXJC_cjs.C
|
|
207
207
|
return chunk6AJSOS56_cjs.bundles_default;
|
208
208
|
}
|
209
209
|
get buy_x_pay_y_promotions() {
|
210
|
-
return
|
210
|
+
return chunkY27X5PYA_cjs.buy_x_pay_y_promotions_default;
|
211
211
|
}
|
212
212
|
get captures() {
|
213
213
|
return chunk4IH4EHXT_cjs.captures_default;
|
@@ -282,25 +282,25 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWXE5KXJC_cjs.C
|
|
282
282
|
return chunk3ANXNJ6U_cjs.external_payments_default;
|
283
283
|
}
|
284
284
|
get external_promotions() {
|
285
|
-
return
|
285
|
+
return chunk7KY7C5RC_cjs.external_promotions_default;
|
286
286
|
}
|
287
287
|
get external_tax_calculators() {
|
288
288
|
return chunkPNSVP3KP_cjs.external_tax_calculators_default;
|
289
289
|
}
|
290
290
|
get fixed_amount_promotions() {
|
291
|
-
return
|
291
|
+
return chunkPGZTQAOR_cjs.fixed_amount_promotions_default;
|
292
292
|
}
|
293
293
|
get fixed_price_promotions() {
|
294
|
-
return
|
294
|
+
return chunk73PUROZG_cjs.fixed_price_promotions_default;
|
295
295
|
}
|
296
296
|
get flex_promotions() {
|
297
|
-
return
|
297
|
+
return chunkUROMLQDG_cjs.flex_promotions_default;
|
298
298
|
}
|
299
299
|
get free_gift_promotions() {
|
300
|
-
return
|
300
|
+
return chunkZLDJ7WAY_cjs.free_gift_promotions_default;
|
301
301
|
}
|
302
302
|
get free_shipping_promotions() {
|
303
|
-
return
|
303
|
+
return chunkL5FMOT44_cjs.free_shipping_promotions_default;
|
304
304
|
}
|
305
305
|
get geocoders() {
|
306
306
|
return chunk5FZNBGAF_cjs.geocoders_default;
|
@@ -378,7 +378,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWXE5KXJC_cjs.C
|
|
378
378
|
return chunkAQFAND5D_cjs.orders_default;
|
379
379
|
}
|
380
380
|
get organization() {
|
381
|
-
return
|
381
|
+
return chunkLJFBPFPR_cjs.organizations_default;
|
382
382
|
}
|
383
383
|
get packages() {
|
384
384
|
return chunkQZTNLPOD_cjs.packages_default;
|
@@ -405,7 +405,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWXE5KXJC_cjs.C
|
|
405
405
|
return chunkNEC22ZSI_cjs.paypal_payments_default;
|
406
406
|
}
|
407
407
|
get percentage_discount_promotions() {
|
408
|
-
return
|
408
|
+
return chunkI5KTGLTE_cjs.percentage_discount_promotions_default;
|
409
409
|
}
|
410
410
|
get pickups() {
|
411
411
|
return chunkOYFNK2SE_cjs.pickups_default;
|
@@ -432,7 +432,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWXE5KXJC_cjs.C
|
|
432
432
|
return chunkJECYKPCC_cjs.promotion_rules_default;
|
433
433
|
}
|
434
434
|
get promotions() {
|
435
|
-
return
|
435
|
+
return chunkNYS7N44P_cjs.promotions_default;
|
436
436
|
}
|
437
437
|
get recurring_order_copies() {
|
438
438
|
return chunk2HPO4UZA_cjs.recurring_order_copies_default;
|
package/lib/bundle.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/bundle.ts"],"names":["debug_default","CommerceLayerClient","addresses_default","adjustments_default","adyen_gateways_default","adyen_payments_default","applications_default","attachments_default","authorizations_default","avalara_accounts_default","axerve_gateways_default","axerve_payments_default","bing_geocoders_default","braintree_gateways_default","braintree_payments_default","bundles_default","buy_x_pay_y_promotions_default","captures_default","carrier_accounts_default","checkout_com_gateways_default","checkout_com_payments_default","cleanups_default","coupon_codes_promotion_rules_default","coupon_recipients_default","coupons_default","custom_promotion_rules_default","customer_addresses_default","customer_groups_default","customer_password_resets_default","customer_payment_sources_default","customer_subscriptions_default","customers_default","delivery_lead_times_default","discount_engine_items_default","discount_engines_default","easypost_pickups_default","event_callbacks_default","events_default","exports_default","external_gateways_default","external_payments_default","external_promotions_default","external_tax_calculators_default","fixed_amount_promotions_default","fixed_price_promotions_default","flex_promotions_default","free_gift_promotions_default","free_shipping_promotions_default","geocoders_default","gift_card_recipients_default","gift_cards_default","google_geocoders_default","imports_default","in_stock_subscriptions_default","inventory_models_default","inventory_return_locations_default","inventory_stock_locations_default","klarna_gateways_default","klarna_payments_default","line_item_options_default","line_items_default","links_default","manual_gateways_default","manual_tax_calculators_default","markets_default","merchants_default","notifications_default","order_amount_promotion_rules_default","order_copies_default","order_factories_default","order_subscription_items_default","order_subscriptions_default","orders_default","organizations_default","packages_default","parcel_line_items_default","parcels_default","payment_gateways_default","payment_methods_default","payment_options_default","paypal_gateways_default","paypal_payments_default","percentage_discount_promotions_default","pickups_default","price_frequency_tiers_default","price_list_schedulers_default","price_lists_default","price_tiers_default","price_volume_tiers_default","prices_default","promotion_rules_default","promotions_default","recurring_order_copies_default","refunds_default","reserved_stocks_default","resource_errors_default","return_line_items_default","returns_default","satispay_gateways_default","satispay_payments_default","shipments_default","shipping_categories_default","shipping_method_tiers_default","shipping_methods_default","shipping_weight_tiers_default","shipping_zones_default","sku_list_items_default","sku_list_promotion_rules_default","sku_lists_default","sku_options_default","skus_default","stock_items_default","stock_line_items_default","stock_locations_default","stock_reservations_default","stock_transfers_default","stores_default","stripe_gateways_default","stripe_payments_default","stripe_tax_accounts_default","subscription_models_default","tags_default","talon_one_accounts_default","tax_calculators_default","tax_categories_default","tax_rules_default","taxjar_accounts_default","transactions_default","versions_default","vertex_accounts_default","voids_default","webhooks_default","wire_transfers_default"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AE,IAAA,OAAWC,wCAAA;AAAA;AAAe,EACpE,IAAI,SAAA,GAA0B;AAAE,IAAA,OAAWC,mCAAA;AAAA;AAAU,EACrD,IAAI,eAAA,GAAsC;AAAE,IAAA,OAAWC,yCAAA;AAAA;AAAgB,EACvE,IAAI,YAAA,GAAiC;AAAE,IAAA,OAAWC,sCAAA;AAAA;AAAa,EAC/D,IAAI,QAAA,GAAyB;AAAE,IAAA,OAAWC,kCAAA;AAAA;AAAS,EACnD,IAAI,eAAA,GAAsC;AAAE,IAAA,OAAWC,yCAAA;AAAA;AAAgB,EACvE,IAAI,KAAA,GAAmB;AAAE,IAAA,OAAWC,+BAAA;AAAA;AAAM,EAC1C,IAAI,QAAA,GAAyB;AAAE,IAAA,OAAWC,kCAAA;AAAA;AAAS,EACnD,IAAI,cAAA,GAAoC;AAAE,IAAA,OAAWC,wCAAA;AAAA;AAAe;AAGrE,CAAA;AAIA,SAAS,cAAc,MAAA,EAAsD;AAC5E,EAAA,OAAO,mBAAA,CAAoB,IAAI,MAAM,CAAA;AACtC","file":"bundle.cjs","sourcesContent":["import { CommerceLayerClient, CommerceLayerInitConfig } from './commercelayer'\nimport * as api from './api'\n\nimport Debug from './debug'\nconst debug = Debug('bundle')\n\n\nclass CommerceLayerBundle extends CommerceLayerClient {\n\n // ##__CL_RESOURCES_DEF_START__##\n\t// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##\n\t// ##__CL_RESOURCES_DEF_STOP__##\n\n public constructor(config: CommerceLayerInitConfig) {\n\n\t\tsuper(config)\n\t\tdebug('new commercelayer bundle instance %O', config)\n\n\t\t// ##__CL_RESOURCES_INIT_START__##\n\t\t// ##__CL_RESOURCES_INIT_TEMPLATE:: ##__TAB__####__TAB__##this.##__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)\n\t\t// ##__CL_RESOURCES_INIT_STOP__##\n\n\t}\n\n\n\tstatic get (config?: CommerceLayerInitConfig): CommerceLayerBundle {\n\t\tif (config) return (CommerceLayerBundle.cl = new CommerceLayerBundle(config))\n\t\telse\n\t\tif (!CommerceLayerBundle.cl) throw new Error('CommerceLayer bundle client not initialized')\n\t\treturn CommerceLayerBundle.cl as CommerceLayerBundle\n\t}\n\n\t// private get adapter(): ResourceAdapter { return ApiResourceAdapter.get() }\n\n // ##__CL_RESOURCES_LEAZY_LOADING_START__##\n\t// ##__CL_RESOURCES_LEAZY_LOADING_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return this.###__RESOURCE_TYPE__## || (this.###__RESOURCE_TYPE__## = api.##__RESOURCE_TYPE__##) }\n\t// ##__CL_RESOURCES_LEAZY_LOADING_STOP__##\n\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_START__##\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return api.##__RESOURCE_TYPE__## }\n\tget addresses(): api.Addresses { return api.addresses }\n\tget adjustments(): api.Adjustments { return api.adjustments }\n\tget adyen_gateways(): api.AdyenGateways { return api.adyen_gateways }\n\tget adyen_payments(): api.AdyenPayments { return api.adyen_payments }\n\tget application(): api.Applications { return api.application }\n\tget attachments(): api.Attachments { return api.attachments }\n\tget authorizations(): api.Authorizations { return api.authorizations }\n\tget avalara_accounts(): api.AvalaraAccounts { return api.avalara_accounts }\n\tget axerve_gateways(): api.AxerveGateways { return api.axerve_gateways }\n\tget axerve_payments(): api.AxervePayments { return api.axerve_payments }\n\tget bing_geocoders(): api.BingGeocoders { return api.bing_geocoders }\n\tget braintree_gateways(): api.BraintreeGateways { return api.braintree_gateways }\n\tget braintree_payments(): api.BraintreePayments { return api.braintree_payments }\n\tget bundles(): api.Bundles { return api.bundles }\n\tget buy_x_pay_y_promotions(): api.BuyXPayYPromotions { return api.buy_x_pay_y_promotions }\n\tget captures(): api.Captures { return api.captures }\n\tget carrier_accounts(): api.CarrierAccounts { return api.carrier_accounts }\n\tget checkout_com_gateways(): api.CheckoutComGateways { return api.checkout_com_gateways }\n\tget checkout_com_payments(): api.CheckoutComPayments { return api.checkout_com_payments }\n\tget cleanups(): api.Cleanups { return api.cleanups }\n\tget coupon_codes_promotion_rules(): api.CouponCodesPromotionRules { return api.coupon_codes_promotion_rules }\n\tget coupon_recipients(): api.CouponRecipients { return api.coupon_recipients }\n\tget coupons(): api.Coupons { return api.coupons }\n\tget custom_promotion_rules(): api.CustomPromotionRules { return api.custom_promotion_rules }\n\tget customer_addresses(): api.CustomerAddresses { return api.customer_addresses }\n\tget customer_groups(): api.CustomerGroups { return api.customer_groups }\n\tget customer_password_resets(): api.CustomerPasswordResets { return api.customer_password_resets }\n\tget customer_payment_sources(): api.CustomerPaymentSources { return api.customer_payment_sources }\n\tget customer_subscriptions(): api.CustomerSubscriptions { return api.customer_subscriptions }\n\tget customers(): api.Customers { return api.customers }\n\tget delivery_lead_times(): api.DeliveryLeadTimes { return api.delivery_lead_times }\n\tget discount_engine_items(): api.DiscountEngineItems { return api.discount_engine_items }\n\tget discount_engines(): api.DiscountEngines { return api.discount_engines }\n\tget easypost_pickups(): api.EasypostPickups { return api.easypost_pickups }\n\tget event_callbacks(): api.EventCallbacks { return api.event_callbacks }\n\tget events(): api.Events { return api.events }\n\tget exports(): api.Exports { return api.exports }\n\tget external_gateways(): api.ExternalGateways { return api.external_gateways }\n\tget external_payments(): api.ExternalPayments { return api.external_payments }\n\tget external_promotions(): api.ExternalPromotions { return api.external_promotions }\n\tget external_tax_calculators(): api.ExternalTaxCalculators { return api.external_tax_calculators }\n\tget fixed_amount_promotions(): api.FixedAmountPromotions { return api.fixed_amount_promotions }\n\tget fixed_price_promotions(): api.FixedPricePromotions { return api.fixed_price_promotions }\n\tget flex_promotions(): api.FlexPromotions { return api.flex_promotions }\n\tget free_gift_promotions(): api.FreeGiftPromotions { return api.free_gift_promotions }\n\tget free_shipping_promotions(): api.FreeShippingPromotions { return api.free_shipping_promotions }\n\tget geocoders(): api.Geocoders { return api.geocoders }\n\tget gift_card_recipients(): api.GiftCardRecipients { return api.gift_card_recipients }\n\tget gift_cards(): api.GiftCards { return api.gift_cards }\n\tget google_geocoders(): api.GoogleGeocoders { return api.google_geocoders }\n\tget imports(): api.Imports { return api.imports }\n\tget in_stock_subscriptions(): api.InStockSubscriptions { return api.in_stock_subscriptions }\n\tget inventory_models(): api.InventoryModels { return api.inventory_models }\n\tget inventory_return_locations(): api.InventoryReturnLocations { return api.inventory_return_locations }\n\tget inventory_stock_locations(): api.InventoryStockLocations { return api.inventory_stock_locations }\n\tget klarna_gateways(): api.KlarnaGateways { return api.klarna_gateways }\n\tget klarna_payments(): api.KlarnaPayments { return api.klarna_payments }\n\tget line_item_options(): api.LineItemOptions { return api.line_item_options }\n\tget line_items(): api.LineItems { return api.line_items }\n\tget links(): api.Links { return api.links }\n\tget manual_gateways(): api.ManualGateways { return api.manual_gateways }\n\tget manual_tax_calculators(): api.ManualTaxCalculators { return api.manual_tax_calculators }\n\tget markets(): api.Markets { return api.markets }\n\tget merchants(): api.Merchants { return api.merchants }\n\tget notifications(): api.Notifications { return api.notifications }\n\tget order_amount_promotion_rules(): api.OrderAmountPromotionRules { return api.order_amount_promotion_rules }\n\tget order_copies(): api.OrderCopies { return api.order_copies }\n\tget order_factories(): api.OrderFactories { return api.order_factories }\n\tget order_subscription_items(): api.OrderSubscriptionItems { return api.order_subscription_items }\n\tget order_subscriptions(): api.OrderSubscriptions { return api.order_subscriptions }\n\tget orders(): api.Orders { return api.orders }\n\tget organization(): api.Organizations { return api.organization }\n\tget packages(): api.Packages { return api.packages }\n\tget parcel_line_items(): api.ParcelLineItems { return api.parcel_line_items }\n\tget parcels(): api.Parcels { return api.parcels }\n\tget payment_gateways(): api.PaymentGateways { return api.payment_gateways }\n\tget payment_methods(): api.PaymentMethods { return api.payment_methods }\n\tget payment_options(): api.PaymentOptions { return api.payment_options }\n\tget paypal_gateways(): api.PaypalGateways { return api.paypal_gateways }\n\tget paypal_payments(): api.PaypalPayments { return api.paypal_payments }\n\tget percentage_discount_promotions(): api.PercentageDiscountPromotions { return api.percentage_discount_promotions }\n\tget pickups(): api.Pickups { return api.pickups }\n\tget price_frequency_tiers(): api.PriceFrequencyTiers { return api.price_frequency_tiers }\n\tget price_list_schedulers(): api.PriceListSchedulers { return api.price_list_schedulers }\n\tget price_lists(): api.PriceLists { return api.price_lists }\n\tget price_tiers(): api.PriceTiers { return api.price_tiers }\n\tget price_volume_tiers(): api.PriceVolumeTiers { return api.price_volume_tiers }\n\tget prices(): api.Prices { return api.prices }\n\tget promotion_rules(): api.PromotionRules { return api.promotion_rules }\n\tget promotions(): api.Promotions { return api.promotions }\n\tget recurring_order_copies(): api.RecurringOrderCopies { return api.recurring_order_copies }\n\tget refunds(): api.Refunds { return api.refunds }\n\tget reserved_stocks(): api.ReservedStocks { return api.reserved_stocks }\n\tget resource_errors(): api.ResourceErrors { return api.resource_errors }\n\tget return_line_items(): api.ReturnLineItems { return api.return_line_items }\n\tget returns(): api.Returns { return api.returns }\n\tget satispay_gateways(): api.SatispayGateways { return api.satispay_gateways }\n\tget satispay_payments(): api.SatispayPayments { return api.satispay_payments }\n\tget shipments(): api.Shipments { return api.shipments }\n\tget shipping_categories(): api.ShippingCategories { return api.shipping_categories }\n\tget shipping_method_tiers(): api.ShippingMethodTiers { return api.shipping_method_tiers }\n\tget shipping_methods(): api.ShippingMethods { return api.shipping_methods }\n\tget shipping_weight_tiers(): api.ShippingWeightTiers { return api.shipping_weight_tiers }\n\tget shipping_zones(): api.ShippingZones { return api.shipping_zones }\n\tget sku_list_items(): api.SkuListItems { return api.sku_list_items }\n\tget sku_list_promotion_rules(): api.SkuListPromotionRules { return api.sku_list_promotion_rules }\n\tget sku_lists(): api.SkuLists { return api.sku_lists }\n\tget sku_options(): api.SkuOptions { return api.sku_options }\n\tget skus(): api.Skus { return api.skus }\n\tget stock_items(): api.StockItems { return api.stock_items }\n\tget stock_line_items(): api.StockLineItems { return api.stock_line_items }\n\tget stock_locations(): api.StockLocations { return api.stock_locations }\n\tget stock_reservations(): api.StockReservations { return api.stock_reservations }\n\tget stock_transfers(): api.StockTransfers { return api.stock_transfers }\n\tget stores(): api.Stores { return api.stores }\n\tget stripe_gateways(): api.StripeGateways { return api.stripe_gateways }\n\tget stripe_payments(): api.StripePayments { return api.stripe_payments }\n\tget stripe_tax_accounts(): api.StripeTaxAccounts { return api.stripe_tax_accounts }\n\tget subscription_models(): api.SubscriptionModels { return api.subscription_models }\n\tget tags(): api.Tags { return api.tags }\n\tget talon_one_accounts(): api.TalonOneAccounts { return api.talon_one_accounts }\n\tget tax_calculators(): api.TaxCalculators { return api.tax_calculators }\n\tget tax_categories(): api.TaxCategories { return api.tax_categories }\n\tget tax_rules(): api.TaxRules { return api.tax_rules }\n\tget taxjar_accounts(): api.TaxjarAccounts { return api.taxjar_accounts }\n\tget transactions(): api.Transactions { return api.transactions }\n\tget versions(): api.Versions { return api.versions }\n\tget vertex_accounts(): api.VertexAccounts { return api.vertex_accounts }\n\tget voids(): api.Voids { return api.voids }\n\tget webhooks(): api.Webhooks { return api.webhooks }\n\tget wire_transfers(): api.WireTransfers { return api.wire_transfers }\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_STOP__##\n\n}\n\n\n\nfunction CommerceLayer(config: CommerceLayerInitConfig): CommerceLayerBundle {\n\treturn CommerceLayerBundle.get(config)\n}\n\n\nexport { CommerceLayer, type CommerceLayerBundle }\n"]}
|
1
|
+
{"version":3,"sources":["../src/bundle.ts"],"names":["debug_default","CommerceLayerClient","addresses_default","adjustments_default","adyen_gateways_default","adyen_payments_default","applications_default","attachments_default","authorizations_default","avalara_accounts_default","axerve_gateways_default","axerve_payments_default","bing_geocoders_default","braintree_gateways_default","braintree_payments_default","bundles_default","buy_x_pay_y_promotions_default","captures_default","carrier_accounts_default","checkout_com_gateways_default","checkout_com_payments_default","cleanups_default","coupon_codes_promotion_rules_default","coupon_recipients_default","coupons_default","custom_promotion_rules_default","customer_addresses_default","customer_groups_default","customer_password_resets_default","customer_payment_sources_default","customer_subscriptions_default","customers_default","delivery_lead_times_default","discount_engine_items_default","discount_engines_default","easypost_pickups_default","event_callbacks_default","events_default","exports_default","external_gateways_default","external_payments_default","external_promotions_default","external_tax_calculators_default","fixed_amount_promotions_default","fixed_price_promotions_default","flex_promotions_default","free_gift_promotions_default","free_shipping_promotions_default","geocoders_default","gift_card_recipients_default","gift_cards_default","google_geocoders_default","imports_default","in_stock_subscriptions_default","inventory_models_default","inventory_return_locations_default","inventory_stock_locations_default","klarna_gateways_default","klarna_payments_default","line_item_options_default","line_items_default","links_default","manual_gateways_default","manual_tax_calculators_default","markets_default","merchants_default","notifications_default","order_amount_promotion_rules_default","order_copies_default","order_factories_default","order_subscription_items_default","order_subscriptions_default","orders_default","organizations_default","packages_default","parcel_line_items_default","parcels_default","payment_gateways_default","payment_methods_default","payment_options_default","paypal_gateways_default","paypal_payments_default","percentage_discount_promotions_default","pickups_default","price_frequency_tiers_default","price_list_schedulers_default","price_lists_default","price_tiers_default","price_volume_tiers_default","prices_default","promotion_rules_default","promotions_default","recurring_order_copies_default","refunds_default","reserved_stocks_default","resource_errors_default","return_line_items_default","returns_default","satispay_gateways_default","satispay_payments_default","shipments_default","shipping_categories_default","shipping_method_tiers_default","shipping_methods_default","shipping_weight_tiers_default","shipping_zones_default","sku_list_items_default","sku_list_promotion_rules_default","sku_lists_default","sku_options_default","skus_default","stock_items_default","stock_line_items_default","stock_locations_default","stock_reservations_default","stock_transfers_default","stores_default","stripe_gateways_default","stripe_payments_default","stripe_tax_accounts_default","subscription_models_default","tags_default","talon_one_accounts_default","tax_calculators_default","tax_categories_default","tax_rules_default","taxjar_accounts_default","transactions_default","versions_default","vertex_accounts_default","voids_default","webhooks_default","wire_transfers_default"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,+BAAA;AAAA,EAAM;AAAA,EAC1C,IAAI,QAAA,GAAyB;AAAE,IAAA,OAAWC,kCAAA;AAAA,EAAS;AAAA,EACnD,IAAI,cAAA,GAAoC;AAAE,IAAA,OAAWC,wCAAA;AAAA,EAAe;AAAA;AAGrE,CAAA;AAIA,SAAS,cAAc,MAAA,EAAsD;AAC5E,EAAA,OAAO,mBAAA,CAAoB,IAAI,MAAM,CAAA;AACtC","file":"bundle.cjs","sourcesContent":["import { CommerceLayerClient, CommerceLayerInitConfig } from './commercelayer'\nimport * as api from './api'\n\nimport Debug from './debug'\nconst debug = Debug('bundle')\n\n\nclass CommerceLayerBundle extends CommerceLayerClient {\n\n // ##__CL_RESOURCES_DEF_START__##\n\t// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##\n\t// ##__CL_RESOURCES_DEF_STOP__##\n\n public constructor(config: CommerceLayerInitConfig) {\n\n\t\tsuper(config)\n\t\tdebug('new commercelayer bundle instance %O', config)\n\n\t\t// ##__CL_RESOURCES_INIT_START__##\n\t\t// ##__CL_RESOURCES_INIT_TEMPLATE:: ##__TAB__####__TAB__##this.##__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)\n\t\t// ##__CL_RESOURCES_INIT_STOP__##\n\n\t}\n\n\n\tstatic get (config?: CommerceLayerInitConfig): CommerceLayerBundle {\n\t\tif (config) return (CommerceLayerBundle.cl = new CommerceLayerBundle(config))\n\t\telse\n\t\tif (!CommerceLayerBundle.cl) throw new Error('CommerceLayer bundle client not initialized')\n\t\treturn CommerceLayerBundle.cl as CommerceLayerBundle\n\t}\n\n\t// private get adapter(): ResourceAdapter { return ApiResourceAdapter.get() }\n\n // ##__CL_RESOURCES_LEAZY_LOADING_START__##\n\t// ##__CL_RESOURCES_LEAZY_LOADING_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return this.###__RESOURCE_TYPE__## || (this.###__RESOURCE_TYPE__## = api.##__RESOURCE_TYPE__##) }\n\t// ##__CL_RESOURCES_LEAZY_LOADING_STOP__##\n\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_START__##\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return api.##__RESOURCE_TYPE__## }\n\tget addresses(): api.Addresses { return api.addresses }\n\tget adjustments(): api.Adjustments { return api.adjustments }\n\tget adyen_gateways(): api.AdyenGateways { return api.adyen_gateways }\n\tget adyen_payments(): api.AdyenPayments { return api.adyen_payments }\n\tget application(): api.Applications { return api.application }\n\tget attachments(): api.Attachments { return api.attachments }\n\tget authorizations(): api.Authorizations { return api.authorizations }\n\tget avalara_accounts(): api.AvalaraAccounts { return api.avalara_accounts }\n\tget axerve_gateways(): api.AxerveGateways { return api.axerve_gateways }\n\tget axerve_payments(): api.AxervePayments { return api.axerve_payments }\n\tget bing_geocoders(): api.BingGeocoders { return api.bing_geocoders }\n\tget braintree_gateways(): api.BraintreeGateways { return api.braintree_gateways }\n\tget braintree_payments(): api.BraintreePayments { return api.braintree_payments }\n\tget bundles(): api.Bundles { return api.bundles }\n\tget buy_x_pay_y_promotions(): api.BuyXPayYPromotions { return api.buy_x_pay_y_promotions }\n\tget captures(): api.Captures { return api.captures }\n\tget carrier_accounts(): api.CarrierAccounts { return api.carrier_accounts }\n\tget checkout_com_gateways(): api.CheckoutComGateways { return api.checkout_com_gateways }\n\tget checkout_com_payments(): api.CheckoutComPayments { return api.checkout_com_payments }\n\tget cleanups(): api.Cleanups { return api.cleanups }\n\tget coupon_codes_promotion_rules(): api.CouponCodesPromotionRules { return api.coupon_codes_promotion_rules }\n\tget coupon_recipients(): api.CouponRecipients { return api.coupon_recipients }\n\tget coupons(): api.Coupons { return api.coupons }\n\tget custom_promotion_rules(): api.CustomPromotionRules { return api.custom_promotion_rules }\n\tget customer_addresses(): api.CustomerAddresses { return api.customer_addresses }\n\tget customer_groups(): api.CustomerGroups { return api.customer_groups }\n\tget customer_password_resets(): api.CustomerPasswordResets { return api.customer_password_resets }\n\tget customer_payment_sources(): api.CustomerPaymentSources { return api.customer_payment_sources }\n\tget customer_subscriptions(): api.CustomerSubscriptions { return api.customer_subscriptions }\n\tget customers(): api.Customers { return api.customers }\n\tget delivery_lead_times(): api.DeliveryLeadTimes { return api.delivery_lead_times }\n\tget discount_engine_items(): api.DiscountEngineItems { return api.discount_engine_items }\n\tget discount_engines(): api.DiscountEngines { return api.discount_engines }\n\tget easypost_pickups(): api.EasypostPickups { return api.easypost_pickups }\n\tget event_callbacks(): api.EventCallbacks { return api.event_callbacks }\n\tget events(): api.Events { return api.events }\n\tget exports(): api.Exports { return api.exports }\n\tget external_gateways(): api.ExternalGateways { return api.external_gateways }\n\tget external_payments(): api.ExternalPayments { return api.external_payments }\n\tget external_promotions(): api.ExternalPromotions { return api.external_promotions }\n\tget external_tax_calculators(): api.ExternalTaxCalculators { return api.external_tax_calculators }\n\tget fixed_amount_promotions(): api.FixedAmountPromotions { return api.fixed_amount_promotions }\n\tget fixed_price_promotions(): api.FixedPricePromotions { return api.fixed_price_promotions }\n\tget flex_promotions(): api.FlexPromotions { return api.flex_promotions }\n\tget free_gift_promotions(): api.FreeGiftPromotions { return api.free_gift_promotions }\n\tget free_shipping_promotions(): api.FreeShippingPromotions { return api.free_shipping_promotions }\n\tget geocoders(): api.Geocoders { return api.geocoders }\n\tget gift_card_recipients(): api.GiftCardRecipients { return api.gift_card_recipients }\n\tget gift_cards(): api.GiftCards { return api.gift_cards }\n\tget google_geocoders(): api.GoogleGeocoders { return api.google_geocoders }\n\tget imports(): api.Imports { return api.imports }\n\tget in_stock_subscriptions(): api.InStockSubscriptions { return api.in_stock_subscriptions }\n\tget inventory_models(): api.InventoryModels { return api.inventory_models }\n\tget inventory_return_locations(): api.InventoryReturnLocations { return api.inventory_return_locations }\n\tget inventory_stock_locations(): api.InventoryStockLocations { return api.inventory_stock_locations }\n\tget klarna_gateways(): api.KlarnaGateways { return api.klarna_gateways }\n\tget klarna_payments(): api.KlarnaPayments { return api.klarna_payments }\n\tget line_item_options(): api.LineItemOptions { return api.line_item_options }\n\tget line_items(): api.LineItems { return api.line_items }\n\tget links(): api.Links { return api.links }\n\tget manual_gateways(): api.ManualGateways { return api.manual_gateways }\n\tget manual_tax_calculators(): api.ManualTaxCalculators { return api.manual_tax_calculators }\n\tget markets(): api.Markets { return api.markets }\n\tget merchants(): api.Merchants { return api.merchants }\n\tget notifications(): api.Notifications { return api.notifications }\n\tget order_amount_promotion_rules(): api.OrderAmountPromotionRules { return api.order_amount_promotion_rules }\n\tget order_copies(): api.OrderCopies { return api.order_copies }\n\tget order_factories(): api.OrderFactories { return api.order_factories }\n\tget order_subscription_items(): api.OrderSubscriptionItems { return api.order_subscription_items }\n\tget order_subscriptions(): api.OrderSubscriptions { return api.order_subscriptions }\n\tget orders(): api.Orders { return api.orders }\n\tget organization(): api.Organizations { return api.organization }\n\tget packages(): api.Packages { return api.packages }\n\tget parcel_line_items(): api.ParcelLineItems { return api.parcel_line_items }\n\tget parcels(): api.Parcels { return api.parcels }\n\tget payment_gateways(): api.PaymentGateways { return api.payment_gateways }\n\tget payment_methods(): api.PaymentMethods { return api.payment_methods }\n\tget payment_options(): api.PaymentOptions { return api.payment_options }\n\tget paypal_gateways(): api.PaypalGateways { return api.paypal_gateways }\n\tget paypal_payments(): api.PaypalPayments { return api.paypal_payments }\n\tget percentage_discount_promotions(): api.PercentageDiscountPromotions { return api.percentage_discount_promotions }\n\tget pickups(): api.Pickups { return api.pickups }\n\tget price_frequency_tiers(): api.PriceFrequencyTiers { return api.price_frequency_tiers }\n\tget price_list_schedulers(): api.PriceListSchedulers { return api.price_list_schedulers }\n\tget price_lists(): api.PriceLists { return api.price_lists }\n\tget price_tiers(): api.PriceTiers { return api.price_tiers }\n\tget price_volume_tiers(): api.PriceVolumeTiers { return api.price_volume_tiers }\n\tget prices(): api.Prices { return api.prices }\n\tget promotion_rules(): api.PromotionRules { return api.promotion_rules }\n\tget promotions(): api.Promotions { return api.promotions }\n\tget recurring_order_copies(): api.RecurringOrderCopies { return api.recurring_order_copies }\n\tget refunds(): api.Refunds { return api.refunds }\n\tget reserved_stocks(): api.ReservedStocks { return api.reserved_stocks }\n\tget resource_errors(): api.ResourceErrors { return api.resource_errors }\n\tget return_line_items(): api.ReturnLineItems { return api.return_line_items }\n\tget returns(): api.Returns { return api.returns }\n\tget satispay_gateways(): api.SatispayGateways { return api.satispay_gateways }\n\tget satispay_payments(): api.SatispayPayments { return api.satispay_payments }\n\tget shipments(): api.Shipments { return api.shipments }\n\tget shipping_categories(): api.ShippingCategories { return api.shipping_categories }\n\tget shipping_method_tiers(): api.ShippingMethodTiers { return api.shipping_method_tiers }\n\tget shipping_methods(): api.ShippingMethods { return api.shipping_methods }\n\tget shipping_weight_tiers(): api.ShippingWeightTiers { return api.shipping_weight_tiers }\n\tget shipping_zones(): api.ShippingZones { return api.shipping_zones }\n\tget sku_list_items(): api.SkuListItems { return api.sku_list_items }\n\tget sku_list_promotion_rules(): api.SkuListPromotionRules { return api.sku_list_promotion_rules }\n\tget sku_lists(): api.SkuLists { return api.sku_lists }\n\tget sku_options(): api.SkuOptions { return api.sku_options }\n\tget skus(): api.Skus { return api.skus }\n\tget stock_items(): api.StockItems { return api.stock_items }\n\tget stock_line_items(): api.StockLineItems { return api.stock_line_items }\n\tget stock_locations(): api.StockLocations { return api.stock_locations }\n\tget stock_reservations(): api.StockReservations { return api.stock_reservations }\n\tget stock_transfers(): api.StockTransfers { return api.stock_transfers }\n\tget stores(): api.Stores { return api.stores }\n\tget stripe_gateways(): api.StripeGateways { return api.stripe_gateways }\n\tget stripe_payments(): api.StripePayments { return api.stripe_payments }\n\tget stripe_tax_accounts(): api.StripeTaxAccounts { return api.stripe_tax_accounts }\n\tget subscription_models(): api.SubscriptionModels { return api.subscription_models }\n\tget tags(): api.Tags { return api.tags }\n\tget talon_one_accounts(): api.TalonOneAccounts { return api.talon_one_accounts }\n\tget tax_calculators(): api.TaxCalculators { return api.tax_calculators }\n\tget tax_categories(): api.TaxCategories { return api.tax_categories }\n\tget tax_rules(): api.TaxRules { return api.tax_rules }\n\tget taxjar_accounts(): api.TaxjarAccounts { return api.taxjar_accounts }\n\tget transactions(): api.Transactions { return api.transactions }\n\tget versions(): api.Versions { return api.versions }\n\tget vertex_accounts(): api.VertexAccounts { return api.vertex_accounts }\n\tget voids(): api.Voids { return api.voids }\n\tget webhooks(): api.Webhooks { return api.webhooks }\n\tget wire_transfers(): api.WireTransfers { return api.wire_transfers }\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_STOP__##\n\n}\n\n\n\nfunction CommerceLayer(config: CommerceLayerInitConfig): CommerceLayerBundle {\n\treturn CommerceLayerBundle.get(config)\n}\n\n\nexport { CommerceLayer, type CommerceLayerBundle }\n"]}
|
package/lib/bundle.d.cts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.cjs';
|
2
|
-
import { H as Addresses, J as Adjustments, N as AdyenGateways, P as AdyenPayments, W as Applications, Y as Attachments, _ as Authorizations, a0 as AvalaraAccounts, a2 as AxerveGateways, a4 as AxervePayments, a6 as BingGeocoders, a8 as BraintreeGateways, aa as BraintreePayments, ac as Bundles, ae as BuyXPayYPromotions, ag as Captures, ai as CarrierAccounts, ak as CheckoutComGateways, am as CheckoutComPayments, ao as Cleanups, aq as CouponCodesPromotionRules, as as CouponRecipients, au as Coupons, aw as CustomPromotionRules, ay as CustomerAddresses, aA as CustomerGroups, aC as CustomerPasswordResets, aE as CustomerPaymentSources, aG as CustomerSubscriptions, aI as Customers, aK as DeliveryLeadTimes, aM as DiscountEngineItems, aO as DiscountEngines, aQ as EasypostPickups, aS as EventCallbacks, aU as Events, aW as Exports, aY as ExternalGateways, a_ as ExternalPayments, b0 as ExternalPromotions, b2 as ExternalTaxCalculators, b4 as FixedAmountPromotions, b6 as FixedPricePromotions, b8 as FlexPromotions, ba as FreeGiftPromotions, bc as FreeShippingPromotions, be as Geocoders, bg as GiftCardRecipients, bi as GiftCards, bk as GoogleGeocoders, bm as Imports, bo as InStockSubscriptions, bq as InventoryModels, bs as InventoryReturnLocations, bu as InventoryStockLocations, bw as KlarnaGateways, by as KlarnaPayments, bA as LineItemOptions, bC as LineItems, bE as Links, bG as ManualGateways, bI as ManualTaxCalculators, bK as Markets, bM as Merchants, bO as Notifications, bQ as OrderAmountPromotionRules, bS as OrderCopies, bU as OrderFactories, bW as OrderSubscriptionItems, bY as OrderSubscriptions, b_ as Orders, c0 as Organizations, c2 as Packages, c4 as ParcelLineItems, c6 as Parcels, c8 as PaymentGateways, ca as PaymentMethods, cc as PaymentOptions, ce as PaypalGateways, cg as PaypalPayments, ci as PercentageDiscountPromotions, ck as Pickups, cm as PriceFrequencyTiers, co as PriceListSchedulers, cq as PriceLists, cs as PriceTiers, cu as PriceVolumeTiers, cw as Prices, cy as PromotionRules, cA as Promotions, cC as RecurringOrderCopies, cE as Refunds, cG as ReservedStocks, cI as ResourceErrors, cK as ReturnLineItems, cM as Returns, cO as SatispayGateways, cQ as SatispayPayments, cS as Shipments, cU as ShippingCategories, cW as ShippingMethodTiers, cY as ShippingMethods, c_ as ShippingWeightTiers, d0 as ShippingZones, d2 as SkuListItems, d4 as SkuListPromotionRules, d6 as SkuLists, d8 as SkuOptions, da as Skus, dc as StockItems, de as StockLineItems, dg as StockLocations, di as StockReservations, dk as StockTransfers, dm as Stores, dp as StripeGateways, dr as StripePayments, dt as StripeTaxAccounts, dv as SubscriptionModels, dx as Tags, dz as TalonOneAccounts, dB as TaxCalculators, dD as TaxCategories, dF as TaxRules, dH as TaxjarAccounts, dJ as Transactions, dL as Versions, dN as VertexAccounts, dP as Voids, dR as Webhooks, dT as WireTransfers } from './api-
|
2
|
+
import { H as Addresses, J as Adjustments, N as AdyenGateways, P as AdyenPayments, W as Applications, Y as Attachments, _ as Authorizations, a0 as AvalaraAccounts, a2 as AxerveGateways, a4 as AxervePayments, a6 as BingGeocoders, a8 as BraintreeGateways, aa as BraintreePayments, ac as Bundles, ae as BuyXPayYPromotions, ag as Captures, ai as CarrierAccounts, ak as CheckoutComGateways, am as CheckoutComPayments, ao as Cleanups, aq as CouponCodesPromotionRules, as as CouponRecipients, au as Coupons, aw as CustomPromotionRules, ay as CustomerAddresses, aA as CustomerGroups, aC as CustomerPasswordResets, aE as CustomerPaymentSources, aG as CustomerSubscriptions, aI as Customers, aK as DeliveryLeadTimes, aM as DiscountEngineItems, aO as DiscountEngines, aQ as EasypostPickups, aS as EventCallbacks, aU as Events, aW as Exports, aY as ExternalGateways, a_ as ExternalPayments, b0 as ExternalPromotions, b2 as ExternalTaxCalculators, b4 as FixedAmountPromotions, b6 as FixedPricePromotions, b8 as FlexPromotions, ba as FreeGiftPromotions, bc as FreeShippingPromotions, be as Geocoders, bg as GiftCardRecipients, bi as GiftCards, bk as GoogleGeocoders, bm as Imports, bo as InStockSubscriptions, bq as InventoryModels, bs as InventoryReturnLocations, bu as InventoryStockLocations, bw as KlarnaGateways, by as KlarnaPayments, bA as LineItemOptions, bC as LineItems, bE as Links, bG as ManualGateways, bI as ManualTaxCalculators, bK as Markets, bM as Merchants, bO as Notifications, bQ as OrderAmountPromotionRules, bS as OrderCopies, bU as OrderFactories, bW as OrderSubscriptionItems, bY as OrderSubscriptions, b_ as Orders, c0 as Organizations, c2 as Packages, c4 as ParcelLineItems, c6 as Parcels, c8 as PaymentGateways, ca as PaymentMethods, cc as PaymentOptions, ce as PaypalGateways, cg as PaypalPayments, ci as PercentageDiscountPromotions, ck as Pickups, cm as PriceFrequencyTiers, co as PriceListSchedulers, cq as PriceLists, cs as PriceTiers, cu as PriceVolumeTiers, cw as Prices, cy as PromotionRules, cA as Promotions, cC as RecurringOrderCopies, cE as Refunds, cG as ReservedStocks, cI as ResourceErrors, cK as ReturnLineItems, cM as Returns, cO as SatispayGateways, cQ as SatispayPayments, cS as Shipments, cU as ShippingCategories, cW as ShippingMethodTiers, cY as ShippingMethods, c_ as ShippingWeightTiers, d0 as ShippingZones, d2 as SkuListItems, d4 as SkuListPromotionRules, d6 as SkuLists, d8 as SkuOptions, da as Skus, dc as StockItems, de as StockLineItems, dg as StockLocations, di as StockReservations, dk as StockTransfers, dm as Stores, dp as StripeGateways, dr as StripePayments, dt as StripeTaxAccounts, dv as SubscriptionModels, dx as Tags, dz as TalonOneAccounts, dB as TaxCalculators, dD as TaxCategories, dF as TaxRules, dH as TaxjarAccounts, dJ as Transactions, dL as Versions, dN as VertexAccounts, dP as Voids, dR as Webhooks, dT as WireTransfers } from './api-DuTbl3z_.cjs';
|
3
3
|
import './error.cjs';
|
4
4
|
import './interceptor-k15jXzf0.cjs';
|
5
5
|
import './client.cjs';
|
package/lib/bundle.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.js';
|
2
|
-
import { H as Addresses, J as Adjustments, N as AdyenGateways, P as AdyenPayments, W as Applications, Y as Attachments, _ as Authorizations, a0 as AvalaraAccounts, a2 as AxerveGateways, a4 as AxervePayments, a6 as BingGeocoders, a8 as BraintreeGateways, aa as BraintreePayments, ac as Bundles, ae as BuyXPayYPromotions, ag as Captures, ai as CarrierAccounts, ak as CheckoutComGateways, am as CheckoutComPayments, ao as Cleanups, aq as CouponCodesPromotionRules, as as CouponRecipients, au as Coupons, aw as CustomPromotionRules, ay as CustomerAddresses, aA as CustomerGroups, aC as CustomerPasswordResets, aE as CustomerPaymentSources, aG as CustomerSubscriptions, aI as Customers, aK as DeliveryLeadTimes, aM as DiscountEngineItems, aO as DiscountEngines, aQ as EasypostPickups, aS as EventCallbacks, aU as Events, aW as Exports, aY as ExternalGateways, a_ as ExternalPayments, b0 as ExternalPromotions, b2 as ExternalTaxCalculators, b4 as FixedAmountPromotions, b6 as FixedPricePromotions, b8 as FlexPromotions, ba as FreeGiftPromotions, bc as FreeShippingPromotions, be as Geocoders, bg as GiftCardRecipients, bi as GiftCards, bk as GoogleGeocoders, bm as Imports, bo as InStockSubscriptions, bq as InventoryModels, bs as InventoryReturnLocations, bu as InventoryStockLocations, bw as KlarnaGateways, by as KlarnaPayments, bA as LineItemOptions, bC as LineItems, bE as Links, bG as ManualGateways, bI as ManualTaxCalculators, bK as Markets, bM as Merchants, bO as Notifications, bQ as OrderAmountPromotionRules, bS as OrderCopies, bU as OrderFactories, bW as OrderSubscriptionItems, bY as OrderSubscriptions, b_ as Orders, c0 as Organizations, c2 as Packages, c4 as ParcelLineItems, c6 as Parcels, c8 as PaymentGateways, ca as PaymentMethods, cc as PaymentOptions, ce as PaypalGateways, cg as PaypalPayments, ci as PercentageDiscountPromotions, ck as Pickups, cm as PriceFrequencyTiers, co as PriceListSchedulers, cq as PriceLists, cs as PriceTiers, cu as PriceVolumeTiers, cw as Prices, cy as PromotionRules, cA as Promotions, cC as RecurringOrderCopies, cE as Refunds, cG as ReservedStocks, cI as ResourceErrors, cK as ReturnLineItems, cM as Returns, cO as SatispayGateways, cQ as SatispayPayments, cS as Shipments, cU as ShippingCategories, cW as ShippingMethodTiers, cY as ShippingMethods, c_ as ShippingWeightTiers, d0 as ShippingZones, d2 as SkuListItems, d4 as SkuListPromotionRules, d6 as SkuLists, d8 as SkuOptions, da as Skus, dc as StockItems, de as StockLineItems, dg as StockLocations, di as StockReservations, dk as StockTransfers, dm as Stores, dp as StripeGateways, dr as StripePayments, dt as StripeTaxAccounts, dv as SubscriptionModels, dx as Tags, dz as TalonOneAccounts, dB as TaxCalculators, dD as TaxCategories, dF as TaxRules, dH as TaxjarAccounts, dJ as Transactions, dL as Versions, dN as VertexAccounts, dP as Voids, dR as Webhooks, dT as WireTransfers } from './api-
|
2
|
+
import { H as Addresses, J as Adjustments, N as AdyenGateways, P as AdyenPayments, W as Applications, Y as Attachments, _ as Authorizations, a0 as AvalaraAccounts, a2 as AxerveGateways, a4 as AxervePayments, a6 as BingGeocoders, a8 as BraintreeGateways, aa as BraintreePayments, ac as Bundles, ae as BuyXPayYPromotions, ag as Captures, ai as CarrierAccounts, ak as CheckoutComGateways, am as CheckoutComPayments, ao as Cleanups, aq as CouponCodesPromotionRules, as as CouponRecipients, au as Coupons, aw as CustomPromotionRules, ay as CustomerAddresses, aA as CustomerGroups, aC as CustomerPasswordResets, aE as CustomerPaymentSources, aG as CustomerSubscriptions, aI as Customers, aK as DeliveryLeadTimes, aM as DiscountEngineItems, aO as DiscountEngines, aQ as EasypostPickups, aS as EventCallbacks, aU as Events, aW as Exports, aY as ExternalGateways, a_ as ExternalPayments, b0 as ExternalPromotions, b2 as ExternalTaxCalculators, b4 as FixedAmountPromotions, b6 as FixedPricePromotions, b8 as FlexPromotions, ba as FreeGiftPromotions, bc as FreeShippingPromotions, be as Geocoders, bg as GiftCardRecipients, bi as GiftCards, bk as GoogleGeocoders, bm as Imports, bo as InStockSubscriptions, bq as InventoryModels, bs as InventoryReturnLocations, bu as InventoryStockLocations, bw as KlarnaGateways, by as KlarnaPayments, bA as LineItemOptions, bC as LineItems, bE as Links, bG as ManualGateways, bI as ManualTaxCalculators, bK as Markets, bM as Merchants, bO as Notifications, bQ as OrderAmountPromotionRules, bS as OrderCopies, bU as OrderFactories, bW as OrderSubscriptionItems, bY as OrderSubscriptions, b_ as Orders, c0 as Organizations, c2 as Packages, c4 as ParcelLineItems, c6 as Parcels, c8 as PaymentGateways, ca as PaymentMethods, cc as PaymentOptions, ce as PaypalGateways, cg as PaypalPayments, ci as PercentageDiscountPromotions, ck as Pickups, cm as PriceFrequencyTiers, co as PriceListSchedulers, cq as PriceLists, cs as PriceTiers, cu as PriceVolumeTiers, cw as Prices, cy as PromotionRules, cA as Promotions, cC as RecurringOrderCopies, cE as Refunds, cG as ReservedStocks, cI as ResourceErrors, cK as ReturnLineItems, cM as Returns, cO as SatispayGateways, cQ as SatispayPayments, cS as Shipments, cU as ShippingCategories, cW as ShippingMethodTiers, cY as ShippingMethods, c_ as ShippingWeightTiers, d0 as ShippingZones, d2 as SkuListItems, d4 as SkuListPromotionRules, d6 as SkuLists, d8 as SkuOptions, da as Skus, dc as StockItems, de as StockLineItems, dg as StockLocations, di as StockReservations, dk as StockTransfers, dm as Stores, dp as StripeGateways, dr as StripePayments, dt as StripeTaxAccounts, dv as SubscriptionModels, dx as Tags, dz as TalonOneAccounts, dB as TaxCalculators, dD as TaxCategories, dF as TaxRules, dH as TaxjarAccounts, dJ as Transactions, dL as Versions, dN as VertexAccounts, dP as Voids, dR as Webhooks, dT as WireTransfers } from './api-C7ddKOtt.js';
|
3
3
|
import './error.js';
|
4
4
|
import './interceptor-k15jXzf0.js';
|
5
5
|
import './client.js';
|
package/lib/bundle.js
CHANGED
@@ -39,21 +39,21 @@ import { shipping_methods_default } from './chunk-W6YJDUYD.js';
|
|
39
39
|
import { price_volume_tiers_default } from './chunk-JYXAF775.js';
|
40
40
|
import { prices_default } from './chunk-KU5U6DTU.js';
|
41
41
|
import { promotion_rules_default } from './chunk-DSKZRVXS.js';
|
42
|
-
import { promotions_default } from './chunk-
|
42
|
+
import { promotions_default } from './chunk-KZ75CT2Q.js';
|
43
43
|
import { recurring_order_copies_default } from './chunk-5OQQBNVB.js';
|
44
44
|
import { refunds_default } from './chunk-3N2MNKA3.js';
|
45
45
|
import { reserved_stocks_default } from './chunk-Q66HILUF.js';
|
46
46
|
import { resource_errors_default } from './chunk-U6PW4AZV.js';
|
47
47
|
import { paypal_gateways_default } from './chunk-KWRDUU7K.js';
|
48
48
|
import { paypal_payments_default } from './chunk-WKN5RLNR.js';
|
49
|
-
import { percentage_discount_promotions_default } from './chunk-
|
49
|
+
import { percentage_discount_promotions_default } from './chunk-FWFGGAKV.js';
|
50
50
|
import { pickups_default } from './chunk-3NWQH32A.js';
|
51
51
|
import { price_frequency_tiers_default } from './chunk-H2USYPU6.js';
|
52
52
|
import { price_list_schedulers_default } from './chunk-WP3L72CW.js';
|
53
53
|
import { price_lists_default } from './chunk-E65GENXB.js';
|
54
54
|
import { price_tiers_default } from './chunk-E3FDHGI7.js';
|
55
55
|
import { orders_default } from './chunk-J6PTNG3D.js';
|
56
|
-
import { organizations_default } from './chunk-
|
56
|
+
import { organizations_default } from './chunk-XXKXNBD5.js';
|
57
57
|
import { packages_default } from './chunk-RT7XLEV6.js';
|
58
58
|
import { parcel_line_items_default } from './chunk-ZEEB5YAU.js';
|
59
59
|
import { parcels_default } from './chunk-UBXNH6J3.js';
|
@@ -85,13 +85,13 @@ import { in_stock_subscriptions_default } from './chunk-2KKHO6QF.js';
|
|
85
85
|
import { inventory_models_default } from './chunk-XR3KEV7U.js';
|
86
86
|
import { inventory_return_locations_default } from './chunk-LTLMRGB7.js';
|
87
87
|
import { external_payments_default } from './chunk-UB6JC3W7.js';
|
88
|
-
import { external_promotions_default } from './chunk-
|
88
|
+
import { external_promotions_default } from './chunk-J6Z6ZR33.js';
|
89
89
|
import { external_tax_calculators_default } from './chunk-34H2NFDA.js';
|
90
|
-
import { fixed_amount_promotions_default } from './chunk-
|
91
|
-
import { fixed_price_promotions_default } from './chunk-
|
92
|
-
import { flex_promotions_default } from './chunk-
|
93
|
-
import { free_gift_promotions_default } from './chunk-
|
94
|
-
import { free_shipping_promotions_default } from './chunk-
|
90
|
+
import { fixed_amount_promotions_default } from './chunk-KYZ4CKIR.js';
|
91
|
+
import { fixed_price_promotions_default } from './chunk-SDRMBCHM.js';
|
92
|
+
import { flex_promotions_default } from './chunk-AWP3PHRS.js';
|
93
|
+
import { free_gift_promotions_default } from './chunk-DZLNYX4L.js';
|
94
|
+
import { free_shipping_promotions_default } from './chunk-YZ57ATOP.js';
|
95
95
|
import { delivery_lead_times_default } from './chunk-YBXRC6MC.js';
|
96
96
|
import { discount_engine_items_default } from './chunk-L4TDKOAC.js';
|
97
97
|
import { discount_engines_default } from './chunk-3PVKJIA3.js';
|
@@ -108,7 +108,7 @@ import { customer_password_resets_default } from './chunk-AW3TRBZ7.js';
|
|
108
108
|
import { customer_payment_sources_default } from './chunk-7SZY5BWE.js';
|
109
109
|
import { customer_subscriptions_default } from './chunk-4KFJUIFD.js';
|
110
110
|
import { customers_default } from './chunk-TOV6ECTA.js';
|
111
|
-
import { buy_x_pay_y_promotions_default } from './chunk-
|
111
|
+
import { buy_x_pay_y_promotions_default } from './chunk-FRZBCW3D.js';
|
112
112
|
import { captures_default } from './chunk-MJRMRWP3.js';
|
113
113
|
import { carrier_accounts_default } from './chunk-QK5MFD4L.js';
|
114
114
|
import { checkout_com_gateways_default } from './chunk-LCNT6GY3.js';
|
@@ -130,7 +130,7 @@ import { adyen_gateways_default } from './chunk-NDPDO54G.js';
|
|
130
130
|
import { adyen_payments_default } from './chunk-WVKEXOIY.js';
|
131
131
|
import { applications_default } from './chunk-KITKWF6F.js';
|
132
132
|
import { attachments_default } from './chunk-DYZGWPZ6.js';
|
133
|
-
import { CommerceLayerClient } from './chunk-
|
133
|
+
import { CommerceLayerClient } from './chunk-S4GBVQLI.js';
|
134
134
|
import './chunk-NAWKHFBZ.js';
|
135
135
|
import './chunk-CHYP5F26.js';
|
136
136
|
import './chunk-H4SVEI6E.js';
|
package/lib/bundle.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/bundle.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,KAAA,GAAQ,cAAM,QAAQ,CAAA;AAG5B,IAAM,mBAAA,GAAN,MAAM,oBAAA,SAA4B,mBAAA,CAAoB;AAAA;AAAA;AAAA;AAAA,EAM7C,YAAY,MAAA,EAAiC;AAEpD,IAAA,KAAA,CAAM,MAAM,CAAA;AACZ,IAAA,KAAA,CAAM,wCAAwC,MAAM,CAAA;AAAA;AAMrD,EAGA,OAAO,IAAK,MAAA,EAAuD;AACl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,IAAA,OAAW,sBAAA;AAAA;AAAe;AAGrE,CAAA;AAIA,SAAS,cAAc,MAAA,EAAsD;AAC5E,EAAA,OAAO,mBAAA,CAAoB,IAAI,MAAM,CAAA;AACtC","file":"bundle.js","sourcesContent":["import { CommerceLayerClient, CommerceLayerInitConfig } from './commercelayer'\nimport * as api from './api'\n\nimport Debug from './debug'\nconst debug = Debug('bundle')\n\n\nclass CommerceLayerBundle extends CommerceLayerClient {\n\n // ##__CL_RESOURCES_DEF_START__##\n\t// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##\n\t// ##__CL_RESOURCES_DEF_STOP__##\n\n public constructor(config: CommerceLayerInitConfig) {\n\n\t\tsuper(config)\n\t\tdebug('new commercelayer bundle instance %O', config)\n\n\t\t// ##__CL_RESOURCES_INIT_START__##\n\t\t// ##__CL_RESOURCES_INIT_TEMPLATE:: ##__TAB__####__TAB__##this.##__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)\n\t\t// ##__CL_RESOURCES_INIT_STOP__##\n\n\t}\n\n\n\tstatic get (config?: CommerceLayerInitConfig): CommerceLayerBundle {\n\t\tif (config) return (CommerceLayerBundle.cl = new CommerceLayerBundle(config))\n\t\telse\n\t\tif (!CommerceLayerBundle.cl) throw new Error('CommerceLayer bundle client not initialized')\n\t\treturn CommerceLayerBundle.cl as CommerceLayerBundle\n\t}\n\n\t// private get adapter(): ResourceAdapter { return ApiResourceAdapter.get() }\n\n // ##__CL_RESOURCES_LEAZY_LOADING_START__##\n\t// ##__CL_RESOURCES_LEAZY_LOADING_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return this.###__RESOURCE_TYPE__## || (this.###__RESOURCE_TYPE__## = api.##__RESOURCE_TYPE__##) }\n\t// ##__CL_RESOURCES_LEAZY_LOADING_STOP__##\n\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_START__##\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return api.##__RESOURCE_TYPE__## }\n\tget addresses(): api.Addresses { return api.addresses }\n\tget adjustments(): api.Adjustments { return api.adjustments }\n\tget adyen_gateways(): api.AdyenGateways { return api.adyen_gateways }\n\tget adyen_payments(): api.AdyenPayments { return api.adyen_payments }\n\tget application(): api.Applications { return api.application }\n\tget attachments(): api.Attachments { return api.attachments }\n\tget authorizations(): api.Authorizations { return api.authorizations }\n\tget avalara_accounts(): api.AvalaraAccounts { return api.avalara_accounts }\n\tget axerve_gateways(): api.AxerveGateways { return api.axerve_gateways }\n\tget axerve_payments(): api.AxervePayments { return api.axerve_payments }\n\tget bing_geocoders(): api.BingGeocoders { return api.bing_geocoders }\n\tget braintree_gateways(): api.BraintreeGateways { return api.braintree_gateways }\n\tget braintree_payments(): api.BraintreePayments { return api.braintree_payments }\n\tget bundles(): api.Bundles { return api.bundles }\n\tget buy_x_pay_y_promotions(): api.BuyXPayYPromotions { return api.buy_x_pay_y_promotions }\n\tget captures(): api.Captures { return api.captures }\n\tget carrier_accounts(): api.CarrierAccounts { return api.carrier_accounts }\n\tget checkout_com_gateways(): api.CheckoutComGateways { return api.checkout_com_gateways }\n\tget checkout_com_payments(): api.CheckoutComPayments { return api.checkout_com_payments }\n\tget cleanups(): api.Cleanups { return api.cleanups }\n\tget coupon_codes_promotion_rules(): api.CouponCodesPromotionRules { return api.coupon_codes_promotion_rules }\n\tget coupon_recipients(): api.CouponRecipients { return api.coupon_recipients }\n\tget coupons(): api.Coupons { return api.coupons }\n\tget custom_promotion_rules(): api.CustomPromotionRules { return api.custom_promotion_rules }\n\tget customer_addresses(): api.CustomerAddresses { return api.customer_addresses }\n\tget customer_groups(): api.CustomerGroups { return api.customer_groups }\n\tget customer_password_resets(): api.CustomerPasswordResets { return api.customer_password_resets }\n\tget customer_payment_sources(): api.CustomerPaymentSources { return api.customer_payment_sources }\n\tget customer_subscriptions(): api.CustomerSubscriptions { return api.customer_subscriptions }\n\tget customers(): api.Customers { return api.customers }\n\tget delivery_lead_times(): api.DeliveryLeadTimes { return api.delivery_lead_times }\n\tget discount_engine_items(): api.DiscountEngineItems { return api.discount_engine_items }\n\tget discount_engines(): api.DiscountEngines { return api.discount_engines }\n\tget easypost_pickups(): api.EasypostPickups { return api.easypost_pickups }\n\tget event_callbacks(): api.EventCallbacks { return api.event_callbacks }\n\tget events(): api.Events { return api.events }\n\tget exports(): api.Exports { return api.exports }\n\tget external_gateways(): api.ExternalGateways { return api.external_gateways }\n\tget external_payments(): api.ExternalPayments { return api.external_payments }\n\tget external_promotions(): api.ExternalPromotions { return api.external_promotions }\n\tget external_tax_calculators(): api.ExternalTaxCalculators { return api.external_tax_calculators }\n\tget fixed_amount_promotions(): api.FixedAmountPromotions { return api.fixed_amount_promotions }\n\tget fixed_price_promotions(): api.FixedPricePromotions { return api.fixed_price_promotions }\n\tget flex_promotions(): api.FlexPromotions { return api.flex_promotions }\n\tget free_gift_promotions(): api.FreeGiftPromotions { return api.free_gift_promotions }\n\tget free_shipping_promotions(): api.FreeShippingPromotions { return api.free_shipping_promotions }\n\tget geocoders(): api.Geocoders { return api.geocoders }\n\tget gift_card_recipients(): api.GiftCardRecipients { return api.gift_card_recipients }\n\tget gift_cards(): api.GiftCards { return api.gift_cards }\n\tget google_geocoders(): api.GoogleGeocoders { return api.google_geocoders }\n\tget imports(): api.Imports { return api.imports }\n\tget in_stock_subscriptions(): api.InStockSubscriptions { return api.in_stock_subscriptions }\n\tget inventory_models(): api.InventoryModels { return api.inventory_models }\n\tget inventory_return_locations(): api.InventoryReturnLocations { return api.inventory_return_locations }\n\tget inventory_stock_locations(): api.InventoryStockLocations { return api.inventory_stock_locations }\n\tget klarna_gateways(): api.KlarnaGateways { return api.klarna_gateways }\n\tget klarna_payments(): api.KlarnaPayments { return api.klarna_payments }\n\tget line_item_options(): api.LineItemOptions { return api.line_item_options }\n\tget line_items(): api.LineItems { return api.line_items }\n\tget links(): api.Links { return api.links }\n\tget manual_gateways(): api.ManualGateways { return api.manual_gateways }\n\tget manual_tax_calculators(): api.ManualTaxCalculators { return api.manual_tax_calculators }\n\tget markets(): api.Markets { return api.markets }\n\tget merchants(): api.Merchants { return api.merchants }\n\tget notifications(): api.Notifications { return api.notifications }\n\tget order_amount_promotion_rules(): api.OrderAmountPromotionRules { return api.order_amount_promotion_rules }\n\tget order_copies(): api.OrderCopies { return api.order_copies }\n\tget order_factories(): api.OrderFactories { return api.order_factories }\n\tget order_subscription_items(): api.OrderSubscriptionItems { return api.order_subscription_items }\n\tget order_subscriptions(): api.OrderSubscriptions { return api.order_subscriptions }\n\tget orders(): api.Orders { return api.orders }\n\tget organization(): api.Organizations { return api.organization }\n\tget packages(): api.Packages { return api.packages }\n\tget parcel_line_items(): api.ParcelLineItems { return api.parcel_line_items }\n\tget parcels(): api.Parcels { return api.parcels }\n\tget payment_gateways(): api.PaymentGateways { return api.payment_gateways }\n\tget payment_methods(): api.PaymentMethods { return api.payment_methods }\n\tget payment_options(): api.PaymentOptions { return api.payment_options }\n\tget paypal_gateways(): api.PaypalGateways { return api.paypal_gateways }\n\tget paypal_payments(): api.PaypalPayments { return api.paypal_payments }\n\tget percentage_discount_promotions(): api.PercentageDiscountPromotions { return api.percentage_discount_promotions }\n\tget pickups(): api.Pickups { return api.pickups }\n\tget price_frequency_tiers(): api.PriceFrequencyTiers { return api.price_frequency_tiers }\n\tget price_list_schedulers(): api.PriceListSchedulers { return api.price_list_schedulers }\n\tget price_lists(): api.PriceLists { return api.price_lists }\n\tget price_tiers(): api.PriceTiers { return api.price_tiers }\n\tget price_volume_tiers(): api.PriceVolumeTiers { return api.price_volume_tiers }\n\tget prices(): api.Prices { return api.prices }\n\tget promotion_rules(): api.PromotionRules { return api.promotion_rules }\n\tget promotions(): api.Promotions { return api.promotions }\n\tget recurring_order_copies(): api.RecurringOrderCopies { return api.recurring_order_copies }\n\tget refunds(): api.Refunds { return api.refunds }\n\tget reserved_stocks(): api.ReservedStocks { return api.reserved_stocks }\n\tget resource_errors(): api.ResourceErrors { return api.resource_errors }\n\tget return_line_items(): api.ReturnLineItems { return api.return_line_items }\n\tget returns(): api.Returns { return api.returns }\n\tget satispay_gateways(): api.SatispayGateways { return api.satispay_gateways }\n\tget satispay_payments(): api.SatispayPayments { return api.satispay_payments }\n\tget shipments(): api.Shipments { return api.shipments }\n\tget shipping_categories(): api.ShippingCategories { return api.shipping_categories }\n\tget shipping_method_tiers(): api.ShippingMethodTiers { return api.shipping_method_tiers }\n\tget shipping_methods(): api.ShippingMethods { return api.shipping_methods }\n\tget shipping_weight_tiers(): api.ShippingWeightTiers { return api.shipping_weight_tiers }\n\tget shipping_zones(): api.ShippingZones { return api.shipping_zones }\n\tget sku_list_items(): api.SkuListItems { return api.sku_list_items }\n\tget sku_list_promotion_rules(): api.SkuListPromotionRules { return api.sku_list_promotion_rules }\n\tget sku_lists(): api.SkuLists { return api.sku_lists }\n\tget sku_options(): api.SkuOptions { return api.sku_options }\n\tget skus(): api.Skus { return api.skus }\n\tget stock_items(): api.StockItems { return api.stock_items }\n\tget stock_line_items(): api.StockLineItems { return api.stock_line_items }\n\tget stock_locations(): api.StockLocations { return api.stock_locations }\n\tget stock_reservations(): api.StockReservations { return api.stock_reservations }\n\tget stock_transfers(): api.StockTransfers { return api.stock_transfers }\n\tget stores(): api.Stores { return api.stores }\n\tget stripe_gateways(): api.StripeGateways { return api.stripe_gateways }\n\tget stripe_payments(): api.StripePayments { return api.stripe_payments }\n\tget stripe_tax_accounts(): api.StripeTaxAccounts { return api.stripe_tax_accounts }\n\tget subscription_models(): api.SubscriptionModels { return api.subscription_models }\n\tget tags(): api.Tags { return api.tags }\n\tget talon_one_accounts(): api.TalonOneAccounts { return api.talon_one_accounts }\n\tget tax_calculators(): api.TaxCalculators { return api.tax_calculators }\n\tget tax_categories(): api.TaxCategories { return api.tax_categories }\n\tget tax_rules(): api.TaxRules { return api.tax_rules }\n\tget taxjar_accounts(): api.TaxjarAccounts { return api.taxjar_accounts }\n\tget transactions(): api.Transactions { return api.transactions }\n\tget versions(): api.Versions { return api.versions }\n\tget vertex_accounts(): api.VertexAccounts { return api.vertex_accounts }\n\tget voids(): api.Voids { return api.voids }\n\tget webhooks(): api.Webhooks { return api.webhooks }\n\tget wire_transfers(): api.WireTransfers { return api.wire_transfers }\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_STOP__##\n\n}\n\n\n\nfunction CommerceLayer(config: CommerceLayerInitConfig): CommerceLayerBundle {\n\treturn CommerceLayerBundle.get(config)\n}\n\n\nexport { CommerceLayer, type CommerceLayerBundle }\n"]}
|
1
|
+
{"version":3,"sources":["../src/bundle.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,KAAA,GAAQ,cAAM,QAAQ,CAAA;AAG5B,IAAM,mBAAA,GAAN,MAAM,oBAAA,SAA4B,mBAAA,CAAoB;AAAA;AAAA;AAAA;AAAA,EAM7C,YAAY,MAAA,EAAiC;AAEpD,IAAA,KAAA,CAAM,MAAM,CAAA;AACZ,IAAA,KAAA,CAAM,wCAAwC,MAAM,CAAA;AAAA,EAMrD;AAAA,EAGA,OAAO,IAAK,MAAA,EAAuD;AAClE,IAAA,IAAI,QAAQ,OAAQ,oBAAA,CAAoB,EAAA,GAAK,IAAI,qBAAoB,MAAM,CAAA;AAAA,SAAA,IAEvE,CAAC,oBAAA,CAAoB,EAAA,EAAI,MAAM,IAAI,MAAM,6CAA6C,CAAA;AAC1F,IAAA,OAAO,oBAAA,CAAoB,EAAA;AAAA,EAC5B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUA,IAAI,SAAA,GAA2B;AA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AA,GAA0B;AAAE,IAAA,OAAW,iBAAA;AAAA,EAAU;AAAA,EACrD,IAAI,eAAA,GAAsC;AAAE,IAAA,OAAW,uBAAA;AAAA,EAAgB;AAAA,EACvE,IAAI,YAAA,GAAiC;AAAE,IAAA,OAAW,oBAAA;AAAA,EAAa;AAAA,EAC/D,IAAI,QAAA,GAAyB;AAAE,IAAA,OAAW,gBAAA;AAAA,EAAS;AAAA,EACnD,IAAI,eAAA,GAAsC;AAAE,IAAA,OAAW,uBAAA;AAAA,EAAgB;AAAA,EACvE,IAAI,KAAA,GAAmB;AAAE,IAAA,OAAW,aAAA;AAAA,EAAM;AAAA,EAC1C,IAAI,QAAA,GAAyB;AAAE,IAAA,OAAW,gBAAA;AAAA,EAAS;AAAA,EACnD,IAAI,cAAA,GAAoC;AAAE,IAAA,OAAW,sBAAA;AAAA,EAAe;AAAA;AAGrE,CAAA;AAIA,SAAS,cAAc,MAAA,EAAsD;AAC5E,EAAA,OAAO,mBAAA,CAAoB,IAAI,MAAM,CAAA;AACtC","file":"bundle.js","sourcesContent":["import { CommerceLayerClient, CommerceLayerInitConfig } from './commercelayer'\nimport * as api from './api'\n\nimport Debug from './debug'\nconst debug = Debug('bundle')\n\n\nclass CommerceLayerBundle extends CommerceLayerClient {\n\n // ##__CL_RESOURCES_DEF_START__##\n\t// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##\n\t// ##__CL_RESOURCES_DEF_STOP__##\n\n public constructor(config: CommerceLayerInitConfig) {\n\n\t\tsuper(config)\n\t\tdebug('new commercelayer bundle instance %O', config)\n\n\t\t// ##__CL_RESOURCES_INIT_START__##\n\t\t// ##__CL_RESOURCES_INIT_TEMPLATE:: ##__TAB__####__TAB__##this.##__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)\n\t\t// ##__CL_RESOURCES_INIT_STOP__##\n\n\t}\n\n\n\tstatic get (config?: CommerceLayerInitConfig): CommerceLayerBundle {\n\t\tif (config) return (CommerceLayerBundle.cl = new CommerceLayerBundle(config))\n\t\telse\n\t\tif (!CommerceLayerBundle.cl) throw new Error('CommerceLayer bundle client not initialized')\n\t\treturn CommerceLayerBundle.cl as CommerceLayerBundle\n\t}\n\n\t// private get adapter(): ResourceAdapter { return ApiResourceAdapter.get() }\n\n // ##__CL_RESOURCES_LEAZY_LOADING_START__##\n\t// ##__CL_RESOURCES_LEAZY_LOADING_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return this.###__RESOURCE_TYPE__## || (this.###__RESOURCE_TYPE__## = api.##__RESOURCE_TYPE__##) }\n\t// ##__CL_RESOURCES_LEAZY_LOADING_STOP__##\n\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_START__##\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return api.##__RESOURCE_TYPE__## }\n\tget addresses(): api.Addresses { return api.addresses }\n\tget adjustments(): api.Adjustments { return api.adjustments }\n\tget adyen_gateways(): api.AdyenGateways { return api.adyen_gateways }\n\tget adyen_payments(): api.AdyenPayments { return api.adyen_payments }\n\tget application(): api.Applications { return api.application }\n\tget attachments(): api.Attachments { return api.attachments }\n\tget authorizations(): api.Authorizations { return api.authorizations }\n\tget avalara_accounts(): api.AvalaraAccounts { return api.avalara_accounts }\n\tget axerve_gateways(): api.AxerveGateways { return api.axerve_gateways }\n\tget axerve_payments(): api.AxervePayments { return api.axerve_payments }\n\tget bing_geocoders(): api.BingGeocoders { return api.bing_geocoders }\n\tget braintree_gateways(): api.BraintreeGateways { return api.braintree_gateways }\n\tget braintree_payments(): api.BraintreePayments { return api.braintree_payments }\n\tget bundles(): api.Bundles { return api.bundles }\n\tget buy_x_pay_y_promotions(): api.BuyXPayYPromotions { return api.buy_x_pay_y_promotions }\n\tget captures(): api.Captures { return api.captures }\n\tget carrier_accounts(): api.CarrierAccounts { return api.carrier_accounts }\n\tget checkout_com_gateways(): api.CheckoutComGateways { return api.checkout_com_gateways }\n\tget checkout_com_payments(): api.CheckoutComPayments { return api.checkout_com_payments }\n\tget cleanups(): api.Cleanups { return api.cleanups }\n\tget coupon_codes_promotion_rules(): api.CouponCodesPromotionRules { return api.coupon_codes_promotion_rules }\n\tget coupon_recipients(): api.CouponRecipients { return api.coupon_recipients }\n\tget coupons(): api.Coupons { return api.coupons }\n\tget custom_promotion_rules(): api.CustomPromotionRules { return api.custom_promotion_rules }\n\tget customer_addresses(): api.CustomerAddresses { return api.customer_addresses }\n\tget customer_groups(): api.CustomerGroups { return api.customer_groups }\n\tget customer_password_resets(): api.CustomerPasswordResets { return api.customer_password_resets }\n\tget customer_payment_sources(): api.CustomerPaymentSources { return api.customer_payment_sources }\n\tget customer_subscriptions(): api.CustomerSubscriptions { return api.customer_subscriptions }\n\tget customers(): api.Customers { return api.customers }\n\tget delivery_lead_times(): api.DeliveryLeadTimes { return api.delivery_lead_times }\n\tget discount_engine_items(): api.DiscountEngineItems { return api.discount_engine_items }\n\tget discount_engines(): api.DiscountEngines { return api.discount_engines }\n\tget easypost_pickups(): api.EasypostPickups { return api.easypost_pickups }\n\tget event_callbacks(): api.EventCallbacks { return api.event_callbacks }\n\tget events(): api.Events { return api.events }\n\tget exports(): api.Exports { return api.exports }\n\tget external_gateways(): api.ExternalGateways { return api.external_gateways }\n\tget external_payments(): api.ExternalPayments { return api.external_payments }\n\tget external_promotions(): api.ExternalPromotions { return api.external_promotions }\n\tget external_tax_calculators(): api.ExternalTaxCalculators { return api.external_tax_calculators }\n\tget fixed_amount_promotions(): api.FixedAmountPromotions { return api.fixed_amount_promotions }\n\tget fixed_price_promotions(): api.FixedPricePromotions { return api.fixed_price_promotions }\n\tget flex_promotions(): api.FlexPromotions { return api.flex_promotions }\n\tget free_gift_promotions(): api.FreeGiftPromotions { return api.free_gift_promotions }\n\tget free_shipping_promotions(): api.FreeShippingPromotions { return api.free_shipping_promotions }\n\tget geocoders(): api.Geocoders { return api.geocoders }\n\tget gift_card_recipients(): api.GiftCardRecipients { return api.gift_card_recipients }\n\tget gift_cards(): api.GiftCards { return api.gift_cards }\n\tget google_geocoders(): api.GoogleGeocoders { return api.google_geocoders }\n\tget imports(): api.Imports { return api.imports }\n\tget in_stock_subscriptions(): api.InStockSubscriptions { return api.in_stock_subscriptions }\n\tget inventory_models(): api.InventoryModels { return api.inventory_models }\n\tget inventory_return_locations(): api.InventoryReturnLocations { return api.inventory_return_locations }\n\tget inventory_stock_locations(): api.InventoryStockLocations { return api.inventory_stock_locations }\n\tget klarna_gateways(): api.KlarnaGateways { return api.klarna_gateways }\n\tget klarna_payments(): api.KlarnaPayments { return api.klarna_payments }\n\tget line_item_options(): api.LineItemOptions { return api.line_item_options }\n\tget line_items(): api.LineItems { return api.line_items }\n\tget links(): api.Links { return api.links }\n\tget manual_gateways(): api.ManualGateways { return api.manual_gateways }\n\tget manual_tax_calculators(): api.ManualTaxCalculators { return api.manual_tax_calculators }\n\tget markets(): api.Markets { return api.markets }\n\tget merchants(): api.Merchants { return api.merchants }\n\tget notifications(): api.Notifications { return api.notifications }\n\tget order_amount_promotion_rules(): api.OrderAmountPromotionRules { return api.order_amount_promotion_rules }\n\tget order_copies(): api.OrderCopies { return api.order_copies }\n\tget order_factories(): api.OrderFactories { return api.order_factories }\n\tget order_subscription_items(): api.OrderSubscriptionItems { return api.order_subscription_items }\n\tget order_subscriptions(): api.OrderSubscriptions { return api.order_subscriptions }\n\tget orders(): api.Orders { return api.orders }\n\tget organization(): api.Organizations { return api.organization }\n\tget packages(): api.Packages { return api.packages }\n\tget parcel_line_items(): api.ParcelLineItems { return api.parcel_line_items }\n\tget parcels(): api.Parcels { return api.parcels }\n\tget payment_gateways(): api.PaymentGateways { return api.payment_gateways }\n\tget payment_methods(): api.PaymentMethods { return api.payment_methods }\n\tget payment_options(): api.PaymentOptions { return api.payment_options }\n\tget paypal_gateways(): api.PaypalGateways { return api.paypal_gateways }\n\tget paypal_payments(): api.PaypalPayments { return api.paypal_payments }\n\tget percentage_discount_promotions(): api.PercentageDiscountPromotions { return api.percentage_discount_promotions }\n\tget pickups(): api.Pickups { return api.pickups }\n\tget price_frequency_tiers(): api.PriceFrequencyTiers { return api.price_frequency_tiers }\n\tget price_list_schedulers(): api.PriceListSchedulers { return api.price_list_schedulers }\n\tget price_lists(): api.PriceLists { return api.price_lists }\n\tget price_tiers(): api.PriceTiers { return api.price_tiers }\n\tget price_volume_tiers(): api.PriceVolumeTiers { return api.price_volume_tiers }\n\tget prices(): api.Prices { return api.prices }\n\tget promotion_rules(): api.PromotionRules { return api.promotion_rules }\n\tget promotions(): api.Promotions { return api.promotions }\n\tget recurring_order_copies(): api.RecurringOrderCopies { return api.recurring_order_copies }\n\tget refunds(): api.Refunds { return api.refunds }\n\tget reserved_stocks(): api.ReservedStocks { return api.reserved_stocks }\n\tget resource_errors(): api.ResourceErrors { return api.resource_errors }\n\tget return_line_items(): api.ReturnLineItems { return api.return_line_items }\n\tget returns(): api.Returns { return api.returns }\n\tget satispay_gateways(): api.SatispayGateways { return api.satispay_gateways }\n\tget satispay_payments(): api.SatispayPayments { return api.satispay_payments }\n\tget shipments(): api.Shipments { return api.shipments }\n\tget shipping_categories(): api.ShippingCategories { return api.shipping_categories }\n\tget shipping_method_tiers(): api.ShippingMethodTiers { return api.shipping_method_tiers }\n\tget shipping_methods(): api.ShippingMethods { return api.shipping_methods }\n\tget shipping_weight_tiers(): api.ShippingWeightTiers { return api.shipping_weight_tiers }\n\tget shipping_zones(): api.ShippingZones { return api.shipping_zones }\n\tget sku_list_items(): api.SkuListItems { return api.sku_list_items }\n\tget sku_list_promotion_rules(): api.SkuListPromotionRules { return api.sku_list_promotion_rules }\n\tget sku_lists(): api.SkuLists { return api.sku_lists }\n\tget sku_options(): api.SkuOptions { return api.sku_options }\n\tget skus(): api.Skus { return api.skus }\n\tget stock_items(): api.StockItems { return api.stock_items }\n\tget stock_line_items(): api.StockLineItems { return api.stock_line_items }\n\tget stock_locations(): api.StockLocations { return api.stock_locations }\n\tget stock_reservations(): api.StockReservations { return api.stock_reservations }\n\tget stock_transfers(): api.StockTransfers { return api.stock_transfers }\n\tget stores(): api.Stores { return api.stores }\n\tget stripe_gateways(): api.StripeGateways { return api.stripe_gateways }\n\tget stripe_payments(): api.StripePayments { return api.stripe_payments }\n\tget stripe_tax_accounts(): api.StripeTaxAccounts { return api.stripe_tax_accounts }\n\tget subscription_models(): api.SubscriptionModels { return api.subscription_models }\n\tget tags(): api.Tags { return api.tags }\n\tget talon_one_accounts(): api.TalonOneAccounts { return api.talon_one_accounts }\n\tget tax_calculators(): api.TaxCalculators { return api.tax_calculators }\n\tget tax_categories(): api.TaxCategories { return api.tax_categories }\n\tget tax_rules(): api.TaxRules { return api.tax_rules }\n\tget taxjar_accounts(): api.TaxjarAccounts { return api.taxjar_accounts }\n\tget transactions(): api.Transactions { return api.transactions }\n\tget versions(): api.Versions { return api.versions }\n\tget vertex_accounts(): api.VertexAccounts { return api.vertex_accounts }\n\tget voids(): api.Voids { return api.voids }\n\tget webhooks(): api.Webhooks { return api.webhooks }\n\tget wire_transfers(): api.WireTransfers { return api.wire_transfers }\n\t// ##__CL_RESOURCES_ACCESSORS_ONLY_STOP__##\n\n}\n\n\n\nfunction CommerceLayer(config: CommerceLayerInitConfig): CommerceLayerBundle {\n\treturn CommerceLayerBundle.get(config)\n}\n\n\nexport { CommerceLayer, type CommerceLayerBundle }\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/in_stock_subscriptions.ts"],"names":["ApiResource"],"mappings":";;;;;AA+GA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6BA,6BAAA,CAAiC;AAAA,EAEnE,OAAgB,IAAA,GAAgC,wBAAA;AAAA,EAEhD,MAAM,MAAA,CAAO,QAAA,EAAqC,MAAA,EAAmD,OAAA,EAAyD;AAC7J,IAAA,OAAO,IAAA,CAAK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AA,EAAyD;AAC/J,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAuD,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,qBAAA,CAAqB,IAAA,EAAM,aAAa,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA;AAC9L,EAGA,sBAAsB,QAAA,EAAgD;AACrE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,qBAAA,CAAqB,IAAA;AAAA;AACjE,EAGA,aAAa,EAAA,EAAwD;AACpE,IAAA,OAAO,KAAA,CAAM,qBAA6C,EAAE,CAAA;AAAA;AAC7D,EAEA,sBAAsB,GAAA,EAAyC;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8C,GAAG,GAAG,CAAA;AAAA;AAClE,EAGA,IAAA,GAAgC;AAC/B,IAAA,OAAO,qBAAA,CAAqB,IAAA;AAAA;AAG9B,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,oBAAA,EAAqB;AAC1C,IAAO,8BAAA,GAAQ","file":"chunk-2AFNQJXP.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market, MarketType } from './markets'\nimport type { Customer, CustomerType } from './customers'\nimport type { Sku, SkuType } from './skus'\nimport type { Event } from './events'\nimport type { Version } from './versions'\n\n\ntype InStockSubscriptionType = 'in_stock_subscriptions'\ntype InStockSubscriptionRel = ResourceRel & { type: InStockSubscriptionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype SkuRel = ResourceRel & { type: SkuType }\n\n\nexport type InStockSubscriptionSort = Pick<InStockSubscription, 'id' | 'status' | 'stock_threshold'> & ResourceSort\n// export type InStockSubscriptionFilter = Pick<InStockSubscription, 'id' | 'status' | 'stock_threshold'> & ResourceFilter\n\n\ninterface InStockSubscription extends Resource {\n\t\n\treadonly type: InStockSubscriptionType\n\n\t/** \n\t * The subscription status. One of 'active' (default), 'inactive', or 'notified'.\n\t * @example ```\"active\"```\n\t */\n\tstatus: 'active' | 'inactive' | 'notified'\n\t/** \n\t * The email of the associated customer, replace the relationship.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email?: string | null\n\t/** \n\t * The code of the associated SKU, replace the relationship.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The threshold at which to trigger the back in stock notification.\n\t * @example ```3```\n\t */\n\tstock_threshold?: number | null\n\n\tmarket?: Market | null\n\tcustomer?: Customer | null\n\tsku?: Sku | null\n\tevents?: Event[] | null\n\tversions?: Version[] | null\n\n}\n\n\ninterface InStockSubscriptionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The email of the associated customer, replace the relationship.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email?: string | null\n\t/** \n\t * The code of the associated SKU, replace the relationship.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The threshold at which to trigger the back in stock notification.\n\t * @example ```3```\n\t */\n\tstock_threshold?: number | null\n\n\tmarket: MarketRel\n\tcustomer: CustomerRel\n\tsku: SkuRel\n\n}\n\n\ninterface InStockSubscriptionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The code of the associated SKU, replace the relationship.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The threshold at which to trigger the back in stock notification.\n\t * @example ```3```\n\t */\n\tstock_threshold?: number | null\n\t/** \n\t * Send this attribute if you want to activate an inactive subscription.\n\t * @example ```true```\n\t */\n\t_activate?: boolean | null\n\t/** \n\t * Send this attribute if you want to dactivate an active subscription.\n\t * @example ```true```\n\t */\n\t_deactivate?: boolean | null\n\n\tmarket?: MarketRel | null\n\tcustomer?: CustomerRel | null\n\tsku?: SkuRel | null\n\n}\n\n\nclass InStockSubscriptions extends ApiResource<InStockSubscription> {\n\n\tstatic readonly TYPE: InStockSubscriptionType = 'in_stock_subscriptions' as const\n\n\tasync create(resource: InStockSubscriptionCreate, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription> {\n\t\treturn this.resources.create<InStockSubscriptionCreate, InStockSubscription>({ ...resource, type: InStockSubscriptions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: InStockSubscriptionUpdate, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription> {\n\t\treturn this.resources.update<InStockSubscriptionUpdate, InStockSubscription>({ ...resource, type: InStockSubscriptions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: InStockSubscriptions.TYPE } : id, options)\n\t}\n\n\tasync market(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _inStockSubscriptionId = (inStockSubscriptionId as InStockSubscription).id || inStockSubscriptionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `in_stock_subscriptions/${_inStockSubscriptionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync customer(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\tconst _inStockSubscriptionId = (inStockSubscriptionId as InStockSubscription).id || inStockSubscriptionId as string\n\t\treturn this.resources.fetch<Customer>({ type: 'customers' }, `in_stock_subscriptions/${_inStockSubscriptionId}/customer`, params, options) as unknown as Customer\n\t}\n\n\tasync sku(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\tconst _inStockSubscriptionId = (inStockSubscriptionId as InStockSubscription).id || inStockSubscriptionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `in_stock_subscriptions/${_inStockSubscriptionId}/sku`, params, options) as unknown as Sku\n\t}\n\n\tasync events(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _inStockSubscriptionId = (inStockSubscriptionId as InStockSubscription).id || inStockSubscriptionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `in_stock_subscriptions/${_inStockSubscriptionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync versions(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _inStockSubscriptionId = (inStockSubscriptionId as InStockSubscription).id || inStockSubscriptionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `in_stock_subscriptions/${_inStockSubscriptionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync _activate(id: string | InStockSubscription, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription> {\n\t\treturn this.resources.update<InStockSubscriptionUpdate, InStockSubscription>({ id: (typeof id === 'string')? id: id.id, type: InStockSubscriptions.TYPE, _activate: true }, params, options)\n\t}\n\n\tasync _deactivate(id: string | InStockSubscription, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription> {\n\t\treturn this.resources.update<InStockSubscriptionUpdate, InStockSubscription>({ id: (typeof id === 'string')? id: id.id, type: InStockSubscriptions.TYPE, _deactivate: true }, params, options)\n\t}\n\n\n\tisInStockSubscription(resource: any): resource is InStockSubscription {\n\t\treturn resource.type && (resource.type === InStockSubscriptions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): InStockSubscriptionRel {\n\t\treturn super.relationshipOneToOne<InStockSubscriptionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): InStockSubscriptionRel[] {\n\t\treturn super.relationshipOneToMany<InStockSubscriptionRel>(...ids)\n\t}\n\n\n\ttype(): InStockSubscriptionType {\n\t\treturn InStockSubscriptions.TYPE\n\t}\n\n}\n\n\nconst instance = new InStockSubscriptions()\nexport default instance\n\nexport type { InStockSubscriptions, InStockSubscription, InStockSubscriptionCreate, InStockSubscriptionUpdate, InStockSubscriptionType }\n"]}
|
1
|
+
{"version":3,"sources":["../src/resources/in_stock_subscriptions.ts"],"names":["ApiResource"],"mappings":";;;;;AA+GA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6BA,6BAAA,CAAiC;AAAA,EAEnE,OAAgB,IAAA,GAAgC,wBAAA;AAAA,EAEhD,MAAM,MAAA,CAAO,QAAA,EAAqC,MAAA,EAAmD,OAAA,EAAyD;AAC7J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/I;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAqC,MAAA,EAAmD,OAAA,EAAyD;AAC7J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/I;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC5G;AAAA,EAEA,MAAM,MAAA,CAAO,qBAAA,EA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;AAC/B,IAAA,OAAO,qBAAA,CAAqB,IAAA;AAAA,EAC7B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,oBAAA,EAAqB;AAC1C,IAAO,8BAAA,GAAQ","file":"chunk-2AFNQJXP.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market, MarketType } from './markets'\nimport type { Customer, CustomerType } from './customers'\nimport type { Sku, SkuType } from './skus'\nimport type { Event } from './events'\nimport type { Version } from './versions'\n\n\ntype InStockSubscriptionType = 'in_stock_subscriptions'\ntype InStockSubscriptionRel = ResourceRel & { type: InStockSubscriptionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype SkuRel = ResourceRel & { type: SkuType }\n\n\nexport type InStockSubscriptionSort = Pick<InStockSubscription, 'id' | 'status' | 'stock_threshold'> & ResourceSort\n// export type InStockSubscriptionFilter = Pick<InStockSubscription, 'id' | 'status' | 'stock_threshold'> & ResourceFilter\n\n\ninterface InStockSubscription extends Resource {\n\t\n\treadonly type: InStockSubscriptionType\n\n\t/** \n\t * The subscription status. One of 'active' (default), 'inactive', or 'notified'.\n\t * @example ```\"active\"```\n\t */\n\tstatus: 'active' | 'inactive' | 'notified'\n\t/** \n\t * The email of the associated customer, replace the relationship.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email?: string | null\n\t/** \n\t * The code of the associated SKU, replace the relationship.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The threshold at which to trigger the back in stock notification.\n\t * @example ```3```\n\t */\n\tstock_threshold?: number | null\n\n\tmarket?: Market | null\n\tcustomer?: Customer | null\n\tsku?: Sku | null\n\tevents?: Event[] | null\n\tversions?: Version[] | null\n\n}\n\n\ninterface InStockSubscriptionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The email of the associated customer, replace the relationship.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email?: string | null\n\t/** \n\t * The code of the associated SKU, replace the relationship.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The threshold at which to trigger the back in stock notification.\n\t * @example ```3```\n\t */\n\tstock_threshold?: number | null\n\n\tmarket: MarketRel\n\tcustomer: CustomerRel\n\tsku: SkuRel\n\n}\n\n\ninterface InStockSubscriptionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The code of the associated SKU, replace the relationship.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The threshold at which to trigger the back in stock notification.\n\t * @example ```3```\n\t */\n\tstock_threshold?: number | null\n\t/** \n\t * Send this attribute if you want to activate an inactive subscription.\n\t * @example ```true```\n\t */\n\t_activate?: boolean | null\n\t/** \n\t * Send this attribute if you want to dactivate an active subscription.\n\t * @example ```true```\n\t */\n\t_deactivate?: boolean | null\n\n\tmarket?: MarketRel | null\n\tcustomer?: CustomerRel | null\n\tsku?: SkuRel | null\n\n}\n\n\nclass InStockSubscriptions extends ApiResource<InStockSubscription> {\n\n\tstatic readonly TYPE: InStockSubscriptionType = 'in_stock_subscriptions' as const\n\n\tasync create(resource: InStockSubscriptionCreate, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription> {\n\t\treturn this.resources.create<InStockSubscriptionCreate, InStockSubscription>({ ...resource, type: InStockSubscriptions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: InStockSubscriptionUpdate, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription> {\n\t\treturn this.resources.update<InStockSubscriptionUpdate, InStockSubscription>({ ...resource, type: InStockSubscriptions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: InStockSubscriptions.TYPE } : id, options)\n\t}\n\n\tasync market(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _inStockSubscriptionId = (inStockSubscriptionId as InStockSubscription).id || inStockSubscriptionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `in_stock_subscriptions/${_inStockSubscriptionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync customer(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\tconst _inStockSubscriptionId = (inStockSubscriptionId as InStockSubscription).id || inStockSubscriptionId as string\n\t\treturn this.resources.fetch<Customer>({ type: 'customers' }, `in_stock_subscriptions/${_inStockSubscriptionId}/customer`, params, options) as unknown as Customer\n\t}\n\n\tasync sku(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\tconst _inStockSubscriptionId = (inStockSubscriptionId as InStockSubscription).id || inStockSubscriptionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `in_stock_subscriptions/${_inStockSubscriptionId}/sku`, params, options) as unknown as Sku\n\t}\n\n\tasync events(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _inStockSubscriptionId = (inStockSubscriptionId as InStockSubscription).id || inStockSubscriptionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `in_stock_subscriptions/${_inStockSubscriptionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync versions(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _inStockSubscriptionId = (inStockSubscriptionId as InStockSubscription).id || inStockSubscriptionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `in_stock_subscriptions/${_inStockSubscriptionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync _activate(id: string | InStockSubscription, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription> {\n\t\treturn this.resources.update<InStockSubscriptionUpdate, InStockSubscription>({ id: (typeof id === 'string')? id: id.id, type: InStockSubscriptions.TYPE, _activate: true }, params, options)\n\t}\n\n\tasync _deactivate(id: string | InStockSubscription, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription> {\n\t\treturn this.resources.update<InStockSubscriptionUpdate, InStockSubscription>({ id: (typeof id === 'string')? id: id.id, type: InStockSubscriptions.TYPE, _deactivate: true }, params, options)\n\t}\n\n\n\tisInStockSubscription(resource: any): resource is InStockSubscription {\n\t\treturn resource.type && (resource.type === InStockSubscriptions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): InStockSubscriptionRel {\n\t\treturn super.relationshipOneToOne<InStockSubscriptionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): InStockSubscriptionRel[] {\n\t\treturn super.relationshipOneToMany<InStockSubscriptionRel>(...ids)\n\t}\n\n\n\ttype(): InStockSubscriptionType {\n\t\treturn InStockSubscriptions.TYPE\n\t}\n\n}\n\n\nconst instance = new InStockSubscriptions()\nexport default instance\n\nexport type { InStockSubscriptions, InStockSubscription, InStockSubscriptionCreate, InStockSubscriptionUpdate, InStockSubscriptionType }\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/resources/bing_geocoders.ts"],"names":["ApiResource"],"mappings":";;;;;AAkEA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsBA,6BAAA,CAA0B;AAAA,EAErD,OAAgB,IAAA,GAAyB,gBAAA;AAAA,EAEzC,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA4C,OAA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esContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market } from './markets'\nimport type { Address } from './addresses'\nimport type { Attachment } from './attachments'\n\n\ntype BingGeocoderType = 'bing_geocoders'\ntype BingGeocoderRel = ResourceRel & { type: BingGeocoderType }\n\n\nexport type BingGeocoderSort = Pick<BingGeocoder, 'id' | 'name'> & ResourceSort\n// export type BingGeocoderFilter = Pick<BingGeocoder, 'id' | 'name'> & ResourceFilter\n\n\ninterface BingGeocoder extends Resource {\n\t\n\treadonly type: BingGeocoderType\n\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname: string\n\n\tmarkets?: Market[] | null\n\taddresses?: Address[] | null\n\tattachments?: Attachment[] | null\n\n}\n\n\ninterface BingGeocoderCreate extends ResourceCreate {\n\t\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname: string\n\t/** \n\t * The Bing Virtualearth key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tkey: string\n\t\n}\n\n\ninterface BingGeocoderUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The Bing Virtualearth key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tkey?: string | null\n\t\n}\n\n\nclass BingGeocoders extends ApiResource<BingGeocoder> {\n\n\tstatic readonly TYPE: BingGeocoderType = 'bing_geocoders' as const\n\n\tasync create(resource: BingGeocoderCreate, params?: QueryParamsRetrieve<BingGeocoder>, options?: ResourcesConfig): Promise<BingGeocoder> {\n\t\treturn this.resources.create<BingGeocoderCreate, BingGeocoder>({ ...resource, type: BingGeocoders.TYPE }, params, options)\n\t}\n\n\tasync update(resource: BingGeocoderUpdate, params?: QueryParamsRetrieve<BingGeocoder>, options?: ResourcesConfig): Promise<BingGeocoder> {\n\t\treturn this.resources.update<BingGeocoderUpdate, BingGeocoder>({ ...resource, type: BingGeocoders.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: BingGeocoders.TYPE } : id, options)\n\t}\n\n\tasync markets(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `bing_geocoders/${_bingGeocoderId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync addresses(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Address>, options?: ResourcesConfig): Promise<ListResponse<Address>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Address>({ type: 'addresses' }, `bing_geocoders/${_bingGeocoderId}/addresses`, params, options) as unknown as ListResponse<Address>\n\t}\n\n\tasync attachments(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `bing_geocoders/${_bingGeocoderId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\n\tisBingGeocoder(resource: any): resource is BingGeocoder {\n\t\treturn resource.type && (resource.type === BingGeocoders.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): BingGeocoderRel {\n\t\treturn super.relationshipOneToOne<BingGeocoderRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): BingGeocoderRel[] {\n\t\treturn super.relationshipOneToMany<BingGeocoderRel>(...ids)\n\t}\n\n\n\ttype(): BingGeocoderType {\n\t\treturn BingGeocoders.TYPE\n\t}\n\n}\n\n\nconst instance = new BingGeocoders()\nexport default instance\n\nexport type { BingGeocoders, BingGeocoder, BingGeocoderCreate, BingGeocoderUpdate, BingGeocoderType }\n"]}
|