@commercelayer/sdk 2.3.8 → 2.3.12
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/api.d.ts +1 -1
- package/lib/cjs/api.js +1 -1
- package/lib/cjs/client.js +1 -1
- package/lib/cjs/commercelayer.js +1 -1
- package/lib/cjs/common.js +1 -1
- package/lib/cjs/config.d.ts +7 -3
- package/lib/cjs/config.js +1 -1
- package/lib/cjs/error.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/interceptor.js +1 -1
- package/lib/cjs/jsonapi.js +1 -1
- package/lib/cjs/model.d.ts +1 -1
- package/lib/cjs/model.js +1 -1
- package/lib/cjs/query.d.ts +0 -35
- package/lib/cjs/query.js +1 -1
- package/lib/cjs/resource.js +1 -1
- package/lib/cjs/resources/addresses.d.ts +1 -1
- package/lib/cjs/resources/addresses.js +1 -1
- package/lib/cjs/resources/adjustments.d.ts +1 -1
- package/lib/cjs/resources/adjustments.js +1 -1
- package/lib/cjs/resources/adyen_gateways.d.ts +1 -1
- package/lib/cjs/resources/adyen_gateways.js +1 -1
- package/lib/cjs/resources/adyen_payments.d.ts +1 -1
- package/lib/cjs/resources/adyen_payments.js +1 -1
- package/lib/cjs/resources/application.d.ts +1 -1
- package/lib/cjs/resources/application.js +1 -1
- package/lib/cjs/resources/attachments.d.ts +1 -1
- package/lib/cjs/resources/attachments.js +1 -1
- package/lib/cjs/resources/authorizations.d.ts +1 -1
- package/lib/cjs/resources/authorizations.js +1 -1
- package/lib/cjs/resources/avalara_accounts.d.ts +1 -1
- package/lib/cjs/resources/avalara_accounts.js +1 -1
- package/lib/cjs/resources/billing_info_validation_rules.d.ts +1 -1
- package/lib/cjs/resources/billing_info_validation_rules.js +1 -1
- package/lib/cjs/resources/bing_geocoders.d.ts +1 -1
- package/lib/cjs/resources/bing_geocoders.js +1 -1
- package/lib/cjs/resources/braintree_gateways.d.ts +1 -1
- package/lib/cjs/resources/braintree_gateways.js +1 -1
- package/lib/cjs/resources/braintree_payments.d.ts +1 -1
- package/lib/cjs/resources/braintree_payments.js +1 -1
- package/lib/cjs/resources/bundles.d.ts +1 -1
- package/lib/cjs/resources/bundles.js +1 -1
- package/lib/cjs/resources/captures.d.ts +1 -1
- package/lib/cjs/resources/captures.js +1 -1
- package/lib/cjs/resources/carrier_accounts.d.ts +1 -1
- package/lib/cjs/resources/carrier_accounts.js +1 -1
- package/lib/cjs/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/cjs/resources/checkout_com_gateways.js +1 -1
- package/lib/cjs/resources/checkout_com_payments.d.ts +1 -1
- package/lib/cjs/resources/checkout_com_payments.js +1 -1
- package/lib/cjs/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/cjs/resources/coupon_codes_promotion_rules.js +1 -1
- package/lib/cjs/resources/coupon_recipients.d.ts +1 -1
- package/lib/cjs/resources/coupon_recipients.js +1 -1
- package/lib/cjs/resources/coupons.d.ts +1 -1
- package/lib/cjs/resources/coupons.js +1 -1
- package/lib/cjs/resources/customer_addresses.d.ts +1 -1
- package/lib/cjs/resources/customer_addresses.js +1 -1
- package/lib/cjs/resources/customer_groups.d.ts +1 -1
- package/lib/cjs/resources/customer_groups.js +1 -1
- package/lib/cjs/resources/customer_password_resets.d.ts +1 -1
- package/lib/cjs/resources/customer_password_resets.js +1 -1
- package/lib/cjs/resources/customer_payment_sources.d.ts +1 -1
- package/lib/cjs/resources/customer_payment_sources.js +1 -1
- package/lib/cjs/resources/customer_subscriptions.d.ts +1 -1
- package/lib/cjs/resources/customer_subscriptions.js +1 -1
- package/lib/cjs/resources/customers.d.ts +1 -1
- package/lib/cjs/resources/customers.js +1 -1
- package/lib/cjs/resources/delivery_lead_times.d.ts +1 -1
- package/lib/cjs/resources/delivery_lead_times.js +1 -1
- package/lib/cjs/resources/event_callbacks.d.ts +1 -1
- package/lib/cjs/resources/event_callbacks.js +1 -1
- package/lib/cjs/resources/external_gateways.d.ts +1 -1
- package/lib/cjs/resources/external_gateways.js +1 -1
- package/lib/cjs/resources/external_payments.d.ts +1 -1
- package/lib/cjs/resources/external_payments.js +1 -1
- package/lib/cjs/resources/external_promotions.d.ts +1 -1
- package/lib/cjs/resources/external_promotions.js +1 -1
- package/lib/cjs/resources/external_tax_calculators.d.ts +1 -1
- package/lib/cjs/resources/external_tax_calculators.js +1 -1
- package/lib/cjs/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/cjs/resources/fixed_amount_promotions.js +1 -1
- package/lib/cjs/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/cjs/resources/fixed_price_promotions.js +1 -1
- package/lib/cjs/resources/free_gift_promotions.d.ts +1 -1
- package/lib/cjs/resources/free_gift_promotions.js +1 -1
- package/lib/cjs/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/cjs/resources/free_shipping_promotions.js +1 -1
- package/lib/cjs/resources/geocoders.d.ts +1 -1
- package/lib/cjs/resources/geocoders.js +1 -1
- package/lib/cjs/resources/gift_card_recipients.d.ts +1 -1
- package/lib/cjs/resources/gift_card_recipients.js +1 -1
- package/lib/cjs/resources/gift_cards.d.ts +1 -2
- package/lib/cjs/resources/gift_cards.js +1 -1
- package/lib/cjs/resources/google_geocoders.d.ts +1 -1
- package/lib/cjs/resources/google_geocoders.js +1 -1
- package/lib/cjs/resources/imports.d.ts +1 -1
- package/lib/cjs/resources/imports.js +1 -1
- package/lib/cjs/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/cjs/resources/in_stock_subscriptions.js +1 -1
- package/lib/cjs/resources/inventory_models.d.ts +1 -1
- package/lib/cjs/resources/inventory_models.js +1 -1
- package/lib/cjs/resources/inventory_return_locations.d.ts +1 -1
- package/lib/cjs/resources/inventory_return_locations.js +1 -1
- package/lib/cjs/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/cjs/resources/inventory_stock_locations.js +1 -1
- package/lib/cjs/resources/line_item_options.d.ts +1 -1
- package/lib/cjs/resources/line_item_options.js +1 -1
- package/lib/cjs/resources/line_items.d.ts +1 -1
- package/lib/cjs/resources/line_items.js +1 -1
- package/lib/cjs/resources/manual_gateways.d.ts +1 -1
- package/lib/cjs/resources/manual_gateways.js +1 -1
- package/lib/cjs/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/cjs/resources/manual_tax_calculators.js +1 -1
- package/lib/cjs/resources/markets.d.ts +1 -1
- package/lib/cjs/resources/markets.js +1 -1
- package/lib/cjs/resources/merchants.d.ts +1 -1
- package/lib/cjs/resources/merchants.js +1 -1
- package/lib/cjs/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/cjs/resources/order_amount_promotion_rules.js +1 -1
- package/lib/cjs/resources/order_copies.d.ts +1 -1
- package/lib/cjs/resources/order_copies.js +1 -1
- package/lib/cjs/resources/order_subscriptions.d.ts +2 -2
- package/lib/cjs/resources/order_subscriptions.js +1 -1
- package/lib/cjs/resources/order_validation_rules.d.ts +1 -1
- package/lib/cjs/resources/order_validation_rules.js +1 -1
- package/lib/cjs/resources/orders.d.ts +1 -1
- package/lib/cjs/resources/orders.js +1 -1
- package/lib/cjs/resources/organization.d.ts +3 -1
- package/lib/cjs/resources/organization.js +1 -1
- package/lib/cjs/resources/packages.d.ts +6 -6
- package/lib/cjs/resources/packages.js +1 -1
- package/lib/cjs/resources/parcel_line_items.d.ts +1 -1
- package/lib/cjs/resources/parcel_line_items.js +1 -1
- package/lib/cjs/resources/parcels.d.ts +1 -1
- package/lib/cjs/resources/parcels.js +1 -1
- package/lib/cjs/resources/payment_gateways.d.ts +1 -1
- package/lib/cjs/resources/payment_gateways.js +1 -1
- package/lib/cjs/resources/payment_methods.d.ts +1 -1
- package/lib/cjs/resources/payment_methods.js +1 -1
- package/lib/cjs/resources/paypal_gateways.d.ts +1 -1
- package/lib/cjs/resources/paypal_gateways.js +1 -1
- package/lib/cjs/resources/paypal_payments.d.ts +1 -1
- package/lib/cjs/resources/paypal_payments.js +1 -1
- package/lib/cjs/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/cjs/resources/percentage_discount_promotions.js +1 -1
- package/lib/cjs/resources/price_lists.d.ts +1 -1
- package/lib/cjs/resources/price_lists.js +1 -1
- package/lib/cjs/resources/prices.d.ts +1 -1
- package/lib/cjs/resources/prices.js +1 -1
- package/lib/cjs/resources/promotion_rules.d.ts +1 -1
- package/lib/cjs/resources/promotion_rules.js +1 -1
- package/lib/cjs/resources/promotions.d.ts +1 -1
- package/lib/cjs/resources/promotions.js +1 -1
- package/lib/cjs/resources/refunds.d.ts +1 -1
- package/lib/cjs/resources/refunds.js +1 -1
- package/lib/cjs/resources/return_line_items.d.ts +1 -1
- package/lib/cjs/resources/return_line_items.js +1 -1
- package/lib/cjs/resources/returns.d.ts +1 -1
- package/lib/cjs/resources/returns.js +1 -1
- package/lib/cjs/resources/shipments.d.ts +1 -1
- package/lib/cjs/resources/shipments.js +1 -1
- package/lib/cjs/resources/shipping_categories.d.ts +1 -1
- package/lib/cjs/resources/shipping_categories.js +1 -1
- package/lib/cjs/resources/shipping_methods.d.ts +1 -1
- package/lib/cjs/resources/shipping_methods.js +1 -1
- package/lib/cjs/resources/shipping_zones.d.ts +1 -1
- package/lib/cjs/resources/shipping_zones.js +1 -1
- package/lib/cjs/resources/sku_list_items.d.ts +1 -1
- package/lib/cjs/resources/sku_list_items.js +1 -1
- package/lib/cjs/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/cjs/resources/sku_list_promotion_rules.js +1 -1
- package/lib/cjs/resources/sku_lists.d.ts +1 -1
- package/lib/cjs/resources/sku_lists.js +1 -1
- package/lib/cjs/resources/sku_options.d.ts +1 -1
- package/lib/cjs/resources/sku_options.js +1 -1
- package/lib/cjs/resources/skus.d.ts +1 -1
- package/lib/cjs/resources/skus.js +1 -1
- package/lib/cjs/resources/stock_items.d.ts +1 -1
- package/lib/cjs/resources/stock_items.js +1 -1
- package/lib/cjs/resources/stock_line_items.d.ts +1 -1
- package/lib/cjs/resources/stock_line_items.js +1 -1
- package/lib/cjs/resources/stock_locations.d.ts +1 -1
- package/lib/cjs/resources/stock_locations.js +1 -1
- package/lib/cjs/resources/stock_transfers.d.ts +1 -1
- package/lib/cjs/resources/stock_transfers.js +1 -1
- package/lib/cjs/resources/stripe_gateways.d.ts +1 -1
- package/lib/cjs/resources/stripe_gateways.js +1 -1
- package/lib/cjs/resources/stripe_payments.d.ts +1 -1
- package/lib/cjs/resources/stripe_payments.js +1 -1
- package/lib/cjs/resources/tax_calculators.d.ts +1 -1
- package/lib/cjs/resources/tax_calculators.js +1 -1
- package/lib/cjs/resources/tax_categories.d.ts +1 -1
- package/lib/cjs/resources/tax_categories.js +1 -1
- package/lib/cjs/resources/tax_rules.d.ts +1 -1
- package/lib/cjs/resources/tax_rules.js +1 -1
- package/lib/cjs/resources/taxjar_accounts.d.ts +1 -1
- package/lib/cjs/resources/taxjar_accounts.js +1 -1
- package/lib/cjs/resources/transactions.d.ts +1 -1
- package/lib/cjs/resources/transactions.js +1 -1
- package/lib/cjs/resources/voids.d.ts +1 -1
- package/lib/cjs/resources/voids.js +1 -1
- package/lib/cjs/resources/webhooks.d.ts +1 -1
- package/lib/cjs/resources/webhooks.js +1 -1
- package/lib/cjs/resources/wire_transfers.d.ts +1 -1
- package/lib/cjs/resources/wire_transfers.js +1 -1
- package/lib/cjs/static.js +1 -1
- package/lib/cjs/util.js +1 -1
- package/lib/esm/api.d.ts +1 -1
- package/lib/esm/client.js +1 -1
- package/lib/esm/commercelayer.js +1 -1
- package/lib/esm/common.js +1 -1
- package/lib/esm/config.d.ts +7 -3
- package/lib/esm/config.js +1 -1
- package/lib/esm/error.js +1 -1
- package/lib/esm/jsonapi.js +1 -1
- package/lib/esm/model.d.ts +1 -1
- package/lib/esm/query.d.ts +0 -35
- package/lib/esm/query.js +1 -1
- package/lib/esm/resource.js +1 -1
- package/lib/esm/resources/addresses.d.ts +1 -1
- package/lib/esm/resources/addresses.js +1 -1
- package/lib/esm/resources/adjustments.d.ts +1 -1
- package/lib/esm/resources/adjustments.js +1 -1
- package/lib/esm/resources/adyen_gateways.d.ts +1 -1
- package/lib/esm/resources/adyen_gateways.js +1 -1
- package/lib/esm/resources/adyen_payments.d.ts +1 -1
- package/lib/esm/resources/adyen_payments.js +1 -1
- package/lib/esm/resources/application.d.ts +1 -1
- package/lib/esm/resources/application.js +1 -1
- package/lib/esm/resources/attachments.d.ts +1 -1
- package/lib/esm/resources/attachments.js +1 -1
- package/lib/esm/resources/authorizations.d.ts +1 -1
- package/lib/esm/resources/authorizations.js +1 -1
- package/lib/esm/resources/avalara_accounts.d.ts +1 -1
- package/lib/esm/resources/avalara_accounts.js +1 -1
- package/lib/esm/resources/billing_info_validation_rules.d.ts +1 -1
- package/lib/esm/resources/billing_info_validation_rules.js +1 -1
- package/lib/esm/resources/bing_geocoders.d.ts +1 -1
- package/lib/esm/resources/bing_geocoders.js +1 -1
- package/lib/esm/resources/braintree_gateways.d.ts +1 -1
- package/lib/esm/resources/braintree_gateways.js +1 -1
- package/lib/esm/resources/braintree_payments.d.ts +1 -1
- package/lib/esm/resources/braintree_payments.js +1 -1
- package/lib/esm/resources/bundles.d.ts +1 -1
- package/lib/esm/resources/bundles.js +1 -1
- package/lib/esm/resources/captures.d.ts +1 -1
- package/lib/esm/resources/captures.js +1 -1
- package/lib/esm/resources/carrier_accounts.d.ts +1 -1
- package/lib/esm/resources/carrier_accounts.js +1 -1
- package/lib/esm/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/esm/resources/checkout_com_gateways.js +1 -1
- package/lib/esm/resources/checkout_com_payments.d.ts +1 -1
- package/lib/esm/resources/checkout_com_payments.js +1 -1
- package/lib/esm/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/esm/resources/coupon_codes_promotion_rules.js +1 -1
- package/lib/esm/resources/coupon_recipients.d.ts +1 -1
- package/lib/esm/resources/coupon_recipients.js +1 -1
- package/lib/esm/resources/coupons.d.ts +1 -1
- package/lib/esm/resources/coupons.js +1 -1
- package/lib/esm/resources/customer_addresses.d.ts +1 -1
- package/lib/esm/resources/customer_addresses.js +1 -1
- package/lib/esm/resources/customer_groups.d.ts +1 -1
- package/lib/esm/resources/customer_groups.js +1 -1
- package/lib/esm/resources/customer_password_resets.d.ts +1 -1
- package/lib/esm/resources/customer_password_resets.js +1 -1
- package/lib/esm/resources/customer_payment_sources.d.ts +1 -1
- package/lib/esm/resources/customer_payment_sources.js +1 -1
- package/lib/esm/resources/customer_subscriptions.d.ts +1 -1
- package/lib/esm/resources/customer_subscriptions.js +1 -1
- package/lib/esm/resources/customers.d.ts +1 -1
- package/lib/esm/resources/customers.js +1 -1
- package/lib/esm/resources/delivery_lead_times.d.ts +1 -1
- package/lib/esm/resources/delivery_lead_times.js +1 -1
- package/lib/esm/resources/event_callbacks.d.ts +1 -1
- package/lib/esm/resources/event_callbacks.js +1 -1
- package/lib/esm/resources/external_gateways.d.ts +1 -1
- package/lib/esm/resources/external_gateways.js +1 -1
- package/lib/esm/resources/external_payments.d.ts +1 -1
- package/lib/esm/resources/external_payments.js +1 -1
- package/lib/esm/resources/external_promotions.d.ts +1 -1
- package/lib/esm/resources/external_promotions.js +1 -1
- package/lib/esm/resources/external_tax_calculators.d.ts +1 -1
- package/lib/esm/resources/external_tax_calculators.js +1 -1
- package/lib/esm/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/esm/resources/fixed_amount_promotions.js +1 -1
- package/lib/esm/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/esm/resources/fixed_price_promotions.js +1 -1
- package/lib/esm/resources/free_gift_promotions.d.ts +1 -1
- package/lib/esm/resources/free_gift_promotions.js +1 -1
- package/lib/esm/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/esm/resources/free_shipping_promotions.js +1 -1
- package/lib/esm/resources/geocoders.d.ts +1 -1
- package/lib/esm/resources/geocoders.js +1 -1
- package/lib/esm/resources/gift_card_recipients.d.ts +1 -1
- package/lib/esm/resources/gift_card_recipients.js +1 -1
- package/lib/esm/resources/gift_cards.d.ts +1 -2
- package/lib/esm/resources/gift_cards.js +1 -1
- package/lib/esm/resources/google_geocoders.d.ts +1 -1
- package/lib/esm/resources/google_geocoders.js +1 -1
- package/lib/esm/resources/imports.d.ts +1 -1
- package/lib/esm/resources/imports.js +1 -1
- package/lib/esm/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/esm/resources/in_stock_subscriptions.js +1 -1
- package/lib/esm/resources/inventory_models.d.ts +1 -1
- package/lib/esm/resources/inventory_models.js +1 -1
- package/lib/esm/resources/inventory_return_locations.d.ts +1 -1
- package/lib/esm/resources/inventory_return_locations.js +1 -1
- package/lib/esm/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/esm/resources/inventory_stock_locations.js +1 -1
- package/lib/esm/resources/line_item_options.d.ts +1 -1
- package/lib/esm/resources/line_item_options.js +1 -1
- package/lib/esm/resources/line_items.d.ts +1 -1
- package/lib/esm/resources/line_items.js +1 -1
- package/lib/esm/resources/manual_gateways.d.ts +1 -1
- package/lib/esm/resources/manual_gateways.js +1 -1
- package/lib/esm/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/esm/resources/manual_tax_calculators.js +1 -1
- package/lib/esm/resources/markets.d.ts +1 -1
- package/lib/esm/resources/markets.js +1 -1
- package/lib/esm/resources/merchants.d.ts +1 -1
- package/lib/esm/resources/merchants.js +1 -1
- package/lib/esm/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/esm/resources/order_amount_promotion_rules.js +1 -1
- package/lib/esm/resources/order_copies.d.ts +1 -1
- package/lib/esm/resources/order_copies.js +1 -1
- package/lib/esm/resources/order_subscriptions.d.ts +2 -2
- package/lib/esm/resources/order_subscriptions.js +1 -1
- package/lib/esm/resources/order_validation_rules.d.ts +1 -1
- package/lib/esm/resources/order_validation_rules.js +1 -1
- package/lib/esm/resources/orders.d.ts +1 -1
- package/lib/esm/resources/orders.js +1 -1
- package/lib/esm/resources/organization.d.ts +3 -1
- package/lib/esm/resources/organization.js +1 -1
- package/lib/esm/resources/packages.d.ts +6 -6
- package/lib/esm/resources/packages.js +1 -1
- package/lib/esm/resources/parcel_line_items.d.ts +1 -1
- package/lib/esm/resources/parcel_line_items.js +1 -1
- package/lib/esm/resources/parcels.d.ts +1 -1
- package/lib/esm/resources/parcels.js +1 -1
- package/lib/esm/resources/payment_gateways.d.ts +1 -1
- package/lib/esm/resources/payment_gateways.js +1 -1
- package/lib/esm/resources/payment_methods.d.ts +1 -1
- package/lib/esm/resources/payment_methods.js +1 -1
- package/lib/esm/resources/paypal_gateways.d.ts +1 -1
- package/lib/esm/resources/paypal_gateways.js +1 -1
- package/lib/esm/resources/paypal_payments.d.ts +1 -1
- package/lib/esm/resources/paypal_payments.js +1 -1
- package/lib/esm/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/esm/resources/percentage_discount_promotions.js +1 -1
- package/lib/esm/resources/price_lists.d.ts +1 -1
- package/lib/esm/resources/price_lists.js +1 -1
- package/lib/esm/resources/prices.d.ts +1 -1
- package/lib/esm/resources/prices.js +1 -1
- package/lib/esm/resources/promotion_rules.d.ts +1 -1
- package/lib/esm/resources/promotion_rules.js +1 -1
- package/lib/esm/resources/promotions.d.ts +1 -1
- package/lib/esm/resources/promotions.js +1 -1
- package/lib/esm/resources/refunds.d.ts +1 -1
- package/lib/esm/resources/refunds.js +1 -1
- package/lib/esm/resources/return_line_items.d.ts +1 -1
- package/lib/esm/resources/return_line_items.js +1 -1
- package/lib/esm/resources/returns.d.ts +1 -1
- package/lib/esm/resources/returns.js +1 -1
- package/lib/esm/resources/shipments.d.ts +1 -1
- package/lib/esm/resources/shipments.js +1 -1
- package/lib/esm/resources/shipping_categories.d.ts +1 -1
- package/lib/esm/resources/shipping_categories.js +1 -1
- package/lib/esm/resources/shipping_methods.d.ts +1 -1
- package/lib/esm/resources/shipping_methods.js +1 -1
- package/lib/esm/resources/shipping_zones.d.ts +1 -1
- package/lib/esm/resources/shipping_zones.js +1 -1
- package/lib/esm/resources/sku_list_items.d.ts +1 -1
- package/lib/esm/resources/sku_list_items.js +1 -1
- package/lib/esm/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/esm/resources/sku_list_promotion_rules.js +1 -1
- package/lib/esm/resources/sku_lists.d.ts +1 -1
- package/lib/esm/resources/sku_lists.js +1 -1
- package/lib/esm/resources/sku_options.d.ts +1 -1
- package/lib/esm/resources/sku_options.js +1 -1
- package/lib/esm/resources/skus.d.ts +1 -1
- package/lib/esm/resources/skus.js +1 -1
- package/lib/esm/resources/stock_items.d.ts +1 -1
- package/lib/esm/resources/stock_items.js +1 -1
- package/lib/esm/resources/stock_line_items.d.ts +1 -1
- package/lib/esm/resources/stock_line_items.js +1 -1
- package/lib/esm/resources/stock_locations.d.ts +1 -1
- package/lib/esm/resources/stock_locations.js +1 -1
- package/lib/esm/resources/stock_transfers.d.ts +1 -1
- package/lib/esm/resources/stock_transfers.js +1 -1
- package/lib/esm/resources/stripe_gateways.d.ts +1 -1
- package/lib/esm/resources/stripe_gateways.js +1 -1
- package/lib/esm/resources/stripe_payments.d.ts +1 -1
- package/lib/esm/resources/stripe_payments.js +1 -1
- package/lib/esm/resources/tax_calculators.d.ts +1 -1
- package/lib/esm/resources/tax_calculators.js +1 -1
- package/lib/esm/resources/tax_categories.d.ts +1 -1
- package/lib/esm/resources/tax_categories.js +1 -1
- package/lib/esm/resources/tax_rules.d.ts +1 -1
- package/lib/esm/resources/tax_rules.js +1 -1
- package/lib/esm/resources/taxjar_accounts.d.ts +1 -1
- package/lib/esm/resources/taxjar_accounts.js +1 -1
- package/lib/esm/resources/transactions.d.ts +1 -1
- package/lib/esm/resources/transactions.js +1 -1
- package/lib/esm/resources/voids.d.ts +1 -1
- package/lib/esm/resources/voids.js +1 -1
- package/lib/esm/resources/webhooks.d.ts +1 -1
- package/lib/esm/resources/webhooks.js +1 -1
- package/lib/esm/resources/wire_transfers.d.ts +1 -1
- package/lib/esm/resources/wire_transfers.js +1 -1
- package/lib/esm/static.js +1 -1
- package/lib/esm/util.js +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -3
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class BraintreeGateways extends resource_1.ApiResource{async list(e,s){return this.resources.list({type:BraintreeGateways.TYPE},e,s)}async create(e,s,t){return this.resources.create(Object.assign(Object.assign({},e),{type:BraintreeGateways.TYPE}),s,t)}async retrieve(e,s,t){return this.resources.retrieve({type:BraintreeGateways.TYPE,id:e},s,t)}async update(e,s,t){return this.resources.update(Object.assign(Object.assign({},e),{type:BraintreeGateways.TYPE}),s,t)}async delete(e,s){await this.resources.delete({type:BraintreeGateways.TYPE,id:e},s)}isBraintreeGateway(e){return e.type&&e.type===BraintreeGateways.TYPE}relationship(e){return typeof e=="string"?{id:e,type:BraintreeGateways.TYPE}:{id:e.id,type:BraintreeGateways.TYPE}}type(){return BraintreeGateways.TYPE}}BraintreeGateways.TYPE="braintree_gateways",exports.default=BraintreeGateways;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class BraintreePayments extends resource_1.ApiResource{async list(e,s){return this.resources.list({type:BraintreePayments.TYPE},e,s)}async create(e,s,t){return this.resources.create(Object.assign(Object.assign({},e),{type:BraintreePayments.TYPE}),s,t)}async retrieve(e,s,t){return this.resources.retrieve({type:BraintreePayments.TYPE,id:e},s,t)}async update(e,s,t){return this.resources.update(Object.assign(Object.assign({},e),{type:BraintreePayments.TYPE}),s,t)}async delete(e,s){await this.resources.delete({type:BraintreePayments.TYPE,id:e},s)}isBraintreePayment(e){return e.type&&e.type===BraintreePayments.TYPE}relationship(e){return typeof e=="string"?{id:e,type:BraintreePayments.TYPE}:{id:e.id,type:BraintreePayments.TYPE}}type(){return BraintreePayments.TYPE}}BraintreePayments.TYPE="braintree_payments",exports.default=BraintreePayments;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class Bundles extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:Bundles.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:Bundles.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:Bundles.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:Bundles.TYPE}),t,r)}async delete(e,t){await this.resources.delete({type:Bundles.TYPE,id:e},t)}isBundle(e){return e.type&&e.type===Bundles.TYPE}relationship(e){return typeof e=="string"?{id:e,type:Bundles.TYPE}:{id:e.id,type:Bundles.TYPE}}type(){return Bundles.TYPE}}Bundles.TYPE="bundles",exports.default=Bundles;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class Captures extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:Captures.TYPE},e,t)}async retrieve(e,t,r){return this.resources.retrieve({type:Captures.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:Captures.TYPE}),t,r)}isCapture(e){return e.type&&e.type===Captures.TYPE}relationship(e){return typeof e=="string"?{id:e,type:Captures.TYPE}:{id:e.id,type:Captures.TYPE}}type(){return Captures.TYPE}}Captures.TYPE="captures",exports.default=Captures;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class CarrierAccounts extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:CarrierAccounts.TYPE},e,t)}async retrieve(e,t,r){return this.resources.retrieve({type:CarrierAccounts.TYPE,id:e},t,r)}isCarrierAccount(e){return e.type&&e.type===CarrierAccounts.TYPE}relationship(e){return typeof e=="string"?{id:e,type:CarrierAccounts.TYPE}:{id:e.id,type:CarrierAccounts.TYPE}}type(){return CarrierAccounts.TYPE}}CarrierAccounts.TYPE="carrier_accounts",exports.default=CarrierAccounts;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class CheckoutComGateways extends resource_1.ApiResource{async list(e,r){return this.resources.list({type:CheckoutComGateways.TYPE},e,r)}async create(e,r,s){return this.resources.create(Object.assign(Object.assign({},e),{type:CheckoutComGateways.TYPE}),r,s)}async retrieve(e,r,s){return this.resources.retrieve({type:CheckoutComGateways.TYPE,id:e},r,s)}async update(e,r,s){return this.resources.update(Object.assign(Object.assign({},e),{type:CheckoutComGateways.TYPE}),r,s)}async delete(e,r){await this.resources.delete({type:CheckoutComGateways.TYPE,id:e},r)}isCheckoutComGateway(e){return e.type&&e.type===CheckoutComGateways.TYPE}relationship(e){return typeof e=="string"?{id:e,type:CheckoutComGateways.TYPE}:{id:e.id,type:CheckoutComGateways.TYPE}}type(){return CheckoutComGateways.TYPE}}CheckoutComGateways.TYPE="checkout_com_gateways",exports.default=CheckoutComGateways;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class CheckoutComPayments extends resource_1.ApiResource{async list(e,r){return this.resources.list({type:CheckoutComPayments.TYPE},e,r)}async create(e,r,s){return this.resources.create(Object.assign(Object.assign({},e),{type:CheckoutComPayments.TYPE}),r,s)}async retrieve(e,r,s){return this.resources.retrieve({type:CheckoutComPayments.TYPE,id:e},r,s)}async update(e,r,s){return this.resources.update(Object.assign(Object.assign({},e),{type:CheckoutComPayments.TYPE}),r,s)}async delete(e,r){await this.resources.delete({type:CheckoutComPayments.TYPE,id:e},r)}isCheckoutComPayment(e){return e.type&&e.type===CheckoutComPayments.TYPE}relationship(e){return typeof e=="string"?{id:e,type:CheckoutComPayments.TYPE}:{id:e.id,type:CheckoutComPayments.TYPE}}type(){return CheckoutComPayments.TYPE}}CheckoutComPayments.TYPE="checkout_com_payments",exports.default=CheckoutComPayments;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class CouponCodesPromotionRules extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:CouponCodesPromotionRules.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:CouponCodesPromotionRules.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:CouponCodesPromotionRules.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:CouponCodesPromotionRules.TYPE}),t,r)}async delete(e,t){await this.resources.delete({type:CouponCodesPromotionRules.TYPE,id:e},t)}isCouponCodesPromotionRule(e){return e.type&&e.type===CouponCodesPromotionRules.TYPE}relationship(e){return typeof e=="string"?{id:e,type:CouponCodesPromotionRules.TYPE}:{id:e.id,type:CouponCodesPromotionRules.TYPE}}type(){return CouponCodesPromotionRules.TYPE}}CouponCodesPromotionRules.TYPE="coupon_codes_promotion_rules",exports.default=CouponCodesPromotionRules;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class CouponRecipients extends resource_1.ApiResource{async list(e,r){return this.resources.list({type:CouponRecipients.TYPE},e,r)}async create(e,r,t){return this.resources.create(Object.assign(Object.assign({},e),{type:CouponRecipients.TYPE}),r,t)}async retrieve(e,r,t){return this.resources.retrieve({type:CouponRecipients.TYPE,id:e},r,t)}async update(e,r,t){return this.resources.update(Object.assign(Object.assign({},e),{type:CouponRecipients.TYPE}),r,t)}async delete(e,r){await this.resources.delete({type:CouponRecipients.TYPE,id:e},r)}isCouponRecipient(e){return e.type&&e.type===CouponRecipients.TYPE}relationship(e){return typeof e=="string"?{id:e,type:CouponRecipients.TYPE}:{id:e.id,type:CouponRecipients.TYPE}}type(){return CouponRecipients.TYPE}}CouponRecipients.TYPE="coupon_recipients",exports.default=CouponRecipients;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class Coupons extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:Coupons.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:Coupons.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:Coupons.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:Coupons.TYPE}),t,r)}async delete(e,t){await this.resources.delete({type:Coupons.TYPE,id:e},t)}isCoupon(e){return e.type&&e.type===Coupons.TYPE}relationship(e){return typeof e=="string"?{id:e,type:Coupons.TYPE}:{id:e.id,type:Coupons.TYPE}}type(){return Coupons.TYPE}}Coupons.TYPE="coupons",exports.default=Coupons;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class CustomerAddresses extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:CustomerAddresses.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:CustomerAddresses.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:CustomerAddresses.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:CustomerAddresses.TYPE}),t,r)}async delete(e,t){await this.resources.delete({type:CustomerAddresses.TYPE,id:e},t)}isCustomerAddress(e){return e.type&&e.type===CustomerAddresses.TYPE}relationship(e){return typeof e=="string"?{id:e,type:CustomerAddresses.TYPE}:{id:e.id,type:CustomerAddresses.TYPE}}type(){return CustomerAddresses.TYPE}}CustomerAddresses.TYPE="customer_addresses",exports.default=CustomerAddresses;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class CustomerGroups extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:CustomerGroups.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:CustomerGroups.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:CustomerGroups.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:CustomerGroups.TYPE}),t,r)}async delete(e,t){await this.resources.delete({type:CustomerGroups.TYPE,id:e},t)}isCustomerGroup(e){return e.type&&e.type===CustomerGroups.TYPE}relationship(e){return typeof e=="string"?{id:e,type:CustomerGroups.TYPE}:{id:e.id,type:CustomerGroups.TYPE}}type(){return CustomerGroups.TYPE}}CustomerGroups.TYPE="customer_groups",exports.default=CustomerGroups;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class CustomerPasswordResets extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:CustomerPasswordResets.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:CustomerPasswordResets.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:CustomerPasswordResets.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:CustomerPasswordResets.TYPE}),t,r)}async delete(e,t){await this.resources.delete({type:CustomerPasswordResets.TYPE,id:e},t)}isCustomerPasswordReset(e){return e.type&&e.type===CustomerPasswordResets.TYPE}relationship(e){return typeof e=="string"?{id:e,type:CustomerPasswordResets.TYPE}:{id:e.id,type:CustomerPasswordResets.TYPE}}type(){return CustomerPasswordResets.TYPE}}CustomerPasswordResets.TYPE="customer_password_resets",exports.default=CustomerPasswordResets;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class CustomerPaymentSources extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:CustomerPaymentSources.TYPE},e,t)}async create(e,t,s){return this.resources.create(Object.assign(Object.assign({},e),{type:CustomerPaymentSources.TYPE}),t,s)}async retrieve(e,t,s){return this.resources.retrieve({type:CustomerPaymentSources.TYPE,id:e},t,s)}async update(e,t,s){return this.resources.update(Object.assign(Object.assign({},e),{type:CustomerPaymentSources.TYPE}),t,s)}async delete(e,t){await this.resources.delete({type:CustomerPaymentSources.TYPE,id:e},t)}isCustomerPaymentSource(e){return e.type&&e.type===CustomerPaymentSources.TYPE}relationship(e){return typeof e=="string"?{id:e,type:CustomerPaymentSources.TYPE}:{id:e.id,type:CustomerPaymentSources.TYPE}}type(){return CustomerPaymentSources.TYPE}}CustomerPaymentSources.TYPE="customer_payment_sources",exports.default=CustomerPaymentSources;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class CustomerSubscriptions extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:CustomerSubscriptions.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:CustomerSubscriptions.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:CustomerSubscriptions.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:CustomerSubscriptions.TYPE}),t,r)}async delete(e,t){await this.resources.delete({type:CustomerSubscriptions.TYPE,id:e},t)}isCustomerSubscription(e){return e.type&&e.type===CustomerSubscriptions.TYPE}relationship(e){return typeof e=="string"?{id:e,type:CustomerSubscriptions.TYPE}:{id:e.id,type:CustomerSubscriptions.TYPE}}type(){return CustomerSubscriptions.TYPE}}CustomerSubscriptions.TYPE="customer_subscriptions",exports.default=CustomerSubscriptions;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class Customers extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:Customers.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:Customers.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:Customers.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:Customers.TYPE}),t,r)}async delete(e,t){await this.resources.delete({type:Customers.TYPE,id:e},t)}isCustomer(e){return e.type&&e.type===Customers.TYPE}relationship(e){return typeof e=="string"?{id:e,type:Customers.TYPE}:{id:e.id,type:Customers.TYPE}}type(){return Customers.TYPE}}Customers.TYPE="customers",exports.default=Customers;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class DeliveryLeadTimes extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:DeliveryLeadTimes.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:DeliveryLeadTimes.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:DeliveryLeadTimes.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:DeliveryLeadTimes.TYPE}),t,r)}async delete(e,t){await this.resources.delete({type:DeliveryLeadTimes.TYPE,id:e},t)}isDeliveryLeadTime(e){return e.type&&e.type===DeliveryLeadTimes.TYPE}relationship(e){return typeof e=="string"?{id:e,type:DeliveryLeadTimes.TYPE}:{id:e.id,type:DeliveryLeadTimes.TYPE}}type(){return DeliveryLeadTimes.TYPE}}DeliveryLeadTimes.TYPE="delivery_lead_times",exports.default=DeliveryLeadTimes;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class EventCallbacks extends resource_1.ApiResource{async list(e,r){return this.resources.list({type:EventCallbacks.TYPE},e,r)}async retrieve(e,r,t){return this.resources.retrieve({type:EventCallbacks.TYPE,id:e},r,t)}isEventCallback(e){return e.type&&e.type===EventCallbacks.TYPE}relationship(e){return typeof e=="string"?{id:e,type:EventCallbacks.TYPE}:{id:e.id,type:EventCallbacks.TYPE}}type(){return EventCallbacks.TYPE}}EventCallbacks.TYPE="event_callbacks",exports.default=EventCallbacks;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class ExternalGateways extends resource_1.ApiResource{async list(e,r){return this.resources.list({type:ExternalGateways.TYPE},e,r)}async create(e,r,s){return this.resources.create(Object.assign(Object.assign({},e),{type:ExternalGateways.TYPE}),r,s)}async retrieve(e,r,s){return this.resources.retrieve({type:ExternalGateways.TYPE,id:e},r,s)}async update(e,r,s){return this.resources.update(Object.assign(Object.assign({},e),{type:ExternalGateways.TYPE}),r,s)}async delete(e,r){await this.resources.delete({type:ExternalGateways.TYPE,id:e},r)}isExternalGateway(e){return e.type&&e.type===ExternalGateways.TYPE}relationship(e){return typeof e=="string"?{id:e,type:ExternalGateways.TYPE}:{id:e.id,type:ExternalGateways.TYPE}}type(){return ExternalGateways.TYPE}}ExternalGateways.TYPE="external_gateways",exports.default=ExternalGateways;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class ExternalPayments extends resource_1.ApiResource{async list(e,r){return this.resources.list({type:ExternalPayments.TYPE},e,r)}async create(e,r,s){return this.resources.create(Object.assign(Object.assign({},e),{type:ExternalPayments.TYPE}),r,s)}async retrieve(e,r,s){return this.resources.retrieve({type:ExternalPayments.TYPE,id:e},r,s)}async update(e,r,s){return this.resources.update(Object.assign(Object.assign({},e),{type:ExternalPayments.TYPE}),r,s)}async delete(e,r){await this.resources.delete({type:ExternalPayments.TYPE,id:e},r)}isExternalPayment(e){return e.type&&e.type===ExternalPayments.TYPE}relationship(e){return typeof e=="string"?{id:e,type:ExternalPayments.TYPE}:{id:e.id,type:ExternalPayments.TYPE}}type(){return ExternalPayments.TYPE}}ExternalPayments.TYPE="external_payments",exports.default=ExternalPayments;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class ExternalPromotions extends resource_1.ApiResource{async list(e,s){return this.resources.list({type:ExternalPromotions.TYPE},e,s)}async create(e,s,t){return this.resources.create(Object.assign(Object.assign({},e),{type:ExternalPromotions.TYPE}),s,t)}async retrieve(e,s,t){return this.resources.retrieve({type:ExternalPromotions.TYPE,id:e},s,t)}async update(e,s,t){return this.resources.update(Object.assign(Object.assign({},e),{type:ExternalPromotions.TYPE}),s,t)}async delete(e,s){await this.resources.delete({type:ExternalPromotions.TYPE,id:e},s)}isExternalPromotion(e){return e.type&&e.type===ExternalPromotions.TYPE}relationship(e){return typeof e=="string"?{id:e,type:ExternalPromotions.TYPE}:{id:e.id,type:ExternalPromotions.TYPE}}type(){return ExternalPromotions.TYPE}}ExternalPromotions.TYPE="external_promotions",exports.default=ExternalPromotions;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class ExternalTaxCalculators extends resource_1.ApiResource{async list(e,s){return this.resources.list({type:ExternalTaxCalculators.TYPE},e,s)}async create(e,s,t){return this.resources.create(Object.assign(Object.assign({},e),{type:ExternalTaxCalculators.TYPE}),s,t)}async retrieve(e,s,t){return this.resources.retrieve({type:ExternalTaxCalculators.TYPE,id:e},s,t)}async update(e,s,t){return this.resources.update(Object.assign(Object.assign({},e),{type:ExternalTaxCalculators.TYPE}),s,t)}async delete(e,s){await this.resources.delete({type:ExternalTaxCalculators.TYPE,id:e},s)}isExternalTaxCalculator(e){return e.type&&e.type===ExternalTaxCalculators.TYPE}relationship(e){return typeof e=="string"?{id:e,type:ExternalTaxCalculators.TYPE}:{id:e.id,type:ExternalTaxCalculators.TYPE}}type(){return ExternalTaxCalculators.TYPE}}ExternalTaxCalculators.TYPE="external_tax_calculators",exports.default=ExternalTaxCalculators;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class FixedAmountPromotions extends resource_1.ApiResource{async list(e,r){return this.resources.list({type:FixedAmountPromotions.TYPE},e,r)}async create(e,r,s){return this.resources.create(Object.assign(Object.assign({},e),{type:FixedAmountPromotions.TYPE}),r,s)}async retrieve(e,r,s){return this.resources.retrieve({type:FixedAmountPromotions.TYPE,id:e},r,s)}async update(e,r,s){return this.resources.update(Object.assign(Object.assign({},e),{type:FixedAmountPromotions.TYPE}),r,s)}async delete(e,r){await this.resources.delete({type:FixedAmountPromotions.TYPE,id:e},r)}isFixedAmountPromotion(e){return e.type&&e.type===FixedAmountPromotions.TYPE}relationship(e){return typeof e=="string"?{id:e,type:FixedAmountPromotions.TYPE}:{id:e.id,type:FixedAmountPromotions.TYPE}}type(){return FixedAmountPromotions.TYPE}}FixedAmountPromotions.TYPE="fixed_amount_promotions",exports.default=FixedAmountPromotions;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class FixedPricePromotions extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:FixedPricePromotions.TYPE},e,t)}async create(e,t,s){return this.resources.create(Object.assign(Object.assign({},e),{type:FixedPricePromotions.TYPE}),t,s)}async retrieve(e,t,s){return this.resources.retrieve({type:FixedPricePromotions.TYPE,id:e},t,s)}async update(e,t,s){return this.resources.update(Object.assign(Object.assign({},e),{type:FixedPricePromotions.TYPE}),t,s)}async delete(e,t){await this.resources.delete({type:FixedPricePromotions.TYPE,id:e},t)}isFixedPricePromotion(e){return e.type&&e.type===FixedPricePromotions.TYPE}relationship(e){return typeof e=="string"?{id:e,type:FixedPricePromotions.TYPE}:{id:e.id,type:FixedPricePromotions.TYPE}}type(){return FixedPricePromotions.TYPE}}FixedPricePromotions.TYPE="fixed_price_promotions",exports.default=FixedPricePromotions;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class FreeGiftPromotions extends resource_1.ApiResource{async list(e,s){return this.resources.list({type:FreeGiftPromotions.TYPE},e,s)}async create(e,s,t){return this.resources.create(Object.assign(Object.assign({},e),{type:FreeGiftPromotions.TYPE}),s,t)}async retrieve(e,s,t){return this.resources.retrieve({type:FreeGiftPromotions.TYPE,id:e},s,t)}async update(e,s,t){return this.resources.update(Object.assign(Object.assign({},e),{type:FreeGiftPromotions.TYPE}),s,t)}async delete(e,s){await this.resources.delete({type:FreeGiftPromotions.TYPE,id:e},s)}isFreeGiftPromotion(e){return e.type&&e.type===FreeGiftPromotions.TYPE}relationship(e){return typeof e=="string"?{id:e,type:FreeGiftPromotions.TYPE}:{id:e.id,type:FreeGiftPromotions.TYPE}}type(){return FreeGiftPromotions.TYPE}}FreeGiftPromotions.TYPE="free_gift_promotions",exports.default=FreeGiftPromotions;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class FreeShippingPromotions extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:FreeShippingPromotions.TYPE},e,t)}async create(e,t,s){return this.resources.create(Object.assign(Object.assign({},e),{type:FreeShippingPromotions.TYPE}),t,s)}async retrieve(e,t,s){return this.resources.retrieve({type:FreeShippingPromotions.TYPE,id:e},t,s)}async update(e,t,s){return this.resources.update(Object.assign(Object.assign({},e),{type:FreeShippingPromotions.TYPE}),t,s)}async delete(e,t){await this.resources.delete({type:FreeShippingPromotions.TYPE,id:e},t)}isFreeShippingPromotion(e){return e.type&&e.type===FreeShippingPromotions.TYPE}relationship(e){return typeof e=="string"?{id:e,type:FreeShippingPromotions.TYPE}:{id:e.id,type:FreeShippingPromotions.TYPE}}type(){return FreeShippingPromotions.TYPE}}FreeShippingPromotions.TYPE="free_shipping_promotions",exports.default=FreeShippingPromotions;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class Geocoders extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:Geocoders.TYPE},e,t)}isGeocoder(e){return e.type&&e.type===Geocoders.TYPE}relationship(e){return typeof e=="string"?{id:e,type:Geocoders.TYPE}:{id:e.id,type:Geocoders.TYPE}}type(){return Geocoders.TYPE}}Geocoders.TYPE="geocoders",exports.default=Geocoders;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class GiftCardRecipients extends resource_1.ApiResource{async list(e,r){return this.resources.list({type:GiftCardRecipients.TYPE},e,r)}async create(e,r,s){return this.resources.create(Object.assign(Object.assign({},e),{type:GiftCardRecipients.TYPE}),r,s)}async retrieve(e,r,s){return this.resources.retrieve({type:GiftCardRecipients.TYPE,id:e},r,s)}async update(e,r,s){return this.resources.update(Object.assign(Object.assign({},e),{type:GiftCardRecipients.TYPE}),r,s)}async delete(e,r){await this.resources.delete({type:GiftCardRecipients.TYPE,id:e},r)}isGiftCardRecipient(e){return e.type&&e.type===GiftCardRecipients.TYPE}relationship(e){return typeof e=="string"?{id:e,type:GiftCardRecipients.TYPE}:{id:e.id,type:GiftCardRecipients.TYPE}}type(){return GiftCardRecipients.TYPE}}GiftCardRecipients.TYPE="gift_card_recipients",exports.default=GiftCardRecipients;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -35,7 +35,6 @@ interface GiftCard extends Resource {
|
|
35
35
|
image_url?: string;
|
36
36
|
expires_at?: string;
|
37
37
|
recipient_email?: string;
|
38
|
-
_balance_change_cents?: number;
|
39
38
|
market?: Market;
|
40
39
|
gift_card_recipient?: GiftCardRecipient;
|
41
40
|
attachments?: Attachment[];
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class GiftCards extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:GiftCards.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:GiftCards.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:GiftCards.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:GiftCards.TYPE}),t,r)}async delete(e,t){await this.resources.delete({type:GiftCards.TYPE,id:e},t)}isGiftCard(e){return e.type&&e.type===GiftCards.TYPE}relationship(e){return typeof e=="string"?{id:e,type:GiftCards.TYPE}:{id:e.id,type:GiftCards.TYPE}}type(){return GiftCards.TYPE}}GiftCards.TYPE="gift_cards",exports.default=GiftCards;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class GoogleGeocoders extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:GoogleGeocoders.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:GoogleGeocoders.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:GoogleGeocoders.TYPE,id:e},t,r)}async update(e,t,r){return this.resources.update(Object.assign(Object.assign({},e),{type:GoogleGeocoders.TYPE}),t,r)}async delete(e,t){await this.resources.delete({type:GoogleGeocoders.TYPE,id:e},t)}isGoogleGeocoder(e){return e.type&&e.type===GoogleGeocoders.TYPE}relationship(e){return typeof e=="string"?{id:e,type:GoogleGeocoders.TYPE}:{id:e.id,type:GoogleGeocoders.TYPE}}type(){return GoogleGeocoders.TYPE}}GoogleGeocoders.TYPE="google_geocoders",exports.default=GoogleGeocoders;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const resource_1=require("../resource");class Imports extends resource_1.ApiResource{async list(e,t){return this.resources.list({type:Imports.TYPE},e,t)}async create(e,t,r){return this.resources.create(Object.assign(Object.assign({},e),{type:Imports.TYPE}),t,r)}async retrieve(e,t,r){return this.resources.retrieve({type:Imports.TYPE,id:e},t,r)}async delete(e,t){await this.resources.delete({type:Imports.TYPE,id:e},t)}isImport(e){return e.type&&e.type===Imports.TYPE}relationship(e){return typeof e=="string"?{id:e,type:Imports.TYPE}:{id:e.id,type:Imports.TYPE}}type(){return Imports.TYPE}}Imports.TYPE="imports",exports.default=Imports;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* ©2021 Commerce Layer Inc.
|
3
|
-
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.
|
3
|
+
* Source code generated automatically by SDK codegen from OpenAPI schema 2.7.4
|
4
4
|
**/
|
5
5
|
import { ApiResource, Resource, ResourceCreate, ResourceUpdate, ResourcesConfig, ResourceId, ListResponse } from '../resource';
|
6
6
|
import { /* QueryBuilderRetrieve, QueryBuilderList, */ QueryParamsList, QueryParamsRetrieve } from '../query';
|