@commercelayer/sdk 7.4.1 → 7.6.0

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 (456) hide show
  1. package/LICENSE +1 -1
  2. package/lib/{api-CAxIMq4w.d.ts → api-DrryxHto.d.ts} +617 -129
  3. package/lib/{api-4eRXMJTL.d.cts → api-Hc0WV-9j.d.cts} +617 -129
  4. package/lib/api.cjs +36 -36
  5. package/lib/api.d.cts +2 -2
  6. package/lib/api.d.ts +2 -2
  7. package/lib/api.js +18 -18
  8. package/lib/bundle.cjs +38 -38
  9. package/lib/bundle.d.cts +2 -2
  10. package/lib/bundle.d.ts +2 -2
  11. package/lib/bundle.js +19 -19
  12. package/lib/{chunk-FCGKL7AI.cjs → chunk-2C3Z5JNK.cjs} +8 -2
  13. package/lib/chunk-2C3Z5JNK.cjs.map +1 -0
  14. package/lib/{chunk-6MVBC553.js → chunk-2JB3IVP4.js} +2 -2
  15. package/lib/chunk-2JB3IVP4.js.map +1 -0
  16. package/lib/{chunk-UTFSZHUD.cjs → chunk-2ZVHALAO.cjs} +2 -2
  17. package/lib/{chunk-UTFSZHUD.cjs.map → chunk-2ZVHALAO.cjs.map} +1 -1
  18. package/lib/{chunk-F6TOLEEF.js → chunk-34MN4L45.js} +2 -2
  19. package/lib/{chunk-F6TOLEEF.js.map → chunk-34MN4L45.js.map} +1 -1
  20. package/lib/{chunk-YPRABQMP.js → chunk-3KNN5WPE.js} +8 -2
  21. package/lib/chunk-3KNN5WPE.js.map +1 -0
  22. package/lib/{chunk-6QOS6B5F.cjs → chunk-3X6OVCVT.cjs} +8 -2
  23. package/lib/chunk-3X6OVCVT.cjs.map +1 -0
  24. package/lib/{chunk-KDQRA5YH.js → chunk-67LLQOPH.js} +8 -2
  25. package/lib/chunk-67LLQOPH.js.map +1 -0
  26. package/lib/{chunk-73VR2FML.cjs → chunk-6DRGTFBA.cjs} +8 -2
  27. package/lib/chunk-6DRGTFBA.cjs.map +1 -0
  28. package/lib/{chunk-EFU44R7O.js → chunk-6SO2W3YA.js} +2 -2
  29. package/lib/chunk-6SO2W3YA.js.map +1 -0
  30. package/lib/{chunk-7AHYBTEX.js → chunk-A3VWVK2F.js} +2 -2
  31. package/lib/chunk-A3VWVK2F.js.map +1 -0
  32. package/lib/{chunk-TWQ4THAG.js → chunk-A5KAGODH.js} +8 -2
  33. package/lib/chunk-A5KAGODH.js.map +1 -0
  34. package/lib/{chunk-LZXPO7K6.cjs → chunk-ALCZSKPR.cjs} +2 -2
  35. package/lib/chunk-ALCZSKPR.cjs.map +1 -0
  36. package/lib/{chunk-OS5DXUBX.js → chunk-BGH55KTL.js} +8 -2
  37. package/lib/chunk-BGH55KTL.js.map +1 -0
  38. package/lib/{chunk-OBUC6JTQ.js → chunk-BPUZXZM4.js} +3 -3
  39. package/lib/{chunk-OBUC6JTQ.js.map → chunk-BPUZXZM4.js.map} +1 -1
  40. package/lib/{chunk-4B4WZM22.cjs → chunk-C27B7IUW.cjs} +2 -2
  41. package/lib/{chunk-4B4WZM22.cjs.map → chunk-C27B7IUW.cjs.map} +1 -1
  42. package/lib/{chunk-7OLCOMGV.cjs → chunk-EJNNEY2F.cjs} +8 -2
  43. package/lib/chunk-EJNNEY2F.cjs.map +1 -0
  44. package/lib/{chunk-KIB4XYWP.js → chunk-ERA2COOU.js} +2 -2
  45. package/lib/{chunk-KIB4XYWP.js.map → chunk-ERA2COOU.js.map} +1 -1
  46. package/lib/{chunk-HH3NIT7B.js → chunk-FFX5MED5.js} +8 -2
  47. package/lib/chunk-FFX5MED5.js.map +1 -0
  48. package/lib/{chunk-R2TFAOMW.cjs → chunk-H7JSRNFC.cjs} +4 -4
  49. package/lib/{chunk-R2TFAOMW.cjs.map → chunk-H7JSRNFC.cjs.map} +1 -1
  50. package/lib/{chunk-PENOPHMW.js → chunk-HBVSEXIQ.js} +8 -2
  51. package/lib/chunk-HBVSEXIQ.js.map +1 -0
  52. package/lib/{chunk-ZVS24BIO.js → chunk-HU6DRUWJ.js} +2 -2
  53. package/lib/chunk-HU6DRUWJ.js.map +1 -0
  54. package/lib/{chunk-PIYKFPYB.js → chunk-IR2JJDF5.js} +8 -2
  55. package/lib/chunk-IR2JJDF5.js.map +1 -0
  56. package/lib/{chunk-3SD7QN5M.js → chunk-JD3MI7AO.js} +8 -2
  57. package/lib/chunk-JD3MI7AO.js.map +1 -0
  58. package/lib/{chunk-RDTIBHZO.cjs → chunk-JLLZQ7JR.cjs} +8 -2
  59. package/lib/chunk-JLLZQ7JR.cjs.map +1 -0
  60. package/lib/{chunk-LGO42DAS.cjs → chunk-JWB5Y2WT.cjs} +2 -2
  61. package/lib/chunk-JWB5Y2WT.cjs.map +1 -0
  62. package/lib/{chunk-7LH7NNTW.js → chunk-K6MX6OZL.js} +2 -2
  63. package/lib/{chunk-7LH7NNTW.js.map → chunk-K6MX6OZL.js.map} +1 -1
  64. package/lib/{chunk-DPIHG4FX.cjs → chunk-LKBPLGXI.cjs} +8 -2
  65. package/lib/chunk-LKBPLGXI.cjs.map +1 -0
  66. package/lib/{chunk-HZAMBMKK.cjs → chunk-LTVCCLTK.cjs} +2 -2
  67. package/lib/chunk-LTVCCLTK.cjs.map +1 -0
  68. package/lib/{chunk-I73TW24N.cjs → chunk-MBROL4C2.cjs} +2 -2
  69. package/lib/chunk-MBROL4C2.cjs.map +1 -0
  70. package/lib/{chunk-OQHCTA6S.js → chunk-MBWTMQHA.js} +3 -3
  71. package/lib/chunk-MBWTMQHA.js.map +1 -0
  72. package/lib/{chunk-WQ7WYE77.cjs → chunk-NHDSPKJY.cjs} +3 -3
  73. package/lib/chunk-NHDSPKJY.cjs.map +1 -0
  74. package/lib/{chunk-ZW4CB7J7.cjs → chunk-NVNPOVIQ.cjs} +2 -2
  75. package/lib/{chunk-ZW4CB7J7.cjs.map → chunk-NVNPOVIQ.cjs.map} +1 -1
  76. package/lib/{chunk-6ZUGJHNV.cjs → chunk-O66EZDG2.cjs} +8 -2
  77. package/lib/chunk-O66EZDG2.cjs.map +1 -0
  78. package/lib/{chunk-A76SFMAB.cjs → chunk-PXSMF4QS.cjs} +8 -2
  79. package/lib/chunk-PXSMF4QS.cjs.map +1 -0
  80. package/lib/{chunk-4ATZM33H.js → chunk-SFFSVEXJ.js} +8 -2
  81. package/lib/chunk-SFFSVEXJ.js.map +1 -0
  82. package/lib/{chunk-REUVJUJK.js → chunk-V7BADAPA.js} +2 -2
  83. package/lib/chunk-V7BADAPA.js.map +1 -0
  84. package/lib/{chunk-DEYOBMM5.js → chunk-VZGJGOH3.js} +8 -2
  85. package/lib/chunk-VZGJGOH3.js.map +1 -0
  86. package/lib/{chunk-WVCUPAHM.cjs → chunk-WLTZ66G4.cjs} +2 -2
  87. package/lib/chunk-WLTZ66G4.cjs.map +1 -0
  88. package/lib/{chunk-YZ4JURI3.cjs → chunk-YDMB4XPA.cjs} +8 -2
  89. package/lib/chunk-YDMB4XPA.cjs.map +1 -0
  90. package/lib/{chunk-II544XO5.cjs → chunk-ZSWW2XGD.cjs} +8 -2
  91. package/lib/chunk-ZSWW2XGD.cjs.map +1 -0
  92. package/lib/client.d.cts +1 -1
  93. package/lib/client.d.ts +1 -1
  94. package/lib/commercelayer.cjs +5 -5
  95. package/lib/commercelayer.d.cts +4 -4
  96. package/lib/commercelayer.d.ts +4 -4
  97. package/lib/commercelayer.js +1 -1
  98. package/lib/config.d.cts +1 -1
  99. package/lib/config.d.ts +1 -1
  100. package/lib/enum.d.cts +2 -2
  101. package/lib/enum.d.ts +2 -2
  102. package/lib/fetch.d.cts +1 -1
  103. package/lib/fetch.d.ts +1 -1
  104. package/lib/index.cjs +41 -41
  105. package/lib/index.d.cts +3 -3
  106. package/lib/index.d.ts +3 -3
  107. package/lib/index.js +20 -20
  108. package/lib/{interceptor-k15jXzf0.d.cts → interceptor-ETmS7Tab.d.cts} +1 -1
  109. package/lib/{interceptor-k15jXzf0.d.ts → interceptor-ETmS7Tab.d.ts} +1 -1
  110. package/lib/interceptor.d.cts +1 -1
  111. package/lib/interceptor.d.ts +1 -1
  112. package/lib/jsonapi.d.cts +2 -2
  113. package/lib/jsonapi.d.ts +2 -2
  114. package/lib/model.d.cts +2 -2
  115. package/lib/model.d.ts +2 -2
  116. package/lib/query.d.cts +2 -2
  117. package/lib/query.d.ts +2 -2
  118. package/lib/resource.d.cts +2 -2
  119. package/lib/resource.d.ts +2 -2
  120. package/lib/resources/addresses.d.cts +3 -3
  121. package/lib/resources/addresses.d.ts +2 -2
  122. package/lib/resources/adjustments.d.cts +3 -3
  123. package/lib/resources/adjustments.d.ts +2 -2
  124. package/lib/resources/adyen_gateways.cjs +2 -2
  125. package/lib/resources/adyen_gateways.d.cts +3 -3
  126. package/lib/resources/adyen_gateways.d.ts +2 -2
  127. package/lib/resources/adyen_gateways.js +1 -1
  128. package/lib/resources/adyen_payments.d.cts +3 -3
  129. package/lib/resources/adyen_payments.d.ts +2 -2
  130. package/lib/resources/applications.d.cts +3 -3
  131. package/lib/resources/applications.d.ts +2 -2
  132. package/lib/resources/attachments.cjs +2 -2
  133. package/lib/resources/attachments.d.cts +3 -3
  134. package/lib/resources/attachments.d.ts +2 -2
  135. package/lib/resources/attachments.js +1 -1
  136. package/lib/resources/authorizations.d.cts +3 -3
  137. package/lib/resources/authorizations.d.ts +2 -2
  138. package/lib/resources/avalara_accounts.d.cts +3 -3
  139. package/lib/resources/avalara_accounts.d.ts +2 -2
  140. package/lib/resources/axerve_gateways.cjs +2 -2
  141. package/lib/resources/axerve_gateways.d.cts +3 -3
  142. package/lib/resources/axerve_gateways.d.ts +2 -2
  143. package/lib/resources/axerve_gateways.js +1 -1
  144. package/lib/resources/axerve_payments.d.cts +3 -3
  145. package/lib/resources/axerve_payments.d.ts +2 -2
  146. package/lib/resources/bing_geocoders.d.cts +3 -3
  147. package/lib/resources/bing_geocoders.d.ts +2 -2
  148. package/lib/resources/braintree_gateways.cjs +2 -2
  149. package/lib/resources/braintree_gateways.d.cts +3 -3
  150. package/lib/resources/braintree_gateways.d.ts +2 -2
  151. package/lib/resources/braintree_gateways.js +1 -1
  152. package/lib/resources/braintree_payments.d.cts +3 -3
  153. package/lib/resources/braintree_payments.d.ts +2 -2
  154. package/lib/resources/bundles.d.cts +3 -3
  155. package/lib/resources/bundles.d.ts +2 -2
  156. package/lib/resources/buy_x_pay_y_promotions.d.cts +3 -3
  157. package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
  158. package/lib/resources/captures.d.cts +3 -3
  159. package/lib/resources/captures.d.ts +2 -2
  160. package/lib/resources/carrier_accounts.d.cts +3 -3
  161. package/lib/resources/carrier_accounts.d.ts +2 -2
  162. package/lib/resources/checkout_com_gateways.cjs +2 -2
  163. package/lib/resources/checkout_com_gateways.d.cts +3 -3
  164. package/lib/resources/checkout_com_gateways.d.ts +2 -2
  165. package/lib/resources/checkout_com_gateways.js +1 -1
  166. package/lib/resources/checkout_com_payments.d.cts +3 -3
  167. package/lib/resources/checkout_com_payments.d.ts +2 -2
  168. package/lib/resources/cleanups.d.cts +3 -3
  169. package/lib/resources/cleanups.d.ts +2 -2
  170. package/lib/resources/coupon_codes_promotion_rules.d.cts +3 -3
  171. package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
  172. package/lib/resources/coupon_recipients.d.cts +3 -3
  173. package/lib/resources/coupon_recipients.d.ts +2 -2
  174. package/lib/resources/coupons.d.cts +3 -3
  175. package/lib/resources/coupons.d.ts +2 -2
  176. package/lib/resources/custom_promotion_rules.d.cts +3 -3
  177. package/lib/resources/custom_promotion_rules.d.ts +2 -2
  178. package/lib/resources/customer_addresses.d.cts +3 -3
  179. package/lib/resources/customer_addresses.d.ts +2 -2
  180. package/lib/resources/customer_groups.d.cts +3 -3
  181. package/lib/resources/customer_groups.d.ts +2 -2
  182. package/lib/resources/customer_password_resets.d.cts +3 -3
  183. package/lib/resources/customer_password_resets.d.ts +2 -2
  184. package/lib/resources/customer_payment_sources.d.cts +3 -3
  185. package/lib/resources/customer_payment_sources.d.ts +2 -2
  186. package/lib/resources/customer_subscriptions.d.cts +3 -3
  187. package/lib/resources/customer_subscriptions.d.ts +2 -2
  188. package/lib/resources/customers.d.cts +3 -3
  189. package/lib/resources/customers.d.ts +2 -2
  190. package/lib/resources/delivery_lead_times.d.cts +3 -3
  191. package/lib/resources/delivery_lead_times.d.ts +2 -2
  192. package/lib/resources/discount_engine_items.d.cts +3 -3
  193. package/lib/resources/discount_engine_items.d.ts +2 -2
  194. package/lib/resources/discount_engines.d.cts +3 -3
  195. package/lib/resources/discount_engines.d.ts +2 -2
  196. package/lib/resources/easypost_pickups.d.cts +3 -3
  197. package/lib/resources/easypost_pickups.d.ts +2 -2
  198. package/lib/resources/event_callbacks.d.cts +3 -3
  199. package/lib/resources/event_callbacks.d.ts +2 -2
  200. package/lib/resources/event_stores.d.cts +3 -3
  201. package/lib/resources/event_stores.d.ts +2 -2
  202. package/lib/resources/events.d.cts +3 -3
  203. package/lib/resources/events.d.ts +2 -2
  204. package/lib/resources/exports.d.cts +3 -3
  205. package/lib/resources/exports.d.ts +2 -2
  206. package/lib/resources/external_gateways.cjs +2 -2
  207. package/lib/resources/external_gateways.d.cts +3 -3
  208. package/lib/resources/external_gateways.d.ts +2 -2
  209. package/lib/resources/external_gateways.js +1 -1
  210. package/lib/resources/external_payments.d.cts +3 -3
  211. package/lib/resources/external_payments.d.ts +2 -2
  212. package/lib/resources/external_promotions.cjs +2 -2
  213. package/lib/resources/external_promotions.d.cts +3 -3
  214. package/lib/resources/external_promotions.d.ts +2 -2
  215. package/lib/resources/external_promotions.js +1 -1
  216. package/lib/resources/external_tax_calculators.cjs +2 -2
  217. package/lib/resources/external_tax_calculators.d.cts +3 -3
  218. package/lib/resources/external_tax_calculators.d.ts +2 -2
  219. package/lib/resources/external_tax_calculators.js +1 -1
  220. package/lib/resources/fixed_amount_promotions.d.cts +3 -3
  221. package/lib/resources/fixed_amount_promotions.d.ts +2 -2
  222. package/lib/resources/fixed_price_promotions.d.cts +3 -3
  223. package/lib/resources/fixed_price_promotions.d.ts +2 -2
  224. package/lib/resources/flex_promotions.d.cts +3 -3
  225. package/lib/resources/flex_promotions.d.ts +2 -2
  226. package/lib/resources/free_gift_promotions.d.cts +3 -3
  227. package/lib/resources/free_gift_promotions.d.ts +2 -2
  228. package/lib/resources/free_shipping_promotions.d.cts +3 -3
  229. package/lib/resources/free_shipping_promotions.d.ts +2 -2
  230. package/lib/resources/geocoders.d.cts +3 -3
  231. package/lib/resources/geocoders.d.ts +2 -2
  232. package/lib/resources/gift_card_recipients.d.cts +3 -3
  233. package/lib/resources/gift_card_recipients.d.ts +2 -2
  234. package/lib/resources/gift_cards.d.cts +3 -3
  235. package/lib/resources/gift_cards.d.ts +2 -2
  236. package/lib/resources/google_geocoders.d.cts +3 -3
  237. package/lib/resources/google_geocoders.d.ts +2 -2
  238. package/lib/resources/imports.cjs +2 -2
  239. package/lib/resources/imports.d.cts +3 -3
  240. package/lib/resources/imports.d.ts +2 -2
  241. package/lib/resources/imports.js +1 -1
  242. package/lib/resources/in_stock_subscriptions.d.cts +3 -3
  243. package/lib/resources/in_stock_subscriptions.d.ts +2 -2
  244. package/lib/resources/inventory_models.d.cts +3 -3
  245. package/lib/resources/inventory_models.d.ts +2 -2
  246. package/lib/resources/inventory_return_locations.d.cts +3 -3
  247. package/lib/resources/inventory_return_locations.d.ts +2 -2
  248. package/lib/resources/inventory_stock_locations.d.cts +3 -3
  249. package/lib/resources/inventory_stock_locations.d.ts +2 -2
  250. package/lib/resources/klarna_gateways.cjs +2 -2
  251. package/lib/resources/klarna_gateways.d.cts +3 -3
  252. package/lib/resources/klarna_gateways.d.ts +2 -2
  253. package/lib/resources/klarna_gateways.js +1 -1
  254. package/lib/resources/klarna_payments.d.cts +3 -3
  255. package/lib/resources/klarna_payments.d.ts +2 -2
  256. package/lib/resources/line_item_options.d.cts +3 -3
  257. package/lib/resources/line_item_options.d.ts +2 -2
  258. package/lib/resources/line_items.d.cts +3 -3
  259. package/lib/resources/line_items.d.ts +2 -2
  260. package/lib/resources/links.d.cts +3 -3
  261. package/lib/resources/links.d.ts +2 -2
  262. package/lib/resources/manual_gateways.cjs +2 -2
  263. package/lib/resources/manual_gateways.d.cts +3 -3
  264. package/lib/resources/manual_gateways.d.ts +2 -2
  265. package/lib/resources/manual_gateways.js +1 -1
  266. package/lib/resources/manual_tax_calculators.d.cts +3 -3
  267. package/lib/resources/manual_tax_calculators.d.ts +2 -2
  268. package/lib/resources/markets.cjs +2 -2
  269. package/lib/resources/markets.d.cts +3 -3
  270. package/lib/resources/markets.d.ts +2 -2
  271. package/lib/resources/markets.js +1 -1
  272. package/lib/resources/merchants.d.cts +3 -3
  273. package/lib/resources/merchants.d.ts +2 -2
  274. package/lib/resources/notifications.cjs +2 -2
  275. package/lib/resources/notifications.d.cts +3 -3
  276. package/lib/resources/notifications.d.ts +2 -2
  277. package/lib/resources/notifications.js +1 -1
  278. package/lib/resources/order_amount_promotion_rules.d.cts +3 -3
  279. package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
  280. package/lib/resources/order_copies.d.cts +3 -3
  281. package/lib/resources/order_copies.d.ts +2 -2
  282. package/lib/resources/order_factories.d.cts +3 -3
  283. package/lib/resources/order_factories.d.ts +2 -2
  284. package/lib/resources/order_subscription_items.d.cts +3 -3
  285. package/lib/resources/order_subscription_items.d.ts +2 -2
  286. package/lib/resources/order_subscriptions.d.cts +3 -3
  287. package/lib/resources/order_subscriptions.d.ts +2 -2
  288. package/lib/resources/orders.d.cts +3 -3
  289. package/lib/resources/orders.d.ts +2 -2
  290. package/lib/resources/organizations.d.cts +3 -3
  291. package/lib/resources/organizations.d.ts +2 -2
  292. package/lib/resources/packages.d.cts +3 -3
  293. package/lib/resources/packages.d.ts +2 -2
  294. package/lib/resources/parcel_line_items.d.cts +3 -3
  295. package/lib/resources/parcel_line_items.d.ts +2 -2
  296. package/lib/resources/parcels.d.cts +3 -3
  297. package/lib/resources/parcels.d.ts +2 -2
  298. package/lib/resources/payment_gateways.cjs +2 -2
  299. package/lib/resources/payment_gateways.d.cts +3 -3
  300. package/lib/resources/payment_gateways.d.ts +2 -2
  301. package/lib/resources/payment_gateways.js +1 -1
  302. package/lib/resources/payment_methods.d.cts +3 -3
  303. package/lib/resources/payment_methods.d.ts +2 -2
  304. package/lib/resources/payment_options.d.cts +3 -3
  305. package/lib/resources/payment_options.d.ts +2 -2
  306. package/lib/resources/paypal_gateways.cjs +2 -2
  307. package/lib/resources/paypal_gateways.d.cts +3 -3
  308. package/lib/resources/paypal_gateways.d.ts +2 -2
  309. package/lib/resources/paypal_gateways.js +1 -1
  310. package/lib/resources/paypal_payments.d.cts +3 -3
  311. package/lib/resources/paypal_payments.d.ts +2 -2
  312. package/lib/resources/percentage_discount_promotions.d.cts +3 -3
  313. package/lib/resources/percentage_discount_promotions.d.ts +2 -2
  314. package/lib/resources/pickups.d.cts +3 -3
  315. package/lib/resources/pickups.d.ts +2 -2
  316. package/lib/resources/price_frequency_tiers.d.cts +3 -3
  317. package/lib/resources/price_frequency_tiers.d.ts +2 -2
  318. package/lib/resources/price_list_schedulers.d.cts +3 -3
  319. package/lib/resources/price_list_schedulers.d.ts +2 -2
  320. package/lib/resources/price_lists.d.cts +3 -3
  321. package/lib/resources/price_lists.d.ts +2 -2
  322. package/lib/resources/price_tiers.d.cts +3 -3
  323. package/lib/resources/price_tiers.d.ts +2 -2
  324. package/lib/resources/price_volume_tiers.d.cts +3 -3
  325. package/lib/resources/price_volume_tiers.d.ts +2 -2
  326. package/lib/resources/prices.d.cts +3 -3
  327. package/lib/resources/prices.d.ts +2 -2
  328. package/lib/resources/promotion_rules.d.cts +3 -3
  329. package/lib/resources/promotion_rules.d.ts +2 -2
  330. package/lib/resources/promotions.d.cts +3 -3
  331. package/lib/resources/promotions.d.ts +2 -2
  332. package/lib/resources/recurring_order_copies.d.cts +3 -3
  333. package/lib/resources/recurring_order_copies.d.ts +2 -2
  334. package/lib/resources/refunds.d.cts +3 -3
  335. package/lib/resources/refunds.d.ts +2 -2
  336. package/lib/resources/reserved_stocks.d.cts +3 -3
  337. package/lib/resources/reserved_stocks.d.ts +2 -2
  338. package/lib/resources/resource_errors.d.cts +3 -3
  339. package/lib/resources/resource_errors.d.ts +2 -2
  340. package/lib/resources/return_line_items.d.cts +3 -3
  341. package/lib/resources/return_line_items.d.ts +2 -2
  342. package/lib/resources/returns.d.cts +3 -3
  343. package/lib/resources/returns.d.ts +2 -2
  344. package/lib/resources/satispay_gateways.cjs +2 -2
  345. package/lib/resources/satispay_gateways.d.cts +3 -3
  346. package/lib/resources/satispay_gateways.d.ts +2 -2
  347. package/lib/resources/satispay_gateways.js +1 -1
  348. package/lib/resources/satispay_payments.d.cts +3 -3
  349. package/lib/resources/satispay_payments.d.ts +2 -2
  350. package/lib/resources/shipments.d.cts +3 -3
  351. package/lib/resources/shipments.d.ts +2 -2
  352. package/lib/resources/shipping_categories.d.cts +3 -3
  353. package/lib/resources/shipping_categories.d.ts +2 -2
  354. package/lib/resources/shipping_method_tiers.d.cts +3 -3
  355. package/lib/resources/shipping_method_tiers.d.ts +2 -2
  356. package/lib/resources/shipping_methods.cjs +2 -2
  357. package/lib/resources/shipping_methods.d.cts +3 -3
  358. package/lib/resources/shipping_methods.d.ts +2 -2
  359. package/lib/resources/shipping_methods.js +1 -1
  360. package/lib/resources/shipping_weight_tiers.d.cts +3 -3
  361. package/lib/resources/shipping_weight_tiers.d.ts +2 -2
  362. package/lib/resources/shipping_zones.d.cts +3 -3
  363. package/lib/resources/shipping_zones.d.ts +2 -2
  364. package/lib/resources/sku_list_items.d.cts +3 -3
  365. package/lib/resources/sku_list_items.d.ts +2 -2
  366. package/lib/resources/sku_list_promotion_rules.d.cts +3 -3
  367. package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
  368. package/lib/resources/sku_lists.d.cts +3 -3
  369. package/lib/resources/sku_lists.d.ts +2 -2
  370. package/lib/resources/sku_options.d.cts +3 -3
  371. package/lib/resources/sku_options.d.ts +2 -2
  372. package/lib/resources/skus.d.cts +3 -3
  373. package/lib/resources/skus.d.ts +2 -2
  374. package/lib/resources/stock_items.d.cts +3 -3
  375. package/lib/resources/stock_items.d.ts +2 -2
  376. package/lib/resources/stock_line_items.d.cts +3 -3
  377. package/lib/resources/stock_line_items.d.ts +2 -2
  378. package/lib/resources/stock_locations.d.cts +3 -3
  379. package/lib/resources/stock_locations.d.ts +2 -2
  380. package/lib/resources/stock_reservations.d.cts +3 -3
  381. package/lib/resources/stock_reservations.d.ts +2 -2
  382. package/lib/resources/stock_transfers.d.cts +3 -3
  383. package/lib/resources/stock_transfers.d.ts +2 -2
  384. package/lib/resources/stores.d.cts +3 -3
  385. package/lib/resources/stores.d.ts +2 -2
  386. package/lib/resources/stripe_gateways.cjs +2 -2
  387. package/lib/resources/stripe_gateways.d.cts +3 -3
  388. package/lib/resources/stripe_gateways.d.ts +2 -2
  389. package/lib/resources/stripe_gateways.js +1 -1
  390. package/lib/resources/stripe_payments.d.cts +3 -3
  391. package/lib/resources/stripe_payments.d.ts +2 -2
  392. package/lib/resources/stripe_tax_accounts.d.cts +3 -3
  393. package/lib/resources/stripe_tax_accounts.d.ts +2 -2
  394. package/lib/resources/subscription_models.d.cts +3 -3
  395. package/lib/resources/subscription_models.d.ts +2 -2
  396. package/lib/resources/tags.d.cts +3 -3
  397. package/lib/resources/tags.d.ts +2 -2
  398. package/lib/resources/talon_one_accounts.d.cts +3 -3
  399. package/lib/resources/talon_one_accounts.d.ts +2 -2
  400. package/lib/resources/tax_calculators.d.cts +3 -3
  401. package/lib/resources/tax_calculators.d.ts +2 -2
  402. package/lib/resources/tax_categories.d.cts +3 -3
  403. package/lib/resources/tax_categories.d.ts +2 -2
  404. package/lib/resources/tax_rules.d.cts +3 -3
  405. package/lib/resources/tax_rules.d.ts +2 -2
  406. package/lib/resources/taxjar_accounts.d.cts +3 -3
  407. package/lib/resources/taxjar_accounts.d.ts +2 -2
  408. package/lib/resources/transactions.d.cts +3 -3
  409. package/lib/resources/transactions.d.ts +2 -2
  410. package/lib/resources/versions.d.cts +3 -3
  411. package/lib/resources/versions.d.ts +2 -2
  412. package/lib/resources/vertex_accounts.d.cts +3 -3
  413. package/lib/resources/vertex_accounts.d.ts +2 -2
  414. package/lib/resources/voids.d.cts +3 -3
  415. package/lib/resources/voids.d.ts +2 -2
  416. package/lib/resources/webhooks.d.cts +3 -3
  417. package/lib/resources/webhooks.d.ts +2 -2
  418. package/lib/resources/wire_transfers.d.cts +3 -3
  419. package/lib/resources/wire_transfers.d.ts +2 -2
  420. package/lib/static.cjs +3 -3
  421. package/lib/static.d.cts +2 -2
  422. package/lib/static.d.ts +2 -2
  423. package/lib/static.js +2 -2
  424. package/package.json +3 -3
  425. package/lib/chunk-3SD7QN5M.js.map +0 -1
  426. package/lib/chunk-4ATZM33H.js.map +0 -1
  427. package/lib/chunk-6MVBC553.js.map +0 -1
  428. package/lib/chunk-6QOS6B5F.cjs.map +0 -1
  429. package/lib/chunk-6ZUGJHNV.cjs.map +0 -1
  430. package/lib/chunk-73VR2FML.cjs.map +0 -1
  431. package/lib/chunk-7AHYBTEX.js.map +0 -1
  432. package/lib/chunk-7OLCOMGV.cjs.map +0 -1
  433. package/lib/chunk-A76SFMAB.cjs.map +0 -1
  434. package/lib/chunk-DEYOBMM5.js.map +0 -1
  435. package/lib/chunk-DPIHG4FX.cjs.map +0 -1
  436. package/lib/chunk-EFU44R7O.js.map +0 -1
  437. package/lib/chunk-FCGKL7AI.cjs.map +0 -1
  438. package/lib/chunk-HH3NIT7B.js.map +0 -1
  439. package/lib/chunk-HZAMBMKK.cjs.map +0 -1
  440. package/lib/chunk-I73TW24N.cjs.map +0 -1
  441. package/lib/chunk-II544XO5.cjs.map +0 -1
  442. package/lib/chunk-KDQRA5YH.js.map +0 -1
  443. package/lib/chunk-LGO42DAS.cjs.map +0 -1
  444. package/lib/chunk-LZXPO7K6.cjs.map +0 -1
  445. package/lib/chunk-OQHCTA6S.js.map +0 -1
  446. package/lib/chunk-OS5DXUBX.js.map +0 -1
  447. package/lib/chunk-PENOPHMW.js.map +0 -1
  448. package/lib/chunk-PIYKFPYB.js.map +0 -1
  449. package/lib/chunk-RDTIBHZO.cjs.map +0 -1
  450. package/lib/chunk-REUVJUJK.js.map +0 -1
  451. package/lib/chunk-TWQ4THAG.js.map +0 -1
  452. package/lib/chunk-WQ7WYE77.cjs.map +0 -1
  453. package/lib/chunk-WVCUPAHM.cjs.map +0 -1
  454. package/lib/chunk-YPRABQMP.js.map +0 -1
  455. package/lib/chunk-YZ4JURI3.cjs.map +0 -1
  456. package/lib/chunk-ZVS24BIO.js.map +0 -1
