@commercelayer/sdk 8.0.0-beta.1 → 8.0.0-beta.11

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 (1788) hide show
  1. package/README.md +54 -22
  2. package/lib/api-CbtXzzPa.d.ts +19196 -0
  3. package/lib/api-DtDA0Oxa.d.cts +19196 -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 +36 -23
  17. package/lib/bundle.d.ts +34 -23
  18. package/lib/bundle.js +146 -563
  19. package/lib/bundle.js.map +1 -1
  20. package/lib/chunk-25VHLJ3F.js +89 -0
  21. package/lib/chunk-25VHLJ3F.js.map +1 -0
  22. package/lib/chunk-2AXNVWID.js +51 -0
  23. package/lib/chunk-2AXNVWID.js.map +1 -0
  24. package/lib/chunk-2E77ADQI.cjs +81 -0
  25. package/lib/chunk-2E77ADQI.cjs.map +1 -0
  26. package/lib/chunk-2JJWJZIX.cjs +79 -0
  27. package/lib/chunk-2JJWJZIX.cjs.map +1 -0
  28. package/lib/chunk-2MEIS5NA.cjs +182 -0
  29. package/lib/chunk-2MEIS5NA.cjs.map +1 -0
  30. package/lib/chunk-2QFPV3FM.js +60 -0
  31. package/lib/chunk-2QFPV3FM.js.map +1 -0
  32. package/lib/chunk-2RBVOBOE.cjs +60 -0
  33. package/lib/chunk-2RBVOBOE.cjs.map +1 -0
  34. package/lib/chunk-2UWYPR4T.js +120 -0
  35. package/lib/chunk-2UWYPR4T.js.map +1 -0
  36. package/lib/chunk-2VGVF5SJ.cjs +86 -0
  37. package/lib/chunk-2VGVF5SJ.cjs.map +1 -0
  38. package/lib/chunk-32YLRD6X.cjs +70 -0
  39. package/lib/chunk-32YLRD6X.cjs.map +1 -0
  40. package/lib/chunk-346DE4FR.cjs +193 -0
  41. package/lib/chunk-346DE4FR.cjs.map +1 -0
  42. package/lib/chunk-35HABXOS.cjs +205 -0
  43. package/lib/chunk-35HABXOS.cjs.map +1 -0
  44. package/lib/chunk-3DMYHXGB.js +20 -0
  45. package/lib/chunk-3DMYHXGB.js.map +1 -0
  46. package/lib/chunk-3EI7CXU3.js +68 -0
  47. package/lib/chunk-3EI7CXU3.js.map +1 -0
  48. package/lib/chunk-3MR4RCHV.js +100 -0
  49. package/lib/chunk-3MR4RCHV.js.map +1 -0
  50. package/lib/chunk-3OIAX6XB.js +59 -0
  51. package/lib/chunk-3OIAX6XB.js.map +1 -0
  52. package/lib/chunk-3Q2WCV4Q.js +67 -0
  53. package/lib/chunk-3Q2WCV4Q.js.map +1 -0
  54. package/lib/chunk-3QQMAS7W.cjs +94 -0
  55. package/lib/chunk-3QQMAS7W.cjs.map +1 -0
  56. package/lib/chunk-3RCAZLBZ.cjs +82 -0
  57. package/lib/chunk-3RCAZLBZ.cjs.map +1 -0
  58. package/lib/chunk-3SBL6VHM.cjs +122 -0
  59. package/lib/chunk-3SBL6VHM.cjs.map +1 -0
  60. package/lib/chunk-3VPZFDUD.cjs +102 -0
  61. package/lib/chunk-3VPZFDUD.cjs.map +1 -0
  62. package/lib/chunk-3ZC34CCX.js +38 -0
  63. package/lib/chunk-3ZC34CCX.js.map +1 -0
  64. package/lib/chunk-426WITQY.js +89 -0
  65. package/lib/chunk-426WITQY.js.map +1 -0
  66. package/lib/chunk-47X2DZN4.cjs +102 -0
  67. package/lib/chunk-47X2DZN4.cjs.map +1 -0
  68. package/lib/chunk-4HTYFQWK.cjs +44 -0
  69. package/lib/chunk-4HTYFQWK.cjs.map +1 -0
  70. package/lib/chunk-4K2SOUH5.cjs +52 -0
  71. package/lib/chunk-4K2SOUH5.cjs.map +1 -0
  72. package/lib/chunk-4REPNW3X.js +61 -0
  73. package/lib/chunk-4REPNW3X.js.map +1 -0
  74. package/lib/chunk-4WZ6KSV6.js +129 -0
  75. package/lib/chunk-4WZ6KSV6.js.map +1 -0
  76. package/lib/chunk-4YUZOIAO.cjs +131 -0
  77. package/lib/chunk-4YUZOIAO.cjs.map +1 -0
  78. package/lib/chunk-52DKX77F.cjs +98 -0
  79. package/lib/chunk-52DKX77F.cjs.map +1 -0
  80. package/lib/chunk-5CTB4AQM.cjs +62 -0
  81. package/lib/chunk-5CTB4AQM.cjs.map +1 -0
  82. package/lib/chunk-5GGEXHQI.cjs +98 -0
  83. package/lib/chunk-5GGEXHQI.cjs.map +1 -0
  84. package/lib/chunk-5H7R4SYT.js +58 -0
  85. package/lib/chunk-5H7R4SYT.js.map +1 -0
  86. package/lib/chunk-5IMEH7YJ.js +177 -0
  87. package/lib/chunk-5IMEH7YJ.js.map +1 -0
  88. package/lib/chunk-5MAU5OUB.cjs +91 -0
  89. package/lib/chunk-5MAU5OUB.cjs.map +1 -0
  90. package/lib/chunk-5RLBHS3F.cjs +179 -0
  91. package/lib/chunk-5RLBHS3F.cjs.map +1 -0
  92. package/lib/chunk-5VI4FFCJ.cjs +91 -0
  93. package/lib/chunk-5VI4FFCJ.cjs.map +1 -0
  94. package/lib/chunk-5W54ENHX.js +331 -0
  95. package/lib/chunk-5W54ENHX.js.map +1 -0
  96. package/lib/chunk-5XNNWIAH.cjs +98 -0
  97. package/lib/chunk-5XNNWIAH.cjs.map +1 -0
  98. package/lib/chunk-5Z2IIZE4.cjs +62 -0
  99. package/lib/chunk-5Z2IIZE4.cjs.map +1 -0
  100. package/lib/chunk-62VNLMH5.cjs +176 -0
  101. package/lib/chunk-62VNLMH5.cjs.map +1 -0
  102. package/lib/chunk-6EZRTCA4.cjs +53 -0
  103. package/lib/chunk-6EZRTCA4.cjs.map +1 -0
  104. package/lib/chunk-6G4MV4VT.js +75 -0
  105. package/lib/chunk-6G4MV4VT.js.map +1 -0
  106. package/lib/chunk-6TJJD77K.cjs +40 -0
  107. package/lib/chunk-6TJJD77K.cjs.map +1 -0
  108. package/lib/chunk-6TN2P34K.cjs +120 -0
  109. package/lib/chunk-6TN2P34K.cjs.map +1 -0
  110. package/lib/chunk-73Q3EU2I.js +68 -0
  111. package/lib/chunk-73Q3EU2I.js.map +1 -0
  112. package/lib/chunk-7GDSHRLY.cjs +170 -0
  113. package/lib/chunk-7GDSHRLY.cjs.map +1 -0
  114. package/lib/chunk-7KTPV74D.js +113 -0
  115. package/lib/chunk-7KTPV74D.js.map +1 -0
  116. package/lib/chunk-7OUOUHOO.cjs +84 -0
  117. package/lib/chunk-7OUOUHOO.cjs.map +1 -0
  118. package/lib/chunk-7Y3OVLWC.cjs +79 -0
  119. package/lib/chunk-7Y3OVLWC.cjs.map +1 -0
  120. package/lib/chunk-A3U2XTGP.js +124 -0
  121. package/lib/chunk-A3U2XTGP.js.map +1 -0
  122. package/lib/chunk-A4GLMRLN.js +89 -0
  123. package/lib/chunk-A4GLMRLN.js.map +1 -0
  124. package/lib/chunk-A6AENRHK.cjs +125 -0
  125. package/lib/chunk-A6AENRHK.cjs.map +1 -0
  126. package/lib/chunk-ANFIAB6R.js +177 -0
  127. package/lib/chunk-ANFIAB6R.js.map +1 -0
  128. package/lib/chunk-AOHAWFOB.js +86 -0
  129. package/lib/chunk-AOHAWFOB.js.map +1 -0
  130. package/lib/chunk-APBF76ZC.cjs +91 -0
  131. package/lib/chunk-APBF76ZC.cjs.map +1 -0
  132. package/lib/chunk-ATGOMWPN.js +77 -0
  133. package/lib/chunk-ATGOMWPN.js.map +1 -0
  134. package/lib/chunk-AYBAQVWV.js +612 -0
  135. package/lib/chunk-AYBAQVWV.js.map +1 -0
  136. package/lib/chunk-AZTICLOY.js +45 -0
  137. package/lib/chunk-AZTICLOY.js.map +1 -0
  138. package/lib/chunk-B3KEZC7E.cjs +62 -0
  139. package/lib/chunk-B3KEZC7E.cjs.map +1 -0
  140. package/lib/chunk-B77UNRIL.cjs +79 -0
  141. package/lib/chunk-B77UNRIL.cjs.map +1 -0
  142. package/lib/chunk-BFD4ZKN2.cjs +86 -0
  143. package/lib/chunk-BFD4ZKN2.cjs.map +1 -0
  144. package/lib/chunk-BHWL7SMR.cjs +614 -0
  145. package/lib/chunk-BHWL7SMR.cjs.map +1 -0
  146. package/lib/chunk-BIRMFKH4.js +51 -0
  147. package/lib/chunk-BIRMFKH4.js.map +1 -0
  148. package/lib/chunk-BMQ5UFUF.cjs +44 -0
  149. package/lib/chunk-BMQ5UFUF.cjs.map +1 -0
  150. package/lib/chunk-BNN6J67M.js +84 -0
  151. package/lib/chunk-BNN6J67M.js.map +1 -0
  152. package/lib/chunk-BODGU3FN.js +70 -0
  153. package/lib/chunk-BODGU3FN.js.map +1 -0
  154. package/lib/chunk-BPANUY47.cjs +22 -0
  155. package/lib/chunk-BPANUY47.cjs.map +1 -0
  156. package/lib/chunk-BPJZJZ4P.cjs +62 -0
  157. package/lib/chunk-BPJZJZ4P.cjs.map +1 -0
  158. package/lib/chunk-BQASYOEH.js +68 -0
  159. package/lib/chunk-BQASYOEH.js.map +1 -0
  160. package/lib/chunk-BTR6K6LM.cjs +63 -0
  161. package/lib/chunk-BTR6K6LM.cjs.map +1 -0
  162. package/lib/chunk-BU7V7PER.cjs +70 -0
  163. package/lib/chunk-BU7V7PER.cjs.map +1 -0
  164. package/lib/chunk-BULIJXJG.js +42 -0
  165. package/lib/chunk-BULIJXJG.js.map +1 -0
  166. package/lib/chunk-BVY6R7DW.cjs +74 -0
  167. package/lib/chunk-BVY6R7DW.cjs.map +1 -0
  168. package/lib/chunk-CAMYSYCA.cjs +125 -0
  169. package/lib/chunk-CAMYSYCA.cjs.map +1 -0
  170. package/lib/chunk-CCMUJPKE.js +51 -0
  171. package/lib/chunk-CCMUJPKE.js.map +1 -0
  172. package/lib/chunk-CKS7ZLKB.js +77 -0
  173. package/lib/chunk-CKS7ZLKB.js.map +1 -0
  174. package/lib/chunk-CNX3NNSJ.js +42 -0
  175. package/lib/chunk-CNX3NNSJ.js.map +1 -0
  176. package/lib/chunk-CRSL2GLF.js +80 -0
  177. package/lib/chunk-CRSL2GLF.js.map +1 -0
  178. package/lib/chunk-CWAFALCE.js +94 -0
  179. package/lib/chunk-CWAFALCE.js.map +1 -0
  180. package/lib/chunk-CXLUFFYV.js +180 -0
  181. package/lib/chunk-CXLUFFYV.js.map +1 -0
  182. package/lib/chunk-D3X4TTHW.cjs +55 -0
  183. package/lib/chunk-D3X4TTHW.cjs.map +1 -0
  184. package/lib/chunk-D4ZRETJN.cjs +179 -0
  185. package/lib/chunk-D4ZRETJN.cjs.map +1 -0
  186. package/lib/chunk-D74NQPBD.js +77 -0
  187. package/lib/chunk-D74NQPBD.js.map +1 -0
  188. package/lib/chunk-DCHLWNWE.js +89 -0
  189. package/lib/chunk-DCHLWNWE.js.map +1 -0
  190. package/lib/chunk-DCKGGURY.js +12 -0
  191. package/lib/chunk-DCKGGURY.js.map +1 -0
  192. package/lib/chunk-DDJBA5N3.js +86 -0
  193. package/lib/chunk-DDJBA5N3.js.map +1 -0
  194. package/lib/chunk-DLEMEQCL.js +68 -0
  195. package/lib/chunk-DLEMEQCL.js.map +1 -0
  196. package/lib/chunk-DTENA3KF.cjs +94 -0
  197. package/lib/chunk-DTENA3KF.cjs.map +1 -0
  198. package/lib/chunk-DTVZJW3T.js +60 -0
  199. package/lib/chunk-DTVZJW3T.js.map +1 -0
  200. package/lib/chunk-DZPTIKD7.cjs +70 -0
  201. package/lib/chunk-DZPTIKD7.cjs.map +1 -0
  202. package/lib/chunk-E5WNJXQM.cjs +79 -0
  203. package/lib/chunk-E5WNJXQM.cjs.map +1 -0
  204. package/lib/chunk-E7N3CO5I.cjs +122 -0
  205. package/lib/chunk-E7N3CO5I.cjs.map +1 -0
  206. package/lib/chunk-E7ZKYXMW.js +120 -0
  207. package/lib/chunk-E7ZKYXMW.js.map +1 -0
  208. package/lib/chunk-ELS7YPTF.js +60 -0
  209. package/lib/chunk-ELS7YPTF.js.map +1 -0
  210. package/lib/chunk-ELSMZZL6.js +68 -0
  211. package/lib/chunk-ELSMZZL6.js.map +1 -0
  212. package/lib/chunk-EMAUWPBH.cjs +62 -0
  213. package/lib/chunk-EMAUWPBH.cjs.map +1 -0
  214. package/lib/chunk-ENGSDWYA.cjs +70 -0
  215. package/lib/chunk-ENGSDWYA.cjs.map +1 -0
  216. package/lib/chunk-ET7SIFCZ.js +82 -0
  217. package/lib/chunk-ET7SIFCZ.js.map +1 -0
  218. package/lib/chunk-F4XVHX6I.cjs +243 -0
  219. package/lib/chunk-F4XVHX6I.cjs.map +1 -0
  220. package/lib/chunk-FD2JC7HR.cjs +62 -0
  221. package/lib/chunk-FD2JC7HR.cjs.map +1 -0
  222. package/lib/chunk-FDPYOOCE.js +132 -0
  223. package/lib/chunk-FDPYOOCE.js.map +1 -0
  224. package/lib/chunk-FMPIBZQI.js +78 -0
  225. package/lib/chunk-FMPIBZQI.js.map +1 -0
  226. package/lib/chunk-FO6W4J2K.cjs +70 -0
  227. package/lib/chunk-FO6W4J2K.cjs.map +1 -0
  228. package/lib/chunk-FOTU7CYD.js +53 -0
  229. package/lib/chunk-FOTU7CYD.js.map +1 -0
  230. package/lib/chunk-FRJSKD6D.js +68 -0
  231. package/lib/chunk-FRJSKD6D.js.map +1 -0
  232. package/lib/chunk-FUVQOAPT.js +60 -0
  233. package/lib/chunk-FUVQOAPT.js.map +1 -0
  234. package/lib/chunk-FVJWAGF3.cjs +77 -0
  235. package/lib/chunk-FVJWAGF3.cjs.map +1 -0
  236. package/lib/chunk-G2G7OZPY.cjs +71 -0
  237. package/lib/chunk-G2G7OZPY.cjs.map +1 -0
  238. package/lib/chunk-GAQQJH3L.cjs +70 -0
  239. package/lib/chunk-GAQQJH3L.cjs.map +1 -0
  240. package/lib/chunk-GEJSGUO3.js +75 -0
  241. package/lib/chunk-GEJSGUO3.js.map +1 -0
  242. package/lib/chunk-GKPLAZMH.cjs +339 -0
  243. package/lib/chunk-GKPLAZMH.cjs.map +1 -0
  244. package/lib/chunk-GL5HO22G.js +75 -0
  245. package/lib/chunk-GL5HO22G.js.map +1 -0
  246. package/lib/chunk-GLA3FXNM.js +96 -0
  247. package/lib/chunk-GLA3FXNM.js.map +1 -0
  248. package/lib/chunk-GLFJHLVP.cjs +120 -0
  249. package/lib/chunk-GLFJHLVP.cjs.map +1 -0
  250. package/lib/chunk-GMOMWH45.js +79 -0
  251. package/lib/chunk-GMOMWH45.js.map +1 -0
  252. package/lib/chunk-GP7TYOQO.js +68 -0
  253. package/lib/chunk-GP7TYOQO.js.map +1 -0
  254. package/lib/chunk-GXOLCMKF.js +73 -0
  255. package/lib/chunk-GXOLCMKF.js.map +1 -0
  256. package/lib/chunk-H4CW7KIP.cjs +102 -0
  257. package/lib/chunk-H4CW7KIP.cjs.map +1 -0
  258. package/lib/chunk-H7FOVRDB.js +51 -0
  259. package/lib/chunk-H7FOVRDB.js.map +1 -0
  260. package/lib/chunk-H7I2IH4X.js +68 -0
  261. package/lib/chunk-H7I2IH4X.js.map +1 -0
  262. package/lib/chunk-HDETPQPF.js +177 -0
  263. package/lib/chunk-HDETPQPF.js.map +1 -0
  264. package/lib/chunk-HL4RE2VL.js +96 -0
  265. package/lib/chunk-HL4RE2VL.js.map +1 -0
  266. package/lib/chunk-HP72HI2Q.cjs +193 -0
  267. package/lib/chunk-HP72HI2Q.cjs.map +1 -0
  268. package/lib/chunk-HPFHY6E4.cjs +75 -0
  269. package/lib/chunk-HPFHY6E4.cjs.map +1 -0
  270. package/lib/chunk-HVHXCOIY.cjs +126 -0
  271. package/lib/chunk-HVHXCOIY.cjs.map +1 -0
  272. package/lib/chunk-HVW67FMI.cjs +84 -0
  273. package/lib/chunk-HVW67FMI.cjs.map +1 -0
  274. package/lib/chunk-HVYTLHDO.cjs +79 -0
  275. package/lib/chunk-HVYTLHDO.cjs.map +1 -0
  276. package/lib/chunk-I2Y3JYO7.js +177 -0
  277. package/lib/chunk-I2Y3JYO7.js.map +1 -0
  278. package/lib/chunk-I42LP7ZG.cjs +91 -0
  279. package/lib/chunk-I42LP7ZG.cjs.map +1 -0
  280. package/lib/chunk-IFT5SYLF.cjs +91 -0
  281. package/lib/chunk-IFT5SYLF.cjs.map +1 -0
  282. package/lib/chunk-IIXJMXXF.cjs +80 -0
  283. package/lib/chunk-IIXJMXXF.cjs.map +1 -0
  284. package/lib/chunk-ILC7QEAT.cjs +79 -0
  285. package/lib/chunk-ILC7QEAT.cjs.map +1 -0
  286. package/lib/chunk-IRBANPTE.cjs +90 -0
  287. package/lib/chunk-IRBANPTE.cjs.map +1 -0
  288. package/lib/chunk-IRYMYC5C.cjs +88 -0
  289. package/lib/chunk-IRYMYC5C.cjs.map +1 -0
  290. package/lib/chunk-IUOZC7XK.js +174 -0
  291. package/lib/chunk-IUOZC7XK.js.map +1 -0
  292. package/lib/chunk-IWM7VPWN.cjs +85 -0
  293. package/lib/chunk-IWM7VPWN.cjs.map +1 -0
  294. package/lib/chunk-IXWOBRJ4.js +68 -0
  295. package/lib/chunk-IXWOBRJ4.js.map +1 -0
  296. package/lib/chunk-IYNDRTNU.cjs +53 -0
  297. package/lib/chunk-IYNDRTNU.cjs.map +1 -0
  298. package/lib/chunk-IZFNSMU3.cjs +193 -0
  299. package/lib/chunk-IZFNSMU3.cjs.map +1 -0
  300. package/lib/chunk-IZOPMMMF.js +82 -0
  301. package/lib/chunk-IZOPMMMF.js.map +1 -0
  302. package/lib/chunk-JBUP7E7U.js +86 -0
  303. package/lib/chunk-JBUP7E7U.js.map +1 -0
  304. package/lib/chunk-JEJPSSXF.js +77 -0
  305. package/lib/chunk-JEJPSSXF.js.map +1 -0
  306. package/lib/chunk-JNS3HMDG.js +68 -0
  307. package/lib/chunk-JNS3HMDG.js.map +1 -0
  308. package/lib/chunk-JROHRQBW.cjs +88 -0
  309. package/lib/chunk-JROHRQBW.cjs.map +1 -0
  310. package/lib/chunk-JUZY67IP.cjs +70 -0
  311. package/lib/chunk-JUZY67IP.cjs.map +1 -0
  312. package/lib/chunk-JVLJIDJJ.js +191 -0
  313. package/lib/chunk-JVLJIDJJ.js.map +1 -0
  314. package/lib/chunk-K35AJI7L.js +91 -0
  315. package/lib/chunk-K35AJI7L.js.map +1 -0
  316. package/lib/chunk-KDFBUMSZ.js +121 -0
  317. package/lib/chunk-KDFBUMSZ.js.map +1 -0
  318. package/lib/chunk-KFIHPXZD.js +60 -0
  319. package/lib/chunk-KFIHPXZD.js.map +1 -0
  320. package/lib/chunk-KKU4FTJD.cjs +198 -0
  321. package/lib/chunk-KKU4FTJD.cjs.map +1 -0
  322. package/lib/chunk-KM76YWNO.cjs +62 -0
  323. package/lib/chunk-KM76YWNO.cjs.map +1 -0
  324. package/lib/chunk-KTGTFKFD.js +89 -0
  325. package/lib/chunk-KTGTFKFD.js.map +1 -0
  326. package/lib/chunk-KTICF7CN.js +77 -0
  327. package/lib/chunk-KTICF7CN.js.map +1 -0
  328. package/lib/chunk-KXITMWWL.js +50 -0
  329. package/lib/chunk-KXITMWWL.js.map +1 -0
  330. package/lib/chunk-KZMT4U4X.cjs +52 -0
  331. package/lib/chunk-KZMT4U4X.cjs.map +1 -0
  332. package/lib/chunk-L7VAH4BF.js +60 -0
  333. package/lib/chunk-L7VAH4BF.js.map +1 -0
  334. package/lib/chunk-LLQJ3JII.js +241 -0
  335. package/lib/chunk-LLQJ3JII.js.map +1 -0
  336. package/lib/chunk-LLTYLK3I.js +92 -0
  337. package/lib/chunk-LLTYLK3I.js.map +1 -0
  338. package/lib/chunk-LQYHM4ET.cjs +77 -0
  339. package/lib/chunk-LQYHM4ET.cjs.map +1 -0
  340. package/lib/chunk-M4VCWE32.js +77 -0
  341. package/lib/chunk-M4VCWE32.js.map +1 -0
  342. package/lib/chunk-M6EAUX5W.js +35 -0
  343. package/lib/chunk-M6EAUX5W.js.map +1 -0
  344. package/lib/chunk-M7NCBLZJ.cjs +52 -0
  345. package/lib/chunk-M7NCBLZJ.cjs.map +1 -0
  346. package/lib/chunk-MMKCMAW3.cjs +61 -0
  347. package/lib/chunk-MMKCMAW3.cjs.map +1 -0
  348. package/lib/chunk-MMNJTSFU.cjs +70 -0
  349. package/lib/chunk-MMNJTSFU.cjs.map +1 -0
  350. package/lib/chunk-MO2XOIMU.cjs +53 -0
  351. package/lib/chunk-MO2XOIMU.cjs.map +1 -0
  352. package/lib/chunk-MSXT4OKO.js +203 -0
  353. package/lib/chunk-MSXT4OKO.js.map +1 -0
  354. package/lib/chunk-N2B5T256.js +65 -0
  355. package/lib/chunk-N2B5T256.js.map +1 -0
  356. package/lib/chunk-N5346XYN.js +69 -0
  357. package/lib/chunk-N5346XYN.js.map +1 -0
  358. package/lib/chunk-ND7K4KSA.cjs +179 -0
  359. package/lib/chunk-ND7K4KSA.cjs.map +1 -0
  360. package/lib/chunk-NDQ6NHZJ.cjs +77 -0
  361. package/lib/chunk-NDQ6NHZJ.cjs.map +1 -0
  362. package/lib/chunk-NJ2ERQUB.js +36 -0
  363. package/lib/chunk-NJ2ERQUB.js.map +1 -0
  364. package/lib/chunk-NOOZM2ZC.js +116 -0
  365. package/lib/chunk-NOOZM2ZC.js.map +1 -0
  366. package/lib/chunk-NR5ZYTRC.js +75 -0
  367. package/lib/chunk-NR5ZYTRC.js.map +1 -0
  368. package/lib/chunk-NRKJ6IBM.cjs +70 -0
  369. package/lib/chunk-NRKJ6IBM.cjs.map +1 -0
  370. package/lib/chunk-NRSSZKXW.js +92 -0
  371. package/lib/chunk-NRSSZKXW.js.map +1 -0
  372. package/lib/chunk-NRTF52EF.cjs +44 -0
  373. package/lib/chunk-NRTF52EF.cjs.map +1 -0
  374. package/lib/chunk-NTLWDGIN.cjs +53 -0
  375. package/lib/chunk-NTLWDGIN.cjs.map +1 -0
  376. package/lib/chunk-NUUMQNTS.js +191 -0
  377. package/lib/chunk-NUUMQNTS.js.map +1 -0
  378. package/lib/chunk-NXKJ6SD5.cjs +40 -0
  379. package/lib/chunk-NXKJ6SD5.cjs.map +1 -0
  380. package/lib/chunk-O6KAEVM7.cjs +60 -0
  381. package/lib/chunk-O6KAEVM7.cjs.map +1 -0
  382. package/lib/chunk-OES7SSLU.cjs +79 -0
  383. package/lib/chunk-OES7SSLU.cjs.map +1 -0
  384. package/lib/chunk-OETE27SD.cjs +91 -0
  385. package/lib/chunk-OETE27SD.cjs.map +1 -0
  386. package/lib/chunk-OH4R7NRW.cjs +556 -0
  387. package/lib/chunk-OH4R7NRW.cjs.map +1 -0
  388. package/lib/chunk-OLG2UDIK.cjs +16 -0
  389. package/lib/chunk-OLG2UDIK.cjs.map +1 -0
  390. package/lib/chunk-ON6Q7XO4.js +82 -0
  391. package/lib/chunk-ON6Q7XO4.js.map +1 -0
  392. package/lib/chunk-OOUG4ORW.js +50 -0
  393. package/lib/chunk-OOUG4ORW.js.map +1 -0
  394. package/lib/chunk-OXHQKMPQ.js +20 -0
  395. package/lib/chunk-OXHQKMPQ.js.map +1 -0
  396. package/lib/chunk-OYDQRTMK.js +50 -0
  397. package/lib/chunk-OYDQRTMK.js.map +1 -0
  398. package/lib/chunk-OZJAWDJJ.js +68 -0
  399. package/lib/chunk-OZJAWDJJ.js.map +1 -0
  400. package/lib/chunk-P7ZYV63Z.js +65 -0
  401. package/lib/chunk-P7ZYV63Z.js.map +1 -0
  402. package/lib/chunk-PGA6KIDT.js +164 -0
  403. package/lib/chunk-PGA6KIDT.js.map +1 -0
  404. package/lib/chunk-PN2WF7LS.js +118 -0
  405. package/lib/chunk-PN2WF7LS.js.map +1 -0
  406. package/lib/chunk-PNLR24KH.cjs +88 -0
  407. package/lib/chunk-PNLR24KH.cjs.map +1 -0
  408. package/lib/chunk-PUZ5FS42.js +58 -0
  409. package/lib/chunk-PUZ5FS42.js.map +1 -0
  410. package/lib/chunk-PXI3FFHR.js +542 -0
  411. package/lib/chunk-PXI3FFHR.js.map +1 -0
  412. package/lib/chunk-PZHPJODG.cjs +67 -0
  413. package/lib/chunk-PZHPJODG.cjs.map +1 -0
  414. package/lib/chunk-QGUQARY2.js +59 -0
  415. package/lib/chunk-QGUQARY2.js.map +1 -0
  416. package/lib/chunk-QOX77APY.cjs +96 -0
  417. package/lib/chunk-QOX77APY.cjs.map +1 -0
  418. package/lib/chunk-QPL3YX2K.js +83 -0
  419. package/lib/chunk-QPL3YX2K.js.map +1 -0
  420. package/lib/chunk-QTBQUW5F.js +196 -0
  421. package/lib/chunk-QTBQUW5F.js.map +1 -0
  422. package/lib/chunk-QWA7BZWH.cjs +79 -0
  423. package/lib/chunk-QWA7BZWH.cjs.map +1 -0
  424. package/lib/chunk-R2OO474N.js +27 -0
  425. package/lib/chunk-R2OO474N.js.map +1 -0
  426. package/lib/chunk-R5CNDSIV.js +68 -0
  427. package/lib/chunk-R5CNDSIV.js.map +1 -0
  428. package/lib/chunk-R7GDQOYO.js +100 -0
  429. package/lib/chunk-R7GDQOYO.js.map +1 -0
  430. package/lib/chunk-REJKMDQW.js +51 -0
  431. package/lib/chunk-REJKMDQW.js.map +1 -0
  432. package/lib/chunk-RHDFKSZY.cjs +29 -0
  433. package/lib/chunk-RHDFKSZY.cjs.map +1 -0
  434. package/lib/chunk-RK2FEMQP.cjs +323 -0
  435. package/lib/chunk-RK2FEMQP.cjs.map +1 -0
  436. package/lib/chunk-RKTXSN4V.cjs +71 -0
  437. package/lib/chunk-RKTXSN4V.cjs.map +1 -0
  438. package/lib/chunk-RKZ7NQQK.js +177 -0
  439. package/lib/chunk-RKZ7NQQK.js.map +1 -0
  440. package/lib/chunk-RNTRA77X.cjs +79 -0
  441. package/lib/chunk-RNTRA77X.cjs.map +1 -0
  442. package/lib/chunk-RPSB3BEJ.cjs +67 -0
  443. package/lib/chunk-RPSB3BEJ.cjs.map +1 -0
  444. package/lib/chunk-RPYKNJGO.cjs +61 -0
  445. package/lib/chunk-RPYKNJGO.cjs.map +1 -0
  446. package/lib/chunk-RREOQFIQ.js +77 -0
  447. package/lib/chunk-RREOQFIQ.js.map +1 -0
  448. package/lib/chunk-S4CPSRCJ.cjs +61 -0
  449. package/lib/chunk-S4CPSRCJ.cjs.map +1 -0
  450. package/lib/chunk-SALCRQCG.js +24 -0
  451. package/lib/chunk-SALCRQCG.js.map +1 -0
  452. package/lib/chunk-SCM6LSNM.cjs +98 -0
  453. package/lib/chunk-SCM6LSNM.cjs.map +1 -0
  454. package/lib/chunk-SDTS2VCD.js +86 -0
  455. package/lib/chunk-SDTS2VCD.js.map +1 -0
  456. package/lib/chunk-SFAO2A3N.cjs +53 -0
  457. package/lib/chunk-SFAO2A3N.cjs.map +1 -0
  458. package/lib/chunk-SFXZIJ25.js +79 -0
  459. package/lib/chunk-SFXZIJ25.js.map +1 -0
  460. package/lib/chunk-SKHYOLJA.js +100 -0
  461. package/lib/chunk-SKHYOLJA.js.map +1 -0
  462. package/lib/chunk-SLBCAAYH.js +68 -0
  463. package/lib/chunk-SLBCAAYH.js.map +1 -0
  464. package/lib/chunk-SQBN5NCG.cjs +80 -0
  465. package/lib/chunk-SQBN5NCG.cjs.map +1 -0
  466. package/lib/chunk-SSP54MAX.cjs +88 -0
  467. package/lib/chunk-SSP54MAX.cjs.map +1 -0
  468. package/lib/chunk-TCBUTFPR.js +123 -0
  469. package/lib/chunk-TCBUTFPR.js.map +1 -0
  470. package/lib/chunk-TDSOIDEK.cjs +134 -0
  471. package/lib/chunk-TDSOIDEK.cjs.map +1 -0
  472. package/lib/chunk-TEYJIKEG.cjs +179 -0
  473. package/lib/chunk-TEYJIKEG.cjs.map +1 -0
  474. package/lib/chunk-TK6ZJDPM.cjs +89 -0
  475. package/lib/chunk-TK6ZJDPM.cjs.map +1 -0
  476. package/lib/chunk-TKLJQ4EZ.cjs +70 -0
  477. package/lib/chunk-TKLJQ4EZ.cjs.map +1 -0
  478. package/lib/chunk-TLVM56AW.cjs +712 -0
  479. package/lib/chunk-TLVM56AW.cjs.map +1 -0
  480. package/lib/chunk-TMLHA2SH.cjs +70 -0
  481. package/lib/chunk-TMLHA2SH.cjs.map +1 -0
  482. package/lib/chunk-TNYPDYRQ.js +77 -0
  483. package/lib/chunk-TNYPDYRQ.js.map +1 -0
  484. package/lib/chunk-TQMWALIZ.cjs +93 -0
  485. package/lib/chunk-TQMWALIZ.cjs.map +1 -0
  486. package/lib/chunk-TVRITF4Q.cjs +164 -0
  487. package/lib/chunk-TVRITF4Q.cjs.map +1 -0
  488. package/lib/chunk-TZQZDDQM.cjs +179 -0
  489. package/lib/chunk-TZQZDDQM.cjs.map +1 -0
  490. package/lib/chunk-TZYNA4PS.js +79 -0
  491. package/lib/chunk-TZYNA4PS.js.map +1 -0
  492. package/lib/chunk-U753GALL.js +88 -0
  493. package/lib/chunk-U753GALL.js.map +1 -0
  494. package/lib/chunk-UIIA2NOP.js +118 -0
  495. package/lib/chunk-UIIA2NOP.js.map +1 -0
  496. package/lib/chunk-UKPBX7LY.cjs +70 -0
  497. package/lib/chunk-UKPBX7LY.cjs.map +1 -0
  498. package/lib/chunk-UQ7DYB5E.js +77 -0
  499. package/lib/chunk-UQ7DYB5E.js.map +1 -0
  500. package/lib/chunk-US6R23LF.cjs +70 -0
  501. package/lib/chunk-US6R23LF.cjs.map +1 -0
  502. package/lib/chunk-UTST4YPO.js +68 -0
  503. package/lib/chunk-UTST4YPO.js.map +1 -0
  504. package/lib/chunk-UZBVGMSV.js +68 -0
  505. package/lib/chunk-UZBVGMSV.js.map +1 -0
  506. package/lib/chunk-UZEYQBID.cjs +70 -0
  507. package/lib/chunk-UZEYQBID.cjs.map +1 -0
  508. package/lib/chunk-VBWYHYCJ.cjs +35 -0
  509. package/lib/chunk-VBWYHYCJ.cjs.map +1 -0
  510. package/lib/chunk-VRPS4DFY.cjs +115 -0
  511. package/lib/chunk-VRPS4DFY.cjs.map +1 -0
  512. package/lib/chunk-VWSDATWK.cjs +79 -0
  513. package/lib/chunk-VWSDATWK.cjs.map +1 -0
  514. package/lib/chunk-VZQIHAFY.cjs +81 -0
  515. package/lib/chunk-VZQIHAFY.cjs.map +1 -0
  516. package/lib/chunk-W2TZOXPY.cjs +47 -0
  517. package/lib/chunk-W2TZOXPY.cjs.map +1 -0
  518. package/lib/chunk-W2VZAGW4.js +60 -0
  519. package/lib/chunk-W2VZAGW4.js.map +1 -0
  520. package/lib/chunk-W4URWXJ7.js +96 -0
  521. package/lib/chunk-W4URWXJ7.js.map +1 -0
  522. package/lib/chunk-WAFUWWBD.cjs +118 -0
  523. package/lib/chunk-WAFUWWBD.cjs.map +1 -0
  524. package/lib/chunk-WFZK3GQX.cjs +38 -0
  525. package/lib/chunk-WFZK3GQX.cjs.map +1 -0
  526. package/lib/chunk-WLWSEYVW.cjs +26 -0
  527. package/lib/chunk-WLWSEYVW.cjs.map +1 -0
  528. package/lib/chunk-WNEAV26W.js +89 -0
  529. package/lib/chunk-WNEAV26W.js.map +1 -0
  530. package/lib/chunk-WO5LQQSK.cjs +4 -0
  531. package/lib/chunk-WO5LQQSK.cjs.map +1 -0
  532. package/lib/chunk-WOVCY6ON.cjs +22 -0
  533. package/lib/chunk-WOVCY6ON.cjs.map +1 -0
  534. package/lib/chunk-WPZZ7TYZ.js +77 -0
  535. package/lib/chunk-WPZZ7TYZ.js.map +1 -0
  536. package/lib/chunk-WXAR4XMS.cjs +79 -0
  537. package/lib/chunk-WXAR4XMS.cjs.map +1 -0
  538. package/lib/chunk-X5AV3JJL.js +42 -0
  539. package/lib/chunk-X5AV3JJL.js.map +1 -0
  540. package/lib/chunk-X6NTP67A.cjs +88 -0
  541. package/lib/chunk-X6NTP67A.cjs.map +1 -0
  542. package/lib/chunk-X7L4YY6Q.cjs +93 -0
  543. package/lib/chunk-X7L4YY6Q.cjs.map +1 -0
  544. package/lib/chunk-XBZ4KQ72.js +69 -0
  545. package/lib/chunk-XBZ4KQ72.js.map +1 -0
  546. package/lib/chunk-XC52EDZL.js +191 -0
  547. package/lib/chunk-XC52EDZL.js.map +1 -0
  548. package/lib/chunk-XCYEGPE6.cjs +44 -0
  549. package/lib/chunk-XCYEGPE6.cjs.map +1 -0
  550. package/lib/chunk-XFEBSQBG.cjs +84 -0
  551. package/lib/chunk-XFEBSQBG.cjs.map +1 -0
  552. package/lib/chunk-XGETDJS6.cjs +79 -0
  553. package/lib/chunk-XGETDJS6.cjs.map +1 -0
  554. package/lib/chunk-XISWA6SP.cjs +77 -0
  555. package/lib/chunk-XISWA6SP.cjs.map +1 -0
  556. package/lib/chunk-XJPK7JSH.js +77 -0
  557. package/lib/chunk-XJPK7JSH.js.map +1 -0
  558. package/lib/chunk-XKCYUSO3.cjs +81 -0
  559. package/lib/chunk-XKCYUSO3.cjs.map +1 -0
  560. package/lib/chunk-XZLQM5TG.js +33 -0
  561. package/lib/chunk-XZLQM5TG.js.map +1 -0
  562. package/lib/chunk-YC7P7U37.js +78 -0
  563. package/lib/chunk-YC7P7U37.js.map +1 -0
  564. package/lib/chunk-YIP564B3.js +87 -0
  565. package/lib/chunk-YIP564B3.js.map +1 -0
  566. package/lib/chunk-YJ3O5XLC.js +3 -0
  567. package/lib/chunk-YJ3O5XLC.js.map +1 -0
  568. package/lib/chunk-YRHBJTKU.js +96 -0
  569. package/lib/chunk-YRHBJTKU.js.map +1 -0
  570. package/lib/chunk-YT2JXKSB.js +82 -0
  571. package/lib/chunk-YT2JXKSB.js.map +1 -0
  572. package/lib/chunk-YTKKF3OH.cjs +70 -0
  573. package/lib/chunk-YTKKF3OH.cjs.map +1 -0
  574. package/lib/chunk-YTSMQAN7.js +86 -0
  575. package/lib/chunk-YTSMQAN7.js.map +1 -0
  576. package/lib/chunk-YTXNOZVJ.js +68 -0
  577. package/lib/chunk-YTXNOZVJ.js.map +1 -0
  578. package/lib/chunk-YUKH7ESE.js +42 -0
  579. package/lib/chunk-YUKH7ESE.js.map +1 -0
  580. package/lib/chunk-YVUJAOL2.cjs +69 -0
  581. package/lib/chunk-YVUJAOL2.cjs.map +1 -0
  582. package/lib/chunk-YWU46S7V.js +709 -0
  583. package/lib/chunk-YWU46S7V.js.map +1 -0
  584. package/lib/chunk-YXFYXDGG.js +154 -0
  585. package/lib/chunk-YXFYXDGG.js.map +1 -0
  586. package/lib/chunk-YZQACFJF.js +77 -0
  587. package/lib/chunk-YZQACFJF.js.map +1 -0
  588. package/lib/chunk-Z2ZLJGA4.cjs +70 -0
  589. package/lib/chunk-Z2ZLJGA4.cjs.map +1 -0
  590. package/lib/chunk-ZA46YCQ5.js +321 -0
  591. package/lib/chunk-ZA46YCQ5.js.map +1 -0
  592. package/lib/chunk-ZA6NI5JQ.js +84 -0
  593. package/lib/chunk-ZA6NI5JQ.js.map +1 -0
  594. package/lib/chunk-ZEUZ6YAA.cjs +179 -0
  595. package/lib/chunk-ZEUZ6YAA.cjs.map +1 -0
  596. package/lib/chunk-ZFCXWZIL.cjs +84 -0
  597. package/lib/chunk-ZFCXWZIL.cjs.map +1 -0
  598. package/lib/chunk-ZMH7UHLF.js +177 -0
  599. package/lib/chunk-ZMH7UHLF.js.map +1 -0
  600. package/lib/chunk-ZRRBBZZ6.js +168 -0
  601. package/lib/chunk-ZRRBBZZ6.js.map +1 -0
  602. package/lib/chunk-ZSTRX2NN.cjs +166 -0
  603. package/lib/chunk-ZSTRX2NN.cjs.map +1 -0
  604. package/lib/chunk-ZV2F5AT6.js +59 -0
  605. package/lib/chunk-ZV2F5AT6.js.map +1 -0
  606. package/lib/chunk-ZX6P5OOB.js +91 -0
  607. package/lib/chunk-ZX6P5OOB.js.map +1 -0
  608. package/lib/client.cjs +7 -6
  609. package/lib/client.d.cts +5 -1
  610. package/lib/client.d.ts +5 -1
  611. package/lib/client.js +6 -5
  612. package/lib/commercelayer.cjs +25 -16
  613. package/lib/commercelayer.d.cts +35 -11
  614. package/lib/commercelayer.d.ts +35 -11
  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 +160 -668
  635. package/lib/index.cjs.map +1 -1
  636. package/lib/index.d.cts +17 -6
  637. package/lib/index.d.ts +15 -3
  638. package/lib/index.js +154 -142
  639. package/lib/index.js.map +1 -1
  640. package/lib/interceptor.d.cts +1 -1
  641. package/lib/interceptor.d.ts +1 -1
  642. package/lib/jsonapi.cjs +11 -10
  643. package/lib/jsonapi.d.cts +2 -2
  644. package/lib/jsonapi.d.ts +2 -2
  645. package/lib/jsonapi.js +9 -8
  646. package/lib/model.d.cts +2 -2
  647. package/lib/model.d.ts +2 -2
  648. package/lib/query.cjs +6 -6
  649. package/lib/query.d.cts +2 -2
  650. package/lib/query.d.ts +2 -2
  651. package/lib/query.js +3 -3
  652. package/lib/resource.cjs +14 -13
  653. package/lib/resource.d.cts +2 -2
  654. package/lib/resource.d.ts +2 -2
  655. package/lib/resource.js +9 -8
  656. package/lib/resources/addresses.cjs +11 -10
  657. package/lib/resources/addresses.d.cts +3 -3
  658. package/lib/resources/addresses.d.ts +2 -2
  659. package/lib/resources/addresses.js +10 -9
  660. package/lib/resources/adjustments.cjs +11 -10
  661. package/lib/resources/adjustments.d.cts +3 -3
  662. package/lib/resources/adjustments.d.ts +2 -2
  663. package/lib/resources/adjustments.js +10 -9
  664. package/lib/resources/adyen_gateways.cjs +11 -10
  665. package/lib/resources/adyen_gateways.d.cts +3 -3
  666. package/lib/resources/adyen_gateways.d.ts +2 -2
  667. package/lib/resources/adyen_gateways.js +10 -9
  668. package/lib/resources/adyen_payments.cjs +11 -10
  669. package/lib/resources/adyen_payments.d.cts +3 -3
  670. package/lib/resources/adyen_payments.d.ts +2 -2
  671. package/lib/resources/adyen_payments.js +10 -9
  672. package/lib/resources/applications.cjs +11 -10
  673. package/lib/resources/applications.d.cts +3 -3
  674. package/lib/resources/applications.d.ts +2 -2
  675. package/lib/resources/applications.js +10 -9
  676. package/lib/resources/attachments.cjs +11 -10
  677. package/lib/resources/attachments.d.cts +3 -3
  678. package/lib/resources/attachments.d.ts +2 -2
  679. package/lib/resources/attachments.js +10 -9
  680. package/lib/resources/authorizations.cjs +11 -10
  681. package/lib/resources/authorizations.d.cts +3 -3
  682. package/lib/resources/authorizations.d.ts +2 -2
  683. package/lib/resources/authorizations.js +10 -9
  684. package/lib/resources/avalara_accounts.cjs +11 -10
  685. package/lib/resources/avalara_accounts.d.cts +3 -3
  686. package/lib/resources/avalara_accounts.d.ts +2 -2
  687. package/lib/resources/avalara_accounts.js +10 -9
  688. package/lib/resources/axerve_gateways.cjs +11 -10
  689. package/lib/resources/axerve_gateways.d.cts +3 -3
  690. package/lib/resources/axerve_gateways.d.ts +2 -2
  691. package/lib/resources/axerve_gateways.js +10 -9
  692. package/lib/resources/axerve_payments.cjs +11 -10
  693. package/lib/resources/axerve_payments.d.cts +3 -3
  694. package/lib/resources/axerve_payments.d.ts +2 -2
  695. package/lib/resources/axerve_payments.js +10 -9
  696. package/lib/resources/billing_info_validation_rules.cjs +21 -0
  697. package/lib/resources/billing_info_validation_rules.cjs.map +1 -0
  698. package/lib/resources/billing_info_validation_rules.d.cts +7 -0
  699. package/lib/resources/billing_info_validation_rules.d.ts +4 -0
  700. package/lib/resources/billing_info_validation_rules.js +13 -0
  701. package/lib/resources/billing_info_validation_rules.js.map +1 -0
  702. package/lib/resources/bing_geocoders.cjs +11 -10
  703. package/lib/resources/bing_geocoders.d.cts +3 -3
  704. package/lib/resources/bing_geocoders.d.ts +2 -2
  705. package/lib/resources/bing_geocoders.js +10 -9
  706. package/lib/resources/braintree_gateways.cjs +11 -10
  707. package/lib/resources/braintree_gateways.d.cts +3 -3
  708. package/lib/resources/braintree_gateways.d.ts +2 -2
  709. package/lib/resources/braintree_gateways.js +10 -9
  710. package/lib/resources/braintree_payments.cjs +11 -10
  711. package/lib/resources/braintree_payments.d.cts +3 -3
  712. package/lib/resources/braintree_payments.d.ts +2 -2
  713. package/lib/resources/braintree_payments.js +10 -9
  714. package/lib/resources/bundles.cjs +11 -10
  715. package/lib/resources/bundles.d.cts +3 -3
  716. package/lib/resources/bundles.d.ts +2 -2
  717. package/lib/resources/bundles.js +10 -9
  718. package/lib/resources/buy_x_pay_y_promotions.cjs +11 -10
  719. package/lib/resources/buy_x_pay_y_promotions.d.cts +3 -3
  720. package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
  721. package/lib/resources/buy_x_pay_y_promotions.js +10 -9
  722. package/lib/resources/captures.cjs +11 -10
  723. package/lib/resources/captures.d.cts +3 -3
  724. package/lib/resources/captures.d.ts +2 -2
  725. package/lib/resources/captures.js +10 -9
  726. package/lib/resources/carrier_accounts.cjs +11 -10
  727. package/lib/resources/carrier_accounts.d.cts +3 -3
  728. package/lib/resources/carrier_accounts.d.ts +2 -2
  729. package/lib/resources/carrier_accounts.js +10 -9
  730. package/lib/resources/checkout_com_gateways.cjs +11 -10
  731. package/lib/resources/checkout_com_gateways.d.cts +3 -3
  732. package/lib/resources/checkout_com_gateways.d.ts +2 -2
  733. package/lib/resources/checkout_com_gateways.js +10 -9
  734. package/lib/resources/checkout_com_payments.cjs +11 -10
  735. package/lib/resources/checkout_com_payments.d.cts +3 -3
  736. package/lib/resources/checkout_com_payments.d.ts +2 -2
  737. package/lib/resources/checkout_com_payments.js +10 -9
  738. package/lib/resources/cleanups.cjs +11 -10
  739. package/lib/resources/cleanups.d.cts +3 -3
  740. package/lib/resources/cleanups.d.ts +2 -2
  741. package/lib/resources/cleanups.js +10 -9
  742. package/lib/resources/coupon_codes_promotion_rules.cjs +11 -10
  743. package/lib/resources/coupon_codes_promotion_rules.d.cts +3 -3
  744. package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
  745. package/lib/resources/coupon_codes_promotion_rules.js +10 -9
  746. package/lib/resources/coupon_recipients.cjs +11 -10
  747. package/lib/resources/coupon_recipients.d.cts +3 -3
  748. package/lib/resources/coupon_recipients.d.ts +2 -2
  749. package/lib/resources/coupon_recipients.js +10 -9
  750. package/lib/resources/coupons.cjs +11 -10
  751. package/lib/resources/coupons.d.cts +3 -3
  752. package/lib/resources/coupons.d.ts +2 -2
  753. package/lib/resources/coupons.js +10 -9
  754. package/lib/resources/custom_promotion_rules.cjs +11 -10
  755. package/lib/resources/custom_promotion_rules.d.cts +3 -3
  756. package/lib/resources/custom_promotion_rules.d.ts +2 -2
  757. package/lib/resources/custom_promotion_rules.js +10 -9
  758. package/lib/resources/customer_addresses.cjs +11 -10
  759. package/lib/resources/customer_addresses.d.cts +3 -3
  760. package/lib/resources/customer_addresses.d.ts +2 -2
  761. package/lib/resources/customer_addresses.js +10 -9
  762. package/lib/resources/customer_groups.cjs +11 -10
  763. package/lib/resources/customer_groups.d.cts +3 -3
  764. package/lib/resources/customer_groups.d.ts +2 -2
  765. package/lib/resources/customer_groups.js +10 -9
  766. package/lib/resources/customer_password_resets.cjs +11 -10
  767. package/lib/resources/customer_password_resets.d.cts +3 -3
  768. package/lib/resources/customer_password_resets.d.ts +2 -2
  769. package/lib/resources/customer_password_resets.js +10 -9
  770. package/lib/resources/customer_payment_sources.cjs +11 -10
  771. package/lib/resources/customer_payment_sources.d.cts +3 -3
  772. package/lib/resources/customer_payment_sources.d.ts +2 -2
  773. package/lib/resources/customer_payment_sources.js +10 -9
  774. package/lib/resources/customer_subscriptions.cjs +11 -10
  775. package/lib/resources/customer_subscriptions.d.cts +3 -3
  776. package/lib/resources/customer_subscriptions.d.ts +2 -2
  777. package/lib/resources/customer_subscriptions.js +10 -9
  778. package/lib/resources/customers.cjs +11 -10
  779. package/lib/resources/customers.d.cts +3 -3
  780. package/lib/resources/customers.d.ts +2 -2
  781. package/lib/resources/customers.js +10 -9
  782. package/lib/resources/delivery_lead_times.cjs +11 -10
  783. package/lib/resources/delivery_lead_times.d.cts +3 -3
  784. package/lib/resources/delivery_lead_times.d.ts +2 -2
  785. package/lib/resources/delivery_lead_times.js +10 -9
  786. package/lib/resources/discount_engine_items.cjs +11 -10
  787. package/lib/resources/discount_engine_items.d.cts +3 -3
  788. package/lib/resources/discount_engine_items.d.ts +2 -2
  789. package/lib/resources/discount_engine_items.js +10 -9
  790. package/lib/resources/discount_engines.cjs +11 -10
  791. package/lib/resources/discount_engines.d.cts +3 -3
  792. package/lib/resources/discount_engines.d.ts +2 -2
  793. package/lib/resources/discount_engines.js +10 -9
  794. package/lib/resources/easypost_pickups.cjs +11 -10
  795. package/lib/resources/easypost_pickups.d.cts +3 -3
  796. package/lib/resources/easypost_pickups.d.ts +2 -2
  797. package/lib/resources/easypost_pickups.js +10 -9
  798. package/lib/resources/event_callbacks.cjs +11 -10
  799. package/lib/resources/event_callbacks.d.cts +3 -3
  800. package/lib/resources/event_callbacks.d.ts +2 -2
  801. package/lib/resources/event_callbacks.js +10 -9
  802. package/lib/resources/event_stores.cjs +11 -10
  803. package/lib/resources/event_stores.d.cts +3 -3
  804. package/lib/resources/event_stores.d.ts +2 -2
  805. package/lib/resources/event_stores.js +10 -9
  806. package/lib/resources/events.cjs +11 -10
  807. package/lib/resources/events.d.cts +3 -3
  808. package/lib/resources/events.d.ts +2 -2
  809. package/lib/resources/events.js +10 -9
  810. package/lib/resources/exports.cjs +11 -10
  811. package/lib/resources/exports.d.cts +3 -3
  812. package/lib/resources/exports.d.ts +2 -2
  813. package/lib/resources/exports.js +10 -9
  814. package/lib/resources/external_gateways.cjs +11 -10
  815. package/lib/resources/external_gateways.d.cts +3 -3
  816. package/lib/resources/external_gateways.d.ts +2 -2
  817. package/lib/resources/external_gateways.js +10 -9
  818. package/lib/resources/external_payments.cjs +11 -10
  819. package/lib/resources/external_payments.d.cts +3 -3
  820. package/lib/resources/external_payments.d.ts +2 -2
  821. package/lib/resources/external_payments.js +10 -9
  822. package/lib/resources/external_promotions.cjs +11 -10
  823. package/lib/resources/external_promotions.d.cts +3 -3
  824. package/lib/resources/external_promotions.d.ts +2 -2
  825. package/lib/resources/external_promotions.js +10 -9
  826. package/lib/resources/external_tax_calculators.cjs +11 -10
  827. package/lib/resources/external_tax_calculators.d.cts +3 -3
  828. package/lib/resources/external_tax_calculators.d.ts +2 -2
  829. package/lib/resources/external_tax_calculators.js +10 -9
  830. package/lib/resources/fixed_amount_promotions.cjs +11 -10
  831. package/lib/resources/fixed_amount_promotions.d.cts +3 -3
  832. package/lib/resources/fixed_amount_promotions.d.ts +2 -2
  833. package/lib/resources/fixed_amount_promotions.js +10 -9
  834. package/lib/resources/fixed_price_promotions.cjs +11 -10
  835. package/lib/resources/fixed_price_promotions.d.cts +3 -3
  836. package/lib/resources/fixed_price_promotions.d.ts +2 -2
  837. package/lib/resources/fixed_price_promotions.js +10 -9
  838. package/lib/resources/flex_promotions.cjs +11 -10
  839. package/lib/resources/flex_promotions.d.cts +3 -3
  840. package/lib/resources/flex_promotions.d.ts +2 -2
  841. package/lib/resources/flex_promotions.js +10 -9
  842. package/lib/resources/free_gift_promotions.cjs +11 -10
  843. package/lib/resources/free_gift_promotions.d.cts +3 -3
  844. package/lib/resources/free_gift_promotions.d.ts +2 -2
  845. package/lib/resources/free_gift_promotions.js +10 -9
  846. package/lib/resources/free_shipping_promotions.cjs +11 -10
  847. package/lib/resources/free_shipping_promotions.d.cts +3 -3
  848. package/lib/resources/free_shipping_promotions.d.ts +2 -2
  849. package/lib/resources/free_shipping_promotions.js +10 -9
  850. package/lib/resources/geocoders.cjs +11 -10
  851. package/lib/resources/geocoders.d.cts +3 -3
  852. package/lib/resources/geocoders.d.ts +2 -2
  853. package/lib/resources/geocoders.js +10 -9
  854. package/lib/resources/gift_card_recipients.cjs +11 -10
  855. package/lib/resources/gift_card_recipients.d.cts +3 -3
  856. package/lib/resources/gift_card_recipients.d.ts +2 -2
  857. package/lib/resources/gift_card_recipients.js +10 -9
  858. package/lib/resources/gift_cards.cjs +11 -10
  859. package/lib/resources/gift_cards.d.cts +3 -3
  860. package/lib/resources/gift_cards.d.ts +2 -2
  861. package/lib/resources/gift_cards.js +10 -9
  862. package/lib/resources/google_geocoders.cjs +11 -10
  863. package/lib/resources/google_geocoders.d.cts +3 -3
  864. package/lib/resources/google_geocoders.d.ts +2 -2
  865. package/lib/resources/google_geocoders.js +10 -9
  866. package/lib/resources/imports.cjs +11 -10
  867. package/lib/resources/imports.d.cts +3 -3
  868. package/lib/resources/imports.d.ts +2 -2
  869. package/lib/resources/imports.js +10 -9
  870. package/lib/resources/in_stock_subscriptions.cjs +11 -10
  871. package/lib/resources/in_stock_subscriptions.d.cts +3 -3
  872. package/lib/resources/in_stock_subscriptions.d.ts +2 -2
  873. package/lib/resources/in_stock_subscriptions.js +10 -9
  874. package/lib/resources/inventory_models.cjs +11 -10
  875. package/lib/resources/inventory_models.d.cts +3 -3
  876. package/lib/resources/inventory_models.d.ts +2 -2
  877. package/lib/resources/inventory_models.js +10 -9
  878. package/lib/resources/inventory_return_locations.cjs +11 -10
  879. package/lib/resources/inventory_return_locations.d.cts +3 -3
  880. package/lib/resources/inventory_return_locations.d.ts +2 -2
  881. package/lib/resources/inventory_return_locations.js +10 -9
  882. package/lib/resources/inventory_stock_locations.cjs +11 -10
  883. package/lib/resources/inventory_stock_locations.d.cts +3 -3
  884. package/lib/resources/inventory_stock_locations.d.ts +2 -2
  885. package/lib/resources/inventory_stock_locations.js +10 -9
  886. package/lib/resources/klarna_gateways.cjs +11 -10
  887. package/lib/resources/klarna_gateways.d.cts +3 -3
  888. package/lib/resources/klarna_gateways.d.ts +2 -2
  889. package/lib/resources/klarna_gateways.js +10 -9
  890. package/lib/resources/klarna_payments.cjs +11 -10
  891. package/lib/resources/klarna_payments.d.cts +3 -3
  892. package/lib/resources/klarna_payments.d.ts +2 -2
  893. package/lib/resources/klarna_payments.js +10 -9
  894. package/lib/resources/line_item_options.cjs +11 -10
  895. package/lib/resources/line_item_options.d.cts +3 -3
  896. package/lib/resources/line_item_options.d.ts +2 -2
  897. package/lib/resources/line_item_options.js +10 -9
  898. package/lib/resources/line_items.cjs +11 -10
  899. package/lib/resources/line_items.d.cts +3 -3
  900. package/lib/resources/line_items.d.ts +2 -2
  901. package/lib/resources/line_items.js +10 -9
  902. package/lib/resources/links.cjs +11 -10
  903. package/lib/resources/links.d.cts +3 -3
  904. package/lib/resources/links.d.ts +2 -2
  905. package/lib/resources/links.js +10 -9
  906. package/lib/resources/manual_gateways.cjs +11 -10
  907. package/lib/resources/manual_gateways.d.cts +3 -3
  908. package/lib/resources/manual_gateways.d.ts +2 -2
  909. package/lib/resources/manual_gateways.js +10 -9
  910. package/lib/resources/manual_tax_calculators.cjs +11 -10
  911. package/lib/resources/manual_tax_calculators.d.cts +3 -3
  912. package/lib/resources/manual_tax_calculators.d.ts +2 -2
  913. package/lib/resources/manual_tax_calculators.js +10 -9
  914. package/lib/resources/markets.cjs +11 -10
  915. package/lib/resources/markets.d.cts +3 -3
  916. package/lib/resources/markets.d.ts +2 -2
  917. package/lib/resources/markets.js +10 -9
  918. package/lib/resources/merchants.cjs +11 -10
  919. package/lib/resources/merchants.d.cts +3 -3
  920. package/lib/resources/merchants.d.ts +2 -2
  921. package/lib/resources/merchants.js +10 -9
  922. package/lib/resources/notifications.cjs +11 -10
  923. package/lib/resources/notifications.d.cts +3 -3
  924. package/lib/resources/notifications.d.ts +2 -2
  925. package/lib/resources/notifications.js +10 -9
  926. package/lib/resources/order_amount_promotion_rules.cjs +11 -10
  927. package/lib/resources/order_amount_promotion_rules.d.cts +3 -3
  928. package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
  929. package/lib/resources/order_amount_promotion_rules.js +10 -9
  930. package/lib/resources/order_copies.cjs +11 -10
  931. package/lib/resources/order_copies.d.cts +3 -3
  932. package/lib/resources/order_copies.d.ts +2 -2
  933. package/lib/resources/order_copies.js +10 -9
  934. package/lib/resources/order_factories.cjs +11 -10
  935. package/lib/resources/order_factories.d.cts +3 -3
  936. package/lib/resources/order_factories.d.ts +2 -2
  937. package/lib/resources/order_factories.js +10 -9
  938. package/lib/resources/order_subscription_items.cjs +11 -10
  939. package/lib/resources/order_subscription_items.d.cts +3 -3
  940. package/lib/resources/order_subscription_items.d.ts +2 -2
  941. package/lib/resources/order_subscription_items.js +10 -9
  942. package/lib/resources/order_subscriptions.cjs +11 -10
  943. package/lib/resources/order_subscriptions.d.cts +3 -3
  944. package/lib/resources/order_subscriptions.d.ts +2 -2
  945. package/lib/resources/order_subscriptions.js +10 -9
  946. package/lib/resources/order_validation_rules.cjs +21 -0
  947. package/lib/resources/order_validation_rules.cjs.map +1 -0
  948. package/lib/resources/order_validation_rules.d.cts +7 -0
  949. package/lib/resources/order_validation_rules.d.ts +4 -0
  950. package/lib/resources/order_validation_rules.js +13 -0
  951. package/lib/resources/order_validation_rules.js.map +1 -0
  952. package/lib/resources/orders.cjs +11 -10
  953. package/lib/resources/orders.d.cts +3 -3
  954. package/lib/resources/orders.d.ts +2 -2
  955. package/lib/resources/orders.js +10 -9
  956. package/lib/resources/organizations.cjs +11 -10
  957. package/lib/resources/organizations.d.cts +3 -3
  958. package/lib/resources/organizations.d.ts +2 -2
  959. package/lib/resources/organizations.js +10 -9
  960. package/lib/resources/packages.cjs +11 -10
  961. package/lib/resources/packages.d.cts +3 -3
  962. package/lib/resources/packages.d.ts +2 -2
  963. package/lib/resources/packages.js +10 -9
  964. package/lib/resources/parcel_line_items.cjs +11 -10
  965. package/lib/resources/parcel_line_items.d.cts +3 -3
  966. package/lib/resources/parcel_line_items.d.ts +2 -2
  967. package/lib/resources/parcel_line_items.js +10 -9
  968. package/lib/resources/parcels.cjs +11 -10
  969. package/lib/resources/parcels.d.cts +3 -3
  970. package/lib/resources/parcels.d.ts +2 -2
  971. package/lib/resources/parcels.js +10 -9
  972. package/lib/resources/payment_gateways.cjs +11 -10
  973. package/lib/resources/payment_gateways.d.cts +3 -3
  974. package/lib/resources/payment_gateways.d.ts +2 -2
  975. package/lib/resources/payment_gateways.js +10 -9
  976. package/lib/resources/payment_methods.cjs +11 -10
  977. package/lib/resources/payment_methods.d.cts +3 -3
  978. package/lib/resources/payment_methods.d.ts +2 -2
  979. package/lib/resources/payment_methods.js +10 -9
  980. package/lib/resources/payment_options.cjs +11 -10
  981. package/lib/resources/payment_options.d.cts +3 -3
  982. package/lib/resources/payment_options.d.ts +2 -2
  983. package/lib/resources/payment_options.js +10 -9
  984. package/lib/resources/paypal_gateways.cjs +11 -10
  985. package/lib/resources/paypal_gateways.d.cts +3 -3
  986. package/lib/resources/paypal_gateways.d.ts +2 -2
  987. package/lib/resources/paypal_gateways.js +10 -9
  988. package/lib/resources/paypal_payments.cjs +11 -10
  989. package/lib/resources/paypal_payments.d.cts +3 -3
  990. package/lib/resources/paypal_payments.d.ts +2 -2
  991. package/lib/resources/paypal_payments.js +10 -9
  992. package/lib/resources/percentage_discount_promotions.cjs +11 -10
  993. package/lib/resources/percentage_discount_promotions.d.cts +3 -3
  994. package/lib/resources/percentage_discount_promotions.d.ts +2 -2
  995. package/lib/resources/percentage_discount_promotions.js +10 -9
  996. package/lib/resources/pickups.cjs +11 -10
  997. package/lib/resources/pickups.d.cts +3 -3
  998. package/lib/resources/pickups.d.ts +2 -2
  999. package/lib/resources/pickups.js +10 -9
  1000. package/lib/resources/price_frequency_tiers.cjs +11 -10
  1001. package/lib/resources/price_frequency_tiers.d.cts +3 -3
  1002. package/lib/resources/price_frequency_tiers.d.ts +2 -2
  1003. package/lib/resources/price_frequency_tiers.js +10 -9
  1004. package/lib/resources/price_list_schedulers.cjs +11 -10
  1005. package/lib/resources/price_list_schedulers.d.cts +3 -3
  1006. package/lib/resources/price_list_schedulers.d.ts +2 -2
  1007. package/lib/resources/price_list_schedulers.js +10 -9
  1008. package/lib/resources/price_lists.cjs +11 -10
  1009. package/lib/resources/price_lists.d.cts +3 -3
  1010. package/lib/resources/price_lists.d.ts +2 -2
  1011. package/lib/resources/price_lists.js +10 -9
  1012. package/lib/resources/price_tiers.cjs +11 -10
  1013. package/lib/resources/price_tiers.d.cts +3 -3
  1014. package/lib/resources/price_tiers.d.ts +2 -2
  1015. package/lib/resources/price_tiers.js +10 -9
  1016. package/lib/resources/price_volume_tiers.cjs +11 -10
  1017. package/lib/resources/price_volume_tiers.d.cts +3 -3
  1018. package/lib/resources/price_volume_tiers.d.ts +2 -2
  1019. package/lib/resources/price_volume_tiers.js +10 -9
  1020. package/lib/resources/prices.cjs +11 -10
  1021. package/lib/resources/prices.d.cts +3 -3
  1022. package/lib/resources/prices.d.ts +2 -2
  1023. package/lib/resources/prices.js +10 -9
  1024. package/lib/resources/promotion_rules.cjs +11 -10
  1025. package/lib/resources/promotion_rules.d.cts +3 -3
  1026. package/lib/resources/promotion_rules.d.ts +2 -2
  1027. package/lib/resources/promotion_rules.js +10 -9
  1028. package/lib/resources/promotions.cjs +11 -10
  1029. package/lib/resources/promotions.d.cts +3 -3
  1030. package/lib/resources/promotions.d.ts +2 -2
  1031. package/lib/resources/promotions.js +10 -9
  1032. package/lib/resources/recurring_order_copies.cjs +11 -10
  1033. package/lib/resources/recurring_order_copies.d.cts +3 -3
  1034. package/lib/resources/recurring_order_copies.d.ts +2 -2
  1035. package/lib/resources/recurring_order_copies.js +10 -9
  1036. package/lib/resources/refunds.cjs +11 -10
  1037. package/lib/resources/refunds.d.cts +3 -3
  1038. package/lib/resources/refunds.d.ts +2 -2
  1039. package/lib/resources/refunds.js +10 -9
  1040. package/lib/resources/reserved_stocks.cjs +11 -10
  1041. package/lib/resources/reserved_stocks.d.cts +3 -3
  1042. package/lib/resources/reserved_stocks.d.ts +2 -2
  1043. package/lib/resources/reserved_stocks.js +10 -9
  1044. package/lib/resources/resource_errors.cjs +11 -10
  1045. package/lib/resources/resource_errors.d.cts +3 -3
  1046. package/lib/resources/resource_errors.d.ts +2 -2
  1047. package/lib/resources/resource_errors.js +10 -9
  1048. package/lib/resources/return_line_items.cjs +11 -10
  1049. package/lib/resources/return_line_items.d.cts +3 -3
  1050. package/lib/resources/return_line_items.d.ts +2 -2
  1051. package/lib/resources/return_line_items.js +10 -9
  1052. package/lib/resources/returns.cjs +11 -10
  1053. package/lib/resources/returns.d.cts +3 -3
  1054. package/lib/resources/returns.d.ts +2 -2
  1055. package/lib/resources/returns.js +10 -9
  1056. package/lib/resources/satispay_gateways.cjs +11 -10
  1057. package/lib/resources/satispay_gateways.d.cts +3 -3
  1058. package/lib/resources/satispay_gateways.d.ts +2 -2
  1059. package/lib/resources/satispay_gateways.js +10 -9
  1060. package/lib/resources/satispay_payments.cjs +11 -10
  1061. package/lib/resources/satispay_payments.d.cts +3 -3
  1062. package/lib/resources/satispay_payments.d.ts +2 -2
  1063. package/lib/resources/satispay_payments.js +10 -9
  1064. package/lib/resources/shipment_line_items.cjs +21 -0
  1065. package/lib/resources/shipment_line_items.cjs.map +1 -0
  1066. package/lib/resources/shipment_line_items.d.cts +7 -0
  1067. package/lib/resources/shipment_line_items.d.ts +4 -0
  1068. package/lib/resources/shipment_line_items.js +13 -0
  1069. package/lib/resources/shipment_line_items.js.map +1 -0
  1070. package/lib/resources/shipments.cjs +11 -10
  1071. package/lib/resources/shipments.d.cts +3 -3
  1072. package/lib/resources/shipments.d.ts +2 -2
  1073. package/lib/resources/shipments.js +10 -9
  1074. package/lib/resources/shipping_categories.cjs +11 -10
  1075. package/lib/resources/shipping_categories.d.cts +3 -3
  1076. package/lib/resources/shipping_categories.d.ts +2 -2
  1077. package/lib/resources/shipping_categories.js +10 -9
  1078. package/lib/resources/shipping_method_tiers.cjs +11 -10
  1079. package/lib/resources/shipping_method_tiers.d.cts +3 -3
  1080. package/lib/resources/shipping_method_tiers.d.ts +2 -2
  1081. package/lib/resources/shipping_method_tiers.js +10 -9
  1082. package/lib/resources/shipping_methods.cjs +11 -10
  1083. package/lib/resources/shipping_methods.d.cts +3 -3
  1084. package/lib/resources/shipping_methods.d.ts +2 -2
  1085. package/lib/resources/shipping_methods.js +10 -9
  1086. package/lib/resources/shipping_weight_tiers.cjs +11 -10
  1087. package/lib/resources/shipping_weight_tiers.d.cts +3 -3
  1088. package/lib/resources/shipping_weight_tiers.d.ts +2 -2
  1089. package/lib/resources/shipping_weight_tiers.js +10 -9
  1090. package/lib/resources/shipping_zones.cjs +11 -10
  1091. package/lib/resources/shipping_zones.d.cts +3 -3
  1092. package/lib/resources/shipping_zones.d.ts +2 -2
  1093. package/lib/resources/shipping_zones.js +10 -9
  1094. package/lib/resources/sku_list_items.cjs +11 -10
  1095. package/lib/resources/sku_list_items.d.cts +3 -3
  1096. package/lib/resources/sku_list_items.d.ts +2 -2
  1097. package/lib/resources/sku_list_items.js +10 -9
  1098. package/lib/resources/sku_list_promotion_rules.cjs +11 -10
  1099. package/lib/resources/sku_list_promotion_rules.d.cts +3 -3
  1100. package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
  1101. package/lib/resources/sku_list_promotion_rules.js +10 -9
  1102. package/lib/resources/sku_lists.cjs +11 -10
  1103. package/lib/resources/sku_lists.d.cts +3 -3
  1104. package/lib/resources/sku_lists.d.ts +2 -2
  1105. package/lib/resources/sku_lists.js +10 -9
  1106. package/lib/resources/sku_options.cjs +11 -10
  1107. package/lib/resources/sku_options.d.cts +3 -3
  1108. package/lib/resources/sku_options.d.ts +2 -2
  1109. package/lib/resources/sku_options.js +10 -9
  1110. package/lib/resources/skus.cjs +11 -10
  1111. package/lib/resources/skus.d.cts +3 -3
  1112. package/lib/resources/skus.d.ts +2 -2
  1113. package/lib/resources/skus.js +10 -9
  1114. package/lib/resources/stock_items.cjs +11 -10
  1115. package/lib/resources/stock_items.d.cts +3 -3
  1116. package/lib/resources/stock_items.d.ts +2 -2
  1117. package/lib/resources/stock_items.js +10 -9
  1118. package/lib/resources/stock_line_items.cjs +11 -10
  1119. package/lib/resources/stock_line_items.d.cts +3 -3
  1120. package/lib/resources/stock_line_items.d.ts +2 -2
  1121. package/lib/resources/stock_line_items.js +10 -9
  1122. package/lib/resources/stock_locations.cjs +11 -10
  1123. package/lib/resources/stock_locations.d.cts +3 -3
  1124. package/lib/resources/stock_locations.d.ts +2 -2
  1125. package/lib/resources/stock_locations.js +10 -9
  1126. package/lib/resources/stock_reservations.cjs +11 -10
  1127. package/lib/resources/stock_reservations.d.cts +3 -3
  1128. package/lib/resources/stock_reservations.d.ts +2 -2
  1129. package/lib/resources/stock_reservations.js +10 -9
  1130. package/lib/resources/stock_transfers.cjs +11 -10
  1131. package/lib/resources/stock_transfers.d.cts +3 -3
  1132. package/lib/resources/stock_transfers.d.ts +2 -2
  1133. package/lib/resources/stock_transfers.js +10 -9
  1134. package/lib/resources/stores.cjs +11 -10
  1135. package/lib/resources/stores.d.cts +3 -3
  1136. package/lib/resources/stores.d.ts +2 -2
  1137. package/lib/resources/stores.js +10 -9
  1138. package/lib/resources/stripe_gateways.cjs +11 -10
  1139. package/lib/resources/stripe_gateways.d.cts +3 -3
  1140. package/lib/resources/stripe_gateways.d.ts +2 -2
  1141. package/lib/resources/stripe_gateways.js +10 -9
  1142. package/lib/resources/stripe_payments.cjs +11 -10
  1143. package/lib/resources/stripe_payments.d.cts +3 -3
  1144. package/lib/resources/stripe_payments.d.ts +2 -2
  1145. package/lib/resources/stripe_payments.js +10 -9
  1146. package/lib/resources/stripe_tax_accounts.cjs +11 -10
  1147. package/lib/resources/stripe_tax_accounts.d.cts +3 -3
  1148. package/lib/resources/stripe_tax_accounts.d.ts +2 -2
  1149. package/lib/resources/stripe_tax_accounts.js +10 -9
  1150. package/lib/resources/subscription_models.cjs +11 -10
  1151. package/lib/resources/subscription_models.d.cts +3 -3
  1152. package/lib/resources/subscription_models.d.ts +2 -2
  1153. package/lib/resources/subscription_models.js +10 -9
  1154. package/lib/resources/tags.cjs +11 -10
  1155. package/lib/resources/tags.d.cts +3 -3
  1156. package/lib/resources/tags.d.ts +2 -2
  1157. package/lib/resources/tags.js +10 -9
  1158. package/lib/resources/talon_one_accounts.cjs +11 -10
  1159. package/lib/resources/talon_one_accounts.d.cts +3 -3
  1160. package/lib/resources/talon_one_accounts.d.ts +2 -2
  1161. package/lib/resources/talon_one_accounts.js +10 -9
  1162. package/lib/resources/tax_calculators.cjs +11 -10
  1163. package/lib/resources/tax_calculators.d.cts +3 -3
  1164. package/lib/resources/tax_calculators.d.ts +2 -2
  1165. package/lib/resources/tax_calculators.js +10 -9
  1166. package/lib/resources/tax_categories.cjs +11 -10
  1167. package/lib/resources/tax_categories.d.cts +3 -3
  1168. package/lib/resources/tax_categories.d.ts +2 -2
  1169. package/lib/resources/tax_categories.js +10 -9
  1170. package/lib/resources/tax_rules.cjs +11 -10
  1171. package/lib/resources/tax_rules.d.cts +3 -3
  1172. package/lib/resources/tax_rules.d.ts +2 -2
  1173. package/lib/resources/tax_rules.js +10 -9
  1174. package/lib/resources/taxjar_accounts.cjs +11 -10
  1175. package/lib/resources/taxjar_accounts.d.cts +3 -3
  1176. package/lib/resources/taxjar_accounts.d.ts +2 -2
  1177. package/lib/resources/taxjar_accounts.js +10 -9
  1178. package/lib/resources/transactions.cjs +11 -10
  1179. package/lib/resources/transactions.d.cts +3 -3
  1180. package/lib/resources/transactions.d.ts +2 -2
  1181. package/lib/resources/transactions.js +10 -9
  1182. package/lib/resources/vertex_accounts.cjs +11 -10
  1183. package/lib/resources/vertex_accounts.d.cts +3 -3
  1184. package/lib/resources/vertex_accounts.d.ts +2 -2
  1185. package/lib/resources/vertex_accounts.js +10 -9
  1186. package/lib/resources/voids.cjs +11 -10
  1187. package/lib/resources/voids.d.cts +3 -3
  1188. package/lib/resources/voids.d.ts +2 -2
  1189. package/lib/resources/voids.js +10 -9
  1190. package/lib/resources/webhooks.cjs +11 -10
  1191. package/lib/resources/webhooks.d.cts +3 -3
  1192. package/lib/resources/webhooks.d.ts +2 -2
  1193. package/lib/resources/webhooks.js +10 -9
  1194. package/lib/resources/wire_transfers.cjs +11 -10
  1195. package/lib/resources/wire_transfers.d.cts +3 -3
  1196. package/lib/resources/wire_transfers.d.ts +2 -2
  1197. package/lib/resources/wire_transfers.js +10 -9
  1198. package/lib/single-client.cjs +715 -0
  1199. package/lib/single-client.cjs.map +1 -0
  1200. package/lib/single-client.d.cts +21 -0
  1201. package/lib/single-client.d.ts +19 -0
  1202. package/lib/single-client.js +156 -0
  1203. package/lib/single-client.js.map +1 -0
  1204. package/lib/static.cjs +12 -11
  1205. package/lib/static.d.cts +2 -2
  1206. package/lib/static.d.ts +2 -2
  1207. package/lib/static.js +11 -10
  1208. package/lib/util.cjs +5 -5
  1209. package/lib/util.js +1 -1
  1210. package/lib/version.cjs +21 -0
  1211. package/lib/version.cjs.map +1 -0
  1212. package/lib/version.d.cts +12 -0
  1213. package/lib/version.d.ts +12 -0
  1214. package/lib/version.js +4 -0
  1215. package/lib/version.js.map +1 -0
  1216. package/package.json +28 -16
  1217. package/lib/api-CxFbvblr.d.ts +0 -18107
  1218. package/lib/api-o1gYTpPm.d.cts +0 -18107
  1219. package/lib/chunk-22RVT2J2.js +0 -20
  1220. package/lib/chunk-22RVT2J2.js.map +0 -1
  1221. package/lib/chunk-26Q2QNAQ.cjs +0 -30
  1222. package/lib/chunk-26Q2QNAQ.cjs.map +0 -1
  1223. package/lib/chunk-27YKND3S.js +0 -93
  1224. package/lib/chunk-27YKND3S.js.map +0 -1
  1225. package/lib/chunk-2CMJ2SZM.cjs +0 -57
  1226. package/lib/chunk-2CMJ2SZM.cjs.map +0 -1
  1227. package/lib/chunk-2D7XHAVQ.js +0 -59
  1228. package/lib/chunk-2D7XHAVQ.js.map +0 -1
  1229. package/lib/chunk-2HNW5KNF.js +0 -45
  1230. package/lib/chunk-2HNW5KNF.js.map +0 -1
  1231. package/lib/chunk-2NWYRIJZ.js +0 -41
  1232. package/lib/chunk-2NWYRIJZ.js.map +0 -1
  1233. package/lib/chunk-2QXENUO7.cjs +0 -51
  1234. package/lib/chunk-2QXENUO7.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-4C55SMIS.js +0 -55
  1256. package/lib/chunk-4C55SMIS.js.map +0 -1
  1257. package/lib/chunk-4E5BE47D.cjs +0 -61
  1258. package/lib/chunk-4E5BE47D.cjs.map +0 -1
  1259. package/lib/chunk-4MV6VICV.js +0 -35
  1260. package/lib/chunk-4MV6VICV.js.map +0 -1
  1261. package/lib/chunk-4P3MBQVY.cjs +0 -156
  1262. package/lib/chunk-4P3MBQVY.cjs.map +0 -1
  1263. package/lib/chunk-4PNXT6OT.js +0 -36
  1264. package/lib/chunk-4PNXT6OT.js.map +0 -1
  1265. package/lib/chunk-4S3I222F.cjs +0 -285
  1266. package/lib/chunk-4S3I222F.cjs.map +0 -1
  1267. package/lib/chunk-4YR6JIEN.js +0 -154
  1268. package/lib/chunk-4YR6JIEN.js.map +0 -1
  1269. package/lib/chunk-4ZIGP3FO.cjs +0 -59
  1270. package/lib/chunk-4ZIGP3FO.cjs.map +0 -1
  1271. package/lib/chunk-536MZPMI.cjs +0 -26
  1272. package/lib/chunk-536MZPMI.cjs.map +0 -1
  1273. package/lib/chunk-54VT56WS.cjs +0 -126
  1274. package/lib/chunk-54VT56WS.cjs.map +0 -1
  1275. package/lib/chunk-56HCMG32.js +0 -31
  1276. package/lib/chunk-56HCMG32.js.map +0 -1
  1277. package/lib/chunk-5AFBGKJ4.js +0 -53
  1278. package/lib/chunk-5AFBGKJ4.js.map +0 -1
  1279. package/lib/chunk-5P67UEWW.cjs +0 -56
  1280. package/lib/chunk-5P67UEWW.cjs.map +0 -1
  1281. package/lib/chunk-5RJW5RAK.js +0 -40
  1282. package/lib/chunk-5RJW5RAK.js.map +0 -1
  1283. package/lib/chunk-5TLVMKOO.cjs +0 -52
  1284. package/lib/chunk-5TLVMKOO.cjs.map +0 -1
  1285. package/lib/chunk-5YMHXTJG.cjs +0 -4
  1286. package/lib/chunk-5YMHXTJG.cjs.map +0 -1
  1287. package/lib/chunk-65XBHNZH.js +0 -96
  1288. package/lib/chunk-65XBHNZH.js.map +0 -1
  1289. package/lib/chunk-6BXCQFTI.js +0 -37
  1290. package/lib/chunk-6BXCQFTI.js.map +0 -1
  1291. package/lib/chunk-6EUKX4RC.cjs +0 -47
  1292. package/lib/chunk-6EUKX4RC.cjs.map +0 -1
  1293. package/lib/chunk-6UIVNEE7.cjs +0 -53
  1294. package/lib/chunk-6UIVNEE7.cjs.map +0 -1
  1295. package/lib/chunk-7473V4XD.js +0 -59
  1296. package/lib/chunk-7473V4XD.js.map +0 -1
  1297. package/lib/chunk-74JBCKFT.cjs +0 -30
  1298. package/lib/chunk-74JBCKFT.cjs.map +0 -1
  1299. package/lib/chunk-77HRCSA5.cjs +0 -55
  1300. package/lib/chunk-77HRCSA5.cjs.map +0 -1
  1301. package/lib/chunk-7RZTCBDR.cjs +0 -22
  1302. package/lib/chunk-7RZTCBDR.cjs.map +0 -1
  1303. package/lib/chunk-7ZBEKCA5.cjs +0 -75
  1304. package/lib/chunk-7ZBEKCA5.cjs.map +0 -1
  1305. package/lib/chunk-A6E33WC3.cjs +0 -53
  1306. package/lib/chunk-A6E33WC3.cjs.map +0 -1
  1307. package/lib/chunk-A77RAUIU.cjs +0 -54
  1308. package/lib/chunk-A77RAUIU.cjs.map +0 -1
  1309. package/lib/chunk-A7BK3Z22.cjs +0 -38
  1310. package/lib/chunk-A7BK3Z22.cjs.map +0 -1
  1311. package/lib/chunk-AEP6D5QV.cjs +0 -38
  1312. package/lib/chunk-AEP6D5QV.cjs.map +0 -1
  1313. package/lib/chunk-AN2Y6XMS.js +0 -28
  1314. package/lib/chunk-AN2Y6XMS.js.map +0 -1
  1315. package/lib/chunk-ANRUEWG5.js +0 -51
  1316. package/lib/chunk-ANRUEWG5.js.map +0 -1
  1317. package/lib/chunk-AP5WOJMJ.js +0 -49
  1318. package/lib/chunk-AP5WOJMJ.js.map +0 -1
  1319. package/lib/chunk-APMYXRFX.js +0 -96
  1320. package/lib/chunk-APMYXRFX.js.map +0 -1
  1321. package/lib/chunk-APTNONWZ.js +0 -40
  1322. package/lib/chunk-APTNONWZ.js.map +0 -1
  1323. package/lib/chunk-AS6CAIIM.js +0 -65
  1324. package/lib/chunk-AS6CAIIM.js.map +0 -1
  1325. package/lib/chunk-ATK6TFVA.cjs +0 -43
  1326. package/lib/chunk-ATK6TFVA.cjs.map +0 -1
  1327. package/lib/chunk-AVYPSM4A.cjs +0 -43
  1328. package/lib/chunk-AVYPSM4A.cjs.map +0 -1
  1329. package/lib/chunk-AWEYC4IM.js +0 -45
  1330. package/lib/chunk-AWEYC4IM.js.map +0 -1
  1331. package/lib/chunk-AWLS4LR4.cjs +0 -53
  1332. package/lib/chunk-AWLS4LR4.cjs.map +0 -1
  1333. package/lib/chunk-AY7MWZ7Y.js +0 -48
  1334. package/lib/chunk-AY7MWZ7Y.js.map +0 -1
  1335. package/lib/chunk-B7T7DQEK.js +0 -52
  1336. package/lib/chunk-B7T7DQEK.js.map +0 -1
  1337. package/lib/chunk-BANZUNLK.js +0 -40
  1338. package/lib/chunk-BANZUNLK.js.map +0 -1
  1339. package/lib/chunk-BQE56RMQ.js +0 -45
  1340. package/lib/chunk-BQE56RMQ.js.map +0 -1
  1341. package/lib/chunk-C7AHHS53.cjs +0 -51
  1342. package/lib/chunk-C7AHHS53.cjs.map +0 -1
  1343. package/lib/chunk-CDFM6RPB.cjs +0 -63
  1344. package/lib/chunk-CDFM6RPB.cjs.map +0 -1
  1345. package/lib/chunk-CDNYZAMV.js +0 -51
  1346. package/lib/chunk-CDNYZAMV.js.map +0 -1
  1347. package/lib/chunk-CH4K74JN.cjs +0 -55
  1348. package/lib/chunk-CH4K74JN.cjs.map +0 -1
  1349. package/lib/chunk-CJPAOOG5.cjs +0 -34
  1350. package/lib/chunk-CJPAOOG5.cjs.map +0 -1
  1351. package/lib/chunk-CKSLVNN7.js +0 -45
  1352. package/lib/chunk-CKSLVNN7.js.map +0 -1
  1353. package/lib/chunk-CM4DAVO4.js +0 -40
  1354. package/lib/chunk-CM4DAVO4.js.map +0 -1
  1355. package/lib/chunk-CNMMWVI6.js +0 -48
  1356. package/lib/chunk-CNMMWVI6.js.map +0 -1
  1357. package/lib/chunk-CTTA6S5K.cjs +0 -61
  1358. package/lib/chunk-CTTA6S5K.cjs.map +0 -1
  1359. package/lib/chunk-CUYSBPPJ.js +0 -45
  1360. package/lib/chunk-CUYSBPPJ.js.map +0 -1
  1361. package/lib/chunk-CWD5DM6G.cjs +0 -54
  1362. package/lib/chunk-CWD5DM6G.cjs.map +0 -1
  1363. package/lib/chunk-D3VJO4HP.js +0 -40
  1364. package/lib/chunk-D3VJO4HP.js.map +0 -1
  1365. package/lib/chunk-D3YQS6YA.js +0 -66
  1366. package/lib/chunk-D3YQS6YA.js.map +0 -1
  1367. package/lib/chunk-DBJEPEBT.js +0 -45
  1368. package/lib/chunk-DBJEPEBT.js.map +0 -1
  1369. package/lib/chunk-DBNDWZZW.cjs +0 -98
  1370. package/lib/chunk-DBNDWZZW.cjs.map +0 -1
  1371. package/lib/chunk-DFUIO6OY.js +0 -53
  1372. package/lib/chunk-DFUIO6OY.js.map +0 -1
  1373. package/lib/chunk-DHGTIF6A.cjs +0 -56
  1374. package/lib/chunk-DHGTIF6A.cjs.map +0 -1
  1375. package/lib/chunk-DJRBEANR.js +0 -57
  1376. package/lib/chunk-DJRBEANR.js.map +0 -1
  1377. package/lib/chunk-DNVIOKDM.cjs +0 -55
  1378. package/lib/chunk-DNVIOKDM.cjs.map +0 -1
  1379. package/lib/chunk-DQUGPCYZ.js +0 -37
  1380. package/lib/chunk-DQUGPCYZ.js.map +0 -1
  1381. package/lib/chunk-DUQVVWSA.js +0 -54
  1382. package/lib/chunk-DUQVVWSA.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-EFFMFEBS.cjs +0 -47
  1390. package/lib/chunk-EFFMFEBS.cjs.map +0 -1
  1391. package/lib/chunk-EI2KOTCG.js +0 -37
  1392. package/lib/chunk-EI2KOTCG.js.map +0 -1
  1393. package/lib/chunk-ELTYSKHB.js +0 -68
  1394. package/lib/chunk-ELTYSKHB.js.map +0 -1
  1395. package/lib/chunk-EO7RCCV2.js +0 -45
  1396. package/lib/chunk-EO7RCCV2.js.map +0 -1
  1397. package/lib/chunk-EOV3GRPM.js +0 -27
  1398. package/lib/chunk-EOV3GRPM.js.map +0 -1
  1399. package/lib/chunk-EQ5ASSXQ.cjs +0 -95
  1400. package/lib/chunk-EQ5ASSXQ.cjs.map +0 -1
  1401. package/lib/chunk-EQZMPSGR.js +0 -55
  1402. package/lib/chunk-EQZMPSGR.js.map +0 -1
  1403. package/lib/chunk-ESI7A34I.js +0 -52
  1404. package/lib/chunk-ESI7A34I.js.map +0 -1
  1405. package/lib/chunk-EWFAT7KA.js +0 -283
  1406. package/lib/chunk-EWFAT7KA.js.map +0 -1
  1407. package/lib/chunk-FANJUOI3.cjs +0 -51
  1408. package/lib/chunk-FANJUOI3.cjs.map +0 -1
  1409. package/lib/chunk-FB6DA6TM.cjs +0 -49
  1410. package/lib/chunk-FB6DA6TM.cjs.map +0 -1
  1411. package/lib/chunk-FRVEAP6J.js +0 -73
  1412. package/lib/chunk-FRVEAP6J.js.map +0 -1
  1413. package/lib/chunk-FUQA5XT7.cjs +0 -47
  1414. package/lib/chunk-FUQA5XT7.cjs.map +0 -1
  1415. package/lib/chunk-FVRWASHH.js +0 -32
  1416. package/lib/chunk-FVRWASHH.js.map +0 -1
  1417. package/lib/chunk-FWBO3MH4.js +0 -54
  1418. package/lib/chunk-FWBO3MH4.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-I2FEIMVG.cjs +0 -53
  1442. package/lib/chunk-I2FEIMVG.cjs.map +0 -1
  1443. package/lib/chunk-I2UV76EQ.js +0 -102
  1444. package/lib/chunk-I2UV76EQ.js.map +0 -1
  1445. package/lib/chunk-I64ZCB4W.cjs +0 -55
  1446. package/lib/chunk-I64ZCB4W.cjs.map +0 -1
  1447. package/lib/chunk-IG2P6JOK.js +0 -40
  1448. package/lib/chunk-IG2P6JOK.js.map +0 -1
  1449. package/lib/chunk-IG6UCDED.js +0 -59
  1450. package/lib/chunk-IG6UCDED.js.map +0 -1
  1451. package/lib/chunk-IIUBCLDN.js +0 -47
  1452. package/lib/chunk-IIUBCLDN.js.map +0 -1
  1453. package/lib/chunk-IKCYKGYL.js +0 -151
  1454. package/lib/chunk-IKCYKGYL.js.map +0 -1
  1455. package/lib/chunk-IKU3CD3A.cjs +0 -75
  1456. package/lib/chunk-IKU3CD3A.cjs.map +0 -1
  1457. package/lib/chunk-IL2AXMUE.js +0 -45
  1458. package/lib/chunk-IL2AXMUE.js.map +0 -1
  1459. package/lib/chunk-IL66CF3O.js +0 -105
  1460. package/lib/chunk-IL66CF3O.js.map +0 -1
  1461. package/lib/chunk-ILAFDO4M.js +0 -36
  1462. package/lib/chunk-ILAFDO4M.js.map +0 -1
  1463. package/lib/chunk-INBIEH6H.cjs +0 -44
  1464. package/lib/chunk-INBIEH6H.cjs.map +0 -1
  1465. package/lib/chunk-IOSR7D3F.cjs +0 -47
  1466. package/lib/chunk-IOSR7D3F.cjs.map +0 -1
  1467. package/lib/chunk-IOYGVLML.js +0 -41
  1468. package/lib/chunk-IOYGVLML.js.map +0 -1
  1469. package/lib/chunk-IP5G2VCS.cjs +0 -38
  1470. package/lib/chunk-IP5G2VCS.cjs.map +0 -1
  1471. package/lib/chunk-IWH7CXBG.js +0 -124
  1472. package/lib/chunk-IWH7CXBG.js.map +0 -1
  1473. package/lib/chunk-IYGFGGZR.js +0 -59
  1474. package/lib/chunk-IYGFGGZR.js.map +0 -1
  1475. package/lib/chunk-IYQFTOVG.cjs +0 -39
  1476. package/lib/chunk-IYQFTOVG.cjs.map +0 -1
  1477. package/lib/chunk-J2ULMBWQ.js +0 -89
  1478. package/lib/chunk-J2ULMBWQ.js.map +0 -1
  1479. package/lib/chunk-JARZZUPY.js +0 -93
  1480. package/lib/chunk-JARZZUPY.js.map +0 -1
  1481. package/lib/chunk-JBKJAYRL.cjs +0 -50
  1482. package/lib/chunk-JBKJAYRL.cjs.map +0 -1
  1483. package/lib/chunk-JEOA64GW.cjs +0 -46
  1484. package/lib/chunk-JEOA64GW.cjs.map +0 -1
  1485. package/lib/chunk-JGTC32IT.cjs +0 -69
  1486. package/lib/chunk-JGTC32IT.cjs.map +0 -1
  1487. package/lib/chunk-JHYHQV3E.js +0 -67
  1488. package/lib/chunk-JHYHQV3E.js.map +0 -1
  1489. package/lib/chunk-JIDX6RAT.js +0 -103
  1490. package/lib/chunk-JIDX6RAT.js.map +0 -1
  1491. package/lib/chunk-JIQRQ5TK.cjs +0 -39
  1492. package/lib/chunk-JIQRQ5TK.cjs.map +0 -1
  1493. package/lib/chunk-JMKSIDZI.cjs +0 -51
  1494. package/lib/chunk-JMKSIDZI.cjs.map +0 -1
  1495. package/lib/chunk-JO2S5NYR.js +0 -51
  1496. package/lib/chunk-JO2S5NYR.js.map +0 -1
  1497. package/lib/chunk-JR6TYHVG.js +0 -41
  1498. package/lib/chunk-JR6TYHVG.js.map +0 -1
  1499. package/lib/chunk-JRVZ4JQI.js +0 -32
  1500. package/lib/chunk-JRVZ4JQI.js.map +0 -1
  1501. package/lib/chunk-JSHKAVYF.js +0 -45
  1502. package/lib/chunk-JSHKAVYF.js.map +0 -1
  1503. package/lib/chunk-K277GYCD.cjs +0 -40
  1504. package/lib/chunk-K277GYCD.cjs.map +0 -1
  1505. package/lib/chunk-K3GPCGMJ.cjs +0 -47
  1506. package/lib/chunk-K3GPCGMJ.cjs.map +0 -1
  1507. package/lib/chunk-KC46F2PJ.cjs +0 -47
  1508. package/lib/chunk-KC46F2PJ.cjs.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-KUJFQHAN.js +0 -52
  1516. package/lib/chunk-KUJFQHAN.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-LFNJLWV4.cjs +0 -33
  1524. package/lib/chunk-LFNJLWV4.cjs.map +0 -1
  1525. package/lib/chunk-LHESCZ5L.cjs +0 -39
  1526. package/lib/chunk-LHESCZ5L.cjs.map +0 -1
  1527. package/lib/chunk-LOJ7246E.js +0 -44
  1528. package/lib/chunk-LOJ7246E.js.map +0 -1
  1529. package/lib/chunk-LP52UBLY.js +0 -54
  1530. package/lib/chunk-LP52UBLY.js.map +0 -1
  1531. package/lib/chunk-LPP7TYFN.js +0 -45
  1532. package/lib/chunk-LPP7TYFN.js.map +0 -1
  1533. package/lib/chunk-LQ5GKVLT.cjs +0 -163
  1534. package/lib/chunk-LQ5GKVLT.cjs.map +0 -1
  1535. package/lib/chunk-LS7VSSB4.js +0 -49
  1536. package/lib/chunk-LS7VSSB4.js.map +0 -1
  1537. package/lib/chunk-LSISPTNQ.cjs +0 -47
  1538. package/lib/chunk-LSISPTNQ.cjs.map +0 -1
  1539. package/lib/chunk-LZO46NMA.js +0 -60
  1540. package/lib/chunk-LZO46NMA.js.map +0 -1
  1541. package/lib/chunk-M22WZEWB.js +0 -37
  1542. package/lib/chunk-M22WZEWB.js.map +0 -1
  1543. package/lib/chunk-M63P3MQC.cjs +0 -51
  1544. package/lib/chunk-M63P3MQC.cjs.map +0 -1
  1545. package/lib/chunk-M7EUSLT2.js +0 -51
  1546. package/lib/chunk-M7EUSLT2.js.map +0 -1
  1547. package/lib/chunk-M7SVKQ7R.cjs +0 -51
  1548. package/lib/chunk-M7SVKQ7R.cjs.map +0 -1
  1549. package/lib/chunk-MFDKS22G.js +0 -536
  1550. package/lib/chunk-MFDKS22G.js.map +0 -1
  1551. package/lib/chunk-MHNJALUB.cjs +0 -42
  1552. package/lib/chunk-MHNJALUB.cjs.map +0 -1
  1553. package/lib/chunk-MOYV2F4C.js +0 -50
  1554. package/lib/chunk-MOYV2F4C.js.map +0 -1
  1555. package/lib/chunk-MVXKHM42.cjs +0 -47
  1556. package/lib/chunk-MVXKHM42.cjs.map +0 -1
  1557. package/lib/chunk-N2TACGKJ.js +0 -59
  1558. package/lib/chunk-N2TACGKJ.js.map +0 -1
  1559. package/lib/chunk-N5BGBBOP.js +0 -47
  1560. package/lib/chunk-N5BGBBOP.js.map +0 -1
  1561. package/lib/chunk-NGJN2PES.cjs +0 -95
  1562. package/lib/chunk-NGJN2PES.cjs.map +0 -1
  1563. package/lib/chunk-NIFNQI3P.js +0 -49
  1564. package/lib/chunk-NIFNQI3P.js.map +0 -1
  1565. package/lib/chunk-NLL7EH7Y.cjs +0 -42
  1566. package/lib/chunk-NLL7EH7Y.cjs.map +0 -1
  1567. package/lib/chunk-NOGYLNW5.cjs +0 -49
  1568. package/lib/chunk-NOGYLNW5.cjs.map +0 -1
  1569. package/lib/chunk-NPZA6AMN.js +0 -95
  1570. package/lib/chunk-NPZA6AMN.js.map +0 -1
  1571. package/lib/chunk-NSMPVEO4.js +0 -49
  1572. package/lib/chunk-NSMPVEO4.js.map +0 -1
  1573. package/lib/chunk-NURW5BJN.js +0 -37
  1574. package/lib/chunk-NURW5BJN.js.map +0 -1
  1575. package/lib/chunk-NWPF43O7.js +0 -50
  1576. package/lib/chunk-NWPF43O7.js.map +0 -1
  1577. package/lib/chunk-NXSK65YY.cjs +0 -47
  1578. package/lib/chunk-NXSK65YY.cjs.map +0 -1
  1579. package/lib/chunk-OBNGBDLS.js +0 -47
  1580. package/lib/chunk-OBNGBDLS.js.map +0 -1
  1581. package/lib/chunk-OEMRZEYB.js +0 -45
  1582. package/lib/chunk-OEMRZEYB.js.map +0 -1
  1583. package/lib/chunk-ONVG32V5.cjs +0 -63
  1584. package/lib/chunk-ONVG32V5.cjs.map +0 -1
  1585. package/lib/chunk-P2IDAXTS.cjs +0 -62
  1586. package/lib/chunk-P2IDAXTS.cjs.map +0 -1
  1587. package/lib/chunk-P47JG2WA.js +0 -48
  1588. package/lib/chunk-P47JG2WA.js.map +0 -1
  1589. package/lib/chunk-P5EEPVZA.cjs +0 -77
  1590. package/lib/chunk-P5EEPVZA.cjs.map +0 -1
  1591. package/lib/chunk-PB6VKR7P.js +0 -49
  1592. package/lib/chunk-PB6VKR7P.js.map +0 -1
  1593. package/lib/chunk-PBEQTSJS.cjs +0 -47
  1594. package/lib/chunk-PBEQTSJS.cjs.map +0 -1
  1595. package/lib/chunk-PEC5CKS7.cjs +0 -22
  1596. package/lib/chunk-PEC5CKS7.cjs.map +0 -1
  1597. package/lib/chunk-PIHQS6OG.js +0 -153
  1598. package/lib/chunk-PIHQS6OG.js.map +0 -1
  1599. package/lib/chunk-PL6A37WA.js +0 -45
  1600. package/lib/chunk-PL6A37WA.js.map +0 -1
  1601. package/lib/chunk-PMV3JPUR.cjs +0 -51
  1602. package/lib/chunk-PMV3JPUR.cjs.map +0 -1
  1603. package/lib/chunk-PQJ2ODW3.cjs +0 -67
  1604. package/lib/chunk-PQJ2ODW3.cjs.map +0 -1
  1605. package/lib/chunk-PUBFRIEQ.cjs +0 -95
  1606. package/lib/chunk-PUBFRIEQ.cjs.map +0 -1
  1607. package/lib/chunk-PULH7AI4.cjs +0 -68
  1608. package/lib/chunk-PULH7AI4.cjs.map +0 -1
  1609. package/lib/chunk-PUTVVRLC.js +0 -69
  1610. package/lib/chunk-PUTVVRLC.js.map +0 -1
  1611. package/lib/chunk-PVBBO54F.js +0 -49
  1612. package/lib/chunk-PVBBO54F.js.map +0 -1
  1613. package/lib/chunk-Q3WUCLM5.js +0 -37
  1614. package/lib/chunk-Q3WUCLM5.js.map +0 -1
  1615. package/lib/chunk-Q5OKMDOT.js +0 -24
  1616. package/lib/chunk-Q5OKMDOT.js.map +0 -1
  1617. package/lib/chunk-QCY5BXWM.cjs +0 -46
  1618. package/lib/chunk-QCY5BXWM.cjs.map +0 -1
  1619. package/lib/chunk-QDZI3I46.cjs +0 -43
  1620. package/lib/chunk-QDZI3I46.cjs.map +0 -1
  1621. package/lib/chunk-QF6DOS2C.js +0 -42
  1622. package/lib/chunk-QF6DOS2C.js.map +0 -1
  1623. package/lib/chunk-QI4UFW5A.js +0 -59
  1624. package/lib/chunk-QI4UFW5A.js.map +0 -1
  1625. package/lib/chunk-QJDQS6PE.cjs +0 -107
  1626. package/lib/chunk-QJDQS6PE.cjs.map +0 -1
  1627. package/lib/chunk-QTBUH3V7.js +0 -61
  1628. package/lib/chunk-QTBUH3V7.js.map +0 -1
  1629. package/lib/chunk-QVJZ2PSX.cjs +0 -51
  1630. package/lib/chunk-QVJZ2PSX.cjs.map +0 -1
  1631. package/lib/chunk-QWJAX42Q.cjs +0 -53
  1632. package/lib/chunk-QWJAX42Q.cjs.map +0 -1
  1633. package/lib/chunk-QXXLGQVN.js +0 -45
  1634. package/lib/chunk-QXXLGQVN.js.map +0 -1
  1635. package/lib/chunk-R3IJVFKR.cjs +0 -53
  1636. package/lib/chunk-R3IJVFKR.cjs.map +0 -1
  1637. package/lib/chunk-RDZZJ22W.cjs +0 -39
  1638. package/lib/chunk-RDZZJ22W.cjs.map +0 -1
  1639. package/lib/chunk-RGGHPNOB.js +0 -49
  1640. package/lib/chunk-RGGHPNOB.js.map +0 -1
  1641. package/lib/chunk-RKD7U6QH.cjs +0 -51
  1642. package/lib/chunk-RKD7U6QH.cjs.map +0 -1
  1643. package/lib/chunk-RMTTRB7R.js +0 -51
  1644. package/lib/chunk-RMTTRB7R.js.map +0 -1
  1645. package/lib/chunk-RNJOCB3T.cjs +0 -42
  1646. package/lib/chunk-RNJOCB3T.cjs.map +0 -1
  1647. package/lib/chunk-RQAOPSUW.cjs +0 -47
  1648. package/lib/chunk-RQAOPSUW.cjs.map +0 -1
  1649. package/lib/chunk-RW4KKMPX.js +0 -93
  1650. package/lib/chunk-RW4KKMPX.js.map +0 -1
  1651. package/lib/chunk-S4UDNFDR.js +0 -44
  1652. package/lib/chunk-S4UDNFDR.js.map +0 -1
  1653. package/lib/chunk-SGXMH2JP.cjs +0 -29
  1654. package/lib/chunk-SGXMH2JP.cjs.map +0 -1
  1655. package/lib/chunk-SIUUVOQC.js +0 -51
  1656. package/lib/chunk-SIUUVOQC.js.map +0 -1
  1657. package/lib/chunk-SO73YTDF.cjs +0 -53
  1658. package/lib/chunk-SO73YTDF.cjs.map +0 -1
  1659. package/lib/chunk-SOA5XGA2.js +0 -51
  1660. package/lib/chunk-SOA5XGA2.js.map +0 -1
  1661. package/lib/chunk-SOOB4KI7.cjs +0 -53
  1662. package/lib/chunk-SOOB4KI7.cjs.map +0 -1
  1663. package/lib/chunk-SSHXUS6Q.js +0 -49
  1664. package/lib/chunk-SSHXUS6Q.js.map +0 -1
  1665. package/lib/chunk-STQYJKBK.cjs +0 -55
  1666. package/lib/chunk-STQYJKBK.cjs.map +0 -1
  1667. package/lib/chunk-SZARKLAL.js +0 -68
  1668. package/lib/chunk-SZARKLAL.js.map +0 -1
  1669. package/lib/chunk-SZM64XMO.cjs +0 -68
  1670. package/lib/chunk-SZM64XMO.cjs.map +0 -1
  1671. package/lib/chunk-T2DEYIX6.cjs +0 -57
  1672. package/lib/chunk-T2DEYIX6.cjs.map +0 -1
  1673. package/lib/chunk-T2YGQC4C.js +0 -61
  1674. package/lib/chunk-T2YGQC4C.js.map +0 -1
  1675. package/lib/chunk-T5OEKW7A.cjs +0 -55
  1676. package/lib/chunk-T5OEKW7A.cjs.map +0 -1
  1677. package/lib/chunk-T6CBFUT6.cjs +0 -51
  1678. package/lib/chunk-T6CBFUT6.cjs.map +0 -1
  1679. package/lib/chunk-TMP744WP.js +0 -45
  1680. package/lib/chunk-TMP744WP.js.map +0 -1
  1681. package/lib/chunk-TMSNRZEW.cjs +0 -50
  1682. package/lib/chunk-TMSNRZEW.cjs.map +0 -1
  1683. package/lib/chunk-TRDTLOUY.js +0 -66
  1684. package/lib/chunk-TRDTLOUY.js.map +0 -1
  1685. package/lib/chunk-TTVTRX76.cjs +0 -93
  1686. package/lib/chunk-TTVTRX76.cjs.map +0 -1
  1687. package/lib/chunk-TUKV2ZIA.cjs +0 -52
  1688. package/lib/chunk-TUKV2ZIA.cjs.map +0 -1
  1689. package/lib/chunk-TVKGUM2Z.js +0 -99
  1690. package/lib/chunk-TVKGUM2Z.js.map +0 -1
  1691. package/lib/chunk-U6G7T5WX.cjs +0 -47
  1692. package/lib/chunk-U6G7T5WX.cjs.map +0 -1
  1693. package/lib/chunk-UFUZNSZI.cjs +0 -61
  1694. package/lib/chunk-UFUZNSZI.cjs.map +0 -1
  1695. package/lib/chunk-UHZABEQZ.js +0 -45
  1696. package/lib/chunk-UHZABEQZ.js.map +0 -1
  1697. package/lib/chunk-UIRXTLC6.cjs +0 -61
  1698. package/lib/chunk-UIRXTLC6.cjs.map +0 -1
  1699. package/lib/chunk-UJ4OEOZA.js +0 -87
  1700. package/lib/chunk-UJ4OEOZA.js.map +0 -1
  1701. package/lib/chunk-UL4JQZUD.cjs +0 -42
  1702. package/lib/chunk-UL4JQZUD.cjs.map +0 -1
  1703. package/lib/chunk-UNPVTCLZ.cjs +0 -47
  1704. package/lib/chunk-UNPVTCLZ.cjs.map +0 -1
  1705. package/lib/chunk-UQQTNQX3.cjs +0 -153
  1706. package/lib/chunk-UQQTNQX3.cjs.map +0 -1
  1707. package/lib/chunk-USP4O34Q.js +0 -28
  1708. package/lib/chunk-USP4O34Q.js.map +0 -1
  1709. package/lib/chunk-UV6BETTC.js +0 -48
  1710. package/lib/chunk-UV6BETTC.js.map +0 -1
  1711. package/lib/chunk-UXLDPLOA.js +0 -45
  1712. package/lib/chunk-UXLDPLOA.js.map +0 -1
  1713. package/lib/chunk-V6VQMQQX.js +0 -91
  1714. package/lib/chunk-V6VQMQQX.js.map +0 -1
  1715. package/lib/chunk-V74OBMS3.cjs +0 -95
  1716. package/lib/chunk-V74OBMS3.cjs.map +0 -1
  1717. package/lib/chunk-VA6VDBQS.js +0 -41
  1718. package/lib/chunk-VA6VDBQS.js.map +0 -1
  1719. package/lib/chunk-VB7XUWBF.cjs +0 -47
  1720. package/lib/chunk-VB7XUWBF.cjs.map +0 -1
  1721. package/lib/chunk-VESU72KU.js +0 -93
  1722. package/lib/chunk-VESU72KU.js.map +0 -1
  1723. package/lib/chunk-VEV4DZKI.cjs +0 -51
  1724. package/lib/chunk-VEV4DZKI.cjs.map +0 -1
  1725. package/lib/chunk-VI2NCCWC.js +0 -49
  1726. package/lib/chunk-VI2NCCWC.js.map +0 -1
  1727. package/lib/chunk-VTSEVEKJ.cjs +0 -53
  1728. package/lib/chunk-VTSEVEKJ.cjs.map +0 -1
  1729. package/lib/chunk-VVS2M4QH.js +0 -53
  1730. package/lib/chunk-VVS2M4QH.js.map +0 -1
  1731. package/lib/chunk-VWUS4YUX.js +0 -49
  1732. package/lib/chunk-VWUS4YUX.js.map +0 -1
  1733. package/lib/chunk-VXXJ3CIC.js +0 -49
  1734. package/lib/chunk-VXXJ3CIC.js.map +0 -1
  1735. package/lib/chunk-VZQLDW2G.cjs +0 -95
  1736. package/lib/chunk-VZQLDW2G.cjs.map +0 -1
  1737. package/lib/chunk-WO5PFLID.js +0 -45
  1738. package/lib/chunk-WO5PFLID.js.map +0 -1
  1739. package/lib/chunk-WWUZP5BE.cjs +0 -50
  1740. package/lib/chunk-WWUZP5BE.cjs.map +0 -1
  1741. package/lib/chunk-X55DEMOC.js +0 -45
  1742. package/lib/chunk-X55DEMOC.js.map +0 -1
  1743. package/lib/chunk-X5TTCMYD.cjs +0 -105
  1744. package/lib/chunk-X5TTCMYD.cjs.map +0 -1
  1745. package/lib/chunk-XEAXNFP4.js +0 -49
  1746. package/lib/chunk-XEAXNFP4.js.map +0 -1
  1747. package/lib/chunk-XJLJ77JI.cjs +0 -107
  1748. package/lib/chunk-XJLJ77JI.cjs.map +0 -1
  1749. package/lib/chunk-XK7ZO7EI.js +0 -40
  1750. package/lib/chunk-XK7ZO7EI.js.map +0 -1
  1751. package/lib/chunk-XPPCVN6T.cjs +0 -53
  1752. package/lib/chunk-XPPCVN6T.cjs.map +0 -1
  1753. package/lib/chunk-XREISFN4.cjs +0 -42
  1754. package/lib/chunk-XREISFN4.cjs.map +0 -1
  1755. package/lib/chunk-XTJSTAG5.js +0 -45
  1756. package/lib/chunk-XTJSTAG5.js.map +0 -1
  1757. package/lib/chunk-XTN5Y5IT.cjs +0 -56
  1758. package/lib/chunk-XTN5Y5IT.cjs.map +0 -1
  1759. package/lib/chunk-XU6ZCB7C.cjs +0 -47
  1760. package/lib/chunk-XU6ZCB7C.cjs.map +0 -1
  1761. package/lib/chunk-XWBNNCYU.cjs +0 -97
  1762. package/lib/chunk-XWBNNCYU.cjs.map +0 -1
  1763. package/lib/chunk-XWIVM4OM.cjs +0 -42
  1764. package/lib/chunk-XWIVM4OM.cjs.map +0 -1
  1765. package/lib/chunk-Y4GGZ4EQ.cjs +0 -101
  1766. package/lib/chunk-Y4GGZ4EQ.cjs.map +0 -1
  1767. package/lib/chunk-YBX7UV5N.cjs +0 -91
  1768. package/lib/chunk-YBX7UV5N.cjs.map +0 -1
  1769. package/lib/chunk-YETXFXFO.cjs +0 -550
  1770. package/lib/chunk-YETXFXFO.cjs.map +0 -1
  1771. package/lib/chunk-YFTJA634.js +0 -36
  1772. package/lib/chunk-YFTJA634.js.map +0 -1
  1773. package/lib/chunk-YRCCY6RV.js +0 -276
  1774. package/lib/chunk-YRCCY6RV.js.map +0 -1
  1775. package/lib/chunk-YYAEAKBO.cjs +0 -51
  1776. package/lib/chunk-YYAEAKBO.cjs.map +0 -1
  1777. package/lib/chunk-Z4LKTHPE.js +0 -20
  1778. package/lib/chunk-Z4LKTHPE.js.map +0 -1
  1779. package/lib/chunk-ZGX3A2OH.cjs +0 -42
  1780. package/lib/chunk-ZGX3A2OH.cjs.map +0 -1
  1781. package/lib/chunk-ZJE7A6E6.cjs +0 -39
  1782. package/lib/chunk-ZJE7A6E6.cjs.map +0 -1
  1783. package/lib/chunk-ZM2HKUHW.cjs +0 -50
  1784. package/lib/chunk-ZM2HKUHW.cjs.map +0 -1
  1785. package/lib/chunk-ZVSNJOYP.js +0 -51
  1786. package/lib/chunk-ZVSNJOYP.js.map +0 -1
  1787. package/lib/fetch-B8-kP4X0.d.cts +0 -55
  1788. package/lib/fetch-B8-kP4X0.d.ts +0 -55
