{"version":3,"sources":["../../src/comments-categories-v1-comments-widget-widgets.http.ts","../../src/comments-categories-v1-comments-widget-widgets.types.ts","../../src/comments-categories-v1-comments-widget-widgets.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixCommentsCategoriesV1CommentsWidgetRegistryUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    _: [\n      {\n        srcPath: '/_api/comments-widget-registry',\n        destPath: '/v1/comments/widgets',\n      },\n    ],\n    'dev._base_domain_': [\n      {\n        srcPath: '/_api/comments-widget-registry/v1/comments/widgets',\n        destPath: '/v1/comments/widgets',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/comments-widget-registry/v1/comments/widgets',\n        destPath: '/v1/comments/widgets',\n      },\n      {\n        srcPath: '/_api/comments/widgets/v1',\n        destPath: '/v1/comments/widgets',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/comments-widget-registry/v1/comments/widgets',\n        destPath: '/v1/comments/widgets',\n      },\n      {\n        srcPath: '/_api/comments/widgets/v1',\n        destPath: '/v1/comments/widgets',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/comments-widget-registry/v1/comments/widgets',\n        destPath: '/v1/comments/widgets',\n      },\n      {\n        srcPath: '/_api/comments/widgets/v1',\n        destPath: '/v1/comments/widgets',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/comments-widget-registry/v1/comments/widgets',\n        destPath: '/v1/comments/widgets',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/comments-widget-registry/v1/comments/widgets',\n        destPath: '/v1/comments/widgets',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/api/v1/comments/widgets',\n        destPath: '/v1/comments/widgets',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/comments-widget-registry',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_comments_widgets';\n\n/** Registers CommentsWidget. Whenever a widget is loaded for the first time or its resourceId changes, it saves the new resource information about the widget */\nexport function registerCommentsWidget(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __registerCommentsWidget({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.comments.categories.v1.comments_widget',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.comments.categories.v1.CommentsWidgetRegistry.RegisterCommentsWidget',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCommentsCategoriesV1CommentsWidgetRegistryUrl({\n        protoPath: '/v1/comments/widgets/register',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'commentsWidget.createdDate' },\n              { path: 'commentsWidget.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __registerCommentsWidget;\n}\n\n/** Returns all registered widget resource ids contained in metaSite */\nexport function queryCommentsWidgetResources(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryCommentsWidgetResources({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.comments.categories.v1.comments_widget',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.comments.categories.v1.CommentsWidgetRegistry.QueryCommentsWidgetResources',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCommentsCategoriesV1CommentsWidgetRegistryUrl({\n        protoPath: '/v1/comments/widgets/resources/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __queryCommentsWidgetResources;\n}\n\n/** Creates a new CommentsWidget */\nexport function createCommentsWidget(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __createCommentsWidget({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'commentsWidget.createdDate' },\n          { path: 'commentsWidget.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.comments.categories.v1.comments_widget',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.comments.categories.v1.CommentsWidgetRegistry.CreateCommentsWidget',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCommentsCategoriesV1CommentsWidgetRegistryUrl({\n        protoPath: '/v1/comments/widgets',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'commentsWidget.createdDate' },\n              { path: 'commentsWidget.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createCommentsWidget;\n}\n\n/** Get a CommentsWidget by id */\nexport function getCommentsWidget(payload: object): RequestOptionsFactory<any> {\n  function __getCommentsWidget({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.comments.categories.v1.comments_widget',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.comments.categories.v1.CommentsWidgetRegistry.GetCommentsWidget',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCommentsCategoriesV1CommentsWidgetRegistryUrl({\n        protoPath: '/v1/comments/widgets/{commentsWidgetId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'commentsWidget.createdDate' },\n              { path: 'commentsWidget.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getCommentsWidget;\n}\n\n/**\n * Update CommentsWidget, supports partial update\n * Pass the latest `revision` for a successful update\n */\nexport function updateCommentsWidget(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateCommentsWidget({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'mask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'commentsWidget.createdDate' },\n          { path: 'commentsWidget.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.comments.categories.v1.comments_widget',\n      method: 'PATCH' as any,\n      methodFqn:\n        'wix.comments.categories.v1.CommentsWidgetRegistry.UpdateCommentsWidget',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCommentsCategoriesV1CommentsWidgetRegistryUrl({\n        protoPath: '/v1/comments/widgets/{commentsWidget.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'commentsWidget.createdDate' },\n              { path: 'commentsWidget.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateCommentsWidget;\n}\n\n/** Delete a CommentsWidget */\nexport function deleteCommentsWidget(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __deleteCommentsWidget({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.comments.categories.v1.comments_widget',\n      method: 'DELETE' as any,\n      methodFqn:\n        'wix.comments.categories.v1.CommentsWidgetRegistry.DeleteCommentsWidget',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCommentsCategoriesV1CommentsWidgetRegistryUrl({\n        protoPath: '/v1/comments/widgets/{commentsWidgetId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteCommentsWidget;\n}\n\n/** Query CommentsWidgets using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) */\nexport function queryCommentsWidget(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryCommentsWidget({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.comments.categories.v1.comments_widget',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.comments.categories.v1.CommentsWidgetRegistry.QueryCommentsWidget',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCommentsCategoriesV1CommentsWidgetRegistryUrl({\n        protoPath: '/v1/comments/widgets/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'commentsWidgets.createdDate' },\n              { path: 'commentsWidgets.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryCommentsWidget;\n}\n","/** CommentsWidget is the main entity of CommentsWidgetRegistry that can be used for lorem ipsum dolor */\nexport interface CommentsWidget {\n  /**\n   * CommentsWidget ID\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Widget category ID\n   * @format GUID\n   */\n  categoryId?: string;\n  /**\n   * Widget resource ID\n   * @minLength 1\n   * @maxLength 128\n   */\n  resourceId?: string;\n  /** Path to widget location */\n  urlPath?: PageUrlV2;\n  /** Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision */\n  revision?: string | null;\n  /**\n   * Represents the time this CommentsResource was created\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Represents the time this CommentsResource was last updated\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Component ID of the widget to which the category is attached to\n   * @maxLength 300\n   */\n  componentId?: string | null;\n  /** Count indicating how many published comments exist in category and resource */\n  commentCount?: number | null;\n}\n\nexport interface PageUrlV2 {\n  /** The relative path for the page within the site. For example, `/product-page/a-product`. */\n  relativePath?: string;\n  /** The page's full URL. For example, `https://mysite.com/product-page/a-product`. */\n  url?: string | null;\n}\n\nexport interface RegisterCommentsWidgetRequest {\n  /**\n   * Widget category ID\n   * @format GUID\n   */\n  categoryId: string;\n  /**\n   * Widget resource ID\n   * @minLength 1\n   * @maxLength 128\n   */\n  resourceId: string;\n  /**\n   * Deprecated field\n   * @minLength 1\n   * @maxLength 128\n   */\n  componentId?: string;\n  /**\n   * Dynamic page tittle, if the widget is inside a dynamic page\n   * @maxLength 300\n   */\n  dynamicPageTitle?: string | null;\n  /**\n   * PageId of the page, which contains the widget\n   * @minLength 1\n   * @maxLength 300\n   */\n  pageId?: string | null;\n  /**\n   * Page Url, provided by the client\n   * @maxLength 500\n   */\n  urlPath?: string | null;\n}\n\nexport interface RegisterCommentsWidgetResponse {\n  /** The registered CommentsWidget */\n  commentsWidget?: CommentsWidget;\n}\n\nexport interface QueryCommentsWidgetResourcesRequest {\n  /** Cursor query */\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 [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object.\n   *\n   * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\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 QueryCommentsWidgetResourcesResponse {\n  /**\n   * List of resources\n   * @minLength 1\n   * @maxLength 128\n   * @maxSize 100\n   */\n  resourceIds?: string[];\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 CreateCommentsWidgetRequest {\n  /** CommentsWidget to be created */\n  commentsWidget: CommentsWidget;\n}\n\nexport interface CreateCommentsWidgetResponse {\n  /** The created CommentsWidget */\n  commentsWidget?: CommentsWidget;\n}\n\nexport interface GetCommentsWidgetRequest {\n  /**\n   * Id of the CommentsWidget to retrieve\n   * @format GUID\n   */\n  commentsWidgetId: string;\n}\n\nexport interface GetCommentsWidgetResponse {\n  /** The retrieved CommentsWidget */\n  commentsWidget?: CommentsWidget;\n}\n\nexport interface UpdateCommentsWidgetRequest {\n  /** CommentsWidget to be updated, may be partial */\n  commentsWidget: CommentsWidget;\n}\n\nexport interface UpdateCommentsWidgetResponse {\n  /** The updated CommentsWidget */\n  commentsWidget?: CommentsWidget;\n}\n\nexport interface DeleteCommentsWidgetRequest {\n  /**\n   * Id of the CommentsWidget to delete\n   * @format GUID\n   */\n  commentsWidgetId: string;\n  /** The revision of the CommentsWidget */\n  revision?: string;\n}\n\nexport interface DeleteCommentsWidgetResponse {}\n\nexport interface QueryCommentsWidgetRequest {\n  /** WQL expression */\n  query: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n  /** Paging options to limit and offset the number of items. */\n  paging?: Paging;\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object.\n   *\n   * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object.\n   *\n   * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n   */\n  sort?: Sorting[];\n  /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n  fields?: string[];\n  /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n  fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n  /** Paging options to limit and offset the number of items. */\n  paging?: Paging;\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 Paging {\n  /** Number of items to load. */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\n\nexport interface QueryCommentsWidgetResponse {\n  /** The retrieved CommentsWidgets */\n  commentsWidgets?: CommentsWidget[];\n  /** Paging metadata */\n  metadata?: 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 DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface 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 ambassadorWixCommentsCategoriesV1CommentsWidget from './comments-categories-v1-comments-widget-widgets.http.js';\nimport * as ambassadorWixCommentsCategoriesV1CommentsWidgetTypes from './comments-categories-v1-comments-widget-widgets.types.js';\nimport * as ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes from './comments-categories-v1-comments-widget-widgets.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 registerCommentsWidget(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.RegisterCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.RegisterCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.RegisterCommentsWidgetResponse,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.RegisterCommentsWidgetResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixCommentsCategoriesV1CommentsWidget.registerCommentsWidget(\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: '/v1/comments/widgets/register',\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 queryCommentsWidgetResources(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.QueryCommentsWidgetResourcesRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.QueryCommentsWidgetResourcesRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.QueryCommentsWidgetResourcesResponse,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.QueryCommentsWidgetResourcesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixCommentsCategoriesV1CommentsWidget.queryCommentsWidgetResources(\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: '/v1/comments/widgets/resources/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 createCommentsWidget(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.CreateCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.CreateCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.CreateCommentsWidgetResponse,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.CreateCommentsWidgetResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixCommentsCategoriesV1CommentsWidget.createCommentsWidget(\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: '/v1/comments/widgets',\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 getCommentsWidget(): __PublicMethodMetaInfo<\n  'GET',\n  { commentsWidgetId: string },\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.GetCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.GetCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.GetCommentsWidgetResponse,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.GetCommentsWidgetResponse\n> {\n  const payload = { commentsWidgetId: ':commentsWidgetId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixCommentsCategoriesV1CommentsWidget.getCommentsWidget(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/comments/widgets/{commentsWidgetId}',\n    pathParams: { commentsWidgetId: 'commentsWidgetId' },\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 updateCommentsWidget(): __PublicMethodMetaInfo<\n  'PATCH',\n  { commentsWidgetId: string },\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.UpdateCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.UpdateCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.UpdateCommentsWidgetResponse,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.UpdateCommentsWidgetResponse\n> {\n  const payload = { commentsWidget: { id: ':commentsWidgetId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixCommentsCategoriesV1CommentsWidget.updateCommentsWidget(\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: 'PATCH',\n    path: '/v1/comments/widgets/{commentsWidget.id}',\n    pathParams: { commentsWidgetId: 'commentsWidgetId' },\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 deleteCommentsWidget(): __PublicMethodMetaInfo<\n  'DELETE',\n  { commentsWidgetId: string },\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.DeleteCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.DeleteCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.DeleteCommentsWidgetResponse,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.DeleteCommentsWidgetResponse\n> {\n  const payload = { commentsWidgetId: ':commentsWidgetId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixCommentsCategoriesV1CommentsWidget.deleteCommentsWidget(\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: 'DELETE',\n    path: '/v1/comments/widgets/{commentsWidgetId}',\n    pathParams: { commentsWidgetId: 'commentsWidgetId' },\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 queryCommentsWidget(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.QueryCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.QueryCommentsWidgetRequest,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetUniversalTypes.QueryCommentsWidgetResponse,\n  ambassadorWixCommentsCategoriesV1CommentsWidgetTypes.QueryCommentsWidgetResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixCommentsCategoriesV1CommentsWidget.queryCommentsWidget(\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: '/v1/comments/widgets/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 {\n  CommentsWidget as CommentsWidgetOriginal,\n  PageUrlV2 as PageUrlV2Original,\n  RegisterCommentsWidgetRequest as RegisterCommentsWidgetRequestOriginal,\n  RegisterCommentsWidgetResponse as RegisterCommentsWidgetResponseOriginal,\n  QueryCommentsWidgetResourcesRequest as QueryCommentsWidgetResourcesRequestOriginal,\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  QueryCommentsWidgetResourcesResponse as QueryCommentsWidgetResourcesResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  CreateCommentsWidgetRequest as CreateCommentsWidgetRequestOriginal,\n  CreateCommentsWidgetResponse as CreateCommentsWidgetResponseOriginal,\n  GetCommentsWidgetRequest as GetCommentsWidgetRequestOriginal,\n  GetCommentsWidgetResponse as GetCommentsWidgetResponseOriginal,\n  UpdateCommentsWidgetRequest as UpdateCommentsWidgetRequestOriginal,\n  UpdateCommentsWidgetResponse as UpdateCommentsWidgetResponseOriginal,\n  DeleteCommentsWidgetRequest as DeleteCommentsWidgetRequestOriginal,\n  DeleteCommentsWidgetResponse as DeleteCommentsWidgetResponseOriginal,\n  QueryCommentsWidgetRequest as QueryCommentsWidgetRequestOriginal,\n  QueryV2 as QueryV2Original,\n  QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n  Paging as PagingOriginal,\n  QueryCommentsWidgetResponse as QueryCommentsWidgetResponseOriginal,\n  PagingMetadataV2 as PagingMetadataV2Original,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  Empty as EmptyOriginal,\n  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 './comments-categories-v1-comments-widget-widgets.types.js';\n"],"mappings":";AAAA,SAAS,yBA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;AACF;AAEO,SAASC,wBAOd;AACA,QAAM,UAAU,EAAE,kBAAkB,oBAAoB;AAExD,QAAM,oBAC4C;AAAA,IAC9C;AAAA,EACF;AAEF,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,kBAAkB,mBAAmB;AAAA,IACnD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,uBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC4C;AAAA,IAC9C;AAAA,EACF;AAEF,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","SortOrder","WebhookIdentityType","registerCommentsWidget","queryCommentsWidgetResources","createCommentsWidget","getCommentsWidget","updateCommentsWidget","deleteCommentsWidget","queryCommentsWidget"]}