package/lib/bundle.cjs CHANGED
@@ -21,9 +21,9 @@ var chunkI5VOVSS7_cjs = require('./chunk-I5VOVSS7.cjs');
21
21
  var chunkKM27D322_cjs = require('./chunk-KM27D322.cjs');
22
22
  var chunkGJOZR5TC_cjs = require('./chunk-GJOZR5TC.cjs');
23
23
  var chunkHUDH634O_cjs = require('./chunk-HUDH634O.cjs');
24
- var chunk73VR2FML_cjs = require('./chunk-73VR2FML.cjs');
24
+ var chunk6DRGTFBA_cjs = require('./chunk-6DRGTFBA.cjs');
25
25
  var chunkJ32Z2XNX_cjs = require('./chunk-J32Z2XNX.cjs');
26
- var chunkLZXPO7K6_cjs = require('./chunk-LZXPO7K6.cjs');
26
+ var chunkALCZSKPR_cjs = require('./chunk-ALCZSKPR.cjs');
27
27
  var chunk2M54XID3_cjs = require('./chunk-2M54XID3.cjs');
28
28
  var chunkJUVEIRM4_cjs = require('./chunk-JUVEIRM4.cjs');
29
29
  var chunkDQWWKXLR_cjs = require('./chunk-DQWWKXLR.cjs');
