@wix/auto_sdk_media_files 1.0.16 → 1.0.18

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.
Files changed (21) hide show
  1. package/build/cjs/src/media-site-media-v1-file-descriptor-files.types.d.ts +43 -19
  2. package/build/cjs/src/media-site-media-v1-file-descriptor-files.types.js.map +1 -1
  3. package/build/cjs/src/media-site-media-v1-file-descriptor-files.universal.d.ts +91 -27
  4. package/build/cjs/src/media-site-media-v1-file-descriptor-files.universal.js +32 -0
  5. package/build/cjs/src/media-site-media-v1-file-descriptor-files.universal.js.map +1 -1
  6. package/build/es/src/media-site-media-v1-file-descriptor-files.types.d.ts +43 -19
  7. package/build/es/src/media-site-media-v1-file-descriptor-files.types.js.map +1 -1
  8. package/build/es/src/media-site-media-v1-file-descriptor-files.universal.d.ts +91 -27
  9. package/build/es/src/media-site-media-v1-file-descriptor-files.universal.js +32 -0
  10. package/build/es/src/media-site-media-v1-file-descriptor-files.universal.js.map +1 -1
  11. package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.types.d.ts +43 -19
  12. package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.types.js.map +1 -1
  13. package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.universal.d.ts +91 -27
  14. package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.universal.js +32 -0
  15. package/build/internal/cjs/src/media-site-media-v1-file-descriptor-files.universal.js.map +1 -1
  16. package/build/internal/es/src/media-site-media-v1-file-descriptor-files.types.d.ts +43 -19
  17. package/build/internal/es/src/media-site-media-v1-file-descriptor-files.types.js.map +1 -1
  18. package/build/internal/es/src/media-site-media-v1-file-descriptor-files.universal.d.ts +91 -27
  19. package/build/internal/es/src/media-site-media-v1-file-descriptor-files.universal.js +32 -0
  20. package/build/internal/es/src/media-site-media-v1-file-descriptor-files.universal.js.map +1 -1
  21. package/package.json +3 -3
@@ -44,7 +44,7 @@ export interface FileDescriptor {
44
44
  * Media file type.
45
45
  * @readonly
46
46
  */
47
- mediaType?: MediaType;
47
+ mediaType?: MediaTypeWithLiterals;
48
48
  /**
49
49
  * Media file content.
50
50
  * @readonly
@@ -57,7 +57,7 @@ export interface FileDescriptor {
57
57
  * * `PENDING`: The file is processing and the URLs are not yet available. This response is returned when importing a file.
58
58
  * @readonly
59
59
  */
60
- operationStatus?: OperationStatus;
60
+ operationStatus?: OperationStatusWithLiterals;
61
61
  /**
62
62
  * URL where the file was uploaded from.
63
63
  * @readonly
@@ -96,7 +96,7 @@ export interface FileDescriptor {
96
96
  * State of the file.
97
97
  * @readonly
98
98
  */
99
- state?: State;
99
+ state?: StateWithLiterals;
100
100
  }
