@commercelayer/sdk 7.4.1 → 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.
- package/LICENSE +1 -1
- package/lib/{api-CAxIMq4w.d.ts → api-DrryxHto.d.ts} +617 -129
- package/lib/{api-4eRXMJTL.d.cts → api-Hc0WV-9j.d.cts} +617 -129
- package/lib/api.cjs +36 -36
- package/lib/api.d.cts +2 -2
- package/lib/api.d.ts +2 -2
- package/lib/api.js +18 -18
- package/lib/bundle.cjs +38 -38
- package/lib/bundle.d.cts +2 -2
- package/lib/bundle.d.ts +2 -2
- package/lib/bundle.js +19 -19
- package/lib/{chunk-FCGKL7AI.cjs → chunk-2C3Z5JNK.cjs} +8 -2
- package/lib/chunk-2C3Z5JNK.cjs.map +1 -0
- package/lib/{chunk-6MVBC553.js → chunk-2JB3IVP4.js} +2 -2
- package/lib/chunk-2JB3IVP4.js.map +1 -0
- package/lib/{chunk-UTFSZHUD.cjs → chunk-2ZVHALAO.cjs} +2 -2
- package/lib/{chunk-UTFSZHUD.cjs.map → chunk-2ZVHALAO.cjs.map} +1 -1
- package/lib/{chunk-F6TOLEEF.js → chunk-34MN4L45.js} +2 -2
- package/lib/{chunk-F6TOLEEF.js.map → chunk-34MN4L45.js.map} +1 -1
- package/lib/{chunk-YPRABQMP.js → chunk-3KNN5WPE.js} +8 -2
- package/lib/chunk-3KNN5WPE.js.map +1 -0
- package/lib/{chunk-6QOS6B5F.cjs → chunk-3X6OVCVT.cjs} +8 -2
- package/lib/chunk-3X6OVCVT.cjs.map +1 -0
- package/lib/{chunk-KDQRA5YH.js → chunk-67LLQOPH.js} +8 -2
- package/lib/chunk-67LLQOPH.js.map +1 -0
- package/lib/{chunk-73VR2FML.cjs → chunk-6DRGTFBA.cjs} +8 -2
- package/lib/chunk-6DRGTFBA.cjs.map +1 -0
- package/lib/{chunk-EFU44R7O.js → chunk-6SO2W3YA.js} +2 -2
- package/lib/chunk-6SO2W3YA.js.map +1 -0
- package/lib/{chunk-7AHYBTEX.js → chunk-A3VWVK2F.js} +2 -2
- package/lib/chunk-A3VWVK2F.js.map +1 -0
- package/lib/{chunk-TWQ4THAG.js → chunk-A5KAGODH.js} +8 -2
- package/lib/chunk-A5KAGODH.js.map +1 -0
- package/lib/{chunk-LZXPO7K6.cjs → chunk-ALCZSKPR.cjs} +2 -2
- package/lib/chunk-ALCZSKPR.cjs.map +1 -0
- package/lib/{chunk-OS5DXUBX.js → chunk-BGH55KTL.js} +8 -2
- package/lib/chunk-BGH55KTL.js.map +1 -0
- package/lib/{chunk-OBUC6JTQ.js → chunk-BPUZXZM4.js} +3 -3
- package/lib/{chunk-OBUC6JTQ.js.map → chunk-BPUZXZM4.js.map} +1 -1
- package/lib/{chunk-4B4WZM22.cjs → chunk-C27B7IUW.cjs} +2 -2
- package/lib/{chunk-4B4WZM22.cjs.map → chunk-C27B7IUW.cjs.map} +1 -1
- package/lib/{chunk-7OLCOMGV.cjs → chunk-EJNNEY2F.cjs} +8 -2
- package/lib/chunk-EJNNEY2F.cjs.map +1 -0
- package/lib/{chunk-KIB4XYWP.js → chunk-ERA2COOU.js} +2 -2
- package/lib/{chunk-KIB4XYWP.js.map → chunk-ERA2COOU.js.map} +1 -1
- package/lib/{chunk-HH3NIT7B.js → chunk-FFX5MED5.js} +8 -2
- package/lib/chunk-FFX5MED5.js.map +1 -0
- package/lib/{chunk-R2TFAOMW.cjs → chunk-H7JSRNFC.cjs} +4 -4
- package/lib/{chunk-R2TFAOMW.cjs.map → chunk-H7JSRNFC.cjs.map} +1 -1
- package/lib/{chunk-PENOPHMW.js → chunk-HBVSEXIQ.js} +8 -2
- package/lib/chunk-HBVSEXIQ.js.map +1 -0
- package/lib/{chunk-ZVS24BIO.js → chunk-HU6DRUWJ.js} +2 -2
- package/lib/chunk-HU6DRUWJ.js.map +1 -0
- package/lib/{chunk-PIYKFPYB.js → chunk-IR2JJDF5.js} +8 -2
- package/lib/chunk-IR2JJDF5.js.map +1 -0
- package/lib/{chunk-3SD7QN5M.js → chunk-JD3MI7AO.js} +8 -2
- package/lib/chunk-JD3MI7AO.js.map +1 -0
- package/lib/{chunk-RDTIBHZO.cjs → chunk-JLLZQ7JR.cjs} +8 -2
- package/lib/chunk-JLLZQ7JR.cjs.map +1 -0
- package/lib/{chunk-LGO42DAS.cjs → chunk-JWB5Y2WT.cjs} +2 -2
- package/lib/chunk-JWB5Y2WT.cjs.map +1 -0
- package/lib/{chunk-7LH7NNTW.js → chunk-K6MX6OZL.js} +2 -2
- package/lib/{chunk-7LH7NNTW.js.map → chunk-K6MX6OZL.js.map} +1 -1
- package/lib/{chunk-DPIHG4FX.cjs → chunk-LKBPLGXI.cjs} +8 -2
- package/lib/chunk-LKBPLGXI.cjs.map +1 -0
- package/lib/{chunk-HZAMBMKK.cjs → chunk-LTVCCLTK.cjs} +2 -2
- package/lib/chunk-LTVCCLTK.cjs.map +1 -0
- package/lib/{chunk-I73TW24N.cjs → chunk-MBROL4C2.cjs} +2 -2
- package/lib/chunk-MBROL4C2.cjs.map +1 -0
- package/lib/{chunk-OQHCTA6S.js → chunk-MBWTMQHA.js} +3 -3
- package/lib/chunk-MBWTMQHA.js.map +1 -0
- package/lib/{chunk-WQ7WYE77.cjs → chunk-NHDSPKJY.cjs} +3 -3
- package/lib/chunk-NHDSPKJY.cjs.map +1 -0
- package/lib/{chunk-ZW4CB7J7.cjs → chunk-NVNPOVIQ.cjs} +2 -2
- package/lib/{chunk-ZW4CB7J7.cjs.map → chunk-NVNPOVIQ.cjs.map} +1 -1
- package/lib/{chunk-6ZUGJHNV.cjs → chunk-O66EZDG2.cjs} +8 -2
- package/lib/chunk-O66EZDG2.cjs.map +1 -0
- package/lib/{chunk-A76SFMAB.cjs → chunk-PXSMF4QS.cjs} +8 -2
- package/lib/chunk-PXSMF4QS.cjs.map +1 -0
- package/lib/{chunk-4ATZM33H.js → chunk-SFFSVEXJ.js} +8 -2
- package/lib/chunk-SFFSVEXJ.js.map +1 -0
- package/lib/{chunk-REUVJUJK.js → chunk-V7BADAPA.js} +2 -2
- package/lib/chunk-V7BADAPA.js.map +1 -0
- package/lib/{chunk-DEYOBMM5.js → chunk-VZGJGOH3.js} +8 -2
- package/lib/chunk-VZGJGOH3.js.map +1 -0
- package/lib/{chunk-WVCUPAHM.cjs → chunk-WLTZ66G4.cjs} +2 -2
- package/lib/chunk-WLTZ66G4.cjs.map +1 -0
- package/lib/{chunk-YZ4JURI3.cjs → chunk-YDMB4XPA.cjs} +8 -2
- package/lib/chunk-YDMB4XPA.cjs.map +1 -0
- package/lib/{chunk-II544XO5.cjs → chunk-ZSWW2XGD.cjs} +8 -2
- package/lib/chunk-ZSWW2XGD.cjs.map +1 -0
- package/lib/client.d.cts +1 -1
- package/lib/client.d.ts +1 -1
- package/lib/commercelayer.cjs +5 -5
- package/lib/commercelayer.d.cts +4 -4
- package/lib/commercelayer.d.ts +4 -4
- package/lib/commercelayer.js +1 -1
- package/lib/config.d.cts +1 -1
- package/lib/config.d.ts +1 -1
- package/lib/enum.d.cts +2 -2
- package/lib/enum.d.ts +2 -2
- package/lib/fetch.d.cts +1 -1
- package/lib/fetch.d.ts +1 -1
- package/lib/index.cjs +41 -41
- package/lib/index.d.cts +3 -3
- package/lib/index.d.ts +3 -3
- package/lib/index.js +20 -20
- package/lib/{interceptor-k15jXzf0.d.cts → interceptor-ETmS7Tab.d.cts} +1 -1
- package/lib/{interceptor-k15jXzf0.d.ts → interceptor-ETmS7Tab.d.ts} +1 -1
- package/lib/interceptor.d.cts +1 -1
- package/lib/interceptor.d.ts +1 -1
- package/lib/jsonapi.d.cts +2 -2
- package/lib/jsonapi.d.ts +2 -2
- package/lib/model.d.cts +2 -2
- package/lib/model.d.ts +2 -2
- package/lib/query.d.cts +2 -2
- package/lib/query.d.ts +2 -2
- package/lib/resource.d.cts +2 -2
- package/lib/resource.d.ts +2 -2
- package/lib/resources/addresses.d.cts +3 -3
- package/lib/resources/addresses.d.ts +2 -2
- package/lib/resources/adjustments.d.cts +3 -3
- package/lib/resources/adjustments.d.ts +2 -2
- package/lib/resources/adyen_gateways.cjs +2 -2
- package/lib/resources/adyen_gateways.d.cts +3 -3
- package/lib/resources/adyen_gateways.d.ts +2 -2
- package/lib/resources/adyen_gateways.js +1 -1
- package/lib/resources/adyen_payments.d.cts +3 -3
- package/lib/resources/adyen_payments.d.ts +2 -2
- package/lib/resources/applications.d.cts +3 -3
- package/lib/resources/applications.d.ts +2 -2
- package/lib/resources/attachments.cjs +2 -2
- package/lib/resources/attachments.d.cts +3 -3
- package/lib/resources/attachments.d.ts +2 -2
- package/lib/resources/attachments.js +1 -1
- package/lib/resources/authorizations.d.cts +3 -3
- package/lib/resources/authorizations.d.ts +2 -2
- package/lib/resources/avalara_accounts.d.cts +3 -3
- package/lib/resources/avalara_accounts.d.ts +2 -2
- package/lib/resources/axerve_gateways.cjs +2 -2
- package/lib/resources/axerve_gateways.d.cts +3 -3
- package/lib/resources/axerve_gateways.d.ts +2 -2
- package/lib/resources/axerve_gateways.js +1 -1
- package/lib/resources/axerve_payments.d.cts +3 -3
- package/lib/resources/axerve_payments.d.ts +2 -2
- package/lib/resources/bing_geocoders.d.cts +3 -3
- package/lib/resources/bing_geocoders.d.ts +2 -2
- package/lib/resources/braintree_gateways.cjs +2 -2
- package/lib/resources/braintree_gateways.d.cts +3 -3
- package/lib/resources/braintree_gateways.d.ts +2 -2
- package/lib/resources/braintree_gateways.js +1 -1
- package/lib/resources/braintree_payments.d.cts +3 -3
- package/lib/resources/braintree_payments.d.ts +2 -2
- package/lib/resources/bundles.d.cts +3 -3
- package/lib/resources/bundles.d.ts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.cts +3 -3
- package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
- package/lib/resources/captures.d.cts +3 -3
- package/lib/resources/captures.d.ts +2 -2
- package/lib/resources/carrier_accounts.d.cts +3 -3
- package/lib/resources/carrier_accounts.d.ts +2 -2
- package/lib/resources/checkout_com_gateways.cjs +2 -2
- package/lib/resources/checkout_com_gateways.d.cts +3 -3
- package/lib/resources/checkout_com_gateways.d.ts +2 -2
- package/lib/resources/checkout_com_gateways.js +1 -1
- package/lib/resources/checkout_com_payments.d.cts +3 -3
- package/lib/resources/checkout_com_payments.d.ts +2 -2
- package/lib/resources/cleanups.d.cts +3 -3
- package/lib/resources/cleanups.d.ts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.d.cts +3 -3
- package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
- package/lib/resources/coupon_recipients.d.cts +3 -3
- package/lib/resources/coupon_recipients.d.ts +2 -2
- package/lib/resources/coupons.d.cts +3 -3
- package/lib/resources/coupons.d.ts +2 -2
- package/lib/resources/custom_promotion_rules.d.cts +3 -3
- package/lib/resources/custom_promotion_rules.d.ts +2 -2
- package/lib/resources/customer_addresses.d.cts +3 -3
- package/lib/resources/customer_addresses.d.ts +2 -2
- package/lib/resources/customer_groups.d.cts +3 -3
- package/lib/resources/customer_groups.d.ts +2 -2
- package/lib/resources/customer_password_resets.d.cts +3 -3
- package/lib/resources/customer_password_resets.d.ts +2 -2
- package/lib/resources/customer_payment_sources.d.cts +3 -3
- package/lib/resources/customer_payment_sources.d.ts +2 -2
- package/lib/resources/customer_subscriptions.d.cts +3 -3
- package/lib/resources/customer_subscriptions.d.ts +2 -2
- package/lib/resources/customers.d.cts +3 -3
- package/lib/resources/customers.d.ts +2 -2
- package/lib/resources/delivery_lead_times.d.cts +3 -3
- package/lib/resources/delivery_lead_times.d.ts +2 -2
- package/lib/resources/discount_engine_items.d.cts +3 -3
- package/lib/resources/discount_engine_items.d.ts +2 -2
- package/lib/resources/discount_engines.d.cts +3 -3
- package/lib/resources/discount_engines.d.ts +2 -2
- package/lib/resources/easypost_pickups.d.cts +3 -3
- package/lib/resources/easypost_pickups.d.ts +2 -2
- package/lib/resources/event_callbacks.d.cts +3 -3
- package/lib/resources/event_callbacks.d.ts +2 -2
- package/lib/resources/event_stores.d.cts +3 -3
- package/lib/resources/event_stores.d.ts +2 -2
- package/lib/resources/events.d.cts +3 -3
- package/lib/resources/events.d.ts +2 -2
- package/lib/resources/exports.d.cts +3 -3
- package/lib/resources/exports.d.ts +2 -2
- package/lib/resources/external_gateways.cjs +2 -2
- package/lib/resources/external_gateways.d.cts +3 -3
- package/lib/resources/external_gateways.d.ts +2 -2
- package/lib/resources/external_gateways.js +1 -1
- package/lib/resources/external_payments.d.cts +3 -3
- package/lib/resources/external_payments.d.ts +2 -2
- package/lib/resources/external_promotions.cjs +2 -2
- package/lib/resources/external_promotions.d.cts +3 -3
- package/lib/resources/external_promotions.d.ts +2 -2
- package/lib/resources/external_promotions.js +1 -1
- package/lib/resources/external_tax_calculators.cjs +2 -2
- package/lib/resources/external_tax_calculators.d.cts +3 -3
- package/lib/resources/external_tax_calculators.d.ts +2 -2
- package/lib/resources/external_tax_calculators.js +1 -1
- package/lib/resources/fixed_amount_promotions.d.cts +3 -3
- package/lib/resources/fixed_amount_promotions.d.ts +2 -2
- package/lib/resources/fixed_price_promotions.d.cts +3 -3
- package/lib/resources/fixed_price_promotions.d.ts +2 -2
- package/lib/resources/flex_promotions.d.cts +3 -3
- package/lib/resources/flex_promotions.d.ts +2 -2
- package/lib/resources/free_gift_promotions.d.cts +3 -3
- package/lib/resources/free_gift_promotions.d.ts +2 -2
- package/lib/resources/free_shipping_promotions.d.cts +3 -3
- package/lib/resources/free_shipping_promotions.d.ts +2 -2
- package/lib/resources/geocoders.d.cts +3 -3
- package/lib/resources/geocoders.d.ts +2 -2
- package/lib/resources/gift_card_recipients.d.cts +3 -3
- package/lib/resources/gift_card_recipients.d.ts +2 -2
- package/lib/resources/gift_cards.d.cts +3 -3
- package/lib/resources/gift_cards.d.ts +2 -2
- package/lib/resources/google_geocoders.d.cts +3 -3
- package/lib/resources/google_geocoders.d.ts +2 -2
- package/lib/resources/imports.cjs +2 -2
- package/lib/resources/imports.d.cts +3 -3
- package/lib/resources/imports.d.ts +2 -2
- package/lib/resources/imports.js +1 -1
- package/lib/resources/in_stock_subscriptions.d.cts +3 -3
- package/lib/resources/in_stock_subscriptions.d.ts +2 -2
- package/lib/resources/inventory_models.d.cts +3 -3
- package/lib/resources/inventory_models.d.ts +2 -2
- package/lib/resources/inventory_return_locations.d.cts +3 -3
- package/lib/resources/inventory_return_locations.d.ts +2 -2
- package/lib/resources/inventory_stock_locations.d.cts +3 -3
- package/lib/resources/inventory_stock_locations.d.ts +2 -2
- package/lib/resources/klarna_gateways.cjs +2 -2
- package/lib/resources/klarna_gateways.d.cts +3 -3
- package/lib/resources/klarna_gateways.d.ts +2 -2
- package/lib/resources/klarna_gateways.js +1 -1
- package/lib/resources/klarna_payments.d.cts +3 -3
- package/lib/resources/klarna_payments.d.ts +2 -2
- package/lib/resources/line_item_options.d.cts +3 -3
- package/lib/resources/line_item_options.d.ts +2 -2
- package/lib/resources/line_items.d.cts +3 -3
- package/lib/resources/line_items.d.ts +2 -2
- package/lib/resources/links.d.cts +3 -3
- package/lib/resources/links.d.ts +2 -2
- package/lib/resources/manual_gateways.cjs +2 -2
- package/lib/resources/manual_gateways.d.cts +3 -3
- package/lib/resources/manual_gateways.d.ts +2 -2
- package/lib/resources/manual_gateways.js +1 -1
- package/lib/resources/manual_tax_calculators.d.cts +3 -3
- package/lib/resources/manual_tax_calculators.d.ts +2 -2
- package/lib/resources/markets.cjs +2 -2
- package/lib/resources/markets.d.cts +3 -3
- package/lib/resources/markets.d.ts +2 -2
- package/lib/resources/markets.js +1 -1
- package/lib/resources/merchants.d.cts +3 -3
- package/lib/resources/merchants.d.ts +2 -2
- package/lib/resources/notifications.cjs +2 -2
- package/lib/resources/notifications.d.cts +3 -3
- package/lib/resources/notifications.d.ts +2 -2
- package/lib/resources/notifications.js +1 -1
- package/lib/resources/order_amount_promotion_rules.d.cts +3 -3
- package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
- package/lib/resources/order_copies.d.cts +3 -3
- package/lib/resources/order_copies.d.ts +2 -2
- package/lib/resources/order_factories.d.cts +3 -3
- package/lib/resources/order_factories.d.ts +2 -2
- package/lib/resources/order_subscription_items.d.cts +3 -3
- package/lib/resources/order_subscription_items.d.ts +2 -2
- package/lib/resources/order_subscriptions.d.cts +3 -3
- package/lib/resources/order_subscriptions.d.ts +2 -2
- package/lib/resources/orders.d.cts +3 -3
- package/lib/resources/orders.d.ts +2 -2
- package/lib/resources/organizations.d.cts +3 -3
- package/lib/resources/organizations.d.ts +2 -2
- package/lib/resources/packages.d.cts +3 -3
- package/lib/resources/packages.d.ts +2 -2
- package/lib/resources/parcel_line_items.d.cts +3 -3
- package/lib/resources/parcel_line_items.d.ts +2 -2
- package/lib/resources/parcels.d.cts +3 -3
- package/lib/resources/parcels.d.ts +2 -2
- package/lib/resources/payment_gateways.cjs +2 -2
- package/lib/resources/payment_gateways.d.cts +3 -3
- package/lib/resources/payment_gateways.d.ts +2 -2
- package/lib/resources/payment_gateways.js +1 -1
- package/lib/resources/payment_methods.d.cts +3 -3
- package/lib/resources/payment_methods.d.ts +2 -2
- package/lib/resources/payment_options.d.cts +3 -3
- package/lib/resources/payment_options.d.ts +2 -2
- package/lib/resources/paypal_gateways.cjs +2 -2
- package/lib/resources/paypal_gateways.d.cts +3 -3
- package/lib/resources/paypal_gateways.d.ts +2 -2
- package/lib/resources/paypal_gateways.js +1 -1
- package/lib/resources/paypal_payments.d.cts +3 -3
- package/lib/resources/paypal_payments.d.ts +2 -2
- package/lib/resources/percentage_discount_promotions.d.cts +3 -3
- package/lib/resources/percentage_discount_promotions.d.ts +2 -2
- package/lib/resources/pickups.d.cts +3 -3
- package/lib/resources/pickups.d.ts +2 -2
- package/lib/resources/price_frequency_tiers.d.cts +3 -3
- package/lib/resources/price_frequency_tiers.d.ts +2 -2
- package/lib/resources/price_list_schedulers.d.cts +3 -3
- package/lib/resources/price_list_schedulers.d.ts +2 -2
- package/lib/resources/price_lists.d.cts +3 -3
- package/lib/resources/price_lists.d.ts +2 -2
- package/lib/resources/price_tiers.d.cts +3 -3
- package/lib/resources/price_tiers.d.ts +2 -2
- package/lib/resources/price_volume_tiers.d.cts +3 -3
- package/lib/resources/price_volume_tiers.d.ts +2 -2
- package/lib/resources/prices.d.cts +3 -3
- package/lib/resources/prices.d.ts +2 -2
- package/lib/resources/promotion_rules.d.cts +3 -3
- package/lib/resources/promotion_rules.d.ts +2 -2
- package/lib/resources/promotions.d.cts +3 -3
- package/lib/resources/promotions.d.ts +2 -2
- package/lib/resources/recurring_order_copies.d.cts +3 -3
- package/lib/resources/recurring_order_copies.d.ts +2 -2
- package/lib/resources/refunds.d.cts +3 -3
- package/lib/resources/refunds.d.ts +2 -2
- package/lib/resources/reserved_stocks.d.cts +3 -3
- package/lib/resources/reserved_stocks.d.ts +2 -2
- package/lib/resources/resource_errors.d.cts +3 -3
- package/lib/resources/resource_errors.d.ts +2 -2
- package/lib/resources/return_line_items.d.cts +3 -3
- package/lib/resources/return_line_items.d.ts +2 -2
- package/lib/resources/returns.d.cts +3 -3
- package/lib/resources/returns.d.ts +2 -2
- package/lib/resources/satispay_gateways.cjs +2 -2
- package/lib/resources/satispay_gateways.d.cts +3 -3
- package/lib/resources/satispay_gateways.d.ts +2 -2
- package/lib/resources/satispay_gateways.js +1 -1
- package/lib/resources/satispay_payments.d.cts +3 -3
- package/lib/resources/satispay_payments.d.ts +2 -2
- package/lib/resources/shipments.d.cts +3 -3
- package/lib/resources/shipments.d.ts +2 -2
- package/lib/resources/shipping_categories.d.cts +3 -3
- package/lib/resources/shipping_categories.d.ts +2 -2
- package/lib/resources/shipping_method_tiers.d.cts +3 -3
- package/lib/resources/shipping_method_tiers.d.ts +2 -2
- package/lib/resources/shipping_methods.cjs +2 -2
- package/lib/resources/shipping_methods.d.cts +3 -3
- package/lib/resources/shipping_methods.d.ts +2 -2
- package/lib/resources/shipping_methods.js +1 -1
- package/lib/resources/shipping_weight_tiers.d.cts +3 -3
- package/lib/resources/shipping_weight_tiers.d.ts +2 -2
- package/lib/resources/shipping_zones.d.cts +3 -3
- package/lib/resources/shipping_zones.d.ts +2 -2
- package/lib/resources/sku_list_items.d.cts +3 -3
- package/lib/resources/sku_list_items.d.ts +2 -2
- package/lib/resources/sku_list_promotion_rules.d.cts +3 -3
- package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
- package/lib/resources/sku_lists.d.cts +3 -3
- package/lib/resources/sku_lists.d.ts +2 -2
- package/lib/resources/sku_options.d.cts +3 -3
- package/lib/resources/sku_options.d.ts +2 -2
- package/lib/resources/skus.d.cts +3 -3
- package/lib/resources/skus.d.ts +2 -2
- package/lib/resources/stock_items.d.cts +3 -3
- package/lib/resources/stock_items.d.ts +2 -2
- package/lib/resources/stock_line_items.d.cts +3 -3
- package/lib/resources/stock_line_items.d.ts +2 -2
- package/lib/resources/stock_locations.d.cts +3 -3
- package/lib/resources/stock_locations.d.ts +2 -2
- package/lib/resources/stock_reservations.d.cts +3 -3
- package/lib/resources/stock_reservations.d.ts +2 -2
- package/lib/resources/stock_transfers.d.cts +3 -3
- package/lib/resources/stock_transfers.d.ts +2 -2
- package/lib/resources/stores.d.cts +3 -3
- package/lib/resources/stores.d.ts +2 -2
- package/lib/resources/stripe_gateways.cjs +2 -2
- package/lib/resources/stripe_gateways.d.cts +3 -3
- package/lib/resources/stripe_gateways.d.ts +2 -2
- package/lib/resources/stripe_gateways.js +1 -1
- package/lib/resources/stripe_payments.d.cts +3 -3
- package/lib/resources/stripe_payments.d.ts +2 -2
- package/lib/resources/stripe_tax_accounts.d.cts +3 -3
- package/lib/resources/stripe_tax_accounts.d.ts +2 -2
- package/lib/resources/subscription_models.d.cts +3 -3
- package/lib/resources/subscription_models.d.ts +2 -2
- package/lib/resources/tags.d.cts +3 -3
- package/lib/resources/tags.d.ts +2 -2
- package/lib/resources/talon_one_accounts.d.cts +3 -3
- package/lib/resources/talon_one_accounts.d.ts +2 -2
- package/lib/resources/tax_calculators.d.cts +3 -3
- package/lib/resources/tax_calculators.d.ts +2 -2
- package/lib/resources/tax_categories.d.cts +3 -3
- package/lib/resources/tax_categories.d.ts +2 -2
- package/lib/resources/tax_rules.d.cts +3 -3
- package/lib/resources/tax_rules.d.ts +2 -2
- package/lib/resources/taxjar_accounts.d.cts +3 -3
- package/lib/resources/taxjar_accounts.d.ts +2 -2
- package/lib/resources/transactions.d.cts +3 -3
- package/lib/resources/transactions.d.ts +2 -2
- package/lib/resources/versions.d.cts +3 -3
- package/lib/resources/versions.d.ts +2 -2
- package/lib/resources/vertex_accounts.d.cts +3 -3
- package/lib/resources/vertex_accounts.d.ts +2 -2
- package/lib/resources/voids.d.cts +3 -3
- package/lib/resources/voids.d.ts +2 -2
- package/lib/resources/webhooks.d.cts +3 -3
- package/lib/resources/webhooks.d.ts +2 -2
- package/lib/resources/wire_transfers.d.cts +3 -3
- package/lib/resources/wire_transfers.d.ts +2 -2
- package/lib/static.cjs +3 -3
- package/lib/static.d.cts +2 -2
- package/lib/static.d.ts +2 -2
- package/lib/static.js +2 -2
- package/package.json +3 -3
- package/lib/chunk-3SD7QN5M.js.map +0 -1
- package/lib/chunk-4ATZM33H.js.map +0 -1
- package/lib/chunk-6MVBC553.js.map +0 -1
- package/lib/chunk-6QOS6B5F.cjs.map +0 -1
- package/lib/chunk-6ZUGJHNV.cjs.map +0 -1
- package/lib/chunk-73VR2FML.cjs.map +0 -1
- package/lib/chunk-7AHYBTEX.js.map +0 -1
- package/lib/chunk-7OLCOMGV.cjs.map +0 -1
- package/lib/chunk-A76SFMAB.cjs.map +0 -1
- package/lib/chunk-DEYOBMM5.js.map +0 -1
- package/lib/chunk-DPIHG4FX.cjs.map +0 -1
- package/lib/chunk-EFU44R7O.js.map +0 -1
- package/lib/chunk-FCGKL7AI.cjs.map +0 -1
- package/lib/chunk-HH3NIT7B.js.map +0 -1
- package/lib/chunk-HZAMBMKK.cjs.map +0 -1
- package/lib/chunk-I73TW24N.cjs.map +0 -1
- package/lib/chunk-II544XO5.cjs.map +0 -1
- package/lib/chunk-KDQRA5YH.js.map +0 -1
- package/lib/chunk-LGO42DAS.cjs.map +0 -1
- package/lib/chunk-LZXPO7K6.cjs.map +0 -1
- package/lib/chunk-OQHCTA6S.js.map +0 -1
- package/lib/chunk-OS5DXUBX.js.map +0 -1
- package/lib/chunk-PENOPHMW.js.map +0 -1
- package/lib/chunk-PIYKFPYB.js.map +0 -1
- package/lib/chunk-RDTIBHZO.cjs.map +0 -1
- package/lib/chunk-REUVJUJK.js.map +0 -1
- package/lib/chunk-TWQ4THAG.js.map +0 -1
- package/lib/chunk-WQ7WYE77.cjs.map +0 -1
- package/lib/chunk-WVCUPAHM.cjs.map +0 -1
- package/lib/chunk-YPRABQMP.js.map +0 -1
- package/lib/chunk-YZ4JURI3.cjs.map +0 -1
- package/lib/chunk-ZVS24BIO.js.map +0 -1
package/lib/bundle.cjs
CHANGED
|
@@ -21,9 +21,9 @@ var chunkI5VOVSS7_cjs = require('./chunk-I5VOVSS7.cjs');
|
|
|
21
21
|
var chunkKM27D322_cjs = require('./chunk-KM27D322.cjs');
|
|
22
22
|
var chunkGJOZR5TC_cjs = require('./chunk-GJOZR5TC.cjs');
|
|
23
23
|
var chunkHUDH634O_cjs = require('./chunk-HUDH634O.cjs');
|
|
24
|
-
var
|
|
24
|
+
var chunk6DRGTFBA_cjs = require('./chunk-6DRGTFBA.cjs');
|
|
25
25
|
var chunkJ32Z2XNX_cjs = require('./chunk-J32Z2XNX.cjs');
|
|
26
|
-
var
|
|
26
|
+
var chunkALCZSKPR_cjs = require('./chunk-ALCZSKPR.cjs');
|
|
27
27
|
var chunk2M54XID3_cjs = require('./chunk-2M54XID3.cjs');
|
|
28
28
|
var chunkJUVEIRM4_cjs = require('./chunk-JUVEIRM4.cjs');
|
|
29
29
|
var chunkDQWWKXLR_cjs = require('./chunk-DQWWKXLR.cjs');
|
|
@@ -34,7 +34,7 @@ var chunkF46RW7IU_cjs = require('./chunk-F46RW7IU.cjs');
|
|
|
34
34
|
var chunkKDDMRBB6_cjs = require('./chunk-KDDMRBB6.cjs');
|
|
35
35
|
var chunkA2SZPZSG_cjs = require('./chunk-A2SZPZSG.cjs');
|
|
36
36
|
var chunkBHXCVURA_cjs = require('./chunk-BHXCVURA.cjs');
|
|
37
|
-
var
|
|
37
|
+
var chunk3X6OVCVT_cjs = require('./chunk-3X6OVCVT.cjs');
|
|
38
38
|
var chunk7SJAVPZH_cjs = require('./chunk-7SJAVPZH.cjs');
|
|
39
39
|
var chunk2H2ODZUY_cjs = require('./chunk-2H2ODZUY.cjs');
|
|
40
40
|
var chunkU7OGOZ5B_cjs = require('./chunk-U7OGOZ5B.cjs');
|
|
@@ -48,7 +48,7 @@ var chunk7P3ZTIQX_cjs = require('./chunk-7P3ZTIQX.cjs');
|
|
|
48
48
|
var chunkIALPF4NG_cjs = require('./chunk-IALPF4NG.cjs');
|
|
49
49
|
var chunkTIINXXHU_cjs = require('./chunk-TIINXXHU.cjs');
|
|
50
50
|
var chunkEVVUYC7T_cjs = require('./chunk-EVVUYC7T.cjs');
|
|
51
|
-
var
|
|
51
|
+
var chunkYDMB4XPA_cjs = require('./chunk-YDMB4XPA.cjs');
|
|
52
52
|
var chunkPBIARBZH_cjs = require('./chunk-PBIARBZH.cjs');
|
|
53
53
|
var chunkMQSCYGID_cjs = require('./chunk-MQSCYGID.cjs');
|
|
54
54
|
var chunkU4ELOYK7_cjs = require('./chunk-U4ELOYK7.cjs');
|
|
@@ -61,36 +61,36 @@ var chunkYPGYBULL_cjs = require('./chunk-YPGYBULL.cjs');
|
|
|
61
61
|
var chunkO3NWYOPV_cjs = require('./chunk-O3NWYOPV.cjs');
|
|
62
62
|
var chunkFMGDNZQ6_cjs = require('./chunk-FMGDNZQ6.cjs');
|
|
63
63
|
var chunk6STKOQR7_cjs = require('./chunk-6STKOQR7.cjs');
|
|
64
|
-
var
|
|
64
|
+
var chunkWLTZ66G4_cjs = require('./chunk-WLTZ66G4.cjs');
|
|
65
65
|
var chunkH7EX22DB_cjs = require('./chunk-H7EX22DB.cjs');
|
|
66
66
|
var chunkKWOKL6HK_cjs = require('./chunk-KWOKL6HK.cjs');
|
|
67
|
-
var
|
|
67
|
+
var chunkMBROL4C2_cjs = require('./chunk-MBROL4C2.cjs');
|
|
68
68
|
var chunkEAR4AXVU_cjs = require('./chunk-EAR4AXVU.cjs');
|
|
69
|
-
var
|
|
69
|
+
var chunkC27B7IUW_cjs = require('./chunk-C27B7IUW.cjs');
|
|
70
70
|
var chunk5WUI6OHH_cjs = require('./chunk-5WUI6OHH.cjs');
|
|
71
71
|
var chunkESGRB4YB_cjs = require('./chunk-ESGRB4YB.cjs');
|
|
72
72
|
var chunkG7MROYQP_cjs = require('./chunk-G7MROYQP.cjs');
|
|
73
73
|
var chunkD7VHCT5M_cjs = require('./chunk-D7VHCT5M.cjs');
|
|
74
74
|
var chunkRAF3LK5T_cjs = require('./chunk-RAF3LK5T.cjs');
|
|
75
75
|
var chunkQYVJGMYT_cjs = require('./chunk-QYVJGMYT.cjs');
|
|
76
|
-
var
|
|
76
|
+
var chunkPXSMF4QS_cjs = require('./chunk-PXSMF4QS.cjs');
|
|
77
77
|
var chunkJYSIXEKG_cjs = require('./chunk-JYSIXEKG.cjs');
|
|
78
78
|
var chunkTZAGUXNS_cjs = require('./chunk-TZAGUXNS.cjs');
|
|
79
79
|
var chunk4IOIA2JQ_cjs = require('./chunk-4IOIA2JQ.cjs');
|
|
80
80
|
var chunkT5AO4445_cjs = require('./chunk-T5AO4445.cjs');
|
|
81
|
-
var
|
|
81
|
+
var chunkO66EZDG2_cjs = require('./chunk-O66EZDG2.cjs');
|
|
82
82
|
var chunkIVW25AWZ_cjs = require('./chunk-IVW25AWZ.cjs');
|
|
83
83
|
var chunkOEUSTDGS_cjs = require('./chunk-OEUSTDGS.cjs');
|
|
84
84
|
var chunk2CPNHJAZ_cjs = require('./chunk-2CPNHJAZ.cjs');
|
|
85
85
|
var chunk45YSQMGA_cjs = require('./chunk-45YSQMGA.cjs');
|
|
86
86
|
var chunkI64U2VMD_cjs = require('./chunk-I64U2VMD.cjs');
|
|
87
|
-
var
|
|
87
|
+
var chunkNVNPOVIQ_cjs = require('./chunk-NVNPOVIQ.cjs');
|
|
88
88
|
var chunkIXOAGKRD_cjs = require('./chunk-IXOAGKRD.cjs');
|
|
89
89
|
var chunkXOVAUMDC_cjs = require('./chunk-XOVAUMDC.cjs');
|
|
90
|
-
var
|
|
90
|
+
var chunkEJNNEY2F_cjs = require('./chunk-EJNNEY2F.cjs');
|
|
91
91
|
var chunkNWKIFDQH_cjs = require('./chunk-NWKIFDQH.cjs');
|
|
92
|
-
var
|
|
93
|
-
var
|
|
92
|
+
var chunkLTVCCLTK_cjs = require('./chunk-LTVCCLTK.cjs');
|
|
93
|
+
var chunkJWB5Y2WT_cjs = require('./chunk-JWB5Y2WT.cjs');
|
|
94
94
|
var chunkRRPTC4K5_cjs = require('./chunk-RRPTC4K5.cjs');
|
|
95
95
|
var chunkUN4S45RX_cjs = require('./chunk-UN4S45RX.cjs');
|
|
96
96
|
var chunkHOJUXLZD_cjs = require('./chunk-HOJUXLZD.cjs');
|
|
@@ -114,26 +114,26 @@ var chunkJCOJGOXF_cjs = require('./chunk-JCOJGOXF.cjs');
|
|
|
114
114
|
var chunkUYRFDFCS_cjs = require('./chunk-UYRFDFCS.cjs');
|
|
115
115
|
var chunkKNXPWX4D_cjs = require('./chunk-KNXPWX4D.cjs');
|
|
116
116
|
var chunkTFJYQUEH_cjs = require('./chunk-TFJYQUEH.cjs');
|
|
117
|
-
var
|
|
117
|
+
var chunkZSWW2XGD_cjs = require('./chunk-ZSWW2XGD.cjs');
|
|
118
118
|
var chunkQ3ULISRX_cjs = require('./chunk-Q3ULISRX.cjs');
|
|
119
119
|
var chunkUEQ3CRVM_cjs = require('./chunk-UEQ3CRVM.cjs');
|
|
120
120
|
var chunkZZOSKORP_cjs = require('./chunk-ZZOSKORP.cjs');
|
|
121
121
|
var chunkOV4JT553_cjs = require('./chunk-OV4JT553.cjs');
|
|
122
122
|
var chunkZ3FUZ3YM_cjs = require('./chunk-Z3FUZ3YM.cjs');
|
|
123
123
|
var chunkOA4DVMEQ_cjs = require('./chunk-OA4DVMEQ.cjs');
|
|
124
|
-
var
|
|
124
|
+
var chunkLKBPLGXI_cjs = require('./chunk-LKBPLGXI.cjs');
|
|
125
125
|
var chunkP2OLPCWV_cjs = require('./chunk-P2OLPCWV.cjs');
|
|
126
126
|
var chunk3YINNWNG_cjs = require('./chunk-3YINNWNG.cjs');
|
|
127
|
-
var
|
|
127
|
+
var chunkJLLZQ7JR_cjs = require('./chunk-JLLZQ7JR.cjs');
|
|
128
128
|
var chunkBGHPRKU4_cjs = require('./chunk-BGHPRKU4.cjs');
|
|
129
129
|
var chunkEPDTA5Z3_cjs = require('./chunk-EPDTA5Z3.cjs');
|
|
130
130
|
var chunk7YWXHAMP_cjs = require('./chunk-7YWXHAMP.cjs');
|
|
131
131
|
var chunkKGZ3FTYR_cjs = require('./chunk-KGZ3FTYR.cjs');
|
|
132
|
-
var
|
|
132
|
+
var chunk2C3Z5JNK_cjs = require('./chunk-2C3Z5JNK.cjs');
|
|
133
133
|
var chunkFNTJOIQB_cjs = require('./chunk-FNTJOIQB.cjs');
|
|
134
134
|
var chunkD7SALAS2_cjs = require('./chunk-D7SALAS2.cjs');
|
|
135
|
-
var
|
|
136
|
-
var
|
|
135
|
+
var chunk2ZVHALAO_cjs = require('./chunk-2ZVHALAO.cjs');
|
|
136
|
+
var chunkNHDSPKJY_cjs = require('./chunk-NHDSPKJY.cjs');
|
|
137
137
|
require('./chunk-U22VLCMN.cjs');
|
|
138
138
|
require('./chunk-YY5ENJSH.cjs');
|
|
139
139
|
require('./chunk-ZWVME7CU.cjs');
|
|
@@ -146,7 +146,7 @@ require('./chunk-JEQ2X3Z6.cjs');
|
|
|
146
146
|
|
|
147
147
|
// src/bundle.ts
|
|
148
148
|
var debug = chunkJVF5KY2J_cjs.debug_default("bundle");
|
|
149
|
-
var CommerceLayerBundle = class _CommerceLayerBundle extends
|
|
149
|
+
var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNHDSPKJY_cjs.CommerceLayerClient {
|
|
150
150
|
// ##__CL_RESOURCES_DEF_START__##
|
|
151
151
|
// ##__CL_RESOURCES_DEF_TEMPLATE:: ##__TAB__#####__RESOURCE_TYPE__##?: api.##__RESOURCE_CLASS__##
|
|
152
152
|
// ##__CL_RESOURCES_DEF_STOP__##
|
|
@@ -172,7 +172,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
172
172
|
return chunkKGZ3FTYR_cjs.adjustments_default;
|
|
173
173
|
}
|
|
174
174
|
get adyen_gateways() {
|
|
175
|
-
return
|
|
175
|
+
return chunk2C3Z5JNK_cjs.adyen_gateways_default;
|
|
176
176
|
}
|
|
177
177
|
get adyen_payments() {
|
|
178
178
|
return chunkFNTJOIQB_cjs.adyen_payments_default;
|
|
@@ -181,7 +181,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
181
181
|
return chunkD7SALAS2_cjs.applications_default;
|
|
182
182
|
}
|
|
183
183
|
get attachments() {
|
|
184
|
-
return
|
|
184
|
+
return chunk2ZVHALAO_cjs.attachments_default;
|
|
185
185
|
}
|
|
186
186
|
get authorizations() {
|
|
187
187
|
return chunkZ3FUZ3YM_cjs.authorizations_default;
|
|
@@ -190,7 +190,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
190
190
|
return chunkOA4DVMEQ_cjs.avalara_accounts_default;
|
|
191
191
|
}
|
|
192
192
|
get axerve_gateways() {
|
|
193
|
-
return
|
|
193
|
+
return chunkLKBPLGXI_cjs.axerve_gateways_default;
|
|
194
194
|
}
|
|
195
195
|
get axerve_payments() {
|
|
196
196
|
return chunkP2OLPCWV_cjs.axerve_payments_default;
|
|
@@ -199,7 +199,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
199
199
|
return chunk3YINNWNG_cjs.bing_geocoders_default;
|
|
200
200
|
}
|
|
201
201
|
get braintree_gateways() {
|
|
202
|
-
return
|
|
202
|
+
return chunkJLLZQ7JR_cjs.braintree_gateways_default;
|
|
203
203
|
}
|
|
204
204
|
get braintree_payments() {
|
|
205
205
|
return chunkBGHPRKU4_cjs.braintree_payments_default;
|
|
@@ -217,7 +217,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
217
217
|
return chunkTFJYQUEH_cjs.carrier_accounts_default;
|
|
218
218
|
}
|
|
219
219
|
get checkout_com_gateways() {
|
|
220
|
-
return
|
|
220
|
+
return chunkZSWW2XGD_cjs.checkout_com_gateways_default;
|
|
221
221
|
}
|
|
222
222
|
get checkout_com_payments() {
|
|
223
223
|
return chunkQ3ULISRX_cjs.checkout_com_payments_default;
|
|
@@ -280,16 +280,16 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
280
280
|
return chunkJ42WGTN6_cjs.exports_default;
|
|
281
281
|
}
|
|
282
282
|
get external_gateways() {
|
|
283
|
-
return
|
|
283
|
+
return chunkEJNNEY2F_cjs.external_gateways_default;
|
|
284
284
|
}
|
|
285
285
|
get external_payments() {
|
|
286
286
|
return chunkNWKIFDQH_cjs.external_payments_default;
|
|
287
287
|
}
|
|
288
288
|
get external_promotions() {
|
|
289
|
-
return
|
|
289
|
+
return chunkLTVCCLTK_cjs.external_promotions_default;
|
|
290
290
|
}
|
|
291
291
|
get external_tax_calculators() {
|
|
292
|
-
return
|
|
292
|
+
return chunkJWB5Y2WT_cjs.external_tax_calculators_default;
|
|
293
293
|
}
|
|
294
294
|
get fixed_amount_promotions() {
|
|
295
295
|
return chunkRRPTC4K5_cjs.fixed_amount_promotions_default;
|
|
@@ -319,7 +319,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
319
319
|
return chunkI64U2VMD_cjs.google_geocoders_default;
|
|
320
320
|
}
|
|
321
321
|
get imports() {
|
|
322
|
-
return
|
|
322
|
+
return chunkNVNPOVIQ_cjs.imports_default;
|
|
323
323
|
}
|
|
324
324
|
get in_stock_subscriptions() {
|
|
325
325
|
return chunkIXOAGKRD_cjs.in_stock_subscriptions_default;
|
|
@@ -334,7 +334,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
334
334
|
return chunkQYVJGMYT_cjs.inventory_stock_locations_default;
|
|
335
335
|
}
|
|
336
336
|
get klarna_gateways() {
|
|
337
|
-
return
|
|
337
|
+
return chunkPXSMF4QS_cjs.klarna_gateways_default;
|
|
338
338
|
}
|
|
339
339
|
get klarna_payments() {
|
|
340
340
|
return chunkJYSIXEKG_cjs.klarna_payments_default;
|
|
@@ -349,19 +349,19 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
349
349
|
return chunkT5AO4445_cjs.links_default;
|
|
350
350
|
}
|
|
351
351
|
get manual_gateways() {
|
|
352
|
-
return
|
|
352
|
+
return chunkO66EZDG2_cjs.manual_gateways_default;
|
|
353
353
|
}
|
|
354
354
|
get manual_tax_calculators() {
|
|
355
355
|
return chunkKWOKL6HK_cjs.manual_tax_calculators_default;
|
|
356
356
|
}
|
|
357
357
|
get markets() {
|
|
358
|
-
return
|
|
358
|
+
return chunkMBROL4C2_cjs.markets_default;
|
|
359
359
|
}
|
|
360
360
|
get merchants() {
|
|
361
361
|
return chunkEAR4AXVU_cjs.merchants_default;
|
|
362
362
|
}
|
|
363
363
|
get notifications() {
|
|
364
|
-
return
|
|
364
|
+
return chunkC27B7IUW_cjs.notifications_default;
|
|
365
365
|
}
|
|
366
366
|
get order_amount_promotion_rules() {
|
|
367
367
|
return chunk5WUI6OHH_cjs.order_amount_promotion_rules_default;
|
|
@@ -394,7 +394,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
394
394
|
return chunk6STKOQR7_cjs.parcels_default;
|
|
395
395
|
}
|
|
396
396
|
get payment_gateways() {
|
|
397
|
-
return
|
|
397
|
+
return chunkWLTZ66G4_cjs.payment_gateways_default;
|
|
398
398
|
}
|
|
399
399
|
get payment_methods() {
|
|
400
400
|
return chunkH7EX22DB_cjs.payment_methods_default;
|
|
@@ -403,7 +403,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
403
403
|
return chunkEVVUYC7T_cjs.payment_options_default;
|
|
404
404
|
}
|
|
405
405
|
get paypal_gateways() {
|
|
406
|
-
return
|
|
406
|
+
return chunkYDMB4XPA_cjs.paypal_gateways_default;
|
|
407
407
|
}
|
|
408
408
|
get paypal_payments() {
|
|
409
409
|
return chunkPBIARBZH_cjs.paypal_payments_default;
|
|
@@ -457,7 +457,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
457
457
|
return chunkBHXCVURA_cjs.returns_default;
|
|
458
458
|
}
|
|
459
459
|
get satispay_gateways() {
|
|
460
|
-
return
|
|
460
|
+
return chunk3X6OVCVT_cjs.satispay_gateways_default;
|
|
461
461
|
}
|
|
462
462
|
get satispay_payments() {
|
|
463
463
|
return chunk7SJAVPZH_cjs.satispay_payments_default;
|
|
@@ -472,7 +472,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
472
472
|
return chunkDPE4FTTS_cjs.shipping_method_tiers_default;
|
|
473
473
|
}
|
|
474
474
|
get shipping_methods() {
|
|
475
|
-
return
|
|
475
|
+
return chunkALCZSKPR_cjs.shipping_methods_default;
|
|
476
476
|
}
|
|
477
477
|
get shipping_weight_tiers() {
|
|
478
478
|
return chunk2M54XID3_cjs.shipping_weight_tiers_default;
|
|
@@ -514,7 +514,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkWQ7WYE77_cjs.C
|
|
|
514
514
|
return chunkHUDH634O_cjs.stores_default;
|
|
515
515
|
}
|
|
516
516
|
get stripe_gateways() {
|
|
517
|
-
return
|
|
517
|
+
return chunk6DRGTFBA_cjs.stripe_gateways_default;
|
|
518
518
|
}
|
|
519
519
|
get stripe_payments() {
|
|
520
520
|
return chunkJ32Z2XNX_cjs.stripe_payments_default;
|
package/lib/bundle.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.cjs';
|
|
2
|
-
import {
|
|
2
|
+
import { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers } from './api-Hc0WV-9j.cjs';
|
|
3
3
|
import './error.cjs';
|
|
4
|
-
import './interceptor-
|
|
4
|
+
import './interceptor-ETmS7Tab.cjs';
|
|
5
5
|
import './client.cjs';
|
|
6
6
|
import './types.cjs';
|
|
7
7
|
|
package/lib/bundle.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.js';
|
|
2
|
-
import {
|
|
2
|
+
import { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers } from './api-DrryxHto.js';
|
|
3
3
|
import './error.js';
|
|
4
|
-
import './interceptor-
|
|
4
|
+
import './interceptor-ETmS7Tab.js';
|
|
5
5
|
import './client.js';
|
|
6
6
|
import './types.js';
|
|
7
7
|
|
package/lib/bundle.js
CHANGED
|
@@ -19,9 +19,9 @@ import { stock_locations_default } from './chunk-ZYAGX4RM.js';
|
|
|
19
19
|
import { stock_reservations_default } from './chunk-43SLAYP5.js';
|
|
20
20
|
import { stock_transfers_default } from './chunk-HBDXHKBE.js';
|
|
21
21
|
import { stores_default } from './chunk-UWM5SGDS.js';
|
|
22
|
-
import { stripe_gateways_default } from './chunk-
|
|
22
|
+
import { stripe_gateways_default } from './chunk-JD3MI7AO.js';
|
|
23
23
|
import { stripe_payments_default } from './chunk-VGMMPMUL.js';
|
|
24
|
-
import { shipping_methods_default } from './chunk-
|
|
24
|
+
import { shipping_methods_default } from './chunk-HU6DRUWJ.js';
|
|
25
25
|
import { shipping_weight_tiers_default } from './chunk-LESXALEZ.js';
|
|
26
26
|
import { shipping_zones_default } from './chunk-F3UMNXXH.js';
|
|
27
27
|
import { sku_list_items_default } from './chunk-LF3CZYGK.js';
|
|
@@ -32,7 +32,7 @@ import { skus_default } from './chunk-KMWKIU65.js';
|
|
|
32
32
|
import { resource_errors_default } from './chunk-U25QRMJY.js';
|
|
33
33
|
import { return_line_items_default } from './chunk-6PKJDHVC.js';
|
|
34
34
|
import { returns_default } from './chunk-62EOOGD4.js';
|
|
35
|
-
import { satispay_gateways_default } from './chunk-
|
|
35
|
+
import { satispay_gateways_default } from './chunk-3KNN5WPE.js';
|
|
36
36
|
import { satispay_payments_default } from './chunk-ZXEE43XR.js';
|
|
37
37
|
import { shipments_default } from './chunk-JPX4RLBV.js';
|
|
38
38
|
import { shipping_categories_default } from './chunk-TWL4WEOL.js';
|
|
@@ -46,7 +46,7 @@ import { recurring_order_copies_default } from './chunk-MOKBZVUU.js';
|
|
|
46
46
|
import { refunds_default } from './chunk-ME2ZNNMA.js';
|
|
47
47
|
import { reserved_stocks_default } from './chunk-I2NZB6KN.js';
|
|
48
48
|
import { payment_options_default } from './chunk-65LSQZTV.js';
|
|
49
|
-
import { paypal_gateways_default } from './chunk-
|
|
49
|
+
import { paypal_gateways_default } from './chunk-67LLQOPH.js';
|
|
50
50
|
import { paypal_payments_default } from './chunk-UEDVN7C4.js';
|
|
51
51
|
import { percentage_discount_promotions_default } from './chunk-GK5FCJ4X.js';
|
|
52
52
|
import { pickups_default } from './chunk-TE3N57V6.js';
|
|
@@ -59,36 +59,36 @@ import { organizations_default } from './chunk-NQHQV4PY.js';
|
|
|
59
59
|
import { packages_default } from './chunk-H5CKBXQS.js';
|
|
60
60
|
import { parcel_line_items_default } from './chunk-OA7RZ24N.js';
|
|
61
61
|
import { parcels_default } from './chunk-JAOFRM22.js';
|
|
62
|
-
import { payment_gateways_default } from './chunk-
|
|
62
|
+
import { payment_gateways_default } from './chunk-A3VWVK2F.js';
|
|
63
63
|
import { payment_methods_default } from './chunk-33CXJXIW.js';
|
|
64
64
|
import { manual_tax_calculators_default } from './chunk-4MCWJ5GT.js';
|
|
65
|
-
import { markets_default } from './chunk-
|
|
65
|
+
import { markets_default } from './chunk-2JB3IVP4.js';
|
|
66
66
|
import { merchants_default } from './chunk-WO4S2ZUQ.js';
|
|
67
|
-
import { notifications_default } from './chunk-
|
|
67
|
+
import { notifications_default } from './chunk-34MN4L45.js';
|
|
68
68
|
import { order_amount_promotion_rules_default } from './chunk-CETB5FAI.js';
|
|
69
69
|
import { order_copies_default } from './chunk-A4MUL4NB.js';
|
|
70
70
|
import { order_factories_default } from './chunk-W2EFIUTW.js';
|
|
71
71
|
import { order_subscription_items_default } from './chunk-RJJQU44M.js';
|
|
72
72
|
import { inventory_return_locations_default } from './chunk-OL6PRNU5.js';
|
|
73
73
|
import { inventory_stock_locations_default } from './chunk-5TL34ZY6.js';
|
|
74
|
-
import { klarna_gateways_default } from './chunk-
|
|
74
|
+
import { klarna_gateways_default } from './chunk-VZGJGOH3.js';
|
|
75
75
|
import { klarna_payments_default } from './chunk-I3ZMOPMJ.js';
|
|
76
76
|
import { line_item_options_default } from './chunk-JPKZBEAY.js';
|
|
77
77
|
import { line_items_default } from './chunk-NTAREPLJ.js';
|
|
78
78
|
import { links_default } from './chunk-67TJ6ALR.js';
|
|
79
|
-
import { manual_gateways_default } from './chunk-
|
|
79
|
+
import { manual_gateways_default } from './chunk-A5KAGODH.js';
|
|
80
80
|
import { free_shipping_promotions_default } from './chunk-AVF6NH6B.js';
|
|
81
81
|
import { geocoders_default } from './chunk-IHPFHOEJ.js';
|
|
82
82
|
import { gift_card_recipients_default } from './chunk-6EIS4TN3.js';
|
|
83
83
|
import { gift_cards_default } from './chunk-JWLNUOL5.js';
|
|
84
84
|
import { google_geocoders_default } from './chunk-2QBP2WHJ.js';
|
|
85
|
-
import { imports_default } from './chunk-
|
|
85
|
+
import { imports_default } from './chunk-K6MX6OZL.js';
|
|
86
86
|
import { in_stock_subscriptions_default } from './chunk-FI2PWG6C.js';
|
|
87
87
|
import { inventory_models_default } from './chunk-LE4I5AHS.js';
|
|
88
|
-
import { external_gateways_default } from './chunk-
|
|
88
|
+
import { external_gateways_default } from './chunk-HBVSEXIQ.js';
|
|
89
89
|
import { external_payments_default } from './chunk-G5IOYKFS.js';
|
|
90
|
-
import { external_promotions_default } from './chunk-
|
|
91
|
-
import { external_tax_calculators_default } from './chunk-
|
|
90
|
+
import { external_promotions_default } from './chunk-V7BADAPA.js';
|
|
91
|
+
import { external_tax_calculators_default } from './chunk-6SO2W3YA.js';
|
|
92
92
|
import { fixed_amount_promotions_default } from './chunk-WMEEVBWE.js';
|
|
93
93
|
import { fixed_price_promotions_default } from './chunk-MVRW3HS2.js';
|
|
94
94
|
import { flex_promotions_default } from './chunk-BNWM637R.js';
|
|
@@ -112,26 +112,26 @@ import { customers_default } from './chunk-DIE5NWNX.js';
|
|
|
112
112
|
import { buy_x_pay_y_promotions_default } from './chunk-VZV45GGC.js';
|
|
113
113
|
import { captures_default } from './chunk-P5GRTTMC.js';
|
|
114
114
|
import { carrier_accounts_default } from './chunk-VUVL5VPT.js';
|
|
115
|
-
import { checkout_com_gateways_default } from './chunk-
|
|
115
|
+
import { checkout_com_gateways_default } from './chunk-FFX5MED5.js';
|
|
116
116
|
import { checkout_com_payments_default } from './chunk-G2ZCHH4W.js';
|
|
117
117
|
import { cleanups_default } from './chunk-E2EVY45K.js';
|
|
118
118
|
import { coupon_codes_promotion_rules_default } from './chunk-MXT6VH7V.js';
|
|
119
119
|
import { coupon_recipients_default } from './chunk-BTLPF6RH.js';
|
|
120
120
|
import { authorizations_default } from './chunk-N5DBVBID.js';
|
|
121
121
|
import { avalara_accounts_default } from './chunk-MUMTGXL2.js';
|
|
122
|
-
import { axerve_gateways_default } from './chunk-
|
|
122
|
+
import { axerve_gateways_default } from './chunk-SFFSVEXJ.js';
|
|
123
123
|
import { axerve_payments_default } from './chunk-LGOJTWKL.js';
|
|
124
124
|
import { bing_geocoders_default } from './chunk-VT5HP44I.js';
|
|
125
|
-
import { braintree_gateways_default } from './chunk-
|
|
125
|
+
import { braintree_gateways_default } from './chunk-BGH55KTL.js';
|
|
126
126
|
import { braintree_payments_default } from './chunk-Y3NZRCF4.js';
|
|
127
127
|
import { bundles_default } from './chunk-H6AQZ5TP.js';
|
|
128
128
|
import { addresses_default } from './chunk-3ZOHHEJR.js';
|
|
129
129
|
import { adjustments_default } from './chunk-WK3SIZUG.js';
|
|
130
|
-
import { adyen_gateways_default } from './chunk-
|
|
130
|
+
import { adyen_gateways_default } from './chunk-IR2JJDF5.js';
|
|
131
131
|
import { adyen_payments_default } from './chunk-GRBPCPJQ.js';
|
|
132
132
|
import { applications_default } from './chunk-YTXFX5LA.js';
|
|
133
|
-
import { attachments_default } from './chunk-
|
|
134
|
-
import { CommerceLayerClient } from './chunk-
|
|
133
|
+
import { attachments_default } from './chunk-ERA2COOU.js';
|
|
134
|
+
import { CommerceLayerClient } from './chunk-MBWTMQHA.js';
|
|
135
135
|
import './chunk-XKERR6OR.js';
|
|
136
136
|
import './chunk-CHYP5F26.js';
|
|
137
137
|
import './chunk-UUY77JM3.js';
|
|
@@ -30,6 +30,12 @@ var AdyenGateways = class _AdyenGateways extends chunkU22VLCMN_cjs.ApiResource {
|
|
|
30
30
|
const _adyenGatewayId = adyenGatewayId.id || adyenGatewayId;
|
|
31
31
|
return this.resources.fetch({ type: "adyen_payments" }, `adyen_gateways/${_adyenGatewayId}/adyen_payments`, params, options);
|
|
32
32
|
}
|
|
33
|
+
async _disable(id, params, options) {
|
|
34
|
+
return this.resources.update({ id: typeof id === "string" ? id : id.id, type: _AdyenGateways.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: _AdyenGateways.TYPE, _enable: true }, params, options);
|
|
38
|
+
}
|
|
33
39
|
isAdyenGateway(resource) {
|
|
34
40
|
return resource.type && resource.type === _AdyenGateways.TYPE;
|
|
35
41
|
}
|
|
@@ -47,5 +53,5 @@ var instance = new AdyenGateways();
|
|
|
47
53
|
var adyen_gateways_default = instance;
|
|
48
54
|
|
|
49
55
|
exports.adyen_gateways_default = adyen_gateways_default;
|
|
50
|
-
//# sourceMappingURL=chunk-
|
|
51
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-2C3Z5JNK.cjs.map
|
|
57
|
+
//# sourceMappingURL=chunk-2C3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A2B,MAAA,EAA4C,OAAA,EAAkD;AACtI,IAAA,OAAO,KAAK,SAAA,CAAU,MAAA,CAAyC,EAAE,EAAA,EAAK,OAAO,OAAO,QAAA,GAAW,EAAA,GAAI,EAAA,CAAG,EAAA,EAAI,MAAM,cAAA,CAAc,IAAA,EAAM,SAAS,IAAA,EAAK,EAAG,QAAQ,OAAO,CAAA;AAAA,EACrK;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;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,aAAA,EAAc;AACnC,IAAO,sBAAA,GAAQ","file":"chunk-2C3Z5JNK.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 { AdyenPayment, AdyenPaymentType } from './adyen_payments'\n\n\ntype AdyenGatewayType = 'adyen_gateways'\ntype AdyenGatewayRel = ResourceRel & { type: AdyenGatewayType }\ntype AdyenPaymentRel = ResourceRel & { type: AdyenPaymentType }\n\n\nexport type AdyenGatewaySort = Pick<AdyenGateway, 'id' | 'name' | 'disabled_at'> & ResourceSort\n// export type AdyenGatewayFilter = Pick<AdyenGateway, 'id' | 'name' | 'disabled_at'> & ResourceFilter\n\n\ninterface AdyenGateway extends Resource {\n\t\n\treadonly type: AdyenGatewayType\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 prefix of the endpoint used for live transactions.\n\t * @example ```\"1797a841fbb37ca7-AdyenDemo\"```\n\t */\n\tlive_url_prefix: string\n\t/** \n\t * The checkout API version, supported range is from 66 to 71, default is 71.\n\t * @example ```71```\n\t */\n\tapi_version?: number | null\n\t/** \n\t * Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.\n\t * @example ```true```\n\t */\n\tasync_api?: boolean | null\n\t/** \n\t * Send this attribute if you want to enable partial payments for the order.\n\t */\n\tpartial_payments?: boolean | null\n\t/** \n\t * Indicates if the gateway will use the native customer payment sources.\n\t * @example ```true```\n\t */\n\tnative_customer_payment_sources?: boolean | null\n\t/** \n\t * The gateway webhook endpoint secret, generated by Adyen customer area.\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/adyen_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\tadyen_payments?: AdyenPayment[] | null\n\n}\n\n\ninterface AdyenGatewayCreate 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 merchant account.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_account: string\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key: string\n\t/** \n\t * The public key linked to your API credential.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key?: string | null\n\t/** \n\t * The prefix of the endpoint used for live transactions.\n\t * @example ```\"1797a841fbb37ca7-AdyenDemo\"```\n\t */\n\tlive_url_prefix: string\n\t/** \n\t * The checkout API version, supported range is from 66 to 71, default is 71.\n\t * @example ```71```\n\t */\n\tapi_version?: number | null\n\t/** \n\t * Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.\n\t * @example ```true```\n\t */\n\tasync_api?: boolean | null\n\t/** \n\t * Send this attribute if you want to enable partial payments for the order.\n\t */\n\tpartial_payments?: boolean | null\n\t/** \n\t * Indicates if the gateway will use the native customer payment sources.\n\t * @example ```true```\n\t */\n\tnative_customer_payment_sources?: boolean | null\n\t/** \n\t * The gateway webhook endpoint secret, generated by Adyen customer area.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\twebhook_endpoint_secret?: string | null\n\n\tadyen_payments?: AdyenPaymentRel[] | null\n\n}\n\n\ninterface AdyenGatewayUpdate 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 merchant account.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tmerchant_account?: string | null\n\t/** \n\t * The gateway API key.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tapi_key?: string | null\n\t/** \n\t * The public key linked to your API credential.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\tpublic_key?: string | null\n\t/** \n\t * The prefix of the endpoint used for live transactions.\n\t * @example ```\"1797a841fbb37ca7-AdyenDemo\"```\n\t */\n\tlive_url_prefix?: string | null\n\t/** \n\t * The checkout API version, supported range is from 66 to 71, default is 71.\n\t * @example ```71```\n\t */\n\tapi_version?: number | null\n\t/** \n\t * Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.\n\t * @example ```true```\n\t */\n\tasync_api?: boolean | null\n\t/** \n\t * Send this attribute if you want to enable partial payments for the order.\n\t */\n\tpartial_payments?: boolean | null\n\t/** \n\t * Indicates if the gateway will use the native customer payment sources.\n\t * @example ```true```\n\t */\n\tnative_customer_payment_sources?: boolean | null\n\t/** \n\t * The gateway webhook endpoint secret, generated by Adyen customer area.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\twebhook_endpoint_secret?: string | null\n\n\tadyen_payments?: AdyenPaymentRel[] | null\n\n}\n\n\nclass AdyenGateways extends ApiResource<AdyenGateway> {\n\n\tstatic readonly TYPE: AdyenGatewayType = 'adyen_gateways' as const\n\n\tasync create(resource: AdyenGatewayCreate, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway> {\n\t\treturn this.resources.create<AdyenGatewayCreate, AdyenGateway>({ ...resource, type: AdyenGateways.TYPE }, params, options)\n\t}\n\n\tasync update(resource: AdyenGatewayUpdate, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway> {\n\t\treturn this.resources.update<AdyenGatewayUpdate, AdyenGateway>({ ...resource, type: AdyenGateways.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: AdyenGateways.TYPE } : id, options)\n\t}\n\n\tasync payment_methods(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>> {\n\t\tconst _adyenGatewayId = (adyenGatewayId as AdyenGateway).id || adyenGatewayId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `adyen_gateways/${_adyenGatewayId}/payment_methods`, params, options) as unknown as ListResponse<PaymentMethod>\n\t}\n\n\tasync versions(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _adyenGatewayId = (adyenGatewayId as AdyenGateway).id || adyenGatewayId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `adyen_gateways/${_adyenGatewayId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _adyenGatewayId = (adyenGatewayId as AdyenGateway).id || adyenGatewayId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `adyen_gateways/${_adyenGatewayId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync adyen_payments(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<AdyenPayment>, options?: ResourcesConfig): Promise<ListResponse<AdyenPayment>> {\n\t\tconst _adyenGatewayId = (adyenGatewayId as AdyenGateway).id || adyenGatewayId as string\n\t\treturn this.resources.fetch<AdyenPayment>({ type: 'adyen_payments' }, `adyen_gateways/${_adyenGatewayId}/adyen_payments`, params, options) as unknown as ListResponse<AdyenPayment>\n\t}\n\n\tasync _disable(id: string | AdyenGateway, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway> {\n\t\treturn this.resources.update<AdyenGatewayUpdate, AdyenGateway>({ id: (typeof id === 'string')? id: id.id, type: AdyenGateways.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | AdyenGateway, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway> {\n\t\treturn this.resources.update<AdyenGatewayUpdate, AdyenGateway>({ id: (typeof id === 'string')? id: id.id, type: AdyenGateways.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisAdyenGateway(resource: any): resource is AdyenGateway {\n\t\treturn resource.type && (resource.type === AdyenGateways.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): AdyenGatewayRel {\n\t\treturn super.relationshipOneToOne<AdyenGatewayRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): AdyenGatewayRel[] {\n\t\treturn super.relationshipOneToMany<AdyenGatewayRel>(...ids)\n\t}\n\n\n\ttype(): AdyenGatewayType {\n\t\treturn AdyenGateways.TYPE\n\t}\n\n}\n\n\nconst instance = new AdyenGateways()\nexport default instance\n\nexport type { AdyenGateways, AdyenGateway, AdyenGatewayCreate, AdyenGatewayUpdate, AdyenGatewayType }\n"]}
|
|
@@ -95,5 +95,5 @@ var instance = new Markets();
|
|
|
95
95
|
var markets_default = instance;
|
|
96
96
|
|
|
97
97
|
export { markets_default };
|
|
98
|
-
//# sourceMappingURL=chunk-
|
|
99
|
-
//# sourceMappingURL=chunk-
|
|
98
|
+
//# sourceMappingURL=chunk-2JB3IVP4.js.map
|
|
99
|
+
//# sourceMappingURL=chunk-2JB3IVP4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/markets.ts"],"names":[],"mappings":";;;AA4QA,IAAM,OAAA,GAAN,MAAM,QAAA,SAAgB,WAAA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AA,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-2JB3IVP4.js","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Merchant, MerchantType } from './merchants'\nimport type { PriceList, PriceListType } from './price_lists'\nimport type { InventoryModel, InventoryModelType } from './inventory_models'\nimport type { SubscriptionModel, SubscriptionModelType } from './subscription_models'\nimport type { DiscountEngine, DiscountEngineType } from './discount_engines'\nimport type { CustomerGroup, CustomerGroupType } from './customer_groups'\nimport type { Geocoder, GeocoderType } from './geocoders'\nimport type { ShippingMethod, ShippingMethodType } from './shipping_methods'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { Store } from './stores'\nimport type { PriceListScheduler } from './price_list_schedulers'\nimport type { Attachment } from './attachments'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { AvalaraAccount, AvalaraAccountType } from './avalara_accounts'\nimport type { StripeTaxAccount, StripeTaxAccountType } from './stripe_tax_accounts'\nimport type { VertexAccount, VertexAccountType } from './vertex_accounts'\nimport type { TaxjarAccount, TaxjarAccountType } from './taxjar_accounts'\nimport type { ManualTaxCalculator, ManualTaxCalculatorType } from './manual_tax_calculators'\nimport type { ExternalTaxCalculator, ExternalTaxCalculatorType } from './external_tax_calculators'\n\n\ntype MarketType = 'markets'\ntype MarketRel = ResourceRel & { type: MarketType }\ntype MerchantRel = ResourceRel & { type: MerchantType }\ntype PriceListRel = ResourceRel & { type: PriceListType }\ntype InventoryModelRel = ResourceRel & { type: InventoryModelType }\ntype SubscriptionModelRel = ResourceRel & { type: SubscriptionModelType }\ntype DiscountEngineRel = ResourceRel & { type: DiscountEngineType }\ntype AvalaraAccountRel = ResourceRel & { type: AvalaraAccountType }\ntype StripeTaxAccountRel = ResourceRel & { type: StripeTaxAccountType }\ntype VertexAccountRel = ResourceRel & { type: VertexAccountType }\ntype TaxjarAccountRel = ResourceRel & { type: TaxjarAccountType }\ntype ManualTaxCalculatorRel = ResourceRel & { type: ManualTaxCalculatorType }\ntype ExternalTaxCalculatorRel = ResourceRel & { type: ExternalTaxCalculatorType }\ntype CustomerGroupRel = ResourceRel & { type: CustomerGroupType }\ntype GeocoderRel = ResourceRel & { type: GeocoderType }\ntype ShippingMethodRel = ResourceRel & { type: ShippingMethodType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\n\n\nexport type MarketSort = Pick<Market, 'id' | 'name' | 'code' | 'disabled_at'> & ResourceSort\n// export type MarketFilter = Pick<Market, 'id' | 'name' | 'code' | 'disabled_at'> & ResourceFilter\n\n\ninterface Market extends Resource {\n\t\n\treadonly type: MarketType\n\n\t/** \n\t * Unique identifier for the market (numeric).\n\t * @example ```1234```\n\t */\n\tnumber?: number | null\n\t/** \n\t * The market's internal name.\n\t * @example ```\"EU Market\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the market (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The Facebook Pixed ID.\n\t * @example ```\"1234567890\"```\n\t */\n\tfacebook_pixel_id?: string | null\n\t/** \n\t * The checkout URL for this market.\n\t * @example ```\"https://checkout.yourbrand.com/:order_id\"```\n\t */\n\tcheckout_url?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The URL used to validate orders by an external source.\n\t * @example ```\"https://external_validation.yourbrand.com\"```\n\t */\n\texternal_order_validation_url?: string | null\n\t/** \n\t * Indicates if market belongs to a customer_group.\n\t * @example ```true```\n\t */\n\tprivate?: boolean | null\n\t/** \n\t * When specified indicates the maximum number of shipping line items with cost that will be added to an order.\n\t * @example ```3```\n\t */\n\tshipping_cost_cutoff?: number | null\n\t/** \n\t * Time at which this resource was disabled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tdisabled_at?: string | null\n\t/** \n\t * The shared secret used to sign the external request payload.\n\t * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n\t */\n\tshared_secret: string\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmerchant?: Merchant | null\n\tprice_list?: PriceList | null\n\tbase_price_list?: PriceList | null\n\tinventory_model?: InventoryModel | null\n\tsubscription_model?: SubscriptionModel | null\n\tdiscount_engine?: DiscountEngine | null\n\ttax_calculator?: AvalaraAccount | StripeTaxAccount | VertexAccount | TaxjarAccount | ManualTaxCalculator | ExternalTaxCalculator | null\n\tcustomer_group?: CustomerGroup | null\n\tgeocoder?: Geocoder | null\n\tdefault_shipping_method?: ShippingMethod | null\n\tdefault_payment_method?: PaymentMethod | null\n\tstores?: Store[] | null\n\tprice_list_schedulers?: PriceListScheduler[] | null\n\tattachments?: Attachment[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface MarketCreate extends ResourceCreate {\n\t\n\t/** \n\t * The market's internal name.\n\t * @example ```\"EU Market\"```\n\t */\n\tname: string\n\t/** \n\t * A string that you can use to identify the market (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The Facebook Pixed ID.\n\t * @example ```\"1234567890\"```\n\t */\n\tfacebook_pixel_id?: string | null\n\t/** \n\t * The checkout URL for this market.\n\t * @example ```\"https://checkout.yourbrand.com/:order_id\"```\n\t */\n\tcheckout_url?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The URL used to validate orders by an external source.\n\t * @example ```\"https://external_validation.yourbrand.com\"```\n\t */\n\texternal_order_validation_url?: string | null\n\t/** \n\t * When specified indicates the maximum number of shipping line items with cost that will be added to an order.\n\t * @example ```3```\n\t */\n\tshipping_cost_cutoff?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmerchant: MerchantRel\n\tprice_list: PriceListRel\n\tinventory_model: InventoryModelRel\n\tsubscription_model?: SubscriptionModelRel | null\n\tdiscount_engine?: DiscountEngineRel | null\n\ttax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null\n\tcustomer_group?: CustomerGroupRel | null\n\tgeocoder?: GeocoderRel | null\n\tdefault_shipping_method?: ShippingMethodRel | null\n\tdefault_payment_method?: PaymentMethodRel | null\n\n}\n\n\ninterface MarketUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The market's internal name.\n\t * @example ```\"EU Market\"```\n\t */\n\tname?: string | null\n\t/** \n\t * A string that you can use to identify the market (must be unique within the environment).\n\t * @example ```\"europe1\"```\n\t */\n\tcode?: string | null\n\t/** \n\t * The Facebook Pixed ID.\n\t * @example ```\"1234567890\"```\n\t */\n\tfacebook_pixel_id?: string | null\n\t/** \n\t * The checkout URL for this market.\n\t * @example ```\"https://checkout.yourbrand.com/:order_id\"```\n\t */\n\tcheckout_url?: string | null\n\t/** \n\t * The URL used to overwrite prices by an external source.\n\t * @example ```\"https://external_prices.yourbrand.com\"```\n\t */\n\texternal_prices_url?: string | null\n\t/** \n\t * The URL used to validate orders by an external source.\n\t * @example ```\"https://external_validation.yourbrand.com\"```\n\t */\n\texternal_order_validation_url?: string | null\n\t/** \n\t * When specified indicates the maximum number of shipping line items with cost that will be added to an order.\n\t * @example ```3```\n\t */\n\tshipping_cost_cutoff?: number | null\n\t/** \n\t * Send this attribute if you want to mark this resource as disabled.\n\t * @example ```true```\n\t */\n\t_disable?: boolean | null\n\t/** \n\t * Send this attribute if you want to mark this resource as enabled.\n\t * @example ```true```\n\t */\n\t_enable?: boolean | null\n\t/** \n\t * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.\n\t * @example ```[\"order.line_item_options\"]```\n\t */\n\texternal_includes?: string[] | null\n\n\tmerchant?: MerchantRel | null\n\tprice_list?: PriceListRel | null\n\tinventory_model?: InventoryModelRel | null\n\tsubscription_model?: SubscriptionModelRel | null\n\tdiscount_engine?: DiscountEngineRel | null\n\ttax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null\n\tcustomer_group?: CustomerGroupRel | null\n\tgeocoder?: GeocoderRel | null\n\tdefault_shipping_method?: ShippingMethodRel | null\n\tdefault_payment_method?: PaymentMethodRel | null\n\n}\n\n\nclass Markets extends ApiResource<Market> {\n\n\tstatic readonly TYPE: MarketType = 'markets' as const\n\n\tasync create(resource: MarketCreate, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.create<MarketCreate, Market>({ ...resource, type: Markets.TYPE }, params, options)\n\t}\n\n\tasync update(resource: MarketUpdate, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.update<MarketUpdate, Market>({ ...resource, type: Markets.TYPE }, params, options)\n\t}\n\n\tasync delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void> {\n\t\tawait this.resources.delete((typeof id === 'string')? { id, type: Markets.TYPE } : id, options)\n\t}\n\n\tasync merchant(marketId: string | Market, params?: QueryParamsRetrieve<Merchant>, options?: ResourcesConfig): Promise<Merchant> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Merchant>({ type: 'merchants' }, `markets/${_marketId}/merchant`, params, options) as unknown as Merchant\n\t}\n\n\tasync price_list(marketId: string | Market, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PriceList>({ type: 'price_lists' }, `markets/${_marketId}/price_list`, params, options) as unknown as PriceList\n\t}\n\n\tasync base_price_list(marketId: string | Market, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PriceList>({ type: 'price_lists' }, `markets/${_marketId}/base_price_list`, params, options) as unknown as PriceList\n\t}\n\n\tasync inventory_model(marketId: string | Market, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<InventoryModel>({ type: 'inventory_models' }, `markets/${_marketId}/inventory_model`, params, options) as unknown as InventoryModel\n\t}\n\n\tasync subscription_model(marketId: string | Market, params?: QueryParamsRetrieve<SubscriptionModel>, options?: ResourcesConfig): Promise<SubscriptionModel> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<SubscriptionModel>({ type: 'subscription_models' }, `markets/${_marketId}/subscription_model`, params, options) as unknown as SubscriptionModel\n\t}\n\n\tasync discount_engine(marketId: string | Market, params?: QueryParamsRetrieve<DiscountEngine>, options?: ResourcesConfig): Promise<DiscountEngine> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<DiscountEngine>({ type: 'discount_engines' }, `markets/${_marketId}/discount_engine`, params, options) as unknown as DiscountEngine\n\t}\n\n\tasync customer_group(marketId: string | Market, params?: QueryParamsRetrieve<CustomerGroup>, options?: ResourcesConfig): Promise<CustomerGroup> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<CustomerGroup>({ type: 'customer_groups' }, `markets/${_marketId}/customer_group`, params, options) as unknown as CustomerGroup\n\t}\n\n\tasync geocoder(marketId: string | Market, params?: QueryParamsRetrieve<Geocoder>, options?: ResourcesConfig): Promise<Geocoder> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Geocoder>({ type: 'geocoders' }, `markets/${_marketId}/geocoder`, params, options) as unknown as Geocoder\n\t}\n\n\tasync default_shipping_method(marketId: string | Market, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<ShippingMethod>({ type: 'shipping_methods' }, `markets/${_marketId}/default_shipping_method`, params, options) as unknown as ShippingMethod\n\t}\n\n\tasync default_payment_method(marketId: string | Market, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PaymentMethod>({ type: 'payment_methods' }, `markets/${_marketId}/default_payment_method`, params, options) as unknown as PaymentMethod\n\t}\n\n\tasync stores(marketId: string | Market, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Store>({ type: 'stores' }, `markets/${_marketId}/stores`, params, options) as unknown as ListResponse<Store>\n\t}\n\n\tasync price_list_schedulers(marketId: string | Market, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<PriceListScheduler>({ type: 'price_list_schedulers' }, `markets/${_marketId}/price_list_schedulers`, params, options) as unknown as ListResponse<PriceListScheduler>\n\t}\n\n\tasync attachments(marketId: string | Market, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `markets/${_marketId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync versions(marketId: string | Market, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `markets/${_marketId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(marketId: string | Market, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _marketId = (marketId as Market).id || marketId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `markets/${_marketId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync _disable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.update<MarketUpdate, Market>({ id: (typeof id === 'string')? id: id.id, type: Markets.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\treturn this.resources.update<MarketUpdate, Market>({ id: (typeof id === 'string')? id: id.id, type: Markets.TYPE, _enable: true }, params, options)\n\t}\n\n\n\tisMarket(resource: any): resource is Market {\n\t\treturn resource.type && (resource.type === Markets.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): MarketRel {\n\t\treturn super.relationshipOneToOne<MarketRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): MarketRel[] {\n\t\treturn super.relationshipOneToMany<MarketRel>(...ids)\n\t}\n\n\n\ttype(): MarketType {\n\t\treturn Markets.TYPE\n\t}\n\n}\n\n\nconst instance = new Markets()\nexport default instance\n\nexport type { Markets, Market, MarketCreate, MarketUpdate, MarketType }\n"]}
|
|
@@ -35,5 +35,5 @@ var instance = new Attachments();
|
|
|
35
35
|
var attachments_default = instance;
|
|
36
36
|
|
|
37
37
|
exports.attachments_default = attachments_default;
|
|
38
|
-
//# sourceMappingURL=chunk-
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
38
|
+
//# sourceMappingURL=chunk-2ZVHALAO.cjs.map
|
|
39
|
+
//# sourceMappingURL=chunk-2ZVHALAO.cjs.map
|