@@ -34,7 +34,7 @@ var chunkF46RW7IU_cjs = require('./chunk-F46RW7IU.cjs');
34
34
  var chunkKDDMRBB6_cjs = require('./chunk-KDDMRBB6.cjs');
35
35
  var chunkA2SZPZSG_cjs = require('./chunk-A2SZPZSG.cjs');
36
36
  var chunkBHXCVURA_cjs = require('./chunk-BHXCVURA.cjs');
37
- var chunk6QOS6B5F_cjs = require('./chunk-6QOS6B5F.cjs');
37
+ var chunk3X6OVCVT_cjs = require('./chunk-3X6OVCVT.cjs');
38
38
  var chunk7SJAVPZH_cjs = require('./chunk-7SJAVPZH.cjs');
39
39
  var chunk2H2ODZUY_cjs = require('./chunk-2H2ODZUY.cjs');
40
40
  var chunkU7OGOZ5B_cjs = require('./chunk-U7OGOZ5B.cjs');
@@ -48,7 +48,7 @@ var chunk7P3ZTIQX_cjs = require('./chunk-7P3ZTIQX.cjs');
48
48
  var chunkIALPF4NG_cjs = require('./chunk-IALPF4NG.cjs');
49
49
  var chunkTIINXXHU_cjs = require('./chunk-TIINXXHU.cjs');
