@commercelayer/sdk 6.34.0 → 7.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{index.d.mts → api-BYcswOJ0.d.cts} +12 -289
- package/lib/api-Cknm0QL_.d.ts +16784 -0
- package/lib/api.cjs +936 -0
- package/lib/api.d.cts +4 -0
- package/lib/api.d.ts +4 -0
- package/lib/api.js +275 -0
- package/lib/client.cjs +170 -0
- package/lib/client.d.cts +36 -0
- package/lib/client.d.ts +36 -0
- package/lib/client.js +161 -0
- package/lib/commercelayer.cjs +798 -0
- package/lib/commercelayer.d.cts +167 -0
- package/lib/commercelayer.d.ts +167 -0
- package/lib/commercelayer.js +768 -0
- package/lib/common.cjs +17 -0
- package/lib/common.d.cts +13 -0
- package/lib/common.d.ts +13 -0
- package/lib/common.js +13 -0
- package/lib/config.cjs +21 -0
- package/lib/config.d.cts +19 -0
- package/lib/config.d.ts +19 -0
- package/lib/config.js +17 -0
- package/lib/debug.cjs +19 -0
- package/lib/debug.d.cts +4 -0
- package/lib/debug.d.ts +4 -0
- package/lib/debug.js +15 -0
- package/lib/error.cjs +97 -0
- package/lib/error.d.cts +35 -0
- package/lib/error.d.ts +35 -0
- package/lib/error.js +91 -0
- package/lib/fetch.cjs +83 -0
- package/lib/fetch.d.cts +1 -0
- package/lib/fetch.d.ts +1 -0
- package/lib/fetch.js +76 -0
- package/lib/index.cjs +32 -0
- package/lib/index.d.cts +8 -0
- package/lib/index.d.ts +8 -17061
- package/lib/index.js +3 -1
- package/lib/instance.cjs +272 -0
- package/lib/instance.d.cts +141 -0
- package/lib/instance.d.ts +141 -0
- package/lib/instance.js +139 -0
- package/lib/interceptor-5MISI1yn.d.cts +54 -0
- package/lib/interceptor-5MISI1yn.d.ts +54 -0
- package/lib/interceptor.cjs +2 -0
- package/lib/interceptor.d.cts +1 -0
- package/lib/interceptor.d.ts +1 -0
- package/lib/interceptor.js +1 -0
- package/lib/jsonapi.cjs +79 -0
- package/lib/jsonapi.d.cts +11 -0
- package/lib/jsonapi.d.ts +11 -0
- package/lib/jsonapi.js +71 -0
- package/lib/model.cjs +2 -0
- package/lib/model.d.cts +4 -0
- package/lib/model.d.ts +4 -0
- package/lib/model.js +1 -0
- package/lib/query.cjs +64 -0
- package/lib/query.d.cts +4 -0
- package/lib/query.d.ts +4 -0
- package/lib/query.js +56 -0
- package/lib/resource.cjs +222 -0
- package/lib/resource.d.cts +4 -0
- package/lib/resource.d.ts +4 -0
- package/lib/resource.js +209 -0
- package/lib/resources/addresses.cjs +53 -0
- package/lib/resources/addresses.d.cts +4 -0
- package/lib/resources/addresses.d.ts +4 -0
- package/lib/resources/addresses.js +49 -0
- package/lib/resources/adjustments.cjs +41 -0
- package/lib/resources/adjustments.d.cts +4 -0
- package/lib/resources/adjustments.d.ts +4 -0
- package/lib/resources/adjustments.js +37 -0
- package/lib/resources/adyen_gateways.cjs +49 -0
- package/lib/resources/adyen_gateways.d.cts +4 -0
- package/lib/resources/adyen_gateways.d.ts +4 -0
- package/lib/resources/adyen_gateways.js +45 -0
- package/lib/resources/adyen_payments.cjs +55 -0
- package/lib/resources/adyen_payments.d.cts +4 -0
- package/lib/resources/adyen_payments.d.ts +4 -0
- package/lib/resources/adyen_payments.js +51 -0
- package/lib/resources/applications.cjs +31 -0
- package/lib/resources/applications.d.cts +4 -0
- package/lib/resources/applications.d.ts +4 -0
- package/lib/resources/applications.js +27 -0
- package/lib/resources/attachments.cjs +37 -0
- package/lib/resources/attachments.d.cts +4 -0
- package/lib/resources/attachments.d.ts +4 -0
- package/lib/resources/attachments.js +33 -0
- package/lib/resources/authorizations.cjs +70 -0
- package/lib/resources/authorizations.d.cts +4 -0
- package/lib/resources/authorizations.d.ts +4 -0
- package/lib/resources/authorizations.js +66 -0
- package/lib/resources/avalara_accounts.cjs +57 -0
- package/lib/resources/avalara_accounts.d.cts +4 -0
- package/lib/resources/avalara_accounts.d.ts +4 -0
- package/lib/resources/avalara_accounts.js +53 -0
- package/lib/resources/axerve_gateways.cjs +49 -0
- package/lib/resources/axerve_gateways.d.cts +4 -0
- package/lib/resources/axerve_gateways.d.ts +4 -0
- package/lib/resources/axerve_gateways.js +45 -0
- package/lib/resources/axerve_payments.cjs +52 -0
- package/lib/resources/axerve_payments.d.cts +4 -0
- package/lib/resources/axerve_payments.d.ts +4 -0
- package/lib/resources/axerve_payments.js +48 -0
- package/lib/resources/bing_geocoders.cjs +49 -0
- package/lib/resources/bing_geocoders.d.cts +4 -0
- package/lib/resources/bing_geocoders.d.ts +4 -0
- package/lib/resources/bing_geocoders.js +45 -0
- package/lib/resources/braintree_gateways.cjs +49 -0
- package/lib/resources/braintree_gateways.d.cts +4 -0
- package/lib/resources/braintree_gateways.d.ts +4 -0
- package/lib/resources/braintree_gateways.js +45 -0
- package/lib/resources/braintree_payments.cjs +49 -0
- package/lib/resources/braintree_payments.d.cts +4 -0
- package/lib/resources/braintree_payments.d.ts +4 -0
- package/lib/resources/braintree_payments.js +45 -0
- package/lib/resources/bundles.cjs +71 -0
- package/lib/resources/bundles.d.cts +4 -0
- package/lib/resources/bundles.d.ts +4 -0
- package/lib/resources/bundles.js +67 -0
- package/lib/resources/buy_x_pay_y_promotions.cjs +91 -0
- package/lib/resources/buy_x_pay_y_promotions.d.cts +4 -0
- package/lib/resources/buy_x_pay_y_promotions.d.ts +4 -0
- package/lib/resources/buy_x_pay_y_promotions.js +87 -0
- package/lib/resources/captures.cjs +71 -0
- package/lib/resources/captures.d.cts +4 -0
- package/lib/resources/captures.d.ts +4 -0
- package/lib/resources/captures.js +67 -0
- package/lib/resources/carrier_accounts.cjs +49 -0
- package/lib/resources/carrier_accounts.d.cts +4 -0
- package/lib/resources/carrier_accounts.d.ts +4 -0
- package/lib/resources/carrier_accounts.js +45 -0
- package/lib/resources/checkout_com_gateways.cjs +49 -0
- package/lib/resources/checkout_com_gateways.d.cts +4 -0
- package/lib/resources/checkout_com_gateways.d.ts +4 -0
- package/lib/resources/checkout_com_gateways.js +45 -0
- package/lib/resources/checkout_com_payments.cjs +55 -0
- package/lib/resources/checkout_com_payments.d.cts +4 -0
- package/lib/resources/checkout_com_payments.d.ts +4 -0
- package/lib/resources/checkout_com_payments.js +51 -0
- package/lib/resources/cleanups.cjs +48 -0
- package/lib/resources/cleanups.d.cts +4 -0
- package/lib/resources/cleanups.d.ts +4 -0
- package/lib/resources/cleanups.js +44 -0
- package/lib/resources/coupon_codes_promotion_rules.cjs +45 -0
- package/lib/resources/coupon_codes_promotion_rules.d.cts +4 -0
- package/lib/resources/coupon_codes_promotion_rules.d.ts +4 -0
- package/lib/resources/coupon_codes_promotion_rules.js +41 -0
- package/lib/resources/coupon_recipients.cjs +49 -0
- package/lib/resources/coupon_recipients.d.cts +4 -0
- package/lib/resources/coupon_recipients.d.ts +4 -0
- package/lib/resources/coupon_recipients.js +45 -0
- package/lib/resources/coupons.cjs +57 -0
- package/lib/resources/coupons.d.cts +4 -0
- package/lib/resources/coupons.d.ts +4 -0
- package/lib/resources/coupons.js +53 -0
- package/lib/resources/custom_promotion_rules.cjs +41 -0
- package/lib/resources/custom_promotion_rules.d.cts +4 -0
- package/lib/resources/custom_promotion_rules.d.ts +4 -0
- package/lib/resources/custom_promotion_rules.js +37 -0
- package/lib/resources/customer_addresses.cjs +53 -0
- package/lib/resources/customer_addresses.d.cts +4 -0
- package/lib/resources/customer_addresses.d.ts +4 -0
- package/lib/resources/customer_addresses.js +49 -0
- package/lib/resources/customer_groups.cjs +53 -0
- package/lib/resources/customer_groups.d.cts +4 -0
- package/lib/resources/customer_groups.d.ts +4 -0
- package/lib/resources/customer_groups.js +49 -0
- package/lib/resources/customer_password_resets.cjs +48 -0
- package/lib/resources/customer_password_resets.d.cts +4 -0
- package/lib/resources/customer_password_resets.d.ts +4 -0
- package/lib/resources/customer_password_resets.js +44 -0
- package/lib/resources/customer_payment_sources.cjs +49 -0
- package/lib/resources/customer_payment_sources.d.cts +4 -0
- package/lib/resources/customer_payment_sources.d.ts +4 -0
- package/lib/resources/customer_payment_sources.js +45 -0
- package/lib/resources/customer_subscriptions.cjs +49 -0
- package/lib/resources/customer_subscriptions.d.cts +4 -0
- package/lib/resources/customer_subscriptions.d.ts +4 -0
- package/lib/resources/customer_subscriptions.js +45 -0
- package/lib/resources/customers.cjs +81 -0
- package/lib/resources/customers.d.cts +4 -0
- package/lib/resources/customers.d.ts +4 -0
- package/lib/resources/customers.js +77 -0
- package/lib/resources/delivery_lead_times.cjs +53 -0
- package/lib/resources/delivery_lead_times.d.cts +4 -0
- package/lib/resources/delivery_lead_times.d.ts +4 -0
- package/lib/resources/delivery_lead_times.js +49 -0
- package/lib/resources/discount_engine_items.cjs +36 -0
- package/lib/resources/discount_engine_items.d.cts +4 -0
- package/lib/resources/discount_engine_items.d.ts +4 -0
- package/lib/resources/discount_engine_items.js +32 -0
- package/lib/resources/discount_engines.cjs +44 -0
- package/lib/resources/discount_engines.d.cts +4 -0
- package/lib/resources/discount_engines.d.ts +4 -0
- package/lib/resources/discount_engines.js +40 -0
- package/lib/resources/easypost_pickups.cjs +52 -0
- package/lib/resources/easypost_pickups.d.cts +4 -0
- package/lib/resources/easypost_pickups.d.ts +4 -0
- package/lib/resources/easypost_pickups.js +48 -0
- package/lib/resources/event_callbacks.cjs +32 -0
- package/lib/resources/event_callbacks.d.cts +4 -0
- package/lib/resources/event_callbacks.d.ts +4 -0
- package/lib/resources/event_callbacks.js +28 -0
- package/lib/resources/events.cjs +42 -0
- package/lib/resources/events.d.cts +4 -0
- package/lib/resources/events.d.ts +4 -0
- package/lib/resources/events.js +38 -0
- package/lib/resources/exports.cjs +48 -0
- package/lib/resources/exports.d.cts +4 -0
- package/lib/resources/exports.d.ts +4 -0
- package/lib/resources/exports.js +44 -0
- package/lib/resources/external_gateways.cjs +52 -0
- package/lib/resources/external_gateways.d.cts +4 -0
- package/lib/resources/external_gateways.d.ts +4 -0
- package/lib/resources/external_gateways.js +48 -0
- package/lib/resources/external_payments.cjs +53 -0
- package/lib/resources/external_payments.d.cts +4 -0
- package/lib/resources/external_payments.d.ts +4 -0
- package/lib/resources/external_payments.js +49 -0
- package/lib/resources/external_promotions.cjs +94 -0
- package/lib/resources/external_promotions.d.cts +4 -0
- package/lib/resources/external_promotions.d.ts +4 -0
- package/lib/resources/external_promotions.js +90 -0
- package/lib/resources/external_tax_calculators.cjs +56 -0
- package/lib/resources/external_tax_calculators.d.cts +4 -0
- package/lib/resources/external_tax_calculators.d.ts +4 -0
- package/lib/resources/external_tax_calculators.js +52 -0
- package/lib/resources/fixed_amount_promotions.cjs +91 -0
- package/lib/resources/fixed_amount_promotions.d.cts +4 -0
- package/lib/resources/fixed_amount_promotions.d.ts +4 -0
- package/lib/resources/fixed_amount_promotions.js +87 -0
- package/lib/resources/fixed_price_promotions.cjs +91 -0
- package/lib/resources/fixed_price_promotions.d.cts +4 -0
- package/lib/resources/fixed_price_promotions.d.ts +4 -0
- package/lib/resources/fixed_price_promotions.js +87 -0
- package/lib/resources/flex_promotions.cjs +67 -0
- package/lib/resources/flex_promotions.d.cts +4 -0
- package/lib/resources/flex_promotions.d.ts +4 -0
- package/lib/resources/flex_promotions.js +63 -0
- package/lib/resources/free_gift_promotions.cjs +91 -0
- package/lib/resources/free_gift_promotions.d.cts +4 -0
- package/lib/resources/free_gift_promotions.d.ts +4 -0
- package/lib/resources/free_gift_promotions.js +87 -0
- package/lib/resources/free_shipping_promotions.cjs +87 -0
- package/lib/resources/free_shipping_promotions.d.cts +4 -0
- package/lib/resources/free_shipping_promotions.d.ts +4 -0
- package/lib/resources/free_shipping_promotions.js +83 -0
- package/lib/resources/geocoders.cjs +40 -0
- package/lib/resources/geocoders.d.cts +4 -0
- package/lib/resources/geocoders.d.ts +4 -0
- package/lib/resources/geocoders.js +36 -0
- package/lib/resources/gift_card_recipients.cjs +49 -0
- package/lib/resources/gift_card_recipients.d.cts +4 -0
- package/lib/resources/gift_card_recipients.d.ts +4 -0
- package/lib/resources/gift_card_recipients.js +45 -0
- package/lib/resources/gift_cards.cjs +73 -0
- package/lib/resources/gift_cards.d.cts +4 -0
- package/lib/resources/gift_cards.d.ts +4 -0
- package/lib/resources/gift_cards.js +69 -0
- package/lib/resources/google_geocoders.cjs +49 -0
- package/lib/resources/google_geocoders.d.cts +4 -0
- package/lib/resources/google_geocoders.d.ts +4 -0
- package/lib/resources/google_geocoders.js +45 -0
- package/lib/resources/imports.cjs +44 -0
- package/lib/resources/imports.d.cts +4 -0
- package/lib/resources/imports.d.ts +4 -0
- package/lib/resources/imports.js +40 -0
- package/lib/resources/in_stock_subscriptions.cjs +63 -0
- package/lib/resources/in_stock_subscriptions.d.cts +4 -0
- package/lib/resources/in_stock_subscriptions.d.ts +4 -0
- package/lib/resources/in_stock_subscriptions.js +59 -0
- package/lib/resources/inventory_models.cjs +53 -0
- package/lib/resources/inventory_models.d.cts +4 -0
- package/lib/resources/inventory_models.d.ts +4 -0
- package/lib/resources/inventory_models.js +49 -0
- package/lib/resources/inventory_return_locations.cjs +49 -0
- package/lib/resources/inventory_return_locations.d.cts +4 -0
- package/lib/resources/inventory_return_locations.d.ts +4 -0
- package/lib/resources/inventory_return_locations.js +45 -0
- package/lib/resources/inventory_stock_locations.cjs +49 -0
- package/lib/resources/inventory_stock_locations.d.cts +4 -0
- package/lib/resources/inventory_stock_locations.d.ts +4 -0
- package/lib/resources/inventory_stock_locations.js +45 -0
- package/lib/resources/klarna_gateways.cjs +49 -0
- package/lib/resources/klarna_gateways.d.cts +4 -0
- package/lib/resources/klarna_gateways.d.ts +4 -0
- package/lib/resources/klarna_gateways.js +45 -0
- package/lib/resources/klarna_payments.cjs +52 -0
- package/lib/resources/klarna_payments.d.cts +4 -0
- package/lib/resources/klarna_payments.d.ts +4 -0
- package/lib/resources/klarna_payments.js +48 -0
- package/lib/resources/line_item_options.cjs +53 -0
- package/lib/resources/line_item_options.d.cts +4 -0
- package/lib/resources/line_item_options.d.ts +4 -0
- package/lib/resources/line_item_options.js +49 -0
- package/lib/resources/line_items.cjs +82 -0
- package/lib/resources/line_items.d.cts +4 -0
- package/lib/resources/line_items.d.ts +4 -0
- package/lib/resources/line_items.js +78 -0
- package/lib/resources/links.cjs +47 -0
- package/lib/resources/links.d.cts +4 -0
- package/lib/resources/links.d.ts +4 -0
- package/lib/resources/links.js +43 -0
- package/lib/resources/manual_gateways.cjs +45 -0
- package/lib/resources/manual_gateways.d.cts +4 -0
- package/lib/resources/manual_gateways.d.ts +4 -0
- package/lib/resources/manual_gateways.js +41 -0
- package/lib/resources/manual_tax_calculators.cjs +57 -0
- package/lib/resources/manual_tax_calculators.d.cts +4 -0
- package/lib/resources/manual_tax_calculators.d.ts +4 -0
- package/lib/resources/manual_tax_calculators.js +53 -0
- package/lib/resources/markets.cjs +91 -0
- package/lib/resources/markets.d.cts +4 -0
- package/lib/resources/markets.d.ts +4 -0
- package/lib/resources/markets.js +87 -0
- package/lib/resources/merchants.cjs +49 -0
- package/lib/resources/merchants.d.cts +4 -0
- package/lib/resources/merchants.d.ts +4 -0
- package/lib/resources/merchants.js +45 -0
- package/lib/resources/notifications.cjs +37 -0
- package/lib/resources/notifications.d.cts +4 -0
- package/lib/resources/notifications.d.ts +4 -0
- package/lib/resources/notifications.js +33 -0
- package/lib/resources/order_amount_promotion_rules.cjs +41 -0
- package/lib/resources/order_amount_promotion_rules.d.cts +4 -0
- package/lib/resources/order_amount_promotion_rules.d.ts +4 -0
- package/lib/resources/order_amount_promotion_rules.js +37 -0
- package/lib/resources/order_copies.cjs +53 -0
- package/lib/resources/order_copies.d.cts +4 -0
- package/lib/resources/order_copies.d.ts +4 -0
- package/lib/resources/order_copies.js +49 -0
- package/lib/resources/order_factories.cjs +40 -0
- package/lib/resources/order_factories.d.cts +4 -0
- package/lib/resources/order_factories.d.ts +4 -0
- package/lib/resources/order_factories.js +36 -0
- package/lib/resources/order_subscription_items.cjs +45 -0
- package/lib/resources/order_subscription_items.d.cts +4 -0
- package/lib/resources/order_subscription_items.d.ts +4 -0
- package/lib/resources/order_subscription_items.js +41 -0
- package/lib/resources/order_subscriptions.cjs +97 -0
- package/lib/resources/order_subscriptions.d.cts +4 -0
- package/lib/resources/order_subscriptions.d.ts +4 -0
- package/lib/resources/order_subscriptions.js +93 -0
- package/lib/resources/orders.cjs +266 -0
- package/lib/resources/orders.d.cts +4 -0
- package/lib/resources/orders.d.ts +4 -0
- package/lib/resources/orders.js +262 -0
- package/lib/resources/organizations.cjs +31 -0
- package/lib/resources/organizations.d.cts +4 -0
- package/lib/resources/organizations.d.ts +4 -0
- package/lib/resources/organizations.js +27 -0
- package/lib/resources/packages.cjs +53 -0
- package/lib/resources/packages.d.cts +4 -0
- package/lib/resources/packages.d.ts +4 -0
- package/lib/resources/packages.js +49 -0
- package/lib/resources/parcel_line_items.cjs +49 -0
- package/lib/resources/parcel_line_items.d.cts +4 -0
- package/lib/resources/parcel_line_items.d.ts +4 -0
- package/lib/resources/parcel_line_items.js +45 -0
- package/lib/resources/parcels.cjs +61 -0
- package/lib/resources/parcels.d.cts +4 -0
- package/lib/resources/parcels.d.ts +4 -0
- package/lib/resources/parcels.js +57 -0
- package/lib/resources/payment_gateways.cjs +36 -0
- package/lib/resources/payment_gateways.d.cts +4 -0
- package/lib/resources/payment_gateways.d.ts +4 -0
- package/lib/resources/payment_gateways.js +32 -0
- package/lib/resources/payment_methods.cjs +67 -0
- package/lib/resources/payment_methods.d.cts +4 -0
- package/lib/resources/payment_methods.d.ts +4 -0
- package/lib/resources/payment_methods.js +63 -0
- package/lib/resources/payment_options.cjs +45 -0
- package/lib/resources/payment_options.d.cts +4 -0
- package/lib/resources/payment_options.d.ts +4 -0
- package/lib/resources/payment_options.js +41 -0
- package/lib/resources/paypal_gateways.cjs +49 -0
- package/lib/resources/paypal_gateways.d.cts +4 -0
- package/lib/resources/paypal_gateways.d.ts +4 -0
- package/lib/resources/paypal_gateways.js +45 -0
- package/lib/resources/paypal_payments.cjs +49 -0
- package/lib/resources/paypal_payments.d.cts +4 -0
- package/lib/resources/paypal_payments.d.ts +4 -0
- package/lib/resources/paypal_payments.js +45 -0
- package/lib/resources/percentage_discount_promotions.cjs +91 -0
- package/lib/resources/percentage_discount_promotions.d.cts +4 -0
- package/lib/resources/percentage_discount_promotions.d.ts +4 -0
- package/lib/resources/percentage_discount_promotions.js +87 -0
- package/lib/resources/pickups.cjs +40 -0
- package/lib/resources/pickups.d.cts +4 -0
- package/lib/resources/pickups.d.ts +4 -0
- package/lib/resources/pickups.js +36 -0
- package/lib/resources/price_frequency_tiers.cjs +53 -0
- package/lib/resources/price_frequency_tiers.d.cts +4 -0
- package/lib/resources/price_frequency_tiers.d.ts +4 -0
- package/lib/resources/price_frequency_tiers.js +49 -0
- package/lib/resources/price_list_schedulers.cjs +59 -0
- package/lib/resources/price_list_schedulers.d.cts +4 -0
- package/lib/resources/price_list_schedulers.d.ts +4 -0
- package/lib/resources/price_list_schedulers.js +55 -0
- package/lib/resources/price_lists.cjs +53 -0
- package/lib/resources/price_lists.d.cts +4 -0
- package/lib/resources/price_lists.d.ts +4 -0
- package/lib/resources/price_lists.js +49 -0
- package/lib/resources/price_tiers.cjs +40 -0
- package/lib/resources/price_tiers.d.cts +4 -0
- package/lib/resources/price_tiers.d.ts +4 -0
- package/lib/resources/price_tiers.js +36 -0
- package/lib/resources/price_volume_tiers.cjs +53 -0
- package/lib/resources/price_volume_tiers.d.cts +4 -0
- package/lib/resources/price_volume_tiers.d.ts +4 -0
- package/lib/resources/price_volume_tiers.js +49 -0
- package/lib/resources/prices.cjs +77 -0
- package/lib/resources/prices.d.cts +4 -0
- package/lib/resources/prices.d.ts +4 -0
- package/lib/resources/prices.js +73 -0
- package/lib/resources/promotion_rules.cjs +32 -0
- package/lib/resources/promotion_rules.d.cts +4 -0
- package/lib/resources/promotion_rules.d.ts +4 -0
- package/lib/resources/promotion_rules.js +28 -0
- package/lib/resources/promotions.cjs +72 -0
- package/lib/resources/promotions.d.cts +4 -0
- package/lib/resources/promotions.d.ts +4 -0
- package/lib/resources/promotions.js +68 -0
- package/lib/resources/recurring_order_copies.cjs +53 -0
- package/lib/resources/recurring_order_copies.d.cts +4 -0
- package/lib/resources/recurring_order_copies.d.ts +4 -0
- package/lib/resources/recurring_order_copies.js +49 -0
- package/lib/resources/refunds.cjs +58 -0
- package/lib/resources/refunds.d.cts +4 -0
- package/lib/resources/refunds.d.ts +4 -0
- package/lib/resources/refunds.js +54 -0
- package/lib/resources/reserved_stocks.cjs +44 -0
- package/lib/resources/reserved_stocks.d.cts +4 -0
- package/lib/resources/reserved_stocks.d.ts +4 -0
- package/lib/resources/reserved_stocks.js +40 -0
- package/lib/resources/resource_errors.cjs +28 -0
- package/lib/resources/resource_errors.d.cts +4 -0
- package/lib/resources/resource_errors.d.ts +4 -0
- package/lib/resources/resource_errors.js +24 -0
- package/lib/resources/return_line_items.cjs +48 -0
- package/lib/resources/return_line_items.d.cts +4 -0
- package/lib/resources/return_line_items.d.ts +4 -0
- package/lib/resources/return_line_items.js +44 -0
- package/lib/resources/returns.cjs +122 -0
- package/lib/resources/returns.d.cts +4 -0
- package/lib/resources/returns.d.ts +4 -0
- package/lib/resources/returns.js +118 -0
- package/lib/resources/satispay_gateways.cjs +49 -0
- package/lib/resources/satispay_gateways.d.cts +4 -0
- package/lib/resources/satispay_gateways.d.ts +4 -0
- package/lib/resources/satispay_gateways.js +45 -0
- package/lib/resources/satispay_payments.cjs +52 -0
- package/lib/resources/satispay_payments.d.cts +4 -0
- package/lib/resources/satispay_payments.d.ts +4 -0
- package/lib/resources/satispay_payments.js +48 -0
- package/lib/resources/shipments.cjs +152 -0
- package/lib/resources/shipments.d.cts +4 -0
- package/lib/resources/shipments.d.ts +4 -0
- package/lib/resources/shipments.js +148 -0
- package/lib/resources/shipping_categories.cjs +49 -0
- package/lib/resources/shipping_categories.d.cts +4 -0
- package/lib/resources/shipping_categories.d.ts +4 -0
- package/lib/resources/shipping_categories.js +45 -0
- package/lib/resources/shipping_method_tiers.cjs +40 -0
- package/lib/resources/shipping_method_tiers.d.cts +4 -0
- package/lib/resources/shipping_method_tiers.d.ts +4 -0
- package/lib/resources/shipping_method_tiers.js +36 -0
- package/lib/resources/shipping_methods.cjs +86 -0
- package/lib/resources/shipping_methods.d.cts +4 -0
- package/lib/resources/shipping_methods.d.ts +4 -0
- package/lib/resources/shipping_methods.js +82 -0
- package/lib/resources/shipping_weight_tiers.cjs +49 -0
- package/lib/resources/shipping_weight_tiers.d.cts +4 -0
- package/lib/resources/shipping_weight_tiers.d.ts +4 -0
- package/lib/resources/shipping_weight_tiers.js +45 -0
- package/lib/resources/shipping_zones.cjs +45 -0
- package/lib/resources/shipping_zones.d.cts +4 -0
- package/lib/resources/shipping_zones.d.ts +4 -0
- package/lib/resources/shipping_zones.js +41 -0
- package/lib/resources/sku_list_items.cjs +49 -0
- package/lib/resources/sku_list_items.d.cts +4 -0
- package/lib/resources/sku_list_items.d.ts +4 -0
- package/lib/resources/sku_list_items.js +45 -0
- package/lib/resources/sku_list_promotion_rules.cjs +49 -0
- package/lib/resources/sku_list_promotion_rules.d.cts +4 -0
- package/lib/resources/sku_list_promotion_rules.d.ts +4 -0
- package/lib/resources/sku_list_promotion_rules.js +45 -0
- package/lib/resources/sku_lists.cjs +65 -0
- package/lib/resources/sku_lists.d.cts +4 -0
- package/lib/resources/sku_lists.d.ts +4 -0
- package/lib/resources/sku_lists.js +61 -0
- package/lib/resources/sku_options.cjs +57 -0
- package/lib/resources/sku_options.d.cts +4 -0
- package/lib/resources/sku_options.d.ts +4 -0
- package/lib/resources/sku_options.js +53 -0
- package/lib/resources/skus.cjs +101 -0
- package/lib/resources/skus.d.cts +4 -0
- package/lib/resources/skus.d.ts +4 -0
- package/lib/resources/skus.js +97 -0
- package/lib/resources/stock_items.cjs +64 -0
- package/lib/resources/stock_items.d.cts +4 -0
- package/lib/resources/stock_items.d.ts +4 -0
- package/lib/resources/stock_items.js +60 -0
- package/lib/resources/stock_line_items.cjs +70 -0
- package/lib/resources/stock_line_items.d.cts +4 -0
- package/lib/resources/stock_line_items.d.ts +4 -0
- package/lib/resources/stock_line_items.js +66 -0
- package/lib/resources/stock_locations.cjs +69 -0
- package/lib/resources/stock_locations.d.cts +4 -0
- package/lib/resources/stock_locations.d.ts +4 -0
- package/lib/resources/stock_locations.js +65 -0
- package/lib/resources/stock_reservations.cjs +68 -0
- package/lib/resources/stock_reservations.d.cts +4 -0
- package/lib/resources/stock_reservations.d.ts +4 -0
- package/lib/resources/stock_reservations.js +64 -0
- package/lib/resources/stock_transfers.cjs +91 -0
- package/lib/resources/stock_transfers.d.cts +4 -0
- package/lib/resources/stock_transfers.d.ts +4 -0
- package/lib/resources/stock_transfers.js +87 -0
- package/lib/resources/stores.cjs +65 -0
- package/lib/resources/stores.d.cts +4 -0
- package/lib/resources/stores.d.ts +4 -0
- package/lib/resources/stores.js +61 -0
- package/lib/resources/stripe_gateways.cjs +49 -0
- package/lib/resources/stripe_gateways.d.cts +4 -0
- package/lib/resources/stripe_gateways.d.ts +4 -0
- package/lib/resources/stripe_gateways.js +45 -0
- package/lib/resources/stripe_payments.cjs +55 -0
- package/lib/resources/stripe_payments.d.cts +4 -0
- package/lib/resources/stripe_payments.d.ts +4 -0
- package/lib/resources/stripe_payments.js +51 -0
- package/lib/resources/stripe_tax_accounts.cjs +57 -0
- package/lib/resources/stripe_tax_accounts.d.cts +4 -0
- package/lib/resources/stripe_tax_accounts.d.ts +4 -0
- package/lib/resources/stripe_tax_accounts.js +53 -0
- package/lib/resources/subscription_models.cjs +49 -0
- package/lib/resources/subscription_models.d.cts +4 -0
- package/lib/resources/subscription_models.d.ts +4 -0
- package/lib/resources/subscription_models.js +45 -0
- package/lib/resources/tags.cjs +37 -0
- package/lib/resources/tags.d.cts +4 -0
- package/lib/resources/tags.d.ts +4 -0
- package/lib/resources/tags.js +33 -0
- package/lib/resources/talon_one_accounts.cjs +53 -0
- package/lib/resources/talon_one_accounts.d.cts +4 -0
- package/lib/resources/talon_one_accounts.d.ts +4 -0
- package/lib/resources/talon_one_accounts.js +49 -0
- package/lib/resources/tax_calculators.cjs +44 -0
- package/lib/resources/tax_calculators.d.cts +4 -0
- package/lib/resources/tax_calculators.d.ts +4 -0
- package/lib/resources/tax_calculators.js +40 -0
- package/lib/resources/tax_categories.cjs +49 -0
- package/lib/resources/tax_categories.d.cts +4 -0
- package/lib/resources/tax_categories.d.ts +4 -0
- package/lib/resources/tax_categories.js +45 -0
- package/lib/resources/tax_rules.cjs +45 -0
- package/lib/resources/tax_rules.d.cts +4 -0
- package/lib/resources/tax_rules.d.ts +4 -0
- package/lib/resources/tax_rules.js +41 -0
- package/lib/resources/taxjar_accounts.cjs +57 -0
- package/lib/resources/taxjar_accounts.d.cts +4 -0
- package/lib/resources/taxjar_accounts.d.ts +4 -0
- package/lib/resources/taxjar_accounts.js +53 -0
- package/lib/resources/transactions.cjs +44 -0
- package/lib/resources/transactions.d.cts +4 -0
- package/lib/resources/transactions.d.ts +4 -0
- package/lib/resources/transactions.js +40 -0
- package/lib/resources/versions.cjs +28 -0
- package/lib/resources/versions.d.cts +4 -0
- package/lib/resources/versions.d.ts +4 -0
- package/lib/resources/versions.js +24 -0
- package/lib/resources/vertex_accounts.cjs +56 -0
- package/lib/resources/vertex_accounts.d.cts +4 -0
- package/lib/resources/vertex_accounts.d.ts +4 -0
- package/lib/resources/vertex_accounts.js +52 -0
- package/lib/resources/voids.cjs +54 -0
- package/lib/resources/voids.d.cts +4 -0
- package/lib/resources/voids.d.ts +4 -0
- package/lib/resources/voids.js +50 -0
- package/lib/resources/webhooks.cjs +54 -0
- package/lib/resources/webhooks.d.cts +4 -0
- package/lib/resources/webhooks.d.ts +4 -0
- package/lib/resources/webhooks.js +50 -0
- package/lib/resources/wire_transfers.cjs +45 -0
- package/lib/resources/wire_transfers.d.cts +4 -0
- package/lib/resources/wire_transfers.d.ts +4 -0
- package/lib/resources/wire_transfers.js +41 -0
- package/lib/static.cjs +39 -0
- package/lib/static.d.cts +19 -0
- package/lib/static.d.ts +19 -0
- package/lib/static.js +33 -0
- package/lib/types.cjs +2 -0
- package/lib/types.d.cts +7 -0
- package/lib/types.d.ts +7 -0
- package/lib/types.js +1 -0
- package/lib/util.cjs +37 -0
- package/lib/util.d.cts +13 -0
- package/lib/util.d.ts +13 -0
- package/lib/util.js +32 -0
- package/package.json +26 -11
- package/lib/index.mjs +0 -1
@@ -1,87 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
type FetchRequestOptions = RequestInit;
|
4
|
-
declare class FetchError extends Error {
|
5
|
-
#private;
|
6
|
-
static isFetchError: (error: any) => error is FetchError;
|
7
|
-
constructor(status: number, statusText: string, body?: any, request?: FetchRequestOptions);
|
8
|
-
get errors(): any[] | undefined;
|
9
|
-
get status(): number;
|
10
|
-
get statusText(): string;
|
11
|
-
get request(): Partial<FetchRequestOptions> | undefined;
|
12
|
-
}
|
13
|
-
|
14
|
-
type InterceptorEventManager<S extends (RequestInterceptor | ResponseInterceptor), F extends (ErrorInterceptor | ResponseInterceptor)> = {
|
15
|
-
onSuccess?: S;
|
16
|
-
onFailure?: F;
|
17
|
-
};
|
18
|
-
type RequestEventManager = InterceptorEventManager<RequestInterceptor, ErrorInterceptor>;
|
19
|
-
type ResponseEventManager = InterceptorEventManager<ResponseInterceptor, ErrorInterceptor>;
|
20
|
-
type ErrorEventManager = InterceptorEventManager<ResponseInterceptor, ResponseInterceptor>;
|
21
|
-
type InterceptorManager = {
|
22
|
-
request?: RequestEventManager;
|
23
|
-
response?: ResponseEventManager;
|
24
|
-
rawReader?: ErrorEventManager;
|
25
|
-
};
|
26
|
-
type RequestObj = {
|
27
|
-
url: URL;
|
28
|
-
options: FetchRequestOptions;
|
29
|
-
};
|
30
|
-
type RequestInterceptor = (request: RequestObj) => RequestObj | Promise<RequestObj>;
|
31
|
-
type ResponseObj = Response;
|
32
|
-
type ResponseInterceptor = (response: ResponseObj) => ResponseObj | Promise<ResponseObj>;
|
33
|
-
type ApiHeadersList = 'x-ratelimit-limit' | 'x-ratelimit-interval' | 'x-ratelimit-remaining';
|
34
|
-
type ApiHeaders = {
|
35
|
-
[key in ApiHeadersList]: string | number | boolean;
|
36
|
-
};
|
37
|
-
type HeadersObj = Record<string, string> | ApiHeaders;
|
38
|
-
type ErrorObj = FetchError;
|
39
|
-
type ErrorInterceptor = (error: ErrorObj) => ErrorObj | Promise<ErrorObj>;
|
40
|
-
type InterceptorType = 'request' | 'response';
|
41
|
-
|
42
|
-
type RawResponseReader = {
|
43
|
-
id: number;
|
44
|
-
rawResponse?: any;
|
45
|
-
headers?: HeadersObj;
|
46
|
-
ok: boolean;
|
47
|
-
};
|
48
|
-
|
49
|
-
type RequestParams = Record<string, string | number | boolean>;
|
50
|
-
type RequestHeaders = Record<string, string>;
|
51
|
-
type RefreshToken = (expiredToken: string) => Promise<string>;
|
52
|
-
type RequestConfig = {
|
53
|
-
timeout?: number;
|
54
|
-
params?: RequestParams;
|
55
|
-
headers?: RequestHeaders;
|
56
|
-
userAgent?: string;
|
57
|
-
fetch?: Fetch;
|
58
|
-
refreshToken?: RefreshToken;
|
59
|
-
};
|
60
|
-
type ApiConfig = {
|
61
|
-
organization?: string;
|
62
|
-
domain?: string;
|
63
|
-
accessToken: string;
|
64
|
-
};
|
65
|
-
type ApiClientInitConfig = ApiConfig & RequestConfig;
|
66
|
-
type ApiClientConfig = Partial<ApiClientInitConfig>;
|
67
|
-
type Method = 'GET' | 'DELETE' | 'POST' | 'PUT' | 'PATCH';
|
68
|
-
declare class ApiClient {
|
69
|
-
#private;
|
70
|
-
static create(options: ApiClientInitConfig): ApiClient;
|
71
|
-
private constructor();
|
72
|
-
get interceptors(): InterceptorManager;
|
73
|
-
get requestHeaders(): RequestHeaders;
|
74
|
-
config(config: ApiClientConfig): this;
|
75
|
-
userAgent(userAgent: string): this;
|
76
|
-
request(method: Method, path: string, body?: any, options?: ApiClientConfig): Promise<FetchResponse>;
|
77
|
-
private customHeaders;
|
78
|
-
get currentAccessToken(): string;
|
79
|
-
}
|
80
|
-
|
81
|
-
type CreateArrayWithLengthX<LENGTH extends number, ACC extends unknown[] = []> = ACC['length'] extends LENGTH ? ACC : CreateArrayWithLengthX<LENGTH, [...ACC, 1]>;
|
82
|
-
type NumericNumberRange<START_ARR extends number[], END extends number, ACC extends number = never> = START_ARR['length'] extends END ? ACC | END : NumericNumberRange<[...START_ARR, 1], END, ACC | START_ARR['length']>;
|
83
|
-
type PositiveNumberRange<MAX extends number> = NumericNumberRange<CreateArrayWithLengthX<1>, MAX>;
|
84
|
-
type StringKey<T> = Extract<keyof T, string>;
|
1
|
+
import ApiClient, { ApiClientInitConfig } from './client.cjs';
|
2
|
+
import { StringKey, PositiveNumberRange } from './types.cjs';
|
85
3
|
|
86
4
|
type QueryResType<T extends Resource> = T['type'];
|
87
5
|
type QueryInclude = string[];
|
@@ -166,7 +84,12 @@ type ResourceFilter = Pick<Resource, 'id' | 'reference' | 'reference_origin' | '
|
|
166
84
|
type ResourceAdapterConfig = {};
|
167
85
|
type ResourcesInitConfig = ResourceAdapterConfig & ApiClientInitConfig;
|
168
86
|
type ResourcesConfig = Partial<ResourcesInitConfig>;
|
169
|
-
declare
|
87
|
+
declare class ApiResourceAdapter {
|
88
|
+
private static adapter;
|
89
|
+
static init(config: ResourcesInitConfig): ResourceAdapter;
|
90
|
+
static get(config?: ResourcesInitConfig): ResourceAdapter;
|
91
|
+
static config(config: ResourcesConfig): void;
|
92
|
+
}
|
170
93
|
declare class ResourceAdapter {
|
171
94
|
#private;
|
172
95
|
constructor(config: ResourcesInitConfig);
|
@@ -182,9 +105,10 @@ declare class ResourceAdapter {
|
|
182
105
|
fetch<R extends Resource>(resource: string | ResourceType, path: string, params?: QueryParams<R>, options?: ResourcesConfig): Promise<R | ListResponse<R>>;
|
183
106
|
}
|
184
107
|
declare abstract class ApiResourceBase<R extends Resource> {
|
108
|
+
#private;
|
185
109
|
static readonly TYPE: ResourceTypeLock;
|
186
|
-
|
187
|
-
|
110
|
+
constructor(adapter?: ResourceAdapter);
|
111
|
+
protected get resources(): ResourceAdapter;
|
188
112
|
abstract relationship(id: string | ResourceId | null): ResourceRel;
|
189
113
|
protected relationshipOneToOne<RR extends ResourceRel>(id: string | ResourceId | null): RR;
|
190
114
|
protected relationshipOneToMany<RR extends ResourceRel>(...ids: string[]): RR[];
|
@@ -16857,205 +16781,4 @@ type ResourceSortFields = {
|
|
16857
16781
|
wire_transfers: WireTransferSort;
|
16858
16782
|
};
|
16859
16783
|
|
16860
|
-
declare enum ErrorType {
|
16861
|
-
CLIENT = "client",// Generic Client error
|
16862
|
-
REQUEST = "request",// Error preparing API request
|
16863
|
-
RESPONSE = "response",// Error response from API
|
16864
|
-
CANCEL = "cancel",// Forced request abort using interceptor
|
16865
|
-
PARSE = "parse",// Error parsing API resource
|
16866
|
-
TIMEOUT = "timeout",// Timeout error
|
16867
|
-
TOKEN_REFRESH = "token-refresh"
|
16868
|
-
}
|
16869
|
-
declare class SdkError extends Error {
|
16870
|
-
static NAME: string;
|
16871
|
-
static isSdkError(error: any): error is SdkError;
|
16872
|
-
type: ErrorType;
|
16873
|
-
code?: string;
|
16874
|
-
source?: Error;
|
16875
|
-
constructor(error: {
|
16876
|
-
message: string;
|
16877
|
-
type?: ErrorType;
|
16878
|
-
});
|
16879
|
-
}
|
16880
|
-
declare class ApiError extends SdkError {
|
16881
|
-
static NAME: string;
|
16882
|
-
static isApiError(error: any): error is ApiError;
|
16883
|
-
errors: any[];
|
16884
|
-
status?: number;
|
16885
|
-
statusText?: string;
|
16886
|
-
constructor(error: {
|
16887
|
-
message: string;
|
16888
|
-
});
|
16889
|
-
first(): any;
|
16890
|
-
}
|
16891
|
-
|
16892
|
-
type SdkConfig = {};
|
16893
|
-
type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
16894
|
-
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
16895
|
-
declare class CommerceLayerClient {
|
16896
|
-
#private;
|
16897
|
-
readonly openApiSchemaVersion = "7.8.0";
|
16898
|
-
constructor(config: CommerceLayerInitConfig);
|
16899
|
-
get addresses(): Addresses;
|
16900
|
-
get adjustments(): Adjustments;
|
16901
|
-
get adyen_gateways(): AdyenGateways;
|
16902
|
-
get adyen_payments(): AdyenPayments;
|
16903
|
-
get application(): Applications;
|
16904
|
-
get attachments(): Attachments;
|
16905
|
-
get authorizations(): Authorizations;
|
16906
|
-
get avalara_accounts(): AvalaraAccounts;
|
16907
|
-
get axerve_gateways(): AxerveGateways;
|
16908
|
-
get axerve_payments(): AxervePayments;
|
16909
|
-
get bing_geocoders(): BingGeocoders;
|
16910
|
-
get braintree_gateways(): BraintreeGateways;
|
16911
|
-
get braintree_payments(): BraintreePayments;
|
16912
|
-
get bundles(): Bundles;
|
16913
|
-
get buy_x_pay_y_promotions(): BuyXPayYPromotions;
|
16914
|
-
get captures(): Captures;
|
16915
|
-
get carrier_accounts(): CarrierAccounts;
|
16916
|
-
get checkout_com_gateways(): CheckoutComGateways;
|
16917
|
-
get checkout_com_payments(): CheckoutComPayments;
|
16918
|
-
get cleanups(): Cleanups;
|
16919
|
-
get coupon_codes_promotion_rules(): CouponCodesPromotionRules;
|
16920
|
-
get coupon_recipients(): CouponRecipients;
|
16921
|
-
get coupons(): Coupons;
|
16922
|
-
get custom_promotion_rules(): CustomPromotionRules;
|
16923
|
-
get customer_addresses(): CustomerAddresses;
|
16924
|
-
get customer_groups(): CustomerGroups;
|
16925
|
-
get customer_password_resets(): CustomerPasswordResets;
|
16926
|
-
get customer_payment_sources(): CustomerPaymentSources;
|
16927
|
-
get customer_subscriptions(): CustomerSubscriptions;
|
16928
|
-
get customers(): Customers;
|
16929
|
-
get delivery_lead_times(): DeliveryLeadTimes;
|
16930
|
-
get discount_engine_items(): DiscountEngineItems;
|
16931
|
-
get discount_engines(): DiscountEngines;
|
16932
|
-
get easypost_pickups(): EasypostPickups;
|
16933
|
-
get event_callbacks(): EventCallbacks;
|
16934
|
-
get events(): Events;
|
16935
|
-
get exports(): Exports;
|
16936
|
-
get external_gateways(): ExternalGateways;
|
16937
|
-
get external_payments(): ExternalPayments;
|
16938
|
-
get external_promotions(): ExternalPromotions;
|
16939
|
-
get external_tax_calculators(): ExternalTaxCalculators;
|
16940
|
-
get fixed_amount_promotions(): FixedAmountPromotions;
|
16941
|
-
get fixed_price_promotions(): FixedPricePromotions;
|
16942
|
-
get flex_promotions(): FlexPromotions;
|
16943
|
-
get free_gift_promotions(): FreeGiftPromotions;
|
16944
|
-
get free_shipping_promotions(): FreeShippingPromotions;
|
16945
|
-
get geocoders(): Geocoders;
|
16946
|
-
get gift_card_recipients(): GiftCardRecipients;
|
16947
|
-
get gift_cards(): GiftCards;
|
16948
|
-
get google_geocoders(): GoogleGeocoders;
|
16949
|
-
get imports(): Imports;
|
16950
|
-
get in_stock_subscriptions(): InStockSubscriptions;
|
16951
|
-
get inventory_models(): InventoryModels;
|
16952
|
-
get inventory_return_locations(): InventoryReturnLocations;
|
16953
|
-
get inventory_stock_locations(): InventoryStockLocations;
|
16954
|
-
get klarna_gateways(): KlarnaGateways;
|
16955
|
-
get klarna_payments(): KlarnaPayments;
|
16956
|
-
get line_item_options(): LineItemOptions;
|
16957
|
-
get line_items(): LineItems;
|
16958
|
-
get links(): Links;
|
16959
|
-
get manual_gateways(): ManualGateways;
|
16960
|
-
get manual_tax_calculators(): ManualTaxCalculators;
|
16961
|
-
get markets(): Markets;
|
16962
|
-
get merchants(): Merchants;
|
16963
|
-
get notifications(): Notifications;
|
16964
|
-
get order_amount_promotion_rules(): OrderAmountPromotionRules;
|
16965
|
-
get order_copies(): OrderCopies;
|
16966
|
-
get order_factories(): OrderFactories;
|
16967
|
-
get order_subscription_items(): OrderSubscriptionItems;
|
16968
|
-
get order_subscriptions(): OrderSubscriptions;
|
16969
|
-
get orders(): Orders;
|
16970
|
-
get organization(): Organizations;
|
16971
|
-
get packages(): Packages;
|
16972
|
-
get parcel_line_items(): ParcelLineItems;
|
16973
|
-
get parcels(): Parcels;
|
16974
|
-
get payment_gateways(): PaymentGateways;
|
16975
|
-
get payment_methods(): PaymentMethods;
|
16976
|
-
get payment_options(): PaymentOptions;
|
16977
|
-
get paypal_gateways(): PaypalGateways;
|
16978
|
-
get paypal_payments(): PaypalPayments;
|
16979
|
-
get percentage_discount_promotions(): PercentageDiscountPromotions;
|
16980
|
-
get pickups(): Pickups;
|
16981
|
-
get price_frequency_tiers(): PriceFrequencyTiers;
|
16982
|
-
get price_list_schedulers(): PriceListSchedulers;
|
16983
|
-
get price_lists(): PriceLists;
|
16984
|
-
get price_tiers(): PriceTiers;
|
16985
|
-
get price_volume_tiers(): PriceVolumeTiers;
|
16986
|
-
get prices(): Prices;
|
16987
|
-
get promotion_rules(): PromotionRules;
|
16988
|
-
get promotions(): Promotions;
|
16989
|
-
get recurring_order_copies(): RecurringOrderCopies;
|
16990
|
-
get refunds(): Refunds;
|
16991
|
-
get reserved_stocks(): ReservedStocks;
|
16992
|
-
get resource_errors(): ResourceErrors;
|
16993
|
-
get return_line_items(): ReturnLineItems;
|
16994
|
-
get returns(): Returns;
|
16995
|
-
get satispay_gateways(): SatispayGateways;
|
16996
|
-
get satispay_payments(): SatispayPayments;
|
16997
|
-
get shipments(): Shipments;
|
16998
|
-
get shipping_categories(): ShippingCategories;
|
16999
|
-
get shipping_method_tiers(): ShippingMethodTiers;
|
17000
|
-
get shipping_methods(): ShippingMethods;
|
17001
|
-
get shipping_weight_tiers(): ShippingWeightTiers;
|
17002
|
-
get shipping_zones(): ShippingZones;
|
17003
|
-
get sku_list_items(): SkuListItems;
|
17004
|
-
get sku_list_promotion_rules(): SkuListPromotionRules;
|
17005
|
-
get sku_lists(): SkuLists;
|
17006
|
-
get sku_options(): SkuOptions;
|
17007
|
-
get skus(): Skus;
|
17008
|
-
get stock_items(): StockItems;
|
17009
|
-
get stock_line_items(): StockLineItems;
|
17010
|
-
get stock_locations(): StockLocations;
|
17011
|
-
get stock_reservations(): StockReservations;
|
17012
|
-
get stock_transfers(): StockTransfers;
|
17013
|
-
get stores(): Stores;
|
17014
|
-
get stripe_gateways(): StripeGateways;
|
17015
|
-
get stripe_payments(): StripePayments;
|
17016
|
-
get stripe_tax_accounts(): StripeTaxAccounts;
|
17017
|
-
get subscription_models(): SubscriptionModels;
|
17018
|
-
get tags(): Tags;
|
17019
|
-
get talon_one_accounts(): TalonOneAccounts;
|
17020
|
-
get tax_calculators(): TaxCalculators;
|
17021
|
-
get tax_categories(): TaxCategories;
|
17022
|
-
get tax_rules(): TaxRules;
|
17023
|
-
get taxjar_accounts(): TaxjarAccounts;
|
17024
|
-
get transactions(): Transactions;
|
17025
|
-
get versions(): Versions;
|
17026
|
-
get vertex_accounts(): VertexAccounts;
|
17027
|
-
get voids(): Voids;
|
17028
|
-
get webhooks(): Webhooks;
|
17029
|
-
get wire_transfers(): WireTransfers;
|
17030
|
-
get currentOrganization(): string;
|
17031
|
-
get currentAccessToken(): string;
|
17032
|
-
private get interceptors();
|
17033
|
-
private localConfig;
|
17034
|
-
config(config: CommerceLayerConfig): this;
|
17035
|
-
resources(): readonly string[];
|
17036
|
-
singletons(): readonly string[];
|
17037
|
-
isSingleton(resource: ResourceTypeLock): boolean;
|
17038
|
-
isApiError(error: any): error is ApiError;
|
17039
|
-
addRequestInterceptor(onSuccess?: RequestInterceptor, onFailure?: ErrorInterceptor): number;
|
17040
|
-
addResponseInterceptor(onSuccess?: ResponseInterceptor, onFailure?: ErrorInterceptor): number;
|
17041
|
-
removeInterceptor(type: InterceptorType, id?: number): void;
|
17042
|
-
removeInterceptors(): void;
|
17043
|
-
addRawResponseReader(options?: {
|
17044
|
-
headers: boolean;
|
17045
|
-
}): RawResponseReader;
|
17046
|
-
removeRawResponseReader(): void;
|
17047
|
-
}
|
17048
|
-
declare const CommerceLayer: (config: CommerceLayerInitConfig) => CommerceLayerClient;
|
17049
|
-
|
17050
|
-
declare const CommerceLayerStatic: {
|
17051
|
-
resources: (sort?: boolean) => readonly string[];
|
17052
|
-
singletons: (sort?: boolean) => readonly string[];
|
17053
|
-
isSingleton: (resource: ResourceTypeLock) => boolean;
|
17054
|
-
isSdkError: (error: unknown) => error is SdkError;
|
17055
|
-
isApiError: (error: unknown) => error is ApiError;
|
17056
|
-
init: (config: CommerceLayerInitConfig) => CommerceLayerClient;
|
17057
|
-
isTokenExpired: (token: string) => boolean;
|
17058
|
-
readonly schemaVersion: string;
|
17059
|
-
};
|
17060
|
-
|
17061
|
-
export { type Address, type AddressCreate, type AddressSort, type AddressUpdate, Addresses, type Adjustment, type AdjustmentCreate, type AdjustmentSort, type AdjustmentUpdate, Adjustments, type AdyenGateway, type AdyenGatewayCreate, type AdyenGatewaySort, type AdyenGatewayUpdate, AdyenGateways, type AdyenPayment, type AdyenPaymentCreate, type AdyenPaymentSort, type AdyenPaymentUpdate, AdyenPayments, ApiError, ApiResource, ApiSingleton, type Application, type ApplicationSort, Applications, type Attachment, type AttachmentCreate, type AttachmentSort, type AttachmentUpdate, Attachments, type Authorization, type AuthorizationSort, type AuthorizationUpdate, Authorizations, type AvalaraAccount, type AvalaraAccountCreate, type AvalaraAccountSort, type AvalaraAccountUpdate, AvalaraAccounts, type AxerveGateway, type AxerveGatewayCreate, type AxerveGatewaySort, type AxerveGatewayUpdate, AxerveGateways, type AxervePayment, type AxervePaymentCreate, type AxervePaymentSort, type AxervePaymentUpdate, AxervePayments, type BingGeocoder, type BingGeocoderCreate, type BingGeocoderSort, type BingGeocoderUpdate, BingGeocoders, type BraintreeGateway, type BraintreeGatewayCreate, type BraintreeGatewaySort, type BraintreeGatewayUpdate, BraintreeGateways, type BraintreePayment, type BraintreePaymentCreate, type BraintreePaymentSort, type BraintreePaymentUpdate, BraintreePayments, type Bundle, type BundleCreate, type BundleSort, type BundleUpdate, Bundles, type BuyXPayYPromotion, type BuyXPayYPromotionCreate, type BuyXPayYPromotionSort, type BuyXPayYPromotionUpdate, BuyXPayYPromotions, type Capture, type CaptureSort, type CaptureUpdate, Captures, type CarrierAccount, type CarrierAccountCreate, type CarrierAccountSort, type CarrierAccountUpdate, CarrierAccounts, type CheckoutComGateway, type CheckoutComGatewayCreate, type CheckoutComGatewaySort, type CheckoutComGatewayUpdate, CheckoutComGateways, type CheckoutComPayment, type CheckoutComPaymentCreate, type CheckoutComPaymentSort, type CheckoutComPaymentUpdate, CheckoutComPayments, type Cleanup, type CleanupCreate, type CleanupSort, type CleanupUpdate, Cleanups, CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, CommerceLayerStatic, type Coupon, type CouponCodesPromotionRule, type CouponCodesPromotionRuleCreate, type CouponCodesPromotionRuleSort, type CouponCodesPromotionRuleUpdate, CouponCodesPromotionRules, type CouponCreate, type CouponRecipient, type CouponRecipientCreate, type CouponRecipientSort, type CouponRecipientUpdate, CouponRecipients, type CouponSort, type CouponUpdate, Coupons, type CreatableResource, type CreatableResourceType, type CustomPromotionRule, type CustomPromotionRuleCreate, type CustomPromotionRuleSort, type CustomPromotionRuleUpdate, CustomPromotionRules, type Customer, type CustomerAddress, type CustomerAddressCreate, type CustomerAddressSort, type CustomerAddressUpdate, CustomerAddresses, type CustomerCreate, type CustomerGroup, type CustomerGroupCreate, type CustomerGroupSort, type CustomerGroupUpdate, CustomerGroups, type CustomerPasswordReset, type CustomerPasswordResetCreate, type CustomerPasswordResetSort, type CustomerPasswordResetUpdate, CustomerPasswordResets, type CustomerPaymentSource, type CustomerPaymentSourceCreate, type CustomerPaymentSourceSort, type CustomerPaymentSourceUpdate, CustomerPaymentSources, type CustomerSort, type CustomerSubscription, type CustomerSubscriptionCreate, type CustomerSubscriptionSort, type CustomerSubscriptionUpdate, CustomerSubscriptions, type CustomerUpdate, Customers, type DeletableResource, type DeletableResourceType, type DeliveryLeadTime, type DeliveryLeadTimeCreate, type DeliveryLeadTimeSort, type DeliveryLeadTimeUpdate, DeliveryLeadTimes, type DiscountEngine, type DiscountEngineItem, type DiscountEngineItemSort, DiscountEngineItems, type DiscountEngineSort, DiscountEngines, type EasypostPickup, type EasypostPickupCreate, type EasypostPickupSort, type EasypostPickupUpdate, EasypostPickups, type ErrorObj, ErrorType, type Event, type EventCallback, type EventCallbackSort, EventCallbacks, type EventSort, type EventUpdate, Events, type Export, type ExportCreate, type ExportSort, type ExportUpdate, Exports, type ExternalGateway, type ExternalGatewayCreate, type ExternalGatewaySort, type ExternalGatewayUpdate, ExternalGateways, type ExternalPayment, type ExternalPaymentCreate, type ExternalPaymentSort, type ExternalPaymentUpdate, ExternalPayments, type ExternalPromotion, type ExternalPromotionCreate, type ExternalPromotionSort, type ExternalPromotionUpdate, ExternalPromotions, type ExternalTaxCalculator, type ExternalTaxCalculatorCreate, type ExternalTaxCalculatorSort, type ExternalTaxCalculatorUpdate, ExternalTaxCalculators, type FixedAmountPromotion, type FixedAmountPromotionCreate, type FixedAmountPromotionSort, type FixedAmountPromotionUpdate, FixedAmountPromotions, type FixedPricePromotion, type FixedPricePromotionCreate, type FixedPricePromotionSort, type FixedPricePromotionUpdate, FixedPricePromotions, type FlexPromotion, type FlexPromotionCreate, type FlexPromotionSort, type FlexPromotionUpdate, FlexPromotions, type FreeGiftPromotion, type FreeGiftPromotionCreate, type FreeGiftPromotionSort, type FreeGiftPromotionUpdate, FreeGiftPromotions, type FreeShippingPromotion, type FreeShippingPromotionCreate, type FreeShippingPromotionSort, type FreeShippingPromotionUpdate, FreeShippingPromotions, type Geocoder, type GeocoderSort, Geocoders, type GiftCard, type GiftCardCreate, type GiftCardRecipient, type GiftCardRecipientCreate, type GiftCardRecipientSort, type GiftCardRecipientUpdate, GiftCardRecipients, type GiftCardSort, type GiftCardUpdate, GiftCards, type GoogleGeocoder, type GoogleGeocoderCreate, type GoogleGeocoderSort, type GoogleGeocoderUpdate, GoogleGeocoders, type HeadersObj, type Import, type ImportCreate, type ImportSort, type ImportUpdate, Imports, type InStockSubscription, type InStockSubscriptionCreate, type InStockSubscriptionSort, type InStockSubscriptionUpdate, InStockSubscriptions, type InventoryModel, type InventoryModelCreate, type InventoryModelSort, type InventoryModelUpdate, InventoryModels, type InventoryReturnLocation, type InventoryReturnLocationCreate, type InventoryReturnLocationSort, type InventoryReturnLocationUpdate, InventoryReturnLocations, type InventoryStockLocation, type InventoryStockLocationCreate, type InventoryStockLocationSort, type InventoryStockLocationUpdate, InventoryStockLocations, type KlarnaGateway, type KlarnaGatewayCreate, type KlarnaGatewaySort, type KlarnaGatewayUpdate, KlarnaGateways, type KlarnaPayment, type KlarnaPaymentCreate, type KlarnaPaymentSort, type KlarnaPaymentUpdate, KlarnaPayments, type LineItem, type LineItemCreate, type LineItemOption, type LineItemOptionCreate, type LineItemOptionSort, type LineItemOptionUpdate, LineItemOptions, type LineItemSort, type LineItemUpdate, LineItems, type Link, type LinkCreate, type LinkSort, type LinkUpdate, Links, type ListMeta, ListResponse, type ListableResource, type ListableResourceType, type ManualGateway, type ManualGatewayCreate, type ManualGatewaySort, type ManualGatewayUpdate, ManualGateways, type ManualTaxCalculator, type ManualTaxCalculatorCreate, type ManualTaxCalculatorSort, type ManualTaxCalculatorUpdate, ManualTaxCalculators, type Market, type MarketCreate, type MarketSort, type MarketUpdate, Markets, type Merchant, type MerchantCreate, type MerchantSort, type MerchantUpdate, Merchants, type Metadata, type Notification, type NotificationCreate, type NotificationSort, type NotificationUpdate, Notifications, type Order, type OrderAmountPromotionRule, type OrderAmountPromotionRuleCreate, type OrderAmountPromotionRuleSort, type OrderAmountPromotionRuleUpdate, OrderAmountPromotionRules, OrderCopies, type OrderCopy, type OrderCopyCreate, type OrderCopySort, type OrderCopyUpdate, type OrderCreate, OrderFactories, type OrderFactory, type OrderFactorySort, type OrderSort, type OrderSubscription, type OrderSubscriptionCreate, type OrderSubscriptionItem, type OrderSubscriptionItemCreate, type OrderSubscriptionItemSort, type OrderSubscriptionItemUpdate, OrderSubscriptionItems, type OrderSubscriptionSort, type OrderSubscriptionUpdate, OrderSubscriptions, type OrderUpdate, Orders, type Organization, type OrganizationSort, Organizations, type Package, type PackageCreate, type PackageSort, type PackageUpdate, Packages, type Parcel, type ParcelCreate, type ParcelLineItem, type ParcelLineItemCreate, type ParcelLineItemSort, type ParcelLineItemUpdate, ParcelLineItems, type ParcelSort, type ParcelUpdate, Parcels, type PaymentGateway, type PaymentGatewaySort, PaymentGateways, type PaymentMethod, type PaymentMethodCreate, type PaymentMethodSort, type PaymentMethodUpdate, PaymentMethods, type PaymentOption, type PaymentOptionCreate, type PaymentOptionSort, type PaymentOptionUpdate, PaymentOptions, type PaypalGateway, type PaypalGatewayCreate, type PaypalGatewaySort, type PaypalGatewayUpdate, PaypalGateways, type PaypalPayment, type PaypalPaymentCreate, type PaypalPaymentSort, type PaypalPaymentUpdate, PaypalPayments, type PercentageDiscountPromotion, type PercentageDiscountPromotionCreate, type PercentageDiscountPromotionSort, type PercentageDiscountPromotionUpdate, PercentageDiscountPromotions, type Pickup, type PickupSort, Pickups, type Price, type PriceCreate, type PriceFrequencyTier, type PriceFrequencyTierCreate, type PriceFrequencyTierSort, type PriceFrequencyTierUpdate, PriceFrequencyTiers, type PriceList, type PriceListCreate, type PriceListScheduler, type PriceListSchedulerCreate, type PriceListSchedulerSort, type PriceListSchedulerUpdate, PriceListSchedulers, type PriceListSort, type PriceListUpdate, PriceLists, type PriceSort, type PriceTier, type PriceTierSort, PriceTiers, type PriceUpdate, type PriceVolumeTier, type PriceVolumeTierCreate, type PriceVolumeTierSort, type PriceVolumeTierUpdate, PriceVolumeTiers, Prices, type Promotion, type PromotionRule, type PromotionRuleSort, PromotionRules, type PromotionSort, Promotions, type QueryArrayFields, type QueryArraySortable, type QueryFields, type QueryFilter, type QueryInclude, type QueryPageNumber, type QueryPageSize, type QueryParams, type QueryParamsList, type QueryParamsRetrieve, type QueryRecordFields, type QueryRecordSortable, type QuerySort, RecurringOrderCopies, type RecurringOrderCopy, type RecurringOrderCopyCreate, type RecurringOrderCopySort, type RecurringOrderCopyUpdate, type Refund, type RefundSort, type RefundUpdate, Refunds, type RequestObj, type ReservedStock, type ReservedStockSort, ReservedStocks, type Resource, ResourceAdapter, type ResourceCreate, type ResourceError, type ResourceErrorSort, ResourceErrors, type ResourceFields, type ResourceFilter, type ResourceId, type ResourceRel, type ResourceSort, type ResourceSortFields, type ResourceType, type ResourceTypeLock, type ResourceUpdate, type ResourcesConfig, type ResourcesInitConfig, type ResponseObj, type RetrievableResource, type RetrievableResourceType, type Return, type ReturnCreate, type ReturnLineItem, type ReturnLineItemCreate, type ReturnLineItemSort, type ReturnLineItemUpdate, ReturnLineItems, type ReturnSort, type ReturnUpdate, Returns, type SatispayGateway, type SatispayGatewayCreate, type SatispayGatewaySort, type SatispayGatewayUpdate, SatispayGateways, type SatispayPayment, type SatispayPaymentCreate, type SatispayPaymentSort, type SatispayPaymentUpdate, SatispayPayments, SdkError, type Shipment, type ShipmentCreate, type ShipmentSort, type ShipmentUpdate, Shipments, ShippingCategories, type ShippingCategory, type ShippingCategoryCreate, type ShippingCategorySort, type ShippingCategoryUpdate, type ShippingMethod, type ShippingMethodCreate, type ShippingMethodSort, type ShippingMethodTier, type ShippingMethodTierSort, ShippingMethodTiers, type ShippingMethodUpdate, ShippingMethods, type ShippingWeightTier, type ShippingWeightTierCreate, type ShippingWeightTierSort, type ShippingWeightTierUpdate, ShippingWeightTiers, type ShippingZone, type ShippingZoneCreate, type ShippingZoneSort, type ShippingZoneUpdate, ShippingZones, type Sku, type SkuCreate, type SkuList, type SkuListCreate, type SkuListItem, type SkuListItemCreate, type SkuListItemSort, type SkuListItemUpdate, SkuListItems, type SkuListPromotionRule, type SkuListPromotionRuleCreate, type SkuListPromotionRuleSort, type SkuListPromotionRuleUpdate, SkuListPromotionRules, type SkuListSort, type SkuListUpdate, SkuLists, type SkuOption, type SkuOptionCreate, type SkuOptionSort, type SkuOptionUpdate, SkuOptions, type SkuSort, type SkuUpdate, Skus, type StockItem, type StockItemCreate, type StockItemSort, type StockItemUpdate, StockItems, type StockLineItem, type StockLineItemCreate, type StockLineItemSort, type StockLineItemUpdate, StockLineItems, type StockLocation, type StockLocationCreate, type StockLocationSort, type StockLocationUpdate, StockLocations, type StockReservation, type StockReservationCreate, type StockReservationSort, type StockReservationUpdate, StockReservations, type StockTransfer, type StockTransferCreate, type StockTransferSort, type StockTransferUpdate, StockTransfers, type Store, type StoreCreate, type StoreSort, type StoreUpdate, Stores, type StripeGateway, type StripeGatewayCreate, type StripeGatewaySort, type StripeGatewayUpdate, StripeGateways, type StripePayment, type StripePaymentCreate, type StripePaymentSort, type StripePaymentUpdate, StripePayments, type StripeTaxAccount, type StripeTaxAccountCreate, type StripeTaxAccountSort, type StripeTaxAccountUpdate, StripeTaxAccounts, type SubscriptionModel, type SubscriptionModelCreate, type SubscriptionModelSort, type SubscriptionModelUpdate, SubscriptionModels, type Tag, type TagCreate, type TagSort, type TagUpdate, type TaggableResource, type TaggableResourceType, Tags, type TalonOneAccount, type TalonOneAccountCreate, type TalonOneAccountSort, type TalonOneAccountUpdate, TalonOneAccounts, type TaxCalculator, type TaxCalculatorSort, TaxCalculators, TaxCategories, type TaxCategory, type TaxCategoryCreate, type TaxCategorySort, type TaxCategoryUpdate, type TaxRule, type TaxRuleCreate, type TaxRuleSort, type TaxRuleUpdate, TaxRules, type TaxjarAccount, type TaxjarAccountCreate, type TaxjarAccountSort, type TaxjarAccountUpdate, TaxjarAccounts, type Transaction, type TransactionSort, Transactions, type UpdatableResource, type UpdatableResourceType, type Version, type VersionSort, type VersionableResource, type VersionableResourceType, Versions, type VertexAccount, type VertexAccountCreate, type VertexAccountSort, type VertexAccountUpdate, VertexAccounts, type Void, type VoidSort, type VoidUpdate, Voids, type Webhook, type WebhookCreate, type WebhookSort, type WebhookUpdate, Webhooks, type WireTransfer, type WireTransferCreate, type WireTransferSort, type WireTransferUpdate, WireTransfers, apiResourceAdapter, CommerceLayer as default, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };
|
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 };
|