@commercelayer/sdk 7.0.0-beta.13 → 7.0.0-beta.15

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 (307) hide show
  1. package/lib/{api-C5qyxFpD.d.ts → adapter-BPmdwMhh.d.ts} +1792 -1789
  2. package/lib/{api-Bq9emZm-.d.cts → adapter-DF63Dunh.d.cts} +1792 -1789
  3. package/lib/adapter.cjs +795 -0
  4. package/lib/adapter.d.cts +4 -0
  5. package/lib/adapter.d.ts +4 -0
  6. package/lib/adapter.js +132 -0
  7. package/lib/api.cjs +2 -789
  8. package/lib/api.d.cts +2 -2
  9. package/lib/api.d.ts +2 -2
  10. package/lib/api.js +2 -132
  11. package/lib/client.d.cts +1 -1
  12. package/lib/client.d.ts +1 -1
  13. package/lib/commercelayer.cjs +4 -7
  14. package/lib/commercelayer.d.cts +3 -5
  15. package/lib/commercelayer.d.ts +3 -5
  16. package/lib/commercelayer.js +3 -5
  17. package/lib/common.d.cts +2 -2
  18. package/lib/common.d.ts +2 -2
  19. package/lib/config.d.cts +1 -1
  20. package/lib/config.d.ts +1 -1
  21. package/lib/fetch.d.cts +1 -1
  22. package/lib/fetch.d.ts +1 -1
  23. package/lib/index.cjs +7 -2
  24. package/lib/index.d.cts +2 -2
  25. package/lib/index.d.ts +2 -2
  26. package/lib/index.js +2 -1
  27. package/lib/{interceptor-D65i25Y7.d.cts → interceptor-5MISI1yn.d.cts} +1 -1
  28. package/lib/{interceptor-D65i25Y7.d.ts → interceptor-5MISI1yn.d.ts} +1 -1
  29. package/lib/interceptor.d.cts +1 -1
  30. package/lib/interceptor.d.ts +1 -1
  31. package/lib/jsonapi.d.cts +2 -2
  32. package/lib/jsonapi.d.ts +2 -2
  33. package/lib/model.d.cts +2 -2
  34. package/lib/model.d.ts +2 -2
  35. package/lib/query.d.cts +2 -2
  36. package/lib/query.d.ts +2 -2
  37. package/lib/resource.cjs +4 -5
  38. package/lib/resource.d.cts +2 -2
  39. package/lib/resource.d.ts +2 -2
  40. package/lib/resource.js +5 -3
  41. package/lib/resources/addresses.d.cts +2 -2
  42. package/lib/resources/addresses.d.ts +2 -2
  43. package/lib/resources/adjustments.d.cts +2 -2
  44. package/lib/resources/adjustments.d.ts +2 -2
  45. package/lib/resources/adyen_gateways.d.cts +2 -2
  46. package/lib/resources/adyen_gateways.d.ts +2 -2
  47. package/lib/resources/adyen_payments.d.cts +2 -2
  48. package/lib/resources/adyen_payments.d.ts +2 -2
  49. package/lib/resources/applications.d.cts +2 -2
  50. package/lib/resources/applications.d.ts +2 -2
  51. package/lib/resources/attachments.d.cts +2 -2
  52. package/lib/resources/attachments.d.ts +2 -2
  53. package/lib/resources/authorizations.d.cts +2 -2
  54. package/lib/resources/authorizations.d.ts +2 -2
  55. package/lib/resources/avalara_accounts.d.cts +2 -2
  56. package/lib/resources/avalara_accounts.d.ts +2 -2
  57. package/lib/resources/axerve_gateways.d.cts +2 -2
  58. package/lib/resources/axerve_gateways.d.ts +2 -2
  59. package/lib/resources/axerve_payments.d.cts +2 -2
  60. package/lib/resources/axerve_payments.d.ts +2 -2
  61. package/lib/resources/bing_geocoders.d.cts +2 -2
  62. package/lib/resources/bing_geocoders.d.ts +2 -2
  63. package/lib/resources/braintree_gateways.d.cts +2 -2
  64. package/lib/resources/braintree_gateways.d.ts +2 -2
  65. package/lib/resources/braintree_payments.d.cts +2 -2
  66. package/lib/resources/braintree_payments.d.ts +2 -2
  67. package/lib/resources/bundles.d.cts +2 -2
  68. package/lib/resources/bundles.d.ts +2 -2
  69. package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
  70. package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
  71. package/lib/resources/captures.d.cts +2 -2
  72. package/lib/resources/captures.d.ts +2 -2
  73. package/lib/resources/carrier_accounts.d.cts +2 -2
  74. package/lib/resources/carrier_accounts.d.ts +2 -2
  75. package/lib/resources/checkout_com_gateways.d.cts +2 -2
  76. package/lib/resources/checkout_com_gateways.d.ts +2 -2
  77. package/lib/resources/checkout_com_payments.d.cts +2 -2
  78. package/lib/resources/checkout_com_payments.d.ts +2 -2
  79. package/lib/resources/cleanups.d.cts +2 -2
  80. package/lib/resources/cleanups.d.ts +2 -2
  81. package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
  82. package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
  83. package/lib/resources/coupon_recipients.d.cts +2 -2
  84. package/lib/resources/coupon_recipients.d.ts +2 -2
  85. package/lib/resources/coupons.d.cts +2 -2
  86. package/lib/resources/coupons.d.ts +2 -2
  87. package/lib/resources/custom_promotion_rules.d.cts +2 -2
  88. package/lib/resources/custom_promotion_rules.d.ts +2 -2
  89. package/lib/resources/customer_addresses.d.cts +2 -2
  90. package/lib/resources/customer_addresses.d.ts +2 -2
  91. package/lib/resources/customer_groups.d.cts +2 -2
  92. package/lib/resources/customer_groups.d.ts +2 -2
  93. package/lib/resources/customer_password_resets.d.cts +2 -2
  94. package/lib/resources/customer_password_resets.d.ts +2 -2
  95. package/lib/resources/customer_payment_sources.d.cts +2 -2
  96. package/lib/resources/customer_payment_sources.d.ts +2 -2
  97. package/lib/resources/customer_subscriptions.d.cts +2 -2
  98. package/lib/resources/customer_subscriptions.d.ts +2 -2
  99. package/lib/resources/customers.d.cts +2 -2
  100. package/lib/resources/customers.d.ts +2 -2
  101. package/lib/resources/delivery_lead_times.d.cts +2 -2
  102. package/lib/resources/delivery_lead_times.d.ts +2 -2
  103. package/lib/resources/discount_engine_items.d.cts +2 -2
  104. package/lib/resources/discount_engine_items.d.ts +2 -2
  105. package/lib/resources/discount_engines.d.cts +2 -2
  106. package/lib/resources/discount_engines.d.ts +2 -2
  107. package/lib/resources/easypost_pickups.d.cts +2 -2
  108. package/lib/resources/easypost_pickups.d.ts +2 -2
  109. package/lib/resources/event_callbacks.d.cts +2 -2
  110. package/lib/resources/event_callbacks.d.ts +2 -2
  111. package/lib/resources/events.d.cts +2 -2
  112. package/lib/resources/events.d.ts +2 -2
  113. package/lib/resources/exports.d.cts +2 -2
  114. package/lib/resources/exports.d.ts +2 -2
  115. package/lib/resources/external_gateways.d.cts +2 -2
  116. package/lib/resources/external_gateways.d.ts +2 -2
  117. package/lib/resources/external_payments.d.cts +2 -2
  118. package/lib/resources/external_payments.d.ts +2 -2
  119. package/lib/resources/external_promotions.d.cts +2 -2
  120. package/lib/resources/external_promotions.d.ts +2 -2
  121. package/lib/resources/external_tax_calculators.d.cts +2 -2
  122. package/lib/resources/external_tax_calculators.d.ts +2 -2
  123. package/lib/resources/fixed_amount_promotions.d.cts +2 -2
  124. package/lib/resources/fixed_amount_promotions.d.ts +2 -2
  125. package/lib/resources/fixed_price_promotions.d.cts +2 -2
  126. package/lib/resources/fixed_price_promotions.d.ts +2 -2
  127. package/lib/resources/flex_promotions.d.cts +2 -2
  128. package/lib/resources/flex_promotions.d.ts +2 -2
  129. package/lib/resources/free_gift_promotions.d.cts +2 -2
  130. package/lib/resources/free_gift_promotions.d.ts +2 -2
  131. package/lib/resources/free_shipping_promotions.d.cts +2 -2
  132. package/lib/resources/free_shipping_promotions.d.ts +2 -2
  133. package/lib/resources/geocoders.d.cts +2 -2
  134. package/lib/resources/geocoders.d.ts +2 -2
  135. package/lib/resources/gift_card_recipients.d.cts +2 -2
  136. package/lib/resources/gift_card_recipients.d.ts +2 -2
  137. package/lib/resources/gift_cards.d.cts +2 -2
  138. package/lib/resources/gift_cards.d.ts +2 -2
  139. package/lib/resources/google_geocoders.d.cts +2 -2
  140. package/lib/resources/google_geocoders.d.ts +2 -2
  141. package/lib/resources/imports.d.cts +2 -2
  142. package/lib/resources/imports.d.ts +2 -2
  143. package/lib/resources/in_stock_subscriptions.d.cts +2 -2
  144. package/lib/resources/in_stock_subscriptions.d.ts +2 -2
  145. package/lib/resources/inventory_models.d.cts +2 -2
  146. package/lib/resources/inventory_models.d.ts +2 -2
  147. package/lib/resources/inventory_return_locations.d.cts +2 -2
  148. package/lib/resources/inventory_return_locations.d.ts +2 -2
  149. package/lib/resources/inventory_stock_locations.d.cts +2 -2
  150. package/lib/resources/inventory_stock_locations.d.ts +2 -2
  151. package/lib/resources/klarna_gateways.d.cts +2 -2
  152. package/lib/resources/klarna_gateways.d.ts +2 -2
  153. package/lib/resources/klarna_payments.d.cts +2 -2
  154. package/lib/resources/klarna_payments.d.ts +2 -2
  155. package/lib/resources/line_item_options.d.cts +2 -2
  156. package/lib/resources/line_item_options.d.ts +2 -2
  157. package/lib/resources/line_items.d.cts +2 -2
  158. package/lib/resources/line_items.d.ts +2 -2
  159. package/lib/resources/links.d.cts +2 -2
  160. package/lib/resources/links.d.ts +2 -2
  161. package/lib/resources/manual_gateways.d.cts +2 -2
  162. package/lib/resources/manual_gateways.d.ts +2 -2
  163. package/lib/resources/manual_tax_calculators.d.cts +2 -2
  164. package/lib/resources/manual_tax_calculators.d.ts +2 -2
  165. package/lib/resources/markets.d.cts +2 -2
  166. package/lib/resources/markets.d.ts +2 -2
  167. package/lib/resources/merchants.d.cts +2 -2
  168. package/lib/resources/merchants.d.ts +2 -2
  169. package/lib/resources/notifications.d.cts +2 -2
  170. package/lib/resources/notifications.d.ts +2 -2
  171. package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
  172. package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
  173. package/lib/resources/order_copies.d.cts +2 -2
  174. package/lib/resources/order_copies.d.ts +2 -2
  175. package/lib/resources/order_factories.d.cts +2 -2
  176. package/lib/resources/order_factories.d.ts +2 -2
  177. package/lib/resources/order_subscription_items.d.cts +2 -2
  178. package/lib/resources/order_subscription_items.d.ts +2 -2
  179. package/lib/resources/order_subscriptions.d.cts +2 -2
  180. package/lib/resources/order_subscriptions.d.ts +2 -2
  181. package/lib/resources/orders.d.cts +2 -2
  182. package/lib/resources/orders.d.ts +2 -2
  183. package/lib/resources/organizations.d.cts +2 -2
  184. package/lib/resources/organizations.d.ts +2 -2
  185. package/lib/resources/packages.d.cts +2 -2
  186. package/lib/resources/packages.d.ts +2 -2
  187. package/lib/resources/parcel_line_items.d.cts +2 -2
  188. package/lib/resources/parcel_line_items.d.ts +2 -2
  189. package/lib/resources/parcels.d.cts +2 -2
  190. package/lib/resources/parcels.d.ts +2 -2
  191. package/lib/resources/payment_gateways.d.cts +2 -2
  192. package/lib/resources/payment_gateways.d.ts +2 -2
  193. package/lib/resources/payment_methods.d.cts +2 -2
  194. package/lib/resources/payment_methods.d.ts +2 -2
  195. package/lib/resources/payment_options.d.cts +2 -2
  196. package/lib/resources/payment_options.d.ts +2 -2
  197. package/lib/resources/paypal_gateways.d.cts +2 -2
  198. package/lib/resources/paypal_gateways.d.ts +2 -2
  199. package/lib/resources/paypal_payments.d.cts +2 -2
  200. package/lib/resources/paypal_payments.d.ts +2 -2
  201. package/lib/resources/percentage_discount_promotions.d.cts +2 -2
  202. package/lib/resources/percentage_discount_promotions.d.ts +2 -2
  203. package/lib/resources/pickups.d.cts +2 -2
  204. package/lib/resources/pickups.d.ts +2 -2
  205. package/lib/resources/price_frequency_tiers.d.cts +2 -2
  206. package/lib/resources/price_frequency_tiers.d.ts +2 -2
  207. package/lib/resources/price_list_schedulers.d.cts +2 -2
  208. package/lib/resources/price_list_schedulers.d.ts +2 -2
  209. package/lib/resources/price_lists.d.cts +2 -2
  210. package/lib/resources/price_lists.d.ts +2 -2
  211. package/lib/resources/price_tiers.d.cts +2 -2
  212. package/lib/resources/price_tiers.d.ts +2 -2
  213. package/lib/resources/price_volume_tiers.d.cts +2 -2
  214. package/lib/resources/price_volume_tiers.d.ts +2 -2
  215. package/lib/resources/prices.d.cts +2 -2
  216. package/lib/resources/prices.d.ts +2 -2
  217. package/lib/resources/promotion_rules.d.cts +2 -2
  218. package/lib/resources/promotion_rules.d.ts +2 -2
  219. package/lib/resources/promotions.d.cts +2 -2
  220. package/lib/resources/promotions.d.ts +2 -2
  221. package/lib/resources/recurring_order_copies.d.cts +2 -2
  222. package/lib/resources/recurring_order_copies.d.ts +2 -2
  223. package/lib/resources/refunds.d.cts +2 -2
  224. package/lib/resources/refunds.d.ts +2 -2
  225. package/lib/resources/reserved_stocks.d.cts +2 -2
  226. package/lib/resources/reserved_stocks.d.ts +2 -2
  227. package/lib/resources/resource_errors.d.cts +2 -2
  228. package/lib/resources/resource_errors.d.ts +2 -2
  229. package/lib/resources/return_line_items.d.cts +2 -2
  230. package/lib/resources/return_line_items.d.ts +2 -2
  231. package/lib/resources/returns.d.cts +2 -2
  232. package/lib/resources/returns.d.ts +2 -2
  233. package/lib/resources/satispay_gateways.d.cts +2 -2
  234. package/lib/resources/satispay_gateways.d.ts +2 -2
  235. package/lib/resources/satispay_payments.d.cts +2 -2
  236. package/lib/resources/satispay_payments.d.ts +2 -2
  237. package/lib/resources/shipments.d.cts +2 -2
  238. package/lib/resources/shipments.d.ts +2 -2
  239. package/lib/resources/shipping_categories.d.cts +2 -2
  240. package/lib/resources/shipping_categories.d.ts +2 -2
  241. package/lib/resources/shipping_method_tiers.d.cts +2 -2
  242. package/lib/resources/shipping_method_tiers.d.ts +2 -2
  243. package/lib/resources/shipping_methods.d.cts +2 -2
  244. package/lib/resources/shipping_methods.d.ts +2 -2
  245. package/lib/resources/shipping_weight_tiers.d.cts +2 -2
  246. package/lib/resources/shipping_weight_tiers.d.ts +2 -2
  247. package/lib/resources/shipping_zones.d.cts +2 -2
  248. package/lib/resources/shipping_zones.d.ts +2 -2
  249. package/lib/resources/sku_list_items.d.cts +2 -2
  250. package/lib/resources/sku_list_items.d.ts +2 -2
  251. package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
  252. package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
  253. package/lib/resources/sku_lists.d.cts +2 -2
  254. package/lib/resources/sku_lists.d.ts +2 -2
  255. package/lib/resources/sku_options.d.cts +2 -2
  256. package/lib/resources/sku_options.d.ts +2 -2
  257. package/lib/resources/skus.d.cts +2 -2
  258. package/lib/resources/skus.d.ts +2 -2
  259. package/lib/resources/stock_items.d.cts +2 -2
  260. package/lib/resources/stock_items.d.ts +2 -2
  261. package/lib/resources/stock_line_items.d.cts +2 -2
  262. package/lib/resources/stock_line_items.d.ts +2 -2
  263. package/lib/resources/stock_locations.d.cts +2 -2
  264. package/lib/resources/stock_locations.d.ts +2 -2
  265. package/lib/resources/stock_reservations.d.cts +2 -2
  266. package/lib/resources/stock_reservations.d.ts +2 -2
  267. package/lib/resources/stock_transfers.d.cts +2 -2
  268. package/lib/resources/stock_transfers.d.ts +2 -2
  269. package/lib/resources/stores.d.cts +2 -2
  270. package/lib/resources/stores.d.ts +2 -2
  271. package/lib/resources/stripe_gateways.d.cts +2 -2
  272. package/lib/resources/stripe_gateways.d.ts +2 -2
  273. package/lib/resources/stripe_payments.d.cts +2 -2
  274. package/lib/resources/stripe_payments.d.ts +2 -2
  275. package/lib/resources/stripe_tax_accounts.d.cts +2 -2
  276. package/lib/resources/stripe_tax_accounts.d.ts +2 -2
  277. package/lib/resources/subscription_models.d.cts +2 -2
  278. package/lib/resources/subscription_models.d.ts +2 -2
  279. package/lib/resources/tags.d.cts +2 -2
  280. package/lib/resources/tags.d.ts +2 -2
  281. package/lib/resources/talon_one_accounts.d.cts +2 -2
  282. package/lib/resources/talon_one_accounts.d.ts +2 -2
  283. package/lib/resources/tax_calculators.d.cts +2 -2
  284. package/lib/resources/tax_calculators.d.ts +2 -2
  285. package/lib/resources/tax_categories.d.cts +2 -2
  286. package/lib/resources/tax_categories.d.ts +2 -2
  287. package/lib/resources/tax_rules.d.cts +2 -2
  288. package/lib/resources/tax_rules.d.ts +2 -2
  289. package/lib/resources/taxjar_accounts.d.cts +2 -2
  290. package/lib/resources/taxjar_accounts.d.ts +2 -2
  291. package/lib/resources/transactions.d.cts +2 -2
  292. package/lib/resources/transactions.d.ts +2 -2
  293. package/lib/resources/versions.d.cts +2 -2
  294. package/lib/resources/versions.d.ts +2 -2
  295. package/lib/resources/vertex_accounts.d.cts +2 -2
  296. package/lib/resources/vertex_accounts.d.ts +2 -2
  297. package/lib/resources/voids.d.cts +2 -2
  298. package/lib/resources/voids.d.ts +2 -2
  299. package/lib/resources/webhooks.d.cts +2 -2
  300. package/lib/resources/webhooks.d.ts +2 -2
  301. package/lib/resources/wire_transfers.d.cts +2 -2
  302. package/lib/resources/wire_transfers.d.ts +2 -2
  303. package/lib/static.cjs +1 -9
  304. package/lib/static.d.cts +2 -4
  305. package/lib/static.d.ts +2 -4
  306. package/lib/static.js +1 -5
  307. package/package.json +2 -2
