{"version":3,"sources":["../../src/portfolio-collections-v1-collection-collections.http.ts","../../src/portfolio-collections-v1-collection-collections.types.ts","../../src/portfolio-collections-v1-collection-collections.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { 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 { 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 resolveComWixpressPortfolioCollectionsCollectionsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/collections-service',\n        destPath: '/api',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/collections-service',\n        destPath: '/api',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/collections-service',\n        destPath: '/api',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/collections-service',\n        destPath: '/api',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/collections-service',\n        destPath: '/api',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/collections-service',\n        destPath: '/api',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/collections-service',\n        destPath: '/api',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/portfolio/v1/collections',\n        destPath: '/api/v1/portfolio/collections',\n      },\n      {\n        srcPath: '/portfolio/collections/api/v1/portfolio/collections',\n        destPath: '/api/v1/portfolio/collections',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/collections-service',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_portfolio_collections';\n\n/** Creates a collection. */\nexport function createCollection(payload: object): RequestOptionsFactory<any> {\n  function __createCollection({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'collection.sortOrder' },\n          { path: 'collection.coverImage.focalPoint.x' },\n          { path: 'collection.coverImage.focalPoint.y' },\n          { path: 'collection.coverImage.unsharpMasking.amount' },\n          { path: 'collection.coverImage.unsharpMasking.radius' },\n          { path: 'collection.coverImage.unsharpMasking.threshold' },\n        ],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'collection.createdDate' },\n          { path: 'collection.updatedDate' },\n          { path: 'collection.coverImage.imageInfo.urlExpirationDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.portfolio.collections.v1.collection',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.portfolio.collections.CollectionsService.CreateCollection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressPortfolioCollectionsCollectionsServiceUrl({\n        protoPath: '/api/v1/portfolio/collections',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'collection.sortOrder' },\n              { path: 'collection.coverImage.focalPoint.x' },\n              { path: 'collection.coverImage.focalPoint.y' },\n              { path: 'collection.coverImage.unsharpMasking.amount' },\n              { path: 'collection.coverImage.unsharpMasking.radius' },\n              { path: 'collection.coverImage.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'collection.createdDate' },\n              { path: 'collection.updatedDate' },\n              { path: 'collection.coverImage.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createCollection;\n}\n\n/** Retrieves a collection. */\nexport function getCollection(payload: object): RequestOptionsFactory<any> {\n  function __getCollection({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.portfolio.collections.v1.collection',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.portfolio.collections.CollectionsService.GetCollection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressPortfolioCollectionsCollectionsServiceUrl({\n        protoPath: '/api/v1/portfolio/collections/{collectionId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'collection.sortOrder' },\n              { path: 'collection.coverImage.focalPoint.x' },\n              { path: 'collection.coverImage.focalPoint.y' },\n              { path: 'collection.coverImage.unsharpMasking.amount' },\n              { path: 'collection.coverImage.unsharpMasking.radius' },\n              { path: 'collection.coverImage.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'collection.createdDate' },\n              { path: 'collection.updatedDate' },\n              { path: 'collection.coverImage.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getCollection;\n}\n\n/** Retrieves a list all collections in a portfolio. */\nexport function listCollections(payload: object): RequestOptionsFactory<any> {\n  function __listCollections({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.portfolio.collections.v1.collection',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.portfolio.collections.CollectionsService.ListCollections',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressPortfolioCollectionsCollectionsServiceUrl({\n        protoPath: '/api/v1/portfolio/collections',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'collections.sortOrder' },\n              { path: 'collections.coverImage.focalPoint.x' },\n              { path: 'collections.coverImage.focalPoint.y' },\n              { path: 'collections.coverImage.unsharpMasking.amount' },\n              { path: 'collections.coverImage.unsharpMasking.radius' },\n              { path: 'collections.coverImage.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'collections.createdDate' },\n              { path: 'collections.updatedDate' },\n              { path: 'collections.coverImage.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listCollections;\n}\n\n/** Updates a collection. */\nexport function updateCollection(payload: object): RequestOptionsFactory<any> {\n  function __updateCollection({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'mask' }],\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'collection.sortOrder' },\n          { path: 'collection.coverImage.focalPoint.x' },\n          { path: 'collection.coverImage.focalPoint.y' },\n          { path: 'collection.coverImage.unsharpMasking.amount' },\n          { path: 'collection.coverImage.unsharpMasking.radius' },\n          { path: 'collection.coverImage.unsharpMasking.threshold' },\n        ],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'collection.createdDate' },\n          { path: 'collection.updatedDate' },\n          { path: 'collection.coverImage.imageInfo.urlExpirationDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.portfolio.collections.v1.collection',\n      method: 'PATCH' as any,\n      methodFqn:\n        'com.wixpress.portfolio.collections.CollectionsService.UpdateCollection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressPortfolioCollectionsCollectionsServiceUrl({\n        protoPath: '/api/v1/portfolio/collections/{collection.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'collection.sortOrder' },\n              { path: 'collection.coverImage.focalPoint.x' },\n              { path: 'collection.coverImage.focalPoint.y' },\n              { path: 'collection.coverImage.unsharpMasking.amount' },\n              { path: 'collection.coverImage.unsharpMasking.radius' },\n              { path: 'collection.coverImage.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'collection.createdDate' },\n              { path: 'collection.updatedDate' },\n              { path: 'collection.coverImage.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateCollection;\n}\n\n/** Deletes a collection. */\nexport function deleteCollection(payload: object): RequestOptionsFactory<any> {\n  function __deleteCollection({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.portfolio.collections.v1.collection',\n      method: 'DELETE' as any,\n      methodFqn:\n        'com.wixpress.portfolio.collections.CollectionsService.DeleteCollection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressPortfolioCollectionsCollectionsServiceUrl({\n        protoPath: '/api/v1/portfolio/collections/{collectionId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteCollection;\n}\n\n/**\n * Creates a query to retrieve a list of collections.\n *\n * The `queryCollections()` method builds a query to retrieve a list of collections and returns a `CollectionsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/collections/collections-query-builder/find) method.\n *\n * You can refine the query by chaining `CollectionsQueryBuilder` methods onto the query. `CollectionsQueryBuilder` methods enable you to filter, sort, and control the results that `queryCollections()` returns.\n *\n * `queryCollections()`  runs with the following `CollectionsQueryBuilder` defaults which you can override:\n *\n * + [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/collections/collections-query-builder/limit)\n * + [`ascending('_id')`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/collections/collections-query-builder/ascending)\n *\n * The following `CollectionsQueryBuilder` methods are supported for `queryCollections()`. For a full description of the operations object, see the object returned for the [`items`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/collections/collections-query-result/items) property in `CollectionsQueryResult`.\n */\nexport function queryCollections(payload: object): RequestOptionsFactory<any> {\n  function __queryCollections({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.portfolio.collections.v1.collection',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.portfolio.collections.CollectionsService.QueryCollections',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressPortfolioCollectionsCollectionsServiceUrl({\n        protoPath: '/api/v1/portfolio/collections/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'collections.sortOrder' },\n              { path: 'collections.coverImage.focalPoint.x' },\n              { path: 'collections.coverImage.focalPoint.y' },\n              { path: 'collections.coverImage.unsharpMasking.amount' },\n              { path: 'collections.coverImage.unsharpMasking.radius' },\n              { path: 'collections.coverImage.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'collections.createdDate' },\n              { path: 'collections.updatedDate' },\n              { path: 'collections.coverImage.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryCollections;\n}\n","export interface Collection {\n  /**\n   * Collection ID.\n   * @readonly\n   * @format GUID\n   */\n  id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the collection is updated. To prevent conflicting changes, the existing revision must be passed when updating the collection object.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Collection title.\n   * @maxLength 100\n   */\n  title?: string | null;\n  /** Collection description. */\n  description?: string | null;\n  /** Collection slug. */\n  slug?: string | null;\n  /** Collection cover image. */\n  coverImage?: Image;\n  /** Whether the collection is hidden from the portfolio. Default: `false` */\n  hidden?: boolean | null;\n  /**\n   * Index that determines which position a collection is displayed in the portfolio. <br />\n   *\n   * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />\n   */\n  sortOrder?: number | null;\n  /**\n   * Date and time the collection was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the collection was updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Collection page URL and relative path. Returned when `includePageUrl` is `true` in the request.\n   * @readonly\n   */\n  url?: PageUrlV2;\n  /** Collection SEO data. */\n  seoData?: SeoSchema;\n}\n\nexport interface Image {\n  /** Information about the Wix Media image. */\n  imageInfo?: CommonImage;\n  /** Focal point of the image. */\n  focalPoint?: Point;\n}\n\nexport enum ImageType {\n  UNDEFINED = 'UNDEFINED',\n  WIX_MEDIA = 'WIX_MEDIA',\n  EXTERNAL = 'EXTERNAL',\n}\n\n/** @enumType */\nexport type ImageTypeWithLiterals =\n  | ImageType\n  | 'UNDEFINED'\n  | 'WIX_MEDIA'\n  | 'EXTERNAL';\n\nexport interface CommonImage {\n  /**\n   * WixMedia image ID. Required.\n   * @maxLength 512\n   */\n  id?: string;\n  /**\n   * Image URL.\n   * @readonly\n   * @maxLength 8000\n   */\n  url?: string;\n  /** Original image height. Required. */\n  height?: number;\n  /** Original image width. Required. */\n  width?: number;\n  /**\n   * Image alt text.\n   * @maxLength 5000\n   */\n  altText?: string | null;\n  /**\n   * Image filename.\n   * @maxLength 512\n   */\n  filename?: string | null;\n}\n\nexport interface Point {\n  /** X-coordinate of the focal point. */\n  x?: number;\n  /** Y-coordinate of the focal point. */\n  y?: number;\n}\n\nexport interface UnsharpMasking {\n  /**\n   * Unsharp masking amount. Controls the sharpening strength. <br />\n   *\n   * Min: `0` <br />\n   * Max: `5`\n   * @max 5\n   */\n  amount?: number | null;\n  /** Unsharp masking radius in pixels. Controls the sharpening width. */\n  radius?: number | null;\n  /**\n   * Unsharp masking threshold. Controls how different neighboring pixels must be for shapening to apply. <br />\n   *\n   * Min: `0` <br />\n   * Max: `1`\n   * @max 1\n   */\n  threshold?: 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\n/**\n * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n  /** SEO tag information. */\n  tags?: Tag[];\n  /** SEO general settings. */\n  settings?: Settings;\n}\n\nexport interface Keyword {\n  /** Keyword value. */\n  term?: string;\n  /** Whether the keyword is the main focus keyword. */\n  isMain?: boolean;\n  /**\n   * The source that added the keyword terms to the SEO settings.\n   * @maxLength 1000\n   */\n  origin?: string | null;\n}\n\nexport interface Tag {\n  /**\n   * SEO tag type.\n   *\n   *\n   * Supported values: `title`, `meta`, `script`, `link`.\n   */\n  type?: string;\n  /**\n   * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n   * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n   */\n  props?: Record<string, any> | null;\n  /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n  meta?: Record<string, any> | null;\n  /** SEO tag inner content. For example, `<title> inner content </title>`. */\n  children?: string;\n  /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */\n  custom?: boolean;\n  /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n  disabled?: boolean;\n}\n\nexport interface Settings {\n  /**\n   * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n   *\n   *\n   * Default: `false` (automatical redirect is enabled).\n   */\n  preventAutoRedirect?: boolean;\n  /**\n   * User-selected keyword terms for a specific page.\n   * @maxSize 5\n   */\n  keywords?: Keyword[];\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 AdminRemoveMenuItemsResponse {\n  /** number of items queried for deletion */\n  numItems?: number;\n  /** number of items sucessfully deleted */\n  numItemsSuccessfullyDeleted?: number;\n}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n  /**\n   * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  siteId?: string;\n  /** Invalidate by App */\n  app?: App;\n  /** Invalidate by page id */\n  page?: Page;\n  /** Invalidate by URI path */\n  uri?: URI;\n  /** Invalidate by file (for media files such as PDFs) */\n  file?: File;\n  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n  customTag?: CustomTag;\n  /** Invalidate by multiple page ids */\n  pages?: Pages;\n  /** Invalidate by multiple URI paths */\n  uris?: URIs;\n  /**\n   * tell us why you're invalidating the cache. You don't need to add your app name\n   * @maxLength 256\n   */\n  reason?: string | null;\n  /** Is local DS */\n  localDc?: boolean;\n  hardPurge?: boolean;\n  /**\n   * Optional caller-provided ID for tracking this invalidation through the system.\n   * When set, the corresponding CDN purge completion event will include this ID,\n   * allowing you to confirm when the invalidation has fully propagated.\n   * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.\n   * @maxLength 256\n   */\n  correlationId?: string | null;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n  /**\n   * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  siteId?: string;\n  /** Invalidate by App */\n  app?: App;\n  /** Invalidate by page id */\n  page?: Page;\n  /** Invalidate by URI path */\n  uri?: URI;\n  /** Invalidate by file (for media files such as PDFs) */\n  file?: File;\n  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n  customTag?: CustomTag;\n  /** Invalidate by multiple page ids */\n  pages?: Pages;\n  /** Invalidate by multiple URI paths */\n  uris?: URIs;\n}\n\nexport interface App {\n  /**\n   * The AppDefId\n   * @minLength 1\n   */\n  appDefId?: string;\n  /**\n   * The instance Id\n   * @format GUID\n   */\n  instanceId?: string;\n}\n\nexport interface Page {\n  /**\n   * the msid the page is on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Page ID\n   * @minLength 1\n   */\n  pageId?: string;\n}\n\nexport interface URI {\n  /**\n   * the msid the URI is on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n   * @minLength 1\n   */\n  uriPath?: string;\n}\n\nexport interface File {\n  /**\n   * the msid the file is related to\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by filename (for media files such as PDFs)\n   * @minLength 1\n   * @maxLength 256\n   */\n  fileName?: string;\n}\n\nexport interface CustomTag {\n  /**\n   * the msid the tag is related to\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Tag to invalidate by\n   * @minLength 1\n   * @maxLength 256\n   */\n  tag?: string;\n}\n\nexport interface Pages {\n  /**\n   * the msid the pages are on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by multiple Page IDs in a single message\n   * @maxSize 100\n   * @minLength 1\n   */\n  pageIds?: string[];\n}\n\nexport interface URIs {\n  /**\n   * the msid the URIs are on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes\n   * @maxSize 100\n   * @minLength 1\n   */\n  uriPaths?: string[];\n}\n\nexport interface CreateCollectionRequest {\n  /** Collection to create. */\n  collection: Collection;\n}\n\nexport interface CreateCollectionResponse {\n  /** Created collection. */\n  collection?: Collection;\n}\n\nexport interface GetCollectionRequest {\n  /**\n   * ID of the collection to retrieve.\n   * @format GUID\n   */\n  collectionId: string;\n  /** Whether to include the collection's page URL and relative path in the response. Default: `false` */\n  includePageUrl?: boolean | null;\n}\n\nexport interface GetCollectionResponse {\n  /** The requested collection. */\n  collection?: Collection;\n}\n\nexport interface ListCollectionsRequest {\n  paging?: CursorPaging;\n  /** Whether to include the collection's page URL and relative path in the response. Default: `false` */\n  includePageUrl?: boolean | null;\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 ListCollectionsResponse {\n  /** List of collections. */\n  collections?: Collection[];\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 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 UpdateCollectionRequest {\n  /** Collection to update. */\n  collection: Collection;\n}\n\nexport interface UpdateCollectionResponse {\n  /** Updated collection. */\n  collection?: Collection;\n}\n\nexport interface DeleteCollectionRequest {\n  /**\n   * ID of the collection to delete.\n   * @format GUID\n   */\n  collectionId: string;\n}\n\nexport interface DeleteCollectionResponse {\n  /**\n   * ID of the deleted collection.\n   * @format GUID\n   */\n  collectionId?: string;\n}\n\nexport interface QueryCollectionsRequest {\n  /** Query options. */\n  query: QueryV2;\n  /** Whether to include the collection's page URL and relative path in the response. Default: `false` */\n  includePageUrl?: boolean | null;\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 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 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 QueryCollectionsResponse {\n  /** List of collections. */\n  collections?: Collection[];\n  /** Paging metadata. */\n  metadata?: PagingMetadataV2;\n}\n","import * as ambassadorWixPortfolioCollectionsV1Collection from './portfolio-collections-v1-collection-collections.http.js';\nimport * as ambassadorWixPortfolioCollectionsV1CollectionTypes from './portfolio-collections-v1-collection-collections.types.js';\nimport * as ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes from './portfolio-collections-v1-collection-collections.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 createCollection(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.CreateCollectionRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.CreateCollectionRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.CreateCollectionResponse,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.CreateCollectionResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixPortfolioCollectionsV1Collection.createCollection(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: '/api/v1/portfolio/collections',\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 getCollection(): __PublicMethodMetaInfo<\n  'GET',\n  { collectionId: string },\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.GetCollectionRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.GetCollectionRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.GetCollectionResponse,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.GetCollectionResponse\n> {\n  const payload = { collectionId: ':collectionId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixPortfolioCollectionsV1Collection.getCollection(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: '/api/v1/portfolio/collections/{collectionId}',\n    pathParams: { collectionId: 'collectionId' },\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 listCollections(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.ListCollectionsRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.ListCollectionsRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.ListCollectionsResponse,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.ListCollectionsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixPortfolioCollectionsV1Collection.listCollections(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: '/api/v1/portfolio/collections',\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 updateCollection(): __PublicMethodMetaInfo<\n  'PATCH',\n  { collectionId: string },\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.UpdateCollectionRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.UpdateCollectionRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.UpdateCollectionResponse,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.UpdateCollectionResponse\n> {\n  const payload = { collection: { id: ':collectionId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixPortfolioCollectionsV1Collection.updateCollection(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/api/v1/portfolio/collections/{collection.id}',\n    pathParams: { collectionId: 'collectionId' },\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 deleteCollection(): __PublicMethodMetaInfo<\n  'DELETE',\n  { collectionId: string },\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.DeleteCollectionRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.DeleteCollectionRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.DeleteCollectionResponse,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.DeleteCollectionResponse\n> {\n  const payload = { collectionId: ':collectionId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixPortfolioCollectionsV1Collection.deleteCollection(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/api/v1/portfolio/collections/{collectionId}',\n    pathParams: { collectionId: 'collectionId' },\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 queryCollections(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.QueryCollectionsRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.QueryCollectionsRequest,\n  ambassadorWixPortfolioCollectionsV1CollectionUniversalTypes.QueryCollectionsResponse,\n  ambassadorWixPortfolioCollectionsV1CollectionTypes.QueryCollectionsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixPortfolioCollectionsV1Collection.queryCollections(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: '/api/v1/portfolio/collections/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  Collection as CollectionOriginal,\n  Image as ImageOriginal,\n  ImageType as ImageTypeOriginal,\n  ImageTypeWithLiterals as ImageTypeWithLiteralsOriginal,\n  CommonImage as CommonImageOriginal,\n  Point as PointOriginal,\n  UnsharpMasking as UnsharpMaskingOriginal,\n  PageUrlV2 as PageUrlV2Original,\n  SeoSchema as SeoSchemaOriginal,\n  Keyword as KeywordOriginal,\n  Tag as TagOriginal,\n  Settings as SettingsOriginal,\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  AdminRemoveMenuItemsResponse as AdminRemoveMenuItemsResponseOriginal,\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  InvalidateCache as InvalidateCacheOriginal,\n  InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n  App as AppOriginal,\n  Page as PageOriginal,\n  URI as URIOriginal,\n  File as FileOriginal,\n  CustomTag as CustomTagOriginal,\n  Pages as PagesOriginal,\n  URIs as URIsOriginal,\n  CreateCollectionRequest as CreateCollectionRequestOriginal,\n  CreateCollectionResponse as CreateCollectionResponseOriginal,\n  GetCollectionRequest as GetCollectionRequestOriginal,\n  GetCollectionResponse as GetCollectionResponseOriginal,\n  ListCollectionsRequest as ListCollectionsRequestOriginal,\n  CursorPaging as CursorPagingOriginal,\n  ListCollectionsResponse as ListCollectionsResponseOriginal,\n  PagingMetadataV2 as PagingMetadataV2Original,\n  Cursors as CursorsOriginal,\n  UpdateCollectionRequest as UpdateCollectionRequestOriginal,\n  UpdateCollectionResponse as UpdateCollectionResponseOriginal,\n  DeleteCollectionRequest as DeleteCollectionRequestOriginal,\n  DeleteCollectionResponse as DeleteCollectionResponseOriginal,\n  QueryCollectionsRequest as QueryCollectionsRequestOriginal,\n  QueryV2 as QueryV2Original,\n  QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  Paging as PagingOriginal,\n  QueryCollectionsResponse as QueryCollectionsResponseOriginal,\n} from './portfolio-collections-v1-collection-collections.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,4DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,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,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAA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M,oBAC0C,iBAAiB,OAAO;AAExE,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,cAAc,eAAe;AAAA,IAC3C,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,oBAOd;AACA,QAAM,UAAU,EAAE,cAAc,gBAAgB;AAEhD,QAAM,oBAC0C,iBAAiB,OAAO;AAExE,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,cAAc,eAAe;AAAA,IAC3C,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,oBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC0C,iBAAiB,OAAO;AAExE,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","ImageType","WebhookIdentityType","SortOrder","createCollection","getCollection","listCollections","updateCollection","deleteCollection","queryCollections"]}