@commercelayer/sdk 8.0.0-beta.4 → 8.0.0-beta.5

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 (343) hide show
  1. package/lib/{api-BDCNfn2Y.d.cts → api-1MadbJ5r.d.cts} +34 -22
  2. package/lib/{api-X5Fgi78h.d.ts → api-Cn4znEVC.d.ts} +34 -22
  3. package/lib/api.cjs +10 -10
  4. package/lib/api.d.cts +1 -1
  5. package/lib/api.d.ts +1 -1
  6. package/lib/api.js +5 -5
  7. package/lib/bundle.cjs +12 -12
  8. package/lib/bundle.d.cts +1 -1
  9. package/lib/bundle.d.ts +1 -1
  10. package/lib/bundle.js +6 -6
  11. package/lib/{chunk-JEOA64GW.cjs → chunk-4OM2Y7BS.cjs} +2 -2
  12. package/lib/chunk-4OM2Y7BS.cjs.map +1 -0
  13. package/lib/{chunk-N5BGBBOP.js → chunk-7LKA7FXN.js} +2 -2
  14. package/lib/chunk-7LKA7FXN.js.map +1 -0
  15. package/lib/{chunk-LOJ7246E.js → chunk-7P36FTRX.js} +2 -2
  16. package/lib/chunk-7P36FTRX.js.map +1 -0
  17. package/lib/{chunk-FB6DA6TM.cjs → chunk-CSCAHLQ3.cjs} +2 -2
  18. package/lib/chunk-CSCAHLQ3.cjs.map +1 -0
  19. package/lib/{chunk-RR3QOFY6.cjs → chunk-FAX5NCHT.cjs} +4 -4
  20. package/lib/{chunk-RR3QOFY6.cjs.map → chunk-FAX5NCHT.cjs.map} +1 -1
  21. package/lib/{chunk-EUPQSGPI.js → chunk-HWCQ4G5Z.js} +3 -3
  22. package/lib/{chunk-EUPQSGPI.js.map → chunk-HWCQ4G5Z.js.map} +1 -1
  23. package/lib/{chunk-ACEZ46QR.js → chunk-I4EPVSJX.js} +3 -3
  24. package/lib/{chunk-ACEZ46QR.js.map → chunk-I4EPVSJX.js.map} +1 -1
  25. package/lib/{chunk-QMBAV3D2.cjs → chunk-I7LHMPOY.cjs} +3 -3
  26. package/lib/{chunk-QMBAV3D2.cjs.map → chunk-I7LHMPOY.cjs.map} +1 -1
  27. package/lib/{chunk-56HCMG32.js → chunk-OLJT7GB7.js} +2 -2
  28. package/lib/chunk-OLJT7GB7.js.map +1 -0
  29. package/lib/{chunk-QCY5BXWM.cjs → chunk-QIN5DNKJ.cjs} +2 -2
  30. package/lib/chunk-QIN5DNKJ.cjs.map +1 -0
  31. package/lib/{chunk-LFNJLWV4.cjs → chunk-VUEZCOXT.cjs} +2 -2
  32. package/lib/chunk-VUEZCOXT.cjs.map +1 -0
  33. package/lib/{chunk-S4UDNFDR.js → chunk-WKIAJGJO.js} +2 -2
  34. package/lib/chunk-WKIAJGJO.js.map +1 -0
  35. package/lib/{chunk-Q5OKMDOT.js → chunk-WMM5EI62.js} +2 -2
  36. package/lib/chunk-WMM5EI62.js.map +1 -0
  37. package/lib/{chunk-536MZPMI.cjs → chunk-YNWHCH2N.cjs} +2 -2
  38. package/lib/chunk-YNWHCH2N.cjs.map +1 -0
  39. package/lib/commercelayer.cjs +5 -5
  40. package/lib/commercelayer.d.cts +3 -3
  41. package/lib/commercelayer.d.ts +3 -3
  42. package/lib/commercelayer.js +1 -1
  43. package/lib/enum.d.cts +1 -1
  44. package/lib/enum.d.ts +1 -1
  45. package/lib/index.cjs +15 -15
  46. package/lib/index.d.cts +1 -1
  47. package/lib/index.d.ts +1 -1
  48. package/lib/index.js +7 -7
  49. package/lib/jsonapi.d.cts +1 -1
  50. package/lib/jsonapi.d.ts +1 -1
  51. package/lib/model.d.cts +1 -1
  52. package/lib/model.d.ts +1 -1
  53. package/lib/query.d.cts +1 -1
  54. package/lib/query.d.ts +1 -1
  55. package/lib/resource.d.cts +1 -1
  56. package/lib/resource.d.ts +1 -1
  57. package/lib/resources/addresses.d.cts +2 -2
  58. package/lib/resources/addresses.d.ts +1 -1
  59. package/lib/resources/adjustments.d.cts +2 -2
  60. package/lib/resources/adjustments.d.ts +1 -1
  61. package/lib/resources/adyen_gateways.d.cts +2 -2
  62. package/lib/resources/adyen_gateways.d.ts +1 -1
  63. package/lib/resources/adyen_payments.d.cts +2 -2
  64. package/lib/resources/adyen_payments.d.ts +1 -1
  65. package/lib/resources/applications.d.cts +2 -2
  66. package/lib/resources/applications.d.ts +1 -1
  67. package/lib/resources/attachments.d.cts +2 -2
  68. package/lib/resources/attachments.d.ts +1 -1
  69. package/lib/resources/authorizations.d.cts +2 -2
  70. package/lib/resources/authorizations.d.ts +1 -1
  71. package/lib/resources/avalara_accounts.d.cts +2 -2
  72. package/lib/resources/avalara_accounts.d.ts +1 -1
  73. package/lib/resources/axerve_gateways.d.cts +2 -2
  74. package/lib/resources/axerve_gateways.d.ts +1 -1
  75. package/lib/resources/axerve_payments.d.cts +2 -2
  76. package/lib/resources/axerve_payments.d.ts +1 -1
  77. package/lib/resources/bing_geocoders.d.cts +2 -2
  78. package/lib/resources/bing_geocoders.d.ts +1 -1
  79. package/lib/resources/braintree_gateways.d.cts +2 -2
  80. package/lib/resources/braintree_gateways.d.ts +1 -1
  81. package/lib/resources/braintree_payments.d.cts +2 -2
  82. package/lib/resources/braintree_payments.d.ts +1 -1
  83. package/lib/resources/bundles.d.cts +2 -2
  84. package/lib/resources/bundles.d.ts +1 -1
  85. package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
  86. package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
  87. package/lib/resources/captures.d.cts +2 -2
  88. package/lib/resources/captures.d.ts +1 -1
  89. package/lib/resources/carrier_accounts.d.cts +2 -2
  90. package/lib/resources/carrier_accounts.d.ts +1 -1
  91. package/lib/resources/checkout_com_gateways.d.cts +2 -2
  92. package/lib/resources/checkout_com_gateways.d.ts +1 -1
  93. package/lib/resources/checkout_com_payments.d.cts +2 -2
  94. package/lib/resources/checkout_com_payments.d.ts +1 -1
  95. package/lib/resources/cleanups.cjs +2 -2
  96. package/lib/resources/cleanups.d.cts +2 -2
  97. package/lib/resources/cleanups.d.ts +1 -1
  98. package/lib/resources/cleanups.js +1 -1
  99. package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
  100. package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
  101. package/lib/resources/coupon_recipients.d.cts +2 -2
  102. package/lib/resources/coupon_recipients.d.ts +1 -1
  103. package/lib/resources/coupons.d.cts +2 -2
  104. package/lib/resources/coupons.d.ts +1 -1
  105. package/lib/resources/custom_promotion_rules.d.cts +2 -2
  106. package/lib/resources/custom_promotion_rules.d.ts +1 -1
  107. package/lib/resources/customer_addresses.d.cts +2 -2
  108. package/lib/resources/customer_addresses.d.ts +1 -1
  109. package/lib/resources/customer_groups.d.cts +2 -2
  110. package/lib/resources/customer_groups.d.ts +1 -1
  111. package/lib/resources/customer_password_resets.d.cts +2 -2
  112. package/lib/resources/customer_password_resets.d.ts +1 -1
  113. package/lib/resources/customer_payment_sources.d.cts +2 -2
  114. package/lib/resources/customer_payment_sources.d.ts +1 -1
  115. package/lib/resources/customer_subscriptions.d.cts +2 -2
  116. package/lib/resources/customer_subscriptions.d.ts +1 -1
  117. package/lib/resources/customers.d.cts +2 -2
  118. package/lib/resources/customers.d.ts +1 -1
  119. package/lib/resources/delivery_lead_times.d.cts +2 -2
  120. package/lib/resources/delivery_lead_times.d.ts +1 -1
  121. package/lib/resources/discount_engine_items.d.cts +2 -2
  122. package/lib/resources/discount_engine_items.d.ts +1 -1
  123. package/lib/resources/discount_engines.d.cts +2 -2
  124. package/lib/resources/discount_engines.d.ts +1 -1
  125. package/lib/resources/easypost_pickups.d.cts +2 -2
  126. package/lib/resources/easypost_pickups.d.ts +1 -1
  127. package/lib/resources/event_callbacks.d.cts +2 -2
  128. package/lib/resources/event_callbacks.d.ts +1 -1
  129. package/lib/resources/event_stores.cjs +2 -2
  130. package/lib/resources/event_stores.d.cts +2 -2
  131. package/lib/resources/event_stores.d.ts +1 -1
  132. package/lib/resources/event_stores.js +1 -1
  133. package/lib/resources/events.d.cts +2 -2
  134. package/lib/resources/events.d.ts +1 -1
  135. package/lib/resources/exports.cjs +2 -2
  136. package/lib/resources/exports.d.cts +2 -2
  137. package/lib/resources/exports.d.ts +1 -1
  138. package/lib/resources/exports.js +1 -1
  139. package/lib/resources/external_gateways.d.cts +2 -2
  140. package/lib/resources/external_gateways.d.ts +1 -1
  141. package/lib/resources/external_payments.d.cts +2 -2
  142. package/lib/resources/external_payments.d.ts +1 -1
  143. package/lib/resources/external_promotions.d.cts +2 -2
  144. package/lib/resources/external_promotions.d.ts +1 -1
  145. package/lib/resources/external_tax_calculators.d.cts +2 -2
  146. package/lib/resources/external_tax_calculators.d.ts +1 -1
  147. package/lib/resources/fixed_amount_promotions.d.cts +2 -2
  148. package/lib/resources/fixed_amount_promotions.d.ts +1 -1
  149. package/lib/resources/fixed_price_promotions.d.cts +2 -2
  150. package/lib/resources/fixed_price_promotions.d.ts +1 -1
  151. package/lib/resources/flex_promotions.d.cts +2 -2
  152. package/lib/resources/flex_promotions.d.ts +1 -1
  153. package/lib/resources/free_gift_promotions.d.cts +2 -2
  154. package/lib/resources/free_gift_promotions.d.ts +1 -1
  155. package/lib/resources/free_shipping_promotions.d.cts +2 -2
  156. package/lib/resources/free_shipping_promotions.d.ts +1 -1
  157. package/lib/resources/geocoders.d.cts +2 -2
  158. package/lib/resources/geocoders.d.ts +1 -1
  159. package/lib/resources/gift_card_recipients.d.cts +2 -2
  160. package/lib/resources/gift_card_recipients.d.ts +1 -1
  161. package/lib/resources/gift_cards.d.cts +2 -2
  162. package/lib/resources/gift_cards.d.ts +1 -1
  163. package/lib/resources/google_geocoders.d.cts +2 -2
  164. package/lib/resources/google_geocoders.d.ts +1 -1
  165. package/lib/resources/imports.cjs +2 -2
  166. package/lib/resources/imports.d.cts +2 -2
  167. package/lib/resources/imports.d.ts +1 -1
  168. package/lib/resources/imports.js +1 -1
  169. package/lib/resources/in_stock_subscriptions.d.cts +2 -2
  170. package/lib/resources/in_stock_subscriptions.d.ts +1 -1
  171. package/lib/resources/inventory_models.d.cts +2 -2
  172. package/lib/resources/inventory_models.d.ts +1 -1
  173. package/lib/resources/inventory_return_locations.d.cts +2 -2
  174. package/lib/resources/inventory_return_locations.d.ts +1 -1
  175. package/lib/resources/inventory_stock_locations.d.cts +2 -2
  176. package/lib/resources/inventory_stock_locations.d.ts +1 -1
  177. package/lib/resources/klarna_gateways.d.cts +2 -2
  178. package/lib/resources/klarna_gateways.d.ts +1 -1
  179. package/lib/resources/klarna_payments.d.cts +2 -2
  180. package/lib/resources/klarna_payments.d.ts +1 -1
  181. package/lib/resources/line_item_options.d.cts +2 -2
  182. package/lib/resources/line_item_options.d.ts +1 -1
  183. package/lib/resources/line_items.d.cts +2 -2
  184. package/lib/resources/line_items.d.ts +1 -1
  185. package/lib/resources/links.d.cts +2 -2
  186. package/lib/resources/links.d.ts +1 -1
  187. package/lib/resources/manual_gateways.d.cts +2 -2
  188. package/lib/resources/manual_gateways.d.ts +1 -1
  189. package/lib/resources/manual_tax_calculators.d.cts +2 -2
  190. package/lib/resources/manual_tax_calculators.d.ts +1 -1
  191. package/lib/resources/markets.d.cts +2 -2
  192. package/lib/resources/markets.d.ts +1 -1
  193. package/lib/resources/merchants.d.cts +2 -2
  194. package/lib/resources/merchants.d.ts +1 -1
  195. package/lib/resources/notifications.d.cts +2 -2
  196. package/lib/resources/notifications.d.ts +1 -1
  197. package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
  198. package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
  199. package/lib/resources/order_copies.d.cts +2 -2
  200. package/lib/resources/order_copies.d.ts +1 -1
  201. package/lib/resources/order_factories.d.cts +2 -2
  202. package/lib/resources/order_factories.d.ts +1 -1
  203. package/lib/resources/order_subscription_items.d.cts +2 -2
  204. package/lib/resources/order_subscription_items.d.ts +1 -1
  205. package/lib/resources/order_subscriptions.d.cts +2 -2
  206. package/lib/resources/order_subscriptions.d.ts +1 -1
  207. package/lib/resources/orders.d.cts +2 -2
  208. package/lib/resources/orders.d.ts +1 -1
  209. package/lib/resources/organizations.cjs +2 -2
  210. package/lib/resources/organizations.d.cts +2 -2
  211. package/lib/resources/organizations.d.ts +1 -1
  212. package/lib/resources/organizations.js +1 -1
  213. package/lib/resources/packages.d.cts +2 -2
  214. package/lib/resources/packages.d.ts +1 -1
  215. package/lib/resources/parcel_line_items.d.cts +2 -2
  216. package/lib/resources/parcel_line_items.d.ts +1 -1
  217. package/lib/resources/parcels.d.cts +2 -2
  218. package/lib/resources/parcels.d.ts +1 -1
  219. package/lib/resources/payment_gateways.d.cts +2 -2
  220. package/lib/resources/payment_gateways.d.ts +1 -1
  221. package/lib/resources/payment_methods.d.cts +2 -2
  222. package/lib/resources/payment_methods.d.ts +1 -1
  223. package/lib/resources/payment_options.d.cts +2 -2
  224. package/lib/resources/payment_options.d.ts +1 -1
  225. package/lib/resources/paypal_gateways.d.cts +2 -2
  226. package/lib/resources/paypal_gateways.d.ts +1 -1
  227. package/lib/resources/paypal_payments.d.cts +2 -2
  228. package/lib/resources/paypal_payments.d.ts +1 -1
  229. package/lib/resources/percentage_discount_promotions.d.cts +2 -2
  230. package/lib/resources/percentage_discount_promotions.d.ts +1 -1
  231. package/lib/resources/pickups.d.cts +2 -2
  232. package/lib/resources/pickups.d.ts +1 -1
  233. package/lib/resources/price_frequency_tiers.d.cts +2 -2
  234. package/lib/resources/price_frequency_tiers.d.ts +1 -1
  235. package/lib/resources/price_list_schedulers.d.cts +2 -2
  236. package/lib/resources/price_list_schedulers.d.ts +1 -1
  237. package/lib/resources/price_lists.d.cts +2 -2
  238. package/lib/resources/price_lists.d.ts +1 -1
  239. package/lib/resources/price_tiers.d.cts +2 -2
  240. package/lib/resources/price_tiers.d.ts +1 -1
  241. package/lib/resources/price_volume_tiers.d.cts +2 -2
  242. package/lib/resources/price_volume_tiers.d.ts +1 -1
  243. package/lib/resources/prices.d.cts +2 -2
  244. package/lib/resources/prices.d.ts +1 -1
  245. package/lib/resources/promotion_rules.d.cts +2 -2
  246. package/lib/resources/promotion_rules.d.ts +1 -1
  247. package/lib/resources/promotions.d.cts +2 -2
  248. package/lib/resources/promotions.d.ts +1 -1
  249. package/lib/resources/recurring_order_copies.d.cts +2 -2
  250. package/lib/resources/recurring_order_copies.d.ts +1 -1
  251. package/lib/resources/refunds.d.cts +2 -2
  252. package/lib/resources/refunds.d.ts +1 -1
  253. package/lib/resources/reserved_stocks.d.cts +2 -2
  254. package/lib/resources/reserved_stocks.d.ts +1 -1
  255. package/lib/resources/resource_errors.d.cts +2 -2
  256. package/lib/resources/resource_errors.d.ts +1 -1
  257. package/lib/resources/return_line_items.d.cts +2 -2
  258. package/lib/resources/return_line_items.d.ts +1 -1
  259. package/lib/resources/returns.d.cts +2 -2
  260. package/lib/resources/returns.d.ts +1 -1
  261. package/lib/resources/satispay_gateways.d.cts +2 -2
  262. package/lib/resources/satispay_gateways.d.ts +1 -1
  263. package/lib/resources/satispay_payments.d.cts +2 -2
  264. package/lib/resources/satispay_payments.d.ts +1 -1
  265. package/lib/resources/shipments.d.cts +2 -2
  266. package/lib/resources/shipments.d.ts +1 -1
  267. package/lib/resources/shipping_categories.d.cts +2 -2
  268. package/lib/resources/shipping_categories.d.ts +1 -1
  269. package/lib/resources/shipping_method_tiers.d.cts +2 -2
  270. package/lib/resources/shipping_method_tiers.d.ts +1 -1
  271. package/lib/resources/shipping_methods.d.cts +2 -2
  272. package/lib/resources/shipping_methods.d.ts +1 -1
  273. package/lib/resources/shipping_weight_tiers.d.cts +2 -2
  274. package/lib/resources/shipping_weight_tiers.d.ts +1 -1
  275. package/lib/resources/shipping_zones.d.cts +2 -2
  276. package/lib/resources/shipping_zones.d.ts +1 -1
  277. package/lib/resources/sku_list_items.d.cts +2 -2
  278. package/lib/resources/sku_list_items.d.ts +1 -1
  279. package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
  280. package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
  281. package/lib/resources/sku_lists.d.cts +2 -2
  282. package/lib/resources/sku_lists.d.ts +1 -1
  283. package/lib/resources/sku_options.d.cts +2 -2
  284. package/lib/resources/sku_options.d.ts +1 -1
  285. package/lib/resources/skus.d.cts +2 -2
  286. package/lib/resources/skus.d.ts +1 -1
  287. package/lib/resources/stock_items.d.cts +2 -2
  288. package/lib/resources/stock_items.d.ts +1 -1
  289. package/lib/resources/stock_line_items.d.cts +2 -2
  290. package/lib/resources/stock_line_items.d.ts +1 -1
  291. package/lib/resources/stock_locations.d.cts +2 -2
  292. package/lib/resources/stock_locations.d.ts +1 -1
  293. package/lib/resources/stock_reservations.d.cts +2 -2
  294. package/lib/resources/stock_reservations.d.ts +1 -1
  295. package/lib/resources/stock_transfers.d.cts +2 -2
  296. package/lib/resources/stock_transfers.d.ts +1 -1
  297. package/lib/resources/stores.d.cts +2 -2
  298. package/lib/resources/stores.d.ts +1 -1
  299. package/lib/resources/stripe_gateways.d.cts +2 -2
  300. package/lib/resources/stripe_gateways.d.ts +1 -1
  301. package/lib/resources/stripe_payments.d.cts +2 -2
  302. package/lib/resources/stripe_payments.d.ts +1 -1
  303. package/lib/resources/stripe_tax_accounts.d.cts +2 -2
  304. package/lib/resources/stripe_tax_accounts.d.ts +1 -1
  305. package/lib/resources/subscription_models.d.cts +2 -2
  306. package/lib/resources/subscription_models.d.ts +1 -1
  307. package/lib/resources/tags.d.cts +2 -2
  308. package/lib/resources/tags.d.ts +1 -1
  309. package/lib/resources/talon_one_accounts.d.cts +2 -2
  310. package/lib/resources/talon_one_accounts.d.ts +1 -1
  311. package/lib/resources/tax_calculators.d.cts +2 -2
  312. package/lib/resources/tax_calculators.d.ts +1 -1
  313. package/lib/resources/tax_categories.d.cts +2 -2
  314. package/lib/resources/tax_categories.d.ts +1 -1
  315. package/lib/resources/tax_rules.d.cts +2 -2
  316. package/lib/resources/tax_rules.d.ts +1 -1
  317. package/lib/resources/taxjar_accounts.d.cts +2 -2
  318. package/lib/resources/taxjar_accounts.d.ts +1 -1
  319. package/lib/resources/transactions.d.cts +2 -2
  320. package/lib/resources/transactions.d.ts +1 -1
  321. package/lib/resources/vertex_accounts.d.cts +2 -2
  322. package/lib/resources/vertex_accounts.d.ts +1 -1
  323. package/lib/resources/voids.d.cts +2 -2
  324. package/lib/resources/voids.d.ts +1 -1
  325. package/lib/resources/webhooks.d.cts +2 -2
  326. package/lib/resources/webhooks.d.ts +1 -1
  327. package/lib/resources/wire_transfers.d.cts +2 -2
  328. package/lib/resources/wire_transfers.d.ts +1 -1
  329. package/lib/static.cjs +3 -3
  330. package/lib/static.d.cts +1 -1
  331. package/lib/static.d.ts +1 -1
  332. package/lib/static.js +2 -2
  333. package/package.json +7 -7
  334. package/lib/chunk-536MZPMI.cjs.map +0 -1
  335. package/lib/chunk-56HCMG32.js.map +0 -1
  336. package/lib/chunk-FB6DA6TM.cjs.map +0 -1
  337. package/lib/chunk-JEOA64GW.cjs.map +0 -1
  338. package/lib/chunk-LFNJLWV4.cjs.map +0 -1
  339. package/lib/chunk-LOJ7246E.js.map +0 -1
  340. package/lib/chunk-N5BGBBOP.js.map +0 -1
  341. package/lib/chunk-Q5OKMDOT.js.map +0 -1
  342. package/lib/chunk-QCY5BXWM.cjs.map +0 -1
  343. package/lib/chunk-S4UDNFDR.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/organizations.ts"],"names":[],"mappings":";;;AA+SA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsB,YAAA,CAA2B;AAAA,EAEtD,OAAgB,IAAA,GAAyB,eAAA;AAAA,EAEzC,MAAM,YAAA,CAAa,cAAA,EAAuC,MAAA,EAAsC,OAAA,EAA8D;AAC7J,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAM,cAAA;AAC/D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,aAAA,EAAgB,eAAe,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAClI;AAAA,EAGA,eAAe,QAAA,EAAyC;AACvD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,cAAA,CAAc,IAAA;AAAA,EAC1D;AAAA,EAGA,aAAa,EAAA,EAAiD;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAsC,EAAE,CAAA;AAAA,EACtD;AAAA,EAEA,sBAAsB,GAAA,EAAkC;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAuC,GAAG,GAAG,CAAA;AAAA,EAC3D;AAAA,EAGA,IAAA,GAAyB;AACxB,IAAA,OAAO,cAAA,CAAc,IAAA;AAAA,EACtB;AAAA,EAEA,IAAA,GAAe;AACd,IAAA,OAAO,cAAA;AAAA,EACR;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,qBAAA,GAAQ","file":"chunk-OLJT7GB7.js","sourcesContent":["import type { QueryParamsList } from '../query'\nimport type { ListResponse, Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, } from '../resource'\nimport { ApiSingleton } from '../resource'\n\nimport type { EventStore } from './event_stores'\n\n\ntype OrganizationType = 'organizations'\ntype OrganizationRel = ResourceRel & { type: OrganizationType }\n\n\nexport type OrganizationSort = Pick<Organization, 'id'> & ResourceSort\n// export type OrganizationFilter = Pick<Organization, 'id'> & ResourceFilter\n\n\ninterface Organization extends Resource {\n\t\n\treadonly type: OrganizationType\n\n\t/** \n\t * The organization's internal name.\n\t * @example ```\"The Blue Brand\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The organization's slug name.\n\t * @example ```\"the-blue-brand\"```\n\t */\n\tslug?: string | null\n\t/** \n\t * The organization's domain.\n\t * @example ```\"the-blue-brand.commercelayer.io\"```\n\t */\n\tdomain?: string | null\n\t/** \n\t * The organization's support phone.\n\t * @example ```\"+01 30800857\"```\n\t */\n\tsupport_phone?: string | null\n\t/** \n\t * The organization's support email.\n\t * @example ```\"support@bluebrand.com\"```\n\t */\n\tsupport_email?: string | null\n\t/** \n\t * The URL to the organization's logo.\n\t * @example ```\"https://bluebrand.com/img/logo.svg\"```\n\t */\n\tlogo_url?: string | null\n\t/** \n\t * The URL to the organization's favicon.\n\t * @example ```\"https://bluebrand.com/img/favicon.ico\"```\n\t */\n\tfavicon_url?: string | null\n\t/** \n\t * The organization's primary color.\n\t * @example ```\"#C8984E\"```\n\t */\n\tprimary_color?: string | null\n\t/** \n\t * The organization's Google Tag Manager ID.\n\t * @example ```\"GTM-5FJXX6\"```\n\t */\n\tgtm_id?: string | null\n\t/** \n\t * The organization's Google Tag Manager ID for test.\n\t * @example ```\"GTM-5FJXX7\"```\n\t */\n\tgtm_id_test?: string | null\n\t/** \n\t * The organization's configuration.\n\t * @example ```{\"mfe\":{\"default\":{\"links\":{\"cart\":\"https://cart.example.com/:order_id?accessToken=:access_token\",\"checkout\":\"https://checkout.example.com/:order_id?accessToken=:accessToken\",\"identity\":\"https://example.com/login\",\"microstore\":\"https://example.com/microstore/?accessToken=:access_token\",\"my_account\":\"https://example.com/my-custom-account?accessToken=:access_token\"},\"checkout\":{\"thankyou_page\":\"https://example.com/thanks/:lang/:orderId\",\"billing_countries\":[{\"value\":\"ES\",\"label\":\"Espana\"},{\"value\":\"IT\",\"label\":\"Italia\"},{\"value\":\"US\",\"label\":\"Unites States of America\"}],\"shipping_countries\":[{\"value\":\"ES\",\"label\":\"Espana\"},{\"value\":\"IT\",\"label\":\"Italia\"},{\"value\":\"US\",\"label\":\"Unites States of America\"}],\"billing_states\":{\"FR\":[{\"value\":\"PA\",\"label\":\"Paris\"},{\"value\":\"LY\",\"label\":\"Lyon\"},{\"value\":\"NI\",\"label\":\"Nice\"},{\"value\":\"MA\",\"label\":\"Marseille\"},{\"value\":\"BO\",\"label\":\"Bordeaux\"}]},\"shipping_states\":{\"FR\":[{\"value\":\"PA\",\"label\":\"Paris\"},{\"value\":\"LY\",\"label\":\"Lyon\"},{\"value\":\"NI\",\"label\":\"Nice\"},{\"value\":\"MA\",\"label\":\"Marseille\"},{\"value\":\"BO\",\"label\":\"Bordeaux\"}]},\"default_country\":\"US\"},\"urls\":{\"privacy\":\"https://example.com/privacy/:lang\",\"terms\":\"https://example.com/terms/:lang\"}},\"market:id:ZKcv13rT\":{\"links\":{\"cart\":\"https://example.com/custom-cart/:order_id?accessToken=:access_token\"},\"checkout\":{\"thankyou_page\":\"https://example.com/thanks/:order_id\"}}}}```\n\t */\n\tconfig?: Record<string, any> | null\n\t/** \n\t * Enables the redirect on the new Auth API.\n\t * @example ```true```\n\t */\n\tapi_auth_redirect?: boolean | null\n\t/** \n\t * Enables fragment caching for resources with related directive.\n\t */\n\tapi_fragment_caching_enabled?: boolean | null\n\t/** \n\t * Enables the rules engine for flex promotions and price list rules.\n\t */\n\tapi_rules_engine?: boolean | null\n\t/** \n\t * The fallback maximum number of conditions within a rules payload on a ruleable object, default is 150.\n\t * @example ```150```\n\t */\n\tapi_rules_engine_max_conditions_size?: number | null\n\t/** \n\t * The fallback maximum number of rules within a rules payload on a ruleable object, default is 15.\n\t * @example ```15```\n\t */\n\tapi_rules_engine_max_rules_size?: number | null\n\t/** \n\t * Forces the usage of the new Authentication API.\n\t * @example ```true```\n\t */\n\tapi_new_auth?: boolean | null\n\t/** \n\t * Enables the purge of cached single resources when list is purged.\n\t */\n\tapi_purge_single_resource?: boolean | null\n\t/** \n\t * The maximum length for the regular expressions, default is 5000.\n\t * @example ```5000```\n\t */\n\tapi_max_regex_length?: number | null\n\t/** \n\t * Indicates if AVS checking will be enforced during payment workflow by passing specific attributes, default is true.\n\t * @example ```true```\n\t */\n\taddresses_avs_check?: boolean | null\n\t/** \n\t * Indicates if the phone attribute is required for addresses, default is true.\n\t * @example ```true```\n\t */\n\taddresses_phone_required?: boolean | null\n\t/** \n\t * Indicates if a sales channel application without customer can read and update just guest orders.\n\t * @example ```true```\n\t */\n\torders_sales_channel_guest_only?: boolean | null\n\t/** \n\t * The minimum lapse in fraction of seconds to be observed between two consecutive shipments rebuilt. If shipments rebuilt is triggered within the minimum lapse, the update is performed, but no rebuilt is done.\n\t */\n\torders_min_rebuild_shipments_lapse?: number | null\n\t/** \n\t * The minimum lapse in fraction of seconds to be observed between two consecutive order refreshes. If refresh is triggered within the minimum lapse, the update is performed, but no order refresh is done.\n\t */\n\torders_min_refresh_lapse?: number | null\n\t/** \n\t * The maximum number line items allowed for a test order before disabling the autorefresh option.\n\t * @example ```50```\n\t */\n\torders_autorefresh_cutoff_test?: number | null\n\t/** \n\t * The maximum number line items allowed for a live order before disabling the autorefresh option.\n\t * @example ```500```\n\t */\n\torders_autorefresh_cutoff_live?: number | null\n\t/** \n\t * Enables orders number editing as a string in test (for enterprise plans only).\n\t */\n\torders_number_editable_test?: boolean | null\n\t/** \n\t * Enables orders number editing as a string in live (for enterprise plans only).\n\t */\n\torders_number_editable_live?: boolean | null\n\t/** \n\t * Enables to use the order number as payment reference on supported gateways.\n\t * @example ```true```\n\t */\n\torders_number_as_reference?: boolean | null\n\t/** \n\t * Enables raising of API errors in case the provided coupon code is invalid, default is true.\n\t * @example ```true```\n\t */\n\torders_invalid_coupon_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case the provided gift card code is invalid, default is true.\n\t * @example ```true```\n\t */\n\torders_invalid_gift_card_errors?: boolean | null\n\t/** \n\t * Enables the validation of the generated stock line items and stock transfers before placing the order, default is false.\n\t */\n\torders_validate_shipping_stock?: boolean | null\n\t/** \n\t * The maximum number of SKUs allowed for bundles, default is 10.\n\t * @example ```10```\n\t */\n\tbundles_max_items_count?: number | null\n\t/** \n\t * The minimum length for coupon code, default is 8.\n\t * @example ```8```\n\t */\n\tcoupons_min_code_length?: number | null\n\t/** \n\t * The maximum length for coupon code, default is 40.\n\t * @example ```40```\n\t */\n\tcoupons_max_code_length?: number | null\n\t/** \n\t * Enables matching the gift card code by its exact value, instead of by its first charachters, default is false.\n\t */\n\tgift_cards_exact_code_matching?: boolean | null\n\t/** \n\t * The minimum length for gift card code, default is 8.\n\t * @example ```8```\n\t */\n\tgift_cards_min_code_length?: number | null\n\t/** \n\t * The maximum length for gift card code, default is 40.\n\t * @example ```40```\n\t */\n\tgift_cards_max_code_length?: number | null\n\t/** \n\t * The maximum number of concurrent cleanups allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\tcleanups_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of concurrent exports allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\texports_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of concurrent imports allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\timports_max_concurrent_count?: number | null\n\t/** \n\t * Enables purging of cached resources upon succeeded imports.\n\t * @example ```true```\n\t */\n\timports_purge_cache?: boolean | null\n\t/** \n\t * Disables the interruption of the import in case its errors exceeds the 10% threshold, default is false.\n\t */\n\timports_skip_errors?: boolean | null\n\t/** \n\t * The maximum number for stock locations cutoff, default is 10.\n\t * @example ```10```\n\t */\n\tinventory_models_max_stock_locations_cutoff?: number | null\n\t/** \n\t * The maximum number of active concurrent promotions allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\tpromotions_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of conditions within a rules payload on a promotion object, default is 150.\n\t * @example ```150```\n\t */\n\tpromotions_max_conditions_size?: number | null\n\t/** \n\t * The maximum number of rules within a rules payload on a promotion object, default is 15.\n\t * @example ```15```\n\t */\n\tpromotions_max_rules_size?: number | null\n\t/** \n\t * The maximum number of conditions within a rules payload on a price list object, default is 150.\n\t * @example ```150```\n\t */\n\tprice_lists_max_conditions_size?: number | null\n\t/** \n\t * The maximum number of rules within a rules payload on a price list object, default is 15.\n\t * @example ```15```\n\t */\n\tprice_lists_max_rules_size?: number | null\n\t/** \n\t * Enables triggering of webhooks during imports, default is false.\n\t */\n\timports_trigger_webhooks?: number | null\n\t/** \n\t * Enables the use of an external discount engine in place of the standard one, default is false.\n\t */\n\tdiscount_engines_enabled?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of discount engine failure, default is false.\n\t */\n\tdiscount_engines_errors?: boolean | null\n\t/** \n\t * The maximum length for the tag name, default is 25.\n\t * @example ```25```\n\t */\n\ttags_max_name_length?: number | null\n\t/** \n\t * The maximum allowed number of tags for each resource, default is 10.\n\t * @example ```10```\n\t */\n\ttags_max_allowed_number?: number | null\n\t/** \n\t * Enables raising of API errors in case of tax calculation failure, default is false.\n\t */\n\ttax_calculators_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of external promotion failure, default is false.\n\t */\n\texternal_promotions_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of external price failure, default is true.\n\t * @example ```true```\n\t */\n\texternal_prices_errors?: boolean | null\n\t/** \n\t * Enables the Sku discovery by similarity search.\n\t */\n\tskus_discovery?: boolean | null\n\t/** \n\t * Enables the creation of the authorization when the gateway event is received, even if there is no reference on Commerce Layer.\n\t */\n\tpayment_gateways_transaction_on_event?: boolean | null\n\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass Organizations extends ApiSingleton<Organization> {\n\n\tstatic readonly TYPE: OrganizationType = 'organizations' as const\n\n\tasync event_stores(organizationId: string | Organization, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _organizationId = (organizationId as Organization).id || organizationId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `organization/${_organizationId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisOrganization(resource: any): resource is Organization {\n\t\treturn resource.type && (resource.type === Organizations.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): OrganizationRel {\n\t\treturn super.relationshipOneToOne<OrganizationRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): OrganizationRel[] {\n\t\treturn super.relationshipOneToMany<OrganizationRel>(...ids)\n\t}\n\n\n\ttype(): OrganizationType {\n\t\treturn Organizations.TYPE\n\t}\n\n\tpath(): string {\n\t\treturn 'organization'\n\t}\n\n}\n\n\nconst instance = new Organizations()\nexport default instance\n\nexport type { Organization, Organizations, OrganizationType }\n"]}
