{"version":3,"sources":["../../src/media-enterprise-public-media-v1-enterprise-item-enterprise-media-items.http.ts","../../src/media-enterprise-public-media-v1-enterprise-item-enterprise-media-items.types.ts","../../src/media-enterprise-public-media-v1-enterprise-item-enterprise-media-items.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 resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/enterprise-public-media-server',\n        destPath: '',\n      },\n    ],\n    'bo._base_domain_': [\n      {\n        srcPath: '/_api/enterprise-public-media-server',\n        destPath: '',\n      },\n    ],\n    'wixbo.ai': [\n      {\n        srcPath: '/_api/enterprise-public-media-server',\n        destPath: '',\n      },\n    ],\n    'wix-bo.com': [\n      {\n        srcPath: '/_api/enterprise-public-media-server',\n        destPath: '',\n      },\n    ],\n    'apps._base_domain_': [\n      {\n        srcPath: '/_api/enterprise-public-media-server',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/enterprise-public-media-server',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/enterprise-public-media-server',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/enterprise-public-media-server',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_media_enterprise-media-items';\n\n/** Internal endpoint called by the public media backend when a file is created. Creates domain events for the Enterprise Public Media system. */\nexport function itemUploadCallback(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __itemUploadCallback({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.ItemUploadCallback',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/enterprise/items/upload/callback',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __itemUploadCallback;\n}\n\n/** Generates an upload URL for uploading local files to the Enterprise Public Media system. After uploading the file to the returned URL, the system processes it asynchronously. The item becomes available once processing completes. */\nexport function generateFileUploadUrl(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __generateFileUploadUrl({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.GenerateFileUploadUrl',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/enterprise/items/upload/generate-url',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __generateFileUploadUrl;\n}\n\n/**\n * Imports a file from a URL into the Enterprise Public Media system.\n *\n * To import a single file from your local machine, call [Generate File Upload Url](#generatefileuploadurl).\n */\nexport function importFile(payload: object): RequestOptionsFactory<any> {\n  function __importFile({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.ImportFile',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/enterprise/items/upload/import',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.assets.image.urlExpirationDate' },\n              { path: 'item.assets.video.urlExpirationDate' },\n              { path: 'item.assets.video.resolutions.urlExpirationDate' },\n              {\n                path: 'item.assets.video.resolutions.poster.urlExpirationDate',\n              },\n              { path: 'item.assets.video.posters.urlExpirationDate' },\n              { path: 'item.assets.vector.urlExpirationDate' },\n              { path: 'item.assets.audio.urlExpirationDate' },\n              { path: 'item.assets.document.urlExpirationDate' },\n              { path: 'item.assets.archive.urlExpirationDate' },\n              { path: 'item.assets.model3d.urlExpirationDate' },\n              { path: 'item.assets.model3d.thumbnail.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __importFile;\n}\n\n/**\n * Imports multiple files from URLs in a single API call. Check the `itemMetadata` in each result to identify successes and failures, and use `bulkActionMetadata` for an overview of total succeeded and failed operations.\n *\n * To import a single file from a URL, call [Import File](#importfile).\n */\nexport function bulkImportFiles(payload: object): RequestOptionsFactory<any> {\n  function __bulkImportFiles({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.BulkImportFiles',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/bulk/files/import',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n              { path: 'results.item.assets.image.urlExpirationDate' },\n              { path: 'results.item.assets.video.urlExpirationDate' },\n              {\n                path: 'results.item.assets.video.resolutions.urlExpirationDate',\n              },\n              {\n                path: 'results.item.assets.video.resolutions.poster.urlExpirationDate',\n              },\n              { path: 'results.item.assets.video.posters.urlExpirationDate' },\n              { path: 'results.item.assets.vector.urlExpirationDate' },\n              { path: 'results.item.assets.audio.urlExpirationDate' },\n              { path: 'results.item.assets.document.urlExpirationDate' },\n              { path: 'results.item.assets.archive.urlExpirationDate' },\n              { path: 'results.item.assets.model3d.urlExpirationDate' },\n              {\n                path: 'results.item.assets.model3d.thumbnail.urlExpirationDate',\n              },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkImportFiles;\n}\n\n/**\n * Searches for items using text-based search criteria.\n *\n * Search Items runs with these defaults, which you can override:\n *\n * - `paging.limit` is `50`\n * - `paging.offset` is `0`\n *\n * All filters support equality only. Each search must include a `categoryId` filter. Use this endpoint when you need to search for items by text. For retrieving items with custom sorting, use [Query Items](#queryitems).\n *\n * To learn about working with search methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n */\nexport function searchItems(payload: object): RequestOptionsFactory<any> {\n  function __searchItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.SearchItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/enterprise/items/search',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'items.createdDate' },\n              { path: 'items.updatedDate' },\n              { path: 'items.assets.image.urlExpirationDate' },\n              { path: 'items.assets.video.urlExpirationDate' },\n              { path: 'items.assets.video.resolutions.urlExpirationDate' },\n              {\n                path: 'items.assets.video.resolutions.poster.urlExpirationDate',\n              },\n              { path: 'items.assets.video.posters.urlExpirationDate' },\n              { path: 'items.assets.vector.urlExpirationDate' },\n              { path: 'items.assets.audio.urlExpirationDate' },\n              { path: 'items.assets.document.urlExpirationDate' },\n              { path: 'items.assets.archive.urlExpirationDate' },\n              { path: 'items.assets.model3d.urlExpirationDate' },\n              { path: 'items.assets.model3d.thumbnail.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __searchItems;\n}\n\n/**\n * Retrieves a list of up to 200 items, given the provided paging, filtering, and sorting.\n *\n * Query Items runs with these defaults, which you can override:\n *\n * - Sorted by curation order\n * - `paging.limit` is `50`\n * - `paging.offset` is `0`\n *\n * Each query must include a `categoryId` filter. For text-based search, use [Search Items](#searchitems).\n *\n * To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).\n */\nexport function queryItems(payload: object): RequestOptionsFactory<any> {\n  function __queryItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.QueryItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/enterprise/items/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: 'items.createdDate' },\n              { path: 'items.updatedDate' },\n              { path: 'items.assets.image.urlExpirationDate' },\n              { path: 'items.assets.video.urlExpirationDate' },\n              { path: 'items.assets.video.resolutions.urlExpirationDate' },\n              {\n                path: 'items.assets.video.resolutions.poster.urlExpirationDate',\n              },\n              { path: 'items.assets.video.posters.urlExpirationDate' },\n              { path: 'items.assets.vector.urlExpirationDate' },\n              { path: 'items.assets.audio.urlExpirationDate' },\n              { path: 'items.assets.document.urlExpirationDate' },\n              { path: 'items.assets.archive.urlExpirationDate' },\n              { path: 'items.assets.model3d.urlExpirationDate' },\n              { path: 'items.assets.model3d.thumbnail.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryItems;\n}\n\n/**\n * Updates an item.\n * To update multiple items in a single API call, call [Bulk Update Item](#bulkupdateitem).\n */\nexport function updateItem(payload: object): RequestOptionsFactory<any> {\n  function __updateItem({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'item.createdDate' },\n          { path: 'item.updatedDate' },\n          { path: 'item.assets.image.urlExpirationDate' },\n          { path: 'item.assets.video.urlExpirationDate' },\n          { path: 'item.assets.video.resolutions.urlExpirationDate' },\n          { path: 'item.assets.video.resolutions.poster.urlExpirationDate' },\n          { path: 'item.assets.video.posters.urlExpirationDate' },\n          { path: 'item.assets.vector.urlExpirationDate' },\n          { path: 'item.assets.audio.urlExpirationDate' },\n          { path: 'item.assets.document.urlExpirationDate' },\n          { path: 'item.assets.archive.urlExpirationDate' },\n          { path: 'item.assets.model3d.urlExpirationDate' },\n          { path: 'item.assets.model3d.thumbnail.urlExpirationDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'PATCH' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.UpdateItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/enterprise/items/{item.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: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.assets.image.urlExpirationDate' },\n              { path: 'item.assets.video.urlExpirationDate' },\n              { path: 'item.assets.video.resolutions.urlExpirationDate' },\n              {\n                path: 'item.assets.video.resolutions.poster.urlExpirationDate',\n              },\n              { path: 'item.assets.video.posters.urlExpirationDate' },\n              { path: 'item.assets.vector.urlExpirationDate' },\n              { path: 'item.assets.audio.urlExpirationDate' },\n              { path: 'item.assets.document.urlExpirationDate' },\n              { path: 'item.assets.archive.urlExpirationDate' },\n              { path: 'item.assets.model3d.urlExpirationDate' },\n              { path: 'item.assets.model3d.thumbnail.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateItem;\n}\n\n/**\n * Updates multiple items in a single API call.\n *\n * To update a single item, call [Update Item](#updateitem).\n */\nexport function bulkUpdateItem(payload: object): RequestOptionsFactory<any> {\n  function __bulkUpdateItem({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'updateItemRequests.fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'updateItemRequests.item.createdDate' },\n          { path: 'updateItemRequests.item.updatedDate' },\n          { path: 'updateItemRequests.item.assets.image.urlExpirationDate' },\n          { path: 'updateItemRequests.item.assets.video.urlExpirationDate' },\n          {\n            path: 'updateItemRequests.item.assets.video.resolutions.urlExpirationDate',\n          },\n          {\n            path: 'updateItemRequests.item.assets.video.resolutions.poster.urlExpirationDate',\n          },\n          {\n            path: 'updateItemRequests.item.assets.video.posters.urlExpirationDate',\n          },\n          { path: 'updateItemRequests.item.assets.vector.urlExpirationDate' },\n          { path: 'updateItemRequests.item.assets.audio.urlExpirationDate' },\n          { path: 'updateItemRequests.item.assets.document.urlExpirationDate' },\n          { path: 'updateItemRequests.item.assets.archive.urlExpirationDate' },\n          { path: 'updateItemRequests.item.assets.model3d.urlExpirationDate' },\n          {\n            path: 'updateItemRequests.item.assets.model3d.thumbnail.urlExpirationDate',\n          },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'PATCH' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.BulkUpdateItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/bulk/enterprise/items/update',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n              { path: 'results.item.assets.image.urlExpirationDate' },\n              { path: 'results.item.assets.video.urlExpirationDate' },\n              {\n                path: 'results.item.assets.video.resolutions.urlExpirationDate',\n              },\n              {\n                path: 'results.item.assets.video.resolutions.poster.urlExpirationDate',\n              },\n              { path: 'results.item.assets.video.posters.urlExpirationDate' },\n              { path: 'results.item.assets.vector.urlExpirationDate' },\n              { path: 'results.item.assets.audio.urlExpirationDate' },\n              { path: 'results.item.assets.document.urlExpirationDate' },\n              { path: 'results.item.assets.archive.urlExpirationDate' },\n              { path: 'results.item.assets.model3d.urlExpirationDate' },\n              {\n                path: 'results.item.assets.model3d.thumbnail.urlExpirationDate',\n              },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateItem;\n}\n\n/** Retrieves an item by ID. */\nexport function getItem(payload: object): RequestOptionsFactory<any> {\n  function __getItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.GetItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/enterprise/items/{itemId}',\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: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.assets.image.urlExpirationDate' },\n              { path: 'item.assets.video.urlExpirationDate' },\n              { path: 'item.assets.video.resolutions.urlExpirationDate' },\n              {\n                path: 'item.assets.video.resolutions.poster.urlExpirationDate',\n              },\n              { path: 'item.assets.video.posters.urlExpirationDate' },\n              { path: 'item.assets.vector.urlExpirationDate' },\n              { path: 'item.assets.audio.urlExpirationDate' },\n              { path: 'item.assets.document.urlExpirationDate' },\n              { path: 'item.assets.archive.urlExpirationDate' },\n              { path: 'item.assets.model3d.urlExpirationDate' },\n              { path: 'item.assets.model3d.thumbnail.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getItem;\n}\n\n/**\n * Links an item to multiple categories. Adds to existing category links without removing them.\n *\n * To replace all category links, call [Overwrite Item Categories](#overwriteitemcategories). To remove specific category links, call [Unlink Item From Categories](#unlinkitemfromcategories).\n */\nexport function linkItemToCategories(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __linkItemToCategories({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.LinkItemToCategories',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/enterprise/items/{itemId}/link-categories',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __linkItemToCategories;\n}\n\n/**\n * Unlinks an item from multiple categories. Removes specified category links while keeping others.\n *\n * To replace all category links, call [Overwrite Item Categories](#overwriteitemcategories). To add category links, call [Link Item To Categories](#linkitemtocategories).\n */\nexport function unlinkItemFromCategories(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __unlinkItemFromCategories({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.UnlinkItemFromCategories',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/enterprise/items/{itemId}/unlink-categories',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __unlinkItemFromCategories;\n}\n\n/**\n * Replaces all existing category links with the specified categories.\n *\n * To add category links without removing existing ones, call [Link Item To Categories](#linkitemtocategories). To remove specific category links, call [Unlink Item From Categories](#unlinkitemfromcategories).\n */\nexport function overwriteItemCategories(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __overwriteItemCategories({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.media.enterprise_public_media.v1.enterprise_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.media.enterprise_public_media.v1.EnterpriseItemsService.OverwriteItemCategories',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixMediaEnterprisePublicMediaV1EnterpriseItemsServiceUrl({\n        protoPath: '/v1/enterprise/items/{itemId}/overwrite-categories',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __overwriteItemCategories;\n}\n","/**\n * Duration for video fits better if there will be type specific media item.. however, is it ok to implement\n * an additional one of field called details?\n * A media item in the Enterprise Public Media system. Items can be organized into categories and shared with child accounts by setting their `publishStatus` to `PUBLISHED`.\n */\nexport interface EnterpriseMediaItem {\n  /**\n   * Item ID.\n   * @maxLength 100\n   * @readonly\n   */\n  id?: string;\n  /**\n   * Media type of the item.\n   * @readonly\n   */\n  mediaType?: MediaTypeWithLiterals;\n  /**\n   * Size of the uploaded file in bytes.\n   * @readonly\n   * @maxLength 1000\n   */\n  sizeInBytes?: string | null;\n  /**\n   * Title of the item. Used for searching and displaying the item.\n   * @maxLength 1000\n   */\n  title?: string | null;\n  /**\n   * Item assets including URLs for different renditions and formats.\n   * @readonly\n   */\n  assets?: ItemAssets;\n  /**\n   * User-facing tags describing the item. Indexed for text search; supports partial matching.\n   * @maxSize 100\n   * @maxLength 100\n   */\n  displayTags?: string[] | null;\n  /**\n   * Tags for custom categorization by client applications. Searchable with exact match only.\n   * @maxSize 100\n   * @maxLength 100\n   */\n  internalTags?: string[] | null;\n  /**\n   * Read-only tags generated by the system. Includes information about the uploader (via `uploaderSystemTag`) and external source references (via `uploaderInfoSystemTag`). Use these tags to filter items by their source.\n   * @maxSize 100\n   * @maxLength 100\n   * @readonly\n   */\n  systemTags?: string[] | null;\n  /**\n   * IDs of categories the item belongs to. To modify category assignments, call [Link Item To Categories](#linkitemtocategories), [Unlink Item From Categories](#unlinkitemfromcategories), or [Overwrite Item Categories](#overwriteitemcategories).\n   * @maxSize 100\n   * @maxLength 100\n   * @readonly\n   */\n  parentCategoryIds?: string[] | null;\n  /** Publish status of the item. When `PUBLISHED`, the item is visible in child accounts' media managers. When `UNPUBLISHED`, the item is only visible in the account dashboard. */\n  publishStatus?: PublishStatusWithLiterals;\n  /**\n   * Date and time the item was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the item was updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Internal ID used to reference the item within Wix media systems.\n   * @maxLength 100\n   * @readonly\n   */\n  internalId?: string | null;\n}\n\nexport enum MediaType {\n  /** Mixed media types. Used for categories that contain multiple types of media. Individual items should use specific media types (IMAGE, VIDEO, etc.) rather than MIXED. */\n  MIXED = 'MIXED',\n  /** Image file. */\n  IMAGE = 'IMAGE',\n  /** Video file. */\n  VIDEO = 'VIDEO',\n  /** Audio file. */\n  AUDIO = 'AUDIO',\n  /** Document file. */\n  DOCUMENT = 'DOCUMENT',\n  /** Vector image file. */\n  VECTOR = 'VECTOR',\n  /** Archive file. Supported formats: ZIP, RAR, TAR, TAR.GZ, GZ, GZIP, JAR, 7Z, FGZ, and WEBARCHIVE. Maximum file size: 4000MB. */\n  ARCHIVE = 'ARCHIVE',\n  /** 3D model file. */\n  MODEL3D = 'MODEL3D',\n}\n\n/** @enumType */\nexport type MediaTypeWithLiterals =\n  | MediaType\n  | 'MIXED'\n  | 'IMAGE'\n  | 'VIDEO'\n  | 'AUDIO'\n  | 'DOCUMENT'\n  | 'VECTOR'\n  | 'ARCHIVE'\n  | 'MODEL3D';\n\n/** Contains media-specific asset information based on the item's `mediaType`. Only one asset field is populated per item. During initial upload or import, this field may be empty until processing completes. */\nexport interface ItemAssets extends ItemAssetsAssetsOneOf {\n  /** Image assets and metadata. */\n  image?: Image;\n  /** Video assets and metadata. */\n  video?: VideoV2;\n  /** Vector image assets and metadata. */\n  vector?: Image;\n  /** Audio assets and metadata. */\n  audio?: Audio;\n  /** Document assets and metadata. */\n  document?: Document;\n  /** Archive file metadata. */\n  archive?: Archive;\n  /** 3D model metadata. */\n  model3d?: Model3D;\n}\n\n/** @oneof */\nexport interface ItemAssetsAssetsOneOf {\n  /** Image assets and metadata. */\n  image?: Image;\n  /** Video assets and metadata. */\n  video?: VideoV2;\n  /** Vector image assets and metadata. */\n  vector?: Image;\n  /** Audio assets and metadata. */\n  audio?: Audio;\n  /** Document assets and metadata. */\n  document?: Document;\n  /** Archive file metadata. */\n  archive?: Archive;\n  /** 3D model metadata. */\n  model3d?: Model3D;\n}\n\nexport interface Image {\n  /** WixMedia image ID. */\n  id?: string;\n  /** Image URL. */\n  url?: string;\n  /**\n   * Original image height.\n   * @readonly\n   */\n  height?: number;\n  /**\n   * Original image width.\n   * @readonly\n   */\n  width?: number;\n  /** Image alt text. */\n  altText?: string | null;\n  /**\n   * Image filename.\n   * @readonly\n   */\n  filename?: string | null;\n}\n\nexport interface VideoV2 {\n  /** WixMedia ID. */\n  id?: string;\n  /**\n   * Available resolutions for the video, starting with the optimal resolution.\n   * @readonly\n   * @maxSize 100\n   */\n  resolutions?: VideoResolution[];\n  /**\n   * Video filename.\n   * @readonly\n   */\n  filename?: string | null;\n}\n\nexport interface VideoResolution {\n  /** Video URL. */\n  url?: string;\n  /** Video height. */\n  height?: number;\n  /** Video width. */\n  width?: number;\n  /**\n   * Video format\n   * Possible values: ['144p.mp4' '144p.webm' '240p.mp4' '240p.webm' '360p.mp4' '360p.webm' '480p.mp4' '480p.webm'\n   * '720p.mp4' '720p.webm' '1080p.mp4' '1080p.webm' ]\n   */\n  format?: string;\n}\n\nexport interface Audio {\n  /** WixMedia ID. */\n  id?: string;\n  /** Audio URL. */\n  url?: string;\n  /**\n   * Audio filename.\n   * @readonly\n   */\n  filename?: string | null;\n}\n\nexport interface Document {\n  /** WixMedia ID. */\n  id?: string;\n  /** Document URL. */\n  url?: string;\n  /** Document filename. */\n  filename?: string | null;\n}\n\nexport interface Archive {\n  /** WixMedia ID. */\n  id?: string;\n  /** Archive URL. */\n  url?: string;\n  /**\n   * Archive URL expiration date (when relevant).\n   * @readonly\n   */\n  urlExpirationDate?: Date | null;\n  /**\n   * Archive size in bytes.\n   * @format DECIMAL_VALUE\n   */\n  sizeInBytes?: string | null;\n  /** Archive filename. */\n  filename?: string | null;\n}\n\nexport interface Model3D {\n  /** WixMedia 3D ID. */\n  id?: string;\n  /** 3D URL. */\n  url?: string;\n  /** 3D thumbnail Image */\n  thumbnail?: Image;\n  /** 3D alt text. */\n  altText?: string | null;\n  /**\n   * 3D URL expiration date (when relevant).\n   * @readonly\n   */\n  urlExpirationDate?: Date | null;\n  /**\n   * 3D filename.\n   * @readonly\n   */\n  filename?: string | null;\n  /**\n   * 3D size in bytes.\n   * @readonly\n   * @format DECIMAL_VALUE\n   */\n  sizeInBytes?: string | null;\n}\n\nexport enum PublishStatus {\n  /** Unknown publish status. */\n  UNDEFINED = 'UNDEFINED',\n  /** Not published. Visible only in the account dashboard. */\n  UNPUBLISHED = 'UNPUBLISHED',\n  /** Published. Visible in child accounts' media managers. */\n  PUBLISHED = 'PUBLISHED',\n}\n\n/** @enumType */\nexport type PublishStatusWithLiterals =\n  | PublishStatus\n  | 'UNDEFINED'\n  | 'UNPUBLISHED'\n  | 'PUBLISHED';\n\n/** Triggered when an item's category links change. Also triggers an UPDATED domain event. */\nexport interface ItemCategoriesChanged {\n  /**\n   * Current category IDs linked to the item.\n   * @maxLength 100\n   * @maxSize 100\n   */\n  itemCategoryIds?: string[] | null;\n  /**\n   * IDs of categories that were unlinked from the item.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  unlinkedCategoryIds?: string[] | null;\n  /**\n   * IDs of categories that were linked to the item.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  linkedCategoryIds?: string[] | null;\n  /** Updated item. */\n  entity?: EnterpriseMediaItem;\n}\n\nexport interface ItemUploadCallbackRequest {\n  /**\n   * ID of the created item.\n   * @maxLength 100\n   */\n  itemId?: string;\n  /**\n   * Callback token provided to the upload endpoint.\n   * @maxLength 10000\n   */\n  callbackToken?: string;\n}\n\nexport interface ItemUploadCallbackResponse {\n  /** Message describing the callback result. */\n  message?: string | null;\n}\n\nexport interface GenerateFileUploadUrlRequest {\n  /**\n   * Original file name including the extension. Used as the initial display name for the created item.\n   * @maxLength 1000\n   */\n  fileName?: string;\n  /**\n   * MIME type of the file. Used to identify the media type.\n   * @maxLength 1000\n   */\n  contentType?: string;\n  /** File size in bytes. */\n  sizeInBytes?: number;\n  /**\n   * IDs of additional categories to link the created item to. The item is automatically linked to the root account category and to any categories specified here.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  categoryIds?: string[] | null;\n}\n\nexport interface GenerateFileUploadUrlResponse {\n  /**\n   * Upload URL where the file should be uploaded.\n   * @maxLength 10000\n   */\n  uploadUrl?: string;\n}\n\nexport interface ImportFileRequest {\n  /**\n   * URL of the file to import.\n   * @format WEB_URL\n   */\n  url: string;\n  /**\n   * Original file name including the extension. Used as the initial display name for the created item.\n   * @maxLength 1000\n   */\n  fileName?: string | null;\n  /**\n   * MIME type of the file. Used to identify the media type.\n   * @maxLength 1000\n   */\n  contentType?: string | null;\n  /** File size in bytes. */\n  sizeInBytes?: number | null;\n  /**\n   * IDs of categories to link the created item to. The item will be automatically linked to the root account category.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  categoryIds?: string[] | null;\n  /** Media type of the file. */\n  mediaType?: MediaTypeWithLiterals;\n  /**\n   * Identifier of the external app or system that imported the file. Used to filter items by uploader. For example, if multiple apps upload to the same account, each app can use its own identifier to retrieve only items it created. Stored in `systemTags` prefixed by `_external_uploader:`.\n   * @maxLength 100\n   */\n  uploaderSystemTag?: string | null;\n  /**\n   * Additional metadata about the external source. Use this to store identifiers of related entities in external systems, such as external item IDs, source URLs, or reference numbers. This complements `uploaderSystemTag`, which identifies the importing app itself. Stored in `systemTags` prefixed by `_external_uploader_info:`.\n   * @maxLength 1000\n   */\n  uploaderInfoSystemTag?: string | null;\n}\n\nexport interface ImportFileResponse {\n  /** Partial item information. At this stage, only `internalId` is populated. All other required fields contain placeholder values. */\n  item?: EnterpriseMediaItem;\n}\n\nexport interface BulkImportFilesRequest {\n  /**\n   * List of files to import.\n   * @minSize 1\n   * @maxSize 100\n   */\n  importFileRequests: ImportFileRequest[];\n  /**\n   * Whether to include the imported item in the response. Set to `false` to exclude the item from the returned object.\n   *\n   * Default: `true`\n   */\n  returnEntity?: boolean | null;\n  /**\n   * IDs of categories to link all imported items to, in addition to any categories specified in individual `importFileRequests`. Items are also automatically linked to the root account category.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  categoryIds?: string[] | null;\n}\n\nexport interface BulkImportFilesResponse {\n  /** Results for each individual file import operation. */\n  results?: BulkImportFilesResult[];\n  /** Metadata about the bulk operation. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkImportFilesResult {\n  /** Metadata about the import operation result. */\n  itemMetadata?: ItemMetadata;\n  /** Imported item. Returned only if the operation was successful and `returnEntity` is not set to `false`. */\n  item?: EnterpriseMediaItem;\n}\n\nexport interface ItemMetadata {\n  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\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 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 SearchItemsRequest {\n  /** Search query for text-based matching across item `title`, `displayTags`, and `internalTags` fields. Partial matching is supported for `title` and `displayTags`. `internalTags` require a full exact match. All filters support equality only. Each query must include a `categoryId` filter. */\n  query?: Search;\n}\n\nexport interface Search extends SearchPagingMethodOneOf {\n  /** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */\n  paging?: Paging;\n  /** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the form [{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]\n   * @maxSize 50\n   */\n  sort?: Sorting[];\n  /** free text to match in searchable fields */\n  search?: SearchDetails;\n}\n\n/** @oneof */\nexport interface SearchPagingMethodOneOf {\n  /** Pointer to page of results using offset. Can not be used together with 'cursor_paging' */\n  paging?: Paging;\n}\n\nexport interface Sorting {\n  /** Name of the field to sort by. */\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 SearchDetails {\n  /** search term or expression */\n  expression?: string | null;\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 SearchItemsResponse {\n  /**\n   * List of items matching the search query.\n   * @maxSize 200\n   */\n  items?: EnterpriseMediaItem[];\n  /** Paging information for the search results. */\n  pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  offset?: number | null;\n  /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n  total?: number | null;\n  /** 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  /** Cursor pointing to next page in the list of results. */\n  next?: string | null;\n}\n\nexport interface QueryItemsRequest {\n  /** Query parameters to filter, sort, and page items. All filters support equality only. Each query must include a `categoryId` filter. Supported sort fields: `createdDate`, `updatedDate`, `title`, `sizeInBytes`. */\n  query?: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n  /** Paging options to limit and skip the number of items. */\n  paging?: Paging;\n  /**\n   * Filter object in the following format:\n   * `\"filter\" : {\n   * \"fieldName1\": \"value1\",\n   * \"fieldName2\":{\"$operator\":\"value2\"}\n   * }`\n   * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the following format:\n   * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n  /** Paging options to limit and skip the number of items. */\n  paging?: Paging;\n}\n\nexport interface QueryItemsResponse {\n  /**\n   * List of items matching the query.\n   * @maxSize 200\n   */\n  items?: EnterpriseMediaItem[];\n  /** Paging information for the query results. */\n  pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface UpdateItemRequest {\n  /** Item to update. */\n  item: EnterpriseMediaItem;\n}\n\nexport interface UpdateItemResponse {\n  /** Updated item. */\n  item?: EnterpriseMediaItem;\n}\n\n/** Triggered when an item's `publishStatus` changes. Also triggers an UPDATED domain event. */\nexport interface PublishStatusChanged {\n  /** New publish status of the item. */\n  publishStatus?: PublishStatusWithLiterals;\n  /** Updated item. */\n  entity?: EnterpriseMediaItem;\n}\n\nexport interface BulkUpdateItemRequest {\n  /**\n   * List of items to update. Each item must include an ID.\n   * @maxSize 20\n   * @minSize 1\n   */\n  updateItemRequests: UpdateItemRequest[];\n  /** Whether to return the updated items in the response. */\n  returnEntity?: boolean;\n}\n\nexport interface BulkUpdateItemResponse {\n  /** Results for each individual item update operation. */\n  results?: BulkItemUpdateResult[];\n  /** Metadata about the bulk operation. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkItemUpdateResult {\n  /** Metadata about the update operation result. */\n  itemMetadata?: ItemMetadata;\n  /** Updated item. Returned only if the operation was successful and `returnEntity` was set to `true`. */\n  item?: EnterpriseMediaItem;\n}\n\nexport interface GetItemRequest {\n  /**\n   * Item ID.\n   * @maxLength 100\n   */\n  itemId: string;\n}\n\nexport interface GetItemResponse {\n  /** Retrieved item. */\n  item?: EnterpriseMediaItem;\n}\n\nexport interface LinkItemToCategoriesRequest {\n  /**\n   * Item ID.\n   * @maxLength 100\n   */\n  itemId: string;\n  /**\n   * IDs of categories to link to the item.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  categoryIds?: string[];\n}\n\nexport interface LinkItemToCategoriesResponse {\n  /**\n   * IDs of categories that were successfully linked to the item.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  linkedCategoryIds?: string[] | null;\n}\n\nexport interface UnlinkItemFromCategoriesRequest {\n  /**\n   * Item ID.\n   * @maxLength 100\n   */\n  itemId: string;\n  /**\n   * IDs of categories to unlink from the item.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  categoryIds?: string[];\n}\n\nexport interface UnlinkItemFromCategoriesResponse {\n  /**\n   * IDs of categories that were successfully unlinked from the item.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  unlinkedCategoryIds?: string[] | null;\n}\n\nexport interface OverwriteItemCategoriesRequest {\n  /**\n   * Item ID.\n   * @maxLength 100\n   */\n  itemId: string;\n  /**\n   * IDs of categories the item will be linked to after this operation. All existing category links will be replaced.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  categoryIds?: string[];\n}\n\nexport interface OverwriteItemCategoriesResponse {\n  /**\n   * IDs of categories that were linked to the item.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  linkedCategoryIds?: string[] | null;\n  /**\n   * IDs of categories that were unlinked from the item.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  unlinkedCategoryIds?: string[] | null;\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 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 ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem from './media-enterprise-public-media-v1-enterprise-item-enterprise-media-items.http.js';\nimport * as ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes from './media-enterprise-public-media-v1-enterprise-item-enterprise-media-items.types.js';\nimport * as ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes from './media-enterprise-public-media-v1-enterprise-item-enterprise-media-items.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 itemUploadCallback(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.ItemUploadCallbackRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.ItemUploadCallbackRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.ItemUploadCallbackResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.ItemUploadCallbackResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.itemUploadCallback(\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/enterprise/items/upload/callback',\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 generateFileUploadUrl(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.GenerateFileUploadUrlRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.GenerateFileUploadUrlRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.GenerateFileUploadUrlResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.GenerateFileUploadUrlResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.generateFileUploadUrl(\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/enterprise/items/upload/generate-url',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function importFile(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.ImportFileRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.ImportFileRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.ImportFileResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.ImportFileResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.importFile(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/enterprise/items/upload/import',\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 bulkImportFiles(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.BulkImportFilesRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.BulkImportFilesRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.BulkImportFilesResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.BulkImportFilesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.bulkImportFiles(\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/bulk/files/import',\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 searchItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.SearchItemsRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.SearchItemsRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.SearchItemsResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.SearchItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.searchItems(\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/enterprise/items/search',\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 queryItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.QueryItemsRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.QueryItemsRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.QueryItemsResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.QueryItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.queryItems(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/enterprise/items/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 updateItem(): __PublicMethodMetaInfo<\n  'PATCH',\n  { itemId: string },\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.UpdateItemRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.UpdateItemRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.UpdateItemResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.UpdateItemResponse\n> {\n  const payload = { item: { id: ':itemId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.updateItem(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: '/v1/enterprise/items/{item.id}',\n    pathParams: { itemId: 'itemId' },\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 bulkUpdateItem(): __PublicMethodMetaInfo<\n  'PATCH',\n  {},\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.BulkUpdateItemRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.BulkUpdateItemRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.BulkUpdateItemResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.BulkUpdateItemResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.bulkUpdateItem(\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/bulk/enterprise/items/update',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getItem(): __PublicMethodMetaInfo<\n  'GET',\n  { itemId: string },\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.GetItemRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.GetItemRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.GetItemResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.GetItemResponse\n> {\n  const payload = { itemId: ':itemId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.getItem(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/enterprise/items/{itemId}',\n    pathParams: { itemId: 'itemId' },\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 linkItemToCategories(): __PublicMethodMetaInfo<\n  'POST',\n  { itemId: string },\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.LinkItemToCategoriesRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.LinkItemToCategoriesRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.LinkItemToCategoriesResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.LinkItemToCategoriesResponse\n> {\n  const payload = { itemId: ':itemId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.linkItemToCategories(\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/enterprise/items/{itemId}/link-categories',\n    pathParams: { itemId: 'itemId' },\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 unlinkItemFromCategories(): __PublicMethodMetaInfo<\n  'POST',\n  { itemId: string },\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.UnlinkItemFromCategoriesRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.UnlinkItemFromCategoriesRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.UnlinkItemFromCategoriesResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.UnlinkItemFromCategoriesResponse\n> {\n  const payload = { itemId: ':itemId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.unlinkItemFromCategories(\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/enterprise/items/{itemId}/unlink-categories',\n    pathParams: { itemId: 'itemId' },\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 overwriteItemCategories(): __PublicMethodMetaInfo<\n  'POST',\n  { itemId: string },\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.OverwriteItemCategoriesRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.OverwriteItemCategoriesRequest,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemUniversalTypes.OverwriteItemCategoriesResponse,\n  ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItemTypes.OverwriteItemCategoriesResponse\n> {\n  const payload = { itemId: ':itemId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixMediaEnterprisePublicMediaV1EnterpriseItem.overwriteItemCategories(\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/enterprise/items/{itemId}/overwrite-categories',\n    pathParams: { itemId: 'itemId' },\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  EnterpriseMediaItem as EnterpriseMediaItemOriginal,\n  MediaType as MediaTypeOriginal,\n  MediaTypeWithLiterals as MediaTypeWithLiteralsOriginal,\n  ItemAssets as ItemAssetsOriginal,\n  ItemAssetsAssetsOneOf as ItemAssetsAssetsOneOfOriginal,\n  Image as ImageOriginal,\n  VideoV2 as VideoV2Original,\n  VideoResolution as VideoResolutionOriginal,\n  Audio as AudioOriginal,\n  Document as DocumentOriginal,\n  Archive as ArchiveOriginal,\n  Model3D as Model3DOriginal,\n  PublishStatus as PublishStatusOriginal,\n  PublishStatusWithLiterals as PublishStatusWithLiteralsOriginal,\n  ItemCategoriesChanged as ItemCategoriesChangedOriginal,\n  ItemUploadCallbackRequest as ItemUploadCallbackRequestOriginal,\n  ItemUploadCallbackResponse as ItemUploadCallbackResponseOriginal,\n  GenerateFileUploadUrlRequest as GenerateFileUploadUrlRequestOriginal,\n  GenerateFileUploadUrlResponse as GenerateFileUploadUrlResponseOriginal,\n  ImportFileRequest as ImportFileRequestOriginal,\n  ImportFileResponse as ImportFileResponseOriginal,\n  BulkImportFilesRequest as BulkImportFilesRequestOriginal,\n  BulkImportFilesResponse as BulkImportFilesResponseOriginal,\n  BulkImportFilesResult as BulkImportFilesResultOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  SearchItemsRequest as SearchItemsRequestOriginal,\n  Search as SearchOriginal,\n  SearchPagingMethodOneOf as SearchPagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  SearchDetails as SearchDetailsOriginal,\n  Paging as PagingOriginal,\n  SearchItemsResponse as SearchItemsResponseOriginal,\n  PagingMetadataV2 as PagingMetadataV2Original,\n  Cursors as CursorsOriginal,\n  QueryItemsRequest as QueryItemsRequestOriginal,\n  QueryV2 as QueryV2Original,\n  QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n  QueryItemsResponse as QueryItemsResponseOriginal,\n  UpdateItemRequest as UpdateItemRequestOriginal,\n  UpdateItemResponse as UpdateItemResponseOriginal,\n  PublishStatusChanged as PublishStatusChangedOriginal,\n  BulkUpdateItemRequest as BulkUpdateItemRequestOriginal,\n  BulkUpdateItemResponse as BulkUpdateItemResponseOriginal,\n  BulkItemUpdateResult as BulkItemUpdateResultOriginal,\n  GetItemRequest as GetItemRequestOriginal,\n  GetItemResponse as GetItemResponseOriginal,\n  LinkItemToCategoriesRequest as LinkItemToCategoriesRequestOriginal,\n  LinkItemToCategoriesResponse as LinkItemToCategoriesResponseOriginal,\n  UnlinkItemFromCategoriesRequest as UnlinkItemFromCategoriesRequestOriginal,\n  UnlinkItemFromCategoriesResponse as UnlinkItemFromCategoriesResponseOriginal,\n  OverwriteItemCategoriesRequest as OverwriteItemCategoriesRequestOriginal,\n  OverwriteItemCategoriesResponse as OverwriteItemCategoriesResponseOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n} from './media-enterprise-public-media-v1-enterprise-item-enterprise-media-items.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,mEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,U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;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,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,2BAOd;AACA,QAAM,UAAU,EAAE,QAAQ,UAAU;AAEpC,QAAM,oBACoD;AAAA,IACtD;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,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","MediaType","PublishStatus","SortOrder","WebhookIdentityType","itemUploadCallback","generateFileUploadUrl","importFile","bulkImportFiles","searchItems","queryItems","updateItem","bulkUpdateItem","getItem","linkItemToCategories","unlinkItemFromCategories","overwriteItemCategories"]}