50
50
  var chunkEVVUYC7T_cjs = require('./chunk-EVVUYC7T.cjs');
51
- var chunkYZ4JURI3_cjs = require('./chunk-YZ4JURI3.cjs');
51
+ var chunkYDMB4XPA_cjs = require('./chunk-YDMB4XPA.cjs');
52
52
  var chunkPBIARBZH_cjs = require('./chunk-PBIARBZH.cjs');
53
53
  var chunkMQSCYGID_cjs = require('./chunk-MQSCYGID.cjs');
54
54
  var chunkU4ELOYK7_cjs = require('./chunk-U4ELOYK7.cjs');
@@ -61,36 +61,36 @@ var chunkYPGYBULL_cjs = require('./chunk-YPGYBULL.cjs');
61
61
  var chunkO3NWYOPV_cjs = require('./chunk-O3NWYOPV.cjs');
62
62
  var chunkFMGDNZQ6_cjs = require('./chunk-FMGDNZQ6.cjs');
63
63
  var chunk6STKOQR7_cjs = require('./chunk-6STKOQR7.cjs');
64
- var chunkWVCUPAHM_cjs = require('./chunk-WVCUPAHM.cjs');
64
+ var chunkWLTZ66G4_cjs = require('./chunk-WLTZ66G4.cjs');
65
65
  var chunkH7EX22DB_cjs = require('./chunk-H7EX22DB.cjs');
66
66
  var chunkKWOKL6HK_cjs = require('./chunk-KWOKL6HK.cjs');
67
- var chunkI73TW24N_cjs = require('./chunk-I73TW24N.cjs');
67
+ var chunkMBROL4C2_cjs = require('./chunk-MBROL4C2.cjs');
68
68
  var chunkEAR4AXVU_cjs = require('./chunk-EAR4AXVU.cjs');
69
- var chunk4B4WZM22_cjs = require('./chunk-4B4WZM22.cjs');
69
+ var chunkC27B7IUW_cjs = require('./chunk-C27B7IUW.cjs');
70
70
  var chunk5WUI6OHH_cjs = require('./chunk-5WUI6OHH.cjs');
71
71
  var chunkESGRB4YB_cjs = require('./chunk-ESGRB4YB.cjs');
72
72
  var chunkG7MROYQP_cjs = require('./chunk-G7MROYQP.cjs');
73
73
  var chunkD7VHCT5M_cjs = require('./chunk-D7VHCT5M.cjs');
74
74
  var chunkRAF3LK5T_cjs = require('./chunk-RAF3LK5T.cjs');
75
75
  var chunkQYVJGMYT_cjs = require('./chunk-QYVJGMYT.cjs');
76
- var chunkA76SFMAB_cjs = require('./chunk-A76SFMAB.cjs');
76
+ var chunkPXSMF4QS_cjs = require('./chunk-PXSMF4QS.cjs');
77
77
  var chunkJYSIXEKG_cjs = require('./chunk-JYSIXEKG.cjs');
78
78
  var chunkTZAGUXNS_cjs = require('./chunk-TZAGUXNS.cjs');
79
79
  var chunk4IOIA2JQ_cjs = require('./chunk-4IOIA2JQ.cjs');
80
80
  var chunkT5AO4445_cjs = require('./chunk-T5AO4445.cjs');
81
- var chunk6ZUGJHNV_cjs = require('./chunk-6ZUGJHNV.cjs');
81
+ var chunkO66EZDG2_cjs = require('./chunk-O66EZDG2.cjs');
82
82
  var chunkIVW25AWZ_cjs = require('./chunk-IVW25AWZ.cjs');
83
83
  var chunkOEUSTDGS_cjs = require('./chunk-OEUSTDGS.cjs');
84
84
  var chunk2CPNHJAZ_cjs = require('./chunk-2CPNHJAZ.cjs');
85
85
  var chunk45YSQMGA_cjs = require('./chunk-45YSQMGA.cjs');
86
86
  var chunkI64U2VMD_cjs = require('./chunk-I64U2VMD.cjs');
87
- var chunkZW4CB7J7_cjs = require('./chunk-ZW4CB7J7.cjs');
87
+ var chunkNVNPOVIQ_cjs = require('./chunk-NVNPOVIQ.cjs');
88
88
  var chunkIXOAGKRD_cjs = require('./chunk-IXOAGKRD.cjs');
89
89
  var chunkXOVAUMDC_cjs = require('./chunk-XOVAUMDC.cjs');
90
- var chunk7OLCOMGV_cjs = require('./chunk-7OLCOMGV.cjs');
90
+ var chunkEJNNEY2F_cjs = require('./chunk-EJNNEY2F.cjs');
91
91
  var chunkNWKIFDQH_cjs = require('./chunk-NWKIFDQH.cjs');
92
- var chunkHZAMBMKK_cjs = require('./chunk-HZAMBMKK.cjs');
93
- var chunkLGO42DAS_cjs = require('./chunk-LGO42DAS.cjs');
92
+ var chunkLTVCCLTK_cjs = require('./chunk-LTVCCLTK.cjs');
93
+ var chunkJWB5Y2WT_cjs = require('./chunk-JWB5Y2WT.cjs');
94
94
  var chunkRRPTC4K5_cjs = require('./chunk-RRPTC4K5.cjs');
95
95
  var chunkUN4S45RX_cjs = require('./chunk-UN4S45RX.cjs');
96
96
  var chunkHOJUXLZD_cjs = require('./chunk-HOJUXLZD.cjs');
@@ -114,26 +114,26 @@ var chunkJCOJGOXF_cjs = require('./chunk-JCOJGOXF.cjs');
114
114
  var chunkUYRFDFCS_cjs = require('./chunk-UYRFDFCS.cjs');
115
115
  var chunkKNXPWX4D_cjs = require('./chunk-KNXPWX4D.cjs');
116
116
  var chunkTFJYQUEH_cjs = require('./chunk-TFJYQUEH.cjs');
117
- var chunkII544XO5_cjs = require('./chunk-II544XO5.cjs');
117
+ var chunkZSWW2XGD_cjs = require('./chunk-ZSWW2XGD.cjs');
118
118
  var chunkQ3ULISRX_cjs = require('./chunk-Q3ULISRX.cjs');
119
119
  var chunkUEQ3CRVM_cjs = require('./chunk-UEQ3CRVM.cjs');
120
120
  var chunkZZOSKORP_cjs = require('./chunk-ZZOSKORP.cjs');
121
121
  var chunkOV4JT553_cjs = require('./chunk-OV4JT553.cjs');
122
122
  var chunkZ3FUZ3YM_cjs = require('./chunk-Z3FUZ3YM.cjs');
123
123
  var chunkOA4DVMEQ_cjs = require('./chunk-OA4DVMEQ.cjs');
124
- var chunkDPIHG4FX_cjs = require('./chunk-DPIHG4FX.cjs');
124
+ var chunkLKBPLGXI_cjs = require('./chunk-LKBPLGXI.cjs');
125
125
  var chunkP2OLPCWV_cjs = require('./chunk-P2OLPCWV.cjs');
126
126
  var chunk3YINNWNG_cjs = require('./chunk-3YINNWNG.cjs');
127
- var chunkRDTIBHZO_cjs = require('./chunk-RDTIBHZO.cjs');
127
+ var chunkJLLZQ7JR_cjs = require('./chunk-JLLZQ7JR.cjs');
128
128
  var chunkBGHPRKU4_cjs = require('./chunk-BGHPRKU4.cjs');
129
129
  var chunkEPDTA5Z3_cjs = require('./chunk-EPDTA5Z3.cjs');
130
130
  var chunk7YWXHAMP_cjs = require('./chunk-7YWXHAMP.cjs');
131
131
  var chunkKGZ3FTYR_cjs = require('./chunk-KGZ3FTYR.cjs');
132
- var chunkFCGKL7AI_cjs = require('./chunk-FCGKL7AI.cjs');
132
+ var chunk2C3Z5JNK_cjs = require('./chunk-2C3Z5JNK.cjs');
133
133
  var chunkFNTJOIQB_cjs = require('./chunk-FNTJOIQB.cjs');
134
134
  var chunkD7SALAS2_cjs = require('./chunk-D7SALAS2.cjs');
135
- var chunkUTFSZHUD_cjs = require('./chunk-UTFSZHUD.cjs');
136
- var chunkWQ7WYE77_cjs = require('./chunk-WQ7WYE77.cjs');
135
+ var chunk2ZVHALAO_cjs = require('./chunk-2ZVHALAO.cjs');
136
+ var chunkNHDSPKJY_cjs = require('./chunk-NHDSPKJY.cjs');
137
137
  require('./chunk-U22VLCMN.cjs');
138
138
  require('./chunk-YY5ENJSH.cjs');
139
139
  require('./chunk-ZWVME7CU.cjs');
@@ -146,7 +146,7 @@ require('./chunk-JEQ2X3Z6.cjs');
146
146
 
147
147
  // src/bundle.ts
148
148
  var debug = chunkJVF5KY2J_cjs.debug_default("bundle");
