@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.
@@ -784,8 +784,9 @@ interface BulkImportFileResult {
784
784
  }
785
785
  interface ListFilesRequest {
786
786
  /**
787
- * ID of the file's parent folder. <br />
788
- * Default:`media-root`.
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
- /** \n`true`: Returns only private files. \n`false`: Returns only public files. \n`undefined`: Returns public and private files. \n 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)). */
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: <br />
801
- * * `displayName`
802
- * * `updatedDate`
803
- * * `sizeInBytes`
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
- * Term to search for. Possible terms include the value of a file's
865
- * `displayName`, `mimeType`, and `label`. <br />
866
- * For example, if a file's label is cat, the search term is 'cat'.
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
- * A root folder in the media manager to search in. <br />
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
- /** \n`true`: Returns only private files. \n`false`: Returns only public files. \n`undefined`: Returns public and private files. \n 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)). */
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. One of: <br />
884
- * * `displayName`
885
- * * `updatedDate`
886
- * * `sizeInBytes`
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
- /** Root of all site media */
917
+ /** Contains all files and folders in the Media Manager's **Site Files** tab in the UI. */
895
918
  MEDIA_ROOT = "MEDIA_ROOT",
896
- /** Root of the trash system folder */
919
+ /** Contains all files and folders in the Media Manager's **Trash** tab in the UI. */
897
920
  TRASH_ROOT = "TRASH_ROOT",
898
- /** Root of all visitor uploads */
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
- * Files matching the query.
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[];