@commercelayer/sdk 7.0.1 → 7.2.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-hqUAWxVp.d.ts → api-LDVr5RYG.d.ts} +86 -1
- package/lib/{api-BsKF9Q-K.d.cts → api-egU4nY4x.d.cts} +86 -1
- 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-I66TFFKG.cjs → chunk-2H2ODZUY.cjs} +2 -2
- package/lib/chunk-2H2ODZUY.cjs.map +1 -0
- package/lib/{chunk-54UOEWTE.cjs → chunk-3CBCQQBN.cjs} +2 -2
- package/lib/chunk-3CBCQQBN.cjs.map +1 -0
- package/lib/{chunk-G2OYFKP2.cjs → chunk-4IOIA2JQ.cjs} +5 -2
- package/lib/chunk-4IOIA2JQ.cjs.map +1 -0
- package/lib/{chunk-D4RA67CM.cjs → chunk-7NKYU3IT.cjs} +4 -4
- package/lib/{chunk-D4RA67CM.cjs.map → chunk-7NKYU3IT.cjs.map} +1 -1
- package/lib/{chunk-G2Y67WFX.js → chunk-BNWM637R.js} +2 -2
- package/lib/chunk-BNWM637R.js.map +1 -0
- package/lib/{chunk-N54ON7TD.js → chunk-CB4HWBPX.js} +3 -3
- package/lib/{chunk-N54ON7TD.js.map → chunk-CB4HWBPX.js.map} +1 -1
- package/lib/{chunk-ATVNGAQC.cjs → chunk-F46RW7IU.cjs} +2 -2
- package/lib/chunk-F46RW7IU.cjs.map +1 -0
- package/lib/{chunk-TRPV3CFO.cjs → chunk-HOJUXLZD.cjs} +2 -2
- package/lib/chunk-HOJUXLZD.cjs.map +1 -0
- package/lib/{chunk-ZZ5BND4W.js → chunk-JPX4RLBV.js} +2 -2
- package/lib/chunk-JPX4RLBV.js.map +1 -0
- package/lib/{chunk-AT27CIRM.js → chunk-KMWKIU65.js} +2 -2
- package/lib/chunk-KMWKIU65.js.map +1 -0
- package/lib/{chunk-FLFTXWLQ.cjs → chunk-LIIFLHEH.cjs} +2 -2
- package/lib/chunk-LIIFLHEH.cjs.map +1 -0
- package/lib/{chunk-HZQRIP3G.js → chunk-LUS6TTEC.js} +2 -2
- package/lib/chunk-LUS6TTEC.js.map +1 -0
- package/lib/{chunk-JVQVN3JM.js → chunk-NQHQV4PY.js} +2 -2
- package/lib/chunk-NQHQV4PY.js.map +1 -0
- package/lib/{chunk-CRPD5Q5Y.js → chunk-NTAREPLJ.js} +5 -2
- package/lib/chunk-NTAREPLJ.js.map +1 -0
- package/lib/{chunk-QD2VBPJU.js → chunk-OPPZLGKC.js} +2 -2
- package/lib/chunk-OPPZLGKC.js.map +1 -0
- package/lib/{chunk-VR3ZMKF5.js → chunk-PXJFGL6U.js} +3 -3
- package/lib/{chunk-VR3ZMKF5.js.map → chunk-PXJFGL6U.js.map} +1 -1
- package/lib/{chunk-Z4QZRC4T.cjs → chunk-TN2MXFJV.cjs} +3 -3
- package/lib/{chunk-Z4QZRC4T.cjs.map → chunk-TN2MXFJV.cjs.map} +1 -1
- package/lib/{chunk-E6MQFGEF.js → chunk-WFBWZVOK.js} +2 -2
- package/lib/chunk-WFBWZVOK.js.map +1 -0
- package/lib/{chunk-AB7QWMMM.cjs → chunk-YPGYBULL.cjs} +2 -2
- package/lib/chunk-YPGYBULL.cjs.map +1 -0
- package/lib/{chunk-K3BSXSHS.cjs → chunk-ZPEK2ZCL.cjs} +2 -2
- package/lib/chunk-ZPEK2ZCL.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.d.cts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.ts +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.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +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.d.cts +2 -2
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.d.cts +2 -2
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.cjs +2 -2
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +1 -1
- package/lib/resources/free_gift_promotions.d.cts +2 -2
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.d.cts +2 -2
- package/lib/resources/free_shipping_promotions.d.ts +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.cjs +2 -2
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +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.cjs +2 -2
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +1 -1
- package/lib/resources/organizations.cjs +2 -2
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +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.d.cts +2 -2
- package/lib/resources/percentage_discount_promotions.d.ts +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.cjs +2 -2
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +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.cjs +2 -2
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +1 -1
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +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.cjs +2 -2
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +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.cjs +2 -2
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +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 +5 -6
- package/lib/chunk-54UOEWTE.cjs.map +0 -1
- package/lib/chunk-AB7QWMMM.cjs.map +0 -1
- package/lib/chunk-AT27CIRM.js.map +0 -1
- package/lib/chunk-ATVNGAQC.cjs.map +0 -1
- package/lib/chunk-CRPD5Q5Y.js.map +0 -1
- package/lib/chunk-E6MQFGEF.js.map +0 -1
- package/lib/chunk-FLFTXWLQ.cjs.map +0 -1
- package/lib/chunk-G2OYFKP2.cjs.map +0 -1
- package/lib/chunk-G2Y67WFX.js.map +0 -1
- package/lib/chunk-HZQRIP3G.js.map +0 -1
- package/lib/chunk-I66TFFKG.cjs.map +0 -1
- package/lib/chunk-JVQVN3JM.js.map +0 -1
- package/lib/chunk-K3BSXSHS.cjs.map +0 -1
- package/lib/chunk-QD2VBPJU.js.map +0 -1
- package/lib/chunk-TRPV3CFO.cjs.map +0 -1
- package/lib/chunk-ZZ5BND4W.js.map +0 -1
@@ -6255,11 +6255,26 @@ interface FlexPromotion extends Resource {
|
|
6255
6255
|
* @example ```"pending"```
|
6256
6256
|
*/
|
6257
6257
|
status?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null;
|
6258
|
+
/**
|
6259
|
+
* The discount rule to be applied.
|
6260
|
+
* @example ```{}```
|
6261
|
+
*/
|
6262
|
+
rules: Record<string, any>;
|
6263
|
+
/**
|
6264
|
+
* The rule outcomes.
|
6265
|
+
* @example ```[]```
|
6266
|
+
*/
|
6267
|
+
rule_outcomes?: Record<string, any> | null;
|
6258
6268
|
/**
|
6259
6269
|
* Time at which this resource was disabled.
|
6260
6270
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
6261
6271
|
*/
|
6262
6272
|
disabled_at?: string | null;
|
6273
|
+
/**
|
6274
|
+
* The payload used to evaluate the rules.
|
6275
|
+
* @example ```{}```
|
6276
|
+
*/
|
6277
|
+
resource_payload?: Record<string, any> | null;
|
6263
6278
|
coupon_codes_promotion_rule?: CouponCodesPromotionRule | null;
|
6264
6279
|
coupons?: Coupon[] | null;
|
6265
6280
|
attachments?: Attachment[] | null;
|
@@ -8355,6 +8370,11 @@ interface LineItemCreate extends ResourceCreate {
|
|
8355
8370
|
* @example ```true```
|
8356
8371
|
*/
|
8357
8372
|
_reserve_stock?: boolean | null;
|
8373
|
+
/**
|
8374
|
+
* Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.
|
8375
|
+
* @example ```true```
|
8376
|
+
*/
|
8377
|
+
_reset_restocked_quantity?: boolean | null;
|
8358
8378
|
/**
|
8359
8379
|
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.
|
8360
8380
|
* @example ```10000```
|
@@ -8415,6 +8435,11 @@ interface LineItemUpdate extends ResourceUpdate {
|
|
8415
8435
|
* @example ```true```
|
8416
8436
|
*/
|
8417
8437
|
_reserve_stock?: boolean | null;
|
8438
|
+
/**
|
8439
|
+
* Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.
|
8440
|
+
* @example ```true```
|
8441
|
+
*/
|
8442
|
+
_reset_restocked_quantity?: boolean | null;
|
8418
8443
|
/**
|
8419
8444
|
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.
|
8420
8445
|
* @example ```10000```
|
@@ -8477,6 +8502,7 @@ declare class LineItems extends ApiResource<LineItem> {
|
|
8477
8502
|
event_stores(lineItemId: string | LineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
8478
8503
|
_external_price(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8479
8504
|
_reserve_stock(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8505
|
+
_reset_restocked_quantity(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8480
8506
|
_reset_circuit(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8481
8507
|
_add_tags(id: string | LineItem, triggerValue: string, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8482
8508
|
_remove_tags(id: string | LineItem, triggerValue: string, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
@@ -9587,6 +9613,11 @@ interface Order extends Resource {
|
|
9587
9613
|
* @example ```"john@example.com"```
|
9588
9614
|
*/
|
9589
9615
|
customer_email?: string | null;
|
9616
|
+
/**
|
9617
|
+
* The type of the associated customer. One of 'new', or 'returning'.
|
9618
|
+
* @example ```"returning"```
|
9619
|
+
*/
|
9620
|
+
customer_type?: 'new' | 'returning' | null;
|
9590
9621
|
/**
|
9591
9622
|
* The preferred language code (ISO 639-1) to be used when communicating with the customer. This can be useful when sending the order to 3rd party marketing tools and CRMs. If the language is supported, the hosted checkout will be localized accordingly.
|
9592
9623
|
* @example ```"it"```
|
@@ -11335,7 +11366,7 @@ type ShippingMethodRel$2 = ResourceRel & {
|
|
11335
11366
|
type TagRel$2 = ResourceRel & {
|
11336
11367
|
type: TagType;
|
11337
11368
|
};
|
11338
|
-
type ShipmentSort = Pick<Shipment, 'id' | 'number' | 'status' | 'cost_amount_cents' | 'get_rates_started_at' | 'get_rates_completed_at' | 'purchase_started_at' | 'purchase_completed_at' | 'purchase_failed_at' | 'on_hold_at' | 'picking_at' | 'packing_at' | 'ready_to_ship_at' | 'shipped_at'> & ResourceSort;
|
11369
|
+
type ShipmentSort = Pick<Shipment, 'id' | 'number' | 'status' | 'cost_amount_cents' | 'get_rates_started_at' | 'get_rates_completed_at' | 'purchase_started_at' | 'purchase_completed_at' | 'purchase_failed_at' | 'on_hold_at' | 'picking_at' | 'packing_at' | 'ready_to_ship_at' | 'shipped_at' | 'delivered_at'> & ResourceSort;
|
11339
11370
|
interface Shipment extends Resource {
|
11340
11371
|
readonly type: ShipmentType;
|
11341
11372
|
/**
|
@@ -11448,6 +11479,11 @@ interface Shipment extends Resource {
|
|
11448
11479
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
11449
11480
|
*/
|
11450
11481
|
shipped_at?: string | null;
|
11482
|
+
/**
|
11483
|
+
* Time at which the shipment was delivered.
|
11484
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
11485
|
+
*/
|
11486
|
+
delivered_at?: string | null;
|
11451
11487
|
order?: Order | null;
|
11452
11488
|
shipping_category?: ShippingCategory | null;
|
11453
11489
|
inventory_stock_location?: InventoryStockLocation | null;
|
@@ -12045,6 +12081,11 @@ interface Sku extends Resource {
|
|
12045
12081
|
* Indicates if the SKU doesn't track the stock inventory.
|
12046
12082
|
*/
|
12047
12083
|
do_not_track?: boolean | null;
|
12084
|
+
/**
|
12085
|
+
* Aggregated information about the SKU's inventory. Returned only when retrieving a single SKU.
|
12086
|
+
* @example ```{"available":true,"quantity":10,"levels":[{"quantity":4,"delivery_lead_times":[{"shipping_method":{"name":"Standard Shipping","reference":null,"price_amount_cents":700,"free_over_amount_cents":9900,"formatted_price_amount":"€7,00","formatted_free_over_amount":"€99,00"},"min":{"hours":72,"days":3},"max":{"hours":120,"days":5}},{"shipping_method":{"name":"Express Delivery","reference":null,"price_amount_cents":1200,"free_over_amount_cents":null,"formatted_price_amount":"€12,00","formatted_free_over_amount":null},"min":{"hours":48,"days":2},"max":{"hours":72,"days":3}}]},{"quantity":6,"delivery_lead_times":[{"shipping_method":{"name":"Standard Shipping","reference":null,"price_amount_cents":700,"free_over_amount_cents":9900,"formatted_price_amount":"€7,00","formatted_free_over_amount":"€99,00"},"min":{"hours":96,"days":4},"max":{"hours":144,"days":6}},{"shipping_method":{"name":"Express Delivery","reference":null,"price_amount_cents":1200,"free_over_amount_cents":null,"formatted_price_amount":"€12,00","formatted_free_over_amount":null},"min":{"hours":72,"days":3},"max":{"hours":96,"days":4}}]}]}```
|
12087
|
+
*/
|
12088
|
+
inventory?: Record<string, any> | null;
|
12048
12089
|
/**
|
12049
12090
|
* The custom_claim attached to the current JWT (if any).
|
12050
12091
|
* @example ```{}```
|
@@ -12515,11 +12556,26 @@ interface Price extends Resource {
|
|
12515
12556
|
* @example ```"€130,00"```
|
12516
12557
|
*/
|
12517
12558
|
formatted_compare_at_amount?: string | null;
|
12559
|
+
/**
|
12560
|
+
* The rule outcomes.
|
12561
|
+
* @example ```[]```
|
12562
|
+
*/
|
12563
|
+
rule_outcomes?: Record<string, any> | null;
|
12518
12564
|
/**
|
12519
12565
|
* Time at which the resource was processed by API.
|
12520
12566
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
12521
12567
|
*/
|
12522
12568
|
processed_at?: string | null;
|
12569
|
+
/**
|
12570
|
+
* The rules (using Rules Engine) to be applied.
|
12571
|
+
* @example ```{}```
|
12572
|
+
*/
|
12573
|
+
rules?: Record<string, any> | null;
|
12574
|
+
/**
|
12575
|
+
* The payload used to evaluate the rules.
|
12576
|
+
* @example ```{}```
|
12577
|
+
*/
|
12578
|
+
resource_payload?: Record<string, any> | null;
|
12523
12579
|
/**
|
12524
12580
|
* The custom_claim attached to the current JWT (if any).
|
12525
12581
|
* @example ```{}```
|
@@ -12768,6 +12824,21 @@ interface PriceList extends Resource {
|
|
12768
12824
|
* @example ```true```
|
12769
12825
|
*/
|
12770
12826
|
tax_included?: boolean | null;
|
12827
|
+
/**
|
12828
|
+
* The rule outcomes.
|
12829
|
+
* @example ```[]```
|
12830
|
+
*/
|
12831
|
+
rule_outcomes?: Record<string, any> | null;
|
12832
|
+
/**
|
12833
|
+
* The rules (using Rules Engine) to be applied.
|
12834
|
+
* @example ```{}```
|
12835
|
+
*/
|
12836
|
+
rules?: Record<string, any> | null;
|
12837
|
+
/**
|
12838
|
+
* The payload used to evaluate the rules.
|
12839
|
+
* @example ```{}```
|
12840
|
+
*/
|
12841
|
+
resource_payload?: Record<string, any> | null;
|
12771
12842
|
prices?: Price[] | null;
|
12772
12843
|
price_list_schedulers?: PriceListScheduler[] | null;
|
12773
12844
|
attachments?: Attachment[] | null;
|
@@ -16264,6 +16335,11 @@ interface Organization extends Resource {
|
|
16264
16335
|
* @example ```5000```
|
16265
16336
|
*/
|
16266
16337
|
api_max_regex_length?: number | null;
|
16338
|
+
/**
|
16339
|
+
* Indicates if AVS checking will be enforced during payment workflow by passing specific attributes, default is true.
|
16340
|
+
* @example ```true```
|
16341
|
+
*/
|
16342
|
+
addresses_avs_check?: boolean | null;
|
16267
16343
|
/**
|
16268
16344
|
* Indicates if the phone attribute is required for addresses, default is true.
|
16269
16345
|
* @example ```true```
|
@@ -16315,6 +16391,10 @@ interface Organization extends Resource {
|
|
16315
16391
|
* @example ```true```
|
16316
16392
|
*/
|
16317
16393
|
orders_invalid_gift_card_errors?: boolean | null;
|
16394
|
+
/**
|
16395
|
+
* Enables the validation of the generated stock line items and stock transfers before placing the order, default is false.
|
16396
|
+
*/
|
16397
|
+
orders_validate_shipping_stock?: boolean | null;
|
16318
16398
|
/**
|
16319
16399
|
* The maximum number of SKUs allowed for bundles, default is 10.
|
16320
16400
|
* @example ```10```
|
@@ -16428,6 +16508,11 @@ interface Organization extends Resource {
|
|
16428
16508
|
* Enables raising of API errors in case of external promotion failure, default is false.
|
16429
16509
|
*/
|
16430
16510
|
external_promotions_errors?: boolean | null;
|
16511
|
+
/**
|
16512
|
+
* Enables raising of API errors in case of external price failure, default is true.
|
16513
|
+
* @example ```true```
|
16514
|
+
*/
|
16515
|
+
external_prices_errors?: boolean | null;
|
16431
16516
|
event_stores?: EventStore[] | null;
|
16432
16517
|
}
|
16433
16518
|
declare class Organizations extends ApiSingleton<Organization> {
|
@@ -6255,11 +6255,26 @@ interface FlexPromotion extends Resource {
|
|
6255
6255
|
* @example ```"pending"```
|
6256
6256
|
*/
|
6257
6257
|
status?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null;
|
6258
|
+
/**
|
6259
|
+
* The discount rule to be applied.
|
6260
|
+
* @example ```{}```
|
6261
|
+
*/
|
6262
|
+
rules: Record<string, any>;
|
6263
|
+
/**
|
6264
|
+
* The rule outcomes.
|
6265
|
+
* @example ```[]```
|
6266
|
+
*/
|
6267
|
+
rule_outcomes?: Record<string, any> | null;
|
6258
6268
|
/**
|
6259
6269
|
* Time at which this resource was disabled.
|
6260
6270
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
6261
6271
|
*/
|
6262
6272
|
disabled_at?: string | null;
|
6273
|
+
/**
|
6274
|
+
* The payload used to evaluate the rules.
|
6275
|
+
* @example ```{}```
|
6276
|
+
*/
|
6277
|
+
resource_payload?: Record<string, any> | null;
|
6263
6278
|
coupon_codes_promotion_rule?: CouponCodesPromotionRule | null;
|
6264
6279
|
coupons?: Coupon[] | null;
|
6265
6280
|
attachments?: Attachment[] | null;
|
@@ -8355,6 +8370,11 @@ interface LineItemCreate extends ResourceCreate {
|
|
8355
8370
|
* @example ```true```
|
8356
8371
|
*/
|
8357
8372
|
_reserve_stock?: boolean | null;
|
8373
|
+
/**
|
8374
|
+
* Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.
|
8375
|
+
* @example ```true```
|
8376
|
+
*/
|
8377
|
+
_reset_restocked_quantity?: boolean | null;
|
8358
8378
|
/**
|
8359
8379
|
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.
|
8360
8380
|
* @example ```10000```
|
@@ -8415,6 +8435,11 @@ interface LineItemUpdate extends ResourceUpdate {
|
|
8415
8435
|
* @example ```true```
|
8416
8436
|
*/
|
8417
8437
|
_reserve_stock?: boolean | null;
|
8438
|
+
/**
|
8439
|
+
* Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.
|
8440
|
+
* @example ```true```
|
8441
|
+
*/
|
8442
|
+
_reset_restocked_quantity?: boolean | null;
|
8418
8443
|
/**
|
8419
8444
|
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.
|
8420
8445
|
* @example ```10000```
|
@@ -8477,6 +8502,7 @@ declare class LineItems extends ApiResource<LineItem> {
|
|
8477
8502
|
event_stores(lineItemId: string | LineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
8478
8503
|
_external_price(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8479
8504
|
_reserve_stock(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8505
|
+
_reset_restocked_quantity(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8480
8506
|
_reset_circuit(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8481
8507
|
_add_tags(id: string | LineItem, triggerValue: string, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8482
8508
|
_remove_tags(id: string | LineItem, triggerValue: string, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
@@ -9587,6 +9613,11 @@ interface Order extends Resource {
|
|
9587
9613
|
* @example ```"john@example.com"```
|
9588
9614
|
*/
|
9589
9615
|
customer_email?: string | null;
|
9616
|
+
/**
|
9617
|
+
* The type of the associated customer. One of 'new', or 'returning'.
|
9618
|
+
* @example ```"returning"```
|
9619
|
+
*/
|
9620
|
+
customer_type?: 'new' | 'returning' | null;
|
9590
9621
|
/**
|
9591
9622
|
* The preferred language code (ISO 639-1) to be used when communicating with the customer. This can be useful when sending the order to 3rd party marketing tools and CRMs. If the language is supported, the hosted checkout will be localized accordingly.
|
9592
9623
|
* @example ```"it"```
|
@@ -11335,7 +11366,7 @@ type ShippingMethodRel$2 = ResourceRel & {
|
|
11335
11366
|
type TagRel$2 = ResourceRel & {
|
11336
11367
|
type: TagType;
|
11337
11368
|
};
|
11338
|
-
type ShipmentSort = Pick<Shipment, 'id' | 'number' | 'status' | 'cost_amount_cents' | 'get_rates_started_at' | 'get_rates_completed_at' | 'purchase_started_at' | 'purchase_completed_at' | 'purchase_failed_at' | 'on_hold_at' | 'picking_at' | 'packing_at' | 'ready_to_ship_at' | 'shipped_at'> & ResourceSort;
|
11369
|
+
type ShipmentSort = Pick<Shipment, 'id' | 'number' | 'status' | 'cost_amount_cents' | 'get_rates_started_at' | 'get_rates_completed_at' | 'purchase_started_at' | 'purchase_completed_at' | 'purchase_failed_at' | 'on_hold_at' | 'picking_at' | 'packing_at' | 'ready_to_ship_at' | 'shipped_at' | 'delivered_at'> & ResourceSort;
|
11339
11370
|
interface Shipment extends Resource {
|
11340
11371
|
readonly type: ShipmentType;
|
11341
11372
|
/**
|
@@ -11448,6 +11479,11 @@ interface Shipment extends Resource {
|
|
11448
11479
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
11449
11480
|
*/
|
11450
11481
|
shipped_at?: string | null;
|
11482
|
+
/**
|
11483
|
+
* Time at which the shipment was delivered.
|
11484
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
11485
|
+
*/
|
11486
|
+
delivered_at?: string | null;
|
11451
11487
|
order?: Order | null;
|
11452
11488
|
shipping_category?: ShippingCategory | null;
|
11453
11489
|
inventory_stock_location?: InventoryStockLocation | null;
|
@@ -12045,6 +12081,11 @@ interface Sku extends Resource {
|
|
12045
12081
|
* Indicates if the SKU doesn't track the stock inventory.
|
12046
12082
|
*/
|
12047
12083
|
do_not_track?: boolean | null;
|
12084
|
+
/**
|
12085
|
+
* Aggregated information about the SKU's inventory. Returned only when retrieving a single SKU.
|
12086
|
+
* @example ```{"available":true,"quantity":10,"levels":[{"quantity":4,"delivery_lead_times":[{"shipping_method":{"name":"Standard Shipping","reference":null,"price_amount_cents":700,"free_over_amount_cents":9900,"formatted_price_amount":"€7,00","formatted_free_over_amount":"€99,00"},"min":{"hours":72,"days":3},"max":{"hours":120,"days":5}},{"shipping_method":{"name":"Express Delivery","reference":null,"price_amount_cents":1200,"free_over_amount_cents":null,"formatted_price_amount":"€12,00","formatted_free_over_amount":null},"min":{"hours":48,"days":2},"max":{"hours":72,"days":3}}]},{"quantity":6,"delivery_lead_times":[{"shipping_method":{"name":"Standard Shipping","reference":null,"price_amount_cents":700,"free_over_amount_cents":9900,"formatted_price_amount":"€7,00","formatted_free_over_amount":"€99,00"},"min":{"hours":96,"days":4},"max":{"hours":144,"days":6}},{"shipping_method":{"name":"Express Delivery","reference":null,"price_amount_cents":1200,"free_over_amount_cents":null,"formatted_price_amount":"€12,00","formatted_free_over_amount":null},"min":{"hours":72,"days":3},"max":{"hours":96,"days":4}}]}]}```
|
12087
|
+
*/
|
12088
|
+
inventory?: Record<string, any> | null;
|
12048
12089
|
/**
|
12049
12090
|
* The custom_claim attached to the current JWT (if any).
|
12050
12091
|
* @example ```{}```
|
@@ -12515,11 +12556,26 @@ interface Price extends Resource {
|
|
12515
12556
|
* @example ```"€130,00"```
|
12516
12557
|
*/
|
12517
12558
|
formatted_compare_at_amount?: string | null;
|
12559
|
+
/**
|
12560
|
+
* The rule outcomes.
|
12561
|
+
* @example ```[]```
|
12562
|
+
*/
|
12563
|
+
rule_outcomes?: Record<string, any> | null;
|
12518
12564
|
/**
|
12519
12565
|
* Time at which the resource was processed by API.
|
12520
12566
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
12521
12567
|
*/
|
12522
12568
|
processed_at?: string | null;
|
12569
|
+
/**
|
12570
|
+
* The rules (using Rules Engine) to be applied.
|
12571
|
+
* @example ```{}```
|
12572
|
+
*/
|
12573
|
+
rules?: Record<string, any> | null;
|
12574
|
+
/**
|
12575
|
+
* The payload used to evaluate the rules.
|
12576
|
+
* @example ```{}```
|
12577
|
+
*/
|
12578
|
+
resource_payload?: Record<string, any> | null;
|
12523
12579
|
/**
|
12524
12580
|
* The custom_claim attached to the current JWT (if any).
|
12525
12581
|
* @example ```{}```
|
@@ -12768,6 +12824,21 @@ interface PriceList extends Resource {
|
|
12768
12824
|
* @example ```true```
|
12769
12825
|
*/
|
12770
12826
|
tax_included?: boolean | null;
|
12827
|
+
/**
|
12828
|
+
* The rule outcomes.
|
12829
|
+
* @example ```[]```
|
12830
|
+
*/
|
12831
|
+
rule_outcomes?: Record<string, any> | null;
|
12832
|
+
/**
|
12833
|
+
* The rules (using Rules Engine) to be applied.
|
12834
|
+
* @example ```{}```
|
12835
|
+
*/
|
12836
|
+
rules?: Record<string, any> | null;
|
12837
|
+
/**
|
12838
|
+
* The payload used to evaluate the rules.
|
12839
|
+
* @example ```{}```
|
12840
|
+
*/
|
12841
|
+
resource_payload?: Record<string, any> | null;
|
12771
12842
|
prices?: Price[] | null;
|
12772
12843
|
price_list_schedulers?: PriceListScheduler[] | null;
|
12773
12844
|
attachments?: Attachment[] | null;
|
@@ -16264,6 +16335,11 @@ interface Organization extends Resource {
|
|
16264
16335
|
* @example ```5000```
|
16265
16336
|
*/
|
16266
16337
|
api_max_regex_length?: number | null;
|
16338
|
+
/**
|
16339
|
+
* Indicates if AVS checking will be enforced during payment workflow by passing specific attributes, default is true.
|
16340
|
+
* @example ```true```
|
16341
|
+
*/
|
16342
|
+
addresses_avs_check?: boolean | null;
|
16267
16343
|
/**
|
16268
16344
|
* Indicates if the phone attribute is required for addresses, default is true.
|
16269
16345
|
* @example ```true```
|
@@ -16315,6 +16391,10 @@ interface Organization extends Resource {
|
|
16315
16391
|
* @example ```true```
|
16316
16392
|
*/
|
16317
16393
|
orders_invalid_gift_card_errors?: boolean | null;
|
16394
|
+
/**
|
16395
|
+
* Enables the validation of the generated stock line items and stock transfers before placing the order, default is false.
|
16396
|
+
*/
|
16397
|
+
orders_validate_shipping_stock?: boolean | null;
|
16318
16398
|
/**
|
16319
16399
|
* The maximum number of SKUs allowed for bundles, default is 10.
|
16320
16400
|
* @example ```10```
|
@@ -16428,6 +16508,11 @@ interface Organization extends Resource {
|
|
16428
16508
|
* Enables raising of API errors in case of external promotion failure, default is false.
|
16429
16509
|
*/
|
16430
16510
|
external_promotions_errors?: boolean | null;
|
16511
|
+
/**
|
16512
|
+
* Enables raising of API errors in case of external price failure, default is true.
|
16513
|
+
* @example ```true```
|
16514
|
+
*/
|
16515
|
+
external_prices_errors?: boolean | null;
|
16431
16516
|
event_stores?: EventStore[] | null;
|
16432
16517
|
}
|
16433
16518
|
declare class Organizations extends ApiSingleton<Organization> {
|
package/lib/api.cjs
CHANGED
@@ -30,18 +30,18 @@ var chunkDQWWKXLR_cjs = require('./chunk-DQWWKXLR.cjs');
|
|
30
30
|
var chunkZ66CWIH5_cjs = require('./chunk-Z66CWIH5.cjs');
|
31
31
|
var chunkYX4ZQEON_cjs = require('./chunk-YX4ZQEON.cjs');
|
32
32
|
var chunk2AIPAXOH_cjs = require('./chunk-2AIPAXOH.cjs');
|
33
|
-
var
|
33
|
+
var chunkF46RW7IU_cjs = require('./chunk-F46RW7IU.cjs');
|
34
34
|
var chunkKDDMRBB6_cjs = require('./chunk-KDDMRBB6.cjs');
|
35
35
|
var chunkA2SZPZSG_cjs = require('./chunk-A2SZPZSG.cjs');
|
36
36
|
var chunkBHXCVURA_cjs = require('./chunk-BHXCVURA.cjs');
|
37
37
|
var chunk6QOS6B5F_cjs = require('./chunk-6QOS6B5F.cjs');
|
38
38
|
var chunk7SJAVPZH_cjs = require('./chunk-7SJAVPZH.cjs');
|
39
|
-
var
|
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');
|
42
42
|
var chunkFIM76CMU_cjs = require('./chunk-FIM76CMU.cjs');
|
43
43
|
var chunkOH5533KN_cjs = require('./chunk-OH5533KN.cjs');
|
44
|
-
var
|
44
|
+
var chunk3CBCQQBN_cjs = require('./chunk-3CBCQQBN.cjs');
|
45
45
|
var chunkZLFWYCCG_cjs = require('./chunk-ZLFWYCCG.cjs');
|
46
46
|
var chunkEW5ZFLK6_cjs = require('./chunk-EW5ZFLK6.cjs');
|
47
47
|
var chunk7P3ZTIQX_cjs = require('./chunk-7P3ZTIQX.cjs');
|
@@ -54,10 +54,10 @@ var chunkCMUUBOZK_cjs = require('./chunk-CMUUBOZK.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');
|
57
|
-
var
|
57
|
+
var chunkZPEK2ZCL_cjs = require('./chunk-ZPEK2ZCL.cjs');
|
58
58
|
var chunkF6WABN7F_cjs = require('./chunk-F6WABN7F.cjs');
|
59
|
-
var
|
60
|
-
var
|
59
|
+
var chunkLIIFLHEH_cjs = require('./chunk-LIIFLHEH.cjs');
|
60
|
+
var chunkYPGYBULL_cjs = require('./chunk-YPGYBULL.cjs');
|
61
61
|
var chunkO3NWYOPV_cjs = require('./chunk-O3NWYOPV.cjs');
|
62
62
|
var chunkFMGDNZQ6_cjs = require('./chunk-FMGDNZQ6.cjs');
|
63
63
|
var chunk6STKOQR7_cjs = require('./chunk-6STKOQR7.cjs');
|
@@ -76,7 +76,7 @@ var chunkQYVJGMYT_cjs = require('./chunk-QYVJGMYT.cjs');
|
|
76
76
|
var chunkA76SFMAB_cjs = require('./chunk-A76SFMAB.cjs');
|
77
77
|
var chunkJYSIXEKG_cjs = require('./chunk-JYSIXEKG.cjs');
|
78
78
|
var chunkTZAGUXNS_cjs = require('./chunk-TZAGUXNS.cjs');
|
79
|
-
var
|
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
82
|
var chunkUHKV2XBV_cjs = require('./chunk-UHKV2XBV.cjs');
|
@@ -93,7 +93,7 @@ var chunk7AOVIJPK_cjs = require('./chunk-7AOVIJPK.cjs');
|
|
93
93
|
var chunkLGO42DAS_cjs = require('./chunk-LGO42DAS.cjs');
|
94
94
|
var chunkW6KL6Q4Z_cjs = require('./chunk-W6KL6Q4Z.cjs');
|
95
95
|
var chunkRLZV6AKT_cjs = require('./chunk-RLZV6AKT.cjs');
|
96
|
-
var
|
96
|
+
var chunkHOJUXLZD_cjs = require('./chunk-HOJUXLZD.cjs');
|
97
97
|
var chunkJRMM5QTS_cjs = require('./chunk-JRMM5QTS.cjs');
|
98
98
|
var chunkGLL264QG_cjs = require('./chunk-GLL264QG.cjs');
|
99
99
|
var chunkI56ZABWO_cjs = require('./chunk-I56ZABWO.cjs');
|
@@ -263,7 +263,7 @@ Object.defineProperty(exports, "sku_options", {
|
|
263
263
|
});
|
264
264
|
Object.defineProperty(exports, "skus", {
|
265
265
|
enumerable: true,
|
266
|
-
get: function () { return
|
266
|
+
get: function () { return chunkF46RW7IU_cjs.skus_default; }
|
267
267
|
});
|
268
268
|
Object.defineProperty(exports, "resource_errors", {
|
269
269
|
enumerable: true,
|
@@ -287,7 +287,7 @@ Object.defineProperty(exports, "satispay_payments", {
|
|
287
287
|
});
|
288
288
|
Object.defineProperty(exports, "shipments", {
|
289
289
|
enumerable: true,
|
290
|
-
get: function () { return
|
290
|
+
get: function () { return chunk2H2ODZUY_cjs.shipments_default; }
|
291
291
|
});
|
292
292
|
Object.defineProperty(exports, "shipping_categories", {
|
293
293
|
enumerable: true,
|
@@ -307,7 +307,7 @@ Object.defineProperty(exports, "price_volume_tiers", {
|
|
307
307
|
});
|
308
308
|
Object.defineProperty(exports, "prices", {
|
309
309
|
enumerable: true,
|
310
|
-
get: function () { return
|
310
|
+
get: function () { return chunk3CBCQQBN_cjs.prices_default; }
|
311
311
|
});
|
312
312
|
Object.defineProperty(exports, "promotion_rules", {
|
313
313
|
enumerable: true,
|
@@ -359,7 +359,7 @@ Object.defineProperty(exports, "price_list_schedulers", {
|
|
359
359
|
});
|
360
360
|
Object.defineProperty(exports, "price_lists", {
|
361
361
|
enumerable: true,
|
362
|
-
get: function () { return
|
362
|
+
get: function () { return chunkZPEK2ZCL_cjs.price_lists_default; }
|
363
363
|
});
|
364
364
|
Object.defineProperty(exports, "order_subscriptions", {
|
365
365
|
enumerable: true,
|
@@ -367,11 +367,11 @@ Object.defineProperty(exports, "order_subscriptions", {
|
|
367
367
|
});
|
368
368
|
Object.defineProperty(exports, "orders", {
|
369
369
|
enumerable: true,
|
370
|
-
get: function () { return
|
370
|
+
get: function () { return chunkLIIFLHEH_cjs.orders_default; }
|
371
371
|
});
|
372
372
|
Object.defineProperty(exports, "organization", {
|
373
373
|
enumerable: true,
|
374
|
-
get: function () { return
|
374
|
+
get: function () { return chunkYPGYBULL_cjs.organizations_default; }
|
375
375
|
});
|
376
376
|
Object.defineProperty(exports, "packages", {
|
377
377
|
enumerable: true,
|
@@ -447,7 +447,7 @@ Object.defineProperty(exports, "line_item_options", {
|
|
447
447
|
});
|
448
448
|
Object.defineProperty(exports, "line_items", {
|
449
449
|
enumerable: true,
|
450
|
-
get: function () { return
|
450
|
+
get: function () { return chunk4IOIA2JQ_cjs.line_items_default; }
|
451
451
|
});
|
452
452
|
Object.defineProperty(exports, "links", {
|
453
453
|
enumerable: true,
|
@@ -515,7 +515,7 @@ Object.defineProperty(exports, "fixed_price_promotions", {
|
|
515
515
|
});
|
516
516
|
Object.defineProperty(exports, "flex_promotions", {
|
517
517
|
enumerable: true,
|
518
|
-
get: function () { return
|
518
|
+
get: function () { return chunkHOJUXLZD_cjs.flex_promotions_default; }
|
519
519
|
});
|
520
520
|
Object.defineProperty(exports, "free_gift_promotions", {
|
521
521
|
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-egU4nY4x.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-LDVr5RYG.js';
|
2
2
|
import './client.js';
|
3
3
|
import './interceptor-k15jXzf0.js';
|
4
4
|
import './types.js';
|
package/lib/api.js
CHANGED
@@ -28,18 +28,18 @@ export { sku_list_items_default as sku_list_items } from './chunk-LF3CZYGK.js';
|
|
28
28
|
export { sku_list_promotion_rules_default as sku_list_promotion_rules } from './chunk-FUDBWYKD.js';
|
29
29
|
export { sku_lists_default as sku_lists } from './chunk-YZZQ7GVQ.js';
|
30
30
|
export { sku_options_default as sku_options } from './chunk-FI7BWBCX.js';
|
31
|
-
export { skus_default as skus } from './chunk-
|
31
|
+
export { skus_default as skus } from './chunk-KMWKIU65.js';
|
32
32
|
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-YPRABQMP.js';
|
36
36
|
export { satispay_payments_default as satispay_payments } from './chunk-ZXEE43XR.js';
|
37
|
-
export { shipments_default as shipments } from './chunk-
|
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';
|
40
40
|
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
|
-
export { prices_default as prices } from './chunk-
|
42
|
+
export { prices_default as prices } from './chunk-WFBWZVOK.js';
|
43
43
|
export { promotion_rules_default as promotion_rules } from './chunk-GKUFMSZL.js';
|
44
44
|
export { promotions_default as promotions } from './chunk-5ENDZCMK.js';
|
45
45
|
export { recurring_order_copies_default as recurring_order_copies } from './chunk-MOKBZVUU.js';
|
@@ -52,10 +52,10 @@ export { percentage_discount_promotions_default as percentage_discount_promotion
|
|
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';
|
55
|
-
export { price_lists_default as price_lists } from './chunk-
|
55
|
+
export { price_lists_default as price_lists } from './chunk-OPPZLGKC.js';
|
56
56
|
export { order_subscriptions_default as order_subscriptions } from './chunk-KAZKQXUO.js';
|
57
|
-
export { orders_default as orders } from './chunk-
|
58
|
-
export { organizations_default as organization } from './chunk-
|
57
|
+
export { orders_default as orders } from './chunk-LUS6TTEC.js';
|
58
|
+
export { organizations_default as organization } from './chunk-NQHQV4PY.js';
|
59
59
|
export { packages_default as packages } from './chunk-H5CKBXQS.js';
|
60
60
|
export { parcel_line_items_default as parcel_line_items } from './chunk-OA7RZ24N.js';
|
61
61
|
export { parcels_default as parcels } from './chunk-JAOFRM22.js';
|
@@ -74,7 +74,7 @@ export { inventory_stock_locations_default as inventory_stock_locations } from '
|
|
74
74
|
export { klarna_gateways_default as klarna_gateways } from './chunk-DEYOBMM5.js';
|
75
75
|
export { klarna_payments_default as klarna_payments } from './chunk-I3ZMOPMJ.js';
|
76
76
|
export { line_item_options_default as line_item_options } from './chunk-JPKZBEAY.js';
|
77
|
-
export { line_items_default as line_items } from './chunk-
|
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
80
|
export { free_shipping_promotions_default as free_shipping_promotions } from './chunk-ZDTIKZYR.js';
|
@@ -91,7 +91,7 @@ export { external_promotions_default as external_promotions } from './chunk-CYEV
|
|
91
91
|
export { external_tax_calculators_default as external_tax_calculators } from './chunk-EFU44R7O.js';
|
92
92
|
export { fixed_amount_promotions_default as fixed_amount_promotions } from './chunk-NODJ4LG6.js';
|
93
93
|
export { fixed_price_promotions_default as fixed_price_promotions } from './chunk-HXAWT7GZ.js';
|
94
|
-
export { flex_promotions_default as flex_promotions } from './chunk-
|
94
|
+
export { flex_promotions_default as flex_promotions } from './chunk-BNWM637R.js';
|
95
95
|
export { free_gift_promotions_default as free_gift_promotions } from './chunk-VDMJ7RC4.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';
|