@@ -42,5 +42,5 @@ var instance = new Imports();
42
42
  var imports_default = instance;
43
43
 
44
44
  exports.imports_default = imports_default;
45
- //# sourceMappingURL=chunk-QCY5BXWM.cjs.map
46
- //# sourceMappingURL=chunk-QCY5BXWM.cjs.map
45
+ //# sourceMappingURL=chunk-QIN5DNKJ.cjs.map
46
+ //# sourceMappingURL=chunk-QIN5DNKJ.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/imports.ts"],"names":["ApiResource"],"mappings":";;;;;AAoJA,IAAM,OAAA,GAAN,MAAM,QAAA,SAAgBA,6BAAA,CAAoB;AAAA,EAEzC,OAAgB,IAAA,GAAmB,SAAA;AAAA,EAEnC,MAAM,MAAA,CAAO,QAAA,EAAwB,MAAA,EAAsC,OAAA,EAA4C;AACtH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,QAAA,CAAQ,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACxG;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAwB,MAAA,EAAsC,OAAA,EAA4C;AACtH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,QAAA,CAAQ,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACxG;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,QAAA,CAAQ,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC/F;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA2B,MAAA,EAAiC,OAAA,EAAyD;AACjI,IAAA,MAAM,SAAA,GAAa,SAAoB,EAAA,IAAM,QAAA;AAC7C,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAa,EAAE,IAAA,EAAM,QAAA,EAAS,EAAG,CAAA,QAAA,EAAW,SAAS,CAAA,OAAA,CAAA,EAAW,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtG;AAAA,EAEA,MAAM,YAAA,CAAa,QAAA,EAA2B,MAAA,EAAsC,OAAA,EAA8D;AACjJ,IAAA,MAAM,SAAA,GAAa,SAAoB,EAAA,IAAM,QAAA;AAC7C,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,QAAA,EAAW,SAAS,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACvH;AAAA,EAEA,MAAM,UAAA,CAAW,EAAA,EAAqB,MAAA,EAAsC,OAAA,EAA4C;AACvH,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,QAAA,CAAQ,IAAA,EAAM,YAAY,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACtJ;AAAA,EAGA,SAAS,QAAA,EAAmC;AAC3C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,QAAA,CAAQ,IAAA;AAAA,EACpD;AAAA,EAGA,aAAa,EAAA,EAA2C;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAgC,EAAE,CAAA;AAAA,EAChD;AAAA,EAEA,sBAAsB,GAAA,EAA4B;AACjD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAiC,GAAG,GAAG,CAAA;AAAA,EACrD;AAAA,EAGA,IAAA,GAAmB;AAClB,IAAA,OAAO,QAAA,CAAQ,IAAA;AAAA,EAChB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,OAAA,EAAQ;AAC7B,IAAO,eAAA,GAAQ","file":"chunk-QIN5DNKJ.cjs","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\n\ntype ImportType = 'imports'\ntype ImportRel = ResourceRel & { type: ImportType }\n\n\nexport type ImportSort = Pick<Import, 'id' | 'resource_type' | 'format' | 'parent_resource_id' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'inputs_size' | 'errors_count' | 'warnings_count' | 'processed_count' | 'attachment_url'> & ResourceSort\n// export type ImportFilter = Pick<Import, 'id' | 'resource_type' | 'format' | 'parent_resource_id' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'inputs_size' | 'errors_count' | 'warnings_count' | 'processed_count' | 'errors_log' | 'warnings_log' | 'attachment_url'> & ResourceFilter\n\n\ninterface Import extends Resource {\n\t\n\treadonly type: ImportType\n\n\t/** \n\t * The type of resource being imported. One of 'addresses', 'tags', 'price_lists', 'line_items', 'orders', 'tax_categories', 'skus', 'shipping_categories', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'coupons', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'gift_cards', 'line_item_options', 'stock_transfers', 'sku_options', 'prices', or 'price_tiers'.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: 'addresses' | 'tags' | 'price_lists' | 'line_items' | 'orders' | 'tax_categories' | 'skus' | 'shipping_categories' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'coupons' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'gift_cards' | 'line_item_options' | 'stock_transfers' | 'sku_options' | 'prices' | 'price_tiers'\n\t/** \n\t * The format of the import inputs one of 'json' (default) or 'csv'. One of 'csv', or 'json'.\n\t * @example ```\"json\"```\n\t */\n\tformat?: 'csv' | 'json' | null\n\t/** \n\t * The ID of the parent resource to be associated with imported data.\n\t * @example ```\"1234\"```\n\t */\n\tparent_resource_id?: string | null\n\t/** \n\t * The import job status. One of 'pending' (default), 'in_progress', 'interrupted', or 'completed'.\n\t * @example ```\"in_progress\"```\n\t */\n\tstatus: 'pending' | 'in_progress' | 'interrupted' | 'completed'\n\t/** \n\t * Time at which the import was started.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarted_at?: string | null\n\t/** \n\t * Time at which the import was completed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tcompleted_at?: string | null\n\t/** \n\t * Time at which the import was interrupted.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tinterrupted_at?: string | null\n\t/** \n\t * Array of objects representing the resources that are being imported.\n\t * @example ```[{\"code\":\"ABC\",\"name\":\"Foo\"},{\"code\":\"DEF\",\"name\":\"Bar\"}]```\n\t */\n\tinputs: Array<Record<string, any>>\n\t/** \n\t * Indicates the size of the objects to be imported.\n\t * @example ```300```\n\t */\n\tinputs_size?: number | null\n\t/** \n\t * Indicates the number of import errors, if any.\n\t * @example ```30```\n\t */\n\terrors_count?: number | null\n\t/** \n\t * Indicates the number of import warnings, if any.\n\t * @example ```1```\n\t */\n\twarnings_count?: number | null\n\t/** \n\t * Indicates the number of records that have been processed (created or updated).\n\t * @example ```270```\n\t */\n\tprocessed_count?: number | null\n\t/** \n\t * Contains the import errors, if any.\n\t * @example ```{\"ABC\":{\"name\":[\"has already been taken\"]}}```\n\t */\n\terrors_log?: Record<string, any> | null\n\t/** \n\t * Contains the import warnings, if any.\n\t * @example ```{\"ABC\":[\"could not be deleted\"]}```\n\t */\n\twarnings_log?: Record<string, any> | null\n\t/** \n\t * Disables the interruption of the import in case its errors exceeds the 10% threshold.\n\t * @example ```true```\n\t */\n\tskip_errors?: boolean | null\n\t/** \n\t * The URL the the raw inputs file, which will be generated at import start.\n\t * @example ```\"http://cl_imports.s3.amazonaws.com/\"```\n\t */\n\tattachment_url?: string | null\n\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface ImportCreate extends ResourceCreate {\n\t\n\t/** \n\t * The type of resource being imported. One of 'addresses', 'tags', 'price_lists', 'line_items', 'orders', 'tax_categories', 'skus', 'shipping_categories', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'coupons', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'gift_cards', 'line_item_options', 'stock_transfers', 'sku_options', 'prices', or 'price_tiers'.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: 'addresses' | 'tags' | 'price_lists' | 'line_items' | 'orders' | 'tax_categories' | 'skus' | 'shipping_categories' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'coupons' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'gift_cards' | 'line_item_options' | 'stock_transfers' | 'sku_options' | 'prices' | 'price_tiers'\n\t/** \n\t * The format of the import inputs one of 'json' (default) or 'csv'. One of 'csv', or 'json'.\n\t * @example ```\"json\"```\n\t */\n\tformat?: 'csv' | 'json' | null\n\t/** \n\t * The ID of the parent resource to be associated with imported data.\n\t * @example ```\"1234\"```\n\t */\n\tparent_resource_id?: string | null\n\t/** \n\t * Array of objects representing the resources that are being imported.\n\t * @example ```[{\"code\":\"ABC\",\"name\":\"Foo\"},{\"code\":\"DEF\",\"name\":\"Bar\"}]```\n\t */\n\tinputs: Array<Record<string, any>>\n\t/** \n\t * Disables the interruption of the import in case its errors exceeds the 10% threshold.\n\t * @example ```true```\n\t */\n\tskip_errors?: boolean | null\n\t\n}\n\n\ninterface ImportUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Send this attribute if you want to mark status as 'interrupted'.\n\t * @example ```true```\n\t */\n\t_interrupt?: boolean | null\n\t\n}\n\n\nclass Imports extends ApiResource<Import> {\n\n\tstatic readonly TYPE: ImportType = 'imports' as const\n\n\tasync create(resource: ImportCreate, params?: QueryParamsRetrieve<Import>, options?: ResourcesConfig): Promise<Import> {\n\t\treturn this.resources.create<ImportCreate, Import>({ ...resource, type: Imports.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ImportUpdate, params?: QueryParamsRetrieve<Import>, options?: ResourcesConfig): Promise<Import> {\n\t\treturn this.resources.update<ImportUpdate, Import>({ ...resource, type: Imports.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Imports.TYPE } : id, options)\n\t}\n\n\tasync events(importId: string | Import, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _importId = (importId as Import).id || importId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `imports/${_importId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(importId: string | Import, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _importId = (importId as Import).id || importId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `imports/${_importId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _interrupt(id: string | Import, params?: QueryParamsRetrieve<Import>, options?: ResourcesConfig): Promise<Import> {\n\t\treturn this.resources.update<ImportUpdate, Import>({ id: (typeof id === 'string')? id: id.id, type: Imports.TYPE, _interrupt: true }, params, options)\n\t}\n\n\n\tisImport(resource: any): resource is Import {\n\t\treturn resource.type && (resource.type === Imports.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ImportRel {\n\t\treturn super.relationshipOneToOne<ImportRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ImportRel[] {\n\t\treturn super.relationshipOneToMany<ImportRel>(...ids)\n\t}\n\n\n\ttype(): ImportType {\n\t\treturn Imports.TYPE\n\t}\n\n}\n\n\nconst instance = new Imports()\nexport default instance\n\nexport type { Import, ImportCreate, Imports, ImportType, ImportUpdate }\n"]}
@@ -29,5 +29,5 @@ var instance = new Organizations();
29
29
  var organizations_default = instance;