149
- var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.CommerceLayerClient {
149
+ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNHDSPKJY_cjs.CommerceLayerClient {
150
150
  // ##__CL_RESOURCES_DEF_START__##
151
151
  // ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##
152
152
  // ##__CL_RESOURCES_DEF_STOP__##
@@ -172,7 +172,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
172
172
  return chunkKGZ3FTYR_cjs.adjustments_default;
173
173
  }
174
174
  get adyen_gateways() {
175
- return chunkFCGKL7AI_cjs.adyen_gateways_default;
175
+ return chunk2C3Z5JNK_cjs.adyen_gateways_default;
176
176
  }
177
177
  get adyen_payments() {
178
178
  return chunkFNTJOIQB_cjs.adyen_payments_default;
@@ -181,7 +181,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
181
181
  return chunkD7SALAS2_cjs.applications_default;
182
182
  }
183
183
  get attachments() {
184
- return chunkUTFSZHUD_cjs.attachments_default;
184
+ return chunk2ZVHALAO_cjs.attachments_default;
185
185
  }
186
186
  get authorizations() {
187
187
  return chunkZ3FUZ3YM_cjs.authorizations_default;
@@ -190,7 +190,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
190
190
  return chunkOA4DVMEQ_cjs.avalara_accounts_default;
191
191
  }
192
192
  get axerve_gateways() {
193
- return chunkDPIHG4FX_cjs.axerve_gateways_default;
193
+ return chunkLKBPLGXI_cjs.axerve_gateways_default;
194
194
  }
195
195
  get axerve_payments() {
196
196
  return chunkP2OLPCWV_cjs.axerve_payments_default;
@@ -199,7 +199,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
199
199
  return chunk3YINNWNG_cjs.bing_geocoders_default;
200
200
  }
201
201
  get braintree_gateways() {
202
- return chunkRDTIBHZO_cjs.braintree_gateways_default;
202
+ return chunkJLLZQ7JR_cjs.braintree_gateways_default;
203
203
  }
204
204
  get braintree_payments() {
205
205
  return chunkBGHPRKU4_cjs.braintree_payments_default;
@@ -217,7 +217,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
217
217
  return chunkTFJYQUEH_cjs.carrier_accounts_default;
218
218
  }
219
219
  get checkout_com_gateways() {
220
- return chunkII544XO5_cjs.checkout_com_gateways_default;
220
+ return chunkZSWW2XGD_cjs.checkout_com_gateways_default;
221
221
  }
222
222
  get checkout_com_payments() {
223
223
  return chunkQ3ULISRX_cjs.checkout_com_payments_default;
@@ -280,16 +280,16 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
280
280
  return chunkJ42WGTN6_cjs.exports_default;
281
281
  }
282
282
  get external_gateways() {
283
- return chunk7OLCOMGV_cjs.external_gateways_default;
283
+ return chunkEJNNEY2F_cjs.external_gateways_default;
284
284
  }
285
285
  get external_payments() {
286
286
  return chunkNWKIFDQH_cjs.external_payments_default;
287
287
  }
288
288
  get external_promotions() {
289
- return chunkHZAMBMKK_cjs.external_promotions_default;
289
+ return chunkLTVCCLTK_cjs.external_promotions_default;
290
290
  }
291
291
  get external_tax_calculators() {
292
- return chunkLGO42DAS_cjs.external_tax_calculators_default;
292
+ return chunkJWB5Y2WT_cjs.external_tax_calculators_default;
293
293
  }
294
294
  get fixed_amount_promotions() {
295
295
  return chunkRRPTC4K5_cjs.fixed_amount_promotions_default;
@@ -319,7 +319,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
319
319
  return chunkI64U2VMD_cjs.google_geocoders_default;
320
320
  }
321
321
  get imports() {
322
- return chunkZW4CB7J7_cjs.imports_default;
322
+ return chunkNVNPOVIQ_cjs.imports_default;
323
323
  }
324
324
  get in_stock_subscriptions() {
325
325
  return chunkIXOAGKRD_cjs.in_stock_subscriptions_default;
@@ -334,7 +334,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
334
334
  return chunkQYVJGMYT_cjs.inventory_stock_locations_default;
335
335
  }
336
336
  get klarna_gateways() {
337
- return chunkA76SFMAB_cjs.klarna_gateways_default;
337
+ return chunkPXSMF4QS_cjs.klarna_gateways_default;
338
338
  }
339
339
  get klarna_payments() {
340
340
  return chunkJYSIXEKG_cjs.klarna_payments_default;
@@ -349,19 +349,19 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
349
349
  return chunkT5AO4445_cjs.links_default;
350
350
  }
351
351
  get manual_gateways() {
352
- return chunk6ZUGJHNV_cjs.manual_gateways_default;
352
+ return chunkO66EZDG2_cjs.manual_gateways_default;
353
353
  }
354
354
  get manual_tax_calculators() {
355
355
  return chunkKWOKL6HK_cjs.manual_tax_calculators_default;
356
356
  }
357
357
  get markets() {
358
- return chunkI73TW24N_cjs.markets_default;
358
+ return chunkMBROL4C2_cjs.markets_default;
359
359
  }
360
360
  get merchants() {
361
361
  return chunkEAR4AXVU_cjs.merchants_default;
362
362
  }
363
363
  get notifications() {
364
- return chunk4B4WZM22_cjs.notifications_default;
364
+ return chunkC27B7IUW_cjs.notifications_default;
365
365
  }
366
366
  get order_amount_promotion_rules() {
367
367
  return chunk5WUI6OHH_cjs.order_amount_promotion_rules_default;
@@ -394,7 +394,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
394
394
  return chunk6STKOQR7_cjs.parcels_default;
395
395
  }
396
396
  get payment_gateways() {
397
- return chunkWVCUPAHM_cjs.payment_gateways_default;
397
+ return chunkWLTZ66G4_cjs.payment_gateways_default;
398
398
  }
399
399
  get payment_methods() {
400
400
  return chunkH7EX22DB_cjs.payment_methods_default;
@@ -403,7 +403,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
403
403
  return chunkEVVUYC7T_cjs.payment_options_default;
404
404
  }
405
405
  get paypal_gateways() {
406
- return chunkYZ4JURI3_cjs.paypal_gateways_default;
406
+ return chunkYDMB4XPA_cjs.paypal_gateways_default;
407
407
  }
408
408
  get paypal_payments() {
409
409
  return chunkPBIARBZH_cjs.paypal_payments_default;
@@ -457,7 +457,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
457
457
  return chunkBHXCVURA_cjs.returns_default;
458
458
  }
459
459
  get satispay_gateways() {
460
- return chunk6QOS6B5F_cjs.satispay_gateways_default;
460
+ return chunk3X6OVCVT_cjs.satispay_gateways_default;
461
461
  }
462
462
  get satispay_payments() {
463
463
  return chunk7SJAVPZH_cjs.satispay_payments_default;
@@ -472,7 +472,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
472
472
  return chunkDPE4FTTS_cjs.shipping_method_tiers_default;
473
473
  }
474
474
  get shipping_methods() {
475
- return chunkLZXPO7K6_cjs.shipping_methods_default;
475
+ return chunkALCZSKPR_cjs.shipping_methods_default;
476
476
  }
477
477
  get shipping_weight_tiers() {
478
478
  return chunk2M54XID3_cjs.shipping_weight_tiers_default;
@@ -514,7 +514,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
514
514
  return chunkHUDH634O_cjs.stores_default;
515
515
  }
516
516
  get stripe_gateways() {
517
- return chunk73VR2FML_cjs.stripe_gateways_default;
517
+ return chunk6DRGTFBA_cjs.stripe_gateways_default;
518
518
  }
519
519
  get stripe_payments() {
520
520
  return chunkJ32Z2XNX_cjs.stripe_payments_default;
package/lib/bundle.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.cjs';
2
- import { H as Addresses, J as Adjustments, N as AdyenGateways, P as AdyenPayments, W as Applications, Y as Attachments, _ as Authorizations, a0 as AvalaraAccounts, a2 as AxerveGateways, a4 as AxervePayments, a6 as BingGeocoders, a8 as BraintreeGateways, aa as BraintreePayments, ac as Bundles, ae as BuyXPayYPromotions, ag as Captures, ai as CarrierAccounts, ak as CheckoutComGateways, am as CheckoutComPayments, ao as Cleanups, aq as CouponCodesPromotionRules, as as CouponRecipients, au as Coupons, aw as CustomPromotionRules, ay as CustomerAddresses, aA as CustomerGroups, aC as CustomerPasswordResets, aE as CustomerPaymentSources, aG as CustomerSubscriptions, aI as Customers, aK as DeliveryLeadTimes, aM as DiscountEngineItems, aO as DiscountEngines, aQ as EasypostPickups, aS as EventCallbacks, aU as EventStores, aW as Events, aY as Exports, a_ as ExternalGateways, b0 as ExternalPayments, b2 as ExternalPromotions, b4 as ExternalTaxCalculators, b6 as FixedAmountPromotions, b8 as FixedPricePromotions, ba as FlexPromotions, bc as FreeGiftPromotions, be as FreeShippingPromotions, bg as Geocoders, bi as GiftCardRecipients, bk as GiftCards, bm as GoogleGeocoders, bo as Imports, bq as InStockSubscriptions, bs as InventoryModels, bu as InventoryReturnLocations, bw as InventoryStockLocations, by as KlarnaGateways, bA as KlarnaPayments, bC as LineItemOptions, bE as LineItems, bG as Links, bI as ManualGateways, bK as ManualTaxCalculators, bM as Markets, bO as Merchants, bQ as Notifications, bS as OrderAmountPromotionRules, bU as OrderCopies, bW as OrderFactories, bY as OrderSubscriptionItems, b_ as OrderSubscriptions, c0 as Orders, c2 as Organizations, c4 as Packages, c6 as ParcelLineItems, c8 as Parcels, ca as PaymentGateways, cc as PaymentMethods, ce as PaymentOptions, cg as PaypalGateways, ci as PaypalPayments, ck as PercentageDiscountPromotions, cm as Pickups, co as PriceFrequencyTiers, cq as PriceListSchedulers, cs as PriceLists, cu as PriceTiers, cw as PriceVolumeTiers, cy as Prices, cA as PromotionRules, cC as Promotions, cE as RecurringOrderCopies, cG as Refunds, cI as ReservedStocks, cK as ResourceErrors, cM as ReturnLineItems, cO as Returns, cQ as SatispayGateways, cS as SatispayPayments, cU as Shipments, cW as ShippingCategories, cY as ShippingMethodTiers, c_ as ShippingMethods, d0 as ShippingWeightTiers, d2 as ShippingZones, d4 as SkuListItems, d6 as SkuListPromotionRules, d8 as SkuLists, da as SkuOptions, dc as Skus, de as StockItems, dg as StockLineItems, di as StockLocations, dk as StockReservations, dm as StockTransfers, dp as Stores, dr as StripeGateways, dt as StripePayments, dv as StripeTaxAccounts, dx as SubscriptionModels, dz as Tags, dB as TalonOneAccounts, dD as TaxCalculators, dF as TaxCategories, dH as TaxRules, dJ as TaxjarAccounts, dL as Transactions, dN as Versions, dP as VertexAccounts, dR as Voids, dT as Webhooks, dV as WireTransfers } from './api-4eRXMJTL.cjs';
2
+ import { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers } from './api-Hc0WV-9j.cjs';
3
3
  import './error.cjs';
4
- import './interceptor-k15jXzf0.cjs';
4
+ import './interceptor-ETmS7Tab.cjs';
5
5
  import './client.cjs';
6
6
  import './types.cjs';
7
7
 
package/lib/bundle.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.js';
2
- import { H as Addresses, J as Adjustments, N as AdyenGateways, P as AdyenPayments, W as Applications, Y as Attachments, _ as Authorizations, a0 as AvalaraAccounts, a2 as AxerveGateways, a4 as AxervePayments, a6 as BingGeocoders, a8 as BraintreeGateways, aa as BraintreePayments, ac as Bundles, ae as BuyXPayYPromotions, ag as Captures, ai as CarrierAccounts, ak as CheckoutComGateways, am as CheckoutComPayments, ao as Cleanups, aq as CouponCodesPromotionRules, as as CouponRecipients, au as Coupons, aw as CustomPromotionRules, ay as CustomerAddresses, aA as CustomerGroups, aC as CustomerPasswordResets, aE as CustomerPaymentSources, aG as CustomerSubscriptions, aI as Customers, aK as DeliveryLeadTimes, aM as DiscountEngineItems, aO as DiscountEngines, aQ as EasypostPickups, aS as EventCallbacks, aU as EventStores, aW as Events, aY as Exports, a_ as ExternalGateways, b0 as ExternalPayments, b2 as ExternalPromotions, b4 as ExternalTaxCalculators, b6 as FixedAmountPromotions, b8 as FixedPricePromotions, ba as FlexPromotions, bc as FreeGiftPromotions, be as FreeShippingPromotions, bg as Geocoders, bi as GiftCardRecipients, bk as GiftCards, bm as GoogleGeocoders, bo as Imports, bq as InStockSubscriptions, bs as InventoryModels, bu as InventoryReturnLocations, bw as InventoryStockLocations, by as KlarnaGateways, bA as KlarnaPayments, bC as LineItemOptions, bE as LineItems, bG as Links, bI as ManualGateways, bK as ManualTaxCalculators, bM as Markets, bO as Merchants, bQ as Notifications, bS as OrderAmountPromotionRules, bU as OrderCopies, bW as OrderFactories, bY as OrderSubscriptionItems, b_ as OrderSubscriptions, c0 as Orders, c2 as Organizations, c4 as Packages, c6 as ParcelLineItems, c8 as Parcels, ca as PaymentGateways, cc as PaymentMethods, ce as PaymentOptions, cg as PaypalGateways, ci as PaypalPayments, ck as PercentageDiscountPromotions, cm as Pickups, co as PriceFrequencyTiers, cq as PriceListSchedulers, cs as PriceLists, cu as PriceTiers, cw as PriceVolumeTiers, cy as Prices, cA as PromotionRules, cC as Promotions, cE as RecurringOrderCopies, cG as Refunds, cI as ReservedStocks, cK as ResourceErrors, cM as ReturnLineItems, cO as Returns, cQ as SatispayGateways, cS as SatispayPayments, cU as Shipments, cW as ShippingCategories, cY as ShippingMethodTiers, c_ as ShippingMethods, d0 as ShippingWeightTiers, d2 as ShippingZones, d4 as SkuListItems, d6 as SkuListPromotionRules, d8 as SkuLists, da as SkuOptions, dc as Skus, de as StockItems, dg as StockLineItems, di as StockLocations, dk as StockReservations, dm as StockTransfers, dp as Stores, dr as StripeGateways, dt as StripePayments, dv as StripeTaxAccounts, dx as SubscriptionModels, dz as Tags, dB as TalonOneAccounts, dD as TaxCalculators, dF as TaxCategories, dH as TaxRules, dJ as TaxjarAccounts, dL as Transactions, dN as Versions, dP as VertexAccounts, dR as Voids, dT as Webhooks, dV as WireTransfers } from './api-CAxIMq4w.js';
2
+ import { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers } from './api-DrryxHto.js';
3
3
  import './error.js';
4
- import './interceptor-k15jXzf0.js';
4
+ import './interceptor-ETmS7Tab.js';
5
5
  import './client.js';
6
6
  import './types.js';
7
7
 
package/lib/bundle.js CHANGED
@@ -19,9 +19,9 @@ import { stock_locations_default } from './chunk-ZYAGX4RM.js';
19
19
  import { stock_reservations_default } from './chunk-43SLAYP5.js';
20
20
  import { stock_transfers_default } from './chunk-HBDXHKBE.js';
21
21
  import { stores_default } from './chunk-UWM5SGDS.js';
22
- import { stripe_gateways_default } from './chunk-3SD7QN5M.js';
22
+ import { stripe_gateways_default } from './chunk-JD3MI7AO.js';
23
23
  import { stripe_payments_default } from './chunk-VGMMPMUL.js';
24
- import { shipping_methods_default } from './chunk-ZVS24BIO.js';
24
+ import { shipping_methods_default } from './chunk-HU6DRUWJ.js';
25
25
  import { shipping_weight_tiers_default } from './chunk-LESXALEZ.js';
26
26
  import { shipping_zones_default } from './chunk-F3UMNXXH.js';
27
27
  import { sku_list_items_default } from './chunk-LF3CZYGK.js';
@@ -32,7 +32,7 @@ import { skus_default } from './chunk-KMWKIU65.js';
32
32
  import { resource_errors_default } from './chunk-U25QRMJY.js';
33
33
  import { return_line_items_default } from './chunk-6PKJDHVC.js';
34
34
  import { returns_default } from './chunk-62EOOGD4.js';
35
- import { satispay_gateways_default } from './chunk-YPRABQMP.js';
35
+ import { satispay_gateways_default } from './chunk-3KNN5WPE.js';
36
36
  import { satispay_payments_default } from './chunk-ZXEE43XR.js';
37
37
  import { shipments_default } from './chunk-JPX4RLBV.js';
38
38
  import { shipping_categories_default } from './chunk-TWL4WEOL.js';
@@ -46,7 +46,7 @@ import { recurring_order_copies_default } from './chunk-MOKBZVUU.js';
46
46
  import { refunds_default } from './chunk-ME2ZNNMA.js';
47
47
  import { reserved_stocks_default } from './chunk-I2NZB6KN.js';
48
48
  import { payment_options_default } from './chunk-65LSQZTV.js';
49
- import { paypal_gateways_default } from './chunk-KDQRA5YH.js';
49
+ import { paypal_gateways_default } from './chunk-67LLQOPH.js';
50
50
  import { paypal_payments_default } from './chunk-UEDVN7C4.js';
51
51
  import { percentage_discount_promotions_default } from './chunk-GK5FCJ4X.js';
52
52
  import { pickups_default } from './chunk-TE3N57V6.js';
@@ -59,36 +59,36 @@ import { organizations_default } from './chunk-NQHQV4PY.js';
59
59
  import { packages_default } from './chunk-H5CKBXQS.js';
60
60
  import { parcel_line_items_default } from './chunk-OA7RZ24N.js';
61
61
  import { parcels_default } from './chunk-JAOFRM22.js';
62
- import { payment_gateways_default } from './chunk-7AHYBTEX.js';
62
+ import { payment_gateways_default } from './chunk-A3VWVK2F.js';
63
63
  import { payment_methods_default } from './chunk-33CXJXIW.js';
64
64
  import { manual_tax_calculators_default } from './chunk-4MCWJ5GT.js';
65
- import { markets_default } from './chunk-6MVBC553.js';
65
+ import { markets_default } from './chunk-2JB3IVP4.js';
66
66
  import { merchants_default } from './chunk-WO4S2ZUQ.js';
67
- import { notifications_default } from './chunk-F6TOLEEF.js';
67
+ import { notifications_default } from './chunk-34MN4L45.js';
68
68
  import { order_amount_promotion_rules_default } from './chunk-CETB5FAI.js';
69
69
  import { order_copies_default } from './chunk-A4MUL4NB.js';
70
70
  import { order_factories_default } from './chunk-W2EFIUTW.js';
71
71
  import { order_subscription_items_default } from './chunk-RJJQU44M.js';
72
72
  import { inventory_return_locations_default } from './chunk-OL6PRNU5.js';
73
73
  import { inventory_stock_locations_default } from './chunk-5TL34ZY6.js';
74
- import { klarna_gateways_default } from './chunk-DEYOBMM5.js';
74
+ import { klarna_gateways_default } from './chunk-VZGJGOH3.js';
75
75
  import { klarna_payments_default } from './chunk-I3ZMOPMJ.js';
76
76
  import { line_item_options_default } from './chunk-JPKZBEAY.js';
77
77
  import { line_items_default } from './chunk-NTAREPLJ.js';
78
78
  import { links_default } from './chunk-67TJ6ALR.js';
79
- import { manual_gateways_default } from './chunk-TWQ4THAG.js';
79
+ import { manual_gateways_default } from './chunk-A5KAGODH.js';
80
80
  import { free_shipping_promotions_default } from './chunk-AVF6NH6B.js';
81
81
  import { geocoders_default } from './chunk-IHPFHOEJ.js';
82
82
  import { gift_card_recipients_default } from './chunk-6EIS4TN3.js';
83
83
  import { gift_cards_default } from './chunk-JWLNUOL5.js';
84
84
  import { google_geocoders_default } from './chunk-2QBP2WHJ.js';
85
- import { imports_default } from './chunk-7LH7NNTW.js';
85
+ import { imports_default } from './chunk-K6MX6OZL.js';
86
86
  import { in_stock_subscriptions_default } from './chunk-FI2PWG6C.js';
87
87
  import { inventory_models_default } from './chunk-LE4I5AHS.js';
88
- import { external_gateways_default } from './chunk-PENOPHMW.js';
88
+ import { external_gateways_default } from './chunk-HBVSEXIQ.js';
89
89
  import { external_payments_default } from './chunk-G5IOYKFS.js';
90
- import { external_promotions_default } from './chunk-REUVJUJK.js';
91
- import { external_tax_calculators_default } from './chunk-EFU44R7O.js';
90
+ import { external_promotions_default } from './chunk-V7BADAPA.js';
91
+ import { external_tax_calculators_default } from './chunk-6SO2W3YA.js';
92
92
  import { fixed_amount_promotions_default } from './chunk-WMEEVBWE.js';
93
93
  import { fixed_price_promotions_default } from './chunk-MVRW3HS2.js';
94
94
  import { flex_promotions_default } from './chunk-BNWM637R.js';
@@ -112,26 +112,26 @@ import { customers_default } from './chunk-DIE5NWNX.js';
112
112
  import { buy_x_pay_y_promotions_default } from './chunk-VZV45GGC.js';
113
113
  import { captures_default } from './chunk-P5GRTTMC.js';
114
114
  import { carrier_accounts_default } from './chunk-VUVL5VPT.js';
115
- import { checkout_com_gateways_default } from './chunk-HH3NIT7B.js';
115
+ import { checkout_com_gateways_default } from './chunk-FFX5MED5.js';
116
116
  import { checkout_com_payments_default } from './chunk-G2ZCHH4W.js';
117
117
  import { cleanups_default } from './chunk-E2EVY45K.js';
118
118
  import { coupon_codes_promotion_rules_default } from './chunk-MXT6VH7V.js';
119
119
  import { coupon_recipients_default } from './chunk-BTLPF6RH.js';
120
120
  import { authorizations_default } from './chunk-N5DBVBID.js';
121
121
  import { avalara_accounts_default } from './chunk-MUMTGXL2.js';
122
- import { axerve_gateways_default } from './chunk-4ATZM33H.js';
122
+ import { axerve_gateways_default } from './chunk-SFFSVEXJ.js';
123
123
  import { axerve_payments_default } from './chunk-LGOJTWKL.js';
124
124
  import { bing_geocoders_default } from './chunk-VT5HP44I.js';
125
- import { braintree_gateways_default } from './chunk-OS5DXUBX.js';
125
+ import { braintree_gateways_default } from './chunk-BGH55KTL.js';
126
126
  import { braintree_payments_default } from './chunk-Y3NZRCF4.js';
127
127
  import { bundles_default } from './chunk-H6AQZ5TP.js';
128
128
  import { addresses_default } from './chunk-3ZOHHEJR.js';
129
129
  import { adjustments_default } from './chunk-WK3SIZUG.js';
130
- import { adyen_gateways_default } from './chunk-PIYKFPYB.js';
130
+ import { adyen_gateways_default } from './chunk-IR2JJDF5.js';
131
131
  import { adyen_payments_default } from './chunk-GRBPCPJQ.js';
132
132
  import { applications_default } from './chunk-YTXFX5LA.js';
133
- import { attachments_default } from './chunk-KIB4XYWP.js';
134
- import { CommerceLayerClient } from './chunk-OQHCTA6S.js';
133
+ import { attachments_default } from './chunk-ERA2COOU.js';
134
+ import { CommerceLayerClient } from './chunk-MBWTMQHA.js';
135
135
  import './chunk-XKERR6OR.js';
136
136
  import './chunk-CHYP5F26.js';
137
137
  import './chunk-UUY77JM3.js';
@@ -30,6 +30,12 @@ var AdyenGateways = class _AdyenGateways extends chunkU22VLCMN_cjs.ApiResource {
30
30
  const _adyenGatewayId = adyenGatewayId.id || adyenGatewayId;
31
31
  return this.resources.fetch({ type: "adyen_payments" }, `adyen_gateways/${_adyenGatewayId}/adyen_payments`, params, options);
32
32
  }
33
+ async _disable(id, params, options) {
34
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _AdyenGateways.TYPE, _disable: true }, params, options);
35
+ }
36
+ async _enable(id, params, options) {
37
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _AdyenGateways.TYPE, _enable: true }, params, options);
38
+ }
33
39
  isAdyenGateway(resource) {
34
40
  return resource.type && resource.type === _AdyenGateways.TYPE;
35
41
  }
