@commercelayer/sdk 7.12.0 → 7.12.1

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 (1637) hide show
  1. package/lib/api-BL9tZFHY.d.cts +18190 -0
  2. package/lib/api-DZQtGYwQ.d.ts +18190 -0
  3. package/lib/api.cjs +263 -263
  4. package/lib/api.d.cts +1 -1
  5. package/lib/api.d.ts +1 -1
  6. package/lib/api.js +132 -132
  7. package/lib/bundle.cjs +406 -270
  8. package/lib/bundle.cjs.map +1 -1
  9. package/lib/bundle.d.cts +3 -1
  10. package/lib/bundle.d.ts +3 -1
  11. package/lib/bundle.js +405 -269
  12. package/lib/bundle.js.map +1 -1
  13. package/lib/chunk-24NE5SNH.cjs +56 -0
  14. package/lib/chunk-24NE5SNH.cjs.map +1 -0
  15. package/lib/chunk-2BD5EQXE.js +51 -0
  16. package/lib/chunk-2BD5EQXE.js.map +1 -0
  17. package/lib/chunk-2CFM6BXC.cjs +95 -0
  18. package/lib/chunk-2CFM6BXC.cjs.map +1 -0
  19. package/lib/chunk-2DG24Y6O.cjs +51 -0
  20. package/lib/chunk-2DG24Y6O.cjs.map +1 -0
  21. package/lib/chunk-2DQPE4FR.cjs +51 -0
  22. package/lib/chunk-2DQPE4FR.cjs.map +1 -0
  23. package/lib/chunk-2GU7EWJC.js +44 -0
  24. package/lib/chunk-2GU7EWJC.js.map +1 -0
  25. package/lib/chunk-2ILQ3GLM.cjs +47 -0
  26. package/lib/chunk-2ILQ3GLM.cjs.map +1 -0
  27. package/lib/chunk-2IW23WZS.cjs +47 -0
  28. package/lib/chunk-2IW23WZS.cjs.map +1 -0
  29. package/lib/chunk-2NFQDGNK.cjs +47 -0
  30. package/lib/chunk-2NFQDGNK.cjs.map +1 -0
  31. package/lib/chunk-2S7PLJHX.js +32 -0
  32. package/lib/chunk-2S7PLJHX.js.map +1 -0
  33. package/lib/chunk-2TXRJQTU.cjs +44 -0
  34. package/lib/chunk-2TXRJQTU.cjs.map +1 -0
  35. package/lib/chunk-2WH7FZLF.js +37 -0
  36. package/lib/chunk-2WH7FZLF.js.map +1 -0
  37. package/lib/chunk-3D4FUEMG.js +49 -0
  38. package/lib/chunk-3D4FUEMG.js.map +1 -0
  39. package/lib/chunk-3JAP7TVC.js +51 -0
  40. package/lib/chunk-3JAP7TVC.js.map +1 -0
  41. package/lib/chunk-43NY4KEG.js +49 -0
  42. package/lib/chunk-43NY4KEG.js.map +1 -0
  43. package/lib/chunk-44LYFX4Z.js +69 -0
  44. package/lib/chunk-44LYFX4Z.js.map +1 -0
  45. package/lib/chunk-46GP7OXR.js +96 -0
  46. package/lib/chunk-46GP7OXR.js.map +1 -0
  47. package/lib/chunk-4DIICB2C.js +68 -0
  48. package/lib/chunk-4DIICB2C.js.map +1 -0
  49. package/lib/chunk-4GRYDY72.js +36 -0
  50. package/lib/chunk-4GRYDY72.js.map +1 -0
  51. package/lib/chunk-4HI7WNDF.cjs +55 -0
  52. package/lib/chunk-4HI7WNDF.cjs.map +1 -0
  53. package/lib/chunk-4POJYIPJ.js +95 -0
  54. package/lib/chunk-4POJYIPJ.js.map +1 -0
  55. package/lib/chunk-4QWRJHKI.cjs +47 -0
  56. package/lib/chunk-4QWRJHKI.cjs.map +1 -0
  57. package/lib/chunk-4UPCZNRS.cjs +34 -0
  58. package/lib/chunk-4UPCZNRS.cjs.map +1 -0
  59. package/lib/chunk-4XTBGJWW.js +52 -0
  60. package/lib/chunk-4XTBGJWW.js.map +1 -0
  61. package/lib/chunk-537HL2FZ.cjs +107 -0
  62. package/lib/chunk-537HL2FZ.cjs.map +1 -0
  63. package/lib/chunk-54PMSXTI.cjs +51 -0
  64. package/lib/chunk-54PMSXTI.cjs.map +1 -0
  65. package/lib/chunk-57GQ3X6P.js +91 -0
  66. package/lib/chunk-57GQ3X6P.js.map +1 -0
  67. package/lib/chunk-5ARYINZ2.cjs +50 -0
  68. package/lib/chunk-5ARYINZ2.cjs.map +1 -0
  69. package/lib/chunk-5EIKNK5S.js +66 -0
  70. package/lib/chunk-5EIKNK5S.js.map +1 -0
  71. package/lib/chunk-5J35GMM3.js +28 -0
  72. package/lib/chunk-5J35GMM3.js.map +1 -0
  73. package/lib/chunk-5Q2MYZ5B.js +59 -0
  74. package/lib/chunk-5Q2MYZ5B.js.map +1 -0
  75. package/lib/chunk-5TOKIUAB.js +89 -0
  76. package/lib/chunk-5TOKIUAB.js.map +1 -0
  77. package/lib/chunk-5UVYU4XN.cjs +51 -0
  78. package/lib/chunk-5UVYU4XN.cjs.map +1 -0
  79. package/lib/chunk-5XLKZYDF.cjs +30 -0
  80. package/lib/chunk-5XLKZYDF.cjs.map +1 -0
  81. package/lib/chunk-64WLJSJG.cjs +51 -0
  82. package/lib/chunk-64WLJSJG.cjs.map +1 -0
  83. package/lib/chunk-6BMCLZBQ.cjs +51 -0
  84. package/lib/chunk-6BMCLZBQ.cjs.map +1 -0
  85. package/lib/chunk-6BUVYKSP.cjs +49 -0
  86. package/lib/chunk-6BUVYKSP.cjs.map +1 -0
  87. package/lib/chunk-6CRXGM2S.cjs +50 -0
  88. package/lib/chunk-6CRXGM2S.cjs.map +1 -0
  89. package/lib/chunk-6RG3EDXD.js +49 -0
  90. package/lib/chunk-6RG3EDXD.js.map +1 -0
  91. package/lib/chunk-6TBUF3H2.cjs +68 -0
  92. package/lib/chunk-6TBUF3H2.cjs.map +1 -0
  93. package/lib/chunk-6TO7G4WZ.cjs +118 -0
  94. package/lib/chunk-6TO7G4WZ.cjs.map +1 -0
  95. package/lib/chunk-6VN4NEUS.js +52 -0
  96. package/lib/chunk-6VN4NEUS.js.map +1 -0
  97. package/lib/chunk-6X3SERAO.cjs +39 -0
  98. package/lib/chunk-6X3SERAO.cjs.map +1 -0
  99. package/lib/chunk-6XX3G5GF.cjs +61 -0
  100. package/lib/chunk-6XX3G5GF.cjs.map +1 -0
  101. package/lib/chunk-73PTWYSG.js +48 -0
  102. package/lib/chunk-73PTWYSG.js.map +1 -0
  103. package/lib/chunk-73QKCTFL.cjs +95 -0
  104. package/lib/chunk-73QKCTFL.cjs.map +1 -0
  105. package/lib/chunk-74OFKAKF.js +54 -0
  106. package/lib/chunk-74OFKAKF.js.map +1 -0
  107. package/lib/chunk-7C2RQMWG.cjs +56 -0
  108. package/lib/chunk-7C2RQMWG.cjs.map +1 -0
  109. package/lib/chunk-7CG3LRH3.js +32 -0
  110. package/lib/chunk-7CG3LRH3.js.map +1 -0
  111. package/lib/chunk-7OHJVGWS.js +93 -0
  112. package/lib/chunk-7OHJVGWS.js.map +1 -0
  113. package/lib/chunk-7SB7OFM7.js +41 -0
  114. package/lib/chunk-7SB7OFM7.js.map +1 -0
  115. package/lib/chunk-7W4HDA22.js +61 -0
  116. package/lib/chunk-7W4HDA22.js.map +1 -0
  117. package/lib/chunk-7YTV5CFU.js +113 -0
  118. package/lib/chunk-7YTV5CFU.js.map +1 -0
  119. package/lib/chunk-A5P5CV26.js +99 -0
  120. package/lib/chunk-A5P5CV26.js.map +1 -0
  121. package/lib/chunk-ADBL6GHI.js +287 -0
  122. package/lib/chunk-ADBL6GHI.js.map +1 -0
  123. package/lib/chunk-AFCHVA7J.cjs +51 -0
  124. package/lib/chunk-AFCHVA7J.cjs.map +1 -0
  125. package/lib/chunk-ALWCRWTW.js +41 -0
  126. package/lib/chunk-ALWCRWTW.js.map +1 -0
  127. package/lib/chunk-ATUQUSZW.cjs +42 -0
  128. package/lib/chunk-ATUQUSZW.cjs.map +1 -0
  129. package/lib/chunk-B3C3H44A.cjs +47 -0
  130. package/lib/chunk-B3C3H44A.cjs.map +1 -0
  131. package/lib/chunk-B66V3CZY.cjs +56 -0
  132. package/lib/chunk-B66V3CZY.cjs.map +1 -0
  133. package/lib/chunk-BA5RFQPZ.cjs +95 -0
  134. package/lib/chunk-BA5RFQPZ.cjs.map +1 -0
  135. package/lib/chunk-BAHXWPSG.cjs +61 -0
  136. package/lib/chunk-BAHXWPSG.cjs.map +1 -0
  137. package/lib/chunk-BDXU3PHK.cjs +51 -0
  138. package/lib/chunk-BDXU3PHK.cjs.map +1 -0
  139. package/lib/chunk-BFGICGFK.js +73 -0
  140. package/lib/chunk-BFGICGFK.js.map +1 -0
  141. package/lib/chunk-BKHI7LSW.js +51 -0
  142. package/lib/chunk-BKHI7LSW.js.map +1 -0
  143. package/lib/chunk-BMMDE6ES.cjs +47 -0
  144. package/lib/chunk-BMMDE6ES.cjs.map +1 -0
  145. package/lib/chunk-BNRBLHHS.js +37 -0
  146. package/lib/chunk-BNRBLHHS.js.map +1 -0
  147. package/lib/chunk-BQIGX57O.js +48 -0
  148. package/lib/chunk-BQIGX57O.js.map +1 -0
  149. package/lib/chunk-BVJSDDPT.js +68 -0
  150. package/lib/chunk-BVJSDDPT.js.map +1 -0
  151. package/lib/chunk-BW4KC4JJ.js +48 -0
  152. package/lib/chunk-BW4KC4JJ.js.map +1 -0
  153. package/lib/chunk-C5TXM4TK.js +73 -0
  154. package/lib/chunk-C5TXM4TK.js.map +1 -0
  155. package/lib/chunk-C6RXW4YY.cjs +89 -0
  156. package/lib/chunk-C6RXW4YY.cjs.map +1 -0
  157. package/lib/chunk-C7K53SPD.js +24 -0
  158. package/lib/chunk-C7K53SPD.js.map +1 -0
  159. package/lib/chunk-CEZMXGF2.js +51 -0
  160. package/lib/chunk-CEZMXGF2.js.map +1 -0
  161. package/lib/chunk-CGJSEELZ.js +37 -0
  162. package/lib/chunk-CGJSEELZ.js.map +1 -0
  163. package/lib/chunk-CHD7QDKS.js +59 -0
  164. package/lib/chunk-CHD7QDKS.js.map +1 -0
  165. package/lib/chunk-CIKMIKZ6.js +42 -0
  166. package/lib/chunk-CIKMIKZ6.js.map +1 -0
  167. package/lib/chunk-CN4ZAHGA.js +40 -0
  168. package/lib/chunk-CN4ZAHGA.js.map +1 -0
  169. package/lib/chunk-CNDVEHRU.cjs +56 -0
  170. package/lib/chunk-CNDVEHRU.cjs.map +1 -0
  171. package/lib/chunk-COHQZCSV.js +54 -0
  172. package/lib/chunk-COHQZCSV.js.map +1 -0
  173. package/lib/chunk-CVEC2QZK.cjs +55 -0
  174. package/lib/chunk-CVEC2QZK.cjs.map +1 -0
  175. package/lib/chunk-CXIIIZIG.js +49 -0
  176. package/lib/chunk-CXIIIZIG.js.map +1 -0
  177. package/lib/chunk-CYBDCJQP.cjs +47 -0
  178. package/lib/chunk-CYBDCJQP.cjs.map +1 -0
  179. package/lib/chunk-D6LGIBLP.js +65 -0
  180. package/lib/chunk-D6LGIBLP.js.map +1 -0
  181. package/lib/chunk-D7CJRB3O.cjs +42 -0
  182. package/lib/chunk-D7CJRB3O.cjs.map +1 -0
  183. package/lib/chunk-DBZRDDQC.js +51 -0
  184. package/lib/chunk-DBZRDDQC.js.map +1 -0
  185. package/lib/chunk-DGN6CMSF.cjs +54 -0
  186. package/lib/chunk-DGN6CMSF.cjs.map +1 -0
  187. package/lib/chunk-DMYSSEB4.js +36 -0
  188. package/lib/chunk-DMYSSEB4.js.map +1 -0
  189. package/lib/chunk-DRHA2WTQ.js +67 -0
  190. package/lib/chunk-DRHA2WTQ.js.map +1 -0
  191. package/lib/chunk-DU7BKVA6.js +37 -0
  192. package/lib/chunk-DU7BKVA6.js.map +1 -0
  193. package/lib/chunk-DUQUDIXD.js +54 -0
  194. package/lib/chunk-DUQUDIXD.js.map +1 -0
  195. package/lib/chunk-E23O3HTZ.js +45 -0
  196. package/lib/chunk-E23O3HTZ.js.map +1 -0
  197. package/lib/chunk-E347ZWT4.js +49 -0
  198. package/lib/chunk-E347ZWT4.js.map +1 -0
  199. package/lib/chunk-EBBRMPEP.js +59 -0
  200. package/lib/chunk-EBBRMPEP.js.map +1 -0
  201. package/lib/chunk-EURZY6LF.js +45 -0
  202. package/lib/chunk-EURZY6LF.js.map +1 -0
  203. package/lib/chunk-EV2V5IMS.cjs +71 -0
  204. package/lib/chunk-EV2V5IMS.cjs.map +1 -0
  205. package/lib/chunk-EVZXYAFX.cjs +47 -0
  206. package/lib/chunk-EVZXYAFX.cjs.map +1 -0
  207. package/lib/chunk-EWGNTRWZ.cjs +51 -0
  208. package/lib/chunk-EWGNTRWZ.cjs.map +1 -0
  209. package/lib/chunk-EWPZW23I.cjs +50 -0
  210. package/lib/chunk-EWPZW23I.cjs.map +1 -0
  211. package/lib/chunk-EZBICJIP.cjs +30 -0
  212. package/lib/chunk-EZBICJIP.cjs.map +1 -0
  213. package/lib/chunk-FD73BWXU.js +93 -0
  214. package/lib/chunk-FD73BWXU.js.map +1 -0
  215. package/lib/chunk-FDG63RME.js +49 -0
  216. package/lib/chunk-FDG63RME.js.map +1 -0
  217. package/lib/chunk-FTEO3U3B.js +105 -0
  218. package/lib/chunk-FTEO3U3B.js.map +1 -0
  219. package/lib/chunk-FYD5UJFR.js +87 -0
  220. package/lib/chunk-FYD5UJFR.js.map +1 -0
  221. package/lib/chunk-FZQEBN4H.js +124 -0
  222. package/lib/chunk-FZQEBN4H.js.map +1 -0
  223. package/lib/chunk-GBFK7JL7.cjs +156 -0
  224. package/lib/chunk-GBFK7JL7.cjs.map +1 -0
  225. package/lib/chunk-GDB54Z5E.cjs +47 -0
  226. package/lib/chunk-GDB54Z5E.cjs.map +1 -0
  227. package/lib/chunk-GDMYCRU2.cjs +56 -0
  228. package/lib/chunk-GDMYCRU2.cjs.map +1 -0
  229. package/lib/chunk-GEYB6J6Q.cjs +51 -0
  230. package/lib/chunk-GEYB6J6Q.cjs.map +1 -0
  231. package/lib/chunk-GGOX5RVE.cjs +63 -0
  232. package/lib/chunk-GGOX5RVE.cjs.map +1 -0
  233. package/lib/chunk-GHXAIVNL.cjs +50 -0
  234. package/lib/chunk-GHXAIVNL.cjs.map +1 -0
  235. package/lib/chunk-GM6TOVU3.cjs +63 -0
  236. package/lib/chunk-GM6TOVU3.cjs.map +1 -0
  237. package/lib/chunk-GQ2VOYQW.cjs +47 -0
  238. package/lib/chunk-GQ2VOYQW.cjs.map +1 -0
  239. package/lib/chunk-GQSHLDFM.js +41 -0
  240. package/lib/chunk-GQSHLDFM.js.map +1 -0
  241. package/lib/chunk-GXS65DGD.js +93 -0
  242. package/lib/chunk-GXS65DGD.js.map +1 -0
  243. package/lib/chunk-HA2JISXS.cjs +56 -0
  244. package/lib/chunk-HA2JISXS.cjs.map +1 -0
  245. package/lib/chunk-HKE5VQN6.js +47 -0
  246. package/lib/chunk-HKE5VQN6.js.map +1 -0
  247. package/lib/chunk-HVB7P2BK.cjs +62 -0
  248. package/lib/chunk-HVB7P2BK.cjs.map +1 -0
  249. package/lib/chunk-HYJ7Z6D7.js +40 -0
  250. package/lib/chunk-HYJ7Z6D7.js.map +1 -0
  251. package/lib/chunk-IA3XLO6M.js +54 -0
  252. package/lib/chunk-IA3XLO6M.js.map +1 -0
  253. package/lib/chunk-ICFDBQ5X.cjs +75 -0
  254. package/lib/chunk-ICFDBQ5X.cjs.map +1 -0
  255. package/lib/chunk-IKTZENHC.js +53 -0
  256. package/lib/chunk-IKTZENHC.js.map +1 -0
  257. package/lib/chunk-ILX5NRZ6.cjs +55 -0
  258. package/lib/chunk-ILX5NRZ6.cjs.map +1 -0
  259. package/lib/chunk-ISUCEW36.cjs +39 -0
  260. package/lib/chunk-ISUCEW36.cjs.map +1 -0
  261. package/lib/chunk-IW6D2ATB.cjs +47 -0
  262. package/lib/chunk-IW6D2ATB.cjs.map +1 -0
  263. package/lib/chunk-J3EPWRQF.js +54 -0
  264. package/lib/chunk-J3EPWRQF.js.map +1 -0
  265. package/lib/chunk-JF7ZZKBL.cjs +70 -0
  266. package/lib/chunk-JF7ZZKBL.cjs.map +1 -0
  267. package/lib/chunk-JMINY25P.js +53 -0
  268. package/lib/chunk-JMINY25P.js.map +1 -0
  269. package/lib/chunk-JQWRLR32.js +37 -0
  270. package/lib/chunk-JQWRLR32.js.map +1 -0
  271. package/lib/chunk-JWSRNFYM.js +50 -0
  272. package/lib/chunk-JWSRNFYM.js.map +1 -0
  273. package/lib/chunk-JWZ3H57F.js +40 -0
  274. package/lib/chunk-JWZ3H57F.js.map +1 -0
  275. package/lib/chunk-JZ3NGNOU.cjs +75 -0
  276. package/lib/chunk-JZ3NGNOU.cjs.map +1 -0
  277. package/lib/chunk-K45H4QRJ.cjs +91 -0
  278. package/lib/chunk-K45H4QRJ.cjs.map +1 -0
  279. package/lib/chunk-KAEKTLB6.cjs +43 -0
  280. package/lib/chunk-KAEKTLB6.cjs.map +1 -0
  281. package/lib/chunk-KIYGE6PC.cjs +47 -0
  282. package/lib/chunk-KIYGE6PC.cjs.map +1 -0
  283. package/lib/chunk-KPX3O2BQ.cjs +34 -0
  284. package/lib/chunk-KPX3O2BQ.cjs.map +1 -0
  285. package/lib/chunk-KQ62ZCOB.js +45 -0
  286. package/lib/chunk-KQ62ZCOB.js.map +1 -0
  287. package/lib/chunk-KRINYHI4.js +48 -0
  288. package/lib/chunk-KRINYHI4.js.map +1 -0
  289. package/lib/chunk-KW6OBE6A.js +93 -0
  290. package/lib/chunk-KW6OBE6A.js.map +1 -0
  291. package/lib/chunk-KZHDWO2M.js +54 -0
  292. package/lib/chunk-KZHDWO2M.js.map +1 -0
  293. package/lib/chunk-L36P6TCW.cjs +61 -0
  294. package/lib/chunk-L36P6TCW.cjs.map +1 -0
  295. package/lib/chunk-L7UYIV5U.js +52 -0
  296. package/lib/chunk-L7UYIV5U.js.map +1 -0
  297. package/lib/chunk-LH3NVT5R.cjs +67 -0
  298. package/lib/chunk-LH3NVT5R.cjs.map +1 -0
  299. package/lib/chunk-LLV57FCL.cjs +95 -0
  300. package/lib/chunk-LLV57FCL.cjs.map +1 -0
  301. package/lib/chunk-LMDYSL5J.cjs +50 -0
  302. package/lib/chunk-LMDYSL5J.cjs.map +1 -0
  303. package/lib/chunk-LU7NF3DQ.cjs +39 -0
  304. package/lib/chunk-LU7NF3DQ.cjs.map +1 -0
  305. package/lib/chunk-MG6ISTV3.js +60 -0
  306. package/lib/chunk-MG6ISTV3.js.map +1 -0
  307. package/lib/chunk-MGHVUU2R.cjs +49 -0
  308. package/lib/chunk-MGHVUU2R.cjs.map +1 -0
  309. package/lib/chunk-MH54XBSX.cjs +29 -0
  310. package/lib/chunk-MH54XBSX.cjs.map +1 -0
  311. package/lib/chunk-MLED3JD2.js +45 -0
  312. package/lib/chunk-MLED3JD2.js.map +1 -0
  313. package/lib/chunk-MPGYQKVP.cjs +56 -0
  314. package/lib/chunk-MPGYQKVP.cjs.map +1 -0
  315. package/lib/chunk-MPYP5HNA.js +45 -0
  316. package/lib/chunk-MPYP5HNA.js.map +1 -0
  317. package/lib/chunk-MSAAHT3W.js +28 -0
  318. package/lib/chunk-MSAAHT3W.js.map +1 -0
  319. package/lib/chunk-MV3DXOEE.cjs +47 -0
  320. package/lib/chunk-MV3DXOEE.cjs.map +1 -0
  321. package/lib/chunk-MYXLBPGW.js +31 -0
  322. package/lib/chunk-MYXLBPGW.js.map +1 -0
  323. package/lib/chunk-N26J535W.js +53 -0
  324. package/lib/chunk-N26J535W.js.map +1 -0
  325. package/lib/chunk-NEPV2QT6.cjs +42 -0
  326. package/lib/chunk-NEPV2QT6.cjs.map +1 -0
  327. package/lib/chunk-NG7M2SWO.cjs +101 -0
  328. package/lib/chunk-NG7M2SWO.cjs.map +1 -0
  329. package/lib/chunk-NJ7VTZ45.js +40 -0
  330. package/lib/chunk-NJ7VTZ45.js.map +1 -0
  331. package/lib/chunk-NJZ5526I.cjs +98 -0
  332. package/lib/chunk-NJZ5526I.cjs.map +1 -0
  333. package/lib/chunk-NQ2WJSTK.js +45 -0
  334. package/lib/chunk-NQ2WJSTK.js.map +1 -0
  335. package/lib/chunk-NUJMM4IE.cjs +46 -0
  336. package/lib/chunk-NUJMM4IE.cjs.map +1 -0
  337. package/lib/chunk-NZV7T6OS.cjs +42 -0
  338. package/lib/chunk-NZV7T6OS.cjs.map +1 -0
  339. package/lib/chunk-O5LELQ3H.cjs +55 -0
  340. package/lib/chunk-O5LELQ3H.cjs.map +1 -0
  341. package/lib/chunk-O5ZCTFGS.cjs +57 -0
  342. package/lib/chunk-O5ZCTFGS.cjs.map +1 -0
  343. package/lib/chunk-OCHJ6H5L.js +59 -0
  344. package/lib/chunk-OCHJ6H5L.js.map +1 -0
  345. package/lib/chunk-OEOPKYYH.cjs +77 -0
  346. package/lib/chunk-OEOPKYYH.cjs.map +1 -0
  347. package/lib/chunk-OOWF4KZW.js +49 -0
  348. package/lib/chunk-OOWF4KZW.js.map +1 -0
  349. package/lib/chunk-OQ6XCVXY.js +41 -0
  350. package/lib/chunk-OQ6XCVXY.js.map +1 -0
  351. package/lib/chunk-OQJSTZNL.cjs +61 -0
  352. package/lib/chunk-OQJSTZNL.cjs.map +1 -0
  353. package/lib/chunk-ORUCCVMU.js +45 -0
  354. package/lib/chunk-ORUCCVMU.js.map +1 -0
  355. package/lib/chunk-OUXO6SLS.cjs +49 -0
  356. package/lib/chunk-OUXO6SLS.cjs.map +1 -0
  357. package/lib/chunk-OY6MZVBQ.cjs +38 -0
  358. package/lib/chunk-OY6MZVBQ.cjs.map +1 -0
  359. package/lib/chunk-PAQOOCG3.cjs +126 -0
  360. package/lib/chunk-PAQOOCG3.cjs.map +1 -0
  361. package/lib/chunk-PASUJC7O.cjs +51 -0
  362. package/lib/chunk-PASUJC7O.cjs.map +1 -0
  363. package/lib/chunk-PDGVNV5M.js +154 -0
  364. package/lib/chunk-PDGVNV5M.js.map +1 -0
  365. package/lib/chunk-PECN2STI.cjs +47 -0
  366. package/lib/chunk-PECN2STI.cjs.map +1 -0
  367. package/lib/chunk-PN24CPTP.js +40 -0
  368. package/lib/chunk-PN24CPTP.js.map +1 -0
  369. package/lib/chunk-PSSGYICM.cjs +47 -0
  370. package/lib/chunk-PSSGYICM.cjs.map +1 -0
  371. package/lib/chunk-PWISCPLC.cjs +55 -0
  372. package/lib/chunk-PWISCPLC.cjs.map +1 -0
  373. package/lib/chunk-Q35LAO5H.cjs +61 -0
  374. package/lib/chunk-Q35LAO5H.cjs.map +1 -0
  375. package/lib/chunk-Q5LEAU3I.js +44 -0
  376. package/lib/chunk-Q5LEAU3I.js.map +1 -0
  377. package/lib/chunk-QDU2H45U.cjs +53 -0
  378. package/lib/chunk-QDU2H45U.cjs.map +1 -0
  379. package/lib/chunk-QHDNUJT6.js +45 -0
  380. package/lib/chunk-QHDNUJT6.js.map +1 -0
  381. package/lib/chunk-QHLRNRP7.js +54 -0
  382. package/lib/chunk-QHLRNRP7.js.map +1 -0
  383. package/lib/chunk-QIAXU2SJ.cjs +54 -0
  384. package/lib/chunk-QIAXU2SJ.cjs.map +1 -0
  385. package/lib/chunk-QLHBMADF.cjs +52 -0
  386. package/lib/chunk-QLHBMADF.cjs.map +1 -0
  387. package/lib/chunk-QLLPSD32.cjs +51 -0
  388. package/lib/chunk-QLLPSD32.cjs.map +1 -0
  389. package/lib/chunk-QLW5QVVW.cjs +70 -0
  390. package/lib/chunk-QLW5QVVW.cjs.map +1 -0
  391. package/lib/chunk-QNJQIJKL.cjs +98 -0
  392. package/lib/chunk-QNJQIJKL.cjs.map +1 -0
  393. package/lib/chunk-QPFAATIQ.js +49 -0
  394. package/lib/chunk-QPFAATIQ.js.map +1 -0
  395. package/lib/chunk-QRRPEYJZ.cjs +26 -0
  396. package/lib/chunk-QRRPEYJZ.cjs.map +1 -0
  397. package/lib/chunk-QYNCYKXA.cjs +51 -0
  398. package/lib/chunk-QYNCYKXA.cjs.map +1 -0
  399. package/lib/chunk-QYQLV3UF.js +57 -0
  400. package/lib/chunk-QYQLV3UF.js.map +1 -0
  401. package/lib/chunk-R5GWVFCY.cjs +95 -0
  402. package/lib/chunk-R5GWVFCY.cjs.map +1 -0
  403. package/lib/chunk-R5RKU5ET.cjs +68 -0
  404. package/lib/chunk-R5RKU5ET.cjs.map +1 -0
  405. package/lib/chunk-RAVVFNM3.cjs +42 -0
  406. package/lib/chunk-RAVVFNM3.cjs.map +1 -0
  407. package/lib/chunk-RDACMJVS.js +53 -0
  408. package/lib/chunk-RDACMJVS.js.map +1 -0
  409. package/lib/chunk-RJIKKTQZ.cjs +39 -0
  410. package/lib/chunk-RJIKKTQZ.cjs.map +1 -0
  411. package/lib/chunk-ROYOEYGX.cjs +33 -0
  412. package/lib/chunk-ROYOEYGX.cjs.map +1 -0
  413. package/lib/chunk-RSYBOKNE.js +45 -0
  414. package/lib/chunk-RSYBOKNE.js.map +1 -0
  415. package/lib/chunk-RYPA7HYS.js +93 -0
  416. package/lib/chunk-RYPA7HYS.js.map +1 -0
  417. package/lib/chunk-S2SYYYG2.cjs +69 -0
  418. package/lib/chunk-S2SYYYG2.cjs.map +1 -0
  419. package/lib/chunk-S6XPCUJW.js +75 -0
  420. package/lib/chunk-S6XPCUJW.js.map +1 -0
  421. package/lib/chunk-SFYB5GXI.js +59 -0
  422. package/lib/chunk-SFYB5GXI.js.map +1 -0
  423. package/lib/chunk-SSQYQJV3.js +66 -0
  424. package/lib/chunk-SSQYQJV3.js.map +1 -0
  425. package/lib/chunk-SUUOHRSG.js +61 -0
  426. package/lib/chunk-SUUOHRSG.js.map +1 -0
  427. package/lib/chunk-SW5N35FH.cjs +43 -0
  428. package/lib/chunk-SW5N35FH.cjs.map +1 -0
  429. package/lib/chunk-T26776MO.cjs +105 -0
  430. package/lib/chunk-T26776MO.cjs.map +1 -0
  431. package/lib/chunk-T2OKZDN4.js +49 -0
  432. package/lib/chunk-T2OKZDN4.js.map +1 -0
  433. package/lib/chunk-T5G655QT.js +27 -0
  434. package/lib/chunk-T5G655QT.js.map +1 -0
  435. package/lib/chunk-TE67ODLT.js +47 -0
  436. package/lib/chunk-TE67ODLT.js.map +1 -0
  437. package/lib/chunk-TGFRUTII.js +45 -0
  438. package/lib/chunk-TGFRUTII.js.map +1 -0
  439. package/lib/chunk-TM3WY5JX.js +49 -0
  440. package/lib/chunk-TM3WY5JX.js.map +1 -0
  441. package/lib/chunk-TOIJVWRZ.cjs +285 -0
  442. package/lib/chunk-TOIJVWRZ.cjs.map +1 -0
  443. package/lib/chunk-TUCNQX6Y.js +49 -0
  444. package/lib/chunk-TUCNQX6Y.js.map +1 -0
  445. package/lib/chunk-U5RLBTS6.js +49 -0
  446. package/lib/chunk-U5RLBTS6.js.map +1 -0
  447. package/lib/chunk-UBFZSSUZ.js +50 -0
  448. package/lib/chunk-UBFZSSUZ.js.map +1 -0
  449. package/lib/chunk-UD2ZHF5I.js +49 -0
  450. package/lib/chunk-UD2ZHF5I.js.map +1 -0
  451. package/lib/chunk-UMID2D26.js +45 -0
  452. package/lib/chunk-UMID2D26.js.map +1 -0
  453. package/lib/chunk-UUL3UDIC.js +45 -0
  454. package/lib/chunk-UUL3UDIC.js.map +1 -0
  455. package/lib/chunk-V4PP6IUM.cjs +42 -0
  456. package/lib/chunk-V4PP6IUM.cjs.map +1 -0
  457. package/lib/chunk-VH65L3FZ.cjs +43 -0
  458. package/lib/chunk-VH65L3FZ.cjs.map +1 -0
  459. package/lib/chunk-VIPTK4KE.js +40 -0
  460. package/lib/chunk-VIPTK4KE.js.map +1 -0
  461. package/lib/chunk-VS7D74RY.cjs +54 -0
  462. package/lib/chunk-VS7D74RY.cjs.map +1 -0
  463. package/lib/chunk-VWZ2H35A.cjs +53 -0
  464. package/lib/chunk-VWZ2H35A.cjs.map +1 -0
  465. package/lib/chunk-W2ZODWRB.cjs +47 -0
  466. package/lib/chunk-W2ZODWRB.cjs.map +1 -0
  467. package/lib/chunk-W534ZCYS.cjs +43 -0
  468. package/lib/chunk-W534ZCYS.cjs.map +1 -0
  469. package/lib/chunk-WAQYCXXA.cjs +55 -0
  470. package/lib/chunk-WAQYCXXA.cjs.map +1 -0
  471. package/lib/chunk-WGKGDMJG.js +54 -0
  472. package/lib/chunk-WGKGDMJG.js.map +1 -0
  473. package/lib/chunk-WKD345DZ.cjs +52 -0
  474. package/lib/chunk-WKD345DZ.cjs.map +1 -0
  475. package/lib/chunk-WM3MOTCN.js +45 -0
  476. package/lib/chunk-WM3MOTCN.js.map +1 -0
  477. package/lib/chunk-WQKG5HJS.js +45 -0
  478. package/lib/chunk-WQKG5HJS.js.map +1 -0
  479. package/lib/chunk-WSNUMIIY.cjs +56 -0
  480. package/lib/chunk-WSNUMIIY.cjs.map +1 -0
  481. package/lib/chunk-WYULLF7A.cjs +53 -0
  482. package/lib/chunk-WYULLF7A.cjs.map +1 -0
  483. package/lib/chunk-X2BR77L2.js +283 -0
  484. package/lib/chunk-X2BR77L2.js.map +1 -0
  485. package/lib/chunk-X46PVG74.js +45 -0
  486. package/lib/chunk-X46PVG74.js.map +1 -0
  487. package/lib/chunk-X5OWNCC4.cjs +38 -0
  488. package/lib/chunk-X5OWNCC4.cjs.map +1 -0
  489. package/lib/chunk-X6SULYQB.cjs +38 -0
  490. package/lib/chunk-X6SULYQB.cjs.map +1 -0
  491. package/lib/chunk-X7AKN4S6.js +48 -0
  492. package/lib/chunk-X7AKN4S6.js.map +1 -0
  493. package/lib/chunk-XBBVFGOJ.js +45 -0
  494. package/lib/chunk-XBBVFGOJ.js.map +1 -0
  495. package/lib/chunk-XC67WDBZ.cjs +39 -0
  496. package/lib/chunk-XC67WDBZ.cjs.map +1 -0
  497. package/lib/chunk-XCFDOKIM.cjs +47 -0
  498. package/lib/chunk-XCFDOKIM.cjs.map +1 -0
  499. package/lib/chunk-XKDMHHU6.js +53 -0
  500. package/lib/chunk-XKDMHHU6.js.map +1 -0
  501. package/lib/chunk-XPE3CHFX.js +40 -0
  502. package/lib/chunk-XPE3CHFX.js.map +1 -0
  503. package/lib/chunk-XRYS36MH.js +45 -0
  504. package/lib/chunk-XRYS36MH.js.map +1 -0
  505. package/lib/chunk-XXL66GOT.js +103 -0
  506. package/lib/chunk-XXL66GOT.js.map +1 -0
  507. package/lib/chunk-XYFVAE5Q.js +37 -0
  508. package/lib/chunk-XYFVAE5Q.js.map +1 -0
  509. package/lib/chunk-XYPIGF36.cjs +295 -0
  510. package/lib/chunk-XYPIGF36.cjs.map +1 -0
  511. package/lib/chunk-Y262ZN7R.cjs +42 -0
  512. package/lib/chunk-Y262ZN7R.cjs.map +1 -0
  513. package/lib/chunk-YBRIQ52U.cjs +97 -0
  514. package/lib/chunk-YBRIQ52U.cjs.map +1 -0
  515. package/lib/chunk-YGGJGJU7.js +55 -0
  516. package/lib/chunk-YGGJGJU7.js.map +1 -0
  517. package/lib/chunk-YNKM6H3D.cjs +59 -0
  518. package/lib/chunk-YNKM6H3D.cjs.map +1 -0
  519. package/lib/chunk-YPX3YJ4L.cjs +93 -0
  520. package/lib/chunk-YPX3YJ4L.cjs.map +1 -0
  521. package/lib/chunk-YXMPQHE4.cjs +57 -0
  522. package/lib/chunk-YXMPQHE4.cjs.map +1 -0
  523. package/lib/chunk-Z3XTAUYM.js +96 -0
  524. package/lib/chunk-Z3XTAUYM.js.map +1 -0
  525. package/lib/chunk-Z4CUVPMW.js +47 -0
  526. package/lib/chunk-Z4CUVPMW.js.map +1 -0
  527. package/lib/chunk-Z4PD2SXY.js +55 -0
  528. package/lib/chunk-Z4PD2SXY.js.map +1 -0
  529. package/lib/chunk-ZBIJQ4CN.js +53 -0
  530. package/lib/chunk-ZBIJQ4CN.js.map +1 -0
  531. package/lib/chunk-ZCMD5U3M.js +36 -0
  532. package/lib/chunk-ZCMD5U3M.js.map +1 -0
  533. package/lib/chunk-ZF5RJEW7.cjs +39 -0
  534. package/lib/chunk-ZF5RJEW7.cjs.map +1 -0
  535. package/lib/chunk-ZGKZWE7U.cjs +53 -0
  536. package/lib/chunk-ZGKZWE7U.cjs.map +1 -0
  537. package/lib/chunk-ZHCI2QRX.cjs +46 -0
  538. package/lib/chunk-ZHCI2QRX.cjs.map +1 -0
  539. package/lib/chunk-ZMZ73HFP.cjs +53 -0
  540. package/lib/chunk-ZMZ73HFP.cjs.map +1 -0
  541. package/lib/chunk-ZT5VCXSB.js +45 -0
  542. package/lib/chunk-ZT5VCXSB.js.map +1 -0
  543. package/lib/chunk-ZTSVFTKP.cjs +51 -0
  544. package/lib/chunk-ZTSVFTKP.cjs.map +1 -0
  545. package/lib/chunk-ZVJZFSX5.cjs +47 -0
  546. package/lib/chunk-ZVJZFSX5.cjs.map +1 -0
  547. package/lib/chunk-ZZZ5IYR4.js +49 -0
  548. package/lib/chunk-ZZZ5IYR4.js.map +1 -0
  549. package/lib/commercelayer.cjs +6 -6
  550. package/lib/commercelayer.d.cts +3 -1
  551. package/lib/commercelayer.d.ts +3 -1
  552. package/lib/commercelayer.js +2 -2
  553. package/lib/enum.d.cts +1 -1
  554. package/lib/enum.d.ts +1 -1
  555. package/lib/index.cjs +268 -268
  556. package/lib/index.d.cts +1 -1
  557. package/lib/index.d.ts +1 -1
  558. package/lib/index.js +134 -134
  559. package/lib/jsonapi.cjs +3 -3
  560. package/lib/jsonapi.d.cts +1 -1
  561. package/lib/jsonapi.d.ts +1 -1
  562. package/lib/jsonapi.js +1 -1
  563. package/lib/model.d.cts +1 -1
  564. package/lib/model.d.ts +1 -1
  565. package/lib/query.d.cts +1 -1
  566. package/lib/query.d.ts +1 -1
  567. package/lib/resource.cjs +6 -6
  568. package/lib/resource.d.cts +1 -1
  569. package/lib/resource.d.ts +1 -1
  570. package/lib/resource.js +1 -1
  571. package/lib/resources/addresses.cjs +3 -3
  572. package/lib/resources/addresses.d.cts +2 -2
  573. package/lib/resources/addresses.d.ts +1 -1
  574. package/lib/resources/addresses.js +2 -2
  575. package/lib/resources/adjustments.cjs +3 -3
  576. package/lib/resources/adjustments.d.cts +2 -2
  577. package/lib/resources/adjustments.d.ts +1 -1
  578. package/lib/resources/adjustments.js +2 -2
  579. package/lib/resources/adyen_gateways.cjs +3 -3
  580. package/lib/resources/adyen_gateways.d.cts +2 -2
  581. package/lib/resources/adyen_gateways.d.ts +1 -1
  582. package/lib/resources/adyen_gateways.js +2 -2
  583. package/lib/resources/adyen_payments.cjs +3 -3
  584. package/lib/resources/adyen_payments.d.cts +2 -2
  585. package/lib/resources/adyen_payments.d.ts +1 -1
  586. package/lib/resources/adyen_payments.js +2 -2
  587. package/lib/resources/applications.cjs +3 -3
  588. package/lib/resources/applications.d.cts +2 -2
  589. package/lib/resources/applications.d.ts +1 -1
  590. package/lib/resources/applications.js +2 -2
  591. package/lib/resources/attachments.cjs +3 -3
  592. package/lib/resources/attachments.d.cts +2 -2
  593. package/lib/resources/attachments.d.ts +1 -1
  594. package/lib/resources/attachments.js +2 -2
  595. package/lib/resources/authorizations.cjs +3 -3
  596. package/lib/resources/authorizations.d.cts +2 -2
  597. package/lib/resources/authorizations.d.ts +1 -1
  598. package/lib/resources/authorizations.js +2 -2
  599. package/lib/resources/avalara_accounts.cjs +3 -3
  600. package/lib/resources/avalara_accounts.d.cts +2 -2
  601. package/lib/resources/avalara_accounts.d.ts +1 -1
  602. package/lib/resources/avalara_accounts.js +2 -2
  603. package/lib/resources/axerve_gateways.cjs +3 -3
  604. package/lib/resources/axerve_gateways.d.cts +2 -2
  605. package/lib/resources/axerve_gateways.d.ts +1 -1
  606. package/lib/resources/axerve_gateways.js +2 -2
  607. package/lib/resources/axerve_payments.cjs +3 -3
  608. package/lib/resources/axerve_payments.d.cts +2 -2
  609. package/lib/resources/axerve_payments.d.ts +1 -1
  610. package/lib/resources/axerve_payments.js +2 -2
  611. package/lib/resources/bing_geocoders.cjs +3 -3
  612. package/lib/resources/bing_geocoders.d.cts +2 -2
  613. package/lib/resources/bing_geocoders.d.ts +1 -1
  614. package/lib/resources/bing_geocoders.js +2 -2
  615. package/lib/resources/braintree_gateways.cjs +3 -3
  616. package/lib/resources/braintree_gateways.d.cts +2 -2
  617. package/lib/resources/braintree_gateways.d.ts +1 -1
  618. package/lib/resources/braintree_gateways.js +2 -2
  619. package/lib/resources/braintree_payments.cjs +3 -3
  620. package/lib/resources/braintree_payments.d.cts +2 -2
  621. package/lib/resources/braintree_payments.d.ts +1 -1
  622. package/lib/resources/braintree_payments.js +2 -2
  623. package/lib/resources/bundles.cjs +3 -3
  624. package/lib/resources/bundles.d.cts +2 -2
  625. package/lib/resources/bundles.d.ts +1 -1
  626. package/lib/resources/bundles.js +2 -2
  627. package/lib/resources/buy_x_pay_y_promotions.cjs +3 -3
  628. package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
  629. package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
  630. package/lib/resources/buy_x_pay_y_promotions.js +2 -2
  631. package/lib/resources/captures.cjs +3 -3
  632. package/lib/resources/captures.d.cts +2 -2
  633. package/lib/resources/captures.d.ts +1 -1
  634. package/lib/resources/captures.js +2 -2
  635. package/lib/resources/carrier_accounts.cjs +3 -3
  636. package/lib/resources/carrier_accounts.d.cts +2 -2
  637. package/lib/resources/carrier_accounts.d.ts +1 -1
  638. package/lib/resources/carrier_accounts.js +2 -2
  639. package/lib/resources/checkout_com_gateways.cjs +3 -3
  640. package/lib/resources/checkout_com_gateways.d.cts +2 -2
  641. package/lib/resources/checkout_com_gateways.d.ts +1 -1
  642. package/lib/resources/checkout_com_gateways.js +2 -2
  643. package/lib/resources/checkout_com_payments.cjs +3 -3
  644. package/lib/resources/checkout_com_payments.d.cts +2 -2
  645. package/lib/resources/checkout_com_payments.d.ts +1 -1
  646. package/lib/resources/checkout_com_payments.js +2 -2
  647. package/lib/resources/cleanups.cjs +3 -3
  648. package/lib/resources/cleanups.d.cts +2 -2
  649. package/lib/resources/cleanups.d.ts +1 -1
  650. package/lib/resources/cleanups.js +2 -2
  651. package/lib/resources/coupon_codes_promotion_rules.cjs +3 -3
  652. package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
  653. package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
  654. package/lib/resources/coupon_codes_promotion_rules.js +2 -2
  655. package/lib/resources/coupon_recipients.cjs +3 -3
  656. package/lib/resources/coupon_recipients.d.cts +2 -2
  657. package/lib/resources/coupon_recipients.d.ts +1 -1
  658. package/lib/resources/coupon_recipients.js +2 -2
  659. package/lib/resources/coupons.cjs +3 -3
  660. package/lib/resources/coupons.d.cts +2 -2
  661. package/lib/resources/coupons.d.ts +1 -1
  662. package/lib/resources/coupons.js +2 -2
  663. package/lib/resources/custom_promotion_rules.cjs +3 -3
  664. package/lib/resources/custom_promotion_rules.d.cts +2 -2
  665. package/lib/resources/custom_promotion_rules.d.ts +1 -1
  666. package/lib/resources/custom_promotion_rules.js +2 -2
  667. package/lib/resources/customer_addresses.cjs +3 -3
  668. package/lib/resources/customer_addresses.d.cts +2 -2
  669. package/lib/resources/customer_addresses.d.ts +1 -1
  670. package/lib/resources/customer_addresses.js +2 -2
  671. package/lib/resources/customer_groups.cjs +3 -3
  672. package/lib/resources/customer_groups.d.cts +2 -2
  673. package/lib/resources/customer_groups.d.ts +1 -1
  674. package/lib/resources/customer_groups.js +2 -2
  675. package/lib/resources/customer_password_resets.cjs +3 -3
  676. package/lib/resources/customer_password_resets.d.cts +2 -2
  677. package/lib/resources/customer_password_resets.d.ts +1 -1
  678. package/lib/resources/customer_password_resets.js +2 -2
  679. package/lib/resources/customer_payment_sources.cjs +3 -3
  680. package/lib/resources/customer_payment_sources.d.cts +2 -2
  681. package/lib/resources/customer_payment_sources.d.ts +1 -1
  682. package/lib/resources/customer_payment_sources.js +2 -2
  683. package/lib/resources/customer_subscriptions.cjs +3 -3
  684. package/lib/resources/customer_subscriptions.d.cts +2 -2
  685. package/lib/resources/customer_subscriptions.d.ts +1 -1
  686. package/lib/resources/customer_subscriptions.js +2 -2
  687. package/lib/resources/customers.cjs +3 -3
  688. package/lib/resources/customers.d.cts +2 -2
  689. package/lib/resources/customers.d.ts +1 -1
  690. package/lib/resources/customers.js +2 -2
  691. package/lib/resources/delivery_lead_times.cjs +3 -3
  692. package/lib/resources/delivery_lead_times.d.cts +2 -2
  693. package/lib/resources/delivery_lead_times.d.ts +1 -1
  694. package/lib/resources/delivery_lead_times.js +2 -2
  695. package/lib/resources/discount_engine_items.cjs +3 -3
  696. package/lib/resources/discount_engine_items.d.cts +2 -2
  697. package/lib/resources/discount_engine_items.d.ts +1 -1
  698. package/lib/resources/discount_engine_items.js +2 -2
  699. package/lib/resources/discount_engines.cjs +3 -3
  700. package/lib/resources/discount_engines.d.cts +2 -2
  701. package/lib/resources/discount_engines.d.ts +1 -1
  702. package/lib/resources/discount_engines.js +2 -2
  703. package/lib/resources/easypost_pickups.cjs +3 -3
  704. package/lib/resources/easypost_pickups.d.cts +2 -2
  705. package/lib/resources/easypost_pickups.d.ts +1 -1
  706. package/lib/resources/easypost_pickups.js +2 -2
  707. package/lib/resources/event_callbacks.cjs +3 -3
  708. package/lib/resources/event_callbacks.d.cts +2 -2
  709. package/lib/resources/event_callbacks.d.ts +1 -1
  710. package/lib/resources/event_callbacks.js +2 -2
  711. package/lib/resources/event_stores.cjs +3 -3
  712. package/lib/resources/event_stores.d.cts +2 -2
  713. package/lib/resources/event_stores.d.ts +1 -1
  714. package/lib/resources/event_stores.js +2 -2
  715. package/lib/resources/events.cjs +3 -3
  716. package/lib/resources/events.d.cts +2 -2
  717. package/lib/resources/events.d.ts +1 -1
  718. package/lib/resources/events.js +2 -2
  719. package/lib/resources/exports.cjs +3 -3
  720. package/lib/resources/exports.d.cts +2 -2
  721. package/lib/resources/exports.d.ts +1 -1
  722. package/lib/resources/exports.js +2 -2
  723. package/lib/resources/external_gateways.cjs +3 -3
  724. package/lib/resources/external_gateways.d.cts +2 -2
  725. package/lib/resources/external_gateways.d.ts +1 -1
  726. package/lib/resources/external_gateways.js +2 -2
  727. package/lib/resources/external_payments.cjs +3 -3
  728. package/lib/resources/external_payments.d.cts +2 -2
  729. package/lib/resources/external_payments.d.ts +1 -1
  730. package/lib/resources/external_payments.js +2 -2
  731. package/lib/resources/external_promotions.cjs +3 -3
  732. package/lib/resources/external_promotions.d.cts +2 -2
  733. package/lib/resources/external_promotions.d.ts +1 -1
  734. package/lib/resources/external_promotions.js +2 -2
  735. package/lib/resources/external_tax_calculators.cjs +3 -3
  736. package/lib/resources/external_tax_calculators.d.cts +2 -2
  737. package/lib/resources/external_tax_calculators.d.ts +1 -1
  738. package/lib/resources/external_tax_calculators.js +2 -2
  739. package/lib/resources/fixed_amount_promotions.cjs +3 -3
  740. package/lib/resources/fixed_amount_promotions.d.cts +2 -2
  741. package/lib/resources/fixed_amount_promotions.d.ts +1 -1
  742. package/lib/resources/fixed_amount_promotions.js +2 -2
  743. package/lib/resources/fixed_price_promotions.cjs +3 -3
  744. package/lib/resources/fixed_price_promotions.d.cts +2 -2
  745. package/lib/resources/fixed_price_promotions.d.ts +1 -1
  746. package/lib/resources/fixed_price_promotions.js +2 -2
  747. package/lib/resources/flex_promotions.cjs +3 -3
  748. package/lib/resources/flex_promotions.d.cts +2 -2
  749. package/lib/resources/flex_promotions.d.ts +1 -1
  750. package/lib/resources/flex_promotions.js +2 -2
  751. package/lib/resources/free_gift_promotions.cjs +3 -3
  752. package/lib/resources/free_gift_promotions.d.cts +2 -2
  753. package/lib/resources/free_gift_promotions.d.ts +1 -1
  754. package/lib/resources/free_gift_promotions.js +2 -2
  755. package/lib/resources/free_shipping_promotions.cjs +3 -3
  756. package/lib/resources/free_shipping_promotions.d.cts +2 -2
  757. package/lib/resources/free_shipping_promotions.d.ts +1 -1
  758. package/lib/resources/free_shipping_promotions.js +2 -2
  759. package/lib/resources/geocoders.cjs +3 -3
  760. package/lib/resources/geocoders.d.cts +2 -2
  761. package/lib/resources/geocoders.d.ts +1 -1
  762. package/lib/resources/geocoders.js +2 -2
  763. package/lib/resources/gift_card_recipients.cjs +3 -3
  764. package/lib/resources/gift_card_recipients.d.cts +2 -2
  765. package/lib/resources/gift_card_recipients.d.ts +1 -1
  766. package/lib/resources/gift_card_recipients.js +2 -2
  767. package/lib/resources/gift_cards.cjs +3 -3
  768. package/lib/resources/gift_cards.d.cts +2 -2
  769. package/lib/resources/gift_cards.d.ts +1 -1
  770. package/lib/resources/gift_cards.js +2 -2
  771. package/lib/resources/google_geocoders.cjs +3 -3
  772. package/lib/resources/google_geocoders.d.cts +2 -2
  773. package/lib/resources/google_geocoders.d.ts +1 -1
  774. package/lib/resources/google_geocoders.js +2 -2
  775. package/lib/resources/imports.cjs +3 -3
  776. package/lib/resources/imports.d.cts +2 -2
  777. package/lib/resources/imports.d.ts +1 -1
  778. package/lib/resources/imports.js +2 -2
  779. package/lib/resources/in_stock_subscriptions.cjs +3 -3
  780. package/lib/resources/in_stock_subscriptions.d.cts +2 -2
  781. package/lib/resources/in_stock_subscriptions.d.ts +1 -1
  782. package/lib/resources/in_stock_subscriptions.js +2 -2
  783. package/lib/resources/inventory_models.cjs +3 -3
  784. package/lib/resources/inventory_models.d.cts +2 -2
  785. package/lib/resources/inventory_models.d.ts +1 -1
  786. package/lib/resources/inventory_models.js +2 -2
  787. package/lib/resources/inventory_return_locations.cjs +3 -3
  788. package/lib/resources/inventory_return_locations.d.cts +2 -2
  789. package/lib/resources/inventory_return_locations.d.ts +1 -1
  790. package/lib/resources/inventory_return_locations.js +2 -2
  791. package/lib/resources/inventory_stock_locations.cjs +3 -3
  792. package/lib/resources/inventory_stock_locations.d.cts +2 -2
  793. package/lib/resources/inventory_stock_locations.d.ts +1 -1
  794. package/lib/resources/inventory_stock_locations.js +2 -2
  795. package/lib/resources/klarna_gateways.cjs +3 -3
  796. package/lib/resources/klarna_gateways.d.cts +2 -2
  797. package/lib/resources/klarna_gateways.d.ts +1 -1
  798. package/lib/resources/klarna_gateways.js +2 -2
  799. package/lib/resources/klarna_payments.cjs +3 -3
  800. package/lib/resources/klarna_payments.d.cts +2 -2
  801. package/lib/resources/klarna_payments.d.ts +1 -1
  802. package/lib/resources/klarna_payments.js +2 -2
  803. package/lib/resources/line_item_options.cjs +3 -3
  804. package/lib/resources/line_item_options.d.cts +2 -2
  805. package/lib/resources/line_item_options.d.ts +1 -1
  806. package/lib/resources/line_item_options.js +2 -2
  807. package/lib/resources/line_items.cjs +3 -3
  808. package/lib/resources/line_items.d.cts +2 -2
  809. package/lib/resources/line_items.d.ts +1 -1
  810. package/lib/resources/line_items.js +2 -2
  811. package/lib/resources/links.cjs +3 -3
  812. package/lib/resources/links.d.cts +2 -2
  813. package/lib/resources/links.d.ts +1 -1
  814. package/lib/resources/links.js +2 -2
  815. package/lib/resources/manual_gateways.cjs +3 -3
  816. package/lib/resources/manual_gateways.d.cts +2 -2
  817. package/lib/resources/manual_gateways.d.ts +1 -1
  818. package/lib/resources/manual_gateways.js +2 -2
  819. package/lib/resources/manual_tax_calculators.cjs +3 -3
  820. package/lib/resources/manual_tax_calculators.d.cts +2 -2
  821. package/lib/resources/manual_tax_calculators.d.ts +1 -1
  822. package/lib/resources/manual_tax_calculators.js +2 -2
  823. package/lib/resources/markets.cjs +3 -3
  824. package/lib/resources/markets.d.cts +2 -2
  825. package/lib/resources/markets.d.ts +1 -1
  826. package/lib/resources/markets.js +2 -2
  827. package/lib/resources/merchants.cjs +3 -3
  828. package/lib/resources/merchants.d.cts +2 -2
  829. package/lib/resources/merchants.d.ts +1 -1
  830. package/lib/resources/merchants.js +2 -2
  831. package/lib/resources/notifications.cjs +3 -3
  832. package/lib/resources/notifications.d.cts +2 -2
  833. package/lib/resources/notifications.d.ts +1 -1
  834. package/lib/resources/notifications.js +2 -2
  835. package/lib/resources/order_amount_promotion_rules.cjs +3 -3
  836. package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
  837. package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
  838. package/lib/resources/order_amount_promotion_rules.js +2 -2
  839. package/lib/resources/order_copies.cjs +3 -3
  840. package/lib/resources/order_copies.d.cts +2 -2
  841. package/lib/resources/order_copies.d.ts +1 -1
  842. package/lib/resources/order_copies.js +2 -2
  843. package/lib/resources/order_factories.cjs +3 -3
  844. package/lib/resources/order_factories.d.cts +2 -2
  845. package/lib/resources/order_factories.d.ts +1 -1
  846. package/lib/resources/order_factories.js +2 -2
  847. package/lib/resources/order_subscription_items.cjs +3 -3
  848. package/lib/resources/order_subscription_items.d.cts +2 -2
  849. package/lib/resources/order_subscription_items.d.ts +1 -1
  850. package/lib/resources/order_subscription_items.js +2 -2
  851. package/lib/resources/order_subscriptions.cjs +3 -3
  852. package/lib/resources/order_subscriptions.d.cts +2 -2
  853. package/lib/resources/order_subscriptions.d.ts +1 -1
  854. package/lib/resources/order_subscriptions.js +2 -2
  855. package/lib/resources/orders.cjs +3 -3
  856. package/lib/resources/orders.d.cts +2 -2
  857. package/lib/resources/orders.d.ts +1 -1
  858. package/lib/resources/orders.js +2 -2
  859. package/lib/resources/organizations.cjs +3 -3
  860. package/lib/resources/organizations.d.cts +2 -2
  861. package/lib/resources/organizations.d.ts +1 -1
  862. package/lib/resources/organizations.js +2 -2
  863. package/lib/resources/packages.cjs +3 -3
  864. package/lib/resources/packages.d.cts +2 -2
  865. package/lib/resources/packages.d.ts +1 -1
  866. package/lib/resources/packages.js +2 -2
  867. package/lib/resources/parcel_line_items.cjs +3 -3
  868. package/lib/resources/parcel_line_items.d.cts +2 -2
  869. package/lib/resources/parcel_line_items.d.ts +1 -1
  870. package/lib/resources/parcel_line_items.js +2 -2
  871. package/lib/resources/parcels.cjs +3 -3
  872. package/lib/resources/parcels.d.cts +2 -2
  873. package/lib/resources/parcels.d.ts +1 -1
  874. package/lib/resources/parcels.js +2 -2
  875. package/lib/resources/payment_gateways.cjs +3 -3
  876. package/lib/resources/payment_gateways.d.cts +2 -2
  877. package/lib/resources/payment_gateways.d.ts +1 -1
  878. package/lib/resources/payment_gateways.js +2 -2
  879. package/lib/resources/payment_methods.cjs +3 -3
  880. package/lib/resources/payment_methods.d.cts +2 -2
  881. package/lib/resources/payment_methods.d.ts +1 -1
  882. package/lib/resources/payment_methods.js +2 -2
  883. package/lib/resources/payment_options.cjs +3 -3
  884. package/lib/resources/payment_options.d.cts +2 -2
  885. package/lib/resources/payment_options.d.ts +1 -1
  886. package/lib/resources/payment_options.js +2 -2
  887. package/lib/resources/paypal_gateways.cjs +3 -3
  888. package/lib/resources/paypal_gateways.d.cts +2 -2
  889. package/lib/resources/paypal_gateways.d.ts +1 -1
  890. package/lib/resources/paypal_gateways.js +2 -2
  891. package/lib/resources/paypal_payments.cjs +3 -3
  892. package/lib/resources/paypal_payments.d.cts +2 -2
  893. package/lib/resources/paypal_payments.d.ts +1 -1
  894. package/lib/resources/paypal_payments.js +2 -2
  895. package/lib/resources/percentage_discount_promotions.cjs +3 -3
  896. package/lib/resources/percentage_discount_promotions.d.cts +2 -2
  897. package/lib/resources/percentage_discount_promotions.d.ts +1 -1
  898. package/lib/resources/percentage_discount_promotions.js +2 -2
  899. package/lib/resources/pickups.cjs +3 -3
  900. package/lib/resources/pickups.d.cts +2 -2
  901. package/lib/resources/pickups.d.ts +1 -1
  902. package/lib/resources/pickups.js +2 -2
  903. package/lib/resources/price_frequency_tiers.cjs +3 -3
  904. package/lib/resources/price_frequency_tiers.d.cts +2 -2
  905. package/lib/resources/price_frequency_tiers.d.ts +1 -1
  906. package/lib/resources/price_frequency_tiers.js +2 -2
  907. package/lib/resources/price_list_schedulers.cjs +3 -3
  908. package/lib/resources/price_list_schedulers.d.cts +2 -2
  909. package/lib/resources/price_list_schedulers.d.ts +1 -1
  910. package/lib/resources/price_list_schedulers.js +2 -2
  911. package/lib/resources/price_lists.cjs +3 -3
  912. package/lib/resources/price_lists.d.cts +2 -2
  913. package/lib/resources/price_lists.d.ts +1 -1
  914. package/lib/resources/price_lists.js +2 -2
  915. package/lib/resources/price_tiers.cjs +3 -3
  916. package/lib/resources/price_tiers.d.cts +2 -2
  917. package/lib/resources/price_tiers.d.ts +1 -1
  918. package/lib/resources/price_tiers.js +2 -2
  919. package/lib/resources/price_volume_tiers.cjs +3 -3
  920. package/lib/resources/price_volume_tiers.d.cts +2 -2
  921. package/lib/resources/price_volume_tiers.d.ts +1 -1
  922. package/lib/resources/price_volume_tiers.js +2 -2
  923. package/lib/resources/prices.cjs +3 -3
  924. package/lib/resources/prices.d.cts +2 -2
  925. package/lib/resources/prices.d.ts +1 -1
  926. package/lib/resources/prices.js +2 -2
  927. package/lib/resources/promotion_rules.cjs +3 -3
  928. package/lib/resources/promotion_rules.d.cts +2 -2
  929. package/lib/resources/promotion_rules.d.ts +1 -1
  930. package/lib/resources/promotion_rules.js +2 -2
  931. package/lib/resources/promotions.cjs +3 -3
  932. package/lib/resources/promotions.d.cts +2 -2
  933. package/lib/resources/promotions.d.ts +1 -1
  934. package/lib/resources/promotions.js +2 -2
  935. package/lib/resources/recurring_order_copies.cjs +3 -3
  936. package/lib/resources/recurring_order_copies.d.cts +2 -2
  937. package/lib/resources/recurring_order_copies.d.ts +1 -1
  938. package/lib/resources/recurring_order_copies.js +2 -2
  939. package/lib/resources/refunds.cjs +3 -3
  940. package/lib/resources/refunds.d.cts +2 -2
  941. package/lib/resources/refunds.d.ts +1 -1
  942. package/lib/resources/refunds.js +2 -2
  943. package/lib/resources/reserved_stocks.cjs +3 -3
  944. package/lib/resources/reserved_stocks.d.cts +2 -2
  945. package/lib/resources/reserved_stocks.d.ts +1 -1
  946. package/lib/resources/reserved_stocks.js +2 -2
  947. package/lib/resources/resource_errors.cjs +3 -3
  948. package/lib/resources/resource_errors.d.cts +2 -2
  949. package/lib/resources/resource_errors.d.ts +1 -1
  950. package/lib/resources/resource_errors.js +2 -2
  951. package/lib/resources/return_line_items.cjs +3 -3
  952. package/lib/resources/return_line_items.d.cts +2 -2
  953. package/lib/resources/return_line_items.d.ts +1 -1
  954. package/lib/resources/return_line_items.js +2 -2
  955. package/lib/resources/returns.cjs +3 -3
  956. package/lib/resources/returns.d.cts +2 -2
  957. package/lib/resources/returns.d.ts +1 -1
  958. package/lib/resources/returns.js +2 -2
  959. package/lib/resources/satispay_gateways.cjs +3 -3
  960. package/lib/resources/satispay_gateways.d.cts +2 -2
  961. package/lib/resources/satispay_gateways.d.ts +1 -1
  962. package/lib/resources/satispay_gateways.js +2 -2
  963. package/lib/resources/satispay_payments.cjs +3 -3
  964. package/lib/resources/satispay_payments.d.cts +2 -2
  965. package/lib/resources/satispay_payments.d.ts +1 -1
  966. package/lib/resources/satispay_payments.js +2 -2
  967. package/lib/resources/shipments.cjs +3 -3
  968. package/lib/resources/shipments.d.cts +2 -2
  969. package/lib/resources/shipments.d.ts +1 -1
  970. package/lib/resources/shipments.js +2 -2
  971. package/lib/resources/shipping_categories.cjs +3 -3
  972. package/lib/resources/shipping_categories.d.cts +2 -2
  973. package/lib/resources/shipping_categories.d.ts +1 -1
  974. package/lib/resources/shipping_categories.js +2 -2
  975. package/lib/resources/shipping_method_tiers.cjs +3 -3
  976. package/lib/resources/shipping_method_tiers.d.cts +2 -2
  977. package/lib/resources/shipping_method_tiers.d.ts +1 -1
  978. package/lib/resources/shipping_method_tiers.js +2 -2
  979. package/lib/resources/shipping_methods.cjs +3 -3
  980. package/lib/resources/shipping_methods.d.cts +2 -2
  981. package/lib/resources/shipping_methods.d.ts +1 -1
  982. package/lib/resources/shipping_methods.js +2 -2
  983. package/lib/resources/shipping_weight_tiers.cjs +3 -3
  984. package/lib/resources/shipping_weight_tiers.d.cts +2 -2
  985. package/lib/resources/shipping_weight_tiers.d.ts +1 -1
  986. package/lib/resources/shipping_weight_tiers.js +2 -2
  987. package/lib/resources/shipping_zones.cjs +3 -3
  988. package/lib/resources/shipping_zones.d.cts +2 -2
  989. package/lib/resources/shipping_zones.d.ts +1 -1
  990. package/lib/resources/shipping_zones.js +2 -2
  991. package/lib/resources/sku_list_items.cjs +3 -3
  992. package/lib/resources/sku_list_items.d.cts +2 -2
  993. package/lib/resources/sku_list_items.d.ts +1 -1
  994. package/lib/resources/sku_list_items.js +2 -2
  995. package/lib/resources/sku_list_promotion_rules.cjs +3 -3
  996. package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
  997. package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
  998. package/lib/resources/sku_list_promotion_rules.js +2 -2
  999. package/lib/resources/sku_lists.cjs +3 -3
  1000. package/lib/resources/sku_lists.d.cts +2 -2
  1001. package/lib/resources/sku_lists.d.ts +1 -1
  1002. package/lib/resources/sku_lists.js +2 -2
  1003. package/lib/resources/sku_options.cjs +3 -3
  1004. package/lib/resources/sku_options.d.cts +2 -2
  1005. package/lib/resources/sku_options.d.ts +1 -1
  1006. package/lib/resources/sku_options.js +2 -2
  1007. package/lib/resources/skus.cjs +3 -3
  1008. package/lib/resources/skus.d.cts +2 -2
  1009. package/lib/resources/skus.d.ts +1 -1
  1010. package/lib/resources/skus.js +2 -2
  1011. package/lib/resources/stock_items.cjs +3 -3
  1012. package/lib/resources/stock_items.d.cts +2 -2
  1013. package/lib/resources/stock_items.d.ts +1 -1
  1014. package/lib/resources/stock_items.js +2 -2
  1015. package/lib/resources/stock_line_items.cjs +3 -3
  1016. package/lib/resources/stock_line_items.d.cts +2 -2
  1017. package/lib/resources/stock_line_items.d.ts +1 -1
  1018. package/lib/resources/stock_line_items.js +2 -2
  1019. package/lib/resources/stock_locations.cjs +3 -3
  1020. package/lib/resources/stock_locations.d.cts +2 -2
  1021. package/lib/resources/stock_locations.d.ts +1 -1
  1022. package/lib/resources/stock_locations.js +2 -2
  1023. package/lib/resources/stock_reservations.cjs +3 -3
  1024. package/lib/resources/stock_reservations.d.cts +2 -2
  1025. package/lib/resources/stock_reservations.d.ts +1 -1
  1026. package/lib/resources/stock_reservations.js +2 -2
  1027. package/lib/resources/stock_transfers.cjs +3 -3
  1028. package/lib/resources/stock_transfers.d.cts +2 -2
  1029. package/lib/resources/stock_transfers.d.ts +1 -1
  1030. package/lib/resources/stock_transfers.js +2 -2
  1031. package/lib/resources/stores.cjs +3 -3
  1032. package/lib/resources/stores.d.cts +2 -2
  1033. package/lib/resources/stores.d.ts +1 -1
  1034. package/lib/resources/stores.js +2 -2
  1035. package/lib/resources/stripe_gateways.cjs +3 -3
  1036. package/lib/resources/stripe_gateways.d.cts +2 -2
  1037. package/lib/resources/stripe_gateways.d.ts +1 -1
  1038. package/lib/resources/stripe_gateways.js +2 -2
  1039. package/lib/resources/stripe_payments.cjs +3 -3
  1040. package/lib/resources/stripe_payments.d.cts +2 -2
  1041. package/lib/resources/stripe_payments.d.ts +1 -1
  1042. package/lib/resources/stripe_payments.js +2 -2
  1043. package/lib/resources/stripe_tax_accounts.cjs +3 -3
  1044. package/lib/resources/stripe_tax_accounts.d.cts +2 -2
  1045. package/lib/resources/stripe_tax_accounts.d.ts +1 -1
  1046. package/lib/resources/stripe_tax_accounts.js +2 -2
  1047. package/lib/resources/subscription_models.cjs +3 -3
  1048. package/lib/resources/subscription_models.d.cts +2 -2
  1049. package/lib/resources/subscription_models.d.ts +1 -1
  1050. package/lib/resources/subscription_models.js +2 -2
  1051. package/lib/resources/tags.cjs +3 -3
  1052. package/lib/resources/tags.d.cts +2 -2
  1053. package/lib/resources/tags.d.ts +1 -1
  1054. package/lib/resources/tags.js +2 -2
  1055. package/lib/resources/talon_one_accounts.cjs +3 -3
  1056. package/lib/resources/talon_one_accounts.d.cts +2 -2
  1057. package/lib/resources/talon_one_accounts.d.ts +1 -1
  1058. package/lib/resources/talon_one_accounts.js +2 -2
  1059. package/lib/resources/tax_calculators.cjs +3 -3
  1060. package/lib/resources/tax_calculators.d.cts +2 -2
  1061. package/lib/resources/tax_calculators.d.ts +1 -1
  1062. package/lib/resources/tax_calculators.js +2 -2
  1063. package/lib/resources/tax_categories.cjs +3 -3
  1064. package/lib/resources/tax_categories.d.cts +2 -2
  1065. package/lib/resources/tax_categories.d.ts +1 -1
  1066. package/lib/resources/tax_categories.js +2 -2
  1067. package/lib/resources/tax_rules.cjs +3 -3
  1068. package/lib/resources/tax_rules.d.cts +2 -2
  1069. package/lib/resources/tax_rules.d.ts +1 -1
  1070. package/lib/resources/tax_rules.js +2 -2
  1071. package/lib/resources/taxjar_accounts.cjs +3 -3
  1072. package/lib/resources/taxjar_accounts.d.cts +2 -2
  1073. package/lib/resources/taxjar_accounts.d.ts +1 -1
  1074. package/lib/resources/taxjar_accounts.js +2 -2
  1075. package/lib/resources/transactions.cjs +3 -3
  1076. package/lib/resources/transactions.d.cts +2 -2
  1077. package/lib/resources/transactions.d.ts +1 -1
  1078. package/lib/resources/transactions.js +2 -2
  1079. package/lib/resources/vertex_accounts.cjs +3 -3
  1080. package/lib/resources/vertex_accounts.d.cts +2 -2
  1081. package/lib/resources/vertex_accounts.d.ts +1 -1
  1082. package/lib/resources/vertex_accounts.js +2 -2
  1083. package/lib/resources/voids.cjs +3 -3
  1084. package/lib/resources/voids.d.cts +2 -2
  1085. package/lib/resources/voids.d.ts +1 -1
  1086. package/lib/resources/voids.js +2 -2
  1087. package/lib/resources/webhooks.cjs +3 -3
  1088. package/lib/resources/webhooks.d.cts +2 -2
  1089. package/lib/resources/webhooks.d.ts +1 -1
  1090. package/lib/resources/webhooks.js +2 -2
  1091. package/lib/resources/wire_transfers.cjs +3 -3
  1092. package/lib/resources/wire_transfers.d.cts +2 -2
  1093. package/lib/resources/wire_transfers.d.ts +1 -1
  1094. package/lib/resources/wire_transfers.js +2 -2
  1095. package/lib/static.cjs +4 -4
  1096. package/lib/static.d.cts +1 -1
  1097. package/lib/static.d.ts +1 -1
  1098. package/lib/static.js +3 -3
  1099. package/package.json +8 -8
  1100. package/lib/api-CiWKv2Ad.d.ts +0 -18181
  1101. package/lib/api-DhbS8TfO.d.cts +0 -18181
  1102. package/lib/chunk-225RCDGU.cjs +0 -53
  1103. package/lib/chunk-225RCDGU.cjs.map +0 -1
  1104. package/lib/chunk-2GZROWFO.js +0 -41
  1105. package/lib/chunk-2GZROWFO.js.map +0 -1
  1106. package/lib/chunk-2LZNXUFY.js +0 -55
  1107. package/lib/chunk-2LZNXUFY.js.map +0 -1
  1108. package/lib/chunk-2MSMUHNG.js +0 -66
  1109. package/lib/chunk-2MSMUHNG.js.map +0 -1
  1110. package/lib/chunk-2RW3IPYK.js +0 -60
  1111. package/lib/chunk-2RW3IPYK.js.map +0 -1
  1112. package/lib/chunk-2SAZMGAW.cjs +0 -50
  1113. package/lib/chunk-2SAZMGAW.cjs.map +0 -1
  1114. package/lib/chunk-2V4MFNM5.js +0 -41
  1115. package/lib/chunk-2V4MFNM5.js.map +0 -1
  1116. package/lib/chunk-2YJ4ST4G.cjs +0 -42
  1117. package/lib/chunk-2YJ4ST4G.cjs.map +0 -1
  1118. package/lib/chunk-33UBXTQO.cjs +0 -77
  1119. package/lib/chunk-33UBXTQO.cjs.map +0 -1
  1120. package/lib/chunk-3BDF64VW.js +0 -73
  1121. package/lib/chunk-3BDF64VW.js.map +0 -1
  1122. package/lib/chunk-3IMSCYIC.js +0 -41
  1123. package/lib/chunk-3IMSCYIC.js.map +0 -1
  1124. package/lib/chunk-3JVNXYTI.js +0 -124
  1125. package/lib/chunk-3JVNXYTI.js.map +0 -1
  1126. package/lib/chunk-3NOES4EX.js +0 -49
  1127. package/lib/chunk-3NOES4EX.js.map +0 -1
  1128. package/lib/chunk-3QCIWYSW.cjs +0 -51
  1129. package/lib/chunk-3QCIWYSW.cjs.map +0 -1
  1130. package/lib/chunk-3W33J36Z.js +0 -49
  1131. package/lib/chunk-3W33J36Z.js.map +0 -1
  1132. package/lib/chunk-3WTTRPSK.js +0 -69
  1133. package/lib/chunk-3WTTRPSK.js.map +0 -1
  1134. package/lib/chunk-3ZZ6KGDB.cjs +0 -47
  1135. package/lib/chunk-3ZZ6KGDB.cjs.map +0 -1
  1136. package/lib/chunk-42Y23CRY.cjs +0 -51
  1137. package/lib/chunk-42Y23CRY.cjs.map +0 -1
  1138. package/lib/chunk-4AZXDT2V.cjs +0 -47
  1139. package/lib/chunk-4AZXDT2V.cjs.map +0 -1
  1140. package/lib/chunk-4DUH2RXG.js +0 -37
  1141. package/lib/chunk-4DUH2RXG.js.map +0 -1
  1142. package/lib/chunk-4ESM2OUZ.cjs +0 -50
  1143. package/lib/chunk-4ESM2OUZ.cjs.map +0 -1
  1144. package/lib/chunk-4IFBXO5W.js +0 -55
  1145. package/lib/chunk-4IFBXO5W.js.map +0 -1
  1146. package/lib/chunk-4J2ISS7L.cjs +0 -105
  1147. package/lib/chunk-4J2ISS7L.cjs.map +0 -1
  1148. package/lib/chunk-4JL3Z5QD.cjs +0 -38
  1149. package/lib/chunk-4JL3Z5QD.cjs.map +0 -1
  1150. package/lib/chunk-4PFYUFSO.cjs +0 -39
  1151. package/lib/chunk-4PFYUFSO.cjs.map +0 -1
  1152. package/lib/chunk-4RHF7JN2.js +0 -28
  1153. package/lib/chunk-4RHF7JN2.js.map +0 -1
  1154. package/lib/chunk-52SEULJP.cjs +0 -39
  1155. package/lib/chunk-52SEULJP.cjs.map +0 -1
  1156. package/lib/chunk-55TQRLLK.js +0 -93
  1157. package/lib/chunk-55TQRLLK.js.map +0 -1
  1158. package/lib/chunk-5CTTK5G7.cjs +0 -38
  1159. package/lib/chunk-5CTTK5G7.cjs.map +0 -1
  1160. package/lib/chunk-5HIY5RJQ.cjs +0 -47
  1161. package/lib/chunk-5HIY5RJQ.cjs.map +0 -1
  1162. package/lib/chunk-5RQOHU5P.js +0 -45
  1163. package/lib/chunk-5RQOHU5P.js.map +0 -1
  1164. package/lib/chunk-5S4VIVJT.cjs +0 -54
  1165. package/lib/chunk-5S4VIVJT.cjs.map +0 -1
  1166. package/lib/chunk-5SPLJRDY.js +0 -68
  1167. package/lib/chunk-5SPLJRDY.js.map +0 -1
  1168. package/lib/chunk-5UWLI25I.js +0 -95
  1169. package/lib/chunk-5UWLI25I.js.map +0 -1
  1170. package/lib/chunk-5W4UAUXC.js +0 -283
  1171. package/lib/chunk-5W4UAUXC.js.map +0 -1
  1172. package/lib/chunk-5ZBTQIMD.js +0 -53
  1173. package/lib/chunk-5ZBTQIMD.js.map +0 -1
  1174. package/lib/chunk-62L57UQU.cjs +0 -68
  1175. package/lib/chunk-62L57UQU.cjs.map +0 -1
  1176. package/lib/chunk-62N4SFGW.js +0 -45
  1177. package/lib/chunk-62N4SFGW.js.map +0 -1
  1178. package/lib/chunk-62PWL472.cjs +0 -43
  1179. package/lib/chunk-62PWL472.cjs.map +0 -1
  1180. package/lib/chunk-67DYVCOK.js +0 -45
  1181. package/lib/chunk-67DYVCOK.js.map +0 -1
  1182. package/lib/chunk-6A63W6IB.js +0 -49
  1183. package/lib/chunk-6A63W6IB.js.map +0 -1
  1184. package/lib/chunk-6BI2PL4B.cjs +0 -44
  1185. package/lib/chunk-6BI2PL4B.cjs.map +0 -1
  1186. package/lib/chunk-6H2URCPA.cjs +0 -61
  1187. package/lib/chunk-6H2URCPA.cjs.map +0 -1
  1188. package/lib/chunk-6OJKY6R2.js +0 -91
  1189. package/lib/chunk-6OJKY6R2.js.map +0 -1
  1190. package/lib/chunk-6PB2M2MP.js +0 -37
  1191. package/lib/chunk-6PB2M2MP.js.map +0 -1
  1192. package/lib/chunk-6Q3CIOEF.js +0 -105
  1193. package/lib/chunk-6Q3CIOEF.js.map +0 -1
  1194. package/lib/chunk-6RISOLQJ.js +0 -49
  1195. package/lib/chunk-6RISOLQJ.js.map +0 -1
  1196. package/lib/chunk-6TLH43XL.cjs +0 -30
  1197. package/lib/chunk-6TLH43XL.cjs.map +0 -1
  1198. package/lib/chunk-6ZH7H3BJ.js +0 -61
  1199. package/lib/chunk-6ZH7H3BJ.js.map +0 -1
  1200. package/lib/chunk-7GMW5BUO.cjs +0 -29
  1201. package/lib/chunk-7GMW5BUO.cjs.map +0 -1
  1202. package/lib/chunk-7HY2CVJG.cjs +0 -53
  1203. package/lib/chunk-7HY2CVJG.cjs.map +0 -1
  1204. package/lib/chunk-7IYE2CYM.cjs +0 -39
  1205. package/lib/chunk-7IYE2CYM.cjs.map +0 -1
  1206. package/lib/chunk-7QTFNA3O.js +0 -45
  1207. package/lib/chunk-7QTFNA3O.js.map +0 -1
  1208. package/lib/chunk-7TDUZM36.js +0 -48
  1209. package/lib/chunk-7TDUZM36.js.map +0 -1
  1210. package/lib/chunk-7TN3F3TS.cjs +0 -47
  1211. package/lib/chunk-7TN3F3TS.cjs.map +0 -1
  1212. package/lib/chunk-7XCMIHK2.js +0 -59
  1213. package/lib/chunk-7XCMIHK2.js.map +0 -1
  1214. package/lib/chunk-7XI2G4AH.js +0 -68
  1215. package/lib/chunk-7XI2G4AH.js.map +0 -1
  1216. package/lib/chunk-A6N5NU4Q.cjs +0 -70
  1217. package/lib/chunk-A6N5NU4Q.cjs.map +0 -1
  1218. package/lib/chunk-AANIDX5T.cjs +0 -101
  1219. package/lib/chunk-AANIDX5T.cjs.map +0 -1
  1220. package/lib/chunk-ADVFX6Q4.js +0 -45
  1221. package/lib/chunk-ADVFX6Q4.js.map +0 -1
  1222. package/lib/chunk-AEUJD27H.js +0 -24
  1223. package/lib/chunk-AEUJD27H.js.map +0 -1
  1224. package/lib/chunk-AFTJ3CBC.js +0 -40
  1225. package/lib/chunk-AFTJ3CBC.js.map +0 -1
  1226. package/lib/chunk-AHVQFILB.js +0 -45
  1227. package/lib/chunk-AHVQFILB.js.map +0 -1
  1228. package/lib/chunk-AIRHVW6S.js +0 -49
  1229. package/lib/chunk-AIRHVW6S.js.map +0 -1
  1230. package/lib/chunk-ATLMNH6A.js +0 -49
  1231. package/lib/chunk-ATLMNH6A.js.map +0 -1
  1232. package/lib/chunk-ATVY532N.js +0 -93
  1233. package/lib/chunk-ATVY532N.js.map +0 -1
  1234. package/lib/chunk-AWMC6AUP.js +0 -49
  1235. package/lib/chunk-AWMC6AUP.js.map +0 -1
  1236. package/lib/chunk-AYUBT6TU.js +0 -89
  1237. package/lib/chunk-AYUBT6TU.js.map +0 -1
  1238. package/lib/chunk-BOTOHTVE.cjs +0 -51
  1239. package/lib/chunk-BOTOHTVE.cjs.map +0 -1
  1240. package/lib/chunk-BPAVYFBD.cjs +0 -56
  1241. package/lib/chunk-BPAVYFBD.cjs.map +0 -1
  1242. package/lib/chunk-BPMQD6S6.cjs +0 -42
  1243. package/lib/chunk-BPMQD6S6.cjs.map +0 -1
  1244. package/lib/chunk-BPMSXN65.js +0 -93
  1245. package/lib/chunk-BPMSXN65.js.map +0 -1
  1246. package/lib/chunk-BRL2HVCW.cjs +0 -75
  1247. package/lib/chunk-BRL2HVCW.cjs.map +0 -1
  1248. package/lib/chunk-BSQCD2TW.cjs +0 -95
  1249. package/lib/chunk-BSQCD2TW.cjs.map +0 -1
  1250. package/lib/chunk-BW5ZHHDZ.js +0 -37
  1251. package/lib/chunk-BW5ZHHDZ.js.map +0 -1
  1252. package/lib/chunk-BYE3DAWN.cjs +0 -63
  1253. package/lib/chunk-BYE3DAWN.cjs.map +0 -1
  1254. package/lib/chunk-BZB7R6N6.js +0 -61
  1255. package/lib/chunk-BZB7R6N6.js.map +0 -1
  1256. package/lib/chunk-C3S4LUX5.cjs +0 -51
  1257. package/lib/chunk-C3S4LUX5.cjs.map +0 -1
  1258. package/lib/chunk-C5C3LBW5.js +0 -47
  1259. package/lib/chunk-C5C3LBW5.js.map +0 -1
  1260. package/lib/chunk-CCBBYTAJ.js +0 -93
  1261. package/lib/chunk-CCBBYTAJ.js.map +0 -1
  1262. package/lib/chunk-CHMVP6EF.cjs +0 -47
  1263. package/lib/chunk-CHMVP6EF.cjs.map +0 -1
  1264. package/lib/chunk-CIBRS4EH.cjs +0 -30
  1265. package/lib/chunk-CIBRS4EH.cjs.map +0 -1
  1266. package/lib/chunk-CK4H22TM.js +0 -49
  1267. package/lib/chunk-CK4H22TM.js.map +0 -1
  1268. package/lib/chunk-CO3BTLA4.cjs +0 -47
  1269. package/lib/chunk-CO3BTLA4.cjs.map +0 -1
  1270. package/lib/chunk-CRWGVC3Z.cjs +0 -50
  1271. package/lib/chunk-CRWGVC3Z.cjs.map +0 -1
  1272. package/lib/chunk-CSDHXRCC.cjs +0 -43
  1273. package/lib/chunk-CSDHXRCC.cjs.map +0 -1
  1274. package/lib/chunk-CW5BKX63.js +0 -49
  1275. package/lib/chunk-CW5BKX63.js.map +0 -1
  1276. package/lib/chunk-CXKK7PCG.js +0 -59
  1277. package/lib/chunk-CXKK7PCG.js.map +0 -1
  1278. package/lib/chunk-CXLQBCS4.js +0 -47
  1279. package/lib/chunk-CXLQBCS4.js.map +0 -1
  1280. package/lib/chunk-D23IE5HE.cjs +0 -34
  1281. package/lib/chunk-D23IE5HE.cjs.map +0 -1
  1282. package/lib/chunk-D253IBYC.cjs +0 -285
  1283. package/lib/chunk-D253IBYC.cjs.map +0 -1
  1284. package/lib/chunk-D3IOT5UK.js +0 -54
  1285. package/lib/chunk-D3IOT5UK.js.map +0 -1
  1286. package/lib/chunk-D72VXGOI.js +0 -57
  1287. package/lib/chunk-D72VXGOI.js.map +0 -1
  1288. package/lib/chunk-DALCPLML.cjs +0 -56
  1289. package/lib/chunk-DALCPLML.cjs.map +0 -1
  1290. package/lib/chunk-DCEQF4SO.cjs +0 -49
  1291. package/lib/chunk-DCEQF4SO.cjs.map +0 -1
  1292. package/lib/chunk-DJXJIVYA.js +0 -40
  1293. package/lib/chunk-DJXJIVYA.js.map +0 -1
  1294. package/lib/chunk-DKUADGYA.js +0 -37
  1295. package/lib/chunk-DKUADGYA.js.map +0 -1
  1296. package/lib/chunk-DOSBGZZR.cjs +0 -61
  1297. package/lib/chunk-DOSBGZZR.cjs.map +0 -1
  1298. package/lib/chunk-DSJFQTYA.cjs +0 -55
  1299. package/lib/chunk-DSJFQTYA.cjs.map +0 -1
  1300. package/lib/chunk-DX4A53QM.js +0 -49
  1301. package/lib/chunk-DX4A53QM.js.map +0 -1
  1302. package/lib/chunk-DYSUBTJJ.js +0 -44
  1303. package/lib/chunk-DYSUBTJJ.js.map +0 -1
  1304. package/lib/chunk-E24MPITG.cjs +0 -39
  1305. package/lib/chunk-E24MPITG.cjs.map +0 -1
  1306. package/lib/chunk-E3UAM5IG.js +0 -51
  1307. package/lib/chunk-E3UAM5IG.js.map +0 -1
  1308. package/lib/chunk-E4UQRXQX.js +0 -37
  1309. package/lib/chunk-E4UQRXQX.js.map +0 -1
  1310. package/lib/chunk-EH5M6YWR.cjs +0 -47
  1311. package/lib/chunk-EH5M6YWR.cjs.map +0 -1
  1312. package/lib/chunk-EZMKXDCD.cjs +0 -50
  1313. package/lib/chunk-EZMKXDCD.cjs.map +0 -1
  1314. package/lib/chunk-F2S3T7C7.js +0 -93
  1315. package/lib/chunk-F2S3T7C7.js.map +0 -1
  1316. package/lib/chunk-FHQSNPMZ.js +0 -49
  1317. package/lib/chunk-FHQSNPMZ.js.map +0 -1
  1318. package/lib/chunk-FJL7GQH5.cjs +0 -51
  1319. package/lib/chunk-FJL7GQH5.cjs.map +0 -1
  1320. package/lib/chunk-FLTE7T5O.cjs +0 -51
  1321. package/lib/chunk-FLTE7T5O.cjs.map +0 -1
  1322. package/lib/chunk-FNQRYCRE.js +0 -51
  1323. package/lib/chunk-FNQRYCRE.js.map +0 -1
  1324. package/lib/chunk-FRB2QR5J.js +0 -96
  1325. package/lib/chunk-FRB2QR5J.js.map +0 -1
  1326. package/lib/chunk-FUT3LCHP.cjs +0 -56
  1327. package/lib/chunk-FUT3LCHP.cjs.map +0 -1
  1328. package/lib/chunk-GJ2M5XUU.js +0 -45
  1329. package/lib/chunk-GJ2M5XUU.js.map +0 -1
  1330. package/lib/chunk-GJVFOJKS.cjs +0 -26
  1331. package/lib/chunk-GJVFOJKS.cjs.map +0 -1
  1332. package/lib/chunk-GQWPXVMQ.js +0 -53
  1333. package/lib/chunk-GQWPXVMQ.js.map +0 -1
  1334. package/lib/chunk-GXSSWG6Z.cjs +0 -52
  1335. package/lib/chunk-GXSSWG6Z.cjs.map +0 -1
  1336. package/lib/chunk-GY35DVJ7.cjs +0 -51
  1337. package/lib/chunk-GY35DVJ7.cjs.map +0 -1
  1338. package/lib/chunk-GYWUTAVE.cjs +0 -46
  1339. package/lib/chunk-GYWUTAVE.cjs.map +0 -1
  1340. package/lib/chunk-GZGQSKLF.js +0 -59
  1341. package/lib/chunk-GZGQSKLF.js.map +0 -1
  1342. package/lib/chunk-HJ3RDHVN.cjs +0 -34
  1343. package/lib/chunk-HJ3RDHVN.cjs.map +0 -1
  1344. package/lib/chunk-HJFTJL3E.js +0 -54
  1345. package/lib/chunk-HJFTJL3E.js.map +0 -1
  1346. package/lib/chunk-HJIVGKWG.cjs +0 -46
  1347. package/lib/chunk-HJIVGKWG.cjs.map +0 -1
  1348. package/lib/chunk-HL6MEEU5.js +0 -154
  1349. package/lib/chunk-HL6MEEU5.js.map +0 -1
  1350. package/lib/chunk-HWDD4SMM.js +0 -103
  1351. package/lib/chunk-HWDD4SMM.js.map +0 -1
  1352. package/lib/chunk-HWOQQNX3.cjs +0 -63
  1353. package/lib/chunk-HWOQQNX3.cjs.map +0 -1
  1354. package/lib/chunk-HZIRPRFN.cjs +0 -47
  1355. package/lib/chunk-HZIRPRFN.cjs.map +0 -1
  1356. package/lib/chunk-HZLPTAKA.js +0 -45
  1357. package/lib/chunk-HZLPTAKA.js.map +0 -1
  1358. package/lib/chunk-I4A63K2Q.js +0 -45
  1359. package/lib/chunk-I4A63K2Q.js.map +0 -1
  1360. package/lib/chunk-IHYX6NQH.js +0 -51
  1361. package/lib/chunk-IHYX6NQH.js.map +0 -1
  1362. package/lib/chunk-IP5HITFS.cjs +0 -70
  1363. package/lib/chunk-IP5HITFS.cjs.map +0 -1
  1364. package/lib/chunk-IPS6QJLO.cjs +0 -57
  1365. package/lib/chunk-IPS6QJLO.cjs.map +0 -1
  1366. package/lib/chunk-IRFX6LWG.js +0 -37
  1367. package/lib/chunk-IRFX6LWG.js.map +0 -1
  1368. package/lib/chunk-IYCURPP5.cjs +0 -107
  1369. package/lib/chunk-IYCURPP5.cjs.map +0 -1
  1370. package/lib/chunk-J26HOFAI.cjs +0 -47
  1371. package/lib/chunk-J26HOFAI.cjs.map +0 -1
  1372. package/lib/chunk-JCI5Z3SY.js +0 -59
  1373. package/lib/chunk-JCI5Z3SY.js.map +0 -1
  1374. package/lib/chunk-JF6PN4CF.js +0 -75
  1375. package/lib/chunk-JF6PN4CF.js.map +0 -1
  1376. package/lib/chunk-JGQSZ4FV.cjs +0 -75
  1377. package/lib/chunk-JGQSZ4FV.cjs.map +0 -1
  1378. package/lib/chunk-JO56R3TP.cjs +0 -54
  1379. package/lib/chunk-JO56R3TP.cjs.map +0 -1
  1380. package/lib/chunk-JVEOQPIP.cjs +0 -56
  1381. package/lib/chunk-JVEOQPIP.cjs.map +0 -1
  1382. package/lib/chunk-K6QROUP2.js +0 -45
  1383. package/lib/chunk-K6QROUP2.js.map +0 -1
  1384. package/lib/chunk-KA3ARL4M.cjs +0 -47
  1385. package/lib/chunk-KA3ARL4M.cjs.map +0 -1
  1386. package/lib/chunk-KACVNOCD.cjs +0 -53
  1387. package/lib/chunk-KACVNOCD.cjs.map +0 -1
  1388. package/lib/chunk-KBHOKNEY.cjs +0 -55
  1389. package/lib/chunk-KBHOKNEY.cjs.map +0 -1
  1390. package/lib/chunk-KNAQ4UMU.cjs +0 -51
  1391. package/lib/chunk-KNAQ4UMU.cjs.map +0 -1
  1392. package/lib/chunk-KX2TRARQ.js +0 -54
  1393. package/lib/chunk-KX2TRARQ.js.map +0 -1
  1394. package/lib/chunk-KXU3VOOJ.js +0 -73
  1395. package/lib/chunk-KXU3VOOJ.js.map +0 -1
  1396. package/lib/chunk-LA43RTZ4.js +0 -49
  1397. package/lib/chunk-LA43RTZ4.js.map +0 -1
  1398. package/lib/chunk-LAYXKEVY.js +0 -45
  1399. package/lib/chunk-LAYXKEVY.js.map +0 -1
  1400. package/lib/chunk-LBISZHJS.js +0 -45
  1401. package/lib/chunk-LBISZHJS.js.map +0 -1
  1402. package/lib/chunk-LGIROVQI.js +0 -32
  1403. package/lib/chunk-LGIROVQI.js.map +0 -1
  1404. package/lib/chunk-LL2RPBAA.js +0 -50
  1405. package/lib/chunk-LL2RPBAA.js.map +0 -1
  1406. package/lib/chunk-LL3M46A5.cjs +0 -42
  1407. package/lib/chunk-LL3M46A5.cjs.map +0 -1
  1408. package/lib/chunk-LXLCAD45.js +0 -66
  1409. package/lib/chunk-LXLCAD45.js.map +0 -1
  1410. package/lib/chunk-M5JX4ITG.cjs +0 -59
  1411. package/lib/chunk-M5JX4ITG.cjs.map +0 -1
  1412. package/lib/chunk-M7L2QTCA.cjs +0 -47
  1413. package/lib/chunk-M7L2QTCA.cjs.map +0 -1
  1414. package/lib/chunk-MANWK2IC.cjs +0 -62
  1415. package/lib/chunk-MANWK2IC.cjs.map +0 -1
  1416. package/lib/chunk-MIYTWFUU.js +0 -45
  1417. package/lib/chunk-MIYTWFUU.js.map +0 -1
  1418. package/lib/chunk-MMTE4ANB.cjs +0 -39
  1419. package/lib/chunk-MMTE4ANB.cjs.map +0 -1
  1420. package/lib/chunk-MQZYAWYA.cjs +0 -55
  1421. package/lib/chunk-MQZYAWYA.cjs.map +0 -1
  1422. package/lib/chunk-MSHBNBYN.cjs +0 -47
  1423. package/lib/chunk-MSHBNBYN.cjs.map +0 -1
  1424. package/lib/chunk-MYVVTZRG.cjs +0 -51
  1425. package/lib/chunk-MYVVTZRG.cjs.map +0 -1
  1426. package/lib/chunk-N4VDOIED.cjs +0 -43
  1427. package/lib/chunk-N4VDOIED.cjs.map +0 -1
  1428. package/lib/chunk-NDSFGWQP.cjs +0 -67
  1429. package/lib/chunk-NDSFGWQP.cjs.map +0 -1
  1430. package/lib/chunk-NIVC56IB.cjs +0 -56
  1431. package/lib/chunk-NIVC56IB.cjs.map +0 -1
  1432. package/lib/chunk-NZVKSLMS.js +0 -49
  1433. package/lib/chunk-NZVKSLMS.js.map +0 -1
  1434. package/lib/chunk-O35AP4HQ.js +0 -102
  1435. package/lib/chunk-O35AP4HQ.js.map +0 -1
  1436. package/lib/chunk-O43NEDTK.cjs +0 -61
  1437. package/lib/chunk-O43NEDTK.cjs.map +0 -1
  1438. package/lib/chunk-OAYIA3K5.js +0 -52
  1439. package/lib/chunk-OAYIA3K5.js.map +0 -1
  1440. package/lib/chunk-OCVGJZXG.cjs +0 -51
  1441. package/lib/chunk-OCVGJZXG.cjs.map +0 -1
  1442. package/lib/chunk-ODMNRKW7.js +0 -54
  1443. package/lib/chunk-ODMNRKW7.js.map +0 -1
  1444. package/lib/chunk-OK6YNH74.cjs +0 -51
  1445. package/lib/chunk-OK6YNH74.cjs.map +0 -1
  1446. package/lib/chunk-OVIWTYUN.cjs +0 -57
  1447. package/lib/chunk-OVIWTYUN.cjs.map +0 -1
  1448. package/lib/chunk-P45FTR27.js +0 -45
  1449. package/lib/chunk-P45FTR27.js.map +0 -1
  1450. package/lib/chunk-PBVIPSHG.cjs +0 -43
  1451. package/lib/chunk-PBVIPSHG.cjs.map +0 -1
  1452. package/lib/chunk-PCTX2ZF3.js +0 -44
  1453. package/lib/chunk-PCTX2ZF3.js.map +0 -1
  1454. package/lib/chunk-PF2U2L6L.js +0 -28
  1455. package/lib/chunk-PF2U2L6L.js.map +0 -1
  1456. package/lib/chunk-PHOVUFZ4.cjs +0 -47
  1457. package/lib/chunk-PHOVUFZ4.cjs.map +0 -1
  1458. package/lib/chunk-PNUZIK2G.js +0 -36
  1459. package/lib/chunk-PNUZIK2G.js.map +0 -1
  1460. package/lib/chunk-PUJN7S4J.cjs +0 -51
  1461. package/lib/chunk-PUJN7S4J.cjs.map +0 -1
  1462. package/lib/chunk-PUTFLUDX.js +0 -31
  1463. package/lib/chunk-PUTFLUDX.js.map +0 -1
  1464. package/lib/chunk-PVDC6VVA.cjs +0 -50
  1465. package/lib/chunk-PVDC6VVA.cjs.map +0 -1
  1466. package/lib/chunk-PVUVUM5B.cjs +0 -47
  1467. package/lib/chunk-PVUVUM5B.cjs.map +0 -1
  1468. package/lib/chunk-Q5U3QQ6L.cjs +0 -71
  1469. package/lib/chunk-Q5U3QQ6L.cjs.map +0 -1
  1470. package/lib/chunk-QSSLQRDU.js +0 -51
  1471. package/lib/chunk-QSSLQRDU.js.map +0 -1
  1472. package/lib/chunk-QYM7OXUQ.cjs +0 -68
  1473. package/lib/chunk-QYM7OXUQ.cjs.map +0 -1
  1474. package/lib/chunk-QZ7R3CGB.cjs +0 -42
  1475. package/lib/chunk-QZ7R3CGB.cjs.map +0 -1
  1476. package/lib/chunk-RAXA7MPX.js +0 -40
  1477. package/lib/chunk-RAXA7MPX.js.map +0 -1
  1478. package/lib/chunk-RDOB2GZT.cjs +0 -95
  1479. package/lib/chunk-RDOB2GZT.cjs.map +0 -1
  1480. package/lib/chunk-RJPVLWBM.cjs +0 -38
  1481. package/lib/chunk-RJPVLWBM.cjs.map +0 -1
  1482. package/lib/chunk-RM2WFVF5.cjs +0 -61
  1483. package/lib/chunk-RM2WFVF5.cjs.map +0 -1
  1484. package/lib/chunk-RSS5IWAB.cjs +0 -49
  1485. package/lib/chunk-RSS5IWAB.cjs.map +0 -1
  1486. package/lib/chunk-RX3HJ7IR.js +0 -36
  1487. package/lib/chunk-RX3HJ7IR.js.map +0 -1
  1488. package/lib/chunk-RYNUHEGX.js +0 -32
  1489. package/lib/chunk-RYNUHEGX.js.map +0 -1
  1490. package/lib/chunk-RZGKZSXT.js +0 -54
  1491. package/lib/chunk-RZGKZSXT.js.map +0 -1
  1492. package/lib/chunk-S4TPKIG5.js +0 -41
  1493. package/lib/chunk-S4TPKIG5.js.map +0 -1
  1494. package/lib/chunk-S7Q42BBG.cjs +0 -42
  1495. package/lib/chunk-S7Q42BBG.cjs.map +0 -1
  1496. package/lib/chunk-SERRVB25.cjs +0 -51
  1497. package/lib/chunk-SERRVB25.cjs.map +0 -1
  1498. package/lib/chunk-SWSX4KRR.js +0 -27
  1499. package/lib/chunk-SWSX4KRR.js.map +0 -1
  1500. package/lib/chunk-SYSNGHEG.js +0 -40
  1501. package/lib/chunk-SYSNGHEG.js.map +0 -1
  1502. package/lib/chunk-T23Y2QTM.cjs +0 -107
  1503. package/lib/chunk-T23Y2QTM.cjs.map +0 -1
  1504. package/lib/chunk-T3OBEDI4.cjs +0 -56
  1505. package/lib/chunk-T3OBEDI4.cjs.map +0 -1
  1506. package/lib/chunk-T7QXZHTL.cjs +0 -53
  1507. package/lib/chunk-T7QXZHTL.cjs.map +0 -1
  1508. package/lib/chunk-TIA53DAH.js +0 -54
  1509. package/lib/chunk-TIA53DAH.js.map +0 -1
  1510. package/lib/chunk-TJEA37RN.cjs +0 -39
  1511. package/lib/chunk-TJEA37RN.cjs.map +0 -1
  1512. package/lib/chunk-TPO5GEA3.cjs +0 -91
  1513. package/lib/chunk-TPO5GEA3.cjs.map +0 -1
  1514. package/lib/chunk-TUT5DSFS.cjs +0 -49
  1515. package/lib/chunk-TUT5DSFS.cjs.map +0 -1
  1516. package/lib/chunk-U2QBVG5P.js +0 -48
  1517. package/lib/chunk-U2QBVG5P.js.map +0 -1
  1518. package/lib/chunk-U3UQ2KCY.js +0 -59
  1519. package/lib/chunk-U3UQ2KCY.js.map +0 -1
  1520. package/lib/chunk-U7NPDLRU.js +0 -54
  1521. package/lib/chunk-U7NPDLRU.js.map +0 -1
  1522. package/lib/chunk-UB5WDQ5P.cjs +0 -55
  1523. package/lib/chunk-UB5WDQ5P.cjs.map +0 -1
  1524. package/lib/chunk-UFTGYB2P.js +0 -67
  1525. package/lib/chunk-UFTGYB2P.js.map +0 -1
  1526. package/lib/chunk-UW6CNKMD.cjs +0 -56
  1527. package/lib/chunk-UW6CNKMD.cjs.map +0 -1
  1528. package/lib/chunk-UXGOWL37.cjs +0 -47
  1529. package/lib/chunk-UXGOWL37.cjs.map +0 -1
  1530. package/lib/chunk-UZGOFUD6.js +0 -36
  1531. package/lib/chunk-UZGOFUD6.js.map +0 -1
  1532. package/lib/chunk-V2O6SHTJ.js +0 -53
  1533. package/lib/chunk-V2O6SHTJ.js.map +0 -1
  1534. package/lib/chunk-V2SVBB32.js +0 -54
  1535. package/lib/chunk-V2SVBB32.js.map +0 -1
  1536. package/lib/chunk-VBECGZ7Y.js +0 -48
  1537. package/lib/chunk-VBECGZ7Y.js.map +0 -1
  1538. package/lib/chunk-VG5QRLCS.cjs +0 -42
  1539. package/lib/chunk-VG5QRLCS.cjs.map +0 -1
  1540. package/lib/chunk-VJCI73KC.cjs +0 -156
  1541. package/lib/chunk-VJCI73KC.cjs.map +0 -1
  1542. package/lib/chunk-VNX3YIZW.js +0 -40
  1543. package/lib/chunk-VNX3YIZW.js.map +0 -1
  1544. package/lib/chunk-VRRJS3ZM.cjs +0 -284
  1545. package/lib/chunk-VRRJS3ZM.cjs.map +0 -1
  1546. package/lib/chunk-VZWZ2NTW.js +0 -99
  1547. package/lib/chunk-VZWZ2NTW.js.map +0 -1
  1548. package/lib/chunk-W2T4MBV4.js +0 -47
  1549. package/lib/chunk-W2T4MBV4.js.map +0 -1
  1550. package/lib/chunk-W4CBHKYP.cjs +0 -47
  1551. package/lib/chunk-W4CBHKYP.cjs.map +0 -1
  1552. package/lib/chunk-W4M3OCH3.js +0 -51
  1553. package/lib/chunk-W4M3OCH3.js.map +0 -1
  1554. package/lib/chunk-W5RMMV5S.js +0 -53
  1555. package/lib/chunk-W5RMMV5S.js.map +0 -1
  1556. package/lib/chunk-WEQGEKUT.cjs +0 -51
  1557. package/lib/chunk-WEQGEKUT.cjs.map +0 -1
  1558. package/lib/chunk-WHGWYAWD.cjs +0 -33
  1559. package/lib/chunk-WHGWYAWD.cjs.map +0 -1
  1560. package/lib/chunk-WIM4ZWWT.js +0 -40
  1561. package/lib/chunk-WIM4ZWWT.js.map +0 -1
  1562. package/lib/chunk-WISHL4PL.js +0 -48
  1563. package/lib/chunk-WISHL4PL.js.map +0 -1
  1564. package/lib/chunk-WIVDPOV2.js +0 -53
  1565. package/lib/chunk-WIVDPOV2.js.map +0 -1
  1566. package/lib/chunk-WL267QRV.cjs +0 -54
  1567. package/lib/chunk-WL267QRV.cjs.map +0 -1
  1568. package/lib/chunk-WL6XIY5R.js +0 -52
  1569. package/lib/chunk-WL6XIY5R.js.map +0 -1
  1570. package/lib/chunk-WYHH5QI4.js +0 -65
  1571. package/lib/chunk-WYHH5QI4.js.map +0 -1
  1572. package/lib/chunk-WYMOOVYG.js +0 -96
  1573. package/lib/chunk-WYMOOVYG.js.map +0 -1
  1574. package/lib/chunk-XBFVGK3J.js +0 -48
  1575. package/lib/chunk-XBFVGK3J.js.map +0 -1
  1576. package/lib/chunk-XBXYSL5J.cjs +0 -98
  1577. package/lib/chunk-XBXYSL5J.cjs.map +0 -1
  1578. package/lib/chunk-XCJM3XRN.cjs +0 -53
  1579. package/lib/chunk-XCJM3XRN.cjs.map +0 -1
  1580. package/lib/chunk-XDRKC6JM.js +0 -276
  1581. package/lib/chunk-XDRKC6JM.js.map +0 -1
  1582. package/lib/chunk-XECAN3XD.cjs +0 -55
  1583. package/lib/chunk-XECAN3XD.cjs.map +0 -1
  1584. package/lib/chunk-XIRWNWMI.cjs +0 -42
  1585. package/lib/chunk-XIRWNWMI.cjs.map +0 -1
  1586. package/lib/chunk-XLEJ2PV3.cjs +0 -61
  1587. package/lib/chunk-XLEJ2PV3.cjs.map +0 -1
  1588. package/lib/chunk-XMSZHD4G.js +0 -45
  1589. package/lib/chunk-XMSZHD4G.js.map +0 -1
  1590. package/lib/chunk-XND3VBYX.cjs +0 -55
  1591. package/lib/chunk-XND3VBYX.cjs.map +0 -1
  1592. package/lib/chunk-XTQHJJJ7.cjs +0 -95
  1593. package/lib/chunk-XTQHJJJ7.cjs.map +0 -1
  1594. package/lib/chunk-XVHODDX7.js +0 -49
  1595. package/lib/chunk-XVHODDX7.js.map +0 -1
  1596. package/lib/chunk-XXTRCYWK.cjs +0 -47
  1597. package/lib/chunk-XXTRCYWK.cjs.map +0 -1
  1598. package/lib/chunk-Y6CYBNR2.cjs +0 -52
  1599. package/lib/chunk-Y6CYBNR2.cjs.map +0 -1
  1600. package/lib/chunk-Y6QGYCKB.js +0 -87
  1601. package/lib/chunk-Y6QGYCKB.js.map +0 -1
  1602. package/lib/chunk-Y6ULTGRO.cjs +0 -56
  1603. package/lib/chunk-Y6ULTGRO.cjs.map +0 -1
  1604. package/lib/chunk-YDOTSBF3.js +0 -52
  1605. package/lib/chunk-YDOTSBF3.js.map +0 -1
  1606. package/lib/chunk-YEPVAW3U.cjs +0 -97
  1607. package/lib/chunk-YEPVAW3U.cjs.map +0 -1
  1608. package/lib/chunk-YJXFSO4R.js +0 -40
  1609. package/lib/chunk-YJXFSO4R.js.map +0 -1
  1610. package/lib/chunk-YLT2R3ZO.cjs +0 -69
  1611. package/lib/chunk-YLT2R3ZO.cjs.map +0 -1
  1612. package/lib/chunk-YMEGKTEP.js +0 -53
  1613. package/lib/chunk-YMEGKTEP.js.map +0 -1
  1614. package/lib/chunk-Z2DSJJDB.cjs +0 -89
  1615. package/lib/chunk-Z2DSJJDB.cjs.map +0 -1
  1616. package/lib/chunk-Z2XON3QS.js +0 -45
  1617. package/lib/chunk-Z2XON3QS.js.map +0 -1
  1618. package/lib/chunk-Z66KN6BV.cjs +0 -93
  1619. package/lib/chunk-Z66KN6BV.cjs.map +0 -1
  1620. package/lib/chunk-ZCDDPJN5.js +0 -50
  1621. package/lib/chunk-ZCDDPJN5.js.map +0 -1
  1622. package/lib/chunk-ZERO5UUI.cjs +0 -95
  1623. package/lib/chunk-ZERO5UUI.cjs.map +0 -1
  1624. package/lib/chunk-ZGLO72NX.cjs +0 -98
  1625. package/lib/chunk-ZGLO72NX.cjs.map +0 -1
  1626. package/lib/chunk-ZJ5UZTQT.js +0 -45
  1627. package/lib/chunk-ZJ5UZTQT.js.map +0 -1
  1628. package/lib/chunk-ZMSILIKP.cjs +0 -95
  1629. package/lib/chunk-ZMSILIKP.cjs.map +0 -1
  1630. package/lib/chunk-ZOASE2AV.cjs +0 -47
  1631. package/lib/chunk-ZOASE2AV.cjs.map +0 -1
  1632. package/lib/chunk-ZRAHMGDW.js +0 -42
  1633. package/lib/chunk-ZRAHMGDW.js.map +0 -1
  1634. package/lib/chunk-ZRZ4KAEU.js +0 -45
  1635. package/lib/chunk-ZRZ4KAEU.js.map +0 -1
  1636. package/lib/chunk-ZTYYOE7T.cjs +0 -126
  1637. package/lib/chunk-ZTYYOE7T.cjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/free_shipping_promotions.ts"],"names":[],"mappings":";;;AAwPA,IAAM,sBAAA,GAAN,MAAM,uBAAA,SAA+B,WAAA,CAAmC;AAAA,EAEvE,OAAgB,IAAA,GAAkC,0BAAA;AAAA,EAElD,MAAM,MAAA,CAAO,QAAA,EAAuC,MAAA,EAAqD,OAAA,EAA2D;AACnK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2D,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,uBAAA,CAAuB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrJ;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAuC,MAAA,EAAqD,OAAA,EAA2D;AACnK,IAAA,OAAO,IAAA,CAAK,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AI,MAAM,uBAAA,CAAuB,IAAA,EAAM,cAAc,YAAA,EAAa,EAAG,QAAQ,OAAO,CAAA;AAAA,EAC7M;AAAA,EAGA,wBAAwB,QAAA,EAAkD;AACzE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,uBAAA,CAAuB,IAAA;AAAA,EACnE;AAAA,EAGA,aAAa,EAAA,EAA0D;AACtE,IAAA,OAAO,KAAA,CAAM,qBAA+C,EAAE,CAAA;AAAA,EAC/D;AAAA,EAEA,sBAAsB,GAAA,EAA2C;AAChE,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAgD,GAAG,GAAG,CAAA;AAAA,EACpE;AAAA,EAGA,IAAA,GAAkC;AACjC,IAAA,OAAO,uBAAA,CAAuB,IAAA;AAAA,EAC/B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,sBAAA,EAAuB;AAC5C,IAAO,gCAAA,GAAQ","file":"chunk-5TOKIUAB.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { Coupon } from './coupons'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { PromotionRule } from './promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Tag, TagType } from './tags'\n\n\ntype FreeShippingPromotionType = 'free_shipping_promotions'\ntype FreeShippingPromotionRel = ResourceRel & { type: FreeShippingPromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type FreeShippingPromotionSort = Pick<FreeShippingPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort\n// export type FreeShippingPromotionFilter = Pick<FreeShippingPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceFilter\n\n\ninterface FreeShippingPromotion extends Resource {\n\t\n\treadonly type: FreeShippingPromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion has been applied the total number of allowed times.\n\t */\n\ttotal_usage_reached?: boolean | null\n\t/** \n\t * Indicates if the promotion is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n\t/** \n\t * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n\t * @example ```112```\n\t */\n\tweight?: number | null\n\t/** \n\t * The total number of coupons created for this promotion.\n\t * @example ```2```\n\t */\n\tcoupons_count?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface FreeShippingPromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface FreeShippingPromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass FreeShippingPromotions extends ApiResource<FreeShippingPromotion> {\n\n\tstatic readonly TYPE: FreeShippingPromotionType = 'free_shipping_promotions' as const\n\n\tasync create(resource: FreeShippingPromotionCreate, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion> {\n\t\treturn this.resources.create<FreeShippingPromotionCreate, FreeShippingPromotion>({ ...resource, type: FreeShippingPromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: FreeShippingPromotionUpdate, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion> {\n\t\treturn this.resources.update<FreeShippingPromotionUpdate, FreeShippingPromotion>({ ...resource, type: FreeShippingPromotions.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: FreeShippingPromotions.TYPE } : id, options)\n\t}\n\n\tasync market(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `free_shipping_promotions/${_freeShippingPromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `free_shipping_promotions/${_freeShippingPromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `free_shipping_promotions/${_freeShippingPromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `free_shipping_promotions/${_freeShippingPromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `free_shipping_promotions/${_freeShippingPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `free_shipping_promotions/${_freeShippingPromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `free_shipping_promotions/${_freeShippingPromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `free_shipping_promotions/${_freeShippingPromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `free_shipping_promotions/${_freeShippingPromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `free_shipping_promotions/${_freeShippingPromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync event_stores(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `free_shipping_promotions/${_freeShippingPromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _disable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion> {\n\t\treturn this.resources.update<FreeShippingPromotionUpdate, FreeShippingPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeShippingPromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion> {\n\t\treturn this.resources.update<FreeShippingPromotionUpdate, FreeShippingPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeShippingPromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | FreeShippingPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion> {\n\t\treturn this.resources.update<FreeShippingPromotionUpdate, FreeShippingPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeShippingPromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | FreeShippingPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion> {\n\t\treturn this.resources.update<FreeShippingPromotionUpdate, FreeShippingPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeShippingPromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisFreeShippingPromotion(resource: any): resource is FreeShippingPromotion {\n\t\treturn resource.type && (resource.type === FreeShippingPromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): FreeShippingPromotionRel {\n\t\treturn super.relationshipOneToOne<FreeShippingPromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): FreeShippingPromotionRel[] {\n\t\treturn super.relationshipOneToMany<FreeShippingPromotionRel>(...ids)\n\t}\n\n\n\ttype(): FreeShippingPromotionType {\n\t\treturn FreeShippingPromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new FreeShippingPromotions()\nexport default instance\n\nexport type { FreeShippingPromotion, FreeShippingPromotionCreate, FreeShippingPromotions, FreeShippingPromotionType, FreeShippingPromotionUpdate }\n"]}