30
30
 
31
31
  exports.organizations_default = organizations_default;
32
- //# sourceMappingURL=chunk-LFNJLWV4.cjs.map
33
- //# sourceMappingURL=chunk-LFNJLWV4.cjs.map
32
+ //# sourceMappingURL=chunk-VUEZCOXT.cjs.map
33
+ //# sourceMappingURL=chunk-VUEZCOXT.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/organizations.ts"],"names":["ApiSingleton"],"mappings":";;;;;AA+SA,IAAM,aAAA,GAAN,MAAM,cAAA,SAAsBA,8BAAA,CAA2B;AAAA,EAEtD,OAAgB,IAAA,GAAyB,eAAA;AAAA,EAEzC,MAAM,YAAA,CAAa,cAAA,EAAuC,MAAA,EAAsC,OAAA,EAA8D;AAC7J,IAAA,MAAM,eAAA,GAAmB,eAAgC,EAAA,IAAM,cAAA;AAC/D,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,aAAA,EAAgB,eAAe,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EAClI;AAAA,EAGA,eAAe,QAAA,EAAyC;AACvD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,cAAA,CAAc,IAAA;AAAA,EAC1D;AAAA,EAGA,aAAa,EAAA,EAAiD;AAC7D,IAAA,OAAO,KAAA,CAAM,qBAAsC,EAAE,CAAA;AAAA,EACtD;AAAA,EAEA,sBAAsB,GAAA,EAAkC;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAuC,GAAG,GAAG,CAAA;AAAA,EAC3D;AAAA,EAGA,IAAA,GAAyB;AACxB,IAAA,OAAO,cAAA,CAAc,IAAA;AAAA,EACtB;AAAA,EAEA,IAAA,GAAe;AACd,IAAA,OAAO,cAAA;AAAA,EACR;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,qBAAA,GAAQ","file":"chunk-VUEZCOXT.cjs","sourcesContent":["import type { QueryParamsList } from '../query'\nimport type { ListResponse, Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, } from '../resource'\nimport { ApiSingleton } from '../resource'\n\nimport type { EventStore } from './event_stores'\n\n\ntype OrganizationType = 'organizations'\ntype OrganizationRel = ResourceRel & { type: OrganizationType }\n\n\nexport type OrganizationSort = Pick<Organization, 'id'> & ResourceSort\n// export type OrganizationFilter = Pick<Organization, 'id'> & ResourceFilter\n\n\ninterface Organization extends Resource {\n\t\n\treadonly type: OrganizationType\n\n\t/** \n\t * The organization's internal name.\n\t * @example ```\"The Blue Brand\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The organization's slug name.\n\t * @example ```\"the-blue-brand\"```\n\t */\n\tslug?: string | null\n\t/** \n\t * The organization's domain.\n\t * @example ```\"the-blue-brand.commercelayer.io\"```\n\t */\n\tdomain?: string | null\n\t/** \n\t * The organization's support phone.\n\t * @example ```\"+01 30800857\"```\n\t */\n\tsupport_phone?: string | null\n\t/** \n\t * The organization's support email.\n\t * @example ```\"support@bluebrand.com\"```\n\t */\n\tsupport_email?: string | null\n\t/** \n\t * The URL to the organization's logo.\n\t * @example ```\"https://bluebrand.com/img/logo.svg\"```\n\t */\n\tlogo_url?: string | null\n\t/** \n\t * The URL to the organization's favicon.\n\t * @example ```\"https://bluebrand.com/img/favicon.ico\"```\n\t */\n\tfavicon_url?: string | null\n\t/** \n\t * The organization's primary color.\n\t * @example ```\"#C8984E\"```\n\t */\n\tprimary_color?: string | null\n\t/** \n\t * The organization's Google Tag Manager ID.\n\t * @example ```\"GTM-5FJXX6\"```\n\t */\n\tgtm_id?: string | null\n\t/** \n\t * The organization's Google Tag Manager ID for test.\n\t * @example ```\"GTM-5FJXX7\"```\n\t */\n\tgtm_id_test?: string | null\n\t/** \n\t * The organization's configuration.\n\t * @example ```{\"mfe\":{\"default\":{\"links\":{\"cart\":\"https://cart.example.com/:order_id?accessToken=:access_token\",\"checkout\":\"https://checkout.example.com/:order_id?accessToken=:accessToken\",\"identity\":\"https://example.com/login\",\"microstore\":\"https://example.com/microstore/?accessToken=:access_token\",\"my_account\":\"https://example.com/my-custom-account?accessToken=:access_token\"},\"checkout\":{\"thankyou_page\":\"https://example.com/thanks/:lang/:orderId\",\"billing_countries\":[{\"value\":\"ES\",\"label\":\"Espana\"},{\"value\":\"IT\",\"label\":\"Italia\"},{\"value\":\"US\",\"label\":\"Unites States of America\"}],\"shipping_countries\":[{\"value\":\"ES\",\"label\":\"Espana\"},{\"value\":\"IT\",\"label\":\"Italia\"},{\"value\":\"US\",\"label\":\"Unites States of America\"}],\"billing_states\":{\"FR\":[{\"value\":\"PA\",\"label\":\"Paris\"},{\"value\":\"LY\",\"label\":\"Lyon\"},{\"value\":\"NI\",\"label\":\"Nice\"},{\"value\":\"MA\",\"label\":\"Marseille\"},{\"value\":\"BO\",\"label\":\"Bordeaux\"}]},\"shipping_states\":{\"FR\":[{\"value\":\"PA\",\"label\":\"Paris\"},{\"value\":\"LY\",\"label\":\"Lyon\"},{\"value\":\"NI\",\"label\":\"Nice\"},{\"value\":\"MA\",\"label\":\"Marseille\"},{\"value\":\"BO\",\"label\":\"Bordeaux\"}]},\"default_country\":\"US\"},\"urls\":{\"privacy\":\"https://example.com/privacy/:lang\",\"terms\":\"https://example.com/terms/:lang\"}},\"market:id:ZKcv13rT\":{\"links\":{\"cart\":\"https://example.com/custom-cart/:order_id?accessToken=:access_token\"},\"checkout\":{\"thankyou_page\":\"https://example.com/thanks/:order_id\"}}}}```\n\t */\n\tconfig?: Record<string, any> | null\n\t/** \n\t * Enables the redirect on the new Auth API.\n\t * @example ```true```\n\t */\n\tapi_auth_redirect?: boolean | null\n\t/** \n\t * Enables fragment caching for resources with related directive.\n\t */\n\tapi_fragment_caching_enabled?: boolean | null\n\t/** \n\t * Enables the rules engine for flex promotions and price list rules.\n\t */\n\tapi_rules_engine?: boolean | null\n\t/** \n\t * The fallback maximum number of conditions within a rules payload on a ruleable object, default is 150.\n\t * @example ```150```\n\t */\n\tapi_rules_engine_max_conditions_size?: number | null\n\t/** \n\t * The fallback maximum number of rules within a rules payload on a ruleable object, default is 15.\n\t * @example ```15```\n\t */\n\tapi_rules_engine_max_rules_size?: number | null\n\t/** \n\t * Forces the usage of the new Authentication API.\n\t * @example ```true```\n\t */\n\tapi_new_auth?: boolean | null\n\t/** \n\t * Enables the purge of cached single resources when list is purged.\n\t */\n\tapi_purge_single_resource?: boolean | null\n\t/** \n\t * The maximum length for the regular expressions, default is 5000.\n\t * @example ```5000```\n\t */\n\tapi_max_regex_length?: number | null\n\t/** \n\t * Indicates if AVS checking will be enforced during payment workflow by passing specific attributes, default is true.\n\t * @example ```true```\n\t */\n\taddresses_avs_check?: boolean | null\n\t/** \n\t * Indicates if the phone attribute is required for addresses, default is true.\n\t * @example ```true```\n\t */\n\taddresses_phone_required?: boolean | null\n\t/** \n\t * Indicates if a sales channel application without customer can read and update just guest orders.\n\t * @example ```true```\n\t */\n\torders_sales_channel_guest_only?: boolean | null\n\t/** \n\t * The minimum lapse in fraction of seconds to be observed between two consecutive shipments rebuilt. If shipments rebuilt is triggered within the minimum lapse, the update is performed, but no rebuilt is done.\n\t */\n\torders_min_rebuild_shipments_lapse?: number | null\n\t/** \n\t * The minimum lapse in fraction of seconds to be observed between two consecutive order refreshes. If refresh is triggered within the minimum lapse, the update is performed, but no order refresh is done.\n\t */\n\torders_min_refresh_lapse?: number | null\n\t/** \n\t * The maximum number line items allowed for a test order before disabling the autorefresh option.\n\t * @example ```50```\n\t */\n\torders_autorefresh_cutoff_test?: number | null\n\t/** \n\t * The maximum number line items allowed for a live order before disabling the autorefresh option.\n\t * @example ```500```\n\t */\n\torders_autorefresh_cutoff_live?: number | null\n\t/** \n\t * Enables orders number editing as a string in test (for enterprise plans only).\n\t */\n\torders_number_editable_test?: boolean | null\n\t/** \n\t * Enables orders number editing as a string in live (for enterprise plans only).\n\t */\n\torders_number_editable_live?: boolean | null\n\t/** \n\t * Enables to use the order number as payment reference on supported gateways.\n\t * @example ```true```\n\t */\n\torders_number_as_reference?: boolean | null\n\t/** \n\t * Enables raising of API errors in case the provided coupon code is invalid, default is true.\n\t * @example ```true```\n\t */\n\torders_invalid_coupon_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case the provided gift card code is invalid, default is true.\n\t * @example ```true```\n\t */\n\torders_invalid_gift_card_errors?: boolean | null\n\t/** \n\t * Enables the validation of the generated stock line items and stock transfers before placing the order, default is false.\n\t */\n\torders_validate_shipping_stock?: boolean | null\n\t/** \n\t * The maximum number of SKUs allowed for bundles, default is 10.\n\t * @example ```10```\n\t */\n\tbundles_max_items_count?: number | null\n\t/** \n\t * The minimum length for coupon code, default is 8.\n\t * @example ```8```\n\t */\n\tcoupons_min_code_length?: number | null\n\t/** \n\t * The maximum length for coupon code, default is 40.\n\t * @example ```40```\n\t */\n\tcoupons_max_code_length?: number | null\n\t/** \n\t * Enables matching the gift card code by its exact value, instead of by its first charachters, default is false.\n\t */\n\tgift_cards_exact_code_matching?: boolean | null\n\t/** \n\t * The minimum length for gift card code, default is 8.\n\t * @example ```8```\n\t */\n\tgift_cards_min_code_length?: number | null\n\t/** \n\t * The maximum length for gift card code, default is 40.\n\t * @example ```40```\n\t */\n\tgift_cards_max_code_length?: number | null\n\t/** \n\t * The maximum number of concurrent cleanups allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\tcleanups_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of concurrent exports allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\texports_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of concurrent imports allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\timports_max_concurrent_count?: number | null\n\t/** \n\t * Enables purging of cached resources upon succeeded imports.\n\t * @example ```true```\n\t */\n\timports_purge_cache?: boolean | null\n\t/** \n\t * Disables the interruption of the import in case its errors exceeds the 10% threshold, default is false.\n\t */\n\timports_skip_errors?: boolean | null\n\t/** \n\t * The maximum number for stock locations cutoff, default is 10.\n\t * @example ```10```\n\t */\n\tinventory_models_max_stock_locations_cutoff?: number | null\n\t/** \n\t * The maximum number of active concurrent promotions allowed for your organization, default is 10.\n\t * @example ```10```\n\t */\n\tpromotions_max_concurrent_count?: number | null\n\t/** \n\t * The maximum number of conditions within a rules payload on a promotion object, default is 150.\n\t * @example ```150```\n\t */\n\tpromotions_max_conditions_size?: number | null\n\t/** \n\t * The maximum number of rules within a rules payload on a promotion object, default is 15.\n\t * @example ```15```\n\t */\n\tpromotions_max_rules_size?: number | null\n\t/** \n\t * The maximum number of conditions within a rules payload on a price list object, default is 150.\n\t * @example ```150```\n\t */\n\tprice_lists_max_conditions_size?: number | null\n\t/** \n\t * The maximum number of rules within a rules payload on a price list object, default is 15.\n\t * @example ```15```\n\t */\n\tprice_lists_max_rules_size?: number | null\n\t/** \n\t * Enables triggering of webhooks during imports, default is false.\n\t */\n\timports_trigger_webhooks?: number | null\n\t/** \n\t * Enables the use of an external discount engine in place of the standard one, default is false.\n\t */\n\tdiscount_engines_enabled?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of discount engine failure, default is false.\n\t */\n\tdiscount_engines_errors?: boolean | null\n\t/** \n\t * The maximum length for the tag name, default is 25.\n\t * @example ```25```\n\t */\n\ttags_max_name_length?: number | null\n\t/** \n\t * The maximum allowed number of tags for each resource, default is 10.\n\t * @example ```10```\n\t */\n\ttags_max_allowed_number?: number | null\n\t/** \n\t * Enables raising of API errors in case of tax calculation failure, default is false.\n\t */\n\ttax_calculators_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of external promotion failure, default is false.\n\t */\n\texternal_promotions_errors?: boolean | null\n\t/** \n\t * Enables raising of API errors in case of external price failure, default is true.\n\t * @example ```true```\n\t */\n\texternal_prices_errors?: boolean | null\n\t/** \n\t * Enables the Sku discovery by similarity search.\n\t */\n\tskus_discovery?: boolean | null\n\t/** \n\t * Enables the creation of the authorization when the gateway event is received, even if there is no reference on Commerce Layer.\n\t */\n\tpayment_gateways_transaction_on_event?: boolean | null\n\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass Organizations extends ApiSingleton<Organization> {\n\n\tstatic readonly TYPE: OrganizationType = 'organizations' as const\n\n\tasync event_stores(organizationId: string | Organization, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _organizationId = (organizationId as Organization).id || organizationId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `organization/${_organizationId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisOrganization(resource: any): resource is Organization {\n\t\treturn resource.type && (resource.type === Organizations.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): OrganizationRel {\n\t\treturn super.relationshipOneToOne<OrganizationRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): OrganizationRel[] {\n\t\treturn super.relationshipOneToMany<OrganizationRel>(...ids)\n\t}\n\n\n\ttype(): OrganizationType {\n\t\treturn Organizations.TYPE\n\t}\n\n\tpath(): string {\n\t\treturn 'organization'\n\t}\n\n}\n\n\nconst instance = new Organizations()\nexport default instance\n\nexport type { Organization, Organizations, OrganizationType }\n"]}
@@ -40,5 +40,5 @@ var instance = new Imports();
40
40
  var imports_default = instance;
