@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.
- package/build/cjs/index.d.ts +36 -33
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +136 -67
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +45 -20
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +36 -33
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +136 -67
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +45 -20
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +36 -33
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +136 -67
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +45 -20
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +36 -33
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +136 -67
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +45 -20
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/meta.d.ts
CHANGED
|
@@ -784,8 +784,9 @@ interface BulkImportFileResult {
|
|
|
784
784
|
}
|
|
785
785
|
interface ListFilesRequest {
|
|
786
786
|
/**
|
|
787
|
-
* ID of the file's parent folder.
|
|
788
|
-
*
|
|
787
|
+
* ID of the file's parent folder.
|
|
788
|
+
*
|
|
789
|
+
* Default: `media-root`.
|
|
789
790
|
* @maxLength 100
|
|
790
791
|
*/
|
|
791
792
|
parentFolderId?: string | null;
|
|
@@ -794,13 +795,22 @@ interface ListFilesRequest {
|
|
|
794
795
|
* @maxSize 30
|
|
795
796
|
*/
|
|
796
797
|
mediaTypes?: MediaTypeWithLiterals[];
|
|
797
|
-
/**
|
|
798
|
+
/**
|
|
799
|
+
* Whether to return only private or only public files.
|
|
800
|
+
* + `true`: Returns only private files.
|
|
801
|
+
* + `false`: Returns only public files.
|
|
802
|
+
* + `undefined`: Returns public and private files.
|
|
803
|
+
*
|
|
804
|
+
* Learn more about private files ([SDK](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files) | [REST](https://dev.wix.com/docs/sdk/backend-modules/media/files/private-files)).
|
|
805
|
+
*/
|
|
798
806
|
private?: boolean | null;
|
|
799
807
|
/**
|
|
800
|
-
* Field name and order to sort by. One of:
|
|
801
|
-
*
|
|
802
|
-
*
|
|
803
|
-
*
|
|
808
|
+
* Field name and order to sort by. One of:
|
|
809
|
+
*
|
|
810
|
+
* `displayName`
|
|
811
|
+
* `updatedDate`
|
|
812
|
+
* `sizeInBytes`
|
|
813
|
+
*
|
|
804
814
|
* Default: `updatedDate` in `desc` order.
|
|
805
815
|
*/
|
|
806
816
|
sort?: Sorting;
|
|
@@ -861,14 +871,17 @@ interface Cursors {
|
|
|
861
871
|
}
|
|
862
872
|
interface SearchFilesRequest {
|
|
863
873
|
/**
|
|
864
|
-
*
|
|
865
|
-
*
|
|
866
|
-
* For example,
|
|
874
|
+
* Free text to match in searchable fields.
|
|
875
|
+
*
|
|
876
|
+
* For example, search for specific values in a file's
|
|
877
|
+
* `displayName`, `mimeType`, or `label`.
|
|
867
878
|
* @maxLength 200
|
|
868
879
|
*/
|
|
869
880
|
search?: string | null;
|
|
870
881
|
/**
|
|
871
|
-
*
|
|
882
|
+
* The root folder in the media manager to search in.
|
|
883
|
+
* For more information, see Root Folders in Terminology ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/introduction#terminology) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/introduction#terminology)).
|
|
884
|
+
*
|
|
872
885
|
* Default: `MEDIA_ROOT`.
|
|
873
886
|
*/
|
|
874
887
|
rootFolder?: RootFolderWithLiterals;
|
|
@@ -877,13 +890,23 @@ interface SearchFilesRequest {
|
|
|
877
890
|
* @maxSize 30
|
|
878
891
|
*/
|
|
879
892
|
mediaTypes?: MediaTypeWithLiterals[];
|
|
880
|
-
/**
|
|
893
|
+
/**
|
|
894
|
+
* Whether to return only private or only public files.
|
|
895
|
+
* + `true`: Returns only private files.
|
|
896
|
+
* + `false`: Returns only public files.
|
|
897
|
+
* + `undefined`: Returns public and private files.
|
|
898
|
+
*
|
|
899
|
+
* Learn more about private files ([SDK](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files) | [REST](https://dev.wix.com/docs/sdk/backend-modules/media/files/private-files)).
|
|
900
|
+
*/
|
|
881
901
|
private?: boolean | null;
|
|
882
902
|
/**
|
|
883
|
-
* Field name and order to sort by.
|
|
884
|
-
*
|
|
885
|
-
*
|
|
886
|
-
*
|
|
903
|
+
* Field name and order to sort by.
|
|
904
|
+
*
|
|
905
|
+
* One of:
|
|
906
|
+
* `displayName`
|
|
907
|
+
* `updatedDate`
|
|
908
|
+
* `sizeInBytes`
|
|
909
|
+
*
|
|
887
910
|
* Default: `updatedDate` in `desc` order.
|
|
888
911
|
*/
|
|
889
912
|
sort?: Sorting;
|
|
@@ -891,18 +914,20 @@ interface SearchFilesRequest {
|
|
|
891
914
|
paging?: CursorPaging;
|
|
892
915
|
}
|
|
893
916
|
declare enum RootFolder {
|
|
894
|
-
/**
|
|
917
|
+
/** Contains all files and folders in the Media Manager's **Site Files** tab in the UI. */
|
|
895
918
|
MEDIA_ROOT = "MEDIA_ROOT",
|
|
896
|
-
/**
|
|
919
|
+
/** Contains all files and folders in the Media Manager's **Trash** tab in the UI. */
|
|
897
920
|
TRASH_ROOT = "TRASH_ROOT",
|
|
898
|
-
/**
|
|
921
|
+
/** Contains all files and folders created by site visitors or members. */
|
|
899
922
|
VISITOR_UPLOADS_ROOT = "VISITOR_UPLOADS_ROOT"
|
|
900
923
|
}
|
|
901
924
|
/** @enumType */
|
|
902
925
|
type RootFolderWithLiterals = RootFolder | 'MEDIA_ROOT' | 'TRASH_ROOT' | 'VISITOR_UPLOADS_ROOT';
|
|
903
926
|
interface SearchFilesResponse {
|
|
904
927
|
/**
|
|
905
|
-
*
|
|
928
|
+
* Retrieved files that match the search criteria specified in the request.
|
|
929
|
+
*
|
|
930
|
+
* Each file includes all standard file information.
|
|
906
931
|
* @maxSize 200
|
|
907
932
|
*/
|
|
908
933
|
files?: FileDescriptor[];
|