@wix/auto_sdk_ecom_ecommerce-settings 1.0.39 → 1.0.41

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.
@@ -1,6 +1,33 @@
1
1
  import { NonNullablePaths } from '@wix/sdk-types';
2
2
 
3
+ /**
4
+ * eCommerce settings are a read-only snapshot of how a site's eCommerce is set up, collected from the APIs that own each value.
5
+ * Each field is returned only when it's requested in `fields` and retrieved successfully.
6
+ */
3
7
  interface EcommerceSettings {
8
+ /** Additional Fees service plugin configuration. */
9
+ additionalFeesServicePlugin?: ServicePluginConfiguration;
10
+ /** Validations service plugin configuration. */
11
+ validationsServicePlugin?: ServicePluginConfiguration;
12
+ /** Purchase recommendations service plugin configuration. */
13
+ purchaseRecommendationsServicePlugin?: ServicePluginConfiguration;
14
+ /** Tax configuration. */
15
+ tax?: TaxConfiguration;
16
+ /** Discount rules configuration. */
17
+ discountRules?: DiscountRulesConfiguration;
18
+ /**
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).
21
+ */
22
+ checkout?: CheckoutSettings;
23
+ /** Destinations the site delivers to, and their delivery properties. */
24
+ delivery?: DeliveryConfiguration;
25
+ /** Whether the site is a premium site. */
26
+ premiumSite?: boolean | null;
27
+ /** Business information, such as the business name, address, and contact details. */
28
+ businessInfo?: BusinessProperties;
29
+ /** Business locale: currency, language, locale, weight unit and unit system. */
30
+ businessLocale?: BusinessLocale;
4
31
  }
5
32
  interface ServicePluginConfiguration {
6
33
  /**
@@ -406,57 +433,18 @@ declare enum CheckoutBillingFields {
406
433
  type CheckoutBillingFieldsWithLiterals = CheckoutBillingFields | 'All_FIELDS' | 'MINIMUM_REQUIRED_FIELDS';
407
434
  interface DeliveryConfiguration {
408
435
  /**
409
- * Scope of destinations, when `WORLDWIDE` is selected, the destinations list will be empty.
410
- * @deprecated Scope of destinations, when `WORLDWIDE` is selected, the destinations list will be empty.
411
- * @targetRemovalDate 2025-12-31
412
- */
413
- destinationScope?: DestinationScopeWithLiterals;
414
- /**
415
- * The list of destinations.
416
- * @maxSize 200
417
- * @deprecated The list of destinations.
418
- * @targetRemovalDate 2025-12-31
419
- */
420
- destinations?: Destination[];
421
- /**
422
- * Whether postal code is required to support delivery calculations.
423
- * @deprecated Whether postal code is required to support delivery calculations.
424
- * @targetRemovalDate 2025-12-31
425
- */
426
- postalCodeRequired?: boolean | null;
427
- /**
428
- * List of countries and subdivisions and their delivery destination properties
436
+ * Countries the site delivers to, with their delivery destination properties.
437
+ *
438
+ * A country without `deliveryDestinationProperties` is delivered to only in the subdivisions listed in its `subdivisions`.
429
439
  * @maxSize 195
430
440
  */
431
441
  countries?: CountryDeliveryProperties[];
432
- /** Delivery destination properties for Rest Of World */
433
- restOfWorld?: DeliveryDestinationProperties;
434
- }
435
- declare enum DestinationScope {
436
- /** Specific destinations are configured. */
437
- SPECIFIC_DESTINATIONS = "SPECIFIC_DESTINATIONS",
438
- /** All destinations worldwide. */
439
- WORLDWIDE = "WORLDWIDE"
440
- }
441
- /** @enumType */
442
- type DestinationScopeWithLiterals = DestinationScope | 'SPECIFIC_DESTINATIONS' | 'WORLDWIDE';
443
- /** Geographic destination for a delivery region. */
444
- interface Destination {
445
- /**
446
- * 2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.
447
- * @format COUNTRY
448
- */
449
- countryCode?: string;
450
442
  /**
451
- * Subdivision codes in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format. For example, `"US-CA"` for California. If empty, the delivery region applies to the entire country.
443
+ * Delivery destination properties for every country that isn't listed in `countries`.
452
444
  *
453
- * The following countries don't support subdivision-level delivery and require an empty `subdivisions` list. Sending subdivisions for these countries fails with `SUBDIVISIONS_UNSUPPORTED_FOR_COUNTRY`:
454
- * `AT`, `BE`, `BS`, `CH`, `CI`, `CZ`, `DO`, `GR`, `NO`, `PL`, `RS`, `SD`, `SI`, `SK`, `SN`.
455
- * @maxSize 100
456
- * @minLength 1
457
- * @maxLength 256
445
+ * Returned only when the site delivers to the rest of the world.
458
446
  */
459
- subdivisions?: string[];
447
+ restOfWorld?: DeliveryDestinationProperties;
460
448
  }
