@commercelayer/sdk 5.0.0-beta.7 → 5.0.0-beta.8
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/cjs/resource.d.ts +1 -0
- package/lib/cjs/resource.js +3 -0
- package/lib/cjs/resources/addresses.d.ts +2 -3
- package/lib/cjs/resources/addresses.js +0 -3
- package/lib/cjs/resources/adjustments.d.ts +2 -3
- package/lib/cjs/resources/adjustments.js +0 -3
- package/lib/cjs/resources/adyen_gateways.d.ts +0 -1
- package/lib/cjs/resources/adyen_gateways.js +0 -3
- package/lib/cjs/resources/adyen_payments.d.ts +2 -3
- package/lib/cjs/resources/adyen_payments.js +0 -3
- package/lib/cjs/resources/attachments.d.ts +2 -3
- package/lib/cjs/resources/attachments.js +0 -3
- package/lib/cjs/resources/authorizations.d.ts +0 -1
- package/lib/cjs/resources/authorizations.js +0 -3
- package/lib/cjs/resources/avalara_accounts.d.ts +0 -1
- package/lib/cjs/resources/avalara_accounts.js +0 -3
- package/lib/cjs/resources/axerve_gateways.d.ts +0 -1
- package/lib/cjs/resources/axerve_gateways.js +0 -3
- package/lib/cjs/resources/axerve_payments.d.ts +2 -3
- package/lib/cjs/resources/axerve_payments.js +0 -3
- package/lib/cjs/resources/billing_info_validation_rules.d.ts +0 -1
- package/lib/cjs/resources/billing_info_validation_rules.js +0 -3
- package/lib/cjs/resources/bing_geocoders.d.ts +0 -1
- package/lib/cjs/resources/bing_geocoders.js +0 -3
- package/lib/cjs/resources/braintree_gateways.d.ts +0 -1
- package/lib/cjs/resources/braintree_gateways.js +0 -3
- package/lib/cjs/resources/braintree_payments.d.ts +2 -3
- package/lib/cjs/resources/braintree_payments.js +0 -3
- package/lib/cjs/resources/bundles.d.ts +0 -1
- package/lib/cjs/resources/bundles.js +0 -3
- package/lib/cjs/resources/captures.d.ts +0 -1
- package/lib/cjs/resources/captures.js +0 -3
- package/lib/cjs/resources/carrier_accounts.d.ts +0 -1
- package/lib/cjs/resources/carrier_accounts.js +0 -3
- package/lib/cjs/resources/checkout_com_gateways.d.ts +0 -1
- package/lib/cjs/resources/checkout_com_gateways.js +0 -3
- package/lib/cjs/resources/checkout_com_payments.d.ts +2 -3
- package/lib/cjs/resources/checkout_com_payments.js +0 -3
- package/lib/cjs/resources/cleanups.d.ts +0 -1
- package/lib/cjs/resources/cleanups.js +0 -3
- package/lib/cjs/resources/coupon_codes_promotion_rules.d.ts +0 -1
- package/lib/cjs/resources/coupon_codes_promotion_rules.js +0 -3
- package/lib/cjs/resources/coupon_recipients.d.ts +0 -1
- package/lib/cjs/resources/coupon_recipients.js +0 -3
- package/lib/cjs/resources/coupons.d.ts +2 -3
- package/lib/cjs/resources/coupons.js +0 -3
- package/lib/cjs/resources/customer_addresses.d.ts +0 -1
- package/lib/cjs/resources/customer_addresses.js +0 -3
- package/lib/cjs/resources/customer_groups.d.ts +0 -1
- package/lib/cjs/resources/customer_groups.js +0 -3
- package/lib/cjs/resources/customer_password_resets.d.ts +0 -1
- package/lib/cjs/resources/customer_password_resets.js +0 -3
- package/lib/cjs/resources/customer_payment_sources.d.ts +2 -3
- package/lib/cjs/resources/customer_payment_sources.js +0 -3
- package/lib/cjs/resources/customer_subscriptions.d.ts +0 -1
- package/lib/cjs/resources/customer_subscriptions.js +0 -3
- package/lib/cjs/resources/customers.d.ts +0 -1
- package/lib/cjs/resources/customers.js +0 -3
- package/lib/cjs/resources/delivery_lead_times.d.ts +0 -1
- package/lib/cjs/resources/delivery_lead_times.js +0 -3
- package/lib/cjs/resources/event_callbacks.d.ts +2 -3
- package/lib/cjs/resources/event_callbacks.js +0 -3
- package/lib/cjs/resources/events.d.ts +0 -1
- package/lib/cjs/resources/events.js +0 -3
- package/lib/cjs/resources/exports.d.ts +0 -1
- package/lib/cjs/resources/exports.js +0 -3
- package/lib/cjs/resources/external_gateways.d.ts +0 -1
- package/lib/cjs/resources/external_gateways.js +0 -3
- package/lib/cjs/resources/external_payments.d.ts +2 -3
- package/lib/cjs/resources/external_payments.js +0 -3
- package/lib/cjs/resources/external_promotions.d.ts +0 -1
- package/lib/cjs/resources/external_promotions.js +0 -3
- package/lib/cjs/resources/external_tax_calculators.d.ts +0 -1
- package/lib/cjs/resources/external_tax_calculators.js +0 -3
- package/lib/cjs/resources/fixed_amount_promotions.d.ts +0 -1
- package/lib/cjs/resources/fixed_amount_promotions.js +0 -3
- package/lib/cjs/resources/fixed_price_promotions.d.ts +0 -1
- package/lib/cjs/resources/fixed_price_promotions.js +0 -3
- package/lib/cjs/resources/free_gift_promotions.d.ts +0 -1
- package/lib/cjs/resources/free_gift_promotions.js +0 -3
- package/lib/cjs/resources/free_shipping_promotions.d.ts +0 -1
- package/lib/cjs/resources/free_shipping_promotions.js +0 -3
- package/lib/cjs/resources/geocoders.d.ts +0 -1
- package/lib/cjs/resources/geocoders.js +0 -3
- package/lib/cjs/resources/gift_card_recipients.d.ts +0 -1
- package/lib/cjs/resources/gift_card_recipients.js +0 -3
- package/lib/cjs/resources/gift_cards.d.ts +0 -1
- package/lib/cjs/resources/gift_cards.js +0 -3
- package/lib/cjs/resources/google_geocoders.d.ts +0 -1
- package/lib/cjs/resources/google_geocoders.js +0 -3
- package/lib/cjs/resources/imports.d.ts +0 -1
- package/lib/cjs/resources/imports.js +0 -3
- package/lib/cjs/resources/in_stock_subscriptions.d.ts +0 -1
- package/lib/cjs/resources/in_stock_subscriptions.js +0 -3
- package/lib/cjs/resources/inventory_models.d.ts +0 -1
- package/lib/cjs/resources/inventory_models.js +0 -3
- package/lib/cjs/resources/inventory_return_locations.d.ts +2 -3
- package/lib/cjs/resources/inventory_return_locations.js +0 -3
- package/lib/cjs/resources/inventory_stock_locations.d.ts +2 -3
- package/lib/cjs/resources/inventory_stock_locations.js +0 -3
- package/lib/cjs/resources/klarna_gateways.d.ts +0 -1
- package/lib/cjs/resources/klarna_gateways.js +0 -3
- package/lib/cjs/resources/klarna_payments.d.ts +2 -3
- package/lib/cjs/resources/klarna_payments.js +0 -3
- package/lib/cjs/resources/line_item_options.d.ts +2 -3
- package/lib/cjs/resources/line_item_options.js +0 -3
- package/lib/cjs/resources/line_items.d.ts +0 -1
- package/lib/cjs/resources/line_items.js +0 -3
- package/lib/cjs/resources/manual_gateways.d.ts +0 -1
- package/lib/cjs/resources/manual_gateways.js +0 -3
- package/lib/cjs/resources/manual_tax_calculators.d.ts +0 -1
- package/lib/cjs/resources/manual_tax_calculators.js +0 -3
- package/lib/cjs/resources/markets.d.ts +0 -1
- package/lib/cjs/resources/markets.js +0 -3
- package/lib/cjs/resources/merchants.d.ts +0 -1
- package/lib/cjs/resources/merchants.js +0 -3
- package/lib/cjs/resources/order_amount_promotion_rules.d.ts +2 -3
- package/lib/cjs/resources/order_amount_promotion_rules.js +0 -3
- package/lib/cjs/resources/order_copies.d.ts +0 -1
- package/lib/cjs/resources/order_copies.js +0 -3
- package/lib/cjs/resources/order_subscriptions.d.ts +0 -1
- package/lib/cjs/resources/order_subscriptions.js +0 -3
- package/lib/cjs/resources/order_validation_rules.d.ts +0 -1
- package/lib/cjs/resources/order_validation_rules.js +0 -3
- package/lib/cjs/resources/orders.d.ts +0 -1
- package/lib/cjs/resources/orders.js +0 -3
- package/lib/cjs/resources/packages.d.ts +0 -1
- package/lib/cjs/resources/packages.js +0 -3
- package/lib/cjs/resources/parcel_line_items.d.ts +2 -3
- package/lib/cjs/resources/parcel_line_items.js +0 -3
- package/lib/cjs/resources/parcels.d.ts +0 -1
- package/lib/cjs/resources/parcels.js +0 -3
- package/lib/cjs/resources/payment_gateways.d.ts +0 -1
- package/lib/cjs/resources/payment_gateways.js +0 -3
- package/lib/cjs/resources/payment_methods.d.ts +0 -1
- package/lib/cjs/resources/payment_methods.js +0 -3
- package/lib/cjs/resources/paypal_gateways.d.ts +0 -1
- package/lib/cjs/resources/paypal_gateways.js +0 -3
- package/lib/cjs/resources/paypal_payments.d.ts +2 -3
- package/lib/cjs/resources/paypal_payments.js +0 -3
- package/lib/cjs/resources/percentage_discount_promotions.d.ts +0 -1
- package/lib/cjs/resources/percentage_discount_promotions.js +0 -3
- package/lib/cjs/resources/price_lists.d.ts +0 -1
- package/lib/cjs/resources/price_lists.js +0 -3
- package/lib/cjs/resources/price_tiers.d.ts +0 -1
- package/lib/cjs/resources/price_tiers.js +0 -3
- package/lib/cjs/resources/price_volume_tiers.d.ts +0 -1
- package/lib/cjs/resources/price_volume_tiers.js +0 -3
- package/lib/cjs/resources/prices.d.ts +0 -1
- package/lib/cjs/resources/prices.js +0 -3
- package/lib/cjs/resources/promotion_rules.d.ts +1 -3
- package/lib/cjs/resources/promotion_rules.js +0 -3
- package/lib/cjs/resources/promotions.d.ts +0 -1
- package/lib/cjs/resources/promotions.js +0 -3
- package/lib/cjs/resources/refunds.d.ts +0 -1
- package/lib/cjs/resources/refunds.js +0 -3
- package/lib/cjs/resources/return_line_items.d.ts +2 -3
- package/lib/cjs/resources/return_line_items.js +0 -3
- package/lib/cjs/resources/returns.d.ts +0 -1
- package/lib/cjs/resources/returns.js +0 -3
- package/lib/cjs/resources/satispay_gateways.d.ts +0 -1
- package/lib/cjs/resources/satispay_gateways.js +0 -3
- package/lib/cjs/resources/satispay_payments.d.ts +2 -3
- package/lib/cjs/resources/satispay_payments.js +0 -3
- package/lib/cjs/resources/shipments.d.ts +0 -1
- package/lib/cjs/resources/shipments.js +0 -3
- package/lib/cjs/resources/shipping_categories.d.ts +0 -1
- package/lib/cjs/resources/shipping_categories.js +0 -3
- package/lib/cjs/resources/shipping_method_tiers.d.ts +0 -1
- package/lib/cjs/resources/shipping_method_tiers.js +0 -3
- package/lib/cjs/resources/shipping_methods.d.ts +0 -1
- package/lib/cjs/resources/shipping_methods.js +0 -3
- package/lib/cjs/resources/shipping_weight_tiers.d.ts +0 -1
- package/lib/cjs/resources/shipping_weight_tiers.js +0 -3
- package/lib/cjs/resources/shipping_zones.d.ts +0 -1
- package/lib/cjs/resources/shipping_zones.js +0 -3
- package/lib/cjs/resources/sku_list_items.d.ts +2 -3
- package/lib/cjs/resources/sku_list_items.js +0 -3
- package/lib/cjs/resources/sku_list_promotion_rules.d.ts +0 -1
- package/lib/cjs/resources/sku_list_promotion_rules.js +0 -3
- package/lib/cjs/resources/sku_lists.d.ts +0 -1
- package/lib/cjs/resources/sku_lists.js +0 -3
- package/lib/cjs/resources/sku_options.d.ts +0 -1
- package/lib/cjs/resources/sku_options.js +0 -3
- package/lib/cjs/resources/skus.d.ts +0 -1
- package/lib/cjs/resources/skus.js +0 -3
- package/lib/cjs/resources/stock_items.d.ts +0 -1
- package/lib/cjs/resources/stock_items.js +0 -3
- package/lib/cjs/resources/stock_line_items.d.ts +2 -3
- package/lib/cjs/resources/stock_line_items.js +0 -3
- package/lib/cjs/resources/stock_locations.d.ts +0 -1
- package/lib/cjs/resources/stock_locations.js +0 -3
- package/lib/cjs/resources/stock_transfers.d.ts +0 -1
- package/lib/cjs/resources/stock_transfers.js +0 -3
- package/lib/cjs/resources/stripe_gateways.d.ts +0 -1
- package/lib/cjs/resources/stripe_gateways.js +0 -3
- package/lib/cjs/resources/stripe_payments.d.ts +2 -3
- package/lib/cjs/resources/stripe_payments.js +0 -3
- package/lib/cjs/resources/tax_calculators.d.ts +0 -1
- package/lib/cjs/resources/tax_calculators.js +0 -3
- package/lib/cjs/resources/tax_categories.d.ts +0 -1
- package/lib/cjs/resources/tax_categories.js +0 -3
- package/lib/cjs/resources/tax_rules.d.ts +2 -3
- package/lib/cjs/resources/tax_rules.js +0 -3
- package/lib/cjs/resources/taxjar_accounts.d.ts +0 -1
- package/lib/cjs/resources/taxjar_accounts.js +0 -3
- package/lib/cjs/resources/transactions.d.ts +2 -3
- package/lib/cjs/resources/transactions.js +0 -3
- package/lib/cjs/resources/voids.d.ts +0 -1
- package/lib/cjs/resources/voids.js +0 -3
- package/lib/cjs/resources/webhooks.d.ts +0 -1
- package/lib/cjs/resources/webhooks.js +0 -3
- package/lib/cjs/resources/wire_transfers.d.ts +2 -3
- package/lib/cjs/resources/wire_transfers.js +0 -3
- package/lib/esm/resource.d.ts +1 -0
- package/lib/esm/resource.js +3 -0
- package/lib/esm/resources/addresses.d.ts +2 -3
- package/lib/esm/resources/addresses.js +0 -3
- package/lib/esm/resources/adjustments.d.ts +2 -3
- package/lib/esm/resources/adjustments.js +0 -3
- package/lib/esm/resources/adyen_gateways.d.ts +0 -1
- package/lib/esm/resources/adyen_gateways.js +0 -3
- package/lib/esm/resources/adyen_payments.d.ts +2 -3
- package/lib/esm/resources/adyen_payments.js +0 -3
- package/lib/esm/resources/attachments.d.ts +2 -3
- package/lib/esm/resources/attachments.js +0 -3
- package/lib/esm/resources/authorizations.d.ts +0 -1
- package/lib/esm/resources/authorizations.js +0 -3
- package/lib/esm/resources/avalara_accounts.d.ts +0 -1
- package/lib/esm/resources/avalara_accounts.js +0 -3
- package/lib/esm/resources/axerve_gateways.d.ts +0 -1
- package/lib/esm/resources/axerve_gateways.js +0 -3
- package/lib/esm/resources/axerve_payments.d.ts +2 -3
- package/lib/esm/resources/axerve_payments.js +0 -3
- package/lib/esm/resources/billing_info_validation_rules.d.ts +0 -1
- package/lib/esm/resources/billing_info_validation_rules.js +0 -3
- package/lib/esm/resources/bing_geocoders.d.ts +0 -1
- package/lib/esm/resources/bing_geocoders.js +0 -3
- package/lib/esm/resources/braintree_gateways.d.ts +0 -1
- package/lib/esm/resources/braintree_gateways.js +0 -3
- package/lib/esm/resources/braintree_payments.d.ts +2 -3
- package/lib/esm/resources/braintree_payments.js +0 -3
- package/lib/esm/resources/bundles.d.ts +0 -1
- package/lib/esm/resources/bundles.js +0 -3
- package/lib/esm/resources/captures.d.ts +0 -1
- package/lib/esm/resources/captures.js +0 -3
- package/lib/esm/resources/carrier_accounts.d.ts +0 -1
- package/lib/esm/resources/carrier_accounts.js +0 -3
- package/lib/esm/resources/checkout_com_gateways.d.ts +0 -1
- package/lib/esm/resources/checkout_com_gateways.js +0 -3
- package/lib/esm/resources/checkout_com_payments.d.ts +2 -3
- package/lib/esm/resources/checkout_com_payments.js +0 -3
- package/lib/esm/resources/cleanups.d.ts +0 -1
- package/lib/esm/resources/cleanups.js +0 -3
- package/lib/esm/resources/coupon_codes_promotion_rules.d.ts +0 -1
- package/lib/esm/resources/coupon_codes_promotion_rules.js +0 -3
- package/lib/esm/resources/coupon_recipients.d.ts +0 -1
- package/lib/esm/resources/coupon_recipients.js +0 -3
- package/lib/esm/resources/coupons.d.ts +2 -3
- package/lib/esm/resources/coupons.js +0 -3
- package/lib/esm/resources/customer_addresses.d.ts +0 -1
- package/lib/esm/resources/customer_addresses.js +0 -3
- package/lib/esm/resources/customer_groups.d.ts +0 -1
- package/lib/esm/resources/customer_groups.js +0 -3
- package/lib/esm/resources/customer_password_resets.d.ts +0 -1
- package/lib/esm/resources/customer_password_resets.js +0 -3
- package/lib/esm/resources/customer_payment_sources.d.ts +2 -3
- package/lib/esm/resources/customer_payment_sources.js +0 -3
- package/lib/esm/resources/customer_subscriptions.d.ts +0 -1
- package/lib/esm/resources/customer_subscriptions.js +0 -3
- package/lib/esm/resources/customers.d.ts +0 -1
- package/lib/esm/resources/customers.js +0 -3
- package/lib/esm/resources/delivery_lead_times.d.ts +0 -1
- package/lib/esm/resources/delivery_lead_times.js +0 -3
- package/lib/esm/resources/event_callbacks.d.ts +2 -3
- package/lib/esm/resources/event_callbacks.js +0 -3
- package/lib/esm/resources/events.d.ts +0 -1
- package/lib/esm/resources/events.js +0 -3
- package/lib/esm/resources/exports.d.ts +0 -1
- package/lib/esm/resources/exports.js +0 -3
- package/lib/esm/resources/external_gateways.d.ts +0 -1
- package/lib/esm/resources/external_gateways.js +0 -3
- package/lib/esm/resources/external_payments.d.ts +2 -3
- package/lib/esm/resources/external_payments.js +0 -3
- package/lib/esm/resources/external_promotions.d.ts +0 -1
- package/lib/esm/resources/external_promotions.js +0 -3
- package/lib/esm/resources/external_tax_calculators.d.ts +0 -1
- package/lib/esm/resources/external_tax_calculators.js +0 -3
- package/lib/esm/resources/fixed_amount_promotions.d.ts +0 -1
- package/lib/esm/resources/fixed_amount_promotions.js +0 -3
- package/lib/esm/resources/fixed_price_promotions.d.ts +0 -1
- package/lib/esm/resources/fixed_price_promotions.js +0 -3
- package/lib/esm/resources/free_gift_promotions.d.ts +0 -1
- package/lib/esm/resources/free_gift_promotions.js +0 -3
- package/lib/esm/resources/free_shipping_promotions.d.ts +0 -1
- package/lib/esm/resources/free_shipping_promotions.js +0 -3
- package/lib/esm/resources/geocoders.d.ts +0 -1
- package/lib/esm/resources/geocoders.js +0 -3
- package/lib/esm/resources/gift_card_recipients.d.ts +0 -1
- package/lib/esm/resources/gift_card_recipients.js +0 -3
- package/lib/esm/resources/gift_cards.d.ts +0 -1
- package/lib/esm/resources/gift_cards.js +0 -3
- package/lib/esm/resources/google_geocoders.d.ts +0 -1
- package/lib/esm/resources/google_geocoders.js +0 -3
- package/lib/esm/resources/imports.d.ts +0 -1
- package/lib/esm/resources/imports.js +0 -3
- package/lib/esm/resources/in_stock_subscriptions.d.ts +0 -1
- package/lib/esm/resources/in_stock_subscriptions.js +0 -3
- package/lib/esm/resources/inventory_models.d.ts +0 -1
- package/lib/esm/resources/inventory_models.js +0 -3
- package/lib/esm/resources/inventory_return_locations.d.ts +2 -3
- package/lib/esm/resources/inventory_return_locations.js +0 -3
- package/lib/esm/resources/inventory_stock_locations.d.ts +2 -3
- package/lib/esm/resources/inventory_stock_locations.js +0 -3
- package/lib/esm/resources/klarna_gateways.d.ts +0 -1
- package/lib/esm/resources/klarna_gateways.js +0 -3
- package/lib/esm/resources/klarna_payments.d.ts +2 -3
- package/lib/esm/resources/klarna_payments.js +0 -3
- package/lib/esm/resources/line_item_options.d.ts +2 -3
- package/lib/esm/resources/line_item_options.js +0 -3
- package/lib/esm/resources/line_items.d.ts +0 -1
- package/lib/esm/resources/line_items.js +0 -3
- package/lib/esm/resources/manual_gateways.d.ts +0 -1
- package/lib/esm/resources/manual_gateways.js +0 -3
- package/lib/esm/resources/manual_tax_calculators.d.ts +0 -1
- package/lib/esm/resources/manual_tax_calculators.js +0 -3
- package/lib/esm/resources/markets.d.ts +0 -1
- package/lib/esm/resources/markets.js +0 -3
- package/lib/esm/resources/merchants.d.ts +0 -1
- package/lib/esm/resources/merchants.js +0 -3
- package/lib/esm/resources/order_amount_promotion_rules.d.ts +2 -3
- package/lib/esm/resources/order_amount_promotion_rules.js +0 -3
- package/lib/esm/resources/order_copies.d.ts +0 -1
- package/lib/esm/resources/order_copies.js +0 -3
- package/lib/esm/resources/order_subscriptions.d.ts +0 -1
- package/lib/esm/resources/order_subscriptions.js +0 -3
- package/lib/esm/resources/order_validation_rules.d.ts +0 -1
- package/lib/esm/resources/order_validation_rules.js +0 -3
- package/lib/esm/resources/orders.d.ts +0 -1
- package/lib/esm/resources/orders.js +0 -3
- package/lib/esm/resources/packages.d.ts +0 -1
- package/lib/esm/resources/packages.js +0 -3
- package/lib/esm/resources/parcel_line_items.d.ts +2 -3
- package/lib/esm/resources/parcel_line_items.js +0 -3
- package/lib/esm/resources/parcels.d.ts +0 -1
- package/lib/esm/resources/parcels.js +0 -3
- package/lib/esm/resources/payment_gateways.d.ts +0 -1
- package/lib/esm/resources/payment_gateways.js +0 -3
- package/lib/esm/resources/payment_methods.d.ts +0 -1
- package/lib/esm/resources/payment_methods.js +0 -3
- package/lib/esm/resources/paypal_gateways.d.ts +0 -1
- package/lib/esm/resources/paypal_gateways.js +0 -3
- package/lib/esm/resources/paypal_payments.d.ts +2 -3
- package/lib/esm/resources/paypal_payments.js +0 -3
- package/lib/esm/resources/percentage_discount_promotions.d.ts +0 -1
- package/lib/esm/resources/percentage_discount_promotions.js +0 -3
- package/lib/esm/resources/price_lists.d.ts +0 -1
- package/lib/esm/resources/price_lists.js +0 -3
- package/lib/esm/resources/price_tiers.d.ts +0 -1
- package/lib/esm/resources/price_tiers.js +0 -3
- package/lib/esm/resources/price_volume_tiers.d.ts +0 -1
- package/lib/esm/resources/price_volume_tiers.js +0 -3
- package/lib/esm/resources/prices.d.ts +0 -1
- package/lib/esm/resources/prices.js +0 -3
- package/lib/esm/resources/promotion_rules.d.ts +1 -3
- package/lib/esm/resources/promotion_rules.js +0 -3
- package/lib/esm/resources/promotions.d.ts +0 -1
- package/lib/esm/resources/promotions.js +0 -3
- package/lib/esm/resources/refunds.d.ts +0 -1
- package/lib/esm/resources/refunds.js +0 -3
- package/lib/esm/resources/return_line_items.d.ts +2 -3
- package/lib/esm/resources/return_line_items.js +0 -3
- package/lib/esm/resources/returns.d.ts +0 -1
- package/lib/esm/resources/returns.js +0 -3
- package/lib/esm/resources/satispay_gateways.d.ts +0 -1
- package/lib/esm/resources/satispay_gateways.js +0 -3
- package/lib/esm/resources/satispay_payments.d.ts +2 -3
- package/lib/esm/resources/satispay_payments.js +0 -3
- package/lib/esm/resources/shipments.d.ts +0 -1
- package/lib/esm/resources/shipments.js +0 -3
- package/lib/esm/resources/shipping_categories.d.ts +0 -1
- package/lib/esm/resources/shipping_categories.js +0 -3
- package/lib/esm/resources/shipping_method_tiers.d.ts +0 -1
- package/lib/esm/resources/shipping_method_tiers.js +0 -3
- package/lib/esm/resources/shipping_methods.d.ts +0 -1
- package/lib/esm/resources/shipping_methods.js +0 -3
- package/lib/esm/resources/shipping_weight_tiers.d.ts +0 -1
- package/lib/esm/resources/shipping_weight_tiers.js +0 -3
- package/lib/esm/resources/shipping_zones.d.ts +0 -1
- package/lib/esm/resources/shipping_zones.js +0 -3
- package/lib/esm/resources/sku_list_items.d.ts +2 -3
- package/lib/esm/resources/sku_list_items.js +0 -3
- package/lib/esm/resources/sku_list_promotion_rules.d.ts +0 -1
- package/lib/esm/resources/sku_list_promotion_rules.js +0 -3
- package/lib/esm/resources/sku_lists.d.ts +0 -1
- package/lib/esm/resources/sku_lists.js +0 -3
- package/lib/esm/resources/sku_options.d.ts +0 -1
- package/lib/esm/resources/sku_options.js +0 -3
- package/lib/esm/resources/skus.d.ts +0 -1
- package/lib/esm/resources/skus.js +0 -3
- package/lib/esm/resources/stock_items.d.ts +0 -1
- package/lib/esm/resources/stock_items.js +0 -3
- package/lib/esm/resources/stock_line_items.d.ts +2 -3
- package/lib/esm/resources/stock_line_items.js +0 -3
- package/lib/esm/resources/stock_locations.d.ts +0 -1
- package/lib/esm/resources/stock_locations.js +0 -3
- package/lib/esm/resources/stock_transfers.d.ts +0 -1
- package/lib/esm/resources/stock_transfers.js +0 -3
- package/lib/esm/resources/stripe_gateways.d.ts +0 -1
- package/lib/esm/resources/stripe_gateways.js +0 -3
- package/lib/esm/resources/stripe_payments.d.ts +2 -3
- package/lib/esm/resources/stripe_payments.js +0 -3
- package/lib/esm/resources/tax_calculators.d.ts +0 -1
- package/lib/esm/resources/tax_calculators.js +0 -3
- package/lib/esm/resources/tax_categories.d.ts +0 -1
- package/lib/esm/resources/tax_categories.js +0 -3
- package/lib/esm/resources/tax_rules.d.ts +2 -3
- package/lib/esm/resources/tax_rules.js +0 -3
- package/lib/esm/resources/taxjar_accounts.d.ts +0 -1
- package/lib/esm/resources/taxjar_accounts.js +0 -3
- package/lib/esm/resources/transactions.d.ts +2 -3
- package/lib/esm/resources/transactions.js +0 -3
- package/lib/esm/resources/voids.d.ts +0 -1
- package/lib/esm/resources/voids.js +0 -3
- package/lib/esm/resources/webhooks.d.ts +0 -1
- package/lib/esm/resources/webhooks.js +0 -3
- package/lib/esm/resources/wire_transfers.d.ts +2 -3
- package/lib/esm/resources/wire_transfers.js +0 -3
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class Addresses extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: Addresses.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: Addresses.TYPE }, params, options);
|
8
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel
|
2
|
-
import type { QueryParamsRetrieve
|
1
|
+
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel } from '../resource';
|
2
|
+
import type { QueryParamsRetrieve } from '../query';
|
3
3
|
type AdjustmentType = 'adjustments';
|
4
4
|
type AdjustmentRel = ResourceRel & {
|
5
5
|
type: AdjustmentType;
|
@@ -24,7 +24,6 @@ interface AdjustmentUpdate extends ResourceUpdate {
|
|
24
24
|
}
|
25
25
|
declare class Adjustments extends ApiResource<Adjustment> {
|
26
26
|
static readonly TYPE: AdjustmentType;
|
27
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<Adjustment>>;
|
28
27
|
create(resource: AdjustmentCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Adjustment>;
|
29
28
|
update(resource: AdjustmentUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Adjustment>;
|
30
29
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class Adjustments extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: Adjustments.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: Adjustments.TYPE }, params, options);
|
8
5
|
}
|
@@ -43,7 +43,6 @@ interface AdyenGatewayUpdate extends ResourceUpdate {
|
|
43
43
|
}
|
44
44
|
declare class AdyenGateways extends ApiResource<AdyenGateway> {
|
45
45
|
static readonly TYPE: AdyenGatewayType;
|
46
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<AdyenGateway>>;
|
47
46
|
create(resource: AdyenGatewayCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<AdyenGateway>;
|
48
47
|
update(resource: AdyenGatewayUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<AdyenGateway>;
|
49
48
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class AdyenGateways extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: AdyenGateways.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: AdyenGateways.TYPE }, params, options);
|
8
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel
|
2
|
-
import type { QueryParamsRetrieve
|
1
|
+
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel } from '../resource';
|
2
|
+
import type { QueryParamsRetrieve } from '../query';
|
3
3
|
import type { Order, OrderType } from './orders';
|
4
4
|
import type { PaymentGateway } from './payment_gateways';
|
5
5
|
type AdyenPaymentType = 'adyen_payments';
|
@@ -33,7 +33,6 @@ interface AdyenPaymentUpdate extends ResourceUpdate {
|
|
33
33
|
}
|
34
34
|
declare class AdyenPayments extends ApiResource<AdyenPayment> {
|
35
35
|
static readonly TYPE: AdyenPaymentType;
|
36
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<AdyenPayment>>;
|
37
36
|
create(resource: AdyenPaymentCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<AdyenPayment>;
|
38
37
|
update(resource: AdyenPaymentUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<AdyenPayment>;
|
39
38
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class AdyenPayments extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: AdyenPayments.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: AdyenPayments.TYPE }, params, options);
|
8
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel
|
2
|
-
import type { QueryParamsRetrieve
|
1
|
+
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel } from '../resource';
|
2
|
+
import type { QueryParamsRetrieve } from '../query';
|
3
3
|
import type { Bundle, BundleType } from './bundles';
|
4
4
|
import type { CarrierAccount, CarrierAccountType } from './carrier_accounts';
|
5
5
|
import type { CustomerGroup, CustomerGroupType } from './customer_groups';
|
@@ -145,7 +145,6 @@ interface AttachmentUpdate extends ResourceUpdate {
|
|
145
145
|
}
|
146
146
|
declare class Attachments extends ApiResource<Attachment> {
|
147
147
|
static readonly TYPE: AttachmentType;
|
148
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
149
148
|
create(resource: AttachmentCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Attachment>;
|
150
149
|
update(resource: AttachmentUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Attachment>;
|
151
150
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class Attachments extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: Attachments.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: Attachments.TYPE }, params, options);
|
8
5
|
}
|
@@ -47,7 +47,6 @@ interface AuthorizationUpdate extends ResourceUpdate {
|
|
47
47
|
}
|
48
48
|
declare class Authorizations extends ApiResource<Authorization> {
|
49
49
|
static readonly TYPE: AuthorizationType;
|
50
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<Authorization>>;
|
51
50
|
update(resource: AuthorizationUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Authorization>;
|
52
51
|
order(authorizationId: string | Authorization, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Order>;
|
53
52
|
captures(authorizationId: string | Authorization, params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<Capture>>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class Authorizations extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: Authorizations.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async update(resource, params, options) {
|
7
4
|
return this.resources.update({ ...resource, type: Authorizations.TYPE }, params, options);
|
8
5
|
}
|
@@ -41,7 +41,6 @@ interface AvalaraAccountUpdate extends ResourceUpdate {
|
|
41
41
|
}
|
42
42
|
declare class AvalaraAccounts extends ApiResource<AvalaraAccount> {
|
43
43
|
static readonly TYPE: AvalaraAccountType;
|
44
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<AvalaraAccount>>;
|
45
44
|
create(resource: AvalaraAccountCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<AvalaraAccount>;
|
46
45
|
update(resource: AvalaraAccountUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<AvalaraAccount>;
|
47
46
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class AvalaraAccounts extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: AvalaraAccounts.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: AvalaraAccounts.TYPE }, params, options);
|
8
5
|
}
|
@@ -30,7 +30,6 @@ interface AxerveGatewayUpdate extends ResourceUpdate {
|
|
30
30
|
}
|
31
31
|
declare class AxerveGateways extends ApiResource<AxerveGateway> {
|
32
32
|
static readonly TYPE: AxerveGatewayType;
|
33
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<AxerveGateway>>;
|
34
33
|
create(resource: AxerveGatewayCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<AxerveGateway>;
|
35
34
|
update(resource: AxerveGatewayUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<AxerveGateway>;
|
36
35
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class AxerveGateways extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: AxerveGateways.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: AxerveGateways.TYPE }, params, options);
|
8
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel
|
2
|
-
import type { QueryParamsRetrieve
|
1
|
+
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel } from '../resource';
|
2
|
+
import type { QueryParamsRetrieve } from '../query';
|
3
3
|
import type { Order, OrderType } from './orders';
|
4
4
|
import type { PaymentGateway } from './payment_gateways';
|
5
5
|
type AxervePaymentType = 'axerve_payments';
|
@@ -33,7 +33,6 @@ interface AxervePaymentUpdate extends ResourceUpdate {
|
|
33
33
|
}
|
34
34
|
declare class AxervePayments extends ApiResource<AxervePayment> {
|
35
35
|
static readonly TYPE: AxervePaymentType;
|
36
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<AxervePayment>>;
|
37
36
|
create(resource: AxervePaymentCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<AxervePayment>;
|
38
37
|
update(resource: AxervePaymentUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<AxervePayment>;
|
39
38
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class AxervePayments extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: AxervePayments.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: AxervePayments.TYPE }, params, options);
|
8
5
|
}
|
@@ -22,7 +22,6 @@ interface BillingInfoValidationRuleUpdate extends ResourceUpdate {
|
|
22
22
|
}
|
23
23
|
declare class BillingInfoValidationRules extends ApiResource<BillingInfoValidationRule> {
|
24
24
|
static readonly TYPE: BillingInfoValidationRuleType;
|
25
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<BillingInfoValidationRule>>;
|
26
25
|
create(resource: BillingInfoValidationRuleCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<BillingInfoValidationRule>;
|
27
26
|
update(resource: BillingInfoValidationRuleUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<BillingInfoValidationRule>;
|
28
27
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class BillingInfoValidationRules extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: BillingInfoValidationRules.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: BillingInfoValidationRules.TYPE }, params, options);
|
8
5
|
}
|
@@ -22,7 +22,6 @@ interface BingGeocoderUpdate extends ResourceUpdate {
|
|
22
22
|
}
|
23
23
|
declare class BingGeocoders extends ApiResource<BingGeocoder> {
|
24
24
|
static readonly TYPE: BingGeocoderType;
|
25
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<BingGeocoder>>;
|
26
25
|
create(resource: BingGeocoderCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<BingGeocoder>;
|
27
26
|
update(resource: BingGeocoderUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<BingGeocoder>;
|
28
27
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class BingGeocoders extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: BingGeocoders.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: BingGeocoders.TYPE }, params, options);
|
8
5
|
}
|
@@ -43,7 +43,6 @@ interface BraintreeGatewayUpdate extends ResourceUpdate {
|
|
43
43
|
}
|
44
44
|
declare class BraintreeGateways extends ApiResource<BraintreeGateway> {
|
45
45
|
static readonly TYPE: BraintreeGatewayType;
|
46
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<BraintreeGateway>>;
|
47
46
|
create(resource: BraintreeGatewayCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<BraintreeGateway>;
|
48
47
|
update(resource: BraintreeGatewayUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<BraintreeGateway>;
|
49
48
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class BraintreeGateways extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: BraintreeGateways.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: BraintreeGateways.TYPE }, params, options);
|
8
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel
|
2
|
-
import type { QueryParamsRetrieve
|
1
|
+
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel } from '../resource';
|
2
|
+
import type { QueryParamsRetrieve } from '../query';
|
3
3
|
import type { Order, OrderType } from './orders';
|
4
4
|
import type { PaymentGateway } from './payment_gateways';
|
5
5
|
type BraintreePaymentType = 'braintree_payments';
|
@@ -35,7 +35,6 @@ interface BraintreePaymentUpdate extends ResourceUpdate {
|
|
35
35
|
}
|
36
36
|
declare class BraintreePayments extends ApiResource<BraintreePayment> {
|
37
37
|
static readonly TYPE: BraintreePaymentType;
|
38
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<BraintreePayment>>;
|
39
38
|
create(resource: BraintreePaymentCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<BraintreePayment>;
|
40
39
|
update(resource: BraintreePaymentUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<BraintreePayment>;
|
41
40
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class BraintreePayments extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: BraintreePayments.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: BraintreePayments.TYPE }, params, options);
|
8
5
|
}
|
@@ -61,7 +61,6 @@ interface BundleUpdate extends ResourceUpdate {
|
|
61
61
|
}
|
62
62
|
declare class Bundles extends ApiResource<Bundle> {
|
63
63
|
static readonly TYPE: BundleType;
|
64
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<Bundle>>;
|
65
64
|
create(resource: BundleCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Bundle>;
|
66
65
|
update(resource: BundleUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Bundle>;
|
67
66
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class Bundles extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: Bundles.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: Bundles.TYPE }, params, options);
|
8
5
|
}
|
@@ -38,7 +38,6 @@ interface CaptureUpdate extends ResourceUpdate {
|
|
38
38
|
}
|
39
39
|
declare class Captures extends ApiResource<Capture> {
|
40
40
|
static readonly TYPE: CaptureType;
|
41
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<Capture>>;
|
42
41
|
update(resource: CaptureUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Capture>;
|
43
42
|
order(captureId: string | Capture, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Order>;
|
44
43
|
reference_authorization(captureId: string | Capture, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Authorization>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class Captures extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: Captures.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async update(resource, params, options) {
|
7
4
|
return this.resources.update({ ...resource, type: Captures.TYPE }, params, options);
|
8
5
|
}
|
@@ -16,7 +16,6 @@ interface CarrierAccount extends Resource {
|
|
16
16
|
}
|
17
17
|
declare class CarrierAccounts extends ApiResource<CarrierAccount> {
|
18
18
|
static readonly TYPE: CarrierAccountType;
|
19
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<CarrierAccount>>;
|
20
19
|
market(carrierAccountId: string | CarrierAccount, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Market>;
|
21
20
|
attachments(carrierAccountId: string | CarrierAccount, params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
22
21
|
isCarrierAccount(resource: any): resource is CarrierAccount;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class CarrierAccounts extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: CarrierAccounts.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async market(carrierAccountId, params, options) {
|
7
4
|
const _carrierAccountId = carrierAccountId.id || carrierAccountId;
|
8
5
|
return this.resources.fetch({ type: 'markets' }, `carrier_accounts/${_carrierAccountId}/market`, params, options);
|
@@ -32,7 +32,6 @@ interface CheckoutComGatewayUpdate extends ResourceUpdate {
|
|
32
32
|
}
|
33
33
|
declare class CheckoutComGateways extends ApiResource<CheckoutComGateway> {
|
34
34
|
static readonly TYPE: CheckoutComGatewayType;
|
35
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<CheckoutComGateway>>;
|
36
35
|
create(resource: CheckoutComGatewayCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CheckoutComGateway>;
|
37
36
|
update(resource: CheckoutComGatewayUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CheckoutComGateway>;
|
38
37
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class CheckoutComGateways extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: CheckoutComGateways.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: CheckoutComGateways.TYPE }, params, options);
|
8
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel
|
2
|
-
import type { QueryParamsRetrieve
|
1
|
+
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel } from '../resource';
|
2
|
+
import type { QueryParamsRetrieve } from '../query';
|
3
3
|
import type { Order, OrderType } from './orders';
|
4
4
|
import type { PaymentGateway } from './payment_gateways';
|
5
5
|
type CheckoutComPaymentType = 'checkout_com_payments';
|
@@ -46,7 +46,6 @@ interface CheckoutComPaymentUpdate extends ResourceUpdate {
|
|
46
46
|
}
|
47
47
|
declare class CheckoutComPayments extends ApiResource<CheckoutComPayment> {
|
48
48
|
static readonly TYPE: CheckoutComPaymentType;
|
49
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<CheckoutComPayment>>;
|
50
49
|
create(resource: CheckoutComPaymentCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CheckoutComPayment>;
|
51
50
|
update(resource: CheckoutComPaymentUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CheckoutComPayment>;
|
52
51
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class CheckoutComPayments extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: CheckoutComPayments.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: CheckoutComPayments.TYPE }, params, options);
|
8
5
|
}
|
@@ -25,7 +25,6 @@ interface CleanupCreate extends ResourceCreate {
|
|
25
25
|
}
|
26
26
|
declare class Cleanups extends ApiResource<Cleanup> {
|
27
27
|
static readonly TYPE: CleanupType;
|
28
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<Cleanup>>;
|
29
28
|
create(resource: CleanupCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Cleanup>;
|
30
29
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
31
30
|
events(cleanupId: string | Cleanup, params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class Cleanups extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: Cleanups.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: Cleanups.TYPE }, params, options);
|
8
5
|
}
|
@@ -47,7 +47,6 @@ interface CouponCodesPromotionRuleUpdate extends ResourceUpdate {
|
|
47
47
|
}
|
48
48
|
declare class CouponCodesPromotionRules extends ApiResource<CouponCodesPromotionRule> {
|
49
49
|
static readonly TYPE: CouponCodesPromotionRuleType;
|
50
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<CouponCodesPromotionRule>>;
|
51
50
|
create(resource: CouponCodesPromotionRuleCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CouponCodesPromotionRule>;
|
52
51
|
update(resource: CouponCodesPromotionRuleUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CouponCodesPromotionRule>;
|
53
52
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class CouponCodesPromotionRules extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: CouponCodesPromotionRules.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: CouponCodesPromotionRules.TYPE }, params, options);
|
8
5
|
}
|
@@ -31,7 +31,6 @@ interface CouponRecipientUpdate extends ResourceUpdate {
|
|
31
31
|
}
|
32
32
|
declare class CouponRecipients extends ApiResource<CouponRecipient> {
|
33
33
|
static readonly TYPE: CouponRecipientType;
|
34
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<CouponRecipient>>;
|
35
34
|
create(resource: CouponRecipientCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CouponRecipient>;
|
36
35
|
update(resource: CouponRecipientUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CouponRecipient>;
|
37
36
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class CouponRecipients extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: CouponRecipients.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: CouponRecipients.TYPE }, params, options);
|
8
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel
|
2
|
-
import type { QueryParamsRetrieve
|
1
|
+
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel } from '../resource';
|
2
|
+
import type { QueryParamsRetrieve } from '../query';
|
3
3
|
import type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules';
|
4
4
|
type CouponType = 'coupons';
|
5
5
|
type CouponRel = ResourceRel & {
|
@@ -33,7 +33,6 @@ interface CouponUpdate extends ResourceUpdate {
|
|
33
33
|
}
|
34
34
|
declare class Coupons extends ApiResource<Coupon> {
|
35
35
|
static readonly TYPE: CouponType;
|
36
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<Coupon>>;
|
37
36
|
create(resource: CouponCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Coupon>;
|
38
37
|
update(resource: CouponUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Coupon>;
|
39
38
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class Coupons extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: Coupons.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: Coupons.TYPE }, params, options);
|
8
5
|
}
|
@@ -30,7 +30,6 @@ interface CustomerAddressUpdate extends ResourceUpdate {
|
|
30
30
|
}
|
31
31
|
declare class CustomerAddresses extends ApiResource<CustomerAddress> {
|
32
32
|
static readonly TYPE: CustomerAddressType;
|
33
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<CustomerAddress>>;
|
34
33
|
create(resource: CustomerAddressCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CustomerAddress>;
|
35
34
|
update(resource: CustomerAddressUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CustomerAddress>;
|
36
35
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class CustomerAddresses extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: CustomerAddresses.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: CustomerAddresses.TYPE }, params, options);
|
8
5
|
}
|
@@ -22,7 +22,6 @@ interface CustomerGroupUpdate extends ResourceUpdate {
|
|
22
22
|
}
|
23
23
|
declare class CustomerGroups extends ApiResource<CustomerGroup> {
|
24
24
|
static readonly TYPE: CustomerGroupType;
|
25
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<CustomerGroup>>;
|
26
25
|
create(resource: CustomerGroupCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CustomerGroup>;
|
27
26
|
update(resource: CustomerGroupUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CustomerGroup>;
|
28
27
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class CustomerGroups extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: CustomerGroups.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: CustomerGroups.TYPE }, params, options);
|
8
5
|
}
|
@@ -23,7 +23,6 @@ interface CustomerPasswordResetUpdate extends ResourceUpdate {
|
|
23
23
|
}
|
24
24
|
declare class CustomerPasswordResets extends ApiResource<CustomerPasswordReset> {
|
25
25
|
static readonly TYPE: CustomerPasswordResetType;
|
26
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<CustomerPasswordReset>>;
|
27
26
|
create(resource: CustomerPasswordResetCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CustomerPasswordReset>;
|
28
27
|
update(resource: CustomerPasswordResetUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CustomerPasswordReset>;
|
29
28
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class CustomerPasswordResets extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: CustomerPasswordResets.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: CustomerPasswordResets.TYPE }, params, options);
|
8
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel
|
2
|
-
import type { QueryParamsRetrieve
|
1
|
+
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel } from '../resource';
|
2
|
+
import type { QueryParamsRetrieve } from '../query';
|
3
3
|
import type { Customer, CustomerType } from './customers';
|
4
4
|
import type { AdyenPayment, AdyenPaymentType } from './adyen_payments';
|
5
5
|
import type { AxervePayment, AxervePaymentType } from './axerve_payments';
|
@@ -66,7 +66,6 @@ interface CustomerPaymentSourceUpdate extends ResourceUpdate {
|
|
66
66
|
}
|
67
67
|
declare class CustomerPaymentSources extends ApiResource<CustomerPaymentSource> {
|
68
68
|
static readonly TYPE: CustomerPaymentSourceType;
|
69
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<CustomerPaymentSource>>;
|
70
69
|
create(resource: CustomerPaymentSourceCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CustomerPaymentSource>;
|
71
70
|
update(resource: CustomerPaymentSourceUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CustomerPaymentSource>;
|
72
71
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class CustomerPaymentSources extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: CustomerPaymentSources.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: CustomerPaymentSources.TYPE }, params, options);
|
8
5
|
}
|
@@ -18,7 +18,6 @@ interface CustomerSubscriptionCreate extends ResourceCreate {
|
|
18
18
|
type CustomerSubscriptionUpdate = ResourceUpdate;
|
19
19
|
declare class CustomerSubscriptions extends ApiResource<CustomerSubscription> {
|
20
20
|
static readonly TYPE: CustomerSubscriptionType;
|
21
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<CustomerSubscription>>;
|
22
21
|
create(resource: CustomerSubscriptionCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CustomerSubscription>;
|
23
22
|
update(resource: CustomerSubscriptionUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<CustomerSubscription>;
|
24
23
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class CustomerSubscriptions extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: CustomerSubscriptions.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: CustomerSubscriptions.TYPE }, params, options);
|
8
5
|
}
|
@@ -45,7 +45,6 @@ interface CustomerUpdate extends ResourceUpdate {
|
|
45
45
|
}
|
46
46
|
declare class Customers extends ApiResource<Customer> {
|
47
47
|
static readonly TYPE: CustomerType;
|
48
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<Customer>>;
|
49
48
|
create(resource: CustomerCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Customer>;
|
50
49
|
update(resource: CustomerUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<Customer>;
|
51
50
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import { ApiResource } from '../resource';
|
2
2
|
class Customers extends ApiResource {
|
3
|
-
async list(params, options) {
|
4
|
-
return this.resources.list({ type: Customers.TYPE }, params, options);
|
5
|
-
}
|
6
3
|
async create(resource, params, options) {
|
7
4
|
return this.resources.create({ ...resource, type: Customers.TYPE }, params, options);
|
8
5
|
}
|
@@ -37,7 +37,6 @@ interface DeliveryLeadTimeUpdate extends ResourceUpdate {
|
|
37
37
|
}
|
38
38
|
declare class DeliveryLeadTimes extends ApiResource<DeliveryLeadTime> {
|
39
39
|
static readonly TYPE: DeliveryLeadTimeType;
|
40
|
-
list(params?: QueryParamsList, options?: ResourcesConfig): Promise<ListResponse<DeliveryLeadTime>>;
|
41
40
|
create(resource: DeliveryLeadTimeCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<DeliveryLeadTime>;
|
42
41
|
update(resource: DeliveryLeadTimeUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise<DeliveryLeadTime>;
|
43
42
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|