@wix/media 1.0.99 → 1.0.100

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/media",
3
- "version": "1.0.99",
3
+ "version": "1.0.100",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@wix/media_enterprise-media-categories": "1.0.24",
22
22
  "@wix/media_enterprise-media-items": "1.0.27",
23
- "@wix/media_files": "1.0.36",
23
+ "@wix/media_files": "1.0.37",
24
24
  "@wix/media_folders": "1.0.27"
25
25
  },
26
26
  "devDependencies": {
@@ -45,5 +45,5 @@
45
45
  "fqdn": ""
46
46
  }
47
47
  },
48
- "falconPackageHash": "e5841a18caf169746ec11327ddec9ad82d5c95cee90cba2cc853d489"
48
+ "falconPackageHash": "e037ed493c4a9b4b99feb5b7bc046c8cb76ab20c7421d7b9c73a7495"
49
49
  }
@@ -1379,6 +1379,7 @@ interface ImportFileRequest {
1379
1379
  displayName?: string | null;
1380
1380
  /**
1381
1381
  * ID of the file's parent folder. <br />
1382
+ * This folder is the path root for the `filePath`. <br />
1382
1383
  * Default: `media-root`.
1383
1384
  */
1384
1385
  parentFolderId?: string | null;
@@ -1395,11 +1396,10 @@ interface ImportFileRequest {
1395
1396
  /** Optional headers that should be sent with the external URL. */
1396
1397
  urlHeaders?: Record<string, any> | null;
1397
1398
  /**
1398
- * The path by folder names to create the file under.
1399
- * In case a folder in the path does not exist it will be created
1400
- * If multiple folders with the same name exist, the first one will be used
1401
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
1402
- * example: 'videos/2024/december'
1399
+ * Path to the folder where the file will be stored.
1400
+ * For example, `/videos/2024/december`. <br/>
1401
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
1402
+ * The folders in the path will be created if they don't already exist. <br />
1403
1403
  */
1404
1404
  filePath?: string | null;
1405
1405
  }
@@ -2103,6 +2103,7 @@ interface GenerateFileUploadUrlOptions {
2103
2103
  sizeInBytes?: string | null;
2104
2104
  /**
2105
2105
  * ID of the file's parent folder. <br />
2106
+ * This folder is the path root for the `filePath`.<br />
2106
2107
  * Default: `media-root`.
2107
2108
  */
2108
2109
  parentFolderId?: string | null;
@@ -2113,11 +2114,10 @@ interface GenerateFileUploadUrlOptions {
2113
2114
  /** Information sent to the `onFileDescriptorFileReady( )` and `onFileDescriptorFileFailed( )` events. See the Importing Files article to learn more. */
2114
2115
  externalInfo?: ExternalInfo;
2115
2116
  /**
2116
- * The path by folder names to create the file under.
2117
- * In case a folder in the path does not exist it will be created
2118
- * If multiple folders with the same name exist, the first one will be used
2119
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
2120
- * example: 'videos/2024/december'
2117
+ * Path to the folder where the file will be stored.
2118
+ * For example, `/videos/2024/december`. <br/>
2119
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
2120
+ * The folders in the path will be created if they don't already exist. <br />
2121
2121
  */
2122
2122
  filePath?: string | null;
2123
2123
  }
@@ -2134,6 +2134,7 @@ interface GenerateFileResumableUploadUrlOptions {
2134
2134
  sizeInBytes?: string | null;
2135
2135
  /**
2136
2136
  * ID of the file's parent folder. <br />
2137
+ * This folder is the path root for the `filePath`.<br />
2137
2138
  * Default: `media-root`.
2138
2139
  */
2139
2140
  parentFolderId?: string | null;
@@ -2148,11 +2149,10 @@ interface GenerateFileResumableUploadUrlOptions {
2148
2149
  */
2149
2150
  uploadProtocol?: UploadProtocol;
2150
2151
  /**
2151
- * The path by folder names to create the file under.
2152
- * In case a folder in the path does not exist it will be created
2153
- * If multiple folders with the same name exist, the first one will be used
2154
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
2155
- * example: 'videos/2024/december'
2152
+ * Path to the folder where the file will be stored.
2153
+ * For example, `/videos/2024/december`. <br/>
2154
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
2155
+ * The folders in the path will be created if they don't already exist. <br />
2156
2156
  */
2157
2157
  filePath?: string | null;
2158
2158
  }
@@ -2163,6 +2163,7 @@ interface ImportFileOptions {
2163
2163
  displayName?: string | null;
2164
2164
  /**
2165
2165
  * ID of the file's parent folder. <br />
2166
+ * This folder is the path root for the `filePath`. <br />
2166
2167
  * Default: `media-root`.
2167
2168
  */
2168
2169
  parentFolderId?: string | null;
@@ -2179,11 +2180,10 @@ interface ImportFileOptions {
2179
2180
  /** Optional headers that should be sent with the external URL. */
2180
2181
  urlHeaders?: Record<string, any> | null;
2181
2182
  /**
2182
- * The path by folder names to create the file under.
2183
- * In case a folder in the path does not exist it will be created
2184
- * If multiple folders with the same name exist, the first one will be used
2185
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
2186
- * example: 'videos/2024/december'
2183
+ * Path to the folder where the file will be stored.
2184
+ * For example, `/videos/2024/december`. <br/>
2185
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
2186
+ * The folders in the path will be created if they don't already exist. <br />
2187
2187
  */
2188
2188
  filePath?: string | null;
2189
2189
  }
@@ -2010,6 +2010,7 @@ interface GenerateFileUploadUrlRequest {
2010
2010
  sizeInBytes?: string | null;
2011
2011
  /**
2012
2012
  * ID of the file's parent folder. <br />
2013
+ * This folder is the path root for the `filePath`.<br />
2013
2014
  * Default: `media-root`.
2014
2015
  */
2015
2016
  parentFolderId?: string | null;
@@ -2020,11 +2021,10 @@ interface GenerateFileUploadUrlRequest {
2020
2021
  /** Information sent to the `onFileDescriptorFileReady( )` and `onFileDescriptorFileFailed( )` events. See the Importing Files article to learn more. */
2021
2022
  externalInfo?: ExternalInfo;
2022
2023
  /**
2023
- * The path by folder names to create the file under.
2024
- * In case a folder in the path does not exist it will be created
2025
- * If multiple folders with the same name exist, the first one will be used
2026
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
2027
- * example: 'videos/2024/december'
2024
+ * Path to the folder where the file will be stored.
2025
+ * For example, `/videos/2024/december`. <br/>
2026
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
2027
+ * The folders in the path will be created if they don't already exist. <br />
2028
2028
  */
2029
2029
  filePath?: string | null;
2030
2030
  }
@@ -2047,6 +2047,7 @@ interface GenerateFileResumableUploadUrlRequest {
2047
2047
  sizeInBytes?: string | null;
2048
2048
  /**
2049
2049
  * ID of the file's parent folder. <br />
2050
+ * This folder is the path root for the `filePath`.<br />
2050
2051
  * Default: `media-root`.
2051
2052
  */
2052
2053
  parentFolderId?: string | null;
@@ -2057,11 +2058,10 @@ interface GenerateFileResumableUploadUrlRequest {
2057
2058
  /** The upload protocol to use for implementing the resumable upload. */
2058
2059
  uploadProtocol?: UploadProtocol;
2059
2060
  /**
2060
- * The path by folder names to create the file under.
2061
- * In case a folder in the path does not exist it will be created
2062
- * If multiple folders with the same name exist, the first one will be used
2063
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
2064
- * example: 'videos/2024/december'
2061
+ * Path to the folder where the file will be stored.
2062
+ * For example, `/videos/2024/december`. <br/>
2063
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
2064
+ * The folders in the path will be created if they don't already exist. <br />
2065
2065
  */
2066
2066
  filePath?: string | null;
2067
2067
  }
@@ -2090,6 +2090,7 @@ interface ImportFileRequest {
2090
2090
  displayName?: string | null;
2091
2091
  /**
2092
2092
  * ID of the file's parent folder. <br />
2093
+ * This folder is the path root for the `filePath`. <br />
2093
2094
  * Default: `media-root`.
2094
2095
  */
2095
2096
  parentFolderId?: string | null;
@@ -2106,11 +2107,10 @@ interface ImportFileRequest {
2106
2107
  /** Optional headers that should be sent with the external URL. */
2107
2108
  urlHeaders?: Record<string, any> | null;
2108
2109
  /**
2109
- * The path by folder names to create the file under.
2110
- * In case a folder in the path does not exist it will be created
2111
- * If multiple folders with the same name exist, the first one will be used
2112
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
2113
- * example: 'videos/2024/december'
2110
+ * Path to the folder where the file will be stored.
2111
+ * For example, `/videos/2024/december`. <br/>
2112
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
2113
+ * The folders in the path will be created if they don't already exist. <br />
2114
2114
  */
2115
2115
  filePath?: string | null;
2116
2116
  }
@@ -2442,7 +2442,7 @@ interface DomainEventBodyOneOf$1 {
2442
2442
  interface EntityCreatedEvent$1 {
2443
2443
  entity?: string;
2444
2444
  }
2445
- interface UndeleteInfo {
2445
+ interface RestoreInfo {
2446
2446
  deletedDate?: Date;
2447
2447
  }
2448
2448
  interface EntityUpdatedEvent$1 {
@@ -3176,6 +3176,7 @@ interface GenerateFileUploadUrlOptions {
3176
3176
  sizeInBytes?: string | null;
3177
3177
  /**
3178
3178
  * ID of the file's parent folder. <br />
3179
+ * This folder is the path root for the `filePath`.<br />
3179
3180
  * Default: `media-root`.
3180
3181
  */
3181
3182
  parentFolderId?: string | null;
@@ -3186,11 +3187,10 @@ interface GenerateFileUploadUrlOptions {
3186
3187
  /** Information sent to the `onFileDescriptorFileReady( )` and `onFileDescriptorFileFailed( )` events. See the Importing Files article to learn more. */
3187
3188
  externalInfo?: ExternalInfo;
3188
3189
  /**
3189
- * The path by folder names to create the file under.
3190
- * In case a folder in the path does not exist it will be created
3191
- * If multiple folders with the same name exist, the first one will be used
3192
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
3193
- * example: 'videos/2024/december'
3190
+ * Path to the folder where the file will be stored.
3191
+ * For example, `/videos/2024/december`. <br/>
3192
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
3193
+ * The folders in the path will be created if they don't already exist. <br />
3194
3194
  */
3195
3195
  filePath?: string | null;
3196
3196
  }
@@ -3207,6 +3207,7 @@ interface GenerateFileResumableUploadUrlOptions {
3207
3207
  sizeInBytes?: string | null;
3208
3208
  /**
3209
3209
  * ID of the file's parent folder. <br />
3210
+ * This folder is the path root for the `filePath`.<br />
3210
3211
  * Default: `media-root`.
3211
3212
  */
3212
3213
  parentFolderId?: string | null;
@@ -3221,11 +3222,10 @@ interface GenerateFileResumableUploadUrlOptions {
3221
3222
  */
3222
3223
  uploadProtocol?: UploadProtocol;
3223
3224
  /**
3224
- * The path by folder names to create the file under.
3225
- * In case a folder in the path does not exist it will be created
3226
- * If multiple folders with the same name exist, the first one will be used
3227
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
3228
- * example: 'videos/2024/december'
3225
+ * Path to the folder where the file will be stored.
3226
+ * For example, `/videos/2024/december`. <br/>
3227
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
3228
+ * The folders in the path will be created if they don't already exist. <br />
3229
3229
  */
3230
3230
  filePath?: string | null;
3231
3231
  }
@@ -3236,6 +3236,7 @@ interface ImportFileOptions {
3236
3236
  displayName?: string | null;
3237
3237
  /**
3238
3238
  * ID of the file's parent folder. <br />
3239
+ * This folder is the path root for the `filePath`. <br />
3239
3240
  * Default: `media-root`.
3240
3241
  */
3241
3242
  parentFolderId?: string | null;
@@ -3252,11 +3253,10 @@ interface ImportFileOptions {
3252
3253
  /** Optional headers that should be sent with the external URL. */
3253
3254
  urlHeaders?: Record<string, any> | null;
3254
3255
  /**
3255
- * The path by folder names to create the file under.
3256
- * In case a folder in the path does not exist it will be created
3257
- * If multiple folders with the same name exist, the first one will be used
3258
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
3259
- * example: 'videos/2024/december'
3256
+ * Path to the folder where the file will be stored.
3257
+ * For example, `/videos/2024/december`. <br/>
3258
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
3259
+ * The folders in the path will be created if they don't already exist. <br />
3260
3260
  */
3261
3261
  filePath?: string | null;
3262
3262
  }
@@ -3619,13 +3619,13 @@ type index_d$1_Model3D = Model3D;
3619
3619
  type index_d$1_OperationStatus = OperationStatus;
3620
3620
  declare const index_d$1_OperationStatus: typeof OperationStatus;
3621
3621
  type index_d$1_OtherMedia = OtherMedia;
3622
+ type index_d$1_RestoreInfo = RestoreInfo;
3622
3623
  type index_d$1_SearchFilesOptions = SearchFilesOptions;
3623
3624
  type index_d$1_SearchFilesRequest = SearchFilesRequest;
3624
3625
  type index_d$1_SearchFilesResponse = SearchFilesResponse;
3625
3626
  type index_d$1_SearchFilesResponseNonNullableFields = SearchFilesResponseNonNullableFields;
3626
3627
  type index_d$1_StreamFormat = StreamFormat;
3627
3628
  declare const index_d$1_StreamFormat: typeof StreamFormat;
3628
- type index_d$1_UndeleteInfo = UndeleteInfo;
3629
3629
  type index_d$1_UpdateFileDescriptorRequest = UpdateFileDescriptorRequest;
3630
3630
  type index_d$1_UpdateFileDescriptorResponse = UpdateFileDescriptorResponse;
3631
3631
  type index_d$1_UpdateFileDescriptorResponseNonNullableFields = UpdateFileDescriptorResponseNonNullableFields;
@@ -3655,7 +3655,7 @@ declare const index_d$1_onFileDescriptorUpdated: typeof onFileDescriptorUpdated;
3655
3655
  declare const index_d$1_searchFiles: typeof searchFiles;
3656
3656
  declare const index_d$1_updateFileDescriptor: typeof updateFileDescriptor;
3657
3657
  declare namespace index_d$1 {
3658
- export { type ActionEvent$1 as ActionEvent, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Archive as Archive, type index_d$1_AudioV2 as AudioV2, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, type index_d$1_BulkDeleteFilesOptions as BulkDeleteFilesOptions, type index_d$1_BulkDeleteFilesRequest as BulkDeleteFilesRequest, type index_d$1_BulkDeleteFilesResponse as BulkDeleteFilesResponse, type index_d$1_BulkImportFileOptions as BulkImportFileOptions, type index_d$1_BulkImportFileRequest as BulkImportFileRequest, type index_d$1_BulkImportFileResponse as BulkImportFileResponse, type index_d$1_BulkImportFileResponseNonNullableFields as BulkImportFileResponseNonNullableFields, type index_d$1_BulkImportFileResult as BulkImportFileResult, type index_d$1_BulkImportFilesRequest as BulkImportFilesRequest, type index_d$1_BulkImportFilesResponse as BulkImportFilesResponse, type index_d$1_BulkImportFilesResponseNonNullableFields as BulkImportFilesResponseNonNullableFields, type index_d$1_BulkRestoreFilesFromTrashBinRequest as BulkRestoreFilesFromTrashBinRequest, type index_d$1_BulkRestoreFilesFromTrashBinResponse as BulkRestoreFilesFromTrashBinResponse, type index_d$1_Color as Color, type index_d$1_ColorRGB as ColorRGB, type index_d$1_Colors as Colors, index_d$1_ContentDisposition as ContentDisposition, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_DownloadUrl as DownloadUrl, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_ExternalInfo as ExternalInfo, type index_d$1_FaceRecognition as FaceRecognition, type index_d$1_FileDescriptor as FileDescriptor, type index_d$1_FileDescriptorDeletedEnvelope as FileDescriptorDeletedEnvelope, type index_d$1_FileDescriptorFileFailedEnvelope as FileDescriptorFileFailedEnvelope, type index_d$1_FileDescriptorFileReadyEnvelope as FileDescriptorFileReadyEnvelope, type index_d$1_FileDescriptorUpdatedEnvelope as FileDescriptorUpdatedEnvelope, type index_d$1_FileFailed as FileFailed, type index_d$1_FileMedia as FileMedia, type index_d$1_FileMediaMediaOneOf as FileMediaMediaOneOf, type index_d$1_FileReady as FileReady, type index_d$1_GenerateFileDownloadUrlOptions as GenerateFileDownloadUrlOptions, type index_d$1_GenerateFileDownloadUrlRequest as GenerateFileDownloadUrlRequest, type index_d$1_GenerateFileDownloadUrlResponse as GenerateFileDownloadUrlResponse, type index_d$1_GenerateFileDownloadUrlResponseNonNullableFields as GenerateFileDownloadUrlResponseNonNullableFields, type index_d$1_GenerateFileResumableUploadUrlOptions as GenerateFileResumableUploadUrlOptions, type index_d$1_GenerateFileResumableUploadUrlRequest as GenerateFileResumableUploadUrlRequest, type index_d$1_GenerateFileResumableUploadUrlResponse as GenerateFileResumableUploadUrlResponse, type index_d$1_GenerateFileResumableUploadUrlResponseNonNullableFields as GenerateFileResumableUploadUrlResponseNonNullableFields, type index_d$1_GenerateFileUploadUrlOptions as GenerateFileUploadUrlOptions, type index_d$1_GenerateFileUploadUrlRequest as GenerateFileUploadUrlRequest, type index_d$1_GenerateFileUploadUrlResponse as GenerateFileUploadUrlResponse, type index_d$1_GenerateFileUploadUrlResponseNonNullableFields as GenerateFileUploadUrlResponseNonNullableFields, type index_d$1_GenerateFilesDownloadUrlRequest as GenerateFilesDownloadUrlRequest, type index_d$1_GenerateFilesDownloadUrlResponse as GenerateFilesDownloadUrlResponse, type index_d$1_GenerateFilesDownloadUrlResponseNonNullableFields as GenerateFilesDownloadUrlResponseNonNullableFields, type index_d$1_GenerateVideoStreamingUrlOptions as GenerateVideoStreamingUrlOptions, type index_d$1_GenerateVideoStreamingUrlRequest as GenerateVideoStreamingUrlRequest, type index_d$1_GenerateVideoStreamingUrlResponse as GenerateVideoStreamingUrlResponse, type index_d$1_GenerateVideoStreamingUrlResponseNonNullableFields as GenerateVideoStreamingUrlResponseNonNullableFields, type index_d$1_GenerateWebSocketTokenRequest as GenerateWebSocketTokenRequest, type index_d$1_GenerateWebSocketTokenResponse as GenerateWebSocketTokenResponse, type index_d$1_GetFileDescriptorRequest as GetFileDescriptorRequest, type index_d$1_GetFileDescriptorResponse as GetFileDescriptorResponse, type index_d$1_GetFileDescriptorResponseNonNullableFields as GetFileDescriptorResponseNonNullableFields, type index_d$1_GetFileDescriptorsRequest as GetFileDescriptorsRequest, type index_d$1_GetFileDescriptorsResponse as GetFileDescriptorsResponse, type index_d$1_GetFileDescriptorsResponseNonNullableFields as GetFileDescriptorsResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$1_IdentityInfo as IdentityInfo, index_d$1_IdentityType as IdentityType, type index_d$1_ImageMedia as ImageMedia, type index_d$1_ImportFileOptions as ImportFileOptions, type index_d$1_ImportFileRequest as ImportFileRequest, type index_d$1_ImportFileResponse as ImportFileResponse, type index_d$1_ImportFileResponseNonNullableFields as ImportFileResponseNonNullableFields, type index_d$1_ItemMetadata as ItemMetadata, type index_d$1_ListDeletedFilesOptions as ListDeletedFilesOptions, type index_d$1_ListDeletedFilesRequest as ListDeletedFilesRequest, type index_d$1_ListDeletedFilesResponse as ListDeletedFilesResponse, type index_d$1_ListDeletedFilesResponseNonNullableFields as ListDeletedFilesResponseNonNullableFields, type index_d$1_ListFilesOptions as ListFilesOptions, type index_d$1_ListFilesRequest as ListFilesRequest, type index_d$1_ListFilesResponse as ListFilesResponse, type index_d$1_ListFilesResponseNonNullableFields as ListFilesResponseNonNullableFields, index_d$1_MediaType as MediaType, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_Model3D as Model3D, Namespace$1 as Namespace, index_d$1_OperationStatus as OperationStatus, type index_d$1_OtherMedia as OtherMedia, type PagingMetadataV2$1 as PagingMetadataV2, RootFolder$1 as RootFolder, type index_d$1_SearchFilesOptions as SearchFilesOptions, type index_d$1_SearchFilesRequest as SearchFilesRequest, type index_d$1_SearchFilesResponse as SearchFilesResponse, type index_d$1_SearchFilesResponseNonNullableFields as SearchFilesResponseNonNullableFields, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, index_d$1_StreamFormat as StreamFormat, type index_d$1_UndeleteInfo as UndeleteInfo, type index_d$1_UpdateFileDescriptorRequest as UpdateFileDescriptorRequest, type index_d$1_UpdateFileDescriptorResponse as UpdateFileDescriptorResponse, type index_d$1_UpdateFileDescriptorResponseNonNullableFields as UpdateFileDescriptorResponseNonNullableFields, type index_d$1_UpdateFileRequest as UpdateFileRequest, type index_d$1_UpdateFileResponse as UpdateFileResponse, index_d$1_UploadProtocol as UploadProtocol, type index_d$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_bulkDeleteFiles as bulkDeleteFiles, index_d$1_bulkImportFile as bulkImportFile, index_d$1_bulkImportFiles as bulkImportFiles, index_d$1_bulkRestoreFilesFromTrashBin as bulkRestoreFilesFromTrashBin, index_d$1_generateFileDownloadUrl as generateFileDownloadUrl, index_d$1_generateFileResumableUploadUrl as generateFileResumableUploadUrl, index_d$1_generateFileUploadUrl as generateFileUploadUrl, index_d$1_generateFilesDownloadUrl as generateFilesDownloadUrl, index_d$1_generateVideoStreamingUrl as generateVideoStreamingUrl, index_d$1_getFileDescriptor as getFileDescriptor, index_d$1_getFileDescriptors as getFileDescriptors, index_d$1_importFile as importFile, index_d$1_listDeletedFiles as listDeletedFiles, index_d$1_listFiles as listFiles, index_d$1_onFileDescriptorDeleted as onFileDescriptorDeleted, index_d$1_onFileDescriptorFileFailed as onFileDescriptorFileFailed, index_d$1_onFileDescriptorFileReady as onFileDescriptorFileReady, index_d$1_onFileDescriptorUpdated as onFileDescriptorUpdated, index_d$1_searchFiles as searchFiles, index_d$1_updateFileDescriptor as updateFileDescriptor };
3658
+ export { type ActionEvent$1 as ActionEvent, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Archive as Archive, type index_d$1_AudioV2 as AudioV2, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, type index_d$1_BulkDeleteFilesOptions as BulkDeleteFilesOptions, type index_d$1_BulkDeleteFilesRequest as BulkDeleteFilesRequest, type index_d$1_BulkDeleteFilesResponse as BulkDeleteFilesResponse, type index_d$1_BulkImportFileOptions as BulkImportFileOptions, type index_d$1_BulkImportFileRequest as BulkImportFileRequest, type index_d$1_BulkImportFileResponse as BulkImportFileResponse, type index_d$1_BulkImportFileResponseNonNullableFields as BulkImportFileResponseNonNullableFields, type index_d$1_BulkImportFileResult as BulkImportFileResult, type index_d$1_BulkImportFilesRequest as BulkImportFilesRequest, type index_d$1_BulkImportFilesResponse as BulkImportFilesResponse, type index_d$1_BulkImportFilesResponseNonNullableFields as BulkImportFilesResponseNonNullableFields, type index_d$1_BulkRestoreFilesFromTrashBinRequest as BulkRestoreFilesFromTrashBinRequest, type index_d$1_BulkRestoreFilesFromTrashBinResponse as BulkRestoreFilesFromTrashBinResponse, type index_d$1_Color as Color, type index_d$1_ColorRGB as ColorRGB, type index_d$1_Colors as Colors, index_d$1_ContentDisposition as ContentDisposition, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_DownloadUrl as DownloadUrl, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_ExternalInfo as ExternalInfo, type index_d$1_FaceRecognition as FaceRecognition, type index_d$1_FileDescriptor as FileDescriptor, type index_d$1_FileDescriptorDeletedEnvelope as FileDescriptorDeletedEnvelope, type index_d$1_FileDescriptorFileFailedEnvelope as FileDescriptorFileFailedEnvelope, type index_d$1_FileDescriptorFileReadyEnvelope as FileDescriptorFileReadyEnvelope, type index_d$1_FileDescriptorUpdatedEnvelope as FileDescriptorUpdatedEnvelope, type index_d$1_FileFailed as FileFailed, type index_d$1_FileMedia as FileMedia, type index_d$1_FileMediaMediaOneOf as FileMediaMediaOneOf, type index_d$1_FileReady as FileReady, type index_d$1_GenerateFileDownloadUrlOptions as GenerateFileDownloadUrlOptions, type index_d$1_GenerateFileDownloadUrlRequest as GenerateFileDownloadUrlRequest, type index_d$1_GenerateFileDownloadUrlResponse as GenerateFileDownloadUrlResponse, type index_d$1_GenerateFileDownloadUrlResponseNonNullableFields as GenerateFileDownloadUrlResponseNonNullableFields, type index_d$1_GenerateFileResumableUploadUrlOptions as GenerateFileResumableUploadUrlOptions, type index_d$1_GenerateFileResumableUploadUrlRequest as GenerateFileResumableUploadUrlRequest, type index_d$1_GenerateFileResumableUploadUrlResponse as GenerateFileResumableUploadUrlResponse, type index_d$1_GenerateFileResumableUploadUrlResponseNonNullableFields as GenerateFileResumableUploadUrlResponseNonNullableFields, type index_d$1_GenerateFileUploadUrlOptions as GenerateFileUploadUrlOptions, type index_d$1_GenerateFileUploadUrlRequest as GenerateFileUploadUrlRequest, type index_d$1_GenerateFileUploadUrlResponse as GenerateFileUploadUrlResponse, type index_d$1_GenerateFileUploadUrlResponseNonNullableFields as GenerateFileUploadUrlResponseNonNullableFields, type index_d$1_GenerateFilesDownloadUrlRequest as GenerateFilesDownloadUrlRequest, type index_d$1_GenerateFilesDownloadUrlResponse as GenerateFilesDownloadUrlResponse, type index_d$1_GenerateFilesDownloadUrlResponseNonNullableFields as GenerateFilesDownloadUrlResponseNonNullableFields, type index_d$1_GenerateVideoStreamingUrlOptions as GenerateVideoStreamingUrlOptions, type index_d$1_GenerateVideoStreamingUrlRequest as GenerateVideoStreamingUrlRequest, type index_d$1_GenerateVideoStreamingUrlResponse as GenerateVideoStreamingUrlResponse, type index_d$1_GenerateVideoStreamingUrlResponseNonNullableFields as GenerateVideoStreamingUrlResponseNonNullableFields, type index_d$1_GenerateWebSocketTokenRequest as GenerateWebSocketTokenRequest, type index_d$1_GenerateWebSocketTokenResponse as GenerateWebSocketTokenResponse, type index_d$1_GetFileDescriptorRequest as GetFileDescriptorRequest, type index_d$1_GetFileDescriptorResponse as GetFileDescriptorResponse, type index_d$1_GetFileDescriptorResponseNonNullableFields as GetFileDescriptorResponseNonNullableFields, type index_d$1_GetFileDescriptorsRequest as GetFileDescriptorsRequest, type index_d$1_GetFileDescriptorsResponse as GetFileDescriptorsResponse, type index_d$1_GetFileDescriptorsResponseNonNullableFields as GetFileDescriptorsResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$1_IdentityInfo as IdentityInfo, index_d$1_IdentityType as IdentityType, type index_d$1_ImageMedia as ImageMedia, type index_d$1_ImportFileOptions as ImportFileOptions, type index_d$1_ImportFileRequest as ImportFileRequest, type index_d$1_ImportFileResponse as ImportFileResponse, type index_d$1_ImportFileResponseNonNullableFields as ImportFileResponseNonNullableFields, type index_d$1_ItemMetadata as ItemMetadata, type index_d$1_ListDeletedFilesOptions as ListDeletedFilesOptions, type index_d$1_ListDeletedFilesRequest as ListDeletedFilesRequest, type index_d$1_ListDeletedFilesResponse as ListDeletedFilesResponse, type index_d$1_ListDeletedFilesResponseNonNullableFields as ListDeletedFilesResponseNonNullableFields, type index_d$1_ListFilesOptions as ListFilesOptions, type index_d$1_ListFilesRequest as ListFilesRequest, type index_d$1_ListFilesResponse as ListFilesResponse, type index_d$1_ListFilesResponseNonNullableFields as ListFilesResponseNonNullableFields, index_d$1_MediaType as MediaType, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_Model3D as Model3D, Namespace$1 as Namespace, index_d$1_OperationStatus as OperationStatus, type index_d$1_OtherMedia as OtherMedia, type PagingMetadataV2$1 as PagingMetadataV2, type index_d$1_RestoreInfo as RestoreInfo, RootFolder$1 as RootFolder, type index_d$1_SearchFilesOptions as SearchFilesOptions, type index_d$1_SearchFilesRequest as SearchFilesRequest, type index_d$1_SearchFilesResponse as SearchFilesResponse, type index_d$1_SearchFilesResponseNonNullableFields as SearchFilesResponseNonNullableFields, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, index_d$1_StreamFormat as StreamFormat, type index_d$1_UpdateFileDescriptorRequest as UpdateFileDescriptorRequest, type index_d$1_UpdateFileDescriptorResponse as UpdateFileDescriptorResponse, type index_d$1_UpdateFileDescriptorResponseNonNullableFields as UpdateFileDescriptorResponseNonNullableFields, type index_d$1_UpdateFileRequest as UpdateFileRequest, type index_d$1_UpdateFileResponse as UpdateFileResponse, index_d$1_UploadProtocol as UploadProtocol, type index_d$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_bulkDeleteFiles as bulkDeleteFiles, index_d$1_bulkImportFile as bulkImportFile, index_d$1_bulkImportFiles as bulkImportFiles, index_d$1_bulkRestoreFilesFromTrashBin as bulkRestoreFilesFromTrashBin, index_d$1_generateFileDownloadUrl as generateFileDownloadUrl, index_d$1_generateFileResumableUploadUrl as generateFileResumableUploadUrl, index_d$1_generateFileUploadUrl as generateFileUploadUrl, index_d$1_generateFilesDownloadUrl as generateFilesDownloadUrl, index_d$1_generateVideoStreamingUrl as generateVideoStreamingUrl, index_d$1_getFileDescriptor as getFileDescriptor, index_d$1_getFileDescriptors as getFileDescriptors, index_d$1_importFile as importFile, index_d$1_listDeletedFiles as listDeletedFiles, index_d$1_listFiles as listFiles, index_d$1_onFileDescriptorDeleted as onFileDescriptorDeleted, index_d$1_onFileDescriptorFileFailed as onFileDescriptorFileFailed, index_d$1_onFileDescriptorFileReady as onFileDescriptorFileReady, index_d$1_onFileDescriptorUpdated as onFileDescriptorUpdated, index_d$1_searchFiles as searchFiles, index_d$1_updateFileDescriptor as updateFileDescriptor };
3659
3659
  }
3660
3660
 
3661
3661
  interface Folder {
@@ -2265,6 +2265,7 @@ interface GenerateFileUploadUrlRequest$1 {
2265
2265
  sizeInBytes?: string | null;
2266
2266
  /**
2267
2267
  * ID of the file's parent folder. <br />
2268
+ * This folder is the path root for the `filePath`.<br />
2268
2269
  * Default: `media-root`.
2269
2270
  */
2270
2271
  parentFolderId?: string | null;
@@ -2275,11 +2276,10 @@ interface GenerateFileUploadUrlRequest$1 {
2275
2276
  /** A place to map an external entity to an uploaded file in the Wix Media Manager. */
2276
2277
  externalInfo?: ExternalInfo$1;
2277
2278
  /**
2278
- * The path by folder names to create the file under.
2279
- * In case a folder in the path does not exist it will be created
2280
- * If multiple folders with the same name exist, the first one will be used
2281
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
2282
- * example: 'videos/2024/december'
2279
+ * Path to the folder where the file will be stored.
2280
+ * For example, `/videos/2024/december`. <br/>
2281
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
2282
+ * The folders in the path will be created if they don't already exist. <br />
2283
2283
  */
2284
2284
  filePath?: string | null;
2285
2285
  }
@@ -2302,6 +2302,7 @@ interface GenerateFileResumableUploadUrlRequest$1 {
2302
2302
  sizeInBytes?: string | null;
2303
2303
  /**
2304
2304
  * ID of the file's parent folder. <br />
2305
+ * This folder is the path root for the `filePath`.<br />
2305
2306
  * Default: `media-root`.
2306
2307
  */
2307
2308
  parentFolderId?: string | null;
@@ -2312,11 +2313,10 @@ interface GenerateFileResumableUploadUrlRequest$1 {
2312
2313
  /** The upload protocol to use for implementing the resumable upload. */
2313
2314
  uploadProtocol?: UploadProtocol$1;
2314
2315
  /**
2315
- * The path by folder names to create the file under.
2316
- * In case a folder in the path does not exist it will be created
2317
- * If multiple folders with the same name exist, the first one will be used
2318
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
2319
- * example: 'videos/2024/december'
2316
+ * Path to the folder where the file will be stored.
2317
+ * For example, `/videos/2024/december`. <br/>
2318
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
2319
+ * The folders in the path will be created if they don't already exist. <br />
2320
2320
  */
2321
2321
  filePath?: string | null;
2322
2322
  }
@@ -2344,6 +2344,7 @@ interface ImportFileRequest$1 {
2344
2344
  displayName?: string | null;
2345
2345
  /**
2346
2346
  * ID of the file's parent folder. <br />
2347
+ * This folder is the path root for the `filePath`. <br />
2347
2348
  * Default: `media-root`.
2348
2349
  */
2349
2350
  parentFolderId?: string | null;
@@ -2360,11 +2361,10 @@ interface ImportFileRequest$1 {
2360
2361
  /** Optional headers that should be sent with the external URL. */
2361
2362
  urlHeaders?: Record<string, any> | null;
2362
2363
  /**
2363
- * The path by folder names to create the file under.
2364
- * In case a folder in the path does not exist it will be created
2365
- * If multiple folders with the same name exist, the first one will be used
2366
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
2367
- * example: 'videos/2024/december'
2364
+ * Path to the folder where the file will be stored.
2365
+ * For example, `/videos/2024/december`. <br/>
2366
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
2367
+ * The folders in the path will be created if they don't already exist. <br />
2368
2368
  */
2369
2369
  filePath?: string | null;
2370
2370
  }
@@ -4117,6 +4117,7 @@ interface GenerateFileUploadUrlRequest {
4117
4117
  sizeInBytes?: string | null;
4118
4118
  /**
4119
4119
  * ID of the file's parent folder. <br />
4120
+ * This folder is the path root for the `filePath`.<br />
4120
4121
  * Default: `media-root`.
4121
4122
  */
4122
4123
  parentFolderId?: string | null;
@@ -4127,11 +4128,10 @@ interface GenerateFileUploadUrlRequest {
4127
4128
  /** Information sent to the `onFileDescriptorFileReady( )` and `onFileDescriptorFileFailed( )` events. See the Importing Files article to learn more. */
4128
4129
  externalInfo?: ExternalInfo;
4129
4130
  /**
4130
- * The path by folder names to create the file under.
4131
- * In case a folder in the path does not exist it will be created
4132
- * If multiple folders with the same name exist, the first one will be used
4133
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
4134
- * example: 'videos/2024/december'
4131
+ * Path to the folder where the file will be stored.
4132
+ * For example, `/videos/2024/december`. <br/>
4133
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
4134
+ * The folders in the path will be created if they don't already exist. <br />
4135
4135
  */
4136
4136
  filePath?: string | null;
4137
4137
  }
@@ -4154,6 +4154,7 @@ interface GenerateFileResumableUploadUrlRequest {
4154
4154
  sizeInBytes?: string | null;
4155
4155
  /**
4156
4156
  * ID of the file's parent folder. <br />
4157
+ * This folder is the path root for the `filePath`.<br />
4157
4158
  * Default: `media-root`.
4158
4159
  */
4159
4160
  parentFolderId?: string | null;
@@ -4164,11 +4165,10 @@ interface GenerateFileResumableUploadUrlRequest {
4164
4165
  /** The upload protocol to use for implementing the resumable upload. */
4165
4166
  uploadProtocol?: UploadProtocol;
4166
4167
  /**
4167
- * The path by folder names to create the file under.
4168
- * In case a folder in the path does not exist it will be created
4169
- * If multiple folders with the same name exist, the first one will be used
4170
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
4171
- * example: 'videos/2024/december'
4168
+ * Path to the folder where the file will be stored.
4169
+ * For example, `/videos/2024/december`. <br/>
4170
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
4171
+ * The folders in the path will be created if they don't already exist. <br />
4172
4172
  */
4173
4173
  filePath?: string | null;
4174
4174
  }
@@ -4197,6 +4197,7 @@ interface ImportFileRequest {
4197
4197
  displayName?: string | null;
4198
4198
  /**
4199
4199
  * ID of the file's parent folder. <br />
4200
+ * This folder is the path root for the `filePath`. <br />
4200
4201
  * Default: `media-root`.
4201
4202
  */
4202
4203
  parentFolderId?: string | null;
@@ -4213,11 +4214,10 @@ interface ImportFileRequest {
4213
4214
  /** Optional headers that should be sent with the external URL. */
4214
4215
  urlHeaders?: Record<string, any> | null;
4215
4216
  /**
4216
- * The path by folder names to create the file under.
4217
- * In case a folder in the path does not exist it will be created
4218
- * If multiple folders with the same name exist, the first one will be used
4219
- * If `parentFolderId` is provided, the path will be nested under the folder specified by the `parentFolderId`
4220
- * example: 'videos/2024/december'
4217
+ * Path to the folder where the file will be stored.
4218
+ * For example, `/videos/2024/december`. <br/>
4219
+ * If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
4220
+ * The folders in the path will be created if they don't already exist. <br />
4221
4221
  */
4222
4222
  filePath?: string | null;
4223
4223
  }