@wix/media 1.0.2 → 1.0.3
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/src/media-site-media-v1-file-descriptor.http.d.ts +62 -24
- package/build/cjs/src/media-site-media-v1-file-descriptor.http.js +95 -24
- package/build/cjs/src/media-site-media-v1-file-descriptor.http.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.public.d.ts +2 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.public.js +7 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.public.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.types.d.ts +10 -2
- package/build/cjs/src/media-site-media-v1-file-descriptor.types.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.d.ts +143 -36
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.js +118 -22
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.http.d.ts +35 -11
- package/build/cjs/src/media-site-media-v1-folder.http.js +35 -11
- package/build/cjs/src/media-site-media-v1-folder.http.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.universal.d.ts +43 -12
- package/build/cjs/src/media-site-media-v1-folder.universal.js +30 -8
- package/build/cjs/src/media-site-media-v1-folder.universal.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor.http.d.ts +62 -24
- package/build/es/src/media-site-media-v1-file-descriptor.http.js +93 -23
- package/build/es/src/media-site-media-v1-file-descriptor.http.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor.public.d.ts +2 -1
- package/build/es/src/media-site-media-v1-file-descriptor.public.js +6 -1
- package/build/es/src/media-site-media-v1-file-descriptor.public.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor.types.d.ts +10 -2
- package/build/es/src/media-site-media-v1-file-descriptor.types.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor.universal.d.ts +143 -36
- package/build/es/src/media-site-media-v1-file-descriptor.universal.js +116 -21
- package/build/es/src/media-site-media-v1-file-descriptor.universal.js.map +1 -1
- package/build/es/src/media-site-media-v1-folder.http.d.ts +35 -11
- package/build/es/src/media-site-media-v1-folder.http.js +35 -11
- package/build/es/src/media-site-media-v1-folder.http.js.map +1 -1
- package/build/es/src/media-site-media-v1-folder.universal.d.ts +43 -12
- package/build/es/src/media-site-media-v1-folder.universal.js +30 -8
- package/build/es/src/media-site-media-v1-folder.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
import { BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkImportFilesRequest, BulkImportFilesResponse, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GetFileDescriptorRequest, GetFileDescriptorResponse, ImportFileRequest, ImportFileResponse, ListDeletedFilesRequest, ListDeletedFilesResponse, ListFilesRequest, ListFilesResponse, SearchFilesRequest, SearchFilesResponse, UpdateFileRequest, UpdateFileResponse } from './media-site-media-v1-file-descriptor.types';
|
|
2
|
+
import { BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkImportFilesRequest, BulkImportFilesResponse, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GetFileDescriptorRequest, GetFileDescriptorResponse, ImportFileRequest, ImportFileResponse, ListDeletedFilesRequest, ListDeletedFilesResponse, ListFilesRequest, ListFilesResponse, SearchFilesRequest, SearchFilesResponse, UpdateFileRequest, UpdateFileResponse, GetFileDescriptorsRequest, GetFileDescriptorsResponse } from './media-site-media-v1-file-descriptor.types';
|
|
3
3
|
/**
|
|
4
|
-
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
4
|
+
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
5
5
|
*
|
|
6
6
|
* The compressed file can contain up to 1000 files.
|
|
7
|
+
*
|
|
8
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
7
9
|
*/
|
|
8
10
|
export declare function generateFilesDownloadUrl(payload: GenerateFilesDownloadUrlRequest): RequestOptionsFactory<GenerateFilesDownloadUrlResponse>;
|
|
9
11
|
/**
|
|
@@ -13,79 +15,106 @@ export declare function generateFilesDownloadUrl(payload: GenerateFilesDownloadU
|
|
|
13
15
|
* If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
|
|
14
16
|
*
|
|
15
17
|
* Use this endpoint to grant external clients access to a private media file. Use the `expirationInMinutes` parameter to set the URL expiration time, and the `expirationRedirectUrl` parameter to add a redirect url when the URL expires.
|
|
18
|
+
*
|
|
19
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
16
20
|
*/
|
|
17
21
|
export declare function generateFileDownloadUrl(payload: GenerateFileDownloadUrlRequest): RequestOptionsFactory<GenerateFileDownloadUrlResponse>;
|
|
18
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Gets information about a specific file in the Media Manager.
|
|
24
|
+
*
|
|
25
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
26
|
+
*/
|
|
19
27
|
export declare function getFileDescriptor(payload: GetFileDescriptorRequest): RequestOptionsFactory<GetFileDescriptorResponse>;
|
|
28
|
+
/** Gets information about a specific files in the Media Manager. */
|
|
29
|
+
export declare function getFileDescriptors(payload: GetFileDescriptorsRequest): RequestOptionsFactory<GetFileDescriptorsResponse>;
|
|
20
30
|
/**
|
|
21
|
-
* Updates a file
|
|
31
|
+
* Updates a file by the specified ID.
|
|
22
32
|
*
|
|
23
33
|
* You can use the `parentFolderId` parameter to move a file from its current folder to a different folder.
|
|
34
|
+
*
|
|
35
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
24
36
|
*/
|
|
25
37
|
export declare function updateFile(payload: UpdateFileRequest): RequestOptionsFactory<UpdateFileResponse>;
|
|
26
38
|
/**
|
|
27
|
-
* Generates an upload URL to allow external clients to upload a file to the Media Manager.
|
|
39
|
+
* Generates an upload URL to allow external clients to upload a file to the Media Manager.
|
|
28
40
|
*
|
|
29
41
|
* To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see the [Upload API](https://dev.wix.com/api/rest/media/media-manager/upload-api) article.
|
|
30
|
-
*
|
|
42
|
+
* > **Notes:**
|
|
43
|
+
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
44
|
+
* > - Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, use the [Generate File Resumable Upload Url](https://www.wix.com/velo/reference/wix-media-v2/files/generatefileresumableuploadurl) instead. With the resumable upload URL, any interruption in the upload process pauses the file upload, and resumes the file upload process after the interruption.
|
|
31
45
|
*/
|
|
32
46
|
export declare function generateFileUploadUrl(payload: GenerateFileUploadUrlRequest): RequestOptionsFactory<GenerateFileUploadUrlResponse>;
|
|
33
47
|
/**
|
|
34
|
-
* Generates a resumable upload URL to allow external clients to easily upload large files over 10MB to the Media Manager.
|
|
48
|
+
* Generates a resumable upload URL to allow external clients to easily upload large files over 10MB to the Media Manager.
|
|
35
49
|
*
|
|
36
50
|
* With the resumable upload URL, any interruptions in the upload process pauses the file upload, and resumes the file upload process after the interruption. The resumable upload URL is also helpful when network connection is poor.
|
|
51
|
+
*
|
|
37
52
|
* To learn how external clients can use the generated upload URL in the response to upload large files to the Media Manager, see the [Resumable Upload API](https://dev.wix.com/api/rest/media/media-manager/resumable-upload-api) article.
|
|
53
|
+
*
|
|
54
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
38
55
|
*/
|
|
39
56
|
export declare function generateFileResumableUploadUrl(payload: GenerateFileResumableUploadUrlRequest): RequestOptionsFactory<GenerateFileResumableUploadUrlResponse>;
|
|
40
57
|
/**
|
|
41
58
|
* Imports a file to the Media Manager using an external url.
|
|
42
59
|
*
|
|
43
|
-
*
|
|
60
|
+
* This function returns information about the imported file.
|
|
44
61
|
* Use the `parentFolderId` parameter to specify which folder you want the file to be imported to.
|
|
45
62
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
46
63
|
*
|
|
47
64
|
* To import a file, you need to provide one of the following:
|
|
48
|
-
* 1. Pass the file's [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` parameter of the request.
|
|
49
|
-
* 2. Pass the file's name and
|
|
50
|
-
* 3. If you don't know the file's extension or MIME type, pass its media type in the `mediaType` parameter of the request. For example, 'IMAGE'
|
|
65
|
+
* 1. Pass the file's [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` parameter of the request. For example, `'image/png'`.
|
|
66
|
+
* 2. Pass the file's name and extension. For example, `'my-image.png'`.
|
|
67
|
+
* 3. If you don't know the file's extension or MIME type, pass its media type in the `mediaType` parameter of the request. For example, `'IMAGE'`. Note that this option only works if the server hosting the media allows a 'HEAD' request.
|
|
68
|
+
*
|
|
69
|
+
* >**Notes:**
|
|
70
|
+
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
71
|
+
* > - The `media` property isn't returned in the `files` response object.
|
|
51
72
|
*
|
|
52
|
-
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
53
73
|
*/
|
|
54
74
|
export declare function importFile(payload: ImportFileRequest): RequestOptionsFactory<ImportFileResponse>;
|
|
55
75
|
/**
|
|
56
|
-
* Imports a bulk of files to the Media Manager using external urls.
|
|
76
|
+
* Imports a bulk of files to the Media Manager using external urls.
|
|
57
77
|
*
|
|
58
78
|
* Returns information about the imported files. Use the `parentFolderId` parameter to specify in which folder you want each file to be imported to.
|
|
59
79
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
60
80
|
*
|
|
61
81
|
* To import files, you need to provide one of the following:
|
|
62
|
-
* 1. Pass each file's [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` parameter of the request.
|
|
63
|
-
* 2. Pass each file's name and
|
|
64
|
-
* 3. If you don't know a file's extension or MIME type, pass its media type in the `mediaType` parameter of the request. For example, 'IMAGE'
|
|
82
|
+
* 1. Pass each file's [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` parameter of the request. For example, `'image/png'`.
|
|
83
|
+
* 2. Pass each file's name and extension. For example, `'my-image.png'`.
|
|
84
|
+
* 3. If you don't know a file's extension or MIME type, pass its media type in the `mediaType` parameter of the request. For example, `'IMAGE'`. Note that this option only works if the server hosting the media allows a 'HEAD' request.
|
|
65
85
|
*
|
|
66
|
-
* >**
|
|
86
|
+
* >**Notes:**
|
|
87
|
+
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
88
|
+
* > - The `media` property isn't returned in the `files` response object.
|
|
67
89
|
*/
|
|
68
90
|
export declare function bulkImportFiles(payload: BulkImportFilesRequest): RequestOptionsFactory<BulkImportFilesResponse>;
|
|
69
91
|
/**
|
|
70
92
|
* Retrieves a list of files in the Media Manager.
|
|
71
93
|
*
|
|
72
94
|
* To retrieve a list of files within a specific folder in the Media Manager, pass the folder's ID in the `parentFolderId` parameter. If no folder is specified, the endpoint retrieves the list of files in the root folder of the Media Manager.
|
|
95
|
+
*
|
|
96
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
73
97
|
*/
|
|
74
98
|
export declare function listFiles(payload: ListFilesRequest): RequestOptionsFactory<ListFilesResponse>;
|
|
75
99
|
/**
|
|
76
|
-
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the parameters.
|
|
100
|
+
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the optional parameters.
|
|
77
101
|
*
|
|
78
102
|
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
103
|
+
*
|
|
104
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
79
105
|
*/
|
|
80
106
|
export declare function searchFiles(payload: SearchFilesRequest): RequestOptionsFactory<SearchFilesResponse>;
|
|
81
107
|
/**
|
|
82
|
-
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
108
|
+
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
83
109
|
*
|
|
84
110
|
* To stream different assets of the file, use the `assetKeys` parameter which generates a video streaming URL for each asset. If no assetKey is specified, it defaults to `src`, which generates one video streaming URL in the original file's format and quality.
|
|
111
|
+
*
|
|
112
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
85
113
|
*/
|
|
86
114
|
export declare function generateVideoStreamingUrl(payload: GenerateVideoStreamingUrlRequest): RequestOptionsFactory<GenerateVideoStreamingUrlResponse>;
|
|
87
115
|
/**
|
|
88
|
-
* Deletes the specified files from the Media Manager.
|
|
116
|
+
* Deletes the specified files from the Media Manager.
|
|
117
|
+
*
|
|
89
118
|
*
|
|
90
119
|
* The deleted files are moved to the Media Manager's trash bin (`TRASH-ROOT` folder) unless permanently deleted. To permanently delete files, pass the `permanent` parameter with the value `true`. Permanently deleting files isn't reversible, so make sure that these files aren't being used in a site or in any other way as the files will no longer be accessible.
|
|
91
120
|
*
|
|
@@ -94,14 +123,23 @@ export declare function generateVideoStreamingUrl(payload: GenerateVideoStreamin
|
|
|
94
123
|
* * Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
|
|
95
124
|
* * Attempting to delete files that are already in the trash bin doesn't result in an error.
|
|
96
125
|
* * If your site contains deleted media files, the deleted media files still appear on your site as the files are still in the Media Manager (in the trash bin).
|
|
97
|
-
* * You can use the [Bulk Restore Files From Trash Bin](https://
|
|
126
|
+
* * You can use the [Bulk Restore Files From Trash Bin](https://www.wix.com/velo/reference/wix-media-v2/files/bulkrestorefilesfromtrashbin) endpoint to restore files from the Media Manager's trash bin.
|
|
127
|
+
*
|
|
128
|
+
*
|
|
129
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
98
130
|
*/
|
|
99
131
|
export declare function bulkDeleteFiles(payload: BulkDeleteFilesRequest): RequestOptionsFactory<BulkDeleteFilesResponse>;
|
|
100
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
134
|
+
*
|
|
135
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
136
|
+
*/
|
|
101
137
|
export declare function bulkRestoreFilesFromTrashBin(payload: BulkRestoreFilesFromTrashBinRequest): RequestOptionsFactory<BulkRestoreFilesFromTrashBinResponse>;
|
|
102
138
|
/**
|
|
103
|
-
* Retrieves a list of files in the Media Manager's trash bin.
|
|
139
|
+
* Retrieves a list of files in the Media Manager's trash bin.
|
|
104
140
|
*
|
|
105
|
-
* >**
|
|
141
|
+
* >**Notes:**
|
|
142
|
+
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
143
|
+
* > - The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
106
144
|
*/
|
|
107
145
|
export declare function listDeletedFiles(payload: ListDeletedFilesRequest): RequestOptionsFactory<ListDeletedFilesResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.listDeletedFiles = exports.bulkRestoreFilesFromTrashBin = exports.bulkDeleteFiles = exports.generateVideoStreamingUrl = exports.searchFiles = exports.listFiles = exports.bulkImportFiles = exports.importFile = exports.generateFileResumableUploadUrl = exports.generateFileUploadUrl = exports.updateFile = exports.getFileDescriptor = exports.generateFileDownloadUrl = exports.generateFilesDownloadUrl = void 0;
|
|
3
|
+
exports.listDeletedFiles = exports.bulkRestoreFilesFromTrashBin = exports.bulkDeleteFiles = exports.generateVideoStreamingUrl = exports.searchFiles = exports.listFiles = exports.bulkImportFiles = exports.importFile = exports.generateFileResumableUploadUrl = exports.generateFileUploadUrl = exports.updateFile = exports.getFileDescriptors = exports.getFileDescriptor = exports.generateFileDownloadUrl = exports.generateFilesDownloadUrl = void 0;
|
|
4
4
|
const metro_runtime_1 = require("@wix/metro-runtime");
|
|
5
5
|
const ambassador_1 = require("@wix/metro-runtime/ambassador");
|
|
6
6
|
const metro_runtime_2 = require("@wix/metro-runtime");
|
|
@@ -38,6 +38,8 @@ const _generateVideoStreamingUrlRequest = {};
|
|
|
38
38
|
const _generateVideoStreamingUrlResponse = {};
|
|
39
39
|
const _getFileDescriptorRequest = {};
|
|
40
40
|
const _getFileDescriptorResponse = { file: '_fileDescriptor' };
|
|
41
|
+
const _getFileDescriptorsRequest = {};
|
|
42
|
+
const _getFileDescriptorsResponse = { files: '_fileDescriptor' };
|
|
41
43
|
const _image = { urlExpirationDate: 'google.protobuf.Timestamp' };
|
|
42
44
|
const _imageMedia = {
|
|
43
45
|
image: '_image',
|
|
@@ -91,9 +93,11 @@ function resolveComWixMediaSiteMediaV1FilesServiceUrl(opts) {
|
|
|
91
93
|
return metro_runtime_2.resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
92
94
|
}
|
|
93
95
|
/**
|
|
94
|
-
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
96
|
+
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
95
97
|
*
|
|
96
98
|
* The compressed file can contain up to 1000 files.
|
|
99
|
+
*
|
|
100
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
97
101
|
*/
|
|
98
102
|
function generateFilesDownloadUrl(payload) {
|
|
99
103
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_generateFilesDownloadUrlRequest, {});
|
|
@@ -123,6 +127,8 @@ exports.generateFilesDownloadUrl = generateFilesDownloadUrl;
|
|
|
123
127
|
* If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
|
|
124
128
|
*
|
|
125
129
|
* Use this endpoint to grant external clients access to a private media file. Use the `expirationInMinutes` parameter to set the URL expiration time, and the `expirationRedirectUrl` parameter to add a redirect url when the URL expires.
|
|
130
|
+
*
|
|
131
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
126
132
|
*/
|
|
127
133
|
function generateFileDownloadUrl(payload) {
|
|
128
134
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_generateFileDownloadUrlRequest, {});
|
|
@@ -145,7 +151,11 @@ function generateFileDownloadUrl(payload) {
|
|
|
145
151
|
return __generateFileDownloadUrl;
|
|
146
152
|
}
|
|
147
153
|
exports.generateFileDownloadUrl = generateFileDownloadUrl;
|
|
148
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* Gets information about a specific file in the Media Manager.
|
|
156
|
+
*
|
|
157
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
158
|
+
*/
|
|
149
159
|
function getFileDescriptor(payload) {
|
|
150
160
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getFileDescriptorRequest, {});
|
|
151
161
|
const { fromJSON: fromRes } = ambassador_1.serializer(_getFileDescriptorResponse, {
|
|
@@ -178,10 +188,45 @@ function getFileDescriptor(payload) {
|
|
|
178
188
|
return __getFileDescriptor;
|
|
179
189
|
}
|
|
180
190
|
exports.getFileDescriptor = getFileDescriptor;
|
|
191
|
+
/** Gets information about a specific files in the Media Manager. */
|
|
192
|
+
function getFileDescriptors(payload) {
|
|
193
|
+
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getFileDescriptorsRequest, {});
|
|
194
|
+
const { fromJSON: fromRes } = ambassador_1.serializer(_getFileDescriptorsResponse, {
|
|
195
|
+
_audio,
|
|
196
|
+
_audioV2,
|
|
197
|
+
_document,
|
|
198
|
+
_faceRecognition,
|
|
199
|
+
_fileDescriptor,
|
|
200
|
+
_fileMedia,
|
|
201
|
+
_image,
|
|
202
|
+
_imageMedia,
|
|
203
|
+
_videoResolution,
|
|
204
|
+
_videoV2,
|
|
205
|
+
});
|
|
206
|
+
function __getFileDescriptors({ host }) {
|
|
207
|
+
const serializedData = toReq(payload);
|
|
208
|
+
const metadata = {
|
|
209
|
+
method: 'POST',
|
|
210
|
+
url: resolveComWixMediaSiteMediaV1FilesServiceUrl({
|
|
211
|
+
protoPath: '/v1/bulk/files/get',
|
|
212
|
+
data: serializedData,
|
|
213
|
+
host,
|
|
214
|
+
}),
|
|
215
|
+
data: serializedData,
|
|
216
|
+
transformResponse: fromRes,
|
|
217
|
+
};
|
|
218
|
+
return metadata;
|
|
219
|
+
}
|
|
220
|
+
__getFileDescriptors.fromReq = fromReq;
|
|
221
|
+
return __getFileDescriptors;
|
|
222
|
+
}
|
|
223
|
+
exports.getFileDescriptors = getFileDescriptors;
|
|
181
224
|
/**
|
|
182
|
-
* Updates a file
|
|
225
|
+
* Updates a file by the specified ID.
|
|
183
226
|
*
|
|
184
227
|
* You can use the `parentFolderId` parameter to move a file from its current folder to a different folder.
|
|
228
|
+
*
|
|
229
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
185
230
|
*/
|
|
186
231
|
function updateFile(payload) {
|
|
187
232
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_updateFileRequest, {});
|
|
@@ -216,10 +261,12 @@ function updateFile(payload) {
|
|
|
216
261
|
}
|
|
217
262
|
exports.updateFile = updateFile;
|
|
218
263
|
/**
|
|
219
|
-
* Generates an upload URL to allow external clients to upload a file to the Media Manager.
|
|
264
|
+
* Generates an upload URL to allow external clients to upload a file to the Media Manager.
|
|
220
265
|
*
|
|
221
266
|
* To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see the [Upload API](https://dev.wix.com/api/rest/media/media-manager/upload-api) article.
|
|
222
|
-
*
|
|
267
|
+
* > **Notes:**
|
|
268
|
+
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
269
|
+
* > - Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, use the [Generate File Resumable Upload Url](https://www.wix.com/velo/reference/wix-media-v2/files/generatefileresumableuploadurl) instead. With the resumable upload URL, any interruption in the upload process pauses the file upload, and resumes the file upload process after the interruption.
|
|
223
270
|
*/
|
|
224
271
|
function generateFileUploadUrl(payload) {
|
|
225
272
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_generateFileUploadUrlRequest, {});
|
|
@@ -243,10 +290,13 @@ function generateFileUploadUrl(payload) {
|
|
|
243
290
|
}
|
|
244
291
|
exports.generateFileUploadUrl = generateFileUploadUrl;
|
|
245
292
|
/**
|
|
246
|
-
* Generates a resumable upload URL to allow external clients to easily upload large files over 10MB to the Media Manager.
|
|
293
|
+
* Generates a resumable upload URL to allow external clients to easily upload large files over 10MB to the Media Manager.
|
|
247
294
|
*
|
|
248
295
|
* With the resumable upload URL, any interruptions in the upload process pauses the file upload, and resumes the file upload process after the interruption. The resumable upload URL is also helpful when network connection is poor.
|
|
296
|
+
*
|
|
249
297
|
* To learn how external clients can use the generated upload URL in the response to upload large files to the Media Manager, see the [Resumable Upload API](https://dev.wix.com/api/rest/media/media-manager/resumable-upload-api) article.
|
|
298
|
+
*
|
|
299
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
250
300
|
*/
|
|
251
301
|
function generateFileResumableUploadUrl(payload) {
|
|
252
302
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_generateFileResumableUploadUrlRequest, {});
|
|
@@ -272,16 +322,19 @@ exports.generateFileResumableUploadUrl = generateFileResumableUploadUrl;
|
|
|
272
322
|
/**
|
|
273
323
|
* Imports a file to the Media Manager using an external url.
|
|
274
324
|
*
|
|
275
|
-
*
|
|
325
|
+
* This function returns information about the imported file.
|
|
276
326
|
* Use the `parentFolderId` parameter to specify which folder you want the file to be imported to.
|
|
277
327
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
278
328
|
*
|
|
279
329
|
* To import a file, you need to provide one of the following:
|
|
280
|
-
* 1. Pass the file's [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` parameter of the request.
|
|
281
|
-
* 2. Pass the file's name and
|
|
282
|
-
* 3. If you don't know the file's extension or MIME type, pass its media type in the `mediaType` parameter of the request. For example, 'IMAGE'
|
|
330
|
+
* 1. Pass the file's [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` parameter of the request. For example, `'image/png'`.
|
|
331
|
+
* 2. Pass the file's name and extension. For example, `'my-image.png'`.
|
|
332
|
+
* 3. If you don't know the file's extension or MIME type, pass its media type in the `mediaType` parameter of the request. For example, `'IMAGE'`. Note that this option only works if the server hosting the media allows a 'HEAD' request.
|
|
333
|
+
*
|
|
334
|
+
* >**Notes:**
|
|
335
|
+
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
336
|
+
* > - The `media` property isn't returned in the `files` response object.
|
|
283
337
|
*
|
|
284
|
-
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
285
338
|
*/
|
|
286
339
|
function importFile(payload) {
|
|
287
340
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_importFileRequest, {});
|
|
@@ -316,17 +369,19 @@ function importFile(payload) {
|
|
|
316
369
|
}
|
|
317
370
|
exports.importFile = importFile;
|
|
318
371
|
/**
|
|
319
|
-
* Imports a bulk of files to the Media Manager using external urls.
|
|
372
|
+
* Imports a bulk of files to the Media Manager using external urls.
|
|
320
373
|
*
|
|
321
374
|
* Returns information about the imported files. Use the `parentFolderId` parameter to specify in which folder you want each file to be imported to.
|
|
322
375
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
323
376
|
*
|
|
324
377
|
* To import files, you need to provide one of the following:
|
|
325
|
-
* 1. Pass each file's [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` parameter of the request.
|
|
326
|
-
* 2. Pass each file's name and
|
|
327
|
-
* 3. If you don't know a file's extension or MIME type, pass its media type in the `mediaType` parameter of the request. For example, 'IMAGE'
|
|
378
|
+
* 1. Pass each file's [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` parameter of the request. For example, `'image/png'`.
|
|
379
|
+
* 2. Pass each file's name and extension. For example, `'my-image.png'`.
|
|
380
|
+
* 3. If you don't know a file's extension or MIME type, pass its media type in the `mediaType` parameter of the request. For example, `'IMAGE'`. Note that this option only works if the server hosting the media allows a 'HEAD' request.
|
|
328
381
|
*
|
|
329
|
-
* >**
|
|
382
|
+
* >**Notes:**
|
|
383
|
+
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
384
|
+
* > - The `media` property isn't returned in the `files` response object.
|
|
330
385
|
*/
|
|
331
386
|
function bulkImportFiles(payload) {
|
|
332
387
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_bulkImportFilesRequest, { _importFileRequest });
|
|
@@ -364,6 +419,8 @@ exports.bulkImportFiles = bulkImportFiles;
|
|
|
364
419
|
* Retrieves a list of files in the Media Manager.
|
|
365
420
|
*
|
|
366
421
|
* To retrieve a list of files within a specific folder in the Media Manager, pass the folder's ID in the `parentFolderId` parameter. If no folder is specified, the endpoint retrieves the list of files in the root folder of the Media Manager.
|
|
422
|
+
*
|
|
423
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
367
424
|
*/
|
|
368
425
|
function listFiles(payload) {
|
|
369
426
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_listFilesRequest, {});
|
|
@@ -398,9 +455,11 @@ function listFiles(payload) {
|
|
|
398
455
|
}
|
|
399
456
|
exports.listFiles = listFiles;
|
|
400
457
|
/**
|
|
401
|
-
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the parameters.
|
|
458
|
+
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the optional parameters.
|
|
402
459
|
*
|
|
403
460
|
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
461
|
+
*
|
|
462
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
404
463
|
*/
|
|
405
464
|
function searchFiles(payload) {
|
|
406
465
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_searchFilesRequest, {});
|
|
@@ -435,9 +494,11 @@ function searchFiles(payload) {
|
|
|
435
494
|
}
|
|
436
495
|
exports.searchFiles = searchFiles;
|
|
437
496
|
/**
|
|
438
|
-
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
497
|
+
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
439
498
|
*
|
|
440
499
|
* To stream different assets of the file, use the `assetKeys` parameter which generates a video streaming URL for each asset. If no assetKey is specified, it defaults to `src`, which generates one video streaming URL in the original file's format and quality.
|
|
500
|
+
*
|
|
501
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
441
502
|
*/
|
|
442
503
|
function generateVideoStreamingUrl(payload) {
|
|
443
504
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_generateVideoStreamingUrlRequest, {});
|
|
@@ -461,7 +522,8 @@ function generateVideoStreamingUrl(payload) {
|
|
|
461
522
|
}
|
|
462
523
|
exports.generateVideoStreamingUrl = generateVideoStreamingUrl;
|
|
463
524
|
/**
|
|
464
|
-
* Deletes the specified files from the Media Manager.
|
|
525
|
+
* Deletes the specified files from the Media Manager.
|
|
526
|
+
*
|
|
465
527
|
*
|
|
466
528
|
* The deleted files are moved to the Media Manager's trash bin (`TRASH-ROOT` folder) unless permanently deleted. To permanently delete files, pass the `permanent` parameter with the value `true`. Permanently deleting files isn't reversible, so make sure that these files aren't being used in a site or in any other way as the files will no longer be accessible.
|
|
467
529
|
*
|
|
@@ -470,7 +532,10 @@ exports.generateVideoStreamingUrl = generateVideoStreamingUrl;
|
|
|
470
532
|
* * Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
|
|
471
533
|
* * Attempting to delete files that are already in the trash bin doesn't result in an error.
|
|
472
534
|
* * If your site contains deleted media files, the deleted media files still appear on your site as the files are still in the Media Manager (in the trash bin).
|
|
473
|
-
* * You can use the [Bulk Restore Files From Trash Bin](https://
|
|
535
|
+
* * You can use the [Bulk Restore Files From Trash Bin](https://www.wix.com/velo/reference/wix-media-v2/files/bulkrestorefilesfromtrashbin) endpoint to restore files from the Media Manager's trash bin.
|
|
536
|
+
*
|
|
537
|
+
*
|
|
538
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
474
539
|
*/
|
|
475
540
|
function bulkDeleteFiles(payload) {
|
|
476
541
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_bulkDeleteFilesRequest, {});
|
|
@@ -493,7 +558,11 @@ function bulkDeleteFiles(payload) {
|
|
|
493
558
|
return __bulkDeleteFiles;
|
|
494
559
|
}
|
|
495
560
|
exports.bulkDeleteFiles = bulkDeleteFiles;
|
|
496
|
-
/**
|
|
561
|
+
/**
|
|
562
|
+
* Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
563
|
+
*
|
|
564
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
565
|
+
*/
|
|
497
566
|
function bulkRestoreFilesFromTrashBin(payload) {
|
|
498
567
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_bulkRestoreFilesFromTrashBinRequest, {});
|
|
499
568
|
const { fromJSON: fromRes } = ambassador_1.serializer(_bulkRestoreFilesFromTrashBinResponse, {});
|
|
@@ -516,9 +585,11 @@ function bulkRestoreFilesFromTrashBin(payload) {
|
|
|
516
585
|
}
|
|
517
586
|
exports.bulkRestoreFilesFromTrashBin = bulkRestoreFilesFromTrashBin;
|
|
518
587
|
/**
|
|
519
|
-
* Retrieves a list of files in the Media Manager's trash bin.
|
|
588
|
+
* Retrieves a list of files in the Media Manager's trash bin.
|
|
520
589
|
*
|
|
521
|
-
* >**
|
|
590
|
+
* >**Notes:**
|
|
591
|
+
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
592
|
+
* > - The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
522
593
|
*/
|
|
523
594
|
function listDeletedFiles(payload) {
|
|
524
595
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_listDeletedFilesRequest, {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-site-media-v1-file-descriptor.http.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-file-descriptor.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAkChD,MAAM,MAAM,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AAClE,MAAM,QAAQ,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;AACtC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC,MAAM,uBAAuB,GAAG,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,CAAC;AAC7E,MAAM,wBAAwB,GAAG,EAAE,KAAK,EAAE,iBAAiB,EAAE,CAAC;AAC9D,MAAM,oCAAoC,GAAG,EAAE,CAAC;AAChD,MAAM,qCAAqC,GAAG,EAAE,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CAAC;IAClB,CAAC;IAED,8BAA8B,CAAC,OAAO,GAAG,OAAO,CAAC;IAEjD,OAAO,8BAA8B,CAAC;AACxC,CAAC;AA/BD,oEA+BC;AAED;;;;GAIG;AACH,SAAgB,gBAAgB,CAC9B,OAAgC;IAEhC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CACrD,wBAAwB,EACxB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CAAC,yBAAyB,EAAE;QAClE,MAAM;QACN,QAAQ;QACR,SAAS;QACT,gBAAgB;QAChB,eAAe;QACf,UAAU;QACV,MAAM;QACN,WAAW;QACX,gBAAgB;QAChB,QAAQ;KACT,CAAC,CAAC;IAEH,SAAS,kBAAkB,CAAC,EAAE,IAAI,EAAO;QACvC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,KAAY;YACpB,GAAG,EAAE,4CAA4C,CAAC;gBAChD,SAAS,EAAE,qBAAqB;gBAChC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,MAAM,EAAE,iCAAiB,CAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,kBAAkB,CAAC,OAAO,GAAG,OAAO,CAAC;IAErC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAvCD,4CAuCC"}
|
|
1
|
+
{"version":3,"file":"media-site-media-v1-file-descriptor.http.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-file-descriptor.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAoChD,MAAM,MAAM,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AAClE,MAAM,QAAQ,GAAG,EAAE,MAA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AiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,8BAA8B,CAAC,OAAO,GAAG,OAAO,CAAC;IAEjD,OAAO,8BAA8B,CAAC;AACxC,CAAC;AA/BD,oEA+BC;AAED;;;;;;GAMG;AACH,SAAgB,gBAAgB,CAC9B,OAAgC;IAEhC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CACrD,wBAAwB,EACxB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CAAC,yBAAyB,EAAE;QAClE,MAAM;QACN,QAAQ;QACR,SAAS;QACT,gBAAgB;QAChB,eAAe;QACf,UAAU;QACV,MAAM;QACN,WAAW;QACX,gBAAgB;QAChB,QAAQ;KACT,CAAC,CAAC;IAEH,SAAS,kBAAkB,CAAC,EAAE,IAAI,EAAO;QACvC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,KAAY;YACpB,GAAG,EAAE,4CAA4C,CAAC;gBAChD,SAAS,EAAE,qBAAqB;gBAChC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,MAAM,EAAE,iCAAiB,CAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,kBAAkB,CAAC,OAAO,GAAG,OAAO,CAAC;IAErC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAvCD,4CAuCC"}
|
|
@@ -3,6 +3,7 @@ import { BulkDeleteFilesOptions, BulkImportFilesOptions, GenerateFileDownloadUrl
|
|
|
3
3
|
export declare function generateFilesDownloadUrl(httpClient: HttpClient): (fileIds: string[]) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateFilesDownloadUrlResponse>;
|
|
4
4
|
export declare function generateFileDownloadUrl(httpClient: HttpClient): (fileId: string, options?: GenerateFileDownloadUrlOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateFileDownloadUrlResponse>;
|
|
5
5
|
export declare function getFileDescriptor(httpClient: HttpClient): (fileId: string) => Promise<import("./media-site-media-v1-file-descriptor.universal").GetFileDescriptorResponse>;
|
|
6
|
+
export declare function getFileDescriptors(httpClient: HttpClient): (fileIds: string[]) => Promise<import("./media-site-media-v1-file-descriptor.universal").GetFileDescriptorsResponse>;
|
|
6
7
|
export declare function updateFile(httpClient: HttpClient): (fileId: string, options?: UpdateFileOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").UpdateFileResponse>;
|
|
7
8
|
export declare function generateFileUploadUrl(httpClient: HttpClient): (mimeType: string | null, options?: GenerateFileUploadUrlOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateFileUploadUrlResponse>;
|
|
8
9
|
export declare function generateFileResumableUploadUrl(httpClient: HttpClient): (mimeType: string | null, options?: GenerateFileResumableUploadUrlOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateFileResumableUploadUrlResponse>;
|
|
@@ -15,4 +16,4 @@ export declare function bulkDeleteFiles(httpClient: HttpClient): (options?: Bulk
|
|
|
15
16
|
export declare function bulkRestoreFilesFromTrashBin(httpClient: HttpClient): (fileIds: string[]) => Promise<void>;
|
|
16
17
|
export declare function listDeletedFiles(httpClient: HttpClient): (options?: ListDeletedFilesOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").ListDeletedFilesResponse>;
|
|
17
18
|
export { MediaType, OperationStatus, State, UploadProtocol, SortOrder, RootFolder, StreamFormat, } from './media-site-media-v1-file-descriptor.universal';
|
|
18
|
-
export { FileDescriptor, FileMedia, FileMediaMediaOneOf, ImageMedia, Colors, Color, ColorRGB, FaceRecognition, VideoResolution, AudioV2, FileReady, ExternalInfo, FileFailed, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, DownloadUrl, GetFileDescriptorRequest, GetFileDescriptorResponse, UpdateFileRequest, UpdateFileResponse, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, ImportFileRequest, ImportFileResponse, BulkImportFilesRequest, BulkImportFilesResponse, ListFilesRequest, Sorting, CursorPaging, ListFilesResponse, PagingMetadataV2, Cursors, SearchFilesRequest, SearchFilesResponse, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, ListDeletedFilesRequest, ListDeletedFilesResponse, GenerateFileDownloadUrlOptions, UpdateFileOptions, GenerateFileUploadUrlOptions, GenerateFileResumableUploadUrlOptions, ImportFileOptions, BulkImportFilesOptions, ListFilesOptions, SearchFilesOptions, GenerateVideoStreamingUrlOptions, BulkDeleteFilesOptions, ListDeletedFilesOptions, } from './media-site-media-v1-file-descriptor.universal';
|
|
19
|
+
export { FileDescriptor, FileMedia, FileMediaMediaOneOf, ImageMedia, Colors, Color, ColorRGB, FaceRecognition, VideoResolution, AudioV2, FileReady, ExternalInfo, FileFailed, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, DownloadUrl, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorsRequest, GetFileDescriptorsResponse, UpdateFileRequest, UpdateFileResponse, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, ImportFileRequest, ImportFileResponse, BulkImportFilesRequest, BulkImportFilesResponse, ListFilesRequest, Sorting, CursorPaging, ListFilesResponse, PagingMetadataV2, Cursors, SearchFilesRequest, SearchFilesResponse, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, ListDeletedFilesRequest, ListDeletedFilesResponse, GenerateFileDownloadUrlOptions, UpdateFileOptions, GenerateFileUploadUrlOptions, GenerateFileResumableUploadUrlOptions, ImportFileOptions, BulkImportFilesOptions, ListFilesOptions, SearchFilesOptions, GenerateVideoStreamingUrlOptions, BulkDeleteFilesOptions, ListDeletedFilesOptions, } from './media-site-media-v1-file-descriptor.universal';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StreamFormat = exports.RootFolder = exports.SortOrder = exports.UploadProtocol = exports.State = exports.OperationStatus = exports.MediaType = exports.listDeletedFiles = exports.bulkRestoreFilesFromTrashBin = exports.bulkDeleteFiles = exports.generateVideoStreamingUrl = exports.searchFiles = exports.listFiles = exports.bulkImportFiles = exports.importFile = exports.generateFileResumableUploadUrl = exports.generateFileUploadUrl = exports.updateFile = exports.getFileDescriptor = exports.generateFileDownloadUrl = exports.generateFilesDownloadUrl = void 0;
|
|
3
|
+
exports.StreamFormat = exports.RootFolder = exports.SortOrder = exports.UploadProtocol = exports.State = exports.OperationStatus = exports.MediaType = exports.listDeletedFiles = exports.bulkRestoreFilesFromTrashBin = exports.bulkDeleteFiles = exports.generateVideoStreamingUrl = exports.searchFiles = exports.listFiles = exports.bulkImportFiles = exports.importFile = exports.generateFileResumableUploadUrl = exports.generateFileUploadUrl = exports.updateFile = exports.getFileDescriptors = exports.getFileDescriptor = exports.generateFileDownloadUrl = exports.generateFilesDownloadUrl = void 0;
|
|
4
4
|
const media_site_media_v1_file_descriptor_universal_1 = require("./media-site-media-v1-file-descriptor.universal");
|
|
5
5
|
function generateFilesDownloadUrl(httpClient) {
|
|
6
6
|
return (fileIds) => media_site_media_v1_file_descriptor_universal_1.generateFilesDownloadUrl(fileIds,
|
|
@@ -20,6 +20,12 @@ function getFileDescriptor(httpClient) {
|
|
|
20
20
|
{ httpClient });
|
|
21
21
|
}
|
|
22
22
|
exports.getFileDescriptor = getFileDescriptor;
|
|
23
|
+
function getFileDescriptors(httpClient) {
|
|
24
|
+
return (fileIds) => media_site_media_v1_file_descriptor_universal_1.getFileDescriptors(fileIds,
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
{ httpClient });
|
|
27
|
+
}
|
|
28
|
+
exports.getFileDescriptors = getFileDescriptors;
|
|
23
29
|
function updateFile(httpClient) {
|
|
24
30
|
return (fileId, options) => media_site_media_v1_file_descriptor_universal_1.updateFile(fileId, options,
|
|
25
31
|
// @ts-ignore
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-site-media-v1-file-descriptor.public.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-file-descriptor.public.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"media-site-media-v1-file-descriptor.public.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-file-descriptor.public.ts"],"names":[],"mappings":";;;AACA,mHA2ByD;AAEzD,SAAgB,wBAAwB,CAAC,UAAsB;IAC7D,OAAO,CAAC,OAAiB,EAAE,EAAE,CAC3B,wEAAiC,CAC/B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,4DAOC;AAED,SAAgB,uBAAuB,CAAC,UAAsB;IAC5D,OAAO,CAAC,MAAc,EAAE,OAAwC,EAAE,EAAE,CAClE,uEAAgC,CAC9B,MAAM,EACN,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,0DAQC;AAED,SAAgB,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAAC,MAAc,EAAE,EAAE,CACxB,iEAA0B,CACxB,MAAM;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yDAAkB,CAChB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,8BAOC;AAED,SAAgB,WAAW,CAAC,UAAsB;IAChD,OAAO,CAAC,OAA4B,EAAE,EAAE,CACtC,2DAAoB,CAClB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,kCAOC;AAED,SAAgB,yBAAyB,CAAC,UAAsB;IAC9D,OAAO,CAAC,MAAc,EAAE,OAA0C,EAAE,EAAE,CACpE,yEAAkC,CAChC,MAAM,EACN,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,8DAQC;AAED,SAAgB,eAAe,CAAC,UAAsB;IACpD,OAAO,CAAC,OAAgC,EAAE,EAAE,CAC1C,+DAAwB,CACtB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,0CAOC;AAED,SAAgB,4BAA4B,CAAC,UAAsB;IACjE,OAAO,CAAC,OAAiB,EAAE,EAAE,CAC3B,4EAAqC,CACnC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,oEAOC;AAED,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,CAAC,OAAiC,EAAE,EAAE,CAC3C,gEAAyB,CACvB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,4CAOC;AAED,iHAQyD;AAPvD,0IAAA,SAAS,OAAA;AACT,gJAAA,eAAe,OAAA;AACf,sIAAA,KAAK,OAAA;AACL,+IAAA,cAAc,OAAA;AACd,0IAAA,SAAS,OAAA;AACT,2IAAA,UAAU,OAAA;AACV,6IAAA,YAAY,OAAA"}
|
|
@@ -290,6 +290,14 @@ export interface GetFileDescriptorResponse {
|
|
|
290
290
|
/** Information about the file. */
|
|
291
291
|
file?: FileDescriptor;
|
|
292
292
|
}
|
|
293
|
+
export interface GetFileDescriptorsRequest {
|
|
294
|
+
/** File IDs. */
|
|
295
|
+
fileIds: string[];
|
|
296
|
+
}
|
|
297
|
+
export interface GetFileDescriptorsResponse {
|
|
298
|
+
/** Information about the requested files. */
|
|
299
|
+
files?: FileDescriptor[];
|
|
300
|
+
}
|
|
293
301
|
export interface UpdateFileRequest {
|
|
294
302
|
/** ID of the file to update. */
|
|
295
303
|
fileId: string;
|
|
@@ -387,9 +395,9 @@ export interface ImportFileRequest {
|
|
|
387
395
|
mimeType?: string;
|
|
388
396
|
/** A place to map an external entity to an imported file in the Wix Media Manager. */
|
|
389
397
|
externalInfo?: ExternalInfo;
|
|
390
|
-
/** Optional parameters that should be sent with the external URL */
|
|
398
|
+
/** Optional parameters that should be sent with the external URL. */
|
|
391
399
|
urlParams?: Record<string, any> | null;
|
|
392
|
-
/** Optional headers that should be sent with the external URL */
|
|
400
|
+
/** Optional headers that should be sent with the external URL. */
|
|
393
401
|
urlHeaders?: Record<string, any> | null;
|
|
394
402
|
}
|
|
395
403
|
export interface ImportFileResponse {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-site-media-v1-file-descriptor.types.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-file-descriptor.types.ts"],"names":[],"mappings":";;;AA2CA,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EAPW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOpB;AA4KD,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,uCAAuC;IACvC,oCAAiB,CAAA;IACjB,oCAAoC;IACpC,kCAAe,CAAA;IACf,kEAAkE;IAClE,sCAAmB,CAAA;AACrB,CAAC,EAPW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO1B;AAED,IAAY,KAGX;AAHD,WAAY,KAAK;IACf,kBAAS,CAAA;IACT,4BAAmB,CAAA;AACrB,CAAC,EAHW,KAAK,GAAL,aAAK,KAAL,aAAK,QAGhB;
|
|
1
|
+
{"version":3,"file":"media-site-media-v1-file-descriptor.types.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-file-descriptor.types.ts"],"names":[],"mappings":";;;AA2CA,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EAPW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOpB;AA4KD,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,uCAAuC;IACvC,oCAAiB,CAAA;IACjB,oCAAoC;IACpC,kCAAe,CAAA;IACf,kEAAkE;IAClE,sCAAmB,CAAA;AACrB,CAAC,EAPW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO1B;AAED,IAAY,KAGX;AAHD,WAAY,KAAK;IACf,kBAAS,CAAA;IACT,4BAAmB,CAAA;AACrB,CAAC,EAHW,KAAK,GAAL,aAAK,KAAL,aAAK,QAGhB;AAqKD,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,wEAAwE;IACxE,6BAAW,CAAA;AACb,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAgFD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AA2DD,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,6BAA6B;IAC7B,uCAAyB,CAAA;IACzB,sCAAsC;IACtC,uCAAyB,CAAA;IACzB,kCAAkC;IAClC,2DAA6C,CAAA;AAC/C,CAAC,EAPW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAOrB;AAgBD,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,2BAAW,CAAA;IACX,6BAAa,CAAA;AACf,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB"}
|