@commercelayer/sdk 7.0.0-rc.8 → 7.0.0
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 +277 -401
- package/lib/bundle.cjs.map +1 -1
- package/lib/bundle.d.cts +2 -2
- package/lib/bundle.d.ts +2 -2
- package/lib/bundle.js +276 -400
- 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-2Y3T4MLF.cjs +53 -0
- package/lib/chunk-2Y3T4MLF.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-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-FDWMELHT.js +51 -0
- package/lib/chunk-FDWMELHT.js.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-MR6CPNFJ.cjs +110 -0
- package/lib/chunk-MR6CPNFJ.cjs.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-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-VKLOHZKL.js +104 -0
- package/lib/chunk-VKLOHZKL.js.map +1 -0
- package/lib/chunk-VKNNJ5CS.js +49 -0
- package/lib/chunk-VKNNJ5CS.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-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 +13 -9
- package/lib/commercelayer.d.cts +8 -5
- package/lib/commercelayer.d.ts +6 -5
- 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 +2 -1
- package/lib/static.d.ts +2 -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/addresses.ts"],"names":[],"mappings":";;;AAkVA,IAAM,SAAA,GAAN,MAAM,UAAA,SAAkB,WAAA,CAAqB;AAAA,EAE5C,OAAgB,IAAA,GAAoB,WAAA;AAAA,EAEpC,MAAM,MAAA,CAAO,QAAA,EAAyB,MAAA,EAAuC,OAAA,EAA6C;AACzH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,UAAA,CAAU,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5G;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAyB,MAAA,EAAuC,OAAA,EAA6C;AACzH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,UAAA,CAAU,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5G;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,UAAA,CAAU,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACjG;AAAA,EAEA,MAAM,QAAA,CAAS,SAAA,EAA6B,MAAA,EAAwC,OAAA,EAA8C;AACjI,IAAA,MAAM,UAAA,GAAc,UAAsB,EAAA,IAAM,SAAA;AAChD,IAAA,OAAO,IAAA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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 { Geocoder, GeocoderType } from './geocoders'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype AddressType = 'addresses'\ntype AddressRel = ResourceRel & { type: AddressType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type AddressSort = Pick<Address, 'id' | 'city' | 'state_code' | 'country_code'> & ResourceSort\n// export type AddressFilter = Pick<Address, 'id' | 'business' | 'first_name' | 'last_name' | 'company' | 'line_1' | 'line_2' | 'city' | 'zip_code' | 'state_code' | 'country_code' | 'phone' | 'email' | 'notes' | 'lat' | 'lng' | 'billing_info'> & ResourceFilter\n\n\ninterface Address extends Resource {\n\t\n\treadonly type: AddressType\n\n\t/** \n\t * Indicates if it's a business or a personal address.\n\t */\n\tbusiness?: boolean | null\n\t/** \n\t * Address first name (personal).\n\t * @example ```\"John\"```\n\t */\n\tfirst_name?: string | null\n\t/** \n\t * Address last name (personal).\n\t * @example ```\"Smith\"```\n\t */\n\tlast_name?: string | null\n\t/** \n\t * Address company name (business).\n\t * @example ```\"The Red Brand Inc.\"```\n\t */\n\tcompany?: string | null\n\t/** \n\t * Company name (business) of first name and last name (personal).\n\t * @example ```\"John Smith\"```\n\t */\n\tfull_name?: string | null\n\t/** \n\t * Address line 1, i.e. Street address, PO Box.\n\t * @example ```\"2883 Geraldine Lane\"```\n\t */\n\tline_1: string\n\t/** \n\t * Address line 2, i.e. Apartment, Suite, Building.\n\t * @example ```\"Apt.23\"```\n\t */\n\tline_2?: string | null\n\t/** \n\t * Address city.\n\t * @example ```\"New York\"```\n\t */\n\tcity: string\n\t/** \n\t * ZIP or postal code.\n\t * @example ```\"10013\"```\n\t */\n\tzip_code?: string | null\n\t/** \n\t * State, province or region code.\n\t * @example ```\"NY\"```\n\t */\n\tstate_code?: string | null\n\t/** \n\t * The international 2-letter country code as defined by the ISO 3166-1 standard.\n\t * @example ```\"US\"```\n\t */\n\tcountry_code: string\n\t/** \n\t * Phone number (including extension).\n\t * @example ```\"(212) 646-338-1228\"```\n\t */\n\tphone: string\n\t/** \n\t * Compact description of the address location, without the full name.\n\t * @example ```\"2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212) 646-338-1228\"```\n\t */\n\tfull_address?: string | null\n\t/** \n\t * Compact description of the address location, including the full name.\n\t * @example ```\"John Smith, 2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212) 646-338-1228\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Email address.\n\t * @example ```\"john@example.com\"```\n\t */\n\temail?: string | null\n\t/** \n\t * A free notes attached to the address. When used as a shipping address, this can be useful to let the customers add specific delivery instructions.\n\t * @example ```\"Please ring the bell twice\"```\n\t */\n\tnotes?: string | null\n\t/** \n\t * The address geocoded latitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n\t * @example ```40.6971494```\n\t */\n\tlat?: number | null\n\t/** \n\t * The address geocoded longitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n\t * @example ```-74.2598672```\n\t */\n\tlng?: number | null\n\t/** \n\t * Indicates if the latitude and logitude are present, either geocoded or manually updated.\n\t * @example ```true```\n\t */\n\tis_localized?: boolean | null\n\t/** \n\t * Indicates if the address has been successfully geocoded.\n\t * @example ```true```\n\t */\n\tis_geocoded?: boolean | null\n\t/** \n\t * The geocoder provider name (either Google or Bing).\n\t * @example ```\"google\"```\n\t */\n\tprovider_name?: string | null\n\t/** \n\t * The map url of the geocoded address (if geocoded).\n\t * @example ```\"https://www.google.com/maps/search/?api=1&query=40.6971494,-74.2598672\"```\n\t */\n\tmap_url?: string | null\n\t/** \n\t * The static map image url of the geocoded address (if geocoded).\n\t * @example ```\"https://maps.googleapis.com/maps/api/staticmap?center=40.6971494,-74.2598672&size=640x320&zoom=15\"```\n\t */\n\tstatic_map_url?: string | null\n\t/** \n\t * Customer's billing information (i.e. VAT number, codice fiscale).\n\t * @example ```\"VAT ID IT02382940977\"```\n\t */\n\tbilling_info?: string | null\n\n\tgeocoder?: Geocoder | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface AddressCreate extends ResourceCreate {\n\t\n\t/** \n\t * Indicates if it's a business or a personal address.\n\t */\n\tbusiness?: boolean | null\n\t/** \n\t * Address first name (personal).\n\t * @example ```\"John\"```\n\t */\n\tfirst_name?: string | null\n\t/** \n\t * Address last name (personal).\n\t * @example ```\"Smith\"```\n\t */\n\tlast_name?: string | null\n\t/** \n\t * Address company name (business).\n\t * @example ```\"The Red Brand Inc.\"```\n\t */\n\tcompany?: string | null\n\t/** \n\t * Address line 1, i.e. Street address, PO Box.\n\t * @example ```\"2883 Geraldine Lane\"```\n\t */\n\tline_1: string\n\t/** \n\t * Address line 2, i.e. Apartment, Suite, Building.\n\t * @example ```\"Apt.23\"```\n\t */\n\tline_2?: string | null\n\t/** \n\t * Address city.\n\t * @example ```\"New York\"```\n\t */\n\tcity: string\n\t/** \n\t * ZIP or postal code.\n\t * @example ```\"10013\"```\n\t */\n\tzip_code?: string | null\n\t/** \n\t * State, province or region code.\n\t * @example ```\"NY\"```\n\t */\n\tstate_code?: string | null\n\t/** \n\t * The international 2-letter country code as defined by the ISO 3166-1 standard.\n\t * @example ```\"US\"```\n\t */\n\tcountry_code: string\n\t/** \n\t * Phone number (including extension).\n\t * @example ```\"(212) 646-338-1228\"```\n\t */\n\tphone: string\n\t/** \n\t * Email address.\n\t * @example ```\"john@example.com\"```\n\t */\n\temail?: string | null\n\t/** \n\t * A free notes attached to the address. When used as a shipping address, this can be useful to let the customers add specific delivery instructions.\n\t * @example ```\"Please ring the bell twice\"```\n\t */\n\tnotes?: string | null\n\t/** \n\t * The address geocoded latitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n\t * @example ```40.6971494```\n\t */\n\tlat?: number | null\n\t/** \n\t * The address geocoded longitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n\t * @example ```-74.2598672```\n\t */\n\tlng?: number | null\n\t/** \n\t * Customer's billing information (i.e. VAT number, codice fiscale).\n\t * @example ```\"VAT ID IT02382940977\"```\n\t */\n\tbilling_info?: string | null\n\n\tgeocoder?: GeocoderRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface AddressUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Indicates if it's a business or a personal address.\n\t */\n\tbusiness?: boolean | null\n\t/** \n\t * Address first name (personal).\n\t * @example ```\"John\"```\n\t */\n\tfirst_name?: string | null\n\t/** \n\t * Address last name (personal).\n\t * @example ```\"Smith\"```\n\t */\n\tlast_name?: string | null\n\t/** \n\t * Address company name (business).\n\t * @example ```\"The Red Brand Inc.\"```\n\t */\n\tcompany?: string | null\n\t/** \n\t * Address line 1, i.e. Street address, PO Box.\n\t * @example ```\"2883 Geraldine Lane\"```\n\t */\n\tline_1?: string | null\n\t/** \n\t * Address line 2, i.e. Apartment, Suite, Building.\n\t * @example ```\"Apt.23\"```\n\t */\n\tline_2?: string | null\n\t/** \n\t * Address city.\n\t * @example ```\"New York\"```\n\t */\n\tcity?: string | null\n\t/** \n\t * ZIP or postal code.\n\t * @example ```\"10013\"```\n\t */\n\tzip_code?: string | null\n\t/** \n\t * State, province or region code.\n\t * @example ```\"NY\"```\n\t */\n\tstate_code?: string | null\n\t/** \n\t * The international 2-letter country code as defined by the ISO 3166-1 standard.\n\t * @example ```\"US\"```\n\t */\n\tcountry_code?: string | null\n\t/** \n\t * Phone number (including extension).\n\t * @example ```\"(212) 646-338-1228\"```\n\t */\n\tphone?: string | null\n\t/** \n\t * Email address.\n\t * @example ```\"john@example.com\"```\n\t */\n\temail?: string | null\n\t/** \n\t * A free notes attached to the address. When used as a shipping address, this can be useful to let the customers add specific delivery instructions.\n\t * @example ```\"Please ring the bell twice\"```\n\t */\n\tnotes?: string | null\n\t/** \n\t * The address geocoded latitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n\t * @example ```40.6971494```\n\t */\n\tlat?: number | null\n\t/** \n\t * The address geocoded longitude. This is automatically generated when creating a shipping/billing address for an order and a valid geocoder is attached to the order's market.\n\t * @example ```-74.2598672```\n\t */\n\tlng?: number | null\n\t/** \n\t * Customer's billing information (i.e. VAT number, codice fiscale).\n\t * @example ```\"VAT ID IT02382940977\"```\n\t */\n\tbilling_info?: string | 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\n\tgeocoder?: GeocoderRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass Addresses extends ApiResource<Address> {\n\n\tstatic readonly TYPE: AddressType = 'addresses' as const\n\n\tasync create(resource: AddressCreate, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address> {\n\t\treturn this.resources.create<AddressCreate, Address>({ ...resource, type: Addresses.TYPE }, params, options)\n\t}\n\n\tasync update(resource: AddressUpdate, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address> {\n\t\treturn this.resources.update<AddressUpdate, Address>({ ...resource, type: Addresses.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: Addresses.TYPE } : id, options)\n\t}\n\n\tasync geocoder(addressId: string | Address, params?: QueryParamsRetrieve<Geocoder>, options?: ResourcesConfig): Promise<Geocoder> {\n\t\tconst _addressId = (addressId as Address).id || addressId as string\n\t\treturn this.resources.fetch<Geocoder>({ type: 'geocoders' }, `addresses/${_addressId}/geocoder`, params, options) as unknown as Geocoder\n\t}\n\n\tasync events(addressId: string | Address, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _addressId = (addressId as Address).id || addressId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `addresses/${_addressId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(addressId: string | Address, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _addressId = (addressId as Address).id || addressId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `addresses/${_addressId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(addressId: string | Address, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _addressId = (addressId as Address).id || addressId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `addresses/${_addressId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(addressId: string | Address, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _addressId = (addressId as Address).id || addressId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `addresses/${_addressId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _add_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address> {\n\t\treturn this.resources.update<AddressUpdate, Address>({ id: (typeof id === 'string')? id: id.id, type: Addresses.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address> {\n\t\treturn this.resources.update<AddressUpdate, Address>({ id: (typeof id === 'string')? id: id.id, type: Addresses.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisAddress(resource: any): resource is Address {\n\t\treturn resource.type && (resource.type === Addresses.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): AddressRel {\n\t\treturn super.relationshipOneToOne<AddressRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): AddressRel[] {\n\t\treturn super.relationshipOneToMany<AddressRel>(...ids)\n\t}\n\n\n\ttype(): AddressType {\n\t\treturn Addresses.TYPE\n\t}\n\n}\n\n\nconst instance = new Addresses()\nexport default instance\n\nexport type { Addresses, Address, AddressCreate, AddressUpdate, AddressType }\n"]}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/stock_reservations.ts
|
4
|
+
var StockReservations = class _StockReservations extends ApiResource {
|
5
|
+
static TYPE = "stock_reservations";
|
6
|
+
async create(resource, params, options) {
|
7
|
+
return this.resources.create({ ...resource, type: _StockReservations.TYPE }, params, options);
|
8
|
+
}
|
9
|
+
async update(resource, params, options) {
|
10
|
+
return this.resources.update({ ...resource, type: _StockReservations.TYPE }, params, options);
|
11
|
+
}
|
12
|
+
async delete(id, options) {
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _StockReservations.TYPE } : id, options);
|
14
|
+
}
|
15
|
+
async line_item(stockReservationId, params, options) {
|
16
|
+
const _stockReservationId = stockReservationId.id || stockReservationId;
|
17
|
+
return this.resources.fetch({ type: "line_items" }, `stock_reservations/${_stockReservationId}/line_item`, params, options);
|
18
|
+
}
|
19
|
+
async order(stockReservationId, params, options) {
|
20
|
+
const _stockReservationId = stockReservationId.id || stockReservationId;
|
21
|
+
return this.resources.fetch({ type: "orders" }, `stock_reservations/${_stockReservationId}/order`, params, options);
|
22
|
+
}
|
23
|
+
async stock_line_item(stockReservationId, params, options) {
|
24
|
+
const _stockReservationId = stockReservationId.id || stockReservationId;
|
25
|
+
return this.resources.fetch({ type: "stock_line_items" }, `stock_reservations/${_stockReservationId}/stock_line_item`, params, options);
|
26
|
+
}
|
27
|
+
async stock_transfer(stockReservationId, params, options) {
|
28
|
+
const _stockReservationId = stockReservationId.id || stockReservationId;
|
29
|
+
return this.resources.fetch({ type: "stock_transfers" }, `stock_reservations/${_stockReservationId}/stock_transfer`, params, options);
|
30
|
+
}
|
31
|
+
async stock_item(stockReservationId, params, options) {
|
32
|
+
const _stockReservationId = stockReservationId.id || stockReservationId;
|
33
|
+
return this.resources.fetch({ type: "stock_items" }, `stock_reservations/${_stockReservationId}/stock_item`, params, options);
|
34
|
+
}
|
35
|
+
async reserved_stock(stockReservationId, params, options) {
|
36
|
+
const _stockReservationId = stockReservationId.id || stockReservationId;
|
37
|
+
return this.resources.fetch({ type: "reserved_stocks" }, `stock_reservations/${_stockReservationId}/reserved_stock`, params, options);
|
38
|
+
}
|
39
|
+
async sku(stockReservationId, params, options) {
|
40
|
+
const _stockReservationId = stockReservationId.id || stockReservationId;
|
41
|
+
return this.resources.fetch({ type: "skus" }, `stock_reservations/${_stockReservationId}/sku`, params, options);
|
42
|
+
}
|
43
|
+
async event_stores(stockReservationId, params, options) {
|
44
|
+
const _stockReservationId = stockReservationId.id || stockReservationId;
|
45
|
+
return this.resources.fetch({ type: "event_stores" }, `stock_reservations/${_stockReservationId}/event_stores`, params, options);
|
46
|
+
}
|
47
|
+
async _pending(id, params, options) {
|
48
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StockReservations.TYPE, _pending: true }, params, options);
|
49
|
+
}
|
50
|
+
isStockReservation(resource) {
|
51
|
+
return resource.type && resource.type === _StockReservations.TYPE;
|
52
|
+
}
|
53
|
+
relationship(id) {
|
54
|
+
return super.relationshipOneToOne(id);
|
55
|
+
}
|
56
|
+
relationshipToMany(...ids) {
|
57
|
+
return super.relationshipOneToMany(...ids);
|
58
|
+
}
|
59
|
+
type() {
|
60
|
+
return _StockReservations.TYPE;
|
61
|
+
}
|
62
|
+
};
|
63
|
+
var instance = new StockReservations();
|
64
|
+
var stock_reservations_default = instance;
|
65
|
+
|
66
|
+
export { stock_reservations_default };
|
67
|
+
//# sourceMappingURL=chunk-43SLAYP5.js.map
|
68
|
+
//# sourceMappingURL=chunk-43SLAYP5.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/stock_reservations.ts"],"names":[],"mappings":";;;AAoFA,IAAM,iBAAA,GAAN,MAAM,kBAAA,SAA0B,WAAA,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,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,kBAAA,CAAkB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACzG;AAAA,EAEA,MAAM,SAAA,CAAU,kBAAA,EAA+C,MAAA,EAAwC,OAAA,EAA8C;AACpJ,IAAA,MAAM,mBAAA,GAAuB,mBAAwC,EAAA,IAAM,kBAAA;AAC3E,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAgB,EAAE,IAAA,EAAM,YAAA,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O,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,kBAAA,CAAkB,IAAA,EAAM,UAAU,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EAClL;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-43SLAYP5.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 { LineItem } from './line_items'\nimport type { Order } from './orders'\nimport type { StockLineItem } from './stock_line_items'\nimport type { StockTransfer } from './stock_transfers'\nimport type { StockItem, StockItemType } from './stock_items'\nimport type { ReservedStock } from './reserved_stocks'\nimport type { Sku } from './skus'\nimport type { EventStore } from './event_stores'\n\n\ntype StockReservationType = 'stock_reservations'\ntype StockReservationRel = ResourceRel & { type: StockReservationType }\ntype StockItemRel = ResourceRel & { type: StockItemType }\n\n\nexport type StockReservationSort = Pick<StockReservation, 'id' | 'status' | 'quantity' | 'expires_at'> & ResourceSort\n// export type StockReservationFilter = Pick<StockReservation, 'id' | 'status' | 'quantity' | 'expires_at'> & ResourceFilter\n\n\ninterface StockReservation extends Resource {\n\t\n\treadonly type: StockReservationType\n\n\t/** \n\t * The stock reservation status. One of 'draft' (default), or 'pending'.\n\t * @example ```\"draft\"```\n\t */\n\tstatus: 'draft' | 'pending'\n\t/** \n\t * The stock reservation quantity.\n\t * @example ```4```\n\t */\n\tquantity: number\n\t/** \n\t * The expiration date/time of this stock reservation.\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\n\tline_item?: LineItem | null\n\torder?: Order | null\n\tstock_line_item?: StockLineItem | null\n\tstock_transfer?: StockTransfer | null\n\tstock_item?: StockItem | null\n\treserved_stock?: ReservedStock | null\n\tsku?: Sku | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface StockReservationCreate extends ResourceCreate {\n\t\n\t/** \n\t * The stock reservation quantity.\n\t * @example ```4```\n\t */\n\tquantity: number\n\n\tstock_item: StockItemRel\n\n}\n\n\ninterface StockReservationUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The stock reservation quantity.\n\t * @example ```4```\n\t */\n\tquantity?: number | null\n\t/** \n\t * Send this attribute if you want to mark this stock reservation as pending.\n\t * @example ```true```\n\t */\n\t_pending?: boolean | null\n\t\n}\n\n\nclass StockReservations extends ApiResource<StockReservation> {\n\n\tstatic readonly TYPE: StockReservationType = 'stock_reservations' as const\n\n\tasync create(resource: StockReservationCreate, params?: QueryParamsRetrieve<StockReservation>, options?: ResourcesConfig): Promise<StockReservation> {\n\t\treturn this.resources.create<StockReservationCreate, StockReservation>({ ...resource, type: StockReservations.TYPE }, params, options)\n\t}\n\n\tasync update(resource: StockReservationUpdate, params?: QueryParamsRetrieve<StockReservation>, options?: ResourcesConfig): Promise<StockReservation> {\n\t\treturn this.resources.update<StockReservationUpdate, StockReservation>({ ...resource, type: StockReservations.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: StockReservations.TYPE } : id, options)\n\t}\n\n\tasync line_item(stockReservationId: string | StockReservation, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem> {\n\t\tconst _stockReservationId = (stockReservationId as StockReservation).id || stockReservationId as string\n\t\treturn this.resources.fetch<LineItem>({ type: 'line_items' }, `stock_reservations/${_stockReservationId}/line_item`, params, options) as unknown as LineItem\n\t}\n\n\tasync order(stockReservationId: string | StockReservation, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _stockReservationId = (stockReservationId as StockReservation).id || stockReservationId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `stock_reservations/${_stockReservationId}/order`, params, options) as unknown as Order\n\t}\n\n\tasync stock_line_item(stockReservationId: string | StockReservation, params?: QueryParamsRetrieve<StockLineItem>, options?: ResourcesConfig): Promise<StockLineItem> {\n\t\tconst _stockReservationId = (stockReservationId as StockReservation).id || stockReservationId as string\n\t\treturn this.resources.fetch<StockLineItem>({ type: 'stock_line_items' }, `stock_reservations/${_stockReservationId}/stock_line_item`, params, options) as unknown as StockLineItem\n\t}\n\n\tasync stock_transfer(stockReservationId: string | StockReservation, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer> {\n\t\tconst _stockReservationId = (stockReservationId as StockReservation).id || stockReservationId as string\n\t\treturn this.resources.fetch<StockTransfer>({ type: 'stock_transfers' }, `stock_reservations/${_stockReservationId}/stock_transfer`, params, options) as unknown as StockTransfer\n\t}\n\n\tasync stock_item(stockReservationId: string | StockReservation, params?: QueryParamsRetrieve<StockItem>, options?: ResourcesConfig): Promise<StockItem> {\n\t\tconst _stockReservationId = (stockReservationId as StockReservation).id || stockReservationId as string\n\t\treturn this.resources.fetch<StockItem>({ type: 'stock_items' }, `stock_reservations/${_stockReservationId}/stock_item`, params, options) as unknown as StockItem\n\t}\n\n\tasync reserved_stock(stockReservationId: string | StockReservation, params?: QueryParamsRetrieve<ReservedStock>, options?: ResourcesConfig): Promise<ReservedStock> {\n\t\tconst _stockReservationId = (stockReservationId as StockReservation).id || stockReservationId as string\n\t\treturn this.resources.fetch<ReservedStock>({ type: 'reserved_stocks' }, `stock_reservations/${_stockReservationId}/reserved_stock`, params, options) as unknown as ReservedStock\n\t}\n\n\tasync sku(stockReservationId: string | StockReservation, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku> {\n\t\tconst _stockReservationId = (stockReservationId as StockReservation).id || stockReservationId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `stock_reservations/${_stockReservationId}/sku`, params, options) as unknown as Sku\n\t}\n\n\tasync event_stores(stockReservationId: string | StockReservation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _stockReservationId = (stockReservationId as StockReservation).id || stockReservationId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `stock_reservations/${_stockReservationId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _pending(id: string | StockReservation, params?: QueryParamsRetrieve<StockReservation>, options?: ResourcesConfig): Promise<StockReservation> {\n\t\treturn this.resources.update<StockReservationUpdate, StockReservation>({ id: (typeof id === 'string')? id: id.id, type: StockReservations.TYPE, _pending: true }, params, options)\n\t}\n\n\n\tisStockReservation(resource: any): resource is StockReservation {\n\t\treturn resource.type && (resource.type === StockReservations.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): StockReservationRel {\n\t\treturn super.relationshipOneToOne<StockReservationRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): StockReservationRel[] {\n\t\treturn super.relationshipOneToMany<StockReservationRel>(...ids)\n\t}\n\n\n\ttype(): StockReservationType {\n\t\treturn StockReservations.TYPE\n\t}\n\n}\n\n\nconst instance = new StockReservations()\nexport default instance\n\nexport type { StockReservations, StockReservation, StockReservationCreate, StockReservationUpdate, StockReservationType }\n"]}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var chunkU22VLCMN_cjs = require('./chunk-U22VLCMN.cjs');
|
4
|
+
|
5
|
+
// src/resources/gift_cards.ts
|
6
|
+
var GiftCards = class _GiftCards extends chunkU22VLCMN_cjs.ApiResource {
|
7
|
+
static TYPE = "gift_cards";
|
8
|
+
async create(resource, params, options) {
|
9
|
+
return this.resources.create({ ...resource, type: _GiftCards.TYPE }, params, options);
|
10
|
+
}
|
11
|
+
async update(resource, params, options) {
|
12
|
+
return this.resources.update({ ...resource, type: _GiftCards.TYPE }, params, options);
|
13
|
+
}
|
14
|
+
async delete(id, options) {
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _GiftCards.TYPE } : id, options);
|
16
|
+
}
|
17
|
+
async market(giftCardId, params, options) {
|
18
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
19
|
+
return this.resources.fetch({ type: "markets" }, `gift_cards/${_giftCardId}/market`, params, options);
|
20
|
+
}
|
21
|
+
async gift_card_recipient(giftCardId, params, options) {
|
22
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
23
|
+
return this.resources.fetch({ type: "gift_card_recipients" }, `gift_cards/${_giftCardId}/gift_card_recipient`, params, options);
|
24
|
+
}
|
25
|
+
async attachments(giftCardId, params, options) {
|
26
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
27
|
+
return this.resources.fetch({ type: "attachments" }, `gift_cards/${_giftCardId}/attachments`, params, options);
|
28
|
+
}
|
29
|
+
async events(giftCardId, params, options) {
|
30
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
31
|
+
return this.resources.fetch({ type: "events" }, `gift_cards/${_giftCardId}/events`, params, options);
|
32
|
+
}
|
33
|
+
async tags(giftCardId, params, options) {
|
34
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
35
|
+
return this.resources.fetch({ type: "tags" }, `gift_cards/${_giftCardId}/tags`, params, options);
|
36
|
+
}
|
37
|
+
async versions(giftCardId, params, options) {
|
38
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
39
|
+
return this.resources.fetch({ type: "versions" }, `gift_cards/${_giftCardId}/versions`, params, options);
|
40
|
+
}
|
41
|
+
async event_stores(giftCardId, params, options) {
|
42
|
+
const _giftCardId = giftCardId.id || giftCardId;
|
43
|
+
return this.resources.fetch({ type: "event_stores" }, `gift_cards/${_giftCardId}/event_stores`, params, options);
|
44
|
+
}
|
45
|
+
async _purchase(id, params, options) {
|
46
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _purchase: true }, params, options);
|
47
|
+
}
|
48
|
+
async _activate(id, params, options) {
|
49
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _activate: true }, params, options);
|
50
|
+
}
|
51
|
+
async _deactivate(id, params, options) {
|
52
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _deactivate: true }, params, options);
|
53
|
+
}
|
54
|
+
async _balance_change_cents(id, triggerValue, params, options) {
|
55
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _balance_change_cents: triggerValue }, params, options);
|
56
|
+
}
|
57
|
+
async _add_tags(id, triggerValue, params, options) {
|
58
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _add_tags: triggerValue }, params, options);
|
59
|
+
}
|
60
|
+
async _remove_tags(id, triggerValue, params, options) {
|
61
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _GiftCards.TYPE, _remove_tags: triggerValue }, params, options);
|
62
|
+
}
|
63
|
+
isGiftCard(resource) {
|
64
|
+
return resource.type && resource.type === _GiftCards.TYPE;
|
65
|
+
}
|
66
|
+
relationship(id) {
|
67
|
+
return super.relationshipOneToOne(id);
|
68
|
+
}
|
69
|
+
relationshipToMany(...ids) {
|
70
|
+
return super.relationshipOneToMany(...ids);
|
71
|
+
}
|
72
|
+
type() {
|
73
|
+
return _GiftCards.TYPE;
|
74
|
+
}
|
75
|
+
};
|
76
|
+
var instance = new GiftCards();
|
77
|
+
var gift_cards_default = instance;
|
78
|
+
|
79
|
+
exports.gift_cards_default = gift_cards_default;
|
80
|
+
//# sourceMappingURL=chunk-45YSQMGA.cjs.map
|
81
|
+
//# sourceMappingURL=chunk-45YSQMGA.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/gift_cards.ts"],"names":["ApiResource"],"mappings":";;;;;AAwRA,IAAM,SAAA,GAAN,MAAM,UAAA,SAAkBA,6BAAA,CAAsB;AAAA,EAE7C,OAAgB,IAAA,GAAqB,YAAA;AAAA,EAErC,MAAM,MAAA,CAAO,QAAA,EAA0B,MAAA,EAAwC,OAAA,EAA8C;AAC5H,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAiC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,UAAA,CAAU,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC9G;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA0B,MAAA,EAAwC,OAAA,EAA8C;AAC5H,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAiC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,UAAA,CAAU,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC9G;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,UAAA,CAAU,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACjG;AAAA,EAEA,MAAM,MAAA,CAAO,UAAA,EAA+B,MAAA,EAAsC,OAAA,EAA4C;AAC7H,IAAA,MAAM,WAAA,GAAe,WAAwB,EAAA,IAAM,UAAA;AACnD,IAAA,OAAO,IAAA,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,CAAA;AAAA,EACtK;AAAA,EAGA,WAAW,QAAA,EAAqC;AAC/C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,UAAA,CAAU,IAAA;AAAA,EACtD;AAAA,EAGA,aAAa,EAAA,EAA6C;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAkC,EAAE,CAAA;AAAA,EAClD;AAAA,EAEA,sBAAsB,GAAA,EAA8B;AACnD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAmC,GAAG,GAAG,CAAA;AAAA,EACvD;AAAA,EAGA,IAAA,GAAqB;AACpB,IAAA,OAAO,UAAA,CAAU,IAAA;AAAA,EAClB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,SAAA,EAAU;AAC/B,IAAO,kBAAA,GAAQ","file":"chunk-45YSQMGA.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 { GiftCardRecipient, GiftCardRecipientType } from './gift_card_recipients'\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'\n\n\ntype GiftCardType = 'gift_cards'\ntype GiftCardRel = ResourceRel & { type: GiftCardType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype GiftCardRecipientRel = ResourceRel & { type: GiftCardRecipientType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type GiftCardSort = Pick<GiftCard, 'id' | 'status' | 'currency_code' | 'balance_cents' | 'balance_max_cents' | 'expires_at'> & ResourceSort\n// export type GiftCardFilter = Pick<GiftCard, 'id' | 'status' | 'code' | 'currency_code' | 'balance_cents' | 'balance_max_cents' | 'single_use' | 'rechargeable' | 'expires_at'> & ResourceFilter\n\n\ninterface GiftCard extends Resource {\n\t\n\treadonly type: GiftCardType\n\n\t/** \n\t * The gift card status. One of 'draft' (default), 'inactive', 'active', or 'redeemed'.\n\t * @example ```\"draft\"```\n\t */\n\tstatus: 'draft' | 'inactive' | 'active' | 'redeemed'\n\t/** \n\t * The gift card code UUID. If not set, it's automatically generated.\n\t * @example ```\"32db311a-75d9-4c17-9e34-2be220137ad6\"```\n\t */\n\tcode?: 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 * The gift card initial balance, in cents.\n\t * @example ```15000```\n\t */\n\tinitial_balance_cents: number\n\t/** \n\t * The gift card initial balance, float.\n\t * @example ```150```\n\t */\n\tinitial_balance_float: number\n\t/** \n\t * The gift card initial balance, formatted.\n\t * @example ```\"€150,00\"```\n\t */\n\tformatted_initial_balance: string\n\t/** \n\t * The gift card balance, in cents.\n\t * @example ```15000```\n\t */\n\tbalance_cents: number\n\t/** \n\t * The gift card balance, float.\n\t * @example ```150```\n\t */\n\tbalance_float: number\n\t/** \n\t * The gift card balance, formatted.\n\t * @example ```\"€150,00\"```\n\t */\n\tformatted_balance: string\n\t/** \n\t * The gift card balance max, in cents.\n\t * @example ```100000```\n\t */\n\tbalance_max_cents?: number | null\n\t/** \n\t * The gift card balance max, float.\n\t * @example ```1000```\n\t */\n\tbalance_max_float?: number | null\n\t/** \n\t * The gift card balance max, formatted.\n\t * @example ```\"€1000,00\"```\n\t */\n\tformatted_balance_max?: string | null\n\t/** \n\t * The gift card balance log. Tracks all the gift card transactions.\n\t * @example ```[{\"datetime\":\"2019-12-23T12:00:00.000Z\",\"balance_change_cents\":-10000},{\"datetime\":\"2020-02-01T12:00:00.000Z\",\"balance_change_cents\":5000}]```\n\t */\n\tbalance_log: Array<Record<string, any>>\n\t/** \n\t * The gift card usage log. Tracks all the gift card usage actions by orders.\n\t * @example ```{\"eNoKkhmbNp\":[{\"action\":\"use\",\"amount_cents\":-1000,\"balance_cents\":4000,\"order_number\":\"11111\",\"datetime\":\"2020-02-01T12:00:00.000Z\"}]}```\n\t */\n\tusage_log: Record<string, any>\n\t/** \n\t * Indicates if the gift card can be used only one.\n\t */\n\tsingle_use?: boolean | null\n\t/** \n\t * Indicates if the gift card can be recharged.\n\t * @example ```true```\n\t */\n\trechargeable?: boolean | null\n\t/** \n\t * Indicates if redeemed gift card amount is distributed for tax calculation.\n\t * @example ```true```\n\t */\n\tdistribute_discount?: boolean | null\n\t/** \n\t * The URL of an image that represents the gift card.\n\t * @example ```\"https://img.yourdomain.com/gift_cards/32db311a.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * Time at which the gift card will expire.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The email address of the associated recipient. When creating or updating a gift card, this is a shortcut to find or create the associated recipient by email.\n\t * @example ```\"john@example.com\"```\n\t */\n\trecipient_email?: string | null\n\n\tmarket?: Market | null\n\tgift_card_recipient?: GiftCardRecipient | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface GiftCardCreate extends ResourceCreate {\n\t\n\t/** \n\t * The gift card code UUID. If not set, it's automatically generated.\n\t * @example ```\"32db311a-75d9-4c17-9e34-2be220137ad6\"```\n\t */\n\tcode?: 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 * The gift card balance, in cents.\n\t * @example ```15000```\n\t */\n\tbalance_cents: number\n\t/** \n\t * The gift card balance max, in cents.\n\t * @example ```100000```\n\t */\n\tbalance_max_cents?: number | null\n\t/** \n\t * Indicates if the gift card can be used only one.\n\t */\n\tsingle_use?: boolean | null\n\t/** \n\t * Indicates if the gift card can be recharged.\n\t * @example ```true```\n\t */\n\trechargeable?: boolean | null\n\t/** \n\t * Indicates if redeemed gift card amount is distributed for tax calculation.\n\t * @example ```true```\n\t */\n\tdistribute_discount?: boolean | null\n\t/** \n\t * The URL of an image that represents the gift card.\n\t * @example ```\"https://img.yourdomain.com/gift_cards/32db311a.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * Time at which the gift card will expire.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The email address of the associated recipient. When creating or updating a gift card, this is a shortcut to find or create the associated recipient by email.\n\t * @example ```\"john@example.com\"```\n\t */\n\trecipient_email?: string | null\n\n\tmarket?: MarketRel | null\n\tgift_card_recipient?: GiftCardRecipientRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface GiftCardUpdate extends ResourceUpdate {\n\t\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 * The gift card balance, in cents.\n\t * @example ```15000```\n\t */\n\tbalance_cents?: number | null\n\t/** \n\t * The gift card balance max, in cents.\n\t * @example ```100000```\n\t */\n\tbalance_max_cents?: number | null\n\t/** \n\t * Indicates if the gift card can be used only one.\n\t */\n\tsingle_use?: boolean | null\n\t/** \n\t * Indicates if the gift card can be recharged.\n\t * @example ```true```\n\t */\n\trechargeable?: boolean | null\n\t/** \n\t * Indicates if redeemed gift card amount is distributed for tax calculation.\n\t * @example ```true```\n\t */\n\tdistribute_discount?: boolean | null\n\t/** \n\t * The URL of an image that represents the gift card.\n\t * @example ```\"https://img.yourdomain.com/gift_cards/32db311a.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * Time at which the gift card will expire.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The email address of the associated recipient. When creating or updating a gift card, this is a shortcut to find or create the associated recipient by email.\n\t * @example ```\"john@example.com\"```\n\t */\n\trecipient_email?: string | null\n\t/** \n\t * Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.\n\t * @example ```true```\n\t */\n\t_purchase?: boolean | null\n\t/** \n\t * Send this attribute if you want to activate a gift card.\n\t * @example ```true```\n\t */\n\t_activate?: boolean | null\n\t/** \n\t * Send this attribute if you want to deactivate a gift card.\n\t * @example ```true```\n\t */\n\t_deactivate?: boolean | null\n\t/** \n\t * The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable).\n\t * @example ```-5000```\n\t */\n\t_balance_change_cents?: number | 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\n\tmarket?: MarketRel | null\n\tgift_card_recipient?: GiftCardRecipientRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass GiftCards extends ApiResource<GiftCard> {\n\n\tstatic readonly TYPE: GiftCardType = 'gift_cards' as const\n\n\tasync create(resource: GiftCardCreate, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.create<GiftCardCreate, GiftCard>({ ...resource, type: GiftCards.TYPE }, params, options)\n\t}\n\n\tasync update(resource: GiftCardUpdate, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ ...resource, type: GiftCards.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: GiftCards.TYPE } : id, options)\n\t}\n\n\tasync market(giftCardId: string | GiftCard, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `gift_cards/${_giftCardId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync gift_card_recipient(giftCardId: string | GiftCard, params?: QueryParamsRetrieve<GiftCardRecipient>, options?: ResourcesConfig): Promise<GiftCardRecipient> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<GiftCardRecipient>({ type: 'gift_card_recipients' }, `gift_cards/${_giftCardId}/gift_card_recipient`, params, options) as unknown as GiftCardRecipient\n\t}\n\n\tasync attachments(giftCardId: string | GiftCard, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `gift_cards/${_giftCardId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(giftCardId: string | GiftCard, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `gift_cards/${_giftCardId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(giftCardId: string | GiftCard, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `gift_cards/${_giftCardId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(giftCardId: string | GiftCard, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `gift_cards/${_giftCardId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(giftCardId: string | GiftCard, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _giftCardId = (giftCardId as GiftCard).id || giftCardId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `gift_cards/${_giftCardId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _purchase(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _purchase: true }, params, options)\n\t}\n\n\tasync _activate(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _activate: true }, params, options)\n\t}\n\n\tasync _deactivate(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _deactivate: true }, params, options)\n\t}\n\n\tasync _balance_change_cents(id: string | GiftCard, triggerValue: number, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _balance_change_cents: triggerValue }, params, options)\n\t}\n\n\tasync _add_tags(id: string | GiftCard, triggerValue: string, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | GiftCard, triggerValue: string, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard> {\n\t\treturn this.resources.update<GiftCardUpdate, GiftCard>({ id: (typeof id === 'string')? id: id.id, type: GiftCards.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisGiftCard(resource: any): resource is GiftCard {\n\t\treturn resource.type && (resource.type === GiftCards.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): GiftCardRel {\n\t\treturn super.relationshipOneToOne<GiftCardRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): GiftCardRel[] {\n\t\treturn super.relationshipOneToMany<GiftCardRel>(...ids)\n\t}\n\n\n\ttype(): GiftCardType {\n\t\treturn GiftCards.TYPE\n\t}\n\n}\n\n\nconst instance = new GiftCards()\nexport default instance\n\nexport type { GiftCards, GiftCard, GiftCardCreate, GiftCardUpdate, GiftCardType }\n"]}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/axerve_gateways.ts
|
4
|
+
var AxerveGateways = class _AxerveGateways extends ApiResource {
|
5
|
+
static TYPE = "axerve_gateways";
|
6
|
+
async create(resource, params, options) {
|
7
|
+
return this.resources.create({ ...resource, type: _AxerveGateways.TYPE }, params, options);
|
8
|
+
}
|
9
|
+
async update(resource, params, options) {
|
10
|
+
return this.resources.update({ ...resource, type: _AxerveGateways.TYPE }, params, options);
|
11
|
+
}
|
12
|
+
async delete(id, options) {
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _AxerveGateways.TYPE } : id, options);
|
14
|
+
}
|
15
|
+
async payment_methods(axerveGatewayId, params, options) {
|
16
|
+
const _axerveGatewayId = axerveGatewayId.id || axerveGatewayId;
|
17
|
+
return this.resources.fetch({ type: "payment_methods" }, `axerve_gateways/${_axerveGatewayId}/payment_methods`, params, options);
|
18
|
+
}
|
19
|
+
async versions(axerveGatewayId, params, options) {
|
20
|
+
const _axerveGatewayId = axerveGatewayId.id || axerveGatewayId;
|
21
|
+
return this.resources.fetch({ type: "versions" }, `axerve_gateways/${_axerveGatewayId}/versions`, params, options);
|
22
|
+
}
|
23
|
+
async event_stores(axerveGatewayId, params, options) {
|
24
|
+
const _axerveGatewayId = axerveGatewayId.id || axerveGatewayId;
|
25
|
+
return this.resources.fetch({ type: "event_stores" }, `axerve_gateways/${_axerveGatewayId}/event_stores`, params, options);
|
26
|
+
}
|
27
|
+
async axerve_payments(axerveGatewayId, params, options) {
|
28
|
+
const _axerveGatewayId = axerveGatewayId.id || axerveGatewayId;
|
29
|
+
return this.resources.fetch({ type: "axerve_payments" }, `axerve_gateways/${_axerveGatewayId}/axerve_payments`, params, options);
|
30
|
+
}
|
31
|
+
isAxerveGateway(resource) {
|
32
|
+
return resource.type && resource.type === _AxerveGateways.TYPE;
|
33
|
+
}
|
34
|
+
relationship(id) {
|
35
|
+
return super.relationshipOneToOne(id);
|
36
|
+
}
|
37
|
+
relationshipToMany(...ids) {
|
38
|
+
return super.relationshipOneToMany(...ids);
|
39
|
+
}
|
40
|
+
type() {
|
41
|
+
return _AxerveGateways.TYPE;
|
42
|
+
}
|
43
|
+
};
|
44
|
+
var instance = new AxerveGateways();
|
45
|
+
var axerve_gateways_default = instance;
|
46
|
+
|
47
|
+
export { axerve_gateways_default };
|
48
|
+
//# sourceMappingURL=chunk-4ATZM33H.js.map
|
49
|
+
//# sourceMappingURL=chunk-4ATZM33H.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/axerve_gateways.ts"],"names":[],"mappings":";;;AA6FA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,WAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,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A,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;AAAA,EAEA,MAAM,eAAA,CAAgB,eAAA,EAAyC,MAAA,EAAyC,OAAA,EAAiE;AACxK,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAqB,EAAE,IAAA,EAAM,iBAAA,EAAkB,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,gBAAA,CAAA,EAAoB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/I;AAAA,EAGA,gBAAgB,QAAA,EAA0C;AACzD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAGA,aAAa,EAAA,EAAkD;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-4ATZM33H.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 { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { AxervePayment, AxervePaymentType } from './axerve_payments'\n\n\ntype AxerveGatewayType = 'axerve_gateways'\ntype AxerveGatewayRel = ResourceRel & { type: AxerveGatewayType }\ntype AxervePaymentRel = ResourceRel & { type: AxervePaymentType }\n\n\nexport type AxerveGatewaySort = Pick<AxerveGateway, 'id' | 'name'> & ResourceSort\n// export type AxerveGatewayFilter = Pick<AxerveGateway, 'id' | 'name'> & ResourceFilter\n\n\ninterface AxerveGateway extends Resource {\n\t\n\treadonly type: AxerveGatewayType\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 merchant login code.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tlogin: string\n\t/** \n\t * The gateway webhook URL, generated automatically.\n\t * @example ```\"https://core.commercelayer.co/webhook_callbacks/axerve_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\taxerve_payments?: AxervePayment[] | null\n\n}\n\n\ninterface AxerveGatewayCreate 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 merchant login code.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tlogin: string\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key: string\n\n\taxerve_payments?: AxervePaymentRel[] | null\n\n}\n\n\ninterface AxerveGatewayUpdate 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 merchant login code.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tlogin?: string | null\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key?: string | null\n\n\taxerve_payments?: AxervePaymentRel[] | null\n\n}\n\n\nclass AxerveGateways extends ApiResource<AxerveGateway> {\n\n\tstatic readonly TYPE: AxerveGatewayType = 'axerve_gateways' as const\n\n\tasync create(resource: AxerveGatewayCreate, params?: QueryParamsRetrieve<AxerveGateway>, options?: ResourcesConfig): Promise<AxerveGateway> {\n\t\treturn this.resources.create<AxerveGatewayCreate, AxerveGateway>({ ...resource, type: AxerveGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: AxerveGatewayUpdate, params?: QueryParamsRetrieve<AxerveGateway>, options?: ResourcesConfig): Promise<AxerveGateway> {\n\t\treturn this.resources.update<AxerveGatewayUpdate, AxerveGateway>({ ...resource, type: AxerveGateways.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: AxerveGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _axerveGatewayId = (axerveGatewayId as AxerveGateway).id || axerveGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `axerve_gateways/${_axerveGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _axerveGatewayId = (axerveGatewayId as AxerveGateway).id || axerveGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `axerve_gateways/${_axerveGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _axerveGatewayId = (axerveGatewayId as AxerveGateway).id || axerveGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `axerve_gateways/${_axerveGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync axerve_payments(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<AxervePayment>, options?: ResourcesConfig): Promise<ListResponse<AxervePayment>> {\n\t\tconst _axerveGatewayId = (axerveGatewayId as AxerveGateway).id || axerveGatewayId as string\n\t\treturn this.resources.fetch<AxervePayment>({ type: 'axerve_payments' }, `axerve_gateways/${_axerveGatewayId}/axerve_payments`, params, options) as unknown as ListResponse<AxervePayment>\n\t}\n\n\n\tisAxerveGateway(resource: any): resource is AxerveGateway {\n\t\treturn resource.type && (resource.type === AxerveGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): AxerveGatewayRel {\n\t\treturn super.relationshipOneToOne<AxerveGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): AxerveGatewayRel[] {\n\t\treturn super.relationshipOneToMany<AxerveGatewayRel>(...ids)\n\t}\n\n\n\ttype(): AxerveGatewayType {\n\t\treturn AxerveGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new AxerveGateways()\nexport default instance\n\nexport type { AxerveGateways, AxerveGateway, AxerveGatewayCreate, AxerveGatewayUpdate, AxerveGatewayType }\n"]}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var chunkU22VLCMN_cjs = require('./chunk-U22VLCMN.cjs');
|
4
|
+
|
5
|
+
// src/resources/notifications.ts
|
6
|
+
var Notifications = class _Notifications extends chunkU22VLCMN_cjs.ApiResource {
|
7
|
+
static TYPE = "notifications";
|
8
|
+
async create(resource, params, options) {
|
9
|
+
return this.resources.create({ ...resource, type: _Notifications.TYPE }, params, options);
|
10
|
+
}
|
11
|
+
async update(resource, params, options) {
|
12
|
+
return this.resources.update({ ...resource, type: _Notifications.TYPE }, params, options);
|
13
|
+
}
|
14
|
+
async delete(id, options) {
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _Notifications.TYPE } : id, options);
|
16
|
+
}
|
17
|
+
async event_stores(notificationId, params, options) {
|
18
|
+
const _notificationId = notificationId.id || notificationId;
|
19
|
+
return this.resources.fetch({ type: "event_stores" }, `notifications/${_notificationId}/event_stores`, params, options);
|
20
|
+
}
|
21
|
+
isNotification(resource) {
|
22
|
+
return resource.type && resource.type === _Notifications.TYPE;
|
23
|
+
}
|
24
|
+
relationship(id) {
|
25
|
+
return super.relationshipOneToOne(id);
|
26
|
+
}
|
27
|
+
relationshipToMany(...ids) {
|
28
|
+
return super.relationshipOneToMany(...ids);
|
29
|
+
}
|
30
|
+
type() {
|
31
|
+
return _Notifications.TYPE;
|
32
|
+
}
|
33
|
+
};
|
34
|
+
var instance = new Notifications();
|
35
|
+
var notifications_default = instance;
|
36
|
+
|
37
|
+
exports.notifications_default = notifications_default;
|
38
|
+
//# sourceMappingURL=chunk-4B4WZM22.cjs.map
|
39
|
+
//# sourceMappingURL=chunk-4B4WZM22.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/notifications.ts"],"names":["ApiResource"],"mappings":";;;;;AA0FA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsBA,6BAAA,CAA0B;AAAA,EAErD,OAAgB,IAAA,GAAyB,eAAA;AAAA,EAEzC,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA4C,OAAA,EAAkD;AACxI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC1H;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA4C,OAAA,EAAkD;AACxI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,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cesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { EventStore } from './event_stores'\nimport type { Order, OrderType } from './orders'\nimport type { LineItem, LineItemType } from './line_items'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\n\n\ntype NotificationType = 'notifications'\ntype NotificationRel = ResourceRel & { type: NotificationType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype LineItemRel = ResourceRel & { type: LineItemType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\n\n\nexport type NotificationSort = Pick<Notification, 'id' | 'name' | 'flash'> & ResourceSort\n// export type NotificationFilter = Pick<Notification, 'id' | 'name' | 'flash'> & ResourceFilter\n\n\ninterface Notification extends Resource {\n\t\n\treadonly type: NotificationType\n\n\t/** \n\t * The internal name of the notification.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the notification is temporary, valid for the ones created by external services.\n\t */\n\tflash?: boolean | null\n\t/** \n\t * An internal body of the notification.\n\t * @example ```{\"sku\":\"REDHANDBAG\",\"name\":\"Enjoy your free item\"}```\n\t */\n\tbody?: Record<string, any> | null\n\n\tnotifiable?: Order | LineItem | ShippingMethod | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface NotificationCreate extends ResourceCreate {\n\t\n\t/** \n\t * The internal name of the notification.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the notification is temporary, valid for the ones created by external services.\n\t */\n\tflash?: boolean | null\n\t/** \n\t * An internal body of the notification.\n\t * @example ```{\"sku\":\"REDHANDBAG\",\"name\":\"Enjoy your free item\"}```\n\t */\n\tbody?: Record<string, any> | null\n\n\tnotifiable: OrderRel | LineItemRel | ShippingMethodRel\n\n}\n\n\ninterface NotificationUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The internal name of the notification.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the notification is temporary, valid for the ones created by external services.\n\t */\n\tflash?: boolean | null\n\t/** \n\t * An internal body of the notification.\n\t * @example ```{\"sku\":\"REDHANDBAG\",\"name\":\"Enjoy your free item\"}```\n\t */\n\tbody?: Record<string, any> | null\n\n\tnotifiable?: OrderRel | LineItemRel | ShippingMethodRel | null\n\n}\n\n\nclass Notifications extends ApiResource<Notification> {\n\n\tstatic readonly TYPE: NotificationType = 'notifications' as const\n\n\tasync create(resource: NotificationCreate, params?: QueryParamsRetrieve<Notification>, options?: ResourcesConfig): Promise<Notification> {\n\t\treturn this.resources.create<NotificationCreate, Notification>({ ...resource, type: Notifications.TYPE }, params, options)\n\t}\n\n\tasync update(resource: NotificationUpdate, params?: QueryParamsRetrieve<Notification>, options?: ResourcesConfig): Promise<Notification> {\n\t\treturn this.resources.update<NotificationUpdate, Notification>({ ...resource, type: Notifications.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: Notifications.TYPE } : id, options)\n\t}\n\n\tasync event_stores(notificationId: string | Notification, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _notificationId = (notificationId as Notification).id || notificationId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `notifications/${_notificationId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisNotification(resource: any): resource is Notification {\n\t\treturn resource.type && (resource.type === Notifications.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): NotificationRel {\n\t\treturn super.relationshipOneToOne<NotificationRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): NotificationRel[] {\n\t\treturn super.relationshipOneToMany<NotificationRel>(...ids)\n\t}\n\n\n\ttype(): NotificationType {\n\t\treturn Notifications.TYPE\n\t}\n\n}\n\n\nconst instance = new Notifications()\nexport default instance\n\nexport type { Notifications, Notification, NotificationCreate, NotificationUpdate, NotificationType }\n"]}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var chunkU22VLCMN_cjs = require('./chunk-U22VLCMN.cjs');
|
4
|
+
|
5
|
+
// src/resources/customer_payment_sources.ts
|
6
|
+
var CustomerPaymentSources = class _CustomerPaymentSources extends chunkU22VLCMN_cjs.ApiResource {
|
7
|
+
static TYPE = "customer_payment_sources";
|
8
|
+
async create(resource, params, options) {
|
9
|
+
return this.resources.create({ ...resource, type: _CustomerPaymentSources.TYPE }, params, options);
|
10
|
+
}
|
11
|
+
async update(resource, params, options) {
|
12
|
+
return this.resources.update({ ...resource, type: _CustomerPaymentSources.TYPE }, params, options);
|
13
|
+
}
|
14
|
+
async delete(id, options) {
|
15
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerPaymentSources.TYPE } : id, options);
|
16
|
+
}
|
17
|
+
async customer(customerPaymentSourceId, params, options) {
|
18
|
+
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
19
|
+
return this.resources.fetch({ type: "customers" }, `customer_payment_sources/${_customerPaymentSourceId}/customer`, params, options);
|
20
|
+
}
|
21
|
+
async payment_method(customerPaymentSourceId, params, options) {
|
22
|
+
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
23
|
+
return this.resources.fetch({ type: "payment_methods" }, `customer_payment_sources/${_customerPaymentSourceId}/payment_method`, params, options);
|
24
|
+
}
|
25
|
+
async versions(customerPaymentSourceId, params, options) {
|
26
|
+
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
27
|
+
return this.resources.fetch({ type: "versions" }, `customer_payment_sources/${_customerPaymentSourceId}/versions`, params, options);
|
28
|
+
}
|
29
|
+
async event_stores(customerPaymentSourceId, params, options) {
|
30
|
+
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
31
|
+
return this.resources.fetch({ type: "event_stores" }, `customer_payment_sources/${_customerPaymentSourceId}/event_stores`, params, options);
|
32
|
+
}
|
33
|
+
isCustomerPaymentSource(resource) {
|
34
|
+
return resource.type && resource.type === _CustomerPaymentSources.TYPE;
|
35
|
+
}
|
36
|
+
relationship(id) {
|
37
|
+
return super.relationshipOneToOne(id);
|
38
|
+
}
|
39
|
+
relationshipToMany(...ids) {
|
40
|
+
return super.relationshipOneToMany(...ids);
|
41
|
+
}
|
42
|
+
type() {
|
43
|
+
return _CustomerPaymentSources.TYPE;
|
44
|
+
}
|
45
|
+
};
|
46
|
+
var instance = new CustomerPaymentSources();
|
47
|
+
var customer_payment_sources_default = instance;
|
48
|
+
|
49
|
+
exports.customer_payment_sources_default = customer_payment_sources_default;
|
50
|
+
//# sourceMappingURL=chunk-4L73VYT5.cjs.map
|
51
|
+
//# sourceMappingURL=chunk-4L73VYT5.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/customer_payment_sources.ts"],"names":["ApiResource"],"mappings":";;;;;AA6GA,IAAM,sBAAA,GAAN,MAAM,uBAAA,SAA+BA,6BAAA,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,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/K,IAAA,MAAM,wBAAA,GAA4B,wBAAkD,EAAA,IAAM,uBAAA;AAC1F,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,yBAAA,EAA4B,wBAAwB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACvJ;AAAA,EAGA,wBAAwB,QAAA,EAAkD;AACzE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,uBAAA,CAAuB,IAAA;AAAA,EACnE;AAAA,EAGA,aAAa,EAAA,EAA0D;AACtE,IAAA,OAAO,KAAA,CAAM,qBAA+C,EAAE,CAAA;AAAA,EAC/D;AAAA,EAEA,sBAAsB,GAAA,EAA2C;AAChE,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAgD,GAAG,GAAG,CAAA;AAAA,EACpE;AAAA,EAGA,IAAA,GAAkC;AACjC,IAAA,OAAO,uBAAA,CAAuB,IAAA;AAAA,EAC/B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,sBAAA,EAAuB;AAC5C,IAAO,gCAAA,GAAQ","file":"chunk-4L73VYT5.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 { Customer, CustomerType } from './customers'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { AdyenPayment, AdyenPaymentType } from './adyen_payments'\nimport type { AxervePayment, AxervePaymentType } from './axerve_payments'\nimport type { BraintreePayment, BraintreePaymentType } from './braintree_payments'\nimport type { CheckoutComPayment, CheckoutComPaymentType } from './checkout_com_payments'\nimport type { ExternalPayment, ExternalPaymentType } from './external_payments'\nimport type { KlarnaPayment, KlarnaPaymentType } from './klarna_payments'\nimport type { PaypalPayment, PaypalPaymentType } from './paypal_payments'\nimport type { SatispayPayment, SatispayPaymentType } from './satispay_payments'\nimport type { StripePayment, StripePaymentType } from './stripe_payments'\nimport type { WireTransfer, WireTransferType } from './wire_transfers'\n\n\ntype CustomerPaymentSourceType = 'customer_payment_sources'\ntype CustomerPaymentSourceRel = ResourceRel & { type: CustomerPaymentSourceType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype AdyenPaymentRel = ResourceRel & { type: AdyenPaymentType }\ntype AxervePaymentRel = ResourceRel & { type: AxervePaymentType }\ntype BraintreePaymentRel = ResourceRel & { type: BraintreePaymentType }\ntype CheckoutComPaymentRel = ResourceRel & { type: CheckoutComPaymentType }\ntype ExternalPaymentRel = ResourceRel & { type: ExternalPaymentType }\ntype KlarnaPaymentRel = ResourceRel & { type: KlarnaPaymentType }\ntype PaypalPaymentRel = ResourceRel & { type: PaypalPaymentType }\ntype SatispayPaymentRel = ResourceRel & { type: SatispayPaymentType }\ntype StripePaymentRel = ResourceRel & { type: StripePaymentType }\ntype WireTransferRel = ResourceRel & { type: WireTransferType }\n\n\nexport type CustomerPaymentSourceSort = Pick<CustomerPaymentSource, 'id'> & ResourceSort\n// export type CustomerPaymentSourceFilter = Pick<CustomerPaymentSource, 'id' | 'name' | 'payment_source_token'> & ResourceFilter\n\n\ninterface CustomerPaymentSource extends Resource {\n\t\n\treadonly type: CustomerPaymentSourceType\n\n\t/** \n\t * Returns the associated payment source's name.\n\t * @example ```\"XXXX-XXXX-XXXX-1111\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Returns the customer gateway token stored in the gateway.\n\t * @example ```\"cus_xxxyyyzzz\"```\n\t */\n\tcustomer_token?: string | null\n\t/** \n\t * Returns the payment source token stored in the gateway.\n\t * @example ```\"pm_xxxyyyzzz\"```\n\t */\n\tpayment_source_token?: string | null\n\n\tcustomer?: Customer | null\n\tpayment_method?: PaymentMethod | null\n\tpayment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface CustomerPaymentSourceCreate extends ResourceCreate {\n\t\n\t/** \n\t * Returns the customer gateway token stored in the gateway.\n\t * @example ```\"cus_xxxyyyzzz\"```\n\t */\n\tcustomer_token?: string | null\n\t/** \n\t * Returns the payment source token stored in the gateway.\n\t * @example ```\"pm_xxxyyyzzz\"```\n\t */\n\tpayment_source_token?: string | null\n\n\tcustomer: CustomerRel\n\tpayment_method?: PaymentMethodRel | null\n\tpayment_source?: AdyenPaymentRel | AxervePaymentRel | BraintreePaymentRel | CheckoutComPaymentRel | ExternalPaymentRel | KlarnaPaymentRel | PaypalPaymentRel | SatispayPaymentRel | StripePaymentRel | WireTransferRel | null\n\n}\n\n\ninterface CustomerPaymentSourceUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Returns the customer gateway token stored in the gateway.\n\t * @example ```\"cus_xxxyyyzzz\"```\n\t */\n\tcustomer_token?: string | null\n\t/** \n\t * Returns the payment source token stored in the gateway.\n\t * @example ```\"pm_xxxyyyzzz\"```\n\t */\n\tpayment_source_token?: string | null\n\n\tcustomer?: CustomerRel | null\n\tpayment_method?: PaymentMethodRel | null\n\tpayment_source?: AdyenPaymentRel | AxervePaymentRel | BraintreePaymentRel | CheckoutComPaymentRel | ExternalPaymentRel | KlarnaPaymentRel | PaypalPaymentRel | SatispayPaymentRel | StripePaymentRel | WireTransferRel | null\n\n}\n\n\nclass CustomerPaymentSources extends ApiResource<CustomerPaymentSource> {\n\n\tstatic readonly TYPE: CustomerPaymentSourceType = 'customer_payment_sources' as const\n\n\tasync create(resource: CustomerPaymentSourceCreate, params?: QueryParamsRetrieve<CustomerPaymentSource>, options?: ResourcesConfig): Promise<CustomerPaymentSource> {\n\t\treturn this.resources.create<CustomerPaymentSourceCreate, CustomerPaymentSource>({ ...resource, type: CustomerPaymentSources.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CustomerPaymentSourceUpdate, params?: QueryParamsRetrieve<CustomerPaymentSource>, options?: ResourcesConfig): Promise<CustomerPaymentSource> {\n\t\treturn this.resources.update<CustomerPaymentSourceUpdate, CustomerPaymentSource>({ ...resource, type: CustomerPaymentSources.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: CustomerPaymentSources.TYPE } : id, options)\n\t}\n\n\tasync customer(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\tconst _customerPaymentSourceId = (customerPaymentSourceId as CustomerPaymentSource).id || customerPaymentSourceId as string\n\t\treturn this.resources.fetch<Customer>({ type: 'customers' }, `customer_payment_sources/${_customerPaymentSourceId}/customer`, params, options) as unknown as Customer\n\t}\n\n\tasync payment_method(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod> {\n\t\tconst _customerPaymentSourceId = (customerPaymentSourceId as CustomerPaymentSource).id || customerPaymentSourceId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `customer_payment_sources/${_customerPaymentSourceId}/payment_method`, params, options) as unknown as PaymentMethod\n\t}\n\n\tasync versions(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _customerPaymentSourceId = (customerPaymentSourceId as CustomerPaymentSource).id || customerPaymentSourceId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `customer_payment_sources/${_customerPaymentSourceId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _customerPaymentSourceId = (customerPaymentSourceId as CustomerPaymentSource).id || customerPaymentSourceId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `customer_payment_sources/${_customerPaymentSourceId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisCustomerPaymentSource(resource: any): resource is CustomerPaymentSource {\n\t\treturn resource.type && (resource.type === CustomerPaymentSources.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CustomerPaymentSourceRel {\n\t\treturn super.relationshipOneToOne<CustomerPaymentSourceRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CustomerPaymentSourceRel[] {\n\t\treturn super.relationshipOneToMany<CustomerPaymentSourceRel>(...ids)\n\t}\n\n\n\ttype(): CustomerPaymentSourceType {\n\t\treturn CustomerPaymentSources.TYPE\n\t}\n\n}\n\n\nconst instance = new CustomerPaymentSources()\nexport default instance\n\nexport type { CustomerPaymentSources, CustomerPaymentSource, CustomerPaymentSourceCreate, CustomerPaymentSourceUpdate, CustomerPaymentSourceType }\n"]}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/manual_tax_calculators.ts
|
4
|
+
var ManualTaxCalculators = class _ManualTaxCalculators extends ApiResource {
|
5
|
+
static TYPE = "manual_tax_calculators";
|
6
|
+
async create(resource, params, options) {
|
7
|
+
return this.resources.create({ ...resource, type: _ManualTaxCalculators.TYPE }, params, options);
|
8
|
+
}
|
9
|
+
async update(resource, params, options) {
|
10
|
+
return this.resources.update({ ...resource, type: _ManualTaxCalculators.TYPE }, params, options);
|
11
|
+
}
|
12
|
+
async delete(id, options) {
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _ManualTaxCalculators.TYPE } : id, options);
|
14
|
+
}
|
15
|
+
async markets(manualTaxCalculatorId, params, options) {
|
16
|
+
const _manualTaxCalculatorId = manualTaxCalculatorId.id || manualTaxCalculatorId;
|
17
|
+
return this.resources.fetch({ type: "markets" }, `manual_tax_calculators/${_manualTaxCalculatorId}/markets`, params, options);
|
18
|
+
}
|
19
|
+
async attachments(manualTaxCalculatorId, params, options) {
|
20
|
+
const _manualTaxCalculatorId = manualTaxCalculatorId.id || manualTaxCalculatorId;
|
21
|
+
return this.resources.fetch({ type: "attachments" }, `manual_tax_calculators/${_manualTaxCalculatorId}/attachments`, params, options);
|
22
|
+
}
|
23
|
+
async events(manualTaxCalculatorId, params, options) {
|
24
|
+
const _manualTaxCalculatorId = manualTaxCalculatorId.id || manualTaxCalculatorId;
|
25
|
+
return this.resources.fetch({ type: "events" }, `manual_tax_calculators/${_manualTaxCalculatorId}/events`, params, options);
|
26
|
+
}
|
27
|
+
async versions(manualTaxCalculatorId, params, options) {
|
28
|
+
const _manualTaxCalculatorId = manualTaxCalculatorId.id || manualTaxCalculatorId;
|
29
|
+
return this.resources.fetch({ type: "versions" }, `manual_tax_calculators/${_manualTaxCalculatorId}/versions`, params, options);
|
30
|
+
}
|
31
|
+
async event_stores(manualTaxCalculatorId, params, options) {
|
32
|
+
const _manualTaxCalculatorId = manualTaxCalculatorId.id || manualTaxCalculatorId;
|
33
|
+
return this.resources.fetch({ type: "event_stores" }, `manual_tax_calculators/${_manualTaxCalculatorId}/event_stores`, params, options);
|
34
|
+
}
|
35
|
+
async tax_rules(manualTaxCalculatorId, params, options) {
|
36
|
+
const _manualTaxCalculatorId = manualTaxCalculatorId.id || manualTaxCalculatorId;
|
37
|
+
return this.resources.fetch({ type: "tax_rules" }, `manual_tax_calculators/${_manualTaxCalculatorId}/tax_rules`, params, options);
|
38
|
+
}
|
39
|
+
isManualTaxCalculator(resource) {
|
40
|
+
return resource.type && resource.type === _ManualTaxCalculators.TYPE;
|
41
|
+
}
|
42
|
+
relationship(id) {
|
43
|
+
return super.relationshipOneToOne(id);
|
44
|
+
}
|
45
|
+
relationshipToMany(...ids) {
|
46
|
+
return super.relationshipOneToMany(...ids);
|
47
|
+
}
|
48
|
+
type() {
|
49
|
+
return _ManualTaxCalculators.TYPE;
|
50
|
+
}
|
51
|
+
};
|
52
|
+
var instance = new ManualTaxCalculators();
|
53
|
+
var manual_tax_calculators_default = instance;
|
54
|
+
|
55
|
+
export { manual_tax_calculators_default };
|
56
|
+
//# sourceMappingURL=chunk-4MCWJ5GT.js.map
|
57
|
+
//# sourceMappingURL=chunk-4MCWJ5GT.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/manual_tax_calculators.ts"],"names":[],"mappings":";;;AAmEA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6B,WAAA,CAAiC;AAAA,EAEnE,OAAgB,IAAA,GAAgC,wBAAA;AAAA,EAEhD,MAAM,MAAA,CAAO,QAAA,EAAqC,MAAA,EAAmD,OAAA,EAAyD;AAC7J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/I;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAqC,MAAA,EAAmD,OAAA,EAAyD;AAC7J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/I;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC5G;AAAA,EAEA,MAAM,OAAA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Rel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market } from './markets'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { TaxRule, TaxRuleType } from './tax_rules'\n\n\ntype ManualTaxCalculatorType = 'manual_tax_calculators'\ntype ManualTaxCalculatorRel = ResourceRel & { type: ManualTaxCalculatorType }\ntype TaxRuleRel = ResourceRel & { type: TaxRuleType }\n\n\nexport type ManualTaxCalculatorSort = Pick<ManualTaxCalculator, 'id' | 'name'> & ResourceSort\n// export type ManualTaxCalculatorFilter = Pick<ManualTaxCalculator, 'id' | 'name'> & ResourceFilter\n\n\ninterface ManualTaxCalculator extends Resource {\n\t\n\treadonly type: ManualTaxCalculatorType\n\n\t/** \n\t * The tax calculator's internal name.\n\t * @example ```\"Personal tax calculator\"```\n\t */\n\tname: string\n\n\tmarkets?: Market[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\ttax_rules?: TaxRule[] | null\n\n}\n\n\ninterface ManualTaxCalculatorCreate extends ResourceCreate {\n\t\n\t/** \n\t * The tax calculator's internal name.\n\t * @example ```\"Personal tax calculator\"```\n\t */\n\tname: string\n\n\ttax_rules?: TaxRuleRel[] | null\n\n}\n\n\ninterface ManualTaxCalculatorUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The tax calculator's internal name.\n\t * @example ```\"Personal tax calculator\"```\n\t */\n\tname?: string | null\n\n\ttax_rules?: TaxRuleRel[] | null\n\n}\n\n\nclass ManualTaxCalculators extends ApiResource<ManualTaxCalculator> {\n\n\tstatic readonly TYPE: ManualTaxCalculatorType = 'manual_tax_calculators' as const\n\n\tasync create(resource: ManualTaxCalculatorCreate, params?: QueryParamsRetrieve<ManualTaxCalculator>, options?: ResourcesConfig): Promise<ManualTaxCalculator> {\n\t\treturn this.resources.create<ManualTaxCalculatorCreate, ManualTaxCalculator>({ ...resource, type: ManualTaxCalculators.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ManualTaxCalculatorUpdate, params?: QueryParamsRetrieve<ManualTaxCalculator>, options?: ResourcesConfig): Promise<ManualTaxCalculator> {\n\t\treturn this.resources.update<ManualTaxCalculatorUpdate, ManualTaxCalculator>({ ...resource, type: ManualTaxCalculators.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: ManualTaxCalculators.TYPE } : id, options)\n\t}\n\n\tasync markets(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _manualTaxCalculatorId = (manualTaxCalculatorId as ManualTaxCalculator).id || manualTaxCalculatorId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `manual_tax_calculators/${_manualTaxCalculatorId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync attachments(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _manualTaxCalculatorId = (manualTaxCalculatorId as ManualTaxCalculator).id || manualTaxCalculatorId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `manual_tax_calculators/${_manualTaxCalculatorId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _manualTaxCalculatorId = (manualTaxCalculatorId as ManualTaxCalculator).id || manualTaxCalculatorId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `manual_tax_calculators/${_manualTaxCalculatorId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync versions(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _manualTaxCalculatorId = (manualTaxCalculatorId as ManualTaxCalculator).id || manualTaxCalculatorId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `manual_tax_calculators/${_manualTaxCalculatorId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _manualTaxCalculatorId = (manualTaxCalculatorId as ManualTaxCalculator).id || manualTaxCalculatorId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `manual_tax_calculators/${_manualTaxCalculatorId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync tax_rules(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<TaxRule>, options?: ResourcesConfig): Promise<ListResponse<TaxRule>> {\n\t\tconst _manualTaxCalculatorId = (manualTaxCalculatorId as ManualTaxCalculator).id || manualTaxCalculatorId as string\n\t\treturn this.resources.fetch<TaxRule>({ type: 'tax_rules' }, `manual_tax_calculators/${_manualTaxCalculatorId}/tax_rules`, params, options) as unknown as ListResponse<TaxRule>\n\t}\n\n\n\tisManualTaxCalculator(resource: any): resource is ManualTaxCalculator {\n\t\treturn resource.type && (resource.type === ManualTaxCalculators.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ManualTaxCalculatorRel {\n\t\treturn super.relationshipOneToOne<ManualTaxCalculatorRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ManualTaxCalculatorRel[] {\n\t\treturn super.relationshipOneToMany<ManualTaxCalculatorRel>(...ids)\n\t}\n\n\n\ttype(): ManualTaxCalculatorType {\n\t\treturn ManualTaxCalculators.TYPE\n\t}\n\n}\n\n\nconst instance = new ManualTaxCalculators()\nexport default instance\n\nexport type { ManualTaxCalculators, ManualTaxCalculator, ManualTaxCalculatorCreate, ManualTaxCalculatorUpdate, ManualTaxCalculatorType }\n"]}
|