@commercelayer/sdk 7.5.0 → 7.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/lib/{api-CMxJYHwj.d.ts → api-DrryxHto.d.ts} +430 -27
  2. package/lib/{api-XshEzS_t.d.cts → api-Hc0WV-9j.d.cts} +430 -27
  3. package/lib/api.cjs +22 -22
  4. package/lib/api.d.cts +2 -2
  5. package/lib/api.d.ts +2 -2
  6. package/lib/api.js +11 -11
  7. package/lib/bundle.cjs +24 -24
  8. package/lib/bundle.d.cts +2 -2
  9. package/lib/bundle.d.ts +2 -2
  10. package/lib/bundle.js +12 -12
  11. package/lib/{chunk-FCGKL7AI.cjs → chunk-2C3Z5JNK.cjs} +8 -2
  12. package/lib/chunk-2C3Z5JNK.cjs.map +1 -0
  13. package/lib/{chunk-YPRABQMP.js → chunk-3KNN5WPE.js} +8 -2
  14. package/lib/chunk-3KNN5WPE.js.map +1 -0
  15. package/lib/{chunk-6QOS6B5F.cjs → chunk-3X6OVCVT.cjs} +8 -2
  16. package/lib/chunk-3X6OVCVT.cjs.map +1 -0
  17. package/lib/{chunk-KDQRA5YH.js → chunk-67LLQOPH.js} +8 -2
  18. package/lib/chunk-67LLQOPH.js.map +1 -0
  19. package/lib/{chunk-73VR2FML.cjs → chunk-6DRGTFBA.cjs} +8 -2
  20. package/lib/chunk-6DRGTFBA.cjs.map +1 -0
  21. package/lib/{chunk-7AHYBTEX.js → chunk-A3VWVK2F.js} +2 -2
  22. package/lib/chunk-A3VWVK2F.js.map +1 -0
  23. package/lib/{chunk-TWQ4THAG.js → chunk-A5KAGODH.js} +8 -2
  24. package/lib/chunk-A5KAGODH.js.map +1 -0
  25. package/lib/{chunk-OS5DXUBX.js → chunk-BGH55KTL.js} +8 -2
  26. package/lib/chunk-BGH55KTL.js.map +1 -0
  27. package/lib/{chunk-FXR7URWO.js → chunk-BPUZXZM4.js} +3 -3
  28. package/lib/{chunk-FXR7URWO.js.map → chunk-BPUZXZM4.js.map} +1 -1
  29. package/lib/{chunk-W3TAU6GU.cjs → chunk-EJNNEY2F.cjs} +8 -2
  30. package/lib/chunk-EJNNEY2F.cjs.map +1 -0
  31. package/lib/{chunk-HH3NIT7B.js → chunk-FFX5MED5.js} +8 -2
  32. package/lib/chunk-FFX5MED5.js.map +1 -0
  33. package/lib/{chunk-MCWZ3Z3F.cjs → chunk-H7JSRNFC.cjs} +4 -4
  34. package/lib/{chunk-MCWZ3Z3F.cjs.map → chunk-H7JSRNFC.cjs.map} +1 -1
  35. package/lib/{chunk-YFRXWHOB.js → chunk-HBVSEXIQ.js} +8 -2
  36. package/lib/chunk-HBVSEXIQ.js.map +1 -0
  37. package/lib/{chunk-PIYKFPYB.js → chunk-IR2JJDF5.js} +8 -2
  38. package/lib/chunk-IR2JJDF5.js.map +1 -0
  39. package/lib/{chunk-3SD7QN5M.js → chunk-JD3MI7AO.js} +8 -2
  40. package/lib/chunk-JD3MI7AO.js.map +1 -0
  41. package/lib/{chunk-RDTIBHZO.cjs → chunk-JLLZQ7JR.cjs} +8 -2
  42. package/lib/chunk-JLLZQ7JR.cjs.map +1 -0
  43. package/lib/{chunk-DPIHG4FX.cjs → chunk-LKBPLGXI.cjs} +8 -2
  44. package/lib/chunk-LKBPLGXI.cjs.map +1 -0
  45. package/lib/{chunk-V7377LPP.js → chunk-MBWTMQHA.js} +3 -3
  46. package/lib/{chunk-V7377LPP.js.map → chunk-MBWTMQHA.js.map} +1 -1
  47. package/lib/{chunk-AYM2RMFY.cjs → chunk-NHDSPKJY.cjs} +3 -3
  48. package/lib/{chunk-AYM2RMFY.cjs.map → chunk-NHDSPKJY.cjs.map} +1 -1
  49. package/lib/{chunk-6ZUGJHNV.cjs → chunk-O66EZDG2.cjs} +8 -2
  50. package/lib/chunk-O66EZDG2.cjs.map +1 -0
  51. package/lib/{chunk-A76SFMAB.cjs → chunk-PXSMF4QS.cjs} +8 -2
  52. package/lib/chunk-PXSMF4QS.cjs.map +1 -0
  53. package/lib/{chunk-4ATZM33H.js → chunk-SFFSVEXJ.js} +8 -2
  54. package/lib/chunk-SFFSVEXJ.js.map +1 -0
  55. package/lib/{chunk-DEYOBMM5.js → chunk-VZGJGOH3.js} +8 -2
  56. package/lib/chunk-VZGJGOH3.js.map +1 -0
  57. package/lib/{chunk-WVCUPAHM.cjs → chunk-WLTZ66G4.cjs} +2 -2
  58. package/lib/chunk-WLTZ66G4.cjs.map +1 -0
  59. package/lib/{chunk-YZ4JURI3.cjs → chunk-YDMB4XPA.cjs} +8 -2
  60. package/lib/chunk-YDMB4XPA.cjs.map +1 -0
  61. package/lib/{chunk-II544XO5.cjs → chunk-ZSWW2XGD.cjs} +8 -2
  62. package/lib/chunk-ZSWW2XGD.cjs.map +1 -0
  63. package/lib/client.d.cts +1 -1
  64. package/lib/client.d.ts +1 -1
  65. package/lib/commercelayer.cjs +5 -5
  66. package/lib/commercelayer.d.cts +4 -4
  67. package/lib/commercelayer.d.ts +4 -4
  68. package/lib/commercelayer.js +1 -1
  69. package/lib/config.d.cts +1 -1
  70. package/lib/config.d.ts +1 -1
  71. package/lib/enum.d.cts +2 -2
  72. package/lib/enum.d.ts +2 -2
  73. package/lib/fetch.d.cts +1 -1
  74. package/lib/fetch.d.ts +1 -1
  75. package/lib/index.cjs +27 -27
  76. package/lib/index.d.cts +3 -3
  77. package/lib/index.d.ts +3 -3
  78. package/lib/index.js +13 -13
  79. package/lib/{interceptor-k15jXzf0.d.cts → interceptor-ETmS7Tab.d.cts} +1 -1
  80. package/lib/{interceptor-k15jXzf0.d.ts → interceptor-ETmS7Tab.d.ts} +1 -1
  81. package/lib/interceptor.d.cts +1 -1
  82. package/lib/interceptor.d.ts +1 -1
  83. package/lib/jsonapi.d.cts +2 -2
  84. package/lib/jsonapi.d.ts +2 -2
  85. package/lib/model.d.cts +2 -2
  86. package/lib/model.d.ts +2 -2
  87. package/lib/query.d.cts +2 -2
  88. package/lib/query.d.ts +2 -2
  89. package/lib/resource.d.cts +2 -2
  90. package/lib/resource.d.ts +2 -2
  91. package/lib/resources/addresses.d.cts +3 -3
  92. package/lib/resources/addresses.d.ts +2 -2
  93. package/lib/resources/adjustments.d.cts +3 -3
  94. package/lib/resources/adjustments.d.ts +2 -2
  95. package/lib/resources/adyen_gateways.cjs +2 -2
  96. package/lib/resources/adyen_gateways.d.cts +3 -3
  97. package/lib/resources/adyen_gateways.d.ts +2 -2
  98. package/lib/resources/adyen_gateways.js +1 -1
  99. package/lib/resources/adyen_payments.d.cts +3 -3
  100. package/lib/resources/adyen_payments.d.ts +2 -2
  101. package/lib/resources/applications.d.cts +3 -3
  102. package/lib/resources/applications.d.ts +2 -2
  103. package/lib/resources/attachments.d.cts +3 -3
  104. package/lib/resources/attachments.d.ts +2 -2
  105. package/lib/resources/authorizations.d.cts +3 -3
  106. package/lib/resources/authorizations.d.ts +2 -2
  107. package/lib/resources/avalara_accounts.d.cts +3 -3
  108. package/lib/resources/avalara_accounts.d.ts +2 -2
  109. package/lib/resources/axerve_gateways.cjs +2 -2
  110. package/lib/resources/axerve_gateways.d.cts +3 -3
  111. package/lib/resources/axerve_gateways.d.ts +2 -2
  112. package/lib/resources/axerve_gateways.js +1 -1
  113. package/lib/resources/axerve_payments.d.cts +3 -3
  114. package/lib/resources/axerve_payments.d.ts +2 -2
  115. package/lib/resources/bing_geocoders.d.cts +3 -3
  116. package/lib/resources/bing_geocoders.d.ts +2 -2
  117. package/lib/resources/braintree_gateways.cjs +2 -2
  118. package/lib/resources/braintree_gateways.d.cts +3 -3
  119. package/lib/resources/braintree_gateways.d.ts +2 -2
  120. package/lib/resources/braintree_gateways.js +1 -1
  121. package/lib/resources/braintree_payments.d.cts +3 -3
  122. package/lib/resources/braintree_payments.d.ts +2 -2
  123. package/lib/resources/bundles.d.cts +3 -3
  124. package/lib/resources/bundles.d.ts +2 -2
  125. package/lib/resources/buy_x_pay_y_promotions.d.cts +3 -3
  126. package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
  127. package/lib/resources/captures.d.cts +3 -3
  128. package/lib/resources/captures.d.ts +2 -2
  129. package/lib/resources/carrier_accounts.d.cts +3 -3
  130. package/lib/resources/carrier_accounts.d.ts +2 -2
  131. package/lib/resources/checkout_com_gateways.cjs +2 -2
  132. package/lib/resources/checkout_com_gateways.d.cts +3 -3
  133. package/lib/resources/checkout_com_gateways.d.ts +2 -2
  134. package/lib/resources/checkout_com_gateways.js +1 -1
  135. package/lib/resources/checkout_com_payments.d.cts +3 -3
  136. package/lib/resources/checkout_com_payments.d.ts +2 -2
  137. package/lib/resources/cleanups.d.cts +3 -3
  138. package/lib/resources/cleanups.d.ts +2 -2
  139. package/lib/resources/coupon_codes_promotion_rules.d.cts +3 -3
  140. package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
  141. package/lib/resources/coupon_recipients.d.cts +3 -3
  142. package/lib/resources/coupon_recipients.d.ts +2 -2
  143. package/lib/resources/coupons.d.cts +3 -3
  144. package/lib/resources/coupons.d.ts +2 -2
  145. package/lib/resources/custom_promotion_rules.d.cts +3 -3
  146. package/lib/resources/custom_promotion_rules.d.ts +2 -2
  147. package/lib/resources/customer_addresses.d.cts +3 -3
  148. package/lib/resources/customer_addresses.d.ts +2 -2
  149. package/lib/resources/customer_groups.d.cts +3 -3
  150. package/lib/resources/customer_groups.d.ts +2 -2
  151. package/lib/resources/customer_password_resets.d.cts +3 -3
  152. package/lib/resources/customer_password_resets.d.ts +2 -2
  153. package/lib/resources/customer_payment_sources.d.cts +3 -3
  154. package/lib/resources/customer_payment_sources.d.ts +2 -2
  155. package/lib/resources/customer_subscriptions.d.cts +3 -3
  156. package/lib/resources/customer_subscriptions.d.ts +2 -2
  157. package/lib/resources/customers.d.cts +3 -3
  158. package/lib/resources/customers.d.ts +2 -2
  159. package/lib/resources/delivery_lead_times.d.cts +3 -3
  160. package/lib/resources/delivery_lead_times.d.ts +2 -2
  161. package/lib/resources/discount_engine_items.d.cts +3 -3
  162. package/lib/resources/discount_engine_items.d.ts +2 -2
  163. package/lib/resources/discount_engines.d.cts +3 -3
  164. package/lib/resources/discount_engines.d.ts +2 -2
  165. package/lib/resources/easypost_pickups.d.cts +3 -3
  166. package/lib/resources/easypost_pickups.d.ts +2 -2
  167. package/lib/resources/event_callbacks.d.cts +3 -3
  168. package/lib/resources/event_callbacks.d.ts +2 -2
  169. package/lib/resources/event_stores.d.cts +3 -3
  170. package/lib/resources/event_stores.d.ts +2 -2
  171. package/lib/resources/events.d.cts +3 -3
  172. package/lib/resources/events.d.ts +2 -2
  173. package/lib/resources/exports.d.cts +3 -3
  174. package/lib/resources/exports.d.ts +2 -2
  175. package/lib/resources/external_gateways.cjs +2 -2
  176. package/lib/resources/external_gateways.d.cts +3 -3
  177. package/lib/resources/external_gateways.d.ts +2 -2
  178. package/lib/resources/external_gateways.js +1 -1
  179. package/lib/resources/external_payments.d.cts +3 -3
  180. package/lib/resources/external_payments.d.ts +2 -2
  181. package/lib/resources/external_promotions.d.cts +3 -3
  182. package/lib/resources/external_promotions.d.ts +2 -2
  183. package/lib/resources/external_tax_calculators.d.cts +3 -3
  184. package/lib/resources/external_tax_calculators.d.ts +2 -2
  185. package/lib/resources/fixed_amount_promotions.d.cts +3 -3
  186. package/lib/resources/fixed_amount_promotions.d.ts +2 -2
  187. package/lib/resources/fixed_price_promotions.d.cts +3 -3
  188. package/lib/resources/fixed_price_promotions.d.ts +2 -2
  189. package/lib/resources/flex_promotions.d.cts +3 -3
  190. package/lib/resources/flex_promotions.d.ts +2 -2
  191. package/lib/resources/free_gift_promotions.d.cts +3 -3
  192. package/lib/resources/free_gift_promotions.d.ts +2 -2
  193. package/lib/resources/free_shipping_promotions.d.cts +3 -3
  194. package/lib/resources/free_shipping_promotions.d.ts +2 -2
  195. package/lib/resources/geocoders.d.cts +3 -3
  196. package/lib/resources/geocoders.d.ts +2 -2
  197. package/lib/resources/gift_card_recipients.d.cts +3 -3
  198. package/lib/resources/gift_card_recipients.d.ts +2 -2
  199. package/lib/resources/gift_cards.d.cts +3 -3
  200. package/lib/resources/gift_cards.d.ts +2 -2
  201. package/lib/resources/google_geocoders.d.cts +3 -3
  202. package/lib/resources/google_geocoders.d.ts +2 -2
  203. package/lib/resources/imports.d.cts +3 -3
  204. package/lib/resources/imports.d.ts +2 -2
  205. package/lib/resources/in_stock_subscriptions.d.cts +3 -3
  206. package/lib/resources/in_stock_subscriptions.d.ts +2 -2
  207. package/lib/resources/inventory_models.d.cts +3 -3
  208. package/lib/resources/inventory_models.d.ts +2 -2
  209. package/lib/resources/inventory_return_locations.d.cts +3 -3
  210. package/lib/resources/inventory_return_locations.d.ts +2 -2
  211. package/lib/resources/inventory_stock_locations.d.cts +3 -3
  212. package/lib/resources/inventory_stock_locations.d.ts +2 -2
  213. package/lib/resources/klarna_gateways.cjs +2 -2
  214. package/lib/resources/klarna_gateways.d.cts +3 -3
  215. package/lib/resources/klarna_gateways.d.ts +2 -2
  216. package/lib/resources/klarna_gateways.js +1 -1
  217. package/lib/resources/klarna_payments.d.cts +3 -3
  218. package/lib/resources/klarna_payments.d.ts +2 -2
  219. package/lib/resources/line_item_options.d.cts +3 -3
  220. package/lib/resources/line_item_options.d.ts +2 -2
  221. package/lib/resources/line_items.d.cts +3 -3
  222. package/lib/resources/line_items.d.ts +2 -2
  223. package/lib/resources/links.d.cts +3 -3
  224. package/lib/resources/links.d.ts +2 -2
  225. package/lib/resources/manual_gateways.cjs +2 -2
  226. package/lib/resources/manual_gateways.d.cts +3 -3
  227. package/lib/resources/manual_gateways.d.ts +2 -2
  228. package/lib/resources/manual_gateways.js +1 -1
  229. package/lib/resources/manual_tax_calculators.d.cts +3 -3
  230. package/lib/resources/manual_tax_calculators.d.ts +2 -2
  231. package/lib/resources/markets.d.cts +3 -3
  232. package/lib/resources/markets.d.ts +2 -2
  233. package/lib/resources/merchants.d.cts +3 -3
  234. package/lib/resources/merchants.d.ts +2 -2
  235. package/lib/resources/notifications.d.cts +3 -3
  236. package/lib/resources/notifications.d.ts +2 -2
  237. package/lib/resources/order_amount_promotion_rules.d.cts +3 -3
  238. package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
  239. package/lib/resources/order_copies.d.cts +3 -3
  240. package/lib/resources/order_copies.d.ts +2 -2
  241. package/lib/resources/order_factories.d.cts +3 -3
  242. package/lib/resources/order_factories.d.ts +2 -2
  243. package/lib/resources/order_subscription_items.d.cts +3 -3
  244. package/lib/resources/order_subscription_items.d.ts +2 -2
  245. package/lib/resources/order_subscriptions.d.cts +3 -3
  246. package/lib/resources/order_subscriptions.d.ts +2 -2
  247. package/lib/resources/orders.d.cts +3 -3
  248. package/lib/resources/orders.d.ts +2 -2
  249. package/lib/resources/organizations.d.cts +3 -3
  250. package/lib/resources/organizations.d.ts +2 -2
  251. package/lib/resources/packages.d.cts +3 -3
  252. package/lib/resources/packages.d.ts +2 -2
  253. package/lib/resources/parcel_line_items.d.cts +3 -3
  254. package/lib/resources/parcel_line_items.d.ts +2 -2
  255. package/lib/resources/parcels.d.cts +3 -3
  256. package/lib/resources/parcels.d.ts +2 -2
  257. package/lib/resources/payment_gateways.cjs +2 -2
  258. package/lib/resources/payment_gateways.d.cts +3 -3
  259. package/lib/resources/payment_gateways.d.ts +2 -2
  260. package/lib/resources/payment_gateways.js +1 -1
  261. package/lib/resources/payment_methods.d.cts +3 -3
  262. package/lib/resources/payment_methods.d.ts +2 -2
  263. package/lib/resources/payment_options.d.cts +3 -3
  264. package/lib/resources/payment_options.d.ts +2 -2
  265. package/lib/resources/paypal_gateways.cjs +2 -2
  266. package/lib/resources/paypal_gateways.d.cts +3 -3
  267. package/lib/resources/paypal_gateways.d.ts +2 -2
  268. package/lib/resources/paypal_gateways.js +1 -1
  269. package/lib/resources/paypal_payments.d.cts +3 -3
  270. package/lib/resources/paypal_payments.d.ts +2 -2
  271. package/lib/resources/percentage_discount_promotions.d.cts +3 -3
  272. package/lib/resources/percentage_discount_promotions.d.ts +2 -2
  273. package/lib/resources/pickups.d.cts +3 -3
  274. package/lib/resources/pickups.d.ts +2 -2
  275. package/lib/resources/price_frequency_tiers.d.cts +3 -3
  276. package/lib/resources/price_frequency_tiers.d.ts +2 -2
  277. package/lib/resources/price_list_schedulers.d.cts +3 -3
  278. package/lib/resources/price_list_schedulers.d.ts +2 -2
  279. package/lib/resources/price_lists.d.cts +3 -3
  280. package/lib/resources/price_lists.d.ts +2 -2
  281. package/lib/resources/price_tiers.d.cts +3 -3
  282. package/lib/resources/price_tiers.d.ts +2 -2
  283. package/lib/resources/price_volume_tiers.d.cts +3 -3
  284. package/lib/resources/price_volume_tiers.d.ts +2 -2
  285. package/lib/resources/prices.d.cts +3 -3
  286. package/lib/resources/prices.d.ts +2 -2
  287. package/lib/resources/promotion_rules.d.cts +3 -3
  288. package/lib/resources/promotion_rules.d.ts +2 -2
  289. package/lib/resources/promotions.d.cts +3 -3
  290. package/lib/resources/promotions.d.ts +2 -2
  291. package/lib/resources/recurring_order_copies.d.cts +3 -3
  292. package/lib/resources/recurring_order_copies.d.ts +2 -2
  293. package/lib/resources/refunds.d.cts +3 -3
  294. package/lib/resources/refunds.d.ts +2 -2
  295. package/lib/resources/reserved_stocks.d.cts +3 -3
  296. package/lib/resources/reserved_stocks.d.ts +2 -2
  297. package/lib/resources/resource_errors.d.cts +3 -3
  298. package/lib/resources/resource_errors.d.ts +2 -2
  299. package/lib/resources/return_line_items.d.cts +3 -3
  300. package/lib/resources/return_line_items.d.ts +2 -2
  301. package/lib/resources/returns.d.cts +3 -3
  302. package/lib/resources/returns.d.ts +2 -2
  303. package/lib/resources/satispay_gateways.cjs +2 -2
  304. package/lib/resources/satispay_gateways.d.cts +3 -3
  305. package/lib/resources/satispay_gateways.d.ts +2 -2
  306. package/lib/resources/satispay_gateways.js +1 -1
  307. package/lib/resources/satispay_payments.d.cts +3 -3
  308. package/lib/resources/satispay_payments.d.ts +2 -2
  309. package/lib/resources/shipments.d.cts +3 -3
  310. package/lib/resources/shipments.d.ts +2 -2
  311. package/lib/resources/shipping_categories.d.cts +3 -3
  312. package/lib/resources/shipping_categories.d.ts +2 -2
  313. package/lib/resources/shipping_method_tiers.d.cts +3 -3
  314. package/lib/resources/shipping_method_tiers.d.ts +2 -2
  315. package/lib/resources/shipping_methods.d.cts +3 -3
  316. package/lib/resources/shipping_methods.d.ts +2 -2
  317. package/lib/resources/shipping_weight_tiers.d.cts +3 -3
  318. package/lib/resources/shipping_weight_tiers.d.ts +2 -2
  319. package/lib/resources/shipping_zones.d.cts +3 -3
  320. package/lib/resources/shipping_zones.d.ts +2 -2
  321. package/lib/resources/sku_list_items.d.cts +3 -3
  322. package/lib/resources/sku_list_items.d.ts +2 -2
  323. package/lib/resources/sku_list_promotion_rules.d.cts +3 -3
  324. package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
  325. package/lib/resources/sku_lists.d.cts +3 -3
  326. package/lib/resources/sku_lists.d.ts +2 -2
  327. package/lib/resources/sku_options.d.cts +3 -3
  328. package/lib/resources/sku_options.d.ts +2 -2
  329. package/lib/resources/skus.d.cts +3 -3
  330. package/lib/resources/skus.d.ts +2 -2
  331. package/lib/resources/stock_items.d.cts +3 -3
  332. package/lib/resources/stock_items.d.ts +2 -2
  333. package/lib/resources/stock_line_items.d.cts +3 -3
  334. package/lib/resources/stock_line_items.d.ts +2 -2
  335. package/lib/resources/stock_locations.d.cts +3 -3
  336. package/lib/resources/stock_locations.d.ts +2 -2
  337. package/lib/resources/stock_reservations.d.cts +3 -3
  338. package/lib/resources/stock_reservations.d.ts +2 -2
  339. package/lib/resources/stock_transfers.d.cts +3 -3
  340. package/lib/resources/stock_transfers.d.ts +2 -2
  341. package/lib/resources/stores.d.cts +3 -3
  342. package/lib/resources/stores.d.ts +2 -2
  343. package/lib/resources/stripe_gateways.cjs +2 -2
  344. package/lib/resources/stripe_gateways.d.cts +3 -3
  345. package/lib/resources/stripe_gateways.d.ts +2 -2
  346. package/lib/resources/stripe_gateways.js +1 -1
  347. package/lib/resources/stripe_payments.d.cts +3 -3
  348. package/lib/resources/stripe_payments.d.ts +2 -2
  349. package/lib/resources/stripe_tax_accounts.d.cts +3 -3
  350. package/lib/resources/stripe_tax_accounts.d.ts +2 -2
  351. package/lib/resources/subscription_models.d.cts +3 -3
  352. package/lib/resources/subscription_models.d.ts +2 -2
  353. package/lib/resources/tags.d.cts +3 -3
  354. package/lib/resources/tags.d.ts +2 -2
  355. package/lib/resources/talon_one_accounts.d.cts +3 -3
  356. package/lib/resources/talon_one_accounts.d.ts +2 -2
  357. package/lib/resources/tax_calculators.d.cts +3 -3
  358. package/lib/resources/tax_calculators.d.ts +2 -2
  359. package/lib/resources/tax_categories.d.cts +3 -3
  360. package/lib/resources/tax_categories.d.ts +2 -2
  361. package/lib/resources/tax_rules.d.cts +3 -3
  362. package/lib/resources/tax_rules.d.ts +2 -2
  363. package/lib/resources/taxjar_accounts.d.cts +3 -3
  364. package/lib/resources/taxjar_accounts.d.ts +2 -2
  365. package/lib/resources/transactions.d.cts +3 -3
  366. package/lib/resources/transactions.d.ts +2 -2
  367. package/lib/resources/versions.d.cts +3 -3
  368. package/lib/resources/versions.d.ts +2 -2
  369. package/lib/resources/vertex_accounts.d.cts +3 -3
  370. package/lib/resources/vertex_accounts.d.ts +2 -2
  371. package/lib/resources/voids.d.cts +3 -3
  372. package/lib/resources/voids.d.ts +2 -2
  373. package/lib/resources/webhooks.d.cts +3 -3
  374. package/lib/resources/webhooks.d.ts +2 -2
  375. package/lib/resources/wire_transfers.d.cts +3 -3
  376. package/lib/resources/wire_transfers.d.ts +2 -2
  377. package/lib/static.cjs +3 -3
  378. package/lib/static.d.cts +2 -2
  379. package/lib/static.d.ts +2 -2
  380. package/lib/static.js +2 -2
  381. package/package.json +1 -1
  382. package/lib/chunk-3SD7QN5M.js.map +0 -1
  383. package/lib/chunk-4ATZM33H.js.map +0 -1
  384. package/lib/chunk-6QOS6B5F.cjs.map +0 -1
  385. package/lib/chunk-6ZUGJHNV.cjs.map +0 -1
  386. package/lib/chunk-73VR2FML.cjs.map +0 -1
  387. package/lib/chunk-7AHYBTEX.js.map +0 -1
  388. package/lib/chunk-A76SFMAB.cjs.map +0 -1
  389. package/lib/chunk-DEYOBMM5.js.map +0 -1
  390. package/lib/chunk-DPIHG4FX.cjs.map +0 -1
  391. package/lib/chunk-FCGKL7AI.cjs.map +0 -1
  392. package/lib/chunk-HH3NIT7B.js.map +0 -1
  393. package/lib/chunk-II544XO5.cjs.map +0 -1
  394. package/lib/chunk-KDQRA5YH.js.map +0 -1
  395. package/lib/chunk-OS5DXUBX.js.map +0 -1
  396. package/lib/chunk-PIYKFPYB.js.map +0 -1
  397. package/lib/chunk-RDTIBHZO.cjs.map +0 -1
  398. package/lib/chunk-TWQ4THAG.js.map +0 -1
  399. package/lib/chunk-W3TAU6GU.cjs.map +0 -1
  400. package/lib/chunk-WVCUPAHM.cjs.map +0 -1
  401. package/lib/chunk-YFRXWHOB.js.map +0 -1
  402. package/lib/chunk-YPRABQMP.js.map +0 -1
  403. package/lib/chunk-YZ4JURI3.cjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/axerve_gateways.ts"],"names":[],"mappings":";;;AAqIA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,WAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CA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AAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-SFFSVEXJ.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { AxervePayment, AxervePaymentType } from './axerve_payments'\n\n\ntype AxerveGatewayType = 'axerve_gateways'\ntype AxerveGatewayRel = ResourceRel & { type: AxerveGatewayType }\ntype AxervePaymentRel = ResourceRel & { type: AxervePaymentType }\n\n\nexport type AxerveGatewaySort = Pick<AxerveGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type AxerveGatewayFilter = Pick<AxerveGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface AxerveGateway extends Resource {\n\t\n\treadonly type: AxerveGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The merchant login code.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tlogin: string\n\t/** \n\t * The gateway webhook URL, generated automatically.\n\t * @example ```\"https://core.commercelayer.co/webhook_callbacks/axerve_gateways/xxxxx\"```\n\t */\n\twebhook_endpoint_url?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\taxerve_payments?: AxervePayment[] | null\n\n}\n\n\ninterface AxerveGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The merchant login code.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tlogin: string\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key: string\n\n\taxerve_payments?: AxervePaymentRel[] | null\n\n}\n\n\ninterface AxerveGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The merchant login code.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tlogin?: string | null\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key?: string | null\n\n\taxerve_payments?: AxervePaymentRel[] | null\n\n}\n\n\nclass AxerveGateways extends ApiResource<AxerveGateway> {\n\n\tstatic readonly TYPE: AxerveGatewayType = 'axerve_gateways' as const\n\n\tasync create(resource: AxerveGatewayCreate, params?: QueryParamsRetrieve<AxerveGateway>, options?: ResourcesConfig): Promise<AxerveGateway> {\n\t\treturn this.resources.create<AxerveGatewayCreate, AxerveGateway>({ ...resource, type: AxerveGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: AxerveGatewayUpdate, params?: QueryParamsRetrieve<AxerveGateway>, options?: ResourcesConfig): Promise<AxerveGateway> {\n\t\treturn this.resources.update<AxerveGatewayUpdate, AxerveGateway>({ ...resource, type: AxerveGateways.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: AxerveGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _axerveGatewayId = (axerveGatewayId as AxerveGateway).id || axerveGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `axerve_gateways/${_axerveGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _axerveGatewayId = (axerveGatewayId as AxerveGateway).id || axerveGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `axerve_gateways/${_axerveGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _axerveGatewayId = (axerveGatewayId as AxerveGateway).id || axerveGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `axerve_gateways/${_axerveGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync axerve_payments(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<AxervePayment>, options?: ResourcesConfig): Promise<ListResponse<AxervePayment>> {\n\t\tconst _axerveGatewayId = (axerveGatewayId as AxerveGateway).id || axerveGatewayId as string\n\t\treturn this.resources.fetch<AxervePayment>({ type: 'axerve_payments' }, `axerve_gateways/${_axerveGatewayId}/axerve_payments`, params, options) as unknown as ListResponse<AxervePayment>\n\t}\n\n\tasync _disable(id: string | AxerveGateway, params?: QueryParamsRetrieve<AxerveGateway>, options?: ResourcesConfig): Promise<AxerveGateway> {\n\t\treturn this.resources.update<AxerveGatewayUpdate, AxerveGateway>({ id: (typeof id === 'string')? id: id.id, type: AxerveGateways.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | AxerveGateway, params?: QueryParamsRetrieve<AxerveGateway>, options?: ResourcesConfig): Promise<AxerveGateway> {\n\t\treturn this.resources.update<AxerveGatewayUpdate, AxerveGateway>({ id: (typeof id === 'string')? id: id.id, type: AxerveGateways.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisAxerveGateway(resource: any): resource is AxerveGateway {\n\t\treturn resource.type && (resource.type === AxerveGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): AxerveGatewayRel {\n\t\treturn super.relationshipOneToOne<AxerveGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): AxerveGatewayRel[] {\n\t\treturn super.relationshipOneToMany<AxerveGatewayRel>(...ids)\n\t}\n\n\n\ttype(): AxerveGatewayType {\n\t\treturn AxerveGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new AxerveGateways()\nexport default instance\n\nexport type { AxerveGateways, AxerveGateway, AxerveGatewayCreate, AxerveGatewayUpdate, AxerveGatewayType }\n"]}
@@ -28,6 +28,12 @@ var KlarnaGateways = class _KlarnaGateways extends ApiResource {
28
28
  const _klarnaGatewayId = klarnaGatewayId.id || klarnaGatewayId;
29
29
  return this.resources.fetch({ type: "klarna_payments" }, `klarna_gateways/${_klarnaGatewayId}/klarna_payments`, params, options);
30
30
  }
31
+ async _disable(id, params, options) {
32
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _KlarnaGateways.TYPE, _disable: true }, params, options);
33
+ }
34
+ async _enable(id, params, options) {
35
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _KlarnaGateways.TYPE, _enable: true }, params, options);
36
+ }
31
37
  isKlarnaGateway(resource) {
32
38
  return resource.type && resource.type === _KlarnaGateways.TYPE;
33
39
  }
@@ -45,5 +51,5 @@ var instance = new KlarnaGateways();
45
51
  var klarna_gateways_default = instance;
46
52
 
47
53
  export { klarna_gateways_default };
48
- //# sourceMappingURL=chunk-DEYOBMM5.js.map
49
- //# sourceMappingURL=chunk-DEYOBMM5.js.map
54
+ //# sourceMappingURL=chunk-VZGJGOH3.js.map
55
+ //# sourceMappingURL=chunk-VZGJGOH3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/klarna_gateways.ts"],"names":[],"mappings":";;;AAqIA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuB,WAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;AAAA,EAEA,MAAM,MAAA,CAAO,EAAA,EAAyB,OAAA,EAA0C;AAC/E,IAAA,MAAM,IAAA,CAAK,SAAA,CAAU,MAAA,CAAQ,OAA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import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { KlarnaPayment, KlarnaPaymentType } from './klarna_payments'\n\n\ntype KlarnaGatewayType = 'klarna_gateways'\ntype KlarnaGatewayRel = ResourceRel & { type: KlarnaGatewayType }\ntype KlarnaPaymentRel = ResourceRel & { type: KlarnaPaymentType }\n\n\nexport type KlarnaGatewaySort = Pick<KlarnaGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type KlarnaGatewayFilter = Pick<KlarnaGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface KlarnaGateway extends Resource {\n\t\n\treadonly type: KlarnaGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tklarna_payments?: KlarnaPayment[] | null\n\n}\n\n\ninterface KlarnaGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The gateway country code one of EU, US, or OC.\n\t * @example ```\"EU\"```\n\t */\n\tcountry_code: string\n\t/** \n\t * The public key linked to your API credential.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key: string\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_secret: string\n\n\tklarna_payments?: KlarnaPaymentRel[] | null\n\n}\n\n\ninterface KlarnaGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The gateway country code one of EU, US, or OC.\n\t * @example ```\"EU\"```\n\t */\n\tcountry_code?: string | null\n\t/** \n\t * The public key linked to your API credential.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key?: string | null\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_secret?: string | null\n\n\tklarna_payments?: KlarnaPaymentRel[] | null\n\n}\n\n\nclass KlarnaGateways extends ApiResource<KlarnaGateway> {\n\n\tstatic readonly TYPE: KlarnaGatewayType = 'klarna_gateways' as const\n\n\tasync create(resource: KlarnaGatewayCreate, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway> {\n\t\treturn this.resources.create<KlarnaGatewayCreate, KlarnaGateway>({ ...resource, type: KlarnaGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: KlarnaGatewayUpdate, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway> {\n\t\treturn this.resources.update<KlarnaGatewayUpdate, KlarnaGateway>({ ...resource, type: KlarnaGateways.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: KlarnaGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _klarnaGatewayId = (klarnaGatewayId as KlarnaGateway).id || klarnaGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `klarna_gateways/${_klarnaGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _klarnaGatewayId = (klarnaGatewayId as KlarnaGateway).id || klarnaGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `klarna_gateways/${_klarnaGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _klarnaGatewayId = (klarnaGatewayId as KlarnaGateway).id || klarnaGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `klarna_gateways/${_klarnaGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync klarna_payments(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<KlarnaPayment>, options?: ResourcesConfig): Promise<ListResponse<KlarnaPayment>> {\n\t\tconst _klarnaGatewayId = (klarnaGatewayId as KlarnaGateway).id || klarnaGatewayId as string\n\t\treturn this.resources.fetch<KlarnaPayment>({ type: 'klarna_payments' }, `klarna_gateways/${_klarnaGatewayId}/klarna_payments`, params, options) as unknown as ListResponse<KlarnaPayment>\n\t}\n\n\tasync _disable(id: string | KlarnaGateway, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway> {\n\t\treturn this.resources.update<KlarnaGatewayUpdate, KlarnaGateway>({ id: (typeof id === 'string')? id: id.id, type: KlarnaGateways.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | KlarnaGateway, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway> {\n\t\treturn this.resources.update<KlarnaGatewayUpdate, KlarnaGateway>({ id: (typeof id === 'string')? id: id.id, type: KlarnaGateways.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisKlarnaGateway(resource: any): resource is KlarnaGateway {\n\t\treturn resource.type && (resource.type === KlarnaGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): KlarnaGatewayRel {\n\t\treturn super.relationshipOneToOne<KlarnaGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): KlarnaGatewayRel[] {\n\t\treturn super.relationshipOneToMany<KlarnaGatewayRel>(...ids)\n\t}\n\n\n\ttype(): KlarnaGatewayType {\n\t\treturn KlarnaGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new KlarnaGateways()\nexport default instance\n\nexport type { KlarnaGateways, KlarnaGateway, KlarnaGatewayCreate, KlarnaGatewayUpdate, KlarnaGatewayType }\n"]}
@@ -34,5 +34,5 @@ var instance = new PaymentGateways();
34
34
  var payment_gateways_default = instance;
35
35
 
36
36
  exports.payment_gateways_default = payment_gateways_default;
37
- //# sourceMappingURL=chunk-WVCUPAHM.cjs.map
38
- //# sourceMappingURL=chunk-WVCUPAHM.cjs.map
37
+ //# sourceMappingURL=chunk-WLTZ66G4.cjs.map
38
+ //# sourceMappingURL=chunk-WLTZ66G4.cjs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KAAS,gBAAA,CAAgB,IAAA;AAAA,EAC5D;AAAA,EAGA,aAAa,EAAA,EAAmD;AAC/D,IAAA,OAAO,KAAA,CAAM,qBAAwC,EAAE,CAAA;AAAA,EACxD;AAAA,EAEA,sBAAsB,GAAA,EAAoC;AACzD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAyC,GAAG,GAAG,CAAA;AAAA,EAC7D;AAAA,EAGA,IAAA,GAA2B;AAC1B,IAAA,OAAO,gBAAA,CAAgB,IAAA;AAAA,EACxB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,eAAA,EAAgB;AACrC,IAAO,wBAAA,GAAQ","file":"chunk-WLTZ66G4.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsList } from '../query'\n\nimport type { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\n\n\ntype PaymentGatewayType = 'payment_gateways'\ntype PaymentGatewayRel = ResourceRel & { type: PaymentGatewayType }\n\n\nexport type PaymentGatewaySort = Pick<PaymentGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type PaymentGatewayFilter = Pick<PaymentGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface PaymentGateway extends Resource {\n\t\n\treadonly type: PaymentGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\nclass PaymentGateways extends ApiResource<PaymentGateway> {\n\n\tstatic readonly TYPE: PaymentGatewayType = 'payment_gateways' as const\n\n\tasync payment_methods(paymentGatewayId: string | PaymentGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _paymentGatewayId = (paymentGatewayId as PaymentGateway).id || paymentGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `payment_gateways/${_paymentGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(paymentGatewayId: string | PaymentGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _paymentGatewayId = (paymentGatewayId as PaymentGateway).id || paymentGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `payment_gateways/${_paymentGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(paymentGatewayId: string | PaymentGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _paymentGatewayId = (paymentGatewayId as PaymentGateway).id || paymentGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `payment_gateways/${_paymentGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\n\tisPaymentGateway(resource: any): resource is PaymentGateway {\n\t\treturn resource.type && (resource.type === PaymentGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PaymentGatewayRel {\n\t\treturn super.relationshipOneToOne<PaymentGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PaymentGatewayRel[] {\n\t\treturn super.relationshipOneToMany<PaymentGatewayRel>(...ids)\n\t}\n\n\n\ttype(): PaymentGatewayType {\n\t\treturn PaymentGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new PaymentGateways()\nexport default instance\n\nexport type { PaymentGateways, PaymentGateway, PaymentGatewayType }\n"]}
@@ -30,6 +30,12 @@ var PaypalGateways = class _PaypalGateways extends chunkU22VLCMN_cjs.ApiResource
30
30
  const _paypalGatewayId = paypalGatewayId.id || paypalGatewayId;
31
31
  return this.resources.fetch({ type: "paypal_payments" }, `paypal_gateways/${_paypalGatewayId}/paypal_payments`, params, options);
32
32
  }
33
+ async _disable(id, params, options) {
34
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PaypalGateways.TYPE, _disable: true }, params, options);
35
+ }
36
+ async _enable(id, params, options) {
37
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _PaypalGateways.TYPE, _enable: true }, params, options);
38
+ }
33
39
  isPaypalGateway(resource) {
34
40
  return resource.type && resource.type === _PaypalGateways.TYPE;
35
41
  }
