@wix/auto_sdk_ecom_ecommerce-settings 1.0.44 → 1.0.45

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.
@@ -17,21 +17,21 @@ interface EcommerceSettings {
17
17
  discountRules?: DiscountRulesConfiguration;
18
18
  /**
19
19
  * Checkout settings.
20
- * Learn more about the [Checkout Settings API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/checkout/checkout-settings/introduction).
20
+ * Learn more about the [Checkout Settings API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/settings/checkout-settings/introduction).
21
21
  */
22
22
  checkout?: CheckoutSettings;
23
23
  /** Destinations the site delivers to, and their delivery properties. */
24
24
  delivery?: DeliveryConfiguration;
25
- /** Whether the site is a premium site. */
25
+ /** Whether the site has a premium plan that supports accepting payments. */
26
26
  premiumSite?: boolean | null;
27
27
  /** Business information, such as the business name, address, and contact details. */
28
28
  businessInfo?: BusinessProperties;
29
- /** Business locale: currency, language, locale, weight unit and unit system. */
29
+ /** Business locale: currency, language, locale, weight unit, and unit system. */
30
30
  businessLocale?: BusinessLocale;
31
31
  }
32
32
  interface ServicePluginConfiguration {
33
33
  /**
34
- * List of active providers.
34
+ * Apps that implement the service plugin and are active on the site.
35
35
  * @maxSize 100
36
36
  */
37
37
  activeProviders?: ActiveProvider[];
@@ -58,8 +58,8 @@ declare enum TriggerFlow {
58
58
  type TriggerFlowWithLiterals = TriggerFlow | 'CART' | 'CHECKOUT';
59
59
  interface TaxConfiguration {
60
60
  /**
61
- * Whether at least one tax region is configured and connected to a tax calculator.
62
- * Learn more about the [Tax Regions API](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tax/tax-regions/introduction).
61
+ * Whether the site has at least one tax region.
62
+ * Learn more about the [Tax Regions API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/tax-regions/introduction).
63
63
  */
64
64
  configured?: boolean | null;
65
65
  /**
@@ -86,8 +86,9 @@ interface CrossBorderTaxConfiguration {
86
86
  }
87
87
  interface DiscountRulesConfiguration {
88
88
  /**
89
- * Whether at least one discount rule is configured and active.
90
- * Learn more about the [Discount Rules API](https://dev.wix.com/docs/rest/business-solutions/e-commerce/discount-rules/introduction).
89
+ * Whether at least one discount rule that applies automatically is active now.
90
+ * A rule counts when it's active and the current time is within its active time frame, if it has one.
91
+ * Learn more about the [Discount Rules API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/discounts/discount-rules/introduction).
91
92
  */
92
93
  active?: boolean | null;
93
94
  }
@@ -507,12 +508,12 @@ interface DeliveryConfiguration {
507
508
  /**
508
509
  * Countries the site delivers to, with their delivery destination properties.
509
510
  *
510
- * A country without `deliveryDestinationProperties` is delivered to only in the subdivisions listed in its `subdivisions`.
511
+ * When `restOfWorld` isn't returned, a country without `deliveryDestinationProperties` is delivered to only in the subdivisions listed in its `subdivisions`.
511
512
  * @maxSize 195
512
513
  */
513
514
  countries?: CountryDeliveryProperties[];
514
515
  /**
515
- * Delivery destination properties for every country that isn't listed in `countries`.
516
+ * Delivery destination properties for every destination that `countries` doesn't cover: countries that aren't listed, and unlisted subdivisions of a country without `deliveryDestinationProperties`.
516
517
  *
517
518
  * Returned only when the site delivers to the rest of the world.
518
519
  */
@@ -859,15 +860,25 @@ interface GetEcommerceSettingsRequest {
859
860
  fields: RequestedFieldsWithLiterals[];
860
861
  }
861
862
  declare enum RequestedFields {
863
+ /** Additional Fees service plugin configuration. Returned in `additionalFeesServicePlugin`. */
862
864
  ADDITIONAL_FEES_SERVICE_PLUGIN = "ADDITIONAL_FEES_SERVICE_PLUGIN",
865
+ /** Validations service plugin configuration. Returned in `validationsServicePlugin`. */
863
866
  VALIDATIONS_SERVICE_PLUGIN = "VALIDATIONS_SERVICE_PLUGIN",
867
+ /** Tax configuration. Returned in `tax`. */
864
868
  TAX = "TAX",
869
+ /** Discount rules configuration. Returned in `discountRules`. */
865
870
  DISCOUNT_RULES = "DISCOUNT_RULES",
871
+ /** Checkout settings. Returned in `checkout`. */
866
872
  CHECKOUT = "CHECKOUT",
873
+ /** Delivery destinations. Returned in `delivery`. */
867
874
  DELIVERY = "DELIVERY",
875
+ /** Premium status: whether the site has a premium plan that supports accepting payments. Returned in `premiumSite`. */
868
876
  PREMIUM_SITE = "PREMIUM_SITE",
877
+ /** Business information. Returned in `businessInfo`. */
869
878
  BUSINESS_INFO = "BUSINESS_INFO",
879
+ /** Purchase recommendations service plugin configuration. Returned in `purchaseRecommendationsServicePlugin`. */
870
880
  PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN = "PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN",
881
+ /** Business locale. Returned in `businessLocale`. */
871
882
  BUSINESS_LOCALE = "BUSINESS_LOCALE"
872
883
  }
873
884
  /** @enumType */
@@ -18,21 +18,21 @@ interface EcommerceSettings {
18
18
  discountRules?: DiscountRulesConfiguration;
19
19
  /**
20
20
  * Checkout settings.
21
- * Learn more about the [Checkout Settings API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/checkout/checkout-settings/introduction).
21
+ * Learn more about the [Checkout Settings API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/settings/checkout-settings/introduction).
22
22
  */
23
23
  checkout?: CheckoutSettings;
24
24
  /** Destinations the site delivers to, and their delivery properties. */
25
25
  delivery?: DeliveryConfiguration;
26
- /** Whether the site is a premium site. */
26
+ /** Whether the site has a premium plan that supports accepting payments. */
27
27
  premiumSite?: boolean | null;
28
28
  /** Business information, such as the business name, address, and contact details. */
29
29
  businessInfo?: BusinessProperties;
30
- /** Business locale: currency, language, locale, weight unit and unit system. */
30
+ /** Business locale: currency, language, locale, weight unit, and unit system. */
31
31
  businessLocale?: BusinessLocale;
32
32
  }
33
33
  interface ServicePluginConfiguration {
34
34
  /**
35
- * List of active providers.
35
+ * Apps that implement the service plugin and are active on the site.
36
36
  * @maxSize 100
37
37
  */
38
38
  activeProviders?: ActiveProvider[];
@@ -59,8 +59,8 @@ declare enum TriggerFlow {
59
59
  type TriggerFlowWithLiterals = TriggerFlow | 'CART' | 'CHECKOUT';
60
60
  interface TaxConfiguration {
61
61
  /**
62
- * Whether at least one tax region is configured and connected to a tax calculator.
63
- * Learn more about the [Tax Regions API](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tax/tax-regions/introduction).
62
+ * Whether the site has at least one tax region.
63
+ * Learn more about the [Tax Regions API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/tax-regions/introduction).
64
64
  */
65
65
  configured?: boolean | null;
66
66
  /**
@@ -87,8 +87,9 @@ interface CrossBorderTaxConfiguration {
87
87
  }
88
88
  interface DiscountRulesConfiguration {
89
89
  /**
90
- * Whether at least one discount rule is configured and active.
91
- * Learn more about the [Discount Rules API](https://dev.wix.com/docs/rest/business-solutions/e-commerce/discount-rules/introduction).
90
+ * Whether at least one discount rule that applies automatically is active now.
91
+ * A rule counts when it's active and the current time is within its active time frame, if it has one.
92
+ * Learn more about the [Discount Rules API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/discounts/discount-rules/introduction).
92
93
  */
93
94
  active?: boolean | null;
94
95
  }
@@ -549,12 +550,12 @@ interface DeliveryConfiguration {
549
550
  /**
550
551
  * Countries the site delivers to, with their delivery destination properties.
551
552
  *
552
- * A country without `deliveryDestinationProperties` is delivered to only in the subdivisions listed in its `subdivisions`.
553
+ * When `restOfWorld` isn't returned, a country without `deliveryDestinationProperties` is delivered to only in the subdivisions listed in its `subdivisions`.
553
554
  * @maxSize 195
554
555
  */
555
556
  countries?: CountryDeliveryProperties[];
556
557
  /**
557
- * Delivery destination properties for every country that isn't listed in `countries`.
558
+ * Delivery destination properties for every destination that `countries` doesn't cover: countries that aren't listed, and unlisted subdivisions of a country without `deliveryDestinationProperties`.
558
559
  *
559
560
  * Returned only when the site delivers to the rest of the world.
560
561
  */
@@ -901,15 +902,25 @@ interface GetEcommerceSettingsRequest {
901
902
  fields: RequestedFieldsWithLiterals[];
902
903
  }
903
904
  declare enum RequestedFields {
905
+ /** Additional Fees service plugin configuration. Returned in `additionalFeesServicePlugin`. */
904
906
  ADDITIONAL_FEES_SERVICE_PLUGIN = "ADDITIONAL_FEES_SERVICE_PLUGIN",
907
+ /** Validations service plugin configuration. Returned in `validationsServicePlugin`. */
905
908
  VALIDATIONS_SERVICE_PLUGIN = "VALIDATIONS_SERVICE_PLUGIN",
909
+ /** Tax configuration. Returned in `tax`. */
906
910
  TAX = "TAX",
911
+ /** Discount rules configuration. Returned in `discountRules`. */
907
912
  DISCOUNT_RULES = "DISCOUNT_RULES",
913
+ /** Checkout settings. Returned in `checkout`. */
908
914
  CHECKOUT = "CHECKOUT",
915
+ /** Delivery destinations. Returned in `delivery`. */
909
916
  DELIVERY = "DELIVERY",
917
+ /** Premium status: whether the site has a premium plan that supports accepting payments. Returned in `premiumSite`. */
910
918
  PREMIUM_SITE = "PREMIUM_SITE",
919
+ /** Business information. Returned in `businessInfo`. */
911
920
  BUSINESS_INFO = "BUSINESS_INFO",
921
+ /** Purchase recommendations service plugin configuration. Returned in `purchaseRecommendationsServicePlugin`. */
912
922
  PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN = "PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN",
923
+ /** Business locale. Returned in `businessLocale`. */
913
924
  BUSINESS_LOCALE = "BUSINESS_LOCALE"
914
925
  }
915
926
  /** @enumType */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_ecommerce-settings",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.ecom.v1.ecommerce_settings"
51
51
  }
52
52
  },
53
- "falconPackageHash": "d1c990138f7081443d44bf9ce971ee4eb683e02bdfff633b03670016"
53
+ "falconPackageHash": "80a6716ff82b06df4a11035c51f0f9c1609c693f1f46c9ce1cbfd282"
54
54
  }