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

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 (1820) hide show
  1. package/LICENSE +1 -1
  2. package/lib/api-B1BMXFo6.d.cts +19348 -0
  3. package/lib/api-B1BMXFo6.d.ts +19348 -0
  4. package/lib/api.cjs +315 -321
  5. package/lib/api.d.cts +1 -4
  6. package/lib/api.d.ts +1 -4
  7. package/lib/api.js +139 -145
  8. package/lib/binding.cjs +14 -0
  9. package/lib/binding.cjs.map +1 -0
  10. package/lib/binding.d.cts +20 -0
  11. package/lib/binding.d.ts +20 -0
  12. package/lib/binding.js +5 -0
  13. package/lib/binding.js.map +1 -0
  14. package/lib/bundle-compat.cjs +142 -148
  15. package/lib/bundle-compat.cjs.map +1 -1
  16. package/lib/bundle-compat.d.cts +2 -5
  17. package/lib/bundle-compat.d.ts +2 -5
  18. package/lib/bundle-compat.js +141 -147
  19. package/lib/bundle-compat.js.map +1 -1
  20. package/lib/bundle.cjs +143 -149
  21. package/lib/bundle.d.cts +2 -5
  22. package/lib/bundle.d.ts +2 -5
  23. package/lib/bundle.js +141 -147
  24. package/lib/chunk-22QEVU7O.js +118 -0
  25. package/lib/chunk-22QEVU7O.js.map +1 -0
  26. package/lib/chunk-23N7ZNJN.cjs +85 -0
  27. package/lib/chunk-23N7ZNJN.cjs.map +1 -0
  28. package/lib/chunk-24FKVY4W.js +53 -0
  29. package/lib/chunk-24FKVY4W.js.map +1 -0
  30. package/lib/chunk-27C4F3SM.cjs +91 -0
  31. package/lib/chunk-27C4F3SM.cjs.map +1 -0
  32. package/lib/chunk-2BDFFEBL.js +168 -0
  33. package/lib/chunk-2BDFFEBL.js.map +1 -0
  34. package/lib/chunk-2DLE4OHU.js +91 -0
  35. package/lib/chunk-2DLE4OHU.js.map +1 -0
  36. package/lib/chunk-2EFMY5ID.js +60 -0
  37. package/lib/chunk-2EFMY5ID.js.map +1 -0
  38. package/lib/chunk-2GWJ3F3V.js +177 -0
  39. package/lib/chunk-2GWJ3F3V.js.map +1 -0
  40. package/lib/chunk-2JGAWCSO.js +68 -0
  41. package/lib/chunk-2JGAWCSO.js.map +1 -0
  42. package/lib/chunk-2P72JFW6.js +68 -0
  43. package/lib/chunk-2P72JFW6.js.map +1 -0
  44. package/lib/chunk-2P7JGV3T.cjs +70 -0
  45. package/lib/chunk-2P7JGV3T.cjs.map +1 -0
  46. package/lib/chunk-2R7IRINK.js +79 -0
  47. package/lib/chunk-2R7IRINK.js.map +1 -0
  48. package/lib/chunk-3GCSAK5R.cjs +77 -0
  49. package/lib/chunk-3GCSAK5R.cjs.map +1 -0
  50. package/lib/chunk-3OJL5XNH.js +77 -0
  51. package/lib/chunk-3OJL5XNH.js.map +1 -0
  52. package/lib/chunk-3TT3ZNWR.cjs +71 -0
  53. package/lib/chunk-3TT3ZNWR.cjs.map +1 -0
  54. package/lib/chunk-3Y3P26RJ.js +86 -0
  55. package/lib/chunk-3Y3P26RJ.js.map +1 -0
  56. package/lib/chunk-43XLD2HN.cjs +70 -0
  57. package/lib/chunk-43XLD2HN.cjs.map +1 -0
  58. package/lib/chunk-4RIOLWWG.js +82 -0
  59. package/lib/chunk-4RIOLWWG.js.map +1 -0
  60. package/lib/chunk-4SH4UNDF.cjs +98 -0
  61. package/lib/chunk-4SH4UNDF.cjs.map +1 -0
  62. package/lib/chunk-4WU3YZF6.cjs +4 -0
  63. package/lib/chunk-4WU3YZF6.cjs.map +1 -0
  64. package/lib/chunk-4ZIHEYP7.cjs +70 -0
  65. package/lib/chunk-4ZIHEYP7.cjs.map +1 -0
  66. package/lib/chunk-57BH3H7I.cjs +79 -0
  67. package/lib/chunk-57BH3H7I.cjs.map +1 -0
  68. package/lib/chunk-5AXTTRTZ.cjs +166 -0
  69. package/lib/chunk-5AXTTRTZ.cjs.map +1 -0
  70. package/lib/chunk-5BLV7QCQ.js +177 -0
  71. package/lib/chunk-5BLV7QCQ.js.map +1 -0
  72. package/lib/chunk-5E7XDFEY.cjs +70 -0
  73. package/lib/chunk-5E7XDFEY.cjs.map +1 -0
  74. package/lib/chunk-5GCRDWIT.cjs +53 -0
  75. package/lib/chunk-5GCRDWIT.cjs.map +1 -0
  76. package/lib/chunk-5H4QQYLL.cjs +29 -0
  77. package/lib/chunk-5H4QQYLL.cjs.map +1 -0
  78. package/lib/chunk-5JC7I6QJ.js +177 -0
  79. package/lib/chunk-5JC7I6QJ.js.map +1 -0
  80. package/lib/chunk-5N2UKZQB.cjs +44 -0
  81. package/lib/chunk-5N2UKZQB.cjs.map +1 -0
  82. package/lib/chunk-5OBBF2XZ.js +118 -0
  83. package/lib/chunk-5OBBF2XZ.js.map +1 -0
  84. package/lib/chunk-5OFBIQYL.js +60 -0
  85. package/lib/chunk-5OFBIQYL.js.map +1 -0
  86. package/lib/chunk-5WEDRZPL.cjs +44 -0
  87. package/lib/chunk-5WEDRZPL.cjs.map +1 -0
  88. package/lib/chunk-5WTAGYRE.cjs +88 -0
  89. package/lib/chunk-5WTAGYRE.cjs.map +1 -0
  90. package/lib/chunk-5YV2MUSC.js +75 -0
  91. package/lib/chunk-5YV2MUSC.js.map +1 -0
  92. package/lib/chunk-65VX4PJL.cjs +79 -0
  93. package/lib/chunk-65VX4PJL.cjs.map +1 -0
  94. package/lib/chunk-6KP5YH6F.js +68 -0
  95. package/lib/chunk-6KP5YH6F.js.map +1 -0
  96. package/lib/chunk-73PDTWDI.js +83 -0
  97. package/lib/chunk-73PDTWDI.js.map +1 -0
  98. package/lib/chunk-756AJG23.cjs +61 -0
  99. package/lib/chunk-756AJG23.cjs.map +1 -0
  100. package/lib/chunk-7CWPDL7D.cjs +71 -0
  101. package/lib/chunk-7CWPDL7D.cjs.map +1 -0
  102. package/lib/chunk-7WOEETZZ.cjs +79 -0
  103. package/lib/chunk-7WOEETZZ.cjs.map +1 -0
  104. package/lib/chunk-A3W5ZTHY.js +77 -0
  105. package/lib/chunk-A3W5ZTHY.js.map +1 -0
  106. package/lib/chunk-A3XAAY6I.js +123 -0
  107. package/lib/chunk-A3XAAY6I.js.map +1 -0
  108. package/lib/chunk-ADQDVME4.js +42 -0
  109. package/lib/chunk-ADQDVME4.js.map +1 -0
  110. package/lib/chunk-AFCRSRTJ.js +75 -0
  111. package/lib/chunk-AFCRSRTJ.js.map +1 -0
  112. package/lib/chunk-AM3F6VLX.cjs +193 -0
  113. package/lib/chunk-AM3F6VLX.cjs.map +1 -0
  114. package/lib/chunk-AVDVPECB.cjs +122 -0
  115. package/lib/chunk-AVDVPECB.cjs.map +1 -0
  116. package/lib/chunk-AXGILGEL.js +42 -0
  117. package/lib/chunk-AXGILGEL.js.map +1 -0
  118. package/lib/chunk-AZXCR5YI.cjs +79 -0
  119. package/lib/chunk-AZXCR5YI.cjs.map +1 -0
  120. package/lib/chunk-B4WLQFDI.cjs +120 -0
  121. package/lib/chunk-B4WLQFDI.cjs.map +1 -0
  122. package/lib/chunk-B6WVZLF2.cjs +79 -0
  123. package/lib/chunk-B6WVZLF2.cjs.map +1 -0
  124. package/lib/chunk-BALL5SQ4.cjs +131 -0
  125. package/lib/chunk-BALL5SQ4.cjs.map +1 -0
  126. package/lib/chunk-BBI33EU4.cjs +102 -0
  127. package/lib/chunk-BBI33EU4.cjs.map +1 -0
  128. package/lib/chunk-BHL3OK33.cjs +118 -0
  129. package/lib/chunk-BHL3OK33.cjs.map +1 -0
  130. package/lib/chunk-BOM4XWDX.cjs +79 -0
  131. package/lib/chunk-BOM4XWDX.cjs.map +1 -0
  132. package/lib/chunk-BROHUUMK.cjs +62 -0
  133. package/lib/chunk-BROHUUMK.cjs.map +1 -0
  134. package/lib/chunk-BTWAXIAN.js +86 -0
  135. package/lib/chunk-BTWAXIAN.js.map +1 -0
  136. package/lib/chunk-BVP4O5YT.js +12 -0
  137. package/lib/chunk-BVP4O5YT.js.map +1 -0
  138. package/lib/chunk-C2HCNUWI.js +86 -0
  139. package/lib/chunk-C2HCNUWI.js.map +1 -0
  140. package/lib/chunk-C4LEK74I.cjs +67 -0
  141. package/lib/chunk-C4LEK74I.cjs.map +1 -0
  142. package/lib/chunk-C4OIX7FQ.js +65 -0
  143. package/lib/chunk-C4OIX7FQ.js.map +1 -0
  144. package/lib/chunk-CAFLLUM3.js +75 -0
  145. package/lib/chunk-CAFLLUM3.js.map +1 -0
  146. package/lib/chunk-CBEDD5XV.cjs +179 -0
  147. package/lib/chunk-CBEDD5XV.cjs.map +1 -0
  148. package/lib/chunk-CCBZH2BZ.js +177 -0
  149. package/lib/chunk-CCBZH2BZ.js.map +1 -0
  150. package/lib/chunk-CEPPOT75.js +59 -0
  151. package/lib/chunk-CEPPOT75.js.map +1 -0
  152. package/lib/chunk-CLX2MA3D.cjs +77 -0
  153. package/lib/chunk-CLX2MA3D.cjs.map +1 -0
  154. package/lib/chunk-CNFMQUCE.js +68 -0
  155. package/lib/chunk-CNFMQUCE.js.map +1 -0
  156. package/lib/chunk-CTXGAWSA.cjs +55 -0
  157. package/lib/chunk-CTXGAWSA.cjs.map +1 -0
  158. package/lib/chunk-CWH7I3BL.js +68 -0
  159. package/lib/chunk-CWH7I3BL.js.map +1 -0
  160. package/lib/chunk-D3U7JSGR.cjs +60 -0
  161. package/lib/chunk-D3U7JSGR.cjs.map +1 -0
  162. package/lib/chunk-D6YW3NMU.cjs +86 -0
  163. package/lib/chunk-D6YW3NMU.cjs.map +1 -0
  164. package/lib/chunk-DCFZLBUH.js +60 -0
  165. package/lib/chunk-DCFZLBUH.js.map +1 -0
  166. package/lib/chunk-DD42A7RW.cjs +88 -0
  167. package/lib/chunk-DD42A7RW.cjs.map +1 -0
  168. package/lib/chunk-DH4MWJA5.js +50 -0
  169. package/lib/chunk-DH4MWJA5.js.map +1 -0
  170. package/lib/chunk-DMKFUBUL.cjs +79 -0
  171. package/lib/chunk-DMKFUBUL.cjs.map +1 -0
  172. package/lib/chunk-DODU3HR5.js +68 -0
  173. package/lib/chunk-DODU3HR5.js.map +1 -0
  174. package/lib/chunk-DPEMEKMH.js +91 -0
  175. package/lib/chunk-DPEMEKMH.js.map +1 -0
  176. package/lib/chunk-DQTUZXNM.cjs +60 -0
  177. package/lib/chunk-DQTUZXNM.cjs.map +1 -0
  178. package/lib/chunk-DSHKV2DU.cjs +614 -0
  179. package/lib/chunk-DSHKV2DU.cjs.map +1 -0
  180. package/lib/chunk-DVR45EYD.js +69 -0
  181. package/lib/chunk-DVR45EYD.js.map +1 -0
  182. package/lib/chunk-DYS7XVRH.js +92 -0
  183. package/lib/chunk-DYS7XVRH.js.map +1 -0
  184. package/lib/chunk-DZFJO4LF.cjs +816 -0
  185. package/lib/chunk-DZFJO4LF.cjs.map +1 -0
  186. package/lib/chunk-DZGXCZVF.cjs +53 -0
  187. package/lib/chunk-DZGXCZVF.cjs.map +1 -0
  188. package/lib/chunk-E6AATN7Y.cjs +70 -0
  189. package/lib/chunk-E6AATN7Y.cjs.map +1 -0
  190. package/lib/chunk-E7VI2SVA.cjs +93 -0
  191. package/lib/chunk-E7VI2SVA.cjs.map +1 -0
  192. package/lib/chunk-EB66RJXX.cjs +90 -0
  193. package/lib/chunk-EB66RJXX.cjs.map +1 -0
  194. package/lib/chunk-ECFRQWZF.js +77 -0
  195. package/lib/chunk-ECFRQWZF.js.map +1 -0
  196. package/lib/chunk-EDLY6XW6.cjs +61 -0
  197. package/lib/chunk-EDLY6XW6.cjs.map +1 -0
  198. package/lib/chunk-EHIRQORB.js +113 -0
  199. package/lib/chunk-EHIRQORB.js.map +1 -0
  200. package/lib/chunk-EN5IKIGN.cjs +53 -0
  201. package/lib/chunk-EN5IKIGN.cjs.map +1 -0
  202. package/lib/chunk-EORYVMG7.cjs +102 -0
  203. package/lib/chunk-EORYVMG7.cjs.map +1 -0
  204. package/lib/chunk-EP353ENQ.js +17 -0
  205. package/lib/chunk-EP353ENQ.js.map +1 -0
  206. package/lib/chunk-EPWU4GMQ.cjs +84 -0
  207. package/lib/chunk-EPWU4GMQ.cjs.map +1 -0
  208. package/lib/chunk-EQ7F256D.js +180 -0
  209. package/lib/chunk-EQ7F256D.js.map +1 -0
  210. package/lib/chunk-EVBJLO37.js +60 -0
  211. package/lib/chunk-EVBJLO37.js.map +1 -0
  212. package/lib/chunk-F3S2D4XA.js +44 -0
  213. package/lib/chunk-F3S2D4XA.js.map +1 -0
  214. package/lib/chunk-F6G7TTJP.js +42 -0
  215. package/lib/chunk-F6G7TTJP.js.map +1 -0
  216. package/lib/chunk-FAONDNFT.js +82 -0
  217. package/lib/chunk-FAONDNFT.js.map +1 -0
  218. package/lib/chunk-FGHB6SIM.cjs +122 -0
  219. package/lib/chunk-FGHB6SIM.cjs.map +1 -0
  220. package/lib/chunk-FKMQZNBZ.js +51 -0
  221. package/lib/chunk-FKMQZNBZ.js.map +1 -0
  222. package/lib/chunk-FSJ5ASJO.js +68 -0
  223. package/lib/chunk-FSJ5ASJO.js.map +1 -0
  224. package/lib/chunk-FSYGL7JD.js +3 -0
  225. package/lib/chunk-FSYGL7JD.js.map +1 -0
  226. package/lib/chunk-FYRSCQAT.js +100 -0
  227. package/lib/chunk-FYRSCQAT.js.map +1 -0
  228. package/lib/chunk-GDFQYZF4.js +94 -0
  229. package/lib/chunk-GDFQYZF4.js.map +1 -0
  230. package/lib/chunk-GDLOUNY7.cjs +88 -0
  231. package/lib/chunk-GDLOUNY7.cjs.map +1 -0
  232. package/lib/chunk-GDYUR3M5.cjs +91 -0
  233. package/lib/chunk-GDYUR3M5.cjs.map +1 -0
  234. package/lib/chunk-GH5VQCDT.cjs +179 -0
  235. package/lib/chunk-GH5VQCDT.cjs.map +1 -0
  236. package/lib/chunk-GLQ55MH2.cjs +77 -0
  237. package/lib/chunk-GLQ55MH2.cjs.map +1 -0
  238. package/lib/chunk-GXID6I4X.cjs +62 -0
  239. package/lib/chunk-GXID6I4X.cjs.map +1 -0
  240. package/lib/chunk-H24OE6OL.js +542 -0
  241. package/lib/chunk-H24OE6OL.js.map +1 -0
  242. package/lib/chunk-HAVNDSL3.js +68 -0
  243. package/lib/chunk-HAVNDSL3.js.map +1 -0
  244. package/lib/chunk-HAWT3AVI.cjs +35 -0
  245. package/lib/chunk-HAWT3AVI.cjs.map +1 -0
  246. package/lib/chunk-HAZOMHMN.js +80 -0
  247. package/lib/chunk-HAZOMHMN.js.map +1 -0
  248. package/lib/chunk-HBQQF3YE.js +84 -0
  249. package/lib/chunk-HBQQF3YE.js.map +1 -0
  250. package/lib/chunk-HBXGDXPS.cjs +198 -0
  251. package/lib/chunk-HBXGDXPS.cjs.map +1 -0
  252. package/lib/chunk-HETS5MDK.js +100 -0
  253. package/lib/chunk-HETS5MDK.js.map +1 -0
  254. package/lib/chunk-HIFEJ3UD.js +89 -0
  255. package/lib/chunk-HIFEJ3UD.js.map +1 -0
  256. package/lib/chunk-HOK4CEEE.js +69 -0
  257. package/lib/chunk-HOK4CEEE.js.map +1 -0
  258. package/lib/chunk-HQSUDPLN.js +42 -0
  259. package/lib/chunk-HQSUDPLN.js.map +1 -0
  260. package/lib/chunk-HRXF5PYG.js +191 -0
  261. package/lib/chunk-HRXF5PYG.js.map +1 -0
  262. package/lib/chunk-HVE6MLV2.cjs +63 -0
  263. package/lib/chunk-HVE6MLV2.cjs.map +1 -0
  264. package/lib/chunk-HVMK64MS.cjs +77 -0
  265. package/lib/chunk-HVMK64MS.cjs.map +1 -0
  266. package/lib/chunk-I663QZHP.js +60 -0
  267. package/lib/chunk-I663QZHP.js.map +1 -0
  268. package/lib/chunk-I6QA5OLE.cjs +98 -0
  269. package/lib/chunk-I6QA5OLE.cjs.map +1 -0
  270. package/lib/chunk-IBO6CPGX.cjs +98 -0
  271. package/lib/chunk-IBO6CPGX.cjs.map +1 -0
  272. package/lib/chunk-IBVEEQKC.js +89 -0
  273. package/lib/chunk-IBVEEQKC.js.map +1 -0
  274. package/lib/chunk-IERQWZMB.cjs +70 -0
  275. package/lib/chunk-IERQWZMB.cjs.map +1 -0
  276. package/lib/chunk-ILK4A253.cjs +179 -0
  277. package/lib/chunk-ILK4A253.cjs.map +1 -0
  278. package/lib/chunk-INWIFJOG.cjs +94 -0
  279. package/lib/chunk-INWIFJOG.cjs.map +1 -0
  280. package/lib/chunk-IOFM4JEN.cjs +44 -0
  281. package/lib/chunk-IOFM4JEN.cjs.map +1 -0
  282. package/lib/chunk-IOHDRJKA.cjs +80 -0
  283. package/lib/chunk-IOHDRJKA.cjs.map +1 -0
  284. package/lib/chunk-IVP2QAEE.js +77 -0
  285. package/lib/chunk-IVP2QAEE.js.map +1 -0
  286. package/lib/chunk-J4CIIZ7K.js +58 -0
  287. package/lib/chunk-J4CIIZ7K.js.map +1 -0
  288. package/lib/chunk-J5RQQEG7.js +89 -0
  289. package/lib/chunk-J5RQQEG7.js.map +1 -0
  290. package/lib/chunk-JDZMUJEG.js +100 -0
  291. package/lib/chunk-JDZMUJEG.js.map +1 -0
  292. package/lib/chunk-JGRWFQIK.cjs +52 -0
  293. package/lib/chunk-JGRWFQIK.cjs.map +1 -0
  294. package/lib/chunk-JHQLDVWP.cjs +67 -0
  295. package/lib/chunk-JHQLDVWP.cjs.map +1 -0
  296. package/lib/chunk-JIDUW5OL.js +82 -0
  297. package/lib/chunk-JIDUW5OL.js.map +1 -0
  298. package/lib/chunk-JR3KXI2J.cjs +117 -0
  299. package/lib/chunk-JR3KXI2J.cjs.map +1 -0
  300. package/lib/chunk-JROMCT3R.cjs +88 -0
  301. package/lib/chunk-JROMCT3R.cjs.map +1 -0
  302. package/lib/chunk-JTCQISTA.cjs +91 -0
  303. package/lib/chunk-JTCQISTA.cjs.map +1 -0
  304. package/lib/chunk-K6R2EBBD.cjs +70 -0
  305. package/lib/chunk-K6R2EBBD.cjs.map +1 -0
  306. package/lib/chunk-KAAL3X72.cjs +84 -0
  307. package/lib/chunk-KAAL3X72.cjs.map +1 -0
  308. package/lib/chunk-KAFJIMKH.js +88 -0
  309. package/lib/chunk-KAFJIMKH.js.map +1 -0
  310. package/lib/chunk-KD6CL5CK.cjs +81 -0
  311. package/lib/chunk-KD6CL5CK.cjs.map +1 -0
  312. package/lib/chunk-KGDYXOHY.js +51 -0
  313. package/lib/chunk-KGDYXOHY.js.map +1 -0
  314. package/lib/chunk-KITEAEYA.js +96 -0
  315. package/lib/chunk-KITEAEYA.js.map +1 -0
  316. package/lib/chunk-KLQVXFFS.cjs +179 -0
  317. package/lib/chunk-KLQVXFFS.cjs.map +1 -0
  318. package/lib/chunk-KNYGM6CD.cjs +79 -0
  319. package/lib/chunk-KNYGM6CD.cjs.map +1 -0
  320. package/lib/chunk-L2CAYREK.js +68 -0
  321. package/lib/chunk-L2CAYREK.js.map +1 -0
  322. package/lib/chunk-L3Q2TFM3.js +191 -0
  323. package/lib/chunk-L3Q2TFM3.js.map +1 -0
  324. package/lib/chunk-L6UNI64M.cjs +91 -0
  325. package/lib/chunk-L6UNI64M.cjs.map +1 -0
  326. package/lib/chunk-LCAZRGON.js +116 -0
  327. package/lib/chunk-LCAZRGON.js.map +1 -0
  328. package/lib/chunk-LDE7CC7L.js +196 -0
  329. package/lib/chunk-LDE7CC7L.js.map +1 -0
  330. package/lib/chunk-LFCHI43P.cjs +46 -0
  331. package/lib/chunk-LFCHI43P.cjs.map +1 -0
  332. package/lib/chunk-LIBKAWDY.cjs +712 -0
  333. package/lib/chunk-LIBKAWDY.cjs.map +1 -0
  334. package/lib/chunk-LKDWO346.js +68 -0
  335. package/lib/chunk-LKDWO346.js.map +1 -0
  336. package/lib/chunk-LLYSQ5JX.js +60 -0
  337. package/lib/chunk-LLYSQ5JX.js.map +1 -0
  338. package/lib/chunk-LP4HCCSP.js +132 -0
  339. package/lib/chunk-LP4HCCSP.js.map +1 -0
  340. package/lib/chunk-LVZUJ6IN.js +120 -0
  341. package/lib/chunk-LVZUJ6IN.js.map +1 -0
  342. package/lib/chunk-M2TFEBGP.cjs +75 -0
  343. package/lib/chunk-M2TFEBGP.cjs.map +1 -0
  344. package/lib/chunk-MITMRRX2.cjs +19 -0
  345. package/lib/chunk-MITMRRX2.cjs.map +1 -0
  346. package/lib/chunk-MMF27PU7.js +612 -0
  347. package/lib/chunk-MMF27PU7.js.map +1 -0
  348. package/lib/chunk-MRVEUGPI.cjs +52 -0
  349. package/lib/chunk-MRVEUGPI.cjs.map +1 -0
  350. package/lib/chunk-MUBD6YPJ.cjs +70 -0
  351. package/lib/chunk-MUBD6YPJ.cjs.map +1 -0
  352. package/lib/chunk-N5FS2DVM.js +75 -0
  353. package/lib/chunk-N5FS2DVM.js.map +1 -0
  354. package/lib/chunk-N6HG6W3R.js +92 -0
  355. package/lib/chunk-N6HG6W3R.js.map +1 -0
  356. package/lib/chunk-NBCRS7KO.cjs +556 -0
  357. package/lib/chunk-NBCRS7KO.cjs.map +1 -0
  358. package/lib/chunk-NBXYK3NQ.js +164 -0
  359. package/lib/chunk-NBXYK3NQ.js.map +1 -0
  360. package/lib/chunk-NDP7Z7DS.cjs +205 -0
  361. package/lib/chunk-NDP7Z7DS.cjs.map +1 -0
  362. package/lib/chunk-NGNKJ6WL.js +96 -0
  363. package/lib/chunk-NGNKJ6WL.js.map +1 -0
  364. package/lib/chunk-NIRFJABJ.js +51 -0
  365. package/lib/chunk-NIRFJABJ.js.map +1 -0
  366. package/lib/chunk-NJ6UVTYG.cjs +61 -0
  367. package/lib/chunk-NJ6UVTYG.cjs.map +1 -0
  368. package/lib/chunk-NMXOO64W.cjs +182 -0
  369. package/lib/chunk-NMXOO64W.cjs.map +1 -0
  370. package/lib/chunk-NOYJYNWI.cjs +38 -0
  371. package/lib/chunk-NOYJYNWI.cjs.map +1 -0
  372. package/lib/chunk-NT2DAUSV.cjs +243 -0
  373. package/lib/chunk-NT2DAUSV.cjs.map +1 -0
  374. package/lib/chunk-NVAGPUU6.cjs +115 -0
  375. package/lib/chunk-NVAGPUU6.cjs.map +1 -0
  376. package/lib/chunk-NX2T5UXY.js +120 -0
  377. package/lib/chunk-NX2T5UXY.js.map +1 -0
  378. package/lib/chunk-NYP4VNBV.cjs +91 -0
  379. package/lib/chunk-NYP4VNBV.cjs.map +1 -0
  380. package/lib/chunk-NZMCLORF.cjs +70 -0
  381. package/lib/chunk-NZMCLORF.cjs.map +1 -0
  382. package/lib/chunk-O26QPADM.js +77 -0
  383. package/lib/chunk-O26QPADM.js.map +1 -0
  384. package/lib/chunk-O2OH2BOI.js +82 -0
  385. package/lib/chunk-O2OH2BOI.js.map +1 -0
  386. package/lib/chunk-O6DODGY7.js +241 -0
  387. package/lib/chunk-O6DODGY7.js.map +1 -0
  388. package/lib/chunk-OCMOWAHV.cjs +80 -0
  389. package/lib/chunk-OCMOWAHV.cjs.map +1 -0
  390. package/lib/chunk-OF2GTDJ3.js +50 -0
  391. package/lib/chunk-OF2GTDJ3.js.map +1 -0
  392. package/lib/chunk-OGY4DULR.cjs +193 -0
  393. package/lib/chunk-OGY4DULR.cjs.map +1 -0
  394. package/lib/chunk-OM2AZYLG.cjs +91 -0
  395. package/lib/chunk-OM2AZYLG.cjs.map +1 -0
  396. package/lib/chunk-OONH6WXN.cjs +79 -0
  397. package/lib/chunk-OONH6WXN.cjs.map +1 -0
  398. package/lib/chunk-OULDY4YE.cjs +44 -0
  399. package/lib/chunk-OULDY4YE.cjs.map +1 -0
  400. package/lib/chunk-OWPG3FNI.cjs +53 -0
  401. package/lib/chunk-OWPG3FNI.cjs.map +1 -0
  402. package/lib/chunk-OZIR3YWA.js +86 -0
  403. package/lib/chunk-OZIR3YWA.js.map +1 -0
  404. package/lib/chunk-P2JPRBHZ.js +51 -0
  405. package/lib/chunk-P2JPRBHZ.js.map +1 -0
  406. package/lib/chunk-P3H7TCQO.cjs +70 -0
  407. package/lib/chunk-P3H7TCQO.cjs.map +1 -0
  408. package/lib/chunk-P4IHC45V.js +68 -0
  409. package/lib/chunk-P4IHC45V.js.map +1 -0
  410. package/lib/chunk-P7ROLPCU.js +77 -0
  411. package/lib/chunk-P7ROLPCU.js.map +1 -0
  412. package/lib/chunk-PCGH6UJQ.js +50 -0
  413. package/lib/chunk-PCGH6UJQ.js.map +1 -0
  414. package/lib/chunk-PKE3BBFP.js +68 -0
  415. package/lib/chunk-PKE3BBFP.js.map +1 -0
  416. package/lib/chunk-PMERNCSJ.js +203 -0
  417. package/lib/chunk-PMERNCSJ.js.map +1 -0
  418. package/lib/chunk-PNTX6XU2.cjs +323 -0
  419. package/lib/chunk-PNTX6XU2.cjs.map +1 -0
  420. package/lib/chunk-PQ75J3RB.js +58 -0
  421. package/lib/chunk-PQ75J3RB.js.map +1 -0
  422. package/lib/chunk-PSBMKEZE.js +89 -0
  423. package/lib/chunk-PSBMKEZE.js.map +1 -0
  424. package/lib/chunk-PWWE7OPX.js +51 -0
  425. package/lib/chunk-PWWE7OPX.js.map +1 -0
  426. package/lib/chunk-PZST5ZSQ.cjs +79 -0
  427. package/lib/chunk-PZST5ZSQ.cjs.map +1 -0
  428. package/lib/chunk-Q6NZ4ERM.js +808 -0
  429. package/lib/chunk-Q6NZ4ERM.js.map +1 -0
  430. package/lib/chunk-Q7HH3WAF.js +89 -0
  431. package/lib/chunk-Q7HH3WAF.js.map +1 -0
  432. package/lib/chunk-QC7VOWFK.cjs +70 -0
  433. package/lib/chunk-QC7VOWFK.cjs.map +1 -0
  434. package/lib/chunk-QDAZS5P4.js +77 -0
  435. package/lib/chunk-QDAZS5P4.js.map +1 -0
  436. package/lib/chunk-QF6NWTGQ.cjs +79 -0
  437. package/lib/chunk-QF6NWTGQ.cjs.map +1 -0
  438. package/lib/chunk-QULKMJNT.cjs +16 -0
  439. package/lib/chunk-QULKMJNT.cjs.map +1 -0
  440. package/lib/chunk-QUW37EJH.js +36 -0
  441. package/lib/chunk-QUW37EJH.js.map +1 -0
  442. package/lib/chunk-QVZAZNT7.js +96 -0
  443. package/lib/chunk-QVZAZNT7.js.map +1 -0
  444. package/lib/chunk-R2ZRTQ47.cjs +88 -0
  445. package/lib/chunk-R2ZRTQ47.cjs.map +1 -0
  446. package/lib/chunk-R6FQFTXL.cjs +70 -0
  447. package/lib/chunk-R6FQFTXL.cjs.map +1 -0
  448. package/lib/chunk-RHP23EX4.cjs +62 -0
  449. package/lib/chunk-RHP23EX4.cjs.map +1 -0
  450. package/lib/chunk-RIEJBKV5.cjs +82 -0
  451. package/lib/chunk-RIEJBKV5.cjs.map +1 -0
  452. package/lib/chunk-RRKI2DT7.cjs +62 -0
  453. package/lib/chunk-RRKI2DT7.cjs.map +1 -0
  454. package/lib/chunk-RSQTDLUZ.js +27 -0
  455. package/lib/chunk-RSQTDLUZ.js.map +1 -0
  456. package/lib/chunk-RT734KX6.cjs +179 -0
  457. package/lib/chunk-RT734KX6.cjs.map +1 -0
  458. package/lib/chunk-RZB3YT7E.js +86 -0
  459. package/lib/chunk-RZB3YT7E.js.map +1 -0
  460. package/lib/chunk-RZZZDMV4.js +77 -0
  461. package/lib/chunk-RZZZDMV4.js.map +1 -0
  462. package/lib/chunk-S3NUL3KA.js +68 -0
  463. package/lib/chunk-S3NUL3KA.js.map +1 -0
  464. package/lib/chunk-S43GW2P2.js +75 -0
  465. package/lib/chunk-S43GW2P2.js.map +1 -0
  466. package/lib/chunk-SC6RW7TX.cjs +193 -0
  467. package/lib/chunk-SC6RW7TX.cjs.map +1 -0
  468. package/lib/chunk-SFLFBJYM.js +177 -0
  469. package/lib/chunk-SFLFBJYM.js.map +1 -0
  470. package/lib/chunk-SGCLUVCE.js +24 -0
  471. package/lib/chunk-SGCLUVCE.js.map +1 -0
  472. package/lib/chunk-SHQ5WPWB.cjs +62 -0
  473. package/lib/chunk-SHQ5WPWB.cjs.map +1 -0
  474. package/lib/chunk-SJTDKSSV.cjs +179 -0
  475. package/lib/chunk-SJTDKSSV.cjs.map +1 -0
  476. package/lib/chunk-SNVAKY6A.js +79 -0
  477. package/lib/chunk-SNVAKY6A.js.map +1 -0
  478. package/lib/chunk-SVNPIPNB.cjs +96 -0
  479. package/lib/chunk-SVNPIPNB.cjs.map +1 -0
  480. package/lib/chunk-SWAKRVXF.js +84 -0
  481. package/lib/chunk-SWAKRVXF.js.map +1 -0
  482. package/lib/chunk-SXDLEQXQ.cjs +94 -0
  483. package/lib/chunk-SXDLEQXQ.cjs.map +1 -0
  484. package/lib/chunk-T2O6ZEDI.js +78 -0
  485. package/lib/chunk-T2O6ZEDI.js.map +1 -0
  486. package/lib/chunk-T7KEDNBP.js +96 -0
  487. package/lib/chunk-T7KEDNBP.js.map +1 -0
  488. package/lib/chunk-TBKNPEXT.cjs +70 -0
  489. package/lib/chunk-TBKNPEXT.cjs.map +1 -0
  490. package/lib/chunk-TBTPGODY.cjs +86 -0
  491. package/lib/chunk-TBTPGODY.cjs.map +1 -0
  492. package/lib/chunk-TGUDVMKA.js +124 -0
  493. package/lib/chunk-TGUDVMKA.js.map +1 -0
  494. package/lib/chunk-TJMXOSWV.cjs +89 -0
  495. package/lib/chunk-TJMXOSWV.cjs.map +1 -0
  496. package/lib/chunk-TXO5TNAN.cjs +70 -0
  497. package/lib/chunk-TXO5TNAN.cjs.map +1 -0
  498. package/lib/chunk-U5HAYP73.js +87 -0
  499. package/lib/chunk-U5HAYP73.js.map +1 -0
  500. package/lib/chunk-UAHOAAF5.cjs +102 -0
  501. package/lib/chunk-UAHOAAF5.cjs.map +1 -0
  502. package/lib/chunk-UC4EBIEP.cjs +40 -0
  503. package/lib/chunk-UC4EBIEP.cjs.map +1 -0
  504. package/lib/chunk-UFB5C7RB.js +79 -0
  505. package/lib/chunk-UFB5C7RB.js.map +1 -0
  506. package/lib/chunk-UKPP3NJH.js +67 -0
  507. package/lib/chunk-UKPP3NJH.js.map +1 -0
  508. package/lib/chunk-USDSZN37.cjs +120 -0
  509. package/lib/chunk-USDSZN37.cjs.map +1 -0
  510. package/lib/chunk-USF6ZXAU.js +33 -0
  511. package/lib/chunk-USF6ZXAU.js.map +1 -0
  512. package/lib/chunk-UTEWVMUY.js +78 -0
  513. package/lib/chunk-UTEWVMUY.js.map +1 -0
  514. package/lib/chunk-UTIVMNMW.js +73 -0
  515. package/lib/chunk-UTIVMNMW.js.map +1 -0
  516. package/lib/chunk-VBISYOF4.cjs +77 -0
  517. package/lib/chunk-VBISYOF4.cjs.map +1 -0
  518. package/lib/chunk-VEG7LLQB.js +59 -0
  519. package/lib/chunk-VEG7LLQB.js.map +1 -0
  520. package/lib/chunk-VNZTHEHI.cjs +52 -0
  521. package/lib/chunk-VNZTHEHI.cjs.map +1 -0
  522. package/lib/chunk-VSBNV5XE.js +77 -0
  523. package/lib/chunk-VSBNV5XE.js.map +1 -0
  524. package/lib/chunk-VSIPPK7O.cjs +81 -0
  525. package/lib/chunk-VSIPPK7O.cjs.map +1 -0
  526. package/lib/chunk-VUET2RHO.js +177 -0
  527. package/lib/chunk-VUET2RHO.js.map +1 -0
  528. package/lib/chunk-VUVWOQW3.cjs +170 -0
  529. package/lib/chunk-VUVWOQW3.cjs.map +1 -0
  530. package/lib/chunk-VWWMNMVU.js +60 -0
  531. package/lib/chunk-VWWMNMVU.js.map +1 -0
  532. package/lib/chunk-VWZTYMTS.js +709 -0
  533. package/lib/chunk-VWZTYMTS.js.map +1 -0
  534. package/lib/chunk-W4PGH4JH.js +113 -0
  535. package/lib/chunk-W4PGH4JH.js.map +1 -0
  536. package/lib/chunk-W7WL44ZO.cjs +84 -0
  537. package/lib/chunk-W7WL44ZO.cjs.map +1 -0
  538. package/lib/chunk-WDPGYKKY.cjs +126 -0
  539. package/lib/chunk-WDPGYKKY.cjs.map +1 -0
  540. package/lib/chunk-WNKENBNE.cjs +53 -0
  541. package/lib/chunk-WNKENBNE.cjs.map +1 -0
  542. package/lib/chunk-WNM4AOJM.cjs +98 -0
  543. package/lib/chunk-WNM4AOJM.cjs.map +1 -0
  544. package/lib/chunk-WXVWQXDZ.js +129 -0
  545. package/lib/chunk-WXVWQXDZ.js.map +1 -0
  546. package/lib/chunk-X3KKVQ4B.js +89 -0
  547. package/lib/chunk-X3KKVQ4B.js.map +1 -0
  548. package/lib/chunk-XARE43DB.js +191 -0
  549. package/lib/chunk-XARE43DB.js.map +1 -0
  550. package/lib/chunk-XIAEDILF.cjs +70 -0
  551. package/lib/chunk-XIAEDILF.cjs.map +1 -0
  552. package/lib/chunk-XMDSMUH4.js +65 -0
  553. package/lib/chunk-XMDSMUH4.js.map +1 -0
  554. package/lib/chunk-XOMDOKUR.js +77 -0
  555. package/lib/chunk-XOMDOKUR.js.map +1 -0
  556. package/lib/chunk-XU2TLA7E.js +59 -0
  557. package/lib/chunk-XU2TLA7E.js.map +1 -0
  558. package/lib/chunk-XVJ74AKI.js +321 -0
  559. package/lib/chunk-XVJ74AKI.js.map +1 -0
  560. package/lib/chunk-Y5LFT7RG.js +77 -0
  561. package/lib/chunk-Y5LFT7RG.js.map +1 -0
  562. package/lib/chunk-YAEFTHO3.cjs +93 -0
  563. package/lib/chunk-YAEFTHO3.cjs.map +1 -0
  564. package/lib/chunk-YENWKHWP.cjs +26 -0
  565. package/lib/chunk-YENWKHWP.cjs.map +1 -0
  566. package/lib/chunk-YG7QYI34.cjs +134 -0
  567. package/lib/chunk-YG7QYI34.cjs.map +1 -0
  568. package/lib/chunk-YJIBX2CK.cjs +81 -0
  569. package/lib/chunk-YJIBX2CK.cjs.map +1 -0
  570. package/lib/chunk-YOACNJYE.cjs +79 -0
  571. package/lib/chunk-YOACNJYE.cjs.map +1 -0
  572. package/lib/chunk-YSSUMXAB.cjs +62 -0
  573. package/lib/chunk-YSSUMXAB.cjs.map +1 -0
  574. package/lib/chunk-YWJTC2WA.cjs +69 -0
  575. package/lib/chunk-YWJTC2WA.cjs.map +1 -0
  576. package/lib/chunk-Z2E5OBDM.js +68 -0
  577. package/lib/chunk-Z2E5OBDM.js.map +1 -0
  578. package/lib/chunk-ZAFGXVIP.js +61 -0
  579. package/lib/chunk-ZAFGXVIP.js.map +1 -0
  580. package/lib/chunk-ZBGZB2ON.cjs +62 -0
  581. package/lib/chunk-ZBGZB2ON.cjs.map +1 -0
  582. package/lib/chunk-ZC5CIFZU.js +77 -0
  583. package/lib/chunk-ZC5CIFZU.js.map +1 -0
  584. package/lib/chunk-ZEHBZXJ5.cjs +84 -0
  585. package/lib/chunk-ZEHBZXJ5.cjs.map +1 -0
  586. package/lib/chunk-ZI6LGD3R.js +38 -0
  587. package/lib/chunk-ZI6LGD3R.js.map +1 -0
  588. package/lib/chunk-ZLQH6Q4K.cjs +125 -0
  589. package/lib/chunk-ZLQH6Q4K.cjs.map +1 -0
  590. package/lib/chunk-ZPQ775KO.js +68 -0
  591. package/lib/chunk-ZPQ775KO.js.map +1 -0
  592. package/lib/commercelayer.cjs +11 -17
  593. package/lib/commercelayer.d.cts +2 -5
  594. package/lib/commercelayer.d.ts +2 -5
  595. package/lib/commercelayer.js +5 -11
  596. package/lib/enum.cjs +14 -15
  597. package/lib/enum.d.cts +1 -4
  598. package/lib/enum.d.ts +1 -4
  599. package/lib/enum.js +1 -2
  600. package/lib/error-C0BYyTel.d.cts +33 -0
  601. package/lib/error-C0BYyTel.d.ts +33 -0
  602. package/lib/index.cjs +150 -156
  603. package/lib/index.cjs.map +1 -1
  604. package/lib/index.d.cts +2 -5
  605. package/lib/index.d.ts +2 -5
  606. package/lib/index.js +145 -151
  607. package/lib/index.js.map +1 -1
  608. package/lib/model.d.cts +1 -4
  609. package/lib/model.d.ts +1 -4
  610. package/lib/resources/addresses.cjs +6 -12
  611. package/lib/resources/addresses.d.cts +2 -5
  612. package/lib/resources/addresses.d.ts +1 -4
  613. package/lib/resources/addresses.js +5 -11
  614. package/lib/resources/adjustments.cjs +6 -12
  615. package/lib/resources/adjustments.d.cts +2 -5
  616. package/lib/resources/adjustments.d.ts +1 -4
  617. package/lib/resources/adjustments.js +5 -11
  618. package/lib/resources/adyen_gateways.cjs +6 -12
  619. package/lib/resources/adyen_gateways.d.cts +2 -5
  620. package/lib/resources/adyen_gateways.d.ts +1 -4
  621. package/lib/resources/adyen_gateways.js +5 -11
  622. package/lib/resources/adyen_payments.cjs +6 -12
  623. package/lib/resources/adyen_payments.d.cts +2 -5
  624. package/lib/resources/adyen_payments.d.ts +1 -4
  625. package/lib/resources/adyen_payments.js +5 -11
  626. package/lib/resources/applications.cjs +6 -12
  627. package/lib/resources/applications.d.cts +2 -5
  628. package/lib/resources/applications.d.ts +1 -4
  629. package/lib/resources/applications.js +5 -11
  630. package/lib/resources/attachments.cjs +6 -12
  631. package/lib/resources/attachments.d.cts +2 -5
  632. package/lib/resources/attachments.d.ts +1 -4
  633. package/lib/resources/attachments.js +5 -11
  634. package/lib/resources/authorizations.cjs +6 -12
  635. package/lib/resources/authorizations.d.cts +2 -5
  636. package/lib/resources/authorizations.d.ts +1 -4
  637. package/lib/resources/authorizations.js +5 -11
  638. package/lib/resources/avalara_accounts.cjs +6 -12
  639. package/lib/resources/avalara_accounts.d.cts +2 -5
  640. package/lib/resources/avalara_accounts.d.ts +1 -4
  641. package/lib/resources/avalara_accounts.js +5 -11
  642. package/lib/resources/axerve_gateways.cjs +6 -12
  643. package/lib/resources/axerve_gateways.d.cts +2 -5
  644. package/lib/resources/axerve_gateways.d.ts +1 -4
  645. package/lib/resources/axerve_gateways.js +5 -11
  646. package/lib/resources/axerve_payments.cjs +6 -12
  647. package/lib/resources/axerve_payments.d.cts +2 -5
  648. package/lib/resources/axerve_payments.d.ts +1 -4
  649. package/lib/resources/axerve_payments.js +5 -11
  650. package/lib/resources/billing_info_validation_rules.cjs +6 -12
  651. package/lib/resources/billing_info_validation_rules.d.cts +2 -5
  652. package/lib/resources/billing_info_validation_rules.d.ts +1 -4
  653. package/lib/resources/billing_info_validation_rules.js +5 -11
  654. package/lib/resources/bing_geocoders.cjs +6 -12
  655. package/lib/resources/bing_geocoders.d.cts +2 -5
  656. package/lib/resources/bing_geocoders.d.ts +1 -4
  657. package/lib/resources/bing_geocoders.js +5 -11
  658. package/lib/resources/braintree_gateways.cjs +6 -12
  659. package/lib/resources/braintree_gateways.d.cts +2 -5
  660. package/lib/resources/braintree_gateways.d.ts +1 -4
  661. package/lib/resources/braintree_gateways.js +5 -11
  662. package/lib/resources/braintree_payments.cjs +6 -12
  663. package/lib/resources/braintree_payments.d.cts +2 -5
  664. package/lib/resources/braintree_payments.d.ts +1 -4
  665. package/lib/resources/braintree_payments.js +5 -11
  666. package/lib/resources/bundles.cjs +6 -12
  667. package/lib/resources/bundles.d.cts +2 -5
  668. package/lib/resources/bundles.d.ts +1 -4
  669. package/lib/resources/bundles.js +5 -11
  670. package/lib/resources/buy_x_pay_y_promotions.cjs +6 -12
  671. package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -5
  672. package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -4
  673. package/lib/resources/buy_x_pay_y_promotions.js +5 -11
  674. package/lib/resources/captures.cjs +6 -12
  675. package/lib/resources/captures.d.cts +2 -5
  676. package/lib/resources/captures.d.ts +1 -4
  677. package/lib/resources/captures.js +5 -11
  678. package/lib/resources/carrier_accounts.cjs +6 -12
  679. package/lib/resources/carrier_accounts.d.cts +2 -5
  680. package/lib/resources/carrier_accounts.d.ts +1 -4
  681. package/lib/resources/carrier_accounts.js +5 -11
  682. package/lib/resources/checkout_com_gateways.cjs +6 -12
  683. package/lib/resources/checkout_com_gateways.d.cts +2 -5
  684. package/lib/resources/checkout_com_gateways.d.ts +1 -4
  685. package/lib/resources/checkout_com_gateways.js +5 -11
  686. package/lib/resources/checkout_com_payments.cjs +6 -12
  687. package/lib/resources/checkout_com_payments.d.cts +2 -5
  688. package/lib/resources/checkout_com_payments.d.ts +1 -4
  689. package/lib/resources/checkout_com_payments.js +5 -11
  690. package/lib/resources/cleanups.cjs +6 -12
  691. package/lib/resources/cleanups.d.cts +2 -5
  692. package/lib/resources/cleanups.d.ts +1 -4
  693. package/lib/resources/cleanups.js +5 -11
  694. package/lib/resources/coupon_codes_promotion_rules.cjs +6 -12
  695. package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -5
  696. package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -4
  697. package/lib/resources/coupon_codes_promotion_rules.js +5 -11
  698. package/lib/resources/coupon_recipients.cjs +6 -12
  699. package/lib/resources/coupon_recipients.d.cts +2 -5
  700. package/lib/resources/coupon_recipients.d.ts +1 -4
  701. package/lib/resources/coupon_recipients.js +5 -11
  702. package/lib/resources/coupons.cjs +6 -12
  703. package/lib/resources/coupons.d.cts +2 -5
  704. package/lib/resources/coupons.d.ts +1 -4
  705. package/lib/resources/coupons.js +5 -11
  706. package/lib/resources/custom_promotion_rules.cjs +6 -12
  707. package/lib/resources/custom_promotion_rules.d.cts +2 -5
  708. package/lib/resources/custom_promotion_rules.d.ts +1 -4
  709. package/lib/resources/custom_promotion_rules.js +5 -11
  710. package/lib/resources/customer_addresses.cjs +6 -12
  711. package/lib/resources/customer_addresses.d.cts +2 -5
  712. package/lib/resources/customer_addresses.d.ts +1 -4
  713. package/lib/resources/customer_addresses.js +5 -11
  714. package/lib/resources/customer_groups.cjs +6 -12
  715. package/lib/resources/customer_groups.d.cts +2 -5
  716. package/lib/resources/customer_groups.d.ts +1 -4
  717. package/lib/resources/customer_groups.js +5 -11
  718. package/lib/resources/customer_password_resets.cjs +6 -12
  719. package/lib/resources/customer_password_resets.d.cts +2 -5
  720. package/lib/resources/customer_password_resets.d.ts +1 -4
  721. package/lib/resources/customer_password_resets.js +5 -11
  722. package/lib/resources/customer_payment_sources.cjs +6 -12
  723. package/lib/resources/customer_payment_sources.d.cts +2 -5
  724. package/lib/resources/customer_payment_sources.d.ts +1 -4
  725. package/lib/resources/customer_payment_sources.js +5 -11
  726. package/lib/resources/customer_subscriptions.cjs +6 -12
  727. package/lib/resources/customer_subscriptions.d.cts +2 -5
  728. package/lib/resources/customer_subscriptions.d.ts +1 -4
  729. package/lib/resources/customer_subscriptions.js +5 -11
  730. package/lib/resources/customers.cjs +6 -12
  731. package/lib/resources/customers.d.cts +2 -5
  732. package/lib/resources/customers.d.ts +1 -4
  733. package/lib/resources/customers.js +5 -11
  734. package/lib/resources/delivery_lead_times.cjs +6 -12
  735. package/lib/resources/delivery_lead_times.d.cts +2 -5
  736. package/lib/resources/delivery_lead_times.d.ts +1 -4
  737. package/lib/resources/delivery_lead_times.js +5 -11
  738. package/lib/resources/discount_engine_items.cjs +6 -12
  739. package/lib/resources/discount_engine_items.d.cts +2 -5
  740. package/lib/resources/discount_engine_items.d.ts +1 -4
  741. package/lib/resources/discount_engine_items.js +5 -11
  742. package/lib/resources/discount_engines.cjs +6 -12
  743. package/lib/resources/discount_engines.d.cts +2 -5
  744. package/lib/resources/discount_engines.d.ts +1 -4
  745. package/lib/resources/discount_engines.js +5 -11
  746. package/lib/resources/easypost_pickups.cjs +6 -12
  747. package/lib/resources/easypost_pickups.d.cts +2 -5
  748. package/lib/resources/easypost_pickups.d.ts +1 -4
  749. package/lib/resources/easypost_pickups.js +5 -11
  750. package/lib/resources/event_callbacks.cjs +6 -12
  751. package/lib/resources/event_callbacks.d.cts +2 -5
  752. package/lib/resources/event_callbacks.d.ts +1 -4
  753. package/lib/resources/event_callbacks.js +5 -11
  754. package/lib/resources/event_stores.cjs +6 -12
  755. package/lib/resources/event_stores.d.cts +2 -5
  756. package/lib/resources/event_stores.d.ts +1 -4
  757. package/lib/resources/event_stores.js +5 -11
  758. package/lib/resources/events.cjs +6 -12
  759. package/lib/resources/events.d.cts +2 -5
  760. package/lib/resources/events.d.ts +1 -4
  761. package/lib/resources/events.js +5 -11
  762. package/lib/resources/exports.cjs +6 -12
  763. package/lib/resources/exports.d.cts +2 -5
  764. package/lib/resources/exports.d.ts +1 -4
  765. package/lib/resources/exports.js +5 -11
  766. package/lib/resources/external_gateways.cjs +6 -12
  767. package/lib/resources/external_gateways.d.cts +2 -5
  768. package/lib/resources/external_gateways.d.ts +1 -4
  769. package/lib/resources/external_gateways.js +5 -11
  770. package/lib/resources/external_payments.cjs +6 -12
  771. package/lib/resources/external_payments.d.cts +2 -5
  772. package/lib/resources/external_payments.d.ts +1 -4
  773. package/lib/resources/external_payments.js +5 -11
  774. package/lib/resources/external_promotions.cjs +6 -12
  775. package/lib/resources/external_promotions.d.cts +2 -5
  776. package/lib/resources/external_promotions.d.ts +1 -4
  777. package/lib/resources/external_promotions.js +5 -11
  778. package/lib/resources/external_tax_calculators.cjs +6 -12
  779. package/lib/resources/external_tax_calculators.d.cts +2 -5
  780. package/lib/resources/external_tax_calculators.d.ts +1 -4
  781. package/lib/resources/external_tax_calculators.js +5 -11
  782. package/lib/resources/fixed_amount_promotions.cjs +6 -12
  783. package/lib/resources/fixed_amount_promotions.d.cts +2 -5
  784. package/lib/resources/fixed_amount_promotions.d.ts +1 -4
  785. package/lib/resources/fixed_amount_promotions.js +5 -11
  786. package/lib/resources/fixed_price_promotions.cjs +6 -12
  787. package/lib/resources/fixed_price_promotions.d.cts +2 -5
  788. package/lib/resources/fixed_price_promotions.d.ts +1 -4
  789. package/lib/resources/fixed_price_promotions.js +5 -11
  790. package/lib/resources/flex_promotions.cjs +6 -12
  791. package/lib/resources/flex_promotions.d.cts +2 -5
  792. package/lib/resources/flex_promotions.d.ts +1 -4
  793. package/lib/resources/flex_promotions.js +5 -11
  794. package/lib/resources/free_gift_promotions.cjs +6 -12
  795. package/lib/resources/free_gift_promotions.d.cts +2 -5
  796. package/lib/resources/free_gift_promotions.d.ts +1 -4
  797. package/lib/resources/free_gift_promotions.js +5 -11
  798. package/lib/resources/free_shipping_promotions.cjs +6 -12
  799. package/lib/resources/free_shipping_promotions.d.cts +2 -5
  800. package/lib/resources/free_shipping_promotions.d.ts +1 -4
  801. package/lib/resources/free_shipping_promotions.js +5 -11
  802. package/lib/resources/geocoders.cjs +6 -12
  803. package/lib/resources/geocoders.d.cts +2 -5
  804. package/lib/resources/geocoders.d.ts +1 -4
  805. package/lib/resources/geocoders.js +5 -11
  806. package/lib/resources/gift_card_recipients.cjs +6 -12
  807. package/lib/resources/gift_card_recipients.d.cts +2 -5
  808. package/lib/resources/gift_card_recipients.d.ts +1 -4
  809. package/lib/resources/gift_card_recipients.js +5 -11
  810. package/lib/resources/gift_cards.cjs +6 -12
  811. package/lib/resources/gift_cards.d.cts +2 -5
  812. package/lib/resources/gift_cards.d.ts +1 -4
  813. package/lib/resources/gift_cards.js +5 -11
  814. package/lib/resources/google_geocoders.cjs +6 -12
  815. package/lib/resources/google_geocoders.d.cts +2 -5
  816. package/lib/resources/google_geocoders.d.ts +1 -4
  817. package/lib/resources/google_geocoders.js +5 -11
  818. package/lib/resources/imports.cjs +6 -12
  819. package/lib/resources/imports.d.cts +2 -5
  820. package/lib/resources/imports.d.ts +1 -4
  821. package/lib/resources/imports.js +5 -11
  822. package/lib/resources/in_stock_subscriptions.cjs +6 -12
  823. package/lib/resources/in_stock_subscriptions.d.cts +2 -5
  824. package/lib/resources/in_stock_subscriptions.d.ts +1 -4
  825. package/lib/resources/in_stock_subscriptions.js +5 -11
  826. package/lib/resources/inventory_models.cjs +6 -12
  827. package/lib/resources/inventory_models.d.cts +2 -5
  828. package/lib/resources/inventory_models.d.ts +1 -4
  829. package/lib/resources/inventory_models.js +5 -11
  830. package/lib/resources/inventory_return_locations.cjs +6 -12
  831. package/lib/resources/inventory_return_locations.d.cts +2 -5
  832. package/lib/resources/inventory_return_locations.d.ts +1 -4
  833. package/lib/resources/inventory_return_locations.js +5 -11
  834. package/lib/resources/inventory_stock_locations.cjs +6 -12
  835. package/lib/resources/inventory_stock_locations.d.cts +2 -5
  836. package/lib/resources/inventory_stock_locations.d.ts +1 -4
  837. package/lib/resources/inventory_stock_locations.js +5 -11
  838. package/lib/resources/klarna_gateways.cjs +6 -12
  839. package/lib/resources/klarna_gateways.d.cts +2 -5
  840. package/lib/resources/klarna_gateways.d.ts +1 -4
  841. package/lib/resources/klarna_gateways.js +5 -11
  842. package/lib/resources/klarna_payments.cjs +6 -12
  843. package/lib/resources/klarna_payments.d.cts +2 -5
  844. package/lib/resources/klarna_payments.d.ts +1 -4
  845. package/lib/resources/klarna_payments.js +5 -11
  846. package/lib/resources/line_item_options.cjs +6 -12
  847. package/lib/resources/line_item_options.d.cts +2 -5
  848. package/lib/resources/line_item_options.d.ts +1 -4
  849. package/lib/resources/line_item_options.js +5 -11
  850. package/lib/resources/line_items.cjs +6 -12
  851. package/lib/resources/line_items.d.cts +2 -5
  852. package/lib/resources/line_items.d.ts +1 -4
  853. package/lib/resources/line_items.js +5 -11
  854. package/lib/resources/links.cjs +6 -12
  855. package/lib/resources/links.d.cts +2 -5
  856. package/lib/resources/links.d.ts +1 -4
  857. package/lib/resources/links.js +5 -11
  858. package/lib/resources/manual_gateways.cjs +6 -12
  859. package/lib/resources/manual_gateways.d.cts +2 -5
  860. package/lib/resources/manual_gateways.d.ts +1 -4
  861. package/lib/resources/manual_gateways.js +5 -11
  862. package/lib/resources/manual_tax_calculators.cjs +6 -12
  863. package/lib/resources/manual_tax_calculators.d.cts +2 -5
  864. package/lib/resources/manual_tax_calculators.d.ts +1 -4
  865. package/lib/resources/manual_tax_calculators.js +5 -11
  866. package/lib/resources/markets.cjs +6 -12
  867. package/lib/resources/markets.d.cts +2 -5
  868. package/lib/resources/markets.d.ts +1 -4
  869. package/lib/resources/markets.js +5 -11
  870. package/lib/resources/merchants.cjs +6 -12
  871. package/lib/resources/merchants.d.cts +2 -5
  872. package/lib/resources/merchants.d.ts +1 -4
  873. package/lib/resources/merchants.js +5 -11
  874. package/lib/resources/notifications.cjs +6 -12
  875. package/lib/resources/notifications.d.cts +2 -5
  876. package/lib/resources/notifications.d.ts +1 -4
  877. package/lib/resources/notifications.js +5 -11
  878. package/lib/resources/order_amount_promotion_rules.cjs +6 -12
  879. package/lib/resources/order_amount_promotion_rules.d.cts +2 -5
  880. package/lib/resources/order_amount_promotion_rules.d.ts +1 -4
  881. package/lib/resources/order_amount_promotion_rules.js +5 -11
  882. package/lib/resources/order_copies.cjs +6 -12
  883. package/lib/resources/order_copies.d.cts +2 -5
  884. package/lib/resources/order_copies.d.ts +1 -4
  885. package/lib/resources/order_copies.js +5 -11
  886. package/lib/resources/order_factories.cjs +6 -12
  887. package/lib/resources/order_factories.d.cts +2 -5
  888. package/lib/resources/order_factories.d.ts +1 -4
  889. package/lib/resources/order_factories.js +5 -11
  890. package/lib/resources/order_subscription_items.cjs +6 -12
  891. package/lib/resources/order_subscription_items.d.cts +2 -5
  892. package/lib/resources/order_subscription_items.d.ts +1 -4
  893. package/lib/resources/order_subscription_items.js +5 -11
  894. package/lib/resources/order_subscriptions.cjs +6 -12
  895. package/lib/resources/order_subscriptions.d.cts +2 -5
  896. package/lib/resources/order_subscriptions.d.ts +1 -4
  897. package/lib/resources/order_subscriptions.js +5 -11
  898. package/lib/resources/order_validation_rules.cjs +6 -12
  899. package/lib/resources/order_validation_rules.d.cts +2 -5
  900. package/lib/resources/order_validation_rules.d.ts +1 -4
  901. package/lib/resources/order_validation_rules.js +5 -11
  902. package/lib/resources/orders.cjs +6 -12
  903. package/lib/resources/orders.d.cts +2 -5
  904. package/lib/resources/orders.d.ts +1 -4
  905. package/lib/resources/orders.js +5 -11
  906. package/lib/resources/organizations.cjs +6 -12
  907. package/lib/resources/organizations.d.cts +2 -5
  908. package/lib/resources/organizations.d.ts +1 -4
  909. package/lib/resources/organizations.js +5 -11
  910. package/lib/resources/packages.cjs +6 -12
  911. package/lib/resources/packages.d.cts +2 -5
  912. package/lib/resources/packages.d.ts +1 -4
  913. package/lib/resources/packages.js +5 -11
  914. package/lib/resources/parcel_line_items.cjs +6 -12
  915. package/lib/resources/parcel_line_items.d.cts +2 -5
  916. package/lib/resources/parcel_line_items.d.ts +1 -4
  917. package/lib/resources/parcel_line_items.js +5 -11
  918. package/lib/resources/parcels.cjs +6 -12
  919. package/lib/resources/parcels.d.cts +2 -5
  920. package/lib/resources/parcels.d.ts +1 -4
  921. package/lib/resources/parcels.js +5 -11
  922. package/lib/resources/payment_gateways.cjs +6 -12
  923. package/lib/resources/payment_gateways.d.cts +2 -5
  924. package/lib/resources/payment_gateways.d.ts +1 -4
  925. package/lib/resources/payment_gateways.js +5 -11
  926. package/lib/resources/payment_methods.cjs +6 -12
  927. package/lib/resources/payment_methods.d.cts +2 -5
  928. package/lib/resources/payment_methods.d.ts +1 -4
  929. package/lib/resources/payment_methods.js +5 -11
  930. package/lib/resources/payment_options.cjs +6 -12
  931. package/lib/resources/payment_options.d.cts +2 -5
  932. package/lib/resources/payment_options.d.ts +1 -4
  933. package/lib/resources/payment_options.js +5 -11
  934. package/lib/resources/paypal_gateways.cjs +6 -12
  935. package/lib/resources/paypal_gateways.d.cts +2 -5
  936. package/lib/resources/paypal_gateways.d.ts +1 -4
  937. package/lib/resources/paypal_gateways.js +5 -11
  938. package/lib/resources/paypal_payments.cjs +6 -12
  939. package/lib/resources/paypal_payments.d.cts +2 -5
  940. package/lib/resources/paypal_payments.d.ts +1 -4
  941. package/lib/resources/paypal_payments.js +5 -11
  942. package/lib/resources/percentage_discount_promotions.cjs +6 -12
  943. package/lib/resources/percentage_discount_promotions.d.cts +2 -5
  944. package/lib/resources/percentage_discount_promotions.d.ts +1 -4
  945. package/lib/resources/percentage_discount_promotions.js +5 -11
  946. package/lib/resources/pickups.cjs +6 -12
  947. package/lib/resources/pickups.d.cts +2 -5
  948. package/lib/resources/pickups.d.ts +1 -4
  949. package/lib/resources/pickups.js +5 -11
  950. package/lib/resources/price_frequency_tiers.cjs +6 -12
  951. package/lib/resources/price_frequency_tiers.d.cts +2 -5
  952. package/lib/resources/price_frequency_tiers.d.ts +1 -4
  953. package/lib/resources/price_frequency_tiers.js +5 -11
  954. package/lib/resources/price_list_schedulers.cjs +6 -12
  955. package/lib/resources/price_list_schedulers.d.cts +2 -5
  956. package/lib/resources/price_list_schedulers.d.ts +1 -4
  957. package/lib/resources/price_list_schedulers.js +5 -11
  958. package/lib/resources/price_lists.cjs +6 -12
  959. package/lib/resources/price_lists.d.cts +2 -5
  960. package/lib/resources/price_lists.d.ts +1 -4
  961. package/lib/resources/price_lists.js +5 -11
  962. package/lib/resources/price_tiers.cjs +6 -12
  963. package/lib/resources/price_tiers.d.cts +2 -5
  964. package/lib/resources/price_tiers.d.ts +1 -4
  965. package/lib/resources/price_tiers.js +5 -11
  966. package/lib/resources/price_volume_tiers.cjs +6 -12
  967. package/lib/resources/price_volume_tiers.d.cts +2 -5
  968. package/lib/resources/price_volume_tiers.d.ts +1 -4
  969. package/lib/resources/price_volume_tiers.js +5 -11
  970. package/lib/resources/prices.cjs +6 -12
  971. package/lib/resources/prices.d.cts +2 -5
  972. package/lib/resources/prices.d.ts +1 -4
  973. package/lib/resources/prices.js +5 -11
  974. package/lib/resources/promotion_rules.cjs +6 -12
  975. package/lib/resources/promotion_rules.d.cts +2 -5
  976. package/lib/resources/promotion_rules.d.ts +1 -4
  977. package/lib/resources/promotion_rules.js +5 -11
  978. package/lib/resources/promotions.cjs +6 -12
  979. package/lib/resources/promotions.d.cts +2 -5
  980. package/lib/resources/promotions.d.ts +1 -4
  981. package/lib/resources/promotions.js +5 -11
  982. package/lib/resources/recurring_order_copies.cjs +6 -12
  983. package/lib/resources/recurring_order_copies.d.cts +2 -5
  984. package/lib/resources/recurring_order_copies.d.ts +1 -4
  985. package/lib/resources/recurring_order_copies.js +5 -11
  986. package/lib/resources/refunds.cjs +6 -12
  987. package/lib/resources/refunds.d.cts +2 -5
  988. package/lib/resources/refunds.d.ts +1 -4
  989. package/lib/resources/refunds.js +5 -11
  990. package/lib/resources/reserved_stocks.cjs +6 -12
  991. package/lib/resources/reserved_stocks.d.cts +2 -5
  992. package/lib/resources/reserved_stocks.d.ts +1 -4
  993. package/lib/resources/reserved_stocks.js +5 -11
  994. package/lib/resources/resource_errors.cjs +6 -12
  995. package/lib/resources/resource_errors.d.cts +2 -5
  996. package/lib/resources/resource_errors.d.ts +1 -4
  997. package/lib/resources/resource_errors.js +5 -11
  998. package/lib/resources/return_line_items.cjs +6 -12
  999. package/lib/resources/return_line_items.d.cts +2 -5
  1000. package/lib/resources/return_line_items.d.ts +1 -4
  1001. package/lib/resources/return_line_items.js +5 -11
  1002. package/lib/resources/returns.cjs +6 -12
  1003. package/lib/resources/returns.d.cts +2 -5
  1004. package/lib/resources/returns.d.ts +1 -4
  1005. package/lib/resources/returns.js +5 -11
  1006. package/lib/resources/satispay_gateways.cjs +6 -12
  1007. package/lib/resources/satispay_gateways.d.cts +2 -5
  1008. package/lib/resources/satispay_gateways.d.ts +1 -4
  1009. package/lib/resources/satispay_gateways.js +5 -11
  1010. package/lib/resources/satispay_payments.cjs +6 -12
  1011. package/lib/resources/satispay_payments.d.cts +2 -5
  1012. package/lib/resources/satispay_payments.d.ts +1 -4
  1013. package/lib/resources/satispay_payments.js +5 -11
  1014. package/lib/resources/shipment_line_items.cjs +6 -12
  1015. package/lib/resources/shipment_line_items.d.cts +2 -5
  1016. package/lib/resources/shipment_line_items.d.ts +1 -4
  1017. package/lib/resources/shipment_line_items.js +5 -11
  1018. package/lib/resources/shipments.cjs +6 -12
  1019. package/lib/resources/shipments.d.cts +2 -5
  1020. package/lib/resources/shipments.d.ts +1 -4
  1021. package/lib/resources/shipments.js +5 -11
  1022. package/lib/resources/shipping_categories.cjs +6 -12
  1023. package/lib/resources/shipping_categories.d.cts +2 -5
  1024. package/lib/resources/shipping_categories.d.ts +1 -4
  1025. package/lib/resources/shipping_categories.js +5 -11
  1026. package/lib/resources/shipping_method_tiers.cjs +6 -12
  1027. package/lib/resources/shipping_method_tiers.d.cts +2 -5
  1028. package/lib/resources/shipping_method_tiers.d.ts +1 -4
  1029. package/lib/resources/shipping_method_tiers.js +5 -11
  1030. package/lib/resources/shipping_methods.cjs +6 -12
  1031. package/lib/resources/shipping_methods.d.cts +2 -5
  1032. package/lib/resources/shipping_methods.d.ts +1 -4
  1033. package/lib/resources/shipping_methods.js +5 -11
  1034. package/lib/resources/shipping_weight_tiers.cjs +6 -12
  1035. package/lib/resources/shipping_weight_tiers.d.cts +2 -5
  1036. package/lib/resources/shipping_weight_tiers.d.ts +1 -4
  1037. package/lib/resources/shipping_weight_tiers.js +5 -11
  1038. package/lib/resources/shipping_zones.cjs +6 -12
  1039. package/lib/resources/shipping_zones.d.cts +2 -5
  1040. package/lib/resources/shipping_zones.d.ts +1 -4
  1041. package/lib/resources/shipping_zones.js +5 -11
  1042. package/lib/resources/sku_list_items.cjs +6 -12
  1043. package/lib/resources/sku_list_items.d.cts +2 -5
  1044. package/lib/resources/sku_list_items.d.ts +1 -4
  1045. package/lib/resources/sku_list_items.js +5 -11
  1046. package/lib/resources/sku_list_promotion_rules.cjs +6 -12
  1047. package/lib/resources/sku_list_promotion_rules.d.cts +2 -5
  1048. package/lib/resources/sku_list_promotion_rules.d.ts +1 -4
  1049. package/lib/resources/sku_list_promotion_rules.js +5 -11
  1050. package/lib/resources/sku_lists.cjs +6 -12
  1051. package/lib/resources/sku_lists.d.cts +2 -5
  1052. package/lib/resources/sku_lists.d.ts +1 -4
  1053. package/lib/resources/sku_lists.js +5 -11
  1054. package/lib/resources/sku_options.cjs +6 -12
  1055. package/lib/resources/sku_options.d.cts +2 -5
  1056. package/lib/resources/sku_options.d.ts +1 -4
  1057. package/lib/resources/sku_options.js +5 -11
  1058. package/lib/resources/skus.cjs +6 -12
  1059. package/lib/resources/skus.d.cts +2 -5
  1060. package/lib/resources/skus.d.ts +1 -4
  1061. package/lib/resources/skus.js +5 -11
  1062. package/lib/resources/stock_items.cjs +6 -12
  1063. package/lib/resources/stock_items.d.cts +2 -5
  1064. package/lib/resources/stock_items.d.ts +1 -4
  1065. package/lib/resources/stock_items.js +5 -11
  1066. package/lib/resources/stock_line_items.cjs +6 -12
  1067. package/lib/resources/stock_line_items.d.cts +2 -5
  1068. package/lib/resources/stock_line_items.d.ts +1 -4
  1069. package/lib/resources/stock_line_items.js +5 -11
  1070. package/lib/resources/stock_locations.cjs +6 -12
  1071. package/lib/resources/stock_locations.d.cts +2 -5
  1072. package/lib/resources/stock_locations.d.ts +1 -4
  1073. package/lib/resources/stock_locations.js +5 -11
  1074. package/lib/resources/stock_reservations.cjs +6 -12
  1075. package/lib/resources/stock_reservations.d.cts +2 -5
  1076. package/lib/resources/stock_reservations.d.ts +1 -4
  1077. package/lib/resources/stock_reservations.js +5 -11
  1078. package/lib/resources/stock_transfers.cjs +6 -12
  1079. package/lib/resources/stock_transfers.d.cts +2 -5
  1080. package/lib/resources/stock_transfers.d.ts +1 -4
  1081. package/lib/resources/stock_transfers.js +5 -11
  1082. package/lib/resources/stores.cjs +6 -12
  1083. package/lib/resources/stores.d.cts +2 -5
  1084. package/lib/resources/stores.d.ts +1 -4
  1085. package/lib/resources/stores.js +5 -11
  1086. package/lib/resources/stripe_gateways.cjs +6 -12
  1087. package/lib/resources/stripe_gateways.d.cts +2 -5
  1088. package/lib/resources/stripe_gateways.d.ts +1 -4
  1089. package/lib/resources/stripe_gateways.js +5 -11
  1090. package/lib/resources/stripe_payments.cjs +6 -12
  1091. package/lib/resources/stripe_payments.d.cts +2 -5
  1092. package/lib/resources/stripe_payments.d.ts +1 -4
  1093. package/lib/resources/stripe_payments.js +5 -11
  1094. package/lib/resources/stripe_tax_accounts.cjs +6 -12
  1095. package/lib/resources/stripe_tax_accounts.d.cts +2 -5
  1096. package/lib/resources/stripe_tax_accounts.d.ts +1 -4
  1097. package/lib/resources/stripe_tax_accounts.js +5 -11
  1098. package/lib/resources/subscription_models.cjs +6 -12
  1099. package/lib/resources/subscription_models.d.cts +2 -5
  1100. package/lib/resources/subscription_models.d.ts +1 -4
  1101. package/lib/resources/subscription_models.js +5 -11
  1102. package/lib/resources/tags.cjs +6 -12
  1103. package/lib/resources/tags.d.cts +2 -5
  1104. package/lib/resources/tags.d.ts +1 -4
  1105. package/lib/resources/tags.js +5 -11
  1106. package/lib/resources/talon_one_accounts.cjs +6 -12
  1107. package/lib/resources/talon_one_accounts.d.cts +2 -5
  1108. package/lib/resources/talon_one_accounts.d.ts +1 -4
  1109. package/lib/resources/talon_one_accounts.js +5 -11
  1110. package/lib/resources/tax_calculators.cjs +6 -12
  1111. package/lib/resources/tax_calculators.d.cts +2 -5
  1112. package/lib/resources/tax_calculators.d.ts +1 -4
  1113. package/lib/resources/tax_calculators.js +5 -11
  1114. package/lib/resources/tax_categories.cjs +6 -12
  1115. package/lib/resources/tax_categories.d.cts +2 -5
  1116. package/lib/resources/tax_categories.d.ts +1 -4
  1117. package/lib/resources/tax_categories.js +5 -11
  1118. package/lib/resources/tax_rules.cjs +6 -12
  1119. package/lib/resources/tax_rules.d.cts +2 -5
  1120. package/lib/resources/tax_rules.d.ts +1 -4
  1121. package/lib/resources/tax_rules.js +5 -11
  1122. package/lib/resources/taxjar_accounts.cjs +6 -12
  1123. package/lib/resources/taxjar_accounts.d.cts +2 -5
  1124. package/lib/resources/taxjar_accounts.d.ts +1 -4
  1125. package/lib/resources/taxjar_accounts.js +5 -11
  1126. package/lib/resources/transactions.cjs +6 -12
  1127. package/lib/resources/transactions.d.cts +2 -5
  1128. package/lib/resources/transactions.d.ts +1 -4
  1129. package/lib/resources/transactions.js +5 -11
  1130. package/lib/resources/vertex_accounts.cjs +6 -12
  1131. package/lib/resources/vertex_accounts.d.cts +2 -5
  1132. package/lib/resources/vertex_accounts.d.ts +1 -4
  1133. package/lib/resources/vertex_accounts.js +5 -11
  1134. package/lib/resources/voids.cjs +6 -12
  1135. package/lib/resources/voids.d.cts +2 -5
  1136. package/lib/resources/voids.d.ts +1 -4
  1137. package/lib/resources/voids.js +5 -11
  1138. package/lib/resources/webhooks.cjs +6 -12
  1139. package/lib/resources/webhooks.d.cts +2 -5
  1140. package/lib/resources/webhooks.d.ts +1 -4
  1141. package/lib/resources/webhooks.js +5 -11
  1142. package/lib/resources/wire_transfers.cjs +6 -12
  1143. package/lib/resources/wire_transfers.d.cts +2 -5
  1144. package/lib/resources/wire_transfers.d.ts +1 -4
  1145. package/lib/resources/wire_transfers.js +5 -11
  1146. package/lib/single-client.cjs +322 -328
  1147. package/lib/single-client.cjs.map +1 -1
  1148. package/lib/single-client.d.cts +2 -5
  1149. package/lib/single-client.d.ts +2 -5
  1150. package/lib/single-client.js +142 -148
  1151. package/lib/single-client.js.map +1 -1
  1152. package/lib/static.cjs +7 -13
  1153. package/lib/static.d.cts +2 -5
  1154. package/lib/static.d.ts +2 -5
  1155. package/lib/static.js +6 -12
  1156. package/lib/version.cjs +4 -5
  1157. package/lib/version.js +1 -2
  1158. package/package.json +20 -12
  1159. package/lib/api-CbtXzzPa.d.ts +0 -19196
  1160. package/lib/api-DtDA0Oxa.d.cts +0 -19196
  1161. package/lib/chunk-25VHLJ3F.js +0 -89
  1162. package/lib/chunk-25VHLJ3F.js.map +0 -1
  1163. package/lib/chunk-2AXNVWID.js +0 -51
  1164. package/lib/chunk-2AXNVWID.js.map +0 -1
  1165. package/lib/chunk-2E77ADQI.cjs +0 -81
  1166. package/lib/chunk-2E77ADQI.cjs.map +0 -1
  1167. package/lib/chunk-2JJWJZIX.cjs +0 -79
  1168. package/lib/chunk-2JJWJZIX.cjs.map +0 -1
  1169. package/lib/chunk-2MEIS5NA.cjs +0 -182
  1170. package/lib/chunk-2MEIS5NA.cjs.map +0 -1
  1171. package/lib/chunk-2QFPV3FM.js +0 -60
  1172. package/lib/chunk-2QFPV3FM.js.map +0 -1
  1173. package/lib/chunk-2RBVOBOE.cjs +0 -60
  1174. package/lib/chunk-2RBVOBOE.cjs.map +0 -1
  1175. package/lib/chunk-2UWYPR4T.js +0 -120
  1176. package/lib/chunk-2UWYPR4T.js.map +0 -1
  1177. package/lib/chunk-2VGVF5SJ.cjs +0 -86
  1178. package/lib/chunk-2VGVF5SJ.cjs.map +0 -1
  1179. package/lib/chunk-32YLRD6X.cjs +0 -70
  1180. package/lib/chunk-32YLRD6X.cjs.map +0 -1
  1181. package/lib/chunk-346DE4FR.cjs +0 -193
  1182. package/lib/chunk-346DE4FR.cjs.map +0 -1
  1183. package/lib/chunk-35HABXOS.cjs +0 -205
  1184. package/lib/chunk-35HABXOS.cjs.map +0 -1
  1185. package/lib/chunk-3DMYHXGB.js +0 -20
  1186. package/lib/chunk-3DMYHXGB.js.map +0 -1
  1187. package/lib/chunk-3EI7CXU3.js +0 -68
  1188. package/lib/chunk-3EI7CXU3.js.map +0 -1
  1189. package/lib/chunk-3MR4RCHV.js +0 -100
  1190. package/lib/chunk-3MR4RCHV.js.map +0 -1
  1191. package/lib/chunk-3OIAX6XB.js +0 -59
  1192. package/lib/chunk-3OIAX6XB.js.map +0 -1
  1193. package/lib/chunk-3Q2WCV4Q.js +0 -67
  1194. package/lib/chunk-3Q2WCV4Q.js.map +0 -1
  1195. package/lib/chunk-3QQMAS7W.cjs +0 -94
  1196. package/lib/chunk-3QQMAS7W.cjs.map +0 -1
  1197. package/lib/chunk-3RCAZLBZ.cjs +0 -82
  1198. package/lib/chunk-3RCAZLBZ.cjs.map +0 -1
  1199. package/lib/chunk-3SBL6VHM.cjs +0 -122
  1200. package/lib/chunk-3SBL6VHM.cjs.map +0 -1
  1201. package/lib/chunk-3VPZFDUD.cjs +0 -102
  1202. package/lib/chunk-3VPZFDUD.cjs.map +0 -1
  1203. package/lib/chunk-3ZC34CCX.js +0 -38
  1204. package/lib/chunk-3ZC34CCX.js.map +0 -1
  1205. package/lib/chunk-426WITQY.js +0 -89
  1206. package/lib/chunk-426WITQY.js.map +0 -1
  1207. package/lib/chunk-47X2DZN4.cjs +0 -102
  1208. package/lib/chunk-47X2DZN4.cjs.map +0 -1
  1209. package/lib/chunk-4HTYFQWK.cjs +0 -44
  1210. package/lib/chunk-4HTYFQWK.cjs.map +0 -1
  1211. package/lib/chunk-4K2SOUH5.cjs +0 -52
  1212. package/lib/chunk-4K2SOUH5.cjs.map +0 -1
  1213. package/lib/chunk-4REPNW3X.js +0 -61
  1214. package/lib/chunk-4REPNW3X.js.map +0 -1
  1215. package/lib/chunk-4WZ6KSV6.js +0 -129
  1216. package/lib/chunk-4WZ6KSV6.js.map +0 -1
  1217. package/lib/chunk-4YUZOIAO.cjs +0 -131
  1218. package/lib/chunk-4YUZOIAO.cjs.map +0 -1
  1219. package/lib/chunk-52DKX77F.cjs +0 -98
  1220. package/lib/chunk-52DKX77F.cjs.map +0 -1
  1221. package/lib/chunk-5CTB4AQM.cjs +0 -62
  1222. package/lib/chunk-5CTB4AQM.cjs.map +0 -1
  1223. package/lib/chunk-5GGEXHQI.cjs +0 -98
  1224. package/lib/chunk-5GGEXHQI.cjs.map +0 -1
  1225. package/lib/chunk-5H7R4SYT.js +0 -58
  1226. package/lib/chunk-5H7R4SYT.js.map +0 -1
  1227. package/lib/chunk-5IMEH7YJ.js +0 -177
  1228. package/lib/chunk-5IMEH7YJ.js.map +0 -1
  1229. package/lib/chunk-5MAU5OUB.cjs +0 -91
  1230. package/lib/chunk-5MAU5OUB.cjs.map +0 -1
  1231. package/lib/chunk-5RLBHS3F.cjs +0 -179
  1232. package/lib/chunk-5RLBHS3F.cjs.map +0 -1
  1233. package/lib/chunk-5VI4FFCJ.cjs +0 -91
  1234. package/lib/chunk-5VI4FFCJ.cjs.map +0 -1
  1235. package/lib/chunk-5W54ENHX.js +0 -331
  1236. package/lib/chunk-5W54ENHX.js.map +0 -1
  1237. package/lib/chunk-5XNNWIAH.cjs +0 -98
  1238. package/lib/chunk-5XNNWIAH.cjs.map +0 -1
  1239. package/lib/chunk-5Z2IIZE4.cjs +0 -62
  1240. package/lib/chunk-5Z2IIZE4.cjs.map +0 -1
  1241. package/lib/chunk-62VNLMH5.cjs +0 -176
  1242. package/lib/chunk-62VNLMH5.cjs.map +0 -1
  1243. package/lib/chunk-6EZRTCA4.cjs +0 -53
  1244. package/lib/chunk-6EZRTCA4.cjs.map +0 -1
  1245. package/lib/chunk-6G4MV4VT.js +0 -75
  1246. package/lib/chunk-6G4MV4VT.js.map +0 -1
  1247. package/lib/chunk-6TJJD77K.cjs +0 -40
  1248. package/lib/chunk-6TJJD77K.cjs.map +0 -1
  1249. package/lib/chunk-6TN2P34K.cjs +0 -120
  1250. package/lib/chunk-6TN2P34K.cjs.map +0 -1
  1251. package/lib/chunk-73Q3EU2I.js +0 -68
  1252. package/lib/chunk-73Q3EU2I.js.map +0 -1
  1253. package/lib/chunk-7GDSHRLY.cjs +0 -170
  1254. package/lib/chunk-7GDSHRLY.cjs.map +0 -1
  1255. package/lib/chunk-7KTPV74D.js +0 -113
  1256. package/lib/chunk-7KTPV74D.js.map +0 -1
  1257. package/lib/chunk-7OUOUHOO.cjs +0 -84
  1258. package/lib/chunk-7OUOUHOO.cjs.map +0 -1
  1259. package/lib/chunk-7Y3OVLWC.cjs +0 -79
  1260. package/lib/chunk-7Y3OVLWC.cjs.map +0 -1
  1261. package/lib/chunk-A3U2XTGP.js +0 -124
  1262. package/lib/chunk-A3U2XTGP.js.map +0 -1
  1263. package/lib/chunk-A4GLMRLN.js +0 -89
  1264. package/lib/chunk-A4GLMRLN.js.map +0 -1
  1265. package/lib/chunk-A6AENRHK.cjs +0 -125
  1266. package/lib/chunk-A6AENRHK.cjs.map +0 -1
  1267. package/lib/chunk-ANFIAB6R.js +0 -177
  1268. package/lib/chunk-ANFIAB6R.js.map +0 -1
  1269. package/lib/chunk-AOHAWFOB.js +0 -86
  1270. package/lib/chunk-AOHAWFOB.js.map +0 -1
  1271. package/lib/chunk-APBF76ZC.cjs +0 -91
  1272. package/lib/chunk-APBF76ZC.cjs.map +0 -1
  1273. package/lib/chunk-ATGOMWPN.js +0 -77
  1274. package/lib/chunk-ATGOMWPN.js.map +0 -1
  1275. package/lib/chunk-AYBAQVWV.js +0 -612
  1276. package/lib/chunk-AYBAQVWV.js.map +0 -1
  1277. package/lib/chunk-AZTICLOY.js +0 -45
  1278. package/lib/chunk-AZTICLOY.js.map +0 -1
  1279. package/lib/chunk-B3KEZC7E.cjs +0 -62
  1280. package/lib/chunk-B3KEZC7E.cjs.map +0 -1
  1281. package/lib/chunk-B77UNRIL.cjs +0 -79
  1282. package/lib/chunk-B77UNRIL.cjs.map +0 -1
  1283. package/lib/chunk-BFD4ZKN2.cjs +0 -86
  1284. package/lib/chunk-BFD4ZKN2.cjs.map +0 -1
  1285. package/lib/chunk-BHWL7SMR.cjs +0 -614
  1286. package/lib/chunk-BHWL7SMR.cjs.map +0 -1
  1287. package/lib/chunk-BIRMFKH4.js +0 -51
  1288. package/lib/chunk-BIRMFKH4.js.map +0 -1
  1289. package/lib/chunk-BMQ5UFUF.cjs +0 -44
  1290. package/lib/chunk-BMQ5UFUF.cjs.map +0 -1
  1291. package/lib/chunk-BNN6J67M.js +0 -84
  1292. package/lib/chunk-BNN6J67M.js.map +0 -1
  1293. package/lib/chunk-BODGU3FN.js +0 -70
  1294. package/lib/chunk-BODGU3FN.js.map +0 -1
  1295. package/lib/chunk-BPANUY47.cjs +0 -22
  1296. package/lib/chunk-BPANUY47.cjs.map +0 -1
  1297. package/lib/chunk-BPJZJZ4P.cjs +0 -62
  1298. package/lib/chunk-BPJZJZ4P.cjs.map +0 -1
  1299. package/lib/chunk-BQASYOEH.js +0 -68
  1300. package/lib/chunk-BQASYOEH.js.map +0 -1
  1301. package/lib/chunk-BTR6K6LM.cjs +0 -63
  1302. package/lib/chunk-BTR6K6LM.cjs.map +0 -1
  1303. package/lib/chunk-BU7V7PER.cjs +0 -70
  1304. package/lib/chunk-BU7V7PER.cjs.map +0 -1
  1305. package/lib/chunk-BULIJXJG.js +0 -42
  1306. package/lib/chunk-BULIJXJG.js.map +0 -1
  1307. package/lib/chunk-BVY6R7DW.cjs +0 -74
  1308. package/lib/chunk-BVY6R7DW.cjs.map +0 -1
  1309. package/lib/chunk-CAMYSYCA.cjs +0 -125
  1310. package/lib/chunk-CAMYSYCA.cjs.map +0 -1
  1311. package/lib/chunk-CCMUJPKE.js +0 -51
  1312. package/lib/chunk-CCMUJPKE.js.map +0 -1
  1313. package/lib/chunk-CKS7ZLKB.js +0 -77
  1314. package/lib/chunk-CKS7ZLKB.js.map +0 -1
  1315. package/lib/chunk-CNX3NNSJ.js +0 -42
  1316. package/lib/chunk-CNX3NNSJ.js.map +0 -1
  1317. package/lib/chunk-CRSL2GLF.js +0 -80
  1318. package/lib/chunk-CRSL2GLF.js.map +0 -1
  1319. package/lib/chunk-CWAFALCE.js +0 -94
  1320. package/lib/chunk-CWAFALCE.js.map +0 -1
  1321. package/lib/chunk-CXLUFFYV.js +0 -180
  1322. package/lib/chunk-CXLUFFYV.js.map +0 -1
  1323. package/lib/chunk-D3X4TTHW.cjs +0 -55
  1324. package/lib/chunk-D3X4TTHW.cjs.map +0 -1
  1325. package/lib/chunk-D4ZRETJN.cjs +0 -179
  1326. package/lib/chunk-D4ZRETJN.cjs.map +0 -1
  1327. package/lib/chunk-D74NQPBD.js +0 -77
  1328. package/lib/chunk-D74NQPBD.js.map +0 -1
  1329. package/lib/chunk-DCHLWNWE.js +0 -89
  1330. package/lib/chunk-DCHLWNWE.js.map +0 -1
  1331. package/lib/chunk-DCKGGURY.js +0 -12
  1332. package/lib/chunk-DCKGGURY.js.map +0 -1
  1333. package/lib/chunk-DDJBA5N3.js +0 -86
  1334. package/lib/chunk-DDJBA5N3.js.map +0 -1
  1335. package/lib/chunk-DGUM43GV.js +0 -10
  1336. package/lib/chunk-DGUM43GV.js.map +0 -1
  1337. package/lib/chunk-DLEMEQCL.js +0 -68
  1338. package/lib/chunk-DLEMEQCL.js.map +0 -1
  1339. package/lib/chunk-DTENA3KF.cjs +0 -94
  1340. package/lib/chunk-DTENA3KF.cjs.map +0 -1
  1341. package/lib/chunk-DTVZJW3T.js +0 -60
  1342. package/lib/chunk-DTVZJW3T.js.map +0 -1
  1343. package/lib/chunk-DZPTIKD7.cjs +0 -70
  1344. package/lib/chunk-DZPTIKD7.cjs.map +0 -1
  1345. package/lib/chunk-E5WNJXQM.cjs +0 -79
  1346. package/lib/chunk-E5WNJXQM.cjs.map +0 -1
  1347. package/lib/chunk-E7N3CO5I.cjs +0 -122
  1348. package/lib/chunk-E7N3CO5I.cjs.map +0 -1
  1349. package/lib/chunk-E7ZKYXMW.js +0 -120
  1350. package/lib/chunk-E7ZKYXMW.js.map +0 -1
  1351. package/lib/chunk-ELS7YPTF.js +0 -60
  1352. package/lib/chunk-ELS7YPTF.js.map +0 -1
  1353. package/lib/chunk-ELSMZZL6.js +0 -68
  1354. package/lib/chunk-ELSMZZL6.js.map +0 -1
  1355. package/lib/chunk-EMAUWPBH.cjs +0 -62
  1356. package/lib/chunk-EMAUWPBH.cjs.map +0 -1
  1357. package/lib/chunk-ENGSDWYA.cjs +0 -70
  1358. package/lib/chunk-ENGSDWYA.cjs.map +0 -1
  1359. package/lib/chunk-ET7SIFCZ.js +0 -82
  1360. package/lib/chunk-ET7SIFCZ.js.map +0 -1
  1361. package/lib/chunk-F4XVHX6I.cjs +0 -243
  1362. package/lib/chunk-F4XVHX6I.cjs.map +0 -1
  1363. package/lib/chunk-FD2JC7HR.cjs +0 -62
  1364. package/lib/chunk-FD2JC7HR.cjs.map +0 -1
  1365. package/lib/chunk-FDPYOOCE.js +0 -132
  1366. package/lib/chunk-FDPYOOCE.js.map +0 -1
  1367. package/lib/chunk-FMPIBZQI.js +0 -78
  1368. package/lib/chunk-FMPIBZQI.js.map +0 -1
  1369. package/lib/chunk-FO6W4J2K.cjs +0 -70
  1370. package/lib/chunk-FO6W4J2K.cjs.map +0 -1
  1371. package/lib/chunk-FOTU7CYD.js +0 -53
  1372. package/lib/chunk-FOTU7CYD.js.map +0 -1
  1373. package/lib/chunk-FRJSKD6D.js +0 -68
  1374. package/lib/chunk-FRJSKD6D.js.map +0 -1
  1375. package/lib/chunk-FUVQOAPT.js +0 -60
  1376. package/lib/chunk-FUVQOAPT.js.map +0 -1
  1377. package/lib/chunk-FVJWAGF3.cjs +0 -77
  1378. package/lib/chunk-FVJWAGF3.cjs.map +0 -1
  1379. package/lib/chunk-G2G7OZPY.cjs +0 -71
  1380. package/lib/chunk-G2G7OZPY.cjs.map +0 -1
  1381. package/lib/chunk-GAQQJH3L.cjs +0 -70
  1382. package/lib/chunk-GAQQJH3L.cjs.map +0 -1
  1383. package/lib/chunk-GEJSGUO3.js +0 -75
  1384. package/lib/chunk-GEJSGUO3.js.map +0 -1
  1385. package/lib/chunk-GKPLAZMH.cjs +0 -339
  1386. package/lib/chunk-GKPLAZMH.cjs.map +0 -1
  1387. package/lib/chunk-GL5HO22G.js +0 -75
  1388. package/lib/chunk-GL5HO22G.js.map +0 -1
  1389. package/lib/chunk-GLA3FXNM.js +0 -96
  1390. package/lib/chunk-GLA3FXNM.js.map +0 -1
  1391. package/lib/chunk-GLFJHLVP.cjs +0 -120
  1392. package/lib/chunk-GLFJHLVP.cjs.map +0 -1
  1393. package/lib/chunk-GMOMWH45.js +0 -79
  1394. package/lib/chunk-GMOMWH45.js.map +0 -1
  1395. package/lib/chunk-GP7TYOQO.js +0 -68
  1396. package/lib/chunk-GP7TYOQO.js.map +0 -1
  1397. package/lib/chunk-GXOLCMKF.js +0 -73
  1398. package/lib/chunk-GXOLCMKF.js.map +0 -1
  1399. package/lib/chunk-H4CW7KIP.cjs +0 -102
  1400. package/lib/chunk-H4CW7KIP.cjs.map +0 -1
  1401. package/lib/chunk-H7FOVRDB.js +0 -51
  1402. package/lib/chunk-H7FOVRDB.js.map +0 -1
  1403. package/lib/chunk-H7I2IH4X.js +0 -68
  1404. package/lib/chunk-H7I2IH4X.js.map +0 -1
  1405. package/lib/chunk-HDETPQPF.js +0 -177
  1406. package/lib/chunk-HDETPQPF.js.map +0 -1
  1407. package/lib/chunk-HL4RE2VL.js +0 -96
  1408. package/lib/chunk-HL4RE2VL.js.map +0 -1
  1409. package/lib/chunk-HP72HI2Q.cjs +0 -193
  1410. package/lib/chunk-HP72HI2Q.cjs.map +0 -1
  1411. package/lib/chunk-HPFHY6E4.cjs +0 -75
  1412. package/lib/chunk-HPFHY6E4.cjs.map +0 -1
  1413. package/lib/chunk-HVHXCOIY.cjs +0 -126
  1414. package/lib/chunk-HVHXCOIY.cjs.map +0 -1
  1415. package/lib/chunk-HVW67FMI.cjs +0 -84
  1416. package/lib/chunk-HVW67FMI.cjs.map +0 -1
  1417. package/lib/chunk-HVYTLHDO.cjs +0 -79
  1418. package/lib/chunk-HVYTLHDO.cjs.map +0 -1
  1419. package/lib/chunk-I2Y3JYO7.js +0 -177
  1420. package/lib/chunk-I2Y3JYO7.js.map +0 -1
  1421. package/lib/chunk-I42LP7ZG.cjs +0 -91
  1422. package/lib/chunk-I42LP7ZG.cjs.map +0 -1
  1423. package/lib/chunk-IFT5SYLF.cjs +0 -91
  1424. package/lib/chunk-IFT5SYLF.cjs.map +0 -1
  1425. package/lib/chunk-IIXJMXXF.cjs +0 -80
  1426. package/lib/chunk-IIXJMXXF.cjs.map +0 -1
  1427. package/lib/chunk-ILC7QEAT.cjs +0 -79
  1428. package/lib/chunk-ILC7QEAT.cjs.map +0 -1
  1429. package/lib/chunk-IRBANPTE.cjs +0 -90
  1430. package/lib/chunk-IRBANPTE.cjs.map +0 -1
  1431. package/lib/chunk-IRYMYC5C.cjs +0 -88
  1432. package/lib/chunk-IRYMYC5C.cjs.map +0 -1
  1433. package/lib/chunk-IUOZC7XK.js +0 -174
  1434. package/lib/chunk-IUOZC7XK.js.map +0 -1
  1435. package/lib/chunk-IWM7VPWN.cjs +0 -85
  1436. package/lib/chunk-IWM7VPWN.cjs.map +0 -1
  1437. package/lib/chunk-IXWOBRJ4.js +0 -68
  1438. package/lib/chunk-IXWOBRJ4.js.map +0 -1
  1439. package/lib/chunk-IYNDRTNU.cjs +0 -53
  1440. package/lib/chunk-IYNDRTNU.cjs.map +0 -1
  1441. package/lib/chunk-IZFNSMU3.cjs +0 -193
  1442. package/lib/chunk-IZFNSMU3.cjs.map +0 -1
  1443. package/lib/chunk-IZOPMMMF.js +0 -82
  1444. package/lib/chunk-IZOPMMMF.js.map +0 -1
  1445. package/lib/chunk-JBUP7E7U.js +0 -86
  1446. package/lib/chunk-JBUP7E7U.js.map +0 -1
  1447. package/lib/chunk-JEJPSSXF.js +0 -77
  1448. package/lib/chunk-JEJPSSXF.js.map +0 -1
  1449. package/lib/chunk-JEQ2X3Z6.cjs +0 -12
  1450. package/lib/chunk-JEQ2X3Z6.cjs.map +0 -1
  1451. package/lib/chunk-JNS3HMDG.js +0 -68
  1452. package/lib/chunk-JNS3HMDG.js.map +0 -1
  1453. package/lib/chunk-JROHRQBW.cjs +0 -88
  1454. package/lib/chunk-JROHRQBW.cjs.map +0 -1
  1455. package/lib/chunk-JUZY67IP.cjs +0 -70
  1456. package/lib/chunk-JUZY67IP.cjs.map +0 -1
  1457. package/lib/chunk-JVLJIDJJ.js +0 -191
  1458. package/lib/chunk-JVLJIDJJ.js.map +0 -1
  1459. package/lib/chunk-K35AJI7L.js +0 -91
  1460. package/lib/chunk-K35AJI7L.js.map +0 -1
  1461. package/lib/chunk-KDFBUMSZ.js +0 -121
  1462. package/lib/chunk-KDFBUMSZ.js.map +0 -1
  1463. package/lib/chunk-KFIHPXZD.js +0 -60
  1464. package/lib/chunk-KFIHPXZD.js.map +0 -1
  1465. package/lib/chunk-KKU4FTJD.cjs +0 -198
  1466. package/lib/chunk-KKU4FTJD.cjs.map +0 -1
  1467. package/lib/chunk-KM76YWNO.cjs +0 -62
  1468. package/lib/chunk-KM76YWNO.cjs.map +0 -1
  1469. package/lib/chunk-KTGTFKFD.js +0 -89
  1470. package/lib/chunk-KTGTFKFD.js.map +0 -1
  1471. package/lib/chunk-KTICF7CN.js +0 -77
  1472. package/lib/chunk-KTICF7CN.js.map +0 -1
  1473. package/lib/chunk-KXITMWWL.js +0 -50
  1474. package/lib/chunk-KXITMWWL.js.map +0 -1
  1475. package/lib/chunk-KZMT4U4X.cjs +0 -52
  1476. package/lib/chunk-KZMT4U4X.cjs.map +0 -1
  1477. package/lib/chunk-L7VAH4BF.js +0 -60
  1478. package/lib/chunk-L7VAH4BF.js.map +0 -1
  1479. package/lib/chunk-LLQJ3JII.js +0 -241
  1480. package/lib/chunk-LLQJ3JII.js.map +0 -1
  1481. package/lib/chunk-LLTYLK3I.js +0 -92
  1482. package/lib/chunk-LLTYLK3I.js.map +0 -1
  1483. package/lib/chunk-LQYHM4ET.cjs +0 -77
  1484. package/lib/chunk-LQYHM4ET.cjs.map +0 -1
  1485. package/lib/chunk-M4VCWE32.js +0 -77
  1486. package/lib/chunk-M4VCWE32.js.map +0 -1
  1487. package/lib/chunk-M6EAUX5W.js +0 -35
  1488. package/lib/chunk-M6EAUX5W.js.map +0 -1
  1489. package/lib/chunk-M7NCBLZJ.cjs +0 -52
  1490. package/lib/chunk-M7NCBLZJ.cjs.map +0 -1
  1491. package/lib/chunk-MMKCMAW3.cjs +0 -61
  1492. package/lib/chunk-MMKCMAW3.cjs.map +0 -1
  1493. package/lib/chunk-MMNJTSFU.cjs +0 -70
  1494. package/lib/chunk-MMNJTSFU.cjs.map +0 -1
  1495. package/lib/chunk-MO2XOIMU.cjs +0 -53
  1496. package/lib/chunk-MO2XOIMU.cjs.map +0 -1
  1497. package/lib/chunk-MSXT4OKO.js +0 -203
  1498. package/lib/chunk-MSXT4OKO.js.map +0 -1
  1499. package/lib/chunk-N2B5T256.js +0 -65
  1500. package/lib/chunk-N2B5T256.js.map +0 -1
  1501. package/lib/chunk-N5346XYN.js +0 -69
  1502. package/lib/chunk-N5346XYN.js.map +0 -1
  1503. package/lib/chunk-ND7K4KSA.cjs +0 -179
  1504. package/lib/chunk-ND7K4KSA.cjs.map +0 -1
  1505. package/lib/chunk-NDQ6NHZJ.cjs +0 -77
  1506. package/lib/chunk-NDQ6NHZJ.cjs.map +0 -1
  1507. package/lib/chunk-NJ2ERQUB.js +0 -36
  1508. package/lib/chunk-NJ2ERQUB.js.map +0 -1
  1509. package/lib/chunk-NOOZM2ZC.js +0 -116
  1510. package/lib/chunk-NOOZM2ZC.js.map +0 -1
  1511. package/lib/chunk-NR5ZYTRC.js +0 -75
  1512. package/lib/chunk-NR5ZYTRC.js.map +0 -1
  1513. package/lib/chunk-NRKJ6IBM.cjs +0 -70
  1514. package/lib/chunk-NRKJ6IBM.cjs.map +0 -1
  1515. package/lib/chunk-NRSSZKXW.js +0 -92
  1516. package/lib/chunk-NRSSZKXW.js.map +0 -1
  1517. package/lib/chunk-NRTF52EF.cjs +0 -44
  1518. package/lib/chunk-NRTF52EF.cjs.map +0 -1
  1519. package/lib/chunk-NTLWDGIN.cjs +0 -53
  1520. package/lib/chunk-NTLWDGIN.cjs.map +0 -1
  1521. package/lib/chunk-NUUMQNTS.js +0 -191
  1522. package/lib/chunk-NUUMQNTS.js.map +0 -1
  1523. package/lib/chunk-NXKJ6SD5.cjs +0 -40
  1524. package/lib/chunk-NXKJ6SD5.cjs.map +0 -1
  1525. package/lib/chunk-O6KAEVM7.cjs +0 -60
  1526. package/lib/chunk-O6KAEVM7.cjs.map +0 -1
  1527. package/lib/chunk-OES7SSLU.cjs +0 -79
  1528. package/lib/chunk-OES7SSLU.cjs.map +0 -1
  1529. package/lib/chunk-OETE27SD.cjs +0 -91
  1530. package/lib/chunk-OETE27SD.cjs.map +0 -1
  1531. package/lib/chunk-OH4R7NRW.cjs +0 -556
  1532. package/lib/chunk-OH4R7NRW.cjs.map +0 -1
  1533. package/lib/chunk-OLG2UDIK.cjs +0 -16
  1534. package/lib/chunk-OLG2UDIK.cjs.map +0 -1
  1535. package/lib/chunk-ON6Q7XO4.js +0 -82
  1536. package/lib/chunk-ON6Q7XO4.js.map +0 -1
  1537. package/lib/chunk-OOUG4ORW.js +0 -50
  1538. package/lib/chunk-OOUG4ORW.js.map +0 -1
  1539. package/lib/chunk-OXHQKMPQ.js +0 -20
  1540. package/lib/chunk-OXHQKMPQ.js.map +0 -1
  1541. package/lib/chunk-OYDQRTMK.js +0 -50
  1542. package/lib/chunk-OYDQRTMK.js.map +0 -1
  1543. package/lib/chunk-OZJAWDJJ.js +0 -68
  1544. package/lib/chunk-OZJAWDJJ.js.map +0 -1
  1545. package/lib/chunk-P7ZYV63Z.js +0 -65
  1546. package/lib/chunk-P7ZYV63Z.js.map +0 -1
  1547. package/lib/chunk-PGA6KIDT.js +0 -164
  1548. package/lib/chunk-PGA6KIDT.js.map +0 -1
  1549. package/lib/chunk-PN2WF7LS.js +0 -118
  1550. package/lib/chunk-PN2WF7LS.js.map +0 -1
  1551. package/lib/chunk-PNLR24KH.cjs +0 -88
  1552. package/lib/chunk-PNLR24KH.cjs.map +0 -1
  1553. package/lib/chunk-PUZ5FS42.js +0 -58
  1554. package/lib/chunk-PUZ5FS42.js.map +0 -1
  1555. package/lib/chunk-PXI3FFHR.js +0 -542
  1556. package/lib/chunk-PXI3FFHR.js.map +0 -1
  1557. package/lib/chunk-PZHPJODG.cjs +0 -67
  1558. package/lib/chunk-PZHPJODG.cjs.map +0 -1
  1559. package/lib/chunk-QGUQARY2.js +0 -59
  1560. package/lib/chunk-QGUQARY2.js.map +0 -1
  1561. package/lib/chunk-QOX77APY.cjs +0 -96
  1562. package/lib/chunk-QOX77APY.cjs.map +0 -1
  1563. package/lib/chunk-QPL3YX2K.js +0 -83
  1564. package/lib/chunk-QPL3YX2K.js.map +0 -1
  1565. package/lib/chunk-QTBQUW5F.js +0 -196
  1566. package/lib/chunk-QTBQUW5F.js.map +0 -1
  1567. package/lib/chunk-QWA7BZWH.cjs +0 -79
  1568. package/lib/chunk-QWA7BZWH.cjs.map +0 -1
  1569. package/lib/chunk-R2OO474N.js +0 -27
  1570. package/lib/chunk-R2OO474N.js.map +0 -1
  1571. package/lib/chunk-R5CNDSIV.js +0 -68
  1572. package/lib/chunk-R5CNDSIV.js.map +0 -1
  1573. package/lib/chunk-R7GDQOYO.js +0 -100
  1574. package/lib/chunk-R7GDQOYO.js.map +0 -1
  1575. package/lib/chunk-REJKMDQW.js +0 -51
  1576. package/lib/chunk-REJKMDQW.js.map +0 -1
  1577. package/lib/chunk-RHDFKSZY.cjs +0 -29
  1578. package/lib/chunk-RHDFKSZY.cjs.map +0 -1
  1579. package/lib/chunk-RK2FEMQP.cjs +0 -323
  1580. package/lib/chunk-RK2FEMQP.cjs.map +0 -1
  1581. package/lib/chunk-RKTXSN4V.cjs +0 -71
  1582. package/lib/chunk-RKTXSN4V.cjs.map +0 -1
  1583. package/lib/chunk-RKZ7NQQK.js +0 -177
  1584. package/lib/chunk-RKZ7NQQK.js.map +0 -1
  1585. package/lib/chunk-RNTRA77X.cjs +0 -79
  1586. package/lib/chunk-RNTRA77X.cjs.map +0 -1
  1587. package/lib/chunk-RPSB3BEJ.cjs +0 -67
  1588. package/lib/chunk-RPSB3BEJ.cjs.map +0 -1
  1589. package/lib/chunk-RPYKNJGO.cjs +0 -61
  1590. package/lib/chunk-RPYKNJGO.cjs.map +0 -1
  1591. package/lib/chunk-RREOQFIQ.js +0 -77
  1592. package/lib/chunk-RREOQFIQ.js.map +0 -1
  1593. package/lib/chunk-S4CPSRCJ.cjs +0 -61
  1594. package/lib/chunk-S4CPSRCJ.cjs.map +0 -1
  1595. package/lib/chunk-SALCRQCG.js +0 -24
  1596. package/lib/chunk-SALCRQCG.js.map +0 -1
  1597. package/lib/chunk-SCM6LSNM.cjs +0 -98
  1598. package/lib/chunk-SCM6LSNM.cjs.map +0 -1
  1599. package/lib/chunk-SDTS2VCD.js +0 -86
  1600. package/lib/chunk-SDTS2VCD.js.map +0 -1
  1601. package/lib/chunk-SFAO2A3N.cjs +0 -53
  1602. package/lib/chunk-SFAO2A3N.cjs.map +0 -1
  1603. package/lib/chunk-SFXZIJ25.js +0 -79
  1604. package/lib/chunk-SFXZIJ25.js.map +0 -1
  1605. package/lib/chunk-SKHYOLJA.js +0 -100
  1606. package/lib/chunk-SKHYOLJA.js.map +0 -1
  1607. package/lib/chunk-SLBCAAYH.js +0 -68
  1608. package/lib/chunk-SLBCAAYH.js.map +0 -1
  1609. package/lib/chunk-SQBN5NCG.cjs +0 -80
  1610. package/lib/chunk-SQBN5NCG.cjs.map +0 -1
  1611. package/lib/chunk-SSP54MAX.cjs +0 -88
  1612. package/lib/chunk-SSP54MAX.cjs.map +0 -1
  1613. package/lib/chunk-TCBUTFPR.js +0 -123
  1614. package/lib/chunk-TCBUTFPR.js.map +0 -1
  1615. package/lib/chunk-TDSOIDEK.cjs +0 -134
  1616. package/lib/chunk-TDSOIDEK.cjs.map +0 -1
  1617. package/lib/chunk-TEYJIKEG.cjs +0 -179
  1618. package/lib/chunk-TEYJIKEG.cjs.map +0 -1
  1619. package/lib/chunk-TK6ZJDPM.cjs +0 -89
  1620. package/lib/chunk-TK6ZJDPM.cjs.map +0 -1
  1621. package/lib/chunk-TKLJQ4EZ.cjs +0 -70
  1622. package/lib/chunk-TKLJQ4EZ.cjs.map +0 -1
  1623. package/lib/chunk-TLVM56AW.cjs +0 -712
  1624. package/lib/chunk-TLVM56AW.cjs.map +0 -1
  1625. package/lib/chunk-TMLHA2SH.cjs +0 -70
  1626. package/lib/chunk-TMLHA2SH.cjs.map +0 -1
  1627. package/lib/chunk-TNYPDYRQ.js +0 -77
  1628. package/lib/chunk-TNYPDYRQ.js.map +0 -1
  1629. package/lib/chunk-TQMWALIZ.cjs +0 -93
  1630. package/lib/chunk-TQMWALIZ.cjs.map +0 -1
  1631. package/lib/chunk-TVRITF4Q.cjs +0 -164
  1632. package/lib/chunk-TVRITF4Q.cjs.map +0 -1
  1633. package/lib/chunk-TZQZDDQM.cjs +0 -179
  1634. package/lib/chunk-TZQZDDQM.cjs.map +0 -1
  1635. package/lib/chunk-TZYNA4PS.js +0 -79
  1636. package/lib/chunk-TZYNA4PS.js.map +0 -1
  1637. package/lib/chunk-U753GALL.js +0 -88
  1638. package/lib/chunk-U753GALL.js.map +0 -1
  1639. package/lib/chunk-UIIA2NOP.js +0 -118
  1640. package/lib/chunk-UIIA2NOP.js.map +0 -1
  1641. package/lib/chunk-UKPBX7LY.cjs +0 -70
  1642. package/lib/chunk-UKPBX7LY.cjs.map +0 -1
  1643. package/lib/chunk-UQ7DYB5E.js +0 -77
  1644. package/lib/chunk-UQ7DYB5E.js.map +0 -1
  1645. package/lib/chunk-US6R23LF.cjs +0 -70
  1646. package/lib/chunk-US6R23LF.cjs.map +0 -1
  1647. package/lib/chunk-UTST4YPO.js +0 -68
  1648. package/lib/chunk-UTST4YPO.js.map +0 -1
  1649. package/lib/chunk-UZBVGMSV.js +0 -68
  1650. package/lib/chunk-UZBVGMSV.js.map +0 -1
  1651. package/lib/chunk-UZEYQBID.cjs +0 -70
  1652. package/lib/chunk-UZEYQBID.cjs.map +0 -1
  1653. package/lib/chunk-VBWYHYCJ.cjs +0 -35
  1654. package/lib/chunk-VBWYHYCJ.cjs.map +0 -1
  1655. package/lib/chunk-VRPS4DFY.cjs +0 -115
  1656. package/lib/chunk-VRPS4DFY.cjs.map +0 -1
  1657. package/lib/chunk-VWSDATWK.cjs +0 -79
  1658. package/lib/chunk-VWSDATWK.cjs.map +0 -1
  1659. package/lib/chunk-VZQIHAFY.cjs +0 -81
  1660. package/lib/chunk-VZQIHAFY.cjs.map +0 -1
  1661. package/lib/chunk-W2TZOXPY.cjs +0 -47
  1662. package/lib/chunk-W2TZOXPY.cjs.map +0 -1
  1663. package/lib/chunk-W2VZAGW4.js +0 -60
  1664. package/lib/chunk-W2VZAGW4.js.map +0 -1
  1665. package/lib/chunk-W4URWXJ7.js +0 -96
  1666. package/lib/chunk-W4URWXJ7.js.map +0 -1
  1667. package/lib/chunk-WAFUWWBD.cjs +0 -118
  1668. package/lib/chunk-WAFUWWBD.cjs.map +0 -1
  1669. package/lib/chunk-WFZK3GQX.cjs +0 -38
  1670. package/lib/chunk-WFZK3GQX.cjs.map +0 -1
  1671. package/lib/chunk-WLWSEYVW.cjs +0 -26
  1672. package/lib/chunk-WLWSEYVW.cjs.map +0 -1
  1673. package/lib/chunk-WNEAV26W.js +0 -89
  1674. package/lib/chunk-WNEAV26W.js.map +0 -1
  1675. package/lib/chunk-WO5LQQSK.cjs +0 -4
  1676. package/lib/chunk-WO5LQQSK.cjs.map +0 -1
  1677. package/lib/chunk-WOVCY6ON.cjs +0 -22
  1678. package/lib/chunk-WOVCY6ON.cjs.map +0 -1
  1679. package/lib/chunk-WPZZ7TYZ.js +0 -77
  1680. package/lib/chunk-WPZZ7TYZ.js.map +0 -1
  1681. package/lib/chunk-WXAR4XMS.cjs +0 -79
  1682. package/lib/chunk-WXAR4XMS.cjs.map +0 -1
  1683. package/lib/chunk-X5AV3JJL.js +0 -42
  1684. package/lib/chunk-X5AV3JJL.js.map +0 -1
  1685. package/lib/chunk-X6NTP67A.cjs +0 -88
  1686. package/lib/chunk-X6NTP67A.cjs.map +0 -1
  1687. package/lib/chunk-X7L4YY6Q.cjs +0 -93
  1688. package/lib/chunk-X7L4YY6Q.cjs.map +0 -1
  1689. package/lib/chunk-XBZ4KQ72.js +0 -69
  1690. package/lib/chunk-XBZ4KQ72.js.map +0 -1
  1691. package/lib/chunk-XC52EDZL.js +0 -191
  1692. package/lib/chunk-XC52EDZL.js.map +0 -1
  1693. package/lib/chunk-XCYEGPE6.cjs +0 -44
  1694. package/lib/chunk-XCYEGPE6.cjs.map +0 -1
  1695. package/lib/chunk-XFEBSQBG.cjs +0 -84
  1696. package/lib/chunk-XFEBSQBG.cjs.map +0 -1
  1697. package/lib/chunk-XGETDJS6.cjs +0 -79
  1698. package/lib/chunk-XGETDJS6.cjs.map +0 -1
  1699. package/lib/chunk-XISWA6SP.cjs +0 -77
  1700. package/lib/chunk-XISWA6SP.cjs.map +0 -1
  1701. package/lib/chunk-XJPK7JSH.js +0 -77
  1702. package/lib/chunk-XJPK7JSH.js.map +0 -1
  1703. package/lib/chunk-XKCYUSO3.cjs +0 -81
  1704. package/lib/chunk-XKCYUSO3.cjs.map +0 -1
  1705. package/lib/chunk-XZLQM5TG.js +0 -33
  1706. package/lib/chunk-XZLQM5TG.js.map +0 -1
  1707. package/lib/chunk-YC7P7U37.js +0 -78
  1708. package/lib/chunk-YC7P7U37.js.map +0 -1
  1709. package/lib/chunk-YIP564B3.js +0 -87
  1710. package/lib/chunk-YIP564B3.js.map +0 -1
  1711. package/lib/chunk-YJ3O5XLC.js +0 -3
  1712. package/lib/chunk-YJ3O5XLC.js.map +0 -1
  1713. package/lib/chunk-YRHBJTKU.js +0 -96
  1714. package/lib/chunk-YRHBJTKU.js.map +0 -1
  1715. package/lib/chunk-YT2JXKSB.js +0 -82
  1716. package/lib/chunk-YT2JXKSB.js.map +0 -1
  1717. package/lib/chunk-YTKKF3OH.cjs +0 -70
  1718. package/lib/chunk-YTKKF3OH.cjs.map +0 -1
  1719. package/lib/chunk-YTSMQAN7.js +0 -86
  1720. package/lib/chunk-YTSMQAN7.js.map +0 -1
  1721. package/lib/chunk-YTXNOZVJ.js +0 -68
  1722. package/lib/chunk-YTXNOZVJ.js.map +0 -1
  1723. package/lib/chunk-YUKH7ESE.js +0 -42
  1724. package/lib/chunk-YUKH7ESE.js.map +0 -1
  1725. package/lib/chunk-YVUJAOL2.cjs +0 -69
  1726. package/lib/chunk-YVUJAOL2.cjs.map +0 -1
  1727. package/lib/chunk-YWU46S7V.js +0 -709
  1728. package/lib/chunk-YWU46S7V.js.map +0 -1
  1729. package/lib/chunk-YXFYXDGG.js +0 -154
  1730. package/lib/chunk-YXFYXDGG.js.map +0 -1
  1731. package/lib/chunk-YZQACFJF.js +0 -77
  1732. package/lib/chunk-YZQACFJF.js.map +0 -1
  1733. package/lib/chunk-Z2ZLJGA4.cjs +0 -70
  1734. package/lib/chunk-Z2ZLJGA4.cjs.map +0 -1
  1735. package/lib/chunk-ZA46YCQ5.js +0 -321
  1736. package/lib/chunk-ZA46YCQ5.js.map +0 -1
  1737. package/lib/chunk-ZA6NI5JQ.js +0 -84
  1738. package/lib/chunk-ZA6NI5JQ.js.map +0 -1
  1739. package/lib/chunk-ZEUZ6YAA.cjs +0 -179
  1740. package/lib/chunk-ZEUZ6YAA.cjs.map +0 -1
  1741. package/lib/chunk-ZFCXWZIL.cjs +0 -84
  1742. package/lib/chunk-ZFCXWZIL.cjs.map +0 -1
  1743. package/lib/chunk-ZMH7UHLF.js +0 -177
  1744. package/lib/chunk-ZMH7UHLF.js.map +0 -1
  1745. package/lib/chunk-ZRRBBZZ6.js +0 -168
  1746. package/lib/chunk-ZRRBBZZ6.js.map +0 -1
  1747. package/lib/chunk-ZSTRX2NN.cjs +0 -166
  1748. package/lib/chunk-ZSTRX2NN.cjs.map +0 -1
  1749. package/lib/chunk-ZV2F5AT6.js +0 -59
  1750. package/lib/chunk-ZV2F5AT6.js.map +0 -1
  1751. package/lib/chunk-ZX6P5OOB.js +0 -91
  1752. package/lib/chunk-ZX6P5OOB.js.map +0 -1
  1753. package/lib/client.cjs +0 -17
  1754. package/lib/client.cjs.map +0 -1
  1755. package/lib/client.d.cts +0 -42
  1756. package/lib/client.d.ts +0 -40
  1757. package/lib/client.js +0 -9
  1758. package/lib/client.js.map +0 -1
  1759. package/lib/config.cjs +0 -12
  1760. package/lib/config.cjs.map +0 -1
  1761. package/lib/config.d.cts +0 -19
  1762. package/lib/config.d.ts +0 -19
  1763. package/lib/config.js +0 -4
  1764. package/lib/config.js.map +0 -1
  1765. package/lib/debug.cjs +0 -12
  1766. package/lib/debug.cjs.map +0 -1
  1767. package/lib/debug.d.cts +0 -4
  1768. package/lib/debug.d.ts +0 -4
  1769. package/lib/debug.js +0 -4
  1770. package/lib/debug.js.map +0 -1
  1771. package/lib/error.cjs +0 -38
  1772. package/lib/error.cjs.map +0 -1
  1773. package/lib/error.d.cts +0 -38
  1774. package/lib/error.d.ts +0 -38
  1775. package/lib/error.js +0 -5
  1776. package/lib/error.js.map +0 -1
  1777. package/lib/fetch-D4JGyBOl.d.cts +0 -55
  1778. package/lib/fetch-D4JGyBOl.d.ts +0 -55
  1779. package/lib/fetch.cjs +0 -18
  1780. package/lib/fetch.cjs.map +0 -1
  1781. package/lib/fetch.d.cts +0 -1
  1782. package/lib/fetch.d.ts +0 -1
  1783. package/lib/fetch.js +0 -5
  1784. package/lib/fetch.js.map +0 -1
  1785. package/lib/interceptor.cjs +0 -4
  1786. package/lib/interceptor.cjs.map +0 -1
  1787. package/lib/interceptor.d.cts +0 -1
  1788. package/lib/interceptor.d.ts +0 -1
  1789. package/lib/interceptor.js +0 -3
  1790. package/lib/interceptor.js.map +0 -1
  1791. package/lib/jsonapi.cjs +0 -25
  1792. package/lib/jsonapi.cjs.map +0 -1
  1793. package/lib/jsonapi.d.cts +0 -11
  1794. package/lib/jsonapi.d.ts +0 -11
  1795. package/lib/jsonapi.js +0 -12
  1796. package/lib/jsonapi.js.map +0 -1
  1797. package/lib/query.cjs +0 -23
  1798. package/lib/query.cjs.map +0 -1
  1799. package/lib/query.d.cts +0 -4
  1800. package/lib/query.d.ts +0 -4
  1801. package/lib/query.js +0 -6
  1802. package/lib/query.js.map +0 -1
  1803. package/lib/resource.cjs +0 -37
  1804. package/lib/resource.cjs.map +0 -1
  1805. package/lib/resource.d.cts +0 -4
  1806. package/lib/resource.d.ts +0 -4
  1807. package/lib/resource.js +0 -12
  1808. package/lib/resource.js.map +0 -1
  1809. package/lib/types.cjs +0 -4
  1810. package/lib/types.cjs.map +0 -1
  1811. package/lib/types.d.cts +0 -7
  1812. package/lib/types.d.ts +0 -7
  1813. package/lib/types.js +0 -3
  1814. package/lib/types.js.map +0 -1
  1815. package/lib/util.cjs +0 -25
  1816. package/lib/util.cjs.map +0 -1
  1817. package/lib/util.d.cts +0 -13
  1818. package/lib/util.d.ts +0 -13
  1819. package/lib/util.js +0 -4
  1820. package/lib/util.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../gen/resources/easypost_pickups.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-TBTPGODY.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Parcel } from './parcels'\nimport type { Shipment, ShipmentType } from './shipments'\n\ntype EasypostPickupType = 'easypost_pickups'\ntype EasypostPickupRel = ResourceRel & { type: EasypostPickupType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\n\nexport type EasypostPickupSort = Pick<\n EasypostPickup,\n 'id' | 'status' | 'min_datetime' | 'max_datetime' | 'purchase_started_at' | 'purchase_completed_at'\n> &\n ResourceSort\n// export type EasypostPickupFilter = Pick<EasypostPickup, 'id' | 'status' | 'min_datetime' | 'max_datetime' | 'purchase_started_at' | 'purchase_completed_at'> & ResourceFilter\n\n/**\n * The Easypost pickup object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/easypost_pickups endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/easypost_pickups/object\n */\ninterface EasypostPickup extends Resource {\n readonly type: EasypostPickupType\n\n /**\n * The pick up status.\n * @example ```\"unknown\"```\n */\n status?: string | null\n /**\n * The pick up service internal ID.\n * @example ```\"pickup_13e5d7e2a7824432a07975bc553944bc\"```\n */\n internal_id: string\n /**\n * The selected purchase rate from the available pick up rates.\n * @example ```\"pickuprate_a6cd2647a898410aa5d33febde44e1b2\"```\n */\n selected_rate_id?: string | null\n /**\n * The available pick up rates.\n * @example ```[{\"id\":\"pickuprate_a6cd2647a898410aa5d33febde44e1b2\",\"rate\":\"45.59\",\"carrier\":\"USPS\",\"service\":\"NextDay\"}]```\n */\n rates: Array<Record<string, any>>\n /**\n * Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.\n * @example ```\"Knock loudly\"```\n */\n instructions?: string | null\n /**\n * The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n min_datetime: string\n /**\n * The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n max_datetime: string\n /**\n * Time at which the purchasing of the pick up rate started.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n purchase_started_at?: string | null\n /**\n * Time at which the purchasing of the pick up rate completed.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n purchase_completed_at?: string | null\n\n shipment?: Shipment | null\n parcels?: Parcel[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface EasypostPickupCreate extends ResourceCreate {\n /**\n * Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.\n * @example ```\"Knock loudly\"```\n */\n instructions?: string | null\n /**\n * The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n min_datetime: string\n /**\n * The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n max_datetime: string\n\n shipment: ShipmentRel\n}\n\ninterface EasypostPickupUpdate extends ResourceUpdate {\n /**\n * The selected purchase rate from the available pick up rates.\n * @example ```\"pickuprate_a6cd2647a898410aa5d33febde44e1b2\"```\n */\n selected_rate_id?: string | null\n /**\n * Send this attribute if you want to purchase this pick up with the selected rate.\n * @example ```true```\n */\n _purchase?: boolean | null\n\n shipment?: ShipmentRel | null\n}\n\nclass EasypostPickups extends ApiResource<EasypostPickup> {\n static readonly TYPE: EasypostPickupType = 'easypost_pickups' as const\n\n async create(\n resource: EasypostPickupCreate,\n params?: QueryParamsRetrieve<EasypostPickup>,\n options?: ResourcesConfig,\n ): Promise<EasypostPickup> {\n return this.resources.create<EasypostPickupCreate, EasypostPickup>(\n { ...resource, type: EasypostPickups.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: EasypostPickupUpdate,\n params?: QueryParamsRetrieve<EasypostPickup>,\n options?: ResourcesConfig,\n ): Promise<EasypostPickup> {\n return this.resources.update<EasypostPickupUpdate, EasypostPickup>(\n { ...resource, type: EasypostPickups.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: EasypostPickups.TYPE } : id, options)\n }\n\n async shipment(\n easypostPickupId: string | EasypostPickup,\n params?: QueryParamsRetrieve<Shipment>,\n options?: ResourcesConfig,\n ): Promise<Shipment> {\n const _easypostPickupId = (easypostPickupId as EasypostPickup).id || (easypostPickupId as string)\n return this.resources.fetch<Shipment>(\n { type: 'shipments' },\n `easypost_pickups/${_easypostPickupId}/shipment`,\n params,\n options,\n ) as unknown as Shipment\n }\n\n async parcels(\n easypostPickupId: string | EasypostPickup,\n params?: QueryParamsList<Parcel>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Parcel>> {\n const _easypostPickupId = (easypostPickupId as EasypostPickup).id || (easypostPickupId as string)\n return this.resources.fetch<Parcel>(\n { type: 'parcels' },\n `easypost_pickups/${_easypostPickupId}/parcels`,\n params,\n options,\n ) as unknown as ListResponse<Parcel>\n }\n\n async events(\n easypostPickupId: string | EasypostPickup,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _easypostPickupId = (easypostPickupId as EasypostPickup).id || (easypostPickupId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `easypost_pickups/${_easypostPickupId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n easypostPickupId: string | EasypostPickup,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _easypostPickupId = (easypostPickupId as EasypostPickup).id || (easypostPickupId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `easypost_pickups/${_easypostPickupId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _purchase(\n id: string | EasypostPickup,\n params?: QueryParamsRetrieve<EasypostPickup>,\n options?: ResourcesConfig,\n ): Promise<EasypostPickup> {\n return this.resources.update<EasypostPickupUpdate, EasypostPickup>(\n { id: typeof id === 'string' ? id : id.id, type: EasypostPickups.TYPE, _purchase: true },\n params,\n options,\n )\n }\n\n isEasypostPickup(resource: any): resource is EasypostPickup {\n return resource.type && resource.type === EasypostPickups.TYPE\n }\n\n relationship(id: string | ResourceId | null): EasypostPickupRel {\n return super.relationshipOneToOne<EasypostPickupRel>(id)\n }\n\n relationshipToMany(...ids: string[]): EasypostPickupRel[] {\n return super.relationshipOneToMany<EasypostPickupRel>(...ids)\n }\n\n type(): EasypostPickupType {\n return EasypostPickups.TYPE\n }\n}\n\nconst instance = new EasypostPickups()\nexport default instance\n\nexport type { EasypostPickup, EasypostPickupCreate, EasypostPickups, EasypostPickupType, EasypostPickupUpdate }\n"]}
@@ -0,0 +1,124 @@
1
+ import { ApiResource } from './chunk-Q6NZ4ERM.js';
2
+
3
+ // gen/resources/bundles.ts
4
+ var Bundles = class _Bundles extends ApiResource {
5
+ static TYPE = "bundles";
6
+ async create(resource, params, options) {
7
+ return this.resources.create({ ...resource, type: _Bundles.TYPE }, params, options);
8
+ }
9
+ async update(resource, params, options) {
10
+ return this.resources.update({ ...resource, type: _Bundles.TYPE }, params, options);
11
+ }
12
+ async delete(id, options) {
13
+ await this.resources.delete(typeof id === "string" ? { id, type: _Bundles.TYPE } : id, options);
14
+ }
15
+ async market(bundleId, params, options) {
16
+ const _bundleId = bundleId.id || bundleId;
17
+ return this.resources.fetch(
18
+ { type: "markets" },
19
+ `bundles/${_bundleId}/market`,
20
+ params,
21
+ options
22
+ );
23
+ }
24
+ async sku_list(bundleId, params, options) {
25
+ const _bundleId = bundleId.id || bundleId;
26
+ return this.resources.fetch(
27
+ { type: "sku_lists" },
28
+ `bundles/${_bundleId}/sku_list`,
29
+ params,
30
+ options
31
+ );
32
+ }
33
+ async skus(bundleId, params, options) {
34
+ const _bundleId = bundleId.id || bundleId;
35
+ return this.resources.fetch(
36
+ { type: "skus" },
37
+ `bundles/${_bundleId}/skus`,
38
+ params,
39
+ options
40
+ );
41
+ }
42
+ async attachments(bundleId, params, options) {
43
+ const _bundleId = bundleId.id || bundleId;
44
+ return this.resources.fetch(
45
+ { type: "attachments" },
46
+ `bundles/${_bundleId}/attachments`,
47
+ params,
48
+ options
49
+ );
50
+ }
51
+ async events(bundleId, params, options) {
52
+ const _bundleId = bundleId.id || bundleId;
53
+ return this.resources.fetch(
54
+ { type: "events" },
55
+ `bundles/${_bundleId}/events`,
56
+ params,
57
+ options
58
+ );
59
+ }
60
+ async tags(bundleId, params, options) {
61
+ const _bundleId = bundleId.id || bundleId;
62
+ return this.resources.fetch(
63
+ { type: "tags" },
64
+ `bundles/${_bundleId}/tags`,
65
+ params,
66
+ options
67
+ );
68
+ }
69
+ async event_stores(bundleId, params, options) {
70
+ const _bundleId = bundleId.id || bundleId;
71
+ return this.resources.fetch(
72
+ { type: "event_stores" },
73
+ `bundles/${_bundleId}/event_stores`,
74
+ params,
75
+ options
76
+ );
77
+ }
78
+ async _compute_price_amount(id, params, options) {
79
+ return this.resources.update(
80
+ { id: typeof id === "string" ? id : id.id, type: _Bundles.TYPE, _compute_price_amount: true },
81
+ params,
82
+ options
83
+ );
84
+ }
85
+ async _compute_compare_at_amount(id, params, options) {
86
+ return this.resources.update(
87
+ { id: typeof id === "string" ? id : id.id, type: _Bundles.TYPE, _compute_compare_at_amount: true },
88
+ params,
89
+ options
90
+ );
91
+ }
92
+ async _add_tags(id, triggerValue, params, options) {
93
+ return this.resources.update(
94
+ { id: typeof id === "string" ? id : id.id, type: _Bundles.TYPE, _add_tags: triggerValue },
95
+ params,
96
+ options
97
+ );
98
+ }
99
+ async _remove_tags(id, triggerValue, params, options) {
100
+ return this.resources.update(
101
+ { id: typeof id === "string" ? id : id.id, type: _Bundles.TYPE, _remove_tags: triggerValue },
102
+ params,
103
+ options
104
+ );
105
+ }
106
+ isBundle(resource) {
107
+ return resource.type && resource.type === _Bundles.TYPE;
108
+ }
109
+ relationship(id) {
110
+ return super.relationshipOneToOne(id);
111
+ }
112
+ relationshipToMany(...ids) {
113
+ return super.relationshipOneToMany(...ids);
114
+ }
115
+ type() {
116
+ return _Bundles.TYPE;
117
+ }
118
+ };
119
+ var instance = new Bundles();
120
+ var bundles_default = instance;
121
+
122
+ export { bundles_default };
123
+ //# sourceMappingURL=chunk-TGUDVMKA.js.map
124
+ //# sourceMappingURL=chunk-TGUDVMKA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../gen/resources/bundles.ts"],"names":[],"mappings":"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","file":"chunk-TGUDVMKA.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Sku } from './skus'\nimport type { Tag, TagType } from './tags'\n\ntype BundleType = 'bundles'\ntype BundleRel = ResourceRel & { type: BundleType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\nexport type BundleSort = Pick<\n Bundle,\n 'id' | 'code' | 'name' | 'currency_code' | 'price_amount_cents' | 'compare_at_amount_cents'\n> &\n ResourceSort\n// export type BundleFilter = Pick<Bundle, 'id' | 'code' | 'name' | 'currency_code' | 'description' | 'image_url' | 'do_not_ship' | 'do_not_track' | 'price_amount_cents' | 'compare_at_amount_cents'> & ResourceFilter\n\n/**\n * The Bundle object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/bundles endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/bundles/object\n */\ninterface Bundle extends Resource {\n readonly type: BundleType\n\n /**\n * The bundle code, that uniquely identifies the bundle within the market.\n * @example ```\"BUNDMM000000FFFFFFXLXX\"```\n */\n code: string\n /**\n * The internal name of the bundle.\n * @example ```\"Men's Black T-shirt (XL) with Black Cap and Socks, all with White Logo\"```\n */\n name: string\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * An internal description of the bundle.\n * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n */\n description?: string | null\n /**\n * The URL of an image that represents the bundle.\n * @example ```\"https://img.yourdomain.com/bundles/xYZkjABcde.png\"```\n */\n image_url?: string | null\n /**\n * Indicates if the bundle doesn't generate shipments (all sku_list's SKUs must be do_not_ship).\n */\n do_not_ship?: boolean | null\n /**\n * Indicates if the bundle doesn't track the stock inventory (all sku_list's SKUs must be do_not_track).\n */\n do_not_track?: boolean | null\n /**\n * The bundle price amount for the associated market, in cents.\n * @example ```10000```\n */\n price_amount_cents?: number | null\n /**\n * The bundle price amount for the associated market, float.\n * @example ```100```\n */\n price_amount_float?: number | null\n /**\n * The bundle price amount for the associated market, formatted.\n * @example ```\"€100,00\"```\n */\n formatted_price_amount?: string | null\n /**\n * The compared price amount, in cents. Useful to display a percentage discount.\n * @example ```13000```\n */\n compare_at_amount_cents?: number | null\n /**\n * The compared price amount, float.\n * @example ```130```\n */\n compare_at_amount_float?: number | null\n /**\n * The compared price amount, formatted.\n * @example ```\"€130,00\"```\n */\n formatted_compare_at_amount?: string | null\n /**\n * The total number of SKUs in the bundle.\n * @example ```2```\n */\n skus_count?: number | null\n\n market?: Market | null\n sku_list?: SkuList | null\n skus?: Sku[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n tags?: Tag[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface BundleCreate extends ResourceCreate {\n /**\n * The bundle code, that uniquely identifies the bundle within the market.\n * @example ```\"BUNDMM000000FFFFFFXLXX\"```\n */\n code: string\n /**\n * The internal name of the bundle.\n * @example ```\"Men's Black T-shirt (XL) with Black Cap and Socks, all with White Logo\"```\n */\n name: string\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * An internal description of the bundle.\n * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n */\n description?: string | null\n /**\n * The URL of an image that represents the bundle.\n * @example ```\"https://img.yourdomain.com/bundles/xYZkjABcde.png\"```\n */\n image_url?: string | null\n /**\n * The bundle price amount for the associated market, in cents.\n * @example ```10000```\n */\n price_amount_cents?: number | null\n /**\n * The compared price amount, in cents. Useful to display a percentage discount.\n * @example ```13000```\n */\n compare_at_amount_cents?: number | null\n /**\n * Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market.\n * @example ```true```\n */\n _compute_price_amount?: boolean | null\n /**\n * Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.\n * @example ```true```\n */\n _compute_compare_at_amount?: boolean | null\n\n market?: MarketRel | null\n sku_list: SkuListRel\n tags?: TagRel[] | null\n}\n\ninterface BundleUpdate extends ResourceUpdate {\n /**\n * The bundle code, that uniquely identifies the bundle within the market.\n * @example ```\"BUNDMM000000FFFFFFXLXX\"```\n */\n code?: string | null\n /**\n * The internal name of the bundle.\n * @example ```\"Men's Black T-shirt (XL) with Black Cap and Socks, all with White Logo\"```\n */\n name?: string | null\n /**\n * The international 3-letter currency code as defined by the ISO 4217 standard.\n * @example ```\"EUR\"```\n */\n currency_code?: string | null\n /**\n * An internal description of the bundle.\n * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n */\n description?: string | null\n /**\n * The URL of an image that represents the bundle.\n * @example ```\"https://img.yourdomain.com/bundles/xYZkjABcde.png\"```\n */\n image_url?: string | null\n /**\n * The bundle price amount for the associated market, in cents.\n * @example ```10000```\n */\n price_amount_cents?: number | null\n /**\n * The compared price amount, in cents. Useful to display a percentage discount.\n * @example ```13000```\n */\n compare_at_amount_cents?: number | null\n /**\n * Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market.\n * @example ```true```\n */\n _compute_price_amount?: boolean | null\n /**\n * Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.\n * @example ```true```\n */\n _compute_compare_at_amount?: boolean | null\n /**\n * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _add_tags?: string | null\n /**\n * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n */\n _remove_tags?: string | null\n\n tags?: TagRel[] | null\n}\n\nclass Bundles extends ApiResource<Bundle> {\n static readonly TYPE: BundleType = 'bundles' as const\n\n async create(\n resource: BundleCreate,\n params?: QueryParamsRetrieve<Bundle>,\n options?: ResourcesConfig,\n ): Promise<Bundle> {\n return this.resources.create<BundleCreate, Bundle>({ ...resource, type: Bundles.TYPE }, params, options)\n }\n\n async update(\n resource: BundleUpdate,\n params?: QueryParamsRetrieve<Bundle>,\n options?: ResourcesConfig,\n ): Promise<Bundle> {\n return this.resources.update<BundleUpdate, Bundle>({ ...resource, type: Bundles.TYPE }, params, options)\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: Bundles.TYPE } : id, options)\n }\n\n async market(\n bundleId: string | Bundle,\n params?: QueryParamsRetrieve<Market>,\n options?: ResourcesConfig,\n ): Promise<Market> {\n const _bundleId = (bundleId as Bundle).id || (bundleId as string)\n return this.resources.fetch<Market>(\n { type: 'markets' },\n `bundles/${_bundleId}/market`,\n params,\n options,\n ) as unknown as Market\n }\n\n async sku_list(\n bundleId: string | Bundle,\n params?: QueryParamsRetrieve<SkuList>,\n options?: ResourcesConfig,\n ): Promise<SkuList> {\n const _bundleId = (bundleId as Bundle).id || (bundleId as string)\n return this.resources.fetch<SkuList>(\n { type: 'sku_lists' },\n `bundles/${_bundleId}/sku_list`,\n params,\n options,\n ) as unknown as SkuList\n }\n\n async skus(\n bundleId: string | Bundle,\n params?: QueryParamsList<Sku>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Sku>> {\n const _bundleId = (bundleId as Bundle).id || (bundleId as string)\n return this.resources.fetch<Sku>(\n { type: 'skus' },\n `bundles/${_bundleId}/skus`,\n params,\n options,\n ) as unknown as ListResponse<Sku>\n }\n\n async attachments(\n bundleId: string | Bundle,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _bundleId = (bundleId as Bundle).id || (bundleId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `bundles/${_bundleId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n bundleId: string | Bundle,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _bundleId = (bundleId as Bundle).id || (bundleId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `bundles/${_bundleId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async tags(\n bundleId: string | Bundle,\n params?: QueryParamsList<Tag>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Tag>> {\n const _bundleId = (bundleId as Bundle).id || (bundleId as string)\n return this.resources.fetch<Tag>(\n { type: 'tags' },\n `bundles/${_bundleId}/tags`,\n params,\n options,\n ) as unknown as ListResponse<Tag>\n }\n\n async event_stores(\n bundleId: string | Bundle,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _bundleId = (bundleId as Bundle).id || (bundleId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `bundles/${_bundleId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n async _compute_price_amount(\n id: string | Bundle,\n params?: QueryParamsRetrieve<Bundle>,\n options?: ResourcesConfig,\n ): Promise<Bundle> {\n return this.resources.update<BundleUpdate, Bundle>(\n { id: typeof id === 'string' ? id : id.id, type: Bundles.TYPE, _compute_price_amount: true },\n params,\n options,\n )\n }\n\n async _compute_compare_at_amount(\n id: string | Bundle,\n params?: QueryParamsRetrieve<Bundle>,\n options?: ResourcesConfig,\n ): Promise<Bundle> {\n return this.resources.update<BundleUpdate, Bundle>(\n { id: typeof id === 'string' ? id : id.id, type: Bundles.TYPE, _compute_compare_at_amount: true },\n params,\n options,\n )\n }\n\n async _add_tags(\n id: string | Bundle,\n triggerValue: string,\n params?: QueryParamsRetrieve<Bundle>,\n options?: ResourcesConfig,\n ): Promise<Bundle> {\n return this.resources.update<BundleUpdate, Bundle>(\n { id: typeof id === 'string' ? id : id.id, type: Bundles.TYPE, _add_tags: triggerValue },\n params,\n options,\n )\n }\n\n async _remove_tags(\n id: string | Bundle,\n triggerValue: string,\n params?: QueryParamsRetrieve<Bundle>,\n options?: ResourcesConfig,\n ): Promise<Bundle> {\n return this.resources.update<BundleUpdate, Bundle>(\n { id: typeof id === 'string' ? id : id.id, type: Bundles.TYPE, _remove_tags: triggerValue },\n params,\n options,\n )\n }\n\n isBundle(resource: any): resource is Bundle {\n return resource.type && resource.type === Bundles.TYPE\n }\n\n relationship(id: string | ResourceId | null): BundleRel {\n return super.relationshipOneToOne<BundleRel>(id)\n }\n\n relationshipToMany(...ids: string[]): BundleRel[] {\n return super.relationshipOneToMany<BundleRel>(...ids)\n }\n\n type(): BundleType {\n return Bundles.TYPE\n }\n}\n\nconst instance = new Bundles()\nexport default instance\n\nexport type { Bundle, BundleCreate, Bundles, BundleType, BundleUpdate }\n"]}
@@ -0,0 +1,89 @@
1
+ 'use strict';
2
+
3
+ var chunkDZFJO4LF_cjs = require('./chunk-DZFJO4LF.cjs');
4
+
5
+ // gen/resources/parcels.ts
6
+ var Parcels = class _Parcels extends chunkDZFJO4LF_cjs.ApiResource {
7
+ static TYPE = "parcels";
8
+ async create(resource, params, options) {
9
+ return this.resources.create({ ...resource, type: _Parcels.TYPE }, params, options);
10
+ }
11
+ async update(resource, params, options) {
12
+ return this.resources.update({ ...resource, type: _Parcels.TYPE }, params, options);
13
+ }
14
+ async delete(id, options) {
15
+ await this.resources.delete(typeof id === "string" ? { id, type: _Parcels.TYPE } : id, options);
16
+ }
17
+ async shipment(parcelId, params, options) {
18
+ const _parcelId = parcelId.id || parcelId;
19
+ return this.resources.fetch(
20
+ { type: "shipments" },
21
+ `parcels/${_parcelId}/shipment`,
22
+ params,
23
+ options
24
+ );
25
+ }
26
+ async package(parcelId, params, options) {
27
+ const _parcelId = parcelId.id || parcelId;
28
+ return this.resources.fetch(
29
+ { type: "packages" },
30
+ `parcels/${_parcelId}/package`,
31
+ params,
32
+ options
33
+ );
34
+ }
35
+ async parcel_line_items(parcelId, params, options) {
36
+ const _parcelId = parcelId.id || parcelId;
37
+ return this.resources.fetch(
38
+ { type: "parcel_line_items" },
39
+ `parcels/${_parcelId}/parcel_line_items`,
40
+ params,
41
+ options
42
+ );
43
+ }
44
+ async attachments(parcelId, params, options) {
45
+ const _parcelId = parcelId.id || parcelId;
46
+ return this.resources.fetch(
47
+ { type: "attachments" },
48
+ `parcels/${_parcelId}/attachments`,
49
+ params,
50
+ options
51
+ );
52
+ }
53
+ async events(parcelId, params, options) {
54
+ const _parcelId = parcelId.id || parcelId;
55
+ return this.resources.fetch(
56
+ { type: "events" },
57
+ `parcels/${_parcelId}/events`,
58
+ params,
59
+ options
60
+ );
61
+ }
62
+ async event_stores(parcelId, params, options) {
63
+ const _parcelId = parcelId.id || parcelId;
64
+ return this.resources.fetch(
65
+ { type: "event_stores" },
66
+ `parcels/${_parcelId}/event_stores`,
67
+ params,
68
+ options
69
+ );
70
+ }
71
+ isParcel(resource) {
72
+ return resource.type && resource.type === _Parcels.TYPE;
73
+ }
74
+ relationship(id) {
75
+ return super.relationshipOneToOne(id);
76
+ }
77
+ relationshipToMany(...ids) {
78
+ return super.relationshipOneToMany(...ids);
79
+ }
80
+ type() {
81
+ return _Parcels.TYPE;
82
+ }
83
+ };
84
+ var instance = new Parcels();
85
+ var parcels_default = instance;
86
+
87
+ exports.parcels_default = parcels_default;
88
+ //# sourceMappingURL=chunk-TJMXOSWV.cjs.map
89
+ //# sourceMappingURL=chunk-TJMXOSWV.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../gen/resources/parcels.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-TJMXOSWV.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Package, PackageType } from './packages'\nimport type { ParcelLineItem } from './parcel_line_items'\nimport type { Shipment, ShipmentType } from './shipments'\n\ntype ParcelType = 'parcels'\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype PackageRel = ResourceRel & { type: PackageType }\n\nexport type ParcelSort = Pick<\n Parcel,\n 'id' | 'weight' | 'tracking_status' | 'tracking_status_updated_at' | 'carrier_weight_oz'\n> &\n ResourceSort\n// export type ParcelFilter = Pick<Parcel, 'id' | 'weight' | 'contents_explanation' | 'shipping_label_url' | 'shipping_label_file_type' | 'shipping_label_size' | 'shipping_label_resolution' | 'tracking_number' | 'tracking_status' | 'tracking_status_detail' | 'tracking_status_updated_at' | 'carrier_weight_oz' | 'incoterm' | 'delivery_confirmation'> & ResourceFilter\n\n/**\n * The Parcel object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/parcels endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/parcels/object\n */\ninterface Parcel extends Resource {\n readonly type: ParcelType\n\n /**\n * Unique identifier for the parcel.\n * @example ```\"#1234/S/001/P/001\"```\n */\n number?: string | null\n /**\n * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```1000```\n */\n weight: number\n /**\n * The unit of weight. One of 'gr', 'oz', or 'lb'.\n * @example ```\"gr\"```\n */\n unit_of_weight: 'gr' | 'oz' | 'lb'\n /**\n * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n * @example ```\"EEL\"```\n */\n eel_pfc?: string | null\n /**\n * The type of item you are sending.\n * @example ```\"merchandise\"```\n */\n contents_type?: string | null\n /**\n * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n */\n contents_explanation?: string | null\n /**\n * Indicates if the provided information is accurate.\n */\n customs_certify?: boolean | null\n /**\n * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n * @example ```\"John Doe\"```\n */\n customs_signer?: string | null\n /**\n * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n * @example ```\"return\"```\n */\n non_delivery_option?: string | null\n /**\n * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n * @example ```\"none\"```\n */\n restriction_type?: string | null\n /**\n * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n */\n restriction_comments?: string | null\n /**\n * Indicates if the parcel requires customs info to get the shipping rates.\n */\n customs_info_required?: boolean | null\n /**\n * The shipping label url, ready to be downloaded and printed.\n * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n */\n shipping_label_url?: string | null\n /**\n * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n * @example ```\"application/pdf\"```\n */\n shipping_label_file_type?: string | null\n /**\n * The shipping label size.\n * @example ```\"4x7\"```\n */\n shipping_label_size?: string | null\n /**\n * The shipping label resolution.\n * @example ```\"200\"```\n */\n shipping_label_resolution?: string | null\n /**\n * The tracking number associated to this parcel.\n * @example ```\"1Z4V2A000000000000\"```\n */\n tracking_number?: string | null\n /**\n * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n * @example ```\"delivered\"```\n */\n tracking_status?: string | null\n /**\n * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n * @example ```\"arrived_at_destination\"```\n */\n tracking_status_detail?: string | null\n /**\n * Time at which the parcel's tracking status was last updated.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n tracking_status_updated_at?: string | null\n /**\n * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n */\n tracking_details?: Array<Record<string, any>> | null\n /**\n * The weight of the parcel as measured by the carrier in ounces (if available).\n * @example ```\"42.32\"```\n */\n carrier_weight_oz?: string | null\n /**\n * The name of the person who signed for the parcel (if available).\n * @example ```\"John Smith\"```\n */\n signed_by?: string | null\n /**\n * The type of Incoterm (if available).\n * @example ```\"EXW\"```\n */\n incoterm?: string | null\n /**\n * The type of delivery confirmation option upon delivery.\n * @example ```\"SIGNATURE\"```\n */\n delivery_confirmation?: string | null\n\n shipment?: Shipment | null\n package?: Package | null\n parcel_line_items?: ParcelLineItem[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface ParcelCreate extends ResourceCreate {\n /**\n * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```1000```\n */\n weight: number\n /**\n * The unit of weight. One of 'gr', 'oz', or 'lb'.\n * @example ```\"gr\"```\n */\n unit_of_weight: 'gr' | 'oz' | 'lb'\n /**\n * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n * @example ```\"EEL\"```\n */\n eel_pfc?: string | null\n /**\n * The type of item you are sending.\n * @example ```\"merchandise\"```\n */\n contents_type?: string | null\n /**\n * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n */\n contents_explanation?: string | null\n /**\n * Indicates if the provided information is accurate.\n */\n customs_certify?: boolean | null\n /**\n * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n * @example ```\"John Doe\"```\n */\n customs_signer?: string | null\n /**\n * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n * @example ```\"return\"```\n */\n non_delivery_option?: string | null\n /**\n * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n * @example ```\"none\"```\n */\n restriction_type?: string | null\n /**\n * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n */\n restriction_comments?: string | null\n /**\n * Indicates if the parcel requires customs info to get the shipping rates.\n */\n customs_info_required?: boolean | null\n /**\n * The shipping label url, ready to be downloaded and printed.\n * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n */\n shipping_label_url?: string | null\n /**\n * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n * @example ```\"application/pdf\"```\n */\n shipping_label_file_type?: string | null\n /**\n * The shipping label size.\n * @example ```\"4x7\"```\n */\n shipping_label_size?: string | null\n /**\n * The shipping label resolution.\n * @example ```\"200\"```\n */\n shipping_label_resolution?: string | null\n /**\n * The tracking number associated to this parcel.\n * @example ```\"1Z4V2A000000000000\"```\n */\n tracking_number?: string | null\n /**\n * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n * @example ```\"delivered\"```\n */\n tracking_status?: string | null\n /**\n * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n * @example ```\"arrived_at_destination\"```\n */\n tracking_status_detail?: string | null\n /**\n * Time at which the parcel's tracking status was last updated.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n tracking_status_updated_at?: string | null\n /**\n * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n */\n tracking_details?: Array<Record<string, any>> | null\n /**\n * The weight of the parcel as measured by the carrier in ounces (if available).\n * @example ```\"42.32\"```\n */\n carrier_weight_oz?: string | null\n /**\n * The name of the person who signed for the parcel (if available).\n * @example ```\"John Smith\"```\n */\n signed_by?: string | null\n /**\n * The type of Incoterm (if available).\n * @example ```\"EXW\"```\n */\n incoterm?: string | null\n /**\n * The type of delivery confirmation option upon delivery.\n * @example ```\"SIGNATURE\"```\n */\n delivery_confirmation?: string | null\n\n shipment: ShipmentRel\n package: PackageRel\n}\n\ninterface ParcelUpdate extends ResourceUpdate {\n /**\n * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```1000```\n */\n weight?: number | null\n /**\n * The unit of weight. One of 'gr', 'oz', or 'lb'.\n * @example ```\"gr\"```\n */\n unit_of_weight?: 'gr' | 'oz' | 'lb' | null\n /**\n * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n * @example ```\"EEL\"```\n */\n eel_pfc?: string | null\n /**\n * The type of item you are sending.\n * @example ```\"merchandise\"```\n */\n contents_type?: string | null\n /**\n * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n */\n contents_explanation?: string | null\n /**\n * Indicates if the provided information is accurate.\n */\n customs_certify?: boolean | null\n /**\n * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n * @example ```\"John Doe\"```\n */\n customs_signer?: string | null\n /**\n * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n * @example ```\"return\"```\n */\n non_delivery_option?: string | null\n /**\n * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n * @example ```\"none\"```\n */\n restriction_type?: string | null\n /**\n * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n */\n restriction_comments?: string | null\n /**\n * Indicates if the parcel requires customs info to get the shipping rates.\n */\n customs_info_required?: boolean | null\n /**\n * The shipping label url, ready to be downloaded and printed.\n * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n */\n shipping_label_url?: string | null\n /**\n * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n * @example ```\"application/pdf\"```\n */\n shipping_label_file_type?: string | null\n /**\n * The shipping label size.\n * @example ```\"4x7\"```\n */\n shipping_label_size?: string | null\n /**\n * The shipping label resolution.\n * @example ```\"200\"```\n */\n shipping_label_resolution?: string | null\n /**\n * The tracking number associated to this parcel.\n * @example ```\"1Z4V2A000000000000\"```\n */\n tracking_number?: string | null\n /**\n * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n * @example ```\"delivered\"```\n */\n tracking_status?: string | null\n /**\n * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n * @example ```\"arrived_at_destination\"```\n */\n tracking_status_detail?: string | null\n /**\n * Time at which the parcel's tracking status was last updated.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n tracking_status_updated_at?: string | null\n /**\n * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n */\n tracking_details?: Array<Record<string, any>> | null\n /**\n * The weight of the parcel as measured by the carrier in ounces (if available).\n * @example ```\"42.32\"```\n */\n carrier_weight_oz?: string | null\n /**\n * The name of the person who signed for the parcel (if available).\n * @example ```\"John Smith\"```\n */\n signed_by?: string | null\n /**\n * The type of Incoterm (if available).\n * @example ```\"EXW\"```\n */\n incoterm?: string | null\n /**\n * The type of delivery confirmation option upon delivery.\n * @example ```\"SIGNATURE\"```\n */\n delivery_confirmation?: string | null\n\n shipment?: ShipmentRel | null\n package?: PackageRel | null\n}\n\nclass Parcels extends ApiResource<Parcel> {\n static readonly TYPE: ParcelType = 'parcels' as const\n\n async create(\n resource: ParcelCreate,\n params?: QueryParamsRetrieve<Parcel>,\n options?: ResourcesConfig,\n ): Promise<Parcel> {\n return this.resources.create<ParcelCreate, Parcel>({ ...resource, type: Parcels.TYPE }, params, options)\n }\n\n async update(\n resource: ParcelUpdate,\n params?: QueryParamsRetrieve<Parcel>,\n options?: ResourcesConfig,\n ): Promise<Parcel> {\n return this.resources.update<ParcelUpdate, Parcel>({ ...resource, type: Parcels.TYPE }, params, options)\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: Parcels.TYPE } : id, options)\n }\n\n async shipment(\n parcelId: string | Parcel,\n params?: QueryParamsRetrieve<Shipment>,\n options?: ResourcesConfig,\n ): Promise<Shipment> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Shipment>(\n { type: 'shipments' },\n `parcels/${_parcelId}/shipment`,\n params,\n options,\n ) as unknown as Shipment\n }\n\n async package(\n parcelId: string | Parcel,\n params?: QueryParamsRetrieve<Package>,\n options?: ResourcesConfig,\n ): Promise<Package> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Package>(\n { type: 'packages' },\n `parcels/${_parcelId}/package`,\n params,\n options,\n ) as unknown as Package\n }\n\n async parcel_line_items(\n parcelId: string | Parcel,\n params?: QueryParamsList<ParcelLineItem>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<ParcelLineItem>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<ParcelLineItem>(\n { type: 'parcel_line_items' },\n `parcels/${_parcelId}/parcel_line_items`,\n params,\n options,\n ) as unknown as ListResponse<ParcelLineItem>\n }\n\n async attachments(\n parcelId: string | Parcel,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `parcels/${_parcelId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n parcelId: string | Parcel,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `parcels/${_parcelId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n parcelId: string | Parcel,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `parcels/${_parcelId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isParcel(resource: any): resource is Parcel {\n return resource.type && resource.type === Parcels.TYPE\n }\n\n relationship(id: string | ResourceId | null): ParcelRel {\n return super.relationshipOneToOne<ParcelRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ParcelRel[] {\n return super.relationshipOneToMany<ParcelRel>(...ids)\n }\n\n type(): ParcelType {\n return Parcels.TYPE\n }\n}\n\nconst instance = new Parcels()\nexport default instance\n\nexport type { Parcel, ParcelCreate, Parcels, ParcelType, ParcelUpdate }\n"]}
@@ -0,0 +1,70 @@
1
+ 'use strict';
2
+
3
+ var chunkDZFJO4LF_cjs = require('./chunk-DZFJO4LF.cjs');
4
+
5
+ // gen/resources/inventory_return_locations.ts
6
+ var InventoryReturnLocations = class _InventoryReturnLocations extends chunkDZFJO4LF_cjs.ApiResource {
7
+ static TYPE = "inventory_return_locations";
8
+ async create(resource, params, options) {
9
+ return this.resources.create(
10
+ { ...resource, type: _InventoryReturnLocations.TYPE },
11
+ params,
12
+ options
13
+ );
14
+ }
15
+ async update(resource, params, options) {
16
+ return this.resources.update(
17
+ { ...resource, type: _InventoryReturnLocations.TYPE },
18
+ params,
19
+ options
20
+ );
21
+ }
22
+ async delete(id, options) {
23
+ await this.resources.delete(typeof id === "string" ? { id, type: _InventoryReturnLocations.TYPE } : id, options);
24
+ }
25
+ async stock_location(inventoryReturnLocationId, params, options) {
26
+ const _inventoryReturnLocationId = inventoryReturnLocationId.id || inventoryReturnLocationId;
27
+ return this.resources.fetch(
28
+ { type: "stock_locations" },
29
+ `inventory_return_locations/${_inventoryReturnLocationId}/stock_location`,
30
+ params,
31
+ options
32
+ );
33
+ }
34
+ async inventory_model(inventoryReturnLocationId, params, options) {
35
+ const _inventoryReturnLocationId = inventoryReturnLocationId.id || inventoryReturnLocationId;
36
+ return this.resources.fetch(
37
+ { type: "inventory_models" },
38
+ `inventory_return_locations/${_inventoryReturnLocationId}/inventory_model`,
39
+ params,
40
+ options
41
+ );
42
+ }
43
+ async event_stores(inventoryReturnLocationId, params, options) {
44
+ const _inventoryReturnLocationId = inventoryReturnLocationId.id || inventoryReturnLocationId;
45
+ return this.resources.fetch(
46
+ { type: "event_stores" },
47
+ `inventory_return_locations/${_inventoryReturnLocationId}/event_stores`,
48
+ params,
49
+ options
50
+ );
51
+ }
52
+ isInventoryReturnLocation(resource) {
53
+ return resource.type && resource.type === _InventoryReturnLocations.TYPE;
54
+ }
55
+ relationship(id) {
56
+ return super.relationshipOneToOne(id);
57
+ }
58
+ relationshipToMany(...ids) {
59
+ return super.relationshipOneToMany(...ids);
60
+ }
61
+ type() {
62
+ return _InventoryReturnLocations.TYPE;
63
+ }
64
+ };
65
+ var instance = new InventoryReturnLocations();
66
+ var inventory_return_locations_default = instance;
67
+
68
+ exports.inventory_return_locations_default = inventory_return_locations_default;
69
+ //# sourceMappingURL=chunk-TXO5TNAN.cjs.map
70
+ //# sourceMappingURL=chunk-TXO5TNAN.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../gen/resources/inventory_return_locations.ts"],"names":["ApiResource"],"mappings":";;;;;AAiEA,IAAM,wBAAA,GAAN,MAAM,yBAAA,SAAiCA,6BAAA,CAAqC;AAAA,EAC1E,OAAgB,IAAA,GAAoC,4BAAA;AAAA,EAEpD,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACkC;AAClC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,0BAAyB,IAAA,EAAK;AAAA,MACnD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CACJ,QAAA,EACA,MAAA,EACA,OAAA,EACkC;AAClC,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA;AAAA,MACpB,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,0BAAyB,IAAA,EAAK;AAAA,MACnD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC9E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,yBAAA,CAAyB,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAChH;AAAA,EAEA,MAAM,cAAA,CACJ,yBAAA,EACA,MAAA,EACA,OAAA,EACwB;AACxB,IAAA,MAAM,0BAAA,GACH,0BAAsD,EAAA,IAAO,yBAAA;AAChE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,iBAAA,EAAkB;AAAA,MAC1B,8BAA8B,0BAA0B,CAAA,eAAA,CAAA;AAAA,MACxD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,eAAA,CACJ,yBAAA,EACA,MAAA,EACA,OAAA,EACyB;AACzB,IAAA,MAAM,0BAAA,GACH,0BAAsD,EAAA,IAAO,yBAAA;AAChE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,kBAAA,EAAmB;AAAA,MAC3B,8BAA8B,0BAA0B,CAAA,gBAAA,CAAA;AAAA,MACxD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,MAAM,YAAA,CACJ,yBAAA,EACA,MAAA,EACA,OAAA,EACmC;AACnC,IAAA,MAAM,0BAAA,GACH,0BAAsD,EAAA,IAAO,yBAAA;AAChE,IAAA,OAAO,KAAK,SAAA,CAAU,KAAA;AAAA,MACpB,EAAE,MAAM,cAAA,EAAe;AAAA,MACvB,8BAA8B,0BAA0B,CAAA,aAAA,CAAA;AAAA,MACxD,MAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF;AAAA,EAEA,0BAA0B,QAAA,EAAoD;AAC5E,IAAA,OAAO,QAAA,CAAS,IAAA,IAAQ,QAAA,CAAS,IAAA,KAAS,yBAAA,CAAyB,IAAA;AAAA,EACrE;AAAA,EAEA,aAAa,EAAA,EAA4D;AACvE,IAAA,OAAO,KAAA,CAAM,qBAAiD,EAAE,CAAA;AAAA,EAClE;AAAA,EAEA,sBAAsB,GAAA,EAA6C;AACjE,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAkD,GAAG,GAAG,CAAA;AAAA,EACvE;AAAA,EAEA,IAAA,GAAoC;AAClC,IAAA,OAAO,yBAAA,CAAyB,IAAA;AAAA,EAClC;AACF,CAAA;AAEA,IAAM,QAAA,GAAW,IAAI,wBAAA,EAAyB;AAC9C,IAAO,kCAAA,GAAQ","file":"chunk-TXO5TNAN.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { EventStore } from './event_stores'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { StockLocation, StockLocationType } from './stock_locations'\n\ntype InventoryReturnLocationType = 'inventory_return_locations'\ntype InventoryReturnLocationRel = ResourceRel & { type: InventoryReturnLocationType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\n\nexport type InventoryReturnLocationSort = Pick<InventoryReturnLocation, 'id' | 'priority'> & ResourceSort\n// export type InventoryReturnLocationFilter = Pick<InventoryReturnLocation, 'id' | 'priority'> & ResourceFilter\n\n/**\n * The Inventory return location object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/inventory_return_locations endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/inventory_return_locations/object\n */\ninterface InventoryReturnLocation extends Resource {\n readonly type: InventoryReturnLocationType\n\n /**\n * The inventory return location priority within the associated invetory model.\n * @example ```1```\n */\n priority: number\n\n stock_location?: StockLocation | null\n inventory_model?: InventoryModel | null\n event_stores?: EventStore[] | null\n}\n\ninterface InventoryReturnLocationCreate extends ResourceCreate {\n /**\n * The inventory return location priority within the associated invetory model.\n * @example ```1```\n */\n priority: number\n\n stock_location: StockLocationRel\n inventory_model: InventoryModelRel\n}\n\ninterface InventoryReturnLocationUpdate extends ResourceUpdate {\n /**\n * The inventory return location priority within the associated invetory model.\n * @example ```1```\n */\n priority?: number | null\n\n stock_location?: StockLocationRel | null\n inventory_model?: InventoryModelRel | null\n}\n\nclass InventoryReturnLocations extends ApiResource<InventoryReturnLocation> {\n static readonly TYPE: InventoryReturnLocationType = 'inventory_return_locations' as const\n\n async create(\n resource: InventoryReturnLocationCreate,\n params?: QueryParamsRetrieve<InventoryReturnLocation>,\n options?: ResourcesConfig,\n ): Promise<InventoryReturnLocation> {\n return this.resources.create<InventoryReturnLocationCreate, InventoryReturnLocation>(\n { ...resource, type: InventoryReturnLocations.TYPE },\n params,\n options,\n )\n }\n\n async update(\n resource: InventoryReturnLocationUpdate,\n params?: QueryParamsRetrieve<InventoryReturnLocation>,\n options?: ResourcesConfig,\n ): Promise<InventoryReturnLocation> {\n return this.resources.update<InventoryReturnLocationUpdate, InventoryReturnLocation>(\n { ...resource, type: InventoryReturnLocations.TYPE },\n params,\n options,\n )\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: InventoryReturnLocations.TYPE } : id, options)\n }\n\n async stock_location(\n inventoryReturnLocationId: string | InventoryReturnLocation,\n params?: QueryParamsRetrieve<StockLocation>,\n options?: ResourcesConfig,\n ): Promise<StockLocation> {\n const _inventoryReturnLocationId =\n (inventoryReturnLocationId as InventoryReturnLocation).id || (inventoryReturnLocationId as string)\n return this.resources.fetch<StockLocation>(\n { type: 'stock_locations' },\n `inventory_return_locations/${_inventoryReturnLocationId}/stock_location`,\n params,\n options,\n ) as unknown as StockLocation\n }\n\n async inventory_model(\n inventoryReturnLocationId: string | InventoryReturnLocation,\n params?: QueryParamsRetrieve<InventoryModel>,\n options?: ResourcesConfig,\n ): Promise<InventoryModel> {\n const _inventoryReturnLocationId =\n (inventoryReturnLocationId as InventoryReturnLocation).id || (inventoryReturnLocationId as string)\n return this.resources.fetch<InventoryModel>(\n { type: 'inventory_models' },\n `inventory_return_locations/${_inventoryReturnLocationId}/inventory_model`,\n params,\n options,\n ) as unknown as InventoryModel\n }\n\n async event_stores(\n inventoryReturnLocationId: string | InventoryReturnLocation,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _inventoryReturnLocationId =\n (inventoryReturnLocationId as InventoryReturnLocation).id || (inventoryReturnLocationId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `inventory_return_locations/${_inventoryReturnLocationId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isInventoryReturnLocation(resource: any): resource is InventoryReturnLocation {\n return resource.type && resource.type === InventoryReturnLocations.TYPE\n }\n\n relationship(id: string | ResourceId | null): InventoryReturnLocationRel {\n return super.relationshipOneToOne<InventoryReturnLocationRel>(id)\n }\n\n relationshipToMany(...ids: string[]): InventoryReturnLocationRel[] {\n return super.relationshipOneToMany<InventoryReturnLocationRel>(...ids)\n }\n\n type(): InventoryReturnLocationType {\n return InventoryReturnLocations.TYPE\n }\n}\n\nconst instance = new InventoryReturnLocations()\nexport default instance\n\nexport type {\n InventoryReturnLocation,\n InventoryReturnLocationCreate,\n InventoryReturnLocations,\n InventoryReturnLocationType,\n InventoryReturnLocationUpdate,\n}\n"]}
@@ -0,0 +1,87 @@
1
+ import { ApiResource } from './chunk-Q6NZ4ERM.js';
2
+
3
+ // gen/resources/parcels.ts
4
+ var Parcels = class _Parcels extends ApiResource {
5
+ static TYPE = "parcels";
6
+ async create(resource, params, options) {
7
+ return this.resources.create({ ...resource, type: _Parcels.TYPE }, params, options);
8
+ }
9
+ async update(resource, params, options) {
10
+ return this.resources.update({ ...resource, type: _Parcels.TYPE }, params, options);
11
+ }
12
+ async delete(id, options) {
13
+ await this.resources.delete(typeof id === "string" ? { id, type: _Parcels.TYPE } : id, options);
14
+ }
15
+ async shipment(parcelId, params, options) {
16
+ const _parcelId = parcelId.id || parcelId;
17
+ return this.resources.fetch(
18
+ { type: "shipments" },
19
+ `parcels/${_parcelId}/shipment`,
20
+ params,
21
+ options
22
+ );
23
+ }
24
+ async package(parcelId, params, options) {
25
+ const _parcelId = parcelId.id || parcelId;
26
+ return this.resources.fetch(
27
+ { type: "packages" },
28
+ `parcels/${_parcelId}/package`,
29
+ params,
30
+ options
31
+ );
32
+ }
33
+ async parcel_line_items(parcelId, params, options) {
34
+ const _parcelId = parcelId.id || parcelId;
35
+ return this.resources.fetch(
36
+ { type: "parcel_line_items" },
37
+ `parcels/${_parcelId}/parcel_line_items`,
38
+ params,
39
+ options
40
+ );
41
+ }
42
+ async attachments(parcelId, params, options) {
43
+ const _parcelId = parcelId.id || parcelId;
44
+ return this.resources.fetch(
45
+ { type: "attachments" },
46
+ `parcels/${_parcelId}/attachments`,
47
+ params,
48
+ options
49
+ );
50
+ }
51
+ async events(parcelId, params, options) {
52
+ const _parcelId = parcelId.id || parcelId;
53
+ return this.resources.fetch(
54
+ { type: "events" },
55
+ `parcels/${_parcelId}/events`,
56
+ params,
57
+ options
58
+ );
59
+ }
60
+ async event_stores(parcelId, params, options) {
61
+ const _parcelId = parcelId.id || parcelId;
62
+ return this.resources.fetch(
63
+ { type: "event_stores" },
64
+ `parcels/${_parcelId}/event_stores`,
65
+ params,
66
+ options
67
+ );
68
+ }
69
+ isParcel(resource) {
70
+ return resource.type && resource.type === _Parcels.TYPE;
71
+ }
72
+ relationship(id) {
73
+ return super.relationshipOneToOne(id);
74
+ }
75
+ relationshipToMany(...ids) {
76
+ return super.relationshipOneToMany(...ids);
77
+ }
78
+ type() {
79
+ return _Parcels.TYPE;
80
+ }
81
+ };
82
+ var instance = new Parcels();
83
+ var parcels_default = instance;
84
+
85
+ export { parcels_default };
86
+ //# sourceMappingURL=chunk-U5HAYP73.js.map
87
+ //# sourceMappingURL=chunk-U5HAYP73.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../gen/resources/parcels.ts"],"names":[],"mappings":"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","file":"chunk-U5HAYP73.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '@runtime/query'\nimport type {\n ListResponse,\n Resource,\n ResourceCreate,\n ResourceId,\n ResourceRel,\n ResourceSort,\n /* ResourceFilter */ ResourcesConfig,\n ResourceUpdate,\n} from '@runtime/resource'\nimport { ApiResource } from '@runtime/resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Package, PackageType } from './packages'\nimport type { ParcelLineItem } from './parcel_line_items'\nimport type { Shipment, ShipmentType } from './shipments'\n\ntype ParcelType = 'parcels'\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype PackageRel = ResourceRel & { type: PackageType }\n\nexport type ParcelSort = Pick<\n Parcel,\n 'id' | 'weight' | 'tracking_status' | 'tracking_status_updated_at' | 'carrier_weight_oz'\n> &\n ResourceSort\n// export type ParcelFilter = Pick<Parcel, 'id' | 'weight' | 'contents_explanation' | 'shipping_label_url' | 'shipping_label_file_type' | 'shipping_label_size' | 'shipping_label_resolution' | 'tracking_number' | 'tracking_status' | 'tracking_status_detail' | 'tracking_status_updated_at' | 'carrier_weight_oz' | 'incoterm' | 'delivery_confirmation'> & ResourceFilter\n\n/**\n * The Parcel object is returned as part of the response body of each successful list, retrieve, create, update or delete API call to the /api/parcels endpoint.\n *\n * @link https://docs.commercelayer.io/core-api-reference/parcels/object\n */\ninterface Parcel extends Resource {\n readonly type: ParcelType\n\n /**\n * Unique identifier for the parcel.\n * @example ```\"#1234/S/001/P/001\"```\n */\n number?: string | null\n /**\n * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```1000```\n */\n weight: number\n /**\n * The unit of weight. One of 'gr', 'oz', or 'lb'.\n * @example ```\"gr\"```\n */\n unit_of_weight: 'gr' | 'oz' | 'lb'\n /**\n * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n * @example ```\"EEL\"```\n */\n eel_pfc?: string | null\n /**\n * The type of item you are sending.\n * @example ```\"merchandise\"```\n */\n contents_type?: string | null\n /**\n * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n */\n contents_explanation?: string | null\n /**\n * Indicates if the provided information is accurate.\n */\n customs_certify?: boolean | null\n /**\n * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n * @example ```\"John Doe\"```\n */\n customs_signer?: string | null\n /**\n * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n * @example ```\"return\"```\n */\n non_delivery_option?: string | null\n /**\n * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n * @example ```\"none\"```\n */\n restriction_type?: string | null\n /**\n * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n */\n restriction_comments?: string | null\n /**\n * Indicates if the parcel requires customs info to get the shipping rates.\n */\n customs_info_required?: boolean | null\n /**\n * The shipping label url, ready to be downloaded and printed.\n * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n */\n shipping_label_url?: string | null\n /**\n * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n * @example ```\"application/pdf\"```\n */\n shipping_label_file_type?: string | null\n /**\n * The shipping label size.\n * @example ```\"4x7\"```\n */\n shipping_label_size?: string | null\n /**\n * The shipping label resolution.\n * @example ```\"200\"```\n */\n shipping_label_resolution?: string | null\n /**\n * The tracking number associated to this parcel.\n * @example ```\"1Z4V2A000000000000\"```\n */\n tracking_number?: string | null\n /**\n * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n * @example ```\"delivered\"```\n */\n tracking_status?: string | null\n /**\n * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n * @example ```\"arrived_at_destination\"```\n */\n tracking_status_detail?: string | null\n /**\n * Time at which the parcel's tracking status was last updated.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n tracking_status_updated_at?: string | null\n /**\n * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n */\n tracking_details?: Array<Record<string, any>> | null\n /**\n * The weight of the parcel as measured by the carrier in ounces (if available).\n * @example ```\"42.32\"```\n */\n carrier_weight_oz?: string | null\n /**\n * The name of the person who signed for the parcel (if available).\n * @example ```\"John Smith\"```\n */\n signed_by?: string | null\n /**\n * The type of Incoterm (if available).\n * @example ```\"EXW\"```\n */\n incoterm?: string | null\n /**\n * The type of delivery confirmation option upon delivery.\n * @example ```\"SIGNATURE\"```\n */\n delivery_confirmation?: string | null\n\n shipment?: Shipment | null\n package?: Package | null\n parcel_line_items?: ParcelLineItem[] | null\n attachments?: Attachment[] | null\n events?: Event[] | null\n event_stores?: EventStore[] | null\n}\n\ninterface ParcelCreate extends ResourceCreate {\n /**\n * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```1000```\n */\n weight: number\n /**\n * The unit of weight. One of 'gr', 'oz', or 'lb'.\n * @example ```\"gr\"```\n */\n unit_of_weight: 'gr' | 'oz' | 'lb'\n /**\n * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n * @example ```\"EEL\"```\n */\n eel_pfc?: string | null\n /**\n * The type of item you are sending.\n * @example ```\"merchandise\"```\n */\n contents_type?: string | null\n /**\n * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n */\n contents_explanation?: string | null\n /**\n * Indicates if the provided information is accurate.\n */\n customs_certify?: boolean | null\n /**\n * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n * @example ```\"John Doe\"```\n */\n customs_signer?: string | null\n /**\n * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n * @example ```\"return\"```\n */\n non_delivery_option?: string | null\n /**\n * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n * @example ```\"none\"```\n */\n restriction_type?: string | null\n /**\n * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n */\n restriction_comments?: string | null\n /**\n * Indicates if the parcel requires customs info to get the shipping rates.\n */\n customs_info_required?: boolean | null\n /**\n * The shipping label url, ready to be downloaded and printed.\n * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n */\n shipping_label_url?: string | null\n /**\n * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n * @example ```\"application/pdf\"```\n */\n shipping_label_file_type?: string | null\n /**\n * The shipping label size.\n * @example ```\"4x7\"```\n */\n shipping_label_size?: string | null\n /**\n * The shipping label resolution.\n * @example ```\"200\"```\n */\n shipping_label_resolution?: string | null\n /**\n * The tracking number associated to this parcel.\n * @example ```\"1Z4V2A000000000000\"```\n */\n tracking_number?: string | null\n /**\n * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n * @example ```\"delivered\"```\n */\n tracking_status?: string | null\n /**\n * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n * @example ```\"arrived_at_destination\"```\n */\n tracking_status_detail?: string | null\n /**\n * Time at which the parcel's tracking status was last updated.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n tracking_status_updated_at?: string | null\n /**\n * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n */\n tracking_details?: Array<Record<string, any>> | null\n /**\n * The weight of the parcel as measured by the carrier in ounces (if available).\n * @example ```\"42.32\"```\n */\n carrier_weight_oz?: string | null\n /**\n * The name of the person who signed for the parcel (if available).\n * @example ```\"John Smith\"```\n */\n signed_by?: string | null\n /**\n * The type of Incoterm (if available).\n * @example ```\"EXW\"```\n */\n incoterm?: string | null\n /**\n * The type of delivery confirmation option upon delivery.\n * @example ```\"SIGNATURE\"```\n */\n delivery_confirmation?: string | null\n\n shipment: ShipmentRel\n package: PackageRel\n}\n\ninterface ParcelUpdate extends ResourceUpdate {\n /**\n * The parcel weight, used to automatically calculate the tax rates from the available carrier accounts.\n * @example ```1000```\n */\n weight?: number | null\n /**\n * The unit of weight. One of 'gr', 'oz', or 'lb'.\n * @example ```\"gr\"```\n */\n unit_of_weight?: 'gr' | 'oz' | 'lb' | null\n /**\n * When shipping outside the US, you need to provide either an Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation (PFC). Which you need is based on the value of the goods being shipped. Value can be one of \"EEL\" o \"PFC\".\n * @example ```\"EEL\"```\n */\n eel_pfc?: string | null\n /**\n * The type of item you are sending.\n * @example ```\"merchandise\"```\n */\n contents_type?: string | null\n /**\n * If you specify 'other' in the 'contents_type' attribute, you must supply a brief description in this attribute.\n */\n contents_explanation?: string | null\n /**\n * Indicates if the provided information is accurate.\n */\n customs_certify?: boolean | null\n /**\n * This is the name of the person who is certifying that the information provided on the customs form is accurate. Use a name of the person in your organization who is responsible for this.\n * @example ```\"John Doe\"```\n */\n customs_signer?: string | null\n /**\n * In case the shipment cannot be delivered, this option tells the carrier what you want to happen to the parcel. You can pass either 'return', or 'abandon'. The value defaults to 'return'. If you pass 'abandon', you will not receive the parcel back if it cannot be delivered.\n * @example ```\"return\"```\n */\n non_delivery_option?: string | null\n /**\n * Describes if your parcel requires any special treatment or quarantine when entering the country. Can be one of 'none', 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'.\n * @example ```\"none\"```\n */\n restriction_type?: string | null\n /**\n * If you specify 'other' in the restriction type, you must supply a brief description of what is required.\n */\n restriction_comments?: string | null\n /**\n * Indicates if the parcel requires customs info to get the shipping rates.\n */\n customs_info_required?: boolean | null\n /**\n * The shipping label url, ready to be downloaded and printed.\n * @example ```\"https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf\"```\n */\n shipping_label_url?: string | null\n /**\n * The shipping label file type. One of 'application/pdf', 'application/zpl', 'application/epl2', or 'image/png'.\n * @example ```\"application/pdf\"```\n */\n shipping_label_file_type?: string | null\n /**\n * The shipping label size.\n * @example ```\"4x7\"```\n */\n shipping_label_size?: string | null\n /**\n * The shipping label resolution.\n * @example ```\"200\"```\n */\n shipping_label_resolution?: string | null\n /**\n * The tracking number associated to this parcel.\n * @example ```\"1Z4V2A000000000000\"```\n */\n tracking_number?: string | null\n /**\n * The tracking status for this parcel, automatically updated in real time by the shipping carrier.\n * @example ```\"delivered\"```\n */\n tracking_status?: string | null\n /**\n * Additional information about the tracking status, automatically updated in real time by the shipping carrier.\n * @example ```\"arrived_at_destination\"```\n */\n tracking_status_detail?: string | null\n /**\n * Time at which the parcel's tracking status was last updated.\n * @example ```\"2018-01-01T12:00:00.000Z\"```\n */\n tracking_status_updated_at?: string | null\n /**\n * The parcel's full tracking history, automatically updated in real time by the shipping carrier.\n * @example ```[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment information received\",\"status\":\"pre_transit\",\"datetime\":\"2018-02-27T16:02:17Z\",\"source\":\"DHLExpress\",\"tracking_location\":{\"object\":\"TrackingLocation\"}}]```\n */\n tracking_details?: Array<Record<string, any>> | null\n /**\n * The weight of the parcel as measured by the carrier in ounces (if available).\n * @example ```\"42.32\"```\n */\n carrier_weight_oz?: string | null\n /**\n * The name of the person who signed for the parcel (if available).\n * @example ```\"John Smith\"```\n */\n signed_by?: string | null\n /**\n * The type of Incoterm (if available).\n * @example ```\"EXW\"```\n */\n incoterm?: string | null\n /**\n * The type of delivery confirmation option upon delivery.\n * @example ```\"SIGNATURE\"```\n */\n delivery_confirmation?: string | null\n\n shipment?: ShipmentRel | null\n package?: PackageRel | null\n}\n\nclass Parcels extends ApiResource<Parcel> {\n static readonly TYPE: ParcelType = 'parcels' as const\n\n async create(\n resource: ParcelCreate,\n params?: QueryParamsRetrieve<Parcel>,\n options?: ResourcesConfig,\n ): Promise<Parcel> {\n return this.resources.create<ParcelCreate, Parcel>({ ...resource, type: Parcels.TYPE }, params, options)\n }\n\n async update(\n resource: ParcelUpdate,\n params?: QueryParamsRetrieve<Parcel>,\n options?: ResourcesConfig,\n ): Promise<Parcel> {\n return this.resources.update<ParcelUpdate, Parcel>({ ...resource, type: Parcels.TYPE }, params, options)\n }\n\n async delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n await this.resources.delete(typeof id === 'string' ? { id, type: Parcels.TYPE } : id, options)\n }\n\n async shipment(\n parcelId: string | Parcel,\n params?: QueryParamsRetrieve<Shipment>,\n options?: ResourcesConfig,\n ): Promise<Shipment> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Shipment>(\n { type: 'shipments' },\n `parcels/${_parcelId}/shipment`,\n params,\n options,\n ) as unknown as Shipment\n }\n\n async package(\n parcelId: string | Parcel,\n params?: QueryParamsRetrieve<Package>,\n options?: ResourcesConfig,\n ): Promise<Package> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Package>(\n { type: 'packages' },\n `parcels/${_parcelId}/package`,\n params,\n options,\n ) as unknown as Package\n }\n\n async parcel_line_items(\n parcelId: string | Parcel,\n params?: QueryParamsList<ParcelLineItem>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<ParcelLineItem>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<ParcelLineItem>(\n { type: 'parcel_line_items' },\n `parcels/${_parcelId}/parcel_line_items`,\n params,\n options,\n ) as unknown as ListResponse<ParcelLineItem>\n }\n\n async attachments(\n parcelId: string | Parcel,\n params?: QueryParamsList<Attachment>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Attachment>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Attachment>(\n { type: 'attachments' },\n `parcels/${_parcelId}/attachments`,\n params,\n options,\n ) as unknown as ListResponse<Attachment>\n }\n\n async events(\n parcelId: string | Parcel,\n params?: QueryParamsList<Event>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<Event>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<Event>(\n { type: 'events' },\n `parcels/${_parcelId}/events`,\n params,\n options,\n ) as unknown as ListResponse<Event>\n }\n\n async event_stores(\n parcelId: string | Parcel,\n params?: QueryParamsList<EventStore>,\n options?: ResourcesConfig,\n ): Promise<ListResponse<EventStore>> {\n const _parcelId = (parcelId as Parcel).id || (parcelId as string)\n return this.resources.fetch<EventStore>(\n { type: 'event_stores' },\n `parcels/${_parcelId}/event_stores`,\n params,\n options,\n ) as unknown as ListResponse<EventStore>\n }\n\n isParcel(resource: any): resource is Parcel {\n return resource.type && resource.type === Parcels.TYPE\n }\n\n relationship(id: string | ResourceId | null): ParcelRel {\n return super.relationshipOneToOne<ParcelRel>(id)\n }\n\n relationshipToMany(...ids: string[]): ParcelRel[] {\n return super.relationshipOneToMany<ParcelRel>(...ids)\n }\n\n type(): ParcelType {\n return Parcels.TYPE\n }\n}\n\nconst instance = new Parcels()\nexport default instance\n\nexport type { Parcel, ParcelCreate, Parcels, ParcelType, ParcelUpdate }\n"]}