@@ -0,0 +1,51 @@
1
+ 'use strict';
2
+
3
+ var chunkXYPIGF36_cjs = require('./chunk-XYPIGF36.cjs');
4
+
5
+ // src/resources/delivery_lead_times.ts
6
+ var DeliveryLeadTimes = class _DeliveryLeadTimes extends chunkXYPIGF36_cjs.ApiResource {
7
+ static TYPE = "delivery_lead_times";
8
+ async create(resource, params, options) {
9
+ return this.resources.create({ ...resource, type: _DeliveryLeadTimes.TYPE }, params, options);
10
+ }
11
+ async update(resource, params, options) {
12
+ return this.resources.update({ ...resource, type: _DeliveryLeadTimes.TYPE }, params, options);
13
+ }
14
+ async delete(id, options) {
15
+ await this.resources.delete(typeof id === "string" ? { id, type: _DeliveryLeadTimes.TYPE } : id, options);
16
+ }
17
+ async stock_location(deliveryLeadTimeId, params, options) {
18
+ const _deliveryLeadTimeId = deliveryLeadTimeId.id || deliveryLeadTimeId;
19
+ return this.resources.fetch({ type: "stock_locations" }, `delivery_lead_times/${_deliveryLeadTimeId}/stock_location`, params, options);
20
+ }
21
+ async shipping_method(deliveryLeadTimeId, params, options) {
22
+ const _deliveryLeadTimeId = deliveryLeadTimeId.id || deliveryLeadTimeId;
23
+ return this.resources.fetch({ type: "shipping_methods" }, `delivery_lead_times/${_deliveryLeadTimeId}/shipping_method`, params, options);
24
+ }
25
+ async attachments(deliveryLeadTimeId, params, options) {
26
+ const _deliveryLeadTimeId = deliveryLeadTimeId.id || deliveryLeadTimeId;
27
+ return this.resources.fetch({ type: "attachments" }, `delivery_lead_times/${_deliveryLeadTimeId}/attachments`, params, options);
28
+ }
29
+ async event_stores(deliveryLeadTimeId, params, options) {
30
+ const _deliveryLeadTimeId = deliveryLeadTimeId.id || deliveryLeadTimeId;
31
+ return this.resources.fetch({ type: "event_stores" }, `delivery_lead_times/${_deliveryLeadTimeId}/event_stores`, params, options);
32
+ }
33
+ isDeliveryLeadTime(resource) {
34
+ return resource.type && resource.type === _DeliveryLeadTimes.TYPE;
35
+ }
36
+ relationship(id) {
37
+ return super.relationshipOneToOne(id);
38
+ }
39
+ relationshipToMany(...ids) {
40
+ return super.relationshipOneToMany(...ids);
41
+ }
42
+ type() {
43
+ return _DeliveryLeadTimes.TYPE;
44
+ }
45
+ };
46
+ var instance = new DeliveryLeadTimes();
47
+ var delivery_lead_times_default = instance;
48
+
49
+ exports.delivery_lead_times_default = delivery_lead_times_default;
50
+ //# sourceMappingURL=chunk-5UVYU4XN.cjs.map
51
+ //# sourceMappingURL=chunk-5UVYU4XN.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/delivery_lead_times.ts"],"names":["ApiResource"],"m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A,OAAO,kBAAA,CAAkB,IAAA;AAAA,EAC1B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,iBAAA,EAAkB;AACvC,IAAO,2BAAA,GAAQ","file":"chunk-5UVYU4XN.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { StockLocation, StockLocationType } from './stock_locations'\n\n\ntype DeliveryLeadTimeType = 'delivery_lead_times'\ntype DeliveryLeadTimeRel = ResourceRel & { type: DeliveryLeadTimeType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\n\n\nexport type DeliveryLeadTimeSort = Pick<DeliveryLeadTime, 'id' | 'min_hours' | 'max_hours' | 'min_days'> & ResourceSort\n// export type DeliveryLeadTimeFilter = Pick<DeliveryLeadTime, 'id' | 'min_hours' | 'max_hours' | 'min_days' | 'max_days'> & ResourceFilter\n\n\ninterface DeliveryLeadTime extends Resource {\n\t\n\treadonly type: DeliveryLeadTimeType\n\n\t/** \n\t * The delivery lead minimum time (in hours) when shipping from the associated stock location with the associated shipping method.\n\t * @example ```48```\n\t */\n\tmin_hours: number\n\t/** \n\t * The delivery lead maximun time (in hours) when shipping from the associated stock location with the associated shipping method.\n\t * @example ```72```\n\t */\n\tmax_hours: number\n\t/** \n\t * The delivery lead minimum time, in days (rounded).\n\t * @example ```2```\n\t */\n\tmin_days?: number | null\n\t/** \n\t * The delivery lead maximun time, in days (rounded).\n\t * @example ```3```\n\t */\n\tmax_days?: number | null\n\n\tstock_location?: StockLocation | null\n\tshipping_method?: ShippingMethod | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface DeliveryLeadTimeCreate extends ResourceCreate {\n\t\n\t/** \n\t * The delivery lead minimum time (in hours) when shipping from the associated stock location with the associated shipping method.\n\t * @example ```48```\n\t */\n\tmin_hours: number\n\t/** \n\t * The delivery lead maximun time (in hours) when shipping from the associated stock location with the associated shipping method.\n\t * @example ```72```\n\t */\n\tmax_hours: number\n\n\tstock_location: StockLocationRel\n\tshipping_method: ShippingMethodRel\n\n}\n\n\ninterface DeliveryLeadTimeUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The delivery lead minimum time (in hours) when shipping from the associated stock location with the associated shipping method.\n\t * @example ```48```\n\t */\n\tmin_hours?: number | null\n\t/** \n\t * The delivery lead maximun time (in hours) when shipping from the associated stock location with the associated shipping method.\n\t * @example ```72```\n\t */\n\tmax_hours?: number | null\n\n\tstock_location?: StockLocationRel | null\n\tshipping_method?: ShippingMethodRel | null\n\n}\n\n\nclass DeliveryLeadTimes extends ApiResource<DeliveryLeadTime> {\n\n\tstatic readonly TYPE: DeliveryLeadTimeType = 'delivery_lead_times' as const\n\n\tasync create(resource: DeliveryLeadTimeCreate, params?: QueryParamsRetrieve<DeliveryLeadTime>, options?: ResourcesConfig): Promise<DeliveryLeadTime> {\n\t\treturn this.resources.create<DeliveryLeadTimeCreate, DeliveryLeadTime>({ ...resource, type: DeliveryLeadTimes.TYPE }, params, options)\n\t}\n\n\tasync update(resource: DeliveryLeadTimeUpdate, params?: QueryParamsRetrieve<DeliveryLeadTime>, options?: ResourcesConfig): Promise<DeliveryLeadTime> {\n\t\treturn this.resources.update<DeliveryLeadTimeUpdate, DeliveryLeadTime>({ ...resource, type: DeliveryLeadTimes.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: DeliveryLeadTimes.TYPE } : id, options)\n\t}\n\n\tasync stock_location(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation> {\n\t\tconst _deliveryLeadTimeId = (deliveryLeadTimeId as DeliveryLeadTime).id || deliveryLeadTimeId as string\n\t\treturn this.resources.fetch<StockLocation>({ type: 'stock_locations' }, `delivery_lead_times/${_deliveryLeadTimeId}/stock_location`, params, options) as unknown as StockLocation\n\t}\n\n\tasync shipping_method(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\tconst _deliveryLeadTimeId = (deliveryLeadTimeId as DeliveryLeadTime).id || deliveryLeadTimeId as string\n\t\treturn this.resources.fetch<ShippingMethod>({ type: 'shipping_methods' }, `delivery_lead_times/${_deliveryLeadTimeId}/shipping_method`, params, options) as unknown as ShippingMethod\n\t}\n\n\tasync attachments(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _deliveryLeadTimeId = (deliveryLeadTimeId as DeliveryLeadTime).id || deliveryLeadTimeId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `delivery_lead_times/${_deliveryLeadTimeId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _deliveryLeadTimeId = (deliveryLeadTimeId as DeliveryLeadTime).id || deliveryLeadTimeId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `delivery_lead_times/${_deliveryLeadTimeId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisDeliveryLeadTime(resource: any): resource is DeliveryLeadTime {\n\t\treturn resource.type && (resource.type === DeliveryLeadTimes.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): DeliveryLeadTimeRel {\n\t\treturn super.relationshipOneToOne<DeliveryLeadTimeRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): DeliveryLeadTimeRel[] {\n\t\treturn super.relationshipOneToMany<DeliveryLeadTimeRel>(...ids)\n\t}\n\n\n\ttype(): DeliveryLeadTimeType {\n\t\treturn DeliveryLeadTimes.TYPE\n\t}\n\n}\n\n\nconst instance = new DeliveryLeadTimes()\nexport default instance\n\nexport type { DeliveryLeadTime, DeliveryLeadTimeCreate, DeliveryLeadTimes, DeliveryLeadTimeType, DeliveryLeadTimeUpdate }\n"]}
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ var chunkXYPIGF36_cjs = require('./chunk-XYPIGF36.cjs');
4
+
5
+ // src/resources/resource_errors.ts
6
+ var ResourceErrors = class _ResourceErrors extends chunkXYPIGF36_cjs.ApiResource {
7
+ static TYPE = "resource_errors";
8
+ async event_stores(resourceErrorId, params, options) {
9
+ const _resourceErrorId = resourceErrorId.id || resourceErrorId;
10
+ return this.resources.fetch({ type: "event_stores" }, `resource_errors/${_resourceErrorId}/event_stores`, params, options);
11
+ }
12
+ isResourceError(resource) {
13
+ return resource.type && resource.type === _ResourceErrors.TYPE;
14
+ }
15
+ relationship(id) {
16
+ return super.relationshipOneToOne(id);
17
+ }
18
+ relationshipToMany(...ids) {
19
+ return super.relationshipOneToMany(...ids);
20
+ }
21
+ type() {
22
+ return _ResourceErrors.TYPE;
23
+ }
24
+ };
25
+ var instance = new ResourceErrors();
26
+ var resource_errors_default = instance;
27
+
28
+ exports.resource_errors_default = resource_errors_default;
29
+ //# sourceMappingURL=chunk-5XLKZYDF.cjs.map
30
+ //# sourceMappingURL=chunk-5XLKZYDF.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/resource_errors.ts"],"names":["ApiResource"],"mappings":";;;;;AA2CA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,YAAA,CAAa,eAAA,EAAyC,MAAA,EAAsC,OAAA,EAA8D;AAC/J,IAAA,MAAM,gBAAA,GAAoB,gBAAkC,EAAA,IAAM,eAAA;AAClE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtI;AAAA,EAGA,gBAAgB,QAAA,EAA0C;AACzD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,eAAA,CAAe,IAAA;AAAA,EAC3D;AAAA,EAGA,aAAa,EAAA,EAAkD;AAC9D,IAAA,OAAO,KAAA,CAAM,qBAAuC,EAAE,CAAA;AAAA,EACvD;AAAA,EAEA,sBAAsB,GAAA,EAAmC;AACxD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-5XLKZYDF.cjs","sourcesContent":["import type { QueryParamsList } from '../query'\nimport type { ListResponse, Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, } from '../resource'\nimport { ApiResource } from '../resource'\n\nimport type { EventStore } from './event_stores'\nimport type { Order } from './orders'\nimport type { Return } from './returns'\n\n\ntype ResourceErrorType = 'resource_errors'\ntype ResourceErrorRel = ResourceRel & { type: ResourceErrorType }\n\n\nexport type ResourceErrorSort = Pick<ResourceError, 'id' | 'name' | 'code'> & ResourceSort\n// export type ResourceErrorFilter = Pick<ResourceError, 'id' | 'name' | 'code' | 'message'> & ResourceFilter\n\n\ninterface ResourceError extends Resource {\n\t\n\treadonly type: ResourceErrorType\n\n\t/** \n\t * The resource attribute name related to the error.\n\t * @example ```\"number\"```\n\t */\n\tname: string\n\t/** \n\t * The error code.\n\t * @example ```\"BLANK\"```\n\t */\n\tcode: string\n\t/** \n\t * The error message.\n\t * @example ```\"can't be blank\"```\n\t */\n\tmessage: string\n\n\tresource?: Order | Return | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass ResourceErrors extends ApiResource<ResourceError> {\n\n\tstatic readonly TYPE: ResourceErrorType = 'resource_errors' as const\n\n\tasync event_stores(resourceErrorId: string | ResourceError, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _resourceErrorId = (resourceErrorId as ResourceError).id || resourceErrorId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `resource_errors/${_resourceErrorId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisResourceError(resource: any): resource is ResourceError {\n\t\treturn resource.type && (resource.type === ResourceErrors.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ResourceErrorRel {\n\t\treturn super.relationshipOneToOne<ResourceErrorRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ResourceErrorRel[] {\n\t\treturn super.relationshipOneToMany<ResourceErrorRel>(...ids)\n\t}\n\n\n\ttype(): ResourceErrorType {\n\t\treturn ResourceErrors.TYPE\n\t}\n\n}\n\n\nconst instance = new ResourceErrors()\nexport default instance\n\nexport type { ResourceError, ResourceErrors, ResourceErrorType }\n"]}
@@ -0,0 +1,51 @@
1
+ 'use strict';
2
+
3
+ var chunkXYPIGF36_cjs = require('./chunk-XYPIGF36.cjs');
4
+
5
+ // src/resources/price_frequency_tiers.ts
6
+ var PriceFrequencyTiers = class _PriceFrequencyTiers extends chunkXYPIGF36_cjs.ApiResource {
7
+ static TYPE = "price_frequency_tiers";
8
+ async create(resource, params, options) {
9
+ return this.resources.create({ ...resource, type: _PriceFrequencyTiers.TYPE }, params, options);
10
+ }
11
+ async update(resource, params, options) {
12
+ return this.resources.update({ ...resource, type: _PriceFrequencyTiers.TYPE }, params, options);
13
+ }
14
+ async delete(id, options) {
15
+ await this.resources.delete(typeof id === "string" ? { id, type: _PriceFrequencyTiers.TYPE } : id, options);
16
+ }
17
+ async price(priceFrequencyTierId, params, options) {
18
+ const _priceFrequencyTierId = priceFrequencyTierId.id || priceFrequencyTierId;
19
+ return this.resources.fetch({ type: "prices" }, `price_frequency_tiers/${_priceFrequencyTierId}/price`, params, options);
20
+ }
21
+ async attachments(priceFrequencyTierId, params, options) {
22
+ const _priceFrequencyTierId = priceFrequencyTierId.id || priceFrequencyTierId;
23
+ return this.resources.fetch({ type: "attachments" }, `price_frequency_tiers/${_priceFrequencyTierId}/attachments`, params, options);
24
+ }
25
+ async event_stores(priceFrequencyTierId, params, options) {
26
+ const _priceFrequencyTierId = priceFrequencyTierId.id || priceFrequencyTierId;
27
+ return this.resources.fetch({ type: "event_stores" }, `price_frequency_tiers/${_priceFrequencyTierId}/event_stores`, params, options);
28
+ }
29
+ async events(priceFrequencyTierId, params, options) {
30
+ const _priceFrequencyTierId = priceFrequencyTierId.id || priceFrequencyTierId;
31
+ return this.resources.fetch({ type: "events" }, `price_frequency_tiers/${_priceFrequencyTierId}/events`, params, options);
32
+ }
33
+ isPriceFrequencyTier(resource) {
34
+ return resource.type && resource.type === _PriceFrequencyTiers.TYPE;
35
+ }
36
+ relationship(id) {
37
+ return super.relationshipOneToOne(id);
38
+ }
39
+ relationshipToMany(...ids) {
40
+ return super.relationshipOneToMany(...ids);
41
+ }
42
+ type() {
43
+ return _PriceFrequencyTiers.TYPE;
44
+ }
45
+ };
46
+ var instance = new PriceFrequencyTiers();
47
+ var price_frequency_tiers_default = instance;
48
+
49
+ exports.price_frequency_tiers_default = price_frequency_tiers_default;
50
+ //# sourceMappingURL=chunk-64WLJSJG.cjs.map
51
+ //# sourceMappingURL=chunk-64WLJSJG.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../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AAA,GAA+B;AAC9B,IAAA,OAAO,oBAAA,CAAoB,IAAA;AAAA,EAC5B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,mBAAA,EAAoB;AACzC,IAAO,6BAAA,GAAQ","file":"chunk-64WLJSJG.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\nimport type { Price, PriceType } from './prices'\n\n\ntype PriceFrequencyTierType = 'price_frequency_tiers'\ntype PriceFrequencyTierRel = ResourceRel & { type: PriceFrequencyTierType }\ntype PriceRel = ResourceRel & { type: PriceType }\n\n\nexport type PriceFrequencyTierSort = Pick<PriceFrequencyTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort\n// export type PriceFrequencyTierFilter = Pick<PriceFrequencyTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceFilter\n\n\ninterface PriceFrequencyTier extends Resource {\n\t\n\treadonly type: PriceFrequencyTierType\n\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit, expressed as the line item frequency in days (or frequency label, ie 'monthly'). When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```7```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\t/** \n\t * The price of this price tier, float.\n\t * @example ```10```\n\t */\n\tprice_amount_float?: number | null\n\t/** \n\t * The price of this price tier, formatted.\n\t * @example ```\"€10,00\"```\n\t */\n\tformatted_price_amount?: string | null\n\n\tprice?: Price | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\tevents?: Event[] | null\n\n}\n\n\ninterface PriceFrequencyTierCreate extends ResourceCreate {\n\t\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname: string\n\t/** \n\t * The tier upper limit, expressed as the line item frequency in days (or frequency label, ie 'monthly'). When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```7```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents: number\n\n\tprice: PriceRel\n\n}\n\n\ninterface PriceFrequencyTierUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The price tier's name.\n\t * @example ```\"six pack\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The tier upper limit, expressed as the line item frequency in days (or frequency label, ie 'monthly'). When 'null' it means infinity (useful to have an always matching tier).\n\t * @example ```7```\n\t */\n\tup_to?: number | null\n\t/** \n\t * The price of this price tier, in cents.\n\t * @example ```1000```\n\t */\n\tprice_amount_cents?: number | null\n\n\tprice?: PriceRel | null\n\n}\n\n\nclass PriceFrequencyTiers extends ApiResource<PriceFrequencyTier> {\n\n\tstatic readonly TYPE: PriceFrequencyTierType = 'price_frequency_tiers' as const\n\n\tasync create(resource: PriceFrequencyTierCreate, params?: QueryParamsRetrieve<PriceFrequencyTier>, options?: ResourcesConfig): Promise<PriceFrequencyTier> {\n\t\treturn this.resources.create<PriceFrequencyTierCreate, PriceFrequencyTier>({ ...resource, type: PriceFrequencyTiers.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PriceFrequencyTierUpdate, params?: QueryParamsRetrieve<PriceFrequencyTier>, options?: ResourcesConfig): Promise<PriceFrequencyTier> {\n\t\treturn this.resources.update<PriceFrequencyTierUpdate, PriceFrequencyTier>({ ...resource, type: PriceFrequencyTiers.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: PriceFrequencyTiers.TYPE } : id, options)\n\t}\n\n\tasync price(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price> {\n\t\tconst _priceFrequencyTierId = (priceFrequencyTierId as PriceFrequencyTier).id || priceFrequencyTierId as string\n\t\treturn this.resources.fetch<Price>({ type: 'prices' }, `price_frequency_tiers/${_priceFrequencyTierId}/price`, params, options) as unknown as Price\n\t}\n\n\tasync attachments(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _priceFrequencyTierId = (priceFrequencyTierId as PriceFrequencyTier).id || priceFrequencyTierId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `price_frequency_tiers/${_priceFrequencyTierId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _priceFrequencyTierId = (priceFrequencyTierId as PriceFrequencyTier).id || priceFrequencyTierId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `price_frequency_tiers/${_priceFrequencyTierId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync events(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _priceFrequencyTierId = (priceFrequencyTierId as PriceFrequencyTier).id || priceFrequencyTierId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `price_frequency_tiers/${_priceFrequencyTierId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\n\tisPriceFrequencyTier(resource: any): resource is PriceFrequencyTier {\n\t\treturn resource.type && (resource.type === PriceFrequencyTiers.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PriceFrequencyTierRel {\n\t\treturn super.relationshipOneToOne<PriceFrequencyTierRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PriceFrequencyTierRel[] {\n\t\treturn super.relationshipOneToMany<PriceFrequencyTierRel>(...ids)\n\t}\n\n\n\ttype(): PriceFrequencyTierType {\n\t\treturn PriceFrequencyTiers.TYPE\n\t}\n\n}\n\n\nconst instance = new PriceFrequencyTiers()\nexport default instance\n\nexport type { PriceFrequencyTier, PriceFrequencyTierCreate, PriceFrequencyTiers, PriceFrequencyTierType, PriceFrequencyTierUpdate }\n"]}
@@ -0,0 +1,51 @@
1
+ 'use strict';
2
+
3
+ var chunkXYPIGF36_cjs = require('./chunk-XYPIGF36.cjs');
4
+
5
+ // src/resources/bing_geocoders.ts
6
+ var BingGeocoders = class _BingGeocoders extends chunkXYPIGF36_cjs.ApiResource {
7
+ static TYPE = "bing_geocoders";
8
+ async create(resource, params, options) {
9
+ return this.resources.create({ ...resource, type: _BingGeocoders.TYPE }, params, options);
10
+ }
11
+ async update(resource, params, options) {
12
+ return this.resources.update({ ...resource, type: _BingGeocoders.TYPE }, params, options);
13
+ }
14
+ async delete(id, options) {
15
+ await this.resources.delete(typeof id === "string" ? { id, type: _BingGeocoders.TYPE } : id, options);
16
+ }
17
+ async markets(bingGeocoderId, params, options) {
18
+ const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
19
+ return this.resources.fetch({ type: "markets" }, `bing_geocoders/${_bingGeocoderId}/markets`, params, options);
20
+ }
21
+ async addresses(bingGeocoderId, params, options) {
22
+ const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
23
+ return this.resources.fetch({ type: "addresses" }, `bing_geocoders/${_bingGeocoderId}/addresses`, params, options);
24
+ }
25
+ async attachments(bingGeocoderId, params, options) {
26
+ const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
27
+ return this.resources.fetch({ type: "attachments" }, `bing_geocoders/${_bingGeocoderId}/attachments`, params, options);
28
+ }
29
+ async event_stores(bingGeocoderId, params, options) {
30
+ const _bingGeocoderId = bingGeocoderId.id || bingGeocoderId;
31
+ return this.resources.fetch({ type: "event_stores" }, `bing_geocoders/${_bingGeocoderId}/event_stores`, params, options);
32
+ }
33
+ isBingGeocoder(resource) {
34
+ return resource.type && resource.type === _BingGeocoders.TYPE;
35
+ }
36
+ relationship(id) {
37
+ return super.relationshipOneToOne(id);
38
+ }
39
+ relationshipToMany(...ids) {
40
+ return super.relationshipOneToMany(...ids);
41
+ }
42
+ type() {
43
+ return _BingGeocoders.TYPE;
44
+ }
45
+ };
46
+ var instance = new BingGeocoders();
47
+ var bing_geocoders_default = instance;
48
+
49
+ exports.bing_geocoders_default = bing_geocoders_default;
50
+ //# sourceMappingURL=chunk-6BMCLZBQ.cjs.map
51
+ //# sourceMappingURL=chunk-6BMCLZBQ.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/bing_geocoders.ts"],"names":["ApiResource"],"mappings":";;;;;AAmEA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsBA,6BAAA,CAA0B;AAAA,EAErD,OAAgB,IAAA,GAAyB,gBAAA;AAAA,EAEzC,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA4C,OAAA,EAAkD;AACxI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC1H;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA4C,OAAA,EAAkD;AACxI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,cAAA,CAAc,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC1H;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,E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AAA,eAAA,EAAkB,eAAe,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpI;AAAA,EAGA,eAAe,QAAA,EAAyC;AACvD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,cAAA,CAAc,IAAA;AAAA,EAC1D;AAAA,EAGA,aAAa,EAAA,EAAiD;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAsC,EAAE,CAAA;AAAA,EACtD;AAAA,EAEA,sBAAsB,GAAA,EAAkC;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAuC,GAAG,GAAG,CAAA;AAAA,EAC3D;AAAA,EAGA,IAAA,GAAyB;AACxB,IAAA,OAAO,cAAA,CAAc,IAAA;AAAA,EACtB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,sBAAA,GAAQ","file":"chunk-6BMCLZBQ.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Address } from './addresses'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { Market } from './markets'\n\n\ntype BingGeocoderType = 'bing_geocoders'\ntype BingGeocoderRel = ResourceRel & { type: BingGeocoderType }\n\n\nexport type BingGeocoderSort = Pick<BingGeocoder, 'id' | 'name'> & ResourceSort\n// export type BingGeocoderFilter = Pick<BingGeocoder, 'id' | 'name'> & ResourceFilter\n\n\ninterface BingGeocoder extends Resource {\n\t\n\treadonly type: BingGeocoderType\n\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname: string\n\n\tmarkets?: Market[] | null\n\taddresses?: Address[] | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface BingGeocoderCreate extends ResourceCreate {\n\t\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname: string\n\t/** \n\t * The Bing Virtualearth key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tkey: string\n\t\n}\n\n\ninterface BingGeocoderUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The geocoder's internal name.\n\t * @example ```\"Default geocoder\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The Bing Virtualearth key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tkey?: string | null\n\t\n}\n\n\nclass BingGeocoders extends ApiResource<BingGeocoder> {\n\n\tstatic readonly TYPE: BingGeocoderType = 'bing_geocoders' as const\n\n\tasync create(resource: BingGeocoderCreate, params?: QueryParamsRetrieve<BingGeocoder>, options?: ResourcesConfig): Promise<BingGeocoder> {\n\t\treturn this.resources.create<BingGeocoderCreate, BingGeocoder>({ ...resource, type: BingGeocoders.TYPE }, params, options)\n\t}\n\n\tasync update(resource: BingGeocoderUpdate, params?: QueryParamsRetrieve<BingGeocoder>, options?: ResourcesConfig): Promise<BingGeocoder> {\n\t\treturn this.resources.update<BingGeocoderUpdate, BingGeocoder>({ ...resource, type: BingGeocoders.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: BingGeocoders.TYPE } : id, options)\n\t}\n\n\tasync markets(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `bing_geocoders/${_bingGeocoderId}/markets`, params, options) as unknown as ListResponse<Market>\n\t}\n\n\tasync addresses(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Address>, options?: ResourcesConfig): Promise<ListResponse<Address>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Address>({ type: 'addresses' }, `bing_geocoders/${_bingGeocoderId}/addresses`, params, options) as unknown as ListResponse<Address>\n\t}\n\n\tasync attachments(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `bing_geocoders/${_bingGeocoderId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _bingGeocoderId = (bingGeocoderId as BingGeocoder).id || bingGeocoderId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `bing_geocoders/${_bingGeocoderId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisBingGeocoder(resource: any): resource is BingGeocoder {\n\t\treturn resource.type && (resource.type === BingGeocoders.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): BingGeocoderRel {\n\t\treturn super.relationshipOneToOne<BingGeocoderRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): BingGeocoderRel[] {\n\t\treturn super.relationshipOneToMany<BingGeocoderRel>(...ids)\n\t}\n\n\n\ttype(): BingGeocoderType {\n\t\treturn BingGeocoders.TYPE\n\t}\n\n}\n\n\nconst instance = new BingGeocoders()\nexport default instance\n\nexport type { BingGeocoder, BingGeocoderCreate, BingGeocoders, BingGeocoderType, BingGeocoderUpdate }\n"]}
@@ -0,0 +1,49 @@
1
+ 'use strict';
2
+
3
+ var chunkXYPIGF36_cjs = require('./chunk-XYPIGF36.cjs');
4
+
5
+ // src/resources/exports.ts
6
+ var Exports = class _Exports extends chunkXYPIGF36_cjs.ApiResource {
7
+ static TYPE = "exports";
8
+ async create(resource, params, options) {
9
+ return this.resources.create({ ...resource, type: _Exports.TYPE }, params, options);
10
+ }
11
+ async update(resource, params, options) {
12
+ return this.resources.update({ ...resource, type: _Exports.TYPE }, params, options);
13
+ }
14
+ async delete(id, options) {
15
+ await this.resources.delete(typeof id === "string" ? { id, type: _Exports.TYPE } : id, options);
16
+ }
17
+ async events(exportId, params, options) {
18
+ const _exportId = exportId.id || exportId;
19
+ return this.resources.fetch({ type: "events" }, `exports/${_exportId}/events`, params, options);
20
+ }
21
+ async event_stores(exportId, params, options) {
22
+ const _exportId = exportId.id || exportId;
23
+ return this.resources.fetch({ type: "event_stores" }, `exports/${_exportId}/event_stores`, params, options);
24
+ }
25
+ async _start(id, params, options) {
26
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Exports.TYPE, _start: true }, params, options);
27
+ }
28
+ async _interrupt(id, params, options) {
29
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Exports.TYPE, _interrupt: true }, params, options);
30
+ }
31
+ isExport(resource) {
32
+ return resource.type && resource.type === _Exports.TYPE;
33
+ }
34
+ relationship(id) {
35
+ return super.relationshipOneToOne(id);
36
+ }
37
+ relationshipToMany(...ids) {
38
+ return super.relationshipOneToMany(...ids);
39
+ }
40
+ type() {
41
+ return _Exports.TYPE;
42
+ }
43
+ };
44
+ var instance = new Exports();
45
+ var exports_default = instance;
46
+
47
+ exports.exports_default = exports_default;
48
+ //# sourceMappingURL=chunk-6BUVYKSP.cjs.map
49
+ //# sourceMappingURL=chunk-6BUVYKSP.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/exports.ts"],"names":["ApiResource"],"mappings":";;;;;AAsKA,IAAM,OAAA,GAAN,MAAM,QAAA,SAAgBA,6BAAA,CAAoB;AAAA,EAEzC,OAAgB,IAAA,GAAmB,SAAA;AAAA,EAEnC,MAAM,MAAA,CAAO,QAAA,EAAwB,MAA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OAAO,CAAA;AAAA,EACvH;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAqB,MAAA,EAAsC,OAAA,EAA4C;AACnH,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,QAAA,CAAQ,IAAA,EAAM,QAAQ,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EAClJ;AAAA,EAEA,MAAM,UAAA,CAAW,EAAA,EAAqB,MAAA,EAAsC,OAAA,EAA4C;AACvH,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,QAAA,CAAQ,IAAA,EAAM,YAAY,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACtJ;AAAA,EAGA,SAAS,QAAA,EAAmC;AAC3C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,QAAA,CAAQ,IAAA;AAAA,EACpD;AAAA,EAGA,aAAa,EAAA,EAA2C;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAgC,EAAE,CAAA;AAAA,EAChD;AAAA,EAEA,sBAAsB,GAAA,EAA4B;AACjD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAiC,GAAG,GAAG,CAAA;AAAA,EACrD;AAAA,EAGA,IAAA,GAAmB;AAClB,IAAA,OAAO,QAAA,CAAQ,IAAA;AAAA,EAChB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,OAAA,EAAQ;AAC7B,IAAO,eAAA,GAAQ","file":"chunk-6BUVYKSP.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\n\ntype ExportType = 'exports'\ntype ExportRel = ResourceRel & { type: ExportType }\n\n\nexport type ExportSort = Pick<Export, 'id' | 'resource_type' | 'format' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'processed_count' | 'attachment_url'> & ResourceSort\n// export type ExportFilter = Pick<Export, 'id' | 'resource_type' | 'format' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'processed_count' | 'attachment_url' | 'errors_log'> & ResourceFilter\n\n\ninterface Export extends Resource {\n\t\n\treadonly type: ExportType\n\n\t/** \n\t * The type of resource being exported. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers'\n\t/** \n\t * The format of the export. One of 'csv', or 'json' (default).\n\t * @example ```\"json\"```\n\t */\n\tformat?: 'csv' | 'json' | null\n\t/** \n\t * The export job status. One of 'pending' (default), 'in_progress', 'interrupted', 'completed', or 'failed'.\n\t * @example ```\"in_progress\"```\n\t */\n\tstatus: 'pending' | 'in_progress' | 'interrupted' | 'completed' | 'failed'\n\t/** \n\t * List of related resources that should be included in the export (redundant when 'fields' are specified).\n\t * @example ```[\"prices.price_tiers\"]```\n\t */\n\tincludes?: string[] | null\n\t/** \n\t * List of fields to export for the main and related resources (automatically included). Pass the asterisk '*' to include all exportable fields for the main and related resources.\n\t * @example ```[\"code\",\"name\",\"prices.*\",\"prices.price_tiers.price_amount_cents\"]```\n\t */\n\tfields?: string[] | null\n\t/** \n\t * The filters used to select the records to be exported.\n\t * @example ```{\"code_eq\":\"AAA\"}```\n\t */\n\tfilters?: Record<string, any> | null\n\t/** \n\t * Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset.\n\t */\n\tdry_data?: boolean | null\n\t/** \n\t * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.\n\t * @example ```true```\n\t */\n\tjwt_filters?: boolean | null\n\t/** \n\t * Time at which the export was started.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarted_at?: string | null\n\t/** \n\t * Time at which the export was completed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tcompleted_at?: string | null\n\t/** \n\t * Estimated time at which the export should complete (dynamically refres^hed).\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\testimated_completion_at?: string | null\n\t/** \n\t * Time at which the export was interrupted.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tinterrupted_at?: string | null\n\t/** \n\t * Indicates the number of records to be exported.\n\t * @example ```300```\n\t */\n\trecords_count?: number | null\n\t/** \n\t * Indicates how many records have been processed in real time.\n\t * @example ```270```\n\t */\n\tprocessed_count?: number | null\n\t/** \n\t * The percentage of progress of the export.\n\t * @example ```30```\n\t */\n\tprogress?: number | null\n\t/** \n\t * The URL to the output file, which will be generated upon export completion.\n\t * @example ```\"http://cl_exports.s3.amazonaws.com/\"```\n\t */\n\tattachment_url?: string | null\n\t/** \n\t * Contains the exports errors, if any.\n\t * @example ```{\"RuntimeError\":\"query timeout\"}```\n\t */\n\terrors_log?: Record<string, any> | null\n\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface ExportCreate extends ResourceCreate {\n\t\n\t/** \n\t * The type of resource being exported. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers'\n\t/** \n\t * The format of the export. One of 'csv', or 'json' (default).\n\t * @example ```\"json\"```\n\t */\n\tformat?: 'csv' | 'json' | null\n\t/** \n\t * List of related resources that should be included in the export (redundant when 'fields' are specified).\n\t * @example ```[\"prices.price_tiers\"]```\n\t */\n\tincludes?: string[] | null\n\t/** \n\t * List of fields to export for the main and related resources (automatically included). Pass the asterisk '*' to include all exportable fields for the main and related resources.\n\t * @example ```[\"code\",\"name\",\"prices.*\",\"prices.price_tiers.price_amount_cents\"]```\n\t */\n\tfields?: string[] | null\n\t/** \n\t * The filters used to select the records to be exported.\n\t * @example ```{\"code_eq\":\"AAA\"}```\n\t */\n\tfilters?: Record<string, any> | null\n\t/** \n\t * Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset.\n\t */\n\tdry_data?: boolean | null\n\t/** \n\t * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.\n\t * @example ```true```\n\t */\n\tjwt_filters?: boolean | null\n\t\n}\n\n\ninterface ExportUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Send this attribute if you want to restart an 'interrupted' export.\n\t * @example ```true```\n\t */\n\t_start?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark status as 'interrupted'.\n\t * @example ```true```\n\t */\n\t_interrupt?: boolean | null\n\t\n}\n\n\nclass Exports extends ApiResource<Export> {\n\n\tstatic readonly TYPE: ExportType = 'exports' as const\n\n\tasync create(resource: ExportCreate, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export> {\n\t\treturn this.resources.create<ExportCreate, Export>({ ...resource, type: Exports.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ExportUpdate, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export> {\n\t\treturn this.resources.update<ExportUpdate, Export>({ ...resource, type: Exports.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Exports.TYPE } : id, options)\n\t}\n\n\tasync events(exportId: string | Export, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _exportId = (exportId as Export).id || exportId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `exports/${_exportId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(exportId: string | Export, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _exportId = (exportId as Export).id || exportId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `exports/${_exportId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _start(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export> {\n\t\treturn this.resources.update<ExportUpdate, Export>({ id: (typeof id === 'string')? id: id.id, type: Exports.TYPE, _start: true }, params, options)\n\t}\n\n\tasync _interrupt(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export> {\n\t\treturn this.resources.update<ExportUpdate, Export>({ id: (typeof id === 'string')? id: id.id, type: Exports.TYPE, _interrupt: true }, params, options)\n\t}\n\n\n\tisExport(resource: any): resource is Export {\n\t\treturn resource.type && (resource.type === Exports.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ExportRel {\n\t\treturn super.relationshipOneToOne<ExportRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ExportRel[] {\n\t\treturn super.relationshipOneToMany<ExportRel>(...ids)\n\t}\n\n\n\ttype(): ExportType {\n\t\treturn Exports.TYPE\n\t}\n\n}\n\n\nconst instance = new Exports()\nexport default instance\n\nexport type { Export, ExportCreate, Exports, ExportType, ExportUpdate }\n"]}
@@ -0,0 +1,50 @@
1
+ 'use strict';
2
+
3
+ var chunkXYPIGF36_cjs = require('./chunk-XYPIGF36.cjs');
4
+
5
+ // src/resources/customer_password_resets.ts
6
+ var CustomerPasswordResets = class _CustomerPasswordResets extends chunkXYPIGF36_cjs.ApiResource {
7
+ static TYPE = "customer_password_resets";
8
+ async create(resource, params, options) {
9
+ return this.resources.create({ ...resource, type: _CustomerPasswordResets.TYPE }, params, options);
10
+ }
11
+ async update(resource, params, options) {
12
+ return this.resources.update({ ...resource, type: _CustomerPasswordResets.TYPE }, params, options);
13
+ }
14
+ async delete(id, options) {
15
+ await this.resources.delete(typeof id === "string" ? { id, type: _CustomerPasswordResets.TYPE } : id, options);
16
+ }
17
+ async customer(customerPasswordResetId, params, options) {
18
+ const _customerPasswordResetId = customerPasswordResetId.id || customerPasswordResetId;
19
+ return this.resources.fetch({ type: "customers" }, `customer_password_resets/${_customerPasswordResetId}/customer`, params, options);
20
+ }
21
+ async events(customerPasswordResetId, params, options) {
22
+ const _customerPasswordResetId = customerPasswordResetId.id || customerPasswordResetId;
23
+ return this.resources.fetch({ type: "events" }, `customer_password_resets/${_customerPasswordResetId}/events`, params, options);
24
+ }
25
+ async event_stores(customerPasswordResetId, params, options) {
26
+ const _customerPasswordResetId = customerPasswordResetId.id || customerPasswordResetId;
27
+ return this.resources.fetch({ type: "event_stores" }, `customer_password_resets/${_customerPasswordResetId}/event_stores`, params, options);
28
+ }
29
+ async _reset_password_token(id, triggerValue, params, options) {
30
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _CustomerPasswordResets.TYPE, _reset_password_token: triggerValue }, params, options);
31
+ }
32
+ isCustomerPasswordReset(resource) {
33
+ return resource.type && resource.type === _CustomerPasswordResets.TYPE;
34
+ }
35
+ relationship(id) {
36
+ return super.relationshipOneToOne(id);
37
+ }
38
+ relationshipToMany(...ids) {
39
+ return super.relationshipOneToMany(...ids);
40
+ }
41
+ type() {
42
+ return _CustomerPasswordResets.TYPE;
43
+ }
44
+ };
45
+ var instance = new CustomerPasswordResets();
46
+ var customer_password_resets_default = instance;
47
+
48
+ exports.customer_password_resets_default = customer_password_resets_default;
49
+ //# sourceMappingURL=chunk-6CRXGM2S.cjs.map
50
+ //# sourceMappingURL=chunk-6CRXGM2S.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/customer_password_resets.ts"],"names":["ApiResource"],"mappings":";;;;;AAuEA,IAAM,sBAAA,GAAN,MAAM,uBAAA,SAA+BA,6BAAA,CAAmC;AAAA,EAEvE,OAAgB,IAAA,GAAkC,0BAAA;AAAA,EAElD,MAAM,MAAA,CAAO,QAAA,EAAuC,MAAA,EAAqD,OAAA,EAA2D;AACnK,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2D,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,uBAAA,CAAuB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACrJ;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAuC,MAAA,EAAqD,OAAA,EAA2D;AACnK,IAAA,OA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e,EAAG,CAAA,yBAAA,EAA4B,wBAAwB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACvJ;AAAA,EAEA,MAAM,qBAAA,CAAsB,EAAA,EAAoC,YAAA,EAAsB,QAAqD,OAAA,EAA2D;AACrM,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA2D,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,uBAAA,CAAuB,IAAA,EAAM,uBAAuB,YAAA,EAAa,EAAG,QAAQ,OAAO,CAAA;AAAA,EACtN;AAAA,EAGA,wBAAwB,QAAA,EAAkD;AACzE,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,uBAAA,CAAuB,IAAA;AAAA,EACnE;AAAA,EAGA,aAAa,EAAA,EAA0D;AACtE,IAAA,OAAO,KAAA,CAAM,qBAA+C,EAAE,CAAA;AAAA,EAC/D;AAAA,EAEA,sBAAsB,GAAA,EAA2C;AAChE,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAgD,GAAG,GAAG,CAAA;AAAA,EACpE;AAAA,EAGA,IAAA,GAAkC;AACjC,IAAA,OAAO,uBAAA,CAAuB,IAAA;AAAA,EAC/B;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,sBAAA,EAAuB;AAC5C,IAAO,gCAAA,GAAQ","file":"chunk-6CRXGM2S.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\n\nimport type { Customer } from './customers'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\n\ntype CustomerPasswordResetType = 'customer_password_resets'\ntype CustomerPasswordResetRel = ResourceRel & { type: CustomerPasswordResetType }\n\n\nexport type CustomerPasswordResetSort = Pick<CustomerPasswordReset, 'id'> & ResourceSort\n// export type CustomerPasswordResetFilter = Pick<CustomerPasswordReset, 'id' | 'reset_password_token' | 'reset_password_at'> & ResourceFilter\n\n\ninterface CustomerPasswordReset extends Resource {\n\t\n\treadonly type: CustomerPasswordResetType\n\n\t/** \n\t * The email of the customer that requires a password reset.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email: string\n\t/** \n\t * Automatically generated on create. Send its value as the '_reset_password_token' argument when updating the customer password.\n\t * @example ```\"xhFfkmfybsLxzaAP6xcs\"```\n\t */\n\treset_password_token?: string | null\n\t/** \n\t * Time at which the password was reset.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\treset_password_at?: string | null\n\n\tcustomer?: Customer | null\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface CustomerPasswordResetCreate extends ResourceCreate {\n\t\n\t/** \n\t * The email of the customer that requires a password reset.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email: string\n\t\n}\n\n\ninterface CustomerPasswordResetUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The customer new password. This will be accepted only if a valid '_reset_password_token' is sent with the request.\n\t * @example ```\"secret\"```\n\t */\n\tcustomer_password?: string | null\n\t/** \n\t * Send the 'reset_password_token' that you got on create when updating the customer password.\n\t * @example ```\"xhFfkmfybsLxzaAP6xcs\"```\n\t */\n\t_reset_password_token?: string | null\n\t\n}\n\n\nclass CustomerPasswordResets extends ApiResource<CustomerPasswordReset> {\n\n\tstatic readonly TYPE: CustomerPasswordResetType = 'customer_password_resets' as const\n\n\tasync create(resource: CustomerPasswordResetCreate, params?: QueryParamsRetrieve<CustomerPasswordReset>, options?: ResourcesConfig): Promise<CustomerPasswordReset> {\n\t\treturn this.resources.create<CustomerPasswordResetCreate, CustomerPasswordReset>({ ...resource, type: CustomerPasswordResets.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CustomerPasswordResetUpdate, params?: QueryParamsRetrieve<CustomerPasswordReset>, options?: ResourcesConfig): Promise<CustomerPasswordReset> {\n\t\treturn this.resources.update<CustomerPasswordResetUpdate, CustomerPasswordReset>({ ...resource, type: CustomerPasswordResets.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: CustomerPasswordResets.TYPE } : id, options)\n\t}\n\n\tasync customer(customerPasswordResetId: string | CustomerPasswordReset, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer> {\n\t\tconst _customerPasswordResetId = (customerPasswordResetId as CustomerPasswordReset).id || customerPasswordResetId as string\n\t\treturn this.resources.fetch<Customer>({ type: 'customers' }, `customer_password_resets/${_customerPasswordResetId}/customer`, params, options) as unknown as Customer\n\t}\n\n\tasync events(customerPasswordResetId: string | CustomerPasswordReset, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _customerPasswordResetId = (customerPasswordResetId as CustomerPasswordReset).id || customerPasswordResetId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `customer_password_resets/${_customerPasswordResetId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(customerPasswordResetId: string | CustomerPasswordReset, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _customerPasswordResetId = (customerPasswordResetId as CustomerPasswordReset).id || customerPasswordResetId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `customer_password_resets/${_customerPasswordResetId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _reset_password_token(id: string | CustomerPasswordReset, triggerValue: string, params?: QueryParamsRetrieve<CustomerPasswordReset>, options?: ResourcesConfig): Promise<CustomerPasswordReset> {\n\t\treturn this.resources.update<CustomerPasswordResetUpdate, CustomerPasswordReset>({ id: (typeof id === 'string')? id: id.id, type: CustomerPasswordResets.TYPE, _reset_password_token: triggerValue }, params, options)\n\t}\n\n\n\tisCustomerPasswordReset(resource: any): resource is CustomerPasswordReset {\n\t\treturn resource.type && (resource.type === CustomerPasswordResets.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CustomerPasswordResetRel {\n\t\treturn super.relationshipOneToOne<CustomerPasswordResetRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CustomerPasswordResetRel[] {\n\t\treturn super.relationshipOneToMany<CustomerPasswordResetRel>(...ids)\n\t}\n\n\n\ttype(): CustomerPasswordResetType {\n\t\treturn CustomerPasswordResets.TYPE\n\t}\n\n}\n\n\nconst instance = new CustomerPasswordResets()\nexport default instance\n\nexport type { CustomerPasswordReset, CustomerPasswordResetCreate, CustomerPasswordResets, CustomerPasswordResetType, CustomerPasswordResetUpdate }\n"]}
@@ -0,0 +1,49 @@
1
+ import { ApiResource } from './chunk-ADBL6GHI.js';
2
+
3
+ // src/resources/inventory_models.ts
4
+ var InventoryModels = class _InventoryModels extends ApiResource {
5
+ static TYPE = "inventory_models";
6
+ async create(resource, params, options) {
7
+ return this.resources.create({ ...resource, type: _InventoryModels.TYPE }, params, options);
8
+ }
9
+ async update(resource, params, options) {
10
+ return this.resources.update({ ...resource, type: _InventoryModels.TYPE }, params, options);
11
+ }
12
+ async delete(id, options) {
13
+ await this.resources.delete(typeof id === "string" ? { id, type: _InventoryModels.TYPE } : id, options);
14
+ }
15
+ async inventory_stock_locations(inventoryModelId, params, options) {
16
+ const _inventoryModelId = inventoryModelId.id || inventoryModelId;
17
+ return this.resources.fetch({ type: "inventory_stock_locations" }, `inventory_models/${_inventoryModelId}/inventory_stock_locations`, params, options);
18
+ }
19
+ async inventory_return_locations(inventoryModelId, params, options) {
20
+ const _inventoryModelId = inventoryModelId.id || inventoryModelId;
21
+ return this.resources.fetch({ type: "inventory_return_locations" }, `inventory_models/${_inventoryModelId}/inventory_return_locations`, params, options);
22
+ }
23
+ async attachments(inventoryModelId, params, options) {
24
+ const _inventoryModelId = inventoryModelId.id || inventoryModelId;
25
+ return this.resources.fetch({ type: "attachments" }, `inventory_models/${_inventoryModelId}/attachments`, params, options);
26
+ }
27
+ async event_stores(inventoryModelId, params, options) {
28
+ const _inventoryModelId = inventoryModelId.id || inventoryModelId;
29
+ return this.resources.fetch({ type: "event_stores" }, `inventory_models/${_inventoryModelId}/event_stores`, params, options);
30
+ }
31
+ isInventoryModel(resource) {
32
+ return resource.type && resource.type === _InventoryModels.TYPE;
33
+ }
34
+ relationship(id) {
35
+ return super.relationshipOneToOne(id);
36
+ }
37
+ relationshipToMany(...ids) {
38
+ return super.relationshipOneToMany(...ids);
39
+ }
40
+ type() {
41
+ return _InventoryModels.TYPE;
42
+ }
43
+ };
44
+ var instance = new InventoryModels();
45
+ var inventory_models_default = instance;
46
+
47
+ export { inventory_models_default };
48
+ //# sourceMappingURL=chunk-6RG3EDXD.js.map
49
+ //# sourceMappingURL=chunk-6RG3EDXD.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/inventory_models.ts"],"names":[],"mappings":";;;AAoIA,IAAM,eAAA,GAAN,MAAM,gBAAA,SAAwB,WAAA,CAA4B;AAAA,EAEzD,OAAgB,IAAA,GAA2B,kBAAA;AAAA,EAE3C,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAA,CAAgB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAChI;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAgC,MAAA,EAA8C,OAAA,EAAoD;AAC9I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,gBAAA,CAAgB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,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A,EAA2C,MAAA,EAAsC,OAAA,EAA8D;AACjK,IAAA,MAAM,iBAAA,GAAqB,iBAAoC,EAAA,IAAM,gBAAA;AACrE,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,iBAAA,EAAoB,iBAAiB,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACxI;AAAA,EAGA,iBAAiB,QAAA,EAA2C;AAC3D,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,gBAAA,CAAgB,IAAA;AAAA,EAC5D;AAAA,EAGA,aAAa,EAAA,EAAmD;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAwC,EAAE,CAAA;AAAA,EACxD;AAAA,EAEA,sBAAsB,GAAA,EAAoC;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAyC,GAAG,GAAG,CAAA;AAAA,EAC7D;AAAA,EAGA,IAAA,GAA2B;AAC1B,IAAA,OAAO,gBAAA,CAAgB,IAAA;AAAA,EACxB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,eAAA,EAAgB;AACrC,IAAO,wBAAA,GAAQ","file":"chunk-6RG3EDXD.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { Attachment } from './attachments'\nimport type { EventStore } from './event_stores'\nimport type { InventoryReturnLocation } from './inventory_return_locations'\nimport type { InventoryStockLocation } from './inventory_stock_locations'\n\n\ntype InventoryModelType = 'inventory_models'\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\n\n\nexport type InventoryModelSort = Pick<InventoryModel, 'id' | 'name' | 'strategy' | 'stock_locations_cutoff' | 'stock_reservation_cutoff'> & ResourceSort\n// export type InventoryModelFilter = Pick<InventoryModel, 'id' | 'name' | 'strategy' | 'stock_locations_cutoff' | 'stock_reservation_cutoff'> & ResourceFilter\n\n\ninterface InventoryModel extends Resource {\n\t\n\treadonly type: InventoryModelType\n\n\t/** \n\t * The inventory model's internal name.\n\t * @example ```\"EU Inventory Model\"```\n\t */\n\tname: string\n\t/** \n\t * The inventory model's shipping strategy: one between 'no_split' (default), 'split_shipments', 'ship_from_primary' and 'ship_from_first_available_or_primary'.\n\t * @example ```\"no_split\"```\n\t */\n\tstrategy?: string | null\n\t/** \n\t * The maximum number of stock locations used for inventory computation.\n\t * @example ```3```\n\t */\n\tstock_locations_cutoff?: number | null\n\t/** \n\t * The duration in seconds of the generated stock reservations.\n\t * @example ```3600```\n\t */\n\tstock_reservation_cutoff?: number | null\n\t/** \n\t * Indicates if the the stock transfers must be put on hold automatically with the associated shipment.\n\t * @example ```true```\n\t */\n\tput_stock_transfers_on_hold?: boolean | null\n\t/** \n\t * Indicates if the the stock will be decremented manually after the order approval.\n\t * @example ```true```\n\t */\n\tmanual_stock_decrement?: boolean | null\n\n\tinventory_stock_locations?: InventoryStockLocation[] | null\n\tinventory_return_locations?: InventoryReturnLocation[] | null\n\tattachments?: Attachment[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface InventoryModelCreate extends ResourceCreate {\n\t\n\t/** \n\t * The inventory model's internal name.\n\t * @example ```\"EU Inventory Model\"```\n\t */\n\tname: string\n\t/** \n\t * The inventory model's shipping strategy: one between 'no_split' (default), 'split_shipments', 'ship_from_primary' and 'ship_from_first_available_or_primary'.\n\t * @example ```\"no_split\"```\n\t */\n\tstrategy?: string | null\n\t/** \n\t * The maximum number of stock locations used for inventory computation.\n\t * @example ```3```\n\t */\n\tstock_locations_cutoff?: number | null\n\t/** \n\t * The duration in seconds of the generated stock reservations.\n\t * @example ```3600```\n\t */\n\tstock_reservation_cutoff?: number | null\n\t/** \n\t * Indicates if the the stock transfers must be put on hold automatically with the associated shipment.\n\t * @example ```true```\n\t */\n\tput_stock_transfers_on_hold?: boolean | null\n\t/** \n\t * Indicates if the the stock will be decremented manually after the order approval.\n\t * @example ```true```\n\t */\n\tmanual_stock_decrement?: boolean | null\n\t\n}\n\n\ninterface InventoryModelUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The inventory model's internal name.\n\t * @example ```\"EU Inventory Model\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The inventory model's shipping strategy: one between 'no_split' (default), 'split_shipments', 'ship_from_primary' and 'ship_from_first_available_or_primary'.\n\t * @example ```\"no_split\"```\n\t */\n\tstrategy?: string | null\n\t/** \n\t * The maximum number of stock locations used for inventory computation.\n\t * @example ```3```\n\t */\n\tstock_locations_cutoff?: number | null\n\t/** \n\t * The duration in seconds of the generated stock reservations.\n\t * @example ```3600```\n\t */\n\tstock_reservation_cutoff?: number | null\n\t/** \n\t * Indicates if the the stock transfers must be put on hold automatically with the associated shipment.\n\t * @example ```true```\n\t */\n\tput_stock_transfers_on_hold?: boolean | null\n\t/** \n\t * Indicates if the the stock will be decremented manually after the order approval.\n\t * @example ```true```\n\t */\n\tmanual_stock_decrement?: boolean | null\n\t\n}\n\n\nclass InventoryModels extends ApiResource<InventoryModel> {\n\n\tstatic readonly TYPE: InventoryModelType = 'inventory_models' as const\n\n\tasync create(resource: InventoryModelCreate, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel> {\n\t\treturn this.resources.create<InventoryModelCreate, InventoryModel>({ ...resource, type: InventoryModels.TYPE }, params, options)\n\t}\n\n\tasync update(resource: InventoryModelUpdate, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel> {\n\t\treturn this.resources.update<InventoryModelUpdate, InventoryModel>({ ...resource, type: InventoryModels.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: InventoryModels.TYPE } : id, options)\n\t}\n\n\tasync inventory_stock_locations(inventoryModelId: string | InventoryModel, params?: QueryParamsList<InventoryStockLocation>, options?: ResourcesConfig): Promise<ListResponse<InventoryStockLocation>> {\n\t\tconst _inventoryModelId = (inventoryModelId as InventoryModel).id || inventoryModelId as string\n\t\treturn this.resources.fetch<InventoryStockLocation>({ type: 'inventory_stock_locations' }, `inventory_models/${_inventoryModelId}/inventory_stock_locations`, params, options) as unknown as ListResponse<InventoryStockLocation>\n\t}\n\n\tasync inventory_return_locations(inventoryModelId: string | InventoryModel, params?: QueryParamsList<InventoryReturnLocation>, options?: ResourcesConfig): Promise<ListResponse<InventoryReturnLocation>> {\n\t\tconst _inventoryModelId = (inventoryModelId as InventoryModel).id || inventoryModelId as string\n\t\treturn this.resources.fetch<InventoryReturnLocation>({ type: 'inventory_return_locations' }, `inventory_models/${_inventoryModelId}/inventory_return_locations`, params, options) as unknown as ListResponse<InventoryReturnLocation>\n\t}\n\n\tasync attachments(inventoryModelId: string | InventoryModel, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _inventoryModelId = (inventoryModelId as InventoryModel).id || inventoryModelId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `inventory_models/${_inventoryModelId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync event_stores(inventoryModelId: string | InventoryModel, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _inventoryModelId = (inventoryModelId as InventoryModel).id || inventoryModelId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `inventory_models/${_inventoryModelId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisInventoryModel(resource: any): resource is InventoryModel {\n\t\treturn resource.type && (resource.type === InventoryModels.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): InventoryModelRel {\n\t\treturn super.relationshipOneToOne<InventoryModelRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): InventoryModelRel[] {\n\t\treturn super.relationshipOneToMany<InventoryModelRel>(...ids)\n\t}\n\n\n\ttype(): InventoryModelType {\n\t\treturn InventoryModels.TYPE\n\t}\n\n}\n\n\nconst instance = new InventoryModels()\nexport default instance\n\nexport type { InventoryModel, InventoryModelCreate, InventoryModels, InventoryModelType, InventoryModelUpdate }\n"]}