@commercelayer/sdk 7.0.0-rc.9 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/lib/api-BsKF9Q-K.d.cts +17565 -0
- package/lib/api-hqUAWxVp.d.ts +17565 -0
- package/lib/api.cjs +288 -283
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +137 -136
- package/lib/bundle.cjs +273 -269
- package/lib/bundle.cjs.map +1 -1
- package/lib/bundle.d.cts +2 -1
- package/lib/bundle.d.ts +2 -1
- package/lib/bundle.js +141 -137
- package/lib/bundle.js.map +1 -1
- package/lib/chunk-2AIPAXOH.cjs +65 -0
- package/lib/chunk-2AIPAXOH.cjs.map +1 -0
- package/lib/chunk-2CPNHJAZ.cjs +51 -0
- package/lib/chunk-2CPNHJAZ.cjs.map +1 -0
- package/lib/chunk-2M54XID3.cjs +51 -0
- package/lib/chunk-2M54XID3.cjs.map +1 -0
- package/lib/chunk-2M5MIMZG.cjs +55 -0
- package/lib/chunk-2M5MIMZG.cjs.map +1 -0
- package/lib/chunk-2QBP2WHJ.js +49 -0
- package/lib/chunk-2QBP2WHJ.js.map +1 -0
- package/lib/chunk-2VNQTC3B.cjs +56 -0
- package/lib/chunk-2VNQTC3B.cjs.map +1 -0
- package/lib/chunk-33CXJXIW.js +63 -0
- package/lib/chunk-33CXJXIW.js.map +1 -0
- package/lib/chunk-3FQU4LWE.js +53 -0
- package/lib/chunk-3FQU4LWE.js.map +1 -0
- package/lib/chunk-3SD7QN5M.js +49 -0
- package/lib/chunk-3SD7QN5M.js.map +1 -0
- package/lib/chunk-3WTRPII2.cjs +47 -0
- package/lib/chunk-3WTRPII2.cjs.map +1 -0
- package/lib/chunk-3XJA5M3C.cjs +56 -0
- package/lib/chunk-3XJA5M3C.cjs.map +1 -0
- package/lib/chunk-3YINNWNG.cjs +51 -0
- package/lib/chunk-3YINNWNG.cjs.map +1 -0
- package/lib/chunk-3ZOHHEJR.js +59 -0
- package/lib/chunk-3ZOHHEJR.js.map +1 -0
- package/lib/chunk-43SLAYP5.js +68 -0
- package/lib/chunk-43SLAYP5.js.map +1 -0
- package/lib/chunk-45YSQMGA.cjs +81 -0
- package/lib/chunk-45YSQMGA.cjs.map +1 -0
- package/lib/chunk-4ATZM33H.js +49 -0
- package/lib/chunk-4ATZM33H.js.map +1 -0
- package/lib/chunk-4B4WZM22.cjs +39 -0
- package/lib/chunk-4B4WZM22.cjs.map +1 -0
- package/lib/chunk-4L73VYT5.cjs +51 -0
- package/lib/chunk-4L73VYT5.cjs.map +1 -0
- package/lib/chunk-4MCWJ5GT.js +57 -0
- package/lib/chunk-4MCWJ5GT.js.map +1 -0
- package/lib/chunk-4MDMKEMH.js +645 -0
- package/lib/chunk-4MDMKEMH.js.map +1 -0
- package/lib/chunk-4XQNILDJ.js +59 -0
- package/lib/chunk-4XQNILDJ.js.map +1 -0
- package/lib/chunk-54UOEWTE.cjs +79 -0
- package/lib/chunk-54UOEWTE.cjs.map +1 -0
- package/lib/chunk-5BIP4OLZ.js +54 -0
- package/lib/chunk-5BIP4OLZ.js.map +1 -0
- package/lib/chunk-5ENDZCMK.js +72 -0
- package/lib/chunk-5ENDZCMK.js.map +1 -0
- package/lib/chunk-5QHMVNEQ.cjs +34 -0
- package/lib/chunk-5QHMVNEQ.cjs.map +1 -0
- package/lib/chunk-5TL34ZY6.js +49 -0
- package/lib/chunk-5TL34ZY6.js.map +1 -0
- package/lib/chunk-5WUI6OHH.cjs +43 -0
- package/lib/chunk-5WUI6OHH.cjs.map +1 -0
- package/lib/chunk-62EOOGD4.js +128 -0
- package/lib/chunk-62EOOGD4.js.map +1 -0
- package/lib/chunk-65LSQZTV.js +45 -0
- package/lib/chunk-65LSQZTV.js.map +1 -0
- package/lib/chunk-67TJ6ALR.js +47 -0
- package/lib/chunk-67TJ6ALR.js.map +1 -0
- package/lib/chunk-67U7A4FV.cjs +72 -0
- package/lib/chunk-67U7A4FV.cjs.map +1 -0
- package/lib/chunk-6EIS4TN3.js +49 -0
- package/lib/chunk-6EIS4TN3.js.map +1 -0
- package/lib/chunk-6LHRWK5U.cjs +39 -0
- package/lib/chunk-6LHRWK5U.cjs.map +1 -0
- package/lib/chunk-6MVBC553.js +99 -0
- package/lib/chunk-6MVBC553.js.map +1 -0
- package/lib/chunk-6PKJDHVC.js +48 -0
- package/lib/chunk-6PKJDHVC.js.map +1 -0
- package/lib/chunk-6QOS6B5F.cjs +51 -0
- package/lib/chunk-6QOS6B5F.cjs.map +1 -0
- package/lib/chunk-6S7EJUCA.cjs +47 -0
- package/lib/chunk-6S7EJUCA.cjs.map +1 -0
- package/lib/chunk-6SGYQRO6.js +53 -0
- package/lib/chunk-6SGYQRO6.js.map +1 -0
- package/lib/chunk-6STKOQR7.cjs +63 -0
- package/lib/chunk-6STKOQR7.cjs.map +1 -0
- package/lib/chunk-6ZJMVQ7T.js +44 -0
- package/lib/chunk-6ZJMVQ7T.js.map +1 -0
- package/lib/chunk-6ZUGJHNV.cjs +47 -0
- package/lib/chunk-6ZUGJHNV.cjs.map +1 -0
- package/lib/chunk-73VR2FML.cjs +51 -0
- package/lib/chunk-73VR2FML.cjs.map +1 -0
- package/lib/chunk-7AHYBTEX.js +36 -0
- package/lib/chunk-7AHYBTEX.js.map +1 -0
- package/lib/chunk-7AOVIJPK.cjs +102 -0
- package/lib/chunk-7AOVIJPK.cjs.map +1 -0
- package/lib/chunk-7LH7NNTW.js +44 -0
- package/lib/chunk-7LH7NNTW.js.map +1 -0
- package/lib/chunk-7OLCOMGV.cjs +54 -0
- package/lib/chunk-7OLCOMGV.cjs.map +1 -0
- package/lib/chunk-7P3ZTIQX.cjs +55 -0
- package/lib/chunk-7P3ZTIQX.cjs.map +1 -0
- package/lib/chunk-7SJAVPZH.cjs +54 -0
- package/lib/chunk-7SJAVPZH.cjs.map +1 -0
- package/lib/chunk-7YWXHAMP.cjs +61 -0
- package/lib/chunk-7YWXHAMP.cjs.map +1 -0
- package/lib/chunk-7Z7FQA33.cjs +661 -0
- package/lib/chunk-7Z7FQA33.cjs.map +1 -0
- package/lib/chunk-A2SZPZSG.cjs +50 -0
- package/lib/chunk-A2SZPZSG.cjs.map +1 -0
- package/lib/chunk-A4MUL4NB.js +53 -0
- package/lib/chunk-A4MUL4NB.js.map +1 -0
- package/lib/chunk-A76SFMAB.cjs +51 -0
- package/lib/chunk-A76SFMAB.cjs.map +1 -0
- package/lib/chunk-AB7QWMMM.cjs +33 -0
- package/lib/chunk-AB7QWMMM.cjs.map +1 -0
- package/lib/chunk-AT27CIRM.js +107 -0
- package/lib/chunk-AT27CIRM.js.map +1 -0
- package/lib/chunk-ATVNGAQC.cjs +109 -0
- package/lib/chunk-ATVNGAQC.cjs.map +1 -0
- package/lib/chunk-AWV5Y4SH.js +70 -0
- package/lib/chunk-AWV5Y4SH.js.map +1 -0
- package/lib/chunk-BGHPRKU4.cjs +51 -0
- package/lib/chunk-BGHPRKU4.cjs.map +1 -0
- package/lib/chunk-BHXCVURA.cjs +130 -0
- package/lib/chunk-BHXCVURA.cjs.map +1 -0
- package/lib/chunk-BQ4VRKE7.js +28 -0
- package/lib/chunk-BQ4VRKE7.js.map +1 -0
- package/lib/chunk-BT72RZCE.js +36 -0
- package/lib/chunk-BT72RZCE.js.map +1 -0
- package/lib/chunk-BTLPF6RH.js +49 -0
- package/lib/chunk-BTLPF6RH.js.map +1 -0
- package/lib/chunk-BUHV5UDN.cjs +54 -0
- package/lib/chunk-BUHV5UDN.cjs.map +1 -0
- package/lib/chunk-C47UWH7R.js +48 -0
- package/lib/chunk-C47UWH7R.js.map +1 -0
- package/lib/chunk-C6ACTKJH.js +48 -0
- package/lib/chunk-C6ACTKJH.js.map +1 -0
- package/lib/chunk-CETB5FAI.js +41 -0
- package/lib/chunk-CETB5FAI.js.map +1 -0
- package/lib/chunk-CHYP5F26.js.map +1 -1
- package/lib/chunk-CMUUBOZK.cjs +99 -0
- package/lib/chunk-CMUUBOZK.cjs.map +1 -0
- package/lib/chunk-CRPD5Q5Y.js +88 -0
- package/lib/chunk-CRPD5Q5Y.js.map +1 -0
- package/lib/chunk-CYEVBUIW.js +100 -0
- package/lib/chunk-CYEVBUIW.js.map +1 -0
- package/lib/chunk-D4RA67CM.cjs +50 -0
- package/lib/chunk-D4RA67CM.cjs.map +1 -0
- package/lib/chunk-D7SALAS2.cjs +29 -0
- package/lib/chunk-D7SALAS2.cjs.map +1 -0
- package/lib/chunk-D7VHCT5M.cjs +47 -0
- package/lib/chunk-D7VHCT5M.cjs.map +1 -0
- package/lib/chunk-DEYOBMM5.js +49 -0
- package/lib/chunk-DEYOBMM5.js.map +1 -0
- package/lib/chunk-DIE5NWNX.js +105 -0
- package/lib/chunk-DIE5NWNX.js.map +1 -0
- package/lib/chunk-DM62R5CL.cjs +50 -0
- package/lib/chunk-DM62R5CL.cjs.map +1 -0
- package/lib/chunk-DPE4FTTS.cjs +42 -0
- package/lib/chunk-DPE4FTTS.cjs.map +1 -0
- package/lib/chunk-DPIHG4FX.cjs +51 -0
- package/lib/chunk-DPIHG4FX.cjs.map +1 -0
- package/lib/chunk-DPJDEC6A.js +42 -0
- package/lib/chunk-DPJDEC6A.js.map +1 -0
- package/lib/chunk-DQWWKXLR.cjs +51 -0
- package/lib/chunk-DQWWKXLR.cjs.map +1 -0
- package/lib/chunk-E2EVY45K.js +48 -0
- package/lib/chunk-E2EVY45K.js.map +1 -0
- package/lib/chunk-E2G3K7H4.js +32 -0
- package/lib/chunk-E2G3K7H4.js.map +1 -0
- package/lib/chunk-E6MQFGEF.js +77 -0
- package/lib/chunk-E6MQFGEF.js.map +1 -0
- package/lib/chunk-EAR4AXVU.cjs +51 -0
- package/lib/chunk-EAR4AXVU.cjs.map +1 -0
- package/lib/chunk-EFQH4OGQ.cjs +46 -0
- package/lib/chunk-EFQH4OGQ.cjs.map +1 -0
- package/lib/chunk-EFU44R7O.js +56 -0
- package/lib/chunk-EFU44R7O.js.map +1 -0
- package/lib/chunk-EPDTA5Z3.cjs +79 -0
- package/lib/chunk-EPDTA5Z3.cjs.map +1 -0
- package/lib/chunk-ESGRB4YB.cjs +55 -0
- package/lib/chunk-ESGRB4YB.cjs.map +1 -0
- package/lib/chunk-EVVUYC7T.cjs +47 -0
- package/lib/chunk-EVVUYC7T.cjs.map +1 -0
- package/lib/chunk-EW5ZFLK6.cjs +74 -0
- package/lib/chunk-EW5ZFLK6.cjs.map +1 -0
- package/lib/chunk-EZQ3QHF2.js +97 -0
- package/lib/chunk-EZQ3QHF2.js.map +1 -0
- package/lib/chunk-F3UMNXXH.js +45 -0
- package/lib/chunk-F3UMNXXH.js.map +1 -0
- package/lib/chunk-F6TOLEEF.js +37 -0
- package/lib/chunk-F6TOLEEF.js.map +1 -0
- package/lib/chunk-F6WABN7F.cjs +105 -0
- package/lib/chunk-F6WABN7F.cjs.map +1 -0
- package/lib/chunk-FCGKL7AI.cjs +51 -0
- package/lib/chunk-FCGKL7AI.cjs.map +1 -0
- package/lib/chunk-FDW7JX5A.cjs +55 -0
- package/lib/chunk-FDW7JX5A.cjs.map +1 -0
- package/lib/chunk-FI2PWG6C.js +63 -0
- package/lib/chunk-FI2PWG6C.js.map +1 -0
- package/lib/chunk-FI7BWBCX.js +63 -0
- package/lib/chunk-FI7BWBCX.js.map +1 -0
- package/lib/chunk-FIM76CMU.cjs +42 -0
- package/lib/chunk-FIM76CMU.cjs.map +1 -0
- package/lib/chunk-FLFTXWLQ.cjs +286 -0
- package/lib/chunk-FLFTXWLQ.cjs.map +1 -0
- package/lib/chunk-FMGDNZQ6.cjs +51 -0
- package/lib/chunk-FMGDNZQ6.cjs.map +1 -0
- package/lib/chunk-FNTJOIQB.cjs +60 -0
- package/lib/chunk-FNTJOIQB.cjs.map +1 -0
- package/lib/chunk-FTYGJZZM.js +44 -0
- package/lib/chunk-FTYGJZZM.js.map +1 -0
- package/lib/chunk-FUDBWYKD.js +49 -0
- package/lib/chunk-FUDBWYKD.js.map +1 -0
- package/lib/chunk-G2OYFKP2.cjs +90 -0
- package/lib/chunk-G2OYFKP2.cjs.map +1 -0
- package/lib/chunk-G2Y67WFX.js +73 -0
- package/lib/chunk-G2Y67WFX.js.map +1 -0
- package/lib/chunk-G2ZCHH4W.js +55 -0
- package/lib/chunk-G2ZCHH4W.js.map +1 -0
- package/lib/chunk-G5IOYKFS.js +53 -0
- package/lib/chunk-G5IOYKFS.js.map +1 -0
- package/lib/chunk-G74VYKRY.js +45 -0
- package/lib/chunk-G74VYKRY.js.map +1 -0
- package/lib/chunk-G7MROYQP.cjs +42 -0
- package/lib/chunk-G7MROYQP.cjs.map +1 -0
- package/lib/chunk-GJOZR5TC.cjs +93 -0
- package/lib/chunk-GJOZR5TC.cjs.map +1 -0
- package/lib/chunk-GKUFMSZL.js +32 -0
- package/lib/chunk-GKUFMSZL.js.map +1 -0
- package/lib/chunk-GLL264QG.cjs +55 -0
- package/lib/chunk-GLL264QG.cjs.map +1 -0
- package/lib/chunk-GRBPCPJQ.js +58 -0
- package/lib/chunk-GRBPCPJQ.js.map +1 -0
- package/lib/chunk-H5CKBXQS.js +53 -0
- package/lib/chunk-H5CKBXQS.js.map +1 -0
- package/lib/chunk-H6AQZ5TP.js +77 -0
- package/lib/chunk-H6AQZ5TP.js.map +1 -0
- package/lib/chunk-H7EX22DB.cjs +65 -0
- package/lib/chunk-H7EX22DB.cjs.map +1 -0
- package/lib/chunk-HBDXHKBE.js +91 -0
- package/lib/chunk-HBDXHKBE.js.map +1 -0
- package/lib/chunk-HH3NIT7B.js +49 -0
- package/lib/chunk-HH3NIT7B.js.map +1 -0
- package/lib/chunk-HUDH634O.cjs +67 -0
- package/lib/chunk-HUDH634O.cjs.map +1 -0
- package/lib/chunk-HXAWT7GZ.js +97 -0
- package/lib/chunk-HXAWT7GZ.js.map +1 -0
- package/lib/chunk-HZQRIP3G.js +284 -0
- package/lib/chunk-HZQRIP3G.js.map +1 -0
- package/lib/chunk-I2NZB6KN.js +44 -0
- package/lib/chunk-I2NZB6KN.js.map +1 -0
- package/lib/chunk-I3ZMOPMJ.js +52 -0
- package/lib/chunk-I3ZMOPMJ.js.map +1 -0
- package/lib/chunk-I56ZABWO.cjs +38 -0
- package/lib/chunk-I56ZABWO.cjs.map +1 -0
- package/lib/chunk-I5VOVSS7.cjs +71 -0
- package/lib/chunk-I5VOVSS7.cjs.map +1 -0
- package/lib/chunk-I64U2VMD.cjs +51 -0
- package/lib/chunk-I64U2VMD.cjs.map +1 -0
- package/lib/chunk-I66TFFKG.cjs +160 -0
- package/lib/chunk-I66TFFKG.cjs.map +1 -0
- package/lib/chunk-I73TW24N.cjs +101 -0
- package/lib/chunk-I73TW24N.cjs.map +1 -0
- package/lib/chunk-IALPF4NG.cjs +60 -0
- package/lib/chunk-IALPF4NG.cjs.map +1 -0
- package/lib/chunk-IHPFHOEJ.js +40 -0
- package/lib/chunk-IHPFHOEJ.js.map +1 -0
- package/lib/chunk-II544XO5.cjs +51 -0
- package/lib/chunk-II544XO5.cjs.map +1 -0
- package/lib/chunk-IKHD5UQP.cjs.map +1 -1
- package/lib/chunk-IQQNG3U2.cjs +55 -0
- package/lib/chunk-IQQNG3U2.cjs.map +1 -0
- package/lib/chunk-IQVSM3MS.js +57 -0
- package/lib/chunk-IQVSM3MS.js.map +1 -0
- package/lib/chunk-IXOAGKRD.cjs +65 -0
- package/lib/chunk-IXOAGKRD.cjs.map +1 -0
- package/lib/chunk-J32Z2XNX.cjs +57 -0
- package/lib/chunk-J32Z2XNX.cjs.map +1 -0
- package/lib/chunk-J42WGTN6.cjs +50 -0
- package/lib/chunk-J42WGTN6.cjs.map +1 -0
- package/lib/chunk-JAOFRM22.js +61 -0
- package/lib/chunk-JAOFRM22.js.map +1 -0
- package/lib/chunk-JCOJGOXF.cjs +107 -0
- package/lib/chunk-JCOJGOXF.cjs.map +1 -0
- package/lib/chunk-JDFDWBXQ.js +53 -0
- package/lib/chunk-JDFDWBXQ.js.map +1 -0
- package/lib/chunk-JPKZBEAY.js +59 -0
- package/lib/chunk-JPKZBEAY.js.map +1 -0
- package/lib/chunk-JRMM5QTS.cjs +99 -0
- package/lib/chunk-JRMM5QTS.cjs.map +1 -0
- package/lib/chunk-JUVEIRM4.cjs +47 -0
- package/lib/chunk-JUVEIRM4.cjs.map +1 -0
- package/lib/chunk-JVF5KY2J.cjs.map +1 -1
- package/lib/chunk-JVQVN3JM.js +31 -0
- package/lib/chunk-JVQVN3JM.js.map +1 -0
- package/lib/chunk-JWLNUOL5.js +79 -0
- package/lib/chunk-JWLNUOL5.js.map +1 -0
- package/lib/chunk-JYSIXEKG.cjs +54 -0
- package/lib/chunk-JYSIXEKG.cjs.map +1 -0
- package/lib/chunk-K2E4PX3F.cjs +51 -0
- package/lib/chunk-K2E4PX3F.cjs.map +1 -0
- package/lib/chunk-K3BSXSHS.cjs +55 -0
- package/lib/chunk-K3BSXSHS.cjs.map +1 -0
- package/lib/chunk-K7AR7Z3J.cjs +58 -0
- package/lib/chunk-K7AR7Z3J.cjs.map +1 -0
- package/lib/chunk-KAZKQXUO.js +103 -0
- package/lib/chunk-KAZKQXUO.js.map +1 -0
- package/lib/chunk-KDDMRBB6.cjs +30 -0
- package/lib/chunk-KDDMRBB6.cjs.map +1 -0
- package/lib/chunk-KDQRA5YH.js +49 -0
- package/lib/chunk-KDQRA5YH.js.map +1 -0
- package/lib/chunk-KGZ3FTYR.cjs +43 -0
- package/lib/chunk-KGZ3FTYR.cjs.map +1 -0
- package/lib/chunk-KIB4XYWP.js +37 -0
- package/lib/chunk-KIB4XYWP.js.map +1 -0
- package/lib/chunk-KM27D322.cjs +70 -0
- package/lib/chunk-KM27D322.cjs.map +1 -0
- package/lib/chunk-KNXPWX4D.cjs +73 -0
- package/lib/chunk-KNXPWX4D.cjs.map +1 -0
- package/lib/chunk-KT2FGWBT.cjs +59 -0
- package/lib/chunk-KT2FGWBT.cjs.map +1 -0
- package/lib/chunk-KVRZZTDE.js +40 -0
- package/lib/chunk-KVRZZTDE.js.map +1 -0
- package/lib/chunk-KWOKL6HK.cjs +59 -0
- package/lib/chunk-KWOKL6HK.cjs.map +1 -0
- package/lib/chunk-LE4I5AHS.js +53 -0
- package/lib/chunk-LE4I5AHS.js.map +1 -0
- package/lib/chunk-LESXALEZ.js +49 -0
- package/lib/chunk-LESXALEZ.js.map +1 -0
- package/lib/chunk-LF3CZYGK.js +49 -0
- package/lib/chunk-LF3CZYGK.js.map +1 -0
- package/lib/chunk-LGO42DAS.cjs +58 -0
- package/lib/chunk-LGO42DAS.cjs.map +1 -0
- package/lib/chunk-LGOJTWKL.js +52 -0
- package/lib/chunk-LGOJTWKL.js.map +1 -0
- package/lib/chunk-LLYWUA5S.js +54 -0
- package/lib/chunk-LLYWUA5S.js.map +1 -0
- package/lib/chunk-LTCWS2HF.cjs +43 -0
- package/lib/chunk-LTCWS2HF.cjs.map +1 -0
- package/lib/chunk-LZXPO7K6.cjs +88 -0
- package/lib/chunk-LZXPO7K6.cjs.map +1 -0
- package/lib/chunk-ME2ZNNMA.js +58 -0
- package/lib/chunk-ME2ZNNMA.js.map +1 -0
- package/lib/chunk-MHCLPVOI.js +56 -0
- package/lib/chunk-MHCLPVOI.js.map +1 -0
- package/lib/chunk-MKV2B7P5.cjs +46 -0
- package/lib/chunk-MKV2B7P5.cjs.map +1 -0
- package/lib/chunk-MOKBZVUU.js +53 -0
- package/lib/chunk-MOKBZVUU.js.map +1 -0
- package/lib/chunk-MUMTGXL2.js +57 -0
- package/lib/chunk-MUMTGXL2.js.map +1 -0
- package/lib/chunk-MXT6VH7V.js +45 -0
- package/lib/chunk-MXT6VH7V.js.map +1 -0
- package/lib/chunk-N35FM5P4.js +64 -0
- package/lib/chunk-N35FM5P4.js.map +1 -0
- package/lib/chunk-N4COQM5Q.js +37 -0
- package/lib/chunk-N4COQM5Q.js.map +1 -0
- package/lib/chunk-N54ON7TD.js +102 -0
- package/lib/chunk-N54ON7TD.js.map +1 -0
- package/lib/chunk-N5DBVBID.js +70 -0
- package/lib/chunk-N5DBVBID.js.map +1 -0
- package/lib/chunk-NEVN2SMR.js +53 -0
- package/lib/chunk-NEVN2SMR.js.map +1 -0
- package/lib/chunk-NEZXHBGE.js +3 -0
- package/lib/chunk-NEZXHBGE.js.map +1 -0
- package/lib/chunk-NODJ4LG6.js +97 -0
- package/lib/chunk-NODJ4LG6.js.map +1 -0
- package/lib/chunk-NRZBSJPM.js +45 -0
- package/lib/chunk-NRZBSJPM.js.map +1 -0
- package/lib/chunk-NWKIFDQH.cjs +55 -0
- package/lib/chunk-NWKIFDQH.cjs.map +1 -0
- package/lib/chunk-O3NWYOPV.cjs +55 -0
- package/lib/chunk-O3NWYOPV.cjs.map +1 -0
- package/lib/chunk-OA4DVMEQ.cjs +59 -0
- package/lib/chunk-OA4DVMEQ.cjs.map +1 -0
- package/lib/chunk-OA7RZ24N.js +49 -0
- package/lib/chunk-OA7RZ24N.js.map +1 -0
- package/lib/chunk-OEUSTDGS.cjs +42 -0
- package/lib/chunk-OEUSTDGS.cjs.map +1 -0
- package/lib/chunk-OH5533KN.cjs +55 -0
- package/lib/chunk-OH5533KN.cjs.map +1 -0
- package/lib/chunk-OL6PRNU5.js +49 -0
- package/lib/chunk-OL6PRNU5.js.map +1 -0
- package/lib/chunk-OS5DXUBX.js +49 -0
- package/lib/chunk-OS5DXUBX.js.map +1 -0
- package/lib/chunk-OV4JT553.cjs +51 -0
- package/lib/chunk-OV4JT553.cjs.map +1 -0
- package/lib/chunk-P2OLPCWV.cjs +54 -0
- package/lib/chunk-P2OLPCWV.cjs.map +1 -0
- package/lib/chunk-P5GRTTMC.js +71 -0
- package/lib/chunk-P5GRTTMC.js.map +1 -0
- package/lib/chunk-P7E2LQ6Q.js +53 -0
- package/lib/chunk-P7E2LQ6Q.js.map +1 -0
- package/lib/chunk-PA43CMMI.cjs +55 -0
- package/lib/chunk-PA43CMMI.cjs.map +1 -0
- package/lib/chunk-PBE4XAIR.cjs +65 -0
- package/lib/chunk-PBE4XAIR.cjs.map +1 -0
- package/lib/chunk-PBIARBZH.cjs +51 -0
- package/lib/chunk-PBIARBZH.cjs.map +1 -0
- package/lib/chunk-PEC5CKS7.cjs +22 -0
- package/lib/chunk-PEC5CKS7.cjs.map +1 -0
- package/lib/chunk-PENOPHMW.js +52 -0
- package/lib/chunk-PENOPHMW.js.map +1 -0
- package/lib/chunk-PIYKFPYB.js +49 -0
- package/lib/chunk-PIYKFPYB.js.map +1 -0
- package/lib/chunk-PLIS7EYD.js +41 -0
- package/lib/chunk-PLIS7EYD.js.map +1 -0
- package/lib/chunk-Q3ULISRX.cjs +57 -0
- package/lib/chunk-Q3ULISRX.cjs.map +1 -0
- package/lib/chunk-QB7GGVK7.js +52 -0
- package/lib/chunk-QB7GGVK7.js.map +1 -0
- package/lib/chunk-QD2VBPJU.js +53 -0
- package/lib/chunk-QD2VBPJU.js.map +1 -0
- package/lib/chunk-QGFAOPJG.cjs +26 -0
- package/lib/chunk-QGFAOPJG.cjs.map +1 -0
- package/lib/chunk-QXYNFQDJ.js +24 -0
- package/lib/chunk-QXYNFQDJ.js.map +1 -0
- package/lib/chunk-QYVJGMYT.cjs +51 -0
- package/lib/chunk-QYVJGMYT.cjs.map +1 -0
- package/lib/chunk-R2LRLUUY.js.map +1 -1
- package/lib/chunk-R5NSJSKB.js +49 -0
- package/lib/chunk-R5NSJSKB.js.map +1 -0
- package/lib/chunk-RAF3LK5T.cjs +51 -0
- package/lib/chunk-RAF3LK5T.cjs.map +1 -0
- package/lib/chunk-RDTIBHZO.cjs +51 -0
- package/lib/chunk-RDTIBHZO.cjs.map +1 -0
- package/lib/chunk-RHG3UVET.cjs +44 -0
- package/lib/chunk-RHG3UVET.cjs.map +1 -0
- package/lib/chunk-RJJQU44M.js +45 -0
- package/lib/chunk-RJJQU44M.js.map +1 -0
- package/lib/chunk-RK3E3UJ2.cjs +61 -0
- package/lib/chunk-RK3E3UJ2.cjs.map +1 -0
- package/lib/chunk-RLZV6AKT.cjs +99 -0
- package/lib/chunk-RLZV6AKT.cjs.map +1 -0
- package/lib/chunk-SDGSOWXI.js +49 -0
- package/lib/chunk-SDGSOWXI.js.map +1 -0
- package/lib/chunk-SKETQJTW.cjs +59 -0
- package/lib/chunk-SKETQJTW.cjs.map +1 -0
- package/lib/chunk-SRW7OWVS.cjs.map +1 -1
- package/lib/chunk-SRYEFARJ.cjs +4 -0
- package/lib/chunk-SRYEFARJ.cjs.map +1 -0
- package/lib/chunk-SXPZRQBF.js +49 -0
- package/lib/chunk-SXPZRQBF.js.map +1 -0
- package/lib/chunk-T2VDBKD4.js +44 -0
- package/lib/chunk-T2VDBKD4.js.map +1 -0
- package/lib/chunk-T5AO4445.cjs +49 -0
- package/lib/chunk-T5AO4445.cjs.map +1 -0
- package/lib/chunk-TE3N57V6.js +40 -0
- package/lib/chunk-TE3N57V6.js.map +1 -0
- package/lib/chunk-TFJYQUEH.cjs +51 -0
- package/lib/chunk-TFJYQUEH.cjs.map +1 -0
- package/lib/chunk-TIINXXHU.cjs +46 -0
- package/lib/chunk-TIINXXHU.cjs.map +1 -0
- package/lib/chunk-TLOIOTYF.cjs +66 -0
- package/lib/chunk-TLOIOTYF.cjs.map +1 -0
- package/lib/chunk-TRPV3CFO.cjs +75 -0
- package/lib/chunk-TRPV3CFO.cjs.map +1 -0
- package/lib/chunk-TWL4WEOL.js +49 -0
- package/lib/chunk-TWL4WEOL.js.map +1 -0
- package/lib/chunk-TWQ4THAG.js +45 -0
- package/lib/chunk-TWQ4THAG.js.map +1 -0
- package/lib/chunk-TZAGUXNS.cjs +61 -0
- package/lib/chunk-TZAGUXNS.cjs.map +1 -0
- package/lib/chunk-U22VLCMN.cjs +284 -0
- package/lib/chunk-U22VLCMN.cjs.map +1 -0
- package/lib/chunk-U25QRMJY.js +28 -0
- package/lib/chunk-U25QRMJY.js.map +1 -0
- package/lib/chunk-U4ELOYK7.cjs +42 -0
- package/lib/chunk-U4ELOYK7.cjs.map +1 -0
- package/lib/chunk-U7OGOZ5B.cjs +51 -0
- package/lib/chunk-U7OGOZ5B.cjs.map +1 -0
- package/lib/chunk-UEDVN7C4.js +49 -0
- package/lib/chunk-UEDVN7C4.js.map +1 -0
- package/lib/chunk-UEQ3CRVM.cjs +50 -0
- package/lib/chunk-UEQ3CRVM.cjs.map +1 -0
- package/lib/chunk-UHKV2XBV.cjs +95 -0
- package/lib/chunk-UHKV2XBV.cjs.map +1 -0
- package/lib/chunk-UIPKMXES.js +97 -0
- package/lib/chunk-UIPKMXES.js.map +1 -0
- package/lib/chunk-UTFSZHUD.cjs +39 -0
- package/lib/chunk-UTFSZHUD.cjs.map +1 -0
- package/lib/chunk-UUY77JM3.js +151 -0
- package/lib/chunk-UUY77JM3.js.map +1 -0
- package/lib/chunk-UWM5SGDS.js +65 -0
- package/lib/chunk-UWM5SGDS.js.map +1 -0
- package/lib/chunk-VDMJ7RC4.js +97 -0
- package/lib/chunk-VDMJ7RC4.js.map +1 -0
- package/lib/chunk-VEBN2D2K.js +53 -0
- package/lib/chunk-VEBN2D2K.js.map +1 -0
- package/lib/chunk-VGMMPMUL.js +55 -0
- package/lib/chunk-VGMMPMUL.js.map +1 -0
- package/lib/chunk-VKNNJ5CS.js +49 -0
- package/lib/chunk-VKNNJ5CS.js.map +1 -0
- package/lib/chunk-VR3ZMKF5.js +48 -0
- package/lib/chunk-VR3ZMKF5.js.map +1 -0
- package/lib/chunk-VRJJX4JV.js +40 -0
- package/lib/chunk-VRJJX4JV.js.map +1 -0
- package/lib/chunk-VT5HP44I.js +49 -0
- package/lib/chunk-VT5HP44I.js.map +1 -0
- package/lib/chunk-VUVL5VPT.js +49 -0
- package/lib/chunk-VUVL5VPT.js.map +1 -0
- package/lib/chunk-W2EFIUTW.js +40 -0
- package/lib/chunk-W2EFIUTW.js.map +1 -0
- package/lib/chunk-W6KL6Q4Z.cjs +99 -0
- package/lib/chunk-W6KL6Q4Z.cjs.map +1 -0
- package/lib/chunk-WAC3LO4S.cjs +51 -0
- package/lib/chunk-WAC3LO4S.cjs.map +1 -0
- package/lib/chunk-WEWTTMPS.cjs +46 -0
- package/lib/chunk-WEWTTMPS.cjs.map +1 -0
- package/lib/chunk-WK3SIZUG.js +41 -0
- package/lib/chunk-WK3SIZUG.js.map +1 -0
- package/lib/chunk-WO4S2ZUQ.js +49 -0
- package/lib/chunk-WO4S2ZUQ.js.map +1 -0
- package/lib/chunk-WVCUPAHM.cjs +38 -0
- package/lib/chunk-WVCUPAHM.cjs.map +1 -0
- package/lib/chunk-XD7GS4QW.js.map +1 -1
- package/lib/chunk-XFHMLWZM.js +63 -0
- package/lib/chunk-XFHMLWZM.js.map +1 -0
- package/lib/chunk-XKERR6OR.js +276 -0
- package/lib/chunk-XKERR6OR.js.map +1 -0
- package/lib/chunk-XOVAUMDC.cjs +55 -0
- package/lib/chunk-XOVAUMDC.cjs.map +1 -0
- package/lib/chunk-XYBXDS3Z.cjs +30 -0
- package/lib/chunk-XYBXDS3Z.cjs.map +1 -0
- package/lib/chunk-XYR7Q662.cjs +99 -0
- package/lib/chunk-XYR7Q662.cjs.map +1 -0
- package/lib/chunk-Y3NZRCF4.js +49 -0
- package/lib/chunk-Y3NZRCF4.js.map +1 -0
- package/lib/chunk-YIABS6K6.js +57 -0
- package/lib/chunk-YIABS6K6.js.map +1 -0
- package/lib/chunk-YPRABQMP.js +49 -0
- package/lib/chunk-YPRABQMP.js.map +1 -0
- package/lib/chunk-YTXFX5LA.js +27 -0
- package/lib/chunk-YTXFX5LA.js.map +1 -0
- package/lib/chunk-YX4ZQEON.cjs +67 -0
- package/lib/chunk-YX4ZQEON.cjs.map +1 -0
- package/lib/chunk-YY5ENJSH.cjs.map +1 -1
- package/lib/chunk-YZ4JURI3.cjs +51 -0
- package/lib/chunk-YZ4JURI3.cjs.map +1 -0
- package/lib/chunk-YZZQ7GVQ.js +65 -0
- package/lib/chunk-YZZQ7GVQ.js.map +1 -0
- package/lib/chunk-Z3FUZ3YM.cjs +72 -0
- package/lib/chunk-Z3FUZ3YM.cjs.map +1 -0
- package/lib/chunk-Z4LKTHPE.js +20 -0
- package/lib/chunk-Z4LKTHPE.js.map +1 -0
- package/lib/chunk-Z4QZRC4T.cjs +107 -0
- package/lib/chunk-Z4QZRC4T.cjs.map +1 -0
- package/lib/chunk-Z66CWIH5.cjs +51 -0
- package/lib/chunk-Z66CWIH5.cjs.map +1 -0
- package/lib/chunk-ZDTIKZYR.js +93 -0
- package/lib/chunk-ZDTIKZYR.js.map +1 -0
- package/lib/chunk-ZLFWYCCG.cjs +34 -0
- package/lib/chunk-ZLFWYCCG.cjs.map +1 -0
- package/lib/chunk-ZSG25S6U.cjs +51 -0
- package/lib/chunk-ZSG25S6U.cjs.map +1 -0
- package/lib/chunk-ZU7GFVQ6.js.map +1 -1
- package/lib/chunk-ZVS24BIO.js +86 -0
- package/lib/chunk-ZVS24BIO.js.map +1 -0
- package/lib/chunk-ZW4CB7J7.cjs +46 -0
- package/lib/chunk-ZW4CB7J7.cjs.map +1 -0
- package/lib/chunk-ZWVME7CU.cjs +153 -0
- package/lib/chunk-ZWVME7CU.cjs.map +1 -0
- package/lib/chunk-ZXEE43XR.js +52 -0
- package/lib/chunk-ZXEE43XR.js.map +1 -0
- package/lib/chunk-ZYAGX4RM.js +69 -0
- package/lib/chunk-ZYAGX4RM.js.map +1 -0
- package/lib/chunk-ZZ5BND4W.js +158 -0
- package/lib/chunk-ZZ5BND4W.js.map +1 -0
- package/lib/chunk-ZZOSKORP.cjs +47 -0
- package/lib/chunk-ZZOSKORP.cjs.map +1 -0
- package/lib/client.cjs +3 -3
- package/lib/client.d.cts +3 -1
- package/lib/client.js +2 -2
- package/lib/commercelayer.cjs +9 -9
- package/lib/commercelayer.d.cts +6 -5
- package/lib/commercelayer.d.ts +3 -4
- package/lib/commercelayer.js +5 -5
- package/lib/config.cjs +2 -2
- package/lib/config.js +1 -1
- package/lib/enum.cjs +16 -16
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/enum.js +1 -1
- package/lib/index.cjs +293 -288
- package/lib/index.d.cts +5 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +139 -138
- package/lib/jsonapi.cjs +6 -6
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- package/lib/jsonapi.js +4 -4
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/query.d.cts +1 -1
- package/lib/query.d.ts +1 -1
- package/lib/resource.cjs +9 -9
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resource.js +4 -4
- package/lib/resources/addresses.cjs +6 -6
- package/lib/resources/addresses.d.cts +4 -1
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/addresses.js +5 -5
- package/lib/resources/adjustments.cjs +6 -6
- package/lib/resources/adjustments.d.cts +4 -1
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adjustments.js +5 -5
- package/lib/resources/adyen_gateways.cjs +6 -6
- package/lib/resources/adyen_gateways.d.cts +4 -1
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +5 -5
- package/lib/resources/adyen_payments.cjs +6 -6
- package/lib/resources/adyen_payments.d.cts +4 -1
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +5 -5
- package/lib/resources/applications.cjs +6 -6
- package/lib/resources/applications.d.cts +4 -1
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/applications.js +5 -5
- package/lib/resources/attachments.cjs +6 -6
- package/lib/resources/attachments.d.cts +4 -1
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +5 -5
- package/lib/resources/authorizations.cjs +6 -6
- package/lib/resources/authorizations.d.cts +4 -1
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +5 -5
- package/lib/resources/avalara_accounts.cjs +6 -6
- package/lib/resources/avalara_accounts.d.cts +4 -1
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/avalara_accounts.js +5 -5
- package/lib/resources/axerve_gateways.cjs +6 -6
- package/lib/resources/axerve_gateways.d.cts +4 -1
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_gateways.js +5 -5
- package/lib/resources/axerve_payments.cjs +6 -6
- package/lib/resources/axerve_payments.d.cts +4 -1
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/axerve_payments.js +5 -5
- package/lib/resources/bing_geocoders.cjs +6 -6
- package/lib/resources/bing_geocoders.d.cts +4 -1
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/bing_geocoders.js +5 -5
- package/lib/resources/braintree_gateways.cjs +6 -6
- package/lib/resources/braintree_gateways.d.cts +4 -1
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_gateways.js +5 -5
- package/lib/resources/braintree_payments.cjs +6 -6
- package/lib/resources/braintree_payments.d.cts +4 -1
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/braintree_payments.js +5 -5
- package/lib/resources/bundles.cjs +6 -6
- package/lib/resources/bundles.d.cts +4 -1
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +5 -5
- package/lib/resources/buy_x_pay_y_promotions.cjs +6 -6
- package/lib/resources/buy_x_pay_y_promotions.d.cts +4 -1
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.js +5 -5
- package/lib/resources/captures.cjs +6 -6
- package/lib/resources/captures.d.cts +4 -1
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +5 -5
- package/lib/resources/carrier_accounts.cjs +6 -6
- package/lib/resources/carrier_accounts.d.cts +4 -1
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/carrier_accounts.js +5 -5
- package/lib/resources/checkout_com_gateways.cjs +6 -6
- package/lib/resources/checkout_com_gateways.d.cts +4 -1
- package/lib/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/resources/checkout_com_gateways.js +5 -5
- package/lib/resources/checkout_com_payments.cjs +6 -6
- package/lib/resources/checkout_com_payments.d.cts +4 -1
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/checkout_com_payments.js +5 -5
- package/lib/resources/cleanups.cjs +6 -6
- package/lib/resources/cleanups.d.cts +4 -1
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/cleanups.js +5 -5
- package/lib/resources/coupon_codes_promotion_rules.cjs +6 -6
- package/lib/resources/coupon_codes_promotion_rules.d.cts +4 -1
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.js +5 -5
- package/lib/resources/coupon_recipients.cjs +6 -6
- package/lib/resources/coupon_recipients.d.cts +4 -1
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupon_recipients.js +5 -5
- package/lib/resources/coupons.cjs +6 -6
- package/lib/resources/coupons.d.cts +4 -1
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/coupons.js +5 -5
- package/lib/resources/custom_promotion_rules.cjs +6 -6
- package/lib/resources/custom_promotion_rules.d.cts +4 -1
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.js +5 -5
- package/lib/resources/customer_addresses.cjs +6 -6
- package/lib/resources/customer_addresses.d.cts +4 -1
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_addresses.js +5 -5
- package/lib/resources/customer_groups.cjs +6 -6
- package/lib/resources/customer_groups.d.cts +4 -1
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_groups.js +5 -5
- package/lib/resources/customer_password_resets.cjs +6 -6
- package/lib/resources/customer_password_resets.d.cts +4 -1
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_password_resets.js +5 -5
- package/lib/resources/customer_payment_sources.cjs +6 -6
- package/lib/resources/customer_payment_sources.d.cts +4 -1
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_payment_sources.js +5 -5
- package/lib/resources/customer_subscriptions.cjs +6 -6
- package/lib/resources/customer_subscriptions.d.cts +4 -1
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customer_subscriptions.js +5 -5
- package/lib/resources/customers.cjs +6 -6
- package/lib/resources/customers.d.cts +4 -1
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/customers.js +5 -5
- package/lib/resources/delivery_lead_times.cjs +6 -6
- package/lib/resources/delivery_lead_times.d.cts +4 -1
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/delivery_lead_times.js +5 -5
- package/lib/resources/discount_engine_items.cjs +6 -6
- package/lib/resources/discount_engine_items.d.cts +4 -1
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engine_items.js +5 -5
- package/lib/resources/discount_engines.cjs +6 -6
- package/lib/resources/discount_engines.d.cts +4 -1
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/discount_engines.js +5 -5
- package/lib/resources/easypost_pickups.cjs +6 -6
- package/lib/resources/easypost_pickups.d.cts +4 -1
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/easypost_pickups.js +5 -5
- package/lib/resources/event_callbacks.cjs +6 -6
- package/lib/resources/event_callbacks.d.cts +4 -1
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_callbacks.js +5 -5
- package/lib/resources/event_stores.cjs +20 -0
- package/lib/resources/event_stores.cjs.map +1 -0
- package/lib/resources/event_stores.d.cts +7 -0
- package/lib/resources/event_stores.d.ts +4 -0
- package/lib/resources/event_stores.js +12 -0
- package/lib/resources/event_stores.js.map +1 -0
- package/lib/resources/events.cjs +6 -6
- package/lib/resources/events.d.cts +4 -1
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/events.js +5 -5
- package/lib/resources/exports.cjs +6 -6
- package/lib/resources/exports.d.cts +4 -1
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +5 -5
- package/lib/resources/external_gateways.cjs +6 -6
- package/lib/resources/external_gateways.d.cts +4 -1
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_gateways.js +5 -5
- package/lib/resources/external_payments.cjs +6 -6
- package/lib/resources/external_payments.d.cts +4 -1
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_payments.js +5 -5
- package/lib/resources/external_promotions.cjs +6 -6
- package/lib/resources/external_promotions.d.cts +4 -1
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +5 -5
- package/lib/resources/external_tax_calculators.cjs +6 -6
- package/lib/resources/external_tax_calculators.d.cts +4 -1
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/external_tax_calculators.js +5 -5
- package/lib/resources/fixed_amount_promotions.cjs +6 -6
- package/lib/resources/fixed_amount_promotions.d.cts +4 -1
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.js +5 -5
- package/lib/resources/fixed_price_promotions.cjs +6 -6
- package/lib/resources/fixed_price_promotions.d.cts +4 -1
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.js +5 -5
- package/lib/resources/flex_promotions.cjs +6 -6
- package/lib/resources/flex_promotions.d.cts +4 -1
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +5 -5
- package/lib/resources/free_gift_promotions.cjs +6 -6
- package/lib/resources/free_gift_promotions.d.cts +4 -1
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_gift_promotions.js +5 -5
- package/lib/resources/free_shipping_promotions.cjs +6 -6
- package/lib/resources/free_shipping_promotions.d.cts +4 -1
- package/lib/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.js +5 -5
- package/lib/resources/geocoders.cjs +6 -6
- package/lib/resources/geocoders.d.cts +4 -1
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/geocoders.js +5 -5
- package/lib/resources/gift_card_recipients.cjs +6 -6
- package/lib/resources/gift_card_recipients.d.cts +4 -1
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_card_recipients.js +5 -5
- package/lib/resources/gift_cards.cjs +6 -6
- package/lib/resources/gift_cards.d.cts +4 -1
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/gift_cards.js +5 -5
- package/lib/resources/google_geocoders.cjs +6 -6
- package/lib/resources/google_geocoders.d.cts +4 -1
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/google_geocoders.js +5 -5
- package/lib/resources/imports.cjs +6 -6
- package/lib/resources/imports.d.cts +4 -1
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +5 -5
- package/lib/resources/in_stock_subscriptions.cjs +6 -6
- package/lib/resources/in_stock_subscriptions.d.cts +4 -1
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.js +5 -5
- package/lib/resources/inventory_models.cjs +6 -6
- package/lib/resources/inventory_models.d.cts +4 -1
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_models.js +5 -5
- package/lib/resources/inventory_return_locations.cjs +6 -6
- package/lib/resources/inventory_return_locations.d.cts +4 -1
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_return_locations.js +5 -5
- package/lib/resources/inventory_stock_locations.cjs +6 -6
- package/lib/resources/inventory_stock_locations.d.cts +4 -1
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.js +5 -5
- package/lib/resources/klarna_gateways.cjs +6 -6
- package/lib/resources/klarna_gateways.d.cts +4 -1
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_gateways.js +5 -5
- package/lib/resources/klarna_payments.cjs +6 -6
- package/lib/resources/klarna_payments.d.cts +4 -1
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/klarna_payments.js +5 -5
- package/lib/resources/line_item_options.cjs +6 -6
- package/lib/resources/line_item_options.d.cts +4 -1
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_item_options.js +5 -5
- package/lib/resources/line_items.cjs +6 -6
- package/lib/resources/line_items.d.cts +4 -1
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +5 -5
- package/lib/resources/links.cjs +6 -6
- package/lib/resources/links.d.cts +4 -1
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/links.js +5 -5
- package/lib/resources/manual_gateways.cjs +6 -6
- package/lib/resources/manual_gateways.d.cts +4 -1
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_gateways.js +5 -5
- package/lib/resources/manual_tax_calculators.cjs +6 -6
- package/lib/resources/manual_tax_calculators.d.cts +4 -1
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.js +5 -5
- package/lib/resources/markets.cjs +6 -6
- package/lib/resources/markets.d.cts +4 -1
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/markets.js +5 -5
- package/lib/resources/merchants.cjs +6 -6
- package/lib/resources/merchants.d.cts +4 -1
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/merchants.js +5 -5
- package/lib/resources/notifications.cjs +6 -6
- package/lib/resources/notifications.d.cts +4 -1
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/notifications.js +5 -5
- package/lib/resources/order_amount_promotion_rules.cjs +6 -6
- package/lib/resources/order_amount_promotion_rules.d.cts +4 -1
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/resources/order_amount_promotion_rules.js +5 -5
- package/lib/resources/order_copies.cjs +6 -6
- package/lib/resources/order_copies.d.cts +4 -1
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_copies.js +5 -5
- package/lib/resources/order_factories.cjs +6 -6
- package/lib/resources/order_factories.d.cts +4 -1
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_factories.js +5 -5
- package/lib/resources/order_subscription_items.cjs +6 -6
- package/lib/resources/order_subscription_items.d.cts +4 -1
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscription_items.js +5 -5
- package/lib/resources/order_subscriptions.cjs +6 -6
- package/lib/resources/order_subscriptions.d.cts +4 -1
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/order_subscriptions.js +5 -5
- package/lib/resources/orders.cjs +6 -6
- package/lib/resources/orders.d.cts +4 -1
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +5 -5
- package/lib/resources/organizations.cjs +6 -6
- package/lib/resources/organizations.d.cts +4 -1
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +5 -5
- package/lib/resources/packages.cjs +6 -6
- package/lib/resources/packages.d.cts +4 -1
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/packages.js +5 -5
- package/lib/resources/parcel_line_items.cjs +6 -6
- package/lib/resources/parcel_line_items.d.cts +4 -1
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcel_line_items.js +5 -5
- package/lib/resources/parcels.cjs +6 -6
- package/lib/resources/parcels.d.cts +4 -1
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/parcels.js +5 -5
- package/lib/resources/payment_gateways.cjs +6 -6
- package/lib/resources/payment_gateways.d.cts +4 -1
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_gateways.js +5 -5
- package/lib/resources/payment_methods.cjs +6 -6
- package/lib/resources/payment_methods.d.cts +4 -1
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_methods.js +5 -5
- package/lib/resources/payment_options.cjs +6 -6
- package/lib/resources/payment_options.d.cts +4 -1
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/payment_options.js +5 -5
- package/lib/resources/paypal_gateways.cjs +6 -6
- package/lib/resources/paypal_gateways.d.cts +4 -1
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_gateways.js +5 -5
- package/lib/resources/paypal_payments.cjs +6 -6
- package/lib/resources/paypal_payments.d.cts +4 -1
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/paypal_payments.js +5 -5
- package/lib/resources/percentage_discount_promotions.cjs +6 -6
- package/lib/resources/percentage_discount_promotions.d.cts +4 -1
- package/lib/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.js +5 -5
- package/lib/resources/pickups.cjs +6 -6
- package/lib/resources/pickups.d.cts +4 -1
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/pickups.js +5 -5
- package/lib/resources/price_frequency_tiers.cjs +6 -6
- package/lib/resources/price_frequency_tiers.d.cts +4 -1
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.js +5 -5
- package/lib/resources/price_list_schedulers.cjs +6 -6
- package/lib/resources/price_list_schedulers.d.cts +4 -1
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.js +5 -5
- package/lib/resources/price_lists.cjs +6 -6
- package/lib/resources/price_lists.d.cts +4 -1
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +5 -5
- package/lib/resources/price_tiers.cjs +6 -6
- package/lib/resources/price_tiers.d.cts +4 -1
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_tiers.js +5 -5
- package/lib/resources/price_volume_tiers.cjs +6 -6
- package/lib/resources/price_volume_tiers.d.cts +4 -1
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.js +5 -5
- package/lib/resources/prices.cjs +6 -6
- package/lib/resources/prices.d.cts +4 -1
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +5 -5
- package/lib/resources/promotion_rules.cjs +6 -6
- package/lib/resources/promotion_rules.d.cts +4 -1
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotion_rules.js +5 -5
- package/lib/resources/promotions.cjs +6 -6
- package/lib/resources/promotions.d.cts +4 -1
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +5 -5
- package/lib/resources/recurring_order_copies.cjs +6 -6
- package/lib/resources/recurring_order_copies.d.cts +4 -1
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/recurring_order_copies.js +5 -5
- package/lib/resources/refunds.cjs +6 -6
- package/lib/resources/refunds.d.cts +4 -1
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +5 -5
- package/lib/resources/reserved_stocks.cjs +6 -6
- package/lib/resources/reserved_stocks.d.cts +4 -1
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/reserved_stocks.js +5 -5
- package/lib/resources/resource_errors.cjs +6 -6
- package/lib/resources/resource_errors.d.cts +4 -1
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/resource_errors.js +5 -5
- package/lib/resources/return_line_items.cjs +6 -6
- package/lib/resources/return_line_items.d.cts +4 -1
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/return_line_items.js +5 -5
- package/lib/resources/returns.cjs +6 -6
- package/lib/resources/returns.d.cts +4 -1
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/returns.js +5 -5
- package/lib/resources/satispay_gateways.cjs +6 -6
- package/lib/resources/satispay_gateways.d.cts +4 -1
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_gateways.js +5 -5
- package/lib/resources/satispay_payments.cjs +6 -6
- package/lib/resources/satispay_payments.d.cts +4 -1
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +5 -5
- package/lib/resources/shipments.cjs +6 -6
- package/lib/resources/shipments.d.cts +4 -1
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +5 -5
- package/lib/resources/shipping_categories.cjs +6 -6
- package/lib/resources/shipping_categories.d.cts +4 -1
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_categories.js +5 -5
- package/lib/resources/shipping_method_tiers.cjs +6 -6
- package/lib/resources/shipping_method_tiers.d.cts +4 -1
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.js +5 -5
- package/lib/resources/shipping_methods.cjs +6 -6
- package/lib/resources/shipping_methods.d.cts +4 -1
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_methods.js +5 -5
- package/lib/resources/shipping_weight_tiers.cjs +6 -6
- package/lib/resources/shipping_weight_tiers.d.cts +4 -1
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.js +5 -5
- package/lib/resources/shipping_zones.cjs +6 -6
- package/lib/resources/shipping_zones.d.cts +4 -1
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/shipping_zones.js +5 -5
- package/lib/resources/sku_list_items.cjs +6 -6
- package/lib/resources/sku_list_items.d.cts +4 -1
- package/lib/resources/sku_list_items.d.ts +1 -1
- package/lib/resources/sku_list_items.js +5 -5
- package/lib/resources/sku_list_promotion_rules.cjs +6 -6
- package/lib/resources/sku_list_promotion_rules.d.cts +4 -1
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_list_promotion_rules.js +5 -5
- package/lib/resources/sku_lists.cjs +6 -6
- package/lib/resources/sku_lists.d.cts +4 -1
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_lists.js +5 -5
- package/lib/resources/sku_options.cjs +6 -6
- package/lib/resources/sku_options.d.cts +4 -1
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/sku_options.js +5 -5
- package/lib/resources/skus.cjs +6 -6
- package/lib/resources/skus.d.cts +4 -1
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +5 -5
- package/lib/resources/stock_items.cjs +6 -6
- package/lib/resources/stock_items.d.cts +4 -1
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_items.js +5 -5
- package/lib/resources/stock_line_items.cjs +6 -6
- package/lib/resources/stock_line_items.d.cts +4 -1
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_line_items.js +5 -5
- package/lib/resources/stock_locations.cjs +6 -6
- package/lib/resources/stock_locations.d.cts +4 -1
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_locations.js +5 -5
- package/lib/resources/stock_reservations.cjs +6 -6
- package/lib/resources/stock_reservations.d.cts +4 -1
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_reservations.js +5 -5
- package/lib/resources/stock_transfers.cjs +6 -6
- package/lib/resources/stock_transfers.d.cts +4 -1
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stock_transfers.js +5 -5
- package/lib/resources/stores.cjs +6 -6
- package/lib/resources/stores.d.cts +4 -1
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stores.js +5 -5
- package/lib/resources/stripe_gateways.cjs +6 -6
- package/lib/resources/stripe_gateways.d.cts +4 -1
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_gateways.js +5 -5
- package/lib/resources/stripe_payments.cjs +6 -6
- package/lib/resources/stripe_payments.d.cts +4 -1
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_payments.js +5 -5
- package/lib/resources/stripe_tax_accounts.cjs +6 -6
- package/lib/resources/stripe_tax_accounts.d.cts +4 -1
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.js +5 -5
- package/lib/resources/subscription_models.cjs +6 -6
- package/lib/resources/subscription_models.d.cts +4 -1
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/subscription_models.js +5 -5
- package/lib/resources/tags.cjs +6 -6
- package/lib/resources/tags.d.cts +4 -1
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/tags.js +5 -5
- package/lib/resources/talon_one_accounts.cjs +6 -6
- package/lib/resources/talon_one_accounts.d.cts +4 -1
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/talon_one_accounts.js +5 -5
- package/lib/resources/tax_calculators.cjs +6 -6
- package/lib/resources/tax_calculators.d.cts +4 -1
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_calculators.js +5 -5
- package/lib/resources/tax_categories.cjs +6 -6
- package/lib/resources/tax_categories.d.cts +4 -1
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_categories.js +5 -5
- package/lib/resources/tax_rules.cjs +6 -6
- package/lib/resources/tax_rules.d.cts +4 -1
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/tax_rules.js +5 -5
- package/lib/resources/taxjar_accounts.cjs +6 -6
- package/lib/resources/taxjar_accounts.d.cts +4 -1
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/taxjar_accounts.js +5 -5
- package/lib/resources/transactions.cjs +6 -6
- package/lib/resources/transactions.d.cts +4 -1
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +5 -5
- package/lib/resources/versions.cjs +6 -6
- package/lib/resources/versions.d.cts +4 -1
- package/lib/resources/versions.d.ts +1 -1
- package/lib/resources/versions.js +5 -5
- package/lib/resources/vertex_accounts.cjs +6 -6
- package/lib/resources/vertex_accounts.d.cts +4 -1
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +5 -5
- package/lib/resources/voids.cjs +6 -6
- package/lib/resources/voids.d.cts +4 -1
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +5 -5
- package/lib/resources/webhooks.cjs +6 -6
- package/lib/resources/webhooks.d.cts +4 -1
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/webhooks.js +5 -5
- package/lib/resources/wire_transfers.cjs +6 -6
- package/lib/resources/wire_transfers.d.cts +4 -1
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/resources/wire_transfers.js +5 -5
- package/lib/static.cjs +7 -7
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +6 -6
- package/package.json +11 -11
- package/lib/api-CL2USQbG.d.cts +0 -17220
- package/lib/api-DFDuF5Xh.d.ts +0 -17220
- package/lib/chunk-2AFNQJXP.cjs +0 -61
- package/lib/chunk-2AFNQJXP.cjs.map +0 -1
- package/lib/chunk-2AMKJ6V7.cjs +0 -47
- package/lib/chunk-2AMKJ6V7.cjs.map +0 -1
- package/lib/chunk-2HLQW5MF.cjs +0 -59
- package/lib/chunk-2HLQW5MF.cjs.map +0 -1
- package/lib/chunk-2HPO4UZA.cjs +0 -51
- package/lib/chunk-2HPO4UZA.cjs.map +0 -1
- package/lib/chunk-2JOYLKTP.cjs +0 -42
- package/lib/chunk-2JOYLKTP.cjs.map +0 -1
- package/lib/chunk-2KKHO6QF.js +0 -59
- package/lib/chunk-2KKHO6QF.js.map +0 -1
- package/lib/chunk-2L2ZM3VD.js +0 -33
- package/lib/chunk-2L2ZM3VD.js.map +0 -1
- package/lib/chunk-2P6AFRJL.js +0 -44
- package/lib/chunk-2P6AFRJL.js.map +0 -1
- package/lib/chunk-2PYM3QGA.js +0 -45
- package/lib/chunk-2PYM3QGA.js.map +0 -1
- package/lib/chunk-2THU5NEW.cjs +0 -47
- package/lib/chunk-2THU5NEW.cjs.map +0 -1
- package/lib/chunk-2XGMKMF5.cjs +0 -51
- package/lib/chunk-2XGMKMF5.cjs.map +0 -1
- package/lib/chunk-34H2NFDA.js +0 -52
- package/lib/chunk-34H2NFDA.js.map +0 -1
- package/lib/chunk-35OHXDG3.cjs +0 -156
- package/lib/chunk-35OHXDG3.cjs.map +0 -1
- package/lib/chunk-3ADITMLN.cjs +0 -62
- package/lib/chunk-3ADITMLN.cjs.map +0 -1
- package/lib/chunk-3ANXNJ6U.cjs +0 -51
- package/lib/chunk-3ANXNJ6U.cjs.map +0 -1
- package/lib/chunk-3AOPII3W.js +0 -65
- package/lib/chunk-3AOPII3W.js.map +0 -1
- package/lib/chunk-3DFZ5QLR.js +0 -61
- package/lib/chunk-3DFZ5QLR.js.map +0 -1
- package/lib/chunk-3EX76AZW.js +0 -3
- package/lib/chunk-3EX76AZW.js.map +0 -1
- package/lib/chunk-3I5BJF3J.js +0 -45
- package/lib/chunk-3I5BJF3J.js.map +0 -1
- package/lib/chunk-3N2MNKA3.js +0 -54
- package/lib/chunk-3N2MNKA3.js.map +0 -1
- package/lib/chunk-3NWQH32A.js +0 -36
- package/lib/chunk-3NWQH32A.js.map +0 -1
- package/lib/chunk-3OBFBFUV.js +0 -45
- package/lib/chunk-3OBFBFUV.js.map +0 -1
- package/lib/chunk-3PVKJIA3.js +0 -40
- package/lib/chunk-3PVKJIA3.js.map +0 -1
- package/lib/chunk-3RR27O3T.js +0 -45
- package/lib/chunk-3RR27O3T.js.map +0 -1
- package/lib/chunk-3TGZNMLP.cjs +0 -38
- package/lib/chunk-3TGZNMLP.cjs.map +0 -1
- package/lib/chunk-3URHH3S6.js +0 -43
- package/lib/chunk-3URHH3S6.js.map +0 -1
- package/lib/chunk-3WKN5OCU.cjs +0 -47
- package/lib/chunk-3WKN5OCU.cjs.map +0 -1
- package/lib/chunk-3XWE56FL.cjs +0 -101
- package/lib/chunk-3XWE56FL.cjs.map +0 -1
- package/lib/chunk-42DT6ZET.cjs +0 -47
- package/lib/chunk-42DT6ZET.cjs.map +0 -1
- package/lib/chunk-432EXURP.js +0 -41
- package/lib/chunk-432EXURP.js.map +0 -1
- package/lib/chunk-465K3KVE.js +0 -49
- package/lib/chunk-465K3KVE.js.map +0 -1
- package/lib/chunk-4IH4EHXT.cjs +0 -69
- package/lib/chunk-4IH4EHXT.cjs.map +0 -1
- package/lib/chunk-4KFJUIFD.js +0 -45
- package/lib/chunk-4KFJUIFD.js.map +0 -1
- package/lib/chunk-4KO5LZ7F.js +0 -45
- package/lib/chunk-4KO5LZ7F.js.map +0 -1
- package/lib/chunk-4L4MGCUZ.js +0 -45
- package/lib/chunk-4L4MGCUZ.js.map +0 -1
- package/lib/chunk-4L73LJKG.js +0 -41
- package/lib/chunk-4L73LJKG.js.map +0 -1
- package/lib/chunk-4SCFKFIM.cjs +0 -38
- package/lib/chunk-4SCFKFIM.cjs.map +0 -1
- package/lib/chunk-57XXD3GQ.cjs +0 -50
- package/lib/chunk-57XXD3GQ.cjs.map +0 -1
- package/lib/chunk-5EXCGVF2.cjs +0 -47
- package/lib/chunk-5EXCGVF2.cjs.map +0 -1
- package/lib/chunk-5FZNBGAF.cjs +0 -38
- package/lib/chunk-5FZNBGAF.cjs.map +0 -1
- package/lib/chunk-5OQQBNVB.js +0 -49
- package/lib/chunk-5OQQBNVB.js.map +0 -1
- package/lib/chunk-5P5Z7NXC.js +0 -49
- package/lib/chunk-5P5Z7NXC.js.map +0 -1
- package/lib/chunk-5R76TU4I.cjs +0 -52
- package/lib/chunk-5R76TU4I.cjs.map +0 -1
- package/lib/chunk-5YMHXTJG.cjs +0 -4
- package/lib/chunk-5YMHXTJG.cjs.map +0 -1
- package/lib/chunk-627I2FYX.cjs +0 -47
- package/lib/chunk-627I2FYX.cjs.map +0 -1
- package/lib/chunk-66JDSPFD.cjs +0 -51
- package/lib/chunk-66JDSPFD.cjs.map +0 -1
- package/lib/chunk-67QVA2J3.cjs +0 -34
- package/lib/chunk-67QVA2J3.cjs.map +0 -1
- package/lib/chunk-6AJSOS56.cjs +0 -75
- package/lib/chunk-6AJSOS56.cjs.map +0 -1
- package/lib/chunk-6B66AQKB.cjs +0 -45
- package/lib/chunk-6B66AQKB.cjs.map +0 -1
- package/lib/chunk-6EDJTG3X.cjs +0 -50
- package/lib/chunk-6EDJTG3X.cjs.map +0 -1
- package/lib/chunk-6OHA2TO3.cjs +0 -61
- package/lib/chunk-6OHA2TO3.cjs.map +0 -1
- package/lib/chunk-6PWK52UZ.cjs +0 -70
- package/lib/chunk-6PWK52UZ.cjs.map +0 -1
- package/lib/chunk-6SCAIB4K.cjs +0 -43
- package/lib/chunk-6SCAIB4K.cjs.map +0 -1
- package/lib/chunk-6SOWFGBP.cjs +0 -63
- package/lib/chunk-6SOWFGBP.cjs.map +0 -1
- package/lib/chunk-7CQTUOR4.cjs +0 -42
- package/lib/chunk-7CQTUOR4.cjs.map +0 -1
- package/lib/chunk-7GVHCOUC.js +0 -73
- package/lib/chunk-7GVHCOUC.js.map +0 -1
- package/lib/chunk-7ISS2FDY.js +0 -93
- package/lib/chunk-7ISS2FDY.js.map +0 -1
- package/lib/chunk-7JLRB7QH.js +0 -24
- package/lib/chunk-7JLRB7QH.js.map +0 -1
- package/lib/chunk-7SG4WU7W.js +0 -45
- package/lib/chunk-7SG4WU7W.js.map +0 -1
- package/lib/chunk-7SZY5BWE.js +0 -45
- package/lib/chunk-7SZY5BWE.js.map +0 -1
- package/lib/chunk-7VSYXEXL.js +0 -59
- package/lib/chunk-7VSYXEXL.js.map +0 -1
- package/lib/chunk-7X36B7N6.js +0 -27
- package/lib/chunk-7X36B7N6.js.map +0 -1
- package/lib/chunk-7Z2U4MHU.cjs +0 -52
- package/lib/chunk-7Z2U4MHU.cjs.map +0 -1
- package/lib/chunk-A6BT5FSV.cjs +0 -43
- package/lib/chunk-A6BT5FSV.cjs.map +0 -1
- package/lib/chunk-A6ZDNNYD.js +0 -51
- package/lib/chunk-A6ZDNNYD.js.map +0 -1
- package/lib/chunk-A7BEMDVP.cjs +0 -55
- package/lib/chunk-A7BEMDVP.cjs.map +0 -1
- package/lib/chunk-AD73LDFJ.cjs +0 -43
- package/lib/chunk-AD73LDFJ.cjs.map +0 -1
- package/lib/chunk-AIGQRBCY.cjs +0 -47
- package/lib/chunk-AIGQRBCY.cjs.map +0 -1
- package/lib/chunk-ANCLAYJV.cjs +0 -98
- package/lib/chunk-ANCLAYJV.cjs.map +0 -1
- package/lib/chunk-AQFAND5D.cjs +0 -282
- package/lib/chunk-AQFAND5D.cjs.map +0 -1
- package/lib/chunk-ARIBIRKF.cjs +0 -47
- package/lib/chunk-ARIBIRKF.cjs.map +0 -1
- package/lib/chunk-AW3TRBZ7.js +0 -44
- package/lib/chunk-AW3TRBZ7.js.map +0 -1
- package/lib/chunk-AYTBSAHY.js +0 -20
- package/lib/chunk-AYTBSAHY.js.map +0 -1
- package/lib/chunk-B72FREUL.cjs +0 -57
- package/lib/chunk-B72FREUL.cjs.map +0 -1
- package/lib/chunk-BBEMCANC.cjs +0 -95
- package/lib/chunk-BBEMCANC.cjs.map +0 -1
- package/lib/chunk-BF7OPORP.js +0 -69
- package/lib/chunk-BF7OPORP.js.map +0 -1
- package/lib/chunk-BN6XJAZH.cjs +0 -43
- package/lib/chunk-BN6XJAZH.cjs.map +0 -1
- package/lib/chunk-BTAKU6V5.cjs +0 -42
- package/lib/chunk-BTAKU6V5.cjs.map +0 -1
- package/lib/chunk-BYRFMGBQ.js +0 -105
- package/lib/chunk-BYRFMGBQ.js.map +0 -1
- package/lib/chunk-CG2ACHGS.js +0 -45
- package/lib/chunk-CG2ACHGS.js.map +0 -1
- package/lib/chunk-CK6RZLVM.cjs +0 -47
- package/lib/chunk-CK6RZLVM.cjs.map +0 -1
- package/lib/chunk-CNCZCBI3.js +0 -99
- package/lib/chunk-CNCZCBI3.js.map +0 -1
- package/lib/chunk-CRRYP7ZN.js +0 -45
- package/lib/chunk-CRRYP7ZN.js.map +0 -1
- package/lib/chunk-CTXBUDGO.cjs +0 -39
- package/lib/chunk-CTXBUDGO.cjs.map +0 -1
- package/lib/chunk-CUNOMS5N.js +0 -40
- package/lib/chunk-CUNOMS5N.js.map +0 -1
- package/lib/chunk-D26KDUDM.cjs +0 -47
- package/lib/chunk-D26KDUDM.cjs.map +0 -1
- package/lib/chunk-D5E4OGXU.js +0 -49
- package/lib/chunk-D5E4OGXU.js.map +0 -1
- package/lib/chunk-D7KNSKNJ.js +0 -55
- package/lib/chunk-D7KNSKNJ.js.map +0 -1
- package/lib/chunk-DAXKXBA3.js +0 -48
- package/lib/chunk-DAXKXBA3.js.map +0 -1
- package/lib/chunk-DJ572MZB.cjs +0 -50
- package/lib/chunk-DJ572MZB.cjs.map +0 -1
- package/lib/chunk-DOFPDQMJ.cjs +0 -56
- package/lib/chunk-DOFPDQMJ.cjs.map +0 -1
- package/lib/chunk-DOGEZ6XX.cjs +0 -46
- package/lib/chunk-DOGEZ6XX.cjs.map +0 -1
- package/lib/chunk-DSKZRVXS.js +0 -28
- package/lib/chunk-DSKZRVXS.js.map +0 -1
- package/lib/chunk-DTGODPCN.js +0 -93
- package/lib/chunk-DTGODPCN.js.map +0 -1
- package/lib/chunk-DYZGWPZ6.js +0 -33
- package/lib/chunk-DYZGWPZ6.js.map +0 -1
- package/lib/chunk-E3FDHGI7.js +0 -36
- package/lib/chunk-E3FDHGI7.js.map +0 -1
- package/lib/chunk-E4DYW6HB.cjs +0 -42
- package/lib/chunk-E4DYW6HB.cjs.map +0 -1
- package/lib/chunk-E6TBQVLK.cjs +0 -39
- package/lib/chunk-E6TBQVLK.cjs.map +0 -1
- package/lib/chunk-EADFDBOR.cjs +0 -46
- package/lib/chunk-EADFDBOR.cjs.map +0 -1
- package/lib/chunk-ECMCBU3N.js +0 -53
- package/lib/chunk-ECMCBU3N.js.map +0 -1
- package/lib/chunk-EEFOL62K.js +0 -36
- package/lib/chunk-EEFOL62K.js.map +0 -1
- package/lib/chunk-EHWAGYNX.js +0 -68
- package/lib/chunk-EHWAGYNX.js.map +0 -1
- package/lib/chunk-EKGR3EB3.js +0 -82
- package/lib/chunk-EKGR3EB3.js.map +0 -1
- package/lib/chunk-ELBOXOTA.js +0 -28
- package/lib/chunk-ELBOXOTA.js.map +0 -1
- package/lib/chunk-EP22KKHR.js +0 -48
- package/lib/chunk-EP22KKHR.js.map +0 -1
- package/lib/chunk-EP7MAEQH.cjs +0 -47
- package/lib/chunk-EP7MAEQH.cjs.map +0 -1
- package/lib/chunk-EQD223JW.cjs +0 -95
- package/lib/chunk-EQD223JW.cjs.map +0 -1
- package/lib/chunk-F6MSHDB7.cjs +0 -47
- package/lib/chunk-F6MSHDB7.cjs.map +0 -1
- package/lib/chunk-FAU5EILL.js +0 -61
- package/lib/chunk-FAU5EILL.js.map +0 -1
- package/lib/chunk-FSFXOZ35.cjs +0 -47
- package/lib/chunk-FSFXOZ35.cjs.map +0 -1
- package/lib/chunk-FTAZDUH6.js +0 -99
- package/lib/chunk-FTAZDUH6.js.map +0 -1
- package/lib/chunk-FVJDRHG7.js +0 -48
- package/lib/chunk-FVJDRHG7.js.map +0 -1
- package/lib/chunk-FXE62CPP.cjs +0 -46
- package/lib/chunk-FXE62CPP.cjs.map +0 -1
- package/lib/chunk-FYKIHWAM.cjs +0 -77
- package/lib/chunk-FYKIHWAM.cjs.map +0 -1
- package/lib/chunk-G74OZ4M6.js +0 -45
- package/lib/chunk-G74OZ4M6.js.map +0 -1
- package/lib/chunk-GD4WRDF2.js +0 -644
- package/lib/chunk-GD4WRDF2.js.map +0 -1
- package/lib/chunk-GE6OHQR6.cjs +0 -89
- package/lib/chunk-GE6OHQR6.cjs.map +0 -1
- package/lib/chunk-GHLCA7BX.js +0 -53
- package/lib/chunk-GHLCA7BX.js.map +0 -1
- package/lib/chunk-GLSPCG3M.cjs +0 -46
- package/lib/chunk-GLSPCG3M.cjs.map +0 -1
- package/lib/chunk-H2USYPU6.js +0 -49
- package/lib/chunk-H2USYPU6.js.map +0 -1
- package/lib/chunk-H4PUXGNI.cjs +0 -47
- package/lib/chunk-H4PUXGNI.cjs.map +0 -1
- package/lib/chunk-H4SVEI6E.js +0 -151
- package/lib/chunk-H4SVEI6E.js.map +0 -1
- package/lib/chunk-HAAE23MQ.js +0 -93
- package/lib/chunk-HAAE23MQ.js.map +0 -1
- package/lib/chunk-HBUDZOK7.cjs +0 -55
- package/lib/chunk-HBUDZOK7.cjs.map +0 -1
- package/lib/chunk-HCBXRHD7.js +0 -45
- package/lib/chunk-HCBXRHD7.js.map +0 -1
- package/lib/chunk-HDYENVKD.js +0 -45
- package/lib/chunk-HDYENVKD.js.map +0 -1
- package/lib/chunk-HLCGKY7R.js +0 -59
- package/lib/chunk-HLCGKY7R.js.map +0 -1
- package/lib/chunk-HNHF6T2I.cjs +0 -54
- package/lib/chunk-HNHF6T2I.cjs.map +0 -1
- package/lib/chunk-HQ35KQFG.cjs +0 -86
- package/lib/chunk-HQ35KQFG.cjs.map +0 -1
- package/lib/chunk-HQ5STEMD.js +0 -55
- package/lib/chunk-HQ5STEMD.js.map +0 -1
- package/lib/chunk-HQ6TJSB7.cjs +0 -51
- package/lib/chunk-HQ6TJSB7.cjs.map +0 -1
- package/lib/chunk-HSILJQCD.js +0 -93
- package/lib/chunk-HSILJQCD.js.map +0 -1
- package/lib/chunk-I3SKGXTB.cjs +0 -26
- package/lib/chunk-I3SKGXTB.cjs.map +0 -1
- package/lib/chunk-IDAOX5RB.cjs +0 -95
- package/lib/chunk-IDAOX5RB.cjs.map +0 -1
- package/lib/chunk-IITNQS6D.js +0 -49
- package/lib/chunk-IITNQS6D.js.map +0 -1
- package/lib/chunk-IKENWSRH.cjs +0 -126
- package/lib/chunk-IKENWSRH.cjs.map +0 -1
- package/lib/chunk-INJ7FRDA.cjs +0 -55
- package/lib/chunk-INJ7FRDA.cjs.map +0 -1
- package/lib/chunk-INZD34YD.cjs +0 -91
- package/lib/chunk-INZD34YD.cjs.map +0 -1
- package/lib/chunk-J4CTOHX6.cjs +0 -68
- package/lib/chunk-J4CTOHX6.cjs.map +0 -1
- package/lib/chunk-J6NBJHWL.cjs +0 -101
- package/lib/chunk-J6NBJHWL.cjs.map +0 -1
- package/lib/chunk-J6PTNG3D.js +0 -280
- package/lib/chunk-J6PTNG3D.js.map +0 -1
- package/lib/chunk-J7ZSBB35.js +0 -45
- package/lib/chunk-J7ZSBB35.js.map +0 -1
- package/lib/chunk-JAQECLCE.js +0 -41
- package/lib/chunk-JAQECLCE.js.map +0 -1
- package/lib/chunk-JECYKPCC.cjs +0 -30
- package/lib/chunk-JECYKPCC.cjs.map +0 -1
- package/lib/chunk-JENLN6VJ.js +0 -51
- package/lib/chunk-JENLN6VJ.js.map +0 -1
- package/lib/chunk-JN4JL4WT.cjs +0 -75
- package/lib/chunk-JN4JL4WT.cjs.map +0 -1
- package/lib/chunk-JPUF5YXX.js +0 -37
- package/lib/chunk-JPUF5YXX.js.map +0 -1
- package/lib/chunk-JRTJ6LWK.js +0 -53
- package/lib/chunk-JRTJ6LWK.js.map +0 -1
- package/lib/chunk-JT7HVLLW.cjs +0 -57
- package/lib/chunk-JT7HVLLW.cjs.map +0 -1
- package/lib/chunk-JWC2GSYH.cjs +0 -47
- package/lib/chunk-JWC2GSYH.cjs.map +0 -1
- package/lib/chunk-JYOFP6BM.js +0 -87
- package/lib/chunk-JYOFP6BM.js.map +0 -1
- package/lib/chunk-JYXAF775.js +0 -49
- package/lib/chunk-JYXAF775.js.map +0 -1
- package/lib/chunk-K2CU5HIV.js +0 -66
- package/lib/chunk-K2CU5HIV.js.map +0 -1
- package/lib/chunk-K6WSCQKS.cjs +0 -53
- package/lib/chunk-K6WSCQKS.cjs.map +0 -1
- package/lib/chunk-KH5OQRQL.js +0 -38
- package/lib/chunk-KH5OQRQL.js.map +0 -1
- package/lib/chunk-KHMCPH47.cjs +0 -53
- package/lib/chunk-KHMCPH47.cjs.map +0 -1
- package/lib/chunk-KWRDUU7K.js +0 -45
- package/lib/chunk-KWRDUU7K.js.map +0 -1
- package/lib/chunk-L4LPS3DV.cjs +0 -47
- package/lib/chunk-L4LPS3DV.cjs.map +0 -1
- package/lib/chunk-L4TDKOAC.js +0 -32
- package/lib/chunk-L4TDKOAC.js.map +0 -1
- package/lib/chunk-L5NEDGXK.js +0 -124
- package/lib/chunk-L5NEDGXK.js.map +0 -1
- package/lib/chunk-L6IGO47T.js +0 -59
- package/lib/chunk-L6IGO47T.js.map +0 -1
- package/lib/chunk-LCLXLB2R.cjs +0 -53
- package/lib/chunk-LCLXLB2R.cjs.map +0 -1
- package/lib/chunk-LCNT6GY3.js +0 -45
- package/lib/chunk-LCNT6GY3.js.map +0 -1
- package/lib/chunk-LEWK7QET.cjs +0 -61
- package/lib/chunk-LEWK7QET.cjs.map +0 -1
- package/lib/chunk-LIT4FEIU.cjs +0 -47
- package/lib/chunk-LIT4FEIU.cjs.map +0 -1
- package/lib/chunk-LJ2EP6AL.cjs +0 -42
- package/lib/chunk-LJ2EP6AL.cjs.map +0 -1
- package/lib/chunk-LNMY5BDT.js +0 -33
- package/lib/chunk-LNMY5BDT.js.map +0 -1
- package/lib/chunk-LTLMRGB7.js +0 -45
- package/lib/chunk-LTLMRGB7.js.map +0 -1
- package/lib/chunk-M2ZERG2X.cjs +0 -95
- package/lib/chunk-M2ZERG2X.cjs.map +0 -1
- package/lib/chunk-MADGMICB.js +0 -45
- package/lib/chunk-MADGMICB.js.map +0 -1
- package/lib/chunk-MJRMRWP3.js +0 -67
- package/lib/chunk-MJRMRWP3.js.map +0 -1
- package/lib/chunk-MPSHBMZS.js +0 -93
- package/lib/chunk-MPSHBMZS.js.map +0 -1
- package/lib/chunk-MQZSDICO.cjs +0 -38
- package/lib/chunk-MQZSDICO.cjs.map +0 -1
- package/lib/chunk-MUPRLXGP.js +0 -48
- package/lib/chunk-MUPRLXGP.js.map +0 -1
- package/lib/chunk-MWYBER5I.cjs +0 -50
- package/lib/chunk-MWYBER5I.cjs.map +0 -1
- package/lib/chunk-MZNHRIXE.js +0 -41
- package/lib/chunk-MZNHRIXE.js.map +0 -1
- package/lib/chunk-N4P7A3RY.js +0 -64
- package/lib/chunk-N4P7A3RY.js.map +0 -1
- package/lib/chunk-N6MHUHGE.cjs +0 -95
- package/lib/chunk-N6MHUHGE.cjs.map +0 -1
- package/lib/chunk-N753UD4K.cjs +0 -22
- package/lib/chunk-N753UD4K.cjs.map +0 -1
- package/lib/chunk-NAWKHFBZ.js +0 -274
- package/lib/chunk-NAWKHFBZ.js.map +0 -1
- package/lib/chunk-NBYV35R4.cjs +0 -47
- package/lib/chunk-NBYV35R4.cjs.map +0 -1
- package/lib/chunk-NDPDO54G.js +0 -45
- package/lib/chunk-NDPDO54G.js.map +0 -1
- package/lib/chunk-NEC22ZSI.cjs +0 -47
- package/lib/chunk-NEC22ZSI.cjs.map +0 -1
- package/lib/chunk-NJQDJCFB.cjs +0 -71
- package/lib/chunk-NJQDJCFB.cjs.map +0 -1
- package/lib/chunk-NJYMO7FP.cjs +0 -51
- package/lib/chunk-NJYMO7FP.cjs.map +0 -1
- package/lib/chunk-NKJBVNTV.cjs +0 -103
- package/lib/chunk-NKJBVNTV.cjs.map +0 -1
- package/lib/chunk-NMVACSMG.js +0 -84
- package/lib/chunk-NMVACSMG.js.map +0 -1
- package/lib/chunk-NODKE6P4.js +0 -154
- package/lib/chunk-NODKE6P4.js.map +0 -1
- package/lib/chunk-OGLS27LJ.js +0 -45
- package/lib/chunk-OGLS27LJ.js.map +0 -1
- package/lib/chunk-OPQJPXLM.cjs +0 -43
- package/lib/chunk-OPQJPXLM.cjs.map +0 -1
- package/lib/chunk-OYFNK2SE.cjs +0 -38
- package/lib/chunk-OYFNK2SE.cjs.map +0 -1
- package/lib/chunk-P3NADEGE.cjs +0 -29
- package/lib/chunk-P3NADEGE.cjs.map +0 -1
- package/lib/chunk-PEU5GGGE.js +0 -52
- package/lib/chunk-PEU5GGGE.js.map +0 -1
- package/lib/chunk-PNSVP3KP.cjs +0 -54
- package/lib/chunk-PNSVP3KP.cjs.map +0 -1
- package/lib/chunk-PQS6KXZ2.cjs +0 -35
- package/lib/chunk-PQS6KXZ2.cjs.map +0 -1
- package/lib/chunk-PV7MUP5Z.js +0 -44
- package/lib/chunk-PV7MUP5Z.js.map +0 -1
- package/lib/chunk-PZZLLHJP.js +0 -41
- package/lib/chunk-PZZLLHJP.js.map +0 -1
- package/lib/chunk-Q2ZSQM7I.js +0 -45
- package/lib/chunk-Q2ZSQM7I.js.map +0 -1
- package/lib/chunk-Q66HILUF.js +0 -40
- package/lib/chunk-Q66HILUF.js.map +0 -1
- package/lib/chunk-Q66JEOCJ.cjs +0 -50
- package/lib/chunk-Q66JEOCJ.cjs.map +0 -1
- package/lib/chunk-Q7YHSPJL.js +0 -53
- package/lib/chunk-Q7YHSPJL.js.map +0 -1
- package/lib/chunk-QGE4ELJO.cjs +0 -47
- package/lib/chunk-QGE4ELJO.cjs.map +0 -1
- package/lib/chunk-QHRQCFDB.js +0 -41
- package/lib/chunk-QHRQCFDB.js.map +0 -1
- package/lib/chunk-QK5MFD4L.js +0 -45
- package/lib/chunk-QK5MFD4L.js.map +0 -1
- package/lib/chunk-QK7D6L3W.js +0 -51
- package/lib/chunk-QK7D6L3W.js.map +0 -1
- package/lib/chunk-QYDOENWU.cjs +0 -282
- package/lib/chunk-QYDOENWU.cjs.map +0 -1
- package/lib/chunk-QZTNLPOD.cjs +0 -51
- package/lib/chunk-QZTNLPOD.cjs.map +0 -1
- package/lib/chunk-QZWQNPKC.js +0 -45
- package/lib/chunk-QZWQNPKC.js.map +0 -1
- package/lib/chunk-R755X3AG.cjs +0 -47
- package/lib/chunk-R755X3AG.cjs.map +0 -1
- package/lib/chunk-RHARO4TQ.cjs +0 -47
- package/lib/chunk-RHARO4TQ.cjs.map +0 -1
- package/lib/chunk-ROPOLXIV.js +0 -96
- package/lib/chunk-ROPOLXIV.js.map +0 -1
- package/lib/chunk-RT7XLEV6.js +0 -49
- package/lib/chunk-RT7XLEV6.js.map +0 -1
- package/lib/chunk-RTDD2NRL.cjs +0 -39
- package/lib/chunk-RTDD2NRL.cjs.map +0 -1
- package/lib/chunk-RTGW34KX.cjs +0 -40
- package/lib/chunk-RTGW34KX.cjs.map +0 -1
- package/lib/chunk-RWPFE3LF.cjs +0 -51
- package/lib/chunk-RWPFE3LF.cjs.map +0 -1
- package/lib/chunk-SGOUEVJ3.cjs +0 -67
- package/lib/chunk-SGOUEVJ3.cjs.map +0 -1
- package/lib/chunk-SGWRNEJB.cjs +0 -35
- package/lib/chunk-SGWRNEJB.cjs.map +0 -1
- package/lib/chunk-SKFA2ZIK.js +0 -36
- package/lib/chunk-SKFA2ZIK.js.map +0 -1
- package/lib/chunk-SN6BP777.js +0 -89
- package/lib/chunk-SN6BP777.js.map +0 -1
- package/lib/chunk-SOXJJRL2.js +0 -44
- package/lib/chunk-SOXJJRL2.js.map +0 -1
- package/lib/chunk-SPLHKBWG.cjs +0 -51
- package/lib/chunk-SPLHKBWG.cjs.map +0 -1
- package/lib/chunk-SUJCEUOZ.cjs +0 -47
- package/lib/chunk-SUJCEUOZ.cjs.map +0 -1
- package/lib/chunk-SWWPX4V4.cjs +0 -34
- package/lib/chunk-SWWPX4V4.cjs.map +0 -1
- package/lib/chunk-THO6KQJZ.js +0 -50
- package/lib/chunk-THO6KQJZ.js.map +0 -1
- package/lib/chunk-THVPSJTK.cjs +0 -47
- package/lib/chunk-THVPSJTK.cjs.map +0 -1
- package/lib/chunk-TIJIXGNJ.cjs +0 -26
- package/lib/chunk-TIJIXGNJ.cjs.map +0 -1
- package/lib/chunk-TM5OCFYV.cjs +0 -61
- package/lib/chunk-TM5OCFYV.cjs.map +0 -1
- package/lib/chunk-TQFODT4D.cjs +0 -35
- package/lib/chunk-TQFODT4D.cjs.map +0 -1
- package/lib/chunk-TSD2PK6H.js +0 -32
- package/lib/chunk-TSD2PK6H.js.map +0 -1
- package/lib/chunk-TSLXKI72.js +0 -60
- package/lib/chunk-TSLXKI72.js.map +0 -1
- package/lib/chunk-U5FTZYJJ.js +0 -45
- package/lib/chunk-U5FTZYJJ.js.map +0 -1
- package/lib/chunk-U6PW4AZV.js +0 -24
- package/lib/chunk-U6PW4AZV.js.map +0 -1
- package/lib/chunk-UB4WKBUO.js +0 -48
- package/lib/chunk-UB4WKBUO.js.map +0 -1
- package/lib/chunk-UB6JC3W7.js +0 -49
- package/lib/chunk-UB6JC3W7.js.map +0 -1
- package/lib/chunk-UBXNH6J3.js +0 -57
- package/lib/chunk-UBXNH6J3.js.map +0 -1
- package/lib/chunk-UP7FR6HD.cjs +0 -66
- package/lib/chunk-UP7FR6HD.cjs.map +0 -1
- package/lib/chunk-VDZUWCIN.cjs +0 -51
- package/lib/chunk-VDZUWCIN.cjs.map +0 -1
- package/lib/chunk-VLLLEX5J.js +0 -101
- package/lib/chunk-VLLLEX5J.js.map +0 -1
- package/lib/chunk-VMJUXZ67.cjs +0 -84
- package/lib/chunk-VMJUXZ67.cjs.map +0 -1
- package/lib/chunk-VNWOCO65.cjs +0 -68
- package/lib/chunk-VNWOCO65.cjs.map +0 -1
- package/lib/chunk-VPXMI42G.cjs +0 -51
- package/lib/chunk-VPXMI42G.cjs.map +0 -1
- package/lib/chunk-VRFSITD3.js +0 -73
- package/lib/chunk-VRFSITD3.js.map +0 -1
- package/lib/chunk-VUCYIRSC.cjs +0 -47
- package/lib/chunk-VUCYIRSC.cjs.map +0 -1
- package/lib/chunk-WAL76UPE.cjs +0 -153
- package/lib/chunk-WAL76UPE.cjs.map +0 -1
- package/lib/chunk-WBPEFNL7.cjs +0 -29
- package/lib/chunk-WBPEFNL7.cjs.map +0 -1
- package/lib/chunk-WKN5RLNR.js +0 -45
- package/lib/chunk-WKN5RLNR.js.map +0 -1
- package/lib/chunk-WP3L72CW.js +0 -55
- package/lib/chunk-WP3L72CW.js.map +0 -1
- package/lib/chunk-WTHX574O.js +0 -66
- package/lib/chunk-WTHX574O.js.map +0 -1
- package/lib/chunk-WXD4O4UY.js +0 -36
- package/lib/chunk-WXD4O4UY.js.map +0 -1
- package/lib/chunk-X2D47UM7.cjs +0 -63
- package/lib/chunk-X2D47UM7.cjs.map +0 -1
- package/lib/chunk-X6PHZA6P.cjs +0 -660
- package/lib/chunk-X6PHZA6P.cjs.map +0 -1
- package/lib/chunk-XMDDYWH5.js +0 -48
- package/lib/chunk-XMDDYWH5.js.map +0 -1
- package/lib/chunk-XPF5Z2WY.js +0 -75
- package/lib/chunk-XPF5Z2WY.js.map +0 -1
- package/lib/chunk-XR3KEV7U.js +0 -49
- package/lib/chunk-XR3KEV7U.js.map +0 -1
- package/lib/chunk-XUC3BYL2.cjs +0 -43
- package/lib/chunk-XUC3BYL2.cjs.map +0 -1
- package/lib/chunk-Y2IGLW5N.js +0 -40
- package/lib/chunk-Y2IGLW5N.js.map +0 -1
- package/lib/chunk-Y3BFYVWA.js +0 -37
- package/lib/chunk-Y3BFYVWA.js.map +0 -1
- package/lib/chunk-YAKNUPNE.cjs +0 -51
- package/lib/chunk-YAKNUPNE.cjs.map +0 -1
- package/lib/chunk-YAVHAWTZ.js +0 -41
- package/lib/chunk-YAVHAWTZ.js.map +0 -1
- package/lib/chunk-YBXRC6MC.js +0 -49
- package/lib/chunk-YBXRC6MC.js.map +0 -1
- package/lib/chunk-YHYBOXVX.cjs +0 -30
- package/lib/chunk-YHYBOXVX.cjs.map +0 -1
- package/lib/chunk-YIDX7HVR.cjs +0 -50
- package/lib/chunk-YIDX7HVR.cjs.map +0 -1
- package/lib/chunk-YN4M5CNJ.js +0 -50
- package/lib/chunk-YN4M5CNJ.js.map +0 -1
- package/lib/chunk-YOHBJHTH.cjs +0 -57
- package/lib/chunk-YOHBJHTH.cjs.map +0 -1
- package/lib/chunk-YUGZUUAU.js +0 -27
- package/lib/chunk-YUGZUUAU.js.map +0 -1
- package/lib/chunk-Z2QVXW6T.cjs +0 -105
- package/lib/chunk-Z2QVXW6T.cjs.map +0 -1
- package/lib/chunk-Z667GAZJ.js +0 -37
- package/lib/chunk-Z667GAZJ.js.map +0 -1
- package/lib/chunk-Z7DKPFKZ.js +0 -40
- package/lib/chunk-Z7DKPFKZ.js.map +0 -1
- package/lib/chunk-ZAISVVBE.cjs +0 -55
- package/lib/chunk-ZAISVVBE.cjs.map +0 -1
- package/lib/chunk-ZASD6IUL.js +0 -103
- package/lib/chunk-ZASD6IUL.js.map +0 -1
- package/lib/chunk-ZEEB5YAU.js +0 -45
- package/lib/chunk-ZEEB5YAU.js.map +0 -1
- package/lib/chunk-ZFG533LP.js +0 -49
- package/lib/chunk-ZFG533LP.js.map +0 -1
- package/lib/chunk-ZLHZGR5I.cjs +0 -110
- package/lib/chunk-ZLHZGR5I.cjs.map +0 -1
- package/lib/chunk-ZQSCFH5J.cjs +0 -43
- package/lib/chunk-ZQSCFH5J.cjs.map +0 -1
- package/lib/chunk-ZTVQSWSD.cjs +0 -47
- package/lib/chunk-ZTVQSWSD.cjs.map +0 -1
- package/lib/chunk-ZZF34M2E.cjs +0 -47
- package/lib/chunk-ZZF34M2E.cjs.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/inventory_return_locations.ts"],"names":["ApiResource"],"mappings":";;;;;AAkEA,IAAM,wBAAA,GAAN,MAAM,yBAAA,SAAiCA,6BAAA,CAAqC;AAAA,EAE3E,OAAgB,IAAA,GAAoC,4BAAA;AAAA,EAEpD,MAAM,MAAA,CAAO,QAAA,EAAyC,MAAA,EAAuD,OAAA,EAA6D;AACzK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+D,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,yBAAA,CAAyB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC3J;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAyC,MAAA,EAAuD,OAAA,EAA6D;AACzK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+D,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,yBAAA,CAAyB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC3J;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,yBAAA,CAAyB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAChH;AAAA,EAEA,MAAM,cAAA,CAAe,yBAAA,EAA6D,MAAA,EAA6C,OAAA,EAAmD;AACjL,IAAA,MAAM,0BAAA,GAA8B,0BAAsD,EAAA,IAA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AAA,KAAS,yBAAA,CAAyB,IAAA;AAAA,EACrE;AAAA,EAGA,aAAa,EAAA,EAA4D;AACxE,IAAA,OAAO,KAAA,CAAM,qBAAiD,EAAE,CAAA;AAAA,EACjE;AAAA,EAEA,sBAAsB,GAAA,EAA6C;AAClE,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAkD,GAAG,GAAG,CAAA;AAAA,EACtE;AAAA,EAGA,IAAA,GAAoC;AACnC,IAAA,OAAO,yBAAA,CAAyB,IAAA;AAAA,EACjC;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,wBAAA,EAAyB;AAC9C,IAAO,kCAAA,GAAQ","file":"chunk-RAF3LK5T.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 { StockLocation, StockLocationType } from './stock_locations'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype InventoryReturnLocationType = 'inventory_return_locations'\ntype InventoryReturnLocationRel = ResourceRel & { type: InventoryReturnLocationType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\n\n\nexport type InventoryReturnLocationSort = Pick<InventoryReturnLocation, 'id' | 'priority'> & ResourceSort\n// export type InventoryReturnLocationFilter = Pick<InventoryReturnLocation, 'id' | 'priority'> & ResourceFilter\n\n\ninterface InventoryReturnLocation extends Resource {\n\t\n\treadonly type: InventoryReturnLocationType\n\n\t/** \n\t * The inventory return location priority within the associated invetory model.\n\t * @example ```1```\n\t */\n\tpriority: number\n\n\tstock_location?: StockLocation | null\n\tinventory_model?: InventoryModel | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface InventoryReturnLocationCreate extends ResourceCreate {\n\t\n\t/** \n\t * The inventory return location priority within the associated invetory model.\n\t * @example ```1```\n\t */\n\tpriority: number\n\n\tstock_location: StockLocationRel\n\tinventory_model: InventoryModelRel\n\n}\n\n\ninterface InventoryReturnLocationUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The inventory return location priority within the associated invetory model.\n\t * @example ```1```\n\t */\n\tpriority?: number | null\n\n\tstock_location?: StockLocationRel | null\n\tinventory_model?: InventoryModelRel | null\n\n}\n\n\nclass InventoryReturnLocations extends ApiResource<InventoryReturnLocation> {\n\n\tstatic readonly TYPE: InventoryReturnLocationType = 'inventory_return_locations' as const\n\n\tasync create(resource: InventoryReturnLocationCreate, params?: QueryParamsRetrieve<InventoryReturnLocation>, options?: ResourcesConfig): Promise<InventoryReturnLocation> {\n\t\treturn this.resources.create<InventoryReturnLocationCreate, InventoryReturnLocation>({ ...resource, type: InventoryReturnLocations.TYPE }, params, options)\n\t}\n\n\tasync update(resource: InventoryReturnLocationUpdate, params?: QueryParamsRetrieve<InventoryReturnLocation>, options?: ResourcesConfig): Promise<InventoryReturnLocation> {\n\t\treturn this.resources.update<InventoryReturnLocationUpdate, InventoryReturnLocation>({ ...resource, type: InventoryReturnLocations.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: InventoryReturnLocations.TYPE } : id, options)\n\t}\n\n\tasync stock_location(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\tconst _inventoryReturnLocationId = (inventoryReturnLocationId as InventoryReturnLocation).id || inventoryReturnLocationId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `inventory_return_locations/${_inventoryReturnLocationId}/stock_location`, params, options) as unknown as StockLocation\n\t}\n\n\tasync inventory_model(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel> {\n\t\tconst _inventoryReturnLocationId = (inventoryReturnLocationId as InventoryReturnLocation).id || inventoryReturnLocationId as string\n\t\treturn this.resources.fetch<InventoryModel>({ type: 'inventory_models' }, `inventory_return_locations/${_inventoryReturnLocationId}/inventory_model`, params, options) as unknown as InventoryModel\n\t}\n\n\tasync versions(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _inventoryReturnLocationId = (inventoryReturnLocationId as InventoryReturnLocation).id || inventoryReturnLocationId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `inventory_return_locations/${_inventoryReturnLocationId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _inventoryReturnLocationId = (inventoryReturnLocationId as InventoryReturnLocation).id || inventoryReturnLocationId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `inventory_return_locations/${_inventoryReturnLocationId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisInventoryReturnLocation(resource: any): resource is InventoryReturnLocation {\n\t\treturn resource.type && (resource.type === InventoryReturnLocations.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): InventoryReturnLocationRel {\n\t\treturn super.relationshipOneToOne<InventoryReturnLocationRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): InventoryReturnLocationRel[] {\n\t\treturn super.relationshipOneToMany<InventoryReturnLocationRel>(...ids)\n\t}\n\n\n\ttype(): InventoryReturnLocationType {\n\t\treturn InventoryReturnLocations.TYPE\n\t}\n\n}\n\n\nconst instance = new InventoryReturnLocations()\nexport default instance\n\nexport type { InventoryReturnLocations, InventoryReturnLocation, InventoryReturnLocationCreate, InventoryReturnLocationUpdate, InventoryReturnLocationType }\n"]}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var chunkU22VLCMN_cjs = require('./chunk-U22VLCMN.cjs');
|
4
|
+
|
5
|
+
// src/resources/braintree_gateways.ts
|
6
|
+
var BraintreeGateways = class _BraintreeGateways extends chunkU22VLCMN_cjs.ApiResource {
|
7
|
+
static TYPE = "braintree_gateways";
|
8
|
+
async create(resource, params, options) {
|
9
|
+
return this.resources.create({ ...resource, type: _BraintreeGateways.TYPE }, params, options);
|
10
|
+
}
|
11
|
+
async update(resource, params, options) {
|
12
|
+
return this.resources.update({ ...resource, type: _BraintreeGateways.TYPE }, params, options);
|
13
|
+
}
|
14
|
+
async delete(id, options) {
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _BraintreeGateways.TYPE } : id, options);
|
16
|
+
}
|
17
|
+
async payment_methods(braintreeGatewayId, params, options) {
|
18
|
+
const _braintreeGatewayId = braintreeGatewayId.id || braintreeGatewayId;
|
19
|
+
return this.resources.fetch({ type: "payment_methods" }, `braintree_gateways/${_braintreeGatewayId}/payment_methods`, params, options);
|
20
|
+
}
|
21
|
+
async versions(braintreeGatewayId, params, options) {
|
22
|
+
const _braintreeGatewayId = braintreeGatewayId.id || braintreeGatewayId;
|
23
|
+
return this.resources.fetch({ type: "versions" }, `braintree_gateways/${_braintreeGatewayId}/versions`, params, options);
|
24
|
+
}
|
25
|
+
async event_stores(braintreeGatewayId, params, options) {
|
26
|
+
const _braintreeGatewayId = braintreeGatewayId.id || braintreeGatewayId;
|
27
|
+
return this.resources.fetch({ type: "event_stores" }, `braintree_gateways/${_braintreeGatewayId}/event_stores`, params, options);
|
28
|
+
}
|
29
|
+
async braintree_payments(braintreeGatewayId, params, options) {
|
30
|
+
const _braintreeGatewayId = braintreeGatewayId.id || braintreeGatewayId;
|
31
|
+
return this.resources.fetch({ type: "braintree_payments" }, `braintree_gateways/${_braintreeGatewayId}/braintree_payments`, params, options);
|
32
|
+
}
|
33
|
+
isBraintreeGateway(resource) {
|
34
|
+
return resource.type && resource.type === _BraintreeGateways.TYPE;
|
35
|
+
}
|
36
|
+
relationship(id) {
|
37
|
+
return super.relationshipOneToOne(id);
|
38
|
+
}
|
39
|
+
relationshipToMany(...ids) {
|
40
|
+
return super.relationshipOneToMany(...ids);
|
41
|
+
}
|
42
|
+
type() {
|
43
|
+
return _BraintreeGateways.TYPE;
|
44
|
+
}
|
45
|
+
};
|
46
|
+
var instance = new BraintreeGateways();
|
47
|
+
var braintree_gateways_default = instance;
|
48
|
+
|
49
|
+
exports.braintree_gateways_default = braintree_gateways_default;
|
50
|
+
//# sourceMappingURL=chunk-RDTIBHZO.cjs.map
|
51
|
+
//# sourceMappingURL=chunk-RDTIBHZO.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/braintree_gateways.ts"],"names":["ApiResource"],"mappings":";;;;;AAyJA,IAAM,iBAAA,GAAN,MAAM,kBAAA,SAA0BA,6BAAA,CAA8B;AAAA,EAE7D,OAAgB,IAAA,GAA6B,oBAAA;AAAA,EAE7C,MAAM,MAAA,CAAO,QAAA,EAAkC,MAAA,EAAgD,OAAA,EAAsD;AACpJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAiD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,kBAAA,CAAkB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAkC,MAAA,EAAgD,OAAA,EAAsD;AACpJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAiD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,kBAAA,CAAkB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,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AA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAwB,EAAE,IAAA,EAAM,oBAAA,EAAqB,EAAG,CAAA,mBAAA,EAAsB,mBAAmB,CAAA,mBAAA,CAAA,EAAuB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC9J;AAAA,EAGA,mBAAmB,QAAA,EAA6C;AAC/D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,kBAAA,CAAkB,IAAA;AAAA,EAC9D;AAAA,EAGA,aAAa,EAAA,EAAqD;AACjE,IAAA,OAAO,KAAA,CAAM,qBAA0C,EAAE,CAAA;AAAA,EAC1D;AAAA,EAEA,sBAAsB,GAAA,EAAsC;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA2C,GAAG,GAAG,CAAA;AAAA,EAC/D;AAAA,EAGA,IAAA,GAA6B;AAC5B,IAAA,OAAO,kBAAA,CAAkB,IAAA;AAAA,EAC1B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,iBAAA,EAAkB;AACvC,IAAO,0BAAA,GAAQ","file":"chunk-RDTIBHZO.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 { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { BraintreePayment, BraintreePaymentType } from './braintree_payments'\n\n\ntype BraintreeGatewayType = 'braintree_gateways'\ntype BraintreeGatewayRel = ResourceRel & { type: BraintreeGatewayType }\ntype BraintreePaymentRel = ResourceRel & { type: BraintreePaymentType }\n\n\nexport type BraintreeGatewaySort = Pick<BraintreeGateway, 'id' | 'name'> & ResourceSort\n// export type BraintreeGatewayFilter = Pick<BraintreeGateway, 'id' | 'name'> & ResourceFilter\n\n\ninterface BraintreeGateway extends Resource {\n\t\n\treadonly type: BraintreeGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * The dynamic descriptor name. Must be composed by business name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14 or 9 chars), for a total length of 22 chars.\n\t * @example ```\"company*productabc1234\"```\n\t */\n\tdescriptor_name?: string | null\n\t/** \n\t * The dynamic descriptor phone number. Must be 10-14 characters and can only contain numbers, dashes, parentheses and periods.\n\t * @example ```\"3125551212\"```\n\t */\n\tdescriptor_phone?: string | null\n\t/** \n\t * The dynamic descriptor URL.\n\t * @example ```\"company.com\"```\n\t */\n\tdescriptor_url?: string | null\n\t/** \n\t * The gateway webhook URL, generated automatically.\n\t * @example ```\"https://core.commercelayer.co/webhook_callbacks/braintree_gateways/xxxxx\"```\n\t */\n\twebhook_endpoint_url?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tbraintree_payments?: BraintreePayment[] | null\n\n}\n\n\ninterface BraintreeGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * The gateway merchant account ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_account_id: string\n\t/** \n\t * The gateway merchant ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_id: string\n\t/** \n\t * The gateway API public key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key: string\n\t/** \n\t * The gateway API private key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tprivate_key: string\n\t/** \n\t * The dynamic descriptor name. Must be composed by business name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14 or 9 chars), for a total length of 22 chars.\n\t * @example ```\"company*productabc1234\"```\n\t */\n\tdescriptor_name?: string | null\n\t/** \n\t * The dynamic descriptor phone number. Must be 10-14 characters and can only contain numbers, dashes, parentheses and periods.\n\t * @example ```\"3125551212\"```\n\t */\n\tdescriptor_phone?: string | null\n\t/** \n\t * The dynamic descriptor URL.\n\t * @example ```\"company.com\"```\n\t */\n\tdescriptor_url?: string | null\n\n\tbraintree_payments?: BraintreePaymentRel[] | null\n\n}\n\n\ninterface BraintreeGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The gateway merchant account ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_account_id?: string | null\n\t/** \n\t * The gateway merchant ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_id?: string | null\n\t/** \n\t * The gateway API public key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key?: string | null\n\t/** \n\t * The gateway API private key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tprivate_key?: string | null\n\t/** \n\t * The dynamic descriptor name. Must be composed by business name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14 or 9 chars), for a total length of 22 chars.\n\t * @example ```\"company*productabc1234\"```\n\t */\n\tdescriptor_name?: string | null\n\t/** \n\t * The dynamic descriptor phone number. Must be 10-14 characters and can only contain numbers, dashes, parentheses and periods.\n\t * @example ```\"3125551212\"```\n\t */\n\tdescriptor_phone?: string | null\n\t/** \n\t * The dynamic descriptor URL.\n\t * @example ```\"company.com\"```\n\t */\n\tdescriptor_url?: string | null\n\n\tbraintree_payments?: BraintreePaymentRel[] | null\n\n}\n\n\nclass BraintreeGateways extends ApiResource<BraintreeGateway> {\n\n\tstatic readonly TYPE: BraintreeGatewayType = 'braintree_gateways' as const\n\n\tasync create(resource: BraintreeGatewayCreate, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway> {\n\t\treturn this.resources.create<BraintreeGatewayCreate, BraintreeGateway>({ ...resource, type: BraintreeGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: BraintreeGatewayUpdate, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway> {\n\t\treturn this.resources.update<BraintreeGatewayUpdate, BraintreeGateway>({ ...resource, type: BraintreeGateways.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: BraintreeGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _braintreeGatewayId = (braintreeGatewayId as BraintreeGateway).id || braintreeGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `braintree_gateways/${_braintreeGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _braintreeGatewayId = (braintreeGatewayId as BraintreeGateway).id || braintreeGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `braintree_gateways/${_braintreeGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _braintreeGatewayId = (braintreeGatewayId as BraintreeGateway).id || braintreeGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `braintree_gateways/${_braintreeGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync braintree_payments(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<BraintreePayment>, options?: ResourcesConfig): Promise<ListResponse<BraintreePayment>> {\n\t\tconst _braintreeGatewayId = (braintreeGatewayId as BraintreeGateway).id || braintreeGatewayId as string\n\t\treturn this.resources.fetch<BraintreePayment>({ type: 'braintree_payments' }, `braintree_gateways/${_braintreeGatewayId}/braintree_payments`, params, options) as unknown as ListResponse<BraintreePayment>\n\t}\n\n\n\tisBraintreeGateway(resource: any): resource is BraintreeGateway {\n\t\treturn resource.type && (resource.type === BraintreeGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): BraintreeGatewayRel {\n\t\treturn super.relationshipOneToOne<BraintreeGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): BraintreeGatewayRel[] {\n\t\treturn super.relationshipOneToMany<BraintreeGatewayRel>(...ids)\n\t}\n\n\n\ttype(): BraintreeGatewayType {\n\t\treturn BraintreeGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new BraintreeGateways()\nexport default instance\n\nexport type { BraintreeGateways, BraintreeGateway, BraintreeGatewayCreate, BraintreeGatewayUpdate, BraintreeGatewayType }\n"]}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var chunkU22VLCMN_cjs = require('./chunk-U22VLCMN.cjs');
|
4
|
+
|
5
|
+
// src/resources/events.ts
|
6
|
+
var Events = class _Events extends chunkU22VLCMN_cjs.ApiResource {
|
7
|
+
static TYPE = "events";
|
8
|
+
async update(resource, params, options) {
|
9
|
+
return this.resources.update({ ...resource, type: _Events.TYPE }, params, options);
|
10
|
+
}
|
11
|
+
async webhooks(eventId, params, options) {
|
12
|
+
const _eventId = eventId.id || eventId;
|
13
|
+
return this.resources.fetch({ type: "webhooks" }, `events/${_eventId}/webhooks`, params, options);
|
14
|
+
}
|
15
|
+
async last_event_callbacks(eventId, params, options) {
|
16
|
+
const _eventId = eventId.id || eventId;
|
17
|
+
return this.resources.fetch({ type: "event_callbacks" }, `events/${_eventId}/last_event_callbacks`, params, options);
|
18
|
+
}
|
19
|
+
async event_stores(eventId, params, options) {
|
20
|
+
const _eventId = eventId.id || eventId;
|
21
|
+
return this.resources.fetch({ type: "event_stores" }, `events/${_eventId}/event_stores`, params, options);
|
22
|
+
}
|
23
|
+
async _trigger(id, params, options) {
|
24
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Events.TYPE, _trigger: true }, params, options);
|
25
|
+
}
|
26
|
+
isEvent(resource) {
|
27
|
+
return resource.type && resource.type === _Events.TYPE;
|
28
|
+
}
|
29
|
+
relationship(id) {
|
30
|
+
return super.relationshipOneToOne(id);
|
31
|
+
}
|
32
|
+
relationshipToMany(...ids) {
|
33
|
+
return super.relationshipOneToMany(...ids);
|
34
|
+
}
|
35
|
+
type() {
|
36
|
+
return _Events.TYPE;
|
37
|
+
}
|
38
|
+
};
|
39
|
+
var instance = new Events();
|
40
|
+
var events_default = instance;
|
41
|
+
|
42
|
+
exports.events_default = events_default;
|
43
|
+
//# sourceMappingURL=chunk-RHG3UVET.cjs.map
|
44
|
+
//# sourceMappingURL=chunk-RHG3UVET.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/events.ts"],"names":["ApiResource"],"mappings":";;;;;AA6CA,IAAM,MAAA,GAAN,MAAM,OAAA,SAAeA,6BAAA,CAAmB;AAAA,EAEvC,OAAgB,IAAA,GAAkB,QAAA;AAAA,EAElC,MAAM,MAAA,CAAO,QAAA,EAAuB,MAAA,EAAqC,OAAA,EAA2C;AACnH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,OAAA,CAAO,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrG;AAAA,EAEA,MAAM,QAAA,CAAS,OAAA,EAAyB,MAAA,EAAmC,OAAA,EAA2D;AACrI,IAAA,MAAM,QAAA,GAAY,QAAkB,EAAA,IAAM,OAAA;AAC1C,IAAA,OAAO,IAAA,CA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,KAAA,CAAM,qBAA+B,EAAE,CAAA;AAAA,EAC/C;AAAA,EAEA,sBAAsB,GAAA,EAA2B;AAChD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAgC,GAAG,GAAG,CAAA;AAAA,EACpD;AAAA,EAGA,IAAA,GAAkB;AACjB,IAAA,OAAO,OAAA,CAAO,IAAA;AAAA,EACf;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,MAAA,EAAO;AAC5B,IAAO,cAAA,GAAQ","file":"chunk-RHG3UVET.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Webhook } from './webhooks'\nimport type { EventCallback } from './event_callbacks'\nimport type { EventStore } from './event_stores'\n\n\ntype EventType = 'events'\ntype EventRel = ResourceRel & { type: EventType }\n\n\nexport type EventSort = Pick<Event, 'id' | 'name'> & ResourceSort\n// export type EventFilter = Pick<Event, 'id' | 'name'> & ResourceFilter\n\n\ninterface Event extends Resource {\n\t\n\treadonly type: EventType\n\n\t/** \n\t * The event's internal name.\n\t * @example ```\"orders.create\"```\n\t */\n\tname: string\n\n\twebhooks?: Webhook[] | null\n\tlast_event_callbacks?: EventCallback[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface EventUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Send this attribute if you want to force webhooks execution for this event. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_trigger?: boolean | null\n\t\n}\n\n\nclass Events extends ApiResource<Event> {\n\n\tstatic readonly TYPE: EventType = 'events' as const\n\n\tasync update(resource: EventUpdate, params?: QueryParamsRetrieve<Event>, options?: ResourcesConfig): Promise<Event> {\n\t\treturn this.resources.update<EventUpdate, Event>({ ...resource, type: Events.TYPE }, params, options)\n\t}\n\n\tasync webhooks(eventId: string | Event, params?: QueryParamsList<Webhook>, options?: ResourcesConfig): Promise<ListResponse<Webhook>> {\n\t\tconst _eventId = (eventId as Event).id || eventId as string\n\t\treturn this.resources.fetch<Webhook>({ type: 'webhooks' }, `events/${_eventId}/webhooks`, params, options) as unknown as ListResponse<Webhook>\n\t}\n\n\tasync last_event_callbacks(eventId: string | Event, params?: QueryParamsList<EventCallback>, options?: ResourcesConfig): Promise<ListResponse<EventCallback>> {\n\t\tconst _eventId = (eventId as Event).id || eventId as string\n\t\treturn this.resources.fetch<EventCallback>({ type: 'event_callbacks' }, `events/${_eventId}/last_event_callbacks`, params, options) as unknown as ListResponse<EventCallback>\n\t}\n\n\tasync event_stores(eventId: string | Event, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _eventId = (eventId as Event).id || eventId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `events/${_eventId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _trigger(id: string | Event, params?: QueryParamsRetrieve<Event>, options?: ResourcesConfig): Promise<Event> {\n\t\treturn this.resources.update<EventUpdate, Event>({ id: (typeof id === 'string')? id: id.id, type: Events.TYPE, _trigger: true }, params, options)\n\t}\n\n\n\tisEvent(resource: any): resource is Event {\n\t\treturn resource.type && (resource.type === Events.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): EventRel {\n\t\treturn super.relationshipOneToOne<EventRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): EventRel[] {\n\t\treturn super.relationshipOneToMany<EventRel>(...ids)\n\t}\n\n\n\ttype(): EventType {\n\t\treturn Events.TYPE\n\t}\n\n}\n\n\nconst instance = new Events()\nexport default instance\n\nexport type { Events, Event, EventUpdate, EventType }\n"]}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/order_subscription_items.ts
|
4
|
+
var OrderSubscriptionItems = class _OrderSubscriptionItems extends ApiResource {
|
5
|
+
static TYPE = "order_subscription_items";
|
6
|
+
async create(resource, params, options) {
|
7
|
+
return this.resources.create({ ...resource, type: _OrderSubscriptionItems.TYPE }, params, options);
|
8
|
+
}
|
9
|
+
async update(resource, params, options) {
|
10
|
+
return this.resources.update({ ...resource, type: _OrderSubscriptionItems.TYPE }, params, options);
|
11
|
+
}
|
12
|
+
async delete(id, options) {
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _OrderSubscriptionItems.TYPE } : id, options);
|
14
|
+
}
|
15
|
+
async order_subscription(orderSubscriptionItemId, params, options) {
|
16
|
+
const _orderSubscriptionItemId = orderSubscriptionItemId.id || orderSubscriptionItemId;
|
17
|
+
return this.resources.fetch({ type: "order_subscriptions" }, `order_subscription_items/${_orderSubscriptionItemId}/order_subscription`, params, options);
|
18
|
+
}
|
19
|
+
async source_line_item(orderSubscriptionItemId, params, options) {
|
20
|
+
const _orderSubscriptionItemId = orderSubscriptionItemId.id || orderSubscriptionItemId;
|
21
|
+
return this.resources.fetch({ type: "line_items" }, `order_subscription_items/${_orderSubscriptionItemId}/source_line_item`, params, options);
|
22
|
+
}
|
23
|
+
async event_stores(orderSubscriptionItemId, params, options) {
|
24
|
+
const _orderSubscriptionItemId = orderSubscriptionItemId.id || orderSubscriptionItemId;
|
25
|
+
return this.resources.fetch({ type: "event_stores" }, `order_subscription_items/${_orderSubscriptionItemId}/event_stores`, params, options);
|
26
|
+
}
|
27
|
+
isOrderSubscriptionItem(resource) {
|
28
|
+
return resource.type && resource.type === _OrderSubscriptionItems.TYPE;
|
29
|
+
}
|
30
|
+
relationship(id) {
|
31
|
+
return super.relationshipOneToOne(id);
|
32
|
+
}
|
33
|
+
relationshipToMany(...ids) {
|
34
|
+
return super.relationshipOneToMany(...ids);
|
35
|
+
}
|
36
|
+
type() {
|
37
|
+
return _OrderSubscriptionItems.TYPE;
|
38
|
+
}
|
39
|
+
};
|
40
|
+
var instance = new OrderSubscriptionItems();
|
41
|
+
var order_subscription_items_default = instance;
|
42
|
+
|
43
|
+
export { order_subscription_items_default };
|
44
|
+
//# sourceMappingURL=chunk-RJJQU44M.js.map
|
45
|
+
//# sourceMappingURL=chunk-RJJQU44M.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/order_subscription_items.ts"],"names":[],"mappings":";;;AA+IA,IAAM,sBAAA,GAAN,MAAM,uBAAA,SAA+B,WAAA,CAAmC;AAAA,EAEvE,OAAgB,IAAA,GAAkC,0BAAA;AAAA,EAElD,MAAM,MAAA,CAAO,QAAA,EAAuC,MAAA,EAAqD,OAAA,EAA2D;AACnK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2D,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,uBAAA,CAAuB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrJ;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAuC,MAAA,EAAqD,OAAA,EAA2D;AACnK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2D,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,uBAAA,CAAuB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrJ;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,uBAAA,CAAuB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC9G;AAAA,EAEA,MAAM,kBAAA,CAAmB,uBAAA,EAAyD,MAAA,EAAiD,OAAA,EAAuD;AACzL,IAAA,MAAM,wBAAA,GAA4B,wBAAkD,EAAA,IAAM,uBAAA;AAC1F,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAyB,EAAE,IAAA,EAAM,q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gCAAA,GAAQ","file":"chunk-RJJQU44M.js","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 { OrderSubscription, OrderSubscriptionType } from './order_subscriptions'\nimport type { LineItem } from './line_items'\nimport type { EventStore } from './event_stores'\nimport type { Sku, SkuType } from './skus'\nimport type { Bundle, BundleType } from './bundles'\nimport type { Adjustment, AdjustmentType } from './adjustments'\n\n\ntype OrderSubscriptionItemType = 'order_subscription_items'\ntype OrderSubscriptionItemRel = ResourceRel & { type: OrderSubscriptionItemType }\ntype OrderSubscriptionRel = ResourceRel & { type: OrderSubscriptionType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype BundleRel = ResourceRel & { type: BundleType }\ntype AdjustmentRel = ResourceRel & { type: AdjustmentType }\n\n\nexport type OrderSubscriptionItemSort = Pick<OrderSubscriptionItem, 'id' | 'quantity' | 'unit_amount_cents'> & ResourceSort\n// export type OrderSubscriptionItemFilter = Pick<OrderSubscriptionItem, 'id' | 'quantity' | 'unit_amount_cents'> & ResourceFilter\n\n\ninterface OrderSubscriptionItem extends Resource {\n\t\n\treadonly type: OrderSubscriptionItemType\n\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The code of the associated bundle.\n\t * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n\t */\n\tbundle_code?: string | null\n\t/** \n\t * The subscription item quantity.\n\t * @example ```4```\n\t */\n\tquantity: number\n\t/** \n\t * The unit amount of the subscription item, in cents.\n\t * @example ```9900```\n\t */\n\tunit_amount_cents?: number | null\n\t/** \n\t * The unit amount of the subscription item, float. This can be useful to track the purchase on thrid party systems, e.g Google Analyitcs Enhanced Ecommerce.\n\t * @example ```99```\n\t */\n\tunit_amount_float?: number | null\n\t/** \n\t * The unit amount of the subscription item, formatted. This can be useful to display the amount with currency in you views.\n\t * @example ```\"€99,00\"```\n\t */\n\tformatted_unit_amount?: string | null\n\t/** \n\t * Calculated as unit amount x quantity amount, in cents.\n\t * @example ```18800```\n\t */\n\ttotal_amount_cents?: number | null\n\t/** \n\t * Calculated as unit amount x quantity amount, float. This can be useful to track the purchase on thrid party systems, e.g Google Analyitcs Enhanced Ecommerce.\n\t * @example ```188```\n\t */\n\ttotal_amount_float: number\n\t/** \n\t * Calculated as unit amount x quantity amount, formatted. This can be useful to display the amount with currency in you views.\n\t * @example ```\"€188,00\"```\n\t */\n\tformatted_total_amount?: string | null\n\n\torder_subscription?: OrderSubscription | null\n\titem?: Sku | Bundle | Adjustment | null\n\tsku?: Sku | null\n\tbundle?: Bundle | null\n\tadjustment?: Adjustment | null\n\tsource_line_item?: LineItem | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface OrderSubscriptionItemCreate extends ResourceCreate {\n\t\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The code of the associated bundle.\n\t * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n\t */\n\tbundle_code?: string | null\n\t/** \n\t * The subscription item quantity.\n\t * @example ```4```\n\t */\n\tquantity: number\n\t/** \n\t * The unit amount of the subscription item, in cents.\n\t * @example ```9900```\n\t */\n\tunit_amount_cents?: number | null\n\n\torder_subscription: OrderSubscriptionRel\n\titem: SkuRel | BundleRel | AdjustmentRel\n\tsku?: SkuRel | null\n\tbundle?: BundleRel | null\n\tadjustment?: AdjustmentRel | null\n\n}\n\n\ninterface OrderSubscriptionItemUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The code of the associated SKU.\n\t * @example ```\"TSHIRTMM000000FFFFFFXLXX\"```\n\t */\n\tsku_code?: string | null\n\t/** \n\t * The code of the associated bundle.\n\t * @example ```\"BUNDLEMM000000FFFFFFXLXX\"```\n\t */\n\tbundle_code?: string | null\n\t/** \n\t * The subscription item quantity.\n\t * @example ```4```\n\t */\n\tquantity?: number | null\n\t/** \n\t * The unit amount of the subscription item, in cents.\n\t * @example ```9900```\n\t */\n\tunit_amount_cents?: number | null\n\t\n}\n\n\nclass OrderSubscriptionItems extends ApiResource<OrderSubscriptionItem> {\n\n\tstatic readonly TYPE: OrderSubscriptionItemType = 'order_subscription_items' as const\n\n\tasync create(resource: OrderSubscriptionItemCreate, params?: QueryParamsRetrieve<OrderSubscriptionItem>, options?: ResourcesConfig): Promise<OrderSubscriptionItem> {\n\t\treturn this.resources.create<OrderSubscriptionItemCreate, OrderSubscriptionItem>({ ...resource, type: OrderSubscriptionItems.TYPE }, params, options)\n\t}\n\n\tasync update(resource: OrderSubscriptionItemUpdate, params?: QueryParamsRetrieve<OrderSubscriptionItem>, options?: ResourcesConfig): Promise<OrderSubscriptionItem> {\n\t\treturn this.resources.update<OrderSubscriptionItemUpdate, OrderSubscriptionItem>({ ...resource, type: OrderSubscriptionItems.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: OrderSubscriptionItems.TYPE } : id, options)\n\t}\n\n\tasync order_subscription(orderSubscriptionItemId: string | OrderSubscriptionItem, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription> {\n\t\tconst _orderSubscriptionItemId = (orderSubscriptionItemId as OrderSubscriptionItem).id || orderSubscriptionItemId as string\n\t\treturn this.resources.fetch<OrderSubscription>({ type: 'order_subscriptions' }, `order_subscription_items/${_orderSubscriptionItemId}/order_subscription`, params, options) as unknown as OrderSubscription\n\t}\n\n\tasync source_line_item(orderSubscriptionItemId: string | OrderSubscriptionItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem> {\n\t\tconst _orderSubscriptionItemId = (orderSubscriptionItemId as OrderSubscriptionItem).id || orderSubscriptionItemId as string\n\t\treturn this.resources.fetch<LineItem>({ type: 'line_items' }, `order_subscription_items/${_orderSubscriptionItemId}/source_line_item`, params, options) as unknown as LineItem\n\t}\n\n\tasync event_stores(orderSubscriptionItemId: string | OrderSubscriptionItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _orderSubscriptionItemId = (orderSubscriptionItemId as OrderSubscriptionItem).id || orderSubscriptionItemId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `order_subscription_items/${_orderSubscriptionItemId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisOrderSubscriptionItem(resource: any): resource is OrderSubscriptionItem {\n\t\treturn resource.type && (resource.type === OrderSubscriptionItems.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): OrderSubscriptionItemRel {\n\t\treturn super.relationshipOneToOne<OrderSubscriptionItemRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): OrderSubscriptionItemRel[] {\n\t\treturn super.relationshipOneToMany<OrderSubscriptionItemRel>(...ids)\n\t}\n\n\n\ttype(): OrderSubscriptionItemType {\n\t\treturn OrderSubscriptionItems.TYPE\n\t}\n\n}\n\n\nconst instance = new OrderSubscriptionItems()\nexport default instance\n\nexport type { OrderSubscriptionItems, OrderSubscriptionItem, OrderSubscriptionItemCreate, OrderSubscriptionItemUpdate, OrderSubscriptionItemType }\n"]}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var chunkU22VLCMN_cjs = require('./chunk-U22VLCMN.cjs');
|
4
|
+
|
5
|
+
// src/resources/price_list_schedulers.ts
|
6
|
+
var PriceListSchedulers = class _PriceListSchedulers extends chunkU22VLCMN_cjs.ApiResource {
|
7
|
+
static TYPE = "price_list_schedulers";
|
8
|
+
async create(resource, params, options) {
|
9
|
+
return this.resources.create({ ...resource, type: _PriceListSchedulers.TYPE }, params, options);
|
10
|
+
}
|
11
|
+
async update(resource, params, options) {
|
12
|
+
return this.resources.update({ ...resource, type: _PriceListSchedulers.TYPE }, params, options);
|
13
|
+
}
|
14
|
+
async delete(id, options) {
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _PriceListSchedulers.TYPE } : id, options);
|
16
|
+
}
|
17
|
+
async market(priceListSchedulerId, params, options) {
|
18
|
+
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
19
|
+
return this.resources.fetch({ type: "markets" }, `price_list_schedulers/${_priceListSchedulerId}/market`, params, options);
|
20
|
+
}
|
21
|
+
async price_list(priceListSchedulerId, params, options) {
|
22
|
+
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
23
|
+
return this.resources.fetch({ type: "price_lists" }, `price_list_schedulers/${_priceListSchedulerId}/price_list`, params, options);
|
24
|
+
}
|
25
|
+
async events(priceListSchedulerId, params, options) {
|
26
|
+
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
27
|
+
return this.resources.fetch({ type: "events" }, `price_list_schedulers/${_priceListSchedulerId}/events`, params, options);
|
28
|
+
}
|
29
|
+
async versions(priceListSchedulerId, params, options) {
|
30
|
+
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
31
|
+
return this.resources.fetch({ type: "versions" }, `price_list_schedulers/${_priceListSchedulerId}/versions`, params, options);
|
32
|
+
}
|
33
|
+
async event_stores(priceListSchedulerId, params, options) {
|
34
|
+
const _priceListSchedulerId = priceListSchedulerId.id || priceListSchedulerId;
|
35
|
+
return this.resources.fetch({ type: "event_stores" }, `price_list_schedulers/${_priceListSchedulerId}/event_stores`, params, options);
|
36
|
+
}
|
37
|
+
async _disable(id, params, options) {
|
38
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PriceListSchedulers.TYPE, _disable: true }, params, options);
|
39
|
+
}
|
40
|
+
async _enable(id, params, options) {
|
41
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PriceListSchedulers.TYPE, _enable: true }, params, options);
|
42
|
+
}
|
43
|
+
isPriceListScheduler(resource) {
|
44
|
+
return resource.type && resource.type === _PriceListSchedulers.TYPE;
|
45
|
+
}
|
46
|
+
relationship(id) {
|
47
|
+
return super.relationshipOneToOne(id);
|
48
|
+
}
|
49
|
+
relationshipToMany(...ids) {
|
50
|
+
return super.relationshipOneToMany(...ids);
|
51
|
+
}
|
52
|
+
type() {
|
53
|
+
return _PriceListSchedulers.TYPE;
|
54
|
+
}
|
55
|
+
};
|
56
|
+
var instance = new PriceListSchedulers();
|
57
|
+
var price_list_schedulers_default = instance;
|
58
|
+
|
59
|
+
exports.price_list_schedulers_default = price_list_schedulers_default;
|
60
|
+
//# sourceMappingURL=chunk-RK3E3UJ2.cjs.map
|
61
|
+
//# sourceMappingURL=chunk-RK3E3UJ2.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/price_list_schedulers.ts"],"names":["ApiResource"],"mappings":";;;;;AAqIA,IAAM,mBAAA,GAAN,MAAM,oBAAA,SAA4BA,6BAAA,CAAgC;AAAA,EAEjE,OAAgB,IAAA,GAA+B,uBAAA;AAAA,EAE/C,MAAM,MAAA,CAAO,QAAA,EAAoC,MAAA,EAAkD,OAAA,EAAwD;AAC1J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAA,CAAoB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5I;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAoC,MAAA,EAAkD,OAAA,EAAwD;AAC1J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAA,CAAoB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5I;AAAA,EAEA,MAAM,MAAA,CAAO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,IAAA;AAAA,EAChE;AAAA,EAGA,aAAa,EAAA,EAAuD;AACnE,IAAA,OAAO,KAAA,CAAM,qBAA4C,EAAE,CAAA;AAAA,EAC5D;AAAA,EAEA,sBAAsB,GAAA,EAAwC;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA6C,GAAG,GAAG,CAAA;AAAA,EACjE;AAAA,EAGA,IAAA,GAA+B;AAC9B,IAAA,OAAO,oBAAA,CAAoB,IAAA;AAAA,EAC5B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,mBAAA,EAAoB;AACzC,IAAO,6BAAA,GAAQ","file":"chunk-RK3E3UJ2.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 { PriceList, PriceListType } from './price_lists'\nimport type { Event } from './events'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype PriceListSchedulerType = 'price_list_schedulers'\ntype PriceListSchedulerRel = ResourceRel & { type: PriceListSchedulerType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\n\n\nexport type PriceListSchedulerSort = Pick<PriceListScheduler, 'id' | 'name' | 'starts_at' | 'expires_at' | 'disabled_at'> & ResourceSort\n// export type PriceListSchedulerFilter = Pick<PriceListScheduler, 'id' | 'name' | 'starts_at' | 'expires_at' | 'disabled_at'> & ResourceFilter\n\n\ninterface PriceListScheduler extends Resource {\n\t\n\treadonly type: PriceListSchedulerType\n\n\t/** \n\t * The price list scheduler's internal name.\n\t * @example ```\"FW SALE 2023\"```\n\t */\n\tname: string\n\t/** \n\t * The activation date/time of this price list scheduler.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this price list scheduler (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * Indicates if the price list scheduler is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The price list scheduler status. One of 'disabled', 'expired', 'pending', or 'active'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\n\tmarket?: Market | null\n\tprice_list?: PriceList | null\n\tevents?: Event[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface PriceListSchedulerCreate extends ResourceCreate {\n\t\n\t/** \n\t * The price list scheduler's internal name.\n\t * @example ```\"FW SALE 2023\"```\n\t */\n\tname: string\n\t/** \n\t * The activation date/time of this price list scheduler.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this price list scheduler (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\n\tmarket: MarketRel\n\tprice_list: PriceListRel\n\n}\n\n\ninterface PriceListSchedulerUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The price list scheduler's internal name.\n\t * @example ```\"FW SALE 2023\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The activation date/time of this price list scheduler.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this price list scheduler (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\n\tmarket?: MarketRel | null\n\tprice_list?: PriceListRel | null\n\n}\n\n\nclass PriceListSchedulers extends ApiResource<PriceListScheduler> {\n\n\tstatic readonly TYPE: PriceListSchedulerType = 'price_list_schedulers' as const\n\n\tasync create(resource: PriceListSchedulerCreate, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler> {\n\t\treturn this.resources.create<PriceListSchedulerCreate, PriceListScheduler>({ ...resource, type: PriceListSchedulers.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PriceListSchedulerUpdate, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler> {\n\t\treturn this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>({ ...resource, type: PriceListSchedulers.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: PriceListSchedulers.TYPE } : id, options)\n\t}\n\n\tasync market(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || priceListSchedulerId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `price_list_schedulers/${_priceListSchedulerId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync price_list(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\tconst _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || priceListSchedulerId as string\n\t\treturn this.resources.fetch<PriceList>({ type: 'price_lists' }, `price_list_schedulers/${_priceListSchedulerId}/price_list`, params, options) as unknown as PriceList\n\t}\n\n\tasync events(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || priceListSchedulerId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `price_list_schedulers/${_priceListSchedulerId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync versions(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || priceListSchedulerId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `price_list_schedulers/${_priceListSchedulerId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _priceListSchedulerId = (priceListSchedulerId as PriceListScheduler).id || priceListSchedulerId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `price_list_schedulers/${_priceListSchedulerId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _disable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler> {\n\t\treturn this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>({ id: (typeof id === 'string')? id: id.id, type: PriceListSchedulers.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler> {\n\t\treturn this.resources.update<PriceListSchedulerUpdate, PriceListScheduler>({ id: (typeof id === 'string')? id: id.id, type: PriceListSchedulers.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisPriceListScheduler(resource: any): resource is PriceListScheduler {\n\t\treturn resource.type && (resource.type === PriceListSchedulers.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceListSchedulerRel {\n\t\treturn super.relationshipOneToOne<PriceListSchedulerRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceListSchedulerRel[] {\n\t\treturn super.relationshipOneToMany<PriceListSchedulerRel>(...ids)\n\t}\n\n\n\ttype(): PriceListSchedulerType {\n\t\treturn PriceListSchedulers.TYPE\n\t}\n\n}\n\n\nconst instance = new PriceListSchedulers()\nexport default instance\n\nexport type { PriceListSchedulers, PriceListScheduler, PriceListSchedulerCreate, PriceListSchedulerUpdate, PriceListSchedulerType }\n"]}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var chunkU22VLCMN_cjs = require('./chunk-U22VLCMN.cjs');
|
4
|
+
|
5
|
+
// src/resources/fixed_price_promotions.ts
|
6
|
+
var FixedPricePromotions = class _FixedPricePromotions extends chunkU22VLCMN_cjs.ApiResource {
|
7
|
+
static TYPE = "fixed_price_promotions";
|
8
|
+
async create(resource, params, options) {
|
9
|
+
return this.resources.create({ ...resource, type: _FixedPricePromotions.TYPE }, params, options);
|
10
|
+
}
|
11
|
+
async update(resource, params, options) {
|
12
|
+
return this.resources.update({ ...resource, type: _FixedPricePromotions.TYPE }, params, options);
|
13
|
+
}
|
14
|
+
async delete(id, options) {
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _FixedPricePromotions.TYPE } : id, options);
|
16
|
+
}
|
17
|
+
async market(fixedPricePromotionId, params, options) {
|
18
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
19
|
+
return this.resources.fetch({ type: "markets" }, `fixed_price_promotions/${_fixedPricePromotionId}/market`, params, options);
|
20
|
+
}
|
21
|
+
async order_amount_promotion_rule(fixedPricePromotionId, params, options) {
|
22
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
23
|
+
return this.resources.fetch({ type: "order_amount_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/order_amount_promotion_rule`, params, options);
|
24
|
+
}
|
25
|
+
async sku_list_promotion_rule(fixedPricePromotionId, params, options) {
|
26
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
27
|
+
return this.resources.fetch({ type: "sku_list_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list_promotion_rule`, params, options);
|
28
|
+
}
|
29
|
+
async coupon_codes_promotion_rule(fixedPricePromotionId, params, options) {
|
30
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
31
|
+
return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/coupon_codes_promotion_rule`, params, options);
|
32
|
+
}
|
33
|
+
async custom_promotion_rule(fixedPricePromotionId, params, options) {
|
34
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
35
|
+
return this.resources.fetch({ type: "custom_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`, params, options);
|
36
|
+
}
|
37
|
+
async sku_list(fixedPricePromotionId, params, options) {
|
38
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
39
|
+
return this.resources.fetch({ type: "sku_lists" }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options);
|
40
|
+
}
|
41
|
+
async coupons(fixedPricePromotionId, params, options) {
|
42
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
43
|
+
return this.resources.fetch({ type: "coupons" }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options);
|
44
|
+
}
|
45
|
+
async attachments(fixedPricePromotionId, params, options) {
|
46
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
47
|
+
return this.resources.fetch({ type: "attachments" }, `fixed_price_promotions/${_fixedPricePromotionId}/attachments`, params, options);
|
48
|
+
}
|
49
|
+
async events(fixedPricePromotionId, params, options) {
|
50
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
51
|
+
return this.resources.fetch({ type: "events" }, `fixed_price_promotions/${_fixedPricePromotionId}/events`, params, options);
|
52
|
+
}
|
53
|
+
async tags(fixedPricePromotionId, params, options) {
|
54
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
55
|
+
return this.resources.fetch({ type: "tags" }, `fixed_price_promotions/${_fixedPricePromotionId}/tags`, params, options);
|
56
|
+
}
|
57
|
+
async versions(fixedPricePromotionId, params, options) {
|
58
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
59
|
+
return this.resources.fetch({ type: "versions" }, `fixed_price_promotions/${_fixedPricePromotionId}/versions`, params, options);
|
60
|
+
}
|
61
|
+
async event_stores(fixedPricePromotionId, params, options) {
|
62
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
63
|
+
return this.resources.fetch({ type: "event_stores" }, `fixed_price_promotions/${_fixedPricePromotionId}/event_stores`, params, options);
|
64
|
+
}
|
65
|
+
async skus(fixedPricePromotionId, params, options) {
|
66
|
+
const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
|
67
|
+
return this.resources.fetch({ type: "skus" }, `fixed_price_promotions/${_fixedPricePromotionId}/skus`, params, options);
|
68
|
+
}
|
69
|
+
async _disable(id, params, options) {
|
70
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _disable: true }, params, options);
|
71
|
+
}
|
72
|
+
async _enable(id, params, options) {
|
73
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _enable: true }, params, options);
|
74
|
+
}
|
75
|
+
async _add_tags(id, triggerValue, params, options) {
|
76
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _add_tags: triggerValue }, params, options);
|
77
|
+
}
|
78
|
+
async _remove_tags(id, triggerValue, params, options) {
|
79
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _remove_tags: triggerValue }, params, options);
|
80
|
+
}
|
81
|
+
isFixedPricePromotion(resource) {
|
82
|
+
return resource.type && resource.type === _FixedPricePromotions.TYPE;
|
83
|
+
}
|
84
|
+
relationship(id) {
|
85
|
+
return super.relationshipOneToOne(id);
|
86
|
+
}
|
87
|
+
relationshipToMany(...ids) {
|
88
|
+
return super.relationshipOneToMany(...ids);
|
89
|
+
}
|
90
|
+
type() {
|
91
|
+
return _FixedPricePromotions.TYPE;
|
92
|
+
}
|
93
|
+
};
|
94
|
+
var instance = new FixedPricePromotions();
|
95
|
+
var fixed_price_promotions_default = instance;
|
96
|
+
|
97
|
+
exports.fixed_price_promotions_default = fixed_price_promotions_default;
|
98
|
+
//# sourceMappingURL=chunk-RLZV6AKT.cjs.map
|
99
|
+
//# sourceMappingURL=chunk-RLZV6AKT.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/fixed_price_promotions.ts"],"names":["ApiResource"],"mappings":";;;;;AA6QA,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,EAA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\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 { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Coupon } from './coupons'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { Sku } from './skus'\nimport type { PromotionRule } from './promotion_rules'\n\n\ntype FixedPricePromotionType = 'fixed_price_promotions'\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type FixedPricePromotionSort = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort\n// export type FixedPricePromotionFilter = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceFilter\n\n\ninterface FixedPricePromotion extends Resource {\n\t\n\treadonly type: FixedPricePromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n\t/** \n\t * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n\t * @example ```112```\n\t */\n\tweight?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\t/** \n\t * The discount fixed amount to be applied, float.\n\t * @example ```10```\n\t */\n\tfixed_amount_float?: number | null\n\t/** \n\t * The discount fixed amount to be applied, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_fixed_amount?: string | null\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface FixedPricePromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list: SkuListRel\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface FixedPricePromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass FixedPricePromotions extends ApiResource<FixedPricePromotion> {\n\n\tstatic readonly TYPE: FixedPricePromotionType = 'fixed_price_promotions' as const\n\n\tasync create(resource: FixedPricePromotionCreate, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.create<FixedPricePromotionCreate, FixedPricePromotion>({ ...resource, type: FixedPricePromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: FixedPricePromotionUpdate, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ ...resource, type: FixedPricePromotions.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: FixedPricePromotions.TYPE } : id, options)\n\t}\n\n\tasync market(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `fixed_price_promotions/${_fixedPricePromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `fixed_price_promotions/${_fixedPricePromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `fixed_price_promotions/${_fixedPricePromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `fixed_price_promotions/${_fixedPricePromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `fixed_price_promotions/${_fixedPricePromotionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `fixed_price_promotions/${_fixedPricePromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `fixed_price_promotions/${_fixedPricePromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisFixedPricePromotion(resource: any): resource is FixedPricePromotion {\n\t\treturn resource.type && (resource.type === FixedPricePromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): FixedPricePromotionRel {\n\t\treturn super.relationshipOneToOne<FixedPricePromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): FixedPricePromotionRel[] {\n\t\treturn super.relationshipOneToMany<FixedPricePromotionRel>(...ids)\n\t}\n\n\n\ttype(): FixedPricePromotionType {\n\t\treturn FixedPricePromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new FixedPricePromotions()\nexport default instance\n\nexport type { FixedPricePromotions, FixedPricePromotion, FixedPricePromotionCreate, FixedPricePromotionUpdate, FixedPricePromotionType }\n"]}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/customer_subscriptions.ts
|
4
|
+
var CustomerSubscriptions = class _CustomerSubscriptions extends ApiResource {
|
5
|
+
static TYPE = "customer_subscriptions";
|
6
|
+
async create(resource, params, options) {
|
7
|
+
return this.resources.create({ ...resource, type: _CustomerSubscriptions.TYPE }, params, options);
|
8
|
+
}
|
9
|
+
async update(resource, params, options) {
|
10
|
+
return this.resources.update({ ...resource, type: _CustomerSubscriptions.TYPE }, params, options);
|
11
|
+
}
|
12
|
+
async delete(id, options) {
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerSubscriptions.TYPE } : id, options);
|
14
|
+
}
|
15
|
+
async customer(customerSubscriptionId, params, options) {
|
16
|
+
const _customerSubscriptionId = customerSubscriptionId.id || customerSubscriptionId;
|
17
|
+
return this.resources.fetch({ type: "customers" }, `customer_subscriptions/${_customerSubscriptionId}/customer`, params, options);
|
18
|
+
}
|
19
|
+
async events(customerSubscriptionId, params, options) {
|
20
|
+
const _customerSubscriptionId = customerSubscriptionId.id || customerSubscriptionId;
|
21
|
+
return this.resources.fetch({ type: "events" }, `customer_subscriptions/${_customerSubscriptionId}/events`, params, options);
|
22
|
+
}
|
23
|
+
async versions(customerSubscriptionId, params, options) {
|
24
|
+
const _customerSubscriptionId = customerSubscriptionId.id || customerSubscriptionId;
|
25
|
+
return this.resources.fetch({ type: "versions" }, `customer_subscriptions/${_customerSubscriptionId}/versions`, params, options);
|
26
|
+
}
|
27
|
+
async event_stores(customerSubscriptionId, params, options) {
|
28
|
+
const _customerSubscriptionId = customerSubscriptionId.id || customerSubscriptionId;
|
29
|
+
return this.resources.fetch({ type: "event_stores" }, `customer_subscriptions/${_customerSubscriptionId}/event_stores`, params, options);
|
30
|
+
}
|
31
|
+
isCustomerSubscription(resource) {
|
32
|
+
return resource.type && resource.type === _CustomerSubscriptions.TYPE;
|
33
|
+
}
|
34
|
+
relationship(id) {
|
35
|
+
return super.relationshipOneToOne(id);
|
36
|
+
}
|
37
|
+
relationshipToMany(...ids) {
|
38
|
+
return super.relationshipOneToMany(...ids);
|
39
|
+
}
|
40
|
+
type() {
|
41
|
+
return _CustomerSubscriptions.TYPE;
|
42
|
+
}
|
43
|
+
};
|
44
|
+
var instance = new CustomerSubscriptions();
|
45
|
+
var customer_subscriptions_default = instance;
|
46
|
+
|
47
|
+
export { customer_subscript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AA,EAEA,sBAAsB,GAAA,EAA0C;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA+C,GAAG,GAAG,CAAA;AAAA,EACnE;AAAA,EAGA,IAAA,GAAiC;AAChC,IAAA,OAAO,sBAAA,CAAsB,IAAA;AAAA,EAC9B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,qBAAA,EAAsB;AAC3C,IAAO,8BAAA,GAAQ","file":"chunk-SDGSOWXI.js","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 { Customer } from './customers'\nimport type { Event } from './events'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype CustomerSubscriptionType = 'customer_subscriptions'\ntype CustomerSubscriptionRel = ResourceRel & { type: CustomerSubscriptionType }\n\n\nexport type CustomerSubscriptionSort = Pick<CustomerSubscription, 'id'> & ResourceSort\n// export type CustomerSubscriptionFilter = Pick<CustomerSubscription, 'id'> & ResourceFilter\n\n\ninterface CustomerSubscription extends Resource {\n\t\n\treadonly type: CustomerSubscriptionType\n\n\t/** \n\t * The email of the customer that owns the subscription.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email: string\n\n\tcustomer?: Customer | null\n\tevents?: Event[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface CustomerSubscriptionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The email of the customer that owns the subscription.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email: string\n\t\n}\n\n\ntype CustomerSubscriptionUpdate = ResourceUpdate\n\n\nclass CustomerSubscriptions extends ApiResource<CustomerSubscription> {\n\n\tstatic readonly TYPE: CustomerSubscriptionType = 'customer_subscriptions' as const\n\n\tasync create(resource: CustomerSubscriptionCreate, params?: QueryParamsRetrieve<CustomerSubscription>, options?: ResourcesConfig): Promise<CustomerSubscription> {\n\t\treturn this.resources.create<CustomerSubscriptionCreate, CustomerSubscription>({ ...resource, type: CustomerSubscriptions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CustomerSubscriptionUpdate, params?: QueryParamsRetrieve<CustomerSubscription>, options?: ResourcesConfig): Promise<CustomerSubscription> {\n\t\treturn this.resources.update<CustomerSubscriptionUpdate, CustomerSubscription>({ ...resource, type: CustomerSubscriptions.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: CustomerSubscriptions.TYPE } : id, options)\n\t}\n\n\tasync customer(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\tconst _customerSubscriptionId = (customerSubscriptionId as CustomerSubscription).id || customerSubscriptionId as string\n\t\treturn this.resources.fetch<Customer>({ type: 'customers' }, `customer_subscriptions/${_customerSubscriptionId}/customer`, params, options) as unknown as Customer\n\t}\n\n\tasync events(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _customerSubscriptionId = (customerSubscriptionId as CustomerSubscription).id || customerSubscriptionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `customer_subscriptions/${_customerSubscriptionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync versions(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _customerSubscriptionId = (customerSubscriptionId as CustomerSubscription).id || customerSubscriptionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `customer_subscriptions/${_customerSubscriptionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _customerSubscriptionId = (customerSubscriptionId as CustomerSubscription).id || customerSubscriptionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `customer_subscriptions/${_customerSubscriptionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisCustomerSubscription(resource: any): resource is CustomerSubscription {\n\t\treturn resource.type && (resource.type === CustomerSubscriptions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CustomerSubscriptionRel {\n\t\treturn super.relationshipOneToOne<CustomerSubscriptionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CustomerSubscriptionRel[] {\n\t\treturn super.relationshipOneToMany<CustomerSubscriptionRel>(...ids)\n\t}\n\n\n\ttype(): CustomerSubscriptionType {\n\t\treturn CustomerSubscriptions.TYPE\n\t}\n\n}\n\n\nconst instance = new CustomerSubscriptions()\nexport default instance\n\nexport type { CustomerSubscriptions, CustomerSubscription, CustomerSubscriptionCreate, CustomerSubscriptionUpdate, CustomerSubscriptionType }\n"]}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var chunkU22VLCMN_cjs = require('./chunk-U22VLCMN.cjs');
|
4
|
+
|
5
|
+
// src/resources/stripe_tax_accounts.ts
|
6
|
+
var StripeTaxAccounts = class _StripeTaxAccounts extends chunkU22VLCMN_cjs.ApiResource {
|
7
|
+
static TYPE = "stripe_tax_accounts";
|
8
|
+
async create(resource, params, options) {
|
9
|
+
return this.resources.create({ ...resource, type: _StripeTaxAccounts.TYPE }, params, options);
|
10
|
+
}
|
11
|
+
async update(resource, params, options) {
|
12
|
+
return this.resources.update({ ...resource, type: _StripeTaxAccounts.TYPE }, params, options);
|
13
|
+
}
|
14
|
+
async delete(id, options) {
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _StripeTaxAccounts.TYPE } : id, options);
|
16
|
+
}
|
17
|
+
async markets(stripeTaxAccountId, params, options) {
|
18
|
+
const _stripeTaxAccountId = stripeTaxAccountId.id || stripeTaxAccountId;
|
19
|
+
return this.resources.fetch({ type: "markets" }, `stripe_tax_accounts/${_stripeTaxAccountId}/markets`, params, options);
|
20
|
+
}
|
21
|
+
async attachments(stripeTaxAccountId, params, options) {
|
22
|
+
const _stripeTaxAccountId = stripeTaxAccountId.id || stripeTaxAccountId;
|
23
|
+
return this.resources.fetch({ type: "attachments" }, `stripe_tax_accounts/${_stripeTaxAccountId}/attachments`, params, options);
|
24
|
+
}
|
25
|
+
async events(stripeTaxAccountId, params, options) {
|
26
|
+
const _stripeTaxAccountId = stripeTaxAccountId.id || stripeTaxAccountId;
|
27
|
+
return this.resources.fetch({ type: "events" }, `stripe_tax_accounts/${_stripeTaxAccountId}/events`, params, options);
|
28
|
+
}
|
29
|
+
async versions(stripeTaxAccountId, params, options) {
|
30
|
+
const _stripeTaxAccountId = stripeTaxAccountId.id || stripeTaxAccountId;
|
31
|
+
return this.resources.fetch({ type: "versions" }, `stripe_tax_accounts/${_stripeTaxAccountId}/versions`, params, options);
|
32
|
+
}
|
33
|
+
async event_stores(stripeTaxAccountId, params, options) {
|
34
|
+
const _stripeTaxAccountId = stripeTaxAccountId.id || stripeTaxAccountId;
|
35
|
+
return this.resources.fetch({ type: "event_stores" }, `stripe_tax_accounts/${_stripeTaxAccountId}/event_stores`, params, options);
|
36
|
+
}
|
37
|
+
async tax_categories(stripeTaxAccountId, params, options) {
|
38
|
+
const _stripeTaxAccountId = stripeTaxAccountId.id || stripeTaxAccountId;
|
39
|
+
return this.resources.fetch({ type: "tax_categories" }, `stripe_tax_accounts/${_stripeTaxAccountId}/tax_categories`, params, options);
|
40
|
+
}
|
41
|
+
isStripeTaxAccount(resource) {
|
42
|
+
return resource.type && resource.type === _StripeTaxAccounts.TYPE;
|
43
|
+
}
|
44
|
+
relationship(id) {
|
45
|
+
return super.relationshipOneToOne(id);
|
46
|
+
}
|
47
|
+
relationshipToMany(...ids) {
|
48
|
+
return super.relationshipOneToMany(...ids);
|
49
|
+
}
|
50
|
+
type() {
|
51
|
+
return _StripeTaxAccounts.TYPE;
|
52
|
+
}
|
53
|
+
};
|
54
|
+
var instance = new StripeTaxAccounts();
|
55
|
+
var stripe_tax_accounts_default = instance;
|
56
|
+
|
57
|
+
exports.stripe_tax_accounts_default = stripe_tax_accounts_default;
|
58
|
+
//# sourceMappingURL=chunk-SKETQJTW.cjs.map
|
59
|
+
//# sourceMappingURL=chunk-SKETQJTW.cjs.map
|