@commercelayer/sdk 7.0.0-beta.16 → 7.0.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{api-Cxxi3g4i.d.cts → api-CRmSToGa.d.cts} +1 -1
- package/lib/{api-CsxHP9zh.d.ts → api-CUXmETkx.d.ts} +1 -1
- package/lib/api.cjs +7460 -792
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +7331 -132
- package/lib/client.cjs +253 -78
- package/lib/client.js +252 -72
- package/lib/commercelayer.cjs +778 -34
- package/lib/commercelayer.d.cts +1 -2
- package/lib/commercelayer.d.ts +1 -2
- package/lib/commercelayer.js +777 -29
- package/lib/common.cjs +143 -7
- package/lib/common.d.cts +1 -1
- package/lib/common.d.ts +1 -1
- package/lib/common.js +141 -5
- package/lib/config.cjs +2 -3
- package/lib/config.js +2 -3
- package/lib/debug.cjs +12 -6
- package/lib/debug.js +12 -6
- package/lib/enum.cjs +9 -10
- package/lib/enum.d.cts +1 -1
- package/lib/enum.d.ts +1 -1
- package/lib/enum.js +9 -10
- package/lib/error.cjs +75 -26
- package/lib/error.js +74 -25
- package/lib/fetch.cjs +85 -33
- package/lib/fetch.js +87 -31
- package/lib/index.cjs +8104 -23
- package/lib/index.d.cts +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +7977 -4
- package/lib/jsonapi.cjs +188 -21
- package/lib/jsonapi.d.cts +1 -1
- package/lib/jsonapi.d.ts +1 -1
- package/lib/jsonapi.js +186 -14
- package/lib/model.d.cts +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/query.cjs +75 -17
- package/lib/query.d.cts +1 -1
- package/lib/query.d.ts +1 -1
- package/lib/query.js +77 -15
- package/lib/resource.cjs +660 -71
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resource.js +646 -51
- package/lib/resources/addresses.cjs +794 -6
- package/lib/resources/addresses.d.cts +1 -1
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/addresses.js +794 -6
- package/lib/resources/adjustments.cjs +794 -6
- package/lib/resources/adjustments.d.cts +1 -1
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adjustments.js +794 -6
- package/lib/resources/adyen_gateways.cjs +794 -6
- package/lib/resources/adyen_gateways.d.cts +1 -1
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_gateways.js +794 -6
- package/lib/resources/adyen_payments.cjs +794 -6
- package/lib/resources/adyen_payments.d.cts +1 -1
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/adyen_payments.js +794 -6
- package/lib/resources/applications.cjs +786 -6
- package/lib/resources/applications.d.cts +1 -1
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/applications.js +786 -6
- package/lib/resources/attachments.cjs +794 -6
- package/lib/resources/attachments.d.cts +1 -1
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/attachments.js +794 -6
- package/lib/resources/authorizations.cjs +794 -6
- package/lib/resources/authorizations.d.cts +1 -1
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/authorizations.js +794 -6
- package/lib/resources/avalara_accounts.cjs +794 -6
- package/lib/resources/avalara_accounts.d.cts +1 -1
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/avalara_accounts.js +794 -6
- package/lib/resources/axerve_gateways.cjs +794 -6
- package/lib/resources/axerve_gateways.d.cts +1 -1
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_gateways.js +794 -6
- package/lib/resources/axerve_payments.cjs +794 -6
- package/lib/resources/axerve_payments.d.cts +1 -1
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/axerve_payments.js +794 -6
- package/lib/resources/bing_geocoders.cjs +794 -6
- package/lib/resources/bing_geocoders.d.cts +1 -1
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/bing_geocoders.js +794 -6
- package/lib/resources/braintree_gateways.cjs +794 -6
- package/lib/resources/braintree_gateways.d.cts +1 -1
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_gateways.js +794 -6
- package/lib/resources/braintree_payments.cjs +794 -6
- package/lib/resources/braintree_payments.d.cts +1 -1
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/braintree_payments.js +794 -6
- package/lib/resources/bundles.cjs +794 -6
- package/lib/resources/bundles.d.cts +1 -1
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/bundles.js +794 -6
- package/lib/resources/buy_x_pay_y_promotions.cjs +794 -6
- package/lib/resources/buy_x_pay_y_promotions.d.cts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.js +794 -6
- package/lib/resources/captures.cjs +794 -6
- package/lib/resources/captures.d.cts +1 -1
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/captures.js +794 -6
- package/lib/resources/carrier_accounts.cjs +794 -6
- package/lib/resources/carrier_accounts.d.cts +1 -1
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/carrier_accounts.js +794 -6
- package/lib/resources/checkout_com_gateways.cjs +794 -6
- package/lib/resources/checkout_com_gateways.d.cts +1 -1
- package/lib/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/resources/checkout_com_gateways.js +794 -6
- package/lib/resources/checkout_com_payments.cjs +794 -6
- package/lib/resources/checkout_com_payments.d.cts +1 -1
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/checkout_com_payments.js +794 -6
- package/lib/resources/cleanups.cjs +794 -6
- package/lib/resources/cleanups.d.cts +1 -1
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/cleanups.js +794 -6
- package/lib/resources/coupon_codes_promotion_rules.cjs +794 -6
- package/lib/resources/coupon_codes_promotion_rules.d.cts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.js +794 -6
- package/lib/resources/coupon_recipients.cjs +794 -6
- package/lib/resources/coupon_recipients.d.cts +1 -1
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupon_recipients.js +794 -6
- package/lib/resources/coupons.cjs +794 -6
- package/lib/resources/coupons.d.cts +1 -1
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/coupons.js +794 -6
- package/lib/resources/custom_promotion_rules.cjs +794 -6
- package/lib/resources/custom_promotion_rules.d.cts +1 -1
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.js +794 -6
- package/lib/resources/customer_addresses.cjs +794 -6
- package/lib/resources/customer_addresses.d.cts +1 -1
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_addresses.js +794 -6
- package/lib/resources/customer_groups.cjs +794 -6
- package/lib/resources/customer_groups.d.cts +1 -1
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_groups.js +794 -6
- package/lib/resources/customer_password_resets.cjs +794 -6
- package/lib/resources/customer_password_resets.d.cts +1 -1
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_password_resets.js +794 -6
- package/lib/resources/customer_payment_sources.cjs +794 -6
- package/lib/resources/customer_payment_sources.d.cts +1 -1
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_payment_sources.js +794 -6
- package/lib/resources/customer_subscriptions.cjs +794 -6
- package/lib/resources/customer_subscriptions.d.cts +1 -1
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customer_subscriptions.js +794 -6
- package/lib/resources/customers.cjs +794 -6
- package/lib/resources/customers.d.cts +1 -1
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/customers.js +794 -6
- package/lib/resources/delivery_lead_times.cjs +794 -6
- package/lib/resources/delivery_lead_times.d.cts +1 -1
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/delivery_lead_times.js +794 -6
- package/lib/resources/discount_engine_items.cjs +794 -6
- package/lib/resources/discount_engine_items.d.cts +1 -1
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engine_items.js +794 -6
- package/lib/resources/discount_engines.cjs +794 -6
- package/lib/resources/discount_engines.d.cts +1 -1
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/discount_engines.js +794 -6
- package/lib/resources/easypost_pickups.cjs +794 -6
- package/lib/resources/easypost_pickups.d.cts +1 -1
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/easypost_pickups.js +794 -6
- package/lib/resources/event_callbacks.cjs +794 -6
- package/lib/resources/event_callbacks.d.cts +1 -1
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/event_callbacks.js +794 -6
- package/lib/resources/events.cjs +794 -6
- package/lib/resources/events.d.cts +1 -1
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/events.js +794 -6
- package/lib/resources/exports.cjs +794 -6
- package/lib/resources/exports.d.cts +1 -1
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/exports.js +794 -6
- package/lib/resources/external_gateways.cjs +794 -6
- package/lib/resources/external_gateways.d.cts +1 -1
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_gateways.js +794 -6
- package/lib/resources/external_payments.cjs +794 -6
- package/lib/resources/external_payments.d.cts +1 -1
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_payments.js +794 -6
- package/lib/resources/external_promotions.cjs +794 -6
- package/lib/resources/external_promotions.d.cts +1 -1
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_promotions.js +794 -6
- package/lib/resources/external_tax_calculators.cjs +794 -6
- package/lib/resources/external_tax_calculators.d.cts +1 -1
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/external_tax_calculators.js +794 -6
- package/lib/resources/fixed_amount_promotions.cjs +794 -6
- package/lib/resources/fixed_amount_promotions.d.cts +1 -1
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.js +794 -6
- package/lib/resources/fixed_price_promotions.cjs +794 -6
- package/lib/resources/fixed_price_promotions.d.cts +1 -1
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.js +794 -6
- package/lib/resources/flex_promotions.cjs +794 -6
- package/lib/resources/flex_promotions.d.cts +1 -1
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.js +794 -6
- package/lib/resources/free_gift_promotions.cjs +794 -6
- package/lib/resources/free_gift_promotions.d.cts +1 -1
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_gift_promotions.js +794 -6
- package/lib/resources/free_shipping_promotions.cjs +794 -6
- package/lib/resources/free_shipping_promotions.d.cts +1 -1
- package/lib/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.js +794 -6
- package/lib/resources/geocoders.cjs +794 -6
- package/lib/resources/geocoders.d.cts +1 -1
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/geocoders.js +794 -6
- package/lib/resources/gift_card_recipients.cjs +794 -6
- package/lib/resources/gift_card_recipients.d.cts +1 -1
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_card_recipients.js +794 -6
- package/lib/resources/gift_cards.cjs +794 -6
- package/lib/resources/gift_cards.d.cts +1 -1
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/gift_cards.js +794 -6
- package/lib/resources/google_geocoders.cjs +794 -6
- package/lib/resources/google_geocoders.d.cts +1 -1
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/google_geocoders.js +794 -6
- package/lib/resources/imports.cjs +794 -6
- package/lib/resources/imports.d.cts +1 -1
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/imports.js +794 -6
- package/lib/resources/in_stock_subscriptions.cjs +794 -6
- package/lib/resources/in_stock_subscriptions.d.cts +1 -1
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.js +794 -6
- package/lib/resources/inventory_models.cjs +794 -6
- package/lib/resources/inventory_models.d.cts +1 -1
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_models.js +794 -6
- package/lib/resources/inventory_return_locations.cjs +794 -6
- package/lib/resources/inventory_return_locations.d.cts +1 -1
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_return_locations.js +794 -6
- package/lib/resources/inventory_stock_locations.cjs +794 -6
- package/lib/resources/inventory_stock_locations.d.cts +1 -1
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.js +794 -6
- package/lib/resources/klarna_gateways.cjs +794 -6
- package/lib/resources/klarna_gateways.d.cts +1 -1
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_gateways.js +794 -6
- package/lib/resources/klarna_payments.cjs +794 -6
- package/lib/resources/klarna_payments.d.cts +1 -1
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/klarna_payments.js +794 -6
- package/lib/resources/line_item_options.cjs +794 -6
- package/lib/resources/line_item_options.d.cts +1 -1
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_item_options.js +794 -6
- package/lib/resources/line_items.cjs +794 -6
- package/lib/resources/line_items.d.cts +1 -1
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/line_items.js +794 -6
- package/lib/resources/links.cjs +794 -6
- package/lib/resources/links.d.cts +1 -1
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/links.js +794 -6
- package/lib/resources/manual_gateways.cjs +794 -6
- package/lib/resources/manual_gateways.d.cts +1 -1
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_gateways.js +794 -6
- package/lib/resources/manual_tax_calculators.cjs +794 -6
- package/lib/resources/manual_tax_calculators.d.cts +1 -1
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.js +794 -6
- package/lib/resources/markets.cjs +794 -6
- package/lib/resources/markets.d.cts +1 -1
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/markets.js +794 -6
- package/lib/resources/merchants.cjs +794 -6
- package/lib/resources/merchants.d.cts +1 -1
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/merchants.js +794 -6
- package/lib/resources/notifications.cjs +794 -6
- package/lib/resources/notifications.d.cts +1 -1
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/notifications.js +794 -6
- package/lib/resources/order_amount_promotion_rules.cjs +794 -6
- package/lib/resources/order_amount_promotion_rules.d.cts +1 -1
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/resources/order_amount_promotion_rules.js +794 -6
- package/lib/resources/order_copies.cjs +794 -6
- package/lib/resources/order_copies.d.cts +1 -1
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_copies.js +794 -6
- package/lib/resources/order_factories.cjs +794 -6
- package/lib/resources/order_factories.d.cts +1 -1
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_factories.js +794 -6
- package/lib/resources/order_subscription_items.cjs +794 -6
- package/lib/resources/order_subscription_items.d.cts +1 -1
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscription_items.js +794 -6
- package/lib/resources/order_subscriptions.cjs +794 -6
- package/lib/resources/order_subscriptions.d.cts +1 -1
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/order_subscriptions.js +794 -6
- package/lib/resources/orders.cjs +794 -6
- package/lib/resources/orders.d.cts +1 -1
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/orders.js +794 -6
- package/lib/resources/organizations.cjs +786 -6
- package/lib/resources/organizations.d.cts +1 -1
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/organizations.js +786 -6
- package/lib/resources/packages.cjs +794 -6
- package/lib/resources/packages.d.cts +1 -1
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/packages.js +794 -6
- package/lib/resources/parcel_line_items.cjs +794 -6
- package/lib/resources/parcel_line_items.d.cts +1 -1
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcel_line_items.js +794 -6
- package/lib/resources/parcels.cjs +794 -6
- package/lib/resources/parcels.d.cts +1 -1
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/parcels.js +794 -6
- package/lib/resources/payment_gateways.cjs +794 -6
- package/lib/resources/payment_gateways.d.cts +1 -1
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_gateways.js +794 -6
- package/lib/resources/payment_methods.cjs +794 -6
- package/lib/resources/payment_methods.d.cts +1 -1
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_methods.js +794 -6
- package/lib/resources/payment_options.cjs +794 -6
- package/lib/resources/payment_options.d.cts +1 -1
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/payment_options.js +794 -6
- package/lib/resources/paypal_gateways.cjs +794 -6
- package/lib/resources/paypal_gateways.d.cts +1 -1
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_gateways.js +794 -6
- package/lib/resources/paypal_payments.cjs +794 -6
- package/lib/resources/paypal_payments.d.cts +1 -1
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/paypal_payments.js +794 -6
- package/lib/resources/percentage_discount_promotions.cjs +794 -6
- package/lib/resources/percentage_discount_promotions.d.cts +1 -1
- package/lib/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.js +794 -6
- package/lib/resources/pickups.cjs +794 -6
- package/lib/resources/pickups.d.cts +1 -1
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/pickups.js +794 -6
- package/lib/resources/price_frequency_tiers.cjs +794 -6
- package/lib/resources/price_frequency_tiers.d.cts +1 -1
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.js +794 -6
- package/lib/resources/price_list_schedulers.cjs +794 -6
- package/lib/resources/price_list_schedulers.d.cts +1 -1
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.js +794 -6
- package/lib/resources/price_lists.cjs +794 -6
- package/lib/resources/price_lists.d.cts +1 -1
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_lists.js +794 -6
- package/lib/resources/price_tiers.cjs +794 -6
- package/lib/resources/price_tiers.d.cts +1 -1
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_tiers.js +794 -6
- package/lib/resources/price_volume_tiers.cjs +794 -6
- package/lib/resources/price_volume_tiers.d.cts +1 -1
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.js +794 -6
- package/lib/resources/prices.cjs +794 -6
- package/lib/resources/prices.d.cts +1 -1
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/prices.js +794 -6
- package/lib/resources/promotion_rules.cjs +794 -6
- package/lib/resources/promotion_rules.d.cts +1 -1
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotion_rules.js +794 -6
- package/lib/resources/promotions.cjs +794 -6
- package/lib/resources/promotions.d.cts +1 -1
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/promotions.js +794 -6
- package/lib/resources/recurring_order_copies.cjs +794 -6
- package/lib/resources/recurring_order_copies.d.cts +1 -1
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/recurring_order_copies.js +794 -6
- package/lib/resources/refunds.cjs +794 -6
- package/lib/resources/refunds.d.cts +1 -1
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/refunds.js +794 -6
- package/lib/resources/reserved_stocks.cjs +794 -6
- package/lib/resources/reserved_stocks.d.cts +1 -1
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/reserved_stocks.js +794 -6
- package/lib/resources/resource_errors.cjs +794 -6
- package/lib/resources/resource_errors.d.cts +1 -1
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/resource_errors.js +794 -6
- package/lib/resources/return_line_items.cjs +794 -6
- package/lib/resources/return_line_items.d.cts +1 -1
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/return_line_items.js +794 -6
- package/lib/resources/returns.cjs +794 -6
- package/lib/resources/returns.d.cts +1 -1
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/returns.js +794 -6
- package/lib/resources/satispay_gateways.cjs +794 -6
- package/lib/resources/satispay_gateways.d.cts +1 -1
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_gateways.js +794 -6
- package/lib/resources/satispay_payments.cjs +794 -6
- package/lib/resources/satispay_payments.d.cts +1 -1
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/satispay_payments.js +794 -6
- package/lib/resources/shipments.cjs +794 -6
- package/lib/resources/shipments.d.cts +1 -1
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipments.js +794 -6
- package/lib/resources/shipping_categories.cjs +794 -6
- package/lib/resources/shipping_categories.d.cts +1 -1
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_categories.js +794 -6
- package/lib/resources/shipping_method_tiers.cjs +794 -6
- package/lib/resources/shipping_method_tiers.d.cts +1 -1
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.js +794 -6
- package/lib/resources/shipping_methods.cjs +794 -6
- package/lib/resources/shipping_methods.d.cts +1 -1
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_methods.js +794 -6
- package/lib/resources/shipping_weight_tiers.cjs +794 -6
- package/lib/resources/shipping_weight_tiers.d.cts +1 -1
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.js +794 -6
- package/lib/resources/shipping_zones.cjs +794 -6
- package/lib/resources/shipping_zones.d.cts +1 -1
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/shipping_zones.js +794 -6
- package/lib/resources/sku_list_items.cjs +794 -6
- package/lib/resources/sku_list_items.d.cts +1 -1
- package/lib/resources/sku_list_items.d.ts +1 -1
- package/lib/resources/sku_list_items.js +794 -6
- package/lib/resources/sku_list_promotion_rules.cjs +794 -6
- package/lib/resources/sku_list_promotion_rules.d.cts +1 -1
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_list_promotion_rules.js +794 -6
- package/lib/resources/sku_lists.cjs +794 -6
- package/lib/resources/sku_lists.d.cts +1 -1
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_lists.js +794 -6
- package/lib/resources/sku_options.cjs +794 -6
- package/lib/resources/sku_options.d.cts +1 -1
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/sku_options.js +794 -6
- package/lib/resources/skus.cjs +794 -6
- package/lib/resources/skus.d.cts +1 -1
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/skus.js +794 -6
- package/lib/resources/stock_items.cjs +794 -6
- package/lib/resources/stock_items.d.cts +1 -1
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_items.js +794 -6
- package/lib/resources/stock_line_items.cjs +794 -6
- package/lib/resources/stock_line_items.d.cts +1 -1
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_line_items.js +794 -6
- package/lib/resources/stock_locations.cjs +794 -6
- package/lib/resources/stock_locations.d.cts +1 -1
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_locations.js +794 -6
- package/lib/resources/stock_reservations.cjs +794 -6
- package/lib/resources/stock_reservations.d.cts +1 -1
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_reservations.js +794 -6
- package/lib/resources/stock_transfers.cjs +794 -6
- package/lib/resources/stock_transfers.d.cts +1 -1
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stock_transfers.js +794 -6
- package/lib/resources/stores.cjs +794 -6
- package/lib/resources/stores.d.cts +1 -1
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stores.js +794 -6
- package/lib/resources/stripe_gateways.cjs +794 -6
- package/lib/resources/stripe_gateways.d.cts +1 -1
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_gateways.js +794 -6
- package/lib/resources/stripe_payments.cjs +794 -6
- package/lib/resources/stripe_payments.d.cts +1 -1
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_payments.js +794 -6
- package/lib/resources/stripe_tax_accounts.cjs +794 -6
- package/lib/resources/stripe_tax_accounts.d.cts +1 -1
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.js +794 -6
- package/lib/resources/subscription_models.cjs +794 -6
- package/lib/resources/subscription_models.d.cts +1 -1
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/subscription_models.js +794 -6
- package/lib/resources/tags.cjs +794 -6
- package/lib/resources/tags.d.cts +1 -1
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/tags.js +794 -6
- package/lib/resources/talon_one_accounts.cjs +794 -6
- package/lib/resources/talon_one_accounts.d.cts +1 -1
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/talon_one_accounts.js +794 -6
- package/lib/resources/tax_calculators.cjs +794 -6
- package/lib/resources/tax_calculators.d.cts +1 -1
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_calculators.js +794 -6
- package/lib/resources/tax_categories.cjs +794 -6
- package/lib/resources/tax_categories.d.cts +1 -1
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_categories.js +794 -6
- package/lib/resources/tax_rules.cjs +794 -6
- package/lib/resources/tax_rules.d.cts +1 -1
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/tax_rules.js +794 -6
- package/lib/resources/taxjar_accounts.cjs +794 -6
- package/lib/resources/taxjar_accounts.d.cts +1 -1
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/taxjar_accounts.js +794 -6
- package/lib/resources/transactions.cjs +794 -6
- package/lib/resources/transactions.d.cts +1 -1
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/transactions.js +794 -6
- package/lib/resources/versions.cjs +794 -6
- package/lib/resources/versions.d.cts +1 -1
- package/lib/resources/versions.d.ts +1 -1
- package/lib/resources/versions.js +794 -6
- package/lib/resources/vertex_accounts.cjs +794 -6
- package/lib/resources/vertex_accounts.d.cts +1 -1
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/vertex_accounts.js +794 -6
- package/lib/resources/voids.cjs +794 -6
- package/lib/resources/voids.d.cts +1 -1
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/voids.js +794 -6
- package/lib/resources/webhooks.cjs +794 -6
- package/lib/resources/webhooks.d.cts +1 -1
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/webhooks.js +794 -6
- package/lib/resources/wire_transfers.cjs +794 -6
- package/lib/resources/wire_transfers.d.cts +1 -1
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/resources/wire_transfers.js +794 -6
- package/lib/static.cjs +753 -20
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/lib/static.js +739 -6
- package/lib/util.cjs +5 -6
- package/lib/util.js +5 -6
- package/package.json +1 -1
- package/lib/chunk-AQ5VUG5P.js +0 -12
- package/lib/chunk-JE77HYXB.cjs +0 -17
package/lib/jsonapi.cjs
CHANGED
@@ -1,17 +1,184 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
require(
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
4
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
5
|
+
}) : x)(function(x) {
|
6
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
7
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
8
|
+
});
|
7
9
|
|
8
|
-
|
10
|
+
// src/enum.ts
|
11
|
+
var apiResources = [
|
12
|
+
// ##__API_RESOURCE_LIST_START__##
|
13
|
+
"addresses",
|
14
|
+
"adjustments",
|
15
|
+
"adyen_gateways",
|
16
|
+
"adyen_payments",
|
17
|
+
"applications",
|
18
|
+
"attachments",
|
19
|
+
"authorizations",
|
20
|
+
"avalara_accounts",
|
21
|
+
"axerve_gateways",
|
22
|
+
"axerve_payments",
|
23
|
+
"bing_geocoders",
|
24
|
+
"braintree_gateways",
|
25
|
+
"braintree_payments",
|
26
|
+
"bundles",
|
27
|
+
"buy_x_pay_y_promotions",
|
28
|
+
"captures",
|
29
|
+
"carrier_accounts",
|
30
|
+
"checkout_com_gateways",
|
31
|
+
"checkout_com_payments",
|
32
|
+
"cleanups",
|
33
|
+
"coupon_codes_promotion_rules",
|
34
|
+
"coupon_recipients",
|
35
|
+
"coupons",
|
36
|
+
"custom_promotion_rules",
|
37
|
+
"customer_addresses",
|
38
|
+
"customer_groups",
|
39
|
+
"customer_password_resets",
|
40
|
+
"customer_payment_sources",
|
41
|
+
"customer_subscriptions",
|
42
|
+
"customers",
|
43
|
+
"delivery_lead_times",
|
44
|
+
"discount_engine_items",
|
45
|
+
"discount_engines",
|
46
|
+
"easypost_pickups",
|
47
|
+
"event_callbacks",
|
48
|
+
"events",
|
49
|
+
"exports",
|
50
|
+
"external_gateways",
|
51
|
+
"external_payments",
|
52
|
+
"external_promotions",
|
53
|
+
"external_tax_calculators",
|
54
|
+
"fixed_amount_promotions",
|
55
|
+
"fixed_price_promotions",
|
56
|
+
"flex_promotions",
|
57
|
+
"free_gift_promotions",
|
58
|
+
"free_shipping_promotions",
|
59
|
+
"geocoders",
|
60
|
+
"gift_card_recipients",
|
61
|
+
"gift_cards",
|
62
|
+
"google_geocoders",
|
63
|
+
"imports",
|
64
|
+
"in_stock_subscriptions",
|
65
|
+
"inventory_models",
|
66
|
+
"inventory_return_locations",
|
67
|
+
"inventory_stock_locations",
|
68
|
+
"klarna_gateways",
|
69
|
+
"klarna_payments",
|
70
|
+
"line_item_options",
|
71
|
+
"line_items",
|
72
|
+
"links",
|
73
|
+
"manual_gateways",
|
74
|
+
"manual_tax_calculators",
|
75
|
+
"markets",
|
76
|
+
"merchants",
|
77
|
+
"notifications",
|
78
|
+
"order_amount_promotion_rules",
|
79
|
+
"order_copies",
|
80
|
+
"order_factories",
|
81
|
+
"order_subscription_items",
|
82
|
+
"order_subscriptions",
|
83
|
+
"orders",
|
84
|
+
"organizations",
|
85
|
+
"packages",
|
86
|
+
"parcel_line_items",
|
87
|
+
"parcels",
|
88
|
+
"payment_gateways",
|
89
|
+
"payment_methods",
|
90
|
+
"payment_options",
|
91
|
+
"paypal_gateways",
|
92
|
+
"paypal_payments",
|
93
|
+
"percentage_discount_promotions",
|
94
|
+
"pickups",
|
95
|
+
"price_frequency_tiers",
|
96
|
+
"price_list_schedulers",
|
97
|
+
"price_lists",
|
98
|
+
"price_tiers",
|
99
|
+
"price_volume_tiers",
|
100
|
+
"prices",
|
101
|
+
"promotion_rules",
|
102
|
+
"promotions",
|
103
|
+
"recurring_order_copies",
|
104
|
+
"refunds",
|
105
|
+
"reserved_stocks",
|
106
|
+
"resource_errors",
|
107
|
+
"return_line_items",
|
108
|
+
"returns",
|
109
|
+
"satispay_gateways",
|
110
|
+
"satispay_payments",
|
111
|
+
"shipments",
|
112
|
+
"shipping_categories",
|
113
|
+
"shipping_method_tiers",
|
114
|
+
"shipping_methods",
|
115
|
+
"shipping_weight_tiers",
|
116
|
+
"shipping_zones",
|
117
|
+
"sku_list_items",
|
118
|
+
"sku_list_promotion_rules",
|
119
|
+
"sku_lists",
|
120
|
+
"sku_options",
|
121
|
+
"skus",
|
122
|
+
"stock_items",
|
123
|
+
"stock_line_items",
|
124
|
+
"stock_locations",
|
125
|
+
"stock_reservations",
|
126
|
+
"stock_transfers",
|
127
|
+
"stores",
|
128
|
+
"stripe_gateways",
|
129
|
+
"stripe_payments",
|
130
|
+
"stripe_tax_accounts",
|
131
|
+
"subscription_models",
|
132
|
+
"tags",
|
133
|
+
"talon_one_accounts",
|
134
|
+
"tax_calculators",
|
135
|
+
"tax_categories",
|
136
|
+
"tax_rules",
|
137
|
+
"taxjar_accounts",
|
138
|
+
"transactions",
|
139
|
+
"versions",
|
140
|
+
"vertex_accounts",
|
141
|
+
"voids",
|
142
|
+
"webhooks",
|
143
|
+
"wire_transfers"
|
144
|
+
// ##__API_RESOURCE_LIST_STOP__##
|
145
|
+
];
|
146
|
+
var resourceList = apiResources;
|
9
147
|
|
10
|
-
|
11
|
-
var
|
148
|
+
// src/common.ts
|
149
|
+
var isResourceId = (resource) => {
|
150
|
+
return resource?.type && resource.id && resourceList.includes(resource.type);
|
151
|
+
};
|
152
|
+
var isResourceType = (resource) => {
|
153
|
+
return resource && typeof resource.type !== "undefined" && resource.type && resourceList.includes(resource.type);
|
154
|
+
};
|
155
|
+
|
156
|
+
// src/config.ts
|
157
|
+
var config = {
|
158
|
+
jsonapi: {
|
159
|
+
maxResourceIncluded: 2
|
160
|
+
}
|
161
|
+
};
|
162
|
+
var config_default = config;
|
163
|
+
|
164
|
+
// src/debug.ts
|
165
|
+
var debuggerFunction = (_pattern, ..._args) => {
|
166
|
+
};
|
167
|
+
var debuggerFactory = (_namespace) => debuggerFunction;
|
168
|
+
try {
|
169
|
+
const debugModule = __require("debug");
|
170
|
+
if (debugModule && typeof debugModule === "function") debuggerFactory = debugModule;
|
171
|
+
} catch (error) {
|
172
|
+
}
|
173
|
+
var debugPrefix = "clsdk";
|
174
|
+
var debug = (namespace) => {
|
175
|
+
return debuggerFactory(`${debugPrefix}:${namespace}`);
|
176
|
+
};
|
177
|
+
var debug_default = debug;
|
12
178
|
|
13
|
-
|
14
|
-
|
179
|
+
// src/jsonapi.ts
|
180
|
+
var debug2 = debug_default("jsonapi");
|
181
|
+
var denormalize = (response) => {
|
15
182
|
if (!response) return response;
|
16
183
|
let denormalizedResponse;
|
17
184
|
if (response.links) delete response.links;
|
@@ -24,14 +191,14 @@ const denormalize = (response) => {
|
|
24
191
|
}
|
25
192
|
return denormalizedResponse;
|
26
193
|
};
|
27
|
-
|
194
|
+
var findIncluded = (rel, included = []) => {
|
28
195
|
const inc = included.find((inc2) => {
|
29
196
|
return rel.id === inc2.id && rel.type === inc2.type;
|
30
197
|
});
|
31
198
|
return inc || rel;
|
32
199
|
};
|
33
|
-
|
34
|
-
|
200
|
+
var denormalizeResource = (res, included, chain = []) => {
|
201
|
+
debug2("denormalize resource: %O, %o", res, included || {});
|
35
202
|
if (!res) return res;
|
36
203
|
const resource = {
|
37
204
|
id: res.id,
|
@@ -41,28 +208,28 @@ const denormalizeResource = (res, included, chain = []) => {
|
|
41
208
|
if (res.relationships) Object.keys(res.relationships).forEach((key) => {
|
42
209
|
const rel = res.relationships[key].data;
|
43
210
|
if (rel) {
|
44
|
-
if (chain.filter((r) => r.id === rel.id && r.type === rel.type).length >=
|
211
|
+
if (chain.filter((r) => r.id === rel.id && r.type === rel.type).length >= config_default.jsonapi.maxResourceIncluded) resource[key] = rel;
|
45
212
|
else {
|
46
213
|
if (Array.isArray(rel)) resource[key] = rel.map((r) => denormalizeResource(findIncluded(r, included), included, [...chain, r]));
|
47
214
|
else resource[key] = denormalizeResource(findIncluded(rel, included), included, [...chain, rel]);
|
48
215
|
}
|
49
216
|
} else if (rel === null) resource[key] = null;
|
50
217
|
});
|
51
|
-
|
218
|
+
debug2("denormalized resource: %O", resource);
|
52
219
|
return resource;
|
53
220
|
};
|
54
|
-
|
55
|
-
|
221
|
+
var normalize = (resource) => {
|
222
|
+
debug2("normalize resource: %O", resource);
|
56
223
|
const attributes = {};
|
57
224
|
const relationships = {};
|
58
225
|
for (const field in resource) {
|
59
226
|
if (["type", "id"].includes(field)) continue;
|
60
227
|
const value = resource[field];
|
61
|
-
if (Array.isArray(value) && value.length === 1 &&
|
228
|
+
if (Array.isArray(value) && value.length === 1 && isResourceType(value[0]) && value[0].id === null) {
|
62
229
|
relationships[field] = { data: [] };
|
63
|
-
} else if (value &&
|
230
|
+
} else if (value && isResourceType(value) && value.id === null) {
|
64
231
|
relationships[field] = { data: null };
|
65
|
-
} else if (value && (
|
232
|
+
} else if (value && (isResourceId(value) || Array.isArray(value) && isResourceId(value[0]))) {
|
66
233
|
relationships[field] = { data: value };
|
67
234
|
} else attributes[field] = value;
|
68
235
|
}
|
@@ -71,8 +238,8 @@ const normalize = (resource) => {
|
|
71
238
|
attributes,
|
72
239
|
relationships
|
73
240
|
};
|
74
|
-
if (
|
75
|
-
|
241
|
+
if (isResourceId(resource)) normalized.id = resource.id;
|
242
|
+
debug2("normalized resource: %O", normalized);
|
76
243
|
return normalized;
|
77
244
|
};
|
78
245
|
|
package/lib/jsonapi.d.cts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DocWithData, ResourceObject } from 'jsonapi-typescript';
|
2
2
|
export { DocWithData } from 'jsonapi-typescript';
|
3
|
-
import {
|
3
|
+
import { j as Resource, k as ResourceCreate, R as ResourceType, l as ResourceUpdate, i as ResourceId } from './api-CRmSToGa.cjs';
|
4
4
|
import './client.cjs';
|
5
5
|
import './interceptor-5MISI1yn.cjs';
|
6
6
|
import './types.cjs';
|
package/lib/jsonapi.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DocWithData, ResourceObject } from 'jsonapi-typescript';
|
2
2
|
export { DocWithData } from 'jsonapi-typescript';
|
3
|
-
import {
|
3
|
+
import { j as Resource, k as ResourceCreate, R as ResourceType, l as ResourceUpdate, i as ResourceId } from './api-CUXmETkx.js';
|
4
4
|
import './client.js';
|
5
5
|
import './interceptor-5MISI1yn.js';
|
6
6
|
import './types.js';
|
package/lib/jsonapi.js
CHANGED
@@ -1,10 +1,182 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
2
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
3
|
+
}) : x)(function(x) {
|
4
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
5
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
6
|
+
});
|
5
7
|
|
6
|
-
|
7
|
-
|
8
|
+
// src/enum.ts
|
9
|
+
var apiResources = [
|
10
|
+
// ##__API_RESOURCE_LIST_START__##
|
11
|
+
"addresses",
|
12
|
+
"adjustments",
|
13
|
+
"adyen_gateways",
|
14
|
+
"adyen_payments",
|
15
|
+
"applications",
|
16
|
+
"attachments",
|
17
|
+
"authorizations",
|
18
|
+
"avalara_accounts",
|
19
|
+
"axerve_gateways",
|
20
|
+
"axerve_payments",
|
21
|
+
"bing_geocoders",
|
22
|
+
"braintree_gateways",
|
23
|
+
"braintree_payments",
|
24
|
+
"bundles",
|
25
|
+
"buy_x_pay_y_promotions",
|
26
|
+
"captures",
|
27
|
+
"carrier_accounts",
|
28
|
+
"checkout_com_gateways",
|
29
|
+
"checkout_com_payments",
|
30
|
+
"cleanups",
|
31
|
+
"coupon_codes_promotion_rules",
|
32
|
+
"coupon_recipients",
|
33
|
+
"coupons",
|
34
|
+
"custom_promotion_rules",
|
35
|
+
"customer_addresses",
|
36
|
+
"customer_groups",
|
37
|
+
"customer_password_resets",
|
38
|
+
"customer_payment_sources",
|
39
|
+
"customer_subscriptions",
|
40
|
+
"customers",
|
41
|
+
"delivery_lead_times",
|
42
|
+
"discount_engine_items",
|
43
|
+
"discount_engines",
|
44
|
+
"easypost_pickups",
|
45
|
+
"event_callbacks",
|
46
|
+
"events",
|
47
|
+
"exports",
|
48
|
+
"external_gateways",
|
49
|
+
"external_payments",
|
50
|
+
"external_promotions",
|
51
|
+
"external_tax_calculators",
|
52
|
+
"fixed_amount_promotions",
|
53
|
+
"fixed_price_promotions",
|
54
|
+
"flex_promotions",
|
55
|
+
"free_gift_promotions",
|
56
|
+
"free_shipping_promotions",
|
57
|
+
"geocoders",
|
58
|
+
"gift_card_recipients",
|
59
|
+
"gift_cards",
|
60
|
+
"google_geocoders",
|
61
|
+
"imports",
|
62
|
+
"in_stock_subscriptions",
|
63
|
+
"inventory_models",
|
64
|
+
"inventory_return_locations",
|
65
|
+
"inventory_stock_locations",
|
66
|
+
"klarna_gateways",
|
67
|
+
"klarna_payments",
|
68
|
+
"line_item_options",
|
69
|
+
"line_items",
|
70
|
+
"links",
|
71
|
+
"manual_gateways",
|
72
|
+
"manual_tax_calculators",
|
73
|
+
"markets",
|
74
|
+
"merchants",
|
75
|
+
"notifications",
|
76
|
+
"order_amount_promotion_rules",
|
77
|
+
"order_copies",
|
78
|
+
"order_factories",
|
79
|
+
"order_subscription_items",
|
80
|
+
"order_subscriptions",
|
81
|
+
"orders",
|
82
|
+
"organizations",
|
83
|
+
"packages",
|
84
|
+
"parcel_line_items",
|
85
|
+
"parcels",
|
86
|
+
"payment_gateways",
|
87
|
+
"payment_methods",
|
88
|
+
"payment_options",
|
89
|
+
"paypal_gateways",
|
90
|
+
"paypal_payments",
|
91
|
+
"percentage_discount_promotions",
|
92
|
+
"pickups",
|
93
|
+
"price_frequency_tiers",
|
94
|
+
"price_list_schedulers",
|
95
|
+
"price_lists",
|
96
|
+
"price_tiers",
|
97
|
+
"price_volume_tiers",
|
98
|
+
"prices",
|
99
|
+
"promotion_rules",
|
100
|
+
"promotions",
|
101
|
+
"recurring_order_copies",
|
102
|
+
"refunds",
|
103
|
+
"reserved_stocks",
|
104
|
+
"resource_errors",
|
105
|
+
"return_line_items",
|
106
|
+
"returns",
|
107
|
+
"satispay_gateways",
|
108
|
+
"satispay_payments",
|
109
|
+
"shipments",
|
110
|
+
"shipping_categories",
|
111
|
+
"shipping_method_tiers",
|
112
|
+
"shipping_methods",
|
113
|
+
"shipping_weight_tiers",
|
114
|
+
"shipping_zones",
|
115
|
+
"sku_list_items",
|
116
|
+
"sku_list_promotion_rules",
|
117
|
+
"sku_lists",
|
118
|
+
"sku_options",
|
119
|
+
"skus",
|
120
|
+
"stock_items",
|
121
|
+
"stock_line_items",
|
122
|
+
"stock_locations",
|
123
|
+
"stock_reservations",
|
124
|
+
"stock_transfers",
|
125
|
+
"stores",
|
126
|
+
"stripe_gateways",
|
127
|
+
"stripe_payments",
|
128
|
+
"stripe_tax_accounts",
|
129
|
+
"subscription_models",
|
130
|
+
"tags",
|
131
|
+
"talon_one_accounts",
|
132
|
+
"tax_calculators",
|
133
|
+
"tax_categories",
|
134
|
+
"tax_rules",
|
135
|
+
"taxjar_accounts",
|
136
|
+
"transactions",
|
137
|
+
"versions",
|
138
|
+
"vertex_accounts",
|
139
|
+
"voids",
|
140
|
+
"webhooks",
|
141
|
+
"wire_transfers"
|
142
|
+
// ##__API_RESOURCE_LIST_STOP__##
|
143
|
+
];
|
144
|
+
var resourceList = apiResources;
|
145
|
+
|
146
|
+
// src/common.ts
|
147
|
+
var isResourceId = (resource) => {
|
148
|
+
return resource?.type && resource.id && resourceList.includes(resource.type);
|
149
|
+
};
|
150
|
+
var isResourceType = (resource) => {
|
151
|
+
return resource && typeof resource.type !== "undefined" && resource.type && resourceList.includes(resource.type);
|
152
|
+
};
|
153
|
+
|
154
|
+
// src/config.ts
|
155
|
+
var config = {
|
156
|
+
jsonapi: {
|
157
|
+
maxResourceIncluded: 2
|
158
|
+
}
|
159
|
+
};
|
160
|
+
var config_default = config;
|
161
|
+
|
162
|
+
// src/debug.ts
|
163
|
+
var debuggerFunction = (_pattern, ..._args) => {
|
164
|
+
};
|
165
|
+
var debuggerFactory = (_namespace) => debuggerFunction;
|
166
|
+
try {
|
167
|
+
const debugModule = __require("debug");
|
168
|
+
if (debugModule && typeof debugModule === "function") debuggerFactory = debugModule;
|
169
|
+
} catch (error) {
|
170
|
+
}
|
171
|
+
var debugPrefix = "clsdk";
|
172
|
+
var debug = (namespace) => {
|
173
|
+
return debuggerFactory(`${debugPrefix}:${namespace}`);
|
174
|
+
};
|
175
|
+
var debug_default = debug;
|
176
|
+
|
177
|
+
// src/jsonapi.ts
|
178
|
+
var debug2 = debug_default("jsonapi");
|
179
|
+
var denormalize = (response) => {
|
8
180
|
if (!response) return response;
|
9
181
|
let denormalizedResponse;
|
10
182
|
if (response.links) delete response.links;
|
@@ -17,14 +189,14 @@ const denormalize = (response) => {
|
|
17
189
|
}
|
18
190
|
return denormalizedResponse;
|
19
191
|
};
|
20
|
-
|
192
|
+
var findIncluded = (rel, included = []) => {
|
21
193
|
const inc = included.find((inc2) => {
|
22
194
|
return rel.id === inc2.id && rel.type === inc2.type;
|
23
195
|
});
|
24
196
|
return inc || rel;
|
25
197
|
};
|
26
|
-
|
27
|
-
|
198
|
+
var denormalizeResource = (res, included, chain = []) => {
|
199
|
+
debug2("denormalize resource: %O, %o", res, included || {});
|
28
200
|
if (!res) return res;
|
29
201
|
const resource = {
|
30
202
|
id: res.id,
|
@@ -34,18 +206,18 @@ const denormalizeResource = (res, included, chain = []) => {
|
|
34
206
|
if (res.relationships) Object.keys(res.relationships).forEach((key) => {
|
35
207
|
const rel = res.relationships[key].data;
|
36
208
|
if (rel) {
|
37
|
-
if (chain.filter((r) => r.id === rel.id && r.type === rel.type).length >=
|
209
|
+
if (chain.filter((r) => r.id === rel.id && r.type === rel.type).length >= config_default.jsonapi.maxResourceIncluded) resource[key] = rel;
|
38
210
|
else {
|
39
211
|
if (Array.isArray(rel)) resource[key] = rel.map((r) => denormalizeResource(findIncluded(r, included), included, [...chain, r]));
|
40
212
|
else resource[key] = denormalizeResource(findIncluded(rel, included), included, [...chain, rel]);
|
41
213
|
}
|
42
214
|
} else if (rel === null) resource[key] = null;
|
43
215
|
});
|
44
|
-
|
216
|
+
debug2("denormalized resource: %O", resource);
|
45
217
|
return resource;
|
46
218
|
};
|
47
|
-
|
48
|
-
|
219
|
+
var normalize = (resource) => {
|
220
|
+
debug2("normalize resource: %O", resource);
|
49
221
|
const attributes = {};
|
50
222
|
const relationships = {};
|
51
223
|
for (const field in resource) {
|
@@ -65,7 +237,7 @@ const normalize = (resource) => {
|
|
65
237
|
relationships
|
66
238
|
};
|
67
239
|
if (isResourceId(resource)) normalized.id = resource.id;
|
68
|
-
|
240
|
+
debug2("normalized resource: %O", normalized);
|
69
241
|
return normalized;
|
70
242
|
};
|
71
243
|
|
package/lib/model.d.cts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { bZ as Address, b_ as AddressCreate, c0 as AddressSort, b$ as AddressUpdate, c1 as Adjustment, c2 as AdjustmentCreate, c4 as AdjustmentSort, c3 as AdjustmentUpdate, c5 as AdyenGateway, c6 as AdyenGatewayCreate, c8 as AdyenGatewaySort, c7 as AdyenGatewayUpdate, c9 as AdyenPayment, ca as AdyenPaymentCreate, cc as AdyenPaymentSort, cb as AdyenPaymentUpdate, cd as Application, ce as ApplicationSort, cf as Attachment, cg as AttachmentCreate, ci as AttachmentSort, ch as AttachmentUpdate, cj as Authorization, cl as AuthorizationSort, ck as AuthorizationUpdate, cm as AvalaraAccount, cn as AvalaraAccountCreate, cp as AvalaraAccountSort, co as AvalaraAccountUpdate, cq as AxerveGateway, cr as AxerveGatewayCreate, ct as AxerveGatewaySort, cs as AxerveGatewayUpdate, cu as AxervePayment, cv as AxervePaymentCreate, cx as AxervePaymentSort, cw as AxervePaymentUpdate, cy as BingGeocoder, cz as BingGeocoderCreate, cB as BingGeocoderSort, cA as BingGeocoderUpdate, cC as BraintreeGateway, cD as BraintreeGatewayCreate, cF as BraintreeGatewaySort, cE as BraintreeGatewayUpdate, cG as BraintreePayment, cH as BraintreePaymentCreate, cJ as BraintreePaymentSort, cI as BraintreePaymentUpdate, cK as Bundle, cL as BundleCreate, cN as BundleSort, cM as BundleUpdate, cO as BuyXPayYPromotion, cP as BuyXPayYPromotionCreate, cR as BuyXPayYPromotionSort, cQ as BuyXPayYPromotionUpdate, cS as Capture, cU as CaptureSort, cT as CaptureUpdate, cV as CarrierAccount, cW as CarrierAccountCreate, cY as CarrierAccountSort, cX as CarrierAccountUpdate, cZ as CheckoutComGateway, c_ as CheckoutComGatewayCreate, d0 as CheckoutComGatewaySort, c$ as CheckoutComGatewayUpdate, d1 as CheckoutComPayment, d2 as CheckoutComPaymentCreate, d4 as CheckoutComPaymentSort, d3 as CheckoutComPaymentUpdate, d5 as Cleanup, d6 as CleanupCreate, d8 as CleanupSort, d7 as CleanupUpdate, dh as Coupon, d9 as CouponCodesPromotionRule, da as CouponCodesPromotionRuleCreate, dc as CouponCodesPromotionRuleSort, db as CouponCodesPromotionRuleUpdate, di as CouponCreate, dd as CouponRecipient, de as CouponRecipientCreate, dg as CouponRecipientSort, df as CouponRecipientUpdate, dk as CouponSort, dj as CouponUpdate, dl as CustomPromotionRule, dm as CustomPromotionRuleCreate, dp as CustomPromotionRuleSort, dn as CustomPromotionRuleUpdate, dK as Customer, dq as CustomerAddress, dr as CustomerAddressCreate, dt as CustomerAddressSort, ds as CustomerAddressUpdate, dL as CustomerCreate, du as CustomerGroup, dv as CustomerGroupCreate, dx as CustomerGroupSort, dw as CustomerGroupUpdate, dy as CustomerPasswordReset, dz as CustomerPasswordResetCreate, dB as CustomerPasswordResetSort, dA as CustomerPasswordResetUpdate, dC as CustomerPaymentSource, dD as CustomerPaymentSourceCreate, dF as CustomerPaymentSourceSort, dE as CustomerPaymentSourceUpdate, dN as CustomerSort, dG as CustomerSubscription, dH as CustomerSubscriptionCreate, dJ as CustomerSubscriptionSort, dI as CustomerSubscriptionUpdate, dM as CustomerUpdate, dO as DeliveryLeadTime, dP as DeliveryLeadTimeCreate, dR as DeliveryLeadTimeSort, dQ as DeliveryLeadTimeUpdate, dU as DiscountEngine, dS as DiscountEngineItem, dT as DiscountEngineItemSort, dV as DiscountEngineSort, dW as EasypostPickup, dX as EasypostPickupCreate, dZ as EasypostPickupSort, dY as EasypostPickupUpdate, e0 as Event, d_ as EventCallback, d$ as EventCallbackSort, e2 as EventSort, e1 as EventUpdate, e3 as Export, e4 as ExportCreate, e6 as ExportSort, e5 as ExportUpdate, e7 as ExternalGateway, e8 as ExternalGatewayCreate, ea as ExternalGatewaySort, e9 as ExternalGatewayUpdate, eb as ExternalPayment, ec as ExternalPaymentCreate, ee as ExternalPaymentSort, ed as ExternalPaymentUpdate, ef as ExternalPromotion, eg as ExternalPromotionCreate, ei as ExternalPromotionSort, eh as ExternalPromotionUpdate, ej as ExternalTaxCalculator, ek as ExternalTaxCalculatorCreate, em as ExternalTaxCalculatorSort, el as ExternalTaxCalculatorUpdate, en as FixedAmountPromotion, eo as FixedAmountPromotionCreate, eq as FixedAmountPromotionSort, ep as FixedAmountPromotionUpdate, er as FixedPricePromotion, es as FixedPricePromotionCreate, eu as FixedPricePromotionSort, et as FixedPricePromotionUpdate, ev as FlexPromotion, ew as FlexPromotionCreate, ey as FlexPromotionSort, ex as FlexPromotionUpdate, ez as FreeGiftPromotion, eA as FreeGiftPromotionCreate, eC as FreeGiftPromotionSort, eB as FreeGiftPromotionUpdate, eD as FreeShippingPromotion, eE as FreeShippingPromotionCreate, eG as FreeShippingPromotionSort, eF as FreeShippingPromotionUpdate, eH as Geocoder, eI as GeocoderSort, eN as GiftCard, eO as GiftCardCreate, eJ as GiftCardRecipient, eK as GiftCardRecipientCreate, eM as GiftCardRecipientSort, eL as GiftCardRecipientUpdate, eQ as GiftCardSort, eP as GiftCardUpdate, eR as GoogleGeocoder, eS as GoogleGeocoderCreate, eU as GoogleGeocoderSort, eT as GoogleGeocoderUpdate, eV as Import, eW as ImportCreate, eY as ImportSort, eX as ImportUpdate, eZ as InStockSubscription, e_ as InStockSubscriptionCreate, f0 as InStockSubscriptionSort, e$ as InStockSubscriptionUpdate, f1 as InventoryModel, f2 as InventoryModelCreate, f4 as InventoryModelSort, f3 as InventoryModelUpdate, f5 as InventoryReturnLocation, f6 as InventoryReturnLocationCreate, f8 as InventoryReturnLocationSort, f7 as InventoryReturnLocationUpdate, f9 as InventoryStockLocation, fa as InventoryStockLocationCreate, fc as InventoryStockLocationSort, fb as InventoryStockLocationUpdate, fd as KlarnaGateway, fe as KlarnaGatewayCreate, fg as KlarnaGatewaySort, ff as KlarnaGatewayUpdate, fh as KlarnaPayment, fi as KlarnaPaymentCreate, fk as KlarnaPaymentSort, fj as KlarnaPaymentUpdate, fp as LineItem, fq as LineItemCreate, fl as LineItemOption, fm as LineItemOptionCreate, fo as LineItemOptionSort, fn as LineItemOptionUpdate, fs as LineItemSort, fr as LineItemUpdate, ft as Link, fu as LinkCreate, fw as LinkSort, fv as LinkUpdate, fx as ManualGateway, fy as ManualGatewayCreate, fA as ManualGatewaySort, fz as ManualGatewayUpdate, fB as ManualTaxCalculator, fC as ManualTaxCalculatorCreate, fE as ManualTaxCalculatorSort, fD as ManualTaxCalculatorUpdate, fF as Market, fG as MarketCreate, fI as MarketSort, fH as MarketUpdate, fJ as Merchant, fK as MerchantCreate, fM as MerchantSort, fL as MerchantUpdate, fN as Notification, fO as NotificationCreate, fQ as NotificationSort, fP as NotificationUpdate, g7 as Order, fR as OrderAmountPromotionRule, fS as OrderAmountPromotionRuleCreate, fU as OrderAmountPromotionRuleSort, fT as OrderAmountPromotionRuleUpdate, fV as OrderCopy, fW as OrderCopyCreate, fY as OrderCopySort, fX as OrderCopyUpdate, g8 as OrderCreate, fZ as OrderFactory, f_ as OrderFactorySort, ga as OrderSort, g3 as OrderSubscription, g4 as OrderSubscriptionCreate, f$ as OrderSubscriptionItem, g0 as OrderSubscriptionItemCreate, g2 as OrderSubscriptionItemSort, g1 as OrderSubscriptionItemUpdate, g6 as OrderSubscriptionSort, g5 as OrderSubscriptionUpdate, g9 as OrderUpdate, gb as Organization, gc as OrganizationSort, gd as Package, ge as PackageCreate, gg as PackageSort, gf as PackageUpdate, gl as Parcel, gm as ParcelCreate, gh as ParcelLineItem, gi as ParcelLineItemCreate, gk as ParcelLineItemSort, gj as ParcelLineItemUpdate, go as ParcelSort, gn as ParcelUpdate, gp as PaymentGateway, gq as PaymentGatewaySort, gr as PaymentMethod, gs as PaymentMethodCreate, gu as PaymentMethodSort, gt as PaymentMethodUpdate, gv as PaymentOption, gw as PaymentOptionCreate, gy as PaymentOptionSort, gx as PaymentOptionUpdate, gz as PaypalGateway, gA as PaypalGatewayCreate, gC as PaypalGatewaySort, gB as PaypalGatewayUpdate, gD as PaypalPayment, gE as PaypalPaymentCreate, gG as PaypalPaymentSort, gF as PaypalPaymentUpdate, gH as PercentageDiscountPromotion, gI as PercentageDiscountPromotionCreate, gK as PercentageDiscountPromotionSort, gJ as PercentageDiscountPromotionUpdate, gL as Pickup, gM as PickupSort, h3 as Price, h4 as PriceCreate, gN as PriceFrequencyTier, gO as PriceFrequencyTierCreate, gQ as PriceFrequencyTierSort, gP as PriceFrequencyTierUpdate, gV as PriceList, gW as PriceListCreate, gR as PriceListScheduler, gS as PriceListSchedulerCreate, gU as PriceListSchedulerSort, gT as PriceListSchedulerUpdate, gY as PriceListSort, gX as PriceListUpdate, h6 as PriceSort, gZ as PriceTier, g_ as PriceTierSort, h5 as PriceUpdate, g$ as PriceVolumeTier, h0 as PriceVolumeTierCreate, h2 as PriceVolumeTierSort, h1 as PriceVolumeTierUpdate, h9 as Promotion, h7 as PromotionRule, h8 as PromotionRuleSort, ha as PromotionSort, hb as RecurringOrderCopy, hc as RecurringOrderCopyCreate, he as RecurringOrderCopySort, hd as RecurringOrderCopyUpdate, hf as Refund, hh as RefundSort, hg as RefundUpdate, hi as ReservedStock, hj as ReservedStockSort, hk as ResourceError, hl as ResourceErrorSort, hq as Return, hr as ReturnCreate, hm as ReturnLineItem, hn as ReturnLineItemCreate, hp as ReturnLineItemSort, ho as ReturnLineItemUpdate, ht as ReturnSort, hs as ReturnUpdate, hu as SatispayGateway, hv as SatispayGatewayCreate, hx as SatispayGatewaySort, hw as SatispayGatewayUpdate, hy as SatispayPayment, hz as SatispayPaymentCreate, hB as SatispayPaymentSort, hA as SatispayPaymentUpdate, hC as Shipment, hD as ShipmentCreate, hF as ShipmentSort, hE as ShipmentUpdate, hG as ShippingCategory, hH as ShippingCategoryCreate, hJ as ShippingCategorySort, hI as ShippingCategoryUpdate, hM as ShippingMethod, hN as ShippingMethodCreate, hP as ShippingMethodSort, hK as ShippingMethodTier, hL as ShippingMethodTierSort, hO as ShippingMethodUpdate, hQ as ShippingWeightTier, hR as ShippingWeightTierCreate, hT as ShippingWeightTierSort, hS as ShippingWeightTierUpdate, hU as ShippingZone, hV as ShippingZoneCreate, hX as ShippingZoneSort, hW as ShippingZoneUpdate, ic as Sku, id as SkuCreate, i4 as SkuList, i5 as SkuListCreate, hY as SkuListItem, hZ as SkuListItemCreate, h$ as SkuListItemSort, h_ as SkuListItemUpdate, i0 as SkuListPromotionRule, i1 as SkuListPromotionRuleCreate, i3 as SkuListPromotionRuleSort, i2 as SkuListPromotionRuleUpdate, i7 as SkuListSort, i6 as SkuListUpdate, i8 as SkuOption, i9 as SkuOptionCreate, ib as SkuOptionSort, ia as SkuOptionUpdate, ig as SkuSort, ie as SkuUpdate, ih as StockItem, ii as StockItemCreate, ik as StockItemSort, ij as StockItemUpdate, il as StockLineItem, im as StockLineItemCreate, ip as StockLineItemSort, io as StockLineItemUpdate, iq as StockLocation, ir as StockLocationCreate, it as StockLocationSort, is as StockLocationUpdate, iu as StockReservation, iv as StockReservationCreate, ix as StockReservationSort, iw as StockReservationUpdate, iy as StockTransfer, iz as StockTransferCreate, iB as StockTransferSort, iA as StockTransferUpdate, iC as Store, iD as StoreCreate, iF as StoreSort, iE as StoreUpdate, iG as StripeGateway, iH as StripeGatewayCreate, iJ as StripeGatewaySort, iI as StripeGatewayUpdate, iK as StripePayment, iL as StripePaymentCreate, iN as StripePaymentSort, iM as StripePaymentUpdate, iO as StripeTaxAccount, iP as StripeTaxAccountCreate, iR as StripeTaxAccountSort, iQ as StripeTaxAccountUpdate, iS as SubscriptionModel, iT as SubscriptionModelCreate, iV as SubscriptionModelSort, iU as SubscriptionModelUpdate, iW as Tag, iX as TagCreate, iZ as TagSort, iY as TagUpdate, i_ as TalonOneAccount, i$ as TalonOneAccountCreate, j1 as TalonOneAccountSort, j0 as TalonOneAccountUpdate, j2 as TaxCalculator, j3 as TaxCalculatorSort, j4 as TaxCategory, j5 as TaxCategoryCreate, j7 as TaxCategorySort, j6 as TaxCategoryUpdate, j8 as TaxRule, j9 as TaxRuleCreate, jb as TaxRuleSort, ja as TaxRuleUpdate, jc as TaxjarAccount, jd as TaxjarAccountCreate, jf as TaxjarAccountSort, je as TaxjarAccountUpdate, jg as Transaction, jh as TransactionSort, ji as Version, jj as VersionSort, jk as VertexAccount, jl as VertexAccountCreate, jn as VertexAccountSort, jm as VertexAccountUpdate, jo as Void, jq as VoidSort, jp as VoidUpdate, jr as Webhook, js as WebhookCreate, ju as WebhookSort, jt as WebhookUpdate, jv as WireTransfer, jw as WireTransferCreate, jy as WireTransferSort, jx as WireTransferUpdate } from './api-Cxxi3g4i.cjs';
|
1
|
+
export { bO as Address, bP as AddressCreate, bR as AddressSort, bQ as AddressUpdate, bS as Adjustment, bT as AdjustmentCreate, bV as AdjustmentSort, bU as AdjustmentUpdate, bW as AdyenGateway, bX as AdyenGatewayCreate, bZ as AdyenGatewaySort, bY as AdyenGatewayUpdate, b_ as AdyenPayment, b$ as AdyenPaymentCreate, c1 as AdyenPaymentSort, c0 as AdyenPaymentUpdate, c2 as Application, c3 as ApplicationSort, c4 as Attachment, c5 as AttachmentCreate, c7 as AttachmentSort, c6 as AttachmentUpdate, c8 as Authorization, ca as AuthorizationSort, c9 as AuthorizationUpdate, cb as AvalaraAccount, cc as AvalaraAccountCreate, ce as AvalaraAccountSort, cd as AvalaraAccountUpdate, cf as AxerveGateway, cg as AxerveGatewayCreate, ci as AxerveGatewaySort, ch as AxerveGatewayUpdate, cj as AxervePayment, ck as AxervePaymentCreate, cm as AxervePaymentSort, cl as AxervePaymentUpdate, cn as BingGeocoder, co as BingGeocoderCreate, cq as BingGeocoderSort, cp as BingGeocoderUpdate, cr as BraintreeGateway, cs as BraintreeGatewayCreate, cu as BraintreeGatewaySort, ct as BraintreeGatewayUpdate, cv as BraintreePayment, cw as BraintreePaymentCreate, cy as BraintreePaymentSort, cx as BraintreePaymentUpdate, cz as Bundle, cA as BundleCreate, cC as BundleSort, cB as BundleUpdate, cD as BuyXPayYPromotion, cE as BuyXPayYPromotionCreate, cG as BuyXPayYPromotionSort, cF as BuyXPayYPromotionUpdate, cH as Capture, cJ as CaptureSort, cI as CaptureUpdate, cK as CarrierAccount, cL as CarrierAccountCreate, cN as CarrierAccountSort, cM as CarrierAccountUpdate, cO as CheckoutComGateway, cP as CheckoutComGatewayCreate, cR as CheckoutComGatewaySort, cQ as CheckoutComGatewayUpdate, cS as CheckoutComPayment, cT as CheckoutComPaymentCreate, cV as CheckoutComPaymentSort, cU as CheckoutComPaymentUpdate, cW as Cleanup, cX as CleanupCreate, cZ as CleanupSort, cY as CleanupUpdate, d6 as Coupon, c_ as CouponCodesPromotionRule, c$ as CouponCodesPromotionRuleCreate, d1 as CouponCodesPromotionRuleSort, d0 as CouponCodesPromotionRuleUpdate, d7 as CouponCreate, d2 as CouponRecipient, d3 as CouponRecipientCreate, d5 as CouponRecipientSort, d4 as CouponRecipientUpdate, d9 as CouponSort, d8 as CouponUpdate, da as CustomPromotionRule, db as CustomPromotionRuleCreate, dd as CustomPromotionRuleSort, dc as CustomPromotionRuleUpdate, dz as Customer, de as CustomerAddress, df as CustomerAddressCreate, dh as CustomerAddressSort, dg as CustomerAddressUpdate, dA as CustomerCreate, di as CustomerGroup, dj as CustomerGroupCreate, dl as CustomerGroupSort, dk as CustomerGroupUpdate, dm as CustomerPasswordReset, dn as CustomerPasswordResetCreate, dq as CustomerPasswordResetSort, dp as CustomerPasswordResetUpdate, dr as CustomerPaymentSource, ds as CustomerPaymentSourceCreate, du as CustomerPaymentSourceSort, dt as CustomerPaymentSourceUpdate, dC as CustomerSort, dv as CustomerSubscription, dw as CustomerSubscriptionCreate, dy as CustomerSubscriptionSort, dx as CustomerSubscriptionUpdate, dB as CustomerUpdate, dD as DeliveryLeadTime, dE as DeliveryLeadTimeCreate, dG as DeliveryLeadTimeSort, dF as DeliveryLeadTimeUpdate, dJ as DiscountEngine, dH as DiscountEngineItem, dI as DiscountEngineItemSort, dK as DiscountEngineSort, dL as EasypostPickup, dM as EasypostPickupCreate, dO as EasypostPickupSort, dN as EasypostPickupUpdate, dR as Event, dP as EventCallback, dQ as EventCallbackSort, dT as EventSort, dS as EventUpdate, dU as Export, dV as ExportCreate, dX as ExportSort, dW as ExportUpdate, dY as ExternalGateway, dZ as ExternalGatewayCreate, d$ as ExternalGatewaySort, d_ as ExternalGatewayUpdate, e0 as ExternalPayment, e1 as ExternalPaymentCreate, e3 as ExternalPaymentSort, e2 as ExternalPaymentUpdate, e4 as ExternalPromotion, e5 as ExternalPromotionCreate, e7 as ExternalPromotionSort, e6 as ExternalPromotionUpdate, e8 as ExternalTaxCalculator, e9 as ExternalTaxCalculatorCreate, eb as ExternalTaxCalculatorSort, ea as ExternalTaxCalculatorUpdate, ec as FixedAmountPromotion, ed as FixedAmountPromotionCreate, ef as FixedAmountPromotionSort, ee as FixedAmountPromotionUpdate, eg as FixedPricePromotion, eh as FixedPricePromotionCreate, ej as FixedPricePromotionSort, ei as FixedPricePromotionUpdate, ek as FlexPromotion, el as FlexPromotionCreate, en as FlexPromotionSort, em as FlexPromotionUpdate, eo as FreeGiftPromotion, ep as FreeGiftPromotionCreate, er as FreeGiftPromotionSort, eq as FreeGiftPromotionUpdate, es as FreeShippingPromotion, et as FreeShippingPromotionCreate, ev as FreeShippingPromotionSort, eu as FreeShippingPromotionUpdate, ew as Geocoder, ex as GeocoderSort, eC as GiftCard, eD as GiftCardCreate, ey as GiftCardRecipient, ez as GiftCardRecipientCreate, eB as GiftCardRecipientSort, eA as GiftCardRecipientUpdate, eF as GiftCardSort, eE as GiftCardUpdate, eG as GoogleGeocoder, eH as GoogleGeocoderCreate, eJ as GoogleGeocoderSort, eI as GoogleGeocoderUpdate, eK as Import, eL as ImportCreate, eN as ImportSort, eM as ImportUpdate, eO as InStockSubscription, eP as InStockSubscriptionCreate, eR as InStockSubscriptionSort, eQ as InStockSubscriptionUpdate, eS as InventoryModel, eT as InventoryModelCreate, eV as InventoryModelSort, eU as InventoryModelUpdate, eW as InventoryReturnLocation, eX as InventoryReturnLocationCreate, eZ as InventoryReturnLocationSort, eY as InventoryReturnLocationUpdate, e_ as InventoryStockLocation, e$ as InventoryStockLocationCreate, f1 as InventoryStockLocationSort, f0 as InventoryStockLocationUpdate, f2 as KlarnaGateway, f3 as KlarnaGatewayCreate, f5 as KlarnaGatewaySort, f4 as KlarnaGatewayUpdate, f6 as KlarnaPayment, f7 as KlarnaPaymentCreate, f9 as KlarnaPaymentSort, f8 as KlarnaPaymentUpdate, fe as LineItem, ff as LineItemCreate, fa as LineItemOption, fb as LineItemOptionCreate, fd as LineItemOptionSort, fc as LineItemOptionUpdate, fh as LineItemSort, fg as LineItemUpdate, fi as Link, fj as LinkCreate, fl as LinkSort, fk as LinkUpdate, fm as ManualGateway, fn as ManualGatewayCreate, fp as ManualGatewaySort, fo as ManualGatewayUpdate, fq as ManualTaxCalculator, fr as ManualTaxCalculatorCreate, ft as ManualTaxCalculatorSort, fs as ManualTaxCalculatorUpdate, fu as Market, fv as MarketCreate, fx as MarketSort, fw as MarketUpdate, fy as Merchant, fz as MerchantCreate, fB as MerchantSort, fA as MerchantUpdate, fC as Notification, fD as NotificationCreate, fF as NotificationSort, fE as NotificationUpdate, fY as Order, fG as OrderAmountPromotionRule, fH as OrderAmountPromotionRuleCreate, fJ as OrderAmountPromotionRuleSort, fI as OrderAmountPromotionRuleUpdate, fK as OrderCopy, fL as OrderCopyCreate, fN as OrderCopySort, fM as OrderCopyUpdate, fZ as OrderCreate, fO as OrderFactory, fP as OrderFactorySort, f$ as OrderSort, fU as OrderSubscription, fV as OrderSubscriptionCreate, fQ as OrderSubscriptionItem, fR as OrderSubscriptionItemCreate, fT as OrderSubscriptionItemSort, fS as OrderSubscriptionItemUpdate, fX as OrderSubscriptionSort, fW as OrderSubscriptionUpdate, f_ as OrderUpdate, g0 as Organization, g1 as OrganizationSort, g2 as Package, g3 as PackageCreate, g5 as PackageSort, g4 as PackageUpdate, ga as Parcel, gb as ParcelCreate, g6 as ParcelLineItem, g7 as ParcelLineItemCreate, g9 as ParcelLineItemSort, g8 as ParcelLineItemUpdate, gd as ParcelSort, gc as ParcelUpdate, ge as PaymentGateway, gf as PaymentGatewaySort, gg as PaymentMethod, gh as PaymentMethodCreate, gj as PaymentMethodSort, gi as PaymentMethodUpdate, gk as PaymentOption, gl as PaymentOptionCreate, gn as PaymentOptionSort, gm as PaymentOptionUpdate, go as PaypalGateway, gp as PaypalGatewayCreate, gr as PaypalGatewaySort, gq as PaypalGatewayUpdate, gs as PaypalPayment, gt as PaypalPaymentCreate, gv as PaypalPaymentSort, gu as PaypalPaymentUpdate, gw as PercentageDiscountPromotion, gx as PercentageDiscountPromotionCreate, gz as PercentageDiscountPromotionSort, gy as PercentageDiscountPromotionUpdate, gA as Pickup, gB as PickupSort, gU as Price, gV as PriceCreate, gC as PriceFrequencyTier, gD as PriceFrequencyTierCreate, gF as PriceFrequencyTierSort, gE as PriceFrequencyTierUpdate, gK as PriceList, gL as PriceListCreate, gG as PriceListScheduler, gH as PriceListSchedulerCreate, gJ as PriceListSchedulerSort, gI as PriceListSchedulerUpdate, gN as PriceListSort, gM as PriceListUpdate, gX as PriceSort, gO as PriceTier, gP as PriceTierSort, gW as PriceUpdate, gQ as PriceVolumeTier, gR as PriceVolumeTierCreate, gT as PriceVolumeTierSort, gS as PriceVolumeTierUpdate, g_ as Promotion, gY as PromotionRule, gZ as PromotionRuleSort, g$ as PromotionSort, h0 as RecurringOrderCopy, h1 as RecurringOrderCopyCreate, h3 as RecurringOrderCopySort, h2 as RecurringOrderCopyUpdate, h4 as Refund, h6 as RefundSort, h5 as RefundUpdate, h7 as ReservedStock, h8 as ReservedStockSort, h9 as ResourceError, ha as ResourceErrorSort, hf as Return, hg as ReturnCreate, hb as ReturnLineItem, hc as ReturnLineItemCreate, he as ReturnLineItemSort, hd as ReturnLineItemUpdate, hi as ReturnSort, hh as ReturnUpdate, hj as SatispayGateway, hk as SatispayGatewayCreate, hm as SatispayGatewaySort, hl as SatispayGatewayUpdate, hn as SatispayPayment, ho as SatispayPaymentCreate, hq as SatispayPaymentSort, hp as SatispayPaymentUpdate, hr as Shipment, hs as ShipmentCreate, hu as ShipmentSort, ht as ShipmentUpdate, hv as ShippingCategory, hw as ShippingCategoryCreate, hy as ShippingCategorySort, hx as ShippingCategoryUpdate, hB as ShippingMethod, hC as ShippingMethodCreate, hE as ShippingMethodSort, hz as ShippingMethodTier, hA as ShippingMethodTierSort, hD as ShippingMethodUpdate, hF as ShippingWeightTier, hG as ShippingWeightTierCreate, hI as ShippingWeightTierSort, hH as ShippingWeightTierUpdate, hJ as ShippingZone, hK as ShippingZoneCreate, hM as ShippingZoneSort, hL as ShippingZoneUpdate, i1 as Sku, i2 as SkuCreate, hV as SkuList, hW as SkuListCreate, hN as SkuListItem, hO as SkuListItemCreate, hQ as SkuListItemSort, hP as SkuListItemUpdate, hR as SkuListPromotionRule, hS as SkuListPromotionRuleCreate, hU as SkuListPromotionRuleSort, hT as SkuListPromotionRuleUpdate, hY as SkuListSort, hX as SkuListUpdate, hZ as SkuOption, h_ as SkuOptionCreate, i0 as SkuOptionSort, h$ as SkuOptionUpdate, i4 as SkuSort, i3 as SkuUpdate, i5 as StockItem, i6 as StockItemCreate, i8 as StockItemSort, i7 as StockItemUpdate, i9 as StockLineItem, ia as StockLineItemCreate, ic as StockLineItemSort, ib as StockLineItemUpdate, id as StockLocation, ie as StockLocationCreate, ih as StockLocationSort, ig as StockLocationUpdate, ii as StockReservation, ij as StockReservationCreate, il as StockReservationSort, ik as StockReservationUpdate, im as StockTransfer, io as StockTransferCreate, iq as StockTransferSort, ip as StockTransferUpdate, ir as Store, is as StoreCreate, iu as StoreSort, it as StoreUpdate, iv as StripeGateway, iw as StripeGatewayCreate, iy as StripeGatewaySort, ix as StripeGatewayUpdate, iz as StripePayment, iA as StripePaymentCreate, iC as StripePaymentSort, iB as StripePaymentUpdate, iD as StripeTaxAccount, iE as StripeTaxAccountCreate, iG as StripeTaxAccountSort, iF as StripeTaxAccountUpdate, iH as SubscriptionModel, iI as SubscriptionModelCreate, iK as SubscriptionModelSort, iJ as SubscriptionModelUpdate, iL as Tag, iM as TagCreate, iO as TagSort, iN as TagUpdate, iP as TalonOneAccount, iQ as TalonOneAccountCreate, iS as TalonOneAccountSort, iR as TalonOneAccountUpdate, iT as TaxCalculator, iU as TaxCalculatorSort, iV as TaxCategory, iW as TaxCategoryCreate, iY as TaxCategorySort, iX as TaxCategoryUpdate, iZ as TaxRule, i_ as TaxRuleCreate, j0 as TaxRuleSort, i$ as TaxRuleUpdate, j1 as TaxjarAccount, j2 as TaxjarAccountCreate, j4 as TaxjarAccountSort, j3 as TaxjarAccountUpdate, j5 as Transaction, j6 as TransactionSort, j7 as Version, j8 as VersionSort, j9 as VertexAccount, ja as VertexAccountCreate, jc as VertexAccountSort, jb as VertexAccountUpdate, jd as Void, jf as VoidSort, je as VoidUpdate, jg as Webhook, jh as WebhookCreate, jj as WebhookSort, ji as WebhookUpdate, jk as WireTransfer, jl as WireTransferCreate, jn as WireTransferSort, jm as WireTransferUpdate } from './api-CRmSToGa.cjs';
|
2
2
|
import './client.cjs';
|
3
3
|
import './interceptor-5MISI1yn.cjs';
|
4
4
|
import './types.cjs';
|
package/lib/model.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { bZ as Address, b_ as AddressCreate, c0 as AddressSort, b$ as AddressUpdate, c1 as Adjustment, c2 as AdjustmentCreate, c4 as AdjustmentSort, c3 as AdjustmentUpdate, c5 as AdyenGateway, c6 as AdyenGatewayCreate, c8 as AdyenGatewaySort, c7 as AdyenGatewayUpdate, c9 as AdyenPayment, ca as AdyenPaymentCreate, cc as AdyenPaymentSort, cb as AdyenPaymentUpdate, cd as Application, ce as ApplicationSort, cf as Attachment, cg as AttachmentCreate, ci as AttachmentSort, ch as AttachmentUpdate, cj as Authorization, cl as AuthorizationSort, ck as AuthorizationUpdate, cm as AvalaraAccount, cn as AvalaraAccountCreate, cp as AvalaraAccountSort, co as AvalaraAccountUpdate, cq as AxerveGateway, cr as AxerveGatewayCreate, ct as AxerveGatewaySort, cs as AxerveGatewayUpdate, cu as AxervePayment, cv as AxervePaymentCreate, cx as AxervePaymentSort, cw as AxervePaymentUpdate, cy as BingGeocoder, cz as BingGeocoderCreate, cB as BingGeocoderSort, cA as BingGeocoderUpdate, cC as BraintreeGateway, cD as BraintreeGatewayCreate, cF as BraintreeGatewaySort, cE as BraintreeGatewayUpdate, cG as BraintreePayment, cH as BraintreePaymentCreate, cJ as BraintreePaymentSort, cI as BraintreePaymentUpdate, cK as Bundle, cL as BundleCreate, cN as BundleSort, cM as BundleUpdate, cO as BuyXPayYPromotion, cP as BuyXPayYPromotionCreate, cR as BuyXPayYPromotionSort, cQ as BuyXPayYPromotionUpdate, cS as Capture, cU as CaptureSort, cT as CaptureUpdate, cV as CarrierAccount, cW as CarrierAccountCreate, cY as CarrierAccountSort, cX as CarrierAccountUpdate, cZ as CheckoutComGateway, c_ as CheckoutComGatewayCreate, d0 as CheckoutComGatewaySort, c$ as CheckoutComGatewayUpdate, d1 as CheckoutComPayment, d2 as CheckoutComPaymentCreate, d4 as CheckoutComPaymentSort, d3 as CheckoutComPaymentUpdate, d5 as Cleanup, d6 as CleanupCreate, d8 as CleanupSort, d7 as CleanupUpdate, dh as Coupon, d9 as CouponCodesPromotionRule, da as CouponCodesPromotionRuleCreate, dc as CouponCodesPromotionRuleSort, db as CouponCodesPromotionRuleUpdate, di as CouponCreate, dd as CouponRecipient, de as CouponRecipientCreate, dg as CouponRecipientSort, df as CouponRecipientUpdate, dk as CouponSort, dj as CouponUpdate, dl as CustomPromotionRule, dm as CustomPromotionRuleCreate, dp as CustomPromotionRuleSort, dn as CustomPromotionRuleUpdate, dK as Customer, dq as CustomerAddress, dr as CustomerAddressCreate, dt as CustomerAddressSort, ds as CustomerAddressUpdate, dL as CustomerCreate, du as CustomerGroup, dv as CustomerGroupCreate, dx as CustomerGroupSort, dw as CustomerGroupUpdate, dy as CustomerPasswordReset, dz as CustomerPasswordResetCreate, dB as CustomerPasswordResetSort, dA as CustomerPasswordResetUpdate, dC as CustomerPaymentSource, dD as CustomerPaymentSourceCreate, dF as CustomerPaymentSourceSort, dE as CustomerPaymentSourceUpdate, dN as CustomerSort, dG as CustomerSubscription, dH as CustomerSubscriptionCreate, dJ as CustomerSubscriptionSort, dI as CustomerSubscriptionUpdate, dM as CustomerUpdate, dO as DeliveryLeadTime, dP as DeliveryLeadTimeCreate, dR as DeliveryLeadTimeSort, dQ as DeliveryLeadTimeUpdate, dU as DiscountEngine, dS as DiscountEngineItem, dT as DiscountEngineItemSort, dV as DiscountEngineSort, dW as EasypostPickup, dX as EasypostPickupCreate, dZ as EasypostPickupSort, dY as EasypostPickupUpdate, e0 as Event, d_ as EventCallback, d$ as EventCallbackSort, e2 as EventSort, e1 as EventUpdate, e3 as Export, e4 as ExportCreate, e6 as ExportSort, e5 as ExportUpdate, e7 as ExternalGateway, e8 as ExternalGatewayCreate, ea as ExternalGatewaySort, e9 as ExternalGatewayUpdate, eb as ExternalPayment, ec as ExternalPaymentCreate, ee as ExternalPaymentSort, ed as ExternalPaymentUpdate, ef as ExternalPromotion, eg as ExternalPromotionCreate, ei as ExternalPromotionSort, eh as ExternalPromotionUpdate, ej as ExternalTaxCalculator, ek as ExternalTaxCalculatorCreate, em as ExternalTaxCalculatorSort, el as ExternalTaxCalculatorUpdate, en as FixedAmountPromotion, eo as FixedAmountPromotionCreate, eq as FixedAmountPromotionSort, ep as FixedAmountPromotionUpdate, er as FixedPricePromotion, es as FixedPricePromotionCreate, eu as FixedPricePromotionSort, et as FixedPricePromotionUpdate, ev as FlexPromotion, ew as FlexPromotionCreate, ey as FlexPromotionSort, ex as FlexPromotionUpdate, ez as FreeGiftPromotion, eA as FreeGiftPromotionCreate, eC as FreeGiftPromotionSort, eB as FreeGiftPromotionUpdate, eD as FreeShippingPromotion, eE as FreeShippingPromotionCreate, eG as FreeShippingPromotionSort, eF as FreeShippingPromotionUpdate, eH as Geocoder, eI as GeocoderSort, eN as GiftCard, eO as GiftCardCreate, eJ as GiftCardRecipient, eK as GiftCardRecipientCreate, eM as GiftCardRecipientSort, eL as GiftCardRecipientUpdate, eQ as GiftCardSort, eP as GiftCardUpdate, eR as GoogleGeocoder, eS as GoogleGeocoderCreate, eU as GoogleGeocoderSort, eT as GoogleGeocoderUpdate, eV as Import, eW as ImportCreate, eY as ImportSort, eX as ImportUpdate, eZ as InStockSubscription, e_ as InStockSubscriptionCreate, f0 as InStockSubscriptionSort, e$ as InStockSubscriptionUpdate, f1 as InventoryModel, f2 as InventoryModelCreate, f4 as InventoryModelSort, f3 as InventoryModelUpdate, f5 as InventoryReturnLocation, f6 as InventoryReturnLocationCreate, f8 as InventoryReturnLocationSort, f7 as InventoryReturnLocationUpdate, f9 as InventoryStockLocation, fa as InventoryStockLocationCreate, fc as InventoryStockLocationSort, fb as InventoryStockLocationUpdate, fd as KlarnaGateway, fe as KlarnaGatewayCreate, fg as KlarnaGatewaySort, ff as KlarnaGatewayUpdate, fh as KlarnaPayment, fi as KlarnaPaymentCreate, fk as KlarnaPaymentSort, fj as KlarnaPaymentUpdate, fp as LineItem, fq as LineItemCreate, fl as LineItemOption, fm as LineItemOptionCreate, fo as LineItemOptionSort, fn as LineItemOptionUpdate, fs as LineItemSort, fr as LineItemUpdate, ft as Link, fu as LinkCreate, fw as LinkSort, fv as LinkUpdate, fx as ManualGateway, fy as ManualGatewayCreate, fA as ManualGatewaySort, fz as ManualGatewayUpdate, fB as ManualTaxCalculator, fC as ManualTaxCalculatorCreate, fE as ManualTaxCalculatorSort, fD as ManualTaxCalculatorUpdate, fF as Market, fG as MarketCreate, fI as MarketSort, fH as MarketUpdate, fJ as Merchant, fK as MerchantCreate, fM as MerchantSort, fL as MerchantUpdate, fN as Notification, fO as NotificationCreate, fQ as NotificationSort, fP as NotificationUpdate, g7 as Order, fR as OrderAmountPromotionRule, fS as OrderAmountPromotionRuleCreate, fU as OrderAmountPromotionRuleSort, fT as OrderAmountPromotionRuleUpdate, fV as OrderCopy, fW as OrderCopyCreate, fY as OrderCopySort, fX as OrderCopyUpdate, g8 as OrderCreate, fZ as OrderFactory, f_ as OrderFactorySort, ga as OrderSort, g3 as OrderSubscription, g4 as OrderSubscriptionCreate, f$ as OrderSubscriptionItem, g0 as OrderSubscriptionItemCreate, g2 as OrderSubscriptionItemSort, g1 as OrderSubscriptionItemUpdate, g6 as OrderSubscriptionSort, g5 as OrderSubscriptionUpdate, g9 as OrderUpdate, gb as Organization, gc as OrganizationSort, gd as Package, ge as PackageCreate, gg as PackageSort, gf as PackageUpdate, gl as Parcel, gm as ParcelCreate, gh as ParcelLineItem, gi as ParcelLineItemCreate, gk as ParcelLineItemSort, gj as ParcelLineItemUpdate, go as ParcelSort, gn as ParcelUpdate, gp as PaymentGateway, gq as PaymentGatewaySort, gr as PaymentMethod, gs as PaymentMethodCreate, gu as PaymentMethodSort, gt as PaymentMethodUpdate, gv as PaymentOption, gw as PaymentOptionCreate, gy as PaymentOptionSort, gx as PaymentOptionUpdate, gz as PaypalGateway, gA as PaypalGatewayCreate, gC as PaypalGatewaySort, gB as PaypalGatewayUpdate, gD as PaypalPayment, gE as PaypalPaymentCreate, gG as PaypalPaymentSort, gF as PaypalPaymentUpdate, gH as PercentageDiscountPromotion, gI as PercentageDiscountPromotionCreate, gK as PercentageDiscountPromotionSort, gJ as PercentageDiscountPromotionUpdate, gL as Pickup, gM as PickupSort, h3 as Price, h4 as PriceCreate, gN as PriceFrequencyTier, gO as PriceFrequencyTierCreate, gQ as PriceFrequencyTierSort, gP as PriceFrequencyTierUpdate, gV as PriceList, gW as PriceListCreate, gR as PriceListScheduler, gS as PriceListSchedulerCreate, gU as PriceListSchedulerSort, gT as PriceListSchedulerUpdate, gY as PriceListSort, gX as PriceListUpdate, h6 as PriceSort, gZ as PriceTier, g_ as PriceTierSort, h5 as PriceUpdate, g$ as PriceVolumeTier, h0 as PriceVolumeTierCreate, h2 as PriceVolumeTierSort, h1 as PriceVolumeTierUpdate, h9 as Promotion, h7 as PromotionRule, h8 as PromotionRuleSort, ha as PromotionSort, hb as RecurringOrderCopy, hc as RecurringOrderCopyCreate, he as RecurringOrderCopySort, hd as RecurringOrderCopyUpdate, hf as Refund, hh as RefundSort, hg as RefundUpdate, hi as ReservedStock, hj as ReservedStockSort, hk as ResourceError, hl as ResourceErrorSort, hq as Return, hr as ReturnCreate, hm as ReturnLineItem, hn as ReturnLineItemCreate, hp as ReturnLineItemSort, ho as ReturnLineItemUpdate, ht as ReturnSort, hs as ReturnUpdate, hu as SatispayGateway, hv as SatispayGatewayCreate, hx as SatispayGatewaySort, hw as SatispayGatewayUpdate, hy as SatispayPayment, hz as SatispayPaymentCreate, hB as SatispayPaymentSort, hA as SatispayPaymentUpdate, hC as Shipment, hD as ShipmentCreate, hF as ShipmentSort, hE as ShipmentUpdate, hG as ShippingCategory, hH as ShippingCategoryCreate, hJ as ShippingCategorySort, hI as ShippingCategoryUpdate, hM as ShippingMethod, hN as ShippingMethodCreate, hP as ShippingMethodSort, hK as ShippingMethodTier, hL as ShippingMethodTierSort, hO as ShippingMethodUpdate, hQ as ShippingWeightTier, hR as ShippingWeightTierCreate, hT as ShippingWeightTierSort, hS as ShippingWeightTierUpdate, hU as ShippingZone, hV as ShippingZoneCreate, hX as ShippingZoneSort, hW as ShippingZoneUpdate, ic as Sku, id as SkuCreate, i4 as SkuList, i5 as SkuListCreate, hY as SkuListItem, hZ as SkuListItemCreate, h$ as SkuListItemSort, h_ as SkuListItemUpdate, i0 as SkuListPromotionRule, i1 as SkuListPromotionRuleCreate, i3 as SkuListPromotionRuleSort, i2 as SkuListPromotionRuleUpdate, i7 as SkuListSort, i6 as SkuListUpdate, i8 as SkuOption, i9 as SkuOptionCreate, ib as SkuOptionSort, ia as SkuOptionUpdate, ig as SkuSort, ie as SkuUpdate, ih as StockItem, ii as StockItemCreate, ik as StockItemSort, ij as StockItemUpdate, il as StockLineItem, im as StockLineItemCreate, ip as StockLineItemSort, io as StockLineItemUpdate, iq as StockLocation, ir as StockLocationCreate, it as StockLocationSort, is as StockLocationUpdate, iu as StockReservation, iv as StockReservationCreate, ix as StockReservationSort, iw as StockReservationUpdate, iy as StockTransfer, iz as StockTransferCreate, iB as StockTransferSort, iA as StockTransferUpdate, iC as Store, iD as StoreCreate, iF as StoreSort, iE as StoreUpdate, iG as StripeGateway, iH as StripeGatewayCreate, iJ as StripeGatewaySort, iI as StripeGatewayUpdate, iK as StripePayment, iL as StripePaymentCreate, iN as StripePaymentSort, iM as StripePaymentUpdate, iO as StripeTaxAccount, iP as StripeTaxAccountCreate, iR as StripeTaxAccountSort, iQ as StripeTaxAccountUpdate, iS as SubscriptionModel, iT as SubscriptionModelCreate, iV as SubscriptionModelSort, iU as SubscriptionModelUpdate, iW as Tag, iX as TagCreate, iZ as TagSort, iY as TagUpdate, i_ as TalonOneAccount, i$ as TalonOneAccountCreate, j1 as TalonOneAccountSort, j0 as TalonOneAccountUpdate, j2 as TaxCalculator, j3 as TaxCalculatorSort, j4 as TaxCategory, j5 as TaxCategoryCreate, j7 as TaxCategorySort, j6 as TaxCategoryUpdate, j8 as TaxRule, j9 as TaxRuleCreate, jb as TaxRuleSort, ja as TaxRuleUpdate, jc as TaxjarAccount, jd as TaxjarAccountCreate, jf as TaxjarAccountSort, je as TaxjarAccountUpdate, jg as Transaction, jh as TransactionSort, ji as Version, jj as VersionSort, jk as VertexAccount, jl as VertexAccountCreate, jn as VertexAccountSort, jm as VertexAccountUpdate, jo as Void, jq as VoidSort, jp as VoidUpdate, jr as Webhook, js as WebhookCreate, ju as WebhookSort, jt as WebhookUpdate, jv as WireTransfer, jw as WireTransferCreate, jy as WireTransferSort, jx as WireTransferUpdate } from './api-CsxHP9zh.js';
|
1
|
+
export { bO as Address, bP as AddressCreate, bR as AddressSort, bQ as AddressUpdate, bS as Adjustment, bT as AdjustmentCreate, bV as AdjustmentSort, bU as AdjustmentUpdate, bW as AdyenGateway, bX as AdyenGatewayCreate, bZ as AdyenGatewaySort, bY as AdyenGatewayUpdate, b_ as AdyenPayment, b$ as AdyenPaymentCreate, c1 as AdyenPaymentSort, c0 as AdyenPaymentUpdate, c2 as Application, c3 as ApplicationSort, c4 as Attachment, c5 as AttachmentCreate, c7 as AttachmentSort, c6 as AttachmentUpdate, c8 as Authorization, ca as AuthorizationSort, c9 as AuthorizationUpdate, cb as AvalaraAccount, cc as AvalaraAccountCreate, ce as AvalaraAccountSort, cd as AvalaraAccountUpdate, cf as AxerveGateway, cg as AxerveGatewayCreate, ci as AxerveGatewaySort, ch as AxerveGatewayUpdate, cj as AxervePayment, ck as AxervePaymentCreate, cm as AxervePaymentSort, cl as AxervePaymentUpdate, cn as BingGeocoder, co as BingGeocoderCreate, cq as BingGeocoderSort, cp as BingGeocoderUpdate, cr as BraintreeGateway, cs as BraintreeGatewayCreate, cu as BraintreeGatewaySort, ct as BraintreeGatewayUpdate, cv as BraintreePayment, cw as BraintreePaymentCreate, cy as BraintreePaymentSort, cx as BraintreePaymentUpdate, cz as Bundle, cA as BundleCreate, cC as BundleSort, cB as BundleUpdate, cD as BuyXPayYPromotion, cE as BuyXPayYPromotionCreate, cG as BuyXPayYPromotionSort, cF as BuyXPayYPromotionUpdate, cH as Capture, cJ as CaptureSort, cI as CaptureUpdate, cK as CarrierAccount, cL as CarrierAccountCreate, cN as CarrierAccountSort, cM as CarrierAccountUpdate, cO as CheckoutComGateway, cP as CheckoutComGatewayCreate, cR as CheckoutComGatewaySort, cQ as CheckoutComGatewayUpdate, cS as CheckoutComPayment, cT as CheckoutComPaymentCreate, cV as CheckoutComPaymentSort, cU as CheckoutComPaymentUpdate, cW as Cleanup, cX as CleanupCreate, cZ as CleanupSort, cY as CleanupUpdate, d6 as Coupon, c_ as CouponCodesPromotionRule, c$ as CouponCodesPromotionRuleCreate, d1 as CouponCodesPromotionRuleSort, d0 as CouponCodesPromotionRuleUpdate, d7 as CouponCreate, d2 as CouponRecipient, d3 as CouponRecipientCreate, d5 as CouponRecipientSort, d4 as CouponRecipientUpdate, d9 as CouponSort, d8 as CouponUpdate, da as CustomPromotionRule, db as CustomPromotionRuleCreate, dd as CustomPromotionRuleSort, dc as CustomPromotionRuleUpdate, dz as Customer, de as CustomerAddress, df as CustomerAddressCreate, dh as CustomerAddressSort, dg as CustomerAddressUpdate, dA as CustomerCreate, di as CustomerGroup, dj as CustomerGroupCreate, dl as CustomerGroupSort, dk as CustomerGroupUpdate, dm as CustomerPasswordReset, dn as CustomerPasswordResetCreate, dq as CustomerPasswordResetSort, dp as CustomerPasswordResetUpdate, dr as CustomerPaymentSource, ds as CustomerPaymentSourceCreate, du as CustomerPaymentSourceSort, dt as CustomerPaymentSourceUpdate, dC as CustomerSort, dv as CustomerSubscription, dw as CustomerSubscriptionCreate, dy as CustomerSubscriptionSort, dx as CustomerSubscriptionUpdate, dB as CustomerUpdate, dD as DeliveryLeadTime, dE as DeliveryLeadTimeCreate, dG as DeliveryLeadTimeSort, dF as DeliveryLeadTimeUpdate, dJ as DiscountEngine, dH as DiscountEngineItem, dI as DiscountEngineItemSort, dK as DiscountEngineSort, dL as EasypostPickup, dM as EasypostPickupCreate, dO as EasypostPickupSort, dN as EasypostPickupUpdate, dR as Event, dP as EventCallback, dQ as EventCallbackSort, dT as EventSort, dS as EventUpdate, dU as Export, dV as ExportCreate, dX as ExportSort, dW as ExportUpdate, dY as ExternalGateway, dZ as ExternalGatewayCreate, d$ as ExternalGatewaySort, d_ as ExternalGatewayUpdate, e0 as ExternalPayment, e1 as ExternalPaymentCreate, e3 as ExternalPaymentSort, e2 as ExternalPaymentUpdate, e4 as ExternalPromotion, e5 as ExternalPromotionCreate, e7 as ExternalPromotionSort, e6 as ExternalPromotionUpdate, e8 as ExternalTaxCalculator, e9 as ExternalTaxCalculatorCreate, eb as ExternalTaxCalculatorSort, ea as ExternalTaxCalculatorUpdate, ec as FixedAmountPromotion, ed as FixedAmountPromotionCreate, ef as FixedAmountPromotionSort, ee as FixedAmountPromotionUpdate, eg as FixedPricePromotion, eh as FixedPricePromotionCreate, ej as FixedPricePromotionSort, ei as FixedPricePromotionUpdate, ek as FlexPromotion, el as FlexPromotionCreate, en as FlexPromotionSort, em as FlexPromotionUpdate, eo as FreeGiftPromotion, ep as FreeGiftPromotionCreate, er as FreeGiftPromotionSort, eq as FreeGiftPromotionUpdate, es as FreeShippingPromotion, et as FreeShippingPromotionCreate, ev as FreeShippingPromotionSort, eu as FreeShippingPromotionUpdate, ew as Geocoder, ex as GeocoderSort, eC as GiftCard, eD as GiftCardCreate, ey as GiftCardRecipient, ez as GiftCardRecipientCreate, eB as GiftCardRecipientSort, eA as GiftCardRecipientUpdate, eF as GiftCardSort, eE as GiftCardUpdate, eG as GoogleGeocoder, eH as GoogleGeocoderCreate, eJ as GoogleGeocoderSort, eI as GoogleGeocoderUpdate, eK as Import, eL as ImportCreate, eN as ImportSort, eM as ImportUpdate, eO as InStockSubscription, eP as InStockSubscriptionCreate, eR as InStockSubscriptionSort, eQ as InStockSubscriptionUpdate, eS as InventoryModel, eT as InventoryModelCreate, eV as InventoryModelSort, eU as InventoryModelUpdate, eW as InventoryReturnLocation, eX as InventoryReturnLocationCreate, eZ as InventoryReturnLocationSort, eY as InventoryReturnLocationUpdate, e_ as InventoryStockLocation, e$ as InventoryStockLocationCreate, f1 as InventoryStockLocationSort, f0 as InventoryStockLocationUpdate, f2 as KlarnaGateway, f3 as KlarnaGatewayCreate, f5 as KlarnaGatewaySort, f4 as KlarnaGatewayUpdate, f6 as KlarnaPayment, f7 as KlarnaPaymentCreate, f9 as KlarnaPaymentSort, f8 as KlarnaPaymentUpdate, fe as LineItem, ff as LineItemCreate, fa as LineItemOption, fb as LineItemOptionCreate, fd as LineItemOptionSort, fc as LineItemOptionUpdate, fh as LineItemSort, fg as LineItemUpdate, fi as Link, fj as LinkCreate, fl as LinkSort, fk as LinkUpdate, fm as ManualGateway, fn as ManualGatewayCreate, fp as ManualGatewaySort, fo as ManualGatewayUpdate, fq as ManualTaxCalculator, fr as ManualTaxCalculatorCreate, ft as ManualTaxCalculatorSort, fs as ManualTaxCalculatorUpdate, fu as Market, fv as MarketCreate, fx as MarketSort, fw as MarketUpdate, fy as Merchant, fz as MerchantCreate, fB as MerchantSort, fA as MerchantUpdate, fC as Notification, fD as NotificationCreate, fF as NotificationSort, fE as NotificationUpdate, fY as Order, fG as OrderAmountPromotionRule, fH as OrderAmountPromotionRuleCreate, fJ as OrderAmountPromotionRuleSort, fI as OrderAmountPromotionRuleUpdate, fK as OrderCopy, fL as OrderCopyCreate, fN as OrderCopySort, fM as OrderCopyUpdate, fZ as OrderCreate, fO as OrderFactory, fP as OrderFactorySort, f$ as OrderSort, fU as OrderSubscription, fV as OrderSubscriptionCreate, fQ as OrderSubscriptionItem, fR as OrderSubscriptionItemCreate, fT as OrderSubscriptionItemSort, fS as OrderSubscriptionItemUpdate, fX as OrderSubscriptionSort, fW as OrderSubscriptionUpdate, f_ as OrderUpdate, g0 as Organization, g1 as OrganizationSort, g2 as Package, g3 as PackageCreate, g5 as PackageSort, g4 as PackageUpdate, ga as Parcel, gb as ParcelCreate, g6 as ParcelLineItem, g7 as ParcelLineItemCreate, g9 as ParcelLineItemSort, g8 as ParcelLineItemUpdate, gd as ParcelSort, gc as ParcelUpdate, ge as PaymentGateway, gf as PaymentGatewaySort, gg as PaymentMethod, gh as PaymentMethodCreate, gj as PaymentMethodSort, gi as PaymentMethodUpdate, gk as PaymentOption, gl as PaymentOptionCreate, gn as PaymentOptionSort, gm as PaymentOptionUpdate, go as PaypalGateway, gp as PaypalGatewayCreate, gr as PaypalGatewaySort, gq as PaypalGatewayUpdate, gs as PaypalPayment, gt as PaypalPaymentCreate, gv as PaypalPaymentSort, gu as PaypalPaymentUpdate, gw as PercentageDiscountPromotion, gx as PercentageDiscountPromotionCreate, gz as PercentageDiscountPromotionSort, gy as PercentageDiscountPromotionUpdate, gA as Pickup, gB as PickupSort, gU as Price, gV as PriceCreate, gC as PriceFrequencyTier, gD as PriceFrequencyTierCreate, gF as PriceFrequencyTierSort, gE as PriceFrequencyTierUpdate, gK as PriceList, gL as PriceListCreate, gG as PriceListScheduler, gH as PriceListSchedulerCreate, gJ as PriceListSchedulerSort, gI as PriceListSchedulerUpdate, gN as PriceListSort, gM as PriceListUpdate, gX as PriceSort, gO as PriceTier, gP as PriceTierSort, gW as PriceUpdate, gQ as PriceVolumeTier, gR as PriceVolumeTierCreate, gT as PriceVolumeTierSort, gS as PriceVolumeTierUpdate, g_ as Promotion, gY as PromotionRule, gZ as PromotionRuleSort, g$ as PromotionSort, h0 as RecurringOrderCopy, h1 as RecurringOrderCopyCreate, h3 as RecurringOrderCopySort, h2 as RecurringOrderCopyUpdate, h4 as Refund, h6 as RefundSort, h5 as RefundUpdate, h7 as ReservedStock, h8 as ReservedStockSort, h9 as ResourceError, ha as ResourceErrorSort, hf as Return, hg as ReturnCreate, hb as ReturnLineItem, hc as ReturnLineItemCreate, he as ReturnLineItemSort, hd as ReturnLineItemUpdate, hi as ReturnSort, hh as ReturnUpdate, hj as SatispayGateway, hk as SatispayGatewayCreate, hm as SatispayGatewaySort, hl as SatispayGatewayUpdate, hn as SatispayPayment, ho as SatispayPaymentCreate, hq as SatispayPaymentSort, hp as SatispayPaymentUpdate, hr as Shipment, hs as ShipmentCreate, hu as ShipmentSort, ht as ShipmentUpdate, hv as ShippingCategory, hw as ShippingCategoryCreate, hy as ShippingCategorySort, hx as ShippingCategoryUpdate, hB as ShippingMethod, hC as ShippingMethodCreate, hE as ShippingMethodSort, hz as ShippingMethodTier, hA as ShippingMethodTierSort, hD as ShippingMethodUpdate, hF as ShippingWeightTier, hG as ShippingWeightTierCreate, hI as ShippingWeightTierSort, hH as ShippingWeightTierUpdate, hJ as ShippingZone, hK as ShippingZoneCreate, hM as ShippingZoneSort, hL as ShippingZoneUpdate, i1 as Sku, i2 as SkuCreate, hV as SkuList, hW as SkuListCreate, hN as SkuListItem, hO as SkuListItemCreate, hQ as SkuListItemSort, hP as SkuListItemUpdate, hR as SkuListPromotionRule, hS as SkuListPromotionRuleCreate, hU as SkuListPromotionRuleSort, hT as SkuListPromotionRuleUpdate, hY as SkuListSort, hX as SkuListUpdate, hZ as SkuOption, h_ as SkuOptionCreate, i0 as SkuOptionSort, h$ as SkuOptionUpdate, i4 as SkuSort, i3 as SkuUpdate, i5 as StockItem, i6 as StockItemCreate, i8 as StockItemSort, i7 as StockItemUpdate, i9 as StockLineItem, ia as StockLineItemCreate, ic as StockLineItemSort, ib as StockLineItemUpdate, id as StockLocation, ie as StockLocationCreate, ih as StockLocationSort, ig as StockLocationUpdate, ii as StockReservation, ij as StockReservationCreate, il as StockReservationSort, ik as StockReservationUpdate, im as StockTransfer, io as StockTransferCreate, iq as StockTransferSort, ip as StockTransferUpdate, ir as Store, is as StoreCreate, iu as StoreSort, it as StoreUpdate, iv as StripeGateway, iw as StripeGatewayCreate, iy as StripeGatewaySort, ix as StripeGatewayUpdate, iz as StripePayment, iA as StripePaymentCreate, iC as StripePaymentSort, iB as StripePaymentUpdate, iD as StripeTaxAccount, iE as StripeTaxAccountCreate, iG as StripeTaxAccountSort, iF as StripeTaxAccountUpdate, iH as SubscriptionModel, iI as SubscriptionModelCreate, iK as SubscriptionModelSort, iJ as SubscriptionModelUpdate, iL as Tag, iM as TagCreate, iO as TagSort, iN as TagUpdate, iP as TalonOneAccount, iQ as TalonOneAccountCreate, iS as TalonOneAccountSort, iR as TalonOneAccountUpdate, iT as TaxCalculator, iU as TaxCalculatorSort, iV as TaxCategory, iW as TaxCategoryCreate, iY as TaxCategorySort, iX as TaxCategoryUpdate, iZ as TaxRule, i_ as TaxRuleCreate, j0 as TaxRuleSort, i$ as TaxRuleUpdate, j1 as TaxjarAccount, j2 as TaxjarAccountCreate, j4 as TaxjarAccountSort, j3 as TaxjarAccountUpdate, j5 as Transaction, j6 as TransactionSort, j7 as Version, j8 as VersionSort, j9 as VertexAccount, ja as VertexAccountCreate, jc as VertexAccountSort, jb as VertexAccountUpdate, jd as Void, jf as VoidSort, je as VoidUpdate, jg as Webhook, jh as WebhookCreate, jj as WebhookSort, ji as WebhookUpdate, jk as WireTransfer, jl as WireTransferCreate, jn as WireTransferSort, jm as WireTransferUpdate } from './api-CUXmETkx.js';
|
2
2
|
import './client.js';
|
3
3
|
import './interceptor-5MISI1yn.js';
|
4
4
|
import './types.js';
|