package/lib/api.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { j as CreatableResource, C as CreatableResourceType, l as DeletableResource, D as DeletableResourceType, i as ListableResource, L as ListableResourceType, o as ResourceFields, p as ResourceSortFields, f as ResourceTypeLock, h as RetrievableResource, g as RetrievableResourceType, m as TaggableResource, T as TaggableResourceType, k as UpdatableResource, U as UpdatableResourceType, n as VersionableResource, V as VersionableResourceType, q as addresses, t as adjustments, u as adyen_gateways, v as adyen_payments, w as application, x as attachments, y as authorizations, z as avalara_accounts, A as axerve_gateways, B as axerve_payments, E as bing_geocoders, F as braintree_gateways, G as braintree_payments, H as bundles, I as buy_x_pay_y_promotions, J as captures, K as carrier_accounts, M as checkout_com_gateways, N as checkout_com_payments, O as cleanups, P as coupon_codes_promotion_rules, Q as coupon_recipients, S as coupons, W as custom_promotion_rules, X as customer_addresses, Y as customer_groups, Z as customer_password_resets, _ as customer_payment_sources, $ as customer_subscriptions, a0 as customers, a1 as delivery_lead_times, a2 as discount_engine_items, a3 as discount_engines, a4 as easypost_pickups, a5 as event_callbacks, a6 as events, a7 as exports, a8 as external_gateways, a9 as external_payments, aa as external_promotions, ab as external_tax_calculators, ac as fixed_amount_promotions, ad as fixed_price_promotions, ae as flex_promotions, af as free_gift_promotions, ag as free_shipping_promotions, ah as geocoders, ai as gift_card_recipients, aj as gift_cards, ak as google_geocoders, al as imports, am as in_stock_subscriptions, an as inventory_models, ao as inventory_return_locations, ap as inventory_stock_locations, aq as klarna_gateways, ar as klarna_payments, as as line_item_options, at as line_items, au as links, av as manual_gateways, aw as manual_tax_calculators, ax as markets, ay as merchants, az as notifications, aA as order_amount_promotion_rules, aB as order_copies, aC as order_factories, aD as order_subscription_items, aE as order_subscriptions, aF as orders, aG as organization, aH as packages, aI as parcel_line_items, aJ as parcels, aK as payment_gateways, aL as payment_methods, aM as payment_options, aN as paypal_gateways, aO as paypal_payments, aP as percentage_discount_promotions, aQ as pickups, aR as price_frequency_tiers, aS as price_list_schedulers, aT as price_lists, aU as price_tiers, aV as price_volume_tiers, aW as prices, aX as promotion_rules, aY as promotions, aZ as recurring_order_copies, a_ as refunds, a$ as reserved_stocks, r as resourceList, b0 as resource_errors, b1 as return_line_items, b2 as returns, b3 as satispay_gateways, b4 as satispay_payments, b5 as shipments, b6 as shipping_categories, b7 as shipping_method_tiers, b8 as shipping_methods, b9 as shipping_weight_tiers, ba as shipping_zones, s as singletonList, bb as sku_list_items, bc as sku_list_promotion_rules, bd as sku_lists, be as sku_options, bf as skus, bg as stock_items, bh as stock_line_items, bi as stock_locations, bj as stock_reservations, bk as stock_transfers, bl as stores, bm as stripe_gateways, bn as stripe_payments, bo as stripe_tax_accounts, bp as subscription_models, bq as tags, br as talon_one_accounts, bs as tax_calculators, bt as tax_categories, bu as tax_rules, bv as taxjar_accounts, bw as transactions, bx as versions, by as vertex_accounts, bz as voids, bA as webhooks, bB as wire_transfers } from './api-Bq9emZm-.cjs';
1
+ export { jt as CreatableResource, js as CreatableResourceType, jx as DeletableResource, jw as DeletableResourceType, jr as ListableResource, jq as ListableResourceType, O as OPEN_API_SCHEMA_VERSION, jC as ResourceFields, jD as ResourceSortFields, jl as ResourceTypeLock, jp as RetrievableResource, jo as RetrievableResourceType, jz as TaggableResource, jy as TaggableResourceType, jv as UpdatableResource, ju as UpdatableResourceType, jB as VersionableResource, jA as VersionableResourceType, jm as resourceList, jn as singletonList } from './adapter-DF63Dunh.cjs';
2
2
  import './client.cjs';
3
- import './interceptor-D65i25Y7.cjs';
3
+ import './interceptor-5MISI1yn.cjs';
4
4
  import './types.cjs';
package/lib/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { j as CreatableResource, C as CreatableResourceType, l as DeletableResource, D as DeletableResourceType, i as ListableResource, L as ListableResourceType, o as ResourceFields, p as ResourceSortFields, f as ResourceTypeLock, h as RetrievableResource, g as RetrievableResourceType, m as TaggableResource, T as TaggableResourceType, k as UpdatableResource, U as UpdatableResourceType, n as VersionableResource, V as VersionableResourceType, q as addresses, t as adjustments, u as adyen_gateways, v as adyen_payments, w as application, x as attachments, y as authorizations, z as avalara_accounts, A as axerve_gateways, B as axerve_payments, E as bing_geocoders, F as braintree_gateways, G as braintree_payments, H as bundles, I as buy_x_pay_y_promotions, J as captures, K as carrier_accounts, M as checkout_com_gateways, N as checkout_com_payments, O as cleanups, P as coupon_codes_promotion_rules, Q as coupon_recipients, S as coupons, W as custom_promotion_rules, X as customer_addresses, Y as customer_groups, Z as customer_password_resets, _ as customer_payment_sources, $ as customer_subscriptions, a0 as customers, a1 as delivery_lead_times, a2 as discount_engine_items, a3 as discount_engines, a4 as easypost_pickups, a5 as event_callbacks, a6 as events, a7 as exports, a8 as external_gateways, a9 as external_payments, aa as external_promotions, ab as external_tax_calculators, ac as fixed_amount_promotions, ad as fixed_price_promotions, ae as flex_promotions, af as free_gift_promotions, ag as free_shipping_promotions, ah as geocoders, ai as gift_card_recipients, aj as gift_cards, ak as google_geocoders, al as imports, am as in_stock_subscriptions, an as inventory_models, ao as inventory_return_locations, ap as inventory_stock_locations, aq as klarna_gateways, ar as klarna_payments, as as line_item_options, at as line_items, au as links, av as manual_gateways, aw as manual_tax_calculators, ax as markets, ay as merchants, az as notifications, aA as order_amount_promotion_rules, aB as order_copies, aC as order_factories, aD as order_subscription_items, aE as order_subscriptions, aF as orders, aG as organization, aH as packages, aI as parcel_line_items, aJ as parcels, aK as payment_gateways, aL as payment_methods, aM as payment_options, aN as paypal_gateways, aO as paypal_payments, aP as percentage_discount_promotions, aQ as pickups, aR as price_frequency_tiers, aS as price_list_schedulers, aT as price_lists, aU as price_tiers, aV as price_volume_tiers, aW as prices, aX as promotion_rules, aY as promotions, aZ as recurring_order_copies, a_ as refunds, a$ as reserved_stocks, r as resourceList, b0 as resource_errors, b1 as return_line_items, b2 as returns, b3 as satispay_gateways, b4 as satispay_payments, b5 as shipments, b6 as shipping_categories, b7 as shipping_method_tiers, b8 as shipping_methods, b9 as shipping_weight_tiers, ba as shipping_zones, s as singletonList, bb as sku_list_items, bc as sku_list_promotion_rules, bd as sku_lists, be as sku_options, bf as skus, bg as stock_items, bh as stock_line_items, bi as stock_locations, bj as stock_reservations, bk as stock_transfers, bl as stores, bm as stripe_gateways, bn as stripe_payments, bo as stripe_tax_accounts, bp as subscription_models, bq as tags, br as talon_one_accounts, bs as tax_calculators, bt as tax_categories, bu as tax_rules, bv as taxjar_accounts, bw as transactions, bx as versions, by as vertex_accounts, bz as voids, bA as webhooks, bB as wire_transfers } from './api-C5qyxFpD.js';
1
+ export { jt as CreatableResource, js as CreatableResourceType, jx as DeletableResource, jw as DeletableResourceType, jr as ListableResource, jq as ListableResourceType, O as OPEN_API_SCHEMA_VERSION, jC as ResourceFields, jD as ResourceSortFields, jl as ResourceTypeLock, jp as RetrievableResource, jo as RetrievableResourceType, jz as TaggableResource, jy as TaggableResourceType, jv as UpdatableResource, ju as UpdatableResourceType, jB as VersionableResource, jA as VersionableResourceType, jm as resourceList, jn as singletonList } from './adapter-BPmdwMhh.js';
2
2
  import './client.js';
3
- import './interceptor-D65i25Y7.js';
3
+ import './interceptor-5MISI1yn.js';
4
4
  import './types.js';
package/lib/api.js CHANGED
@@ -1,136 +1,6 @@
1
1
  import './chunk-AQ5VUG5P.js';
2
- export { default as addresses } from './resources/addresses';
3
- export { default as adjustments } from './resources/adjustments';
4
- export { default as adyen_gateways } from './resources/adyen_gateways';
5
- export { default as adyen_payments } from './resources/adyen_payments';
6
- export { default as application } from './resources/applications';
7
- export { default as attachments } from './resources/attachments';
8
- export { default as authorizations } from './resources/authorizations';
9
- export { default as avalara_accounts } from './resources/avalara_accounts';
10
- export { default as axerve_gateways } from './resources/axerve_gateways';
11
- export { default as axerve_payments } from './resources/axerve_payments';
12
- export { default as bing_geocoders } from './resources/bing_geocoders';
13
- export { default as braintree_gateways } from './resources/braintree_gateways';
14
- export { default as braintree_payments } from './resources/braintree_payments';
15
- export { default as bundles } from './resources/bundles';
16
- export { default as buy_x_pay_y_promotions } from './resources/buy_x_pay_y_promotions';
17
- export { default as captures } from './resources/captures';
18
- export { default as carrier_accounts } from './resources/carrier_accounts';
19
- export { default as checkout_com_gateways } from './resources/checkout_com_gateways';
20
- export { default as checkout_com_payments } from './resources/checkout_com_payments';
21
- export { default as cleanups } from './resources/cleanups';
22
- export { default as coupon_codes_promotion_rules } from './resources/coupon_codes_promotion_rules';
23
- export { default as coupon_recipients } from './resources/coupon_recipients';
24
- export { default as coupons } from './resources/coupons';
25
- export { default as custom_promotion_rules } from './resources/custom_promotion_rules';
26
- export { default as customer_addresses } from './resources/customer_addresses';
27
- export { default as customer_groups } from './resources/customer_groups';
28
- export { default as customer_password_resets } from './resources/customer_password_resets';
29
- export { default as customer_payment_sources } from './resources/customer_payment_sources';
30
- export { default as customer_subscriptions } from './resources/customer_subscriptions';
31
- export { default as customers } from './resources/customers';
32
- export { default as delivery_lead_times } from './resources/delivery_lead_times';
33
- export { default as discount_engine_items } from './resources/discount_engine_items';
34
- export { default as discount_engines } from './resources/discount_engines';
35
- export { default as easypost_pickups } from './resources/easypost_pickups';
36
- export { default as event_callbacks } from './resources/event_callbacks';
37
- export { default as events } from './resources/events';
38
- export { default as exports } from './resources/exports';
39
- export { default as external_gateways } from './resources/external_gateways';
40
- export { default as external_payments } from './resources/external_payments';
41
- export { default as external_promotions } from './resources/external_promotions';
42
- export { default as external_tax_calculators } from './resources/external_tax_calculators';
43
- export { default as fixed_amount_promotions } from './resources/fixed_amount_promotions';
44
- export { default as fixed_price_promotions } from './resources/fixed_price_promotions';
45
- export { default as flex_promotions } from './resources/flex_promotions';
46
- export { default as free_gift_promotions } from './resources/free_gift_promotions';
47
- export { default as free_shipping_promotions } from './resources/free_shipping_promotions';
48
- export { default as geocoders } from './resources/geocoders';
49
- export { default as gift_card_recipients } from './resources/gift_card_recipients';
50
- export { default as gift_cards } from './resources/gift_cards';
51
- export { default as google_geocoders } from './resources/google_geocoders';
52
- export { default as imports } from './resources/imports';
53
- export { default as in_stock_subscriptions } from './resources/in_stock_subscriptions';
54
- export { default as inventory_models } from './resources/inventory_models';
55
- export { default as inventory_return_locations } from './resources/inventory_return_locations';
56
- export { default as inventory_stock_locations } from './resources/inventory_stock_locations';
57
- export { default as klarna_gateways } from './resources/klarna_gateways';
58
- export { default as klarna_payments } from './resources/klarna_payments';
59
- export { default as line_item_options } from './resources/line_item_options';
60
- export { default as line_items } from './resources/line_items';
61
- export { default as links } from './resources/links';
62
- export { default as manual_gateways } from './resources/manual_gateways';
63
- export { default as manual_tax_calculators } from './resources/manual_tax_calculators';
64
- export { default as markets } from './resources/markets';
65
- export { default as merchants } from './resources/merchants';
66
- export { default as notifications } from './resources/notifications';
67
- export { default as order_amount_promotion_rules } from './resources/order_amount_promotion_rules';
68
- export { default as order_copies } from './resources/order_copies';
69
- export { default as order_factories } from './resources/order_factories';
70
- export { default as order_subscription_items } from './resources/order_subscription_items';
71
- export { default as order_subscriptions } from './resources/order_subscriptions';
72
- export { default as orders } from './resources/orders';
73
- export { default as organization } from './resources/organizations';
74
- export { default as packages } from './resources/packages';
75
- export { default as parcel_line_items } from './resources/parcel_line_items';
76
- export { default as parcels } from './resources/parcels';
77
- export { default as payment_gateways } from './resources/payment_gateways';
78
- export { default as payment_methods } from './resources/payment_methods';
79
- export { default as payment_options } from './resources/payment_options';
80
- export { default as paypal_gateways } from './resources/paypal_gateways';
81
- export { default as paypal_payments } from './resources/paypal_payments';
82
- export { default as percentage_discount_promotions } from './resources/percentage_discount_promotions';
83
- export { default as pickups } from './resources/pickups';
84
- export { default as price_frequency_tiers } from './resources/price_frequency_tiers';
85
- export { default as price_list_schedulers } from './resources/price_list_schedulers';
86
- export { default as price_lists } from './resources/price_lists';
87
- export { default as price_tiers } from './resources/price_tiers';
88
- export { default as price_volume_tiers } from './resources/price_volume_tiers';
89
- export { default as prices } from './resources/prices';
90
- export { default as promotion_rules } from './resources/promotion_rules';
91
- export { default as promotions } from './resources/promotions';
92
- export { default as recurring_order_copies } from './resources/recurring_order_copies';
93
- export { default as refunds } from './resources/refunds';
94
- export { default as reserved_stocks } from './resources/reserved_stocks';
95
- export { default as resource_errors } from './resources/resource_errors';
96
- export { default as return_line_items } from './resources/return_line_items';
97
- export { default as returns } from './resources/returns';
98
- export { default as satispay_gateways } from './resources/satispay_gateways';
99
- export { default as satispay_payments } from './resources/satispay_payments';
100
- export { default as shipments } from './resources/shipments';
101
- export { default as shipping_categories } from './resources/shipping_categories';
102
- export { default as shipping_method_tiers } from './resources/shipping_method_tiers';
103
- export { default as shipping_methods } from './resources/shipping_methods';
104
- export { default as shipping_weight_tiers } from './resources/shipping_weight_tiers';
105
- export { default as shipping_zones } from './resources/shipping_zones';
106
- export { default as sku_list_items } from './resources/sku_list_items';
107
- export { default as sku_list_promotion_rules } from './resources/sku_list_promotion_rules';
108
- export { default as sku_lists } from './resources/sku_lists';
109
- export { default as sku_options } from './resources/sku_options';
110
- export { default as skus } from './resources/skus';
111
- export { default as stock_items } from './resources/stock_items';
112
- export { default as stock_line_items } from './resources/stock_line_items';
113
- export { default as stock_locations } from './resources/stock_locations';
114
- export { default as stock_reservations } from './resources/stock_reservations';
115
- export { default as stock_transfers } from './resources/stock_transfers';
116
- export { default as stores } from './resources/stores';
117
- export { default as stripe_gateways } from './resources/stripe_gateways';
118
- export { default as stripe_payments } from './resources/stripe_payments';
119
- export { default as stripe_tax_accounts } from './resources/stripe_tax_accounts';
120
- export { default as subscription_models } from './resources/subscription_models';
121
- export { default as tags } from './resources/tags';
122
- export { default as talon_one_accounts } from './resources/talon_one_accounts';
123
- export { default as tax_calculators } from './resources/tax_calculators';
124
- export { default as tax_categories } from './resources/tax_categories';
125
- export { default as tax_rules } from './resources/tax_rules';
126
- export { default as taxjar_accounts } from './resources/taxjar_accounts';
127
- export { default as transactions } from './resources/transactions';
128
- export { default as versions } from './resources/versions';
129
- export { default as vertex_accounts } from './resources/vertex_accounts';
130
- export { default as voids } from './resources/voids';
131
- export { default as webhooks } from './resources/webhooks';
132
- export { default as wire_transfers } from './resources/wire_transfers';
133
2
 
