@commercelayer/sdk 7.10.0 → 7.11.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 (327) hide show
  1. package/lib/{api-fR7vDjer.d.ts → api-C0NFQ-CQ.d.ts} +41 -4
  2. package/lib/{api-C56k_eNN.d.cts → api-CG-sKBsP.d.cts} +41 -4
  3. package/lib/api.cjs +6 -6
  4. package/lib/api.d.cts +1 -1
  5. package/lib/api.d.ts +1 -1
  6. package/lib/api.js +3 -3
  7. package/lib/bundle.cjs +8 -8
  8. package/lib/bundle.d.cts +1 -1
  9. package/lib/bundle.d.ts +1 -1
  10. package/lib/bundle.js +4 -4
  11. package/lib/{chunk-SWZUFDHY.js → chunk-C7QY2RS6.js} +3 -3
  12. package/lib/{chunk-SWZUFDHY.js.map → chunk-C7QY2RS6.js.map} +1 -1
  13. package/lib/{chunk-MU6PHJWP.js → chunk-ETO33E5U.js} +5 -2
  14. package/lib/chunk-ETO33E5U.js.map +1 -0
  15. package/lib/{chunk-CAR7HCIH.cjs → chunk-FWRDLTUT.cjs} +5 -2
  16. package/lib/chunk-FWRDLTUT.cjs.map +1 -0
  17. package/lib/{chunk-TPFXLI3J.js → chunk-GH7OO6KJ.js} +2 -2
  18. package/lib/{chunk-TPFXLI3J.js.map → chunk-GH7OO6KJ.js.map} +1 -1
  19. package/lib/{chunk-XAHCI5JE.js → chunk-JMGGWZOQ.js} +5 -2
  20. package/lib/chunk-JMGGWZOQ.js.map +1 -0
  21. package/lib/{chunk-JZ5VDGTD.cjs → chunk-L655OQHH.cjs} +2 -2
  22. package/lib/{chunk-JZ5VDGTD.cjs.map → chunk-L655OQHH.cjs.map} +1 -1
  23. package/lib/{chunk-VROIQJ2H.js → chunk-NAPSK4CV.js} +3 -3
  24. package/lib/{chunk-VROIQJ2H.js.map → chunk-NAPSK4CV.js.map} +1 -1
  25. package/lib/{chunk-R7JDWIQK.cjs → chunk-NNRS7BTT.cjs} +3 -3
  26. package/lib/{chunk-R7JDWIQK.cjs.map → chunk-NNRS7BTT.cjs.map} +1 -1
  27. package/lib/{chunk-LGYK5DTL.cjs → chunk-OIKRKTUG.cjs} +4 -4
  28. package/lib/{chunk-LGYK5DTL.cjs.map → chunk-OIKRKTUG.cjs.map} +1 -1
  29. package/lib/{chunk-6ES3UMTH.cjs → chunk-ZJKC6474.cjs} +5 -2
  30. package/lib/chunk-ZJKC6474.cjs.map +1 -0
  31. package/lib/commercelayer.cjs +5 -5
  32. package/lib/commercelayer.d.cts +3 -3
  33. package/lib/commercelayer.d.ts +3 -3
  34. package/lib/commercelayer.js +1 -1
  35. package/lib/enum.d.cts +1 -1
  36. package/lib/enum.d.ts +1 -1
  37. package/lib/index.cjs +11 -11
  38. package/lib/index.d.cts +1 -1
  39. package/lib/index.d.ts +1 -1
  40. package/lib/index.js +5 -5
  41. package/lib/jsonapi.d.cts +1 -1
  42. package/lib/jsonapi.d.ts +1 -1
  43. package/lib/model.d.cts +1 -1
  44. package/lib/model.d.ts +1 -1
  45. package/lib/query.d.cts +1 -1
  46. package/lib/query.d.ts +1 -1
  47. package/lib/resource.d.cts +1 -1
  48. package/lib/resource.d.ts +1 -1
  49. package/lib/resources/addresses.d.cts +2 -2
  50. package/lib/resources/addresses.d.ts +1 -1
  51. package/lib/resources/adjustments.d.cts +2 -2
  52. package/lib/resources/adjustments.d.ts +1 -1
  53. package/lib/resources/adyen_gateways.d.cts +2 -2
  54. package/lib/resources/adyen_gateways.d.ts +1 -1
  55. package/lib/resources/adyen_payments.d.cts +2 -2
  56. package/lib/resources/adyen_payments.d.ts +1 -1
  57. package/lib/resources/applications.cjs +2 -2
  58. package/lib/resources/applications.d.cts +2 -2
  59. package/lib/resources/applications.d.ts +1 -1
  60. package/lib/resources/applications.js +1 -1
  61. package/lib/resources/attachments.d.cts +2 -2
  62. package/lib/resources/attachments.d.ts +1 -1
  63. package/lib/resources/authorizations.d.cts +2 -2
  64. package/lib/resources/authorizations.d.ts +1 -1
  65. package/lib/resources/avalara_accounts.d.cts +2 -2
  66. package/lib/resources/avalara_accounts.d.ts +1 -1
  67. package/lib/resources/axerve_gateways.d.cts +2 -2
  68. package/lib/resources/axerve_gateways.d.ts +1 -1
  69. package/lib/resources/axerve_payments.d.cts +2 -2
  70. package/lib/resources/axerve_payments.d.ts +1 -1
  71. package/lib/resources/bing_geocoders.d.cts +2 -2
  72. package/lib/resources/bing_geocoders.d.ts +1 -1
  73. package/lib/resources/braintree_gateways.d.cts +2 -2
  74. package/lib/resources/braintree_gateways.d.ts +1 -1
  75. package/lib/resources/braintree_payments.d.cts +2 -2
  76. package/lib/resources/braintree_payments.d.ts +1 -1
  77. package/lib/resources/bundles.d.cts +2 -2
  78. package/lib/resources/bundles.d.ts +1 -1
  79. package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
  80. package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
  81. package/lib/resources/captures.d.cts +2 -2
  82. package/lib/resources/captures.d.ts +1 -1
  83. package/lib/resources/carrier_accounts.d.cts +2 -2
  84. package/lib/resources/carrier_accounts.d.ts +1 -1
  85. package/lib/resources/checkout_com_gateways.d.cts +2 -2
  86. package/lib/resources/checkout_com_gateways.d.ts +1 -1
  87. package/lib/resources/checkout_com_payments.d.cts +2 -2
  88. package/lib/resources/checkout_com_payments.d.ts +1 -1
  89. package/lib/resources/cleanups.d.cts +2 -2
  90. package/lib/resources/cleanups.d.ts +1 -1
  91. package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
  92. package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
  93. package/lib/resources/coupon_recipients.d.cts +2 -2
  94. package/lib/resources/coupon_recipients.d.ts +1 -1
  95. package/lib/resources/coupons.d.cts +2 -2
  96. package/lib/resources/coupons.d.ts +1 -1
  97. package/lib/resources/custom_promotion_rules.d.cts +2 -2
  98. package/lib/resources/custom_promotion_rules.d.ts +1 -1
  99. package/lib/resources/customer_addresses.d.cts +2 -2
  100. package/lib/resources/customer_addresses.d.ts +1 -1
  101. package/lib/resources/customer_groups.d.cts +2 -2
  102. package/lib/resources/customer_groups.d.ts +1 -1
  103. package/lib/resources/customer_password_resets.d.cts +2 -2
  104. package/lib/resources/customer_password_resets.d.ts +1 -1
  105. package/lib/resources/customer_payment_sources.d.cts +2 -2
  106. package/lib/resources/customer_payment_sources.d.ts +1 -1
  107. package/lib/resources/customer_subscriptions.d.cts +2 -2
  108. package/lib/resources/customer_subscriptions.d.ts +1 -1
  109. package/lib/resources/customers.d.cts +2 -2
  110. package/lib/resources/customers.d.ts +1 -1
  111. package/lib/resources/delivery_lead_times.d.cts +2 -2
  112. package/lib/resources/delivery_lead_times.d.ts +1 -1
  113. package/lib/resources/discount_engine_items.d.cts +2 -2
  114. package/lib/resources/discount_engine_items.d.ts +1 -1
  115. package/lib/resources/discount_engines.d.cts +2 -2
  116. package/lib/resources/discount_engines.d.ts +1 -1
  117. package/lib/resources/easypost_pickups.d.cts +2 -2
  118. package/lib/resources/easypost_pickups.d.ts +1 -1
  119. package/lib/resources/event_callbacks.d.cts +2 -2
  120. package/lib/resources/event_callbacks.d.ts +1 -1
  121. package/lib/resources/event_stores.d.cts +2 -2
  122. package/lib/resources/event_stores.d.ts +1 -1
  123. package/lib/resources/events.d.cts +2 -2
  124. package/lib/resources/events.d.ts +1 -1
  125. package/lib/resources/exports.cjs +2 -2
  126. package/lib/resources/exports.d.cts +2 -2
  127. package/lib/resources/exports.d.ts +1 -1
  128. package/lib/resources/exports.js +1 -1
  129. package/lib/resources/external_gateways.d.cts +2 -2
  130. package/lib/resources/external_gateways.d.ts +1 -1
  131. package/lib/resources/external_payments.d.cts +2 -2
  132. package/lib/resources/external_payments.d.ts +1 -1
  133. package/lib/resources/external_promotions.d.cts +2 -2
  134. package/lib/resources/external_promotions.d.ts +1 -1
  135. package/lib/resources/external_tax_calculators.d.cts +2 -2
  136. package/lib/resources/external_tax_calculators.d.ts +1 -1
  137. package/lib/resources/fixed_amount_promotions.d.cts +2 -2
  138. package/lib/resources/fixed_amount_promotions.d.ts +1 -1
  139. package/lib/resources/fixed_price_promotions.d.cts +2 -2
  140. package/lib/resources/fixed_price_promotions.d.ts +1 -1
  141. package/lib/resources/flex_promotions.d.cts +2 -2
  142. package/lib/resources/flex_promotions.d.ts +1 -1
  143. package/lib/resources/free_gift_promotions.d.cts +2 -2
  144. package/lib/resources/free_gift_promotions.d.ts +1 -1
  145. package/lib/resources/free_shipping_promotions.d.cts +2 -2
  146. package/lib/resources/free_shipping_promotions.d.ts +1 -1
  147. package/lib/resources/geocoders.d.cts +2 -2
  148. package/lib/resources/geocoders.d.ts +1 -1
  149. package/lib/resources/gift_card_recipients.d.cts +2 -2
  150. package/lib/resources/gift_card_recipients.d.ts +1 -1
  151. package/lib/resources/gift_cards.d.cts +2 -2
  152. package/lib/resources/gift_cards.d.ts +1 -1
  153. package/lib/resources/google_geocoders.d.cts +2 -2
  154. package/lib/resources/google_geocoders.d.ts +1 -1
  155. package/lib/resources/imports.d.cts +2 -2
  156. package/lib/resources/imports.d.ts +1 -1
  157. package/lib/resources/in_stock_subscriptions.d.cts +2 -2
  158. package/lib/resources/in_stock_subscriptions.d.ts +1 -1
  159. package/lib/resources/inventory_models.d.cts +2 -2
  160. package/lib/resources/inventory_models.d.ts +1 -1
  161. package/lib/resources/inventory_return_locations.d.cts +2 -2
  162. package/lib/resources/inventory_return_locations.d.ts +1 -1
  163. package/lib/resources/inventory_stock_locations.d.cts +2 -2
  164. package/lib/resources/inventory_stock_locations.d.ts +1 -1
  165. package/lib/resources/klarna_gateways.d.cts +2 -2
  166. package/lib/resources/klarna_gateways.d.ts +1 -1
  167. package/lib/resources/klarna_payments.d.cts +2 -2
  168. package/lib/resources/klarna_payments.d.ts +1 -1
  169. package/lib/resources/line_item_options.d.cts +2 -2
  170. package/lib/resources/line_item_options.d.ts +1 -1
  171. package/lib/resources/line_items.d.cts +2 -2
  172. package/lib/resources/line_items.d.ts +1 -1
  173. package/lib/resources/links.d.cts +2 -2
  174. package/lib/resources/links.d.ts +1 -1
  175. package/lib/resources/manual_gateways.d.cts +2 -2
  176. package/lib/resources/manual_gateways.d.ts +1 -1
  177. package/lib/resources/manual_tax_calculators.d.cts +2 -2
  178. package/lib/resources/manual_tax_calculators.d.ts +1 -1
  179. package/lib/resources/markets.d.cts +2 -2
  180. package/lib/resources/markets.d.ts +1 -1
  181. package/lib/resources/merchants.d.cts +2 -2
  182. package/lib/resources/merchants.d.ts +1 -1
  183. package/lib/resources/notifications.d.cts +2 -2
  184. package/lib/resources/notifications.d.ts +1 -1
  185. package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
  186. package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
  187. package/lib/resources/order_copies.d.cts +2 -2
  188. package/lib/resources/order_copies.d.ts +1 -1
  189. package/lib/resources/order_factories.d.cts +2 -2
  190. package/lib/resources/order_factories.d.ts +1 -1
  191. package/lib/resources/order_subscription_items.d.cts +2 -2
  192. package/lib/resources/order_subscription_items.d.ts +1 -1
  193. package/lib/resources/order_subscriptions.d.cts +2 -2
  194. package/lib/resources/order_subscriptions.d.ts +1 -1
  195. package/lib/resources/orders.cjs +2 -2
  196. package/lib/resources/orders.d.cts +2 -2
  197. package/lib/resources/orders.d.ts +1 -1
  198. package/lib/resources/orders.js +1 -1
  199. package/lib/resources/organizations.d.cts +2 -2
  200. package/lib/resources/organizations.d.ts +1 -1
  201. package/lib/resources/packages.d.cts +2 -2
  202. package/lib/resources/packages.d.ts +1 -1
  203. package/lib/resources/parcel_line_items.d.cts +2 -2
  204. package/lib/resources/parcel_line_items.d.ts +1 -1
  205. package/lib/resources/parcels.d.cts +2 -2
  206. package/lib/resources/parcels.d.ts +1 -1
  207. package/lib/resources/payment_gateways.d.cts +2 -2
  208. package/lib/resources/payment_gateways.d.ts +1 -1
  209. package/lib/resources/payment_methods.d.cts +2 -2
  210. package/lib/resources/payment_methods.d.ts +1 -1
  211. package/lib/resources/payment_options.d.cts +2 -2
  212. package/lib/resources/payment_options.d.ts +1 -1
  213. package/lib/resources/paypal_gateways.d.cts +2 -2
  214. package/lib/resources/paypal_gateways.d.ts +1 -1
  215. package/lib/resources/paypal_payments.d.cts +2 -2
  216. package/lib/resources/paypal_payments.d.ts +1 -1
  217. package/lib/resources/percentage_discount_promotions.d.cts +2 -2
  218. package/lib/resources/percentage_discount_promotions.d.ts +1 -1
  219. package/lib/resources/pickups.d.cts +2 -2
  220. package/lib/resources/pickups.d.ts +1 -1
  221. package/lib/resources/price_frequency_tiers.d.cts +2 -2
  222. package/lib/resources/price_frequency_tiers.d.ts +1 -1
  223. package/lib/resources/price_list_schedulers.d.cts +2 -2
  224. package/lib/resources/price_list_schedulers.d.ts +1 -1
  225. package/lib/resources/price_lists.d.cts +2 -2
  226. package/lib/resources/price_lists.d.ts +1 -1
  227. package/lib/resources/price_tiers.d.cts +2 -2
  228. package/lib/resources/price_tiers.d.ts +1 -1
  229. package/lib/resources/price_volume_tiers.d.cts +2 -2
  230. package/lib/resources/price_volume_tiers.d.ts +1 -1
  231. package/lib/resources/prices.d.cts +2 -2
  232. package/lib/resources/prices.d.ts +1 -1
  233. package/lib/resources/promotion_rules.d.cts +2 -2
  234. package/lib/resources/promotion_rules.d.ts +1 -1
  235. package/lib/resources/promotions.d.cts +2 -2
  236. package/lib/resources/promotions.d.ts +1 -1
  237. package/lib/resources/recurring_order_copies.d.cts +2 -2
  238. package/lib/resources/recurring_order_copies.d.ts +1 -1
  239. package/lib/resources/refunds.d.cts +2 -2
  240. package/lib/resources/refunds.d.ts +1 -1
  241. package/lib/resources/reserved_stocks.d.cts +2 -2
  242. package/lib/resources/reserved_stocks.d.ts +1 -1
  243. package/lib/resources/resource_errors.d.cts +2 -2
  244. package/lib/resources/resource_errors.d.ts +1 -1
  245. package/lib/resources/return_line_items.d.cts +2 -2
  246. package/lib/resources/return_line_items.d.ts +1 -1
  247. package/lib/resources/returns.d.cts +2 -2
  248. package/lib/resources/returns.d.ts +1 -1
  249. package/lib/resources/satispay_gateways.d.cts +2 -2
  250. package/lib/resources/satispay_gateways.d.ts +1 -1
  251. package/lib/resources/satispay_payments.d.cts +2 -2
  252. package/lib/resources/satispay_payments.d.ts +1 -1
  253. package/lib/resources/shipments.d.cts +2 -2
  254. package/lib/resources/shipments.d.ts +1 -1
  255. package/lib/resources/shipping_categories.d.cts +2 -2
  256. package/lib/resources/shipping_categories.d.ts +1 -1
  257. package/lib/resources/shipping_method_tiers.d.cts +2 -2
  258. package/lib/resources/shipping_method_tiers.d.ts +1 -1
  259. package/lib/resources/shipping_methods.d.cts +2 -2
  260. package/lib/resources/shipping_methods.d.ts +1 -1
  261. package/lib/resources/shipping_weight_tiers.d.cts +2 -2
  262. package/lib/resources/shipping_weight_tiers.d.ts +1 -1
  263. package/lib/resources/shipping_zones.d.cts +2 -2
  264. package/lib/resources/shipping_zones.d.ts +1 -1
  265. package/lib/resources/sku_list_items.d.cts +2 -2
  266. package/lib/resources/sku_list_items.d.ts +1 -1
  267. package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
  268. package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
  269. package/lib/resources/sku_lists.d.cts +2 -2
  270. package/lib/resources/sku_lists.d.ts +1 -1
  271. package/lib/resources/sku_options.d.cts +2 -2
  272. package/lib/resources/sku_options.d.ts +1 -1
  273. package/lib/resources/skus.d.cts +2 -2
  274. package/lib/resources/skus.d.ts +1 -1
  275. package/lib/resources/stock_items.d.cts +2 -2
  276. package/lib/resources/stock_items.d.ts +1 -1
  277. package/lib/resources/stock_line_items.d.cts +2 -2
  278. package/lib/resources/stock_line_items.d.ts +1 -1
  279. package/lib/resources/stock_locations.d.cts +2 -2
  280. package/lib/resources/stock_locations.d.ts +1 -1
  281. package/lib/resources/stock_reservations.d.cts +2 -2
  282. package/lib/resources/stock_reservations.d.ts +1 -1
  283. package/lib/resources/stock_transfers.d.cts +2 -2
  284. package/lib/resources/stock_transfers.d.ts +1 -1
  285. package/lib/resources/stores.d.cts +2 -2
  286. package/lib/resources/stores.d.ts +1 -1
  287. package/lib/resources/stripe_gateways.d.cts +2 -2
  288. package/lib/resources/stripe_gateways.d.ts +1 -1
  289. package/lib/resources/stripe_payments.d.cts +2 -2
  290. package/lib/resources/stripe_payments.d.ts +1 -1
  291. package/lib/resources/stripe_tax_accounts.d.cts +2 -2
  292. package/lib/resources/stripe_tax_accounts.d.ts +1 -1
  293. package/lib/resources/subscription_models.d.cts +2 -2
  294. package/lib/resources/subscription_models.d.ts +1 -1
  295. package/lib/resources/tags.d.cts +2 -2
  296. package/lib/resources/tags.d.ts +1 -1
  297. package/lib/resources/talon_one_accounts.d.cts +2 -2
  298. package/lib/resources/talon_one_accounts.d.ts +1 -1
  299. package/lib/resources/tax_calculators.d.cts +2 -2
  300. package/lib/resources/tax_calculators.d.ts +1 -1
  301. package/lib/resources/tax_categories.d.cts +2 -2
  302. package/lib/resources/tax_categories.d.ts +1 -1
  303. package/lib/resources/tax_rules.d.cts +2 -2
  304. package/lib/resources/tax_rules.d.ts +1 -1
  305. package/lib/resources/taxjar_accounts.d.cts +2 -2
  306. package/lib/resources/taxjar_accounts.d.ts +1 -1
  307. package/lib/resources/transactions.d.cts +2 -2
  308. package/lib/resources/transactions.d.ts +1 -1
  309. package/lib/resources/versions.d.cts +2 -2
  310. package/lib/resources/versions.d.ts +1 -1
  311. package/lib/resources/vertex_accounts.d.cts +2 -2
  312. package/lib/resources/vertex_accounts.d.ts +1 -1
  313. package/lib/resources/voids.d.cts +2 -2
  314. package/lib/resources/voids.d.ts +1 -1
  315. package/lib/resources/webhooks.d.cts +2 -2
  316. package/lib/resources/webhooks.d.ts +1 -1
  317. package/lib/resources/wire_transfers.d.cts +2 -2
  318. package/lib/resources/wire_transfers.d.ts +1 -1
  319. package/lib/static.cjs +3 -3
  320. package/lib/static.d.cts +1 -1
  321. package/lib/static.d.ts +1 -1
  322. package/lib/static.js +2 -2
  323. package/package.json +9 -8
  324. package/lib/chunk-6ES3UMTH.cjs.map +0 -1
  325. package/lib/chunk-CAR7HCIH.cjs.map +0 -1
  326. package/lib/chunk-MU6PHJWP.js.map +0 -1
  327. package/lib/chunk-XAHCI5JE.js.map +0 -1
