@commercelayer/sdk 7.3.1 → 7.4.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-egU4nY4x.d.cts → api-4eRXMJTL.d.cts} +40 -8
- package/lib/{api-LDVr5RYG.d.ts → api-CAxIMq4w.d.ts} +40 -8
- package/lib/api.cjs +16 -16
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +8 -8
- package/lib/bundle.cjs +18 -18
- package/lib/bundle.d.cts +1 -1
- package/lib/bundle.d.ts +1 -1
- package/lib/bundle.js +9 -9
- package/lib/{chunk-JRMM5QTS.cjs → chunk-6GN2WIAZ.cjs} +2 -2
- package/lib/chunk-6GN2WIAZ.cjs.map +1 -0
- package/lib/{chunk-5ENDZCMK.js → chunk-6MGCNPAT.js} +2 -2
- package/lib/chunk-6MGCNPAT.js.map +1 -0
- package/lib/{chunk-ZDTIKZYR.js → chunk-AVF6NH6B.js} +2 -2
- package/lib/chunk-AVF6NH6B.js.map +1 -0
- package/lib/{chunk-EZQ3QHF2.js → chunk-GK5FCJ4X.js} +2 -2
- package/lib/chunk-GK5FCJ4X.js.map +1 -0
- package/lib/{chunk-VDMJ7RC4.js → chunk-HTD3SSWZ.js} +2 -2
- package/lib/chunk-HTD3SSWZ.js.map +1 -0
- package/lib/{chunk-7AOVIJPK.cjs → chunk-HZAMBMKK.cjs} +2 -2
- package/lib/chunk-HZAMBMKK.cjs.map +1 -0
- package/lib/{chunk-UHKV2XBV.cjs → chunk-IVW25AWZ.cjs} +2 -2
- package/lib/chunk-IVW25AWZ.cjs.map +1 -0
- package/lib/{chunk-CMUUBOZK.cjs → chunk-MQSCYGID.cjs} +2 -2
- package/lib/chunk-MQSCYGID.cjs.map +1 -0
- package/lib/{chunk-HXAWT7GZ.js → chunk-MVRW3HS2.js} +2 -2
- package/lib/chunk-MVRW3HS2.js.map +1 -0
- package/lib/{chunk-PXJFGL6U.js → chunk-OBUC6JTQ.js} +3 -3
- package/lib/{chunk-PXJFGL6U.js.map → chunk-OBUC6JTQ.js.map} +1 -1
- package/lib/{chunk-CB4HWBPX.js → chunk-OQHCTA6S.js} +3 -3
- package/lib/{chunk-CB4HWBPX.js.map → chunk-OQHCTA6S.js.map} +1 -1
- package/lib/{chunk-7NKYU3IT.cjs → chunk-R2TFAOMW.cjs} +4 -4
- package/lib/{chunk-7NKYU3IT.cjs.map → chunk-R2TFAOMW.cjs.map} +1 -1
- package/lib/{chunk-CYEVBUIW.js → chunk-REUVJUJK.js} +2 -2
- package/lib/chunk-REUVJUJK.js.map +1 -0
- package/lib/{chunk-W6KL6Q4Z.cjs → chunk-RRPTC4K5.cjs} +2 -2
- package/lib/chunk-RRPTC4K5.cjs.map +1 -0
- package/lib/{chunk-RLZV6AKT.cjs → chunk-UN4S45RX.cjs} +2 -2
- package/lib/chunk-UN4S45RX.cjs.map +1 -0
- package/lib/{chunk-XYR7Q662.cjs → chunk-UYRFDFCS.cjs} +2 -2
- package/lib/chunk-UYRFDFCS.cjs.map +1 -0
- package/lib/{chunk-UIPKMXES.js → chunk-VZV45GGC.js} +2 -2
- package/lib/chunk-VZV45GGC.js.map +1 -0
- package/lib/{chunk-NODJ4LG6.js → chunk-WMEEVBWE.js} +2 -2
- package/lib/chunk-WMEEVBWE.js.map +1 -0
- package/lib/{chunk-TN2MXFJV.cjs → chunk-WQ7WYE77.cjs} +3 -3
- package/lib/{chunk-TN2MXFJV.cjs.map → chunk-WQ7WYE77.cjs.map} +1 -1
- package/lib/{chunk-EW5ZFLK6.cjs → chunk-ZP6AAIZA.cjs} +2 -2
- package/lib/chunk-ZP6AAIZA.cjs.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 +21 -21
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +10 -10
- 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.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +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.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +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.d.cts +2 -2
- package/lib/resources/bundles.d.ts +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.d.cts +2 -2
- package/lib/resources/captures.d.ts +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.d.cts +2 -2
- package/lib/resources/refunds.d.ts +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.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +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.d.cts +2 -2
- package/lib/resources/transactions.d.ts +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.d.cts +2 -2
- package/lib/resources/voids.d.ts +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-5ENDZCMK.js.map +0 -1
- package/lib/chunk-7AOVIJPK.cjs.map +0 -1
- package/lib/chunk-CMUUBOZK.cjs.map +0 -1
- package/lib/chunk-CYEVBUIW.js.map +0 -1
- package/lib/chunk-EW5ZFLK6.cjs.map +0 -1
- package/lib/chunk-EZQ3QHF2.js.map +0 -1
- package/lib/chunk-HXAWT7GZ.js.map +0 -1
- package/lib/chunk-JRMM5QTS.cjs.map +0 -1
- package/lib/chunk-NODJ4LG6.js.map +0 -1
- package/lib/chunk-RLZV6AKT.cjs.map +0 -1
- package/lib/chunk-UHKV2XBV.cjs.map +0 -1
- package/lib/chunk-UIPKMXES.js.map +0 -1
- package/lib/chunk-VDMJ7RC4.js.map +0 -1
- package/lib/chunk-W6KL6Q4Z.cjs.map +0 -1
- package/lib/chunk-XYR7Q662.cjs.map +0 -1
- package/lib/chunk-ZDTIKZYR.js.map +0 -1
|
@@ -5665,7 +5665,7 @@ type SkuListRel$8 = ResourceRel & {
|
|
|
5665
5665
|
type TagRel$e = ResourceRel & {
|
|
5666
5666
|
type: TagType;
|
|
5667
5667
|
};
|
|
5668
|
-
type ExternalPromotionSort = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort;
|
|
5668
|
+
type ExternalPromotionSort = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort;
|
|
5669
5669
|
interface ExternalPromotion extends Resource {
|
|
5670
5670
|
readonly type: ExternalPromotionType;
|
|
5671
5671
|
/**
|
|
@@ -5708,6 +5708,10 @@ interface ExternalPromotion extends Resource {
|
|
|
5708
5708
|
* @example ```2```
|
|
5709
5709
|
*/
|
|
5710
5710
|
total_usage_count?: number | null;
|
|
5711
|
+
/**
|
|
5712
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
5713
|
+
*/
|
|
5714
|
+
total_usage_reached?: boolean | null;
|
|
5711
5715
|
/**
|
|
5712
5716
|
* Indicates if the promotion is active (enabled and not expired).
|
|
5713
5717
|
* @example ```true```
|
|
@@ -5949,7 +5953,7 @@ type SkuListRel$7 = ResourceRel & {
|
|
|
5949
5953
|
type TagRel$d = ResourceRel & {
|
|
5950
5954
|
type: TagType;
|
|
5951
5955
|
};
|
|
5952
|
-
type FixedAmountPromotionSort = Pick<FixedAmountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
5956
|
+
type FixedAmountPromotionSort = Pick<FixedAmountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort;
|
|
5953
5957
|
interface FixedAmountPromotion extends Resource {
|
|
5954
5958
|
readonly type: FixedAmountPromotionType;
|
|
5955
5959
|
/**
|
|
@@ -5992,6 +5996,10 @@ interface FixedAmountPromotion extends Resource {
|
|
|
5992
5996
|
* @example ```2```
|
|
5993
5997
|
*/
|
|
5994
5998
|
total_usage_count?: number | null;
|
|
5999
|
+
/**
|
|
6000
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
6001
|
+
*/
|
|
6002
|
+
total_usage_reached?: boolean | null;
|
|
5995
6003
|
/**
|
|
5996
6004
|
* Indicates if the promotion is active (enabled and not expired).
|
|
5997
6005
|
* @example ```true```
|
|
@@ -6459,7 +6467,7 @@ type SkuListRel$6 = ResourceRel & {
|
|
|
6459
6467
|
type TagRel$b = ResourceRel & {
|
|
6460
6468
|
type: TagType;
|
|
6461
6469
|
};
|
|
6462
|
-
type FixedPricePromotionSort = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
6470
|
+
type FixedPricePromotionSort = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort;
|
|
6463
6471
|
interface FixedPricePromotion extends Resource {
|
|
6464
6472
|
readonly type: FixedPricePromotionType;
|
|
6465
6473
|
/**
|
|
@@ -6502,6 +6510,10 @@ interface FixedPricePromotion extends Resource {
|
|
|
6502
6510
|
* @example ```2```
|
|
6503
6511
|
*/
|
|
6504
6512
|
total_usage_count?: number | null;
|
|
6513
|
+
/**
|
|
6514
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
6515
|
+
*/
|
|
6516
|
+
total_usage_reached?: boolean | null;
|
|
6505
6517
|
/**
|
|
6506
6518
|
* Indicates if the promotion is active (enabled and not expired).
|
|
6507
6519
|
* @example ```true```
|
|
@@ -6802,7 +6814,7 @@ type SkuListRel$5 = ResourceRel & {
|
|
|
6802
6814
|
type TagRel$a = ResourceRel & {
|
|
6803
6815
|
type: TagType;
|
|
6804
6816
|
};
|
|
6805
|
-
type FreeGiftPromotionSort = Pick<FreeGiftPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
6817
|
+
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;
|
|
6806
6818
|
interface FreeGiftPromotion extends Resource {
|
|
6807
6819
|
readonly type: FreeGiftPromotionType;
|
|
6808
6820
|
/**
|
|
@@ -6845,6 +6857,10 @@ interface FreeGiftPromotion extends Resource {
|
|
|
6845
6857
|
* @example ```2```
|
|
6846
6858
|
*/
|
|
6847
6859
|
total_usage_count?: number | null;
|
|
6860
|
+
/**
|
|
6861
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
6862
|
+
*/
|
|
6863
|
+
total_usage_reached?: boolean | null;
|
|
6848
6864
|
/**
|
|
6849
6865
|
* Indicates if the promotion is active (enabled and not expired).
|
|
6850
6866
|
* @example ```true```
|
|
@@ -7127,7 +7143,7 @@ type SkuListRel$4 = ResourceRel & {
|
|
|
7127
7143
|
type TagRel$9 = ResourceRel & {
|
|
7128
7144
|
type: TagType;
|
|
7129
7145
|
};
|
|
7130
|
-
type BuyXPayYPromotionSort = Pick<BuyXPayYPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at' | 'x' | 'y'> & ResourceSort;
|
|
7146
|
+
type BuyXPayYPromotionSort = Pick<BuyXPayYPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'x' | 'y'> & ResourceSort;
|
|
7131
7147
|
interface BuyXPayYPromotion extends Resource {
|
|
7132
7148
|
readonly type: BuyXPayYPromotionType;
|
|
7133
7149
|
/**
|
|
@@ -7170,6 +7186,10 @@ interface BuyXPayYPromotion extends Resource {
|
|
|
7170
7186
|
* @example ```2```
|
|
7171
7187
|
*/
|
|
7172
7188
|
total_usage_count?: number | null;
|
|
7189
|
+
/**
|
|
7190
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
7191
|
+
*/
|
|
7192
|
+
total_usage_reached?: boolean | null;
|
|
7173
7193
|
/**
|
|
7174
7194
|
* Indicates if the promotion is active (enabled and not expired).
|
|
7175
7195
|
* @example ```true```
|
|
@@ -7514,7 +7534,7 @@ type SkuListRel$2 = ResourceRel & {
|
|
|
7514
7534
|
type TagRel$8 = ResourceRel & {
|
|
7515
7535
|
type: TagType;
|
|
7516
7536
|
};
|
|
7517
|
-
type FreeShippingPromotionSort = Pick<FreeShippingPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
7537
|
+
type FreeShippingPromotionSort = Pick<FreeShippingPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort;
|
|
7518
7538
|
interface FreeShippingPromotion extends Resource {
|
|
7519
7539
|
readonly type: FreeShippingPromotionType;
|
|
7520
7540
|
/**
|
|
@@ -7557,6 +7577,10 @@ interface FreeShippingPromotion extends Resource {
|
|
|
7557
7577
|
* @example ```2```
|
|
7558
7578
|
*/
|
|
7559
7579
|
total_usage_count?: number | null;
|
|
7580
|
+
/**
|
|
7581
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
7582
|
+
*/
|
|
7583
|
+
total_usage_reached?: boolean | null;
|
|
7560
7584
|
/**
|
|
7561
7585
|
* Indicates if the promotion is active (enabled and not expired).
|
|
7562
7586
|
* @example ```true```
|
|
@@ -7855,7 +7879,7 @@ type SkuListRel$1 = ResourceRel & {
|
|
|
7855
7879
|
type TagRel$7 = ResourceRel & {
|
|
7856
7880
|
type: TagType;
|
|
7857
7881
|
};
|
|
7858
|
-
type PercentageDiscountPromotionSort = Pick<PercentageDiscountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
7882
|
+
type PercentageDiscountPromotionSort = Pick<PercentageDiscountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort;
|
|
7859
7883
|
interface PercentageDiscountPromotion extends Resource {
|
|
7860
7884
|
readonly type: PercentageDiscountPromotionType;
|
|
7861
7885
|
/**
|
|
@@ -7898,6 +7922,10 @@ interface PercentageDiscountPromotion extends Resource {
|
|
|
7898
7922
|
* @example ```2```
|
|
7899
7923
|
*/
|
|
7900
7924
|
total_usage_count?: number | null;
|
|
7925
|
+
/**
|
|
7926
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
7927
|
+
*/
|
|
7928
|
+
total_usage_reached?: boolean | null;
|
|
7901
7929
|
/**
|
|
7902
7930
|
* Indicates if the promotion is active (enabled and not expired).
|
|
7903
7931
|
* @example ```true```
|
|
@@ -13002,7 +13030,7 @@ type PromotionType = 'promotions';
|
|
|
13002
13030
|
type PromotionRel$1 = ResourceRel & {
|
|
13003
13031
|
type: PromotionType;
|
|
13004
13032
|
};
|
|
13005
|
-
type PromotionSort = Pick<Promotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
13033
|
+
type PromotionSort = Pick<Promotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort;
|
|
13006
13034
|
interface Promotion extends Resource {
|
|
13007
13035
|
readonly type: PromotionType;
|
|
13008
13036
|
/**
|
|
@@ -13045,6 +13073,10 @@ interface Promotion extends Resource {
|
|
|
13045
13073
|
* @example ```2```
|
|
13046
13074
|
*/
|
|
13047
13075
|
total_usage_count?: number | null;
|
|
13076
|
+
/**
|
|
13077
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
13078
|
+
*/
|
|
13079
|
+
total_usage_reached?: boolean | null;
|
|
13048
13080
|
/**
|
|
13049
13081
|
* Indicates if the promotion is active (enabled and not expired).
|
|
13050
13082
|
* @example ```true```
|
|
@@ -5665,7 +5665,7 @@ type SkuListRel$8 = ResourceRel & {
|
|
|
5665
5665
|
type TagRel$e = ResourceRel & {
|
|
5666
5666
|
type: TagType;
|
|
5667
5667
|
};
|
|
5668
|
-
type ExternalPromotionSort = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort;
|
|
5668
|
+
type ExternalPromotionSort = Pick<ExternalPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort;
|
|
5669
5669
|
interface ExternalPromotion extends Resource {
|
|
5670
5670
|
readonly type: ExternalPromotionType;
|
|
5671
5671
|
/**
|
|
@@ -5708,6 +5708,10 @@ interface ExternalPromotion extends Resource {
|
|
|
5708
5708
|
* @example ```2```
|
|
5709
5709
|
*/
|
|
5710
5710
|
total_usage_count?: number | null;
|
|
5711
|
+
/**
|
|
5712
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
5713
|
+
*/
|
|
5714
|
+
total_usage_reached?: boolean | null;
|
|
5711
5715
|
/**
|
|
5712
5716
|
* Indicates if the promotion is active (enabled and not expired).
|
|
5713
5717
|
* @example ```true```
|
|
@@ -5949,7 +5953,7 @@ type SkuListRel$7 = ResourceRel & {
|
|
|
5949
5953
|
type TagRel$d = ResourceRel & {
|
|
5950
5954
|
type: TagType;
|
|
5951
5955
|
};
|
|
5952
|
-
type FixedAmountPromotionSort = Pick<FixedAmountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
5956
|
+
type FixedAmountPromotionSort = Pick<FixedAmountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort;
|
|
5953
5957
|
interface FixedAmountPromotion extends Resource {
|
|
5954
5958
|
readonly type: FixedAmountPromotionType;
|
|
5955
5959
|
/**
|
|
@@ -5992,6 +5996,10 @@ interface FixedAmountPromotion extends Resource {
|
|
|
5992
5996
|
* @example ```2```
|
|
5993
5997
|
*/
|
|
5994
5998
|
total_usage_count?: number | null;
|
|
5999
|
+
/**
|
|
6000
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
6001
|
+
*/
|
|
6002
|
+
total_usage_reached?: boolean | null;
|
|
5995
6003
|
/**
|
|
5996
6004
|
* Indicates if the promotion is active (enabled and not expired).
|
|
5997
6005
|
* @example ```true```
|
|
@@ -6459,7 +6467,7 @@ type SkuListRel$6 = ResourceRel & {
|
|
|
6459
6467
|
type TagRel$b = ResourceRel & {
|
|
6460
6468
|
type: TagType;
|
|
6461
6469
|
};
|
|
6462
|
-
type FixedPricePromotionSort = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
6470
|
+
type FixedPricePromotionSort = Pick<FixedPricePromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort;
|
|
6463
6471
|
interface FixedPricePromotion extends Resource {
|
|
6464
6472
|
readonly type: FixedPricePromotionType;
|
|
6465
6473
|
/**
|
|
@@ -6502,6 +6510,10 @@ interface FixedPricePromotion extends Resource {
|
|
|
6502
6510
|
* @example ```2```
|
|
6503
6511
|
*/
|
|
6504
6512
|
total_usage_count?: number | null;
|
|
6513
|
+
/**
|
|
6514
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
6515
|
+
*/
|
|
6516
|
+
total_usage_reached?: boolean | null;
|
|
6505
6517
|
/**
|
|
6506
6518
|
* Indicates if the promotion is active (enabled and not expired).
|
|
6507
6519
|
* @example ```true```
|
|
@@ -6802,7 +6814,7 @@ type SkuListRel$5 = ResourceRel & {
|
|
|
6802
6814
|
type TagRel$a = ResourceRel & {
|
|
6803
6815
|
type: TagType;
|
|
6804
6816
|
};
|
|
6805
|
-
type FreeGiftPromotionSort = Pick<FreeGiftPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
6817
|
+
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;
|
|
6806
6818
|
interface FreeGiftPromotion extends Resource {
|
|
6807
6819
|
readonly type: FreeGiftPromotionType;
|
|
6808
6820
|
/**
|
|
@@ -6845,6 +6857,10 @@ interface FreeGiftPromotion extends Resource {
|
|
|
6845
6857
|
* @example ```2```
|
|
6846
6858
|
*/
|
|
6847
6859
|
total_usage_count?: number | null;
|
|
6860
|
+
/**
|
|
6861
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
6862
|
+
*/
|
|
6863
|
+
total_usage_reached?: boolean | null;
|
|
6848
6864
|
/**
|
|
6849
6865
|
* Indicates if the promotion is active (enabled and not expired).
|
|
6850
6866
|
* @example ```true```
|
|
@@ -7127,7 +7143,7 @@ type SkuListRel$4 = ResourceRel & {
|
|
|
7127
7143
|
type TagRel$9 = ResourceRel & {
|
|
7128
7144
|
type: TagType;
|
|
7129
7145
|
};
|
|
7130
|
-
type BuyXPayYPromotionSort = Pick<BuyXPayYPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at' | 'x' | 'y'> & ResourceSort;
|
|
7146
|
+
type BuyXPayYPromotionSort = Pick<BuyXPayYPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at' | 'x' | 'y'> & ResourceSort;
|
|
7131
7147
|
interface BuyXPayYPromotion extends Resource {
|
|
7132
7148
|
readonly type: BuyXPayYPromotionType;
|
|
7133
7149
|
/**
|
|
@@ -7170,6 +7186,10 @@ interface BuyXPayYPromotion extends Resource {
|
|
|
7170
7186
|
* @example ```2```
|
|
7171
7187
|
*/
|
|
7172
7188
|
total_usage_count?: number | null;
|
|
7189
|
+
/**
|
|
7190
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
7191
|
+
*/
|
|
7192
|
+
total_usage_reached?: boolean | null;
|
|
7173
7193
|
/**
|
|
7174
7194
|
* Indicates if the promotion is active (enabled and not expired).
|
|
7175
7195
|
* @example ```true```
|
|
@@ -7514,7 +7534,7 @@ type SkuListRel$2 = ResourceRel & {
|
|
|
7514
7534
|
type TagRel$8 = ResourceRel & {
|
|
7515
7535
|
type: TagType;
|
|
7516
7536
|
};
|
|
7517
|
-
type FreeShippingPromotionSort = Pick<FreeShippingPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
7537
|
+
type FreeShippingPromotionSort = Pick<FreeShippingPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort;
|
|
7518
7538
|
interface FreeShippingPromotion extends Resource {
|
|
7519
7539
|
readonly type: FreeShippingPromotionType;
|
|
7520
7540
|
/**
|
|
@@ -7557,6 +7577,10 @@ interface FreeShippingPromotion extends Resource {
|
|
|
7557
7577
|
* @example ```2```
|
|
7558
7578
|
*/
|
|
7559
7579
|
total_usage_count?: number | null;
|
|
7580
|
+
/**
|
|
7581
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
7582
|
+
*/
|
|
7583
|
+
total_usage_reached?: boolean | null;
|
|
7560
7584
|
/**
|
|
7561
7585
|
* Indicates if the promotion is active (enabled and not expired).
|
|
7562
7586
|
* @example ```true```
|
|
@@ -7855,7 +7879,7 @@ type SkuListRel$1 = ResourceRel & {
|
|
|
7855
7879
|
type TagRel$7 = ResourceRel & {
|
|
7856
7880
|
type: TagType;
|
|
7857
7881
|
};
|
|
7858
|
-
type PercentageDiscountPromotionSort = Pick<PercentageDiscountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
7882
|
+
type PercentageDiscountPromotionSort = Pick<PercentageDiscountPromotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort;
|
|
7859
7883
|
interface PercentageDiscountPromotion extends Resource {
|
|
7860
7884
|
readonly type: PercentageDiscountPromotionType;
|
|
7861
7885
|
/**
|
|
@@ -7898,6 +7922,10 @@ interface PercentageDiscountPromotion extends Resource {
|
|
|
7898
7922
|
* @example ```2```
|
|
7899
7923
|
*/
|
|
7900
7924
|
total_usage_count?: number | null;
|
|
7925
|
+
/**
|
|
7926
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
7927
|
+
*/
|
|
7928
|
+
total_usage_reached?: boolean | null;
|
|
7901
7929
|
/**
|
|
7902
7930
|
* Indicates if the promotion is active (enabled and not expired).
|
|
7903
7931
|
* @example ```true```
|
|
@@ -13002,7 +13030,7 @@ type PromotionType = 'promotions';
|
|
|
13002
13030
|
type PromotionRel$1 = ResourceRel & {
|
|
13003
13031
|
type: PromotionType;
|
|
13004
13032
|
};
|
|
13005
|
-
type PromotionSort = Pick<Promotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'disabled_at'> & ResourceSort;
|
|
13033
|
+
type PromotionSort = Pick<Promotion, 'id' | 'name' | 'currency_code' | 'exclusive' | 'priority' | 'starts_at' | 'expires_at' | 'total_usage_limit' | 'total_usage_count' | 'total_usage_reached' | 'disabled_at'> & ResourceSort;
|
|
13006
13034
|
interface Promotion extends Resource {
|
|
13007
13035
|
readonly type: PromotionType;
|
|
13008
13036
|
/**
|
|
@@ -13045,6 +13073,10 @@ interface Promotion extends Resource {
|
|
|
13045
13073
|
* @example ```2```
|
|
13046
13074
|
*/
|
|
13047
13075
|
total_usage_count?: number | null;
|
|
13076
|
+
/**
|
|
13077
|
+
* Indicates if the promotion has been applied the total number of allowed times.
|
|
13078
|
+
*/
|
|
13079
|
+
total_usage_reached?: boolean | null;
|
|
13048
13080
|
/**
|
|
13049
13081
|
* Indicates if the promotion is active (enabled and not expired).
|
|
13050
13082
|
* @example ```true```
|
package/lib/api.cjs
CHANGED
|
@@ -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 chunkZP6AAIZA_cjs = require('./chunk-ZP6AAIZA.cjs');
|
|
47
47
|
var chunk7P3ZTIQX_cjs = require('./chunk-7P3ZTIQX.cjs');
|
|
48
48
|
var chunkIALPF4NG_cjs = require('./chunk-IALPF4NG.cjs');
|
|
49
49
|
var chunkTIINXXHU_cjs = require('./chunk-TIINXXHU.cjs');
|
|
50
50
|
var chunkEVVUYC7T_cjs = require('./chunk-EVVUYC7T.cjs');
|
|
51
51
|
var chunkYZ4JURI3_cjs = require('./chunk-YZ4JURI3.cjs');
|
|
52
52
|
var chunkPBIARBZH_cjs = require('./chunk-PBIARBZH.cjs');
|
|
53
|
-
var
|
|
53
|
+
var chunkMQSCYGID_cjs = require('./chunk-MQSCYGID.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 chunk6ZUGJHNV_cjs = require('./chunk-6ZUGJHNV.cjs');
|
|
82
|
-
var
|
|
82
|
+
var chunkIVW25AWZ_cjs = require('./chunk-IVW25AWZ.cjs');
|
|
83
83
|
var chunkOEUSTDGS_cjs = require('./chunk-OEUSTDGS.cjs');
|
|
84
84
|
var chunk2CPNHJAZ_cjs = require('./chunk-2CPNHJAZ.cjs');
|
|
85
85
|
var chunk45YSQMGA_cjs = require('./chunk-45YSQMGA.cjs');
|
|
@@ -89,12 +89,12 @@ var chunkIXOAGKRD_cjs = require('./chunk-IXOAGKRD.cjs');
|
|
|
89
89
|
var chunkXOVAUMDC_cjs = require('./chunk-XOVAUMDC.cjs');
|
|
90
90
|
var chunk7OLCOMGV_cjs = require('./chunk-7OLCOMGV.cjs');
|
|
91
91
|
var chunkNWKIFDQH_cjs = require('./chunk-NWKIFDQH.cjs');
|
|
92
|
-
var
|
|
92
|
+
var chunkHZAMBMKK_cjs = require('./chunk-HZAMBMKK.cjs');
|
|
93
93
|
var chunkLGO42DAS_cjs = require('./chunk-LGO42DAS.cjs');
|
|
94
|
-
var
|
|
95
|
-
var
|
|
94
|
+
var chunkRRPTC4K5_cjs = require('./chunk-RRPTC4K5.cjs');
|
|
95
|
+
var chunkUN4S45RX_cjs = require('./chunk-UN4S45RX.cjs');
|
|
96
96
|
var chunkHOJUXLZD_cjs = require('./chunk-HOJUXLZD.cjs');
|
|
97
|
-
var
|
|
97
|
+
var chunk6GN2WIAZ_cjs = require('./chunk-6GN2WIAZ.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,7 +111,7 @@ 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
|
|
114
|
+
var chunkUYRFDFCS_cjs = require('./chunk-UYRFDFCS.cjs');
|
|
115
115
|
var chunkKNXPWX4D_cjs = require('./chunk-KNXPWX4D.cjs');
|
|
116
116
|
var chunkTFJYQUEH_cjs = require('./chunk-TFJYQUEH.cjs');
|
|
117
117
|
var chunkII544XO5_cjs = require('./chunk-II544XO5.cjs');
|
|
@@ -315,7 +315,7 @@ Object.defineProperty(exports, "promotion_rules", {
|
|
|
315
315
|
});
|
|
316
316
|
Object.defineProperty(exports, "promotions", {
|
|
317
317
|
enumerable: true,
|
|
318
|
-
get: function () { return
|
|
318
|
+
get: function () { return chunkZP6AAIZA_cjs.promotions_default; }
|
|
319
319
|
});
|
|
320
320
|
Object.defineProperty(exports, "recurring_order_copies", {
|
|
321
321
|
enumerable: true,
|
|
@@ -343,7 +343,7 @@ Object.defineProperty(exports, "paypal_payments", {
|
|
|
343
343
|
});
|
|
344
344
|
Object.defineProperty(exports, "percentage_discount_promotions", {
|
|
345
345
|
enumerable: true,
|
|
346
|
-
get: function () { return
|
|
346
|
+
get: function () { return chunkMQSCYGID_cjs.percentage_discount_promotions_default; }
|
|
347
347
|
});
|
|
348
348
|
Object.defineProperty(exports, "pickups", {
|
|
349
349
|
enumerable: true,
|
|
@@ -459,7 +459,7 @@ Object.defineProperty(exports, "manual_gateways", {
|
|
|
459
459
|
});
|
|
460
460
|
Object.defineProperty(exports, "free_shipping_promotions", {
|
|
461
461
|
enumerable: true,
|
|
462
|
-
get: function () { return
|
|
462
|
+
get: function () { return chunkIVW25AWZ_cjs.free_shipping_promotions_default; }
|
|
463
463
|
});
|
|
464
464
|
Object.defineProperty(exports, "geocoders", {
|
|
465
465
|
enumerable: true,
|
|
@@ -499,7 +499,7 @@ Object.defineProperty(exports, "external_payments", {
|
|
|
499
499
|
});
|
|
500
500
|
Object.defineProperty(exports, "external_promotions", {
|
|
501
501
|
enumerable: true,
|
|
502
|
-
get: function () { return
|
|
502
|
+
get: function () { return chunkHZAMBMKK_cjs.external_promotions_default; }
|
|
503
503
|
});
|
|
504
504
|
Object.defineProperty(exports, "external_tax_calculators", {
|
|
505
505
|
enumerable: true,
|
|
@@ -507,11 +507,11 @@ Object.defineProperty(exports, "external_tax_calculators", {
|
|
|
507
507
|
});
|
|
508
508
|
Object.defineProperty(exports, "fixed_amount_promotions", {
|
|
509
509
|
enumerable: true,
|
|
510
|
-
get: function () { return
|
|
510
|
+
get: function () { return chunkRRPTC4K5_cjs.fixed_amount_promotions_default; }
|
|
511
511
|
});
|
|
512
512
|
Object.defineProperty(exports, "fixed_price_promotions", {
|
|
513
513
|
enumerable: true,
|
|
514
|
-
get: function () { return
|
|
514
|
+
get: function () { return chunkUN4S45RX_cjs.fixed_price_promotions_default; }
|
|
515
515
|
});
|
|
516
516
|
Object.defineProperty(exports, "flex_promotions", {
|
|
517
517
|
enumerable: true,
|
|
@@ -519,7 +519,7 @@ Object.defineProperty(exports, "flex_promotions", {
|
|
|
519
519
|
});
|
|
520
520
|
Object.defineProperty(exports, "free_gift_promotions", {
|
|
521
521
|
enumerable: true,
|
|
522
|
-
get: function () { return
|
|
522
|
+
get: function () { return chunk6GN2WIAZ_cjs.free_gift_promotions_default; }
|
|
523
523
|
});
|
|
524
524
|
Object.defineProperty(exports, "delivery_lead_times", {
|
|
525
525
|
enumerable: true,
|
|
@@ -587,7 +587,7 @@ Object.defineProperty(exports, "customers", {
|
|
|
587
587
|
});
|
|
588
588
|
Object.defineProperty(exports, "buy_x_pay_y_promotions", {
|
|
589
589
|
enumerable: true,
|
|
590
|
-
get: function () { return
|
|
590
|
+
get: function () { return chunkUYRFDFCS_cjs.buy_x_pay_y_promotions_default; }
|
|
591
591
|
});
|
|
592
592
|
Object.defineProperty(exports, "captures", {
|
|
593
593
|
enumerable: true,
|
package/lib/api.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { H as Addresses, J as Adjustments, N as AdyenGateways, P as AdyenPayments, W as Applications, Y as Attachments, _ as Authorizations, a0 as AvalaraAccounts, a2 as AxerveGateways, a4 as AxervePayments, a6 as BingGeocoders, a8 as BraintreeGateways, aa as BraintreePayments, ac as Bundles, ae as BuyXPayYPromotions, ag as Captures, ai as CarrierAccounts, ak as CheckoutComGateways, am as CheckoutComPayments, ao as Cleanups, aq as CouponCodesPromotionRules, as as CouponRecipients, au as Coupons, aw as CustomPromotionRules, ay as CustomerAddresses, aA as CustomerGroups, aC as CustomerPasswordResets, aE as CustomerPaymentSources, aG as CustomerSubscriptions, aI as Customers, aK as DeliveryLeadTimes, aM as DiscountEngineItems, aO as DiscountEngines, aQ as EasypostPickups, aS as EventCallbacks, aU as EventStores, aW as Events, aY as Exports, a_ as ExternalGateways, b0 as ExternalPayments, b2 as ExternalPromotions, b4 as ExternalTaxCalculators, b6 as FixedAmountPromotions, b8 as FixedPricePromotions, ba as FlexPromotions, bc as FreeGiftPromotions, be as FreeShippingPromotions, bg as Geocoders, bi as GiftCardRecipients, bk as GiftCards, bm as GoogleGeocoders, bo as Imports, bq as InStockSubscriptions, bs as InventoryModels, bu as InventoryReturnLocations, bw as InventoryStockLocations, by as KlarnaGateways, bA as KlarnaPayments, bC as LineItemOptions, bE as LineItems, bG as Links, bI as ManualGateways, bK as ManualTaxCalculators, bM as Markets, bO as Merchants, bQ as Notifications, bS as OrderAmountPromotionRules, bU as OrderCopies, bW as OrderFactories, bY as OrderSubscriptionItems, b_ as OrderSubscriptions, c0 as Orders, c2 as Organizations, c4 as Packages, c6 as ParcelLineItems, c8 as Parcels, ca as PaymentGateways, cc as PaymentMethods, ce as PaymentOptions, cg as PaypalGateways, ci as PaypalPayments, ck as PercentageDiscountPromotions, cm as Pickups, co as PriceFrequencyTiers, cq as PriceListSchedulers, cs as PriceLists, cu as PriceTiers, cw as PriceVolumeTiers, cy as Prices, cA as PromotionRules, cC as Promotions, cE as RecurringOrderCopies, cG as Refunds, cI as ReservedStocks, cK as ResourceErrors, cM as ReturnLineItems, cO as Returns, cQ as SatispayGateways, cS as SatispayPayments, cU as Shipments, cW as ShippingCategories, cY as ShippingMethodTiers, c_ as ShippingMethods, d0 as ShippingWeightTiers, d2 as ShippingZones, d4 as SkuListItems, d6 as SkuListPromotionRules, d8 as SkuLists, da as SkuOptions, dc as Skus, de as StockItems, dg as StockLineItems, di as StockLocations, dk as StockReservations, dm as StockTransfers, dp as Stores, dr as StripeGateways, dt as StripePayments, dv as StripeTaxAccounts, dx as SubscriptionModels, dz as Tags, dB as TalonOneAccounts, dD as TaxCalculators, dF as TaxCategories, dH as TaxRules, dJ as TaxjarAccounts, dL as Transactions, dN as Versions, dP as VertexAccounts, dR as Voids, dT as Webhooks, dV as WireTransfers, G as addresses, I as adjustments, K as adyen_gateways, O as adyen_payments, S as application, X as attachments, Z as authorizations, $ as avalara_accounts, a1 as axerve_gateways, a3 as axerve_payments, a5 as bing_geocoders, a7 as braintree_gateways, a9 as braintree_payments, ab as bundles, ad as buy_x_pay_y_promotions, af as captures, ah as carrier_accounts, aj as checkout_com_gateways, al as checkout_com_payments, an as cleanups, ap as coupon_codes_promotion_rules, ar as coupon_recipients, at as coupons, av as custom_promotion_rules, ax as customer_addresses, az as customer_groups, aB as customer_password_resets, aD as customer_payment_sources, aF as customer_subscriptions, aH as customers, aJ as delivery_lead_times, aL as discount_engine_items, aN as discount_engines, aP as easypost_pickups, aR as event_callbacks, aT as event_stores, aV as events, aX as exports, aZ as external_gateways, a$ as external_payments, b1 as external_promotions, b3 as external_tax_calculators, b5 as fixed_amount_promotions, b7 as fixed_price_promotions, b9 as flex_promotions, bb as free_gift_promotions, bd as free_shipping_promotions, bf as geocoders, bh as gift_card_recipients, bj as gift_cards, bl as google_geocoders, bn as imports, bp as in_stock_subscriptions, br as inventory_models, bt as inventory_return_locations, bv as inventory_stock_locations, bx as klarna_gateways, bz as klarna_payments, bB as line_item_options, bD as line_items, bF as links, bH as manual_gateways, bJ as manual_tax_calculators, bL as markets, bN as merchants, bP as notifications, bR as order_amount_promotion_rules, bT as order_copies, bV as order_factories, bX as order_subscription_items, bZ as order_subscriptions, b$ as orders, c1 as organization, c3 as packages, c5 as parcel_line_items, c7 as parcels, c9 as payment_gateways, cb as payment_methods, cd as payment_options, cf as paypal_gateways, ch as paypal_payments, cj as percentage_discount_promotions, cl as pickups, cn as price_frequency_tiers, cp as price_list_schedulers, cr as price_lists, ct as price_tiers, cv as price_volume_tiers, cx as prices, cz as promotion_rules, cB as promotions, cD as recurring_order_copies, cF as refunds, cH as reserved_stocks, cJ as resource_errors, cL as return_line_items, cN as returns, cP as satispay_gateways, cR as satispay_payments, cT as shipments, cV as shipping_categories, cX as shipping_method_tiers, cZ as shipping_methods, c$ as shipping_weight_tiers, d1 as shipping_zones, d3 as sku_list_items, d5 as sku_list_promotion_rules, d7 as sku_lists, d9 as sku_options, db as skus, dd as stock_items, df as stock_line_items, dh as stock_locations, dj as stock_reservations, dl as stock_transfers, dn as stores, dq as stripe_gateways, ds as stripe_payments, du as stripe_tax_accounts, dw as subscription_models, dy as tags, dA as talon_one_accounts, dC as tax_calculators, dE as tax_categories, dG as tax_rules, dI as taxjar_accounts, dK as transactions, dM as versions, dO as vertex_accounts, dQ as voids, dS as webhooks, dU as wire_transfers } from './api-
|
|
1
|
+
export { H as Addresses, J as Adjustments, N as AdyenGateways, P as AdyenPayments, W as Applications, Y as Attachments, _ as Authorizations, a0 as AvalaraAccounts, a2 as AxerveGateways, a4 as AxervePayments, a6 as BingGeocoders, a8 as BraintreeGateways, aa as BraintreePayments, ac as Bundles, ae as BuyXPayYPromotions, ag as Captures, ai as CarrierAccounts, ak as CheckoutComGateways, am as CheckoutComPayments, ao as Cleanups, aq as CouponCodesPromotionRules, as as CouponRecipients, au as Coupons, aw as CustomPromotionRules, ay as CustomerAddresses, aA as CustomerGroups, aC as CustomerPasswordResets, aE as CustomerPaymentSources, aG as CustomerSubscriptions, aI as Customers, aK as DeliveryLeadTimes, aM as DiscountEngineItems, aO as DiscountEngines, aQ as EasypostPickups, aS as EventCallbacks, aU as EventStores, aW as Events, aY as Exports, a_ as ExternalGateways, b0 as ExternalPayments, b2 as ExternalPromotions, b4 as ExternalTaxCalculators, b6 as FixedAmountPromotions, b8 as FixedPricePromotions, ba as FlexPromotions, bc as FreeGiftPromotions, be as FreeShippingPromotions, bg as Geocoders, bi as GiftCardRecipients, bk as GiftCards, bm as GoogleGeocoders, bo as Imports, bq as InStockSubscriptions, bs as InventoryModels, bu as InventoryReturnLocations, bw as InventoryStockLocations, by as KlarnaGateways, bA as KlarnaPayments, bC as LineItemOptions, bE as LineItems, bG as Links, bI as ManualGateways, bK as ManualTaxCalculators, bM as Markets, bO as Merchants, bQ as Notifications, bS as OrderAmountPromotionRules, bU as OrderCopies, bW as OrderFactories, bY as OrderSubscriptionItems, b_ as OrderSubscriptions, c0 as Orders, c2 as Organizations, c4 as Packages, c6 as ParcelLineItems, c8 as Parcels, ca as PaymentGateways, cc as PaymentMethods, ce as PaymentOptions, cg as PaypalGateways, ci as PaypalPayments, ck as PercentageDiscountPromotions, cm as Pickups, co as PriceFrequencyTiers, cq as PriceListSchedulers, cs as PriceLists, cu as PriceTiers, cw as PriceVolumeTiers, cy as Prices, cA as PromotionRules, cC as Promotions, cE as RecurringOrderCopies, cG as Refunds, cI as ReservedStocks, cK as ResourceErrors, cM as ReturnLineItems, cO as Returns, cQ as SatispayGateways, cS as SatispayPayments, cU as Shipments, cW as ShippingCategories, cY as ShippingMethodTiers, c_ as ShippingMethods, d0 as ShippingWeightTiers, d2 as ShippingZones, d4 as SkuListItems, d6 as SkuListPromotionRules, d8 as SkuLists, da as SkuOptions, dc as Skus, de as StockItems, dg as StockLineItems, di as StockLocations, dk as StockReservations, dm as StockTransfers, dp as Stores, dr as StripeGateways, dt as StripePayments, dv as StripeTaxAccounts, dx as SubscriptionModels, dz as Tags, dB as TalonOneAccounts, dD as TaxCalculators, dF as TaxCategories, dH as TaxRules, dJ as TaxjarAccounts, dL as Transactions, dN as Versions, dP as VertexAccounts, dR as Voids, dT as Webhooks, dV as WireTransfers, G as addresses, I as adjustments, K as adyen_gateways, O as adyen_payments, S as application, X as attachments, Z as authorizations, $ as avalara_accounts, a1 as axerve_gateways, a3 as axerve_payments, a5 as bing_geocoders, a7 as braintree_gateways, a9 as braintree_payments, ab as bundles, ad as buy_x_pay_y_promotions, af as captures, ah as carrier_accounts, aj as checkout_com_gateways, al as checkout_com_payments, an as cleanups, ap as coupon_codes_promotion_rules, ar as coupon_recipients, at as coupons, av as custom_promotion_rules, ax as customer_addresses, az as customer_groups, aB as customer_password_resets, aD as customer_payment_sources, aF as customer_subscriptions, aH as customers, aJ as delivery_lead_times, aL as discount_engine_items, aN as discount_engines, aP as easypost_pickups, aR as event_callbacks, aT as event_stores, aV as events, aX as exports, aZ as external_gateways, a$ as external_payments, b1 as external_promotions, b3 as external_tax_calculators, b5 as fixed_amount_promotions, b7 as fixed_price_promotions, b9 as flex_promotions, bb as free_gift_promotions, bd as free_shipping_promotions, bf as geocoders, bh as gift_card_recipients, bj as gift_cards, bl as google_geocoders, bn as imports, bp as in_stock_subscriptions, br as inventory_models, bt as inventory_return_locations, bv as inventory_stock_locations, bx as klarna_gateways, bz as klarna_payments, bB as line_item_options, bD as line_items, bF as links, bH as manual_gateways, bJ as manual_tax_calculators, bL as markets, bN as merchants, bP as notifications, bR as order_amount_promotion_rules, bT as order_copies, bV as order_factories, bX as order_subscription_items, bZ as order_subscriptions, b$ as orders, c1 as organization, c3 as packages, c5 as parcel_line_items, c7 as parcels, c9 as payment_gateways, cb as payment_methods, cd as payment_options, cf as paypal_gateways, ch as paypal_payments, cj as percentage_discount_promotions, cl as pickups, cn as price_frequency_tiers, cp as price_list_schedulers, cr as price_lists, ct as price_tiers, cv as price_volume_tiers, cx as prices, cz as promotion_rules, cB as promotions, cD as recurring_order_copies, cF as refunds, cH as reserved_stocks, cJ as resource_errors, cL as return_line_items, cN as returns, cP as satispay_gateways, cR as satispay_payments, cT as shipments, cV as shipping_categories, cX as shipping_method_tiers, cZ as shipping_methods, c$ as shipping_weight_tiers, d1 as shipping_zones, d3 as sku_list_items, d5 as sku_list_promotion_rules, d7 as sku_lists, d9 as sku_options, db as skus, dd as stock_items, df as stock_line_items, dh as stock_locations, dj as stock_reservations, dl as stock_transfers, dn as stores, dq as stripe_gateways, ds as stripe_payments, du as stripe_tax_accounts, dw as subscription_models, dy as tags, dA as talon_one_accounts, dC as tax_calculators, dE as tax_categories, dG as tax_rules, dI as taxjar_accounts, dK as transactions, dM as versions, dO as vertex_accounts, dQ as voids, dS as webhooks, dU as wire_transfers } from './api-4eRXMJTL.cjs';
|
|
2
2
|
import './client.cjs';
|
|
3
3
|
import './interceptor-k15jXzf0.cjs';
|
|
4
4
|
import './types.cjs';
|
package/lib/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { H as Addresses, J as Adjustments, N as AdyenGateways, P as AdyenPayments, W as Applications, Y as Attachments, _ as Authorizations, a0 as AvalaraAccounts, a2 as AxerveGateways, a4 as AxervePayments, a6 as BingGeocoders, a8 as BraintreeGateways, aa as BraintreePayments, ac as Bundles, ae as BuyXPayYPromotions, ag as Captures, ai as CarrierAccounts, ak as CheckoutComGateways, am as CheckoutComPayments, ao as Cleanups, aq as CouponCodesPromotionRules, as as CouponRecipients, au as Coupons, aw as CustomPromotionRules, ay as CustomerAddresses, aA as CustomerGroups, aC as CustomerPasswordResets, aE as CustomerPaymentSources, aG as CustomerSubscriptions, aI as Customers, aK as DeliveryLeadTimes, aM as DiscountEngineItems, aO as DiscountEngines, aQ as EasypostPickups, aS as EventCallbacks, aU as EventStores, aW as Events, aY as Exports, a_ as ExternalGateways, b0 as ExternalPayments, b2 as ExternalPromotions, b4 as ExternalTaxCalculators, b6 as FixedAmountPromotions, b8 as FixedPricePromotions, ba as FlexPromotions, bc as FreeGiftPromotions, be as FreeShippingPromotions, bg as Geocoders, bi as GiftCardRecipients, bk as GiftCards, bm as GoogleGeocoders, bo as Imports, bq as InStockSubscriptions, bs as InventoryModels, bu as InventoryReturnLocations, bw as InventoryStockLocations, by as KlarnaGateways, bA as KlarnaPayments, bC as LineItemOptions, bE as LineItems, bG as Links, bI as ManualGateways, bK as ManualTaxCalculators, bM as Markets, bO as Merchants, bQ as Notifications, bS as OrderAmountPromotionRules, bU as OrderCopies, bW as OrderFactories, bY as OrderSubscriptionItems, b_ as OrderSubscriptions, c0 as Orders, c2 as Organizations, c4 as Packages, c6 as ParcelLineItems, c8 as Parcels, ca as PaymentGateways, cc as PaymentMethods, ce as PaymentOptions, cg as PaypalGateways, ci as PaypalPayments, ck as PercentageDiscountPromotions, cm as Pickups, co as PriceFrequencyTiers, cq as PriceListSchedulers, cs as PriceLists, cu as PriceTiers, cw as PriceVolumeTiers, cy as Prices, cA as PromotionRules, cC as Promotions, cE as RecurringOrderCopies, cG as Refunds, cI as ReservedStocks, cK as ResourceErrors, cM as ReturnLineItems, cO as Returns, cQ as SatispayGateways, cS as SatispayPayments, cU as Shipments, cW as ShippingCategories, cY as ShippingMethodTiers, c_ as ShippingMethods, d0 as ShippingWeightTiers, d2 as ShippingZones, d4 as SkuListItems, d6 as SkuListPromotionRules, d8 as SkuLists, da as SkuOptions, dc as Skus, de as StockItems, dg as StockLineItems, di as StockLocations, dk as StockReservations, dm as StockTransfers, dp as Stores, dr as StripeGateways, dt as StripePayments, dv as StripeTaxAccounts, dx as SubscriptionModels, dz as Tags, dB as TalonOneAccounts, dD as TaxCalculators, dF as TaxCategories, dH as TaxRules, dJ as TaxjarAccounts, dL as Transactions, dN as Versions, dP as VertexAccounts, dR as Voids, dT as Webhooks, dV as WireTransfers, G as addresses, I as adjustments, K as adyen_gateways, O as adyen_payments, S as application, X as attachments, Z as authorizations, $ as avalara_accounts, a1 as axerve_gateways, a3 as axerve_payments, a5 as bing_geocoders, a7 as braintree_gateways, a9 as braintree_payments, ab as bundles, ad as buy_x_pay_y_promotions, af as captures, ah as carrier_accounts, aj as checkout_com_gateways, al as checkout_com_payments, an as cleanups, ap as coupon_codes_promotion_rules, ar as coupon_recipients, at as coupons, av as custom_promotion_rules, ax as customer_addresses, az as customer_groups, aB as customer_password_resets, aD as customer_payment_sources, aF as customer_subscriptions, aH as customers, aJ as delivery_lead_times, aL as discount_engine_items, aN as discount_engines, aP as easypost_pickups, aR as event_callbacks, aT as event_stores, aV as events, aX as exports, aZ as external_gateways, a$ as external_payments, b1 as external_promotions, b3 as external_tax_calculators, b5 as fixed_amount_promotions, b7 as fixed_price_promotions, b9 as flex_promotions, bb as free_gift_promotions, bd as free_shipping_promotions, bf as geocoders, bh as gift_card_recipients, bj as gift_cards, bl as google_geocoders, bn as imports, bp as in_stock_subscriptions, br as inventory_models, bt as inventory_return_locations, bv as inventory_stock_locations, bx as klarna_gateways, bz as klarna_payments, bB as line_item_options, bD as line_items, bF as links, bH as manual_gateways, bJ as manual_tax_calculators, bL as markets, bN as merchants, bP as notifications, bR as order_amount_promotion_rules, bT as order_copies, bV as order_factories, bX as order_subscription_items, bZ as order_subscriptions, b$ as orders, c1 as organization, c3 as packages, c5 as parcel_line_items, c7 as parcels, c9 as payment_gateways, cb as payment_methods, cd as payment_options, cf as paypal_gateways, ch as paypal_payments, cj as percentage_discount_promotions, cl as pickups, cn as price_frequency_tiers, cp as price_list_schedulers, cr as price_lists, ct as price_tiers, cv as price_volume_tiers, cx as prices, cz as promotion_rules, cB as promotions, cD as recurring_order_copies, cF as refunds, cH as reserved_stocks, cJ as resource_errors, cL as return_line_items, cN as returns, cP as satispay_gateways, cR as satispay_payments, cT as shipments, cV as shipping_categories, cX as shipping_method_tiers, cZ as shipping_methods, c$ as shipping_weight_tiers, d1 as shipping_zones, d3 as sku_list_items, d5 as sku_list_promotion_rules, d7 as sku_lists, d9 as sku_options, db as skus, dd as stock_items, df as stock_line_items, dh as stock_locations, dj as stock_reservations, dl as stock_transfers, dn as stores, dq as stripe_gateways, ds as stripe_payments, du as stripe_tax_accounts, dw as subscription_models, dy as tags, dA as talon_one_accounts, dC as tax_calculators, dE as tax_categories, dG as tax_rules, dI as taxjar_accounts, dK as transactions, dM as versions, dO as vertex_accounts, dQ as voids, dS as webhooks, dU as wire_transfers } from './api-
|
|
1
|
+
export { H as Addresses, J as Adjustments, N as AdyenGateways, P as AdyenPayments, W as Applications, Y as Attachments, _ as Authorizations, a0 as AvalaraAccounts, a2 as AxerveGateways, a4 as AxervePayments, a6 as BingGeocoders, a8 as BraintreeGateways, aa as BraintreePayments, ac as Bundles, ae as BuyXPayYPromotions, ag as Captures, ai as CarrierAccounts, ak as CheckoutComGateways, am as CheckoutComPayments, ao as Cleanups, aq as CouponCodesPromotionRules, as as CouponRecipients, au as Coupons, aw as CustomPromotionRules, ay as CustomerAddresses, aA as CustomerGroups, aC as CustomerPasswordResets, aE as CustomerPaymentSources, aG as CustomerSubscriptions, aI as Customers, aK as DeliveryLeadTimes, aM as DiscountEngineItems, aO as DiscountEngines, aQ as EasypostPickups, aS as EventCallbacks, aU as EventStores, aW as Events, aY as Exports, a_ as ExternalGateways, b0 as ExternalPayments, b2 as ExternalPromotions, b4 as ExternalTaxCalculators, b6 as FixedAmountPromotions, b8 as FixedPricePromotions, ba as FlexPromotions, bc as FreeGiftPromotions, be as FreeShippingPromotions, bg as Geocoders, bi as GiftCardRecipients, bk as GiftCards, bm as GoogleGeocoders, bo as Imports, bq as InStockSubscriptions, bs as InventoryModels, bu as InventoryReturnLocations, bw as InventoryStockLocations, by as KlarnaGateways, bA as KlarnaPayments, bC as LineItemOptions, bE as LineItems, bG as Links, bI as ManualGateways, bK as ManualTaxCalculators, bM as Markets, bO as Merchants, bQ as Notifications, bS as OrderAmountPromotionRules, bU as OrderCopies, bW as OrderFactories, bY as OrderSubscriptionItems, b_ as OrderSubscriptions, c0 as Orders, c2 as Organizations, c4 as Packages, c6 as ParcelLineItems, c8 as Parcels, ca as PaymentGateways, cc as PaymentMethods, ce as PaymentOptions, cg as PaypalGateways, ci as PaypalPayments, ck as PercentageDiscountPromotions, cm as Pickups, co as PriceFrequencyTiers, cq as PriceListSchedulers, cs as PriceLists, cu as PriceTiers, cw as PriceVolumeTiers, cy as Prices, cA as PromotionRules, cC as Promotions, cE as RecurringOrderCopies, cG as Refunds, cI as ReservedStocks, cK as ResourceErrors, cM as ReturnLineItems, cO as Returns, cQ as SatispayGateways, cS as SatispayPayments, cU as Shipments, cW as ShippingCategories, cY as ShippingMethodTiers, c_ as ShippingMethods, d0 as ShippingWeightTiers, d2 as ShippingZones, d4 as SkuListItems, d6 as SkuListPromotionRules, d8 as SkuLists, da as SkuOptions, dc as Skus, de as StockItems, dg as StockLineItems, di as StockLocations, dk as StockReservations, dm as StockTransfers, dp as Stores, dr as StripeGateways, dt as StripePayments, dv as StripeTaxAccounts, dx as SubscriptionModels, dz as Tags, dB as TalonOneAccounts, dD as TaxCalculators, dF as TaxCategories, dH as TaxRules, dJ as TaxjarAccounts, dL as Transactions, dN as Versions, dP as VertexAccounts, dR as Voids, dT as Webhooks, dV as WireTransfers, G as addresses, I as adjustments, K as adyen_gateways, O as adyen_payments, S as application, X as attachments, Z as authorizations, $ as avalara_accounts, a1 as axerve_gateways, a3 as axerve_payments, a5 as bing_geocoders, a7 as braintree_gateways, a9 as braintree_payments, ab as bundles, ad as buy_x_pay_y_promotions, af as captures, ah as carrier_accounts, aj as checkout_com_gateways, al as checkout_com_payments, an as cleanups, ap as coupon_codes_promotion_rules, ar as coupon_recipients, at as coupons, av as custom_promotion_rules, ax as customer_addresses, az as customer_groups, aB as customer_password_resets, aD as customer_payment_sources, aF as customer_subscriptions, aH as customers, aJ as delivery_lead_times, aL as discount_engine_items, aN as discount_engines, aP as easypost_pickups, aR as event_callbacks, aT as event_stores, aV as events, aX as exports, aZ as external_gateways, a$ as external_payments, b1 as external_promotions, b3 as external_tax_calculators, b5 as fixed_amount_promotions, b7 as fixed_price_promotions, b9 as flex_promotions, bb as free_gift_promotions, bd as free_shipping_promotions, bf as geocoders, bh as gift_card_recipients, bj as gift_cards, bl as google_geocoders, bn as imports, bp as in_stock_subscriptions, br as inventory_models, bt as inventory_return_locations, bv as inventory_stock_locations, bx as klarna_gateways, bz as klarna_payments, bB as line_item_options, bD as line_items, bF as links, bH as manual_gateways, bJ as manual_tax_calculators, bL as markets, bN as merchants, bP as notifications, bR as order_amount_promotion_rules, bT as order_copies, bV as order_factories, bX as order_subscription_items, bZ as order_subscriptions, b$ as orders, c1 as organization, c3 as packages, c5 as parcel_line_items, c7 as parcels, c9 as payment_gateways, cb as payment_methods, cd as payment_options, cf as paypal_gateways, ch as paypal_payments, cj as percentage_discount_promotions, cl as pickups, cn as price_frequency_tiers, cp as price_list_schedulers, cr as price_lists, ct as price_tiers, cv as price_volume_tiers, cx as prices, cz as promotion_rules, cB as promotions, cD as recurring_order_copies, cF as refunds, cH as reserved_stocks, cJ as resource_errors, cL as return_line_items, cN as returns, cP as satispay_gateways, cR as satispay_payments, cT as shipments, cV as shipping_categories, cX as shipping_method_tiers, cZ as shipping_methods, c$ as shipping_weight_tiers, d1 as shipping_zones, d3 as sku_list_items, d5 as sku_list_promotion_rules, d7 as sku_lists, d9 as sku_options, db as skus, dd as stock_items, df as stock_line_items, dh as stock_locations, dj as stock_reservations, dl as stock_transfers, dn as stores, dq as stripe_gateways, ds as stripe_payments, du as stripe_tax_accounts, dw as subscription_models, dy as tags, dA as talon_one_accounts, dC as tax_calculators, dE as tax_categories, dG as tax_rules, dI as taxjar_accounts, dK as transactions, dM as versions, dO as vertex_accounts, dQ as voids, dS as webhooks, dU as wire_transfers } from './api-CAxIMq4w.js';
|
|
2
2
|
import './client.js';
|
|
3
3
|
import './interceptor-k15jXzf0.js';
|
|
4
4
|
import './types.js';
|
package/lib/api.js
CHANGED
|
@@ -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-6MGCNPAT.js';
|
|
45
45
|
export { recurring_order_copies_default as recurring_order_copies } from './chunk-MOKBZVUU.js';
|
|
46
46
|
export { refunds_default as refunds } from './chunk-ME2ZNNMA.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-KDQRA5YH.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-GK5FCJ4X.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-TWQ4THAG.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-AVF6NH6B.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-PENOPHMW.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-REUVJUJK.js';
|
|
91
91
|
export { external_tax_calculators_default as external_tax_calculators } from './chunk-EFU44R7O.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-WMEEVBWE.js';
|
|
93
|
+
export { fixed_price_promotions_default as fixed_price_promotions } from './chunk-MVRW3HS2.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-HTD3SSWZ.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,7 +109,7 @@ 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-
|
|
112
|
+
export { buy_x_pay_y_promotions_default as buy_x_pay_y_promotions } from './chunk-VZV45GGC.js';
|
|
113
113
|
export { captures_default as captures } from './chunk-P5GRTTMC.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-HH3NIT7B.js';
|