@wix/auto_sdk_media_files 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../meta.ts","../../src/media-site-media-v1-file-descriptor-files.http.ts","../../src/media-site-media-v1-file-descriptor-files.meta.ts"],"sourcesContent":["export * from './src/media-site-media-v1-file-descriptor-files.meta.js';\n","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 resolveComWixMediaSiteMediaV1FilesServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'apps._base_domain_': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '/api',\n },\n {\n srcPath: '/_api/wix-privatemedia-proxy-server/v1',\n destPath: '/v1',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/site-media/v1',\n destPath: '/v1',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'platform.rise.ai': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_media_files';\n\n/**\n * Generates a URL for downloading a compressed file containing specific files in the Media Manager.\n *\n * The compressed file can contain up to 1000 files.\n *\n * To generate a permanent URL for downloading a compressed file that contains multiple files in the Media Manager, call the Generate Files Download URL endpoint.\n * Since this is a permanent URL, it is less secure.\n * Therefore, to download private files, call the Generate File Download URL endpoint for each private file that you want to generate a download URL for.\n */\nexport function generateFilesDownloadUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __generateFilesDownloadUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.GenerateFilesDownloadUrl',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/generate-download-url',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __generateFilesDownloadUrl;\n}\n\n/**\n * Generates one or more temporary URLs for downloading a specific file in the Media Manager.\n *\n * To download different assets of the file, specify the `assetKeys` parameter which generates a download URL for each asset.\n * If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.\n *\n * Call this endpoint to grant external clients access to a private media file. Specify the `expirationInMinutes` parameter to set the URL expiration time, and the `expirationRedirectUrl` parameter to add a redirect url when the URL expires.\n *\n * To generate a permanent URL for downloading a compressed file that contains multiple files in the Media Manager, call the Generate Files Download URL endpoint.\n * Since this is a permanent URL, it is less secure.\n * Therefore, to download private files, call the Generate File Download URL endpoint for each private file that you want to generate a download URL for.\n */\nexport function generateFileDownloadUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __generateFileDownloadUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.GenerateFileDownloadUrl',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/generate-file-download-url',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __generateFileDownloadUrl;\n}\n\n/** Gets information about a specific file in the Media Manager. */\nexport function getFileDescriptor(payload: object): RequestOptionsFactory<any> {\n function __getFileDescriptor({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'GET' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.GetFileDescriptor',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/get-file-by-id',\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: 'file.createdDate' },\n { path: 'file.updatedDate' },\n { path: 'file.lastUsedDate' },\n { path: 'file.media.image.image.urlExpirationDate' },\n { path: 'file.media.image.previewImage.urlExpirationDate' },\n { path: 'file.media.video.urlExpirationDate' },\n { path: 'file.media.video.resolutions.urlExpirationDate' },\n { path: 'file.media.video.resolutions.poster.urlExpirationDate' },\n { path: 'file.media.video.posters.urlExpirationDate' },\n { path: 'file.media.audio.assets.urlExpirationDate' },\n { path: 'file.media.document.urlExpirationDate' },\n { path: 'file.media.document.thumbnail.urlExpirationDate' },\n { path: 'file.media.vector.image.urlExpirationDate' },\n { path: 'file.media.vector.previewImage.urlExpirationDate' },\n { path: 'file.media.archive.urlExpirationDate' },\n { path: 'file.media.model3d.urlExpirationDate' },\n { path: 'file.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'file.media.icon.image.urlExpirationDate' },\n { path: 'file.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'file.media.image.image.focalPoint.x' },\n { path: 'file.media.image.image.focalPoint.y' },\n { path: 'file.media.image.faces.confidence' },\n { path: 'file.media.image.previewImage.focalPoint.x' },\n { path: 'file.media.image.previewImage.focalPoint.y' },\n { path: 'file.media.video.resolutions.poster.focalPoint.x' },\n { path: 'file.media.video.resolutions.poster.focalPoint.y' },\n { path: 'file.media.video.posters.focalPoint.x' },\n { path: 'file.media.video.posters.focalPoint.y' },\n { path: 'file.media.document.thumbnail.focalPoint.x' },\n { path: 'file.media.document.thumbnail.focalPoint.y' },\n { path: 'file.media.vector.image.focalPoint.x' },\n { path: 'file.media.vector.image.focalPoint.y' },\n { path: 'file.media.vector.faces.confidence' },\n { path: 'file.media.vector.previewImage.focalPoint.x' },\n { path: 'file.media.vector.previewImage.focalPoint.y' },\n { path: 'file.media.model3d.thumbnail.focalPoint.x' },\n { path: 'file.media.model3d.thumbnail.focalPoint.y' },\n { path: 'file.media.icon.image.focalPoint.x' },\n { path: 'file.media.icon.image.focalPoint.y' },\n { path: 'file.media.icon.faces.confidence' },\n { path: 'file.media.icon.previewImage.focalPoint.x' },\n { path: 'file.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'GET' as any,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/get-file-by-id',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n },\n ],\n };\n\n return metadata;\n }\n\n return __getFileDescriptor;\n}\n\n/** Gets information about specific files in the Media Manager. */\nexport function getFileDescriptors(\n payload: object\n): RequestOptionsFactory<any> {\n function __getFileDescriptors({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.GetFileDescriptors',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/get-files',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'files.createdDate' },\n { path: 'files.updatedDate' },\n { path: 'files.lastUsedDate' },\n { path: 'files.media.image.image.urlExpirationDate' },\n { path: 'files.media.image.previewImage.urlExpirationDate' },\n { path: 'files.media.video.urlExpirationDate' },\n { path: 'files.media.video.resolutions.urlExpirationDate' },\n {\n path: 'files.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'files.media.video.posters.urlExpirationDate' },\n { path: 'files.media.audio.assets.urlExpirationDate' },\n { path: 'files.media.document.urlExpirationDate' },\n { path: 'files.media.document.thumbnail.urlExpirationDate' },\n { path: 'files.media.vector.image.urlExpirationDate' },\n { path: 'files.media.vector.previewImage.urlExpirationDate' },\n { path: 'files.media.archive.urlExpirationDate' },\n { path: 'files.media.model3d.urlExpirationDate' },\n { path: 'files.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'files.media.icon.image.urlExpirationDate' },\n { path: 'files.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'files.media.image.image.focalPoint.x' },\n { path: 'files.media.image.image.focalPoint.y' },\n { path: 'files.media.image.faces.confidence' },\n { path: 'files.media.image.previewImage.focalPoint.x' },\n { path: 'files.media.image.previewImage.focalPoint.y' },\n { path: 'files.media.video.resolutions.poster.focalPoint.x' },\n { path: 'files.media.video.resolutions.poster.focalPoint.y' },\n { path: 'files.media.video.posters.focalPoint.x' },\n { path: 'files.media.video.posters.focalPoint.y' },\n { path: 'files.media.document.thumbnail.focalPoint.x' },\n { path: 'files.media.document.thumbnail.focalPoint.y' },\n { path: 'files.media.vector.image.focalPoint.x' },\n { path: 'files.media.vector.image.focalPoint.y' },\n { path: 'files.media.vector.faces.confidence' },\n { path: 'files.media.vector.previewImage.focalPoint.x' },\n { path: 'files.media.vector.previewImage.focalPoint.y' },\n { path: 'files.media.model3d.thumbnail.focalPoint.x' },\n { path: 'files.media.model3d.thumbnail.focalPoint.y' },\n { path: 'files.media.icon.image.focalPoint.x' },\n { path: 'files.media.icon.image.focalPoint.y' },\n { path: 'files.media.icon.faces.confidence' },\n { path: 'files.media.icon.previewImage.focalPoint.x' },\n { path: 'files.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getFileDescriptors;\n}\n\n/**\n * Updates a file. <br />\n *\n * Specify the `parentFolderId` parameter to move a file from its current folder to a different folder.\n */\nexport function updateFileDescriptor(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateFileDescriptor({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'file.createdDate' },\n { path: 'file.updatedDate' },\n { path: 'file.lastUsedDate' },\n { path: 'file.media.image.image.urlExpirationDate' },\n { path: 'file.media.image.previewImage.urlExpirationDate' },\n { path: 'file.media.video.urlExpirationDate' },\n { path: 'file.media.video.resolutions.urlExpirationDate' },\n { path: 'file.media.video.resolutions.poster.urlExpirationDate' },\n { path: 'file.media.video.posters.urlExpirationDate' },\n { path: 'file.media.audio.assets.urlExpirationDate' },\n { path: 'file.media.document.urlExpirationDate' },\n { path: 'file.media.document.thumbnail.urlExpirationDate' },\n { path: 'file.media.vector.image.urlExpirationDate' },\n { path: 'file.media.vector.previewImage.urlExpirationDate' },\n { path: 'file.media.archive.urlExpirationDate' },\n { path: 'file.media.model3d.urlExpirationDate' },\n { path: 'file.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'file.media.icon.image.urlExpirationDate' },\n { path: 'file.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'file.media.image.image.focalPoint.x' },\n { path: 'file.media.image.image.focalPoint.y' },\n { path: 'file.media.image.faces.confidence' },\n { path: 'file.media.image.previewImage.focalPoint.x' },\n { path: 'file.media.image.previewImage.focalPoint.y' },\n { path: 'file.media.video.resolutions.poster.focalPoint.x' },\n { path: 'file.media.video.resolutions.poster.focalPoint.y' },\n { path: 'file.media.video.posters.focalPoint.x' },\n { path: 'file.media.video.posters.focalPoint.y' },\n { path: 'file.media.document.thumbnail.focalPoint.x' },\n { path: 'file.media.document.thumbnail.focalPoint.y' },\n { path: 'file.media.vector.image.focalPoint.x' },\n { path: 'file.media.vector.image.focalPoint.y' },\n { path: 'file.media.vector.faces.confidence' },\n { path: 'file.media.vector.previewImage.focalPoint.x' },\n { path: 'file.media.vector.previewImage.focalPoint.y' },\n { path: 'file.media.model3d.thumbnail.focalPoint.x' },\n { path: 'file.media.model3d.thumbnail.focalPoint.y' },\n { path: 'file.media.icon.image.focalPoint.x' },\n { path: 'file.media.icon.image.focalPoint.y' },\n { path: 'file.media.icon.faces.confidence' },\n { path: 'file.media.icon.previewImage.focalPoint.x' },\n { path: 'file.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.UpdateFileDescriptor',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/update-file-descriptor',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'file.createdDate' },\n { path: 'file.updatedDate' },\n { path: 'file.lastUsedDate' },\n { path: 'file.media.image.image.urlExpirationDate' },\n { path: 'file.media.image.previewImage.urlExpirationDate' },\n { path: 'file.media.video.urlExpirationDate' },\n { path: 'file.media.video.resolutions.urlExpirationDate' },\n { path: 'file.media.video.resolutions.poster.urlExpirationDate' },\n { path: 'file.media.video.posters.urlExpirationDate' },\n { path: 'file.media.audio.assets.urlExpirationDate' },\n { path: 'file.media.document.urlExpirationDate' },\n { path: 'file.media.document.thumbnail.urlExpirationDate' },\n { path: 'file.media.vector.image.urlExpirationDate' },\n { path: 'file.media.vector.previewImage.urlExpirationDate' },\n { path: 'file.media.archive.urlExpirationDate' },\n { path: 'file.media.model3d.urlExpirationDate' },\n { path: 'file.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'file.media.icon.image.urlExpirationDate' },\n { path: 'file.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'file.media.image.image.focalPoint.x' },\n { path: 'file.media.image.image.focalPoint.y' },\n { path: 'file.media.image.faces.confidence' },\n { path: 'file.media.image.previewImage.focalPoint.x' },\n { path: 'file.media.image.previewImage.focalPoint.y' },\n { path: 'file.media.video.resolutions.poster.focalPoint.x' },\n { path: 'file.media.video.resolutions.poster.focalPoint.y' },\n { path: 'file.media.video.posters.focalPoint.x' },\n { path: 'file.media.video.posters.focalPoint.y' },\n { path: 'file.media.document.thumbnail.focalPoint.x' },\n { path: 'file.media.document.thumbnail.focalPoint.y' },\n { path: 'file.media.vector.image.focalPoint.x' },\n { path: 'file.media.vector.image.focalPoint.y' },\n { path: 'file.media.vector.faces.confidence' },\n { path: 'file.media.vector.previewImage.focalPoint.x' },\n { path: 'file.media.vector.previewImage.focalPoint.y' },\n { path: 'file.media.model3d.thumbnail.focalPoint.x' },\n { path: 'file.media.model3d.thumbnail.focalPoint.y' },\n { path: 'file.media.icon.image.focalPoint.x' },\n { path: 'file.media.icon.image.focalPoint.y' },\n { path: 'file.media.icon.faces.confidence' },\n { path: 'file.media.icon.previewImage.focalPoint.x' },\n { path: 'file.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateFileDescriptor;\n}\n\n/**\n * Generates an upload URL to allow external clients to upload a file to the Media Manager. <br/>\n *\n * To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see Upload API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/upload-api) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/upload-api)).\n * > **Notes:**\n * > - When you upload a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).\n * > - Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, call Generate File Resumable Upload URL instead. With the resumable upload URL, any interruption in the upload process pauses the file upload, and resumes the file upload process after the interruption.\n */\nexport function generateFileUploadUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __generateFileUploadUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.GenerateFileUploadUrl',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/generate-upload-url',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __generateFileUploadUrl;\n}\n\n/**\n * Generates a resumable upload URL to allow external clients to easily upload large files over 10MB to the Media Manager. <br/>\n *\n * With the resumable upload URL, any interruptions in the upload process pauses the file upload, and resumes the file upload process after the interruption. The resumable upload URL is also helpful when network connection is poor.\n * To learn how external clients can use the generated upload URL in the response to upload large files to the Media Manager, see Resumable Upload API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/resumable-upload-api) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/resumable-upload-api)).\n *\n * > **Note:** When you upload a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).\n */\nexport function generateFileResumableUploadUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __generateFileResumableUploadUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.GenerateFileResumableUploadUrl',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/generate-resumable-upload-url',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __generateFileResumableUploadUrl;\n}\n\n/**\n * Imports a file to the Media Manager using an external url.\n *\n * Returns information about the imported file.\n * Specify the `parentFolderId` and `filePath` parameters to specify which folder you want the file to be imported to.\n * If no folder is specified, the file is imported to the `media-root` folder.\n *\n * >**Notes:**\n * > - The `media` property isn't returned in the `files` response object.\n * > - When you import a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).\n *\n * To import a file, you need to do one of the following:\n * - Specify its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.\n * - Specify its extension in either the `displayName` or `url` field of the request. For example, `displayName: 'Example Image.jpeg` or `url: https://www.example.com/image.jpeg`.\n * - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.\n * > **Note:** If you want to validate the media type, specify the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.\n */\nexport function importFile(payload: object): RequestOptionsFactory<any> {\n function __importFile({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.ImportFile',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/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: 'file.createdDate' },\n { path: 'file.updatedDate' },\n { path: 'file.lastUsedDate' },\n { path: 'file.media.image.image.urlExpirationDate' },\n { path: 'file.media.image.previewImage.urlExpirationDate' },\n { path: 'file.media.video.urlExpirationDate' },\n { path: 'file.media.video.resolutions.urlExpirationDate' },\n { path: 'file.media.video.resolutions.poster.urlExpirationDate' },\n { path: 'file.media.video.posters.urlExpirationDate' },\n { path: 'file.media.audio.assets.urlExpirationDate' },\n { path: 'file.media.document.urlExpirationDate' },\n { path: 'file.media.document.thumbnail.urlExpirationDate' },\n { path: 'file.media.vector.image.urlExpirationDate' },\n { path: 'file.media.vector.previewImage.urlExpirationDate' },\n { path: 'file.media.archive.urlExpirationDate' },\n { path: 'file.media.model3d.urlExpirationDate' },\n { path: 'file.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'file.media.icon.image.urlExpirationDate' },\n { path: 'file.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'file.media.image.image.focalPoint.x' },\n { path: 'file.media.image.image.focalPoint.y' },\n { path: 'file.media.image.faces.confidence' },\n { path: 'file.media.image.previewImage.focalPoint.x' },\n { path: 'file.media.image.previewImage.focalPoint.y' },\n { path: 'file.media.video.resolutions.poster.focalPoint.x' },\n { path: 'file.media.video.resolutions.poster.focalPoint.y' },\n { path: 'file.media.video.posters.focalPoint.x' },\n { path: 'file.media.video.posters.focalPoint.y' },\n { path: 'file.media.document.thumbnail.focalPoint.x' },\n { path: 'file.media.document.thumbnail.focalPoint.y' },\n { path: 'file.media.vector.image.focalPoint.x' },\n { path: 'file.media.vector.image.focalPoint.y' },\n { path: 'file.media.vector.faces.confidence' },\n { path: 'file.media.vector.previewImage.focalPoint.x' },\n { path: 'file.media.vector.previewImage.focalPoint.y' },\n { path: 'file.media.model3d.thumbnail.focalPoint.x' },\n { path: 'file.media.model3d.thumbnail.focalPoint.y' },\n { path: 'file.media.icon.image.focalPoint.x' },\n { path: 'file.media.icon.image.focalPoint.y' },\n { path: 'file.media.icon.faces.confidence' },\n { path: 'file.media.icon.previewImage.focalPoint.x' },\n { path: 'file.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __importFile;\n}\n\n/**\n * Imports a bulk of files to the Media Manager using external urls. <br/>\n *\n * Returns information about the imported files.\n *\n * Use the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.\n * If no folder is specified, the file is imported to the `media-root` folder.\n *\n * >**Notes:**\n * > - The `media` property isn't returned in the `files` response object.\n * > - When you import a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).\n *\n * To import files, you need to do one of the following for each file:\n * - Specify its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.\n * - Include its extension in either the `displayName` or `url` field of the request. For example, `displayName: 'Example Image.jpeg` or `url: https://www.example.com/image.jpeg`.\n * - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.\n * > **Note:** If you want to validate the media type, specify the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.\n * @deprecated It has been replaced with com.wix.media.site_media.v1.FilesService.BulkImportFile(), and will be removed on 2024-03-31.\n */\nexport function bulkImportFiles(payload: object): RequestOptionsFactory<any> {\n function __bulkImportFiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.BulkImportFiles',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\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: 'files.createdDate' },\n { path: 'files.updatedDate' },\n { path: 'files.lastUsedDate' },\n { path: 'files.media.image.image.urlExpirationDate' },\n { path: 'files.media.image.previewImage.urlExpirationDate' },\n { path: 'files.media.video.urlExpirationDate' },\n { path: 'files.media.video.resolutions.urlExpirationDate' },\n {\n path: 'files.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'files.media.video.posters.urlExpirationDate' },\n { path: 'files.media.audio.assets.urlExpirationDate' },\n { path: 'files.media.document.urlExpirationDate' },\n { path: 'files.media.document.thumbnail.urlExpirationDate' },\n { path: 'files.media.vector.image.urlExpirationDate' },\n { path: 'files.media.vector.previewImage.urlExpirationDate' },\n { path: 'files.media.archive.urlExpirationDate' },\n { path: 'files.media.model3d.urlExpirationDate' },\n { path: 'files.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'files.media.icon.image.urlExpirationDate' },\n { path: 'files.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'files.media.image.image.focalPoint.x' },\n { path: 'files.media.image.image.focalPoint.y' },\n { path: 'files.media.image.faces.confidence' },\n { path: 'files.media.image.previewImage.focalPoint.x' },\n { path: 'files.media.image.previewImage.focalPoint.y' },\n { path: 'files.media.video.resolutions.poster.focalPoint.x' },\n { path: 'files.media.video.resolutions.poster.focalPoint.y' },\n { path: 'files.media.video.posters.focalPoint.x' },\n { path: 'files.media.video.posters.focalPoint.y' },\n { path: 'files.media.document.thumbnail.focalPoint.x' },\n { path: 'files.media.document.thumbnail.focalPoint.y' },\n { path: 'files.media.vector.image.focalPoint.x' },\n { path: 'files.media.vector.image.focalPoint.y' },\n { path: 'files.media.vector.faces.confidence' },\n { path: 'files.media.vector.previewImage.focalPoint.x' },\n { path: 'files.media.vector.previewImage.focalPoint.y' },\n { path: 'files.media.model3d.thumbnail.focalPoint.x' },\n { path: 'files.media.model3d.thumbnail.focalPoint.y' },\n { path: 'files.media.icon.image.focalPoint.x' },\n { path: 'files.media.icon.image.focalPoint.y' },\n { path: 'files.media.icon.faces.confidence' },\n { path: 'files.media.icon.previewImage.focalPoint.x' },\n { path: 'files.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkImportFiles;\n}\n\n/**\n * Imports a bulk of files to the Media Manager using external urls. <br/>\n *\n * Returns information about the imported files.\n *\n * Specify the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.\n * If no folder is specified, the file is imported to the `media-root` folder.\n *\n * >**Notes:**\n * > - The `media` property isn't returned in the `files` response object.\n * > - When you import a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).\n *\n * To import files, you need to do one of the following for each file:\n * - Specify its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.\n * - Include its extension in either the `displayName` or `url` field of the request. For example, `displayName: 'Example Image.jpeg` or `url: https://www.example.com/image.jpeg`.\n * - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.\n * > **Note:** If you want to validate the media type, specify the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.\n */\nexport function bulkImportFile(payload: object): RequestOptionsFactory<any> {\n function __bulkImportFile({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.BulkImportFile',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/bulk/files/import-v2',\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.lastUsedDate' },\n { path: 'results.item.media.image.image.urlExpirationDate' },\n {\n path: 'results.item.media.image.previewImage.urlExpirationDate',\n },\n { path: 'results.item.media.video.urlExpirationDate' },\n {\n path: 'results.item.media.video.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'results.item.media.video.posters.urlExpirationDate' },\n { path: 'results.item.media.audio.assets.urlExpirationDate' },\n { path: 'results.item.media.document.urlExpirationDate' },\n {\n path: 'results.item.media.document.thumbnail.urlExpirationDate',\n },\n { path: 'results.item.media.vector.image.urlExpirationDate' },\n {\n path: 'results.item.media.vector.previewImage.urlExpirationDate',\n },\n { path: 'results.item.media.archive.urlExpirationDate' },\n { path: 'results.item.media.model3d.urlExpirationDate' },\n {\n path: 'results.item.media.model3d.thumbnail.urlExpirationDate',\n },\n { path: 'results.item.media.icon.image.urlExpirationDate' },\n {\n path: 'results.item.media.icon.previewImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.media.image.image.focalPoint.x' },\n { path: 'results.item.media.image.image.focalPoint.y' },\n { path: 'results.item.media.image.faces.confidence' },\n { path: 'results.item.media.image.previewImage.focalPoint.x' },\n { path: 'results.item.media.image.previewImage.focalPoint.y' },\n {\n path: 'results.item.media.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.media.video.resolutions.poster.focalPoint.y',\n },\n { path: 'results.item.media.video.posters.focalPoint.x' },\n { path: 'results.item.media.video.posters.focalPoint.y' },\n { path: 'results.item.media.document.thumbnail.focalPoint.x' },\n { path: 'results.item.media.document.thumbnail.focalPoint.y' },\n { path: 'results.item.media.vector.image.focalPoint.x' },\n { path: 'results.item.media.vector.image.focalPoint.y' },\n { path: 'results.item.media.vector.faces.confidence' },\n { path: 'results.item.media.vector.previewImage.focalPoint.x' },\n { path: 'results.item.media.vector.previewImage.focalPoint.y' },\n { path: 'results.item.media.model3d.thumbnail.focalPoint.x' },\n { path: 'results.item.media.model3d.thumbnail.focalPoint.y' },\n { path: 'results.item.media.icon.image.focalPoint.x' },\n { path: 'results.item.media.icon.image.focalPoint.y' },\n { path: 'results.item.media.icon.faces.confidence' },\n { path: 'results.item.media.icon.previewImage.focalPoint.x' },\n { path: 'results.item.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkImportFile;\n}\n\n/**\n * Retrieves a list of files in the Media Manager.\n *\n * To retrieve a list of files within a specific folder in the Media Manager, specify the folder's ID in the `parentFolderId` parameter. If no folder is specified, the method retrieves the list of files in the root folder of the Media Manager.\n */\nexport function listFiles(payload: object): RequestOptionsFactory<any> {\n function __listFiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'GET' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.ListFiles',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'files.createdDate' },\n { path: 'files.updatedDate' },\n { path: 'files.lastUsedDate' },\n { path: 'files.media.image.image.urlExpirationDate' },\n { path: 'files.media.image.previewImage.urlExpirationDate' },\n { path: 'files.media.video.urlExpirationDate' },\n { path: 'files.media.video.resolutions.urlExpirationDate' },\n {\n path: 'files.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'files.media.video.posters.urlExpirationDate' },\n { path: 'files.media.audio.assets.urlExpirationDate' },\n { path: 'files.media.document.urlExpirationDate' },\n { path: 'files.media.document.thumbnail.urlExpirationDate' },\n { path: 'files.media.vector.image.urlExpirationDate' },\n { path: 'files.media.vector.previewImage.urlExpirationDate' },\n { path: 'files.media.archive.urlExpirationDate' },\n { path: 'files.media.model3d.urlExpirationDate' },\n { path: 'files.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'files.media.icon.image.urlExpirationDate' },\n { path: 'files.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'files.media.image.image.focalPoint.x' },\n { path: 'files.media.image.image.focalPoint.y' },\n { path: 'files.media.image.faces.confidence' },\n { path: 'files.media.image.previewImage.focalPoint.x' },\n { path: 'files.media.image.previewImage.focalPoint.y' },\n { path: 'files.media.video.resolutions.poster.focalPoint.x' },\n { path: 'files.media.video.resolutions.poster.focalPoint.y' },\n { path: 'files.media.video.posters.focalPoint.x' },\n { path: 'files.media.video.posters.focalPoint.y' },\n { path: 'files.media.document.thumbnail.focalPoint.x' },\n { path: 'files.media.document.thumbnail.focalPoint.y' },\n { path: 'files.media.vector.image.focalPoint.x' },\n { path: 'files.media.vector.image.focalPoint.y' },\n { path: 'files.media.vector.faces.confidence' },\n { path: 'files.media.vector.previewImage.focalPoint.x' },\n { path: 'files.media.vector.previewImage.focalPoint.y' },\n { path: 'files.media.model3d.thumbnail.focalPoint.x' },\n { path: 'files.media.model3d.thumbnail.focalPoint.y' },\n { path: 'files.media.icon.image.focalPoint.x' },\n { path: 'files.media.icon.image.focalPoint.y' },\n { path: 'files.media.icon.faces.confidence' },\n { path: 'files.media.icon.previewImage.focalPoint.x' },\n { path: 'files.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listFiles;\n}\n\n/**\n * Searches all folders in the Media Manager and returns a list of files that match the terms specified in the parameters. <br/>\n *\n * If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.\n */\nexport function searchFiles(payload: object): RequestOptionsFactory<any> {\n function __searchFiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.SearchFiles',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/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: 'files.createdDate' },\n { path: 'files.updatedDate' },\n { path: 'files.lastUsedDate' },\n { path: 'files.media.image.image.urlExpirationDate' },\n { path: 'files.media.image.previewImage.urlExpirationDate' },\n { path: 'files.media.video.urlExpirationDate' },\n { path: 'files.media.video.resolutions.urlExpirationDate' },\n {\n path: 'files.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'files.media.video.posters.urlExpirationDate' },\n { path: 'files.media.audio.assets.urlExpirationDate' },\n { path: 'files.media.document.urlExpirationDate' },\n { path: 'files.media.document.thumbnail.urlExpirationDate' },\n { path: 'files.media.vector.image.urlExpirationDate' },\n { path: 'files.media.vector.previewImage.urlExpirationDate' },\n { path: 'files.media.archive.urlExpirationDate' },\n { path: 'files.media.model3d.urlExpirationDate' },\n { path: 'files.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'files.media.icon.image.urlExpirationDate' },\n { path: 'files.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'files.media.image.image.focalPoint.x' },\n { path: 'files.media.image.image.focalPoint.y' },\n { path: 'files.media.image.faces.confidence' },\n { path: 'files.media.image.previewImage.focalPoint.x' },\n { path: 'files.media.image.previewImage.focalPoint.y' },\n { path: 'files.media.video.resolutions.poster.focalPoint.x' },\n { path: 'files.media.video.resolutions.poster.focalPoint.y' },\n { path: 'files.media.video.posters.focalPoint.x' },\n { path: 'files.media.video.posters.focalPoint.y' },\n { path: 'files.media.document.thumbnail.focalPoint.x' },\n { path: 'files.media.document.thumbnail.focalPoint.y' },\n { path: 'files.media.vector.image.focalPoint.x' },\n { path: 'files.media.vector.image.focalPoint.y' },\n { path: 'files.media.vector.faces.confidence' },\n { path: 'files.media.vector.previewImage.focalPoint.x' },\n { path: 'files.media.vector.previewImage.focalPoint.y' },\n { path: 'files.media.model3d.thumbnail.focalPoint.x' },\n { path: 'files.media.model3d.thumbnail.focalPoint.y' },\n { path: 'files.media.icon.image.focalPoint.x' },\n { path: 'files.media.icon.image.focalPoint.y' },\n { path: 'files.media.icon.faces.confidence' },\n { path: 'files.media.icon.previewImage.focalPoint.x' },\n { path: 'files.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __searchFiles;\n}\n\n/**\n * Generates a URL for streaming a specific video file in the Media Manager. <br/>\n *\n * To stream different assets of the file, specify the `assetKeys` parameter which generates a video streaming URL for each asset. If no assetKey is specified, it defaults to `src`, which generates one video streaming URL in the original file's format and quality.\n */\nexport function generateVideoStreamingUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __generateVideoStreamingUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.GenerateVideoStreamingUrl',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/generate-video-stream-url',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __generateVideoStreamingUrl;\n}\n\n/**\n * Deletes the specified files from the Media Manager. <br/>\n *\n * The deleted files are moved to the Media Manager's trash bin (`TRASH-ROOT` folder) unless permanently deleted. To permanently delete files, specify the `permanent` parameter with the value `true`. Permanently deleting files isn't reversible, so make sure that these files aren't being used in a site or in any other way as the files will no longer be accessible.\n *\n * Note the following:\n * * The specified files can be from different folders.\n * * Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.\n * * Attempting to delete files that are already in the trash bin doesn't result in an error.\n * * If a site contains deleted media files, the deleted media files still appear on the site as the files are still in the Media Manager (in the trash bin).\n * * You can use Bulk Restore Files From Trash Bin to restore files from the Media Manager's trash bin.\n */\nexport function bulkDeleteFiles(payload: object): RequestOptionsFactory<any> {\n function __bulkDeleteFiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.BulkDeleteFiles',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/bulk/files/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteFiles;\n}\n\n/** Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager. */\nexport function bulkRestoreFilesFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkRestoreFilesFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.BulkRestoreFilesFromTrashBin',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/bulk/trash-bin/files/restore',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkRestoreFilesFromTrashBin;\n}\n\n/**\n * Retrieves a list of files in the Media Manager's trash bin. <br/>\n *\n * >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.\n */\nexport function listDeletedFiles(payload: object): RequestOptionsFactory<any> {\n function __listDeletedFiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'GET' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.ListDeletedFiles',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/trash-bin/files',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'files.createdDate' },\n { path: 'files.updatedDate' },\n { path: 'files.lastUsedDate' },\n { path: 'files.media.image.image.urlExpirationDate' },\n { path: 'files.media.image.previewImage.urlExpirationDate' },\n { path: 'files.media.video.urlExpirationDate' },\n { path: 'files.media.video.resolutions.urlExpirationDate' },\n {\n path: 'files.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'files.media.video.posters.urlExpirationDate' },\n { path: 'files.media.audio.assets.urlExpirationDate' },\n { path: 'files.media.document.urlExpirationDate' },\n { path: 'files.media.document.thumbnail.urlExpirationDate' },\n { path: 'files.media.vector.image.urlExpirationDate' },\n { path: 'files.media.vector.previewImage.urlExpirationDate' },\n { path: 'files.media.archive.urlExpirationDate' },\n { path: 'files.media.model3d.urlExpirationDate' },\n { path: 'files.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'files.media.icon.image.urlExpirationDate' },\n { path: 'files.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'files.media.image.image.focalPoint.x' },\n { path: 'files.media.image.image.focalPoint.y' },\n { path: 'files.media.image.faces.confidence' },\n { path: 'files.media.image.previewImage.focalPoint.x' },\n { path: 'files.media.image.previewImage.focalPoint.y' },\n { path: 'files.media.video.resolutions.poster.focalPoint.x' },\n { path: 'files.media.video.resolutions.poster.focalPoint.y' },\n { path: 'files.media.video.posters.focalPoint.x' },\n { path: 'files.media.video.posters.focalPoint.y' },\n { path: 'files.media.document.thumbnail.focalPoint.x' },\n { path: 'files.media.document.thumbnail.focalPoint.y' },\n { path: 'files.media.vector.image.focalPoint.x' },\n { path: 'files.media.vector.image.focalPoint.y' },\n { path: 'files.media.vector.faces.confidence' },\n { path: 'files.media.vector.previewImage.focalPoint.x' },\n { path: 'files.media.vector.previewImage.focalPoint.y' },\n { path: 'files.media.model3d.thumbnail.focalPoint.x' },\n { path: 'files.media.model3d.thumbnail.focalPoint.y' },\n { path: 'files.media.icon.image.focalPoint.x' },\n { path: 'files.media.icon.image.focalPoint.y' },\n { path: 'files.media.icon.faces.confidence' },\n { path: 'files.media.icon.previewImage.focalPoint.x' },\n { path: 'files.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listDeletedFiles;\n}\n","import * as ambassadorWixMediaSiteMediaV1FileDescriptor from './media-site-media-v1-file-descriptor-files.http.js';\nimport * as ambassadorWixMediaSiteMediaV1FileDescriptorTypes from './media-site-media-v1-file-descriptor-files.types.js';\nimport * as ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes from './media-site-media-v1-file-descriptor-files.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 generateFilesDownloadUrl(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFilesDownloadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFilesDownloadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFilesDownloadUrlResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFilesDownloadUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.generateFilesDownloadUrl(\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/files/generate-download-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 generateFileDownloadUrl(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileDownloadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileDownloadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileDownloadUrlResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileDownloadUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.generateFileDownloadUrl(\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/files/generate-file-download-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 getFileDescriptor(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GetFileDescriptorRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GetFileDescriptorRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GetFileDescriptorResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GetFileDescriptorResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.getFileDescriptor(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/files/get-file-by-id',\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 getFileDescriptors(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GetFileDescriptorsRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GetFileDescriptorsRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GetFileDescriptorsResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GetFileDescriptorsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.getFileDescriptors(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/files/get-files',\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 updateFileDescriptor(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.UpdateFileDescriptorRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.UpdateFileDescriptorRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.UpdateFileDescriptorResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.UpdateFileDescriptorResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.updateFileDescriptor(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/files/update-file-descriptor',\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 ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileUploadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileUploadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileUploadUrlResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileUploadUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.generateFileUploadUrl(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/files/generate-upload-url',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function generateFileResumableUploadUrl(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileResumableUploadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileResumableUploadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileResumableUploadUrlResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileResumableUploadUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.generateFileResumableUploadUrl(\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/files/generate-resumable-upload-url',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function importFile(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ImportFileRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ImportFileRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ImportFileResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ImportFileResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.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/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 bulkImportFiles(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkImportFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkImportFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkImportFilesResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkImportFilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.bulkImportFiles(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/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 bulkImportFile(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkImportFileRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkImportFileRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkImportFileResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkImportFileResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.bulkImportFile(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/files/import-v2',\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 listFiles(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ListFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ListFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ListFilesResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ListFilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.listFiles(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/files',\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 searchFiles(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.SearchFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.SearchFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.SearchFilesResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.SearchFilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.searchFiles(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/files/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 generateVideoStreamingUrl(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateVideoStreamingUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateVideoStreamingUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateVideoStreamingUrlResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateVideoStreamingUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.generateVideoStreamingUrl(\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/files/generate-video-stream-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 bulkDeleteFiles(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkDeleteFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkDeleteFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkDeleteFilesResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkDeleteFilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.bulkDeleteFiles(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/files/delete',\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 bulkRestoreFilesFromTrashBin(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkRestoreFilesFromTrashBinRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkRestoreFilesFromTrashBinRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkRestoreFilesFromTrashBinResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkRestoreFilesFromTrashBinResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.bulkRestoreFilesFromTrashBin(\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/trash-bin/files/restore',\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 listDeletedFiles(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ListDeletedFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ListDeletedFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ListDeletedFilesResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ListDeletedFilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.listDeletedFiles(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/trash-bin/files',\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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAAA;AAAA,EAAA,sBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,oCAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,sCAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,gCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,iBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,4BAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,6CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;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,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;A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BAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,gCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACwC;AAAA,IAC1C;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,oBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACwC,iBAAiB,OAAO;AAEtE,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":["bulkDeleteFiles","bulkImportFile","bulkImportFiles","bulkRestoreFilesFromTrashBin","generateFileDownloadUrl","generateFileResumableUploadUrl","generateFileUploadUrl","generateFilesDownloadUrl","generateVideoStreamingUrl","getFileDescriptor","getFileDescriptors","importFile","listDeletedFiles","listFiles","searchFiles","updateFileDescriptor","import_float","import_timestamp","import_rest_modules","payload","generateFilesDownloadUrl","generateFileDownloadUrl","getFileDescriptor","getFileDescriptors","updateFileDescriptor","generateFileUploadUrl","generateFileResumableUploadUrl","importFile","bulkImportFiles","bulkImportFile","listFiles","searchFiles","generateVideoStreamingUrl","bulkDeleteFiles","bulkRestoreFilesFromTrashBin","listDeletedFiles"]}
1
+ {"version":3,"sources":["../../meta.ts","../../src/media-site-media-v1-file-descriptor-files.http.ts","../../src/media-site-media-v1-file-descriptor-files.meta.ts"],"sourcesContent":["export * from './src/media-site-media-v1-file-descriptor-files.meta.js';\n","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 resolveComWixMediaSiteMediaV1FilesServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'apps._base_domain_': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '/api',\n },\n {\n srcPath: '/_api/wix-privatemedia-proxy-server/v1',\n destPath: '/v1',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/site-media/v1',\n destPath: '/v1',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n 'platform.rise.ai': [\n {\n srcPath: '/_api/wix-privatemedia-proxy-server',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_media_files';\n\n/**\n * Generates a URL for downloading a compressed file containing specific files in the Media Manager.\n *\n * The compressed file can contain up to 1000 files.\n *\n * To generate a permanent URL for downloading a compressed file that contains multiple files in the Media Manager, call the Generate Files Download URL endpoint.\n * Since this is a permanent URL, it is less secure.\n * Therefore, to download private files, call the Generate File Download URL endpoint for each private file that you want to generate a download URL for.\n */\nexport function generateFilesDownloadUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __generateFilesDownloadUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.GenerateFilesDownloadUrl',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/generate-download-url',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __generateFilesDownloadUrl;\n}\n\n/**\n * Generates one or more temporary URLs for downloading a specific file in the Media Manager.\n *\n * To download different assets of the file, specify the `assetKeys` parameter which generates a download URL for each asset.\n * If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.\n *\n * Call this endpoint to grant external clients access to a private media file. Specify the `expirationInMinutes` parameter to set the URL expiration time, and the `expirationRedirectUrl` parameter to add a redirect url when the URL expires.\n *\n * To generate a permanent URL for downloading a compressed file that contains multiple files in the Media Manager, call the Generate Files Download URL endpoint.\n * Since this is a permanent URL, it is less secure.\n * Therefore, to download private files, call the Generate File Download URL endpoint for each private file that you want to generate a download URL for.\n */\nexport function generateFileDownloadUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __generateFileDownloadUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.GenerateFileDownloadUrl',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/generate-file-download-url',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __generateFileDownloadUrl;\n}\n\n/** Gets information about a specific file in the Media Manager. */\nexport function getFileDescriptor(payload: object): RequestOptionsFactory<any> {\n function __getFileDescriptor({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'GET' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.GetFileDescriptor',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/get-file-by-id',\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: 'file.createdDate' },\n { path: 'file.updatedDate' },\n { path: 'file.lastUsedDate' },\n { path: 'file.media.image.image.urlExpirationDate' },\n { path: 'file.media.image.previewImage.urlExpirationDate' },\n { path: 'file.media.video.urlExpirationDate' },\n { path: 'file.media.video.resolutions.urlExpirationDate' },\n { path: 'file.media.video.resolutions.poster.urlExpirationDate' },\n { path: 'file.media.video.posters.urlExpirationDate' },\n { path: 'file.media.audio.assets.urlExpirationDate' },\n { path: 'file.media.document.urlExpirationDate' },\n { path: 'file.media.document.thumbnail.urlExpirationDate' },\n { path: 'file.media.vector.image.urlExpirationDate' },\n { path: 'file.media.vector.previewImage.urlExpirationDate' },\n { path: 'file.media.archive.urlExpirationDate' },\n { path: 'file.media.model3d.urlExpirationDate' },\n { path: 'file.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'file.media.icon.image.urlExpirationDate' },\n { path: 'file.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'file.media.image.image.focalPoint.x' },\n { path: 'file.media.image.image.focalPoint.y' },\n { path: 'file.media.image.faces.confidence' },\n { path: 'file.media.image.previewImage.focalPoint.x' },\n { path: 'file.media.image.previewImage.focalPoint.y' },\n { path: 'file.media.video.resolutions.poster.focalPoint.x' },\n { path: 'file.media.video.resolutions.poster.focalPoint.y' },\n { path: 'file.media.video.posters.focalPoint.x' },\n { path: 'file.media.video.posters.focalPoint.y' },\n { path: 'file.media.document.thumbnail.focalPoint.x' },\n { path: 'file.media.document.thumbnail.focalPoint.y' },\n { path: 'file.media.vector.image.focalPoint.x' },\n { path: 'file.media.vector.image.focalPoint.y' },\n { path: 'file.media.vector.faces.confidence' },\n { path: 'file.media.vector.previewImage.focalPoint.x' },\n { path: 'file.media.vector.previewImage.focalPoint.y' },\n { path: 'file.media.model3d.thumbnail.focalPoint.x' },\n { path: 'file.media.model3d.thumbnail.focalPoint.y' },\n { path: 'file.media.icon.image.focalPoint.x' },\n { path: 'file.media.icon.image.focalPoint.y' },\n { path: 'file.media.icon.faces.confidence' },\n { path: 'file.media.icon.previewImage.focalPoint.x' },\n { path: 'file.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'GET' as any,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/get-file-by-id',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n },\n ],\n };\n\n return metadata;\n }\n\n return __getFileDescriptor;\n}\n\n/** Gets information about specific files in the Media Manager. */\nexport function getFileDescriptors(\n payload: object\n): RequestOptionsFactory<any> {\n function __getFileDescriptors({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.GetFileDescriptors',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/get-files',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'files.createdDate' },\n { path: 'files.updatedDate' },\n { path: 'files.lastUsedDate' },\n { path: 'files.media.image.image.urlExpirationDate' },\n { path: 'files.media.image.previewImage.urlExpirationDate' },\n { path: 'files.media.video.urlExpirationDate' },\n { path: 'files.media.video.resolutions.urlExpirationDate' },\n {\n path: 'files.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'files.media.video.posters.urlExpirationDate' },\n { path: 'files.media.audio.assets.urlExpirationDate' },\n { path: 'files.media.document.urlExpirationDate' },\n { path: 'files.media.document.thumbnail.urlExpirationDate' },\n { path: 'files.media.vector.image.urlExpirationDate' },\n { path: 'files.media.vector.previewImage.urlExpirationDate' },\n { path: 'files.media.archive.urlExpirationDate' },\n { path: 'files.media.model3d.urlExpirationDate' },\n { path: 'files.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'files.media.icon.image.urlExpirationDate' },\n { path: 'files.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'files.media.image.image.focalPoint.x' },\n { path: 'files.media.image.image.focalPoint.y' },\n { path: 'files.media.image.faces.confidence' },\n { path: 'files.media.image.previewImage.focalPoint.x' },\n { path: 'files.media.image.previewImage.focalPoint.y' },\n { path: 'files.media.video.resolutions.poster.focalPoint.x' },\n { path: 'files.media.video.resolutions.poster.focalPoint.y' },\n { path: 'files.media.video.posters.focalPoint.x' },\n { path: 'files.media.video.posters.focalPoint.y' },\n { path: 'files.media.document.thumbnail.focalPoint.x' },\n { path: 'files.media.document.thumbnail.focalPoint.y' },\n { path: 'files.media.vector.image.focalPoint.x' },\n { path: 'files.media.vector.image.focalPoint.y' },\n { path: 'files.media.vector.faces.confidence' },\n { path: 'files.media.vector.previewImage.focalPoint.x' },\n { path: 'files.media.vector.previewImage.focalPoint.y' },\n { path: 'files.media.model3d.thumbnail.focalPoint.x' },\n { path: 'files.media.model3d.thumbnail.focalPoint.y' },\n { path: 'files.media.icon.image.focalPoint.x' },\n { path: 'files.media.icon.image.focalPoint.y' },\n { path: 'files.media.icon.faces.confidence' },\n { path: 'files.media.icon.previewImage.focalPoint.x' },\n { path: 'files.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getFileDescriptors;\n}\n\n/**\n * Updates a file. <br />\n *\n * Specify the `parentFolderId` parameter to move a file from its current folder to a different folder.\n */\nexport function updateFileDescriptor(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateFileDescriptor({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'file.createdDate' },\n { path: 'file.updatedDate' },\n { path: 'file.lastUsedDate' },\n { path: 'file.media.image.image.urlExpirationDate' },\n { path: 'file.media.image.previewImage.urlExpirationDate' },\n { path: 'file.media.video.urlExpirationDate' },\n { path: 'file.media.video.resolutions.urlExpirationDate' },\n { path: 'file.media.video.resolutions.poster.urlExpirationDate' },\n { path: 'file.media.video.posters.urlExpirationDate' },\n { path: 'file.media.audio.assets.urlExpirationDate' },\n { path: 'file.media.document.urlExpirationDate' },\n { path: 'file.media.document.thumbnail.urlExpirationDate' },\n { path: 'file.media.vector.image.urlExpirationDate' },\n { path: 'file.media.vector.previewImage.urlExpirationDate' },\n { path: 'file.media.archive.urlExpirationDate' },\n { path: 'file.media.model3d.urlExpirationDate' },\n { path: 'file.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'file.media.icon.image.urlExpirationDate' },\n { path: 'file.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'file.media.image.image.focalPoint.x' },\n { path: 'file.media.image.image.focalPoint.y' },\n { path: 'file.media.image.faces.confidence' },\n { path: 'file.media.image.previewImage.focalPoint.x' },\n { path: 'file.media.image.previewImage.focalPoint.y' },\n { path: 'file.media.video.resolutions.poster.focalPoint.x' },\n { path: 'file.media.video.resolutions.poster.focalPoint.y' },\n { path: 'file.media.video.posters.focalPoint.x' },\n { path: 'file.media.video.posters.focalPoint.y' },\n { path: 'file.media.document.thumbnail.focalPoint.x' },\n { path: 'file.media.document.thumbnail.focalPoint.y' },\n { path: 'file.media.vector.image.focalPoint.x' },\n { path: 'file.media.vector.image.focalPoint.y' },\n { path: 'file.media.vector.faces.confidence' },\n { path: 'file.media.vector.previewImage.focalPoint.x' },\n { path: 'file.media.vector.previewImage.focalPoint.y' },\n { path: 'file.media.model3d.thumbnail.focalPoint.x' },\n { path: 'file.media.model3d.thumbnail.focalPoint.y' },\n { path: 'file.media.icon.image.focalPoint.x' },\n { path: 'file.media.icon.image.focalPoint.y' },\n { path: 'file.media.icon.faces.confidence' },\n { path: 'file.media.icon.previewImage.focalPoint.x' },\n { path: 'file.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.UpdateFileDescriptor',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/update-file-descriptor',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'file.createdDate' },\n { path: 'file.updatedDate' },\n { path: 'file.lastUsedDate' },\n { path: 'file.media.image.image.urlExpirationDate' },\n { path: 'file.media.image.previewImage.urlExpirationDate' },\n { path: 'file.media.video.urlExpirationDate' },\n { path: 'file.media.video.resolutions.urlExpirationDate' },\n { path: 'file.media.video.resolutions.poster.urlExpirationDate' },\n { path: 'file.media.video.posters.urlExpirationDate' },\n { path: 'file.media.audio.assets.urlExpirationDate' },\n { path: 'file.media.document.urlExpirationDate' },\n { path: 'file.media.document.thumbnail.urlExpirationDate' },\n { path: 'file.media.vector.image.urlExpirationDate' },\n { path: 'file.media.vector.previewImage.urlExpirationDate' },\n { path: 'file.media.archive.urlExpirationDate' },\n { path: 'file.media.model3d.urlExpirationDate' },\n { path: 'file.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'file.media.icon.image.urlExpirationDate' },\n { path: 'file.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'file.media.image.image.focalPoint.x' },\n { path: 'file.media.image.image.focalPoint.y' },\n { path: 'file.media.image.faces.confidence' },\n { path: 'file.media.image.previewImage.focalPoint.x' },\n { path: 'file.media.image.previewImage.focalPoint.y' },\n { path: 'file.media.video.resolutions.poster.focalPoint.x' },\n { path: 'file.media.video.resolutions.poster.focalPoint.y' },\n { path: 'file.media.video.posters.focalPoint.x' },\n { path: 'file.media.video.posters.focalPoint.y' },\n { path: 'file.media.document.thumbnail.focalPoint.x' },\n { path: 'file.media.document.thumbnail.focalPoint.y' },\n { path: 'file.media.vector.image.focalPoint.x' },\n { path: 'file.media.vector.image.focalPoint.y' },\n { path: 'file.media.vector.faces.confidence' },\n { path: 'file.media.vector.previewImage.focalPoint.x' },\n { path: 'file.media.vector.previewImage.focalPoint.y' },\n { path: 'file.media.model3d.thumbnail.focalPoint.x' },\n { path: 'file.media.model3d.thumbnail.focalPoint.y' },\n { path: 'file.media.icon.image.focalPoint.x' },\n { path: 'file.media.icon.image.focalPoint.y' },\n { path: 'file.media.icon.faces.confidence' },\n { path: 'file.media.icon.previewImage.focalPoint.x' },\n { path: 'file.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateFileDescriptor;\n}\n\n/**\n * Generates an upload URL to allow external clients to upload a file to the Media Manager. <br/>\n *\n * To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see Upload API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/upload-api) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/upload-api)).\n * > **Notes:**\n * > - When you upload a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).\n * > - Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, call Generate File Resumable Upload URL instead. With the resumable upload URL, any interruption in the upload process pauses the file upload, and resumes the file upload process after the interruption.\n */\nexport function generateFileUploadUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __generateFileUploadUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.GenerateFileUploadUrl',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/generate-upload-url',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __generateFileUploadUrl;\n}\n\n/**\n * Generates a resumable upload URL to allow external clients to easily upload large files over 10MB to the Media Manager. <br/>\n *\n * With the resumable upload URL, any interruptions in the upload process pauses the file upload, and resumes the file upload process after the interruption. The resumable upload URL is also helpful when network connection is poor.\n * To learn how external clients can use the generated upload URL in the response to upload large files to the Media Manager, see Resumable Upload API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/resumable-upload-api) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/resumable-upload-api)).\n *\n * > **Note:** When you upload a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).\n */\nexport function generateFileResumableUploadUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __generateFileResumableUploadUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.GenerateFileResumableUploadUrl',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/generate-resumable-upload-url',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __generateFileResumableUploadUrl;\n}\n\n/**\n * Imports a file to the Media Manager using an external url.\n *\n * Returns information about the imported file.\n * Specify the `parentFolderId` and `filePath` parameters to specify which folder you want the file to be imported to.\n * If no folder is specified, the file is imported to the `media-root` folder.\n *\n * >**Notes:**\n * > - The `media` property isn't returned in the `files` response object.\n * > - When you import a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).\n *\n * To import a file, you need to do one of the following:\n * - Specify its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.\n * - Specify its extension in either the `displayName` or `url` field of the request. For example, `displayName: 'Example Image.jpeg` or `url: https://www.example.com/image.jpeg`.\n * - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.\n * > **Note:** If you want to validate the media type, specify the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.\n */\nexport function importFile(payload: object): RequestOptionsFactory<any> {\n function __importFile({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.ImportFile',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/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: 'file.createdDate' },\n { path: 'file.updatedDate' },\n { path: 'file.lastUsedDate' },\n { path: 'file.media.image.image.urlExpirationDate' },\n { path: 'file.media.image.previewImage.urlExpirationDate' },\n { path: 'file.media.video.urlExpirationDate' },\n { path: 'file.media.video.resolutions.urlExpirationDate' },\n { path: 'file.media.video.resolutions.poster.urlExpirationDate' },\n { path: 'file.media.video.posters.urlExpirationDate' },\n { path: 'file.media.audio.assets.urlExpirationDate' },\n { path: 'file.media.document.urlExpirationDate' },\n { path: 'file.media.document.thumbnail.urlExpirationDate' },\n { path: 'file.media.vector.image.urlExpirationDate' },\n { path: 'file.media.vector.previewImage.urlExpirationDate' },\n { path: 'file.media.archive.urlExpirationDate' },\n { path: 'file.media.model3d.urlExpirationDate' },\n { path: 'file.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'file.media.icon.image.urlExpirationDate' },\n { path: 'file.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'file.media.image.image.focalPoint.x' },\n { path: 'file.media.image.image.focalPoint.y' },\n { path: 'file.media.image.faces.confidence' },\n { path: 'file.media.image.previewImage.focalPoint.x' },\n { path: 'file.media.image.previewImage.focalPoint.y' },\n { path: 'file.media.video.resolutions.poster.focalPoint.x' },\n { path: 'file.media.video.resolutions.poster.focalPoint.y' },\n { path: 'file.media.video.posters.focalPoint.x' },\n { path: 'file.media.video.posters.focalPoint.y' },\n { path: 'file.media.document.thumbnail.focalPoint.x' },\n { path: 'file.media.document.thumbnail.focalPoint.y' },\n { path: 'file.media.vector.image.focalPoint.x' },\n { path: 'file.media.vector.image.focalPoint.y' },\n { path: 'file.media.vector.faces.confidence' },\n { path: 'file.media.vector.previewImage.focalPoint.x' },\n { path: 'file.media.vector.previewImage.focalPoint.y' },\n { path: 'file.media.model3d.thumbnail.focalPoint.x' },\n { path: 'file.media.model3d.thumbnail.focalPoint.y' },\n { path: 'file.media.icon.image.focalPoint.x' },\n { path: 'file.media.icon.image.focalPoint.y' },\n { path: 'file.media.icon.faces.confidence' },\n { path: 'file.media.icon.previewImage.focalPoint.x' },\n { path: 'file.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __importFile;\n}\n\n/**\n * Imports a bulk of files to the Media Manager using external urls. <br/>\n *\n * Returns information about the imported files.\n *\n * Use the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.\n * If no folder is specified, the file is imported to the `media-root` folder.\n *\n * >**Notes:**\n * > - The `media` property isn't returned in the `files` response object.\n * > - When you import a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).\n *\n * To import files, you need to do one of the following for each file:\n * - Specify its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.\n * - Include its extension in either the `displayName` or `url` field of the request. For example, `displayName: 'Example Image.jpeg` or `url: https://www.example.com/image.jpeg`.\n * - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.\n * > **Note:** If you want to validate the media type, specify the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.\n * @deprecated It has been replaced with com.wix.media.site_media.v1.FilesService.BulkImportFile(), and will be removed on 2024-03-31.\n */\nexport function bulkImportFiles(payload: object): RequestOptionsFactory<any> {\n function __bulkImportFiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.BulkImportFiles',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\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: 'files.createdDate' },\n { path: 'files.updatedDate' },\n { path: 'files.lastUsedDate' },\n { path: 'files.media.image.image.urlExpirationDate' },\n { path: 'files.media.image.previewImage.urlExpirationDate' },\n { path: 'files.media.video.urlExpirationDate' },\n { path: 'files.media.video.resolutions.urlExpirationDate' },\n {\n path: 'files.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'files.media.video.posters.urlExpirationDate' },\n { path: 'files.media.audio.assets.urlExpirationDate' },\n { path: 'files.media.document.urlExpirationDate' },\n { path: 'files.media.document.thumbnail.urlExpirationDate' },\n { path: 'files.media.vector.image.urlExpirationDate' },\n { path: 'files.media.vector.previewImage.urlExpirationDate' },\n { path: 'files.media.archive.urlExpirationDate' },\n { path: 'files.media.model3d.urlExpirationDate' },\n { path: 'files.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'files.media.icon.image.urlExpirationDate' },\n { path: 'files.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'files.media.image.image.focalPoint.x' },\n { path: 'files.media.image.image.focalPoint.y' },\n { path: 'files.media.image.faces.confidence' },\n { path: 'files.media.image.previewImage.focalPoint.x' },\n { path: 'files.media.image.previewImage.focalPoint.y' },\n { path: 'files.media.video.resolutions.poster.focalPoint.x' },\n { path: 'files.media.video.resolutions.poster.focalPoint.y' },\n { path: 'files.media.video.posters.focalPoint.x' },\n { path: 'files.media.video.posters.focalPoint.y' },\n { path: 'files.media.document.thumbnail.focalPoint.x' },\n { path: 'files.media.document.thumbnail.focalPoint.y' },\n { path: 'files.media.vector.image.focalPoint.x' },\n { path: 'files.media.vector.image.focalPoint.y' },\n { path: 'files.media.vector.faces.confidence' },\n { path: 'files.media.vector.previewImage.focalPoint.x' },\n { path: 'files.media.vector.previewImage.focalPoint.y' },\n { path: 'files.media.model3d.thumbnail.focalPoint.x' },\n { path: 'files.media.model3d.thumbnail.focalPoint.y' },\n { path: 'files.media.icon.image.focalPoint.x' },\n { path: 'files.media.icon.image.focalPoint.y' },\n { path: 'files.media.icon.faces.confidence' },\n { path: 'files.media.icon.previewImage.focalPoint.x' },\n { path: 'files.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkImportFiles;\n}\n\n/**\n * Imports a bulk of files to the Media Manager using external urls. <br/>\n *\n * Returns information about the imported files.\n *\n * Specify the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.\n * If no folder is specified, the file is imported to the `media-root` folder.\n *\n * >**Notes:**\n * > - The `media` property isn't returned in the `files` response object.\n * > - When you import a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).\n *\n * To import files, you need to do one of the following for each file:\n * - Specify its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.\n * - Include its extension in either the `displayName` or `url` field of the request. For example, `displayName: 'Example Image.jpeg` or `url: https://www.example.com/image.jpeg`.\n * - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.\n * > **Note:** If you want to validate the media type, specify the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.\n */\nexport function bulkImportFile(payload: object): RequestOptionsFactory<any> {\n function __bulkImportFile({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.BulkImportFile',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/bulk/files/import-v2',\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.lastUsedDate' },\n { path: 'results.item.media.image.image.urlExpirationDate' },\n {\n path: 'results.item.media.image.previewImage.urlExpirationDate',\n },\n { path: 'results.item.media.video.urlExpirationDate' },\n {\n path: 'results.item.media.video.resolutions.urlExpirationDate',\n },\n {\n path: 'results.item.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'results.item.media.video.posters.urlExpirationDate' },\n { path: 'results.item.media.audio.assets.urlExpirationDate' },\n { path: 'results.item.media.document.urlExpirationDate' },\n {\n path: 'results.item.media.document.thumbnail.urlExpirationDate',\n },\n { path: 'results.item.media.vector.image.urlExpirationDate' },\n {\n path: 'results.item.media.vector.previewImage.urlExpirationDate',\n },\n { path: 'results.item.media.archive.urlExpirationDate' },\n { path: 'results.item.media.model3d.urlExpirationDate' },\n {\n path: 'results.item.media.model3d.thumbnail.urlExpirationDate',\n },\n { path: 'results.item.media.icon.image.urlExpirationDate' },\n {\n path: 'results.item.media.icon.previewImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.media.image.image.focalPoint.x' },\n { path: 'results.item.media.image.image.focalPoint.y' },\n { path: 'results.item.media.image.faces.confidence' },\n { path: 'results.item.media.image.previewImage.focalPoint.x' },\n { path: 'results.item.media.image.previewImage.focalPoint.y' },\n {\n path: 'results.item.media.video.resolutions.poster.focalPoint.x',\n },\n {\n path: 'results.item.media.video.resolutions.poster.focalPoint.y',\n },\n { path: 'results.item.media.video.posters.focalPoint.x' },\n { path: 'results.item.media.video.posters.focalPoint.y' },\n { path: 'results.item.media.document.thumbnail.focalPoint.x' },\n { path: 'results.item.media.document.thumbnail.focalPoint.y' },\n { path: 'results.item.media.vector.image.focalPoint.x' },\n { path: 'results.item.media.vector.image.focalPoint.y' },\n { path: 'results.item.media.vector.faces.confidence' },\n { path: 'results.item.media.vector.previewImage.focalPoint.x' },\n { path: 'results.item.media.vector.previewImage.focalPoint.y' },\n { path: 'results.item.media.model3d.thumbnail.focalPoint.x' },\n { path: 'results.item.media.model3d.thumbnail.focalPoint.y' },\n { path: 'results.item.media.icon.image.focalPoint.x' },\n { path: 'results.item.media.icon.image.focalPoint.y' },\n { path: 'results.item.media.icon.faces.confidence' },\n { path: 'results.item.media.icon.previewImage.focalPoint.x' },\n { path: 'results.item.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkImportFile;\n}\n\n/**\n * Retrieves a list of files in the Media Manager.\n *\n * To retrieve a list of files within a specific folder in the Media Manager, specify the folder's ID in the `parentFolderId` parameter. If no folder is specified, the method retrieves the list of files in the root folder of the Media Manager.\n */\nexport function listFiles(payload: object): RequestOptionsFactory<any> {\n function __listFiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'GET' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.ListFiles',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'files.createdDate' },\n { path: 'files.updatedDate' },\n { path: 'files.lastUsedDate' },\n { path: 'files.media.image.image.urlExpirationDate' },\n { path: 'files.media.image.previewImage.urlExpirationDate' },\n { path: 'files.media.video.urlExpirationDate' },\n { path: 'files.media.video.resolutions.urlExpirationDate' },\n {\n path: 'files.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'files.media.video.posters.urlExpirationDate' },\n { path: 'files.media.audio.assets.urlExpirationDate' },\n { path: 'files.media.document.urlExpirationDate' },\n { path: 'files.media.document.thumbnail.urlExpirationDate' },\n { path: 'files.media.vector.image.urlExpirationDate' },\n { path: 'files.media.vector.previewImage.urlExpirationDate' },\n { path: 'files.media.archive.urlExpirationDate' },\n { path: 'files.media.model3d.urlExpirationDate' },\n { path: 'files.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'files.media.icon.image.urlExpirationDate' },\n { path: 'files.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'files.media.image.image.focalPoint.x' },\n { path: 'files.media.image.image.focalPoint.y' },\n { path: 'files.media.image.faces.confidence' },\n { path: 'files.media.image.previewImage.focalPoint.x' },\n { path: 'files.media.image.previewImage.focalPoint.y' },\n { path: 'files.media.video.resolutions.poster.focalPoint.x' },\n { path: 'files.media.video.resolutions.poster.focalPoint.y' },\n { path: 'files.media.video.posters.focalPoint.x' },\n { path: 'files.media.video.posters.focalPoint.y' },\n { path: 'files.media.document.thumbnail.focalPoint.x' },\n { path: 'files.media.document.thumbnail.focalPoint.y' },\n { path: 'files.media.vector.image.focalPoint.x' },\n { path: 'files.media.vector.image.focalPoint.y' },\n { path: 'files.media.vector.faces.confidence' },\n { path: 'files.media.vector.previewImage.focalPoint.x' },\n { path: 'files.media.vector.previewImage.focalPoint.y' },\n { path: 'files.media.model3d.thumbnail.focalPoint.x' },\n { path: 'files.media.model3d.thumbnail.focalPoint.y' },\n { path: 'files.media.icon.image.focalPoint.x' },\n { path: 'files.media.icon.image.focalPoint.y' },\n { path: 'files.media.icon.faces.confidence' },\n { path: 'files.media.icon.previewImage.focalPoint.x' },\n { path: 'files.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listFiles;\n}\n\n/**\n * Retrieves a list of up to 200 files with the specified filtering, sorting, and cursor paging.\n *\n * If no parameters are specified, the method returns all files in the `MEDIA_ROOT` folder.\n *\n * ## Defaults\n *\n * Search Files has the following default setting, which you can override:\n * + Sorted by `updatedDate` in descending order.\n *\n * ## Filters\n *\n * When using filters for dates, you must use\n * [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).\n *\n * ## See also\n *\n * To learn about working with *Search* methods, see\n * _API Query Language_\n * ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/get-started/api-query-language))\n * and *Sorting and Paging*\n * ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging)).\n */\nexport function searchFiles(payload: object): RequestOptionsFactory<any> {\n function __searchFiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.SearchFiles',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/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: 'files.createdDate' },\n { path: 'files.updatedDate' },\n { path: 'files.lastUsedDate' },\n { path: 'files.media.image.image.urlExpirationDate' },\n { path: 'files.media.image.previewImage.urlExpirationDate' },\n { path: 'files.media.video.urlExpirationDate' },\n { path: 'files.media.video.resolutions.urlExpirationDate' },\n {\n path: 'files.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'files.media.video.posters.urlExpirationDate' },\n { path: 'files.media.audio.assets.urlExpirationDate' },\n { path: 'files.media.document.urlExpirationDate' },\n { path: 'files.media.document.thumbnail.urlExpirationDate' },\n { path: 'files.media.vector.image.urlExpirationDate' },\n { path: 'files.media.vector.previewImage.urlExpirationDate' },\n { path: 'files.media.archive.urlExpirationDate' },\n { path: 'files.media.model3d.urlExpirationDate' },\n { path: 'files.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'files.media.icon.image.urlExpirationDate' },\n { path: 'files.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'files.media.image.image.focalPoint.x' },\n { path: 'files.media.image.image.focalPoint.y' },\n { path: 'files.media.image.faces.confidence' },\n { path: 'files.media.image.previewImage.focalPoint.x' },\n { path: 'files.media.image.previewImage.focalPoint.y' },\n { path: 'files.media.video.resolutions.poster.focalPoint.x' },\n { path: 'files.media.video.resolutions.poster.focalPoint.y' },\n { path: 'files.media.video.posters.focalPoint.x' },\n { path: 'files.media.video.posters.focalPoint.y' },\n { path: 'files.media.document.thumbnail.focalPoint.x' },\n { path: 'files.media.document.thumbnail.focalPoint.y' },\n { path: 'files.media.vector.image.focalPoint.x' },\n { path: 'files.media.vector.image.focalPoint.y' },\n { path: 'files.media.vector.faces.confidence' },\n { path: 'files.media.vector.previewImage.focalPoint.x' },\n { path: 'files.media.vector.previewImage.focalPoint.y' },\n { path: 'files.media.model3d.thumbnail.focalPoint.x' },\n { path: 'files.media.model3d.thumbnail.focalPoint.y' },\n { path: 'files.media.icon.image.focalPoint.x' },\n { path: 'files.media.icon.image.focalPoint.y' },\n { path: 'files.media.icon.faces.confidence' },\n { path: 'files.media.icon.previewImage.focalPoint.x' },\n { path: 'files.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __searchFiles;\n}\n\n/**\n * Generates a URL for streaming a specific video file in the Media Manager. <br/>\n *\n * To stream different assets of the file, specify the `assetKeys` parameter which generates a video streaming URL for each asset. If no assetKey is specified, it defaults to `src`, which generates one video streaming URL in the original file's format and quality.\n */\nexport function generateVideoStreamingUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __generateVideoStreamingUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.GenerateVideoStreamingUrl',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/files/generate-video-stream-url',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __generateVideoStreamingUrl;\n}\n\n/**\n * Deletes the specified files from the Media Manager. <br/>\n *\n * The deleted files are moved to the Media Manager's trash bin (`TRASH-ROOT` folder) unless permanently deleted. To permanently delete files, specify the `permanent` parameter with the value `true`. Permanently deleting files isn't reversible, so make sure that these files aren't being used in a site or in any other way as the files will no longer be accessible.\n *\n * Note the following:\n * * The specified files can be from different folders.\n * * Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.\n * * Attempting to delete files that are already in the trash bin doesn't result in an error.\n * * If a site contains deleted media files, the deleted media files still appear on the site as the files are still in the Media Manager (in the trash bin).\n * * You can use Bulk Restore Files From Trash Bin to restore files from the Media Manager's trash bin.\n */\nexport function bulkDeleteFiles(payload: object): RequestOptionsFactory<any> {\n function __bulkDeleteFiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.BulkDeleteFiles',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/bulk/files/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteFiles;\n}\n\n/** Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager. */\nexport function bulkRestoreFilesFromTrashBin(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkRestoreFilesFromTrashBin({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'POST' as any,\n methodFqn:\n 'com.wix.media.site_media.v1.FilesService.BulkRestoreFilesFromTrashBin',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/bulk/trash-bin/files/restore',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkRestoreFilesFromTrashBin;\n}\n\n/**\n * Retrieves a list of files in the Media Manager's trash bin. <br/>\n *\n * >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.\n */\nexport function listDeletedFiles(payload: object): RequestOptionsFactory<any> {\n function __listDeletedFiles({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.media.site_media.v1.file_descriptor',\n method: 'GET' as any,\n methodFqn: 'com.wix.media.site_media.v1.FilesService.ListDeletedFiles',\n packageName: PACKAGE_NAME,\n url: resolveComWixMediaSiteMediaV1FilesServiceUrl({\n protoPath: '/v1/trash-bin/files',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'files.createdDate' },\n { path: 'files.updatedDate' },\n { path: 'files.lastUsedDate' },\n { path: 'files.media.image.image.urlExpirationDate' },\n { path: 'files.media.image.previewImage.urlExpirationDate' },\n { path: 'files.media.video.urlExpirationDate' },\n { path: 'files.media.video.resolutions.urlExpirationDate' },\n {\n path: 'files.media.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'files.media.video.posters.urlExpirationDate' },\n { path: 'files.media.audio.assets.urlExpirationDate' },\n { path: 'files.media.document.urlExpirationDate' },\n { path: 'files.media.document.thumbnail.urlExpirationDate' },\n { path: 'files.media.vector.image.urlExpirationDate' },\n { path: 'files.media.vector.previewImage.urlExpirationDate' },\n { path: 'files.media.archive.urlExpirationDate' },\n { path: 'files.media.model3d.urlExpirationDate' },\n { path: 'files.media.model3d.thumbnail.urlExpirationDate' },\n { path: 'files.media.icon.image.urlExpirationDate' },\n { path: 'files.media.icon.previewImage.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'files.media.image.image.focalPoint.x' },\n { path: 'files.media.image.image.focalPoint.y' },\n { path: 'files.media.image.faces.confidence' },\n { path: 'files.media.image.previewImage.focalPoint.x' },\n { path: 'files.media.image.previewImage.focalPoint.y' },\n { path: 'files.media.video.resolutions.poster.focalPoint.x' },\n { path: 'files.media.video.resolutions.poster.focalPoint.y' },\n { path: 'files.media.video.posters.focalPoint.x' },\n { path: 'files.media.video.posters.focalPoint.y' },\n { path: 'files.media.document.thumbnail.focalPoint.x' },\n { path: 'files.media.document.thumbnail.focalPoint.y' },\n { path: 'files.media.vector.image.focalPoint.x' },\n { path: 'files.media.vector.image.focalPoint.y' },\n { path: 'files.media.vector.faces.confidence' },\n { path: 'files.media.vector.previewImage.focalPoint.x' },\n { path: 'files.media.vector.previewImage.focalPoint.y' },\n { path: 'files.media.model3d.thumbnail.focalPoint.x' },\n { path: 'files.media.model3d.thumbnail.focalPoint.y' },\n { path: 'files.media.icon.image.focalPoint.x' },\n { path: 'files.media.icon.image.focalPoint.y' },\n { path: 'files.media.icon.faces.confidence' },\n { path: 'files.media.icon.previewImage.focalPoint.x' },\n { path: 'files.media.icon.previewImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listDeletedFiles;\n}\n","import * as ambassadorWixMediaSiteMediaV1FileDescriptor from './media-site-media-v1-file-descriptor-files.http.js';\nimport * as ambassadorWixMediaSiteMediaV1FileDescriptorTypes from './media-site-media-v1-file-descriptor-files.types.js';\nimport * as ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes from './media-site-media-v1-file-descriptor-files.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 generateFilesDownloadUrl(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFilesDownloadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFilesDownloadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFilesDownloadUrlResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFilesDownloadUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.generateFilesDownloadUrl(\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/files/generate-download-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 generateFileDownloadUrl(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileDownloadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileDownloadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileDownloadUrlResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileDownloadUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.generateFileDownloadUrl(\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/files/generate-file-download-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 getFileDescriptor(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GetFileDescriptorRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GetFileDescriptorRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GetFileDescriptorResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GetFileDescriptorResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.getFileDescriptor(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/files/get-file-by-id',\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 getFileDescriptors(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GetFileDescriptorsRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GetFileDescriptorsRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GetFileDescriptorsResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GetFileDescriptorsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.getFileDescriptors(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/files/get-files',\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 updateFileDescriptor(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.UpdateFileDescriptorRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.UpdateFileDescriptorRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.UpdateFileDescriptorResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.UpdateFileDescriptorResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.updateFileDescriptor(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/files/update-file-descriptor',\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 ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileUploadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileUploadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileUploadUrlResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileUploadUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.generateFileUploadUrl(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/files/generate-upload-url',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function generateFileResumableUploadUrl(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileResumableUploadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileResumableUploadUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateFileResumableUploadUrlResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateFileResumableUploadUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.generateFileResumableUploadUrl(\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/files/generate-resumable-upload-url',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function importFile(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ImportFileRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ImportFileRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ImportFileResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ImportFileResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.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/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 bulkImportFiles(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkImportFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkImportFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkImportFilesResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkImportFilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.bulkImportFiles(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/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 bulkImportFile(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkImportFileRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkImportFileRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkImportFileResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkImportFileResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.bulkImportFile(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/files/import-v2',\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 listFiles(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ListFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ListFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ListFilesResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ListFilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.listFiles(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/files',\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 searchFiles(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.SearchFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.SearchFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.SearchFilesResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.SearchFilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.searchFiles(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/files/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 generateVideoStreamingUrl(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateVideoStreamingUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateVideoStreamingUrlRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.GenerateVideoStreamingUrlResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.GenerateVideoStreamingUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.generateVideoStreamingUrl(\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/files/generate-video-stream-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 bulkDeleteFiles(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkDeleteFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkDeleteFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkDeleteFilesResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkDeleteFilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.bulkDeleteFiles(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/files/delete',\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 bulkRestoreFilesFromTrashBin(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkRestoreFilesFromTrashBinRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkRestoreFilesFromTrashBinRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.BulkRestoreFilesFromTrashBinResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.BulkRestoreFilesFromTrashBinResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.bulkRestoreFilesFromTrashBin(\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/trash-bin/files/restore',\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 listDeletedFiles(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ListDeletedFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ListDeletedFilesRequest,\n ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes.ListDeletedFilesResponse,\n ambassadorWixMediaSiteMediaV1FileDescriptorTypes.ListDeletedFilesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMediaSiteMediaV1FileDescriptor.listDeletedFiles(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/trash-bin/files',\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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAAA;AAAA,EAAA,sBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,oCAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,sCAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,gCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,iBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,4BAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,6CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,sBAAsB;AAAA,MACpB;AAAA,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C;AAEjB,QAAM,oBACwC,gBAAgB,OAAO;AAErE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,gCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACwC;AAAA,IAC1C;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,oBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACwC,iBAAiB,OAAO;AAEtE,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":["bulkDeleteFiles","bulkImportFile","bulkImportFiles","bulkRestoreFilesFromTrashBin","generateFileDownloadUrl","generateFileResumableUploadUrl","generateFileUploadUrl","generateFilesDownloadUrl","generateVideoStreamingUrl","getFileDescriptor","getFileDescriptors","importFile","listDeletedFiles","listFiles","searchFiles","updateFileDescriptor","import_float","import_timestamp","import_rest_modules","payload","generateFilesDownloadUrl","generateFileDownloadUrl","getFileDescriptor","getFileDescriptors","updateFileDescriptor","generateFileUploadUrl","generateFileResumableUploadUrl","importFile","bulkImportFiles","bulkImportFile","listFiles","searchFiles","generateVideoStreamingUrl","bulkDeleteFiles","bulkRestoreFilesFromTrashBin","listDeletedFiles"]}