{"version":3,"sources":["../../../src/innovation-playground-v2-message-assistant-training.http.ts","../../../src/innovation-playground-v2-message-assistant-training.types.ts","../../../src/innovation-playground-v2-message-assistant-training.meta.ts"],"sourcesContent":["import { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\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 resolveWixInnovationAssistantPlaygroundV2WixAssistantPlaygroundV2Url(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {};\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ai-site-chat_assistant-training';\n\n/**\n * Creates a query to retrieve a list of messages.\n * The `queryMessages()` function builds a query to retrieve a list of messages and returns a `MessagesQueryBuilder` object.\n * The returned object contains the query definition, which is typically used to run the query using the `find()` function.\n * You can refine the query by chaining `MessagesQueryBuilder` functions onto the query. `MessagesQueryBuilder` functions enable you to sort, filter, and control the results `queryMessages()` returns.\n * `queryMessages()` runs with these `MessagesQueryBuilder` defaults, which you can override:\n *\n * *`skip(0)`\n * * `limit(50)`\n * * `ascending(\"createdDate\")`\n *\n * The functions that are chained to `queryMessages()` are applied in the order they are called. For example, if you apply `ascending('createdDate')` and then `descending('id')`, the results are sorted first by the created date, and then, if there are multiple results with the same created date, the messages are sorted by ID.\n *\n * ## Supported Filters and Sorting\n *\n * | Field | Supported Filters | Sortable  |\n * |----------------|------------------------------------------------------------------------------------------|-----------|\n * | `id`           | [All operators](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#operators). | Sortable  |\n * | `createdDate`  | [All operators](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#operators). | Sortable  |\n * @deprecated Will be removed on 2025-09-01.\n */\nexport function queryMessages(payload: object): RequestOptionsFactory<any> {\n  function __queryMessages({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.innovation.playground.v2.message',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.innovation.assistant.playground.v2.WixAssistantPlaygroundV2.QueryMessages',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixInnovationAssistantPlaygroundV2WixAssistantPlaygroundV2Url(\n        { protoPath: '/v2/messages/query', data: payload, host }\n      ),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'messages.createdDate' },\n              { path: 'messages.updatedDate' },\n              { path: 'messages.feedback.document.updateTs' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [{ path: 'messages.feedback.document.relevance' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryMessages;\n}\n\n/**\n * Asks a question to the AI Assistant.\n *\n * This method creates and sends a message from a Wix user.\n * @deprecated Will be removed on 2025-09-01.\n */\nexport function askQuestion(payload: object): RequestOptionsFactory<any> {\n  function __askQuestion({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'question.createdDate' },\n          { path: 'question.updatedDate' },\n          { path: 'question.feedback.document.updateTs' },\n        ],\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [{ path: 'question.feedback.document.relevance' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.innovation.playground.v2.message',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.innovation.assistant.playground.v2.WixAssistantPlaygroundV2.AskQuestion',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixInnovationAssistantPlaygroundV2WixAssistantPlaygroundV2Url(\n        { protoPath: '/v2/messages/ask-question', data: serializedData, host }\n      ),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'answer.createdDate' },\n              { path: 'answer.updatedDate' },\n              { path: 'answer.feedback.document.updateTs' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [{ path: 'answer.feedback.document.relevance' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __askQuestion;\n}\n\n/**\n * Adds feedback to a message.\n * @deprecated Will be removed on 2025-09-01.\n */\nexport function addFeedback(payload: object): RequestOptionsFactory<any> {\n  function __addFeedback({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'feedback.document.updateTs' }],\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [{ path: 'feedback.document.relevance' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.innovation.playground.v2.message',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.innovation.assistant.playground.v2.WixAssistantPlaygroundV2.AddFeedback',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixInnovationAssistantPlaygroundV2WixAssistantPlaygroundV2Url(\n        { protoPath: '/v2/messages/add-feedback', data: serializedData, host }\n      ),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'message.createdDate' },\n              { path: 'message.updatedDate' },\n              { path: 'message.feedback.document.updateTs' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [{ path: 'message.feedback.document.relevance' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __addFeedback;\n}\n\n/**\n * Synchronously updates tags on a list of messages, specified using the messages' IDs.\n *\n * If a tag appears in both `assignTags` and `unassignTags`, it is assigned.\n * @deprecated Will be removed on 2025-09-01.\n */\nexport function bulkUpdateMessageTags(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateMessageTags({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.innovation.playground.v2.message',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.innovation.assistant.playground.v2.WixAssistantPlaygroundV2.BulkUpdateMessageTags',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixInnovationAssistantPlaygroundV2WixAssistantPlaygroundV2Url(\n        { protoPath: '/v2/bulk/messages/update-tags', data: payload, host }\n      ),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateMessageTags;\n}\n\n/**\n * Asynchronously updates tags on a list of messages, specified by applying a filter to all messages. If a filter is not specified, this method updates all messages.\n *\n * If a tag appears in both `assignTags` and `unassignTags`, it is assigned.\n * @deprecated Will be removed on 2025-09-01.\n */\nexport function bulkUpdateMessageTagsByFilter(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateMessageTagsByFilter({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.innovation.playground.v2.message',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.innovation.assistant.playground.v2.WixAssistantPlaygroundV2.BulkUpdateMessageTagsByFilter',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixInnovationAssistantPlaygroundV2WixAssistantPlaygroundV2Url(\n        {\n          protoPath: '/v2/bulk/messages/update-tags-by-filter',\n          data: payload,\n          host,\n        }\n      ),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateMessageTagsByFilter;\n}\n\n/**\n * Updates extended fields. This method does not increment the revision.\n * @deprecated Will be removed on 2025-09-01.\n */\nexport function updateExtendedFields(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateExtendedFields({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.innovation.playground.v2.message',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.innovation.assistant.playground.v2.WixAssistantPlaygroundV2.UpdateExtendedFields',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixInnovationAssistantPlaygroundV2WixAssistantPlaygroundV2Url(\n        {\n          protoPath: '/v2/messages/{id}/update-extended-fields',\n          data: payload,\n          host,\n        }\n      ),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'message.createdDate' },\n              { path: 'message.updatedDate' },\n              { path: 'message.feedback.document.updateTs' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [{ path: 'message.feedback.document.relevance' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateExtendedFields;\n}\n","export interface Message {\n  /**\n   * Message ID.\n   * @format GUID\n   */\n  id?: string;\n  /**\n   * Conversation ID.\n   * @format GUID\n   */\n  conversationId?: string;\n  /** Message sender type. */\n  sender?: SenderWithLiterals;\n  /** Feedback attached to the message. Only relevant for messages sent by the AI assistant. */\n  feedback?: Feedback;\n  /**\n   * Date and time the message was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the message was updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Revision number, which increments by 1 each time the message is updated. To prevent conflicting changes, the current revision must be passed when updating the message.\n   *\n   * Ignored when creating a message.\n   * @readonly\n   */\n  revision?: string | null;\n  /** Message body. */\n  body?: Body;\n  /**\n   * ID of the message that this message is answering.\n   * @format GUID\n   */\n  answerTo?: string | null;\n  /** Extended fields. */\n  extendedFields?: ExtendedFields;\n  /** Tags. */\n  tags?: Tags;\n}\n\nexport enum Sender {\n  /** Question sent by a Wix user. */\n  USER = 'USER',\n  /** Question generated by AI. */\n  GENERATED_BY_AI = 'GENERATED_BY_AI',\n  /** AI assistant answer. */\n  ASSISTANT = 'ASSISTANT',\n}\n\n/** @enumType */\nexport type SenderWithLiterals =\n  | Sender\n  | 'USER'\n  | 'GENERATED_BY_AI'\n  | 'ASSISTANT';\n\nexport interface Feedback {\n  /**\n   * Feedback text.\n   * @maxLength 4096\n   */\n  text?: string | null;\n  /**\n   * Document attached to the feedback.\n   * @readonly\n   */\n  document?: Document;\n  /**\n   * Defined if there's an error attaching the document.\n   * @maxLength 4096\n   * @readonly\n   */\n  error?: string | null;\n  /** Feedback type. */\n  type?: FeedbackTypeWithLiterals;\n}\n\nexport interface Document {\n  /**\n   * ID of the external document.\n   * @maxLength 36\n   */\n  id?: string;\n  /**\n   * Title of the external document.\n   * @maxLength 1000\n   */\n  title?: string;\n  /**\n   * Description of the external document.\n   * @maxLength 100000\n   */\n  description?: string;\n  /**\n   * Tags of the external document.\n   * @maxLength 1000\n   * @maxSize 10\n   */\n  tags?: string[];\n  /**\n   * URL of the external document.\n   * @maxLength 1000\n   */\n  url?: string;\n  /** Category of the external document. */\n  category?: CategoryWithLiterals;\n  /** Action to be taken when the external document is presented to the user. */\n  action?: ActionWithLiterals;\n  /** Whether the external document is generated from a feedback. */\n  isFeedback?: boolean | null;\n  /** Whether the external document is published. */\n  isPublished?: boolean | null;\n  /** Timestamp of the last update of the external document. */\n  updateTs?: Date | null;\n  /** Relevance of the external document. */\n  relevance?: number | null;\n  /** Usage of the external document. */\n  usage?: number | null;\n  /** Reference to a site document. */\n  reference?: ReferenceDocument;\n}\n\n/** Category of the external document. */\nexport enum Category {\n  ENRICHMENT = 'ENRICHMENT',\n  /** FEEDBACK = 2; */\n  RESTRICTION = 'RESTRICTION',\n}\n\n/** @enumType */\nexport type CategoryWithLiterals = Category | 'ENRICHMENT' | 'RESTRICTION';\n\n/** Action to be taken when the external document is presented to the user. */\nexport enum Action {\n  NO_ANSWER = 'NO_ANSWER',\n  CONTACT = 'CONTACT',\n}\n\n/** @enumType */\nexport type ActionWithLiterals = Action | 'NO_ANSWER' | 'CONTACT';\n\n/** Document for reference. */\nexport interface ReferenceDocument {\n  /**\n   * ID of the document.\n   * @maxLength 100\n   */\n  id?: string;\n  /**\n   * Type of the document.\n   * @maxLength 50\n   */\n  documentType?: string;\n  /**\n   * Title of the document.\n   * @maxLength 1000\n   */\n  title?: string;\n  /**\n   * URL of the document.\n   * @maxLength 1000\n   */\n  url?: string;\n  /**\n   * Image of the document.\n   * @maxLength 1000\n   */\n  img?: string;\n}\n\nexport enum FeedbackType {\n  /** AI assistant provided relevant and correct information. */\n  THUMBS_UP = 'THUMBS_UP',\n  /** AI assistant didn't answer the question. */\n  IRRELEVANT = 'IRRELEVANT',\n  /** AI assistant provided incorrect information. */\n  INCORRECT = 'INCORRECT',\n  /** AI Assistant should not answer the question asked. */\n  SHOULD_NOT_ANSWER = 'SHOULD_NOT_ANSWER',\n  /** AI Assistant answered the question, but could be improved. */\n  OK_BUT = 'OK_BUT',\n  /** Other. */\n  OTHER = 'OTHER',\n}\n\n/** @enumType */\nexport type FeedbackTypeWithLiterals =\n  | FeedbackType\n  | 'THUMBS_UP'\n  | 'IRRELEVANT'\n  | 'INCORRECT'\n  | 'SHOULD_NOT_ANSWER'\n  | 'OK_BUT'\n  | 'OTHER';\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.\n   * @maxSize 30\n   */\n  additionalData?: Record<string, any>[] | null;\n}\n\nexport interface ExtendedFields {\n  /**\n   * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n   * The value of each key is structured according to the schema defined when the extended fields were configured.\n   *\n   * You can only access fields for which you have the appropriate permissions.\n   *\n   * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n   */\n  namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n  /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */\n  privateTags?: TagList;\n  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n  tags?: TagList;\n}\n\nexport interface TagList {\n  /**\n   * List of tag IDs\n   * @maxSize 100\n   * @maxLength 5\n   */\n  tagIds?: string[];\n}\n\nexport interface QueryMessagesRequest {\n  /** WQL expression. */\n  query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n  /**\n   * Cursor paging options.\n   *\n   * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n   */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object.\n   *\n   * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object.\n   *\n   * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).\n   * @maxSize 5\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n  /**\n   * Cursor paging options.\n   *\n   * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n   */\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\nexport interface QueryMessagesResponse {\n  /**\n   * List of messages.\n   * @maxSize 1000\n   */\n  messages?: Message[];\n  /** Paging metadata. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in current page. */\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\nexport interface AskQuestionRequest {\n  /** Question message. */\n  question: Message;\n}\n\nexport interface AskQuestionResponse {\n  /** Answer message. */\n  answer?: Message;\n}\n\nexport interface AddFeedbackRequest {\n  /**\n   * ID of the message to add feedback to.\n   * @format GUID\n   */\n  messageId: string;\n  /** Feedback to add to the message. */\n  feedback: Feedback;\n  /** Latest message revision. */\n  revision: string;\n}\n\nexport interface AddFeedbackResponse {\n  /** Updated message. */\n  message?: Message;\n}\n\nexport interface BulkUpdateMessageTagsRequest {\n  /**\n   * Message IDs. Tags are updated for messages included in this list.\n   * @minSize 1\n   * @maxSize 100\n   * @format GUID\n   */\n  ids: string[] | null;\n  /** Tags to assign. */\n  assignTags: Tags;\n  /** Tags to unassign. */\n  unassignTags?: Tags;\n}\n\nexport interface BulkUpdateMessageTagsResponse {\n  /**\n   * List of metadata for each message updated.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateMessageTagsResult[];\n  /** 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 BulkUpdateMessageTagsResult {\n  /** Individual message metadata. */\n  itemMetadata?: ItemMetadata;\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 BulkUpdateMessageTagsByFilterRequest {\n  /** Filter to apply to the messages. Tags are updated for messages included in this filter. */\n  filter: Record<string, any> | null;\n  /** Tags to assign. */\n  assignTags: Tags;\n  /** Tags to unassign. */\n  unassignTags?: Tags;\n}\n\nexport interface BulkUpdateMessageTagsByFilterResponse {\n  /**\n   * Job ID.\n   * @format GUID\n   */\n  jobId?: string;\n}\n\nexport interface UpdateExtendedFieldsRequest {\n  /** ID of the entity to update. */\n  id: string;\n  /** Identifier for the app whose extended fields are being updated. */\n  namespace: string;\n  /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */\n  namespaceData: Record<string, any> | null;\n}\n\nexport interface UpdateExtendedFieldsResponse {\n  /** Updated message. */\n  message?: Message;\n}\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 MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n","import * as ambassadorWixInnovationPlaygroundV2Message from './innovation-playground-v2-message-assistant-training.http.js';\nimport * as ambassadorWixInnovationPlaygroundV2MessageTypes from './innovation-playground-v2-message-assistant-training.types.js';\nimport * as ambassadorWixInnovationPlaygroundV2MessageUniversalTypes from './innovation-playground-v2-message-assistant-training.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 queryMessages(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.QueryMessagesRequest,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.QueryMessagesRequest,\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.QueryMessagesResponse,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.QueryMessagesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixInnovationPlaygroundV2Message.queryMessages(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/messages/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 askQuestion(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.AskQuestionRequest,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.AskQuestionRequest,\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.AskQuestionResponse,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.AskQuestionResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixInnovationPlaygroundV2Message.askQuestion(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/messages/ask-question',\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 addFeedback(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.AddFeedbackRequest,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.AddFeedbackRequest,\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.AddFeedbackResponse,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.AddFeedbackResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixInnovationPlaygroundV2Message.addFeedback(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/messages/add-feedback',\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 bulkUpdateMessageTags(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.BulkUpdateMessageTagsRequest,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.BulkUpdateMessageTagsRequest,\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.BulkUpdateMessageTagsResponse,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.BulkUpdateMessageTagsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixInnovationPlaygroundV2Message.bulkUpdateMessageTags(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/messages/update-tags',\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 bulkUpdateMessageTagsByFilter(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.BulkUpdateMessageTagsByFilterRequest,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.BulkUpdateMessageTagsByFilterRequest,\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.BulkUpdateMessageTagsByFilterResponse,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.BulkUpdateMessageTagsByFilterResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixInnovationPlaygroundV2Message.bulkUpdateMessageTagsByFilter(\n      payload\n    );\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/messages/update-tags-by-filter',\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 updateExtendedFields(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.UpdateExtendedFieldsRequest,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.UpdateExtendedFieldsRequest,\n  ambassadorWixInnovationPlaygroundV2MessageUniversalTypes.UpdateExtendedFieldsResponse,\n  ambassadorWixInnovationPlaygroundV2MessageTypes.UpdateExtendedFieldsResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixInnovationPlaygroundV2Message.updateExtendedFields(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/messages/{id}/update-extended-fields',\n    pathParams: { id: 'id' },\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  Feedback as FeedbackOriginal,\n  Document as DocumentOriginal,\n  Category as CategoryOriginal,\n  CategoryWithLiterals as CategoryWithLiteralsOriginal,\n  Action as ActionOriginal,\n  ActionWithLiterals as ActionWithLiteralsOriginal,\n  ReferenceDocument as ReferenceDocumentOriginal,\n  FeedbackType as FeedbackTypeOriginal,\n  FeedbackTypeWithLiterals as FeedbackTypeWithLiteralsOriginal,\n  Body as BodyOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  Tags as TagsOriginal,\n  TagList as TagListOriginal,\n  QueryMessagesRequest as QueryMessagesRequestOriginal,\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  QueryMessagesResponse as QueryMessagesResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  AskQuestionRequest as AskQuestionRequestOriginal,\n  AskQuestionResponse as AskQuestionResponseOriginal,\n  AddFeedbackRequest as AddFeedbackRequestOriginal,\n  AddFeedbackResponse as AddFeedbackResponseOriginal,\n  BulkUpdateMessageTagsRequest as BulkUpdateMessageTagsRequestOriginal,\n  BulkUpdateMessageTagsResponse as BulkUpdateMessageTagsResponseOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkUpdateMessageTagsResult as BulkUpdateMessageTagsResultOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  BulkUpdateMessageTagsByFilterRequest as BulkUpdateMessageTagsByFilterRequestOriginal,\n  BulkUpdateMessageTagsByFilterResponse as BulkUpdateMessageTagsByFilterResponseOriginal,\n  UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal,\n  UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal,\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  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n} from './innovation-playground-v2-message-assistant-training.types.js';\n"],"mappings":";AAAA,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,qEACP,MACA;AACA,QAAM,mBAAmB,CAAC;AAE1B,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAuBd,SAAS,cAAc,SAA6C;AACzE,WAAS,gBAAgB,EAAE,KAAK,GAAQ;AACtC,UAAM,WAAW;AAAA,MACf,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR,WACE;AAAA,MACF,aAAa;AAAA,MACb,kBAAkB;AAAA,QAChB,wBAAwB;AAAA,MAC1B;AAAA,MACA,KAAK;AAAA,QACH,EAAE,WAAW,sBAAsB,MAA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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,wBAOd;AACA,QAAM,UAAU,EAAE,IAAI,MAAM;AAE5B,QAAM,oBACuC,qBAAqB,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,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","Sender","Category","Action","FeedbackType","SortOrder","WebhookIdentityType","queryMessages","askQuestion","addFeedback","bulkUpdateMessageTags","bulkUpdateMessageTagsByFilter","updateExtendedFields"]}