@wix/media 1.0.43 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +1 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +1 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +1 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.meta.d.ts +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.meta.js +1 -5
- package/build/cjs/src/media-site-media-v1-file-descriptor.meta.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.public.d.ts +10 -10
- package/build/cjs/src/media-site-media-v1-file-descriptor.types.js +10 -10
- 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 +14 -0
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.js +25 -15
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.meta.d.ts +1 -1
- package/build/cjs/src/media-site-media-v1-folder.meta.js +1 -5
- package/build/cjs/src/media-site-media-v1-folder.meta.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.public.d.ts +5 -5
- package/build/cjs/src/media-site-media-v1-folder.types.js +4 -4
- package/build/cjs/src/media-site-media-v1-folder.types.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.universal.d.ts +9 -0
- package/build/cjs/src/media-site-media-v1-folder.universal.js +14 -9
- package/build/cjs/src/media-site-media-v1-folder.universal.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor.meta.d.ts +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor.public.d.ts +10 -10
- package/build/es/src/media-site-media-v1-file-descriptor.universal.d.ts +14 -0
- package/build/es/src/media-site-media-v1-file-descriptor.universal.js +14 -0
- package/build/es/src/media-site-media-v1-file-descriptor.universal.js.map +1 -1
- package/build/es/src/media-site-media-v1-folder.meta.d.ts +1 -1
- package/build/es/src/media-site-media-v1-folder.public.d.ts +5 -5
- package/build/es/src/media-site-media-v1-folder.universal.d.ts +9 -0
- package/build/es/src/media-site-media-v1-folder.universal.js +9 -0
- package/build/es/src/media-site-media-v1-folder.universal.js.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,0FAA0E;AAC1E,mFAAmE"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6FAA6E;AAC7E,sFAAsE"}
|
package/build/cjs/meta.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,wFAAwE;AACxE,iFAAiE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as ambassadorWixMediaSiteMediaV1FileDescriptorTypes from './media-site-media-v1-file-descriptor.types';
|
|
2
2
|
import * as ambassadorWixMediaSiteMediaV1FileDescriptorUniversalTypes from './media-site-media-v1-file-descriptor.universal';
|
|
3
|
-
export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3
|
+
export declare type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4
4
|
getUrl: (context: any) => string;
|
|
5
5
|
httpMethod: K;
|
|
6
6
|
path: string;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-site-media-v1-file-descriptor.meta.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-file-descriptor.meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"media-site-media-v1-file-descriptor.meta.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-file-descriptor.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,wHAA0G;AAsB1G,SAAgB,wBAAwB;IAUtC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,2CAA2C,CAAC,wBAAwB,CAClE,OAAO,CACR,CAAC;IAEJ,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,i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A5BD,0CA4BC;AAED,SAAgB,4BAA4B;IAQ1C,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,2CAA2C,CAAC,4BAA4B,CACtE,OAAO,CACR,CAAC;IAEJ,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,kCAAkC;QACxC,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,oEA8BC;AAED,SAAgB,gBAAgB;IAU9B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,2CAA2C,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAExE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,qBAAqB;QAC3B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,4CA8BC"}
|
|
@@ -4,7 +4,7 @@ export declare const __metadata: {
|
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
6
6
|
export declare function generateFilesDownloadUrl(httpClient: HttpClient): (fileIds: string[]) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateFilesDownloadUrlResponse & import("./media-site-media-v1-file-descriptor.universal").GenerateFilesDownloadUrlResponseNonNullableFields>;
|
|
7
|
-
export declare function generateFileDownloadUrl(httpClient: HttpClient): (fileId: string, options?: GenerateFileDownloadUrlOptions) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateFileDownloadUrlResponse & import("./media-site-media-v1-file-descriptor.universal").GenerateFileDownloadUrlResponseNonNullableFields>;
|
|
7
|
+
export declare function generateFileDownloadUrl(httpClient: HttpClient): (fileId: string, options?: GenerateFileDownloadUrlOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateFileDownloadUrlResponse & import("./media-site-media-v1-file-descriptor.universal").GenerateFileDownloadUrlResponseNonNullableFields>;
|
|
8
8
|
export declare function getFileDescriptor(httpClient: HttpClient): (fileId: string) => Promise<import("./media-site-media-v1-file-descriptor.universal").FileDescriptor & {
|
|
9
9
|
_id: string;
|
|
10
10
|
displayName: string;
|
|
@@ -120,16 +120,16 @@ export declare function updateFileDescriptor(httpClient: HttpClient): (_id: stri
|
|
|
120
120
|
siteId: string;
|
|
121
121
|
state: import("./media-site-media-v1-file-descriptor.universal").State;
|
|
122
122
|
}>;
|
|
123
|
-
export declare function generateFileUploadUrl(httpClient: HttpClient): (mimeType: string | null, options?: GenerateFileUploadUrlOptions) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateFileUploadUrlResponse & import("./media-site-media-v1-file-descriptor.universal").GenerateFileUploadUrlResponseNonNullableFields>;
|
|
124
|
-
export declare function generateFileResumableUploadUrl(httpClient: HttpClient): (mimeType: string | null, options?: GenerateFileResumableUploadUrlOptions) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateFileResumableUploadUrlResponse & import("./media-site-media-v1-file-descriptor.universal").GenerateFileResumableUploadUrlResponseNonNullableFields>;
|
|
125
|
-
export declare function importFile(httpClient: HttpClient): (url: string, options?: ImportFileOptions) => Promise<import("./media-site-media-v1-file-descriptor.universal").ImportFileResponse & import("./media-site-media-v1-file-descriptor.universal").ImportFileResponseNonNullableFields>;
|
|
123
|
+
export declare function generateFileUploadUrl(httpClient: HttpClient): (mimeType: string | null, options?: GenerateFileUploadUrlOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateFileUploadUrlResponse & import("./media-site-media-v1-file-descriptor.universal").GenerateFileUploadUrlResponseNonNullableFields>;
|
|
124
|
+
export declare function generateFileResumableUploadUrl(httpClient: HttpClient): (mimeType: string | null, options?: GenerateFileResumableUploadUrlOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateFileResumableUploadUrlResponse & import("./media-site-media-v1-file-descriptor.universal").GenerateFileResumableUploadUrlResponseNonNullableFields>;
|
|
125
|
+
export declare function importFile(httpClient: HttpClient): (url: string, options?: ImportFileOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").ImportFileResponse & import("./media-site-media-v1-file-descriptor.universal").ImportFileResponseNonNullableFields>;
|
|
126
126
|
export declare function bulkImportFiles(httpClient: HttpClient): (importFileRequests: ImportFileRequest[]) => Promise<import("./media-site-media-v1-file-descriptor.universal").BulkImportFilesResponse & import("./media-site-media-v1-file-descriptor.universal").BulkImportFilesResponseNonNullableFields>;
|
|
127
|
-
export declare function bulkImportFile(httpClient: HttpClient): (importFileRequests: ImportFileRequest[], options?: BulkImportFileOptions) => Promise<import("./media-site-media-v1-file-descriptor.universal").BulkImportFileResponse & import("./media-site-media-v1-file-descriptor.universal").BulkImportFileResponseNonNullableFields>;
|
|
128
|
-
export declare function listFiles(httpClient: HttpClient): (options?: ListFilesOptions) => Promise<import("./media-site-media-v1-file-descriptor.universal").ListFilesResponse & import("./media-site-media-v1-file-descriptor.universal").ListFilesResponseNonNullableFields>;
|
|
129
|
-
export declare function searchFiles(httpClient: HttpClient): (options?: SearchFilesOptions) => Promise<import("./media-site-media-v1-file-descriptor.universal").SearchFilesResponse & import("./media-site-media-v1-file-descriptor.universal").SearchFilesResponseNonNullableFields>;
|
|
130
|
-
export declare function generateVideoStreamingUrl(httpClient: HttpClient): (fileId: string, options?: GenerateVideoStreamingUrlOptions) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateVideoStreamingUrlResponse & import("./media-site-media-v1-file-descriptor.universal").GenerateVideoStreamingUrlResponseNonNullableFields>;
|
|
131
|
-
export declare function bulkDeleteFiles(httpClient: HttpClient): (fileIds: string[], options?: BulkDeleteFilesOptions) => Promise<void>;
|
|
127
|
+
export declare function bulkImportFile(httpClient: HttpClient): (importFileRequests: ImportFileRequest[], options?: BulkImportFileOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").BulkImportFileResponse & import("./media-site-media-v1-file-descriptor.universal").BulkImportFileResponseNonNullableFields>;
|
|
128
|
+
export declare function listFiles(httpClient: HttpClient): (options?: ListFilesOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").ListFilesResponse & import("./media-site-media-v1-file-descriptor.universal").ListFilesResponseNonNullableFields>;
|
|
129
|
+
export declare function searchFiles(httpClient: HttpClient): (options?: SearchFilesOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").SearchFilesResponse & import("./media-site-media-v1-file-descriptor.universal").SearchFilesResponseNonNullableFields>;
|
|
130
|
+
export declare function generateVideoStreamingUrl(httpClient: HttpClient): (fileId: string, options?: GenerateVideoStreamingUrlOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").GenerateVideoStreamingUrlResponse & import("./media-site-media-v1-file-descriptor.universal").GenerateVideoStreamingUrlResponseNonNullableFields>;
|
|
131
|
+
export declare function bulkDeleteFiles(httpClient: HttpClient): (fileIds: string[], options?: BulkDeleteFilesOptions | undefined) => Promise<void>;
|
|
132
132
|
export declare function bulkRestoreFilesFromTrashBin(httpClient: HttpClient): (fileIds: string[]) => Promise<void>;
|
|
133
|
-
export declare function listDeletedFiles(httpClient: HttpClient): (options?: ListDeletedFilesOptions) => Promise<import("./media-site-media-v1-file-descriptor.universal").ListDeletedFilesResponse & import("./media-site-media-v1-file-descriptor.universal").ListDeletedFilesResponseNonNullableFields>;
|
|
133
|
+
export declare function listDeletedFiles(httpClient: HttpClient): (options?: ListDeletedFilesOptions | undefined) => Promise<import("./media-site-media-v1-file-descriptor.universal").ListDeletedFilesResponse & import("./media-site-media-v1-file-descriptor.universal").ListDeletedFilesResponseNonNullableFields>;
|
|
134
134
|
export { MediaType, OperationStatus, State, Namespace, IdentityType, ContentDisposition, UploadProtocol, SortOrder, RootFolder, StreamFormat, } from './media-site-media-v1-file-descriptor.universal';
|
|
135
135
|
export { FileDescriptor, FileMedia, FileMediaMediaOneOf, ImageMedia, Colors, Color, ColorRGB, FaceRecognition, VideoResolution, AudioV2, Archive, Model3D, OtherMedia, IdentityInfo, FileReady, ExternalInfo, FileFailed, GenerateFilesDownloadUrlRequest, GenerateFilesDownloadUrlResponse, GenerateFileDownloadUrlRequest, GenerateFileDownloadUrlResponse, DownloadUrl, GetFileDescriptorRequest, GetFileDescriptorResponse, GetFileDescriptorsRequest, GetFileDescriptorsResponse, UpdateFileRequest, UpdateFileResponse, UpdateFileDescriptorRequest, UpdateFileDescriptorResponse, GenerateFileUploadUrlRequest, GenerateFileUploadUrlResponse, GenerateFileResumableUploadUrlRequest, GenerateFileResumableUploadUrlResponse, ImportFileRequest, ImportFileResponse, BulkImportFilesRequest, BulkImportFilesResponse, BulkImportFileRequest, BulkImportFileResponse, BulkImportFileResult, ItemMetadata, ApplicationError, BulkActionMetadata, ListFilesRequest, Sorting, CursorPaging, ListFilesResponse, PagingMetadataV2, Cursors, SearchFilesRequest, SearchFilesResponse, GenerateVideoStreamingUrlRequest, GenerateVideoStreamingUrlResponse, GenerateWebSocketTokenRequest, GenerateWebSocketTokenResponse, BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkRestoreFilesFromTrashBinRequest, BulkRestoreFilesFromTrashBinResponse, ListDeletedFilesRequest, ListDeletedFilesResponse, GenerateFilesDownloadUrlResponseNonNullableFields, GenerateFileDownloadUrlResponseNonNullableFields, GetFileDescriptorResponseNonNullableFields, GetFileDescriptorsResponseNonNullableFields, UpdateFileDescriptorResponseNonNullableFields, GenerateFileUploadUrlResponseNonNullableFields, GenerateFileResumableUploadUrlResponseNonNullableFields, ImportFileResponseNonNullableFields, BulkImportFilesResponseNonNullableFields, BulkImportFileResponseNonNullableFields, ListFilesResponseNonNullableFields, SearchFilesResponseNonNullableFields, GenerateVideoStreamingUrlResponseNonNullableFields, ListDeletedFilesResponseNonNullableFields, GenerateFileDownloadUrlOptions, UpdateFileDescriptorFile, GenerateFileUploadUrlOptions, GenerateFileResumableUploadUrlOptions, ImportFileOptions, BulkImportFileOptions, ListFilesOptions, SearchFilesOptions, GenerateVideoStreamingUrlOptions, BulkDeleteFilesOptions, ListDeletedFilesOptions, } from './media-site-media-v1-file-descriptor.universal';
|
|
@@ -12,7 +12,7 @@ var MediaType;
|
|
|
12
12
|
MediaType["ARCHIVE"] = "ARCHIVE";
|
|
13
13
|
MediaType["MODEL3D"] = "MODEL3D";
|
|
14
14
|
MediaType["OTHER"] = "OTHER";
|
|
15
|
-
})(MediaType
|
|
15
|
+
})(MediaType = exports.MediaType || (exports.MediaType = {}));
|
|
16
16
|
var OperationStatus;
|
|
17
17
|
(function (OperationStatus) {
|
|
18
18
|
/** File upload or processing failed */
|
|
@@ -21,14 +21,14 @@ var OperationStatus;
|
|
|
21
21
|
OperationStatus["READY"] = "READY";
|
|
22
22
|
/** File is waiting for processing or currently being processed */
|
|
23
23
|
OperationStatus["PENDING"] = "PENDING";
|
|
24
|
-
})(OperationStatus
|
|
24
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
25
25
|
var State;
|
|
26
26
|
(function (State) {
|
|
27
27
|
/** File is ready for consumption */
|
|
28
28
|
State["OK"] = "OK";
|
|
29
29
|
/** Deleted file */
|
|
30
30
|
State["DELETED"] = "DELETED";
|
|
31
|
-
})(State
|
|
31
|
+
})(State = exports.State || (exports.State = {}));
|
|
32
32
|
var Namespace;
|
|
33
33
|
(function (Namespace) {
|
|
34
34
|
Namespace["NO_NAMESPACE"] = "NO_NAMESPACE";
|
|
@@ -55,7 +55,7 @@ var Namespace;
|
|
|
55
55
|
Namespace["CHAT_MOBILE"] = "CHAT_MOBILE";
|
|
56
56
|
/** _nsWixForms */
|
|
57
57
|
Namespace["WIX_FORMS"] = "WIX_FORMS";
|
|
58
|
-
})(Namespace
|
|
58
|
+
})(Namespace = exports.Namespace || (exports.Namespace = {}));
|
|
59
59
|
var IdentityType;
|
|
60
60
|
(function (IdentityType) {
|
|
61
61
|
IdentityType["UNKNOWN"] = "UNKNOWN";
|
|
@@ -63,24 +63,24 @@ var IdentityType;
|
|
|
63
63
|
IdentityType["MEMBER"] = "MEMBER";
|
|
64
64
|
IdentityType["WIX_USER"] = "WIX_USER";
|
|
65
65
|
IdentityType["APP"] = "APP";
|
|
66
|
-
})(IdentityType
|
|
66
|
+
})(IdentityType = exports.IdentityType || (exports.IdentityType = {}));
|
|
67
67
|
var ContentDisposition;
|
|
68
68
|
(function (ContentDisposition) {
|
|
69
69
|
/** Using the link in the browser will download the file */
|
|
70
70
|
ContentDisposition["ATTACHMENT"] = "ATTACHMENT";
|
|
71
71
|
/** Using the link in the browser will open the file in the browser */
|
|
72
72
|
ContentDisposition["INLINE"] = "INLINE";
|
|
73
|
-
})(ContentDisposition
|
|
73
|
+
})(ContentDisposition = exports.ContentDisposition || (exports.ContentDisposition = {}));
|
|
74
74
|
var UploadProtocol;
|
|
75
75
|
(function (UploadProtocol) {
|
|
76
76
|
/** The upload protocol to use for implementing the resumable upload. */
|
|
77
77
|
UploadProtocol["TUS"] = "TUS";
|
|
78
|
-
})(UploadProtocol
|
|
78
|
+
})(UploadProtocol = exports.UploadProtocol || (exports.UploadProtocol = {}));
|
|
79
79
|
var SortOrder;
|
|
80
80
|
(function (SortOrder) {
|
|
81
81
|
SortOrder["ASC"] = "ASC";
|
|
82
82
|
SortOrder["DESC"] = "DESC";
|
|
83
|
-
})(SortOrder
|
|
83
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
84
84
|
var RootFolder;
|
|
85
85
|
(function (RootFolder) {
|
|
86
86
|
/** Root of all site media */
|
|
@@ -89,11 +89,11 @@ var RootFolder;
|
|
|
89
89
|
RootFolder["TRASH_ROOT"] = "TRASH_ROOT";
|
|
90
90
|
/** Root of all visitor uploads */
|
|
91
91
|
RootFolder["VISITOR_UPLOADS_ROOT"] = "VISITOR_UPLOADS_ROOT";
|
|
92
|
-
})(RootFolder
|
|
92
|
+
})(RootFolder = exports.RootFolder || (exports.RootFolder = {}));
|
|
93
93
|
var StreamFormat;
|
|
94
94
|
(function (StreamFormat) {
|
|
95
95
|
StreamFormat["UNKNOWN"] = "UNKNOWN";
|
|
96
96
|
StreamFormat["HLS"] = "HLS";
|
|
97
97
|
StreamFormat["DASH"] = "DASH";
|
|
98
|
-
})(StreamFormat
|
|
98
|
+
})(StreamFormat = exports.StreamFormat || (exports.StreamFormat = {}));
|
|
99
99
|
//# sourceMappingURL=media-site-media-v1-file-descriptor.types.js.map
|
|
@@ -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":";;;AAkFA,IAAY,SAUX;AAVD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,gCAAmB,CAAA;IACnB,4BAAe,CAAA;AACjB,CAAC,EAVW,SAAS,
|
|
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":";;;AAkFA,IAAY,SAUX;AAVD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,4BAAe,CAAA;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AY,KAAZ,oBAAY,QAMvB;AAqED,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,2DAA2D;IAC3D,+CAAyB,CAAA;IACzB,sEAAsE;IACtE,uCAAiB,CAAA;AACnB,CAAC,EALW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAK7B;AA2HD,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,wEAAwE;IACxE,6BAAW,CAAA;AACb,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AA6ID,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAiED,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"}
|
|
@@ -1375,6 +1375,7 @@ export interface ListDeletedFilesResponseNonNullableFields {
|
|
|
1375
1375
|
* The compressed file can contain up to 1000 files.
|
|
1376
1376
|
* @param fileIds - IDs of the files to download.
|
|
1377
1377
|
* @public
|
|
1378
|
+
* @documentationMaturity preview
|
|
1378
1379
|
* @requiredField fileIds
|
|
1379
1380
|
* @permissionScope Manage Bookings Services and Settings
|
|
1380
1381
|
* @permissionScope Manage Media Manager
|
|
@@ -1434,6 +1435,7 @@ export interface GenerateFileDownloadUrlOptions {
|
|
|
1434
1435
|
* Gets information about a specific file in the Media Manager.
|
|
1435
1436
|
* @param fileId - File ID.
|
|
1436
1437
|
* @public
|
|
1438
|
+
* @documentationMaturity preview
|
|
1437
1439
|
* @requiredField fileId
|
|
1438
1440
|
* @permissionScope Manage Bookings Services and Settings
|
|
1439
1441
|
* @permissionScope Read Media Manager
|
|
@@ -1446,6 +1448,7 @@ export declare function getFileDescriptor(fileId: string): Promise<FileDescripto
|
|
|
1446
1448
|
* Gets information about the specified files in the Media Manager.
|
|
1447
1449
|
* @param fileIds - File IDs.
|
|
1448
1450
|
* @public
|
|
1451
|
+
* @documentationMaturity preview
|
|
1449
1452
|
* @requiredField fileIds
|
|
1450
1453
|
* @permissionScope Manage Bookings Services and Settings
|
|
1451
1454
|
* @permissionScope Read Media Manager
|
|
@@ -1459,6 +1462,7 @@ export declare function getFileDescriptors(fileIds: string[]): Promise<GetFileDe
|
|
|
1459
1462
|
* You can use the `parentFolderId` parameter to move a file from its current folder to a different folder.
|
|
1460
1463
|
* @param _id - File ID. Generated when a file is uploaded to the Media Manager.
|
|
1461
1464
|
* @public
|
|
1465
|
+
* @documentationMaturity preview
|
|
1462
1466
|
* @requiredField _id
|
|
1463
1467
|
* @requiredField file
|
|
1464
1468
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1562,6 +1566,7 @@ export interface UpdateFileDescriptorFile {
|
|
|
1562
1566
|
* > **Note:** 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](#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.
|
|
1563
1567
|
* @param mimeType - File mime type.
|
|
1564
1568
|
* @public
|
|
1569
|
+
* @documentationMaturity preview
|
|
1565
1570
|
* @requiredField mimeType
|
|
1566
1571
|
* @param options - Options to use when generating a file's upload URL.
|
|
1567
1572
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1600,6 +1605,7 @@ export interface GenerateFileUploadUrlOptions {
|
|
|
1600
1605
|
* 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](#resumable-upload-api) article.
|
|
1601
1606
|
* @param mimeType - File mime type.
|
|
1602
1607
|
* @public
|
|
1608
|
+
* @documentationMaturity preview
|
|
1603
1609
|
* @requiredField mimeType
|
|
1604
1610
|
* @param options - Options to use when generating a resumable upload URL.
|
|
1605
1611
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1650,6 +1656,7 @@ export interface GenerateFileResumableUploadUrlOptions {
|
|
|
1650
1656
|
*
|
|
1651
1657
|
* @param url - Publicly accessible external file URL.
|
|
1652
1658
|
* @public
|
|
1659
|
+
* @documentationMaturity preview
|
|
1653
1660
|
* @requiredField url
|
|
1654
1661
|
* @param options - Options to use when importing a single file.
|
|
1655
1662
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1698,6 +1705,7 @@ export interface ImportFileOptions {
|
|
|
1698
1705
|
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
1699
1706
|
* @param importFileRequests - Information about the files to import.
|
|
1700
1707
|
* @public
|
|
1708
|
+
* @documentationMaturity preview
|
|
1701
1709
|
* @requiredField importFileRequests
|
|
1702
1710
|
* @requiredField importFileRequests.url
|
|
1703
1711
|
* @param options - Options to use when uploading multiple files.
|
|
@@ -1741,6 +1749,7 @@ export interface BulkImportFileOptions {
|
|
|
1741
1749
|
*
|
|
1742
1750
|
* 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.
|
|
1743
1751
|
* @public
|
|
1752
|
+
* @documentationMaturity preview
|
|
1744
1753
|
* @param options - Options to use when listing media files.
|
|
1745
1754
|
* @permissionScope Manage Bookings Services and Settings
|
|
1746
1755
|
* @permissionScope Read Media Manager
|
|
@@ -1778,6 +1787,7 @@ export interface ListFilesOptions {
|
|
|
1778
1787
|
*
|
|
1779
1788
|
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
1780
1789
|
* @public
|
|
1790
|
+
* @documentationMaturity preview
|
|
1781
1791
|
* @param options - Options to specify which folders to search.
|
|
1782
1792
|
* @permissionScope Manage Bookings Services and Settings
|
|
1783
1793
|
* @permissionScope Read Media Manager
|
|
@@ -1823,6 +1833,7 @@ export interface SearchFilesOptions {
|
|
|
1823
1833
|
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
1824
1834
|
* @param fileId - File ID.
|
|
1825
1835
|
* @public
|
|
1836
|
+
* @documentationMaturity preview
|
|
1826
1837
|
* @requiredField fileId
|
|
1827
1838
|
* @param options - Options to use when generating a video file's streaming URL.
|
|
1828
1839
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1855,6 +1866,7 @@ export interface GenerateVideoStreamingUrlOptions {
|
|
|
1855
1866
|
* > - You can use the [Bulk Restore Files From Trash Bin](#bulkrestorefilesfromtrashbin) endpoint to restore files from the Media Manager's trash bin.
|
|
1856
1867
|
* @param fileIds - IDs of the files to move to the Media Manager's trash bin.
|
|
1857
1868
|
* @public
|
|
1869
|
+
* @documentationMaturity preview
|
|
1858
1870
|
* @requiredField fileIds
|
|
1859
1871
|
* @param options - Options to use when deleting files.
|
|
1860
1872
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1873,6 +1885,7 @@ export interface BulkDeleteFilesOptions {
|
|
|
1873
1885
|
* Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
1874
1886
|
* @param fileIds - IDs of the files to restore from the Media Manager's trash bin.
|
|
1875
1887
|
* @public
|
|
1888
|
+
* @documentationMaturity preview
|
|
1876
1889
|
* @requiredField fileIds
|
|
1877
1890
|
* @permissionScope Manage Bookings Services and Settings
|
|
1878
1891
|
* @permissionScope Manage Media Manager
|
|
@@ -1884,6 +1897,7 @@ export declare function bulkRestoreFilesFromTrashBin(fileIds: string[]): Promise
|
|
|
1884
1897
|
*
|
|
1885
1898
|
* >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
1886
1899
|
* @public
|
|
1900
|
+
* @documentationMaturity preview
|
|
1887
1901
|
* @param options - Options to use when listing deleted files from the trash bin.
|
|
1888
1902
|
* @permissionScope Manage Bookings Services and Settings
|
|
1889
1903
|
* @permissionScope Read Media Manager
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
|
@@ -61,7 +57,7 @@ var MediaType;
|
|
|
61
57
|
MediaType["ARCHIVE"] = "ARCHIVE";
|
|
62
58
|
MediaType["MODEL3D"] = "MODEL3D";
|
|
63
59
|
MediaType["OTHER"] = "OTHER";
|
|
64
|
-
})(MediaType
|
|
60
|
+
})(MediaType = exports.MediaType || (exports.MediaType = {}));
|
|
65
61
|
var OperationStatus;
|
|
66
62
|
(function (OperationStatus) {
|
|
67
63
|
/** File upload or processing failed */
|
|
@@ -70,14 +66,14 @@ var OperationStatus;
|
|
|
70
66
|
OperationStatus["READY"] = "READY";
|
|
71
67
|
/** File is waiting for processing or currently being processed */
|
|
72
68
|
OperationStatus["PENDING"] = "PENDING";
|
|
73
|
-
})(OperationStatus
|
|
69
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
74
70
|
var State;
|
|
75
71
|
(function (State) {
|
|
76
72
|
/** File is ready for consumption */
|
|
77
73
|
State["OK"] = "OK";
|
|
78
74
|
/** Deleted file */
|
|
79
75
|
State["DELETED"] = "DELETED";
|
|
80
|
-
})(State
|
|
76
|
+
})(State = exports.State || (exports.State = {}));
|
|
81
77
|
var Namespace;
|
|
82
78
|
(function (Namespace) {
|
|
83
79
|
Namespace["NO_NAMESPACE"] = "NO_NAMESPACE";
|
|
@@ -104,7 +100,7 @@ var Namespace;
|
|
|
104
100
|
Namespace["CHAT_MOBILE"] = "CHAT_MOBILE";
|
|
105
101
|
/** _nsWixForms */
|
|
106
102
|
Namespace["WIX_FORMS"] = "WIX_FORMS";
|
|
107
|
-
})(Namespace
|
|
103
|
+
})(Namespace = exports.Namespace || (exports.Namespace = {}));
|
|
108
104
|
var IdentityType;
|
|
109
105
|
(function (IdentityType) {
|
|
110
106
|
IdentityType["UNKNOWN"] = "UNKNOWN";
|
|
@@ -112,24 +108,24 @@ var IdentityType;
|
|
|
112
108
|
IdentityType["MEMBER"] = "MEMBER";
|
|
113
109
|
IdentityType["WIX_USER"] = "WIX_USER";
|
|
114
110
|
IdentityType["APP"] = "APP";
|
|
115
|
-
})(IdentityType
|
|
111
|
+
})(IdentityType = exports.IdentityType || (exports.IdentityType = {}));
|
|
116
112
|
var ContentDisposition;
|
|
117
113
|
(function (ContentDisposition) {
|
|
118
114
|
/** Using the link in the browser will download the file */
|
|
119
115
|
ContentDisposition["ATTACHMENT"] = "ATTACHMENT";
|
|
120
116
|
/** Using the link in the browser will open the file in the browser */
|
|
121
117
|
ContentDisposition["INLINE"] = "INLINE";
|
|
122
|
-
})(ContentDisposition
|
|
118
|
+
})(ContentDisposition = exports.ContentDisposition || (exports.ContentDisposition = {}));
|
|
123
119
|
var UploadProtocol;
|
|
124
120
|
(function (UploadProtocol) {
|
|
125
121
|
/** The upload protocol to use for implementing the resumable upload. */
|
|
126
122
|
UploadProtocol["TUS"] = "TUS";
|
|
127
|
-
})(UploadProtocol
|
|
123
|
+
})(UploadProtocol = exports.UploadProtocol || (exports.UploadProtocol = {}));
|
|
128
124
|
var SortOrder;
|
|
129
125
|
(function (SortOrder) {
|
|
130
126
|
SortOrder["ASC"] = "ASC";
|
|
131
127
|
SortOrder["DESC"] = "DESC";
|
|
132
|
-
})(SortOrder
|
|
128
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
133
129
|
var RootFolder;
|
|
134
130
|
(function (RootFolder) {
|
|
135
131
|
/** Root of all site media */
|
|
@@ -138,13 +134,13 @@ var RootFolder;
|
|
|
138
134
|
RootFolder["TRASH_ROOT"] = "TRASH_ROOT";
|
|
139
135
|
/** Root of all visitor uploads */
|
|
140
136
|
RootFolder["VISITOR_UPLOADS_ROOT"] = "VISITOR_UPLOADS_ROOT";
|
|
141
|
-
})(RootFolder
|
|
137
|
+
})(RootFolder = exports.RootFolder || (exports.RootFolder = {}));
|
|
142
138
|
var StreamFormat;
|
|
143
139
|
(function (StreamFormat) {
|
|
144
140
|
StreamFormat["UNKNOWN"] = "UNKNOWN";
|
|
145
141
|
StreamFormat["HLS"] = "HLS";
|
|
146
142
|
StreamFormat["DASH"] = "DASH";
|
|
147
|
-
})(StreamFormat
|
|
143
|
+
})(StreamFormat = exports.StreamFormat || (exports.StreamFormat = {}));
|
|
148
144
|
const _audioV2 = { assets: 'wix.common.Audio' };
|
|
149
145
|
const _bulkDeleteFilesRequest = {};
|
|
150
146
|
const _bulkDeleteFilesResponse = {};
|
|
@@ -199,6 +195,7 @@ const _updateFileDescriptorResponse = { file: '_fileDescriptor' };
|
|
|
199
195
|
* The compressed file can contain up to 1000 files.
|
|
200
196
|
* @param fileIds - IDs of the files to download.
|
|
201
197
|
* @public
|
|
198
|
+
* @documentationMaturity preview
|
|
202
199
|
* @requiredField fileIds
|
|
203
200
|
* @permissionScope Manage Bookings Services and Settings
|
|
204
201
|
* @permissionScope Manage Media Manager
|
|
@@ -319,6 +316,7 @@ exports.generateFileDownloadUrl = generateFileDownloadUrl;
|
|
|
319
316
|
* Gets information about a specific file in the Media Manager.
|
|
320
317
|
* @param fileId - File ID.
|
|
321
318
|
* @public
|
|
319
|
+
* @documentationMaturity preview
|
|
322
320
|
* @requiredField fileId
|
|
323
321
|
* @permissionScope Manage Bookings Services and Settings
|
|
324
322
|
* @permissionScope Read Media Manager
|
|
@@ -380,6 +378,7 @@ exports.getFileDescriptor = getFileDescriptor;
|
|
|
380
378
|
* Gets information about the specified files in the Media Manager.
|
|
381
379
|
* @param fileIds - File IDs.
|
|
382
380
|
* @public
|
|
381
|
+
* @documentationMaturity preview
|
|
383
382
|
* @requiredField fileIds
|
|
384
383
|
* @permissionScope Manage Bookings Services and Settings
|
|
385
384
|
* @permissionScope Read Media Manager
|
|
@@ -442,6 +441,7 @@ exports.getFileDescriptors = getFileDescriptors;
|
|
|
442
441
|
* You can use the `parentFolderId` parameter to move a file from its current folder to a different folder.
|
|
443
442
|
* @param _id - File ID. Generated when a file is uploaded to the Media Manager.
|
|
444
443
|
* @public
|
|
444
|
+
* @documentationMaturity preview
|
|
445
445
|
* @requiredField _id
|
|
446
446
|
* @requiredField file
|
|
447
447
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -514,6 +514,7 @@ exports.updateFileDescriptor = updateFileDescriptor;
|
|
|
514
514
|
* > **Note:** 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](#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.
|
|
515
515
|
* @param mimeType - File mime type.
|
|
516
516
|
* @public
|
|
517
|
+
* @documentationMaturity preview
|
|
517
518
|
* @requiredField mimeType
|
|
518
519
|
* @param options - Options to use when generating a file's upload URL.
|
|
519
520
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -581,6 +582,7 @@ exports.generateFileUploadUrl = generateFileUploadUrl;
|
|
|
581
582
|
* 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](#resumable-upload-api) article.
|
|
582
583
|
* @param mimeType - File mime type.
|
|
583
584
|
* @public
|
|
585
|
+
* @documentationMaturity preview
|
|
584
586
|
* @requiredField mimeType
|
|
585
587
|
* @param options - Options to use when generating a resumable upload URL.
|
|
586
588
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -656,6 +658,7 @@ exports.generateFileResumableUploadUrl = generateFileResumableUploadUrl;
|
|
|
656
658
|
*
|
|
657
659
|
* @param url - Publicly accessible external file URL.
|
|
658
660
|
* @public
|
|
661
|
+
* @documentationMaturity preview
|
|
659
662
|
* @requiredField url
|
|
660
663
|
* @param options - Options to use when importing a single file.
|
|
661
664
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -738,6 +741,7 @@ exports.importFile = importFile;
|
|
|
738
741
|
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
739
742
|
* @param importFileRequests - Information about the files to import.
|
|
740
743
|
* @public
|
|
744
|
+
* @documentationMaturity preview
|
|
741
745
|
* @requiredField importFileRequests
|
|
742
746
|
* @requiredField importFileRequests.url
|
|
743
747
|
* @param options - Options to use when uploading multiple files.
|
|
@@ -876,6 +880,7 @@ exports.bulkImportFile = bulkImportFile;
|
|
|
876
880
|
*
|
|
877
881
|
* 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.
|
|
878
882
|
* @public
|
|
883
|
+
* @documentationMaturity preview
|
|
879
884
|
* @param options - Options to use when listing media files.
|
|
880
885
|
* @permissionScope Manage Bookings Services and Settings
|
|
881
886
|
* @permissionScope Read Media Manager
|
|
@@ -943,6 +948,7 @@ exports.listFiles = listFiles;
|
|
|
943
948
|
*
|
|
944
949
|
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
945
950
|
* @public
|
|
951
|
+
* @documentationMaturity preview
|
|
946
952
|
* @param options - Options to specify which folders to search.
|
|
947
953
|
* @permissionScope Manage Bookings Services and Settings
|
|
948
954
|
* @permissionScope Read Media Manager
|
|
@@ -1010,6 +1016,7 @@ exports.searchFiles = searchFiles;
|
|
|
1010
1016
|
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
1011
1017
|
* @param fileId - File ID.
|
|
1012
1018
|
* @public
|
|
1019
|
+
* @documentationMaturity preview
|
|
1013
1020
|
* @requiredField fileId
|
|
1014
1021
|
* @param options - Options to use when generating a video file's streaming URL.
|
|
1015
1022
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1076,6 +1083,7 @@ exports.generateVideoStreamingUrl = generateVideoStreamingUrl;
|
|
|
1076
1083
|
* > - You can use the [Bulk Restore Files From Trash Bin](#bulkrestorefilesfromtrashbin) endpoint to restore files from the Media Manager's trash bin.
|
|
1077
1084
|
* @param fileIds - IDs of the files to move to the Media Manager's trash bin.
|
|
1078
1085
|
* @public
|
|
1086
|
+
* @documentationMaturity preview
|
|
1079
1087
|
* @requiredField fileIds
|
|
1080
1088
|
* @param options - Options to use when deleting files.
|
|
1081
1089
|
* @permissionScope Manage Bookings Services and Settings
|
|
@@ -1134,6 +1142,7 @@ exports.bulkDeleteFiles = bulkDeleteFiles;
|
|
|
1134
1142
|
* Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
1135
1143
|
* @param fileIds - IDs of the files to restore from the Media Manager's trash bin.
|
|
1136
1144
|
* @public
|
|
1145
|
+
* @documentationMaturity preview
|
|
1137
1146
|
* @requiredField fileIds
|
|
1138
1147
|
* @permissionScope Manage Bookings Services and Settings
|
|
1139
1148
|
* @permissionScope Manage Media Manager
|
|
@@ -1188,6 +1197,7 @@ exports.bulkRestoreFilesFromTrashBin = bulkRestoreFilesFromTrashBin;
|
|
|
1188
1197
|
*
|
|
1189
1198
|
* >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
1190
1199
|
* @public
|
|
1200
|
+
* @documentationMaturity preview
|
|
1191
1201
|
* @param options - Options to use when listing deleted files from the trash bin.
|
|
1192
1202
|
* @permissionScope Manage Bookings Services and Settings
|
|
1193
1203
|
* @permissionScope Read Media Manager
|