@commercelayer/sdk 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +6 -3
- package/lib/commercelayer.d.ts +3 -0
- package/lib/index.d.ts +1 -1
- package/lib/interceptor.d.ts +2 -1
- package/lib/model.d.ts +4 -1
- package/lib/resources/addresses.d.ts +2 -1
- package/lib/resources/adjustments.d.ts +2 -1
- package/lib/resources/adyen_gateways.d.ts +2 -1
- package/lib/resources/adyen_payments.d.ts +2 -1
- package/lib/resources/application.d.ts +2 -1
- package/lib/resources/attachments.d.ts +2 -1
- package/lib/resources/authorizations.d.ts +2 -1
- package/lib/resources/avalara_accounts.d.ts +2 -1
- package/lib/resources/billing_info_validation_rules.d.ts +2 -1
- package/lib/resources/bing_geocoders.d.ts +2 -1
- package/lib/resources/braintree_gateways.d.ts +2 -1
- package/lib/resources/braintree_payments.d.ts +2 -1
- package/lib/resources/bundles.d.ts +2 -1
- package/lib/resources/captures.d.ts +2 -1
- package/lib/resources/carrier_accounts.d.ts +2 -1
- package/lib/resources/checkout_com_gateways.d.ts +2 -1
- package/lib/resources/checkout_com_payments.d.ts +2 -1
- package/lib/resources/coupon_codes_promotion_rules.d.ts +13 -4
- package/lib/resources/coupon_recipients.d.ts +46 -0
- package/lib/resources/coupons.d.ts +5 -1
- package/lib/resources/customer_addresses.d.ts +2 -1
- package/lib/resources/customer_groups.d.ts +2 -1
- package/lib/resources/customer_password_resets.d.ts +2 -1
- package/lib/resources/customer_payment_sources.d.ts +2 -1
- package/lib/resources/customer_subscriptions.d.ts +2 -1
- package/lib/resources/customers.d.ts +2 -1
- package/lib/resources/delivery_lead_times.d.ts +2 -1
- package/lib/resources/event_callbacks.d.ts +4 -2
- package/lib/resources/external_gateways.d.ts +2 -1
- package/lib/resources/external_payments.d.ts +2 -1
- package/lib/resources/external_promotions.d.ts +2 -1
- package/lib/resources/external_tax_calculators.d.ts +2 -1
- package/lib/resources/fixed_amount_promotions.d.ts +2 -1
- package/lib/resources/fixed_price_promotions.d.ts +93 -0
- package/lib/resources/free_gift_promotions.d.ts +91 -0
- package/lib/resources/free_shipping_promotions.d.ts +2 -1
- package/lib/resources/geocoders.d.ts +2 -1
- package/lib/resources/gift_card_recipients.d.ts +2 -1
- package/lib/resources/gift_cards.d.ts +2 -1
- package/lib/resources/google_geocoders.d.ts +2 -1
- package/lib/resources/imports.d.ts +2 -1
- package/lib/resources/in_stock_subscriptions.d.ts +2 -1
- package/lib/resources/inventory_models.d.ts +2 -1
- package/lib/resources/inventory_return_locations.d.ts +2 -1
- package/lib/resources/inventory_stock_locations.d.ts +2 -1
- package/lib/resources/line_item_options.d.ts +2 -1
- package/lib/resources/line_items.d.ts +2 -1
- package/lib/resources/manual_gateways.d.ts +2 -1
- package/lib/resources/manual_tax_calculators.d.ts +2 -1
- package/lib/resources/markets.d.ts +2 -1
- package/lib/resources/merchants.d.ts +2 -1
- package/lib/resources/order_amount_promotion_rules.d.ts +13 -4
- package/lib/resources/order_copies.d.ts +2 -1
- package/lib/resources/order_subscriptions.d.ts +2 -1
- package/lib/resources/order_validation_rules.d.ts +2 -1
- package/lib/resources/orders.d.ts +2 -1
- package/lib/resources/organization.d.ts +2 -1
- package/lib/resources/packages.d.ts +2 -1
- package/lib/resources/parcel_line_items.d.ts +2 -1
- package/lib/resources/parcels.d.ts +2 -1
- package/lib/resources/payment_gateways.d.ts +2 -1
- package/lib/resources/payment_methods.d.ts +2 -1
- package/lib/resources/paypal_gateways.d.ts +2 -1
- package/lib/resources/paypal_payments.d.ts +2 -1
- package/lib/resources/percentage_discount_promotions.d.ts +2 -1
- package/lib/resources/price_lists.d.ts +2 -1
- package/lib/resources/prices.d.ts +2 -1
- package/lib/resources/promotion_rules.d.ts +5 -2
- package/lib/resources/promotions.d.ts +2 -1
- package/lib/resources/refunds.d.ts +2 -1
- package/lib/resources/return_line_items.d.ts +2 -1
- package/lib/resources/returns.d.ts +2 -1
- package/lib/resources/shipments.d.ts +2 -1
- package/lib/resources/shipping_categories.d.ts +2 -1
- package/lib/resources/shipping_methods.d.ts +2 -1
- package/lib/resources/shipping_zones.d.ts +2 -1
- package/lib/resources/sku_list_items.d.ts +2 -1
- package/lib/resources/sku_list_promotion_rules.d.ts +16 -4
- package/lib/resources/sku_lists.d.ts +2 -1
- package/lib/resources/sku_options.d.ts +2 -1
- package/lib/resources/skus.d.ts +2 -1
- package/lib/resources/stock_items.d.ts +2 -1
- package/lib/resources/stock_line_items.d.ts +2 -1
- package/lib/resources/stock_locations.d.ts +2 -1
- package/lib/resources/stock_transfers.d.ts +2 -1
- package/lib/resources/stripe_gateways.d.ts +2 -1
- package/lib/resources/stripe_payments.d.ts +2 -1
- package/lib/resources/tax_calculators.d.ts +2 -1
- package/lib/resources/tax_categories.d.ts +2 -1
- package/lib/resources/tax_rules.d.ts +2 -1
- package/lib/resources/taxjar_accounts.d.ts +2 -1
- package/lib/resources/transactions.d.ts +2 -1
- package/lib/resources/voids.d.ts +2 -1
- package/lib/resources/webhooks.d.ts +3 -2
- package/lib/resources/wire_transfers.d.ts +2 -1
- package/lib/sdk.cjs.development.js +1007 -82
- package/lib/sdk.cjs.development.js.map +1 -1
- package/lib/sdk.cjs.production.min.js +1 -1
- package/lib/sdk.cjs.production.min.js.map +1 -1
- package/lib/sdk.esm.js +1007 -82
- package/lib/sdk.esm.js.map +1 -1
- package/package.json +3 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@commercelayer/sdk",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.2.0",
|
4
4
|
"main": "lib/index.js",
|
5
5
|
"types": "lib/index.d.ts",
|
6
6
|
"scripts": {
|
@@ -17,7 +17,8 @@
|
|
17
17
|
"keywords": [
|
18
18
|
"javascript",
|
19
19
|
"ecommerce",
|
20
|
-
"jamstack"
|
20
|
+
"jamstack",
|
21
|
+
"commercelayer"
|
21
22
|
],
|
22
23
|
"author": "Pierluigi Viti <pierluigi@commercelayer.io>",
|
23
24
|
"license": "MIT",
|