@commercelayer/sdk 7.4.1 → 7.5.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 (366) hide show
  1. package/LICENSE +1 -1
  2. package/lib/{api-CAxIMq4w.d.ts → api-CMxJYHwj.d.ts} +184 -99
  3. package/lib/{api-4eRXMJTL.d.cts → api-XshEzS_t.d.cts} +184 -99
  4. package/lib/api.cjs +16 -16
  5. package/lib/api.d.cts +1 -1
  6. package/lib/api.d.ts +1 -1
  7. package/lib/api.js +8 -8
  8. package/lib/bundle.cjs +18 -18
  9. package/lib/bundle.d.cts +1 -1
  10. package/lib/bundle.d.ts +1 -1
  11. package/lib/bundle.js +9 -9
  12. package/lib/{chunk-6MVBC553.js → chunk-2JB3IVP4.js} +2 -2
  13. package/lib/chunk-2JB3IVP4.js.map +1 -0
  14. package/lib/{chunk-UTFSZHUD.cjs → chunk-2ZVHALAO.cjs} +2 -2
  15. package/lib/{chunk-UTFSZHUD.cjs.map → chunk-2ZVHALAO.cjs.map} +1 -1
  16. package/lib/{chunk-F6TOLEEF.js → chunk-34MN4L45.js} +2 -2
  17. package/lib/{chunk-F6TOLEEF.js.map → chunk-34MN4L45.js.map} +1 -1
  18. package/lib/{chunk-EFU44R7O.js → chunk-6SO2W3YA.js} +2 -2
  19. package/lib/chunk-6SO2W3YA.js.map +1 -0
  20. package/lib/{chunk-LZXPO7K6.cjs → chunk-ALCZSKPR.cjs} +2 -2
  21. package/lib/chunk-ALCZSKPR.cjs.map +1 -0
  22. package/lib/{chunk-WQ7WYE77.cjs → chunk-AYM2RMFY.cjs} +3 -3
  23. package/lib/chunk-AYM2RMFY.cjs.map +1 -0
  24. package/lib/{chunk-4B4WZM22.cjs → chunk-C27B7IUW.cjs} +2 -2
  25. package/lib/{chunk-4B4WZM22.cjs.map → chunk-C27B7IUW.cjs.map} +1 -1
  26. package/lib/{chunk-KIB4XYWP.js → chunk-ERA2COOU.js} +2 -2
  27. package/lib/{chunk-KIB4XYWP.js.map → chunk-ERA2COOU.js.map} +1 -1
  28. package/lib/{chunk-OBUC6JTQ.js → chunk-FXR7URWO.js} +3 -3
  29. package/lib/{chunk-OBUC6JTQ.js.map → chunk-FXR7URWO.js.map} +1 -1
  30. package/lib/{chunk-ZVS24BIO.js → chunk-HU6DRUWJ.js} +2 -2
  31. package/lib/chunk-HU6DRUWJ.js.map +1 -0
  32. package/lib/{chunk-LGO42DAS.cjs → chunk-JWB5Y2WT.cjs} +2 -2
  33. package/lib/chunk-JWB5Y2WT.cjs.map +1 -0
  34. package/lib/{chunk-7LH7NNTW.js → chunk-K6MX6OZL.js} +2 -2
  35. package/lib/{chunk-7LH7NNTW.js.map → chunk-K6MX6OZL.js.map} +1 -1
  36. package/lib/{chunk-HZAMBMKK.cjs → chunk-LTVCCLTK.cjs} +2 -2
  37. package/lib/chunk-LTVCCLTK.cjs.map +1 -0
  38. package/lib/{chunk-I73TW24N.cjs → chunk-MBROL4C2.cjs} +2 -2
  39. package/lib/chunk-MBROL4C2.cjs.map +1 -0
  40. package/lib/{chunk-R2TFAOMW.cjs → chunk-MCWZ3Z3F.cjs} +4 -4
  41. package/lib/{chunk-R2TFAOMW.cjs.map → chunk-MCWZ3Z3F.cjs.map} +1 -1
  42. package/lib/{chunk-ZW4CB7J7.cjs → chunk-NVNPOVIQ.cjs} +2 -2
  43. package/lib/{chunk-ZW4CB7J7.cjs.map → chunk-NVNPOVIQ.cjs.map} +1 -1
  44. package/lib/{chunk-OQHCTA6S.js → chunk-V7377LPP.js} +3 -3
  45. package/lib/chunk-V7377LPP.js.map +1 -0
  46. package/lib/{chunk-REUVJUJK.js → chunk-V7BADAPA.js} +2 -2
  47. package/lib/chunk-V7BADAPA.js.map +1 -0
  48. package/lib/{chunk-7OLCOMGV.cjs → chunk-W3TAU6GU.cjs} +2 -2
  49. package/lib/chunk-W3TAU6GU.cjs.map +1 -0
  50. package/lib/{chunk-PENOPHMW.js → chunk-YFRXWHOB.js} +2 -2
  51. package/lib/chunk-YFRXWHOB.js.map +1 -0
  52. package/lib/commercelayer.cjs +5 -5
  53. package/lib/commercelayer.d.cts +3 -3
  54. package/lib/commercelayer.d.ts +3 -3
  55. package/lib/commercelayer.js +1 -1
  56. package/lib/enum.d.cts +1 -1
  57. package/lib/enum.d.ts +1 -1
  58. package/lib/index.cjs +21 -21
  59. package/lib/index.d.cts +1 -1
  60. package/lib/index.d.ts +1 -1
  61. package/lib/index.js +10 -10
  62. package/lib/jsonapi.d.cts +1 -1
  63. package/lib/jsonapi.d.ts +1 -1
  64. package/lib/model.d.cts +1 -1
  65. package/lib/model.d.ts +1 -1
  66. package/lib/query.d.cts +1 -1
  67. package/lib/query.d.ts +1 -1
  68. package/lib/resource.d.cts +1 -1
  69. package/lib/resource.d.ts +1 -1
  70. package/lib/resources/addresses.d.cts +2 -2
  71. package/lib/resources/addresses.d.ts +1 -1
  72. package/lib/resources/adjustments.d.cts +2 -2
  73. package/lib/resources/adjustments.d.ts +1 -1
  74. package/lib/resources/adyen_gateways.d.cts +2 -2
  75. package/lib/resources/adyen_gateways.d.ts +1 -1
  76. package/lib/resources/adyen_payments.d.cts +2 -2
  77. package/lib/resources/adyen_payments.d.ts +1 -1
  78. package/lib/resources/applications.d.cts +2 -2
  79. package/lib/resources/applications.d.ts +1 -1
  80. package/lib/resources/attachments.cjs +2 -2
  81. package/lib/resources/attachments.d.cts +2 -2
  82. package/lib/resources/attachments.d.ts +1 -1
  83. package/lib/resources/attachments.js +1 -1
  84. package/lib/resources/authorizations.d.cts +2 -2
  85. package/lib/resources/authorizations.d.ts +1 -1
  86. package/lib/resources/avalara_accounts.d.cts +2 -2
  87. package/lib/resources/avalara_accounts.d.ts +1 -1
  88. package/lib/resources/axerve_gateways.d.cts +2 -2
  89. package/lib/resources/axerve_gateways.d.ts +1 -1
  90. package/lib/resources/axerve_payments.d.cts +2 -2
  91. package/lib/resources/axerve_payments.d.ts +1 -1
  92. package/lib/resources/bing_geocoders.d.cts +2 -2
  93. package/lib/resources/bing_geocoders.d.ts +1 -1
  94. package/lib/resources/braintree_gateways.d.cts +2 -2
  95. package/lib/resources/braintree_gateways.d.ts +1 -1
  96. package/lib/resources/braintree_payments.d.cts +2 -2
  97. package/lib/resources/braintree_payments.d.ts +1 -1
  98. package/lib/resources/bundles.d.cts +2 -2
  99. package/lib/resources/bundles.d.ts +1 -1
  100. package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
  101. package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
  102. package/lib/resources/captures.d.cts +2 -2
  103. package/lib/resources/captures.d.ts +1 -1
  104. package/lib/resources/carrier_accounts.d.cts +2 -2
  105. package/lib/resources/carrier_accounts.d.ts +1 -1
  106. package/lib/resources/checkout_com_gateways.d.cts +2 -2
  107. package/lib/resources/checkout_com_gateways.d.ts +1 -1
  108. package/lib/resources/checkout_com_payments.d.cts +2 -2
  109. package/lib/resources/checkout_com_payments.d.ts +1 -1
  110. package/lib/resources/cleanups.d.cts +2 -2
  111. package/lib/resources/cleanups.d.ts +1 -1
  112. package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
  113. package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
  114. package/lib/resources/coupon_recipients.d.cts +2 -2
  115. package/lib/resources/coupon_recipients.d.ts +1 -1
  116. package/lib/resources/coupons.d.cts +2 -2
  117. package/lib/resources/coupons.d.ts +1 -1
  118. package/lib/resources/custom_promotion_rules.d.cts +2 -2
  119. package/lib/resources/custom_promotion_rules.d.ts +1 -1
  120. package/lib/resources/customer_addresses.d.cts +2 -2
  121. package/lib/resources/customer_addresses.d.ts +1 -1
  122. package/lib/resources/customer_groups.d.cts +2 -2
  123. package/lib/resources/customer_groups.d.ts +1 -1
  124. package/lib/resources/customer_password_resets.d.cts +2 -2
  125. package/lib/resources/customer_password_resets.d.ts +1 -1
  126. package/lib/resources/customer_payment_sources.d.cts +2 -2
  127. package/lib/resources/customer_payment_sources.d.ts +1 -1
  128. package/lib/resources/customer_subscriptions.d.cts +2 -2
  129. package/lib/resources/customer_subscriptions.d.ts +1 -1
  130. package/lib/resources/customers.d.cts +2 -2
  131. package/lib/resources/customers.d.ts +1 -1
  132. package/lib/resources/delivery_lead_times.d.cts +2 -2
  133. package/lib/resources/delivery_lead_times.d.ts +1 -1
  134. package/lib/resources/discount_engine_items.d.cts +2 -2
  135. package/lib/resources/discount_engine_items.d.ts +1 -1
  136. package/lib/resources/discount_engines.d.cts +2 -2
  137. package/lib/resources/discount_engines.d.ts +1 -1
  138. package/lib/resources/easypost_pickups.d.cts +2 -2
  139. package/lib/resources/easypost_pickups.d.ts +1 -1
  140. package/lib/resources/event_callbacks.d.cts +2 -2
  141. package/lib/resources/event_callbacks.d.ts +1 -1
  142. package/lib/resources/event_stores.d.cts +2 -2
  143. package/lib/resources/event_stores.d.ts +1 -1
  144. package/lib/resources/events.d.cts +2 -2
  145. package/lib/resources/events.d.ts +1 -1
  146. package/lib/resources/exports.d.cts +2 -2
  147. package/lib/resources/exports.d.ts +1 -1
  148. package/lib/resources/external_gateways.cjs +2 -2
  149. package/lib/resources/external_gateways.d.cts +2 -2
  150. package/lib/resources/external_gateways.d.ts +1 -1
  151. package/lib/resources/external_gateways.js +1 -1
  152. package/lib/resources/external_payments.d.cts +2 -2
  153. package/lib/resources/external_payments.d.ts +1 -1
  154. package/lib/resources/external_promotions.cjs +2 -2
  155. package/lib/resources/external_promotions.d.cts +2 -2
  156. package/lib/resources/external_promotions.d.ts +1 -1
  157. package/lib/resources/external_promotions.js +1 -1
  158. package/lib/resources/external_tax_calculators.cjs +2 -2
  159. package/lib/resources/external_tax_calculators.d.cts +2 -2
  160. package/lib/resources/external_tax_calculators.d.ts +1 -1
  161. package/lib/resources/external_tax_calculators.js +1 -1
  162. package/lib/resources/fixed_amount_promotions.d.cts +2 -2
  163. package/lib/resources/fixed_amount_promotions.d.ts +1 -1
  164. package/lib/resources/fixed_price_promotions.d.cts +2 -2
  165. package/lib/resources/fixed_price_promotions.d.ts +1 -1
  166. package/lib/resources/flex_promotions.d.cts +2 -2
  167. package/lib/resources/flex_promotions.d.ts +1 -1
  168. package/lib/resources/free_gift_promotions.d.cts +2 -2
  169. package/lib/resources/free_gift_promotions.d.ts +1 -1
  170. package/lib/resources/free_shipping_promotions.d.cts +2 -2
  171. package/lib/resources/free_shipping_promotions.d.ts +1 -1
  172. package/lib/resources/geocoders.d.cts +2 -2
  173. package/lib/resources/geocoders.d.ts +1 -1
  174. package/lib/resources/gift_card_recipients.d.cts +2 -2
  175. package/lib/resources/gift_card_recipients.d.ts +1 -1
  176. package/lib/resources/gift_cards.d.cts +2 -2
  177. package/lib/resources/gift_cards.d.ts +1 -1
  178. package/lib/resources/google_geocoders.d.cts +2 -2
  179. package/lib/resources/google_geocoders.d.ts +1 -1
  180. package/lib/resources/imports.cjs +2 -2
  181. package/lib/resources/imports.d.cts +2 -2
  182. package/lib/resources/imports.d.ts +1 -1
  183. package/lib/resources/imports.js +1 -1
  184. package/lib/resources/in_stock_subscriptions.d.cts +2 -2
  185. package/lib/resources/in_stock_subscriptions.d.ts +1 -1
  186. package/lib/resources/inventory_models.d.cts +2 -2
  187. package/lib/resources/inventory_models.d.ts +1 -1
  188. package/lib/resources/inventory_return_locations.d.cts +2 -2
  189. package/lib/resources/inventory_return_locations.d.ts +1 -1
  190. package/lib/resources/inventory_stock_locations.d.cts +2 -2
  191. package/lib/resources/inventory_stock_locations.d.ts +1 -1
  192. package/lib/resources/klarna_gateways.d.cts +2 -2
  193. package/lib/resources/klarna_gateways.d.ts +1 -1
  194. package/lib/resources/klarna_payments.d.cts +2 -2
  195. package/lib/resources/klarna_payments.d.ts +1 -1
  196. package/lib/resources/line_item_options.d.cts +2 -2
  197. package/lib/resources/line_item_options.d.ts +1 -1
  198. package/lib/resources/line_items.d.cts +2 -2
  199. package/lib/resources/line_items.d.ts +1 -1
  200. package/lib/resources/links.d.cts +2 -2
  201. package/lib/resources/links.d.ts +1 -1
  202. package/lib/resources/manual_gateways.d.cts +2 -2
  203. package/lib/resources/manual_gateways.d.ts +1 -1
  204. package/lib/resources/manual_tax_calculators.d.cts +2 -2
  205. package/lib/resources/manual_tax_calculators.d.ts +1 -1
  206. package/lib/resources/markets.cjs +2 -2
  207. package/lib/resources/markets.d.cts +2 -2
  208. package/lib/resources/markets.d.ts +1 -1
  209. package/lib/resources/markets.js +1 -1
  210. package/lib/resources/merchants.d.cts +2 -2
  211. package/lib/resources/merchants.d.ts +1 -1
  212. package/lib/resources/notifications.cjs +2 -2
  213. package/lib/resources/notifications.d.cts +2 -2
  214. package/lib/resources/notifications.d.ts +1 -1
  215. package/lib/resources/notifications.js +1 -1
  216. package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
  217. package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
  218. package/lib/resources/order_copies.d.cts +2 -2
  219. package/lib/resources/order_copies.d.ts +1 -1
  220. package/lib/resources/order_factories.d.cts +2 -2
  221. package/lib/resources/order_factories.d.ts +1 -1
  222. package/lib/resources/order_subscription_items.d.cts +2 -2
  223. package/lib/resources/order_subscription_items.d.ts +1 -1
  224. package/lib/resources/order_subscriptions.d.cts +2 -2
  225. package/lib/resources/order_subscriptions.d.ts +1 -1
  226. package/lib/resources/orders.d.cts +2 -2
  227. package/lib/resources/orders.d.ts +1 -1
  228. package/lib/resources/organizations.d.cts +2 -2
  229. package/lib/resources/organizations.d.ts +1 -1
  230. package/lib/resources/packages.d.cts +2 -2
  231. package/lib/resources/packages.d.ts +1 -1
  232. package/lib/resources/parcel_line_items.d.cts +2 -2
  233. package/lib/resources/parcel_line_items.d.ts +1 -1
  234. package/lib/resources/parcels.d.cts +2 -2
  235. package/lib/resources/parcels.d.ts +1 -1
  236. package/lib/resources/payment_gateways.d.cts +2 -2
  237. package/lib/resources/payment_gateways.d.ts +1 -1
  238. package/lib/resources/payment_methods.d.cts +2 -2
  239. package/lib/resources/payment_methods.d.ts +1 -1
  240. package/lib/resources/payment_options.d.cts +2 -2
  241. package/lib/resources/payment_options.d.ts +1 -1
  242. package/lib/resources/paypal_gateways.d.cts +2 -2
  243. package/lib/resources/paypal_gateways.d.ts +1 -1
  244. package/lib/resources/paypal_payments.d.cts +2 -2
  245. package/lib/resources/paypal_payments.d.ts +1 -1
  246. package/lib/resources/percentage_discount_promotions.d.cts +2 -2
  247. package/lib/resources/percentage_discount_promotions.d.ts +1 -1
  248. package/lib/resources/pickups.d.cts +2 -2
  249. package/lib/resources/pickups.d.ts +1 -1
  250. package/lib/resources/price_frequency_tiers.d.cts +2 -2
  251. package/lib/resources/price_frequency_tiers.d.ts +1 -1
  252. package/lib/resources/price_list_schedulers.d.cts +2 -2
  253. package/lib/resources/price_list_schedulers.d.ts +1 -1
  254. package/lib/resources/price_lists.d.cts +2 -2
  255. package/lib/resources/price_lists.d.ts +1 -1
  256. package/lib/resources/price_tiers.d.cts +2 -2
  257. package/lib/resources/price_tiers.d.ts +1 -1
  258. package/lib/resources/price_volume_tiers.d.cts +2 -2
  259. package/lib/resources/price_volume_tiers.d.ts +1 -1
  260. package/lib/resources/prices.d.cts +2 -2
  261. package/lib/resources/prices.d.ts +1 -1
  262. package/lib/resources/promotion_rules.d.cts +2 -2
  263. package/lib/resources/promotion_rules.d.ts +1 -1
  264. package/lib/resources/promotions.d.cts +2 -2
  265. package/lib/resources/promotions.d.ts +1 -1
  266. package/lib/resources/recurring_order_copies.d.cts +2 -2
  267. package/lib/resources/recurring_order_copies.d.ts +1 -1
  268. package/lib/resources/refunds.d.cts +2 -2
  269. package/lib/resources/refunds.d.ts +1 -1
  270. package/lib/resources/reserved_stocks.d.cts +2 -2
  271. package/lib/resources/reserved_stocks.d.ts +1 -1
  272. package/lib/resources/resource_errors.d.cts +2 -2
  273. package/lib/resources/resource_errors.d.ts +1 -1
  274. package/lib/resources/return_line_items.d.cts +2 -2
  275. package/lib/resources/return_line_items.d.ts +1 -1
  276. package/lib/resources/returns.d.cts +2 -2
  277. package/lib/resources/returns.d.ts +1 -1
  278. package/lib/resources/satispay_gateways.d.cts +2 -2
  279. package/lib/resources/satispay_gateways.d.ts +1 -1
  280. package/lib/resources/satispay_payments.d.cts +2 -2
  281. package/lib/resources/satispay_payments.d.ts +1 -1
  282. package/lib/resources/shipments.d.cts +2 -2
  283. package/lib/resources/shipments.d.ts +1 -1
  284. package/lib/resources/shipping_categories.d.cts +2 -2
  285. package/lib/resources/shipping_categories.d.ts +1 -1
  286. package/lib/resources/shipping_method_tiers.d.cts +2 -2
  287. package/lib/resources/shipping_method_tiers.d.ts +1 -1
  288. package/lib/resources/shipping_methods.cjs +2 -2
  289. package/lib/resources/shipping_methods.d.cts +2 -2
  290. package/lib/resources/shipping_methods.d.ts +1 -1
  291. package/lib/resources/shipping_methods.js +1 -1
  292. package/lib/resources/shipping_weight_tiers.d.cts +2 -2
  293. package/lib/resources/shipping_weight_tiers.d.ts +1 -1
  294. package/lib/resources/shipping_zones.d.cts +2 -2
  295. package/lib/resources/shipping_zones.d.ts +1 -1
  296. package/lib/resources/sku_list_items.d.cts +2 -2
  297. package/lib/resources/sku_list_items.d.ts +1 -1
  298. package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
  299. package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
  300. package/lib/resources/sku_lists.d.cts +2 -2
  301. package/lib/resources/sku_lists.d.ts +1 -1
  302. package/lib/resources/sku_options.d.cts +2 -2
  303. package/lib/resources/sku_options.d.ts +1 -1
  304. package/lib/resources/skus.d.cts +2 -2
  305. package/lib/resources/skus.d.ts +1 -1
  306. package/lib/resources/stock_items.d.cts +2 -2
  307. package/lib/resources/stock_items.d.ts +1 -1
  308. package/lib/resources/stock_line_items.d.cts +2 -2
  309. package/lib/resources/stock_line_items.d.ts +1 -1
  310. package/lib/resources/stock_locations.d.cts +2 -2
  311. package/lib/resources/stock_locations.d.ts +1 -1
  312. package/lib/resources/stock_reservations.d.cts +2 -2
  313. package/lib/resources/stock_reservations.d.ts +1 -1
  314. package/lib/resources/stock_transfers.d.cts +2 -2
  315. package/lib/resources/stock_transfers.d.ts +1 -1
  316. package/lib/resources/stores.d.cts +2 -2
  317. package/lib/resources/stores.d.ts +1 -1
  318. package/lib/resources/stripe_gateways.d.cts +2 -2
  319. package/lib/resources/stripe_gateways.d.ts +1 -1
  320. package/lib/resources/stripe_payments.d.cts +2 -2
  321. package/lib/resources/stripe_payments.d.ts +1 -1
  322. package/lib/resources/stripe_tax_accounts.d.cts +2 -2
  323. package/lib/resources/stripe_tax_accounts.d.ts +1 -1
  324. package/lib/resources/subscription_models.d.cts +2 -2
  325. package/lib/resources/subscription_models.d.ts +1 -1
  326. package/lib/resources/tags.d.cts +2 -2
  327. package/lib/resources/tags.d.ts +1 -1
  328. package/lib/resources/talon_one_accounts.d.cts +2 -2
  329. package/lib/resources/talon_one_accounts.d.ts +1 -1
  330. package/lib/resources/tax_calculators.d.cts +2 -2
  331. package/lib/resources/tax_calculators.d.ts +1 -1
  332. package/lib/resources/tax_categories.d.cts +2 -2
  333. package/lib/resources/tax_categories.d.ts +1 -1
  334. package/lib/resources/tax_rules.d.cts +2 -2
  335. package/lib/resources/tax_rules.d.ts +1 -1
  336. package/lib/resources/taxjar_accounts.d.cts +2 -2
  337. package/lib/resources/taxjar_accounts.d.ts +1 -1
  338. package/lib/resources/transactions.d.cts +2 -2
  339. package/lib/resources/transactions.d.ts +1 -1
  340. package/lib/resources/versions.d.cts +2 -2
  341. package/lib/resources/versions.d.ts +1 -1
  342. package/lib/resources/vertex_accounts.d.cts +2 -2
  343. package/lib/resources/vertex_accounts.d.ts +1 -1
  344. package/lib/resources/voids.d.cts +2 -2
  345. package/lib/resources/voids.d.ts +1 -1
  346. package/lib/resources/webhooks.d.cts +2 -2
  347. package/lib/resources/webhooks.d.ts +1 -1
  348. package/lib/resources/wire_transfers.d.cts +2 -2
  349. package/lib/resources/wire_transfers.d.ts +1 -1
  350. package/lib/static.cjs +3 -3
  351. package/lib/static.d.cts +1 -1
  352. package/lib/static.d.ts +1 -1
  353. package/lib/static.js +2 -2
  354. package/package.json +3 -3
  355. package/lib/chunk-6MVBC553.js.map +0 -1
  356. package/lib/chunk-7OLCOMGV.cjs.map +0 -1
  357. package/lib/chunk-EFU44R7O.js.map +0 -1
  358. package/lib/chunk-HZAMBMKK.cjs.map +0 -1
  359. package/lib/chunk-I73TW24N.cjs.map +0 -1
  360. package/lib/chunk-LGO42DAS.cjs.map +0 -1
  361. package/lib/chunk-LZXPO7K6.cjs.map +0 -1
  362. package/lib/chunk-OQHCTA6S.js.map +0 -1
  363. package/lib/chunk-PENOPHMW.js.map +0 -1
  364. package/lib/chunk-REUVJUJK.js.map +0 -1
  365. package/lib/chunk-WQ7WYE77.cjs.map +0 -1
  366. package/lib/chunk-ZVS24BIO.js.map +0 -1