@@ -14739,6 +14739,11 @@ interface OrderUpdate extends ResourceUpdate {
14739
14739
  * @example ```true```
14740
14740
  */
14741
14741
  _refresh?: boolean | null;
14742
+ /**
14743
+ * Send this attribute if you want to refresh the prices of the line items associated to this order. Cannot be passed by sales channels.
14744
+ * @example ```true```
14745
+ */
14746
+ _refresh_prices?: boolean | null;
14742
14747
  /**
14743
14748
  * Send this attribute if you want to trigger the external validation for the order.
14744
14749
  * @example ```true```
@@ -14860,6 +14865,7 @@ declare class Orders extends ApiResource<Order> {
14860
14865
  _save_shipping_address_to_customer_address_book(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14861
14866
  _save_billing_address_to_customer_address_book(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14862
14867
  _refresh(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14868
+ _refresh_prices(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14863
14869
  _validate(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14864
14870
  _create_subscriptions(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14865
14871
  _start_editing(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
@@ -15230,7 +15236,7 @@ interface Application extends Resource {
15230
15236
  * The application's kind. One of 'sales_channel', 'integration', or 'webapp'.
15231
15237
  * @example ```"sales-channel"```
15232
15238
  */
15233
- kind?: 'dashboard' | 'user' | 'metrics' | 'contentful' | 'bundles' | 'customers' | 'datocms' | 'exports' | 'external' | 'generic' | 'gift_cards' | 'imports' | 'integration' | 'inventory' | 'orders' | 'price_lists' | 'promotions' | 'resources' | 'returns' | 'sales_channel' | 'sanity' | 'shipments' | 'skus' | 'sku_lists' | 'stock_transfers' | 'subscriptions' | 'tags' | 'webapp' | 'webhooks' | 'zapier' | null;
15239
+ kind?: 'dashboard' | 'user' | 'contentful' | 'bundles' | 'customers' | 'datocms' | 'exports' | 'external' | 'generic' | 'gift_cards' | 'imports' | 'integration' | 'inventory' | 'metrics' | 'orders' | 'price_lists' | 'promotions' | 'resources' | 'returns' | 'sales_channel' | 'sanity' | 'shipments' | 'skus' | 'sku_lists' | 'stock_transfers' | 'subscriptions' | 'tags' | 'webapp' | 'webhooks' | 'zapier' | null;
15234
15240
  /**
15235
15241
  * Indicates if the application has public access.
15236
15242
  * @example ```true```
@@ -16020,7 +16026,7 @@ type ExportType = 'exports';
16020
16026
  type ExportRel = ResourceRel & {
16021
16027
  type: ExportType;
16022
16028
  };
16023
- type ExportSort = Pick<Export, 'id' | 'resource_type' | 'format' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'attachment_url'> & ResourceSort;
16029
+ type ExportSort = Pick<Export, 'id' | 'resource_type' | 'format' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'processed_count' | 'attachment_url'> & ResourceSort;
16024
16030
  interface Export extends Resource {
16025
16031
  readonly type: ExportType;
16026
16032
  /**
@@ -16034,10 +16040,10 @@ interface Export extends Resource {
16034
16040
  */
16035
16041
  format?: string | null;
16036
16042
  /**
16037
- * The export job status. One of 'pending' (default), 'in_progress', 'interrupted', or 'completed'.
16043
+ * The export job status. One of 'pending' (default), 'in_progress', 'interrupted', 'completed', or 'failed'.
16038
16044
  * @example ```"in_progress"```
16039
16045
  */
16040
- status: 'pending' | 'in_progress' | 'interrupted' | 'completed';
16046
+ status: 'pending' | 'in_progress' | 'interrupted' | 'completed' | 'failed';
16041
16047
  /**
16042
16048
  * List of related resources that should be included in the export (redundant when 'fields' are specified).
16043
16049
  * @example ```["prices.price_tiers"]```
@@ -16057,6 +16063,11 @@ interface Export extends Resource {
16057
16063
  * Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset.
16058
16064
  */
16059
16065
  dry_data?: boolean | null;
16066
+ /**
16067
+ * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.
16068
+ * @example ```true```
16069
+ */
16070
+ jwt_filters?: boolean | null;
16060
16071
  /**
16061
16072
  * Time at which the export was started.
16062
16073
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -16067,6 +16078,11 @@ interface Export extends Resource {
16067
16078
  * @example ```"2018-01-01T12:00:00.000Z"```
16068
16079
  */
16069
16080
  completed_at?: string | null;
16081
+ /**
16082
+ * Estimated time at which the export should complete (dynamically refres^hed).
16083
+ * @example ```"2018-01-01T12:00:00.000Z"```
16084
+ */
16085
+ estimated_completion_at?: string | null;
16070
16086
  /**
16071
16087
  * Time at which the export was interrupted.
16072
16088
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -16077,6 +16093,16 @@ interface Export extends Resource {
16077
16093
  * @example ```300```
16078
16094
  */
16079
16095
  records_count?: number | null;
16096
+ /**
16097
+ * Indicates how many records have been processed in real time.
16098
+ * @example ```270```
16099
+ */
16100
+ processed_count?: number | null;
16101
+ /**
16102
+ * The percentage of progress of the export.
16103
+ * @example ```30```
16104
+ */
16105
+ progress?: number | null;
16080
16106
  /**
16081
16107
  * The URL to the output file, which will be generated upon export completion.
16082
16108
  * @example ```"http://cl_exports.s3.amazonaws.com/"```
@@ -16121,8 +16147,18 @@ interface ExportCreate extends ResourceCreate {
16121
16147
  * Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset.
16122
16148
  */
16123
16149
  dry_data?: boolean | null;
16150
+ /**
16151
+ * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.
16152
+ * @example ```true```
16153
+ */
16154
+ jwt_filters?: boolean | null;
16124
16155
  }
