@commercelayer/sdk 8.0.0-beta.7 → 8.0.0-beta.8

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.
Files changed (1785) hide show
  1. package/lib/api-BrD0VGs7.d.ts +18490 -0
  2. package/lib/api-p_JJnFXy.d.cts +18490 -0
  3. package/lib/api.cjs +356 -340
  4. package/lib/api.d.cts +2 -2
  5. package/lib/api.d.ts +2 -2
  6. package/lib/api.js +144 -140
  7. package/lib/bundle-compat.cjs +160 -0
  8. package/lib/bundle-compat.cjs.map +1 -0
  9. package/lib/bundle-compat.d.cts +24 -0
  10. package/lib/bundle-compat.d.ts +22 -0
  11. package/lib/bundle-compat.js +155 -0
  12. package/lib/bundle-compat.js.map +1 -0
  13. package/lib/bundle.cjs +157 -561
  14. package/lib/bundle.cjs.map +1 -1
  15. package/lib/bundle.d.cts +10 -2
  16. package/lib/bundle.d.ts +9 -3
  17. package/lib/bundle.js +146 -563
  18. package/lib/bundle.js.map +1 -1
  19. package/lib/chunk-27JY4ULD.js +45 -0
  20. package/lib/chunk-27JY4ULD.js.map +1 -0
  21. package/lib/chunk-2A2L2CKF.js +75 -0
  22. package/lib/chunk-2A2L2CKF.js.map +1 -0
  23. package/lib/chunk-2FPWAQJJ.js +96 -0
  24. package/lib/chunk-2FPWAQJJ.js.map +1 -0
  25. package/lib/chunk-2KTN65O5.cjs +70 -0
  26. package/lib/chunk-2KTN65O5.cjs.map +1 -0
  27. package/lib/chunk-2PFTQHFT.js +79 -0
  28. package/lib/chunk-2PFTQHFT.js.map +1 -0
  29. package/lib/chunk-2SPJZDGK.js +80 -0
  30. package/lib/chunk-2SPJZDGK.js.map +1 -0
  31. package/lib/chunk-2YNRSRZU.cjs +102 -0
  32. package/lib/chunk-2YNRSRZU.cjs.map +1 -0
  33. package/lib/chunk-32JKZIM5.js +68 -0
  34. package/lib/chunk-32JKZIM5.js.map +1 -0
  35. package/lib/chunk-36O6EEZT.cjs +53 -0
  36. package/lib/chunk-36O6EEZT.cjs.map +1 -0
  37. package/lib/chunk-37KCG4S4.cjs +79 -0
  38. package/lib/chunk-37KCG4S4.cjs.map +1 -0
  39. package/lib/chunk-3DMYHXGB.js +20 -0
  40. package/lib/chunk-3DMYHXGB.js.map +1 -0
  41. package/lib/chunk-3DQIXZAG.js +129 -0
  42. package/lib/chunk-3DQIXZAG.js.map +1 -0
  43. package/lib/chunk-3FZPEWUV.cjs +91 -0
  44. package/lib/chunk-3FZPEWUV.cjs.map +1 -0
  45. package/lib/chunk-3M6XJ7NN.js +100 -0
  46. package/lib/chunk-3M6XJ7NN.js.map +1 -0
  47. package/lib/chunk-3NBRFRLX.cjs +125 -0
  48. package/lib/chunk-3NBRFRLX.cjs.map +1 -0
  49. package/lib/chunk-3OLFEEMC.js +100 -0
  50. package/lib/chunk-3OLFEEMC.js.map +1 -0
  51. package/lib/chunk-3QD74K3Q.cjs +53 -0
  52. package/lib/chunk-3QD74K3Q.cjs.map +1 -0
  53. package/lib/chunk-3SW2ASSY.js +60 -0
  54. package/lib/chunk-3SW2ASSY.js.map +1 -0
  55. package/lib/chunk-3XPISUB4.js +42 -0
  56. package/lib/chunk-3XPISUB4.js.map +1 -0
  57. package/lib/chunk-47ZNGHD4.js +77 -0
  58. package/lib/chunk-47ZNGHD4.js.map +1 -0
  59. package/lib/chunk-4PQ23R44.cjs +62 -0
  60. package/lib/chunk-4PQ23R44.cjs.map +1 -0
  61. package/lib/chunk-4VNGP4WP.js +100 -0
  62. package/lib/chunk-4VNGP4WP.js.map +1 -0
  63. package/lib/chunk-4XVOXNET.cjs +70 -0
  64. package/lib/chunk-4XVOXNET.cjs.map +1 -0
  65. package/lib/chunk-4YWYHTLB.js +68 -0
  66. package/lib/chunk-4YWYHTLB.js.map +1 -0
  67. package/lib/chunk-55KBBWVE.cjs +62 -0
  68. package/lib/chunk-55KBBWVE.cjs.map +1 -0
  69. package/lib/chunk-5BZCMLOG.cjs +38 -0
  70. package/lib/chunk-5BZCMLOG.cjs.map +1 -0
  71. package/lib/chunk-5DKOODMA.cjs +91 -0
  72. package/lib/chunk-5DKOODMA.cjs.map +1 -0
  73. package/lib/chunk-5MSW2F5A.js +58 -0
  74. package/lib/chunk-5MSW2F5A.js.map +1 -0
  75. package/lib/chunk-5NDRJ2CN.cjs +79 -0
  76. package/lib/chunk-5NDRJ2CN.cjs.map +1 -0
  77. package/lib/chunk-5RDGD6N2.js +82 -0
  78. package/lib/chunk-5RDGD6N2.js.map +1 -0
  79. package/lib/chunk-5TLQ5NEK.js +60 -0
  80. package/lib/chunk-5TLQ5NEK.js.map +1 -0
  81. package/lib/chunk-5WLJRGB6.cjs +89 -0
  82. package/lib/chunk-5WLJRGB6.cjs.map +1 -0
  83. package/lib/chunk-5WSJNCYM.cjs +44 -0
  84. package/lib/chunk-5WSJNCYM.cjs.map +1 -0
  85. package/lib/chunk-5YY7PVEO.js +191 -0
  86. package/lib/chunk-5YY7PVEO.js.map +1 -0
  87. package/lib/chunk-5Z5QSUVM.cjs +71 -0
  88. package/lib/chunk-5Z5QSUVM.cjs.map +1 -0
  89. package/lib/chunk-5ZPUTH6R.cjs +62 -0
  90. package/lib/chunk-5ZPUTH6R.cjs.map +1 -0
  91. package/lib/chunk-65HWKNSV.cjs +71 -0
  92. package/lib/chunk-65HWKNSV.cjs.map +1 -0
  93. package/lib/chunk-6BUTICKQ.js +75 -0
  94. package/lib/chunk-6BUTICKQ.js.map +1 -0
  95. package/lib/chunk-6F3SJXD3.cjs +62 -0
  96. package/lib/chunk-6F3SJXD3.cjs.map +1 -0
  97. package/lib/chunk-6JIKAK5C.js +77 -0
  98. package/lib/chunk-6JIKAK5C.js.map +1 -0
  99. package/lib/chunk-6JP6GEER.cjs +70 -0
  100. package/lib/chunk-6JP6GEER.cjs.map +1 -0
  101. package/lib/chunk-6L3AE23J.cjs +193 -0
  102. package/lib/chunk-6L3AE23J.cjs.map +1 -0
  103. package/lib/chunk-6NPLS5UO.cjs +60 -0
  104. package/lib/chunk-6NPLS5UO.cjs.map +1 -0
  105. package/lib/chunk-6R6A75PL.cjs +712 -0
  106. package/lib/chunk-6R6A75PL.cjs.map +1 -0
  107. package/lib/chunk-6TJJD77K.cjs +40 -0
  108. package/lib/chunk-6TJJD77K.cjs.map +1 -0
  109. package/lib/chunk-6UATBFH6.cjs +614 -0
  110. package/lib/chunk-6UATBFH6.cjs.map +1 -0
  111. package/lib/chunk-7CMX56OH.cjs +62 -0
  112. package/lib/chunk-7CMX56OH.cjs.map +1 -0
  113. package/lib/chunk-7CZ5BGBN.js +60 -0
  114. package/lib/chunk-7CZ5BGBN.js.map +1 -0
  115. package/lib/chunk-7EGB7KLE.cjs +70 -0
  116. package/lib/chunk-7EGB7KLE.cjs.map +1 -0
  117. package/lib/chunk-7FXEYH5P.js +77 -0
  118. package/lib/chunk-7FXEYH5P.js.map +1 -0
  119. package/lib/chunk-7HJJTBA5.cjs +88 -0
  120. package/lib/chunk-7HJJTBA5.cjs.map +1 -0
  121. package/lib/chunk-7J7U2OVV.cjs +44 -0
  122. package/lib/chunk-7J7U2OVV.cjs.map +1 -0
  123. package/lib/chunk-7KAEFUHR.js +58 -0
  124. package/lib/chunk-7KAEFUHR.js.map +1 -0
  125. package/lib/chunk-7LWJU3MC.js +77 -0
  126. package/lib/chunk-7LWJU3MC.js.map +1 -0
  127. package/lib/chunk-7MKSY64F.cjs +77 -0
  128. package/lib/chunk-7MKSY64F.cjs.map +1 -0
  129. package/lib/chunk-7NXUTO5Z.cjs +70 -0
  130. package/lib/chunk-7NXUTO5Z.cjs.map +1 -0
  131. package/lib/chunk-7YLXO22M.js +78 -0
  132. package/lib/chunk-7YLXO22M.js.map +1 -0
  133. package/lib/chunk-7ZNP5ZRX.cjs +182 -0
  134. package/lib/chunk-7ZNP5ZRX.cjs.map +1 -0
  135. package/lib/chunk-A5MOUKBT.cjs +81 -0
  136. package/lib/chunk-A5MOUKBT.cjs.map +1 -0
  137. package/lib/chunk-ACLWKVZH.cjs +179 -0
  138. package/lib/chunk-ACLWKVZH.cjs.map +1 -0
  139. package/lib/chunk-AH4P3KIO.cjs +198 -0
  140. package/lib/chunk-AH4P3KIO.cjs.map +1 -0
  141. package/lib/chunk-AIQS4XI7.cjs +70 -0
  142. package/lib/chunk-AIQS4XI7.cjs.map +1 -0
  143. package/lib/chunk-AQ6OHDUF.js +709 -0
  144. package/lib/chunk-AQ6OHDUF.js.map +1 -0
  145. package/lib/chunk-ARM4HSQI.cjs +98 -0
  146. package/lib/chunk-ARM4HSQI.cjs.map +1 -0
  147. package/lib/chunk-AUQHYYKJ.cjs +60 -0
  148. package/lib/chunk-AUQHYYKJ.cjs.map +1 -0
  149. package/lib/chunk-AXXSDR45.js +96 -0
  150. package/lib/chunk-AXXSDR45.js.map +1 -0
  151. package/lib/chunk-AYXJJKWA.js +75 -0
  152. package/lib/chunk-AYXJJKWA.js.map +1 -0
  153. package/lib/chunk-B5P3GWI5.js +67 -0
  154. package/lib/chunk-B5P3GWI5.js.map +1 -0
  155. package/lib/chunk-B5XPPQC7.cjs +70 -0
  156. package/lib/chunk-B5XPPQC7.cjs.map +1 -0
  157. package/lib/chunk-BD3ASC6K.cjs +84 -0
  158. package/lib/chunk-BD3ASC6K.cjs.map +1 -0
  159. package/lib/chunk-BDZQCGCJ.cjs +77 -0
  160. package/lib/chunk-BDZQCGCJ.cjs.map +1 -0
  161. package/lib/chunk-BEANHXLX.js +612 -0
  162. package/lib/chunk-BEANHXLX.js.map +1 -0
  163. package/lib/chunk-BF5HDO3M.cjs +70 -0
  164. package/lib/chunk-BF5HDO3M.cjs.map +1 -0
  165. package/lib/chunk-BFQFVHLA.cjs +94 -0
  166. package/lib/chunk-BFQFVHLA.cjs.map +1 -0
  167. package/lib/chunk-BPANUY47.cjs +22 -0
  168. package/lib/chunk-BPANUY47.cjs.map +1 -0
  169. package/lib/chunk-BTFN2FBP.js +69 -0
  170. package/lib/chunk-BTFN2FBP.js.map +1 -0
  171. package/lib/chunk-BY57BZ6S.cjs +79 -0
  172. package/lib/chunk-BY57BZ6S.cjs.map +1 -0
  173. package/lib/chunk-CDWXHURD.js +96 -0
  174. package/lib/chunk-CDWXHURD.js.map +1 -0
  175. package/lib/chunk-CEAYZF3Z.js +120 -0
  176. package/lib/chunk-CEAYZF3Z.js.map +1 -0
  177. package/lib/chunk-CEBLLOSH.cjs +79 -0
  178. package/lib/chunk-CEBLLOSH.cjs.map +1 -0
  179. package/lib/chunk-CEZGXW2V.cjs +102 -0
  180. package/lib/chunk-CEZGXW2V.cjs.map +1 -0
  181. package/lib/chunk-CITYMGFY.js +78 -0
  182. package/lib/chunk-CITYMGFY.js.map +1 -0
  183. package/lib/chunk-CK2UROFT.js +68 -0
  184. package/lib/chunk-CK2UROFT.js.map +1 -0
  185. package/lib/chunk-CMQ4CS3C.cjs +84 -0
  186. package/lib/chunk-CMQ4CS3C.cjs.map +1 -0
  187. package/lib/chunk-CMRTIKRS.cjs +98 -0
  188. package/lib/chunk-CMRTIKRS.cjs.map +1 -0
  189. package/lib/chunk-COCVOAAR.js +168 -0
  190. package/lib/chunk-COCVOAAR.js.map +1 -0
  191. package/lib/chunk-CPC4EDUN.js +60 -0
  192. package/lib/chunk-CPC4EDUN.js.map +1 -0
  193. package/lib/chunk-CQMGOKLY.js +89 -0
  194. package/lib/chunk-CQMGOKLY.js.map +1 -0
  195. package/lib/chunk-D433AVZU.cjs +61 -0
  196. package/lib/chunk-D433AVZU.cjs.map +1 -0
  197. package/lib/chunk-DGMBHG2D.cjs +122 -0
  198. package/lib/chunk-DGMBHG2D.cjs.map +1 -0
  199. package/lib/chunk-DH4T5JRD.cjs +47 -0
  200. package/lib/chunk-DH4T5JRD.cjs.map +1 -0
  201. package/lib/chunk-DIDUU3HJ.cjs +98 -0
  202. package/lib/chunk-DIDUU3HJ.cjs.map +1 -0
  203. package/lib/chunk-DJRBZJME.js +116 -0
  204. package/lib/chunk-DJRBZJME.js.map +1 -0
  205. package/lib/chunk-DN2TPVPQ.js +84 -0
  206. package/lib/chunk-DN2TPVPQ.js.map +1 -0
  207. package/lib/chunk-DVXTCITU.js +86 -0
  208. package/lib/chunk-DVXTCITU.js.map +1 -0
  209. package/lib/chunk-DXMFGRLZ.js +83 -0
  210. package/lib/chunk-DXMFGRLZ.js.map +1 -0
  211. package/lib/chunk-E5XRQXA3.cjs +193 -0
  212. package/lib/chunk-E5XRQXA3.cjs.map +1 -0
  213. package/lib/chunk-E6G7T2X4.cjs +14 -0
  214. package/lib/chunk-E6G7T2X4.cjs.map +1 -0
  215. package/lib/chunk-ECE464P6.js +68 -0
  216. package/lib/chunk-ECE464P6.js.map +1 -0
  217. package/lib/chunk-ECFID6YL.cjs +179 -0
  218. package/lib/chunk-ECFID6YL.cjs.map +1 -0
  219. package/lib/chunk-EG2D35UQ.js +77 -0
  220. package/lib/chunk-EG2D35UQ.js.map +1 -0
  221. package/lib/chunk-EIPT5P4Q.cjs +120 -0
  222. package/lib/chunk-EIPT5P4Q.cjs.map +1 -0
  223. package/lib/chunk-EJXIWONM.cjs +88 -0
  224. package/lib/chunk-EJXIWONM.cjs.map +1 -0
  225. package/lib/chunk-ELXHUTOX.js +82 -0
  226. package/lib/chunk-ELXHUTOX.js.map +1 -0
  227. package/lib/chunk-ENLBWOGO.cjs +86 -0
  228. package/lib/chunk-ENLBWOGO.cjs.map +1 -0
  229. package/lib/chunk-ENY5ZEDH.js +65 -0
  230. package/lib/chunk-ENY5ZEDH.js.map +1 -0
  231. package/lib/chunk-EQQVT4VQ.js +77 -0
  232. package/lib/chunk-EQQVT4VQ.js.map +1 -0
  233. package/lib/chunk-ESIW5CXF.js +91 -0
  234. package/lib/chunk-ESIW5CXF.js.map +1 -0
  235. package/lib/chunk-EWUUQ4L5.cjs +62 -0
  236. package/lib/chunk-EWUUQ4L5.cjs.map +1 -0
  237. package/lib/chunk-F5BYJ3P2.js +59 -0
  238. package/lib/chunk-F5BYJ3P2.js.map +1 -0
  239. package/lib/chunk-F7QAC5GG.js +33 -0
  240. package/lib/chunk-F7QAC5GG.js.map +1 -0
  241. package/lib/chunk-F7T5ONOF.js +163 -0
  242. package/lib/chunk-F7T5ONOF.js.map +1 -0
  243. package/lib/chunk-FCBQU5M7.js +79 -0
  244. package/lib/chunk-FCBQU5M7.js.map +1 -0
  245. package/lib/chunk-FCHVA2JJ.cjs +70 -0
  246. package/lib/chunk-FCHVA2JJ.cjs.map +1 -0
  247. package/lib/chunk-FEANKEWU.cjs +52 -0
  248. package/lib/chunk-FEANKEWU.cjs.map +1 -0
  249. package/lib/chunk-FHZ4JRXD.js +118 -0
  250. package/lib/chunk-FHZ4JRXD.js.map +1 -0
  251. package/lib/chunk-FIFWQWWX.js +79 -0
  252. package/lib/chunk-FIFWQWWX.js.map +1 -0
  253. package/lib/chunk-FIOQCCDK.js +53 -0
  254. package/lib/chunk-FIOQCCDK.js.map +1 -0
  255. package/lib/chunk-FJUOPWWJ.js +77 -0
  256. package/lib/chunk-FJUOPWWJ.js.map +1 -0
  257. package/lib/chunk-FKZUAC4B.cjs +79 -0
  258. package/lib/chunk-FKZUAC4B.cjs.map +1 -0
  259. package/lib/chunk-FRDOPI4T.cjs +79 -0
  260. package/lib/chunk-FRDOPI4T.cjs.map +1 -0
  261. package/lib/chunk-FVWXA45V.cjs +179 -0
  262. package/lib/chunk-FVWXA45V.cjs.map +1 -0
  263. package/lib/chunk-G2AIQH2C.js +60 -0
  264. package/lib/chunk-G2AIQH2C.js.map +1 -0
  265. package/lib/chunk-G34UCKUZ.cjs +91 -0
  266. package/lib/chunk-G34UCKUZ.cjs.map +1 -0
  267. package/lib/chunk-G4LJVHIH.js +42 -0
  268. package/lib/chunk-G4LJVHIH.js.map +1 -0
  269. package/lib/chunk-G6D5G6IF.cjs +166 -0
  270. package/lib/chunk-G6D5G6IF.cjs.map +1 -0
  271. package/lib/chunk-GGISBFEU.cjs +69 -0
  272. package/lib/chunk-GGISBFEU.cjs.map +1 -0
  273. package/lib/chunk-GGZNCXGR.js +24 -0
  274. package/lib/chunk-GGZNCXGR.js.map +1 -0
  275. package/lib/chunk-GINNGSFR.cjs +120 -0
  276. package/lib/chunk-GINNGSFR.cjs.map +1 -0
  277. package/lib/chunk-GNSSCO7B.js +38 -0
  278. package/lib/chunk-GNSSCO7B.js.map +1 -0
  279. package/lib/chunk-GOF6YS2G.js +241 -0
  280. package/lib/chunk-GOF6YS2G.js.map +1 -0
  281. package/lib/chunk-GOK6KXUU.cjs +52 -0
  282. package/lib/chunk-GOK6KXUU.cjs.map +1 -0
  283. package/lib/chunk-GQNMEV3Q.cjs +243 -0
  284. package/lib/chunk-GQNMEV3Q.cjs.map +1 -0
  285. package/lib/chunk-GQU2VL6D.js +59 -0
  286. package/lib/chunk-GQU2VL6D.js.map +1 -0
  287. package/lib/chunk-GU6AYW56.cjs +118 -0
  288. package/lib/chunk-GU6AYW56.cjs.map +1 -0
  289. package/lib/chunk-GYKGN67Z.cjs +70 -0
  290. package/lib/chunk-GYKGN67Z.cjs.map +1 -0
  291. package/lib/chunk-H2SPYNQJ.js +68 -0
  292. package/lib/chunk-H2SPYNQJ.js.map +1 -0
  293. package/lib/chunk-H3JUBJ6N.js +68 -0
  294. package/lib/chunk-H3JUBJ6N.js.map +1 -0
  295. package/lib/chunk-HBQRDVGM.cjs +79 -0
  296. package/lib/chunk-HBQRDVGM.cjs.map +1 -0
  297. package/lib/chunk-HEL2QWYR.js +196 -0
  298. package/lib/chunk-HEL2QWYR.js.map +1 -0
  299. package/lib/chunk-HFIPME7H.cjs +86 -0
  300. package/lib/chunk-HFIPME7H.cjs.map +1 -0
  301. package/lib/chunk-HI4ESMWV.cjs +44 -0
  302. package/lib/chunk-HI4ESMWV.cjs.map +1 -0
  303. package/lib/chunk-HKHSTGP4.cjs +120 -0
  304. package/lib/chunk-HKHSTGP4.cjs.map +1 -0
  305. package/lib/chunk-HLMRSUWY.cjs +88 -0
  306. package/lib/chunk-HLMRSUWY.cjs.map +1 -0
  307. package/lib/chunk-HXHL7HRZ.cjs +179 -0
  308. package/lib/chunk-HXHL7HRZ.cjs.map +1 -0
  309. package/lib/chunk-HZMMDAUQ.cjs +179 -0
  310. package/lib/chunk-HZMMDAUQ.cjs.map +1 -0
  311. package/lib/chunk-I2JMQPUT.js +42 -0
  312. package/lib/chunk-I2JMQPUT.js.map +1 -0
  313. package/lib/chunk-I5EJCLGC.js +51 -0
  314. package/lib/chunk-I5EJCLGC.js.map +1 -0
  315. package/lib/chunk-I6QTNC6Y.cjs +81 -0
  316. package/lib/chunk-I6QTNC6Y.cjs.map +1 -0
  317. package/lib/chunk-IBQCEBT3.cjs +96 -0
  318. package/lib/chunk-IBQCEBT3.cjs.map +1 -0
  319. package/lib/chunk-IC7XKJ55.cjs +61 -0
  320. package/lib/chunk-IC7XKJ55.cjs.map +1 -0
  321. package/lib/chunk-ICFJKNCL.js +89 -0
  322. package/lib/chunk-ICFJKNCL.js.map +1 -0
  323. package/lib/chunk-IJS5RGNW.js +77 -0
  324. package/lib/chunk-IJS5RGNW.js.map +1 -0
  325. package/lib/chunk-ISR6D4PG.js +68 -0
  326. package/lib/chunk-ISR6D4PG.js.map +1 -0
  327. package/lib/chunk-IXKNMEYJ.js +82 -0
  328. package/lib/chunk-IXKNMEYJ.js.map +1 -0
  329. package/lib/chunk-J6K5KGCO.js +84 -0
  330. package/lib/chunk-J6K5KGCO.js.map +1 -0
  331. package/lib/chunk-JBZ3YPHB.js +60 -0
  332. package/lib/chunk-JBZ3YPHB.js.map +1 -0
  333. package/lib/chunk-JGMO7E75.cjs +193 -0
  334. package/lib/chunk-JGMO7E75.cjs.map +1 -0
  335. package/lib/chunk-JHK2ADFO.js +116 -0
  336. package/lib/chunk-JHK2ADFO.js.map +1 -0
  337. package/lib/chunk-JO3634ZB.cjs +84 -0
  338. package/lib/chunk-JO3634ZB.cjs.map +1 -0
  339. package/lib/chunk-JUZQNX6I.js +42 -0
  340. package/lib/chunk-JUZQNX6I.js.map +1 -0
  341. package/lib/chunk-JYEJBSLC.cjs +91 -0
  342. package/lib/chunk-JYEJBSLC.cjs.map +1 -0
  343. package/lib/chunk-K4W33IZP.cjs +70 -0
  344. package/lib/chunk-K4W33IZP.cjs.map +1 -0
  345. package/lib/chunk-KBQOXEYZ.cjs +81 -0
  346. package/lib/chunk-KBQOXEYZ.cjs.map +1 -0
  347. package/lib/chunk-KIYHIGIY.cjs +179 -0
  348. package/lib/chunk-KIYHIGIY.cjs.map +1 -0
  349. package/lib/chunk-KN6QR2VT.cjs +79 -0
  350. package/lib/chunk-KN6QR2VT.cjs.map +1 -0
  351. package/lib/chunk-LEVF3A5F.cjs +93 -0
  352. package/lib/chunk-LEVF3A5F.cjs.map +1 -0
  353. package/lib/chunk-LMJZ2K6P.js +77 -0
  354. package/lib/chunk-LMJZ2K6P.js.map +1 -0
  355. package/lib/chunk-LSBBCEX5.js +305 -0
  356. package/lib/chunk-LSBBCEX5.js.map +1 -0
  357. package/lib/chunk-LSH2CQLI.js +68 -0
  358. package/lib/chunk-LSH2CQLI.js.map +1 -0
  359. package/lib/chunk-LV5MM4CO.js +118 -0
  360. package/lib/chunk-LV5MM4CO.js.map +1 -0
  361. package/lib/chunk-LVETDD3O.cjs +67 -0
  362. package/lib/chunk-LVETDD3O.cjs.map +1 -0
  363. package/lib/chunk-LYKCJHYR.js +94 -0
  364. package/lib/chunk-LYKCJHYR.js.map +1 -0
  365. package/lib/chunk-M2L4OZJ6.cjs +88 -0
  366. package/lib/chunk-M2L4OZJ6.cjs.map +1 -0
  367. package/lib/chunk-M6EAUX5W.js +35 -0
  368. package/lib/chunk-M6EAUX5W.js.map +1 -0
  369. package/lib/chunk-MF5IYI5N.js +11 -0
  370. package/lib/chunk-MF5IYI5N.js.map +1 -0
  371. package/lib/chunk-MFEIFGUU.js +124 -0
  372. package/lib/chunk-MFEIFGUU.js.map +1 -0
  373. package/lib/chunk-MIJ6DRSS.js +51 -0
  374. package/lib/chunk-MIJ6DRSS.js.map +1 -0
  375. package/lib/chunk-MLMK3BYP.js +27 -0
  376. package/lib/chunk-MLMK3BYP.js.map +1 -0
  377. package/lib/chunk-MN7T5QVU.cjs +70 -0
  378. package/lib/chunk-MN7T5QVU.cjs.map +1 -0
  379. package/lib/chunk-MO3ADFGB.js +50 -0
  380. package/lib/chunk-MO3ADFGB.js.map +1 -0
  381. package/lib/chunk-MWQLDBWJ.js +51 -0
  382. package/lib/chunk-MWQLDBWJ.js.map +1 -0
  383. package/lib/chunk-N25XG3WB.cjs +77 -0
  384. package/lib/chunk-N25XG3WB.cjs.map +1 -0
  385. package/lib/chunk-N7HMWUKO.js +177 -0
  386. package/lib/chunk-N7HMWUKO.js.map +1 -0
  387. package/lib/chunk-N7RIOQEE.cjs +205 -0
  388. package/lib/chunk-N7RIOQEE.cjs.map +1 -0
  389. package/lib/chunk-NCHSV74A.js +180 -0
  390. package/lib/chunk-NCHSV74A.js.map +1 -0
  391. package/lib/chunk-NHCNGRUW.js +321 -0
  392. package/lib/chunk-NHCNGRUW.js.map +1 -0
  393. package/lib/chunk-NJJ3AQFY.cjs +75 -0
  394. package/lib/chunk-NJJ3AQFY.cjs.map +1 -0
  395. package/lib/chunk-NL47AA7V.cjs +323 -0
  396. package/lib/chunk-NL47AA7V.cjs.map +1 -0
  397. package/lib/chunk-NXWBNR4A.js +75 -0
  398. package/lib/chunk-NXWBNR4A.js.map +1 -0
  399. package/lib/chunk-NZ5R6RZP.js +113 -0
  400. package/lib/chunk-NZ5R6RZP.js.map +1 -0
  401. package/lib/chunk-O4UBVFXZ.cjs +80 -0
  402. package/lib/chunk-O4UBVFXZ.cjs.map +1 -0
  403. package/lib/chunk-O5NLCRMD.cjs +131 -0
  404. package/lib/chunk-O5NLCRMD.cjs.map +1 -0
  405. package/lib/chunk-O7ZCUDYF.js +191 -0
  406. package/lib/chunk-O7ZCUDYF.js.map +1 -0
  407. package/lib/chunk-OGZMICIO.cjs +62 -0
  408. package/lib/chunk-OGZMICIO.cjs.map +1 -0
  409. package/lib/chunk-OH4R7NRW.cjs +556 -0
  410. package/lib/chunk-OH4R7NRW.cjs.map +1 -0
  411. package/lib/chunk-OI4ZCY65.js +68 -0
  412. package/lib/chunk-OI4ZCY65.js.map +1 -0
  413. package/lib/chunk-OJGNL5XA.js +87 -0
  414. package/lib/chunk-OJGNL5XA.js.map +1 -0
  415. package/lib/chunk-OKXSPFSZ.js +65 -0
  416. package/lib/chunk-OKXSPFSZ.js.map +1 -0
  417. package/lib/chunk-OOS4I2K6.cjs +70 -0
  418. package/lib/chunk-OOS4I2K6.cjs.map +1 -0
  419. package/lib/chunk-OTRQ6CRD.cjs +94 -0
  420. package/lib/chunk-OTRQ6CRD.cjs.map +1 -0
  421. package/lib/chunk-OVAMOIAR.js +51 -0
  422. package/lib/chunk-OVAMOIAR.js.map +1 -0
  423. package/lib/chunk-OXGJX4G5.cjs +79 -0
  424. package/lib/chunk-OXGJX4G5.cjs.map +1 -0
  425. package/lib/chunk-OXHQKMPQ.js +20 -0
  426. package/lib/chunk-OXHQKMPQ.js.map +1 -0
  427. package/lib/chunk-OXLZLXNI.js +86 -0
  428. package/lib/chunk-OXLZLXNI.js.map +1 -0
  429. package/lib/chunk-OXTZP6XB.js +123 -0
  430. package/lib/chunk-OXTZP6XB.js.map +1 -0
  431. package/lib/chunk-OZ6L33P7.cjs +40 -0
  432. package/lib/chunk-OZ6L33P7.cjs.map +1 -0
  433. package/lib/chunk-P2IUL4K4.cjs +52 -0
  434. package/lib/chunk-P2IUL4K4.cjs.map +1 -0
  435. package/lib/chunk-P7FIQR6P.cjs +91 -0
  436. package/lib/chunk-P7FIQR6P.cjs.map +1 -0
  437. package/lib/chunk-PA3XKIYI.cjs +98 -0
  438. package/lib/chunk-PA3XKIYI.cjs.map +1 -0
  439. package/lib/chunk-PXI3FFHR.js +542 -0
  440. package/lib/chunk-PXI3FFHR.js.map +1 -0
  441. package/lib/chunk-QELDOHCC.cjs +63 -0
  442. package/lib/chunk-QELDOHCC.cjs.map +1 -0
  443. package/lib/chunk-QHJ6WOJI.js +69 -0
  444. package/lib/chunk-QHJ6WOJI.js.map +1 -0
  445. package/lib/chunk-QIYG7O7V.js +77 -0
  446. package/lib/chunk-QIYG7O7V.js.map +1 -0
  447. package/lib/chunk-QM3JEWRN.cjs +93 -0
  448. package/lib/chunk-QM3JEWRN.cjs.map +1 -0
  449. package/lib/chunk-QQAD7R24.js +61 -0
  450. package/lib/chunk-QQAD7R24.js.map +1 -0
  451. package/lib/chunk-QX4Z7FX4.js +177 -0
  452. package/lib/chunk-QX4Z7FX4.js.map +1 -0
  453. package/lib/chunk-QZBOTY6C.js +203 -0
  454. package/lib/chunk-QZBOTY6C.js.map +1 -0
  455. package/lib/chunk-R4LYMSQW.cjs +61 -0
  456. package/lib/chunk-R4LYMSQW.cjs.map +1 -0
  457. package/lib/chunk-R7MCKMYA.js +177 -0
  458. package/lib/chunk-R7MCKMYA.js.map +1 -0
  459. package/lib/chunk-R7PD7BIN.js +164 -0
  460. package/lib/chunk-R7PD7BIN.js.map +1 -0
  461. package/lib/chunk-RHVGUEEZ.cjs +82 -0
  462. package/lib/chunk-RHVGUEEZ.cjs.map +1 -0
  463. package/lib/chunk-RNVBXM52.cjs +79 -0
  464. package/lib/chunk-RNVBXM52.cjs.map +1 -0
  465. package/lib/chunk-ROIDGFBH.js +68 -0
  466. package/lib/chunk-ROIDGFBH.js.map +1 -0
  467. package/lib/chunk-RT6CH7MF.js +120 -0
  468. package/lib/chunk-RT6CH7MF.js.map +1 -0
  469. package/lib/chunk-RZXG6SYW.js +50 -0
  470. package/lib/chunk-RZXG6SYW.js.map +1 -0
  471. package/lib/chunk-S2E6K3CX.js +88 -0
  472. package/lib/chunk-S2E6K3CX.js.map +1 -0
  473. package/lib/chunk-S3KPKHRF.cjs +79 -0
  474. package/lib/chunk-S3KPKHRF.cjs.map +1 -0
  475. package/lib/chunk-S3PPZ4MN.cjs +170 -0
  476. package/lib/chunk-S3PPZ4MN.cjs.map +1 -0
  477. package/lib/chunk-S4N7TNLE.js +132 -0
  478. package/lib/chunk-S4N7TNLE.js.map +1 -0
  479. package/lib/chunk-S6LUE4BK.cjs +35 -0
  480. package/lib/chunk-S6LUE4BK.cjs.map +1 -0
  481. package/lib/chunk-SAU26L56.js +91 -0
  482. package/lib/chunk-SAU26L56.js.map +1 -0
  483. package/lib/chunk-SB36RX2R.cjs +85 -0
  484. package/lib/chunk-SB36RX2R.cjs.map +1 -0
  485. package/lib/chunk-SD6TP5QY.cjs +29 -0
  486. package/lib/chunk-SD6TP5QY.cjs.map +1 -0
  487. package/lib/chunk-SITF5ZAC.js +68 -0
  488. package/lib/chunk-SITF5ZAC.js.map +1 -0
  489. package/lib/chunk-SQTCUWGR.cjs +67 -0
  490. package/lib/chunk-SQTCUWGR.cjs.map +1 -0
  491. package/lib/chunk-SSXDR6PH.js +86 -0
  492. package/lib/chunk-SSXDR6PH.js.map +1 -0
  493. package/lib/chunk-SYRDEPVH.js +68 -0
  494. package/lib/chunk-SYRDEPVH.js.map +1 -0
  495. package/lib/chunk-TBRFFV55.cjs +53 -0
  496. package/lib/chunk-TBRFFV55.cjs.map +1 -0
  497. package/lib/chunk-TEOE3WNS.cjs +102 -0
  498. package/lib/chunk-TEOE3WNS.cjs.map +1 -0
  499. package/lib/chunk-TI5JILQ4.cjs +134 -0
  500. package/lib/chunk-TI5JILQ4.cjs.map +1 -0
  501. package/lib/chunk-TVRITF4Q.cjs +164 -0
  502. package/lib/chunk-TVRITF4Q.cjs.map +1 -0
  503. package/lib/chunk-U222MLC5.cjs +88 -0
  504. package/lib/chunk-U222MLC5.cjs.map +1 -0
  505. package/lib/chunk-UARW4YQW.cjs +70 -0
  506. package/lib/chunk-UARW4YQW.cjs.map +1 -0
  507. package/lib/chunk-UCTSAXGF.cjs +122 -0
  508. package/lib/chunk-UCTSAXGF.cjs.map +1 -0
  509. package/lib/chunk-UE2ALA2G.js +36 -0
  510. package/lib/chunk-UE2ALA2G.js.map +1 -0
  511. package/lib/chunk-UEXD6ROE.cjs +44 -0
  512. package/lib/chunk-UEXD6ROE.cjs.map +1 -0
  513. package/lib/chunk-ULS6IZPC.js +86 -0
  514. package/lib/chunk-ULS6IZPC.js.map +1 -0
  515. package/lib/chunk-UUEYW4SI.cjs +55 -0
  516. package/lib/chunk-UUEYW4SI.cjs.map +1 -0
  517. package/lib/chunk-V3NFJBSM.js +50 -0
  518. package/lib/chunk-V3NFJBSM.js.map +1 -0
  519. package/lib/chunk-V4KUITPI.js +86 -0
  520. package/lib/chunk-V4KUITPI.js.map +1 -0
  521. package/lib/chunk-VBQSG5M5.js +92 -0
  522. package/lib/chunk-VBQSG5M5.js.map +1 -0
  523. package/lib/chunk-VCRPNIEH.cjs +70 -0
  524. package/lib/chunk-VCRPNIEH.cjs.map +1 -0
  525. package/lib/chunk-VE3SPP3G.js +177 -0
  526. package/lib/chunk-VE3SPP3G.js.map +1 -0
  527. package/lib/chunk-VNBY6YSL.js +82 -0
  528. package/lib/chunk-VNBY6YSL.js.map +1 -0
  529. package/lib/chunk-VNML47KB.js +59 -0
  530. package/lib/chunk-VNML47KB.js.map +1 -0
  531. package/lib/chunk-VP4IZXYD.cjs +26 -0
  532. package/lib/chunk-VP4IZXYD.cjs.map +1 -0
  533. package/lib/chunk-VVZDCEJY.js +68 -0
  534. package/lib/chunk-VVZDCEJY.js.map +1 -0
  535. package/lib/chunk-VWLPSTPL.cjs +91 -0
  536. package/lib/chunk-VWLPSTPL.cjs.map +1 -0
  537. package/lib/chunk-VY2QQ6GL.cjs +126 -0
  538. package/lib/chunk-VY2QQ6GL.cjs.map +1 -0
  539. package/lib/chunk-VZPW7ARO.cjs +90 -0
  540. package/lib/chunk-VZPW7ARO.cjs.map +1 -0
  541. package/lib/chunk-W35HDHDU.js +191 -0
  542. package/lib/chunk-W35HDHDU.js.map +1 -0
  543. package/lib/chunk-W3DJZSUC.js +68 -0
  544. package/lib/chunk-W3DJZSUC.js.map +1 -0
  545. package/lib/chunk-WCBPR2FU.js +177 -0
  546. package/lib/chunk-WCBPR2FU.js.map +1 -0
  547. package/lib/chunk-WJLT2Q6F.cjs +79 -0
  548. package/lib/chunk-WJLT2Q6F.cjs.map +1 -0
  549. package/lib/chunk-WKDK4TTS.cjs +80 -0
  550. package/lib/chunk-WKDK4TTS.cjs.map +1 -0
  551. package/lib/chunk-WMDLFAGR.cjs +53 -0
  552. package/lib/chunk-WMDLFAGR.cjs.map +1 -0
  553. package/lib/chunk-WO5LQQSK.cjs +4 -0
  554. package/lib/chunk-WO5LQQSK.cjs.map +1 -0
  555. package/lib/chunk-WOVCY6ON.cjs +22 -0
  556. package/lib/chunk-WOVCY6ON.cjs.map +1 -0
  557. package/lib/chunk-WTD6QSTI.js +89 -0
  558. package/lib/chunk-WTD6QSTI.js.map +1 -0
  559. package/lib/chunk-WVVUEB6A.cjs +70 -0
  560. package/lib/chunk-WVVUEB6A.cjs.map +1 -0
  561. package/lib/chunk-X6J7WQEA.js +89 -0
  562. package/lib/chunk-X6J7WQEA.js.map +1 -0
  563. package/lib/chunk-XE46YXZW.js +51 -0
  564. package/lib/chunk-XE46YXZW.js.map +1 -0
  565. package/lib/chunk-XGCAYVWC.js +73 -0
  566. package/lib/chunk-XGCAYVWC.js.map +1 -0
  567. package/lib/chunk-XKFKPTKY.cjs +115 -0
  568. package/lib/chunk-XKFKPTKY.cjs.map +1 -0
  569. package/lib/chunk-XS3PGMW7.cjs +77 -0
  570. package/lib/chunk-XS3PGMW7.cjs.map +1 -0
  571. package/lib/chunk-XUIGE5EC.js +68 -0
  572. package/lib/chunk-XUIGE5EC.js.map +1 -0
  573. package/lib/chunk-Y6XMMFGD.js +68 -0
  574. package/lib/chunk-Y6XMMFGD.js.map +1 -0
  575. package/lib/chunk-Y7FJ5Q2J.cjs +72 -0
  576. package/lib/chunk-Y7FJ5Q2J.cjs.map +1 -0
  577. package/lib/chunk-YJ3O5XLC.js +3 -0
  578. package/lib/chunk-YJ3O5XLC.js.map +1 -0
  579. package/lib/chunk-YKSGPQWF.cjs +165 -0
  580. package/lib/chunk-YKSGPQWF.cjs.map +1 -0
  581. package/lib/chunk-YLGAEBN4.js +96 -0
  582. package/lib/chunk-YLGAEBN4.js.map +1 -0
  583. package/lib/chunk-YOTHMSEP.js +68 -0
  584. package/lib/chunk-YOTHMSEP.js.map +1 -0
  585. package/lib/chunk-YPAKLMVE.js +60 -0
  586. package/lib/chunk-YPAKLMVE.js.map +1 -0
  587. package/lib/chunk-YQLZRFYW.js +77 -0
  588. package/lib/chunk-YQLZRFYW.js.map +1 -0
  589. package/lib/chunk-YXFYXDGG.js +154 -0
  590. package/lib/chunk-YXFYXDGG.js.map +1 -0
  591. package/lib/chunk-YZDBPUNJ.cjs +313 -0
  592. package/lib/chunk-YZDBPUNJ.cjs.map +1 -0
  593. package/lib/chunk-Z3LIS3PJ.js +77 -0
  594. package/lib/chunk-Z3LIS3PJ.js.map +1 -0
  595. package/lib/chunk-ZI7VCQUJ.cjs +84 -0
  596. package/lib/chunk-ZI7VCQUJ.cjs.map +1 -0
  597. package/lib/chunk-ZJX6FYOO.cjs +53 -0
  598. package/lib/chunk-ZJX6FYOO.cjs.map +1 -0
  599. package/lib/chunk-ZMIDBZVE.js +89 -0
  600. package/lib/chunk-ZMIDBZVE.js.map +1 -0
  601. package/lib/chunk-ZTDGE4FR.js +92 -0
  602. package/lib/chunk-ZTDGE4FR.js.map +1 -0
  603. package/lib/chunk-ZV322LW2.js +89 -0
  604. package/lib/chunk-ZV322LW2.js.map +1 -0
  605. package/lib/chunk-ZX75XWHD.js +177 -0
  606. package/lib/chunk-ZX75XWHD.js.map +1 -0
  607. package/lib/client.cjs +7 -6
  608. package/lib/client.d.cts +2 -1
  609. package/lib/client.d.ts +2 -1
  610. package/lib/client.js +6 -5
  611. package/lib/commercelayer.cjs +21 -16
  612. package/lib/commercelayer.d.cts +11 -6
  613. package/lib/commercelayer.d.ts +11 -6
  614. package/lib/commercelayer.js +10 -9
  615. package/lib/config.cjs +2 -2
  616. package/lib/config.d.cts +1 -1
  617. package/lib/config.d.ts +1 -1
  618. package/lib/config.js +1 -1
  619. package/lib/debug.cjs +2 -2
  620. package/lib/debug.js +1 -1
  621. package/lib/enum.cjs +14 -14
  622. package/lib/enum.d.cts +2 -2
  623. package/lib/enum.d.ts +2 -2
  624. package/lib/enum.js +1 -1
  625. package/lib/error.cjs +9 -9
  626. package/lib/error.js +2 -2
  627. package/lib/fetch-D4JGyBOl.d.cts +55 -0
  628. package/lib/fetch-D4JGyBOl.d.ts +55 -0
  629. package/lib/fetch.cjs +4 -4
  630. package/lib/fetch.d.cts +1 -1
  631. package/lib/fetch.d.ts +1 -1
  632. package/lib/fetch.js +2 -2
  633. package/lib/index.cjs +154 -669
  634. package/lib/index.d.cts +6 -4
  635. package/lib/index.d.ts +5 -3
  636. package/lib/index.js +147 -142
  637. package/lib/interceptor.d.cts +1 -1
  638. package/lib/interceptor.d.ts +1 -1
  639. package/lib/jsonapi.cjs +11 -10
  640. package/lib/jsonapi.d.cts +2 -2
  641. package/lib/jsonapi.d.ts +2 -2
  642. package/lib/jsonapi.js +9 -8
  643. package/lib/model.d.cts +2 -2
  644. package/lib/model.d.ts +2 -2
  645. package/lib/query.cjs +6 -6
  646. package/lib/query.d.cts +2 -2
  647. package/lib/query.d.ts +2 -2
  648. package/lib/query.js +3 -3
  649. package/lib/resource.cjs +14 -13
  650. package/lib/resource.d.cts +2 -2
  651. package/lib/resource.d.ts +2 -2
  652. package/lib/resource.js +9 -8
  653. package/lib/resources/addresses.cjs +11 -10
  654. package/lib/resources/addresses.d.cts +3 -3
  655. package/lib/resources/addresses.d.ts +2 -2
  656. package/lib/resources/addresses.js +10 -9
  657. package/lib/resources/adjustments.cjs +11 -10
  658. package/lib/resources/adjustments.d.cts +3 -3
  659. package/lib/resources/adjustments.d.ts +2 -2
  660. package/lib/resources/adjustments.js +10 -9
  661. package/lib/resources/adyen_gateways.cjs +11 -10
  662. package/lib/resources/adyen_gateways.d.cts +3 -3
  663. package/lib/resources/adyen_gateways.d.ts +2 -2
  664. package/lib/resources/adyen_gateways.js +10 -9
  665. package/lib/resources/adyen_payments.cjs +11 -10
  666. package/lib/resources/adyen_payments.d.cts +3 -3
  667. package/lib/resources/adyen_payments.d.ts +2 -2
  668. package/lib/resources/adyen_payments.js +10 -9
  669. package/lib/resources/applications.cjs +11 -10
  670. package/lib/resources/applications.d.cts +3 -3
  671. package/lib/resources/applications.d.ts +2 -2
  672. package/lib/resources/applications.js +10 -9
  673. package/lib/resources/attachments.cjs +11 -10
  674. package/lib/resources/attachments.d.cts +3 -3
  675. package/lib/resources/attachments.d.ts +2 -2
  676. package/lib/resources/attachments.js +10 -9
  677. package/lib/resources/authorizations.cjs +11 -10
  678. package/lib/resources/authorizations.d.cts +3 -3
  679. package/lib/resources/authorizations.d.ts +2 -2
  680. package/lib/resources/authorizations.js +10 -9
  681. package/lib/resources/avalara_accounts.cjs +11 -10
  682. package/lib/resources/avalara_accounts.d.cts +3 -3
  683. package/lib/resources/avalara_accounts.d.ts +2 -2
  684. package/lib/resources/avalara_accounts.js +10 -9
  685. package/lib/resources/axerve_gateways.cjs +11 -10
  686. package/lib/resources/axerve_gateways.d.cts +3 -3
  687. package/lib/resources/axerve_gateways.d.ts +2 -2
  688. package/lib/resources/axerve_gateways.js +10 -9
  689. package/lib/resources/axerve_payments.cjs +11 -10
  690. package/lib/resources/axerve_payments.d.cts +3 -3
  691. package/lib/resources/axerve_payments.d.ts +2 -2
  692. package/lib/resources/axerve_payments.js +10 -9
  693. package/lib/resources/billing_info_validation_rules.cjs +21 -0
  694. package/lib/resources/billing_info_validation_rules.cjs.map +1 -0
  695. package/lib/resources/billing_info_validation_rules.d.cts +7 -0
  696. package/lib/resources/billing_info_validation_rules.d.ts +4 -0
  697. package/lib/resources/billing_info_validation_rules.js +13 -0
  698. package/lib/resources/billing_info_validation_rules.js.map +1 -0
  699. package/lib/resources/bing_geocoders.cjs +11 -10
  700. package/lib/resources/bing_geocoders.d.cts +3 -3
  701. package/lib/resources/bing_geocoders.d.ts +2 -2
  702. package/lib/resources/bing_geocoders.js +10 -9
  703. package/lib/resources/braintree_gateways.cjs +11 -10
  704. package/lib/resources/braintree_gateways.d.cts +3 -3
  705. package/lib/resources/braintree_gateways.d.ts +2 -2
  706. package/lib/resources/braintree_gateways.js +10 -9
  707. package/lib/resources/braintree_payments.cjs +11 -10
  708. package/lib/resources/braintree_payments.d.cts +3 -3
  709. package/lib/resources/braintree_payments.d.ts +2 -2
  710. package/lib/resources/braintree_payments.js +10 -9
  711. package/lib/resources/bundles.cjs +11 -10
  712. package/lib/resources/bundles.d.cts +3 -3
  713. package/lib/resources/bundles.d.ts +2 -2
  714. package/lib/resources/bundles.js +10 -9
  715. package/lib/resources/buy_x_pay_y_promotions.cjs +11 -10
  716. package/lib/resources/buy_x_pay_y_promotions.d.cts +3 -3
  717. package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
  718. package/lib/resources/buy_x_pay_y_promotions.js +10 -9
  719. package/lib/resources/captures.cjs +11 -10
  720. package/lib/resources/captures.d.cts +3 -3
  721. package/lib/resources/captures.d.ts +2 -2
  722. package/lib/resources/captures.js +10 -9
  723. package/lib/resources/carrier_accounts.cjs +11 -10
  724. package/lib/resources/carrier_accounts.d.cts +3 -3
  725. package/lib/resources/carrier_accounts.d.ts +2 -2
  726. package/lib/resources/carrier_accounts.js +10 -9
  727. package/lib/resources/checkout_com_gateways.cjs +11 -10
  728. package/lib/resources/checkout_com_gateways.d.cts +3 -3
  729. package/lib/resources/checkout_com_gateways.d.ts +2 -2
  730. package/lib/resources/checkout_com_gateways.js +10 -9
  731. package/lib/resources/checkout_com_payments.cjs +11 -10
  732. package/lib/resources/checkout_com_payments.d.cts +3 -3
  733. package/lib/resources/checkout_com_payments.d.ts +2 -2
  734. package/lib/resources/checkout_com_payments.js +10 -9
  735. package/lib/resources/cleanups.cjs +11 -10
  736. package/lib/resources/cleanups.d.cts +3 -3
  737. package/lib/resources/cleanups.d.ts +2 -2
  738. package/lib/resources/cleanups.js +10 -9
  739. package/lib/resources/coupon_codes_promotion_rules.cjs +11 -10
  740. package/lib/resources/coupon_codes_promotion_rules.d.cts +3 -3
  741. package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
  742. package/lib/resources/coupon_codes_promotion_rules.js +10 -9
  743. package/lib/resources/coupon_recipients.cjs +11 -10
  744. package/lib/resources/coupon_recipients.d.cts +3 -3
  745. package/lib/resources/coupon_recipients.d.ts +2 -2
  746. package/lib/resources/coupon_recipients.js +10 -9
  747. package/lib/resources/coupons.cjs +11 -10
  748. package/lib/resources/coupons.d.cts +3 -3
  749. package/lib/resources/coupons.d.ts +2 -2
  750. package/lib/resources/coupons.js +10 -9
  751. package/lib/resources/custom_promotion_rules.cjs +11 -10
  752. package/lib/resources/custom_promotion_rules.d.cts +3 -3
  753. package/lib/resources/custom_promotion_rules.d.ts +2 -2
  754. package/lib/resources/custom_promotion_rules.js +10 -9
  755. package/lib/resources/customer_addresses.cjs +11 -10
  756. package/lib/resources/customer_addresses.d.cts +3 -3
  757. package/lib/resources/customer_addresses.d.ts +2 -2
  758. package/lib/resources/customer_addresses.js +10 -9
  759. package/lib/resources/customer_groups.cjs +11 -10
  760. package/lib/resources/customer_groups.d.cts +3 -3
  761. package/lib/resources/customer_groups.d.ts +2 -2
  762. package/lib/resources/customer_groups.js +10 -9
  763. package/lib/resources/customer_password_resets.cjs +11 -10
  764. package/lib/resources/customer_password_resets.d.cts +3 -3
  765. package/lib/resources/customer_password_resets.d.ts +2 -2
  766. package/lib/resources/customer_password_resets.js +10 -9
  767. package/lib/resources/customer_payment_sources.cjs +11 -10
  768. package/lib/resources/customer_payment_sources.d.cts +3 -3
  769. package/lib/resources/customer_payment_sources.d.ts +2 -2
  770. package/lib/resources/customer_payment_sources.js +10 -9
  771. package/lib/resources/customer_subscriptions.cjs +11 -10
  772. package/lib/resources/customer_subscriptions.d.cts +3 -3
  773. package/lib/resources/customer_subscriptions.d.ts +2 -2
  774. package/lib/resources/customer_subscriptions.js +10 -9
  775. package/lib/resources/customers.cjs +11 -10
  776. package/lib/resources/customers.d.cts +3 -3
  777. package/lib/resources/customers.d.ts +2 -2
  778. package/lib/resources/customers.js +10 -9
  779. package/lib/resources/delivery_lead_times.cjs +11 -10
  780. package/lib/resources/delivery_lead_times.d.cts +3 -3
  781. package/lib/resources/delivery_lead_times.d.ts +2 -2
  782. package/lib/resources/delivery_lead_times.js +10 -9
  783. package/lib/resources/discount_engine_items.cjs +11 -10
  784. package/lib/resources/discount_engine_items.d.cts +3 -3
  785. package/lib/resources/discount_engine_items.d.ts +2 -2
  786. package/lib/resources/discount_engine_items.js +10 -9
  787. package/lib/resources/discount_engines.cjs +11 -10
  788. package/lib/resources/discount_engines.d.cts +3 -3
  789. package/lib/resources/discount_engines.d.ts +2 -2
  790. package/lib/resources/discount_engines.js +10 -9
  791. package/lib/resources/easypost_pickups.cjs +11 -10
  792. package/lib/resources/easypost_pickups.d.cts +3 -3
  793. package/lib/resources/easypost_pickups.d.ts +2 -2
  794. package/lib/resources/easypost_pickups.js +10 -9
  795. package/lib/resources/event_callbacks.cjs +11 -10
  796. package/lib/resources/event_callbacks.d.cts +3 -3
  797. package/lib/resources/event_callbacks.d.ts +2 -2
  798. package/lib/resources/event_callbacks.js +10 -9
  799. package/lib/resources/event_stores.cjs +11 -10
  800. package/lib/resources/event_stores.d.cts +3 -3
  801. package/lib/resources/event_stores.d.ts +2 -2
  802. package/lib/resources/event_stores.js +10 -9
  803. package/lib/resources/events.cjs +11 -10
  804. package/lib/resources/events.d.cts +3 -3
  805. package/lib/resources/events.d.ts +2 -2
  806. package/lib/resources/events.js +10 -9
  807. package/lib/resources/exports.cjs +11 -10
  808. package/lib/resources/exports.d.cts +3 -3
  809. package/lib/resources/exports.d.ts +2 -2
  810. package/lib/resources/exports.js +10 -9
  811. package/lib/resources/external_gateways.cjs +11 -10
  812. package/lib/resources/external_gateways.d.cts +3 -3
  813. package/lib/resources/external_gateways.d.ts +2 -2
  814. package/lib/resources/external_gateways.js +10 -9
  815. package/lib/resources/external_payments.cjs +11 -10
  816. package/lib/resources/external_payments.d.cts +3 -3
  817. package/lib/resources/external_payments.d.ts +2 -2
  818. package/lib/resources/external_payments.js +10 -9
  819. package/lib/resources/external_promotions.cjs +11 -10
  820. package/lib/resources/external_promotions.d.cts +3 -3
  821. package/lib/resources/external_promotions.d.ts +2 -2
  822. package/lib/resources/external_promotions.js +10 -9
  823. package/lib/resources/external_tax_calculators.cjs +11 -10
  824. package/lib/resources/external_tax_calculators.d.cts +3 -3
  825. package/lib/resources/external_tax_calculators.d.ts +2 -2
  826. package/lib/resources/external_tax_calculators.js +10 -9
  827. package/lib/resources/fixed_amount_promotions.cjs +11 -10
  828. package/lib/resources/fixed_amount_promotions.d.cts +3 -3
  829. package/lib/resources/fixed_amount_promotions.d.ts +2 -2
  830. package/lib/resources/fixed_amount_promotions.js +10 -9
  831. package/lib/resources/fixed_price_promotions.cjs +11 -10
  832. package/lib/resources/fixed_price_promotions.d.cts +3 -3
  833. package/lib/resources/fixed_price_promotions.d.ts +2 -2
  834. package/lib/resources/fixed_price_promotions.js +10 -9
  835. package/lib/resources/flex_promotions.cjs +11 -10
  836. package/lib/resources/flex_promotions.d.cts +3 -3
  837. package/lib/resources/flex_promotions.d.ts +2 -2
  838. package/lib/resources/flex_promotions.js +10 -9
  839. package/lib/resources/free_gift_promotions.cjs +11 -10
  840. package/lib/resources/free_gift_promotions.d.cts +3 -3
  841. package/lib/resources/free_gift_promotions.d.ts +2 -2
  842. package/lib/resources/free_gift_promotions.js +10 -9
  843. package/lib/resources/free_shipping_promotions.cjs +11 -10
  844. package/lib/resources/free_shipping_promotions.d.cts +3 -3
  845. package/lib/resources/free_shipping_promotions.d.ts +2 -2
  846. package/lib/resources/free_shipping_promotions.js +10 -9
  847. package/lib/resources/geocoders.cjs +11 -10
  848. package/lib/resources/geocoders.d.cts +3 -3
  849. package/lib/resources/geocoders.d.ts +2 -2
  850. package/lib/resources/geocoders.js +10 -9
  851. package/lib/resources/gift_card_recipients.cjs +11 -10
  852. package/lib/resources/gift_card_recipients.d.cts +3 -3
  853. package/lib/resources/gift_card_recipients.d.ts +2 -2
  854. package/lib/resources/gift_card_recipients.js +10 -9
  855. package/lib/resources/gift_cards.cjs +11 -10
  856. package/lib/resources/gift_cards.d.cts +3 -3
  857. package/lib/resources/gift_cards.d.ts +2 -2
  858. package/lib/resources/gift_cards.js +10 -9
  859. package/lib/resources/google_geocoders.cjs +11 -10
  860. package/lib/resources/google_geocoders.d.cts +3 -3
  861. package/lib/resources/google_geocoders.d.ts +2 -2
  862. package/lib/resources/google_geocoders.js +10 -9
  863. package/lib/resources/imports.cjs +11 -10
  864. package/lib/resources/imports.d.cts +3 -3
  865. package/lib/resources/imports.d.ts +2 -2
  866. package/lib/resources/imports.js +10 -9
  867. package/lib/resources/in_stock_subscriptions.cjs +11 -10
  868. package/lib/resources/in_stock_subscriptions.d.cts +3 -3
  869. package/lib/resources/in_stock_subscriptions.d.ts +2 -2
  870. package/lib/resources/in_stock_subscriptions.js +10 -9
  871. package/lib/resources/inventory_models.cjs +11 -10
  872. package/lib/resources/inventory_models.d.cts +3 -3
  873. package/lib/resources/inventory_models.d.ts +2 -2
  874. package/lib/resources/inventory_models.js +10 -9
  875. package/lib/resources/inventory_return_locations.cjs +11 -10
  876. package/lib/resources/inventory_return_locations.d.cts +3 -3
  877. package/lib/resources/inventory_return_locations.d.ts +2 -2
  878. package/lib/resources/inventory_return_locations.js +10 -9
  879. package/lib/resources/inventory_stock_locations.cjs +11 -10
  880. package/lib/resources/inventory_stock_locations.d.cts +3 -3
  881. package/lib/resources/inventory_stock_locations.d.ts +2 -2
  882. package/lib/resources/inventory_stock_locations.js +10 -9
  883. package/lib/resources/klarna_gateways.cjs +11 -10
  884. package/lib/resources/klarna_gateways.d.cts +3 -3
  885. package/lib/resources/klarna_gateways.d.ts +2 -2
  886. package/lib/resources/klarna_gateways.js +10 -9
  887. package/lib/resources/klarna_payments.cjs +11 -10
  888. package/lib/resources/klarna_payments.d.cts +3 -3
  889. package/lib/resources/klarna_payments.d.ts +2 -2
  890. package/lib/resources/klarna_payments.js +10 -9
  891. package/lib/resources/line_item_options.cjs +11 -10
  892. package/lib/resources/line_item_options.d.cts +3 -3
  893. package/lib/resources/line_item_options.d.ts +2 -2
  894. package/lib/resources/line_item_options.js +10 -9
  895. package/lib/resources/line_items.cjs +11 -10
  896. package/lib/resources/line_items.d.cts +3 -3
  897. package/lib/resources/line_items.d.ts +2 -2
  898. package/lib/resources/line_items.js +10 -9
  899. package/lib/resources/links.cjs +11 -10
  900. package/lib/resources/links.d.cts +3 -3
  901. package/lib/resources/links.d.ts +2 -2
  902. package/lib/resources/links.js +10 -9
  903. package/lib/resources/manual_gateways.cjs +11 -10
  904. package/lib/resources/manual_gateways.d.cts +3 -3
  905. package/lib/resources/manual_gateways.d.ts +2 -2
  906. package/lib/resources/manual_gateways.js +10 -9
  907. package/lib/resources/manual_tax_calculators.cjs +11 -10
  908. package/lib/resources/manual_tax_calculators.d.cts +3 -3
  909. package/lib/resources/manual_tax_calculators.d.ts +2 -2
  910. package/lib/resources/manual_tax_calculators.js +10 -9
  911. package/lib/resources/markets.cjs +11 -10
  912. package/lib/resources/markets.d.cts +3 -3
  913. package/lib/resources/markets.d.ts +2 -2
  914. package/lib/resources/markets.js +10 -9
  915. package/lib/resources/merchants.cjs +11 -10
  916. package/lib/resources/merchants.d.cts +3 -3
  917. package/lib/resources/merchants.d.ts +2 -2
  918. package/lib/resources/merchants.js +10 -9
  919. package/lib/resources/notifications.cjs +11 -10
  920. package/lib/resources/notifications.d.cts +3 -3
  921. package/lib/resources/notifications.d.ts +2 -2
  922. package/lib/resources/notifications.js +10 -9
  923. package/lib/resources/order_amount_promotion_rules.cjs +11 -10
  924. package/lib/resources/order_amount_promotion_rules.d.cts +3 -3
  925. package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
  926. package/lib/resources/order_amount_promotion_rules.js +10 -9
  927. package/lib/resources/order_copies.cjs +11 -10
  928. package/lib/resources/order_copies.d.cts +3 -3
  929. package/lib/resources/order_copies.d.ts +2 -2
  930. package/lib/resources/order_copies.js +10 -9
  931. package/lib/resources/order_factories.cjs +11 -10
  932. package/lib/resources/order_factories.d.cts +3 -3
  933. package/lib/resources/order_factories.d.ts +2 -2
  934. package/lib/resources/order_factories.js +10 -9
  935. package/lib/resources/order_subscription_items.cjs +11 -10
  936. package/lib/resources/order_subscription_items.d.cts +3 -3
  937. package/lib/resources/order_subscription_items.d.ts +2 -2
  938. package/lib/resources/order_subscription_items.js +10 -9
  939. package/lib/resources/order_subscriptions.cjs +11 -10
  940. package/lib/resources/order_subscriptions.d.cts +3 -3
  941. package/lib/resources/order_subscriptions.d.ts +2 -2
  942. package/lib/resources/order_subscriptions.js +10 -9
  943. package/lib/resources/order_validation_rules.cjs +21 -0
  944. package/lib/resources/order_validation_rules.cjs.map +1 -0
  945. package/lib/resources/order_validation_rules.d.cts +7 -0
  946. package/lib/resources/order_validation_rules.d.ts +4 -0
  947. package/lib/resources/order_validation_rules.js +13 -0
  948. package/lib/resources/order_validation_rules.js.map +1 -0
  949. package/lib/resources/orders.cjs +11 -10
  950. package/lib/resources/orders.d.cts +3 -3
  951. package/lib/resources/orders.d.ts +2 -2
  952. package/lib/resources/orders.js +10 -9
  953. package/lib/resources/organizations.cjs +11 -10
  954. package/lib/resources/organizations.d.cts +3 -3
  955. package/lib/resources/organizations.d.ts +2 -2
  956. package/lib/resources/organizations.js +10 -9
  957. package/lib/resources/packages.cjs +11 -10
  958. package/lib/resources/packages.d.cts +3 -3
  959. package/lib/resources/packages.d.ts +2 -2
  960. package/lib/resources/packages.js +10 -9
  961. package/lib/resources/parcel_line_items.cjs +11 -10
  962. package/lib/resources/parcel_line_items.d.cts +3 -3
  963. package/lib/resources/parcel_line_items.d.ts +2 -2
  964. package/lib/resources/parcel_line_items.js +10 -9
  965. package/lib/resources/parcels.cjs +11 -10
  966. package/lib/resources/parcels.d.cts +3 -3
  967. package/lib/resources/parcels.d.ts +2 -2
  968. package/lib/resources/parcels.js +10 -9
  969. package/lib/resources/payment_gateways.cjs +11 -10
  970. package/lib/resources/payment_gateways.d.cts +3 -3
  971. package/lib/resources/payment_gateways.d.ts +2 -2
  972. package/lib/resources/payment_gateways.js +10 -9
  973. package/lib/resources/payment_methods.cjs +11 -10
  974. package/lib/resources/payment_methods.d.cts +3 -3
  975. package/lib/resources/payment_methods.d.ts +2 -2
  976. package/lib/resources/payment_methods.js +10 -9
  977. package/lib/resources/payment_options.cjs +11 -10
  978. package/lib/resources/payment_options.d.cts +3 -3
  979. package/lib/resources/payment_options.d.ts +2 -2
  980. package/lib/resources/payment_options.js +10 -9
  981. package/lib/resources/paypal_gateways.cjs +11 -10
  982. package/lib/resources/paypal_gateways.d.cts +3 -3
  983. package/lib/resources/paypal_gateways.d.ts +2 -2
  984. package/lib/resources/paypal_gateways.js +10 -9
  985. package/lib/resources/paypal_payments.cjs +11 -10
  986. package/lib/resources/paypal_payments.d.cts +3 -3
  987. package/lib/resources/paypal_payments.d.ts +2 -2
  988. package/lib/resources/paypal_payments.js +10 -9
  989. package/lib/resources/percentage_discount_promotions.cjs +11 -10
  990. package/lib/resources/percentage_discount_promotions.d.cts +3 -3
  991. package/lib/resources/percentage_discount_promotions.d.ts +2 -2
  992. package/lib/resources/percentage_discount_promotions.js +10 -9
  993. package/lib/resources/pickups.cjs +11 -10
  994. package/lib/resources/pickups.d.cts +3 -3
  995. package/lib/resources/pickups.d.ts +2 -2
  996. package/lib/resources/pickups.js +10 -9
  997. package/lib/resources/price_frequency_tiers.cjs +11 -10
  998. package/lib/resources/price_frequency_tiers.d.cts +3 -3
  999. package/lib/resources/price_frequency_tiers.d.ts +2 -2
  1000. package/lib/resources/price_frequency_tiers.js +10 -9
  1001. package/lib/resources/price_list_schedulers.cjs +11 -10
  1002. package/lib/resources/price_list_schedulers.d.cts +3 -3
  1003. package/lib/resources/price_list_schedulers.d.ts +2 -2
  1004. package/lib/resources/price_list_schedulers.js +10 -9
  1005. package/lib/resources/price_lists.cjs +11 -10
  1006. package/lib/resources/price_lists.d.cts +3 -3
  1007. package/lib/resources/price_lists.d.ts +2 -2
  1008. package/lib/resources/price_lists.js +10 -9
  1009. package/lib/resources/price_tiers.cjs +11 -10
  1010. package/lib/resources/price_tiers.d.cts +3 -3
  1011. package/lib/resources/price_tiers.d.ts +2 -2
  1012. package/lib/resources/price_tiers.js +10 -9
  1013. package/lib/resources/price_volume_tiers.cjs +11 -10
  1014. package/lib/resources/price_volume_tiers.d.cts +3 -3
  1015. package/lib/resources/price_volume_tiers.d.ts +2 -2
  1016. package/lib/resources/price_volume_tiers.js +10 -9
  1017. package/lib/resources/prices.cjs +11 -10
  1018. package/lib/resources/prices.d.cts +3 -3
  1019. package/lib/resources/prices.d.ts +2 -2
  1020. package/lib/resources/prices.js +10 -9
  1021. package/lib/resources/promotion_rules.cjs +11 -10
  1022. package/lib/resources/promotion_rules.d.cts +3 -3
  1023. package/lib/resources/promotion_rules.d.ts +2 -2
  1024. package/lib/resources/promotion_rules.js +10 -9
  1025. package/lib/resources/promotions.cjs +11 -10
  1026. package/lib/resources/promotions.d.cts +3 -3
  1027. package/lib/resources/promotions.d.ts +2 -2
  1028. package/lib/resources/promotions.js +10 -9
  1029. package/lib/resources/recurring_order_copies.cjs +11 -10
  1030. package/lib/resources/recurring_order_copies.d.cts +3 -3
  1031. package/lib/resources/recurring_order_copies.d.ts +2 -2
  1032. package/lib/resources/recurring_order_copies.js +10 -9
  1033. package/lib/resources/refunds.cjs +11 -10
  1034. package/lib/resources/refunds.d.cts +3 -3
  1035. package/lib/resources/refunds.d.ts +2 -2
  1036. package/lib/resources/refunds.js +10 -9
  1037. package/lib/resources/reserved_stocks.cjs +11 -10
  1038. package/lib/resources/reserved_stocks.d.cts +3 -3
  1039. package/lib/resources/reserved_stocks.d.ts +2 -2
  1040. package/lib/resources/reserved_stocks.js +10 -9
  1041. package/lib/resources/resource_errors.cjs +11 -10
  1042. package/lib/resources/resource_errors.d.cts +3 -3
  1043. package/lib/resources/resource_errors.d.ts +2 -2
  1044. package/lib/resources/resource_errors.js +10 -9
  1045. package/lib/resources/return_line_items.cjs +11 -10
  1046. package/lib/resources/return_line_items.d.cts +3 -3
  1047. package/lib/resources/return_line_items.d.ts +2 -2
  1048. package/lib/resources/return_line_items.js +10 -9
  1049. package/lib/resources/returns.cjs +11 -10
  1050. package/lib/resources/returns.d.cts +3 -3
  1051. package/lib/resources/returns.d.ts +2 -2
  1052. package/lib/resources/returns.js +10 -9
  1053. package/lib/resources/satispay_gateways.cjs +11 -10
  1054. package/lib/resources/satispay_gateways.d.cts +3 -3
  1055. package/lib/resources/satispay_gateways.d.ts +2 -2
  1056. package/lib/resources/satispay_gateways.js +10 -9
  1057. package/lib/resources/satispay_payments.cjs +11 -10
  1058. package/lib/resources/satispay_payments.d.cts +3 -3
  1059. package/lib/resources/satispay_payments.d.ts +2 -2
  1060. package/lib/resources/satispay_payments.js +10 -9
  1061. package/lib/resources/shipment_line_items.cjs +21 -0
  1062. package/lib/resources/shipment_line_items.cjs.map +1 -0
  1063. package/lib/resources/shipment_line_items.d.cts +7 -0
  1064. package/lib/resources/shipment_line_items.d.ts +4 -0
  1065. package/lib/resources/shipment_line_items.js +13 -0
  1066. package/lib/resources/shipment_line_items.js.map +1 -0
  1067. package/lib/resources/shipments.cjs +11 -10
  1068. package/lib/resources/shipments.d.cts +3 -3
  1069. package/lib/resources/shipments.d.ts +2 -2
  1070. package/lib/resources/shipments.js +10 -9
  1071. package/lib/resources/shipping_categories.cjs +11 -10
  1072. package/lib/resources/shipping_categories.d.cts +3 -3
  1073. package/lib/resources/shipping_categories.d.ts +2 -2
  1074. package/lib/resources/shipping_categories.js +10 -9
  1075. package/lib/resources/shipping_method_tiers.cjs +11 -10
  1076. package/lib/resources/shipping_method_tiers.d.cts +3 -3
  1077. package/lib/resources/shipping_method_tiers.d.ts +2 -2
  1078. package/lib/resources/shipping_method_tiers.js +10 -9
  1079. package/lib/resources/shipping_methods.cjs +11 -10
  1080. package/lib/resources/shipping_methods.d.cts +3 -3
  1081. package/lib/resources/shipping_methods.d.ts +2 -2
  1082. package/lib/resources/shipping_methods.js +10 -9
  1083. package/lib/resources/shipping_weight_tiers.cjs +11 -10
  1084. package/lib/resources/shipping_weight_tiers.d.cts +3 -3
  1085. package/lib/resources/shipping_weight_tiers.d.ts +2 -2
  1086. package/lib/resources/shipping_weight_tiers.js +10 -9
  1087. package/lib/resources/shipping_zones.cjs +11 -10
  1088. package/lib/resources/shipping_zones.d.cts +3 -3
  1089. package/lib/resources/shipping_zones.d.ts +2 -2
  1090. package/lib/resources/shipping_zones.js +10 -9
  1091. package/lib/resources/sku_list_items.cjs +11 -10
  1092. package/lib/resources/sku_list_items.d.cts +3 -3
  1093. package/lib/resources/sku_list_items.d.ts +2 -2
  1094. package/lib/resources/sku_list_items.js +10 -9
  1095. package/lib/resources/sku_list_promotion_rules.cjs +11 -10
  1096. package/lib/resources/sku_list_promotion_rules.d.cts +3 -3
  1097. package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
  1098. package/lib/resources/sku_list_promotion_rules.js +10 -9
  1099. package/lib/resources/sku_lists.cjs +11 -10
  1100. package/lib/resources/sku_lists.d.cts +3 -3
  1101. package/lib/resources/sku_lists.d.ts +2 -2
  1102. package/lib/resources/sku_lists.js +10 -9
  1103. package/lib/resources/sku_options.cjs +11 -10
  1104. package/lib/resources/sku_options.d.cts +3 -3
  1105. package/lib/resources/sku_options.d.ts +2 -2
  1106. package/lib/resources/sku_options.js +10 -9
  1107. package/lib/resources/skus.cjs +11 -10
  1108. package/lib/resources/skus.d.cts +3 -3
  1109. package/lib/resources/skus.d.ts +2 -2
  1110. package/lib/resources/skus.js +10 -9
  1111. package/lib/resources/stock_items.cjs +11 -10
  1112. package/lib/resources/stock_items.d.cts +3 -3
  1113. package/lib/resources/stock_items.d.ts +2 -2
  1114. package/lib/resources/stock_items.js +10 -9
  1115. package/lib/resources/stock_line_items.cjs +11 -10
  1116. package/lib/resources/stock_line_items.d.cts +3 -3
  1117. package/lib/resources/stock_line_items.d.ts +2 -2
  1118. package/lib/resources/stock_line_items.js +10 -9
  1119. package/lib/resources/stock_locations.cjs +11 -10
  1120. package/lib/resources/stock_locations.d.cts +3 -3
  1121. package/lib/resources/stock_locations.d.ts +2 -2
  1122. package/lib/resources/stock_locations.js +10 -9
  1123. package/lib/resources/stock_reservations.cjs +11 -10
  1124. package/lib/resources/stock_reservations.d.cts +3 -3
  1125. package/lib/resources/stock_reservations.d.ts +2 -2
  1126. package/lib/resources/stock_reservations.js +10 -9
  1127. package/lib/resources/stock_transfers.cjs +11 -10
  1128. package/lib/resources/stock_transfers.d.cts +3 -3
  1129. package/lib/resources/stock_transfers.d.ts +2 -2
  1130. package/lib/resources/stock_transfers.js +10 -9
  1131. package/lib/resources/stores.cjs +11 -10
  1132. package/lib/resources/stores.d.cts +3 -3
  1133. package/lib/resources/stores.d.ts +2 -2
  1134. package/lib/resources/stores.js +10 -9
  1135. package/lib/resources/stripe_gateways.cjs +11 -10
  1136. package/lib/resources/stripe_gateways.d.cts +3 -3
  1137. package/lib/resources/stripe_gateways.d.ts +2 -2
  1138. package/lib/resources/stripe_gateways.js +10 -9
  1139. package/lib/resources/stripe_payments.cjs +11 -10
  1140. package/lib/resources/stripe_payments.d.cts +3 -3
  1141. package/lib/resources/stripe_payments.d.ts +2 -2
  1142. package/lib/resources/stripe_payments.js +10 -9
  1143. package/lib/resources/stripe_tax_accounts.cjs +11 -10
  1144. package/lib/resources/stripe_tax_accounts.d.cts +3 -3
  1145. package/lib/resources/stripe_tax_accounts.d.ts +2 -2
  1146. package/lib/resources/stripe_tax_accounts.js +10 -9
  1147. package/lib/resources/subscription_models.cjs +11 -10
  1148. package/lib/resources/subscription_models.d.cts +3 -3
  1149. package/lib/resources/subscription_models.d.ts +2 -2
  1150. package/lib/resources/subscription_models.js +10 -9
  1151. package/lib/resources/tags.cjs +11 -10
  1152. package/lib/resources/tags.d.cts +3 -3
  1153. package/lib/resources/tags.d.ts +2 -2
  1154. package/lib/resources/tags.js +10 -9
  1155. package/lib/resources/talon_one_accounts.cjs +11 -10
  1156. package/lib/resources/talon_one_accounts.d.cts +3 -3
  1157. package/lib/resources/talon_one_accounts.d.ts +2 -2
  1158. package/lib/resources/talon_one_accounts.js +10 -9
  1159. package/lib/resources/tax_calculators.cjs +11 -10
  1160. package/lib/resources/tax_calculators.d.cts +3 -3
  1161. package/lib/resources/tax_calculators.d.ts +2 -2
  1162. package/lib/resources/tax_calculators.js +10 -9
  1163. package/lib/resources/tax_categories.cjs +11 -10
  1164. package/lib/resources/tax_categories.d.cts +3 -3
  1165. package/lib/resources/tax_categories.d.ts +2 -2
  1166. package/lib/resources/tax_categories.js +10 -9
  1167. package/lib/resources/tax_rules.cjs +11 -10
  1168. package/lib/resources/tax_rules.d.cts +3 -3
  1169. package/lib/resources/tax_rules.d.ts +2 -2
  1170. package/lib/resources/tax_rules.js +10 -9
  1171. package/lib/resources/taxjar_accounts.cjs +11 -10
  1172. package/lib/resources/taxjar_accounts.d.cts +3 -3
  1173. package/lib/resources/taxjar_accounts.d.ts +2 -2
  1174. package/lib/resources/taxjar_accounts.js +10 -9
  1175. package/lib/resources/transactions.cjs +11 -10
  1176. package/lib/resources/transactions.d.cts +3 -3
  1177. package/lib/resources/transactions.d.ts +2 -2
  1178. package/lib/resources/transactions.js +10 -9
  1179. package/lib/resources/vertex_accounts.cjs +11 -10
  1180. package/lib/resources/vertex_accounts.d.cts +3 -3
  1181. package/lib/resources/vertex_accounts.d.ts +2 -2
  1182. package/lib/resources/vertex_accounts.js +10 -9
  1183. package/lib/resources/voids.cjs +11 -10
  1184. package/lib/resources/voids.d.cts +3 -3
  1185. package/lib/resources/voids.d.ts +2 -2
  1186. package/lib/resources/voids.js +10 -9
  1187. package/lib/resources/webhooks.cjs +11 -10
  1188. package/lib/resources/webhooks.d.cts +3 -3
  1189. package/lib/resources/webhooks.d.ts +2 -2
  1190. package/lib/resources/webhooks.js +10 -9
  1191. package/lib/resources/wire_transfers.cjs +11 -10
  1192. package/lib/resources/wire_transfers.d.cts +3 -3
  1193. package/lib/resources/wire_transfers.d.ts +2 -2
  1194. package/lib/resources/wire_transfers.js +10 -9
  1195. package/lib/single-client.cjs +708 -0
  1196. package/lib/single-client.cjs.map +1 -0
  1197. package/lib/single-client.d.cts +11 -0
  1198. package/lib/single-client.d.ts +8 -0
  1199. package/lib/single-client.js +149 -0
  1200. package/lib/single-client.js.map +1 -0
  1201. package/lib/static.cjs +12 -11
  1202. package/lib/static.d.cts +2 -2
  1203. package/lib/static.d.ts +2 -2
  1204. package/lib/static.js +11 -10
  1205. package/lib/util.cjs +5 -5
  1206. package/lib/util.js +1 -1
  1207. package/lib/version.cjs +17 -0
  1208. package/lib/version.cjs.map +1 -0
  1209. package/lib/version.d.cts +4 -0
  1210. package/lib/version.d.ts +4 -0
  1211. package/lib/version.js +4 -0
  1212. package/lib/version.js.map +1 -0
  1213. package/package.json +27 -17
  1214. package/lib/api--5wB5Y2R.d.ts +0 -18326
  1215. package/lib/api-D_vKsy0h.d.cts +0 -18326
  1216. package/lib/chunk-22RVT2J2.js +0 -20
  1217. package/lib/chunk-22RVT2J2.js.map +0 -1
  1218. package/lib/chunk-24HV4EKV.js +0 -45
  1219. package/lib/chunk-24HV4EKV.js.map +0 -1
  1220. package/lib/chunk-2BYCZUKD.cjs +0 -47
  1221. package/lib/chunk-2BYCZUKD.cjs.map +0 -1
  1222. package/lib/chunk-2C5TBSGQ.cjs +0 -56
  1223. package/lib/chunk-2C5TBSGQ.cjs.map +0 -1
  1224. package/lib/chunk-2D7XHAVQ.js +0 -59
  1225. package/lib/chunk-2D7XHAVQ.js.map +0 -1
  1226. package/lib/chunk-2LDIS6UA.js +0 -53
  1227. package/lib/chunk-2LDIS6UA.js.map +0 -1
  1228. package/lib/chunk-2MSLSBHY.js +0 -57
  1229. package/lib/chunk-2MSLSBHY.js.map +0 -1
  1230. package/lib/chunk-2O5WYDVL.js +0 -37
  1231. package/lib/chunk-2O5WYDVL.js.map +0 -1
  1232. package/lib/chunk-2WHGIJGU.js +0 -54
  1233. package/lib/chunk-2WHGIJGU.js.map +0 -1
  1234. package/lib/chunk-35ININM5.js +0 -54
  1235. package/lib/chunk-35ININM5.js.map +0 -1
  1236. package/lib/chunk-376W3RHK.js +0 -27
  1237. package/lib/chunk-376W3RHK.js.map +0 -1
  1238. package/lib/chunk-3DEA3IGY.cjs +0 -47
  1239. package/lib/chunk-3DEA3IGY.cjs.map +0 -1
  1240. package/lib/chunk-3EX76AZW.js +0 -3
  1241. package/lib/chunk-3EX76AZW.js.map +0 -1
  1242. package/lib/chunk-3GOADUES.cjs +0 -63
  1243. package/lib/chunk-3GOADUES.cjs.map +0 -1
  1244. package/lib/chunk-3MGWBMJ2.cjs +0 -68
  1245. package/lib/chunk-3MGWBMJ2.cjs.map +0 -1
  1246. package/lib/chunk-3P4FFWTQ.cjs +0 -56
  1247. package/lib/chunk-3P4FFWTQ.cjs.map +0 -1
  1248. package/lib/chunk-3U7MK4SX.js +0 -68
  1249. package/lib/chunk-3U7MK4SX.js.map +0 -1
  1250. package/lib/chunk-3VI355UT.cjs +0 -62
  1251. package/lib/chunk-3VI355UT.cjs.map +0 -1
  1252. package/lib/chunk-3VVT6CKA.cjs +0 -70
  1253. package/lib/chunk-3VVT6CKA.cjs.map +0 -1
  1254. package/lib/chunk-3XGAVG4L.cjs +0 -34
  1255. package/lib/chunk-3XGAVG4L.cjs.map +0 -1
  1256. package/lib/chunk-3XSYH6SE.cjs +0 -38
  1257. package/lib/chunk-3XSYH6SE.cjs.map +0 -1
  1258. package/lib/chunk-3YIYVGMM.cjs +0 -42
  1259. package/lib/chunk-3YIYVGMM.cjs.map +0 -1
  1260. package/lib/chunk-4474ZEVS.js +0 -124
  1261. package/lib/chunk-4474ZEVS.js.map +0 -1
  1262. package/lib/chunk-4BE3G6GK.js +0 -51
  1263. package/lib/chunk-4BE3G6GK.js.map +0 -1
  1264. package/lib/chunk-4CLAI7ZC.cjs +0 -47
  1265. package/lib/chunk-4CLAI7ZC.cjs.map +0 -1
  1266. package/lib/chunk-4FW3MLHR.js +0 -53
  1267. package/lib/chunk-4FW3MLHR.js.map +0 -1
  1268. package/lib/chunk-4LAL3DCH.cjs +0 -55
  1269. package/lib/chunk-4LAL3DCH.cjs.map +0 -1
  1270. package/lib/chunk-4MV6VICV.js +0 -35
  1271. package/lib/chunk-4MV6VICV.js.map +0 -1
  1272. package/lib/chunk-53GWR3UF.js +0 -99
  1273. package/lib/chunk-53GWR3UF.js.map +0 -1
  1274. package/lib/chunk-5JDGRW3K.cjs +0 -47
  1275. package/lib/chunk-5JDGRW3K.cjs.map +0 -1
  1276. package/lib/chunk-5QFBTA7C.cjs +0 -61
  1277. package/lib/chunk-5QFBTA7C.cjs.map +0 -1
  1278. package/lib/chunk-5UISCFSR.cjs +0 -50
  1279. package/lib/chunk-5UISCFSR.cjs.map +0 -1
  1280. package/lib/chunk-5YMHXTJG.cjs +0 -4
  1281. package/lib/chunk-5YMHXTJG.cjs.map +0 -1
  1282. package/lib/chunk-62GRSGIA.js +0 -45
  1283. package/lib/chunk-62GRSGIA.js.map +0 -1
  1284. package/lib/chunk-64ENQFIL.cjs +0 -63
  1285. package/lib/chunk-64ENQFIL.cjs.map +0 -1
  1286. package/lib/chunk-6CE3DQTO.js +0 -53
  1287. package/lib/chunk-6CE3DQTO.js.map +0 -1
  1288. package/lib/chunk-6KXZ76ZM.js +0 -49
  1289. package/lib/chunk-6KXZ76ZM.js.map +0 -1
  1290. package/lib/chunk-6OF4JUHR.js +0 -45
  1291. package/lib/chunk-6OF4JUHR.js.map +0 -1
  1292. package/lib/chunk-6P72FNDJ.js +0 -53
  1293. package/lib/chunk-6P72FNDJ.js.map +0 -1
  1294. package/lib/chunk-73YM5XTA.cjs +0 -38
  1295. package/lib/chunk-73YM5XTA.cjs.map +0 -1
  1296. package/lib/chunk-74WLCRAL.cjs +0 -34
  1297. package/lib/chunk-74WLCRAL.cjs.map +0 -1
  1298. package/lib/chunk-7E73FXEL.cjs +0 -53
  1299. package/lib/chunk-7E73FXEL.cjs.map +0 -1
  1300. package/lib/chunk-7GSZFUJV.cjs +0 -59
  1301. package/lib/chunk-7GSZFUJV.cjs.map +0 -1
  1302. package/lib/chunk-7OUZNR45.js +0 -54
  1303. package/lib/chunk-7OUZNR45.js.map +0 -1
  1304. package/lib/chunk-7RZTCBDR.cjs +0 -22
  1305. package/lib/chunk-7RZTCBDR.cjs.map +0 -1
  1306. package/lib/chunk-7TGNLLZ4.js +0 -105
  1307. package/lib/chunk-7TGNLLZ4.js.map +0 -1
  1308. package/lib/chunk-7TM7YEPY.js +0 -89
  1309. package/lib/chunk-7TM7YEPY.js.map +0 -1
  1310. package/lib/chunk-A2CJAI7L.js +0 -24
  1311. package/lib/chunk-A2CJAI7L.js.map +0 -1
  1312. package/lib/chunk-A6DVFU4I.cjs +0 -46
  1313. package/lib/chunk-A6DVFU4I.cjs.map +0 -1
  1314. package/lib/chunk-A7NVPT5R.cjs +0 -55
  1315. package/lib/chunk-A7NVPT5R.cjs.map +0 -1
  1316. package/lib/chunk-A7ZFL7GH.js +0 -54
  1317. package/lib/chunk-A7ZFL7GH.js.map +0 -1
  1318. package/lib/chunk-AINFK7XE.js +0 -50
  1319. package/lib/chunk-AINFK7XE.js.map +0 -1
  1320. package/lib/chunk-AORS3S6A.js +0 -99
  1321. package/lib/chunk-AORS3S6A.js.map +0 -1
  1322. package/lib/chunk-APVQZ7L7.js +0 -48
  1323. package/lib/chunk-APVQZ7L7.js.map +0 -1
  1324. package/lib/chunk-ATT2PKKW.cjs +0 -95
  1325. package/lib/chunk-ATT2PKKW.cjs.map +0 -1
  1326. package/lib/chunk-AW6TSK6S.cjs +0 -42
  1327. package/lib/chunk-AW6TSK6S.cjs.map +0 -1
  1328. package/lib/chunk-AYKGUDP3.cjs +0 -285
  1329. package/lib/chunk-AYKGUDP3.cjs.map +0 -1
  1330. package/lib/chunk-AYPMKIN6.js +0 -51
  1331. package/lib/chunk-AYPMKIN6.js.map +0 -1
  1332. package/lib/chunk-B2MBAQSE.js +0 -41
  1333. package/lib/chunk-B2MBAQSE.js.map +0 -1
  1334. package/lib/chunk-BB3CT6HZ.js +0 -45
  1335. package/lib/chunk-BB3CT6HZ.js.map +0 -1
  1336. package/lib/chunk-BHLODYAT.js +0 -28
  1337. package/lib/chunk-BHLODYAT.js.map +0 -1
  1338. package/lib/chunk-BLI75VEN.cjs +0 -51
  1339. package/lib/chunk-BLI75VEN.cjs.map +0 -1
  1340. package/lib/chunk-BMO7YKG5.js +0 -60
  1341. package/lib/chunk-BMO7YKG5.js.map +0 -1
  1342. package/lib/chunk-BMOWFIX5.js +0 -45
  1343. package/lib/chunk-BMOWFIX5.js.map +0 -1
  1344. package/lib/chunk-BNCF46ZI.js +0 -61
  1345. package/lib/chunk-BNCF46ZI.js.map +0 -1
  1346. package/lib/chunk-BSXJPL6J.cjs +0 -55
  1347. package/lib/chunk-BSXJPL6J.cjs.map +0 -1
  1348. package/lib/chunk-BVQ2UTRP.cjs +0 -39
  1349. package/lib/chunk-BVQ2UTRP.cjs.map +0 -1
  1350. package/lib/chunk-BYDZPVOJ.js +0 -75
  1351. package/lib/chunk-BYDZPVOJ.js.map +0 -1
  1352. package/lib/chunk-C3I7H3HE.js +0 -49
  1353. package/lib/chunk-C3I7H3HE.js.map +0 -1
  1354. package/lib/chunk-C3UX7IBG.cjs +0 -59
  1355. package/lib/chunk-C3UX7IBG.cjs.map +0 -1
  1356. package/lib/chunk-C7OXTOX3.js +0 -36
  1357. package/lib/chunk-C7OXTOX3.js.map +0 -1
  1358. package/lib/chunk-CB5HXUPC.js +0 -31
  1359. package/lib/chunk-CB5HXUPC.js.map +0 -1
  1360. package/lib/chunk-CBFT5GYL.js +0 -103
  1361. package/lib/chunk-CBFT5GYL.js.map +0 -1
  1362. package/lib/chunk-D3LM2KQW.cjs +0 -47
  1363. package/lib/chunk-D3LM2KQW.cjs.map +0 -1
  1364. package/lib/chunk-D3ZUNI32.js +0 -67
  1365. package/lib/chunk-D3ZUNI32.js.map +0 -1
  1366. package/lib/chunk-D6CUKQZS.cjs +0 -55
  1367. package/lib/chunk-D6CUKQZS.cjs.map +0 -1
  1368. package/lib/chunk-DCEUM6EI.cjs +0 -30
  1369. package/lib/chunk-DCEUM6EI.cjs.map +0 -1
  1370. package/lib/chunk-DDV3U4FY.js +0 -48
  1371. package/lib/chunk-DDV3U4FY.js.map +0 -1
  1372. package/lib/chunk-DEQMKHOP.js +0 -40
  1373. package/lib/chunk-DEQMKHOP.js.map +0 -1
  1374. package/lib/chunk-DVDWNVCT.cjs +0 -49
  1375. package/lib/chunk-DVDWNVCT.cjs.map +0 -1
  1376. package/lib/chunk-DZP3JVEB.js +0 -45
  1377. package/lib/chunk-DZP3JVEB.js.map +0 -1
  1378. package/lib/chunk-E6MUVI6C.cjs +0 -51
  1379. package/lib/chunk-E6MUVI6C.cjs.map +0 -1
  1380. package/lib/chunk-E7GTEUA7.js +0 -49
  1381. package/lib/chunk-E7GTEUA7.js.map +0 -1
  1382. package/lib/chunk-EHEMWPTO.js +0 -102
  1383. package/lib/chunk-EHEMWPTO.js.map +0 -1
  1384. package/lib/chunk-EINVA4BK.cjs +0 -61
  1385. package/lib/chunk-EINVA4BK.cjs.map +0 -1
  1386. package/lib/chunk-EK7QE2CA.cjs +0 -47
  1387. package/lib/chunk-EK7QE2CA.cjs.map +0 -1
  1388. package/lib/chunk-EMD66UZY.cjs +0 -156
  1389. package/lib/chunk-EMD66UZY.cjs.map +0 -1
  1390. package/lib/chunk-ESJGAJ3L.js +0 -48
  1391. package/lib/chunk-ESJGAJ3L.js.map +0 -1
  1392. package/lib/chunk-EVFHODWY.js +0 -45
  1393. package/lib/chunk-EVFHODWY.js.map +0 -1
  1394. package/lib/chunk-F5GFKBDK.cjs +0 -95
  1395. package/lib/chunk-F5GFKBDK.cjs.map +0 -1
  1396. package/lib/chunk-F6REPWKJ.cjs +0 -77
  1397. package/lib/chunk-F6REPWKJ.cjs.map +0 -1
  1398. package/lib/chunk-F7F4VRB2.js +0 -45
  1399. package/lib/chunk-F7F4VRB2.js.map +0 -1
  1400. package/lib/chunk-FDLALORX.cjs +0 -47
  1401. package/lib/chunk-FDLALORX.cjs.map +0 -1
  1402. package/lib/chunk-FDTEUCMP.cjs +0 -26
  1403. package/lib/chunk-FDTEUCMP.cjs.map +0 -1
  1404. package/lib/chunk-FIRCMJCB.js +0 -93
  1405. package/lib/chunk-FIRCMJCB.js.map +0 -1
  1406. package/lib/chunk-FK3XYZ3Q.js +0 -45
  1407. package/lib/chunk-FK3XYZ3Q.js.map +0 -1
  1408. package/lib/chunk-FLOVFVKA.cjs +0 -51
  1409. package/lib/chunk-FLOVFVKA.cjs.map +0 -1
  1410. package/lib/chunk-FMQ5JHN6.cjs +0 -51
  1411. package/lib/chunk-FMQ5JHN6.cjs.map +0 -1
  1412. package/lib/chunk-FNIFFIDD.cjs +0 -39
  1413. package/lib/chunk-FNIFFIDD.cjs.map +0 -1
  1414. package/lib/chunk-FON2463F.js +0 -99
  1415. package/lib/chunk-FON2463F.js.map +0 -1
  1416. package/lib/chunk-G4GV5S6R.js +0 -283
  1417. package/lib/chunk-G4GV5S6R.js.map +0 -1
  1418. package/lib/chunk-G6BY3EA3.cjs +0 -51
  1419. package/lib/chunk-G6BY3EA3.cjs.map +0 -1
  1420. package/lib/chunk-GB23LWF6.js +0 -36
  1421. package/lib/chunk-GB23LWF6.js.map +0 -1
  1422. package/lib/chunk-GBM34MD2.cjs +0 -107
  1423. package/lib/chunk-GBM34MD2.cjs.map +0 -1
  1424. package/lib/chunk-GDD5SAYK.js +0 -36
  1425. package/lib/chunk-GDD5SAYK.js.map +0 -1
  1426. package/lib/chunk-GDPBS2DA.js +0 -154
  1427. package/lib/chunk-GDPBS2DA.js.map +0 -1
  1428. package/lib/chunk-GHJDV7RE.js +0 -59
  1429. package/lib/chunk-GHJDV7RE.js.map +0 -1
  1430. package/lib/chunk-GVVAHJ7J.cjs +0 -55
  1431. package/lib/chunk-GVVAHJ7J.cjs.map +0 -1
  1432. package/lib/chunk-GYCMQIMO.cjs +0 -550
  1433. package/lib/chunk-GYCMQIMO.cjs.map +0 -1
  1434. package/lib/chunk-H35WD77K.js +0 -49
  1435. package/lib/chunk-H35WD77K.js.map +0 -1
  1436. package/lib/chunk-H4OZFLUI.js +0 -37
  1437. package/lib/chunk-H4OZFLUI.js.map +0 -1
  1438. package/lib/chunk-HAF3NSFM.js +0 -93
  1439. package/lib/chunk-HAF3NSFM.js.map +0 -1
  1440. package/lib/chunk-HBEFGWUI.cjs +0 -49
  1441. package/lib/chunk-HBEFGWUI.cjs.map +0 -1
  1442. package/lib/chunk-HCK6NM5P.cjs +0 -47
  1443. package/lib/chunk-HCK6NM5P.cjs.map +0 -1
  1444. package/lib/chunk-HE4KWG6X.js +0 -55
  1445. package/lib/chunk-HE4KWG6X.js.map +0 -1
  1446. package/lib/chunk-HG36VCO5.js +0 -28
  1447. package/lib/chunk-HG36VCO5.js.map +0 -1
  1448. package/lib/chunk-HHOMPSSL.js +0 -91
  1449. package/lib/chunk-HHOMPSSL.js.map +0 -1
  1450. package/lib/chunk-HK6PGHU6.js +0 -57
  1451. package/lib/chunk-HK6PGHU6.js.map +0 -1
  1452. package/lib/chunk-HLI7KDN3.js +0 -45
  1453. package/lib/chunk-HLI7KDN3.js.map +0 -1
  1454. package/lib/chunk-HOQPWW7K.js +0 -40
  1455. package/lib/chunk-HOQPWW7K.js.map +0 -1
  1456. package/lib/chunk-HP6ZFYAJ.js +0 -37
  1457. package/lib/chunk-HP6ZFYAJ.js.map +0 -1
  1458. package/lib/chunk-HQZKODMU.js +0 -57
  1459. package/lib/chunk-HQZKODMU.js.map +0 -1
  1460. package/lib/chunk-HYO7YG3G.js +0 -45
  1461. package/lib/chunk-HYO7YG3G.js.map +0 -1
  1462. package/lib/chunk-HZ555CAY.js +0 -48
  1463. package/lib/chunk-HZ555CAY.js.map +0 -1
  1464. package/lib/chunk-IANMFIQD.js +0 -45
  1465. package/lib/chunk-IANMFIQD.js.map +0 -1
  1466. package/lib/chunk-IBXRFMT6.js +0 -69
  1467. package/lib/chunk-IBXRFMT6.js.map +0 -1
  1468. package/lib/chunk-IIWTNBRQ.cjs +0 -50
  1469. package/lib/chunk-IIWTNBRQ.cjs.map +0 -1
  1470. package/lib/chunk-IKCYKGYL.js +0 -151
  1471. package/lib/chunk-IKCYKGYL.js.map +0 -1
  1472. package/lib/chunk-IWC4U5GF.js +0 -49
  1473. package/lib/chunk-IWC4U5GF.js.map +0 -1
  1474. package/lib/chunk-IXLAN7TH.cjs +0 -61
  1475. package/lib/chunk-IXLAN7TH.cjs.map +0 -1
  1476. package/lib/chunk-JDAGKW5W.js +0 -44
  1477. package/lib/chunk-JDAGKW5W.js.map +0 -1
  1478. package/lib/chunk-JEWF32HM.js +0 -41
  1479. package/lib/chunk-JEWF32HM.js.map +0 -1
  1480. package/lib/chunk-JKO7QP65.cjs +0 -93
  1481. package/lib/chunk-JKO7QP65.cjs.map +0 -1
  1482. package/lib/chunk-JLC6MA4J.js +0 -65
  1483. package/lib/chunk-JLC6MA4J.js.map +0 -1
  1484. package/lib/chunk-JNXHE7P7.cjs +0 -42
  1485. package/lib/chunk-JNXHE7P7.cjs.map +0 -1
  1486. package/lib/chunk-JRMNMJVD.js +0 -61
  1487. package/lib/chunk-JRMNMJVD.js.map +0 -1
  1488. package/lib/chunk-JRUC5BXS.cjs +0 -42
  1489. package/lib/chunk-JRUC5BXS.cjs.map +0 -1
  1490. package/lib/chunk-JWPPED4R.js +0 -47
  1491. package/lib/chunk-JWPPED4R.js.map +0 -1
  1492. package/lib/chunk-K277GYCD.cjs +0 -40
  1493. package/lib/chunk-K277GYCD.cjs.map +0 -1
  1494. package/lib/chunk-K577VLOE.js +0 -45
  1495. package/lib/chunk-K577VLOE.js.map +0 -1
  1496. package/lib/chunk-K5YQI6TW.cjs +0 -47
  1497. package/lib/chunk-K5YQI6TW.cjs.map +0 -1
  1498. package/lib/chunk-KAMFWXPM.cjs +0 -51
  1499. package/lib/chunk-KAMFWXPM.cjs.map +0 -1
  1500. package/lib/chunk-KKB2YNT3.cjs +0 -100
  1501. package/lib/chunk-KKB2YNT3.cjs.map +0 -1
  1502. package/lib/chunk-KLPFAEV7.js +0 -55
  1503. package/lib/chunk-KLPFAEV7.js.map +0 -1
  1504. package/lib/chunk-KR3CTO6J.js +0 -53
  1505. package/lib/chunk-KR3CTO6J.js.map +0 -1
  1506. package/lib/chunk-KU43R6UR.js +0 -49
  1507. package/lib/chunk-KU43R6UR.js.map +0 -1
  1508. package/lib/chunk-L25AS3VU.cjs +0 -61
  1509. package/lib/chunk-L25AS3VU.cjs.map +0 -1
  1510. package/lib/chunk-L3ZQAILV.js +0 -45
  1511. package/lib/chunk-L3ZQAILV.js.map +0 -1
  1512. package/lib/chunk-LFPSATJW.js +0 -40
  1513. package/lib/chunk-LFPSATJW.js.map +0 -1
  1514. package/lib/chunk-LGYQGCME.cjs +0 -61
  1515. package/lib/chunk-LGYQGCME.cjs.map +0 -1
  1516. package/lib/chunk-LIWSHAZ4.cjs +0 -43
  1517. package/lib/chunk-LIWSHAZ4.cjs.map +0 -1
  1518. package/lib/chunk-LPHKPEHK.cjs +0 -69
  1519. package/lib/chunk-LPHKPEHK.cjs.map +0 -1
  1520. package/lib/chunk-LQ5GKVLT.cjs +0 -163
  1521. package/lib/chunk-LQ5GKVLT.cjs.map +0 -1
  1522. package/lib/chunk-LSWGTCTI.js +0 -59
  1523. package/lib/chunk-LSWGTCTI.js.map +0 -1
  1524. package/lib/chunk-LXVXNCLG.cjs +0 -71
  1525. package/lib/chunk-LXVXNCLG.cjs.map +0 -1
  1526. package/lib/chunk-M377L2KC.cjs +0 -59
  1527. package/lib/chunk-M377L2KC.cjs.map +0 -1
  1528. package/lib/chunk-MEN4RRXP.js +0 -41
  1529. package/lib/chunk-MEN4RRXP.js.map +0 -1
  1530. package/lib/chunk-MEZO63WH.js +0 -49
  1531. package/lib/chunk-MEZO63WH.js.map +0 -1
  1532. package/lib/chunk-ML4B3K2M.cjs +0 -126
  1533. package/lib/chunk-ML4B3K2M.cjs.map +0 -1
  1534. package/lib/chunk-NFJG6NQJ.cjs +0 -57
  1535. package/lib/chunk-NFJG6NQJ.cjs.map +0 -1
  1536. package/lib/chunk-NKXOTCMF.js +0 -42
  1537. package/lib/chunk-NKXOTCMF.js.map +0 -1
  1538. package/lib/chunk-NQW3T4PY.js +0 -40
  1539. package/lib/chunk-NQW3T4PY.js.map +0 -1
  1540. package/lib/chunk-NSLBPISG.cjs +0 -51
  1541. package/lib/chunk-NSLBPISG.cjs.map +0 -1
  1542. package/lib/chunk-NTPA4Q5S.js +0 -40
  1543. package/lib/chunk-NTPA4Q5S.js.map +0 -1
  1544. package/lib/chunk-NW4PT4NA.cjs +0 -75
  1545. package/lib/chunk-NW4PT4NA.cjs.map +0 -1
  1546. package/lib/chunk-NWDZHCQQ.cjs +0 -50
  1547. package/lib/chunk-NWDZHCQQ.cjs.map +0 -1
  1548. package/lib/chunk-O3GDTCML.cjs +0 -101
  1549. package/lib/chunk-O3GDTCML.cjs.map +0 -1
  1550. package/lib/chunk-O5452XSG.js +0 -41
  1551. package/lib/chunk-O5452XSG.js.map +0 -1
  1552. package/lib/chunk-OE4JCN6L.cjs +0 -47
  1553. package/lib/chunk-OE4JCN6L.cjs.map +0 -1
  1554. package/lib/chunk-OESVAYOY.cjs +0 -44
  1555. package/lib/chunk-OESVAYOY.cjs.map +0 -1
  1556. package/lib/chunk-OFXYCDYF.js +0 -44
  1557. package/lib/chunk-OFXYCDYF.js.map +0 -1
  1558. package/lib/chunk-ONK4A4VG.js +0 -49
  1559. package/lib/chunk-ONK4A4VG.js.map +0 -1
  1560. package/lib/chunk-OOJKRV4I.js +0 -93
  1561. package/lib/chunk-OOJKRV4I.js.map +0 -1
  1562. package/lib/chunk-OXGE4UIS.cjs +0 -51
  1563. package/lib/chunk-OXGE4UIS.cjs.map +0 -1
  1564. package/lib/chunk-P2SHNYXZ.cjs +0 -47
  1565. package/lib/chunk-P2SHNYXZ.cjs.map +0 -1
  1566. package/lib/chunk-P3SFKEXE.js +0 -37
  1567. package/lib/chunk-P3SFKEXE.js.map +0 -1
  1568. package/lib/chunk-P7TCVHNF.cjs +0 -56
  1569. package/lib/chunk-P7TCVHNF.cjs.map +0 -1
  1570. package/lib/chunk-PE4GN5GN.cjs +0 -39
  1571. package/lib/chunk-PE4GN5GN.cjs.map +0 -1
  1572. package/lib/chunk-PEC5CKS7.cjs +0 -22
  1573. package/lib/chunk-PEC5CKS7.cjs.map +0 -1
  1574. package/lib/chunk-PERRXGB6.js +0 -52
  1575. package/lib/chunk-PERRXGB6.js.map +0 -1
  1576. package/lib/chunk-PHTOGAMR.js +0 -93
  1577. package/lib/chunk-PHTOGAMR.js.map +0 -1
  1578. package/lib/chunk-PIHQS6OG.js +0 -153
  1579. package/lib/chunk-PIHQS6OG.js.map +0 -1
  1580. package/lib/chunk-PKRD2QKS.js +0 -51
  1581. package/lib/chunk-PKRD2QKS.js.map +0 -1
  1582. package/lib/chunk-PLWDHUYW.cjs +0 -95
  1583. package/lib/chunk-PLWDHUYW.cjs.map +0 -1
  1584. package/lib/chunk-PX5VMNOJ.cjs +0 -39
  1585. package/lib/chunk-PX5VMNOJ.cjs.map +0 -1
  1586. package/lib/chunk-PYJG4KKQ.js +0 -49
  1587. package/lib/chunk-PYJG4KKQ.js.map +0 -1
  1588. package/lib/chunk-Q3NXEKVS.cjs +0 -51
  1589. package/lib/chunk-Q3NXEKVS.cjs.map +0 -1
  1590. package/lib/chunk-Q3QW53MA.js +0 -53
  1591. package/lib/chunk-Q3QW53MA.js.map +0 -1
  1592. package/lib/chunk-QIL2RRUJ.cjs +0 -54
  1593. package/lib/chunk-QIL2RRUJ.cjs.map +0 -1
  1594. package/lib/chunk-QQU5KYKX.cjs +0 -33
  1595. package/lib/chunk-QQU5KYKX.cjs.map +0 -1
  1596. package/lib/chunk-QQZRPK6S.js +0 -536
  1597. package/lib/chunk-QQZRPK6S.js.map +0 -1
  1598. package/lib/chunk-QTXR3MOC.cjs +0 -51
  1599. package/lib/chunk-QTXR3MOC.cjs.map +0 -1
  1600. package/lib/chunk-QURTUQAU.cjs +0 -43
  1601. package/lib/chunk-QURTUQAU.cjs.map +0 -1
  1602. package/lib/chunk-QVFORRXP.cjs +0 -51
  1603. package/lib/chunk-QVFORRXP.cjs.map +0 -1
  1604. package/lib/chunk-QWW2P4EV.js +0 -68
  1605. package/lib/chunk-QWW2P4EV.js.map +0 -1
  1606. package/lib/chunk-R5RAVJU6.cjs +0 -53
  1607. package/lib/chunk-R5RAVJU6.cjs.map +0 -1
  1608. package/lib/chunk-R7ZZCZYK.cjs +0 -55
  1609. package/lib/chunk-R7ZZCZYK.cjs.map +0 -1
  1610. package/lib/chunk-REV57I2G.cjs +0 -56
  1611. package/lib/chunk-REV57I2G.cjs.map +0 -1
  1612. package/lib/chunk-RG2NWGVK.cjs +0 -101
  1613. package/lib/chunk-RG2NWGVK.cjs.map +0 -1
  1614. package/lib/chunk-RKP2R57M.js +0 -48
  1615. package/lib/chunk-RKP2R57M.js.map +0 -1
  1616. package/lib/chunk-RLR77QCI.cjs +0 -70
  1617. package/lib/chunk-RLR77QCI.cjs.map +0 -1
  1618. package/lib/chunk-RMNQWTPJ.cjs +0 -54
  1619. package/lib/chunk-RMNQWTPJ.cjs.map +0 -1
  1620. package/lib/chunk-ROXM5D5R.cjs +0 -50
  1621. package/lib/chunk-ROXM5D5R.cjs.map +0 -1
  1622. package/lib/chunk-RQ2EM4Q3.cjs +0 -56
  1623. package/lib/chunk-RQ2EM4Q3.cjs.map +0 -1
  1624. package/lib/chunk-RSLLFTPW.js +0 -49
  1625. package/lib/chunk-RSLLFTPW.js.map +0 -1
  1626. package/lib/chunk-S2BT3STJ.js +0 -32
  1627. package/lib/chunk-S2BT3STJ.js.map +0 -1
  1628. package/lib/chunk-S5DFPL4R.cjs +0 -91
  1629. package/lib/chunk-S5DFPL4R.cjs.map +0 -1
  1630. package/lib/chunk-S7RDGMD4.cjs +0 -55
  1631. package/lib/chunk-S7RDGMD4.cjs.map +0 -1
  1632. package/lib/chunk-SEHGRWGG.js +0 -66
  1633. package/lib/chunk-SEHGRWGG.js.map +0 -1
  1634. package/lib/chunk-SFMVCOGC.cjs +0 -47
  1635. package/lib/chunk-SFMVCOGC.cjs.map +0 -1
  1636. package/lib/chunk-SP4HOXSO.js +0 -45
  1637. package/lib/chunk-SP4HOXSO.js.map +0 -1
  1638. package/lib/chunk-TDLRTDXU.cjs +0 -89
  1639. package/lib/chunk-TDLRTDXU.cjs.map +0 -1
  1640. package/lib/chunk-TFCFXW7O.cjs +0 -101
  1641. package/lib/chunk-TFCFXW7O.cjs.map +0 -1
  1642. package/lib/chunk-TGFLFIXT.cjs +0 -47
  1643. package/lib/chunk-TGFLFIXT.cjs.map +0 -1
  1644. package/lib/chunk-TKDL7G4N.cjs +0 -53
  1645. package/lib/chunk-TKDL7G4N.cjs.map +0 -1
  1646. package/lib/chunk-TKZJTEON.cjs +0 -57
  1647. package/lib/chunk-TKZJTEON.cjs.map +0 -1
  1648. package/lib/chunk-TLYGE3RY.cjs +0 -38
  1649. package/lib/chunk-TLYGE3RY.cjs.map +0 -1
  1650. package/lib/chunk-TORNEVKC.js +0 -32
  1651. package/lib/chunk-TORNEVKC.js.map +0 -1
  1652. package/lib/chunk-TTE2YUFU.js +0 -54
  1653. package/lib/chunk-TTE2YUFU.js.map +0 -1
  1654. package/lib/chunk-TUANHZ5V.cjs +0 -56
  1655. package/lib/chunk-TUANHZ5V.cjs.map +0 -1
  1656. package/lib/chunk-TXH5CJLS.cjs +0 -49
  1657. package/lib/chunk-TXH5CJLS.cjs.map +0 -1
  1658. package/lib/chunk-TZ3RWTTE.cjs +0 -51
  1659. package/lib/chunk-TZ3RWTTE.cjs.map +0 -1
  1660. package/lib/chunk-UAYQ3LTT.cjs +0 -43
  1661. package/lib/chunk-UAYQ3LTT.cjs.map +0 -1
  1662. package/lib/chunk-UP7FMESP.js +0 -55
  1663. package/lib/chunk-UP7FMESP.js.map +0 -1
  1664. package/lib/chunk-UQQTNQX3.cjs +0 -153
  1665. package/lib/chunk-UQQTNQX3.cjs.map +0 -1
  1666. package/lib/chunk-URD6KUKM.js +0 -49
  1667. package/lib/chunk-URD6KUKM.js.map +0 -1
  1668. package/lib/chunk-USIBTSYD.js +0 -276
  1669. package/lib/chunk-USIBTSYD.js.map +0 -1
  1670. package/lib/chunk-V5S4O57M.js +0 -45
  1671. package/lib/chunk-V5S4O57M.js.map +0 -1
  1672. package/lib/chunk-VAZIDWSC.js +0 -87
  1673. package/lib/chunk-VAZIDWSC.js.map +0 -1
  1674. package/lib/chunk-VEPFANF7.js +0 -53
  1675. package/lib/chunk-VEPFANF7.js.map +0 -1
  1676. package/lib/chunk-VII4ZVM7.cjs +0 -42
  1677. package/lib/chunk-VII4ZVM7.cjs.map +0 -1
  1678. package/lib/chunk-VMKHXGVC.js +0 -73
  1679. package/lib/chunk-VMKHXGVC.js.map +0 -1
  1680. package/lib/chunk-VODDUQ3X.js +0 -49
  1681. package/lib/chunk-VODDUQ3X.js.map +0 -1
  1682. package/lib/chunk-VVY3GX6X.cjs +0 -56
  1683. package/lib/chunk-VVY3GX6X.cjs.map +0 -1
  1684. package/lib/chunk-WCZEGCEC.js +0 -37
  1685. package/lib/chunk-WCZEGCEC.js.map +0 -1
  1686. package/lib/chunk-WHLOYOJC.cjs +0 -107
  1687. package/lib/chunk-WHLOYOJC.cjs.map +0 -1
  1688. package/lib/chunk-WOZH2ZEF.js +0 -51
  1689. package/lib/chunk-WOZH2ZEF.js.map +0 -1
  1690. package/lib/chunk-WQICC32S.js +0 -59
  1691. package/lib/chunk-WQICC32S.js.map +0 -1
  1692. package/lib/chunk-WQLPOO4N.js +0 -45
  1693. package/lib/chunk-WQLPOO4N.js.map +0 -1
  1694. package/lib/chunk-WQOB2KER.js +0 -37
  1695. package/lib/chunk-WQOB2KER.js.map +0 -1
  1696. package/lib/chunk-WQSPNJNP.cjs +0 -63
  1697. package/lib/chunk-WQSPNJNP.cjs.map +0 -1
  1698. package/lib/chunk-WUI2XWKI.cjs +0 -47
  1699. package/lib/chunk-WUI2XWKI.cjs.map +0 -1
  1700. package/lib/chunk-WW7C4RZJ.js +0 -59
  1701. package/lib/chunk-WW7C4RZJ.js.map +0 -1
  1702. package/lib/chunk-WYUB5WZL.js +0 -98
  1703. package/lib/chunk-WYUB5WZL.js.map +0 -1
  1704. package/lib/chunk-WZV2V6IT.cjs +0 -39
  1705. package/lib/chunk-WZV2V6IT.cjs.map +0 -1
  1706. package/lib/chunk-X5V7ZUU7.js +0 -49
  1707. package/lib/chunk-X5V7ZUU7.js.map +0 -1
  1708. package/lib/chunk-X6RCAGFS.cjs +0 -67
  1709. package/lib/chunk-X6RCAGFS.cjs.map +0 -1
  1710. package/lib/chunk-XBXDURPZ.js +0 -93
  1711. package/lib/chunk-XBXDURPZ.js.map +0 -1
  1712. package/lib/chunk-XEAHROOE.cjs +0 -95
  1713. package/lib/chunk-XEAHROOE.cjs.map +0 -1
  1714. package/lib/chunk-XEPHQGPG.cjs +0 -57
  1715. package/lib/chunk-XEPHQGPG.cjs.map +0 -1
  1716. package/lib/chunk-XI6YNNGF.js +0 -52
  1717. package/lib/chunk-XI6YNNGF.js.map +0 -1
  1718. package/lib/chunk-XJ5QSB4X.js +0 -45
  1719. package/lib/chunk-XJ5QSB4X.js.map +0 -1
  1720. package/lib/chunk-XJHXJ2X2.js +0 -47
  1721. package/lib/chunk-XJHXJ2X2.js.map +0 -1
  1722. package/lib/chunk-XJP7O6DK.cjs +0 -53
  1723. package/lib/chunk-XJP7O6DK.cjs.map +0 -1
  1724. package/lib/chunk-XJUQEJMI.js +0 -40
  1725. package/lib/chunk-XJUQEJMI.js.map +0 -1
  1726. package/lib/chunk-XMRYT2R6.cjs +0 -29
  1727. package/lib/chunk-XMRYT2R6.cjs.map +0 -1
  1728. package/lib/chunk-XMWIRROB.cjs +0 -43
  1729. package/lib/chunk-XMWIRROB.cjs.map +0 -1
  1730. package/lib/chunk-XP4BWHD3.cjs +0 -47
  1731. package/lib/chunk-XP4BWHD3.cjs.map +0 -1
  1732. package/lib/chunk-XVLKPTNO.cjs +0 -68
  1733. package/lib/chunk-XVLKPTNO.cjs.map +0 -1
  1734. package/lib/chunk-XZB5NHLE.cjs +0 -42
  1735. package/lib/chunk-XZB5NHLE.cjs.map +0 -1
  1736. package/lib/chunk-Y56DKJ4Z.cjs +0 -284
  1737. package/lib/chunk-Y56DKJ4Z.cjs.map +0 -1
  1738. package/lib/chunk-Y5HM4EFJ.js +0 -54
  1739. package/lib/chunk-Y5HM4EFJ.js.map +0 -1
  1740. package/lib/chunk-Y7NYGZPZ.cjs +0 -95
  1741. package/lib/chunk-Y7NYGZPZ.cjs.map +0 -1
  1742. package/lib/chunk-Y7W5KVDM.cjs +0 -105
  1743. package/lib/chunk-Y7W5KVDM.cjs.map +0 -1
  1744. package/lib/chunk-YADXOWEP.cjs +0 -51
  1745. package/lib/chunk-YADXOWEP.cjs.map +0 -1
  1746. package/lib/chunk-YAVBHKRL.js +0 -49
  1747. package/lib/chunk-YAVBHKRL.js.map +0 -1
  1748. package/lib/chunk-YBHKXAWG.js +0 -66
  1749. package/lib/chunk-YBHKXAWG.js.map +0 -1
  1750. package/lib/chunk-YEFSXXFU.cjs +0 -52
  1751. package/lib/chunk-YEFSXXFU.cjs.map +0 -1
  1752. package/lib/chunk-YJ5ZKAK5.cjs +0 -42
  1753. package/lib/chunk-YJ5ZKAK5.cjs.map +0 -1
  1754. package/lib/chunk-YJTJJDRF.cjs +0 -46
  1755. package/lib/chunk-YJTJJDRF.cjs.map +0 -1
  1756. package/lib/chunk-YNVTCQEO.js +0 -54
  1757. package/lib/chunk-YNVTCQEO.js.map +0 -1
  1758. package/lib/chunk-YQNDMEVM.cjs +0 -50
  1759. package/lib/chunk-YQNDMEVM.cjs.map +0 -1
  1760. package/lib/chunk-YW5OSIBL.cjs +0 -30
  1761. package/lib/chunk-YW5OSIBL.cjs.map +0 -1
  1762. package/lib/chunk-YYJATDDO.js +0 -47
  1763. package/lib/chunk-YYJATDDO.js.map +0 -1
  1764. package/lib/chunk-Z22N4HZK.cjs +0 -47
  1765. package/lib/chunk-Z22N4HZK.cjs.map +0 -1
  1766. package/lib/chunk-Z4LKTHPE.js +0 -20
  1767. package/lib/chunk-Z4LKTHPE.js.map +0 -1
  1768. package/lib/chunk-ZADQ5IPG.js +0 -59
  1769. package/lib/chunk-ZADQ5IPG.js.map +0 -1
  1770. package/lib/chunk-ZAFMNQT3.cjs +0 -75
  1771. package/lib/chunk-ZAFMNQT3.cjs.map +0 -1
  1772. package/lib/chunk-ZCPDCC6N.js +0 -40
  1773. package/lib/chunk-ZCPDCC6N.js.map +0 -1
  1774. package/lib/chunk-ZFKOVGKA.js +0 -73
  1775. package/lib/chunk-ZFKOVGKA.js.map +0 -1
  1776. package/lib/chunk-ZGM7TVRO.cjs +0 -51
  1777. package/lib/chunk-ZGM7TVRO.cjs.map +0 -1
  1778. package/lib/chunk-ZJGCKI5T.cjs +0 -47
  1779. package/lib/chunk-ZJGCKI5T.cjs.map +0 -1
  1780. package/lib/chunk-ZK6DZMC3.cjs +0 -47
  1781. package/lib/chunk-ZK6DZMC3.cjs.map +0 -1
  1782. package/lib/chunk-ZZ6FBYJX.cjs +0 -39
  1783. package/lib/chunk-ZZ6FBYJX.cjs.map +0 -1
  1784. package/lib/fetch-B8-kP4X0.d.cts +0 -55
  1785. package/lib/fetch-B8-kP4X0.d.ts +0 -55
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/markets.ts"],"names":[],"mappings":";;;AAkRA,IAAM,OAAA,GAAN,MAAM,QAAA,SAAgB,WAAA,CAAoB;AAAA,EAEzC,OAAgB,IAAA,GAAmB,SAAA;AAAA,EAEnC,MAAM,MAAA,CAAO,QAAA,EAAwB,MAAA,EAAsC,OAAA,EAA4C;AACtH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,QAAA,CAAQ,IAAA,EAAK,EAAG,MAAA,EAA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unk-WYUB5WZL.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { AvalaraAccount, AvalaraAccountType } from './avalara_accounts'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { DiscountEngine, DiscountEngineType } from './discount_engines'\nimport type { EventStore } from './event_stores'\nimport type { ExternalTaxCalculator, ExternalTaxCalculatorType } from './external_tax_calculators'\nimport type { Geocoder, GeocoderType } from './geocoders'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { ManualTaxCalculator, ManualTaxCalculatorType } from './manual_tax_calculators'\nimport type { Merchant, MerchantType } from './merchants'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { PriceListScheduler } from './price_list_schedulers'\nimport type { PriceList, PriceListType } from './price_lists'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { Store } from './stores'\nimport type { StripeTaxAccount, StripeTaxAccountType } from './stripe_tax_accounts'\nimport type { SubscriptionModel, SubscriptionModelType } from './subscription_models'\nimport type { TaxjarAccount, TaxjarAccountType } from './taxjar_accounts'\nimport type { VertexAccount, VertexAccountType } from './vertex_accounts'\n\n\ntype MarketType = 'markets'\ntype MarketRel = ResourceRel & { type: MarketType }\ntype MerchantRel = ResourceRel & { type: MerchantType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\ntype SubscriptionModelRel = ResourceRel & { type: SubscriptionModelType }\ntype DiscountEngineRel = ResourceRel & { type: DiscountEngineType }\ntype AvalaraAccountRel = ResourceRel & { type: AvalaraAccountType }\ntype StripeTaxAccountRel = ResourceRel & { type: StripeTaxAccountType }\ntype VertexAccountRel = ResourceRel & { type: VertexAccountType }\ntype TaxjarAccountRel = ResourceRel & { type: TaxjarAccountType }\ntype ManualTaxCalculatorRel = ResourceRel & { type: ManualTaxCalculatorType }\ntype ExternalTaxCalculatorRel = ResourceRel & { type: ExternalTaxCalculatorType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\n\n\nexport type MarketSort = Pick<Market, 'id' | 'name' | 'code' | 'disabled_at'> & ResourceSort\n// export type MarketFilter = Pick<Market, 'id' | 'name' | 'code' | 'disabled_at'> & ResourceFilter\n\n\ninterface Market extends Resource {\n\t\n\treadonly type: MarketType\n\n\t/** \n\t * Unique identifier for the market (numeric).\n\t * @example ```1234```\n\t */\n\tnumber?: number | null\n\t/** \n\t * The market's internal name.\n\t * @example ```\"EU Market\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the market (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The Facebook Pixed ID.\n\t * @example ```\"1234567890\"```\n\t */\n\tfacebook_pixel_id?: string | null\n\t/** \n\t * The checkout URL for this market.\n\t * @example ```\"https://checkout.yourbrand.com/:order_id\"```\n\t */\n\tcheckout_url?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The URL used to validate orders by an external source.\n\t * @example ```\"https://external_validation.yourbrand.com\"```\n\t */\n\texternal_order_validation_url?: string | null\n\t/** \n\t * Indicates if market belongs to a customer_group.\n\t * @example ```true```\n\t */\n\tprivate?: boolean | null\n\t/** \n\t * When specified indicates the maximum number of shipping line items with cost that will be added to an order.\n\t * @example ```3```\n\t */\n\tshipping_cost_cutoff?: 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 shared secret used to sign the external request payload.\n\t * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n\t */\n\tshared_secret: string\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmerchant?: Merchant | null\n\tprice_list?: PriceList | null\n\tbase_price_list?: PriceList | null\n\tinventory_model?: InventoryModel | null\n\tsubscription_model?: SubscriptionModel | null\n\tdiscount_engine?: DiscountEngine | null\n\ttax_calculator?: AvalaraAccount | StripeTaxAccount | VertexAccount | TaxjarAccount | ManualTaxCalculator | ExternalTaxCalculator | null\n\tcustomer_group?: CustomerGroup | null\n\tgeocoder?: Geocoder | null\n\tdefault_shipping_method?: ShippingMethod | null\n\tdefault_payment_method?: PaymentMethod | null\n\tstores?: Store[] | null\n\tprice_list_schedulers?: PriceListScheduler[] | null\n\t/**\n\t* @deprecated This field should not be used as it may be removed in the future without notice\n\t*/\n\torder_validation_rules?: object[]\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface MarketCreate extends ResourceCreate {\n\t\n\t/** \n\t * The market's internal name.\n\t * @example ```\"EU Market\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the market (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The Facebook Pixed ID.\n\t * @example ```\"1234567890\"```\n\t */\n\tfacebook_pixel_id?: string | null\n\t/** \n\t * The checkout URL for this market.\n\t * @example ```\"https://checkout.yourbrand.com/:order_id\"```\n\t */\n\tcheckout_url?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The URL used to validate orders by an external source.\n\t * @example ```\"https://external_validation.yourbrand.com\"```\n\t */\n\texternal_order_validation_url?: string | null\n\t/** \n\t * When specified indicates the maximum number of shipping line items with cost that will be added to an order.\n\t * @example ```3```\n\t */\n\tshipping_cost_cutoff?: 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 * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmerchant: MerchantRel\n\tprice_list: PriceListRel\n\tinventory_model: InventoryModelRel\n\tsubscription_model?: SubscriptionModelRel | null\n\tdiscount_engine?: DiscountEngineRel | null\n\ttax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null\n\tcustomer_group?: CustomerGroupRel | null\n\tgeocoder?: GeocoderRel | null\n\tdefault_shipping_method?: ShippingMethodRel | null\n\tdefault_payment_method?: PaymentMethodRel | null\n\n}\n\n\ninterface MarketUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The market's internal name.\n\t * @example ```\"EU Market\"```\n\t */\n\tname?: string | null\n\t/** \n\t * A string that you can use to identify the market (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The Facebook Pixed ID.\n\t * @example ```\"1234567890\"```\n\t */\n\tfacebook_pixel_id?: string | null\n\t/** \n\t * The checkout URL for this market.\n\t * @example ```\"https://checkout.yourbrand.com/:order_id\"```\n\t */\n\tcheckout_url?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The URL used to validate orders by an external source.\n\t * @example ```\"https://external_validation.yourbrand.com\"```\n\t */\n\texternal_order_validation_url?: string | null\n\t/** \n\t * When specified indicates the maximum number of shipping line items with cost that will be added to an order.\n\t * @example ```3```\n\t */\n\tshipping_cost_cutoff?: 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 * Send this attribute if you want to regenerate the shared secret.\n\t * @example ```true```\n\t */\n\t_regenerate_shared_secret?: boolean | null\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmerchant?: MerchantRel | null\n\tprice_list?: PriceListRel | null\n\tinventory_model?: InventoryModelRel | null\n\tsubscription_model?: SubscriptionModelRel | null\n\tdiscount_engine?: DiscountEngineRel | null\n\ttax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null\n\tcustomer_group?: CustomerGroupRel | null\n\tgeocoder?: GeocoderRel | null\n\tdefault_shipping_method?: ShippingMethodRel | null\n\tdefault_payment_method?: PaymentMethodRel | null\n\n}\n\n\nclass Markets extends ApiResource<Market> {\n\n\tstatic readonly TYPE: MarketType = 'markets' as const\n\n\tasync create(resource: MarketCreate, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.create<MarketCreate, Market>({ ...resource, type: Markets.TYPE }, params, options)\n\t}\n\n\tasync update(resource: MarketUpdate, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.update<MarketUpdate, Market>({ ...resource, type: Markets.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: Markets.TYPE } : id, options)\n\t}\n\n\tasync merchant(marketId: string | Market, params?: QueryParamsRetrieve<Merchant>, options?: ResourcesConfig): Promise<Merchant> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Merchant>({ type: 'merchants' }, `markets/${_marketId}/merchant`, params, options) as unknown as Merchant\n\t}\n\n\tasync price_list(marketId: string | Market, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PriceList>({ type: 'price_lists' }, `markets/${_marketId}/price_list`, params, options) as unknown as PriceList\n\t}\n\n\tasync base_price_list(marketId: string | Market, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PriceList>({ type: 'price_lists' }, `markets/${_marketId}/base_price_list`, params, options) as unknown as PriceList\n\t}\n\n\tasync inventory_model(marketId: string | Market, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<InventoryModel>({ type: 'inventory_models' }, `markets/${_marketId}/inventory_model`, params, options) as unknown as InventoryModel\n\t}\n\n\tasync subscription_model(marketId: string | Market, params?: QueryParamsRetrieve<SubscriptionModel>, options?: ResourcesConfig): Promise<SubscriptionModel> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<SubscriptionModel>({ type: 'subscription_models' }, `markets/${_marketId}/subscription_model`, params, options) as unknown as SubscriptionModel\n\t}\n\n\tasync discount_engine(marketId: string | Market, params?: QueryParamsRetrieve<DiscountEngine>, options?: ResourcesConfig): Promise<DiscountEngine> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<DiscountEngine>({ type: 'discount_engines' }, `markets/${_marketId}/discount_engine`, params, options) as unknown as DiscountEngine\n\t}\n\n\tasync customer_group(marketId: string | Market, params?: QueryParamsRetrieve<CustomerGroup>, options?: ResourcesConfig): Promise<CustomerGroup> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<CustomerGroup>({ type: 'customer_groups' }, `markets/${_marketId}/customer_group`, params, options) as unknown as CustomerGroup\n\t}\n\n\tasync geocoder(marketId: string | Market, params?: QueryParamsRetrieve<Geocoder>, options?: ResourcesConfig): Promise<Geocoder> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Geocoder>({ type: 'geocoders' }, `markets/${_marketId}/geocoder`, params, options) as unknown as Geocoder\n\t}\n\n\tasync default_shipping_method(marketId: string | Market, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<ShippingMethod>({ type: 'shipping_methods' }, `markets/${_marketId}/default_shipping_method`, params, options) as unknown as ShippingMethod\n\t}\n\n\tasync default_payment_method(marketId: string | Market, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `markets/${_marketId}/default_payment_method`, params, options) as unknown as PaymentMethod\n\t}\n\n\tasync stores(marketId: string | Market, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Store>({ type: 'stores' }, `markets/${_marketId}/stores`, params, options) as unknown as ListResponse<Store>\n\t}\n\n\tasync price_list_schedulers(marketId: string | Market, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PriceListScheduler>({ type: 'price_list_schedulers' }, `markets/${_marketId}/price_list_schedulers`, params, options) as unknown as ListResponse<PriceListScheduler>\n\t}\n\n\tasync attachments(marketId: string | Market, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `markets/${_marketId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(marketId: string | Market, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `markets/${_marketId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _disable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.update<MarketUpdate, Market>({ id: (typeof id === 'string')? id: id.id, type: Markets.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.update<MarketUpdate, Market>({ id: (typeof id === 'string')? id: id.id, type: Markets.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _regenerate_shared_secret(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.update<MarketUpdate, Market>({ id: (typeof id === 'string')? id: id.id, type: Markets.TYPE, _regenerate_shared_secret: true }, params, options)\n\t}\n\n\n\tisMarket(resource: any): resource is Market {\n\t\treturn resource.type && (resource.type === Markets.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): MarketRel {\n\t\treturn super.relationshipOneToOne<MarketRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): MarketRel[] {\n\t\treturn super.relationshipOneToMany<MarketRel>(...ids)\n\t}\n\n\n\ttype(): MarketType {\n\t\treturn Markets.TYPE\n\t}\n\n}\n\n\nconst instance = new Markets()\nexport default instance\n\nexport type { Market, MarketCreate, Markets, MarketType, MarketUpdate }\n"]}
@@ -1,39 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkY56DKJ4Z_cjs = require('./chunk-Y56DKJ4Z.cjs');
4
-
5
- // src/resources/attachments.ts
6
- var Attachments = class _Attachments extends chunkY56DKJ4Z_cjs.ApiResource {
7
- static TYPE = "attachments";
8
- async create(resource, params, options) {
9
- return this.resources.create({ ...resource, type: _Attachments.TYPE }, params, options);
10
- }
11
- async update(resource, params, options) {
12
- return this.resources.update({ ...resource, type: _Attachments.TYPE }, params, options);
13
- }
14
- async delete(id, options) {
15
- await this.resources.delete(typeof id === "string" ? { id, type: _Attachments.TYPE } : id, options);
16
- }
17
- async event_stores(attachmentId, params, options) {
18
- const _attachmentId = attachmentId.id || attachmentId;
19
- return this.resources.fetch({ type: "event_stores" }, `attachments/${_attachmentId}/event_stores`, params, options);
20
- }
21
- isAttachment(resource) {
22
- return resource.type && resource.type === _Attachments.TYPE;
23
- }
24
- relationship(id) {
25
- return super.relationshipOneToOne(id);
26
- }
27
- relationshipToMany(...ids) {
28
- return super.relationshipOneToMany(...ids);
29
- }
30
- type() {
31
- return _Attachments.TYPE;
32
- }
33
- };
34
- var instance = new Attachments();
35
- var attachments_default = instance;
36
-
37
- exports.attachments_default = attachments_default;
38
- //# sourceMappingURL=chunk-WZV2V6IT.cjs.map
39
- //# sourceMappingURL=chunk-WZV2V6IT.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/attachments.ts"],"names":["ApiResource"],"mappings":";;;;;AAkKA,IAAM,WAAA,GAAN,MAAM,YAAA,SAAoBA,6BAAA,CAAwB;AAAA,EAEjD,OAAgB,IAAA,GAAuB,aAAA;AAAA,EAEvC,MAAM,MAAA,CAAO,QAAA,EAA4B,MAAA,EAA0C,OAAA,EAAgD;AAClI,IAAA,OAAO,I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,EACzD;AAAA,EAGA,IAAA,GAAuB;AACtB,IAAA,OAAO,YAAA,CAAY,IAAA;AAAA,EACpB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,WAAA,EAAY;AACjC,IAAO,mBAAA,GAAQ","file":"chunk-WZV2V6IT.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Bundle, BundleType } from './bundles'\nimport type { CarrierAccount, CarrierAccountType } from './carrier_accounts'\nimport type { CouponRecipient, CouponRecipientType } from './coupon_recipients'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { Customer, CustomerType } from './customers'\nimport type { DeliveryLeadTime, DeliveryLeadTimeType } from './delivery_lead_times'\nimport type { DiscountEngine, DiscountEngineType } from './discount_engines'\nimport type { EventStore } from './event_stores'\nimport type { Geocoder, GeocoderType } from './geocoders'\nimport type { GiftCardRecipient, GiftCardRecipientType } from './gift_card_recipients'\nimport type { GiftCard, GiftCardType } from './gift_cards'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { Market, MarketType } from './markets'\nimport type { Merchant, MerchantType } from './merchants'\nimport type { Order, OrderType } from './orders'\nimport type { Package, PackageType } from './packages'\nimport type { Parcel, ParcelType } from './parcels'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { PaymentOption, PaymentOptionType } from './payment_options'\nimport type { PriceList, PriceListType } from './price_lists'\nimport type { PriceTier, PriceTierType } from './price_tiers'\nimport type { Price, PriceType } from './prices'\nimport type { Promotion, PromotionType } from './promotions'\nimport type { Return, ReturnType } from './returns'\nimport type { Shipment, ShipmentType } from './shipments'\nimport type { ShippingCategory, ShippingCategoryType } from './shipping_categories'\nimport type { ShippingMethodTier, ShippingMethodTierType } from './shipping_method_tiers'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { ShippingZone, ShippingZoneType } from './shipping_zones'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { SkuOption, SkuOptionType } from './sku_options'\nimport type { Sku, SkuType } from './skus'\nimport type { StockItem, StockItemType } from './stock_items'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { StockTransfer, StockTransferType } from './stock_transfers'\nimport type { SubscriptionModel, SubscriptionModelType } from './subscription_models'\nimport type { TaxCalculator, TaxCalculatorType } from './tax_calculators'\nimport type { TaxCategory, TaxCategoryType } from './tax_categories'\nimport type { Transaction, TransactionType } from './transactions'\n\n\ntype AttachmentType = 'attachments'\ntype AttachmentRel = ResourceRel & { type: AttachmentType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype PromotionRel = ResourceRel & { type: PromotionType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype TransactionRel = ResourceRel & { type: TransactionType }\ntype TaxCalculatorRel = ResourceRel & { type: TaxCalculatorType }\ntype TaxCategoryRel = ResourceRel & { type: TaxCategoryType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype ShippingCategoryRel = ResourceRel & { type: ShippingCategoryType }\ntype BundleRel = ResourceRel & { type: BundleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype StockItemRel = ResourceRel & { type: StockItemType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype ReturnRel = ResourceRel & { type: ReturnType }\ntype CarrierAccountRel = ResourceRel & { type: CarrierAccountType }\ntype CouponRecipientRel = ResourceRel & { type: CouponRecipientType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype DeliveryLeadTimeRel = ResourceRel & { type: DeliveryLeadTimeType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype DiscountEngineRel = ResourceRel & { type: DiscountEngineType }\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype GiftCardRecipientRel = ResourceRel & { type: GiftCardRecipientType }\ntype GiftCardRel = ResourceRel & { type: GiftCardType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\ntype StockTransferRel = ResourceRel & { type: StockTransferType }\ntype SkuOptionRel = ResourceRel & { type: SkuOptionType }\ntype MerchantRel = ResourceRel & { type: MerchantType }\ntype SubscriptionModelRel = ResourceRel & { type: SubscriptionModelType }\ntype PaymentOptionRel = ResourceRel & { type: PaymentOptionType }\ntype PackageRel = ResourceRel & { type: PackageType }\ntype PriceRel = ResourceRel & { type: PriceType }\ntype PriceTierRel = ResourceRel & { type: PriceTierType }\ntype ShippingMethodTierRel = ResourceRel & { type: ShippingMethodTierType }\ntype ShippingZoneRel = ResourceRel & { type: ShippingZoneType }\n\n\nexport type AttachmentSort = Pick<Attachment, 'id' | 'name'> & ResourceSort\n// export type AttachmentFilter = Pick<Attachment, 'id' | 'name' | 'description'> & ResourceFilter\n\n\ninterface Attachment extends Resource {\n\t\n\treadonly type: AttachmentType\n\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable?: Geocoder | PriceList | PaymentMethod | Market | CustomerGroup | Promotion | Order | Transaction | TaxCalculator | TaxCategory | Sku | ShippingCategory | Bundle | SkuList | StockItem | StockLocation | Return | CarrierAccount | CouponRecipient | Customer | DeliveryLeadTime | ShippingMethod | Shipment | DiscountEngine | Parcel | GiftCardRecipient | GiftCard | InventoryModel | StockTransfer | SkuOption | Merchant | SubscriptionModel | PaymentOption | Package | Price | PriceTier | ShippingMethodTier | ShippingZone | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface AttachmentCreate extends ResourceCreate {\n\t\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable: GeocoderRel | PriceListRel | PaymentMethodRel | MarketRel | CustomerGroupRel | PromotionRel | OrderRel | TransactionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel | DeliveryLeadTimeRel | ShippingMethodRel | ShipmentRel | DiscountEngineRel | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | StockTransferRel | SkuOptionRel | MerchantRel | SubscriptionModelRel | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel\n\n}\n\n\ninterface AttachmentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname?: string | null\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable?: GeocoderRel | PriceListRel | PaymentMethodRel | MarketRel | CustomerGroupRel | PromotionRel | OrderRel | TransactionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel | DeliveryLeadTimeRel | ShippingMethodRel | ShipmentRel | DiscountEngineRel | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | StockTransferRel | SkuOptionRel | MerchantRel | SubscriptionModelRel | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null\n\n}\n\n\nclass Attachments extends ApiResource<Attachment> {\n\n\tstatic readonly TYPE: AttachmentType = 'attachments' as const\n\n\tasync create(resource: AttachmentCreate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment> {\n\t\treturn this.resources.create<AttachmentCreate, Attachment>({ ...resource, type: Attachments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: AttachmentUpdate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment> {\n\t\treturn this.resources.update<AttachmentUpdate, Attachment>({ ...resource, type: Attachments.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: Attachments.TYPE } : id, options)\n\t}\n\n\tasync event_stores(attachmentId: string | Attachment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _attachmentId = (attachmentId as Attachment).id || attachmentId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `attachments/${_attachmentId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisAttachment(resource: any): resource is Attachment {\n\t\treturn resource.type && (resource.type === Attachments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): AttachmentRel {\n\t\treturn super.relationshipOneToOne<AttachmentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): AttachmentRel[] {\n\t\treturn super.relationshipOneToMany<AttachmentRel>(...ids)\n\t}\n\n\n\ttype(): AttachmentType {\n\t\treturn Attachments.TYPE\n\t}\n\n}\n\n\nconst instance = new Attachments()\nexport default instance\n\nexport type { Attachment, AttachmentCreate, Attachments, AttachmentType, AttachmentUpdate }\n"]}
@@ -1,49 +0,0 @@
1
- import { ApiResource } from './chunk-USIBTSYD.js';
2
-
3
- // src/resources/external_payments.ts
4
- var ExternalPayments = class _ExternalPayments extends ApiResource {
5
- static TYPE = "external_payments";
6
- async create(resource, params, options) {
7
- return this.resources.create({ ...resource, type: _ExternalPayments.TYPE }, params, options);
8
- }
9
- async update(resource, params, options) {
10
- return this.resources.update({ ...resource, type: _ExternalPayments.TYPE }, params, options);
11
- }
12
- async delete(id, options) {
13
- await this.resources.delete(typeof id === "string" ? { id, type: _ExternalPayments.TYPE } : id, options);
14
- }
15
- async order(externalPaymentId, params, options) {
16
- const _externalPaymentId = externalPaymentId.id || externalPaymentId;
17
- return this.resources.fetch({ type: "orders" }, `external_payments/${_externalPaymentId}/order`, params, options);
18
- }
19
- async payment_gateway(externalPaymentId, params, options) {
20
- const _externalPaymentId = externalPaymentId.id || externalPaymentId;
21
- return this.resources.fetch({ type: "payment_gateways" }, `external_payments/${_externalPaymentId}/payment_gateway`, params, options);
22
- }
23
- async wallet(externalPaymentId, params, options) {
24
- const _externalPaymentId = externalPaymentId.id || externalPaymentId;
25
- return this.resources.fetch({ type: "customer_payment_sources" }, `external_payments/${_externalPaymentId}/wallet`, params, options);
26
- }
27
- async event_stores(externalPaymentId, params, options) {
28
- const _externalPaymentId = externalPaymentId.id || externalPaymentId;
29
- return this.resources.fetch({ type: "event_stores" }, `external_payments/${_externalPaymentId}/event_stores`, params, options);
30
- }
31
- isExternalPayment(resource) {
32
- return resource.type && resource.type === _ExternalPayments.TYPE;
33
- }
34
- relationship(id) {
35
- return super.relationshipOneToOne(id);
36
- }
37
- relationshipToMany(...ids) {
38
- return super.relationshipOneToMany(...ids);
39
- }
40
- type() {
41
- return _ExternalPayments.TYPE;
42
- }
43
- };
44
- var instance = new ExternalPayments();
45
- var external_payments_default = instance;
46
-
47
- export { external_payments_default };
48
- //# sourceMappingURL=chunk-X5V7ZUU7.js.map
49
- //# sourceMappingURL=chunk-X5V7ZUU7.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/external_payments.ts"],"names":[],"mappings":";;;AA6EA,IAAM,gBAAA,GAAN,MAAM,iBAAA,SAAyB,WAAA,CAA6B;AAAA,EAE3D,OAAgB,IAAA,GAA4B,mBAAA;AAAA,EAE5C,MAAM,MAAA,CAAO,QAAA,EAAiC,MAAA,EAA+C,OAAA,EAAqD;AACjJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,iBAAA,CAAiB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACnI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAiC,MAAA,EAA+C,OAAA,EAAqD;AACjJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,iBAAA,CAAiB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACnI;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,iBAAA,CAAiB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACxG;AAAA,EAEA,MAAM,KAAA,CAAM,iBAAA,EAA6C,MAAA,EAAqC,OAAA,EAA2C;AACxI,IAAA,MAAM,kBAAA,GAAsB,kBAAsC,EAAA,IAAM,iBAAA;AACxE,IAAA,OAAO,IAAA,CAAK,SAAA,CAA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,EAGA,aAAa,EAAA,EAAoD;AAChE,IAAA,OAAO,KAAA,CAAM,qBAAyC,EAAE,CAAA;AAAA,EACzD;AAAA,EAEA,sBAAsB,GAAA,EAAqC;AAC1D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA0C,GAAG,GAAG,CAAA;AAAA,EAC9D;AAAA,EAGA,IAAA,GAA4B;AAC3B,IAAA,OAAO,iBAAA,CAAiB,IAAA;AAAA,EACzB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,gBAAA,EAAiB;AACtC,IAAO,yBAAA,GAAQ","file":"chunk-X5V7ZUU7.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { CustomerPaymentSource } from './customer_payment_sources'\nimport type { EventStore } from './event_stores'\nimport type { Order, OrderType } from './orders'\nimport type { PaymentGateway } from './payment_gateways'\n\n\ntype ExternalPaymentType = 'external_payments'\ntype ExternalPaymentRel = ResourceRel & { type: ExternalPaymentType }\ntype OrderRel = ResourceRel & { type: OrderType }\n\n\nexport type ExternalPaymentSort = Pick<ExternalPayment, 'id'> & ResourceSort\n// export type ExternalPaymentFilter = Pick<ExternalPayment, 'id' | 'payment_source_token'> & ResourceFilter\n\n\ninterface ExternalPayment extends Resource {\n\t\n\treadonly type: ExternalPaymentType\n\n\t/** \n\t * The payment source token, as generated by the external gateway SDK. Credit Card numbers are rejected.\n\t * @example ```\"xxxx.yyyy.zzzz\"```\n\t */\n\tpayment_source_token: string\n\t/** \n\t * External payment options.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\toptions?: Record<string, any> | 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\twallet?: CustomerPaymentSource | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface ExternalPaymentCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment source token, as generated by the external gateway SDK. Credit Card numbers are rejected.\n\t * @example ```\"xxxx.yyyy.zzzz\"```\n\t */\n\tpayment_source_token: string\n\t/** \n\t * External payment options.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\toptions?: Record<string, any> | null\n\n\torder: OrderRel\n\n}\n\n\ninterface ExternalPaymentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * External payment options.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\toptions?: Record<string, any> | null\n\n\torder?: OrderRel | null\n\n}\n\n\nclass ExternalPayments extends ApiResource<ExternalPayment> {\n\n\tstatic readonly TYPE: ExternalPaymentType = 'external_payments' as const\n\n\tasync create(resource: ExternalPaymentCreate, params?: QueryParamsRetrieve<ExternalPayment>, options?: ResourcesConfig): Promise<ExternalPayment> {\n\t\treturn this.resources.create<ExternalPaymentCreate, ExternalPayment>({ ...resource, type: ExternalPayments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ExternalPaymentUpdate, params?: QueryParamsRetrieve<ExternalPayment>, options?: ResourcesConfig): Promise<ExternalPayment> {\n\t\treturn this.resources.update<ExternalPaymentUpdate, ExternalPayment>({ ...resource, type: ExternalPayments.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: ExternalPayments.TYPE } : id, options)\n\t}\n\n\tasync order(externalPaymentId: string | ExternalPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _externalPaymentId = (externalPaymentId as ExternalPayment).id || externalPaymentId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `external_payments/${_externalPaymentId}/order`, params, options) as unknown as Order\n\t}\n\n\tasync payment_gateway(externalPaymentId: string | ExternalPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway> {\n\t\tconst _externalPaymentId = (externalPaymentId as ExternalPayment).id || externalPaymentId as string\n\t\treturn this.resources.fetch<PaymentGateway>({ type: 'payment_gateways' }, `external_payments/${_externalPaymentId}/payment_gateway`, params, options) as unknown as PaymentGateway\n\t}\n\n\tasync wallet(externalPaymentId: string | ExternalPayment, params?: QueryParamsRetrieve<CustomerPaymentSource>, options?: ResourcesConfig): Promise<CustomerPaymentSource> {\n\t\tconst _externalPaymentId = (externalPaymentId as ExternalPayment).id || externalPaymentId as string\n\t\treturn this.resources.fetch<CustomerPaymentSource>({ type: 'customer_payment_sources' }, `external_payments/${_externalPaymentId}/wallet`, params, options) as unknown as CustomerPaymentSource\n\t}\n\n\tasync event_stores(externalPaymentId: string | ExternalPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _externalPaymentId = (externalPaymentId as ExternalPayment).id || externalPaymentId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `external_payments/${_externalPaymentId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisExternalPayment(resource: any): resource is ExternalPayment {\n\t\treturn resource.type && (resource.type === ExternalPayments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ExternalPaymentRel {\n\t\treturn super.relationshipOneToOne<ExternalPaymentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ExternalPaymentRel[] {\n\t\treturn super.relationshipOneToMany<ExternalPaymentRel>(...ids)\n\t}\n\n\n\ttype(): ExternalPaymentType {\n\t\treturn ExternalPayments.TYPE\n\t}\n\n}\n\n\nconst instance = new ExternalPayments()\nexport default instance\n\nexport type { ExternalPayment, ExternalPaymentCreate, ExternalPayments, ExternalPaymentType, ExternalPaymentUpdate }\n"]}
@@ -1,67 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkY56DKJ4Z_cjs = require('./chunk-Y56DKJ4Z.cjs');
4
-
5
- // src/resources/stock_locations.ts
6
- var StockLocations = class _StockLocations extends chunkY56DKJ4Z_cjs.ApiResource {
7
- static TYPE = "stock_locations";
8
- async create(resource, params, options) {
9
- return this.resources.create({ ...resource, type: _StockLocations.TYPE }, params, options);
10
- }
11
- async update(resource, params, options) {
12
- return this.resources.update({ ...resource, type: _StockLocations.TYPE }, params, options);
13
- }
14
- async delete(id, options) {
15
- await this.resources.delete(typeof id === "string" ? { id, type: _StockLocations.TYPE } : id, options);
16
- }
17
- async address(stockLocationId, params, options) {
18
- const _stockLocationId = stockLocationId.id || stockLocationId;
19
- return this.resources.fetch({ type: "addresses" }, `stock_locations/${_stockLocationId}/address`, params, options);
20
- }
21
- async inventory_stock_locations(stockLocationId, params, options) {
22
- const _stockLocationId = stockLocationId.id || stockLocationId;
23
- return this.resources.fetch({ type: "inventory_stock_locations" }, `stock_locations/${_stockLocationId}/inventory_stock_locations`, params, options);
24
- }
25
- async inventory_return_locations(stockLocationId, params, options) {
26
- const _stockLocationId = stockLocationId.id || stockLocationId;
27
- return this.resources.fetch({ type: "inventory_return_locations" }, `stock_locations/${_stockLocationId}/inventory_return_locations`, params, options);
28
- }
29
- async stock_items(stockLocationId, params, options) {
30
- const _stockLocationId = stockLocationId.id || stockLocationId;
31
- return this.resources.fetch({ type: "stock_items" }, `stock_locations/${_stockLocationId}/stock_items`, params, options);
32
- }
33
- async stock_transfers(stockLocationId, params, options) {
34
- const _stockLocationId = stockLocationId.id || stockLocationId;
35
- return this.resources.fetch({ type: "stock_transfers" }, `stock_locations/${_stockLocationId}/stock_transfers`, params, options);
36
- }
37
- async stores(stockLocationId, params, options) {
38
- const _stockLocationId = stockLocationId.id || stockLocationId;
39
- return this.resources.fetch({ type: "stores" }, `stock_locations/${_stockLocationId}/stores`, params, options);
40
- }
41
- async attachments(stockLocationId, params, options) {
42
- const _stockLocationId = stockLocationId.id || stockLocationId;
43
- return this.resources.fetch({ type: "attachments" }, `stock_locations/${_stockLocationId}/attachments`, params, options);
44
- }
45
- async event_stores(stockLocationId, params, options) {
46
- const _stockLocationId = stockLocationId.id || stockLocationId;
47
- return this.resources.fetch({ type: "event_stores" }, `stock_locations/${_stockLocationId}/event_stores`, params, options);
48
- }
49
- isStockLocation(resource) {
50
- return resource.type && resource.type === _StockLocations.TYPE;
51
- }
52
- relationship(id) {
53
- return super.relationshipOneToOne(id);
54
- }
55
- relationshipToMany(...ids) {
56
- return super.relationshipOneToMany(...ids);
57
- }
58
- type() {
59
- return _StockLocations.TYPE;
60
- }
61
- };
62
- var instance = new StockLocations();
63
- var stock_locations_default = instance;
64
-
65
- exports.stock_locations_default = stock_locations_default;
66
- //# sourceMappingURL=chunk-X6RCAGFS.cjs.map
67
- //# sourceMappingURL=chunk-X6RCAGFS.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/stock_locations.ts"],"names":["ApiResource"],"mappings":";;;;;AAsHA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,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/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,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;AAAA,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-X6RCAGFS.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\n\nimport type { Address, AddressType } from './addresses'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { InventoryReturnLocation } from './inventory_return_locations'\nimport type { InventoryStockLocation } from './inventory_stock_locations'\nimport type { StockItem } from './stock_items'\nimport type { StockTransfer } from './stock_transfers'\nimport type { Store } from './stores'\n\n\ntype StockLocationType = 'stock_locations'\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype AddressRel = ResourceRel & { type: AddressType }\n\n\nexport type StockLocationSort = Pick<StockLocation, 'id' | 'name' | 'code' | 'label_format' | 'suppress_etd'> & ResourceSort\n// export type StockLocationFilter = Pick<StockLocation, 'id' | 'name' | 'code' | 'label_format' | 'suppress_etd'> & ResourceFilter\n\n\ninterface StockLocation extends Resource {\n\t\n\treadonly type: StockLocationType\n\n\t/** \n\t * Unique identifier for the stock location (numeric).\n\t * @example ```1234```\n\t */\n\tnumber?: number | null\n\t/** \n\t * The stock location's internal name.\n\t * @example ```\"Primary warehouse\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the stock location (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The shipping label format for this stock location. Can be one of 'PDF', 'ZPL', 'EPL2', or 'PNG'.\n\t * @example ```\"PDF\"```\n\t */\n\tlabel_format?: string | null\n\t/** \n\t * Flag it if you want to skip the electronic invoice creation when generating the customs info for this stock location shipments.\n\t */\n\tsuppress_etd?: boolean | null\n\n\taddress?: Address | null\n\tinventory_stock_locations?: InventoryStockLocation[] | null\n\tinventory_return_locations?: InventoryReturnLocation[] | null\n\tstock_items?: StockItem[] | null\n\tstock_transfers?: StockTransfer[] | null\n\tstores?: Store[] | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface StockLocationCreate extends ResourceCreate {\n\t\n\t/** \n\t * The stock location's internal name.\n\t * @example ```\"Primary warehouse\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the stock location (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The shipping label format for this stock location. Can be one of 'PDF', 'ZPL', 'EPL2', or 'PNG'.\n\t * @example ```\"PDF\"```\n\t */\n\tlabel_format?: string | null\n\t/** \n\t * Flag it if you want to skip the electronic invoice creation when generating the customs info for this stock location shipments.\n\t */\n\tsuppress_etd?: boolean | null\n\n\taddress: AddressRel\n\n}\n\n\ninterface StockLocationUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The stock location's internal name.\n\t * @example ```\"Primary warehouse\"```\n\t */\n\tname?: string | null\n\t/** \n\t * A string that you can use to identify the stock location (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The shipping label format for this stock location. Can be one of 'PDF', 'ZPL', 'EPL2', or 'PNG'.\n\t * @example ```\"PDF\"```\n\t */\n\tlabel_format?: string | null\n\t/** \n\t * Flag it if you want to skip the electronic invoice creation when generating the customs info for this stock location shipments.\n\t */\n\tsuppress_etd?: boolean | null\n\n\taddress?: AddressRel | null\n\n}\n\n\nclass StockLocations extends ApiResource<StockLocation> {\n\n\tstatic readonly TYPE: StockLocationType = 'stock_locations' as const\n\n\tasync create(resource: StockLocationCreate, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\treturn this.resources.create<StockLocationCreate, StockLocation>({ ...resource, type: StockLocations.TYPE }, params, options)\n\t}\n\n\tasync update(resource: StockLocationUpdate, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\treturn this.resources.update<StockLocationUpdate, StockLocation>({ ...resource, type: StockLocations.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: StockLocations.TYPE } : id, options)\n\t}\n\n\tasync address(stockLocationId: string | StockLocation, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<Address>({ type: 'addresses' }, `stock_locations/${_stockLocationId}/address`, params, options) as unknown as Address\n\t}\n\n\tasync inventory_stock_locations(stockLocationId: string | StockLocation, params?: QueryParamsList<InventoryStockLocation>, options?: ResourcesConfig): Promise<ListResponse<InventoryStockLocation>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<InventoryStockLocation>({ type: 'inventory_stock_locations' }, `stock_locations/${_stockLocationId}/inventory_stock_locations`, params, options) as unknown as ListResponse<InventoryStockLocation>\n\t}\n\n\tasync inventory_return_locations(stockLocationId: string | StockLocation, params?: QueryParamsList<InventoryReturnLocation>, options?: ResourcesConfig): Promise<ListResponse<InventoryReturnLocation>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<InventoryReturnLocation>({ type: 'inventory_return_locations' }, `stock_locations/${_stockLocationId}/inventory_return_locations`, params, options) as unknown as ListResponse<InventoryReturnLocation>\n\t}\n\n\tasync stock_items(stockLocationId: string | StockLocation, params?: QueryParamsList<StockItem>, options?: ResourcesConfig): Promise<ListResponse<StockItem>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<StockItem>({ type: 'stock_items' }, `stock_locations/${_stockLocationId}/stock_items`, params, options) as unknown as ListResponse<StockItem>\n\t}\n\n\tasync stock_transfers(stockLocationId: string | StockLocation, params?: QueryParamsList<StockTransfer>, options?: ResourcesConfig): Promise<ListResponse<StockTransfer>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<StockTransfer>({ type: 'stock_transfers' }, `stock_locations/${_stockLocationId}/stock_transfers`, params, options) as unknown as ListResponse<StockTransfer>\n\t}\n\n\tasync stores(stockLocationId: string | StockLocation, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<Store>({ type: 'stores' }, `stock_locations/${_stockLocationId}/stores`, params, options) as unknown as ListResponse<Store>\n\t}\n\n\tasync attachments(stockLocationId: string | StockLocation, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `stock_locations/${_stockLocationId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(stockLocationId: string | StockLocation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _stockLocationId = (stockLocationId as StockLocation).id || stockLocationId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `stock_locations/${_stockLocationId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisStockLocation(resource: any): resource is StockLocation {\n\t\treturn resource.type && (resource.type === StockLocations.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): StockLocationRel {\n\t\treturn super.relationshipOneToOne<StockLocationRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): StockLocationRel[] {\n\t\treturn super.relationshipOneToMany<StockLocationRel>(...ids)\n\t}\n\n\n\ttype(): StockLocationType {\n\t\treturn StockLocations.TYPE\n\t}\n\n}\n\n\nconst instance = new StockLocations()\nexport default instance\n\nexport type { StockLocation, StockLocationCreate, StockLocations, StockLocationType, StockLocationUpdate }\n"]}
@@ -1,93 +0,0 @@
1
- import { ApiResource } from './chunk-USIBTSYD.js';
2
-
3
- // src/resources/fixed_price_promotions.ts
4
- var FixedPricePromotions = class _FixedPricePromotions extends ApiResource {
5
- static TYPE = "fixed_price_promotions";
6
- async create(resource, params, options) {
7
- return this.resources.create({ ...resource, type: _FixedPricePromotions.TYPE }, params, options);
8
- }
9
- async update(resource, params, options) {
10
- return this.resources.update({ ...resource, type: _FixedPricePromotions.TYPE }, params, options);
11
- }
12
- async delete(id, options) {
13
- await this.resources.delete(typeof id === "string" ? { id, type: _FixedPricePromotions.TYPE } : id, options);
14
- }
15
- async market(fixedPricePromotionId, params, options) {
16
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
17
- return this.resources.fetch({ type: "markets" }, `fixed_price_promotions/${_fixedPricePromotionId}/market`, params, options);
18
- }
19
- async order_amount_promotion_rule(fixedPricePromotionId, params, options) {
20
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
21
- return this.resources.fetch({ type: "order_amount_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/order_amount_promotion_rule`, params, options);
22
- }
23
- async sku_list_promotion_rule(fixedPricePromotionId, params, options) {
24
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
25
- return this.resources.fetch({ type: "sku_list_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list_promotion_rule`, params, options);
26
- }
27
- async coupon_codes_promotion_rule(fixedPricePromotionId, params, options) {
28
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
29
- return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/coupon_codes_promotion_rule`, params, options);
30
- }
31
- async custom_promotion_rule(fixedPricePromotionId, params, options) {
32
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
33
- return this.resources.fetch({ type: "custom_promotion_rules" }, `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`, params, options);
34
- }
35
- async sku_list(fixedPricePromotionId, params, options) {
36
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
37
- return this.resources.fetch({ type: "sku_lists" }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options);
38
- }
39
- async coupons(fixedPricePromotionId, params, options) {
40
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
41
- return this.resources.fetch({ type: "coupons" }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options);
42
- }
43
- async attachments(fixedPricePromotionId, params, options) {
44
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
45
- return this.resources.fetch({ type: "attachments" }, `fixed_price_promotions/${_fixedPricePromotionId}/attachments`, params, options);
46
- }
47
- async events(fixedPricePromotionId, params, options) {
48
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
49
- return this.resources.fetch({ type: "events" }, `fixed_price_promotions/${_fixedPricePromotionId}/events`, params, options);
50
- }
51
- async tags(fixedPricePromotionId, params, options) {
52
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
53
- return this.resources.fetch({ type: "tags" }, `fixed_price_promotions/${_fixedPricePromotionId}/tags`, params, options);
54
- }
55
- async event_stores(fixedPricePromotionId, params, options) {
56
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
57
- return this.resources.fetch({ type: "event_stores" }, `fixed_price_promotions/${_fixedPricePromotionId}/event_stores`, params, options);
58
- }
59
- async skus(fixedPricePromotionId, params, options) {
60
- const _fixedPricePromotionId = fixedPricePromotionId.id || fixedPricePromotionId;
61
- return this.resources.fetch({ type: "skus" }, `fixed_price_promotions/${_fixedPricePromotionId}/skus`, params, options);
62
- }
63
- async _disable(id, params, options) {
64
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _disable: true }, params, options);
65
- }
66
- async _enable(id, params, options) {
67
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _enable: true }, params, options);
68
- }
69
- async _add_tags(id, triggerValue, params, options) {
70
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _add_tags: triggerValue }, params, options);
71
- }
72
- async _remove_tags(id, triggerValue, params, options) {
73
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _FixedPricePromotions.TYPE, _remove_tags: triggerValue }, params, options);
74
- }
75
- isFixedPricePromotion(resource) {
76
- return resource.type && resource.type === _FixedPricePromotions.TYPE;
77
- }
78
- relationship(id) {
79
- return super.relationshipOneToOne(id);
80
- }
81
- relationshipToMany(...ids) {
82
- return super.relationshipOneToMany(...ids);
83
- }
84
- type() {
85
- return _FixedPricePromotions.TYPE;
86
- }
87
- };
88
- var instance = new FixedPricePromotions();
89
- var fixed_price_promotions_default = instance;
90
-
91
- export { fixed_price_promotions_default };
92
- //# sourceMappingURL=chunk-XBXDURPZ.js.map
93
- //# sourceMappingURL=chunk-XBXDURPZ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/fixed_price_promotions.ts"],"names":[],"mappings":";;;AAmRA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6B,WAAA,CAAiC;AAAA,EAEnE,OAAgB,IAAA,GAAgC,wBAAA;AAAA,EAEhD,MAAM,MAAA,CAAO,QAAA,EAAqC,MAAA,EAAmD,OAAA,EAAyD;AAC7J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/I;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAqC,MAAA,EAAmD,OAAA,EAAyD;AAC7J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAuD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/I;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,qBAAA,CAAqB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC5G;AAAA,EAEA,MAAM,MAAA,CAAO,qBAAA,EAAqD,MAAA,EAAsC,OAAA,EAA4C;AACnJ,IAAA,MAAM,sBAAA,GAA0B,sBAA8C,EAAA,IAAM,qBAAA;AACpF,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAc,EAAE,IAAA,EAAM,SAAA,EA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KAAA,CAAM,qBAA6C,EAAE,CAAA;AAAA,EAC7D;AAAA,EAEA,sBAAsB,GAAA,EAAyC;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA8C,GAAG,GAAG,CAAA;AAAA,EAClE;AAAA,EAGA,IAAA,GAAgC;AAC/B,IAAA,OAAO,qBAAA,CAAqB,IAAA;AAAA,EAC7B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,oBAAA,EAAqB;AAC1C,IAAO,8BAAA,GAAQ","file":"chunk-XBXDURPZ.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { Coupon } from './coupons'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { PromotionRule } from './promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku } from './skus'\nimport type { Tag, TagType } from './tags'\n\n\ntype FixedPricePromotionType = 'fixed_price_promotions'\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type FixedPricePromotionSort = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort\n// export type FixedPricePromotionFilter = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceFilter\n\n\ninterface FixedPricePromotion extends Resource {\n\t\n\treadonly type: FixedPricePromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion has been applied the total number of allowed times.\n\t */\n\ttotal_usage_reached?: boolean | 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 * The total number of coupons created for this promotion.\n\t * @example ```2```\n\t */\n\tcoupons_count?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\t/** \n\t * The discount fixed amount to be applied, float.\n\t * @example ```10```\n\t */\n\tfixed_amount_float?: number | null\n\t/** \n\t * The discount fixed amount to be applied, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_fixed_amount?: string | null\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tevent_stores?: EventStore[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface FixedPricePromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents: number\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list: SkuListRel\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface FixedPricePromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The price fixed amount to be applied on matching SKUs, in cents.\n\t * @example ```1000```\n\t */\n\tfixed_amount_cents?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass FixedPricePromotions extends ApiResource<FixedPricePromotion> {\n\n\tstatic readonly TYPE: FixedPricePromotionType = 'fixed_price_promotions' as const\n\n\tasync create(resource: FixedPricePromotionCreate, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.create<FixedPricePromotionCreate, FixedPricePromotion>({ ...resource, type: FixedPricePromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: FixedPricePromotionUpdate, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ ...resource, type: FixedPricePromotions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: FixedPricePromotions.TYPE } : id, options)\n\t}\n\n\tasync market(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `fixed_price_promotions/${_fixedPricePromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `fixed_price_promotions/${_fixedPricePromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `fixed_price_promotions/${_fixedPricePromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `fixed_price_promotions/${_fixedPricePromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync event_stores(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `fixed_price_promotions/${_fixedPricePromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `fixed_price_promotions/${_fixedPricePromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion> {\n\t\treturn this.resources.update<FixedPricePromotionUpdate, FixedPricePromotion>({ id: (typeof id === 'string')? id: id.id, type: FixedPricePromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisFixedPricePromotion(resource: any): resource is FixedPricePromotion {\n\t\treturn resource.type && (resource.type === FixedPricePromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): FixedPricePromotionRel {\n\t\treturn super.relationshipOneToOne<FixedPricePromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): FixedPricePromotionRel[] {\n\t\treturn super.relationshipOneToMany<FixedPricePromotionRel>(...ids)\n\t}\n\n\n\ttype(): FixedPricePromotionType {\n\t\treturn FixedPricePromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new FixedPricePromotions()\nexport default instance\n\nexport type { FixedPricePromotion, FixedPricePromotionCreate, FixedPricePromotions, FixedPricePromotionType, FixedPricePromotionUpdate }\n"]}
@@ -1,95 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkY56DKJ4Z_cjs = require('./chunk-Y56DKJ4Z.cjs');
4
-
5
- // src/resources/percentage_discount_promotions.ts
6
- var PercentageDiscountPromotions = class _PercentageDiscountPromotions extends chunkY56DKJ4Z_cjs.ApiResource {
7
- static TYPE = "percentage_discount_promotions";
8
- async create(resource, params, options) {
9
- return this.resources.create({ ...resource, type: _PercentageDiscountPromotions.TYPE }, params, options);
10
- }
11
- async update(resource, params, options) {
12
- return this.resources.update({ ...resource, type: _PercentageDiscountPromotions.TYPE }, params, options);
13
- }
14
- async delete(id, options) {
15
- await this.resources.delete(typeof id === "string" ? { id, type: _PercentageDiscountPromotions.TYPE } : id, options);
16
- }
17
- async market(percentageDiscountPromotionId, params, options) {
18
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
19
- return this.resources.fetch({ type: "markets" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/market`, params, options);
20
- }
21
- async order_amount_promotion_rule(percentageDiscountPromotionId, params, options) {
22
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
23
- return this.resources.fetch({ type: "order_amount_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/order_amount_promotion_rule`, params, options);
24
- }
25
- async sku_list_promotion_rule(percentageDiscountPromotionId, params, options) {
26
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
27
- return this.resources.fetch({ type: "sku_list_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list_promotion_rule`, params, options);
28
- }
29
- async coupon_codes_promotion_rule(percentageDiscountPromotionId, params, options) {
30
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
31
- return this.resources.fetch({ type: "coupon_codes_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupon_codes_promotion_rule`, params, options);
32
- }
33
- async custom_promotion_rule(percentageDiscountPromotionId, params, options) {
34
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
35
- return this.resources.fetch({ type: "custom_promotion_rules" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/custom_promotion_rule`, params, options);
36
- }
37
- async sku_list(percentageDiscountPromotionId, params, options) {
38
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
39
- return this.resources.fetch({ type: "sku_lists" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list`, params, options);
40
- }
41
- async coupons(percentageDiscountPromotionId, params, options) {
42
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
43
- return this.resources.fetch({ type: "coupons" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupons`, params, options);
44
- }
45
- async attachments(percentageDiscountPromotionId, params, options) {
46
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
47
- return this.resources.fetch({ type: "attachments" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/attachments`, params, options);
48
- }
49
- async events(percentageDiscountPromotionId, params, options) {
50
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
51
- return this.resources.fetch({ type: "events" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/events`, params, options);
52
- }
53
- async tags(percentageDiscountPromotionId, params, options) {
54
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
55
- return this.resources.fetch({ type: "tags" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/tags`, params, options);
56
- }
57
- async event_stores(percentageDiscountPromotionId, params, options) {
58
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
59
- return this.resources.fetch({ type: "event_stores" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/event_stores`, params, options);
60
- }
61
- async skus(percentageDiscountPromotionId, params, options) {
62
- const _percentageDiscountPromotionId = percentageDiscountPromotionId.id || percentageDiscountPromotionId;
63
- return this.resources.fetch({ type: "skus" }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/skus`, params, options);
64
- }
65
- async _disable(id, params, options) {
66
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _disable: true }, params, options);
67
- }
68
- async _enable(id, params, options) {
69
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _enable: true }, params, options);
70
- }
71
- async _add_tags(id, triggerValue, params, options) {
72
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _add_tags: triggerValue }, params, options);
73
- }
74
- async _remove_tags(id, triggerValue, params, options) {
75
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PercentageDiscountPromotions.TYPE, _remove_tags: triggerValue }, params, options);
76
- }
77
- isPercentageDiscountPromotion(resource) {
78
- return resource.type && resource.type === _PercentageDiscountPromotions.TYPE;
79
- }
80
- relationship(id) {
81
- return super.relationshipOneToOne(id);
82
- }
83
- relationshipToMany(...ids) {
84
- return super.relationshipOneToMany(...ids);
85
- }
86
- type() {
87
- return _PercentageDiscountPromotions.TYPE;
88
- }
89
- };
90
- var instance = new PercentageDiscountPromotions();
91
- var percentage_discount_promotions_default = instance;
92
-
93
- exports.percentage_discount_promotions_default = percentage_discount_promotions_default;
94
- //# sourceMappingURL=chunk-XEAHROOE.cjs.map
95
- //# sourceMappingURL=chunk-XEAHROOE.cjs.map