@wix/media 1.0.36 → 1.0.38
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.public.d.ts +2 -2
- package/build/cjs/src/media-site-media-v1-file-descriptor.public.js +3 -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 +78 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.types.js +38 -1
- 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 +64 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.js +60 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.public.d.ts +1 -1
- package/build/cjs/src/media-site-media-v1-folder.public.js +2 -1
- package/build/cjs/src/media-site-media-v1-folder.public.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.types.d.ts +32 -0
- package/build/cjs/src/media-site-media-v1-folder.types.js +28 -1
- 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 +39 -0
- package/build/cjs/src/media-site-media-v1-folder.universal.js +41 -1
- package/build/cjs/src/media-site-media-v1-folder.universal.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor.public.d.ts +2 -2
- package/build/es/src/media-site-media-v1-file-descriptor.public.js +1 -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 +78 -1
- package/build/es/src/media-site-media-v1-file-descriptor.types.js +37 -0
- 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 +64 -1
- package/build/es/src/media-site-media-v1-file-descriptor.universal.js +59 -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.public.d.ts +1 -1
- package/build/es/src/media-site-media-v1-folder.public.js +1 -1
- package/build/es/src/media-site-media-v1-folder.public.js.map +1 -1
- package/build/es/src/media-site-media-v1-folder.types.d.ts +32 -0
- package/build/es/src/media-site-media-v1-folder.types.js +27 -0
- package/build/es/src/media-site-media-v1-folder.types.js.map +1 -1
- package/build/es/src/media-site-media-v1-folder.universal.d.ts +39 -0
- package/build/es/src/media-site-media-v1-folder.universal.js +40 -0
- package/build/es/src/media-site-media-v1-folder.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -131,5 +131,5 @@ export declare function generateVideoStreamingUrl(httpClient: HttpClient): (file
|
|
|
131
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
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
|
-
export { MediaType, OperationStatus, State, UploadProtocol, SortOrder, RootFolder, StreamFormat, } from './media-site-media-v1-file-descriptor.universal';
|
|
135
|
-
export { FileDescriptor, FileMedia, FileMediaMediaOneOf, ImageMedia, Colors, Color, ColorRGB, FaceRecognition, VideoResolution, AudioV2, Archive, Model3D, OtherMedia, 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, ListFilesOptions, SearchFilesOptions, GenerateVideoStreamingUrlOptions, BulkDeleteFilesOptions, ListDeletedFilesOptions, } from './media-site-media-v1-file-descriptor.universal';
|
|
134
|
+
export { MediaType, OperationStatus, State, Namespace, IdentityType, UploadProtocol, SortOrder, RootFolder, StreamFormat, } from './media-site-media-v1-file-descriptor.universal';
|
|
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, 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.bulkImportFile = exports.bulkImportFiles = exports.importFile = exports.generateFileResumableUploadUrl = exports.generateFileUploadUrl = exports.updateFileDescriptor = exports.getFileDescriptors = exports.getFileDescriptor = exports.generateFileDownloadUrl = exports.generateFilesDownloadUrl = exports.__metadata = void 0;
|
|
3
|
+
exports.StreamFormat = exports.RootFolder = exports.SortOrder = exports.UploadProtocol = exports.IdentityType = exports.Namespace = exports.State = exports.OperationStatus = exports.MediaType = exports.listDeletedFiles = exports.bulkRestoreFilesFromTrashBin = exports.bulkDeleteFiles = exports.generateVideoStreamingUrl = exports.searchFiles = exports.listFiles = exports.bulkImportFile = exports.bulkImportFiles = exports.importFile = exports.generateFileResumableUploadUrl = exports.generateFileUploadUrl = exports.updateFileDescriptor = exports.getFileDescriptors = exports.getFileDescriptor = exports.generateFileDownloadUrl = exports.generateFilesDownloadUrl = exports.__metadata = void 0;
|
|
4
4
|
const media_site_media_v1_file_descriptor_universal_1 = require("./media-site-media-v1-file-descriptor.universal");
|
|
5
5
|
exports.__metadata = { PACKAGE_NAME: '@wix/media' };
|
|
6
6
|
function generateFilesDownloadUrl(httpClient) {
|
|
@@ -103,6 +103,8 @@ var media_site_media_v1_file_descriptor_universal_2 = require("./media-site-medi
|
|
|
103
103
|
Object.defineProperty(exports, "MediaType", { enumerable: true, get: function () { return media_site_media_v1_file_descriptor_universal_2.MediaType; } });
|
|
104
104
|
Object.defineProperty(exports, "OperationStatus", { enumerable: true, get: function () { return media_site_media_v1_file_descriptor_universal_2.OperationStatus; } });
|
|
105
105
|
Object.defineProperty(exports, "State", { enumerable: true, get: function () { return media_site_media_v1_file_descriptor_universal_2.State; } });
|
|
106
|
+
Object.defineProperty(exports, "Namespace", { enumerable: true, get: function () { return media_site_media_v1_file_descriptor_universal_2.Namespace; } });
|
|
107
|
+
Object.defineProperty(exports, "IdentityType", { enumerable: true, get: function () { return media_site_media_v1_file_descriptor_universal_2.IdentityType; } });
|
|
106
108
|
Object.defineProperty(exports, "UploadProtocol", { enumerable: true, get: function () { return media_site_media_v1_file_descriptor_universal_2.UploadProtocol; } });
|
|
107
109
|
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return media_site_media_v1_file_descriptor_universal_2.SortOrder; } });
|
|
108
110
|
Object.defineProperty(exports, "RootFolder", { enumerable: true, get: function () { return media_site_media_v1_file_descriptor_universal_2.RootFolder; } });
|
|
@@ -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,mHA4ByD;AAE5C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC;AAEzD,SAAgB,wBAAwB,CAAC,UAAsB;IAC7D,OAAO,CAAC,OAAiB,EAAE,EAAE,CAC3B,IAAA,wEAAiC,EAC/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,IAAA,uEAAgC,EAC9B,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,I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PD,4CAOC;AAED,
|
|
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,mHA4ByD;AAE5C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC;AAEzD,SAAgB,wBAAwB,CAAC,UAAsB;IAC7D,OAAO,CAAC,OAAiB,EAAE,EAAE,CAC3B,IAAA,wEAAiC,EAC/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,IAAA,uEAAgC,EAC9B,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,IAAA,iEAA0B,EACxB,MAAM;IACN,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,8CAOC;AAED,SAAgB,kBAAkB,CAAC,UAAsB;IACvD,OAAO,CAAC,OAAiB,EAAE,EAAE,CAC3B,IAAA,kEAA2B,EACzB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,gDAOC;AAED,SAAgB,oBAAoB,CAAC,UAAsB;IACzD,OAAO,CAAC,GAAW,EAAE,IAA8B,EAAE,EAAE,CACrD,IAAA,oEAA6B,EAC3B,GAAG,EACH,IAAI;IACJ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,oDAQC;AAED,SAAgB,qBAAqB,CAAC,UAAsB;IAC1D,OAAO,CAAC,QAAuB,EAAE,OAAsC,EAAE,EAAE,CACzE,IAAA,qEAA8B,EAC5B,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0C,EAAE,EAAE,CACpE,IAAA,yEAAkC,EAChC,MAAM,EACN,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,8DAQC;AAED,SAAgB,eAAe,CAAC,UAAsB;IACpD,OAAO,CAAC,OAAiB,EAAE,OAAgC,EAAE,EAAE,CAC7D,IAAA,+DAAwB,EACtB,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,0CAQC;AAED,SAAgB,4BAA4B,CAAC,UAAsB;IACjE,OAAO,CAAC,OAAiB,EAAE,EAAE,CAC3B,IAAA,4EAAqC,EACnC,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,IAAA,gEAAyB,EACvB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,4CAOC;AAED,iHAUyD;AATvD,0IAAA,SAAS,OAAA;AACT,gJAAA,eAAe,OAAA;AACf,sIAAA,KAAK,OAAA;AACL,0IAAA,SAAS,OAAA;AACT,6IAAA,YAAY,OAAA;AACZ,+IAAA,cAAc,OAAA;AACd,0IAAA,SAAS,OAAA;AACT,2IAAA,UAAU,OAAA;AACV,6IAAA,YAAY,OAAA"}
|
|
@@ -342,9 +342,50 @@ export declare enum OperationStatus {
|
|
|
342
342
|
PENDING = "PENDING"
|
|
343
343
|
}
|
|
344
344
|
export declare enum State {
|
|
345
|
+
/** File is ready for consumption */
|
|
345
346
|
OK = "OK",
|
|
347
|
+
/** Deleted file */
|
|
346
348
|
DELETED = "DELETED"
|
|
347
349
|
}
|
|
350
|
+
export declare enum Namespace {
|
|
351
|
+
NO_NAMESPACE = "NO_NAMESPACE",
|
|
352
|
+
OTHERS = "OTHERS",
|
|
353
|
+
/** ANY = 2; */
|
|
354
|
+
WIX_VIDEO = "WIX_VIDEO",
|
|
355
|
+
/** _nsWixMusic */
|
|
356
|
+
WIX_MUSIC = "WIX_MUSIC",
|
|
357
|
+
/** _nsArtStore */
|
|
358
|
+
ALBUMS_AND_ART_STORE = "ALBUMS_AND_ART_STORE",
|
|
359
|
+
/** _nsDigitalProduct */
|
|
360
|
+
WIX_ECOM = "WIX_ECOM",
|
|
361
|
+
/** _nsPhotoShareApp */
|
|
362
|
+
PHOTO_SHARE_APP = "PHOTO_SHARE_APP",
|
|
363
|
+
/** _nsSharingApp, */
|
|
364
|
+
SHARING_APP = "SHARING_APP",
|
|
365
|
+
/** engage */
|
|
366
|
+
CHAT = "CHAT",
|
|
367
|
+
/** logobuilder */
|
|
368
|
+
LOGO_BUILDER = "LOGO_BUILDER",
|
|
369
|
+
/** WixExposure */
|
|
370
|
+
ALBUMS_OLD = "ALBUMS_OLD",
|
|
371
|
+
/** chat-mobile-uploads */
|
|
372
|
+
CHAT_MOBILE = "CHAT_MOBILE",
|
|
373
|
+
/** _nsWixForms */
|
|
374
|
+
WIX_FORMS = "WIX_FORMS"
|
|
375
|
+
}
|
|
376
|
+
export interface IdentityInfo {
|
|
377
|
+
/** The type of the user that uploaded the file */
|
|
378
|
+
identityType?: IdentityType;
|
|
379
|
+
/** User Id. empty when UNKNOWN */
|
|
380
|
+
identityId?: string | null;
|
|
381
|
+
}
|
|
382
|
+
export declare enum IdentityType {
|
|
383
|
+
UNKNOWN = "UNKNOWN",
|
|
384
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
385
|
+
MEMBER = "MEMBER",
|
|
386
|
+
WIX_USER = "WIX_USER",
|
|
387
|
+
APP = "APP"
|
|
388
|
+
}
|
|
348
389
|
export interface FileReady {
|
|
349
390
|
/** File entity that is ready with full information */
|
|
350
391
|
file?: FileDescriptor;
|
|
@@ -570,7 +611,7 @@ export interface BulkImportFileResponse {
|
|
|
570
611
|
export interface BulkImportFileResult {
|
|
571
612
|
/** updated item metadata */
|
|
572
613
|
itemMetadata?: ItemMetadata;
|
|
573
|
-
/** only returned if operation was successful
|
|
614
|
+
/** only returned if operation was successful */
|
|
574
615
|
item?: FileDescriptor;
|
|
575
616
|
}
|
|
576
617
|
export interface ItemMetadata {
|
|
@@ -895,6 +936,10 @@ export interface GetFileDescriptorResponseNonNullableFields {
|
|
|
895
936
|
siteId: string;
|
|
896
937
|
state: State;
|
|
897
938
|
internalTags: string[];
|
|
939
|
+
namespace: Namespace;
|
|
940
|
+
addedBy?: {
|
|
941
|
+
identityType: IdentityType;
|
|
942
|
+
};
|
|
898
943
|
};
|
|
899
944
|
}
|
|
900
945
|
export interface GetFileDescriptorsResponseNonNullableFields {
|
|
@@ -1010,6 +1055,10 @@ export interface GetFileDescriptorsResponseNonNullableFields {
|
|
|
1010
1055
|
siteId: string;
|
|
1011
1056
|
state: State;
|
|
1012
1057
|
internalTags: string[];
|
|
1058
|
+
namespace: Namespace;
|
|
1059
|
+
addedBy?: {
|
|
1060
|
+
identityType: IdentityType;
|
|
1061
|
+
};
|
|
1013
1062
|
}[];
|
|
1014
1063
|
}
|
|
1015
1064
|
export interface UpdateFileDescriptorResponseNonNullableFields {
|
|
@@ -1125,6 +1174,10 @@ export interface UpdateFileDescriptorResponseNonNullableFields {
|
|
|
1125
1174
|
siteId: string;
|
|
1126
1175
|
state: State;
|
|
1127
1176
|
internalTags: string[];
|
|
1177
|
+
namespace: Namespace;
|
|
1178
|
+
addedBy?: {
|
|
1179
|
+
identityType: IdentityType;
|
|
1180
|
+
};
|
|
1128
1181
|
};
|
|
1129
1182
|
}
|
|
1130
1183
|
export interface GenerateFileUploadUrlResponseNonNullableFields {
|
|
@@ -1248,6 +1301,10 @@ export interface ImportFileResponseNonNullableFields {
|
|
|
1248
1301
|
siteId: string;
|
|
1249
1302
|
state: State;
|
|
1250
1303
|
internalTags: string[];
|
|
1304
|
+
namespace: Namespace;
|
|
1305
|
+
addedBy?: {
|
|
1306
|
+
identityType: IdentityType;
|
|
1307
|
+
};
|
|
1251
1308
|
};
|
|
1252
1309
|
}
|
|
1253
1310
|
export interface BulkImportFilesResponseNonNullableFields {
|
|
@@ -1363,6 +1420,10 @@ export interface BulkImportFilesResponseNonNullableFields {
|
|
|
1363
1420
|
siteId: string;
|
|
1364
1421
|
state: State;
|
|
1365
1422
|
internalTags: string[];
|
|
1423
|
+
namespace: Namespace;
|
|
1424
|
+
addedBy?: {
|
|
1425
|
+
identityType: IdentityType;
|
|
1426
|
+
};
|
|
1366
1427
|
}[];
|
|
1367
1428
|
}
|
|
1368
1429
|
export interface BulkImportFileResponseNonNullableFields {
|
|
@@ -1487,6 +1548,10 @@ export interface BulkImportFileResponseNonNullableFields {
|
|
|
1487
1548
|
siteId: string;
|
|
1488
1549
|
state: State;
|
|
1489
1550
|
internalTags: string[];
|
|
1551
|
+
namespace: Namespace;
|
|
1552
|
+
addedBy?: {
|
|
1553
|
+
identityType: IdentityType;
|
|
1554
|
+
};
|
|
1490
1555
|
};
|
|
1491
1556
|
}[];
|
|
1492
1557
|
bulkActionMetadata?: {
|
|
@@ -1608,6 +1673,10 @@ export interface ListFilesResponseNonNullableFields {
|
|
|
1608
1673
|
siteId: string;
|
|
1609
1674
|
state: State;
|
|
1610
1675
|
internalTags: string[];
|
|
1676
|
+
namespace: Namespace;
|
|
1677
|
+
addedBy?: {
|
|
1678
|
+
identityType: IdentityType;
|
|
1679
|
+
};
|
|
1611
1680
|
}[];
|
|
1612
1681
|
}
|
|
1613
1682
|
export interface SearchFilesResponseNonNullableFields {
|
|
@@ -1723,6 +1792,10 @@ export interface SearchFilesResponseNonNullableFields {
|
|
|
1723
1792
|
siteId: string;
|
|
1724
1793
|
state: State;
|
|
1725
1794
|
internalTags: string[];
|
|
1795
|
+
namespace: Namespace;
|
|
1796
|
+
addedBy?: {
|
|
1797
|
+
identityType: IdentityType;
|
|
1798
|
+
};
|
|
1726
1799
|
}[];
|
|
1727
1800
|
}
|
|
1728
1801
|
export interface GenerateVideoStreamingUrlResponseNonNullableFields {
|
|
@@ -1844,5 +1917,9 @@ export interface ListDeletedFilesResponseNonNullableFields {
|
|
|
1844
1917
|
siteId: string;
|
|
1845
1918
|
state: State;
|
|
1846
1919
|
internalTags: string[];
|
|
1920
|
+
namespace: Namespace;
|
|
1921
|
+
addedBy?: {
|
|
1922
|
+
identityType: IdentityType;
|
|
1923
|
+
};
|
|
1847
1924
|
}[];
|
|
1848
1925
|
}
|
|
@@ -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 = void 0;
|
|
3
|
+
exports.StreamFormat = exports.RootFolder = exports.SortOrder = exports.UploadProtocol = exports.IdentityType = exports.Namespace = exports.State = exports.OperationStatus = exports.MediaType = void 0;
|
|
4
4
|
var MediaType;
|
|
5
5
|
(function (MediaType) {
|
|
6
6
|
MediaType["UNKNOWN"] = "UNKNOWN";
|
|
@@ -24,9 +24,46 @@ var OperationStatus;
|
|
|
24
24
|
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
25
25
|
var State;
|
|
26
26
|
(function (State) {
|
|
27
|
+
/** File is ready for consumption */
|
|
27
28
|
State["OK"] = "OK";
|
|
29
|
+
/** Deleted file */
|
|
28
30
|
State["DELETED"] = "DELETED";
|
|
29
31
|
})(State = exports.State || (exports.State = {}));
|
|
32
|
+
var Namespace;
|
|
33
|
+
(function (Namespace) {
|
|
34
|
+
Namespace["NO_NAMESPACE"] = "NO_NAMESPACE";
|
|
35
|
+
Namespace["OTHERS"] = "OTHERS";
|
|
36
|
+
/** ANY = 2; */
|
|
37
|
+
Namespace["WIX_VIDEO"] = "WIX_VIDEO";
|
|
38
|
+
/** _nsWixMusic */
|
|
39
|
+
Namespace["WIX_MUSIC"] = "WIX_MUSIC";
|
|
40
|
+
/** _nsArtStore */
|
|
41
|
+
Namespace["ALBUMS_AND_ART_STORE"] = "ALBUMS_AND_ART_STORE";
|
|
42
|
+
/** _nsDigitalProduct */
|
|
43
|
+
Namespace["WIX_ECOM"] = "WIX_ECOM";
|
|
44
|
+
/** _nsPhotoShareApp */
|
|
45
|
+
Namespace["PHOTO_SHARE_APP"] = "PHOTO_SHARE_APP";
|
|
46
|
+
/** _nsSharingApp, */
|
|
47
|
+
Namespace["SHARING_APP"] = "SHARING_APP";
|
|
48
|
+
/** engage */
|
|
49
|
+
Namespace["CHAT"] = "CHAT";
|
|
50
|
+
/** logobuilder */
|
|
51
|
+
Namespace["LOGO_BUILDER"] = "LOGO_BUILDER";
|
|
52
|
+
/** WixExposure */
|
|
53
|
+
Namespace["ALBUMS_OLD"] = "ALBUMS_OLD";
|
|
54
|
+
/** chat-mobile-uploads */
|
|
55
|
+
Namespace["CHAT_MOBILE"] = "CHAT_MOBILE";
|
|
56
|
+
/** _nsWixForms */
|
|
57
|
+
Namespace["WIX_FORMS"] = "WIX_FORMS";
|
|
58
|
+
})(Namespace = exports.Namespace || (exports.Namespace = {}));
|
|
59
|
+
var IdentityType;
|
|
60
|
+
(function (IdentityType) {
|
|
61
|
+
IdentityType["UNKNOWN"] = "UNKNOWN";
|
|
62
|
+
IdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
63
|
+
IdentityType["MEMBER"] = "MEMBER";
|
|
64
|
+
IdentityType["WIX_USER"] = "WIX_USER";
|
|
65
|
+
IdentityType["APP"] = "APP";
|
|
66
|
+
})(IdentityType = exports.IdentityType || (exports.IdentityType = {}));
|
|
30
67
|
var UploadProtocol;
|
|
31
68
|
(function (UploadProtocol) {
|
|
32
69
|
/** The upload protocol to use for implementing the resumable upload. */
|
|
@@ -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,GAAT,iBAAS,KAAT,iBAAS,QAUpB;AAqQD,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,
|
|
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,GAAT,iBAAS,KAAT,iBAAS,QAUpB;AAqQD,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,KAKX;AALD,WAAY,KAAK;IACf,oCAAoC;IACpC,kBAAS,CAAA;IACT,mBAAmB;IACnB,4BAAmB,CAAA;AACrB,CAAC,EALW,KAAK,GAAL,aAAK,KAAL,aAAK,QAKhB;AAED,IAAY,SAyBX;AAzBD,WAA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AAA;AACf,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB"}
|
|
@@ -298,9 +298,50 @@ export declare enum OperationStatus {
|
|
|
298
298
|
PENDING = "PENDING"
|
|
299
299
|
}
|
|
300
300
|
export declare enum State {
|
|
301
|
+
/** File is ready for consumption */
|
|
301
302
|
OK = "OK",
|
|
303
|
+
/** Deleted file */
|
|
302
304
|
DELETED = "DELETED"
|
|
303
305
|
}
|
|
306
|
+
export declare enum Namespace {
|
|
307
|
+
NO_NAMESPACE = "NO_NAMESPACE",
|
|
308
|
+
OTHERS = "OTHERS",
|
|
309
|
+
/** ANY = 2; */
|
|
310
|
+
WIX_VIDEO = "WIX_VIDEO",
|
|
311
|
+
/** _nsWixMusic */
|
|
312
|
+
WIX_MUSIC = "WIX_MUSIC",
|
|
313
|
+
/** _nsArtStore */
|
|
314
|
+
ALBUMS_AND_ART_STORE = "ALBUMS_AND_ART_STORE",
|
|
315
|
+
/** _nsDigitalProduct */
|
|
316
|
+
WIX_ECOM = "WIX_ECOM",
|
|
317
|
+
/** _nsPhotoShareApp */
|
|
318
|
+
PHOTO_SHARE_APP = "PHOTO_SHARE_APP",
|
|
319
|
+
/** _nsSharingApp, */
|
|
320
|
+
SHARING_APP = "SHARING_APP",
|
|
321
|
+
/** engage */
|
|
322
|
+
CHAT = "CHAT",
|
|
323
|
+
/** logobuilder */
|
|
324
|
+
LOGO_BUILDER = "LOGO_BUILDER",
|
|
325
|
+
/** WixExposure */
|
|
326
|
+
ALBUMS_OLD = "ALBUMS_OLD",
|
|
327
|
+
/** chat-mobile-uploads */
|
|
328
|
+
CHAT_MOBILE = "CHAT_MOBILE",
|
|
329
|
+
/** _nsWixForms */
|
|
330
|
+
WIX_FORMS = "WIX_FORMS"
|
|
331
|
+
}
|
|
332
|
+
export interface IdentityInfo {
|
|
333
|
+
/** The type of the user that uploaded the file */
|
|
334
|
+
identityType?: IdentityType;
|
|
335
|
+
/** User Id. empty when UNKNOWN */
|
|
336
|
+
identityId?: string | null;
|
|
337
|
+
}
|
|
338
|
+
export declare enum IdentityType {
|
|
339
|
+
UNKNOWN = "UNKNOWN",
|
|
340
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
341
|
+
MEMBER = "MEMBER",
|
|
342
|
+
WIX_USER = "WIX_USER",
|
|
343
|
+
APP = "APP"
|
|
344
|
+
}
|
|
304
345
|
export interface FileReady {
|
|
305
346
|
/** File entity that is ready with full information */
|
|
306
347
|
file?: FileDescriptor;
|
|
@@ -531,7 +572,7 @@ export interface BulkImportFileResponse {
|
|
|
531
572
|
export interface BulkImportFileResult {
|
|
532
573
|
/** updated item metadata */
|
|
533
574
|
itemMetadata?: ItemMetadata;
|
|
534
|
-
/** only returned if operation was successful
|
|
575
|
+
/** only returned if operation was successful */
|
|
535
576
|
item?: FileDescriptor;
|
|
536
577
|
}
|
|
537
578
|
export interface ItemMetadata {
|
|
@@ -1314,6 +1355,7 @@ export interface ListDeletedFilesResponseNonNullableFields {
|
|
|
1314
1355
|
* @param fileIds - IDs of the files to download.
|
|
1315
1356
|
* @public
|
|
1316
1357
|
* @requiredField fileIds
|
|
1358
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1317
1359
|
* @permissionScope Manage Media Manager
|
|
1318
1360
|
* @applicableIdentity APP
|
|
1319
1361
|
*/
|
|
@@ -1329,6 +1371,7 @@ export declare function generateFilesDownloadUrl(fileIds: string[]): Promise<Gen
|
|
|
1329
1371
|
* @public
|
|
1330
1372
|
* @requiredField fileId
|
|
1331
1373
|
* @param options - Options to use when generating a file's download URL.
|
|
1374
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1332
1375
|
* @permissionScope Manage Media Manager
|
|
1333
1376
|
* @applicableIdentity APP
|
|
1334
1377
|
*/
|
|
@@ -1362,7 +1405,9 @@ export interface GenerateFileDownloadUrlOptions {
|
|
|
1362
1405
|
* @param fileId - File ID.
|
|
1363
1406
|
* @public
|
|
1364
1407
|
* @requiredField fileId
|
|
1408
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1365
1409
|
* @permissionScope Read Media Manager
|
|
1410
|
+
* @permissionScope Manage Media Manager
|
|
1366
1411
|
* @applicableIdentity APP
|
|
1367
1412
|
* @returns Information about the file.
|
|
1368
1413
|
*/
|
|
@@ -1372,7 +1417,9 @@ export declare function getFileDescriptor(fileId: string): Promise<FileDescripto
|
|
|
1372
1417
|
* @param fileIds - File IDs.
|
|
1373
1418
|
* @public
|
|
1374
1419
|
* @requiredField fileIds
|
|
1420
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1375
1421
|
* @permissionScope Read Media Manager
|
|
1422
|
+
* @permissionScope Manage Media Manager
|
|
1376
1423
|
* @applicableIdentity APP
|
|
1377
1424
|
*/
|
|
1378
1425
|
export declare function getFileDescriptors(fileIds: string[]): Promise<GetFileDescriptorsResponse & GetFileDescriptorsResponseNonNullableFields>;
|
|
@@ -1384,6 +1431,7 @@ export declare function getFileDescriptors(fileIds: string[]): Promise<GetFileDe
|
|
|
1384
1431
|
* @public
|
|
1385
1432
|
* @requiredField _id
|
|
1386
1433
|
* @requiredField file
|
|
1434
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1387
1435
|
* @permissionScope Manage Media Manager
|
|
1388
1436
|
* @applicableIdentity APP
|
|
1389
1437
|
* @returns Information about the updated file.
|
|
@@ -1486,6 +1534,7 @@ export interface UpdateFileDescriptorFile {
|
|
|
1486
1534
|
* @public
|
|
1487
1535
|
* @requiredField mimeType
|
|
1488
1536
|
* @param options - Options to use when generating a file's upload URL.
|
|
1537
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1489
1538
|
* @permissionScope Manage Media Manager
|
|
1490
1539
|
* @applicableIdentity APP
|
|
1491
1540
|
*/
|
|
@@ -1523,6 +1572,7 @@ export interface GenerateFileUploadUrlOptions {
|
|
|
1523
1572
|
* @public
|
|
1524
1573
|
* @requiredField mimeType
|
|
1525
1574
|
* @param options - Options to use when generating a resumable upload URL.
|
|
1575
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1526
1576
|
* @permissionScope Manage Media Manager
|
|
1527
1577
|
* @applicableIdentity APP
|
|
1528
1578
|
*/
|
|
@@ -1572,6 +1622,7 @@ export interface GenerateFileResumableUploadUrlOptions {
|
|
|
1572
1622
|
* @public
|
|
1573
1623
|
* @requiredField url
|
|
1574
1624
|
* @param options - Options to use when importing a single file.
|
|
1625
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1575
1626
|
* @permissionScope Manage Media Manager
|
|
1576
1627
|
* @applicableIdentity APP
|
|
1577
1628
|
*/
|
|
@@ -1620,6 +1671,7 @@ export interface ImportFileOptions {
|
|
|
1620
1671
|
* @requiredField importFileRequests
|
|
1621
1672
|
* @requiredField importFileRequests.url
|
|
1622
1673
|
* @param options - Options to use when uploading multiple files.
|
|
1674
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1623
1675
|
* @permissionScope Manage Media Manager
|
|
1624
1676
|
* @applicableIdentity APP
|
|
1625
1677
|
*/
|
|
@@ -1641,6 +1693,7 @@ export declare function bulkImportFiles(importFileRequests: ImportFileRequest[])
|
|
|
1641
1693
|
* @documentationMaturity preview
|
|
1642
1694
|
* @requiredField importFileRequests
|
|
1643
1695
|
* @requiredField importFileRequests.url
|
|
1696
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1644
1697
|
* @permissionScope Manage Media Manager
|
|
1645
1698
|
* @applicableIdentity APP
|
|
1646
1699
|
*/
|
|
@@ -1651,7 +1704,9 @@ export declare function bulkImportFile(importFileRequests: ImportFileRequest[]):
|
|
|
1651
1704
|
* 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.
|
|
1652
1705
|
* @public
|
|
1653
1706
|
* @param options - Options to use when listing media files.
|
|
1707
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1654
1708
|
* @permissionScope Read Media Manager
|
|
1709
|
+
* @permissionScope Manage Media Manager
|
|
1655
1710
|
* @applicableIdentity APP
|
|
1656
1711
|
*/
|
|
1657
1712
|
export declare function listFiles(options?: ListFilesOptions): Promise<ListFilesResponse & ListFilesResponseNonNullableFields>;
|
|
@@ -1686,7 +1741,9 @@ export interface ListFilesOptions {
|
|
|
1686
1741
|
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
1687
1742
|
* @public
|
|
1688
1743
|
* @param options - Options to specify which folders to search.
|
|
1744
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1689
1745
|
* @permissionScope Read Media Manager
|
|
1746
|
+
* @permissionScope Manage Media Manager
|
|
1690
1747
|
* @applicableIdentity APP
|
|
1691
1748
|
*/
|
|
1692
1749
|
export declare function searchFiles(options?: SearchFilesOptions): Promise<SearchFilesResponse & SearchFilesResponseNonNullableFields>;
|
|
@@ -1730,7 +1787,9 @@ export interface SearchFilesOptions {
|
|
|
1730
1787
|
* @public
|
|
1731
1788
|
* @requiredField fileId
|
|
1732
1789
|
* @param options - Options to use when generating a video file's streaming URL.
|
|
1790
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1733
1791
|
* @permissionScope Read Media Manager
|
|
1792
|
+
* @permissionScope Manage Media Manager
|
|
1734
1793
|
* @applicableIdentity APP
|
|
1735
1794
|
*/
|
|
1736
1795
|
export declare function generateVideoStreamingUrl(fileId: string, options?: GenerateVideoStreamingUrlOptions): Promise<GenerateVideoStreamingUrlResponse & GenerateVideoStreamingUrlResponseNonNullableFields>;
|
|
@@ -1760,6 +1819,7 @@ export interface GenerateVideoStreamingUrlOptions {
|
|
|
1760
1819
|
* @public
|
|
1761
1820
|
* @requiredField fileIds
|
|
1762
1821
|
* @param options - Options to use when deleting files.
|
|
1822
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1763
1823
|
* @permissionScope Manage Media Manager
|
|
1764
1824
|
* @applicableIdentity APP
|
|
1765
1825
|
*/
|
|
@@ -1776,6 +1836,7 @@ export interface BulkDeleteFilesOptions {
|
|
|
1776
1836
|
* @param fileIds - IDs of the files to restore from the Media Manager's trash bin.
|
|
1777
1837
|
* @public
|
|
1778
1838
|
* @requiredField fileIds
|
|
1839
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1779
1840
|
* @permissionScope Manage Media Manager
|
|
1780
1841
|
* @applicableIdentity APP
|
|
1781
1842
|
*/
|
|
@@ -1786,7 +1847,9 @@ export declare function bulkRestoreFilesFromTrashBin(fileIds: string[]): Promise
|
|
|
1786
1847
|
* >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
1787
1848
|
* @public
|
|
1788
1849
|
* @param options - Options to use when listing deleted files from the trash bin.
|
|
1850
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1789
1851
|
* @permissionScope Read Media Manager
|
|
1852
|
+
* @permissionScope Manage Media Manager
|
|
1790
1853
|
* @applicableIdentity APP
|
|
1791
1854
|
*/
|
|
1792
1855
|
export declare function listDeletedFiles(options?: ListDeletedFilesOptions): Promise<ListDeletedFilesResponse & ListDeletedFilesResponseNonNullableFields>;
|
|
@@ -28,7 +28,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.listDeletedFiles = exports.bulkRestoreFilesFromTrashBin = exports.bulkDeleteFiles = exports.generateVideoStreamingUrl = exports.searchFiles = exports.listFiles = exports.bulkImportFile = exports.bulkImportFiles = exports.importFile = exports.generateFileResumableUploadUrl = exports.generateFileUploadUrl = exports.updateFileDescriptor = exports.getFileDescriptors = exports.getFileDescriptor = exports.generateFileDownloadUrl = exports.generateFilesDownloadUrl = exports.StreamFormat = exports.RootFolder = exports.SortOrder = exports.UploadProtocol = exports.State = exports.OperationStatus = exports.MediaType = exports.__debug = void 0;
|
|
31
|
+
exports.listDeletedFiles = exports.bulkRestoreFilesFromTrashBin = exports.bulkDeleteFiles = exports.generateVideoStreamingUrl = exports.searchFiles = exports.listFiles = exports.bulkImportFile = exports.bulkImportFiles = exports.importFile = exports.generateFileResumableUploadUrl = exports.generateFileUploadUrl = exports.updateFileDescriptor = exports.getFileDescriptors = exports.getFileDescriptor = exports.generateFileDownloadUrl = exports.generateFilesDownloadUrl = exports.StreamFormat = exports.RootFolder = exports.SortOrder = exports.UploadProtocol = exports.IdentityType = exports.Namespace = exports.State = exports.OperationStatus = exports.MediaType = exports.__debug = void 0;
|
|
32
32
|
const velo_1 = require("@wix/metro-runtime/velo");
|
|
33
33
|
const ambassadorWixMediaSiteMediaV1FileDescriptor = __importStar(require("./media-site-media-v1-file-descriptor.http"));
|
|
34
34
|
let __verbose = false;
|
|
@@ -69,9 +69,46 @@ var OperationStatus;
|
|
|
69
69
|
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
70
70
|
var State;
|
|
71
71
|
(function (State) {
|
|
72
|
+
/** File is ready for consumption */
|
|
72
73
|
State["OK"] = "OK";
|
|
74
|
+
/** Deleted file */
|
|
73
75
|
State["DELETED"] = "DELETED";
|
|
74
76
|
})(State = exports.State || (exports.State = {}));
|
|
77
|
+
var Namespace;
|
|
78
|
+
(function (Namespace) {
|
|
79
|
+
Namespace["NO_NAMESPACE"] = "NO_NAMESPACE";
|
|
80
|
+
Namespace["OTHERS"] = "OTHERS";
|
|
81
|
+
/** ANY = 2; */
|
|
82
|
+
Namespace["WIX_VIDEO"] = "WIX_VIDEO";
|
|
83
|
+
/** _nsWixMusic */
|
|
84
|
+
Namespace["WIX_MUSIC"] = "WIX_MUSIC";
|
|
85
|
+
/** _nsArtStore */
|
|
86
|
+
Namespace["ALBUMS_AND_ART_STORE"] = "ALBUMS_AND_ART_STORE";
|
|
87
|
+
/** _nsDigitalProduct */
|
|
88
|
+
Namespace["WIX_ECOM"] = "WIX_ECOM";
|
|
89
|
+
/** _nsPhotoShareApp */
|
|
90
|
+
Namespace["PHOTO_SHARE_APP"] = "PHOTO_SHARE_APP";
|
|
91
|
+
/** _nsSharingApp, */
|
|
92
|
+
Namespace["SHARING_APP"] = "SHARING_APP";
|
|
93
|
+
/** engage */
|
|
94
|
+
Namespace["CHAT"] = "CHAT";
|
|
95
|
+
/** logobuilder */
|
|
96
|
+
Namespace["LOGO_BUILDER"] = "LOGO_BUILDER";
|
|
97
|
+
/** WixExposure */
|
|
98
|
+
Namespace["ALBUMS_OLD"] = "ALBUMS_OLD";
|
|
99
|
+
/** chat-mobile-uploads */
|
|
100
|
+
Namespace["CHAT_MOBILE"] = "CHAT_MOBILE";
|
|
101
|
+
/** _nsWixForms */
|
|
102
|
+
Namespace["WIX_FORMS"] = "WIX_FORMS";
|
|
103
|
+
})(Namespace = exports.Namespace || (exports.Namespace = {}));
|
|
104
|
+
var IdentityType;
|
|
105
|
+
(function (IdentityType) {
|
|
106
|
+
IdentityType["UNKNOWN"] = "UNKNOWN";
|
|
107
|
+
IdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
108
|
+
IdentityType["MEMBER"] = "MEMBER";
|
|
109
|
+
IdentityType["WIX_USER"] = "WIX_USER";
|
|
110
|
+
IdentityType["APP"] = "APP";
|
|
111
|
+
})(IdentityType = exports.IdentityType || (exports.IdentityType = {}));
|
|
75
112
|
var UploadProtocol;
|
|
76
113
|
(function (UploadProtocol) {
|
|
77
114
|
/** The upload protocol to use for implementing the resumable upload. */
|
|
@@ -152,6 +189,7 @@ const _updateFileDescriptorResponse = { file: '_fileDescriptor' };
|
|
|
152
189
|
* @param fileIds - IDs of the files to download.
|
|
153
190
|
* @public
|
|
154
191
|
* @requiredField fileIds
|
|
192
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
155
193
|
* @permissionScope Manage Media Manager
|
|
156
194
|
* @applicableIdentity APP
|
|
157
195
|
*/
|
|
@@ -210,6 +248,7 @@ exports.generateFilesDownloadUrl = generateFilesDownloadUrl;
|
|
|
210
248
|
* @public
|
|
211
249
|
* @requiredField fileId
|
|
212
250
|
* @param options - Options to use when generating a file's download URL.
|
|
251
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
213
252
|
* @permissionScope Manage Media Manager
|
|
214
253
|
* @applicableIdentity APP
|
|
215
254
|
*/
|
|
@@ -269,7 +308,9 @@ exports.generateFileDownloadUrl = generateFileDownloadUrl;
|
|
|
269
308
|
* @param fileId - File ID.
|
|
270
309
|
* @public
|
|
271
310
|
* @requiredField fileId
|
|
311
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
272
312
|
* @permissionScope Read Media Manager
|
|
313
|
+
* @permissionScope Manage Media Manager
|
|
273
314
|
* @applicableIdentity APP
|
|
274
315
|
* @returns Information about the file.
|
|
275
316
|
*/
|
|
@@ -328,7 +369,9 @@ exports.getFileDescriptor = getFileDescriptor;
|
|
|
328
369
|
* @param fileIds - File IDs.
|
|
329
370
|
* @public
|
|
330
371
|
* @requiredField fileIds
|
|
372
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
331
373
|
* @permissionScope Read Media Manager
|
|
374
|
+
* @permissionScope Manage Media Manager
|
|
332
375
|
* @applicableIdentity APP
|
|
333
376
|
*/
|
|
334
377
|
function getFileDescriptors(fileIds) {
|
|
@@ -389,6 +432,7 @@ exports.getFileDescriptors = getFileDescriptors;
|
|
|
389
432
|
* @public
|
|
390
433
|
* @requiredField _id
|
|
391
434
|
* @requiredField file
|
|
435
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
392
436
|
* @permissionScope Manage Media Manager
|
|
393
437
|
* @applicableIdentity APP
|
|
394
438
|
* @returns Information about the updated file.
|
|
@@ -460,6 +504,7 @@ exports.updateFileDescriptor = updateFileDescriptor;
|
|
|
460
504
|
* @public
|
|
461
505
|
* @requiredField mimeType
|
|
462
506
|
* @param options - Options to use when generating a file's upload URL.
|
|
507
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
463
508
|
* @permissionScope Manage Media Manager
|
|
464
509
|
* @applicableIdentity APP
|
|
465
510
|
*/
|
|
@@ -526,6 +571,7 @@ exports.generateFileUploadUrl = generateFileUploadUrl;
|
|
|
526
571
|
* @public
|
|
527
572
|
* @requiredField mimeType
|
|
528
573
|
* @param options - Options to use when generating a resumable upload URL.
|
|
574
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
529
575
|
* @permissionScope Manage Media Manager
|
|
530
576
|
* @applicableIdentity APP
|
|
531
577
|
*/
|
|
@@ -600,6 +646,7 @@ exports.generateFileResumableUploadUrl = generateFileResumableUploadUrl;
|
|
|
600
646
|
* @public
|
|
601
647
|
* @requiredField url
|
|
602
648
|
* @param options - Options to use when importing a single file.
|
|
649
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
603
650
|
* @permissionScope Manage Media Manager
|
|
604
651
|
* @applicableIdentity APP
|
|
605
652
|
*/
|
|
@@ -682,6 +729,7 @@ exports.importFile = importFile;
|
|
|
682
729
|
* @requiredField importFileRequests
|
|
683
730
|
* @requiredField importFileRequests.url
|
|
684
731
|
* @param options - Options to use when uploading multiple files.
|
|
732
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
685
733
|
* @permissionScope Manage Media Manager
|
|
686
734
|
* @applicableIdentity APP
|
|
687
735
|
*/
|
|
@@ -752,6 +800,7 @@ exports.bulkImportFiles = bulkImportFiles;
|
|
|
752
800
|
* @documentationMaturity preview
|
|
753
801
|
* @requiredField importFileRequests
|
|
754
802
|
* @requiredField importFileRequests.url
|
|
803
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
755
804
|
* @permissionScope Manage Media Manager
|
|
756
805
|
* @applicableIdentity APP
|
|
757
806
|
*/
|
|
@@ -812,7 +861,9 @@ exports.bulkImportFile = bulkImportFile;
|
|
|
812
861
|
* 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.
|
|
813
862
|
* @public
|
|
814
863
|
* @param options - Options to use when listing media files.
|
|
864
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
815
865
|
* @permissionScope Read Media Manager
|
|
866
|
+
* @permissionScope Manage Media Manager
|
|
816
867
|
* @applicableIdentity APP
|
|
817
868
|
*/
|
|
818
869
|
function listFiles(options) {
|
|
@@ -877,7 +928,9 @@ exports.listFiles = listFiles;
|
|
|
877
928
|
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
878
929
|
* @public
|
|
879
930
|
* @param options - Options to specify which folders to search.
|
|
931
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
880
932
|
* @permissionScope Read Media Manager
|
|
933
|
+
* @permissionScope Manage Media Manager
|
|
881
934
|
* @applicableIdentity APP
|
|
882
935
|
*/
|
|
883
936
|
function searchFiles(options) {
|
|
@@ -943,7 +996,9 @@ exports.searchFiles = searchFiles;
|
|
|
943
996
|
* @public
|
|
944
997
|
* @requiredField fileId
|
|
945
998
|
* @param options - Options to use when generating a video file's streaming URL.
|
|
999
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
946
1000
|
* @permissionScope Read Media Manager
|
|
1001
|
+
* @permissionScope Manage Media Manager
|
|
947
1002
|
* @applicableIdentity APP
|
|
948
1003
|
*/
|
|
949
1004
|
function generateVideoStreamingUrl(fileId, options) {
|
|
@@ -1007,6 +1062,7 @@ exports.generateVideoStreamingUrl = generateVideoStreamingUrl;
|
|
|
1007
1062
|
* @public
|
|
1008
1063
|
* @requiredField fileIds
|
|
1009
1064
|
* @param options - Options to use when deleting files.
|
|
1065
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1010
1066
|
* @permissionScope Manage Media Manager
|
|
1011
1067
|
* @applicableIdentity APP
|
|
1012
1068
|
*/
|
|
@@ -1063,6 +1119,7 @@ exports.bulkDeleteFiles = bulkDeleteFiles;
|
|
|
1063
1119
|
* @param fileIds - IDs of the files to restore from the Media Manager's trash bin.
|
|
1064
1120
|
* @public
|
|
1065
1121
|
* @requiredField fileIds
|
|
1122
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1066
1123
|
* @permissionScope Manage Media Manager
|
|
1067
1124
|
* @applicableIdentity APP
|
|
1068
1125
|
*/
|
|
@@ -1116,7 +1173,9 @@ exports.bulkRestoreFilesFromTrashBin = bulkRestoreFilesFromTrashBin;
|
|
|
1116
1173
|
* >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
1117
1174
|
* @public
|
|
1118
1175
|
* @param options - Options to use when listing deleted files from the trash bin.
|
|
1176
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1119
1177
|
* @permissionScope Read Media Manager
|
|
1178
|
+
* @permissionScope Manage Media Manager
|
|
1120
1179
|
* @applicableIdentity APP
|
|
1121
1180
|
*/
|
|
1122
1181
|
function listDeletedFiles(options) {
|