@wix/auto_sdk_media_files 1.0.76 → 1.0.78
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.
- package/build/cjs/index.d.ts +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +222 -33
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +205 -19
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +11 -9
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +6 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +222 -33
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +205 -19
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +11 -9
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -6
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +222 -33
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +205 -19
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +11 -9
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +6 -6
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +222 -33
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +205 -19
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +11 -9
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { GenerateFilesDownloadUrlResponse, GenerateFileDownloadUrlOptions, GenerateFileDownloadUrlResponse, GenerateFileDownloadUrlValidationErrors, FileDescriptor, GetFileDescriptorValidationErrors, GetFileDescriptorsResponse, GetFileDescriptorsValidationErrors, UpdateFileDescriptorValidationErrors, GenerateFileUploadUrlOptions, GenerateFileUploadUrlResponse, GenerateFileUploadUrlValidationErrors, GenerateFileResumableUploadUrlOptions, GenerateFileResumableUploadUrlResponse, GenerateFileResumableUploadUrlValidationErrors, ImportFileOptions, ImportFileResponse, ImportFileValidationErrors, ImportFileRequest, BulkImportFilesResponse, BulkImportFileOptions, BulkImportFileResponse, ListFilesOptions, ListFilesResponse, ListFilesValidationErrors, SearchFilesOptions, SearchFilesResponse, SearchFilesValidationErrors, GenerateVideoStreamingUrlOptions, GenerateVideoStreamingUrlResponse, BulkDeleteFilesOptions, ListDeletedFilesOptions, ListDeletedFilesResponse, ListDeletedFilesValidationErrors, FileDescriptorFileFailedEnvelope, FileDescriptorFileReadyEnvelope, FilesQueryBuilder, FileDescriptorQuery, typedQueryFileDescriptors } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, Archive, AudioV2, BaseEventMetadata, BulkActionMetadata, BulkAnnotateImageResult, BulkAnnotateImagesRequest, BulkAnnotateImagesResponse, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkImportFileRequest, BulkImportFileResult, BulkImportFilesRequest, BulkInternalImportFilesRequest, BulkInternalImportFilesResponse, BulkPublishDraftFileResult, BulkPublishDraftFilesRequest, BulkPublishDraftFilesResponse, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, Color, ColorRGB, Colors, CommonQueryWithEntityContext, CommonSortOrder, CommonSortOrderWithLiterals, CommonSorting, ContentDisposition, ContentDispositionWithLiterals, CursorPaging, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DomainEvent, DomainEventBodyOneOf, DownloadUrl, DraftFilePublished, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExternalInfo, FaceRecognition, FileDescriptorQuerySpec, FileFailed, FileMedia, FileMediaMediaOneOf, FileReady, FilesQueryResult, FocalPoint, FontAsset, FontMedia, GenerateAnimatedVectorRequest, GenerateAnimatedVectorResponse, GenerateFileDownloadUrlRequest, GenerateFileResumableUploadUrlRequest, GenerateFileUploadUrlRequest, GenerateFilesDownloadUrlRequest, GenerateVideoStreamingUrlRequest, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorsRequest, GetSiteFileDescriptorsRequest, GetSiteFileDescriptorsResponse, IdentificationData, IdentificationDataIdOneOf, IdentityInfo, IdentityType, IdentityTypeWithLiterals, ImageAnnotationConfigurations, ImageAnnotationType, ImageAnnotationTypeWithLiterals, ImageMedia, ItemMetadata, ListDeletedFilesRequest, ListFilesRequest, ListRecentItemsRequest, ListRecentItemsResponse, MediaType, MediaTypeWithLiterals, MessageEnvelope, Model3D, Namespace, NamespaceWithLiterals, OperationStatus, OperationStatusWithLiterals, OtherMedia, PagingMetadataV2, Plan, Plans, QueryFileDescriptorsRequest, QueryFileDescriptorsResponse, RestoreInfo, RootFolder, RootFolderWithLiterals, SearchFilesRequest, ServiceError, SiteQuotaExceededError, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StreamFormat, StreamFormatWithLiterals, SyncImportFileDescriptorRequest, SyncImportFileDescriptorResponse, SyncImportFileRequest, SyncImportFileResponse, TotalQuota, UnsupportedRequestValueError, UpdateFileDescriptorRequest, UpdateFileDescriptorResponse, UpdateFileRequest, UpdateFileResponse, UploadProtocol, UploadProtocolWithLiterals, VideoResolution, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, Archive, AudioAdditionalProperties, AudioAssetAdditionalProperties, AudioV2, BaseEventMetadata, BulkActionMetadata, BulkAnnotateImageResult, BulkAnnotateImagesRequest, BulkAnnotateImagesResponse, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkImportFileRequest, BulkImportFileResult, BulkImportFilesRequest, BulkInternalImportFilesRequest, BulkInternalImportFilesResponse, BulkPublishDraftFileResult, BulkPublishDraftFilesRequest, BulkPublishDraftFilesResponse, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, Color, ColorRGB, Colors, CommonQueryWithEntityContext, CommonSortOrder, CommonSortOrderWithLiterals, CommonSorting, ContentDisposition, ContentDispositionWithLiterals, CursorPaging, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DocumentAdditionalProperties, DomainEvent, DomainEventBodyOneOf, DownloadUrl, DraftFilePublished, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExternalInfo, FaceRecognition, FileAdditionalProperties, FileAdditionalPropertiesMediaAdditionalPropertiesOneOf, FileDescriptorQuerySpec, FileFailed, FileMedia, FileMediaMediaOneOf, FileReady, FilesQueryResult, FocalPoint, FontAdditionalProperties, FontAsset, FontAssetAdditionalProperties, FontMedia, GenerateAnimatedVectorRequest, GenerateAnimatedVectorResponse, GenerateFileDownloadUrlRequest, GenerateFileResumableUploadUrlRequest, GenerateFileUploadUrlRequest, GenerateFilesDownloadUrlRequest, GenerateVideoStreamingUrlRequest, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorsRequest, GetSiteFileDescriptorsRequest, GetSiteFileDescriptorsResponse, IdentificationData, IdentificationDataIdOneOf, IdentityInfo, IdentityType, IdentityTypeWithLiterals, ImageAdditionalProperties, ImageAnnotationConfigurations, ImageAnnotationType, ImageAnnotationTypeWithLiterals, ImageMedia, ImageOutputAdditionalProperties, ItemMetadata, ListDeletedFilesRequest, ListFilesRequest, ListRecentItemsRequest, ListRecentItemsResponse, MediaType, MediaTypeWithLiterals, MessageEnvelope, Model3D, Model3dAdditionalProperties, Namespace, NamespaceWithLiterals, OperationStatus, OperationStatusWithLiterals, OtherMedia, PagingMetadataV2, Plan, Plans, QueryFileDescriptorsRequest, QueryFileDescriptorsResponse, RestoreInfo, RootFolder, RootFolderWithLiterals, SearchFilesRequest, ServiceError, SiteQuotaExceededError, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, StreamFormat, StreamFormatWithLiterals, SyncImportFileDescriptorRequest, SyncImportFileDescriptorResponse, SyncImportFileRequest, SyncImportFileResponse, TotalQuota, UnsupportedRequestValueError, UpdateFileDescriptorRequest, UpdateFileDescriptorResponse, UpdateFileRequest, UpdateFileResponse, UploadProtocol, UploadProtocolWithLiterals, VideoAdditionalProperties, VideoResolution, VideoResolutionAdditionalProperties, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function generateFilesDownloadUrl$1(httpClient: HttpClient): GenerateFilesDownloadUrlSignature;
|
|
6
6
|
interface GenerateFilesDownloadUrlSignature {
|
|
@@ -87,9 +87,9 @@ interface GenerateFileUploadUrlSignature {
|
|
|
87
87
|
/**
|
|
88
88
|
* Generates an upload URL to allow external clients to upload a file to the Media Manager. <br/>
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
* Learn how to use the generated upload URL to [upload a file to the Media Manager](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/upload-api).
|
|
91
91
|
* > **Notes:**
|
|
92
|
-
* > - 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](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/importing-files
|
|
92
|
+
* > - 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](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/importing-files).
|
|
93
93
|
* > - 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.
|
|
94
94
|
* @param - File mime type.
|
|
95
95
|
* @param - Options to use when generating a file's upload URL.
|
|
@@ -104,7 +104,7 @@ interface GenerateFileResumableUploadUrlSignature {
|
|
|
104
104
|
* Generates a resumable upload URL to allow external clients to easily upload large files over 10MB to the Media Manager. <br/>
|
|
105
105
|
*
|
|
106
106
|
* 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.
|
|
107
|
-
*
|
|
107
|
+
* Learn how to use the generated upload URL in the response to [upload large files to the Media Manager](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/resumable-upload-api).
|
|
108
108
|
*
|
|
109
109
|
* > **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](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready).
|
|
110
110
|
* @param - File mime type.
|
|
@@ -151,7 +151,7 @@ interface BulkImportFilesSignature {
|
|
|
151
151
|
*
|
|
152
152
|
* >**Notes:**
|
|
153
153
|
* > - The `media` property isn't returned in the `files` response object.
|
|
154
|
-
* > - 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](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/importing-files
|
|
154
|
+
* > - 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](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/importing-files).
|
|
155
155
|
*
|
|
156
156
|
* To import files, you need to do one of the following for each file:
|
|
157
157
|
* - 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'`.
|
|
@@ -176,7 +176,7 @@ interface BulkImportFileSignature {
|
|
|
176
176
|
*
|
|
177
177
|
* >**Notes:**
|
|
178
178
|
* > - The `media` property isn't returned in the `files` response object.
|
|
179
|
-
* > - 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](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/importing-files
|
|
179
|
+
* > - 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](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/importing-files).
|
|
180
180
|
*
|
|
181
181
|
* To import files, you need to do one of the following for each file:
|
|
182
182
|
* - 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'`.
|