@@ -47,5 +53,5 @@ var instance = new PaypalGateways();
47
53
  var paypal_gateways_default = instance;
48
54
 
49
55
  exports.paypal_gateways_default = paypal_gateways_default;
50
- //# sourceMappingURL=chunk-YZ4JURI3.cjs.map
51
- //# sourceMappingURL=chunk-YZ4JURI3.cjs.map
56
+ //# sourceMappingURL=chunk-YDMB4XPA.cjs.map
57
+ //# sourceMappingURL=chunk-YDMB4XPA.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/paypal_gateways.ts"],"names":["ApiResource"],"mappings":";;;;;AAsHA,IAAM,cAAA,GAAN,MAAM,eAAA,SAAuBA,6BAAA,CAA2B;AAAA,EAEvD,OAAgB,IAAA,GAA0B,iBAAA;AAAA,EAE1C,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAA2C,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,eAAA,CAAe,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC7H;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAA+B,MAAA,EAA6C,OAAA,EAAmD;AAC3I,IAAA,OAAO,IAA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,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAwC,GAAG,GAAG,CAAA;AAAA,EAC5D;AAAA,EAGA,IAAA,GAA0B;AACzB,IAAA,OAAO,eAAA,CAAe,IAAA;AAAA,EACvB;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,cAAA,EAAe;AACpC,IAAO,uBAAA,GAAQ","file":"chunk-YDMB4XPA.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { PaypalPayment } from './paypal_payments'\n\n\ntype PaypalGatewayType = 'paypal_gateways'\ntype PaypalGatewayRel = ResourceRel & { type: PaypalGatewayType }\n\n\nexport type PaypalGatewaySort = Pick<PaypalGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type PaypalGatewayFilter = Pick<PaypalGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface PaypalGateway extends Resource {\n\t\n\treadonly type: PaypalGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tpaypal_payments?: PaypalPayment[] | null\n\n}\n\n\ninterface PaypalGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The gateway client ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tclient_id: string\n\t/** \n\t * The gateway client secret.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tclient_secret: string\n\t\n}\n\n\ninterface PaypalGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The gateway client ID.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tclient_id?: string | null\n\t/** \n\t * The gateway client secret.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tclient_secret?: string | null\n\t\n}\n\n\nclass PaypalGateways extends ApiResource<PaypalGateway> {\n\n\tstatic readonly TYPE: PaypalGatewayType = 'paypal_gateways' as const\n\n\tasync create(resource: PaypalGatewayCreate, params?: QueryParamsRetrieve<PaypalGateway>, options?: ResourcesConfig): Promise<PaypalGateway> {\n\t\treturn this.resources.create<PaypalGatewayCreate, PaypalGateway>({ ...resource, type: PaypalGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: PaypalGatewayUpdate, params?: QueryParamsRetrieve<PaypalGateway>, options?: ResourcesConfig): Promise<PaypalGateway> {\n\t\treturn this.resources.update<PaypalGatewayUpdate, PaypalGateway>({ ...resource, type: PaypalGateways.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: PaypalGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _paypalGatewayId = (paypalGatewayId as PaypalGateway).id || paypalGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `paypal_gateways/${_paypalGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _paypalGatewayId = (paypalGatewayId as PaypalGateway).id || paypalGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `paypal_gateways/${_paypalGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _paypalGatewayId = (paypalGatewayId as PaypalGateway).id || paypalGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `paypal_gateways/${_paypalGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync paypal_payments(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<PaypalPayment>, options?: ResourcesConfig): Promise<ListResponse<PaypalPayment>> {\n\t\tconst _paypalGatewayId = (paypalGatewayId as PaypalGateway).id || paypalGatewayId as string\n\t\treturn this.resources.fetch<PaypalPayment>({ type: 'paypal_payments' }, `paypal_gateways/${_paypalGatewayId}/paypal_payments`, params, options) as unknown as ListResponse<PaypalPayment>\n\t}\n\n\tasync _disable(id: string | PaypalGateway, params?: QueryParamsRetrieve<PaypalGateway>, options?: ResourcesConfig): Promise<PaypalGateway> {\n\t\treturn this.resources.update<PaypalGatewayUpdate, PaypalGateway>({ id: (typeof id === 'string')? id: id.id, type: PaypalGateways.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | PaypalGateway, params?: QueryParamsRetrieve<PaypalGateway>, options?: ResourcesConfig): Promise<PaypalGateway> {\n\t\treturn this.resources.update<PaypalGatewayUpdate, PaypalGateway>({ id: (typeof id === 'string')? id: id.id, type: PaypalGateways.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisPaypalGateway(resource: any): resource is PaypalGateway {\n\t\treturn resource.type && (resource.type === PaypalGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): PaypalGatewayRel {\n\t\treturn super.relationshipOneToOne<PaypalGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): PaypalGatewayRel[] {\n\t\treturn super.relationshipOneToMany<PaypalGatewayRel>(...ids)\n\t}\n\n\n\ttype(): PaypalGatewayType {\n\t\treturn PaypalGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new PaypalGateways()\nexport default instance\n\nexport type { PaypalGateways, PaypalGateway, PaypalGatewayCreate, PaypalGatewayUpdate, PaypalGatewayType }\n"]}
@@ -30,6 +30,12 @@ var CheckoutComGateways = class _CheckoutComGateways extends chunkU22VLCMN_cjs.A
30
30
  const _checkoutComGatewayId = checkoutComGatewayId.id || checkoutComGatewayId;