@@ -47,5 +53,5 @@ var instance = new AdyenGateways();
47
53
  var adyen_gateways_default = instance;
48
54
 
49
55
  exports.adyen_gateways_default = adyen_gateways_default;
50
- //# sourceMappingURL=chunk-FCGKL7AI.cjs.map
51
- //# sourceMappingURL=chunk-FCGKL7AI.cjs.map
56
+ //# sourceMappingURL=chunk-2C3Z5JNK.cjs.map
57
+ //# sourceMappingURL=chunk-2C3Z5JNK.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/adyen_gateways.ts"],"names":["ApiResource"],"mappings":";;;;;AAiOA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsBA,6BAAA,CAA0B;AAAA,EAErD,OAAgB,IAAA,GAAyB,gBAAA;AAAA,EAEzC,MAAM,MAAA,CAAO,QAAA,EAA8B,MAAA,EAA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AA,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-2C3Z5JNK.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { AdyenPayment, AdyenPaymentType } from './adyen_payments'\n\n\ntype AdyenGatewayType = 'adyen_gateways'\ntype AdyenGatewayRel = ResourceRel & { type: AdyenGatewayType }\ntype AdyenPaymentRel = ResourceRel & { type: AdyenPaymentType }\n\n\nexport type AdyenGatewaySort = Pick<AdyenGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type AdyenGatewayFilter = Pick<AdyenGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface AdyenGateway extends Resource {\n\t\n\treadonly type: AdyenGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The prefix of the endpoint used for live transactions.\n\t * @example ```\"1797a841fbb37ca7-AdyenDemo\"```\n\t */\n\tlive_url_prefix: string\n\t/** \n\t * The checkout API version, supported range is from 66 to 71, default is 71.\n\t * @example ```71```\n\t */\n\tapi_version?: number | null\n\t/** \n\t * Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.\n\t * @example ```true```\n\t */\n\tasync_api?: boolean | null\n\t/** \n\t * Send this attribute if you want to enable partial payments for the order.\n\t */\n\tpartial_payments?: boolean | null\n\t/** \n\t * Indicates if the gateway will use the native customer payment sources.\n\t * @example ```true```\n\t */\n\tnative_customer_payment_sources?: boolean | null\n\t/** \n\t * The gateway webhook endpoint secret, generated by Adyen customer area.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\twebhook_endpoint_secret?: string | null\n\t/** \n\t * The gateway webhook URL, generated automatically.\n\t * @example ```\"https://core.commercelayer.co/webhook_callbacks/adyen_gateways/xxxxx\"```\n\t */\n\twebhook_endpoint_url?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tadyen_payments?: AdyenPayment[] | null\n\n}\n\n\ninterface AdyenGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The gateway merchant account.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_account: string\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key: string\n\t/** \n\t * The public key linked to your API credential.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key?: string | null\n\t/** \n\t * The prefix of the endpoint used for live transactions.\n\t * @example ```\"1797a841fbb37ca7-AdyenDemo\"```\n\t */\n\tlive_url_prefix: string\n\t/** \n\t * The checkout API version, supported range is from 66 to 71, default is 71.\n\t * @example ```71```\n\t */\n\tapi_version?: number | null\n\t/** \n\t * Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.\n\t * @example ```true```\n\t */\n\tasync_api?: boolean | null\n\t/** \n\t * Send this attribute if you want to enable partial payments for the order.\n\t */\n\tpartial_payments?: boolean | null\n\t/** \n\t * Indicates if the gateway will use the native customer payment sources.\n\t * @example ```true```\n\t */\n\tnative_customer_payment_sources?: boolean | null\n\t/** \n\t * The gateway webhook endpoint secret, generated by Adyen customer area.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\twebhook_endpoint_secret?: string | null\n\n\tadyen_payments?: AdyenPaymentRel[] | null\n\n}\n\n\ninterface AdyenGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The gateway merchant account.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_account?: string | null\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key?: string | null\n\t/** \n\t * The public key linked to your API credential.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key?: string | null\n\t/** \n\t * The prefix of the endpoint used for live transactions.\n\t * @example ```\"1797a841fbb37ca7-AdyenDemo\"```\n\t */\n\tlive_url_prefix?: string | null\n\t/** \n\t * The checkout API version, supported range is from 66 to 71, default is 71.\n\t * @example ```71```\n\t */\n\tapi_version?: number | null\n\t/** \n\t * Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.\n\t * @example ```true```\n\t */\n\tasync_api?: boolean | null\n\t/** \n\t * Send this attribute if you want to enable partial payments for the order.\n\t */\n\tpartial_payments?: boolean | null\n\t/** \n\t * Indicates if the gateway will use the native customer payment sources.\n\t * @example ```true```\n\t */\n\tnative_customer_payment_sources?: boolean | null\n\t/** \n\t * The gateway webhook endpoint secret, generated by Adyen customer area.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\twebhook_endpoint_secret?: string | null\n\n\tadyen_payments?: AdyenPaymentRel[] | null\n\n}\n\n\nclass AdyenGateways extends ApiResource<AdyenGateway> {\n\n\tstatic readonly TYPE: AdyenGatewayType = 'adyen_gateways' as const\n\n\tasync create(resource: AdyenGatewayCreate, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway> {\n\t\treturn this.resources.create<AdyenGatewayCreate, AdyenGateway>({ ...resource, type: AdyenGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: AdyenGatewayUpdate, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway> {\n\t\treturn this.resources.update<AdyenGatewayUpdate, AdyenGateway>({ ...resource, type: AdyenGateways.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: AdyenGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _adyenGatewayId = (adyenGatewayId as AdyenGateway).id || adyenGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `adyen_gateways/${_adyenGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _adyenGatewayId = (adyenGatewayId as AdyenGateway).id || adyenGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `adyen_gateways/${_adyenGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _adyenGatewayId = (adyenGatewayId as AdyenGateway).id || adyenGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `adyen_gateways/${_adyenGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync adyen_payments(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<AdyenPayment>, options?: ResourcesConfig): Promise<ListResponse<AdyenPayment>> {\n\t\tconst _adyenGatewayId = (adyenGatewayId as AdyenGateway).id || adyenGatewayId as string\n\t\treturn this.resources.fetch<AdyenPayment>({ type: 'adyen_payments' }, `adyen_gateways/${_adyenGatewayId}/adyen_payments`, params, options) as unknown as ListResponse<AdyenPayment>\n\t}\n\n\tasync _disable(id: string | AdyenGateway, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway> {\n\t\treturn this.resources.update<AdyenGatewayUpdate, AdyenGateway>({ id: (typeof id === 'string')? id: id.id, type: AdyenGateways.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | AdyenGateway, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway> {\n\t\treturn this.resources.update<AdyenGatewayUpdate, AdyenGateway>({ id: (typeof id === 'string')? id: id.id, type: AdyenGateways.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisAdyenGateway(resource: any): resource is AdyenGateway {\n\t\treturn resource.type && (resource.type === AdyenGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): AdyenGatewayRel {\n\t\treturn super.relationshipOneToOne<AdyenGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): AdyenGatewayRel[] {\n\t\treturn super.relationshipOneToMany<AdyenGatewayRel>(...ids)\n\t}\n\n\n\ttype(): AdyenGatewayType {\n\t\treturn AdyenGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new AdyenGateways()\nexport default instance\n\nexport type { AdyenGateways, AdyenGateway, AdyenGatewayCreate, AdyenGatewayUpdate, AdyenGatewayType }\n"]}
@@ -95,5 +95,5 @@ var instance = new Markets();
95
95
  var markets_default = instance;