41
41
 
42
42
  export { imports_default };
43
- //# sourceMappingURL=chunk-S4UDNFDR.js.map
44
- //# sourceMappingURL=chunk-S4UDNFDR.js.map
43
+ //# sourceMappingURL=chunk-WKIAJGJO.js.map
44
+ //# sourceMappingURL=chunk-WKIAJGJO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/imports.ts"],"names":[],"mappings":";;;AAoJA,IAAM,OAAA,GAAN,MAAM,QAAA,SAAgB,WAAA,CAAoB;AAAA,EAEzC,OAAgB,IAAA,GAAmB,SAAA;AAAA,EAEnC,MAAM,MAAA,CAAO,QAAA,EAAwB,MAAA,EAAsC,OAAA,EAA4C;AACtH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,QAAA,CAAQ,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACxG;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAwB,MAAA,EAAsC,OAAA,EAA4C;AACtH,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,QAAA,CAAQ,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EACxG;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAAO,EAAA,KAAO,QAAA,GAAW,EAAE,EAAA,EAAI,IAAA,EAAM,QAAA,CAAQ,IAAA,EAAK,GAAI,IAAI,OAAO,CAAA;AAAA,EAC/F;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA2B,MAAA,EAAiC,OAAA,EAAyD;AACjI,IAAA,MAAM,SAAA,GAAa,SAAoB,EAAA,IAAM,QAAA;AAC7C,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAa,EAAE,IAAA,EAAM,QAAA,EAAS,EAAG,CAAA,QAAA,EAAW,SAAS,CAAA,OAAA,CAAA,EAAW,MAAA,EAAQ,OAAO,CAAA;AAAA,EACtG;AAAA,EAEA,MAAM,YAAA,CAAa,QAAA,EAA2B,MAAA,EAAsC,OAAA,EAA8D;AACjJ,IAAA,MAAM,SAAA,GAAa,SAAoB,EAAA,IAAM,QAAA;AAC7C,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,KAAA,CAAkB,EAAE,IAAA,EAAM,cAAA,EAAe,EAAG,CAAA,QAAA,EAAW,SAAS,CAAA,aAAA,CAAA,EAAiB,MAAA,EAAQ,OAAO,CAAA;AAAA,EACvH;AAAA,EAEA,MAAM,UAAA,CAAW,EAAA,EAAqB,MAAA,EAAsC,OAAA,EAA4C;AACvH,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAA6B,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,QAAA,CAAQ,IAAA,EAAM,YAAY,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACtJ;AAAA,EAGA,SAAS,QAAA,EAAmC;AAC3C,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,QAAA,CAAQ,IAAA;AAAA,EACpD;AAAA,EAGA,aAAa,EAAA,EAA2C;AACvD,IAAA,OAAO,KAAA,CAAM,qBAAgC,EAAE,CAAA;AAAA,EAChD;AAAA,EAEA,sBAAsB,GAAA,EAA4B;AACjD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAiC,GAAG,GAAG,CAAA;AAAA,EACrD;AAAA,EAGA,IAAA,GAAmB;AAClB,IAAA,OAAO,QAAA,CAAQ,IAAA;AAAA,EAChB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,OAAA,EAAQ;AAC7B,IAAO,eAAA,GAAQ","file":"chunk-WKIAJGJO.js","sourcesContent":["import type { QueryParamsList, QueryParamsRetrieve } from '../query'\nimport type { ListResponse, Resource, ResourceCreate, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ ResourcesConfig, ResourceUpdate, } from '../resource'\nimport { ApiResource } from '../resource'\nimport type { EventStore } from './event_stores'\nimport type { Event } from './events'\n\n\ntype ImportType = 'imports'\ntype ImportRel = ResourceRel & { type: ImportType }\n\n\nexport type ImportSort = Pick<Import, 'id' | 'resource_type' | 'format' | 'parent_resource_id' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'inputs_size' | 'errors_count' | 'warnings_count' | 'processed_count' | 'attachment_url'> & ResourceSort\n// export type ImportFilter = Pick<Import, 'id' | 'resource_type' | 'format' | 'parent_resource_id' | 'status' | 'started_at' | 'completed_at' | 'interrupted_at' | 'inputs_size' | 'errors_count' | 'warnings_count' | 'processed_count' | 'errors_log' | 'warnings_log' | 'attachment_url'> & ResourceFilter\n\n\ninterface Import extends Resource {\n\t\n\treadonly type: ImportType\n\n\t/** \n\t * The type of resource being imported. One of 'addresses', 'tags', 'price_lists', 'line_items', 'orders', 'tax_categories', 'skus', 'shipping_categories', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'coupons', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'gift_cards', 'line_item_options', 'stock_transfers', 'sku_options', 'prices', or 'price_tiers'.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: 'addresses' | 'tags' | 'price_lists' | 'line_items' | 'orders' | 'tax_categories' | 'skus' | 'shipping_categories' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'coupons' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'gift_cards' | 'line_item_options' | 'stock_transfers' | 'sku_options' | 'prices' | 'price_tiers'\n\t/** \n\t * The format of the import inputs one of 'json' (default) or 'csv'. One of 'csv', or 'json'.\n\t * @example ```\"json\"```\n\t */\n\tformat?: 'csv' | 'json' | null\n\t/** \n\t * The ID of the parent resource to be associated with imported data.\n\t * @example ```\"1234\"```\n\t */\n\tparent_resource_id?: string | null\n\t/** \n\t * The import job status. One of 'pending' (default), 'in_progress', 'interrupted', or 'completed'.\n\t * @example ```\"in_progress\"```\n\t */\n\tstatus: 'pending' | 'in_progress' | 'interrupted' | 'completed'\n\t/** \n\t * Time at which the import was started.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarted_at?: string | null\n\t/** \n\t * Time at which the import was completed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tcompleted_at?: string | null\n\t/** \n\t * Time at which the import was interrupted.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tinterrupted_at?: string | null\n\t/** \n\t * Array of objects representing the resources that are being imported.\n\t * @example ```[{\"code\":\"ABC\",\"name\":\"Foo\"},{\"code\":\"DEF\",\"name\":\"Bar\"}]```\n\t */\n\tinputs: Array<Record<string, any>>\n\t/** \n\t * Indicates the size of the objects to be imported.\n\t * @example ```300```\n\t */\n\tinputs_size?: number | null\n\t/** \n\t * Indicates the number of import errors, if any.\n\t * @example ```30```\n\t */\n\terrors_count?: number | null\n\t/** \n\t * Indicates the number of import warnings, if any.\n\t * @example ```1```\n\t */\n\twarnings_count?: number | null\n\t/** \n\t * Indicates the number of records that have been processed (created or updated).\n\t * @example ```270```\n\t */\n\tprocessed_count?: number | null\n\t/** \n\t * Contains the import errors, if any.\n\t * @example ```{\"ABC\":{\"name\":[\"has already been taken\"]}}```\n\t */\n\terrors_log?: Record<string, any> | null\n\t/** \n\t * Contains the import warnings, if any.\n\t * @example ```{\"ABC\":[\"could not be deleted\"]}```\n\t */\n\twarnings_log?: Record<string, any> | null\n\t/** \n\t * Disables the interruption of the import in case its errors exceeds the 10% threshold.\n\t * @example ```true```\n\t */\n\tskip_errors?: boolean | null\n\t/** \n\t * The URL the the raw inputs file, which will be generated at import start.\n\t * @example ```\"http://cl_imports.s3.amazonaws.com/\"```\n\t */\n\tattachment_url?: string | null\n\n\tevents?: Event[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface ImportCreate extends ResourceCreate {\n\t\n\t/** \n\t * The type of resource being imported. One of 'addresses', 'tags', 'price_lists', 'line_items', 'orders', 'tax_categories', 'skus', 'shipping_categories', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'coupons', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'gift_cards', 'line_item_options', 'stock_transfers', 'sku_options', 'prices', or 'price_tiers'.\n\t * @example ```\"skus\"```\n\t */\n\tresource_type: 'addresses' | 'tags' | 'price_lists' | 'line_items' | 'orders' | 'tax_categories' | 'skus' | 'shipping_categories' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'coupons' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'gift_cards' | 'line_item_options' | 'stock_transfers' | 'sku_options' | 'prices' | 'price_tiers'\n\t/** \n\t * The format of the import inputs one of 'json' (default) or 'csv'. One of 'csv', or 'json'.\n\t * @example ```\"json\"```\n\t */\n\tformat?: 'csv' | 'json' | null\n\t/** \n\t * The ID of the parent resource to be associated with imported data.\n\t * @example ```\"1234\"```\n\t */\n\tparent_resource_id?: string | null\n\t/** \n\t * Array of objects representing the resources that are being imported.\n\t * @example ```[{\"code\":\"ABC\",\"name\":\"Foo\"},{\"code\":\"DEF\",\"name\":\"Bar\"}]```\n\t */\n\tinputs: Array<Record<string, any>>\n\t/** \n\t * Disables the interruption of the import in case its errors exceeds the 10% threshold.\n\t * @example ```true```\n\t */\n\tskip_errors?: boolean | null\n\t\n}\n\n\ninterface ImportUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * Send this attribute if you want to mark status as 'interrupted'.\n\t * @example ```true```\n\t */\n\t_interrupt?: boolean | null\n\t\n}\n\n\nclass Imports extends ApiResource<Import> {\n\n\tstatic readonly TYPE: ImportType = 'imports' as const\n\n\tasync create(resource: ImportCreate, params?: QueryParamsRetrieve<Import>, options?: ResourcesConfig): Promise<Import> {\n\t\treturn this.resources.create<ImportCreate, Import>({ ...resource, type: Imports.TYPE }, params, options)\n\t}\n\n\tasync update(resource: ImportUpdate, params?: QueryParamsRetrieve<Import>, options?: ResourcesConfig): Promise<Import> {\n\t\treturn this.resources.update<ImportUpdate, Import>({ ...resource, type: Imports.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Imports.TYPE } : id, options)\n\t}\n\n\tasync events(importId: string | Import, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _importId = (importId as Import).id || importId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `imports/${_importId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync event_stores(importId: string | Import, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _importId = (importId as Import).id || importId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `imports/${_importId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _interrupt(id: string | Import, params?: QueryParamsRetrieve<Import>, options?: ResourcesConfig): Promise<Import> {\n\t\treturn this.resources.update<ImportUpdate, Import>({ id: (typeof id === 'string')? id: id.id, type: Imports.TYPE, _interrupt: true }, params, options)\n\t}\n\n\n\tisImport(resource: any): resource is Import {\n\t\treturn resource.type && (resource.type === Imports.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): ImportRel {\n\t\treturn super.relationshipOneToOne<ImportRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): ImportRel[] {\n\t\treturn super.relationshipOneToMany<ImportRel>(...ids)\n\t}\n\n\n\ttype(): ImportType {\n\t\treturn Imports.TYPE\n\t}\n\n}\n\n\nconst instance = new Imports()\nexport default instance\n\nexport type { Import, ImportCreate, Imports, ImportType, ImportUpdate }\n"]}
@@ -20,5 +20,5 @@ var instance = new EventStores();
20
20
  var event_stores_default = instance;
