{"version":3,"sources":["../../src/events-v1-events-settings-events-settings.http.ts","../../src/events-v1-events-settings-events-settings.types.ts","../../src/events-v1-events-settings-events-settings.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\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\nconst TRANSFORM_PATHS_0 = [\n  { path: 'eventsSettings.createdDate' },\n  { path: 'eventsSettings.updatedDate' },\n  { path: 'eventsSettings.appState.stateUpdatedDate' },\n  { path: 'eventsSettings.serviceFeeSettings.serviceFeeActivationDate' },\n  {\n    path: 'eventsSettings.serviceFeeSettings.serviceFeeActivationAgreementDate',\n  },\n];\nconst TRANSFORM_PATHS_1 = [{ path: 'fieldMask' }];\n\nfunction resolveWixEventsSettingsV1EventsSettingsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'api._api_base_domain_': [\n      {\n        srcPath: '/events-settings',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/events-settings',\n        destPath: '',\n      },\n    ],\n    'events.wixapps.net': [\n      {\n        srcPath: '/_api/events-settings',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/events-settings',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/events-settings',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/events/v1/settings',\n        destPath: '/v1/events-settings',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/events-settings',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/events-settings',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_events_events-settings';\n\n/** Retrieves the current events settings for a site. */\nexport function getEventsSettings(payload: object): RequestOptionsFactory<any> {\n  function __getEventsSettings({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.events.v1.events_settings',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.events.settings.v1.EventsSettingsService.GetEventsSettings',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEventsSettingsV1EventsSettingsServiceUrl({\n        protoPath: '/v1/events-settings',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getEventsSettings;\n}\n\n/** Updates Events Settings. */\nexport function updateEventsSettings(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateEventsSettings({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: TRANSFORM_PATHS_1,\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_0,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.events.v1.events_settings',\n      method: 'PATCH' as any,\n      methodFqn:\n        'wix.events.settings.v1.EventsSettingsService.UpdateEventsSettings',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEventsSettingsV1EventsSettingsServiceUrl({\n        protoPath: '/v1/events-settings/{eventsSettings.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateEventsSettings;\n}\n","/** Events Settings reads the settings and state of a site's [Wix Events & Tickets](https://www.wix.com/app-market/web-solution/events) app. */\nexport interface EventsSettings {\n  /**\n   * Events Settings ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * App instance ID of the source site. Present only when the Events & Tickets app was installed from a template or copied from another site during site duplication.\n   * @internal\n   * @format GUID\n   * @readonly\n   */\n  sourceInstanceId?: string | null;\n  /**\n   * Date and time the Events Settings were created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the Events Settings were last updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Revision number, which increments by 1 each time the Events Settings are updated. To prevent conflicting changes, the current revision must be passed when updating the Events Settings.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Current state of the Events & Tickets app, including when it was last enabled or disabled.\n   * @internal\n   * @readonly\n   */\n  appState?: AppState;\n  /**\n   * Site information including locale, language, and available premium features.\n   * @readonly\n   */\n  siteInfo?: SiteInfo;\n  /**\n   * Global information about the site's events, including whether any events have been created and current ticket sales status.\n   * @readonly\n   */\n  eventsInfo?: EventsInfo;\n  /**\n   * Settings for Wix service fees applied to paid ticket sales.\n   * @readonly\n   */\n  serviceFeeSettings?: ServiceFeeSettings;\n  /** Payment configuration including available payment methods, coupon acceptance, and delayed capture settings. */\n  paymentSettings?: PaymentSettings;\n  /**\n   * Site-specific settings for Events pages including setup completion status and page paths.\n   * @internal\n   */\n  siteSettings?: SiteSettings;\n  /**\n   * Whether the site has free premium features enabled. Free premium sites have access to certain advanced features without requiring a paid subscription.\n   * @internal\n   * @readonly\n   */\n  freePremium?: boolean | null;\n  /**\n   * Configuration for event badges functionality. Event badges allow integration with 3rd-party services that provide digital badges or certificates for event attendance.\n   * @internal\n   * @readonly\n   */\n  eventBadgesSettings?: EventBadgesSettings;\n  /**\n   * URLs for Events-related pages on the site, including event detail pages and schedule pages. These URLs are automatically generated based on the site's page structure and can be used for navigation or linking.\n   * @internal\n   */\n  eventPages?: EventPages;\n  /**\n   * Type of checkout flow used for ticket purchases. The checkout type is automatically determined based on the site's configuration and payment provider settings.\n   * @internal\n   * @readonly\n   */\n  checkoutType?: CheckoutTypeWithLiterals;\n  /**\n   * Whether Wix Forms are enabled for site.\n   * @internal\n   * @readonly\n   */\n  wixFormsEnabled?: boolean | null;\n  /**\n   * Event App Features\n   * @internal\n   * @readonly\n   */\n  features?: AppFeatures;\n  /**\n   * ID of the site's buyer form, shared by all ticketed events on the site. Returned only when `BUYER_FORM` is requested and a buyer form exists.\n   * @format GUID\n   * @readonly\n   */\n  buyerFormId?: string | null;\n}\n\n/** Events settings state */\nexport interface AppState {\n  /**\n   * Current state of the Events app.\n   * @readonly\n   */\n  state?: AppStateStateWithLiterals;\n  /**\n   * Date and time when the app state was last changed. Updated whenever the Events app is enabled or disabled.\n   * @readonly\n   */\n  stateUpdatedDate?: Date | null;\n}\n\n/** Events app state options. */\nexport enum AppStateState {\n  /** Events app is active and functional. */\n  ENABLED = 'ENABLED',\n  /** Events app is inactive. */\n  DISABLED = 'DISABLED',\n}\n\n/** @enumType */\nexport type AppStateStateWithLiterals = AppStateState | 'ENABLED' | 'DISABLED';\n\n/** Site info */\nexport interface SiteInfo {\n  /**\n   * Site locale in IETF BCP 47 language tag format. For example, `en-US` for U.S. English.\n   * @readonly\n   * @format LANGUAGE_TAG\n   */\n  locale?: string | null;\n  /**\n   * Site language in ISO 639-1 alpha-2 format. For example, `en`.\n   * @readonly\n   * @format LANGUAGE\n   */\n  language?: string | null;\n  /**\n   * Premium features available to the site. These features control access to advanced events capabilities. Use this array to determine which functionality to enable in your integration. For example, check for `SELL_TICKETS` before showing payment options.\n   * @readonly\n   * @maxSize 20\n   */\n  premiumFeatures?: PremiumFeatureWithLiterals[];\n}\n\n/** Premium features that can be enabled for Events. */\nexport enum PremiumFeature {\n  /** Enables paid ticket sales for events. When present, the site can create paid ticket definitions and process payments through configured payment providers. */\n  SELL_TICKETS = 'SELL_TICKETS',\n  /** Allows including custom URLs in event notification emails sent to attendees. Useful for adding registration links, additional information, or branded content in emails. */\n  INCLUDE_URL_IN_EMAIL = 'INCLUDE_URL_IN_EMAIL',\n  /** Removes Wix branding from event notification emails. Provides a fully customized email without Wix attribution in the footer. */\n  HIDE_FOOTER_IN_EMAIL = 'HIDE_FOOTER_IN_EMAIL',\n}\n\n/** @enumType */\nexport type PremiumFeatureWithLiterals =\n  | PremiumFeature\n  | 'SELL_TICKETS'\n  | 'INCLUDE_URL_IN_EMAIL'\n  | 'HIDE_FOOTER_IN_EMAIL';\n\nexport interface EventsInfo {\n  /**\n   * Whether the site has created its first event.\n   * @readonly\n   */\n  firstEventCreated?: boolean | null;\n  /**\n   * Whether any events on the site sell tickets, including both free and paid tickets.\n   * @readonly\n   */\n  sellingTickets?: boolean | null;\n  /**\n   * Whether any events on the site sell paid tickets specifically. Requires both ticket definitions with non-zero prices and the `SELL_TICKETS` premium feature.\n   * @readonly\n   */\n  sellingPaidTickets?: boolean | null;\n}\n\nexport interface ServiceFeeSettings {\n  /**\n   * Whether Wix service fees are applied to paid ticket sales.\n   * @readonly\n   */\n  serviceFeeEnabled?: boolean | null;\n  /**\n   * Date when Wix service fees were activated for the site. Present only if service fees are enabled and the site was created before May 27, 2019.\n   * @internal\n   * @readonly\n   */\n  serviceFeeActivationDate?: Date | null;\n  /**\n   * Date when the site owner agreed to Wix service fee terms. Present only if agreement was provided and the site was created before May 27, 2019.\n   * @internal\n   * @readonly\n   */\n  serviceFeeActivationAgreementDate?: Date | null;\n  /**\n   * Negotiated percentage above 0 and up to 100. Unset uses the default 2.5 percent; disable the fee through the ticket definition instead of a zero rate.\n   * @internal\n   * @readonly\n   * @decimalValue options { gt:0, lte:100, maxScale:2 }\n   */\n  serviceFeeRate?: string | null;\n}\n\nexport interface PaymentSettings {\n  /**\n   * Whether ticket sales are enabled for the site. Free ticket sales are always available; paid ticket sales require the `SELL_TICKETS` premium feature and configured payment providers.\n   * @readonly\n   */\n  ticketSalesEnabled?: boolean | null;\n  /**\n   * Payment methods currently available for ticket checkout. Automatically populated based on the site's payment provider configuration. Common methods include credit cards, PayPal, and digital wallets.\n   * @readonly\n   * @maxSize 100\n   */\n  activePaymentMethods?: PaymentMethod[];\n  /**\n   * Whether discount coupons can be used during ticket checkout. Automatically enabled when at least one coupon exists on the site.\n   * @readonly\n   */\n  couponsAccepted?: boolean | null;\n  /**\n   * Whether gift cards can be used during ticket checkout. Requires gift card functionality to be enabled at the site level.\n   * @readonly\n   */\n  giftCardsAccepted?: boolean | null;\n  /** Configuration for delayed payment capture, allowing payments to be authorized at purchase but captured later. This setting applies to all events on the site and can be updated through the API. */\n  delayedPaymentCaptureSettings?: DelayedPaymentCaptureSettings;\n  /**\n   * Whether the site has an active payment method\n   * @internal\n   * @readonly\n   */\n  hasActivePaymentMethod?: boolean | null;\n}\n\nexport interface PaymentMethod {\n  /**\n   * Payment method identifier indicating the type of payment accepted. For example, `creditCard`, `payPal`, `applePay`, or `googlePay`. Use this to determine which payment options to display in checkout.\n   * @readonly\n   * @maxLength 20\n   */\n  methodId?: string;\n}\n\nexport interface DelayedPaymentCaptureSettings {\n  /** Whether delayed payment capture is enabled for all ticket sales on the site. When enabled, payments are authorized at purchase but captured later. */\n  enabled?: boolean | null;\n  /**\n   * Action to take automatically after the delay period expires. Determines whether to complete the payment or release the authorization.\n   * @internal\n   */\n  action?: ActionWithLiterals;\n  /**\n   * Number of hours to delay payment capture. This allows time for event preparation, capacity adjustments, or manual review before finalizing payments.\n   *\n   * Default: `168` (7 days).\n   * @internal\n   * @max 144\n   */\n  delayInHours?: number | null;\n}\n\n/** Actions available for delayed payment processing. */\nexport enum Action {\n  /** Capture the authorized payment automatically after the delay period expires. This completes the transaction and charges the customer. */\n  CAPTURE = 'CAPTURE',\n  /** Cancel the authorized payment automatically after the delay period expires, releasing the held funds back to the customer without charge. */\n  VOID = 'VOID',\n}\n\n/** @enumType */\nexport type ActionWithLiterals = Action | 'CAPTURE' | 'VOID';\n\nexport interface SiteSettings {\n  /** Whether the initial Events setup has been completed. Set to `true` after the site owner completes the app configuration wizard. */\n  firstTimeCompleted?: boolean | null;\n  /** Configuration for Events pages on the site. Determines whether Events pages are accessible to site visitors. */\n  pagesType?: TypeWithLiterals;\n  /**\n   * Custom path for the event details page. For example, `/events` or `/my-events`. Used to generate URLs for individual event pages.\n   * @maxLength 100\n   */\n  detailsPagePath?: string | null;\n}\n\nexport enum Type {\n  /** Events pages are enabled and accessible to site visitors. */\n  ENABLED = 'ENABLED',\n  /** Events pages are disabled and not accessible to site visitors. */\n  DISABLED = 'DISABLED',\n}\n\n/** @enumType */\nexport type TypeWithLiterals = Type | 'ENABLED' | 'DISABLED';\n\nexport interface EventBadgesSettings {\n  /**\n   * Whether event badges functionality is available. Returns `true` when at least one event badges service provider integration (SPI) implementer exists on the site.\n   * @readonly\n   */\n  hasEventBadges?: boolean | null;\n}\n\nexport interface EventPages {\n  /**\n   * URL for the main Events page where visitors can view and browse all events. Use this for navigation or linking to the Events section.\n   * @readonly\n   */\n  eventPageUrl?: PageUrlV2;\n  /**\n   * URL for the Events schedule page showing upcoming events in calendar format. Use this for calendar-based event navigation.\n   * @readonly\n   */\n  schedulePageUrl?: PageUrlV2;\n  /**\n   * URL for standalone event pages that exist independently of the main Events app.\n   * @internal\n   * @readonly\n   */\n  standalonePageUrl?: PageUrlV2;\n  /**\n   * Base URL used for generating other Events page URLs.\n   * @internal\n   * @readonly\n   */\n  basePageUrl?: PageUrlV2;\n  /**\n   * Event pages overrides\n   * @internal\n   */\n  overrides?: EventPagesOverrides;\n}\n\nexport interface PageUrlV2 {\n  /**\n   * The relative path for the page within the site. For example, `/product-page/a-product`.\n   * Relative path within the site. For example, `/product-page/a-product`.\n   * @maxLength 128\n   */\n  relativePath?: string;\n  /**\n   * Complete URL including domain and path. For example, `https://mysite.com/product-page/a-product`.\n   * @maxLength 128\n   */\n  url?: string | null;\n}\n\nexport interface EventPagesOverrides {\n  /**\n   * The relative path for the event page within the site. For example, `/event-page/an-event`.\n   * @internal\n   * @maxLength 128\n   */\n  eventPagePath?: string | null;\n  /**\n   * The relative path for the schedule page within the site. For example, `/schedule/my-event`.\n   * @internal\n   * @maxLength 128\n   */\n  schedulePagePath?: string | null;\n}\n\nexport enum CheckoutType {\n  /** Checkout using Events App. */\n  EVENTS_APP = 'EVENTS_APP',\n  /** Checkout using Ecomm Platform. */\n  ECOMM_PLATFORM = 'ECOMM_PLATFORM',\n}\n\n/** @enumType */\nexport type CheckoutTypeWithLiterals =\n  | CheckoutType\n  | 'EVENTS_APP'\n  | 'ECOMM_PLATFORM';\n\nexport interface AppFeatures {\n  /**\n   * Whether Wix Forms are enabled for site.\n   * @internal\n   * @readonly\n   */\n  wixFormsEnabled?: boolean | null;\n  /**\n   * Whether Notification configs enabled.\n   * @internal\n   * @readonly\n   */\n  notificationsEnabled?: boolean | null;\n  /**\n   * Whether Automation triggers enabled.\n   * @internal\n   * @readonly\n   */\n  automationTriggersEnabled?: boolean | null;\n  /**\n   * Whether custom URL mapping is enabled for this site.\n   * @internal\n   * @readonly\n   */\n  customUrlMappingEnabled?: boolean | null;\n}\n\nexport interface GetEventsSettingsRequest {\n  /**\n   * Settings categories to include in the response. If omitted, returns only basic settings for performance optimization. Use this to request specific information like premium features or payment settings.\n   * @maxSize 11\n   */\n  fields?: RequestedFieldsWithLiterals[];\n  /**\n   * Internal flag to skip payment method retrieval for performance optimization.\n   * @internal\n   */\n  skipPaymentMethods?: boolean;\n  /**\n   * Branch ID for resolving event page URLs from a specific site branch (e.g. editor/draft branch).\n   * @internal\n   */\n  branchId?: string | null;\n}\n\n/** Categories of events settings that can be selectively retrieved for performance optimization. */\nexport enum RequestedFields {\n  /**\n   * Returns app state information including enabled/disabled status and last state change.\n   * @internal\n   */\n  APP_STATE = 'APP_STATE',\n  /** Returns site information including locale, language, and available premium features that determine Events capabilities. */\n  SITE_INFO = 'SITE_INFO',\n  /** Returns Events-related information like first event creation status and current ticket sales flags. */\n  EVENTS_INFO = 'EVENTS_INFO',\n  /** Returns Wix service fee configuration, activation status, and agreement dates. */\n  SERVICE_FEE_SETTINGS = 'SERVICE_FEE_SETTINGS',\n  /** Returns available payment methods, delayed capture settings, and payment acceptance configuration. */\n  PAYMENT_SETTINGS = 'PAYMENT_SETTINGS',\n  /**\n   * Returns site-specific configuration including setup completion and page paths.\n   * @internal\n   */\n  SITE_SETTINGS = 'SITE_SETTINGS',\n  /**\n   * Returns event badges functionality availability and configuration.\n   * @internal\n   */\n  EVENT_BADGES_SETTINGS = 'EVENT_BADGES_SETTINGS',\n  /**\n   * Returns basic site properties like locale and language only.\n   * @internal\n   */\n  SITE_PROPERTIES = 'SITE_PROPERTIES',\n  /**\n   * Returns URLs for Events-related pages including event listing and schedule pages.\n   * @internal\n   */\n  EVENT_PAGES = 'EVENT_PAGES',\n  /**\n   * Returns Events App Features\n   * @internal\n   */\n  APP_FEATURES = 'APP_FEATURES',\n  /** Returns the site's buyer form ID, if a buyer form exists. */\n  BUYER_FORM = 'BUYER_FORM',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n  | RequestedFields\n  | 'SITE_INFO'\n  | 'EVENTS_INFO'\n  | 'SERVICE_FEE_SETTINGS'\n  | 'PAYMENT_SETTINGS'\n  | 'BUYER_FORM';\n\nexport interface GetEventsSettingsResponse {\n  /** The Events Settings object containing the requested configuration and status information. */\n  eventsSettings?: EventsSettings;\n}\n\nexport interface UpdateEventsSettingsRequest {\n  /** Events Settings object containing the fields to update. Must include the current `revision` number to prevent conflicting changes. */\n  eventsSettings: EventsSettings;\n  /**\n   * Exact fields to update.\n   * @internal\n   */\n  fieldMask?: string[];\n  /**\n   * Settings categories to return in the response. Use this to optimize the response size by requesting only needed information.\n   * @maxSize 6\n   */\n  fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UpdateEventsSettingsResponse {\n  /** The updated Events Settings object reflecting the applied changes. */\n  eventsSettings?: EventsSettings;\n}\n\nexport interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n  /** Emitted on a meta site creation. */\n  siteCreated?: SiteCreated;\n  /** Emitted on a meta site transfer completion. */\n  siteTransferred?: SiteTransferred;\n  /** Emitted on a meta site deletion. */\n  siteDeleted?: SiteDeleted;\n  /** Emitted on a meta site restoration. */\n  siteUndeleted?: SiteUndeleted;\n  /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n  sitePublished?: SitePublished;\n  /** Emitted on a meta site unpublish. */\n  siteUnpublished?: SiteUnpublished;\n  /** Emitted when meta site is marked as template. */\n  siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n  /** Emitted when meta site is marked as a WixSite. */\n  siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n  /** Emitted when an application is provisioned (installed). */\n  serviceProvisioned?: ServiceProvisioned;\n  /** Emitted when an application is removed (uninstalled). */\n  serviceRemoved?: ServiceRemoved;\n  /** Emitted when meta site name (URL slug) is changed. */\n  siteRenamedPayload?: SiteRenamed;\n  /** Emitted when meta site was permanently deleted. */\n  hardDeleted?: SiteHardDeleted;\n  /** Emitted on a namespace change. */\n  namespaceChanged?: NamespaceChanged;\n  /** Emitted when Studio is attached. */\n  studioAssigned?: StudioAssigned;\n  /** Emitted when Studio is detached. */\n  studioUnassigned?: StudioUnassigned;\n  /**\n   * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n   * the actual URL.\n   *\n   * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n   * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n   */\n  urlChanged?: SiteUrlChanged;\n  /** Site is marked as PurgedExternally */\n  sitePurgedExternally?: SitePurgedExternally;\n  /** Emitted when Odeditor is attached. */\n  odeditorAssigned?: OdeditorAssigned;\n  /** Emitted when Odeditor is detached. */\n  odeditorUnassigned?: OdeditorUnassigned;\n  /** Emitted when Picasso is attached. */\n  picassoAssigned?: PicassoAssigned;\n  /** Emitted when Picasso is detached. */\n  picassoUnassigned?: PicassoUnassigned;\n  /** Emitted when Wixel is attached. */\n  wixelAssigned?: WixelAssigned;\n  /** Emitted when Wixel is detached. */\n  wixelUnassigned?: WixelUnassigned;\n  /** Emitted when StudioTwo is attached. */\n  studioTwoAssigned?: StudioTwoAssigned;\n  /** Emitted when StudioTwo is detached. */\n  studioTwoUnassigned?: StudioTwoUnassigned;\n  /** Emitted when media from user domain is enabled. */\n  userDomainMediaEnabled?: UserDomainMediaEnabled;\n  /** Emitted when media from user domain is disabled. */\n  userDomainMediaDisabled?: UserDomainMediaDisabled;\n  /** Emitted when Editorless is attached. */\n  editorlessAssigned?: EditorlessAssigned;\n  /** Emitted when Editorless is detached. */\n  editorlessUnassigned?: EditorlessUnassigned;\n  /**\n   * A meta site id.\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /** A meta site version. Monotonically increasing. */\n  version?: string;\n  /** A timestamp of the event. */\n  timestamp?: string;\n  /**\n   * TODO(meta-site): Change validation once validations are disabled for consumers\n   * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n   * @maxSize 4000\n   */\n  assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n  /** Emitted on a meta site creation. */\n  siteCreated?: SiteCreated;\n  /** Emitted on a meta site transfer completion. */\n  siteTransferred?: SiteTransferred;\n  /** Emitted on a meta site deletion. */\n  siteDeleted?: SiteDeleted;\n  /** Emitted on a meta site restoration. */\n  siteUndeleted?: SiteUndeleted;\n  /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n  sitePublished?: SitePublished;\n  /** Emitted on a meta site unpublish. */\n  siteUnpublished?: SiteUnpublished;\n  /** Emitted when meta site is marked as template. */\n  siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n  /** Emitted when meta site is marked as a WixSite. */\n  siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n  /** Emitted when an application is provisioned (installed). */\n  serviceProvisioned?: ServiceProvisioned;\n  /** Emitted when an application is removed (uninstalled). */\n  serviceRemoved?: ServiceRemoved;\n  /** Emitted when meta site name (URL slug) is changed. */\n  siteRenamedPayload?: SiteRenamed;\n  /** Emitted when meta site was permanently deleted. */\n  hardDeleted?: SiteHardDeleted;\n  /** Emitted on a namespace change. */\n  namespaceChanged?: NamespaceChanged;\n  /** Emitted when Studio is attached. */\n  studioAssigned?: StudioAssigned;\n  /** Emitted when Studio is detached. */\n  studioUnassigned?: StudioUnassigned;\n  /**\n   * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n   * the actual URL.\n   *\n   * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n   * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n   */\n  urlChanged?: SiteUrlChanged;\n  /** Site is marked as PurgedExternally */\n  sitePurgedExternally?: SitePurgedExternally;\n  /** Emitted when Odeditor is attached. */\n  odeditorAssigned?: OdeditorAssigned;\n  /** Emitted when Odeditor is detached. */\n  odeditorUnassigned?: OdeditorUnassigned;\n  /** Emitted when Picasso is attached. */\n  picassoAssigned?: PicassoAssigned;\n  /** Emitted when Picasso is detached. */\n  picassoUnassigned?: PicassoUnassigned;\n  /** Emitted when Wixel is attached. */\n  wixelAssigned?: WixelAssigned;\n  /** Emitted when Wixel is detached. */\n  wixelUnassigned?: WixelUnassigned;\n  /** Emitted when StudioTwo is attached. */\n  studioTwoAssigned?: StudioTwoAssigned;\n  /** Emitted when StudioTwo is detached. */\n  studioTwoUnassigned?: StudioTwoUnassigned;\n  /** Emitted when media from user domain is enabled. */\n  userDomainMediaEnabled?: UserDomainMediaEnabled;\n  /** Emitted when media from user domain is disabled. */\n  userDomainMediaDisabled?: UserDomainMediaDisabled;\n  /** Emitted when Editorless is attached. */\n  editorlessAssigned?: EditorlessAssigned;\n  /** Emitted when Editorless is detached. */\n  editorlessUnassigned?: EditorlessUnassigned;\n}\n\nexport interface Asset {\n  /**\n   * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n   * @maxLength 36\n   */\n  appDefId?: string;\n  /**\n   * An instance id. For legacy reasons may be UUID or a string.\n   * @maxLength 200\n   */\n  instanceId?: string;\n  /** An application state. */\n  state?: StateWithLiterals;\n}\n\nexport enum State {\n  UNKNOWN = 'UNKNOWN',\n  ENABLED = 'ENABLED',\n  DISABLED = 'DISABLED',\n  PENDING = 'PENDING',\n  DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n  | State\n  | 'UNKNOWN'\n  | 'ENABLED'\n  | 'DISABLED'\n  | 'PENDING'\n  | 'DEMO';\n\nexport interface SiteCreated {\n  /**\n   * A template identifier (empty if not created from a template).\n   * @maxLength 36\n   */\n  originTemplateId?: string;\n  /**\n   * An account id of the owner.\n   * @format GUID\n   */\n  ownerId?: string;\n  /** A context in which meta site was created. */\n  context?: SiteCreatedContextWithLiterals;\n  /**\n   * A meta site id from which this site was created.\n   *\n   * In case of a creation from a template it's a template id.\n   * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n   * @format GUID\n   */\n  originMetaSiteId?: string | null;\n  /**\n   * A meta site name (URL slug).\n   * @maxLength 20\n   */\n  siteName?: string;\n  /** A namespace. */\n  namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n  /** A valid option, we don't expose all reasons why site might be created. */\n  OTHER = 'OTHER',\n  /** A meta site was created from template. */\n  FROM_TEMPLATE = 'FROM_TEMPLATE',\n  /** A meta site was created by copying of the transfferred meta site. */\n  DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n  /** A copy of existing meta site. */\n  DUPLICATE = 'DUPLICATE',\n  /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n  OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n  /** deprecated A meta site was created for Flash editor. */\n  FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n  | SiteCreatedContext\n  | 'OTHER'\n  | 'FROM_TEMPLATE'\n  | 'DUPLICATE_BY_SITE_TRANSFER'\n  | 'DUPLICATE'\n  | 'OLD_SITE_TRANSFER'\n  | 'FLASH';\n\nexport enum Namespace {\n  UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n  /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n  WIX = 'WIX',\n  /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  SHOUT_OUT = 'SHOUT_OUT',\n  /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  ALBUMS = 'ALBUMS',\n  /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n  /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  HOTELS = 'HOTELS',\n  /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  CLUBS = 'CLUBS',\n  /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n  /**\n   * AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default.\n   * Not the dev-center dev site (see Flag.DEV_CENTER_DEV_SITE_FLAG).\n   */\n  DEV_SITE = 'DEV_SITE',\n  /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  LOGOS = 'LOGOS',\n  /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  VIDEO_MAKER = 'VIDEO_MAKER',\n  /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n  /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n  /**\n   * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n   *\n   * Meta site with this namespace will *not* be shown in a user's site list by default.\n   */\n  HTML_DRAFT = 'HTML_DRAFT',\n  /**\n   * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n   * Will be accessible from Site List and will not have a website app.\n   * Once the user attaches a site, the site will become a regular wixsite.\n   */\n  SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n  /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n  CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n  /** It is to be used in the Business First efforts. */\n  DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n  /** Bookings business flow with no site. */\n  ANYWHERE = 'ANYWHERE',\n  /** Namespace for Headless Backoffice with no editor */\n  HEADLESS = 'HEADLESS',\n  /**\n   * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n   * The site will be used for account level CSM feature for enterprise\n   */\n  ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n  /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n  RISE = 'RISE',\n  /**\n   * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n   * There's a blank site behind the scene but it's blank).\n   * The Mobile company will be the owner of this namespace.\n   */\n  BRANDED_FIRST = 'BRANDED_FIRST',\n  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n  NOWNIA = 'NOWNIA',\n  /**\n   * UGC Templates are templates that are created by users for personal use and to sale to other users.\n   * The Partners company owns this namespace.\n   */\n  UGC_TEMPLATE = 'UGC_TEMPLATE',\n  /** Codux Headless Sites */\n  CODUX = 'CODUX',\n  /** Bobb - AI Design Creator. */\n  MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n  /**\n   * Shared Blog Site is a unique single site across Enterprise account,\n   * This site will hold all Blog posts related to the Marketing product.\n   */\n  SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n  /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  STANDALONE_FORMS = 'STANDALONE_FORMS',\n  /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n  /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n  MIMIR = 'MIMIR',\n  /** Wix Twins platform. */\n  TWINS = 'TWINS',\n  /** Wix Nano. */\n  NANO = 'NANO',\n  /** Base44 headless sites. */\n  BASE44 = 'BASE44',\n  /** Wix Channels Sites */\n  CHANNELS = 'CHANNELS',\n  /** Nautilus platform. */\n  NAUTILUS = 'NAUTILUS',\n  /**\n   * Symphony — a siteless site representing a project within Symphony (the evolution of Orion).\n   * Holds project data, conversations, assets, and manages collaborators / shared team members for the project.\n   */\n  SYMPHONY = 'SYMPHONY',\n  /** Nautilus platform app. */\n  NAUTILUS_APPS = 'NAUTILUS_APPS',\n  /**\n   * Vibu — a siteless site representing a project built with Vibu (the AI app builder).\n   * Holds the project's generated code, conversations, assets, and manages collaborators for the project.\n   */\n  VIBU = 'VIBU',\n  /**\n   * Ghost site for the BrandKit multi-site platform. Each ghost backs a single BrandKit\n   * (an Enterprise account may have several), holding that BrandKit's brand definition\n   * (theme, typography, assets) which is rolled out to the BrandKit's connected sites.\n   * MetaSites with this namespace will *not* be shown in a user's site list by default.\n   */\n  ENTERPRISE_BRAND_KIT = 'ENTERPRISE_BRAND_KIT',\n  /**\n   * Dev-center development sites (com.wixpress.devcenter.dsm).\n   * DEPRECATED: replaced by Flag.DEV_CENTER_DEV_SITE_FLAG (a dev site is orthogonal to the namespace). Do not use for new sites.\n   */\n  DEV_CENTER_DEV_SITE = 'DEV_CENTER_DEV_SITE',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n  | Namespace\n  | 'UNKNOWN_NAMESPACE'\n  | 'WIX'\n  | 'SHOUT_OUT'\n  | 'ALBUMS'\n  | 'WIX_STORES_TEST_DRIVE'\n  | 'HOTELS'\n  | 'CLUBS'\n  | 'ONBOARDING_DRAFT'\n  | 'DEV_SITE'\n  | 'LOGOS'\n  | 'VIDEO_MAKER'\n  | 'PARTNER_DASHBOARD'\n  | 'DEV_CENTER_COMPANY'\n  | 'HTML_DRAFT'\n  | 'SITELESS_BUSINESS'\n  | 'CREATOR_ECONOMY'\n  | 'DASHBOARD_FIRST'\n  | 'ANYWHERE'\n  | 'HEADLESS'\n  | 'ACCOUNT_MASTER_CMS'\n  | 'RISE'\n  | 'BRANDED_FIRST'\n  | 'NOWNIA'\n  | 'UGC_TEMPLATE'\n  | 'CODUX'\n  | 'MEDIA_DESIGN_CREATOR'\n  | 'SHARED_BLOG_ENTERPRISE'\n  | 'STANDALONE_FORMS'\n  | 'STANDALONE_EVENTS'\n  | 'MIMIR'\n  | 'TWINS'\n  | 'NANO'\n  | 'BASE44'\n  | 'CHANNELS'\n  | 'NAUTILUS'\n  | 'SYMPHONY'\n  | 'NAUTILUS_APPS'\n  | 'VIBU'\n  | 'ENTERPRISE_BRAND_KIT'\n  | 'DEV_CENTER_DEV_SITE';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n  /**\n   * A previous owner id (user that transfers meta site).\n   * @format GUID\n   */\n  oldOwnerId?: string;\n  /**\n   * A new owner id (user that accepts meta site).\n   * @format GUID\n   */\n  newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n  /** A deletion context. */\n  deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n  /** When the meta site was deleted. */\n  dateDeleted?: Date | null;\n  /** A status. */\n  deleteStatus?: DeleteStatusWithLiterals;\n  /**\n   * A reason (flow).\n   * @maxLength 255\n   */\n  deleteOrigin?: string;\n  /**\n   * A service that deleted it.\n   * @maxLength 255\n   */\n  initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n  UNKNOWN = 'UNKNOWN',\n  TRASH = 'TRASH',\n  DELETED = 'DELETED',\n  PENDING_PURGE = 'PENDING_PURGE',\n  PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n  | DeleteStatus\n  | 'UNKNOWN'\n  | 'TRASH'\n  | 'DELETED'\n  | 'PENDING_PURGE'\n  | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n  /**\n   * A list of URLs previously associated with the meta site.\n   * @maxLength 4000\n   * @maxSize 10000\n   */\n  urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n  /**\n   * Either UUID or EmbeddedServiceType.\n   * @maxLength 36\n   */\n  appDefId?: string;\n  /**\n   * Not only UUID. Something here could be something weird.\n   * @maxLength 36\n   */\n  instanceId?: string;\n  /**\n   * An instance id from which this instance is originated.\n   * @maxLength 36\n   */\n  originInstanceId?: string;\n  /**\n   * A version.\n   * @maxLength 500\n   */\n  version?: string | null;\n  /**\n   * The origin meta site id\n   * @format GUID\n   */\n  originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n  /**\n   * Either UUID or EmbeddedServiceType.\n   * @maxLength 36\n   */\n  appDefId?: string;\n  /**\n   * Not only UUID. Something here could be something weird.\n   * @maxLength 36\n   */\n  instanceId?: string;\n  /**\n   * A version.\n   * @maxLength 500\n   */\n  version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n  /**\n   * A new meta site name (URL slug).\n   * @maxLength 20\n   */\n  newSiteName?: string;\n  /**\n   * A previous meta site name (URL slug).\n   * @maxLength 255\n   */\n  oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n  /** A deletion context. */\n  deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n  /** A previous namespace. */\n  oldNamespace?: NamespaceWithLiterals;\n  /** A new namespace. */\n  newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n  /**\n   * @maxLength 2048\n   * @maxSize 100\n   * @deprecated\n   * @targetRemovalDate 2025-04-15\n   */\n  appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\n/** Media from user domain is enabled. */\nexport interface UserDomainMediaEnabled {}\n\n/** Media from user domain is disabled. */\nexport interface UserDomainMediaDisabled {}\n\n/** Assigned Editorless */\nexport interface EditorlessAssigned {}\n\n/** Unassigned Editorless */\nexport interface EditorlessUnassigned {}\n\nexport interface Empty {}\n\n/** Encapsulates all changes when site properties are updated */\nexport interface SitePropertiesUpdated {\n  /** ID of the Wix site that has been updated. */\n  metasiteId?: string;\n  /** Update details. */\n  event?: SitePropertiesEvent;\n}\n\n/** The actual update event for a particular notification. */\nexport interface SitePropertiesEvent {\n  /** Version of the site's properties represented by this update. */\n  version?: number;\n  /** Set of properties that were updated - corresponds to the fields in \"properties\". */\n  fields?: string[];\n  /** Updated properties. */\n  properties?: Properties;\n}\n\nexport interface Properties {\n  /** Site categories. */\n  categories?: Categories;\n  /** Site locale. */\n  locale?: Locale;\n  /**\n   * Site language.\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   */\n  language?: string | null;\n  /**\n   * Site currency used to bill customers.\n   *\n   * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n   */\n  paymentCurrency?: string | null;\n  /** Site time zone in IANA time zone database format. For example, `America/New_York`. */\n  timeZone?: string | null;\n  /** Email address. */\n  email?: string | null;\n  /** Phone number. */\n  phone?: string | null;\n  /** Fax number. */\n  fax?: string | null;\n  /** Address. */\n  address?: Address;\n  /** Site display name. */\n  siteDisplayName?: string | null;\n  /** Business name. */\n  businessName?: string | null;\n  /** Path to the site's logo in Wix Media (without Wix Media base URL). */\n  logo?: string | null;\n  /** Site description. */\n  description?: string | null;\n  /**\n   * Business schedule. Regular and exceptional time periods when the business is open or the service is available.\n   *\n   * __Note:__ Not supported by Wix Bookings.\n   */\n  businessSchedule?: BusinessSchedule;\n  /** Supported languages of a site and the primary language. */\n  multilingual?: Multilingual;\n  /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */\n  consentPolicy?: ConsentPolicy;\n  /**\n   * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.\n   *\n   * Site business type.\n   */\n  businessConfig?: string | null;\n  /** External site URL that uses Wix as its headless business solution. */\n  externalSiteUrl?: string | null;\n  /** Track clicks analytics. */\n  trackClicksAnalytics?: boolean;\n  /**\n   * Company ID issued to the business by local authorities. Appears on invoices and price quotes.\n   * @maxLength 50\n   */\n  companyId?: string | null;\n}\n\nexport interface Categories {\n  /** Primary site category. */\n  primary?: string;\n  /**\n   * Secondary site category.\n   * @maxSize 50\n   */\n  secondary?: string[];\n  /** Business Term Id */\n  businessTermId?: string | null;\n}\n\nexport interface Locale {\n  /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n  languageCode?: string;\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  country?: string;\n}\n\nexport interface Address {\n  /** Street name. */\n  street?: string;\n  /** City name. */\n  city?: string;\n  /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */\n  country?: string;\n  /** State. */\n  state?: string;\n  /**\n   * Zip or postal code.\n   * @maxLength 20\n   */\n  zip?: string;\n  /** Extra information to be displayed in the address. */\n  hint?: AddressHint;\n  /** Whether this address represents a physical location. */\n  isPhysical?: boolean;\n  /** Google-formatted version of this address. */\n  googleFormattedAddress?: string;\n  /** Street number. */\n  streetNumber?: string;\n  /** Apartment number. */\n  apartmentNumber?: string;\n  /** Geographic coordinates of location. */\n  coordinates?: GeoCoordinates;\n}\n\n/**\n * Extra information on displayed addresses.\n * This is used for display purposes. Used to add additional data about the address, such as \"In the passage\".\n * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.\n */\nexport interface AddressHint {\n  /** Extra text displayed next to, or instead of, the actual address. */\n  text?: string;\n  /** Where the extra text should be displayed. */\n  placement?: PlacementTypeWithLiterals;\n}\n\n/** Where the extra text should be displayed: before, after or instead of the actual address. */\nexport enum PlacementType {\n  BEFORE = 'BEFORE',\n  AFTER = 'AFTER',\n  REPLACE = 'REPLACE',\n}\n\n/** @enumType */\nexport type PlacementTypeWithLiterals =\n  | PlacementType\n  | 'BEFORE'\n  | 'AFTER'\n  | 'REPLACE';\n\n/** Geocoordinates for a particular address. */\nexport interface GeoCoordinates {\n  /** Latitude of the location. Must be between -90 and 90. */\n  latitude?: number;\n  /** Longitude of the location. Must be between -180 and 180. */\n  longitude?: number;\n}\n\n/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */\nexport interface BusinessSchedule {\n  /**\n   * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.\n   * @maxSize 100\n   */\n  periods?: TimePeriod[];\n  /**\n   * Exceptions to the business's regular hours. The business can be open or closed during the exception.\n   * @maxSize 100\n   */\n  specialHourPeriod?: SpecialHourPeriod[];\n}\n\n/** Weekly recurring time periods when the business is regularly open or the service is available. */\nexport interface TimePeriod {\n  /** Day of the week the period starts on. */\n  openDay?: DayOfWeekWithLiterals;\n  /**\n   * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents\n   * midnight at the end of the specified day.\n   */\n  openTime?: string;\n  /** Day of the week the period ends on. */\n  closeDay?: DayOfWeekWithLiterals;\n  /**\n   * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents\n   * midnight at the end of the specified day.\n   *\n   * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.\n   */\n  closeTime?: string;\n}\n\n/** Enumerates the days of the week. */\nexport enum DayOfWeek {\n  MONDAY = 'MONDAY',\n  TUESDAY = 'TUESDAY',\n  WEDNESDAY = 'WEDNESDAY',\n  THURSDAY = 'THURSDAY',\n  FRIDAY = 'FRIDAY',\n  SATURDAY = 'SATURDAY',\n  SUNDAY = 'SUNDAY',\n}\n\n/** @enumType */\nexport type DayOfWeekWithLiterals =\n  | DayOfWeek\n  | 'MONDAY'\n  | 'TUESDAY'\n  | 'WEDNESDAY'\n  | 'THURSDAY'\n  | 'FRIDAY'\n  | 'SATURDAY'\n  | 'SUNDAY';\n\n/** Exception to the business's regular hours. The business can be open or closed during the exception. */\nexport interface SpecialHourPeriod {\n  /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n  startDate?: string;\n  /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n  endDate?: string;\n  /**\n   * Whether the business is closed (or the service is not available) during the exception.\n   *\n   * Default: `true`.\n   */\n  isClosed?: boolean;\n  /** Additional info about the exception. For example, \"We close earlier on New Year's Eve.\" */\n  comment?: string;\n}\n\nexport interface Multilingual {\n  /**\n   * Supported languages list.\n   * @maxSize 200\n   */\n  supportedLanguages?: SupportedLanguage[];\n  /** Whether to redirect to user language. */\n  autoRedirect?: boolean;\n}\n\nexport interface SupportedLanguage {\n  /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n  languageCode?: string;\n  /** Locale. */\n  locale?: Locale;\n  /** Whether the supported language is the primary language for the site. */\n  isPrimary?: boolean;\n  /** Language icon. */\n  countryCode?: string;\n  /** How the language will be resolved. For internal use. */\n  resolutionMethod?: ResolutionMethodWithLiterals;\n  /** Whether the supported language is the primary language for site visitors. */\n  isVisitorPrimary?: boolean | null;\n}\n\nexport enum ResolutionMethod {\n  QUERY_PARAM = 'QUERY_PARAM',\n  SUBDOMAIN = 'SUBDOMAIN',\n  SUBDIRECTORY = 'SUBDIRECTORY',\n}\n\n/** @enumType */\nexport type ResolutionMethodWithLiterals =\n  | ResolutionMethod\n  | 'QUERY_PARAM'\n  | 'SUBDOMAIN'\n  | 'SUBDIRECTORY';\n\nexport interface ConsentPolicy {\n  /** Whether the site uses cookies that are essential to site operation. Always `true`. */\n  essential?: boolean | null;\n  /** Whether the site uses cookies that affect site performance and other functional measurements. */\n  functional?: boolean | null;\n  /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */\n  analytics?: boolean | null;\n  /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */\n  advertising?: boolean | null;\n  /** CCPA compliance flag. */\n  dataToThirdParty?: boolean | null;\n}\n\nexport interface NewNotificationMessage {\n  /** payload */\n  payload?: NotificationInfo;\n  /** template_topic_params */\n  templateTopicParams?: Record<string, string>;\n}\n\nexport interface NotificationInfo {\n  /** recipient identifier */\n  recipient?: NotificationRecipient;\n  /** notification id, unique per notification per recipient */\n  notificationId?: string;\n  /** correlation id. will be the same id for all the notifications that were created from the same notify request */\n  correlationId?: string;\n  /** the spout who sent this notification */\n  spout?: NotificationsSpout;\n  /** who initiated this notification */\n  initiator?: NotificationInitiator;\n  /** identifier of the template that the notification is based on. if you don't know what notification templates are, RTFM */\n  templateId?: string;\n  /** The context of the notification, used to determine recipient settings, aggregating notifications, etc.  Please use the topic builder in order to create topics. */\n  topic?: string;\n  /** when the notification was sent */\n  sentAt?: Date | null;\n  /** strings that will be replaced when translating the notification */\n  translationParams?: Record<string, string>;\n  /** data that will be sent to the channels */\n  data?: Record<string, any> | null;\n  /** the link of the notification */\n  actionTarget?: ActionTarget;\n  /** the link of the notification */\n  actionTargetWhenGrouped?: ActionTarget;\n}\n\n/** Notification Recipient represents a user that receives notifications from Ping */\nexport interface NotificationRecipient\n  extends NotificationRecipientRecipientTypeOneOf {\n  /**\n   * test recipient id\n   * @format GUID\n   */\n  testRecipient?: string;\n  /**\n   * Wix user id\n   * @format GUID\n   */\n  wixUser?: string;\n  /** contact identifier */\n  contact?: Contact;\n  /** Incognito (unidentified recipient) */\n  incognito?: IncognitoDetails;\n  /** DeviantArt user */\n  deviantArtUser?: string;\n}\n\n/** @oneof */\nexport interface NotificationRecipientRecipientTypeOneOf {\n  /**\n   * test recipient id\n   * @format GUID\n   */\n  testRecipient?: string;\n  /**\n   * Wix user id\n   * @format GUID\n   */\n  wixUser?: string;\n  /** contact identifier */\n  contact?: Contact;\n  /** Incognito (unidentified recipient) */\n  incognito?: IncognitoDetails;\n  /** DeviantArt user */\n  deviantArtUser?: string;\n}\n\nexport interface Contact {\n  /**\n   * meta site id\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * contact id\n   * @format GUID\n   */\n  contactId?: string;\n}\n\nexport interface IncognitoDetails {\n  /**\n   * name\n   * @format EMAIL\n   */\n  name?: string | null;\n  /**\n   * email\n   * @format EMAIL\n   */\n  email?: string | null;\n  /**\n   * phone\n   * @format PHONE\n   */\n  phone?: string | null;\n  /** locale */\n  locale?: string | null;\n  /** language */\n  language?: string | null;\n}\n\nexport interface NotificationsSpout extends NotificationsSpoutSpoutTypeOneOf {\n  /** wix app */\n  wixApp?: string;\n  /** internal service */\n  internalService?: string;\n}\n\n/** @oneof */\nexport interface NotificationsSpoutSpoutTypeOneOf {\n  /** wix app */\n  wixApp?: string;\n  /** internal service */\n  internalService?: string;\n}\n\nexport interface NotificationInitiator\n  extends NotificationInitiatorInitiatorOneOf {\n  /**\n   * wix user id\n   * @format GUID\n   */\n  wixUser?: string;\n  /**\n   * wix app def id (for TPAs)\n   * @format GUID\n   */\n  wixApp?: string;\n  /** contact identifier */\n  contact?: Contact;\n  /** Site member identifier */\n  siteMember?: SiteMember;\n  /** Anonymous (free string) */\n  anonymous?: string;\n  /** Business (as metaSiteId) */\n  business?: string;\n}\n\n/** @oneof */\nexport interface NotificationInitiatorInitiatorOneOf {\n  /**\n   * wix user id\n   * @format GUID\n   */\n  wixUser?: string;\n  /**\n   * wix app def id (for TPAs)\n   * @format GUID\n   */\n  wixApp?: string;\n  /** contact identifier */\n  contact?: Contact;\n  /** Site member identifier */\n  siteMember?: SiteMember;\n  /** Anonymous (free string) */\n  anonymous?: string;\n  /** Business (as metaSiteId) */\n  business?: string;\n}\n\nexport interface SiteMember {\n  /**\n   * site member id\n   * @format GUID\n   */\n  siteMemberId?: string;\n  /**\n   * meta site id\n   * @format GUID\n   */\n  metaSiteId?: string;\n}\n\n/** DB */\nexport interface ActionTarget extends ActionTargetOfOneOf {\n  /** url */\n  url?: string;\n  /** backoffice app */\n  backofficeApp?: BackofficeActionTarget;\n  /** live site */\n  liveSite?: LiveSiteActionTarget;\n  /** dashboard page */\n  dashboardPage?: DashboardPageActionTarget;\n}\n\n/** @oneof */\nexport interface ActionTargetOfOneOf {\n  /** url */\n  url?: string;\n  /** backoffice app */\n  backofficeApp?: BackofficeActionTarget;\n  /** live site */\n  liveSite?: LiveSiteActionTarget;\n  /** dashboard page */\n  dashboardPage?: DashboardPageActionTarget;\n}\n\nexport interface BackofficeActionTarget {\n  /** app id */\n  appId?: string;\n  /**\n   * meta site id\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /** params */\n  params?: Record<string, string>;\n}\n\nexport interface LiveSiteActionTarget {\n  /**\n   * meta site id\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /** app page id */\n  appPageId?: string | null;\n  /** params */\n  params?: Record<string, string>;\n}\n\nexport interface DashboardPageActionTarget {\n  /** @format GUID */\n  pageId?: string;\n  /** @maxLength 300 */\n  relativeUrl?: string | null;\n}\n\nexport interface AgreeToServiceFeeRequest {\n  /**\n   * Settings categories to return after recording the service fee agreement.\n   * @maxSize 6\n   */\n  fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface AgreeToServiceFeeResponse {\n  /** Events Settings after recording the service fee agreement. */\n  eventsSettings?: EventsSettings;\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  /**\n   * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n   * @internal\n   */\n  triggeredByUndelete?: boolean | null;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\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   * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n   * wont populate it / have any reference to it in the API.\n   * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n   * the developer should send only the new (current) entity.\n   * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n   * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n   * @internal\n   * @deprecated\n   */\n  previousEntityAsJson?: string | null;\n  /**\n   * Map of fully qualified field paths to their previous values for fields that changed.\n   * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n   * @internal\n   */\n  modifiedFields?: Record<string, any>;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n  /**\n   * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n   * @internal\n   */\n  movedToTrash?: boolean | null;\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\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   * Information about a quota usage change for a feature. Triggered when\n   * quota usage is reported via Report Quota Usage endpoint. Includes\n   * before/after usage and remaining values.\n   */\n  quotaUsageChanged?: FeatureQuotaUsageChanged;\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   * Information about a quota usage change for a feature. Triggered when\n   * quota usage is reported via Report Quota Usage endpoint. Includes\n   * before/after usage and remaining values.\n   */\n  quotaUsageChanged?: FeatureQuotaUsageChanged;\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  /** Information about manual sync (e.g. immigrator task). */\n  manualSync?: ManualSyncReason;\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  /** Information about manual sync (e.g. immigrator task). */\n  manualSync?: ManualSyncReason;\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  /** Classification of the contract switch (upgrade, downgrade, or price increase) */\n  classification?: ContractSwitchClassificationWithLiterals;\n}\n\n/**\n * Classification of contract switch events for quota reset behavior\n * Needed to determine whether to reset usage and/or reset date for features affected by the contract switch.\n * For example, for an upgrade we want to reset both usage and date.\n * For a downgrade we want to keep the usage and date but update the limit, and for a price increase we want to reset the usage but keep the date.\n */\nexport enum ContractSwitchClassification {\n  /** Unknown or unclassified contract switch */\n  UNKNOWN = 'UNKNOWN',\n  /** Upgrade - reset usage, reset date, and update limit */\n  UPGRADE = 'UPGRADE',\n  /** Downgrade - only update limit (no reset) */\n  DOWNGRADE = 'DOWNGRADE',\n  /** Price increase - reset usage only (not reset date), update limit */\n  PRICE_INCREASE = 'PRICE_INCREASE',\n}\n\n/** @enumType */\nexport type ContractSwitchClassificationWithLiterals =\n  | ContractSwitchClassification\n  | 'UNKNOWN'\n  | 'UPGRADE'\n  | 'DOWNGRADE'\n  | 'PRICE_INCREASE';\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 was synced manually, for example by immigrator task */\nexport interface ManualSyncReason {\n  /**\n   * Optional description of the manual sync source (e.g. \"immigrator\", \"quota-sync\").\n   * @maxLength 100\n   */\n  source?: string | null;\n}\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  /** Information about manual sync (e.g. immigrator task). */\n  manualSync?: ManualSyncReason;\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  /** Information about manual sync (e.g. immigrator task). */\n  manualSync?: ManualSyncReason;\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  /** Information about manual sync (e.g. immigrator task). */\n  manualSync?: ManualSyncReason;\n  /** Feature was automatically cancelled because its quota was fully consumed. */\n  quotaExhausted?: QuotaExhaustedReason;\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  /** Information about manual sync (e.g. immigrator task). */\n  manualSync?: ManualSyncReason;\n  /** Feature was automatically cancelled because its quota was fully consumed. */\n  quotaExhausted?: QuotaExhaustedReason;\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\n/** Feature was automatically cancelled because its quota was fully consumed (e.g. topup feature) */\nexport interface QuotaExhaustedReason {}\n\n/** Quota usage changed for a feature. */\nexport interface FeatureQuotaUsageChanged {\n  /** Full feature state before this quota usage report. */\n  featureBefore?: Feature;\n  /** Full feature state after this quota usage report. */\n  featureAfter?: Feature;\n}\n\nexport interface RefreshTicketsFlagsRequest {}\n\nexport interface RefreshTicketsFlagsResponse {\n  /** Whether any events on the site sell tickets (free or paid). */\n  sellingTickets?: boolean | null;\n  /** Whether any events on the site sell paid tickets. */\n  sellingPaidTickets?: boolean | null;\n}\n\nexport interface UpdateEventsFeeSettingsRequest {\n  /** Whether Wix service fees should be applied to paid ticket sales on this site. */\n  serviceFeeEnabled?: boolean | null;\n  /** Date when service fees should become active. Used for sites that are enabling fees for the first time. */\n  serviceFeeActivationDate?: Date | null;\n  /** Date when the site owner agreed to service fee terms. Required for fee activation on older sites. */\n  serviceFeeActivationAgreementDate?: Date | null;\n  /**\n   * Specific fields to update in the service fee settings. Use this to control which fee-related properties are modified.\n   * @maxSize 4\n   */\n  patchFields?: PatchFieldWithLiterals[];\n  /**\n   * Negotiated percentage above 0 and up to 100. Include FEE_RATE without a value to restore the default 2.5 percent.\n   * @decimalValue options { gt:0, lte:100, maxScale:2 }\n   */\n  serviceFeeRate?: string | null;\n}\n\n/** Fields that can be updated in service fee settings. */\nexport enum PatchField {\n  /** Set the negotiated percentage, or clear it when service_fee_rate is absent. */\n  FEE_RATE = 'FEE_RATE',\n  /** Update whether service fees are enabled for paid ticket sales. */\n  FEE_ENABLED = 'FEE_ENABLED',\n  /** Update the date when service fees became active on the site. */\n  FEE_ACTIVATION_DATE = 'FEE_ACTIVATION_DATE',\n  /** Update the date when the site owner agreed to service fee terms. */\n  FEE_ACTIVATION_AGREEMENT_DATE = 'FEE_ACTIVATION_AGREEMENT_DATE',\n}\n\n/** @enumType */\nexport type PatchFieldWithLiterals =\n  | PatchField\n  | 'FEE_RATE'\n  | 'FEE_ENABLED'\n  | 'FEE_ACTIVATION_DATE'\n  | 'FEE_ACTIVATION_AGREEMENT_DATE';\n\nexport interface UpdateEventsFeeSettingsResponse {\n  /** Updated Events Settings. */\n  eventsSettings?: EventsSettings;\n}\n\nexport interface UpdateFeatureOverrideRequest {\n  overrides?: AppFeatures;\n}\n\nexport interface UpdateFeatureOverrideResponse {\n  eventsSettings?: EventsSettings;\n  overrides?: AppFeatures;\n}\n\nexport interface CreateSiteBuyerFormRequest {}\n\nexport interface CreateSiteBuyerFormResponse {\n  /**\n   * The id of the created site buyer form.\n   * @format GUID\n   */\n  buyerFormId?: string | null;\n}\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  /** Details related to the account */\n  accountInfo?: AccountInfo;\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","import * as ambassadorWixEventsV1EventsSettings from './events-v1-events-settings-events-settings.http.js';\nimport * as ambassadorWixEventsV1EventsSettingsTypes from './events-v1-events-settings-events-settings.types.js';\nimport * as ambassadorWixEventsV1EventsSettingsUniversalTypes from './events-v1-events-settings-events-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 getEventsSettings(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixEventsV1EventsSettingsUniversalTypes.GetEventsSettingsRequest,\n  ambassadorWixEventsV1EventsSettingsTypes.GetEventsSettingsRequest,\n  ambassadorWixEventsV1EventsSettingsUniversalTypes.GetEventsSettingsResponse,\n  ambassadorWixEventsV1EventsSettingsTypes.GetEventsSettingsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsV1EventsSettings.getEventsSettings(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/events-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 function updateEventsSettings(): __PublicMethodMetaInfo<\n  'PATCH',\n  { eventsSettingsId: string },\n  ambassadorWixEventsV1EventsSettingsUniversalTypes.UpdateEventsSettingsRequest,\n  ambassadorWixEventsV1EventsSettingsTypes.UpdateEventsSettingsRequest,\n  ambassadorWixEventsV1EventsSettingsUniversalTypes.UpdateEventsSettingsResponse,\n  ambassadorWixEventsV1EventsSettingsTypes.UpdateEventsSettingsResponse\n> {\n  const payload = { eventsSettings: { id: ':eventsSettingsId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsV1EventsSettings.updateEventsSettings(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v1/events-settings/{eventsSettings.id}',\n    pathParams: { eventsSettingsId: 'eventsSettingsId' },\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  EventsSettings as EventsSettingsOriginal,\n  AppState as AppStateOriginal,\n  AppStateState as AppStateStateOriginal,\n  AppStateStateWithLiterals as AppStateStateWithLiteralsOriginal,\n  SiteInfo as SiteInfoOriginal,\n  PremiumFeature as PremiumFeatureOriginal,\n  PremiumFeatureWithLiterals as PremiumFeatureWithLiteralsOriginal,\n  EventsInfo as EventsInfoOriginal,\n  ServiceFeeSettings as ServiceFeeSettingsOriginal,\n  PaymentSettings as PaymentSettingsOriginal,\n  PaymentMethod as PaymentMethodOriginal,\n  DelayedPaymentCaptureSettings as DelayedPaymentCaptureSettingsOriginal,\n  Action as ActionOriginal,\n  ActionWithLiterals as ActionWithLiteralsOriginal,\n  SiteSettings as SiteSettingsOriginal,\n  Type as TypeOriginal,\n  TypeWithLiterals as TypeWithLiteralsOriginal,\n  EventBadgesSettings as EventBadgesSettingsOriginal,\n  EventPages as EventPagesOriginal,\n  PageUrlV2 as PageUrlV2Original,\n  EventPagesOverrides as EventPagesOverridesOriginal,\n  CheckoutType as CheckoutTypeOriginal,\n  CheckoutTypeWithLiterals as CheckoutTypeWithLiteralsOriginal,\n  AppFeatures as AppFeaturesOriginal,\n  GetEventsSettingsRequest as GetEventsSettingsRequestOriginal,\n  RequestedFields as RequestedFieldsOriginal,\n  RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal,\n  GetEventsSettingsResponse as GetEventsSettingsResponseOriginal,\n  UpdateEventsSettingsRequest as UpdateEventsSettingsRequestOriginal,\n  UpdateEventsSettingsResponse as UpdateEventsSettingsResponseOriginal,\n  MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal,\n  MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal,\n  Asset as AssetOriginal,\n  State as StateOriginal,\n  StateWithLiterals as StateWithLiteralsOriginal,\n  SiteCreated as SiteCreatedOriginal,\n  SiteCreatedContext as SiteCreatedContextOriginal,\n  SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal,\n  Namespace as NamespaceOriginal,\n  NamespaceWithLiterals as NamespaceWithLiteralsOriginal,\n  SiteTransferred as SiteTransferredOriginal,\n  SiteDeleted as SiteDeletedOriginal,\n  DeleteContext as DeleteContextOriginal,\n  DeleteStatus as DeleteStatusOriginal,\n  DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal,\n  SiteUndeleted as SiteUndeletedOriginal,\n  SitePublished as SitePublishedOriginal,\n  SiteUnpublished as SiteUnpublishedOriginal,\n  SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal,\n  SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal,\n  ServiceProvisioned as ServiceProvisionedOriginal,\n  ServiceRemoved as ServiceRemovedOriginal,\n  SiteRenamed as SiteRenamedOriginal,\n  SiteHardDeleted as SiteHardDeletedOriginal,\n  NamespaceChanged as NamespaceChangedOriginal,\n  StudioAssigned as StudioAssignedOriginal,\n  StudioUnassigned as StudioUnassignedOriginal,\n  SiteUrlChanged as SiteUrlChangedOriginal,\n  SitePurgedExternally as SitePurgedExternallyOriginal,\n  OdeditorAssigned as OdeditorAssignedOriginal,\n  OdeditorUnassigned as OdeditorUnassignedOriginal,\n  PicassoAssigned as PicassoAssignedOriginal,\n  PicassoUnassigned as PicassoUnassignedOriginal,\n  WixelAssigned as WixelAssignedOriginal,\n  WixelUnassigned as WixelUnassignedOriginal,\n  StudioTwoAssigned as StudioTwoAssignedOriginal,\n  StudioTwoUnassigned as StudioTwoUnassignedOriginal,\n  UserDomainMediaEnabled as UserDomainMediaEnabledOriginal,\n  UserDomainMediaDisabled as UserDomainMediaDisabledOriginal,\n  EditorlessAssigned as EditorlessAssignedOriginal,\n  EditorlessUnassigned as EditorlessUnassignedOriginal,\n  Empty as EmptyOriginal,\n  SitePropertiesUpdated as SitePropertiesUpdatedOriginal,\n  SitePropertiesEvent as SitePropertiesEventOriginal,\n  Properties as PropertiesOriginal,\n  Categories as CategoriesOriginal,\n  Locale as LocaleOriginal,\n  Address as AddressOriginal,\n  AddressHint as AddressHintOriginal,\n  PlacementType as PlacementTypeOriginal,\n  PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal,\n  GeoCoordinates as GeoCoordinatesOriginal,\n  BusinessSchedule as BusinessScheduleOriginal,\n  TimePeriod as TimePeriodOriginal,\n  DayOfWeek as DayOfWeekOriginal,\n  DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal,\n  SpecialHourPeriod as SpecialHourPeriodOriginal,\n  Multilingual as MultilingualOriginal,\n  SupportedLanguage as SupportedLanguageOriginal,\n  ResolutionMethod as ResolutionMethodOriginal,\n  ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal,\n  ConsentPolicy as ConsentPolicyOriginal,\n  NewNotificationMessage as NewNotificationMessageOriginal,\n  NotificationInfo as NotificationInfoOriginal,\n  NotificationRecipient as NotificationRecipientOriginal,\n  NotificationRecipientRecipientTypeOneOf as NotificationRecipientRecipientTypeOneOfOriginal,\n  Contact as ContactOriginal,\n  IncognitoDetails as IncognitoDetailsOriginal,\n  NotificationsSpout as NotificationsSpoutOriginal,\n  NotificationsSpoutSpoutTypeOneOf as NotificationsSpoutSpoutTypeOneOfOriginal,\n  NotificationInitiator as NotificationInitiatorOriginal,\n  NotificationInitiatorInitiatorOneOf as NotificationInitiatorInitiatorOneOfOriginal,\n  SiteMember as SiteMemberOriginal,\n  ActionTarget as ActionTargetOriginal,\n  ActionTargetOfOneOf as ActionTargetOfOneOfOriginal,\n  BackofficeActionTarget as BackofficeActionTargetOriginal,\n  LiveSiteActionTarget as LiveSiteActionTargetOriginal,\n  DashboardPageActionTarget as DashboardPageActionTargetOriginal,\n  AgreeToServiceFeeRequest as AgreeToServiceFeeRequestOriginal,\n  AgreeToServiceFeeResponse as AgreeToServiceFeeResponseOriginal,\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  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  ContractSwitchClassification as ContractSwitchClassificationOriginal,\n  ContractSwitchClassificationWithLiterals as ContractSwitchClassificationWithLiteralsOriginal,\n  ManualFeatureCreationReason as ManualFeatureCreationReasonOriginal,\n  MigratedFromLegacyReason as MigratedFromLegacyReasonOriginal,\n  ManualSyncReason as ManualSyncReasonOriginal,\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  QuotaExhaustedReason as QuotaExhaustedReasonOriginal,\n  FeatureQuotaUsageChanged as FeatureQuotaUsageChangedOriginal,\n  RefreshTicketsFlagsRequest as RefreshTicketsFlagsRequestOriginal,\n  RefreshTicketsFlagsResponse as RefreshTicketsFlagsResponseOriginal,\n  UpdateEventsFeeSettingsRequest as UpdateEventsFeeSettingsRequestOriginal,\n  PatchField as PatchFieldOriginal,\n  PatchFieldWithLiterals as PatchFieldWithLiteralsOriginal,\n  UpdateEventsFeeSettingsResponse as UpdateEventsFeeSettingsResponseOriginal,\n  UpdateFeatureOverrideRequest as UpdateFeatureOverrideRequestOriginal,\n  UpdateFeatureOverrideResponse as UpdateFeatureOverrideResponseOriginal,\n  CreateSiteBuyerFormRequest as CreateSiteBuyerFormRequestOriginal,\n  CreateSiteBuyerFormResponse as CreateSiteBuyerFormResponseOriginal,\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} from './events-v1-events-settings-events-settings.types.js';\n"],"mappings":"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","names":["payload","AppStateState","PremiumFeature","Action","Type","CheckoutType","RequestedFields","State","SiteCreatedContext","Namespace","DeleteStatus","PlacementType","DayOfWeek","ResolutionMethod","FeaturePeriod","ContractSwitchClassification","PatchField","WebhookIdentityType","getEventsSettings","updateEventsSettings"]}