@commercelayer/sdk 7.6.1 → 7.8.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/lib/{api-Hc0WV-9j.d.cts → api-D2LyR3zD.d.cts} +87 -2
- package/lib/{api-DrryxHto.d.ts → api-D8k2hYlQ.d.ts} +87 -2
- package/lib/api.cjs +34 -34
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +17 -17
- package/lib/bundle.cjs +36 -36
- package/lib/bundle.d.cts +1 -1
- package/lib/bundle.d.ts +1 -1
- package/lib/bundle.js +18 -18
- package/lib/{chunk-6GN2WIAZ.cjs → chunk-2XDNWGMO.cjs} +2 -2
- package/lib/chunk-2XDNWGMO.cjs.map +1 -0
- package/lib/{chunk-6MGCNPAT.js → chunk-3QQQMHYY.js} +2 -2
- package/lib/{chunk-6MGCNPAT.js.map → chunk-3QQQMHYY.js.map} +1 -1
- package/lib/{chunk-LTVCCLTK.cjs → chunk-46ESSSNR.cjs} +2 -2
- package/lib/chunk-46ESSSNR.cjs.map +1 -0
- package/lib/{chunk-FNTJOIQB.cjs → chunk-6KOFQEOI.cjs} +2 -2
- package/lib/chunk-6KOFQEOI.cjs.map +1 -0
- package/lib/{chunk-N5DBVBID.js → chunk-6KXHU2QJ.js} +2 -2
- package/lib/chunk-6KXHU2QJ.js.map +1 -0
- package/lib/{chunk-3XJA5M3C.cjs → chunk-BRXYDOGG.cjs} +2 -2
- package/lib/chunk-BRXYDOGG.cjs.map +1 -0
- package/lib/{chunk-IALPF4NG.cjs → chunk-CQASXR3J.cjs} +2 -2
- package/lib/chunk-CQASXR3J.cjs.map +1 -0
- package/lib/{chunk-ZP6AAIZA.cjs → chunk-D2HUJSJV.cjs} +2 -2
- package/lib/{chunk-ZP6AAIZA.cjs.map → chunk-D2HUJSJV.cjs.map} +1 -1
- package/lib/{chunk-ME2ZNNMA.js → chunk-DOY7VJPG.js} +2 -2
- package/lib/chunk-DOY7VJPG.js.map +1 -0
- package/lib/{chunk-7SJAVPZH.cjs → chunk-EZHUH52J.cjs} +2 -2
- package/lib/chunk-EZHUH52J.cjs.map +1 -0
- package/lib/{chunk-KNXPWX4D.cjs → chunk-F4P2PUF7.cjs} +2 -2
- package/lib/chunk-F4P2PUF7.cjs.map +1 -0
- package/lib/{chunk-HTD3SSWZ.js → chunk-GAPLQGJO.js} +2 -2
- package/lib/chunk-GAPLQGJO.js.map +1 -0
- package/lib/{chunk-MQSCYGID.cjs → chunk-GHYWZ5KT.cjs} +2 -2
- package/lib/chunk-GHYWZ5KT.cjs.map +1 -0
- package/lib/{chunk-AVF6NH6B.js → chunk-INW4SZG7.js} +2 -2
- package/lib/chunk-INW4SZG7.js.map +1 -0
- package/lib/{chunk-H6AQZ5TP.js → chunk-IODJPN7Z.js} +2 -2
- package/lib/chunk-IODJPN7Z.js.map +1 -0
- package/lib/{chunk-LLYWUA5S.js → chunk-IT2MWRJY.js} +2 -2
- package/lib/chunk-IT2MWRJY.js.map +1 -0
- package/lib/{chunk-ZXEE43XR.js → chunk-IYPHDMBD.js} +2 -2
- package/lib/chunk-IYPHDMBD.js.map +1 -0
- package/lib/{chunk-NHDSPKJY.cjs → chunk-J3IOXLY2.cjs} +3 -3
- package/lib/{chunk-NHDSPKJY.cjs.map → chunk-J3IOXLY2.cjs.map} +1 -1
- package/lib/{chunk-WEWTTMPS.cjs → chunk-K3CF32TJ.cjs} +2 -2
- package/lib/chunk-K3CF32TJ.cjs.map +1 -0
- package/lib/{chunk-Z3FUZ3YM.cjs → chunk-LKVJRTT2.cjs} +2 -2
- package/lib/chunk-LKVJRTT2.cjs.map +1 -0
- package/lib/{chunk-MBWTMQHA.js → chunk-M37U5CLH.js} +3 -3
- package/lib/{chunk-MBWTMQHA.js.map → chunk-M37U5CLH.js.map} +1 -1
- package/lib/{chunk-V7BADAPA.js → chunk-M6BKGQCR.js} +2 -2
- package/lib/chunk-M6BKGQCR.js.map +1 -0
- package/lib/{chunk-GK5FCJ4X.js → chunk-MCZXCMRV.js} +2 -2
- package/lib/chunk-MCZXCMRV.js.map +1 -0
- package/lib/{chunk-VZV45GGC.js → chunk-MHQOHOZS.js} +2 -2
- package/lib/chunk-MHQOHOZS.js.map +1 -0
- package/lib/{chunk-EPDTA5Z3.cjs → chunk-MYWCHH2I.cjs} +2 -2
- package/lib/chunk-MYWCHH2I.cjs.map +1 -0
- package/lib/{chunk-UYRFDFCS.cjs → chunk-OSZIVS3X.cjs} +2 -2
- package/lib/chunk-OSZIVS3X.cjs.map +1 -0
- package/lib/{chunk-6ZJMVQ7T.js → chunk-QPQRYXII.js} +2 -2
- package/lib/chunk-QPQRYXII.js.map +1 -0
- package/lib/{chunk-IVW25AWZ.cjs → chunk-QVJM26QQ.cjs} +2 -2
- package/lib/chunk-QVJM26QQ.cjs.map +1 -0
- package/lib/{chunk-P5GRTTMC.js → chunk-RZMSILW7.js} +2 -2
- package/lib/chunk-RZMSILW7.js.map +1 -0
- package/lib/{chunk-WMEEVBWE.js → chunk-SWBSSC3A.js} +2 -2
- package/lib/chunk-SWBSSC3A.js.map +1 -0
- package/lib/{chunk-H7JSRNFC.cjs → chunk-UG5XMVH3.cjs} +4 -4
- package/lib/{chunk-H7JSRNFC.cjs.map → chunk-UG5XMVH3.cjs.map} +1 -1
- package/lib/{chunk-UN4S45RX.cjs → chunk-URMWXBVU.cjs} +2 -2
- package/lib/chunk-URMWXBVU.cjs.map +1 -0
- package/lib/{chunk-2C3Z5JNK.cjs → chunk-VDC2LQMB.cjs} +2 -2
- package/lib/chunk-VDC2LQMB.cjs.map +1 -0
- package/lib/{chunk-MVRW3HS2.js → chunk-VO5QTCJ4.js} +2 -2
- package/lib/chunk-VO5QTCJ4.js.map +1 -0
- package/lib/{chunk-RRPTC4K5.cjs → chunk-YII77MGK.cjs} +2 -2
- package/lib/chunk-YII77MGK.cjs.map +1 -0
- package/lib/{chunk-GRBPCPJQ.js → chunk-YVF52KQK.js} +2 -2
- package/lib/chunk-YVF52KQK.js.map +1 -0
- package/lib/{chunk-BPUZXZM4.js → chunk-YYI4OFL3.js} +3 -3
- package/lib/{chunk-BPUZXZM4.js.map → chunk-YYI4OFL3.js.map} +1 -1
- package/lib/{chunk-IR2JJDF5.js → chunk-ZSH3A37I.js} +2 -2
- package/lib/chunk-ZSH3A37I.js.map +1 -0
- package/lib/commercelayer.cjs +5 -5
- package/lib/commercelayer.d.cts +3 -3
- package/lib/commercelayer.d.ts +3 -3
- package/lib/commercelayer.js +1 -1
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/index.cjs +39 -39
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +19 -19
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/query.d.cts +1 -1
- package/lib/query.d.ts +1 -1
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adyen_gateways.cjs +2 -2
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +1 -1
- package/lib/resources/adyen_payments.cjs +2 -2
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +1 -1
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/authorizations.cjs +2 -2
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +1 -1
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/bundles.cjs +2 -2
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +1 -1
- package/lib/resources/buy_x_pay_y_promotions.cjs +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.js +1 -1
- package/lib/resources/captures.cjs +2 -2
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +1 -1
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/checkout_com_gateways.d.cts +2 -2
- package/lib/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/resources/checkout_com_payments.d.cts +2 -2
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/resources/coupon_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.d.cts +2 -2
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_password_resets.d.cts +2 -2
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_payment_sources.d.cts +2 -2
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/delivery_lead_times.d.cts +2 -2
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/discount_engine_items.d.cts +2 -2
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_stores.d.cts +2 -2
- package/lib/resources/event_stores.d.ts +1 -1
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_promotions.cjs +2 -2
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +1 -1
- package/lib/resources/external_tax_calculators.d.cts +2 -2
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.cjs +2 -2
- package/lib/resources/fixed_amount_promotions.d.cts +2 -2
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.js +1 -1
- package/lib/resources/fixed_price_promotions.cjs +2 -2
- package/lib/resources/fixed_price_promotions.d.cts +2 -2
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.js +1 -1
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/free_gift_promotions.cjs +2 -2
- package/lib/resources/free_gift_promotions.d.cts +2 -2
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_gift_promotions.js +1 -1
- package/lib/resources/free_shipping_promotions.cjs +2 -2
- package/lib/resources/free_shipping_promotions.d.cts +2 -2
- package/lib/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.js +1 -1
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/gift_card_recipients.d.cts +2 -2
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.d.cts +2 -2
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_return_locations.d.cts +2 -2
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.d.cts +2 -2
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/line_item_options.d.cts +2 -2
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.d.cts +2 -2
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/resources/order_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_subscription_items.d.cts +2 -2
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/parcel_line_items.d.cts +2 -2
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.cjs +2 -2
- package/lib/resources/percentage_discount_promotions.d.cts +2 -2
- package/lib/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.js +1 -1
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.d.cts +2 -2
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.d.cts +2 -2
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.d.cts +2 -2
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotions.cjs +2 -2
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +1 -1
- package/lib/resources/recurring_order_copies.d.cts +2 -2
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/refunds.cjs +2 -2
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +1 -1
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/return_line_items.d.cts +2 -2
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_payments.cjs +2 -2
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +1 -1
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.d.cts +2 -2
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.d.cts +2 -2
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/sku_list_items.d.cts +2 -2
- package/lib/resources/sku_list_items.d.ts +1 -1
- package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_line_items.d.cts +2 -2
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.d.cts +2 -2
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/talon_one_accounts.d.cts +2 -2
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/transactions.cjs +2 -2
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +1 -1
- package/lib/resources/versions.d.cts +2 -2
- package/lib/resources/versions.d.ts +1 -1
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/voids.cjs +2 -2
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +1 -1
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/static.cjs +3 -3
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +2 -2
- package/package.json +3 -3
- package/lib/chunk-2C3Z5JNK.cjs.map +0 -1
- package/lib/chunk-3XJA5M3C.cjs.map +0 -1
- package/lib/chunk-6GN2WIAZ.cjs.map +0 -1
- package/lib/chunk-6ZJMVQ7T.js.map +0 -1
- package/lib/chunk-7SJAVPZH.cjs.map +0 -1
- package/lib/chunk-AVF6NH6B.js.map +0 -1
- package/lib/chunk-EPDTA5Z3.cjs.map +0 -1
- package/lib/chunk-FNTJOIQB.cjs.map +0 -1
- package/lib/chunk-GK5FCJ4X.js.map +0 -1
- package/lib/chunk-GRBPCPJQ.js.map +0 -1
- package/lib/chunk-H6AQZ5TP.js.map +0 -1
- package/lib/chunk-HTD3SSWZ.js.map +0 -1
- package/lib/chunk-IALPF4NG.cjs.map +0 -1
- package/lib/chunk-IR2JJDF5.js.map +0 -1
- package/lib/chunk-IVW25AWZ.cjs.map +0 -1
- package/lib/chunk-KNXPWX4D.cjs.map +0 -1
- package/lib/chunk-LLYWUA5S.js.map +0 -1
- package/lib/chunk-LTVCCLTK.cjs.map +0 -1
- package/lib/chunk-ME2ZNNMA.js.map +0 -1
- package/lib/chunk-MQSCYGID.cjs.map +0 -1
- package/lib/chunk-MVRW3HS2.js.map +0 -1
- package/lib/chunk-N5DBVBID.js.map +0 -1
- package/lib/chunk-P5GRTTMC.js.map +0 -1
- package/lib/chunk-RRPTC4K5.cjs.map +0 -1
- package/lib/chunk-UN4S45RX.cjs.map +0 -1
- package/lib/chunk-UYRFDFCS.cjs.map +0 -1
- package/lib/chunk-V7BADAPA.js.map +0 -1
- package/lib/chunk-VZV45GGC.js.map +0 -1
- package/lib/chunk-WEWTTMPS.cjs.map +0 -1
- package/lib/chunk-WMEEVBWE.js.map +0 -1
- package/lib/chunk-Z3FUZ3YM.cjs.map +0 -1
- package/lib/chunk-ZXEE43XR.js.map +0 -1
package/lib/api.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers, jt as addresses, ju as adjustments, jv as adyen_gateways, jw as adyen_payments, jx as application, jy as attachments, jz as authorizations, jA as avalara_accounts, jB as axerve_gateways, jC as axerve_payments, jD as bing_geocoders, jE as braintree_gateways, jF as braintree_payments, jG as bundles, jH as buy_x_pay_y_promotions, jI as captures, jJ as carrier_accounts, jK as checkout_com_gateways, jL as checkout_com_payments, jM as cleanups, jN as coupon_codes_promotion_rules, jO as coupon_recipients, jP as coupons, jQ as custom_promotion_rules, jR as customer_addresses, jS as customer_groups, jT as customer_password_resets, jU as customer_payment_sources, jV as customer_subscriptions, jW as customers, jX as delivery_lead_times, jY as discount_engine_items, jZ as discount_engines, j_ as easypost_pickups, j$ as event_callbacks, k0 as event_stores, k1 as events, k2 as exports, k3 as external_gateways, k4 as external_payments, k5 as external_promotions, k6 as external_tax_calculators, k7 as fixed_amount_promotions, k8 as fixed_price_promotions, k9 as flex_promotions, ka as free_gift_promotions, kb as free_shipping_promotions, kc as geocoders, kd as gift_card_recipients, ke as gift_cards, kf as google_geocoders, kg as imports, kh as in_stock_subscriptions, ki as inventory_models, kj as inventory_return_locations, kk as inventory_stock_locations, kl as klarna_gateways, km as klarna_payments, kn as line_item_options, ko as line_items, kp as links, kq as manual_gateways, kr as manual_tax_calculators, ks as markets, kt as merchants, ku as notifications, kv as order_amount_promotion_rules, kw as order_copies, kx as order_factories, ky as order_subscription_items, kz as order_subscriptions, kA as orders, kB as organization, kC as packages, kD as parcel_line_items, kE as parcels, kF as payment_gateways, kG as payment_methods, kH as payment_options, kI as paypal_gateways, kJ as paypal_payments, kK as percentage_discount_promotions, kL as pickups, kM as price_frequency_tiers, kN as price_list_schedulers, kO as price_lists, kP as price_tiers, kQ as price_volume_tiers, kR as prices, kS as promotion_rules, kT as promotions, kU as recurring_order_copies, kV as refunds, kW as reserved_stocks, kX as resource_errors, kY as return_line_items, kZ as returns, k_ as satispay_gateways, k$ as satispay_payments, l0 as shipments, l1 as shipping_categories, l2 as shipping_method_tiers, l3 as shipping_methods, l4 as shipping_weight_tiers, l5 as shipping_zones, l6 as sku_list_items, l7 as sku_list_promotion_rules, l8 as sku_lists, l9 as sku_options, la as skus, lb as stock_items, lc as stock_line_items, ld as stock_locations, le as stock_reservations, lf as stock_transfers, lg as stores, lh as stripe_gateways, li as stripe_payments, lj as stripe_tax_accounts, lk as subscription_models, ll as tags, lm as talon_one_accounts, ln as tax_calculators, lo as tax_categories, lp as tax_rules, lq as taxjar_accounts, lr as transactions, ls as versions, lt as vertex_accounts, lu as voids, lv as webhooks, lw as wire_transfers } from './api-
|
|
1
|
+
export { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers, jt as addresses, ju as adjustments, jv as adyen_gateways, jw as adyen_payments, jx as application, jy as attachments, jz as authorizations, jA as avalara_accounts, jB as axerve_gateways, jC as axerve_payments, jD as bing_geocoders, jE as braintree_gateways, jF as braintree_payments, jG as bundles, jH as buy_x_pay_y_promotions, jI as captures, jJ as carrier_accounts, jK as checkout_com_gateways, jL as checkout_com_payments, jM as cleanups, jN as coupon_codes_promotion_rules, jO as coupon_recipients, jP as coupons, jQ as custom_promotion_rules, jR as customer_addresses, jS as customer_groups, jT as customer_password_resets, jU as customer_payment_sources, jV as customer_subscriptions, jW as customers, jX as delivery_lead_times, jY as discount_engine_items, jZ as discount_engines, j_ as easypost_pickups, j$ as event_callbacks, k0 as event_stores, k1 as events, k2 as exports, k3 as external_gateways, k4 as external_payments, k5 as external_promotions, k6 as external_tax_calculators, k7 as fixed_amount_promotions, k8 as fixed_price_promotions, k9 as flex_promotions, ka as free_gift_promotions, kb as free_shipping_promotions, kc as geocoders, kd as gift_card_recipients, ke as gift_cards, kf as google_geocoders, kg as imports, kh as in_stock_subscriptions, ki as inventory_models, kj as inventory_return_locations, kk as inventory_stock_locations, kl as klarna_gateways, km as klarna_payments, kn as line_item_options, ko as line_items, kp as links, kq as manual_gateways, kr as manual_tax_calculators, ks as markets, kt as merchants, ku as notifications, kv as order_amount_promotion_rules, kw as order_copies, kx as order_factories, ky as order_subscription_items, kz as order_subscriptions, kA as orders, kB as organization, kC as packages, kD as parcel_line_items, kE as parcels, kF as payment_gateways, kG as payment_methods, kH as payment_options, kI as paypal_gateways, kJ as paypal_payments, kK as percentage_discount_promotions, kL as pickups, kM as price_frequency_tiers, kN as price_list_schedulers, kO as price_lists, kP as price_tiers, kQ as price_volume_tiers, kR as prices, kS as promotion_rules, kT as promotions, kU as recurring_order_copies, kV as refunds, kW as reserved_stocks, kX as resource_errors, kY as return_line_items, kZ as returns, k_ as satispay_gateways, k$ as satispay_payments, l0 as shipments, l1 as shipping_categories, l2 as shipping_method_tiers, l3 as shipping_methods, l4 as shipping_weight_tiers, l5 as shipping_zones, l6 as sku_list_items, l7 as sku_list_promotion_rules, l8 as sku_lists, l9 as sku_options, la as skus, lb as stock_items, lc as stock_line_items, ld as stock_locations, le as stock_reservations, lf as stock_transfers, lg as stores, lh as stripe_gateways, li as stripe_payments, lj as stripe_tax_accounts, lk as subscription_models, ll as tags, lm as talon_one_accounts, ln as tax_calculators, lo as tax_categories, lp as tax_rules, lq as taxjar_accounts, lr as transactions, ls as versions, lt as vertex_accounts, lu as voids, lv as webhooks, lw as wire_transfers } from './api-D2LyR3zD.cjs';
|
|
2
2
|
import './client.cjs';
|
|
3
3
|
import './interceptor-ETmS7Tab.cjs';
|
|
4
4
|
import './types.cjs';
|
package/lib/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers, jt as addresses, ju as adjustments, jv as adyen_gateways, jw as adyen_payments, jx as application, jy as attachments, jz as authorizations, jA as avalara_accounts, jB as axerve_gateways, jC as axerve_payments, jD as bing_geocoders, jE as braintree_gateways, jF as braintree_payments, jG as bundles, jH as buy_x_pay_y_promotions, jI as captures, jJ as carrier_accounts, jK as checkout_com_gateways, jL as checkout_com_payments, jM as cleanups, jN as coupon_codes_promotion_rules, jO as coupon_recipients, jP as coupons, jQ as custom_promotion_rules, jR as customer_addresses, jS as customer_groups, jT as customer_password_resets, jU as customer_payment_sources, jV as customer_subscriptions, jW as customers, jX as delivery_lead_times, jY as discount_engine_items, jZ as discount_engines, j_ as easypost_pickups, j$ as event_callbacks, k0 as event_stores, k1 as events, k2 as exports, k3 as external_gateways, k4 as external_payments, k5 as external_promotions, k6 as external_tax_calculators, k7 as fixed_amount_promotions, k8 as fixed_price_promotions, k9 as flex_promotions, ka as free_gift_promotions, kb as free_shipping_promotions, kc as geocoders, kd as gift_card_recipients, ke as gift_cards, kf as google_geocoders, kg as imports, kh as in_stock_subscriptions, ki as inventory_models, kj as inventory_return_locations, kk as inventory_stock_locations, kl as klarna_gateways, km as klarna_payments, kn as line_item_options, ko as line_items, kp as links, kq as manual_gateways, kr as manual_tax_calculators, ks as markets, kt as merchants, ku as notifications, kv as order_amount_promotion_rules, kw as order_copies, kx as order_factories, ky as order_subscription_items, kz as order_subscriptions, kA as orders, kB as organization, kC as packages, kD as parcel_line_items, kE as parcels, kF as payment_gateways, kG as payment_methods, kH as payment_options, kI as paypal_gateways, kJ as paypal_payments, kK as percentage_discount_promotions, kL as pickups, kM as price_frequency_tiers, kN as price_list_schedulers, kO as price_lists, kP as price_tiers, kQ as price_volume_tiers, kR as prices, kS as promotion_rules, kT as promotions, kU as recurring_order_copies, kV as refunds, kW as reserved_stocks, kX as resource_errors, kY as return_line_items, kZ as returns, k_ as satispay_gateways, k$ as satispay_payments, l0 as shipments, l1 as shipping_categories, l2 as shipping_method_tiers, l3 as shipping_methods, l4 as shipping_weight_tiers, l5 as shipping_zones, l6 as sku_list_items, l7 as sku_list_promotion_rules, l8 as sku_lists, l9 as sku_options, la as skus, lb as stock_items, lc as stock_line_items, ld as stock_locations, le as stock_reservations, lf as stock_transfers, lg as stores, lh as stripe_gateways, li as stripe_payments, lj as stripe_tax_accounts, lk as subscription_models, ll as tags, lm as talon_one_accounts, ln as tax_calculators, lo as tax_categories, lp as tax_rules, lq as taxjar_accounts, lr as transactions, ls as versions, lt as vertex_accounts, lu as voids, lv as webhooks, lw as wire_transfers } from './api-
|
|
1
|
+
export { d as Addresses, i as Adjustments, n as AdyenGateways, s as AdyenPayments, x as Applications, D as Attachments, H as Authorizations, M as AvalaraAccounts, R as AxerveGateways, W as AxervePayments, $ as BingGeocoders, a4 as BraintreeGateways, a9 as BraintreePayments, ae as Bundles, aj as BuyXPayYPromotions, an as Captures, as as CarrierAccounts, ax as CheckoutComGateways, aC as CheckoutComPayments, aH as Cleanups, aN as CouponCodesPromotionRules, aT as CouponRecipients, aW as Coupons, b1 as CustomPromotionRules, b7 as CustomerAddresses, bd as CustomerGroups, bi as CustomerPasswordResets, bn as CustomerPaymentSources, bt as CustomerSubscriptions, bv as Customers, bC as DeliveryLeadTimes, bG as DiscountEngineItems, bI as DiscountEngines, bN as EasypostPickups, bR as EventCallbacks, bV as EventStores, bX as Events, c0 as Exports, c5 as ExternalGateways, ca as ExternalPayments, cf as ExternalPromotions, ck as ExternalTaxCalculators, cp as FixedAmountPromotions, cu as FixedPricePromotions, cz as FlexPromotions, cE as FreeGiftPromotions, cJ as FreeShippingPromotions, cM as Geocoders, cT as GiftCardRecipients, cW as GiftCards, c$ as GoogleGeocoders, d4 as Imports, d9 as InStockSubscriptions, de as InventoryModels, dj as InventoryReturnLocations, dp as InventoryStockLocations, du as KlarnaGateways, dz as KlarnaPayments, dG as LineItemOptions, dJ as LineItems, dO as Links, dX as ManualGateways, e0 as ManualTaxCalculators, e5 as Markets, ea as Merchants, eg as Notifications, em as OrderAmountPromotionRules, en as OrderCopies, et as OrderFactories, eD as OrderSubscriptionItems, eG as OrderSubscriptions, eI as Orders, eL as Organizations, eQ as Packages, eX as ParcelLineItems, e_ as Parcels, f1 as PaymentGateways, f6 as PaymentMethods, fb as PaymentOptions, fg as PaypalGateways, fl as PaypalPayments, fq as PercentageDiscountPromotions, ft as Pickups, fA as PriceFrequencyTiers, fH as PriceListSchedulers, fK as PriceLists, fO as PriceTiers, fU as PriceVolumeTiers, fV as Prices, fZ as PromotionRules, f$ as Promotions, g9 as RecurringOrderCopies, gh as Refunds, gk as ReservedStocks, gp as ResourceErrors, gH as ReturnLineItems, gK as Returns, gP as SatispayGateways, gU as SatispayPayments, gZ as Shipments, g_ as ShippingCategories, h8 as ShippingMethodTiers, ha as ShippingMethods, hf as ShippingWeightTiers, hk as ShippingZones, ht as SkuListItems, hy as SkuListPromotionRules, hB as SkuLists, hG as SkuOptions, hJ as Skus, hO as StockItems, hT as StockLineItems, hY as StockLocations, i1 as StockReservations, i6 as StockTransfers, ib as Stores, ih as StripeGateways, im as StripePayments, is as StripeTaxAccounts, ix as SubscriptionModels, iE as Tags, iJ as TalonOneAccounts, iM as TaxCalculators, iN as TaxCategories, iW as TaxRules, i$ as TaxjarAccounts, j2 as Transactions, j9 as Versions, je as VertexAccounts, ji as Voids, jn as Webhooks, js as WireTransfers, jt as addresses, ju as adjustments, jv as adyen_gateways, jw as adyen_payments, jx as application, jy as attachments, jz as authorizations, jA as avalara_accounts, jB as axerve_gateways, jC as axerve_payments, jD as bing_geocoders, jE as braintree_gateways, jF as braintree_payments, jG as bundles, jH as buy_x_pay_y_promotions, jI as captures, jJ as carrier_accounts, jK as checkout_com_gateways, jL as checkout_com_payments, jM as cleanups, jN as coupon_codes_promotion_rules, jO as coupon_recipients, jP as coupons, jQ as custom_promotion_rules, jR as customer_addresses, jS as customer_groups, jT as customer_password_resets, jU as customer_payment_sources, jV as customer_subscriptions, jW as customers, jX as delivery_lead_times, jY as discount_engine_items, jZ as discount_engines, j_ as easypost_pickups, j$ as event_callbacks, k0 as event_stores, k1 as events, k2 as exports, k3 as external_gateways, k4 as external_payments, k5 as external_promotions, k6 as external_tax_calculators, k7 as fixed_amount_promotions, k8 as fixed_price_promotions, k9 as flex_promotions, ka as free_gift_promotions, kb as free_shipping_promotions, kc as geocoders, kd as gift_card_recipients, ke as gift_cards, kf as google_geocoders, kg as imports, kh as in_stock_subscriptions, ki as inventory_models, kj as inventory_return_locations, kk as inventory_stock_locations, kl as klarna_gateways, km as klarna_payments, kn as line_item_options, ko as line_items, kp as links, kq as manual_gateways, kr as manual_tax_calculators, ks as markets, kt as merchants, ku as notifications, kv as order_amount_promotion_rules, kw as order_copies, kx as order_factories, ky as order_subscription_items, kz as order_subscriptions, kA as orders, kB as organization, kC as packages, kD as parcel_line_items, kE as parcels, kF as payment_gateways, kG as payment_methods, kH as payment_options, kI as paypal_gateways, kJ as paypal_payments, kK as percentage_discount_promotions, kL as pickups, kM as price_frequency_tiers, kN as price_list_schedulers, kO as price_lists, kP as price_tiers, kQ as price_volume_tiers, kR as prices, kS as promotion_rules, kT as promotions, kU as recurring_order_copies, kV as refunds, kW as reserved_stocks, kX as resource_errors, kY as return_line_items, kZ as returns, k_ as satispay_gateways, k$ as satispay_payments, l0 as shipments, l1 as shipping_categories, l2 as shipping_method_tiers, l3 as shipping_methods, l4 as shipping_weight_tiers, l5 as shipping_zones, l6 as sku_list_items, l7 as sku_list_promotion_rules, l8 as sku_lists, l9 as sku_options, la as skus, lb as stock_items, lc as stock_line_items, ld as stock_locations, le as stock_reservations, lf as stock_transfers, lg as stores, lh as stripe_gateways, li as stripe_payments, lj as stripe_tax_accounts, lk as subscription_models, ll as tags, lm as talon_one_accounts, ln as tax_calculators, lo as tax_categories, lp as tax_rules, lq as taxjar_accounts, lr as transactions, ls as versions, lt as vertex_accounts, lu as voids, lv as webhooks, lw as wire_transfers } from './api-D8k2hYlQ.js';
|
|
2
2
|
import './client.js';
|
|
3
3
|
import './interceptor-ETmS7Tab.js';
|
|
4
4
|
import './types.js';
|
package/lib/api.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './chunk-NEZXHBGE.js';
|
|
2
|
-
export { transactions_default as transactions } from './chunk-
|
|
2
|
+
export { transactions_default as transactions } from './chunk-QPQRYXII.js';
|
|
3
3
|
export { versions_default as versions } from './chunk-BQ4VRKE7.js';
|
|
4
4
|
export { vertex_accounts_default as vertex_accounts } from './chunk-MHCLPVOI.js';
|
|
5
|
-
export { voids_default as voids } from './chunk-
|
|
5
|
+
export { voids_default as voids } from './chunk-IT2MWRJY.js';
|
|
6
6
|
export { webhooks_default as webhooks } from './chunk-5BIP4OLZ.js';
|
|
7
7
|
export { wire_transfers_default as wire_transfers } from './chunk-G74VYKRY.js';
|
|
8
8
|
export { stripe_tax_accounts_default as stripe_tax_accounts } from './chunk-IQVSM3MS.js';
|
|
@@ -33,7 +33,7 @@ export { resource_errors_default as resource_errors } from './chunk-U25QRMJY.js'
|
|
|
33
33
|
export { return_line_items_default as return_line_items } from './chunk-6PKJDHVC.js';
|
|
34
34
|
export { returns_default as returns } from './chunk-62EOOGD4.js';
|
|
35
35
|
export { satispay_gateways_default as satispay_gateways } from './chunk-3KNN5WPE.js';
|
|
36
|
-
export { satispay_payments_default as satispay_payments } from './chunk-
|
|
36
|
+
export { satispay_payments_default as satispay_payments } from './chunk-IYPHDMBD.js';
|
|
37
37
|
export { shipments_default as shipments } from './chunk-JPX4RLBV.js';
|
|
38
38
|
export { shipping_categories_default as shipping_categories } from './chunk-TWL4WEOL.js';
|
|
39
39
|
export { shipping_method_tiers_default as shipping_method_tiers } from './chunk-KVRZZTDE.js';
|
|
@@ -41,14 +41,14 @@ export { price_tiers_default as price_tiers } from './chunk-VRJJX4JV.js';
|
|
|
41
41
|
export { price_volume_tiers_default as price_volume_tiers } from './chunk-JDFDWBXQ.js';
|
|
42
42
|
export { prices_default as prices } from './chunk-WFBWZVOK.js';
|
|
43
43
|
export { promotion_rules_default as promotion_rules } from './chunk-GKUFMSZL.js';
|
|
44
|
-
export { promotions_default as promotions } from './chunk-
|
|
44
|
+
export { promotions_default as promotions } from './chunk-3QQQMHYY.js';
|
|
45
45
|
export { recurring_order_copies_default as recurring_order_copies } from './chunk-MOKBZVUU.js';
|
|
46
|
-
export { refunds_default as refunds } from './chunk-
|
|
46
|
+
export { refunds_default as refunds } from './chunk-DOY7VJPG.js';
|
|
47
47
|
export { reserved_stocks_default as reserved_stocks } from './chunk-I2NZB6KN.js';
|
|
48
48
|
export { payment_options_default as payment_options } from './chunk-65LSQZTV.js';
|
|
49
49
|
export { paypal_gateways_default as paypal_gateways } from './chunk-67LLQOPH.js';
|
|
50
50
|
export { paypal_payments_default as paypal_payments } from './chunk-UEDVN7C4.js';
|
|
51
|
-
export { percentage_discount_promotions_default as percentage_discount_promotions } from './chunk-
|
|
51
|
+
export { percentage_discount_promotions_default as percentage_discount_promotions } from './chunk-MCZXCMRV.js';
|
|
52
52
|
export { pickups_default as pickups } from './chunk-TE3N57V6.js';
|
|
53
53
|
export { price_frequency_tiers_default as price_frequency_tiers } from './chunk-6SGYQRO6.js';
|
|
54
54
|
export { price_list_schedulers_default as price_list_schedulers } from './chunk-4XQNILDJ.js';
|
|
@@ -77,7 +77,7 @@ export { line_item_options_default as line_item_options } from './chunk-JPKZBEAY
|
|
|
77
77
|
export { line_items_default as line_items } from './chunk-NTAREPLJ.js';
|
|
78
78
|
export { links_default as links } from './chunk-67TJ6ALR.js';
|
|
79
79
|
export { manual_gateways_default as manual_gateways } from './chunk-A5KAGODH.js';
|
|
80
|
-
export { free_shipping_promotions_default as free_shipping_promotions } from './chunk-
|
|
80
|
+
export { free_shipping_promotions_default as free_shipping_promotions } from './chunk-INW4SZG7.js';
|
|
81
81
|
export { geocoders_default as geocoders } from './chunk-IHPFHOEJ.js';
|
|
82
82
|
export { gift_card_recipients_default as gift_card_recipients } from './chunk-6EIS4TN3.js';
|
|
83
83
|
export { gift_cards_default as gift_cards } from './chunk-JWLNUOL5.js';
|
|
@@ -87,12 +87,12 @@ export { in_stock_subscriptions_default as in_stock_subscriptions } from './chun
|
|
|
87
87
|
export { inventory_models_default as inventory_models } from './chunk-LE4I5AHS.js';
|
|
88
88
|
export { external_gateways_default as external_gateways } from './chunk-HBVSEXIQ.js';
|
|
89
89
|
export { external_payments_default as external_payments } from './chunk-G5IOYKFS.js';
|
|
90
|
-
export { external_promotions_default as external_promotions } from './chunk-
|
|
90
|
+
export { external_promotions_default as external_promotions } from './chunk-M6BKGQCR.js';
|
|
91
91
|
export { external_tax_calculators_default as external_tax_calculators } from './chunk-6SO2W3YA.js';
|
|
92
|
-
export { fixed_amount_promotions_default as fixed_amount_promotions } from './chunk-
|
|
93
|
-
export { fixed_price_promotions_default as fixed_price_promotions } from './chunk-
|
|
92
|
+
export { fixed_amount_promotions_default as fixed_amount_promotions } from './chunk-SWBSSC3A.js';
|
|
93
|
+
export { fixed_price_promotions_default as fixed_price_promotions } from './chunk-VO5QTCJ4.js';
|
|
94
94
|
export { flex_promotions_default as flex_promotions } from './chunk-BNWM637R.js';
|
|
95
|
-
export { free_gift_promotions_default as free_gift_promotions } from './chunk-
|
|
95
|
+
export { free_gift_promotions_default as free_gift_promotions } from './chunk-GAPLQGJO.js';
|
|
96
96
|
export { delivery_lead_times_default as delivery_lead_times } from './chunk-NEVN2SMR.js';
|
|
97
97
|
export { discount_engine_items_default as discount_engine_items } from './chunk-BT72RZCE.js';
|
|
98
98
|
export { discount_engines_default as discount_engines } from './chunk-FTYGJZZM.js';
|
|
@@ -109,26 +109,26 @@ export { customer_password_resets_default as customer_password_resets } from './
|
|
|
109
109
|
export { customer_payment_sources_default as customer_payment_sources } from './chunk-VKNNJ5CS.js';
|
|
110
110
|
export { customer_subscriptions_default as customer_subscriptions } from './chunk-SDGSOWXI.js';
|
|
111
111
|
export { customers_default as customers } from './chunk-DIE5NWNX.js';
|
|
112
|
-
export { buy_x_pay_y_promotions_default as buy_x_pay_y_promotions } from './chunk-
|
|
113
|
-
export { captures_default as captures } from './chunk-
|
|
112
|
+
export { buy_x_pay_y_promotions_default as buy_x_pay_y_promotions } from './chunk-MHQOHOZS.js';
|
|
113
|
+
export { captures_default as captures } from './chunk-RZMSILW7.js';
|
|
114
114
|
export { carrier_accounts_default as carrier_accounts } from './chunk-VUVL5VPT.js';
|
|
115
115
|
export { checkout_com_gateways_default as checkout_com_gateways } from './chunk-FFX5MED5.js';
|
|
116
116
|
export { checkout_com_payments_default as checkout_com_payments } from './chunk-G2ZCHH4W.js';
|
|
117
117
|
export { cleanups_default as cleanups } from './chunk-E2EVY45K.js';
|
|
118
118
|
export { coupon_codes_promotion_rules_default as coupon_codes_promotion_rules } from './chunk-MXT6VH7V.js';
|
|
119
119
|
export { coupon_recipients_default as coupon_recipients } from './chunk-BTLPF6RH.js';
|
|
120
|
-
export { authorizations_default as authorizations } from './chunk-
|
|
120
|
+
export { authorizations_default as authorizations } from './chunk-6KXHU2QJ.js';
|
|
121
121
|
export { avalara_accounts_default as avalara_accounts } from './chunk-MUMTGXL2.js';
|
|
122
122
|
export { axerve_gateways_default as axerve_gateways } from './chunk-SFFSVEXJ.js';
|
|
123
123
|
export { axerve_payments_default as axerve_payments } from './chunk-LGOJTWKL.js';
|
|
124
124
|
export { bing_geocoders_default as bing_geocoders } from './chunk-VT5HP44I.js';
|
|
125
125
|
export { braintree_gateways_default as braintree_gateways } from './chunk-BGH55KTL.js';
|
|
126
126
|
export { braintree_payments_default as braintree_payments } from './chunk-Y3NZRCF4.js';
|
|
127
|
-
export { bundles_default as bundles } from './chunk-
|
|
127
|
+
export { bundles_default as bundles } from './chunk-IODJPN7Z.js';
|
|
128
128
|
export { addresses_default as addresses } from './chunk-3ZOHHEJR.js';
|
|
129
129
|
export { adjustments_default as adjustments } from './chunk-WK3SIZUG.js';
|
|
130
|
-
export { adyen_gateways_default as adyen_gateways } from './chunk-
|
|
131
|
-
export { adyen_payments_default as adyen_payments } from './chunk-
|
|
130
|
+
export { adyen_gateways_default as adyen_gateways } from './chunk-ZSH3A37I.js';
|
|
131
|
+
export { adyen_payments_default as adyen_payments } from './chunk-YVF52KQK.js';
|
|
132
132
|
export { applications_default as application } from './chunk-YTXFX5LA.js';
|
|
133
133
|
export { attachments_default as attachments } from './chunk-ERA2COOU.js';
|
|
134
134
|
import './chunk-XKERR6OR.js';
|
package/lib/bundle.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-SRYEFARJ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkK3CF32TJ_cjs = require('./chunk-K3CF32TJ.cjs');
|
|
5
5
|
var chunkXYBXDS3Z_cjs = require('./chunk-XYBXDS3Z.cjs');
|
|
6
6
|
var chunkK7AR7Z3J_cjs = require('./chunk-K7AR7Z3J.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkBRXYDOGG_cjs = require('./chunk-BRXYDOGG.cjs');
|
|
8
8
|
var chunk2VNQTC3B_cjs = require('./chunk-2VNQTC3B.cjs');
|
|
9
9
|
var chunk3WTRPII2_cjs = require('./chunk-3WTRPII2.cjs');
|
|
10
10
|
var chunkSKETQJTW_cjs = require('./chunk-SKETQJTW.cjs');
|
|
@@ -35,7 +35,7 @@ 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
37
|
var chunk3X6OVCVT_cjs = require('./chunk-3X6OVCVT.cjs');
|
|
38
|
-
var
|
|
38
|
+
var chunkEZHUH52J_cjs = require('./chunk-EZHUH52J.cjs');
|
|
39
39
|
var chunk2H2ODZUY_cjs = require('./chunk-2H2ODZUY.cjs');
|
|
40
40
|
var chunkU7OGOZ5B_cjs = require('./chunk-U7OGOZ5B.cjs');
|
|
41
41
|
var chunkDPE4FTTS_cjs = require('./chunk-DPE4FTTS.cjs');
|
|
@@ -43,14 +43,14 @@ var chunkFIM76CMU_cjs = require('./chunk-FIM76CMU.cjs');
|
|
|
43
43
|
var chunkOH5533KN_cjs = require('./chunk-OH5533KN.cjs');
|
|
44
44
|
var chunk3CBCQQBN_cjs = require('./chunk-3CBCQQBN.cjs');
|
|
45
45
|
var chunkZLFWYCCG_cjs = require('./chunk-ZLFWYCCG.cjs');
|
|
46
|
-
var
|
|
46
|
+
var chunkD2HUJSJV_cjs = require('./chunk-D2HUJSJV.cjs');
|
|
47
47
|
var chunk7P3ZTIQX_cjs = require('./chunk-7P3ZTIQX.cjs');
|
|
48
|
-
var
|
|
48
|
+
var chunkCQASXR3J_cjs = require('./chunk-CQASXR3J.cjs');
|
|
49
49
|
var chunkTIINXXHU_cjs = require('./chunk-TIINXXHU.cjs');
|
|
50
50
|
var chunkEVVUYC7T_cjs = require('./chunk-EVVUYC7T.cjs');
|
|
51
51
|
var chunkYDMB4XPA_cjs = require('./chunk-YDMB4XPA.cjs');
|
|
52
52
|
var chunkPBIARBZH_cjs = require('./chunk-PBIARBZH.cjs');
|
|
53
|
-
var
|
|
53
|
+
var chunkGHYWZ5KT_cjs = require('./chunk-GHYWZ5KT.cjs');
|
|
54
54
|
var chunkU4ELOYK7_cjs = require('./chunk-U4ELOYK7.cjs');
|
|
55
55
|
var chunk2M5MIMZG_cjs = require('./chunk-2M5MIMZG.cjs');
|
|
56
56
|
var chunkRK3E3UJ2_cjs = require('./chunk-RK3E3UJ2.cjs');
|
|
@@ -79,7 +79,7 @@ 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
81
|
var chunkO66EZDG2_cjs = require('./chunk-O66EZDG2.cjs');
|
|
82
|
-
var
|
|
82
|
+
var chunkQVJM26QQ_cjs = require('./chunk-QVJM26QQ.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');
|
|
@@ -89,12 +89,12 @@ var chunkIXOAGKRD_cjs = require('./chunk-IXOAGKRD.cjs');
|
|
|
89
89
|
var chunkXOVAUMDC_cjs = require('./chunk-XOVAUMDC.cjs');
|
|
90
90
|
var chunkEJNNEY2F_cjs = require('./chunk-EJNNEY2F.cjs');
|
|
91
91
|
var chunkNWKIFDQH_cjs = require('./chunk-NWKIFDQH.cjs');
|
|
92
|
-
var
|
|
92
|
+
var chunk46ESSSNR_cjs = require('./chunk-46ESSSNR.cjs');
|
|
93
93
|
var chunkJWB5Y2WT_cjs = require('./chunk-JWB5Y2WT.cjs');
|
|
94
|
-
var
|
|
95
|
-
var
|
|
94
|
+
var chunkYII77MGK_cjs = require('./chunk-YII77MGK.cjs');
|
|
95
|
+
var chunkURMWXBVU_cjs = require('./chunk-URMWXBVU.cjs');
|
|
96
96
|
var chunkHOJUXLZD_cjs = require('./chunk-HOJUXLZD.cjs');
|
|
97
|
-
var
|
|
97
|
+
var chunk2XDNWGMO_cjs = require('./chunk-2XDNWGMO.cjs');
|
|
98
98
|
var chunkGLL264QG_cjs = require('./chunk-GLL264QG.cjs');
|
|
99
99
|
var chunkI56ZABWO_cjs = require('./chunk-I56ZABWO.cjs');
|
|
100
100
|
var chunkMKV2B7P5_cjs = require('./chunk-MKV2B7P5.cjs');
|
|
@@ -111,29 +111,29 @@ var chunkDM62R5CL_cjs = require('./chunk-DM62R5CL.cjs');
|
|
|
111
111
|
var chunk4L73VYT5_cjs = require('./chunk-4L73VYT5.cjs');
|
|
112
112
|
var chunkZSG25S6U_cjs = require('./chunk-ZSG25S6U.cjs');
|
|
113
113
|
var chunkJCOJGOXF_cjs = require('./chunk-JCOJGOXF.cjs');
|
|
114
|
-
var
|
|
115
|
-
var
|
|
114
|
+
var chunkOSZIVS3X_cjs = require('./chunk-OSZIVS3X.cjs');
|
|
115
|
+
var chunkF4P2PUF7_cjs = require('./chunk-F4P2PUF7.cjs');
|
|
116
116
|
var chunkTFJYQUEH_cjs = require('./chunk-TFJYQUEH.cjs');
|
|
117
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
|
-
var
|
|
122
|
+
var chunkLKVJRTT2_cjs = require('./chunk-LKVJRTT2.cjs');
|
|
123
123
|
var chunkOA4DVMEQ_cjs = require('./chunk-OA4DVMEQ.cjs');
|
|
124
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
127
|
var chunkJLLZQ7JR_cjs = require('./chunk-JLLZQ7JR.cjs');
|
|
128
128
|
var chunkBGHPRKU4_cjs = require('./chunk-BGHPRKU4.cjs');
|
|
129
|
-
var
|
|
129
|
+
var chunkMYWCHH2I_cjs = require('./chunk-MYWCHH2I.cjs');
|
|
130
130
|
var chunk7YWXHAMP_cjs = require('./chunk-7YWXHAMP.cjs');
|
|
131
131
|
var chunkKGZ3FTYR_cjs = require('./chunk-KGZ3FTYR.cjs');
|
|
132
|
-
var
|
|
133
|
-
var
|
|
132
|
+
var chunkVDC2LQMB_cjs = require('./chunk-VDC2LQMB.cjs');
|
|
133
|
+
var chunk6KOFQEOI_cjs = require('./chunk-6KOFQEOI.cjs');
|
|
134
134
|
var chunkD7SALAS2_cjs = require('./chunk-D7SALAS2.cjs');
|
|
135
135
|
var chunk2ZVHALAO_cjs = require('./chunk-2ZVHALAO.cjs');
|
|
136
|
-
var
|
|
136
|
+
var chunkJ3IOXLY2_cjs = require('./chunk-J3IOXLY2.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 chunkJ3IOXLY2_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,10 +172,10 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNHDSPKJY_cjs.C
|
|
|
172
172
|
return chunkKGZ3FTYR_cjs.adjustments_default;
|
|
173
173
|
}
|
|
174
174
|
get adyen_gateways() {
|
|
175
|
-
return
|
|
175
|
+
return chunkVDC2LQMB_cjs.adyen_gateways_default;
|
|
176
176
|
}
|
|
177
177
|
get adyen_payments() {
|
|
178
|
-
return
|
|
178
|
+
return chunk6KOFQEOI_cjs.adyen_payments_default;
|
|
179
179
|
}
|
|
180
180
|
get application() {
|
|
181
181
|
return chunkD7SALAS2_cjs.applications_default;
|
|
@@ -184,7 +184,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNHDSPKJY_cjs.C
|
|
|
184
184
|
return chunk2ZVHALAO_cjs.attachments_default;
|
|
185
185
|
}
|
|
186
186
|
get authorizations() {
|
|
187
|
-
return
|
|
187
|
+
return chunkLKVJRTT2_cjs.authorizations_default;
|
|
188
188
|
}
|
|
189
189
|
get avalara_accounts() {
|
|
190
190
|
return chunkOA4DVMEQ_cjs.avalara_accounts_default;
|
|
@@ -205,13 +205,13 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNHDSPKJY_cjs.C
|
|
|
205
205
|
return chunkBGHPRKU4_cjs.braintree_payments_default;
|
|
206
206
|
}
|
|
207
207
|
get bundles() {
|
|
208
|
-
return
|
|
208
|
+
return chunkMYWCHH2I_cjs.bundles_default;
|
|
209
209
|
}
|
|
210
210
|
get buy_x_pay_y_promotions() {
|
|
211
|
-
return
|
|
211
|
+
return chunkOSZIVS3X_cjs.buy_x_pay_y_promotions_default;
|
|
212
212
|
}
|
|
213
213
|
get captures() {
|
|
214
|
-
return
|
|
214
|
+
return chunkF4P2PUF7_cjs.captures_default;
|
|
215
215
|
}
|
|
216
216
|
get carrier_accounts() {
|
|
217
217
|
return chunkTFJYQUEH_cjs.carrier_accounts_default;
|
|
@@ -286,25 +286,25 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNHDSPKJY_cjs.C
|
|
|
286
286
|
return chunkNWKIFDQH_cjs.external_payments_default;
|
|
287
287
|
}
|
|
288
288
|
get external_promotions() {
|
|
289
|
-
return
|
|
289
|
+
return chunk46ESSSNR_cjs.external_promotions_default;
|
|
290
290
|
}
|
|
291
291
|
get external_tax_calculators() {
|
|
292
292
|
return chunkJWB5Y2WT_cjs.external_tax_calculators_default;
|
|
293
293
|
}
|
|
294
294
|
get fixed_amount_promotions() {
|
|
295
|
-
return
|
|
295
|
+
return chunkYII77MGK_cjs.fixed_amount_promotions_default;
|
|
296
296
|
}
|
|
297
297
|
get fixed_price_promotions() {
|
|
298
|
-
return
|
|
298
|
+
return chunkURMWXBVU_cjs.fixed_price_promotions_default;
|
|
299
299
|
}
|
|
300
300
|
get flex_promotions() {
|
|
301
301
|
return chunkHOJUXLZD_cjs.flex_promotions_default;
|
|
302
302
|
}
|
|
303
303
|
get free_gift_promotions() {
|
|
304
|
-
return
|
|
304
|
+
return chunk2XDNWGMO_cjs.free_gift_promotions_default;
|
|
305
305
|
}
|
|
306
306
|
get free_shipping_promotions() {
|
|
307
|
-
return
|
|
307
|
+
return chunkQVJM26QQ_cjs.free_shipping_promotions_default;
|
|
308
308
|
}
|
|
309
309
|
get geocoders() {
|
|
310
310
|
return chunkOEUSTDGS_cjs.geocoders_default;
|
|
@@ -409,7 +409,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNHDSPKJY_cjs.C
|
|
|
409
409
|
return chunkPBIARBZH_cjs.paypal_payments_default;
|
|
410
410
|
}
|
|
411
411
|
get percentage_discount_promotions() {
|
|
412
|
-
return
|
|
412
|
+
return chunkGHYWZ5KT_cjs.percentage_discount_promotions_default;
|
|
413
413
|
}
|
|
414
414
|
get pickups() {
|
|
415
415
|
return chunkU4ELOYK7_cjs.pickups_default;
|
|
@@ -436,13 +436,13 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNHDSPKJY_cjs.C
|
|
|
436
436
|
return chunkZLFWYCCG_cjs.promotion_rules_default;
|
|
437
437
|
}
|
|
438
438
|
get promotions() {
|
|
439
|
-
return
|
|
439
|
+
return chunkD2HUJSJV_cjs.promotions_default;
|
|
440
440
|
}
|
|
441
441
|
get recurring_order_copies() {
|
|
442
442
|
return chunk7P3ZTIQX_cjs.recurring_order_copies_default;
|
|
443
443
|
}
|
|
444
444
|
get refunds() {
|
|
445
|
-
return
|
|
445
|
+
return chunkCQASXR3J_cjs.refunds_default;
|
|
446
446
|
}
|
|
447
447
|
get reserved_stocks() {
|
|
448
448
|
return chunkTIINXXHU_cjs.reserved_stocks_default;
|
|
@@ -460,7 +460,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNHDSPKJY_cjs.C
|
|
|
460
460
|
return chunk3X6OVCVT_cjs.satispay_gateways_default;
|
|
461
461
|
}
|
|
462
462
|
get satispay_payments() {
|
|
463
|
-
return
|
|
463
|
+
return chunkEZHUH52J_cjs.satispay_payments_default;
|
|
464
464
|
}
|
|
465
465
|
get shipments() {
|
|
466
466
|
return chunk2H2ODZUY_cjs.shipments_default;
|
|
@@ -544,7 +544,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNHDSPKJY_cjs.C
|
|
|
544
544
|
return chunkKT2FGWBT_cjs.taxjar_accounts_default;
|
|
545
545
|
}
|
|
546
546
|
get transactions() {
|
|
547
|
-
return
|
|
547
|
+
return chunkK3CF32TJ_cjs.transactions_default;
|
|
548
548
|
}
|
|
549
549
|
get versions() {
|
|
550
550
|
return chunkXYBXDS3Z_cjs.versions_default;
|
|
@@ -553,7 +553,7 @@ var CommerceLayerBundle = class _CommerceLayerBundle extends chunkNHDSPKJY_cjs.C
|
|
|
553
553
|
return chunkK7AR7Z3J_cjs.vertex_accounts_default;
|
|
554
554
|
}
|
|
555
555
|
get voids() {
|
|
556
|
-
return
|
|
556
|
+
return chunkBRXYDOGG_cjs.voids_default;
|
|
557
557
|
}
|
|
558
558
|
get webhooks() {
|
|
559
559
|
return chunk2VNQTC3B_cjs.webhooks_default;
|
package/lib/bundle.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.cjs';
|
|
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-
|
|
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-D2LyR3zD.cjs';
|
|
3
3
|
import './error.cjs';
|
|
4
4
|
import './interceptor-ETmS7Tab.cjs';
|
|
5
5
|
import './client.cjs';
|
package/lib/bundle.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommerceLayerInitConfig, CommerceLayerClient } from './commercelayer.js';
|
|
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-
|
|
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-D8k2hYlQ.js';
|
|
3
3
|
import './error.js';
|
|
4
4
|
import './interceptor-ETmS7Tab.js';
|
|
5
5
|
import './client.js';
|
package/lib/bundle.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './chunk-NEZXHBGE.js';
|
|
2
|
-
import { transactions_default } from './chunk-
|
|
2
|
+
import { transactions_default } from './chunk-QPQRYXII.js';
|
|
3
3
|
import { versions_default } from './chunk-BQ4VRKE7.js';
|
|
4
4
|
import { vertex_accounts_default } from './chunk-MHCLPVOI.js';
|
|
5
|
-
import { voids_default } from './chunk-
|
|
5
|
+
import { voids_default } from './chunk-IT2MWRJY.js';
|
|
6
6
|
import { webhooks_default } from './chunk-5BIP4OLZ.js';
|
|
7
7
|
import { wire_transfers_default } from './chunk-G74VYKRY.js';
|
|
8
8
|
import { stripe_tax_accounts_default } from './chunk-IQVSM3MS.js';
|
|
@@ -33,7 +33,7 @@ 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
35
|
import { satispay_gateways_default } from './chunk-3KNN5WPE.js';
|
|
36
|
-
import { satispay_payments_default } from './chunk-
|
|
36
|
+
import { satispay_payments_default } from './chunk-IYPHDMBD.js';
|
|
37
37
|
import { shipments_default } from './chunk-JPX4RLBV.js';
|
|
38
38
|
import { shipping_categories_default } from './chunk-TWL4WEOL.js';
|
|
39
39
|
import { shipping_method_tiers_default } from './chunk-KVRZZTDE.js';
|
|
@@ -41,14 +41,14 @@ import { price_tiers_default } from './chunk-VRJJX4JV.js';
|
|
|
41
41
|
import { price_volume_tiers_default } from './chunk-JDFDWBXQ.js';
|
|
42
42
|
import { prices_default } from './chunk-WFBWZVOK.js';
|
|
43
43
|
import { promotion_rules_default } from './chunk-GKUFMSZL.js';
|
|
44
|
-
import { promotions_default } from './chunk-
|
|
44
|
+
import { promotions_default } from './chunk-3QQQMHYY.js';
|
|
45
45
|
import { recurring_order_copies_default } from './chunk-MOKBZVUU.js';
|
|
46
|
-
import { refunds_default } from './chunk-
|
|
46
|
+
import { refunds_default } from './chunk-DOY7VJPG.js';
|
|
47
47
|
import { reserved_stocks_default } from './chunk-I2NZB6KN.js';
|
|
48
48
|
import { payment_options_default } from './chunk-65LSQZTV.js';
|
|
49
49
|
import { paypal_gateways_default } from './chunk-67LLQOPH.js';
|
|
50
50
|
import { paypal_payments_default } from './chunk-UEDVN7C4.js';
|
|
51
|
-
import { percentage_discount_promotions_default } from './chunk-
|
|
51
|
+
import { percentage_discount_promotions_default } from './chunk-MCZXCMRV.js';
|
|
52
52
|
import { pickups_default } from './chunk-TE3N57V6.js';
|
|
53
53
|
import { price_frequency_tiers_default } from './chunk-6SGYQRO6.js';
|
|
54
54
|
import { price_list_schedulers_default } from './chunk-4XQNILDJ.js';
|
|
@@ -77,7 +77,7 @@ 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
79
|
import { manual_gateways_default } from './chunk-A5KAGODH.js';
|
|
80
|
-
import { free_shipping_promotions_default } from './chunk-
|
|
80
|
+
import { free_shipping_promotions_default } from './chunk-INW4SZG7.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';
|
|
@@ -87,12 +87,12 @@ import { in_stock_subscriptions_default } from './chunk-FI2PWG6C.js';
|
|
|
87
87
|
import { inventory_models_default } from './chunk-LE4I5AHS.js';
|
|
88
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-
|
|
90
|
+
import { external_promotions_default } from './chunk-M6BKGQCR.js';
|
|
91
91
|
import { external_tax_calculators_default } from './chunk-6SO2W3YA.js';
|
|
92
|
-
import { fixed_amount_promotions_default } from './chunk-
|
|
93
|
-
import { fixed_price_promotions_default } from './chunk-
|
|
92
|
+
import { fixed_amount_promotions_default } from './chunk-SWBSSC3A.js';
|
|
93
|
+
import { fixed_price_promotions_default } from './chunk-VO5QTCJ4.js';
|
|
94
94
|
import { flex_promotions_default } from './chunk-BNWM637R.js';
|
|
95
|
-
import { free_gift_promotions_default } from './chunk-
|
|
95
|
+
import { free_gift_promotions_default } from './chunk-GAPLQGJO.js';
|
|
96
96
|
import { delivery_lead_times_default } from './chunk-NEVN2SMR.js';
|
|
97
97
|
import { discount_engine_items_default } from './chunk-BT72RZCE.js';
|
|
98
98
|
import { discount_engines_default } from './chunk-FTYGJZZM.js';
|
|
@@ -109,29 +109,29 @@ import { customer_password_resets_default } from './chunk-C47UWH7R.js';
|
|
|
109
109
|
import { customer_payment_sources_default } from './chunk-VKNNJ5CS.js';
|
|
110
110
|
import { customer_subscriptions_default } from './chunk-SDGSOWXI.js';
|
|
111
111
|
import { customers_default } from './chunk-DIE5NWNX.js';
|
|
112
|
-
import { buy_x_pay_y_promotions_default } from './chunk-
|
|
113
|
-
import { captures_default } from './chunk-
|
|
112
|
+
import { buy_x_pay_y_promotions_default } from './chunk-MHQOHOZS.js';
|
|
113
|
+
import { captures_default } from './chunk-RZMSILW7.js';
|
|
114
114
|
import { carrier_accounts_default } from './chunk-VUVL5VPT.js';
|
|
115
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
|
-
import { authorizations_default } from './chunk-
|
|
120
|
+
import { authorizations_default } from './chunk-6KXHU2QJ.js';
|
|
121
121
|
import { avalara_accounts_default } from './chunk-MUMTGXL2.js';
|
|
122
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
125
|
import { braintree_gateways_default } from './chunk-BGH55KTL.js';
|
|
126
126
|
import { braintree_payments_default } from './chunk-Y3NZRCF4.js';
|
|
127
|
-
import { bundles_default } from './chunk-
|
|
127
|
+
import { bundles_default } from './chunk-IODJPN7Z.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-
|
|
131
|
-
import { adyen_payments_default } from './chunk-
|
|
130
|
+
import { adyen_gateways_default } from './chunk-ZSH3A37I.js';
|
|
131
|
+
import { adyen_payments_default } from './chunk-YVF52KQK.js';
|
|
132
132
|
import { applications_default } from './chunk-YTXFX5LA.js';
|
|
133
133
|
import { attachments_default } from './chunk-ERA2COOU.js';
|
|
134
|
-
import { CommerceLayerClient } from './chunk-
|
|
134
|
+
import { CommerceLayerClient } from './chunk-M37U5CLH.js';
|
|
135
135
|
import './chunk-XKERR6OR.js';
|
|
136
136
|
import './chunk-CHYP5F26.js';
|
|
137
137
|
import './chunk-UUY77JM3.js';
|
|
@@ -95,5 +95,5 @@ var instance = new FreeGiftPromotions();
|
|
|
95
95
|
var free_gift_promotions_default = instance;
|
|
96
96
|
|
|
97
97
|
exports.free_gift_promotions_default = free_gift_promotions_default;
|
|
98
|
-
//# sourceMappingURL=chunk-
|
|
99
|
-
//# sourceMappingURL=chunk-
|
|
98
|
+
//# sourceMappingURL=chunk-2XDNWGMO.cjs.map
|
|
99
|
+
//# sourceMappingURL=chunk-2XDNWGMO.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/free_gift_promotions.ts"],"names":["ApiResource"],"mappings":"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","file":"chunk-2XDNWGMO.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 { Market, MarketType } from './markets'\nimport type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules'\nimport type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules'\nimport type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules'\nimport type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules'\nimport type { SkuList, SkuListType } from './sku_lists'\nimport type { Coupon } from './coupons'\nimport type { Attachment } from './attachments'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { Sku } from './skus'\nimport type { PromotionRule } from './promotion_rules'\n\n\ntype FreeGiftPromotionType = 'free_gift_promotions'\ntype FreeGiftPromotionRel = ResourceRel & { type: FreeGiftPromotionType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType }\ntype SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType }\ntype CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType }\ntype CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType }\ntype SkuListRel = ResourceRel & { type: SkuListType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type FreeGiftPromotionSort = Pick<FreeGiftPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort\n// export type FreeGiftPromotionFilter = Pick<FreeGiftPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceFilter\n\n\ninterface FreeGiftPromotion extends Resource {\n\t\n\treadonly type: FreeGiftPromotionType\n\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: number | null\n\t/** \n\t * The number of times this promotion has been applied.\n\t * @example ```2```\n\t */\n\ttotal_usage_count?: number | null\n\t/** \n\t * Indicates if the promotion has been applied the total number of allowed times.\n\t */\n\ttotal_usage_reached?: boolean | null\n\t/** \n\t * Indicates if the promotion is active (enabled and not expired).\n\t * @example ```true```\n\t */\n\tactive?: boolean | null\n\t/** \n\t * The promotion status. One of 'disabled', 'expired', 'pending', 'active', or 'inactive'.\n\t * @example ```\"pending\"```\n\t */\n\tstatus?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null\n\t/** \n\t * The weight of the promotion, computed by exclusivity, priority, type and start time. Determines the order of application, higher weight apply first.\n\t * @example ```112```\n\t */\n\tweight?: number | null\n\t/** \n\t * The total number of coupons created for this promotion.\n\t * @example ```2```\n\t */\n\tcoupons_count?: 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 max quantity of free gifts globally applicable by the promotion.\n\t * @example ```3```\n\t */\n\tmax_quantity?: number | null\n\n\tmarket?: Market | null\n\tpromotion_rules?: PromotionRule[] | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRule | null\n\tsku_list_promotion_rule?: SkuListPromotionRule | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRule | null\n\tcustom_promotion_rule?: CustomPromotionRule | null\n\tsku_list?: SkuList | null\n\tcoupons?: Coupon[] | null\n\tattachments?: Attachment[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\tskus?: Sku[] | null\n\n}\n\n\ninterface FreeGiftPromotionCreate extends ResourceCreate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname: string\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at: string\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at: string\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: 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 * The max quantity of free gifts globally applicable by the promotion.\n\t * @example ```3```\n\t */\n\tmax_quantity?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list: SkuListRel\n\ttags?: TagRel[] | null\n\n}\n\n\ninterface FreeGiftPromotionUpdate extends ResourceUpdate {\n\t\n\t/** \n\t * The promotion's internal name.\n\t * @example ```\"Personal promotion\"```\n\t */\n\tname?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if the promotion will be applied exclusively, based on its priority score.\n\t * @example ```true```\n\t */\n\texclusive?: boolean | null\n\t/** \n\t * The priority assigned to the promotion (lower means higher priority).\n\t * @example ```2```\n\t */\n\tpriority?: number | null\n\t/** \n\t * The activation date/time of this promotion.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tstarts_at?: string | null\n\t/** \n\t * The expiration date/time of this promotion (must be after starts_at).\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.\n\t * @example ```5```\n\t */\n\ttotal_usage_limit?: 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 * Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_add_tags?: string | null\n\t/** \n\t * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.\n\t */\n\t_remove_tags?: string | null\n\t/** \n\t * The max quantity of free gifts globally applicable by the promotion.\n\t * @example ```3```\n\t */\n\tmax_quantity?: number | null\n\n\tmarket?: MarketRel | null\n\torder_amount_promotion_rule?: OrderAmountPromotionRuleRel | null\n\tsku_list_promotion_rule?: SkuListPromotionRuleRel | null\n\tcoupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null\n\tcustom_promotion_rule?: CustomPromotionRuleRel | null\n\tsku_list?: SkuListRel | null\n\ttags?: TagRel[] | null\n\n}\n\n\nclass FreeGiftPromotions extends ApiResource<FreeGiftPromotion> {\n\n\tstatic readonly TYPE: FreeGiftPromotionType = 'free_gift_promotions' as const\n\n\tasync create(resource: FreeGiftPromotionCreate, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.create<FreeGiftPromotionCreate, FreeGiftPromotion>({ ...resource, type: FreeGiftPromotions.TYPE }, params, options)\n\t}\n\n\tasync update(resource: FreeGiftPromotionUpdate, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.update<FreeGiftPromotionUpdate, FreeGiftPromotion>({ ...resource, type: FreeGiftPromotions.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: FreeGiftPromotions.TYPE } : id, options)\n\t}\n\n\tasync market(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Market>({ type: 'markets' }, `free_gift_promotions/${_freeGiftPromotionId}/market`, params, options) as unknown as Market\n\t}\n\n\tasync order_amount_promotion_rule(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<OrderAmountPromotionRule>({ type: 'order_amount_promotion_rules' }, `free_gift_promotions/${_freeGiftPromotionId}/order_amount_promotion_rule`, params, options) as unknown as OrderAmountPromotionRule\n\t}\n\n\tasync sku_list_promotion_rule(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<SkuListPromotionRule>({ type: 'sku_list_promotion_rules' }, `free_gift_promotions/${_freeGiftPromotionId}/sku_list_promotion_rule`, params, options) as unknown as SkuListPromotionRule\n\t}\n\n\tasync coupon_codes_promotion_rule(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<CouponCodesPromotionRule>({ type: 'coupon_codes_promotion_rules' }, `free_gift_promotions/${_freeGiftPromotionId}/coupon_codes_promotion_rule`, params, options) as unknown as CouponCodesPromotionRule\n\t}\n\n\tasync custom_promotion_rule(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<CustomPromotionRule>({ type: 'custom_promotion_rules' }, `free_gift_promotions/${_freeGiftPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule\n\t}\n\n\tasync sku_list(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<SkuList>({ type: 'sku_lists' }, `free_gift_promotions/${_freeGiftPromotionId}/sku_list`, params, options) as unknown as SkuList\n\t}\n\n\tasync coupons(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Coupon>({ type: 'coupons' }, `free_gift_promotions/${_freeGiftPromotionId}/coupons`, params, options) as unknown as ListResponse<Coupon>\n\t}\n\n\tasync attachments(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Attachment>({ type: 'attachments' }, `free_gift_promotions/${_freeGiftPromotionId}/attachments`, params, options) as unknown as ListResponse<Attachment>\n\t}\n\n\tasync events(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Event>({ type: 'events' }, `free_gift_promotions/${_freeGiftPromotionId}/events`, params, options) as unknown as ListResponse<Event>\n\t}\n\n\tasync tags(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Tag>({ type: 'tags' }, `free_gift_promotions/${_freeGiftPromotionId}/tags`, params, options) as unknown as ListResponse<Tag>\n\t}\n\n\tasync versions(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Version>({ type: 'versions' }, `free_gift_promotions/${_freeGiftPromotionId}/versions`, params, options) as unknown as ListResponse<Version>\n\t}\n\n\tasync event_stores(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<EventStore>({ type: 'event_stores' }, `free_gift_promotions/${_freeGiftPromotionId}/event_stores`, params, options) as unknown as ListResponse<EventStore>\n\t}\n\n\tasync skus(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>> {\n\t\tconst _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string\n\t\treturn this.resources.fetch<Sku>({ type: 'skus' }, `free_gift_promotions/${_freeGiftPromotionId}/skus`, params, options) as unknown as ListResponse<Sku>\n\t}\n\n\tasync _disable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.update<FreeGiftPromotionUpdate, FreeGiftPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeGiftPromotions.TYPE, _disable: true }, params, options)\n\t}\n\n\tasync _enable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.update<FreeGiftPromotionUpdate, FreeGiftPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeGiftPromotions.TYPE, _enable: true }, params, options)\n\t}\n\n\tasync _add_tags(id: string | FreeGiftPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.update<FreeGiftPromotionUpdate, FreeGiftPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeGiftPromotions.TYPE, _add_tags: triggerValue }, params, options)\n\t}\n\n\tasync _remove_tags(id: string | FreeGiftPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion> {\n\t\treturn this.resources.update<FreeGiftPromotionUpdate, FreeGiftPromotion>({ id: (typeof id === 'string')? id: id.id, type: FreeGiftPromotions.TYPE, _remove_tags: triggerValue }, params, options)\n\t}\n\n\n\tisFreeGiftPromotion(resource: any): resource is FreeGiftPromotion {\n\t\treturn resource.type && (resource.type === FreeGiftPromotions.TYPE)\n\t}\n\n\n\trelationship(id: string | ResourceId | null): FreeGiftPromotionRel {\n\t\treturn super.relationshipOneToOne<FreeGiftPromotionRel>(id)\n\t}\n\n\trelationshipToMany(...ids: string[]): FreeGiftPromotionRel[] {\n\t\treturn super.relationshipOneToMany<FreeGiftPromotionRel>(...ids)\n\t}\n\n\n\ttype(): FreeGiftPromotionType {\n\t\treturn FreeGiftPromotions.TYPE\n\t}\n\n}\n\n\nconst instance = new FreeGiftPromotions()\nexport default instance\n\nexport type { FreeGiftPromotions, FreeGiftPromotion, FreeGiftPromotionCreate, FreeGiftPromotionUpdate, FreeGiftPromotionType }\n"]}
|
|
@@ -68,5 +68,5 @@ var instance = new Promotions();
|
|
|
68
68
|
var promotions_default = instance;
|
|
69
69
|
|
|
70
70
|
export { promotions_default };
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
72
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-3QQQMHYY.js.map
|
|
72
|
+
//# sourceMappingURL=chunk-3QQQMHYY.js.map
|