@wix/auto_sdk_ecom_ecommerce-settings 1.0.39 → 1.0.40
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +16 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +42 -3
- package/build/cjs/index.typings.js +16 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +42 -3
- package/build/cjs/meta.js +16 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +14 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +42 -3
- package/build/es/index.typings.mjs +14 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +42 -3
- package/build/es/meta.mjs +14 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +47 -3
- package/build/internal/cjs/meta.d.ts +47 -3
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +47 -3
- package/build/internal/es/meta.d.mts +47 -3
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { RequestedFieldsWithLiterals, GetEcommerceSettingsResponse, GetEcommerceSettingsApplicationErrors } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, ActionEvent, ActiveProvider, Address, Alignment, AlignmentWithLiterals, App, AssignedFromFloatingReason, BackgroundFill, BackgroundFillOptionsOneOf, BooleanFeature, BusinessProperties, CancelRequestedReason, CheckboxField, CheckoutBillingFields, CheckoutBillingFieldsWithLiterals, CheckoutBrand, CheckoutFields, CheckoutFooter, CheckoutGlobal, CheckoutHeader, CheckoutMain, CheckoutPolicies, CheckoutSettings, ContactUsPolicy, ContinueShopping, ContractSwitchClassification, ContractSwitchClassificationWithLiterals, ContractSwitchedReason, CountryDeliveryProperties, CustomCheckoutPolicy, CustomTag, DeliveryConfiguration, DeliveryDestinationProperties, DeliveryMethodType, DeliveryMethodTypeWithLiterals, Destination, DestinationScope, DestinationScopeWithLiterals, DigitalItemPolicy, DiscountRulesConfiguration, DisplayType, DisplayTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, EcomSitePropertiesChangedEvent, EcommerceSettings, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Error, ExpressButtonsCornerRadius, ExpressButtonsCornerRadiusWithLiterals, Feature, FeatureCancelled, FeatureCancelledReasonOneOf, FeatureContext, FeatureDisabled, FeatureDisabledReasonOneOf, FeatureEnabled, FeatureEnabledReasonOneOf, FeatureEvent, FeatureEventEventOneOf, FeaturePeriod, FeaturePeriodWithLiterals, FeatureQuantityInfoOneOf, FeatureQuotaUsageChanged, FeatureUpdated, FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf, File, FocalPoint, GetEcommerceSettingsRequest, IdentificationData, IdentificationDataIdOneOf, InputFieldBackgroundStyle, InputFieldBackgroundStyleWithLiterals, InvalidateCache, InvalidateCacheGetByOneOf, Locale, Logo, LogoSize, LogoSizeWithLiterals, ManualFeatureCreationReason, ManualSyncReason, MessageEnvelope, MigratedFromLegacyReason, NewFeatureReason, Page, Pages, PrivacyPolicy, QuotaExhaustedReason, QuotaFeature, QuotaInfo, QuotaInfoEntry, ReassignedFromSiteReason, ReassignedToAnotherSiteReason, ReplacedByAnotherSubscriptionReason, RequestedFields, RestoreInfo, ReturnPolicy, ServicePluginConfiguration, StreetAddress, SubdivisionDeliveryProperties, SubscriptionCheckboxField, TaxConfiguration, TermsAndConditionsPolicy, TestMode, TestModeWithLiterals, TransferredFromAnotherAccountReason, TransferredToAnotherAccountReason, TriggerFlow, TriggerFlowWithLiterals, URI, URIs, UnAssingedToFloatingReason, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, ActionEvent, ActiveProvider, Address, Alignment, AlignmentWithLiterals, App, AssignedFromFloatingReason, BackgroundFill, BackgroundFillOptionsOneOf, BooleanFeature, BusinessLocale, BusinessProperties, CancelRequestedReason, CheckboxField, CheckoutBillingFields, CheckoutBillingFieldsWithLiterals, CheckoutBrand, CheckoutFields, CheckoutFooter, CheckoutGlobal, CheckoutHeader, CheckoutMain, CheckoutPolicies, CheckoutSettings, ContactUsPolicy, ContinueShopping, ContractSwitchClassification, ContractSwitchClassificationWithLiterals, ContractSwitchedReason, CountryDeliveryProperties, CustomCheckoutPolicy, CustomTag, DeliveryConfiguration, DeliveryDestinationProperties, DeliveryMethodType, DeliveryMethodTypeWithLiterals, Destination, DestinationScope, DestinationScopeWithLiterals, DigitalItemPolicy, DiscountRulesConfiguration, DisplayType, DisplayTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, EcomSitePropertiesChangedEvent, EcommerceSettings, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Error, ExpressButtonsCornerRadius, ExpressButtonsCornerRadiusWithLiterals, Feature, FeatureCancelled, FeatureCancelledReasonOneOf, FeatureContext, FeatureDisabled, FeatureDisabledReasonOneOf, FeatureEnabled, FeatureEnabledReasonOneOf, FeatureEvent, FeatureEventEventOneOf, FeaturePeriod, FeaturePeriodWithLiterals, FeatureQuantityInfoOneOf, FeatureQuotaUsageChanged, FeatureUpdated, FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf, File, FocalPoint, GetEcommerceSettingsRequest, IdentificationData, IdentificationDataIdOneOf, InputFieldBackgroundStyle, InputFieldBackgroundStyleWithLiterals, InvalidateCache, InvalidateCacheGetByOneOf, Locale, Logo, LogoSize, LogoSizeWithLiterals, ManualFeatureCreationReason, ManualSyncReason, MessageEnvelope, MigratedFromLegacyReason, NewFeatureReason, Page, Pages, PrivacyPolicy, QuotaExhaustedReason, QuotaFeature, QuotaInfo, QuotaInfoEntry, ReassignedFromSiteReason, ReassignedToAnotherSiteReason, ReplacedByAnotherSubscriptionReason, RequestedFields, RestoreInfo, ReturnPolicy, ServicePluginConfiguration, StreetAddress, SubdivisionDeliveryProperties, SubscriptionCheckboxField, TaxConfiguration, TermsAndConditionsPolicy, TestMode, TestModeWithLiterals, TransferredFromAnotherAccountReason, TransferredToAnotherAccountReason, TriggerFlow, TriggerFlowWithLiterals, URI, URIs, UnAssingedToFloatingReason, UnitSystem, UnitSystemWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function getEcommerceSettings$1(httpClient: HttpClient): GetEcommerceSettingsSignature;
|
|
6
6
|
interface GetEcommerceSettingsSignature {
|
|
@@ -46,6 +46,11 @@ interface EcommerceSettings {
|
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
48
|
businessInfo?: BusinessProperties;
|
|
49
|
+
/**
|
|
50
|
+
* Business locale: currency, language, locale, weight unit and unit system.
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
businessLocale?: BusinessLocale;
|
|
49
54
|
}
|
|
50
55
|
interface ServicePluginConfiguration {
|
|
51
56
|
/**
|
|
@@ -685,6 +690,44 @@ interface StreetAddress {
|
|
|
685
690
|
/** Street name. */
|
|
686
691
|
name?: string;
|
|
687
692
|
}
|
|
693
|
+
interface BusinessLocale {
|
|
694
|
+
/**
|
|
695
|
+
* Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
696
|
+
* Payment currency for the business (default is 'USD').
|
|
697
|
+
* @format CURRENCY
|
|
698
|
+
*/
|
|
699
|
+
currency?: string;
|
|
700
|
+
/**
|
|
701
|
+
* Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
702
|
+
* Used by the business for site content, emails, notifications, etc (default is 'en').
|
|
703
|
+
* @format LANGUAGE
|
|
704
|
+
*/
|
|
705
|
+
language?: string;
|
|
706
|
+
/** Locale for date, number, and measurement formatting (default is `en-US`). */
|
|
707
|
+
locale?: Locale;
|
|
708
|
+
/** Weight unit, based on locale. */
|
|
709
|
+
weightUnit?: WeightUnitWithLiterals;
|
|
710
|
+
/** Unit system, based on locale. */
|
|
711
|
+
unitSystem?: UnitSystemWithLiterals;
|
|
712
|
+
}
|
|
713
|
+
declare enum WeightUnit {
|
|
714
|
+
/** Weight unit can't be classified due to an error. */
|
|
715
|
+
UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
|
|
716
|
+
/** Kilograms. */
|
|
717
|
+
KG = "KG",
|
|
718
|
+
/** Pounds. */
|
|
719
|
+
LB = "LB"
|
|
720
|
+
}
|
|
721
|
+
/** @enumType */
|
|
722
|
+
type WeightUnitWithLiterals = WeightUnit | 'UNSPECIFIED_WEIGHT_UNIT' | 'KG' | 'LB';
|
|
723
|
+
declare enum UnitSystem {
|
|
724
|
+
/** Imperial unit system. For example, inches, feet, pounds, ounces, etc. */
|
|
725
|
+
IMPERIAL = "IMPERIAL",
|
|
726
|
+
/** Metric unit system. For example, centimeters, kilometers, grams, etc. */
|
|
727
|
+
METRIC = "METRIC"
|
|
728
|
+
}
|
|
729
|
+
/** @enumType */
|
|
730
|
+
type UnitSystemWithLiterals = UnitSystem | 'IMPERIAL' | 'METRIC';
|
|
688
731
|
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
689
732
|
/**
|
|
690
733
|
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
@@ -859,10 +902,11 @@ declare enum RequestedFields {
|
|
|
859
902
|
DELIVERY = "DELIVERY",
|
|
860
903
|
PREMIUM_SITE = "PREMIUM_SITE",
|
|
861
904
|
BUSINESS_INFO = "BUSINESS_INFO",
|
|
862
|
-
PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN = "PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN"
|
|
905
|
+
PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN = "PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN",
|
|
906
|
+
BUSINESS_LOCALE = "BUSINESS_LOCALE"
|
|
863
907
|
}
|
|
864
908
|
/** @enumType */
|
|
865
|
-
type RequestedFieldsWithLiterals = RequestedFields | 'ADDITIONAL_FEES_SERVICE_PLUGIN' | 'VALIDATIONS_SERVICE_PLUGIN' | 'TAX' | 'DISCOUNT_RULES' | 'CHECKOUT' | 'DELIVERY' | 'PREMIUM_SITE' | 'BUSINESS_INFO' | 'PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN';
|
|
909
|
+
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';
|
|
866
910
|
interface GetEcommerceSettingsResponse {
|
|
867
911
|
/** Ecommerce settings. */
|
|
868
912
|
ecommerceSettings?: EcommerceSettings;
|
|
@@ -1601,4 +1645,4 @@ declare function getEcommerceSettings(fields: RequestedFieldsWithLiterals[]): Pr
|
|
|
1601
1645
|
__applicationErrorsType?: GetEcommerceSettingsApplicationErrors;
|
|
1602
1646
|
}>;
|
|
1603
1647
|
|
|
1604
|
-
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 };
|
|
1648
|
+
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 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, UnitSystem, type UnitSystemWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getEcommerceSettings };
|
|
@@ -47,6 +47,11 @@ interface EcommerceSettings {
|
|
|
47
47
|
* @internal
|
|
48
48
|
*/
|
|
49
49
|
businessInfo?: BusinessProperties;
|
|
50
|
+
/**
|
|
51
|
+
* Business locale: currency, language, locale, weight unit and unit system.
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
businessLocale?: BusinessLocale;
|
|
50
55
|
}
|
|
51
56
|
interface ServicePluginConfiguration {
|
|
52
57
|
/**
|
|
@@ -727,6 +732,44 @@ interface StreetAddress {
|
|
|
727
732
|
/** Street name. */
|
|
728
733
|
name?: string;
|
|
729
734
|
}
|
|
735
|
+
interface BusinessLocale {
|
|
736
|
+
/**
|
|
737
|
+
* Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
738
|
+
* Payment currency for the business (default is 'USD').
|
|
739
|
+
* @format CURRENCY
|
|
740
|
+
*/
|
|
741
|
+
currency?: string;
|
|
742
|
+
/**
|
|
743
|
+
* Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
744
|
+
* Used by the business for site content, emails, notifications, etc (default is 'en').
|
|
745
|
+
* @format LANGUAGE
|
|
746
|
+
*/
|
|
747
|
+
language?: string;
|
|
748
|
+
/** Locale for date, number, and measurement formatting (default is `en-US`). */
|
|
749
|
+
locale?: Locale;
|
|
750
|
+
/** Weight unit, based on locale. */
|
|
751
|
+
weightUnit?: WeightUnitWithLiterals;
|
|
752
|
+
/** Unit system, based on locale. */
|
|
753
|
+
unitSystem?: UnitSystemWithLiterals;
|
|
754
|
+
}
|
|
755
|
+
declare enum WeightUnit {
|
|
756
|
+
/** Weight unit can't be classified due to an error. */
|
|
757
|
+
UNSPECIFIED_WEIGHT_UNIT = "UNSPECIFIED_WEIGHT_UNIT",
|
|
758
|
+
/** Kilograms. */
|
|
759
|
+
KG = "KG",
|
|
760
|
+
/** Pounds. */
|
|
761
|
+
LB = "LB"
|
|
762
|
+
}
|
|
763
|
+
/** @enumType */
|
|
764
|
+
type WeightUnitWithLiterals = WeightUnit | 'UNSPECIFIED_WEIGHT_UNIT' | 'KG' | 'LB';
|
|
765
|
+
declare enum UnitSystem {
|
|
766
|
+
/** Imperial unit system. For example, inches, feet, pounds, ounces, etc. */
|
|
767
|
+
IMPERIAL = "IMPERIAL",
|
|
768
|
+
/** Metric unit system. For example, centimeters, kilometers, grams, etc. */
|
|
769
|
+
METRIC = "METRIC"
|
|
770
|
+
}
|
|
771
|
+
/** @enumType */
|
|
772
|
+
type UnitSystemWithLiterals = UnitSystem | 'IMPERIAL' | 'METRIC';
|
|
730
773
|
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
731
774
|
/**
|
|
732
775
|
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
@@ -901,10 +944,11 @@ declare enum RequestedFields {
|
|
|
901
944
|
DELIVERY = "DELIVERY",
|
|
902
945
|
PREMIUM_SITE = "PREMIUM_SITE",
|
|
903
946
|
BUSINESS_INFO = "BUSINESS_INFO",
|
|
904
|
-
PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN = "PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN"
|
|
947
|
+
PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN = "PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN",
|
|
948
|
+
BUSINESS_LOCALE = "BUSINESS_LOCALE"
|
|
905
949
|
}
|
|
906
950
|
/** @enumType */
|
|
907
|
-
type RequestedFieldsWithLiterals = RequestedFields | 'ADDITIONAL_FEES_SERVICE_PLUGIN' | 'VALIDATIONS_SERVICE_PLUGIN' | 'TAX' | 'DISCOUNT_RULES' | 'CHECKOUT' | 'DELIVERY' | 'PREMIUM_SITE' | 'BUSINESS_INFO' | 'PURCHASE_RECOMMENDATIONS_SERVICE_PLUGIN';
|
|
951
|
+
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';
|
|
908
952
|
interface GetEcommerceSettingsResponse {
|
|
909
953
|
/** Ecommerce settings. */
|
|
910
954
|
ecommerceSettings?: EcommerceSettings;
|
|
@@ -1686,4 +1730,4 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
1686
1730
|
};
|
|
1687
1731
|
declare function getEcommerceSettings(): __PublicMethodMetaInfo<'GET', {}, GetEcommerceSettingsRequest$1, GetEcommerceSettingsRequest, GetEcommerceSettingsResponse$1, GetEcommerceSettingsResponse>;
|
|
1688
1732
|
|
|
1689
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ActiveProvider as ActiveProviderOriginal, type Address as AddressOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type App as AppOriginal, type AssignedFromFloatingReason as AssignedFromFloatingReasonOriginal, type BackgroundFillOptionsOneOf as BackgroundFillOptionsOneOfOriginal, type BackgroundFill as BackgroundFillOriginal, type BooleanFeature as BooleanFeatureOriginal, type BusinessProperties as BusinessPropertiesOriginal, type CancelRequestedReason as CancelRequestedReasonOriginal, type CheckboxField as CheckboxFieldOriginal, CheckoutBillingFields as CheckoutBillingFieldsOriginal, type CheckoutBillingFieldsWithLiterals as CheckoutBillingFieldsWithLiteralsOriginal, type CheckoutBrand as CheckoutBrandOriginal, type CheckoutFields as CheckoutFieldsOriginal, type CheckoutFooter as CheckoutFooterOriginal, type CheckoutGlobal as CheckoutGlobalOriginal, type CheckoutHeader as CheckoutHeaderOriginal, type CheckoutMain as CheckoutMainOriginal, type CheckoutPolicies as CheckoutPoliciesOriginal, type CheckoutSettings as CheckoutSettingsOriginal, type ContactUsPolicy as ContactUsPolicyOriginal, type ContinueShopping as ContinueShoppingOriginal, ContractSwitchClassification as ContractSwitchClassificationOriginal, type ContractSwitchClassificationWithLiterals as ContractSwitchClassificationWithLiteralsOriginal, type ContractSwitchedReason as ContractSwitchedReasonOriginal, type CountryDeliveryProperties as CountryDeliveryPropertiesOriginal, type CustomCheckoutPolicy as CustomCheckoutPolicyOriginal, type CustomTag as CustomTagOriginal, type DeliveryConfiguration as DeliveryConfigurationOriginal, type DeliveryDestinationProperties as DeliveryDestinationPropertiesOriginal, DeliveryMethodType as DeliveryMethodTypeOriginal, type DeliveryMethodTypeWithLiterals as DeliveryMethodTypeWithLiteralsOriginal, type Destination as DestinationOriginal, DestinationScope as DestinationScopeOriginal, type DestinationScopeWithLiterals as DestinationScopeWithLiteralsOriginal, type DigitalItemPolicy as DigitalItemPolicyOriginal, type DiscountRulesConfiguration as DiscountRulesConfigurationOriginal, DisplayType as DisplayTypeOriginal, type DisplayTypeWithLiterals as DisplayTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EcomSitePropertiesChangedEvent as EcomSitePropertiesChangedEventOriginal, type EcommerceSettings as EcommerceSettingsOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type Error as ErrorOriginal, ExpressButtonsCornerRadius as ExpressButtonsCornerRadiusOriginal, type ExpressButtonsCornerRadiusWithLiterals as ExpressButtonsCornerRadiusWithLiteralsOriginal, type FeatureCancelled as FeatureCancelledOriginal, type FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOfOriginal, type FeatureContext as FeatureContextOriginal, type FeatureDisabled as FeatureDisabledOriginal, type FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOfOriginal, type FeatureEnabled as FeatureEnabledOriginal, type FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOfOriginal, type FeatureEventEventOneOf as FeatureEventEventOneOfOriginal, type FeatureEvent as FeatureEventOriginal, type Feature as FeatureOriginal, FeaturePeriod as FeaturePeriodOriginal, type FeaturePeriodWithLiterals as FeaturePeriodWithLiteralsOriginal, type FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOfOriginal, type FeatureQuotaUsageChanged as FeatureQuotaUsageChangedOriginal, type FeatureUpdated as FeatureUpdatedOriginal, type FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOfOriginal, type FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOfOriginal, type File as FileOriginal, type FocalPoint as FocalPointOriginal, type GetEcommerceSettingsApplicationErrors as GetEcommerceSettingsApplicationErrorsOriginal, type GetEcommerceSettingsRequest as GetEcommerceSettingsRequestOriginal, type GetEcommerceSettingsResponse as GetEcommerceSettingsResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, InputFieldBackgroundStyle as InputFieldBackgroundStyleOriginal, type InputFieldBackgroundStyleWithLiterals as InputFieldBackgroundStyleWithLiteralsOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type Locale as LocaleOriginal, type Logo as LogoOriginal, LogoSize as LogoSizeOriginal, type LogoSizeWithLiterals as LogoSizeWithLiteralsOriginal, type ManualFeatureCreationReason as ManualFeatureCreationReasonOriginal, type ManualSyncReason as ManualSyncReasonOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MigratedFromLegacyReason as MigratedFromLegacyReasonOriginal, type NewFeatureReason as NewFeatureReasonOriginal, type Page as PageOriginal, type Pages as PagesOriginal, type PrivacyPolicy as PrivacyPolicyOriginal, type QuotaExhaustedReason as QuotaExhaustedReasonOriginal, type QuotaFeature as QuotaFeatureOriginal, type QuotaInfoEntry as QuotaInfoEntryOriginal, type QuotaInfo as QuotaInfoOriginal, type ReassignedFromSiteReason as ReassignedFromSiteReasonOriginal, type ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReasonOriginal, type ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReasonOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type ReturnPolicy as ReturnPolicyOriginal, type ServicePluginConfiguration as ServicePluginConfigurationOriginal, type StreetAddress as StreetAddressOriginal, type SubdivisionDeliveryProperties as SubdivisionDeliveryPropertiesOriginal, type SubscriptionCheckboxField as SubscriptionCheckboxFieldOriginal, type TaxConfiguration as TaxConfigurationOriginal, type TermsAndConditionsPolicy as TermsAndConditionsPolicyOriginal, TestMode as TestModeOriginal, type TestModeWithLiterals as TestModeWithLiteralsOriginal, type TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReasonOriginal, type TransferredToAnotherAccountReason as TransferredToAnotherAccountReasonOriginal, TriggerFlow as TriggerFlowOriginal, type TriggerFlowWithLiterals as TriggerFlowWithLiteralsOriginal, type URI as URIOriginal, type URIs as URIsOriginal, type UnAssingedToFloatingReason as UnAssingedToFloatingReasonOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, getEcommerceSettings };
|
|
1733
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ActiveProvider as ActiveProviderOriginal, type Address as AddressOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type App as AppOriginal, type AssignedFromFloatingReason as AssignedFromFloatingReasonOriginal, type BackgroundFillOptionsOneOf as BackgroundFillOptionsOneOfOriginal, type BackgroundFill as BackgroundFillOriginal, type BooleanFeature as BooleanFeatureOriginal, type BusinessLocale as BusinessLocaleOriginal, type BusinessProperties as BusinessPropertiesOriginal, type CancelRequestedReason as CancelRequestedReasonOriginal, type CheckboxField as CheckboxFieldOriginal, CheckoutBillingFields as CheckoutBillingFieldsOriginal, type CheckoutBillingFieldsWithLiterals as CheckoutBillingFieldsWithLiteralsOriginal, type CheckoutBrand as CheckoutBrandOriginal, type CheckoutFields as CheckoutFieldsOriginal, type CheckoutFooter as CheckoutFooterOriginal, type CheckoutGlobal as CheckoutGlobalOriginal, type CheckoutHeader as CheckoutHeaderOriginal, type CheckoutMain as CheckoutMainOriginal, type CheckoutPolicies as CheckoutPoliciesOriginal, type CheckoutSettings as CheckoutSettingsOriginal, type ContactUsPolicy as ContactUsPolicyOriginal, type ContinueShopping as ContinueShoppingOriginal, ContractSwitchClassification as ContractSwitchClassificationOriginal, type ContractSwitchClassificationWithLiterals as ContractSwitchClassificationWithLiteralsOriginal, type ContractSwitchedReason as ContractSwitchedReasonOriginal, type CountryDeliveryProperties as CountryDeliveryPropertiesOriginal, type CustomCheckoutPolicy as CustomCheckoutPolicyOriginal, type CustomTag as CustomTagOriginal, type DeliveryConfiguration as DeliveryConfigurationOriginal, type DeliveryDestinationProperties as DeliveryDestinationPropertiesOriginal, DeliveryMethodType as DeliveryMethodTypeOriginal, type DeliveryMethodTypeWithLiterals as DeliveryMethodTypeWithLiteralsOriginal, type Destination as DestinationOriginal, DestinationScope as DestinationScopeOriginal, type DestinationScopeWithLiterals as DestinationScopeWithLiteralsOriginal, type DigitalItemPolicy as DigitalItemPolicyOriginal, type DiscountRulesConfiguration as DiscountRulesConfigurationOriginal, DisplayType as DisplayTypeOriginal, type DisplayTypeWithLiterals as DisplayTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EcomSitePropertiesChangedEvent as EcomSitePropertiesChangedEventOriginal, type EcommerceSettings as EcommerceSettingsOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type Error as ErrorOriginal, ExpressButtonsCornerRadius as ExpressButtonsCornerRadiusOriginal, type ExpressButtonsCornerRadiusWithLiterals as ExpressButtonsCornerRadiusWithLiteralsOriginal, type FeatureCancelled as FeatureCancelledOriginal, type FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOfOriginal, type FeatureContext as FeatureContextOriginal, type FeatureDisabled as FeatureDisabledOriginal, type FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOfOriginal, type FeatureEnabled as FeatureEnabledOriginal, type FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOfOriginal, type FeatureEventEventOneOf as FeatureEventEventOneOfOriginal, type FeatureEvent as FeatureEventOriginal, type Feature as FeatureOriginal, FeaturePeriod as FeaturePeriodOriginal, type FeaturePeriodWithLiterals as FeaturePeriodWithLiteralsOriginal, type FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOfOriginal, type FeatureQuotaUsageChanged as FeatureQuotaUsageChangedOriginal, type FeatureUpdated as FeatureUpdatedOriginal, type FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOfOriginal, type FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOfOriginal, type File as FileOriginal, type FocalPoint as FocalPointOriginal, type GetEcommerceSettingsApplicationErrors as GetEcommerceSettingsApplicationErrorsOriginal, type GetEcommerceSettingsRequest as GetEcommerceSettingsRequestOriginal, type GetEcommerceSettingsResponse as GetEcommerceSettingsResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, InputFieldBackgroundStyle as InputFieldBackgroundStyleOriginal, type InputFieldBackgroundStyleWithLiterals as InputFieldBackgroundStyleWithLiteralsOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type Locale as LocaleOriginal, type Logo as LogoOriginal, LogoSize as LogoSizeOriginal, type LogoSizeWithLiterals as LogoSizeWithLiteralsOriginal, type ManualFeatureCreationReason as ManualFeatureCreationReasonOriginal, type ManualSyncReason as ManualSyncReasonOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MigratedFromLegacyReason as MigratedFromLegacyReasonOriginal, type NewFeatureReason as NewFeatureReasonOriginal, type Page as PageOriginal, type Pages as PagesOriginal, type PrivacyPolicy as PrivacyPolicyOriginal, type QuotaExhaustedReason as QuotaExhaustedReasonOriginal, type QuotaFeature as QuotaFeatureOriginal, type QuotaInfoEntry as QuotaInfoEntryOriginal, type QuotaInfo as QuotaInfoOriginal, type ReassignedFromSiteReason as ReassignedFromSiteReasonOriginal, type ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReasonOriginal, type ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReasonOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type ReturnPolicy as ReturnPolicyOriginal, type ServicePluginConfiguration as ServicePluginConfigurationOriginal, type StreetAddress as StreetAddressOriginal, type SubdivisionDeliveryProperties as SubdivisionDeliveryPropertiesOriginal, type SubscriptionCheckboxField as SubscriptionCheckboxFieldOriginal, type TaxConfiguration as TaxConfigurationOriginal, type TermsAndConditionsPolicy as TermsAndConditionsPolicyOriginal, TestMode as TestModeOriginal, type TestModeWithLiterals as TestModeWithLiteralsOriginal, type TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReasonOriginal, type TransferredToAnotherAccountReason as TransferredToAnotherAccountReasonOriginal, TriggerFlow as TriggerFlowOriginal, type TriggerFlowWithLiterals as TriggerFlowWithLiteralsOriginal, type URI as URIOriginal, type URIs as URIsOriginal, type UnAssingedToFloatingReason as UnAssingedToFloatingReasonOriginal, UnitSystem as UnitSystemOriginal, type UnitSystemWithLiterals as UnitSystemWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, getEcommerceSettings };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_ecommerce-settings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
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": "
|
|
53
|
+
"falconPackageHash": "ed5449f7617f8423b1bd2ae3474c27a259eaa2af8f197f5129c12124"
|
|
54
54
|
}
|