31
31
  return this.resources.fetch({ type: "checkout_com_payments" }, `checkout_com_gateways/${_checkoutComGatewayId}/checkout_com_payments`, params, options);
32
32
  }
33
+ async _disable(id, params, options) {
34
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _CheckoutComGateways.TYPE, _disable: true }, params, options);
35
+ }
36
+ async _enable(id, params, options) {
37
+ return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _CheckoutComGateways.TYPE, _enable: true }, params, options);
38
+ }
33
39
  isCheckoutComGateway(resource) {
34
40
  return resource.type && resource.type === _CheckoutComGateways.TYPE;
35
41
  }
@@ -47,5 +53,5 @@ var instance = new CheckoutComGateways();
47
53
  var checkout_com_gateways_default = instance;
48
54
 
49
55
  exports.checkout_com_gateways_default = checkout_com_gateways_default;
50
- //# sourceMappingURL=chunk-II544XO5.cjs.map
51
- //# sourceMappingURL=chunk-II544XO5.cjs.map
56
+ //# sourceMappingURL=chunk-ZSWW2XGD.cjs.map
57
+ //# sourceMappingURL=chunk-ZSWW2XGD.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/checkout_com_gateways.ts"],"names":["ApiResource"],"mappings":";;;;;AA0IA,IAAM,mBAAA,GAAN,MAAM,oBAAA,SAA4BA,6BAAA,CAAgC;AAAA,EAEjE,OAAgB,IAAA,GAA+B,uBAAA;AAAA,EAE/C,MAAM,MAAA,CAAO,QAAA,EAAoC,MAAA,EAAkD,OAAA,EAAwD;AAC1J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAA,CAAoB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5I;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAoC,MAAA,EAAkD,OAAA,EAAwD;AAC1J,IAAA,OAAO,IAAA,CAAK,SAAA,CAAU,MAAA,CAAqD,EAAE,GAAG,QAAA,EAAU,IAAA,EAAM,oBAAA,CAAoB,IAAA,EAAK,EAAG,MAAA,EAAQ,OAAO,CAAA;AAAA,EAC5I;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,oBAAA,CAAoB,IAAA,EAAK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ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { PaymentMethod } from './payment_methods'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { CheckoutComPayment, CheckoutComPaymentType } from './checkout_com_payments'\n\n\ntype CheckoutComGatewayType = 'checkout_com_gateways'\ntype CheckoutComGatewayRel = ResourceRel & { type: CheckoutComGatewayType }\ntype CheckoutComPaymentRel = ResourceRel & { type: CheckoutComPaymentType }\n\n\nexport type CheckoutComGatewaySort = Pick<CheckoutComGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type CheckoutComGatewayFilter = Pick<CheckoutComGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface CheckoutComGateway extends Resource {\n\t\n\treadonly type: CheckoutComGatewayType\n\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The gateway webhook endpoint ID, generated automatically.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\twebhook_endpoint_id?: string | null\n\t/** \n\t * The gateway webhook endpoint secret, generated automatically.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\twebhook_endpoint_secret?: string | null\n\t/** \n\t * The gateway webhook URL, generated automatically.\n\t * @example ```\"https://core.commercelayer.co/webhook_callbacks/checkout_com_gateways/xxxxx\"```\n\t */\n\twebhook_endpoint_url?: string | null\n\n\tpayment_methods?: PaymentMethod[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tcheckout_com_payments?: CheckoutComPayment[] | null\n\n}\n\n\ninterface CheckoutComGatewayCreate extends ResourceCreate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname: string\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The gateway secret key.\n\t * @example ```\"sk_test_xxxx-yyyy-zzzz\"```\n\t */\n\tsecret_key: string\n\t/** \n\t * The gateway public key.\n\t * @example ```\"pk_test_xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key: string\n\n\tcheckout_com_payments?: CheckoutComPaymentRel[] | null\n\n}\n\n\ninterface CheckoutComGatewayUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The payment gateway's internal name.\n\t * @example ```\"US payment gateway\"```\n\t */\n\tname?: string | null\n\t/** \n\t * Indicates if the payment source is forced on the editable order upon receiving a successful event from the gateway.\n\t * @example ```true```\n\t */\n\tforce_payments?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * The gateway secret key.\n\t * @example ```\"sk_test_xxxx-yyyy-zzzz\"```\n\t */\n\tsecret_key?: string | null\n\t/** \n\t * The gateway public key.\n\t * @example ```\"pk_test_xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key?: string | null\n\n\tcheckout_com_payments?: CheckoutComPaymentRel[] | null\n\n}\n\n\nclass CheckoutComGateways extends ApiResource<CheckoutComGateway> {\n\n\tstatic readonly TYPE: CheckoutComGatewayType = 'checkout_com_gateways' as const\n\n\tasync create(resource: CheckoutComGatewayCreate, params?: QueryParamsRetrieve<CheckoutComGateway>, options?: ResourcesConfig): Promise<CheckoutComGateway> {\n\t\treturn this.resources.create<CheckoutComGatewayCreate, CheckoutComGateway>({ ...resource, type: CheckoutComGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: CheckoutComGatewayUpdate, params?: QueryParamsRetrieve<CheckoutComGateway>, options?: ResourcesConfig): Promise<CheckoutComGateway> {\n\t\treturn this.resources.update<CheckoutComGatewayUpdate, CheckoutComGateway>({ ...resource, type: CheckoutComGateways.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: CheckoutComGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _checkoutComGatewayId = (checkoutComGatewayId as CheckoutComGateway).id || checkoutComGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `checkout_com_gateways/${_checkoutComGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _checkoutComGatewayId = (checkoutComGatewayId as CheckoutComGateway).id || checkoutComGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `checkout_com_gateways/${_checkoutComGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _checkoutComGatewayId = (checkoutComGatewayId as CheckoutComGateway).id || checkoutComGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `checkout_com_gateways/${_checkoutComGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync checkout_com_payments(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<CheckoutComPayment>, options?: ResourcesConfig): Promise<ListResponse<CheckoutComPayment>> {\n\t\tconst _checkoutComGatewayId = (checkoutComGatewayId as CheckoutComGateway).id || checkoutComGatewayId as string\n\t\treturn this.resources.fetch<CheckoutComPayment>({ type: 'checkout_com_payments' }, `checkout_com_gateways/${_checkoutComGatewayId}/checkout_com_payments`, params, options) as unknown as ListResponse<CheckoutComPayment>\n\t}\n\n\tasync _disable(id: string | CheckoutComGateway, params?: QueryParamsRetrieve<CheckoutComGateway>, options?: ResourcesConfig): Promise<CheckoutComGateway> {\n\t\treturn this.resources.update<CheckoutComGatewayUpdate, CheckoutComGateway>({ id: (typeof id === 'string')? id: id.id, type: CheckoutComGateways.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | CheckoutComGateway, params?: QueryParamsRetrieve<CheckoutComGateway>, options?: ResourcesConfig): Promise<CheckoutComGateway> {\n\t\treturn this.resources.update<CheckoutComGatewayUpdate, CheckoutComGateway>({ id: (typeof id === 'string')? id: id.id, type: CheckoutComGateways.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisCheckoutComGateway(resource: any): resource is CheckoutComGateway {\n\t\treturn resource.type && (resource.type === CheckoutComGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): CheckoutComGatewayRel {\n\t\treturn super.relationshipOneToOne<CheckoutComGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): CheckoutComGatewayRel[] {\n\t\treturn super.relationshipOneToMany<CheckoutComGatewayRel>(...ids)\n\t}\n\n\n\ttype(): CheckoutComGatewayType {\n\t\treturn CheckoutComGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new CheckoutComGateways()\nexport default instance\n\nexport type { CheckoutComGateways, CheckoutComGateway, CheckoutComGatewayCreate, CheckoutComGatewayUpdate, CheckoutComGatewayType }\n"]}
package/lib/client.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { F as Fetch, f as InterceptorManager, g as FetchResponse } from './interceptor-k15jXzf0.cjs';
1
+ import { F as Fetch, f as InterceptorManager, g as FetchResponse } from './interceptor-ETmS7Tab.cjs';
2
2
 
