{"version":3,"sources":["../../../src/innovation-widget-v1-message-messages.http.ts","../../../src/innovation-widget-v1-message-messages.types.ts","../../../src/innovation-widget-v1-message-messages.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 { 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 resolveWixInnovationAssistantWidgetV1MessagesUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/wix-assistant-widget',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/wix-assistant-widget',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/wix-assistant-widget',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/wix-assistant-widget',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/wix-assistant-widget',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/wix-assistant-widget',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/wix-assistant-widget',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/wix-assistant-widget',\n        destPath: '',\n      },\n      {\n        srcPath: '/innovation/widget',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/wix-assistant-widget',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ai-site-chat_messages';\n\n/**\n * Bulk creates messages.\n *\n * This method must be called using the site visitor or site member identity ([SDK](https://dev.wix.com/docs/sdk/articles/get-started/about-identities#site-member) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/about-identities#site-member)) to identify the site visitor that is creating the messages.\n */\nexport function bulkCreateMessages(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkCreateMessages({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'messages.createdDate' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.innovation.widget.v1.message',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.innovation.assistant.widget.v1.Messages.BulkCreateMessages',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixInnovationAssistantWidgetV1MessagesUrl({\n        protoPath: '/v1/bulk/messages/create',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'messages.createdDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateMessages;\n}\n\n/**\n * Retrieves a list of messages.\n *\n * Up to 100 Messages can be returned per request.\n *\n * This method must be called using the site visitor or site member identity ([SDK](https://dev.wix.com/docs/sdk/articles/get-started/about-identities#site-member) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/about-identities#site-member)) to identify the site visitor that is retrieving the messages.\n */\nexport function listMessages(payload: object): RequestOptionsFactory<any> {\n  function __listMessages({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.innovation.widget.v1.message',\n      method: 'GET' as any,\n      methodFqn: 'wix.innovation.assistant.widget.v1.Messages.ListMessages',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixInnovationAssistantWidgetV1MessagesUrl({\n        protoPath: '/v1/messages/list',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'messages.createdDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listMessages;\n}\n\n/** Allows site visitor to create upload url to use for uploading a file. */\nexport function mediaAttachmentUploadUrl(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __mediaAttachmentUploadUrl({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.innovation.widget.v1.message',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.innovation.assistant.widget.v1.Messages.MediaAttachmentUploadUrl',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixInnovationAssistantWidgetV1MessagesUrl({\n        protoPath: '/v1/messages/files/generate-upload-url',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __mediaAttachmentUploadUrl;\n}\n\n/**\n * Retrieves messages by inbox conversation ID.\n *\n * Up to 100 Messages can be returned per request.\n */\nexport function bulkGetByInboxMessages(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkGetByInboxMessages({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.innovation.widget.v1.message',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.innovation.assistant.widget.v1.Messages.BulkGetByInboxMessages',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixInnovationAssistantWidgetV1MessagesUrl({\n        protoPath: '/v1/messages/get-by-inbox',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'results.message.createdDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkGetByInboxMessages;\n}\n","export interface Message {\n  /**\n   * Message ID.\n   * @maxLength 40\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Date and time the message was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /** Message sender type. */\n  sender?: SenderWithLiterals;\n  /**\n   * Conversation ID.\n   * @format GUID\n   * @readonly\n   */\n  conversationId?: string | null;\n  /**\n   * ID of the message that this message is answering.\n   * @maxLength 40\n   */\n  answerTo?: string | null;\n  /** Message type. */\n  messageType?: MessageTypeWithLiterals;\n  /** Message body. */\n  body?: Body;\n  /**\n   * Message Id in the Inbox\n   * @maxLength 40\n   * @readonly\n   */\n  inboxId?: string | null;\n  /**\n   * Options site visitor can choose from.\n   * @maxSize 10\n   * @maxLength 500\n   */\n  visitorOptions?: string[];\n  /**\n   * List of actions that ai assistant executed on the site visitor's behalf.\n   * @maxSize 10\n   * @maxLength 500\n   */\n  assistantActions?: string[];\n  /**\n   * List of detailed options the visitor can choose from.\n   * @readonly\n   * @maxSize 50\n   */\n  visitorOptionsFields?: Record<string, any>[] | null;\n  /**\n   * Exact status message returned by ai site chat engine,\n   * @maxLength 50\n   * @readonly\n   */\n  engineStatus?: string | null;\n}\n\nexport enum Sender {\n  /** AI assistant. */\n  ASSISTANT = 'ASSISTANT',\n  /** Wix user. For example, a site admin. */\n  USER = 'USER',\n  /** Message was sent automatically due to widget settings. For example, a contact form. */\n  SYSTEM = 'SYSTEM',\n  /** Site visitor. */\n  SITE_VISITOR = 'SITE_VISITOR',\n}\n\n/** @enumType */\nexport type SenderWithLiterals =\n  | Sender\n  | 'ASSISTANT'\n  | 'USER'\n  | 'SYSTEM'\n  | 'SITE_VISITOR';\n\nexport enum MessageType {\n  /** Question. */\n  QUESTION = 'QUESTION',\n  /** Answer. */\n  ANSWER = 'ANSWER',\n  /** Intro message, as defined in the widget settings. */\n  INTRO = 'INTRO',\n  /** Legal disclaimer, as defined in the widget settings. */\n  LEGAL = 'LEGAL',\n  /** Contact form. */\n  CONTACT_FORM = 'CONTACT_FORM',\n  /** Message confirms that a contact form was successfully submitted. */\n  CONTACT_FORM_SUBMITTED = 'CONTACT_FORM_SUBMITTED',\n  /** Notification for the site owner. */\n  SITE_OWNER_NOTIFICATION = 'SITE_OWNER_NOTIFICATION',\n  /** Message informing the site visitor that the AI assistant is offline, as defined in the widget settings. */\n  OFFLINE = 'OFFLINE',\n  /** Message that informs the Wix user that they have reached the maximum number of messages on their current plan. */\n  OUT_OF_QUOTA = 'OUT_OF_QUOTA',\n  /** User answer. */\n  USER_ANSWER = 'USER_ANSWER',\n  /** Site visitor site Navigation information. */\n  SITE_NAVIGATION = 'SITE_NAVIGATION',\n  /** Site visitor site Navigation information answer. */\n  NAVIGATION_ANSWER = 'NAVIGATION_ANSWER',\n  /** AI Site Chat ignored the question. */\n  IGNORED_ANSWER = 'IGNORED_ANSWER',\n  /** Site visitor selected an option from  Message.visitor_options. */\n  VISITOR_OPTION_SELECTED = 'VISITOR_OPTION_SELECTED',\n  /** Site visitor added a product to the cart. */\n  ADD_TO_CART = 'ADD_TO_CART',\n  /** Site visitor booked a service. */\n  BOOK_SERVICE = 'BOOK_SERVICE',\n  /** AI assistant generated a question for the user to try. */\n  GENERATED_QUESTION = 'GENERATED_QUESTION',\n  /** Suggested question, as defined in the widget settings. */\n  SUGGESTED_QUESTION = 'SUGGESTED_QUESTION',\n  /** Wix user question for testing and training. */\n  USER_QUESTION = 'USER_QUESTION',\n  /** Wix assistant answer for testing and training. */\n  USER_QUESTION_ANSWER = 'USER_QUESTION_ANSWER',\n  /** Media uploaded by Wix user for visitor. */\n  WIX_USER_MEDIA = 'WIX_USER_MEDIA',\n  /** Media uploaded by visitor for Wix user. */\n  MEDIA = 'MEDIA',\n  /** Card template sent by the Wix User. */\n  WIX_USER_CARD = 'WIX_USER_CARD',\n  /** Simple template sent by the Wix User. */\n  WIX_USER_MINIMAL_BODY = 'WIX_USER_MINIMAL_BODY',\n  /** Form sent by the Wix User. */\n  WIX_USER_FORM = 'WIX_USER_FORM',\n  /** System message from comm channels. */\n  WIX_SYSTEM = 'WIX_SYSTEM',\n}\n\n/** @enumType */\nexport type MessageTypeWithLiterals =\n  | MessageType\n  | 'QUESTION'\n  | 'ANSWER'\n  | 'INTRO'\n  | 'LEGAL'\n  | 'CONTACT_FORM'\n  | 'CONTACT_FORM_SUBMITTED'\n  | 'SITE_OWNER_NOTIFICATION'\n  | 'OFFLINE'\n  | 'OUT_OF_QUOTA'\n  | 'USER_ANSWER'\n  | 'SITE_NAVIGATION'\n  | 'NAVIGATION_ANSWER'\n  | 'IGNORED_ANSWER'\n  | 'VISITOR_OPTION_SELECTED'\n  | 'ADD_TO_CART'\n  | 'BOOK_SERVICE'\n  | 'GENERATED_QUESTION'\n  | 'SUGGESTED_QUESTION'\n  | 'USER_QUESTION'\n  | 'USER_QUESTION_ANSWER'\n  | 'WIX_USER_MEDIA'\n  | 'MEDIA'\n  | 'WIX_USER_CARD'\n  | 'WIX_USER_MINIMAL_BODY'\n  | 'WIX_USER_FORM'\n  | 'WIX_SYSTEM';\n\nexport interface Body {\n  /**\n   * Main text of the message.\n   * @maxLength 4096\n   */\n  mainText?: string | null;\n  /**\n   * Footer text of the message.\n   * @maxLength 4096\n   */\n  footerText?: string | null;\n  /**\n   * Additional data for the message.\n   * @maxSize 30\n   */\n  additionalData?: Record<string, any>[] | null;\n}\n\nexport enum ChatHandler {\n  /** Unknown handler. */\n  UNKNOWN_HANDLER = 'UNKNOWN_HANDLER',\n  /** AI assistant. */\n  AI = 'AI',\n  /** Wix user, such as a site owner. */\n  WIX_USER = 'WIX_USER',\n}\n\n/** @enumType */\nexport type ChatHandlerWithLiterals =\n  | ChatHandler\n  | 'UNKNOWN_HANDLER'\n  | 'AI'\n  | 'WIX_USER';\n\nexport interface BulkCreateMessagesRequest {\n  /**\n   * Messages to be created.\n   * @minSize 1\n   * @maxSize 25\n   */\n  messages?: Message[];\n}\n\nexport interface BulkCreateMessagesResponse {\n  /** Created messages. */\n  messages?: Message[];\n}\n\nexport interface ListMessagesRequest {\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 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\nexport interface ListMessagesResponse {\n  /** Retrieved messages. */\n  messages?: Message[];\n  /** Paging metadata. */\n  pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  offset?: number | null;\n  /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n  total?: number | null;\n  /** Flag that indicates the server failed to calculate the `total` field. */\n  tooManyToCount?: boolean | null;\n  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n  cursors?: Cursors;\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\nexport interface MediaAttachmentUploadUrlRequest {\n  /** @maxLength 100 */\n  mimeType: string;\n  /** @maxLength 100 */\n  fileName?: string | null;\n  /** @maxLength 100 */\n  parentFolderId?: string | null;\n  /** @maxLength 100 */\n  filePath?: string | null;\n}\n\nexport interface MediaAttachmentUploadUrlResponse {\n  /** @format WEB_URL */\n  uploadUrl?: string;\n}\n\nexport interface BulkGetByInboxMessagesRequest {\n  /**\n   * inboxConversationId of the conversation to get messages by.\n   * @format GUID\n   */\n  inboxConversationId: string | null;\n  /**\n   * InboxMessage.sequence\n   * @maxLength 20\n   * @minSize 1\n   * @maxSize 100\n   */\n  inboxMessageSequences?: string[] | null;\n}\n\nexport interface BulkGetByInboxMessagesResponse {\n  /** BulkGetByInboxMessagesResult */\n  results?: BulkGetByInboxMessagesResult[];\n  /**\n   * BulkActionMetadata.\n   *\n   * If message was not found, still counts as success.\n   * Failure to retrieve a message will result in a failure count.\n   */\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 BulkGetByInboxMessagesResult {\n  /** ItemMetadata */\n  itemMetadata?: ItemMetadata;\n  /** Message object if found, otherwise empty. */\n  message?: Message;\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\nexport interface ScheduleCreateInsightsRequest {\n  /** @format GUID */\n  metaSiteId?: string;\n  scheduleFor?: Date | null;\n}\n\nexport interface ScheduleCreateInsightsResponse {\n  scheduledFor?: Date | null;\n}\n\nexport interface CancelCreateInsightsRequest {\n  /** @format GUID */\n  metaSiteId?: string;\n}\n\nexport interface CancelCreateInsightsResponse {}\n\nexport interface SetupRequest {}\n\nexport interface SetupResponse {}\n\nexport interface TeardownRequest {}\n\nexport interface TeardownResponse {}\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}\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\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\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 CommunicationsChannelsMessageReceived {\n  /** @maxLength 100 */\n  externalMessageId?: string | null;\n  inboxSequence?: string | null;\n}\n\nexport interface VisitorMappedToContact {\n  /** visitor id */\n  visitorId?: string;\n  /** contact id */\n  contactId?: string;\n  /** previous visitor id */\n  previousContactId?: string | null;\n  /** mapping valid starting on */\n  validFromDate?: Date | null;\n  /** New/Existing contact */\n  allocationResultType?: AllocationResultTypeWithLiterals;\n}\n\nexport enum AllocationResultType {\n  NEW_CONTACT = 'NEW_CONTACT',\n  EXISTING_CONTACT = 'EXISTING_CONTACT',\n}\n\n/** @enumType */\nexport type AllocationResultTypeWithLiterals =\n  | AllocationResultType\n  | 'NEW_CONTACT'\n  | 'EXISTING_CONTACT';\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n","import * as ambassadorWixInnovationWidgetV1Message from './innovation-widget-v1-message-messages.http.js';\nimport * as ambassadorWixInnovationWidgetV1MessageTypes from './innovation-widget-v1-message-messages.types.js';\nimport * as ambassadorWixInnovationWidgetV1MessageUniversalTypes from './innovation-widget-v1-message-messages.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 bulkCreateMessages(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixInnovationWidgetV1MessageUniversalTypes.BulkCreateMessagesRequest,\n  ambassadorWixInnovationWidgetV1MessageTypes.BulkCreateMessagesRequest,\n  ambassadorWixInnovationWidgetV1MessageUniversalTypes.BulkCreateMessagesResponse,\n  ambassadorWixInnovationWidgetV1MessageTypes.BulkCreateMessagesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixInnovationWidgetV1Message.bulkCreateMessages(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: '/v1/bulk/messages/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 listMessages(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixInnovationWidgetV1MessageUniversalTypes.ListMessagesRequest,\n  ambassadorWixInnovationWidgetV1MessageTypes.ListMessagesRequest,\n  ambassadorWixInnovationWidgetV1MessageUniversalTypes.ListMessagesResponse,\n  ambassadorWixInnovationWidgetV1MessageTypes.ListMessagesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixInnovationWidgetV1Message.listMessages(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/messages/list',\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 mediaAttachmentUploadUrl(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixInnovationWidgetV1MessageUniversalTypes.MediaAttachmentUploadUrlRequest,\n  ambassadorWixInnovationWidgetV1MessageTypes.MediaAttachmentUploadUrlRequest,\n  ambassadorWixInnovationWidgetV1MessageUniversalTypes.MediaAttachmentUploadUrlResponse,\n  ambassadorWixInnovationWidgetV1MessageTypes.MediaAttachmentUploadUrlResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixInnovationWidgetV1Message.mediaAttachmentUploadUrl(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/messages/files/generate-upload-url',\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 bulkGetByInboxMessages(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixInnovationWidgetV1MessageUniversalTypes.BulkGetByInboxMessagesRequest,\n  ambassadorWixInnovationWidgetV1MessageTypes.BulkGetByInboxMessagesRequest,\n  ambassadorWixInnovationWidgetV1MessageUniversalTypes.BulkGetByInboxMessagesResponse,\n  ambassadorWixInnovationWidgetV1MessageTypes.BulkGetByInboxMessagesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixInnovationWidgetV1Message.bulkGetByInboxMessages(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/messages/get-by-inbox',\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  Message as MessageOriginal,\n  Sender as SenderOriginal,\n  SenderWithLiterals as SenderWithLiteralsOriginal,\n  MessageType as MessageTypeOriginal,\n  MessageTypeWithLiterals as MessageTypeWithLiteralsOriginal,\n  Body as BodyOriginal,\n  ChatHandler as ChatHandlerOriginal,\n  ChatHandlerWithLiterals as ChatHandlerWithLiteralsOriginal,\n  BulkCreateMessagesRequest as BulkCreateMessagesRequestOriginal,\n  BulkCreateMessagesResponse as BulkCreateMessagesResponseOriginal,\n  ListMessagesRequest as ListMessagesRequestOriginal,\n  CursorPaging as CursorPagingOriginal,\n  ListMessagesResponse as ListMessagesResponseOriginal,\n  PagingMetadataV2 as PagingMetadataV2Original,\n  Cursors as CursorsOriginal,\n  MediaAttachmentUploadUrlRequest as MediaAttachmentUploadUrlRequestOriginal,\n  MediaAttachmentUploadUrlResponse as MediaAttachmentUploadUrlResponseOriginal,\n  BulkGetByInboxMessagesRequest as BulkGetByInboxMessagesRequestOriginal,\n  BulkGetByInboxMessagesResponse as BulkGetByInboxMessagesResponseOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkGetByInboxMessagesResult as BulkGetByInboxMessagesResultOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  ScheduleCreateInsightsRequest as ScheduleCreateInsightsRequestOriginal,\n  ScheduleCreateInsightsResponse as ScheduleCreateInsightsResponseOriginal,\n  CancelCreateInsightsRequest as CancelCreateInsightsRequestOriginal,\n  CancelCreateInsightsResponse as CancelCreateInsightsResponseOriginal,\n  SetupRequest as SetupRequestOriginal,\n  SetupResponse as SetupResponseOriginal,\n  TeardownRequest as TeardownRequestOriginal,\n  TeardownResponse as TeardownResponseOriginal,\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  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  CommunicationsChannelsMessageReceived as CommunicationsChannelsMessageReceivedOriginal,\n  VisitorMappedToContact as VisitorMappedToContactOriginal,\n  AllocationResultType as AllocationResultTypeOriginal,\n  AllocationResultTypeWithLiterals as AllocationResultTypeWithLiteralsOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n} from './innovation-widget-v1-message-messages.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,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,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UA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,OAAO;AAE7D,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;AAEO,SAASC,4BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACmC,yBAAyB,OAAO;AAEzE,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;AAEO,SAASC,0BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACmC,uBAAuB,OAAO;AAEvE,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","Sender","MessageType","ChatHandler","State","SiteCreatedContext","Namespace","DeleteStatus","AllocationResultType","WebhookIdentityType","bulkCreateMessages","listMessages","mediaAttachmentUploadUrl","bulkGetByInboxMessages"]}