16125
16156
  interface ExportUpdate extends ResourceUpdate {
16157
+ /**
16158
+ * Send this attribute if you want to restart an 'interrupted' export.
16159
+ * @example ```true```
16160
+ */
16161
+ _start?: boolean | null;
16126
16162
  /**
16127
16163
  * Send this attribute if you want to mark status as 'interrupted'.
16128
16164
  * @example ```true```
@@ -16137,6 +16173,7 @@ declare class Exports extends ApiResource<Export> {
16137
16173
  events(exportId: string | Export, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
16138
16174
  versions(exportId: string | Export, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16139
16175
  event_stores(exportId: string | Export, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16176
+ _start(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export>;
16140
16177
  _interrupt(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export>;
16141
16178
  isExport(resource: any): resource is Export;
16142
16179
  relationship(id: string | ResourceId | null): ExportRel;
@@ -14739,6 +14739,11 @@ interface OrderUpdate extends ResourceUpdate {
14739
14739
  * @example ```true```
14740
14740
  */
14741
14741
  _refresh?: boolean | null;
14742
+ /**
14743
+ * Send this attribute if you want to refresh the prices of the line items associated to this order. Cannot be passed by sales channels.
14744
+ * @example ```true```
14745
+ */
14746
+ _refresh_prices?: boolean | null;
14742
14747
  /**
14743
14748
  * Send this attribute if you want to trigger the external validation for the order.
14744
14749
  * @example ```true```
@@ -14860,6 +14865,7 @@ declare class Orders extends ApiResource<Order> {
14860
14865
  _save_shipping_address_to_customer_address_book(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14861
14866
  _save_billing_address_to_customer_address_book(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14862
14867
  _refresh(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14868
+ _refresh_prices(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14863
14869
  _validate(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14864
14870
  _create_subscriptions(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
14865
14871
  _start_editing(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
@@ -15230,7 +15236,7 @@ interface Application extends Resource {
15230
15236
  * The application's kind. One of 'sales_channel', 'integration', or 'webapp'.
15231
15237
  * @example ```"sales-channel"```
15232
15238
  */
15233
- kind?: 'dashboard' | 'user' | 'metrics' | 'contentful' | 'bundles' | 'customers' | 'datocms' | 'exports' | 'external' | 'generic' | 'gift_cards' | 'imports' | 'integration' | 'inventory' | 'orders' | 'price_lists' | 'promotions' | 'resources' | 'returns' | 'sales_channel' | 'sanity' | 'shipments' | 'skus' | 'sku_lists' | 'stock_transfers' | 'subscriptions' | 'tags' | 'webapp' | 'webhooks' | 'zapier' | null;
15239
+ kind?: 'dashboard' | 'user' | 'contentful' | 'bundles' | 'customers' | 'datocms' | 'exports' | 'external' | 'generic' | 'gift_cards' | 'imports' | 'integration' | 'inventory' | 'metrics' | 'orders' | 'price_lists' | 'promotions' | 'resources' | 'returns' | 'sales_channel' | 'sanity' | 'shipments' | 'skus' | 'sku_lists' | 'stock_transfers' | 'subscriptions' | 'tags' | 'webapp' | 'webhooks' | 'zapier' | null;
15234
15240
  /**
15235
15241
  * Indicates if the application has public access.
15236
15242
  * @example ```true```
@@ -16020,7 +16026,7 @@ type ExportType = 'exports';
16020
16026
  type ExportRel = ResourceRel & {
16021
16027
  type: ExportType;
16022
16028
  };
16023
- type ExportSort = Pick<Export, 'id' | 'resource_type' | 'format' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'attachment_url'> & ResourceSort;
16029
+ type ExportSort = Pick<Export, 'id' | 'resource_type' | 'format' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'records_count' | 'processed_count' | 'attachment_url'> & ResourceSort;
16024
16030
  interface Export extends Resource {
16025
16031
  readonly type: ExportType;
16026
16032
  /**
@@ -16034,10 +16040,10 @@ interface Export extends Resource {
16034
16040
  */
16035
16041
  format?: string | null;
16036
16042
  /**
16037
- * The export job status. One of 'pending' (default), 'in_progress', 'interrupted', or 'completed'.
16043
+ * The export job status. One of 'pending' (default), 'in_progress', 'interrupted', 'completed', or 'failed'.
16038
16044
  * @example ```"in_progress"```
16039
16045
  */
16040
- status: 'pending' | 'in_progress' | 'interrupted' | 'completed';
16046
+ status: 'pending' | 'in_progress' | 'interrupted' | 'completed' | 'failed';
16041
16047
  /**
16042
16048
  * List of related resources that should be included in the export (redundant when 'fields' are specified).
16043
16049
  * @example ```["prices.price_tiers"]```
@@ -16057,6 +16063,11 @@ interface Export extends Resource {
16057
16063
  * Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset.
16058
16064
  */
16059
16065
  dry_data?: boolean | null;
16066
+ /**
16067
+ * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.
16068
+ * @example ```true```
16069
+ */
16070
+ jwt_filters?: boolean | null;
16060
16071
  /**
16061
16072
  * Time at which the export was started.
16062
16073
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -16067,6 +16078,11 @@ interface Export extends Resource {
16067
16078
  * @example ```"2018-01-01T12:00:00.000Z"```
16068
16079
  */
16069
16080
  completed_at?: string | null;
16081
+ /**
16082
+ * Estimated time at which the export should complete (dynamically refres^hed).
16083
+ * @example ```"2018-01-01T12:00:00.000Z"```
16084
+ */
16085
+ estimated_completion_at?: string | null;
16070
16086
  /**
16071
16087
  * Time at which the export was interrupted.
16072
16088
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -16077,6 +16093,16 @@ interface Export extends Resource {
16077
16093
  * @example ```300```
16078
16094
  */
16079
16095
  records_count?: number | null;
16096
+ /**
16097
+ * Indicates how many records have been processed in real time.
16098
+ * @example ```270```
16099
+ */
16100
+ processed_count?: number | null;
16101
+ /**
16102
+ * The percentage of progress of the export.
16103
+ * @example ```30```
16104
+ */
16105
+ progress?: number | null;
16080
16106
  /**
16081
16107
  * The URL to the output file, which will be generated upon export completion.
16082
16108
  * @example ```"http://cl_exports.s3.amazonaws.com/"```
@@ -16121,8 +16147,18 @@ interface ExportCreate extends ResourceCreate {
16121
16147
  * Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset.
16122
16148
  */
16123
16149
  dry_data?: boolean | null;
16150
+ /**
16151
+ * Send this attribute to apply JWT scope–based sales channel filtering to the exported data.
16152
+ * @example ```true```
16153
+ */
16154
+ jwt_filters?: boolean | null;
16124
16155
  }
