{"version":3,"sources":["../../src/multilingual-locales-v2-locale-locales.http.ts","../../src/multilingual-locales-v2-locale-locales.types.ts","../../src/multilingual-locales-v2-locale-locales.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\nfunction resolveWixMultilingualLocalesV2LocalesServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/locales',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixMultilingualLocalesV2SupportedLocalesServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/locales',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/locales',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_multilingual_locales';\n\n/**\n * Retrieves a list of all Wix-supported locales that can be added to a site.\n *\n * Call this method to display supported language details when creating or updating a locale.\n */\nexport function listSupportedLocales(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __listSupportedLocales({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.multilingual.locales.v2.SupportedLocalesService.ListSupportedLocales',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2SupportedLocalesServiceUrl({\n        protoPath: '/v2/locales/supported',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __listSupportedLocales;\n}\n\n/**\n * Creates a new secondary locale.\n *\n * This method adds a new secondary locale to the site. A site can have up to 200 locales and up to 100 visible locales.\n *\n * To retrieve a list of all locales supported by Wix that can be created on a site, call List Supported Locales.\n *\n * <blockquote class=\"important\">\n * <strong>Important:</strong>\n *\n * - This method can only be called on sites where multilingual mode is enabled.\n * - This method creates only secondary locales. To create and set a new primary locale, call Create New Primary Locale.\n *\n * </blockquote>\n */\nexport function createLocale(payload: object): RequestOptionsFactory<any> {\n  function __createLocale({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'locale.createdDate' }, { path: 'locale.updatedDate' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'POST' as any,\n      methodFqn: 'wix.multilingual.locales.v2.LocalesService.CreateLocale',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n        protoPath: '/v2/locale',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'locale.createdDate' },\n              { path: 'locale.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createLocale;\n}\n\n/** Retrieves a locale by ID. */\nexport function getLocale(payload: object): RequestOptionsFactory<any> {\n  function __getLocale({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'GET' as any,\n      methodFqn: 'wix.multilingual.locales.v2.LocalesService.GetLocale',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n        protoPath: '/v2/locale/{localeId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'locale.createdDate' },\n              { path: 'locale.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getLocale;\n}\n\n/** Updates a locale by ID. */\nexport function updateLocale(payload: object): RequestOptionsFactory<any> {\n  function __updateLocale({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'locale.createdDate' }, { path: 'locale.updatedDate' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.multilingual.locales.v2.LocalesService.UpdateLocale',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n        protoPath: '/v2/locale/{locale.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'locale.createdDate' },\n              { path: 'locale.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateLocale;\n}\n\n/**\n * Deletes a locale by ID.\n *\n * This method removes only secondary locales from a site. You can't call this method to delete the primary locale or a locale that's set as the visitor primary locale.\n *\n * <blockquote class=\"warning\">\n * <strong>Warning:</strong>\n *\n * Deleting a locale permanently removes it and all its associated data from the site.\n *\n * </blockquote>\n *\n * <blockquote class=\"tip\">\n * <strong>Tip:</strong>\n *\n * - To change the primary locale, call Create New Primary Locale. This method automatically deletes the original primary locale and transfers its data to the new primary locale.\n * - To delete a locale that's set as the visitor primary locale, first call Set Visitor Primary Locale to change the visitor primary locale, then call this method.\n *\n * </blockquote>\n */\nexport function deleteLocale(payload: object): RequestOptionsFactory<any> {\n  function __deleteLocale({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.multilingual.locales.v2.LocalesService.DeleteLocale',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n        protoPath: '/v2/locale/{localeId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteLocale;\n}\n\n/**\n * Retrieves a list of the site's locales, given the provided paging, filtering, and sorting. Up to 200 locales can be returned per request.\n *\n * The default `sort` is `locale.id` in `ASC`.\n *\n * To learn how to query projects, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).\n */\nexport function queryLocales(payload: object): RequestOptionsFactory<any> {\n  function __queryLocales({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'GET' as any,\n      methodFqn: 'wix.multilingual.locales.v2.LocalesService.QueryLocales',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n        protoPath: '/v2/locale/query',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload, true),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'locales.createdDate' },\n              { path: 'locales.updatedDate' },\n            ],\n          },\n        ]),\n      fallback: [\n        {\n          method: 'POST' as any,\n          url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n            protoPath: '/v2/locale/query',\n            data: payload,\n            host,\n          }),\n          data: payload,\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __queryLocales;\n}\n\n/**\n * Creates multiple secondary locales.\n *\n * <blockquote class=\"important\">\n * <strong>Important:</strong>\n *\n * - This method can only be called on sites where multilingual mode is enabled.\n *\n * </blockquote>\n */\nexport function bulkCreateLocales(payload: object): RequestOptionsFactory<any> {\n  function __bulkCreateLocales({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'locales.createdDate' },\n          { path: 'locales.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'POST' as any,\n      methodFqn: 'wix.multilingual.locales.v2.LocalesService.BulkCreateLocales',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n        protoPath: '/v2/bulk/locale/create',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateLocales;\n}\n\n/** Updates multiple locales. */\nexport function bulkUpdateLocales(payload: object): RequestOptionsFactory<any> {\n  function __bulkUpdateLocales({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'locales.fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'locales.locale.createdDate' },\n          { path: 'locales.locale.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'POST' as any,\n      methodFqn: 'wix.multilingual.locales.v2.LocalesService.BulkUpdateLocales',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n        protoPath: '/v2/bulk/locale/update',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateLocales;\n}\n\n/**\n * Deletes multiple locales.\n *\n * This method removes only secondary locals from a site. The primary locale can't be deleted.\n *\n * <blockquote class=\"warning\">\n * <strong>Warning:</strong>\n *\n * This method permanently deletes multiple secondary locales and their data from the site.\n * </blockquote>\n */\nexport function bulkDeleteLocales(payload: object): RequestOptionsFactory<any> {\n  function __bulkDeleteLocales({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'POST' as any,\n      methodFqn: 'wix.multilingual.locales.v2.LocalesService.BulkDeleteLocales',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n        protoPath: '/v2/bulk/locale/delete',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkDeleteLocales;\n}\n\n/**\n * Creates and assigns a new primary locale for a site.\n *\n * This method changes the site's primary locale. The process may take time, depending on the amount of content present on the site. When called, this method returns a token, which you can use with the Get New Primary Locale Status method to check the status of the primary locale change.\n *\n * <blockquote class=\"important\">\n * <strong>Important:</strong>\n *\n * - The desired new primary locale can't already exist as a secondary locale on the site. If the locale is already a secondary locale on the site, you must first remove it from the site by calling Delete Locale before changing the primary locale.\n * - This method automatically deletes the original primary locale and transfers its data to the new primary locale.\n *\n * </blockquote>\n */\nexport function createNewPrimaryLocale(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __createNewPrimaryLocale({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'primaryLocale.createdDate' },\n          { path: 'primaryLocale.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.multilingual.locales.v2.LocalesService.CreateNewPrimaryLocale',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n        protoPath: '/v2/locale/change-primary',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __createNewPrimaryLocale;\n}\n\n/**\n * Retrieves the status of the Create New Primary Locale method.\n *\n * Call this method to see if your primary locale was successfully changed. Specify the token returned by Create New Primary Locale. If the token specified is invalid, a 404 error is returned.\n */\nexport function getNewPrimaryLocaleStatus(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getNewPrimaryLocaleStatus({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.multilingual.locales.v2.LocalesService.GetNewPrimaryLocaleStatus',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n        protoPath: '/v2/locale/change-primary',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'finishSuccessfulData.newPrimaryLocale.createdDate' },\n              { path: 'finishSuccessfulData.newPrimaryLocale.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getNewPrimaryLocaleStatus;\n}\n\n/**\n * Sets a locale as the visitor primary locale for the site.\n *\n * Only one locale can be set as the visitor primary locale at a time. When you update the visitor primary locale, site visitors see the new default language on their next page load.\n *\n * <blockquote class=\"important\">\n * <strong>Important:</strong>\n *\n * The specified locale's `visibility` must be set to `\"VISIBLE\"`.\n *\n * </blockquote>\n */\nexport function setVisitorPrimaryLocale(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __setVisitorPrimaryLocale({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.multilingual.locales.v2.locale',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.multilingual.locales.v2.LocalesService.SetVisitorPrimaryLocale',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixMultilingualLocalesV2LocalesServiceUrl({\n        protoPath: '/v2/locale/set-visitor-primary',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'locale.createdDate' },\n              { path: 'locale.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __setVisitorPrimaryLocale;\n}\n","export interface V2Locale {\n  /**\n   * Locale ID.\n   *\n   * The locale ID is made up of the language and region codes supported by Wix. For example, `\"en-US\"` for U.S. English.\n   * @maxLength 20\n   * @format LANGUAGE_TAG\n   * @readonly\n   * @immutable\n   */\n  id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the locale is updated. To prevent conflicting changes, the existing revision must be passed when updating the locale object.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the locale was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the locale was last updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Language code. For example, `\"en\"` for English.\n   * @immutable\n   * @format LANGUAGE\n   */\n  languageCode?: string | null;\n  /**\n   * Region code. For example, `\"UK\"` for United Kingdom.\n   * @immutable\n   * @format COUNTRY\n   */\n  regionCode?: string | null;\n  /** Locale visibility status. */\n  visibility?: LocaleVisibilityWithLiterals;\n  /**\n   * Whether the locale is the site's primary locale.\n   * @readonly\n   */\n  primaryLocale?: boolean | null;\n  /**\n   * Whether the locale is the site's visitor primary locale.\n   * @readonly\n   */\n  visitorPrimaryLocale?: boolean | null;\n  /**\n   * Flag icon as a 3-letter language code based on Wix's supported locales. For example, `\"USA\"` for the United States flag icon.\n   * @maxLength 3\n   */\n  flag?: string | null;\n  /**\n   * Regional format for determining how to display data types such as dates, times, numbers, and currencies. For example, `\"en-US\"` to format dates like this: `MM-DD-YYYY`.\n   * @format LANGUAGE_TAG\n   */\n  regionalFormat?: string | null;\n  /**\n   * Default URL structure for the locale's live site URL,\n   * based on the locale's settings, unless overridden.\n   * @readonly\n   */\n  effectiveUrlStructure?: UrlStructureWithLiterals;\n  /** Optional override for the locale's default URL structure. */\n  urlStructureOverride?: UrlStructureOverride;\n  /**\n   * Language code based on Wix's supported locales, used to specify the target language when\n   * translatable content is sent for machine translation. For example, `\"ES\"` for Spanish\n   * or `\"ZH_TW\"` for Traditional Chinese.\n   *\n   * Default: The locale's `languageCode` value.\n   * @format LANGUAGE_TAG\n   */\n  machineTranslationCode?: string | null;\n  /**\n   * The locale's `displayName`, unless overridden.\n   * @readonly\n   * @maxLength 30\n   */\n  effectiveDisplayName?: string | null;\n  /**\n   * Default display name for the locale, inferred from the locale ID and region code.\n   * @readonly\n   * @maxLength 30\n   */\n  displayName?: string | null;\n  /**\n   * Optional override for the locale's display name.\n   * @maxLength 30\n   */\n  overrideDisplayName?: string | null;\n}\n\n/** Enum representing the visibility status of a locale. */\nexport enum LocaleVisibility {\n  /** Locale is hidden from site visitors. A site's locale should be hidden when a translation is not ready to be exposed to visitors. */\n  HIDDEN = 'HIDDEN',\n  /** Locale is visible to site visitors. A site can only have up to 100 visible locales. */\n  VISIBLE = 'VISIBLE',\n}\n\n/** @enumType */\nexport type LocaleVisibilityWithLiterals =\n  | LocaleVisibility\n  | 'HIDDEN'\n  | 'VISIBLE';\n\n/** Enum representing the method for resolving locales in URLs. */\nexport enum UrlStructure {\n  /** URL structure as a subdirectory. For example, `\"www.mysite.com/fr\"`. */\n  SUBDIRECTORY = 'SUBDIRECTORY',\n  /** URL structure as a subdomain. For example, `\"fr.mysite.com\"`. */\n  SUBDOMAIN = 'SUBDOMAIN',\n  /** URL structure as a query parameter. For example, `\"www.mysite.com?lang=fr\"`. */\n  QUERY_PARAM = 'QUERY_PARAM',\n}\n\n/** @enumType */\nexport type UrlStructureWithLiterals =\n  | UrlStructure\n  | 'SUBDIRECTORY'\n  | 'SUBDOMAIN'\n  | 'QUERY_PARAM';\n\n/** Message for overriding the default resolution method. */\nexport interface UrlStructureOverride {\n  /** URL structure to use instead of the default. */\n  urlStructure?: UrlStructureWithLiterals;\n}\n\n/** Payload for the change main locale action. */\nexport interface CreateNewPrimaryLocalePayload {\n  /** The new primary locale after the Create New Primary Locale endpoint is finished. */\n  primaryLocale?: V2Locale;\n}\n\nexport interface RawCreateLocaleRequest {\n  /** Locale to create. */\n  locale?: V2Locale;\n  /** override the user primary locale value */\n  userPrimary?: boolean | null;\n  /** override the visitor primary locale value */\n  visitorPrimary?: boolean | null;\n}\n\nexport interface RawCreateLocaleResponse {\n  /** created locale */\n  locale?: V2Locale;\n}\n\nexport interface ChangeMainLocaleRequest {\n  /** the new main locale */\n  locale?: V2Locale;\n}\n\nexport interface ChangeMainLocaleResponse {\n  /** the new main locale */\n  locale?: V2Locale;\n}\n\nexport interface ForceDeleteLocaleRequest {\n  /**\n   * The ID of the locale to retrieve.\n   * @maxLength 20\n   */\n  localeId?: string;\n}\n\nexport interface ForceDeleteLocaleResponse {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface 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\n/** Request message for listing supported locales */\nexport interface ListSupportedLocalesRequest {\n  /**\n   * Language to filter by. For example, `\"en\"` for all English locales.\n   * @format LANGUAGE\n   */\n  languageCode?: string | null;\n  /** Whether to include all possible regional variants for each language code in the response. When `false`, only the default locale, such as `\"en-US\"`, is returned and regional variants like `\"en-GB\"` and `\"en-AU\"` are excluded. */\n  includeAllLocales?: boolean | null;\n  /** Whether to include region-specific options such as flags and regional codes for each locale in the response. */\n  includeRegionOptions?: boolean | null;\n}\n\n/** Response message for listing supported locales */\nexport interface ListSupportedLocalesResponse {\n  /** A list of all the locales that can be added to a site. */\n  supportedLocales?: SupportedLocale[];\n}\n\n/** Represents a supported locale in the Wix platform */\nexport interface SupportedLocale {\n  /** @format LANGUAGE_TAG */\n  id?: string | null;\n  /**\n   * Language code.\n   * @format LANGUAGE\n   */\n  languageCode?: string | null;\n  /**\n   * Region code.\n   * @format COUNTRY\n   */\n  regionCode?: string | null;\n  /**\n   * Default flag code for the locale.\n   * @maxLength 3\n   */\n  defaultFlag?: string | null;\n  /**\n   * Default format for how to display data types such as dates, times, numbers, and currencies.\n   * @format LANGUAGE_TAG\n   */\n  defaultRegionalFormat?: string | null;\n  /**\n   * Language code used when content is sent for machine translation.\n   * @format LANGUAGE_TAG\n   */\n  machineTranslationCode?: string | null;\n  /**\n   * Display name of the locale.\n   * @maxLength 30\n   */\n  displayName?: string | null;\n  /**\n   * All flags and their regional formats per locale.\n   * @maxSize 100\n   */\n  regionOptions?: RegionOptions[];\n}\n\n/** Represents variations of a locale with different flags and regional formats */\nexport interface RegionOptions {\n  /**\n   * Flag code of the region.\n   * @maxLength 3\n   */\n  flag?: string | null;\n  /**\n   * Format for how to display data types such as dates, times, numbers, and currencies.\n   * @format LANGUAGE_TAG\n   */\n  regionalFormat?: string | null;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n  /**\n   * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  siteId?: string;\n  /** Invalidate by App */\n  app?: App;\n  /** Invalidate by page id */\n  page?: Page;\n  /** Invalidate by URI path */\n  uri?: URI;\n  /** Invalidate by file (for media files such as PDFs) */\n  file?: File;\n  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n  customTag?: CustomTag;\n  /** Invalidate by multiple page ids */\n  pages?: Pages;\n  /** Invalidate by multiple URI paths */\n  uris?: URIs;\n  /**\n   * tell us why you're invalidating the cache. You don't need to add your app name\n   * @maxLength 256\n   */\n  reason?: string | null;\n  /** Is local DS */\n  localDc?: boolean;\n  hardPurge?: boolean;\n  /**\n   * Optional caller-provided ID for tracking this invalidation through the system.\n   * When set, the corresponding CDN purge completion event will include this ID,\n   * allowing you to confirm when the invalidation has fully propagated.\n   * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.\n   * @maxLength 256\n   */\n  correlationId?: string | null;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n  /**\n   * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  siteId?: string;\n  /** Invalidate by App */\n  app?: App;\n  /** Invalidate by page id */\n  page?: Page;\n  /** Invalidate by URI path */\n  uri?: URI;\n  /** Invalidate by file (for media files such as PDFs) */\n  file?: File;\n  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n  customTag?: CustomTag;\n  /** Invalidate by multiple page ids */\n  pages?: Pages;\n  /** Invalidate by multiple URI paths */\n  uris?: URIs;\n}\n\nexport interface App {\n  /**\n   * The AppDefId\n   * @minLength 1\n   */\n  appDefId?: string;\n  /**\n   * The instance Id\n   * @format GUID\n   */\n  instanceId?: string;\n}\n\nexport interface Page {\n  /**\n   * the msid the page is on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Page ID\n   * @minLength 1\n   */\n  pageId?: string;\n}\n\nexport interface URI {\n  /**\n   * the msid the URI is on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n   * @minLength 1\n   */\n  uriPath?: string;\n}\n\nexport interface File {\n  /**\n   * the msid the file is related to\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by filename (for media files such as PDFs)\n   * @minLength 1\n   * @maxLength 256\n   */\n  fileName?: string;\n}\n\nexport interface CustomTag {\n  /**\n   * the msid the tag is related to\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Tag to invalidate by\n   * @minLength 1\n   * @maxLength 256\n   */\n  tag?: string;\n}\n\nexport interface Pages {\n  /**\n   * the msid the pages are on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by multiple Page IDs in a single message\n   * @maxSize 100\n   * @minLength 1\n   */\n  pageIds?: string[];\n}\n\nexport interface URIs {\n  /**\n   * the msid the URIs are on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes\n   * @maxSize 100\n   * @minLength 1\n   */\n  uriPaths?: string[];\n}\n\n/** Request message for creating a new Locale. */\nexport interface CreateLocaleRequest {\n  /** Locale to create. */\n  locale: V2Locale;\n}\n\n/** Response message for creating a new Locale. */\nexport interface CreateLocaleResponse {\n  /** The created locale. */\n  locale?: V2Locale;\n}\n\n/** Request message for retrieving a Locale by ID. */\nexport interface GetLocaleRequest {\n  /**\n   * ID of the locale to retrieve.\n   * @maxLength 20\n   * @format LANGUAGE_TAG\n   */\n  localeId: string;\n}\n\n/** Response message for retrieving a Locale. */\nexport interface GetLocaleResponse {\n  /** The requested locale. */\n  locale?: V2Locale;\n}\n\n/** Request message for updating a Locale. */\nexport interface UpdateLocaleRequest {\n  /** Locale to update, may be partial. */\n  locale: V2Locale;\n}\n\n/** Response message for updating a Locale. */\nexport interface UpdateLocaleResponse {\n  /** The updated locale. */\n  locale?: V2Locale;\n}\n\n/** Request message for deleting a Locale. */\nexport interface DeleteLocaleRequest {\n  /**\n   * ID of the locale to delete.\n   * @maxLength 20\n   * @format LANGUAGE_TAG\n   */\n  localeId: string;\n}\n\n/** Response message for deleting a Locale. */\nexport interface DeleteLocaleResponse {}\n\n/** Request message for querying Locales. */\nexport interface QueryLocalesRequest {\n  /** Query options. */\n  query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object in the following format:\n   * `\"filter\" : {\n   * \"fieldName1\": \"value1\",\n   * \"fieldName2\":{\"$operator\":\"value2\"}\n   * }`\n   * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the following format:\n   * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n   * @maxSize 5\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @maxLength 512\n   */\n  fieldName?: string;\n  /** Sort order. */\n  order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n  /**\n   * Maximum number of items to return in the results.\n   * @max 100\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n   * Not relevant for the first request.\n   * @maxLength 16000\n   */\n  cursor?: string | null;\n}\n\n/** Response message for querying Locales. */\nexport interface QueryLocalesResponse {\n  /** Retrieved locales. */\n  locales?: V2Locale[];\n  /** Paging metadata. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\n/** This is the preferred message for cursor-paging enabled services */\nexport interface CursorPagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Cursor strings that point to the next page, previous page, or both. */\n  cursors?: Cursors;\n  /**\n   * Whether there are more pages to retrieve following the current page.\n   *\n   * + `true`: Another page of results can be retrieved.\n   * + `false`: This is the last page.\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n  /**\n   * Cursor string pointing to the next page in the list of results.\n   * @maxLength 16000\n   */\n  next?: string | null;\n  /**\n   * Cursor pointing to the previous page in the list of results.\n   * @maxLength 16000\n   */\n  prev?: string | null;\n}\n\n/** Request message for bulk creating Locales. */\nexport interface BulkCreateLocalesRequest {\n  /**\n   * Locales to create.\n   * @minSize 1\n   * @maxSize 100\n   */\n  locales: V2Locale[];\n  /** Whether to receive the created locales in the response. */\n  returnEntity?: boolean;\n}\n\n/** Response message for bulk creating Locales. */\nexport interface BulkCreateLocalesResponse {\n  /**\n   * Information about the created locales.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkLocaleResult[];\n  /** Bulk metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n  /**\n   * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n   * @format GUID\n   */\n  id?: string | null;\n  /** Index of the item within the request array. Allows for correlation between request and response items. */\n  originalIndex?: number;\n  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n  success?: boolean;\n  /** Details about the error in case of failure. */\n  error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n  /** Error code. */\n  code?: string;\n  /** Description of the error. */\n  description?: string;\n  /** Data related to the error. */\n  data?: Record<string, any> | null;\n}\n\nexport interface BulkLocaleResult {\n  /** Item metadata. */\n  itemMetadata?: ItemMetadata;\n  /** Created locale. Returned when `returnEntity` is set to `true`. */\n  item?: V2Locale;\n}\n\nexport interface BulkActionMetadata {\n  /** Number of items that were successfully processed. */\n  totalSuccesses?: number;\n  /** Number of items that couldn't be processed. */\n  totalFailures?: number;\n  /** Number of failures without details because detailed failure threshold was exceeded. */\n  undetailedFailures?: number;\n}\n\n/** Request message for bulk updating Locales. */\nexport interface BulkUpdateLocalesRequest {\n  /**\n   * Locales to update.\n   * @minSize 1\n   * @maxSize 100\n   */\n  locales: MaskedLocale[];\n  /** Whether to receive the updated locales in the response. */\n  returnEntity?: boolean;\n}\n\nexport interface MaskedLocale {\n  /** Locales to update, may be partial. */\n  locale?: V2Locale;\n}\n\n/** Response message for bulk updating Locales. */\nexport interface BulkUpdateLocalesResponse {\n  /**\n   * Information about the updated locales.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateLocalesResponseBulkLocaleResult[];\n  /** Bulk metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateLocalesResponseBulkLocaleResult {\n  /** Item metadata. */\n  itemMetadata?: ItemMetadata;\n  /** Updated locale. Returned when `returnEntity` is set to `true`. */\n  item?: V2Locale;\n}\n\n/** Request message for bulk deleting Locales. */\nexport interface BulkDeleteLocalesRequest {\n  /**\n   * IDs of locales to delete.\n   * @minSize 1\n   * @maxSize 100\n   * @maxLength 20\n   * @format LANGUAGE_TAG\n   */\n  localeIds: string[];\n}\n\n/** Response message for bulk deleting Locales. */\nexport interface BulkDeleteLocalesResponse {\n  /**\n   * Information about the deleted locales.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkDeleteLocalesResponseBulkLocaleResult[];\n  /** Bulk metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteLocalesResponseBulkLocaleResult {\n  /** Item metadata. */\n  itemMetadata?: ItemMetadata;\n}\n\n/** Request message for changing the main locale. */\nexport interface CreateNewPrimaryLocaleRequest {\n  /** New primary locale. */\n  primaryLocale: V2Locale;\n}\n\n/** Response message for changing the main locale. */\nexport interface CreateNewPrimaryLocaleResponse {\n  /** @format GUID */\n  token?: string;\n}\n\n/** Request message for getting the status of the change main locale process. */\nexport interface GetNewPrimaryLocaleStatusRequest {\n  /**\n   * Token to retrieve the process status. Returned in the response of Create New Primary Locale.\n   * @format GUID\n   */\n  token: string;\n}\n\n/** Response message for getting the status of the change main locale process. */\nexport interface GetNewPrimaryLocaleStatusResponse\n  extends GetNewPrimaryLocaleStatusResponseDataOneOf {\n  /** New primary locale data when the process successfully completes. */\n  finishSuccessfulData?: FinishSuccessfulData;\n  /** Error details when the process fails. */\n  finishWithErrorData?: FinishWithErrorData;\n  /** The current status of the Create New Primary Locale method. */\n  status?: StatusWithLiterals;\n}\n\n/** @oneof */\nexport interface GetNewPrimaryLocaleStatusResponseDataOneOf {\n  /** New primary locale data when the process successfully completes. */\n  finishSuccessfulData?: FinishSuccessfulData;\n  /** Error details when the process fails. */\n  finishWithErrorData?: FinishWithErrorData;\n}\n\nexport enum Status {\n  /** Indicates the process of creating a new primary locale is in progress. */\n  IN_PROGRESS = 'IN_PROGRESS',\n  /** Indicates the process of creating a new primary locale was successful and all content under the previous primary locale is now tagged under the new locale. New primary locale data is available in the `finishSuccessfulData` object. */\n  FINISH_SUCCESSFUL = 'FINISH_SUCCESSFUL',\n  /** Indicates the process of creating a new primary locale failed. Additional error details are available in the `finishWithErrorData` object. */\n  FINISH_WITH_ERROR = 'FINISH_WITH_ERROR',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n  | Status\n  | 'IN_PROGRESS'\n  | 'FINISH_SUCCESSFUL'\n  | 'FINISH_WITH_ERROR';\n\nexport interface FinishSuccessfulData {\n  /** The new primary locale. */\n  newPrimaryLocale?: V2Locale;\n}\n\nexport interface FinishWithErrorData {\n  /** Error details. */\n  error?: ApplicationError;\n}\n\n/** Request message for setting a visitor primary locale. */\nexport interface SetVisitorPrimaryLocaleRequest {\n  /**\n   * ID of the locale to set as visitor primary.\n   * @format LANGUAGE_TAG\n   */\n  localeId: string;\n}\n\n/** Response message for setting a visitor primary locale. */\nexport interface SetVisitorPrimaryLocaleResponse {\n  /** Updated locale that is now set as the visitor primary locale. */\n  locale?: V2Locale;\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  /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */\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\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\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 format 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  /** Timezone in `America/New_York` format. */\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 DomainChangedEvent extends DomainChangedEventPayloadOneOf {\n  /** WARNING: `registered` event payload is DEPRECATED */\n  registered?: Registered;\n  /** WARNING: `registration_cancelled` event payload is DEPRECATED */\n  registrationCancelled?: RegistrationCancelled;\n  connectedToSite?: ConnectedToSite;\n  disconnectedFromSite?: DisconnectedFromSite;\n  /** WARNING: `registration_extended` event payload is DEPRECATED */\n  registrationExtended?: RegistrationExtended;\n  /** WARNING: `owner_changed` event payload is DEPRECATED */\n  ownerChanged?: OwnerChanged;\n  /** WARNING: `privacy_changed` event payload is DEPRECATED */\n  privacyChanged?: PrivacyChanged;\n  /** WARNING: `management_type_changed` event payload is DEPRECATED */\n  managementTypeChanged?: ManagementTypeChanged;\n  /** WARNING: `billing_subscription_cancelled` event payload is DEPRECATED */\n  billingSubscriptionCancelled?: BillingSubscriptionCancelled;\n  /** WARNING: `connection_verified` event payload is DEPRECATED */\n  connectionVerified?: ConnectionVerified;\n  /** WARNING: `connection_lost` event payload is DEPRECATED */\n  connectionLost?: ConnectionLost;\n  /** WARNING: `expiration_date_changed` event payload is DEPRECATED */\n  expirationDateChanged?: ExpirationDateChanged;\n  propagationStarted?: PropagationStarted;\n  verificationStarted?: VerificationStarted;\n  contactVerificationStatusChanged?: ContactVerificationStatusChanged;\n  /** Expiry/GraceStarted */\n  expired?: Expired;\n  /** GraceEnded/RedemptionStarted */\n  graceEnded?: GraceEnded;\n  /** RedemptionEnded */\n  redemptionEnded?: RedemptionEnded;\n  /** enable or disable dnssec */\n  dnssecChanged?: DnssecChanged;\n  /** domain SKU updated due to price increase */\n  priceIncreaseProcessed?: PriceIncreaseProcessed;\n  domainName?: string;\n  changeTime?: Date | null;\n}\n\n/** @oneof */\nexport interface DomainChangedEventPayloadOneOf {\n  /** WARNING: `registered` event payload is DEPRECATED */\n  registered?: Registered;\n  /** WARNING: `registration_cancelled` event payload is DEPRECATED */\n  registrationCancelled?: RegistrationCancelled;\n  connectedToSite?: ConnectedToSite;\n  disconnectedFromSite?: DisconnectedFromSite;\n  /** WARNING: `registration_extended` event payload is DEPRECATED */\n  registrationExtended?: RegistrationExtended;\n  /** WARNING: `owner_changed` event payload is DEPRECATED */\n  ownerChanged?: OwnerChanged;\n  /** WARNING: `privacy_changed` event payload is DEPRECATED */\n  privacyChanged?: PrivacyChanged;\n  /** WARNING: `management_type_changed` event payload is DEPRECATED */\n  managementTypeChanged?: ManagementTypeChanged;\n  /** WARNING: `billing_subscription_cancelled` event payload is DEPRECATED */\n  billingSubscriptionCancelled?: BillingSubscriptionCancelled;\n  /** WARNING: `connection_verified` event payload is DEPRECATED */\n  connectionVerified?: ConnectionVerified;\n  /** WARNING: `connection_lost` event payload is DEPRECATED */\n  connectionLost?: ConnectionLost;\n  /** WARNING: `expiration_date_changed` event payload is DEPRECATED */\n  expirationDateChanged?: ExpirationDateChanged;\n  propagationStarted?: PropagationStarted;\n  verificationStarted?: VerificationStarted;\n  contactVerificationStatusChanged?: ContactVerificationStatusChanged;\n  /** Expiry/GraceStarted */\n  expired?: Expired;\n  /** GraceEnded/RedemptionStarted */\n  graceEnded?: GraceEnded;\n  /** RedemptionEnded */\n  redemptionEnded?: RedemptionEnded;\n  /** enable or disable dnssec */\n  dnssecChanged?: DnssecChanged;\n  /** domain SKU updated due to price increase */\n  priceIncreaseProcessed?: PriceIncreaseProcessed;\n}\n\nexport interface Registered {\n  /** @format GUID */\n  registrationId?: string;\n}\n\nexport interface RegistrationCancelled {\n  /** @format GUID */\n  registrationId?: string;\n}\n\nexport interface ConnectedToSite {\n  /** @format GUID */\n  msid?: string;\n}\n\nexport interface DisconnectedFromSite {\n  /** @format GUID */\n  msid?: string;\n}\n\nexport interface RegistrationExtended {\n  /** @format GUID */\n  registrationId?: string;\n}\n\nexport interface OwnerChanged {\n  /** @format GUID */\n  oldUserGuid?: string;\n  /** @format GUID */\n  newUserGuid?: string;\n  /** @format GUID */\n  oldRegistrationId?: string | null;\n  /** @format GUID */\n  newRegistrationId?: string | null;\n}\n\nexport interface PrivacyChanged {\n  /** @format GUID */\n  registrationId?: string;\n}\n\nexport interface ManagementTypeChanged {}\n\nexport interface BillingSubscriptionCancelled {\n  /** @format GUID */\n  registrationId?: string;\n}\n\nexport interface ConnectionVerified {}\n\nexport interface ConnectionLost {}\n\nexport interface ExpirationDateChanged {\n  /** @format GUID */\n  registrationId?: string;\n}\n\nexport interface PropagationStarted {\n  /** @format GUID */\n  userGuid?: string;\n}\n\nexport interface VerificationStarted {\n  /** @format GUID */\n  userGuid?: string;\n}\n\nexport interface ContactVerificationStatusChanged {\n  status?: ContactVerificationStatusWithLiterals;\n}\n\nexport enum ContactVerificationStatus {\n  PENDING = 'PENDING',\n  DEACTIVATED = 'DEACTIVATED',\n  CONFIRMED_BY_WIX = 'CONFIRMED_BY_WIX',\n  CONFIRMED_BY_REGDOTCOM = 'CONFIRMED_BY_REGDOTCOM',\n}\n\n/** @enumType */\nexport type ContactVerificationStatusWithLiterals =\n  | ContactVerificationStatus\n  | 'PENDING'\n  | 'DEACTIVATED'\n  | 'CONFIRMED_BY_WIX'\n  | 'CONFIRMED_BY_REGDOTCOM';\n\nexport interface Expired {}\n\nexport interface GraceEnded {}\n\nexport interface RedemptionEnded {}\n\nexport interface DnssecChanged {\n  /**\n   * unique registration id\n   * @format GUID\n   */\n  registrationId?: string;\n}\n\nexport interface PriceIncreaseProcessed {}\n\n/** @docsIgnore */\nexport type CreateNewPrimaryLocaleApplicationErrors = {\n  code?: 'NEW_MAIN_LOCALE_EXIST_ON_SITE';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type SetVisitorPrimaryLocaleApplicationErrors = {\n  code?: 'LOCALE_NOT_FOUND';\n  description?: string;\n  data?: Record<string, any>;\n};\n","import * as ambassadorWixMultilingualLocalesV2Locale from './multilingual-locales-v2-locale-locales.http.js';\nimport * as ambassadorWixMultilingualLocalesV2LocaleTypes from './multilingual-locales-v2-locale-locales.types.js';\nimport * as ambassadorWixMultilingualLocalesV2LocaleUniversalTypes from './multilingual-locales-v2-locale-locales.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 listSupportedLocales(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.ListSupportedLocalesRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.ListSupportedLocalesRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.ListSupportedLocalesResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.ListSupportedLocalesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.listSupportedLocales(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: '/v2/locales/supported',\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 createLocale(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.CreateLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.CreateLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.CreateLocaleResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.CreateLocaleResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.createLocale(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v2/locale',\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 getLocale(): __PublicMethodMetaInfo<\n  'GET',\n  { localeId: string },\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.GetLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.GetLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.GetLocaleResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.GetLocaleResponse\n> {\n  const payload = { localeId: ':localeId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.getLocale(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: '/v2/locale/{localeId}',\n    pathParams: { localeId: 'localeId' },\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 updateLocale(): __PublicMethodMetaInfo<\n  'PATCH',\n  { localeId: string },\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.UpdateLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.UpdateLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.UpdateLocaleResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.UpdateLocaleResponse\n> {\n  const payload = { locale: { id: ':localeId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.updateLocale(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: '/v2/locale/{locale.id}',\n    pathParams: { localeId: 'localeId' },\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 deleteLocale(): __PublicMethodMetaInfo<\n  'DELETE',\n  { localeId: string },\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.DeleteLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.DeleteLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.DeleteLocaleResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.DeleteLocaleResponse\n> {\n  const payload = { localeId: ':localeId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.deleteLocale(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v2/locale/{localeId}',\n    pathParams: { localeId: 'localeId' },\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 queryLocales(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.QueryLocalesRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.QueryLocalesRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.QueryLocalesResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.QueryLocalesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.queryLocales(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: '/v2/locale/query',\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 bulkCreateLocales(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.BulkCreateLocalesRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.BulkCreateLocalesRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.BulkCreateLocalesResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.BulkCreateLocalesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.bulkCreateLocales(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v2/bulk/locale/create',\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 bulkUpdateLocales(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.BulkUpdateLocalesRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.BulkUpdateLocalesRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.BulkUpdateLocalesResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.BulkUpdateLocalesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.bulkUpdateLocales(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v2/bulk/locale/update',\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 bulkDeleteLocales(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.BulkDeleteLocalesRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.BulkDeleteLocalesRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.BulkDeleteLocalesResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.BulkDeleteLocalesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.bulkDeleteLocales(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v2/bulk/locale/delete',\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 createNewPrimaryLocale(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.CreateNewPrimaryLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.CreateNewPrimaryLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.CreateNewPrimaryLocaleResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.CreateNewPrimaryLocaleResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.createNewPrimaryLocale(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v2/locale/change-primary',\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 getNewPrimaryLocaleStatus(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.GetNewPrimaryLocaleStatusRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.GetNewPrimaryLocaleStatusRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.GetNewPrimaryLocaleStatusResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.GetNewPrimaryLocaleStatusResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.getNewPrimaryLocaleStatus(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: '/v2/locale/change-primary',\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 setVisitorPrimaryLocale(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.SetVisitorPrimaryLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.SetVisitorPrimaryLocaleRequest,\n  ambassadorWixMultilingualLocalesV2LocaleUniversalTypes.SetVisitorPrimaryLocaleResponse,\n  ambassadorWixMultilingualLocalesV2LocaleTypes.SetVisitorPrimaryLocaleResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMultilingualLocalesV2Locale.setVisitorPrimaryLocale(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v2/locale/set-visitor-primary',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  V2Locale as V2LocaleOriginal,\n  LocaleVisibility as LocaleVisibilityOriginal,\n  LocaleVisibilityWithLiterals as LocaleVisibilityWithLiteralsOriginal,\n  UrlStructure as UrlStructureOriginal,\n  UrlStructureWithLiterals as UrlStructureWithLiteralsOriginal,\n  UrlStructureOverride as UrlStructureOverrideOriginal,\n  CreateNewPrimaryLocalePayload as CreateNewPrimaryLocalePayloadOriginal,\n  RawCreateLocaleRequest as RawCreateLocaleRequestOriginal,\n  RawCreateLocaleResponse as RawCreateLocaleResponseOriginal,\n  ChangeMainLocaleRequest as ChangeMainLocaleRequestOriginal,\n  ChangeMainLocaleResponse as ChangeMainLocaleResponseOriginal,\n  ForceDeleteLocaleRequest as ForceDeleteLocaleRequestOriginal,\n  ForceDeleteLocaleResponse as ForceDeleteLocaleResponseOriginal,\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  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n  ListSupportedLocalesRequest as ListSupportedLocalesRequestOriginal,\n  ListSupportedLocalesResponse as ListSupportedLocalesResponseOriginal,\n  SupportedLocale as SupportedLocaleOriginal,\n  RegionOptions as RegionOptionsOriginal,\n  InvalidateCache as InvalidateCacheOriginal,\n  InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n  App as AppOriginal,\n  Page as PageOriginal,\n  URI as URIOriginal,\n  File as FileOriginal,\n  CustomTag as CustomTagOriginal,\n  Pages as PagesOriginal,\n  URIs as URIsOriginal,\n  CreateLocaleRequest as CreateLocaleRequestOriginal,\n  CreateLocaleResponse as CreateLocaleResponseOriginal,\n  GetLocaleRequest as GetLocaleRequestOriginal,\n  GetLocaleResponse as GetLocaleResponseOriginal,\n  UpdateLocaleRequest as UpdateLocaleRequestOriginal,\n  UpdateLocaleResponse as UpdateLocaleResponseOriginal,\n  DeleteLocaleRequest as DeleteLocaleRequestOriginal,\n  DeleteLocaleResponse as DeleteLocaleResponseOriginal,\n  QueryLocalesRequest as QueryLocalesRequestOriginal,\n  CursorQuery as CursorQueryOriginal,\n  CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  CursorPaging as CursorPagingOriginal,\n  QueryLocalesResponse as QueryLocalesResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  BulkCreateLocalesRequest as BulkCreateLocalesRequestOriginal,\n  BulkCreateLocalesResponse as BulkCreateLocalesResponseOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkLocaleResult as BulkLocaleResultOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  BulkUpdateLocalesRequest as BulkUpdateLocalesRequestOriginal,\n  MaskedLocale as MaskedLocaleOriginal,\n  BulkUpdateLocalesResponse as BulkUpdateLocalesResponseOriginal,\n  BulkUpdateLocalesResponseBulkLocaleResult as BulkUpdateLocalesResponseBulkLocaleResultOriginal,\n  BulkDeleteLocalesRequest as BulkDeleteLocalesRequestOriginal,\n  BulkDeleteLocalesResponse as BulkDeleteLocalesResponseOriginal,\n  BulkDeleteLocalesResponseBulkLocaleResult as BulkDeleteLocalesResponseBulkLocaleResultOriginal,\n  CreateNewPrimaryLocaleRequest as CreateNewPrimaryLocaleRequestOriginal,\n  CreateNewPrimaryLocaleResponse as CreateNewPrimaryLocaleResponseOriginal,\n  GetNewPrimaryLocaleStatusRequest as GetNewPrimaryLocaleStatusRequestOriginal,\n  GetNewPrimaryLocaleStatusResponse as GetNewPrimaryLocaleStatusResponseOriginal,\n  GetNewPrimaryLocaleStatusResponseDataOneOf as GetNewPrimaryLocaleStatusResponseDataOneOfOriginal,\n  Status as StatusOriginal,\n  StatusWithLiterals as StatusWithLiteralsOriginal,\n  FinishSuccessfulData as FinishSuccessfulDataOriginal,\n  FinishWithErrorData as FinishWithErrorDataOriginal,\n  SetVisitorPrimaryLocaleRequest as SetVisitorPrimaryLocaleRequestOriginal,\n  SetVisitorPrimaryLocaleResponse as SetVisitorPrimaryLocaleResponseOriginal,\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  DomainChangedEvent as DomainChangedEventOriginal,\n  DomainChangedEventPayloadOneOf as DomainChangedEventPayloadOneOfOriginal,\n  Registered as RegisteredOriginal,\n  RegistrationCancelled as RegistrationCancelledOriginal,\n  ConnectedToSite as ConnectedToSiteOriginal,\n  DisconnectedFromSite as DisconnectedFromSiteOriginal,\n  RegistrationExtended as RegistrationExtendedOriginal,\n  OwnerChanged as OwnerChangedOriginal,\n  PrivacyChanged as PrivacyChangedOriginal,\n  ManagementTypeChanged as ManagementTypeChangedOriginal,\n  BillingSubscriptionCancelled as BillingSubscriptionCancelledOriginal,\n  ConnectionVerified as ConnectionVerifiedOriginal,\n  ConnectionLost as ConnectionLostOriginal,\n  ExpirationDateChanged as ExpirationDateChangedOriginal,\n  PropagationStarted as PropagationStartedOriginal,\n  VerificationStarted as VerificationStartedOriginal,\n  ContactVerificationStatusChanged as ContactVerificationStatusChangedOriginal,\n  ContactVerificationStatus as ContactVerificationStatusOriginal,\n  ContactVerificationStatusWithLiterals as ContactVerificationStatusWithLiteralsOriginal,\n  Expired as ExpiredOriginal,\n  GraceEnded as GraceEndedOriginal,\n  RedemptionEnded as RedemptionEndedOriginal,\n  DnssecChanged as DnssecChangedOriginal,\n  PriceIncreaseProcessed as PriceIncreaseProcessedOriginal,\n  CreateNewPrimaryLocaleApplicationErrors as CreateNewPrimaryLocaleApplicationErrorsOriginal,\n  SetVisitorPrimaryLocaleApplicationErrors as SetVisitorPrimaryLocaleApplicationErrorsOriginal,\n} from './multilingual-locales-v2-locale-locales.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,iDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,SAAS,0DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;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AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,2BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACqC,wBAAwB,OAAO;AAE1E,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","LocaleVisibility","UrlStructure","WebhookIdentityType","SortOrder","Status","State","SiteCreatedContext","Namespace","DeleteStatus","PlacementType","DayOfWeek","ResolutionMethod","ContactVerificationStatus","listSupportedLocales","createLocale","getLocale","updateLocale","deleteLocale","queryLocales","bulkCreateLocales","bulkUpdateLocales","bulkDeleteLocales","createNewPrimaryLocale","getNewPrimaryLocaleStatus","setVisitorPrimaryLocale"]}