@@ -0,0 +1,198 @@
1
+ 'use strict';
2
+
3
+ var chunkGKPLAZMH_cjs = require('./chunk-GKPLAZMH.cjs');
4
+
5
+ // src/resources/customers.ts
6
+ var Customers = class _Customers extends chunkGKPLAZMH_cjs.ApiResource {
7
+ static TYPE = "customers";
8
+ async create(resource, params, options) {
9
+ return this.resources.create({ ...resource, type: _Customers.TYPE }, params, options);
10
+ }
11
+ async update(resource, params, options) {
12
+ return this.resources.update({ ...resource, type: _Customers.TYPE }, params, options);
13
+ }
14
+ async delete(id, options) {
15
+ await this.resources.delete(typeof id === "string" ? { id, type: _Customers.TYPE } : id, options);
16
+ }
17
+ async customer_group(customerId, params, options) {
18
+ const _customerId = customerId.id || customerId;
19
+ return this.resources.fetch(
20
+ { type: "customer_groups" },
21
+ `customers/${_customerId}/customer_group`,
22
+ params,
23
+ options
24
+ );
25
+ }
26
+ async customer_addresses(customerId, params, options) {
27
+ const _customerId = customerId.id || customerId;
28
+ return this.resources.fetch(
29
+ { type: "customer_addresses" },
30
+ `customers/${_customerId}/customer_addresses`,
31
+ params,
32
+ options
33
+ );
34
+ }
35
+ async customer_payment_sources(customerId, params, options) {
36
+ const _customerId = customerId.id || customerId;
37
+ return this.resources.fetch(
38
+ { type: "customer_payment_sources" },
39
+ `customers/${_customerId}/customer_payment_sources`,
40
+ params,
41
+ options
42
+ );
43
+ }
44
+ async customer_subscriptions(customerId, params, options) {
45
+ const _customerId = customerId.id || customerId;
46
+ return this.resources.fetch(
47
+ { type: "customer_subscriptions" },
48
+ `customers/${_customerId}/customer_subscriptions`,
49
+ params,
50
+ options
51
+ );
52
+ }
53
+ async orders(customerId, params, options) {
54
+ const _customerId = customerId.id || customerId;
55
+ return this.resources.fetch(
56
+ { type: "orders" },
57
+ `customers/${_customerId}/orders`,
58
+ params,
59
+ options
60
+ );
61
+ }
62
+ async order_subscriptions(customerId, params, options) {
63
+ const _customerId = customerId.id || customerId;
64
+ return this.resources.fetch(
65
+ { type: "order_subscriptions" },
66
+ `customers/${_customerId}/order_subscriptions`,
67
+ params,
68
+ options
69
+ );
70
+ }
71
+ async returns(customerId, params, options) {
72
+ const _customerId = customerId.id || customerId;
73
+ return this.resources.fetch(
74
+ { type: "returns" },
75
+ `customers/${_customerId}/returns`,
76
+ params,
77
+ options
78
+ );
79
+ }
80
+ async sku_lists(customerId, params, options) {
81
+ const _customerId = customerId.id || customerId;
82
+ return this.resources.fetch(
83
+ { type: "sku_lists" },
84
+ `customers/${_customerId}/sku_lists`,
85
+ params,
86
+ options
87
+ );
88
+ }
89
+ async attachments(customerId, params, options) {
90
+ const _customerId = customerId.id || customerId;
91
+ return this.resources.fetch(
92
+ { type: "attachments" },
93
+ `customers/${_customerId}/attachments`,
94
+ params,
95
+ options
96
+ );
97
+ }
98
+ async events(customerId, params, options) {
99
+ const _customerId = customerId.id || customerId;
100
+ return this.resources.fetch(
101
+ { type: "events" },
102
+ `customers/${_customerId}/events`,
103
+ params,
104
+ options
105
+ );
106
+ }
107
+ async tags(customerId, params, options) {
108
+ const _customerId = customerId.id || customerId;
109
+ return this.resources.fetch(
110
+ { type: "tags" },
111
+ `customers/${_customerId}/tags`,
112
+ params,
113
+ options
114
+ );
115
+ }
116
+ async jwt_customer(customerId, params, options) {
117
+ const _customerId = customerId.id || customerId;
118
+ return this.resources.fetch(
119
+ { type: "customers" },
120
+ `customers/${_customerId}/jwt_customer`,
121
+ params,
122
+ options
123
+ );
124
+ }
125
+ async jwt_markets(customerId, params, options) {
126
+ const _customerId = customerId.id || customerId;
127
+ return this.resources.fetch(
128
+ { type: "markets" },
129
+ `customers/${_customerId}/jwt_markets`,
130
+ params,
131
+ options
132
+ );
133
+ }
134
+ async jwt_stock_locations(customerId, params, options) {
135
+ const _customerId = customerId.id || customerId;
136
+ return this.resources.fetch(
137
+ { type: "stock_locations" },
138
+ `customers/${_customerId}/jwt_stock_locations`,
139
+ params,
140
+ options
141
+ );
142
+ }
143
+ async event_stores(customerId, params, options) {
144
+ const _customerId = customerId.id || customerId;
145
+ return this.resources.fetch(
146
+ { type: "event_stores" },
147
+ `customers/${_customerId}/event_stores`,
148
+ params,
149
+ options
150
+ );
151
+ }
152
+ async _add_tags(id, triggerValue, params, options) {
153
+ return this.resources.update(
154
+ { id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _add_tags: triggerValue },
155
+ params,
156
+ options
157
+ );
158
+ }
159
+ async _remove_tags(id, triggerValue, params, options) {
160
+ return this.resources.update(
161
+ { id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _remove_tags: triggerValue },
162
+ params,
163
+ options
164
+ );
165
+ }
166
+ async _request_anonymization(id, params, options) {
167
+ return this.resources.update(
168
+ { id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _request_anonymization: true },
169
+ params,
170
+ options
171
+ );
172
+ }
173
+ async _cancel_anonymization(id, params, options) {
174
+ return this.resources.update(
175
+ { id: typeof id === "string" ? id : id.id, type: _Customers.TYPE, _cancel_anonymization: true },
176
+ params,
177
+ options
178
+ );
179
+ }
180
+ isCustomer(resource) {
181
+ return resource.type && resource.type === _Customers.TYPE;
182
+ }
183
+ relationship(id) {
184
+ return super.relationshipOneToOne(id);
185
+ }
186
+ relationshipToMany(...ids) {
187
+ return super.relationshipOneToMany(...ids);
188
+ }
189
+ type() {
190
+ return _Customers.TYPE;
191
+ }
192
+ };
193
+ var instance = new Customers();
194
+ var customers_default = instance;
195
+
196
+ exports.customers_default = customers_default;
197
+ //# sourceMappingURL=chunk-KKU4FTJD.cjs.map
198
+ //# sourceMappingURL=chunk-KKU4FTJD.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/customers.ts"],"names":["ApiResource"],"mappings":";;;;;AA+LA,IAAM,SAAA,GAAN,MAAM,UAAA,SAAkBA,6BAAA,CAAsB;AAAA,EAC5C,OAAgB,IAAA,GAAqB,WAAA;AAAA,EAErC,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACmB;AACnB,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAiC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,UAAA,CAAU,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/G;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACmB;AACnB,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAiC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,UAAA,CAAU,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/G;AAAA,EAEA,MAAM,MAAA,CAA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M,qBAAA,CAAmC,GAAG,GAAG,CAAA;AAAA,EACxD;AAAA,EAEA,IAAA,GAAqB;AACnB,IAAA,OAAO,UAAA,CAAU,IAAA;AAAA,EACnB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,SAAA,EAAU;AAC/B,IAAO,iBAAA,GAAQ","file":"chunk-KKU4FTJD.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { CustomerAddress } from './customer_addresses'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { CustomerPaymentSource } from './customer_payment_sources'\nimport type { CustomerSubscription } from './customer_subscriptions'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market } from './markets'\nimport type { OrderSubscription } from './order_subscriptions'\nimport type { Order } from './orders'\nimport type { Return } from './returns'\nimport type { SkuList } from './sku_lists'\nimport type { StockLocation } from './stock_locations'\nimport type { Tag, TagType } from './tags'\n\ntype CustomerType = 'customers'\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type CustomerSort = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> &\n ResourceSort\n// export type CustomerFilter = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> & ResourceFilter\n\n/**\n * The Customer object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customers endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/customers/object\n */\ninterface Customer extends Resource {\n readonly type: CustomerType\n\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The customer's status. One of 'prospect' (default), 'acquired', or 'repeat'.\n * @example ```\"prospect\"```\n */\n status: 'prospect' | 'acquired' | 'repeat'\n /**\n * Indicates if the customer has a password.\n */\n has_password?: boolean | null\n /**\n * The total number of orders for the customer.\n * @example ```6```\n */\n total_orders_count?: number | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n /**\n * The custom_claim attached to the current JWT (if any).\n * @example ```{}```\n */\n jwt_custom_claim?: Record<string, any> | null\n /**\n * The anonymization info object.\n * @example ```{\"status\":\"requested\",\"requested_at\":\"2025-03-15 11:39:21 UTC\",\"requester\":{\"id\":\"fdgt56hh\",\"first_name\":\"Travis\",\"last_name\":\"Muller\",\"email\":\"test@labadie.test\"}}```\n */\n anonymization_info?: Record<string, any> | null\n /**\n * Status of the current anonymization request (if any). One of 'requested', 'started', 'completed', 'failed', or 'cancelled'.\n * @example ```\"requested\"```\n */\n anonymization_status?: 'requested' | 'started' | 'completed' | 'failed' | 'cancelled' | null\n\n customer_group?: CustomerGroup | null\n customer_addresses?: CustomerAddress[] | null\n customer_payment_sources?: CustomerPaymentSource[] | null\n customer_subscriptions?: CustomerSubscription[] | null\n orders?: Order[] | null\n order_subscriptions?: OrderSubscription[] | null\n returns?: Return[] | null\n sku_lists?: SkuList[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n tags?: Tag[] | null\n jwt_customer?: Customer | null\n jwt_markets?: Market[] | null\n jwt_stock_locations?: StockLocation[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerCreate extends ResourceCreate {\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email: string\n /**\n * The customer's password. Initiate a customer password reset flow if you need to change it.\n * @example ```\"secret\"```\n */\n password?: string | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n\n customer_group?: CustomerGroupRel | null\n tags?: TagRel[] | null\n}\n\ninterface CustomerUpdate extends ResourceUpdate {\n /**\n * The customer's email address.\n * @example ```\"john@example.com\"```\n */\n email?: string | null\n /**\n * The customer's password. Initiate a customer password reset flow if you need to change it.\n * @example ```\"secret\"```\n */\n password?: string | null\n /**\n * A reference to uniquely identify the shopper during payment sessions.\n * @example ```\"xxx-yyy-zzz\"```\n */\n shopper_reference?: string | null\n /**\n * A reference to uniquely identify the customer on any connected external services.\n * @example ```\"xxx-yyy-zzz\"```\n */\n profile_id?: string | null\n /**\n * A specific code to identify the tax exemption reason for this customer.\n * @example ```\"xxx-yyy-zzz\"```\n */\n tax_exemption_code?: string | null\n /**\n * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _add_tags?: string | null\n /**\n * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _remove_tags?: string | null\n /**\n * Send this attribute if you want to trigger anonymization. Cannot be passed by sales channels.\n * @example ```true```\n */\n _request_anonymization?: boolean | null\n /**\n * Send this attribute if you want to trigger a cancellation of anonymization. Cannot be passed by sales channels.\n * @example ```true```\n */\n _cancel_anonymization?: boolean | null\n\n customer_group?: CustomerGroupRel | null\n tags?: TagRel[] | null\n}\n\nclass Customers extends ApiResource<Customer> {\n static readonly TYPE: CustomerType = 'customers' as const\n\n async create(\n resource: CustomerCreate,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.create<CustomerCreate, Customer>({ ...resource, type: Customers.TYPE }, params, options)\n }\n\n async update(\n resource: CustomerUpdate,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>({ ...resource, type: Customers.TYPE }, params, options)\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: Customers.TYPE } : id, options)\n }\n\n async customer_group(\n customerId: string | Customer,\n params?: QueryParamsRetrieve<CustomerGroup>,\n options?: ResourcesConfig,\n ): Promise<CustomerGroup> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerGroup>(\n { type: 'customer_groups' },\n `customers/${_customerId}/customer_group`,\n params,\n options,\n ) as unknown as CustomerGroup\n }\n\n async customer_addresses(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerAddress>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerAddress>(\n { type: 'customer_addresses' },\n `customers/${_customerId}/customer_addresses`,\n params,\n options,\n ) as unknown as ListResponse<CustomerAddress>\n }\n\n async customer_payment_sources(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerPaymentSource>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerPaymentSource>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerPaymentSource>(\n { type: 'customer_payment_sources' },\n `customers/${_customerId}/customer_payment_sources`,\n params,\n options,\n ) as unknown as ListResponse<CustomerPaymentSource>\n }\n\n async customer_subscriptions(\n customerId: string | Customer,\n params?: QueryParamsList<CustomerSubscription>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<CustomerSubscription>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<CustomerSubscription>(\n { type: 'customer_subscriptions' },\n `customers/${_customerId}/customer_subscriptions`,\n params,\n options,\n ) as unknown as ListResponse<CustomerSubscription>\n }\n\n async orders(\n customerId: string | Customer,\n params?: QueryParamsList<Order>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Order>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `customers/${_customerId}/orders`,\n params,\n options,\n ) as unknown as ListResponse<Order>\n }\n\n async order_subscriptions(\n customerId: string | Customer,\n params?: QueryParamsList<OrderSubscription>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<OrderSubscription>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<OrderSubscription>(\n { type: 'order_subscriptions' },\n `customers/${_customerId}/order_subscriptions`,\n params,\n options,\n ) as unknown as ListResponse<OrderSubscription>\n }\n\n async returns(\n customerId: string | Customer,\n params?: QueryParamsList<Return>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Return>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Return>(\n { type: 'returns' },\n `customers/${_customerId}/returns`,\n params,\n options,\n ) as unknown as ListResponse<Return>\n }\n\n async sku_lists(\n customerId: string | Customer,\n params?: QueryParamsList<SkuList>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<SkuList>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<SkuList>(\n { type: 'sku_lists' },\n `customers/${_customerId}/sku_lists`,\n params,\n options,\n ) as unknown as ListResponse<SkuList>\n }\n\n async attachments(\n customerId: string | Customer,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `customers/${_customerId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n customerId: string | Customer,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `customers/${_customerId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n customerId: string | Customer,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `customers/${_customerId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async jwt_customer(\n customerId: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customers/${_customerId}/jwt_customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async jwt_markets(\n customerId: string | Customer,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `customers/${_customerId}/jwt_markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async jwt_stock_locations(\n customerId: string | Customer,\n params?: QueryParamsList<StockLocation>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<StockLocation>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<StockLocation>(\n { type: 'stock_locations' },\n `customers/${_customerId}/jwt_stock_locations`,\n params,\n options,\n ) as unknown as ListResponse<StockLocation>\n }\n\n async event_stores(\n customerId: string | Customer,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerId = (customerId as Customer).id || (customerId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customers/${_customerId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _add_tags(\n id: string | Customer,\n triggerValue: string,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | Customer,\n triggerValue: string,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _request_anonymization(\n id: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _request_anonymization: true },\n params,\n options,\n )\n }\n\n async _cancel_anonymization(\n id: string | Customer,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n return this.resources.update<CustomerUpdate, Customer>(\n { id: typeof id === 'string' ? id : id.id, type: Customers.TYPE, _cancel_anonymization: true },\n params,\n options,\n )\n }\n\n isCustomer(resource: any): resource is Customer {\n return resource.type && resource.type === Customers.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerRel {\n return super.relationshipOneToOne<CustomerRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerRel[] {\n return super.relationshipOneToMany<CustomerRel>(...ids)\n }\n\n type(): CustomerType {\n return Customers.TYPE\n }\n}\n\nconst instance = new Customers()\nexport default instance\n\nexport type { Customer, CustomerCreate, Customers, CustomerType, CustomerUpdate }\n"]}
@@ -0,0 +1,62 @@
1
+ 'use strict';
2
+
3
+ var chunkGKPLAZMH_cjs = require('./chunk-GKPLAZMH.cjs');
4
+
5
+ // src/resources/geocoders.ts
6
+ var Geocoders = class _Geocoders extends chunkGKPLAZMH_cjs.ApiResource {
7
+ static TYPE = "geocoders";
8
+ async markets(geocoderId, params, options) {
9
+ const _geocoderId = geocoderId.id || geocoderId;
10
+ return this.resources.fetch(
11
+ { type: "markets" },
12
+ `geocoders/${_geocoderId}/markets`,
13
+ params,
14
+ options
15
+ );
16
+ }
17
+ async addresses(geocoderId, params, options) {
18
+ const _geocoderId = geocoderId.id || geocoderId;
19
+ return this.resources.fetch(
20
+ { type: "addresses" },
21
+ `geocoders/${_geocoderId}/addresses`,
22
+ params,
23
+ options
24
+ );
25
+ }
26
+ async attachments(geocoderId, params, options) {
27
+ const _geocoderId = geocoderId.id || geocoderId;
28
+ return this.resources.fetch(
29
+ { type: "attachments" },
30
+ `geocoders/${_geocoderId}/attachments`,
31
+ params,
32
+ options
33
+ );
34
+ }
35
+ async event_stores(geocoderId, params, options) {
36
+ const _geocoderId = geocoderId.id || geocoderId;
37
+ return this.resources.fetch(
38
+ { type: "event_stores" },
39
+ `geocoders/${_geocoderId}/event_stores`,
40
+ params,
41
+ options
42
+ );
43
+ }
44
+ isGeocoder(resource) {
45
+ return !!resource.type && (resource.type === _Geocoders.TYPE || ["bing_geocoders", "google_geocoders"].includes(resource.type));
46
+ }
47
+ relationship(id) {
48
+ return super.relationshipOneToOne(id);
49
+ }
50
+ relationshipToMany(...ids) {
51
+ return super.relationshipOneToMany(...ids);
52
+ }
53
+ type() {
54
+ return _Geocoders.TYPE;
55
+ }
56
+ };
57
+ var instance = new Geocoders();
58
+ var geocoders_default = instance;
59
+
60
+ exports.geocoders_default = geocoders_default;
61
+ //# sourceMappingURL=chunk-KM76YWNO.cjs.map
62
+ //# sourceMappingURL=chunk-KM76YWNO.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/geocoders.ts"],"names":["ApiResource"],"mappings":";;;;;AA6CA,IAAM,SAAA,GAAN,MAAM,UAAA,SAAkBA,6BAAA,CAAsB;AAAA,EAC5C,OAAgB,IAAA,GAAqB,WAAA;AAAA,EAErC,MAAM,OAAA,CACJ,UAAA,EACA,MAAA,EACA,OAAA,EAC+B;AAC/B,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AAkB,kBAAkB,CAAA,CAAE,QAAA,CAAS,SAAS,IAAI,CAAA,CAAA;AAAA,EAEtG;AAAA,EAEA,aAAa,EAAA,EAA6C;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAkC,EAAE,CAAA;AAAA,EACnD;AAAA,EAEA,sBAAsB,GAAA,EAA8B;AAClD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAmC,GAAG,GAAG,CAAA;AAAA,EACxD;AAAA,EAEA,IAAA,GAAqB;AACnB,IAAA,OAAO,UAAA,CAAU,IAAA;AAAA,EACnB;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,SAAA,EAAU;AAC/B,IAAO,iBAAA,GAAQ","file":"chunk-KM76YWNO.cjs","sourcesContent":["import type { QueryParamsList } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Address } from './addresses'\nimport type { Attachment } from './attachments'\nimport type { BingGeocoder } from './bing_geocoders'\nimport type { EventStore } from './event_stores'\nimport type { GoogleGeocoder } from './google_geocoders'\nimport type { Market } from './markets'\n\ntype GeocoderType = 'geocoders' | 'bing_geocoders' | 'google_geocoders'\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\n\nexport type GeocoderSort = Pick<GeocoderBase, 'id' | 'name'> & ResourceSort\n// export type GeocoderFilter = Pick<Geocoder, 'id' | 'name'> & ResourceFilter\n\n/**\n * The Geocoder object is returned as part of the response body of each successful list or retrieve API call to the /api/geocoders endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/geocoders/object\n */\ntype Geocoder = BingGeocoder | GoogleGeocoder\n\ninterface GeocoderBase extends Resource {\n readonly type: GeocoderType\n\n /**\n * The geocoder's internal name.\n * @example ```\"Default geocoder\"```\n */\n name: string\n\n markets?: Market[] | null\n addresses?: Address[] | null\n attachments?: Attachment[] | null\n event_stores?: EventStore[] | null\n}\n\nclass Geocoders extends ApiResource<Geocoder> {\n static readonly TYPE: GeocoderType = 'geocoders' as const\n\n async markets(\n geocoderId: string | Geocoder,\n params?: QueryParamsList<Market>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Market>> {\n const _geocoderId = (geocoderId as Geocoder).id || (geocoderId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `geocoders/${_geocoderId}/markets`,\n params,\n options,\n ) as unknown as ListResponse<Market>\n }\n\n async addresses(\n geocoderId: string | Geocoder,\n params?: QueryParamsList<Address>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Address>> {\n const _geocoderId = (geocoderId as Geocoder).id || (geocoderId as string)\n return this.resources.fetch<Address>(\n { type: 'addresses' },\n `geocoders/${_geocoderId}/addresses`,\n params,\n options,\n ) as unknown as ListResponse<Address>\n }\n\n async attachments(\n geocoderId: string | Geocoder,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _geocoderId = (geocoderId as Geocoder).id || (geocoderId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `geocoders/${_geocoderId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async event_stores(\n geocoderId: string | Geocoder,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _geocoderId = (geocoderId as Geocoder).id || (geocoderId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `geocoders/${_geocoderId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isGeocoder(resource: any): resource is Geocoder {\n return (\n !!resource.type &&\n (resource.type === Geocoders.TYPE || ['bing_geocoders', 'google_geocoders'].includes(resource.type))\n )\n }\n\n relationship(id: string | ResourceId | null): GeocoderRel {\n return super.relationshipOneToOne<GeocoderRel>(id)\n }\n\n relationshipToMany(...ids: string[]): GeocoderRel[] {\n return super.relationshipOneToMany<GeocoderRel>(...ids)\n }\n\n type(): GeocoderType {\n return Geocoders.TYPE\n }\n}\n\nconst instance = new Geocoders()\nexport default instance\n\nexport type { Geocoder, Geocoders, GeocoderType }\n"]}
@@ -0,0 +1,89 @@
1
+ import { ApiResource } from './chunk-5W54ENHX.js';
2
+
3
+ // src/resources/checkout_com_payments.ts
4
+ var CheckoutComPayments = class _CheckoutComPayments extends ApiResource {
5
+ static TYPE = "checkout_com_payments";
6
+ async create(resource, params, options) {
7
+ return this.resources.create(
8
+ { ...resource, type: _CheckoutComPayments.TYPE },
9
+ params,
10
+ options
11
+ );
12
+ }
13
+ async update(resource, params, options) {
14
+ return this.resources.update(
15
+ { ...resource, type: _CheckoutComPayments.TYPE },
16
+ params,
17
+ options
18
+ );
19
+ }
20
+ async delete(id, options) {
21
+ await this.resources.delete(typeof id === "string" ? { id, type: _CheckoutComPayments.TYPE } : id, options);
22
+ }
23
+ async order(checkoutComPaymentId, params, options) {
24
+ const _checkoutComPaymentId = checkoutComPaymentId.id || checkoutComPaymentId;
25
+ return this.resources.fetch(
26
+ { type: "orders" },
27
+ `checkout_com_payments/${_checkoutComPaymentId}/order`,
28
+ params,
29
+ options
30
+ );
31
+ }
32
+ async payment_gateway(checkoutComPaymentId, params, options) {
33
+ const _checkoutComPaymentId = checkoutComPaymentId.id || checkoutComPaymentId;
34
+ return this.resources.fetch(
35
+ { type: "payment_gateways" },
36
+ `checkout_com_payments/${_checkoutComPaymentId}/payment_gateway`,
37
+ params,
38
+ options
39
+ );
40
+ }
41
+ async event_stores(checkoutComPaymentId, params, options) {
42
+ const _checkoutComPaymentId = checkoutComPaymentId.id || checkoutComPaymentId;
43
+ return this.resources.fetch(
44
+ { type: "event_stores" },
45
+ `checkout_com_payments/${_checkoutComPaymentId}/event_stores`,
46
+ params,
47
+ options
48
+ );
49
+ }
50
+ async _authorize(id, params, options) {
51
+ return this.resources.update(
52
+ { id: typeof id === "string" ? id : id.id, type: _CheckoutComPayments.TYPE, _authorize: true },
53
+ params,
54
+ options
55
+ );
56
+ }
57
+ async _details(id, params, options) {
58
+ return this.resources.update(
59
+ { id: typeof id === "string" ? id : id.id, type: _CheckoutComPayments.TYPE, _details: true },
60
+ params,
61
+ options
62
+ );
63
+ }
64
+ async _refresh(id, params, options) {
65
+ return this.resources.update(
66
+ { id: typeof id === "string" ? id : id.id, type: _CheckoutComPayments.TYPE, _refresh: true },
67
+ params,
68
+ options
69
+ );
70
+ }
71
+ isCheckoutComPayment(resource) {
72
+ return resource.type && resource.type === _CheckoutComPayments.TYPE;
73
+ }
74
+ relationship(id) {
75
+ return super.relationshipOneToOne(id);
76
+ }
77
+ relationshipToMany(...ids) {
78
+ return super.relationshipOneToMany(...ids);
79
+ }
80
+ type() {
81
+ return _CheckoutComPayments.TYPE;
82
+ }
83
+ };
84
+ var instance = new CheckoutComPayments();
85
+ var checkout_com_payments_default = instance;
86
+
87
+ export { checkout_com_payments_default };
88
+ //# sourceMappingURL=chunk-KTGTFKFD.js.map
89
+ //# sourceMappingURL=chunk-KTGTFKFD.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/checkout_com_payments.ts"],"names":[],"mappings":";;;AAwIA,IAAM,mBAAA,GAAN,MAAM,oBAAA,SAA4B,WAAA,CAAgC;AAAA,EAChE,OAAgB,IAAA,GAA+B,uBAAA;AAAA,EAE/C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC6B;AAC7B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,qBAAoB,IAAA,EAAK;AAAA,MAC9C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC6B;AAC7B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,qBAAoB,IAAA,EAAK;AAAA,MAC9C,MAAA;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AA,EAClE;AAAA,EAEA,IAAA,GAA+B;AAC7B,IAAA,OAAO,oBAAA,CAAoB,IAAA;AAAA,EAC7B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,mBAAA,EAAoB;AACzC,IAAO,6BAAA,GAAQ","file":"chunk-KTGTFKFD.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Order, OrderType } from './orders'\nimport type { PaymentGateway } from './payment_gateways'\n\ntype CheckoutComPaymentType = 'checkout_com_payments'\ntype CheckoutComPaymentRel = ResourceRel & { type: CheckoutComPaymentType }\ntype OrderRel = ResourceRel & { type: OrderType }\n\nexport type CheckoutComPaymentSort = Pick<CheckoutComPayment, 'id'> & ResourceSort\n// export type CheckoutComPaymentFilter = Pick<CheckoutComPayment, 'id'> & ResourceFilter\n\n/**\n * The Checkout.com payment object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/checkout_com_payments endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/checkout_com_payments/object\n */\ninterface CheckoutComPayment extends Resource {\n readonly type: CheckoutComPaymentType\n\n /**\n * The Checkout.com publishable API key.\n * @example ```\"pk_test_xxxx-yyyy-zzzz\"```\n */\n public_key?: string | null\n /**\n * The Checkout.com payment or digital wallet token.\n * @example ```\"tok_4gzeau5o2uqubbk6fufs3m7p54\"```\n */\n token: string\n /**\n * The session object which initializes payment.\n * @example ```{\"id\":\"ps_xxxx_yyyy_zzzz\",\"payment_session_secret\":\"pss_xxxx_yyy_zzzz\",\"payment_session_token\":\"xxxxx_yyyyy_zzzzz\",\"_links\":{\"self\":{\"href\":\"https://api.sandbox.checkout.com/payment-sessions/ps_xxxx_yyyy_zzzz\"}}}```\n */\n payment_session: Record<string, any>\n /**\n * The URL to redirect your customer upon 3DS succeeded authentication.\n * @example ```\"http://commercelayer.dev/checkout_com/success\"```\n */\n success_url: string\n /**\n * The URL to redirect your customer upon 3DS failed authentication.\n * @example ```\"http://commercelayer.dev/checkout_com/failure\"```\n */\n failure_url: string\n /**\n * The payment source identifier that can be used for subsequent payments.\n * @example ```\"src_nwd3m4in3hkuddfpjsaevunhdy\"```\n */\n source_id?: string | null\n /**\n * The customer's unique identifier. This can be passed as a source when making a payment.\n * @example ```\"cus_udst2tfldj6upmye2reztkmm4i\"```\n */\n customer_token?: string | null\n /**\n * The URI that the customer should be redirected to in order to complete the payment.\n * @example ```\"https://api.checkout.com/3ds/pay_mbabizu24mvu3mela5njyhpit4\"```\n */\n redirect_uri?: string | null\n /**\n * The Checkout.com payment response, used to fetch internal data.\n * @example ```{\"foo\":\"bar\"}```\n */\n payment_response?: Record<string, any> | null\n /**\n * Indicates if the order current amount differs form the one of the associated authorization.\n */\n mismatched_amounts?: boolean | null\n /**\n * Information about the payment instrument used in the transaction.\n * @example ```{\"issuer\":\"cl bank\",\"card_type\":\"visa\"}```\n */\n payment_instrument?: Record<string, any> | null\n\n order?: Order | null\n payment_gateway?: PaymentGateway | null\n event_stores?: EventStore[] | null\n}\n\ninterface CheckoutComPaymentCreate extends ResourceCreate {\n /**\n * The Checkout.com payment or digital wallet token.\n * @example ```\"tok_4gzeau5o2uqubbk6fufs3m7p54\"```\n */\n token: string\n /**\n * The URL to redirect your customer upon 3DS succeeded authentication.\n * @example ```\"http://commercelayer.dev/checkout_com/success\"```\n */\n success_url: string\n /**\n * The URL to redirect your customer upon 3DS failed authentication.\n * @example ```\"http://commercelayer.dev/checkout_com/failure\"```\n */\n failure_url: string\n\n order: OrderRel\n}\n\ninterface CheckoutComPaymentUpdate extends ResourceUpdate {\n /**\n * The Checkout.com payment or digital wallet token.\n * @example ```\"tok_4gzeau5o2uqubbk6fufs3m7p54\"```\n */\n token?: string | null\n /**\n * Send this attribute if you want to authorize the payment.\n * @example ```true```\n */\n _authorize?: boolean | null\n /**\n * Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).\n * @example ```true```\n */\n _details?: boolean | null\n /**\n * Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.\n * @example ```true```\n */\n _refresh?: boolean | null\n\n order?: OrderRel | null\n}\n\nclass CheckoutComPayments extends ApiResource<CheckoutComPayment> {\n static readonly TYPE: CheckoutComPaymentType = 'checkout_com_payments' as const\n\n async create(\n resource: CheckoutComPaymentCreate,\n params?: QueryParamsRetrieve<CheckoutComPayment>,\n options?: ResourcesConfig,\n ): Promise<CheckoutComPayment> {\n return this.resources.create<CheckoutComPaymentCreate, CheckoutComPayment>(\n { ...resource, type: CheckoutComPayments.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CheckoutComPaymentUpdate,\n params?: QueryParamsRetrieve<CheckoutComPayment>,\n options?: ResourcesConfig,\n ): Promise<CheckoutComPayment> {\n return this.resources.update<CheckoutComPaymentUpdate, CheckoutComPayment>(\n { ...resource, type: CheckoutComPayments.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CheckoutComPayments.TYPE } : id, options)\n }\n\n async order(\n checkoutComPaymentId: string | CheckoutComPayment,\n params?: QueryParamsRetrieve<Order>,\n options?: ResourcesConfig,\n ): Promise<Order> {\n const _checkoutComPaymentId = (checkoutComPaymentId as CheckoutComPayment).id || (checkoutComPaymentId as string)\n return this.resources.fetch<Order>(\n { type: 'orders' },\n `checkout_com_payments/${_checkoutComPaymentId}/order`,\n params,\n options,\n ) as unknown as Order\n }\n\n async payment_gateway(\n checkoutComPaymentId: string | CheckoutComPayment,\n params?: QueryParamsRetrieve<PaymentGateway>,\n options?: ResourcesConfig,\n ): Promise<PaymentGateway> {\n const _checkoutComPaymentId = (checkoutComPaymentId as CheckoutComPayment).id || (checkoutComPaymentId as string)\n return this.resources.fetch<PaymentGateway>(\n { type: 'payment_gateways' },\n `checkout_com_payments/${_checkoutComPaymentId}/payment_gateway`,\n params,\n options,\n ) as unknown as PaymentGateway\n }\n\n async event_stores(\n checkoutComPaymentId: string | CheckoutComPayment,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _checkoutComPaymentId = (checkoutComPaymentId as CheckoutComPayment).id || (checkoutComPaymentId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `checkout_com_payments/${_checkoutComPaymentId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _authorize(\n id: string | CheckoutComPayment,\n params?: QueryParamsRetrieve<CheckoutComPayment>,\n options?: ResourcesConfig,\n ): Promise<CheckoutComPayment> {\n return this.resources.update<CheckoutComPaymentUpdate, CheckoutComPayment>(\n { id: typeof id === 'string' ? id : id.id, type: CheckoutComPayments.TYPE, _authorize: true },\n params,\n options,\n )\n }\n\n async _details(\n id: string | CheckoutComPayment,\n params?: QueryParamsRetrieve<CheckoutComPayment>,\n options?: ResourcesConfig,\n ): Promise<CheckoutComPayment> {\n return this.resources.update<CheckoutComPaymentUpdate, CheckoutComPayment>(\n { id: typeof id === 'string' ? id : id.id, type: CheckoutComPayments.TYPE, _details: true },\n params,\n options,\n )\n }\n\n async _refresh(\n id: string | CheckoutComPayment,\n params?: QueryParamsRetrieve<CheckoutComPayment>,\n options?: ResourcesConfig,\n ): Promise<CheckoutComPayment> {\n return this.resources.update<CheckoutComPaymentUpdate, CheckoutComPayment>(\n { id: typeof id === 'string' ? id : id.id, type: CheckoutComPayments.TYPE, _refresh: true },\n params,\n options,\n )\n }\n\n isCheckoutComPayment(resource: any): resource is CheckoutComPayment {\n return resource.type && resource.type === CheckoutComPayments.TYPE\n }\n\n relationship(id: string | ResourceId | null): CheckoutComPaymentRel {\n return super.relationshipOneToOne<CheckoutComPaymentRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CheckoutComPaymentRel[] {\n return super.relationshipOneToMany<CheckoutComPaymentRel>(...ids)\n }\n\n type(): CheckoutComPaymentType {\n return CheckoutComPayments.TYPE\n }\n}\n\nconst instance = new CheckoutComPayments()\nexport default instance\n\nexport type {\n CheckoutComPayment,\n CheckoutComPaymentCreate,\n CheckoutComPayments,\n CheckoutComPaymentType,\n CheckoutComPaymentUpdate,\n}\n"]}
@@ -0,0 +1,77 @@
1
+ import { ApiResource } from './chunk-5W54ENHX.js';
2
+
3
+ // src/resources/customer_addresses.ts
4
+ var CustomerAddresses = class _CustomerAddresses extends ApiResource {
5
+ static TYPE = "customer_addresses";
6
+ async create(resource, params, options) {
7
+ return this.resources.create(
8
+ { ...resource, type: _CustomerAddresses.TYPE },
9
+ params,
10
+ options
11
+ );
12
+ }
13
+ async update(resource, params, options) {
14
+ return this.resources.update(
15
+ { ...resource, type: _CustomerAddresses.TYPE },
16
+ params,
17
+ options
18
+ );
19
+ }
20
+ async delete(id, options) {
21
+ await this.resources.delete(typeof id === "string" ? { id, type: _CustomerAddresses.TYPE } : id, options);
22
+ }
23
+ async customer(customerAddressId, params, options) {
24
+ const _customerAddressId = customerAddressId.id || customerAddressId;
25
+ return this.resources.fetch(
26
+ { type: "customers" },
27
+ `customer_addresses/${_customerAddressId}/customer`,
28
+ params,
29
+ options
30
+ );
31
+ }
32
+ async address(customerAddressId, params, options) {
33
+ const _customerAddressId = customerAddressId.id || customerAddressId;
34
+ return this.resources.fetch(
35
+ { type: "addresses" },
36
+ `customer_addresses/${_customerAddressId}/address`,
37
+ params,
38
+ options
39
+ );
40
+ }
41
+ async events(customerAddressId, params, options) {
42
+ const _customerAddressId = customerAddressId.id || customerAddressId;
43
+ return this.resources.fetch(
44
+ { type: "events" },
45
+ `customer_addresses/${_customerAddressId}/events`,
46
+ params,
47
+ options
48
+ );
49
+ }
50
+ async event_stores(customerAddressId, params, options) {
51
+ const _customerAddressId = customerAddressId.id || customerAddressId;
52
+ return this.resources.fetch(
53
+ { type: "event_stores" },
54
+ `customer_addresses/${_customerAddressId}/event_stores`,
55
+ params,
56
+ options
57
+ );
58
+ }
59
+ isCustomerAddress(resource) {
60
+ return resource.type && resource.type === _CustomerAddresses.TYPE;
61
+ }
62
+ relationship(id) {
63
+ return super.relationshipOneToOne(id);
64
+ }
65
+ relationshipToMany(...ids) {
66
+ return super.relationshipOneToMany(...ids);
67
+ }
68
+ type() {
69
+ return _CustomerAddresses.TYPE;
70
+ }
71
+ };
72
+ var instance = new CustomerAddresses();
73
+ var customer_addresses_default = instance;
74
+
75
+ export { customer_addresses_default };
76
+ //# sourceMappingURL=chunk-KTICF7CN.js.map
77
+ //# sourceMappingURL=chunk-KTICF7CN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/customer_addresses.ts"],"names":[],"mappings":";;;AAkEA,IAAM,iBAAA,GAAN,MAAM,kBAAA,SAA0B,WAAA,CAA6B;AAAA,EAC3D,OAAgB,IAAA,GAA4B,oBAAA;AAAA,EAE5C,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC0B;AAC1B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAkB,IAAA,EAAK;AAAA,MAC5C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC0B;AAC1B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,mBAAkB,IAAA,EAAK;AAAA,MAC5C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,kB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;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,kBAAkB,QAAA,EAA4C;AAC5D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,kBAAA,CAAkB,IAAA;AAAA,EAC9D;AAAA,EAEA,aAAa,EAAA,EAAoD;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAyC,EAAE,CAAA;AAAA,EAC1D;AAAA,EAEA,sBAAsB,GAAA,EAAqC;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAA0C,GAAG,GAAG,CAAA;AAAA,EAC/D;AAAA,EAEA,IAAA,GAA4B;AAC1B,IAAA,OAAO,kBAAA,CAAkB,IAAA;AAAA,EAC3B;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,iBAAA,EAAkB;AACvC,IAAO,0BAAA,GAAQ","file":"chunk-KTICF7CN.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Address, AddressType } from './addresses'\nimport type { Customer, CustomerType } from './customers'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\ntype CustomerAddressType = 'customer_addresses'\ntype CustomerAddressRel = ResourceRel & { type: CustomerAddressType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype AddressRel = ResourceRel & { type: AddressType }\n\nexport type CustomerAddressSort = Pick<CustomerAddress, 'id'> & ResourceSort\n// export type CustomerAddressFilter = Pick<CustomerAddress, 'id'> & ResourceFilter\n\n/**\n * The Customer address object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/customer_addresses endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/customer_addresses/object\n */\ninterface CustomerAddress extends Resource {\n readonly type: CustomerAddressType\n\n /**\n * Returns the associated address' name.\n * @example ```\"John Smith, 2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212) 646-338-1228\"```\n */\n name?: string | null\n /**\n * The email of the customer associated to the address.\n * @example ```\"john@example.com\"```\n */\n customer_email: string\n\n customer?: Customer | null\n address?: Address | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomerAddressCreate extends ResourceCreate {\n /**\n * The email of the customer associated to the address.\n * @example ```\"john@example.com\"```\n */\n customer_email: string\n\n customer: CustomerRel\n address: AddressRel\n}\n\ninterface CustomerAddressUpdate extends ResourceUpdate {\n customer?: CustomerRel | null\n address?: AddressRel | null\n}\n\nclass CustomerAddresses extends ApiResource<CustomerAddress> {\n static readonly TYPE: CustomerAddressType = 'customer_addresses' as const\n\n async create(\n resource: CustomerAddressCreate,\n params?: QueryParamsRetrieve<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<CustomerAddress> {\n return this.resources.create<CustomerAddressCreate, CustomerAddress>(\n { ...resource, type: CustomerAddresses.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomerAddressUpdate,\n params?: QueryParamsRetrieve<CustomerAddress>,\n options?: ResourcesConfig,\n ): Promise<CustomerAddress> {\n return this.resources.update<CustomerAddressUpdate, CustomerAddress>(\n { ...resource, type: CustomerAddresses.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CustomerAddresses.TYPE } : id, options)\n }\n\n async customer(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsRetrieve<Customer>,\n options?: ResourcesConfig,\n ): Promise<Customer> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Customer>(\n { type: 'customers' },\n `customer_addresses/${_customerAddressId}/customer`,\n params,\n options,\n ) as unknown as Customer\n }\n\n async address(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsRetrieve<Address>,\n options?: ResourcesConfig,\n ): Promise<Address> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Address>(\n { type: 'addresses' },\n `customer_addresses/${_customerAddressId}/address`,\n params,\n options,\n ) as unknown as Address\n }\n\n async events(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `customer_addresses/${_customerAddressId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n customerAddressId: string | CustomerAddress,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customerAddressId = (customerAddressId as CustomerAddress).id || (customerAddressId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `customer_addresses/${_customerAddressId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomerAddress(resource: any): resource is CustomerAddress {\n return resource.type && resource.type === CustomerAddresses.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomerAddressRel {\n return super.relationshipOneToOne<CustomerAddressRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomerAddressRel[] {\n return super.relationshipOneToMany<CustomerAddressRel>(...ids)\n }\n\n type(): CustomerAddressType {\n return CustomerAddresses.TYPE\n }\n}\n\nconst instance = new CustomerAddresses()\nexport default instance\n\nexport type { CustomerAddress, CustomerAddressCreate, CustomerAddresses, CustomerAddressType, CustomerAddressUpdate }\n"]}
@@ -0,0 +1,50 @@
1
+ import { ApiResource } from './chunk-5W54ENHX.js';
2
+
3
+ // src/resources/custom_promotion_rules.ts
4
+ var CustomPromotionRules = class _CustomPromotionRules extends ApiResource {
5
+ static TYPE = "custom_promotion_rules";
6
+ async create(resource, params, options) {
7
+ return this.resources.create(
8
+ { ...resource, type: _CustomPromotionRules.TYPE },
9
+ params,
10
+ options
11
+ );
12
+ }
13
+ async update(resource, params, options) {
14
+ return this.resources.update(
15
+ { ...resource, type: _CustomPromotionRules.TYPE },
16
+ params,
17
+ options
18
+ );
19
+ }
20
+ async delete(id, options) {
21
+ await this.resources.delete(typeof id === "string" ? { id, type: _CustomPromotionRules.TYPE } : id, options);
22
+ }
23
+ async event_stores(customPromotionRuleId, params, options) {
24
+ const _customPromotionRuleId = customPromotionRuleId.id || customPromotionRuleId;
25
+ return this.resources.fetch(
26
+ { type: "event_stores" },
27
+ `custom_promotion_rules/${_customPromotionRuleId}/event_stores`,
28
+ params,
29
+ options
30
+ );
31
+ }
32
+ isCustomPromotionRule(resource) {
33
+ return resource.type && resource.type === _CustomPromotionRules.TYPE;
34
+ }
35
+ relationship(id) {
36
+ return super.relationshipOneToOne(id);
37
+ }
38
+ relationshipToMany(...ids) {
39
+ return super.relationshipOneToMany(...ids);
40
+ }
41
+ type() {
42
+ return _CustomPromotionRules.TYPE;
43
+ }
44
+ };
45
+ var instance = new CustomPromotionRules();
46
+ var custom_promotion_rules_default = instance;
47
+
48
+ export { custom_promotion_rules_default };
49
+ //# sourceMappingURL=chunk-KXITMWWL.js.map
50
+ //# sourceMappingURL=chunk-KXITMWWL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/custom_promotion_rules.ts"],"names":[],"mappings":";;;AAoGA,IAAM,oBAAA,GAAN,MAAM,qBAAA,SAA6B,WAAA,CAAiC;AAAA,EAClE,OAAgB,IAAA,GAAgC,wBAAA;AAAA,EAEhD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EAC8B;AAC9B,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,sBAAqB,IAAA,EAAK;AAAA,MAC/C,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAA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Content":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '../resource'\nimport { ApiResource } from '../resource'\nimport type { BuyXPayYPromotion, BuyXPayYPromotionType } from './buy_x_pay_y_promotions'\nimport type { EventStore } from './event_stores'\nimport type { ExternalPromotion, ExternalPromotionType } from './external_promotions'\nimport type { FixedAmountPromotion, FixedAmountPromotionType } from './fixed_amount_promotions'\nimport type { FixedPricePromotion, FixedPricePromotionType } from './fixed_price_promotions'\nimport type { FlexPromotion, FlexPromotionType } from './flex_promotions'\nimport type { FreeGiftPromotion, FreeGiftPromotionType } from './free_gift_promotions'\nimport type { FreeShippingPromotion, FreeShippingPromotionType } from './free_shipping_promotions'\nimport type { PercentageDiscountPromotion, PercentageDiscountPromotionType } from './percentage_discount_promotions'\n\ntype CustomPromotionRuleType = 'custom_promotion_rules'\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype PercentageDiscountPromotionRel = ResourceRel & { type: PercentageDiscountPromotionType }\ntype FreeShippingPromotionRel = ResourceRel & { type: FreeShippingPromotionType }\ntype BuyXPayYPromotionRel = ResourceRel & { type: BuyXPayYPromotionType }\ntype FreeGiftPromotionRel = ResourceRel & { type: FreeGiftPromotionType }\ntype FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType }\ntype ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType }\ntype FixedAmountPromotionRel = ResourceRel & { type: FixedAmountPromotionType }\ntype FlexPromotionRel = ResourceRel & { type: FlexPromotionType }\n\nexport type CustomPromotionRuleSort = Pick<CustomPromotionRule, 'id'> & ResourceSort\n// export type CustomPromotionRuleFilter = Pick<CustomPromotionRule, 'id'> & ResourceFilter\n\n/**\n * The Custom promotion rule object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/custom_promotion_rules endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/custom_promotion_rules/object\n */\ninterface CustomPromotionRule extends Resource {\n readonly type: CustomPromotionRuleType\n\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion?:\n | PercentageDiscountPromotion\n | FreeShippingPromotion\n | BuyXPayYPromotion\n | FreeGiftPromotion\n | FixedPricePromotion\n | ExternalPromotion\n | FixedAmountPromotion\n | FlexPromotion\n | null\n event_stores?: EventStore[] | null\n}\n\ninterface CustomPromotionRuleCreate extends ResourceCreate {\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n}\n\ninterface CustomPromotionRuleUpdate extends ResourceUpdate {\n /**\n * The filters used to trigger promotion on the matching order and its relationships attributes.\n * @example ```{\"status_eq\":\"pending\",\"line_items_sku_code_eq\":\"AAA\"}```\n */\n filters?: Record<string, any> | null\n\n promotion?:\n | PercentageDiscountPromotionRel\n | FreeShippingPromotionRel\n | BuyXPayYPromotionRel\n | FreeGiftPromotionRel\n | FixedPricePromotionRel\n | ExternalPromotionRel\n | FixedAmountPromotionRel\n | FlexPromotionRel\n | null\n}\n\nclass CustomPromotionRules extends ApiResource<CustomPromotionRule> {\n static readonly TYPE: CustomPromotionRuleType = 'custom_promotion_rules' as const\n\n async create(\n resource: CustomPromotionRuleCreate,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n return this.resources.create<CustomPromotionRuleCreate, CustomPromotionRule>(\n { ...resource, type: CustomPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: CustomPromotionRuleUpdate,\n params?: QueryParamsRetrieve<CustomPromotionRule>,\n options?: ResourcesConfig,\n ): Promise<CustomPromotionRule> {\n return this.resources.update<CustomPromotionRuleUpdate, CustomPromotionRule>(\n { ...resource, type: CustomPromotionRules.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: CustomPromotionRules.TYPE } : id, options)\n }\n\n async event_stores(\n customPromotionRuleId: string | CustomPromotionRule,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _customPromotionRuleId =\n (customPromotionRuleId as CustomPromotionRule).id || (customPromotionRuleId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `custom_promotion_rules/${_customPromotionRuleId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isCustomPromotionRule(resource: any): resource is CustomPromotionRule {\n return resource.type && resource.type === CustomPromotionRules.TYPE\n }\n\n relationship(id: string | ResourceId | null): CustomPromotionRuleRel {\n return super.relationshipOneToOne<CustomPromotionRuleRel>(id)\n }\n\n relationshipToMany(...ids: string[]): CustomPromotionRuleRel[] {\n return super.relationshipOneToMany<CustomPromotionRuleRel>(...ids)\n }\n\n type(): CustomPromotionRuleType {\n return CustomPromotionRules.TYPE\n }\n}\n\nconst instance = new CustomPromotionRules()\nexport default instance\n\nexport type {\n CustomPromotionRule,\n CustomPromotionRuleCreate,\n CustomPromotionRules,\n CustomPromotionRuleType,\n CustomPromotionRuleUpdate,\n}\n"]}