96
96
 
97
97
  export { markets_default };
98
- //# sourceMappingURL=chunk-6MVBC553.js.map
99
- //# sourceMappingURL=chunk-6MVBC553.js.map
98
+ //# sourceMappingURL=chunk-2JB3IVP4.js.map
99
+ //# sourceMappingURL=chunk-2JB3IVP4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/markets.ts"],"names":[],"mappings":";;;AA4QA,IAAM,OAAA,GAAN,MAAM,QAAA,SAAgB,WAAA,CAAoB;AAAA,EAEzC,OAAgB,IAAA,GAAmB,SAAA;AAAA,EAEnC,MAAM,MAAA,CAAO,QAAA,EAAwB,MAAA,EAAsC,OAAA,EAA4C;AACtH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,QAAA,CAAQ,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACxG;AAAA,EAEA,MAAM,MAAA,CAAO,Q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nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Merchant, MerchantType } from './merchants'\nimport type { PriceList, PriceListType } from './price_lists'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { SubscriptionModel, SubscriptionModelType } from './subscription_models'\nimport type { DiscountEngine, DiscountEngineType } from './discount_engines'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { Geocoder, GeocoderType } from './geocoders'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { Store } from './stores'\nimport type { PriceListScheduler } from './price_list_schedulers'\nimport type { Attachment } from './attachments'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { AvalaraAccount, AvalaraAccountType } from './avalara_accounts'\nimport type { StripeTaxAccount, StripeTaxAccountType } from './stripe_tax_accounts'\nimport type { VertexAccount, VertexAccountType } from './vertex_accounts'\nimport type { TaxjarAccount, TaxjarAccountType } from './taxjar_accounts'\nimport type { ManualTaxCalculator, ManualTaxCalculatorType } from './manual_tax_calculators'\nimport type { ExternalTaxCalculator, ExternalTaxCalculatorType } from './external_tax_calculators'\n\n\ntype MarketType = 'markets'\ntype MarketRel = ResourceRel & { type: MarketType }\ntype MerchantRel = ResourceRel & { type: MerchantType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\ntype SubscriptionModelRel = ResourceRel & { type: SubscriptionModelType }\ntype DiscountEngineRel = ResourceRel & { type: DiscountEngineType }\ntype AvalaraAccountRel = ResourceRel & { type: AvalaraAccountType }\ntype StripeTaxAccountRel = ResourceRel & { type: StripeTaxAccountType }\ntype VertexAccountRel = ResourceRel & { type: VertexAccountType }\ntype TaxjarAccountRel = ResourceRel & { type: TaxjarAccountType }\ntype ManualTaxCalculatorRel = ResourceRel & { type: ManualTaxCalculatorType }\ntype ExternalTaxCalculatorRel = ResourceRel & { type: ExternalTaxCalculatorType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\n\n\nexport type MarketSort = Pick<Market, 'id' | 'name' | 'code' | 'disabled_at'> & ResourceSort\n// export type MarketFilter = Pick<Market, 'id' | 'name' | 'code' | 'disabled_at'> & ResourceFilter\n\n\ninterface Market extends Resource {\n\t\n\treadonly type: MarketType\n\n\t/** \n\t * Unique identifier for the market (numeric).\n\t * @example ```1234```\n\t */\n\tnumber?: number | null\n\t/** \n\t * The market's internal name.\n\t * @example ```\"EU Market\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the market (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The Facebook Pixed ID.\n\t * @example ```\"1234567890\"```\n\t */\n\tfacebook_pixel_id?: string | null\n\t/** \n\t * The checkout URL for this market.\n\t * @example ```\"https://checkout.yourbrand.com/:order_id\"```\n\t */\n\tcheckout_url?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The URL used to validate orders by an external source.\n\t * @example ```\"https://external_validation.yourbrand.com\"```\n\t */\n\texternal_order_validation_url?: string | null\n\t/** \n\t * Indicates if market belongs to a customer_group.\n\t * @example ```true```\n\t */\n\tprivate?: boolean | null\n\t/** \n\t * When specified indicates the maximum number of shipping line items with cost that will be added to an order.\n\t * @example ```3```\n\t */\n\tshipping_cost_cutoff?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The shared secret used to sign the external request payload.\n\t * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n\t */\n\tshared_secret: string\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmerchant?: Merchant | null\n\tprice_list?: PriceList | null\n\tbase_price_list?: PriceList | null\n\tinventory_model?: InventoryModel | null\n\tsubscription_model?: SubscriptionModel | null\n\tdiscount_engine?: DiscountEngine | null\n\ttax_calculator?: AvalaraAccount | StripeTaxAccount | VertexAccount | TaxjarAccount | ManualTaxCalculator | ExternalTaxCalculator | null\n\tcustomer_group?: CustomerGroup | null\n\tgeocoder?: Geocoder | null\n\tdefault_shipping_method?: ShippingMethod | null\n\tdefault_payment_method?: PaymentMethod | null\n\tstores?: Store[] | null\n\tprice_list_schedulers?: PriceListScheduler[] | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface MarketCreate extends ResourceCreate {\n\t\n\t/** \n\t * The market's internal name.\n\t * @example ```\"EU Market\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the market (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The Facebook Pixed ID.\n\t * @example ```\"1234567890\"```\n\t */\n\tfacebook_pixel_id?: string | null\n\t/** \n\t * The checkout URL for this market.\n\t * @example ```\"https://checkout.yourbrand.com/:order_id\"```\n\t */\n\tcheckout_url?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The URL used to validate orders by an external source.\n\t * @example ```\"https://external_validation.yourbrand.com\"```\n\t */\n\texternal_order_validation_url?: string | null\n\t/** \n\t * When specified indicates the maximum number of shipping line items with cost that will be added to an order.\n\t * @example ```3```\n\t */\n\tshipping_cost_cutoff?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmerchant: MerchantRel\n\tprice_list: PriceListRel\n\tinventory_model: InventoryModelRel\n\tsubscription_model?: SubscriptionModelRel | null\n\tdiscount_engine?: DiscountEngineRel | null\n\ttax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null\n\tcustomer_group?: CustomerGroupRel | null\n\tgeocoder?: GeocoderRel | null\n\tdefault_shipping_method?: ShippingMethodRel | null\n\tdefault_payment_method?: PaymentMethodRel | null\n\n}\n\n\ninterface MarketUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The market's internal name.\n\t * @example ```\"EU Market\"```\n\t */\n\tname?: string | null\n\t/** \n\t * A string that you can use to identify the market (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The Facebook Pixed ID.\n\t * @example ```\"1234567890\"```\n\t */\n\tfacebook_pixel_id?: string | null\n\t/** \n\t * The checkout URL for this market.\n\t * @example ```\"https://checkout.yourbrand.com/:order_id\"```\n\t */\n\tcheckout_url?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The URL used to validate orders by an external source.\n\t * @example ```\"https://external_validation.yourbrand.com\"```\n\t */\n\texternal_order_validation_url?: string | null\n\t/** \n\t * When specified indicates the maximum number of shipping line items with cost that will be added to an order.\n\t * @example ```3```\n\t */\n\tshipping_cost_cutoff?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmerchant?: MerchantRel | null\n\tprice_list?: PriceListRel | null\n\tinventory_model?: InventoryModelRel | null\n\tsubscription_model?: SubscriptionModelRel | null\n\tdiscount_engine?: DiscountEngineRel | null\n\ttax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null\n\tcustomer_group?: CustomerGroupRel | null\n\tgeocoder?: GeocoderRel | null\n\tdefault_shipping_method?: ShippingMethodRel | null\n\tdefault_payment_method?: PaymentMethodRel | null\n\n}\n\n\nclass Markets extends ApiResource<Market> {\n\n\tstatic readonly TYPE: MarketType = 'markets' as const\n\n\tasync create(resource: MarketCreate, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.create<MarketCreate, Market>({ ...resource, type: Markets.TYPE }, params, options)\n\t}\n\n\tasync update(resource: MarketUpdate, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.update<MarketUpdate, Market>({ ...resource, type: Markets.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: Markets.TYPE } : id, options)\n\t}\n\n\tasync merchant(marketId: string | Market, params?: QueryParamsRetrieve<Merchant>, options?: ResourcesConfig): Promise<Merchant> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Merchant>({ type: 'merchants' }, `markets/${_marketId}/merchant`, params, options) as unknown as Merchant\n\t}\n\n\tasync price_list(marketId: string | Market, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PriceList>({ type: 'price_lists' }, `markets/${_marketId}/price_list`, params, options) as unknown as PriceList\n\t}\n\n\tasync base_price_list(marketId: string | Market, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PriceList>({ type: 'price_lists' }, `markets/${_marketId}/base_price_list`, params, options) as unknown as PriceList\n\t}\n\n\tasync inventory_model(marketId: string | Market, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<InventoryModel>({ type: 'inventory_models' }, `markets/${_marketId}/inventory_model`, params, options) as unknown as InventoryModel\n\t}\n\n\tasync subscription_model(marketId: string | Market, params?: QueryParamsRetrieve<SubscriptionModel>, options?: ResourcesConfig): Promise<SubscriptionModel> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<SubscriptionModel>({ type: 'subscription_models' }, `markets/${_marketId}/subscription_model`, params, options) as unknown as SubscriptionModel\n\t}\n\n\tasync discount_engine(marketId: string | Market, params?: QueryParamsRetrieve<DiscountEngine>, options?: ResourcesConfig): Promise<DiscountEngine> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<DiscountEngine>({ type: 'discount_engines' }, `markets/${_marketId}/discount_engine`, params, options) as unknown as DiscountEngine\n\t}\n\n\tasync customer_group(marketId: string | Market, params?: QueryParamsRetrieve<CustomerGroup>, options?: ResourcesConfig): Promise<CustomerGroup> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<CustomerGroup>({ type: 'customer_groups' }, `markets/${_marketId}/customer_group`, params, options) as unknown as CustomerGroup\n\t}\n\n\tasync geocoder(marketId: string | Market, params?: QueryParamsRetrieve<Geocoder>, options?: ResourcesConfig): Promise<Geocoder> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Geocoder>({ type: 'geocoders' }, `markets/${_marketId}/geocoder`, params, options) as unknown as Geocoder\n\t}\n\n\tasync default_shipping_method(marketId: string | Market, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<ShippingMethod>({ type: 'shipping_methods' }, `markets/${_marketId}/default_shipping_method`, params, options) as unknown as ShippingMethod\n\t}\n\n\tasync default_payment_method(marketId: string | Market, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `markets/${_marketId}/default_payment_method`, params, options) as unknown as PaymentMethod\n\t}\n\n\tasync stores(marketId: string | Market, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Store>({ type: 'stores' }, `markets/${_marketId}/stores`, params, options) as unknown as ListResponse<Store>\n\t}\n\n\tasync price_list_schedulers(marketId: string | Market, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PriceListScheduler>({ type: 'price_list_schedulers' }, `markets/${_marketId}/price_list_schedulers`, params, options) as unknown as ListResponse<PriceListScheduler>\n\t}\n\n\tasync attachments(marketId: string | Market, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `markets/${_marketId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(marketId: string | Market, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `markets/${_marketId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(marketId: string | Market, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `markets/${_marketId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _disable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.update<MarketUpdate, Market>({ id: (typeof id === 'string')? id: id.id, type: Markets.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.update<MarketUpdate, Market>({ id: (typeof id === 'string')? id: id.id, type: Markets.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisMarket(resource: any): resource is Market {\n\t\treturn resource.type && (resource.type === Markets.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): MarketRel {\n\t\treturn super.relationshipOneToOne<MarketRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): MarketRel[] {\n\t\treturn super.relationshipOneToMany<MarketRel>(...ids)\n\t}\n\n\n\ttype(): MarketType {\n\t\treturn Markets.TYPE\n\t}\n\n}\n\n\nconst instance = new Markets()\nexport default instance\n\nexport type { Markets, Market, MarketCreate, MarketUpdate, MarketType }\n"]}
@@ -35,5 +35,5 @@ var instance = new Attachments();
35
35
  var attachments_default = instance;
36
36
 
37
37
  exports.attachments_default = attachments_default;
38
- //# sourceMappingURL=chunk-UTFSZHUD.cjs.map
39
- //# sourceMappingURL=chunk-UTFSZHUD.cjs.map
38
+ //# sourceMappingURL=chunk-2ZVHALAO.cjs.map
39
+ //# sourceMappingURL=chunk-2ZVHALAO.cjs.map