101
101
  export declare enum MediaType {
102
102
  UNKNOWN = "UNKNOWN",
@@ -109,6 +109,8 @@ export declare enum MediaType {
109
109
  MODEL3D = "MODEL3D",
110
110
  OTHER = "OTHER"
111
111
  }
112
+ /** @enumType */
113
+ export type MediaTypeWithLiterals = MediaType | 'UNKNOWN' | 'IMAGE' | 'VIDEO' | 'AUDIO' | 'DOCUMENT' | 'VECTOR' | 'ARCHIVE' | 'MODEL3D' | 'OTHER';
112
114
  export interface FileMedia extends FileMediaMediaOneOf {
113
115
  /** Information about the image. */
114
116
  image?: ImageMedia;
@@ -414,12 +416,16 @@ export declare enum OperationStatus {
414
416
  /** File is waiting for processing or currently being processed */
415
417
  PENDING = "PENDING"
416
418
  }
419
+ /** @enumType */
420
+ export type OperationStatusWithLiterals = OperationStatus | 'FAILED' | 'READY' | 'PENDING';
417
421
  export declare enum State {
418
422
  /** File is ready for consumption */
419
423
  OK = "OK",
420
424
  /** Deleted file */
421
425
  DELETED = "DELETED"
422
426
  }
427
+ /** @enumType */
428
+ export type StateWithLiterals = State | 'OK' | 'DELETED';
423
429
  export declare enum Namespace {
424
430
  NO_NAMESPACE = "NO_NAMESPACE",
425
431
  OTHERS = "OTHERS",
@@ -448,9 +454,11 @@ export declare enum Namespace {
448
454
  /** _nsWixLegends */
449
455
  WIX_LEGENDS = "WIX_LEGENDS"
450
456
  }
457
+ /** @enumType */
458
+ export type NamespaceWithLiterals = Namespace | 'NO_NAMESPACE' | 'OTHERS' | 'WIX_VIDEO' | 'WIX_MUSIC' | 'ALBUMS_AND_ART_STORE' | 'WIX_ECOM' | 'PHOTO_SHARE_APP' | 'SHARING_APP' | 'CHAT' | 'LOGO_BUILDER' | 'ALBUMS_OLD' | 'CHAT_MOBILE' | 'WIX_FORMS' | 'WIX_LEGENDS';
451
459
  export interface IdentityInfo {
452
460
  /** The type of the user that uploaded the file */
453
- identityType?: IdentityType;
461
+ identityType?: IdentityTypeWithLiterals;
454
462
  /**
455
463
  * User Id. empty when UNKNOWN
456
464
  * @format GUID
@@ -464,6 +472,8 @@ export declare enum IdentityType {
464
472
  WIX_USER = "WIX_USER",
465
473
  APP = "APP"
466
474
  }
475
+ /** @enumType */
476
+ export type IdentityTypeWithLiterals = IdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
467
477
  export interface FileReady {
468
478
  /** File entity that is ready with full information. */
469
479
  file?: FileDescriptor;
@@ -503,7 +513,7 @@ export interface DraftFilePublished {
503
513
  /** The file after it was published */
504
514
  file?: FileDescriptor;
505
515
  /** The namespace the file was published to */
506
- namespace?: Namespace;
516
+ namespace?: NamespaceWithLiterals;
507
517
  }
508
518
  export interface BulkAnnotateImagesRequest {
509
519
  /**
@@ -518,7 +528,7 @@ export interface BulkAnnotateImagesRequest {
518
528
  * @minSize 1
519
529
  * @maxSize 10
520
530
  */
521
- annotationTypes?: ImageAnnotationType[];
531
+ annotationTypes?: ImageAnnotationTypeWithLiterals[];
522
532
  /** When true the endpoint will detect listed information even if the image has this information */
523
533
  overwrite?: boolean | null;
524
534
  /** Should the response return the item following the operation */
@@ -533,6 +543,8 @@ export declare enum ImageAnnotationType {
533
543
  COLORS = "COLORS",
534
544
  CAPTION = "CAPTION"
535
545
  }
546
+ /** @enumType */
547
+ export type ImageAnnotationTypeWithLiterals = ImageAnnotationType | 'UNKNOWN_IMAGE_ANNOTATION_TYPE' | 'CONTAINS_TEXT' | 'IS_ANIMATED' | 'FACES' | 'LABELS' | 'COLORS' | 'CAPTION';
536
548
  export interface BulkAnnotateImagesResponse {
537
549
  /** Results of individual items */
538
550
  results?: BulkAnnotateImageResult[];
@@ -629,7 +641,7 @@ export interface GenerateFileDownloadUrlRequest {
629
641
  *
630
642
  * Default: `ATTACHMENT`
631
643
  */
632
- contentDisposition?: ContentDisposition;
644
+ contentDisposition?: ContentDispositionWithLiterals;
633
645
  }
634
646
  export declare enum ContentDisposition {
635
647
  /** Using the link in the browser will download the file */
@@ -637,6 +649,8 @@ export declare enum ContentDisposition {
637
649
  /** Using the link in the browser will open the file in the browser */
638
650
  INLINE = "INLINE"
639
651
  }
652
+ /** @enumType */
653
+ export type ContentDispositionWithLiterals = ContentDisposition | 'ATTACHMENT' | 'INLINE';
640
654
  export interface GenerateFileDownloadUrlResponse {
641
655
  /**
642
656
  * URL for downloading a specific file in the Media Manager.
@@ -782,7 +796,7 @@ export interface ImageAnnotationConfigurations {
782
796
  * Default will be all detections
783
797
  * @maxSize 10
784
798
  */
785
- annotationTypes?: ImageAnnotationType[];
799
+ annotationTypes?: ImageAnnotationTypeWithLiterals[];
786
800
  }
787
801
  export interface GenerateFileUploadUrlResponse {
788
802
  /**
@@ -874,7 +888,7 @@ export interface GenerateFileResumableUploadUrlRequest {
874
888
  */
875
889
  labels?: string[] | null;
876
890
  /** The upload protocol to use for implementing the resumable upload. */
877
- uploadProtocol?: UploadProtocol;
891
+ uploadProtocol?: UploadProtocolWithLiterals;
878
892
  /**
879
893
  * Path to the folder where the file will be stored.
880
894
  * For example, `/videos/2024/december`. <br/>
@@ -888,9 +902,11 @@ export declare enum UploadProtocol {
888
902
  /** The upload protocol to use for implementing the resumable upload. */
889
903
  TUS = "TUS"
890
904
  }
905
+ /** @enumType */
906
+ export type UploadProtocolWithLiterals = UploadProtocol | 'TUS';
891
907
  export interface GenerateFileResumableUploadUrlResponse {
892
908
  /** The upload protocol to use for implementing the resumable upload. */
893
- uploadProtocol?: UploadProtocol;
909
+ uploadProtocol?: UploadProtocolWithLiterals;
894
910
  /**
895
911
  * The URL for uploading a file to the Media Manager.
896
912
  * @format WEB_URL
@@ -912,7 +928,7 @@ export interface ImportFileRequest {
912
928
  * Media type of the file to import.
913
929
  * excluding: OTHER media type
914
930
  */
915
- mediaType?: MediaType;
931
+ mediaType?: MediaTypeWithLiterals;
916
932
  /**
917
933
  * File name that appears in the Media Manager.
918
934
  * @maxLength 200
@@ -1005,7 +1021,7 @@ export interface ListFilesRequest {
1005
1021
  * File media type.
1006
1022
  * @maxSize 30
1007
1023
  */
1008
- mediaTypes?: MediaType[];
1024
+ mediaTypes?: MediaTypeWithLiterals[];
1009
1025
  /** \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)). */
1010
1026
  private?: boolean | null;
1011
1027
  /**
@@ -1026,12 +1042,14 @@ export interface Sorting {
1026
1042
  */
1027
1043
  fieldName?: string;
1028
1044
  /** Sort order. */
1029
- order?: SortOrder;
1045
+ order?: SortOrderWithLiterals;
1030
1046
  }
1031
1047
  export declare enum SortOrder {
1032
1048
  ASC = "ASC",
1033
1049
  DESC = "DESC"
1034
1050
  }
1051
+ /** @enumType */
1052
+ export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
1035
1053
  export interface CursorPaging {
1036
1054
  /**
1037
1055
  * Maximum number of items to return in the results.
@@ -1081,12 +1099,12 @@ export interface SearchFilesRequest {
1081
1099
  * A root folder in the media manager to search in. <br />
1082
1100
  * Default: `MEDIA_ROOT`.
1083
1101
  */
1084
- rootFolder?: RootFolder;
1102
+ rootFolder?: RootFolderWithLiterals;
1085
1103
  /**
1086
1104
  * File media type.
1087
1105
  * @maxSize 30
1088
1106
  */
1089
- mediaTypes?: MediaType[];
1107
+ mediaTypes?: MediaTypeWithLiterals[];
1090
1108
  /** \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)). */
1091
1109
  private?: boolean | null;
1092
1110
  /**
@@ -1108,6 +1126,8 @@ export declare enum RootFolder {
1108
1126
  /** Root of all visitor uploads */
1109
1127
  VISITOR_UPLOADS_ROOT = "VISITOR_UPLOADS_ROOT"
1110
1128
  }
1129
+ /** @enumType */
1130
+ export type RootFolderWithLiterals = RootFolder | 'MEDIA_ROOT' | 'TRASH_ROOT' | 'VISITOR_UPLOADS_ROOT';
1111
1131
  export interface SearchFilesResponse {
1112
1132
  /**
1113
1133
  * Files matching the query.
@@ -1127,13 +1147,15 @@ export interface GenerateVideoStreamingUrlRequest {
1127
1147
  */
1128
1148
  fileId: string;
1129
1149
  /** Video stream format. */
1130
- format?: StreamFormat;
1150
+ format?: StreamFormatWithLiterals;
1131
1151
  }
1132
1152
  export declare enum StreamFormat {
1133
1153
  UNKNOWN = "UNKNOWN",
1134
1154
  HLS = "HLS",
1135
1155
  DASH = "DASH"
1136
1156
  }
1157
+ /** @enumType */
1158
+ export type StreamFormatWithLiterals = StreamFormat | 'UNKNOWN' | 'HLS' | 'DASH';
1137
1159
  export interface GenerateVideoStreamingUrlResponse {
1138
1160
  /** URL for streaming a specific file in the Media Manager. */
1139
1161
  downloadUrl?: DownloadUrl;
@@ -1189,7 +1211,7 @@ export interface ListDeletedFilesRequest {
1189
1211
  * File media type.
1190
1212
  * @maxSize 30
1191
1213
  */
1192
- mediaTypes?: MediaType[];
1214
+ mediaTypes?: MediaTypeWithLiterals[];
1193
1215
  /** \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)). */
1194
1216
  private?: boolean | null;
1195
1217
  /**
@@ -1226,7 +1248,7 @@ export interface BulkPublishDraftFilesRequest {
1226
1248
  * The namespace the files will be published to
1227
1249
  * Note, private files must have a namespace
1228
1250
  */
1229
- namespace?: Namespace;
1251
+ namespace?: NamespaceWithLiterals;
1230
1252
  /**
1231
1253
  * ID of the file's parent folder. <br />
1232
1254
  * This folder is the path root for the `filePath`. <br />
@@ -1391,7 +1413,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
1391
1413
  */
1392
1414
  appId?: string;
1393
1415
  /** @readonly */
1394
- identityType?: WebhookIdentityType;
1416
+ identityType?: WebhookIdentityTypeWithLiterals;
1395
1417
  }
1396
1418
  /** @oneof */
1397
1419
  export interface IdentificationDataIdOneOf {
@@ -1423,6 +1445,8 @@ export declare enum WebhookIdentityType {
1423
1445
  WIX_USER = "WIX_USER",
1424
1446
  APP = "APP"
1425
1447
  }
1448
+ /** @enumType */
1449
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1426
1450
  export interface BaseEventMetadata {
1427
1451
  /**
1428
1452
  * App instance ID.
@@ -1488,6 +1512,8 @@ export interface FileDescriptorDeletedEnvelope {
1488
1512
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1489
1513
  * @permissionScope Manage Portfolio
1490
1514
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1515
+ * @permissionScope Manage Blog
1516
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1491
1517
  * @permissionScope Access Verticals by Automations
1492
1518
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1493
1519
  * @permissionScope Manage Restaurants - all permissions
@@ -1521,6 +1547,8 @@ export interface FileDescriptorFileFailedEnvelope {
1521
1547
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1522
1548
  * @permissionScope Manage Portfolio
1523
1549
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1550
+ * @permissionScope Manage Blog
1551
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1524
1552
  * @permissionScope Access Verticals by Automations
1525
1553
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1526
1554
  * @permissionScope Manage Restaurants - all permissions
@@ -1556,6 +1584,8 @@ export interface FileDescriptorFileReadyEnvelope {
1556
1584
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1557
1585
  * @permissionScope Manage Portfolio
1558
1586
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1587
+ * @permissionScope Manage Blog
1588
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1559
1589
  * @permissionScope Access Verticals by Automations
1560
1590
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1561
1591
  * @permissionScope Manage Restaurants - all permissions
@@ -1589,6 +1619,8 @@ export interface FileDescriptorUpdatedEnvelope {
1589
1619
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1590
1620
  * @permissionScope Manage Portfolio
1591
1621
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1622
+ * @permissionScope Manage Blog
1623
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1592
1624
  * @permissionScope Access Verticals by Automations
1593
1625
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1594
1626
  * @permissionScope Manage Restaurants - all permissions
@@ -1630,6 +1662,8 @@ type FileDescriptorNonNullablePaths = `_id` | `displayName` | `url` | `hash` | `
1630
1662
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1631
1663
  * @permissionScope Manage Portfolio
1632
1664
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1665
+ * @permissionScope Manage Blog
1666
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1633
1667
  * @permissionScope Access Verticals by Automations
1634
1668
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1635
1669
  * @permissionScope Manage Restaurants - all permissions
@@ -1671,6 +1705,8 @@ export declare function generateFilesDownloadUrl(fileIds: string[]): Promise<Non
1671
1705
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1672
1706
  * @permissionScope Manage Portfolio
1673
1707
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1708
+ * @permissionScope Manage Blog
1709
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1674
1710
  * @permissionScope Access Verticals by Automations
1675
1711
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1676
1712
  * @permissionScope Manage Restaurants - all permissions
@@ -1717,7 +1753,7 @@ export interface GenerateFileDownloadUrlOptions {
1717
1753
  *
1718
1754
  * Default: `ATTACHMENT`
1719
1755
  */
1720
- contentDisposition?: ContentDisposition;
1756
+ contentDisposition?: ContentDispositionWithLiterals;
1721
1757
  }
1722
1758
  /**
1723
1759
  * Gets information about a specific file in the Media Manager.
@@ -1742,6 +1778,8 @@ export interface GenerateFileDownloadUrlOptions {
1742
1778
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1743
1779
  * @permissionScope Manage Portfolio
1744
1780
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1781
+ * @permissionScope Manage Blog
1782
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1745
1783
  * @permissionScope Access Verticals by Automations
1746
1784
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1747
1785
  * @permissionScope Manage Restaurants - all permissions
@@ -1776,6 +1814,8 @@ export declare function getFileDescriptor(fileId: string): Promise<NonNullablePa
1776
1814
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1777
1815
  * @permissionScope Manage Portfolio
1778
1816
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1817
+ * @permissionScope Manage Blog
1818
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1779
1819
  * @permissionScope Access Verticals by Automations
1780
1820
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1781
1821
  * @permissionScope Manage Restaurants - all permissions
@@ -1809,6 +1849,8 @@ export declare function getFileDescriptors(fileIds: string[]): Promise<NonNullab
1809
1849
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1810
1850
  * @permissionScope Manage Portfolio
1811
1851
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1852
+ * @permissionScope Manage Blog
1853
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1812
1854
  * @permissionScope Access Verticals by Automations
1813
1855
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1814
1856
  * @permissionScope Manage Restaurants - all permissions
@@ -1844,6 +1886,8 @@ export declare function updateFileDescriptor(file: NonNullablePaths<FileDescript
1844
1886
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1845
1887
  * @permissionScope Manage Portfolio
1846
1888
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1889
+ * @permissionScope Manage Blog
1890
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1847
1891
  * @permissionScope Access Verticals by Automations
1848
1892
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1849
1893
  * @permissionScope Manage Restaurants - all permissions
@@ -1918,6 +1962,8 @@ export interface GenerateFileUploadUrlOptions {
1918
1962
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1919
1963
  * @permissionScope Manage Portfolio
1920
1964
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1965
+ * @permissionScope Manage Blog
1966
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1921
1967
  * @permissionScope Access Verticals by Automations
1922
1968
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1923
1969
  * @permissionScope Manage Restaurants - all permissions
@@ -1958,7 +2004,7 @@ export interface GenerateFileResumableUploadUrlOptions {
1958
2004
  */
1959
2005
  labels?: string[] | null;
1960
2006
  /** The upload protocol to use for implementing the resumable upload. */
1961
- uploadProtocol?: UploadProtocol;
2007
+ uploadProtocol?: UploadProtocolWithLiterals;
1962
2008
  /**
1963
2009
  * Path to the folder where the file will be stored.
1964
2010
  * For example, `/videos/2024/december`. <br/>
@@ -2001,6 +2047,8 @@ export interface GenerateFileResumableUploadUrlOptions {
2001
2047
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
2002
2048
  * @permissionScope Manage Portfolio
2003
2049
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
2050
+ * @permissionScope Manage Blog
2051
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
2004
2052
  * @permissionScope Access Verticals by Automations
2005
2053
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
2006
2054
  * @permissionScope Manage Restaurants - all permissions
@@ -2018,7 +2066,7 @@ export interface ImportFileOptions {
2018
2066
  * Media type of the file to import.
2019
2067
  * excluding: OTHER media type
2020
2068
  */
2021
- mediaType?: MediaType;
2069
+ mediaType?: MediaTypeWithLiterals;
2022
2070
  /**
2023
2071
  * File name that appears in the Media Manager.
2024
2072
  * @maxLength 200
@@ -2094,6 +2142,8 @@ export interface ImportFileOptions {
2094
2142
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
2095
2143
  * @permissionScope Manage Portfolio
2096
2144
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
2145
+ * @permissionScope Manage Blog
2146
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
2097
2147
  * @permissionScope Access Verticals by Automations
2098
2148
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
2099
2149
  * @permissionScope Manage Restaurants - all permissions
@@ -2144,6 +2194,8 @@ export declare function bulkImportFiles(importFileRequests: NonNullablePaths<Imp
2144
2194
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
2145
2195
  * @permissionScope Manage Portfolio
2146
2196
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
2197
+ * @permissionScope Manage Blog
2198
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
2147
2199
  * @permissionScope Access Verticals by Automations
2148
2200
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
2149
2201
  * @permissionScope Manage Restaurants - all permissions
@@ -2181,6 +2233,8 @@ export interface BulkImportFileOptions {
2181
2233
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
2182
2234
  * @permissionScope Manage Portfolio
2183
2235
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
2236
+ * @permissionScope Manage Blog
2237
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
2184
2238
  * @permissionScope Access Verticals by Automations
2185
2239
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
2186
2240
  * @permissionScope Manage Restaurants - all permissions
@@ -2204,7 +2258,7 @@ export interface ListFilesOptions {
2204
2258
  * File media type.
2205
2259
  * @maxSize 30
2206
2260
  */
2207
- mediaTypes?: MediaType[];
2261
+ mediaTypes?: MediaTypeWithLiterals[];
2208
2262
  /** \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)). */
2209
2263
  private?: boolean | null;
2210
2264
  /**
@@ -2239,6 +2293,8 @@ export interface ListFilesOptions {
2239
2293
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
2240
2294
  * @permissionScope Manage Portfolio
2241
2295
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
2296
+ * @permissionScope Manage Blog
2297
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
2242
2298
  * @permissionScope Access Verticals by Automations
2243
2299
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
2244
2300
  * @permissionScope Manage Restaurants - all permissions
@@ -2263,12 +2319,12 @@ export interface SearchFilesOptions {
2263
2319
  * A root folder in the media manager to search in. <br />
2264
2320
  * Default: `MEDIA_ROOT`.
2265
2321
  */
2266
- rootFolder?: RootFolder;
2322
+ rootFolder?: RootFolderWithLiterals;
2267
2323
  /**
2268
2324
  * File media type.
2269
2325
  * @maxSize 30
2270
2326
  */
2271
- mediaTypes?: MediaType[];
2327
+ mediaTypes?: MediaTypeWithLiterals[];
2272
2328
  /** \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)). */
2273
2329
  private?: boolean | null;
2274
2330
  /**
@@ -2308,6 +2364,8 @@ export interface SearchFilesOptions {
2308
2364
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
2309
2365
  * @permissionScope Manage Portfolio
2310
2366
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
2367
+ * @permissionScope Manage Blog
2368
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
2311
2369
  * @permissionScope Access Verticals by Automations
2312
2370
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
2313
2371
  * @permissionScope Manage Restaurants - all permissions
@@ -2320,7 +2378,7 @@ export interface SearchFilesOptions {
2320
2378
  export declare function generateVideoStreamingUrl(fileId: string, options?: GenerateVideoStreamingUrlOptions): Promise<NonNullablePaths<GenerateVideoStreamingUrlResponse, `downloadUrl.url` | `downloadUrl.assetKey`>>;
2321
2379
  export interface GenerateVideoStreamingUrlOptions {
2322
2380
  /** Video stream format. */
2323
- format?: StreamFormat;
2381
+ format?: StreamFormatWithLiterals;
2324
2382
  }
2325
2383
  /**
2326
2384
  * Deletes the specified files from the Media Manager. <br/>
@@ -2353,6 +2411,8 @@ export interface GenerateVideoStreamingUrlOptions {
2353
2411
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
2354
2412
  * @permissionScope Manage Portfolio
2355
2413
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
2414
+ * @permissionScope Manage Blog
2415
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
2356
2416
  * @permissionScope Access Verticals by Automations
2357
2417
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
2358
2418
  * @permissionScope Manage Restaurants - all permissions
@@ -2391,6 +2451,8 @@ export interface BulkDeleteFilesOptions {
2391
2451
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
2392
2452
  * @permissionScope Manage Portfolio
2393
2453
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
2454
+ * @permissionScope Manage Blog
2455
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
2394
2456
  * @permissionScope Access Verticals by Automations
2395
2457
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
2396
2458
  * @permissionScope Manage Restaurants - all permissions
@@ -2422,6 +2484,8 @@ export declare function bulkRestoreFilesFromTrashBin(fileIds: string[]): Promise
2422
2484
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
2423
2485
  * @permissionScope Manage Portfolio
2424
2486
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
2487
+ * @permissionScope Manage Blog
2488
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
2425
2489
  * @permissionScope Access Verticals by Automations
2426
2490
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
2427
2491
  * @permissionScope Manage Restaurants - all permissions
@@ -2445,7 +2509,7 @@ export interface ListDeletedFilesOptions {
2445
2509
  * File media type.
2446
2510
  * @maxSize 30
2447
2511
  */
2448
- mediaTypes?: MediaType[];
2512
+ mediaTypes?: MediaTypeWithLiterals[];
2449
2513
  /** \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)). */
2450
2514
  private?: boolean | null;
2451
2515
  /**
@@ -152,6 +152,8 @@ export var WebhookIdentityType;
152
152
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
153
153
  * @permissionScope Manage Portfolio
154
154
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
155
+ * @permissionScope Manage Blog
156
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
155
157
  * @permissionScope Access Verticals by Automations
156
158
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
157
159
  * @permissionScope Manage Restaurants - all permissions
@@ -213,6 +215,8 @@ export async function generateFilesDownloadUrl(fileIds) {
213
215
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
214
216
  * @permissionScope Manage Portfolio
215
217
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
218
+ * @permissionScope Manage Blog
219
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
216
220
  * @permissionScope Access Verticals by Automations
217
221
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
218
222
  * @permissionScope Manage Restaurants - all permissions
@@ -280,6 +284,8 @@ export async function generateFileDownloadUrl(fileId, options) {
280
284
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
281
285
  * @permissionScope Manage Portfolio
282
286
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
287
+ * @permissionScope Manage Blog
288
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
283
289
  * @permissionScope Access Verticals by Automations
284
290
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
285
291
  * @permissionScope Manage Restaurants - all permissions
@@ -359,6 +365,8 @@ export async function getFileDescriptor(fileId) {
359
365
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
360
366
  * @permissionScope Manage Portfolio
361
367
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
368
+ * @permissionScope Manage Blog
369
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
362
370
  * @permissionScope Access Verticals by Automations
363
371
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
364
372
  * @permissionScope Manage Restaurants - all permissions
@@ -435,6 +443,8 @@ export async function getFileDescriptors(fileIds) {
435
443
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
436
444
  * @permissionScope Manage Portfolio
437
445
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
446
+ * @permissionScope Manage Blog
447
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
438
448
  * @permissionScope Access Verticals by Automations
439
449
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
440
450
  * @permissionScope Manage Restaurants - all permissions
@@ -540,6 +550,8 @@ export async function updateFileDescriptor(file) {
540
550
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
541
551
  * @permissionScope Manage Portfolio
542
552
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
553
+ * @permissionScope Manage Blog
554
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
543
555
  * @permissionScope Access Verticals by Automations
544
556
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
545
557
  * @permissionScope Manage Restaurants - all permissions
@@ -612,6 +624,8 @@ export async function generateFileUploadUrl(mimeType, options) {
612
624
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
613
625
  * @permissionScope Manage Portfolio
614
626
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
627
+ * @permissionScope Manage Blog
628
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
615
629
  * @permissionScope Access Verticals by Automations
616
630
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
617
631
  * @permissionScope Manage Restaurants - all permissions
@@ -693,6 +707,8 @@ export async function generateFileResumableUploadUrl(mimeType, options) {
693
707
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
694
708
  * @permissionScope Manage Portfolio
695
709
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
710
+ * @permissionScope Manage Blog
711
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
696
712
  * @permissionScope Access Verticals by Automations
697
713
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
698
714
  * @permissionScope Manage Restaurants - all permissions
@@ -807,6 +823,8 @@ export async function importFile(url, options) {
807
823
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
808
824
  * @permissionScope Manage Portfolio
809
825
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
826
+ * @permissionScope Manage Blog
827
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
810
828
  * @permissionScope Access Verticals by Automations
811
829
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
812
830
  * @permissionScope Manage Restaurants - all permissions
@@ -902,6 +920,8 @@ export async function bulkImportFiles(importFileRequests) {
902
920
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
903
921
  * @permissionScope Manage Portfolio
904
922
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
923
+ * @permissionScope Manage Blog
924
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
905
925
  * @permissionScope Access Verticals by Automations
906
926
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
907
927
  * @permissionScope Manage Restaurants - all permissions
@@ -986,6 +1006,8 @@ export async function bulkImportFile(importFileRequests, options) {
986
1006
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
987
1007
  * @permissionScope Manage Portfolio
988
1008
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1009
+ * @permissionScope Manage Blog
1010
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
989
1011
  * @permissionScope Access Verticals by Automations
990
1012
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
991
1013
  * @permissionScope Manage Restaurants - all permissions
@@ -1074,6 +1096,8 @@ export async function listFiles(options) {
1074
1096
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1075
1097
  * @permissionScope Manage Portfolio
1076
1098
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1099
+ * @permissionScope Manage Blog
1100
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1077
1101
  * @permissionScope Access Verticals by Automations
1078
1102
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1079
1103
  * @permissionScope Manage Restaurants - all permissions
@@ -1169,6 +1193,8 @@ export async function searchFiles(options) {
1169
1193
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1170
1194
  * @permissionScope Manage Portfolio
1171
1195
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1196
+ * @permissionScope Manage Blog
1197
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1172
1198
  * @permissionScope Access Verticals by Automations
1173
1199
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1174
1200
  * @permissionScope Manage Restaurants - all permissions
@@ -1233,6 +1259,8 @@ export async function generateVideoStreamingUrl(fileId, options) {
1233
1259
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1234
1260
  * @permissionScope Manage Portfolio
1235
1261
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1262
+ * @permissionScope Manage Blog
1263
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1236
1264
  * @permissionScope Access Verticals by Automations
1237
1265
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1238
1266
  * @permissionScope Manage Restaurants - all permissions
@@ -1289,6 +1317,8 @@ export async function bulkDeleteFiles(fileIds, options) {
1289
1317
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1290
1318
  * @permissionScope Manage Portfolio
1291
1319
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1320
+ * @permissionScope Manage Blog
1321
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1292
1322
  * @permissionScope Access Verticals by Automations
1293
1323
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1294
1324
  * @permissionScope Manage Restaurants - all permissions
@@ -1339,6 +1369,8 @@ export async function bulkRestoreFilesFromTrashBin(fileIds) {
1339
1369
  * @permissionScopeId SCOPE.DC-MEDIA.MANAGE-MEDIAMANAGER
1340
1370
  * @permissionScope Manage Portfolio
1341
1371
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
1372
+ * @permissionScope Manage Blog
1373
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
1342
1374
  * @permissionScope Access Verticals by Automations
1343
1375
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1344
1376
  * @permissionScope Manage Restaurants - all permissions