package/lib/api.cjs CHANGED
@@ -23,7 +23,7 @@ var chunkGJOZR5TC_cjs = require('./chunk-GJOZR5TC.cjs');
23
23
  var chunkHUDH634O_cjs = require('./chunk-HUDH634O.cjs');
24
24
  var chunk73VR2FML_cjs = require('./chunk-73VR2FML.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');
@@ -64,9 +64,9 @@ var chunk6STKOQR7_cjs = require('./chunk-6STKOQR7.cjs');
64
64
  var chunkWVCUPAHM_cjs = require('./chunk-WVCUPAHM.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');
@@ -84,13 +84,13 @@ 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 chunkW3TAU6GU_cjs = require('./chunk-W3TAU6GU.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');
@@ -132,7 +132,7 @@ var chunkKGZ3FTYR_cjs = require('./chunk-KGZ3FTYR.cjs');
132
132
  var chunkFCGKL7AI_cjs = require('./chunk-FCGKL7AI.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');
135
+ var chunk2ZVHALAO_cjs = require('./chunk-2ZVHALAO.cjs');
136
136
  require('./chunk-U22VLCMN.cjs');
137
137
  require('./chunk-YY5ENJSH.cjs');
138
138
  require('./chunk-ZWVME7CU.cjs');
@@ -235,7 +235,7 @@ Object.defineProperty(exports, "stripe_payments", {
235
235
  });