16125
16156
  interface ExportUpdate extends ResourceUpdate {
16157
+ /**
16158
+ * Send this attribute if you want to restart an 'interrupted' export.
16159
+ * @example ```true```
16160
+ */
16161
+ _start?: boolean | null;
16126
16162
  /**
16127
16163
  * Send this attribute if you want to mark status as 'interrupted'.
16128
16164
  * @example ```true```
@@ -16137,6 +16173,7 @@ declare class Exports extends ApiResource<Export> {
16137
16173
  events(exportId: string | Export, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
16138
16174
  versions(exportId: string | Export, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16139
16175
  event_stores(exportId: string | Export, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16176
+ _start(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export>;
16140
16177
  _interrupt(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export>;
16141
16178
  isExport(resource: any): resource is Export;
16142
16179
  relationship(id: string | ResourceId | null): ExportRel;
package/lib/api.cjs CHANGED
@@ -56,7 +56,7 @@ var chunkSNHW3YC5_cjs = require('./chunk-SNHW3YC5.cjs');
56
56
  var chunk6RLGIXTB_cjs = require('./chunk-6RLGIXTB.cjs');
57
57
  var chunkR3PNGGDR_cjs = require('./chunk-R3PNGGDR.cjs');
58
58
  var chunkPD4I73FB_cjs = require('./chunk-PD4I73FB.cjs');
59
- var chunk6ES3UMTH_cjs = require('./chunk-6ES3UMTH.cjs');
59
+ var chunkZJKC6474_cjs = require('./chunk-ZJKC6474.cjs');
60
60
  var chunkV2JFGTP4_cjs = require('./chunk-V2JFGTP4.cjs');
61
61
  var chunkIMZ67YBL_cjs = require('./chunk-IMZ67YBL.cjs');
62
62
  var chunkJAL5VEJ4_cjs = require('./chunk-JAL5VEJ4.cjs');
@@ -102,7 +102,7 @@ var chunkQVJTWTUN_cjs = require('./chunk-QVJTWTUN.cjs');
102
102
  var chunkDGYQ3LEP_cjs = require('./chunk-DGYQ3LEP.cjs');
103
103
  var chunkW6D7ACVK_cjs = require('./chunk-W6D7ACVK.cjs');
104
104
  var chunkBBNWP52Z_cjs = require('./chunk-BBNWP52Z.cjs');
105
- var chunkCAR7HCIH_cjs = require('./chunk-CAR7HCIH.cjs');
105
+ var chunkFWRDLTUT_cjs = require('./chunk-FWRDLTUT.cjs');
106
106
  var chunkWYSCB65K_cjs = require('./chunk-WYSCB65K.cjs');
107
107
  var chunkNM2TVMKS_cjs = require('./chunk-NM2TVMKS.cjs');
108
108
  var chunkQKCTP2RD_cjs = require('./chunk-QKCTP2RD.cjs');
@@ -131,7 +131,7 @@ var chunk66BQF7RB_cjs = require('./chunk-66BQF7RB.cjs');
131
131
  var chunkBUKCNQRD_cjs = require('./chunk-BUKCNQRD.cjs');
132
132
  var chunkWZKB5BTI_cjs = require('./chunk-WZKB5BTI.cjs');
133
133
  var chunkL7VZ5ST5_cjs = require('./chunk-L7VZ5ST5.cjs');
134
- var chunkJZ5VDGTD_cjs = require('./chunk-JZ5VDGTD.cjs');
134
+ var chunkL655OQHH_cjs = require('./chunk-L655OQHH.cjs');
135
135
  var chunkMDT7RJZY_cjs = require('./chunk-MDT7RJZY.cjs');
136
136
  require('./chunk-UBH2EC5P.cjs');
137
137
  require('./chunk-3GOADUES.cjs');
@@ -367,7 +367,7 @@ Object.defineProperty(exports, "order_subscriptions", {
367
367
  });
368
368
  Object.defineProperty(exports, "orders", {
369
369
  enumerable: true,
370
- get: function () { return chunk6ES3UMTH_cjs.orders_default; }
370
+ get: function () { return chunkZJKC6474_cjs.orders_default; }
371
371
  });
372
372
  Object.defineProperty(exports, "organization", {
373
373
  enumerable: true,
@@ -551,7 +551,7 @@ Object.defineProperty(exports, "events", {
551
551
  });
552
552
  Object.defineProperty(exports, "exports", {
553
553
  enumerable: true,
554
- get: function () { return chunkCAR7HCIH_cjs.exports_default; }
554
+ get: function () { return chunkFWRDLTUT_cjs.exports_default; }
555
555
  });
556
556
  Object.defineProperty(exports, "coupons", {
557
557
  enumerable: true,
@@ -667,7 +667,7 @@ Object.defineProperty(exports, "adyen_payments", {
667
667
  });
668
668
  Object.defineProperty(exports, "application", {
669
669
  enumerable: true,
670
- get: function () { return chunkJZ5VDGTD_cjs.applications_default; }
670
+ get: function () { return chunkL655OQHH_cjs.applications_default; }
671
671
  });
672
672
  Object.defineProperty(exports, "attachments", {
673
673
  enumerable: true,
package/lib/api.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers, jt as addresses, ju as adjustments, jv as adyen_gateways, jw as adyen_payments, jx as application, jy as attachments, jz as authorizations, jA as avalara_accounts, jB as axerve_gateways, jC as axerve_payments, jD as bing_geocoders, jE as braintree_gateways, jF as braintree_payments, jG as bundles, jH as buy_x_pay_y_promotions, jI as captures, jJ as carrier_accounts, jK as checkout_com_gateways, jL as checkout_com_payments, jM as cleanups, jN as coupon_codes_promotion_rules, jO as coupon_recipients, jP as coupons, jQ as custom_promotion_rules, jR as customer_addresses, jS as customer_groups, jT as customer_password_resets, jU as customer_payment_sources, jV as customer_subscriptions, jW as customers, jX as delivery_lead_times, jY as discount_engine_items, jZ as discount_engines, j_ as easypost_pickups, j$ as event_callbacks, k0 as event_stores, k1 as events, k2 as exports, k3 as external_gateways, k4 as external_payments, k5 as external_promotions, k6 as external_tax_calculators, k7 as fixed_amount_promotions, k8 as fixed_price_promotions, k9 as flex_promotions, ka as free_gift_promotions, kb as free_shipping_promotions, kc as geocoders, kd as gift_card_recipients, ke as gift_cards, kf as google_geocoders, kg as imports, kh as in_stock_subscriptions, ki as inventory_models, kj as inventory_return_locations, kk as inventory_stock_locations, kl as klarna_gateways, km as klarna_payments, kn as line_item_options, ko as line_items, kp as links, kq as manual_gateways, kr as manual_tax_calculators, ks as markets, kt as merchants, ku as notifications, kv as order_amount_promotion_rules, kw as order_copies, kx as order_factories, ky as order_subscription_items, kz as order_subscriptions, kA as orders, kB as organization, kC as packages, kD as parcel_line_items, kE as parcels, kF as payment_gateways, kG as payment_methods, kH as payment_options, kI as paypal_gateways, kJ as paypal_payments, kK as percentage_discount_promotions, kL as pickups, kM as price_frequency_tiers, kN as price_list_schedulers, kO as price_lists, kP as price_tiers, kQ as price_volume_tiers, kR as prices, kS as promotion_rules, kT as promotions, kU as recurring_order_copies, kV as refunds, kW as reserved_stocks, kX as resource_errors, kY as return_line_items, kZ as returns, k_ as satispay_gateways, k$ as satispay_payments, l0 as shipments, l1 as shipping_categories, l2 as shipping_method_tiers, l3 as shipping_methods, l4 as shipping_weight_tiers, l5 as shipping_zones, l6 as sku_list_items, l7 as sku_list_promotion_rules, l8 as sku_lists, l9 as sku_options, la as skus, lb as stock_items, lc as stock_line_items, ld as stock_locations, le as stock_reservations, lf as stock_transfers, lg as stores, lh as stripe_gateways, li as stripe_payments, lj as stripe_tax_accounts, lk as subscription_models, ll as tags, lm as talon_one_accounts, ln as tax_calculators, lo as tax_categories, lp as tax_rules, lq as taxjar_accounts, lr as transactions, ls as versions, lt as vertex_accounts, lu as voids, lv as webhooks, lw as wire_transfers } from './api-C56k_eNN.cjs';
1
+ export { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers, jt as addresses, ju as adjustments, jv as adyen_gateways, jw as adyen_payments, jx as application, jy as attachments, jz as authorizations, jA as avalara_accounts, jB as axerve_gateways, jC as axerve_payments, jD as bing_geocoders, jE as braintree_gateways, jF as braintree_payments, jG as bundles, jH as buy_x_pay_y_promotions, jI as captures, jJ as carrier_accounts, jK as checkout_com_gateways, jL as checkout_com_payments, jM as cleanups, jN as coupon_codes_promotion_rules, jO as coupon_recipients, jP as coupons, jQ as custom_promotion_rules, jR as customer_addresses, jS as customer_groups, jT as customer_password_resets, jU as customer_payment_sources, jV as customer_subscriptions, jW as customers, jX as delivery_lead_times, jY as discount_engine_items, jZ as discount_engines, j_ as easypost_pickups, j$ as event_callbacks, k0 as event_stores, k1 as events, k2 as exports, k3 as external_gateways, k4 as external_payments, k5 as external_promotions, k6 as external_tax_calculators, k7 as fixed_amount_promotions, k8 as fixed_price_promotions, k9 as flex_promotions, ka as free_gift_promotions, kb as free_shipping_promotions, kc as geocoders, kd as gift_card_recipients, ke as gift_cards, kf as google_geocoders, kg as imports, kh as in_stock_subscriptions, ki as inventory_models, kj as inventory_return_locations, kk as inventory_stock_locations, kl as klarna_gateways, km as klarna_payments, kn as line_item_options, ko as line_items, kp as links, kq as manual_gateways, kr as manual_tax_calculators, ks as markets, kt as merchants, ku as notifications, kv as order_amount_promotion_rules, kw as order_copies, kx as order_factories, ky as order_subscription_items, kz as order_subscriptions, kA as orders, kB as organization, kC as packages, kD as parcel_line_items, kE as parcels, kF as payment_gateways, kG as payment_methods, kH as payment_options, kI as paypal_gateways, kJ as paypal_payments, kK as percentage_discount_promotions, kL as pickups, kM as price_frequency_tiers, kN as price_list_schedulers, kO as price_lists, kP as price_tiers, kQ as price_volume_tiers, kR as prices, kS as promotion_rules, kT as promotions, kU as recurring_order_copies, kV as refunds, kW as reserved_stocks, kX as resource_errors, kY as return_line_items, kZ as returns, k_ as satispay_gateways, k$ as satispay_payments, l0 as shipments, l1 as shipping_categories, l2 as shipping_method_tiers, l3 as shipping_methods, l4 as shipping_weight_tiers, l5 as shipping_zones, l6 as sku_list_items, l7 as sku_list_promotion_rules, l8 as sku_lists, l9 as sku_options, la as skus, lb as stock_items, lc as stock_line_items, ld as stock_locations, le as stock_reservations, lf as stock_transfers, lg as stores, lh as stripe_gateways, li as stripe_payments, lj as stripe_tax_accounts, lk as subscription_models, ll as tags, lm as talon_one_accounts, ln as tax_calculators, lo as tax_categories, lp as tax_rules, lq as taxjar_accounts, lr as transactions, ls as versions, lt as vertex_accounts, lu as voids, lv as webhooks, lw as wire_transfers } from './api-CG-sKBsP.cjs';
2
2
  import './client.cjs';
3
3
  import './fetch-B8-kP4X0.cjs';
4
4
  import './types.cjs';
package/lib/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers, jt as addresses, ju as adjustments, jv as adyen_gateways, jw as adyen_payments, jx as application, jy as attachments, jz as authorizations, jA as avalara_accounts, jB as axerve_gateways, jC as axerve_payments, jD as bing_geocoders, jE as braintree_gateways, jF as braintree_payments, jG as bundles, jH as buy_x_pay_y_promotions, jI as captures, jJ as carrier_accounts, jK as checkout_com_gateways, jL as checkout_com_payments, jM as cleanups, jN as coupon_codes_promotion_rules, jO as coupon_recipients, jP as coupons, jQ as custom_promotion_rules, jR as customer_addresses, jS as customer_groups, jT as customer_password_resets, jU as customer_payment_sources, jV as customer_subscriptions, jW as customers, jX as delivery_lead_times, jY as discount_engine_items, jZ as discount_engines, j_ as easypost_pickups, j$ as event_callbacks, k0 as event_stores, k1 as events, k2 as exports, k3 as external_gateways, k4 as external_payments, k5 as external_promotions, k6 as external_tax_calculators, k7 as fixed_amount_promotions, k8 as fixed_price_promotions, k9 as flex_promotions, ka as free_gift_promotions, kb as free_shipping_promotions, kc as geocoders, kd as gift_card_recipients, ke as gift_cards, kf as google_geocoders, kg as imports, kh as in_stock_subscriptions, ki as inventory_models, kj as inventory_return_locations, kk as inventory_stock_locations, kl as klarna_gateways, km as klarna_payments, kn as line_item_options, ko as line_items, kp as links, kq as manual_gateways, kr as manual_tax_calculators, ks as markets, kt as merchants, ku as notifications, kv as order_amount_promotion_rules, kw as order_copies, kx as order_factories, ky as order_subscription_items, kz as order_subscriptions, kA as orders, kB as organization, kC as packages, kD as parcel_line_items, kE as parcels, kF as payment_gateways, kG as payment_methods, kH as payment_options, kI as paypal_gateways, kJ as paypal_payments, kK as percentage_discount_promotions, kL as pickups, kM as price_frequency_tiers, kN as price_list_schedulers, kO as price_lists, kP as price_tiers, kQ as price_volume_tiers, kR as prices, kS as promotion_rules, kT as promotions, kU as recurring_order_copies, kV as refunds, kW as reserved_stocks, kX as resource_errors, kY as return_line_items, kZ as returns, k_ as satispay_gateways, k$ as satispay_payments, l0 as shipments, l1 as shipping_categories, l2 as shipping_method_tiers, l3 as shipping_methods, l4 as shipping_weight_tiers, l5 as shipping_zones, l6 as sku_list_items, l7 as sku_list_promotion_rules, l8 as sku_lists, l9 as sku_options, la as skus, lb as stock_items, lc as stock_line_items, ld as stock_locations, le as stock_reservations, lf as stock_transfers, lg as stores, lh as stripe_gateways, li as stripe_payments, lj as stripe_tax_accounts, lk as subscription_models, ll as tags, lm as talon_one_accounts, ln as tax_calculators, lo as tax_categories, lp as tax_rules, lq as taxjar_accounts, lr as transactions, ls as versions, lt as vertex_accounts, lu as voids, lv as webhooks, lw as wire_transfers } from './api-fR7vDjer.js';
1
+ export { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers, jt as addresses, ju as adjustments, jv as adyen_gateways, jw as adyen_payments, jx as application, jy as attachments, jz as authorizations, jA as avalara_accounts, jB as axerve_gateways, jC as axerve_payments, jD as bing_geocoders, jE as braintree_gateways, jF as braintree_payments, jG as bundles, jH as buy_x_pay_y_promotions, jI as captures, jJ as carrier_accounts, jK as checkout_com_gateways, jL as checkout_com_payments, jM as cleanups, jN as coupon_codes_promotion_rules, jO as coupon_recipients, jP as coupons, jQ as custom_promotion_rules, jR as customer_addresses, jS as customer_groups, jT as customer_password_resets, jU as customer_payment_sources, jV as customer_subscriptions, jW as customers, jX as delivery_lead_times, jY as discount_engine_items, jZ as discount_engines, j_ as easypost_pickups, j$ as event_callbacks, k0 as event_stores, k1 as events, k2 as exports, k3 as external_gateways, k4 as external_payments, k5 as external_promotions, k6 as external_tax_calculators, k7 as fixed_amount_promotions, k8 as fixed_price_promotions, k9 as flex_promotions, ka as free_gift_promotions, kb as free_shipping_promotions, kc as geocoders, kd as gift_card_recipients, ke as gift_cards, kf as google_geocoders, kg as imports, kh as in_stock_subscriptions, ki as inventory_models, kj as inventory_return_locations, kk as inventory_stock_locations, kl as klarna_gateways, km as klarna_payments, kn as line_item_options, ko as line_items, kp as links, kq as manual_gateways, kr as manual_tax_calculators, ks as markets, kt as merchants, ku as notifications, kv as order_amount_promotion_rules, kw as order_copies, kx as order_factories, ky as order_subscription_items, kz as order_subscriptions, kA as orders, kB as organization, kC as packages, kD as parcel_line_items, kE as parcels, kF as payment_gateways, kG as payment_methods, kH as payment_options, kI as paypal_gateways, kJ as paypal_payments, kK as percentage_discount_promotions, kL as pickups, kM as price_frequency_tiers, kN as price_list_schedulers, kO as price_lists, kP as price_tiers, kQ as price_volume_tiers, kR as prices, kS as promotion_rules, kT as promotions, kU as recurring_order_copies, kV as refunds, kW as reserved_stocks, kX as resource_errors, kY as return_line_items, kZ as returns, k_ as satispay_gateways, k$ as satispay_payments, l0 as shipments, l1 as shipping_categories, l2 as shipping_method_tiers, l3 as shipping_methods, l4 as shipping_weight_tiers, l5 as shipping_zones, l6 as sku_list_items, l7 as sku_list_promotion_rules, l8 as sku_lists, l9 as sku_options, la as skus, lb as stock_items, lc as stock_line_items, ld as stock_locations, le as stock_reservations, lf as stock_transfers, lg as stores, lh as stripe_gateways, li as stripe_payments, lj as stripe_tax_accounts, lk as subscription_models, ll as tags, lm as talon_one_accounts, ln as tax_calculators, lo as tax_categories, lp as tax_rules, lq as taxjar_accounts, lr as transactions, ls as versions, lt as vertex_accounts, lu as voids, lv as webhooks, lw as wire_transfers } from './api-C0NFQ-CQ.js';
2
2
  import './client.js';
3
3
  import './fetch-B8-kP4X0.js';
4
4
  import './types.js';
package/lib/api.js CHANGED
@@ -54,7 +54,7 @@ export { price_frequency_tiers_default as price_frequency_tiers } from './chunk-
54
54
  export { price_list_schedulers_default as price_list_schedulers } from './chunk-BLZ627KE.js';
55
55
  export { price_lists_default as price_lists } from './chunk-3AQSJH4T.js';
56
56
  export { order_subscriptions_default as order_subscriptions } from './chunk-HLPUCTAZ.js';
57
- export { orders_default as orders } from './chunk-XAHCI5JE.js';
57
+ export { orders_default as orders } from './chunk-JMGGWZOQ.js';
58
58
  export { organizations_default as organization } from './chunk-ED72HDOR.js';
59
59
  export { packages_default as packages } from './chunk-PUX7CAAV.js';
60
60
  export { parcel_line_items_default as parcel_line_items } from './chunk-JEFXEO7O.js';
@@ -100,7 +100,7 @@ export { easypost_pickups_default as easypost_pickups } from './chunk-KWIFQC7H.j
100
100
  export { event_callbacks_default as event_callbacks } from './chunk-CRRVMIDJ.js';
101
101
  export { event_stores_default as event_stores } from './chunk-2COD7SFI.js';
102
102
  export { events_default as events } from './chunk-NKSXB523.js';
103
- export { exports_default as exports } from './chunk-MU6PHJWP.js';
103
+ export { exports_default as exports } from './chunk-ETO33E5U.js';
104
104
  export { coupons_default as coupons } from './chunk-OSGNFURJ.js';
105
105
  export { custom_promotion_rules_default as custom_promotion_rules } from './chunk-DZ6EOOOY.js';
106
106
  export { customer_addresses_default as customer_addresses } from './chunk-UR35VE5O.js';
@@ -129,7 +129,7 @@ export { addresses_default as addresses } from './chunk-52L77NN2.js';
129
129
  export { adjustments_default as adjustments } from './chunk-L6OLNB6W.js';
130
130
  export { adyen_gateways_default as adyen_gateways } from './chunk-54765SFP.js';
131
131
  export { adyen_payments_default as adyen_payments } from './chunk-SXQSMTHR.js';
132
- export { applications_default as application } from './chunk-TPFXLI3J.js';
132
+ export { applications_default as application } from './chunk-GH7OO6KJ.js';
133
133
  export { attachments_default as attachments } from './chunk-W7A5TBOT.js';
134
134
  import './chunk-L2R5G3V5.js';
135
135
  import './chunk-2D7XHAVQ.js';
package/lib/bundle.cjs CHANGED
@@ -56,7 +56,7 @@ var chunkSNHW3YC5_cjs = require('./chunk-SNHW3YC5.cjs');
56
56
  var chunk6RLGIXTB_cjs = require('./chunk-6RLGIXTB.cjs');
57
57
  var chunkR3PNGGDR_cjs = require('./chunk-R3PNGGDR.cjs');
58
58
  var chunkPD4I73FB_cjs = require('./chunk-PD4I73FB.cjs');
59
- var chunk6ES3UMTH_cjs = require('./chunk-6ES3UMTH.cjs');
59
+ var chunkZJKC6474_cjs = require('./chunk-ZJKC6474.cjs');
60
60
  var chunkV2JFGTP4_cjs = require('./chunk-V2JFGTP4.cjs');
61
61
  var chunkIMZ67YBL_cjs = require('./chunk-IMZ67YBL.cjs');
62
62
  var chunkJAL5VEJ4_cjs = require('./chunk-JAL5VEJ4.cjs');
@@ -102,7 +102,7 @@ var chunkQVJTWTUN_cjs = require('./chunk-QVJTWTUN.cjs');
102
102
  var chunkDGYQ3LEP_cjs = require('./chunk-DGYQ3LEP.cjs');
103
103
  var chunkW6D7ACVK_cjs = require('./chunk-W6D7ACVK.cjs');
104
104
  var chunkBBNWP52Z_cjs = require('./chunk-BBNWP52Z.cjs');
105
- var chunkCAR7HCIH_cjs = require('./chunk-CAR7HCIH.cjs');
105
+ var chunkFWRDLTUT_cjs = require('./chunk-FWRDLTUT.cjs');
106
106
  var chunkWYSCB65K_cjs = require('./chunk-WYSCB65K.cjs');
107
107
  var chunkNM2TVMKS_cjs = require('./chunk-NM2TVMKS.cjs');
108
108
  var chunkQKCTP2RD_cjs = require('./chunk-QKCTP2RD.cjs');
@@ -131,9 +131,9 @@ var chunk66BQF7RB_cjs = require('./chunk-66BQF7RB.cjs');
131
131
  var chunkBUKCNQRD_cjs = require('./chunk-BUKCNQRD.cjs');
132
132
  var chunkWZKB5BTI_cjs = require('./chunk-WZKB5BTI.cjs');
133
133
  var chunkL7VZ5ST5_cjs = require('./chunk-L7VZ5ST5.cjs');
134
- var chunkJZ5VDGTD_cjs = require('./chunk-JZ5VDGTD.cjs');
134
+ var chunkL655OQHH_cjs = require('./chunk-L655OQHH.cjs');
135
135
  var chunkMDT7RJZY_cjs = require('./chunk-MDT7RJZY.cjs');
136
- var chunkR7JDWIQK_cjs = require('./chunk-R7JDWIQK.cjs');
136
+ var chunkNNRS7BTT_cjs = require('./chunk-NNRS7BTT.cjs');
137
137
  require('./chunk-UBH2EC5P.cjs');
138
138
  require('./chunk-3GOADUES.cjs');
139
139
  require('./chunk-UQQTNQX3.cjs');
@@ -146,7 +146,7 @@ require('./chunk-JEQ2X3Z6.cjs');
146
146
 
147
147
  // src/bundle.ts
148
148
  var debug = chunk7RZTCBDR_cjs.debug_default("bundle");
149
- var CommerceLayerBundle = class _CommerceLayerBundle extends chunkR7JDWIQK_cjs.CommerceLayerClient {
149
+ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNNRS7BTT_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__##
@@ -178,7 +178,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkR7JDWIQK_cjs.C
178
178
  return chunkL7VZ5ST5_cjs.adyen_payments_default;
179
179
  }
180
180
  get application() {
181
- return chunkJZ5VDGTD_cjs.applications_default;
181
+ return chunkL655OQHH_cjs.applications_default;
182
182
  }
183
183
  get attachments() {
184
184
  return chunkMDT7RJZY_cjs.attachments_default;
@@ -277,7 +277,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkR7JDWIQK_cjs.C
277
277
  return chunkBBNWP52Z_cjs.events_default;
278
278
  }
279
279
  get exports() {
280
- return chunkCAR7HCIH_cjs.exports_default;
280
+ return chunkFWRDLTUT_cjs.exports_default;
281
281
  }
282
282
  get external_gateways() {
283
283
  return chunkWENVZ7YQ_cjs.external_gateways_default;
@@ -379,7 +379,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkR7JDWIQK_cjs.C
379
379
  return chunkPD4I73FB_cjs.order_subscriptions_default;
380
380
  }
381
381
  get orders() {
382
- return chunk6ES3UMTH_cjs.orders_default;
382
+ return chunkZJKC6474_cjs.orders_default;
383
383
  }
384
384
  get organization() {
385
385
  return chunkV2JFGTP4_cjs.organizations_default;
package/lib/bundle.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers } from './api-C56k_eNN.cjs';
1
+ import { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers } from './api-CG-sKBsP.cjs';
2
2
  import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.cjs';
3
3
  import './client.cjs';
4
4
  import './fetch-B8-kP4X0.cjs';
package/lib/bundle.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers } from './api-fR7vDjer.js';
1
+ import { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers } from './api-C0NFQ-CQ.js';
2
2
  import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.js';
3
3
  import './client.js';
4
4
  import './fetch-B8-kP4X0.js';
package/lib/bundle.js CHANGED
@@ -54,7 +54,7 @@ import { price_frequency_tiers_default } from './chunk-FUYP7J3H.js';
54
54
  import { price_list_schedulers_default } from './chunk-BLZ627KE.js';
55
55
  import { price_lists_default } from './chunk-3AQSJH4T.js';
56
56
  import { order_subscriptions_default } from './chunk-HLPUCTAZ.js';
57
- import { orders_default } from './chunk-XAHCI5JE.js';
57
+ import { orders_default } from './chunk-JMGGWZOQ.js';
58
58
  import { organizations_default } from './chunk-ED72HDOR.js';
59
59
  import { packages_default } from './chunk-PUX7CAAV.js';
60
60
  import { parcel_line_items_default } from './chunk-JEFXEO7O.js';
@@ -100,7 +100,7 @@ import { easypost_pickups_default } from './chunk-KWIFQC7H.js';
100
100
  import { event_callbacks_default } from './chunk-CRRVMIDJ.js';
101
101
  import { event_stores_default } from './chunk-2COD7SFI.js';
102
102
  import { events_default } from './chunk-NKSXB523.js';
103
- import { exports_default } from './chunk-MU6PHJWP.js';
103
+ import { exports_default } from './chunk-ETO33E5U.js';
104
104
  import { coupons_default } from './chunk-OSGNFURJ.js';
105
105
  import { custom_promotion_rules_default } from './chunk-DZ6EOOOY.js';
106
106
  import { customer_addresses_default } from './chunk-UR35VE5O.js';
@@ -129,9 +129,9 @@ import { addresses_default } from './chunk-52L77NN2.js';
129
129
  import { adjustments_default } from './chunk-L6OLNB6W.js';
130
130
  import { adyen_gateways_default } from './chunk-54765SFP.js';
131
131
  import { adyen_payments_default } from './chunk-SXQSMTHR.js';
132
- import { applications_default } from './chunk-TPFXLI3J.js';
132
+ import { applications_default } from './chunk-GH7OO6KJ.js';
133
133
  import { attachments_default } from './chunk-W7A5TBOT.js';
134
- import { CommerceLayerClient } from './chunk-SWZUFDHY.js';
134
+ import { CommerceLayerClient } from './chunk-C7QY2RS6.js';
135
135
  import './chunk-L2R5G3V5.js';
136
136
  import './chunk-2D7XHAVQ.js';
137
137
  import './chunk-IKCYKGYL.js';
@@ -5,7 +5,7 @@ import { debug_default } from './chunk-22RVT2J2.js';
5
5
 
6
6
  // src/commercelayer.ts
7
7
  var debug = debug_default("commercelayer");
8
- var OPEN_API_SCHEMA_VERSION = "7.9.14";
8
+ var OPEN_API_SCHEMA_VERSION = "7.9.16";
9
9
  var CommerceLayerClient = class _CommerceLayerClient {
10
10
  openApiSchemaVersion = OPEN_API_SCHEMA_VERSION;
11
11
  static cl;
@@ -98,5 +98,5 @@ var CommerceLayer = (config) => {
98
98
  var commercelayer_default = CommerceLayer;
99
99
 
100
100
  export { CommerceLayer, CommerceLayerClient, OPEN_API_SCHEMA_VERSION, commercelayer_default };
101
- //# sourceMappingURL=chunk-SWZUFDHY.js.map
102
- //# sourceMappingURL=chunk-SWZUFDHY.js.map
101
+ //# sourceMappingURL=chunk-C7QY2RS6.js.map
102
+ //# sourceMappingURL=chunk-C7QY2RS6.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/commercelayer.ts"],"names":[],"mappings":"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","file":"chunk-SWZUFDHY.js","sourcesContent":["\n\n\nimport Debug from './debug'\n// import * as api from './api'\nimport { getResources } from './enum'\nimport { type ApiError, isApiError } from './error'\nimport type { ErrorInterceptor, HeadersObj, InterceptorManager, InterceptorType, RawResponseReader, RequestInterceptor, ResponseInterceptor, ResponseObj } from './interceptor'\nimport { ApiResourceAdapter, type ResourcesInitConfig } from './resource'\n\nconst debug = Debug('commercelayer')\n\n\n// Autogenerated version number, do not remove this line\nexport const OPEN_API_SCHEMA_VERSION = '7.9.14'\n\n\n// SDK local configuration\n// biome-ignore lint/complexity/noBannedTypes: left as placeholder for future SDK config options\ntype SdkConfig = {\n\t// abc?: string\n}\n\ntype CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig\ntype CommerceLayerConfig = Partial<CommerceLayerInitConfig>\n\n\n\nclass CommerceLayerClient {\n\n\treadonly openApiSchemaVersion = OPEN_API_SCHEMA_VERSION\n\n\tprotected static cl: CommerceLayerClient\n\n\t// ##__CL_RESOURCES_DEF_START__##\n\t// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##\n\n\t// ##__CL_RESOURCES_DEF_STOP__##\n\n\n\tstatic get (config?: CommerceLayerInitConfig): CommerceLayerClient {\n\t\tif (config) return (CommerceLayerClient.cl = new CommerceLayerClient(config))\n\t\telse\n\t\tif (!CommerceLayerClient.cl) throw new Error('CommerceLayer client not initialized')\n\t\treturn CommerceLayerClient.cl\n\t}\n\n\n\tprotected constructor(config: CommerceLayerInitConfig) {\n\n\t\tdebug('new commercelayer instance %O', config)\n\n\t\tApiResourceAdapter.init(config)\n\n\t\t// ##__CL_RESOURCES_INIT_START__##\n\t\t// ##__CL_RESOURCES_INIT_TEMPLATE:: ##__TAB__####__TAB__##this.##__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)\n\t\t// ##__CL_RESOURCES_INIT_STOP__##\n\n\t}\n\n\t// ##__CL_RESOURCES_LEAZY_LOADING_START__##\n\t// ##__CL_RESOURCES_LEAZY_LOADING_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return this.###__RESOURCE_TYPE__## || (this.###__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)) }\n\n\t// ##__CL_RESOURCES_LEAZY_LOADING_STOP__##\n\n\t// private get adapter(): ResourceAdapter { return ApiResourceAdapter.get() }\n\tget currentOrganization(): string { return ApiResourceAdapter.get().client?.currentOrganization }\n\tget currentAccessToken(): string { return ApiResourceAdapter.get().client?.currentAccessToken }\n\tprivate get interceptors(): InterceptorManager { return ApiResourceAdapter.get().client?.interceptors }\n\n\n\tprivate localConfig(_config: Partial<SdkConfig>): void {\n\t\t// if (config.abc) this.abc = config.abc\n\t}\n\n\n\tconfig(config: CommerceLayerConfig): this {\n\n\t\tdebug('config %o', config)\n\n\t\t// CommerceLayer config\n\t\tthis.localConfig(config)\n\t\t// ResourceAdapter config\n\t\tApiResourceAdapter.config(config)\n\n\t\treturn this\n\n\t}\n\n\t\n\tresources(sort?: boolean): readonly string[] {\n\t\treturn getResources(sort)\n\t}\n\n\tisApiError(error: any): error is ApiError {\n\t\treturn isApiError(error)\n\t}\n\n\n\taddRequestInterceptor(onSuccess?: RequestInterceptor, onFailure?: ErrorInterceptor): number {\n\t\tthis.interceptors.request = { onSuccess, onFailure }\n\t\treturn 1\n\t}\n\n\taddResponseInterceptor(onSuccess?: ResponseInterceptor, onFailure?: ErrorInterceptor): number {\n\t\tthis.interceptors.response = { onSuccess, onFailure }\n\t\treturn 1\n\t}\n\n\tremoveInterceptor(type: InterceptorType, _id: number = 1): void {\n\t\tthis.interceptors[type] = undefined\n\t}\n\n\tremoveInterceptors(): void {\n\t\tthis.removeInterceptor('request')\n\t\tthis.removeInterceptor('response')\n\t\tthis.removeRawResponseReader()\n\t}\n\n\taddRawResponseReader(options?: { headers: boolean }): RawResponseReader {\n\n\t\tconst reader: RawResponseReader = {\n\t\t\tid: 0,\n\t\t\trawResponse: undefined,\n\t\t\theaders: undefined,\n\t\t\tok: true\n\t\t}\n\n\t\tasync function rawResponseInterceptor(response: ResponseObj): Promise<ResponseObj> {\n\t\t\treader.rawResponse = await response?.clone().json().catch(() => {})\n\t\t\treader.ok = response.ok\n\t\t\tif (options?.headers) {\n\t\t\t\tconst ho: HeadersObj = {}\n\t\t\t\tresponse.headers.forEach((value, key) => { ho[key] = value })\n\t\t\t\treader.headers = ho\n\t\t\t}\n\t\t\treturn response\n\t\t}\n\t\t\n\t\t/* const interceptor = */this.interceptors.rawReader = { onSuccess: rawResponseInterceptor, onFailure: rawResponseInterceptor }\n\t\treader.id = 1 // interceptor\n\n\t\treturn reader\n\n\t}\n\n\tremoveRawResponseReader(/* reader: number | RawResponseReader */): void {\n\t\t/*\n\t\tconst id = (typeof reader === 'number') ? reader : reader?.id\n\t\tif (id && (id >= 0)) this.removeInterceptor('response', id)\n\t\t*/\n\t\tthis.interceptors.rawReader = undefined\n\t}\n\n}\n\n\n\nconst CommerceLayer = (config: CommerceLayerInitConfig): CommerceLayerClient => {\n\treturn CommerceLayerClient.get(config)\n}\n\n\nexport default CommerceLayer\nexport type { CommerceLayerConfig, CommerceLayerInitConfig }\nexport { CommerceLayer, CommerceLayerClient }\n"]}
1
+ {"version":3,"sources":["../src/commercelayer.ts"],"names":[],"mappings":";;;;;;AAUA,IAAM,KAAA,GAAQ,cAAM,eAAe,CAAA;AAI5B,IAAM,uBAAA,GAA0B;AAcvC,IAAM,mBAAA,GAAN,MAAM,oBAAA,CAAoB;AAAA,EAEhB,oBAAA,GAAuB,uBAAA;AAAA,EAEhC,OAAiB,EAAA;AAAA;AAAA;AAAA;AAAA,EAQjB,OAAO,IAAK,MAAA,EAAuD;AAClE,IAAA,IAAI,QAAQ,OAAQ,oBAAA,CAAoB,EAAA,GAAK,IAAI,qBAAoB,MAAM,CAAA;AAAA,SAAA,IAEvE,CAAC,oBAAA,CAAoB,EAAA,EAAI,MAAM,IAAI,MAAM,sCAAsC,CAAA;AACnF,IAAA,OAAO,oBAAA,CAAoB,EAAA;AAAA,EAC5B;AAAA,EAGU,YAAY,MAAA,EAAiC;AAEtD,IAAA,KAAA,CAAM,iCAAiC,MAAM,CAAA;AAE7C,IAAA,kBAAA,CAAmB,KAAK,MAAM,CAAA;AAAA,EAM/B;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,IAAI,mBAAA,GAA8B;AAAE,IAAA,OAAO,kBAAA,CAAmB,GAAA,EAAI,CAAE,MAAA,EAAQ,mBAAA;AAAA,EAAoB;AAAA,EAChG,IAAI,kBAAA,GAA6B;AAAE,IAAA,OAAO,kBAAA,CAAmB,GAAA,EAAI,CAAE,MAAA,EAAQ,kBAAA;AAAA,EAAmB;AAAA,EAC9F,IAAY,YAAA,GAAmC;AAAE,IAAA,OAAO,kBAAA,CAAmB,GAAA,EAAI,CAAE,MAAA,EAAQ,YAAA;AAAA,EAAa;AAAA,EAG9F,YAAY,OAAA,EAAmC;AAAA,EAEvD;AAAA,EAGA,OAAO,MAAA,EAAmC;AAEzC,IAAA,KAAA,CAAM,aAAa,MAAM,CAAA;AAGzB,IAAA,IAAA,CAAK,YAAY,MAAM,CAAA;AAEvB,IAAA,kBAAA,CAAmB,OAAO,MAAM,CAAA;AAEhC,IAAA,OAAO,IAAA;AAAA,EAER;AAAA,EAGA,UAAU,IAAA,EAAmC;AAC5C,IAAA,OAAO,aAAa,IAAI,CAAA;AAAA,EACzB;AAAA,EAEA,WAAW,KAAA,EAA+B;AACzC,IAAA,OAAO,WAAW,KAAK,CAAA;AAAA,EACxB;AAAA,EAGA,qBAAA,CAAsB,WAAgC,SAAA,EAAsC;AAC3F,IAAA,IAAA,CAAK,YAAA,CAAa,OAAA,GAAU,EAAE,SAAA,EAAW,SAAA,EAAU;AACnD,IAAA,OAAO,CAAA;AAAA,EACR;AAAA,EAEA,sBAAA,CAAuB,WAAiC,SAAA,EAAsC;AAC7F,IAAA,IAAA,CAAK,YAAA,CAAa,QAAA,GAAW,EAAE,SAAA,EAAW,SAAA,EAAU;AACpD,IAAA,OAAO,CAAA;AAAA,EACR;AAAA,EAEA,iBAAA,CAAkB,IAAA,EAAuB,GAAA,GAAc,CAAA,EAAS;AAC/D,IAAA,IAAA,CAAK,YAAA,CAAa,IAAI,CAAA,GAAI,MAAA;AAAA,EAC3B;AAAA,EAEA,kBAAA,GAA2B;AAC1B,IAAA,IAAA,CAAK,kBAAkB,SAAS,CAAA;AAChC,IAAA,IAAA,CAAK,kBAAkB,UAAU,CAAA;AACjC,IAAA,IAAA,CAAK,uBAAA,EAAwB;AAAA,EAC9B;AAAA,EAEA,qBAAqB,OAAA,EAAmD;AAEvE,IAAA,MAAM,MAAA,GAA4B;AAAA,MACjC,EAAA,EAAI,CAAA;AAAA,MACJ,WAAA,EAAa,MAAA;AAAA,MACb,OAAA,EAAS,MAAA;AAAA,MACT,EAAA,EAAI;AAAA,KACL;AAEA,IAAA,eAAe,uBAAuB,QAAA,EAA6C;AAClF,MAAA,MAAA,CAAO,WAAA,GAAc,MAAM,QAAA,EAAU,KAAA,GAAQ,IAAA,EAAK,CAAE,MAAM,MAAM;AAAA,MAAC,CAAC,CAAA;AAClE,MAAA,MAAA,CAAO,KAAK,QAAA,CAAS,EAAA;AACrB,MAAA,IAAI,SAAS,OAAA,EAAS;AACrB,QAAA,MAAM,KAAiB,EAAC;AACxB,QAAA,QAAA,CAAS,OAAA,CAAQ,OAAA,CAAQ,CAAC,KAAA,EAAO,GAAA,KAAQ;AAAE,UAAA,EAAA,CAAG,GAAG,CAAA,GAAI,KAAA;AAAA,QAAM,CAAC,CAAA;AAC5D,QAAA,MAAA,CAAO,OAAA,GAAU,EAAA;AAAA,MAClB;AACA,MAAA,OAAO,QAAA;AAAA,IACR;AAEyB,IAAA,IAAA,CAAK,aAAa,SAAA,GAAY,EAAE,SAAA,EAAW,sBAAA,EAAwB,WAAW,sBAAA,EAAuB;AAC9H,IAAA,MAAA,CAAO,EAAA,GAAK,CAAA;AAEZ,IAAA,OAAO,MAAA;AAAA,EAER;AAAA,EAEA,uBAAA,GAAwE;AAKvE,IAAA,IAAA,CAAK,aAAa,SAAA,GAAY,MAAA;AAAA,EAC/B;AAED;AAIA,IAAM,aAAA,GAAgB,CAAC,MAAA,KAAyD;AAC/E,EAAA,OAAO,mBAAA,CAAoB,IAAI,MAAM,CAAA;AACtC;AAGA,IAAO,qBAAA,GAAQ","file":"chunk-C7QY2RS6.js","sourcesContent":["\n\n\nimport Debug from './debug'\n// import * as api from './api'\nimport { getResources } from './enum'\nimport { type ApiError, isApiError } from './error'\nimport type { ErrorInterceptor, HeadersObj, InterceptorManager, InterceptorType, RawResponseReader, RequestInterceptor, ResponseInterceptor, ResponseObj } from './interceptor'\nimport { ApiResourceAdapter, type ResourcesInitConfig } from './resource'\n\nconst debug = Debug('commercelayer')\n\n\n// Autogenerated version number, do not remove this line\nexport const OPEN_API_SCHEMA_VERSION = '7.9.16'\n\n\n// SDK local configuration\n// biome-ignore lint/complexity/noBannedTypes: left as placeholder for future SDK config options\ntype SdkConfig = {\n\t// abc?: string\n}\n\ntype CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig\ntype CommerceLayerConfig = Partial<CommerceLayerInitConfig>\n\n\n\nclass CommerceLayerClient {\n\n\treadonly openApiSchemaVersion = OPEN_API_SCHEMA_VERSION\n\n\tprotected static cl: CommerceLayerClient\n\n\t// ##__CL_RESOURCES_DEF_START__##\n\t// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##\n\n\t// ##__CL_RESOURCES_DEF_STOP__##\n\n\n\tstatic get (config?: CommerceLayerInitConfig): CommerceLayerClient {\n\t\tif (config) return (CommerceLayerClient.cl = new CommerceLayerClient(config))\n\t\telse\n\t\tif (!CommerceLayerClient.cl) throw new Error('CommerceLayer client not initialized')\n\t\treturn CommerceLayerClient.cl\n\t}\n\n\n\tprotected constructor(config: CommerceLayerInitConfig) {\n\n\t\tdebug('new commercelayer instance %O', config)\n\n\t\tApiResourceAdapter.init(config)\n\n\t\t// ##__CL_RESOURCES_INIT_START__##\n\t\t// ##__CL_RESOURCES_INIT_TEMPLATE:: ##__TAB__####__TAB__##this.##__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)\n\t\t// ##__CL_RESOURCES_INIT_STOP__##\n\n\t}\n\n\t// ##__CL_RESOURCES_LEAZY_LOADING_START__##\n\t// ##__CL_RESOURCES_LEAZY_LOADING_TEMPLATE:: ##__TAB__##get ##__RESOURCE_TYPE__##(): api.##__RESOURCE_CLASS__## { return this.###__RESOURCE_TYPE__## || (this.###__RESOURCE_TYPE__## = new api.##__RESOURCE_CLASS__##(this.#adapter)) }\n\n\t// ##__CL_RESOURCES_LEAZY_LOADING_STOP__##\n\n\t// private get adapter(): ResourceAdapter { return ApiResourceAdapter.get() }\n\tget currentOrganization(): string { return ApiResourceAdapter.get().client?.currentOrganization }\n\tget currentAccessToken(): string { return ApiResourceAdapter.get().client?.currentAccessToken }\n\tprivate get interceptors(): InterceptorManager { return ApiResourceAdapter.get().client?.interceptors }\n\n\n\tprivate localConfig(_config: Partial<SdkConfig>): void {\n\t\t// if (config.abc) this.abc = config.abc\n\t}\n\n\n\tconfig(config: CommerceLayerConfig): this {\n\n\t\tdebug('config %o', config)\n\n\t\t// CommerceLayer config\n\t\tthis.localConfig(config)\n\t\t// ResourceAdapter config\n\t\tApiResourceAdapter.config(config)\n\n\t\treturn this\n\n\t}\n\n\t\n\tresources(sort?: boolean): readonly string[] {\n\t\treturn getResources(sort)\n\t}\n\n\tisApiError(error: any): error is ApiError {\n\t\treturn isApiError(error)\n\t}\n\n\n\taddRequestInterceptor(onSuccess?: RequestInterceptor, onFailure?: ErrorInterceptor): number {\n\t\tthis.interceptors.request = { onSuccess, onFailure }\n\t\treturn 1\n\t}\n\n\taddResponseInterceptor(onSuccess?: ResponseInterceptor, onFailure?: ErrorInterceptor): number {\n\t\tthis.interceptors.response = { onSuccess, onFailure }\n\t\treturn 1\n\t}\n\n\tremoveInterceptor(type: InterceptorType, _id: number = 1): void {\n\t\tthis.interceptors[type] = undefined\n\t}\n\n\tremoveInterceptors(): void {\n\t\tthis.removeInterceptor('request')\n\t\tthis.removeInterceptor('response')\n\t\tthis.removeRawResponseReader()\n\t}\n\n\taddRawResponseReader(options?: { headers: boolean }): RawResponseReader {\n\n\t\tconst reader: RawResponseReader = {\n\t\t\tid: 0,\n\t\t\trawResponse: undefined,\n\t\t\theaders: undefined,\n\t\t\tok: true\n\t\t}\n\n\t\tasync function rawResponseInterceptor(response: ResponseObj): Promise<ResponseObj> {\n\t\t\treader.rawResponse = await response?.clone().json().catch(() => {})\n\t\t\treader.ok = response.ok\n\t\t\tif (options?.headers) {\n\t\t\t\tconst ho: HeadersObj = {}\n\t\t\t\tresponse.headers.forEach((value, key) => { ho[key] = value })\n\t\t\t\treader.headers = ho\n\t\t\t}\n\t\t\treturn response\n\t\t}\n\t\t\n\t\t/* const interceptor = */this.interceptors.rawReader = { onSuccess: rawResponseInterceptor, onFailure: rawResponseInterceptor }\n\t\treader.id = 1 // interceptor\n\n\t\treturn reader\n\n\t}\n\n\tremoveRawResponseReader(/* reader: number | RawResponseReader */): void {\n\t\t/*\n\t\tconst id = (typeof reader === 'number') ? reader : reader?.id\n\t\tif (id && (id >= 0)) this.removeInterceptor('response', id)\n\t\t*/\n\t\tthis.interceptors.rawReader = undefined\n\t}\n\n}\n\n\n\nconst CommerceLayer = (config: CommerceLayerInitConfig): CommerceLayerClient => {\n\treturn CommerceLayerClient.get(config)\n}\n\n\nexport default CommerceLayer\nexport type { CommerceLayerConfig, CommerceLayerInitConfig }\nexport { CommerceLayer, CommerceLayerClient }\n"]}
@@ -24,6 +24,9 @@ var Exports = class _Exports extends ApiResource {
24
24
  const _exportId = exportId.id || exportId;
25
25
  return this.resources.fetch({ type: "event_stores" }, `exports/${_exportId}/event_stores`, params, options);
26
26
  }
27
+ async _start(id, params, options) {
28
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Exports.TYPE, _start: true }, params, options);
29
+ }
27
30
  async _interrupt(id, params, options) {
28
31
  return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _Exports.TYPE, _interrupt: true }, params, options);
29
32
  }
@@ -44,5 +47,5 @@ var instance = new Exports();
44
47
  var exports_default = instance;
45
48
 
46
49
  export { exports_default };
47
- //# sourceMappingURL=chunk-MU6PHJWP.js.map
48
- //# sourceMappingURL=chunk-MU6PHJWP.js.map
50
+ //# sourceMappingURL=chunk-ETO33E5U.js.map
51
+ //# sourceMappingURL=chunk-ETO33E5U.js.map