@wix/auto_sdk_ecom_ecommerce-settings 1.0.2 → 1.0.4

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 +1 @@
1
- {"version":3,"sources":["../../meta.ts","../../src/ecom-v1-ecommerce-settings-ecommerce-settings.http.ts","../../src/ecom-v1-ecommerce-settings-ecommerce-settings.types.ts","../../src/ecom-v1-ecommerce-settings-ecommerce-settings.meta.ts"],"sourcesContent":["export * from './src/ecom-v1-ecommerce-settings-ecommerce-settings.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEcomEcommerceSettingsV1EcommerceSettingsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _: [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_ecommerce-settings';\n\n/** Retrieves site eCommerce settings. */\nexport function getEcommerceSettings(\n payload: object\n): RequestOptionsFactory<any> {\n function __getEcommerceSettings({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.ecommerce_settings',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.ecommerce_settings.v1.EcommerceSettingsService.GetEcommerceSettings',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomEcommerceSettingsV1EcommerceSettingsServiceUrl({\n protoPath: '/v1/ecommerce-settings',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'ecommerceSettings.checkout.createdDate' },\n { path: 'ecommerceSettings.checkout.updatedDate' },\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.logo.image.urlExpirationDate',\n },\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.backgroundFill.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.logo.image.focalPoint.x',\n },\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.logo.image.focalPoint.y',\n },\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.backgroundFill.image.focalPoint.x',\n },\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.backgroundFill.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getEcommerceSettings;\n}\n","export interface EcommerceSettings {}\n\nexport interface ServicePluginConfiguration {\n /**\n * List of active providers.\n * @maxSize 100\n */\n activeProviders?: ActiveProvider[];\n}\n\nexport interface ActiveProvider {\n /**\n * App ID of the provider.\n * @format GUID\n */\n appId?: string;\n /**\n * Flows that trigger the provider.\n * @maxSize 100\n */\n triggerFlows?: TriggerFlowWithLiterals[];\n}\n\nexport enum TriggerFlow {\n /** Provider is triggered during cart interactions. */\n CART = 'CART',\n /** Provider is triggered during the checkout process. */\n CHECKOUT = 'CHECKOUT',\n}\n\n/** @enumType */\nexport type TriggerFlowWithLiterals = TriggerFlow | 'CART' | 'CHECKOUT';\n\nexport interface TaxConfiguration {\n /**\n * Whether at least one tax region is configured and connected to a tax calculator.\n * Learn more about the [Tax Regions API](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tax/tax-regions/introduction).\n */\n configured?: boolean | null;\n /**\n * Whether tax is included in item prices.\n * Learn more about [tax inclusion in item prices](https://support.wix.com/en/article/including-tax-in-the-product-price).\n */\n taxIncludedInItemPrices?: boolean | null;\n}\n\nexport interface DiscountRulesConfiguration {\n /**\n * Whether at least one discount rule is configured and active.\n * Learn more about the [Discount Rules API](https://dev.wix.com/docs/rest/business-solutions/e-commerce/discount-rules/introduction).\n */\n active?: boolean | null;\n}\n\nexport interface CheckoutSettings {\n /** Checkout policies. */\n checkoutPolicies?: CheckoutPolicies;\n /** Settings that apply to checkout fields and the checkout process. */\n checkoutFields?: CheckoutFields;\n /** Checkout brand settings. */\n checkoutBrand?: CheckoutBrand;\n /**\n * Date and time the checkout settings were created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the checkout settings were updated.\n * @readonly\n */\n updatedDate?: Date | null;\n}\n\nexport interface CheckoutPolicies {\n /** Terms and conditions. */\n termsAndConditions?: TermsAndConditionsPolicy;\n /** Privacy policy. */\n privacyPolicy?: PrivacyPolicy;\n /** Return policy. */\n returnPolicy?: ReturnPolicy;\n /** Digital item policy. */\n digitalItemPolicy?: DigitalItemPolicy;\n /** \"Contact us\" information. */\n contactUs?: ContactUsPolicy;\n /** Custom policy. */\n customPolicy?: CustomCheckoutPolicy;\n}\n\nexport interface TermsAndConditionsPolicy {\n /**\n * Whether the terms and conditions policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Terms and conditions policy content. */\n content?: string | null;\n}\n\nexport interface PrivacyPolicy {\n /**\n * Whether the privacy policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Privacy policy content. */\n content?: string | null;\n}\n\nexport interface ReturnPolicy {\n /**\n * Whether the return policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Return policy content. */\n content?: string | null;\n}\n\nexport interface DigitalItemPolicy {\n /**\n * Whether the digital item policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Digital item policy content. */\n content?: string | null;\n}\n\nexport interface ContactUsPolicy {\n /**\n * Whether the contact us policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Contact us policy content. */\n content?: string | null;\n}\n\nexport interface CustomCheckoutPolicy {\n /**\n * Whether the custom policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Custom policy content. */\n content?: string | null;\n /** Custom policy title. */\n title?: string | null;\n}\n\nexport interface CheckoutFields {\n /**\n * Subscription checkbox. <br><br>\n *\n * Defaults:\n * + `visible`: `false`\n * + `checkedByDefault`: `false`\n */\n subscriptionCheckbox?: CheckboxField;\n /**\n * Policy agreement checkbox. <br><br>\n *\n * Defaults:\n * + `visible`: `false`\n * + `checkedByDefault`: `false`\n */\n policyAgreementCheckbox?: CheckboxField;\n /**\n * Whether the ability to redeem a gift card is enabled. <br><br>\n *\n * Default: `false`\n */\n giftCardRedeemEnabled?: boolean | null;\n /**\n * Whether to allow for MIT transactions. <br><br>\n *\n * Default: `false`\n */\n mitEnabled?: boolean | null;\n /**\n * Whether to allow for Auth & Capture transactions. <br><br>\n *\n * Default: `false`\n */\n delayCaptureEnabled?: boolean | null;\n /**\n * Whether to automatically capture the transaction before the authorization expires.\n *\n * Default: `true`\n * >**Note:** this setting is only relevant when `delay_capture_enabled: true`.\n */\n captureBeforeExpiryEnabled?: boolean | null;\n}\n\nexport interface CheckboxField {\n /** Whether the checkbox is visible to the customer. */\n visible?: boolean | null;\n /** Whether the checkbox is checked by default. */\n checkedByDefault?: boolean | null;\n}\n\nexport interface CheckoutBrand {\n /** Checkout header. */\n header?: CheckoutHeader;\n}\n\nexport interface CheckoutHeader {\n /**\n * Textual content to be included in the header (e.g. Business Name)\n * @maxLength 55\n */\n text?: string | null;\n /** Specifications for when a logo is included in the header. */\n logo?: Logo;\n /**\n * Alignment within the header.\n *\n * >**Note:** `SIDE` alignment is decided depending on the locale's language. For example, scripts like Hebrew and Arabic will automatically align right-to-left.\n */\n alignment?: AlignmentWithLiterals;\n /**\n * Whether to display the 'Checkout' label within the header.\n * Depending on the locale, the label may be translated.\n */\n displayCheckoutLabel?: boolean | null;\n}\n\nexport interface Logo {\n /** Size of the logo. */\n size?: LogoSizeWithLiterals;\n}\n\nexport interface Image {\n /** WixMedia image ID. */\n id?: string;\n /** Image URL. */\n url?: string;\n /**\n * Original image height.\n * @readonly\n */\n height?: number;\n /**\n * Original image width.\n * @readonly\n */\n width?: number;\n /** Image alt text. */\n altText?: string | null;\n /**\n * Image filename.\n * @readonly\n */\n filename?: string | null;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport enum LogoSize {\n UNKNOWN_LOGO_SIZE = 'UNKNOWN_LOGO_SIZE',\n SMALL = 'SMALL',\n MEDIUM = 'MEDIUM',\n LARGE = 'LARGE',\n}\n\n/** @enumType */\nexport type LogoSizeWithLiterals =\n | LogoSize\n | 'UNKNOWN_LOGO_SIZE'\n | 'SMALL'\n | 'MEDIUM'\n | 'LARGE';\n\nexport enum Alignment {\n UNKNOWN_ALIGNMENT = 'UNKNOWN_ALIGNMENT',\n SIDE = 'SIDE',\n CENTER = 'CENTER',\n}\n\n/** @enumType */\nexport type AlignmentWithLiterals =\n | Alignment\n | 'UNKNOWN_ALIGNMENT'\n | 'SIDE'\n | 'CENTER';\n\nexport interface ContinueShopping {\n /** Whether the continue shopping element is hidden. */\n hidden?: boolean | null;\n /** Display type for the continue shopping element. */\n displayType?: DisplayTypeWithLiterals;\n}\n\nexport enum DisplayType {\n UNKNOWN_DISPLAY_TYPE = 'UNKNOWN_DISPLAY_TYPE',\n TEXT = 'TEXT',\n ICON = 'ICON',\n}\n\n/** @enumType */\nexport type DisplayTypeWithLiterals =\n | DisplayType\n | 'UNKNOWN_DISPLAY_TYPE'\n | 'TEXT'\n | 'ICON';\n\nexport interface BackgroundFill extends BackgroundFillOptionsOneOf {\n /**\n * Background color hex code.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** Background image. */\n image?: Image;\n}\n\n/** @oneof */\nexport interface BackgroundFillOptionsOneOf {\n /**\n * Background color hex code.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** Background image. */\n image?: Image;\n}\n\nexport enum CheckoutBillingFields {\n /** Default value. This value is unused. */\n UNKNOWN_CHECKOUT_BILLING_FIELDS = 'UNKNOWN_CHECKOUT_BILLING_FIELDS',\n /** All billing information fields are required. */\n All_FIELDS = 'All_FIELDS',\n /** Minimum required fields as defined by the country, payment method and payment provider. */\n MINIMUM_REQUIRED_FIELDS = 'MINIMUM_REQUIRED_FIELDS',\n}\n\n/** @enumType */\nexport type CheckoutBillingFieldsWithLiterals =\n | CheckoutBillingFields\n | 'UNKNOWN_CHECKOUT_BILLING_FIELDS'\n | 'All_FIELDS'\n | 'MINIMUM_REQUIRED_FIELDS';\n\nexport interface DeliveryConfiguration {\n /**\n * Scope of destinations, when `WORLDWIDE` is selected, the destinations list will be empty.\n * @deprecated Scope of destinations, when `WORLDWIDE` is selected, the destinations list will be empty.\n * @targetRemovalDate 2025-12-31\n */\n destinationScope?: DestinationScopeWithLiterals;\n /**\n * The list of destinations.\n * @maxSize 200\n * @deprecated The list of destinations.\n * @targetRemovalDate 2025-12-31\n */\n destinations?: Destination[];\n /**\n * Whether postal code is required to support delivery calculations.\n * @deprecated Whether postal code is required to support delivery calculations.\n * @targetRemovalDate 2025-12-31\n */\n postalCodeRequired?: boolean | null;\n /**\n * List of countries and subdivisions and their delivery destination properties\n * @maxSize 195\n */\n countries?: CountryDeliveryProperties[];\n /** Delivery destination properties for Rest Of World */\n restOfWorld?: DeliveryDestinationProperties;\n}\n\nexport enum DestinationScope {\n /** No additional destinations are requested */\n SPECIFIC_DESTINATIONS = 'SPECIFIC_DESTINATIONS',\n /** All Destinations */\n WORLDWIDE = 'WORLDWIDE',\n}\n\n/** @enumType */\nexport type DestinationScopeWithLiterals =\n | DestinationScope\n | 'SPECIFIC_DESTINATIONS'\n | 'WORLDWIDE';\n\n/** Defines the area inside one country that is relevant for this delivery region. */\nexport interface Destination {\n /**\n * 2-letters code represents the country of the delivery destinations\n * @format COUNTRY\n */\n countryCode?: string;\n /**\n * subdivisions - Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).\n * If empty, the delivery region applies to the entire country.\n * @maxSize 100\n * @minLength 1\n * @maxLength 256\n */\n subdivisions?: string[];\n}\n\nexport interface CountryDeliveryProperties {\n /**\n * Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.\n * @format COUNTRY\n */\n country?: string;\n /** Delivery destination properties for country */\n deliveryDestinationProperties?: DeliveryDestinationProperties;\n /**\n * List of subdivisions and their delivery destination properties\n * @maxSize 100\n */\n subdivisions?: SubdivisionDeliveryProperties[];\n}\n\nexport interface DeliveryDestinationProperties {\n /** True if postal code is required for delivery in this destination */\n postalCodeRequired?: boolean;\n /** True if only pickup is available in this destination */\n pickupOnly?: boolean;\n}\n\nexport interface SubdivisionDeliveryProperties {\n /**\n * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.\n * @minLength 1\n * @maxLength 5\n */\n subdivision?: string;\n /** Delivery destination properties for subdivision */\n deliveryDestinationProperties?: DeliveryDestinationProperties;\n}\n\n/** Ecommerce business properties, as defined in the source of truth: `site-properties`, including default values. */\nexport interface BusinessProperties {\n /**\n * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n * Payment currency for the business (default is 'USD').\n * @format CURRENCY\n */\n currency?: string;\n /**\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n * Used by the business for site content, emails, notifications, etc (default is 'en').\n * @format LANGUAGE\n */\n language?: string;\n /** Locale for date, number, and measurement formatting (default is `en-US`). */\n locale?: Locale;\n /** Physical address of the business. */\n address?: Address;\n /** Business name. */\n name?: string | null;\n /** Business email address. */\n email?: string | null;\n /** Business phone number. */\n phone?: string | null;\n /** Business fax number. */\n fax?: string | null;\n /** Path to the business logo in Wix Media. */\n logo?: string | null;\n /** Business time zone. */\n timeZone?: string | null;\n /** Site display name. */\n siteDisplayName?: string | null;\n}\n\n/** Locale for date, number, and measurement formats. */\nexport interface Locale {\n /**\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n * @format LANGUAGE\n */\n language?: string;\n /**\n * Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.\n * @format COUNTRY\n */\n country?: string | null;\n}\n\n/** Physical address */\nexport interface Address {\n /**\n * Country code.\n * @format COUNTRY\n */\n country?: string | null;\n /** Subdivision code in ISO 3166-2 format, e.g., \"US-NY\". */\n subdivision?: string | null;\n /** City name. */\n city?: string | null;\n /** Zip/postal code. */\n postalCode?: string | null;\n /** Street name and number. */\n streetAddress?: StreetAddress;\n}\n\nexport interface StreetAddress {\n /** Street number. */\n number?: string;\n /** Street name. */\n name?: string;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface GetEcommerceSettingsRequest {\n /**\n * Fields to include in the response.\n * @minSize 1\n * @maxSize 25\n */\n fields: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\n ADDITIONAL_FEES_SERVICE_PLUGIN = 'ADDITIONAL_FEES_SERVICE_PLUGIN',\n VALIDATIONS_SERVICE_PLUGIN = 'VALIDATIONS_SERVICE_PLUGIN',\n TAX = 'TAX',\n DISCOUNT_RULES = 'DISCOUNT_RULES',\n CHECKOUT = 'CHECKOUT',\n DELIVERY = 'DELIVERY',\n PREMIUM_SITE = 'PREMIUM_SITE',\n BUSINESS_INFO = 'BUSINESS_INFO',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'UNKNOWN_REQUESTED_FIELD'\n | 'ADDITIONAL_FEES_SERVICE_PLUGIN'\n | 'VALIDATIONS_SERVICE_PLUGIN'\n | 'TAX'\n | 'DISCOUNT_RULES'\n | 'CHECKOUT'\n | 'DELIVERY'\n | 'PREMIUM_SITE'\n | 'BUSINESS_INFO';\n\nexport interface GetEcommerceSettingsResponse {\n /** Ecommerce settings. */\n ecommerceSettings?: EcommerceSettings;\n /** A list of errors that occurred while retrieving the eCommerce settings. */\n errors?: Error[];\n}\n\nexport interface Error {\n /** The requested field the error is related to. */\n requestedField?: RequestedFieldsWithLiterals;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface FeatureEvent extends FeatureEventEventOneOf {\n /**\n * Information about an event that makes a feature eligible to the user.\n * Triggered for example, for new features or when a feature is reassigned\n * to an account or a site.\n */\n enabled?: FeatureEnabled;\n /**\n * Information about an event that disables a feature for the user.\n * Triggered for example, when a feature is unassigned from a site,\n * reassigned to a different site, or the user switched to a different contract.\n */\n disabled?: FeatureDisabled;\n /**\n * Information about an event that updates a feature. An `updated` event\n * is triggered for example by the\n * [Report Quota Usage](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/report-quota-usage)\n * and [Reset Usage Counter](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/reset-usage-counter)\n * endpoints.\n */\n updated?: FeatureUpdated;\n /**\n * Information about an event that cancels a feature for the user.\n * Triggered for example, when a feature is canceled, transferred to\n * another account, or the user switched to a different contract.\n */\n cancelled?: FeatureCancelled;\n /**\n * Timestamp of the event in\n * [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).\n */\n timestamp?: Date | null;\n}\n\n/** @oneof */\nexport interface FeatureEventEventOneOf {\n /**\n * Information about an event that makes a feature eligible to the user.\n * Triggered for example, for new features or when a feature is reassigned\n * to an account or a site.\n */\n enabled?: FeatureEnabled;\n /**\n * Information about an event that disables a feature for the user.\n * Triggered for example, when a feature is unassigned from a site,\n * reassigned to a different site, or the user switched to a different contract.\n */\n disabled?: FeatureDisabled;\n /**\n * Information about an event that updates a feature. An `updated` event\n * is triggered for example by the\n * [Report Quota Usage](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/report-quota-usage)\n * and [Reset Usage Counter](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/reset-usage-counter)\n * endpoints.\n */\n updated?: FeatureUpdated;\n /**\n * Information about an event that cancels a feature for the user.\n * Triggered for example, when a feature is canceled, transferred to\n * another account, or the user switched to a different contract.\n */\n cancelled?: FeatureCancelled;\n}\n\n/** Feature created or enabled after disabled state */\nexport interface FeatureEnabled extends FeatureEnabledReasonOneOf {\n /** Information about a transfer from another account. */\n transferredFromAnotherAccount?: TransferredFromAnotherAccountReason;\n /** Information about a transfer from another site. */\n reassignedFromSite?: ReassignedFromSiteReason;\n /** Information about a feature that hadn't been assigned to site. */\n assignedFromFloating?: AssignedFromFloatingReason;\n /** Information about the new feature. */\n newFeature?: NewFeatureReason;\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n /** Information about the manually created features. */\n manualFeatureCreation?: ManualFeatureCreationReason;\n /** Information about a feature that was migrated from legacy. */\n migratedFromLegacy?: MigratedFromLegacyReason;\n /** Enabled feature. */\n feature?: Feature;\n /**\n * Information about a transfer from another account.\n * __Deprecated__. Use `reason.transferred_from_another_account` instead.\n * @format GUID\n */\n transferredFromAccount?: string | null;\n /**\n * Information about a transfer from another site.\n * __Deprecated__. Use `reason.reassigned_from_site` instead.\n * @format GUID\n */\n reassignedFromMetasite?: string | null;\n}\n\n/** @oneof */\nexport interface FeatureEnabledReasonOneOf {\n /** Information about a transfer from another account. */\n transferredFromAnotherAccount?: TransferredFromAnotherAccountReason;\n /** Information about a transfer from another site. */\n reassignedFromSite?: ReassignedFromSiteReason;\n /** Information about a feature that hadn't been assigned to site. */\n assignedFromFloating?: AssignedFromFloatingReason;\n /** Information about the new feature. */\n newFeature?: NewFeatureReason;\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n /** Information about the manually created features. */\n manualFeatureCreation?: ManualFeatureCreationReason;\n /** Information about a feature that was migrated from legacy. */\n migratedFromLegacy?: MigratedFromLegacyReason;\n}\n\nexport interface Feature extends FeatureQuantityInfoOneOf {\n /**\n * Deprecated. Use `enabled` instead.\n * @deprecated\n */\n booleanFeature?: BooleanFeature;\n /**\n * Deprecated. Use `quotaInfo` instead.\n * @deprecated\n */\n quotaFeature?: QuotaFeature;\n /**\n * ID of the feature. __Note:__ Isn't unique. For example, all features that\n * are available to free Wix accounts or site in some capacity have\n * `{\"id\": \"DEFAULT\"}`. Use `uniqueName` as unique identifier for a feature.\n * @readonly\n */\n id?: string;\n /**\n * Unique name of the feature. Only lower case letters, numbers, and dashes\n * `-` are supported. Used in the endpoints of the\n * [Features Manager API](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/introduction)\n * to specify the feature. Not visible to customers. We recommend to start\n * the unique name with a prefix describing your organization or Wix company.\n * For example, `bookings` or `crm`.\n *\n * Min: 2 characters\n * Max: 50 characters\n * @minLength 2\n * @maxLength 50\n */\n uniqueName?: string;\n /**\n * Information about whether the feature belongs to a Wix account or site.\n * Account features have `context.userId`. Site features have `context.metaSiteId` in case\n * they're assigned to a specific site. Site features that aren't assigned to\n * a specific site have neither ID.\n */\n context?: FeatureContext;\n /**\n * Deprecated.\n * @readonly\n * @deprecated\n */\n createdAt?: Date | null;\n /**\n * Deprecated.\n * @readonly\n * @deprecated\n */\n updatedAt?: Date | null;\n /**\n * Aggregated information about how often customers can use the feature.\n * Available only for quota features.\n */\n quotaInfo?: QuotaInfo;\n /**\n * Whether the customer is currently allowed to use the feature.\n * `true` means that the customer can use the feature. This means a boolean\n * feature is active or a quota feature has remaining usage.\n * `false` means that the customer can't use the feature.\n * This means a boolean feature isn't active or a quota feature doesn't\n * have remaining usage.\n */\n enabled?: boolean;\n /**\n * ID of the [subscription](https://bo.wix.com/wix-docs/rest/premium/premium-subscriptions-manager/subscription-object)\n * to which the feature instance belongs.\n * @format GUID\n */\n subscriptionId?: string | null;\n /**\n * Metadata of the feature. Wix Premium uses the metadata object to indicate\n * that customers who purchase a product with the feature also get\n * access to an additional product. For these bundled products `metadata`\n * looks like this: `{\"tpa\": \"{\"appDefId\": \"sample-app-def-id-1234567890\", \"vendorProductId\": \"sample-productId\"}}\"`.\n * But you can use the `metadata` property for other purposes, too.\n */\n metadata?: Record<string, string>;\n}\n\n/** @oneof */\nexport interface FeatureQuantityInfoOneOf {\n /**\n * Deprecated. Use `enabled` instead.\n * @deprecated\n */\n booleanFeature?: BooleanFeature;\n /**\n * Deprecated. Use `quotaInfo` instead.\n * @deprecated\n */\n quotaFeature?: QuotaFeature;\n}\n\n/**\n * Context this feature is currently connected to.\n * Note: Do not confuse with feature scope which is configured in the product catalog\n * and defines in which context the product can be used\n */\nexport interface FeatureContext {\n /**\n * ID of the Wix account that the feature instance belongs to.\n * Available for both site and account level feature instances.\n * @format GUID\n */\n userId?: string;\n /**\n * ID of the meta site that the feature instance is assigned to.\n * Only available for site level feature instances that are assigned to a Wix\n * site. Not available for account level and unassigned site level feature\n * instances.\n * @format GUID\n */\n metaSiteId?: string | null;\n}\n\n/**\n * A feature that can be either \"enabled\" or \"disabled\". The default/freemium setting is always OFF, and the premium setting is always ON (meaning, unlimited usage without tracking).\n * A boolean feature is similar to a quantitive feature with a default limit of 0 and UNLIMITED premium limit (although a bit simplified).\n */\nexport interface BooleanFeature {}\n\n/** A feature with a periodic usage limitation. The default limit is defined in the Feature Spec, the Premium limits are defined in the respective ProductFeature. */\nexport interface QuotaFeature {\n /** Default (or Freemium) quota limitation. if left undefined the free feature has unlimited amount. */\n limit?: string | null;\n /** Periodic time-frame to reset the usage counter. You may use NO_PERIOD if counter shouldn't be reset. */\n period?: FeaturePeriodWithLiterals;\n /** Usage measurement units (seconds? MBs? unitless?). Usage reported will be counted in multiples of this basic unit. */\n units?: string | null;\n}\n\n/** Determines the reset cycle of the feature usage. */\nexport enum FeaturePeriod {\n NO_PERIOD = 'NO_PERIOD',\n MILLISECOND = 'MILLISECOND',\n SECOND = 'SECOND',\n MINUTE = 'MINUTE',\n HOUR = 'HOUR',\n DAY = 'DAY',\n WEEK = 'WEEK',\n MONTH = 'MONTH',\n YEAR = 'YEAR',\n}\n\n/** @enumType */\nexport type FeaturePeriodWithLiterals =\n | FeaturePeriod\n | 'NO_PERIOD'\n | 'MILLISECOND'\n | 'SECOND'\n | 'MINUTE'\n | 'HOUR'\n | 'DAY'\n | 'WEEK'\n | 'MONTH'\n | 'YEAR';\n\nexport interface QuotaInfo {\n /**\n * Aggregation of how often the customer is allowed to use the feature at the time of the request.\n * `null` means that the customer has unlimited access to the feature.\n */\n limit?: string | null;\n /**\n * Deprecated because a feature can have multiple periods defined. Use `period` in `breakdown` entries instead.\n * Time frame for the usage limitation. `NO_PERIOD` means that `remainingUsage`\n * isn't automatically reset to the feature's `limit` after a specific period.\n * You may still manually call\n * [Reset Usage Counter](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/reset-usage-counter).\n * @deprecated\n * @replacedBy breakdown.period\n * @targetRemovalDate 2026-03-31\n */\n period?: FeaturePeriodWithLiterals;\n /**\n * Aggregation of how often the customer has used the feature.\n * This value is retrieved from the Quota Manager/Rate Limiter system. If the\n * `exclude_quota_usage` field in the `ListFeaturesRequest` was set to `true`,\n * this field will contain the value `-1`.\n */\n currentUsage?: string;\n /**\n * Aggregation of how often the customer can still use the feature.\n * `null` means that the customer has unlimited access to the feature.\n * This value is retrieved from the Quota Manager/Rate Limiter system. If the\n * `exclude_quota_usage` field in the `ListFeaturesRequest` was set to `true`,\n * this field will not be populated.\n */\n remainingUsage?: string | null;\n /**\n * Breakdown of quota information entries, entry per feature instance.\n * @maxSize 1000\n */\n breakdown?: QuotaInfoEntry[];\n}\n\nexport interface QuotaInfoEntry {\n /**\n * If quota is of free feature, the id would be empty (None).\n * If quota is of premium feature, this is the ID of the feature instance.\n * @format GUID\n */\n featureInstanceId?: string | null;\n /**\n * How often the customer is allowed to use the feature during the specified\n * period. `null` means that the customer has unlimited access to the feature.\n */\n limit?: string | null;\n /**\n * Time frame for the usage limitation. `NO_PERIOD` means that `remainingUsage`\n * isn't automatically reset to the feature's `limit` after a specific period.\n * You may still manually call\n * [Reset Usage Counter](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/reset-usage-counter).\n */\n period?: FeaturePeriodWithLiterals;\n /**\n * How often the customer has used the feature during the current\n * period.\n * This value is retrieved from the Quota Manager/Rate Limiter system. If the\n * `exclude_quota_usage` field in the `ListFeaturesRequest` was set to `true`,\n * this field will contain the value `-1`.\n */\n currentUsage?: string;\n /**\n * How often the customer can still use the feature during the current\n * period. `null` means that the customer has unlimited access to the feature.\n * This value is retrieved from the Quota Manager/Rate Limiter system. If the\n * `exclude_quota_usage` field in the `ListFeaturesRequest` was set to `true`,\n * this field will not be populated.\n */\n remainingUsage?: string | null;\n /**\n * ID of the subscription to which the feature instance belongs.\n * @format GUID\n */\n subscriptionId?: string | null;\n /**\n * Reset date of the quota.\n * Relevant only for features with a period that is not `NO_PERIOD`, and only for features that are managed by the Quota Manager system.\n */\n resetDate?: Date | null;\n}\n\n/** Subscription transferred from another account, features on the current account were enabled. */\nexport interface TransferredFromAnotherAccountReason {\n /**\n * Information about a transfer from another account.\n * @format GUID\n */\n transferredFromAccount?: string;\n}\n\n/** Subscription moved from one site to another in the same account, features enabled on the target site */\nexport interface ReassignedFromSiteReason {\n /**\n * Information about a transfer from another site.\n * @format GUID\n */\n reassignedFromMetasite?: string;\n}\n\n/** Subscription was floating and assigned to site, features enabled on the target site */\nexport interface AssignedFromFloatingReason {}\n\n/** New subscription created and features created as enabled */\nexport interface NewFeatureReason {}\n\n/** Subscription was upgraded or downgraded, as a result new features enabled, missing features disabled , quantities are updated */\nexport interface ContractSwitchedReason {}\n\n/** a call to CreateFeature in features-writer, creates feature that is not attached to subscription */\nexport interface ManualFeatureCreationReason {}\n\n/** Subscription created due to migration from old premium model */\nexport interface MigratedFromLegacyReason {}\n\n/** Feature disabled and can be enabled in the future */\nexport interface FeatureDisabled extends FeatureDisabledReasonOneOf {\n /** Information about a feature that's no longer assigned to a site. */\n unassingedToFloating?: UnAssingedToFloatingReason;\n /**\n * Information about a feature that's been replaced by a feature from a\n * different subscription.\n */\n replacedByAnotherSubscription?: ReplacedByAnotherSubscriptionReason;\n /**\n * Information about a feature that's been reassigned to a different\n * site.\n */\n reassignedToAnotherSite?: ReassignedToAnotherSiteReason;\n /**\n * Disabled feature. Includes information about the feature's new state,\n * possibly its new context.\n */\n feature?: Feature;\n /**\n * ID of the meta site for which the feature has been disabled.\n * @format GUID\n */\n metaSiteId?: string | null;\n}\n\n/** @oneof */\nexport interface FeatureDisabledReasonOneOf {\n /** Information about a feature that's no longer assigned to a site. */\n unassingedToFloating?: UnAssingedToFloatingReason;\n /**\n * Information about a feature that's been replaced by a feature from a\n * different subscription.\n */\n replacedByAnotherSubscription?: ReplacedByAnotherSubscriptionReason;\n /**\n * Information about a feature that's been reassigned to a different\n * site.\n */\n reassignedToAnotherSite?: ReassignedToAnotherSiteReason;\n}\n\n/** Subscription was unassigned from the site and moved into floating state */\nexport interface UnAssingedToFloatingReason {}\n\n/** Another subscription was assigned to the site, causing existing features on this site to be disabled */\nexport interface ReplacedByAnotherSubscriptionReason {}\n\n/** Subscription was assigned to another site, causing features on the origin site to be disabled. */\nexport interface ReassignedToAnotherSiteReason {\n /**\n * Information about a transfer to the site.\n * @format GUID\n */\n reassignedToMetasite?: string;\n}\n\n/** Feature updated, for example Quota was increased due to upgrade */\nexport interface FeatureUpdated\n extends FeatureUpdatedPreviousQuantityInfoOneOf,\n FeatureUpdatedReasonOneOf {\n /** Information about a feature that doesn't have a usage quota. */\n booleanFeature?: BooleanFeature;\n /** Information about a feature that has a usage quota. */\n quotaFeature?: QuotaFeature;\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n /**\n * Updated feature. Includes information about the feature's new state and\n * possibly its new context.\n */\n feature?: Feature;\n}\n\n/** @oneof */\nexport interface FeatureUpdatedPreviousQuantityInfoOneOf {\n /** Information about a feature that doesn't have a usage quota. */\n booleanFeature?: BooleanFeature;\n /** Information about a feature that has a usage quota. */\n quotaFeature?: QuotaFeature;\n}\n\n/** @oneof */\nexport interface FeatureUpdatedReasonOneOf {\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n}\n\n/** Feature was permanently cancelled */\nexport interface FeatureCancelled extends FeatureCancelledReasonOneOf {\n /** Information about a transfer to the account. */\n transferredToAnotherAccount?: TransferredToAnotherAccountReason;\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n /** Information about the feature cancellation. */\n cancelRequest?: CancelRequestedReason;\n /** Canceled feature. */\n feature?: Feature;\n /**\n * Information about a transfer to the account.\n * __Deprecated__. Use `reason.transferred_to_account` instead.\n * @format GUID\n */\n transferredToAccount?: string | null;\n}\n\n/** @oneof */\nexport interface FeatureCancelledReasonOneOf {\n /** Information about a transfer to the account. */\n transferredToAnotherAccount?: TransferredToAnotherAccountReason;\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n /** Information about the feature cancellation. */\n cancelRequest?: CancelRequestedReason;\n}\n\n/** Subscription was transferred to another account, features in the origin account were cancelled */\nexport interface TransferredToAnotherAccountReason {\n /**\n * Information about a transfer to the account.\n * @format GUID\n */\n transferredToAccount?: string;\n}\n\n/** Cancellation was requested from the subscription manager api, might be a result of billing event, or direct call */\nexport interface CancelRequestedReason {}\n\nexport interface EcomSitePropertiesChangedEvent {}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountDetails {\n /**\n * ID of the account.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the site, if applicable.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type GetEcommerceSettingsApplicationErrors = {\n code?: 'SITE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixEcomV1EcommerceSettings from './ecom-v1-ecommerce-settings-ecommerce-settings.http.js';\nimport * as ambassadorWixEcomV1EcommerceSettingsTypes from './ecom-v1-ecommerce-settings-ecommerce-settings.types.js';\nimport * as ambassadorWixEcomV1EcommerceSettingsUniversalTypes from './ecom-v1-ecommerce-settings-ecommerce-settings.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getEcommerceSettings(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1EcommerceSettingsUniversalTypes.GetEcommerceSettingsRequest,\n ambassadorWixEcomV1EcommerceSettingsTypes.GetEcommerceSettingsRequest,\n ambassadorWixEcomV1EcommerceSettingsUniversalTypes.GetEcommerceSettingsResponse,\n ambassadorWixEcomV1EcommerceSettingsTypes.GetEcommerceSettingsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1EcommerceSettings.getEcommerceSettings(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/ecommerce-settings',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n EcommerceSettings as EcommerceSettingsOriginal,\n ServicePluginConfiguration as ServicePluginConfigurationOriginal,\n ActiveProvider as ActiveProviderOriginal,\n TriggerFlow as TriggerFlowOriginal,\n TriggerFlowWithLiterals as TriggerFlowWithLiteralsOriginal,\n TaxConfiguration as TaxConfigurationOriginal,\n DiscountRulesConfiguration as DiscountRulesConfigurationOriginal,\n CheckoutSettings as CheckoutSettingsOriginal,\n CheckoutPolicies as CheckoutPoliciesOriginal,\n TermsAndConditionsPolicy as TermsAndConditionsPolicyOriginal,\n PrivacyPolicy as PrivacyPolicyOriginal,\n ReturnPolicy as ReturnPolicyOriginal,\n DigitalItemPolicy as DigitalItemPolicyOriginal,\n ContactUsPolicy as ContactUsPolicyOriginal,\n CustomCheckoutPolicy as CustomCheckoutPolicyOriginal,\n CheckoutFields as CheckoutFieldsOriginal,\n CheckboxField as CheckboxFieldOriginal,\n CheckoutBrand as CheckoutBrandOriginal,\n CheckoutHeader as CheckoutHeaderOriginal,\n Logo as LogoOriginal,\n Image as ImageOriginal,\n FocalPoint as FocalPointOriginal,\n LogoSize as LogoSizeOriginal,\n LogoSizeWithLiterals as LogoSizeWithLiteralsOriginal,\n Alignment as AlignmentOriginal,\n AlignmentWithLiterals as AlignmentWithLiteralsOriginal,\n ContinueShopping as ContinueShoppingOriginal,\n DisplayType as DisplayTypeOriginal,\n DisplayTypeWithLiterals as DisplayTypeWithLiteralsOriginal,\n BackgroundFill as BackgroundFillOriginal,\n BackgroundFillOptionsOneOf as BackgroundFillOptionsOneOfOriginal,\n CheckoutBillingFields as CheckoutBillingFieldsOriginal,\n CheckoutBillingFieldsWithLiterals as CheckoutBillingFieldsWithLiteralsOriginal,\n DeliveryConfiguration as DeliveryConfigurationOriginal,\n DestinationScope as DestinationScopeOriginal,\n DestinationScopeWithLiterals as DestinationScopeWithLiteralsOriginal,\n Destination as DestinationOriginal,\n CountryDeliveryProperties as CountryDeliveryPropertiesOriginal,\n DeliveryDestinationProperties as DeliveryDestinationPropertiesOriginal,\n SubdivisionDeliveryProperties as SubdivisionDeliveryPropertiesOriginal,\n BusinessProperties as BusinessPropertiesOriginal,\n Locale as LocaleOriginal,\n Address as AddressOriginal,\n StreetAddress as StreetAddressOriginal,\n InvalidateCache as InvalidateCacheOriginal,\n InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n App as AppOriginal,\n Page as PageOriginal,\n URI as URIOriginal,\n File as FileOriginal,\n CustomTag as CustomTagOriginal,\n GetEcommerceSettingsRequest as GetEcommerceSettingsRequestOriginal,\n RequestedFields as RequestedFieldsOriginal,\n RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal,\n GetEcommerceSettingsResponse as GetEcommerceSettingsResponseOriginal,\n Error as ErrorOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n Empty as EmptyOriginal,\n FeatureEvent as FeatureEventOriginal,\n FeatureEventEventOneOf as FeatureEventEventOneOfOriginal,\n FeatureEnabled as FeatureEnabledOriginal,\n FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOfOriginal,\n Feature as FeatureOriginal,\n FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOfOriginal,\n FeatureContext as FeatureContextOriginal,\n BooleanFeature as BooleanFeatureOriginal,\n QuotaFeature as QuotaFeatureOriginal,\n FeaturePeriod as FeaturePeriodOriginal,\n FeaturePeriodWithLiterals as FeaturePeriodWithLiteralsOriginal,\n QuotaInfo as QuotaInfoOriginal,\n QuotaInfoEntry as QuotaInfoEntryOriginal,\n TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReasonOriginal,\n ReassignedFromSiteReason as ReassignedFromSiteReasonOriginal,\n AssignedFromFloatingReason as AssignedFromFloatingReasonOriginal,\n NewFeatureReason as NewFeatureReasonOriginal,\n ContractSwitchedReason as ContractSwitchedReasonOriginal,\n ManualFeatureCreationReason as ManualFeatureCreationReasonOriginal,\n MigratedFromLegacyReason as MigratedFromLegacyReasonOriginal,\n FeatureDisabled as FeatureDisabledOriginal,\n FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOfOriginal,\n UnAssingedToFloatingReason as UnAssingedToFloatingReasonOriginal,\n ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReasonOriginal,\n ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReasonOriginal,\n FeatureUpdated as FeatureUpdatedOriginal,\n FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOfOriginal,\n FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOfOriginal,\n FeatureCancelled as FeatureCancelledOriginal,\n FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOfOriginal,\n TransferredToAnotherAccountReason as TransferredToAnotherAccountReasonOriginal,\n CancelRequestedReason as CancelRequestedReasonOriginal,\n EcomSitePropertiesChangedEvent as EcomSitePropertiesChangedEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountDetails as AccountDetailsOriginal,\n GetEcommerceSettingsApplicationErrors as GetEcommerceSettingsApplicationErrorsOriginal,\n} from './ecom-v1-ecommerce-settings-ecommerce-settings.types.js';\n"],"mappings":"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","names":["getEcommerceSettings","import_rest_modules","payload","TriggerFlow","LogoSize","Alignment","DisplayType","CheckoutBillingFields","DestinationScope","RequestedFields","FeaturePeriod","WebhookIdentityType","getEcommerceSettings"]}
1
+ {"version":3,"sources":["../../meta.ts","../../src/ecom-v1-ecommerce-settings-ecommerce-settings.http.ts","../../src/ecom-v1-ecommerce-settings-ecommerce-settings.types.ts","../../src/ecom-v1-ecommerce-settings-ecommerce-settings.meta.ts"],"sourcesContent":["export * from './src/ecom-v1-ecommerce-settings-ecommerce-settings.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEcomEcommerceSettingsV1EcommerceSettingsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _: [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/_api/ecommerce-settings',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_ecommerce-settings';\n\n/** Retrieves site eCommerce settings. */\nexport function getEcommerceSettings(\n payload: object\n): RequestOptionsFactory<any> {\n function __getEcommerceSettings({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.ecommerce_settings',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.ecommerce_settings.v1.EcommerceSettingsService.GetEcommerceSettings',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEcomEcommerceSettingsV1EcommerceSettingsServiceUrl({\n protoPath: '/v1/ecommerce-settings',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'ecommerceSettings.checkout.createdDate' },\n { path: 'ecommerceSettings.checkout.updatedDate' },\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.logo.image.urlExpirationDate',\n },\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.backgroundFill.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.logo.image.focalPoint.x',\n },\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.logo.image.focalPoint.y',\n },\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.backgroundFill.image.focalPoint.x',\n },\n {\n path: 'ecommerceSettings.checkout.checkoutBrand.header.backgroundFill.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getEcommerceSettings;\n}\n","export interface EcommerceSettings {}\n\nexport interface ServicePluginConfiguration {\n /**\n * List of active providers.\n * @maxSize 100\n */\n activeProviders?: ActiveProvider[];\n}\n\nexport interface ActiveProvider {\n /**\n * App ID of the provider.\n * @format GUID\n */\n appId?: string;\n /**\n * Flows that trigger the provider.\n * @maxSize 100\n */\n triggerFlows?: TriggerFlowWithLiterals[];\n}\n\nexport enum TriggerFlow {\n /** Provider is triggered during cart interactions. */\n CART = 'CART',\n /** Provider is triggered during the checkout process. */\n CHECKOUT = 'CHECKOUT',\n}\n\n/** @enumType */\nexport type TriggerFlowWithLiterals = TriggerFlow | 'CART' | 'CHECKOUT';\n\nexport interface TaxConfiguration {\n /**\n * Whether at least one tax region is configured and connected to a tax calculator.\n * Learn more about the [Tax Regions API](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tax/tax-regions/introduction).\n */\n configured?: boolean | null;\n /**\n * Whether tax is included in item prices.\n * Learn more about [tax inclusion in item prices](https://support.wix.com/en/article/including-tax-in-the-product-price).\n */\n taxIncludedInItemPrices?: boolean | null;\n}\n\nexport interface DiscountRulesConfiguration {\n /**\n * Whether at least one discount rule is configured and active.\n * Learn more about the [Discount Rules API](https://dev.wix.com/docs/rest/business-solutions/e-commerce/discount-rules/introduction).\n */\n active?: boolean | null;\n}\n\nexport interface CheckoutSettings {\n /** Checkout policies. */\n checkoutPolicies?: CheckoutPolicies;\n /** Settings that apply to checkout fields and the checkout process. */\n checkoutFields?: CheckoutFields;\n /** Checkout brand settings. */\n checkoutBrand?: CheckoutBrand;\n /**\n * Date and time the checkout settings were created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the checkout settings were updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /** Billing information required to complete the checkout. */\n checkoutBillingFields?: CheckoutBillingFieldsWithLiterals;\n}\n\nexport interface CheckoutPolicies {\n /** Terms and conditions. */\n termsAndConditions?: TermsAndConditionsPolicy;\n /** Privacy policy. */\n privacyPolicy?: PrivacyPolicy;\n /** Return policy. */\n returnPolicy?: ReturnPolicy;\n /** Digital item policy. */\n digitalItemPolicy?: DigitalItemPolicy;\n /** \"Contact us\" information. */\n contactUs?: ContactUsPolicy;\n /** Custom policy. */\n customPolicy?: CustomCheckoutPolicy;\n}\n\nexport interface TermsAndConditionsPolicy {\n /**\n * Whether the terms and conditions policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Terms and conditions policy content. */\n content?: string | null;\n}\n\nexport interface PrivacyPolicy {\n /**\n * Whether the privacy policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Privacy policy content. */\n content?: string | null;\n}\n\nexport interface ReturnPolicy {\n /**\n * Whether the return policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Return policy content. */\n content?: string | null;\n}\n\nexport interface DigitalItemPolicy {\n /**\n * Whether the digital item policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Digital item policy content. */\n content?: string | null;\n}\n\nexport interface ContactUsPolicy {\n /**\n * Whether the contact us policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Contact us policy content. */\n content?: string | null;\n}\n\nexport interface CustomCheckoutPolicy {\n /**\n * Whether the custom policy is visible to the customer in the checkout page. <br><br>\n *\n * Default: `false`\n */\n visible?: boolean | null;\n /** Custom policy content. */\n content?: string | null;\n /** Custom policy title. */\n title?: string | null;\n}\n\nexport interface CheckoutFields {\n /**\n * Subscription checkbox. <br><br>\n *\n * Defaults:\n * + `visible`: `false`\n * + `checkedByDefault`: `false`\n */\n subscriptionCheckbox?: CheckboxField;\n /**\n * Policy agreement checkbox. <br><br>\n *\n * Defaults:\n * + `visible`: `false`\n * + `checkedByDefault`: `false`\n */\n policyAgreementCheckbox?: CheckboxField;\n /**\n * Whether the ability to redeem a gift card is enabled. <br><br>\n *\n * Default: `false`\n */\n giftCardRedeemEnabled?: boolean | null;\n /**\n * Whether to allow for MIT transactions. <br><br>\n *\n * Default: `false`\n */\n mitEnabled?: boolean | null;\n /**\n * Whether to allow for Auth & Capture transactions. <br><br>\n *\n * Default: `false`\n */\n delayCaptureEnabled?: boolean | null;\n /**\n * Whether to automatically capture the transaction before the authorization expires.\n *\n * Default: `true`\n * >**Note:** this setting is only relevant when `delay_capture_enabled: true`.\n */\n captureBeforeExpiryEnabled?: boolean | null;\n}\n\nexport interface CheckboxField {\n /** Whether the checkbox is visible to the customer. */\n visible?: boolean | null;\n /** Whether the checkbox is checked by default. */\n checkedByDefault?: boolean | null;\n}\n\nexport interface CheckoutBrand {\n /** Checkout header. */\n header?: CheckoutHeader;\n}\n\nexport interface CheckoutHeader {\n /**\n * Textual content to be included in the header (e.g. Business Name)\n * @maxLength 55\n */\n text?: string | null;\n /** Specifications for when a logo is included in the header. */\n logo?: Logo;\n /**\n * Alignment within the header.\n *\n * >**Note:** `SIDE` alignment is decided depending on the locale's language. For example, scripts like Hebrew and Arabic will automatically align right-to-left.\n */\n alignment?: AlignmentWithLiterals;\n /**\n * Whether to display the 'Checkout' label within the header.\n * Depending on the locale, the label may be translated.\n */\n displayCheckoutLabel?: boolean | null;\n}\n\nexport interface Logo {\n /** Size of the logo. */\n size?: LogoSizeWithLiterals;\n}\n\nexport interface Image {\n /** WixMedia image ID. */\n id?: string;\n /** Image URL. */\n url?: string;\n /**\n * Original image height.\n * @readonly\n */\n height?: number;\n /**\n * Original image width.\n * @readonly\n */\n width?: number;\n /** Image alt text. */\n altText?: string | null;\n /**\n * Image filename.\n * @readonly\n */\n filename?: string | null;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport enum LogoSize {\n UNKNOWN_LOGO_SIZE = 'UNKNOWN_LOGO_SIZE',\n SMALL = 'SMALL',\n MEDIUM = 'MEDIUM',\n LARGE = 'LARGE',\n}\n\n/** @enumType */\nexport type LogoSizeWithLiterals =\n | LogoSize\n | 'UNKNOWN_LOGO_SIZE'\n | 'SMALL'\n | 'MEDIUM'\n | 'LARGE';\n\nexport enum Alignment {\n UNKNOWN_ALIGNMENT = 'UNKNOWN_ALIGNMENT',\n SIDE = 'SIDE',\n CENTER = 'CENTER',\n}\n\n/** @enumType */\nexport type AlignmentWithLiterals =\n | Alignment\n | 'UNKNOWN_ALIGNMENT'\n | 'SIDE'\n | 'CENTER';\n\nexport interface ContinueShopping {\n /** Whether the continue shopping element is hidden. */\n hidden?: boolean | null;\n /** Display type for the continue shopping element. */\n displayType?: DisplayTypeWithLiterals;\n}\n\nexport enum DisplayType {\n UNKNOWN_DISPLAY_TYPE = 'UNKNOWN_DISPLAY_TYPE',\n TEXT = 'TEXT',\n ICON = 'ICON',\n}\n\n/** @enumType */\nexport type DisplayTypeWithLiterals =\n | DisplayType\n | 'UNKNOWN_DISPLAY_TYPE'\n | 'TEXT'\n | 'ICON';\n\nexport interface BackgroundFill extends BackgroundFillOptionsOneOf {\n /**\n * Background color hex code.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** Background image. */\n image?: Image;\n}\n\n/** @oneof */\nexport interface BackgroundFillOptionsOneOf {\n /**\n * Background color hex code.\n * @format COLOR_HEX\n */\n color?: string | null;\n /** Background image. */\n image?: Image;\n}\n\nexport enum CheckoutBillingFields {\n /** Default value. This value is unused. */\n UNKNOWN_CHECKOUT_BILLING_FIELDS = 'UNKNOWN_CHECKOUT_BILLING_FIELDS',\n /** All billing information fields are required. */\n All_FIELDS = 'All_FIELDS',\n /** Minimum required fields as defined by the country, payment method and payment provider. */\n MINIMUM_REQUIRED_FIELDS = 'MINIMUM_REQUIRED_FIELDS',\n}\n\n/** @enumType */\nexport type CheckoutBillingFieldsWithLiterals =\n | CheckoutBillingFields\n | 'UNKNOWN_CHECKOUT_BILLING_FIELDS'\n | 'All_FIELDS'\n | 'MINIMUM_REQUIRED_FIELDS';\n\nexport interface DeliveryConfiguration {\n /**\n * Scope of destinations, when `WORLDWIDE` is selected, the destinations list will be empty.\n * @deprecated Scope of destinations, when `WORLDWIDE` is selected, the destinations list will be empty.\n * @targetRemovalDate 2025-12-31\n */\n destinationScope?: DestinationScopeWithLiterals;\n /**\n * The list of destinations.\n * @maxSize 200\n * @deprecated The list of destinations.\n * @targetRemovalDate 2025-12-31\n */\n destinations?: Destination[];\n /**\n * Whether postal code is required to support delivery calculations.\n * @deprecated Whether postal code is required to support delivery calculations.\n * @targetRemovalDate 2025-12-31\n */\n postalCodeRequired?: boolean | null;\n /**\n * List of countries and subdivisions and their delivery destination properties\n * @maxSize 195\n */\n countries?: CountryDeliveryProperties[];\n /** Delivery destination properties for Rest Of World */\n restOfWorld?: DeliveryDestinationProperties;\n}\n\nexport enum DestinationScope {\n /** No additional destinations are requested */\n SPECIFIC_DESTINATIONS = 'SPECIFIC_DESTINATIONS',\n /** All Destinations */\n WORLDWIDE = 'WORLDWIDE',\n}\n\n/** @enumType */\nexport type DestinationScopeWithLiterals =\n | DestinationScope\n | 'SPECIFIC_DESTINATIONS'\n | 'WORLDWIDE';\n\n/** Defines the area inside one country that is relevant for this delivery region. */\nexport interface Destination {\n /**\n * 2-letters code represents the country of the delivery destinations\n * @format COUNTRY\n */\n countryCode?: string;\n /**\n * subdivisions - Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).\n * If empty, the delivery region applies to the entire country.\n * @maxSize 100\n * @minLength 1\n * @maxLength 256\n */\n subdivisions?: string[];\n}\n\nexport interface CountryDeliveryProperties {\n /**\n * Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.\n * @format COUNTRY\n */\n country?: string;\n /** Delivery destination properties for country */\n deliveryDestinationProperties?: DeliveryDestinationProperties;\n /**\n * List of subdivisions and their delivery destination properties\n * @maxSize 100\n */\n subdivisions?: SubdivisionDeliveryProperties[];\n}\n\nexport interface DeliveryDestinationProperties {\n /** True if postal code is required for delivery in this destination */\n postalCodeRequired?: boolean;\n /** True if only pickup is available in this destination */\n pickupOnly?: boolean;\n}\n\nexport interface SubdivisionDeliveryProperties {\n /**\n * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.\n * @minLength 1\n * @maxLength 5\n */\n subdivision?: string;\n /** Delivery destination properties for subdivision */\n deliveryDestinationProperties?: DeliveryDestinationProperties;\n}\n\n/** Ecommerce business properties, as defined in the source of truth: `site-properties`, including default values. */\nexport interface BusinessProperties {\n /**\n * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n * Payment currency for the business (default is 'USD').\n * @format CURRENCY\n */\n currency?: string;\n /**\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n * Used by the business for site content, emails, notifications, etc (default is 'en').\n * @format LANGUAGE\n */\n language?: string;\n /** Locale for date, number, and measurement formatting (default is `en-US`). */\n locale?: Locale;\n /** Physical address of the business. */\n address?: Address;\n /** Business name. */\n name?: string | null;\n /** Business email address. */\n email?: string | null;\n /** Business phone number. */\n phone?: string | null;\n /** Business fax number. */\n fax?: string | null;\n /** Path to the business logo in Wix Media. */\n logo?: string | null;\n /** Business time zone. */\n timeZone?: string | null;\n /** Site display name. */\n siteDisplayName?: string | null;\n}\n\n/** Locale for date, number, and measurement formats. */\nexport interface Locale {\n /**\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n * @format LANGUAGE\n */\n language?: string;\n /**\n * Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.\n * @format COUNTRY\n */\n country?: string | null;\n}\n\n/** Physical address */\nexport interface Address {\n /**\n * Country code.\n * @format COUNTRY\n */\n country?: string | null;\n /** Subdivision code in ISO 3166-2 format, e.g., \"US-NY\". */\n subdivision?: string | null;\n /** City name. */\n city?: string | null;\n /** Zip/postal code. */\n postalCode?: string | null;\n /** Street name and number. */\n streetAddress?: StreetAddress;\n}\n\nexport interface StreetAddress {\n /** Street number. */\n number?: string;\n /** Street name. */\n name?: string;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface GetEcommerceSettingsRequest {\n /**\n * Fields to include in the response.\n * @minSize 1\n * @maxSize 25\n */\n fields: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\n ADDITIONAL_FEES_SERVICE_PLUGIN = 'ADDITIONAL_FEES_SERVICE_PLUGIN',\n VALIDATIONS_SERVICE_PLUGIN = 'VALIDATIONS_SERVICE_PLUGIN',\n TAX = 'TAX',\n DISCOUNT_RULES = 'DISCOUNT_RULES',\n CHECKOUT = 'CHECKOUT',\n DELIVERY = 'DELIVERY',\n PREMIUM_SITE = 'PREMIUM_SITE',\n BUSINESS_INFO = 'BUSINESS_INFO',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'UNKNOWN_REQUESTED_FIELD'\n | 'ADDITIONAL_FEES_SERVICE_PLUGIN'\n | 'VALIDATIONS_SERVICE_PLUGIN'\n | 'TAX'\n | 'DISCOUNT_RULES'\n | 'CHECKOUT'\n | 'DELIVERY'\n | 'PREMIUM_SITE'\n | 'BUSINESS_INFO';\n\nexport interface GetEcommerceSettingsResponse {\n /** Ecommerce settings. */\n ecommerceSettings?: EcommerceSettings;\n /** A list of errors that occurred while retrieving the eCommerce settings. */\n errors?: Error[];\n}\n\nexport interface Error {\n /** The requested field the error is related to. */\n requestedField?: RequestedFieldsWithLiterals;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface FeatureEvent extends FeatureEventEventOneOf {\n /**\n * Information about an event that makes a feature eligible to the user.\n * Triggered for example, for new features or when a feature is reassigned\n * to an account or a site.\n */\n enabled?: FeatureEnabled;\n /**\n * Information about an event that disables a feature for the user.\n * Triggered for example, when a feature is unassigned from a site,\n * reassigned to a different site, or the user switched to a different contract.\n */\n disabled?: FeatureDisabled;\n /**\n * Information about an event that updates a feature. An `updated` event\n * is triggered for example by the\n * [Report Quota Usage](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/report-quota-usage)\n * and [Reset Usage Counter](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/reset-usage-counter)\n * endpoints.\n */\n updated?: FeatureUpdated;\n /**\n * Information about an event that cancels a feature for the user.\n * Triggered for example, when a feature is canceled, transferred to\n * another account, or the user switched to a different contract.\n */\n cancelled?: FeatureCancelled;\n /**\n * Timestamp of the event in\n * [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).\n */\n timestamp?: Date | null;\n}\n\n/** @oneof */\nexport interface FeatureEventEventOneOf {\n /**\n * Information about an event that makes a feature eligible to the user.\n * Triggered for example, for new features or when a feature is reassigned\n * to an account or a site.\n */\n enabled?: FeatureEnabled;\n /**\n * Information about an event that disables a feature for the user.\n * Triggered for example, when a feature is unassigned from a site,\n * reassigned to a different site, or the user switched to a different contract.\n */\n disabled?: FeatureDisabled;\n /**\n * Information about an event that updates a feature. An `updated` event\n * is triggered for example by the\n * [Report Quota Usage](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/report-quota-usage)\n * and [Reset Usage Counter](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/reset-usage-counter)\n * endpoints.\n */\n updated?: FeatureUpdated;\n /**\n * Information about an event that cancels a feature for the user.\n * Triggered for example, when a feature is canceled, transferred to\n * another account, or the user switched to a different contract.\n */\n cancelled?: FeatureCancelled;\n}\n\n/** Feature created or enabled after disabled state */\nexport interface FeatureEnabled extends FeatureEnabledReasonOneOf {\n /** Information about a transfer from another account. */\n transferredFromAnotherAccount?: TransferredFromAnotherAccountReason;\n /** Information about a transfer from another site. */\n reassignedFromSite?: ReassignedFromSiteReason;\n /** Information about a feature that hadn't been assigned to site. */\n assignedFromFloating?: AssignedFromFloatingReason;\n /** Information about the new feature. */\n newFeature?: NewFeatureReason;\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n /** Information about the manually created features. */\n manualFeatureCreation?: ManualFeatureCreationReason;\n /** Information about a feature that was migrated from legacy. */\n migratedFromLegacy?: MigratedFromLegacyReason;\n /** Enabled feature. */\n feature?: Feature;\n /**\n * Information about a transfer from another account.\n * __Deprecated__. Use `reason.transferred_from_another_account` instead.\n * @format GUID\n */\n transferredFromAccount?: string | null;\n /**\n * Information about a transfer from another site.\n * __Deprecated__. Use `reason.reassigned_from_site` instead.\n * @format GUID\n */\n reassignedFromMetasite?: string | null;\n}\n\n/** @oneof */\nexport interface FeatureEnabledReasonOneOf {\n /** Information about a transfer from another account. */\n transferredFromAnotherAccount?: TransferredFromAnotherAccountReason;\n /** Information about a transfer from another site. */\n reassignedFromSite?: ReassignedFromSiteReason;\n /** Information about a feature that hadn't been assigned to site. */\n assignedFromFloating?: AssignedFromFloatingReason;\n /** Information about the new feature. */\n newFeature?: NewFeatureReason;\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n /** Information about the manually created features. */\n manualFeatureCreation?: ManualFeatureCreationReason;\n /** Information about a feature that was migrated from legacy. */\n migratedFromLegacy?: MigratedFromLegacyReason;\n}\n\nexport interface Feature extends FeatureQuantityInfoOneOf {\n /**\n * Deprecated. Use `enabled` instead.\n * @deprecated\n */\n booleanFeature?: BooleanFeature;\n /**\n * Deprecated. Use `quotaInfo` instead.\n * @deprecated\n */\n quotaFeature?: QuotaFeature;\n /**\n * ID of the feature. __Note:__ Isn't unique. For example, all features that\n * are available to free Wix accounts or site in some capacity have\n * `{\"id\": \"DEFAULT\"}`. Use `uniqueName` as unique identifier for a feature.\n * @readonly\n */\n id?: string;\n /**\n * Unique name of the feature. Only lower case letters, numbers, and dashes\n * `-` are supported. Used in the endpoints of the\n * [Features Manager API](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/introduction)\n * to specify the feature. Not visible to customers. We recommend to start\n * the unique name with a prefix describing your organization or Wix company.\n * For example, `bookings` or `crm`.\n *\n * Min: 2 characters\n * Max: 50 characters\n * @minLength 2\n * @maxLength 50\n */\n uniqueName?: string;\n /**\n * Information about whether the feature belongs to a Wix account or site.\n * Account features have `context.userId`. Site features have `context.metaSiteId` in case\n * they're assigned to a specific site. Site features that aren't assigned to\n * a specific site have neither ID.\n */\n context?: FeatureContext;\n /**\n * Deprecated.\n * @readonly\n * @deprecated\n */\n createdAt?: Date | null;\n /**\n * Deprecated.\n * @readonly\n * @deprecated\n */\n updatedAt?: Date | null;\n /**\n * Aggregated information about how often customers can use the feature.\n * Available only for quota features.\n */\n quotaInfo?: QuotaInfo;\n /**\n * Whether the customer is currently allowed to use the feature.\n * `true` means that the customer can use the feature. This means a boolean\n * feature is active or a quota feature has remaining usage.\n * `false` means that the customer can't use the feature.\n * This means a boolean feature isn't active or a quota feature doesn't\n * have remaining usage.\n */\n enabled?: boolean;\n /**\n * ID of the [subscription](https://bo.wix.com/wix-docs/rest/premium/premium-subscriptions-manager/subscription-object)\n * to which the feature instance belongs.\n * @format GUID\n */\n subscriptionId?: string | null;\n /**\n * Metadata of the feature. Wix Premium uses the metadata object to indicate\n * that customers who purchase a product with the feature also get\n * access to an additional product. For these bundled products `metadata`\n * looks like this: `{\"tpa\": \"{\"appDefId\": \"sample-app-def-id-1234567890\", \"vendorProductId\": \"sample-productId\"}}\"`.\n * But you can use the `metadata` property for other purposes, too.\n */\n metadata?: Record<string, string>;\n}\n\n/** @oneof */\nexport interface FeatureQuantityInfoOneOf {\n /**\n * Deprecated. Use `enabled` instead.\n * @deprecated\n */\n booleanFeature?: BooleanFeature;\n /**\n * Deprecated. Use `quotaInfo` instead.\n * @deprecated\n */\n quotaFeature?: QuotaFeature;\n}\n\n/**\n * Context this feature is currently connected to.\n * Note: Do not confuse with feature scope which is configured in the product catalog\n * and defines in which context the product can be used\n */\nexport interface FeatureContext {\n /**\n * ID of the Wix account that the feature instance belongs to.\n * Available for both site and account level feature instances.\n * @format GUID\n */\n userId?: string;\n /**\n * ID of the meta site that the feature instance is assigned to.\n * Only available for site level feature instances that are assigned to a Wix\n * site. Not available for account level and unassigned site level feature\n * instances.\n * @format GUID\n */\n metaSiteId?: string | null;\n}\n\n/**\n * A feature that can be either \"enabled\" or \"disabled\". The default/freemium setting is always OFF, and the premium setting is always ON (meaning, unlimited usage without tracking).\n * A boolean feature is similar to a quantitive feature with a default limit of 0 and UNLIMITED premium limit (although a bit simplified).\n */\nexport interface BooleanFeature {}\n\n/** A feature with a periodic usage limitation. The default limit is defined in the Feature Spec, the Premium limits are defined in the respective ProductFeature. */\nexport interface QuotaFeature {\n /** Default (or Freemium) quota limitation. if left undefined the free feature has unlimited amount. */\n limit?: string | null;\n /** Periodic time-frame to reset the usage counter. You may use NO_PERIOD if counter shouldn't be reset. */\n period?: FeaturePeriodWithLiterals;\n /** Usage measurement units (seconds? MBs? unitless?). Usage reported will be counted in multiples of this basic unit. */\n units?: string | null;\n}\n\n/** Determines the reset cycle of the feature usage. */\nexport enum FeaturePeriod {\n NO_PERIOD = 'NO_PERIOD',\n MILLISECOND = 'MILLISECOND',\n SECOND = 'SECOND',\n MINUTE = 'MINUTE',\n HOUR = 'HOUR',\n DAY = 'DAY',\n WEEK = 'WEEK',\n MONTH = 'MONTH',\n YEAR = 'YEAR',\n}\n\n/** @enumType */\nexport type FeaturePeriodWithLiterals =\n | FeaturePeriod\n | 'NO_PERIOD'\n | 'MILLISECOND'\n | 'SECOND'\n | 'MINUTE'\n | 'HOUR'\n | 'DAY'\n | 'WEEK'\n | 'MONTH'\n | 'YEAR';\n\nexport interface QuotaInfo {\n /**\n * Aggregation of how often the customer is allowed to use the feature at the time of the request.\n * `null` means that the customer has unlimited access to the feature.\n */\n limit?: string | null;\n /**\n * Deprecated because a feature can have multiple periods defined. Use `period` in `breakdown` entries instead.\n * Time frame for the usage limitation. `NO_PERIOD` means that `remainingUsage`\n * isn't automatically reset to the feature's `limit` after a specific period.\n * You may still manually call\n * [Reset Usage Counter](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/reset-usage-counter).\n * @deprecated\n * @replacedBy breakdown.period\n * @targetRemovalDate 2026-03-31\n */\n period?: FeaturePeriodWithLiterals;\n /**\n * Aggregation of how often the customer has used the feature.\n * This value is retrieved from the Quota Manager/Rate Limiter system. If the\n * `exclude_quota_usage` field in the `ListFeaturesRequest` was set to `true`,\n * this field will contain the value `-1`.\n */\n currentUsage?: string;\n /**\n * Aggregation of how often the customer can still use the feature.\n * `null` means that the customer has unlimited access to the feature.\n * This value is retrieved from the Quota Manager/Rate Limiter system. If the\n * `exclude_quota_usage` field in the `ListFeaturesRequest` was set to `true`,\n * this field will not be populated.\n */\n remainingUsage?: string | null;\n /**\n * Breakdown of quota information entries, entry per feature instance.\n * @maxSize 1000\n */\n breakdown?: QuotaInfoEntry[];\n}\n\nexport interface QuotaInfoEntry {\n /**\n * If quota is of free feature, the id would be empty (None).\n * If quota is of premium feature, this is the ID of the feature instance.\n * @format GUID\n */\n featureInstanceId?: string | null;\n /**\n * How often the customer is allowed to use the feature during the specified\n * period. `null` means that the customer has unlimited access to the feature.\n */\n limit?: string | null;\n /**\n * Time frame for the usage limitation. `NO_PERIOD` means that `remainingUsage`\n * isn't automatically reset to the feature's `limit` after a specific period.\n * You may still manually call\n * [Reset Usage Counter](https://bo.wix.com/wix-docs/rest/premium/premium-features-manager/reset-usage-counter).\n */\n period?: FeaturePeriodWithLiterals;\n /**\n * How often the customer has used the feature during the current\n * period.\n * This value is retrieved from the Quota Manager/Rate Limiter system. If the\n * `exclude_quota_usage` field in the `ListFeaturesRequest` was set to `true`,\n * this field will contain the value `-1`.\n */\n currentUsage?: string;\n /**\n * How often the customer can still use the feature during the current\n * period. `null` means that the customer has unlimited access to the feature.\n * This value is retrieved from the Quota Manager/Rate Limiter system. If the\n * `exclude_quota_usage` field in the `ListFeaturesRequest` was set to `true`,\n * this field will not be populated.\n */\n remainingUsage?: string | null;\n /**\n * ID of the subscription to which the feature instance belongs.\n * @format GUID\n */\n subscriptionId?: string | null;\n /**\n * Reset date of the quota.\n * Relevant only for features with a period that is not `NO_PERIOD`, and only for features that are managed by the Quota Manager system.\n */\n resetDate?: Date | null;\n}\n\n/** Subscription transferred from another account, features on the current account were enabled. */\nexport interface TransferredFromAnotherAccountReason {\n /**\n * Information about a transfer from another account.\n * @format GUID\n */\n transferredFromAccount?: string;\n}\n\n/** Subscription moved from one site to another in the same account, features enabled on the target site */\nexport interface ReassignedFromSiteReason {\n /**\n * Information about a transfer from another site.\n * @format GUID\n */\n reassignedFromMetasite?: string;\n}\n\n/** Subscription was floating and assigned to site, features enabled on the target site */\nexport interface AssignedFromFloatingReason {}\n\n/** New subscription created and features created as enabled */\nexport interface NewFeatureReason {}\n\n/** Subscription was upgraded or downgraded, as a result new features enabled, missing features disabled , quantities are updated */\nexport interface ContractSwitchedReason {}\n\n/** a call to CreateFeature in features-writer, creates feature that is not attached to subscription */\nexport interface ManualFeatureCreationReason {}\n\n/** Subscription created due to migration from old premium model */\nexport interface MigratedFromLegacyReason {}\n\n/** Feature disabled and can be enabled in the future */\nexport interface FeatureDisabled extends FeatureDisabledReasonOneOf {\n /** Information about a feature that's no longer assigned to a site. */\n unassingedToFloating?: UnAssingedToFloatingReason;\n /**\n * Information about a feature that's been replaced by a feature from a\n * different subscription.\n */\n replacedByAnotherSubscription?: ReplacedByAnotherSubscriptionReason;\n /**\n * Information about a feature that's been reassigned to a different\n * site.\n */\n reassignedToAnotherSite?: ReassignedToAnotherSiteReason;\n /**\n * Disabled feature. Includes information about the feature's new state,\n * possibly its new context.\n */\n feature?: Feature;\n /**\n * ID of the meta site for which the feature has been disabled.\n * @format GUID\n */\n metaSiteId?: string | null;\n}\n\n/** @oneof */\nexport interface FeatureDisabledReasonOneOf {\n /** Information about a feature that's no longer assigned to a site. */\n unassingedToFloating?: UnAssingedToFloatingReason;\n /**\n * Information about a feature that's been replaced by a feature from a\n * different subscription.\n */\n replacedByAnotherSubscription?: ReplacedByAnotherSubscriptionReason;\n /**\n * Information about a feature that's been reassigned to a different\n * site.\n */\n reassignedToAnotherSite?: ReassignedToAnotherSiteReason;\n}\n\n/** Subscription was unassigned from the site and moved into floating state */\nexport interface UnAssingedToFloatingReason {}\n\n/** Another subscription was assigned to the site, causing existing features on this site to be disabled */\nexport interface ReplacedByAnotherSubscriptionReason {}\n\n/** Subscription was assigned to another site, causing features on the origin site to be disabled. */\nexport interface ReassignedToAnotherSiteReason {\n /**\n * Information about a transfer to the site.\n * @format GUID\n */\n reassignedToMetasite?: string;\n}\n\n/** Feature updated, for example Quota was increased due to upgrade */\nexport interface FeatureUpdated\n extends FeatureUpdatedPreviousQuantityInfoOneOf,\n FeatureUpdatedReasonOneOf {\n /** Information about a feature that doesn't have a usage quota. */\n booleanFeature?: BooleanFeature;\n /** Information about a feature that has a usage quota. */\n quotaFeature?: QuotaFeature;\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n /**\n * Updated feature. Includes information about the feature's new state and\n * possibly its new context.\n */\n feature?: Feature;\n}\n\n/** @oneof */\nexport interface FeatureUpdatedPreviousQuantityInfoOneOf {\n /** Information about a feature that doesn't have a usage quota. */\n booleanFeature?: BooleanFeature;\n /** Information about a feature that has a usage quota. */\n quotaFeature?: QuotaFeature;\n}\n\n/** @oneof */\nexport interface FeatureUpdatedReasonOneOf {\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n}\n\n/** Feature was permanently cancelled */\nexport interface FeatureCancelled extends FeatureCancelledReasonOneOf {\n /** Information about a transfer to the account. */\n transferredToAnotherAccount?: TransferredToAnotherAccountReason;\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n /** Information about the feature cancellation. */\n cancelRequest?: CancelRequestedReason;\n /** Canceled feature. */\n feature?: Feature;\n /**\n * Information about a transfer to the account.\n * __Deprecated__. Use `reason.transferred_to_account` instead.\n * @format GUID\n */\n transferredToAccount?: string | null;\n}\n\n/** @oneof */\nexport interface FeatureCancelledReasonOneOf {\n /** Information about a transfer to the account. */\n transferredToAnotherAccount?: TransferredToAnotherAccountReason;\n /** Information about the contract switch. */\n contractSwitched?: ContractSwitchedReason;\n /** Information about the feature cancellation. */\n cancelRequest?: CancelRequestedReason;\n}\n\n/** Subscription was transferred to another account, features in the origin account were cancelled */\nexport interface TransferredToAnotherAccountReason {\n /**\n * Information about a transfer to the account.\n * @format GUID\n */\n transferredToAccount?: string;\n}\n\n/** Cancellation was requested from the subscription manager api, might be a result of billing event, or direct call */\nexport interface CancelRequestedReason {}\n\nexport interface EcomSitePropertiesChangedEvent {}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type GetEcommerceSettingsApplicationErrors = {\n code?: 'SITE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixEcomV1EcommerceSettings from './ecom-v1-ecommerce-settings-ecommerce-settings.http.js';\nimport * as ambassadorWixEcomV1EcommerceSettingsTypes from './ecom-v1-ecommerce-settings-ecommerce-settings.types.js';\nimport * as ambassadorWixEcomV1EcommerceSettingsUniversalTypes from './ecom-v1-ecommerce-settings-ecommerce-settings.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getEcommerceSettings(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixEcomV1EcommerceSettingsUniversalTypes.GetEcommerceSettingsRequest,\n ambassadorWixEcomV1EcommerceSettingsTypes.GetEcommerceSettingsRequest,\n ambassadorWixEcomV1EcommerceSettingsUniversalTypes.GetEcommerceSettingsResponse,\n ambassadorWixEcomV1EcommerceSettingsTypes.GetEcommerceSettingsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1EcommerceSettings.getEcommerceSettings(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/ecommerce-settings',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n EcommerceSettings as EcommerceSettingsOriginal,\n ServicePluginConfiguration as ServicePluginConfigurationOriginal,\n ActiveProvider as ActiveProviderOriginal,\n TriggerFlow as TriggerFlowOriginal,\n TriggerFlowWithLiterals as TriggerFlowWithLiteralsOriginal,\n TaxConfiguration as TaxConfigurationOriginal,\n DiscountRulesConfiguration as DiscountRulesConfigurationOriginal,\n CheckoutSettings as CheckoutSettingsOriginal,\n CheckoutPolicies as CheckoutPoliciesOriginal,\n TermsAndConditionsPolicy as TermsAndConditionsPolicyOriginal,\n PrivacyPolicy as PrivacyPolicyOriginal,\n ReturnPolicy as ReturnPolicyOriginal,\n DigitalItemPolicy as DigitalItemPolicyOriginal,\n ContactUsPolicy as ContactUsPolicyOriginal,\n CustomCheckoutPolicy as CustomCheckoutPolicyOriginal,\n CheckoutFields as CheckoutFieldsOriginal,\n CheckboxField as CheckboxFieldOriginal,\n CheckoutBrand as CheckoutBrandOriginal,\n CheckoutHeader as CheckoutHeaderOriginal,\n Logo as LogoOriginal,\n Image as ImageOriginal,\n FocalPoint as FocalPointOriginal,\n LogoSize as LogoSizeOriginal,\n LogoSizeWithLiterals as LogoSizeWithLiteralsOriginal,\n Alignment as AlignmentOriginal,\n AlignmentWithLiterals as AlignmentWithLiteralsOriginal,\n ContinueShopping as ContinueShoppingOriginal,\n DisplayType as DisplayTypeOriginal,\n DisplayTypeWithLiterals as DisplayTypeWithLiteralsOriginal,\n BackgroundFill as BackgroundFillOriginal,\n BackgroundFillOptionsOneOf as BackgroundFillOptionsOneOfOriginal,\n CheckoutBillingFields as CheckoutBillingFieldsOriginal,\n CheckoutBillingFieldsWithLiterals as CheckoutBillingFieldsWithLiteralsOriginal,\n DeliveryConfiguration as DeliveryConfigurationOriginal,\n DestinationScope as DestinationScopeOriginal,\n DestinationScopeWithLiterals as DestinationScopeWithLiteralsOriginal,\n Destination as DestinationOriginal,\n CountryDeliveryProperties as CountryDeliveryPropertiesOriginal,\n DeliveryDestinationProperties as DeliveryDestinationPropertiesOriginal,\n SubdivisionDeliveryProperties as SubdivisionDeliveryPropertiesOriginal,\n BusinessProperties as BusinessPropertiesOriginal,\n Locale as LocaleOriginal,\n Address as AddressOriginal,\n StreetAddress as StreetAddressOriginal,\n InvalidateCache as InvalidateCacheOriginal,\n InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n App as AppOriginal,\n Page as PageOriginal,\n URI as URIOriginal,\n File as FileOriginal,\n CustomTag as CustomTagOriginal,\n GetEcommerceSettingsRequest as GetEcommerceSettingsRequestOriginal,\n RequestedFields as RequestedFieldsOriginal,\n RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal,\n GetEcommerceSettingsResponse as GetEcommerceSettingsResponseOriginal,\n Error as ErrorOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n Empty as EmptyOriginal,\n FeatureEvent as FeatureEventOriginal,\n FeatureEventEventOneOf as FeatureEventEventOneOfOriginal,\n FeatureEnabled as FeatureEnabledOriginal,\n FeatureEnabledReasonOneOf as FeatureEnabledReasonOneOfOriginal,\n Feature as FeatureOriginal,\n FeatureQuantityInfoOneOf as FeatureQuantityInfoOneOfOriginal,\n FeatureContext as FeatureContextOriginal,\n BooleanFeature as BooleanFeatureOriginal,\n QuotaFeature as QuotaFeatureOriginal,\n FeaturePeriod as FeaturePeriodOriginal,\n FeaturePeriodWithLiterals as FeaturePeriodWithLiteralsOriginal,\n QuotaInfo as QuotaInfoOriginal,\n QuotaInfoEntry as QuotaInfoEntryOriginal,\n TransferredFromAnotherAccountReason as TransferredFromAnotherAccountReasonOriginal,\n ReassignedFromSiteReason as ReassignedFromSiteReasonOriginal,\n AssignedFromFloatingReason as AssignedFromFloatingReasonOriginal,\n NewFeatureReason as NewFeatureReasonOriginal,\n ContractSwitchedReason as ContractSwitchedReasonOriginal,\n ManualFeatureCreationReason as ManualFeatureCreationReasonOriginal,\n MigratedFromLegacyReason as MigratedFromLegacyReasonOriginal,\n FeatureDisabled as FeatureDisabledOriginal,\n FeatureDisabledReasonOneOf as FeatureDisabledReasonOneOfOriginal,\n UnAssingedToFloatingReason as UnAssingedToFloatingReasonOriginal,\n ReplacedByAnotherSubscriptionReason as ReplacedByAnotherSubscriptionReasonOriginal,\n ReassignedToAnotherSiteReason as ReassignedToAnotherSiteReasonOriginal,\n FeatureUpdated as FeatureUpdatedOriginal,\n FeatureUpdatedPreviousQuantityInfoOneOf as FeatureUpdatedPreviousQuantityInfoOneOfOriginal,\n FeatureUpdatedReasonOneOf as FeatureUpdatedReasonOneOfOriginal,\n FeatureCancelled as FeatureCancelledOriginal,\n FeatureCancelledReasonOneOf as FeatureCancelledReasonOneOfOriginal,\n TransferredToAnotherAccountReason as TransferredToAnotherAccountReasonOriginal,\n CancelRequestedReason as CancelRequestedReasonOriginal,\n EcomSitePropertiesChangedEvent as EcomSitePropertiesChangedEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n GetEcommerceSettingsApplicationErrors as GetEcommerceSettingsApplicationErrorsOriginal,\n} from './ecom-v1-ecommerce-settings-ecommerce-settings.types.js';\n"],"mappings":"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","names":["getEcommerceSettings","import_rest_modules","payload","TriggerFlow","LogoSize","Alignment","DisplayType","CheckoutBillingFields","DestinationScope","RequestedFields","FeaturePeriod","WebhookIdentityType","getEcommerceSettings"]}
@@ -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 { AccountDetails, ActionEvent, ActiveProvider, Address, Alignment, AlignmentWithLiterals, App, AssignedFromFloatingReason, BackgroundFill, BackgroundFillOptionsOneOf, BooleanFeature, BusinessProperties, CancelRequestedReason, CheckboxField, CheckoutBillingFields, CheckoutBillingFieldsWithLiterals, CheckoutBrand, CheckoutFields, CheckoutHeader, CheckoutPolicies, CheckoutSettings, ContactUsPolicy, ContinueShopping, ContractSwitchedReason, CountryDeliveryProperties, CustomCheckoutPolicy, CustomTag, DeliveryConfiguration, DeliveryDestinationProperties, Destination, DestinationScope, DestinationScopeWithLiterals, DigitalItemPolicy, DiscountRulesConfiguration, DisplayType, DisplayTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, EcomSitePropertiesChangedEvent, EcommerceSettings, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Error, Feature, FeatureCancelled, FeatureCancelledReasonOneOf, FeatureContext, FeatureDisabled, FeatureDisabledReasonOneOf, FeatureEnabled, FeatureEnabledReasonOneOf, FeatureEvent, FeatureEventEventOneOf, FeaturePeriod, FeaturePeriodWithLiterals, FeatureQuantityInfoOneOf, FeatureUpdated, FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf, File, FocalPoint, GetEcommerceSettingsRequest, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, Locale, Logo, LogoSize, LogoSizeWithLiterals, ManualFeatureCreationReason, MessageEnvelope, MigratedFromLegacyReason, NewFeatureReason, Page, PrivacyPolicy, QuotaFeature, QuotaInfo, QuotaInfoEntry, ReassignedFromSiteReason, ReassignedToAnotherSiteReason, ReplacedByAnotherSubscriptionReason, RequestedFields, RestoreInfo, ReturnPolicy, ServicePluginConfiguration, StreetAddress, SubdivisionDeliveryProperties, TaxConfiguration, TermsAndConditionsPolicy, TransferredFromAnotherAccountReason, TransferredToAnotherAccountReason, TriggerFlow, TriggerFlowWithLiterals, URI, UnAssingedToFloatingReason, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
3
+ export { AccountInfo, ActionEvent, ActiveProvider, Address, Alignment, AlignmentWithLiterals, App, AssignedFromFloatingReason, BackgroundFill, BackgroundFillOptionsOneOf, BooleanFeature, BusinessProperties, CancelRequestedReason, CheckboxField, CheckoutBillingFields, CheckoutBillingFieldsWithLiterals, CheckoutBrand, CheckoutFields, CheckoutHeader, CheckoutPolicies, CheckoutSettings, ContactUsPolicy, ContinueShopping, ContractSwitchedReason, CountryDeliveryProperties, CustomCheckoutPolicy, CustomTag, DeliveryConfiguration, DeliveryDestinationProperties, Destination, DestinationScope, DestinationScopeWithLiterals, DigitalItemPolicy, DiscountRulesConfiguration, DisplayType, DisplayTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, EcomSitePropertiesChangedEvent, EcommerceSettings, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Error, Feature, FeatureCancelled, FeatureCancelledReasonOneOf, FeatureContext, FeatureDisabled, FeatureDisabledReasonOneOf, FeatureEnabled, FeatureEnabledReasonOneOf, FeatureEvent, FeatureEventEventOneOf, FeaturePeriod, FeaturePeriodWithLiterals, FeatureQuantityInfoOneOf, FeatureUpdated, FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf, File, FocalPoint, GetEcommerceSettingsRequest, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, Locale, Logo, LogoSize, LogoSizeWithLiterals, ManualFeatureCreationReason, MessageEnvelope, MigratedFromLegacyReason, NewFeatureReason, Page, PrivacyPolicy, QuotaFeature, QuotaInfo, QuotaInfoEntry, ReassignedFromSiteReason, ReassignedToAnotherSiteReason, ReplacedByAnotherSubscriptionReason, RequestedFields, RestoreInfo, ReturnPolicy, ServicePluginConfiguration, StreetAddress, SubdivisionDeliveryProperties, TaxConfiguration, TermsAndConditionsPolicy, TransferredFromAnotherAccountReason, TransferredToAnotherAccountReason, TriggerFlow, TriggerFlowWithLiterals, URI, UnAssingedToFloatingReason, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
4
4
 
5
5
  declare function getEcommerceSettings$1(httpClient: HttpClient): GetEcommerceSettingsSignature;
6
6
  interface GetEcommerceSettingsSignature {