236
236
  Object.defineProperty(exports, "shipping_methods", {
237
237
  enumerable: true,
238
- get: function () { return chunkLZXPO7K6_cjs.shipping_methods_default; }
238
+ get: function () { return chunkALCZSKPR_cjs.shipping_methods_default; }
239
239
  });
240
240
  Object.defineProperty(exports, "shipping_weight_tiers", {
241
241
  enumerable: true,
@@ -399,7 +399,7 @@ Object.defineProperty(exports, "manual_tax_calculators", {
399
399
  });
400
400
  Object.defineProperty(exports, "markets", {
401
401
  enumerable: true,
402
- get: function () { return chunkI73TW24N_cjs.markets_default; }
402
+ get: function () { return chunkMBROL4C2_cjs.markets_default; }
403
403
  });
404
404
  Object.defineProperty(exports, "merchants", {
405
405
  enumerable: true,
@@ -407,7 +407,7 @@ Object.defineProperty(exports, "merchants", {
407
407
  });
408
408
  Object.defineProperty(exports, "notifications", {
409
409
  enumerable: true,
410
- get: function () { return chunk4B4WZM22_cjs.notifications_default; }
410
+ get: function () { return chunkC27B7IUW_cjs.notifications_default; }
411
411
  });
412
412
  Object.defineProperty(exports, "order_amount_promotion_rules", {
413
413
  enumerable: true,
@@ -479,7 +479,7 @@ Object.defineProperty(exports, "google_geocoders", {
479
479
  });
480
480
  Object.defineProperty(exports, "imports", {
481
481
  enumerable: true,
482
- get: function () { return chunkZW4CB7J7_cjs.imports_default; }
482
+ get: function () { return chunkNVNPOVIQ_cjs.imports_default; }
483
483
  });
484
484
  Object.defineProperty(exports, "in_stock_subscriptions", {
485
485
  enumerable: true,
@@ -491,7 +491,7 @@ Object.defineProperty(exports, "inventory_models", {
491
491
  });
492
492
  Object.defineProperty(exports, "external_gateways", {
493
493
  enumerable: true,
494
- get: function () { return chunk7OLCOMGV_cjs.external_gateways_default; }
494
+ get: function () { return chunkW3TAU6GU_cjs.external_gateways_default; }
495
495
  });
496
496
  Object.defineProperty(exports, "external_payments", {
497
497
  enumerable: true,
@@ -499,11 +499,11 @@ Object.defineProperty(exports, "external_payments", {
499
499
  });
500
500
  Object.defineProperty(exports, "external_promotions", {
501
501
  enumerable: true,
502
- get: function () { return chunkHZAMBMKK_cjs.external_promotions_default; }
502
+ get: function () { return chunkLTVCCLTK_cjs.external_promotions_default; }
503
503
  });
504
504
  Object.defineProperty(exports, "external_tax_calculators", {
505
505
  enumerable: true,
506
- get: function () { return chunkLGO42DAS_cjs.external_tax_calculators_default; }
506
+ get: function () { return chunkJWB5Y2WT_cjs.external_tax_calculators_default; }
507
507
  });
508
508
  Object.defineProperty(exports, "fixed_amount_promotions", {
509
509
  enumerable: true,
@@ -671,7 +671,7 @@ Object.defineProperty(exports, "application", {
671
671
  });
672
672
  Object.defineProperty(exports, "attachments", {
673
673
  enumerable: true,
674
- get: function () { return chunkUTFSZHUD_cjs.attachments_default; }
674
+ get: function () { return chunk2ZVHALAO_cjs.attachments_default; }
675
675
  });
676
676
  //# sourceMappingURL=api.cjs.map
677
677
  //# sourceMappingURL=api.cjs.map
package/lib/api.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { 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, G as addresses, I as adjustments, K as adyen_gateways, O as adyen_payments, S as application, X as attachments, Z as authorizations, $ as avalara_accounts, a1 as axerve_gateways, a3 as axerve_payments, a5 as bing_geocoders, a7 as braintree_gateways, a9 as braintree_payments, ab as bundles, ad as buy_x_pay_y_promotions, af as captures, ah as carrier_accounts, aj as checkout_com_gateways, al as checkout_com_payments, an as cleanups, ap as coupon_codes_promotion_rules, ar as coupon_recipients, at as coupons, av as custom_promotion_rules, ax as customer_addresses, az as customer_groups, aB as customer_password_resets, aD as customer_payment_sources, aF as customer_subscriptions, aH as customers, aJ as delivery_lead_times, aL as discount_engine_items, aN as discount_engines, aP as easypost_pickups, aR as event_callbacks, aT as event_stores, aV as events, aX as exports, aZ as external_gateways, a$ as external_payments, b1 as external_promotions, b3 as external_tax_calculators, b5 as fixed_amount_promotions, b7 as fixed_price_promotions, b9 as flex_promotions, bb as free_gift_promotions, bd as free_shipping_promotions, bf as geocoders, bh as gift_card_recipients, bj as gift_cards, bl as google_geocoders, bn as imports, bp as in_stock_subscriptions, br as inventory_models, bt as inventory_return_locations, bv as inventory_stock_locations, bx as klarna_gateways, bz as klarna_payments, bB as line_item_options, bD as line_items, bF as links, bH as manual_gateways, bJ as manual_tax_calculators, bL as markets, bN as merchants, bP as notifications, bR as order_amount_promotion_rules, bT as order_copies, bV as order_factories, bX as order_subscription_items, bZ as order_subscriptions, b$ as orders, c1 as organization, c3 as packages, c5 as parcel_line_items, c7 as parcels, c9 as payment_gateways, cb as payment_methods, cd as payment_options, cf as paypal_gateways, ch as paypal_payments, cj as percentage_discount_promotions, cl as pickups, cn as price_frequency_tiers, cp as price_list_schedulers, cr as price_lists, ct as price_tiers, cv as price_volume_tiers, cx as prices, cz as promotion_rules, cB as promotions, cD as recurring_order_copies, cF as refunds, cH as reserved_stocks, cJ as resource_errors, cL as return_line_items, cN as returns, cP as satispay_gateways, cR as satispay_payments, cT as shipments, cV as shipping_categories, cX as shipping_method_tiers, cZ as shipping_methods, c$ as shipping_weight_tiers, d1 as shipping_zones, d3 as sku_list_items, d5 as sku_list_promotion_rules, d7 as sku_lists, d9 as sku_options, db as skus, dd as stock_items, df as stock_line_items, dh as stock_locations, dj as stock_reservations, dl as stock_transfers, dn as stores, dq as stripe_gateways, ds as stripe_payments, du as stripe_tax_accounts, dw as subscription_models, dy as tags, dA as talon_one_accounts, dC as tax_calculators, dE as tax_categories, dG as tax_rules, dI as taxjar_accounts, dK as transactions, dM as versions, dO as vertex_accounts, dQ as voids, dS as webhooks, dU as wire_transfers } from './api-4eRXMJTL.cjs';
1
+ export { 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, G as addresses, I as adjustments, K as adyen_gateways, O as adyen_payments, S as application, X as attachments, Z as authorizations, $ as avalara_accounts, a1 as axerve_gateways, a3 as axerve_payments, a5 as bing_geocoders, a7 as braintree_gateways, a9 as braintree_payments, ab as bundles, ad as buy_x_pay_y_promotions, af as captures, ah as carrier_accounts, aj as checkout_com_gateways, al as checkout_com_payments, an as cleanups, ap as coupon_codes_promotion_rules, ar as coupon_recipients, at as coupons, av as custom_promotion_rules, ax as customer_addresses, az as customer_groups, aB as customer_password_resets, aD as customer_payment_sources, aF as customer_subscriptions, aH as customers, aJ as delivery_lead_times, aL as discount_engine_items, aN as discount_engines, aP as easypost_pickups, aR as event_callbacks, aT as event_stores, aV as events, aX as exports, aZ as external_gateways, a$ as external_payments, b1 as external_promotions, b3 as external_tax_calculators, b5 as fixed_amount_promotions, b7 as fixed_price_promotions, b9 as flex_promotions, bb as free_gift_promotions, bd as free_shipping_promotions, bf as geocoders, bh as gift_card_recipients, bj as gift_cards, bl as google_geocoders, bn as imports, bp as in_stock_subscriptions, br as inventory_models, bt as inventory_return_locations, bv as inventory_stock_locations, bx as klarna_gateways, bz as klarna_payments, bB as line_item_options, bD as line_items, bF as links, bH as manual_gateways, bJ as manual_tax_calculators, bL as markets, bN as merchants, bP as notifications, bR as order_amount_promotion_rules, bT as order_copies, bV as order_factories, bX as order_subscription_items, bZ as order_subscriptions, b$ as orders, c1 as organization, c3 as packages, c5 as parcel_line_items, c7 as parcels, c9 as payment_gateways, cb as payment_methods, cd as payment_options, cf as paypal_gateways, ch as paypal_payments, cj as percentage_discount_promotions, cl as pickups, cn as price_frequency_tiers, cp as price_list_schedulers, cr as price_lists, ct as price_tiers, cv as price_volume_tiers, cx as prices, cz as promotion_rules, cB as promotions, cD as recurring_order_copies, cF as refunds, cH as reserved_stocks, cJ as resource_errors, cL as return_line_items, cN as returns, cP as satispay_gateways, cR as satispay_payments, cT as shipments, cV as shipping_categories, cX as shipping_method_tiers, cZ as shipping_methods, c$ as shipping_weight_tiers, d1 as shipping_zones, d3 as sku_list_items, d5 as sku_list_promotion_rules, d7 as sku_lists, d9 as sku_options, db as skus, dd as stock_items, df as stock_line_items, dh as stock_locations, dj as stock_reservations, dl as stock_transfers, dn as stores, dq as stripe_gateways, ds as stripe_payments, du as stripe_tax_accounts, dw as subscription_models, dy as tags, dA as talon_one_accounts, dC as tax_calculators, dE as tax_categories, dG as tax_rules, dI as taxjar_accounts, dK as transactions, dM as versions, dO as vertex_accounts, dQ as voids, dS as webhooks, dU as wire_transfers } from './api-XshEzS_t.cjs';
2
2
  import './client.cjs';
3
3
  import './interceptor-k15jXzf0.cjs';
4
4
  import './types.cjs';
package/lib/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { 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, G as addresses, I as adjustments, K as adyen_gateways, O as adyen_payments, S as application, X as attachments, Z as authorizations, $ as avalara_accounts, a1 as axerve_gateways, a3 as axerve_payments, a5 as bing_geocoders, a7 as braintree_gateways, a9 as braintree_payments, ab as bundles, ad as buy_x_pay_y_promotions, af as captures, ah as carrier_accounts, aj as checkout_com_gateways, al as checkout_com_payments, an as cleanups, ap as coupon_codes_promotion_rules, ar as coupon_recipients, at as coupons, av as custom_promotion_rules, ax as customer_addresses, az as customer_groups, aB as customer_password_resets, aD as customer_payment_sources, aF as customer_subscriptions, aH as customers, aJ as delivery_lead_times, aL as discount_engine_items, aN as discount_engines, aP as easypost_pickups, aR as event_callbacks, aT as event_stores, aV as events, aX as exports, aZ as external_gateways, a$ as external_payments, b1 as external_promotions, b3 as external_tax_calculators, b5 as fixed_amount_promotions, b7 as fixed_price_promotions, b9 as flex_promotions, bb as free_gift_promotions, bd as free_shipping_promotions, bf as geocoders, bh as gift_card_recipients, bj as gift_cards, bl as google_geocoders, bn as imports, bp as in_stock_subscriptions, br as inventory_models, bt as inventory_return_locations, bv as inventory_stock_locations, bx as klarna_gateways, bz as klarna_payments, bB as line_item_options, bD as line_items, bF as links, bH as manual_gateways, bJ as manual_tax_calculators, bL as markets, bN as merchants, bP as notifications, bR as order_amount_promotion_rules, bT as order_copies, bV as order_factories, bX as order_subscription_items, bZ as order_subscriptions, b$ as orders, c1 as organization, c3 as packages, c5 as parcel_line_items, c7 as parcels, c9 as payment_gateways, cb as payment_methods, cd as payment_options, cf as paypal_gateways, ch as paypal_payments, cj as percentage_discount_promotions, cl as pickups, cn as price_frequency_tiers, cp as price_list_schedulers, cr as price_lists, ct as price_tiers, cv as price_volume_tiers, cx as prices, cz as promotion_rules, cB as promotions, cD as recurring_order_copies, cF as refunds, cH as reserved_stocks, cJ as resource_errors, cL as return_line_items, cN as returns, cP as satispay_gateways, cR as satispay_payments, cT as shipments, cV as shipping_categories, cX as shipping_method_tiers, cZ as shipping_methods, c$ as shipping_weight_tiers, d1 as shipping_zones, d3 as sku_list_items, d5 as sku_list_promotion_rules, d7 as sku_lists, d9 as sku_options, db as skus, dd as stock_items, df as stock_line_items, dh as stock_locations, dj as stock_reservations, dl as stock_transfers, dn as stores, dq as stripe_gateways, ds as stripe_payments, du as stripe_tax_accounts, dw as subscription_models, dy as tags, dA as talon_one_accounts, dC as tax_calculators, dE as tax_categories, dG as tax_rules, dI as taxjar_accounts, dK as transactions, dM as versions, dO as vertex_accounts, dQ as voids, dS as webhooks, dU as wire_transfers } from './api-CAxIMq4w.js';
1
+ export { 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, G as addresses, I as adjustments, K as adyen_gateways, O as adyen_payments, S as application, X as attachments, Z as authorizations, $ as avalara_accounts, a1 as axerve_gateways, a3 as axerve_payments, a5 as bing_geocoders, a7 as braintree_gateways, a9 as braintree_payments, ab as bundles, ad as buy_x_pay_y_promotions, af as captures, ah as carrier_accounts, aj as checkout_com_gateways, al as checkout_com_payments, an as cleanups, ap as coupon_codes_promotion_rules, ar as coupon_recipients, at as coupons, av as custom_promotion_rules, ax as customer_addresses, az as customer_groups, aB as customer_password_resets, aD as customer_payment_sources, aF as customer_subscriptions, aH as customers, aJ as delivery_lead_times, aL as discount_engine_items, aN as discount_engines, aP as easypost_pickups, aR as event_callbacks, aT as event_stores, aV as events, aX as exports, aZ as external_gateways, a$ as external_payments, b1 as external_promotions, b3 as external_tax_calculators, b5 as fixed_amount_promotions, b7 as fixed_price_promotions, b9 as flex_promotions, bb as free_gift_promotions, bd as free_shipping_promotions, bf as geocoders, bh as gift_card_recipients, bj as gift_cards, bl as google_geocoders, bn as imports, bp as in_stock_subscriptions, br as inventory_models, bt as inventory_return_locations, bv as inventory_stock_locations, bx as klarna_gateways, bz as klarna_payments, bB as line_item_options, bD as line_items, bF as links, bH as manual_gateways, bJ as manual_tax_calculators, bL as markets, bN as merchants, bP as notifications, bR as order_amount_promotion_rules, bT as order_copies, bV as order_factories, bX as order_subscription_items, bZ as order_subscriptions, b$ as orders, c1 as organization, c3 as packages, c5 as parcel_line_items, c7 as parcels, c9 as payment_gateways, cb as payment_methods, cd as payment_options, cf as paypal_gateways, ch as paypal_payments, cj as percentage_discount_promotions, cl as pickups, cn as price_frequency_tiers, cp as price_list_schedulers, cr as price_lists, ct as price_tiers, cv as price_volume_tiers, cx as prices, cz as promotion_rules, cB as promotions, cD as recurring_order_copies, cF as refunds, cH as reserved_stocks, cJ as resource_errors, cL as return_line_items, cN as returns, cP as satispay_gateways, cR as satispay_payments, cT as shipments, cV as shipping_categories, cX as shipping_method_tiers, cZ as shipping_methods, c$ as shipping_weight_tiers, d1 as shipping_zones, d3 as sku_list_items, d5 as sku_list_promotion_rules, d7 as sku_lists, d9 as sku_options, db as skus, dd as stock_items, df as stock_line_items, dh as stock_locations, dj as stock_reservations, dl as stock_transfers, dn as stores, dq as stripe_gateways, ds as stripe_payments, du as stripe_tax_accounts, dw as subscription_models, dy as tags, dA as talon_one_accounts, dC as tax_calculators, dE as tax_categories, dG as tax_rules, dI as taxjar_accounts, dK as transactions, dM as versions, dO as vertex_accounts, dQ as voids, dS as webhooks, dU as wire_transfers } from './api-CMxJYHwj.js';
2
2
  import './client.js';
3
3
  import './interceptor-k15jXzf0.js';
4
4
  import './types.js';
package/lib/api.js CHANGED
@@ -21,7 +21,7 @@ export { stock_transfers_default as stock_transfers } from './chunk-HBDXHKBE.js'
21
21
  export { stores_default as stores } from './chunk-UWM5SGDS.js';
22
22
  export { stripe_gateways_default as stripe_gateways } from './chunk-3SD7QN5M.js';
23
23
  export { stripe_payments_default as stripe_payments } from './chunk-VGMMPMUL.js';
24
- export { shipping_methods_default as shipping_methods } from './chunk-ZVS24BIO.js';
24
+ export { shipping_methods_default as shipping_methods } from './chunk-HU6DRUWJ.js';
25
25
  export { shipping_weight_tiers_default as shipping_weight_tiers } from './chunk-LESXALEZ.js';
26
26
  export { shipping_zones_default as shipping_zones } from './chunk-F3UMNXXH.js';
27
27
  export { sku_list_items_default as sku_list_items } from './chunk-LF3CZYGK.js';
@@ -62,9 +62,9 @@ export { parcels_default as parcels } from './chunk-JAOFRM22.js';
62
62
  export { payment_gateways_default as payment_gateways } from './chunk-7AHYBTEX.js';
63
63
  export { payment_methods_default as payment_methods } from './chunk-33CXJXIW.js';
64
64
  export { manual_tax_calculators_default as manual_tax_calculators } from './chunk-4MCWJ5GT.js';
65
- export { markets_default as markets } from './chunk-6MVBC553.js';
65
+ export { markets_default as markets } from './chunk-2JB3IVP4.js';
66
66
  export { merchants_default as merchants } from './chunk-WO4S2ZUQ.js';
67
- export { notifications_default as notifications } from './chunk-F6TOLEEF.js';
67
+ export { notifications_default as notifications } from './chunk-34MN4L45.js';
68
68
  export { order_amount_promotion_rules_default as order_amount_promotion_rules } from './chunk-CETB5FAI.js';
69
69
  export { order_copies_default as order_copies } from './chunk-A4MUL4NB.js';
70
70
  export { order_factories_default as order_factories } from './chunk-W2EFIUTW.js';
@@ -82,13 +82,13 @@ export { geocoders_default as geocoders } from './chunk-IHPFHOEJ.js';
82
82
  export { gift_card_recipients_default as gift_card_recipients } from './chunk-6EIS4TN3.js';
83
83
  export { gift_cards_default as gift_cards } from './chunk-JWLNUOL5.js';
84
84
  export { google_geocoders_default as google_geocoders } from './chunk-2QBP2WHJ.js';
85
- export { imports_default as imports } from './chunk-7LH7NNTW.js';
85
+ export { imports_default as imports } from './chunk-K6MX6OZL.js';
86
86
  export { in_stock_subscriptions_default as in_stock_subscriptions } from './chunk-FI2PWG6C.js';
87
87
  export { inventory_models_default as inventory_models } from './chunk-LE4I5AHS.js';
88
- export { external_gateways_default as external_gateways } from './chunk-PENOPHMW.js';
88
+ export { external_gateways_default as external_gateways } from './chunk-YFRXWHOB.js';
89
89
  export { external_payments_default as external_payments } from './chunk-G5IOYKFS.js';
90
- export { external_promotions_default as external_promotions } from './chunk-REUVJUJK.js';
91
- export { external_tax_calculators_default as external_tax_calculators } from './chunk-EFU44R7O.js';
90
+ export { external_promotions_default as external_promotions } from './chunk-V7BADAPA.js';
91
+ export { external_tax_calculators_default as external_tax_calculators } from './chunk-6SO2W3YA.js';
92
92
  export { fixed_amount_promotions_default as fixed_amount_promotions } from './chunk-WMEEVBWE.js';
93
93
  export { fixed_price_promotions_default as fixed_price_promotions } from './chunk-MVRW3HS2.js';
94
94
  export { flex_promotions_default as flex_promotions } from './chunk-BNWM637R.js';
@@ -130,7 +130,7 @@ export { adjustments_default as adjustments } from './chunk-WK3SIZUG.js';
130
130
  export { adyen_gateways_default as adyen_gateways } from './chunk-PIYKFPYB.js';
131
131
  export { adyen_payments_default as adyen_payments } from './chunk-GRBPCPJQ.js';
132
132
  export { applications_default as application } from './chunk-YTXFX5LA.js';
133
- export { attachments_default as attachments } from './chunk-KIB4XYWP.js';
133
+ export { attachments_default as attachments } from './chunk-ERA2COOU.js';
134
134
  import './chunk-XKERR6OR.js';
135
135
  import './chunk-CHYP5F26.js';
136
136
  import './chunk-UUY77JM3.js';
package/lib/bundle.cjs CHANGED
@@ -23,7 +23,7 @@ var chunkGJOZR5TC_cjs = require('./chunk-GJOZR5TC.cjs');
23
23
  var chunkHUDH634O_cjs = require('./chunk-HUDH634O.cjs');
24
24
  var chunk73VR2FML_cjs = require('./chunk-73VR2FML.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');
@@ -64,9 +64,9 @@ var chunk6STKOQR7_cjs = require('./chunk-6STKOQR7.cjs');
64
64
  var chunkWVCUPAHM_cjs = require('./chunk-WVCUPAHM.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');
@@ -84,13 +84,13 @@ 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 chunkW3TAU6GU_cjs = require('./chunk-W3TAU6GU.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');
@@ -132,8 +132,8 @@ var chunkKGZ3FTYR_cjs = require('./chunk-KGZ3FTYR.cjs');
132
132
  var chunkFCGKL7AI_cjs = require('./chunk-FCGKL7AI.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 chunkAYM2RMFY_cjs = require('./chunk-AYM2RMFY.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 chunkAYM2RMFY_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__##
@@ -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;
@@ -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 chunkW3TAU6GU_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;
@@ -355,13 +355,13 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
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;
@@ -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;
package/lib/bundle.d.cts CHANGED
@@ -1,5 +1,5 @@
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 { 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-XshEzS_t.cjs';
3
3
  import './error.cjs';
4
4
  import './interceptor-k15jXzf0.cjs';
5
5
  import './client.cjs';
package/lib/bundle.d.ts CHANGED
@@ -1,5 +1,5 @@
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 { 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-CMxJYHwj.js';
3
3
  import './error.js';
4
4
  import './interceptor-k15jXzf0.js';
5
5
  import './client.js';
package/lib/bundle.js CHANGED
@@ -21,7 +21,7 @@ import { stock_transfers_default } from './chunk-HBDXHKBE.js';
21
21
  import { stores_default } from './chunk-UWM5SGDS.js';
22
22
  import { stripe_gateways_default } from './chunk-3SD7QN5M.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';
@@ -62,9 +62,9 @@ import { parcels_default } from './chunk-JAOFRM22.js';
62
62
  import { payment_gateways_default } from './chunk-7AHYBTEX.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';
@@ -82,13 +82,13 @@ 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-YFRXWHOB.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';
@@ -130,8 +130,8 @@ import { adjustments_default } from './chunk-WK3SIZUG.js';
130
130
  import { adyen_gateways_default } from './chunk-PIYKFPYB.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-V7377LPP.js';
135
135
  import './chunk-XKERR6OR.js';
136
136
  import './chunk-CHYP5F26.js';
137
137
  import './chunk-UUY77JM3.js';
@@ -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":"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","file":"chunk-2JB3IVP4.js","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 { 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
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/resources/attachments.ts"],"names":["ApiResource"],"mappings":";;;;;AAmKA,IAAM,WAAA,GAAN,MAAM,YAAA,SAAoBA,6BAAA,CAAwB;AAAA,EAEjD,OAAgB,IAAA,GAAuB,aAAA;AAAA,EAEvC,MAAM,MAAA,CAAO,QAAA,EAA4B,MAAA,EAA0C,OAAA,EAAgD;AAClI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpH;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA4B,MAAA,EAA0C,OAAA,EAAgD;AAClI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpH;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACnG;AAAA,EAEA,MAAM,YAAA,CAAa,YAAA,EAAmC,MAAA,EAAsC,OAAA,EAA8D;AACzJ,IAAA,MAAM,aAAA,GAAiB,aAA4B,EAAA,IAAM,YAAA;AACzD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,YAAA,EAAe,aAAa,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/H;AAAA,EAGA,aAAa,QAAA,EAAuC;AACnD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,YAAA,CAAY,IAAA;AAAA,EACxD;AAAA,EAGA,aAAa,EAAA,EAA+C;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAoC,EAAE,CAAA;AAAA,EACpD;AAAA,EAEA,sBAAsB,GAAA,EAAgC;AACrD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAqC,GAAG,GAAG,CAAA;AAAA,EACzD;AAAA,EAGA,IAAA,GAAuB;AACtB,IAAA,OAAO,YAAA,CAAY,IAAA;AAAA,EACpB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,WAAA,EAAY;AACjC,IAAO,mBAAA,GAAQ","file":"chunk-UTFSZHUD.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 { EventStore } from './event_stores'\nimport type { Geocoder, GeocoderType } from './geocoders'\nimport type { PriceList, PriceListType } from './price_lists'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { Market, MarketType } from './markets'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { Order, OrderType } from './orders'\nimport type { Transaction, TransactionType } from './transactions'\nimport type { Promotion, PromotionType } from './promotions'\nimport type { TaxCalculator, TaxCalculatorType } from './tax_calculators'\nimport type { TaxCategory, TaxCategoryType } from './tax_categories'\nimport type { Sku, SkuType } from './skus'\nimport type { ShippingCategory, ShippingCategoryType } from './shipping_categories'\nimport type { Bundle, BundleType } from './bundles'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { StockItem, StockItemType } from './stock_items'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { Return, ReturnType } from './returns'\nimport type { CarrierAccount, CarrierAccountType } from './carrier_accounts'\nimport type { CouponRecipient, CouponRecipientType } from './coupon_recipients'\nimport type { Customer, CustomerType } from './customers'\nimport type { DeliveryLeadTime, DeliveryLeadTimeType } from './delivery_lead_times'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { DiscountEngine, DiscountEngineType } from './discount_engines'\nimport type { Shipment, ShipmentType } from './shipments'\nimport type { Parcel, ParcelType } from './parcels'\nimport type { GiftCardRecipient, GiftCardRecipientType } from './gift_card_recipients'\nimport type { GiftCard, GiftCardType } from './gift_cards'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { StockTransfer, StockTransferType } from './stock_transfers'\nimport type { SkuOption, SkuOptionType } from './sku_options'\nimport type { Merchant, MerchantType } from './merchants'\nimport type { SubscriptionModel, SubscriptionModelType } from './subscription_models'\nimport type { PaymentOption, PaymentOptionType } from './payment_options'\nimport type { Package, PackageType } from './packages'\nimport type { Price, PriceType } from './prices'\nimport type { PriceTier, PriceTierType } from './price_tiers'\nimport type { ShippingMethodTier, ShippingMethodTierType } from './shipping_method_tiers'\nimport type { ShippingZone, ShippingZoneType } from './shipping_zones'\n\n\ntype AttachmentType = 'attachments'\ntype AttachmentRel = ResourceRel & { type: AttachmentType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype TransactionRel = ResourceRel & { type: TransactionType }\ntype PromotionRel = ResourceRel & { type: PromotionType }\ntype TaxCalculatorRel = ResourceRel & { type: TaxCalculatorType }\ntype TaxCategoryRel = ResourceRel & { type: TaxCategoryType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype ShippingCategoryRel = ResourceRel & { type: ShippingCategoryType }\ntype BundleRel = ResourceRel & { type: BundleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype StockItemRel = ResourceRel & { type: StockItemType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype ReturnRel = ResourceRel & { type: ReturnType }\ntype CarrierAccountRel = ResourceRel & { type: CarrierAccountType }\ntype CouponRecipientRel = ResourceRel & { type: CouponRecipientType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype DeliveryLeadTimeRel = ResourceRel & { type: DeliveryLeadTimeType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype DiscountEngineRel = ResourceRel & { type: DiscountEngineType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype GiftCardRecipientRel = ResourceRel & { type: GiftCardRecipientType }\ntype GiftCardRel = ResourceRel & { type: GiftCardType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\ntype StockTransferRel = ResourceRel & { type: StockTransferType }\ntype SkuOptionRel = ResourceRel & { type: SkuOptionType }\ntype MerchantRel = ResourceRel & { type: MerchantType }\ntype SubscriptionModelRel = ResourceRel & { type: SubscriptionModelType }\ntype PaymentOptionRel = ResourceRel & { type: PaymentOptionType }\ntype PackageRel = ResourceRel & { type: PackageType }\ntype PriceRel = ResourceRel & { type: PriceType }\ntype PriceTierRel = ResourceRel & { type: PriceTierType }\ntype ShippingMethodTierRel = ResourceRel & { type: ShippingMethodTierType }\ntype ShippingZoneRel = ResourceRel & { type: ShippingZoneType }\n\n\nexport type AttachmentSort = Pick<Attachment, 'id' | 'name'> & ResourceSort\n// export type AttachmentFilter = Pick<Attachment, 'id' | 'name' | 'description'> & ResourceFilter\n\n\ninterface Attachment extends Resource {\n\t\n\treadonly type: AttachmentType\n\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable?: Geocoder | PriceList | PaymentMethod | Market | CustomerGroup | Order | Transaction | Promotion | TaxCalculator | TaxCategory | Sku | ShippingCategory | Bundle | SkuList | StockItem | StockLocation | Return | CarrierAccount | CouponRecipient | Customer | DeliveryLeadTime | ShippingMethod | DiscountEngine | Shipment | Parcel | GiftCardRecipient | GiftCard | InventoryModel | StockTransfer | SkuOption | Merchant | SubscriptionModel | PaymentOption | Package | Price | PriceTier | ShippingMethodTier | ShippingZone | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface AttachmentCreate extends ResourceCreate {\n\t\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable: GeocoderRel | PriceListRel | PaymentMethodRel | MarketRel | CustomerGroupRel | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | ShipmentRel | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | StockTransferRel | SkuOptionRel | MerchantRel | SubscriptionModelRel | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel\n\n}\n\n\ninterface AttachmentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname?: string | null\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable?: GeocoderRel | PriceListRel | PaymentMethodRel | MarketRel | CustomerGroupRel | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | ShipmentRel | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | StockTransferRel | SkuOptionRel | MerchantRel | SubscriptionModelRel | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null\n\n}\n\n\nclass Attachments extends ApiResource<Attachment> {\n\n\tstatic readonly TYPE: AttachmentType = 'attachments' as const\n\n\tasync create(resource: AttachmentCreate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment> {\n\t\treturn this.resources.create<AttachmentCreate, Attachment>({ ...resource, type: Attachments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: AttachmentUpdate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment> {\n\t\treturn this.resources.update<AttachmentUpdate, Attachment>({ ...resource, type: Attachments.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Attachments.TYPE } : id, options)\n\t}\n\n\tasync event_stores(attachmentId: string | Attachment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _attachmentId = (attachmentId as Attachment).id || attachmentId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `attachments/${_attachmentId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisAttachment(resource: any): resource is Attachment {\n\t\treturn resource.type && (resource.type === Attachments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): AttachmentRel {\n\t\treturn super.relationshipOneToOne<AttachmentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): AttachmentRel[] {\n\t\treturn super.relationshipOneToMany<AttachmentRel>(...ids)\n\t}\n\n\n\ttype(): AttachmentType {\n\t\treturn Attachments.TYPE\n\t}\n\n}\n\n\nconst instance = new Attachments()\nexport default instance\n\nexport type { Attachments, Attachment, AttachmentCreate, AttachmentUpdate, AttachmentType }\n"]}
1
+ {"version":3,"sources":["../src/resources/attachments.ts"],"names":["ApiResource"],"mappings":";;;;;AAmKA,IAAM,WAAA,GAAN,MAAM,YAAA,SAAoBA,6BAAA,CAAwB;AAAA,EAEjD,OAAgB,IAAA,GAAuB,aAAA;AAAA,EAEvC,MAAM,MAAA,CAAO,QAAA,EAA4B,MAAA,EAA0C,OAAA,EAAgD;AAClI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpH;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA4B,MAAA,EAA0C,OAAA,EAAgD;AAClI,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqC,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACpH;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,YAAA,CAAY,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EACnG;AAAA,EAEA,MAAM,YAAA,CAAa,YAAA,EAAmC,MAAA,EAAsC,OAAA,EAA8D;AACzJ,IAAA,MAAM,aAAA,GAAiB,aAA4B,EAAA,IAAM,YAAA;AACzD,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,YAAA,EAAe,aAAa,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC/H;AAAA,EAGA,aAAa,QAAA,EAAuC;AACnD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,YAAA,CAAY,IAAA;AAAA,EACxD;AAAA,EAGA,aAAa,EAAA,EAA+C;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAoC,EAAE,CAAA;AAAA,EACpD;AAAA,EAEA,sBAAsB,GAAA,EAAgC;AACrD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAqC,GAAG,GAAG,CAAA;AAAA,EACzD;AAAA,EAGA,IAAA,GAAuB;AACtB,IAAA,OAAO,YAAA,CAAY,IAAA;AAAA,EACpB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,WAAA,EAAY;AACjC,IAAO,mBAAA,GAAQ","file":"chunk-2ZVHALAO.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 { EventStore } from './event_stores'\nimport type { Geocoder, GeocoderType } from './geocoders'\nimport type { PriceList, PriceListType } from './price_lists'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { Market, MarketType } from './markets'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { Promotion, PromotionType } from './promotions'\nimport type { Order, OrderType } from './orders'\nimport type { Transaction, TransactionType } from './transactions'\nimport type { TaxCalculator, TaxCalculatorType } from './tax_calculators'\nimport type { TaxCategory, TaxCategoryType } from './tax_categories'\nimport type { Sku, SkuType } from './skus'\nimport type { ShippingCategory, ShippingCategoryType } from './shipping_categories'\nimport type { Bundle, BundleType } from './bundles'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { StockItem, StockItemType } from './stock_items'\nimport type { StockLocation, StockLocationType } from './stock_locations'\nimport type { Return, ReturnType } from './returns'\nimport type { CarrierAccount, CarrierAccountType } from './carrier_accounts'\nimport type { CouponRecipient, CouponRecipientType } from './coupon_recipients'\nimport type { Customer, CustomerType } from './customers'\nimport type { DeliveryLeadTime, DeliveryLeadTimeType } from './delivery_lead_times'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { Shipment, ShipmentType } from './shipments'\nimport type { DiscountEngine, DiscountEngineType } from './discount_engines'\nimport type { Parcel, ParcelType } from './parcels'\nimport type { GiftCardRecipient, GiftCardRecipientType } from './gift_card_recipients'\nimport type { GiftCard, GiftCardType } from './gift_cards'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { StockTransfer, StockTransferType } from './stock_transfers'\nimport type { SkuOption, SkuOptionType } from './sku_options'\nimport type { Merchant, MerchantType } from './merchants'\nimport type { SubscriptionModel, SubscriptionModelType } from './subscription_models'\nimport type { PaymentOption, PaymentOptionType } from './payment_options'\nimport type { Package, PackageType } from './packages'\nimport type { Price, PriceType } from './prices'\nimport type { PriceTier, PriceTierType } from './price_tiers'\nimport type { ShippingMethodTier, ShippingMethodTierType } from './shipping_method_tiers'\nimport type { ShippingZone, ShippingZoneType } from './shipping_zones'\n\n\ntype AttachmentType = 'attachments'\ntype AttachmentRel = ResourceRel & { type: AttachmentType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype PromotionRel = ResourceRel & { type: PromotionType }\ntype OrderRel = ResourceRel & { type: OrderType }\ntype TransactionRel = ResourceRel & { type: TransactionType }\ntype TaxCalculatorRel = ResourceRel & { type: TaxCalculatorType }\ntype TaxCategoryRel = ResourceRel & { type: TaxCategoryType }\ntype SkuRel = ResourceRel & { type: SkuType }\ntype ShippingCategoryRel = ResourceRel & { type: ShippingCategoryType }\ntype BundleRel = ResourceRel & { type: BundleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype StockItemRel = ResourceRel & { type: StockItemType }\ntype StockLocationRel = ResourceRel & { type: StockLocationType }\ntype ReturnRel = ResourceRel & { type: ReturnType }\ntype CarrierAccountRel = ResourceRel & { type: CarrierAccountType }\ntype CouponRecipientRel = ResourceRel & { type: CouponRecipientType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype DeliveryLeadTimeRel = ResourceRel & { type: DeliveryLeadTimeType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype ShipmentRel = ResourceRel & { type: ShipmentType }\ntype DiscountEngineRel = ResourceRel & { type: DiscountEngineType }\ntype ParcelRel = ResourceRel & { type: ParcelType }\ntype GiftCardRecipientRel = ResourceRel & { type: GiftCardRecipientType }\ntype GiftCardRel = ResourceRel & { type: GiftCardType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\ntype StockTransferRel = ResourceRel & { type: StockTransferType }\ntype SkuOptionRel = ResourceRel & { type: SkuOptionType }\ntype MerchantRel = ResourceRel & { type: MerchantType }\ntype SubscriptionModelRel = ResourceRel & { type: SubscriptionModelType }\ntype PaymentOptionRel = ResourceRel & { type: PaymentOptionType }\ntype PackageRel = ResourceRel & { type: PackageType }\ntype PriceRel = ResourceRel & { type: PriceType }\ntype PriceTierRel = ResourceRel & { type: PriceTierType }\ntype ShippingMethodTierRel = ResourceRel & { type: ShippingMethodTierType }\ntype ShippingZoneRel = ResourceRel & { type: ShippingZoneType }\n\n\nexport type AttachmentSort = Pick<Attachment, 'id' | 'name'> & ResourceSort\n// export type AttachmentFilter = Pick<Attachment, 'id' | 'name' | 'description'> & ResourceFilter\n\n\ninterface Attachment extends Resource {\n\t\n\treadonly type: AttachmentType\n\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable?: Geocoder | PriceList | PaymentMethod | Market | CustomerGroup | Promotion | Order | Transaction | TaxCalculator | TaxCategory | Sku | ShippingCategory | Bundle | SkuList | StockItem | StockLocation | Return | CarrierAccount | CouponRecipient | Customer | DeliveryLeadTime | ShippingMethod | Shipment | DiscountEngine | Parcel | GiftCardRecipient | GiftCard | InventoryModel | StockTransfer | SkuOption | Merchant | SubscriptionModel | PaymentOption | Package | Price | PriceTier | ShippingMethodTier | ShippingZone | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface AttachmentCreate extends ResourceCreate {\n\t\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname: string\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable: GeocoderRel | PriceListRel | PaymentMethodRel | MarketRel | CustomerGroupRel | PromotionRel | OrderRel | TransactionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel | DeliveryLeadTimeRel | ShippingMethodRel | ShipmentRel | DiscountEngineRel | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | StockTransferRel | SkuOptionRel | MerchantRel | SubscriptionModelRel | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel\n\n}\n\n\ninterface AttachmentUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The internal name of the attachment.\n\t * @example ```\"DDT transport document\"```\n\t */\n\tname?: string | null\n\t/** \n\t * An internal description of the attachment.\n\t * @example ```\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"```\n\t */\n\tdescription?: string | null\n\t/** \n\t * The attachment URL.\n\t * @example ```\"https://s3.yourdomain.com/attachment.pdf\"```\n\t */\n\turl?: string | null\n\n\tattachable?: GeocoderRel | PriceListRel | PaymentMethodRel | MarketRel | CustomerGroupRel | PromotionRel | OrderRel | TransactionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel | DeliveryLeadTimeRel | ShippingMethodRel | ShipmentRel | DiscountEngineRel | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | StockTransferRel | SkuOptionRel | MerchantRel | SubscriptionModelRel | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null\n\n}\n\n\nclass Attachments extends ApiResource<Attachment> {\n\n\tstatic readonly TYPE: AttachmentType = 'attachments' as const\n\n\tasync create(resource: AttachmentCreate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment> {\n\t\treturn this.resources.create<AttachmentCreate, Attachment>({ ...resource, type: Attachments.TYPE }, params, options)\n\t}\n\n\tasync update(resource: AttachmentUpdate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment> {\n\t\treturn this.resources.update<AttachmentUpdate, Attachment>({ ...resource, type: Attachments.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Attachments.TYPE } : id, options)\n\t}\n\n\tasync event_stores(attachmentId: string | Attachment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _attachmentId = (attachmentId as Attachment).id || attachmentId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `attachments/${_attachmentId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisAttachment(resource: any): resource is Attachment {\n\t\treturn resource.type && (resource.type === Attachments.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): AttachmentRel {\n\t\treturn super.relationshipOneToOne<AttachmentRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): AttachmentRel[] {\n\t\treturn super.relationshipOneToMany<AttachmentRel>(...ids)\n\t}\n\n\n\ttype(): AttachmentType {\n\t\treturn Attachments.TYPE\n\t}\n\n}\n\n\nconst instance = new Attachments()\nexport default instance\n\nexport type { Attachments, Attachment, AttachmentCreate, AttachmentUpdate, AttachmentType }\n"]}
@@ -33,5 +33,5 @@ var instance = new Notifications();
33
33
  var notifications_default = instance;
34
34
 
35
35
  export { notifications_default };
36
- //# sourceMappingURL=chunk-F6TOLEEF.js.map
37
- //# sourceMappingURL=chunk-F6TOLEEF.js.map
36
+ //# sourceMappingURL=chunk-34MN4L45.js.map
37
+ //# sourceMappingURL=chunk-34MN4L45.js.map