461
449
  interface CountryDeliveryProperties {
462
450
  /**
@@ -578,6 +566,50 @@ interface StreetAddress {
578
566
  /** Street name. */
579
567
  name?: string;
580
568
  }
569
+ interface BusinessLocale {
570
+ /**
571
+ * Currency the business accepts payments in. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
572
+ *
573
+ * Default: `USD`
574
+ * @format CURRENCY
575
+ */
576
+ currency?: string;
577
+ /**
578
+ * Language the business uses for site content, emails, and notifications. Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
579
+ *
580
+ * Default: `en`
581
+ * @format LANGUAGE
582
+ */
583
+ language?: string;
584
+ /**
585
+ * Locale for date, number, and measurement formatting.
586
+ *
587
+ * Default: `en-US`
588
+ */
589
+ locale?: Locale;
590
+ /** Weight unit, based on locale. */
591
+ weightUnit?: WeightUnitWithLiterals;
592
+ /** Unit system, based on locale. */
593
+ unitSystem?: UnitSystemWithLiterals;
594
+ }
595
+ declare enum WeightUnit {
596
+ /** Weight unit can't be classified due to an error. */
597
+ UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
598
+ /** Kilograms. */
599
+ KG = "KG",
600
+ /** Pounds. */
601
+ LB = "LB"
602
+ }
603
+ /** @enumType */
604
+ type WeightUnitWithLiterals = WeightUnit | 'UNSPECIFIED_WEIGHT_UNIT' | 'KG' | 'LB';
605
+ declare enum UnitSystem {
606
+ /** Imperial unit system. For example, inches, feet, pounds, ounces, etc. */
607
+ IMPERIAL = "IMPERIAL",
608
+ /** Metric unit system. For example, centimeters, kilometers, grams, etc. */
609
+ METRIC = "METRIC"
610
+ }
611
+ /** @enumType */
612
+ type UnitSystemWithLiterals = UnitSystem | 'IMPERIAL' | 'METRIC';
581
613
  interface InvalidateCache extends InvalidateCacheGetByOneOf {
582
614
  /**
583
615
  * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
@@ -737,7 +769,7 @@ interface URIs {
737
769
  }
738
770
  interface GetEcommerceSettingsRequest {
739
771
  /**
740
- * Fields to include in the response.
772
+ * Settings to include in the response.
741
773
  * @minSize 1
742
774
  * @maxSize 25
743
775
  */
@@ -752,18 +784,19 @@ declare enum RequestedFields {
752
784
  DELIVERY = "DELIVERY",
753
785
  PREMIUM_SITE = "PREMIUM_SITE",
754
786
  BUSINESS_INFO = "BUSINESS_INFO",
755
- PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN = "PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN"
787
+ PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN = "PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN",
788
+ BUSINESS_LOCALE = "BUSINESS_LOCALE"
756
789
  }
757
790
  /** @enumType */
758
- type RequestedFieldsWithLiterals = RequestedFields | 'ADDITIONAL_FEES_SERVICE_PLUGIN' | 'VALIDATIONS_SERVICE_PLUGIN' | 'TAX' | 'DISCOUNT_RULES' | 'CHECKOUT' | 'DELIVERY' | 'PREMIUM_SITE' | 'BUSINESS_INFO' | 'PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN';
791
+ type RequestedFieldsWithLiterals = RequestedFields | 'ADDITIONAL_FEES_SERVICE_PLUGIN' | 'VALIDATIONS_SERVICE_PLUGIN' | 'TAX' | 'DISCOUNT_RULES' | 'CHECKOUT' | 'DELIVERY' | 'PREMIUM_SITE' | 'BUSINESS_INFO' | 'PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN' | 'BUSINESS_LOCALE';
759
792
  interface GetEcommerceSettingsResponse {
760
- /** Ecommerce settings. */
793
+ /** Retrieved eCommerce settings. */
761
794
  ecommerceSettings?: EcommerceSettings;
762
- /** A list of errors that occurred while retrieving the eCommerce settings. */
795
+ /** Requested fields that couldn't be retrieved. These fields are left out of `ecommerceSettings`. */
763
796
  errors?: Error[];
764
797
  }
765
798
  interface Error {
766
- /** The requested field the error is related to. */
799
+ /** Requested field that couldn't be retrieved. */
767
800
  requestedField?: RequestedFieldsWithLiterals;
768
801
  }
769
802
  interface DomainEvent extends DomainEventBodyOneOf {
@@ -1481,8 +1514,10 @@ type GetEcommerceSettingsApplicationErrors = {
1481
1514
  data?: Record<string, any>;
1482
1515
  };
1483
1516
  /**
1484
- * Retrieves site eCommerce settings.
1485
- * @param fields - Fields to include in the response.
1517
+ * Retrieves a site's eCommerce settings.
1518
+ *
1519
+ * The response includes only the fields specified in `fields`. If a requested field can't be retrieved, it's left out of `ecommerceSettings` and listed in `errors`. The other requested fields are still returned.
1520
+ * @param fields - Settings to include in the response.
1486
1521
  * @public
1487
1522
  * @documentationMaturity preview
1488
1523
  * @requiredField fields
@@ -1490,8 +1525,8 @@ type GetEcommerceSettingsApplicationErrors = {
1490
1525
  * @applicableIdentity APP
1491
1526
  * @fqn wix.ecom.ecommerce_settings.v1.EcommerceSettingsService.GetEcommerceSettings
1492
1527
  */
1493
- declare function getEcommerceSettings(fields: RequestedFieldsWithLiterals[]): Promise<NonNullablePaths<GetEcommerceSettingsResponse, `errors` | `errors.${number}.requestedField`, 2> & {
1528
+ declare function getEcommerceSettings(fields: RequestedFieldsWithLiterals[]): Promise<NonNullablePaths<GetEcommerceSettingsResponse, `ecommerceSettings.additionalFeesServicePlugin.activeProviders` | `ecommerceSettings.additionalFeesServicePlugin.activeProviders.${number}.appId` | `ecommerceSettings.checkout.checkoutBrand.header.logo.size` | `ecommerceSettings.checkout.checkoutBrand.header.alignment` | `ecommerceSettings.checkout.checkoutBrand.header.continueShopping.displayType` | `ecommerceSettings.checkout.checkoutBrand.mainSection.expressButtonsCornerRadius` | `ecommerceSettings.checkout.checkoutBillingFields` | `ecommerceSettings.delivery.countries` | `ecommerceSettings.delivery.countries.${number}.country` | `ecommerceSettings.delivery.countries.${number}.deliveryDestinationProperties.postalCodeRequired` | `ecommerceSettings.delivery.countries.${number}.deliveryDestinationProperties.pickupOnly` | `ecommerceSettings.businessInfo.currency` | `ecommerceSettings.businessInfo.language` | `ecommerceSettings.businessInfo.locale.language` | `ecommerceSettings.businessInfo.address.streetAddress.number` | `ecommerceSettings.businessInfo.address.streetAddress.name` | `ecommerceSettings.businessLocale.currency` | `ecommerceSettings.businessLocale.language` | `ecommerceSettings.businessLocale.weightUnit` | `ecommerceSettings.businessLocale.unitSystem` | `errors` | `errors.${number}.requestedField`, 5> & {
1494
1529
  __applicationErrorsType?: GetEcommerceSettingsApplicationErrors;
1495
1530
  }>;
1496
1531
 
1497
- export { type AccountInfo, type ActionEvent, type ActiveProvider, type Address, Alignment, type AlignmentWithLiterals, type App, type AssignedFromFloatingReason, type BackgroundFill, type BackgroundFillOptionsOneOf, type BooleanFeature, type BusinessProperties, type CancelRequestedReason, type CheckboxField, CheckoutBillingFields, type CheckoutBillingFieldsWithLiterals, type CheckoutBrand, type CheckoutFields, type CheckoutFooter, type CheckoutGlobal, type CheckoutHeader, type CheckoutMain, type CheckoutPolicies, type CheckoutSettings, type ContactUsPolicy, type ContinueShopping, ContractSwitchClassification, type ContractSwitchClassificationWithLiterals, type ContractSwitchedReason, type CountryDeliveryProperties, type CustomCheckoutPolicy, type CustomTag, type DeliveryConfiguration, type DeliveryDestinationProperties, DeliveryMethodType, type DeliveryMethodTypeWithLiterals, type Destination, DestinationScope, type DestinationScopeWithLiterals, type DigitalItemPolicy, type DiscountRulesConfiguration, DisplayType, type DisplayTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EcomSitePropertiesChangedEvent, type EcommerceSettings, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Error, ExpressButtonsCornerRadius, type ExpressButtonsCornerRadiusWithLiterals, type Feature, type FeatureCancelled, type FeatureCancelledReasonOneOf, type FeatureContext, type FeatureDisabled, type FeatureDisabledReasonOneOf, type FeatureEnabled, type FeatureEnabledReasonOneOf, type FeatureEvent, type FeatureEventEventOneOf, FeaturePeriod, type FeaturePeriodWithLiterals, type FeatureQuantityInfoOneOf, type FeatureQuotaUsageChanged, type FeatureUpdated, type FeatureUpdatedPreviousQuantityInfoOneOf, type FeatureUpdatedReasonOneOf, type File, type FocalPoint, type GetEcommerceSettingsApplicationErrors, type GetEcommerceSettingsRequest, type GetEcommerceSettingsResponse, type IdentificationData, type IdentificationDataIdOneOf, InputFieldBackgroundStyle, type InputFieldBackgroundStyleWithLiterals, type InvalidateCache, type InvalidateCacheGetByOneOf, type Locale, type Logo, LogoSize, type LogoSizeWithLiterals, type ManualFeatureCreationReason, type ManualSyncReason, type MessageEnvelope, type MigratedFromLegacyReason, type NewFeatureReason, type Page, type Pages, type PrivacyPolicy, type QuotaExhaustedReason, type QuotaFeature, type QuotaInfo, type QuotaInfoEntry, type ReassignedFromSiteReason, type ReassignedToAnotherSiteReason, type ReplacedByAnotherSubscriptionReason, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type ReturnPolicy, type ServicePluginConfiguration, type StreetAddress, type SubdivisionDeliveryProperties, type SubscriptionCheckboxField, type TaxConfiguration, type TermsAndConditionsPolicy, TestMode, type TestModeWithLiterals, type TransferredFromAnotherAccountReason, type TransferredToAnotherAccountReason, TriggerFlow, type TriggerFlowWithLiterals, type URI, type URIs, type UnAssingedToFloatingReason, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, getEcommerceSettings };
1532
+ export { type AccountInfo, type ActionEvent, type ActiveProvider, type Address, Alignment, type AlignmentWithLiterals, type App, type AssignedFromFloatingReason, type BackgroundFill, type BackgroundFillOptionsOneOf, type BooleanFeature, type BusinessLocale, type BusinessProperties, type CancelRequestedReason, type CheckboxField, CheckoutBillingFields, type CheckoutBillingFieldsWithLiterals, type CheckoutBrand, type CheckoutFields, type CheckoutFooter, type CheckoutGlobal, type CheckoutHeader, type CheckoutMain, type CheckoutPolicies, type CheckoutSettings, type ContactUsPolicy, type ContinueShopping, ContractSwitchClassification, type ContractSwitchClassificationWithLiterals, type ContractSwitchedReason, type CountryDeliveryProperties, type CustomCheckoutPolicy, type CustomTag, type DeliveryConfiguration, type DeliveryDestinationProperties, DeliveryMethodType, type DeliveryMethodTypeWithLiterals, type DigitalItemPolicy, type DiscountRulesConfiguration, DisplayType, type DisplayTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EcomSitePropertiesChangedEvent, type EcommerceSettings, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Error, ExpressButtonsCornerRadius, type ExpressButtonsCornerRadiusWithLiterals, type Feature, type FeatureCancelled, type FeatureCancelledReasonOneOf, type FeatureContext, type FeatureDisabled, type FeatureDisabledReasonOneOf, type FeatureEnabled, type FeatureEnabledReasonOneOf, type FeatureEvent, type FeatureEventEventOneOf, FeaturePeriod, type FeaturePeriodWithLiterals, type FeatureQuantityInfoOneOf, type FeatureQuotaUsageChanged, type FeatureUpdated, type FeatureUpdatedPreviousQuantityInfoOneOf, type FeatureUpdatedReasonOneOf, type File, type FocalPoint, type GetEcommerceSettingsApplicationErrors, type GetEcommerceSettingsRequest, type GetEcommerceSettingsResponse, type IdentificationData, type IdentificationDataIdOneOf, InputFieldBackgroundStyle, type InputFieldBackgroundStyleWithLiterals, type InvalidateCache, type InvalidateCacheGetByOneOf, type Locale, type Logo, LogoSize, type LogoSizeWithLiterals, type ManualFeatureCreationReason, type ManualSyncReason, type MessageEnvelope, type MigratedFromLegacyReason, type NewFeatureReason, type Page, type Pages, type PrivacyPolicy, type QuotaExhaustedReason, type QuotaFeature, type QuotaInfo, type QuotaInfoEntry, type ReassignedFromSiteReason, type ReassignedToAnotherSiteReason, type ReplacedByAnotherSubscriptionReason, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type ReturnPolicy, type ServicePluginConfiguration, type StreetAddress, type SubdivisionDeliveryProperties, type SubscriptionCheckboxField, type TaxConfiguration, type TermsAndConditionsPolicy, TestMode, type TestModeWithLiterals, type TransferredFromAnotherAccountReason, type TransferredToAnotherAccountReason, TriggerFlow, type TriggerFlowWithLiterals, type URI, type URIs, type UnAssingedToFloatingReason, UnitSystem, type UnitSystemWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getEcommerceSettings };
@@ -24,7 +24,6 @@ __export(index_typings_exports, {
24
24
  CheckoutBillingFields: () => CheckoutBillingFields,
25
25
  ContractSwitchClassification: () => ContractSwitchClassification,
26
26
  DeliveryMethodType: () => DeliveryMethodType,
27
- DestinationScope: () => DestinationScope,
28
27
  DisplayType: () => DisplayType,
29
28
  ExpressButtonsCornerRadius: () => ExpressButtonsCornerRadius,
30
29
  FeaturePeriod: () => FeaturePeriod,
@@ -33,7 +32,9 @@ __export(index_typings_exports, {
33
32
  RequestedFields: () => RequestedFields,
34
33
  TestMode: () => TestMode,
35
34
  TriggerFlow: () => TriggerFlow,
35
+ UnitSystem: () => UnitSystem,
36
36
  WebhookIdentityType: () => WebhookIdentityType,
37
+ WeightUnit: () => WeightUnit,
37
38
  getEcommerceSettings: () => getEcommerceSettings2
38
39
  });
39
40
  module.exports = __toCommonJS(index_typings_exports);
@@ -141,12 +142,20 @@ function resolveWixEcomEcommerceSettingsV1EcommerceSettingsServiceUrl(opts) {
141
142
  {
142
143
  srcPath: "/_api/ecommerce-settings",
143
144
  destPath: ""
145
+ },
146
+ {
147
+ srcPath: "/ecom/v1/ecommerce-settings",
148
+ destPath: "/v1/ecommerce-settings"
144
149
  }
145
150
  ],
146
151
  "www.wixapis.com": [
147
152
  {
148
153
  srcPath: "/_api/ecommerce-settings",
149
154
  destPath: ""
155
+ },
156
+ {
157
+ srcPath: "/ecom/v1/ecommerce-settings",
158
+ destPath: "/v1/ecommerce-settings"
150
159
  }
151
160
  ]
152
161
  };
@@ -247,17 +256,23 @@ var CheckoutBillingFields = /* @__PURE__ */ ((CheckoutBillingFields2) => {
247
256
  CheckoutBillingFields2["MINIMUM_REQUIRED_FIELDS"] = "MINIMUM_REQUIRED_FIELDS";
248
257
  return CheckoutBillingFields2;
249
258
  })(CheckoutBillingFields || {});
250
- var DestinationScope = /* @__PURE__ */ ((DestinationScope2) => {
251
- DestinationScope2["SPECIFIC_DESTINATIONS"] = "SPECIFIC_DESTINATIONS";
252
- DestinationScope2["WORLDWIDE"] = "WORLDWIDE";
253
- return DestinationScope2;
254
- })(DestinationScope || {});
255
259
  var DeliveryMethodType = /* @__PURE__ */ ((DeliveryMethodType2) => {
256
260
  DeliveryMethodType2["SHIPPING"] = "SHIPPING";
257
261
  DeliveryMethodType2["PICKUP"] = "PICKUP";
258
262
  DeliveryMethodType2["UNDETERMINED"] = "UNDETERMINED";
259
263
  return DeliveryMethodType2;
260
264
  })(DeliveryMethodType || {});
265
+ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
266
+ WeightUnit2["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
267
+ WeightUnit2["KG"] = "KG";
268
+ WeightUnit2["LB"] = "LB";
269
+ return WeightUnit2;
270
+ })(WeightUnit || {});
271
+ var UnitSystem = /* @__PURE__ */ ((UnitSystem2) => {
272
+ UnitSystem2["IMPERIAL"] = "IMPERIAL";
273
+ UnitSystem2["METRIC"] = "METRIC";
274
+ return UnitSystem2;
275
+ })(UnitSystem || {});
261
276
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
262
277
  RequestedFields2["ADDITIONAL_FEES_SERVICE_PLUGIN"] = "ADDITIONAL_FEES_SERVICE_PLUGIN";
263
278
  RequestedFields2["VALIDATIONS_SERVICE_PLUGIN"] = "VALIDATIONS_SERVICE_PLUGIN";
@@ -268,6 +283,7 @@ var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
268
283
  RequestedFields2["PREMIUM_SITE"] = "PREMIUM_SITE";
269
284
  RequestedFields2["BUSINESS_INFO"] = "BUSINESS_INFO";
270
285
  RequestedFields2["PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN"] = "PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN";
286
+ RequestedFields2["BUSINESS_LOCALE"] = "BUSINESS_LOCALE";
271
287
  return RequestedFields2;
272
288
  })(RequestedFields || {});
273
289
  var FeaturePeriod = /* @__PURE__ */ ((FeaturePeriod2) => {
@@ -337,7 +353,6 @@ async function getEcommerceSettings2(fields) {
337
353
  CheckoutBillingFields,
338
354
  ContractSwitchClassification,
339
355
  DeliveryMethodType,
340
- DestinationScope,
341
356
  DisplayType,
342
357
  ExpressButtonsCornerRadius,
343
358
  FeaturePeriod,
@@ -346,7 +361,9 @@ async function getEcommerceSettings2(fields) {
346
361
  RequestedFields,
347
362
  TestMode,
348
363
  TriggerFlow,
364
+ UnitSystem,
349
365
  WebhookIdentityType,
366
+ WeightUnit,
350
367
  getEcommerceSettings
351
368
  });
352
369
  //# sourceMappingURL=index.typings.js.map