Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wix/media_files

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/media_files - npm Package Compare versions

Comparing version 1.0.51 to 1.0.52

2

build/cjs/src/media-site-media-v1-file-descriptor-files.context.d.ts

@@ -41,2 +41,2 @@ import { generateFilesDownloadUrl as publicGenerateFilesDownloadUrl, generateFileDownloadUrl as publicGenerateFileDownloadUrl, getFileDescriptor as publicGetFileDescriptor, getFileDescriptors as publicGetFileDescriptors, updateFileDescriptor as publicUpdateFileDescriptor, generateFileUploadUrl as publicGenerateFileUploadUrl, generateFileResumableUploadUrl as publicGenerateFileResumableUploadUrl, importFile as publicImportFile, bulkImportFiles as publicBulkImportFiles, bulkImportFile as publicBulkImportFile, listFiles as publicListFiles, searchFiles as publicSearchFiles, generateVideoStreamingUrl as publicGenerateVideoStreamingUrl, bulkDeleteFiles as publicBulkDeleteFiles, bulkRestoreFilesFromTrashBin as publicBulkRestoreFilesFromTrashBin, listDeletedFiles as publicListDeletedFiles } from './media-site-media-v1-file-descriptor-files.public';

export { MediaType, OperationStatus, State, Namespace, IdentityType, ImageAnnotationType, ContentDisposition, UploadProtocol, SortOrder, RootFolder, StreamFormat, WebhookIdentityType, } from './media-site-media-v1-file-descriptor-files.universal';
export { FileDescriptor, FileMedia, FileMediaMediaOneOf, ImageMedia, Colors, Color, ColorRGB, FaceRecognition, VideoResolution, AudioV2, Archive, Model3D, OtherMedia, IdentityInfo, FileReady, ExternalInfo, FileFailed, ApplicationError, BulkAnnotateImagesRequest, BulkAnnotateImagesResponse, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, DownloadUrl, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorsRequest, GetFileDescriptorsResponse, UpdateFileDescriptorRequest, UpdateFileDescriptorResponse, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, ImportFileRequest, ImportFileResponse, BulkImportFilesRequest, BulkImportFilesResponse, BulkImportFileRequest, BulkImportFileResponse, BulkImportFileResult, ItemMetadata, BulkActionMetadata, ListFilesRequest, Sorting, CursorPaging, ListFilesResponse, PagingMetadataV2, Cursors, SearchFilesRequest, SearchFilesResponse, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, ListDeletedFilesRequest, ListDeletedFilesResponse, UpdateFileRequest, UpdateFileResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GenerateFilesDownloadUrlResponseNonNullableFields, GenerateFileDownloadUrlResponseNonNullableFields, FileDescriptorNonNullableFields, GetFileDescriptorResponseNonNullableFields, GetFileDescriptorsResponseNonNullableFields, UpdateFileDescriptorResponseNonNullableFields, GenerateFileUploadUrlResponseNonNullableFields, GenerateFileResumableUploadUrlResponseNonNullableFields, ImportFileResponseNonNullableFields, BulkImportFilesResponseNonNullableFields, BulkImportFileResponseNonNullableFields, ListFilesResponseNonNullableFields, SearchFilesResponseNonNullableFields, GenerateVideoStreamingUrlResponseNonNullableFields, ListDeletedFilesResponseNonNullableFields, BaseEventMetadata, EventMetadata, FileDescriptorUpdatedEnvelope, FileDescriptorDeletedEnvelope, FileDescriptorFileReadyEnvelope, FileDescriptorFileFailedEnvelope, GenerateFileDownloadUrlOptions, GenerateFileUploadUrlOptions, GenerateFileResumableUploadUrlOptions, ImportFileOptions, BulkImportFileOptions, ListFilesOptions, SearchFilesOptions, GenerateVideoStreamingUrlOptions, BulkDeleteFilesOptions, ListDeletedFilesOptions, } from './media-site-media-v1-file-descriptor-files.universal';
export { FileDescriptor, FileMedia, FileMediaMediaOneOf, ImageMedia, Colors, Color, ColorRGB, FaceRecognition, VideoResolution, AudioV2, Archive, Model3D, OtherMedia, IdentityInfo, FileReady, ExternalInfo, FileFailed, ApplicationError, BulkAnnotateImagesRequest, BulkAnnotateImagesResponse, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, DownloadUrl, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorsRequest, GetFileDescriptorsResponse, UpdateFileDescriptorRequest, UpdateFileDescriptorResponse, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, ImportFileRequest, ImportFileResponse, BulkImportFilesRequest, BulkImportFilesResponse, BulkImportFileRequest, BulkImportFileResponse, BulkImportFileResult, ItemMetadata, BulkActionMetadata, ListFilesRequest, Sorting, CursorPaging, ListFilesResponse, PagingMetadataV2, Cursors, SearchFilesRequest, SearchFilesResponse, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, ListDeletedFilesRequest, ListDeletedFilesResponse, UpdateFileRequest, UpdateFileResponse, CheckTrashBinFilesInUseRequest, CheckTrashBinFilesInUseResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GenerateFilesDownloadUrlResponseNonNullableFields, GenerateFileDownloadUrlResponseNonNullableFields, FileDescriptorNonNullableFields, GetFileDescriptorResponseNonNullableFields, GetFileDescriptorsResponseNonNullableFields, UpdateFileDescriptorResponseNonNullableFields, GenerateFileUploadUrlResponseNonNullableFields, GenerateFileResumableUploadUrlResponseNonNullableFields, ImportFileResponseNonNullableFields, BulkImportFilesResponseNonNullableFields, BulkImportFileResponseNonNullableFields, ListFilesResponseNonNullableFields, SearchFilesResponseNonNullableFields, GenerateVideoStreamingUrlResponseNonNullableFields, ListDeletedFilesResponseNonNullableFields, BaseEventMetadata, EventMetadata, FileDescriptorUpdatedEnvelope, FileDescriptorDeletedEnvelope, FileDescriptorFileReadyEnvelope, FileDescriptorFileFailedEnvelope, GenerateFileDownloadUrlOptions, GenerateFileUploadUrlOptions, GenerateFileResumableUploadUrlOptions, ImportFileOptions, BulkImportFileOptions, ListFilesOptions, SearchFilesOptions, GenerateVideoStreamingUrlOptions, BulkDeleteFilesOptions, ListDeletedFilesOptions, } from './media-site-media-v1-file-descriptor-files.universal';