21
21
 
22
22
  export { event_stores_default };
23
- //# sourceMappingURL=chunk-Q5OKMDOT.js.map
24
- //# sourceMappingURL=chunk-Q5OKMDOT.js.map
23
+ //# sourceMappingURL=chunk-WMM5EI62.js.map
24
+ //# sourceMappingURL=chunk-WMM5EI62.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/event_stores.ts"],"names":[],"mappings":";;;AA+CA,IAAM,WAAA,GAAN,MAAM,YAAA,SAAoB,WAAA,CAAwB;AAAA,EAEjD,OAAgB,IAAA,GAAuB,cAAA;AAAA,EAKvC,aAAa,QAAA,EAAuC;AACnD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,YAAA,CAAY,IAAA;AAAA,EACxD;AAAA,EAGA,aAAa,EAAA,EAA+C;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAoC,EAAE,CAAA;AAAA,EACpD;AAAA,EAEA,sBAAsB,GAAA,EAAgC;AACrD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAqC,GAAG,GAAG,CAAA;AAAA,EACzD;AAAA,EAGA,IAAA,GAAuB;AACtB,IAAA,OAAO,YAAA,CAAY,IAAA;AAAA,EACpB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,WAAA,EAAY;AACjC,IAAO,oBAAA,GAAQ","file":"chunk-WMM5EI62.js","sourcesContent":["import type { Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport { ApiResource } from '../resource'\n\n\n\n\ntype EventStoreType = 'event_stores'\ntype EventStoreRel = ResourceRel & { type: EventStoreType }\n\n\nexport type EventStoreSort = Pick<EventStore, 'id'> & ResourceSort\n// export type EventStoreFilter = Pick<EventStore, 'id'> & ResourceFilter\n\n\ninterface EventStore extends Resource {\n\t\n\treadonly type: EventStoreType\n\n\t/** \n\t * The type of the affected resource. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"orders\"```\n\t */\n\tresource_type?: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers' | null\n\t/** \n\t * The ID of the affected resource.\n\t * @example ```\"PzdJhdLdYV\"```\n\t */\n\tresource_id?: string | null\n\t/** \n\t * The type of change (one of create or update).\n\t * @example ```\"update\"```\n\t */\n\tevent?: string | null\n\t/** \n\t * The object changes payload.\n\t * @example ```{\"status\":[\"draft\",\"placed\"]}```\n\t */\n\tpayload?: Record<string, any> | null\n\t/** \n\t * Information about who triggered the change.\n\t * @example ```{\"application\":{\"id\":\"DNOPYiZYpn\",\"kind\":\"sales_channel\",\"public\":true},\"owner\":{\"id\":\"yQQrBhLBmQ\",\"type\":\"Customer\"}}```\n\t */\n\twho?: Record<string, any> | null\n\t\n}\n\n\nclass EventStores extends ApiResource<EventStore> {\n\n\tstatic readonly TYPE: EventStoreType = 'event_stores' as const\n\n\t\n\n\n\tisEventStore(resource: any): resource is EventStore {\n\t\treturn resource.type && (resource.type === EventStores.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): EventStoreRel {\n\t\treturn super.relationshipOneToOne<EventStoreRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): EventStoreRel[] {\n\t\treturn super.relationshipOneToMany<EventStoreRel>(...ids)\n\t}\n\n\n\ttype(): EventStoreType {\n\t\treturn EventStores.TYPE\n\t}\n\n}\n\n\nconst instance = new EventStores()\nexport default instance\n\nexport type { EventStore, EventStores, EventStoreType }\n"]}
@@ -22,5 +22,5 @@ var instance = new EventStores();
22
22
  var event_stores_default = instance;
23
23
 
24
24
  exports.event_stores_default = event_stores_default;
25
- //# sourceMappingURL=chunk-536MZPMI.cjs.map
26
- //# sourceMappingURL=chunk-536MZPMI.cjs.map
25
+ //# sourceMappingURL=chunk-YNWHCH2N.cjs.map
26
+ //# sourceMappingURL=chunk-YNWHCH2N.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/event_stores.ts"],"names":["ApiResource"],"mappings":";;;;;AA+CA,IAAM,WAAA,GAAN,MAAM,YAAA,SAAoBA,6BAAA,CAAwB;AAAA,EAEjD,OAAgB,IAAA,GAAuB,cAAA;AAAA,EAKvC,aAAa,QAAA,EAAuC;AACnD,IAAA,OAAO,QAAA,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,YAAA,CAAY,IAAA;AAAA,EACxD;AAAA,EAGA,aAAa,EAAA,EAA+C;AAC3D,IAAA,OAAO,KAAA,CAAM,qBAAoC,EAAE,CAAA;AAAA,EACpD;AAAA,EAEA,sBAAsB,GAAA,EAAgC;AACrD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAqC,GAAG,GAAG,CAAA;AAAA,EACzD;AAAA,EAGA,IAAA,GAAuB;AACtB,IAAA,OAAO,YAAA,CAAY,IAAA;AAAA,EACpB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,WAAA,EAAY;AACjC,IAAO,oBAAA,GAAQ","file":"chunk-YNWHCH2N.cjs","sourcesContent":["import type { Resource, ResourceId, ResourceRel, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport { ApiResource } from '../resource'\n\n\n\n\ntype EventStoreType = 'event_stores'\ntype EventStoreRel = ResourceRel & { type: EventStoreType }\n\n\nexport type EventStoreSort = Pick<EventStore, 'id'> & ResourceSort\n// export type EventStoreFilter = Pick<EventStore, 'id'> & ResourceFilter\n\n\ninterface EventStore extends Resource {\n\t\n\treadonly type: EventStoreType\n\n\t/** \n\t * The type of the affected resource. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.\n\t * @example ```\"orders\"```\n\t */\n\tresource_type?: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers' | null\n\t/** \n\t * The ID of the affected resource.\n\t * @example ```\"PzdJhdLdYV\"```\n\t */\n\tresource_id?: string | null\n\t/** \n\t * The type of change (one of create or update).\n\t * @example ```\"update\"```\n\t */\n\tevent?: string | null\n\t/** \n\t * The object changes payload.\n\t * @example ```{\"status\":[\"draft\",\"placed\"]}```\n\t */\n\tpayload?: Record<string, any> | null\n\t/** \n\t * Information about who triggered the change.\n\t * @example ```{\"application\":{\"id\":\"DNOPYiZYpn\",\"kind\":\"sales_channel\",\"public\":true},\"owner\":{\"id\":\"yQQrBhLBmQ\",\"type\":\"Customer\"}}```\n\t */\n\twho?: Record<string, any> | null\n\t\n}\n\n\nclass EventStores extends ApiResource<EventStore> {\n\n\tstatic readonly TYPE: EventStoreType = 'event_stores' as const\n\n\t\n\n\n\tisEventStore(resource: any): resource is EventStore {\n\t\treturn resource.type && (resource.type === EventStores.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): EventStoreRel {\n\t\treturn super.relationshipOneToOne<EventStoreRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): EventStoreRel[] {\n\t\treturn super.relationshipOneToMany<EventStoreRel>(...ids)\n\t}\n\n\n\ttype(): EventStoreType {\n\t\treturn EventStores.TYPE\n\t}\n\n}\n\n\nconst instance = new EventStores()\nexport default instance\n\nexport type { EventStore, EventStores, EventStoreType }\n"]}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkQMBAV3D2_cjs = require('./chunk-QMBAV3D2.cjs');
5
+ var chunkI7LHMPOY_cjs = require('./chunk-I7LHMPOY.cjs');
6
6
  require('./chunk-L7FT6NDZ.cjs');
7
7
  require('./chunk-3GOADUES.cjs');
8
8
  require('./chunk-UQQTNQX3.cjs');
@@ -17,19 +17,19 @@ require('./chunk-JEQ2X3Z6.cjs');
17
17
 
18
18
  Object.defineProperty(exports, "CommerceLayer", {
19
19
  enumerable: true,
20
- get: function () { return chunkQMBAV3D2_cjs.CommerceLayer; }
20
+ get: function () { return chunkI7LHMPOY_cjs.CommerceLayer; }
21
21
  });
22
22
  Object.defineProperty(exports, "CommerceLayerClient", {
23
23
  enumerable: true,
24
- get: function () { return chunkQMBAV3D2_cjs.CommerceLayerClient; }
24
+ get: function () { return chunkI7LHMPOY_cjs.CommerceLayerClient; }
25
25
  });
26
26
  Object.defineProperty(exports, "OPEN_API_SCHEMA_VERSION", {
27
27
  enumerable: true,
28
- get: function () { return chunkQMBAV3D2_cjs.OPEN_API_SCHEMA_VERSION; }
28
+ get: function () { return chunkI7LHMPOY_cjs.OPEN_API_SCHEMA_VERSION; }
29
29
  });
30
30
  Object.defineProperty(exports, "default", {
31
31
  enumerable: true,
32
- get: function () { return chunkQMBAV3D2_cjs.commercelayer_default; }
32
+ get: function () { return chunkI7LHMPOY_cjs.commercelayer_default; }
33
33
  });
34
34
  //# sourceMappingURL=commercelayer.cjs.map
35
35
  //# sourceMappingURL=commercelayer.cjs.map
@@ -1,15 +1,15 @@
1
1
  import { ApiError } from './error.cjs';
2
2
  import { g as RequestInterceptor, E as ErrorInterceptor, i as ResponseInterceptor, f as InterceptorType, R as RawResponseReader } from './fetch-DQyRNxTg.cjs';
3
- import { i5 as ResourcesInitConfig } from './api-BDCNfn2Y.cjs';
3
+ import { i5 as ResourcesInitConfig } from './api-1MadbJ5r.cjs';
4
4
  import './client.cjs';
5
5
  import './types.cjs';
6
6
 
7
- declare const OPEN_API_SCHEMA_VERSION = "7.10.1";
7
+ declare const OPEN_API_SCHEMA_VERSION = "7.10.2";
8
8
  type SdkConfig = {};
9
9
  type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