3
3
  type RequestParams = Record<string, string | number | boolean>;
4
4
  type RequestHeaders = Record<string, string>;
package/lib/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { F as Fetch, f as InterceptorManager, g as FetchResponse } from './interceptor-k15jXzf0.js';
1
+ import { F as Fetch, f as InterceptorManager, g as FetchResponse } from './interceptor-ETmS7Tab.js';
2
2
 
3
3
  type RequestParams = Record<string, string | number | boolean>;
4
4
  type RequestHeaders = Record<string, string>;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkAYM2RMFY_cjs = require('./chunk-AYM2RMFY.cjs');
5
+ var chunkNHDSPKJY_cjs = require('./chunk-NHDSPKJY.cjs');
6
6
  require('./chunk-U22VLCMN.cjs');
7
7
  require('./chunk-YY5ENJSH.cjs');
8
8
  require('./chunk-ZWVME7CU.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 chunkAYM2RMFY_cjs.CommerceLayer; }
20
+ get: function () { return chunkNHDSPKJY_cjs.CommerceLayer; }
21
21
  });
22
22
  Object.defineProperty(exports, "CommerceLayerClient", {
23
23
  enumerable: true,
24
- get: function () { return chunkAYM2RMFY_cjs.CommerceLayerClient; }
24
+ get: function () { return chunkNHDSPKJY_cjs.CommerceLayerClient; }
25
25
  });
