@commercelayer/sdk 7.0.0-rc.9 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/lib/api-BsKF9Q-K.d.cts +17565 -0
- package/lib/api-hqUAWxVp.d.ts +17565 -0
- package/lib/api.cjs +288 -283
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +137 -136
- package/lib/bundle.cjs +273 -269
- package/lib/bundle.cjs.map +1 -1
- package/lib/bundle.d.cts +2 -1
- package/lib/bundle.d.ts +2 -1
- package/lib/bundle.js +141 -137
- package/lib/bundle.js.map +1 -1
- package/lib/chunk-2AIPAXOH.cjs +65 -0
- package/lib/chunk-2AIPAXOH.cjs.map +1 -0
- package/lib/chunk-2CPNHJAZ.cjs +51 -0
- package/lib/chunk-2CPNHJAZ.cjs.map +1 -0
- package/lib/chunk-2M54XID3.cjs +51 -0
- package/lib/chunk-2M54XID3.cjs.map +1 -0
- package/lib/chunk-2M5MIMZG.cjs +55 -0
- package/lib/chunk-2M5MIMZG.cjs.map +1 -0
- package/lib/chunk-2QBP2WHJ.js +49 -0
- package/lib/chunk-2QBP2WHJ.js.map +1 -0
- package/lib/chunk-2VNQTC3B.cjs +56 -0
- package/lib/chunk-2VNQTC3B.cjs.map +1 -0
- package/lib/chunk-33CXJXIW.js +63 -0
- package/lib/chunk-33CXJXIW.js.map +1 -0
- package/lib/chunk-3FQU4LWE.js +53 -0
- package/lib/chunk-3FQU4LWE.js.map +1 -0
- package/lib/chunk-3SD7QN5M.js +49 -0
- package/lib/chunk-3SD7QN5M.js.map +1 -0
- package/lib/chunk-3WTRPII2.cjs +47 -0
- package/lib/chunk-3WTRPII2.cjs.map +1 -0
- package/lib/chunk-3XJA5M3C.cjs +56 -0
- package/lib/chunk-3XJA5M3C.cjs.map +1 -0
- package/lib/chunk-3YINNWNG.cjs +51 -0
- package/lib/chunk-3YINNWNG.cjs.map +1 -0
- package/lib/chunk-3ZOHHEJR.js +59 -0
- package/lib/chunk-3ZOHHEJR.js.map +1 -0
- package/lib/chunk-43SLAYP5.js +68 -0
- package/lib/chunk-43SLAYP5.js.map +1 -0
- package/lib/chunk-45YSQMGA.cjs +81 -0
- package/lib/chunk-45YSQMGA.cjs.map +1 -0
- package/lib/chunk-4ATZM33H.js +49 -0
- package/lib/chunk-4ATZM33H.js.map +1 -0
- package/lib/chunk-4B4WZM22.cjs +39 -0
- package/lib/chunk-4B4WZM22.cjs.map +1 -0
- package/lib/chunk-4L73VYT5.cjs +51 -0
- package/lib/chunk-4L73VYT5.cjs.map +1 -0
- package/lib/chunk-4MCWJ5GT.js +57 -0
- package/lib/chunk-4MCWJ5GT.js.map +1 -0
- package/lib/chunk-4MDMKEMH.js +645 -0
- package/lib/chunk-4MDMKEMH.js.map +1 -0
- package/lib/chunk-4XQNILDJ.js +59 -0
- package/lib/chunk-4XQNILDJ.js.map +1 -0
- package/lib/chunk-54UOEWTE.cjs +79 -0
- package/lib/chunk-54UOEWTE.cjs.map +1 -0
- package/lib/chunk-5BIP4OLZ.js +54 -0
- package/lib/chunk-5BIP4OLZ.js.map +1 -0
- package/lib/chunk-5ENDZCMK.js +72 -0
- package/lib/chunk-5ENDZCMK.js.map +1 -0
- package/lib/chunk-5QHMVNEQ.cjs +34 -0
- package/lib/chunk-5QHMVNEQ.cjs.map +1 -0
- package/lib/chunk-5TL34ZY6.js +49 -0
- package/lib/chunk-5TL34ZY6.js.map +1 -0
- package/lib/chunk-5WUI6OHH.cjs +43 -0
- package/lib/chunk-5WUI6OHH.cjs.map +1 -0
- package/lib/chunk-62EOOGD4.js +128 -0
- package/lib/chunk-62EOOGD4.js.map +1 -0
- package/lib/chunk-65LSQZTV.js +45 -0
- package/lib/chunk-65LSQZTV.js.map +1 -0
- package/lib/chunk-67TJ6ALR.js +47 -0
- package/lib/chunk-67TJ6ALR.js.map +1 -0
- package/lib/chunk-67U7A4FV.cjs +72 -0
- package/lib/chunk-67U7A4FV.cjs.map +1 -0
- package/lib/chunk-6EIS4TN3.js +49 -0
- package/lib/chunk-6EIS4TN3.js.map +1 -0
- package/lib/chunk-6LHRWK5U.cjs +39 -0
- package/lib/chunk-6LHRWK5U.cjs.map +1 -0
- package/lib/chunk-6MVBC553.js +99 -0
- package/lib/chunk-6MVBC553.js.map +1 -0
- package/lib/chunk-6PKJDHVC.js +48 -0
- package/lib/chunk-6PKJDHVC.js.map +1 -0
- package/lib/chunk-6QOS6B5F.cjs +51 -0
- package/lib/chunk-6QOS6B5F.cjs.map +1 -0
- package/lib/chunk-6S7EJUCA.cjs +47 -0
- package/lib/chunk-6S7EJUCA.cjs.map +1 -0
- package/lib/chunk-6SGYQRO6.js +53 -0
- package/lib/chunk-6SGYQRO6.js.map +1 -0
- package/lib/chunk-6STKOQR7.cjs +63 -0
- package/lib/chunk-6STKOQR7.cjs.map +1 -0
- package/lib/chunk-6ZJMVQ7T.js +44 -0
- package/lib/chunk-6ZJMVQ7T.js.map +1 -0
- package/lib/chunk-6ZUGJHNV.cjs +47 -0
- package/lib/chunk-6ZUGJHNV.cjs.map +1 -0
- package/lib/chunk-73VR2FML.cjs +51 -0
- package/lib/chunk-73VR2FML.cjs.map +1 -0
- package/lib/chunk-7AHYBTEX.js +36 -0
- package/lib/chunk-7AHYBTEX.js.map +1 -0
- package/lib/chunk-7AOVIJPK.cjs +102 -0
- package/lib/chunk-7AOVIJPK.cjs.map +1 -0
- package/lib/chunk-7LH7NNTW.js +44 -0
- package/lib/chunk-7LH7NNTW.js.map +1 -0
- package/lib/chunk-7OLCOMGV.cjs +54 -0
- package/lib/chunk-7OLCOMGV.cjs.map +1 -0
- package/lib/chunk-7P3ZTIQX.cjs +55 -0
- package/lib/chunk-7P3ZTIQX.cjs.map +1 -0
- package/lib/chunk-7SJAVPZH.cjs +54 -0
- package/lib/chunk-7SJAVPZH.cjs.map +1 -0
- package/lib/chunk-7YWXHAMP.cjs +61 -0
- package/lib/chunk-7YWXHAMP.cjs.map +1 -0
- package/lib/chunk-7Z7FQA33.cjs +661 -0
- package/lib/chunk-7Z7FQA33.cjs.map +1 -0
- package/lib/chunk-A2SZPZSG.cjs +50 -0
- package/lib/chunk-A2SZPZSG.cjs.map +1 -0
- package/lib/chunk-A4MUL4NB.js +53 -0
- package/lib/chunk-A4MUL4NB.js.map +1 -0
- package/lib/chunk-A76SFMAB.cjs +51 -0
- package/lib/chunk-A76SFMAB.cjs.map +1 -0
- package/lib/chunk-AB7QWMMM.cjs +33 -0
- package/lib/chunk-AB7QWMMM.cjs.map +1 -0
- package/lib/chunk-AT27CIRM.js +107 -0
- package/lib/chunk-AT27CIRM.js.map +1 -0
- package/lib/chunk-ATVNGAQC.cjs +109 -0
- package/lib/chunk-ATVNGAQC.cjs.map +1 -0
- package/lib/chunk-AWV5Y4SH.js +70 -0
- package/lib/chunk-AWV5Y4SH.js.map +1 -0
- package/lib/chunk-BGHPRKU4.cjs +51 -0
- package/lib/chunk-BGHPRKU4.cjs.map +1 -0
- package/lib/chunk-BHXCVURA.cjs +130 -0
- package/lib/chunk-BHXCVURA.cjs.map +1 -0
- package/lib/chunk-BQ4VRKE7.js +28 -0
- package/lib/chunk-BQ4VRKE7.js.map +1 -0
- package/lib/chunk-BT72RZCE.js +36 -0
- package/lib/chunk-BT72RZCE.js.map +1 -0
- package/lib/chunk-BTLPF6RH.js +49 -0
- package/lib/chunk-BTLPF6RH.js.map +1 -0
- package/lib/chunk-BUHV5UDN.cjs +54 -0
- package/lib/chunk-BUHV5UDN.cjs.map +1 -0
- package/lib/chunk-C47UWH7R.js +48 -0
- package/lib/chunk-C47UWH7R.js.map +1 -0
- package/lib/chunk-C6ACTKJH.js +48 -0
- package/lib/chunk-C6ACTKJH.js.map +1 -0
- package/lib/chunk-CETB5FAI.js +41 -0
- package/lib/chunk-CETB5FAI.js.map +1 -0
- package/lib/chunk-CHYP5F26.js.map +1 -1
- package/lib/chunk-CMUUBOZK.cjs +99 -0
- package/lib/chunk-CMUUBOZK.cjs.map +1 -0
- package/lib/chunk-CRPD5Q5Y.js +88 -0
- package/lib/chunk-CRPD5Q5Y.js.map +1 -0
- package/lib/chunk-CYEVBUIW.js +100 -0
- package/lib/chunk-CYEVBUIW.js.map +1 -0
- package/lib/chunk-D4RA67CM.cjs +50 -0
- package/lib/chunk-D4RA67CM.cjs.map +1 -0
- package/lib/chunk-D7SALAS2.cjs +29 -0
- package/lib/chunk-D7SALAS2.cjs.map +1 -0
- package/lib/chunk-D7VHCT5M.cjs +47 -0
- package/lib/chunk-D7VHCT5M.cjs.map +1 -0
- package/lib/chunk-DEYOBMM5.js +49 -0
- package/lib/chunk-DEYOBMM5.js.map +1 -0
- package/lib/chunk-DIE5NWNX.js +105 -0
- package/lib/chunk-DIE5NWNX.js.map +1 -0
- package/lib/chunk-DM62R5CL.cjs +50 -0
- package/lib/chunk-DM62R5CL.cjs.map +1 -0
- package/lib/chunk-DPE4FTTS.cjs +42 -0
- package/lib/chunk-DPE4FTTS.cjs.map +1 -0
- package/lib/chunk-DPIHG4FX.cjs +51 -0
- package/lib/chunk-DPIHG4FX.cjs.map +1 -0
- package/lib/chunk-DPJDEC6A.js +42 -0
- package/lib/chunk-DPJDEC6A.js.map +1 -0
- package/lib/chunk-DQWWKXLR.cjs +51 -0
- package/lib/chunk-DQWWKXLR.cjs.map +1 -0
- package/lib/chunk-E2EVY45K.js +48 -0
- package/lib/chunk-E2EVY45K.js.map +1 -0
- package/lib/chunk-E2G3K7H4.js +32 -0
- package/lib/chunk-E2G3K7H4.js.map +1 -0
- package/lib/chunk-E6MQFGEF.js +77 -0
- package/lib/chunk-E6MQFGEF.js.map +1 -0
- package/lib/chunk-EAR4AXVU.cjs +51 -0
- package/lib/chunk-EAR4AXVU.cjs.map +1 -0
- package/lib/chunk-EFQH4OGQ.cjs +46 -0
- package/lib/chunk-EFQH4OGQ.cjs.map +1 -0
- package/lib/chunk-EFU44R7O.js +56 -0
- package/lib/chunk-EFU44R7O.js.map +1 -0
- package/lib/chunk-EPDTA5Z3.cjs +79 -0
- package/lib/chunk-EPDTA5Z3.cjs.map +1 -0
- package/lib/chunk-ESGRB4YB.cjs +55 -0
- package/lib/chunk-ESGRB4YB.cjs.map +1 -0
- package/lib/chunk-EVVUYC7T.cjs +47 -0
- package/lib/chunk-EVVUYC7T.cjs.map +1 -0
- package/lib/chunk-EW5ZFLK6.cjs +74 -0
- package/lib/chunk-EW5ZFLK6.cjs.map +1 -0
- package/lib/chunk-EZQ3QHF2.js +97 -0
- package/lib/chunk-EZQ3QHF2.js.map +1 -0
- package/lib/chunk-F3UMNXXH.js +45 -0
- package/lib/chunk-F3UMNXXH.js.map +1 -0
- package/lib/chunk-F6TOLEEF.js +37 -0
- package/lib/chunk-F6TOLEEF.js.map +1 -0
- package/lib/chunk-F6WABN7F.cjs +105 -0
- package/lib/chunk-F6WABN7F.cjs.map +1 -0
- package/lib/chunk-FCGKL7AI.cjs +51 -0
- package/lib/chunk-FCGKL7AI.cjs.map +1 -0
- package/lib/chunk-FDW7JX5A.cjs +55 -0
- package/lib/chunk-FDW7JX5A.cjs.map +1 -0
- package/lib/chunk-FI2PWG6C.js +63 -0
- package/lib/chunk-FI2PWG6C.js.map +1 -0
- package/lib/chunk-FI7BWBCX.js +63 -0
- package/lib/chunk-FI7BWBCX.js.map +1 -0
- package/lib/chunk-FIM76CMU.cjs +42 -0
- package/lib/chunk-FIM76CMU.cjs.map +1 -0
- package/lib/chunk-FLFTXWLQ.cjs +286 -0
- package/lib/chunk-FLFTXWLQ.cjs.map +1 -0
- package/lib/chunk-FMGDNZQ6.cjs +51 -0
- package/lib/chunk-FMGDNZQ6.cjs.map +1 -0
- package/lib/chunk-FNTJOIQB.cjs +60 -0
- package/lib/chunk-FNTJOIQB.cjs.map +1 -0
- package/lib/chunk-FTYGJZZM.js +44 -0
- package/lib/chunk-FTYGJZZM.js.map +1 -0
- package/lib/chunk-FUDBWYKD.js +49 -0
- package/lib/chunk-FUDBWYKD.js.map +1 -0
- package/lib/chunk-G2OYFKP2.cjs +90 -0
- package/lib/chunk-G2OYFKP2.cjs.map +1 -0
- package/lib/chunk-G2Y67WFX.js +73 -0
- package/lib/chunk-G2Y67WFX.js.map +1 -0
- package/lib/chunk-G2ZCHH4W.js +55 -0
- package/lib/chunk-G2ZCHH4W.js.map +1 -0
- package/lib/chunk-G5IOYKFS.js +53 -0
- package/lib/chunk-G5IOYKFS.js.map +1 -0
- package/lib/chunk-G74VYKRY.js +45 -0
- package/lib/chunk-G74VYKRY.js.map +1 -0
- package/lib/chunk-G7MROYQP.cjs +42 -0
- package/lib/chunk-G7MROYQP.cjs.map +1 -0
- package/lib/chunk-GJOZR5TC.cjs +93 -0
- package/lib/chunk-GJOZR5TC.cjs.map +1 -0
- package/lib/chunk-GKUFMSZL.js +32 -0
- package/lib/chunk-GKUFMSZL.js.map +1 -0
- package/lib/chunk-GLL264QG.cjs +55 -0
- package/lib/chunk-GLL264QG.cjs.map +1 -0
- package/lib/chunk-GRBPCPJQ.js +58 -0
- package/lib/chunk-GRBPCPJQ.js.map +1 -0
- package/lib/chunk-H5CKBXQS.js +53 -0
- package/lib/chunk-H5CKBXQS.js.map +1 -0
- package/lib/chunk-H6AQZ5TP.js +77 -0
- package/lib/chunk-H6AQZ5TP.js.map +1 -0
- package/lib/chunk-H7EX22DB.cjs +65 -0
- package/lib/chunk-H7EX22DB.cjs.map +1 -0
- package/lib/chunk-HBDXHKBE.js +91 -0
- package/lib/chunk-HBDXHKBE.js.map +1 -0
- package/lib/chunk-HH3NIT7B.js +49 -0
- package/lib/chunk-HH3NIT7B.js.map +1 -0
- package/lib/chunk-HUDH634O.cjs +67 -0
- package/lib/chunk-HUDH634O.cjs.map +1 -0
- package/lib/chunk-HXAWT7GZ.js +97 -0
- package/lib/chunk-HXAWT7GZ.js.map +1 -0
- package/lib/chunk-HZQRIP3G.js +284 -0
- package/lib/chunk-HZQRIP3G.js.map +1 -0
- package/lib/chunk-I2NZB6KN.js +44 -0
- package/lib/chunk-I2NZB6KN.js.map +1 -0
- package/lib/chunk-I3ZMOPMJ.js +52 -0
- package/lib/chunk-I3ZMOPMJ.js.map +1 -0
- package/lib/chunk-I56ZABWO.cjs +38 -0
- package/lib/chunk-I56ZABWO.cjs.map +1 -0
- package/lib/chunk-I5VOVSS7.cjs +71 -0
- package/lib/chunk-I5VOVSS7.cjs.map +1 -0
- package/lib/chunk-I64U2VMD.cjs +51 -0
- package/lib/chunk-I64U2VMD.cjs.map +1 -0
- package/lib/chunk-I66TFFKG.cjs +160 -0
- package/lib/chunk-I66TFFKG.cjs.map +1 -0
- package/lib/chunk-I73TW24N.cjs +101 -0
- package/lib/chunk-I73TW24N.cjs.map +1 -0
- package/lib/chunk-IALPF4NG.cjs +60 -0
- package/lib/chunk-IALPF4NG.cjs.map +1 -0
- package/lib/chunk-IHPFHOEJ.js +40 -0
- package/lib/chunk-IHPFHOEJ.js.map +1 -0
- package/lib/chunk-II544XO5.cjs +51 -0
- package/lib/chunk-II544XO5.cjs.map +1 -0
- package/lib/chunk-IKHD5UQP.cjs.map +1 -1
- package/lib/chunk-IQQNG3U2.cjs +55 -0
- package/lib/chunk-IQQNG3U2.cjs.map +1 -0
- package/lib/chunk-IQVSM3MS.js +57 -0
- package/lib/chunk-IQVSM3MS.js.map +1 -0
- package/lib/chunk-IXOAGKRD.cjs +65 -0
- package/lib/chunk-IXOAGKRD.cjs.map +1 -0
- package/lib/chunk-J32Z2XNX.cjs +57 -0
- package/lib/chunk-J32Z2XNX.cjs.map +1 -0
- package/lib/chunk-J42WGTN6.cjs +50 -0
- package/lib/chunk-J42WGTN6.cjs.map +1 -0
- package/lib/chunk-JAOFRM22.js +61 -0
- package/lib/chunk-JAOFRM22.js.map +1 -0
- package/lib/chunk-JCOJGOXF.cjs +107 -0
- package/lib/chunk-JCOJGOXF.cjs.map +1 -0
- package/lib/chunk-JDFDWBXQ.js +53 -0
- package/lib/chunk-JDFDWBXQ.js.map +1 -0
- package/lib/chunk-JPKZBEAY.js +59 -0
- package/lib/chunk-JPKZBEAY.js.map +1 -0
- package/lib/chunk-JRMM5QTS.cjs +99 -0
- package/lib/chunk-JRMM5QTS.cjs.map +1 -0
- package/lib/chunk-JUVEIRM4.cjs +47 -0
- package/lib/chunk-JUVEIRM4.cjs.map +1 -0
- package/lib/chunk-JVF5KY2J.cjs.map +1 -1
- package/lib/chunk-JVQVN3JM.js +31 -0
- package/lib/chunk-JVQVN3JM.js.map +1 -0
- package/lib/chunk-JWLNUOL5.js +79 -0
- package/lib/chunk-JWLNUOL5.js.map +1 -0
- package/lib/chunk-JYSIXEKG.cjs +54 -0
- package/lib/chunk-JYSIXEKG.cjs.map +1 -0
- package/lib/chunk-K2E4PX3F.cjs +51 -0
- package/lib/chunk-K2E4PX3F.cjs.map +1 -0
- package/lib/chunk-K3BSXSHS.cjs +55 -0
- package/lib/chunk-K3BSXSHS.cjs.map +1 -0
- package/lib/chunk-K7AR7Z3J.cjs +58 -0
- package/lib/chunk-K7AR7Z3J.cjs.map +1 -0
- package/lib/chunk-KAZKQXUO.js +103 -0
- package/lib/chunk-KAZKQXUO.js.map +1 -0
- package/lib/chunk-KDDMRBB6.cjs +30 -0
- package/lib/chunk-KDDMRBB6.cjs.map +1 -0
- package/lib/chunk-KDQRA5YH.js +49 -0
- package/lib/chunk-KDQRA5YH.js.map +1 -0
- package/lib/chunk-KGZ3FTYR.cjs +43 -0
- package/lib/chunk-KGZ3FTYR.cjs.map +1 -0
- package/lib/chunk-KIB4XYWP.js +37 -0
- package/lib/chunk-KIB4XYWP.js.map +1 -0
- package/lib/chunk-KM27D322.cjs +70 -0
- package/lib/chunk-KM27D322.cjs.map +1 -0
- package/lib/chunk-KNXPWX4D.cjs +73 -0
- package/lib/chunk-KNXPWX4D.cjs.map +1 -0
- package/lib/chunk-KT2FGWBT.cjs +59 -0
- package/lib/chunk-KT2FGWBT.cjs.map +1 -0
- package/lib/chunk-KVRZZTDE.js +40 -0
- package/lib/chunk-KVRZZTDE.js.map +1 -0
- package/lib/chunk-KWOKL6HK.cjs +59 -0
- package/lib/chunk-KWOKL6HK.cjs.map +1 -0
- package/lib/chunk-LE4I5AHS.js +53 -0
- package/lib/chunk-LE4I5AHS.js.map +1 -0
- package/lib/chunk-LESXALEZ.js +49 -0
- package/lib/chunk-LESXALEZ.js.map +1 -0
- package/lib/chunk-LF3CZYGK.js +49 -0
- package/lib/chunk-LF3CZYGK.js.map +1 -0
- package/lib/chunk-LGO42DAS.cjs +58 -0
- package/lib/chunk-LGO42DAS.cjs.map +1 -0
- package/lib/chunk-LGOJTWKL.js +52 -0
- package/lib/chunk-LGOJTWKL.js.map +1 -0
- package/lib/chunk-LLYWUA5S.js +54 -0
- package/lib/chunk-LLYWUA5S.js.map +1 -0
- package/lib/chunk-LTCWS2HF.cjs +43 -0
- package/lib/chunk-LTCWS2HF.cjs.map +1 -0
- package/lib/chunk-LZXPO7K6.cjs +88 -0
- package/lib/chunk-LZXPO7K6.cjs.map +1 -0
- package/lib/chunk-ME2ZNNMA.js +58 -0
- package/lib/chunk-ME2ZNNMA.js.map +1 -0
- package/lib/chunk-MHCLPVOI.js +56 -0
- package/lib/chunk-MHCLPVOI.js.map +1 -0
- package/lib/chunk-MKV2B7P5.cjs +46 -0
- package/lib/chunk-MKV2B7P5.cjs.map +1 -0
- package/lib/chunk-MOKBZVUU.js +53 -0
- package/lib/chunk-MOKBZVUU.js.map +1 -0
- package/lib/chunk-MUMTGXL2.js +57 -0
- package/lib/chunk-MUMTGXL2.js.map +1 -0
- package/lib/chunk-MXT6VH7V.js +45 -0
- package/lib/chunk-MXT6VH7V.js.map +1 -0
- package/lib/chunk-N35FM5P4.js +64 -0
- package/lib/chunk-N35FM5P4.js.map +1 -0
- package/lib/chunk-N4COQM5Q.js +37 -0
- package/lib/chunk-N4COQM5Q.js.map +1 -0
- package/lib/chunk-N54ON7TD.js +102 -0
- package/lib/chunk-N54ON7TD.js.map +1 -0
- package/lib/chunk-N5DBVBID.js +70 -0
- package/lib/chunk-N5DBVBID.js.map +1 -0
- package/lib/chunk-NEVN2SMR.js +53 -0
- package/lib/chunk-NEVN2SMR.js.map +1 -0
- package/lib/chunk-NEZXHBGE.js +3 -0
- package/lib/chunk-NEZXHBGE.js.map +1 -0
- package/lib/chunk-NODJ4LG6.js +97 -0
- package/lib/chunk-NODJ4LG6.js.map +1 -0
- package/lib/chunk-NRZBSJPM.js +45 -0
- package/lib/chunk-NRZBSJPM.js.map +1 -0
- package/lib/chunk-NWKIFDQH.cjs +55 -0
- package/lib/chunk-NWKIFDQH.cjs.map +1 -0
- package/lib/chunk-O3NWYOPV.cjs +55 -0
- package/lib/chunk-O3NWYOPV.cjs.map +1 -0
- package/lib/chunk-OA4DVMEQ.cjs +59 -0
- package/lib/chunk-OA4DVMEQ.cjs.map +1 -0
- package/lib/chunk-OA7RZ24N.js +49 -0
- package/lib/chunk-OA7RZ24N.js.map +1 -0
- package/lib/chunk-OEUSTDGS.cjs +42 -0
- package/lib/chunk-OEUSTDGS.cjs.map +1 -0
- package/lib/chunk-OH5533KN.cjs +55 -0
- package/lib/chunk-OH5533KN.cjs.map +1 -0
- package/lib/chunk-OL6PRNU5.js +49 -0
- package/lib/chunk-OL6PRNU5.js.map +1 -0
- package/lib/chunk-OS5DXUBX.js +49 -0
- package/lib/chunk-OS5DXUBX.js.map +1 -0
- package/lib/chunk-OV4JT553.cjs +51 -0
- package/lib/chunk-OV4JT553.cjs.map +1 -0
- package/lib/chunk-P2OLPCWV.cjs +54 -0
- package/lib/chunk-P2OLPCWV.cjs.map +1 -0
- package/lib/chunk-P5GRTTMC.js +71 -0
- package/lib/chunk-P5GRTTMC.js.map +1 -0
- package/lib/chunk-P7E2LQ6Q.js +53 -0
- package/lib/chunk-P7E2LQ6Q.js.map +1 -0
- package/lib/chunk-PA43CMMI.cjs +55 -0
- package/lib/chunk-PA43CMMI.cjs.map +1 -0
- package/lib/chunk-PBE4XAIR.cjs +65 -0
- package/lib/chunk-PBE4XAIR.cjs.map +1 -0
- package/lib/chunk-PBIARBZH.cjs +51 -0
- package/lib/chunk-PBIARBZH.cjs.map +1 -0
- package/lib/chunk-PEC5CKS7.cjs +22 -0
- package/lib/chunk-PEC5CKS7.cjs.map +1 -0
- package/lib/chunk-PENOPHMW.js +52 -0
- package/lib/chunk-PENOPHMW.js.map +1 -0
- package/lib/chunk-PIYKFPYB.js +49 -0
- package/lib/chunk-PIYKFPYB.js.map +1 -0
- package/lib/chunk-PLIS7EYD.js +41 -0
- package/lib/chunk-PLIS7EYD.js.map +1 -0
- package/lib/chunk-Q3ULISRX.cjs +57 -0
- package/lib/chunk-Q3ULISRX.cjs.map +1 -0
- package/lib/chunk-QB7GGVK7.js +52 -0
- package/lib/chunk-QB7GGVK7.js.map +1 -0
- package/lib/chunk-QD2VBPJU.js +53 -0
- package/lib/chunk-QD2VBPJU.js.map +1 -0
- package/lib/chunk-QGFAOPJG.cjs +26 -0
- package/lib/chunk-QGFAOPJG.cjs.map +1 -0
- package/lib/chunk-QXYNFQDJ.js +24 -0
- package/lib/chunk-QXYNFQDJ.js.map +1 -0
- package/lib/chunk-QYVJGMYT.cjs +51 -0
- package/lib/chunk-QYVJGMYT.cjs.map +1 -0
- package/lib/chunk-R2LRLUUY.js.map +1 -1
- package/lib/chunk-R5NSJSKB.js +49 -0
- package/lib/chunk-R5NSJSKB.js.map +1 -0
- package/lib/chunk-RAF3LK5T.cjs +51 -0
- package/lib/chunk-RAF3LK5T.cjs.map +1 -0
- package/lib/chunk-RDTIBHZO.cjs +51 -0
- package/lib/chunk-RDTIBHZO.cjs.map +1 -0
- package/lib/chunk-RHG3UVET.cjs +44 -0
- package/lib/chunk-RHG3UVET.cjs.map +1 -0
- package/lib/chunk-RJJQU44M.js +45 -0
- package/lib/chunk-RJJQU44M.js.map +1 -0
- package/lib/chunk-RK3E3UJ2.cjs +61 -0
- package/lib/chunk-RK3E3UJ2.cjs.map +1 -0
- package/lib/chunk-RLZV6AKT.cjs +99 -0
- package/lib/chunk-RLZV6AKT.cjs.map +1 -0
- package/lib/chunk-SDGSOWXI.js +49 -0
- package/lib/chunk-SDGSOWXI.js.map +1 -0
- package/lib/chunk-SKETQJTW.cjs +59 -0
- package/lib/chunk-SKETQJTW.cjs.map +1 -0
- package/lib/chunk-SRW7OWVS.cjs.map +1 -1
- package/lib/chunk-SRYEFARJ.cjs +4 -0
- package/lib/chunk-SRYEFARJ.cjs.map +1 -0
- package/lib/chunk-SXPZRQBF.js +49 -0
- package/lib/chunk-SXPZRQBF.js.map +1 -0
- package/lib/chunk-T2VDBKD4.js +44 -0
- package/lib/chunk-T2VDBKD4.js.map +1 -0
- package/lib/chunk-T5AO4445.cjs +49 -0
- package/lib/chunk-T5AO4445.cjs.map +1 -0
- package/lib/chunk-TE3N57V6.js +40 -0
- package/lib/chunk-TE3N57V6.js.map +1 -0
- package/lib/chunk-TFJYQUEH.cjs +51 -0
- package/lib/chunk-TFJYQUEH.cjs.map +1 -0
- package/lib/chunk-TIINXXHU.cjs +46 -0
- package/lib/chunk-TIINXXHU.cjs.map +1 -0
- package/lib/chunk-TLOIOTYF.cjs +66 -0
- package/lib/chunk-TLOIOTYF.cjs.map +1 -0
- package/lib/chunk-TRPV3CFO.cjs +75 -0
- package/lib/chunk-TRPV3CFO.cjs.map +1 -0
- package/lib/chunk-TWL4WEOL.js +49 -0
- package/lib/chunk-TWL4WEOL.js.map +1 -0
- package/lib/chunk-TWQ4THAG.js +45 -0
- package/lib/chunk-TWQ4THAG.js.map +1 -0
- package/lib/chunk-TZAGUXNS.cjs +61 -0
- package/lib/chunk-TZAGUXNS.cjs.map +1 -0
- package/lib/chunk-U22VLCMN.cjs +284 -0
- package/lib/chunk-U22VLCMN.cjs.map +1 -0
- package/lib/chunk-U25QRMJY.js +28 -0
- package/lib/chunk-U25QRMJY.js.map +1 -0
- package/lib/chunk-U4ELOYK7.cjs +42 -0
- package/lib/chunk-U4ELOYK7.cjs.map +1 -0
- package/lib/chunk-U7OGOZ5B.cjs +51 -0
- package/lib/chunk-U7OGOZ5B.cjs.map +1 -0
- package/lib/chunk-UEDVN7C4.js +49 -0
- package/lib/chunk-UEDVN7C4.js.map +1 -0
- package/lib/chunk-UEQ3CRVM.cjs +50 -0
- package/lib/chunk-UEQ3CRVM.cjs.map +1 -0
- package/lib/chunk-UHKV2XBV.cjs +95 -0
- package/lib/chunk-UHKV2XBV.cjs.map +1 -0
- package/lib/chunk-UIPKMXES.js +97 -0
- package/lib/chunk-UIPKMXES.js.map +1 -0
- package/lib/chunk-UTFSZHUD.cjs +39 -0
- package/lib/chunk-UTFSZHUD.cjs.map +1 -0
- package/lib/chunk-UUY77JM3.js +151 -0
- package/lib/chunk-UUY77JM3.js.map +1 -0
- package/lib/chunk-UWM5SGDS.js +65 -0
- package/lib/chunk-UWM5SGDS.js.map +1 -0
- package/lib/chunk-VDMJ7RC4.js +97 -0
- package/lib/chunk-VDMJ7RC4.js.map +1 -0
- package/lib/chunk-VEBN2D2K.js +53 -0
- package/lib/chunk-VEBN2D2K.js.map +1 -0
- package/lib/chunk-VGMMPMUL.js +55 -0
- package/lib/chunk-VGMMPMUL.js.map +1 -0
- package/lib/chunk-VKNNJ5CS.js +49 -0
- package/lib/chunk-VKNNJ5CS.js.map +1 -0
- package/lib/chunk-VR3ZMKF5.js +48 -0
- package/lib/chunk-VR3ZMKF5.js.map +1 -0
- package/lib/chunk-VRJJX4JV.js +40 -0
- package/lib/chunk-VRJJX4JV.js.map +1 -0
- package/lib/chunk-VT5HP44I.js +49 -0
- package/lib/chunk-VT5HP44I.js.map +1 -0
- package/lib/chunk-VUVL5VPT.js +49 -0
- package/lib/chunk-VUVL5VPT.js.map +1 -0
- package/lib/chunk-W2EFIUTW.js +40 -0
- package/lib/chunk-W2EFIUTW.js.map +1 -0
- package/lib/chunk-W6KL6Q4Z.cjs +99 -0
- package/lib/chunk-W6KL6Q4Z.cjs.map +1 -0
- package/lib/chunk-WAC3LO4S.cjs +51 -0
- package/lib/chunk-WAC3LO4S.cjs.map +1 -0
- package/lib/chunk-WEWTTMPS.cjs +46 -0
- package/lib/chunk-WEWTTMPS.cjs.map +1 -0
- package/lib/chunk-WK3SIZUG.js +41 -0
- package/lib/chunk-WK3SIZUG.js.map +1 -0
- package/lib/chunk-WO4S2ZUQ.js +49 -0
- package/lib/chunk-WO4S2ZUQ.js.map +1 -0
- package/lib/chunk-WVCUPAHM.cjs +38 -0
- package/lib/chunk-WVCUPAHM.cjs.map +1 -0
- package/lib/chunk-XD7GS4QW.js.map +1 -1
- package/lib/chunk-XFHMLWZM.js +63 -0
- package/lib/chunk-XFHMLWZM.js.map +1 -0
- package/lib/chunk-XKERR6OR.js +276 -0
- package/lib/chunk-XKERR6OR.js.map +1 -0
- package/lib/chunk-XOVAUMDC.cjs +55 -0
- package/lib/chunk-XOVAUMDC.cjs.map +1 -0
- package/lib/chunk-XYBXDS3Z.cjs +30 -0
- package/lib/chunk-XYBXDS3Z.cjs.map +1 -0
- package/lib/chunk-XYR7Q662.cjs +99 -0
- package/lib/chunk-XYR7Q662.cjs.map +1 -0
- package/lib/chunk-Y3NZRCF4.js +49 -0
- package/lib/chunk-Y3NZRCF4.js.map +1 -0
- package/lib/chunk-YIABS6K6.js +57 -0
- package/lib/chunk-YIABS6K6.js.map +1 -0
- package/lib/chunk-YPRABQMP.js +49 -0
- package/lib/chunk-YPRABQMP.js.map +1 -0
- package/lib/chunk-YTXFX5LA.js +27 -0
- package/lib/chunk-YTXFX5LA.js.map +1 -0
- package/lib/chunk-YX4ZQEON.cjs +67 -0
- package/lib/chunk-YX4ZQEON.cjs.map +1 -0
- package/lib/chunk-YY5ENJSH.cjs.map +1 -1
- package/lib/chunk-YZ4JURI3.cjs +51 -0
- package/lib/chunk-YZ4JURI3.cjs.map +1 -0
- package/lib/chunk-YZZQ7GVQ.js +65 -0
- package/lib/chunk-YZZQ7GVQ.js.map +1 -0
- package/lib/chunk-Z3FUZ3YM.cjs +72 -0
- package/lib/chunk-Z3FUZ3YM.cjs.map +1 -0
- package/lib/chunk-Z4LKTHPE.js +20 -0
- package/lib/chunk-Z4LKTHPE.js.map +1 -0
- package/lib/chunk-Z4QZRC4T.cjs +107 -0
- package/lib/chunk-Z4QZRC4T.cjs.map +1 -0
- package/lib/chunk-Z66CWIH5.cjs +51 -0
- package/lib/chunk-Z66CWIH5.cjs.map +1 -0
- package/lib/chunk-ZDTIKZYR.js +93 -0
- package/lib/chunk-ZDTIKZYR.js.map +1 -0
- package/lib/chunk-ZLFWYCCG.cjs +34 -0
- package/lib/chunk-ZLFWYCCG.cjs.map +1 -0
- package/lib/chunk-ZSG25S6U.cjs +51 -0
- package/lib/chunk-ZSG25S6U.cjs.map +1 -0
- package/lib/chunk-ZU7GFVQ6.js.map +1 -1
- package/lib/chunk-ZVS24BIO.js +86 -0
- package/lib/chunk-ZVS24BIO.js.map +1 -0
- package/lib/chunk-ZW4CB7J7.cjs +46 -0
- package/lib/chunk-ZW4CB7J7.cjs.map +1 -0
- package/lib/chunk-ZWVME7CU.cjs +153 -0
- package/lib/chunk-ZWVME7CU.cjs.map +1 -0
- package/lib/chunk-ZXEE43XR.js +52 -0
- package/lib/chunk-ZXEE43XR.js.map +1 -0
- package/lib/chunk-ZYAGX4RM.js +69 -0
- package/lib/chunk-ZYAGX4RM.js.map +1 -0
- package/lib/chunk-ZZ5BND4W.js +158 -0
- package/lib/chunk-ZZ5BND4W.js.map +1 -0
- package/lib/chunk-ZZOSKORP.cjs +47 -0
- package/lib/chunk-ZZOSKORP.cjs.map +1 -0
- package/lib/client.cjs +3 -3
- package/lib/client.d.cts +3 -1
- package/lib/client.js +2 -2
- package/lib/commercelayer.cjs +9 -9
- package/lib/commercelayer.d.cts +6 -5
- package/lib/commercelayer.d.ts +3 -4
- package/lib/commercelayer.js +5 -5
- package/lib/config.cjs +2 -2
- package/lib/config.js +1 -1
- package/lib/enum.cjs +16 -16
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/enum.js +1 -1
- package/lib/index.cjs +293 -288
- package/lib/index.d.cts +5 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +139 -138
- package/lib/jsonapi.cjs +6 -6
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- package/lib/jsonapi.js +4 -4
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/query.d.cts +1 -1
- package/lib/query.d.ts +1 -1
- package/lib/resource.cjs +9 -9
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resource.js +4 -4
- package/lib/resources/addresses.cjs +6 -6
- package/lib/resources/addresses.d.cts +4 -1
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/addresses.js +5 -5
- package/lib/resources/adjustments.cjs +6 -6
- package/lib/resources/adjustments.d.cts +4 -1
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adjustments.js +5 -5
- package/lib/resources/adyen_gateways.cjs +6 -6
- package/lib/resources/adyen_gateways.d.cts +4 -1
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +5 -5
- package/lib/resources/adyen_payments.cjs +6 -6
- package/lib/resources/adyen_payments.d.cts +4 -1
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +5 -5
- package/lib/resources/applications.cjs +6 -6
- package/lib/resources/applications.d.cts +4 -1
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/applications.js +5 -5
- package/lib/resources/attachments.cjs +6 -6
- package/lib/resources/attachments.d.cts +4 -1
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +5 -5
- package/lib/resources/authorizations.cjs +6 -6
- package/lib/resources/authorizations.d.cts +4 -1
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +5 -5
- package/lib/resources/avalara_accounts.cjs +6 -6
- package/lib/resources/avalara_accounts.d.cts +4 -1
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/avalara_accounts.js +5 -5
- package/lib/resources/axerve_gateways.cjs +6 -6
- package/lib/resources/axerve_gateways.d.cts +4 -1
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_gateways.js +5 -5
- package/lib/resources/axerve_payments.cjs +6 -6
- package/lib/resources/axerve_payments.d.cts +4 -1
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/axerve_payments.js +5 -5
- package/lib/resources/bing_geocoders.cjs +6 -6
- package/lib/resources/bing_geocoders.d.cts +4 -1
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/bing_geocoders.js +5 -5
- package/lib/resources/braintree_gateways.cjs +6 -6
- package/lib/resources/braintree_gateways.d.cts +4 -1
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_gateways.js +5 -5
- package/lib/resources/braintree_payments.cjs +6 -6
- package/lib/resources/braintree_payments.d.cts +4 -1
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/braintree_payments.js +5 -5
- package/lib/resources/bundles.cjs +6 -6
- package/lib/resources/bundles.d.cts +4 -1
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +5 -5
- package/lib/resources/buy_x_pay_y_promotions.cjs +6 -6
- package/lib/resources/buy_x_pay_y_promotions.d.cts +4 -1
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.js +5 -5
- package/lib/resources/captures.cjs +6 -6
- package/lib/resources/captures.d.cts +4 -1
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +5 -5
- package/lib/resources/carrier_accounts.cjs +6 -6
- package/lib/resources/carrier_accounts.d.cts +4 -1
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/carrier_accounts.js +5 -5
- package/lib/resources/checkout_com_gateways.cjs +6 -6
- package/lib/resources/checkout_com_gateways.d.cts +4 -1
- package/lib/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/resources/checkout_com_gateways.js +5 -5
- package/lib/resources/checkout_com_payments.cjs +6 -6
- package/lib/resources/checkout_com_payments.d.cts +4 -1
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/checkout_com_payments.js +5 -5
- package/lib/resources/cleanups.cjs +6 -6
- package/lib/resources/cleanups.d.cts +4 -1
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/cleanups.js +5 -5
- package/lib/resources/coupon_codes_promotion_rules.cjs +6 -6
- package/lib/resources/coupon_codes_promotion_rules.d.cts +4 -1
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.js +5 -5
- package/lib/resources/coupon_recipients.cjs +6 -6
- package/lib/resources/coupon_recipients.d.cts +4 -1
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupon_recipients.js +5 -5
- package/lib/resources/coupons.cjs +6 -6
- package/lib/resources/coupons.d.cts +4 -1
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/coupons.js +5 -5
- package/lib/resources/custom_promotion_rules.cjs +6 -6
- package/lib/resources/custom_promotion_rules.d.cts +4 -1
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.js +5 -5
- package/lib/resources/customer_addresses.cjs +6 -6
- package/lib/resources/customer_addresses.d.cts +4 -1
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_addresses.js +5 -5
- package/lib/resources/customer_groups.cjs +6 -6
- package/lib/resources/customer_groups.d.cts +4 -1
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_groups.js +5 -5
- package/lib/resources/customer_password_resets.cjs +6 -6
- package/lib/resources/customer_password_resets.d.cts +4 -1
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_password_resets.js +5 -5
- package/lib/resources/customer_payment_sources.cjs +6 -6
- package/lib/resources/customer_payment_sources.d.cts +4 -1
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_payment_sources.js +5 -5
- package/lib/resources/customer_subscriptions.cjs +6 -6
- package/lib/resources/customer_subscriptions.d.cts +4 -1
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customer_subscriptions.js +5 -5
- package/lib/resources/customers.cjs +6 -6
- package/lib/resources/customers.d.cts +4 -1
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/customers.js +5 -5
- package/lib/resources/delivery_lead_times.cjs +6 -6
- package/lib/resources/delivery_lead_times.d.cts +4 -1
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/delivery_lead_times.js +5 -5
- package/lib/resources/discount_engine_items.cjs +6 -6
- package/lib/resources/discount_engine_items.d.cts +4 -1
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engine_items.js +5 -5
- package/lib/resources/discount_engines.cjs +6 -6
- package/lib/resources/discount_engines.d.cts +4 -1
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/discount_engines.js +5 -5
- package/lib/resources/easypost_pickups.cjs +6 -6
- package/lib/resources/easypost_pickups.d.cts +4 -1
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/easypost_pickups.js +5 -5
- package/lib/resources/event_callbacks.cjs +6 -6
- package/lib/resources/event_callbacks.d.cts +4 -1
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_callbacks.js +5 -5
- package/lib/resources/event_stores.cjs +20 -0
- package/lib/resources/event_stores.cjs.map +1 -0
- package/lib/resources/event_stores.d.cts +7 -0
- package/lib/resources/event_stores.d.ts +4 -0
- package/lib/resources/event_stores.js +12 -0
- package/lib/resources/event_stores.js.map +1 -0
- package/lib/resources/events.cjs +6 -6
- package/lib/resources/events.d.cts +4 -1
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/events.js +5 -5
- package/lib/resources/exports.cjs +6 -6
- package/lib/resources/exports.d.cts +4 -1
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +5 -5
- package/lib/resources/external_gateways.cjs +6 -6
- package/lib/resources/external_gateways.d.cts +4 -1
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_gateways.js +5 -5
- package/lib/resources/external_payments.cjs +6 -6
- package/lib/resources/external_payments.d.cts +4 -1
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_payments.js +5 -5
- package/lib/resources/external_promotions.cjs +6 -6
- package/lib/resources/external_promotions.d.cts +4 -1
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +5 -5
- package/lib/resources/external_tax_calculators.cjs +6 -6
- package/lib/resources/external_tax_calculators.d.cts +4 -1
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/external_tax_calculators.js +5 -5
- package/lib/resources/fixed_amount_promotions.cjs +6 -6
- package/lib/resources/fixed_amount_promotions.d.cts +4 -1
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.js +5 -5
- package/lib/resources/fixed_price_promotions.cjs +6 -6
- package/lib/resources/fixed_price_promotions.d.cts +4 -1
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.js +5 -5
- package/lib/resources/flex_promotions.cjs +6 -6
- package/lib/resources/flex_promotions.d.cts +4 -1
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +5 -5
- package/lib/resources/free_gift_promotions.cjs +6 -6
- package/lib/resources/free_gift_promotions.d.cts +4 -1
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_gift_promotions.js +5 -5
- package/lib/resources/free_shipping_promotions.cjs +6 -6
- package/lib/resources/free_shipping_promotions.d.cts +4 -1
- package/lib/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.js +5 -5
- package/lib/resources/geocoders.cjs +6 -6
- package/lib/resources/geocoders.d.cts +4 -1
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/geocoders.js +5 -5
- package/lib/resources/gift_card_recipients.cjs +6 -6
- package/lib/resources/gift_card_recipients.d.cts +4 -1
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_card_recipients.js +5 -5
- package/lib/resources/gift_cards.cjs +6 -6
- package/lib/resources/gift_cards.d.cts +4 -1
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/gift_cards.js +5 -5
- package/lib/resources/google_geocoders.cjs +6 -6
- package/lib/resources/google_geocoders.d.cts +4 -1
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/google_geocoders.js +5 -5
- package/lib/resources/imports.cjs +6 -6
- package/lib/resources/imports.d.cts +4 -1
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +5 -5
- package/lib/resources/in_stock_subscriptions.cjs +6 -6
- package/lib/resources/in_stock_subscriptions.d.cts +4 -1
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.js +5 -5
- package/lib/resources/inventory_models.cjs +6 -6
- package/lib/resources/inventory_models.d.cts +4 -1
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_models.js +5 -5
- package/lib/resources/inventory_return_locations.cjs +6 -6
- package/lib/resources/inventory_return_locations.d.cts +4 -1
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_return_locations.js +5 -5
- package/lib/resources/inventory_stock_locations.cjs +6 -6
- package/lib/resources/inventory_stock_locations.d.cts +4 -1
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.js +5 -5
- package/lib/resources/klarna_gateways.cjs +6 -6
- package/lib/resources/klarna_gateways.d.cts +4 -1
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_gateways.js +5 -5
- package/lib/resources/klarna_payments.cjs +6 -6
- package/lib/resources/klarna_payments.d.cts +4 -1
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/klarna_payments.js +5 -5
- package/lib/resources/line_item_options.cjs +6 -6
- package/lib/resources/line_item_options.d.cts +4 -1
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_item_options.js +5 -5
- package/lib/resources/line_items.cjs +6 -6
- package/lib/resources/line_items.d.cts +4 -1
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +5 -5
- package/lib/resources/links.cjs +6 -6
- package/lib/resources/links.d.cts +4 -1
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/links.js +5 -5
- package/lib/resources/manual_gateways.cjs +6 -6
- package/lib/resources/manual_gateways.d.cts +4 -1
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_gateways.js +5 -5
- package/lib/resources/manual_tax_calculators.cjs +6 -6
- package/lib/resources/manual_tax_calculators.d.cts +4 -1
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.js +5 -5
- package/lib/resources/markets.cjs +6 -6
- package/lib/resources/markets.d.cts +4 -1
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/markets.js +5 -5
- package/lib/resources/merchants.cjs +6 -6
- package/lib/resources/merchants.d.cts +4 -1
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/merchants.js +5 -5
- package/lib/resources/notifications.cjs +6 -6
- package/lib/resources/notifications.d.cts +4 -1
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/notifications.js +5 -5
- package/lib/resources/order_amount_promotion_rules.cjs +6 -6
- package/lib/resources/order_amount_promotion_rules.d.cts +4 -1
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/resources/order_amount_promotion_rules.js +5 -5
- package/lib/resources/order_copies.cjs +6 -6
- package/lib/resources/order_copies.d.cts +4 -1
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_copies.js +5 -5
- package/lib/resources/order_factories.cjs +6 -6
- package/lib/resources/order_factories.d.cts +4 -1
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_factories.js +5 -5
- package/lib/resources/order_subscription_items.cjs +6 -6
- package/lib/resources/order_subscription_items.d.cts +4 -1
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscription_items.js +5 -5
- package/lib/resources/order_subscriptions.cjs +6 -6
- package/lib/resources/order_subscriptions.d.cts +4 -1
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/order_subscriptions.js +5 -5
- package/lib/resources/orders.cjs +6 -6
- package/lib/resources/orders.d.cts +4 -1
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +5 -5
- package/lib/resources/organizations.cjs +6 -6
- package/lib/resources/organizations.d.cts +4 -1
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +5 -5
- package/lib/resources/packages.cjs +6 -6
- package/lib/resources/packages.d.cts +4 -1
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/packages.js +5 -5
- package/lib/resources/parcel_line_items.cjs +6 -6
- package/lib/resources/parcel_line_items.d.cts +4 -1
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcel_line_items.js +5 -5
- package/lib/resources/parcels.cjs +6 -6
- package/lib/resources/parcels.d.cts +4 -1
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/parcels.js +5 -5
- package/lib/resources/payment_gateways.cjs +6 -6
- package/lib/resources/payment_gateways.d.cts +4 -1
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_gateways.js +5 -5
- package/lib/resources/payment_methods.cjs +6 -6
- package/lib/resources/payment_methods.d.cts +4 -1
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_methods.js +5 -5
- package/lib/resources/payment_options.cjs +6 -6
- package/lib/resources/payment_options.d.cts +4 -1
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/payment_options.js +5 -5
- package/lib/resources/paypal_gateways.cjs +6 -6
- package/lib/resources/paypal_gateways.d.cts +4 -1
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_gateways.js +5 -5
- package/lib/resources/paypal_payments.cjs +6 -6
- package/lib/resources/paypal_payments.d.cts +4 -1
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/paypal_payments.js +5 -5
- package/lib/resources/percentage_discount_promotions.cjs +6 -6
- package/lib/resources/percentage_discount_promotions.d.cts +4 -1
- package/lib/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.js +5 -5
- package/lib/resources/pickups.cjs +6 -6
- package/lib/resources/pickups.d.cts +4 -1
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/pickups.js +5 -5
- package/lib/resources/price_frequency_tiers.cjs +6 -6
- package/lib/resources/price_frequency_tiers.d.cts +4 -1
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.js +5 -5
- package/lib/resources/price_list_schedulers.cjs +6 -6
- package/lib/resources/price_list_schedulers.d.cts +4 -1
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.js +5 -5
- package/lib/resources/price_lists.cjs +6 -6
- package/lib/resources/price_lists.d.cts +4 -1
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +5 -5
- package/lib/resources/price_tiers.cjs +6 -6
- package/lib/resources/price_tiers.d.cts +4 -1
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_tiers.js +5 -5
- package/lib/resources/price_volume_tiers.cjs +6 -6
- package/lib/resources/price_volume_tiers.d.cts +4 -1
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.js +5 -5
- package/lib/resources/prices.cjs +6 -6
- package/lib/resources/prices.d.cts +4 -1
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +5 -5
- package/lib/resources/promotion_rules.cjs +6 -6
- package/lib/resources/promotion_rules.d.cts +4 -1
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotion_rules.js +5 -5
- package/lib/resources/promotions.cjs +6 -6
- package/lib/resources/promotions.d.cts +4 -1
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +5 -5
- package/lib/resources/recurring_order_copies.cjs +6 -6
- package/lib/resources/recurring_order_copies.d.cts +4 -1
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/recurring_order_copies.js +5 -5
- package/lib/resources/refunds.cjs +6 -6
- package/lib/resources/refunds.d.cts +4 -1
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +5 -5
- package/lib/resources/reserved_stocks.cjs +6 -6
- package/lib/resources/reserved_stocks.d.cts +4 -1
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/reserved_stocks.js +5 -5
- package/lib/resources/resource_errors.cjs +6 -6
- package/lib/resources/resource_errors.d.cts +4 -1
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/resource_errors.js +5 -5
- package/lib/resources/return_line_items.cjs +6 -6
- package/lib/resources/return_line_items.d.cts +4 -1
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/return_line_items.js +5 -5
- package/lib/resources/returns.cjs +6 -6
- package/lib/resources/returns.d.cts +4 -1
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/returns.js +5 -5
- package/lib/resources/satispay_gateways.cjs +6 -6
- package/lib/resources/satispay_gateways.d.cts +4 -1
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_gateways.js +5 -5
- package/lib/resources/satispay_payments.cjs +6 -6
- package/lib/resources/satispay_payments.d.cts +4 -1
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +5 -5
- package/lib/resources/shipments.cjs +6 -6
- package/lib/resources/shipments.d.cts +4 -1
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +5 -5
- package/lib/resources/shipping_categories.cjs +6 -6
- package/lib/resources/shipping_categories.d.cts +4 -1
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_categories.js +5 -5
- package/lib/resources/shipping_method_tiers.cjs +6 -6
- package/lib/resources/shipping_method_tiers.d.cts +4 -1
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.js +5 -5
- package/lib/resources/shipping_methods.cjs +6 -6
- package/lib/resources/shipping_methods.d.cts +4 -1
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_methods.js +5 -5
- package/lib/resources/shipping_weight_tiers.cjs +6 -6
- package/lib/resources/shipping_weight_tiers.d.cts +4 -1
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.js +5 -5
- package/lib/resources/shipping_zones.cjs +6 -6
- package/lib/resources/shipping_zones.d.cts +4 -1
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/shipping_zones.js +5 -5
- package/lib/resources/sku_list_items.cjs +6 -6
- package/lib/resources/sku_list_items.d.cts +4 -1
- package/lib/resources/sku_list_items.d.ts +1 -1
- package/lib/resources/sku_list_items.js +5 -5
- package/lib/resources/sku_list_promotion_rules.cjs +6 -6
- package/lib/resources/sku_list_promotion_rules.d.cts +4 -1
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_list_promotion_rules.js +5 -5
- package/lib/resources/sku_lists.cjs +6 -6
- package/lib/resources/sku_lists.d.cts +4 -1
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_lists.js +5 -5
- package/lib/resources/sku_options.cjs +6 -6
- package/lib/resources/sku_options.d.cts +4 -1
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/sku_options.js +5 -5
- package/lib/resources/skus.cjs +6 -6
- package/lib/resources/skus.d.cts +4 -1
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +5 -5
- package/lib/resources/stock_items.cjs +6 -6
- package/lib/resources/stock_items.d.cts +4 -1
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_items.js +5 -5
- package/lib/resources/stock_line_items.cjs +6 -6
- package/lib/resources/stock_line_items.d.cts +4 -1
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_line_items.js +5 -5
- package/lib/resources/stock_locations.cjs +6 -6
- package/lib/resources/stock_locations.d.cts +4 -1
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_locations.js +5 -5
- package/lib/resources/stock_reservations.cjs +6 -6
- package/lib/resources/stock_reservations.d.cts +4 -1
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_reservations.js +5 -5
- package/lib/resources/stock_transfers.cjs +6 -6
- package/lib/resources/stock_transfers.d.cts +4 -1
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stock_transfers.js +5 -5
- package/lib/resources/stores.cjs +6 -6
- package/lib/resources/stores.d.cts +4 -1
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stores.js +5 -5
- package/lib/resources/stripe_gateways.cjs +6 -6
- package/lib/resources/stripe_gateways.d.cts +4 -1
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_gateways.js +5 -5
- package/lib/resources/stripe_payments.cjs +6 -6
- package/lib/resources/stripe_payments.d.cts +4 -1
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_payments.js +5 -5
- package/lib/resources/stripe_tax_accounts.cjs +6 -6
- package/lib/resources/stripe_tax_accounts.d.cts +4 -1
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.js +5 -5
- package/lib/resources/subscription_models.cjs +6 -6
- package/lib/resources/subscription_models.d.cts +4 -1
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/subscription_models.js +5 -5
- package/lib/resources/tags.cjs +6 -6
- package/lib/resources/tags.d.cts +4 -1
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/tags.js +5 -5
- package/lib/resources/talon_one_accounts.cjs +6 -6
- package/lib/resources/talon_one_accounts.d.cts +4 -1
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/talon_one_accounts.js +5 -5
- package/lib/resources/tax_calculators.cjs +6 -6
- package/lib/resources/tax_calculators.d.cts +4 -1
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_calculators.js +5 -5
- package/lib/resources/tax_categories.cjs +6 -6
- package/lib/resources/tax_categories.d.cts +4 -1
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_categories.js +5 -5
- package/lib/resources/tax_rules.cjs +6 -6
- package/lib/resources/tax_rules.d.cts +4 -1
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/tax_rules.js +5 -5
- package/lib/resources/taxjar_accounts.cjs +6 -6
- package/lib/resources/taxjar_accounts.d.cts +4 -1
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/taxjar_accounts.js +5 -5
- package/lib/resources/transactions.cjs +6 -6
- package/lib/resources/transactions.d.cts +4 -1
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +5 -5
- package/lib/resources/versions.cjs +6 -6
- package/lib/resources/versions.d.cts +4 -1
- package/lib/resources/versions.d.ts +1 -1
- package/lib/resources/versions.js +5 -5
- package/lib/resources/vertex_accounts.cjs +6 -6
- package/lib/resources/vertex_accounts.d.cts +4 -1
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +5 -5
- package/lib/resources/voids.cjs +6 -6
- package/lib/resources/voids.d.cts +4 -1
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +5 -5
- package/lib/resources/webhooks.cjs +6 -6
- package/lib/resources/webhooks.d.cts +4 -1
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/webhooks.js +5 -5
- package/lib/resources/wire_transfers.cjs +6 -6
- package/lib/resources/wire_transfers.d.cts +4 -1
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/resources/wire_transfers.js +5 -5
- package/lib/static.cjs +7 -7
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +6 -6
- package/package.json +11 -11
- package/lib/api-CL2USQbG.d.cts +0 -17220
- package/lib/api-DFDuF5Xh.d.ts +0 -17220
- package/lib/chunk-2AFNQJXP.cjs +0 -61
- package/lib/chunk-2AFNQJXP.cjs.map +0 -1
- package/lib/chunk-2AMKJ6V7.cjs +0 -47
- package/lib/chunk-2AMKJ6V7.cjs.map +0 -1
- package/lib/chunk-2HLQW5MF.cjs +0 -59
- package/lib/chunk-2HLQW5MF.cjs.map +0 -1
- package/lib/chunk-2HPO4UZA.cjs +0 -51
- package/lib/chunk-2HPO4UZA.cjs.map +0 -1
- package/lib/chunk-2JOYLKTP.cjs +0 -42
- package/lib/chunk-2JOYLKTP.cjs.map +0 -1
- package/lib/chunk-2KKHO6QF.js +0 -59
- package/lib/chunk-2KKHO6QF.js.map +0 -1
- package/lib/chunk-2L2ZM3VD.js +0 -33
- package/lib/chunk-2L2ZM3VD.js.map +0 -1
- package/lib/chunk-2P6AFRJL.js +0 -44
- package/lib/chunk-2P6AFRJL.js.map +0 -1
- package/lib/chunk-2PYM3QGA.js +0 -45
- package/lib/chunk-2PYM3QGA.js.map +0 -1
- package/lib/chunk-2THU5NEW.cjs +0 -47
- package/lib/chunk-2THU5NEW.cjs.map +0 -1
- package/lib/chunk-2XGMKMF5.cjs +0 -51
- package/lib/chunk-2XGMKMF5.cjs.map +0 -1
- package/lib/chunk-34H2NFDA.js +0 -52
- package/lib/chunk-34H2NFDA.js.map +0 -1
- package/lib/chunk-35OHXDG3.cjs +0 -156
- package/lib/chunk-35OHXDG3.cjs.map +0 -1
- package/lib/chunk-3ADITMLN.cjs +0 -62
- package/lib/chunk-3ADITMLN.cjs.map +0 -1
- package/lib/chunk-3ANXNJ6U.cjs +0 -51
- package/lib/chunk-3ANXNJ6U.cjs.map +0 -1
- package/lib/chunk-3AOPII3W.js +0 -65
- package/lib/chunk-3AOPII3W.js.map +0 -1
- package/lib/chunk-3DFZ5QLR.js +0 -61
- package/lib/chunk-3DFZ5QLR.js.map +0 -1
- package/lib/chunk-3EX76AZW.js +0 -3
- package/lib/chunk-3EX76AZW.js.map +0 -1
- package/lib/chunk-3I5BJF3J.js +0 -45
- package/lib/chunk-3I5BJF3J.js.map +0 -1
- package/lib/chunk-3N2MNKA3.js +0 -54
- package/lib/chunk-3N2MNKA3.js.map +0 -1
- package/lib/chunk-3NWQH32A.js +0 -36
- package/lib/chunk-3NWQH32A.js.map +0 -1
- package/lib/chunk-3OBFBFUV.js +0 -45
- package/lib/chunk-3OBFBFUV.js.map +0 -1
- package/lib/chunk-3PVKJIA3.js +0 -40
- package/lib/chunk-3PVKJIA3.js.map +0 -1
- package/lib/chunk-3RR27O3T.js +0 -45
- package/lib/chunk-3RR27O3T.js.map +0 -1
- package/lib/chunk-3TGZNMLP.cjs +0 -38
- package/lib/chunk-3TGZNMLP.cjs.map +0 -1
- package/lib/chunk-3URHH3S6.js +0 -43
- package/lib/chunk-3URHH3S6.js.map +0 -1
- package/lib/chunk-3WKN5OCU.cjs +0 -47
- package/lib/chunk-3WKN5OCU.cjs.map +0 -1
- package/lib/chunk-3XWE56FL.cjs +0 -101
- package/lib/chunk-3XWE56FL.cjs.map +0 -1
- package/lib/chunk-42DT6ZET.cjs +0 -47
- package/lib/chunk-42DT6ZET.cjs.map +0 -1
- package/lib/chunk-432EXURP.js +0 -41
- package/lib/chunk-432EXURP.js.map +0 -1
- package/lib/chunk-465K3KVE.js +0 -49
- package/lib/chunk-465K3KVE.js.map +0 -1
- package/lib/chunk-4IH4EHXT.cjs +0 -69
- package/lib/chunk-4IH4EHXT.cjs.map +0 -1
- package/lib/chunk-4KFJUIFD.js +0 -45
- package/lib/chunk-4KFJUIFD.js.map +0 -1
- package/lib/chunk-4KO5LZ7F.js +0 -45
- package/lib/chunk-4KO5LZ7F.js.map +0 -1
- package/lib/chunk-4L4MGCUZ.js +0 -45
- package/lib/chunk-4L4MGCUZ.js.map +0 -1
- package/lib/chunk-4L73LJKG.js +0 -41
- package/lib/chunk-4L73LJKG.js.map +0 -1
- package/lib/chunk-4SCFKFIM.cjs +0 -38
- package/lib/chunk-4SCFKFIM.cjs.map +0 -1
- package/lib/chunk-57XXD3GQ.cjs +0 -50
- package/lib/chunk-57XXD3GQ.cjs.map +0 -1
- package/lib/chunk-5EXCGVF2.cjs +0 -47
- package/lib/chunk-5EXCGVF2.cjs.map +0 -1
- package/lib/chunk-5FZNBGAF.cjs +0 -38
- package/lib/chunk-5FZNBGAF.cjs.map +0 -1
- package/lib/chunk-5OQQBNVB.js +0 -49
- package/lib/chunk-5OQQBNVB.js.map +0 -1
- package/lib/chunk-5P5Z7NXC.js +0 -49
- package/lib/chunk-5P5Z7NXC.js.map +0 -1
- package/lib/chunk-5R76TU4I.cjs +0 -52
- package/lib/chunk-5R76TU4I.cjs.map +0 -1
- package/lib/chunk-5YMHXTJG.cjs +0 -4
- package/lib/chunk-5YMHXTJG.cjs.map +0 -1
- package/lib/chunk-627I2FYX.cjs +0 -47
- package/lib/chunk-627I2FYX.cjs.map +0 -1
- package/lib/chunk-66JDSPFD.cjs +0 -51
- package/lib/chunk-66JDSPFD.cjs.map +0 -1
- package/lib/chunk-67QVA2J3.cjs +0 -34
- package/lib/chunk-67QVA2J3.cjs.map +0 -1
- package/lib/chunk-6AJSOS56.cjs +0 -75
- package/lib/chunk-6AJSOS56.cjs.map +0 -1
- package/lib/chunk-6B66AQKB.cjs +0 -45
- package/lib/chunk-6B66AQKB.cjs.map +0 -1
- package/lib/chunk-6EDJTG3X.cjs +0 -50
- package/lib/chunk-6EDJTG3X.cjs.map +0 -1
- package/lib/chunk-6OHA2TO3.cjs +0 -61
- package/lib/chunk-6OHA2TO3.cjs.map +0 -1
- package/lib/chunk-6PWK52UZ.cjs +0 -70
- package/lib/chunk-6PWK52UZ.cjs.map +0 -1
- package/lib/chunk-6SCAIB4K.cjs +0 -43
- package/lib/chunk-6SCAIB4K.cjs.map +0 -1
- package/lib/chunk-6SOWFGBP.cjs +0 -63
- package/lib/chunk-6SOWFGBP.cjs.map +0 -1
- package/lib/chunk-7CQTUOR4.cjs +0 -42
- package/lib/chunk-7CQTUOR4.cjs.map +0 -1
- package/lib/chunk-7GVHCOUC.js +0 -73
- package/lib/chunk-7GVHCOUC.js.map +0 -1
- package/lib/chunk-7ISS2FDY.js +0 -93
- package/lib/chunk-7ISS2FDY.js.map +0 -1
- package/lib/chunk-7JLRB7QH.js +0 -24
- package/lib/chunk-7JLRB7QH.js.map +0 -1
- package/lib/chunk-7SG4WU7W.js +0 -45
- package/lib/chunk-7SG4WU7W.js.map +0 -1
- package/lib/chunk-7SZY5BWE.js +0 -45
- package/lib/chunk-7SZY5BWE.js.map +0 -1
- package/lib/chunk-7VSYXEXL.js +0 -59
- package/lib/chunk-7VSYXEXL.js.map +0 -1
- package/lib/chunk-7X36B7N6.js +0 -27
- package/lib/chunk-7X36B7N6.js.map +0 -1
- package/lib/chunk-7Z2U4MHU.cjs +0 -52
- package/lib/chunk-7Z2U4MHU.cjs.map +0 -1
- package/lib/chunk-A6BT5FSV.cjs +0 -43
- package/lib/chunk-A6BT5FSV.cjs.map +0 -1
- package/lib/chunk-A6ZDNNYD.js +0 -51
- package/lib/chunk-A6ZDNNYD.js.map +0 -1
- package/lib/chunk-A7BEMDVP.cjs +0 -55
- package/lib/chunk-A7BEMDVP.cjs.map +0 -1
- package/lib/chunk-AD73LDFJ.cjs +0 -43
- package/lib/chunk-AD73LDFJ.cjs.map +0 -1
- package/lib/chunk-AIGQRBCY.cjs +0 -47
- package/lib/chunk-AIGQRBCY.cjs.map +0 -1
- package/lib/chunk-ANCLAYJV.cjs +0 -98
- package/lib/chunk-ANCLAYJV.cjs.map +0 -1
- package/lib/chunk-AQFAND5D.cjs +0 -282
- package/lib/chunk-AQFAND5D.cjs.map +0 -1
- package/lib/chunk-ARIBIRKF.cjs +0 -47
- package/lib/chunk-ARIBIRKF.cjs.map +0 -1
- package/lib/chunk-AW3TRBZ7.js +0 -44
- package/lib/chunk-AW3TRBZ7.js.map +0 -1
- package/lib/chunk-AYTBSAHY.js +0 -20
- package/lib/chunk-AYTBSAHY.js.map +0 -1
- package/lib/chunk-B72FREUL.cjs +0 -57
- package/lib/chunk-B72FREUL.cjs.map +0 -1
- package/lib/chunk-BBEMCANC.cjs +0 -95
- package/lib/chunk-BBEMCANC.cjs.map +0 -1
- package/lib/chunk-BF7OPORP.js +0 -69
- package/lib/chunk-BF7OPORP.js.map +0 -1
- package/lib/chunk-BN6XJAZH.cjs +0 -43
- package/lib/chunk-BN6XJAZH.cjs.map +0 -1
- package/lib/chunk-BTAKU6V5.cjs +0 -42
- package/lib/chunk-BTAKU6V5.cjs.map +0 -1
- package/lib/chunk-BYRFMGBQ.js +0 -105
- package/lib/chunk-BYRFMGBQ.js.map +0 -1
- package/lib/chunk-CG2ACHGS.js +0 -45
- package/lib/chunk-CG2ACHGS.js.map +0 -1
- package/lib/chunk-CK6RZLVM.cjs +0 -47
- package/lib/chunk-CK6RZLVM.cjs.map +0 -1
- package/lib/chunk-CNCZCBI3.js +0 -99
- package/lib/chunk-CNCZCBI3.js.map +0 -1
- package/lib/chunk-CRRYP7ZN.js +0 -45
- package/lib/chunk-CRRYP7ZN.js.map +0 -1
- package/lib/chunk-CTXBUDGO.cjs +0 -39
- package/lib/chunk-CTXBUDGO.cjs.map +0 -1
- package/lib/chunk-CUNOMS5N.js +0 -40
- package/lib/chunk-CUNOMS5N.js.map +0 -1
- package/lib/chunk-D26KDUDM.cjs +0 -47
- package/lib/chunk-D26KDUDM.cjs.map +0 -1
- package/lib/chunk-D5E4OGXU.js +0 -49
- package/lib/chunk-D5E4OGXU.js.map +0 -1
- package/lib/chunk-D7KNSKNJ.js +0 -55
- package/lib/chunk-D7KNSKNJ.js.map +0 -1
- package/lib/chunk-DAXKXBA3.js +0 -48
- package/lib/chunk-DAXKXBA3.js.map +0 -1
- package/lib/chunk-DJ572MZB.cjs +0 -50
- package/lib/chunk-DJ572MZB.cjs.map +0 -1
- package/lib/chunk-DOFPDQMJ.cjs +0 -56
- package/lib/chunk-DOFPDQMJ.cjs.map +0 -1
- package/lib/chunk-DOGEZ6XX.cjs +0 -46
- package/lib/chunk-DOGEZ6XX.cjs.map +0 -1
- package/lib/chunk-DSKZRVXS.js +0 -28
- package/lib/chunk-DSKZRVXS.js.map +0 -1
- package/lib/chunk-DTGODPCN.js +0 -93
- package/lib/chunk-DTGODPCN.js.map +0 -1
- package/lib/chunk-DYZGWPZ6.js +0 -33
- package/lib/chunk-DYZGWPZ6.js.map +0 -1
- package/lib/chunk-E3FDHGI7.js +0 -36
- package/lib/chunk-E3FDHGI7.js.map +0 -1
- package/lib/chunk-E4DYW6HB.cjs +0 -42
- package/lib/chunk-E4DYW6HB.cjs.map +0 -1
- package/lib/chunk-E6TBQVLK.cjs +0 -39
- package/lib/chunk-E6TBQVLK.cjs.map +0 -1
- package/lib/chunk-EADFDBOR.cjs +0 -46
- package/lib/chunk-EADFDBOR.cjs.map +0 -1
- package/lib/chunk-ECMCBU3N.js +0 -53
- package/lib/chunk-ECMCBU3N.js.map +0 -1
- package/lib/chunk-EEFOL62K.js +0 -36
- package/lib/chunk-EEFOL62K.js.map +0 -1
- package/lib/chunk-EHWAGYNX.js +0 -68
- package/lib/chunk-EHWAGYNX.js.map +0 -1
- package/lib/chunk-EKGR3EB3.js +0 -82
- package/lib/chunk-EKGR3EB3.js.map +0 -1
- package/lib/chunk-ELBOXOTA.js +0 -28
- package/lib/chunk-ELBOXOTA.js.map +0 -1
- package/lib/chunk-EP22KKHR.js +0 -48
- package/lib/chunk-EP22KKHR.js.map +0 -1
- package/lib/chunk-EP7MAEQH.cjs +0 -47
- package/lib/chunk-EP7MAEQH.cjs.map +0 -1
- package/lib/chunk-EQD223JW.cjs +0 -95
- package/lib/chunk-EQD223JW.cjs.map +0 -1
- package/lib/chunk-F6MSHDB7.cjs +0 -47
- package/lib/chunk-F6MSHDB7.cjs.map +0 -1
- package/lib/chunk-FAU5EILL.js +0 -61
- package/lib/chunk-FAU5EILL.js.map +0 -1
- package/lib/chunk-FSFXOZ35.cjs +0 -47
- package/lib/chunk-FSFXOZ35.cjs.map +0 -1
- package/lib/chunk-FTAZDUH6.js +0 -99
- package/lib/chunk-FTAZDUH6.js.map +0 -1
- package/lib/chunk-FVJDRHG7.js +0 -48
- package/lib/chunk-FVJDRHG7.js.map +0 -1
- package/lib/chunk-FXE62CPP.cjs +0 -46
- package/lib/chunk-FXE62CPP.cjs.map +0 -1
- package/lib/chunk-FYKIHWAM.cjs +0 -77
- package/lib/chunk-FYKIHWAM.cjs.map +0 -1
- package/lib/chunk-G74OZ4M6.js +0 -45
- package/lib/chunk-G74OZ4M6.js.map +0 -1
- package/lib/chunk-GD4WRDF2.js +0 -644
- package/lib/chunk-GD4WRDF2.js.map +0 -1
- package/lib/chunk-GE6OHQR6.cjs +0 -89
- package/lib/chunk-GE6OHQR6.cjs.map +0 -1
- package/lib/chunk-GHLCA7BX.js +0 -53
- package/lib/chunk-GHLCA7BX.js.map +0 -1
- package/lib/chunk-GLSPCG3M.cjs +0 -46
- package/lib/chunk-GLSPCG3M.cjs.map +0 -1
- package/lib/chunk-H2USYPU6.js +0 -49
- package/lib/chunk-H2USYPU6.js.map +0 -1
- package/lib/chunk-H4PUXGNI.cjs +0 -47
- package/lib/chunk-H4PUXGNI.cjs.map +0 -1
- package/lib/chunk-H4SVEI6E.js +0 -151
- package/lib/chunk-H4SVEI6E.js.map +0 -1
- package/lib/chunk-HAAE23MQ.js +0 -93
- package/lib/chunk-HAAE23MQ.js.map +0 -1
- package/lib/chunk-HBUDZOK7.cjs +0 -55
- package/lib/chunk-HBUDZOK7.cjs.map +0 -1
- package/lib/chunk-HCBXRHD7.js +0 -45
- package/lib/chunk-HCBXRHD7.js.map +0 -1
- package/lib/chunk-HDYENVKD.js +0 -45
- package/lib/chunk-HDYENVKD.js.map +0 -1
- package/lib/chunk-HLCGKY7R.js +0 -59
- package/lib/chunk-HLCGKY7R.js.map +0 -1
- package/lib/chunk-HNHF6T2I.cjs +0 -54
- package/lib/chunk-HNHF6T2I.cjs.map +0 -1
- package/lib/chunk-HQ35KQFG.cjs +0 -86
- package/lib/chunk-HQ35KQFG.cjs.map +0 -1
- package/lib/chunk-HQ5STEMD.js +0 -55
- package/lib/chunk-HQ5STEMD.js.map +0 -1
- package/lib/chunk-HQ6TJSB7.cjs +0 -51
- package/lib/chunk-HQ6TJSB7.cjs.map +0 -1
- package/lib/chunk-HSILJQCD.js +0 -93
- package/lib/chunk-HSILJQCD.js.map +0 -1
- package/lib/chunk-I3SKGXTB.cjs +0 -26
- package/lib/chunk-I3SKGXTB.cjs.map +0 -1
- package/lib/chunk-IDAOX5RB.cjs +0 -95
- package/lib/chunk-IDAOX5RB.cjs.map +0 -1
- package/lib/chunk-IITNQS6D.js +0 -49
- package/lib/chunk-IITNQS6D.js.map +0 -1
- package/lib/chunk-IKENWSRH.cjs +0 -126
- package/lib/chunk-IKENWSRH.cjs.map +0 -1
- package/lib/chunk-INJ7FRDA.cjs +0 -55
- package/lib/chunk-INJ7FRDA.cjs.map +0 -1
- package/lib/chunk-INZD34YD.cjs +0 -91
- package/lib/chunk-INZD34YD.cjs.map +0 -1
- package/lib/chunk-J4CTOHX6.cjs +0 -68
- package/lib/chunk-J4CTOHX6.cjs.map +0 -1
- package/lib/chunk-J6NBJHWL.cjs +0 -101
- package/lib/chunk-J6NBJHWL.cjs.map +0 -1
- package/lib/chunk-J6PTNG3D.js +0 -280
- package/lib/chunk-J6PTNG3D.js.map +0 -1
- package/lib/chunk-J7ZSBB35.js +0 -45
- package/lib/chunk-J7ZSBB35.js.map +0 -1
- package/lib/chunk-JAQECLCE.js +0 -41
- package/lib/chunk-JAQECLCE.js.map +0 -1
- package/lib/chunk-JECYKPCC.cjs +0 -30
- package/lib/chunk-JECYKPCC.cjs.map +0 -1
- package/lib/chunk-JENLN6VJ.js +0 -51
- package/lib/chunk-JENLN6VJ.js.map +0 -1
- package/lib/chunk-JN4JL4WT.cjs +0 -75
- package/lib/chunk-JN4JL4WT.cjs.map +0 -1
- package/lib/chunk-JPUF5YXX.js +0 -37
- package/lib/chunk-JPUF5YXX.js.map +0 -1
- package/lib/chunk-JRTJ6LWK.js +0 -53
- package/lib/chunk-JRTJ6LWK.js.map +0 -1
- package/lib/chunk-JT7HVLLW.cjs +0 -57
- package/lib/chunk-JT7HVLLW.cjs.map +0 -1
- package/lib/chunk-JWC2GSYH.cjs +0 -47
- package/lib/chunk-JWC2GSYH.cjs.map +0 -1
- package/lib/chunk-JYOFP6BM.js +0 -87
- package/lib/chunk-JYOFP6BM.js.map +0 -1
- package/lib/chunk-JYXAF775.js +0 -49
- package/lib/chunk-JYXAF775.js.map +0 -1
- package/lib/chunk-K2CU5HIV.js +0 -66
- package/lib/chunk-K2CU5HIV.js.map +0 -1
- package/lib/chunk-K6WSCQKS.cjs +0 -53
- package/lib/chunk-K6WSCQKS.cjs.map +0 -1
- package/lib/chunk-KH5OQRQL.js +0 -38
- package/lib/chunk-KH5OQRQL.js.map +0 -1
- package/lib/chunk-KHMCPH47.cjs +0 -53
- package/lib/chunk-KHMCPH47.cjs.map +0 -1
- package/lib/chunk-KWRDUU7K.js +0 -45
- package/lib/chunk-KWRDUU7K.js.map +0 -1
- package/lib/chunk-L4LPS3DV.cjs +0 -47
- package/lib/chunk-L4LPS3DV.cjs.map +0 -1
- package/lib/chunk-L4TDKOAC.js +0 -32
- package/lib/chunk-L4TDKOAC.js.map +0 -1
- package/lib/chunk-L5NEDGXK.js +0 -124
- package/lib/chunk-L5NEDGXK.js.map +0 -1
- package/lib/chunk-L6IGO47T.js +0 -59
- package/lib/chunk-L6IGO47T.js.map +0 -1
- package/lib/chunk-LCLXLB2R.cjs +0 -53
- package/lib/chunk-LCLXLB2R.cjs.map +0 -1
- package/lib/chunk-LCNT6GY3.js +0 -45
- package/lib/chunk-LCNT6GY3.js.map +0 -1
- package/lib/chunk-LEWK7QET.cjs +0 -61
- package/lib/chunk-LEWK7QET.cjs.map +0 -1
- package/lib/chunk-LIT4FEIU.cjs +0 -47
- package/lib/chunk-LIT4FEIU.cjs.map +0 -1
- package/lib/chunk-LJ2EP6AL.cjs +0 -42
- package/lib/chunk-LJ2EP6AL.cjs.map +0 -1
- package/lib/chunk-LNMY5BDT.js +0 -33
- package/lib/chunk-LNMY5BDT.js.map +0 -1
- package/lib/chunk-LTLMRGB7.js +0 -45
- package/lib/chunk-LTLMRGB7.js.map +0 -1
- package/lib/chunk-M2ZERG2X.cjs +0 -95
- package/lib/chunk-M2ZERG2X.cjs.map +0 -1
- package/lib/chunk-MADGMICB.js +0 -45
- package/lib/chunk-MADGMICB.js.map +0 -1
- package/lib/chunk-MJRMRWP3.js +0 -67
- package/lib/chunk-MJRMRWP3.js.map +0 -1
- package/lib/chunk-MPSHBMZS.js +0 -93
- package/lib/chunk-MPSHBMZS.js.map +0 -1
- package/lib/chunk-MQZSDICO.cjs +0 -38
- package/lib/chunk-MQZSDICO.cjs.map +0 -1
- package/lib/chunk-MUPRLXGP.js +0 -48
- package/lib/chunk-MUPRLXGP.js.map +0 -1
- package/lib/chunk-MWYBER5I.cjs +0 -50
- package/lib/chunk-MWYBER5I.cjs.map +0 -1
- package/lib/chunk-MZNHRIXE.js +0 -41
- package/lib/chunk-MZNHRIXE.js.map +0 -1
- package/lib/chunk-N4P7A3RY.js +0 -64
- package/lib/chunk-N4P7A3RY.js.map +0 -1
- package/lib/chunk-N6MHUHGE.cjs +0 -95
- package/lib/chunk-N6MHUHGE.cjs.map +0 -1
- package/lib/chunk-N753UD4K.cjs +0 -22
- package/lib/chunk-N753UD4K.cjs.map +0 -1
- package/lib/chunk-NAWKHFBZ.js +0 -274
- package/lib/chunk-NAWKHFBZ.js.map +0 -1
- package/lib/chunk-NBYV35R4.cjs +0 -47
- package/lib/chunk-NBYV35R4.cjs.map +0 -1
- package/lib/chunk-NDPDO54G.js +0 -45
- package/lib/chunk-NDPDO54G.js.map +0 -1
- package/lib/chunk-NEC22ZSI.cjs +0 -47
- package/lib/chunk-NEC22ZSI.cjs.map +0 -1
- package/lib/chunk-NJQDJCFB.cjs +0 -71
- package/lib/chunk-NJQDJCFB.cjs.map +0 -1
- package/lib/chunk-NJYMO7FP.cjs +0 -51
- package/lib/chunk-NJYMO7FP.cjs.map +0 -1
- package/lib/chunk-NKJBVNTV.cjs +0 -103
- package/lib/chunk-NKJBVNTV.cjs.map +0 -1
- package/lib/chunk-NMVACSMG.js +0 -84
- package/lib/chunk-NMVACSMG.js.map +0 -1
- package/lib/chunk-NODKE6P4.js +0 -154
- package/lib/chunk-NODKE6P4.js.map +0 -1
- package/lib/chunk-OGLS27LJ.js +0 -45
- package/lib/chunk-OGLS27LJ.js.map +0 -1
- package/lib/chunk-OPQJPXLM.cjs +0 -43
- package/lib/chunk-OPQJPXLM.cjs.map +0 -1
- package/lib/chunk-OYFNK2SE.cjs +0 -38
- package/lib/chunk-OYFNK2SE.cjs.map +0 -1
- package/lib/chunk-P3NADEGE.cjs +0 -29
- package/lib/chunk-P3NADEGE.cjs.map +0 -1
- package/lib/chunk-PEU5GGGE.js +0 -52
- package/lib/chunk-PEU5GGGE.js.map +0 -1
- package/lib/chunk-PNSVP3KP.cjs +0 -54
- package/lib/chunk-PNSVP3KP.cjs.map +0 -1
- package/lib/chunk-PQS6KXZ2.cjs +0 -35
- package/lib/chunk-PQS6KXZ2.cjs.map +0 -1
- package/lib/chunk-PV7MUP5Z.js +0 -44
- package/lib/chunk-PV7MUP5Z.js.map +0 -1
- package/lib/chunk-PZZLLHJP.js +0 -41
- package/lib/chunk-PZZLLHJP.js.map +0 -1
- package/lib/chunk-Q2ZSQM7I.js +0 -45
- package/lib/chunk-Q2ZSQM7I.js.map +0 -1
- package/lib/chunk-Q66HILUF.js +0 -40
- package/lib/chunk-Q66HILUF.js.map +0 -1
- package/lib/chunk-Q66JEOCJ.cjs +0 -50
- package/lib/chunk-Q66JEOCJ.cjs.map +0 -1
- package/lib/chunk-Q7YHSPJL.js +0 -53
- package/lib/chunk-Q7YHSPJL.js.map +0 -1
- package/lib/chunk-QGE4ELJO.cjs +0 -47
- package/lib/chunk-QGE4ELJO.cjs.map +0 -1
- package/lib/chunk-QHRQCFDB.js +0 -41
- package/lib/chunk-QHRQCFDB.js.map +0 -1
- package/lib/chunk-QK5MFD4L.js +0 -45
- package/lib/chunk-QK5MFD4L.js.map +0 -1
- package/lib/chunk-QK7D6L3W.js +0 -51
- package/lib/chunk-QK7D6L3W.js.map +0 -1
- package/lib/chunk-QYDOENWU.cjs +0 -282
- package/lib/chunk-QYDOENWU.cjs.map +0 -1
- package/lib/chunk-QZTNLPOD.cjs +0 -51
- package/lib/chunk-QZTNLPOD.cjs.map +0 -1
- package/lib/chunk-QZWQNPKC.js +0 -45
- package/lib/chunk-QZWQNPKC.js.map +0 -1
- package/lib/chunk-R755X3AG.cjs +0 -47
- package/lib/chunk-R755X3AG.cjs.map +0 -1
- package/lib/chunk-RHARO4TQ.cjs +0 -47
- package/lib/chunk-RHARO4TQ.cjs.map +0 -1
- package/lib/chunk-ROPOLXIV.js +0 -96
- package/lib/chunk-ROPOLXIV.js.map +0 -1
- package/lib/chunk-RT7XLEV6.js +0 -49
- package/lib/chunk-RT7XLEV6.js.map +0 -1
- package/lib/chunk-RTDD2NRL.cjs +0 -39
- package/lib/chunk-RTDD2NRL.cjs.map +0 -1
- package/lib/chunk-RTGW34KX.cjs +0 -40
- package/lib/chunk-RTGW34KX.cjs.map +0 -1
- package/lib/chunk-RWPFE3LF.cjs +0 -51
- package/lib/chunk-RWPFE3LF.cjs.map +0 -1
- package/lib/chunk-SGOUEVJ3.cjs +0 -67
- package/lib/chunk-SGOUEVJ3.cjs.map +0 -1
- package/lib/chunk-SGWRNEJB.cjs +0 -35
- package/lib/chunk-SGWRNEJB.cjs.map +0 -1
- package/lib/chunk-SKFA2ZIK.js +0 -36
- package/lib/chunk-SKFA2ZIK.js.map +0 -1
- package/lib/chunk-SN6BP777.js +0 -89
- package/lib/chunk-SN6BP777.js.map +0 -1
- package/lib/chunk-SOXJJRL2.js +0 -44
- package/lib/chunk-SOXJJRL2.js.map +0 -1
- package/lib/chunk-SPLHKBWG.cjs +0 -51
- package/lib/chunk-SPLHKBWG.cjs.map +0 -1
- package/lib/chunk-SUJCEUOZ.cjs +0 -47
- package/lib/chunk-SUJCEUOZ.cjs.map +0 -1
- package/lib/chunk-SWWPX4V4.cjs +0 -34
- package/lib/chunk-SWWPX4V4.cjs.map +0 -1
- package/lib/chunk-THO6KQJZ.js +0 -50
- package/lib/chunk-THO6KQJZ.js.map +0 -1
- package/lib/chunk-THVPSJTK.cjs +0 -47
- package/lib/chunk-THVPSJTK.cjs.map +0 -1
- package/lib/chunk-TIJIXGNJ.cjs +0 -26
- package/lib/chunk-TIJIXGNJ.cjs.map +0 -1
- package/lib/chunk-TM5OCFYV.cjs +0 -61
- package/lib/chunk-TM5OCFYV.cjs.map +0 -1
- package/lib/chunk-TQFODT4D.cjs +0 -35
- package/lib/chunk-TQFODT4D.cjs.map +0 -1
- package/lib/chunk-TSD2PK6H.js +0 -32
- package/lib/chunk-TSD2PK6H.js.map +0 -1
- package/lib/chunk-TSLXKI72.js +0 -60
- package/lib/chunk-TSLXKI72.js.map +0 -1
- package/lib/chunk-U5FTZYJJ.js +0 -45
- package/lib/chunk-U5FTZYJJ.js.map +0 -1
- package/lib/chunk-U6PW4AZV.js +0 -24
- package/lib/chunk-U6PW4AZV.js.map +0 -1
- package/lib/chunk-UB4WKBUO.js +0 -48
- package/lib/chunk-UB4WKBUO.js.map +0 -1
- package/lib/chunk-UB6JC3W7.js +0 -49
- package/lib/chunk-UB6JC3W7.js.map +0 -1
- package/lib/chunk-UBXNH6J3.js +0 -57
- package/lib/chunk-UBXNH6J3.js.map +0 -1
- package/lib/chunk-UP7FR6HD.cjs +0 -66
- package/lib/chunk-UP7FR6HD.cjs.map +0 -1
- package/lib/chunk-VDZUWCIN.cjs +0 -51
- package/lib/chunk-VDZUWCIN.cjs.map +0 -1
- package/lib/chunk-VLLLEX5J.js +0 -101
- package/lib/chunk-VLLLEX5J.js.map +0 -1
- package/lib/chunk-VMJUXZ67.cjs +0 -84
- package/lib/chunk-VMJUXZ67.cjs.map +0 -1
- package/lib/chunk-VNWOCO65.cjs +0 -68
- package/lib/chunk-VNWOCO65.cjs.map +0 -1
- package/lib/chunk-VPXMI42G.cjs +0 -51
- package/lib/chunk-VPXMI42G.cjs.map +0 -1
- package/lib/chunk-VRFSITD3.js +0 -73
- package/lib/chunk-VRFSITD3.js.map +0 -1
- package/lib/chunk-VUCYIRSC.cjs +0 -47
- package/lib/chunk-VUCYIRSC.cjs.map +0 -1
- package/lib/chunk-WAL76UPE.cjs +0 -153
- package/lib/chunk-WAL76UPE.cjs.map +0 -1
- package/lib/chunk-WBPEFNL7.cjs +0 -29
- package/lib/chunk-WBPEFNL7.cjs.map +0 -1
- package/lib/chunk-WKN5RLNR.js +0 -45
- package/lib/chunk-WKN5RLNR.js.map +0 -1
- package/lib/chunk-WP3L72CW.js +0 -55
- package/lib/chunk-WP3L72CW.js.map +0 -1
- package/lib/chunk-WTHX574O.js +0 -66
- package/lib/chunk-WTHX574O.js.map +0 -1
- package/lib/chunk-WXD4O4UY.js +0 -36
- package/lib/chunk-WXD4O4UY.js.map +0 -1
- package/lib/chunk-X2D47UM7.cjs +0 -63
- package/lib/chunk-X2D47UM7.cjs.map +0 -1
- package/lib/chunk-X6PHZA6P.cjs +0 -660
- package/lib/chunk-X6PHZA6P.cjs.map +0 -1
- package/lib/chunk-XMDDYWH5.js +0 -48
- package/lib/chunk-XMDDYWH5.js.map +0 -1
- package/lib/chunk-XPF5Z2WY.js +0 -75
- package/lib/chunk-XPF5Z2WY.js.map +0 -1
- package/lib/chunk-XR3KEV7U.js +0 -49
- package/lib/chunk-XR3KEV7U.js.map +0 -1
- package/lib/chunk-XUC3BYL2.cjs +0 -43
- package/lib/chunk-XUC3BYL2.cjs.map +0 -1
- package/lib/chunk-Y2IGLW5N.js +0 -40
- package/lib/chunk-Y2IGLW5N.js.map +0 -1
- package/lib/chunk-Y3BFYVWA.js +0 -37
- package/lib/chunk-Y3BFYVWA.js.map +0 -1
- package/lib/chunk-YAKNUPNE.cjs +0 -51
- package/lib/chunk-YAKNUPNE.cjs.map +0 -1
- package/lib/chunk-YAVHAWTZ.js +0 -41
- package/lib/chunk-YAVHAWTZ.js.map +0 -1
- package/lib/chunk-YBXRC6MC.js +0 -49
- package/lib/chunk-YBXRC6MC.js.map +0 -1
- package/lib/chunk-YHYBOXVX.cjs +0 -30
- package/lib/chunk-YHYBOXVX.cjs.map +0 -1
- package/lib/chunk-YIDX7HVR.cjs +0 -50
- package/lib/chunk-YIDX7HVR.cjs.map +0 -1
- package/lib/chunk-YN4M5CNJ.js +0 -50
- package/lib/chunk-YN4M5CNJ.js.map +0 -1
- package/lib/chunk-YOHBJHTH.cjs +0 -57
- package/lib/chunk-YOHBJHTH.cjs.map +0 -1
- package/lib/chunk-YUGZUUAU.js +0 -27
- package/lib/chunk-YUGZUUAU.js.map +0 -1
- package/lib/chunk-Z2QVXW6T.cjs +0 -105
- package/lib/chunk-Z2QVXW6T.cjs.map +0 -1
- package/lib/chunk-Z667GAZJ.js +0 -37
- package/lib/chunk-Z667GAZJ.js.map +0 -1
- package/lib/chunk-Z7DKPFKZ.js +0 -40
- package/lib/chunk-Z7DKPFKZ.js.map +0 -1
- package/lib/chunk-ZAISVVBE.cjs +0 -55
- package/lib/chunk-ZAISVVBE.cjs.map +0 -1
- package/lib/chunk-ZASD6IUL.js +0 -103
- package/lib/chunk-ZASD6IUL.js.map +0 -1
- package/lib/chunk-ZEEB5YAU.js +0 -45
- package/lib/chunk-ZEEB5YAU.js.map +0 -1
- package/lib/chunk-ZFG533LP.js +0 -49
- package/lib/chunk-ZFG533LP.js.map +0 -1
- package/lib/chunk-ZLHZGR5I.cjs +0 -110
- package/lib/chunk-ZLHZGR5I.cjs.map +0 -1
- package/lib/chunk-ZQSCFH5J.cjs +0 -43
- package/lib/chunk-ZQSCFH5J.cjs.map +0 -1
- package/lib/chunk-ZTVQSWSD.cjs +0 -47
- package/lib/chunk-ZTVQSWSD.cjs.map +0 -1
- package/lib/chunk-ZZF34M2E.cjs +0 -47
- package/lib/chunk-ZZF34M2E.cjs.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/free_gift_promotions.ts"],"names":[],"mappings":";;;AAmQA,IAAM,kBAAA,GAAN,MAAM,mBAAA,SAA2B,WAAA,CAA+B;AAAA,EAE/D,OAAgB,IAAA,GAA8B,sBAAA;AAAA,EAE9C,MAAM,MAAA,CAAO,QAAA,EAAmC,MAAA,EAAiD,OAAA,EAAuD;AACvJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAA,CAAmB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACzI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAmC,MAAA,EAAiD,OAAA,EAAuD;AACvJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAA,CAAmB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACzI;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,mBAAA,CAAmB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC1G;AAAA,EAEA,MAAM,MAAA,CAAO,mBAAA,EAAiD,MAAA,EAAsC,OAAA,EAA4C;AAC/I,IAAA,MAAM,oBAAA,GAAwB,oBAA0C,EAAA,IAAM,mBAAA;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,EAAuD;AAChL,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAmD,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,mBAAA,CAAmB,IAAA,EAAM,cAAc,YAAA,EAAa,EAAG,QAAQ,OAAO,CAAA;AAAA,EACjM;AAAA,EAGA,oBAAoB,QAAA,EAA8C;AACjE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,mBAAA,CAAmB,IAAA;AAAA,EAC/D;AAAA,EAGA,aAAa,EAAA,EAAsD;AAClE,IAAA,OAAO,KAAA,CAAM,qBAA2C,EAAE,CAAA;AAAA,EAC3D;AAAA,EAEA,sBAAsB,GAAA,EAAuC;AAC5D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA4C,GAAG,GAAG,CAAA;AAAA,EAChE;AAAA,EAGA,IAAA,GAA8B;AAC7B,IAAA,OAAO,mBAAA,CAAmB,IAAA;AAAA,EAC3B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,kBAAA,EAAmB;AACxC,IAAO,4BAAA,GAAQ","file":"chunk-VDMJ7RC4.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 { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Coupon } from './coupons'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { Sku } from './skus'\nimport type { PromotionRule } from './promotion_rules'\n\n\ntype FreeGiftPromotionType = 'free_gift_promotions'\ntype FreeGiftPromotionRel = ResourceRel & { type: FreeGiftPromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type FreeGiftPromotionSort = Pick<FreeGiftPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort\n// export type FreeGiftPromotionFilter = Pick<FreeGiftPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceFilter\n\n\ninterface FreeGiftPromotion extends Resource {\n\t\n\treadonly type: FreeGiftPromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n\t/** \n\t * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n\t * @example ```112```\n\t */\n\tweight?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The max quantity of free gifts globally applicable by the promotion.\n\t * @example ```3```\n\t */\n\tmax_quantity?: number | null\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface FreeGiftPromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The max quantity of free gifts globally applicable by the promotion.\n\t * @example ```3```\n\t */\n\tmax_quantity?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list: SkuListRel\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface FreeGiftPromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The max quantity of free gifts globally applicable by the promotion.\n\t * @example ```3```\n\t */\n\tmax_quantity?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass FreeGiftPromotions extends ApiResource<FreeGiftPromotion> {\n\n\tstatic readonly TYPE: FreeGiftPromotionType = 'free_gift_promotions' as const\n\n\tasync create(resource: FreeGiftPromotionCreate, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.create<FreeGiftPromotionCreate, FreeGiftPromotion>({ ...resource, type: FreeGiftPromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: FreeGiftPromotionUpdate, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.update<FreeGiftPromotionUpdate, FreeGiftPromotion>({ ...resource, type: FreeGiftPromotions.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: FreeGiftPromotions.TYPE } : id, options)\n\t}\n\n\tasync market(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `free_gift_promotions/${_freeGiftPromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `free_gift_promotions/${_freeGiftPromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `free_gift_promotions/${_freeGiftPromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `free_gift_promotions/${_freeGiftPromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `free_gift_promotions/${_freeGiftPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `free_gift_promotions/${_freeGiftPromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `free_gift_promotions/${_freeGiftPromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `free_gift_promotions/${_freeGiftPromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `free_gift_promotions/${_freeGiftPromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `free_gift_promotions/${_freeGiftPromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `free_gift_promotions/${_freeGiftPromotionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `free_gift_promotions/${_freeGiftPromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `free_gift_promotions/${_freeGiftPromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.update<FreeGiftPromotionUpdate, FreeGiftPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeGiftPromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.update<FreeGiftPromotionUpdate, FreeGiftPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeGiftPromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | FreeGiftPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.update<FreeGiftPromotionUpdate, FreeGiftPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeGiftPromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | FreeGiftPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.update<FreeGiftPromotionUpdate, FreeGiftPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeGiftPromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisFreeGiftPromotion(resource: any): resource is FreeGiftPromotion {\n\t\treturn resource.type && (resource.type === FreeGiftPromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): FreeGiftPromotionRel {\n\t\treturn super.relationshipOneToOne<FreeGiftPromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): FreeGiftPromotionRel[] {\n\t\treturn super.relationshipOneToMany<FreeGiftPromotionRel>(...ids)\n\t}\n\n\n\ttype(): FreeGiftPromotionType {\n\t\treturn FreeGiftPromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new FreeGiftPromotions()\nexport default instance\n\nexport type { FreeGiftPromotions, FreeGiftPromotion, FreeGiftPromotionCreate, FreeGiftPromotionUpdate, FreeGiftPromotionType }\n"]}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/customer_groups.ts
|
4
|
+
var CustomerGroups = class _CustomerGroups extends ApiResource {
|
5
|
+
static TYPE = "customer_groups";
|
6
|
+
async create(resource, params, options) {
|
7
|
+
return this.resources.create({ ...resource, type: _CustomerGroups.TYPE }, params, options);
|
8
|
+
}
|
9
|
+
async update(resource, params, options) {
|
10
|
+
return this.resources.update({ ...resource, type: _CustomerGroups.TYPE }, params, options);
|
11
|
+
}
|
12
|
+
async delete(id, options) {
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerGroups.TYPE } : id, options);
|
14
|
+
}
|
15
|
+
async customers(customerGroupId, params, options) {
|
16
|
+
const _customerGroupId = customerGroupId.id || customerGroupId;
|
17
|
+
return this.resources.fetch({ type: "customers" }, `customer_groups/${_customerGroupId}/customers`, params, options);
|
18
|
+
}
|
19
|
+
async markets(customerGroupId, params, options) {
|
20
|
+
const _customerGroupId = customerGroupId.id || customerGroupId;
|
21
|
+
return this.resources.fetch({ type: "markets" }, `customer_groups/${_customerGroupId}/markets`, params, options);
|
22
|
+
}
|
23
|
+
async attachments(customerGroupId, params, options) {
|
24
|
+
const _customerGroupId = customerGroupId.id || customerGroupId;
|
25
|
+
return this.resources.fetch({ type: "attachments" }, `customer_groups/${_customerGroupId}/attachments`, params, options);
|
26
|
+
}
|
27
|
+
async versions(customerGroupId, params, options) {
|
28
|
+
const _customerGroupId = customerGroupId.id || customerGroupId;
|
29
|
+
return this.resources.fetch({ type: "versions" }, `customer_groups/${_customerGroupId}/versions`, params, options);
|
30
|
+
}
|
31
|
+
async event_stores(customerGroupId, params, options) {
|
32
|
+
const _customerGroupId = customerGroupId.id || customerGroupId;
|
33
|
+
return this.resources.fetch({ type: "event_stores" }, `customer_groups/${_customerGroupId}/event_stores`, params, options);
|
34
|
+
}
|
35
|
+
isCustomerGroup(resource) {
|
36
|
+
return resource.type && resource.type === _CustomerGroups.TYPE;
|
37
|
+
}
|
38
|
+
relationship(id) {
|
39
|
+
return super.relationshipOneToOne(id);
|
40
|
+
}
|
41
|
+
relationshipToMany(...ids) {
|
42
|
+
return super.relationshipOneToMany(...ids);
|
43
|
+
}
|
44
|
+
type() {
|
45
|
+
return _CustomerGroups.TYPE;
|
46
|
+
}
|
47
|
+
};
|
48
|
+
var instance = new CustomerGroups();
|
49
|
+
var customer_groups_default = instance;
|
50
|
+
|
51
|
+
export { customer_groups_default };
|
52
|
+
//# sourceMappingURL=chunk-VEBN2D2K.js.map
|
53
|
+
//# sourceMappingURL=chunk-VEBN2D2K.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/customer_groups.ts"],"names":[],"mappings":";;;AA2EA,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,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;AAAA,EAEA,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cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-VEBN2D2K.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Customer } from './customers'\nimport type { Market } from './markets'\nimport type { Attachment } from './attachments'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype CustomerGroupType = 'customer_groups'\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\n\n\nexport type CustomerGroupSort = Pick<CustomerGroup, 'id' | 'name' | 'code'> & ResourceSort\n// export type CustomerGroupFilter = Pick<CustomerGroup, 'id' | 'name' | 'code'> & ResourceFilter\n\n\ninterface CustomerGroup extends Resource {\n\t\n\treadonly type: CustomerGroupType\n\n\t/** \n\t * The customer group's internal name.\n\t * @example ```\"VIP\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the customer group (must be unique within the environment).\n\t * @example ```\"vip1\"```\n\t */\n\tcode?: string | null\n\n\tcustomers?: Customer[] | null\n\tmarkets?: Market[] | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface CustomerGroupCreate extends ResourceCreate {\n\t\n\t/** \n\t * The customer group's internal name.\n\t * @example ```\"VIP\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the customer group (must be unique within the environment).\n\t * @example ```\"vip1\"```\n\t */\n\tcode?: string | null\n\t\n}\n\n\ninterface CustomerGroupUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The customer group's internal name.\n\t * @example ```\"VIP\"```\n\t */\n\tname?: string | null\n\t/** \n\t * A string that you can use to identify the customer group (must be unique within the environment).\n\t * @example ```\"vip1\"```\n\t */\n\tcode?: string | null\n\t\n}\n\n\nclass CustomerGroups extends ApiResource<CustomerGroup> {\n\n\tstatic readonly TYPE: CustomerGroupType = 'customer_groups' as const\n\n\tasync create(resource: CustomerGroupCreate, params?: QueryParamsRetrieve<CustomerGroup>, options?: ResourcesConfig): Promise<CustomerGroup> {\n\t\treturn this.resources.create<CustomerGroupCreate, CustomerGroup>({ ...resource, type: CustomerGroups.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CustomerGroupUpdate, params?: QueryParamsRetrieve<CustomerGroup>, options?: ResourcesConfig): Promise<CustomerGroup> {\n\t\treturn this.resources.update<CustomerGroupUpdate, CustomerGroup>({ ...resource, type: CustomerGroups.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: CustomerGroups.TYPE } : id, options)\n\t}\n\n\tasync customers(customerGroupId: string | CustomerGroup, params?: QueryParamsList<Customer>, options?: ResourcesConfig): Promise<ListResponse<Customer>> {\n\t\tconst _customerGroupId = (customerGroupId as CustomerGroup).id || customerGroupId as string\n\t\treturn this.resources.fetch<Customer>({ type: 'customers' }, `customer_groups/${_customerGroupId}/customers`, params, options) as unknown as ListResponse<Customer>\n\t}\n\n\tasync markets(customerGroupId: string | CustomerGroup, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _customerGroupId = (customerGroupId as CustomerGroup).id || customerGroupId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `customer_groups/${_customerGroupId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync attachments(customerGroupId: string | CustomerGroup, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _customerGroupId = (customerGroupId as CustomerGroup).id || customerGroupId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `customer_groups/${_customerGroupId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(customerGroupId: string | CustomerGroup, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _customerGroupId = (customerGroupId as CustomerGroup).id || customerGroupId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `customer_groups/${_customerGroupId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(customerGroupId: string | CustomerGroup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _customerGroupId = (customerGroupId as CustomerGroup).id || customerGroupId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `customer_groups/${_customerGroupId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisCustomerGroup(resource: any): resource is CustomerGroup {\n\t\treturn resource.type && (resource.type === CustomerGroups.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CustomerGroupRel {\n\t\treturn super.relationshipOneToOne<CustomerGroupRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CustomerGroupRel[] {\n\t\treturn super.relationshipOneToMany<CustomerGroupRel>(...ids)\n\t}\n\n\n\ttype(): CustomerGroupType {\n\t\treturn CustomerGroups.TYPE\n\t}\n\n}\n\n\nconst instance = new CustomerGroups()\nexport default instance\n\nexport type { CustomerGroups, CustomerGroup, CustomerGroupCreate, CustomerGroupUpdate, CustomerGroupType }\n"]}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/stripe_payments.ts
|
4
|
+
var StripePayments = class _StripePayments extends ApiResource {
|
5
|
+
static TYPE = "stripe_payments";
|
6
|
+
async create(resource, params, options) {
|
7
|
+
return this.resources.create({ ...resource, type: _StripePayments.TYPE }, params, options);
|
8
|
+
}
|
9
|
+
async update(resource, params, options) {
|
10
|
+
return this.resources.update({ ...resource, type: _StripePayments.TYPE }, params, options);
|
11
|
+
}
|
12
|
+
async delete(id, options) {
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _StripePayments.TYPE } : id, options);
|
14
|
+
}
|
15
|
+
async order(stripePaymentId, params, options) {
|
16
|
+
const _stripePaymentId = stripePaymentId.id || stripePaymentId;
|
17
|
+
return this.resources.fetch({ type: "orders" }, `stripe_payments/${_stripePaymentId}/order`, params, options);
|
18
|
+
}
|
19
|
+
async payment_gateway(stripePaymentId, params, options) {
|
20
|
+
const _stripePaymentId = stripePaymentId.id || stripePaymentId;
|
21
|
+
return this.resources.fetch({ type: "payment_gateways" }, `stripe_payments/${_stripePaymentId}/payment_gateway`, params, options);
|
22
|
+
}
|
23
|
+
async versions(stripePaymentId, params, options) {
|
24
|
+
const _stripePaymentId = stripePaymentId.id || stripePaymentId;
|
25
|
+
return this.resources.fetch({ type: "versions" }, `stripe_payments/${_stripePaymentId}/versions`, params, options);
|
26
|
+
}
|
27
|
+
async event_stores(stripePaymentId, params, options) {
|
28
|
+
const _stripePaymentId = stripePaymentId.id || stripePaymentId;
|
29
|
+
return this.resources.fetch({ type: "event_stores" }, `stripe_payments/${_stripePaymentId}/event_stores`, params, options);
|
30
|
+
}
|
31
|
+
async _update(id, params, options) {
|
32
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StripePayments.TYPE, _update: true }, params, options);
|
33
|
+
}
|
34
|
+
async _refresh(id, params, options) {
|
35
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _StripePayments.TYPE, _refresh: true }, params, options);
|
36
|
+
}
|
37
|
+
isStripePayment(resource) {
|
38
|
+
return resource.type && resource.type === _StripePayments.TYPE;
|
39
|
+
}
|
40
|
+
relationship(id) {
|
41
|
+
return super.relationshipOneToOne(id);
|
42
|
+
}
|
43
|
+
relationshipToMany(...ids) {
|
44
|
+
return super.relationshipOneToMany(...ids);
|
45
|
+
}
|
46
|
+
type() {
|
47
|
+
return _StripePayments.TYPE;
|
48
|
+
}
|
49
|
+
};
|
50
|
+
var instance = new StripePayments();
|
51
|
+
var stripe_payments_default = instance;
|
52
|
+
|
53
|
+
export { stripe_payments_default };
|
54
|
+
//# sourceMappingURL=chunk-VGMMPMUL.js.map
|
55
|
+
//# sourceMappingURL=chunk-VGMMPMUL.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/stripe_payments.ts"],"names":[],"mappings":";;;AA6JA,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,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;AAAA,EAEA,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,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;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,eAAA,CAAe,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACtG;AAAA,EAEA,MAAM,KAAA,CAAM,eAAA,EAAyC,MAAA,EAAqC,OAAA,EAA2C;AACpI,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAa,EAAE,IAAA,EAAM,QAAA,EAAS,EAAG,CAAA,gBAAA,EAAmB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AA,EAAM,SAAS,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACxK;AAAA,EAEA,MAAM,QAAA,CAAS,EAAA,EAA4B,MAAA,EAA6C,OAAA,EAAmD;AAC1I,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,eAAA,CAAe,IAAA,EAAM,UAAU,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACzK;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-VGMMPMUL.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 { Order, OrderType } from './orders'\nimport type { PaymentGateway } from './payment_gateways'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype StripePaymentType = 'stripe_payments'\ntype StripePaymentRel = ResourceRel & { type: StripePaymentType }\ntype OrderRel = ResourceRel & { type: OrderType }\n\n\nexport type StripePaymentSort = Pick<StripePayment, 'id'> & ResourceSort\n// export type StripePaymentFilter = Pick<StripePayment, 'id'> & ResourceFilter\n\n\ninterface StripePayment extends Resource {\n\t\n\treadonly type: StripePaymentType\n\n\t/** \n\t * The Stripe payment intent ID. Required to identify a payment session on stripe.\n\t * @example ```\"pi_1234XXX\"```\n\t */\n\tstripe_id?: string | null\n\t/** \n\t * The Stripe payment intent client secret. Required to create a charge through Stripe.js.\n\t * @example ```\"pi_1234XXX_secret_5678YYY\"```\n\t */\n\tclient_secret?: string | null\n\t/** \n\t * The account (if any) for which the funds of the PaymentIntent are intended.\n\t * @example ```\"acct_xxxx-yyyy-zzzz\"```\n\t */\n\tconnected_account?: string | null\n\t/** \n\t * The Stripe charge ID. Identifies money movement upon the payment intent confirmation.\n\t * @example ```\"ch_1234XXX\"```\n\t */\n\tcharge_id?: string | null\n\t/** \n\t * The Stripe publishable API key.\n\t * @example ```\"pk_live_xxxx-yyyy-zzzz\"```\n\t */\n\tpublishable_key?: string | null\n\t/** \n\t * The Stripe account ID that these funds are intended for.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\ton_behalf_of?: string | null\n\t/** \n\t * A string that identifies the resulting payment as part of a group.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\ttransfer_group?: string | null\n\t/** \n\t * Stripe payment options: 'customer', 'payment_method', 'return_url', etc. Check Stripe payment intent API for more details.\n\t * @example ```{\"customer\":\"cus_xxx\",\"payment_method\":\"pm_xxx\"}```\n\t */\n\toptions?: Record<string, any> | null\n\t/** \n\t * Stripe 'payment_method', set by webhook.\n\t * @example ```{\"id\":\"pm_xxx\"}```\n\t */\n\tpayment_method?: Record<string, any> | null\n\t/** \n\t * Indicates if the order current amount differs form the one of the created payment intent.\n\t */\n\tmismatched_amounts?: boolean | null\n\t/** \n\t * The URL to return to when a redirect payment is completed.\n\t * @example ```\"https://yourdomain.com/thankyou\"```\n\t */\n\treturn_url?: string | null\n\t/** \n\t * The email address to send the receipt to.\n\t * @example ```\"john@example.com\"```\n\t */\n\treceipt_email?: string | null\n\t/** \n\t * Information about the payment instrument used in the transaction.\n\t * @example ```{\"issuer\":\"cl bank\",\"card_type\":\"visa\"}```\n\t */\n\tpayment_instrument?: Record<string, any> | null\n\n\torder?: Order | null\n\tpayment_gateway?: PaymentGateway | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface StripePaymentCreate extends ResourceCreate {\n\t\n\t/** \n\t * The Stripe payment intent ID. Required to identify a payment session on stripe.\n\t * @example ```\"pi_1234XXX\"```\n\t */\n\tstripe_id?: string | null\n\t/** \n\t * The Stripe payment intent client secret. Required to create a charge through Stripe.js.\n\t * @example ```\"pi_1234XXX_secret_5678YYY\"```\n\t */\n\tclient_secret?: string | null\n\t/** \n\t * Stripe payment options: 'customer', 'payment_method', 'return_url', etc. Check Stripe payment intent API for more details.\n\t * @example ```{\"customer\":\"cus_xxx\",\"payment_method\":\"pm_xxx\"}```\n\t */\n\toptions?: Record<string, any> | null\n\t/** \n\t * The URL to return to when a redirect payment is completed.\n\t * @example ```\"https://yourdomain.com/thankyou\"```\n\t */\n\treturn_url?: string | null\n\t/** \n\t * The email address to send the receipt to.\n\t * @example ```\"john@example.com\"```\n\t */\n\treceipt_email?: string | null\n\n\torder: OrderRel\n\n}\n\n\ninterface StripePaymentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Stripe payment options: 'customer', 'payment_method', 'return_url', etc. Check Stripe payment intent API for more details.\n\t * @example ```{\"customer\":\"cus_xxx\",\"payment_method\":\"pm_xxx\"}```\n\t */\n\toptions?: Record<string, any> | null\n\t/** \n\t * The URL to return to when a redirect payment is completed.\n\t * @example ```\"https://yourdomain.com/thankyou\"```\n\t */\n\treturn_url?: string | null\n\t/** \n\t * Send this attribute if you want to update the created payment intent with fresh order data.\n\t * @example ```true```\n\t */\n\t_update?: boolean | null\n\t/** \n\t * Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.\n\t * @example ```true```\n\t */\n\t_refresh?: boolean | null\n\n\torder?: OrderRel | null\n\n}\n\n\nclass StripePayments extends ApiResource<StripePayment> {\n\n\tstatic readonly TYPE: StripePaymentType = 'stripe_payments' as const\n\n\tasync create(resource: StripePaymentCreate, params?: QueryParamsRetrieve<StripePayment>, options?: ResourcesConfig): Promise<StripePayment> {\n\t\treturn this.resources.create<StripePaymentCreate, StripePayment>({ ...resource, type: StripePayments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: StripePaymentUpdate, params?: QueryParamsRetrieve<StripePayment>, options?: ResourcesConfig): Promise<StripePayment> {\n\t\treturn this.resources.update<StripePaymentUpdate, StripePayment>({ ...resource, type: StripePayments.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: StripePayments.TYPE } : id, options)\n\t}\n\n\tasync order(stripePaymentId: string | StripePayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _stripePaymentId = (stripePaymentId as StripePayment).id || stripePaymentId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `stripe_payments/${_stripePaymentId}/order`, params, options) as unknown as Order\n\t}\n\n\tasync payment_gateway(stripePaymentId: string | StripePayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway> {\n\t\tconst _stripePaymentId = (stripePaymentId as StripePayment).id || stripePaymentId as string\n\t\treturn this.resources.fetch<PaymentGateway>({ type: 'payment_gateways' }, `stripe_payments/${_stripePaymentId}/payment_gateway`, params, options) as unknown as PaymentGateway\n\t}\n\n\tasync versions(stripePaymentId: string | StripePayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _stripePaymentId = (stripePaymentId as StripePayment).id || stripePaymentId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `stripe_payments/${_stripePaymentId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(stripePaymentId: string | StripePayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _stripePaymentId = (stripePaymentId as StripePayment).id || stripePaymentId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `stripe_payments/${_stripePaymentId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _update(id: string | StripePayment, params?: QueryParamsRetrieve<StripePayment>, options?: ResourcesConfig): Promise<StripePayment> {\n\t\treturn this.resources.update<StripePaymentUpdate, StripePayment>({ id: (typeof id === 'string')? id: id.id, type: StripePayments.TYPE, _update: true }, params, options)\n\t}\n\n\tasync _refresh(id: string | StripePayment, params?: QueryParamsRetrieve<StripePayment>, options?: ResourcesConfig): Promise<StripePayment> {\n\t\treturn this.resources.update<StripePaymentUpdate, StripePayment>({ id: (typeof id === 'string')? id: id.id, type: StripePayments.TYPE, _refresh: true }, params, options)\n\t}\n\n\n\tisStripePayment(resource: any): resource is StripePayment {\n\t\treturn resource.type && (resource.type === StripePayments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): StripePaymentRel {\n\t\treturn super.relationshipOneToOne<StripePaymentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): StripePaymentRel[] {\n\t\treturn super.relationshipOneToMany<StripePaymentRel>(...ids)\n\t}\n\n\n\ttype(): StripePaymentType {\n\t\treturn StripePayments.TYPE\n\t}\n\n}\n\n\nconst instance = new StripePayments()\nexport default instance\n\nexport type { StripePayments, StripePayment, StripePaymentCreate, StripePaymentUpdate, StripePaymentType }\n"]}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/customer_payment_sources.ts
|
4
|
+
var CustomerPaymentSources = class _CustomerPaymentSources extends ApiResource {
|
5
|
+
static TYPE = "customer_payment_sources";
|
6
|
+
async create(resource, params, options) {
|
7
|
+
return this.resources.create({ ...resource, type: _CustomerPaymentSources.TYPE }, params, options);
|
8
|
+
}
|
9
|
+
async update(resource, params, options) {
|
10
|
+
return this.resources.update({ ...resource, type: _CustomerPaymentSources.TYPE }, params, options);
|
11
|
+
}
|
12
|
+
async delete(id, options) {
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CustomerPaymentSources.TYPE } : id, options);
|
14
|
+
}
|
15
|
+
async customer(customerPaymentSourceId, params, options) {
|
16
|
+
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
17
|
+
return this.resources.fetch({ type: "customers" }, `customer_payment_sources/${_customerPaymentSourceId}/customer`, params, options);
|
18
|
+
}
|
19
|
+
async payment_method(customerPaymentSourceId, params, options) {
|
20
|
+
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
21
|
+
return this.resources.fetch({ type: "payment_methods" }, `customer_payment_sources/${_customerPaymentSourceId}/payment_method`, params, options);
|
22
|
+
}
|
23
|
+
async versions(customerPaymentSourceId, params, options) {
|
24
|
+
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
25
|
+
return this.resources.fetch({ type: "versions" }, `customer_payment_sources/${_customerPaymentSourceId}/versions`, params, options);
|
26
|
+
}
|
27
|
+
async event_stores(customerPaymentSourceId, params, options) {
|
28
|
+
const _customerPaymentSourceId = customerPaymentSourceId.id || customerPaymentSourceId;
|
29
|
+
return this.resources.fetch({ type: "event_stores" }, `customer_payment_sources/${_customerPaymentSourceId}/event_stores`, params, options);
|
30
|
+
}
|
31
|
+
isCustomerPaymentSource(resource) {
|
32
|
+
return resource.type && resource.type === _CustomerPaymentSources.TYPE;
|
33
|
+
}
|
34
|
+
relationship(id) {
|
35
|
+
return super.relationshipOneToOne(id);
|
36
|
+
}
|
37
|
+
relationshipToMany(...ids) {
|
38
|
+
return super.relationshipOneToMany(...ids);
|
39
|
+
}
|
40
|
+
type() {
|
41
|
+
return _CustomerPaymentSources.TYPE;
|
42
|
+
}
|
43
|
+
};
|
44
|
+
var instance = new CustomerPaymentSources();
|
45
|
+
var customer_payment_sources_default = instance;
|
46
|
+
|
47
|
+
export { customer_payment_sources_default };
|
48
|
+
//# sourceMappingURL=chunk-VKNNJ5CS.js.map
|
49
|
+
//# sourceMappingURL=chunk-VKNNJ5CS.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/customer_payment_sources.ts"],"names":[],"mappings":";;;AA6GA,IAAM,sBAAA,GAAN,MAAM,uBAAA,SAA+B,WAAA,CAAmC;AAAA,EAEvE,OAAgB,IAAA,GAAkC,0BAAA;AAAA,EAElD,MAAM,MAAA,CAAO,QAAA,EAAuC,MAAA,EAAqD,OAAA,EAA2D;AACnK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2D,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,uBAAA,CAAuB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrJ;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAuC,MAAA,EAAqD,OAAA,EAA2D;AACnK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2D,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,uBAAA,CAAuB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrJ;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,uBAAA,CAAuB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC9G;AAAA,EAEA,MAAM,QAAA,CAAS,uBAAA,EAAyD,MAAA,EAAwC,OAAA,EAA8C;AAC7J,IAAA,MAAM,wBAAA,GAA4B,wBAAkD,EAAA,IAAM,uBAAA;AAC1F,I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A,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-VKNNJ5CS.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Customer, 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,48 @@
|
|
1
|
+
import { OPEN_API_SCHEMA_VERSION } from './chunk-N54ON7TD.js';
|
2
|
+
import { isTokenExpired } from './chunk-R2LRLUUY.js';
|
3
|
+
import { isVersionable, isTaggable, isDeletable, isUpdatable, isCreatable, isSingleton, getSingletons, getResources } from './chunk-4MDMKEMH.js';
|
4
|
+
import { isApiError, isSdkError } from './chunk-ZU7GFVQ6.js';
|
5
|
+
|
6
|
+
// src/static.ts
|
7
|
+
var CommerceLayerStatic = {
|
8
|
+
resources: (sort) => {
|
9
|
+
return getResources(sort);
|
10
|
+
},
|
11
|
+
singletons: (sort) => {
|
12
|
+
return getSingletons(sort);
|
13
|
+
},
|
14
|
+
isSingleton: (resource) => {
|
15
|
+
return isSingleton(resource);
|
16
|
+
},
|
17
|
+
isCreatable: (resource) => {
|
18
|
+
return isCreatable(resource);
|
19
|
+
},
|
20
|
+
isUpdatable: (resource) => {
|
21
|
+
return isUpdatable(resource);
|
22
|
+
},
|
23
|
+
isDeletable: (resource) => {
|
24
|
+
return isDeletable(resource);
|
25
|
+
},
|
26
|
+
isTaggable: (resource) => {
|
27
|
+
return isTaggable(resource);
|
28
|
+
},
|
29
|
+
isVersionable: (resource) => {
|
30
|
+
return isVersionable(resource);
|
31
|
+
},
|
32
|
+
isSdkError: (error) => {
|
33
|
+
return isSdkError(error);
|
34
|
+
},
|
35
|
+
isApiError: (error) => {
|
36
|
+
return isApiError(error);
|
37
|
+
},
|
38
|
+
isTokenExpired: (token) => {
|
39
|
+
return isTokenExpired(token);
|
40
|
+
},
|
41
|
+
get schemaVersion() {
|
42
|
+
return OPEN_API_SCHEMA_VERSION;
|
43
|
+
}
|
44
|
+
};
|
45
|
+
|
46
|
+
export { CommerceLayerStatic };
|
47
|
+
//# sourceMappingURL=chunk-VR3ZMKF5.js.map
|
48
|
+
//# sourceMappingURL=chunk-VR3ZMKF5.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/static.ts"],"names":[],"mappings":";;;;;;AASO,IAAM,mBAAA,GAAsB;AAAA,EAElC,SAAA,EAAW,CAAC,IAAA,KAAsC;AACjD,IAAA,OAAO,aAAa,IAAI,CAAA;AAAA,EACzB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,IAAA,KAAsC;AAClD,IAAA,OAAO,cAAc,IAAI,CAAA;AAAA,EAC1B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,QAAA,KAAwC;AACpD,IAAA,OAAO,WAAW,QAAQ,CAAA;AAAA,EAC3B,CAAA;AAAA,EAEA,aAAA,EAAe,CAAC,QAAA,KAAwC;AACvD,IAAA,OAAO,cAAc,QAAQ,CAAA;AAAA,EAC9B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAO,WAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAO,WAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,cAAA,EAAgB,CAAC,KAAA,KAA2B;AAC3C,IAAA,OAAO,eAAe,KAAK,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,IAAI,aAAA,GAAwB;AAAE,IAAA,OAAO,uBAAA;AAAA,EAAwB;AAE9D","file":"chunk-VR3ZMKF5.js","sourcesContent":["\nimport type { ResourceTypeLock } from './enum'\nimport { getResources, getSingletons, isCreatable, isDeletable, isSingleton, isTaggable, isUpdatable, isVersionable } from './enum'\nimport { OPEN_API_SCHEMA_VERSION } from './commercelayer'\nimport { type SdkError, type ApiError, isSdkError, isApiError} from './error'\nimport { isTokenExpired } from './util'\n\n\n/* Static functions */\nexport const CommerceLayerStatic = {\n\n\tresources: (sort?: boolean): readonly string[] => {\n\t\treturn getResources(sort)\n\t},\n\n\tsingletons: (sort?: boolean): readonly string[] => {\n\t\treturn getSingletons(sort)\n\t},\n\n\tisSingleton: (resource: ResourceTypeLock): boolean => {\n\t\treturn isSingleton(resource)\n\t},\n\n\tisCreatable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isCreatable(resource)\n\t},\n\n\tisUpdatable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isUpdatable(resource)\n\t},\n\n\tisDeletable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isDeletable(resource)\n\t},\n\n\tisTaggable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isTaggable(resource)\n\t},\n\n\tisVersionable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isVersionable(resource)\n\t},\n\n\tisSdkError: (error: unknown): error is SdkError => {\n\t\treturn isSdkError(error)\n\t},\n\n\tisApiError: (error: unknown): error is ApiError => {\n\t\treturn isApiError(error)\n\t},\n\n\tisTokenExpired: (token: string): boolean => {\n\t\treturn isTokenExpired(token)\n\t},\n\n\tget schemaVersion(): string { return OPEN_API_SCHEMA_VERSION }\n\n}\n"]}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/price_tiers.ts
|
4
|
+
var PriceTiers = class _PriceTiers extends ApiResource {
|
5
|
+
static TYPE = "price_tiers";
|
6
|
+
async price(priceTierId, params, options) {
|
7
|
+
const _priceTierId = priceTierId.id || priceTierId;
|
8
|
+
return this.resources.fetch({ type: "prices" }, `price_tiers/${_priceTierId}/price`, params, options);
|
9
|
+
}
|
10
|
+
async attachments(priceTierId, params, options) {
|
11
|
+
const _priceTierId = priceTierId.id || priceTierId;
|
12
|
+
return this.resources.fetch({ type: "attachments" }, `price_tiers/${_priceTierId}/attachments`, params, options);
|
13
|
+
}
|
14
|
+
async versions(priceTierId, params, options) {
|
15
|
+
const _priceTierId = priceTierId.id || priceTierId;
|
16
|
+
return this.resources.fetch({ type: "versions" }, `price_tiers/${_priceTierId}/versions`, params, options);
|
17
|
+
}
|
18
|
+
async event_stores(priceTierId, params, options) {
|
19
|
+
const _priceTierId = priceTierId.id || priceTierId;
|
20
|
+
return this.resources.fetch({ type: "event_stores" }, `price_tiers/${_priceTierId}/event_stores`, params, options);
|
21
|
+
}
|
22
|
+
isPriceTier(resource) {
|
23
|
+
return resource.type && resource.type === _PriceTiers.TYPE;
|
24
|
+
}
|
25
|
+
relationship(id) {
|
26
|
+
return super.relationshipOneToOne(id);
|
27
|
+
}
|
28
|
+
relationshipToMany(...ids) {
|
29
|
+
return super.relationshipOneToMany(...ids);
|
30
|
+
}
|
31
|
+
type() {
|
32
|
+
return _PriceTiers.TYPE;
|
33
|
+
}
|
34
|
+
};
|
35
|
+
var instance = new PriceTiers();
|
36
|
+
var price_tiers_default = instance;
|
37
|
+
|
38
|
+
export { price_tiers_default };
|
39
|
+
//# sourceMappingURL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,IAAA,MAAM,YAAA,GAAgB,YAA0B,EAAA,IAAM,WAAA;AACtD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,YAAA,EAAe,YAAY,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC9H;AAAA,EAGA,YAAY,QAAA,EAAsC;AACjD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,WAAA,CAAW,IAAA;AAAA,EACvD;AAAA,EAGA,aAAa,EAAA,EAA8C;AAC1D,IAAA,OAAO,KAAA,CAAM,qBAAmC,EAAE,CAAA;AAAA,EACnD;AAAA,EAEA,sBAAsB,GAAA,EAA+B;AACpD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAoC,GAAG,GAAG,CAAA;AAAA,EACxD;AAAA,EAGA,IAAA,GAAsB;AACrB,IAAA,OAAO,WAAA,CAAW,IAAA;AAAA,EACnB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,UAAA,EAAW;AAChC,IAAO,mBAAA,GAAQ","file":"chunk-VRJJX4JV.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Price } from './prices'\nimport type { Attachment } from './attachments'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype PriceTierType = 'price_tiers'\ntype PriceTierRel = ResourceRel & { type: PriceTierType }\n\n\nexport type PriceTierSort = Pick<PriceTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort\n// export type PriceTierFilter = Pick<PriceTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceFilter\n\n\ninterface PriceTier extends Resource {\n\t\n\treadonly type: PriceTierType\n\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```20.5```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * The price of this price tier, float.\n\t * @example ```10```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The price of this price tier, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\n\tprice?: Price | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass PriceTiers extends ApiResource<PriceTier> {\n\n\tstatic readonly TYPE: PriceTierType = 'price_tiers' as const\n\n\tasync price(priceTierId: string | PriceTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price> {\n\t\tconst _priceTierId = (priceTierId as PriceTier).id || priceTierId as string\n\t\treturn this.resources.fetch<Price>({ type: 'prices' }, `price_tiers/${_priceTierId}/price`, params, options) as unknown as Price\n\t}\n\n\tasync attachments(priceTierId: string | PriceTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _priceTierId = (priceTierId as PriceTier).id || priceTierId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `price_tiers/${_priceTierId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(priceTierId: string | PriceTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _priceTierId = (priceTierId as PriceTier).id || priceTierId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `price_tiers/${_priceTierId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(priceTierId: string | PriceTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _priceTierId = (priceTierId as PriceTier).id || priceTierId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `price_tiers/${_priceTierId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisPriceTier(resource: any): resource is PriceTier {\n\t\treturn resource.type && (resource.type === PriceTiers.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceTierRel {\n\t\treturn super.relationshipOneToOne<PriceTierRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceTierRel[] {\n\t\treturn super.relationshipOneToMany<PriceTierRel>(...ids)\n\t}\n\n\n\ttype(): PriceTierType {\n\t\treturn PriceTiers.TYPE\n\t}\n\n}\n\n\nconst instance = new PriceTiers()\nexport default instance\n\nexport type { PriceTiers, PriceTier, PriceTierType }\n"]}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/bing_geocoders.ts
|
4
|
+
var BingGeocoders = class _BingGeocoders extends ApiResource {
|
5
|
+
static TYPE = "bing_geocoders";
|
6
|
+
async create(resource, params, options) {
|
7
|
+
return this.resources.create({ ...resource, type: _BingGeocoders.TYPE }, params, options);
|
8
|
+
}
|
9
|
+
async update(resource, params, options) {
|
10
|
+
return this.resources.update({ ...resource, type: _BingGeocoders.TYPE }, params, options);
|
11
|
+
}
|
12
|
+
async delete(id, options) {
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _BingGeocoders.TYPE } : id, options);
|
14
|
+
}
|
15
|
+
async markets(bingGeocoderId, params, options) {
|
16
|
+
const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
|
17
|
+
return this.resources.fetch({ type: "markets" }, `bing_geocoders/${_bingGeocoderId}/markets`, params, options);
|
18
|
+
}
|
19
|
+
async addresses(bingGeocoderId, params, options) {
|
20
|
+
const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
|
21
|
+
return this.resources.fetch({ type: "addresses" }, `bing_geocoders/${_bingGeocoderId}/addresses`, params, options);
|
22
|
+
}
|
23
|
+
async attachments(bingGeocoderId, params, options) {
|
24
|
+
const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
|
25
|
+
return this.resources.fetch({ type: "attachments" }, `bing_geocoders/${_bingGeocoderId}/attachments`, params, options);
|
26
|
+
}
|
27
|
+
async event_stores(bingGeocoderId, params, options) {
|
28
|
+
const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
|
29
|
+
return this.resources.fetch({ type: "event_stores" }, `bing_geocoders/${_bingGeocoderId}/event_stores`, params, options);
|
30
|
+
}
|
31
|
+
isBingGeocoder(resource) {
|
32
|
+
return resource.type && resource.type === _BingGeocoders.TYPE;
|
33
|
+
}
|
34
|
+
relationship(id) {
|
35
|
+
return super.relationshipOneToOne(id);
|
36
|
+
}
|
37
|
+
relationshipToMany(...ids) {
|
38
|
+
return super.relationshipOneToMany(...ids);
|
39
|
+
}
|
40
|
+
type() {
|
41
|
+
return _BingGeocoders.TYPE;
|
42
|
+
}
|
43
|
+
};
|
44
|
+
var instance = new BingGeocoders();
|
45
|
+
var bing_geocoders_default = instance;
|
46
|
+
|
47
|
+
export { bing_geocoders_default };
|
48
|
+
//# sourceMappingURL=chunk-VT5HP44I.js.map
|
49
|
+
//# sourceMappingURL=chunk-VT5HP44I.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/bing_geocoders.ts"],"names":[],"mappings":";;;AAoEA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsB,WAAA,CAA0B;AAAA,EAErD,OAAgB,IAAA,GAAyB,gBAAA;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,E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AA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,aAAA,EAAc,EAAG,CAAA,eAAA,EAAkB,eAAe,CAAA,YAAA,CAAA,EAAgB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAClI;AAAA,EAEA,MAAM,YAAA,CAAa,cAAA,EAAuC,MAAA,EAAsC,OAAA,EAA8D;AAC7J,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAM,cAAA;AAC/D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,eAAA,EAAkB,eAAe,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpI;AAAA,EAGA,eAAe,QAAA,EAAyC;AACvD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,cAAA,CAAc,IAAA;AAAA,EAC1D;AAAA,EAGA,aAAa,EAAA,EAAiD;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAsC,EAAE,CAAA;AAAA,EACtD;AAAA,EAEA,sBAAsB,GAAA,EAAkC;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAuC,GAAG,GAAG,CAAA;AAAA,EAC3D;AAAA,EAGA,IAAA,GAAyB;AACxB,IAAA,OAAO,cAAA,CAAc,IAAA;AAAA,EACtB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,sBAAA,GAAQ","file":"chunk-VT5HP44I.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 { Market } from './markets'\nimport type { Address } from './addresses'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\n\n\ntype BingGeocoderType = 'bing_geocoders'\ntype BingGeocoderRel = ResourceRel & { type: BingGeocoderType }\n\n\nexport type BingGeocoderSort = Pick<BingGeocoder, 'id' | 'name'> & ResourceSort\n// export type BingGeocoderFilter = Pick<BingGeocoder, 'id' | 'name'> & ResourceFilter\n\n\ninterface BingGeocoder extends Resource {\n\t\n\treadonly type: BingGeocoderType\n\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname: string\n\n\tmarkets?: Market[] | null\n\taddresses?: Address[] | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface BingGeocoderCreate extends ResourceCreate {\n\t\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname: string\n\t/** \n\t * The Bing Virtualearth key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tkey: string\n\t\n}\n\n\ninterface BingGeocoderUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The Bing Virtualearth key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tkey?: string | null\n\t\n}\n\n\nclass BingGeocoders extends ApiResource<BingGeocoder> {\n\n\tstatic readonly TYPE: BingGeocoderType = 'bing_geocoders' as const\n\n\tasync create(resource: BingGeocoderCreate, params?: QueryParamsRetrieve<BingGeocoder>, options?: ResourcesConfig): Promise<BingGeocoder> {\n\t\treturn this.resources.create<BingGeocoderCreate, BingGeocoder>({ ...resource, type: BingGeocoders.TYPE }, params, options)\n\t}\n\n\tasync update(resource: BingGeocoderUpdate, params?: QueryParamsRetrieve<BingGeocoder>, options?: ResourcesConfig): Promise<BingGeocoder> {\n\t\treturn this.resources.update<BingGeocoderUpdate, BingGeocoder>({ ...resource, type: BingGeocoders.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: BingGeocoders.TYPE } : id, options)\n\t}\n\n\tasync markets(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `bing_geocoders/${_bingGeocoderId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync addresses(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Address>, options?: ResourcesConfig): Promise<ListResponse<Address>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Address>({ type: 'addresses' }, `bing_geocoders/${_bingGeocoderId}/addresses`, params, options) as unknown as ListResponse<Address>\n\t}\n\n\tasync attachments(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `bing_geocoders/${_bingGeocoderId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `bing_geocoders/${_bingGeocoderId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisBingGeocoder(resource: any): resource is BingGeocoder {\n\t\treturn resource.type && (resource.type === BingGeocoders.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): BingGeocoderRel {\n\t\treturn super.relationshipOneToOne<BingGeocoderRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): BingGeocoderRel[] {\n\t\treturn super.relationshipOneToMany<BingGeocoderRel>(...ids)\n\t}\n\n\n\ttype(): BingGeocoderType {\n\t\treturn BingGeocoders.TYPE\n\t}\n\n}\n\n\nconst instance = new BingGeocoders()\nexport default instance\n\nexport type { BingGeocoders, BingGeocoder, BingGeocoderCreate, BingGeocoderUpdate, BingGeocoderType }\n"]}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/carrier_accounts.ts
|
4
|
+
var CarrierAccounts = class _CarrierAccounts extends ApiResource {
|
5
|
+
static TYPE = "carrier_accounts";
|
6
|
+
async create(resource, params, options) {
|
7
|
+
return this.resources.create({ ...resource, type: _CarrierAccounts.TYPE }, params, options);
|
8
|
+
}
|
9
|
+
async update(resource, params, options) {
|
10
|
+
return this.resources.update({ ...resource, type: _CarrierAccounts.TYPE }, params, options);
|
11
|
+
}
|
12
|
+
async delete(id, options) {
|
13
|
+
await this.resources.delete(typeof id === "string" ? { id, type: _CarrierAccounts.TYPE } : id, options);
|
14
|
+
}
|
15
|
+
async market(carrierAccountId, params, options) {
|
16
|
+
const _carrierAccountId = carrierAccountId.id || carrierAccountId;
|
17
|
+
return this.resources.fetch({ type: "markets" }, `carrier_accounts/${_carrierAccountId}/market`, params, options);
|
18
|
+
}
|
19
|
+
async attachments(carrierAccountId, params, options) {
|
20
|
+
const _carrierAccountId = carrierAccountId.id || carrierAccountId;
|
21
|
+
return this.resources.fetch({ type: "attachments" }, `carrier_accounts/${_carrierAccountId}/attachments`, params, options);
|
22
|
+
}
|
23
|
+
async versions(carrierAccountId, params, options) {
|
24
|
+
const _carrierAccountId = carrierAccountId.id || carrierAccountId;
|
25
|
+
return this.resources.fetch({ type: "versions" }, `carrier_accounts/${_carrierAccountId}/versions`, params, options);
|
26
|
+
}
|
27
|
+
async event_stores(carrierAccountId, params, options) {
|
28
|
+
const _carrierAccountId = carrierAccountId.id || carrierAccountId;
|
29
|
+
return this.resources.fetch({ type: "event_stores" }, `carrier_accounts/${_carrierAccountId}/event_stores`, params, options);
|
30
|
+
}
|
31
|
+
isCarrierAccount(resource) {
|
32
|
+
return resource.type && resource.type === _CarrierAccounts.TYPE;
|
33
|
+
}
|
34
|
+
relationship(id) {
|
35
|
+
return super.relationshipOneToOne(id);
|
36
|
+
}
|
37
|
+
relationshipToMany(...ids) {
|
38
|
+
return super.relationshipOneToMany(...ids);
|
39
|
+
}
|
40
|
+
type() {
|
41
|
+
return _CarrierAccounts.TYPE;
|
42
|
+
}
|
43
|
+
};
|
44
|
+
var instance = new CarrierAccounts();
|
45
|
+
var carrier_accounts_default = instance;
|
46
|
+
|
47
|
+
export { carrier_accounts_default };
|
48
|
+
//# sourceMappingURL=chunk-VUVL5VPT.js.map
|
49
|
+
//# sourceMappingURL=chunk-VUVL5VPT.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/carrier_accounts.ts"],"names":[],"mappings":";;;AAkGA,IAAM,eAAA,GAAN,MAAM,gBAAA,SAAwB,WAAA,CAA4B;AAAA,EAEzD,OAAgB,IAAA,GAA2B,kBAAA;AAAA,EAE3C,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAA,CAAgB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAChI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAA,CAAgB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAChI;AAAA,EAEA,MAAM,MAAA,CA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MAAM,iBAAA,GAAqB,iBAAoC,EAAA,IAAM,gBAAA;AACrE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,iBAAA,EAAoB,iBAAiB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACxI;AAAA,EAGA,iBAAiB,QAAA,EAA2C;AAC3D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,gBAAA,CAAgB,IAAA;AAAA,EAC5D;AAAA,EAGA,aAAa,EAAA,EAAmD;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAwC,EAAE,CAAA;AAAA,EACxD;AAAA,EAEA,sBAAsB,GAAA,EAAoC;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAyC,GAAG,GAAG,CAAA;AAAA,EAC7D;AAAA,EAGA,IAAA,GAA2B;AAC1B,IAAA,OAAO,gBAAA,CAAgB,IAAA;AAAA,EACxB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,eAAA,EAAgB;AACrC,IAAO,wBAAA,GAAQ","file":"chunk-VUVL5VPT.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 { Market, MarketType } from './markets'\nimport type { Attachment } from './attachments'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype CarrierAccountType = 'carrier_accounts'\ntype CarrierAccountRel = ResourceRel & { type: CarrierAccountType }\ntype MarketRel = ResourceRel & { type: MarketType }\n\n\nexport type CarrierAccountSort = Pick<CarrierAccount, 'id' | 'name'> & ResourceSort\n// export type CarrierAccountFilter = Pick<CarrierAccount, 'id' | 'name' | 'easypost_type'> & ResourceFilter\n\n\ninterface CarrierAccount extends Resource {\n\t\n\treadonly type: CarrierAccountType\n\n\t/** \n\t * The carrier account internal name.\n\t * @example ```\"Accurate\"```\n\t */\n\tname: string\n\t/** \n\t * The Easypost service carrier type.\n\t * @example ```\"AccurateAccount\"```\n\t */\n\teasypost_type: string\n\t/** \n\t * The Easypost internal reference ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\teasypost_id?: string | null\n\t/** \n\t * The Easypost carrier accounts credentials fields.\n\t * @example ```{\"username\":\"xxxx\",\"password\":\"secret\"}```\n\t */\n\tcredentials: Record<string, any>\n\n\tmarket?: Market | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface CarrierAccountCreate extends ResourceCreate {\n\t\n\t/** \n\t * The carrier account internal name.\n\t * @example ```\"Accurate\"```\n\t */\n\tname: string\n\t/** \n\t * The Easypost service carrier type.\n\t * @example ```\"AccurateAccount\"```\n\t */\n\teasypost_type: string\n\t/** \n\t * The Easypost carrier accounts credentials fields.\n\t * @example ```{\"username\":\"xxxx\",\"password\":\"secret\"}```\n\t */\n\tcredentials: Record<string, any>\n\n\tmarket?: MarketRel | null\n\n}\n\n\ninterface CarrierAccountUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The carrier account internal name.\n\t * @example ```\"Accurate\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The Easypost service carrier type.\n\t * @example ```\"AccurateAccount\"```\n\t */\n\teasypost_type?: string | null\n\t/** \n\t * The Easypost carrier accounts credentials fields.\n\t * @example ```{\"username\":\"xxxx\",\"password\":\"secret\"}```\n\t */\n\tcredentials?: Record<string, any> | null\n\n\tmarket?: MarketRel | null\n\n}\n\n\nclass CarrierAccounts extends ApiResource<CarrierAccount> {\n\n\tstatic readonly TYPE: CarrierAccountType = 'carrier_accounts' as const\n\n\tasync create(resource: CarrierAccountCreate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount> {\n\t\treturn this.resources.create<CarrierAccountCreate, CarrierAccount>({ ...resource, type: CarrierAccounts.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CarrierAccountUpdate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount> {\n\t\treturn this.resources.update<CarrierAccountUpdate, CarrierAccount>({ ...resource, type: CarrierAccounts.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: CarrierAccounts.TYPE } : id, options)\n\t}\n\n\tasync market(carrierAccountId: string | CarrierAccount, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _carrierAccountId = (carrierAccountId as CarrierAccount).id || carrierAccountId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `carrier_accounts/${_carrierAccountId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync attachments(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _carrierAccountId = (carrierAccountId as CarrierAccount).id || carrierAccountId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `carrier_accounts/${_carrierAccountId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _carrierAccountId = (carrierAccountId as CarrierAccount).id || carrierAccountId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `carrier_accounts/${_carrierAccountId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _carrierAccountId = (carrierAccountId as CarrierAccount).id || carrierAccountId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `carrier_accounts/${_carrierAccountId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisCarrierAccount(resource: any): resource is CarrierAccount {\n\t\treturn resource.type && (resource.type === CarrierAccounts.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CarrierAccountRel {\n\t\treturn super.relationshipOneToOne<CarrierAccountRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CarrierAccountRel[] {\n\t\treturn super.relationshipOneToMany<CarrierAccountRel>(...ids)\n\t}\n\n\n\ttype(): CarrierAccountType {\n\t\treturn CarrierAccounts.TYPE\n\t}\n\n}\n\n\nconst instance = new CarrierAccounts()\nexport default instance\n\nexport type { CarrierAccounts, CarrierAccount, CarrierAccountCreate, CarrierAccountUpdate, CarrierAccountType }\n"]}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { ApiResource } from './chunk-XKERR6OR.js';
|
2
|
+
|
3
|
+
// src/resources/order_factories.ts
|
4
|
+
var OrderFactories = class _OrderFactories extends ApiResource {
|
5
|
+
static TYPE = "order_factories";
|
6
|
+
async source_order(orderFactoryId, params, options) {
|
7
|
+
const _orderFactoryId = orderFactoryId.id || orderFactoryId;
|
8
|
+
return this.resources.fetch({ type: "orders" }, `order_factories/${_orderFactoryId}/source_order`, params, options);
|
9
|
+
}
|
10
|
+
async target_order(orderFactoryId, params, options) {
|
11
|
+
const _orderFactoryId = orderFactoryId.id || orderFactoryId;
|
12
|
+
return this.resources.fetch({ type: "orders" }, `order_factories/${_orderFactoryId}/target_order`, params, options);
|
13
|
+
}
|
14
|
+
async events(orderFactoryId, params, options) {
|
15
|
+
const _orderFactoryId = orderFactoryId.id || orderFactoryId;
|
16
|
+
return this.resources.fetch({ type: "events" }, `order_factories/${_orderFactoryId}/events`, params, options);
|
17
|
+
}
|
18
|
+
async event_stores(orderFactoryId, params, options) {
|
19
|
+
const _orderFactoryId = orderFactoryId.id || orderFactoryId;
|
20
|
+
return this.resources.fetch({ type: "event_stores" }, `order_factories/${_orderFactoryId}/event_stores`, params, options);
|
21
|
+
}
|
22
|
+
isOrderFactory(resource) {
|
23
|
+
return resource.type && resource.type === _OrderFactories.TYPE;
|
24
|
+
}
|
25
|
+
relationship(id) {
|
26
|
+
return super.relationshipOneToOne(id);
|
27
|
+
}
|
28
|
+
relationshipToMany(...ids) {
|
29
|
+
return super.relationshipOneToMany(...ids);
|
30
|
+
}
|
31
|
+
type() {
|
32
|
+
return _OrderFactories.TYPE;
|
33
|
+
}
|
34
|
+
};
|
35
|
+
var instance = new OrderFactories();
|
36
|
+
var order_factories_default = instance;
|
37
|
+
|
38
|
+
export { order_factories_default };
|
39
|
+
//# sourceMappingURL=chunk-W2EFIUTW.js.map
|
40
|
+
//# sourceMappingURL=chunk-W2EFIUTW.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/resources/order_factories.ts"],"names":[],"mappings":";;;AAsEA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,WAAA,CAA0B;AAAA,EAEtD,OAAgB,IAAA,GAAyB,iBAAA;AAAA,EAEzC,MAAM,YAAA,CAAa,cAAA,EAAuC,MAAA,EAAqC,OAAA,EAA2C;AACzI,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAM,cAAA;AAC/D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAa,EAAE,IAAA,EAAM,QAAA,EAAS,EAAG,CAAA,gBAAA,EAAmB,eAAe,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC1H;AAAA,EAEA,MAAM,YAAA,CAAa,cAAA,EAAuC,MAAA,EAAqC,OAAA,EAA2C;AACzI,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAM,cAAA;AAC/D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAa,EAAE,IAAA,EAAM,QAAA,EAAS,EAAG,CAAA,gBAAA,EAAmB,eAA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ceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Order } from './orders'\nimport type { Event } from './events'\nimport type { EventStore } from './event_stores'\n\n\ntype OrderFactoryType = 'order_factories'\ntype OrderFactoryRel = ResourceRel & { type: OrderFactoryType }\n\n\nexport type OrderFactorySort = Pick<OrderFactory, 'id' | 'status' | 'started_at' | 'completed_at' | 'failed_at' | 'errors_count'> & ResourceSort\n// export type OrderFactoryFilter = Pick<OrderFactory, 'id' | 'status' | 'started_at' | 'completed_at' | 'failed_at' | 'errors_count'> & ResourceFilter\n\n\ninterface OrderFactory extends Resource {\n\t\n\treadonly type: OrderFactoryType\n\n\t/** \n\t * The order factory status. One of 'pending' (default), 'in_progress', 'aborted', 'failed', or 'completed'.\n\t * @example ```\"in_progress\"```\n\t */\n\tstatus: 'pending' | 'in_progress' | 'aborted' | 'failed' | 'completed'\n\t/** \n\t * Time at which the order copy was started.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarted_at?: string | null\n\t/** \n\t * Time at which the order copy was completed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tcompleted_at?: string | null\n\t/** \n\t * Time at which the order copy has failed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tfailed_at?: string | null\n\t/** \n\t * Contains the order copy errors, if any.\n\t * @example ```{\"status\":[\"cannot transition from draft to placed\"]}```\n\t */\n\terrors_log?: Record<string, any> | null\n\t/** \n\t * Indicates the number of copy errors, if any.\n\t * @example ```2```\n\t */\n\terrors_count?: number | null\n\t/** \n\t * Indicates if the target order must be placed upon copy.\n\t * @example ```true```\n\t */\n\tplace_target_order?: boolean | null\n\t/** \n\t * Indicates if the payment source within the source order customer's wallet must be copied.\n\t * @example ```true```\n\t */\n\treuse_wallet?: boolean | null\n\n\tsource_order?: Order | null\n\ttarget_order?: Order | null\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass OrderFactories extends ApiResource<OrderFactory> {\n\n\tstatic readonly TYPE: OrderFactoryType = 'order_factories' as const\n\n\tasync source_order(orderFactoryId: string | OrderFactory, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _orderFactoryId = (orderFactoryId as OrderFactory).id || orderFactoryId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `order_factories/${_orderFactoryId}/source_order`, params, options) as unknown as Order\n\t}\n\n\tasync target_order(orderFactoryId: string | OrderFactory, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _orderFactoryId = (orderFactoryId as OrderFactory).id || orderFactoryId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `order_factories/${_orderFactoryId}/target_order`, params, options) as unknown as Order\n\t}\n\n\tasync events(orderFactoryId: string | OrderFactory, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _orderFactoryId = (orderFactoryId as OrderFactory).id || orderFactoryId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `order_factories/${_orderFactoryId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(orderFactoryId: string | OrderFactory, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _orderFactoryId = (orderFactoryId as OrderFactory).id || orderFactoryId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `order_factories/${_orderFactoryId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisOrderFactory(resource: any): resource is OrderFactory {\n\t\treturn resource.type && (resource.type === OrderFactories.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): OrderFactoryRel {\n\t\treturn super.relationshipOneToOne<OrderFactoryRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): OrderFactoryRel[] {\n\t\treturn super.relationshipOneToMany<OrderFactoryRel>(...ids)\n\t}\n\n\n\ttype(): OrderFactoryType {\n\t\treturn OrderFactories.TYPE\n\t}\n\n}\n\n\nconst instance = new OrderFactories()\nexport default instance\n\nexport type { OrderFactories, OrderFactory, OrderFactoryType }\n"]}
|