@commercelayer/sdk 7.0.0-beta.11 → 7.0.0-beta.13
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/README.md +48 -35
- package/lib/{api-BYcswOJ0.d.cts → api-Bq9emZm-.d.cts} +553 -43
- package/lib/{api-Cknm0QL_.d.ts → api-C5qyxFpD.d.ts} +553 -43
- package/lib/api.cjs +134 -132
- package/lib/api.d.cts +2 -2
- package/lib/api.d.ts +2 -2
- package/lib/api.js +134 -132
- package/lib/chunk-AQ5VUG5P.js +12 -0
- package/lib/chunk-JE77HYXB.cjs +17 -0
- package/lib/client.cjs +36 -39
- package/lib/client.d.cts +1 -1
- package/lib/client.d.ts +1 -1
- package/lib/client.js +7 -10
- package/lib/commercelayer.cjs +30 -705
- package/lib/commercelayer.d.cts +9 -137
- package/lib/commercelayer.d.ts +9 -137
- package/lib/commercelayer.js +29 -684
- package/lib/common.cjs +1 -0
- package/lib/common.d.cts +2 -2
- package/lib/common.d.ts +2 -2
- package/lib/common.js +1 -0
- package/lib/config.cjs +2 -0
- package/lib/config.d.cts +1 -1
- package/lib/config.d.ts +1 -1
- package/lib/config.js +2 -0
- package/lib/debug.cjs +2 -0
- package/lib/debug.js +2 -0
- package/lib/error.cjs +9 -12
- package/lib/error.js +1 -4
- package/lib/fetch.cjs +14 -23
- package/lib/fetch.d.cts +1 -1
- package/lib/fetch.d.ts +1 -1
- package/lib/fetch.js +1 -10
- package/lib/index.cjs +4 -3
- package/lib/index.d.cts +2 -3
- package/lib/index.d.ts +2 -3
- package/lib/index.js +2 -1
- package/lib/{interceptor-5MISI1yn.d.cts → interceptor-D65i25Y7.d.cts} +1 -1
- package/lib/{interceptor-5MISI1yn.d.ts → interceptor-D65i25Y7.d.ts} +1 -1
- package/lib/interceptor.d.cts +1 -1
- package/lib/interceptor.d.ts +1 -1
- package/lib/jsonapi.cjs +1 -0
- package/lib/jsonapi.d.cts +2 -2
- package/lib/jsonapi.d.ts +2 -2
- package/lib/jsonapi.js +1 -0
- package/lib/model.d.cts +2 -2
- package/lib/model.d.ts +2 -2
- package/lib/query.cjs +1 -0
- package/lib/query.d.cts +2 -2
- package/lib/query.d.ts +2 -2
- package/lib/query.js +1 -0
- package/lib/resource.cjs +25 -34
- package/lib/resource.d.cts +2 -2
- package/lib/resource.d.ts +2 -2
- package/lib/resource.js +10 -19
- package/lib/resources/addresses.cjs +10 -5
- package/lib/resources/addresses.d.cts +2 -2
- package/lib/resources/addresses.d.ts +2 -2
- package/lib/resources/addresses.js +9 -4
- package/lib/resources/adjustments.cjs +4 -5
- package/lib/resources/adjustments.d.cts +2 -2
- package/lib/resources/adjustments.d.ts +2 -2
- package/lib/resources/adjustments.js +3 -4
- package/lib/resources/adyen_gateways.cjs +4 -5
- package/lib/resources/adyen_gateways.d.cts +2 -2
- package/lib/resources/adyen_gateways.d.ts +2 -2
- package/lib/resources/adyen_gateways.js +3 -4
- package/lib/resources/adyen_payments.cjs +4 -5
- package/lib/resources/adyen_payments.d.cts +2 -2
- package/lib/resources/adyen_payments.d.ts +2 -2
- package/lib/resources/adyen_payments.js +3 -4
- package/lib/resources/applications.cjs +4 -5
- package/lib/resources/applications.d.cts +2 -2
- package/lib/resources/applications.d.ts +2 -2
- package/lib/resources/applications.js +3 -4
- package/lib/resources/attachments.cjs +4 -5
- package/lib/resources/attachments.d.cts +2 -2
- package/lib/resources/attachments.d.ts +2 -2
- package/lib/resources/attachments.js +3 -4
- package/lib/resources/authorizations.cjs +4 -5
- package/lib/resources/authorizations.d.cts +2 -2
- package/lib/resources/authorizations.d.ts +2 -2
- package/lib/resources/authorizations.js +3 -4
- package/lib/resources/avalara_accounts.cjs +4 -5
- package/lib/resources/avalara_accounts.d.cts +2 -2
- package/lib/resources/avalara_accounts.d.ts +2 -2
- package/lib/resources/avalara_accounts.js +3 -4
- package/lib/resources/axerve_gateways.cjs +4 -5
- package/lib/resources/axerve_gateways.d.cts +2 -2
- package/lib/resources/axerve_gateways.d.ts +2 -2
- package/lib/resources/axerve_gateways.js +3 -4
- package/lib/resources/axerve_payments.cjs +4 -5
- package/lib/resources/axerve_payments.d.cts +2 -2
- package/lib/resources/axerve_payments.d.ts +2 -2
- package/lib/resources/axerve_payments.js +3 -4
- package/lib/resources/bing_geocoders.cjs +4 -5
- package/lib/resources/bing_geocoders.d.cts +2 -2
- package/lib/resources/bing_geocoders.d.ts +2 -2
- package/lib/resources/bing_geocoders.js +3 -4
- package/lib/resources/braintree_gateways.cjs +4 -5
- package/lib/resources/braintree_gateways.d.cts +2 -2
- package/lib/resources/braintree_gateways.d.ts +2 -2
- package/lib/resources/braintree_gateways.js +3 -4
- package/lib/resources/braintree_payments.cjs +4 -5
- package/lib/resources/braintree_payments.d.cts +2 -2
- package/lib/resources/braintree_payments.d.ts +2 -2
- package/lib/resources/braintree_payments.js +3 -4
- package/lib/resources/bundles.cjs +10 -5
- package/lib/resources/bundles.d.cts +2 -2
- package/lib/resources/bundles.d.ts +2 -2
- package/lib/resources/bundles.js +9 -4
- package/lib/resources/buy_x_pay_y_promotions.cjs +10 -5
- package/lib/resources/buy_x_pay_y_promotions.d.cts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.d.ts +2 -2
- package/lib/resources/buy_x_pay_y_promotions.js +9 -4
- package/lib/resources/captures.cjs +4 -5
- package/lib/resources/captures.d.cts +2 -2
- package/lib/resources/captures.d.ts +2 -2
- package/lib/resources/captures.js +3 -4
- package/lib/resources/carrier_accounts.cjs +4 -5
- package/lib/resources/carrier_accounts.d.cts +2 -2
- package/lib/resources/carrier_accounts.d.ts +2 -2
- package/lib/resources/carrier_accounts.js +3 -4
- package/lib/resources/checkout_com_gateways.cjs +4 -5
- package/lib/resources/checkout_com_gateways.d.cts +2 -2
- package/lib/resources/checkout_com_gateways.d.ts +2 -2
- package/lib/resources/checkout_com_gateways.js +3 -4
- package/lib/resources/checkout_com_payments.cjs +4 -5
- package/lib/resources/checkout_com_payments.d.cts +2 -2
- package/lib/resources/checkout_com_payments.d.ts +2 -2
- package/lib/resources/checkout_com_payments.js +3 -4
- package/lib/resources/cleanups.cjs +4 -5
- package/lib/resources/cleanups.d.cts +2 -2
- package/lib/resources/cleanups.d.ts +2 -2
- package/lib/resources/cleanups.js +3 -4
- package/lib/resources/coupon_codes_promotion_rules.cjs +4 -5
- package/lib/resources/coupon_codes_promotion_rules.d.cts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.d.ts +2 -2
- package/lib/resources/coupon_codes_promotion_rules.js +3 -4
- package/lib/resources/coupon_recipients.cjs +4 -5
- package/lib/resources/coupon_recipients.d.cts +2 -2
- package/lib/resources/coupon_recipients.d.ts +2 -2
- package/lib/resources/coupon_recipients.js +3 -4
- package/lib/resources/coupons.cjs +10 -5
- package/lib/resources/coupons.d.cts +2 -2
- package/lib/resources/coupons.d.ts +2 -2
- package/lib/resources/coupons.js +9 -4
- package/lib/resources/custom_promotion_rules.cjs +4 -5
- package/lib/resources/custom_promotion_rules.d.cts +2 -2
- package/lib/resources/custom_promotion_rules.d.ts +2 -2
- package/lib/resources/custom_promotion_rules.js +3 -4
- package/lib/resources/customer_addresses.cjs +4 -5
- package/lib/resources/customer_addresses.d.cts +2 -2
- package/lib/resources/customer_addresses.d.ts +2 -2
- package/lib/resources/customer_addresses.js +3 -4
- package/lib/resources/customer_groups.cjs +4 -5
- package/lib/resources/customer_groups.d.cts +2 -2
- package/lib/resources/customer_groups.d.ts +2 -2
- package/lib/resources/customer_groups.js +3 -4
- package/lib/resources/customer_password_resets.cjs +4 -5
- package/lib/resources/customer_password_resets.d.cts +2 -2
- package/lib/resources/customer_password_resets.d.ts +2 -2
- package/lib/resources/customer_password_resets.js +3 -4
- package/lib/resources/customer_payment_sources.cjs +4 -5
- package/lib/resources/customer_payment_sources.d.cts +2 -2
- package/lib/resources/customer_payment_sources.d.ts +2 -2
- package/lib/resources/customer_payment_sources.js +3 -4
- package/lib/resources/customer_subscriptions.cjs +4 -5
- package/lib/resources/customer_subscriptions.d.cts +2 -2
- package/lib/resources/customer_subscriptions.d.ts +2 -2
- package/lib/resources/customer_subscriptions.js +3 -4
- package/lib/resources/customers.cjs +10 -5
- package/lib/resources/customers.d.cts +2 -2
- package/lib/resources/customers.d.ts +2 -2
- package/lib/resources/customers.js +9 -4
- package/lib/resources/delivery_lead_times.cjs +4 -5
- package/lib/resources/delivery_lead_times.d.cts +2 -2
- package/lib/resources/delivery_lead_times.d.ts +2 -2
- package/lib/resources/delivery_lead_times.js +3 -4
- package/lib/resources/discount_engine_items.cjs +4 -5
- package/lib/resources/discount_engine_items.d.cts +2 -2
- package/lib/resources/discount_engine_items.d.ts +2 -2
- package/lib/resources/discount_engine_items.js +3 -4
- package/lib/resources/discount_engines.cjs +4 -5
- package/lib/resources/discount_engines.d.cts +2 -2
- package/lib/resources/discount_engines.d.ts +2 -2
- package/lib/resources/discount_engines.js +3 -4
- package/lib/resources/easypost_pickups.cjs +4 -5
- package/lib/resources/easypost_pickups.d.cts +2 -2
- package/lib/resources/easypost_pickups.d.ts +2 -2
- package/lib/resources/easypost_pickups.js +3 -4
- package/lib/resources/event_callbacks.cjs +4 -5
- package/lib/resources/event_callbacks.d.cts +2 -2
- package/lib/resources/event_callbacks.d.ts +2 -2
- package/lib/resources/event_callbacks.js +3 -4
- package/lib/resources/events.cjs +4 -5
- package/lib/resources/events.d.cts +2 -2
- package/lib/resources/events.d.ts +2 -2
- package/lib/resources/events.js +3 -4
- package/lib/resources/exports.cjs +4 -5
- package/lib/resources/exports.d.cts +2 -2
- package/lib/resources/exports.d.ts +2 -2
- package/lib/resources/exports.js +3 -4
- package/lib/resources/external_gateways.cjs +4 -5
- package/lib/resources/external_gateways.d.cts +2 -2
- package/lib/resources/external_gateways.d.ts +2 -2
- package/lib/resources/external_gateways.js +3 -4
- package/lib/resources/external_payments.cjs +4 -5
- package/lib/resources/external_payments.d.cts +2 -2
- package/lib/resources/external_payments.d.ts +2 -2
- package/lib/resources/external_payments.js +3 -4
- package/lib/resources/external_promotions.cjs +10 -5
- package/lib/resources/external_promotions.d.cts +2 -2
- package/lib/resources/external_promotions.d.ts +2 -2
- package/lib/resources/external_promotions.js +9 -4
- package/lib/resources/external_tax_calculators.cjs +4 -5
- package/lib/resources/external_tax_calculators.d.cts +2 -2
- package/lib/resources/external_tax_calculators.d.ts +2 -2
- package/lib/resources/external_tax_calculators.js +3 -4
- package/lib/resources/fixed_amount_promotions.cjs +10 -5
- package/lib/resources/fixed_amount_promotions.d.cts +2 -2
- package/lib/resources/fixed_amount_promotions.d.ts +2 -2
- package/lib/resources/fixed_amount_promotions.js +9 -4
- package/lib/resources/fixed_price_promotions.cjs +10 -5
- package/lib/resources/fixed_price_promotions.d.cts +2 -2
- package/lib/resources/fixed_price_promotions.d.ts +2 -2
- package/lib/resources/fixed_price_promotions.js +9 -4
- package/lib/resources/flex_promotions.cjs +10 -5
- package/lib/resources/flex_promotions.d.cts +2 -2
- package/lib/resources/flex_promotions.d.ts +2 -2
- package/lib/resources/flex_promotions.js +9 -4
- package/lib/resources/free_gift_promotions.cjs +10 -5
- package/lib/resources/free_gift_promotions.d.cts +2 -2
- package/lib/resources/free_gift_promotions.d.ts +2 -2
- package/lib/resources/free_gift_promotions.js +9 -4
- package/lib/resources/free_shipping_promotions.cjs +10 -5
- package/lib/resources/free_shipping_promotions.d.cts +2 -2
- package/lib/resources/free_shipping_promotions.d.ts +2 -2
- package/lib/resources/free_shipping_promotions.js +9 -4
- package/lib/resources/geocoders.cjs +4 -5
- package/lib/resources/geocoders.d.cts +2 -2
- package/lib/resources/geocoders.d.ts +2 -2
- package/lib/resources/geocoders.js +3 -4
- package/lib/resources/gift_card_recipients.cjs +4 -5
- package/lib/resources/gift_card_recipients.d.cts +2 -2
- package/lib/resources/gift_card_recipients.d.ts +2 -2
- package/lib/resources/gift_card_recipients.js +3 -4
- package/lib/resources/gift_cards.cjs +10 -5
- package/lib/resources/gift_cards.d.cts +2 -2
- package/lib/resources/gift_cards.d.ts +2 -2
- package/lib/resources/gift_cards.js +9 -4
- package/lib/resources/google_geocoders.cjs +4 -5
- package/lib/resources/google_geocoders.d.cts +2 -2
- package/lib/resources/google_geocoders.d.ts +2 -2
- package/lib/resources/google_geocoders.js +3 -4
- package/lib/resources/imports.cjs +4 -5
- package/lib/resources/imports.d.cts +2 -2
- package/lib/resources/imports.d.ts +2 -2
- package/lib/resources/imports.js +3 -4
- package/lib/resources/in_stock_subscriptions.cjs +4 -5
- package/lib/resources/in_stock_subscriptions.d.cts +2 -2
- package/lib/resources/in_stock_subscriptions.d.ts +2 -2
- package/lib/resources/in_stock_subscriptions.js +3 -4
- package/lib/resources/inventory_models.cjs +4 -5
- package/lib/resources/inventory_models.d.cts +2 -2
- package/lib/resources/inventory_models.d.ts +2 -2
- package/lib/resources/inventory_models.js +3 -4
- package/lib/resources/inventory_return_locations.cjs +4 -5
- package/lib/resources/inventory_return_locations.d.cts +2 -2
- package/lib/resources/inventory_return_locations.d.ts +2 -2
- package/lib/resources/inventory_return_locations.js +3 -4
- package/lib/resources/inventory_stock_locations.cjs +4 -5
- package/lib/resources/inventory_stock_locations.d.cts +2 -2
- package/lib/resources/inventory_stock_locations.d.ts +2 -2
- package/lib/resources/inventory_stock_locations.js +3 -4
- package/lib/resources/klarna_gateways.cjs +4 -5
- package/lib/resources/klarna_gateways.d.cts +2 -2
- package/lib/resources/klarna_gateways.d.ts +2 -2
- package/lib/resources/klarna_gateways.js +3 -4
- package/lib/resources/klarna_payments.cjs +4 -5
- package/lib/resources/klarna_payments.d.cts +2 -2
- package/lib/resources/klarna_payments.d.ts +2 -2
- package/lib/resources/klarna_payments.js +3 -4
- package/lib/resources/line_item_options.cjs +10 -5
- package/lib/resources/line_item_options.d.cts +2 -2
- package/lib/resources/line_item_options.d.ts +2 -2
- package/lib/resources/line_item_options.js +9 -4
- package/lib/resources/line_items.cjs +10 -5
- package/lib/resources/line_items.d.cts +2 -2
- package/lib/resources/line_items.d.ts +2 -2
- package/lib/resources/line_items.js +9 -4
- package/lib/resources/links.cjs +4 -5
- package/lib/resources/links.d.cts +2 -2
- package/lib/resources/links.d.ts +2 -2
- package/lib/resources/links.js +3 -4
- package/lib/resources/manual_gateways.cjs +4 -5
- package/lib/resources/manual_gateways.d.cts +2 -2
- package/lib/resources/manual_gateways.d.ts +2 -2
- package/lib/resources/manual_gateways.js +3 -4
- package/lib/resources/manual_tax_calculators.cjs +4 -5
- package/lib/resources/manual_tax_calculators.d.cts +2 -2
- package/lib/resources/manual_tax_calculators.d.ts +2 -2
- package/lib/resources/manual_tax_calculators.js +3 -4
- package/lib/resources/markets.cjs +12 -5
- package/lib/resources/markets.d.cts +2 -2
- package/lib/resources/markets.d.ts +2 -2
- package/lib/resources/markets.js +11 -4
- package/lib/resources/merchants.cjs +4 -5
- package/lib/resources/merchants.d.cts +2 -2
- package/lib/resources/merchants.d.ts +2 -2
- package/lib/resources/merchants.js +3 -4
- package/lib/resources/notifications.cjs +4 -5
- package/lib/resources/notifications.d.cts +2 -2
- package/lib/resources/notifications.d.ts +2 -2
- package/lib/resources/notifications.js +3 -4
- package/lib/resources/order_amount_promotion_rules.cjs +4 -5
- package/lib/resources/order_amount_promotion_rules.d.cts +2 -2
- package/lib/resources/order_amount_promotion_rules.d.ts +2 -2
- package/lib/resources/order_amount_promotion_rules.js +3 -4
- package/lib/resources/order_copies.cjs +4 -5
- package/lib/resources/order_copies.d.cts +2 -2
- package/lib/resources/order_copies.d.ts +2 -2
- package/lib/resources/order_copies.js +3 -4
- package/lib/resources/order_factories.cjs +4 -5
- package/lib/resources/order_factories.d.cts +2 -2
- package/lib/resources/order_factories.d.ts +2 -2
- package/lib/resources/order_factories.js +3 -4
- package/lib/resources/order_subscription_items.cjs +4 -5
- package/lib/resources/order_subscription_items.d.cts +2 -2
- package/lib/resources/order_subscription_items.d.ts +2 -2
- package/lib/resources/order_subscription_items.js +3 -4
- package/lib/resources/order_subscriptions.cjs +10 -5
- package/lib/resources/order_subscriptions.d.cts +2 -2
- package/lib/resources/order_subscriptions.d.ts +2 -2
- package/lib/resources/order_subscriptions.js +9 -4
- package/lib/resources/orders.cjs +18 -5
- package/lib/resources/orders.d.cts +2 -2
- package/lib/resources/orders.d.ts +2 -2
- package/lib/resources/orders.js +17 -4
- package/lib/resources/organizations.cjs +4 -5
- package/lib/resources/organizations.d.cts +2 -2
- package/lib/resources/organizations.d.ts +2 -2
- package/lib/resources/organizations.js +3 -4
- package/lib/resources/packages.cjs +4 -5
- package/lib/resources/packages.d.cts +2 -2
- package/lib/resources/packages.d.ts +2 -2
- package/lib/resources/packages.js +3 -4
- package/lib/resources/parcel_line_items.cjs +4 -5
- package/lib/resources/parcel_line_items.d.cts +2 -2
- package/lib/resources/parcel_line_items.d.ts +2 -2
- package/lib/resources/parcel_line_items.js +3 -4
- package/lib/resources/parcels.cjs +4 -5
- package/lib/resources/parcels.d.cts +2 -2
- package/lib/resources/parcels.d.ts +2 -2
- package/lib/resources/parcels.js +3 -4
- package/lib/resources/payment_gateways.cjs +4 -5
- package/lib/resources/payment_gateways.d.cts +2 -2
- package/lib/resources/payment_gateways.d.ts +2 -2
- package/lib/resources/payment_gateways.js +3 -4
- package/lib/resources/payment_methods.cjs +4 -5
- package/lib/resources/payment_methods.d.cts +2 -2
- package/lib/resources/payment_methods.d.ts +2 -2
- package/lib/resources/payment_methods.js +3 -4
- package/lib/resources/payment_options.cjs +4 -5
- package/lib/resources/payment_options.d.cts +2 -2
- package/lib/resources/payment_options.d.ts +2 -2
- package/lib/resources/payment_options.js +3 -4
- package/lib/resources/paypal_gateways.cjs +4 -5
- package/lib/resources/paypal_gateways.d.cts +2 -2
- package/lib/resources/paypal_gateways.d.ts +2 -2
- package/lib/resources/paypal_gateways.js +3 -4
- package/lib/resources/paypal_payments.cjs +4 -5
- package/lib/resources/paypal_payments.d.cts +2 -2
- package/lib/resources/paypal_payments.d.ts +2 -2
- package/lib/resources/paypal_payments.js +3 -4
- package/lib/resources/percentage_discount_promotions.cjs +10 -5
- package/lib/resources/percentage_discount_promotions.d.cts +2 -2
- package/lib/resources/percentage_discount_promotions.d.ts +2 -2
- package/lib/resources/percentage_discount_promotions.js +9 -4
- package/lib/resources/pickups.cjs +4 -5
- package/lib/resources/pickups.d.cts +2 -2
- package/lib/resources/pickups.d.ts +2 -2
- package/lib/resources/pickups.js +3 -4
- package/lib/resources/price_frequency_tiers.cjs +4 -5
- package/lib/resources/price_frequency_tiers.d.cts +2 -2
- package/lib/resources/price_frequency_tiers.d.ts +2 -2
- package/lib/resources/price_frequency_tiers.js +3 -4
- package/lib/resources/price_list_schedulers.cjs +4 -5
- package/lib/resources/price_list_schedulers.d.cts +2 -2
- package/lib/resources/price_list_schedulers.d.ts +2 -2
- package/lib/resources/price_list_schedulers.js +3 -4
- package/lib/resources/price_lists.cjs +4 -5
- package/lib/resources/price_lists.d.cts +2 -2
- package/lib/resources/price_lists.d.ts +2 -2
- package/lib/resources/price_lists.js +3 -4
- package/lib/resources/price_tiers.cjs +4 -5
- package/lib/resources/price_tiers.d.cts +2 -2
- package/lib/resources/price_tiers.d.ts +2 -2
- package/lib/resources/price_tiers.js +3 -4
- package/lib/resources/price_volume_tiers.cjs +4 -5
- package/lib/resources/price_volume_tiers.d.cts +2 -2
- package/lib/resources/price_volume_tiers.d.ts +2 -2
- package/lib/resources/price_volume_tiers.js +3 -4
- package/lib/resources/prices.cjs +4 -5
- package/lib/resources/prices.d.cts +2 -2
- package/lib/resources/prices.d.ts +2 -2
- package/lib/resources/prices.js +3 -4
- package/lib/resources/promotion_rules.cjs +4 -5
- package/lib/resources/promotion_rules.d.cts +2 -2
- package/lib/resources/promotion_rules.d.ts +2 -2
- package/lib/resources/promotion_rules.js +3 -4
- package/lib/resources/promotions.cjs +4 -5
- package/lib/resources/promotions.d.cts +2 -2
- package/lib/resources/promotions.d.ts +2 -2
- package/lib/resources/promotions.js +3 -4
- package/lib/resources/recurring_order_copies.cjs +4 -5
- package/lib/resources/recurring_order_copies.d.cts +2 -2
- package/lib/resources/recurring_order_copies.d.ts +2 -2
- package/lib/resources/recurring_order_copies.js +3 -4
- package/lib/resources/refunds.cjs +4 -5
- package/lib/resources/refunds.d.cts +2 -2
- package/lib/resources/refunds.d.ts +2 -2
- package/lib/resources/refunds.js +3 -4
- package/lib/resources/reserved_stocks.cjs +4 -5
- package/lib/resources/reserved_stocks.d.cts +2 -2
- package/lib/resources/reserved_stocks.d.ts +2 -2
- package/lib/resources/reserved_stocks.js +3 -4
- package/lib/resources/resource_errors.cjs +4 -5
- package/lib/resources/resource_errors.d.cts +2 -2
- package/lib/resources/resource_errors.d.ts +2 -2
- package/lib/resources/resource_errors.js +3 -4
- package/lib/resources/return_line_items.cjs +4 -5
- package/lib/resources/return_line_items.d.cts +2 -2
- package/lib/resources/return_line_items.d.ts +2 -2
- package/lib/resources/return_line_items.js +3 -4
- package/lib/resources/returns.cjs +10 -5
- package/lib/resources/returns.d.cts +2 -2
- package/lib/resources/returns.d.ts +2 -2
- package/lib/resources/returns.js +9 -4
- package/lib/resources/satispay_gateways.cjs +4 -5
- package/lib/resources/satispay_gateways.d.cts +2 -2
- package/lib/resources/satispay_gateways.d.ts +2 -2
- package/lib/resources/satispay_gateways.js +3 -4
- package/lib/resources/satispay_payments.cjs +4 -5
- package/lib/resources/satispay_payments.d.cts +2 -2
- package/lib/resources/satispay_payments.d.ts +2 -2
- package/lib/resources/satispay_payments.js +3 -4
- package/lib/resources/shipments.cjs +10 -5
- package/lib/resources/shipments.d.cts +2 -2
- package/lib/resources/shipments.d.ts +2 -2
- package/lib/resources/shipments.js +9 -4
- package/lib/resources/shipping_categories.cjs +4 -5
- package/lib/resources/shipping_categories.d.cts +2 -2
- package/lib/resources/shipping_categories.d.ts +2 -2
- package/lib/resources/shipping_categories.js +3 -4
- package/lib/resources/shipping_method_tiers.cjs +4 -5
- package/lib/resources/shipping_method_tiers.d.cts +2 -2
- package/lib/resources/shipping_method_tiers.d.ts +2 -2
- package/lib/resources/shipping_method_tiers.js +3 -4
- package/lib/resources/shipping_methods.cjs +4 -5
- package/lib/resources/shipping_methods.d.cts +2 -2
- package/lib/resources/shipping_methods.d.ts +2 -2
- package/lib/resources/shipping_methods.js +3 -4
- package/lib/resources/shipping_weight_tiers.cjs +4 -5
- package/lib/resources/shipping_weight_tiers.d.cts +2 -2
- package/lib/resources/shipping_weight_tiers.d.ts +2 -2
- package/lib/resources/shipping_weight_tiers.js +3 -4
- package/lib/resources/shipping_zones.cjs +4 -5
- package/lib/resources/shipping_zones.d.cts +2 -2
- package/lib/resources/shipping_zones.d.ts +2 -2
- package/lib/resources/shipping_zones.js +3 -4
- package/lib/resources/sku_list_items.cjs +4 -5
- package/lib/resources/sku_list_items.d.cts +2 -2
- package/lib/resources/sku_list_items.d.ts +2 -2
- package/lib/resources/sku_list_items.js +3 -4
- package/lib/resources/sku_list_promotion_rules.cjs +4 -5
- package/lib/resources/sku_list_promotion_rules.d.cts +2 -2
- package/lib/resources/sku_list_promotion_rules.d.ts +2 -2
- package/lib/resources/sku_list_promotion_rules.js +3 -4
- package/lib/resources/sku_lists.cjs +4 -5
- package/lib/resources/sku_lists.d.cts +2 -2
- package/lib/resources/sku_lists.d.ts +2 -2
- package/lib/resources/sku_lists.js +3 -4
- package/lib/resources/sku_options.cjs +10 -5
- package/lib/resources/sku_options.d.cts +2 -2
- package/lib/resources/sku_options.d.ts +2 -2
- package/lib/resources/sku_options.js +9 -4
- package/lib/resources/skus.cjs +10 -5
- package/lib/resources/skus.d.cts +2 -2
- package/lib/resources/skus.d.ts +2 -2
- package/lib/resources/skus.js +9 -4
- package/lib/resources/stock_items.cjs +4 -5
- package/lib/resources/stock_items.d.cts +2 -2
- package/lib/resources/stock_items.d.ts +2 -2
- package/lib/resources/stock_items.js +3 -4
- package/lib/resources/stock_line_items.cjs +4 -5
- package/lib/resources/stock_line_items.d.cts +2 -2
- package/lib/resources/stock_line_items.d.ts +2 -2
- package/lib/resources/stock_line_items.js +3 -4
- package/lib/resources/stock_locations.cjs +4 -5
- package/lib/resources/stock_locations.d.cts +2 -2
- package/lib/resources/stock_locations.d.ts +2 -2
- package/lib/resources/stock_locations.js +3 -4
- package/lib/resources/stock_reservations.cjs +4 -5
- package/lib/resources/stock_reservations.d.cts +2 -2
- package/lib/resources/stock_reservations.d.ts +2 -2
- package/lib/resources/stock_reservations.js +3 -4
- package/lib/resources/stock_transfers.cjs +4 -5
- package/lib/resources/stock_transfers.d.cts +2 -2
- package/lib/resources/stock_transfers.d.ts +2 -2
- package/lib/resources/stock_transfers.js +3 -4
- package/lib/resources/stores.cjs +4 -5
- package/lib/resources/stores.d.cts +2 -2
- package/lib/resources/stores.d.ts +2 -2
- package/lib/resources/stores.js +3 -4
- package/lib/resources/stripe_gateways.cjs +4 -5
- package/lib/resources/stripe_gateways.d.cts +2 -2
- package/lib/resources/stripe_gateways.d.ts +2 -2
- package/lib/resources/stripe_gateways.js +3 -4
- package/lib/resources/stripe_payments.cjs +4 -5
- package/lib/resources/stripe_payments.d.cts +2 -2
- package/lib/resources/stripe_payments.d.ts +2 -2
- package/lib/resources/stripe_payments.js +3 -4
- package/lib/resources/stripe_tax_accounts.cjs +4 -5
- package/lib/resources/stripe_tax_accounts.d.cts +2 -2
- package/lib/resources/stripe_tax_accounts.d.ts +2 -2
- package/lib/resources/stripe_tax_accounts.js +3 -4
- package/lib/resources/subscription_models.cjs +4 -5
- package/lib/resources/subscription_models.d.cts +2 -2
- package/lib/resources/subscription_models.d.ts +2 -2
- package/lib/resources/subscription_models.js +3 -4
- package/lib/resources/tags.cjs +4 -5
- package/lib/resources/tags.d.cts +2 -2
- package/lib/resources/tags.d.ts +2 -2
- package/lib/resources/tags.js +3 -4
- package/lib/resources/talon_one_accounts.cjs +4 -5
- package/lib/resources/talon_one_accounts.d.cts +2 -2
- package/lib/resources/talon_one_accounts.d.ts +2 -2
- package/lib/resources/talon_one_accounts.js +3 -4
- package/lib/resources/tax_calculators.cjs +4 -5
- package/lib/resources/tax_calculators.d.cts +2 -2
- package/lib/resources/tax_calculators.d.ts +2 -2
- package/lib/resources/tax_calculators.js +3 -4
- package/lib/resources/tax_categories.cjs +4 -5
- package/lib/resources/tax_categories.d.cts +2 -2
- package/lib/resources/tax_categories.d.ts +2 -2
- package/lib/resources/tax_categories.js +3 -4
- package/lib/resources/tax_rules.cjs +4 -5
- package/lib/resources/tax_rules.d.cts +2 -2
- package/lib/resources/tax_rules.d.ts +2 -2
- package/lib/resources/tax_rules.js +3 -4
- package/lib/resources/taxjar_accounts.cjs +4 -5
- package/lib/resources/taxjar_accounts.d.cts +2 -2
- package/lib/resources/taxjar_accounts.d.ts +2 -2
- package/lib/resources/taxjar_accounts.js +3 -4
- package/lib/resources/transactions.cjs +4 -5
- package/lib/resources/transactions.d.cts +2 -2
- package/lib/resources/transactions.d.ts +2 -2
- package/lib/resources/transactions.js +3 -4
- package/lib/resources/versions.cjs +4 -5
- package/lib/resources/versions.d.cts +2 -2
- package/lib/resources/versions.d.ts +2 -2
- package/lib/resources/versions.js +3 -4
- package/lib/resources/vertex_accounts.cjs +4 -5
- package/lib/resources/vertex_accounts.d.cts +2 -2
- package/lib/resources/vertex_accounts.d.ts +2 -2
- package/lib/resources/vertex_accounts.js +3 -4
- package/lib/resources/voids.cjs +4 -5
- package/lib/resources/voids.d.cts +2 -2
- package/lib/resources/voids.d.ts +2 -2
- package/lib/resources/voids.js +3 -4
- package/lib/resources/webhooks.cjs +4 -5
- package/lib/resources/webhooks.d.cts +2 -2
- package/lib/resources/webhooks.d.ts +2 -2
- package/lib/resources/webhooks.js +3 -4
- package/lib/resources/wire_transfers.cjs +4 -5
- package/lib/resources/wire_transfers.d.cts +2 -2
- package/lib/resources/wire_transfers.d.ts +2 -2
- package/lib/resources/wire_transfers.js +3 -4
- package/lib/static.cjs +1 -0
- package/lib/static.d.cts +3 -3
- package/lib/static.d.ts +3 -3
- package/lib/static.js +1 -0
- package/lib/util.cjs +2 -0
- package/lib/util.js +2 -0
- package/package.json +7 -7
- package/lib/instance.cjs +0 -272
- package/lib/instance.d.cts +0 -141
- package/lib/instance.d.ts +0 -141
- package/lib/instance.js +0 -139
@@ -86,7 +86,7 @@ type ResourcesInitConfig = ResourceAdapterConfig & ApiClientInitConfig;
|
|
86
86
|
type ResourcesConfig = Partial<ResourcesInitConfig>;
|
87
87
|
declare class ApiResourceAdapter {
|
88
88
|
private static adapter;
|
89
|
-
|
89
|
+
private constructor();
|
90
90
|
static get(config?: ResourcesInitConfig): ResourceAdapter;
|
91
91
|
static config(config: ResourcesConfig): void;
|
92
92
|
}
|
@@ -105,7 +105,6 @@ declare class ResourceAdapter {
|
|
105
105
|
fetch<R extends Resource>(resource: string | ResourceType, path: string, params?: QueryParams<R>, options?: ResourcesConfig): Promise<R | ListResponse<R>>;
|
106
106
|
}
|
107
107
|
declare abstract class ApiResourceBase<R extends Resource> {
|
108
|
-
#private;
|
109
108
|
static readonly TYPE: ResourceTypeLock;
|
110
109
|
constructor(adapter?: ResourceAdapter);
|
111
110
|
protected get resources(): ResourceAdapter;
|
@@ -162,6 +161,7 @@ declare class Tags extends ApiResource<Tag> {
|
|
162
161
|
relationshipToMany(...ids: string[]): TagRel$l[];
|
163
162
|
type(): TagType;
|
164
163
|
}
|
164
|
+
declare const instance$22: Tags;
|
165
165
|
|
166
166
|
type VersionType = 'versions';
|
167
167
|
type VersionRel = ResourceRel & {
|
@@ -203,6 +203,7 @@ declare class Versions extends ApiResource<Version> {
|
|
203
203
|
relationshipToMany(...ids: string[]): VersionRel[];
|
204
204
|
type(): VersionType;
|
205
205
|
}
|
206
|
+
declare const instance$21: Versions;
|
206
207
|
|
207
208
|
type ShippingCategoryType = 'shipping_categories';
|
208
209
|
type ShippingCategoryRel$4 = ResourceRel & {
|
@@ -262,6 +263,7 @@ declare class ShippingCategories extends ApiResource<ShippingCategory> {
|
|
262
263
|
relationshipToMany(...ids: string[]): ShippingCategoryRel$4[];
|
263
264
|
type(): ShippingCategoryType;
|
264
265
|
}
|
266
|
+
declare const instance$20: ShippingCategories;
|
265
267
|
|
266
268
|
type InventoryReturnLocationType = 'inventory_return_locations';
|
267
269
|
type InventoryReturnLocationRel = ResourceRel & {
|
@@ -316,6 +318,7 @@ declare class InventoryReturnLocations extends ApiResource<InventoryReturnLocati
|
|
316
318
|
relationshipToMany(...ids: string[]): InventoryReturnLocationRel[];
|
317
319
|
type(): InventoryReturnLocationType;
|
318
320
|
}
|
321
|
+
declare const instance$1$: InventoryReturnLocations;
|
319
322
|
|
320
323
|
type InventoryModelType = 'inventory_models';
|
321
324
|
type InventoryModelRel$3 = ResourceRel & {
|
@@ -437,6 +440,7 @@ declare class InventoryModels extends ApiResource<InventoryModel> {
|
|
437
440
|
relationshipToMany(...ids: string[]): InventoryModelRel$3[];
|
438
441
|
type(): InventoryModelType;
|
439
442
|
}
|
443
|
+
declare const instance$1_: InventoryModels;
|
440
444
|
|
441
445
|
type InventoryStockLocationType = 'inventory_stock_locations';
|
442
446
|
type InventoryStockLocationRel$1 = ResourceRel & {
|
@@ -503,6 +507,7 @@ declare class InventoryStockLocations extends ApiResource<InventoryStockLocation
|
|
503
507
|
relationshipToMany(...ids: string[]): InventoryStockLocationRel$1[];
|
504
508
|
type(): InventoryStockLocationType;
|
505
509
|
}
|
510
|
+
declare const instance$1Z: InventoryStockLocations;
|
506
511
|
|
507
512
|
type CustomerGroupType = 'customer_groups';
|
508
513
|
type CustomerGroupRel$3 = ResourceRel & {
|
@@ -564,6 +569,7 @@ declare class CustomerGroups extends ApiResource<CustomerGroup> {
|
|
564
569
|
relationshipToMany(...ids: string[]): CustomerGroupRel$3[];
|
565
570
|
type(): CustomerGroupType;
|
566
571
|
}
|
572
|
+
declare const instance$1Y: CustomerGroups;
|
567
573
|
|
568
574
|
type EventCallbackType = 'event_callbacks';
|
569
575
|
type EventCallbackRel = ResourceRel & {
|
@@ -602,6 +608,7 @@ declare class EventCallbacks extends ApiResource<EventCallback> {
|
|
602
608
|
relationshipToMany(...ids: string[]): EventCallbackRel[];
|
603
609
|
type(): EventCallbackType;
|
604
610
|
}
|
611
|
+
declare const instance$1X: EventCallbacks;
|
605
612
|
|
606
613
|
type WebhookType = 'webhooks';
|
607
614
|
type WebhookRel = ResourceRel & {
|
@@ -737,6 +744,7 @@ declare class Webhooks extends ApiResource<Webhook> {
|
|
737
744
|
relationshipToMany(...ids: string[]): WebhookRel[];
|
738
745
|
type(): WebhookType;
|
739
746
|
}
|
747
|
+
declare const instance$1W: Webhooks;
|
740
748
|
|
741
749
|
type EventType = 'events';
|
742
750
|
type EventRel = ResourceRel & {
|
@@ -771,6 +779,7 @@ declare class Events extends ApiResource<Event> {
|
|
771
779
|
relationshipToMany(...ids: string[]): EventRel[];
|
772
780
|
type(): EventType;
|
773
781
|
}
|
782
|
+
declare const instance$1V: Events;
|
774
783
|
|
775
784
|
type CustomerAddressType = 'customer_addresses';
|
776
785
|
type CustomerAddressRel = ResourceRel & {
|
@@ -827,6 +836,7 @@ declare class CustomerAddresses extends ApiResource<CustomerAddress> {
|
|
827
836
|
relationshipToMany(...ids: string[]): CustomerAddressRel[];
|
828
837
|
type(): CustomerAddressType;
|
829
838
|
}
|
839
|
+
declare const instance$1U: CustomerAddresses;
|
830
840
|
|
831
841
|
type PaymentGatewayType = 'payment_gateways';
|
832
842
|
type PaymentGatewayRel$1 = ResourceRel & {
|
@@ -852,6 +862,7 @@ declare class PaymentGateways extends ApiResource<PaymentGateway> {
|
|
852
862
|
relationshipToMany(...ids: string[]): PaymentGatewayRel$1[];
|
853
863
|
type(): PaymentGatewayType;
|
854
864
|
}
|
865
|
+
declare const instance$1T: PaymentGateways;
|
855
866
|
|
856
867
|
type StoreType = 'stores';
|
857
868
|
type StoreRel$2 = ResourceRel & {
|
@@ -934,9 +945,10 @@ declare class Stores extends ApiResource<Store> {
|
|
934
945
|
relationshipToMany(...ids: string[]): StoreRel$2[];
|
935
946
|
type(): StoreType;
|
936
947
|
}
|
948
|
+
declare const instance$1S: Stores;
|
937
949
|
|
938
950
|
type PaymentMethodType = 'payment_methods';
|
939
|
-
type PaymentMethodRel$
|
951
|
+
type PaymentMethodRel$5 = ResourceRel & {
|
940
952
|
type: PaymentMethodType;
|
941
953
|
};
|
942
954
|
type MarketRel$i = ResourceRel & {
|
@@ -1148,10 +1160,11 @@ declare class PaymentMethods extends ApiResource<PaymentMethod> {
|
|
1148
1160
|
_disable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
|
1149
1161
|
_enable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
|
1150
1162
|
isPaymentMethod(resource: any): resource is PaymentMethod;
|
1151
|
-
relationship(id: string | ResourceId | null): PaymentMethodRel$
|
1152
|
-
relationshipToMany(...ids: string[]): PaymentMethodRel$
|
1163
|
+
relationship(id: string | ResourceId | null): PaymentMethodRel$5;
|
1164
|
+
relationshipToMany(...ids: string[]): PaymentMethodRel$5[];
|
1153
1165
|
type(): PaymentMethodType;
|
1154
1166
|
}
|
1167
|
+
declare const instance$1R: PaymentMethods;
|
1155
1168
|
|
1156
1169
|
type AdyenPaymentType = 'adyen_payments';
|
1157
1170
|
type AdyenPaymentRel$3 = ResourceRel & {
|
@@ -1242,6 +1255,7 @@ declare class AdyenPayments extends ApiResource<AdyenPayment> {
|
|
1242
1255
|
relationshipToMany(...ids: string[]): AdyenPaymentRel$3[];
|
1243
1256
|
type(): AdyenPaymentType;
|
1244
1257
|
}
|
1258
|
+
declare const instance$1Q: AdyenPayments;
|
1245
1259
|
|
1246
1260
|
type AxervePaymentType = 'axerve_payments';
|
1247
1261
|
type AxervePaymentRel$3 = ResourceRel & {
|
@@ -1346,6 +1360,7 @@ declare class AxervePayments extends ApiResource<AxervePayment> {
|
|
1346
1360
|
relationshipToMany(...ids: string[]): AxervePaymentRel$3[];
|
1347
1361
|
type(): AxervePaymentType;
|
1348
1362
|
}
|
1363
|
+
declare const instance$1P: AxervePayments;
|
1349
1364
|
|
1350
1365
|
type BraintreePaymentType = 'braintree_payments';
|
1351
1366
|
type BraintreePaymentRel$3 = ResourceRel & {
|
@@ -1445,6 +1460,7 @@ declare class BraintreePayments extends ApiResource<BraintreePayment> {
|
|
1445
1460
|
relationshipToMany(...ids: string[]): BraintreePaymentRel$3[];
|
1446
1461
|
type(): BraintreePaymentType;
|
1447
1462
|
}
|
1463
|
+
declare const instance$1O: BraintreePayments;
|
1448
1464
|
|
1449
1465
|
type CheckoutComPaymentType = 'checkout_com_payments';
|
1450
1466
|
type CheckoutComPaymentRel$3 = ResourceRel & {
|
@@ -1600,6 +1616,7 @@ declare class CheckoutComPayments extends ApiResource<CheckoutComPayment> {
|
|
1600
1616
|
relationshipToMany(...ids: string[]): CheckoutComPaymentRel$3[];
|
1601
1617
|
type(): CheckoutComPaymentType;
|
1602
1618
|
}
|
1619
|
+
declare const instance$1N: CheckoutComPayments;
|
1603
1620
|
|
1604
1621
|
type ExternalPaymentType = 'external_payments';
|
1605
1622
|
type ExternalPaymentRel$2 = ResourceRel & {
|
@@ -1666,6 +1683,7 @@ declare class ExternalPayments extends ApiResource<ExternalPayment> {
|
|
1666
1683
|
relationshipToMany(...ids: string[]): ExternalPaymentRel$2[];
|
1667
1684
|
type(): ExternalPaymentType;
|
1668
1685
|
}
|
1686
|
+
declare const instance$1M: ExternalPayments;
|
1669
1687
|
|
1670
1688
|
type KlarnaPaymentType = 'klarna_payments';
|
1671
1689
|
type KlarnaPaymentRel$3 = ResourceRel & {
|
@@ -1740,6 +1758,7 @@ declare class KlarnaPayments extends ApiResource<KlarnaPayment> {
|
|
1740
1758
|
relationshipToMany(...ids: string[]): KlarnaPaymentRel$3[];
|
1741
1759
|
type(): KlarnaPaymentType;
|
1742
1760
|
}
|
1761
|
+
declare const instance$1L: KlarnaPayments;
|
1743
1762
|
|
1744
1763
|
type PaypalPaymentType = 'paypal_payments';
|
1745
1764
|
type PaypalPaymentRel$2 = ResourceRel & {
|
@@ -1843,6 +1862,7 @@ declare class PaypalPayments extends ApiResource<PaypalPayment> {
|
|
1843
1862
|
relationshipToMany(...ids: string[]): PaypalPaymentRel$2[];
|
1844
1863
|
type(): PaypalPaymentType;
|
1845
1864
|
}
|
1865
|
+
declare const instance$1K: PaypalPayments;
|
1846
1866
|
|
1847
1867
|
type SatispayPaymentType = 'satispay_payments';
|
1848
1868
|
type SatispayPaymentRel$3 = ResourceRel & {
|
@@ -1933,6 +1953,7 @@ declare class SatispayPayments extends ApiResource<SatispayPayment> {
|
|
1933
1953
|
relationshipToMany(...ids: string[]): SatispayPaymentRel$3[];
|
1934
1954
|
type(): SatispayPaymentType;
|
1935
1955
|
}
|
1956
|
+
declare const instance$1J: SatispayPayments;
|
1936
1957
|
|
1937
1958
|
type StripePaymentType = 'stripe_payments';
|
1938
1959
|
type StripePaymentRel$2 = ResourceRel & {
|
@@ -2073,6 +2094,7 @@ declare class StripePayments extends ApiResource<StripePayment> {
|
|
2073
2094
|
relationshipToMany(...ids: string[]): StripePaymentRel$2[];
|
2074
2095
|
type(): StripePaymentType;
|
2075
2096
|
}
|
2097
|
+
declare const instance$1I: StripePayments;
|
2076
2098
|
|
2077
2099
|
type WireTransferType = 'wire_transfers';
|
2078
2100
|
type WireTransferRel$2 = ResourceRel & {
|
@@ -2110,6 +2132,7 @@ declare class WireTransfers extends ApiResource<WireTransfer> {
|
|
2110
2132
|
relationshipToMany(...ids: string[]): WireTransferRel$2[];
|
2111
2133
|
type(): WireTransferType;
|
2112
2134
|
}
|
2135
|
+
declare const instance$1H: WireTransfers;
|
2113
2136
|
|
2114
2137
|
type CustomerPaymentSourceType = 'customer_payment_sources';
|
2115
2138
|
type CustomerPaymentSourceRel$1 = ResourceRel & {
|
@@ -2118,7 +2141,7 @@ type CustomerPaymentSourceRel$1 = ResourceRel & {
|
|
2118
2141
|
type CustomerRel$7 = ResourceRel & {
|
2119
2142
|
type: CustomerType;
|
2120
2143
|
};
|
2121
|
-
type PaymentMethodRel$
|
2144
|
+
type PaymentMethodRel$4 = ResourceRel & {
|
2122
2145
|
type: PaymentMethodType;
|
2123
2146
|
};
|
2124
2147
|
type AdyenPaymentRel$2 = ResourceRel & {
|
@@ -2186,7 +2209,7 @@ interface CustomerPaymentSourceCreate extends ResourceCreate {
|
|
2186
2209
|
*/
|
2187
2210
|
payment_source_token?: string | null;
|
2188
2211
|
customer: CustomerRel$7;
|
2189
|
-
payment_method?: PaymentMethodRel$
|
2212
|
+
payment_method?: PaymentMethodRel$4 | null;
|
2190
2213
|
payment_source?: AdyenPaymentRel$2 | AxervePaymentRel$2 | BraintreePaymentRel$2 | CheckoutComPaymentRel$2 | ExternalPaymentRel$1 | KlarnaPaymentRel$2 | PaypalPaymentRel$1 | SatispayPaymentRel$2 | StripePaymentRel$1 | WireTransferRel$1 | null;
|
2191
2214
|
}
|
2192
2215
|
interface CustomerPaymentSourceUpdate extends ResourceUpdate {
|
@@ -2201,7 +2224,7 @@ interface CustomerPaymentSourceUpdate extends ResourceUpdate {
|
|
2201
2224
|
*/
|
2202
2225
|
payment_source_token?: string | null;
|
2203
2226
|
customer?: CustomerRel$7 | null;
|
2204
|
-
payment_method?: PaymentMethodRel$
|
2227
|
+
payment_method?: PaymentMethodRel$4 | null;
|
2205
2228
|
payment_source?: AdyenPaymentRel$2 | AxervePaymentRel$2 | BraintreePaymentRel$2 | CheckoutComPaymentRel$2 | ExternalPaymentRel$1 | KlarnaPaymentRel$2 | PaypalPaymentRel$1 | SatispayPaymentRel$2 | StripePaymentRel$1 | WireTransferRel$1 | null;
|
2206
2229
|
}
|
2207
2230
|
declare class CustomerPaymentSources extends ApiResource<CustomerPaymentSource> {
|
@@ -2217,6 +2240,7 @@ declare class CustomerPaymentSources extends ApiResource<CustomerPaymentSource>
|
|
2217
2240
|
relationshipToMany(...ids: string[]): CustomerPaymentSourceRel$1[];
|
2218
2241
|
type(): CustomerPaymentSourceType;
|
2219
2242
|
}
|
2243
|
+
declare const instance$1G: CustomerPaymentSources;
|
2220
2244
|
|
2221
2245
|
type CustomerSubscriptionType = 'customer_subscriptions';
|
2222
2246
|
type CustomerSubscriptionRel = ResourceRel & {
|
@@ -2255,6 +2279,7 @@ declare class CustomerSubscriptions extends ApiResource<CustomerSubscription> {
|
|
2255
2279
|
relationshipToMany(...ids: string[]): CustomerSubscriptionRel[];
|
2256
2280
|
type(): CustomerSubscriptionType;
|
2257
2281
|
}
|
2282
|
+
declare const instance$1F: CustomerSubscriptions;
|
2258
2283
|
|
2259
2284
|
type SubscriptionModelType = 'subscription_models';
|
2260
2285
|
type SubscriptionModelRel$2 = ResourceRel & {
|
@@ -2356,6 +2381,7 @@ declare class SubscriptionModels extends ApiResource<SubscriptionModel> {
|
|
2356
2381
|
relationshipToMany(...ids: string[]): SubscriptionModelRel$2[];
|
2357
2382
|
type(): SubscriptionModelType;
|
2358
2383
|
}
|
2384
|
+
declare const instance$1E: SubscriptionModels;
|
2359
2385
|
|
2360
2386
|
type SkuOptionType = 'sku_options';
|
2361
2387
|
type SkuOptionRel$2 = ResourceRel & {
|
@@ -2486,6 +2512,14 @@ interface SkuOptionUpdate extends ResourceUpdate {
|
|
2486
2512
|
* @example ```"^(A|B).*$"```
|
2487
2513
|
*/
|
2488
2514
|
sku_code_regex?: string | null;
|
2515
|
+
/**
|
2516
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
2517
|
+
*/
|
2518
|
+
_add_tags?: string | null;
|
2519
|
+
/**
|
2520
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
2521
|
+
*/
|
2522
|
+
_remove_tags?: string | null;
|
2489
2523
|
market?: MarketRel$h | null;
|
2490
2524
|
tags?: TagRel$k[] | null;
|
2491
2525
|
}
|
@@ -2499,11 +2533,14 @@ declare class SkuOptions extends ApiResource<SkuOption> {
|
|
2499
2533
|
events(skuOptionId: string | SkuOption, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
2500
2534
|
tags(skuOptionId: string | SkuOption, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
2501
2535
|
versions(skuOptionId: string | SkuOption, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
2536
|
+
_add_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption>;
|
2537
|
+
_remove_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption>;
|
2502
2538
|
isSkuOption(resource: any): resource is SkuOption;
|
2503
2539
|
relationship(id: string | ResourceId | null): SkuOptionRel$2;
|
2504
2540
|
relationshipToMany(...ids: string[]): SkuOptionRel$2[];
|
2505
2541
|
type(): SkuOptionType;
|
2506
2542
|
}
|
2543
|
+
declare const instance$1D: SkuOptions;
|
2507
2544
|
|
2508
2545
|
type LineItemOptionType = 'line_item_options';
|
2509
2546
|
type LineItemOptionRel = ResourceRel & {
|
@@ -2632,6 +2669,14 @@ interface LineItemOptionUpdate extends ResourceUpdate {
|
|
2632
2669
|
* @example ```{"embossing_text":"Happy Birthday!"}```
|
2633
2670
|
*/
|
2634
2671
|
options?: Record<string, any> | null;
|
2672
|
+
/**
|
2673
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
2674
|
+
*/
|
2675
|
+
_add_tags?: string | null;
|
2676
|
+
/**
|
2677
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
2678
|
+
*/
|
2679
|
+
_remove_tags?: string | null;
|
2635
2680
|
sku_option?: SkuOptionRel$1 | null;
|
2636
2681
|
tags?: TagRel$j[] | null;
|
2637
2682
|
}
|
@@ -2644,11 +2689,14 @@ declare class LineItemOptions extends ApiResource<LineItemOption> {
|
|
2644
2689
|
sku_option(lineItemOptionId: string | LineItemOption, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption>;
|
2645
2690
|
events(lineItemOptionId: string | LineItemOption, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
2646
2691
|
tags(lineItemOptionId: string | LineItemOption, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
2692
|
+
_add_tags(id: string | LineItemOption, triggerValue: string, params?: QueryParamsRetrieve<LineItemOption>, options?: ResourcesConfig): Promise<LineItemOption>;
|
2693
|
+
_remove_tags(id: string | LineItemOption, triggerValue: string, params?: QueryParamsRetrieve<LineItemOption>, options?: ResourcesConfig): Promise<LineItemOption>;
|
2647
2694
|
isLineItemOption(resource: any): resource is LineItemOption;
|
2648
2695
|
relationship(id: string | ResourceId | null): LineItemOptionRel;
|
2649
2696
|
relationshipToMany(...ids: string[]): LineItemOptionRel[];
|
2650
2697
|
type(): LineItemOptionType;
|
2651
2698
|
}
|
2699
|
+
declare const instance$1C: LineItemOptions;
|
2652
2700
|
|
2653
2701
|
type VoidType = 'voids';
|
2654
2702
|
type VoidRel = ResourceRel & {
|
@@ -2743,6 +2791,7 @@ declare class Voids extends ApiResource<Void> {
|
|
2743
2791
|
relationshipToMany(...ids: string[]): VoidRel[];
|
2744
2792
|
type(): VoidType;
|
2745
2793
|
}
|
2794
|
+
declare const instance$1B: Voids;
|
2746
2795
|
|
2747
2796
|
type AuthorizationType = 'authorizations';
|
2748
2797
|
type AuthorizationRel = ResourceRel & {
|
@@ -2933,6 +2982,7 @@ declare class Authorizations extends ApiResource<Authorization> {
|
|
2933
2982
|
relationshipToMany(...ids: string[]): AuthorizationRel[];
|
2934
2983
|
type(): AuthorizationType;
|
2935
2984
|
}
|
2985
|
+
declare const instance$1A: Authorizations;
|
2936
2986
|
|
2937
2987
|
type RefundType = 'refunds';
|
2938
2988
|
type RefundRel = ResourceRel & {
|
@@ -3029,6 +3079,7 @@ declare class Refunds extends ApiResource<Refund> {
|
|
3029
3079
|
relationshipToMany(...ids: string[]): RefundRel[];
|
3030
3080
|
type(): RefundType;
|
3031
3081
|
}
|
3082
|
+
declare const instance$1z: Refunds;
|
3032
3083
|
|
3033
3084
|
type CaptureType = 'captures';
|
3034
3085
|
type CaptureRel$1 = ResourceRel & {
|
@@ -3175,6 +3226,7 @@ declare class Captures extends ApiResource<Capture> {
|
|
3175
3226
|
relationshipToMany(...ids: string[]): CaptureRel$1[];
|
3176
3227
|
type(): CaptureType;
|
3177
3228
|
}
|
3229
|
+
declare const instance$1y: Captures;
|
3178
3230
|
|
3179
3231
|
type ResourceErrorType = 'resource_errors';
|
3180
3232
|
type ResourceErrorRel = ResourceRel & {
|
@@ -3207,6 +3259,7 @@ declare class ResourceErrors extends ApiResource<ResourceError> {
|
|
3207
3259
|
relationshipToMany(...ids: string[]): ResourceErrorRel[];
|
3208
3260
|
type(): ResourceErrorType;
|
3209
3261
|
}
|
3262
|
+
declare const instance$1x: ResourceErrors;
|
3210
3263
|
|
3211
3264
|
type ReturnType = 'returns';
|
3212
3265
|
type ReturnRel$2 = ResourceRel & {
|
@@ -3373,6 +3426,14 @@ interface ReturnUpdate extends ResourceUpdate {
|
|
3373
3426
|
* @example ```500```
|
3374
3427
|
*/
|
3375
3428
|
_refund_amount_cents?: number | null;
|
3429
|
+
/**
|
3430
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
3431
|
+
*/
|
3432
|
+
_add_tags?: string | null;
|
3433
|
+
/**
|
3434
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
3435
|
+
*/
|
3436
|
+
_remove_tags?: string | null;
|
3376
3437
|
stock_location?: StockLocationRel$7 | null;
|
3377
3438
|
reference_capture?: CaptureRel | null;
|
3378
3439
|
tags?: TagRel$i[] | null;
|
@@ -3406,11 +3467,14 @@ declare class Returns extends ApiResource<Return> {
|
|
3406
3467
|
_unarchive(id: string | Return, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
|
3407
3468
|
_refund(id: string | Return, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
|
3408
3469
|
_refund_amount_cents(id: string | Return, triggerValue: number, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
|
3470
|
+
_add_tags(id: string | Return, triggerValue: string, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
|
3471
|
+
_remove_tags(id: string | Return, triggerValue: string, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
|
3409
3472
|
isReturn(resource: any): resource is Return;
|
3410
3473
|
relationship(id: string | ResourceId | null): ReturnRel$2;
|
3411
3474
|
relationshipToMany(...ids: string[]): ReturnRel$2[];
|
3412
3475
|
type(): ReturnType;
|
3413
3476
|
}
|
3477
|
+
declare const instance$1w: Returns;
|
3414
3478
|
|
3415
3479
|
type ReturnLineItemType = 'return_line_items';
|
3416
3480
|
type ReturnLineItemRel = ResourceRel & {
|
@@ -3522,6 +3586,7 @@ declare class ReturnLineItems extends ApiResource<ReturnLineItem> {
|
|
3522
3586
|
relationshipToMany(...ids: string[]): ReturnLineItemRel[];
|
3523
3587
|
type(): ReturnLineItemType;
|
3524
3588
|
}
|
3589
|
+
declare const instance$1v: ReturnLineItems;
|
3525
3590
|
|
3526
3591
|
type StockLineItemType = 'stock_line_items';
|
3527
3592
|
type StockLineItemRel$1 = ResourceRel & {
|
@@ -3640,6 +3705,7 @@ declare class StockLineItems extends ApiResource<StockLineItem> {
|
|
3640
3705
|
relationshipToMany(...ids: string[]): StockLineItemRel$1[];
|
3641
3706
|
type(): StockLineItemType;
|
3642
3707
|
}
|
3708
|
+
declare const instance$1u: StockLineItems;
|
3643
3709
|
|
3644
3710
|
type ReservedStockType = 'reserved_stocks';
|
3645
3711
|
type ReservedStockRel = ResourceRel & {
|
@@ -3669,6 +3735,7 @@ declare class ReservedStocks extends ApiResource<ReservedStock> {
|
|
3669
3735
|
relationshipToMany(...ids: string[]): ReservedStockRel[];
|
3670
3736
|
type(): ReservedStockType;
|
3671
3737
|
}
|
3738
|
+
declare const instance$1t: ReservedStocks;
|
3672
3739
|
|
3673
3740
|
type StockReservationType = 'stock_reservations';
|
3674
3741
|
type StockReservationRel = ResourceRel & {
|
@@ -3741,6 +3808,7 @@ declare class StockReservations extends ApiResource<StockReservation> {
|
|
3741
3808
|
relationshipToMany(...ids: string[]): StockReservationRel[];
|
3742
3809
|
type(): StockReservationType;
|
3743
3810
|
}
|
3811
|
+
declare const instance$1s: StockReservations;
|
3744
3812
|
|
3745
3813
|
type ShippingZoneType = 'shipping_zones';
|
3746
3814
|
type ShippingZoneRel$2 = ResourceRel & {
|
@@ -3873,6 +3941,7 @@ declare class ShippingZones extends ApiResource<ShippingZone> {
|
|
3873
3941
|
relationshipToMany(...ids: string[]): ShippingZoneRel$2[];
|
3874
3942
|
type(): ShippingZoneType;
|
3875
3943
|
}
|
3944
|
+
declare const instance$1r: ShippingZones;
|
3876
3945
|
|
3877
3946
|
type DeliveryLeadTimeType = 'delivery_lead_times';
|
3878
3947
|
type DeliveryLeadTimeRel$1 = ResourceRel & {
|
@@ -3881,7 +3950,7 @@ type DeliveryLeadTimeRel$1 = ResourceRel & {
|
|
3881
3950
|
type StockLocationRel$6 = ResourceRel & {
|
3882
3951
|
type: StockLocationType;
|
3883
3952
|
};
|
3884
|
-
type ShippingMethodRel$
|
3953
|
+
type ShippingMethodRel$6 = ResourceRel & {
|
3885
3954
|
type: ShippingMethodType;
|
3886
3955
|
};
|
3887
3956
|
type DeliveryLeadTimeSort = Pick<DeliveryLeadTime, 'id' | 'min_hours' | 'max_hours' | 'min_days'> & ResourceSort;
|
@@ -3924,7 +3993,7 @@ interface DeliveryLeadTimeCreate extends ResourceCreate {
|
|
3924
3993
|
*/
|
3925
3994
|
max_hours: number;
|
3926
3995
|
stock_location: StockLocationRel$6;
|
3927
|
-
shipping_method: ShippingMethodRel$
|
3996
|
+
shipping_method: ShippingMethodRel$6;
|
3928
3997
|
}
|
3929
3998
|
interface DeliveryLeadTimeUpdate extends ResourceUpdate {
|
3930
3999
|
/**
|
@@ -3938,7 +4007,7 @@ interface DeliveryLeadTimeUpdate extends ResourceUpdate {
|
|
3938
4007
|
*/
|
3939
4008
|
max_hours?: number | null;
|
3940
4009
|
stock_location?: StockLocationRel$6 | null;
|
3941
|
-
shipping_method?: ShippingMethodRel$
|
4010
|
+
shipping_method?: ShippingMethodRel$6 | null;
|
3942
4011
|
}
|
3943
4012
|
declare class DeliveryLeadTimes extends ApiResource<DeliveryLeadTime> {
|
3944
4013
|
static readonly TYPE: DeliveryLeadTimeType;
|
@@ -3954,6 +4023,7 @@ declare class DeliveryLeadTimes extends ApiResource<DeliveryLeadTime> {
|
|
3954
4023
|
relationshipToMany(...ids: string[]): DeliveryLeadTimeRel$1[];
|
3955
4024
|
type(): DeliveryLeadTimeType;
|
3956
4025
|
}
|
4026
|
+
declare const instance$1q: DeliveryLeadTimes;
|
3957
4027
|
|
3958
4028
|
type ShippingMethodTierType = 'shipping_method_tiers';
|
3959
4029
|
type ShippingMethodTierRel$2 = ResourceRel & {
|
@@ -4001,12 +4071,13 @@ declare class ShippingMethodTiers extends ApiResource<ShippingMethodTier> {
|
|
4001
4071
|
relationshipToMany(...ids: string[]): ShippingMethodTierRel$2[];
|
4002
4072
|
type(): ShippingMethodTierType;
|
4003
4073
|
}
|
4074
|
+
declare const instance$1p: ShippingMethodTiers;
|
4004
4075
|
|
4005
4076
|
type ShippingWeightTierType = 'shipping_weight_tiers';
|
4006
4077
|
type ShippingWeightTierRel = ResourceRel & {
|
4007
4078
|
type: ShippingWeightTierType;
|
4008
4079
|
};
|
4009
|
-
type ShippingMethodRel$
|
4080
|
+
type ShippingMethodRel$5 = ResourceRel & {
|
4010
4081
|
type: ShippingMethodType;
|
4011
4082
|
};
|
4012
4083
|
type ShippingWeightTierSort = Pick<ShippingWeightTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort;
|
@@ -4057,7 +4128,7 @@ interface ShippingWeightTierCreate extends ResourceCreate {
|
|
4057
4128
|
* @example ```1000```
|
4058
4129
|
*/
|
4059
4130
|
price_amount_cents: number;
|
4060
|
-
shipping_method: ShippingMethodRel$
|
4131
|
+
shipping_method: ShippingMethodRel$5;
|
4061
4132
|
}
|
4062
4133
|
interface ShippingWeightTierUpdate extends ResourceUpdate {
|
4063
4134
|
/**
|
@@ -4075,7 +4146,7 @@ interface ShippingWeightTierUpdate extends ResourceUpdate {
|
|
4075
4146
|
* @example ```1000```
|
4076
4147
|
*/
|
4077
4148
|
price_amount_cents?: number | null;
|
4078
|
-
shipping_method?: ShippingMethodRel$
|
4149
|
+
shipping_method?: ShippingMethodRel$5 | null;
|
4079
4150
|
}
|
4080
4151
|
declare class ShippingWeightTiers extends ApiResource<ShippingWeightTier> {
|
4081
4152
|
static readonly TYPE: ShippingWeightTierType;
|
@@ -4090,9 +4161,10 @@ declare class ShippingWeightTiers extends ApiResource<ShippingWeightTier> {
|
|
4090
4161
|
relationshipToMany(...ids: string[]): ShippingWeightTierRel[];
|
4091
4162
|
type(): ShippingWeightTierType;
|
4092
4163
|
}
|
4164
|
+
declare const instance$1o: ShippingWeightTiers;
|
4093
4165
|
|
4094
4166
|
type ShippingMethodType = 'shipping_methods';
|
4095
|
-
type ShippingMethodRel$
|
4167
|
+
type ShippingMethodRel$4 = ResourceRel & {
|
4096
4168
|
type: ShippingMethodType;
|
4097
4169
|
};
|
4098
4170
|
type MarketRel$g = ResourceRel & {
|
@@ -4395,10 +4467,11 @@ declare class ShippingMethods extends ApiResource<ShippingMethod> {
|
|
4395
4467
|
_enable(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
|
4396
4468
|
_reset_circuit(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
|
4397
4469
|
isShippingMethod(resource: any): resource is ShippingMethod;
|
4398
|
-
relationship(id: string | ResourceId | null): ShippingMethodRel$
|
4399
|
-
relationshipToMany(...ids: string[]): ShippingMethodRel$
|
4470
|
+
relationship(id: string | ResourceId | null): ShippingMethodRel$4;
|
4471
|
+
relationshipToMany(...ids: string[]): ShippingMethodRel$4[];
|
4400
4472
|
type(): ShippingMethodType;
|
4401
4473
|
}
|
4474
|
+
declare const instance$1n: ShippingMethods;
|
4402
4475
|
|
4403
4476
|
type NotificationType = 'notifications';
|
4404
4477
|
type NotificationRel = ResourceRel & {
|
@@ -4410,7 +4483,7 @@ type OrderRel$9 = ResourceRel & {
|
|
4410
4483
|
type LineItemRel$2 = ResourceRel & {
|
4411
4484
|
type: LineItemType;
|
4412
4485
|
};
|
4413
|
-
type ShippingMethodRel$
|
4486
|
+
type ShippingMethodRel$3 = ResourceRel & {
|
4414
4487
|
type: ShippingMethodType;
|
4415
4488
|
};
|
4416
4489
|
type NotificationSort = Pick<Notification, 'id' | 'name' | 'flash'> & ResourceSort;
|
@@ -4447,7 +4520,7 @@ interface NotificationCreate extends ResourceCreate {
|
|
4447
4520
|
* @example ```{"sku":"REDHANDBAG","name":"Enjoy your free item"}```
|
4448
4521
|
*/
|
4449
4522
|
body?: Record<string, any> | null;
|
4450
|
-
notifiable: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$
|
4523
|
+
notifiable: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$3;
|
4451
4524
|
}
|
4452
4525
|
interface NotificationUpdate extends ResourceUpdate {
|
4453
4526
|
/**
|
@@ -4464,7 +4537,7 @@ interface NotificationUpdate extends ResourceUpdate {
|
|
4464
4537
|
* @example ```{"sku":"REDHANDBAG","name":"Enjoy your free item"}```
|
4465
4538
|
*/
|
4466
4539
|
body?: Record<string, any> | null;
|
4467
|
-
notifiable?: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$
|
4540
|
+
notifiable?: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$3 | null;
|
4468
4541
|
}
|
4469
4542
|
declare class Notifications extends ApiResource<Notification> {
|
4470
4543
|
static readonly TYPE: NotificationType;
|
@@ -4476,6 +4549,7 @@ declare class Notifications extends ApiResource<Notification> {
|
|
4476
4549
|
relationshipToMany(...ids: string[]): NotificationRel[];
|
4477
4550
|
type(): NotificationType;
|
4478
4551
|
}
|
4552
|
+
declare const instance$1m: Notifications;
|
4479
4553
|
|
4480
4554
|
type SkuListItemType = 'sku_list_items';
|
4481
4555
|
type SkuListItemRel = ResourceRel & {
|
@@ -4558,6 +4632,7 @@ declare class SkuListItems extends ApiResource<SkuListItem> {
|
|
4558
4632
|
relationshipToMany(...ids: string[]): SkuListItemRel[];
|
4559
4633
|
type(): SkuListItemType;
|
4560
4634
|
}
|
4635
|
+
declare const instance$1l: SkuListItems;
|
4561
4636
|
|
4562
4637
|
type LinkType = 'links';
|
4563
4638
|
type LinkRel = ResourceRel & {
|
@@ -4752,6 +4827,7 @@ declare class Links extends ApiResource<Link> {
|
|
4752
4827
|
relationshipToMany(...ids: string[]): LinkRel[];
|
4753
4828
|
type(): LinkType;
|
4754
4829
|
}
|
4830
|
+
declare const instance$1k: Links;
|
4755
4831
|
|
4756
4832
|
type SkuListType = 'sku_lists';
|
4757
4833
|
type SkuListRel$a = ResourceRel & {
|
@@ -4871,6 +4947,7 @@ declare class SkuLists extends ApiResource<SkuList> {
|
|
4871
4947
|
relationshipToMany(...ids: string[]): SkuListRel$a[];
|
4872
4948
|
type(): SkuListType;
|
4873
4949
|
}
|
4950
|
+
declare const instance$1j: SkuLists;
|
4874
4951
|
|
4875
4952
|
type BundleType = 'bundles';
|
4876
4953
|
type BundleRel$3 = ResourceRel & {
|
@@ -5060,6 +5137,14 @@ interface BundleUpdate extends ResourceUpdate {
|
|
5060
5137
|
* @example ```true```
|
5061
5138
|
*/
|
5062
5139
|
_compute_compare_at_amount?: boolean | null;
|
5140
|
+
/**
|
5141
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
5142
|
+
*/
|
5143
|
+
_add_tags?: string | null;
|
5144
|
+
/**
|
5145
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
5146
|
+
*/
|
5147
|
+
_remove_tags?: string | null;
|
5063
5148
|
tags?: TagRel$h[] | null;
|
5064
5149
|
}
|
5065
5150
|
declare class Bundles extends ApiResource<Bundle> {
|
@@ -5076,11 +5161,14 @@ declare class Bundles extends ApiResource<Bundle> {
|
|
5076
5161
|
versions(bundleId: string | Bundle, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
5077
5162
|
_compute_price_amount(id: string | Bundle, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
|
5078
5163
|
_compute_compare_at_amount(id: string | Bundle, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
|
5164
|
+
_add_tags(id: string | Bundle, triggerValue: string, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
|
5165
|
+
_remove_tags(id: string | Bundle, triggerValue: string, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
|
5079
5166
|
isBundle(resource: any): resource is Bundle;
|
5080
5167
|
relationship(id: string | ResourceId | null): BundleRel$3;
|
5081
5168
|
relationshipToMany(...ids: string[]): BundleRel$3[];
|
5082
5169
|
type(): BundleType;
|
5083
5170
|
}
|
5171
|
+
declare const instance$1i: Bundles;
|
5084
5172
|
|
5085
5173
|
type GiftCardRecipientType = 'gift_card_recipients';
|
5086
5174
|
type GiftCardRecipientRel$2 = ResourceRel & {
|
@@ -5160,6 +5248,7 @@ declare class GiftCardRecipients extends ApiResource<GiftCardRecipient> {
|
|
5160
5248
|
relationshipToMany(...ids: string[]): GiftCardRecipientRel$2[];
|
5161
5249
|
type(): GiftCardRecipientType;
|
5162
5250
|
}
|
5251
|
+
declare const instance$1h: GiftCardRecipients;
|
5163
5252
|
|
5164
5253
|
type GiftCardType = 'gift_cards';
|
5165
5254
|
type GiftCardRel$2 = ResourceRel & {
|
@@ -5402,6 +5491,14 @@ interface GiftCardUpdate extends ResourceUpdate {
|
|
5402
5491
|
* @example ```-5000```
|
5403
5492
|
*/
|
5404
5493
|
_balance_change_cents?: number | null;
|
5494
|
+
/**
|
5495
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
5496
|
+
*/
|
5497
|
+
_add_tags?: string | null;
|
5498
|
+
/**
|
5499
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
5500
|
+
*/
|
5501
|
+
_remove_tags?: string | null;
|
5405
5502
|
market?: MarketRel$e | null;
|
5406
5503
|
gift_card_recipient?: GiftCardRecipientRel$1 | null;
|
5407
5504
|
tags?: TagRel$g[] | null;
|
@@ -5421,11 +5518,14 @@ declare class GiftCards extends ApiResource<GiftCard> {
|
|
5421
5518
|
_activate(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
|
5422
5519
|
_deactivate(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
|
5423
5520
|
_balance_change_cents(id: string | GiftCard, triggerValue: number, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
|
5521
|
+
_add_tags(id: string | GiftCard, triggerValue: string, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
|
5522
|
+
_remove_tags(id: string | GiftCard, triggerValue: string, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
|
5424
5523
|
isGiftCard(resource: any): resource is GiftCard;
|
5425
5524
|
relationship(id: string | ResourceId | null): GiftCardRel$2;
|
5426
5525
|
relationshipToMany(...ids: string[]): GiftCardRel$2[];
|
5427
5526
|
type(): GiftCardType;
|
5428
5527
|
}
|
5528
|
+
declare const instance$1g: GiftCards;
|
5429
5529
|
|
5430
5530
|
type AdjustmentType = 'adjustments';
|
5431
5531
|
type AdjustmentRel$2 = ResourceRel & {
|
@@ -5521,6 +5621,7 @@ declare class Adjustments extends ApiResource<Adjustment> {
|
|
5521
5621
|
relationshipToMany(...ids: string[]): AdjustmentRel$2[];
|
5522
5622
|
type(): AdjustmentType;
|
5523
5623
|
}
|
5624
|
+
declare const instance$1f: Adjustments;
|
5524
5625
|
|
5525
5626
|
type DiscountEngineType = 'discount_engines';
|
5526
5627
|
type DiscountEngineRel$1 = ResourceRel & {
|
@@ -5554,6 +5655,7 @@ declare class DiscountEngines extends ApiResource<DiscountEngine> {
|
|
5554
5655
|
relationshipToMany(...ids: string[]): DiscountEngineRel$1[];
|
5555
5656
|
type(): DiscountEngineType;
|
5556
5657
|
}
|
5658
|
+
declare const instance$1e: DiscountEngines;
|
5557
5659
|
|
5558
5660
|
type DiscountEngineItemType = 'discount_engine_items';
|
5559
5661
|
type DiscountEngineItemRel$1 = ResourceRel & {
|
@@ -5579,6 +5681,7 @@ declare class DiscountEngineItems extends ApiResource<DiscountEngineItem> {
|
|
5579
5681
|
relationshipToMany(...ids: string[]): DiscountEngineItemRel$1[];
|
5580
5682
|
type(): DiscountEngineItemType;
|
5581
5683
|
}
|
5684
|
+
declare const instance$1d: DiscountEngineItems;
|
5582
5685
|
|
5583
5686
|
type CouponRecipientType = 'coupon_recipients';
|
5584
5687
|
type CouponRecipientRel$2 = ResourceRel & {
|
@@ -5658,6 +5761,7 @@ declare class CouponRecipients extends ApiResource<CouponRecipient> {
|
|
5658
5761
|
relationshipToMany(...ids: string[]): CouponRecipientRel$2[];
|
5659
5762
|
type(): CouponRecipientType;
|
5660
5763
|
}
|
5764
|
+
declare const instance$1c: CouponRecipients;
|
5661
5765
|
|
5662
5766
|
type CouponType = 'coupons';
|
5663
5767
|
type CouponRel$1 = ResourceRel & {
|
@@ -5764,6 +5868,14 @@ interface CouponUpdate extends ResourceUpdate {
|
|
5764
5868
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
5765
5869
|
*/
|
5766
5870
|
expires_at?: string | null;
|
5871
|
+
/**
|
5872
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
5873
|
+
*/
|
5874
|
+
_add_tags?: string | null;
|
5875
|
+
/**
|
5876
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
5877
|
+
*/
|
5878
|
+
_remove_tags?: string | null;
|
5767
5879
|
promotion_rule?: CouponCodesPromotionRuleRel$9 | null;
|
5768
5880
|
coupon_recipient?: CouponRecipientRel$1 | null;
|
5769
5881
|
tags?: TagRel$f[] | null;
|
@@ -5778,11 +5890,14 @@ declare class Coupons extends ApiResource<Coupon> {
|
|
5778
5890
|
events(couponId: string | Coupon, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
5779
5891
|
tags(couponId: string | Coupon, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
5780
5892
|
versions(couponId: string | Coupon, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
5893
|
+
_add_tags(id: string | Coupon, triggerValue: string, params?: QueryParamsRetrieve<Coupon>, options?: ResourcesConfig): Promise<Coupon>;
|
5894
|
+
_remove_tags(id: string | Coupon, triggerValue: string, params?: QueryParamsRetrieve<Coupon>, options?: ResourcesConfig): Promise<Coupon>;
|
5781
5895
|
isCoupon(resource: any): resource is Coupon;
|
5782
5896
|
relationship(id: string | ResourceId | null): CouponRel$1;
|
5783
5897
|
relationshipToMany(...ids: string[]): CouponRel$1[];
|
5784
5898
|
type(): CouponType;
|
5785
5899
|
}
|
5900
|
+
declare const instance$1b: Coupons;
|
5786
5901
|
|
5787
5902
|
type ExternalPromotionType = 'external_promotions';
|
5788
5903
|
type ExternalPromotionRel$5 = ResourceRel & {
|
@@ -6006,6 +6121,14 @@ interface ExternalPromotionUpdate extends ResourceUpdate {
|
|
6006
6121
|
* @example ```true```
|
6007
6122
|
*/
|
6008
6123
|
_enable?: boolean | null;
|
6124
|
+
/**
|
6125
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
6126
|
+
*/
|
6127
|
+
_add_tags?: string | null;
|
6128
|
+
/**
|
6129
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
6130
|
+
*/
|
6131
|
+
_remove_tags?: string | null;
|
6009
6132
|
/**
|
6010
6133
|
* The URL to the service that will compute the discount.
|
6011
6134
|
* @example ```"https://external_promotion.yourbrand.com"```
|
@@ -6043,12 +6166,15 @@ declare class ExternalPromotions extends ApiResource<ExternalPromotion> {
|
|
6043
6166
|
skus(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
6044
6167
|
_disable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
|
6045
6168
|
_enable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
|
6169
|
+
_add_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
|
6170
|
+
_remove_tags(id: string | ExternalPromotion, triggerValue: string, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
|
6046
6171
|
_reset_circuit(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
|
6047
6172
|
isExternalPromotion(resource: any): resource is ExternalPromotion;
|
6048
6173
|
relationship(id: string | ResourceId | null): ExternalPromotionRel$5;
|
6049
6174
|
relationshipToMany(...ids: string[]): ExternalPromotionRel$5[];
|
6050
6175
|
type(): ExternalPromotionType;
|
6051
6176
|
}
|
6177
|
+
declare const instance$1a: ExternalPromotions;
|
6052
6178
|
|
6053
6179
|
type FixedAmountPromotionType = 'fixed_amount_promotions';
|
6054
6180
|
type FixedAmountPromotionRel$5 = ResourceRel & {
|
@@ -6267,6 +6393,14 @@ interface FixedAmountPromotionUpdate extends ResourceUpdate {
|
|
6267
6393
|
* @example ```true```
|
6268
6394
|
*/
|
6269
6395
|
_enable?: boolean | null;
|
6396
|
+
/**
|
6397
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
6398
|
+
*/
|
6399
|
+
_add_tags?: string | null;
|
6400
|
+
/**
|
6401
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
6402
|
+
*/
|
6403
|
+
_remove_tags?: string | null;
|
6270
6404
|
/**
|
6271
6405
|
* The discount fixed amount to be applied, in cents.
|
6272
6406
|
* @example ```1000```
|
@@ -6299,11 +6433,14 @@ declare class FixedAmountPromotions extends ApiResource<FixedAmountPromotion> {
|
|
6299
6433
|
skus(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
6300
6434
|
_disable(id: string | FixedAmountPromotion, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion>;
|
6301
6435
|
_enable(id: string | FixedAmountPromotion, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion>;
|
6436
|
+
_add_tags(id: string | FixedAmountPromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion>;
|
6437
|
+
_remove_tags(id: string | FixedAmountPromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion>;
|
6302
6438
|
isFixedAmountPromotion(resource: any): resource is FixedAmountPromotion;
|
6303
6439
|
relationship(id: string | ResourceId | null): FixedAmountPromotionRel$5;
|
6304
6440
|
relationshipToMany(...ids: string[]): FixedAmountPromotionRel$5[];
|
6305
6441
|
type(): FixedAmountPromotionType;
|
6306
6442
|
}
|
6443
|
+
declare const instance$19: FixedAmountPromotions;
|
6307
6444
|
|
6308
6445
|
type FlexPromotionType = 'flex_promotions';
|
6309
6446
|
type FlexPromotionRel$5 = ResourceRel & {
|
@@ -6485,6 +6622,14 @@ interface FlexPromotionUpdate extends ResourceUpdate {
|
|
6485
6622
|
* @example ```true```
|
6486
6623
|
*/
|
6487
6624
|
_enable?: boolean | null;
|
6625
|
+
/**
|
6626
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
6627
|
+
*/
|
6628
|
+
_add_tags?: string | null;
|
6629
|
+
/**
|
6630
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
6631
|
+
*/
|
6632
|
+
_remove_tags?: string | null;
|
6488
6633
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$6 | null;
|
6489
6634
|
tags?: TagRel$c[] | null;
|
6490
6635
|
}
|
@@ -6501,11 +6646,14 @@ declare class FlexPromotions extends ApiResource<FlexPromotion> {
|
|
6501
6646
|
versions(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
6502
6647
|
_disable(id: string | FlexPromotion, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
|
6503
6648
|
_enable(id: string | FlexPromotion, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
|
6649
|
+
_add_tags(id: string | FlexPromotion, triggerValue: string, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
|
6650
|
+
_remove_tags(id: string | FlexPromotion, triggerValue: string, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
|
6504
6651
|
isFlexPromotion(resource: any): resource is FlexPromotion;
|
6505
6652
|
relationship(id: string | ResourceId | null): FlexPromotionRel$5;
|
6506
6653
|
relationshipToMany(...ids: string[]): FlexPromotionRel$5[];
|
6507
6654
|
type(): FlexPromotionType;
|
6508
6655
|
}
|
6656
|
+
declare const instance$18: FlexPromotions;
|
6509
6657
|
|
6510
6658
|
type PromotionRuleType = 'promotion_rules';
|
6511
6659
|
type PromotionRuleRel = ResourceRel & {
|
@@ -6525,6 +6673,7 @@ declare class PromotionRules extends ApiResource<PromotionRule> {
|
|
6525
6673
|
relationshipToMany(...ids: string[]): PromotionRuleRel[];
|
6526
6674
|
type(): PromotionRuleType;
|
6527
6675
|
}
|
6676
|
+
declare const instance$17: PromotionRules;
|
6528
6677
|
|
6529
6678
|
type FixedPricePromotionType = 'fixed_price_promotions';
|
6530
6679
|
type FixedPricePromotionRel$5 = ResourceRel & {
|
@@ -6743,6 +6892,14 @@ interface FixedPricePromotionUpdate extends ResourceUpdate {
|
|
6743
6892
|
* @example ```true```
|
6744
6893
|
*/
|
6745
6894
|
_enable?: boolean | null;
|
6895
|
+
/**
|
6896
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
6897
|
+
*/
|
6898
|
+
_add_tags?: string | null;
|
6899
|
+
/**
|
6900
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
6901
|
+
*/
|
6902
|
+
_remove_tags?: string | null;
|
6746
6903
|
/**
|
6747
6904
|
* The price fixed amount to be applied on matching SKUs, in cents.
|
6748
6905
|
* @example ```1000```
|
@@ -6775,11 +6932,14 @@ declare class FixedPricePromotions extends ApiResource<FixedPricePromotion> {
|
|
6775
6932
|
skus(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
6776
6933
|
_disable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
|
6777
6934
|
_enable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
|
6935
|
+
_add_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
|
6936
|
+
_remove_tags(id: string | FixedPricePromotion, triggerValue: string, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
|
6778
6937
|
isFixedPricePromotion(resource: any): resource is FixedPricePromotion;
|
6779
6938
|
relationship(id: string | ResourceId | null): FixedPricePromotionRel$5;
|
6780
6939
|
relationshipToMany(...ids: string[]): FixedPricePromotionRel$5[];
|
6781
6940
|
type(): FixedPricePromotionType;
|
6782
6941
|
}
|
6942
|
+
declare const instance$16: FixedPricePromotions;
|
6783
6943
|
|
6784
6944
|
type CustomPromotionRuleType = 'custom_promotion_rules';
|
6785
6945
|
type CustomPromotionRuleRel$4 = ResourceRel & {
|
@@ -6847,6 +7007,7 @@ declare class CustomPromotionRules extends ApiResource<CustomPromotionRule> {
|
|
6847
7007
|
relationshipToMany(...ids: string[]): CustomPromotionRuleRel$4[];
|
6848
7008
|
type(): CustomPromotionRuleType;
|
6849
7009
|
}
|
7010
|
+
declare const instance$15: CustomPromotionRules;
|
6850
7011
|
|
6851
7012
|
type FreeGiftPromotionType = 'free_gift_promotions';
|
6852
7013
|
type FreeGiftPromotionRel$4 = ResourceRel & {
|
@@ -7055,6 +7216,14 @@ interface FreeGiftPromotionUpdate extends ResourceUpdate {
|
|
7055
7216
|
* @example ```true```
|
7056
7217
|
*/
|
7057
7218
|
_enable?: boolean | null;
|
7219
|
+
/**
|
7220
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
7221
|
+
*/
|
7222
|
+
_add_tags?: string | null;
|
7223
|
+
/**
|
7224
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
7225
|
+
*/
|
7226
|
+
_remove_tags?: string | null;
|
7058
7227
|
/**
|
7059
7228
|
* The max quantity of free gifts globally applicable by the promotion.
|
7060
7229
|
* @example ```3```
|
@@ -7087,11 +7256,14 @@ declare class FreeGiftPromotions extends ApiResource<FreeGiftPromotion> {
|
|
7087
7256
|
skus(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
7088
7257
|
_disable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
|
7089
7258
|
_enable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
|
7259
|
+
_add_tags(id: string | FreeGiftPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
|
7260
|
+
_remove_tags(id: string | FreeGiftPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
|
7090
7261
|
isFreeGiftPromotion(resource: any): resource is FreeGiftPromotion;
|
7091
7262
|
relationship(id: string | ResourceId | null): FreeGiftPromotionRel$4;
|
7092
7263
|
relationshipToMany(...ids: string[]): FreeGiftPromotionRel$4[];
|
7093
7264
|
type(): FreeGiftPromotionType;
|
7094
7265
|
}
|
7266
|
+
declare const instance$14: FreeGiftPromotions;
|
7095
7267
|
|
7096
7268
|
type CouponCodesPromotionRuleType = 'coupon_codes_promotion_rules';
|
7097
7269
|
type CouponCodesPromotionRuleRel$3 = ResourceRel & {
|
@@ -7151,6 +7323,7 @@ declare class CouponCodesPromotionRules extends ApiResource<CouponCodesPromotion
|
|
7151
7323
|
relationshipToMany(...ids: string[]): CouponCodesPromotionRuleRel$3[];
|
7152
7324
|
type(): CouponCodesPromotionRuleType;
|
7153
7325
|
}
|
7326
|
+
declare const instance$13: CouponCodesPromotionRules;
|
7154
7327
|
|
7155
7328
|
type BuyXPayYPromotionType = 'buy_x_pay_y_promotions';
|
7156
7329
|
type BuyXPayYPromotionRel$3 = ResourceRel & {
|
@@ -7379,6 +7552,14 @@ interface BuyXPayYPromotionUpdate extends ResourceUpdate {
|
|
7379
7552
|
* @example ```true```
|
7380
7553
|
*/
|
7381
7554
|
_enable?: boolean | null;
|
7555
|
+
/**
|
7556
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
7557
|
+
*/
|
7558
|
+
_add_tags?: string | null;
|
7559
|
+
/**
|
7560
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
7561
|
+
*/
|
7562
|
+
_remove_tags?: string | null;
|
7382
7563
|
/**
|
7383
7564
|
* The quantity which defines the threshold for free items (works by multiple of x).
|
7384
7565
|
* @example ```3```
|
@@ -7421,11 +7602,14 @@ declare class BuyXPayYPromotions extends ApiResource<BuyXPayYPromotion> {
|
|
7421
7602
|
skus(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
7422
7603
|
_disable(id: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
|
7423
7604
|
_enable(id: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
|
7605
|
+
_add_tags(id: string | BuyXPayYPromotion, triggerValue: string, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
|
7606
|
+
_remove_tags(id: string | BuyXPayYPromotion, triggerValue: string, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
|
7424
7607
|
isBuyXPayYPromotion(resource: any): resource is BuyXPayYPromotion;
|
7425
7608
|
relationship(id: string | ResourceId | null): BuyXPayYPromotionRel$3;
|
7426
7609
|
relationshipToMany(...ids: string[]): BuyXPayYPromotionRel$3[];
|
7427
7610
|
type(): BuyXPayYPromotionType;
|
7428
7611
|
}
|
7612
|
+
declare const instance$12: BuyXPayYPromotions;
|
7429
7613
|
|
7430
7614
|
type SkuListPromotionRuleType = 'sku_list_promotion_rules';
|
7431
7615
|
type SkuListPromotionRuleRel$2 = ResourceRel & {
|
@@ -7517,6 +7701,7 @@ declare class SkuListPromotionRules extends ApiResource<SkuListPromotionRule> {
|
|
7517
7701
|
relationshipToMany(...ids: string[]): SkuListPromotionRuleRel$2[];
|
7518
7702
|
type(): SkuListPromotionRuleType;
|
7519
7703
|
}
|
7704
|
+
declare const instance$11: SkuListPromotionRules;
|
7520
7705
|
|
7521
7706
|
type FreeShippingPromotionType = 'free_shipping_promotions';
|
7522
7707
|
type FreeShippingPromotionRel$2 = ResourceRel & {
|
@@ -7714,6 +7899,14 @@ interface FreeShippingPromotionUpdate extends ResourceUpdate {
|
|
7714
7899
|
* @example ```true```
|
7715
7900
|
*/
|
7716
7901
|
_enable?: boolean | null;
|
7902
|
+
/**
|
7903
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
7904
|
+
*/
|
7905
|
+
_add_tags?: string | null;
|
7906
|
+
/**
|
7907
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
7908
|
+
*/
|
7909
|
+
_remove_tags?: string | null;
|
7717
7910
|
market?: MarketRel$8 | null;
|
7718
7911
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$2 | null;
|
7719
7912
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$1 | null;
|
@@ -7740,11 +7933,14 @@ declare class FreeShippingPromotions extends ApiResource<FreeShippingPromotion>
|
|
7740
7933
|
versions(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
7741
7934
|
_disable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
|
7742
7935
|
_enable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
|
7936
|
+
_add_tags(id: string | FreeShippingPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
|
7937
|
+
_remove_tags(id: string | FreeShippingPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
|
7743
7938
|
isFreeShippingPromotion(resource: any): resource is FreeShippingPromotion;
|
7744
7939
|
relationship(id: string | ResourceId | null): FreeShippingPromotionRel$2;
|
7745
7940
|
relationshipToMany(...ids: string[]): FreeShippingPromotionRel$2[];
|
7746
7941
|
type(): FreeShippingPromotionType;
|
7747
7942
|
}
|
7943
|
+
declare const instance$10: FreeShippingPromotions;
|
7748
7944
|
|
7749
7945
|
type OrderAmountPromotionRuleType = 'order_amount_promotion_rules';
|
7750
7946
|
type OrderAmountPromotionRuleRel$1 = ResourceRel & {
|
@@ -7837,6 +8033,7 @@ declare class OrderAmountPromotionRules extends ApiResource<OrderAmountPromotion
|
|
7837
8033
|
relationshipToMany(...ids: string[]): OrderAmountPromotionRuleRel$1[];
|
7838
8034
|
type(): OrderAmountPromotionRuleType;
|
7839
8035
|
}
|
8036
|
+
declare const instance$$: OrderAmountPromotionRules;
|
7840
8037
|
|
7841
8038
|
type PercentageDiscountPromotionType = 'percentage_discount_promotions';
|
7842
8039
|
type PercentageDiscountPromotionRel$1 = ResourceRel & {
|
@@ -8045,6 +8242,14 @@ interface PercentageDiscountPromotionUpdate extends ResourceUpdate {
|
|
8045
8242
|
* @example ```true```
|
8046
8243
|
*/
|
8047
8244
|
_enable?: boolean | null;
|
8245
|
+
/**
|
8246
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
8247
|
+
*/
|
8248
|
+
_add_tags?: string | null;
|
8249
|
+
/**
|
8250
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
8251
|
+
*/
|
8252
|
+
_remove_tags?: string | null;
|
8048
8253
|
/**
|
8049
8254
|
* The discount percentage to be applied.
|
8050
8255
|
* @example ```10```
|
@@ -8077,11 +8282,14 @@ declare class PercentageDiscountPromotions extends ApiResource<PercentageDiscoun
|
|
8077
8282
|
skus(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
8078
8283
|
_disable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
|
8079
8284
|
_enable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
|
8285
|
+
_add_tags(id: string | PercentageDiscountPromotion, triggerValue: string, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
|
8286
|
+
_remove_tags(id: string | PercentageDiscountPromotion, triggerValue: string, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
|
8080
8287
|
isPercentageDiscountPromotion(resource: any): resource is PercentageDiscountPromotion;
|
8081
8288
|
relationship(id: string | ResourceId | null): PercentageDiscountPromotionRel$1;
|
8082
8289
|
relationshipToMany(...ids: string[]): PercentageDiscountPromotionRel$1[];
|
8083
8290
|
type(): PercentageDiscountPromotionType;
|
8084
8291
|
}
|
8292
|
+
declare const instance$_: PercentageDiscountPromotions;
|
8085
8293
|
|
8086
8294
|
type LineItemType = 'line_items';
|
8087
8295
|
type LineItemRel$1 = ResourceRel & {
|
@@ -8102,7 +8310,7 @@ type GiftCardRel$1 = ResourceRel & {
|
|
8102
8310
|
type ShipmentRel$5 = ResourceRel & {
|
8103
8311
|
type: ShipmentType;
|
8104
8312
|
};
|
8105
|
-
type PaymentMethodRel$
|
8313
|
+
type PaymentMethodRel$3 = ResourceRel & {
|
8106
8314
|
type: PaymentMethodType;
|
8107
8315
|
};
|
8108
8316
|
type AdjustmentRel$1 = ResourceRel & {
|
@@ -8385,7 +8593,7 @@ interface LineItemCreate extends ResourceCreate {
|
|
8385
8593
|
*/
|
8386
8594
|
frequency?: string | null;
|
8387
8595
|
order: OrderRel$7;
|
8388
|
-
item?: SkuRel$8 | BundleRel$2 | GiftCardRel$1 | ShipmentRel$5 | PaymentMethodRel$
|
8596
|
+
item?: SkuRel$8 | BundleRel$2 | GiftCardRel$1 | ShipmentRel$5 | PaymentMethodRel$3 | AdjustmentRel$1 | DiscountEngineItemRel | PercentageDiscountPromotionRel | FreeShippingPromotionRel | BuyXPayYPromotionRel | FreeGiftPromotionRel | FixedPricePromotionRel | ExternalPromotionRel | FixedAmountPromotionRel | FlexPromotionRel | null;
|
8389
8597
|
tags?: TagRel$6[] | null;
|
8390
8598
|
}
|
8391
8599
|
interface LineItemUpdate extends ResourceUpdate {
|
@@ -8449,6 +8657,14 @@ interface LineItemUpdate extends ResourceUpdate {
|
|
8449
8657
|
* @example ```true```
|
8450
8658
|
*/
|
8451
8659
|
_reset_circuit?: boolean | null;
|
8660
|
+
/**
|
8661
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
8662
|
+
*/
|
8663
|
+
_add_tags?: string | null;
|
8664
|
+
/**
|
8665
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
8666
|
+
*/
|
8667
|
+
_remove_tags?: string | null;
|
8452
8668
|
tags?: TagRel$6[] | null;
|
8453
8669
|
}
|
8454
8670
|
declare class LineItems extends ApiResource<LineItem> {
|
@@ -8468,11 +8684,14 @@ declare class LineItems extends ApiResource<LineItem> {
|
|
8468
8684
|
_external_price(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8469
8685
|
_reserve_stock(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8470
8686
|
_reset_circuit(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8687
|
+
_add_tags(id: string | LineItem, triggerValue: string, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8688
|
+
_remove_tags(id: string | LineItem, triggerValue: string, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8471
8689
|
isLineItem(resource: any): resource is LineItem;
|
8472
8690
|
relationship(id: string | ResourceId | null): LineItemRel$1;
|
8473
8691
|
relationshipToMany(...ids: string[]): LineItemRel$1[];
|
8474
8692
|
type(): LineItemType;
|
8475
8693
|
}
|
8694
|
+
declare const instance$Z: LineItems;
|
8476
8695
|
|
8477
8696
|
type OrderSubscriptionItemType = 'order_subscription_items';
|
8478
8697
|
type OrderSubscriptionItemRel = ResourceRel & {
|
@@ -8606,6 +8825,7 @@ declare class OrderSubscriptionItems extends ApiResource<OrderSubscriptionItem>
|
|
8606
8825
|
relationshipToMany(...ids: string[]): OrderSubscriptionItemRel[];
|
8607
8826
|
type(): OrderSubscriptionItemType;
|
8608
8827
|
}
|
8828
|
+
declare const instance$Y: OrderSubscriptionItems;
|
8609
8829
|
|
8610
8830
|
type OrderFactoryType = 'order_factories';
|
8611
8831
|
type OrderFactoryRel = ResourceRel & {
|
@@ -8668,6 +8888,7 @@ declare class OrderFactories extends ApiResource<OrderFactory> {
|
|
8668
8888
|
relationshipToMany(...ids: string[]): OrderFactoryRel[];
|
8669
8889
|
type(): OrderFactoryType;
|
8670
8890
|
}
|
8891
|
+
declare const instance$X: OrderFactories;
|
8671
8892
|
|
8672
8893
|
type RecurringOrderCopyType = 'recurring_order_copies';
|
8673
8894
|
type RecurringOrderCopyRel = ResourceRel & {
|
@@ -8756,6 +8977,7 @@ declare class RecurringOrderCopies extends ApiResource<RecurringOrderCopy> {
|
|
8756
8977
|
relationshipToMany(...ids: string[]): RecurringOrderCopyRel[];
|
8757
8978
|
type(): RecurringOrderCopyType;
|
8758
8979
|
}
|
8980
|
+
declare const instance$W: RecurringOrderCopies;
|
8759
8981
|
|
8760
8982
|
type OrderSubscriptionType = 'order_subscriptions';
|
8761
8983
|
type OrderSubscriptionRel = ResourceRel & {
|
@@ -8782,10 +9004,10 @@ interface OrderSubscription extends Resource {
|
|
8782
9004
|
*/
|
8783
9005
|
number?: string | null;
|
8784
9006
|
/**
|
8785
|
-
* The subscription status. One of 'draft' (default), 'inactive', 'active', or 'cancelled'.
|
9007
|
+
* The subscription status. One of 'draft' (default), 'inactive', 'active', 'running', or 'cancelled'.
|
8786
9008
|
* @example ```"draft"```
|
8787
9009
|
*/
|
8788
|
-
status: 'draft' | 'inactive' | 'active' | 'cancelled';
|
9010
|
+
status: 'draft' | 'inactive' | 'active' | 'running' | 'cancelled';
|
8789
9011
|
/**
|
8790
9012
|
* The frequency of the subscription. Use one of the supported within 'hourly', 'daily', 'weekly', 'monthly', 'two-month', 'three-month', 'four-month', 'six-month', 'yearly', or provide your custom crontab expression (min unit is hour). Must be supported by existing associated subscription_model.
|
8791
9013
|
* @example ```"monthly"```
|
@@ -8945,6 +9167,14 @@ interface OrderSubscriptionUpdate extends ResourceUpdate {
|
|
8945
9167
|
* @example ```true```
|
8946
9168
|
*/
|
8947
9169
|
_convert?: boolean | null;
|
9170
|
+
/**
|
9171
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
9172
|
+
*/
|
9173
|
+
_add_tags?: string | null;
|
9174
|
+
/**
|
9175
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
9176
|
+
*/
|
9177
|
+
_remove_tags?: string | null;
|
8948
9178
|
customer_payment_source?: CustomerPaymentSourceRel | null;
|
8949
9179
|
tags?: TagRel$5[] | null;
|
8950
9180
|
}
|
@@ -8969,11 +9199,14 @@ declare class OrderSubscriptions extends ApiResource<OrderSubscription> {
|
|
8969
9199
|
_deactivate(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
|
8970
9200
|
_cancel(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
|
8971
9201
|
_convert(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
|
9202
|
+
_add_tags(id: string | OrderSubscription, triggerValue: string, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
|
9203
|
+
_remove_tags(id: string | OrderSubscription, triggerValue: string, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
|
8972
9204
|
isOrderSubscription(resource: any): resource is OrderSubscription;
|
8973
9205
|
relationship(id: string | ResourceId | null): OrderSubscriptionRel;
|
8974
9206
|
relationshipToMany(...ids: string[]): OrderSubscriptionRel[];
|
8975
9207
|
type(): OrderSubscriptionType;
|
8976
9208
|
}
|
9209
|
+
declare const instance$V: OrderSubscriptions;
|
8977
9210
|
|
8978
9211
|
type CustomerType = 'customers';
|
8979
9212
|
type CustomerRel$3 = ResourceRel & {
|
@@ -9089,6 +9322,14 @@ interface CustomerUpdate extends ResourceUpdate {
|
|
9089
9322
|
* @example ```"xxx-yyy-zzz"```
|
9090
9323
|
*/
|
9091
9324
|
tax_exemption_code?: string | null;
|
9325
|
+
/**
|
9326
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
9327
|
+
*/
|
9328
|
+
_add_tags?: string | null;
|
9329
|
+
/**
|
9330
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
9331
|
+
*/
|
9332
|
+
_remove_tags?: string | null;
|
9092
9333
|
customer_group?: CustomerGroupRel$2 | null;
|
9093
9334
|
tags?: TagRel$4[] | null;
|
9094
9335
|
}
|
@@ -9108,11 +9349,14 @@ declare class Customers extends ApiResource<Customer> {
|
|
9108
9349
|
attachments(customerId: string | Customer, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
9109
9350
|
events(customerId: string | Customer, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
9110
9351
|
tags(customerId: string | Customer, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
9352
|
+
_add_tags(id: string | Customer, triggerValue: string, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
|
9353
|
+
_remove_tags(id: string | Customer, triggerValue: string, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
|
9111
9354
|
isCustomer(resource: any): resource is Customer;
|
9112
9355
|
relationship(id: string | ResourceId | null): CustomerRel$3;
|
9113
9356
|
relationshipToMany(...ids: string[]): CustomerRel$3[];
|
9114
9357
|
type(): CustomerType;
|
9115
9358
|
}
|
9359
|
+
declare const instance$U: Customers;
|
9116
9360
|
|
9117
9361
|
type PaymentOptionType = 'payment_options';
|
9118
9362
|
type PaymentOptionRel$1 = ResourceRel & {
|
@@ -9185,6 +9429,7 @@ declare class PaymentOptions extends ApiResource<PaymentOption> {
|
|
9185
9429
|
relationshipToMany(...ids: string[]): PaymentOptionRel$1[];
|
9186
9430
|
type(): PaymentOptionType;
|
9187
9431
|
}
|
9432
|
+
declare const instance$T: PaymentOptions;
|
9188
9433
|
|
9189
9434
|
type OrderCopyType = 'order_copies';
|
9190
9435
|
type OrderCopyRel = ResourceRel & {
|
@@ -9309,6 +9554,7 @@ declare class OrderCopies extends ApiResource<OrderCopy> {
|
|
9309
9554
|
relationshipToMany(...ids: string[]): OrderCopyRel[];
|
9310
9555
|
type(): OrderCopyType;
|
9311
9556
|
}
|
9557
|
+
declare const instance$S: OrderCopies;
|
9312
9558
|
|
9313
9559
|
type OrderType = 'orders';
|
9314
9560
|
type OrderRel$2 = ResourceRel & {
|
@@ -9326,7 +9572,7 @@ type AddressRel$4 = ResourceRel & {
|
|
9326
9572
|
type StoreRel = ResourceRel & {
|
9327
9573
|
type: StoreType;
|
9328
9574
|
};
|
9329
|
-
type PaymentMethodRel$
|
9575
|
+
type PaymentMethodRel$2 = ResourceRel & {
|
9330
9576
|
type: PaymentMethodType;
|
9331
9577
|
};
|
9332
9578
|
type AdyenPaymentRel$1 = ResourceRel & {
|
@@ -9901,6 +10147,8 @@ interface Order extends Resource {
|
|
9901
10147
|
shipping_address?: Address | null;
|
9902
10148
|
billing_address?: Address | null;
|
9903
10149
|
store?: Store | null;
|
10150
|
+
default_shipping_method?: ShippingMethod | null;
|
10151
|
+
default_payment_method?: PaymentMethod | null;
|
9904
10152
|
available_payment_methods?: PaymentMethod[] | null;
|
9905
10153
|
available_customer_payment_sources?: CustomerPaymentSource[] | null;
|
9906
10154
|
available_free_skus?: Sku[] | null;
|
@@ -10033,7 +10281,7 @@ interface OrderCreate extends ResourceCreate {
|
|
10033
10281
|
shipping_address?: AddressRel$4 | null;
|
10034
10282
|
billing_address?: AddressRel$4 | null;
|
10035
10283
|
store?: StoreRel | null;
|
10036
|
-
payment_method?: PaymentMethodRel$
|
10284
|
+
payment_method?: PaymentMethodRel$2 | null;
|
10037
10285
|
payment_source?: AdyenPaymentRel$1 | AxervePaymentRel$1 | BraintreePaymentRel$1 | CheckoutComPaymentRel$1 | ExternalPaymentRel | KlarnaPaymentRel$1 | PaypalPaymentRel | SatispayPaymentRel$1 | StripePaymentRel | WireTransferRel | null;
|
10038
10286
|
tags?: TagRel$3[] | null;
|
10039
10287
|
}
|
@@ -10286,12 +10534,20 @@ interface OrderUpdate extends ResourceUpdate {
|
|
10286
10534
|
* @example ```true```
|
10287
10535
|
*/
|
10288
10536
|
_reset_circuit?: boolean | null;
|
10537
|
+
/**
|
10538
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
10539
|
+
*/
|
10540
|
+
_add_tags?: string | null;
|
10541
|
+
/**
|
10542
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
10543
|
+
*/
|
10544
|
+
_remove_tags?: string | null;
|
10289
10545
|
market?: MarketRel$5 | null;
|
10290
10546
|
customer?: CustomerRel$2 | null;
|
10291
10547
|
shipping_address?: AddressRel$4 | null;
|
10292
10548
|
billing_address?: AddressRel$4 | null;
|
10293
10549
|
store?: StoreRel | null;
|
10294
|
-
payment_method?: PaymentMethodRel$
|
10550
|
+
payment_method?: PaymentMethodRel$2 | null;
|
10295
10551
|
payment_source?: AdyenPaymentRel$1 | AxervePaymentRel$1 | BraintreePaymentRel$1 | CheckoutComPaymentRel$1 | ExternalPaymentRel | KlarnaPaymentRel$1 | PaypalPaymentRel | SatispayPaymentRel$1 | StripePaymentRel | WireTransferRel | null;
|
10296
10552
|
tags?: TagRel$3[] | null;
|
10297
10553
|
}
|
@@ -10305,6 +10561,8 @@ declare class Orders extends ApiResource<Order> {
|
|
10305
10561
|
shipping_address(orderId: string | Order, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
|
10306
10562
|
billing_address(orderId: string | Order, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
|
10307
10563
|
store(orderId: string | Order, params?: QueryParamsRetrieve<Store>, options?: ResourcesConfig): Promise<Store>;
|
10564
|
+
default_shipping_method(orderId: string | Order, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
|
10565
|
+
default_payment_method(orderId: string | Order, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
|
10308
10566
|
available_payment_methods(orderId: string | Order, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
10309
10567
|
available_customer_payment_sources(orderId: string | Order, params?: QueryParamsList<CustomerPaymentSource>, options?: ResourcesConfig): Promise<ListResponse<CustomerPaymentSource>>;
|
10310
10568
|
available_free_skus(orderId: string | Order, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
@@ -10365,11 +10623,14 @@ declare class Orders extends ApiResource<Order> {
|
|
10365
10623
|
_start_editing(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
10366
10624
|
_stop_editing(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
10367
10625
|
_reset_circuit(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
10626
|
+
_add_tags(id: string | Order, triggerValue: string, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
10627
|
+
_remove_tags(id: string | Order, triggerValue: string, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
10368
10628
|
isOrder(resource: any): resource is Order;
|
10369
10629
|
relationship(id: string | ResourceId | null): OrderRel$2;
|
10370
10630
|
relationshipToMany(...ids: string[]): OrderRel$2[];
|
10371
10631
|
type(): OrderType;
|
10372
10632
|
}
|
10633
|
+
declare const instance$R: Orders;
|
10373
10634
|
|
10374
10635
|
type PackageType = 'packages';
|
10375
10636
|
type PackageRel$2 = ResourceRel & {
|
@@ -10496,6 +10757,7 @@ declare class Packages extends ApiResource<Package> {
|
|
10496
10757
|
relationshipToMany(...ids: string[]): PackageRel$2[];
|
10497
10758
|
type(): PackageType;
|
10498
10759
|
}
|
10760
|
+
declare const instance$Q: Packages;
|
10499
10761
|
|
10500
10762
|
type ParcelLineItemType = 'parcel_line_items';
|
10501
10763
|
type ParcelLineItemRel = ResourceRel & {
|
@@ -10562,6 +10824,7 @@ declare class ParcelLineItems extends ApiResource<ParcelLineItem> {
|
|
10562
10824
|
relationshipToMany(...ids: string[]): ParcelLineItemRel[];
|
10563
10825
|
type(): ParcelLineItemType;
|
10564
10826
|
}
|
10827
|
+
declare const instance$P: ParcelLineItems;
|
10565
10828
|
|
10566
10829
|
type ParcelType = 'parcels';
|
10567
10830
|
type ParcelRel$1 = ResourceRel & {
|
@@ -10676,7 +10939,7 @@ interface Parcel extends Resource {
|
|
10676
10939
|
* The parcel's full tracking history, automatically updated in real time by the shipping carrier.
|
10677
10940
|
* @example ```[{"object":"TrackingDetail","message":"Pre-Shipment information received","status":"pre_transit","datetime":"2018-02-27T16:02:17Z","source":"DHLExpress","tracking_location":{"object":"TrackingLocation"}}]```
|
10678
10941
|
*/
|
10679
|
-
tracking_details?: Record<string, any
|
10942
|
+
tracking_details?: Array<Record<string, any>> | null;
|
10680
10943
|
/**
|
10681
10944
|
* The weight of the parcel as measured by the carrier in ounces (if available).
|
10682
10945
|
* @example ```"42.32"```
|
@@ -10800,7 +11063,7 @@ interface ParcelCreate extends ResourceCreate {
|
|
10800
11063
|
* The parcel's full tracking history, automatically updated in real time by the shipping carrier.
|
10801
11064
|
* @example ```[{"object":"TrackingDetail","message":"Pre-Shipment information received","status":"pre_transit","datetime":"2018-02-27T16:02:17Z","source":"DHLExpress","tracking_location":{"object":"TrackingLocation"}}]```
|
10802
11065
|
*/
|
10803
|
-
tracking_details?: Record<string, any
|
11066
|
+
tracking_details?: Array<Record<string, any>> | null;
|
10804
11067
|
/**
|
10805
11068
|
* The weight of the parcel as measured by the carrier in ounces (if available).
|
10806
11069
|
* @example ```"42.32"```
|
@@ -10920,7 +11183,7 @@ interface ParcelUpdate extends ResourceUpdate {
|
|
10920
11183
|
* The parcel's full tracking history, automatically updated in real time by the shipping carrier.
|
10921
11184
|
* @example ```[{"object":"TrackingDetail","message":"Pre-Shipment information received","status":"pre_transit","datetime":"2018-02-27T16:02:17Z","source":"DHLExpress","tracking_location":{"object":"TrackingLocation"}}]```
|
10922
11185
|
*/
|
10923
|
-
tracking_details?: Record<string, any
|
11186
|
+
tracking_details?: Array<Record<string, any>> | null;
|
10924
11187
|
/**
|
10925
11188
|
* The weight of the parcel as measured by the carrier in ounces (if available).
|
10926
11189
|
* @example ```"42.32"```
|
@@ -10960,6 +11223,7 @@ declare class Parcels extends ApiResource<Parcel> {
|
|
10960
11223
|
relationshipToMany(...ids: string[]): ParcelRel$1[];
|
10961
11224
|
type(): ParcelType;
|
10962
11225
|
}
|
11226
|
+
declare const instance$O: Parcels;
|
10963
11227
|
|
10964
11228
|
type PickupType = 'pickups';
|
10965
11229
|
type PickupRel = ResourceRel & {
|
@@ -10992,6 +11256,7 @@ declare class Pickups extends ApiResource<Pickup> {
|
|
10992
11256
|
relationshipToMany(...ids: string[]): PickupRel[];
|
10993
11257
|
type(): PickupType;
|
10994
11258
|
}
|
11259
|
+
declare const instance$N: Pickups;
|
10995
11260
|
|
10996
11261
|
type CarrierAccountType = 'carrier_accounts';
|
10997
11262
|
type CarrierAccountRel$1 = ResourceRel & {
|
@@ -11076,6 +11341,7 @@ declare class CarrierAccounts extends ApiResource<CarrierAccount> {
|
|
11076
11341
|
relationshipToMany(...ids: string[]): CarrierAccountRel$1[];
|
11077
11342
|
type(): CarrierAccountType;
|
11078
11343
|
}
|
11344
|
+
declare const instance$M: CarrierAccounts;
|
11079
11345
|
|
11080
11346
|
type ShipmentType = 'shipments';
|
11081
11347
|
type ShipmentRel$3 = ResourceRel & {
|
@@ -11093,7 +11359,7 @@ type InventoryStockLocationRel = ResourceRel & {
|
|
11093
11359
|
type AddressRel$3 = ResourceRel & {
|
11094
11360
|
type: AddressType;
|
11095
11361
|
};
|
11096
|
-
type ShippingMethodRel$
|
11362
|
+
type ShippingMethodRel$2 = ResourceRel & {
|
11097
11363
|
type: ShippingMethodType;
|
11098
11364
|
};
|
11099
11365
|
type TagRel$2 = ResourceRel & {
|
@@ -11237,7 +11503,7 @@ interface ShipmentCreate extends ResourceCreate {
|
|
11237
11503
|
shipping_category?: ShippingCategoryRel$2 | null;
|
11238
11504
|
inventory_stock_location: InventoryStockLocationRel;
|
11239
11505
|
shipping_address?: AddressRel$3 | null;
|
11240
|
-
shipping_method?: ShippingMethodRel$
|
11506
|
+
shipping_method?: ShippingMethodRel$2 | null;
|
11241
11507
|
tags?: TagRel$2[] | null;
|
11242
11508
|
}
|
11243
11509
|
interface ShipmentUpdate extends ResourceUpdate {
|
@@ -11316,10 +11582,18 @@ interface ShipmentUpdate extends ResourceUpdate {
|
|
11316
11582
|
* @example ```true```
|
11317
11583
|
*/
|
11318
11584
|
_purchase?: boolean | null;
|
11585
|
+
/**
|
11586
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
11587
|
+
*/
|
11588
|
+
_add_tags?: string | null;
|
11589
|
+
/**
|
11590
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
11591
|
+
*/
|
11592
|
+
_remove_tags?: string | null;
|
11319
11593
|
shipping_category?: ShippingCategoryRel$2 | null;
|
11320
11594
|
inventory_stock_location?: InventoryStockLocationRel | null;
|
11321
11595
|
shipping_address?: AddressRel$3 | null;
|
11322
|
-
shipping_method?: ShippingMethodRel$
|
11596
|
+
shipping_method?: ShippingMethodRel$2 | null;
|
11323
11597
|
tags?: TagRel$2[] | null;
|
11324
11598
|
}
|
11325
11599
|
declare class Shipments extends ApiResource<Shipment> {
|
@@ -11359,11 +11633,14 @@ declare class Shipments extends ApiResource<Shipment> {
|
|
11359
11633
|
_decrement_stock(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11360
11634
|
_get_rates(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11361
11635
|
_purchase(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11636
|
+
_add_tags(id: string | Shipment, triggerValue: string, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11637
|
+
_remove_tags(id: string | Shipment, triggerValue: string, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11362
11638
|
isShipment(resource: any): resource is Shipment;
|
11363
11639
|
relationship(id: string | ResourceId | null): ShipmentRel$3;
|
11364
11640
|
relationshipToMany(...ids: string[]): ShipmentRel$3[];
|
11365
11641
|
type(): ShipmentType;
|
11366
11642
|
}
|
11643
|
+
declare const instance$L: Shipments;
|
11367
11644
|
|
11368
11645
|
type StockTransferType = 'stock_transfers';
|
11369
11646
|
type StockTransferRel$1 = ResourceRel & {
|
@@ -11538,6 +11815,7 @@ declare class StockTransfers extends ApiResource<StockTransfer> {
|
|
11538
11815
|
relationshipToMany(...ids: string[]): StockTransferRel$1[];
|
11539
11816
|
type(): StockTransferType;
|
11540
11817
|
}
|
11818
|
+
declare const instance$K: StockTransfers;
|
11541
11819
|
|
11542
11820
|
type StockLocationType = 'stock_locations';
|
11543
11821
|
type StockLocationRel$2 = ResourceRel & {
|
@@ -11644,6 +11922,7 @@ declare class StockLocations extends ApiResource<StockLocation> {
|
|
11644
11922
|
relationshipToMany(...ids: string[]): StockLocationRel$2[];
|
11645
11923
|
type(): StockLocationType;
|
11646
11924
|
}
|
11925
|
+
declare const instance$J: StockLocations;
|
11647
11926
|
|
11648
11927
|
type StockItemType = 'stock_items';
|
11649
11928
|
type StockItemRel$1 = ResourceRel & {
|
@@ -11725,6 +12004,7 @@ declare class StockItems extends ApiResource<StockItem> {
|
|
11725
12004
|
relationshipToMany(...ids: string[]): StockItemRel$1[];
|
11726
12005
|
type(): StockItemType;
|
11727
12006
|
}
|
12007
|
+
declare const instance$I: StockItems;
|
11728
12008
|
|
11729
12009
|
type SkuType = 'skus';
|
11730
12010
|
type SkuRel$4 = ResourceRel & {
|
@@ -11915,6 +12195,14 @@ interface SkuUpdate extends ResourceUpdate {
|
|
11915
12195
|
* Indicates if the SKU doesn't track the stock inventory.
|
11916
12196
|
*/
|
11917
12197
|
do_not_track?: boolean | null;
|
12198
|
+
/**
|
12199
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
12200
|
+
*/
|
12201
|
+
_add_tags?: string | null;
|
12202
|
+
/**
|
12203
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
12204
|
+
*/
|
12205
|
+
_remove_tags?: string | null;
|
11918
12206
|
shipping_category?: ShippingCategoryRel$1 | null;
|
11919
12207
|
tags?: TagRel$1[] | null;
|
11920
12208
|
}
|
@@ -11939,11 +12227,14 @@ declare class Skus extends ApiResource<Sku> {
|
|
11939
12227
|
jwt_customer(skuId: string | Sku, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
|
11940
12228
|
jwt_markets(skuId: string | Sku, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
|
11941
12229
|
jwt_stock_locations(skuId: string | Sku, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>>;
|
12230
|
+
_add_tags(id: string | Sku, triggerValue: string, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
|
12231
|
+
_remove_tags(id: string | Sku, triggerValue: string, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
|
11942
12232
|
isSku(resource: any): resource is Sku;
|
11943
12233
|
relationship(id: string | ResourceId | null): SkuRel$4;
|
11944
12234
|
relationshipToMany(...ids: string[]): SkuRel$4[];
|
11945
12235
|
type(): SkuType;
|
11946
12236
|
}
|
12237
|
+
declare const instance$H: Skus;
|
11947
12238
|
|
11948
12239
|
type PriceTierType = 'price_tiers';
|
11949
12240
|
type PriceTierRel$2 = ResourceRel & {
|
@@ -11991,6 +12282,7 @@ declare class PriceTiers extends ApiResource<PriceTier> {
|
|
11991
12282
|
relationshipToMany(...ids: string[]): PriceTierRel$2[];
|
11992
12283
|
type(): PriceTierType;
|
11993
12284
|
}
|
12285
|
+
declare const instance$G: PriceTiers;
|
11994
12286
|
|
11995
12287
|
type PriceVolumeTierType = 'price_volume_tiers';
|
11996
12288
|
type PriceVolumeTierRel = ResourceRel & {
|
@@ -12082,6 +12374,7 @@ declare class PriceVolumeTiers extends ApiResource<PriceVolumeTier> {
|
|
12082
12374
|
relationshipToMany(...ids: string[]): PriceVolumeTierRel[];
|
12083
12375
|
type(): PriceVolumeTierType;
|
12084
12376
|
}
|
12377
|
+
declare const instance$F: PriceVolumeTiers;
|
12085
12378
|
|
12086
12379
|
type PriceFrequencyTierType = 'price_frequency_tiers';
|
12087
12380
|
type PriceFrequencyTierRel = ResourceRel & {
|
@@ -12173,6 +12466,7 @@ declare class PriceFrequencyTiers extends ApiResource<PriceFrequencyTier> {
|
|
12173
12466
|
relationshipToMany(...ids: string[]): PriceFrequencyTierRel[];
|
12174
12467
|
type(): PriceFrequencyTierType;
|
12175
12468
|
}
|
12469
|
+
declare const instance$E: PriceFrequencyTiers;
|
12176
12470
|
|
12177
12471
|
type PriceType = 'prices';
|
12178
12472
|
type PriceRel$1 = ResourceRel & {
|
@@ -12351,6 +12645,7 @@ declare class Prices extends ApiResource<Price> {
|
|
12351
12645
|
relationshipToMany(...ids: string[]): PriceRel$1[];
|
12352
12646
|
type(): PriceType;
|
12353
12647
|
}
|
12648
|
+
declare const instance$D: Prices;
|
12354
12649
|
|
12355
12650
|
type PriceListSchedulerType = 'price_list_schedulers';
|
12356
12651
|
type PriceListSchedulerRel = ResourceRel & {
|
@@ -12474,6 +12769,7 @@ declare class PriceListSchedulers extends ApiResource<PriceListScheduler> {
|
|
12474
12769
|
relationshipToMany(...ids: string[]): PriceListSchedulerRel[];
|
12475
12770
|
type(): PriceListSchedulerType;
|
12476
12771
|
}
|
12772
|
+
declare const instance$C: PriceListSchedulers;
|
12477
12773
|
|
12478
12774
|
type PriceListType = 'price_lists';
|
12479
12775
|
type PriceListRel$2 = ResourceRel & {
|
@@ -12590,6 +12886,7 @@ declare class PriceLists extends ApiResource<PriceList> {
|
|
12590
12886
|
relationshipToMany(...ids: string[]): PriceListRel$2[];
|
12591
12887
|
type(): PriceListType;
|
12592
12888
|
}
|
12889
|
+
declare const instance$B: PriceLists;
|
12593
12890
|
|
12594
12891
|
type TransactionType = 'transactions';
|
12595
12892
|
type TransactionRel$1 = ResourceRel & {
|
@@ -12669,6 +12966,7 @@ declare class Transactions extends ApiResource<Transaction> {
|
|
12669
12966
|
relationshipToMany(...ids: string[]): TransactionRel$1[];
|
12670
12967
|
type(): TransactionType;
|
12671
12968
|
}
|
12969
|
+
declare const instance$A: Transactions;
|
12672
12970
|
|
12673
12971
|
type PromotionType = 'promotions';
|
12674
12972
|
type PromotionRel$1 = ResourceRel & {
|
@@ -12763,6 +13061,7 @@ declare class Promotions extends ApiResource<Promotion> {
|
|
12763
13061
|
relationshipToMany(...ids: string[]): PromotionRel$1[];
|
12764
13062
|
type(): PromotionType;
|
12765
13063
|
}
|
13064
|
+
declare const instance$z: Promotions;
|
12766
13065
|
|
12767
13066
|
type TaxCalculatorType = 'tax_calculators';
|
12768
13067
|
type TaxCalculatorRel$1 = ResourceRel & {
|
@@ -12792,6 +13091,7 @@ declare class TaxCalculators extends ApiResource<TaxCalculator> {
|
|
12792
13091
|
relationshipToMany(...ids: string[]): TaxCalculatorRel$1[];
|
12793
13092
|
type(): TaxCalculatorType;
|
12794
13093
|
}
|
13094
|
+
declare const instance$y: TaxCalculators;
|
12795
13095
|
|
12796
13096
|
type AvalaraAccountType = 'avalara_accounts';
|
12797
13097
|
type AvalaraAccountRel$2 = ResourceRel & {
|
@@ -12915,6 +13215,7 @@ declare class AvalaraAccounts extends ApiResource<AvalaraAccount> {
|
|
12915
13215
|
relationshipToMany(...ids: string[]): AvalaraAccountRel$2[];
|
12916
13216
|
type(): AvalaraAccountType;
|
12917
13217
|
}
|
13218
|
+
declare const instance$x: AvalaraAccounts;
|
12918
13219
|
|
12919
13220
|
type StripeTaxAccountType = 'stripe_tax_accounts';
|
12920
13221
|
type StripeTaxAccountRel$2 = ResourceRel & {
|
@@ -12993,6 +13294,7 @@ declare class StripeTaxAccounts extends ApiResource<StripeTaxAccount> {
|
|
12993
13294
|
relationshipToMany(...ids: string[]): StripeTaxAccountRel$2[];
|
12994
13295
|
type(): StripeTaxAccountType;
|
12995
13296
|
}
|
13297
|
+
declare const instance$w: StripeTaxAccounts;
|
12996
13298
|
|
12997
13299
|
type VertexAccountType = 'vertex_accounts';
|
12998
13300
|
type VertexAccountRel$2 = ResourceRel & {
|
@@ -13120,6 +13422,7 @@ declare class VertexAccounts extends ApiResource<VertexAccount> {
|
|
13120
13422
|
relationshipToMany(...ids: string[]): VertexAccountRel$2[];
|
13121
13423
|
type(): VertexAccountType;
|
13122
13424
|
}
|
13425
|
+
declare const instance$v: VertexAccounts;
|
13123
13426
|
|
13124
13427
|
type TaxjarAccountType = 'taxjar_accounts';
|
13125
13428
|
type TaxjarAccountRel$2 = ResourceRel & {
|
@@ -13183,6 +13486,7 @@ declare class TaxjarAccounts extends ApiResource<TaxjarAccount> {
|
|
13183
13486
|
relationshipToMany(...ids: string[]): TaxjarAccountRel$2[];
|
13184
13487
|
type(): TaxjarAccountType;
|
13185
13488
|
}
|
13489
|
+
declare const instance$u: TaxjarAccounts;
|
13186
13490
|
|
13187
13491
|
type TaxRuleType = 'tax_rules';
|
13188
13492
|
type TaxRuleRel$1 = ResourceRel & {
|
@@ -13388,6 +13692,7 @@ declare class TaxRules extends ApiResource<TaxRule> {
|
|
13388
13692
|
relationshipToMany(...ids: string[]): TaxRuleRel$1[];
|
13389
13693
|
type(): TaxRuleType;
|
13390
13694
|
}
|
13695
|
+
declare const instance$t: TaxRules;
|
13391
13696
|
|
13392
13697
|
type ManualTaxCalculatorType = 'manual_tax_calculators';
|
13393
13698
|
type ManualTaxCalculatorRel$2 = ResourceRel & {
|
@@ -13441,6 +13746,7 @@ declare class ManualTaxCalculators extends ApiResource<ManualTaxCalculator> {
|
|
13441
13746
|
relationshipToMany(...ids: string[]): ManualTaxCalculatorRel$2[];
|
13442
13747
|
type(): ManualTaxCalculatorType;
|
13443
13748
|
}
|
13749
|
+
declare const instance$s: ManualTaxCalculators;
|
13444
13750
|
|
13445
13751
|
type ExternalTaxCalculatorType = 'external_tax_calculators';
|
13446
13752
|
type ExternalTaxCalculatorRel$2 = ResourceRel & {
|
@@ -13523,6 +13829,7 @@ declare class ExternalTaxCalculators extends ApiResource<ExternalTaxCalculator>
|
|
13523
13829
|
relationshipToMany(...ids: string[]): ExternalTaxCalculatorRel$2[];
|
13524
13830
|
type(): ExternalTaxCalculatorType;
|
13525
13831
|
}
|
13832
|
+
declare const instance$r: ExternalTaxCalculators;
|
13526
13833
|
|
13527
13834
|
type TaxCategoryType = 'tax_categories';
|
13528
13835
|
type TaxCategoryRel$1 = ResourceRel & {
|
@@ -13607,6 +13914,7 @@ declare class TaxCategories extends ApiResource<TaxCategory> {
|
|
13607
13914
|
relationshipToMany(...ids: string[]): TaxCategoryRel$1[];
|
13608
13915
|
type(): TaxCategoryType;
|
13609
13916
|
}
|
13917
|
+
declare const instance$q: TaxCategories;
|
13610
13918
|
|
13611
13919
|
type AttachmentType = 'attachments';
|
13612
13920
|
type AttachmentRel = ResourceRel & {
|
@@ -13618,7 +13926,7 @@ type GeocoderRel$3 = ResourceRel & {
|
|
13618
13926
|
type PriceListRel$1 = ResourceRel & {
|
13619
13927
|
type: PriceListType;
|
13620
13928
|
};
|
13621
|
-
type PaymentMethodRel = ResourceRel & {
|
13929
|
+
type PaymentMethodRel$1 = ResourceRel & {
|
13622
13930
|
type: PaymentMethodType;
|
13623
13931
|
};
|
13624
13932
|
type MarketRel$2 = ResourceRel & {
|
@@ -13675,7 +13983,7 @@ type CustomerRel$1 = ResourceRel & {
|
|
13675
13983
|
type DeliveryLeadTimeRel = ResourceRel & {
|
13676
13984
|
type: DeliveryLeadTimeType;
|
13677
13985
|
};
|
13678
|
-
type ShippingMethodRel = ResourceRel & {
|
13986
|
+
type ShippingMethodRel$1 = ResourceRel & {
|
13679
13987
|
type: ShippingMethodType;
|
13680
13988
|
};
|
13681
13989
|
type DiscountEngineRel = ResourceRel & {
|
@@ -13762,7 +14070,7 @@ interface AttachmentCreate extends ResourceCreate {
|
|
13762
14070
|
* @example ```"https://s3.yourdomain.com/attachment.pdf"```
|
13763
14071
|
*/
|
13764
14072
|
url?: string | null;
|
13765
|
-
attachable: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel;
|
14073
|
+
attachable: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel$1 | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel$1 | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel;
|
13766
14074
|
}
|
13767
14075
|
interface AttachmentUpdate extends ResourceUpdate {
|
13768
14076
|
/**
|
@@ -13780,7 +14088,7 @@ interface AttachmentUpdate extends ResourceUpdate {
|
|
13780
14088
|
* @example ```"https://s3.yourdomain.com/attachment.pdf"```
|
13781
14089
|
*/
|
13782
14090
|
url?: string | null;
|
13783
|
-
attachable?: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null;
|
14091
|
+
attachable?: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel$1 | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel$1 | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null;
|
13784
14092
|
}
|
13785
14093
|
declare class Attachments extends ApiResource<Attachment> {
|
13786
14094
|
static readonly TYPE: AttachmentType;
|
@@ -13792,6 +14100,7 @@ declare class Attachments extends ApiResource<Attachment> {
|
|
13792
14100
|
relationshipToMany(...ids: string[]): AttachmentRel[];
|
13793
14101
|
type(): AttachmentType;
|
13794
14102
|
}
|
14103
|
+
declare const instance$p: Attachments;
|
13795
14104
|
|
13796
14105
|
type MerchantType = 'merchants';
|
13797
14106
|
type MerchantRel$1 = ResourceRel & {
|
@@ -13841,6 +14150,7 @@ declare class Merchants extends ApiResource<Merchant> {
|
|
13841
14150
|
relationshipToMany(...ids: string[]): MerchantRel$1[];
|
13842
14151
|
type(): MerchantType;
|
13843
14152
|
}
|
14153
|
+
declare const instance$o: Merchants;
|
13844
14154
|
|
13845
14155
|
type MarketType = 'markets';
|
13846
14156
|
type MarketRel$1 = ResourceRel & {
|
@@ -13882,6 +14192,12 @@ type CustomerGroupRel = ResourceRel & {
|
|
13882
14192
|
type GeocoderRel$2 = ResourceRel & {
|
13883
14193
|
type: GeocoderType;
|
13884
14194
|
};
|
14195
|
+
type ShippingMethodRel = ResourceRel & {
|
14196
|
+
type: ShippingMethodType;
|
14197
|
+
};
|
14198
|
+
type PaymentMethodRel = ResourceRel & {
|
14199
|
+
type: PaymentMethodType;
|
14200
|
+
};
|
13885
14201
|
type MarketSort = Pick<Market, 'id' | 'name' | 'code' | 'disabled_at'> & ResourceSort;
|
13886
14202
|
interface Market extends Resource {
|
13887
14203
|
readonly type: MarketType;
|
@@ -13948,6 +14264,8 @@ interface Market extends Resource {
|
|
13948
14264
|
tax_calculator?: AvalaraAccount | StripeTaxAccount | VertexAccount | TaxjarAccount | ManualTaxCalculator | ExternalTaxCalculator | null;
|
13949
14265
|
customer_group?: CustomerGroup | null;
|
13950
14266
|
geocoder?: Geocoder | null;
|
14267
|
+
default_shipping_method?: ShippingMethod | null;
|
14268
|
+
default_payment_method?: PaymentMethod | null;
|
13951
14269
|
stores?: Store[] | null;
|
13952
14270
|
price_list_schedulers?: PriceListScheduler[] | null;
|
13953
14271
|
attachments?: Attachment[] | null;
|
@@ -14006,6 +14324,8 @@ interface MarketCreate extends ResourceCreate {
|
|
14006
14324
|
tax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null;
|
14007
14325
|
customer_group?: CustomerGroupRel | null;
|
14008
14326
|
geocoder?: GeocoderRel$2 | null;
|
14327
|
+
default_shipping_method?: ShippingMethodRel | null;
|
14328
|
+
default_payment_method?: PaymentMethodRel | null;
|
14009
14329
|
}
|
14010
14330
|
interface MarketUpdate extends ResourceUpdate {
|
14011
14331
|
/**
|
@@ -14060,6 +14380,8 @@ interface MarketUpdate extends ResourceUpdate {
|
|
14060
14380
|
tax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null;
|
14061
14381
|
customer_group?: CustomerGroupRel | null;
|
14062
14382
|
geocoder?: GeocoderRel$2 | null;
|
14383
|
+
default_shipping_method?: ShippingMethodRel | null;
|
14384
|
+
default_payment_method?: PaymentMethodRel | null;
|
14063
14385
|
}
|
14064
14386
|
declare class Markets extends ApiResource<Market> {
|
14065
14387
|
static readonly TYPE: MarketType;
|
@@ -14074,6 +14396,8 @@ declare class Markets extends ApiResource<Market> {
|
|
14074
14396
|
tax_calculator(marketId: string | Market, params?: QueryParamsRetrieve<TaxCalculator>, options?: ResourcesConfig): Promise<TaxCalculator>;
|
14075
14397
|
customer_group(marketId: string | Market, params?: QueryParamsRetrieve<CustomerGroup>, options?: ResourcesConfig): Promise<CustomerGroup>;
|
14076
14398
|
geocoder(marketId: string | Market, params?: QueryParamsRetrieve<Geocoder>, options?: ResourcesConfig): Promise<Geocoder>;
|
14399
|
+
default_shipping_method(marketId: string | Market, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
|
14400
|
+
default_payment_method(marketId: string | Market, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
|
14077
14401
|
stores(marketId: string | Market, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>>;
|
14078
14402
|
price_list_schedulers(marketId: string | Market, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>>;
|
14079
14403
|
attachments(marketId: string | Market, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
@@ -14085,6 +14409,7 @@ declare class Markets extends ApiResource<Market> {
|
|
14085
14409
|
relationshipToMany(...ids: string[]): MarketRel$1[];
|
14086
14410
|
type(): MarketType;
|
14087
14411
|
}
|
14412
|
+
declare const instance$n: Markets;
|
14088
14413
|
|
14089
14414
|
type GeocoderType = 'geocoders';
|
14090
14415
|
type GeocoderRel$1 = ResourceRel & {
|
@@ -14112,6 +14437,7 @@ declare class Geocoders extends ApiResource<Geocoder> {
|
|
14112
14437
|
relationshipToMany(...ids: string[]): GeocoderRel$1[];
|
14113
14438
|
type(): GeocoderType;
|
14114
14439
|
}
|
14440
|
+
declare const instance$m: Geocoders;
|
14115
14441
|
|
14116
14442
|
type AddressType = 'addresses';
|
14117
14443
|
type AddressRel = ResourceRel & {
|
@@ -14413,6 +14739,14 @@ interface AddressUpdate extends ResourceUpdate {
|
|
14413
14739
|
* @example ```"VAT ID IT02382940977"```
|
14414
14740
|
*/
|
14415
14741
|
billing_info?: string | null;
|
14742
|
+
/**
|
14743
|
+
* Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
14744
|
+
*/
|
14745
|
+
_add_tags?: string | null;
|
14746
|
+
/**
|
14747
|
+
* Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
|
14748
|
+
*/
|
14749
|
+
_remove_tags?: string | null;
|
14416
14750
|
geocoder?: GeocoderRel | null;
|
14417
14751
|
tags?: TagRel[] | null;
|
14418
14752
|
}
|
@@ -14425,11 +14759,14 @@ declare class Addresses extends ApiResource<Address> {
|
|
14425
14759
|
events(addressId: string | Address, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
14426
14760
|
tags(addressId: string | Address, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
14427
14761
|
versions(addressId: string | Address, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
14762
|
+
_add_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
|
14763
|
+
_remove_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
|
14428
14764
|
isAddress(resource: any): resource is Address;
|
14429
14765
|
relationship(id: string | ResourceId | null): AddressRel;
|
14430
14766
|
relationshipToMany(...ids: string[]): AddressRel[];
|
14431
14767
|
type(): AddressType;
|
14432
14768
|
}
|
14769
|
+
declare const instance$l: Addresses;
|
14433
14770
|
|
14434
14771
|
type AdyenGatewayType = 'adyen_gateways';
|
14435
14772
|
type AdyenGatewayRel = ResourceRel & {
|
@@ -14601,6 +14938,7 @@ declare class AdyenGateways extends ApiResource<AdyenGateway> {
|
|
14601
14938
|
relationshipToMany(...ids: string[]): AdyenGatewayRel[];
|
14602
14939
|
type(): AdyenGatewayType;
|
14603
14940
|
}
|
14941
|
+
declare const instance$k: AdyenGateways;
|
14604
14942
|
|
14605
14943
|
type ApplicationType = 'applications';
|
14606
14944
|
type ApplicationRel = ResourceRel & {
|
@@ -14643,6 +14981,7 @@ declare class Applications extends ApiSingleton<Application> {
|
|
14643
14981
|
type(): ApplicationType;
|
14644
14982
|
path(): string;
|
14645
14983
|
}
|
14984
|
+
declare const instance$j: Applications;
|
14646
14985
|
|
14647
14986
|
type AxerveGatewayType = 'axerve_gateways';
|
14648
14987
|
type AxerveGatewayRel = ResourceRel & {
|
@@ -14722,6 +15061,7 @@ declare class AxerveGateways extends ApiResource<AxerveGateway> {
|
|
14722
15061
|
relationshipToMany(...ids: string[]): AxerveGatewayRel[];
|
14723
15062
|
type(): AxerveGatewayType;
|
14724
15063
|
}
|
15064
|
+
declare const instance$i: AxerveGateways;
|
14725
15065
|
|
14726
15066
|
type BingGeocoderType = 'bing_geocoders';
|
14727
15067
|
type BingGeocoderRel = ResourceRel & {
|
@@ -14776,6 +15116,7 @@ declare class BingGeocoders extends ApiResource<BingGeocoder> {
|
|
14776
15116
|
relationshipToMany(...ids: string[]): BingGeocoderRel[];
|
14777
15117
|
type(): BingGeocoderType;
|
14778
15118
|
}
|
15119
|
+
declare const instance$h: BingGeocoders;
|
14779
15120
|
|
14780
15121
|
type BraintreeGatewayType = 'braintree_gateways';
|
14781
15122
|
type BraintreeGatewayRel = ResourceRel & {
|
@@ -14915,6 +15256,7 @@ declare class BraintreeGateways extends ApiResource<BraintreeGateway> {
|
|
14915
15256
|
relationshipToMany(...ids: string[]): BraintreeGatewayRel[];
|
14916
15257
|
type(): BraintreeGatewayType;
|
14917
15258
|
}
|
15259
|
+
declare const instance$g: BraintreeGateways;
|
14918
15260
|
|
14919
15261
|
type CheckoutComGatewayType = 'checkout_com_gateways';
|
14920
15262
|
type CheckoutComGatewayRel = ResourceRel & {
|
@@ -14999,6 +15341,7 @@ declare class CheckoutComGateways extends ApiResource<CheckoutComGateway> {
|
|
14999
15341
|
relationshipToMany(...ids: string[]): CheckoutComGatewayRel[];
|
15000
15342
|
type(): CheckoutComGatewayType;
|
15001
15343
|
}
|
15344
|
+
declare const instance$f: CheckoutComGateways;
|
15002
15345
|
|
15003
15346
|
type CleanupType = 'cleanups';
|
15004
15347
|
type CleanupRel = ResourceRel & {
|
@@ -15092,6 +15435,7 @@ declare class Cleanups extends ApiResource<Cleanup> {
|
|
15092
15435
|
relationshipToMany(...ids: string[]): CleanupRel[];
|
15093
15436
|
type(): CleanupType;
|
15094
15437
|
}
|
15438
|
+
declare const instance$e: Cleanups;
|
15095
15439
|
|
15096
15440
|
type CustomerPasswordResetType = 'customer_password_resets';
|
15097
15441
|
type CustomerPasswordResetRel = ResourceRel & {
|
@@ -15150,6 +15494,7 @@ declare class CustomerPasswordResets extends ApiResource<CustomerPasswordReset>
|
|
15150
15494
|
relationshipToMany(...ids: string[]): CustomerPasswordResetRel[];
|
15151
15495
|
type(): CustomerPasswordResetType;
|
15152
15496
|
}
|
15497
|
+
declare const instance$d: CustomerPasswordResets;
|
15153
15498
|
|
15154
15499
|
type EasypostPickupType = 'easypost_pickups';
|
15155
15500
|
type EasypostPickupRel = ResourceRel & {
|
@@ -15255,6 +15600,7 @@ declare class EasypostPickups extends ApiResource<EasypostPickup> {
|
|
15255
15600
|
relationshipToMany(...ids: string[]): EasypostPickupRel[];
|
15256
15601
|
type(): EasypostPickupType;
|
15257
15602
|
}
|
15603
|
+
declare const instance$c: EasypostPickups;
|
15258
15604
|
|
15259
15605
|
type ExportType = 'exports';
|
15260
15606
|
type ExportRel = ResourceRel & {
|
@@ -15381,6 +15727,7 @@ declare class Exports extends ApiResource<Export> {
|
|
15381
15727
|
relationshipToMany(...ids: string[]): ExportRel[];
|
15382
15728
|
type(): ExportType;
|
15383
15729
|
}
|
15730
|
+
declare const instance$b: Exports;
|
15384
15731
|
|
15385
15732
|
type ExternalGatewayType = 'external_gateways';
|
15386
15733
|
type ExternalGatewayRel = ResourceRel & {
|
@@ -15521,6 +15868,7 @@ declare class ExternalGateways extends ApiResource<ExternalGateway> {
|
|
15521
15868
|
relationshipToMany(...ids: string[]): ExternalGatewayRel[];
|
15522
15869
|
type(): ExternalGatewayType;
|
15523
15870
|
}
|
15871
|
+
declare const instance$a: ExternalGateways;
|
15524
15872
|
|
15525
15873
|
type GoogleGeocoderType = 'google_geocoders';
|
15526
15874
|
type GoogleGeocoderRel = ResourceRel & {
|
@@ -15575,6 +15923,7 @@ declare class GoogleGeocoders extends ApiResource<GoogleGeocoder> {
|
|
15575
15923
|
relationshipToMany(...ids: string[]): GoogleGeocoderRel[];
|
15576
15924
|
type(): GoogleGeocoderType;
|
15577
15925
|
}
|
15926
|
+
declare const instance$9: GoogleGeocoders;
|
15578
15927
|
|
15579
15928
|
type ImportType = 'imports';
|
15580
15929
|
type ImportRel = ResourceRel & {
|
@@ -15701,6 +16050,7 @@ declare class Imports extends ApiResource<Import> {
|
|
15701
16050
|
relationshipToMany(...ids: string[]): ImportRel[];
|
15702
16051
|
type(): ImportType;
|
15703
16052
|
}
|
16053
|
+
declare const instance$8: Imports;
|
15704
16054
|
|
15705
16055
|
type InStockSubscriptionType = 'in_stock_subscriptions';
|
15706
16056
|
type InStockSubscriptionRel = ResourceRel & {
|
@@ -15806,6 +16156,7 @@ declare class InStockSubscriptions extends ApiResource<InStockSubscription> {
|
|
15806
16156
|
relationshipToMany(...ids: string[]): InStockSubscriptionRel[];
|
15807
16157
|
type(): InStockSubscriptionType;
|
15808
16158
|
}
|
16159
|
+
declare const instance$7: InStockSubscriptions;
|
15809
16160
|
|
15810
16161
|
type KlarnaGatewayType = 'klarna_gateways';
|
15811
16162
|
type KlarnaGatewayRel = ResourceRel & {
|
@@ -15885,6 +16236,7 @@ declare class KlarnaGateways extends ApiResource<KlarnaGateway> {
|
|
15885
16236
|
relationshipToMany(...ids: string[]): KlarnaGatewayRel[];
|
15886
16237
|
type(): KlarnaGatewayType;
|
15887
16238
|
}
|
16239
|
+
declare const instance$6: KlarnaGateways;
|
15888
16240
|
|
15889
16241
|
type ManualGatewayType = 'manual_gateways';
|
15890
16242
|
type ManualGatewayRel = ResourceRel & {
|
@@ -15927,6 +16279,7 @@ declare class ManualGateways extends ApiResource<ManualGateway> {
|
|
15927
16279
|
relationshipToMany(...ids: string[]): ManualGatewayRel[];
|
15928
16280
|
type(): ManualGatewayType;
|
15929
16281
|
}
|
16282
|
+
declare const instance$5: ManualGateways;
|
15930
16283
|
|
15931
16284
|
type OrganizationType = 'organizations';
|
15932
16285
|
type OrganizationRel = ResourceRel & {
|
@@ -16169,6 +16522,7 @@ declare class Organizations extends ApiSingleton<Organization> {
|
|
16169
16522
|
type(): OrganizationType;
|
16170
16523
|
path(): string;
|
16171
16524
|
}
|
16525
|
+
declare const instance$4: Organizations;
|
16172
16526
|
|
16173
16527
|
type PaypalGatewayType = 'paypal_gateways';
|
16174
16528
|
type PaypalGatewayRel = ResourceRel & {
|
@@ -16233,6 +16587,7 @@ declare class PaypalGateways extends ApiResource<PaypalGateway> {
|
|
16233
16587
|
relationshipToMany(...ids: string[]): PaypalGatewayRel[];
|
16234
16588
|
type(): PaypalGatewayType;
|
16235
16589
|
}
|
16590
|
+
declare const instance$3: PaypalGateways;
|
16236
16591
|
|
16237
16592
|
type SatispayGatewayType = 'satispay_gateways';
|
16238
16593
|
type SatispayGatewayRel = ResourceRel & {
|
@@ -16302,6 +16657,7 @@ declare class SatispayGateways extends ApiResource<SatispayGateway> {
|
|
16302
16657
|
relationshipToMany(...ids: string[]): SatispayGatewayRel[];
|
16303
16658
|
type(): SatispayGatewayType;
|
16304
16659
|
}
|
16660
|
+
declare const instance$2: SatispayGateways;
|
16305
16661
|
|
16306
16662
|
type StripeGatewayType = 'stripe_gateways';
|
16307
16663
|
type StripeGatewayRel = ResourceRel & {
|
@@ -16317,7 +16673,7 @@ interface StripeGateway extends Resource {
|
|
16317
16673
|
name: string;
|
16318
16674
|
/**
|
16319
16675
|
* The account (if any) for which the funds of the PaymentIntent are intended.
|
16320
|
-
* @example ```"
|
16676
|
+
* @example ```"acct_xxxx-yyyy-zzzz"```
|
16321
16677
|
*/
|
16322
16678
|
connected_account?: string | null;
|
16323
16679
|
/**
|
@@ -16325,6 +16681,11 @@ interface StripeGateway extends Resource {
|
|
16325
16681
|
* @example ```true```
|
16326
16682
|
*/
|
16327
16683
|
auto_payments?: boolean | null;
|
16684
|
+
/**
|
16685
|
+
* Indicates if the payment source is forced on the editable order upon receiving a successful event from Stripe.
|
16686
|
+
* @example ```true```
|
16687
|
+
*/
|
16688
|
+
force_payments?: boolean | null;
|
16328
16689
|
/**
|
16329
16690
|
* The gateway webhook endpoint ID, generated automatically.
|
16330
16691
|
* @example ```"xxxx-yyyy-zzzz"```
|
@@ -16362,7 +16723,7 @@ interface StripeGatewayCreate extends ResourceCreate {
|
|
16362
16723
|
publishable_key?: string | null;
|
16363
16724
|
/**
|
16364
16725
|
* The account (if any) for which the funds of the PaymentIntent are intended.
|
16365
|
-
* @example ```"
|
16726
|
+
* @example ```"acct_xxxx-yyyy-zzzz"```
|
16366
16727
|
*/
|
16367
16728
|
connected_account?: string | null;
|
16368
16729
|
/**
|
@@ -16370,6 +16731,11 @@ interface StripeGatewayCreate extends ResourceCreate {
|
|
16370
16731
|
* @example ```true```
|
16371
16732
|
*/
|
16372
16733
|
auto_payments?: boolean | null;
|
16734
|
+
/**
|
16735
|
+
* Indicates if the payment source is forced on the editable order upon receiving a successful event from Stripe.
|
16736
|
+
* @example ```true```
|
16737
|
+
*/
|
16738
|
+
force_payments?: boolean | null;
|
16373
16739
|
}
|
16374
16740
|
interface StripeGatewayUpdate extends ResourceUpdate {
|
16375
16741
|
/**
|
@@ -16379,7 +16745,7 @@ interface StripeGatewayUpdate extends ResourceUpdate {
|
|
16379
16745
|
name?: string | null;
|
16380
16746
|
/**
|
16381
16747
|
* The account (if any) for which the funds of the PaymentIntent are intended.
|
16382
|
-
* @example ```"
|
16748
|
+
* @example ```"acct_xxxx-yyyy-zzzz"```
|
16383
16749
|
*/
|
16384
16750
|
connected_account?: string | null;
|
16385
16751
|
/**
|
@@ -16387,6 +16753,11 @@ interface StripeGatewayUpdate extends ResourceUpdate {
|
|
16387
16753
|
* @example ```true```
|
16388
16754
|
*/
|
16389
16755
|
auto_payments?: boolean | null;
|
16756
|
+
/**
|
16757
|
+
* Indicates if the payment source is forced on the editable order upon receiving a successful event from Stripe.
|
16758
|
+
* @example ```true```
|
16759
|
+
*/
|
16760
|
+
force_payments?: boolean | null;
|
16390
16761
|
}
|
16391
16762
|
declare class StripeGateways extends ApiResource<StripeGateway> {
|
16392
16763
|
static readonly TYPE: StripeGatewayType;
|
@@ -16401,6 +16772,7 @@ declare class StripeGateways extends ApiResource<StripeGateway> {
|
|
16401
16772
|
relationshipToMany(...ids: string[]): StripeGatewayRel[];
|
16402
16773
|
type(): StripeGatewayType;
|
16403
16774
|
}
|
16775
|
+
declare const instance$1: StripeGateways;
|
16404
16776
|
|
16405
16777
|
type TalonOneAccountType = 'talon_one_accounts';
|
16406
16778
|
type TalonOneAccountRel = ResourceRel & {
|
@@ -16476,9 +16848,147 @@ declare class TalonOneAccounts extends ApiResource<TalonOneAccount> {
|
|
16476
16848
|
relationshipToMany(...ids: string[]): TalonOneAccountRel[];
|
16477
16849
|
type(): TalonOneAccountType;
|
16478
16850
|
}
|
16851
|
+
declare const instance: TalonOneAccounts;
|
16479
16852
|
|
16480
|
-
|
16481
|
-
|
16853
|
+
/**
|
16854
|
+
export type ResourceTypeLock =
|
16855
|
+
// ##__API_RESOURCE_TYPES_START__##
|
16856
|
+
'addresses'
|
16857
|
+
| 'adjustments'
|
16858
|
+
| 'adyen_gateways'
|
16859
|
+
| 'adyen_payments'
|
16860
|
+
| 'applications'
|
16861
|
+
| 'attachments'
|
16862
|
+
| 'authorizations'
|
16863
|
+
| 'avalara_accounts'
|
16864
|
+
| 'axerve_gateways'
|
16865
|
+
| 'axerve_payments'
|
16866
|
+
| 'bing_geocoders'
|
16867
|
+
| 'braintree_gateways'
|
16868
|
+
| 'braintree_payments'
|
16869
|
+
| 'bundles'
|
16870
|
+
| 'buy_x_pay_y_promotions'
|
16871
|
+
| 'captures'
|
16872
|
+
| 'carrier_accounts'
|
16873
|
+
| 'checkout_com_gateways'
|
16874
|
+
| 'checkout_com_payments'
|
16875
|
+
| 'cleanups'
|
16876
|
+
| 'coupon_codes_promotion_rules'
|
16877
|
+
| 'coupon_recipients'
|
16878
|
+
| 'coupons'
|
16879
|
+
| 'custom_promotion_rules'
|
16880
|
+
| 'customer_addresses'
|
16881
|
+
| 'customer_groups'
|
16882
|
+
| 'customer_password_resets'
|
16883
|
+
| 'customer_payment_sources'
|
16884
|
+
| 'customer_subscriptions'
|
16885
|
+
| 'customers'
|
16886
|
+
| 'delivery_lead_times'
|
16887
|
+
| 'discount_engine_items'
|
16888
|
+
| 'discount_engines'
|
16889
|
+
| 'easypost_pickups'
|
16890
|
+
| 'event_callbacks'
|
16891
|
+
| 'events'
|
16892
|
+
| 'exports'
|
16893
|
+
| 'external_gateways'
|
16894
|
+
| 'external_payments'
|
16895
|
+
| 'external_promotions'
|
16896
|
+
| 'external_tax_calculators'
|
16897
|
+
| 'fixed_amount_promotions'
|
16898
|
+
| 'fixed_price_promotions'
|
16899
|
+
| 'flex_promotions'
|
16900
|
+
| 'free_gift_promotions'
|
16901
|
+
| 'free_shipping_promotions'
|
16902
|
+
| 'geocoders'
|
16903
|
+
| 'gift_card_recipients'
|
16904
|
+
| 'gift_cards'
|
16905
|
+
| 'google_geocoders'
|
16906
|
+
| 'imports'
|
16907
|
+
| 'in_stock_subscriptions'
|
16908
|
+
| 'inventory_models'
|
16909
|
+
| 'inventory_return_locations'
|
16910
|
+
| 'inventory_stock_locations'
|
16911
|
+
| 'klarna_gateways'
|
16912
|
+
| 'klarna_payments'
|
16913
|
+
| 'line_item_options'
|
16914
|
+
| 'line_items'
|
16915
|
+
| 'links'
|
16916
|
+
| 'manual_gateways'
|
16917
|
+
| 'manual_tax_calculators'
|
16918
|
+
| 'markets'
|
16919
|
+
| 'merchants'
|
16920
|
+
| 'notifications'
|
16921
|
+
| 'order_amount_promotion_rules'
|
16922
|
+
| 'order_copies'
|
16923
|
+
| 'order_factories'
|
16924
|
+
| 'order_subscription_items'
|
16925
|
+
| 'order_subscriptions'
|
16926
|
+
| 'orders'
|
16927
|
+
| 'organizations'
|
16928
|
+
| 'packages'
|
16929
|
+
| 'parcel_line_items'
|
16930
|
+
| 'parcels'
|
16931
|
+
| 'payment_gateways'
|
16932
|
+
| 'payment_methods'
|
16933
|
+
| 'payment_options'
|
16934
|
+
| 'paypal_gateways'
|
16935
|
+
| 'paypal_payments'
|
16936
|
+
| 'percentage_discount_promotions'
|
16937
|
+
| 'pickups'
|
16938
|
+
| 'price_frequency_tiers'
|
16939
|
+
| 'price_list_schedulers'
|
16940
|
+
| 'price_lists'
|
16941
|
+
| 'price_tiers'
|
16942
|
+
| 'price_volume_tiers'
|
16943
|
+
| 'prices'
|
16944
|
+
| 'promotion_rules'
|
16945
|
+
| 'promotions'
|
16946
|
+
| 'recurring_order_copies'
|
16947
|
+
| 'refunds'
|
16948
|
+
| 'reserved_stocks'
|
16949
|
+
| 'resource_errors'
|
16950
|
+
| 'return_line_items'
|
16951
|
+
| 'returns'
|
16952
|
+
| 'satispay_gateways'
|
16953
|
+
| 'satispay_payments'
|
16954
|
+
| 'shipments'
|
16955
|
+
| 'shipping_categories'
|
16956
|
+
| 'shipping_method_tiers'
|
16957
|
+
| 'shipping_methods'
|
16958
|
+
| 'shipping_weight_tiers'
|
16959
|
+
| 'shipping_zones'
|
16960
|
+
| 'sku_list_items'
|
16961
|
+
| 'sku_list_promotion_rules'
|
16962
|
+
| 'sku_lists'
|
16963
|
+
| 'sku_options'
|
16964
|
+
| 'skus'
|
16965
|
+
| 'stock_items'
|
16966
|
+
| 'stock_line_items'
|
16967
|
+
| 'stock_locations'
|
16968
|
+
| 'stock_reservations'
|
16969
|
+
| 'stock_transfers'
|
16970
|
+
| 'stores'
|
16971
|
+
| 'stripe_gateways'
|
16972
|
+
| 'stripe_payments'
|
16973
|
+
| 'stripe_tax_accounts'
|
16974
|
+
| 'subscription_models'
|
16975
|
+
| 'tags'
|
16976
|
+
| 'talon_one_accounts'
|
16977
|
+
| 'tax_calculators'
|
16978
|
+
| 'tax_categories'
|
16979
|
+
| 'tax_rules'
|
16980
|
+
| 'taxjar_accounts'
|
16981
|
+
| 'transactions'
|
16982
|
+
| 'versions'
|
16983
|
+
| 'vertex_accounts'
|
16984
|
+
| 'voids'
|
16985
|
+
| 'webhooks'
|
16986
|
+
| 'wire_transfers'
|
16987
|
+
// ##__API_RESOURCE_TYPES_STOP__##
|
16988
|
+
**/
|
16989
|
+
declare const apiResources: readonly ["addresses", "adjustments", "adyen_gateways", "adyen_payments", "applications", "attachments", "authorizations", "avalara_accounts", "axerve_gateways", "axerve_payments", "bing_geocoders", "braintree_gateways", "braintree_payments", "bundles", "buy_x_pay_y_promotions", "captures", "carrier_accounts", "checkout_com_gateways", "checkout_com_payments", "cleanups", "coupon_codes_promotion_rules", "coupon_recipients", "coupons", "custom_promotion_rules", "customer_addresses", "customer_groups", "customer_password_resets", "customer_payment_sources", "customer_subscriptions", "customers", "delivery_lead_times", "discount_engine_items", "discount_engines", "easypost_pickups", "event_callbacks", "events", "exports", "external_gateways", "external_payments", "external_promotions", "external_tax_calculators", "fixed_amount_promotions", "fixed_price_promotions", "flex_promotions", "free_gift_promotions", "free_shipping_promotions", "geocoders", "gift_card_recipients", "gift_cards", "google_geocoders", "imports", "in_stock_subscriptions", "inventory_models", "inventory_return_locations", "inventory_stock_locations", "klarna_gateways", "klarna_payments", "line_item_options", "line_items", "links", "manual_gateways", "manual_tax_calculators", "markets", "merchants", "notifications", "order_amount_promotion_rules", "order_copies", "order_factories", "order_subscription_items", "order_subscriptions", "orders", "organizations", "packages", "parcel_line_items", "parcels", "payment_gateways", "payment_methods", "payment_options", "paypal_gateways", "paypal_payments", "percentage_discount_promotions", "pickups", "price_frequency_tiers", "price_list_schedulers", "price_lists", "price_tiers", "price_volume_tiers", "prices", "promotion_rules", "promotions", "recurring_order_copies", "refunds", "reserved_stocks", "resource_errors", "return_line_items", "returns", "satispay_gateways", "satispay_payments", "shipments", "shipping_categories", "shipping_method_tiers", "shipping_methods", "shipping_weight_tiers", "shipping_zones", "sku_list_items", "sku_list_promotion_rules", "sku_lists", "sku_options", "skus", "stock_items", "stock_line_items", "stock_locations", "stock_reservations", "stock_transfers", "stores", "stripe_gateways", "stripe_payments", "stripe_tax_accounts", "subscription_models", "tags", "talon_one_accounts", "tax_calculators", "tax_categories", "tax_rules", "taxjar_accounts", "transactions", "versions", "vertex_accounts", "voids", "webhooks", "wire_transfers"];
|
16990
|
+
type ResourceTypeLock = typeof apiResources[number];
|
16991
|
+
declare const resourceList: Readonly<ResourceTypeLock[]>;
|
16482
16992
|
declare const singletonList: ResourceTypeLock[];
|
16483
16993
|
type RetrievableResourceType = ResourceTypeLock;
|
16484
16994
|
type RetrievableResource = Resource & {
|
@@ -16781,4 +17291,4 @@ type ResourceSortFields = {
|
|
16781
17291
|
wire_transfers: WireTransferSort;
|
16782
17292
|
};
|
16783
17293
|
|
16784
|
-
export { type AttachmentUpdate as $, ApiResource as A, type ResourceFilter as B, ApiResourceAdapter as C, type Address as D, type AddressCreate as E, type AddressUpdate as F, type AddressSort as G, type Adjustment as H, type AdjustmentCreate as I, type AdjustmentUpdate as J, type AdjustmentSort as K, ListResponse as L, type Metadata as M, type AdyenGateway as N, type AdyenGatewayCreate as O, type AdyenGatewayUpdate as P, type QueryInclude as Q, type ResourceType as R, type AdyenGatewaySort as S, type AdyenPayment as T, type AdyenPaymentCreate as U, type AdyenPaymentUpdate as V, type AdyenPaymentSort as W, type Application as X, type ApplicationSort as Y, type Attachment as Z, type AttachmentCreate as _, generateSearchString as a, type Coupon as a$, type AttachmentSort as a0, type Authorization as a1, type AuthorizationUpdate as a2, type AuthorizationSort as a3, type AvalaraAccount as a4, type AvalaraAccountCreate as a5, type AvalaraAccountUpdate as a6, type AvalaraAccountSort as a7, type AxerveGateway as a8, type AxerveGatewayCreate as a9, type Capture as aA, type CaptureUpdate as aB, type CaptureSort as aC, type CarrierAccount as aD, type CarrierAccountCreate as aE, type CarrierAccountUpdate as aF, type CarrierAccountSort as aG, type CheckoutComGateway as aH, type CheckoutComGatewayCreate as aI, type CheckoutComGatewayUpdate as aJ, type CheckoutComGatewaySort as aK, type CheckoutComPayment as aL, type CheckoutComPaymentCreate as aM, type CheckoutComPaymentUpdate as aN, type CheckoutComPaymentSort as aO, type Cleanup as aP, type CleanupCreate as aQ, type CleanupUpdate as aR, type CleanupSort as aS, type CouponCodesPromotionRule as aT, type CouponCodesPromotionRuleCreate as aU, type CouponCodesPromotionRuleUpdate as aV, type CouponCodesPromotionRuleSort as aW, type CouponRecipient as aX, type CouponRecipientCreate as aY, type CouponRecipientUpdate as aZ, type CouponRecipientSort as a_, type AxerveGatewayUpdate as aa, type AxerveGatewaySort as ab, type AxervePayment as ac, type AxervePaymentCreate as ad, type AxervePaymentUpdate as ae, type AxervePaymentSort as af, type BingGeocoder as ag, type BingGeocoderCreate as ah, type BingGeocoderUpdate as ai, type BingGeocoderSort as aj, type BraintreeGateway as ak, type BraintreeGatewayCreate as al, type BraintreeGatewayUpdate as am, type BraintreeGatewaySort as an, type BraintreePayment as ao, type BraintreePaymentCreate as ap, type BraintreePaymentUpdate as aq, type BraintreePaymentSort as ar, type Bundle as as, type BundleCreate as at, type BundleUpdate as au, type BundleSort as av, type BuyXPayYPromotion as aw, type BuyXPayYPromotionCreate as ax, type BuyXPayYPromotionUpdate as ay, type BuyXPayYPromotionSort as az, type QueryArrayFields as b, type ExternalPromotionSort as b$, type CouponCreate as b0, type CouponUpdate as b1, type CouponSort as b2, type CustomPromotionRule as b3, type CustomPromotionRuleCreate as b4, type CustomPromotionRuleUpdate as b5, type CustomPromotionRuleSort as b6, type CustomerAddress as b7, type CustomerAddressCreate as b8, type CustomerAddressUpdate as b9, type DiscountEngineItemSort as bA, type DiscountEngine as bB, type DiscountEngineSort as bC, type EasypostPickup as bD, type EasypostPickupCreate as bE, type EasypostPickupUpdate as bF, type EasypostPickupSort as bG, type EventCallback as bH, type EventCallbackSort as bI, type Event as bJ, type EventUpdate as bK, type EventSort as bL, type Export as bM, type ExportCreate as bN, type ExportUpdate as bO, type ExportSort as bP, type ExternalGateway as bQ, type ExternalGatewayCreate as bR, type ExternalGatewayUpdate as bS, type ExternalGatewaySort as bT, type ExternalPayment as bU, type ExternalPaymentCreate as bV, type ExternalPaymentUpdate as bW, type ExternalPaymentSort as bX, type ExternalPromotion as bY, type ExternalPromotionCreate as bZ, type ExternalPromotionUpdate as b_, type CustomerAddressSort as ba, type CustomerGroup as bb, type CustomerGroupCreate as bc, type CustomerGroupUpdate as bd, type CustomerGroupSort as be, type CustomerPasswordReset as bf, type CustomerPasswordResetCreate as bg, type CustomerPasswordResetUpdate as bh, type CustomerPasswordResetSort as bi, type CustomerPaymentSource as bj, type CustomerPaymentSourceCreate as bk, type CustomerPaymentSourceUpdate as bl, type CustomerPaymentSourceSort as bm, type CustomerSubscription as bn, type CustomerSubscriptionCreate as bo, type CustomerSubscriptionUpdate as bp, type CustomerSubscriptionSort as bq, type Customer as br, type CustomerCreate as bs, type CustomerUpdate as bt, type CustomerSort as bu, type DeliveryLeadTime as bv, type DeliveryLeadTimeCreate as bw, type DeliveryLeadTimeUpdate as bx, type DeliveryLeadTimeSort as by, type DiscountEngineItem as bz, type QueryRecordFields as c, type KlarnaPaymentCreate as c$, type ExternalTaxCalculator as c0, type ExternalTaxCalculatorCreate as c1, type ExternalTaxCalculatorUpdate as c2, type ExternalTaxCalculatorSort as c3, type FixedAmountPromotion as c4, type FixedAmountPromotionCreate as c5, type FixedAmountPromotionUpdate as c6, type FixedAmountPromotionSort as c7, type FixedPricePromotion as c8, type FixedPricePromotionCreate as c9, type GoogleGeocoderUpdate as cA, type GoogleGeocoderSort as cB, type Import as cC, type ImportCreate as cD, type ImportUpdate as cE, type ImportSort as cF, type InStockSubscription as cG, type InStockSubscriptionCreate as cH, type InStockSubscriptionUpdate as cI, type InStockSubscriptionSort as cJ, type InventoryModel as cK, type InventoryModelCreate as cL, type InventoryModelUpdate as cM, type InventoryModelSort as cN, type InventoryReturnLocation as cO, type InventoryReturnLocationCreate as cP, type InventoryReturnLocationUpdate as cQ, type InventoryReturnLocationSort as cR, type InventoryStockLocation as cS, type InventoryStockLocationCreate as cT, type InventoryStockLocationUpdate as cU, type InventoryStockLocationSort as cV, type KlarnaGateway as cW, type KlarnaGatewayCreate as cX, type KlarnaGatewayUpdate as cY, type KlarnaGatewaySort as cZ, type KlarnaPayment as c_, type FixedPricePromotionUpdate as ca, type FixedPricePromotionSort as cb, type FlexPromotion as cc, type FlexPromotionCreate as cd, type FlexPromotionUpdate as ce, type FlexPromotionSort as cf, type FreeGiftPromotion as cg, type FreeGiftPromotionCreate as ch, type FreeGiftPromotionUpdate as ci, type FreeGiftPromotionSort as cj, type FreeShippingPromotion as ck, type FreeShippingPromotionCreate as cl, type FreeShippingPromotionUpdate as cm, type FreeShippingPromotionSort as cn, type Geocoder as co, type GeocoderSort as cp, type GiftCardRecipient as cq, type GiftCardRecipientCreate as cr, type GiftCardRecipientUpdate as cs, type GiftCardRecipientSort as ct, type GiftCard as cu, type GiftCardCreate as cv, type GiftCardUpdate as cw, type GiftCardSort as cx, type GoogleGeocoder as cy, type GoogleGeocoderCreate as cz, type QueryFields as d, type ParcelLineItem as d$, type KlarnaPaymentUpdate as d0, type KlarnaPaymentSort as d1, type LineItemOption as d2, type LineItemOptionCreate as d3, type LineItemOptionUpdate as d4, type LineItemOptionSort as d5, type LineItem as d6, type LineItemCreate as d7, type LineItemUpdate as d8, type LineItemSort as d9, type OrderAmountPromotionRuleCreate as dA, type OrderAmountPromotionRuleUpdate as dB, type OrderAmountPromotionRuleSort as dC, type OrderCopy as dD, type OrderCopyCreate as dE, type OrderCopyUpdate as dF, type OrderCopySort as dG, type OrderFactory as dH, type OrderFactorySort as dI, type OrderSubscriptionItem as dJ, type OrderSubscriptionItemCreate as dK, type OrderSubscriptionItemUpdate as dL, type OrderSubscriptionItemSort as dM, type OrderSubscription as dN, type OrderSubscriptionCreate as dO, type OrderSubscriptionUpdate as dP, type OrderSubscriptionSort as dQ, type Order as dR, type OrderCreate as dS, type OrderUpdate as dT, type OrderSort as dU, type Organization as dV, type OrganizationSort as dW, type Package as dX, type PackageCreate as dY, type PackageUpdate as dZ, type PackageSort as d_, type Link as da, type LinkCreate as db, type LinkUpdate as dc, type LinkSort as dd, type ManualGateway as de, type ManualGatewayCreate as df, type ManualGatewayUpdate as dg, type ManualGatewaySort as dh, type ManualTaxCalculator as di, type ManualTaxCalculatorCreate as dj, type ManualTaxCalculatorUpdate as dk, type ManualTaxCalculatorSort as dl, type Market as dm, type MarketCreate as dn, type MarketUpdate as dp, type MarketSort as dq, type Merchant as dr, type MerchantCreate as ds, type MerchantUpdate as dt, type MerchantSort as du, type Notification as dv, type NotificationCreate as dw, type NotificationUpdate as dx, type NotificationSort as dy, type OrderAmountPromotionRule as dz, type QueryParamsRetrieve as e, type RefundSort as e$, type ParcelLineItemCreate as e0, type ParcelLineItemUpdate as e1, type ParcelLineItemSort as e2, type Parcel as e3, type ParcelCreate as e4, type ParcelUpdate as e5, type ParcelSort as e6, type PaymentGateway as e7, type PaymentGatewaySort as e8, type PaymentMethod as e9, type PriceListSchedulerCreate as eA, type PriceListSchedulerUpdate as eB, type PriceListSchedulerSort as eC, type PriceList as eD, type PriceListCreate as eE, type PriceListUpdate as eF, type PriceListSort as eG, type PriceTier as eH, type PriceTierSort as eI, type PriceVolumeTier as eJ, type PriceVolumeTierCreate as eK, type PriceVolumeTierUpdate as eL, type PriceVolumeTierSort as eM, type Price as eN, type PriceCreate as eO, type PriceUpdate as eP, type PriceSort as eQ, type PromotionRule as eR, type PromotionRuleSort as eS, type Promotion as eT, type PromotionSort as eU, type RecurringOrderCopy as eV, type RecurringOrderCopyCreate as eW, type RecurringOrderCopyUpdate as eX, type RecurringOrderCopySort as eY, type Refund as eZ, type RefundUpdate as e_, type PaymentMethodCreate as ea, type PaymentMethodUpdate as eb, type PaymentMethodSort as ec, type PaymentOption as ed, type PaymentOptionCreate as ee, type PaymentOptionUpdate as ef, type PaymentOptionSort as eg, type PaypalGateway as eh, type PaypalGatewayCreate as ei, type PaypalGatewayUpdate as ej, type PaypalGatewaySort as ek, type PaypalPayment as el, type PaypalPaymentCreate as em, type PaypalPaymentUpdate as en, type PaypalPaymentSort as eo, type PercentageDiscountPromotion as ep, type PercentageDiscountPromotionCreate as eq, type PercentageDiscountPromotionUpdate as er, type PercentageDiscountPromotionSort as es, type Pickup as et, type PickupSort as eu, type PriceFrequencyTier as ev, type PriceFrequencyTierCreate as ew, type PriceFrequencyTierUpdate as ex, type PriceFrequencyTierSort as ey, type PriceListScheduler as ez, type QueryArraySortable as f, type StockItemCreate as f$, type ReservedStock as f0, type ReservedStockSort as f1, type ResourceError as f2, type ResourceErrorSort as f3, type ReturnLineItem as f4, type ReturnLineItemCreate as f5, type ReturnLineItemUpdate as f6, type ReturnLineItemSort as f7, type Return as f8, type ReturnCreate as f9, type ShippingWeightTierUpdate as fA, type ShippingWeightTierSort as fB, type ShippingZone as fC, type ShippingZoneCreate as fD, type ShippingZoneUpdate as fE, type ShippingZoneSort as fF, type SkuListItem as fG, type SkuListItemCreate as fH, type SkuListItemUpdate as fI, type SkuListItemSort as fJ, type SkuListPromotionRule as fK, type SkuListPromotionRuleCreate as fL, type SkuListPromotionRuleUpdate as fM, type SkuListPromotionRuleSort as fN, type SkuList as fO, type SkuListCreate as fP, type SkuListUpdate as fQ, type SkuListSort as fR, type SkuOption as fS, type SkuOptionCreate as fT, type SkuOptionUpdate as fU, type SkuOptionSort as fV, type Sku as fW, type SkuCreate as fX, type SkuUpdate as fY, type SkuSort as fZ, type StockItem as f_, type ReturnUpdate as fa, type ReturnSort as fb, type SatispayGateway as fc, type SatispayGatewayCreate as fd, type SatispayGatewayUpdate as fe, type SatispayGatewaySort as ff, type SatispayPayment as fg, type SatispayPaymentCreate as fh, type SatispayPaymentUpdate as fi, type SatispayPaymentSort as fj, type Shipment as fk, type ShipmentCreate as fl, type ShipmentUpdate as fm, type ShipmentSort as fn, type ShippingCategory as fo, type ShippingCategoryCreate as fp, type ShippingCategoryUpdate as fq, type ShippingCategorySort as fr, type ShippingMethodTier as fs, type ShippingMethodTierSort as ft, type ShippingMethod as fu, type ShippingMethodCreate as fv, type ShippingMethodUpdate as fw, type ShippingMethodSort as fx, type ShippingWeightTier as fy, type ShippingWeightTierCreate as fz, generateQueryStringParams as g, type VersionSort as g$, type StockItemUpdate as g0, type StockItemSort as g1, type StockLineItem as g2, type StockLineItemCreate as g3, type StockLineItemUpdate as g4, type StockLineItemSort as g5, type StockLocation as g6, type StockLocationCreate as g7, type StockLocationUpdate as g8, type StockLocationSort as g9, type SubscriptionModelUpdate as gA, type SubscriptionModelSort as gB, type Tag as gC, type TagCreate as gD, type TagUpdate as gE, type TagSort as gF, type TalonOneAccount as gG, type TalonOneAccountCreate as gH, type TalonOneAccountUpdate as gI, type TalonOneAccountSort as gJ, type TaxCalculator as gK, type TaxCalculatorSort as gL, type TaxCategory as gM, type TaxCategoryCreate as gN, type TaxCategoryUpdate as gO, type TaxCategorySort as gP, type TaxRule as gQ, type TaxRuleCreate as gR, type TaxRuleUpdate as gS, type TaxRuleSort as gT, type TaxjarAccount as gU, type TaxjarAccountCreate as gV, type TaxjarAccountUpdate as gW, type TaxjarAccountSort as gX, type Transaction as gY, type TransactionSort as gZ, type Version as g_, type StockReservation as ga, type StockReservationCreate as gb, type StockReservationUpdate as gc, type StockReservationSort as gd, type StockTransfer as ge, type StockTransferCreate as gf, type StockTransferUpdate as gg, type StockTransferSort as gh, type Store as gi, type StoreCreate as gj, type StoreUpdate as gk, type StoreSort as gl, type StripeGateway as gm, type StripeGatewayCreate as gn, type StripeGatewayUpdate as go, type StripeGatewaySort as gp, type StripePayment as gq, type StripePaymentCreate as gr, type StripePaymentUpdate as gs, type StripePaymentSort as gt, type StripeTaxAccount as gu, type StripeTaxAccountCreate as gv, type StripeTaxAccountUpdate as gw, type StripeTaxAccountSort as gx, type SubscriptionModel as gy, type SubscriptionModelCreate as gz, type QueryRecordSortable as h, Customers as h$, type VertexAccount as h0, type VertexAccountCreate as h1, type VertexAccountUpdate as h2, type VertexAccountSort as h3, type Void as h4, type VoidUpdate as h5, type VoidSort as h6, type Webhook as h7, type WebhookCreate as h8, type WebhookUpdate as h9, AdyenGateways as hA, AdyenPayments as hB, Applications as hC, Attachments as hD, Authorizations as hE, AvalaraAccounts as hF, AxerveGateways as hG, AxervePayments as hH, BingGeocoders as hI, BraintreeGateways as hJ, BraintreePayments as hK, Bundles as hL, BuyXPayYPromotions as hM, Captures as hN, CarrierAccounts as hO, CheckoutComGateways as hP, CheckoutComPayments as hQ, Cleanups as hR, CouponCodesPromotionRules as hS, CouponRecipients as hT, Coupons as hU, CustomPromotionRules as hV, CustomerAddresses as hW, CustomerGroups as hX, CustomerPasswordResets as hY, CustomerPaymentSources as hZ, CustomerSubscriptions as h_, type WebhookSort as ha, type WireTransfer as hb, type WireTransferCreate as hc, type WireTransferUpdate as hd, type WireTransferSort as he, type ResourceTypeLock as hf, resourceList as hg, singletonList as hh, type RetrievableResourceType as hi, type RetrievableResource as hj, type ListableResourceType as hk, type ListableResource as hl, type CreatableResourceType as hm, type CreatableResource as hn, type UpdatableResourceType as ho, type UpdatableResource as hp, type DeletableResourceType as hq, type DeletableResource as hr, type TaggableResourceType as hs, type TaggableResource as ht, type VersionableResourceType as hu, type VersionableResource as hv, type ResourceFields as hw, type ResourceSortFields as hx, Addresses as hy, Adjustments as hz, isParamsList as i, Refunds as i$, DeliveryLeadTimes as i0, DiscountEngineItems as i1, DiscountEngines as i2, EasypostPickups as i3, EventCallbacks as i4, Events as i5, Exports as i6, ExternalGateways as i7, ExternalPayments as i8, ExternalPromotions as i9, Notifications as iA, OrderAmountPromotionRules as iB, OrderCopies as iC, OrderFactories as iD, OrderSubscriptionItems as iE, OrderSubscriptions as iF, Orders as iG, Organizations as iH, Packages as iI, ParcelLineItems as iJ, Parcels as iK, PaymentGateways as iL, PaymentMethods as iM, PaymentOptions as iN, PaypalGateways as iO, PaypalPayments as iP, PercentageDiscountPromotions as iQ, Pickups as iR, PriceFrequencyTiers as iS, PriceListSchedulers as iT, PriceLists as iU, PriceTiers as iV, PriceVolumeTiers as iW, Prices as iX, PromotionRules as iY, Promotions as iZ, RecurringOrderCopies as i_, ExternalTaxCalculators as ia, FixedAmountPromotions as ib, FixedPricePromotions as ic, FlexPromotions as id, FreeGiftPromotions as ie, FreeShippingPromotions as ig, Geocoders as ih, GiftCardRecipients as ii, GiftCards as ij, GoogleGeocoders as ik, Imports as il, InStockSubscriptions as im, InventoryModels as io, InventoryReturnLocations as ip, InventoryStockLocations as iq, KlarnaGateways as ir, KlarnaPayments as is, LineItemOptions as it, LineItems as iu, Links as iv, ManualGateways as iw, ManualTaxCalculators as ix, Markets as iy, Merchants as iz, type QuerySort as j, type CustomerPaymentSourceType as j$, ReservedStocks as j0, ResourceErrors as j1, ReturnLineItems as j2, Returns as j3, SatispayGateways as j4, SatispayPayments as j5, Shipments as j6, ShippingCategories as j7, ShippingMethodTiers as j8, ShippingMethods as j9, Voids as jA, Webhooks as jB, WireTransfers as jC, type TagType as jD, type VersionType as jE, type ShippingCategoryType as jF, type InventoryReturnLocationType as jG, type InventoryModelType as jH, type InventoryStockLocationType as jI, type CustomerGroupType as jJ, type EventCallbackType as jK, type WebhookType as jL, type EventType as jM, type CustomerAddressType as jN, type PaymentGatewayType as jO, type StoreType as jP, type PaymentMethodType as jQ, type AdyenPaymentType as jR, type AxervePaymentType as jS, type BraintreePaymentType as jT, type CheckoutComPaymentType as jU, type ExternalPaymentType as jV, type KlarnaPaymentType as jW, type PaypalPaymentType as jX, type SatispayPaymentType as jY, type StripePaymentType as jZ, type WireTransferType as j_, ShippingWeightTiers as ja, ShippingZones as jb, SkuListItems as jc, SkuListPromotionRules as jd, SkuLists as je, SkuOptions as jf, Skus as jg, StockItems as jh, StockLineItems as ji, StockLocations as jj, StockReservations as jk, StockTransfers as jl, Stores as jm, StripeGateways as jn, StripePayments as jo, StripeTaxAccounts as jp, SubscriptionModels as jq, Tags as jr, TalonOneAccounts as js, TaxCalculators as jt, TaxCategories as ju, TaxRules as jv, TaxjarAccounts as jw, Transactions as jx, Versions as jy, VertexAccounts as jz, type QueryFilter as k, type PriceTierType as k$, type CustomerSubscriptionType as k0, type SubscriptionModelType as k1, type SkuOptionType as k2, type LineItemOptionType as k3, type VoidType as k4, type AuthorizationType as k5, type RefundType as k6, type CaptureType as k7, type ResourceErrorType as k8, type ReturnType as k9, type CustomPromotionRuleType as kA, type FreeGiftPromotionType as kB, type CouponCodesPromotionRuleType as kC, type BuyXPayYPromotionType as kD, type SkuListPromotionRuleType as kE, type FreeShippingPromotionType as kF, type OrderAmountPromotionRuleType as kG, type PercentageDiscountPromotionType as kH, type LineItemType as kI, type OrderSubscriptionItemType as kJ, type OrderFactoryType as kK, type RecurringOrderCopyType as kL, type OrderSubscriptionType as kM, type CustomerType as kN, type PaymentOptionType as kO, type OrderCopyType as kP, type OrderType as kQ, type PackageType as kR, type ParcelLineItemType as kS, type ParcelType as kT, type PickupType as kU, type CarrierAccountType as kV, type ShipmentType as kW, type StockTransferType as kX, type StockLocationType as kY, type StockItemType as kZ, type SkuType as k_, type ReturnLineItemType as ka, type StockLineItemType as kb, type ReservedStockType as kc, type StockReservationType as kd, type ShippingZoneType as ke, type DeliveryLeadTimeType as kf, type ShippingMethodTierType as kg, type ShippingWeightTierType as kh, type ShippingMethodType as ki, type NotificationType as kj, type SkuListItemType as kk, type LinkType as kl, type SkuListType as km, type BundleType as kn, type GiftCardRecipientType as ko, type GiftCardType as kp, type AdjustmentType as kq, type DiscountEngineType as kr, type DiscountEngineItemType as ks, type CouponRecipientType as kt, type CouponType as ku, type ExternalPromotionType as kv, type FixedAmountPromotionType as kw, type FlexPromotionType as kx, type PromotionRuleType as ky, type FixedPricePromotionType as kz, type QueryPageNumber as l, type PriceVolumeTierType as l0, type PriceFrequencyTierType as l1, type PriceType as l2, type PriceListSchedulerType as l3, type PriceListType as l4, type TransactionType as l5, type PromotionType as l6, type TaxCalculatorType as l7, type AvalaraAccountType as l8, type StripeTaxAccountType as l9, type ManualGatewayType as lA, type OrganizationType as lB, type PaypalGatewayType as lC, type SatispayGatewayType as lD, type StripeGatewayType as lE, type TalonOneAccountType as lF, type VertexAccountType as la, type TaxjarAccountType as lb, type TaxRuleType as lc, type ManualTaxCalculatorType as ld, type ExternalTaxCalculatorType as le, type TaxCategoryType as lf, type AttachmentType as lg, type MerchantType as lh, type MarketType as li, type GeocoderType as lj, type AddressType as lk, type AdyenGatewayType as ll, type ApplicationType as lm, type AxerveGatewayType as ln, type BingGeocoderType as lo, type BraintreeGatewayType as lp, type CheckoutComGatewayType as lq, type CleanupType as lr, type CustomerPasswordResetType as ls, type EasypostPickupType as lt, type ExportType as lu, type ExternalGatewayType as lv, type GoogleGeocoderType as lw, type ImportType as lx, type InStockSubscriptionType as ly, type KlarnaGatewayType as lz, type QueryPageSize as m, type QueryParamsList as n, type QueryParams as o, type ResourceId as p, type Resource as q, type ResourceCreate as r, type ResourceUpdate as s, type ListMeta as t, type ResourceRel as u, ApiSingleton as v, type ResourcesConfig as w, type ResourcesInitConfig as x, ResourceAdapter as y, type ResourceSort as z };
|
17294
|
+
export { instance$1F as $, instance$i as A, instance$1P as B, type CreatableResourceType as C, type DeletableResourceType as D, instance$h as E, instance$g as F, instance$1O as G, instance$1i as H, instance$12 as I, instance$1y as J, instance$M as K, type ListableResourceType as L, instance$f as M, instance$1N as N, instance$e as O, instance$13 as P, instance$1c as Q, type ResourceId as R, instance$1b as S, type TaggableResourceType as T, type UpdatableResourceType as U, type VersionableResourceType as V, instance$15 as W, instance$1U as X, instance$1Y as Y, instance$d as Z, instance$1G as _, type ResourceType as a, instance$1t as a$, instance$U as a0, instance$1q as a1, instance$1d as a2, instance$1e as a3, instance$c as a4, instance$1X as a5, instance$1V as a6, instance$b as a7, instance$a as a8, instance$1M as a9, instance$$ as aA, instance$S as aB, instance$X as aC, instance$Y as aD, instance$V as aE, instance$R as aF, instance$4 as aG, instance$Q as aH, instance$P as aI, instance$O as aJ, instance$1T as aK, instance$1R as aL, instance$T as aM, instance$3 as aN, instance$1K as aO, instance$_ as aP, instance$N as aQ, instance$E as aR, instance$C as aS, instance$B as aT, instance$G as aU, instance$F as aV, instance$D as aW, instance$17 as aX, instance$z as aY, instance$W as aZ, instance$1z as a_, instance$1a as aa, instance$r as ab, instance$19 as ac, instance$16 as ad, instance$18 as ae, instance$14 as af, instance$10 as ag, instance$m as ah, instance$1h as ai, instance$1g as aj, instance$9 as ak, instance$8 as al, instance$7 as am, instance$1_ as an, instance$1$ as ao, instance$1Z as ap, instance$6 as aq, instance$1L as ar, instance$1C as as, instance$Z as at, instance$1k as au, instance$5 as av, instance$s as aw, instance$n as ax, instance$o as ay, instance$1m as az, type Resource as b, type ResourceFilter as b$, instance$1x as b0, instance$1v as b1, instance$1w as b2, instance$2 as b3, instance$1J as b4, instance$L as b5, instance$20 as b6, instance$1p as b7, instance$1n as b8, instance$1o as b9, instance$1W as bA, instance$1H as bB, generateQueryStringParams as bC, isParamsList as bD, generateSearchString as bE, type QueryInclude as bF, type QueryArrayFields as bG, type QueryRecordFields as bH, type QueryFields as bI, type QueryParamsRetrieve as bJ, type QueryArraySortable as bK, type QueryRecordSortable as bL, type QuerySort as bM, type QueryFilter as bN, type QueryPageNumber as bO, type QueryPageSize as bP, type QueryParamsList as bQ, type QueryParams as bR, type Metadata as bS, ListResponse as bT, type ListMeta as bU, type ResourceRel as bV, ApiResource as bW, ApiSingleton as bX, type ResourcesConfig as bY, ResourceAdapter as bZ, type ResourceSort as b_, instance$1r as ba, instance$1l as bb, instance$11 as bc, instance$1j as bd, instance$1D as be, instance$H as bf, instance$I as bg, instance$1u as bh, instance$J as bi, instance$1s as bj, instance$K as bk, instance$1S as bl, instance$1 as bm, instance$1I as bn, instance$w as bo, instance$1E as bp, instance$22 as bq, instance as br, instance$y as bs, instance$q as bt, instance$t as bu, instance$u as bv, instance$A as bw, instance$21 as bx, instance$v as by, instance$1B as bz, type ResourceCreate as c, type CarrierAccountUpdate as c$, ApiResourceAdapter as c0, type Address as c1, type AddressCreate as c2, type AddressUpdate as c3, type AddressSort as c4, type Adjustment as c5, type AdjustmentCreate as c6, type AdjustmentUpdate as c7, type AdjustmentSort as c8, type AdyenGateway as c9, type AxervePaymentUpdate as cA, type AxervePaymentSort as cB, type BingGeocoder as cC, type BingGeocoderCreate as cD, type BingGeocoderUpdate as cE, type BingGeocoderSort as cF, type BraintreeGateway as cG, type BraintreeGatewayCreate as cH, type BraintreeGatewayUpdate as cI, type BraintreeGatewaySort as cJ, type BraintreePayment as cK, type BraintreePaymentCreate as cL, type BraintreePaymentUpdate as cM, type BraintreePaymentSort as cN, type Bundle as cO, type BundleCreate as cP, type BundleUpdate as cQ, type BundleSort as cR, type BuyXPayYPromotion as cS, type BuyXPayYPromotionCreate as cT, type BuyXPayYPromotionUpdate as cU, type BuyXPayYPromotionSort as cV, type Capture as cW, type CaptureUpdate as cX, type CaptureSort as cY, type CarrierAccount as cZ, type CarrierAccountCreate as c_, type AdyenGatewayCreate as ca, type AdyenGatewayUpdate as cb, type AdyenGatewaySort as cc, type AdyenPayment as cd, type AdyenPaymentCreate as ce, type AdyenPaymentUpdate as cf, type AdyenPaymentSort as cg, type Application as ch, type ApplicationSort as ci, type Attachment as cj, type AttachmentCreate as ck, type AttachmentUpdate as cl, type AttachmentSort as cm, type Authorization as cn, type AuthorizationUpdate as co, type AuthorizationSort as cp, type AvalaraAccount as cq, type AvalaraAccountCreate as cr, type AvalaraAccountUpdate as cs, type AvalaraAccountSort as ct, type AxerveGateway as cu, type AxerveGatewayCreate as cv, type AxerveGatewayUpdate as cw, type AxerveGatewaySort as cx, type AxervePayment as cy, type AxervePaymentCreate as cz, type ResourceUpdate as d, type EasypostPickupCreate as d$, type CarrierAccountSort as d0, type CheckoutComGateway as d1, type CheckoutComGatewayCreate as d2, type CheckoutComGatewayUpdate as d3, type CheckoutComGatewaySort as d4, type CheckoutComPayment as d5, type CheckoutComPaymentCreate as d6, type CheckoutComPaymentUpdate as d7, type CheckoutComPaymentSort as d8, type Cleanup as d9, type CustomerGroupUpdate as dA, type CustomerGroupSort as dB, type CustomerPasswordReset as dC, type CustomerPasswordResetCreate as dD, type CustomerPasswordResetUpdate as dE, type CustomerPasswordResetSort as dF, type CustomerPaymentSource as dG, type CustomerPaymentSourceCreate as dH, type CustomerPaymentSourceUpdate as dI, type CustomerPaymentSourceSort as dJ, type CustomerSubscription as dK, type CustomerSubscriptionCreate as dL, type CustomerSubscriptionUpdate as dM, type CustomerSubscriptionSort as dN, type Customer as dO, type CustomerCreate as dP, type CustomerUpdate as dQ, type CustomerSort as dR, type DeliveryLeadTime as dS, type DeliveryLeadTimeCreate as dT, type DeliveryLeadTimeUpdate as dU, type DeliveryLeadTimeSort as dV, type DiscountEngineItem as dW, type DiscountEngineItemSort as dX, type DiscountEngine as dY, type DiscountEngineSort as dZ, type EasypostPickup as d_, type CleanupCreate as da, type CleanupUpdate as db, type CleanupSort as dc, type CouponCodesPromotionRule as dd, type CouponCodesPromotionRuleCreate as de, type CouponCodesPromotionRuleUpdate as df, type CouponCodesPromotionRuleSort as dg, type CouponRecipient as dh, type CouponRecipientCreate as di, type CouponRecipientUpdate as dj, type CouponRecipientSort as dk, type Coupon as dl, type CouponCreate as dm, type CouponUpdate as dn, type CouponSort as dp, type CustomPromotionRule as dq, type CustomPromotionRuleCreate as dr, type CustomPromotionRuleUpdate as ds, type CustomPromotionRuleSort as dt, type CustomerAddress as du, type CustomerAddressCreate as dv, type CustomerAddressUpdate as dw, type CustomerAddressSort as dx, type CustomerGroup as dy, type CustomerGroupCreate as dz, type ResourcesInitConfig as e, type ImportUpdate as e$, type EasypostPickupUpdate as e0, type EasypostPickupSort as e1, type EventCallback as e2, type EventCallbackSort as e3, type Event as e4, type EventUpdate as e5, type EventSort as e6, type Export as e7, type ExportCreate as e8, type ExportUpdate as e9, type FlexPromotionCreate as eA, type FlexPromotionUpdate as eB, type FlexPromotionSort as eC, type FreeGiftPromotion as eD, type FreeGiftPromotionCreate as eE, type FreeGiftPromotionUpdate as eF, type FreeGiftPromotionSort as eG, type FreeShippingPromotion as eH, type FreeShippingPromotionCreate as eI, type FreeShippingPromotionUpdate as eJ, type FreeShippingPromotionSort as eK, type Geocoder as eL, type GeocoderSort as eM, type GiftCardRecipient as eN, type GiftCardRecipientCreate as eO, type GiftCardRecipientUpdate as eP, type GiftCardRecipientSort as eQ, type GiftCard as eR, type GiftCardCreate as eS, type GiftCardUpdate as eT, type GiftCardSort as eU, type GoogleGeocoder as eV, type GoogleGeocoderCreate as eW, type GoogleGeocoderUpdate as eX, type GoogleGeocoderSort as eY, type Import as eZ, type ImportCreate as e_, type ExportSort as ea, type ExternalGateway as eb, type ExternalGatewayCreate as ec, type ExternalGatewayUpdate as ed, type ExternalGatewaySort as ee, type ExternalPayment as ef, type ExternalPaymentCreate as eg, type ExternalPaymentUpdate as eh, type ExternalPaymentSort as ei, type ExternalPromotion as ej, type ExternalPromotionCreate as ek, type ExternalPromotionUpdate as el, type ExternalPromotionSort as em, type ExternalTaxCalculator as en, type ExternalTaxCalculatorCreate as eo, type ExternalTaxCalculatorUpdate as ep, type ExternalTaxCalculatorSort as eq, type FixedAmountPromotion as er, type FixedAmountPromotionCreate as es, type FixedAmountPromotionUpdate as et, type FixedAmountPromotionSort as eu, type FixedPricePromotion as ev, type FixedPricePromotionCreate as ew, type FixedPricePromotionUpdate as ex, type FixedPricePromotionSort as ey, type FlexPromotion as ez, type ResourceTypeLock as f, type OrderCopyUpdate as f$, type ImportSort as f0, type InStockSubscription as f1, type InStockSubscriptionCreate as f2, type InStockSubscriptionUpdate as f3, type InStockSubscriptionSort as f4, type InventoryModel as f5, type InventoryModelCreate as f6, type InventoryModelUpdate as f7, type InventoryModelSort as f8, type InventoryReturnLocation as f9, type LinkSort as fA, type ManualGateway as fB, type ManualGatewayCreate as fC, type ManualGatewayUpdate as fD, type ManualGatewaySort as fE, type ManualTaxCalculator as fF, type ManualTaxCalculatorCreate as fG, type ManualTaxCalculatorUpdate as fH, type ManualTaxCalculatorSort as fI, type Market as fJ, type MarketCreate as fK, type MarketUpdate as fL, type MarketSort as fM, type Merchant as fN, type MerchantCreate as fO, type MerchantUpdate as fP, type MerchantSort as fQ, type Notification as fR, type NotificationCreate as fS, type NotificationUpdate as fT, type NotificationSort as fU, type OrderAmountPromotionRule as fV, type OrderAmountPromotionRuleCreate as fW, type OrderAmountPromotionRuleUpdate as fX, type OrderAmountPromotionRuleSort as fY, type OrderCopy as fZ, type OrderCopyCreate as f_, type InventoryReturnLocationCreate as fa, type InventoryReturnLocationUpdate as fb, type InventoryReturnLocationSort as fc, type InventoryStockLocation as fd, type InventoryStockLocationCreate as fe, type InventoryStockLocationUpdate as ff, type InventoryStockLocationSort as fg, type KlarnaGateway as fh, type KlarnaGatewayCreate as fi, type KlarnaGatewayUpdate as fj, type KlarnaGatewaySort as fk, type KlarnaPayment as fl, type KlarnaPaymentCreate as fm, type KlarnaPaymentUpdate as fn, type KlarnaPaymentSort as fo, type LineItemOption as fp, type LineItemOptionCreate as fq, type LineItemOptionUpdate as fr, type LineItemOptionSort as fs, type LineItem as ft, type LineItemCreate as fu, type LineItemUpdate as fv, type LineItemSort as fw, type Link as fx, type LinkCreate as fy, type LinkUpdate as fz, type RetrievableResourceType as g, type PriceListUpdate as g$, type OrderCopySort as g0, type OrderFactory as g1, type OrderFactorySort as g2, type OrderSubscriptionItem as g3, type OrderSubscriptionItemCreate as g4, type OrderSubscriptionItemUpdate as g5, type OrderSubscriptionItemSort as g6, type OrderSubscription as g7, type OrderSubscriptionCreate as g8, type OrderSubscriptionUpdate as g9, type PaymentOptionCreate as gA, type PaymentOptionUpdate as gB, type PaymentOptionSort as gC, type PaypalGateway as gD, type PaypalGatewayCreate as gE, type PaypalGatewayUpdate as gF, type PaypalGatewaySort as gG, type PaypalPayment as gH, type PaypalPaymentCreate as gI, type PaypalPaymentUpdate as gJ, type PaypalPaymentSort as gK, type PercentageDiscountPromotion as gL, type PercentageDiscountPromotionCreate as gM, type PercentageDiscountPromotionUpdate as gN, type PercentageDiscountPromotionSort as gO, type Pickup as gP, type PickupSort as gQ, type PriceFrequencyTier as gR, type PriceFrequencyTierCreate as gS, type PriceFrequencyTierUpdate as gT, type PriceFrequencyTierSort as gU, type PriceListScheduler as gV, type PriceListSchedulerCreate as gW, type PriceListSchedulerUpdate as gX, type PriceListSchedulerSort as gY, type PriceList as gZ, type PriceListCreate as g_, type OrderSubscriptionSort as ga, type Order as gb, type OrderCreate as gc, type OrderUpdate as gd, type OrderSort as ge, type Organization as gf, type OrganizationSort as gg, type Package as gh, type PackageCreate as gi, type PackageUpdate as gj, type PackageSort as gk, type ParcelLineItem as gl, type ParcelLineItemCreate as gm, type ParcelLineItemUpdate as gn, type ParcelLineItemSort as go, type Parcel as gp, type ParcelCreate as gq, type ParcelUpdate as gr, type ParcelSort as gs, type PaymentGateway as gt, type PaymentGatewaySort as gu, type PaymentMethod as gv, type PaymentMethodCreate as gw, type PaymentMethodUpdate as gx, type PaymentMethodSort as gy, type PaymentOption as gz, type RetrievableResource as h, type ShippingZoneSort as h$, type PriceListSort as h0, type PriceTier as h1, type PriceTierSort as h2, type PriceVolumeTier as h3, type PriceVolumeTierCreate as h4, type PriceVolumeTierUpdate as h5, type PriceVolumeTierSort as h6, type Price as h7, type PriceCreate as h8, type PriceUpdate as h9, type SatispayGatewayUpdate as hA, type SatispayGatewaySort as hB, type SatispayPayment as hC, type SatispayPaymentCreate as hD, type SatispayPaymentUpdate as hE, type SatispayPaymentSort as hF, type Shipment as hG, type ShipmentCreate as hH, type ShipmentUpdate as hI, type ShipmentSort as hJ, type ShippingCategory as hK, type ShippingCategoryCreate as hL, type ShippingCategoryUpdate as hM, type ShippingCategorySort as hN, type ShippingMethodTier as hO, type ShippingMethodTierSort as hP, type ShippingMethod as hQ, type ShippingMethodCreate as hR, type ShippingMethodUpdate as hS, type ShippingMethodSort as hT, type ShippingWeightTier as hU, type ShippingWeightTierCreate as hV, type ShippingWeightTierUpdate as hW, type ShippingWeightTierSort as hX, type ShippingZone as hY, type ShippingZoneCreate as hZ, type ShippingZoneUpdate as h_, type PriceSort as ha, type PromotionRule as hb, type PromotionRuleSort as hc, type Promotion as hd, type PromotionSort as he, type RecurringOrderCopy as hf, type RecurringOrderCopyCreate as hg, type RecurringOrderCopyUpdate as hh, type RecurringOrderCopySort as hi, type Refund as hj, type RefundUpdate as hk, type RefundSort as hl, type ReservedStock as hm, type ReservedStockSort as hn, type ResourceError as ho, type ResourceErrorSort as hp, type ReturnLineItem as hq, type ReturnLineItemCreate as hr, type ReturnLineItemUpdate as hs, type ReturnLineItemSort as ht, type Return as hu, type ReturnCreate as hv, type ReturnUpdate as hw, type ReturnSort as hx, type SatispayGateway as hy, type SatispayGatewayCreate as hz, type ListableResource as i, type TagCreate as i$, type SkuListItem as i0, type SkuListItemCreate as i1, type SkuListItemUpdate as i2, type SkuListItemSort as i3, type SkuListPromotionRule as i4, type SkuListPromotionRuleCreate as i5, type SkuListPromotionRuleUpdate as i6, type SkuListPromotionRuleSort as i7, type SkuList as i8, type SkuListCreate as i9, type StockReservationUpdate as iA, type StockReservationSort as iB, type StockTransfer as iC, type StockTransferCreate as iD, type StockTransferUpdate as iE, type StockTransferSort as iF, type Store as iG, type StoreCreate as iH, type StoreUpdate as iI, type StoreSort as iJ, type StripeGateway as iK, type StripeGatewayCreate as iL, type StripeGatewayUpdate as iM, type StripeGatewaySort as iN, type StripePayment as iO, type StripePaymentCreate as iP, type StripePaymentUpdate as iQ, type StripePaymentSort as iR, type StripeTaxAccount as iS, type StripeTaxAccountCreate as iT, type StripeTaxAccountUpdate as iU, type StripeTaxAccountSort as iV, type SubscriptionModel as iW, type SubscriptionModelCreate as iX, type SubscriptionModelUpdate as iY, type SubscriptionModelSort as iZ, type Tag as i_, type SkuListUpdate as ia, type SkuListSort as ib, type SkuOption as ic, type SkuOptionCreate as id, type SkuOptionUpdate as ie, type SkuOptionSort as ig, type Sku as ih, type SkuCreate as ii, type SkuUpdate as ij, type SkuSort as ik, type StockItem as il, type StockItemCreate as im, type StockItemUpdate as io, type StockItemSort as ip, type StockLineItem as iq, type StockLineItemCreate as ir, type StockLineItemUpdate as is, type StockLineItemSort as it, type StockLocation as iu, type StockLocationCreate as iv, type StockLocationUpdate as iw, type StockLocationSort as ix, type StockReservation as iy, type StockReservationCreate as iz, type CreatableResource as j, type CustomerPaymentSourceType as j$, type TagUpdate as j0, type TagSort as j1, type TalonOneAccount as j2, type TalonOneAccountCreate as j3, type TalonOneAccountUpdate as j4, type TalonOneAccountSort as j5, type TaxCalculator as j6, type TaxCalculatorSort as j7, type TaxCategory as j8, type TaxCategoryCreate as j9, type WireTransferCreate as jA, type WireTransferUpdate as jB, type WireTransferSort as jC, type TagType as jD, type VersionType as jE, type ShippingCategoryType as jF, type InventoryReturnLocationType as jG, type InventoryModelType as jH, type InventoryStockLocationType as jI, type CustomerGroupType as jJ, type EventCallbackType as jK, type WebhookType as jL, type EventType as jM, type CustomerAddressType as jN, type PaymentGatewayType as jO, type StoreType as jP, type PaymentMethodType as jQ, type AdyenPaymentType as jR, type AxervePaymentType as jS, type BraintreePaymentType as jT, type CheckoutComPaymentType as jU, type ExternalPaymentType as jV, type KlarnaPaymentType as jW, type PaypalPaymentType as jX, type SatispayPaymentType as jY, type StripePaymentType as jZ, type WireTransferType as j_, type TaxCategoryUpdate as ja, type TaxCategorySort as jb, type TaxRule as jc, type TaxRuleCreate as jd, type TaxRuleUpdate as je, type TaxRuleSort as jf, type TaxjarAccount as jg, type TaxjarAccountCreate as jh, type TaxjarAccountUpdate as ji, type TaxjarAccountSort as jj, type Transaction as jk, type TransactionSort as jl, type Version as jm, type VersionSort as jn, type VertexAccount as jo, type VertexAccountCreate as jp, type VertexAccountUpdate as jq, type VertexAccountSort as jr, type Void as js, type VoidUpdate as jt, type VoidSort as ju, type Webhook as jv, type WebhookCreate as jw, type WebhookUpdate as jx, type WebhookSort as jy, type WireTransfer as jz, type UpdatableResource as k, type PriceTierType as k$, type CustomerSubscriptionType as k0, type SubscriptionModelType as k1, type SkuOptionType as k2, type LineItemOptionType as k3, type VoidType as k4, type AuthorizationType as k5, type RefundType as k6, type CaptureType as k7, type ResourceErrorType as k8, type ReturnType as k9, type CustomPromotionRuleType as kA, type FreeGiftPromotionType as kB, type CouponCodesPromotionRuleType as kC, type BuyXPayYPromotionType as kD, type SkuListPromotionRuleType as kE, type FreeShippingPromotionType as kF, type OrderAmountPromotionRuleType as kG, type PercentageDiscountPromotionType as kH, type LineItemType as kI, type OrderSubscriptionItemType as kJ, type OrderFactoryType as kK, type RecurringOrderCopyType as kL, type OrderSubscriptionType as kM, type CustomerType as kN, type PaymentOptionType as kO, type OrderCopyType as kP, type OrderType as kQ, type PackageType as kR, type ParcelLineItemType as kS, type ParcelType as kT, type PickupType as kU, type CarrierAccountType as kV, type ShipmentType as kW, type StockTransferType as kX, type StockLocationType as kY, type StockItemType as kZ, type SkuType as k_, type ReturnLineItemType as ka, type StockLineItemType as kb, type ReservedStockType as kc, type StockReservationType as kd, type ShippingZoneType as ke, type DeliveryLeadTimeType as kf, type ShippingMethodTierType as kg, type ShippingWeightTierType as kh, type ShippingMethodType as ki, type NotificationType as kj, type SkuListItemType as kk, type LinkType as kl, type SkuListType as km, type BundleType as kn, type GiftCardRecipientType as ko, type GiftCardType as kp, type AdjustmentType as kq, type DiscountEngineType as kr, type DiscountEngineItemType as ks, type CouponRecipientType as kt, type CouponType as ku, type ExternalPromotionType as kv, type FixedAmountPromotionType as kw, type FlexPromotionType as kx, type PromotionRuleType as ky, type FixedPricePromotionType as kz, type DeletableResource as l, type PriceVolumeTierType as l0, type PriceFrequencyTierType as l1, type PriceType as l2, type PriceListSchedulerType as l3, type PriceListType as l4, type TransactionType as l5, type PromotionType as l6, type TaxCalculatorType as l7, type AvalaraAccountType as l8, type StripeTaxAccountType as l9, type ManualGatewayType as lA, type OrganizationType as lB, type PaypalGatewayType as lC, type SatispayGatewayType as lD, type StripeGatewayType as lE, type TalonOneAccountType as lF, type VertexAccountType as la, type TaxjarAccountType as lb, type TaxRuleType as lc, type ManualTaxCalculatorType as ld, type ExternalTaxCalculatorType as le, type TaxCategoryType as lf, type AttachmentType as lg, type MerchantType as lh, type MarketType as li, type GeocoderType as lj, type AddressType as lk, type AdyenGatewayType as ll, type ApplicationType as lm, type AxerveGatewayType as ln, type BingGeocoderType as lo, type BraintreeGatewayType as lp, type CheckoutComGatewayType as lq, type CleanupType as lr, type CustomerPasswordResetType as ls, type EasypostPickupType as lt, type ExportType as lu, type ExternalGatewayType as lv, type GoogleGeocoderType as lw, type ImportType as lx, type InStockSubscriptionType as ly, type KlarnaGatewayType as lz, type TaggableResource as m, type VersionableResource as n, type ResourceFields as o, type ResourceSortFields as p, instance$l as q, resourceList as r, singletonList as s, instance$1f as t, instance$k as u, instance$1Q as v, instance$j as w, instance$p as x, instance$1A as y, instance$x as z };
|