@@ -298,2 +298,2 @@ import { EventDefinition, HttpClient } from '@wix/sdk-types';

export declare const onFileDescriptorFileFailed: EventDefinition<FileDescriptorFileFailedEnvelope, "wix.media.site_media.v1.file_descriptor_file_failed">;
export { ActionEvent, ApplicationError, Archive, AudioV2, BaseEventMetadata, BulkActionMetadata, BulkAnnotateImagesRequest, BulkAnnotateImagesResponse, BulkDeleteFilesOptions, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkImportFileOptions, BulkImportFileRequest, BulkImportFileResponse, BulkImportFileResponseNonNullableFields, BulkImportFileResult, BulkImportFilesRequest, BulkImportFilesResponse, BulkImportFilesResponseNonNullableFields, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, Color, ColorRGB, Colors, ContentDisposition, CursorPaging, Cursors, DomainEvent, DomainEventBodyOneOf, DownloadUrl, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExternalInfo, FaceRecognition, FileDescriptor, FileDescriptorDeletedEnvelope, FileDescriptorFileFailedEnvelope, FileDescriptorFileReadyEnvelope, FileDescriptorNonNullableFields, FileDescriptorUpdatedEnvelope, FileFailed, FileMedia, FileMediaMediaOneOf, FileReady, GenerateFileDownloadUrlOptions, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, GenerateFileDownloadUrlResponseNonNullableFields, GenerateFileResumableUploadUrlOptions, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, GenerateFileResumableUploadUrlResponseNonNullableFields, GenerateFileUploadUrlOptions, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateFileUploadUrlResponseNonNullableFields, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFilesDownloadUrlResponseNonNullableFields, GenerateVideoStreamingUrlOptions, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GenerateVideoStreamingUrlResponseNonNullableFields, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorResponseNonNullableFields, GetFileDescriptorsRequest, GetFileDescriptorsResponse, GetFileDescriptorsResponseNonNullableFields, IdentificationData, IdentificationDataIdOneOf, IdentityInfo, IdentityType, ImageAnnotationType, ImageMedia, ImportFileOptions, ImportFileRequest, ImportFileResponse, ImportFileResponseNonNullableFields, ItemMetadata, ListDeletedFilesOptions, ListDeletedFilesRequest, ListDeletedFilesResponse, ListDeletedFilesResponseNonNullableFields, ListFilesOptions, ListFilesRequest, ListFilesResponse, ListFilesResponseNonNullableFields, MediaType, MessageEnvelope, Model3D, Namespace, OperationStatus, OtherMedia, PagingMetadataV2, RestoreInfo, RootFolder, SearchFilesOptions, SearchFilesRequest, SearchFilesResponse, SearchFilesResponseNonNullableFields, SortOrder, Sorting, State, StreamFormat, UpdateFileDescriptorRequest, UpdateFileDescriptorResponse, UpdateFileDescriptorResponseNonNullableFields, UpdateFileRequest, UpdateFileResponse, UploadProtocol, VideoResolution, WebhookIdentityType, } from './media-site-media-v1-file-descriptor-files.universal';
export { ActionEvent, ApplicationError, Archive, AudioV2, BaseEventMetadata, BulkActionMetadata, BulkAnnotateImagesRequest, BulkAnnotateImagesResponse, BulkDeleteFilesOptions, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkImportFileOptions, BulkImportFileRequest, BulkImportFileResponse, BulkImportFileResponseNonNullableFields, BulkImportFileResult, BulkImportFilesRequest, BulkImportFilesResponse, BulkImportFilesResponseNonNullableFields, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, CheckTrashBinFilesInUseRequest, CheckTrashBinFilesInUseResponse, Color, ColorRGB, Colors, ContentDisposition, CursorPaging, Cursors, DomainEvent, DomainEventBodyOneOf, DownloadUrl, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExternalInfo, FaceRecognition, FileDescriptor, FileDescriptorDeletedEnvelope, FileDescriptorFileFailedEnvelope, FileDescriptorFileReadyEnvelope, FileDescriptorNonNullableFields, FileDescriptorUpdatedEnvelope, FileFailed, FileMedia, FileMediaMediaOneOf, FileReady, GenerateFileDownloadUrlOptions, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, GenerateFileDownloadUrlResponseNonNullableFields, GenerateFileResumableUploadUrlOptions, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, GenerateFileResumableUploadUrlResponseNonNullableFields, GenerateFileUploadUrlOptions, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateFileUploadUrlResponseNonNullableFields, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFilesDownloadUrlResponseNonNullableFields, GenerateVideoStreamingUrlOptions, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GenerateVideoStreamingUrlResponseNonNullableFields, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorResponseNonNullableFields, GetFileDescriptorsRequest, GetFileDescriptorsResponse, GetFileDescriptorsResponseNonNullableFields, IdentificationData, IdentificationDataIdOneOf, IdentityInfo, IdentityType, ImageAnnotationType, ImageMedia, ImportFileOptions, ImportFileRequest, ImportFileResponse, ImportFileResponseNonNullableFields, ItemMetadata, ListDeletedFilesOptions, ListDeletedFilesRequest, ListDeletedFilesResponse, ListDeletedFilesResponseNonNullableFields, ListFilesOptions, ListFilesRequest, ListFilesResponse, ListFilesResponseNonNullableFields, MediaType, MessageEnvelope, Model3D, Namespace, OperationStatus, OtherMedia, PagingMetadataV2, RestoreInfo, RootFolder, SearchFilesOptions, SearchFilesRequest, SearchFilesResponse, SearchFilesResponseNonNullableFields, SortOrder, Sorting, State, StreamFormat, UpdateFileDescriptorRequest, UpdateFileDescriptorResponse, UpdateFileDescriptorResponseNonNullableFields, UpdateFileRequest, UpdateFileResponse, UploadProtocol, VideoResolution, WebhookIdentityType, } from './media-site-media-v1-file-descriptor-files.universal';

