@wix/auto_sdk_media_files 1.0.73 → 1.0.75
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 +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +40 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +29 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +2324 -0
- package/build/cjs/schemas.js +2947 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +40 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +29 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +2324 -0
- package/build/es/schemas.mjs +2877 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +40 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +29 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +2324 -0
- package/build/internal/cjs/schemas.js +2947 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +40 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +29 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +2324 -0
- package/build/internal/es/schemas.mjs +2877 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +12 -5
- package/schemas/package.json +3 -0
|
@@ -766,6 +766,7 @@ interface GetSiteFileDescriptorsResponse {
|
|
|
766
766
|
*/
|
|
767
767
|
files?: FileDescriptor[];
|
|
768
768
|
/**
|
|
769
|
+
* File ids that could not be found
|
|
769
770
|
* @maxSize 1500
|
|
770
771
|
* @maxLength 1000
|
|
771
772
|
*/
|
|
@@ -1032,6 +1033,14 @@ interface SyncImportFileResponse {
|
|
|
1032
1033
|
/** Information about the imported file. */
|
|
1033
1034
|
file?: FileDescriptor;
|
|
1034
1035
|
}
|
|
1036
|
+
interface SyncImportFileDescriptorRequest {
|
|
1037
|
+
/** The import request */
|
|
1038
|
+
importRequest?: ImportFileRequest;
|
|
1039
|
+
}
|
|
1040
|
+
interface SyncImportFileDescriptorResponse {
|
|
1041
|
+
/** Information about the imported file. */
|
|
1042
|
+
file?: FileDescriptor;
|
|
1043
|
+
}
|
|
1035
1044
|
interface BulkImportFilesRequest {
|
|
1036
1045
|
/**
|
|
1037
1046
|
* Information about the files to import.
|
|
@@ -1412,6 +1421,7 @@ interface UpdateFileResponse {
|
|
|
1412
1421
|
file?: FileDescriptor;
|
|
1413
1422
|
}
|
|
1414
1423
|
interface QueryFileDescriptorsRequest {
|
|
1424
|
+
/** Query object */
|
|
1415
1425
|
query?: CursorQuery;
|
|
1416
1426
|
}
|
|
1417
1427
|
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
@@ -1460,10 +1470,27 @@ declare enum SortOrder {
|
|
|
1460
1470
|
/** @enumType */
|
|
1461
1471
|
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
1462
1472
|
interface QueryFileDescriptorsResponse {
|
|
1463
|
-
/**
|
|
1473
|
+
/**
|
|
1474
|
+
* The retrieved files that match the query
|
|
1475
|
+
* @maxSize 200
|
|
1476
|
+
*/
|
|
1464
1477
|
files?: FileDescriptor[];
|
|
1478
|
+
/** The metadata for the page including the next cursor if one exist */
|
|
1465
1479
|
pagingMetadata?: PagingMetadataV2;
|
|
1466
1480
|
}
|
|
1481
|
+
interface ListRecentItemsRequest {
|
|
1482
|
+
/** Cursor and paging information. */
|
|
1483
|
+
paging?: CursorPaging;
|
|
1484
|
+
}
|
|
1485
|
+
interface ListRecentItemsResponse {
|
|
1486
|
+
/**
|
|
1487
|
+
* List of recently updated files.
|
|
1488
|
+
* @maxSize 200
|
|
1489
|
+
*/
|
|
1490
|
+
files?: FileDescriptor[];
|
|
1491
|
+
/** The next cursor if it exists. */
|
|
1492
|
+
nextCursor?: PagingMetadataV2;
|
|
1493
|
+
}
|
|
1467
1494
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
1468
1495
|
createdEvent?: EntityCreatedEvent;
|
|
1469
1496
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -2250,7 +2277,7 @@ interface ListFilesOptions {
|
|
|
2250
2277
|
*
|
|
2251
2278
|
* To learn about working with *Search* methods, see
|
|
2252
2279
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language)
|
|
2253
|
-
* and
|
|
2280
|
+
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging).
|
|
2254
2281
|
* @public
|
|
2255
2282
|
* @param options - Options to specify which folders to search.
|
|
2256
2283
|
* @permissionId MEDIA.SITE_MEDIA_FILES_LIST
|
|
@@ -2405,7 +2432,16 @@ interface ListDeletedFilesOptions {
|
|
|
2405
2432
|
/** Cursor and paging information. */
|
|
2406
2433
|
paging?: CursorPaging;
|
|
2407
2434
|
}
|
|
2408
|
-
/**
|
|
2435
|
+
/**
|
|
2436
|
+
* Retrieves a list of files in the Media Manager, given the provided [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging), filtering, and sorting.
|
|
2437
|
+
*
|
|
2438
|
+
* Up to 200 files can be returned per request.
|
|
2439
|
+
* When filtering by `mediaType`, supported values are: `IMAGE`, `VIDEO`, `AUDIO`, `DOCUMENT`, `VECTOR`, `ARCHIVE`, and `MODEL3D`.
|
|
2440
|
+
*
|
|
2441
|
+
* To learn about working with *Query* methods, see
|
|
2442
|
+
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) and
|
|
2443
|
+
* [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
2444
|
+
* @public
|
|
2409
2445
|
* @permissionId media:site_media:v1:file_descriptor:query_file_descriptors
|
|
2410
2446
|
* @applicableIdentity APP
|
|
2411
2447
|
* @fqn com.wix.media.site_media.v1.FilesService.QueryFileDescriptors
|
|
@@ -2535,4 +2571,4 @@ declare const utils: {
|
|
|
2535
2571
|
};
|
|
2536
2572
|
};
|
|
2537
2573
|
|
|
2538
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type ApplicationError, type Archive, type AudioV2, type BaseEventMetadata, type BulkActionMetadata, type BulkAnnotateImageResult, type BulkAnnotateImagesRequest, type BulkAnnotateImagesResponse, type BulkDeleteFilesOptions, type BulkDeleteFilesRequest, type BulkDeleteFilesResponse, type BulkImportFileOptions, type BulkImportFileRequest, type BulkImportFileResponse, type BulkImportFileResult, type BulkImportFilesRequest, type BulkImportFilesResponse, type BulkInternalImportFilesRequest, type BulkInternalImportFilesResponse, type BulkPublishDraftFileResult, type BulkPublishDraftFilesRequest, type BulkPublishDraftFilesResponse, type BulkRestoreFilesFromTrashBinRequest, type BulkRestoreFilesFromTrashBinResponse, type Color, type ColorRGB, type Colors, type CommonQueryWithEntityContext, CommonSortOrder, type CommonSortOrderWithLiterals, type CommonSorting, ContentDisposition, type ContentDispositionWithLiterals, type CursorPaging, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DomainEvent, type DomainEventBodyOneOf, type DownloadUrl, type DraftFilePublished, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExternalInfo, type FaceRecognition, type FileDescriptor, type FileDescriptorFileFailedEnvelope, type FileDescriptorFileReadyEnvelope, type FileDescriptorQuery, type FileDescriptorQuerySpec, type FileFailed, type FileMedia, type FileMediaMediaOneOf, type FileReady, type FilesQueryBuilder, type FilesQueryResult, type FocalPoint, type FontAsset, type FontMedia, type GenerateAnimatedVectorRequest, type GenerateAnimatedVectorResponse, type GenerateFileDownloadUrlOptions, type GenerateFileDownloadUrlRequest, type GenerateFileDownloadUrlResponse, type GenerateFileDownloadUrlValidationErrors, type GenerateFileResumableUploadUrlOptions, type GenerateFileResumableUploadUrlRequest, type GenerateFileResumableUploadUrlResponse, type GenerateFileResumableUploadUrlValidationErrors, type GenerateFileUploadUrlOptions, type GenerateFileUploadUrlRequest, type GenerateFileUploadUrlResponse, type GenerateFileUploadUrlValidationErrors, type GenerateFilesDownloadUrlRequest, type GenerateFilesDownloadUrlResponse, type GenerateVideoStreamingUrlOptions, type GenerateVideoStreamingUrlRequest, type GenerateVideoStreamingUrlResponse, type GenerateWebSocketTokenRequest, type GenerateWebSocketTokenResponse, type GetFileDescriptorRequest, type GetFileDescriptorResponse, type GetFileDescriptorValidationErrors, type GetFileDescriptorsRequest, type GetFileDescriptorsResponse, type GetFileDescriptorsValidationErrors, type GetSiteFileDescriptorsRequest, type GetSiteFileDescriptorsResponse, type IdentificationData, type IdentificationDataIdOneOf, type IdentityInfo, IdentityType, type IdentityTypeWithLiterals, type ImageAnnotationConfigurations, ImageAnnotationType, type ImageAnnotationTypeWithLiterals, type ImageMedia, type ImportFileOptions, type ImportFileRequest, type ImportFileResponse, type ImportFileValidationErrors, type ItemMetadata, type ListDeletedFilesOptions, type ListDeletedFilesRequest, type ListDeletedFilesResponse, type ListDeletedFilesValidationErrors, type ListFilesOptions, type ListFilesRequest, type ListFilesResponse, type ListFilesValidationErrors, MediaType, type MediaTypeWithLiterals, type MessageEnvelope, type Model3D, Namespace, type NamespaceWithLiterals, OperationStatus, type OperationStatusWithLiterals, type OtherMedia, type PagingMetadataV2, type Plan, type Plans, type QueryFileDescriptorsRequest, type QueryFileDescriptorsResponse, type RestoreInfo, RootFolder, type RootFolderWithLiterals, type SearchFilesOptions, type SearchFilesRequest, type SearchFilesResponse, type SearchFilesValidationErrors, type ServiceError, type SiteQuotaExceededError, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, StreamFormat, type StreamFormatWithLiterals, type SyncImportFileRequest, type SyncImportFileResponse, type TotalQuota, type UnsupportedRequestValueError, type UpdateFileDescriptorRequest, type UpdateFileDescriptorResponse, type UpdateFileDescriptorValidationErrors, type UpdateFileRequest, type UpdateFileResponse, UploadProtocol, type UploadProtocolWithLiterals, type VideoResolution, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkDeleteFiles, bulkImportFile, bulkImportFiles, bulkRestoreFilesFromTrashBin, generateFileDownloadUrl, generateFileResumableUploadUrl, generateFileUploadUrl, generateFilesDownloadUrl, generateVideoStreamingUrl, getFileDescriptor, getFileDescriptors, importFile, listDeletedFiles, listFiles, onFileDescriptorFileFailed, onFileDescriptorFileReady, queryFileDescriptors, searchFiles, typedQueryFileDescriptors, updateFileDescriptor, utils };
|
|
2574
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type ApplicationError, type Archive, type AudioV2, type BaseEventMetadata, type BulkActionMetadata, type BulkAnnotateImageResult, type BulkAnnotateImagesRequest, type BulkAnnotateImagesResponse, type BulkDeleteFilesOptions, type BulkDeleteFilesRequest, type BulkDeleteFilesResponse, type BulkImportFileOptions, type BulkImportFileRequest, type BulkImportFileResponse, type BulkImportFileResult, type BulkImportFilesRequest, type BulkImportFilesResponse, type BulkInternalImportFilesRequest, type BulkInternalImportFilesResponse, type BulkPublishDraftFileResult, type BulkPublishDraftFilesRequest, type BulkPublishDraftFilesResponse, type BulkRestoreFilesFromTrashBinRequest, type BulkRestoreFilesFromTrashBinResponse, type Color, type ColorRGB, type Colors, type CommonQueryWithEntityContext, CommonSortOrder, type CommonSortOrderWithLiterals, type CommonSorting, ContentDisposition, type ContentDispositionWithLiterals, type CursorPaging, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DomainEvent, type DomainEventBodyOneOf, type DownloadUrl, type DraftFilePublished, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExternalInfo, type FaceRecognition, type FileDescriptor, type FileDescriptorFileFailedEnvelope, type FileDescriptorFileReadyEnvelope, type FileDescriptorQuery, type FileDescriptorQuerySpec, type FileFailed, type FileMedia, type FileMediaMediaOneOf, type FileReady, type FilesQueryBuilder, type FilesQueryResult, type FocalPoint, type FontAsset, type FontMedia, type GenerateAnimatedVectorRequest, type GenerateAnimatedVectorResponse, type GenerateFileDownloadUrlOptions, type GenerateFileDownloadUrlRequest, type GenerateFileDownloadUrlResponse, type GenerateFileDownloadUrlValidationErrors, type GenerateFileResumableUploadUrlOptions, type GenerateFileResumableUploadUrlRequest, type GenerateFileResumableUploadUrlResponse, type GenerateFileResumableUploadUrlValidationErrors, type GenerateFileUploadUrlOptions, type GenerateFileUploadUrlRequest, type GenerateFileUploadUrlResponse, type GenerateFileUploadUrlValidationErrors, type GenerateFilesDownloadUrlRequest, type GenerateFilesDownloadUrlResponse, type GenerateVideoStreamingUrlOptions, type GenerateVideoStreamingUrlRequest, type GenerateVideoStreamingUrlResponse, type GenerateWebSocketTokenRequest, type GenerateWebSocketTokenResponse, type GetFileDescriptorRequest, type GetFileDescriptorResponse, type GetFileDescriptorValidationErrors, type GetFileDescriptorsRequest, type GetFileDescriptorsResponse, type GetFileDescriptorsValidationErrors, type GetSiteFileDescriptorsRequest, type GetSiteFileDescriptorsResponse, type IdentificationData, type IdentificationDataIdOneOf, type IdentityInfo, IdentityType, type IdentityTypeWithLiterals, type ImageAnnotationConfigurations, ImageAnnotationType, type ImageAnnotationTypeWithLiterals, type ImageMedia, type ImportFileOptions, type ImportFileRequest, type ImportFileResponse, type ImportFileValidationErrors, type ItemMetadata, type ListDeletedFilesOptions, type ListDeletedFilesRequest, type ListDeletedFilesResponse, type ListDeletedFilesValidationErrors, type ListFilesOptions, type ListFilesRequest, type ListFilesResponse, type ListFilesValidationErrors, type ListRecentItemsRequest, type ListRecentItemsResponse, MediaType, type MediaTypeWithLiterals, type MessageEnvelope, type Model3D, Namespace, type NamespaceWithLiterals, OperationStatus, type OperationStatusWithLiterals, type OtherMedia, type PagingMetadataV2, type Plan, type Plans, type QueryFileDescriptorsRequest, type QueryFileDescriptorsResponse, type RestoreInfo, RootFolder, type RootFolderWithLiterals, type SearchFilesOptions, type SearchFilesRequest, type SearchFilesResponse, type SearchFilesValidationErrors, type ServiceError, type SiteQuotaExceededError, SortOrder, type SortOrderWithLiterals, type Sorting, State, type StateWithLiterals, StreamFormat, type StreamFormatWithLiterals, type SyncImportFileDescriptorRequest, type SyncImportFileDescriptorResponse, type SyncImportFileRequest, type SyncImportFileResponse, type TotalQuota, type UnsupportedRequestValueError, type UpdateFileDescriptorRequest, type UpdateFileDescriptorResponse, type UpdateFileDescriptorValidationErrors, type UpdateFileRequest, type UpdateFileResponse, UploadProtocol, type UploadProtocolWithLiterals, type VideoResolution, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkDeleteFiles, bulkImportFile, bulkImportFiles, bulkRestoreFilesFromTrashBin, generateFileDownloadUrl, generateFileResumableUploadUrl, generateFileUploadUrl, generateFilesDownloadUrl, generateVideoStreamingUrl, getFileDescriptor, getFileDescriptors, importFile, listDeletedFiles, listFiles, onFileDescriptorFileFailed, onFileDescriptorFileReady, queryFileDescriptors, searchFiles, typedQueryFileDescriptors, updateFileDescriptor, utils };
|