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

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 +27 -20
  2. package/lib/api-EpvFRhI9.d.ts +19175 -0
  3. package/lib/api-oXAdA5Ru.d.cts +19175 -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-22JSRKRP.js +77 -0
  21. package/lib/chunk-22JSRKRP.js.map +1 -0
  22. package/lib/chunk-24F2ZC4H.cjs +122 -0
  23. package/lib/chunk-24F2ZC4H.cjs.map +1 -0
  24. package/lib/chunk-2BR762XD.cjs +70 -0
  25. package/lib/chunk-2BR762XD.cjs.map +1 -0
  26. package/lib/chunk-2P2JWX3V.js +68 -0
  27. package/lib/chunk-2P2JWX3V.js.map +1 -0
  28. package/lib/chunk-2UGXKQFC.cjs +62 -0
  29. package/lib/chunk-2UGXKQFC.cjs.map +1 -0
  30. package/lib/chunk-2ZAN7B5Z.cjs +70 -0
  31. package/lib/chunk-2ZAN7B5Z.cjs.map +1 -0
  32. package/lib/chunk-37V5T6PZ.cjs +93 -0
  33. package/lib/chunk-37V5T6PZ.cjs.map +1 -0
  34. package/lib/chunk-3BZL6HYH.js +51 -0
  35. package/lib/chunk-3BZL6HYH.js.map +1 -0
  36. package/lib/chunk-3D2FNXSK.js +177 -0
  37. package/lib/chunk-3D2FNXSK.js.map +1 -0
  38. package/lib/chunk-3DMYHXGB.js +20 -0
  39. package/lib/chunk-3DMYHXGB.js.map +1 -0
  40. package/lib/chunk-3ENR3S5T.cjs +81 -0
  41. package/lib/chunk-3ENR3S5T.cjs.map +1 -0
  42. package/lib/chunk-3LGN4LXX.js +82 -0
  43. package/lib/chunk-3LGN4LXX.js.map +1 -0
  44. package/lib/chunk-3QWZMVH2.cjs +79 -0
  45. package/lib/chunk-3QWZMVH2.cjs.map +1 -0
  46. package/lib/chunk-3XGGO5YB.js +88 -0
  47. package/lib/chunk-3XGGO5YB.js.map +1 -0
  48. package/lib/chunk-3Y4RMNKV.js +60 -0
  49. package/lib/chunk-3Y4RMNKV.js.map +1 -0
  50. package/lib/chunk-42MEZSD4.cjs +243 -0
  51. package/lib/chunk-42MEZSD4.cjs.map +1 -0
  52. package/lib/chunk-42ZHE2WU.cjs +205 -0
  53. package/lib/chunk-42ZHE2WU.cjs.map +1 -0
  54. package/lib/chunk-4C3YVRRS.js +96 -0
  55. package/lib/chunk-4C3YVRRS.js.map +1 -0
  56. package/lib/chunk-4FVLYQYK.cjs +52 -0
  57. package/lib/chunk-4FVLYQYK.cjs.map +1 -0
  58. package/lib/chunk-4RDYAHZO.cjs +125 -0
  59. package/lib/chunk-4RDYAHZO.cjs.map +1 -0
  60. package/lib/chunk-4SKBF5ZK.cjs +70 -0
  61. package/lib/chunk-4SKBF5ZK.cjs.map +1 -0
  62. package/lib/chunk-4THWU3WM.cjs +166 -0
  63. package/lib/chunk-4THWU3WM.cjs.map +1 -0
  64. package/lib/chunk-4UBBJD3F.js +42 -0
  65. package/lib/chunk-4UBBJD3F.js.map +1 -0
  66. package/lib/chunk-4YU74YXC.cjs +44 -0
  67. package/lib/chunk-4YU74YXC.cjs.map +1 -0
  68. package/lib/chunk-4ZFVTUSX.cjs +79 -0
  69. package/lib/chunk-4ZFVTUSX.cjs.map +1 -0
  70. package/lib/chunk-54LYYVB3.cjs +77 -0
  71. package/lib/chunk-54LYYVB3.cjs.map +1 -0
  72. package/lib/chunk-5BMKV63A.cjs +79 -0
  73. package/lib/chunk-5BMKV63A.cjs.map +1 -0
  74. package/lib/chunk-5GHOOKYM.cjs +84 -0
  75. package/lib/chunk-5GHOOKYM.cjs.map +1 -0
  76. package/lib/chunk-5KA2HKFH.cjs +35 -0
  77. package/lib/chunk-5KA2HKFH.cjs.map +1 -0
  78. package/lib/chunk-5MGINVEQ.js +68 -0
  79. package/lib/chunk-5MGINVEQ.js.map +1 -0
  80. package/lib/chunk-5QZBXSMX.cjs +77 -0
  81. package/lib/chunk-5QZBXSMX.cjs.map +1 -0
  82. package/lib/chunk-5SMOSXWB.cjs +88 -0
  83. package/lib/chunk-5SMOSXWB.cjs.map +1 -0
  84. package/lib/chunk-5WJZIHI6.js +50 -0
  85. package/lib/chunk-5WJZIHI6.js.map +1 -0
  86. package/lib/chunk-5WRDATN3.cjs +52 -0
  87. package/lib/chunk-5WRDATN3.cjs.map +1 -0
  88. package/lib/chunk-6A2VDAYH.cjs +71 -0
  89. package/lib/chunk-6A2VDAYH.cjs.map +1 -0
  90. package/lib/chunk-6TJJD77K.cjs +40 -0
  91. package/lib/chunk-6TJJD77K.cjs.map +1 -0
  92. package/lib/chunk-6XKNHGEB.cjs +179 -0
  93. package/lib/chunk-6XKNHGEB.cjs.map +1 -0
  94. package/lib/chunk-6YCQGKZ3.js +84 -0
  95. package/lib/chunk-6YCQGKZ3.js.map +1 -0
  96. package/lib/chunk-6ZFQINCX.js +92 -0
  97. package/lib/chunk-6ZFQINCX.js.map +1 -0
  98. package/lib/chunk-72EPY5QQ.cjs +26 -0
  99. package/lib/chunk-72EPY5QQ.cjs.map +1 -0
  100. package/lib/chunk-74DDRAJ6.js +168 -0
  101. package/lib/chunk-74DDRAJ6.js.map +1 -0
  102. package/lib/chunk-7BPKWLUV.cjs +98 -0
  103. package/lib/chunk-7BPKWLUV.cjs.map +1 -0
  104. package/lib/chunk-7FBPOEL3.cjs +115 -0
  105. package/lib/chunk-7FBPOEL3.cjs.map +1 -0
  106. package/lib/chunk-7I5APR2W.cjs +89 -0
  107. package/lib/chunk-7I5APR2W.cjs.map +1 -0
  108. package/lib/chunk-7NXWRRUL.js +51 -0
  109. package/lib/chunk-7NXWRRUL.js.map +1 -0
  110. package/lib/chunk-7OA3ASUR.js +79 -0
  111. package/lib/chunk-7OA3ASUR.js.map +1 -0
  112. package/lib/chunk-7WP5V2VJ.cjs +67 -0
  113. package/lib/chunk-7WP5V2VJ.cjs.map +1 -0
  114. package/lib/chunk-7ZMJYDP7.js +180 -0
  115. package/lib/chunk-7ZMJYDP7.js.map +1 -0
  116. package/lib/chunk-A2KSRTPF.js +51 -0
  117. package/lib/chunk-A2KSRTPF.js.map +1 -0
  118. package/lib/chunk-A3HXYZE7.cjs +313 -0
  119. package/lib/chunk-A3HXYZE7.cjs.map +1 -0
  120. package/lib/chunk-A6HWLU2U.js +60 -0
  121. package/lib/chunk-A6HWLU2U.js.map +1 -0
  122. package/lib/chunk-A6J7MNYD.cjs +82 -0
  123. package/lib/chunk-A6J7MNYD.cjs.map +1 -0
  124. package/lib/chunk-AALHBTDP.cjs +93 -0
  125. package/lib/chunk-AALHBTDP.cjs.map +1 -0
  126. package/lib/chunk-AC7WVFRR.js +129 -0
  127. package/lib/chunk-AC7WVFRR.js.map +1 -0
  128. package/lib/chunk-AIO2NUPF.js +94 -0
  129. package/lib/chunk-AIO2NUPF.js.map +1 -0
  130. package/lib/chunk-AOOPIH45.cjs +120 -0
  131. package/lib/chunk-AOOPIH45.cjs.map +1 -0
  132. package/lib/chunk-ASBOEHZT.cjs +79 -0
  133. package/lib/chunk-ASBOEHZT.cjs.map +1 -0
  134. package/lib/chunk-ATONNFTK.cjs +85 -0
  135. package/lib/chunk-ATONNFTK.cjs.map +1 -0
  136. package/lib/chunk-AUB4BG3N.cjs +79 -0
  137. package/lib/chunk-AUB4BG3N.cjs.map +1 -0
  138. package/lib/chunk-AZRXECP3.cjs +70 -0
  139. package/lib/chunk-AZRXECP3.cjs.map +1 -0
  140. package/lib/chunk-B5YRHPPQ.cjs +126 -0
  141. package/lib/chunk-B5YRHPPQ.cjs.map +1 -0
  142. package/lib/chunk-BALY2BP2.js +68 -0
  143. package/lib/chunk-BALY2BP2.js.map +1 -0
  144. package/lib/chunk-BAO3I3CK.js +68 -0
  145. package/lib/chunk-BAO3I3CK.js.map +1 -0
  146. package/lib/chunk-BC3GOGP7.js +77 -0
  147. package/lib/chunk-BC3GOGP7.js.map +1 -0
  148. package/lib/chunk-BOYK5XCO.js +68 -0
  149. package/lib/chunk-BOYK5XCO.js.map +1 -0
  150. package/lib/chunk-BPANUY47.cjs +22 -0
  151. package/lib/chunk-BPANUY47.cjs.map +1 -0
  152. package/lib/chunk-BPTSRSC6.cjs +55 -0
  153. package/lib/chunk-BPTSRSC6.cjs.map +1 -0
  154. package/lib/chunk-BVEUVURA.cjs +91 -0
  155. package/lib/chunk-BVEUVURA.cjs.map +1 -0
  156. package/lib/chunk-CHD573UK.cjs +67 -0
  157. package/lib/chunk-CHD573UK.cjs.map +1 -0
  158. package/lib/chunk-CJUTZPOH.cjs +170 -0
  159. package/lib/chunk-CJUTZPOH.cjs.map +1 -0
  160. package/lib/chunk-CKC2JS4N.cjs +61 -0
  161. package/lib/chunk-CKC2JS4N.cjs.map +1 -0
  162. package/lib/chunk-CKIU2QK7.cjs +79 -0
  163. package/lib/chunk-CKIU2QK7.cjs.map +1 -0
  164. package/lib/chunk-CLPJO2HS.cjs +84 -0
  165. package/lib/chunk-CLPJO2HS.cjs.map +1 -0
  166. package/lib/chunk-CNRJEKGG.cjs +88 -0
  167. package/lib/chunk-CNRJEKGG.cjs.map +1 -0
  168. package/lib/chunk-CNTHSMT3.cjs +40 -0
  169. package/lib/chunk-CNTHSMT3.cjs.map +1 -0
  170. package/lib/chunk-CQUQC6PV.cjs +193 -0
  171. package/lib/chunk-CQUQC6PV.cjs.map +1 -0
  172. package/lib/chunk-CRYSIRYY.cjs +80 -0
  173. package/lib/chunk-CRYSIRYY.cjs.map +1 -0
  174. package/lib/chunk-CSCKJ5K4.cjs +70 -0
  175. package/lib/chunk-CSCKJ5K4.cjs.map +1 -0
  176. package/lib/chunk-CTXB4TIH.js +36 -0
  177. package/lib/chunk-CTXB4TIH.js.map +1 -0
  178. package/lib/chunk-CXXHXGV4.js +24 -0
  179. package/lib/chunk-CXXHXGV4.js.map +1 -0
  180. package/lib/chunk-DAPH5WAS.cjs +70 -0
  181. package/lib/chunk-DAPH5WAS.cjs.map +1 -0
  182. package/lib/chunk-DET7TITS.cjs +70 -0
  183. package/lib/chunk-DET7TITS.cjs.map +1 -0
  184. package/lib/chunk-DS4PYTOM.js +27 -0
  185. package/lib/chunk-DS4PYTOM.js.map +1 -0
  186. package/lib/chunk-DTM6TNRI.cjs +88 -0
  187. package/lib/chunk-DTM6TNRI.cjs.map +1 -0
  188. package/lib/chunk-DXXRZMDS.cjs +70 -0
  189. package/lib/chunk-DXXRZMDS.cjs.map +1 -0
  190. package/lib/chunk-DYF5RVNM.js +79 -0
  191. package/lib/chunk-DYF5RVNM.js.map +1 -0
  192. package/lib/chunk-E246DOUD.cjs +63 -0
  193. package/lib/chunk-E246DOUD.cjs.map +1 -0
  194. package/lib/chunk-EC4OAWRG.js +91 -0
  195. package/lib/chunk-EC4OAWRG.js.map +1 -0
  196. package/lib/chunk-EJ3SKHCF.js +241 -0
  197. package/lib/chunk-EJ3SKHCF.js.map +1 -0
  198. package/lib/chunk-EJIXLN7Z.cjs +29 -0
  199. package/lib/chunk-EJIXLN7Z.cjs.map +1 -0
  200. package/lib/chunk-EMLPNVKA.cjs +71 -0
  201. package/lib/chunk-EMLPNVKA.cjs.map +1 -0
  202. package/lib/chunk-FD35GNGV.js +42 -0
  203. package/lib/chunk-FD35GNGV.js.map +1 -0
  204. package/lib/chunk-FDMJKB5V.cjs +14 -0
  205. package/lib/chunk-FDMJKB5V.cjs.map +1 -0
  206. package/lib/chunk-FGXHOACU.cjs +118 -0
  207. package/lib/chunk-FGXHOACU.cjs.map +1 -0
  208. package/lib/chunk-FJ6MG7WI.js +86 -0
  209. package/lib/chunk-FJ6MG7WI.js.map +1 -0
  210. package/lib/chunk-FORGCCDU.cjs +44 -0
  211. package/lib/chunk-FORGCCDU.cjs.map +1 -0
  212. package/lib/chunk-FSXCIAYK.js +50 -0
  213. package/lib/chunk-FSXCIAYK.js.map +1 -0
  214. package/lib/chunk-G43NAQ2B.cjs +53 -0
  215. package/lib/chunk-G43NAQ2B.cjs.map +1 -0
  216. package/lib/chunk-G5LUH7SX.cjs +70 -0
  217. package/lib/chunk-G5LUH7SX.cjs.map +1 -0
  218. package/lib/chunk-G67FOAKH.cjs +98 -0
  219. package/lib/chunk-G67FOAKH.cjs.map +1 -0
  220. package/lib/chunk-G7PKYNCD.cjs +70 -0
  221. package/lib/chunk-G7PKYNCD.cjs.map +1 -0
  222. package/lib/chunk-GBIH54K6.js +100 -0
  223. package/lib/chunk-GBIH54K6.js.map +1 -0
  224. package/lib/chunk-GGOL45I5.js +45 -0
  225. package/lib/chunk-GGOL45I5.js.map +1 -0
  226. package/lib/chunk-GIMAGLUV.js +68 -0
  227. package/lib/chunk-GIMAGLUV.js.map +1 -0
  228. package/lib/chunk-GJIBPCLI.js +42 -0
  229. package/lib/chunk-GJIBPCLI.js.map +1 -0
  230. package/lib/chunk-GKJ5UJVG.js +77 -0
  231. package/lib/chunk-GKJ5UJVG.js.map +1 -0
  232. package/lib/chunk-GLEASNSJ.js +77 -0
  233. package/lib/chunk-GLEASNSJ.js.map +1 -0
  234. package/lib/chunk-GO7TJMJ2.js +96 -0
  235. package/lib/chunk-GO7TJMJ2.js.map +1 -0
  236. package/lib/chunk-GQZ6DXTV.js +60 -0
  237. package/lib/chunk-GQZ6DXTV.js.map +1 -0
  238. package/lib/chunk-GZCAWHE6.cjs +131 -0
  239. package/lib/chunk-GZCAWHE6.cjs.map +1 -0
  240. package/lib/chunk-H2I5XZVE.js +65 -0
  241. package/lib/chunk-H2I5XZVE.js.map +1 -0
  242. package/lib/chunk-H2Q2ZK4J.js +92 -0
  243. package/lib/chunk-H2Q2ZK4J.js.map +1 -0
  244. package/lib/chunk-H2VKAOCM.js +82 -0
  245. package/lib/chunk-H2VKAOCM.js.map +1 -0
  246. package/lib/chunk-H3X4MYWU.js +68 -0
  247. package/lib/chunk-H3X4MYWU.js.map +1 -0
  248. package/lib/chunk-H6GJTVTU.js +75 -0
  249. package/lib/chunk-H6GJTVTU.js.map +1 -0
  250. package/lib/chunk-HEAOXJUM.cjs +62 -0
  251. package/lib/chunk-HEAOXJUM.cjs.map +1 -0
  252. package/lib/chunk-HS45ARNK.cjs +62 -0
  253. package/lib/chunk-HS45ARNK.cjs.map +1 -0
  254. package/lib/chunk-HVWED6OD.cjs +61 -0
  255. package/lib/chunk-HVWED6OD.cjs.map +1 -0
  256. package/lib/chunk-HWQKJGMO.js +196 -0
  257. package/lib/chunk-HWQKJGMO.js.map +1 -0
  258. package/lib/chunk-ICPYLWV2.cjs +88 -0
  259. package/lib/chunk-ICPYLWV2.cjs.map +1 -0
  260. package/lib/chunk-IHFJ6MXL.cjs +323 -0
  261. package/lib/chunk-IHFJ6MXL.cjs.map +1 -0
  262. package/lib/chunk-IIVBQMST.cjs +79 -0
  263. package/lib/chunk-IIVBQMST.cjs.map +1 -0
  264. package/lib/chunk-IKNDOL6B.js +59 -0
  265. package/lib/chunk-IKNDOL6B.js.map +1 -0
  266. package/lib/chunk-IVT3PJY6.js +89 -0
  267. package/lib/chunk-IVT3PJY6.js.map +1 -0
  268. package/lib/chunk-IXGT4ZHK.cjs +52 -0
  269. package/lib/chunk-IXGT4ZHK.cjs.map +1 -0
  270. package/lib/chunk-IYIO3O6T.cjs +70 -0
  271. package/lib/chunk-IYIO3O6T.cjs.map +1 -0
  272. package/lib/chunk-J2B76RSV.js +60 -0
  273. package/lib/chunk-J2B76RSV.js.map +1 -0
  274. package/lib/chunk-J6IAZQTX.cjs +102 -0
  275. package/lib/chunk-J6IAZQTX.cjs.map +1 -0
  276. package/lib/chunk-J6UBSVHN.cjs +712 -0
  277. package/lib/chunk-J6UBSVHN.cjs.map +1 -0
  278. package/lib/chunk-JA5OBTVX.cjs +120 -0
  279. package/lib/chunk-JA5OBTVX.cjs.map +1 -0
  280. package/lib/chunk-JLDRURQO.cjs +77 -0
  281. package/lib/chunk-JLDRURQO.cjs.map +1 -0
  282. package/lib/chunk-JPOQTSO3.js +89 -0
  283. package/lib/chunk-JPOQTSO3.js.map +1 -0
  284. package/lib/chunk-JV3H26EB.js +77 -0
  285. package/lib/chunk-JV3H26EB.js.map +1 -0
  286. package/lib/chunk-K4JHKT7C.js +11 -0
  287. package/lib/chunk-K4JHKT7C.js.map +1 -0
  288. package/lib/chunk-K7IFPOM4.js +113 -0
  289. package/lib/chunk-K7IFPOM4.js.map +1 -0
  290. package/lib/chunk-KBR5ZGZF.cjs +614 -0
  291. package/lib/chunk-KBR5ZGZF.cjs.map +1 -0
  292. package/lib/chunk-KHHIGLI2.cjs +86 -0
  293. package/lib/chunk-KHHIGLI2.cjs.map +1 -0
  294. package/lib/chunk-KMYZX4VQ.cjs +86 -0
  295. package/lib/chunk-KMYZX4VQ.cjs.map +1 -0
  296. package/lib/chunk-KNW47S44.cjs +53 -0
  297. package/lib/chunk-KNW47S44.cjs.map +1 -0
  298. package/lib/chunk-KNYCGJXW.cjs +94 -0
  299. package/lib/chunk-KNYCGJXW.cjs.map +1 -0
  300. package/lib/chunk-L4745XWM.js +80 -0
  301. package/lib/chunk-L4745XWM.js.map +1 -0
  302. package/lib/chunk-LBSC3EU5.js +123 -0
  303. package/lib/chunk-LBSC3EU5.js.map +1 -0
  304. package/lib/chunk-LBYSKMHH.cjs +94 -0
  305. package/lib/chunk-LBYSKMHH.cjs.map +1 -0
  306. package/lib/chunk-LHZ6RTT3.js +89 -0
  307. package/lib/chunk-LHZ6RTT3.js.map +1 -0
  308. package/lib/chunk-LJP3XZB6.cjs +98 -0
  309. package/lib/chunk-LJP3XZB6.cjs.map +1 -0
  310. package/lib/chunk-LMQID2GP.js +87 -0
  311. package/lib/chunk-LMQID2GP.js.map +1 -0
  312. package/lib/chunk-LN4LIXAJ.js +191 -0
  313. package/lib/chunk-LN4LIXAJ.js.map +1 -0
  314. package/lib/chunk-LQWVKNWA.js +96 -0
  315. package/lib/chunk-LQWVKNWA.js.map +1 -0
  316. package/lib/chunk-LUHC3HQY.cjs +62 -0
  317. package/lib/chunk-LUHC3HQY.cjs.map +1 -0
  318. package/lib/chunk-M2EMAXEX.cjs +53 -0
  319. package/lib/chunk-M2EMAXEX.cjs.map +1 -0
  320. package/lib/chunk-M2MA3D4R.cjs +80 -0
  321. package/lib/chunk-M2MA3D4R.cjs.map +1 -0
  322. package/lib/chunk-M4ONJLD5.js +86 -0
  323. package/lib/chunk-M4ONJLD5.js.map +1 -0
  324. package/lib/chunk-M6EAUX5W.js +35 -0
  325. package/lib/chunk-M6EAUX5W.js.map +1 -0
  326. package/lib/chunk-MA4Q3YQA.cjs +102 -0
  327. package/lib/chunk-MA4Q3YQA.cjs.map +1 -0
  328. package/lib/chunk-MHZXFNI3.cjs +61 -0
  329. package/lib/chunk-MHZXFNI3.cjs.map +1 -0
  330. package/lib/chunk-MRCX5DDN.cjs +179 -0
  331. package/lib/chunk-MRCX5DDN.cjs.map +1 -0
  332. package/lib/chunk-MYZKUUVU.js +89 -0
  333. package/lib/chunk-MYZKUUVU.js.map +1 -0
  334. package/lib/chunk-N2GNN5KY.cjs +91 -0
  335. package/lib/chunk-N2GNN5KY.cjs.map +1 -0
  336. package/lib/chunk-NASC5VUL.js +53 -0
  337. package/lib/chunk-NASC5VUL.js.map +1 -0
  338. package/lib/chunk-NF2QUFOZ.js +69 -0
  339. package/lib/chunk-NF2QUFOZ.js.map +1 -0
  340. package/lib/chunk-NL723OUO.cjs +81 -0
  341. package/lib/chunk-NL723OUO.cjs.map +1 -0
  342. package/lib/chunk-NSFF4PEP.cjs +182 -0
  343. package/lib/chunk-NSFF4PEP.cjs.map +1 -0
  344. package/lib/chunk-O222VNEO.cjs +90 -0
  345. package/lib/chunk-O222VNEO.cjs.map +1 -0
  346. package/lib/chunk-O7GAJZ7B.cjs +179 -0
  347. package/lib/chunk-O7GAJZ7B.cjs.map +1 -0
  348. package/lib/chunk-O7I22ND6.cjs +165 -0
  349. package/lib/chunk-O7I22ND6.cjs.map +1 -0
  350. package/lib/chunk-O7Q46YQR.js +77 -0
  351. package/lib/chunk-O7Q46YQR.js.map +1 -0
  352. package/lib/chunk-OD7AZBBW.cjs +91 -0
  353. package/lib/chunk-OD7AZBBW.cjs.map +1 -0
  354. package/lib/chunk-OESYWOKW.cjs +79 -0
  355. package/lib/chunk-OESYWOKW.cjs.map +1 -0
  356. package/lib/chunk-OH4R7NRW.cjs +556 -0
  357. package/lib/chunk-OH4R7NRW.cjs.map +1 -0
  358. package/lib/chunk-OHOTORWN.js +77 -0
  359. package/lib/chunk-OHOTORWN.js.map +1 -0
  360. package/lib/chunk-OHPKFTKJ.js +82 -0
  361. package/lib/chunk-OHPKFTKJ.js.map +1 -0
  362. package/lib/chunk-OJXBH4AU.js +177 -0
  363. package/lib/chunk-OJXBH4AU.js.map +1 -0
  364. package/lib/chunk-OKEWWPO6.js +120 -0
  365. package/lib/chunk-OKEWWPO6.js.map +1 -0
  366. package/lib/chunk-OTEKWYFI.js +77 -0
  367. package/lib/chunk-OTEKWYFI.js.map +1 -0
  368. package/lib/chunk-OXHQKMPQ.js +20 -0
  369. package/lib/chunk-OXHQKMPQ.js.map +1 -0
  370. package/lib/chunk-P5TAYFM2.cjs +77 -0
  371. package/lib/chunk-P5TAYFM2.cjs.map +1 -0
  372. package/lib/chunk-P6FRDB6N.js +203 -0
  373. package/lib/chunk-P6FRDB6N.js.map +1 -0
  374. package/lib/chunk-PE7YEKXE.js +177 -0
  375. package/lib/chunk-PE7YEKXE.js.map +1 -0
  376. package/lib/chunk-PF23CMEF.cjs +44 -0
  377. package/lib/chunk-PF23CMEF.cjs.map +1 -0
  378. package/lib/chunk-PHSZOTGO.cjs +53 -0
  379. package/lib/chunk-PHSZOTGO.cjs.map +1 -0
  380. package/lib/chunk-PINJ4XVT.cjs +179 -0
  381. package/lib/chunk-PINJ4XVT.cjs.map +1 -0
  382. package/lib/chunk-PJXGHTNE.js +73 -0
  383. package/lib/chunk-PJXGHTNE.js.map +1 -0
  384. package/lib/chunk-PVZ4YTNY.cjs +91 -0
  385. package/lib/chunk-PVZ4YTNY.cjs.map +1 -0
  386. package/lib/chunk-PX6VSBYJ.js +84 -0
  387. package/lib/chunk-PX6VSBYJ.js.map +1 -0
  388. package/lib/chunk-PXI3FFHR.js +542 -0
  389. package/lib/chunk-PXI3FFHR.js.map +1 -0
  390. package/lib/chunk-Q65LIIZK.js +83 -0
  391. package/lib/chunk-Q65LIIZK.js.map +1 -0
  392. package/lib/chunk-Q6B4IJ3Z.js +75 -0
  393. package/lib/chunk-Q6B4IJ3Z.js.map +1 -0
  394. package/lib/chunk-Q74EWK7R.js +78 -0
  395. package/lib/chunk-Q74EWK7R.js.map +1 -0
  396. package/lib/chunk-QA3Z2NT3.js +163 -0
  397. package/lib/chunk-QA3Z2NT3.js.map +1 -0
  398. package/lib/chunk-QBINHYQ4.js +77 -0
  399. package/lib/chunk-QBINHYQ4.js.map +1 -0
  400. package/lib/chunk-QBTVUBTD.js +191 -0
  401. package/lib/chunk-QBTVUBTD.js.map +1 -0
  402. package/lib/chunk-QCHY4BRB.js +118 -0
  403. package/lib/chunk-QCHY4BRB.js.map +1 -0
  404. package/lib/chunk-QFVWMERY.js +86 -0
  405. package/lib/chunk-QFVWMERY.js.map +1 -0
  406. package/lib/chunk-QHRM2LGA.js +100 -0
  407. package/lib/chunk-QHRM2LGA.js.map +1 -0
  408. package/lib/chunk-QQB52UMR.cjs +44 -0
  409. package/lib/chunk-QQB52UMR.cjs.map +1 -0
  410. package/lib/chunk-R2Z7SDWB.js +68 -0
  411. package/lib/chunk-R2Z7SDWB.js.map +1 -0
  412. package/lib/chunk-R4T65OTC.js +89 -0
  413. package/lib/chunk-R4T65OTC.js.map +1 -0
  414. package/lib/chunk-R5SMSVJE.js +59 -0
  415. package/lib/chunk-R5SMSVJE.js.map +1 -0
  416. package/lib/chunk-RI6NF3OR.js +69 -0
  417. package/lib/chunk-RI6NF3OR.js.map +1 -0
  418. package/lib/chunk-RKPUNPFI.js +68 -0
  419. package/lib/chunk-RKPUNPFI.js.map +1 -0
  420. package/lib/chunk-RLAVR726.js +67 -0
  421. package/lib/chunk-RLAVR726.js.map +1 -0
  422. package/lib/chunk-RPP6LEIY.js +75 -0
  423. package/lib/chunk-RPP6LEIY.js.map +1 -0
  424. package/lib/chunk-RSOPQPT4.js +42 -0
  425. package/lib/chunk-RSOPQPT4.js.map +1 -0
  426. package/lib/chunk-S35MKEJS.cjs +88 -0
  427. package/lib/chunk-S35MKEJS.cjs.map +1 -0
  428. package/lib/chunk-S4TR2UHV.js +65 -0
  429. package/lib/chunk-S4TR2UHV.js.map +1 -0
  430. package/lib/chunk-S6CTDMVV.js +191 -0
  431. package/lib/chunk-S6CTDMVV.js.map +1 -0
  432. package/lib/chunk-S6M3FY7K.cjs +38 -0
  433. package/lib/chunk-S6M3FY7K.cjs.map +1 -0
  434. package/lib/chunk-SAZNFIJE.js +58 -0
  435. package/lib/chunk-SAZNFIJE.js.map +1 -0
  436. package/lib/chunk-SBTTBUKV.cjs +53 -0
  437. package/lib/chunk-SBTTBUKV.cjs.map +1 -0
  438. package/lib/chunk-SCPNHUAH.js +77 -0
  439. package/lib/chunk-SCPNHUAH.js.map +1 -0
  440. package/lib/chunk-SDIFNFXF.cjs +70 -0
  441. package/lib/chunk-SDIFNFXF.cjs.map +1 -0
  442. package/lib/chunk-SJ3LU5N4.js +68 -0
  443. package/lib/chunk-SJ3LU5N4.js.map +1 -0
  444. package/lib/chunk-SJFHQHTE.js +38 -0
  445. package/lib/chunk-SJFHQHTE.js.map +1 -0
  446. package/lib/chunk-SL2QY66Q.js +100 -0
  447. package/lib/chunk-SL2QY66Q.js.map +1 -0
  448. package/lib/chunk-SNRGHNRR.js +612 -0
  449. package/lib/chunk-SNRGHNRR.js.map +1 -0
  450. package/lib/chunk-SQI2JQK4.cjs +79 -0
  451. package/lib/chunk-SQI2JQK4.cjs.map +1 -0
  452. package/lib/chunk-SS47BWTZ.js +68 -0
  453. package/lib/chunk-SS47BWTZ.js.map +1 -0
  454. package/lib/chunk-SVN5VVVA.cjs +98 -0
  455. package/lib/chunk-SVN5VVVA.cjs.map +1 -0
  456. package/lib/chunk-T2R5XGY4.cjs +70 -0
  457. package/lib/chunk-T2R5XGY4.cjs.map +1 -0
  458. package/lib/chunk-T5BW3NQW.cjs +134 -0
  459. package/lib/chunk-T5BW3NQW.cjs.map +1 -0
  460. package/lib/chunk-T6BGMCNM.js +61 -0
  461. package/lib/chunk-T6BGMCNM.js.map +1 -0
  462. package/lib/chunk-TL3OBA4N.js +82 -0
  463. package/lib/chunk-TL3OBA4N.js.map +1 -0
  464. package/lib/chunk-TSIO7BVL.js +77 -0
  465. package/lib/chunk-TSIO7BVL.js.map +1 -0
  466. package/lib/chunk-TVRITF4Q.cjs +164 -0
  467. package/lib/chunk-TVRITF4Q.cjs.map +1 -0
  468. package/lib/chunk-TX4LQ66D.js +305 -0
  469. package/lib/chunk-TX4LQ66D.js.map +1 -0
  470. package/lib/chunk-TXJDJKNO.cjs +179 -0
  471. package/lib/chunk-TXJDJKNO.cjs.map +1 -0
  472. package/lib/chunk-TZB3ITFX.js +177 -0
  473. package/lib/chunk-TZB3ITFX.js.map +1 -0
  474. package/lib/chunk-U2YMMZI7.cjs +79 -0
  475. package/lib/chunk-U2YMMZI7.cjs.map +1 -0
  476. package/lib/chunk-U4IXGFAH.cjs +81 -0
  477. package/lib/chunk-U4IXGFAH.cjs.map +1 -0
  478. package/lib/chunk-U6SR6NW4.cjs +179 -0
  479. package/lib/chunk-U6SR6NW4.cjs.map +1 -0
  480. package/lib/chunk-UC6CO5EO.js +58 -0
  481. package/lib/chunk-UC6CO5EO.js.map +1 -0
  482. package/lib/chunk-UKCNJHEI.js +51 -0
  483. package/lib/chunk-UKCNJHEI.js.map +1 -0
  484. package/lib/chunk-USYXGMLW.cjs +62 -0
  485. package/lib/chunk-USYXGMLW.cjs.map +1 -0
  486. package/lib/chunk-UT7ITGTD.js +50 -0
  487. package/lib/chunk-UT7ITGTD.js.map +1 -0
  488. package/lib/chunk-UTANC4S3.js +51 -0
  489. package/lib/chunk-UTANC4S3.js.map +1 -0
  490. package/lib/chunk-UTKMV624.cjs +91 -0
  491. package/lib/chunk-UTKMV624.cjs.map +1 -0
  492. package/lib/chunk-UVTVQ3XM.js +321 -0
  493. package/lib/chunk-UVTVQ3XM.js.map +1 -0
  494. package/lib/chunk-UY5UOVA5.js +68 -0
  495. package/lib/chunk-UY5UOVA5.js.map +1 -0
  496. package/lib/chunk-UZXJKIWS.js +60 -0
  497. package/lib/chunk-UZXJKIWS.js.map +1 -0
  498. package/lib/chunk-V4Z3AVQ5.cjs +193 -0
  499. package/lib/chunk-V4Z3AVQ5.cjs.map +1 -0
  500. package/lib/chunk-V7STA2MI.js +116 -0
  501. package/lib/chunk-V7STA2MI.js.map +1 -0
  502. package/lib/chunk-VDFUCYKF.cjs +122 -0
  503. package/lib/chunk-VDFUCYKF.cjs.map +1 -0
  504. package/lib/chunk-VEWBKMYO.js +60 -0
  505. package/lib/chunk-VEWBKMYO.js.map +1 -0
  506. package/lib/chunk-VJZPWAOS.cjs +60 -0
  507. package/lib/chunk-VJZPWAOS.cjs.map +1 -0
  508. package/lib/chunk-VK7RTKH2.cjs +62 -0
  509. package/lib/chunk-VK7RTKH2.cjs.map +1 -0
  510. package/lib/chunk-VP2HZVZL.js +86 -0
  511. package/lib/chunk-VP2HZVZL.js.map +1 -0
  512. package/lib/chunk-VRTIEHU4.cjs +84 -0
  513. package/lib/chunk-VRTIEHU4.cjs.map +1 -0
  514. package/lib/chunk-VUSUG2V7.cjs +75 -0
  515. package/lib/chunk-VUSUG2V7.cjs.map +1 -0
  516. package/lib/chunk-VXF5K4Q2.js +89 -0
  517. package/lib/chunk-VXF5K4Q2.js.map +1 -0
  518. package/lib/chunk-VXQAZUOC.js +68 -0
  519. package/lib/chunk-VXQAZUOC.js.map +1 -0
  520. package/lib/chunk-VYOG7GOR.js +164 -0
  521. package/lib/chunk-VYOG7GOR.js.map +1 -0
  522. package/lib/chunk-W3DJZSUC.js +68 -0
  523. package/lib/chunk-W3DJZSUC.js.map +1 -0
  524. package/lib/chunk-W4VYQSWL.js +68 -0
  525. package/lib/chunk-W4VYQSWL.js.map +1 -0
  526. package/lib/chunk-WDHLTDFT.cjs +198 -0
  527. package/lib/chunk-WDHLTDFT.cjs.map +1 -0
  528. package/lib/chunk-WE7O2JQD.js +78 -0
  529. package/lib/chunk-WE7O2JQD.js.map +1 -0
  530. package/lib/chunk-WJETIVVT.cjs +120 -0
  531. package/lib/chunk-WJETIVVT.cjs.map +1 -0
  532. package/lib/chunk-WKCDGDOI.js +132 -0
  533. package/lib/chunk-WKCDGDOI.js.map +1 -0
  534. package/lib/chunk-WMCNHWIZ.cjs +96 -0
  535. package/lib/chunk-WMCNHWIZ.cjs.map +1 -0
  536. package/lib/chunk-WMFHLZIP.js +177 -0
  537. package/lib/chunk-WMFHLZIP.js.map +1 -0
  538. package/lib/chunk-WMYAGESR.cjs +47 -0
  539. package/lib/chunk-WMYAGESR.cjs.map +1 -0
  540. package/lib/chunk-WO5LQQSK.cjs +4 -0
  541. package/lib/chunk-WO5LQQSK.cjs.map +1 -0
  542. package/lib/chunk-WOVCY6ON.cjs +22 -0
  543. package/lib/chunk-WOVCY6ON.cjs.map +1 -0
  544. package/lib/chunk-WP7JEJSN.js +79 -0
  545. package/lib/chunk-WP7JEJSN.js.map +1 -0
  546. package/lib/chunk-WPF55XSY.js +120 -0
  547. package/lib/chunk-WPF55XSY.js.map +1 -0
  548. package/lib/chunk-XB5JE3RU.cjs +60 -0
  549. package/lib/chunk-XB5JE3RU.cjs.map +1 -0
  550. package/lib/chunk-XCDGHNQE.cjs +79 -0
  551. package/lib/chunk-XCDGHNQE.cjs.map +1 -0
  552. package/lib/chunk-XDXHUQKN.cjs +70 -0
  553. package/lib/chunk-XDXHUQKN.cjs.map +1 -0
  554. package/lib/chunk-XL2ZZNJT.cjs +62 -0
  555. package/lib/chunk-XL2ZZNJT.cjs.map +1 -0
  556. package/lib/chunk-XPDGCJRF.js +86 -0
  557. package/lib/chunk-XPDGCJRF.js.map +1 -0
  558. package/lib/chunk-XQCOOANO.cjs +102 -0
  559. package/lib/chunk-XQCOOANO.cjs.map +1 -0
  560. package/lib/chunk-XXMKVFAD.js +96 -0
  561. package/lib/chunk-XXMKVFAD.js.map +1 -0
  562. package/lib/chunk-XY3XGLVQ.js +59 -0
  563. package/lib/chunk-XY3XGLVQ.js.map +1 -0
  564. package/lib/chunk-XYEUNWP7.js +116 -0
  565. package/lib/chunk-XYEUNWP7.js.map +1 -0
  566. package/lib/chunk-Y3AWLIPE.js +177 -0
  567. package/lib/chunk-Y3AWLIPE.js.map +1 -0
  568. package/lib/chunk-Y4RL7J44.js +60 -0
  569. package/lib/chunk-Y4RL7J44.js.map +1 -0
  570. package/lib/chunk-Y6VJAXRZ.cjs +70 -0
  571. package/lib/chunk-Y6VJAXRZ.cjs.map +1 -0
  572. package/lib/chunk-Y7AMOQB3.js +124 -0
  573. package/lib/chunk-Y7AMOQB3.js.map +1 -0
  574. package/lib/chunk-Y7FJ5Q2J.cjs +72 -0
  575. package/lib/chunk-Y7FJ5Q2J.cjs.map +1 -0
  576. package/lib/chunk-YAW47KDX.cjs +91 -0
  577. package/lib/chunk-YAW47KDX.cjs.map +1 -0
  578. package/lib/chunk-YI4PGM5E.js +33 -0
  579. package/lib/chunk-YI4PGM5E.js.map +1 -0
  580. package/lib/chunk-YIGM3TRP.cjs +193 -0
  581. package/lib/chunk-YIGM3TRP.cjs.map +1 -0
  582. package/lib/chunk-YJ3O5XLC.js +3 -0
  583. package/lib/chunk-YJ3O5XLC.js.map +1 -0
  584. package/lib/chunk-YUMNWQ2B.cjs +84 -0
  585. package/lib/chunk-YUMNWQ2B.cjs.map +1 -0
  586. package/lib/chunk-YXDOEPHX.cjs +79 -0
  587. package/lib/chunk-YXDOEPHX.cjs.map +1 -0
  588. package/lib/chunk-YXFYXDGG.js +154 -0
  589. package/lib/chunk-YXFYXDGG.js.map +1 -0
  590. package/lib/chunk-Z2KWVYWJ.js +68 -0
  591. package/lib/chunk-Z2KWVYWJ.js.map +1 -0
  592. package/lib/chunk-Z6A2V36P.js +68 -0
  593. package/lib/chunk-Z6A2V36P.js.map +1 -0
  594. package/lib/chunk-Z6LVDEZN.cjs +70 -0
  595. package/lib/chunk-Z6LVDEZN.cjs.map +1 -0
  596. package/lib/chunk-ZDADYNKG.cjs +69 -0
  597. package/lib/chunk-ZDADYNKG.cjs.map +1 -0
  598. package/lib/chunk-ZELVMPF4.js +118 -0
  599. package/lib/chunk-ZELVMPF4.js.map +1 -0
  600. package/lib/chunk-ZIXEKEFD.js +75 -0
  601. package/lib/chunk-ZIXEKEFD.js.map +1 -0
  602. package/lib/chunk-ZOYQ4RRX.js +709 -0
  603. package/lib/chunk-ZOYQ4RRX.js.map +1 -0
  604. package/lib/chunk-ZPSB3SIY.js +77 -0
  605. package/lib/chunk-ZPSB3SIY.js.map +1 -0
  606. package/lib/chunk-ZWZKHKFG.js +91 -0
  607. package/lib/chunk-ZWZKHKFG.js.map +1 -0
  608. package/lib/client.cjs +7 -6
  609. package/lib/client.d.cts +2 -1
  610. package/lib/client.d.ts +2 -1
  611. package/lib/client.js +6 -5
  612. package/lib/commercelayer.cjs +21 -16
  613. package/lib/commercelayer.d.cts +15 -10
  614. package/lib/commercelayer.d.ts +15 -10
  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 +155 -671
  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 +707 -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 +17 -0
  1211. package/lib/version.cjs.map +1 -0
  1212. package/lib/version.d.cts +4 -0
  1213. package/lib/version.d.ts +4 -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