26
26
  Object.defineProperty(exports, "OPEN_API_SCHEMA_VERSION", {
27
27
  enumerable: true,
28
- get: function () { return chunkAYM2RMFY_cjs.OPEN_API_SCHEMA_VERSION; }
28
+ get: function () { return chunkNHDSPKJY_cjs.OPEN_API_SCHEMA_VERSION; }
29
29
  });
30
30
  Object.defineProperty(exports, "default", {
31
31
  enumerable: true,
32
- get: function () { return chunkAYM2RMFY_cjs.commercelayer_default; }
32
+ get: function () { return chunkNHDSPKJY_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
- import { b as RequestInterceptor, c as ErrorInterceptor, d as ResponseInterceptor, I as InterceptorType, e as RawResponseReader } from './interceptor-k15jXzf0.cjs';
3
- import { s as ResourcesInitConfig } from './api-XshEzS_t.cjs';
2
+ import { b as RequestInterceptor, c as ErrorInterceptor, d as ResponseInterceptor, I as InterceptorType, e as RawResponseReader } from './interceptor-ETmS7Tab.cjs';
3
+ import { gy as ResourcesInitConfig } from './api-Hc0WV-9j.cjs';
4
4
  import './client.cjs';
5
5
  import './types.cjs';
6
6
 
7
- declare const OPEN_API_SCHEMA_VERSION = "7.9.10";
7
+ declare const OPEN_API_SCHEMA_VERSION = "7.9.11";
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.9.10";
12
+ readonly openApiSchemaVersion = "7.9.11";
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
- import { b as RequestInterceptor, c as ErrorInterceptor, d as ResponseInterceptor, I as InterceptorType, e as RawResponseReader } from './interceptor-k15jXzf0.js';
3
- import { s as ResourcesInitConfig } from './api-CMxJYHwj.js';
2
+ import { b as RequestInterceptor, c as ErrorInterceptor, d as ResponseInterceptor, I as InterceptorType, e as RawResponseReader } from './interceptor-ETmS7Tab.js';
3
+ import { gy as ResourcesInitConfig } from './api-DrryxHto.js';
4
4
  import './client.js';
5
5
  import './types.js';
6
6
 
7
- declare const OPEN_API_SCHEMA_VERSION = "7.9.10";
7
+ declare const OPEN_API_SCHEMA_VERSION = "7.9.11";
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.9.10";
12
+ readonly openApiSchemaVersion = "7.9.11";
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-V7377LPP.js';
1
+ export { CommerceLayer, CommerceLayerClient, OPEN_API_SCHEMA_VERSION, commercelayer_default as default } from './chunk-MBWTMQHA.js';
2
2
  import './chunk-XKERR6OR.js';
3
3
  import './chunk-CHYP5F26.js';
4
4
  import './chunk-UUY77JM3.js';
package/lib/config.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ApiClientInitConfig } from './client.cjs';
2
- import './interceptor-k15jXzf0.cjs';
2
+ import './interceptor-ETmS7Tab.cjs';
3
3
 
4
4
  declare const config: {
5
5
  readonly default: {
package/lib/config.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ApiClientInitConfig } from './client.js';
2
- import './interceptor-k15jXzf0.js';
2
+ import './interceptor-ETmS7Tab.js';
3
3
 
4
4
  declare const config: {
5
5
  readonly default: {
package/lib/enum.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { y as CreatableResource, C as CreatableResourceType, B as DeletableResource, D as DeletableResourceType, x as ListableResource, w as ListableResourceType, nP as ResourceFields, nQ as ResourceSortFields, t as ResourceTypeLock, v as RetrievableResource, u as RetrievableResourceType, E as TaggableResource, T as TaggableResourceType, z as UpdatableResource, U as UpdatableResourceType, F as VersionableResource, V as VersionableResourceType, nC as creatableResources, nE as deletableResources, nH as getResources, nI as getSingletons, nK as isCreatable, nM as isDeletable, nJ as isSingleton, nN as isTaggable, nL as isUpdatable, nO as isVersionable, nA as resourceList, nB as singletonList, nF as taggableResources, nD as updatableResources, nG as versionableResources } from './api-XshEzS_t.cjs';
1
+ export { aX as CreatableResource, aY as CreatableResourceType, bw as DeletableResource, bx as DeletableResourceType, dR as ListableResource, dS as ListableResourceType, nA as ResourceFields, nB as ResourceSortFields, gv as ResourceTypeLock, gz as RetrievableResource, gA as RetrievableResourceType, iC as TaggableResource, iD as TaggableResourceType, j3 as UpdatableResource, j4 as UpdatableResourceType, j7 as VersionableResource, j8 as VersionableResourceType, nC as creatableResources, nD as deletableResources, nE as getResources, nF as getSingletons, nG as isCreatable, nH as isDeletable, nI as isSingleton, nJ as isTaggable, nK as isUpdatable, nL as isVersionable, nM as resourceList, nN as singletonList, nO as taggableResources, nP as updatableResources, nQ as versionableResources } from './api-Hc0WV-9j.cjs';
2
2
  import './client.cjs';
3
- import './interceptor-k15jXzf0.cjs';
3
+ import './interceptor-ETmS7Tab.cjs';
4
4
  import './types.cjs';
package/lib/enum.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { y as CreatableResource, C as CreatableResourceType, B as DeletableResource, D as DeletableResourceType, x as ListableResource, w as ListableResourceType, nP as ResourceFields, nQ as ResourceSortFields, t as ResourceTypeLock, v as RetrievableResource, u as RetrievableResourceType, E as TaggableResource, T as TaggableResourceType, z as UpdatableResource, U as UpdatableResourceType, F as VersionableResource, V as VersionableResourceType, nC as creatableResources, nE as deletableResources, nH as getResources, nI as getSingletons, nK as isCreatable, nM as isDeletable, nJ as isSingleton, nN as isTaggable, nL as isUpdatable, nO as isVersionable, nA as resourceList, nB as singletonList, nF as taggableResources, nD as updatableResources, nG as versionableResources } from './api-CMxJYHwj.js';
1
+ export { aX as CreatableResource, aY as CreatableResourceType, bw as DeletableResource, bx as DeletableResourceType, dR as ListableResource, dS as ListableResourceType, nA as ResourceFields, nB as ResourceSortFields, gv as ResourceTypeLock, gz as RetrievableResource, gA as RetrievableResourceType, iC as TaggableResource, iD as TaggableResourceType, j3 as UpdatableResource, j4 as UpdatableResourceType, j7 as VersionableResource, j8 as VersionableResourceType, nC as creatableResources, nD as deletableResources, nE as getResources, nF as getSingletons, nG as isCreatable, nH as isDeletable, nI as isSingleton, nJ as isTaggable, nK as isUpdatable, nL as isVersionable, nM as resourceList, nN as singletonList, nO as taggableResources, nP as updatableResources, nQ as versionableResources } from './api-DrryxHto.js';
2
2
  import './client.js';
3
- import './interceptor-k15jXzf0.js';
3
+ import './interceptor-ETmS7Tab.js';
4
4
  import './types.js';
package/lib/fetch.d.cts CHANGED
@@ -1 +1 @@
1
- export { F as Fetch, i as FetchClientOptions, j as FetchError, h as FetchRequestOptions, g as FetchResponse, k as fetchURL } from './interceptor-k15jXzf0.cjs';
1
+ export { F as Fetch, h as FetchClientOptions, i as FetchError, j as FetchRequestOptions, g as FetchResponse, k as fetchURL } from './interceptor-ETmS7Tab.cjs';
package/lib/fetch.d.ts CHANGED
@@ -1 +1 @@
1
- export { F as Fetch, i as FetchClientOptions, j as FetchError, h as FetchRequestOptions, g as FetchResponse, k as fetchURL } from './interceptor-k15jXzf0.js';
1
+ export { F as Fetch, h as FetchClientOptions, i as FetchError, j as FetchRequestOptions, g as FetchResponse, k as fetchURL } from './interceptor-ETmS7Tab.js';
package/lib/index.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkMCWZ3Z3F_cjs = require('./chunk-MCWZ3Z3F.cjs');
5
+ var chunkH7JSRNFC_cjs = require('./chunk-H7JSRNFC.cjs');
6
6
  require('./chunk-SRYEFARJ.cjs');
7
7
  var chunkWEWTTMPS_cjs = require('./chunk-WEWTTMPS.cjs');
8
8
  var chunkXYBXDS3Z_cjs = require('./chunk-XYBXDS3Z.cjs');
@@ -24,7 +24,7 @@ var chunkI5VOVSS7_cjs = require('./chunk-I5VOVSS7.cjs');
24
24
  var chunkKM27D322_cjs = require('./chunk-KM27D322.cjs');
25
25
  var chunkGJOZR5TC_cjs = require('./chunk-GJOZR5TC.cjs');
26
26
  var chunkHUDH634O_cjs = require('./chunk-HUDH634O.cjs');
27
- var chunk73VR2FML_cjs = require('./chunk-73VR2FML.cjs');
27
+ var chunk6DRGTFBA_cjs = require('./chunk-6DRGTFBA.cjs');
28
28
  var chunkJ32Z2XNX_cjs = require('./chunk-J32Z2XNX.cjs');
29
29
  var chunkALCZSKPR_cjs = require('./chunk-ALCZSKPR.cjs');
30
30
  var chunk2M54XID3_cjs = require('./chunk-2M54XID3.cjs');
@@ -37,7 +37,7 @@ var chunkF46RW7IU_cjs = require('./chunk-F46RW7IU.cjs');
37
37
  var chunkKDDMRBB6_cjs = require('./chunk-KDDMRBB6.cjs');
38
38
  var chunkA2SZPZSG_cjs = require('./chunk-A2SZPZSG.cjs');
39
39
  var chunkBHXCVURA_cjs = require('./chunk-BHXCVURA.cjs');
40
- var chunk6QOS6B5F_cjs = require('./chunk-6QOS6B5F.cjs');
40
+ var chunk3X6OVCVT_cjs = require('./chunk-3X6OVCVT.cjs');
41
41
  var chunk7SJAVPZH_cjs = require('./chunk-7SJAVPZH.cjs');
42
42
  var chunk2H2ODZUY_cjs = require('./chunk-2H2ODZUY.cjs');
43
43
  var chunkU7OGOZ5B_cjs = require('./chunk-U7OGOZ5B.cjs');
@@ -51,7 +51,7 @@ var chunk7P3ZTIQX_cjs = require('./chunk-7P3ZTIQX.cjs');
51
51
  var chunkIALPF4NG_cjs = require('./chunk-IALPF4NG.cjs');
52
52
  var chunkTIINXXHU_cjs = require('./chunk-TIINXXHU.cjs');
53
53
  var chunkEVVUYC7T_cjs = require('./chunk-EVVUYC7T.cjs');
54
- var chunkYZ4JURI3_cjs = require('./chunk-YZ4JURI3.cjs');
54
+ var chunkYDMB4XPA_cjs = require('./chunk-YDMB4XPA.cjs');
55
55
  var chunkPBIARBZH_cjs = require('./chunk-PBIARBZH.cjs');
56
56
  var chunkMQSCYGID_cjs = require('./chunk-MQSCYGID.cjs');
57
57
  var chunkU4ELOYK7_cjs = require('./chunk-U4ELOYK7.cjs');
@@ -64,7 +64,7 @@ var chunkYPGYBULL_cjs = require('./chunk-YPGYBULL.cjs');
64
64
  var chunkO3NWYOPV_cjs = require('./chunk-O3NWYOPV.cjs');
65
65
  var chunkFMGDNZQ6_cjs = require('./chunk-FMGDNZQ6.cjs');
66
66
  var chunk6STKOQR7_cjs = require('./chunk-6STKOQR7.cjs');
67
- var chunkWVCUPAHM_cjs = require('./chunk-WVCUPAHM.cjs');
67
+ var chunkWLTZ66G4_cjs = require('./chunk-WLTZ66G4.cjs');
68
68
  var chunkH7EX22DB_cjs = require('./chunk-H7EX22DB.cjs');
69
69
  var chunkKWOKL6HK_cjs = require('./chunk-KWOKL6HK.cjs');
70
70
  var chunkMBROL4C2_cjs = require('./chunk-MBROL4C2.cjs');
@@ -76,12 +76,12 @@ var chunkG7MROYQP_cjs = require('./chunk-G7MROYQP.cjs');
76
76
  var chunkD7VHCT5M_cjs = require('./chunk-D7VHCT5M.cjs');
77
77
  var chunkRAF3LK5T_cjs = require('./chunk-RAF3LK5T.cjs');
78
78
  var chunkQYVJGMYT_cjs = require('./chunk-QYVJGMYT.cjs');
79
- var chunkA76SFMAB_cjs = require('./chunk-A76SFMAB.cjs');
79
+ var chunkPXSMF4QS_cjs = require('./chunk-PXSMF4QS.cjs');
80
80
  var chunkJYSIXEKG_cjs = require('./chunk-JYSIXEKG.cjs');
81
81
  var chunkTZAGUXNS_cjs = require('./chunk-TZAGUXNS.cjs');
82
82
  var chunk4IOIA2JQ_cjs = require('./chunk-4IOIA2JQ.cjs');
83
83
  var chunkT5AO4445_cjs = require('./chunk-T5AO4445.cjs');
84
- var chunk6ZUGJHNV_cjs = require('./chunk-6ZUGJHNV.cjs');
84
+ var chunkO66EZDG2_cjs = require('./chunk-O66EZDG2.cjs');
85
85
  var chunkIVW25AWZ_cjs = require('./chunk-IVW25AWZ.cjs');
86
86
  var chunkOEUSTDGS_cjs = require('./chunk-OEUSTDGS.cjs');
87
87
  var chunk2CPNHJAZ_cjs = require('./chunk-2CPNHJAZ.cjs');
@@ -90,7 +90,7 @@ var chunkI64U2VMD_cjs = require('./chunk-I64U2VMD.cjs');
90
90
  var chunkNVNPOVIQ_cjs = require('./chunk-NVNPOVIQ.cjs');
91
91
  var chunkIXOAGKRD_cjs = require('./chunk-IXOAGKRD.cjs');
92
92
  var chunkXOVAUMDC_cjs = require('./chunk-XOVAUMDC.cjs');
93
- var chunkW3TAU6GU_cjs = require('./chunk-W3TAU6GU.cjs');
93
+ var chunkEJNNEY2F_cjs = require('./chunk-EJNNEY2F.cjs');
94
94
  var chunkNWKIFDQH_cjs = require('./chunk-NWKIFDQH.cjs');
95
95
  var chunkLTVCCLTK_cjs = require('./chunk-LTVCCLTK.cjs');
96
96
  var chunkJWB5Y2WT_cjs = require('./chunk-JWB5Y2WT.cjs');
@@ -117,26 +117,26 @@ var chunkJCOJGOXF_cjs = require('./chunk-JCOJGOXF.cjs');
117
117
  var chunkUYRFDFCS_cjs = require('./chunk-UYRFDFCS.cjs');
118
118
  var chunkKNXPWX4D_cjs = require('./chunk-KNXPWX4D.cjs');
119
119
  var chunkTFJYQUEH_cjs = require('./chunk-TFJYQUEH.cjs');
120
- var chunkII544XO5_cjs = require('./chunk-II544XO5.cjs');
120
+ var chunkZSWW2XGD_cjs = require('./chunk-ZSWW2XGD.cjs');
121
121
  var chunkQ3ULISRX_cjs = require('./chunk-Q3ULISRX.cjs');
122
122
  var chunkUEQ3CRVM_cjs = require('./chunk-UEQ3CRVM.cjs');
123
123
  var chunkZZOSKORP_cjs = require('./chunk-ZZOSKORP.cjs');
124
124
  var chunkOV4JT553_cjs = require('./chunk-OV4JT553.cjs');
125
125
  var chunkZ3FUZ3YM_cjs = require('./chunk-Z3FUZ3YM.cjs');
126
126
  var chunkOA4DVMEQ_cjs = require('./chunk-OA4DVMEQ.cjs');
127
- var chunkDPIHG4FX_cjs = require('./chunk-DPIHG4FX.cjs');
127
+ var chunkLKBPLGXI_cjs = require('./chunk-LKBPLGXI.cjs');
128
128
  var chunkP2OLPCWV_cjs = require('./chunk-P2OLPCWV.cjs');
129
129
  var chunk3YINNWNG_cjs = require('./chunk-3YINNWNG.cjs');
130
- var chunkRDTIBHZO_cjs = require('./chunk-RDTIBHZO.cjs');
130
+ var chunkJLLZQ7JR_cjs = require('./chunk-JLLZQ7JR.cjs');
131
131
  var chunkBGHPRKU4_cjs = require('./chunk-BGHPRKU4.cjs');
132
132
  var chunkEPDTA5Z3_cjs = require('./chunk-EPDTA5Z3.cjs');
133
133
  var chunk7YWXHAMP_cjs = require('./chunk-7YWXHAMP.cjs');
134
134
  var chunkKGZ3FTYR_cjs = require('./chunk-KGZ3FTYR.cjs');
135
- var chunkFCGKL7AI_cjs = require('./chunk-FCGKL7AI.cjs');
135
+ var chunk2C3Z5JNK_cjs = require('./chunk-2C3Z5JNK.cjs');
136
136
  var chunkFNTJOIQB_cjs = require('./chunk-FNTJOIQB.cjs');
137
137
  var chunkD7SALAS2_cjs = require('./chunk-D7SALAS2.cjs');
138
138
  var chunk2ZVHALAO_cjs = require('./chunk-2ZVHALAO.cjs');
139
- var chunkAYM2RMFY_cjs = require('./chunk-AYM2RMFY.cjs');
139
+ var chunkNHDSPKJY_cjs = require('./chunk-NHDSPKJY.cjs');
140
140
  require('./chunk-U22VLCMN.cjs');
141
141
  require('./chunk-YY5ENJSH.cjs');
142
142
  require('./chunk-ZWVME7CU.cjs');
@@ -151,7 +151,7 @@ require('./chunk-JEQ2X3Z6.cjs');
151
151
 
152
152
  Object.defineProperty(exports, "CommerceLayerStatic", {
153
153
  enumerable: true,
154
- get: function () { return chunkMCWZ3Z3F_cjs.CommerceLayerStatic; }
154
+ get: function () { return chunkH7JSRNFC_cjs.CommerceLayerStatic; }
155
155
  });
156
156
  Object.defineProperty(exports, "transactions", {
157
157
  enumerable: true,
@@ -235,7 +235,7 @@ Object.defineProperty(exports, "stores", {
235
235
  });
236
236
  Object.defineProperty(exports, "stripe_gateways", {
237
237
  enumerable: true,
238
- get: function () { return chunk73VR2FML_cjs.stripe_gateways_default; }
238
+ get: function () { return chunk6DRGTFBA_cjs.stripe_gateways_default; }
239
239
  });
240
240
  Object.defineProperty(exports, "stripe_payments", {
241
241
  enumerable: true,
@@ -287,7 +287,7 @@ Object.defineProperty(exports, "returns", {
287
287
  });
288
288
  Object.defineProperty(exports, "satispay_gateways", {
289
289
  enumerable: true,
290
- get: function () { return chunk6QOS6B5F_cjs.satispay_gateways_default; }
290
+ get: function () { return chunk3X6OVCVT_cjs.satispay_gateways_default; }
291
291
  });
292
292
  Object.defineProperty(exports, "satispay_payments", {
293
293
  enumerable: true,
@@ -343,7 +343,7 @@ Object.defineProperty(exports, "payment_options", {
343
343
  });
344
344
  Object.defineProperty(exports, "paypal_gateways", {
345
345
  enumerable: true,
346
- get: function () { return chunkYZ4JURI3_cjs.paypal_gateways_default; }
346
+ get: function () { return chunkYDMB4XPA_cjs.paypal_gateways_default; }
347
347
  });
348
348
  Object.defineProperty(exports, "paypal_payments", {
349
349
  enumerable: true,
@@ -395,7 +395,7 @@ Object.defineProperty(exports, "parcels", {
395
395
  });
396
396
  Object.defineProperty(exports, "payment_gateways", {
397
397
  enumerable: true,
398
- get: function () { return chunkWVCUPAHM_cjs.payment_gateways_default; }
398
+ get: function () { return chunkWLTZ66G4_cjs.payment_gateways_default; }
399
399
  });
400
400
  Object.defineProperty(exports, "payment_methods", {
401
401
  enumerable: true,
@@ -443,7 +443,7 @@ Object.defineProperty(exports, "inventory_stock_locations", {
443
443
  });
444
444
  Object.defineProperty(exports, "klarna_gateways", {
445
445
  enumerable: true,
446
- get: function () { return chunkA76SFMAB_cjs.klarna_gateways_default; }
446
+ get: function () { return chunkPXSMF4QS_cjs.klarna_gateways_default; }
447
447
  });
448
448
  Object.defineProperty(exports, "klarna_payments", {
449
449
  enumerable: true,
@@ -463,7 +463,7 @@ Object.defineProperty(exports, "links", {
463
463
  });
464
464
  Object.defineProperty(exports, "manual_gateways", {
465
465
  enumerable: true,
466
- get: function () { return chunk6ZUGJHNV_cjs.manual_gateways_default; }
466
+ get: function () { return chunkO66EZDG2_cjs.manual_gateways_default; }
467
467
  });
468
468
  Object.defineProperty(exports, "free_shipping_promotions", {
469
469
  enumerable: true,
@@ -499,7 +499,7 @@ Object.defineProperty(exports, "inventory_models", {
499
499
  });
500
500
  Object.defineProperty(exports, "external_gateways", {
501
501
  enumerable: true,
502
- get: function () { return chunkW3TAU6GU_cjs.external_gateways_default; }
502
+ get: function () { return chunkEJNNEY2F_cjs.external_gateways_default; }
503
503
  });
504
504
  Object.defineProperty(exports, "external_payments", {
505
505
  enumerable: true,
@@ -607,7 +607,7 @@ Object.defineProperty(exports, "carrier_accounts", {
607
607
  });
608
608
  Object.defineProperty(exports, "checkout_com_gateways", {
609
609
  enumerable: true,
610
- get: function () { return chunkII544XO5_cjs.checkout_com_gateways_default; }
610
+ get: function () { return chunkZSWW2XGD_cjs.checkout_com_gateways_default; }
611
611
  });
612
612
  Object.defineProperty(exports, "checkout_com_payments", {
613
613
  enumerable: true,
@@ -635,7 +635,7 @@ Object.defineProperty(exports, "avalara_accounts", {
635
635
  });
636
636
  Object.defineProperty(exports, "axerve_gateways", {
637
637
  enumerable: true,
638
- get: function () { return chunkDPIHG4FX_cjs.axerve_gateways_default; }
638
+ get: function () { return chunkLKBPLGXI_cjs.axerve_gateways_default; }
639
639
  });
640
640
  Object.defineProperty(exports, "axerve_payments", {
641
641
  enumerable: true,
@@ -647,7 +647,7 @@ Object.defineProperty(exports, "bing_geocoders", {
647
647
  });
648
648
  Object.defineProperty(exports, "braintree_gateways", {
649
649
  enumerable: true,
650
- get: function () { return chunkRDTIBHZO_cjs.braintree_gateways_default; }
650
+ get: function () { return chunkJLLZQ7JR_cjs.braintree_gateways_default; }
651
651
  });
652
652
  Object.defineProperty(exports, "braintree_payments", {
653
653
  enumerable: true,
@@ -667,7 +667,7 @@ Object.defineProperty(exports, "adjustments", {
667
667
  });
668
668
  Object.defineProperty(exports, "adyen_gateways", {
669
669
  enumerable: true,
670
- get: function () { return chunkFCGKL7AI_cjs.adyen_gateways_default; }
670
+ get: function () { return chunk2C3Z5JNK_cjs.adyen_gateways_default; }
671
671
  });
672
672
  Object.defineProperty(exports, "adyen_payments", {
673
673
  enumerable: true,
@@ -683,11 +683,11 @@ Object.defineProperty(exports, "attachments", {
683
683
  });
684
684
  Object.defineProperty(exports, "CommerceLayer", {
685
685
  enumerable: true,
686
- get: function () { return chunkAYM2RMFY_cjs.CommerceLayer; }
686
+ get: function () { return chunkNHDSPKJY_cjs.CommerceLayer; }
687
687
  });
688
688
  Object.defineProperty(exports, "default", {
689
689
  enumerable: true,
690
- get: function () { return chunkAYM2RMFY_cjs.commercelayer_default; }
690
+ get: function () { return chunkNHDSPKJY_cjs.commercelayer_default; }
691
691
  });
692
692
  //# sourceMappingURL=index.cjs.map
693
693
  //# sourceMappingURL=index.cjs.map