10
10
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
11
11
  declare class CommerceLayerClient {
12
- readonly openApiSchemaVersion = "7.10.1";
12
+ readonly openApiSchemaVersion = "7.10.2";
13
13
  protected static cl: CommerceLayerClient;
14
14
  static get(config?: CommerceLayerInitConfig): CommerceLayerClient;
15
15
  protected constructor(config: CommerceLayerInitConfig);
@@ -1,15 +1,15 @@
1
1
  import { ApiError } from './error.js';
2
2
  import { g as RequestInterceptor, E as ErrorInterceptor, i as ResponseInterceptor, f as InterceptorType, R as RawResponseReader } from './fetch-DQyRNxTg.js';
3
- import { i5 as ResourcesInitConfig } from './api-X5Fgi78h.js';
3
+ import { i5 as ResourcesInitConfig } from './api-Cn4znEVC.js';
4
4
  import './client.js';
5
5
  import './types.js';
6
6
 
7
- declare const OPEN_API_SCHEMA_VERSION = "7.10.1";
7
+ declare const OPEN_API_SCHEMA_VERSION = "7.10.2";
8
8
  type SdkConfig = {};
9
9
  type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
10
10
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
11
11
  declare class CommerceLayerClient {
12
- readonly openApiSchemaVersion = "7.10.1";
12
+ readonly openApiSchemaVersion = "7.10.2";
13
13
  protected static cl: CommerceLayerClient;
14
14
  static get(config?: CommerceLayerInitConfig): CommerceLayerClient;
15
15
  protected constructor(config: CommerceLayerInitConfig);
@@ -1,4 +1,4 @@
1
- export { CommerceLayer, CommerceLayerClient, OPEN_API_SCHEMA_VERSION, commercelayer_default as default } from './chunk-ACEZ46QR.js';
1
+ export { CommerceLayer, CommerceLayerClient, OPEN_API_SCHEMA_VERSION, commercelayer_default as default } from './chunk-I4EPVSJX.js';
2
2
  import './chunk-YRCCY6RV.js';
3
3
  import './chunk-2D7XHAVQ.js';
4
4
  import './chunk-IKCYKGYL.js';
package/lib/enum.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { bj as CreatableResource, bk as CreatableResourceType, b$ as DeletableResource, c0 as DeletableResourceType, eP as ListableResource, eQ as ListableResourceType, hX as ResourceFields, i0 as ResourceSortFields, i2 as ResourceTypeLock, i6 as RetrievableResource, i7 as RetrievableResourceType, kz as TaggableResource, kA as TaggableResourceType, l6 as UpdatableResource, l7 as UpdatableResourceType, lv as creatableResources, lw as deletableResources, lz as getResources, lA as getSingletons, nE as isCreatable, nF as isDeletable, nJ as isSingleton, nK as isTaggable, nL as isUpdatable, nM as resourceList, nN as singletonList, nO as taggableResources, nP as updatableResources } from './api-BDCNfn2Y.cjs';
1
+ export { bj as CreatableResource, bk as CreatableResourceType, b$ as DeletableResource, c0 as DeletableResourceType, eP as ListableResource, eQ as ListableResourceType, hX as ResourceFields, i0 as ResourceSortFields, i2 as ResourceTypeLock, i6 as RetrievableResource, i7 as RetrievableResourceType, kz as TaggableResource, kA as TaggableResourceType, l6 as UpdatableResource, l7 as UpdatableResourceType, lv as creatableResources, lw as deletableResources, lz as getResources, lA as getSingletons, nE as isCreatable, nF as isDeletable, nJ as isSingleton, nK as isTaggable, nL as isUpdatable, nM as resourceList, nN as singletonList, nO as taggableResources, nP as updatableResources } from './api-1MadbJ5r.cjs';
2
2
  import './client.cjs';
3
3
  import './fetch-DQyRNxTg.cjs';
4
4
  import './types.cjs';
package/lib/enum.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { bj as CreatableResource, bk as CreatableResourceType, b$ as DeletableResource, c0 as DeletableResourceType, eP as ListableResource, eQ as ListableResourceType, hX as ResourceFields, i0 as ResourceSortFields, i2 as ResourceTypeLock, i6 as RetrievableResource, i7 as RetrievableResourceType, kz as TaggableResource, kA as TaggableResourceType, l6 as UpdatableResource, l7 as UpdatableResourceType, lv as creatableResources, lw as deletableResources, lz as getResources, lA as getSingletons, nE as isCreatable, nF as isDeletable, nJ as isSingleton, nK as isTaggable, nL as isUpdatable, nM as resourceList, nN as singletonList, nO as taggableResources, nP as updatableResources } from './api-X5Fgi78h.js';
1
+ export { bj as CreatableResource, bk as CreatableResourceType, b$ as DeletableResource, c0 as DeletableResourceType, eP as ListableResource, eQ as ListableResourceType, hX as ResourceFields, i0 as ResourceSortFields, i2 as ResourceTypeLock, i6 as RetrievableResource, i7 as RetrievableResourceType, kz as TaggableResource, kA as TaggableResourceType, l6 as UpdatableResource, l7 as UpdatableResourceType, lv as creatableResources, lw as deletableResources, lz as getResources, lA as getSingletons, nE as isCreatable, nF as isDeletable, nJ as isSingleton, nK as isTaggable, nL as isUpdatable, nM as resourceList, nN as singletonList, nO as taggableResources, nP as updatableResources } from './api-Cn4znEVC.js';
2
2
  import './client.js';
3
3
  import './fetch-DQyRNxTg.js';
4
4
  import './types.js';
package/lib/index.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkRR3QOFY6_cjs = require('./chunk-RR3QOFY6.cjs');
5
+ var chunkFAX5NCHT_cjs = require('./chunk-FAX5NCHT.cjs');
6
6
  require('./chunk-5YMHXTJG.cjs');
7
7
  var chunkUL4JQZUD_cjs = require('./chunk-UL4JQZUD.cjs');
8
8
  var chunkA77RAUIU_cjs = require('./chunk-A77RAUIU.cjs');
@@ -59,7 +59,7 @@ var chunk2CMJ2SZM_cjs = require('./chunk-2CMJ2SZM.cjs');
59
59
  var chunkL4PEYYXQ_cjs = require('./chunk-L4PEYYXQ.cjs');
60
60
  var chunkY4GGZ4EQ_cjs = require('./chunk-Y4GGZ4EQ.cjs');
61
61
  var chunk4S3I222F_cjs = require('./chunk-4S3I222F.cjs');
62
- var chunkLFNJLWV4_cjs = require('./chunk-LFNJLWV4.cjs');
62
+ var chunkVUEZCOXT_cjs = require('./chunk-VUEZCOXT.cjs');
63
63
  var chunk2QXENUO7_cjs = require('./chunk-2QXENUO7.cjs');
64
64
  var chunkKC46F2PJ_cjs = require('./chunk-KC46F2PJ.cjs');
65
65
  var chunk4ZIGP3FO_cjs = require('./chunk-4ZIGP3FO.cjs');
@@ -86,7 +86,7 @@ var chunkMHNJALUB_cjs = require('./chunk-MHNJALUB.cjs');
86
86
  var chunkH6K62JGC_cjs = require('./chunk-H6K62JGC.cjs');
87
87
  var chunkP5EEPVZA_cjs = require('./chunk-P5EEPVZA.cjs');
88
88
  var chunkM7SVKQ7R_cjs = require('./chunk-M7SVKQ7R.cjs');
89
- var chunkQCY5BXWM_cjs = require('./chunk-QCY5BXWM.cjs');
89
+ var chunkQIN5DNKJ_cjs = require('./chunk-QIN5DNKJ.cjs');
90
90
  var chunk4E5BE47D_cjs = require('./chunk-4E5BE47D.cjs');
91
91
  var chunkRKD7U6QH_cjs = require('./chunk-RKD7U6QH.cjs');
92
92
  var chunkCQXW23HJ_cjs = require('./chunk-CQXW23HJ.cjs');
@@ -102,9 +102,9 @@ var chunkA7BK3Z22_cjs = require('./chunk-A7BK3Z22.cjs');
102
102
  var chunkZGX3A2OH_cjs = require('./chunk-ZGX3A2OH.cjs');
103
103
  var chunk3PAID2YG_cjs = require('./chunk-3PAID2YG.cjs');
104
104
  var chunkCJPAOOG5_cjs = require('./chunk-CJPAOOG5.cjs');
105
- var chunk536MZPMI_cjs = require('./chunk-536MZPMI.cjs');
105
+ var chunkYNWHCH2N_cjs = require('./chunk-YNWHCH2N.cjs');
106
106
  var chunkINBIEH6H_cjs = require('./chunk-INBIEH6H.cjs');
107
- var chunkFB6DA6TM_cjs = require('./chunk-FB6DA6TM.cjs');
107
+ var chunkCSCAHLQ3_cjs = require('./chunk-CSCAHLQ3.cjs');
108
108
  var chunk2VI6OWLV_cjs = require('./chunk-2VI6OWLV.cjs');
109
109
  var chunkZJE7A6E6_cjs = require('./chunk-ZJE7A6E6.cjs');
110
110
  var chunkYYAEAKBO_cjs = require('./chunk-YYAEAKBO.cjs');
@@ -118,7 +118,7 @@ var chunkJGTC32IT_cjs = require('./chunk-JGTC32IT.cjs');
118
118
  var chunkFUQA5XT7_cjs = require('./chunk-FUQA5XT7.cjs');
119
119
  var chunkO6QJMGK7_cjs = require('./chunk-O6QJMGK7.cjs');
120
120
  var chunkXPPCVN6T_cjs = require('./chunk-XPPCVN6T.cjs');
121
- var chunkJEOA64GW_cjs = require('./chunk-JEOA64GW.cjs');
121
+ var chunk4OM2Y7BS_cjs = require('./chunk-4OM2Y7BS.cjs');
122
122
  var chunkQDZI3I46_cjs = require('./chunk-QDZI3I46.cjs');
123
123
  var chunkVB7XUWBF_cjs = require('./chunk-VB7XUWBF.cjs');
124
124
  var chunkPULH7AI4_cjs = require('./chunk-PULH7AI4.cjs');
@@ -135,7 +135,7 @@ var chunkJE3P5NJP_cjs = require('./chunk-JE3P5NJP.cjs');
135
135
  var chunkDHGTIF6A_cjs = require('./chunk-DHGTIF6A.cjs');
136
136
  var chunkSGXMH2JP_cjs = require('./chunk-SGXMH2JP.cjs');
137
137
  var chunkLHESCZ5L_cjs = require('./chunk-LHESCZ5L.cjs');
138
- var chunkQMBAV3D2_cjs = require('./chunk-QMBAV3D2.cjs');
138
+ var chunkI7LHMPOY_cjs = require('./chunk-I7LHMPOY.cjs');
139
139
  require('./chunk-L7FT6NDZ.cjs');
140
140
  require('./chunk-3GOADUES.cjs');
141
141
  require('./chunk-UQQTNQX3.cjs');
@@ -150,7 +150,7 @@ require('./chunk-JEQ2X3Z6.cjs');
150
150
 
151
151
  Object.defineProperty(exports, "CommerceLayerStatic", {
152
152
  enumerable: true,
153
- get: function () { return chunkRR3QOFY6_cjs.CommerceLayerStatic; }
153
+ get: function () { return chunkFAX5NCHT_cjs.CommerceLayerStatic; }
154
154
  });
155
155
  Object.defineProperty(exports, "transactions", {
156
156
  enumerable: true,
@@ -374,7 +374,7 @@ Object.defineProperty(exports, "orders", {
374
374
  });
375
375
  Object.defineProperty(exports, "organization", {
376
376
  enumerable: true,
377
- get: function () { return chunkLFNJLWV4_cjs.organizations_default; }
377
+ get: function () { return chunkVUEZCOXT_cjs.organizations_default; }
378
378
  });
379
379
  Object.defineProperty(exports, "packages", {
380
380
  enumerable: true,
@@ -482,7 +482,7 @@ Object.defineProperty(exports, "google_geocoders", {
482
482
  });
483
483
  Object.defineProperty(exports, "imports", {
484
484
  enumerable: true,
485
- get: function () { return chunkQCY5BXWM_cjs.imports_default; }
485
+ get: function () { return chunkQIN5DNKJ_cjs.imports_default; }
486
486
  });
487
487
  Object.defineProperty(exports, "in_stock_subscriptions", {
488
488
  enumerable: true,
@@ -546,7 +546,7 @@ Object.defineProperty(exports, "event_callbacks", {
546
546
  });
547
547
  Object.defineProperty(exports, "event_stores", {
548
548
  enumerable: true,
549
- get: function () { return chunk536MZPMI_cjs.event_stores_default; }
549
+ get: function () { return chunkYNWHCH2N_cjs.event_stores_default; }
550
550
  });
551
551
  Object.defineProperty(exports, "events", {
552
552
  enumerable: true,
@@ -554,7 +554,7 @@ Object.defineProperty(exports, "events", {
554
554
  });
555
555
  Object.defineProperty(exports, "exports", {
556
556
  enumerable: true,
557
- get: function () { return chunkFB6DA6TM_cjs.exports_default; }
557
+ get: function () { return chunkCSCAHLQ3_cjs.exports_default; }
558
558
  });
559
559
  Object.defineProperty(exports, "coupons", {
560
560
  enumerable: true,
@@ -610,7 +610,7 @@ Object.defineProperty(exports, "checkout_com_payments", {
610
610
  });
611
611
  Object.defineProperty(exports, "cleanups", {
612
612
  enumerable: true,
613
- get: function () { return chunkJEOA64GW_cjs.cleanups_default; }
613
+ get: function () { return chunk4OM2Y7BS_cjs.cleanups_default; }
614
614
  });
615
615
  Object.defineProperty(exports, "coupon_codes_promotion_rules", {
616
616
  enumerable: true,
@@ -678,11 +678,11 @@ Object.defineProperty(exports, "attachments", {
678
678
  });
679
679
  Object.defineProperty(exports, "CommerceLayer", {
680
680
  enumerable: true,
681
- get: function () { return chunkQMBAV3D2_cjs.CommerceLayer; }
681
+ get: function () { return chunkI7LHMPOY_cjs.CommerceLayer; }
682
682
  });
683
683
  Object.defineProperty(exports, "default", {
684
684
  enumerable: true,
685
- get: function () { return chunkQMBAV3D2_cjs.commercelayer_default; }
685
+ get: function () { return chunkI7LHMPOY_cjs.commercelayer_default; }
686
686
  });
687
687
  //# sourceMappingURL=index.cjs.map
688
688
  //# sourceMappingURL=index.cjs.map
package/lib/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import _default from './commercelayer.cjs';
2
- export { A as Address, a as AddressCreate, b as AddressSort, d as AddressUpdate, e as Addresses, f as Adjustment, g as AdjustmentCreate, h as AdjustmentSort, j as AdjustmentUpdate, k as Adjustments, l as AdyenGateway, m as AdyenGatewayCreate, n as AdyenGatewaySort, p as AdyenGatewayUpdate, q as AdyenGateways, r as AdyenPayment, s as AdyenPaymentCreate, t as AdyenPaymentSort, v as AdyenPaymentUpdate, w as AdyenPayments, x as ApiResource, z as ApiSingleton, B as Application, C as ApplicationSort, E as Applications, F as Attachment, G as AttachmentCreate, H as AttachmentSort, J as AttachmentUpdate, K as Attachments, L as Authorization, M as AuthorizationSort, O as AuthorizationUpdate, P as Authorizations, Q as AvalaraAccount, R as AvalaraAccountCreate, S as AvalaraAccountSort, U as AvalaraAccountUpdate, V as AvalaraAccounts, W as AxerveGateway, X as AxerveGatewayCreate, Y as AxerveGatewaySort, _ as AxerveGatewayUpdate, $ as AxerveGateways, a0 as AxervePayment, a1 as AxervePaymentCreate, a2 as AxervePaymentSort, a4 as AxervePaymentUpdate, a5 as AxervePayments, a6 as BingGeocoder, a7 as BingGeocoderCreate, a8 as BingGeocoderSort, aa as BingGeocoderUpdate, ab as BingGeocoders, ac as BraintreeGateway, ad as BraintreeGatewayCreate, ae as BraintreeGatewaySort, ag as BraintreeGatewayUpdate, ah as BraintreeGateways, ai as BraintreePayment, aj as BraintreePaymentCreate, ak as BraintreePaymentSort, am as BraintreePaymentUpdate, an as BraintreePayments, ao as Bundle, ap as BundleCreate, aq as BundleSort, as as BundleUpdate, at as Bundles, au as BuyXPayYPromotion, av as BuyXPayYPromotionCreate, aw as BuyXPayYPromotionSort, ay as BuyXPayYPromotionUpdate, az as BuyXPayYPromotions, aA as Capture, aB as CaptureSort, aD as CaptureUpdate, aE as Captures, aF as CarrierAccount, aG as CarrierAccountCreate, aH as CarrierAccountSort, aJ as CarrierAccountUpdate, aK as CarrierAccounts, aL as CheckoutComGateway, aM as CheckoutComGatewayCreate, aN as CheckoutComGatewaySort, aP as CheckoutComGatewayUpdate, aQ as CheckoutComGateways, aR as CheckoutComPayment, aS as CheckoutComPaymentCreate, aT as CheckoutComPaymentSort, aV as CheckoutComPaymentUpdate, aW as CheckoutComPayments, aX as Cleanup, aY as CleanupCreate, aZ as CleanupSort, a$ as CleanupUpdate, b0 as Cleanups, b1 as Coupon, b2 as CouponCodesPromotionRule, b3 as CouponCodesPromotionRuleCreate, b4 as CouponCodesPromotionRuleSort, b6 as CouponCodesPromotionRuleUpdate, b7 as CouponCodesPromotionRules, b8 as CouponCreate, b9 as CouponRecipient, ba as CouponRecipientCreate, bb as CouponRecipientSort, bd as CouponRecipientUpdate, be as CouponRecipients, bf as CouponSort, bh as CouponUpdate, bi as Coupons, bj as CreatableResource, bk as CreatableResourceType, bl as CustomPromotionRule, bm as CustomPromotionRuleCreate, bn as CustomPromotionRuleSort, bp as CustomPromotionRuleUpdate, bq as CustomPromotionRules, br as Customer, bs as CustomerAddress, bt as CustomerAddressCreate, bu as CustomerAddressSort, bw as CustomerAddressUpdate, bx as CustomerAddresses, by as CustomerCreate, bz as CustomerGroup, bA as CustomerGroupCreate, bB as CustomerGroupSort, bD as CustomerGroupUpdate, bE as CustomerGroups, bF as CustomerPasswordReset, bG as CustomerPasswordResetCreate, bH as CustomerPasswordResetSort, bJ as CustomerPasswordResetUpdate, bK as CustomerPasswordResets, bL as CustomerPaymentSource, bM as CustomerPaymentSourceCreate, bN as CustomerPaymentSourceSort, bP as CustomerPaymentSourceUpdate, bQ as CustomerPaymentSources, bR as CustomerSort, bS as CustomerSubscription, bT as CustomerSubscriptionCreate, bU as CustomerSubscriptionSort, bW as CustomerSubscriptionUpdate, bX as CustomerSubscriptions, bZ as CustomerUpdate, b_ as Customers, b$ as DeletableResource, c0 as DeletableResourceType, c1 as DeliveryLeadTime, c2 as DeliveryLeadTimeCreate, c3 as DeliveryLeadTimeSort, c5 as DeliveryLeadTimeUpdate, c6 as DeliveryLeadTimes, c7 as DiscountEngine, c8 as DiscountEngineItem, c9 as DiscountEngineItemSort, cb as DiscountEngineItems, cc as DiscountEngineSort, ce as DiscountEngines, cf as EasypostPickup, cg as EasypostPickupCreate, ch as EasypostPickupSort, cj as EasypostPickupUpdate, ck as EasypostPickups, cl as Event, cm as EventCallback, cn as EventCallbackSort, cp as EventCallbacks, cq as EventSort, cr as EventStore, cs as EventStoreSort, cu as EventStores, cw as EventUpdate, cx as Events, cy as Export, cz as ExportCreate, cA as ExportSort, cC as ExportUpdate, cD as Exports, cE as ExternalGateway, cF as ExternalGatewayCreate, cG as ExternalGatewaySort, cI as ExternalGatewayUpdate, cJ as ExternalGateways, cK as ExternalPayment, cL as ExternalPaymentCreate, cM as ExternalPaymentSort, cO as ExternalPaymentUpdate, cP as ExternalPayments, cQ as ExternalPromotion, cR as ExternalPromotionCreate, cS as ExternalPromotionSort, cU as ExternalPromotionUpdate, cV as ExternalPromotions, cW as ExternalTaxCalculator, cX as ExternalTaxCalculatorCreate, cY as ExternalTaxCalculatorSort, c_ as ExternalTaxCalculatorUpdate, c$ as ExternalTaxCalculators, d0 as FixedAmountPromotion, d1 as FixedAmountPromotionCreate, d2 as FixedAmountPromotionSort, d4 as FixedAmountPromotionUpdate, d5 as FixedAmountPromotions, d6 as FixedPricePromotion, d7 as FixedPricePromotionCreate, d8 as FixedPricePromotionSort, da as FixedPricePromotionUpdate, db as FixedPricePromotions, dc as FlexPromotion, dd as FlexPromotionCreate, de as FlexPromotionSort, dg as FlexPromotionUpdate, dh as FlexPromotions, di as FreeGiftPromotion, dj as FreeGiftPromotionCreate, dk as FreeGiftPromotionSort, dm as FreeGiftPromotionUpdate, dn as FreeGiftPromotions, dp as FreeShippingPromotion, dq as FreeShippingPromotionCreate, dr as FreeShippingPromotionSort, dt as FreeShippingPromotionUpdate, du as FreeShippingPromotions, dv as Geocoder, dw as GeocoderSort, dy as Geocoders, dz as GiftCard, dA as GiftCardCreate, dB as GiftCardRecipient, dC as GiftCardRecipientCreate, dD as GiftCardRecipientSort, dF as GiftCardRecipientUpdate, dG as GiftCardRecipients, dH as GiftCardSort, dJ as GiftCardUpdate, dK as GiftCards, dL as GoogleGeocoder, dM as GoogleGeocoderCreate, dN as GoogleGeocoderSort, dP as GoogleGeocoderUpdate, dQ as GoogleGeocoders, dR as Import, dS as ImportCreate, dT as ImportSort, dV as ImportUpdate, dW as Imports, dX as InStockSubscription, dY as InStockSubscriptionCreate, dZ as InStockSubscriptionSort, d$ as InStockSubscriptionUpdate, e0 as InStockSubscriptions, e1 as InventoryModel, e2 as InventoryModelCreate, e3 as InventoryModelSort, e5 as InventoryModelUpdate, e6 as InventoryModels, e7 as InventoryReturnLocation, e8 as InventoryReturnLocationCreate, e9 as InventoryReturnLocationSort, eb as InventoryReturnLocationUpdate, ec as InventoryReturnLocations, ed as InventoryStockLocation, ee as InventoryStockLocationCreate, ef as InventoryStockLocationSort, eh as InventoryStockLocationUpdate, ei as InventoryStockLocations, ej as KlarnaGateway, ek as KlarnaGatewayCreate, el as KlarnaGatewaySort, en as KlarnaGatewayUpdate, eo as KlarnaGateways, ep as KlarnaPayment, eq as KlarnaPaymentCreate, er as KlarnaPaymentSort, et as KlarnaPaymentUpdate, eu as KlarnaPayments, ev as LineItem, ew as LineItemCreate, ex as LineItemOption, ey as LineItemOptionCreate, ez as LineItemOptionSort, eB as LineItemOptionUpdate, eC as LineItemOptions, eD as LineItemSort, eF as LineItemUpdate, eG as LineItems, eH as Link, eI as LinkCreate, eJ as LinkSort, eL as LinkUpdate, eM as Links, eN as ListMeta, eO as ListResponse, eP as ListableResource, eQ as ListableResourceType, eR as ManualGateway, eS as ManualGatewayCreate, eT as ManualGatewaySort, eV as ManualGatewayUpdate, eW as ManualGateways, eX as ManualTaxCalculator, eY as ManualTaxCalculatorCreate, eZ as ManualTaxCalculatorSort, e$ as ManualTaxCalculatorUpdate, f0 as ManualTaxCalculators, f1 as Market, f2 as MarketCreate, f3 as MarketSort, f5 as MarketUpdate, f6 as Markets, f7 as Merchant, f8 as MerchantCreate, f9 as MerchantSort, fb as MerchantUpdate, fc as Merchants, fd as Metadata, fe as Notification, ff as NotificationCreate, fg as NotificationSort, fi as NotificationUpdate, fj as Notifications, fk as Order, fl as OrderAmountPromotionRule, fm as OrderAmountPromotionRuleCreate, fn as OrderAmountPromotionRuleSort, fp as OrderAmountPromotionRuleUpdate, fq as OrderAmountPromotionRules, fr as OrderCopies, fs as OrderCopy, ft as OrderCopyCreate, fu as OrderCopySort, fw as OrderCopyUpdate, fx as OrderCreate, fy as OrderFactories, fz as OrderFactory, fA as OrderFactorySort, fC as OrderSort, fD as OrderSubscription, fE as OrderSubscriptionCreate, fF as OrderSubscriptionItem, fG as OrderSubscriptionItemCreate, fH as OrderSubscriptionItemSort, fJ as OrderSubscriptionItemUpdate, fK as OrderSubscriptionItems, fL as OrderSubscriptionSort, fN as OrderSubscriptionUpdate, fO as OrderSubscriptions, fQ as OrderUpdate, fR as Orders, fS as Organization, fT as OrganizationSort, fV as Organizations, fW as Package, fX as PackageCreate, fY as PackageSort, f_ as PackageUpdate, f$ as Packages, g0 as Parcel, g1 as ParcelCreate, g2 as ParcelLineItem, g3 as ParcelLineItemCreate, g4 as ParcelLineItemSort, g6 as ParcelLineItemUpdate, g7 as ParcelLineItems, g8 as ParcelSort, ga as ParcelUpdate, gb as Parcels, gc as PaymentGateway, gd as PaymentGatewaySort, gf as PaymentGateways, gg as PaymentMethod, gh as PaymentMethodCreate, gi as PaymentMethodSort, gk as PaymentMethodUpdate, gl as PaymentMethods, gm as PaymentOption, gn as PaymentOptionCreate, go as PaymentOptionSort, gq as PaymentOptionUpdate, gr as PaymentOptions, gs as PaypalGateway, gt as PaypalGatewayCreate, gu as PaypalGatewaySort, gw as PaypalGatewayUpdate, gx as PaypalGateways, gy as PaypalPayment, gz as PaypalPaymentCreate, gA as PaypalPaymentSort, gC as PaypalPaymentUpdate, gD as PaypalPayments, gE as PercentageDiscountPromotion, gF as PercentageDiscountPromotionCreate, gG as PercentageDiscountPromotionSort, gI as PercentageDiscountPromotionUpdate, gJ as PercentageDiscountPromotions, gK as Pickup, gL as PickupSort, gN as Pickups, gO as Price, gP as PriceCreate, gQ as PriceFrequencyTier, gR as PriceFrequencyTierCreate, gS as PriceFrequencyTierSort, gU as PriceFrequencyTierUpdate, gV as PriceFrequencyTiers, gW as PriceList, gX as PriceListCreate, gY as PriceListScheduler, gZ as PriceListSchedulerCreate, g_ as PriceListSchedulerSort, h0 as PriceListSchedulerUpdate, h1 as PriceListSchedulers, h2 as PriceListSort, h4 as PriceListUpdate, h5 as PriceLists, h6 as PriceSort, h7 as PriceTier, h8 as PriceTierSort, ha as PriceTiers, hc as PriceUpdate, hd as PriceVolumeTier, he as PriceVolumeTierCreate, hf as PriceVolumeTierSort, hh as PriceVolumeTierUpdate, hi as PriceVolumeTiers, hj as Prices, hk as Promotion, hl as PromotionRule, hm as PromotionRuleSort, ho as PromotionRules, hp as PromotionSort, hr as Promotions, hs as QueryFields, ht as QueryFilter, hu as QueryInclude, hv as QueryPageNumber, hw as QueryPageSize, hx as QueryParams, hy as QueryParamsList, hz as QueryParamsRetrieve, hA as QuerySort, hB as RecurringOrderCopies, hC as RecurringOrderCopy, hD as RecurringOrderCopyCreate, hE as RecurringOrderCopySort, hG as RecurringOrderCopyUpdate, hH as Refund, hI as RefundSort, hK as RefundUpdate, hL as Refunds, hM as ReservedStock, hN as ReservedStockSort, hP as ReservedStocks, hQ as Resource, hS as ResourceCreate, hT as ResourceError, hU as ResourceErrorSort, hW as ResourceErrors, hY as ResourceFilter, hZ as ResourceId, h_ as ResourceRel, h$ as ResourceSort, i1 as ResourceType, i2 as ResourceTypeLock, i3 as ResourceUpdate, i4 as ResourcesConfig, i5 as ResourcesInitConfig, i6 as RetrievableResource, i7 as RetrievableResourceType, i8 as Return, i9 as ReturnCreate, ia as ReturnLineItem, ib as ReturnLineItemCreate, ic as ReturnLineItemSort, ie as ReturnLineItemUpdate, ig as ReturnLineItems, ih as ReturnSort, ij as ReturnUpdate, ik as Returns, il as SatispayGateway, im as SatispayGatewayCreate, io as SatispayGatewaySort, iq as SatispayGatewayUpdate, ir as SatispayGateways, is as SatispayPayment, it as SatispayPaymentCreate, iu as SatispayPaymentSort, iw as SatispayPaymentUpdate, ix as SatispayPayments, iy as Shipment, iz as ShipmentCreate, iA as ShipmentSort, iC as ShipmentUpdate, iD as Shipments, iE as ShippingCategories, iF as ShippingCategory, iG as ShippingCategoryCreate, iH as ShippingCategorySort, iJ as ShippingCategoryUpdate, iK as ShippingMethod, iL as ShippingMethodCreate, iM as ShippingMethodSort, iN as ShippingMethodTier, iO as ShippingMethodTierSort, iQ as ShippingMethodTiers, iS as ShippingMethodUpdate, iT as ShippingMethods, iU as ShippingWeightTier, iV as ShippingWeightTierCreate, iW as ShippingWeightTierSort, iY as ShippingWeightTierUpdate, iZ as ShippingWeightTiers, i_ as ShippingZone, i$ as ShippingZoneCreate, j0 as ShippingZoneSort, j2 as ShippingZoneUpdate, j3 as ShippingZones, j4 as Sku, j5 as SkuCreate, j6 as SkuList, j7 as SkuListCreate, j8 as SkuListItem, j9 as SkuListItemCreate, ja as SkuListItemSort, jc as SkuListItemUpdate, jd as SkuListItems, je as SkuListPromotionRule, jf as SkuListPromotionRuleCreate, jg as SkuListPromotionRuleSort, ji as SkuListPromotionRuleUpdate, jj as SkuListPromotionRules, jk as SkuListSort, jm as SkuListUpdate, jn as SkuLists, jo as SkuOption, jp as SkuOptionCreate, jq as SkuOptionSort, js as SkuOptionUpdate, jt as SkuOptions, ju as SkuSort, jw as SkuUpdate, jx as Skus, jy as StockItem, jz as StockItemCreate, jA as StockItemSort, jC as StockItemUpdate, jD as StockItems, jE as StockLineItem, jF as StockLineItemCreate, jG as StockLineItemSort, jI as StockLineItemUpdate, jJ as StockLineItems, jK as StockLocation, jL as StockLocationCreate, jM as StockLocationSort, jO as StockLocationUpdate, jP as StockLocations, jQ as StockReservation, jR as StockReservationCreate, jS as StockReservationSort, jU as StockReservationUpdate, jV as StockReservations, jW as StockTransfer, jX as StockTransferCreate, jY as StockTransferSort, j_ as StockTransferUpdate, j$ as StockTransfers, k0 as Store, k1 as StoreCreate, k2 as StoreSort, k4 as StoreUpdate, k5 as Stores, k6 as StripeGateway, k7 as StripeGatewayCreate, k8 as StripeGatewaySort, ka as StripeGatewayUpdate, kb as StripeGateways, kc as StripePayment, kd as StripePaymentCreate, ke as StripePaymentSort, kg as StripePaymentUpdate, kh as StripePayments, ki as StripeTaxAccount, kj as StripeTaxAccountCreate, kk as StripeTaxAccountSort, km as StripeTaxAccountUpdate, kn as StripeTaxAccounts, ko as SubscriptionModel, kp as SubscriptionModelCreate, kq as SubscriptionModelSort, ks as SubscriptionModelUpdate, kt as SubscriptionModels, ku as Tag, kv as TagCreate, kw as TagSort, ky as TagUpdate, kz as TaggableResource, kA as TaggableResourceType, kB as Tags, kC as TalonOneAccount, kD as TalonOneAccountCreate, kE as TalonOneAccountSort, kG as TalonOneAccountUpdate, kH as TalonOneAccounts, kI as TaxCalculator, kJ as TaxCalculatorSort, kL as TaxCalculators, kM as TaxCategories, kN as TaxCategory, kO as TaxCategoryCreate, kP as TaxCategorySort, kR as TaxCategoryUpdate, kS as TaxRule, kT as TaxRuleCreate, kU as TaxRuleSort, kW as TaxRuleUpdate, kX as TaxRules, kY as TaxjarAccount, kZ as TaxjarAccountCreate, k_ as TaxjarAccountSort, l0 as TaxjarAccountUpdate, l1 as TaxjarAccounts, l2 as Transaction, l3 as TransactionSort, l5 as Transactions, l6 as UpdatableResource, l7 as UpdatableResourceType, l8 as VertexAccount, l9 as VertexAccountCreate, la as VertexAccountSort, lc as VertexAccountUpdate, ld as VertexAccounts, le as Void, lf as VoidSort, lh as VoidUpdate, li as Voids, lj as Webhook, lk as WebhookCreate, ll as WebhookSort, ln as WebhookUpdate, lo as Webhooks, lp as WireTransfer, lq as WireTransferCreate, lr as WireTransferSort, lt as WireTransferUpdate, lu as WireTransfers, lB as addresses, lC as adjustments, lD as adyen_gateways, lE as adyen_payments, lF as application, lG as attachments, lH as authorizations, lI as avalara_accounts, lJ as axerve_gateways, lK as axerve_payments, lL as bing_geocoders, lM as braintree_gateways, lN as braintree_payments, lO as bundles, lP as buy_x_pay_y_promotions, lQ as captures, lR as carrier_accounts, lS as checkout_com_gateways, lT as checkout_com_payments, lU as cleanups, lV as coupon_codes_promotion_rules, lW as coupon_recipients, lX as coupons, lY as custom_promotion_rules, lZ as customer_addresses, l_ as customer_groups, l$ as customer_password_resets, m0 as customer_payment_sources, m1 as customer_subscriptions, m2 as customers, m3 as delivery_lead_times, m4 as discount_engine_items, m5 as discount_engines, m6 as easypost_pickups, m7 as event_callbacks, m8 as event_stores, m9 as events, ma as exports, mb as external_gateways, mc as external_payments, md as external_promotions, me as external_tax_calculators, mf as fixed_amount_promotions, mg as fixed_price_promotions, mh as flex_promotions, mi as free_gift_promotions, mj as free_shipping_promotions, mk as geocoders, ml as gift_card_recipients, mm as gift_cards, mn as google_geocoders, mo as imports, mp as in_stock_subscriptions, mq as inventory_models, mr as inventory_return_locations, ms as inventory_stock_locations, mt as klarna_gateways, mu as klarna_payments, mv as line_item_options, mw as line_items, mx as links, my as manual_gateways, mz as manual_tax_calculators, mA as markets, mB as merchants, mC as notifications, mD as order_amount_promotion_rules, mE as order_copies, mF as order_factories, mG as order_subscription_items, mH as order_subscriptions, mI as orders, mJ as organization, mK as packages, mL as parcel_line_items, mM as parcels, mN as payment_gateways, mO as payment_methods, mP as payment_options, mQ as paypal_gateways, mR as paypal_payments, mS as percentage_discount_promotions, mT as pickups, mU as price_frequency_tiers, mV as price_list_schedulers, mW as price_lists, mX as price_tiers, mY as price_volume_tiers, mZ as prices, m_ as promotion_rules, m$ as promotions, n0 as recurring_order_copies, n1 as refunds, n2 as reserved_stocks, n3 as resource_errors, n4 as return_line_items, n5 as returns, n6 as satispay_gateways, n7 as satispay_payments, n8 as shipments, n9 as shipping_categories, na as shipping_method_tiers, nb as shipping_methods, nc as shipping_weight_tiers, nd as shipping_zones, ne as sku_list_items, nf as sku_list_promotion_rules, ng as sku_lists, nh as sku_options, ni as skus, nj as stock_items, nk as stock_line_items, nl as stock_locations, nm as stock_reservations, nn as stock_transfers, no as stores, np as stripe_gateways, nq as stripe_payments, nr as stripe_tax_accounts, ns as subscription_models, nt as tags, nu as talon_one_accounts, nv as tax_calculators, nw as tax_categories, nx as tax_rules, ny as taxjar_accounts, nz as transactions, nA as vertex_accounts, nB as voids, nC as webhooks, nD as wire_transfers } from './api-BDCNfn2Y.cjs';
2
+ export { A as Address, a as AddressCreate, b as AddressSort, d as AddressUpdate, e as Addresses, f as Adjustment, g as AdjustmentCreate, h as AdjustmentSort, j as AdjustmentUpdate, k as Adjustments, l as AdyenGateway, m as AdyenGatewayCreate, n as AdyenGatewaySort, p as AdyenGatewayUpdate, q as AdyenGateways, r as AdyenPayment, s as AdyenPaymentCreate, t as AdyenPaymentSort, v as AdyenPaymentUpdate, w as AdyenPayments, x as ApiResource, z as ApiSingleton, B as Application, C as ApplicationSort, E as Applications, F as Attachment, G as AttachmentCreate, H as AttachmentSort, J as AttachmentUpdate, K as Attachments, L as Authorization, M as AuthorizationSort, O as AuthorizationUpdate, P as Authorizations, Q as AvalaraAccount, R as AvalaraAccountCreate, S as AvalaraAccountSort, U as AvalaraAccountUpdate, V as AvalaraAccounts, W as AxerveGateway, X as AxerveGatewayCreate, Y as AxerveGatewaySort, _ as AxerveGatewayUpdate, $ as AxerveGateways, a0 as AxervePayment, a1 as AxervePaymentCreate, a2 as AxervePaymentSort, a4 as AxervePaymentUpdate, a5 as AxervePayments, a6 as BingGeocoder, a7 as BingGeocoderCreate, a8 as BingGeocoderSort, aa as BingGeocoderUpdate, ab as BingGeocoders, ac as BraintreeGateway, ad as BraintreeGatewayCreate, ae as BraintreeGatewaySort, ag as BraintreeGatewayUpdate, ah as BraintreeGateways, ai as BraintreePayment, aj as BraintreePaymentCreate, ak as BraintreePaymentSort, am as BraintreePaymentUpdate, an as BraintreePayments, ao as Bundle, ap as BundleCreate, aq as BundleSort, as as BundleUpdate, at as Bundles, au as BuyXPayYPromotion, av as BuyXPayYPromotionCreate, aw as BuyXPayYPromotionSort, ay as BuyXPayYPromotionUpdate, az as BuyXPayYPromotions, aA as Capture, aB as CaptureSort, aD as CaptureUpdate, aE as Captures, aF as CarrierAccount, aG as CarrierAccountCreate, aH as CarrierAccountSort, aJ as CarrierAccountUpdate, aK as CarrierAccounts, aL as CheckoutComGateway, aM as CheckoutComGatewayCreate, aN as CheckoutComGatewaySort, aP as CheckoutComGatewayUpdate, aQ as CheckoutComGateways, aR as CheckoutComPayment, aS as CheckoutComPaymentCreate, aT as CheckoutComPaymentSort, aV as CheckoutComPaymentUpdate, aW as CheckoutComPayments, aX as Cleanup, aY as CleanupCreate, aZ as CleanupSort, a$ as CleanupUpdate, b0 as Cleanups, b1 as Coupon, b2 as CouponCodesPromotionRule, b3 as CouponCodesPromotionRuleCreate, b4 as CouponCodesPromotionRuleSort, b6 as CouponCodesPromotionRuleUpdate, b7 as CouponCodesPromotionRules, b8 as CouponCreate, b9 as CouponRecipient, ba as CouponRecipientCreate, bb as CouponRecipientSort, bd as CouponRecipientUpdate, be as CouponRecipients, bf as CouponSort, bh as CouponUpdate, bi as Coupons, bj as CreatableResource, bk as CreatableResourceType, bl as CustomPromotionRule, bm as CustomPromotionRuleCreate, bn as CustomPromotionRuleSort, bp as CustomPromotionRuleUpdate, bq as CustomPromotionRules, br as Customer, bs as CustomerAddress, bt as CustomerAddressCreate, bu as CustomerAddressSort, bw as CustomerAddressUpdate, bx as CustomerAddresses, by as CustomerCreate, bz as CustomerGroup, bA as CustomerGroupCreate, bB as CustomerGroupSort, bD as CustomerGroupUpdate, bE as CustomerGroups, bF as CustomerPasswordReset, bG as CustomerPasswordResetCreate, bH as CustomerPasswordResetSort, bJ as CustomerPasswordResetUpdate, bK as CustomerPasswordResets, bL as CustomerPaymentSource, bM as CustomerPaymentSourceCreate, bN as CustomerPaymentSourceSort, bP as CustomerPaymentSourceUpdate, bQ as CustomerPaymentSources, bR as CustomerSort, bS as CustomerSubscription, bT as CustomerSubscriptionCreate, bU as CustomerSubscriptionSort, bW as CustomerSubscriptionUpdate, bX as CustomerSubscriptions, bZ as CustomerUpdate, b_ as Customers, b$ as DeletableResource, c0 as DeletableResourceType, c1 as DeliveryLeadTime, c2 as DeliveryLeadTimeCreate, c3 as DeliveryLeadTimeSort, c5 as DeliveryLeadTimeUpdate, c6 as DeliveryLeadTimes, c7 as DiscountEngine, c8 as DiscountEngineItem, c9 as DiscountEngineItemSort, cb as DiscountEngineItems, cc as DiscountEngineSort, ce as DiscountEngines, cf as EasypostPickup, cg as EasypostPickupCreate, ch as EasypostPickupSort, cj as EasypostPickupUpdate, ck as EasypostPickups, cl as Event, cm as EventCallback, cn as EventCallbackSort, cp as EventCallbacks, cq as EventSort, cr as EventStore, cs as EventStoreSort, cu as EventStores, cw as EventUpdate, cx as Events, cy as Export, cz as ExportCreate, cA as ExportSort, cC as ExportUpdate, cD as Exports, cE as ExternalGateway, cF as ExternalGatewayCreate, cG as ExternalGatewaySort, cI as ExternalGatewayUpdate, cJ as ExternalGateways, cK as ExternalPayment, cL as ExternalPaymentCreate, cM as ExternalPaymentSort, cO as ExternalPaymentUpdate, cP as ExternalPayments, cQ as ExternalPromotion, cR as ExternalPromotionCreate, cS as ExternalPromotionSort, cU as ExternalPromotionUpdate, cV as ExternalPromotions, cW as ExternalTaxCalculator, cX as ExternalTaxCalculatorCreate, cY as ExternalTaxCalculatorSort, c_ as ExternalTaxCalculatorUpdate, c$ as ExternalTaxCalculators, d0 as FixedAmountPromotion, d1 as FixedAmountPromotionCreate, d2 as FixedAmountPromotionSort, d4 as FixedAmountPromotionUpdate, d5 as FixedAmountPromotions, d6 as FixedPricePromotion, d7 as FixedPricePromotionCreate, d8 as FixedPricePromotionSort, da as FixedPricePromotionUpdate, db as FixedPricePromotions, dc as FlexPromotion, dd as FlexPromotionCreate, de as FlexPromotionSort, dg as FlexPromotionUpdate, dh as FlexPromotions, di as FreeGiftPromotion, dj as FreeGiftPromotionCreate, dk as FreeGiftPromotionSort, dm as FreeGiftPromotionUpdate, dn as FreeGiftPromotions, dp as FreeShippingPromotion, dq as FreeShippingPromotionCreate, dr as FreeShippingPromotionSort, dt as FreeShippingPromotionUpdate, du as FreeShippingPromotions, dv as Geocoder, dw as GeocoderSort, dy as Geocoders, dz as GiftCard, dA as GiftCardCreate, dB as GiftCardRecipient, dC as GiftCardRecipientCreate, dD as GiftCardRecipientSort, dF as GiftCardRecipientUpdate, dG as GiftCardRecipients, dH as GiftCardSort, dJ as GiftCardUpdate, dK as GiftCards, dL as GoogleGeocoder, dM as GoogleGeocoderCreate, dN as GoogleGeocoderSort, dP as GoogleGeocoderUpdate, dQ as GoogleGeocoders, dR as Import, dS as ImportCreate, dT as ImportSort, dV as ImportUpdate, dW as Imports, dX as InStockSubscription, dY as InStockSubscriptionCreate, dZ as InStockSubscriptionSort, d$ as InStockSubscriptionUpdate, e0 as InStockSubscriptions, e1 as InventoryModel, e2 as InventoryModelCreate, e3 as InventoryModelSort, e5 as InventoryModelUpdate, e6 as InventoryModels, e7 as InventoryReturnLocation, e8 as InventoryReturnLocationCreate, e9 as InventoryReturnLocationSort, eb as InventoryReturnLocationUpdate, ec as InventoryReturnLocations, ed as InventoryStockLocation, ee as InventoryStockLocationCreate, ef as InventoryStockLocationSort, eh as InventoryStockLocationUpdate, ei as InventoryStockLocations, ej as KlarnaGateway, ek as KlarnaGatewayCreate, el as KlarnaGatewaySort, en as KlarnaGatewayUpdate, eo as KlarnaGateways, ep as KlarnaPayment, eq as KlarnaPaymentCreate, er as KlarnaPaymentSort, et as KlarnaPaymentUpdate, eu as KlarnaPayments, ev as LineItem, ew as LineItemCreate, ex as LineItemOption, ey as LineItemOptionCreate, ez as LineItemOptionSort, eB as LineItemOptionUpdate, eC as LineItemOptions, eD as LineItemSort, eF as LineItemUpdate, eG as LineItems, eH as Link, eI as LinkCreate, eJ as LinkSort, eL as LinkUpdate, eM as Links, eN as ListMeta, eO as ListResponse, eP as ListableResource, eQ as ListableResourceType, eR as ManualGateway, eS as ManualGatewayCreate, eT as ManualGatewaySort, eV as ManualGatewayUpdate, eW as ManualGateways, eX as ManualTaxCalculator, eY as ManualTaxCalculatorCreate, eZ as ManualTaxCalculatorSort, e$ as ManualTaxCalculatorUpdate, f0 as ManualTaxCalculators, f1 as Market, f2 as MarketCreate, f3 as MarketSort, f5 as MarketUpdate, f6 as Markets, f7 as Merchant, f8 as MerchantCreate, f9 as MerchantSort, fb as MerchantUpdate, fc as Merchants, fd as Metadata, fe as Notification, ff as NotificationCreate, fg as NotificationSort, fi as NotificationUpdate, fj as Notifications, fk as Order, fl as OrderAmountPromotionRule, fm as OrderAmountPromotionRuleCreate, fn as OrderAmountPromotionRuleSort, fp as OrderAmountPromotionRuleUpdate, fq as OrderAmountPromotionRules, fr as OrderCopies, fs as OrderCopy, ft as OrderCopyCreate, fu as OrderCopySort, fw as OrderCopyUpdate, fx as OrderCreate, fy as OrderFactories, fz as OrderFactory, fA as OrderFactorySort, fC as OrderSort, fD as OrderSubscription, fE as OrderSubscriptionCreate, fF as OrderSubscriptionItem, fG as OrderSubscriptionItemCreate, fH as OrderSubscriptionItemSort, fJ as OrderSubscriptionItemUpdate, fK as OrderSubscriptionItems, fL as OrderSubscriptionSort, fN as OrderSubscriptionUpdate, fO as OrderSubscriptions, fQ as OrderUpdate, fR as Orders, fS as Organization, fT as OrganizationSort, fV as Organizations, fW as Package, fX as PackageCreate, fY as PackageSort, f_ as PackageUpdate, f$ as Packages, g0 as Parcel, g1 as ParcelCreate, g2 as ParcelLineItem, g3 as ParcelLineItemCreate, g4 as ParcelLineItemSort, g6 as ParcelLineItemUpdate, g7 as ParcelLineItems, g8 as ParcelSort, ga as ParcelUpdate, gb as Parcels, gc as PaymentGateway, gd as PaymentGatewaySort, gf as PaymentGateways, gg as PaymentMethod, gh as PaymentMethodCreate, gi as PaymentMethodSort, gk as PaymentMethodUpdate, gl as PaymentMethods, gm as PaymentOption, gn as PaymentOptionCreate, go as PaymentOptionSort, gq as PaymentOptionUpdate, gr as PaymentOptions, gs as PaypalGateway, gt as PaypalGatewayCreate, gu as PaypalGatewaySort, gw as PaypalGatewayUpdate, gx as PaypalGateways, gy as PaypalPayment, gz as PaypalPaymentCreate, gA as PaypalPaymentSort, gC as PaypalPaymentUpdate, gD as PaypalPayments, gE as PercentageDiscountPromotion, gF as PercentageDiscountPromotionCreate, gG as PercentageDiscountPromotionSort, gI as PercentageDiscountPromotionUpdate, gJ as PercentageDiscountPromotions, gK as Pickup, gL as PickupSort, gN as Pickups, gO as Price, gP as PriceCreate, gQ as PriceFrequencyTier, gR as PriceFrequencyTierCreate, gS as PriceFrequencyTierSort, gU as PriceFrequencyTierUpdate, gV as PriceFrequencyTiers, gW as PriceList, gX as PriceListCreate, gY as PriceListScheduler, gZ as PriceListSchedulerCreate, g_ as PriceListSchedulerSort, h0 as PriceListSchedulerUpdate, h1 as PriceListSchedulers, h2 as PriceListSort, h4 as PriceListUpdate, h5 as PriceLists, h6 as PriceSort, h7 as PriceTier, h8 as PriceTierSort, ha as PriceTiers, hc as PriceUpdate, hd as PriceVolumeTier, he as PriceVolumeTierCreate, hf as PriceVolumeTierSort, hh as PriceVolumeTierUpdate, hi as PriceVolumeTiers, hj as Prices, hk as Promotion, hl as PromotionRule, hm as PromotionRuleSort, ho as PromotionRules, hp as PromotionSort, hr as Promotions, hs as QueryFields, ht as QueryFilter, hu as QueryInclude, hv as QueryPageNumber, hw as QueryPageSize, hx as QueryParams, hy as QueryParamsList, hz as QueryParamsRetrieve, hA as QuerySort, hB as RecurringOrderCopies, hC as RecurringOrderCopy, hD as RecurringOrderCopyCreate, hE as RecurringOrderCopySort, hG as RecurringOrderCopyUpdate, hH as Refund, hI as RefundSort, hK as RefundUpdate, hL as Refunds, hM as ReservedStock, hN as ReservedStockSort, hP as ReservedStocks, hQ as Resource, hS as ResourceCreate, hT as ResourceError, hU as ResourceErrorSort, hW as ResourceErrors, hY as ResourceFilter, hZ as ResourceId, h_ as ResourceRel, h$ as ResourceSort, i1 as ResourceType, i2 as ResourceTypeLock, i3 as ResourceUpdate, i4 as ResourcesConfig, i5 as ResourcesInitConfig, i6 as RetrievableResource, i7 as RetrievableResourceType, i8 as Return, i9 as ReturnCreate, ia as ReturnLineItem, ib as ReturnLineItemCreate, ic as ReturnLineItemSort, ie as ReturnLineItemUpdate, ig as ReturnLineItems, ih as ReturnSort, ij as ReturnUpdate, ik as Returns, il as SatispayGateway, im as SatispayGatewayCreate, io as SatispayGatewaySort, iq as SatispayGatewayUpdate, ir as SatispayGateways, is as SatispayPayment, it as SatispayPaymentCreate, iu as SatispayPaymentSort, iw as SatispayPaymentUpdate, ix as SatispayPayments, iy as Shipment, iz as ShipmentCreate, iA as ShipmentSort, iC as ShipmentUpdate, iD as Shipments, iE as ShippingCategories, iF as ShippingCategory, iG as ShippingCategoryCreate, iH as ShippingCategorySort, iJ as ShippingCategoryUpdate, iK as ShippingMethod, iL as ShippingMethodCreate, iM as ShippingMethodSort, iN as ShippingMethodTier, iO as ShippingMethodTierSort, iQ as ShippingMethodTiers, iS as ShippingMethodUpdate, iT as ShippingMethods, iU as ShippingWeightTier, iV as ShippingWeightTierCreate, iW as ShippingWeightTierSort, iY as ShippingWeightTierUpdate, iZ as ShippingWeightTiers, i_ as ShippingZone, i$ as ShippingZoneCreate, j0 as ShippingZoneSort, j2 as ShippingZoneUpdate, j3 as ShippingZones, j4 as Sku, j5 as SkuCreate, j6 as SkuList, j7 as SkuListCreate, j8 as SkuListItem, j9 as SkuListItemCreate, ja as SkuListItemSort, jc as SkuListItemUpdate, jd as SkuListItems, je as SkuListPromotionRule, jf as SkuListPromotionRuleCreate, jg as SkuListPromotionRuleSort, ji as SkuListPromotionRuleUpdate, jj as SkuListPromotionRules, jk as SkuListSort, jm as SkuListUpdate, jn as SkuLists, jo as SkuOption, jp as SkuOptionCreate, jq as SkuOptionSort, js as SkuOptionUpdate, jt as SkuOptions, ju as SkuSort, jw as SkuUpdate, jx as Skus, jy as StockItem, jz as StockItemCreate, jA as StockItemSort, jC as StockItemUpdate, jD as StockItems, jE as StockLineItem, jF as StockLineItemCreate, jG as StockLineItemSort, jI as StockLineItemUpdate, jJ as StockLineItems, jK as StockLocation, jL as StockLocationCreate, jM as StockLocationSort, jO as StockLocationUpdate, jP as StockLocations, jQ as StockReservation, jR as StockReservationCreate, jS as StockReservationSort, jU as StockReservationUpdate, jV as StockReservations, jW as StockTransfer, jX as StockTransferCreate, jY as StockTransferSort, j_ as StockTransferUpdate, j$ as StockTransfers, k0 as Store, k1 as StoreCreate, k2 as StoreSort, k4 as StoreUpdate, k5 as Stores, k6 as StripeGateway, k7 as StripeGatewayCreate, k8 as StripeGatewaySort, ka as StripeGatewayUpdate, kb as StripeGateways, kc as StripePayment, kd as StripePaymentCreate, ke as StripePaymentSort, kg as StripePaymentUpdate, kh as StripePayments, ki as StripeTaxAccount, kj as StripeTaxAccountCreate, kk as StripeTaxAccountSort, km as StripeTaxAccountUpdate, kn as StripeTaxAccounts, ko as SubscriptionModel, kp as SubscriptionModelCreate, kq as SubscriptionModelSort, ks as SubscriptionModelUpdate, kt as SubscriptionModels, ku as Tag, kv as TagCreate, kw as TagSort, ky as TagUpdate, kz as TaggableResource, kA as TaggableResourceType, kB as Tags, kC as TalonOneAccount, kD as TalonOneAccountCreate, kE as TalonOneAccountSort, kG as TalonOneAccountUpdate, kH as TalonOneAccounts, kI as TaxCalculator, kJ as TaxCalculatorSort, kL as TaxCalculators, kM as TaxCategories, kN as TaxCategory, kO as TaxCategoryCreate, kP as TaxCategorySort, kR as TaxCategoryUpdate, kS as TaxRule, kT as TaxRuleCreate, kU as TaxRuleSort, kW as TaxRuleUpdate, kX as TaxRules, kY as TaxjarAccount, kZ as TaxjarAccountCreate, k_ as TaxjarAccountSort, l0 as TaxjarAccountUpdate, l1 as TaxjarAccounts, l2 as Transaction, l3 as TransactionSort, l5 as Transactions, l6 as UpdatableResource, l7 as UpdatableResourceType, l8 as VertexAccount, l9 as VertexAccountCreate, la as VertexAccountSort, lc as VertexAccountUpdate, ld as VertexAccounts, le as Void, lf as VoidSort, lh as VoidUpdate, li as Voids, lj as Webhook, lk as WebhookCreate, ll as WebhookSort, ln as WebhookUpdate, lo as Webhooks, lp as WireTransfer, lq as WireTransferCreate, lr as WireTransferSort, lt as WireTransferUpdate, lu as WireTransfers, lB as addresses, lC as adjustments, lD as adyen_gateways, lE as adyen_payments, lF as application, lG as attachments, lH as authorizations, lI as avalara_accounts, lJ as axerve_gateways, lK as axerve_payments, lL as bing_geocoders, lM as braintree_gateways, lN as braintree_payments, lO as bundles, lP as buy_x_pay_y_promotions, lQ as captures, lR as carrier_accounts, lS as checkout_com_gateways, lT as checkout_com_payments, lU as cleanups, lV as coupon_codes_promotion_rules, lW as coupon_recipients, lX as coupons, lY as custom_promotion_rules, lZ as customer_addresses, l_ as customer_groups, l$ as customer_password_resets, m0 as customer_payment_sources, m1 as customer_subscriptions, m2 as customers, m3 as delivery_lead_times, m4 as discount_engine_items, m5 as discount_engines, m6 as easypost_pickups, m7 as event_callbacks, m8 as event_stores, m9 as events, ma as exports, mb as external_gateways, mc as external_payments, md as external_promotions, me as external_tax_calculators, mf as fixed_amount_promotions, mg as fixed_price_promotions, mh as flex_promotions, mi as free_gift_promotions, mj as free_shipping_promotions, mk as geocoders, ml as gift_card_recipients, mm as gift_cards, mn as google_geocoders, mo as imports, mp as in_stock_subscriptions, mq as inventory_models, mr as inventory_return_locations, ms as inventory_stock_locations, mt as klarna_gateways, mu as klarna_payments, mv as line_item_options, mw as line_items, mx as links, my as manual_gateways, mz as manual_tax_calculators, mA as markets, mB as merchants, mC as notifications, mD as order_amount_promotion_rules, mE as order_copies, mF as order_factories, mG as order_subscription_items, mH as order_subscriptions, mI as orders, mJ as organization, mK as packages, mL as parcel_line_items, mM as parcels, mN as payment_gateways, mO as payment_methods, mP as payment_options, mQ as paypal_gateways, mR as paypal_payments, mS as percentage_discount_promotions, mT as pickups, mU as price_frequency_tiers, mV as price_list_schedulers, mW as price_lists, mX as price_tiers, mY as price_volume_tiers, mZ as prices, m_ as promotion_rules, m$ as promotions, n0 as recurring_order_copies, n1 as refunds, n2 as reserved_stocks, n3 as resource_errors, n4 as return_line_items, n5 as returns, n6 as satispay_gateways, n7 as satispay_payments, n8 as shipments, n9 as shipping_categories, na as shipping_method_tiers, nb as shipping_methods, nc as shipping_weight_tiers, nd as shipping_zones, ne as sku_list_items, nf as sku_list_promotion_rules, ng as sku_lists, nh as sku_options, ni as skus, nj as stock_items, nk as stock_line_items, nl as stock_locations, nm as stock_reservations, nn as stock_transfers, no as stores, np as stripe_gateways, nq as stripe_payments, nr as stripe_tax_accounts, ns as subscription_models, nt as tags, nu as talon_one_accounts, nv as tax_calculators, nw as tax_categories, nx as tax_rules, ny as taxjar_accounts, nz as transactions, nA as vertex_accounts, nB as voids, nC as webhooks, nD as wire_transfers } from './api-1MadbJ5r.cjs';
3
3
  // @ts-ignore
4
4
  export = _default;
5
5
  export { CommerceLayer, CommerceLayerClient, CommerceLayerConfig, CommerceLayerInitConfig } from './commercelayer.cjs';