@@ -1,33 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkL7FT6NDZ_cjs = require('./chunk-L7FT6NDZ.cjs');
4
-
5
- // src/resources/organizations.ts
6
- var Organizations = class _Organizations extends chunkL7FT6NDZ_cjs.ApiSingleton {
7
- static TYPE = "organizations";
8
- async event_stores(organizationId, params, options) {
9
- const _organizationId = organizationId.id || organizationId;
10
- return this.resources.fetch({ type: "event_stores" }, `organization/${_organizationId}/event_stores`, params, options);
11
- }
12
- isOrganization(resource) {
13
- return resource.type && resource.type === _Organizations.TYPE;
14
- }
15
- relationship(id) {
16
- return super.relationshipOneToOne(id);
17
- }
18
- relationshipToMany(...ids) {
19
- return super.relationshipOneToMany(...ids);
20
- }
21
- type() {
22
- return _Organizations.TYPE;
23
- }
24
- path() {
25
- return "organization";
26
- }
27
- };
28
- var instance = new Organizations();
29
- var organizations_default = instance;
30
-
31
- exports.organizations_default = organizations_default;
32
- //# sourceMappingURL=chunk-LFNJLWV4.cjs.map
33
- //# sourceMappingURL=chunk-LFNJLWV4.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/organizations.ts"],"names":["ApiSingleton"],"mappings":";;;;;AAmSA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsBA,8BAAA,CAA2B;AAAA,EAEtD,OAAgB,IAAA,GAAyB,eAAA;AAAA,EAEzC,MAAM,YAAA,CAAa,cAAA,EAAuC,MAAA,EAAsC,OAAA,EAA8D;AAC7J,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAM,cAAA;AAC/D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,aAAA,EAAgB,eAAe,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAClI;AAAA,EAGA,eAAe,QAAA,EAAyC;AACvD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,cAAA,CAAc,IAAA;AAAA,EAC1D;AAAA,EAGA,aAAa,EAAA,EAAiD;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAsC,EAAE,CAAA;AAAA,EACtD;AAAA,EAEA,sBAAsB,GAAA,EAAkC;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAuC,GAAG,GAAG,CAAA;AAAA,EAC3D;AAAA,EAGA,IAAA,GAAyB;AACxB,IAAA,OAAO,cAAA,CAAc,IAAA;AAAA,EACtB;AAAA,EAEA,IAAA,GAAe;AACd,IAAA,OAAO,cAAA;AAAA,EACR;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,qBAAA,GAAQ","file":"chunk-LFNJLWV4.cjs","sourcesContent":["import type { QueryParamsList } from '../query'\nimport type { ListResponse, Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, } from '../resource'\nimport { ApiSingleton } from '../resource'\n\nimport type { EventStore } from './event_stores'\n\n\ntype OrganizationType = 'organizations'\ntype OrganizationRel = ResourceRel & { type: OrganizationType }\n\n\nexport type OrganizationSort = Pick<Organization, 'id'> & ResourceSort\n// export type OrganizationFilter = Pick<Organization, 'id'> & ResourceFilter\n\n\ninterface Organization extends Resource {\n\t\n\treadonly type: OrganizationType\n\n\t/** \n\t * The organization's internal name.\n\t * @example ```\"The Blue Brand\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The organization's slug name.\n\t * @example ```\"the-blue-brand\"```\n\t */\n\tslug?: string | null\n\t/** \n\t * The organization's domain.\n\t * @example ```\"the-blue-brand.commercelayer.io\"```\n\t */\n\tdomain?: string | null\n\t/** \n\t * The organization's support phone.\n\t * @example ```\"+01 30800857\"```\n\t */\n\tsupport_phone?: string | null\n\t/** \n\t * The organization's support email.\n\t * @example ```\"support@bluebrand.com\"```\n\t */\n\tsupport_email?: string | null\n\t/** \n\t * The URL to the organization's logo.\n\t * @example ```\"https://bluebrand.com/img/logo.svg\"```\n\t */\n\tlogo_url?: string | null\n\t/** \n\t * The URL to the organization's favicon.\n\t * @example ```\"https://bluebrand.com/img/favicon.ico\"```\n\t */\n\tfavicon_url?: string | null\n\t/** \n\t * The organization's primary color.\n\t * @example ```\"#C8984E\"```\n\t */\n\tprimary_color?: string | null\n\t/** \n\t * The organization's Google Tag Manager ID.\n\t * @example ```\"GTM-5FJXX6\"```\n\t */\n\tgtm_id?: string | null\n\t/** \n\t * The organization's Google Tag Manager ID for test.\n\t * @example ```\"GTM-5FJXX7\"```\n\t */\n\tgtm_id_test?: string | null\n\t/** \n\t * The organization's configuration.\n\t * @example ```{\"mfe\":{\"default\":{\"links\":{\"cart\":\"https://cart.example.com/:order_id?accessToken=:access_token\",\"checkout\":\"https://checkout.example.com/:order_id?accessToken=:accessToken\",\"identity\":\"https://example.com/login\",\"microstore\":\"https://example.com/microstore/?accessToken=:access_token\",\"my_account\":\"https://example.com/my-custom-account?accessToken=:access_token\"},\"checkout\":{\"thankyou_page\":\"https://example.com/thanks/:lang/:orderId\",\"billing_countries\":[{\"value\":\"ES\",\"label\":\"Espana\"},{\"value\":\"IT\",\"label\":\"Italia\"},{\"value\":\"US\",\"label\":\"Unites States of America\"}],\"shipping_countries\":[{\"value\":\"ES\",\"label\":\"Espana\"},{\"value\":\"IT\",\"label\":\"Italia\"},{\"value\":\"US\",\"label\":\"Unites States of America\"}],\"billing_states\":{\"FR\":[{\"value\":\"PA\",\"label\":\"Paris\"},{\"value\":\"LY\",\"label\":\"Lyon\"},{\"value\":\"NI\",\"label\":\"Nice\"},{\"value\":\"MA\",\"label\":\"Marseille\"},{\"value\":\"BO\",\"label\":\"Bordeaux\"}]},\"shipping_states\":{\"FR\":[{\"value\":\"PA\",\"label\":\"Paris\"},{\"value\":\"LY\",\"label\":\"Lyon\"},{\"value\":\"NI\",\"label\":\"Nice\"},{\"value\":\"MA\",\"label\":\"Marseille\"},{\"value\":\"BO\",\"label\":\"Bordeaux\"}]},\"default_country\":\"US\"},\"urls\":{\"privacy\":\"https://example.com/privacy/:lang\",\"terms\":\"https://example.com/terms/:lang\"}},\"market:id:ZKcv13rT\":{\"links\":{\"cart\":\"https://example.com/custom-cart/:order_id?accessToken=:access_token\"},\"checkout\":{\"thankyou_page\":\"https://example.com/thanks/:order_id\"}}}}```\n\t */\n\tconfig?: Record<string, any> | null\n\t/** \n\t * Enables the redirect on the new Auth API.\n\t * @example ```true```\n\t */\n\tapi_auth_redirect?: boolean | null\n\t/** \n\t * Enables the rules engine for flex promotions and price list rules.\n\t */\n\tapi_rules_engine?: boolean | null\n\t/** \n\t * The fallback maximum number of conditions within a rules payload on a ruleable object, default is 150.\n\t * @example ```150```\n\t */\n\tapi_rules_engine_max_conditions_size?: number | null\n\t/** \n\t * The fallback maximum number of rules within a rules payload on a ruleable object, default is 15.\n\t * @example ```15```\n\t */\n\tapi_rules_engine_max_rules_size?: number | null\n\t/** \n\t * Forces the usage of the new Authentication API.\n\t * @example ```true```\n\t */\n\tapi_new_auth?: boolean | null\n\t/** \n\t * Enables the purge of cached single resources when list is purged.\n\t */\n\tapi_purge_single_resource?: boolean | null\n\t/** \n\t * The maximum length for the regular expressions, default is 5000.\n\t * @example ```5000```\n\t */\n\tapi_max_regex_length?: number | null\n\t/** \n\t * Indicates if AVS checking will be enforced during payment workflow by passing specific attributes, default is true.\n\t * @example ```true```\n\t */\n\taddresses_avs_check?: boolean | null\n\t/** \n\t * Indicates if the phone attribute is required for addresses, default is true.\n\t * @example ```true```\n\t */\n\taddresses_phone_required?: boolean | null\n\t/** \n\t * Indicates if a sales channel application without customer can read and update just guest orders.\n\t * @example ```true```\n\t */\n\torders_sales_channel_guest_only?: boolean | null\n\t/** \n\t * The minimum lapse in fraction of seconds to be observed between two consecutive shipments rebuilt. If shipments rebuilt is triggered within the minimum lapse, the update is performed, but no rebuilt is done.\n\t */\n\torders_min_rebuild_shipments_lapse?: number | null\n\t/** \n\t * The minimum lapse in fraction of seconds to be observed between two consecutive order refreshes. If refresh is triggered within the minimum lapse, the update is performed, but no order refresh is done.\n\t */\n\torders_min_refresh_lapse?: number | null\n\t/** \n\t * The maximum number line items allowed for a test order before disabling the autorefresh option.\n\t * @example ```50```\n\t */\n\torders_autorefresh_cutoff_test?: number | null\n\t/** \n\t * The maximum number line items allowed for a live order before disabling the autorefresh option.\n\t * @example ```500```\n\t */\n\torders_autorefresh_cutoff_live?: number | null\n\t/** \n\t * Enables orders number editing as a string in test (for enterprise plans only).\n\t */\n\torders_number_editable_test?: boolean | null\n\t/** \n\t * Enables orders number editing as a string in live (for enterprise plans only).\n\t */\n\torders_number_editable_live?: boolean | null\n\t/** \n\t * Enables to use the order number as payment reference on supported gateways.\n\t * @example ```true```\n\t */\n\torders_number_as_reference?: boolean | null\n\t/** \n\t * Enables raising of API errors in case the provided coupon code is invalid, default is true.\n\t * @example ```true```\n\t */\n\torders_invalid_coupon_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case the provided gift card code is invalid, default is true.\n\t * @example ```true```\n\t */\n\torders_invalid_gift_card_errors?: boolean | null\n\t/** \n\t * Enables the validation of the generated stock line items and stock transfers before placing the order, default is false.\n\t */\n\torders_validate_shipping_stock?: boolean | null\n\t/** \n\t * The maximum number of SKUs allowed for bundles, default is 10.\n\t * @example ```10```\n\t */\n\tbundles_max_items_count?: number | null\n\t/** \n\t * The minimum length for coupon code, default is 8.\n\t * @example ```8```\n\t */\n\tcoupons_min_code_length?: number | null\n\t/** \n\t * The maximum length for coupon code, default is 40.\n\t * @example ```40```\n\t */\n\tcoupons_max_code_length?: number | null\n\t/** \n\t * Enables matching the gift card code by its exact value, instead of by its first charachters, default is false.\n\t */\n\tgift_cards_exact_code_matching?: boolean | null\n\t/** \n\t * The minimum length for gift card code, default is 8.\n\t * @example ```8```\n\t */\n\tgift_cards_min_code_length?: number | null\n\t/** \n\t * The maximum length for gift card code, default is 40.\n\t * @example ```40```\n\t */\n\tgift_cards_max_code_length?: number | null\n\t/** \n\t * The maximum number of concurrent cleanups allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\tcleanups_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of concurrent exports allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\texports_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of concurrent imports allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\timports_max_concurrent_count?: number | null\n\t/** \n\t * Enables purging of cached resources upon succeeded imports.\n\t * @example ```true```\n\t */\n\timports_purge_cache?: boolean | null\n\t/** \n\t * Disables the interruption of the import in case its errors exceeds the 10% threshold, default is false.\n\t */\n\timports_skip_errors?: boolean | null\n\t/** \n\t * The maximum number for stock locations cutoff, default is 10.\n\t * @example ```10```\n\t */\n\tinventory_models_max_stock_locations_cutoff?: number | null\n\t/** \n\t * The maximum number of active concurrent promotions allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\tpromotions_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of conditions within a rules payload on a promotion object, default is 150.\n\t * @example ```150```\n\t */\n\tpromotions_max_conditions_size?: number | null\n\t/** \n\t * The maximum number of rules within a rules payload on a promotion object, default is 15.\n\t * @example ```15```\n\t */\n\tpromotions_max_rules_size?: number | null\n\t/** \n\t * The maximum number of conditions within a rules payload on a price list object, default is 150.\n\t * @example ```150```\n\t */\n\tprice_lists_max_conditions_size?: number | null\n\t/** \n\t * The maximum number of rules within a rules payload on a price list object, default is 15.\n\t * @example ```15```\n\t */\n\tprice_lists_max_rules_size?: number | null\n\t/** \n\t * Enables triggering of webhooks during imports, default is false.\n\t */\n\timports_trigger_webhooks?: number | null\n\t/** \n\t * Enables the use of an external discount engine in place of the standard one, default is false.\n\t */\n\tdiscount_engines_enabled?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of discount engine failure, default is false.\n\t */\n\tdiscount_engines_errors?: boolean | null\n\t/** \n\t * The maximum length for the tag name, default is 25.\n\t * @example ```25```\n\t */\n\ttags_max_name_length?: number | null\n\t/** \n\t * The maximum allowed number of tags for each resource, default is 10.\n\t * @example ```10```\n\t */\n\ttags_max_allowed_number?: number | null\n\t/** \n\t * Enables raising of API errors in case of tax calculation failure, default is false.\n\t */\n\ttax_calculators_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of external promotion failure, default is false.\n\t */\n\texternal_promotions_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of external price failure, default is true.\n\t * @example ```true```\n\t */\n\texternal_prices_errors?: boolean | null\n\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass Organizations extends ApiSingleton<Organization> {\n\n\tstatic readonly TYPE: OrganizationType = 'organizations' as const\n\n\tasync event_stores(organizationId: string | Organization, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _organizationId = (organizationId as Organization).id || organizationId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `organization/${_organizationId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisOrganization(resource: any): resource is Organization {\n\t\treturn resource.type && (resource.type === Organizations.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): OrganizationRel {\n\t\treturn super.relationshipOneToOne<OrganizationRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): OrganizationRel[] {\n\t\treturn super.relationshipOneToMany<OrganizationRel>(...ids)\n\t}\n\n\n\ttype(): OrganizationType {\n\t\treturn Organizations.TYPE\n\t}\n\n\tpath(): string {\n\t\treturn 'organization'\n\t}\n\n}\n\n\nconst instance = new Organizations()\nexport default instance\n\nexport type { Organization, Organizations, OrganizationType }\n"]}
@@ -1,39 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkL7FT6NDZ_cjs = require('./chunk-L7FT6NDZ.cjs');
4
-
5
- // src/resources/attachments.ts
6
- var Attachments = class _Attachments extends chunkL7FT6NDZ_cjs.ApiResource {
7
- static TYPE = "attachments";
8
- async create(resource, params, options) {
9
- return this.resources.create({ ...resource, type: _Attachments.TYPE }, params, options);
10
- }
11
- async update(resource, params, options) {
12
- return this.resources.update({ ...resource, type: _Attachments.TYPE }, params, options);
13
- }
14
- async delete(id, options) {
15
- await this.resources.delete(typeof id === "string" ? { id, type: _Attachments.TYPE } : id, options);
16
- }
17
- async event_stores(attachmentId, params, options) {
18
- const _attachmentId = attachmentId.id || attachmentId;
19
- return this.resources.fetch({ type: "event_stores" }, `attachments/${_attachmentId}/event_stores`, params, options);
20
- }
21
- isAttachment(resource) {
22
- return resource.type && resource.type === _Attachments.TYPE;
23
- }
24
- relationship(id) {
25
- return super.relationshipOneToOne(id);
26
- }
27
- relationshipToMany(...ids) {
28
- return super.relationshipOneToMany(...ids);
29
- }
30
- type() {
31
- return _Attachments.TYPE;
32
- }
33
- };
34
- var instance = new Attachments();
35
- var attachments_default = instance;
36
-
37
- exports.attachments_default = attachments_default;
38
- //# sourceMappingURL=chunk-LHESCZ5L.cjs.map
39
- //# sourceMappingURL=chunk-LHESCZ5L.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/attachments.ts"],"names":["ApiResource"],"mappings":";;;;;AAkKA,IAAM,WAAA,GAAN,MAAM,YAAA,SAAoBA,6BAAA,CAAwB;AAAA,EAEjD,OAAgB,IAAA,GAAuB,aAAA;AAAA,EAEvC,MAAM,MAAA,CAAO,QAAA,EAA4B,MAAA,EAA0C,OAAA,EAAgD;AAClI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpH;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA4B,MAAA,EAA0C,OAAA,EAAgD;AAClI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpH;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACnG;AAAA,EAEA,MAAM,YAAA,CAAa,YAAA,EAAmC,MAAA,EAAsC,OAAA,EAA8D;AACzJ,IAAA,MAAM,aAAA,GAAiB,aAA4B,EAAA,IAAM,YAAA;AACzD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,YAAA,EAAe,aAAa,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/H;AAAA,EAGA,aAAa,QAAA,EAAuC;AACnD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,YAAA,CAAY,IAAA;AAAA,EACxD;AAAA,EAGA,aAAa,EAAA,EAA+C;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAoC,EAAE,CAAA;AAAA,EACpD;AAAA,EAEA,sBAAsB,GAAA,EAAgC;AACrD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAqC,GAAG,GAAG,CAAA;AAAA,EACzD;AAAA,EAGA,IAAA,GAAuB;AACtB,IAAA,OAAO,YAAA,CAAY,IAAA;AAAA,EACpB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,WAAA,EAAY;AACjC,IAAO,mBAAA,GAAQ","file":"chunk-LHESCZ5L.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Bundle, BundleType } from './bundles'\nimport type { CarrierAccount, CarrierAccountType } from './carrier_accounts'\nimport type { CouponRecipient, CouponRecipientType } from './coupon_recipients'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { Customer, CustomerType } from './customers'\nimport type { DeliveryLeadTime, DeliveryLeadTimeType } from './delivery_lead_times'\nimport type { DiscountEngine, DiscountEngineType } from './discount_engines'\nimport type { EventStore } from './event_stores'\nimport type { Geocoder, GeocoderType } from './geocoders'\nimport type { GiftCardRecipient, GiftCardRecipientType } from './gift_card_recipients'\nimport type { GiftCard, GiftCardType } from './gift_cards'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { Market, MarketType } from './markets'\nimport type { Merchant, MerchantType } from './merchants'\nimport type { Order, OrderType } from './orders'\nimport type { Package, PackageType } from './packages'\nimport type { Parcel, ParcelType } from './parcels'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { PaymentOption, PaymentOptionType } from './payment_options'\nimport type { PriceList, PriceListType } from './price_lists'\nimport type { PriceTier, PriceTierType } from './price_tiers'\nimport type { Price, PriceType } from './prices'\nimport type { Promotion, PromotionType } from './promotions'\nimport type { Return, ReturnType } from './returns'\nimport type { Shipment, ShipmentType } from './shipments'\nimport type { ShippingCategory, ShippingCategoryType } from './shipping_categories'\nimport type { ShippingMethodTier, ShippingMethodTierType } from './shipping_method_tiers'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { ShippingZone, ShippingZoneType } from './shipping_zones'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { SkuOption, SkuOptionType } from './sku_options'\nimport type { Sku, SkuType } from './skus'\nimport type { StockItem, StockItemType } from './stock_items'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { StockTransfer, StockTransferType } from './stock_transfers'\nimport type { SubscriptionModel, SubscriptionModelType } from './subscription_models'\nimport type { TaxCalculator, TaxCalculatorType } from './tax_calculators'\nimport type { TaxCategory, TaxCategoryType } from './tax_categories'\nimport type { Transaction, TransactionType } from './transactions'\n\n\ntype AttachmentType = 'attachments'\ntype AttachmentRel = ResourceRel & { type: AttachmentType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype PromotionRel = ResourceRel & { type: PromotionType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype TransactionRel = ResourceRel & { type: TransactionType }\ntype TaxCalculatorRel = ResourceRel & { type: TaxCalculatorType }\ntype TaxCategoryRel = ResourceRel & { type: TaxCategoryType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype ShippingCategoryRel = ResourceRel & { type: ShippingCategoryType }\ntype BundleRel = ResourceRel & { type: BundleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype StockItemRel = ResourceRel & { type: StockItemType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype ReturnRel = ResourceRel & { type: ReturnType }\ntype CarrierAccountRel = ResourceRel & { type: CarrierAccountType }\ntype CouponRecipientRel = ResourceRel & { type: CouponRecipientType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype DeliveryLeadTimeRel = ResourceRel & { type: DeliveryLeadTimeType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype DiscountEngineRel = ResourceRel & { type: DiscountEngineType }\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype GiftCardRecipientRel = ResourceRel & { type: GiftCardRecipientType }\ntype GiftCardRel = ResourceRel & { type: GiftCardType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\ntype StockTransferRel = ResourceRel & { type: StockTransferType }\ntype SkuOptionRel = ResourceRel & { type: SkuOptionType }\ntype MerchantRel = ResourceRel & { type: MerchantType }\ntype SubscriptionModelRel = ResourceRel & { type: SubscriptionModelType }\ntype PaymentOptionRel = ResourceRel & { type: PaymentOptionType }\ntype PackageRel = ResourceRel & { type: PackageType }\ntype PriceRel = ResourceRel & { type: PriceType }\ntype PriceTierRel = ResourceRel & { type: PriceTierType }\ntype ShippingMethodTierRel = ResourceRel & { type: ShippingMethodTierType }\ntype ShippingZoneRel = ResourceRel & { type: ShippingZoneType }\n\n\nexport type AttachmentSort = Pick<Attachment, 'id' | 'name'> & ResourceSort\n// export type AttachmentFilter = Pick<Attachment, 'id' | 'name' | 'description'> & ResourceFilter\n\n\ninterface Attachment extends Resource {\n\t\n\treadonly type: AttachmentType\n\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable?: Geocoder | PriceList | PaymentMethod | Market | CustomerGroup | Promotion | Order | Transaction | TaxCalculator | TaxCategory | Sku | ShippingCategory | Bundle | SkuList | StockItem | StockLocation | Return | CarrierAccount | CouponRecipient | Customer | DeliveryLeadTime | ShippingMethod | Shipment | DiscountEngine | Parcel | GiftCardRecipient | GiftCard | InventoryModel | StockTransfer | SkuOption | Merchant | SubscriptionModel | PaymentOption | Package | Price | PriceTier | ShippingMethodTier | ShippingZone | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface AttachmentCreate extends ResourceCreate {\n\t\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable: GeocoderRel | PriceListRel | PaymentMethodRel | MarketRel | CustomerGroupRel | PromotionRel | OrderRel | TransactionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel | DeliveryLeadTimeRel | ShippingMethodRel | ShipmentRel | DiscountEngineRel | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | StockTransferRel | SkuOptionRel | MerchantRel | SubscriptionModelRel | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel\n\n}\n\n\ninterface AttachmentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname?: string | null\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable?: GeocoderRel | PriceListRel | PaymentMethodRel | MarketRel | CustomerGroupRel | PromotionRel | OrderRel | TransactionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel | DeliveryLeadTimeRel | ShippingMethodRel | ShipmentRel | DiscountEngineRel | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | StockTransferRel | SkuOptionRel | MerchantRel | SubscriptionModelRel | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null\n\n}\n\n\nclass Attachments extends ApiResource<Attachment> {\n\n\tstatic readonly TYPE: AttachmentType = 'attachments' as const\n\n\tasync create(resource: AttachmentCreate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment> {\n\t\treturn this.resources.create<AttachmentCreate, Attachment>({ ...resource, type: Attachments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: AttachmentUpdate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment> {\n\t\treturn this.resources.update<AttachmentUpdate, Attachment>({ ...resource, type: Attachments.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Attachments.TYPE } : id, options)\n\t}\n\n\tasync event_stores(attachmentId: string | Attachment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _attachmentId = (attachmentId as Attachment).id || attachmentId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `attachments/${_attachmentId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisAttachment(resource: any): resource is Attachment {\n\t\treturn resource.type && (resource.type === Attachments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): AttachmentRel {\n\t\treturn super.relationshipOneToOne<AttachmentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): AttachmentRel[] {\n\t\treturn super.relationshipOneToMany<AttachmentRel>(...ids)\n\t}\n\n\n\ttype(): AttachmentType {\n\t\treturn Attachments.TYPE\n\t}\n\n}\n\n\nconst instance = new Attachments()\nexport default instance\n\nexport type { Attachment, AttachmentCreate, Attachments, AttachmentType, AttachmentUpdate }\n"]}
@@ -1,44 +0,0 @@
1
- import { ApiResource } from './chunk-YRCCY6RV.js';
2
-
3
- // src/resources/cleanups.ts
4
- var Cleanups = class _Cleanups extends ApiResource {
5
- static TYPE = "cleanups";
6
- async create(resource, params, options) {
7
- return this.resources.create({ ...resource, type: _Cleanups.TYPE }, params, options);
8
- }
9
- async update(resource, params, options) {
10
- return this.resources.update({ ...resource, type: _Cleanups.TYPE }, params, options);
11
- }
12
- async delete(id, options) {
13
- await this.resources.delete(typeof id === "string" ? { id, type: _Cleanups.TYPE } : id, options);
14
- }
15
- async events(cleanupId, params, options) {
16
- const _cleanupId = cleanupId.id || cleanupId;
17
- return this.resources.fetch({ type: "events" }, `cleanups/${_cleanupId}/events`, params, options);
18
- }
19
- async event_stores(cleanupId, params, options) {
20
- const _cleanupId = cleanupId.id || cleanupId;
21
- return this.resources.fetch({ type: "event_stores" }, `cleanups/${_cleanupId}/event_stores`, params, options);
22
- }
23
- async _interrupt(id, params, options) {
24
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Cleanups.TYPE, _interrupt: true }, params, options);
25
- }
26
- isCleanup(resource) {
27
- return resource.type && resource.type === _Cleanups.TYPE;
28
- }
29
- relationship(id) {
30
- return super.relationshipOneToOne(id);
31
- }
32
- relationshipToMany(...ids) {
33
- return super.relationshipOneToMany(...ids);
34
- }
35
- type() {
36
- return _Cleanups.TYPE;
37
- }
38
- };
39
- var instance = new Cleanups();
40
- var cleanups_default = instance;
41
-
42
- export { cleanups_default };
43
- //# sourceMappingURL=chunk-LOJ7246E.js.map
44
- //# sourceMappingURL=chunk-LOJ7246E.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/cleanups.ts"],"names":[],"mappings":";;;AAuGA,IAAM,QAAA,GAAN,MAAM,SAAA,SAAiB,WAAA,CAAqB;AAAA,EAE3C,OAAgB,IAAA,GAAoB,UAAA;AAAA,EAEpC,MAAM,MAAA,CAAO,QAAA,EAAyB,MAAA,EAAuC,OAAA,EAA6C;AACzH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,SAAA,CAAS,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC3G;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAyB,MAAA,EAAuC,OAAA,EAA6C;AACzH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA+B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,SAAA,CAAS,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC3G;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,SAAA,CAAS,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAChG;AAAA,EAEA,MAAM,MAAA,CAAO,SAAA,EAA6B,MAAA,EAAiC,OAAA,EAAyD;AACnI,IAAA,MAAM,UAAA,GAAc,UAAsB,EAAA,IAAM,SAAA;AAChD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAa,EAAE,IAAA,EAAM,QAAA,EAAS,EAAG,CAAA,SAAA,EAAY,UAAU,CAAA,OAAA,CAAA,EAAW,MAAA,EAAQ,OAAO,CAAA;AAAA,EACxG;AAAA,EAEA,MAAM,YAAA,CAAa,SAAA,EAA6B,MAAA,EAAsC,OAAA,EAA8D;AACnJ,IAAA,MAAM,UAAA,GAAc,UAAsB,EAAA,IAAM,SAAA;AAChD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,SAAA,EAAY,UAAU,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACzH;AAAA,EAEA,MAAM,UAAA,CAAW,EAAA,EAAsB,MAAA,EAAuC,OAAA,EAA6C;AAC1H,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA+B,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,SAAA,CAAS,IAAA,EAAM,YAAY,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACzJ;AAAA,EAGA,UAAU,QAAA,EAAoC;AAC7C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,SAAA,CAAS,IAAA;AAAA,EACrD;AAAA,EAGA,aAAa,EAAA,EAA4C;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAiC,EAAE,CAAA;AAAA,EACjD;AAAA,EAEA,sBAAsB,GAAA,EAA6B;AAClD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAkC,GAAG,GAAG,CAAA;AAAA,EACtD;AAAA,EAGA,IAAA,GAAoB;AACnB,IAAA,OAAO,SAAA,CAAS,IAAA;AAAA,EACjB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,QAAA,EAAS;AAC9B,IAAO,gBAAA,GAAQ","file":"chunk-LOJ7246E.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\n\ntype CleanupType = 'cleanups'\ntype CleanupRel = ResourceRel & { type: CleanupType }\n\n\nexport type CleanupSort = Pick<Cleanup, 'id' | 'resource_type' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'errors_count' | 'processed_count'> & ResourceSort\n// export type CleanupFilter = Pick<Cleanup, 'id' | 'resource_type' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'errors_count' | 'processed_count' | 'errors_log'> & ResourceFilter\n\n\ninterface Cleanup extends Resource {\n\t\n\treadonly type: CleanupType\n\n\t/** \n\t * The type of resource being cleaned.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: string\n\t/** \n\t * The cleanup job status. One of 'pending' (default), 'in_progress', 'interrupted', or 'completed'.\n\t * @example ```\"in_progress\"```\n\t */\n\tstatus: 'pending' | 'in_progress' | 'interrupted' | 'completed'\n\t/** \n\t * Time at which the cleanup was started.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarted_at?: string | null\n\t/** \n\t * Time at which the cleanup was completed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tcompleted_at?: string | null\n\t/** \n\t * Time at which the cleanup was interrupted.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tinterrupted_at?: string | null\n\t/** \n\t * The filters used to select the records to be cleaned.\n\t * @example ```{\"code_eq\":\"AAA\"}```\n\t */\n\tfilters?: Record<string, any> | null\n\t/** \n\t * Indicates the number of records to be cleaned.\n\t * @example ```300```\n\t */\n\trecords_count?: number | null\n\t/** \n\t * Indicates the number of cleanup errors, if any.\n\t * @example ```30```\n\t */\n\terrors_count?: number | null\n\t/** \n\t * Indicates the number of records that have been cleaned.\n\t * @example ```270```\n\t */\n\tprocessed_count?: number | null\n\t/** \n\t * Contains the cleanup errors, if any.\n\t * @example ```{\"ABC\":{\"name\":[\"has already been taken\"]}}```\n\t */\n\terrors_log?: Record<string, any> | null\n\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface CleanupCreate extends ResourceCreate {\n\t\n\t/** \n\t * The type of resource being cleaned.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: string\n\t/** \n\t * The filters used to select the records to be cleaned.\n\t * @example ```{\"code_eq\":\"AAA\"}```\n\t */\n\tfilters?: Record<string, any> | null\n\t\n}\n\n\ninterface CleanupUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Send this attribute if you want to mark status as 'interrupted'.\n\t * @example ```true```\n\t */\n\t_interrupt?: boolean | null\n\t\n}\n\n\nclass Cleanups extends ApiResource<Cleanup> {\n\n\tstatic readonly TYPE: CleanupType = 'cleanups' as const\n\n\tasync create(resource: CleanupCreate, params?: QueryParamsRetrieve<Cleanup>, options?: ResourcesConfig): Promise<Cleanup> {\n\t\treturn this.resources.create<CleanupCreate, Cleanup>({ ...resource, type: Cleanups.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CleanupUpdate, params?: QueryParamsRetrieve<Cleanup>, options?: ResourcesConfig): Promise<Cleanup> {\n\t\treturn this.resources.update<CleanupUpdate, Cleanup>({ ...resource, type: Cleanups.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Cleanups.TYPE } : id, options)\n\t}\n\n\tasync events(cleanupId: string | Cleanup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _cleanupId = (cleanupId as Cleanup).id || cleanupId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `cleanups/${_cleanupId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(cleanupId: string | Cleanup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _cleanupId = (cleanupId as Cleanup).id || cleanupId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `cleanups/${_cleanupId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _interrupt(id: string | Cleanup, params?: QueryParamsRetrieve<Cleanup>, options?: ResourcesConfig): Promise<Cleanup> {\n\t\treturn this.resources.update<CleanupUpdate, Cleanup>({ id: (typeof id === 'string')? id: id.id, type: Cleanups.TYPE, _interrupt: true }, params, options)\n\t}\n\n\n\tisCleanup(resource: any): resource is Cleanup {\n\t\treturn resource.type && (resource.type === Cleanups.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CleanupRel {\n\t\treturn super.relationshipOneToOne<CleanupRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CleanupRel[] {\n\t\treturn super.relationshipOneToMany<CleanupRel>(...ids)\n\t}\n\n\n\ttype(): CleanupType {\n\t\treturn Cleanups.TYPE\n\t}\n\n}\n\n\nconst instance = new Cleanups()\nexport default instance\n\nexport type { Cleanup, CleanupCreate, Cleanups, CleanupType, CleanupUpdate }\n"]}
@@ -1,54 +0,0 @@
1
- import { ApiResource } from './chunk-YRCCY6RV.js';
2
-
3
- // src/resources/refunds.ts
4
- var Refunds = class _Refunds extends ApiResource {
5
- static TYPE = "refunds";
6
- async update(resource, params, options) {
7
- return this.resources.update({ ...resource, type: _Refunds.TYPE }, params, options);
8
- }
9
- async order(refundId, params, options) {
10
- const _refundId = refundId.id || refundId;
11
- return this.resources.fetch({ type: "orders" }, `refunds/${_refundId}/order`, params, options);
12
- }
13
- async attachments(refundId, params, options) {
14
- const _refundId = refundId.id || refundId;
15
- return this.resources.fetch({ type: "attachments" }, `refunds/${_refundId}/attachments`, params, options);
16
- }
17
- async events(refundId, params, options) {
18
- const _refundId = refundId.id || refundId;
19
- return this.resources.fetch({ type: "events" }, `refunds/${_refundId}/events`, params, options);
20
- }
21
- async event_stores(refundId, params, options) {
22
- const _refundId = refundId.id || refundId;
23
- return this.resources.fetch({ type: "event_stores" }, `refunds/${_refundId}/event_stores`, params, options);
24
- }
25
- async reference_capture(refundId, params, options) {
26
- const _refundId = refundId.id || refundId;
27
- return this.resources.fetch({ type: "captures" }, `refunds/${_refundId}/reference_capture`, params, options);
28
- }
29
- async return(refundId, params, options) {
30
- const _refundId = refundId.id || refundId;
31
- return this.resources.fetch({ type: "returns" }, `refunds/${_refundId}/return`, params, options);
32
- }
33
- async _forward(id, params, options) {
34
- return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Refunds.TYPE, _forward: true }, params, options);
35
- }
36
- isRefund(resource) {
37
- return resource.type && resource.type === _Refunds.TYPE;
38
- }
39
- relationship(id) {
40
- return super.relationshipOneToOne(id);
41
- }
42
- relationshipToMany(...ids) {
43
- return super.relationshipOneToMany(...ids);
44
- }
45
- type() {
46
- return _Refunds.TYPE;
47
- }
48
- };
49
- var instance = new Refunds();
50
- var refunds_default = instance;
51
-
52
- export { refunds_default };
53
- //# sourceMappingURL=chunk-LP52UBLY.js.map
54
- //# sourceMappingURL=chunk-LP52UBLY.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/refunds.ts"],"names":[],"mappings":"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","file":"chunk-LP52UBLY.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { AdyenPayment } from './adyen_payments'\nimport type { Attachment } from './attachments'\nimport type { AxervePayment } from './axerve_payments'\nimport type { BraintreePayment } from './braintree_payments'\nimport type { Capture } from './captures'\nimport type { CheckoutComPayment } from './checkout_com_payments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { ExternalPayment } from './external_payments'\nimport type { KlarnaPayment } from './klarna_payments'\nimport type { Order } from './orders'\nimport type { PaypalPayment } from './paypal_payments'\nimport type { Return } from './returns'\nimport type { SatispayPayment } from './satispay_payments'\nimport type { StripePayment } from './stripe_payments'\nimport type { WireTransfer } from './wire_transfers'\n\n\ntype RefundType = 'refunds'\ntype RefundRel = ResourceRel & { type: RefundType }\n\n\nexport type RefundSort = Pick<Refund, 'id' | 'number' | 'amount_cents'> & ResourceSort\n// export type RefundFilter = Pick<Refund, 'id' | 'number' | 'currency_code' | 'amount_cents' | 'succeeded' | 'message' | 'error_code' | 'error_detail' | 'token' | 'gateway_transaction_id'> & ResourceFilter\n\n\ninterface Refund extends Resource {\n\t\n\treadonly type: RefundType\n\n\t/** \n\t * The transaction number, auto generated.\n\t * @example ```\"42/T/001\"```\n\t */\n\tnumber: string\n\t/** \n\t * Information about the payment method used in the transaction.\n\t * @example ```\"credit card\"```\n\t */\n\tpayment_method_type?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard, inherited from the associated order.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code: string\n\t/** \n\t * The transaction amount, in cents.\n\t * @example ```1500```\n\t */\n\tamount_cents: number\n\t/** \n\t * The transaction amount, float.\n\t * @example ```15```\n\t */\n\tamount_float: number\n\t/** \n\t * The transaction amount, formatted.\n\t * @example ```\"€15,00\"```\n\t */\n\tformatted_amount: string\n\t/** \n\t * Indicates if the transaction is successful.\n\t */\n\tsucceeded: boolean\n\t/** \n\t * The message returned by the payment gateway.\n\t * @example ```\"Accepted\"```\n\t */\n\tmessage?: string | null\n\t/** \n\t * The error code, if any, returned by the payment gateway.\n\t * @example ```\"00001\"```\n\t */\n\terror_code?: string | null\n\t/** \n\t * The error detail, if any, returned by the payment gateway.\n\t * @example ```\"Already settled\"```\n\t */\n\terror_detail?: string | null\n\t/** \n\t * The token identifying the transaction, returned by the payment gateway.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\ttoken?: string | null\n\t/** \n\t * The ID identifying the transaction, returned by the payment gateway.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tgateway_transaction_id?: string | null\n\n\torder?: Order | null\n\tpayment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\treference_capture?: Capture | null\n\treturn?: Return | null\n\n}\n\n\ninterface RefundUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Indicates if the transaction is successful.\n\t */\n\tsucceeded?: boolean | null\n\t/** \n\t * Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.\n\t * @example ```true```\n\t */\n\t_forward?: boolean | null\n\t\n}\n\n\nclass Refunds extends ApiResource<Refund> {\n\n\tstatic readonly TYPE: RefundType = 'refunds' as const\n\n\tasync update(resource: RefundUpdate, params?: QueryParamsRetrieve<Refund>, options?: ResourcesConfig): Promise<Refund> {\n\t\treturn this.resources.update<RefundUpdate, Refund>({ ...resource, type: Refunds.TYPE }, params, options)\n\t}\n\n\tasync order(refundId: string | Refund, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _refundId = (refundId as Refund).id || refundId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `refunds/${_refundId}/order`, params, options) as unknown as Order\n\t}\n\n\tasync attachments(refundId: string | Refund, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _refundId = (refundId as Refund).id || refundId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `refunds/${_refundId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(refundId: string | Refund, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _refundId = (refundId as Refund).id || refundId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `refunds/${_refundId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(refundId: string | Refund, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _refundId = (refundId as Refund).id || refundId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `refunds/${_refundId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync reference_capture(refundId: string | Refund, params?: QueryParamsRetrieve<Capture>, options?: ResourcesConfig): Promise<Capture> {\n\t\tconst _refundId = (refundId as Refund).id || refundId as string\n\t\treturn this.resources.fetch<Capture>({ type: 'captures' }, `refunds/${_refundId}/reference_capture`, params, options) as unknown as Capture\n\t}\n\n\tasync return(refundId: string | Refund, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return> {\n\t\tconst _refundId = (refundId as Refund).id || refundId as string\n\t\treturn this.resources.fetch<Return>({ type: 'returns' }, `refunds/${_refundId}/return`, params, options) as unknown as Return\n\t}\n\n\tasync _forward(id: string | Refund, params?: QueryParamsRetrieve<Refund>, options?: ResourcesConfig): Promise<Refund> {\n\t\treturn this.resources.update<RefundUpdate, Refund>({ id: (typeof id === 'string')? id: id.id, type: Refunds.TYPE, _forward: true }, params, options)\n\t}\n\n\n\tisRefund(resource: any): resource is Refund {\n\t\treturn resource.type && (resource.type === Refunds.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): RefundRel {\n\t\treturn super.relationshipOneToOne<RefundRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): RefundRel[] {\n\t\treturn super.relationshipOneToMany<RefundRel>(...ids)\n\t}\n\n\n\ttype(): RefundType {\n\t\treturn Refunds.TYPE\n\t}\n\n}\n\n\nconst instance = new Refunds()\nexport default instance\n\nexport type { Refund, Refunds, RefundType, RefundUpdate }\n"]}
@@ -1,45 +0,0 @@
1
- import { ApiResource } from './chunk-YRCCY6RV.js';
2
-
3
- // src/resources/payment_options.ts
4
- var PaymentOptions = class _PaymentOptions extends ApiResource {
5
- static TYPE = "payment_options";
6
- async create(resource, params, options) {
7
- return this.resources.create({ ...resource, type: _PaymentOptions.TYPE }, params, options);
8
- }
9
- async update(resource, params, options) {
10
- return this.resources.update({ ...resource, type: _PaymentOptions.TYPE }, params, options);
11
- }
12
- async delete(id, options) {
13
- await this.resources.delete(typeof id === "string" ? { id, type: _PaymentOptions.TYPE } : id, options);
14
- }
15
- async order(paymentOptionId, params, options) {
16
- const _paymentOptionId = paymentOptionId.id || paymentOptionId;
17
- return this.resources.fetch({ type: "orders" }, `payment_options/${_paymentOptionId}/order`, params, options);
18
- }
19
- async attachments(paymentOptionId, params, options) {
20
- const _paymentOptionId = paymentOptionId.id || paymentOptionId;
21
- return this.resources.fetch({ type: "attachments" }, `payment_options/${_paymentOptionId}/attachments`, params, options);
22
- }
23
- async event_stores(paymentOptionId, params, options) {
24
- const _paymentOptionId = paymentOptionId.id || paymentOptionId;
25
- return this.resources.fetch({ type: "event_stores" }, `payment_options/${_paymentOptionId}/event_stores`, params, options);
26
- }
27
- isPaymentOption(resource) {
28
- return resource.type && resource.type === _PaymentOptions.TYPE;
29
- }
30
- relationship(id) {
31
- return super.relationshipOneToOne(id);
32
- }
33
- relationshipToMany(...ids) {
34
- return super.relationshipOneToMany(...ids);
35
- }
36
- type() {
37
- return _PaymentOptions.TYPE;
38
- }
39
- };
40
- var instance = new PaymentOptions();
41
- var payment_options_default = instance;
42
-
43
- export { payment_options_default };
44
- //# sourceMappingURL=chunk-LPP7TYFN.js.map
45
- //# sourceMappingURL=chunk-LPP7TYFN.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/payment_options.ts"],"names":[],"mappings":";;;AAqFA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,WAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACtG;AAAA,EAEA,MAAM,KAAA,CAAM,eAAA,EAAyC,MAAA,EAAqC,OAAA,EAA2C;AACpI,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAa,EAAE,IAAA,EAAM,QAAA,EAAS,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,MAAA,CAAA,EAAU,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpH;AAAA,EAEA,MAAM,WAAA,CAAY,eAAA,EAAyC,MAAA,EAAsC,OAAA,EAA8D;AAC9J,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,aAAA,EAAc,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,YAAA,CAAA,EAAgB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpI;AAAA,EAEA,MAAM,YAAA,CAAa,eAAA,EAAyC,MAAA,EAAsC,OAAA,EAA8D;AAC/J,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;AAAA,EAGA,gBAAgB,QAAA,EAA0C;AACzD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAGA,aAAa,EAAA,EAAkD;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-LPP7TYFN.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Order, OrderType } from './orders'\n\n\ntype PaymentOptionType = 'payment_options'\ntype PaymentOptionRel = ResourceRel & { type: PaymentOptionType }\ntype OrderRel = ResourceRel & { type: OrderType }\n\n\nexport type PaymentOptionSort = Pick<PaymentOption, 'id' | 'name' | 'payment_source_type'> & ResourceSort\n// export type PaymentOptionFilter = Pick<PaymentOption, 'id' | 'name' | 'payment_source_type' | 'data'> & ResourceFilter\n\n\ninterface PaymentOption extends Resource {\n\t\n\treadonly type: PaymentOptionType\n\n\t/** \n\t * The payment option's name. Wehn blank is inherited by payment source type.\n\t * @example ```\"Stripe Payment Option\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"stripe_payments\"```\n\t */\n\tpayment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers'\n\t/** \n\t * The payment options data to be added to the payment source payload. Check payment specific API for more details.\n\t * @example ```{\"application_fee_amount\":1000,\"on_behalf_of\":\"pm_xxx\"}```\n\t */\n\tdata: Record<string, any>\n\n\torder?: Order | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface PaymentOptionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment option's name. Wehn blank is inherited by payment source type.\n\t * @example ```\"Stripe Payment Option\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The payment source type. One of 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"stripe_payments\"```\n\t */\n\tpayment_source_type: 'adyen_payments' | 'axerve_payments' | 'braintree_payments' | 'checkout_com_payments' | 'external_payments' | 'klarna_payments' | 'paypal_payments' | 'satispay_payments' | 'stripe_payments' | 'wire_transfers'\n\t/** \n\t * The payment options data to be added to the payment source payload. Check payment specific API for more details.\n\t * @example ```{\"application_fee_amount\":1000,\"on_behalf_of\":\"pm_xxx\"}```\n\t */\n\tdata: Record<string, any>\n\n\torder: OrderRel\n\n}\n\n\ninterface PaymentOptionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment option's name. Wehn blank is inherited by payment source type.\n\t * @example ```\"Stripe Payment Option\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The payment options data to be added to the payment source payload. Check payment specific API for more details.\n\t * @example ```{\"application_fee_amount\":1000,\"on_behalf_of\":\"pm_xxx\"}```\n\t */\n\tdata?: Record<string, any> | null\n\n\torder?: OrderRel | null\n\n}\n\n\nclass PaymentOptions extends ApiResource<PaymentOption> {\n\n\tstatic readonly TYPE: PaymentOptionType = 'payment_options' as const\n\n\tasync create(resource: PaymentOptionCreate, params?: QueryParamsRetrieve<PaymentOption>, options?: ResourcesConfig): Promise<PaymentOption> {\n\t\treturn this.resources.create<PaymentOptionCreate, PaymentOption>({ ...resource, type: PaymentOptions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PaymentOptionUpdate, params?: QueryParamsRetrieve<PaymentOption>, options?: ResourcesConfig): Promise<PaymentOption> {\n\t\treturn this.resources.update<PaymentOptionUpdate, PaymentOption>({ ...resource, type: PaymentOptions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: PaymentOptions.TYPE } : id, options)\n\t}\n\n\tasync order(paymentOptionId: string | PaymentOption, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order> {\n\t\tconst _paymentOptionId = (paymentOptionId as PaymentOption).id || paymentOptionId as string\n\t\treturn this.resources.fetch<Order>({ type: 'orders' }, `payment_options/${_paymentOptionId}/order`, params, options) as unknown as Order\n\t}\n\n\tasync attachments(paymentOptionId: string | PaymentOption, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _paymentOptionId = (paymentOptionId as PaymentOption).id || paymentOptionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `payment_options/${_paymentOptionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(paymentOptionId: string | PaymentOption, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _paymentOptionId = (paymentOptionId as PaymentOption).id || paymentOptionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `payment_options/${_paymentOptionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisPaymentOption(resource: any): resource is PaymentOption {\n\t\treturn resource.type && (resource.type === PaymentOptions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PaymentOptionRel {\n\t\treturn super.relationshipOneToOne<PaymentOptionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PaymentOptionRel[] {\n\t\treturn super.relationshipOneToMany<PaymentOptionRel>(...ids)\n\t}\n\n\n\ttype(): PaymentOptionType {\n\t\treturn PaymentOptions.TYPE\n\t}\n\n}\n\n\nconst instance = new PaymentOptions()\nexport default instance\n\nexport type { PaymentOption, PaymentOptionCreate, PaymentOptions, PaymentOptionType, PaymentOptionUpdate }\n"]}
@@ -1,163 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk7RZTCBDR_cjs = require('./chunk-7RZTCBDR.cjs');
4
-
5
- // src/error.ts
6
- var ErrorType = /* @__PURE__ */ ((ErrorType2) => {
7
- ErrorType2["CLIENT"] = "client";
8
- ErrorType2["REQUEST"] = "request";
9
- ErrorType2["RESPONSE"] = "response";
10
- ErrorType2["CANCEL"] = "cancel";
11
- ErrorType2["PARSE"] = "parse";
12
- ErrorType2["TIMEOUT"] = "timeout";
13
- ErrorType2["TOKEN_REFRESH"] = "token-refresh";
14
- return ErrorType2;
15
- })(ErrorType || {});
16
- var SdkError = class _SdkError extends Error {
17
- static NAME = "SdkError";
18
- static isSdkError(error) {
19
- return error && [_SdkError.NAME, ApiError.NAME].includes(error.name) && Object.values(ErrorType).includes(error.type);
20
- }
21
- type;
22
- code;
23
- source;
24
- constructor(error) {
25
- super(error.message);
26
- this.name = _SdkError.NAME;
27
- this.type = error.type || "client" /* CLIENT */;
28
- }
29
- };
30
- var ApiError = class _ApiError extends SdkError {
31
- static NAME = "ApiError";
32
- static isApiError(error) {
33
- return SdkError.isSdkError(error) && error.name === _ApiError.NAME && error.type === "response" /* RESPONSE */;
34
- }
35
- errors = [];
36
- status;
37
- statusText;
38
- // constructor(error: SdkError)
39
- constructor(error) {
40
- super({ ...error, type: "response" /* RESPONSE */ });
41
- this.name = _ApiError.NAME;
42
- }
43
- first() {
44
- return this.errors?.length > 0 ? this.errors[0] : void 0;
45
- }
46
- };
47
- var isRequestError = (error) => {
48
- return error instanceof TypeError && error.message !== "fetch failed";
49
- };
50
- var isCancelError = (error) => {
51
- return error instanceof DOMException && error.name === "AbortError";
52
- };
53
- var isTimeoutError = (error) => {
54
- return error instanceof DOMException && error.name === "TimeoutError";
55
- };
56
- var isExpiredTokenError = (error) => {
57
- const invalidTokenCodes = [
58
- "INVALID_TOKEN"
59
- /*, 'UNAUTHORIZED' */
60
- ];
61
- return ApiError.isApiError(error) && error.status === 401 && (invalidTokenCodes.includes(error.code || "") || error.errors && error.errors.length > 0 && invalidTokenCodes.includes(error.errors[0].code));
62
- };
63
- var handleError = (error) => {
64
- if (SdkError.isSdkError(error) || ApiError.isApiError(error)) throw error;
65
- let sdkError = new SdkError({ message: error.message });
66
- if (FetchError.isFetchError(error)) {
67
- const apiError = new ApiError(sdkError);
68
- apiError.type = "response" /* RESPONSE */;
69
- apiError.status = error.status;
70
- apiError.statusText = error.statusText;
71
- apiError.code = String(apiError.status);
72
- apiError.errors = error.errors || [];
73
- if (!apiError.message && apiError.statusText) apiError.message = apiError.statusText;
74
- sdkError = apiError;
75
- } else if (isRequestError(error)) {
76
- sdkError.type = "request" /* REQUEST */;
77
- } else if (isCancelError(error)) {
78
- sdkError.type = "cancel" /* CANCEL */;
79
- } else if (isTimeoutError(error)) {
80
- sdkError.type = "timeout" /* TIMEOUT */;
81
- } else {
82
- sdkError.type = "client" /* CLIENT */;
83
- sdkError.source = error;
84
- }
85
- throw sdkError;
86
- };
87
- function isSdkError(error) {
88
- return SdkError.isSdkError(error);
89
- }
90
- function isApiError(error) {
91
- return ApiError.isApiError(error);
92
- }
93
-
94
- // src/fetch.ts
95
- var debug = chunk7RZTCBDR_cjs.debug_default("fetch");
96
- var FetchError = class _FetchError extends Error {
97
- static NAME = "FetchError";
98
- static isFetchError = (error) => {
99
- return error instanceof _FetchError;
100
- };
101
- #errors;
102
- #status;
103
- #statusText;
104
- #request;
105
- constructor(status, statusText, body, request) {
106
- super(statusText);
107
- this.#status = status;
108
- this.#statusText = statusText;
109
- if (body) this.#errors = body.errors;
110
- if (request) this.#request = request;
111
- this.name = _FetchError.NAME;
112
- }
113
- get errors() {
114
- return this.#errors;
115
- }
116
- get status() {
117
- return this.#status;
118
- }
119
- get statusText() {
120
- return this.#statusText;
121
- }
122
- get request() {
123
- return this.#request;
124
- }
125
- };
126
- var fetchURL = async (url, requestOptions, clientOptions) => {
127
- debug("fetch: %s, %O, native[%s]", url, requestOptions || {}, clientOptions?.fetch ? "no" : "yes");
128
- const interceptors = clientOptions?.interceptors;
129
- if (interceptors?.request?.onSuccess) ({ url, options: requestOptions } = await interceptors.request.onSuccess({ url, options: requestOptions }));
130
- const fetchClient = clientOptions?.fetch || fetch;
131
- let response = await fetchClient(url, requestOptions);
132
- if (response.ok) {
133
- if (interceptors?.rawReader?.onSuccess) await interceptors.rawReader.onSuccess(response);
134
- if (interceptors?.response?.onSuccess) response = await interceptors.response.onSuccess(response);
135
- } else {
136
- if (interceptors?.rawReader?.onFailure) await interceptors.rawReader.onFailure(response);
137
- }
138
- const responseBody = response.body && response.status !== 204 ? await response.json().then((json) => {
139
- debug("response: %O", json);
140
- return json;
141
- }).catch((err) => {
142
- debug("error: %s", err.message);
143
- if (response.ok) throw new SdkError({ message: "Error parsing API response body", type: "parse" /* PARSE */ });
144
- }) : void 0;
145
- if (!response.ok) {
146
- let error = new FetchError(response.status, response.statusText, responseBody, requestOptions);
147
- if (interceptors?.response?.onFailure) error = await interceptors.response.onFailure(error);
148
- if (error) throw error;
149
- }
150
- return responseBody;
151
- };
152
-
153
- exports.ApiError = ApiError;
154
- exports.ErrorType = ErrorType;
155
- exports.FetchError = FetchError;
156
- exports.SdkError = SdkError;
157
- exports.fetchURL = fetchURL;
158
- exports.handleError = handleError;
159
- exports.isApiError = isApiError;
160
- exports.isExpiredTokenError = isExpiredTokenError;
161
- exports.isSdkError = isSdkError;
162
- //# sourceMappingURL=chunk-LQ5GKVLT.cjs.map
163
- //# sourceMappingURL=chunk-LQ5GKVLT.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/error.ts","../src/fetch.ts"],"names":["ErrorType","debug_default"],"mappings":"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","file":"chunk-LQ5GKVLT.cjs","sourcesContent":["import { FetchError } from './fetch'\n\n\nenum ErrorType {\n\tCLIENT = 'client',\t\t \t\t\t\t// Generic Client error\n\tREQUEST = 'request',\t\t\t\t\t\t// Error preparing API request\n\tRESPONSE = 'response',\t\t\t\t\t// Error response from API\n\tCANCEL = 'cancel',\t\t \t\t\t\t// Forced request abort using interceptor\n\tPARSE = 'parse',\t\t \t\t\t\t// Error parsing API resource\n TIMEOUT = 'timeout', \t\t\t\t// Timeout error\n\tTOKEN_REFRESH = 'token-refresh'\t// Error calling refresh token function\n}\n\n\nclass SdkError extends Error {\n\n\tstatic NAME = 'SdkError'\n\n\tstatic isSdkError(error: any): error is SdkError {\n\t\treturn error && [SdkError.NAME, ApiError.NAME].includes(error.name as string) && Object.values(ErrorType).includes(error.type as ErrorType)\n\t}\n\n\ttype: ErrorType\n\tcode?: string\n\tsource?: Error\n\n\tconstructor(error: { message: string, type?: ErrorType }) {\n\t\tsuper(error.message)\n\t\tthis.name = SdkError.NAME\n\t\tthis.type = error.type || ErrorType.CLIENT\n\t}\n\n}\n\n\nclass ApiError extends SdkError {\n\n\tstatic NAME = 'ApiError'\n\n\tstatic isApiError(error: any): error is ApiError {\n\t\treturn SdkError.isSdkError(error) && (error.name === ApiError.NAME) && (error.type === ErrorType.RESPONSE)\n\t}\n\n\terrors: any[] = []\n\tstatus?: number\n\tstatusText?: string\n\n\t// constructor(error: SdkError)\n\tconstructor(error: { message: string }) {\n\t\tsuper({ ...error, type: ErrorType.RESPONSE })\n\t\tthis.name = ApiError.NAME\n\t}\n\n\tfirst(): any {\n\t\treturn (this.errors?.length > 0) ? this.errors[0] : undefined\n\t}\n\n}\n\n\nconst isRequestError = (error: any): error is TypeError => {\n\treturn (error instanceof TypeError) && (error.message !== 'fetch failed')\n}\n\nconst isCancelError = (error: any): boolean => {\n\treturn (error instanceof DOMException) && (error.name === 'AbortError')\n}\n\nconst isTimeoutError = (error: any): boolean => {\n\treturn (error instanceof DOMException) && (error.name === 'TimeoutError')\n}\n\nconst isExpiredTokenError = (error: any): boolean => {\n\tconst invalidTokenCodes = ['INVALID_TOKEN'/*, 'UNAUTHORIZED' */]\n\treturn (ApiError.isApiError(error) && (error.status === 401) && (\n\t\tinvalidTokenCodes.includes(error.code || '') ||\n\t\t(error.errors && (error.errors.length > 0) && invalidTokenCodes.includes(error.errors[0].code as string))\n\t))\n}\n\n\nconst handleError = (error: Error): never => {\n\n\tif (SdkError.isSdkError(error) || ApiError.isApiError(error)) throw error\n\n\tlet sdkError = new SdkError({ message: error.message })\n\n\tif (FetchError.isFetchError(error)) {\n\t\t// console.log('Fetch Error')\n\t\tconst apiError = new ApiError(sdkError)\n\t\tapiError.type = ErrorType.RESPONSE\n\t\tapiError.status = error.status\n\t\tapiError.statusText = error.statusText\n\t\tapiError.code = String(apiError.status)\n\t\tapiError.errors = error.errors || []\n\t\tif (!apiError.message && apiError.statusText) apiError.message = apiError.statusText\n\t\tsdkError = apiError\n\t}\n\telse if (isRequestError(error)) {\n\t\t// console.log('Request Error')\n sdkError.type = ErrorType.REQUEST\n }\n\telse if (isCancelError(error)) {\n\t\t// console.log('Cancel Error')\n sdkError.type = ErrorType.CANCEL\n }\n else if (isTimeoutError(error)) {\n\t\t// console.log('Timeout Error')\n sdkError.type = ErrorType.TIMEOUT\n }\n\telse {\n\t\t// console.log('Generic Error')\n\t\tsdkError.type = ErrorType.CLIENT\n\t\tsdkError.source = error\n\t}\n\n\tthrow sdkError\n\n}\n\n\nexport { ApiError, ErrorType, handleError, isExpiredTokenError, SdkError }\n\n\nexport function isSdkError(error: unknown): error is SdkError {\n\treturn SdkError.isSdkError(error)\n}\n\nexport function isApiError(error: unknown): error is ApiError {\n\treturn ApiError.isApiError(error)\n}\n","\n\n\nimport Debug from './debug'\nimport { ErrorType, SdkError } from './error'\nimport type { InterceptorManager } from './interceptor'\n\nconst debug = Debug('fetch')\n\n\nexport type Fetch = (input: string | URL | Request, init?: RequestInit) => Promise<Response>\n\nexport type FetchResponse = any\nexport type FetchRequestOptions = RequestInit\nexport type FetchClientOptions = {\n interceptors?: InterceptorManager,\n fetch?: Fetch\n}\n\n\nexport class FetchError extends Error {\n\n static NAME = 'FetchError'\n\n static isFetchError = (error: any): error is FetchError => {\n return error instanceof FetchError\n }\n\n readonly #errors?: any[]\n readonly #status: number\n readonly #statusText: string\n readonly #request?: Partial<FetchRequestOptions>\n\n constructor(status: number, statusText: string, body?: any, request?: FetchRequestOptions) {\n super(statusText)\n this.#status = status\n this.#statusText = statusText\n if (body) this.#errors = body.errors\n if (request) this.#request = request\n this.name = FetchError.NAME\n }\n\n\n get errors(): any[] | undefined { return this.#errors }\n\n get status(): number { return this.#status }\n\n get statusText(): string { return this.#statusText }\n\n get request(): Partial<FetchRequestOptions> | undefined { return this.#request }\n\n}\n\n\n\nexport const fetchURL = async (url: URL, requestOptions: FetchRequestOptions, clientOptions?: FetchClientOptions): Promise<FetchResponse> => {\n\n debug('fetch: %s, %O, native[%s]', url, requestOptions || {}, (clientOptions?.fetch? 'no' : 'yes'))\n\n const interceptors = clientOptions?.interceptors\n\n if (interceptors?.request?.onSuccess) ( { url, options: requestOptions } = await interceptors.request.onSuccess({ url, options: requestOptions }) )\n\n // const request: Request = new Request(url, requestOptions) // not supported by all fetch implementations\n\n const fetchClient = clientOptions?.fetch || fetch\n\n let response = await fetchClient(url, requestOptions)\n\n if (response.ok) {\n if (interceptors?.rawReader?.onSuccess) await interceptors.rawReader.onSuccess(response)\n if (interceptors?.response?.onSuccess) response = await interceptors.response.onSuccess(response)\n } else {\n if (interceptors?.rawReader?.onFailure) await interceptors.rawReader.onFailure(response)\n }\n\n const responseBody = (response.body && (response.status !== 204)) ? await response.json()\n .then(json => { debug('response: %O', json); return json })\n .catch((err: Error) => {\n debug('error: %s', err.message)\n if (response.ok) throw new SdkError({ message: 'Error parsing API response body', type: ErrorType.PARSE })\n })\n : undefined\n \n if (!response.ok) {\n let error = new FetchError(response.status, response.statusText, responseBody, requestOptions)\n if (interceptors?.response?.onFailure) error = await interceptors.response.onFailure(error)\n if (error) throw error\n }\n\n return responseBody\n\n}\n"]}
@@ -1,49 +0,0 @@
1
- import { ApiResource } from './chunk-YRCCY6RV.js';
2
-
3
- // src/resources/subscription_models.ts
4
- var SubscriptionModels = class _SubscriptionModels extends ApiResource {
5
- static TYPE = "subscription_models";
6
- async create(resource, params, options) {
7
- return this.resources.create({ ...resource, type: _SubscriptionModels.TYPE }, params, options);
8
- }
9
- async update(resource, params, options) {
10
- return this.resources.update({ ...resource, type: _SubscriptionModels.TYPE }, params, options);
11
- }
12
- async delete(id, options) {
13
- await this.resources.delete(typeof id === "string" ? { id, type: _SubscriptionModels.TYPE } : id, options);
14
- }
15
- async markets(subscriptionModelId, params, options) {
16
- const _subscriptionModelId = subscriptionModelId.id || subscriptionModelId;
17
- return this.resources.fetch({ type: "markets" }, `subscription_models/${_subscriptionModelId}/markets`, params, options);
18
- }
19
- async order_subscriptions(subscriptionModelId, params, options) {
20
- const _subscriptionModelId = subscriptionModelId.id || subscriptionModelId;
21
- return this.resources.fetch({ type: "order_subscriptions" }, `subscription_models/${_subscriptionModelId}/order_subscriptions`, params, options);
22
- }
23
- async attachments(subscriptionModelId, params, options) {
24
- const _subscriptionModelId = subscriptionModelId.id || subscriptionModelId;
25
- return this.resources.fetch({ type: "attachments" }, `subscription_models/${_subscriptionModelId}/attachments`, params, options);
26
- }
27
- async event_stores(subscriptionModelId, params, options) {
28
- const _subscriptionModelId = subscriptionModelId.id || subscriptionModelId;
29
- return this.resources.fetch({ type: "event_stores" }, `subscription_models/${_subscriptionModelId}/event_stores`, params, options);
30
- }
31
- isSubscriptionModel(resource) {
32
- return resource.type && resource.type === _SubscriptionModels.TYPE;
33
- }
34
- relationship(id) {
35
- return super.relationshipOneToOne(id);
36
- }
37
- relationshipToMany(...ids) {
38
- return super.relationshipOneToMany(...ids);
39
- }
40
- type() {
41
- return _SubscriptionModels.TYPE;
42
- }
43
- };
44
- var instance = new SubscriptionModels();
45
- var subscription_models_default = instance;
46
-
47
- export { subscription_models_default };
48
- //# sourceMappingURL=chunk-LS7VSSB4.js.map
49
- //# sourceMappingURL=chunk-LS7VSSB4.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/resources/subscription_models.ts"],"names":[],"mappings":"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","file":"chunk-LS7VSSB4.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Market } from './markets'\nimport type { OrderSubscription } from './order_subscriptions'\n\n\ntype SubscriptionModelType = 'subscription_models'\ntype SubscriptionModelRel = ResourceRel & { type: SubscriptionModelType }\n\n\nexport type SubscriptionModelSort = Pick<SubscriptionModel, 'id' | 'name' | 'strategy'> & ResourceSort\n// export type SubscriptionModelFilter = Pick<SubscriptionModel, 'id' | 'name' | 'strategy' | 'auto_activate' | 'auto_cancel'> & ResourceFilter\n\n\ninterface SubscriptionModel extends Resource {\n\t\n\treadonly type: SubscriptionModelType\n\n\t/** \n\t * The subscription model's internal name.\n\t * @example ```\"EU Subscription Model\"```\n\t */\n\tname: string\n\t/** \n\t * The subscription model's strategy used to generate order subscriptions: one between 'by_frequency' (default) and 'by_line_items'.\n\t * @example ```\"by_frequency\"```\n\t */\n\tstrategy?: string | null\n\t/** \n\t * An object that contains the frequencies available for this subscription model. Supported ones are 'hourly', 'daily', 'weekly', 'monthly', 'two-month', 'three-month', 'four-month', 'six-month', 'yearly', or your custom crontab expression (min unit is hour).\n\t * @example ```[\"hourly\",\"10 * * * *\",\"weekly\",\"monthly\",\"two-month\"]```\n\t */\n\tfrequencies: string[]\n\t/** \n\t * Indicates if the created subscriptions will be activated considering the placed source order as its first run, default to true.\n\t * @example ```true```\n\t */\n\tauto_activate?: boolean | null\n\t/** \n\t * Indicates if the created subscriptions will be cancelled in case the source order is cancelled, default to false.\n\t */\n\tauto_cancel?: boolean | null\n\n\tmarkets?: Market[] | null\n\torder_subscriptions?: OrderSubscription[] | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface SubscriptionModelCreate extends ResourceCreate {\n\t\n\t/** \n\t * The subscription model's internal name.\n\t * @example ```\"EU Subscription Model\"```\n\t */\n\tname: string\n\t/** \n\t * The subscription model's strategy used to generate order subscriptions: one between 'by_frequency' (default) and 'by_line_items'.\n\t * @example ```\"by_frequency\"```\n\t */\n\tstrategy?: string | null\n\t/** \n\t * An object that contains the frequencies available for this subscription model. Supported ones are 'hourly', 'daily', 'weekly', 'monthly', 'two-month', 'three-month', 'four-month', 'six-month', 'yearly', or your custom crontab expression (min unit is hour).\n\t * @example ```[\"hourly\",\"10 * * * *\",\"weekly\",\"monthly\",\"two-month\"]```\n\t */\n\tfrequencies: string[]\n\t/** \n\t * Indicates if the created subscriptions will be activated considering the placed source order as its first run, default to true.\n\t * @example ```true```\n\t */\n\tauto_activate?: boolean | null\n\t/** \n\t * Indicates if the created subscriptions will be cancelled in case the source order is cancelled, default to false.\n\t */\n\tauto_cancel?: boolean | null\n\t\n}\n\n\ninterface SubscriptionModelUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The subscription model's internal name.\n\t * @example ```\"EU Subscription Model\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The subscription model's strategy used to generate order subscriptions: one between 'by_frequency' (default) and 'by_line_items'.\n\t * @example ```\"by_frequency\"```\n\t */\n\tstrategy?: string | null\n\t/** \n\t * An object that contains the frequencies available for this subscription model. Supported ones are 'hourly', 'daily', 'weekly', 'monthly', 'two-month', 'three-month', 'four-month', 'six-month', 'yearly', or your custom crontab expression (min unit is hour).\n\t * @example ```[\"hourly\",\"10 * * * *\",\"weekly\",\"monthly\",\"two-month\"]```\n\t */\n\tfrequencies?: string[] | null\n\t/** \n\t * Indicates if the created subscriptions will be activated considering the placed source order as its first run, default to true.\n\t * @example ```true```\n\t */\n\tauto_activate?: boolean | null\n\t/** \n\t * Indicates if the created subscriptions will be cancelled in case the source order is cancelled, default to false.\n\t */\n\tauto_cancel?: boolean | null\n\t\n}\n\n\nclass SubscriptionModels extends ApiResource<SubscriptionModel> {\n\n\tstatic readonly TYPE: SubscriptionModelType = 'subscription_models' as const\n\n\tasync create(resource: SubscriptionModelCreate, params?: QueryParamsRetrieve<SubscriptionModel>, options?: ResourcesConfig): Promise<SubscriptionModel> {\n\t\treturn this.resources.create<SubscriptionModelCreate, SubscriptionModel>({ ...resource, type: SubscriptionModels.TYPE }, params, options)\n\t}\n\n\tasync update(resource: SubscriptionModelUpdate, params?: QueryParamsRetrieve<SubscriptionModel>, options?: ResourcesConfig): Promise<SubscriptionModel> {\n\t\treturn this.resources.update<SubscriptionModelUpdate, SubscriptionModel>({ ...resource, type: SubscriptionModels.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: SubscriptionModels.TYPE } : id, options)\n\t}\n\n\tasync markets(subscriptionModelId: string | SubscriptionModel, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _subscriptionModelId = (subscriptionModelId as SubscriptionModel).id || subscriptionModelId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `subscription_models/${_subscriptionModelId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync order_subscriptions(subscriptionModelId: string | SubscriptionModel, params?: QueryParamsList<OrderSubscription>, options?: ResourcesConfig): Promise<ListResponse<OrderSubscription>> {\n\t\tconst _subscriptionModelId = (subscriptionModelId as SubscriptionModel).id || subscriptionModelId as string\n\t\treturn this.resources.fetch<OrderSubscription>({ type: 'order_subscriptions' }, `subscription_models/${_subscriptionModelId}/order_subscriptions`, params, options) as unknown as ListResponse<OrderSubscription>\n\t}\n\n\tasync attachments(subscriptionModelId: string | SubscriptionModel, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _subscriptionModelId = (subscriptionModelId as SubscriptionModel).id || subscriptionModelId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `subscription_models/${_subscriptionModelId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(subscriptionModelId: string | SubscriptionModel, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _subscriptionModelId = (subscriptionModelId as SubscriptionModel).id || subscriptionModelId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `subscription_models/${_subscriptionModelId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisSubscriptionModel(resource: any): resource is SubscriptionModel {\n\t\treturn resource.type && (resource.type === SubscriptionModels.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): SubscriptionModelRel {\n\t\treturn super.relationshipOneToOne<SubscriptionModelRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): SubscriptionModelRel[] {\n\t\treturn super.relationshipOneToMany<SubscriptionModelRel>(...ids)\n\t}\n\n\n\ttype(): SubscriptionModelType {\n\t\treturn SubscriptionModels.TYPE\n\t}\n\n}\n\n\nconst instance = new SubscriptionModels()\nexport default instance\n\nexport type { SubscriptionModel, SubscriptionModelCreate, SubscriptionModels, SubscriptionModelType, SubscriptionModelUpdate }\n"]}