@@ -933,2 +933,36 @@ export interface FileDescriptor {

}
export interface CheckTrashBinFilesInUseRequest {
/**
* A list of file IDs to validate in the trash.
* Note - you can
* You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
* Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/file-id#file-id-as-a-parameter).
*/
fileIds?: string[] | null;
/** Validates files under the parent folders in the trash. */
parentFolderIds?: string[] | null;
/**
* Validated all files under the trash root
* Note - when set to true, no file ids and parent folder ids are allowed
* Default - false
*/
checkAllContent?: boolean | null;
/**
* The number of days to look for file use
* default 30 days
*/
usedInLastDays?: number | null;
/**
* Cursor and paging information.
* Note, cursor will only affect the results from folders or when searching for all files in trash
* Files return by the id list will always be returned in addition to files in selected folders
*/
paging?: CursorPaging;
}
export interface CheckTrashBinFilesInUseResponse {
/** A List of files that have been used in the selected period */
files?: FileDescriptor[];
/** The next cursor if it exists. */
nextCursor?: PagingMetadataV2;
}
export interface DomainEvent extends DomainEventBodyOneOf {

@@ -935,0 +969,0 @@ createdEvent?: EntityCreatedEvent;

@@ -41,2 +41,2 @@ import { generateFilesDownloadUrl as publicGenerateFilesDownloadUrl, generateFileDownloadUrl as publicGenerateFileDownloadUrl, getFileDescriptor as publicGetFileDescriptor, getFileDescriptors as publicGetFileDescriptors, updateFileDescriptor as publicUpdateFileDescriptor, generateFileUploadUrl as publicGenerateFileUploadUrl, generateFileResumableUploadUrl as publicGenerateFileResumableUploadUrl, importFile as publicImportFile, bulkImportFiles as publicBulkImportFiles, bulkImportFile as publicBulkImportFile, listFiles as publicListFiles, searchFiles as publicSearchFiles, generateVideoStreamingUrl as publicGenerateVideoStreamingUrl, bulkDeleteFiles as publicBulkDeleteFiles, bulkRestoreFilesFromTrashBin as publicBulkRestoreFilesFromTrashBin, listDeletedFiles as publicListDeletedFiles } from './media-site-media-v1-file-descriptor-files.public';

export { MediaType, OperationStatus, State, Namespace, IdentityType, ImageAnnotationType, ContentDisposition, UploadProtocol, SortOrder, RootFolder, StreamFormat, WebhookIdentityType, } from './media-site-media-v1-file-descriptor-files.universal';
export { FileDescriptor, FileMedia, FileMediaMediaOneOf, ImageMedia, Colors, Color, ColorRGB, FaceRecognition, VideoResolution, AudioV2, Archive, Model3D, OtherMedia, IdentityInfo, FileReady, ExternalInfo, FileFailed, ApplicationError, BulkAnnotateImagesRequest, BulkAnnotateImagesResponse, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, DownloadUrl, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorsRequest, GetFileDescriptorsResponse, UpdateFileDescriptorRequest, UpdateFileDescriptorResponse, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, ImportFileRequest, ImportFileResponse, BulkImportFilesRequest, BulkImportFilesResponse, BulkImportFileRequest, BulkImportFileResponse, BulkImportFileResult, ItemMetadata, BulkActionMetadata, ListFilesRequest, Sorting, CursorPaging, ListFilesResponse, PagingMetadataV2, Cursors, SearchFilesRequest, SearchFilesResponse, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, ListDeletedFilesRequest, ListDeletedFilesResponse, UpdateFileRequest, UpdateFileResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GenerateFilesDownloadUrlResponseNonNullableFields, GenerateFileDownloadUrlResponseNonNullableFields, FileDescriptorNonNullableFields, GetFileDescriptorResponseNonNullableFields, GetFileDescriptorsResponseNonNullableFields, UpdateFileDescriptorResponseNonNullableFields, GenerateFileUploadUrlResponseNonNullableFields, GenerateFileResumableUploadUrlResponseNonNullableFields, ImportFileResponseNonNullableFields, BulkImportFilesResponseNonNullableFields, BulkImportFileResponseNonNullableFields, ListFilesResponseNonNullableFields, SearchFilesResponseNonNullableFields, GenerateVideoStreamingUrlResponseNonNullableFields, ListDeletedFilesResponseNonNullableFields, BaseEventMetadata, EventMetadata, FileDescriptorUpdatedEnvelope, FileDescriptorDeletedEnvelope, FileDescriptorFileReadyEnvelope, FileDescriptorFileFailedEnvelope, GenerateFileDownloadUrlOptions, GenerateFileUploadUrlOptions, GenerateFileResumableUploadUrlOptions, ImportFileOptions, BulkImportFileOptions, ListFilesOptions, SearchFilesOptions, GenerateVideoStreamingUrlOptions, BulkDeleteFilesOptions, ListDeletedFilesOptions, } from './media-site-media-v1-file-descriptor-files.universal';
export { FileDescriptor, FileMedia, FileMediaMediaOneOf, ImageMedia, Colors, Color, ColorRGB, FaceRecognition, VideoResolution, AudioV2, Archive, Model3D, OtherMedia, IdentityInfo, FileReady, ExternalInfo, FileFailed, ApplicationError, BulkAnnotateImagesRequest, BulkAnnotateImagesResponse, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, DownloadUrl, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorsRequest, GetFileDescriptorsResponse, UpdateFileDescriptorRequest, UpdateFileDescriptorResponse, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, ImportFileRequest, ImportFileResponse, BulkImportFilesRequest, BulkImportFilesResponse, BulkImportFileRequest, BulkImportFileResponse, BulkImportFileResult, ItemMetadata, BulkActionMetadata, ListFilesRequest, Sorting, CursorPaging, ListFilesResponse, PagingMetadataV2, Cursors, SearchFilesRequest, SearchFilesResponse, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, ListDeletedFilesRequest, ListDeletedFilesResponse, UpdateFileRequest, UpdateFileResponse, CheckTrashBinFilesInUseRequest, CheckTrashBinFilesInUseResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GenerateFilesDownloadUrlResponseNonNullableFields, GenerateFileDownloadUrlResponseNonNullableFields, FileDescriptorNonNullableFields, GetFileDescriptorResponseNonNullableFields, GetFileDescriptorsResponseNonNullableFields, UpdateFileDescriptorResponseNonNullableFields, GenerateFileUploadUrlResponseNonNullableFields, GenerateFileResumableUploadUrlResponseNonNullableFields, ImportFileResponseNonNullableFields, BulkImportFilesResponseNonNullableFields, BulkImportFileResponseNonNullableFields, ListFilesResponseNonNullableFields, SearchFilesResponseNonNullableFields, GenerateVideoStreamingUrlResponseNonNullableFields, ListDeletedFilesResponseNonNullableFields, BaseEventMetadata, EventMetadata, FileDescriptorUpdatedEnvelope, FileDescriptorDeletedEnvelope, FileDescriptorFileReadyEnvelope, FileDescriptorFileFailedEnvelope, GenerateFileDownloadUrlOptions, GenerateFileUploadUrlOptions, GenerateFileResumableUploadUrlOptions, ImportFileOptions, BulkImportFileOptions, ListFilesOptions, SearchFilesOptions, GenerateVideoStreamingUrlOptions, BulkDeleteFilesOptions, ListDeletedFilesOptions, } from './media-site-media-v1-file-descriptor-files.universal';

@@ -298,2 +298,2 @@ import { EventDefinition, HttpClient } from '@wix/sdk-types';

export declare const onFileDescriptorFileFailed: EventDefinition<FileDescriptorFileFailedEnvelope, "wix.media.site_media.v1.file_descriptor_file_failed">;
export { ActionEvent, ApplicationError, Archive, AudioV2, BaseEventMetadata, BulkActionMetadata, BulkAnnotateImagesRequest, BulkAnnotateImagesResponse, BulkDeleteFilesOptions, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkImportFileOptions, BulkImportFileRequest, BulkImportFileResponse, BulkImportFileResponseNonNullableFields, BulkImportFileResult, BulkImportFilesRequest, BulkImportFilesResponse, BulkImportFilesResponseNonNullableFields, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, Color, ColorRGB, Colors, ContentDisposition, CursorPaging, Cursors, DomainEvent, DomainEventBodyOneOf, DownloadUrl, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExternalInfo, FaceRecognition, FileDescriptor, FileDescriptorDeletedEnvelope, FileDescriptorFileFailedEnvelope, FileDescriptorFileReadyEnvelope, FileDescriptorNonNullableFields, FileDescriptorUpdatedEnvelope, FileFailed, FileMedia, FileMediaMediaOneOf, FileReady, GenerateFileDownloadUrlOptions, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, GenerateFileDownloadUrlResponseNonNullableFields, GenerateFileResumableUploadUrlOptions, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, GenerateFileResumableUploadUrlResponseNonNullableFields, GenerateFileUploadUrlOptions, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateFileUploadUrlResponseNonNullableFields, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFilesDownloadUrlResponseNonNullableFields, GenerateVideoStreamingUrlOptions, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GenerateVideoStreamingUrlResponseNonNullableFields, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorResponseNonNullableFields, GetFileDescriptorsRequest, GetFileDescriptorsResponse, GetFileDescriptorsResponseNonNullableFields, IdentificationData, IdentificationDataIdOneOf, IdentityInfo, IdentityType, ImageAnnotationType, ImageMedia, ImportFileOptions, ImportFileRequest, ImportFileResponse, ImportFileResponseNonNullableFields, ItemMetadata, ListDeletedFilesOptions, ListDeletedFilesRequest, ListDeletedFilesResponse, ListDeletedFilesResponseNonNullableFields, ListFilesOptions, ListFilesRequest, ListFilesResponse, ListFilesResponseNonNullableFields, MediaType, MessageEnvelope, Model3D, Namespace, OperationStatus, OtherMedia, PagingMetadataV2, RestoreInfo, RootFolder, SearchFilesOptions, SearchFilesRequest, SearchFilesResponse, SearchFilesResponseNonNullableFields, SortOrder, Sorting, State, StreamFormat, UpdateFileDescriptorRequest, UpdateFileDescriptorResponse, UpdateFileDescriptorResponseNonNullableFields, UpdateFileRequest, UpdateFileResponse, UploadProtocol, VideoResolution, WebhookIdentityType, } from './media-site-media-v1-file-descriptor-files.universal';
export { ActionEvent, ApplicationError, Archive, AudioV2, BaseEventMetadata, BulkActionMetadata, BulkAnnotateImagesRequest, BulkAnnotateImagesResponse, BulkDeleteFilesOptions, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkImportFileOptions, BulkImportFileRequest, BulkImportFileResponse, BulkImportFileResponseNonNullableFields, BulkImportFileResult, BulkImportFilesRequest, BulkImportFilesResponse, BulkImportFilesResponseNonNullableFields, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, CheckTrashBinFilesInUseRequest, CheckTrashBinFilesInUseResponse, Color, ColorRGB, Colors, ContentDisposition, CursorPaging, Cursors, DomainEvent, DomainEventBodyOneOf, DownloadUrl, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExternalInfo, FaceRecognition, FileDescriptor, FileDescriptorDeletedEnvelope, FileDescriptorFileFailedEnvelope, FileDescriptorFileReadyEnvelope, FileDescriptorNonNullableFields, FileDescriptorUpdatedEnvelope, FileFailed, FileMedia, FileMediaMediaOneOf, FileReady, GenerateFileDownloadUrlOptions, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, GenerateFileDownloadUrlResponseNonNullableFields, GenerateFileResumableUploadUrlOptions, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, GenerateFileResumableUploadUrlResponseNonNullableFields, GenerateFileUploadUrlOptions, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateFileUploadUrlResponseNonNullableFields, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFilesDownloadUrlResponseNonNullableFields, GenerateVideoStreamingUrlOptions, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GenerateVideoStreamingUrlResponseNonNullableFields, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorResponseNonNullableFields, GetFileDescriptorsRequest, GetFileDescriptorsResponse, GetFileDescriptorsResponseNonNullableFields, IdentificationData, IdentificationDataIdOneOf, IdentityInfo, IdentityType, ImageAnnotationType, ImageMedia, ImportFileOptions, ImportFileRequest, ImportFileResponse, ImportFileResponseNonNullableFields, ItemMetadata, ListDeletedFilesOptions, ListDeletedFilesRequest, ListDeletedFilesResponse, ListDeletedFilesResponseNonNullableFields, ListFilesOptions, ListFilesRequest, ListFilesResponse, ListFilesResponseNonNullableFields, MediaType, MessageEnvelope, Model3D, Namespace, OperationStatus, OtherMedia, PagingMetadataV2, RestoreInfo, RootFolder, SearchFilesOptions, SearchFilesRequest, SearchFilesResponse, SearchFilesResponseNonNullableFields, SortOrder, Sorting, State, StreamFormat, UpdateFileDescriptorRequest, UpdateFileDescriptorResponse, UpdateFileDescriptorResponseNonNullableFields, UpdateFileRequest, UpdateFileResponse, UploadProtocol, VideoResolution, WebhookIdentityType, } from './media-site-media-v1-file-descriptor-files.universal';

@@ -933,2 +933,36 @@ export interface FileDescriptor {

}
export interface CheckTrashBinFilesInUseRequest {
/**
* A list of file IDs to validate in the trash.
* Note - you can
* You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
* Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/file-id#file-id-as-a-parameter).
*/
fileIds?: string[] | null;
/** Validates files under the parent folders in the trash. */
parentFolderIds?: string[] | null;
/**
* Validated all files under the trash root
* Note - when set to true, no file ids and parent folder ids are allowed
* Default - false
*/
checkAllContent?: boolean | null;
/**
* The number of days to look for file use
* default 30 days
*/
usedInLastDays?: number | null;
/**
* Cursor and paging information.
* Note, cursor will only affect the results from folders or when searching for all files in trash
* Files return by the id list will always be returned in addition to files in selected folders
*/
paging?: CursorPaging;
}
export interface CheckTrashBinFilesInUseResponse {
/** A List of files that have been used in the selected period */
files?: FileDescriptor[];
/** The next cursor if it exists. */
nextCursor?: PagingMetadataV2;
}
export interface DomainEvent extends DomainEventBodyOneOf {

@@ -935,0 +969,0 @@ createdEvent?: EntityCreatedEvent;

{
"name": "@wix/media_files",
"version": "1.0.51",
"version": "1.0.52",
"publishConfig": {

@@ -48,3 +48,3 @@ "registry": "https://registry.npmjs.org/",

},
"falconPackageHash": "9b447cf105a566011079fdd2c0d8324ff32b495df1004c30117eb815"
"falconPackageHash": "7b08153c8613c48f78ec507f2d73ed9255e45c46c5d538a034a723f2"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc