@commercelayer/sdk 8.0.0-beta.6 → 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 (1786) hide show
  1. package/README.md +15 -20
  2. package/lib/api-BrD0VGs7.d.ts +18490 -0
  3. package/lib/api-p_JJnFXy.d.cts +18490 -0
  4. package/lib/api.cjs +356 -340
  5. package/lib/api.d.cts +2 -2
  6. package/lib/api.d.ts +2 -2
  7. package/lib/api.js +144 -140
  8. package/lib/bundle-compat.cjs +160 -0
  9. package/lib/bundle-compat.cjs.map +1 -0
  10. package/lib/bundle-compat.d.cts +24 -0
  11. package/lib/bundle-compat.d.ts +22 -0
  12. package/lib/bundle-compat.js +155 -0
  13. package/lib/bundle-compat.js.map +1 -0
  14. package/lib/bundle.cjs +157 -561
  15. package/lib/bundle.cjs.map +1 -1
  16. package/lib/bundle.d.cts +26 -18
  17. package/lib/bundle.d.ts +25 -19
  18. package/lib/bundle.js +146 -563
  19. package/lib/bundle.js.map +1 -1
  20. package/lib/chunk-27JY4ULD.js +45 -0
  21. package/lib/chunk-27JY4ULD.js.map +1 -0
  22. package/lib/chunk-2A2L2CKF.js +75 -0
  23. package/lib/chunk-2A2L2CKF.js.map +1 -0
  24. package/lib/chunk-2FPWAQJJ.js +96 -0
  25. package/lib/chunk-2FPWAQJJ.js.map +1 -0
  26. package/lib/chunk-2KTN65O5.cjs +70 -0
  27. package/lib/chunk-2KTN65O5.cjs.map +1 -0
  28. package/lib/chunk-2PFTQHFT.js +79 -0
  29. package/lib/chunk-2PFTQHFT.js.map +1 -0
  30. package/lib/chunk-2SPJZDGK.js +80 -0
  31. package/lib/chunk-2SPJZDGK.js.map +1 -0
  32. package/lib/chunk-2YNRSRZU.cjs +102 -0
  33. package/lib/chunk-2YNRSRZU.cjs.map +1 -0
  34. package/lib/chunk-32JKZIM5.js +68 -0
  35. package/lib/chunk-32JKZIM5.js.map +1 -0
  36. package/lib/chunk-36O6EEZT.cjs +53 -0
  37. package/lib/chunk-36O6EEZT.cjs.map +1 -0
  38. package/lib/chunk-37KCG4S4.cjs +79 -0
  39. package/lib/chunk-37KCG4S4.cjs.map +1 -0
  40. package/lib/chunk-3DMYHXGB.js +20 -0
  41. package/lib/chunk-3DMYHXGB.js.map +1 -0
  42. package/lib/chunk-3DQIXZAG.js +129 -0
  43. package/lib/chunk-3DQIXZAG.js.map +1 -0
  44. package/lib/chunk-3FZPEWUV.cjs +91 -0
  45. package/lib/chunk-3FZPEWUV.cjs.map +1 -0
  46. package/lib/chunk-3M6XJ7NN.js +100 -0
  47. package/lib/chunk-3M6XJ7NN.js.map +1 -0
  48. package/lib/chunk-3NBRFRLX.cjs +125 -0
  49. package/lib/chunk-3NBRFRLX.cjs.map +1 -0
  50. package/lib/chunk-3OLFEEMC.js +100 -0
  51. package/lib/chunk-3OLFEEMC.js.map +1 -0
  52. package/lib/chunk-3QD74K3Q.cjs +53 -0
  53. package/lib/chunk-3QD74K3Q.cjs.map +1 -0
  54. package/lib/chunk-3SW2ASSY.js +60 -0
  55. package/lib/chunk-3SW2ASSY.js.map +1 -0
  56. package/lib/chunk-3XPISUB4.js +42 -0
  57. package/lib/chunk-3XPISUB4.js.map +1 -0
  58. package/lib/chunk-47ZNGHD4.js +77 -0
  59. package/lib/chunk-47ZNGHD4.js.map +1 -0
  60. package/lib/chunk-4PQ23R44.cjs +62 -0
  61. package/lib/chunk-4PQ23R44.cjs.map +1 -0
  62. package/lib/chunk-4VNGP4WP.js +100 -0
  63. package/lib/chunk-4VNGP4WP.js.map +1 -0
  64. package/lib/chunk-4XVOXNET.cjs +70 -0
  65. package/lib/chunk-4XVOXNET.cjs.map +1 -0
  66. package/lib/chunk-4YWYHTLB.js +68 -0
  67. package/lib/chunk-4YWYHTLB.js.map +1 -0
  68. package/lib/chunk-55KBBWVE.cjs +62 -0
  69. package/lib/chunk-55KBBWVE.cjs.map +1 -0
  70. package/lib/chunk-5BZCMLOG.cjs +38 -0
  71. package/lib/chunk-5BZCMLOG.cjs.map +1 -0
  72. package/lib/chunk-5DKOODMA.cjs +91 -0
  73. package/lib/chunk-5DKOODMA.cjs.map +1 -0
  74. package/lib/chunk-5MSW2F5A.js +58 -0
  75. package/lib/chunk-5MSW2F5A.js.map +1 -0
  76. package/lib/chunk-5NDRJ2CN.cjs +79 -0
  77. package/lib/chunk-5NDRJ2CN.cjs.map +1 -0
  78. package/lib/chunk-5RDGD6N2.js +82 -0
  79. package/lib/chunk-5RDGD6N2.js.map +1 -0
  80. package/lib/chunk-5TLQ5NEK.js +60 -0
  81. package/lib/chunk-5TLQ5NEK.js.map +1 -0
  82. package/lib/chunk-5WLJRGB6.cjs +89 -0
  83. package/lib/chunk-5WLJRGB6.cjs.map +1 -0
  84. package/lib/chunk-5WSJNCYM.cjs +44 -0
  85. package/lib/chunk-5WSJNCYM.cjs.map +1 -0
  86. package/lib/chunk-5YY7PVEO.js +191 -0
  87. package/lib/chunk-5YY7PVEO.js.map +1 -0
  88. package/lib/chunk-5Z5QSUVM.cjs +71 -0
  89. package/lib/chunk-5Z5QSUVM.cjs.map +1 -0
  90. package/lib/chunk-5ZPUTH6R.cjs +62 -0
  91. package/lib/chunk-5ZPUTH6R.cjs.map +1 -0
  92. package/lib/chunk-65HWKNSV.cjs +71 -0
  93. package/lib/chunk-65HWKNSV.cjs.map +1 -0
  94. package/lib/chunk-6BUTICKQ.js +75 -0
  95. package/lib/chunk-6BUTICKQ.js.map +1 -0
  96. package/lib/chunk-6F3SJXD3.cjs +62 -0
  97. package/lib/chunk-6F3SJXD3.cjs.map +1 -0
  98. package/lib/chunk-6JIKAK5C.js +77 -0
  99. package/lib/chunk-6JIKAK5C.js.map +1 -0
  100. package/lib/chunk-6JP6GEER.cjs +70 -0
  101. package/lib/chunk-6JP6GEER.cjs.map +1 -0
  102. package/lib/chunk-6L3AE23J.cjs +193 -0
  103. package/lib/chunk-6L3AE23J.cjs.map +1 -0
  104. package/lib/chunk-6NPLS5UO.cjs +60 -0
  105. package/lib/chunk-6NPLS5UO.cjs.map +1 -0
  106. package/lib/chunk-6R6A75PL.cjs +712 -0
  107. package/lib/chunk-6R6A75PL.cjs.map +1 -0
  108. package/lib/chunk-6TJJD77K.cjs +40 -0
  109. package/lib/chunk-6TJJD77K.cjs.map +1 -0
  110. package/lib/chunk-6UATBFH6.cjs +614 -0
  111. package/lib/chunk-6UATBFH6.cjs.map +1 -0
  112. package/lib/chunk-7CMX56OH.cjs +62 -0
  113. package/lib/chunk-7CMX56OH.cjs.map +1 -0
  114. package/lib/chunk-7CZ5BGBN.js +60 -0
  115. package/lib/chunk-7CZ5BGBN.js.map +1 -0
  116. package/lib/chunk-7EGB7KLE.cjs +70 -0
  117. package/lib/chunk-7EGB7KLE.cjs.map +1 -0
  118. package/lib/chunk-7FXEYH5P.js +77 -0
  119. package/lib/chunk-7FXEYH5P.js.map +1 -0
  120. package/lib/chunk-7HJJTBA5.cjs +88 -0
  121. package/lib/chunk-7HJJTBA5.cjs.map +1 -0
  122. package/lib/chunk-7J7U2OVV.cjs +44 -0
  123. package/lib/chunk-7J7U2OVV.cjs.map +1 -0
  124. package/lib/chunk-7KAEFUHR.js +58 -0
  125. package/lib/chunk-7KAEFUHR.js.map +1 -0
  126. package/lib/chunk-7LWJU3MC.js +77 -0
  127. package/lib/chunk-7LWJU3MC.js.map +1 -0
  128. package/lib/chunk-7MKSY64F.cjs +77 -0
  129. package/lib/chunk-7MKSY64F.cjs.map +1 -0
  130. package/lib/chunk-7NXUTO5Z.cjs +70 -0
  131. package/lib/chunk-7NXUTO5Z.cjs.map +1 -0
  132. package/lib/chunk-7YLXO22M.js +78 -0
  133. package/lib/chunk-7YLXO22M.js.map +1 -0
  134. package/lib/chunk-7ZNP5ZRX.cjs +182 -0
  135. package/lib/chunk-7ZNP5ZRX.cjs.map +1 -0
  136. package/lib/chunk-A5MOUKBT.cjs +81 -0
  137. package/lib/chunk-A5MOUKBT.cjs.map +1 -0
  138. package/lib/chunk-ACLWKVZH.cjs +179 -0
  139. package/lib/chunk-ACLWKVZH.cjs.map +1 -0
  140. package/lib/chunk-AH4P3KIO.cjs +198 -0
  141. package/lib/chunk-AH4P3KIO.cjs.map +1 -0
  142. package/lib/chunk-AIQS4XI7.cjs +70 -0
  143. package/lib/chunk-AIQS4XI7.cjs.map +1 -0
  144. package/lib/chunk-AQ6OHDUF.js +709 -0
  145. package/lib/chunk-AQ6OHDUF.js.map +1 -0
  146. package/lib/chunk-ARM4HSQI.cjs +98 -0
  147. package/lib/chunk-ARM4HSQI.cjs.map +1 -0
  148. package/lib/chunk-AUQHYYKJ.cjs +60 -0
  149. package/lib/chunk-AUQHYYKJ.cjs.map +1 -0
  150. package/lib/chunk-AXXSDR45.js +96 -0
  151. package/lib/chunk-AXXSDR45.js.map +1 -0
  152. package/lib/chunk-AYXJJKWA.js +75 -0
  153. package/lib/chunk-AYXJJKWA.js.map +1 -0
  154. package/lib/chunk-B5P3GWI5.js +67 -0
  155. package/lib/chunk-B5P3GWI5.js.map +1 -0
  156. package/lib/chunk-B5XPPQC7.cjs +70 -0
  157. package/lib/chunk-B5XPPQC7.cjs.map +1 -0
  158. package/lib/chunk-BD3ASC6K.cjs +84 -0
  159. package/lib/chunk-BD3ASC6K.cjs.map +1 -0
  160. package/lib/chunk-BDZQCGCJ.cjs +77 -0
  161. package/lib/chunk-BDZQCGCJ.cjs.map +1 -0
  162. package/lib/chunk-BEANHXLX.js +612 -0
  163. package/lib/chunk-BEANHXLX.js.map +1 -0
  164. package/lib/chunk-BF5HDO3M.cjs +70 -0
  165. package/lib/chunk-BF5HDO3M.cjs.map +1 -0
  166. package/lib/chunk-BFQFVHLA.cjs +94 -0
  167. package/lib/chunk-BFQFVHLA.cjs.map +1 -0
  168. package/lib/chunk-BPANUY47.cjs +22 -0
  169. package/lib/chunk-BPANUY47.cjs.map +1 -0
  170. package/lib/chunk-BTFN2FBP.js +69 -0
  171. package/lib/chunk-BTFN2FBP.js.map +1 -0
  172. package/lib/chunk-BY57BZ6S.cjs +79 -0
  173. package/lib/chunk-BY57BZ6S.cjs.map +1 -0
  174. package/lib/chunk-CDWXHURD.js +96 -0
  175. package/lib/chunk-CDWXHURD.js.map +1 -0
  176. package/lib/chunk-CEAYZF3Z.js +120 -0
  177. package/lib/chunk-CEAYZF3Z.js.map +1 -0
  178. package/lib/chunk-CEBLLOSH.cjs +79 -0
  179. package/lib/chunk-CEBLLOSH.cjs.map +1 -0
  180. package/lib/chunk-CEZGXW2V.cjs +102 -0
  181. package/lib/chunk-CEZGXW2V.cjs.map +1 -0
  182. package/lib/chunk-CITYMGFY.js +78 -0
  183. package/lib/chunk-CITYMGFY.js.map +1 -0
  184. package/lib/chunk-CK2UROFT.js +68 -0
  185. package/lib/chunk-CK2UROFT.js.map +1 -0
  186. package/lib/chunk-CMQ4CS3C.cjs +84 -0
  187. package/lib/chunk-CMQ4CS3C.cjs.map +1 -0
  188. package/lib/chunk-CMRTIKRS.cjs +98 -0
  189. package/lib/chunk-CMRTIKRS.cjs.map +1 -0
  190. package/lib/chunk-COCVOAAR.js +168 -0
  191. package/lib/chunk-COCVOAAR.js.map +1 -0
  192. package/lib/chunk-CPC4EDUN.js +60 -0
  193. package/lib/chunk-CPC4EDUN.js.map +1 -0
  194. package/lib/chunk-CQMGOKLY.js +89 -0
  195. package/lib/chunk-CQMGOKLY.js.map +1 -0
  196. package/lib/chunk-D433AVZU.cjs +61 -0
  197. package/lib/chunk-D433AVZU.cjs.map +1 -0
  198. package/lib/chunk-DGMBHG2D.cjs +122 -0
  199. package/lib/chunk-DGMBHG2D.cjs.map +1 -0
  200. package/lib/chunk-DH4T5JRD.cjs +47 -0
  201. package/lib/chunk-DH4T5JRD.cjs.map +1 -0
  202. package/lib/chunk-DIDUU3HJ.cjs +98 -0
  203. package/lib/chunk-DIDUU3HJ.cjs.map +1 -0
  204. package/lib/chunk-DJRBZJME.js +116 -0
  205. package/lib/chunk-DJRBZJME.js.map +1 -0
  206. package/lib/chunk-DN2TPVPQ.js +84 -0
  207. package/lib/chunk-DN2TPVPQ.js.map +1 -0
  208. package/lib/chunk-DVXTCITU.js +86 -0
  209. package/lib/chunk-DVXTCITU.js.map +1 -0
  210. package/lib/chunk-DXMFGRLZ.js +83 -0
  211. package/lib/chunk-DXMFGRLZ.js.map +1 -0
  212. package/lib/chunk-E5XRQXA3.cjs +193 -0
  213. package/lib/chunk-E5XRQXA3.cjs.map +1 -0
  214. package/lib/chunk-E6G7T2X4.cjs +14 -0
  215. package/lib/chunk-E6G7T2X4.cjs.map +1 -0
  216. package/lib/chunk-ECE464P6.js +68 -0
  217. package/lib/chunk-ECE464P6.js.map +1 -0
  218. package/lib/chunk-ECFID6YL.cjs +179 -0
  219. package/lib/chunk-ECFID6YL.cjs.map +1 -0
  220. package/lib/chunk-EG2D35UQ.js +77 -0
  221. package/lib/chunk-EG2D35UQ.js.map +1 -0
  222. package/lib/chunk-EIPT5P4Q.cjs +120 -0
  223. package/lib/chunk-EIPT5P4Q.cjs.map +1 -0
  224. package/lib/chunk-EJXIWONM.cjs +88 -0
  225. package/lib/chunk-EJXIWONM.cjs.map +1 -0
  226. package/lib/chunk-ELXHUTOX.js +82 -0
  227. package/lib/chunk-ELXHUTOX.js.map +1 -0
  228. package/lib/chunk-ENLBWOGO.cjs +86 -0
  229. package/lib/chunk-ENLBWOGO.cjs.map +1 -0
  230. package/lib/chunk-ENY5ZEDH.js +65 -0
  231. package/lib/chunk-ENY5ZEDH.js.map +1 -0
  232. package/lib/chunk-EQQVT4VQ.js +77 -0
  233. package/lib/chunk-EQQVT4VQ.js.map +1 -0
  234. package/lib/chunk-ESIW5CXF.js +91 -0
  235. package/lib/chunk-ESIW5CXF.js.map +1 -0
  236. package/lib/chunk-EWUUQ4L5.cjs +62 -0
  237. package/lib/chunk-EWUUQ4L5.cjs.map +1 -0
  238. package/lib/chunk-F5BYJ3P2.js +59 -0
  239. package/lib/chunk-F5BYJ3P2.js.map +1 -0
  240. package/lib/chunk-F7QAC5GG.js +33 -0
  241. package/lib/chunk-F7QAC5GG.js.map +1 -0
  242. package/lib/chunk-F7T5ONOF.js +163 -0
  243. package/lib/chunk-F7T5ONOF.js.map +1 -0
  244. package/lib/chunk-FCBQU5M7.js +79 -0
  245. package/lib/chunk-FCBQU5M7.js.map +1 -0
  246. package/lib/chunk-FCHVA2JJ.cjs +70 -0
  247. package/lib/chunk-FCHVA2JJ.cjs.map +1 -0
  248. package/lib/chunk-FEANKEWU.cjs +52 -0
  249. package/lib/chunk-FEANKEWU.cjs.map +1 -0
  250. package/lib/chunk-FHZ4JRXD.js +118 -0
  251. package/lib/chunk-FHZ4JRXD.js.map +1 -0
  252. package/lib/chunk-FIFWQWWX.js +79 -0
  253. package/lib/chunk-FIFWQWWX.js.map +1 -0
  254. package/lib/chunk-FIOQCCDK.js +53 -0
  255. package/lib/chunk-FIOQCCDK.js.map +1 -0
  256. package/lib/chunk-FJUOPWWJ.js +77 -0
  257. package/lib/chunk-FJUOPWWJ.js.map +1 -0
  258. package/lib/chunk-FKZUAC4B.cjs +79 -0
  259. package/lib/chunk-FKZUAC4B.cjs.map +1 -0
  260. package/lib/chunk-FRDOPI4T.cjs +79 -0
  261. package/lib/chunk-FRDOPI4T.cjs.map +1 -0
  262. package/lib/chunk-FVWXA45V.cjs +179 -0
  263. package/lib/chunk-FVWXA45V.cjs.map +1 -0
  264. package/lib/chunk-G2AIQH2C.js +60 -0
  265. package/lib/chunk-G2AIQH2C.js.map +1 -0
  266. package/lib/chunk-G34UCKUZ.cjs +91 -0
  267. package/lib/chunk-G34UCKUZ.cjs.map +1 -0
  268. package/lib/chunk-G4LJVHIH.js +42 -0
  269. package/lib/chunk-G4LJVHIH.js.map +1 -0
  270. package/lib/chunk-G6D5G6IF.cjs +166 -0
  271. package/lib/chunk-G6D5G6IF.cjs.map +1 -0
  272. package/lib/chunk-GGISBFEU.cjs +69 -0
  273. package/lib/chunk-GGISBFEU.cjs.map +1 -0
  274. package/lib/chunk-GGZNCXGR.js +24 -0
  275. package/lib/chunk-GGZNCXGR.js.map +1 -0
  276. package/lib/chunk-GINNGSFR.cjs +120 -0
  277. package/lib/chunk-GINNGSFR.cjs.map +1 -0
  278. package/lib/chunk-GNSSCO7B.js +38 -0
  279. package/lib/chunk-GNSSCO7B.js.map +1 -0
  280. package/lib/chunk-GOF6YS2G.js +241 -0
  281. package/lib/chunk-GOF6YS2G.js.map +1 -0
  282. package/lib/chunk-GOK6KXUU.cjs +52 -0
  283. package/lib/chunk-GOK6KXUU.cjs.map +1 -0
  284. package/lib/chunk-GQNMEV3Q.cjs +243 -0
  285. package/lib/chunk-GQNMEV3Q.cjs.map +1 -0
  286. package/lib/chunk-GQU2VL6D.js +59 -0
  287. package/lib/chunk-GQU2VL6D.js.map +1 -0
  288. package/lib/chunk-GU6AYW56.cjs +118 -0
  289. package/lib/chunk-GU6AYW56.cjs.map +1 -0
  290. package/lib/chunk-GYKGN67Z.cjs +70 -0
  291. package/lib/chunk-GYKGN67Z.cjs.map +1 -0
  292. package/lib/chunk-H2SPYNQJ.js +68 -0
  293. package/lib/chunk-H2SPYNQJ.js.map +1 -0
  294. package/lib/chunk-H3JUBJ6N.js +68 -0
  295. package/lib/chunk-H3JUBJ6N.js.map +1 -0
  296. package/lib/chunk-HBQRDVGM.cjs +79 -0
  297. package/lib/chunk-HBQRDVGM.cjs.map +1 -0
  298. package/lib/chunk-HEL2QWYR.js +196 -0
  299. package/lib/chunk-HEL2QWYR.js.map +1 -0
  300. package/lib/chunk-HFIPME7H.cjs +86 -0
  301. package/lib/chunk-HFIPME7H.cjs.map +1 -0
  302. package/lib/chunk-HI4ESMWV.cjs +44 -0
  303. package/lib/chunk-HI4ESMWV.cjs.map +1 -0
  304. package/lib/chunk-HKHSTGP4.cjs +120 -0
  305. package/lib/chunk-HKHSTGP4.cjs.map +1 -0
  306. package/lib/chunk-HLMRSUWY.cjs +88 -0
  307. package/lib/chunk-HLMRSUWY.cjs.map +1 -0
  308. package/lib/chunk-HXHL7HRZ.cjs +179 -0
  309. package/lib/chunk-HXHL7HRZ.cjs.map +1 -0
  310. package/lib/chunk-HZMMDAUQ.cjs +179 -0
  311. package/lib/chunk-HZMMDAUQ.cjs.map +1 -0
  312. package/lib/chunk-I2JMQPUT.js +42 -0
  313. package/lib/chunk-I2JMQPUT.js.map +1 -0
  314. package/lib/chunk-I5EJCLGC.js +51 -0
  315. package/lib/chunk-I5EJCLGC.js.map +1 -0
  316. package/lib/chunk-I6QTNC6Y.cjs +81 -0
  317. package/lib/chunk-I6QTNC6Y.cjs.map +1 -0
  318. package/lib/chunk-IBQCEBT3.cjs +96 -0
  319. package/lib/chunk-IBQCEBT3.cjs.map +1 -0
  320. package/lib/chunk-IC7XKJ55.cjs +61 -0
  321. package/lib/chunk-IC7XKJ55.cjs.map +1 -0
  322. package/lib/chunk-ICFJKNCL.js +89 -0
  323. package/lib/chunk-ICFJKNCL.js.map +1 -0
  324. package/lib/chunk-IJS5RGNW.js +77 -0
  325. package/lib/chunk-IJS5RGNW.js.map +1 -0
  326. package/lib/chunk-ISR6D4PG.js +68 -0
  327. package/lib/chunk-ISR6D4PG.js.map +1 -0
  328. package/lib/chunk-IXKNMEYJ.js +82 -0
  329. package/lib/chunk-IXKNMEYJ.js.map +1 -0
  330. package/lib/chunk-J6K5KGCO.js +84 -0
  331. package/lib/chunk-J6K5KGCO.js.map +1 -0
  332. package/lib/chunk-JBZ3YPHB.js +60 -0
  333. package/lib/chunk-JBZ3YPHB.js.map +1 -0
  334. package/lib/chunk-JGMO7E75.cjs +193 -0
  335. package/lib/chunk-JGMO7E75.cjs.map +1 -0
  336. package/lib/chunk-JHK2ADFO.js +116 -0
  337. package/lib/chunk-JHK2ADFO.js.map +1 -0
  338. package/lib/chunk-JO3634ZB.cjs +84 -0
  339. package/lib/chunk-JO3634ZB.cjs.map +1 -0
  340. package/lib/chunk-JUZQNX6I.js +42 -0
  341. package/lib/chunk-JUZQNX6I.js.map +1 -0
  342. package/lib/chunk-JYEJBSLC.cjs +91 -0
  343. package/lib/chunk-JYEJBSLC.cjs.map +1 -0
  344. package/lib/chunk-K4W33IZP.cjs +70 -0
  345. package/lib/chunk-K4W33IZP.cjs.map +1 -0
  346. package/lib/chunk-KBQOXEYZ.cjs +81 -0
  347. package/lib/chunk-KBQOXEYZ.cjs.map +1 -0
  348. package/lib/chunk-KIYHIGIY.cjs +179 -0
  349. package/lib/chunk-KIYHIGIY.cjs.map +1 -0
  350. package/lib/chunk-KN6QR2VT.cjs +79 -0
  351. package/lib/chunk-KN6QR2VT.cjs.map +1 -0
  352. package/lib/chunk-LEVF3A5F.cjs +93 -0
  353. package/lib/chunk-LEVF3A5F.cjs.map +1 -0
  354. package/lib/chunk-LMJZ2K6P.js +77 -0
  355. package/lib/chunk-LMJZ2K6P.js.map +1 -0
  356. package/lib/chunk-LSBBCEX5.js +305 -0
  357. package/lib/chunk-LSBBCEX5.js.map +1 -0
  358. package/lib/chunk-LSH2CQLI.js +68 -0
  359. package/lib/chunk-LSH2CQLI.js.map +1 -0
  360. package/lib/chunk-LV5MM4CO.js +118 -0
  361. package/lib/chunk-LV5MM4CO.js.map +1 -0
  362. package/lib/chunk-LVETDD3O.cjs +67 -0
  363. package/lib/chunk-LVETDD3O.cjs.map +1 -0
  364. package/lib/chunk-LYKCJHYR.js +94 -0
  365. package/lib/chunk-LYKCJHYR.js.map +1 -0
  366. package/lib/chunk-M2L4OZJ6.cjs +88 -0
  367. package/lib/chunk-M2L4OZJ6.cjs.map +1 -0
  368. package/lib/chunk-M6EAUX5W.js +35 -0
  369. package/lib/chunk-M6EAUX5W.js.map +1 -0
  370. package/lib/chunk-MF5IYI5N.js +11 -0
  371. package/lib/chunk-MF5IYI5N.js.map +1 -0
  372. package/lib/chunk-MFEIFGUU.js +124 -0
  373. package/lib/chunk-MFEIFGUU.js.map +1 -0
  374. package/lib/chunk-MIJ6DRSS.js +51 -0
  375. package/lib/chunk-MIJ6DRSS.js.map +1 -0
  376. package/lib/chunk-MLMK3BYP.js +27 -0
  377. package/lib/chunk-MLMK3BYP.js.map +1 -0
  378. package/lib/chunk-MN7T5QVU.cjs +70 -0
  379. package/lib/chunk-MN7T5QVU.cjs.map +1 -0
  380. package/lib/chunk-MO3ADFGB.js +50 -0
  381. package/lib/chunk-MO3ADFGB.js.map +1 -0
  382. package/lib/chunk-MWQLDBWJ.js +51 -0
  383. package/lib/chunk-MWQLDBWJ.js.map +1 -0
  384. package/lib/chunk-N25XG3WB.cjs +77 -0
  385. package/lib/chunk-N25XG3WB.cjs.map +1 -0
  386. package/lib/chunk-N7HMWUKO.js +177 -0
  387. package/lib/chunk-N7HMWUKO.js.map +1 -0
  388. package/lib/chunk-N7RIOQEE.cjs +205 -0
  389. package/lib/chunk-N7RIOQEE.cjs.map +1 -0
  390. package/lib/chunk-NCHSV74A.js +180 -0
  391. package/lib/chunk-NCHSV74A.js.map +1 -0
  392. package/lib/chunk-NHCNGRUW.js +321 -0
  393. package/lib/chunk-NHCNGRUW.js.map +1 -0
  394. package/lib/chunk-NJJ3AQFY.cjs +75 -0
  395. package/lib/chunk-NJJ3AQFY.cjs.map +1 -0
  396. package/lib/chunk-NL47AA7V.cjs +323 -0
  397. package/lib/chunk-NL47AA7V.cjs.map +1 -0
  398. package/lib/chunk-NXWBNR4A.js +75 -0
  399. package/lib/chunk-NXWBNR4A.js.map +1 -0
  400. package/lib/chunk-NZ5R6RZP.js +113 -0
  401. package/lib/chunk-NZ5R6RZP.js.map +1 -0
  402. package/lib/chunk-O4UBVFXZ.cjs +80 -0
  403. package/lib/chunk-O4UBVFXZ.cjs.map +1 -0
  404. package/lib/chunk-O5NLCRMD.cjs +131 -0
  405. package/lib/chunk-O5NLCRMD.cjs.map +1 -0
  406. package/lib/chunk-O7ZCUDYF.js +191 -0
  407. package/lib/chunk-O7ZCUDYF.js.map +1 -0
  408. package/lib/chunk-OGZMICIO.cjs +62 -0
  409. package/lib/chunk-OGZMICIO.cjs.map +1 -0
  410. package/lib/chunk-OH4R7NRW.cjs +556 -0
  411. package/lib/chunk-OH4R7NRW.cjs.map +1 -0
  412. package/lib/chunk-OI4ZCY65.js +68 -0
  413. package/lib/chunk-OI4ZCY65.js.map +1 -0
  414. package/lib/chunk-OJGNL5XA.js +87 -0
  415. package/lib/chunk-OJGNL5XA.js.map +1 -0
  416. package/lib/chunk-OKXSPFSZ.js +65 -0
  417. package/lib/chunk-OKXSPFSZ.js.map +1 -0
  418. package/lib/chunk-OOS4I2K6.cjs +70 -0
  419. package/lib/chunk-OOS4I2K6.cjs.map +1 -0
  420. package/lib/chunk-OTRQ6CRD.cjs +94 -0
  421. package/lib/chunk-OTRQ6CRD.cjs.map +1 -0
  422. package/lib/chunk-OVAMOIAR.js +51 -0
  423. package/lib/chunk-OVAMOIAR.js.map +1 -0
  424. package/lib/chunk-OXGJX4G5.cjs +79 -0
  425. package/lib/chunk-OXGJX4G5.cjs.map +1 -0
  426. package/lib/chunk-OXHQKMPQ.js +20 -0
  427. package/lib/chunk-OXHQKMPQ.js.map +1 -0
  428. package/lib/chunk-OXLZLXNI.js +86 -0
  429. package/lib/chunk-OXLZLXNI.js.map +1 -0
  430. package/lib/chunk-OXTZP6XB.js +123 -0
  431. package/lib/chunk-OXTZP6XB.js.map +1 -0
  432. package/lib/chunk-OZ6L33P7.cjs +40 -0
  433. package/lib/chunk-OZ6L33P7.cjs.map +1 -0
  434. package/lib/chunk-P2IUL4K4.cjs +52 -0
  435. package/lib/chunk-P2IUL4K4.cjs.map +1 -0
  436. package/lib/chunk-P7FIQR6P.cjs +91 -0
  437. package/lib/chunk-P7FIQR6P.cjs.map +1 -0
  438. package/lib/chunk-PA3XKIYI.cjs +98 -0
  439. package/lib/chunk-PA3XKIYI.cjs.map +1 -0
  440. package/lib/chunk-PXI3FFHR.js +542 -0
  441. package/lib/chunk-PXI3FFHR.js.map +1 -0
  442. package/lib/chunk-QELDOHCC.cjs +63 -0
  443. package/lib/chunk-QELDOHCC.cjs.map +1 -0
  444. package/lib/chunk-QHJ6WOJI.js +69 -0
  445. package/lib/chunk-QHJ6WOJI.js.map +1 -0
  446. package/lib/chunk-QIYG7O7V.js +77 -0
  447. package/lib/chunk-QIYG7O7V.js.map +1 -0
  448. package/lib/chunk-QM3JEWRN.cjs +93 -0
  449. package/lib/chunk-QM3JEWRN.cjs.map +1 -0
  450. package/lib/chunk-QQAD7R24.js +61 -0
  451. package/lib/chunk-QQAD7R24.js.map +1 -0
  452. package/lib/chunk-QX4Z7FX4.js +177 -0
  453. package/lib/chunk-QX4Z7FX4.js.map +1 -0
  454. package/lib/chunk-QZBOTY6C.js +203 -0
  455. package/lib/chunk-QZBOTY6C.js.map +1 -0
  456. package/lib/chunk-R4LYMSQW.cjs +61 -0
  457. package/lib/chunk-R4LYMSQW.cjs.map +1 -0
  458. package/lib/chunk-R7MCKMYA.js +177 -0
  459. package/lib/chunk-R7MCKMYA.js.map +1 -0
  460. package/lib/chunk-R7PD7BIN.js +164 -0
  461. package/lib/chunk-R7PD7BIN.js.map +1 -0
  462. package/lib/chunk-RHVGUEEZ.cjs +82 -0
  463. package/lib/chunk-RHVGUEEZ.cjs.map +1 -0
  464. package/lib/chunk-RNVBXM52.cjs +79 -0
  465. package/lib/chunk-RNVBXM52.cjs.map +1 -0
  466. package/lib/chunk-ROIDGFBH.js +68 -0
  467. package/lib/chunk-ROIDGFBH.js.map +1 -0
  468. package/lib/chunk-RT6CH7MF.js +120 -0
  469. package/lib/chunk-RT6CH7MF.js.map +1 -0
  470. package/lib/chunk-RZXG6SYW.js +50 -0
  471. package/lib/chunk-RZXG6SYW.js.map +1 -0
  472. package/lib/chunk-S2E6K3CX.js +88 -0
  473. package/lib/chunk-S2E6K3CX.js.map +1 -0
  474. package/lib/chunk-S3KPKHRF.cjs +79 -0
  475. package/lib/chunk-S3KPKHRF.cjs.map +1 -0
  476. package/lib/chunk-S3PPZ4MN.cjs +170 -0
  477. package/lib/chunk-S3PPZ4MN.cjs.map +1 -0
  478. package/lib/chunk-S4N7TNLE.js +132 -0
  479. package/lib/chunk-S4N7TNLE.js.map +1 -0
  480. package/lib/chunk-S6LUE4BK.cjs +35 -0
  481. package/lib/chunk-S6LUE4BK.cjs.map +1 -0
  482. package/lib/chunk-SAU26L56.js +91 -0
  483. package/lib/chunk-SAU26L56.js.map +1 -0
  484. package/lib/chunk-SB36RX2R.cjs +85 -0
  485. package/lib/chunk-SB36RX2R.cjs.map +1 -0
  486. package/lib/chunk-SD6TP5QY.cjs +29 -0
  487. package/lib/chunk-SD6TP5QY.cjs.map +1 -0
  488. package/lib/chunk-SITF5ZAC.js +68 -0
  489. package/lib/chunk-SITF5ZAC.js.map +1 -0
  490. package/lib/chunk-SQTCUWGR.cjs +67 -0
  491. package/lib/chunk-SQTCUWGR.cjs.map +1 -0
  492. package/lib/chunk-SSXDR6PH.js +86 -0
  493. package/lib/chunk-SSXDR6PH.js.map +1 -0
  494. package/lib/chunk-SYRDEPVH.js +68 -0
  495. package/lib/chunk-SYRDEPVH.js.map +1 -0
  496. package/lib/chunk-TBRFFV55.cjs +53 -0
  497. package/lib/chunk-TBRFFV55.cjs.map +1 -0
  498. package/lib/chunk-TEOE3WNS.cjs +102 -0
  499. package/lib/chunk-TEOE3WNS.cjs.map +1 -0
  500. package/lib/chunk-TI5JILQ4.cjs +134 -0
  501. package/lib/chunk-TI5JILQ4.cjs.map +1 -0
  502. package/lib/chunk-TVRITF4Q.cjs +164 -0
  503. package/lib/chunk-TVRITF4Q.cjs.map +1 -0
  504. package/lib/chunk-U222MLC5.cjs +88 -0
  505. package/lib/chunk-U222MLC5.cjs.map +1 -0
  506. package/lib/chunk-UARW4YQW.cjs +70 -0
  507. package/lib/chunk-UARW4YQW.cjs.map +1 -0
  508. package/lib/chunk-UCTSAXGF.cjs +122 -0
  509. package/lib/chunk-UCTSAXGF.cjs.map +1 -0
  510. package/lib/chunk-UE2ALA2G.js +36 -0
  511. package/lib/chunk-UE2ALA2G.js.map +1 -0
  512. package/lib/chunk-UEXD6ROE.cjs +44 -0
  513. package/lib/chunk-UEXD6ROE.cjs.map +1 -0
  514. package/lib/chunk-ULS6IZPC.js +86 -0
  515. package/lib/chunk-ULS6IZPC.js.map +1 -0
  516. package/lib/chunk-UUEYW4SI.cjs +55 -0
  517. package/lib/chunk-UUEYW4SI.cjs.map +1 -0
  518. package/lib/chunk-V3NFJBSM.js +50 -0
  519. package/lib/chunk-V3NFJBSM.js.map +1 -0
  520. package/lib/chunk-V4KUITPI.js +86 -0
  521. package/lib/chunk-V4KUITPI.js.map +1 -0
  522. package/lib/chunk-VBQSG5M5.js +92 -0
  523. package/lib/chunk-VBQSG5M5.js.map +1 -0
  524. package/lib/chunk-VCRPNIEH.cjs +70 -0
  525. package/lib/chunk-VCRPNIEH.cjs.map +1 -0
  526. package/lib/chunk-VE3SPP3G.js +177 -0
  527. package/lib/chunk-VE3SPP3G.js.map +1 -0
  528. package/lib/chunk-VNBY6YSL.js +82 -0
  529. package/lib/chunk-VNBY6YSL.js.map +1 -0
  530. package/lib/chunk-VNML47KB.js +59 -0
  531. package/lib/chunk-VNML47KB.js.map +1 -0
  532. package/lib/chunk-VP4IZXYD.cjs +26 -0
  533. package/lib/chunk-VP4IZXYD.cjs.map +1 -0
  534. package/lib/chunk-VVZDCEJY.js +68 -0
  535. package/lib/chunk-VVZDCEJY.js.map +1 -0
  536. package/lib/chunk-VWLPSTPL.cjs +91 -0
  537. package/lib/chunk-VWLPSTPL.cjs.map +1 -0
  538. package/lib/chunk-VY2QQ6GL.cjs +126 -0
  539. package/lib/chunk-VY2QQ6GL.cjs.map +1 -0
  540. package/lib/chunk-VZPW7ARO.cjs +90 -0
  541. package/lib/chunk-VZPW7ARO.cjs.map +1 -0
  542. package/lib/chunk-W35HDHDU.js +191 -0
  543. package/lib/chunk-W35HDHDU.js.map +1 -0
  544. package/lib/chunk-W3DJZSUC.js +68 -0
  545. package/lib/chunk-W3DJZSUC.js.map +1 -0
  546. package/lib/chunk-WCBPR2FU.js +177 -0
  547. package/lib/chunk-WCBPR2FU.js.map +1 -0
  548. package/lib/chunk-WJLT2Q6F.cjs +79 -0
  549. package/lib/chunk-WJLT2Q6F.cjs.map +1 -0
  550. package/lib/chunk-WKDK4TTS.cjs +80 -0
  551. package/lib/chunk-WKDK4TTS.cjs.map +1 -0
  552. package/lib/chunk-WMDLFAGR.cjs +53 -0
  553. package/lib/chunk-WMDLFAGR.cjs.map +1 -0
  554. package/lib/chunk-WO5LQQSK.cjs +4 -0
  555. package/lib/chunk-WO5LQQSK.cjs.map +1 -0
  556. package/lib/chunk-WOVCY6ON.cjs +22 -0
  557. package/lib/chunk-WOVCY6ON.cjs.map +1 -0
  558. package/lib/chunk-WTD6QSTI.js +89 -0
  559. package/lib/chunk-WTD6QSTI.js.map +1 -0
  560. package/lib/chunk-WVVUEB6A.cjs +70 -0
  561. package/lib/chunk-WVVUEB6A.cjs.map +1 -0
  562. package/lib/chunk-X6J7WQEA.js +89 -0
  563. package/lib/chunk-X6J7WQEA.js.map +1 -0
  564. package/lib/chunk-XE46YXZW.js +51 -0
  565. package/lib/chunk-XE46YXZW.js.map +1 -0
  566. package/lib/chunk-XGCAYVWC.js +73 -0
  567. package/lib/chunk-XGCAYVWC.js.map +1 -0
  568. package/lib/chunk-XKFKPTKY.cjs +115 -0
  569. package/lib/chunk-XKFKPTKY.cjs.map +1 -0
  570. package/lib/chunk-XS3PGMW7.cjs +77 -0
  571. package/lib/chunk-XS3PGMW7.cjs.map +1 -0
  572. package/lib/chunk-XUIGE5EC.js +68 -0
  573. package/lib/chunk-XUIGE5EC.js.map +1 -0
  574. package/lib/chunk-Y6XMMFGD.js +68 -0
  575. package/lib/chunk-Y6XMMFGD.js.map +1 -0
  576. package/lib/chunk-Y7FJ5Q2J.cjs +72 -0
  577. package/lib/chunk-Y7FJ5Q2J.cjs.map +1 -0
  578. package/lib/chunk-YJ3O5XLC.js +3 -0
  579. package/lib/chunk-YJ3O5XLC.js.map +1 -0
  580. package/lib/chunk-YKSGPQWF.cjs +165 -0
  581. package/lib/chunk-YKSGPQWF.cjs.map +1 -0
  582. package/lib/chunk-YLGAEBN4.js +96 -0
  583. package/lib/chunk-YLGAEBN4.js.map +1 -0
  584. package/lib/chunk-YOTHMSEP.js +68 -0
  585. package/lib/chunk-YOTHMSEP.js.map +1 -0
  586. package/lib/chunk-YPAKLMVE.js +60 -0
  587. package/lib/chunk-YPAKLMVE.js.map +1 -0
  588. package/lib/chunk-YQLZRFYW.js +77 -0
  589. package/lib/chunk-YQLZRFYW.js.map +1 -0
  590. package/lib/chunk-YXFYXDGG.js +154 -0
  591. package/lib/chunk-YXFYXDGG.js.map +1 -0
  592. package/lib/chunk-YZDBPUNJ.cjs +313 -0
  593. package/lib/chunk-YZDBPUNJ.cjs.map +1 -0
  594. package/lib/chunk-Z3LIS3PJ.js +77 -0
  595. package/lib/chunk-Z3LIS3PJ.js.map +1 -0
  596. package/lib/chunk-ZI7VCQUJ.cjs +84 -0
  597. package/lib/chunk-ZI7VCQUJ.cjs.map +1 -0
  598. package/lib/chunk-ZJX6FYOO.cjs +53 -0
  599. package/lib/chunk-ZJX6FYOO.cjs.map +1 -0
  600. package/lib/chunk-ZMIDBZVE.js +89 -0
  601. package/lib/chunk-ZMIDBZVE.js.map +1 -0
  602. package/lib/chunk-ZTDGE4FR.js +92 -0
  603. package/lib/chunk-ZTDGE4FR.js.map +1 -0
  604. package/lib/chunk-ZV322LW2.js +89 -0
  605. package/lib/chunk-ZV322LW2.js.map +1 -0
  606. package/lib/chunk-ZX75XWHD.js +177 -0
  607. package/lib/chunk-ZX75XWHD.js.map +1 -0
  608. package/lib/client.cjs +7 -6
  609. package/lib/client.d.cts +2 -1
  610. package/lib/client.d.ts +2 -1
  611. package/lib/client.js +6 -5
  612. package/lib/commercelayer.cjs +20 -15
  613. package/lib/commercelayer.d.cts +11 -6
  614. package/lib/commercelayer.d.ts +11 -6
  615. package/lib/commercelayer.js +10 -9
  616. package/lib/config.cjs +2 -2
  617. package/lib/config.d.cts +1 -1
  618. package/lib/config.d.ts +1 -1
  619. package/lib/config.js +1 -1
  620. package/lib/debug.cjs +2 -2
  621. package/lib/debug.js +1 -1
  622. package/lib/enum.cjs +14 -14
  623. package/lib/enum.d.cts +2 -2
  624. package/lib/enum.d.ts +2 -2
  625. package/lib/enum.js +1 -1
  626. package/lib/error.cjs +9 -9
  627. package/lib/error.js +2 -2
  628. package/lib/fetch-D4JGyBOl.d.cts +55 -0
  629. package/lib/fetch-D4JGyBOl.d.ts +55 -0
  630. package/lib/fetch.cjs +4 -4
  631. package/lib/fetch.d.cts +1 -1
  632. package/lib/fetch.d.ts +1 -1
  633. package/lib/fetch.js +2 -2
  634. package/lib/index.cjs +154 -669
  635. package/lib/index.d.cts +6 -4
  636. package/lib/index.d.ts +5 -3
  637. package/lib/index.js +147 -142
  638. package/lib/interceptor.d.cts +1 -1
  639. package/lib/interceptor.d.ts +1 -1
  640. package/lib/jsonapi.cjs +11 -10
  641. package/lib/jsonapi.d.cts +2 -2
  642. package/lib/jsonapi.d.ts +2 -2
  643. package/lib/jsonapi.js +9 -8
  644. package/lib/model.d.cts +2 -2
  645. package/lib/model.d.ts +2 -2
  646. package/lib/query.cjs +6 -6
  647. package/lib/query.d.cts +2 -2
  648. package/lib/query.d.ts +2 -2
  649. package/lib/query.js +3 -3
  650. package/lib/resource.cjs +14 -13
  651. package/lib/resource.d.cts +2 -2
  652. package/lib/resource.d.ts +2 -2
  653. package/lib/resource.js +9 -8
  654. package/lib/resources/addresses.cjs +11 -10
  655. package/lib/resources/addresses.d.cts +3 -3
  656. package/lib/resources/addresses.d.ts +2 -2
  657. package/lib/resources/addresses.js +10 -9
  658. package/lib/resources/adjustments.cjs +11 -10
  659. package/lib/resources/adjustments.d.cts +3 -3
  660. package/lib/resources/adjustments.d.ts +2 -2
  661. package/lib/resources/adjustments.js +10 -9
  662. package/lib/resources/adyen_gateways.cjs +11 -10
  663. package/lib/resources/adyen_gateways.d.cts +3 -3
  664. package/lib/resources/adyen_gateways.d.ts +2 -2
  665. package/lib/resources/adyen_gateways.js +10 -9
  666. package/lib/resources/adyen_payments.cjs +11 -10
  667. package/lib/resources/adyen_payments.d.cts +3 -3
  668. package/lib/resources/adyen_payments.d.ts +2 -2
  669. package/lib/resources/adyen_payments.js +10 -9
  670. package/lib/resources/applications.cjs +11 -10
  671. package/lib/resources/applications.d.cts +3 -3
  672. package/lib/resources/applications.d.ts +2 -2
  673. package/lib/resources/applications.js +10 -9
  674. package/lib/resources/attachments.cjs +11 -10
  675. package/lib/resources/attachments.d.cts +3 -3
  676. package/lib/resources/attachments.d.ts +2 -2
  677. package/lib/resources/attachments.js +10 -9
  678. package/lib/resources/authorizations.cjs +11 -10
  679. package/lib/resources/authorizations.d.cts +3 -3
  680. package/lib/resources/authorizations.d.ts +2 -2
  681. package/lib/resources/authorizations.js +10 -9
  682. package/lib/resources/avalara_accounts.cjs +11 -10
  683. package/lib/resources/avalara_accounts.d.cts +3 -3
  684. package/lib/resources/avalara_accounts.d.ts +2 -2
  685. package/lib/resources/avalara_accounts.js +10 -9
  686. package/lib/resources/axerve_gateways.cjs +11 -10
  687. package/lib/resources/axerve_gateways.d.cts +3 -3
  688. package/lib/resources/axerve_gateways.d.ts +2 -2
  689. package/lib/resources/axerve_gateways.js +10 -9
  690. package/lib/resources/axerve_payments.cjs +11 -10
  691. package/lib/resources/axerve_payments.d.cts +3 -3
  692. package/lib/resources/axerve_payments.d.ts +2 -2
  693. package/lib/resources/axerve_payments.js +10 -9
  694. package/lib/resources/billing_info_validation_rules.cjs +21 -0
  695. package/lib/resources/billing_info_validation_rules.cjs.map +1 -0
  696. package/lib/resources/billing_info_validation_rules.d.cts +7 -0
  697. package/lib/resources/billing_info_validation_rules.d.ts +4 -0
  698. package/lib/resources/billing_info_validation_rules.js +13 -0
  699. package/lib/resources/billing_info_validation_rules.js.map +1 -0
  700. package/lib/resources/bing_geocoders.cjs +11 -10
  701. package/lib/resources/bing_geocoders.d.cts +3 -3
  702. package/lib/resources/bing_geocoders.d.ts +2 -2
  703. package/lib/resources/bing_geocoders.js +10 -9
  704. package/lib/resources/braintree_gateways.cjs +11 -10
  705. package/lib/resources/braintree_gateways.d.cts +3 -3
  706. package/lib/resources/braintree_gateways.d.ts +2 -2
  707. package/lib/resources/braintree_gateways.js +10 -9
  708. package/lib/resources/braintree_payments.cjs +11 -10
  709. package/lib/resources/braintree_payments.d.cts +3 -3
  710. package/lib/resources/braintree_payments.d.ts +2 -2
  711. package/lib/resources/braintree_payments.js +10 -9
  712. package/lib/resources/bundles.cjs +11 -10
  713. package/lib/resources/bundles.d.cts +3 -3
  714. package/lib/resources/bundles.d.ts +2 -2
  715. package/lib/resources/bundles.js +10 -9
  716. package/lib/resources/buy_x_pay_y_promotions.cjs +11 -10
  717. package/lib/resources/buy_x_pay_y_promotions.d.cts +3 -3
  718. package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
  719. package/lib/resources/buy_x_pay_y_promotions.js +10 -9
  720. package/lib/resources/captures.cjs +11 -10
  721. package/lib/resources/captures.d.cts +3 -3
  722. package/lib/resources/captures.d.ts +2 -2
  723. package/lib/resources/captures.js +10 -9
  724. package/lib/resources/carrier_accounts.cjs +11 -10
  725. package/lib/resources/carrier_accounts.d.cts +3 -3
  726. package/lib/resources/carrier_accounts.d.ts +2 -2
  727. package/lib/resources/carrier_accounts.js +10 -9
  728. package/lib/resources/checkout_com_gateways.cjs +11 -10
  729. package/lib/resources/checkout_com_gateways.d.cts +3 -3
  730. package/lib/resources/checkout_com_gateways.d.ts +2 -2
  731. package/lib/resources/checkout_com_gateways.js +10 -9
  732. package/lib/resources/checkout_com_payments.cjs +11 -10
  733. package/lib/resources/checkout_com_payments.d.cts +3 -3
  734. package/lib/resources/checkout_com_payments.d.ts +2 -2
  735. package/lib/resources/checkout_com_payments.js +10 -9
  736. package/lib/resources/cleanups.cjs +11 -10
  737. package/lib/resources/cleanups.d.cts +3 -3
  738. package/lib/resources/cleanups.d.ts +2 -2
  739. package/lib/resources/cleanups.js +10 -9
  740. package/lib/resources/coupon_codes_promotion_rules.cjs +11 -10
  741. package/lib/resources/coupon_codes_promotion_rules.d.cts +3 -3
  742. package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
  743. package/lib/resources/coupon_codes_promotion_rules.js +10 -9
  744. package/lib/resources/coupon_recipients.cjs +11 -10
  745. package/lib/resources/coupon_recipients.d.cts +3 -3
  746. package/lib/resources/coupon_recipients.d.ts +2 -2
  747. package/lib/resources/coupon_recipients.js +10 -9
  748. package/lib/resources/coupons.cjs +11 -10
  749. package/lib/resources/coupons.d.cts +3 -3
  750. package/lib/resources/coupons.d.ts +2 -2
  751. package/lib/resources/coupons.js +10 -9
  752. package/lib/resources/custom_promotion_rules.cjs +11 -10
  753. package/lib/resources/custom_promotion_rules.d.cts +3 -3
  754. package/lib/resources/custom_promotion_rules.d.ts +2 -2
  755. package/lib/resources/custom_promotion_rules.js +10 -9
  756. package/lib/resources/customer_addresses.cjs +11 -10
  757. package/lib/resources/customer_addresses.d.cts +3 -3
  758. package/lib/resources/customer_addresses.d.ts +2 -2
  759. package/lib/resources/customer_addresses.js +10 -9
  760. package/lib/resources/customer_groups.cjs +11 -10
  761. package/lib/resources/customer_groups.d.cts +3 -3
  762. package/lib/resources/customer_groups.d.ts +2 -2
  763. package/lib/resources/customer_groups.js +10 -9
  764. package/lib/resources/customer_password_resets.cjs +11 -10
  765. package/lib/resources/customer_password_resets.d.cts +3 -3
  766. package/lib/resources/customer_password_resets.d.ts +2 -2
  767. package/lib/resources/customer_password_resets.js +10 -9
  768. package/lib/resources/customer_payment_sources.cjs +11 -10
  769. package/lib/resources/customer_payment_sources.d.cts +3 -3
  770. package/lib/resources/customer_payment_sources.d.ts +2 -2
  771. package/lib/resources/customer_payment_sources.js +10 -9
  772. package/lib/resources/customer_subscriptions.cjs +11 -10
  773. package/lib/resources/customer_subscriptions.d.cts +3 -3
  774. package/lib/resources/customer_subscriptions.d.ts +2 -2
  775. package/lib/resources/customer_subscriptions.js +10 -9
  776. package/lib/resources/customers.cjs +11 -10
  777. package/lib/resources/customers.d.cts +3 -3
  778. package/lib/resources/customers.d.ts +2 -2
  779. package/lib/resources/customers.js +10 -9
  780. package/lib/resources/delivery_lead_times.cjs +11 -10
  781. package/lib/resources/delivery_lead_times.d.cts +3 -3
  782. package/lib/resources/delivery_lead_times.d.ts +2 -2
  783. package/lib/resources/delivery_lead_times.js +10 -9
  784. package/lib/resources/discount_engine_items.cjs +11 -10
  785. package/lib/resources/discount_engine_items.d.cts +3 -3
  786. package/lib/resources/discount_engine_items.d.ts +2 -2
  787. package/lib/resources/discount_engine_items.js +10 -9
  788. package/lib/resources/discount_engines.cjs +11 -10
  789. package/lib/resources/discount_engines.d.cts +3 -3
  790. package/lib/resources/discount_engines.d.ts +2 -2
  791. package/lib/resources/discount_engines.js +10 -9
  792. package/lib/resources/easypost_pickups.cjs +11 -10
  793. package/lib/resources/easypost_pickups.d.cts +3 -3
  794. package/lib/resources/easypost_pickups.d.ts +2 -2
  795. package/lib/resources/easypost_pickups.js +10 -9
  796. package/lib/resources/event_callbacks.cjs +11 -10
  797. package/lib/resources/event_callbacks.d.cts +3 -3
  798. package/lib/resources/event_callbacks.d.ts +2 -2
  799. package/lib/resources/event_callbacks.js +10 -9
  800. package/lib/resources/event_stores.cjs +11 -10
  801. package/lib/resources/event_stores.d.cts +3 -3
  802. package/lib/resources/event_stores.d.ts +2 -2
  803. package/lib/resources/event_stores.js +10 -9
  804. package/lib/resources/events.cjs +11 -10
  805. package/lib/resources/events.d.cts +3 -3
  806. package/lib/resources/events.d.ts +2 -2
  807. package/lib/resources/events.js +10 -9
  808. package/lib/resources/exports.cjs +11 -10
  809. package/lib/resources/exports.d.cts +3 -3
  810. package/lib/resources/exports.d.ts +2 -2
  811. package/lib/resources/exports.js +10 -9
  812. package/lib/resources/external_gateways.cjs +11 -10
  813. package/lib/resources/external_gateways.d.cts +3 -3
  814. package/lib/resources/external_gateways.d.ts +2 -2
  815. package/lib/resources/external_gateways.js +10 -9
  816. package/lib/resources/external_payments.cjs +11 -10
  817. package/lib/resources/external_payments.d.cts +3 -3
  818. package/lib/resources/external_payments.d.ts +2 -2
  819. package/lib/resources/external_payments.js +10 -9
  820. package/lib/resources/external_promotions.cjs +11 -10
  821. package/lib/resources/external_promotions.d.cts +3 -3
  822. package/lib/resources/external_promotions.d.ts +2 -2
  823. package/lib/resources/external_promotions.js +10 -9
  824. package/lib/resources/external_tax_calculators.cjs +11 -10
  825. package/lib/resources/external_tax_calculators.d.cts +3 -3
  826. package/lib/resources/external_tax_calculators.d.ts +2 -2
  827. package/lib/resources/external_tax_calculators.js +10 -9
  828. package/lib/resources/fixed_amount_promotions.cjs +11 -10
  829. package/lib/resources/fixed_amount_promotions.d.cts +3 -3
  830. package/lib/resources/fixed_amount_promotions.d.ts +2 -2
  831. package/lib/resources/fixed_amount_promotions.js +10 -9
  832. package/lib/resources/fixed_price_promotions.cjs +11 -10
  833. package/lib/resources/fixed_price_promotions.d.cts +3 -3
  834. package/lib/resources/fixed_price_promotions.d.ts +2 -2
  835. package/lib/resources/fixed_price_promotions.js +10 -9
  836. package/lib/resources/flex_promotions.cjs +11 -10
  837. package/lib/resources/flex_promotions.d.cts +3 -3
  838. package/lib/resources/flex_promotions.d.ts +2 -2
  839. package/lib/resources/flex_promotions.js +10 -9
  840. package/lib/resources/free_gift_promotions.cjs +11 -10
  841. package/lib/resources/free_gift_promotions.d.cts +3 -3
  842. package/lib/resources/free_gift_promotions.d.ts +2 -2
  843. package/lib/resources/free_gift_promotions.js +10 -9
  844. package/lib/resources/free_shipping_promotions.cjs +11 -10
  845. package/lib/resources/free_shipping_promotions.d.cts +3 -3
  846. package/lib/resources/free_shipping_promotions.d.ts +2 -2
  847. package/lib/resources/free_shipping_promotions.js +10 -9
  848. package/lib/resources/geocoders.cjs +11 -10
  849. package/lib/resources/geocoders.d.cts +3 -3
  850. package/lib/resources/geocoders.d.ts +2 -2
  851. package/lib/resources/geocoders.js +10 -9
  852. package/lib/resources/gift_card_recipients.cjs +11 -10
  853. package/lib/resources/gift_card_recipients.d.cts +3 -3
  854. package/lib/resources/gift_card_recipients.d.ts +2 -2
  855. package/lib/resources/gift_card_recipients.js +10 -9
  856. package/lib/resources/gift_cards.cjs +11 -10
  857. package/lib/resources/gift_cards.d.cts +3 -3
  858. package/lib/resources/gift_cards.d.ts +2 -2
  859. package/lib/resources/gift_cards.js +10 -9
  860. package/lib/resources/google_geocoders.cjs +11 -10
  861. package/lib/resources/google_geocoders.d.cts +3 -3
  862. package/lib/resources/google_geocoders.d.ts +2 -2
  863. package/lib/resources/google_geocoders.js +10 -9
  864. package/lib/resources/imports.cjs +11 -10
  865. package/lib/resources/imports.d.cts +3 -3
  866. package/lib/resources/imports.d.ts +2 -2
  867. package/lib/resources/imports.js +10 -9
  868. package/lib/resources/in_stock_subscriptions.cjs +11 -10
  869. package/lib/resources/in_stock_subscriptions.d.cts +3 -3
  870. package/lib/resources/in_stock_subscriptions.d.ts +2 -2
  871. package/lib/resources/in_stock_subscriptions.js +10 -9
  872. package/lib/resources/inventory_models.cjs +11 -10
  873. package/lib/resources/inventory_models.d.cts +3 -3
  874. package/lib/resources/inventory_models.d.ts +2 -2
  875. package/lib/resources/inventory_models.js +10 -9
  876. package/lib/resources/inventory_return_locations.cjs +11 -10
  877. package/lib/resources/inventory_return_locations.d.cts +3 -3
  878. package/lib/resources/inventory_return_locations.d.ts +2 -2
  879. package/lib/resources/inventory_return_locations.js +10 -9
  880. package/lib/resources/inventory_stock_locations.cjs +11 -10
  881. package/lib/resources/inventory_stock_locations.d.cts +3 -3
  882. package/lib/resources/inventory_stock_locations.d.ts +2 -2
  883. package/lib/resources/inventory_stock_locations.js +10 -9
  884. package/lib/resources/klarna_gateways.cjs +11 -10
  885. package/lib/resources/klarna_gateways.d.cts +3 -3
  886. package/lib/resources/klarna_gateways.d.ts +2 -2
  887. package/lib/resources/klarna_gateways.js +10 -9
  888. package/lib/resources/klarna_payments.cjs +11 -10
  889. package/lib/resources/klarna_payments.d.cts +3 -3
  890. package/lib/resources/klarna_payments.d.ts +2 -2
  891. package/lib/resources/klarna_payments.js +10 -9
  892. package/lib/resources/line_item_options.cjs +11 -10
  893. package/lib/resources/line_item_options.d.cts +3 -3
  894. package/lib/resources/line_item_options.d.ts +2 -2
  895. package/lib/resources/line_item_options.js +10 -9
  896. package/lib/resources/line_items.cjs +11 -10
  897. package/lib/resources/line_items.d.cts +3 -3
  898. package/lib/resources/line_items.d.ts +2 -2
  899. package/lib/resources/line_items.js +10 -9
  900. package/lib/resources/links.cjs +11 -10
  901. package/lib/resources/links.d.cts +3 -3
  902. package/lib/resources/links.d.ts +2 -2
  903. package/lib/resources/links.js +10 -9
  904. package/lib/resources/manual_gateways.cjs +11 -10
  905. package/lib/resources/manual_gateways.d.cts +3 -3
  906. package/lib/resources/manual_gateways.d.ts +2 -2
  907. package/lib/resources/manual_gateways.js +10 -9
  908. package/lib/resources/manual_tax_calculators.cjs +11 -10
  909. package/lib/resources/manual_tax_calculators.d.cts +3 -3
  910. package/lib/resources/manual_tax_calculators.d.ts +2 -2
  911. package/lib/resources/manual_tax_calculators.js +10 -9
  912. package/lib/resources/markets.cjs +11 -10
  913. package/lib/resources/markets.d.cts +3 -3
  914. package/lib/resources/markets.d.ts +2 -2
  915. package/lib/resources/markets.js +10 -9
  916. package/lib/resources/merchants.cjs +11 -10
  917. package/lib/resources/merchants.d.cts +3 -3
  918. package/lib/resources/merchants.d.ts +2 -2
  919. package/lib/resources/merchants.js +10 -9
  920. package/lib/resources/notifications.cjs +11 -10
  921. package/lib/resources/notifications.d.cts +3 -3
  922. package/lib/resources/notifications.d.ts +2 -2
  923. package/lib/resources/notifications.js +10 -9
  924. package/lib/resources/order_amount_promotion_rules.cjs +11 -10
  925. package/lib/resources/order_amount_promotion_rules.d.cts +3 -3
  926. package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
  927. package/lib/resources/order_amount_promotion_rules.js +10 -9
  928. package/lib/resources/order_copies.cjs +11 -10
  929. package/lib/resources/order_copies.d.cts +3 -3
  930. package/lib/resources/order_copies.d.ts +2 -2
  931. package/lib/resources/order_copies.js +10 -9
  932. package/lib/resources/order_factories.cjs +11 -10
  933. package/lib/resources/order_factories.d.cts +3 -3
  934. package/lib/resources/order_factories.d.ts +2 -2
  935. package/lib/resources/order_factories.js +10 -9
  936. package/lib/resources/order_subscription_items.cjs +11 -10
  937. package/lib/resources/order_subscription_items.d.cts +3 -3
  938. package/lib/resources/order_subscription_items.d.ts +2 -2
  939. package/lib/resources/order_subscription_items.js +10 -9
  940. package/lib/resources/order_subscriptions.cjs +11 -10
  941. package/lib/resources/order_subscriptions.d.cts +3 -3
  942. package/lib/resources/order_subscriptions.d.ts +2 -2
  943. package/lib/resources/order_subscriptions.js +10 -9
  944. package/lib/resources/order_validation_rules.cjs +21 -0
  945. package/lib/resources/order_validation_rules.cjs.map +1 -0
  946. package/lib/resources/order_validation_rules.d.cts +7 -0
  947. package/lib/resources/order_validation_rules.d.ts +4 -0
  948. package/lib/resources/order_validation_rules.js +13 -0
  949. package/lib/resources/order_validation_rules.js.map +1 -0
  950. package/lib/resources/orders.cjs +11 -10
  951. package/lib/resources/orders.d.cts +3 -3
  952. package/lib/resources/orders.d.ts +2 -2
  953. package/lib/resources/orders.js +10 -9
  954. package/lib/resources/organizations.cjs +11 -10
  955. package/lib/resources/organizations.d.cts +3 -3
  956. package/lib/resources/organizations.d.ts +2 -2
  957. package/lib/resources/organizations.js +10 -9
  958. package/lib/resources/packages.cjs +11 -10
  959. package/lib/resources/packages.d.cts +3 -3
  960. package/lib/resources/packages.d.ts +2 -2
  961. package/lib/resources/packages.js +10 -9
  962. package/lib/resources/parcel_line_items.cjs +11 -10
  963. package/lib/resources/parcel_line_items.d.cts +3 -3
  964. package/lib/resources/parcel_line_items.d.ts +2 -2
  965. package/lib/resources/parcel_line_items.js +10 -9
  966. package/lib/resources/parcels.cjs +11 -10
  967. package/lib/resources/parcels.d.cts +3 -3
  968. package/lib/resources/parcels.d.ts +2 -2
  969. package/lib/resources/parcels.js +10 -9
  970. package/lib/resources/payment_gateways.cjs +11 -10
  971. package/lib/resources/payment_gateways.d.cts +3 -3
  972. package/lib/resources/payment_gateways.d.ts +2 -2
  973. package/lib/resources/payment_gateways.js +10 -9
  974. package/lib/resources/payment_methods.cjs +11 -10
  975. package/lib/resources/payment_methods.d.cts +3 -3
  976. package/lib/resources/payment_methods.d.ts +2 -2
  977. package/lib/resources/payment_methods.js +10 -9
  978. package/lib/resources/payment_options.cjs +11 -10
  979. package/lib/resources/payment_options.d.cts +3 -3
  980. package/lib/resources/payment_options.d.ts +2 -2
  981. package/lib/resources/payment_options.js +10 -9
  982. package/lib/resources/paypal_gateways.cjs +11 -10
  983. package/lib/resources/paypal_gateways.d.cts +3 -3
  984. package/lib/resources/paypal_gateways.d.ts +2 -2
  985. package/lib/resources/paypal_gateways.js +10 -9
  986. package/lib/resources/paypal_payments.cjs +11 -10
  987. package/lib/resources/paypal_payments.d.cts +3 -3
  988. package/lib/resources/paypal_payments.d.ts +2 -2
  989. package/lib/resources/paypal_payments.js +10 -9
  990. package/lib/resources/percentage_discount_promotions.cjs +11 -10
  991. package/lib/resources/percentage_discount_promotions.d.cts +3 -3
  992. package/lib/resources/percentage_discount_promotions.d.ts +2 -2
  993. package/lib/resources/percentage_discount_promotions.js +10 -9
  994. package/lib/resources/pickups.cjs +11 -10
  995. package/lib/resources/pickups.d.cts +3 -3
  996. package/lib/resources/pickups.d.ts +2 -2
  997. package/lib/resources/pickups.js +10 -9
  998. package/lib/resources/price_frequency_tiers.cjs +11 -10
  999. package/lib/resources/price_frequency_tiers.d.cts +3 -3
  1000. package/lib/resources/price_frequency_tiers.d.ts +2 -2
  1001. package/lib/resources/price_frequency_tiers.js +10 -9
  1002. package/lib/resources/price_list_schedulers.cjs +11 -10
  1003. package/lib/resources/price_list_schedulers.d.cts +3 -3
  1004. package/lib/resources/price_list_schedulers.d.ts +2 -2
  1005. package/lib/resources/price_list_schedulers.js +10 -9
  1006. package/lib/resources/price_lists.cjs +11 -10
  1007. package/lib/resources/price_lists.d.cts +3 -3
  1008. package/lib/resources/price_lists.d.ts +2 -2
  1009. package/lib/resources/price_lists.js +10 -9
  1010. package/lib/resources/price_tiers.cjs +11 -10
  1011. package/lib/resources/price_tiers.d.cts +3 -3
  1012. package/lib/resources/price_tiers.d.ts +2 -2
  1013. package/lib/resources/price_tiers.js +10 -9
  1014. package/lib/resources/price_volume_tiers.cjs +11 -10
  1015. package/lib/resources/price_volume_tiers.d.cts +3 -3
  1016. package/lib/resources/price_volume_tiers.d.ts +2 -2
  1017. package/lib/resources/price_volume_tiers.js +10 -9
  1018. package/lib/resources/prices.cjs +11 -10
  1019. package/lib/resources/prices.d.cts +3 -3
  1020. package/lib/resources/prices.d.ts +2 -2
  1021. package/lib/resources/prices.js +10 -9
  1022. package/lib/resources/promotion_rules.cjs +11 -10
  1023. package/lib/resources/promotion_rules.d.cts +3 -3
  1024. package/lib/resources/promotion_rules.d.ts +2 -2
  1025. package/lib/resources/promotion_rules.js +10 -9
  1026. package/lib/resources/promotions.cjs +11 -10
  1027. package/lib/resources/promotions.d.cts +3 -3
  1028. package/lib/resources/promotions.d.ts +2 -2
  1029. package/lib/resources/promotions.js +10 -9
  1030. package/lib/resources/recurring_order_copies.cjs +11 -10
  1031. package/lib/resources/recurring_order_copies.d.cts +3 -3
  1032. package/lib/resources/recurring_order_copies.d.ts +2 -2
  1033. package/lib/resources/recurring_order_copies.js +10 -9
  1034. package/lib/resources/refunds.cjs +11 -10
  1035. package/lib/resources/refunds.d.cts +3 -3
  1036. package/lib/resources/refunds.d.ts +2 -2
  1037. package/lib/resources/refunds.js +10 -9
  1038. package/lib/resources/reserved_stocks.cjs +11 -10
  1039. package/lib/resources/reserved_stocks.d.cts +3 -3
  1040. package/lib/resources/reserved_stocks.d.ts +2 -2
  1041. package/lib/resources/reserved_stocks.js +10 -9
  1042. package/lib/resources/resource_errors.cjs +11 -10
  1043. package/lib/resources/resource_errors.d.cts +3 -3
  1044. package/lib/resources/resource_errors.d.ts +2 -2
  1045. package/lib/resources/resource_errors.js +10 -9
  1046. package/lib/resources/return_line_items.cjs +11 -10
  1047. package/lib/resources/return_line_items.d.cts +3 -3
  1048. package/lib/resources/return_line_items.d.ts +2 -2
  1049. package/lib/resources/return_line_items.js +10 -9
  1050. package/lib/resources/returns.cjs +11 -10
  1051. package/lib/resources/returns.d.cts +3 -3
  1052. package/lib/resources/returns.d.ts +2 -2
  1053. package/lib/resources/returns.js +10 -9
  1054. package/lib/resources/satispay_gateways.cjs +11 -10
  1055. package/lib/resources/satispay_gateways.d.cts +3 -3
  1056. package/lib/resources/satispay_gateways.d.ts +2 -2
  1057. package/lib/resources/satispay_gateways.js +10 -9
  1058. package/lib/resources/satispay_payments.cjs +11 -10
  1059. package/lib/resources/satispay_payments.d.cts +3 -3
  1060. package/lib/resources/satispay_payments.d.ts +2 -2
  1061. package/lib/resources/satispay_payments.js +10 -9
  1062. package/lib/resources/shipment_line_items.cjs +21 -0
  1063. package/lib/resources/shipment_line_items.cjs.map +1 -0
  1064. package/lib/resources/shipment_line_items.d.cts +7 -0
  1065. package/lib/resources/shipment_line_items.d.ts +4 -0
  1066. package/lib/resources/shipment_line_items.js +13 -0
  1067. package/lib/resources/shipment_line_items.js.map +1 -0
  1068. package/lib/resources/shipments.cjs +11 -10
  1069. package/lib/resources/shipments.d.cts +3 -3
  1070. package/lib/resources/shipments.d.ts +2 -2
  1071. package/lib/resources/shipments.js +10 -9
  1072. package/lib/resources/shipping_categories.cjs +11 -10
  1073. package/lib/resources/shipping_categories.d.cts +3 -3
  1074. package/lib/resources/shipping_categories.d.ts +2 -2
  1075. package/lib/resources/shipping_categories.js +10 -9
  1076. package/lib/resources/shipping_method_tiers.cjs +11 -10
  1077. package/lib/resources/shipping_method_tiers.d.cts +3 -3
  1078. package/lib/resources/shipping_method_tiers.d.ts +2 -2
  1079. package/lib/resources/shipping_method_tiers.js +10 -9
  1080. package/lib/resources/shipping_methods.cjs +11 -10
  1081. package/lib/resources/shipping_methods.d.cts +3 -3
  1082. package/lib/resources/shipping_methods.d.ts +2 -2
  1083. package/lib/resources/shipping_methods.js +10 -9
  1084. package/lib/resources/shipping_weight_tiers.cjs +11 -10
  1085. package/lib/resources/shipping_weight_tiers.d.cts +3 -3
  1086. package/lib/resources/shipping_weight_tiers.d.ts +2 -2
  1087. package/lib/resources/shipping_weight_tiers.js +10 -9
  1088. package/lib/resources/shipping_zones.cjs +11 -10
  1089. package/lib/resources/shipping_zones.d.cts +3 -3
  1090. package/lib/resources/shipping_zones.d.ts +2 -2
  1091. package/lib/resources/shipping_zones.js +10 -9
  1092. package/lib/resources/sku_list_items.cjs +11 -10
  1093. package/lib/resources/sku_list_items.d.cts +3 -3
  1094. package/lib/resources/sku_list_items.d.ts +2 -2
  1095. package/lib/resources/sku_list_items.js +10 -9
  1096. package/lib/resources/sku_list_promotion_rules.cjs +11 -10
  1097. package/lib/resources/sku_list_promotion_rules.d.cts +3 -3
  1098. package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
  1099. package/lib/resources/sku_list_promotion_rules.js +10 -9
  1100. package/lib/resources/sku_lists.cjs +11 -10
  1101. package/lib/resources/sku_lists.d.cts +3 -3
  1102. package/lib/resources/sku_lists.d.ts +2 -2
  1103. package/lib/resources/sku_lists.js +10 -9
  1104. package/lib/resources/sku_options.cjs +11 -10
  1105. package/lib/resources/sku_options.d.cts +3 -3
  1106. package/lib/resources/sku_options.d.ts +2 -2
  1107. package/lib/resources/sku_options.js +10 -9
  1108. package/lib/resources/skus.cjs +11 -10
  1109. package/lib/resources/skus.d.cts +3 -3
  1110. package/lib/resources/skus.d.ts +2 -2
  1111. package/lib/resources/skus.js +10 -9
  1112. package/lib/resources/stock_items.cjs +11 -10
  1113. package/lib/resources/stock_items.d.cts +3 -3
  1114. package/lib/resources/stock_items.d.ts +2 -2
  1115. package/lib/resources/stock_items.js +10 -9
  1116. package/lib/resources/stock_line_items.cjs +11 -10
  1117. package/lib/resources/stock_line_items.d.cts +3 -3
  1118. package/lib/resources/stock_line_items.d.ts +2 -2
  1119. package/lib/resources/stock_line_items.js +10 -9
  1120. package/lib/resources/stock_locations.cjs +11 -10
  1121. package/lib/resources/stock_locations.d.cts +3 -3
  1122. package/lib/resources/stock_locations.d.ts +2 -2
  1123. package/lib/resources/stock_locations.js +10 -9
  1124. package/lib/resources/stock_reservations.cjs +11 -10
  1125. package/lib/resources/stock_reservations.d.cts +3 -3
  1126. package/lib/resources/stock_reservations.d.ts +2 -2
  1127. package/lib/resources/stock_reservations.js +10 -9
  1128. package/lib/resources/stock_transfers.cjs +11 -10
  1129. package/lib/resources/stock_transfers.d.cts +3 -3
  1130. package/lib/resources/stock_transfers.d.ts +2 -2
  1131. package/lib/resources/stock_transfers.js +10 -9
  1132. package/lib/resources/stores.cjs +11 -10
  1133. package/lib/resources/stores.d.cts +3 -3
  1134. package/lib/resources/stores.d.ts +2 -2
  1135. package/lib/resources/stores.js +10 -9
  1136. package/lib/resources/stripe_gateways.cjs +11 -10
  1137. package/lib/resources/stripe_gateways.d.cts +3 -3
  1138. package/lib/resources/stripe_gateways.d.ts +2 -2
  1139. package/lib/resources/stripe_gateways.js +10 -9
  1140. package/lib/resources/stripe_payments.cjs +11 -10
  1141. package/lib/resources/stripe_payments.d.cts +3 -3
  1142. package/lib/resources/stripe_payments.d.ts +2 -2
  1143. package/lib/resources/stripe_payments.js +10 -9
  1144. package/lib/resources/stripe_tax_accounts.cjs +11 -10
  1145. package/lib/resources/stripe_tax_accounts.d.cts +3 -3
  1146. package/lib/resources/stripe_tax_accounts.d.ts +2 -2
  1147. package/lib/resources/stripe_tax_accounts.js +10 -9
  1148. package/lib/resources/subscription_models.cjs +11 -10
  1149. package/lib/resources/subscription_models.d.cts +3 -3
  1150. package/lib/resources/subscription_models.d.ts +2 -2
  1151. package/lib/resources/subscription_models.js +10 -9
  1152. package/lib/resources/tags.cjs +11 -10
  1153. package/lib/resources/tags.d.cts +3 -3
  1154. package/lib/resources/tags.d.ts +2 -2
  1155. package/lib/resources/tags.js +10 -9
  1156. package/lib/resources/talon_one_accounts.cjs +11 -10
  1157. package/lib/resources/talon_one_accounts.d.cts +3 -3
  1158. package/lib/resources/talon_one_accounts.d.ts +2 -2
  1159. package/lib/resources/talon_one_accounts.js +10 -9
  1160. package/lib/resources/tax_calculators.cjs +11 -10
  1161. package/lib/resources/tax_calculators.d.cts +3 -3
  1162. package/lib/resources/tax_calculators.d.ts +2 -2
  1163. package/lib/resources/tax_calculators.js +10 -9
  1164. package/lib/resources/tax_categories.cjs +11 -10
  1165. package/lib/resources/tax_categories.d.cts +3 -3
  1166. package/lib/resources/tax_categories.d.ts +2 -2
  1167. package/lib/resources/tax_categories.js +10 -9
  1168. package/lib/resources/tax_rules.cjs +11 -10
  1169. package/lib/resources/tax_rules.d.cts +3 -3
  1170. package/lib/resources/tax_rules.d.ts +2 -2
  1171. package/lib/resources/tax_rules.js +10 -9
  1172. package/lib/resources/taxjar_accounts.cjs +11 -10
  1173. package/lib/resources/taxjar_accounts.d.cts +3 -3
  1174. package/lib/resources/taxjar_accounts.d.ts +2 -2
  1175. package/lib/resources/taxjar_accounts.js +10 -9
  1176. package/lib/resources/transactions.cjs +11 -10
  1177. package/lib/resources/transactions.d.cts +3 -3
  1178. package/lib/resources/transactions.d.ts +2 -2
  1179. package/lib/resources/transactions.js +10 -9
  1180. package/lib/resources/vertex_accounts.cjs +11 -10
  1181. package/lib/resources/vertex_accounts.d.cts +3 -3
  1182. package/lib/resources/vertex_accounts.d.ts +2 -2
  1183. package/lib/resources/vertex_accounts.js +10 -9
  1184. package/lib/resources/voids.cjs +11 -10
  1185. package/lib/resources/voids.d.cts +3 -3
  1186. package/lib/resources/voids.d.ts +2 -2
  1187. package/lib/resources/voids.js +10 -9
  1188. package/lib/resources/webhooks.cjs +11 -10
  1189. package/lib/resources/webhooks.d.cts +3 -3
  1190. package/lib/resources/webhooks.d.ts +2 -2
  1191. package/lib/resources/webhooks.js +10 -9
  1192. package/lib/resources/wire_transfers.cjs +11 -10
  1193. package/lib/resources/wire_transfers.d.cts +3 -3
  1194. package/lib/resources/wire_transfers.d.ts +2 -2
  1195. package/lib/resources/wire_transfers.js +10 -9
  1196. package/lib/single-client.cjs +708 -0
  1197. package/lib/single-client.cjs.map +1 -0
  1198. package/lib/single-client.d.cts +11 -0
  1199. package/lib/single-client.d.ts +8 -0
  1200. package/lib/single-client.js +149 -0
  1201. package/lib/single-client.js.map +1 -0
  1202. package/lib/static.cjs +12 -11
  1203. package/lib/static.d.cts +2 -2
  1204. package/lib/static.d.ts +2 -2
  1205. package/lib/static.js +11 -10
  1206. package/lib/util.cjs +5 -5
  1207. package/lib/util.js +1 -1
  1208. package/lib/version.cjs +17 -0
  1209. package/lib/version.cjs.map +1 -0
  1210. package/lib/version.d.cts +4 -0
  1211. package/lib/version.d.ts +4 -0
  1212. package/lib/version.js +4 -0
  1213. package/lib/version.js.map +1 -0
  1214. package/package.json +27 -15
  1215. package/lib/api-DB1n06hG.d.ts +0 -18181
  1216. package/lib/api-DFBhmbb1.d.cts +0 -18181
  1217. package/lib/chunk-22RVT2J2.js +0 -20
  1218. package/lib/chunk-22RVT2J2.js.map +0 -1
  1219. package/lib/chunk-26Q2QNAQ.cjs +0 -30
  1220. package/lib/chunk-26Q2QNAQ.cjs.map +0 -1
  1221. package/lib/chunk-27YKND3S.js +0 -93
  1222. package/lib/chunk-27YKND3S.js.map +0 -1
  1223. package/lib/chunk-2CMJ2SZM.cjs +0 -57
  1224. package/lib/chunk-2CMJ2SZM.cjs.map +0 -1
  1225. package/lib/chunk-2D7XHAVQ.js +0 -59
  1226. package/lib/chunk-2D7XHAVQ.js.map +0 -1
  1227. package/lib/chunk-2HNW5KNF.js +0 -45
  1228. package/lib/chunk-2HNW5KNF.js.map +0 -1
  1229. package/lib/chunk-2NWYRIJZ.js +0 -41
  1230. package/lib/chunk-2NWYRIJZ.js.map +0 -1
  1231. package/lib/chunk-2QXENUO7.cjs +0 -51
  1232. package/lib/chunk-2QXENUO7.cjs.map +0 -1
  1233. package/lib/chunk-2TOLW3UO.cjs +0 -56
  1234. package/lib/chunk-2TOLW3UO.cjs.map +0 -1
  1235. package/lib/chunk-2VI6OWLV.cjs +0 -61
  1236. package/lib/chunk-2VI6OWLV.cjs.map +0 -1
  1237. package/lib/chunk-2WVBEUMO.js +0 -53
  1238. package/lib/chunk-2WVBEUMO.js.map +0 -1
  1239. package/lib/chunk-2XDVUDJS.cjs +0 -34
  1240. package/lib/chunk-2XDVUDJS.cjs.map +0 -1
  1241. package/lib/chunk-35Q3ZTZC.js +0 -75
  1242. package/lib/chunk-35Q3ZTZC.js.map +0 -1
  1243. package/lib/chunk-3EX76AZW.js +0 -3
  1244. package/lib/chunk-3EX76AZW.js.map +0 -1
  1245. package/lib/chunk-3GOADUES.cjs +0 -63
  1246. package/lib/chunk-3GOADUES.cjs.map +0 -1
  1247. package/lib/chunk-3PAID2YG.cjs +0 -54
  1248. package/lib/chunk-3PAID2YG.cjs.map +0 -1
  1249. package/lib/chunk-3PXZUPZE.cjs +0 -43
  1250. package/lib/chunk-3PXZUPZE.cjs.map +0 -1
  1251. package/lib/chunk-3YS6NHUH.cjs +0 -50
  1252. package/lib/chunk-3YS6NHUH.cjs.map +0 -1
  1253. package/lib/chunk-43JU63UQ.js +0 -51
  1254. package/lib/chunk-43JU63UQ.js.map +0 -1
  1255. package/lib/chunk-47OW2LZH.cjs +0 -47
  1256. package/lib/chunk-47OW2LZH.cjs.map +0 -1
  1257. package/lib/chunk-47UCMORS.cjs +0 -51
  1258. package/lib/chunk-47UCMORS.cjs.map +0 -1
  1259. package/lib/chunk-4C55SMIS.js +0 -55
  1260. package/lib/chunk-4C55SMIS.js.map +0 -1
  1261. package/lib/chunk-4E5BE47D.cjs +0 -61
  1262. package/lib/chunk-4E5BE47D.cjs.map +0 -1
  1263. package/lib/chunk-4MV6VICV.js +0 -35
  1264. package/lib/chunk-4MV6VICV.js.map +0 -1
  1265. package/lib/chunk-4OM2Y7BS.cjs +0 -46
  1266. package/lib/chunk-4OM2Y7BS.cjs.map +0 -1
  1267. package/lib/chunk-4P3MBQVY.cjs +0 -156
  1268. package/lib/chunk-4P3MBQVY.cjs.map +0 -1
  1269. package/lib/chunk-4PNXT6OT.js +0 -36
  1270. package/lib/chunk-4PNXT6OT.js.map +0 -1
  1271. package/lib/chunk-4S3I222F.cjs +0 -285
  1272. package/lib/chunk-4S3I222F.cjs.map +0 -1
  1273. package/lib/chunk-4YR6JIEN.js +0 -154
  1274. package/lib/chunk-4YR6JIEN.js.map +0 -1
  1275. package/lib/chunk-4ZIGP3FO.cjs +0 -59
  1276. package/lib/chunk-4ZIGP3FO.cjs.map +0 -1
  1277. package/lib/chunk-54VT56WS.cjs +0 -126
  1278. package/lib/chunk-54VT56WS.cjs.map +0 -1
  1279. package/lib/chunk-56324YRB.js +0 -54
  1280. package/lib/chunk-56324YRB.js.map +0 -1
  1281. package/lib/chunk-5AFBGKJ4.js +0 -53
  1282. package/lib/chunk-5AFBGKJ4.js.map +0 -1
  1283. package/lib/chunk-5P67UEWW.cjs +0 -56
  1284. package/lib/chunk-5P67UEWW.cjs.map +0 -1
  1285. package/lib/chunk-5RJW5RAK.js +0 -40
  1286. package/lib/chunk-5RJW5RAK.js.map +0 -1
  1287. package/lib/chunk-5TLVMKOO.cjs +0 -52
  1288. package/lib/chunk-5TLVMKOO.cjs.map +0 -1
  1289. package/lib/chunk-5YMHXTJG.cjs +0 -4
  1290. package/lib/chunk-5YMHXTJG.cjs.map +0 -1
  1291. package/lib/chunk-6BXCQFTI.js +0 -37
  1292. package/lib/chunk-6BXCQFTI.js.map +0 -1
  1293. package/lib/chunk-6EUKX4RC.cjs +0 -47
  1294. package/lib/chunk-6EUKX4RC.cjs.map +0 -1
  1295. package/lib/chunk-6SQ4LNTP.js +0 -54
  1296. package/lib/chunk-6SQ4LNTP.js.map +0 -1
  1297. package/lib/chunk-73P72ADW.js +0 -54
  1298. package/lib/chunk-73P72ADW.js.map +0 -1
  1299. package/lib/chunk-7473V4XD.js +0 -59
  1300. package/lib/chunk-7473V4XD.js.map +0 -1
  1301. package/lib/chunk-74JBCKFT.cjs +0 -30
  1302. package/lib/chunk-74JBCKFT.cjs.map +0 -1
  1303. package/lib/chunk-77HRCSA5.cjs +0 -55
  1304. package/lib/chunk-77HRCSA5.cjs.map +0 -1
  1305. package/lib/chunk-7B46YAQU.cjs +0 -98
  1306. package/lib/chunk-7B46YAQU.cjs.map +0 -1
  1307. package/lib/chunk-7GP6774Q.js +0 -45
  1308. package/lib/chunk-7GP6774Q.js.map +0 -1
  1309. package/lib/chunk-7P36FTRX.js +0 -44
  1310. package/lib/chunk-7P36FTRX.js.map +0 -1
  1311. package/lib/chunk-7RZTCBDR.cjs +0 -22
  1312. package/lib/chunk-7RZTCBDR.cjs.map +0 -1
  1313. package/lib/chunk-7TVIC5GW.cjs +0 -56
  1314. package/lib/chunk-7TVIC5GW.cjs.map +0 -1
  1315. package/lib/chunk-7ZBEKCA5.cjs +0 -75
  1316. package/lib/chunk-7ZBEKCA5.cjs.map +0 -1
  1317. package/lib/chunk-A6E33WC3.cjs +0 -53
  1318. package/lib/chunk-A6E33WC3.cjs.map +0 -1
  1319. package/lib/chunk-A7BK3Z22.cjs +0 -38
  1320. package/lib/chunk-A7BK3Z22.cjs.map +0 -1
  1321. package/lib/chunk-AEP6D5QV.cjs +0 -38
  1322. package/lib/chunk-AEP6D5QV.cjs.map +0 -1
  1323. package/lib/chunk-AN2Y6XMS.js +0 -28
  1324. package/lib/chunk-AN2Y6XMS.js.map +0 -1
  1325. package/lib/chunk-AP5WOJMJ.js +0 -49
  1326. package/lib/chunk-AP5WOJMJ.js.map +0 -1
  1327. package/lib/chunk-APMYXRFX.js +0 -96
  1328. package/lib/chunk-APMYXRFX.js.map +0 -1
  1329. package/lib/chunk-APTNONWZ.js +0 -40
  1330. package/lib/chunk-APTNONWZ.js.map +0 -1
  1331. package/lib/chunk-AS6CAIIM.js +0 -65
  1332. package/lib/chunk-AS6CAIIM.js.map +0 -1
  1333. package/lib/chunk-ATK6TFVA.cjs +0 -43
  1334. package/lib/chunk-ATK6TFVA.cjs.map +0 -1
  1335. package/lib/chunk-AVYPSM4A.cjs +0 -43
  1336. package/lib/chunk-AVYPSM4A.cjs.map +0 -1
  1337. package/lib/chunk-AWEYC4IM.js +0 -45
  1338. package/lib/chunk-AWEYC4IM.js.map +0 -1
  1339. package/lib/chunk-AWLS4LR4.cjs +0 -53
  1340. package/lib/chunk-AWLS4LR4.cjs.map +0 -1
  1341. package/lib/chunk-AY7MWZ7Y.js +0 -48
  1342. package/lib/chunk-AY7MWZ7Y.js.map +0 -1
  1343. package/lib/chunk-BANZUNLK.js +0 -40
  1344. package/lib/chunk-BANZUNLK.js.map +0 -1
  1345. package/lib/chunk-BQE56RMQ.js +0 -45
  1346. package/lib/chunk-BQE56RMQ.js.map +0 -1
  1347. package/lib/chunk-BRWPB33S.cjs +0 -56
  1348. package/lib/chunk-BRWPB33S.cjs.map +0 -1
  1349. package/lib/chunk-C7AHHS53.cjs +0 -51
  1350. package/lib/chunk-C7AHHS53.cjs.map +0 -1
  1351. package/lib/chunk-CDFM6RPB.cjs +0 -63
  1352. package/lib/chunk-CDFM6RPB.cjs.map +0 -1
  1353. package/lib/chunk-CH4K74JN.cjs +0 -55
  1354. package/lib/chunk-CH4K74JN.cjs.map +0 -1
  1355. package/lib/chunk-CJPAOOG5.cjs +0 -34
  1356. package/lib/chunk-CJPAOOG5.cjs.map +0 -1
  1357. package/lib/chunk-CKSLVNN7.js +0 -45
  1358. package/lib/chunk-CKSLVNN7.js.map +0 -1
  1359. package/lib/chunk-CM4DAVO4.js +0 -40
  1360. package/lib/chunk-CM4DAVO4.js.map +0 -1
  1361. package/lib/chunk-CNMMWVI6.js +0 -48
  1362. package/lib/chunk-CNMMWVI6.js.map +0 -1
  1363. package/lib/chunk-CQXW23HJ.cjs +0 -56
  1364. package/lib/chunk-CQXW23HJ.cjs.map +0 -1
  1365. package/lib/chunk-CTTA6S5K.cjs +0 -61
  1366. package/lib/chunk-CTTA6S5K.cjs.map +0 -1
  1367. package/lib/chunk-CUYSBPPJ.js +0 -45
  1368. package/lib/chunk-CUYSBPPJ.js.map +0 -1
  1369. package/lib/chunk-D3VJO4HP.js +0 -40
  1370. package/lib/chunk-D3VJO4HP.js.map +0 -1
  1371. package/lib/chunk-D3YQS6YA.js +0 -66
  1372. package/lib/chunk-D3YQS6YA.js.map +0 -1
  1373. package/lib/chunk-DBJEPEBT.js +0 -45
  1374. package/lib/chunk-DBJEPEBT.js.map +0 -1
  1375. package/lib/chunk-DFUIO6OY.js +0 -53
  1376. package/lib/chunk-DFUIO6OY.js.map +0 -1
  1377. package/lib/chunk-DJRBEANR.js +0 -57
  1378. package/lib/chunk-DJRBEANR.js.map +0 -1
  1379. package/lib/chunk-DNVIOKDM.cjs +0 -55
  1380. package/lib/chunk-DNVIOKDM.cjs.map +0 -1
  1381. package/lib/chunk-DQUGPCYZ.js +0 -37
  1382. package/lib/chunk-DQUGPCYZ.js.map +0 -1
  1383. package/lib/chunk-E2UP2BWG.cjs +0 -39
  1384. package/lib/chunk-E2UP2BWG.cjs.map +0 -1
  1385. package/lib/chunk-E5G3LS6Y.js +0 -53
  1386. package/lib/chunk-E5G3LS6Y.js.map +0 -1
  1387. package/lib/chunk-EEXXJFJO.cjs +0 -47
  1388. package/lib/chunk-EEXXJFJO.cjs.map +0 -1
  1389. package/lib/chunk-EI2KOTCG.js +0 -37
  1390. package/lib/chunk-EI2KOTCG.js.map +0 -1
  1391. package/lib/chunk-ELTYSKHB.js +0 -68
  1392. package/lib/chunk-ELTYSKHB.js.map +0 -1
  1393. package/lib/chunk-EO7RCCV2.js +0 -45
  1394. package/lib/chunk-EO7RCCV2.js.map +0 -1
  1395. package/lib/chunk-EOV3GRPM.js +0 -27
  1396. package/lib/chunk-EOV3GRPM.js.map +0 -1
  1397. package/lib/chunk-EQ5ASSXQ.cjs +0 -95
  1398. package/lib/chunk-EQ5ASSXQ.cjs.map +0 -1
  1399. package/lib/chunk-EQZMPSGR.js +0 -55
  1400. package/lib/chunk-EQZMPSGR.js.map +0 -1
  1401. package/lib/chunk-ESI7A34I.js +0 -52
  1402. package/lib/chunk-ESI7A34I.js.map +0 -1
  1403. package/lib/chunk-EWFAT7KA.js +0 -283
  1404. package/lib/chunk-EWFAT7KA.js.map +0 -1
  1405. package/lib/chunk-F2PKXIJQ.js +0 -52
  1406. package/lib/chunk-F2PKXIJQ.js.map +0 -1
  1407. package/lib/chunk-F6OOTDNW.js +0 -49
  1408. package/lib/chunk-F6OOTDNW.js.map +0 -1
  1409. package/lib/chunk-FANJUOI3.cjs +0 -51
  1410. package/lib/chunk-FANJUOI3.cjs.map +0 -1
  1411. package/lib/chunk-FECG6WIR.js +0 -96
  1412. package/lib/chunk-FECG6WIR.js.map +0 -1
  1413. package/lib/chunk-FRVEAP6J.js +0 -73
  1414. package/lib/chunk-FRVEAP6J.js.map +0 -1
  1415. package/lib/chunk-FUQA5XT7.cjs +0 -47
  1416. package/lib/chunk-FUQA5XT7.cjs.map +0 -1
  1417. package/lib/chunk-FVRWASHH.js +0 -32
  1418. package/lib/chunk-FVRWASHH.js.map +0 -1
  1419. package/lib/chunk-FZKENL3J.js +0 -53
  1420. package/lib/chunk-FZKENL3J.js.map +0 -1
  1421. package/lib/chunk-GCY5B73J.cjs +0 -47
  1422. package/lib/chunk-GCY5B73J.cjs.map +0 -1
  1423. package/lib/chunk-GIZE32ZY.js +0 -73
  1424. package/lib/chunk-GIZE32ZY.js.map +0 -1
  1425. package/lib/chunk-GZPZZ262.js +0 -49
  1426. package/lib/chunk-GZPZZ262.js.map +0 -1
  1427. package/lib/chunk-H6K62JGC.cjs +0 -47
  1428. package/lib/chunk-H6K62JGC.cjs.map +0 -1
  1429. package/lib/chunk-H7J2F6QG.cjs +0 -47
  1430. package/lib/chunk-H7J2F6QG.cjs.map +0 -1
  1431. package/lib/chunk-H7KZGQXZ.cjs +0 -71
  1432. package/lib/chunk-H7KZGQXZ.cjs.map +0 -1
  1433. package/lib/chunk-HFKNOYWV.cjs +0 -98
  1434. package/lib/chunk-HFKNOYWV.cjs.map +0 -1
  1435. package/lib/chunk-HLR5KZ6S.js +0 -51
  1436. package/lib/chunk-HLR5KZ6S.js.map +0 -1
  1437. package/lib/chunk-HZYPMFTS.cjs +0 -49
  1438. package/lib/chunk-HZYPMFTS.cjs.map +0 -1
  1439. package/lib/chunk-I2E2P72P.cjs +0 -70
  1440. package/lib/chunk-I2E2P72P.cjs.map +0 -1
  1441. package/lib/chunk-I64ZCB4W.cjs +0 -55
  1442. package/lib/chunk-I64ZCB4W.cjs.map +0 -1
  1443. package/lib/chunk-IG2P6JOK.js +0 -40
  1444. package/lib/chunk-IG2P6JOK.js.map +0 -1
  1445. package/lib/chunk-IG6UCDED.js +0 -59
  1446. package/lib/chunk-IG6UCDED.js.map +0 -1
  1447. package/lib/chunk-IIUBCLDN.js +0 -47
  1448. package/lib/chunk-IIUBCLDN.js.map +0 -1
  1449. package/lib/chunk-IKCYKGYL.js +0 -151
  1450. package/lib/chunk-IKCYKGYL.js.map +0 -1
  1451. package/lib/chunk-IKU3CD3A.cjs +0 -75
  1452. package/lib/chunk-IKU3CD3A.cjs.map +0 -1
  1453. package/lib/chunk-IL2AXMUE.js +0 -45
  1454. package/lib/chunk-IL2AXMUE.js.map +0 -1
  1455. package/lib/chunk-IL66CF3O.js +0 -105
  1456. package/lib/chunk-IL66CF3O.js.map +0 -1
  1457. package/lib/chunk-ILAFDO4M.js +0 -36
  1458. package/lib/chunk-ILAFDO4M.js.map +0 -1
  1459. package/lib/chunk-INBIEH6H.cjs +0 -44
  1460. package/lib/chunk-INBIEH6H.cjs.map +0 -1
  1461. package/lib/chunk-IOSR7D3F.cjs +0 -47
  1462. package/lib/chunk-IOSR7D3F.cjs.map +0 -1
  1463. package/lib/chunk-IOYGVLML.js +0 -41
  1464. package/lib/chunk-IOYGVLML.js.map +0 -1
  1465. package/lib/chunk-IP5G2VCS.cjs +0 -38
  1466. package/lib/chunk-IP5G2VCS.cjs.map +0 -1
  1467. package/lib/chunk-IUGXRDL5.js +0 -102
  1468. package/lib/chunk-IUGXRDL5.js.map +0 -1
  1469. package/lib/chunk-IWH7CXBG.js +0 -124
  1470. package/lib/chunk-IWH7CXBG.js.map +0 -1
  1471. package/lib/chunk-IYGFGGZR.js +0 -59
  1472. package/lib/chunk-IYGFGGZR.js.map +0 -1
  1473. package/lib/chunk-IYQFTOVG.cjs +0 -39
  1474. package/lib/chunk-IYQFTOVG.cjs.map +0 -1
  1475. package/lib/chunk-J2ULMBWQ.js +0 -89
  1476. package/lib/chunk-J2ULMBWQ.js.map +0 -1
  1477. package/lib/chunk-JARZZUPY.js +0 -93
  1478. package/lib/chunk-JARZZUPY.js.map +0 -1
  1479. package/lib/chunk-JBKJAYRL.cjs +0 -50
  1480. package/lib/chunk-JBKJAYRL.cjs.map +0 -1
  1481. package/lib/chunk-JE3P5NJP.cjs +0 -56
  1482. package/lib/chunk-JE3P5NJP.cjs.map +0 -1
  1483. package/lib/chunk-JGTC32IT.cjs +0 -69
  1484. package/lib/chunk-JGTC32IT.cjs.map +0 -1
  1485. package/lib/chunk-JHYHQV3E.js +0 -67
  1486. package/lib/chunk-JHYHQV3E.js.map +0 -1
  1487. package/lib/chunk-JIDX6RAT.js +0 -103
  1488. package/lib/chunk-JIDX6RAT.js.map +0 -1
  1489. package/lib/chunk-JIQRQ5TK.cjs +0 -39
  1490. package/lib/chunk-JIQRQ5TK.cjs.map +0 -1
  1491. package/lib/chunk-JMKSIDZI.cjs +0 -51
  1492. package/lib/chunk-JMKSIDZI.cjs.map +0 -1
  1493. package/lib/chunk-JR6TYHVG.js +0 -41
  1494. package/lib/chunk-JR6TYHVG.js.map +0 -1
  1495. package/lib/chunk-JRVZ4JQI.js +0 -32
  1496. package/lib/chunk-JRVZ4JQI.js.map +0 -1
  1497. package/lib/chunk-JSHKAVYF.js +0 -45
  1498. package/lib/chunk-JSHKAVYF.js.map +0 -1
  1499. package/lib/chunk-K277GYCD.cjs +0 -40
  1500. package/lib/chunk-K277GYCD.cjs.map +0 -1
  1501. package/lib/chunk-K3GPCGMJ.cjs +0 -47
  1502. package/lib/chunk-K3GPCGMJ.cjs.map +0 -1
  1503. package/lib/chunk-KATZAZKF.cjs +0 -56
  1504. package/lib/chunk-KATZAZKF.cjs.map +0 -1
  1505. package/lib/chunk-KC46F2PJ.cjs +0 -47
  1506. package/lib/chunk-KC46F2PJ.cjs.map +0 -1
  1507. package/lib/chunk-KJWEQIEM.js +0 -54
  1508. package/lib/chunk-KJWEQIEM.js.map +0 -1
  1509. package/lib/chunk-KLO6RFMQ.cjs +0 -89
  1510. package/lib/chunk-KLO6RFMQ.cjs.map +0 -1
  1511. package/lib/chunk-KN2KHVGW.js +0 -93
  1512. package/lib/chunk-KN2KHVGW.js.map +0 -1
  1513. package/lib/chunk-KU5M6CZ5.js +0 -48
  1514. package/lib/chunk-KU5M6CZ5.js.map +0 -1
  1515. package/lib/chunk-KUZBO6ZM.js +0 -54
  1516. package/lib/chunk-KUZBO6ZM.js.map +0 -1
  1517. package/lib/chunk-KZDGS2SG.cjs +0 -70
  1518. package/lib/chunk-KZDGS2SG.cjs.map +0 -1
  1519. package/lib/chunk-L4PEYYXQ.cjs +0 -51
  1520. package/lib/chunk-L4PEYYXQ.cjs.map +0 -1
  1521. package/lib/chunk-L7FT6NDZ.cjs +0 -284
  1522. package/lib/chunk-L7FT6NDZ.cjs.map +0 -1
  1523. package/lib/chunk-LHESCZ5L.cjs +0 -39
  1524. package/lib/chunk-LHESCZ5L.cjs.map +0 -1
  1525. package/lib/chunk-LP52UBLY.js +0 -54
  1526. package/lib/chunk-LP52UBLY.js.map +0 -1
  1527. package/lib/chunk-LPP7TYFN.js +0 -45
  1528. package/lib/chunk-LPP7TYFN.js.map +0 -1
  1529. package/lib/chunk-LQ5GKVLT.cjs +0 -163
  1530. package/lib/chunk-LQ5GKVLT.cjs.map +0 -1
  1531. package/lib/chunk-LS7VSSB4.js +0 -49
  1532. package/lib/chunk-LS7VSSB4.js.map +0 -1
  1533. package/lib/chunk-LSISPTNQ.cjs +0 -47
  1534. package/lib/chunk-LSISPTNQ.cjs.map +0 -1
  1535. package/lib/chunk-LZO46NMA.js +0 -60
  1536. package/lib/chunk-LZO46NMA.js.map +0 -1
  1537. package/lib/chunk-M22WZEWB.js +0 -37
  1538. package/lib/chunk-M22WZEWB.js.map +0 -1
  1539. package/lib/chunk-M63P3MQC.cjs +0 -51
  1540. package/lib/chunk-M63P3MQC.cjs.map +0 -1
  1541. package/lib/chunk-M7EUSLT2.js +0 -51
  1542. package/lib/chunk-M7EUSLT2.js.map +0 -1
  1543. package/lib/chunk-M7SVKQ7R.cjs +0 -51
  1544. package/lib/chunk-M7SVKQ7R.cjs.map +0 -1
  1545. package/lib/chunk-MFDKS22G.js +0 -536
  1546. package/lib/chunk-MFDKS22G.js.map +0 -1
  1547. package/lib/chunk-MHNJALUB.cjs +0 -42
  1548. package/lib/chunk-MHNJALUB.cjs.map +0 -1
  1549. package/lib/chunk-MOYV2F4C.js +0 -50
  1550. package/lib/chunk-MOYV2F4C.js.map +0 -1
  1551. package/lib/chunk-MVXKHM42.cjs +0 -47
  1552. package/lib/chunk-MVXKHM42.cjs.map +0 -1
  1553. package/lib/chunk-N2TACGKJ.js +0 -59
  1554. package/lib/chunk-N2TACGKJ.js.map +0 -1
  1555. package/lib/chunk-NGJN2PES.cjs +0 -95
  1556. package/lib/chunk-NGJN2PES.cjs.map +0 -1
  1557. package/lib/chunk-NIFNQI3P.js +0 -49
  1558. package/lib/chunk-NIFNQI3P.js.map +0 -1
  1559. package/lib/chunk-NLL7EH7Y.cjs +0 -42
  1560. package/lib/chunk-NLL7EH7Y.cjs.map +0 -1
  1561. package/lib/chunk-NOGYLNW5.cjs +0 -49
  1562. package/lib/chunk-NOGYLNW5.cjs.map +0 -1
  1563. package/lib/chunk-NPZA6AMN.js +0 -95
  1564. package/lib/chunk-NPZA6AMN.js.map +0 -1
  1565. package/lib/chunk-NSMPVEO4.js +0 -49
  1566. package/lib/chunk-NSMPVEO4.js.map +0 -1
  1567. package/lib/chunk-NURW5BJN.js +0 -37
  1568. package/lib/chunk-NURW5BJN.js.map +0 -1
  1569. package/lib/chunk-NV364EJH.js +0 -47
  1570. package/lib/chunk-NV364EJH.js.map +0 -1
  1571. package/lib/chunk-NWPF43O7.js +0 -50
  1572. package/lib/chunk-NWPF43O7.js.map +0 -1
  1573. package/lib/chunk-O3UJT5JJ.cjs +0 -54
  1574. package/lib/chunk-O3UJT5JJ.cjs.map +0 -1
  1575. package/lib/chunk-O6QJMGK7.cjs +0 -56
  1576. package/lib/chunk-O6QJMGK7.cjs.map +0 -1
  1577. package/lib/chunk-OBNGBDLS.js +0 -47
  1578. package/lib/chunk-OBNGBDLS.js.map +0 -1
  1579. package/lib/chunk-OEMRZEYB.js +0 -45
  1580. package/lib/chunk-OEMRZEYB.js.map +0 -1
  1581. package/lib/chunk-OF4M6NEX.cjs +0 -46
  1582. package/lib/chunk-OF4M6NEX.cjs.map +0 -1
  1583. package/lib/chunk-OLJT7GB7.js +0 -31
  1584. package/lib/chunk-OLJT7GB7.js.map +0 -1
  1585. package/lib/chunk-ONVG32V5.cjs +0 -63
  1586. package/lib/chunk-ONVG32V5.cjs.map +0 -1
  1587. package/lib/chunk-P2IDAXTS.cjs +0 -62
  1588. package/lib/chunk-P2IDAXTS.cjs.map +0 -1
  1589. package/lib/chunk-P47JG2WA.js +0 -48
  1590. package/lib/chunk-P47JG2WA.js.map +0 -1
  1591. package/lib/chunk-P5EEPVZA.cjs +0 -77
  1592. package/lib/chunk-P5EEPVZA.cjs.map +0 -1
  1593. package/lib/chunk-PB6VKR7P.js +0 -49
  1594. package/lib/chunk-PB6VKR7P.js.map +0 -1
  1595. package/lib/chunk-PBEQTSJS.cjs +0 -47
  1596. package/lib/chunk-PBEQTSJS.cjs.map +0 -1
  1597. package/lib/chunk-PEC5CKS7.cjs +0 -22
  1598. package/lib/chunk-PEC5CKS7.cjs.map +0 -1
  1599. package/lib/chunk-PIHQS6OG.js +0 -153
  1600. package/lib/chunk-PIHQS6OG.js.map +0 -1
  1601. package/lib/chunk-PL6A37WA.js +0 -45
  1602. package/lib/chunk-PL6A37WA.js.map +0 -1
  1603. package/lib/chunk-PMV3JPUR.cjs +0 -51
  1604. package/lib/chunk-PMV3JPUR.cjs.map +0 -1
  1605. package/lib/chunk-PQJ2ODW3.cjs +0 -67
  1606. package/lib/chunk-PQJ2ODW3.cjs.map +0 -1
  1607. package/lib/chunk-PUBFRIEQ.cjs +0 -95
  1608. package/lib/chunk-PUBFRIEQ.cjs.map +0 -1
  1609. package/lib/chunk-PULH7AI4.cjs +0 -68
  1610. package/lib/chunk-PULH7AI4.cjs.map +0 -1
  1611. package/lib/chunk-PUTVVRLC.js +0 -69
  1612. package/lib/chunk-PUTVVRLC.js.map +0 -1
  1613. package/lib/chunk-PVBBO54F.js +0 -49
  1614. package/lib/chunk-PVBBO54F.js.map +0 -1
  1615. package/lib/chunk-Q3WUCLM5.js +0 -37
  1616. package/lib/chunk-Q3WUCLM5.js.map +0 -1
  1617. package/lib/chunk-QDZI3I46.cjs +0 -43
  1618. package/lib/chunk-QDZI3I46.cjs.map +0 -1
  1619. package/lib/chunk-QF6DOS2C.js +0 -42
  1620. package/lib/chunk-QF6DOS2C.js.map +0 -1
  1621. package/lib/chunk-QI4UFW5A.js +0 -59
  1622. package/lib/chunk-QI4UFW5A.js.map +0 -1
  1623. package/lib/chunk-QJDQS6PE.cjs +0 -107
  1624. package/lib/chunk-QJDQS6PE.cjs.map +0 -1
  1625. package/lib/chunk-QTBUH3V7.js +0 -61
  1626. package/lib/chunk-QTBUH3V7.js.map +0 -1
  1627. package/lib/chunk-QVJZ2PSX.cjs +0 -51
  1628. package/lib/chunk-QVJZ2PSX.cjs.map +0 -1
  1629. package/lib/chunk-QXXLGQVN.js +0 -45
  1630. package/lib/chunk-QXXLGQVN.js.map +0 -1
  1631. package/lib/chunk-RDXEF27B.js +0 -44
  1632. package/lib/chunk-RDXEF27B.js.map +0 -1
  1633. package/lib/chunk-RDZZJ22W.cjs +0 -39
  1634. package/lib/chunk-RDZZJ22W.cjs.map +0 -1
  1635. package/lib/chunk-RGGHPNOB.js +0 -49
  1636. package/lib/chunk-RGGHPNOB.js.map +0 -1
  1637. package/lib/chunk-RKD7U6QH.cjs +0 -51
  1638. package/lib/chunk-RKD7U6QH.cjs.map +0 -1
  1639. package/lib/chunk-RMTTRB7R.js +0 -51
  1640. package/lib/chunk-RMTTRB7R.js.map +0 -1
  1641. package/lib/chunk-RNJOCB3T.cjs +0 -42
  1642. package/lib/chunk-RNJOCB3T.cjs.map +0 -1
  1643. package/lib/chunk-RQAOPSUW.cjs +0 -47
  1644. package/lib/chunk-RQAOPSUW.cjs.map +0 -1
  1645. package/lib/chunk-RW4KKMPX.js +0 -93
  1646. package/lib/chunk-RW4KKMPX.js.map +0 -1
  1647. package/lib/chunk-SGXMH2JP.cjs +0 -29
  1648. package/lib/chunk-SGXMH2JP.cjs.map +0 -1
  1649. package/lib/chunk-SOOB4KI7.cjs +0 -53
  1650. package/lib/chunk-SOOB4KI7.cjs.map +0 -1
  1651. package/lib/chunk-SSHXUS6Q.js +0 -49
  1652. package/lib/chunk-SSHXUS6Q.js.map +0 -1
  1653. package/lib/chunk-STQYJKBK.cjs +0 -55
  1654. package/lib/chunk-STQYJKBK.cjs.map +0 -1
  1655. package/lib/chunk-SZARKLAL.js +0 -68
  1656. package/lib/chunk-SZARKLAL.js.map +0 -1
  1657. package/lib/chunk-SZM64XMO.cjs +0 -68
  1658. package/lib/chunk-SZM64XMO.cjs.map +0 -1
  1659. package/lib/chunk-T2DEYIX6.cjs +0 -57
  1660. package/lib/chunk-T2DEYIX6.cjs.map +0 -1
  1661. package/lib/chunk-T2YGQC4C.js +0 -61
  1662. package/lib/chunk-T2YGQC4C.js.map +0 -1
  1663. package/lib/chunk-T5OEKW7A.cjs +0 -55
  1664. package/lib/chunk-T5OEKW7A.cjs.map +0 -1
  1665. package/lib/chunk-T6CBFUT6.cjs +0 -51
  1666. package/lib/chunk-T6CBFUT6.cjs.map +0 -1
  1667. package/lib/chunk-TGINKJDS.cjs +0 -49
  1668. package/lib/chunk-TGINKJDS.cjs.map +0 -1
  1669. package/lib/chunk-TMSNRZEW.cjs +0 -50
  1670. package/lib/chunk-TMSNRZEW.cjs.map +0 -1
  1671. package/lib/chunk-TRDTLOUY.js +0 -66
  1672. package/lib/chunk-TRDTLOUY.js.map +0 -1
  1673. package/lib/chunk-TTVTRX76.cjs +0 -93
  1674. package/lib/chunk-TTVTRX76.cjs.map +0 -1
  1675. package/lib/chunk-TUKV2ZIA.cjs +0 -52
  1676. package/lib/chunk-TUKV2ZIA.cjs.map +0 -1
  1677. package/lib/chunk-TVKGUM2Z.js +0 -99
  1678. package/lib/chunk-TVKGUM2Z.js.map +0 -1
  1679. package/lib/chunk-U6G7T5WX.cjs +0 -47
  1680. package/lib/chunk-U6G7T5WX.cjs.map +0 -1
  1681. package/lib/chunk-UFUZNSZI.cjs +0 -61
  1682. package/lib/chunk-UFUZNSZI.cjs.map +0 -1
  1683. package/lib/chunk-UFW7KJWK.js +0 -54
  1684. package/lib/chunk-UFW7KJWK.js.map +0 -1
  1685. package/lib/chunk-UHZABEQZ.js +0 -45
  1686. package/lib/chunk-UHZABEQZ.js.map +0 -1
  1687. package/lib/chunk-UIRXTLC6.cjs +0 -61
  1688. package/lib/chunk-UIRXTLC6.cjs.map +0 -1
  1689. package/lib/chunk-UJ4OEOZA.js +0 -87
  1690. package/lib/chunk-UJ4OEOZA.js.map +0 -1
  1691. package/lib/chunk-UL4JQZUD.cjs +0 -42
  1692. package/lib/chunk-UL4JQZUD.cjs.map +0 -1
  1693. package/lib/chunk-UNPVTCLZ.cjs +0 -47
  1694. package/lib/chunk-UNPVTCLZ.cjs.map +0 -1
  1695. package/lib/chunk-UQQTNQX3.cjs +0 -153
  1696. package/lib/chunk-UQQTNQX3.cjs.map +0 -1
  1697. package/lib/chunk-USP4O34Q.js +0 -28
  1698. package/lib/chunk-USP4O34Q.js.map +0 -1
  1699. package/lib/chunk-UTQEHWH2.js +0 -54
  1700. package/lib/chunk-UTQEHWH2.js.map +0 -1
  1701. package/lib/chunk-UV6BETTC.js +0 -48
  1702. package/lib/chunk-UV6BETTC.js.map +0 -1
  1703. package/lib/chunk-UXLDPLOA.js +0 -45
  1704. package/lib/chunk-UXLDPLOA.js.map +0 -1
  1705. package/lib/chunk-V6VQMQQX.js +0 -91
  1706. package/lib/chunk-V6VQMQQX.js.map +0 -1
  1707. package/lib/chunk-V74OBMS3.cjs +0 -95
  1708. package/lib/chunk-V74OBMS3.cjs.map +0 -1
  1709. package/lib/chunk-VA6VDBQS.js +0 -41
  1710. package/lib/chunk-VA6VDBQS.js.map +0 -1
  1711. package/lib/chunk-VB7XUWBF.cjs +0 -47
  1712. package/lib/chunk-VB7XUWBF.cjs.map +0 -1
  1713. package/lib/chunk-VESU72KU.js +0 -93
  1714. package/lib/chunk-VESU72KU.js.map +0 -1
  1715. package/lib/chunk-VEV4DZKI.cjs +0 -51
  1716. package/lib/chunk-VEV4DZKI.cjs.map +0 -1
  1717. package/lib/chunk-VI2NCCWC.js +0 -49
  1718. package/lib/chunk-VI2NCCWC.js.map +0 -1
  1719. package/lib/chunk-VTSEVEKJ.cjs +0 -53
  1720. package/lib/chunk-VTSEVEKJ.cjs.map +0 -1
  1721. package/lib/chunk-VUEZCOXT.cjs +0 -33
  1722. package/lib/chunk-VUEZCOXT.cjs.map +0 -1
  1723. package/lib/chunk-VVS2M4QH.js +0 -53
  1724. package/lib/chunk-VVS2M4QH.js.map +0 -1
  1725. package/lib/chunk-VWUS4YUX.js +0 -49
  1726. package/lib/chunk-VWUS4YUX.js.map +0 -1
  1727. package/lib/chunk-VXXJ3CIC.js +0 -49
  1728. package/lib/chunk-VXXJ3CIC.js.map +0 -1
  1729. package/lib/chunk-VZQLDW2G.cjs +0 -95
  1730. package/lib/chunk-VZQLDW2G.cjs.map +0 -1
  1731. package/lib/chunk-WMM5EI62.js +0 -24
  1732. package/lib/chunk-WMM5EI62.js.map +0 -1
  1733. package/lib/chunk-WO5PFLID.js +0 -45
  1734. package/lib/chunk-WO5PFLID.js.map +0 -1
  1735. package/lib/chunk-WWUZP5BE.cjs +0 -50
  1736. package/lib/chunk-WWUZP5BE.cjs.map +0 -1
  1737. package/lib/chunk-X55DEMOC.js +0 -45
  1738. package/lib/chunk-X55DEMOC.js.map +0 -1
  1739. package/lib/chunk-X5TTCMYD.cjs +0 -105
  1740. package/lib/chunk-X5TTCMYD.cjs.map +0 -1
  1741. package/lib/chunk-XEAXNFP4.js +0 -49
  1742. package/lib/chunk-XEAXNFP4.js.map +0 -1
  1743. package/lib/chunk-XK7ZO7EI.js +0 -40
  1744. package/lib/chunk-XK7ZO7EI.js.map +0 -1
  1745. package/lib/chunk-XPPCVN6T.cjs +0 -53
  1746. package/lib/chunk-XPPCVN6T.cjs.map +0 -1
  1747. package/lib/chunk-XREISFN4.cjs +0 -42
  1748. package/lib/chunk-XREISFN4.cjs.map +0 -1
  1749. package/lib/chunk-XU6ZCB7C.cjs +0 -47
  1750. package/lib/chunk-XU6ZCB7C.cjs.map +0 -1
  1751. package/lib/chunk-XWBNNCYU.cjs +0 -97
  1752. package/lib/chunk-XWBNNCYU.cjs.map +0 -1
  1753. package/lib/chunk-XWIVM4OM.cjs +0 -42
  1754. package/lib/chunk-XWIVM4OM.cjs.map +0 -1
  1755. package/lib/chunk-Y35I6KPP.js +0 -52
  1756. package/lib/chunk-Y35I6KPP.js.map +0 -1
  1757. package/lib/chunk-Y4GGZ4EQ.cjs +0 -101
  1758. package/lib/chunk-Y4GGZ4EQ.cjs.map +0 -1
  1759. package/lib/chunk-YBX7UV5N.cjs +0 -91
  1760. package/lib/chunk-YBX7UV5N.cjs.map +0 -1
  1761. package/lib/chunk-YEMLHMYR.cjs +0 -107
  1762. package/lib/chunk-YEMLHMYR.cjs.map +0 -1
  1763. package/lib/chunk-YETXFXFO.cjs +0 -550
  1764. package/lib/chunk-YETXFXFO.cjs.map +0 -1
  1765. package/lib/chunk-YFTJA634.js +0 -36
  1766. package/lib/chunk-YFTJA634.js.map +0 -1
  1767. package/lib/chunk-YNWHCH2N.cjs +0 -26
  1768. package/lib/chunk-YNWHCH2N.cjs.map +0 -1
  1769. package/lib/chunk-YRCCY6RV.js +0 -276
  1770. package/lib/chunk-YRCCY6RV.js.map +0 -1
  1771. package/lib/chunk-YYAEAKBO.cjs +0 -51
  1772. package/lib/chunk-YYAEAKBO.cjs.map +0 -1
  1773. package/lib/chunk-Z4LKTHPE.js +0 -20
  1774. package/lib/chunk-Z4LKTHPE.js.map +0 -1
  1775. package/lib/chunk-ZGX3A2OH.cjs +0 -42
  1776. package/lib/chunk-ZGX3A2OH.cjs.map +0 -1
  1777. package/lib/chunk-ZJE7A6E6.cjs +0 -39
  1778. package/lib/chunk-ZJE7A6E6.cjs.map +0 -1
  1779. package/lib/chunk-ZJGFUHDX.cjs +0 -54
  1780. package/lib/chunk-ZJGFUHDX.cjs.map +0 -1
  1781. package/lib/chunk-ZM2HKUHW.cjs +0 -50
  1782. package/lib/chunk-ZM2HKUHW.cjs.map +0 -1
  1783. package/lib/chunk-ZVSNJOYP.js +0 -51
  1784. package/lib/chunk-ZVSNJOYP.js.map +0 -1
  1785. package/lib/fetch-DQyRNxTg.d.cts +0 -55
  1786. package/lib/fetch-DQyRNxTg.d.ts +0 -55
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/external_promotions.ts"],"names":["ApiResource"],"mappings":";;;;;AA4SA,IAAM,kBAAA,GAAN,MAAM,mBAAA,SAA2BA,6BAAA,CAA+B;AAAA,EAE/D,OAAgB,IAAA,GAA8B,qBAAA;AAAA,EAE9C,MAAM,MAAA,CAAO,QAAA,EAAmC,MAAA,EAAiD,OAAA,EAAuD;AACvJ,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAmD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAA,CAAmB,IAAA,EAAK,EAAG,MAAA,E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AAA;AAAA,EAC3B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,kBAAA,EAAmB;AACxC,IAAO,2BAAA,GAAQ","file":"chunk-7B46YAQU.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 { 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 ExternalPromotionType = 'external_promotions'\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\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 ExternalPromotionSort = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort\n// export type ExternalPromotionFilter = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n\ninterface ExternalPromotion extends Resource {\n\t\n\treadonly type: ExternalPromotionType\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 circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.\n\t * @example ```\"closed\"```\n\t */\n\tcircuit_state?: string | null\n\t/** \n\t * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.\n\t * @example ```5```\n\t */\n\tcircuit_failure_count?: number | 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\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url: string\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 ExternalPromotionCreate 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 * 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\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url: string\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\ninterface ExternalPromotionUpdate 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 * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.\n\t * @example ```true```\n\t */\n\t_reset_circuit?: 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\t/** \n\t * The URL to the service that will compute the discount.\n\t * @example ```\"https://external_promotion.yourbrand.com\"```\n\t */\n\tpromotion_url?: string | 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 ExternalPromotions extends ApiResource<ExternalPromotion> {\n\n\tstatic readonly TYPE: ExternalPromotionType = 'external_promotions' as const\n\n\tasync create(resource: ExternalPromotionCreate, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.create<ExternalPromotionCreate, ExternalPromotion>({ ...resource, type: ExternalPromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ExternalPromotionUpdate, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ ...resource, type: ExternalPromotions.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: ExternalPromotions.TYPE } : id, options)\n\t}\n\n\tasync market(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `external_promotions/${_externalPromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `external_promotions/${_externalPromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `external_promotions/${_externalPromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `external_promotions/${_externalPromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `external_promotions/${_externalPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `external_promotions/${_externalPromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `external_promotions/${_externalPromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `external_promotions/${_externalPromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `external_promotions/${_externalPromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `external_promotions/${_externalPromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync event_stores(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `external_promotions/${_externalPromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `external_promotions/${_externalPromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\tasync _reset_circuit(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion> {\n\t\treturn this.resources.update<ExternalPromotionUpdate, ExternalPromotion>({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _reset_circuit: true }, params, options)\n\t}\n\n\n\tisExternalPromotion(resource: any): resource is ExternalPromotion {\n\t\treturn resource.type && (resource.type === ExternalPromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ExternalPromotionRel {\n\t\treturn super.relationshipOneToOne<ExternalPromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ExternalPromotionRel[] {\n\t\treturn super.relationshipOneToMany<ExternalPromotionRel>(...ids)\n\t}\n\n\n\ttype(): ExternalPromotionType {\n\t\treturn ExternalPromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new ExternalPromotions()\nexport default instance\n\nexport type { ExternalPromotion, ExternalPromotionCreate, ExternalPromotions, ExternalPromotionType, ExternalPromotionUpdate }\n"]}
@@ -1,45 +0,0 @@
1
- import { OPEN_API_SCHEMA_VERSION } from './chunk-IUGXRDL5.js';
2
- import { isTokenExpired } from './chunk-4MV6VICV.js';
3
- import { isTaggable, isDeletable, isUpdatable, isCreatable, isSingleton, getSingletons, getResources } from './chunk-MFDKS22G.js';
4
- import { isApiError, isSdkError } from './chunk-PIHQS6OG.js';
5
-
6
- // src/static.ts
7
- var CommerceLayerStatic = {
8
- resources: (sort) => {
9
- return getResources(sort);
10
- },
11
- singletons: (sort) => {
12
- return getSingletons(sort);
13
- },
14
- isSingleton: (resource) => {
15
- return isSingleton(resource);
16
- },
17
- isCreatable: (resource) => {
18
- return isCreatable(resource);
19
- },
20
- isUpdatable: (resource) => {
21
- return isUpdatable(resource);
22
- },
23
- isDeletable: (resource) => {
24
- return isDeletable(resource);
25
- },
26
- isTaggable: (resource) => {
27
- return isTaggable(resource);
28
- },
29
- isSdkError: (error) => {
30
- return isSdkError(error);
31
- },
32
- isApiError: (error) => {
33
- return isApiError(error);
34
- },
35
- isTokenExpired: (token) => {
36
- return isTokenExpired(token);
37
- },
38
- get schemaVersion() {
39
- return OPEN_API_SCHEMA_VERSION;
40
- }
41
- };
42
-
43
- export { CommerceLayerStatic };
44
- //# sourceMappingURL=chunk-7GP6774Q.js.map
45
- //# sourceMappingURL=chunk-7GP6774Q.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/static.ts"],"names":[],"mappings":";;;;;;AASO,IAAM,mBAAA,GAAsB;AAAA,EAElC,SAAA,EAAW,CAAC,IAAA,KAAsC;AACjD,IAAA,OAAO,aAAa,IAAI,CAAA;AAAA,EACzB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,IAAA,KAAsC;AAClD,IAAA,OAAO,cAAc,IAAI,CAAA;AAAA,EAC1B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,WAAA,EAAa,CAAC,QAAA,KAAwC;AACrD,IAAA,OAAO,YAAY,QAAQ,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,QAAA,KAAwC;AACpD,IAAA,OAAO,WAAW,QAAQ,CAAA;AAAA,EAC3B,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAO,WAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,UAAA,EAAY,CAAC,KAAA,KAAsC;AAClD,IAAA,OAAO,WAAW,KAAK,CAAA;AAAA,EACxB,CAAA;AAAA,EAEA,cAAA,EAAgB,CAAC,KAAA,KAA2B;AAC3C,IAAA,OAAO,eAAe,KAAK,CAAA;AAAA,EAC5B,CAAA;AAAA,EAEA,IAAI,aAAA,GAAwB;AAAE,IAAA,OAAO,uBAAA;AAAA,EAAwB;AAE9D","file":"chunk-7GP6774Q.js","sourcesContent":["\nimport { OPEN_API_SCHEMA_VERSION } from './commercelayer'\nimport type { ResourceTypeLock } from './enum'\nimport { getResources, getSingletons, isCreatable, isDeletable, isSingleton, isTaggable, isUpdatable } from './enum'\nimport { type ApiError, isApiError, isSdkError, type SdkError } from './error'\nimport { isTokenExpired } from './util'\n\n\n/* Static functions */\nexport const CommerceLayerStatic = {\n\n\tresources: (sort?: boolean): readonly string[] => {\n\t\treturn getResources(sort)\n\t},\n\n\tsingletons: (sort?: boolean): readonly string[] => {\n\t\treturn getSingletons(sort)\n\t},\n\n\tisSingleton: (resource: ResourceTypeLock): boolean => {\n\t\treturn isSingleton(resource)\n\t},\n\n\tisCreatable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isCreatable(resource)\n\t},\n\n\tisUpdatable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isUpdatable(resource)\n\t},\n\n\tisDeletable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isDeletable(resource)\n\t},\n\n\tisTaggable: (resource: ResourceTypeLock): boolean => {\n\t\treturn isTaggable(resource)\n\t},\n\n\tisSdkError: (error: unknown): error is SdkError => {\n\t\treturn isSdkError(error)\n\t},\n\n\tisApiError: (error: unknown): error is ApiError => {\n\t\treturn isApiError(error)\n\t},\n\n\tisTokenExpired: (token: string): boolean => {\n\t\treturn isTokenExpired(token)\n\t},\n\n\tget schemaVersion(): string { return OPEN_API_SCHEMA_VERSION }\n\n}\n"]}
@@ -1,44 +0,0 @@
1
- import { ApiResource } from './chunk-YRCCY6RV.js';
2
-
3
- // src/resources/cleanups.ts
4
- var Cleanups = class _Cleanups extends ApiResource {
5
- static TYPE = "cleanups";
6
- async create(resource, params, options) {
7
- return this.resources.create({ ...resource, type: _Cleanups.TYPE }, params, options);
8
- }
9
- async update(resource, params, options) {
10
- return this.resources.update({ ...resource, type: _Cleanups.TYPE }, params, options);
11
- }
12
- async delete(id, options) {
13
- await this.resources.delete(typeof id === "string" ? { id, type: _Cleanups.TYPE } : id, options);
14
- }
15
- async events(cleanupId, params, options) {
16
- const _cleanupId = cleanupId.id || cleanupId;
17
- return this.resources.fetch({ type: "events" }, `cleanups/${_cleanupId}/events`, params, options);
18
- }
19
- async event_stores(cleanupId, params, options) {
20
- const _cleanupId = cleanupId.id || cleanupId;
21
- return this.resources.fetch({ type: "event_stores" }, `cleanups/${_cleanupId}/event_stores`, params, options);
22
- }
23
- async _interrupt(id, params, options) {
24
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Cleanups.TYPE, _interrupt: true }, params, options);
25
- }
26
- isCleanup(resource) {
27
- return resource.type && resource.type === _Cleanups.TYPE;
28
- }
29
- relationship(id) {
30
- return super.relationshipOneToOne(id);
31
- }
32
- relationshipToMany(...ids) {
33
- return super.relationshipOneToMany(...ids);
34
- }
35
- type() {
36
- return _Cleanups.TYPE;
37
- }
38
- };
39
- var instance = new Cleanups();
40
- var cleanups_default = instance;
41
-
42
- export { cleanups_default };
43
- //# sourceMappingURL=chunk-7P36FTRX.js.map
44
- //# sourceMappingURL=chunk-7P36FTRX.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/cleanups.ts"],"names":[],"mappings":";;;AAuGA,IAAM,QAAA,GAAN,MAAM,SAAA,SAAiB,WAAA,CAAqB;AAAA,EAE3C,OAAgB,IAAA,GAAoB,UAAA;AAAA,EAEpC,MAAM,MAAA,CAAO,QAAA,EAAyB,MAAA,EAAuC,OAAA,EAA6C;AACzH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,SAAA,CAAS,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC3G;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAyB,MAAA,EAAuC,OAAA,EAA6C;AACzH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,SAAA,CAAS,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC3G;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SA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EAAE,CAAA;AAAA,EACjD;AAAA,EAEA,sBAAsB,GAAA,EAA6B;AAClD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAkC,GAAG,GAAG,CAAA;AAAA,EACtD;AAAA,EAGA,IAAA,GAAoB;AACnB,IAAA,OAAO,SAAA,CAAS,IAAA;AAAA,EACjB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,QAAA,EAAS;AAC9B,IAAO,gBAAA,GAAQ","file":"chunk-7P36FTRX.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 { EventStore } from './event_stores'\nimport type { Event } from './events'\n\n\ntype CleanupType = 'cleanups'\ntype CleanupRel = ResourceRel & { type: CleanupType }\n\n\nexport type CleanupSort = Pick<Cleanup, 'id' | 'resource_type' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'errors_count' | 'processed_count'> & ResourceSort\n// export type CleanupFilter = Pick<Cleanup, 'id' | 'resource_type' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'errors_count' | 'processed_count' | 'errors_log'> & ResourceFilter\n\n\ninterface Cleanup extends Resource {\n\t\n\treadonly type: CleanupType\n\n\t/** \n\t * The type of resource being cleaned. One of 'promotions', 'skus', 'bundles', 'sku_lists', 'stock_items', 'gift_cards', 'sku_options', or 'prices'.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: 'promotions' | 'skus' | 'bundles' | 'sku_lists' | 'stock_items' | 'gift_cards' | 'sku_options' | 'prices'\n\t/** \n\t * The cleanup job status. One of 'pending' (default), 'in_progress', 'interrupted', or 'completed'.\n\t * @example ```\"in_progress\"```\n\t */\n\tstatus: 'pending' | 'in_progress' | 'interrupted' | 'completed'\n\t/** \n\t * Time at which the cleanup was started.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarted_at?: string | null\n\t/** \n\t * Time at which the cleanup was completed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tcompleted_at?: string | null\n\t/** \n\t * Time at which the cleanup was interrupted.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tinterrupted_at?: string | null\n\t/** \n\t * The filters used to select the records to be cleaned.\n\t * @example ```{\"code_eq\":\"AAA\"}```\n\t */\n\tfilters?: Record<string, any> | null\n\t/** \n\t * Indicates the number of records to be cleaned.\n\t * @example ```300```\n\t */\n\trecords_count?: number | null\n\t/** \n\t * Indicates the number of cleanup errors, if any.\n\t * @example ```30```\n\t */\n\terrors_count?: number | null\n\t/** \n\t * Indicates the number of records that have been cleaned.\n\t * @example ```270```\n\t */\n\tprocessed_count?: number | null\n\t/** \n\t * Contains the cleanup errors, if any.\n\t * @example ```{\"ABC\":{\"name\":[\"has already been taken\"]}}```\n\t */\n\terrors_log?: Record<string, any> | null\n\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface CleanupCreate extends ResourceCreate {\n\t\n\t/** \n\t * The type of resource being cleaned. One of 'promotions', 'skus', 'bundles', 'sku_lists', 'stock_items', 'gift_cards', 'sku_options', or 'prices'.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: 'promotions' | 'skus' | 'bundles' | 'sku_lists' | 'stock_items' | 'gift_cards' | 'sku_options' | 'prices'\n\t/** \n\t * The filters used to select the records to be cleaned.\n\t * @example ```{\"code_eq\":\"AAA\"}```\n\t */\n\tfilters?: Record<string, any> | null\n\t\n}\n\n\ninterface CleanupUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Send this attribute if you want to mark status as 'interrupted'.\n\t * @example ```true```\n\t */\n\t_interrupt?: boolean | null\n\t\n}\n\n\nclass Cleanups extends ApiResource<Cleanup> {\n\n\tstatic readonly TYPE: CleanupType = 'cleanups' as const\n\n\tasync create(resource: CleanupCreate, params?: QueryParamsRetrieve<Cleanup>, options?: ResourcesConfig): Promise<Cleanup> {\n\t\treturn this.resources.create<CleanupCreate, Cleanup>({ ...resource, type: Cleanups.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CleanupUpdate, params?: QueryParamsRetrieve<Cleanup>, options?: ResourcesConfig): Promise<Cleanup> {\n\t\treturn this.resources.update<CleanupUpdate, Cleanup>({ ...resource, type: Cleanups.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: Cleanups.TYPE } : id, options)\n\t}\n\n\tasync events(cleanupId: string | Cleanup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _cleanupId = (cleanupId as Cleanup).id || cleanupId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `cleanups/${_cleanupId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(cleanupId: string | Cleanup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _cleanupId = (cleanupId as Cleanup).id || cleanupId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `cleanups/${_cleanupId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _interrupt(id: string | Cleanup, params?: QueryParamsRetrieve<Cleanup>, options?: ResourcesConfig): Promise<Cleanup> {\n\t\treturn this.resources.update<CleanupUpdate, Cleanup>({ id: (typeof id === 'string')? id: id.id, type: Cleanups.TYPE, _interrupt: true }, params, options)\n\t}\n\n\n\tisCleanup(resource: any): resource is Cleanup {\n\t\treturn resource.type && (resource.type === Cleanups.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CleanupRel {\n\t\treturn super.relationshipOneToOne<CleanupRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CleanupRel[] {\n\t\treturn super.relationshipOneToMany<CleanupRel>(...ids)\n\t}\n\n\n\ttype(): CleanupType {\n\t\treturn Cleanups.TYPE\n\t}\n\n}\n\n\nconst instance = new Cleanups()\nexport default instance\n\nexport type { Cleanup, CleanupCreate, Cleanups, CleanupType, CleanupUpdate }\n"]}
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkJEQ2X3Z6_cjs = require('./chunk-JEQ2X3Z6.cjs');
4
-
5
- // src/debug.ts
6
- var debuggerFunction = (_pattern, ..._args) => {
7
- };
8
- var debuggerFactory = (_namespace) => debuggerFunction;
9
- try {
10
- const debugModule = chunkJEQ2X3Z6_cjs.__require("debug");
11
- if (debugModule && typeof debugModule === "function") debuggerFactory = debugModule;
12
- } catch (_error) {
13
- }
14
- var debugPrefix = "clsdk";
15
- var debug = (namespace) => {
16
- return debuggerFactory(`${debugPrefix}:${namespace}`);
17
- };
18
- var debug_default = debug;
19
-
20
- exports.debug_default = debug_default;
21
- //# sourceMappingURL=chunk-7RZTCBDR.cjs.map
22
- //# sourceMappingURL=chunk-7RZTCBDR.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/debug.ts"],"names":["__require"],"mappings":";;;;;AAOA,IAAM,gBAAA,GAAmB,CAAC,QAAA,EAAA,GAAqB,KAAA,KAAuB;AAEtE,CAAA;AAEA,IAAI,eAAA,GAAmC,CAAC,UAAA,KAAiC,gBAAA;AAIzE,IAAI;AACH,EAAA,MAAM,WAAA,GAAcA,4BAAQ,OAAO,CAAA;AACnC,EAAA,IAAI,WAAA,IAAgB,OAAO,WAAA,KAAgB,UAAA,EAAa,eAAA,GAAkB,WAAA;AAC3E,CAAA,CAAA,OAAS,MAAA,EAAQ;AAEjB;AAGA,IAAM,WAAA,GAAc,OAAA;AAsBpB,IAAM,KAAA,GAAQ,CAAC,SAAA,KAAgC;AAC9C,EAAA,OAAO,eAAA,CAAgB,CAAA,EAAG,WAAW,CAAA,CAAA,EAAI,SAAS,CAAA,CAAE,CAAA;AACrD,CAAA;AAGA,IAAO,aAAA,GAAQ","file":"chunk-7RZTCBDR.cjs","sourcesContent":["\ntype Debugger = (pattern: string, ...args: any[]) => void\n\ntype DebuggerFactory = (namespace: string) => Debugger\n\n\n/* Nope debugger */\nconst debuggerFunction = (_pattern: string, ..._args: any[]): void => {\n\t// console.log(_pattern)\n}\n\nlet debuggerFactory: DebuggerFactory = (_namespace: string): Debugger => debuggerFunction\n\n\n/* Try loading 'debug' module */\ntry {\n\tconst debugModule = require('debug')\n\tif (debugModule && (typeof debugModule === 'function')) debuggerFactory = debugModule\n} catch (_error) {\n\t//\n}\n\n\nconst debugPrefix = 'clsdk'\n\n\n/* Retrieve the name of the caller 'module' */\n/*\nconst caller = (): string => {\n\n\tconst err = new Error()\n\n\tError.prepareStackTrace = (_, stack) => stack\n\tconst stack = err.stack as unknown as NodeJS.CallSite[]\n\tError.prepareStackTrace = undefined\n\n\tconst fileName = stack[2].getFileName() || '/'\n\n\treturn fileName.replace(/^.*[\\\\/]/, '').replace('.ts', '')\n\n}\n*/\n\n\n/* Return a debugger for the defined namespace */\nconst debug = (namespace: string): Debugger => {\n\treturn debuggerFactory(`${debugPrefix}:${namespace}`)\n}\n\n\nexport default debug\n"]}
@@ -1,56 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkL7FT6NDZ_cjs = require('./chunk-L7FT6NDZ.cjs');
4
-
5
- // src/resources/braintree_gateways.ts
6
- var BraintreeGateways = class _BraintreeGateways extends chunkL7FT6NDZ_cjs.ApiResource {
7
- static TYPE = "braintree_gateways";
8
- async create(resource, params, options) {
9
- return this.resources.create({ ...resource, type: _BraintreeGateways.TYPE }, params, options);
10
- }
11
- async update(resource, params, options) {
12
- return this.resources.update({ ...resource, type: _BraintreeGateways.TYPE }, params, options);
13
- }
14
- async delete(id, options) {
15
- await this.resources.delete(typeof id === "string" ? { id, type: _BraintreeGateways.TYPE } : id, options);
16
- }
17
- async payment_methods(braintreeGatewayId, params, options) {
18
- const _braintreeGatewayId = braintreeGatewayId.id || braintreeGatewayId;
19
- return this.resources.fetch({ type: "payment_methods" }, `braintree_gateways/${_braintreeGatewayId}/payment_methods`, params, options);
20
- }
21
- async event_stores(braintreeGatewayId, params, options) {
22
- const _braintreeGatewayId = braintreeGatewayId.id || braintreeGatewayId;
23
- return this.resources.fetch({ type: "event_stores" }, `braintree_gateways/${_braintreeGatewayId}/event_stores`, params, options);
24
- }
25
- async braintree_payments(braintreeGatewayId, params, options) {
26
- const _braintreeGatewayId = braintreeGatewayId.id || braintreeGatewayId;
27
- return this.resources.fetch({ type: "braintree_payments" }, `braintree_gateways/${_braintreeGatewayId}/braintree_payments`, params, options);
28
- }
29
- async _disable(id, params, options) {
30
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _BraintreeGateways.TYPE, _disable: true }, params, options);
31
- }
32
- async _enable(id, params, options) {
33
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _BraintreeGateways.TYPE, _enable: true }, params, options);
34
- }
35
- async _check(id, params, options) {
36
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _BraintreeGateways.TYPE, _check: true }, params, options);
37
- }
38
- isBraintreeGateway(resource) {
39
- return resource.type && resource.type === _BraintreeGateways.TYPE;
40
- }
41
- relationship(id) {
42
- return super.relationshipOneToOne(id);
43
- }
44
- relationshipToMany(...ids) {
45
- return super.relationshipOneToMany(...ids);
46
- }
47
- type() {
48
- return _BraintreeGateways.TYPE;
49
- }
50
- };
51
- var instance = new BraintreeGateways();
52
- var braintree_gateways_default = instance;
53
-
54
- exports.braintree_gateways_default = braintree_gateways_default;
55
- //# sourceMappingURL=chunk-7TVIC5GW.cjs.map
56
- //# sourceMappingURL=chunk-7TVIC5GW.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/braintree_gateways.ts"],"names":["ApiResource"],"mappings":";;;;;AA6MA,IAAM,iBAAA,GAAN,MAAM,kBAAA,SAA0BA,6BAAA,CAA8B;AAAA,EAE7D,OAAgB,IAAA,GAA6B,oBAAA;AAAA,EAE7C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AAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EAChL;AAAA,EAGA,mBAAmB,QAAA,EAA6C;AAC/D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,kBAAA,CAAkB,IAAA;AAAA,EAC9D;AAAA,EAGA,aAAa,EAAA,EAAqD;AACjE,IAAA,OAAO,KAAA,CAAM,qBAA0C,EAAE,CAAA;AAAA,EAC1D;AAAA,EAEA,sBAAsB,GAAA,EAAsC;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA2C,GAAG,GAAG,CAAA;AAAA,EAC/D;AAAA,EAGA,IAAA,GAA6B;AAC5B,IAAA,OAAO,kBAAA,CAAkB,IAAA;AAAA,EAC1B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,iBAAA,EAAkB;AACvC,IAAO,0BAAA,GAAQ","file":"chunk-7TVIC5GW.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 { BraintreePayment, BraintreePaymentType } from './braintree_payments'\nimport type { EventStore } from './event_stores'\nimport type { PaymentMethod } from './payment_methods'\n\n\ntype BraintreeGatewayType = 'braintree_gateways'\ntype BraintreeGatewayRel = ResourceRel & { type: BraintreeGatewayType }\ntype BraintreePaymentRel = ResourceRel & { type: BraintreePaymentType }\n\n\nexport type BraintreeGatewaySort = Pick<BraintreeGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type BraintreeGatewayFilter = Pick<BraintreeGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface BraintreeGateway extends Resource {\n\t\n\treadonly type: BraintreeGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * The payment gateway's API credential keys last digits.\n\t * @example ```{\"api_key\":\"********BW989\"}```\n\t */\n\tcredential_keys?: Record<string, any> | 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 dynamic descriptor name. Must be composed by business name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14 or 9 chars), for a total length of 22 chars.\n\t * @example ```\"company*productabc1234\"```\n\t */\n\tdescriptor_name?: string | null\n\t/** \n\t * The dynamic descriptor phone number. Must be 10-14 characters and can only contain numbers, dashes, parentheses and periods.\n\t * @example ```\"3125551212\"```\n\t */\n\tdescriptor_phone?: string | null\n\t/** \n\t * The dynamic descriptor URL.\n\t * @example ```\"company.com\"```\n\t */\n\tdescriptor_url?: string | null\n\t/** \n\t * The gateway webhook URL, generated automatically.\n\t * @example ```\"https://core.commercelayer.co/webhook_callbacks/braintree_gateways/xxxxx\"```\n\t */\n\twebhook_endpoint_url?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tevent_stores?: EventStore[] | null\n\tbraintree_payments?: BraintreePayment[] | null\n\n}\n\n\ninterface BraintreeGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | 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 check the credentials against the payment gateway's APIs.\n\t * @example ```true```\n\t */\n\t_check?: boolean | null\n\t/** \n\t * The gateway merchant account ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_account_id: string\n\t/** \n\t * The gateway merchant ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_id: string\n\t/** \n\t * The gateway API public key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key: string\n\t/** \n\t * The gateway API private key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tprivate_key: string\n\t/** \n\t * The dynamic descriptor name. Must be composed by business name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14 or 9 chars), for a total length of 22 chars.\n\t * @example ```\"company*productabc1234\"```\n\t */\n\tdescriptor_name?: string | null\n\t/** \n\t * The dynamic descriptor phone number. Must be 10-14 characters and can only contain numbers, dashes, parentheses and periods.\n\t * @example ```\"3125551212\"```\n\t */\n\tdescriptor_phone?: string | null\n\t/** \n\t * The dynamic descriptor URL.\n\t * @example ```\"company.com\"```\n\t */\n\tdescriptor_url?: string | null\n\n\tbraintree_payments?: BraintreePaymentRel[] | null\n\n}\n\n\ninterface BraintreeGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | 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 check the credentials against the payment gateway's APIs.\n\t * @example ```true```\n\t */\n\t_check?: boolean | null\n\t/** \n\t * The gateway merchant account ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_account_id?: string | null\n\t/** \n\t * The gateway merchant ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_id?: string | null\n\t/** \n\t * The gateway API public key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key?: string | null\n\t/** \n\t * The gateway API private key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tprivate_key?: string | null\n\t/** \n\t * The dynamic descriptor name. Must be composed by business name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14 or 9 chars), for a total length of 22 chars.\n\t * @example ```\"company*productabc1234\"```\n\t */\n\tdescriptor_name?: string | null\n\t/** \n\t * The dynamic descriptor phone number. Must be 10-14 characters and can only contain numbers, dashes, parentheses and periods.\n\t * @example ```\"3125551212\"```\n\t */\n\tdescriptor_phone?: string | null\n\t/** \n\t * The dynamic descriptor URL.\n\t * @example ```\"company.com\"```\n\t */\n\tdescriptor_url?: string | null\n\n\tbraintree_payments?: BraintreePaymentRel[] | null\n\n}\n\n\nclass BraintreeGateways extends ApiResource<BraintreeGateway> {\n\n\tstatic readonly TYPE: BraintreeGatewayType = 'braintree_gateways' as const\n\n\tasync create(resource: BraintreeGatewayCreate, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway> {\n\t\treturn this.resources.create<BraintreeGatewayCreate, BraintreeGateway>({ ...resource, type: BraintreeGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: BraintreeGatewayUpdate, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway> {\n\t\treturn this.resources.update<BraintreeGatewayUpdate, BraintreeGateway>({ ...resource, type: BraintreeGateways.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: BraintreeGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _braintreeGatewayId = (braintreeGatewayId as BraintreeGateway).id || braintreeGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `braintree_gateways/${_braintreeGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync event_stores(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _braintreeGatewayId = (braintreeGatewayId as BraintreeGateway).id || braintreeGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `braintree_gateways/${_braintreeGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync braintree_payments(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<BraintreePayment>, options?: ResourcesConfig): Promise<ListResponse<BraintreePayment>> {\n\t\tconst _braintreeGatewayId = (braintreeGatewayId as BraintreeGateway).id || braintreeGatewayId as string\n\t\treturn this.resources.fetch<BraintreePayment>({ type: 'braintree_payments' }, `braintree_gateways/${_braintreeGatewayId}/braintree_payments`, params, options) as unknown as ListResponse<BraintreePayment>\n\t}\n\n\tasync _disable(id: string | BraintreeGateway, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway> {\n\t\treturn this.resources.update<BraintreeGatewayUpdate, BraintreeGateway>({ id: (typeof id === 'string')? id: id.id, type: BraintreeGateways.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | BraintreeGateway, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway> {\n\t\treturn this.resources.update<BraintreeGatewayUpdate, BraintreeGateway>({ id: (typeof id === 'string')? id: id.id, type: BraintreeGateways.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _check(id: string | BraintreeGateway, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway> {\n\t\treturn this.resources.update<BraintreeGatewayUpdate, BraintreeGateway>({ id: (typeof id === 'string')? id: id.id, type: BraintreeGateways.TYPE, _check: true }, params, options)\n\t}\n\n\n\tisBraintreeGateway(resource: any): resource is BraintreeGateway {\n\t\treturn resource.type && (resource.type === BraintreeGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): BraintreeGatewayRel {\n\t\treturn super.relationshipOneToOne<BraintreeGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): BraintreeGatewayRel[] {\n\t\treturn super.relationshipOneToMany<BraintreeGatewayRel>(...ids)\n\t}\n\n\n\ttype(): BraintreeGatewayType {\n\t\treturn BraintreeGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new BraintreeGateways()\nexport default instance\n\nexport type { BraintreeGateway, BraintreeGatewayCreate, BraintreeGateways, BraintreeGatewayType, BraintreeGatewayUpdate }\n"]}
@@ -1,75 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkL7FT6NDZ_cjs = require('./chunk-L7FT6NDZ.cjs');
4
-
5
- // src/resources/bundles.ts
6
- var Bundles = class _Bundles extends chunkL7FT6NDZ_cjs.ApiResource {
7
- static TYPE = "bundles";
8
- async create(resource, params, options) {
9
- return this.resources.create({ ...resource, type: _Bundles.TYPE }, params, options);
10
- }
11
- async update(resource, params, options) {
12
- return this.resources.update({ ...resource, type: _Bundles.TYPE }, params, options);
13
- }
14
- async delete(id, options) {
15
- await this.resources.delete(typeof id === "string" ? { id, type: _Bundles.TYPE } : id, options);
16
- }
17
- async market(bundleId, params, options) {
18
- const _bundleId = bundleId.id || bundleId;
19
- return this.resources.fetch({ type: "markets" }, `bundles/${_bundleId}/market`, params, options);
20
- }
21
- async sku_list(bundleId, params, options) {
22
- const _bundleId = bundleId.id || bundleId;
23
- return this.resources.fetch({ type: "sku_lists" }, `bundles/${_bundleId}/sku_list`, params, options);
24
- }
25
- async skus(bundleId, params, options) {
26
- const _bundleId = bundleId.id || bundleId;
27
- return this.resources.fetch({ type: "skus" }, `bundles/${_bundleId}/skus`, params, options);
28
- }
29
- async attachments(bundleId, params, options) {
30
- const _bundleId = bundleId.id || bundleId;
31
- return this.resources.fetch({ type: "attachments" }, `bundles/${_bundleId}/attachments`, params, options);
32
- }
33
- async events(bundleId, params, options) {
34
- const _bundleId = bundleId.id || bundleId;
35
- return this.resources.fetch({ type: "events" }, `bundles/${_bundleId}/events`, params, options);
36
- }
37
- async tags(bundleId, params, options) {
38
- const _bundleId = bundleId.id || bundleId;
39
- return this.resources.fetch({ type: "tags" }, `bundles/${_bundleId}/tags`, params, options);
40
- }
41
- async event_stores(bundleId, params, options) {
42
- const _bundleId = bundleId.id || bundleId;
43
- return this.resources.fetch({ type: "event_stores" }, `bundles/${_bundleId}/event_stores`, params, options);
44
- }
45
- async _compute_price_amount(id, params, options) {
46
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Bundles.TYPE, _compute_price_amount: true }, params, options);
47
- }
48
- async _compute_compare_at_amount(id, params, options) {
49
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Bundles.TYPE, _compute_compare_at_amount: true }, params, options);
50
- }
51
- async _add_tags(id, triggerValue, params, options) {
52
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Bundles.TYPE, _add_tags: triggerValue }, params, options);
53
- }
54
- async _remove_tags(id, triggerValue, params, options) {
55
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Bundles.TYPE, _remove_tags: triggerValue }, params, options);
56
- }
57
- isBundle(resource) {
58
- return resource.type && resource.type === _Bundles.TYPE;
59
- }
60
- relationship(id) {
61
- return super.relationshipOneToOne(id);
62
- }
63
- relationshipToMany(...ids) {
64
- return super.relationshipOneToMany(...ids);
65
- }
66
- type() {
67
- return _Bundles.TYPE;
68
- }
69
- };
70
- var instance = new Bundles();
71
- var bundles_default = instance;
72
-
73
- exports.bundles_default = bundles_default;
74
- //# sourceMappingURL=chunk-7ZBEKCA5.cjs.map
75
- //# sourceMappingURL=chunk-7Z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AA,CAAU,MAAA,CAA6B,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,QAAA,CAAQ,IAAA,EAAM,WAAW,YAAA,EAAa,EAAG,QAAQ,OAAO,CAAA;AAAA,EAC7J;AAAA,EAEA,MAAM,YAAA,CAAa,EAAA,EAAqB,YAAA,EAAsB,QAAsC,OAAA,EAA4C;AAC/I,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,QAAA,CAAQ,IAAA,EAAM,cAAc,YAAA,EAAa,EAAG,QAAQ,OAAO,CAAA;AAAA,EAChK;AAAA,EAGA,SAAS,QAAA,EAAmC;AAC3C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,QAAA,CAAQ,IAAA;AAAA,EACpD;AAAA,EAGA,aAAa,EAAA,EAA2C;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAgC,EAAE,CAAA;AAAA,EAChD;AAAA,EAEA,sBAAsB,GAAA,EAA4B;AACjD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAiC,GAAG,GAAG,CAAA;AAAA,EACrD;AAAA,EAGA,IAAA,GAAmB;AAClB,IAAA,OAAO,QAAA,CAAQ,IAAA;AAAA,EAChB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,OAAA,EAAQ;AAC7B,IAAO,eAAA,GAAQ","file":"chunk-7ZBEKCA5.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 { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku } from './skus'\nimport type { Tag, TagType } from './tags'\n\n\ntype BundleType = 'bundles'\ntype BundleRel = ResourceRel & { type: BundleType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type BundleSort = Pick<Bundle, 'id' | 'code' | 'name' | 'currency_code' | 'price_amount_cents' | 'compare_at_amount_cents'> & ResourceSort\n// export type BundleFilter = Pick<Bundle, 'id' | 'code' | 'name' | 'currency_code' | 'description' | 'image_url' | 'do_not_ship' | 'do_not_track' | 'price_amount_cents' | 'compare_at_amount_cents'> & ResourceFilter\n\n\ninterface Bundle extends Resource {\n\t\n\treadonly type: BundleType\n\n\t/** \n\t * The bundle code, that uniquely identifies the bundle within the market.\n\t * @example ```\"BUNDMM000000FFFFFFXLXX\"```\n\t */\n\tcode: string\n\t/** \n\t * The internal name of the bundle.\n\t * @example ```\"Men's Black T-shirt (XL) with Black Cap and Socks, all with White Logo\"```\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 * An internal description of the bundle.\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 URL of an image that represents the bundle.\n\t * @example ```\"https://img.yourdomain.com/bundles/xYZkjABcde.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * Indicates if the bundle doesn't generate shipments (all sku_list's SKUs must be do_not_ship).\n\t */\n\tdo_not_ship?: boolean | null\n\t/** \n\t * Indicates if the bundle doesn't track the stock inventory (all sku_list's SKUs must be do_not_track).\n\t */\n\tdo_not_track?: boolean | null\n\t/** \n\t * The bundle price amount for the associated market, in cents.\n\t * @example ```10000```\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * The bundle price amount for the associated market, float.\n\t * @example ```100```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The bundle price amount for the associated market, formatted.\n\t * @example ```\"€100,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\t/** \n\t * The compared price amount, in cents. Useful to display a percentage discount.\n\t * @example ```13000```\n\t */\n\tcompare_at_amount_cents?: number | null\n\t/** \n\t * The compared price amount, float.\n\t * @example ```130```\n\t */\n\tcompare_at_amount_float?: number | null\n\t/** \n\t * The compared price amount, formatted.\n\t * @example ```\"€130,00\"```\n\t */\n\tformatted_compare_at_amount?: string | null\n\t/** \n\t * The total number of SKUs in the bundle.\n\t * @example ```2```\n\t */\n\tskus_count?: number | null\n\n\tmarket?: Market | null\n\tsku_list?: SkuList | null\n\tskus?: Sku[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface BundleCreate extends ResourceCreate {\n\t\n\t/** \n\t * The bundle code, that uniquely identifies the bundle within the market.\n\t * @example ```\"BUNDMM000000FFFFFFXLXX\"```\n\t */\n\tcode: string\n\t/** \n\t * The internal name of the bundle.\n\t * @example ```\"Men's Black T-shirt (XL) with Black Cap and Socks, all with White Logo\"```\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 * An internal description of the bundle.\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 URL of an image that represents the bundle.\n\t * @example ```\"https://img.yourdomain.com/bundles/xYZkjABcde.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * The bundle price amount for the associated market, in cents.\n\t * @example ```10000```\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * The compared price amount, in cents. Useful to display a percentage discount.\n\t * @example ```13000```\n\t */\n\tcompare_at_amount_cents?: number | null\n\t/** \n\t * Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market.\n\t * @example ```true```\n\t */\n\t_compute_price_amount?: boolean | null\n\t/** \n\t * Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.\n\t * @example ```true```\n\t */\n\t_compute_compare_at_amount?: boolean | null\n\n\tmarket?: MarketRel | null\n\tsku_list: SkuListRel\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface BundleUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The bundle code, that uniquely identifies the bundle within the market.\n\t * @example ```\"BUNDMM000000FFFFFFXLXX\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The internal name of the bundle.\n\t * @example ```\"Men's Black T-shirt (XL) with Black Cap and Socks, all with White Logo\"```\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 * An internal description of the bundle.\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 URL of an image that represents the bundle.\n\t * @example ```\"https://img.yourdomain.com/bundles/xYZkjABcde.png\"```\n\t */\n\timage_url?: string | null\n\t/** \n\t * The bundle price amount for the associated market, in cents.\n\t * @example ```10000```\n\t */\n\tprice_amount_cents?: number | null\n\t/** \n\t * The compared price amount, in cents. Useful to display a percentage discount.\n\t * @example ```13000```\n\t */\n\tcompare_at_amount_cents?: number | null\n\t/** \n\t * Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market.\n\t * @example ```true```\n\t */\n\t_compute_price_amount?: boolean | null\n\t/** \n\t * Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.\n\t * @example ```true```\n\t */\n\t_compute_compare_at_amount?: 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\n\ttags?: TagRel[] | null\n\n}\n\n\nclass Bundles extends ApiResource<Bundle> {\n\n\tstatic readonly TYPE: BundleType = 'bundles' as const\n\n\tasync create(resource: BundleCreate, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle> {\n\t\treturn this.resources.create<BundleCreate, Bundle>({ ...resource, type: Bundles.TYPE }, params, options)\n\t}\n\n\tasync update(resource: BundleUpdate, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle> {\n\t\treturn this.resources.update<BundleUpdate, Bundle>({ ...resource, type: Bundles.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: Bundles.TYPE } : id, options)\n\t}\n\n\tasync market(bundleId: string | Bundle, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _bundleId = (bundleId as Bundle).id || bundleId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `bundles/${_bundleId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync sku_list(bundleId: string | Bundle, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _bundleId = (bundleId as Bundle).id || bundleId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `bundles/${_bundleId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync skus(bundleId: string | Bundle, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _bundleId = (bundleId as Bundle).id || bundleId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `bundles/${_bundleId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync attachments(bundleId: string | Bundle, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _bundleId = (bundleId as Bundle).id || bundleId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `bundles/${_bundleId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(bundleId: string | Bundle, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _bundleId = (bundleId as Bundle).id || bundleId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `bundles/${_bundleId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(bundleId: string | Bundle, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _bundleId = (bundleId as Bundle).id || bundleId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `bundles/${_bundleId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync event_stores(bundleId: string | Bundle, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _bundleId = (bundleId as Bundle).id || bundleId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `bundles/${_bundleId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _compute_price_amount(id: string | Bundle, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle> {\n\t\treturn this.resources.update<BundleUpdate, Bundle>({ id: (typeof id === 'string')? id: id.id, type: Bundles.TYPE, _compute_price_amount: true }, params, options)\n\t}\n\n\tasync _compute_compare_at_amount(id: string | Bundle, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle> {\n\t\treturn this.resources.update<BundleUpdate, Bundle>({ id: (typeof id === 'string')? id: id.id, type: Bundles.TYPE, _compute_compare_at_amount: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | Bundle, triggerValue: string, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle> {\n\t\treturn this.resources.update<BundleUpdate, Bundle>({ id: (typeof id === 'string')? id: id.id, type: Bundles.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | Bundle, triggerValue: string, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle> {\n\t\treturn this.resources.update<BundleUpdate, Bundle>({ id: (typeof id === 'string')? id: id.id, type: Bundles.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisBundle(resource: any): resource is Bundle {\n\t\treturn resource.type && (resource.type === Bundles.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): BundleRel {\n\t\treturn super.relationshipOneToOne<BundleRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): BundleRel[] {\n\t\treturn super.relationshipOneToMany<BundleRel>(...ids)\n\t}\n\n\n\ttype(): BundleType {\n\t\treturn Bundles.TYPE\n\t}\n\n}\n\n\nconst instance = new Bundles()\nexport default instance\n\nexport type { Bundle, BundleCreate, Bundles, BundleType, BundleUpdate }\n"]}
@@ -1,53 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkL7FT6NDZ_cjs = require('./chunk-L7FT6NDZ.cjs');
4
-
5
- // src/resources/klarna_gateways.ts
6
- var KlarnaGateways = class _KlarnaGateways extends chunkL7FT6NDZ_cjs.ApiResource {
7
- static TYPE = "klarna_gateways";
8
- async create(resource, params, options) {
9
- return this.resources.create({ ...resource, type: _KlarnaGateways.TYPE }, params, options);
10
- }
11
- async update(resource, params, options) {
12
- return this.resources.update({ ...resource, type: _KlarnaGateways.TYPE }, params, options);
13
- }
14
- async delete(id, options) {
15
- await this.resources.delete(typeof id === "string" ? { id, type: _KlarnaGateways.TYPE } : id, options);
16
- }
17
- async payment_methods(klarnaGatewayId, params, options) {
18
- const _klarnaGatewayId = klarnaGatewayId.id || klarnaGatewayId;
19
- return this.resources.fetch({ type: "payment_methods" }, `klarna_gateways/${_klarnaGatewayId}/payment_methods`, params, options);
20
- }
21
- async event_stores(klarnaGatewayId, params, options) {
22
- const _klarnaGatewayId = klarnaGatewayId.id || klarnaGatewayId;
23
- return this.resources.fetch({ type: "event_stores" }, `klarna_gateways/${_klarnaGatewayId}/event_stores`, params, options);
24
- }
25
- async klarna_payments(klarnaGatewayId, params, options) {
26
- const _klarnaGatewayId = klarnaGatewayId.id || klarnaGatewayId;
27
- return this.resources.fetch({ type: "klarna_payments" }, `klarna_gateways/${_klarnaGatewayId}/klarna_payments`, params, options);
28
- }
29
- async _disable(id, params, options) {
30
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _KlarnaGateways.TYPE, _disable: true }, params, options);
31
- }
32
- async _enable(id, params, options) {
33
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _KlarnaGateways.TYPE, _enable: true }, params, options);
34
- }
35
- isKlarnaGateway(resource) {
36
- return resource.type && resource.type === _KlarnaGateways.TYPE;
37
- }
38
- relationship(id) {
39
- return super.relationshipOneToOne(id);
40
- }
41
- relationshipToMany(...ids) {
42
- return super.relationshipOneToMany(...ids);
43
- }
44
- type() {
45
- return _KlarnaGateways.TYPE;
46
- }
47
- };
48
- var instance = new KlarnaGateways();
49
- var klarna_gateways_default = instance;
50
-
51
- exports.klarna_gateways_default = klarna_gateways_default;
52
- //# sourceMappingURL=chunk-A6E33WC3.cjs.map
53
- //# sourceMappingURL=chunk-A6E33WC3.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/klarna_gateways.ts"],"names":["ApiResource"],"mappings":";;;;;AAuIA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA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O,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-A6E33WC3.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 { EventStore } from './event_stores'\nimport type { KlarnaPayment, KlarnaPaymentType } from './klarna_payments'\nimport type { PaymentMethod } from './payment_methods'\n\n\ntype KlarnaGatewayType = 'klarna_gateways'\ntype KlarnaGatewayRel = ResourceRel & { type: KlarnaGatewayType }\ntype KlarnaPaymentRel = ResourceRel & { type: KlarnaPaymentType }\n\n\nexport type KlarnaGatewaySort = Pick<KlarnaGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type KlarnaGatewayFilter = Pick<KlarnaGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface KlarnaGateway extends Resource {\n\t\n\treadonly type: KlarnaGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * The payment gateway's API credential keys last digits.\n\t * @example ```{\"api_key\":\"********BW989\"}```\n\t */\n\tcredential_keys?: Record<string, any> | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tevent_stores?: EventStore[] | null\n\tklarna_payments?: KlarnaPayment[] | null\n\n}\n\n\ninterface KlarnaGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | 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 gateway country code one of EU, US, or OC.\n\t * @example ```\"EU\"```\n\t */\n\tcountry_code: string\n\t/** \n\t * The public key linked to your API credential.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key: string\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_secret: string\n\n\tklarna_payments?: KlarnaPaymentRel[] | null\n\n}\n\n\ninterface KlarnaGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | 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 gateway country code one of EU, US, or OC.\n\t * @example ```\"EU\"```\n\t */\n\tcountry_code?: string | null\n\t/** \n\t * The public key linked to your API credential.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key?: string | null\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_secret?: string | null\n\n\tklarna_payments?: KlarnaPaymentRel[] | null\n\n}\n\n\nclass KlarnaGateways extends ApiResource<KlarnaGateway> {\n\n\tstatic readonly TYPE: KlarnaGatewayType = 'klarna_gateways' as const\n\n\tasync create(resource: KlarnaGatewayCreate, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway> {\n\t\treturn this.resources.create<KlarnaGatewayCreate, KlarnaGateway>({ ...resource, type: KlarnaGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: KlarnaGatewayUpdate, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway> {\n\t\treturn this.resources.update<KlarnaGatewayUpdate, KlarnaGateway>({ ...resource, type: KlarnaGateways.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: KlarnaGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _klarnaGatewayId = (klarnaGatewayId as KlarnaGateway).id || klarnaGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `klarna_gateways/${_klarnaGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync event_stores(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _klarnaGatewayId = (klarnaGatewayId as KlarnaGateway).id || klarnaGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `klarna_gateways/${_klarnaGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync klarna_payments(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<KlarnaPayment>, options?: ResourcesConfig): Promise<ListResponse<KlarnaPayment>> {\n\t\tconst _klarnaGatewayId = (klarnaGatewayId as KlarnaGateway).id || klarnaGatewayId as string\n\t\treturn this.resources.fetch<KlarnaPayment>({ type: 'klarna_payments' }, `klarna_gateways/${_klarnaGatewayId}/klarna_payments`, params, options) as unknown as ListResponse<KlarnaPayment>\n\t}\n\n\tasync _disable(id: string | KlarnaGateway, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway> {\n\t\treturn this.resources.update<KlarnaGatewayUpdate, KlarnaGateway>({ id: (typeof id === 'string')? id: id.id, type: KlarnaGateways.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | KlarnaGateway, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway> {\n\t\treturn this.resources.update<KlarnaGatewayUpdate, KlarnaGateway>({ id: (typeof id === 'string')? id: id.id, type: KlarnaGateways.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisKlarnaGateway(resource: any): resource is KlarnaGateway {\n\t\treturn resource.type && (resource.type === KlarnaGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): KlarnaGatewayRel {\n\t\treturn super.relationshipOneToOne<KlarnaGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): KlarnaGatewayRel[] {\n\t\treturn super.relationshipOneToMany<KlarnaGatewayRel>(...ids)\n\t}\n\n\n\ttype(): KlarnaGatewayType {\n\t\treturn KlarnaGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new KlarnaGateways()\nexport default instance\n\nexport type { KlarnaGateway, KlarnaGatewayCreate, KlarnaGateways, KlarnaGatewayType, KlarnaGatewayUpdate }\n"]}
@@ -1,38 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkL7FT6NDZ_cjs = require('./chunk-L7FT6NDZ.cjs');
4
-
5
- // src/resources/discount_engine_items.ts
6
- var DiscountEngineItems = class _DiscountEngineItems extends chunkL7FT6NDZ_cjs.ApiResource {
7
- static TYPE = "discount_engine_items";
8
- async discount_engine(discountEngineItemId, params, options) {
9
- const _discountEngineItemId = discountEngineItemId.id || discountEngineItemId;
10
- return this.resources.fetch({ type: "discount_engines" }, `discount_engine_items/${_discountEngineItemId}/discount_engine`, params, options);
11
- }
12
- async order(discountEngineItemId, params, options) {
13
- const _discountEngineItemId = discountEngineItemId.id || discountEngineItemId;
14
- return this.resources.fetch({ type: "orders" }, `discount_engine_items/${_discountEngineItemId}/order`, params, options);
15
- }
16
- async event_stores(discountEngineItemId, params, options) {
17
- const _discountEngineItemId = discountEngineItemId.id || discountEngineItemId;
18
- return this.resources.fetch({ type: "event_stores" }, `discount_engine_items/${_discountEngineItemId}/event_stores`, params, options);
19
- }
20
- isDiscountEngineItem(resource) {
21
- return resource.type && resource.type === _DiscountEngineItems.TYPE;
22
- }
23
- relationship(id) {
24
- return super.relationshipOneToOne(id);
25
- }
26
- relationshipToMany(...ids) {
27
- return super.relationshipOneToMany(...ids);
28
- }
29
- type() {
30
- return _DiscountEngineItems.TYPE;
31
- }
32
- };
33
- var instance = new DiscountEngineItems();
34
- var discount_engine_items_default = instance;
35
-
36
- exports.discount_engine_items_default = discount_engine_items_default;
37
- //# sourceMappingURL=chunk-A7BK3Z22.cjs.map
38
- //# sourceMappingURL=chunk-A7BK3Z22.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/discount_engine_items.ts"],"names":["ApiResource"],"mappings":";;;;;AAkCA,IAAM,mBAAA,GAAN,MAAM,oBAAA,SAA4BA,6BAAA,CAAgC;AAAA,EAEjE,OAAgB,IAAA,GAA+B,uBAAA;AAAA,EAE/C,MAAM,eAAA,CAAgB,oBAAA,EAAmD,MAAA,EAA8C,OAAA,EAAoD;AAC1K,IAAA,MAAM,qBAAA,GAAyB,qBAA4C,EAAA,IAAM,oBAAA;AACjF,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAsB,EAAE,IAAA,EAAM,kBAAA,EAAmB,EAAG,CAAA,sBAAA,EAAyB,qB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type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, } from '../resource'\nimport { ApiResource } from '../resource'\n\nimport type { DiscountEngine } from './discount_engines'\nimport type { EventStore } from './event_stores'\nimport type { Order } from './orders'\n\n\ntype DiscountEngineItemType = 'discount_engine_items'\ntype DiscountEngineItemRel = ResourceRel & { type: DiscountEngineItemType }\n\n\nexport type DiscountEngineItemSort = Pick<DiscountEngineItem, 'id'> & ResourceSort\n// export type DiscountEngineItemFilter = Pick<DiscountEngineItem, 'id' | 'body'> & ResourceFilter\n\n\ninterface DiscountEngineItem extends Resource {\n\t\n\treadonly type: DiscountEngineItemType\n\n\t/** \n\t * The body of the external discount engine response.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\tbody: Record<string, any>\n\n\tdiscount_engine?: DiscountEngine | null\n\torder?: Order | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass DiscountEngineItems extends ApiResource<DiscountEngineItem> {\n\n\tstatic readonly TYPE: DiscountEngineItemType = 'discount_engine_items' as const\n\n\tasync discount_engine(discountEngineItemId: string | DiscountEngineItem, params?: QueryParamsRetrieve<DiscountEngine>, options?: ResourcesConfig): Promise<DiscountEngine> {\n\t\tconst _discountEngineItemId = (discountEngineItemId as DiscountEngineItem).id || discountEngineItemId as string\n\t\treturn this.resources.fetch<DiscountEngine>({ type: 'discount_engines' }, `discount_engine_items/${_discountEngineItemId}/discount_engine`, params, options) as unknown as DiscountEngine\n\t}\n\n\tasync order(discountEngineItemId: string | DiscountEngineItem, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _discountEngineItemId = (discountEngineItemId as DiscountEngineItem).id || discountEngineItemId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `discount_engine_items/${_discountEngineItemId}/order`, params, options) as unknown as Order\n\t}\n\n\tasync event_stores(discountEngineItemId: string | DiscountEngineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _discountEngineItemId = (discountEngineItemId as DiscountEngineItem).id || discountEngineItemId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `discount_engine_items/${_discountEngineItemId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisDiscountEngineItem(resource: any): resource is DiscountEngineItem {\n\t\treturn resource.type && (resource.type === DiscountEngineItems.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): DiscountEngineItemRel {\n\t\treturn super.relationshipOneToOne<DiscountEngineItemRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): DiscountEngineItemRel[] {\n\t\treturn super.relationshipOneToMany<DiscountEngineItemRel>(...ids)\n\t}\n\n\n\ttype(): DiscountEngineItemType {\n\t\treturn DiscountEngineItems.TYPE\n\t}\n\n}\n\n\nconst instance = new DiscountEngineItems()\nexport default instance\n\nexport type { DiscountEngineItem, DiscountEngineItems, DiscountEngineItemType }\n"]}
@@ -1,38 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkL7FT6NDZ_cjs = require('./chunk-L7FT6NDZ.cjs');
4
-
5
- // src/resources/price_tiers.ts
6
- var PriceTiers = class _PriceTiers extends chunkL7FT6NDZ_cjs.ApiResource {
7
- static TYPE = "price_tiers";
8
- async price(priceTierId, params, options) {
9
- const _priceTierId = priceTierId.id || priceTierId;
10
- return this.resources.fetch({ type: "prices" }, `price_tiers/${_priceTierId}/price`, params, options);
11
- }
12
- async attachments(priceTierId, params, options) {
13
- const _priceTierId = priceTierId.id || priceTierId;
14
- return this.resources.fetch({ type: "attachments" }, `price_tiers/${_priceTierId}/attachments`, params, options);
15
- }
16
- async event_stores(priceTierId, params, options) {
17
- const _priceTierId = priceTierId.id || priceTierId;
18
- return this.resources.fetch({ type: "event_stores" }, `price_tiers/${_priceTierId}/event_stores`, params, options);
19
- }
20
- isPriceTier(resource) {
21
- return resource.type && resource.type === _PriceTiers.TYPE;
22
- }
23
- relationship(id) {
24
- return super.relationshipOneToOne(id);
25
- }
26
- relationshipToMany(...ids) {
27
- return super.relationshipOneToMany(...ids);
28
- }
29
- type() {
30
- return _PriceTiers.TYPE;
31
- }
32
- };
33
- var instance = new PriceTiers();
34
- var price_tiers_default = instance;
35
-
36
- exports.price_tiers_default = price_tiers_default;
37
- //# sourceMappingURL=chunk-AEP6D5QV.cjs.map
38
- //# sourceMappingURL=chunk-AEP6D5QV.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/price_tiers.ts"],"names":["ApiResource"],"mappings":";;;;;AAqDA,IAAM,UAAA,GAAN,MAAM,WAAA,SAAmBA,6BAAA,CAAuB;AAAA,EAE/C,OAAgB,IAAA,GAAsB,aAAA;AAAA,EAEtC,MAAM,KAAA,CAAM,WAAA,EAAiC,MAAA,EAAqC,OAAA,EAA2C;AAC5H,IAAA,MAAM,YAAA,GAAgB,YAA0B,EAAA,IAAM,WAAA;AACtD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAa,EAAE,IAAA,EAAM,QAAA,EAAS,EAAG,CAAA,YAAA,EAAe,YAAY,CAAA,MAAA,CAAA,EAAU,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5G;AAAA,EAEA,MAAM,WAAA,CAAY,WAAA,EAAiC,MAAA,EAAsC,OAAA,EAA8D;AACtJ,IAAA,MAAM,YAAA,GAAgB,YAA0B,EAAA,IAAM,WAAA;AACtD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,aAAA,EAAc,EAAG,CAAA,YAAA,EAAe,YAAY,CAAA,YAAA,CAAA,EAAgB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5H;AAAA,EAEA,MAAM,YAAA,CAAa,WAAA,EAAiC,MAAA,EAAsC,OAAA,EAA8D;AACvJ,IAAA,MAAM,YAAA,GAAgB,YAA0B,EAAA,IAAM,WAAA;AACtD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,YAAA,EAAe,YAAY,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC9H;AAAA,EAGA,YAAY,QAAA,EAAsC;AACjD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,WAAA,CAAW,IAAA;AAAA,EACvD;AAAA,EAGA,aAAa,EAAA,EAA8C;AAC1D,IAAA,OAAO,KAAA,CAAM,qBAAmC,EAAE,CAAA;AAAA,EACnD;AAAA,EAEA,sBAAsB,GAAA,EAA+B;AACpD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAoC,GAAG,GAAG,CAAA;AAAA,EACxD;AAAA,EAGA,IAAA,GAAsB;AACrB,IAAA,OAAO,WAAA,CAAW,IAAA;AAAA,EACnB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,UAAA,EAAW;AAChC,IAAO,mBAAA,GAAQ","file":"chunk-AEP6D5QV.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Price } from './prices'\n\n\ntype PriceTierType = 'price_tiers'\ntype PriceTierRel = ResourceRel & { type: PriceTierType }\n\n\nexport type PriceTierSort = Pick<PriceTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort\n// export type PriceTierFilter = Pick<PriceTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceFilter\n\n\ninterface PriceTier extends Resource {\n\t\n\treadonly type: PriceTierType\n\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit. When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```20.5```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * The price of this price tier, float.\n\t * @example ```10```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The price of this price tier, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\n\tprice?: Price | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass PriceTiers extends ApiResource<PriceTier> {\n\n\tstatic readonly TYPE: PriceTierType = 'price_tiers' as const\n\n\tasync price(priceTierId: string | PriceTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price> {\n\t\tconst _priceTierId = (priceTierId as PriceTier).id || priceTierId as string\n\t\treturn this.resources.fetch<Price>({ type: 'prices' }, `price_tiers/${_priceTierId}/price`, params, options) as unknown as Price\n\t}\n\n\tasync attachments(priceTierId: string | PriceTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _priceTierId = (priceTierId as PriceTier).id || priceTierId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `price_tiers/${_priceTierId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(priceTierId: string | PriceTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _priceTierId = (priceTierId as PriceTier).id || priceTierId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `price_tiers/${_priceTierId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisPriceTier(resource: any): resource is PriceTier {\n\t\treturn resource.type && (resource.type === PriceTiers.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceTierRel {\n\t\treturn super.relationshipOneToOne<PriceTierRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceTierRel[] {\n\t\treturn super.relationshipOneToMany<PriceTierRel>(...ids)\n\t}\n\n\n\ttype(): PriceTierType {\n\t\treturn PriceTiers.TYPE\n\t}\n\n}\n\n\nconst instance = new PriceTiers()\nexport default instance\n\nexport type { PriceTier, PriceTiers, PriceTierType }\n"]}