3
+ const OPEN_API_SCHEMA_VERSION = "7.8.2";
134
4
  const apiResources = [
135
5
  // ##__API_RESOURCE_LIST_START__##
136
6
  "addresses",
@@ -274,4 +144,4 @@ const singletonList = [
274
144
  // ##__API_RESOURCE_SINGLETON_STOP__##
275
145
  ];
276
146
 
277
- export { resourceList, singletonList };
147
+ export { OPEN_API_SCHEMA_VERSION, resourceList, singletonList };
package/lib/client.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { F as Fetch, c as InterceptorManager, d as FetchResponse } from './interceptor-D65i25Y7.cjs';
1
+ import { F as Fetch, f as InterceptorManager, g as FetchResponse } from './interceptor-5MISI1yn.cjs';
2
2
 
3
3
  type RequestParams = Record<string, string | number | boolean>;
4
4
  type RequestHeaders = Record<string, string>;
package/lib/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { F as Fetch, c as InterceptorManager, d as FetchResponse } from './interceptor-D65i25Y7.js';
1
+ import { F as Fetch, f as InterceptorManager, g as FetchResponse } from './interceptor-5MISI1yn.js';
2
2
 
3
3
  type RequestParams = Record<string, string | number | boolean>;
4
4
  type RequestHeaders = Record<string, string>;
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var chunkJE77HYXB_cjs = require('./chunk-JE77HYXB.cjs');
6
+ var api = require('./api');
6
7
  var _static = require('./static');
7
8
  var resource = require('./resource');
8
9
  var Debug = require('./debug');
@@ -12,18 +13,15 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
12
13
  var Debug__default = /*#__PURE__*/_interopDefault(Debug);
13
14
 
14
15
  const debug = Debug__default.default("commercelayer");
15
- const OPEN_API_SCHEMA_VERSION = "7.8.2";
16
16
  const _CommerceLayerClient = class _CommerceLayerClient {
17
17
  constructor(config) {
18
- chunkJE77HYXB_cjs.__publicField(this, "openApiSchemaVersion", OPEN_API_SCHEMA_VERSION);
18
+ chunkJE77HYXB_cjs.__publicField(this, "openApiSchemaVersion", api.OPEN_API_SCHEMA_VERSION);
19
19
  debug("new commercelayer instance %O", config);
20
- resource.ApiResourceAdapter.get(config);
20
+ resource.ApiResourceAdapter.init(config);
21
21
  }
22
22
  static get openApiSchemaVersion() {
23
- return OPEN_API_SCHEMA_VERSION;
23
+ return api.OPEN_API_SCHEMA_VERSION;
24
24
  }
25
- // readonly #adapter: ResourceAdapter
26
- // #slug: string
27
25
  // ##__CL_RESOURCES_DEF_START__##
28
26
  // ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##
29
27
  // ##__CL_RESOURCES_DEF_STOP__##
@@ -119,5 +117,4 @@ const CommerceLayer = (config) => {
119
117
  var commercelayer_default = CommerceLayer;
120
118
 
121
119
  exports.CommerceLayer = CommerceLayer;
122
- exports.OPEN_API_SCHEMA_VERSION = OPEN_API_SCHEMA_VERSION;
123
120
  exports.default = commercelayer_default;
@@ -1,11 +1,9 @@
1
- import { e as ResourcesInitConfig, f as ResourceTypeLock } from './api-Bq9emZm-.cjs';
1
+ import { bH as ResourcesInitConfig, jl as ResourceTypeLock } from './adapter-DF63Dunh.cjs';
2
2
  import { ApiError } from './error.cjs';
3
- import { R as RequestInterceptor, E as ErrorInterceptor, a as ResponseInterceptor, I as InterceptorType, b as RawResponseReader } from './interceptor-D65i25Y7.cjs';
3
+ import { b as RequestInterceptor, c as ErrorInterceptor, d as ResponseInterceptor, I as InterceptorType, e as RawResponseReader } from './interceptor-5MISI1yn.cjs';
4
4
  import './client.cjs';
5
5
  import './types.cjs';
6
6
 
7
- declare const OPEN_API_SCHEMA_VERSION = "7.8.2";
8
-
9
7
  type SdkConfig = {};
10
8
  type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
11
9
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
@@ -36,4 +34,4 @@ declare class CommerceLayerClient {
36
34
  }
37
35
  declare const CommerceLayer: (config: CommerceLayerInitConfig) => CommerceLayerClient;
38
36
 
39
- export { CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, OPEN_API_SCHEMA_VERSION, CommerceLayer as default };
37
+ export { CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, CommerceLayer as default };
@@ -1,11 +1,9 @@
1
- import { e as ResourcesInitConfig, f as ResourceTypeLock } from './api-C5qyxFpD.js';
1
+ import { bH as ResourcesInitConfig, jl as ResourceTypeLock } from './adapter-BPmdwMhh.js';
2
2
  import { ApiError } from './error.js';
3
- import { R as RequestInterceptor, E as ErrorInterceptor, a as ResponseInterceptor, I as InterceptorType, b as RawResponseReader } from './interceptor-D65i25Y7.js';
3
+ import { b as RequestInterceptor, c as ErrorInterceptor, d as ResponseInterceptor, I as InterceptorType, e as RawResponseReader } from './interceptor-5MISI1yn.js';
4
4
  import './client.js';
5
5
  import './types.js';
6
6
 
7
- declare const OPEN_API_SCHEMA_VERSION = "7.8.2";
8
-
9
7
  type SdkConfig = {};
10
8
  type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
11
9
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
@@ -36,4 +34,4 @@ declare class CommerceLayerClient {
36
34
  }
37
35
  declare const CommerceLayer: (config: CommerceLayerInitConfig) => CommerceLayerClient;
38
36
 
39
- export { CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, OPEN_API_SCHEMA_VERSION, CommerceLayer as default };
37
+ export { CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, CommerceLayer as default };
@@ -1,21 +1,19 @@
1
1
  import { __publicField } from './chunk-AQ5VUG5P.js';
2
+ import { OPEN_API_SCHEMA_VERSION } from './api';
2
3
  import { CommerceLayerStatic } from './static';
3
4
  import { ApiResourceAdapter } from './resource';
4
5
  import Debug from './debug';
5
6
 
6
7
  const debug = Debug("commercelayer");
7
- const OPEN_API_SCHEMA_VERSION = "7.8.2";
8
8
  const _CommerceLayerClient = class _CommerceLayerClient {
9
9
  constructor(config) {
10
10
  __publicField(this, "openApiSchemaVersion", OPEN_API_SCHEMA_VERSION);
11
11
  debug("new commercelayer instance %O", config);
12
- ApiResourceAdapter.get(config);
12
+ ApiResourceAdapter.init(config);
13
13
  }
14
14
  static get openApiSchemaVersion() {
15
15
  return OPEN_API_SCHEMA_VERSION;
16
16
  }
17
- // readonly #adapter: ResourceAdapter
18
- // #slug: string
19
17
  // ##__CL_RESOURCES_DEF_START__##
20
18
  // ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##
21
19
  // ##__CL_RESOURCES_DEF_STOP__##
@@ -110,4 +108,4 @@ const CommerceLayer = (config) => {
110
108
  };
111
109
  var commercelayer_default = CommerceLayer;
112
110
 
113
- export { CommerceLayer, OPEN_API_SCHEMA_VERSION, commercelayer_default as default };
111
+ export { CommerceLayer, commercelayer_default as default };
package/lib/common.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { R as ResourceId, a as ResourceType } from './api-Bq9emZm-.cjs';
1
+ import { bw as ResourceId, bv as ResourceType } from './adapter-DF63Dunh.cjs';
2
2
  import './client.cjs';
3
- import './interceptor-D65i25Y7.cjs';
3
+ import './interceptor-5MISI1yn.cjs';
4
4
  import './types.cjs';
5
5
 
6
6
  declare const isResourceId: (resource: any) => resource is ResourceId;
package/lib/common.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { R as ResourceId, a as ResourceType } from './api-C5qyxFpD.js';
1
+ import { bw as ResourceId, bv as ResourceType } from './adapter-BPmdwMhh.js';
2
2
  import './client.js';
3
- import './interceptor-D65i25Y7.js';
3
+ import './interceptor-5MISI1yn.js';
4
4
  import './types.js';
5
5
 
6
6
  declare const isResourceId: (resource: any) => resource is ResourceId;
package/lib/config.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ApiClientInitConfig } from './client.cjs';
2
- import './interceptor-D65i25Y7.cjs';
2
+ import './interceptor-5MISI1yn.cjs';
3
3
 
4
4
  declare const config: {
5
5
  readonly default: {
package/lib/config.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ApiClientInitConfig } from './client.js';
2
- import './interceptor-D65i25Y7.js';
2
+ import './interceptor-5MISI1yn.js';
3
3
 
4
4
  declare const config: {
5
5
  readonly default: {
package/lib/fetch.d.cts CHANGED
@@ -1 +1 @@
1
- export { F as Fetch, i as FetchClientOptions, j as FetchError, h as FetchRequestOptions, d as FetchResponse, k as fetchURL } from './interceptor-D65i25Y7.cjs';
1
+ export { F as Fetch, i as FetchClientOptions, j as FetchError, h as FetchRequestOptions, g as FetchResponse, k as fetchURL } from './interceptor-5MISI1yn.cjs';
package/lib/fetch.d.ts CHANGED
@@ -1 +1 @@
1
- export { F as Fetch, i as FetchClientOptions, j as FetchError, h as FetchRequestOptions, d as FetchResponse, k as fetchURL } from './interceptor-D65i25Y7.js';
1
+ export { F as Fetch, i as FetchClientOptions, j as FetchError, h as FetchRequestOptions, g as FetchResponse, k as fetchURL } from './interceptor-5MISI1yn.js';
package/lib/index.cjs CHANGED
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  require('./chunk-JE77HYXB.cjs');
6
6
  var commercelayer = require('./commercelayer');
7
7
  var api = require('./api');
8
+ var adapter = require('./adapter');
8
9
  var _static = require('./static');
9
10
 
10
11
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -21,13 +22,17 @@ Object.defineProperty(exports, "default", {
21
22
  enumerable: true,
22
23
  get: function () { return commercelayer__default.default; }
23
24
  });
25
+ Object.defineProperty(exports, "OPEN_API_SCHEMA_VERSION", {
26
+ enumerable: true,
27
+ get: function () { return api.OPEN_API_SCHEMA_VERSION; }
28
+ });
24
29
  Object.defineProperty(exports, "CommerceLayerStatic", {
25
30
  enumerable: true,
26
31
  get: function () { return _static.CommerceLayerStatic; }
27
32
  });
28
- Object.keys(api).forEach(function (k) {
33
+ Object.keys(adapter).forEach(function (k) {
29
34
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
30
35
  enumerable: true,
31
- get: function () { return api[k]; }
36
+ get: function () { return adapter[k]; }
32
37
  });
33
38
  });
package/lib/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { default as CommerceLayer, CommerceLayerClient, CommerceLayerConfig, CommerceLayerInitConfig, default } from './commercelayer.cjs';
2
- export { c1 as Address, c2 as AddressCreate, c4 as AddressSort, c3 as AddressUpdate, c5 as Adjustment, c6 as AdjustmentCreate, c8 as AdjustmentSort, c7 as AdjustmentUpdate, c9 as AdyenGateway, ca as AdyenGatewayCreate, cc as AdyenGatewaySort, cb as AdyenGatewayUpdate, cd as AdyenPayment, ce as AdyenPaymentCreate, cg as AdyenPaymentSort, cf as AdyenPaymentUpdate, bW as ApiResource, c0 as ApiResourceAdapter, bX as ApiSingleton, ch as Application, ci as ApplicationSort, cj as Attachment, ck as AttachmentCreate, cm as AttachmentSort, cl as AttachmentUpdate, cn as Authorization, cp as AuthorizationSort, co as AuthorizationUpdate, cq as AvalaraAccount, cr as AvalaraAccountCreate, ct as AvalaraAccountSort, cs as AvalaraAccountUpdate, cu as AxerveGateway, cv as AxerveGatewayCreate, cx as AxerveGatewaySort, cw as AxerveGatewayUpdate, cy as AxervePayment, cz as AxervePaymentCreate, cB as AxervePaymentSort, cA as AxervePaymentUpdate, cC as BingGeocoder, cD as BingGeocoderCreate, cF as BingGeocoderSort, cE as BingGeocoderUpdate, cG as BraintreeGateway, cH as BraintreeGatewayCreate, cJ as BraintreeGatewaySort, cI as BraintreeGatewayUpdate, cK as BraintreePayment, cL as BraintreePaymentCreate, cN as BraintreePaymentSort, cM as BraintreePaymentUpdate, cO as Bundle, cP as BundleCreate, cR as BundleSort, cQ as BundleUpdate, cS as BuyXPayYPromotion, cT as BuyXPayYPromotionCreate, cV as BuyXPayYPromotionSort, cU as BuyXPayYPromotionUpdate, cW as Capture, cY as CaptureSort, cX as CaptureUpdate, cZ as CarrierAccount, c_ as CarrierAccountCreate, d0 as CarrierAccountSort, c$ as CarrierAccountUpdate, d1 as CheckoutComGateway, d2 as CheckoutComGatewayCreate, d4 as CheckoutComGatewaySort, d3 as CheckoutComGatewayUpdate, d5 as CheckoutComPayment, d6 as CheckoutComPaymentCreate, d8 as CheckoutComPaymentSort, d7 as CheckoutComPaymentUpdate, d9 as Cleanup, da as CleanupCreate, dc as CleanupSort, db as CleanupUpdate, dl as Coupon, dd as CouponCodesPromotionRule, de as CouponCodesPromotionRuleCreate, dg as CouponCodesPromotionRuleSort, df as CouponCodesPromotionRuleUpdate, dm as CouponCreate, dh as CouponRecipient, di as CouponRecipientCreate, dk as CouponRecipientSort, dj as CouponRecipientUpdate, dp as CouponSort, dn as CouponUpdate, j as CreatableResource, C as CreatableResourceType, dq as CustomPromotionRule, dr as CustomPromotionRuleCreate, dt as CustomPromotionRuleSort, ds as CustomPromotionRuleUpdate, dO as Customer, du as CustomerAddress, dv as CustomerAddressCreate, dx as CustomerAddressSort, dw as CustomerAddressUpdate, dP as CustomerCreate, dy as CustomerGroup, dz as CustomerGroupCreate, dB as CustomerGroupSort, dA as CustomerGroupUpdate, dC as CustomerPasswordReset, dD as CustomerPasswordResetCreate, dF as CustomerPasswordResetSort, dE as CustomerPasswordResetUpdate, dG as CustomerPaymentSource, dH as CustomerPaymentSourceCreate, dJ as CustomerPaymentSourceSort, dI as CustomerPaymentSourceUpdate, dR as CustomerSort, dK as CustomerSubscription, dL as CustomerSubscriptionCreate, dN as CustomerSubscriptionSort, dM as CustomerSubscriptionUpdate, dQ as CustomerUpdate, l as DeletableResource, D as DeletableResourceType, dS as DeliveryLeadTime, dT as DeliveryLeadTimeCreate, dV as DeliveryLeadTimeSort, dU as DeliveryLeadTimeUpdate, dY as DiscountEngine, dW as DiscountEngineItem, dX as DiscountEngineItemSort, dZ as DiscountEngineSort, d_ as EasypostPickup, d$ as EasypostPickupCreate, e1 as EasypostPickupSort, e0 as EasypostPickupUpdate, e4 as Event, e2 as EventCallback, e3 as EventCallbackSort, e6 as EventSort, e5 as EventUpdate, e7 as Export, e8 as ExportCreate, ea as ExportSort, e9 as ExportUpdate, eb as ExternalGateway, ec as ExternalGatewayCreate, ee as ExternalGatewaySort, ed as ExternalGatewayUpdate, ef as ExternalPayment, eg as ExternalPaymentCreate, ei as ExternalPaymentSort, eh as ExternalPaymentUpdate, ej as ExternalPromotion, ek as ExternalPromotionCreate, em as ExternalPromotionSort, el as ExternalPromotionUpdate, en as ExternalTaxCalculator, eo as ExternalTaxCalculatorCreate, eq as ExternalTaxCalculatorSort, ep as ExternalTaxCalculatorUpdate, er as FixedAmountPromotion, es as FixedAmountPromotionCreate, eu as FixedAmountPromotionSort, et as FixedAmountPromotionUpdate, ev as FixedPricePromotion, ew as FixedPricePromotionCreate, ey as FixedPricePromotionSort, ex as FixedPricePromotionUpdate, ez as FlexPromotion, eA as FlexPromotionCreate, eC as FlexPromotionSort, eB as FlexPromotionUpdate, eD as FreeGiftPromotion, eE as FreeGiftPromotionCreate, eG as FreeGiftPromotionSort, eF as FreeGiftPromotionUpdate, eH as FreeShippingPromotion, eI as FreeShippingPromotionCreate, eK as FreeShippingPromotionSort, eJ as FreeShippingPromotionUpdate, eL as Geocoder, eM as GeocoderSort, eR as GiftCard, eS as GiftCardCreate, eN as GiftCardRecipient, eO as GiftCardRecipientCreate, eQ as GiftCardRecipientSort, eP as GiftCardRecipientUpdate, eU as GiftCardSort, eT as GiftCardUpdate, eV as GoogleGeocoder, eW as GoogleGeocoderCreate, eY as GoogleGeocoderSort, eX as GoogleGeocoderUpdate, eZ as Import, e_ as ImportCreate, f0 as ImportSort, e$ as ImportUpdate, f1 as InStockSubscription, f2 as InStockSubscriptionCreate, f4 as InStockSubscriptionSort, f3 as InStockSubscriptionUpdate, f5 as InventoryModel, f6 as InventoryModelCreate, f8 as InventoryModelSort, f7 as InventoryModelUpdate, f9 as InventoryReturnLocation, fa as InventoryReturnLocationCreate, fc as InventoryReturnLocationSort, fb as InventoryReturnLocationUpdate, fd as InventoryStockLocation, fe as InventoryStockLocationCreate, fg as InventoryStockLocationSort, ff as InventoryStockLocationUpdate, fh as KlarnaGateway, fi as KlarnaGatewayCreate, fk as KlarnaGatewaySort, fj as KlarnaGatewayUpdate, fl as KlarnaPayment, fm as KlarnaPaymentCreate, fo as KlarnaPaymentSort, fn as KlarnaPaymentUpdate, ft as LineItem, fu as LineItemCreate, fp as LineItemOption, fq as LineItemOptionCreate, fs as LineItemOptionSort, fr as LineItemOptionUpdate, fw as LineItemSort, fv as LineItemUpdate, fx as Link, fy as LinkCreate, fA as LinkSort, fz as LinkUpdate, bU as ListMeta, bT as ListResponse, i as ListableResource, L as ListableResourceType, fB as ManualGateway, fC as ManualGatewayCreate, fE as ManualGatewaySort, fD as ManualGatewayUpdate, fF as ManualTaxCalculator, fG as ManualTaxCalculatorCreate, fI as ManualTaxCalculatorSort, fH as ManualTaxCalculatorUpdate, fJ as Market, fK as MarketCreate, fM as MarketSort, fL as MarketUpdate, fN as Merchant, fO as MerchantCreate, fQ as MerchantSort, fP as MerchantUpdate, bS as Metadata, fR as Notification, fS as NotificationCreate, fU as NotificationSort, fT as NotificationUpdate, gb as Order, fV as OrderAmountPromotionRule, fW as OrderAmountPromotionRuleCreate, fY as OrderAmountPromotionRuleSort, fX as OrderAmountPromotionRuleUpdate, fZ as OrderCopy, f_ as OrderCopyCreate, g0 as OrderCopySort, f$ as OrderCopyUpdate, gc as OrderCreate, g1 as OrderFactory, g2 as OrderFactorySort, ge as OrderSort, g7 as OrderSubscription, g8 as OrderSubscriptionCreate, g3 as OrderSubscriptionItem, g4 as OrderSubscriptionItemCreate, g6 as OrderSubscriptionItemSort, g5 as OrderSubscriptionItemUpdate, ga as OrderSubscriptionSort, g9 as OrderSubscriptionUpdate, gd as OrderUpdate, gf as Organization, gg as OrganizationSort, gh as Package, gi as PackageCreate, gk as PackageSort, gj as PackageUpdate, gp as Parcel, gq as ParcelCreate, gl as ParcelLineItem, gm as ParcelLineItemCreate, go as ParcelLineItemSort, gn as ParcelLineItemUpdate, gs as ParcelSort, gr as ParcelUpdate, gt as PaymentGateway, gu as PaymentGatewaySort, gv as PaymentMethod, gw as PaymentMethodCreate, gy as PaymentMethodSort, gx as PaymentMethodUpdate, gz as PaymentOption, gA as PaymentOptionCreate, gC as PaymentOptionSort, gB as PaymentOptionUpdate, gD as PaypalGateway, gE as PaypalGatewayCreate, gG as PaypalGatewaySort, gF as PaypalGatewayUpdate, gH as PaypalPayment, gI as PaypalPaymentCreate, gK as PaypalPaymentSort, gJ as PaypalPaymentUpdate, gL as PercentageDiscountPromotion, gM as PercentageDiscountPromotionCreate, gO as PercentageDiscountPromotionSort, gN as PercentageDiscountPromotionUpdate, gP as Pickup, gQ as PickupSort, h7 as Price, h8 as PriceCreate, gR as PriceFrequencyTier, gS as PriceFrequencyTierCreate, gU as PriceFrequencyTierSort, gT as PriceFrequencyTierUpdate, gZ as PriceList, g_ as PriceListCreate, gV as PriceListScheduler, gW as PriceListSchedulerCreate, gY as PriceListSchedulerSort, gX as PriceListSchedulerUpdate, h0 as PriceListSort, g$ as PriceListUpdate, ha as PriceSort, h1 as PriceTier, h2 as PriceTierSort, h9 as PriceUpdate, h3 as PriceVolumeTier, h4 as PriceVolumeTierCreate, h6 as PriceVolumeTierSort, h5 as PriceVolumeTierUpdate, hd as Promotion, hb as PromotionRule, hc as PromotionRuleSort, he as PromotionSort, bG as QueryArrayFields, bK as QueryArraySortable, bI as QueryFields, bN as QueryFilter, bF as QueryInclude, bO as QueryPageNumber, bP as QueryPageSize, bR as QueryParams, bQ as QueryParamsList, bJ as QueryParamsRetrieve, bH as QueryRecordFields, bL as QueryRecordSortable, bM as QuerySort, hf as RecurringOrderCopy, hg as RecurringOrderCopyCreate, hi as RecurringOrderCopySort, hh as RecurringOrderCopyUpdate, hj as Refund, hl as RefundSort, hk as RefundUpdate, hm as ReservedStock, hn as ReservedStockSort, b as Resource, bZ as ResourceAdapter, c as ResourceCreate, ho as ResourceError, hp as ResourceErrorSort, o as ResourceFields, b$ as ResourceFilter, R as ResourceId, bV as ResourceRel, b_ as ResourceSort, p as ResourceSortFields, a as ResourceType, f as ResourceTypeLock, d as ResourceUpdate, bY as ResourcesConfig, e as ResourcesInitConfig, h as RetrievableResource, g as RetrievableResourceType, hu as Return, hv as ReturnCreate, hq as ReturnLineItem, hr as ReturnLineItemCreate, ht as ReturnLineItemSort, hs as ReturnLineItemUpdate, hx as ReturnSort, hw as ReturnUpdate, hy as SatispayGateway, hz as SatispayGatewayCreate, hB as SatispayGatewaySort, hA as SatispayGatewayUpdate, hC as SatispayPayment, hD as SatispayPaymentCreate, hF as SatispayPaymentSort, hE as SatispayPaymentUpdate, hG as Shipment, hH as ShipmentCreate, hJ as ShipmentSort, hI as ShipmentUpdate, hK as ShippingCategory, hL as ShippingCategoryCreate, hN as ShippingCategorySort, hM as ShippingCategoryUpdate, hQ as ShippingMethod, hR as ShippingMethodCreate, hT as ShippingMethodSort, hO as ShippingMethodTier, hP as ShippingMethodTierSort, hS as ShippingMethodUpdate, hU as ShippingWeightTier, hV as ShippingWeightTierCreate, hX as ShippingWeightTierSort, hW as ShippingWeightTierUpdate, hY as ShippingZone, hZ as ShippingZoneCreate, h$ as ShippingZoneSort, h_ as ShippingZoneUpdate, ih as Sku, ii as SkuCreate, i8 as SkuList, i9 as SkuListCreate, i0 as SkuListItem, i1 as SkuListItemCreate, i3 as SkuListItemSort, i2 as SkuListItemUpdate, i4 as SkuListPromotionRule, i5 as SkuListPromotionRuleCreate, i7 as SkuListPromotionRuleSort, i6 as SkuListPromotionRuleUpdate, ib as SkuListSort, ia as SkuListUpdate, ic as SkuOption, id as SkuOptionCreate, ig as SkuOptionSort, ie as SkuOptionUpdate, ik as SkuSort, ij as SkuUpdate, il as StockItem, im as StockItemCreate, ip as StockItemSort, io as StockItemUpdate, iq as StockLineItem, ir as StockLineItemCreate, it as StockLineItemSort, is as StockLineItemUpdate, iu as StockLocation, iv as StockLocationCreate, ix as StockLocationSort, iw as StockLocationUpdate, iy as StockReservation, iz as StockReservationCreate, iB as StockReservationSort, iA as StockReservationUpdate, iC as StockTransfer, iD as StockTransferCreate, iF as StockTransferSort, iE as StockTransferUpdate, iG as Store, iH as StoreCreate, iJ as StoreSort, iI as StoreUpdate, iK as StripeGateway, iL as StripeGatewayCreate, iN as StripeGatewaySort, iM as StripeGatewayUpdate, iO as StripePayment, iP as StripePaymentCreate, iR as StripePaymentSort, iQ as StripePaymentUpdate, iS as StripeTaxAccount, iT as StripeTaxAccountCreate, iV as StripeTaxAccountSort, iU as StripeTaxAccountUpdate, iW as SubscriptionModel, iX as SubscriptionModelCreate, iZ as SubscriptionModelSort, iY as SubscriptionModelUpdate, i_ as Tag, i$ as TagCreate, j1 as TagSort, j0 as TagUpdate, m as TaggableResource, T as TaggableResourceType, j2 as TalonOneAccount, j3 as TalonOneAccountCreate, j5 as TalonOneAccountSort, j4 as TalonOneAccountUpdate, j6 as TaxCalculator, j7 as TaxCalculatorSort, j8 as TaxCategory, j9 as TaxCategoryCreate, jb as TaxCategorySort, ja as TaxCategoryUpdate, jc as TaxRule, jd as TaxRuleCreate, jf as TaxRuleSort, je as TaxRuleUpdate, jg as TaxjarAccount, jh as TaxjarAccountCreate, jj as TaxjarAccountSort, ji as TaxjarAccountUpdate, jk as Transaction, jl as TransactionSort, k as UpdatableResource, U as UpdatableResourceType, jm as Version, jn as VersionSort, n as VersionableResource, V as VersionableResourceType, jo as VertexAccount, jp as VertexAccountCreate, jr as VertexAccountSort, jq as VertexAccountUpdate, js as Void, ju as VoidSort, jt as VoidUpdate, jv as Webhook, jw as WebhookCreate, jy as WebhookSort, jx as WebhookUpdate, jz as WireTransfer, jA as WireTransferCreate, jC as WireTransferSort, jB as WireTransferUpdate, q as addresses, t as adjustments, u as adyen_gateways, v as adyen_payments, w as application, x as attachments, y as authorizations, z as avalara_accounts, A as axerve_gateways, B as axerve_payments, E as bing_geocoders, F as braintree_gateways, G as braintree_payments, H as bundles, I as buy_x_pay_y_promotions, J as captures, K as carrier_accounts, M as checkout_com_gateways, N as checkout_com_payments, O as cleanups, P as coupon_codes_promotion_rules, Q as coupon_recipients, S as coupons, W as custom_promotion_rules, X as customer_addresses, Y as customer_groups, Z as customer_password_resets, _ as customer_payment_sources, $ as customer_subscriptions, a0 as customers, a1 as delivery_lead_times, a2 as discount_engine_items, a3 as discount_engines, a4 as easypost_pickups, a5 as event_callbacks, a6 as events, a7 as exports, a8 as external_gateways, a9 as external_payments, aa as external_promotions, ab as external_tax_calculators, ac as fixed_amount_promotions, ad as fixed_price_promotions, ae as flex_promotions, af as free_gift_promotions, ag as free_shipping_promotions, bC as generateQueryStringParams, bE as generateSearchString, ah as geocoders, ai as gift_card_recipients, aj as gift_cards, ak as google_geocoders, al as imports, am as in_stock_subscriptions, an as inventory_models, ao as inventory_return_locations, ap as inventory_stock_locations, bD as isParamsList, aq as klarna_gateways, ar as klarna_payments, as as line_item_options, at as line_items, au as links, av as manual_gateways, aw as manual_tax_calculators, ax as markets, ay as merchants, az as notifications, aA as order_amount_promotion_rules, aB as order_copies, aC as order_factories, aD as order_subscription_items, aE as order_subscriptions, aF as orders, aG as organization, aH as packages, aI as parcel_line_items, aJ as parcels, aK as payment_gateways, aL as payment_methods, aM as payment_options, aN as paypal_gateways, aO as paypal_payments, aP as percentage_discount_promotions, aQ as pickups, aR as price_frequency_tiers, aS as price_list_schedulers, aT as price_lists, aU as price_tiers, aV as price_volume_tiers, aW as prices, aX as promotion_rules, aY as promotions, aZ as recurring_order_copies, a_ as refunds, a$ as reserved_stocks, r as resourceList, b0 as resource_errors, b1 as return_line_items, b2 as returns, b3 as satispay_gateways, b4 as satispay_payments, b5 as shipments, b6 as shipping_categories, b7 as shipping_method_tiers, b8 as shipping_methods, b9 as shipping_weight_tiers, ba as shipping_zones, s as singletonList, bb as sku_list_items, bc as sku_list_promotion_rules, bd as sku_lists, be as sku_options, bf as skus, bg as stock_items, bh as stock_line_items, bi as stock_locations, bj as stock_reservations, bk as stock_transfers, bl as stores, bm as stripe_gateways, bn as stripe_payments, bo as stripe_tax_accounts, bp as subscription_models, bq as tags, br as talon_one_accounts, bs as tax_calculators, bt as tax_categories, bu as tax_rules, bv as taxjar_accounts, bw as transactions, bx as versions, by as vertex_accounts, bz as voids, bA as webhooks, bB as wire_transfers } from './api-Bq9emZm-.cjs';
2
+ export { bL as Address, bM as AddressCreate, bO as AddressSort, bN as AddressUpdate, bP as Adjustment, bQ as AdjustmentCreate, bS as AdjustmentSort, bR as AdjustmentUpdate, bT as AdyenGateway, bU as AdyenGatewayCreate, bW as AdyenGatewaySort, bV as AdyenGatewayUpdate, bX as AdyenPayment, bY as AdyenPaymentCreate, b_ as AdyenPaymentSort, bZ as AdyenPaymentUpdate, bE as ApiResource, bD as ApiResourceAdapter, bF as ApiSingleton, b$ as Application, c0 as ApplicationSort, c1 as Attachment, c2 as AttachmentCreate, c4 as AttachmentSort, c3 as AttachmentUpdate, c5 as Authorization, c7 as AuthorizationSort, c6 as AuthorizationUpdate, c8 as AvalaraAccount, c9 as AvalaraAccountCreate, cb as AvalaraAccountSort, ca as AvalaraAccountUpdate, cc as AxerveGateway, cd as AxerveGatewayCreate, cf as AxerveGatewaySort, ce as AxerveGatewayUpdate, cg as AxervePayment, ch as AxervePaymentCreate, cj as AxervePaymentSort, ci as AxervePaymentUpdate, ck as BingGeocoder, cl as BingGeocoderCreate, cn as BingGeocoderSort, cm as BingGeocoderUpdate, co as BraintreeGateway, cp as BraintreeGatewayCreate, cr as BraintreeGatewaySort, cq as BraintreeGatewayUpdate, cs as BraintreePayment, ct as BraintreePaymentCreate, cv as BraintreePaymentSort, cu as BraintreePaymentUpdate, cw as Bundle, cx as BundleCreate, cz as BundleSort, cy as BundleUpdate, cA as BuyXPayYPromotion, cB as BuyXPayYPromotionCreate, cD as BuyXPayYPromotionSort, cC as BuyXPayYPromotionUpdate, cE as Capture, cG as CaptureSort, cF as CaptureUpdate, cH as CarrierAccount, cI as CarrierAccountCreate, cK as CarrierAccountSort, cJ as CarrierAccountUpdate, cL as CheckoutComGateway, cM as CheckoutComGatewayCreate, cO as CheckoutComGatewaySort, cN as CheckoutComGatewayUpdate, cP as CheckoutComPayment, cQ as CheckoutComPaymentCreate, cS as CheckoutComPaymentSort, cR as CheckoutComPaymentUpdate, cT as Cleanup, cU as CleanupCreate, cW as CleanupSort, cV as CleanupUpdate, d3 as Coupon, cX as CouponCodesPromotionRule, cY as CouponCodesPromotionRuleCreate, c_ as CouponCodesPromotionRuleSort, cZ as CouponCodesPromotionRuleUpdate, d4 as CouponCreate, c$ as CouponRecipient, d0 as CouponRecipientCreate, d2 as CouponRecipientSort, d1 as CouponRecipientUpdate, d6 as CouponSort, d5 as CouponUpdate, jt as CreatableResource, js as CreatableResourceType, d7 as CustomPromotionRule, d8 as CustomPromotionRuleCreate, da as CustomPromotionRuleSort, d9 as CustomPromotionRuleUpdate, dw as Customer, db as CustomerAddress, dc as CustomerAddressCreate, de as CustomerAddressSort, dd as CustomerAddressUpdate, dx as CustomerCreate, df as CustomerGroup, dg as CustomerGroupCreate, di as CustomerGroupSort, dh as CustomerGroupUpdate, dj as CustomerPasswordReset, dk as CustomerPasswordResetCreate, dm as CustomerPasswordResetSort, dl as CustomerPasswordResetUpdate, dn as CustomerPaymentSource, dp as CustomerPaymentSourceCreate, dr as CustomerPaymentSourceSort, dq as CustomerPaymentSourceUpdate, dz as CustomerSort, ds as CustomerSubscription, dt as CustomerSubscriptionCreate, dv as CustomerSubscriptionSort, du as CustomerSubscriptionUpdate, dy as CustomerUpdate, jx as DeletableResource, jw as DeletableResourceType, dA as DeliveryLeadTime, dB as DeliveryLeadTimeCreate, dD as DeliveryLeadTimeSort, dC as DeliveryLeadTimeUpdate, dG as DiscountEngine, dE as DiscountEngineItem, dF as DiscountEngineItemSort, dH as DiscountEngineSort, dI as EasypostPickup, dJ as EasypostPickupCreate, dL as EasypostPickupSort, dK as EasypostPickupUpdate, dO as Event, dM as EventCallback, dN as EventCallbackSort, dQ as EventSort, dP as EventUpdate, dR as Export, dS as ExportCreate, dU as ExportSort, dT as ExportUpdate, dV as ExternalGateway, dW as ExternalGatewayCreate, dY as ExternalGatewaySort, dX as ExternalGatewayUpdate, dZ as ExternalPayment, d_ as ExternalPaymentCreate, e0 as ExternalPaymentSort, d$ as ExternalPaymentUpdate, e1 as ExternalPromotion, e2 as ExternalPromotionCreate, e4 as ExternalPromotionSort, e3 as ExternalPromotionUpdate, e5 as ExternalTaxCalculator, e6 as ExternalTaxCalculatorCreate, e8 as ExternalTaxCalculatorSort, e7 as ExternalTaxCalculatorUpdate, e9 as FixedAmountPromotion, ea as FixedAmountPromotionCreate, ec as FixedAmountPromotionSort, eb as FixedAmountPromotionUpdate, ed as FixedPricePromotion, ee as FixedPricePromotionCreate, eg as FixedPricePromotionSort, ef as FixedPricePromotionUpdate, eh as FlexPromotion, ei as FlexPromotionCreate, ek as FlexPromotionSort, ej as FlexPromotionUpdate, el as FreeGiftPromotion, em as FreeGiftPromotionCreate, eo as FreeGiftPromotionSort, en as FreeGiftPromotionUpdate, ep as FreeShippingPromotion, eq as FreeShippingPromotionCreate, es as FreeShippingPromotionSort, er as FreeShippingPromotionUpdate, et as Geocoder, eu as GeocoderSort, ez as GiftCard, eA as GiftCardCreate, ev as GiftCardRecipient, ew as GiftCardRecipientCreate, ey as GiftCardRecipientSort, ex as GiftCardRecipientUpdate, eC as GiftCardSort, eB as GiftCardUpdate, eD as GoogleGeocoder, eE as GoogleGeocoderCreate, eG as GoogleGeocoderSort, eF as GoogleGeocoderUpdate, eH as Import, eI as ImportCreate, eK as ImportSort, eJ as ImportUpdate, eL as InStockSubscription, eM as InStockSubscriptionCreate, eO as InStockSubscriptionSort, eN as InStockSubscriptionUpdate, eP as InventoryModel, eQ as InventoryModelCreate, eS as InventoryModelSort, eR as InventoryModelUpdate, eT as InventoryReturnLocation, eU as InventoryReturnLocationCreate, eW as InventoryReturnLocationSort, eV as InventoryReturnLocationUpdate, eX as InventoryStockLocation, eY as InventoryStockLocationCreate, e_ as InventoryStockLocationSort, eZ as InventoryStockLocationUpdate, e$ as KlarnaGateway, f0 as KlarnaGatewayCreate, f2 as KlarnaGatewaySort, f1 as KlarnaGatewayUpdate, f3 as KlarnaPayment, f4 as KlarnaPaymentCreate, f6 as KlarnaPaymentSort, f5 as KlarnaPaymentUpdate, fb as LineItem, fc as LineItemCreate, f7 as LineItemOption, f8 as LineItemOptionCreate, fa as LineItemOptionSort, f9 as LineItemOptionUpdate, fe as LineItemSort, fd as LineItemUpdate, ff as Link, fg as LinkCreate, fi as LinkSort, fh as LinkUpdate, bB as ListMeta, bA as ListResponse, jr as ListableResource, jq as ListableResourceType, fj as ManualGateway, fk as ManualGatewayCreate, fm as ManualGatewaySort, fl as ManualGatewayUpdate, fn as ManualTaxCalculator, fo as ManualTaxCalculatorCreate, fq as ManualTaxCalculatorSort, fp as ManualTaxCalculatorUpdate, fr as Market, fs as MarketCreate, fu as MarketSort, ft as MarketUpdate, fv as Merchant, fw as MerchantCreate, fy as MerchantSort, fx as MerchantUpdate, bu as Metadata, fz as Notification, fA as NotificationCreate, fC as NotificationSort, fB as NotificationUpdate, O as OPEN_API_SCHEMA_VERSION, fV as Order, fD as OrderAmountPromotionRule, fE as OrderAmountPromotionRuleCreate, fG as OrderAmountPromotionRuleSort, fF as OrderAmountPromotionRuleUpdate, fH as OrderCopy, fI as OrderCopyCreate, fK as OrderCopySort, fJ as OrderCopyUpdate, fW as OrderCreate, fL as OrderFactory, fM as OrderFactorySort, fY as OrderSort, fR as OrderSubscription, fS as OrderSubscriptionCreate, fN as OrderSubscriptionItem, fO as OrderSubscriptionItemCreate, fQ as OrderSubscriptionItemSort, fP as OrderSubscriptionItemUpdate, fU as OrderSubscriptionSort, fT as OrderSubscriptionUpdate, fX as OrderUpdate, fZ as Organization, f_ as OrganizationSort, f$ as Package, g0 as PackageCreate, g2 as PackageSort, g1 as PackageUpdate, g7 as Parcel, g8 as ParcelCreate, g3 as ParcelLineItem, g4 as ParcelLineItemCreate, g6 as ParcelLineItemSort, g5 as ParcelLineItemUpdate, ga as ParcelSort, g9 as ParcelUpdate, gb as PaymentGateway, gc as PaymentGatewaySort, gd as PaymentMethod, ge as PaymentMethodCreate, gg as PaymentMethodSort, gf as PaymentMethodUpdate, gh as PaymentOption, gi as PaymentOptionCreate, gk as PaymentOptionSort, gj as PaymentOptionUpdate, gl as PaypalGateway, gm as PaypalGatewayCreate, go as PaypalGatewaySort, gn as PaypalGatewayUpdate, gp as PaypalPayment, gq as PaypalPaymentCreate, gs as PaypalPaymentSort, gr as PaypalPaymentUpdate, gt as PercentageDiscountPromotion, gu as PercentageDiscountPromotionCreate, gw as PercentageDiscountPromotionSort, gv as PercentageDiscountPromotionUpdate, gx as Pickup, gy as PickupSort, gR as Price, gS as PriceCreate, gz as PriceFrequencyTier, gA as PriceFrequencyTierCreate, gC as PriceFrequencyTierSort, gB as PriceFrequencyTierUpdate, gH as PriceList, gI as PriceListCreate, gD as PriceListScheduler, gE as PriceListSchedulerCreate, gG as PriceListSchedulerSort, gF as PriceListSchedulerUpdate, gK as PriceListSort, gJ as PriceListUpdate, gU as PriceSort, gL as PriceTier, gM as PriceTierSort, gT as PriceUpdate, gN as PriceVolumeTier, gO as PriceVolumeTierCreate, gQ as PriceVolumeTierSort, gP as PriceVolumeTierUpdate, gX as Promotion, gV as PromotionRule, gW as PromotionRuleSort, gY as PromotionSort, bi as QueryArrayFields, bm as QueryArraySortable, bk as QueryFields, bp as QueryFilter, bh as QueryInclude, bq as QueryPageNumber, br as QueryPageSize, bt as QueryParams, bs as QueryParamsList, bl as QueryParamsRetrieve, bj as QueryRecordFields, bn as QueryRecordSortable, bo as QuerySort, gZ as RecurringOrderCopy, g_ as RecurringOrderCopyCreate, h0 as RecurringOrderCopySort, g$ as RecurringOrderCopyUpdate, h1 as Refund, h3 as RefundSort, h2 as RefundUpdate, h4 as ReservedStock, h5 as ReservedStockSort, bx as Resource, bI as ResourceAdapter, by as ResourceCreate, h6 as ResourceError, h7 as ResourceErrorSort, jC as ResourceFields, bK as ResourceFilter, bw as ResourceId, bC as ResourceRel, bJ as ResourceSort, jD as ResourceSortFields, bv as ResourceType, jl as ResourceTypeLock, bz as ResourceUpdate, bG as ResourcesConfig, bH as ResourcesInitConfig, jp as RetrievableResource, jo as RetrievableResourceType, hc as Return, hd as ReturnCreate, h8 as ReturnLineItem, h9 as ReturnLineItemCreate, hb as ReturnLineItemSort, ha as ReturnLineItemUpdate, hf as ReturnSort, he as ReturnUpdate, hg as SatispayGateway, hh as SatispayGatewayCreate, hj as SatispayGatewaySort, hi as SatispayGatewayUpdate, hk as SatispayPayment, hl as SatispayPaymentCreate, hn as SatispayPaymentSort, hm as SatispayPaymentUpdate, ho as Shipment, hp as ShipmentCreate, hr as ShipmentSort, hq as ShipmentUpdate, hs as ShippingCategory, ht as ShippingCategoryCreate, hv as ShippingCategorySort, hu as ShippingCategoryUpdate, hy as ShippingMethod, hz as ShippingMethodCreate, hB as ShippingMethodSort, hw as ShippingMethodTier, hx as ShippingMethodTierSort, hA as ShippingMethodUpdate, hC as ShippingWeightTier, hD as ShippingWeightTierCreate, hF as ShippingWeightTierSort, hE as ShippingWeightTierUpdate, hG as ShippingZone, hH as ShippingZoneCreate, hJ as ShippingZoneSort, hI as ShippingZoneUpdate, h_ as Sku, h$ as SkuCreate, hS as SkuList, hT as SkuListCreate, hK as SkuListItem, hL as SkuListItemCreate, hN as SkuListItemSort, hM as SkuListItemUpdate, hO as SkuListPromotionRule, hP as SkuListPromotionRuleCreate, hR as SkuListPromotionRuleSort, hQ as SkuListPromotionRuleUpdate, hV as SkuListSort, hU as SkuListUpdate, hW as SkuOption, hX as SkuOptionCreate, hZ as SkuOptionSort, hY as SkuOptionUpdate, i1 as SkuSort, i0 as SkuUpdate, i2 as StockItem, i3 as StockItemCreate, i5 as StockItemSort, i4 as StockItemUpdate, i6 as StockLineItem, i7 as StockLineItemCreate, i9 as StockLineItemSort, i8 as StockLineItemUpdate, ia as StockLocation, ib as StockLocationCreate, id as StockLocationSort, ic as StockLocationUpdate, ie as StockReservation, ig as StockReservationCreate, ii as StockReservationSort, ih as StockReservationUpdate, ij as StockTransfer, ik as StockTransferCreate, im as StockTransferSort, il as StockTransferUpdate, io as Store, ip as StoreCreate, ir as StoreSort, iq as StoreUpdate, is as StripeGateway, it as StripeGatewayCreate, iv as StripeGatewaySort, iu as StripeGatewayUpdate, iw as StripePayment, ix as StripePaymentCreate, iz as StripePaymentSort, iy as StripePaymentUpdate, iA as StripeTaxAccount, iB as StripeTaxAccountCreate, iD as StripeTaxAccountSort, iC as StripeTaxAccountUpdate, iE as SubscriptionModel, iF as SubscriptionModelCreate, iH as SubscriptionModelSort, iG as SubscriptionModelUpdate, iI as Tag, iJ as TagCreate, iL as TagSort, iK as TagUpdate, jz as TaggableResource, jy as TaggableResourceType, iM as TalonOneAccount, iN as TalonOneAccountCreate, iP as TalonOneAccountSort, iO as TalonOneAccountUpdate, iQ as TaxCalculator, iR as TaxCalculatorSort, iS as TaxCategory, iT as TaxCategoryCreate, iV as TaxCategorySort, iU as TaxCategoryUpdate, iW as TaxRule, iX as TaxRuleCreate, iZ as TaxRuleSort, iY as TaxRuleUpdate, i_ as TaxjarAccount, i$ as TaxjarAccountCreate, j1 as TaxjarAccountSort, j0 as TaxjarAccountUpdate, j2 as Transaction, j3 as TransactionSort, jv as UpdatableResource, ju as UpdatableResourceType, j4 as Version, j5 as VersionSort, jB as VersionableResource, jA as VersionableResourceType, j6 as VertexAccount, j7 as VertexAccountCreate, j9 as VertexAccountSort, j8 as VertexAccountUpdate, ja as Void, jc as VoidSort, jb as VoidUpdate, jd as Webhook, je as WebhookCreate, jg as WebhookSort, jf as WebhookUpdate, jh as WireTransfer, ji as WireTransferCreate, jk as WireTransferSort, jj as WireTransferUpdate, i as addresses, a as adjustments, b as adyen_gateways, c as adyen_payments, d as application, e as attachments, f as authorizations, g as avalara_accounts, h as axerve_gateways, j as axerve_payments, k as bing_geocoders, l as braintree_gateways, m as braintree_payments, n as bundles, o as buy_x_pay_y_promotions, p as captures, q as carrier_accounts, r as checkout_com_gateways, s as checkout_com_payments, t as cleanups, u as coupon_codes_promotion_rules, v as coupon_recipients, w as coupons, x as custom_promotion_rules, y as customer_addresses, z as customer_groups, A as customer_password_resets, B as customer_payment_sources, C as customer_subscriptions, D as customers, E as delivery_lead_times, F as discount_engine_items, G as discount_engines, H as easypost_pickups, I as event_callbacks, J as events, K as exports, L as external_gateways, M as external_payments, N as external_promotions, P as external_tax_calculators, Q as fixed_amount_promotions, R as fixed_price_promotions, S as flex_promotions, T as free_gift_promotions, U as free_shipping_promotions, be as generateQueryStringParams, bg as generateSearchString, V as geocoders, W as gift_card_recipients, X as gift_cards, Y as google_geocoders, Z as imports, _ as in_stock_subscriptions, $ as inventory_models, a0 as inventory_return_locations, a1 as inventory_stock_locations, bf as isParamsList, a2 as klarna_gateways, a3 as klarna_payments, a4 as line_item_options, a5 as line_items, a6 as links, a7 as manual_gateways, a8 as manual_tax_calculators, a9 as markets, aa as merchants, ab as notifications, ac as order_amount_promotion_rules, ad as order_copies, ae as order_factories, af as order_subscription_items, ag as order_subscriptions, ah as orders, ai as organization, aj as packages, ak as parcel_line_items, al as parcels, am as payment_gateways, an as payment_methods, ao as payment_options, ap as paypal_gateways, aq as paypal_payments, ar as percentage_discount_promotions, as as pickups, at as price_frequency_tiers, au as price_list_schedulers, av as price_lists, aw as price_tiers, ax as price_volume_tiers, ay as prices, az as promotion_rules, aA as promotions, aB as recurring_order_copies, aC as refunds, aD as reserved_stocks, jm as resourceList, aE as resource_errors, aF as return_line_items, aG as returns, aH as satispay_gateways, aI as satispay_payments, aJ as shipments, aK as shipping_categories, aL as shipping_method_tiers, aM as shipping_methods, aN as shipping_weight_tiers, aO as shipping_zones, jn as singletonList, aP as sku_list_items, aQ as sku_list_promotion_rules, aR as sku_lists, aS as sku_options, aT as skus, aU as stock_items, aV as stock_line_items, aW as stock_locations, aX as stock_reservations, aY as stock_transfers, aZ as stores, a_ as stripe_gateways, a$ as stripe_payments, b0 as stripe_tax_accounts, b1 as subscription_models, b2 as tags, b3 as talon_one_accounts, b4 as tax_calculators, b5 as tax_categories, b6 as tax_rules, b7 as taxjar_accounts, b8 as transactions, b9 as versions, ba as vertex_accounts, bb as voids, bc as webhooks, bd as wire_transfers } from './adapter-DF63Dunh.cjs';
3
3
  export { CommerceLayerStatic } from './static.cjs';
4
- export { g as ErrorObj, H as HeadersObj, e as RequestObj, f as ResponseObj } from './interceptor-D65i25Y7.cjs';
4
+ export { E as ErrorObj, H as HeadersObj, R as RequestObj, a as ResponseObj } from './interceptor-5MISI1yn.cjs';
5
5
  export { ApiError, ErrorType, SdkError } from './error.cjs';
6
6
  import './client.cjs';
7
7
  import './types.cjs';
package/lib/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { default as CommerceLayer, CommerceLayerClient, CommerceLayerConfig, CommerceLayerInitConfig, default } from './commercelayer.js';
2
- export { c1 as Address, c2 as AddressCreate, c4 as AddressSort, c3 as AddressUpdate, c5 as Adjustment, c6 as AdjustmentCreate, c8 as AdjustmentSort, c7 as AdjustmentUpdate, c9 as AdyenGateway, ca as AdyenGatewayCreate, cc as AdyenGatewaySort, cb as AdyenGatewayUpdate, cd as AdyenPayment, ce as AdyenPaymentCreate, cg as AdyenPaymentSort, cf as AdyenPaymentUpdate, bW as ApiResource, c0 as ApiResourceAdapter, bX as ApiSingleton, ch as Application, ci as ApplicationSort, cj as Attachment, ck as AttachmentCreate, cm as AttachmentSort, cl as AttachmentUpdate, cn as Authorization, cp as AuthorizationSort, co as AuthorizationUpdate, cq as AvalaraAccount, cr as AvalaraAccountCreate, ct as AvalaraAccountSort, cs as AvalaraAccountUpdate, cu as AxerveGateway, cv as AxerveGatewayCreate, cx as AxerveGatewaySort, cw as AxerveGatewayUpdate, cy as AxervePayment, cz as AxervePaymentCreate, cB as AxervePaymentSort, cA as AxervePaymentUpdate, cC as BingGeocoder, cD as BingGeocoderCreate, cF as BingGeocoderSort, cE as BingGeocoderUpdate, cG as BraintreeGateway, cH as BraintreeGatewayCreate, cJ as BraintreeGatewaySort, cI as BraintreeGatewayUpdate, cK as BraintreePayment, cL as BraintreePaymentCreate, cN as BraintreePaymentSort, cM as BraintreePaymentUpdate, cO as Bundle, cP as BundleCreate, cR as BundleSort, cQ as BundleUpdate, cS as BuyXPayYPromotion, cT as BuyXPayYPromotionCreate, cV as BuyXPayYPromotionSort, cU as BuyXPayYPromotionUpdate, cW as Capture, cY as CaptureSort, cX as CaptureUpdate, cZ as CarrierAccount, c_ as CarrierAccountCreate, d0 as CarrierAccountSort, c$ as CarrierAccountUpdate, d1 as CheckoutComGateway, d2 as CheckoutComGatewayCreate, d4 as CheckoutComGatewaySort, d3 as CheckoutComGatewayUpdate, d5 as CheckoutComPayment, d6 as CheckoutComPaymentCreate, d8 as CheckoutComPaymentSort, d7 as CheckoutComPaymentUpdate, d9 as Cleanup, da as CleanupCreate, dc as CleanupSort, db as CleanupUpdate, dl as Coupon, dd as CouponCodesPromotionRule, de as CouponCodesPromotionRuleCreate, dg as CouponCodesPromotionRuleSort, df as CouponCodesPromotionRuleUpdate, dm as CouponCreate, dh as CouponRecipient, di as CouponRecipientCreate, dk as CouponRecipientSort, dj as CouponRecipientUpdate, dp as CouponSort, dn as CouponUpdate, j as CreatableResource, C as CreatableResourceType, dq as CustomPromotionRule, dr as CustomPromotionRuleCreate, dt as CustomPromotionRuleSort, ds as CustomPromotionRuleUpdate, dO as Customer, du as CustomerAddress, dv as CustomerAddressCreate, dx as CustomerAddressSort, dw as CustomerAddressUpdate, dP as CustomerCreate, dy as CustomerGroup, dz as CustomerGroupCreate, dB as CustomerGroupSort, dA as CustomerGroupUpdate, dC as CustomerPasswordReset, dD as CustomerPasswordResetCreate, dF as CustomerPasswordResetSort, dE as CustomerPasswordResetUpdate, dG as CustomerPaymentSource, dH as CustomerPaymentSourceCreate, dJ as CustomerPaymentSourceSort, dI as CustomerPaymentSourceUpdate, dR as CustomerSort, dK as CustomerSubscription, dL as CustomerSubscriptionCreate, dN as CustomerSubscriptionSort, dM as CustomerSubscriptionUpdate, dQ as CustomerUpdate, l as DeletableResource, D as DeletableResourceType, dS as DeliveryLeadTime, dT as DeliveryLeadTimeCreate, dV as DeliveryLeadTimeSort, dU as DeliveryLeadTimeUpdate, dY as DiscountEngine, dW as DiscountEngineItem, dX as DiscountEngineItemSort, dZ as DiscountEngineSort, d_ as EasypostPickup, d$ as EasypostPickupCreate, e1 as EasypostPickupSort, e0 as EasypostPickupUpdate, e4 as Event, e2 as EventCallback, e3 as EventCallbackSort, e6 as EventSort, e5 as EventUpdate, e7 as Export, e8 as ExportCreate, ea as ExportSort, e9 as ExportUpdate, eb as ExternalGateway, ec as ExternalGatewayCreate, ee as ExternalGatewaySort, ed as ExternalGatewayUpdate, ef as ExternalPayment, eg as ExternalPaymentCreate, ei as ExternalPaymentSort, eh as ExternalPaymentUpdate, ej as ExternalPromotion, ek as ExternalPromotionCreate, em as ExternalPromotionSort, el as ExternalPromotionUpdate, en as ExternalTaxCalculator, eo as ExternalTaxCalculatorCreate, eq as ExternalTaxCalculatorSort, ep as ExternalTaxCalculatorUpdate, er as FixedAmountPromotion, es as FixedAmountPromotionCreate, eu as FixedAmountPromotionSort, et as FixedAmountPromotionUpdate, ev as FixedPricePromotion, ew as FixedPricePromotionCreate, ey as FixedPricePromotionSort, ex as FixedPricePromotionUpdate, ez as FlexPromotion, eA as FlexPromotionCreate, eC as FlexPromotionSort, eB as FlexPromotionUpdate, eD as FreeGiftPromotion, eE as FreeGiftPromotionCreate, eG as FreeGiftPromotionSort, eF as FreeGiftPromotionUpdate, eH as FreeShippingPromotion, eI as FreeShippingPromotionCreate, eK as FreeShippingPromotionSort, eJ as FreeShippingPromotionUpdate, eL as Geocoder, eM as GeocoderSort, eR as GiftCard, eS as GiftCardCreate, eN as GiftCardRecipient, eO as GiftCardRecipientCreate, eQ as GiftCardRecipientSort, eP as GiftCardRecipientUpdate, eU as GiftCardSort, eT as GiftCardUpdate, eV as GoogleGeocoder, eW as GoogleGeocoderCreate, eY as GoogleGeocoderSort, eX as GoogleGeocoderUpdate, eZ as Import, e_ as ImportCreate, f0 as ImportSort, e$ as ImportUpdate, f1 as InStockSubscription, f2 as InStockSubscriptionCreate, f4 as InStockSubscriptionSort, f3 as InStockSubscriptionUpdate, f5 as InventoryModel, f6 as InventoryModelCreate, f8 as InventoryModelSort, f7 as InventoryModelUpdate, f9 as InventoryReturnLocation, fa as InventoryReturnLocationCreate, fc as InventoryReturnLocationSort, fb as InventoryReturnLocationUpdate, fd as InventoryStockLocation, fe as InventoryStockLocationCreate, fg as InventoryStockLocationSort, ff as InventoryStockLocationUpdate, fh as KlarnaGateway, fi as KlarnaGatewayCreate, fk as KlarnaGatewaySort, fj as KlarnaGatewayUpdate, fl as KlarnaPayment, fm as KlarnaPaymentCreate, fo as KlarnaPaymentSort, fn as KlarnaPaymentUpdate, ft as LineItem, fu as LineItemCreate, fp as LineItemOption, fq as LineItemOptionCreate, fs as LineItemOptionSort, fr as LineItemOptionUpdate, fw as LineItemSort, fv as LineItemUpdate, fx as Link, fy as LinkCreate, fA as LinkSort, fz as LinkUpdate, bU as ListMeta, bT as ListResponse, i as ListableResource, L as ListableResourceType, fB as ManualGateway, fC as ManualGatewayCreate, fE as ManualGatewaySort, fD as ManualGatewayUpdate, fF as ManualTaxCalculator, fG as ManualTaxCalculatorCreate, fI as ManualTaxCalculatorSort, fH as ManualTaxCalculatorUpdate, fJ as Market, fK as MarketCreate, fM as MarketSort, fL as MarketUpdate, fN as Merchant, fO as MerchantCreate, fQ as MerchantSort, fP as MerchantUpdate, bS as Metadata, fR as Notification, fS as NotificationCreate, fU as NotificationSort, fT as NotificationUpdate, gb as Order, fV as OrderAmountPromotionRule, fW as OrderAmountPromotionRuleCreate, fY as OrderAmountPromotionRuleSort, fX as OrderAmountPromotionRuleUpdate, fZ as OrderCopy, f_ as OrderCopyCreate, g0 as OrderCopySort, f$ as OrderCopyUpdate, gc as OrderCreate, g1 as OrderFactory, g2 as OrderFactorySort, ge as OrderSort, g7 as OrderSubscription, g8 as OrderSubscriptionCreate, g3 as OrderSubscriptionItem, g4 as OrderSubscriptionItemCreate, g6 as OrderSubscriptionItemSort, g5 as OrderSubscriptionItemUpdate, ga as OrderSubscriptionSort, g9 as OrderSubscriptionUpdate, gd as OrderUpdate, gf as Organization, gg as OrganizationSort, gh as Package, gi as PackageCreate, gk as PackageSort, gj as PackageUpdate, gp as Parcel, gq as ParcelCreate, gl as ParcelLineItem, gm as ParcelLineItemCreate, go as ParcelLineItemSort, gn as ParcelLineItemUpdate, gs as ParcelSort, gr as ParcelUpdate, gt as PaymentGateway, gu as PaymentGatewaySort, gv as PaymentMethod, gw as PaymentMethodCreate, gy as PaymentMethodSort, gx as PaymentMethodUpdate, gz as PaymentOption, gA as PaymentOptionCreate, gC as PaymentOptionSort, gB as PaymentOptionUpdate, gD as PaypalGateway, gE as PaypalGatewayCreate, gG as PaypalGatewaySort, gF as PaypalGatewayUpdate, gH as PaypalPayment, gI as PaypalPaymentCreate, gK as PaypalPaymentSort, gJ as PaypalPaymentUpdate, gL as PercentageDiscountPromotion, gM as PercentageDiscountPromotionCreate, gO as PercentageDiscountPromotionSort, gN as PercentageDiscountPromotionUpdate, gP as Pickup, gQ as PickupSort, h7 as Price, h8 as PriceCreate, gR as PriceFrequencyTier, gS as PriceFrequencyTierCreate, gU as PriceFrequencyTierSort, gT as PriceFrequencyTierUpdate, gZ as PriceList, g_ as PriceListCreate, gV as PriceListScheduler, gW as PriceListSchedulerCreate, gY as PriceListSchedulerSort, gX as PriceListSchedulerUpdate, h0 as PriceListSort, g$ as PriceListUpdate, ha as PriceSort, h1 as PriceTier, h2 as PriceTierSort, h9 as PriceUpdate, h3 as PriceVolumeTier, h4 as PriceVolumeTierCreate, h6 as PriceVolumeTierSort, h5 as PriceVolumeTierUpdate, hd as Promotion, hb as PromotionRule, hc as PromotionRuleSort, he as PromotionSort, bG as QueryArrayFields, bK as QueryArraySortable, bI as QueryFields, bN as QueryFilter, bF as QueryInclude, bO as QueryPageNumber, bP as QueryPageSize, bR as QueryParams, bQ as QueryParamsList, bJ as QueryParamsRetrieve, bH as QueryRecordFields, bL as QueryRecordSortable, bM as QuerySort, hf as RecurringOrderCopy, hg as RecurringOrderCopyCreate, hi as RecurringOrderCopySort, hh as RecurringOrderCopyUpdate, hj as Refund, hl as RefundSort, hk as RefundUpdate, hm as ReservedStock, hn as ReservedStockSort, b as Resource, bZ as ResourceAdapter, c as ResourceCreate, ho as ResourceError, hp as ResourceErrorSort, o as ResourceFields, b$ as ResourceFilter, R as ResourceId, bV as ResourceRel, b_ as ResourceSort, p as ResourceSortFields, a as ResourceType, f as ResourceTypeLock, d as ResourceUpdate, bY as ResourcesConfig, e as ResourcesInitConfig, h as RetrievableResource, g as RetrievableResourceType, hu as Return, hv as ReturnCreate, hq as ReturnLineItem, hr as ReturnLineItemCreate, ht as ReturnLineItemSort, hs as ReturnLineItemUpdate, hx as ReturnSort, hw as ReturnUpdate, hy as SatispayGateway, hz as SatispayGatewayCreate, hB as SatispayGatewaySort, hA as SatispayGatewayUpdate, hC as SatispayPayment, hD as SatispayPaymentCreate, hF as SatispayPaymentSort, hE as SatispayPaymentUpdate, hG as Shipment, hH as ShipmentCreate, hJ as ShipmentSort, hI as ShipmentUpdate, hK as ShippingCategory, hL as ShippingCategoryCreate, hN as ShippingCategorySort, hM as ShippingCategoryUpdate, hQ as ShippingMethod, hR as ShippingMethodCreate, hT as ShippingMethodSort, hO as ShippingMethodTier, hP as ShippingMethodTierSort, hS as ShippingMethodUpdate, hU as ShippingWeightTier, hV as ShippingWeightTierCreate, hX as ShippingWeightTierSort, hW as ShippingWeightTierUpdate, hY as ShippingZone, hZ as ShippingZoneCreate, h$ as ShippingZoneSort, h_ as ShippingZoneUpdate, ih as Sku, ii as SkuCreate, i8 as SkuList, i9 as SkuListCreate, i0 as SkuListItem, i1 as SkuListItemCreate, i3 as SkuListItemSort, i2 as SkuListItemUpdate, i4 as SkuListPromotionRule, i5 as SkuListPromotionRuleCreate, i7 as SkuListPromotionRuleSort, i6 as SkuListPromotionRuleUpdate, ib as SkuListSort, ia as SkuListUpdate, ic as SkuOption, id as SkuOptionCreate, ig as SkuOptionSort, ie as SkuOptionUpdate, ik as SkuSort, ij as SkuUpdate, il as StockItem, im as StockItemCreate, ip as StockItemSort, io as StockItemUpdate, iq as StockLineItem, ir as StockLineItemCreate, it as StockLineItemSort, is as StockLineItemUpdate, iu as StockLocation, iv as StockLocationCreate, ix as StockLocationSort, iw as StockLocationUpdate, iy as StockReservation, iz as StockReservationCreate, iB as StockReservationSort, iA as StockReservationUpdate, iC as StockTransfer, iD as StockTransferCreate, iF as StockTransferSort, iE as StockTransferUpdate, iG as Store, iH as StoreCreate, iJ as StoreSort, iI as StoreUpdate, iK as StripeGateway, iL as StripeGatewayCreate, iN as StripeGatewaySort, iM as StripeGatewayUpdate, iO as StripePayment, iP as StripePaymentCreate, iR as StripePaymentSort, iQ as StripePaymentUpdate, iS as StripeTaxAccount, iT as StripeTaxAccountCreate, iV as StripeTaxAccountSort, iU as StripeTaxAccountUpdate, iW as SubscriptionModel, iX as SubscriptionModelCreate, iZ as SubscriptionModelSort, iY as SubscriptionModelUpdate, i_ as Tag, i$ as TagCreate, j1 as TagSort, j0 as TagUpdate, m as TaggableResource, T as TaggableResourceType, j2 as TalonOneAccount, j3 as TalonOneAccountCreate, j5 as TalonOneAccountSort, j4 as TalonOneAccountUpdate, j6 as TaxCalculator, j7 as TaxCalculatorSort, j8 as TaxCategory, j9 as TaxCategoryCreate, jb as TaxCategorySort, ja as TaxCategoryUpdate, jc as TaxRule, jd as TaxRuleCreate, jf as TaxRuleSort, je as TaxRuleUpdate, jg as TaxjarAccount, jh as TaxjarAccountCreate, jj as TaxjarAccountSort, ji as TaxjarAccountUpdate, jk as Transaction, jl as TransactionSort, k as UpdatableResource, U as UpdatableResourceType, jm as Version, jn as VersionSort, n as VersionableResource, V as VersionableResourceType, jo as VertexAccount, jp as VertexAccountCreate, jr as VertexAccountSort, jq as VertexAccountUpdate, js as Void, ju as VoidSort, jt as VoidUpdate, jv as Webhook, jw as WebhookCreate, jy as WebhookSort, jx as WebhookUpdate, jz as WireTransfer, jA as WireTransferCreate, jC as WireTransferSort, jB as WireTransferUpdate, q as addresses, t as adjustments, u as adyen_gateways, v as adyen_payments, w as application, x as attachments, y as authorizations, z as avalara_accounts, A as axerve_gateways, B as axerve_payments, E as bing_geocoders, F as braintree_gateways, G as braintree_payments, H as bundles, I as buy_x_pay_y_promotions, J as captures, K as carrier_accounts, M as checkout_com_gateways, N as checkout_com_payments, O as cleanups, P as coupon_codes_promotion_rules, Q as coupon_recipients, S as coupons, W as custom_promotion_rules, X as customer_addresses, Y as customer_groups, Z as customer_password_resets, _ as customer_payment_sources, $ as customer_subscriptions, a0 as customers, a1 as delivery_lead_times, a2 as discount_engine_items, a3 as discount_engines, a4 as easypost_pickups, a5 as event_callbacks, a6 as events, a7 as exports, a8 as external_gateways, a9 as external_payments, aa as external_promotions, ab as external_tax_calculators, ac as fixed_amount_promotions, ad as fixed_price_promotions, ae as flex_promotions, af as free_gift_promotions, ag as free_shipping_promotions, bC as generateQueryStringParams, bE as generateSearchString, ah as geocoders, ai as gift_card_recipients, aj as gift_cards, ak as google_geocoders, al as imports, am as in_stock_subscriptions, an as inventory_models, ao as inventory_return_locations, ap as inventory_stock_locations, bD as isParamsList, aq as klarna_gateways, ar as klarna_payments, as as line_item_options, at as line_items, au as links, av as manual_gateways, aw as manual_tax_calculators, ax as markets, ay as merchants, az as notifications, aA as order_amount_promotion_rules, aB as order_copies, aC as order_factories, aD as order_subscription_items, aE as order_subscriptions, aF as orders, aG as organization, aH as packages, aI as parcel_line_items, aJ as parcels, aK as payment_gateways, aL as payment_methods, aM as payment_options, aN as paypal_gateways, aO as paypal_payments, aP as percentage_discount_promotions, aQ as pickups, aR as price_frequency_tiers, aS as price_list_schedulers, aT as price_lists, aU as price_tiers, aV as price_volume_tiers, aW as prices, aX as promotion_rules, aY as promotions, aZ as recurring_order_copies, a_ as refunds, a$ as reserved_stocks, r as resourceList, b0 as resource_errors, b1 as return_line_items, b2 as returns, b3 as satispay_gateways, b4 as satispay_payments, b5 as shipments, b6 as shipping_categories, b7 as shipping_method_tiers, b8 as shipping_methods, b9 as shipping_weight_tiers, ba as shipping_zones, s as singletonList, bb as sku_list_items, bc as sku_list_promotion_rules, bd as sku_lists, be as sku_options, bf as skus, bg as stock_items, bh as stock_line_items, bi as stock_locations, bj as stock_reservations, bk as stock_transfers, bl as stores, bm as stripe_gateways, bn as stripe_payments, bo as stripe_tax_accounts, bp as subscription_models, bq as tags, br as talon_one_accounts, bs as tax_calculators, bt as tax_categories, bu as tax_rules, bv as taxjar_accounts, bw as transactions, bx as versions, by as vertex_accounts, bz as voids, bA as webhooks, bB as wire_transfers } from './api-C5qyxFpD.js';
2
+ export { bL as Address, bM as AddressCreate, bO as AddressSort, bN as AddressUpdate, bP as Adjustment, bQ as AdjustmentCreate, bS as AdjustmentSort, bR as AdjustmentUpdate, bT as AdyenGateway, bU as AdyenGatewayCreate, bW as AdyenGatewaySort, bV as AdyenGatewayUpdate, bX as AdyenPayment, bY as AdyenPaymentCreate, b_ as AdyenPaymentSort, bZ as AdyenPaymentUpdate, bE as ApiResource, bD as ApiResourceAdapter, bF as ApiSingleton, b$ as Application, c0 as ApplicationSort, c1 as Attachment, c2 as AttachmentCreate, c4 as AttachmentSort, c3 as AttachmentUpdate, c5 as Authorization, c7 as AuthorizationSort, c6 as AuthorizationUpdate, c8 as AvalaraAccount, c9 as AvalaraAccountCreate, cb as AvalaraAccountSort, ca as AvalaraAccountUpdate, cc as AxerveGateway, cd as AxerveGatewayCreate, cf as AxerveGatewaySort, ce as AxerveGatewayUpdate, cg as AxervePayment, ch as AxervePaymentCreate, cj as AxervePaymentSort, ci as AxervePaymentUpdate, ck as BingGeocoder, cl as BingGeocoderCreate, cn as BingGeocoderSort, cm as BingGeocoderUpdate, co as BraintreeGateway, cp as BraintreeGatewayCreate, cr as BraintreeGatewaySort, cq as BraintreeGatewayUpdate, cs as BraintreePayment, ct as BraintreePaymentCreate, cv as BraintreePaymentSort, cu as BraintreePaymentUpdate, cw as Bundle, cx as BundleCreate, cz as BundleSort, cy as BundleUpdate, cA as BuyXPayYPromotion, cB as BuyXPayYPromotionCreate, cD as BuyXPayYPromotionSort, cC as BuyXPayYPromotionUpdate, cE as Capture, cG as CaptureSort, cF as CaptureUpdate, cH as CarrierAccount, cI as CarrierAccountCreate, cK as CarrierAccountSort, cJ as CarrierAccountUpdate, cL as CheckoutComGateway, cM as CheckoutComGatewayCreate, cO as CheckoutComGatewaySort, cN as CheckoutComGatewayUpdate, cP as CheckoutComPayment, cQ as CheckoutComPaymentCreate, cS as CheckoutComPaymentSort, cR as CheckoutComPaymentUpdate, cT as Cleanup, cU as CleanupCreate, cW as CleanupSort, cV as CleanupUpdate, d3 as Coupon, cX as CouponCodesPromotionRule, cY as CouponCodesPromotionRuleCreate, c_ as CouponCodesPromotionRuleSort, cZ as CouponCodesPromotionRuleUpdate, d4 as CouponCreate, c$ as CouponRecipient, d0 as CouponRecipientCreate, d2 as CouponRecipientSort, d1 as CouponRecipientUpdate, d6 as CouponSort, d5 as CouponUpdate, jt as CreatableResource, js as CreatableResourceType, d7 as CustomPromotionRule, d8 as CustomPromotionRuleCreate, da as CustomPromotionRuleSort, d9 as CustomPromotionRuleUpdate, dw as Customer, db as CustomerAddress, dc as CustomerAddressCreate, de as CustomerAddressSort, dd as CustomerAddressUpdate, dx as CustomerCreate, df as CustomerGroup, dg as CustomerGroupCreate, di as CustomerGroupSort, dh as CustomerGroupUpdate, dj as CustomerPasswordReset, dk as CustomerPasswordResetCreate, dm as CustomerPasswordResetSort, dl as CustomerPasswordResetUpdate, dn as CustomerPaymentSource, dp as CustomerPaymentSourceCreate, dr as CustomerPaymentSourceSort, dq as CustomerPaymentSourceUpdate, dz as CustomerSort, ds as CustomerSubscription, dt as CustomerSubscriptionCreate, dv as CustomerSubscriptionSort, du as CustomerSubscriptionUpdate, dy as CustomerUpdate, jx as DeletableResource, jw as DeletableResourceType, dA as DeliveryLeadTime, dB as DeliveryLeadTimeCreate, dD as DeliveryLeadTimeSort, dC as DeliveryLeadTimeUpdate, dG as DiscountEngine, dE as DiscountEngineItem, dF as DiscountEngineItemSort, dH as DiscountEngineSort, dI as EasypostPickup, dJ as EasypostPickupCreate, dL as EasypostPickupSort, dK as EasypostPickupUpdate, dO as Event, dM as EventCallback, dN as EventCallbackSort, dQ as EventSort, dP as EventUpdate, dR as Export, dS as ExportCreate, dU as ExportSort, dT as ExportUpdate, dV as ExternalGateway, dW as ExternalGatewayCreate, dY as ExternalGatewaySort, dX as ExternalGatewayUpdate, dZ as ExternalPayment, d_ as ExternalPaymentCreate, e0 as ExternalPaymentSort, d$ as ExternalPaymentUpdate, e1 as ExternalPromotion, e2 as ExternalPromotionCreate, e4 as ExternalPromotionSort, e3 as ExternalPromotionUpdate, e5 as ExternalTaxCalculator, e6 as ExternalTaxCalculatorCreate, e8 as ExternalTaxCalculatorSort, e7 as ExternalTaxCalculatorUpdate, e9 as FixedAmountPromotion, ea as FixedAmountPromotionCreate, ec as FixedAmountPromotionSort, eb as FixedAmountPromotionUpdate, ed as FixedPricePromotion, ee as FixedPricePromotionCreate, eg as FixedPricePromotionSort, ef as FixedPricePromotionUpdate, eh as FlexPromotion, ei as FlexPromotionCreate, ek as FlexPromotionSort, ej as FlexPromotionUpdate, el as FreeGiftPromotion, em as FreeGiftPromotionCreate, eo as FreeGiftPromotionSort, en as FreeGiftPromotionUpdate, ep as FreeShippingPromotion, eq as FreeShippingPromotionCreate, es as FreeShippingPromotionSort, er as FreeShippingPromotionUpdate, et as Geocoder, eu as GeocoderSort, ez as GiftCard, eA as GiftCardCreate, ev as GiftCardRecipient, ew as GiftCardRecipientCreate, ey as GiftCardRecipientSort, ex as GiftCardRecipientUpdate, eC as GiftCardSort, eB as GiftCardUpdate, eD as GoogleGeocoder, eE as GoogleGeocoderCreate, eG as GoogleGeocoderSort, eF as GoogleGeocoderUpdate, eH as Import, eI as ImportCreate, eK as ImportSort, eJ as ImportUpdate, eL as InStockSubscription, eM as InStockSubscriptionCreate, eO as InStockSubscriptionSort, eN as InStockSubscriptionUpdate, eP as InventoryModel, eQ as InventoryModelCreate, eS as InventoryModelSort, eR as InventoryModelUpdate, eT as InventoryReturnLocation, eU as InventoryReturnLocationCreate, eW as InventoryReturnLocationSort, eV as InventoryReturnLocationUpdate, eX as InventoryStockLocation, eY as InventoryStockLocationCreate, e_ as InventoryStockLocationSort, eZ as InventoryStockLocationUpdate, e$ as KlarnaGateway, f0 as KlarnaGatewayCreate, f2 as KlarnaGatewaySort, f1 as KlarnaGatewayUpdate, f3 as KlarnaPayment, f4 as KlarnaPaymentCreate, f6 as KlarnaPaymentSort, f5 as KlarnaPaymentUpdate, fb as LineItem, fc as LineItemCreate, f7 as LineItemOption, f8 as LineItemOptionCreate, fa as LineItemOptionSort, f9 as LineItemOptionUpdate, fe as LineItemSort, fd as LineItemUpdate, ff as Link, fg as LinkCreate, fi as LinkSort, fh as LinkUpdate, bB as ListMeta, bA as ListResponse, jr as ListableResource, jq as ListableResourceType, fj as ManualGateway, fk as ManualGatewayCreate, fm as ManualGatewaySort, fl as ManualGatewayUpdate, fn as ManualTaxCalculator, fo as ManualTaxCalculatorCreate, fq as ManualTaxCalculatorSort, fp as ManualTaxCalculatorUpdate, fr as Market, fs as MarketCreate, fu as MarketSort, ft as MarketUpdate, fv as Merchant, fw as MerchantCreate, fy as MerchantSort, fx as MerchantUpdate, bu as Metadata, fz as Notification, fA as NotificationCreate, fC as NotificationSort, fB as NotificationUpdate, O as OPEN_API_SCHEMA_VERSION, fV as Order, fD as OrderAmountPromotionRule, fE as OrderAmountPromotionRuleCreate, fG as OrderAmountPromotionRuleSort, fF as OrderAmountPromotionRuleUpdate, fH as OrderCopy, fI as OrderCopyCreate, fK as OrderCopySort, fJ as OrderCopyUpdate, fW as OrderCreate, fL as OrderFactory, fM as OrderFactorySort, fY as OrderSort, fR as OrderSubscription, fS as OrderSubscriptionCreate, fN as OrderSubscriptionItem, fO as OrderSubscriptionItemCreate, fQ as OrderSubscriptionItemSort, fP as OrderSubscriptionItemUpdate, fU as OrderSubscriptionSort, fT as OrderSubscriptionUpdate, fX as OrderUpdate, fZ as Organization, f_ as OrganizationSort, f$ as Package, g0 as PackageCreate, g2 as PackageSort, g1 as PackageUpdate, g7 as Parcel, g8 as ParcelCreate, g3 as ParcelLineItem, g4 as ParcelLineItemCreate, g6 as ParcelLineItemSort, g5 as ParcelLineItemUpdate, ga as ParcelSort, g9 as ParcelUpdate, gb as PaymentGateway, gc as PaymentGatewaySort, gd as PaymentMethod, ge as PaymentMethodCreate, gg as PaymentMethodSort, gf as PaymentMethodUpdate, gh as PaymentOption, gi as PaymentOptionCreate, gk as PaymentOptionSort, gj as PaymentOptionUpdate, gl as PaypalGateway, gm as PaypalGatewayCreate, go as PaypalGatewaySort, gn as PaypalGatewayUpdate, gp as PaypalPayment, gq as PaypalPaymentCreate, gs as PaypalPaymentSort, gr as PaypalPaymentUpdate, gt as PercentageDiscountPromotion, gu as PercentageDiscountPromotionCreate, gw as PercentageDiscountPromotionSort, gv as PercentageDiscountPromotionUpdate, gx as Pickup, gy as PickupSort, gR as Price, gS as PriceCreate, gz as PriceFrequencyTier, gA as PriceFrequencyTierCreate, gC as PriceFrequencyTierSort, gB as PriceFrequencyTierUpdate, gH as PriceList, gI as PriceListCreate, gD as PriceListScheduler, gE as PriceListSchedulerCreate, gG as PriceListSchedulerSort, gF as PriceListSchedulerUpdate, gK as PriceListSort, gJ as PriceListUpdate, gU as PriceSort, gL as PriceTier, gM as PriceTierSort, gT as PriceUpdate, gN as PriceVolumeTier, gO as PriceVolumeTierCreate, gQ as PriceVolumeTierSort, gP as PriceVolumeTierUpdate, gX as Promotion, gV as PromotionRule, gW as PromotionRuleSort, gY as PromotionSort, bi as QueryArrayFields, bm as QueryArraySortable, bk as QueryFields, bp as QueryFilter, bh as QueryInclude, bq as QueryPageNumber, br as QueryPageSize, bt as QueryParams, bs as QueryParamsList, bl as QueryParamsRetrieve, bj as QueryRecordFields, bn as QueryRecordSortable, bo as QuerySort, gZ as RecurringOrderCopy, g_ as RecurringOrderCopyCreate, h0 as RecurringOrderCopySort, g$ as RecurringOrderCopyUpdate, h1 as Refund, h3 as RefundSort, h2 as RefundUpdate, h4 as ReservedStock, h5 as ReservedStockSort, bx as Resource, bI as ResourceAdapter, by as ResourceCreate, h6 as ResourceError, h7 as ResourceErrorSort, jC as ResourceFields, bK as ResourceFilter, bw as ResourceId, bC as ResourceRel, bJ as ResourceSort, jD as ResourceSortFields, bv as ResourceType, jl as ResourceTypeLock, bz as ResourceUpdate, bG as ResourcesConfig, bH as ResourcesInitConfig, jp as RetrievableResource, jo as RetrievableResourceType, hc as Return, hd as ReturnCreate, h8 as ReturnLineItem, h9 as ReturnLineItemCreate, hb as ReturnLineItemSort, ha as ReturnLineItemUpdate, hf as ReturnSort, he as ReturnUpdate, hg as SatispayGateway, hh as SatispayGatewayCreate, hj as SatispayGatewaySort, hi as SatispayGatewayUpdate, hk as SatispayPayment, hl as SatispayPaymentCreate, hn as SatispayPaymentSort, hm as SatispayPaymentUpdate, ho as Shipment, hp as ShipmentCreate, hr as ShipmentSort, hq as ShipmentUpdate, hs as ShippingCategory, ht as ShippingCategoryCreate, hv as ShippingCategorySort, hu as ShippingCategoryUpdate, hy as ShippingMethod, hz as ShippingMethodCreate, hB as ShippingMethodSort, hw as ShippingMethodTier, hx as ShippingMethodTierSort, hA as ShippingMethodUpdate, hC as ShippingWeightTier, hD as ShippingWeightTierCreate, hF as ShippingWeightTierSort, hE as ShippingWeightTierUpdate, hG as ShippingZone, hH as ShippingZoneCreate, hJ as ShippingZoneSort, hI as ShippingZoneUpdate, h_ as Sku, h$ as SkuCreate, hS as SkuList, hT as SkuListCreate, hK as SkuListItem, hL as SkuListItemCreate, hN as SkuListItemSort, hM as SkuListItemUpdate, hO as SkuListPromotionRule, hP as SkuListPromotionRuleCreate, hR as SkuListPromotionRuleSort, hQ as SkuListPromotionRuleUpdate, hV as SkuListSort, hU as SkuListUpdate, hW as SkuOption, hX as SkuOptionCreate, hZ as SkuOptionSort, hY as SkuOptionUpdate, i1 as SkuSort, i0 as SkuUpdate, i2 as StockItem, i3 as StockItemCreate, i5 as StockItemSort, i4 as StockItemUpdate, i6 as StockLineItem, i7 as StockLineItemCreate, i9 as StockLineItemSort, i8 as StockLineItemUpdate, ia as StockLocation, ib as StockLocationCreate, id as StockLocationSort, ic as StockLocationUpdate, ie as StockReservation, ig as StockReservationCreate, ii as StockReservationSort, ih as StockReservationUpdate, ij as StockTransfer, ik as StockTransferCreate, im as StockTransferSort, il as StockTransferUpdate, io as Store, ip as StoreCreate, ir as StoreSort, iq as StoreUpdate, is as StripeGateway, it as StripeGatewayCreate, iv as StripeGatewaySort, iu as StripeGatewayUpdate, iw as StripePayment, ix as StripePaymentCreate, iz as StripePaymentSort, iy as StripePaymentUpdate, iA as StripeTaxAccount, iB as StripeTaxAccountCreate, iD as StripeTaxAccountSort, iC as StripeTaxAccountUpdate, iE as SubscriptionModel, iF as SubscriptionModelCreate, iH as SubscriptionModelSort, iG as SubscriptionModelUpdate, iI as Tag, iJ as TagCreate, iL as TagSort, iK as TagUpdate, jz as TaggableResource, jy as TaggableResourceType, iM as TalonOneAccount, iN as TalonOneAccountCreate, iP as TalonOneAccountSort, iO as TalonOneAccountUpdate, iQ as TaxCalculator, iR as TaxCalculatorSort, iS as TaxCategory, iT as TaxCategoryCreate, iV as TaxCategorySort, iU as TaxCategoryUpdate, iW as TaxRule, iX as TaxRuleCreate, iZ as TaxRuleSort, iY as TaxRuleUpdate, i_ as TaxjarAccount, i$ as TaxjarAccountCreate, j1 as TaxjarAccountSort, j0 as TaxjarAccountUpdate, j2 as Transaction, j3 as TransactionSort, jv as UpdatableResource, ju as UpdatableResourceType, j4 as Version, j5 as VersionSort, jB as VersionableResource, jA as VersionableResourceType, j6 as VertexAccount, j7 as VertexAccountCreate, j9 as VertexAccountSort, j8 as VertexAccountUpdate, ja as Void, jc as VoidSort, jb as VoidUpdate, jd as Webhook, je as WebhookCreate, jg as WebhookSort, jf as WebhookUpdate, jh as WireTransfer, ji as WireTransferCreate, jk as WireTransferSort, jj as WireTransferUpdate, i as addresses, a as adjustments, b as adyen_gateways, c as adyen_payments, d as application, e as attachments, f as authorizations, g as avalara_accounts, h as axerve_gateways, j as axerve_payments, k as bing_geocoders, l as braintree_gateways, m as braintree_payments, n as bundles, o as buy_x_pay_y_promotions, p as captures, q as carrier_accounts, r as checkout_com_gateways, s as checkout_com_payments, t as cleanups, u as coupon_codes_promotion_rules, v as coupon_recipients, w as coupons, x as custom_promotion_rules, y as customer_addresses, z as customer_groups, A as customer_password_resets, B as customer_payment_sources, C as customer_subscriptions, D as customers, E as delivery_lead_times, F as discount_engine_items, G as discount_engines, H as easypost_pickups, I as event_callbacks, J as events, K as exports, L as external_gateways, M as external_payments, N as external_promotions, P as external_tax_calculators, Q as fixed_amount_promotions, R as fixed_price_promotions, S as flex_promotions, T as free_gift_promotions, U as free_shipping_promotions, be as generateQueryStringParams, bg as generateSearchString, V as geocoders, W as gift_card_recipients, X as gift_cards, Y as google_geocoders, Z as imports, _ as in_stock_subscriptions, $ as inventory_models, a0 as inventory_return_locations, a1 as inventory_stock_locations, bf as isParamsList, a2 as klarna_gateways, a3 as klarna_payments, a4 as line_item_options, a5 as line_items, a6 as links, a7 as manual_gateways, a8 as manual_tax_calculators, a9 as markets, aa as merchants, ab as notifications, ac as order_amount_promotion_rules, ad as order_copies, ae as order_factories, af as order_subscription_items, ag as order_subscriptions, ah as orders, ai as organization, aj as packages, ak as parcel_line_items, al as parcels, am as payment_gateways, an as payment_methods, ao as payment_options, ap as paypal_gateways, aq as paypal_payments, ar as percentage_discount_promotions, as as pickups, at as price_frequency_tiers, au as price_list_schedulers, av as price_lists, aw as price_tiers, ax as price_volume_tiers, ay as prices, az as promotion_rules, aA as promotions, aB as recurring_order_copies, aC as refunds, aD as reserved_stocks, jm as resourceList, aE as resource_errors, aF as return_line_items, aG as returns, aH as satispay_gateways, aI as satispay_payments, aJ as shipments, aK as shipping_categories, aL as shipping_method_tiers, aM as shipping_methods, aN as shipping_weight_tiers, aO as shipping_zones, jn as singletonList, aP as sku_list_items, aQ as sku_list_promotion_rules, aR as sku_lists, aS as sku_options, aT as skus, aU as stock_items, aV as stock_line_items, aW as stock_locations, aX as stock_reservations, aY as stock_transfers, aZ as stores, a_ as stripe_gateways, a$ as stripe_payments, b0 as stripe_tax_accounts, b1 as subscription_models, b2 as tags, b3 as talon_one_accounts, b4 as tax_calculators, b5 as tax_categories, b6 as tax_rules, b7 as taxjar_accounts, b8 as transactions, b9 as versions, ba as vertex_accounts, bb as voids, bc as webhooks, bd as wire_transfers } from './adapter-BPmdwMhh.js';
3
3
  export { CommerceLayerStatic } from './static.js';
4
- export { g as ErrorObj, H as HeadersObj, e as RequestObj, f as ResponseObj } from './interceptor-D65i25Y7.js';
4
+ export { E as ErrorObj, H as HeadersObj, R as RequestObj, a as ResponseObj } from './interceptor-5MISI1yn.js';
5
5
  export { ApiError, ErrorType, SdkError } from './error.js';
6
6
  import './client.js';
7
7
  import './types.js';
package/lib/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import './chunk-AQ5VUG5P.js';
2
2
  export { CommerceLayer, default } from './commercelayer';
3
- export * from './api';
3
+ export { OPEN_API_SCHEMA_VERSION } from './api';
4
+ export * from './adapter';
4
5
  export { CommerceLayerStatic } from './static';
@@ -51,4 +51,4 @@ type RawResponseReader = {
51
51
  ok: boolean;
52
52
  };
53
53
 
54
- export { type ErrorInterceptor as E, type Fetch as F, type HeadersObj as H, type InterceptorType as I, type RequestInterceptor as R, type ResponseInterceptor as a, type RawResponseReader as b, type InterceptorManager as c, type FetchResponse as d, type RequestObj as e, type ResponseObj as f, type ErrorObj as g, type FetchRequestOptions as h, type FetchClientOptions as i, FetchError as j, fetchURL as k };
54
+ export { type ErrorObj as E, type Fetch as F, type HeadersObj as H, type InterceptorType as I, type RequestObj as R, type ResponseObj as a, type RequestInterceptor as b, type ErrorInterceptor as c, type ResponseInterceptor as d, type RawResponseReader as e, type InterceptorManager as f, type FetchResponse as g, type FetchRequestOptions as h, type FetchClientOptions as i, FetchError as j, fetchURL as k };
@@ -51,4 +51,4 @@ type RawResponseReader = {
51
51
  ok: boolean;
52
52
  };
53
53
 
54
- export { type ErrorInterceptor as E, type Fetch as F, type HeadersObj as H, type InterceptorType as I, type RequestInterceptor as R, type ResponseInterceptor as a, type RawResponseReader as b, type InterceptorManager as c, type FetchResponse as d, type RequestObj as e, type ResponseObj as f, type ErrorObj as g, type FetchRequestOptions as h, type FetchClientOptions as i, FetchError as j, fetchURL as k };
54
+ export { type ErrorObj as E, type Fetch as F, type HeadersObj as H, type InterceptorType as I, type RequestObj as R, type ResponseObj as a, type RequestInterceptor as b, type ErrorInterceptor as c, type ResponseInterceptor as d, type RawResponseReader as e, type InterceptorManager as f, type FetchResponse as g, type FetchRequestOptions as h, type FetchClientOptions as i, FetchError as j, fetchURL as k };
@@ -1 +1 @@
1
- export { E as ErrorInterceptor, g as ErrorObj, H as HeadersObj, c as InterceptorManager, I as InterceptorType, b as RawResponseReader, R as RequestInterceptor, e as RequestObj, a as ResponseInterceptor, f as ResponseObj } from './interceptor-D65i25Y7.cjs';
1
+ export { c as ErrorInterceptor, E as ErrorObj, H as HeadersObj, f as InterceptorManager, I as InterceptorType, e as RawResponseReader, b as RequestInterceptor, R as RequestObj, d as ResponseInterceptor, a as ResponseObj } from './interceptor-5MISI1yn.cjs';
@@ -1 +1 @@
1
- export { E as ErrorInterceptor, g as ErrorObj, H as HeadersObj, c as InterceptorManager, I as InterceptorType, b as RawResponseReader, R as RequestInterceptor, e as RequestObj, a as ResponseInterceptor, f as ResponseObj } from './interceptor-D65i25Y7.js';
1
+ export { c as ErrorInterceptor, E as ErrorObj, H as HeadersObj, f as InterceptorManager, I as InterceptorType, e as RawResponseReader, b as RequestInterceptor, R as RequestObj, d as ResponseInterceptor, a as ResponseObj } from './interceptor-5MISI1yn.js';
package/lib/jsonapi.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { DocWithData, ResourceObject } from 'jsonapi-typescript';
2
2
  export { DocWithData } from 'jsonapi-typescript';
3
- import { b as Resource, c as ResourceCreate, a as ResourceType, d as ResourceUpdate, R as ResourceId } from './api-Bq9emZm-.cjs';
3
+ import { bx as Resource, by as ResourceCreate, bv as ResourceType, bz as ResourceUpdate, bw as ResourceId } from './adapter-DF63Dunh.cjs';
4
4
  import './client.cjs';
5
- import './interceptor-D65i25Y7.cjs';
5
+ import './interceptor-5MISI1yn.cjs';
6
6
  import './types.cjs';
7
7
 
8
8
  declare const denormalize: <R extends Resource>(response: DocWithData) => R | R[];
package/lib/jsonapi.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { DocWithData, ResourceObject } from 'jsonapi-typescript';
2
2
  export { DocWithData } from 'jsonapi-typescript';
3
- import { b as Resource, c as ResourceCreate, a as ResourceType, d as ResourceUpdate, R as ResourceId } from './api-C5qyxFpD.js';
3
+ import { bx as Resource, by as ResourceCreate, bv as ResourceType, bz as ResourceUpdate, bw as ResourceId } from './adapter-BPmdwMhh.js';
4
4
  import './client.js';
5
- import './interceptor-D65i25Y7.js';
5
+ import './interceptor-5MISI1yn.js';
6
6
  import './types.js';
7
7
 
8
8
  declare const denormalize: <R extends Resource>(response: DocWithData) => R | R[];