@wix/media 1.0.63 → 1.0.64
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/context.d.ts +4 -4
- package/build/cjs/context.js +4 -4
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +4 -4
- package/build/cjs/index.js +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +4 -4
- package/build/cjs/meta.js +4 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +4 -4
- package/build/es/context.js +4 -4
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +4 -4
- package/build/es/index.js +4 -4
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +4 -4
- package/build/es/meta.js +4 -4
- package/build/es/meta.js.map +1 -1
- package/package.json +14 -9
- package/build/cjs/index.typings.d.ts +0 -4
- package/build/cjs/index.typings.js +0 -31
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.context.d.ts +0 -8
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.context.js +0 -107
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.context.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.http.d.ts +0 -16
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.http.js +0 -245
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.http.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.meta.d.ts +0 -24
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.meta.js +0 -142
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.meta.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.public.d.ts +0 -26
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.public.js +0 -49
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.public.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.types.d.ts +0 -221
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.types.js +0 -22
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.types.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.universal.d.ts +0 -315
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.universal.js +0 -421
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-category.universal.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.context.d.ts +0 -13
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.context.js +0 -192
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.context.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.http.d.ts +0 -29
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.http.js +0 -446
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.http.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.meta.d.ts +0 -33
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.meta.js +0 -237
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.meta.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.public.d.ts +0 -59
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.public.js +0 -81
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.public.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.types.d.ts +0 -949
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.types.js +0 -27
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.types.js.map +0 -1
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.universal.d.ts +0 -907
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.universal.js +0 -763
- package/build/cjs/src/media-enterprise-public-media-v1-enterprise-item.universal.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.context.d.ts +0 -18
- package/build/cjs/src/media-site-media-v1-file-descriptor.context.js +0 -277
- package/build/cjs/src/media-site-media-v1-file-descriptor.context.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.http.d.ts +0 -185
- package/build/cjs/src/media-site-media-v1-file-descriptor.http.js +0 -839
- package/build/cjs/src/media-site-media-v1-file-descriptor.http.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.meta.d.ts +0 -36
- package/build/cjs/src/media-site-media-v1-file-descriptor.meta.js +0 -332
- package/build/cjs/src/media-site-media-v1-file-descriptor.meta.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.public.d.ts +0 -136
- package/build/cjs/src/media-site-media-v1-file-descriptor.public.js +0 -118
- package/build/cjs/src/media-site-media-v1-file-descriptor.public.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.types.d.ts +0 -2017
- package/build/cjs/src/media-site-media-v1-file-descriptor.types.js +0 -99
- package/build/cjs/src/media-site-media-v1-file-descriptor.types.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.d.ts +0 -2105
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.js +0 -1442
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-folder.context.d.ts +0 -11
- package/build/cjs/src/media-site-media-v1-folder.context.js +0 -158
- package/build/cjs/src/media-site-media-v1-folder.context.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-folder.http.d.ts +0 -81
- package/build/cjs/src/media-site-media-v1-folder.http.js +0 -364
- package/build/cjs/src/media-site-media-v1-folder.http.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-folder.meta.d.ts +0 -27
- package/build/cjs/src/media-site-media-v1-folder.meta.js +0 -199
- package/build/cjs/src/media-site-media-v1-folder.meta.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-folder.public.d.ts +0 -27
- package/build/cjs/src/media-site-media-v1-folder.public.js +0 -69
- package/build/cjs/src/media-site-media-v1-folder.public.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-folder.types.d.ts +0 -335
- package/build/cjs/src/media-site-media-v1-folder.types.js +0 -50
- package/build/cjs/src/media-site-media-v1-folder.types.js.map +0 -1
- package/build/cjs/src/media-site-media-v1-folder.universal.d.ts +0 -603
- package/build/cjs/src/media-site-media-v1-folder.universal.js +0 -718
- package/build/cjs/src/media-site-media-v1-folder.universal.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -4
- package/build/es/index.typings.js +0 -5
- package/build/es/index.typings.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.context.d.ts +0 -8
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.context.js +0 -98
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.context.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.http.d.ts +0 -16
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.http.js +0 -236
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.http.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.meta.d.ts +0 -24
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.meta.js +0 -110
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.meta.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.public.d.ts +0 -26
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.public.js +0 -35
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.public.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.types.d.ts +0 -221
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.types.js +0 -19
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.types.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.universal.d.ts +0 -315
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.universal.js +0 -389
- package/build/es/src/media-enterprise-public-media-v1-enterprise-category.universal.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.context.d.ts +0 -13
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.context.js +0 -178
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.context.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.http.d.ts +0 -29
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.http.js +0 -432
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.http.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.meta.d.ts +0 -33
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.meta.js +0 -200
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.meta.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.public.d.ts +0 -59
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.public.js +0 -60
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.public.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.types.d.ts +0 -949
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.types.js +0 -24
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.types.js.map +0 -1
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.universal.d.ts +0 -907
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.universal.js +0 -726
- package/build/es/src/media-enterprise-public-media-v1-enterprise-item.universal.js.map +0 -1
- package/build/es/src/media-site-media-v1-file-descriptor.context.d.ts +0 -18
- package/build/es/src/media-site-media-v1-file-descriptor.context.js +0 -258
- package/build/es/src/media-site-media-v1-file-descriptor.context.js.map +0 -1
- package/build/es/src/media-site-media-v1-file-descriptor.http.d.ts +0 -185
- package/build/es/src/media-site-media-v1-file-descriptor.http.js +0 -820
- package/build/es/src/media-site-media-v1-file-descriptor.http.js.map +0 -1
- package/build/es/src/media-site-media-v1-file-descriptor.meta.d.ts +0 -36
- package/build/es/src/media-site-media-v1-file-descriptor.meta.js +0 -290
- package/build/es/src/media-site-media-v1-file-descriptor.meta.js.map +0 -1
- package/build/es/src/media-site-media-v1-file-descriptor.public.d.ts +0 -136
- package/build/es/src/media-site-media-v1-file-descriptor.public.js +0 -85
- package/build/es/src/media-site-media-v1-file-descriptor.public.js.map +0 -1
- package/build/es/src/media-site-media-v1-file-descriptor.types.d.ts +0 -2017
- package/build/es/src/media-site-media-v1-file-descriptor.types.js +0 -96
- package/build/es/src/media-site-media-v1-file-descriptor.types.js.map +0 -1
- package/build/es/src/media-site-media-v1-file-descriptor.universal.d.ts +0 -2105
- package/build/es/src/media-site-media-v1-file-descriptor.universal.js +0 -1400
- package/build/es/src/media-site-media-v1-file-descriptor.universal.js.map +0 -1
- package/build/es/src/media-site-media-v1-folder.context.d.ts +0 -11
- package/build/es/src/media-site-media-v1-folder.context.js +0 -146
- package/build/es/src/media-site-media-v1-folder.context.js.map +0 -1
- package/build/es/src/media-site-media-v1-folder.http.d.ts +0 -81
- package/build/es/src/media-site-media-v1-folder.http.js +0 -352
- package/build/es/src/media-site-media-v1-folder.http.js.map +0 -1
- package/build/es/src/media-site-media-v1-folder.meta.d.ts +0 -27
- package/build/es/src/media-site-media-v1-folder.meta.js +0 -164
- package/build/es/src/media-site-media-v1-folder.meta.js.map +0 -1
- package/build/es/src/media-site-media-v1-folder.public.d.ts +0 -27
- package/build/es/src/media-site-media-v1-folder.public.js +0 -50
- package/build/es/src/media-site-media-v1-folder.public.js.map +0 -1
- package/build/es/src/media-site-media-v1-folder.types.d.ts +0 -335
- package/build/es/src/media-site-media-v1-folder.types.js +0 -47
- package/build/es/src/media-site-media-v1-folder.types.js.map +0 -1
- package/build/es/src/media-site-media-v1-folder.universal.d.ts +0 -603
- package/build/es/src/media-site-media-v1-folder.universal.js +0 -683
- package/build/es/src/media-site-media-v1-folder.universal.js.map +0 -1
|
@@ -1,2017 +0,0 @@
|
|
|
1
|
-
export interface FileDescriptor {
|
|
2
|
-
/**
|
|
3
|
-
* File ID. Generated when a file is uploaded to the Media Manager.
|
|
4
|
-
* @readonly
|
|
5
|
-
*/
|
|
6
|
-
id?: string;
|
|
7
|
-
/** File name as it appears in the Media Manager. */
|
|
8
|
-
displayName?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Static URL of the file.
|
|
11
|
-
* @readonly
|
|
12
|
-
*/
|
|
13
|
-
url?: string;
|
|
14
|
-
/** ID of the file's parent folder. */
|
|
15
|
-
parentFolderId?: string | null;
|
|
16
|
-
/**
|
|
17
|
-
* File hash.
|
|
18
|
-
* @readonly
|
|
19
|
-
*/
|
|
20
|
-
hash?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Size of the uploaded file in bytes.
|
|
23
|
-
* @readonly
|
|
24
|
-
*/
|
|
25
|
-
sizeInBytes?: string | null;
|
|
26
|
-
/**
|
|
27
|
-
* Whether the link to the uploaded file is public or private. Private links require a token.
|
|
28
|
-
* @readonly
|
|
29
|
-
*/
|
|
30
|
-
private?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Media file type.
|
|
33
|
-
* @readonly
|
|
34
|
-
*/
|
|
35
|
-
mediaType?: MediaType;
|
|
36
|
-
/**
|
|
37
|
-
* Media file content.
|
|
38
|
-
* @readonly
|
|
39
|
-
*/
|
|
40
|
-
media?: FileMedia;
|
|
41
|
-
/**
|
|
42
|
-
* Status of the file that was uploaded.
|
|
43
|
-
* * `FAILED`: The file failed to upload, for example, during media post processing.
|
|
44
|
-
* * `READY`: The file uploaded, finished all processing, and is ready for use.
|
|
45
|
-
* * `PENDING`: The file is processing and the URLs are not yet available. This response is returned when importing a file.
|
|
46
|
-
* @readonly
|
|
47
|
-
*/
|
|
48
|
-
operationStatus?: OperationStatus;
|
|
49
|
-
/**
|
|
50
|
-
* URL where the file was uploaded from.
|
|
51
|
-
* @readonly
|
|
52
|
-
*/
|
|
53
|
-
sourceUrl?: string | null;
|
|
54
|
-
/**
|
|
55
|
-
* URL of the file's thumbnail.
|
|
56
|
-
* @readonly
|
|
57
|
-
*/
|
|
58
|
-
thumbnailUrl?: string | null;
|
|
59
|
-
/** Labels assigned to media files that describe and categorize them. Provided by the user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images. */
|
|
60
|
-
labels?: string[];
|
|
61
|
-
/**
|
|
62
|
-
* Date and time the file was created.
|
|
63
|
-
* @readonly
|
|
64
|
-
*/
|
|
65
|
-
createdDate?: Date;
|
|
66
|
-
/**
|
|
67
|
-
* Date and time the file was updated.
|
|
68
|
-
* @readonly
|
|
69
|
-
*/
|
|
70
|
-
updatedDate?: Date;
|
|
71
|
-
/**
|
|
72
|
-
* The Wix site ID where the media file is stored.
|
|
73
|
-
* @readonly
|
|
74
|
-
*/
|
|
75
|
-
siteId?: string;
|
|
76
|
-
/**
|
|
77
|
-
* State of the file.
|
|
78
|
-
* @readonly
|
|
79
|
-
*/
|
|
80
|
-
state?: State;
|
|
81
|
-
}
|
|
82
|
-
export declare enum MediaType {
|
|
83
|
-
UNKNOWN = "UNKNOWN",
|
|
84
|
-
IMAGE = "IMAGE",
|
|
85
|
-
VIDEO = "VIDEO",
|
|
86
|
-
AUDIO = "AUDIO",
|
|
87
|
-
DOCUMENT = "DOCUMENT",
|
|
88
|
-
VECTOR = "VECTOR",
|
|
89
|
-
ARCHIVE = "ARCHIVE",
|
|
90
|
-
MODEL3D = "MODEL3D",
|
|
91
|
-
OTHER = "OTHER"
|
|
92
|
-
}
|
|
93
|
-
export interface FileMedia extends FileMediaMediaOneOf {
|
|
94
|
-
/** Information about the image. */
|
|
95
|
-
image?: ImageMedia;
|
|
96
|
-
/** Information about the video. */
|
|
97
|
-
video?: VideoV2;
|
|
98
|
-
/** Information about the audio. */
|
|
99
|
-
audio?: AudioV2;
|
|
100
|
-
/** Information about the document. */
|
|
101
|
-
document?: Document;
|
|
102
|
-
/** Information about the vector. */
|
|
103
|
-
vector?: ImageMedia;
|
|
104
|
-
/** Information about the archive. */
|
|
105
|
-
archive?: Archive;
|
|
106
|
-
/** Information about the 3D Model. */
|
|
107
|
-
model3d?: Model3D;
|
|
108
|
-
}
|
|
109
|
-
/** @oneof */
|
|
110
|
-
export interface FileMediaMediaOneOf {
|
|
111
|
-
/** Information about the image. */
|
|
112
|
-
image?: ImageMedia;
|
|
113
|
-
/** Information about the video. */
|
|
114
|
-
video?: VideoV2;
|
|
115
|
-
/** Information about the audio. */
|
|
116
|
-
audio?: AudioV2;
|
|
117
|
-
/** Information about the document. */
|
|
118
|
-
document?: Document;
|
|
119
|
-
/** Information about the vector. */
|
|
120
|
-
vector?: ImageMedia;
|
|
121
|
-
/** Information about the archive. */
|
|
122
|
-
archive?: Archive;
|
|
123
|
-
/** Information about the 3D Model. */
|
|
124
|
-
model3d?: Model3D;
|
|
125
|
-
}
|
|
126
|
-
export interface ImageMedia {
|
|
127
|
-
/** Image data. */
|
|
128
|
-
image?: Image;
|
|
129
|
-
/** Image colors. */
|
|
130
|
-
colors?: Colors;
|
|
131
|
-
/** Information about faces in the image. Use to crop images without cutting out faces. */
|
|
132
|
-
faces?: FaceRecognition[];
|
|
133
|
-
/**
|
|
134
|
-
* Information about the image preview.
|
|
135
|
-
* You can use this to display a preview for private images.
|
|
136
|
-
*/
|
|
137
|
-
previewImage?: Image;
|
|
138
|
-
/**
|
|
139
|
-
* Optional, An AI generated description of the image
|
|
140
|
-
* @readonly
|
|
141
|
-
*/
|
|
142
|
-
caption?: string | null;
|
|
143
|
-
}
|
|
144
|
-
export interface Image {
|
|
145
|
-
/** WixMedia image ID. */
|
|
146
|
-
id?: string;
|
|
147
|
-
/** Image URL. */
|
|
148
|
-
url?: string;
|
|
149
|
-
/**
|
|
150
|
-
* Original image height.
|
|
151
|
-
* @readonly
|
|
152
|
-
*/
|
|
153
|
-
height?: number;
|
|
154
|
-
/**
|
|
155
|
-
* Original image width.
|
|
156
|
-
* @readonly
|
|
157
|
-
*/
|
|
158
|
-
width?: number;
|
|
159
|
-
/** Image alt text. */
|
|
160
|
-
altText?: string | null;
|
|
161
|
-
/**
|
|
162
|
-
* Image filename.
|
|
163
|
-
* @readonly
|
|
164
|
-
*/
|
|
165
|
-
filename?: string | null;
|
|
166
|
-
}
|
|
167
|
-
export interface Colors {
|
|
168
|
-
/** Main color of the image. */
|
|
169
|
-
prominent?: Color;
|
|
170
|
-
/** Color palette of the image. */
|
|
171
|
-
palette?: Color[];
|
|
172
|
-
}
|
|
173
|
-
export interface Color {
|
|
174
|
-
/** HEX color. */
|
|
175
|
-
hex?: string | null;
|
|
176
|
-
/** RGB color. */
|
|
177
|
-
rgb?: ColorRGB;
|
|
178
|
-
}
|
|
179
|
-
export interface ColorRGB {
|
|
180
|
-
/** Red channel. */
|
|
181
|
-
r?: number | null;
|
|
182
|
-
/** Green channel. */
|
|
183
|
-
g?: number | null;
|
|
184
|
-
/** Blue channel. */
|
|
185
|
-
b?: number | null;
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* Using this object you can crop images while centering on faces
|
|
189
|
-
* ------------------------
|
|
190
|
-
* | |
|
|
191
|
-
* | x,y |
|
|
192
|
-
* | *-------- |
|
|
193
|
-
* | | . . | |
|
|
194
|
-
* | | | | height |
|
|
195
|
-
* | | \ / | |
|
|
196
|
-
* | | | |
|
|
197
|
-
* | --------- |
|
|
198
|
-
* | width |
|
|
199
|
-
* | |
|
|
200
|
-
* |______________________|
|
|
201
|
-
*/
|
|
202
|
-
export interface FaceRecognition {
|
|
203
|
-
/** The accuracy percentage of the face recognition. The likelihood that a face is detected. */
|
|
204
|
-
confidence?: number;
|
|
205
|
-
/** Top left x pixel coordinate of the face. */
|
|
206
|
-
x?: number;
|
|
207
|
-
/** Top left y pixel coordinate of the face. */
|
|
208
|
-
y?: number;
|
|
209
|
-
/** Face pixel height. */
|
|
210
|
-
height?: number;
|
|
211
|
-
/** Face pixel width. */
|
|
212
|
-
width?: number;
|
|
213
|
-
}
|
|
214
|
-
export interface VideoV2 {
|
|
215
|
-
/** WixMedia ID. */
|
|
216
|
-
id?: string;
|
|
217
|
-
/**
|
|
218
|
-
* Available resolutions for the video, starting with the optimal resolution.
|
|
219
|
-
* @readonly
|
|
220
|
-
*/
|
|
221
|
-
resolutions?: VideoResolution[];
|
|
222
|
-
/**
|
|
223
|
-
* Video filename.
|
|
224
|
-
* @readonly
|
|
225
|
-
*/
|
|
226
|
-
filename?: string | null;
|
|
227
|
-
}
|
|
228
|
-
export interface VideoResolution {
|
|
229
|
-
/** Video URL. */
|
|
230
|
-
url?: string;
|
|
231
|
-
/** Video height. */
|
|
232
|
-
height?: number;
|
|
233
|
-
/** Video width. */
|
|
234
|
-
width?: number;
|
|
235
|
-
/**
|
|
236
|
-
* Video format
|
|
237
|
-
* Possible values: ['144p.mp4' '144p.webm' '240p.mp4' '240p.webm' '360p.mp4' '360p.webm' '480p.mp4' '480p.webm'
|
|
238
|
-
* '720p.mp4' '720p.webm' '1080p.mp4' '1080p.webm', 'hls' ]
|
|
239
|
-
*/
|
|
240
|
-
format?: string;
|
|
241
|
-
}
|
|
242
|
-
export interface AudioV2 {
|
|
243
|
-
/** WixMedia ID. */
|
|
244
|
-
id?: string;
|
|
245
|
-
/** Audio formats available for this file. */
|
|
246
|
-
assets?: Audio[];
|
|
247
|
-
/**
|
|
248
|
-
* Audio bitrate.
|
|
249
|
-
* @readonly
|
|
250
|
-
*/
|
|
251
|
-
bitrate?: number | null;
|
|
252
|
-
/**
|
|
253
|
-
* Audio format.
|
|
254
|
-
* @readonly
|
|
255
|
-
*/
|
|
256
|
-
format?: string | null;
|
|
257
|
-
/**
|
|
258
|
-
* Audio duration in seconds.
|
|
259
|
-
* @readonly
|
|
260
|
-
*/
|
|
261
|
-
duration?: number | null;
|
|
262
|
-
/**
|
|
263
|
-
* Audio size in bytes.
|
|
264
|
-
* @readonly
|
|
265
|
-
*/
|
|
266
|
-
sizeInBytes?: string | null;
|
|
267
|
-
}
|
|
268
|
-
export interface Audio {
|
|
269
|
-
/** WixMedia ID. */
|
|
270
|
-
id?: string;
|
|
271
|
-
/** Audio URL. */
|
|
272
|
-
url?: string;
|
|
273
|
-
/**
|
|
274
|
-
* Audio filename.
|
|
275
|
-
* @readonly
|
|
276
|
-
*/
|
|
277
|
-
filename?: string | null;
|
|
278
|
-
}
|
|
279
|
-
export interface Document {
|
|
280
|
-
/** WixMedia ID. */
|
|
281
|
-
id?: string;
|
|
282
|
-
/** Document URL. */
|
|
283
|
-
url?: string;
|
|
284
|
-
/** Document filename. */
|
|
285
|
-
filename?: string | null;
|
|
286
|
-
}
|
|
287
|
-
export interface Archive {
|
|
288
|
-
/** WixMedia ID. */
|
|
289
|
-
id?: string;
|
|
290
|
-
/** Archive URL. */
|
|
291
|
-
url?: string;
|
|
292
|
-
/**
|
|
293
|
-
* Archive URL expiration date (when relevant).
|
|
294
|
-
* @readonly
|
|
295
|
-
*/
|
|
296
|
-
urlExpirationDate?: Date;
|
|
297
|
-
/** Archive size in bytes. */
|
|
298
|
-
sizeInBytes?: string | null;
|
|
299
|
-
/** Archive filename. */
|
|
300
|
-
filename?: string | null;
|
|
301
|
-
}
|
|
302
|
-
export interface Model3D {
|
|
303
|
-
/** WixMedia 3D ID. */
|
|
304
|
-
id?: string;
|
|
305
|
-
/** 3D URL. */
|
|
306
|
-
url?: string;
|
|
307
|
-
/** 3D thumbnail Image */
|
|
308
|
-
thumbnail?: Image;
|
|
309
|
-
/** 3D alt text. */
|
|
310
|
-
altText?: string | null;
|
|
311
|
-
/**
|
|
312
|
-
* 3D URL expiration date (when relevant).
|
|
313
|
-
* @readonly
|
|
314
|
-
*/
|
|
315
|
-
urlExpirationDate?: Date;
|
|
316
|
-
/**
|
|
317
|
-
* 3D filename.
|
|
318
|
-
* @readonly
|
|
319
|
-
*/
|
|
320
|
-
filename?: string | null;
|
|
321
|
-
/**
|
|
322
|
-
* 3D size in bytes.
|
|
323
|
-
* @readonly
|
|
324
|
-
*/
|
|
325
|
-
sizeInBytes?: string | null;
|
|
326
|
-
}
|
|
327
|
-
export interface OtherMedia {
|
|
328
|
-
/** WixMedia ID. for use with Site Media APIs only */
|
|
329
|
-
id?: string;
|
|
330
|
-
/**
|
|
331
|
-
* The media type of the file: 'site_icon', 'swf', 'package', 'ufont'
|
|
332
|
-
* @readonly
|
|
333
|
-
*/
|
|
334
|
-
internalMediaType?: string | null;
|
|
335
|
-
/**
|
|
336
|
-
* size in bytes. Optional.
|
|
337
|
-
* @readonly
|
|
338
|
-
*/
|
|
339
|
-
sizeInBytes?: string | null;
|
|
340
|
-
}
|
|
341
|
-
export declare enum OperationStatus {
|
|
342
|
-
/** File upload or processing failed */
|
|
343
|
-
FAILED = "FAILED",
|
|
344
|
-
/** File is ready for consumption */
|
|
345
|
-
READY = "READY",
|
|
346
|
-
/** File is waiting for processing or currently being processed */
|
|
347
|
-
PENDING = "PENDING"
|
|
348
|
-
}
|
|
349
|
-
export declare enum State {
|
|
350
|
-
/** File is ready for consumption */
|
|
351
|
-
OK = "OK",
|
|
352
|
-
/** Deleted file */
|
|
353
|
-
DELETED = "DELETED"
|
|
354
|
-
}
|
|
355
|
-
export declare enum Namespace {
|
|
356
|
-
NO_NAMESPACE = "NO_NAMESPACE",
|
|
357
|
-
OTHERS = "OTHERS",
|
|
358
|
-
/** ANY = 2; */
|
|
359
|
-
WIX_VIDEO = "WIX_VIDEO",
|
|
360
|
-
/** _nsWixMusic */
|
|
361
|
-
WIX_MUSIC = "WIX_MUSIC",
|
|
362
|
-
/** _nsArtStore */
|
|
363
|
-
ALBUMS_AND_ART_STORE = "ALBUMS_AND_ART_STORE",
|
|
364
|
-
/** _nsDigitalProduct */
|
|
365
|
-
WIX_ECOM = "WIX_ECOM",
|
|
366
|
-
/** _nsPhotoShareApp */
|
|
367
|
-
PHOTO_SHARE_APP = "PHOTO_SHARE_APP",
|
|
368
|
-
/** _nsSharingApp, */
|
|
369
|
-
SHARING_APP = "SHARING_APP",
|
|
370
|
-
/** engage */
|
|
371
|
-
CHAT = "CHAT",
|
|
372
|
-
/** logobuilder */
|
|
373
|
-
LOGO_BUILDER = "LOGO_BUILDER",
|
|
374
|
-
/** WixExposure */
|
|
375
|
-
ALBUMS_OLD = "ALBUMS_OLD",
|
|
376
|
-
/** chat-mobile-uploads */
|
|
377
|
-
CHAT_MOBILE = "CHAT_MOBILE",
|
|
378
|
-
/** _nsWixForms */
|
|
379
|
-
WIX_FORMS = "WIX_FORMS"
|
|
380
|
-
}
|
|
381
|
-
export interface IdentityInfo {
|
|
382
|
-
/** The type of the user that uploaded the file */
|
|
383
|
-
identityType?: IdentityType;
|
|
384
|
-
/** User Id. empty when UNKNOWN */
|
|
385
|
-
identityId?: string | null;
|
|
386
|
-
}
|
|
387
|
-
export declare enum IdentityType {
|
|
388
|
-
UNKNOWN = "UNKNOWN",
|
|
389
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
390
|
-
MEMBER = "MEMBER",
|
|
391
|
-
WIX_USER = "WIX_USER",
|
|
392
|
-
APP = "APP"
|
|
393
|
-
}
|
|
394
|
-
export interface FileReady {
|
|
395
|
-
/** File entity that is ready with full information */
|
|
396
|
-
file?: FileDescriptor;
|
|
397
|
-
/** External information passed in the file import or upload. */
|
|
398
|
-
externalInfo?: ExternalInfo;
|
|
399
|
-
/** The File was restored from the trash-bin */
|
|
400
|
-
triggeredByUndelete?: boolean;
|
|
401
|
-
}
|
|
402
|
-
export interface ExternalInfo {
|
|
403
|
-
/** External information to pass in the [File Ready](https://dev.wix.com/api/rest/media/media-manager/files/file-ready-domain-event) or [File Failed](https://dev.wix.com/api/rest/media/media-manager/files/file-failed-domain-event) events. */
|
|
404
|
-
origin?: string;
|
|
405
|
-
/** External IDs to pass in the [File Ready](https://dev.wix.com/api/rest/media/media-manager/files/file-ready-domain-event) or [File Failed](https://dev.wix.com/api/rest/media/media-manager/files/file-failed-domain-event) events. */
|
|
406
|
-
externalIds?: string[];
|
|
407
|
-
}
|
|
408
|
-
export interface FileFailed {
|
|
409
|
-
/** External information passed in the file import or upload. */
|
|
410
|
-
externalInfo?: ExternalInfo;
|
|
411
|
-
}
|
|
412
|
-
export interface GenerateFilesDownloadUrlRequest {
|
|
413
|
-
/** IDs of the files to download. */
|
|
414
|
-
fileIds: string[];
|
|
415
|
-
}
|
|
416
|
-
export interface GenerateFilesDownloadUrlResponse {
|
|
417
|
-
/** URL for downloading the compressed file containing the specified files in the Media Manager. */
|
|
418
|
-
downloadUrl?: string;
|
|
419
|
-
}
|
|
420
|
-
export interface GenerateFileDownloadUrlRequest {
|
|
421
|
-
/** File ID. */
|
|
422
|
-
fileId: string;
|
|
423
|
-
/**
|
|
424
|
-
* Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type. <br />
|
|
425
|
-
*
|
|
426
|
-
* **Note:** The name that appears in the Media Manager is taken from the `filename` query parameter in the upload request.
|
|
427
|
-
*/
|
|
428
|
-
downloadFileName?: string | null;
|
|
429
|
-
/**
|
|
430
|
-
* The time that it takes in minutes for the download URL to expire. <br />
|
|
431
|
-
* Default: `600`. <br />
|
|
432
|
-
* Limit: `525600` (1 year).
|
|
433
|
-
*/
|
|
434
|
-
expirationInMinutes?: number | null;
|
|
435
|
-
/**
|
|
436
|
-
* The redirect URL for when the temporary download URL with a token expires. <br />
|
|
437
|
-
* Default: A 403 Forbidden response page.
|
|
438
|
-
*/
|
|
439
|
-
expirationRedirectUrl?: string | null;
|
|
440
|
-
/**
|
|
441
|
-
* Keys for downloading different assets (format and quality) of a file.
|
|
442
|
-
* Default: `src`, key representing the original file's format and quality.
|
|
443
|
-
*/
|
|
444
|
-
assetKeys?: string[] | null;
|
|
445
|
-
/**
|
|
446
|
-
* Whether the link downloads the file or opens the file in the browser.
|
|
447
|
-
*
|
|
448
|
-
* - `ATTACHMENT`: The link downloads the file.
|
|
449
|
-
* - `INLINE`: The link opens the file in the browser.
|
|
450
|
-
*
|
|
451
|
-
* Default: `ATTACHMENT`
|
|
452
|
-
*/
|
|
453
|
-
contentDisposition?: ContentDisposition;
|
|
454
|
-
}
|
|
455
|
-
export declare enum ContentDisposition {
|
|
456
|
-
/** Using the link in the browser will download the file */
|
|
457
|
-
ATTACHMENT = "ATTACHMENT",
|
|
458
|
-
/** Using the link in the browser will open the file in the browser */
|
|
459
|
-
INLINE = "INLINE"
|
|
460
|
-
}
|
|
461
|
-
export interface GenerateFileDownloadUrlResponse {
|
|
462
|
-
/** URL for downloading a specific file in the Media Manager. */
|
|
463
|
-
downloadUrls?: DownloadUrl[];
|
|
464
|
-
}
|
|
465
|
-
export interface DownloadUrl {
|
|
466
|
-
/** The file download URL. */
|
|
467
|
-
url?: string;
|
|
468
|
-
/**
|
|
469
|
-
* Key for downloading a different asset (format and quality) of a file.
|
|
470
|
-
* Default: `src`, key representing the original file's format and quality.
|
|
471
|
-
*/
|
|
472
|
-
assetKey?: string;
|
|
473
|
-
}
|
|
474
|
-
export interface GetFileDescriptorRequest {
|
|
475
|
-
/** File ID. */
|
|
476
|
-
fileId: string;
|
|
477
|
-
}
|
|
478
|
-
export interface GetFileDescriptorResponse {
|
|
479
|
-
/** Information about the file. */
|
|
480
|
-
file?: FileDescriptor;
|
|
481
|
-
}
|
|
482
|
-
export interface GetFileDescriptorsRequest {
|
|
483
|
-
/** File IDs. */
|
|
484
|
-
fileIds: string[];
|
|
485
|
-
}
|
|
486
|
-
export interface GetFileDescriptorsResponse {
|
|
487
|
-
/** Information about the requested files. */
|
|
488
|
-
files?: FileDescriptor[];
|
|
489
|
-
}
|
|
490
|
-
export interface UpdateFileRequest {
|
|
491
|
-
/** ID of the file to update. */
|
|
492
|
-
fileId?: string;
|
|
493
|
-
/** File name that appears in the Media Manager. */
|
|
494
|
-
displayName?: string | null;
|
|
495
|
-
/**
|
|
496
|
-
* ID of the file's parent folder. <br />
|
|
497
|
-
* Default: `media-root`.
|
|
498
|
-
*/
|
|
499
|
-
parentFolderId?: string | null;
|
|
500
|
-
/** Labels assigned to media files that describe and categorize them. Provided by the user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images. */
|
|
501
|
-
labels?: string[] | null;
|
|
502
|
-
}
|
|
503
|
-
export interface UpdateFileResponse {
|
|
504
|
-
/** Information about the updated file. */
|
|
505
|
-
file?: FileDescriptor;
|
|
506
|
-
}
|
|
507
|
-
export interface UpdateFileDescriptorRequest {
|
|
508
|
-
/** The file to update. */
|
|
509
|
-
file: FileDescriptor;
|
|
510
|
-
}
|
|
511
|
-
export interface UpdateFileDescriptorResponse {
|
|
512
|
-
/** Information about the updated file. */
|
|
513
|
-
file?: FileDescriptor;
|
|
514
|
-
}
|
|
515
|
-
export interface GenerateFileUploadUrlRequest {
|
|
516
|
-
/** File mime type. */
|
|
517
|
-
mimeType: string | null;
|
|
518
|
-
/**
|
|
519
|
-
* Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
|
|
520
|
-
* <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` query parameter in the upload request.
|
|
521
|
-
*/
|
|
522
|
-
fileName?: string | null;
|
|
523
|
-
/**
|
|
524
|
-
* File size in bytes.
|
|
525
|
-
* @readonly
|
|
526
|
-
*/
|
|
527
|
-
sizeInBytes?: string | null;
|
|
528
|
-
/**
|
|
529
|
-
* ID of the file's parent folder. <br />
|
|
530
|
-
* Default: `media-root`.
|
|
531
|
-
*/
|
|
532
|
-
parentFolderId?: string | null;
|
|
533
|
-
/** Whether the link to the uploaded file is public or private. See `Private Files` in terminology. */
|
|
534
|
-
private?: boolean | null;
|
|
535
|
-
/** Labels assigned to media files that describe and categorize them. Provided by the user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images. */
|
|
536
|
-
labels?: string[] | null;
|
|
537
|
-
/** A place to map an external entity to an uploaded file in the Wix Media Manager. */
|
|
538
|
-
externalInfo?: ExternalInfo;
|
|
539
|
-
}
|
|
540
|
-
export interface GenerateFileUploadUrlResponse {
|
|
541
|
-
/** The URL for uploading a file to the Media Manager. */
|
|
542
|
-
uploadUrl?: string;
|
|
543
|
-
}
|
|
544
|
-
export interface GenerateFileResumableUploadUrlRequest {
|
|
545
|
-
/** File mime type. */
|
|
546
|
-
mimeType: string | null;
|
|
547
|
-
/**
|
|
548
|
-
* Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
|
|
549
|
-
* <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` query parameter in the upload request.
|
|
550
|
-
*/
|
|
551
|
-
fileName?: string | null;
|
|
552
|
-
/**
|
|
553
|
-
* File size in bytes.
|
|
554
|
-
* @readonly
|
|
555
|
-
*/
|
|
556
|
-
sizeInBytes?: string | null;
|
|
557
|
-
/**
|
|
558
|
-
* ID of the file's parent folder. <br />
|
|
559
|
-
* Default: `media-root`.
|
|
560
|
-
*/
|
|
561
|
-
parentFolderId?: string | null;
|
|
562
|
-
/** Whether the link to the imported file is public or private. See `Private Files` in terminology. */
|
|
563
|
-
private?: boolean | null;
|
|
564
|
-
/** Labels assigned to media files that describe and categorize them. Provided by the user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images. */
|
|
565
|
-
labels?: string[] | null;
|
|
566
|
-
/** The upload protocol to use for implementing the resumable upload. */
|
|
567
|
-
uploadProtocol?: UploadProtocol;
|
|
568
|
-
}
|
|
569
|
-
export declare enum UploadProtocol {
|
|
570
|
-
/** The upload protocol to use for implementing the resumable upload. */
|
|
571
|
-
TUS = "TUS"
|
|
572
|
-
}
|
|
573
|
-
export interface GenerateFileResumableUploadUrlResponse {
|
|
574
|
-
/** The upload protocol to use for implementing the resumable upload. */
|
|
575
|
-
uploadProtocol?: UploadProtocol;
|
|
576
|
-
/** The URL for uploading a file to the Media Manager. */
|
|
577
|
-
uploadUrl?: string;
|
|
578
|
-
/** Single-use upload token. */
|
|
579
|
-
uploadToken?: string;
|
|
580
|
-
}
|
|
581
|
-
export interface ImportFileRequest {
|
|
582
|
-
/** Publicly accessible external file URL. */
|
|
583
|
-
url: string;
|
|
584
|
-
/**
|
|
585
|
-
* Media type of the file to import.
|
|
586
|
-
* excluding: OTHER media type
|
|
587
|
-
*/
|
|
588
|
-
mediaType?: MediaType;
|
|
589
|
-
/** File name that appears in the Media Manager. */
|
|
590
|
-
displayName?: string | null;
|
|
591
|
-
/**
|
|
592
|
-
* ID of the file's parent folder. <br />
|
|
593
|
-
* Default: `media-root`.
|
|
594
|
-
*/
|
|
595
|
-
parentFolderId?: string | null;
|
|
596
|
-
/** Whether the link to the imported file is public or private. */
|
|
597
|
-
private?: boolean | null;
|
|
598
|
-
/** Labels assigned to media files that describe and categorize them. Provided by the user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images. */
|
|
599
|
-
labels?: string[] | null;
|
|
600
|
-
/** File mime type. */
|
|
601
|
-
mimeType?: string;
|
|
602
|
-
/** A place to map an external entity to an imported file in the Wix Media Manager. */
|
|
603
|
-
externalInfo?: ExternalInfo;
|
|
604
|
-
/** Optional parameters that should be sent with the external URL. */
|
|
605
|
-
urlParams?: Record<string, any> | null;
|
|
606
|
-
/** Optional headers that should be sent with the external URL. */
|
|
607
|
-
urlHeaders?: Record<string, any> | null;
|
|
608
|
-
}
|
|
609
|
-
export interface ImportFileResponse {
|
|
610
|
-
/** Information about the imported file. */
|
|
611
|
-
file?: FileDescriptor;
|
|
612
|
-
}
|
|
613
|
-
export interface BulkImportFilesRequest {
|
|
614
|
-
/** Information about the files to import. */
|
|
615
|
-
importFileRequests: ImportFileRequest[];
|
|
616
|
-
}
|
|
617
|
-
export interface BulkImportFilesResponse {
|
|
618
|
-
/** Information about the imported files. */
|
|
619
|
-
files?: FileDescriptor[];
|
|
620
|
-
}
|
|
621
|
-
export interface BulkImportFileRequest {
|
|
622
|
-
/** Information about the files to import. */
|
|
623
|
-
importFileRequests: ImportFileRequest[];
|
|
624
|
-
/**
|
|
625
|
-
* Whether to include the imported File Descriptor in the response. Set to `false` to exclude the File Descriptor from the returned object.
|
|
626
|
-
*
|
|
627
|
-
* Default: `true`
|
|
628
|
-
*/
|
|
629
|
-
returnEntity?: boolean | null;
|
|
630
|
-
}
|
|
631
|
-
export interface BulkImportFileResponse {
|
|
632
|
-
/** Items created by bulk action. */
|
|
633
|
-
results?: BulkImportFileResult[];
|
|
634
|
-
/** Bulk action metadata. */
|
|
635
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
636
|
-
}
|
|
637
|
-
export interface BulkImportFileResult {
|
|
638
|
-
/** Item metadata. */
|
|
639
|
-
itemMetadata?: ItemMetadata;
|
|
640
|
-
/** Imported file. This field is returned if the operation was successful and `returnEntity` is not set to `false`. */
|
|
641
|
-
item?: FileDescriptor;
|
|
642
|
-
}
|
|
643
|
-
export interface ItemMetadata {
|
|
644
|
-
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
645
|
-
id?: string | null;
|
|
646
|
-
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
647
|
-
originalIndex?: number;
|
|
648
|
-
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
649
|
-
success?: boolean;
|
|
650
|
-
/** Details about the error in case of failure. */
|
|
651
|
-
error?: ApplicationError;
|
|
652
|
-
}
|
|
653
|
-
export interface ApplicationError {
|
|
654
|
-
/** Error code. */
|
|
655
|
-
code?: string;
|
|
656
|
-
/** Description of the error. */
|
|
657
|
-
description?: string;
|
|
658
|
-
/** Data related to the error. */
|
|
659
|
-
data?: Record<string, any> | null;
|
|
660
|
-
}
|
|
661
|
-
export interface BulkActionMetadata {
|
|
662
|
-
/** Number of items that were successfully processed. */
|
|
663
|
-
totalSuccesses?: number;
|
|
664
|
-
/** Number of items that couldn't be processed. */
|
|
665
|
-
totalFailures?: number;
|
|
666
|
-
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
667
|
-
undetailedFailures?: number;
|
|
668
|
-
}
|
|
669
|
-
export interface ListFilesRequest {
|
|
670
|
-
/**
|
|
671
|
-
* ID of the file's parent folder. <br />
|
|
672
|
-
* Default:`media-root`.
|
|
673
|
-
*/
|
|
674
|
-
parentFolderId?: string | null;
|
|
675
|
-
/**
|
|
676
|
-
* File media type.
|
|
677
|
-
* excluding: OTHER media type
|
|
678
|
-
*/
|
|
679
|
-
mediaTypes?: MediaType[];
|
|
680
|
-
/** Whether the link to the imported file is public or private. */
|
|
681
|
-
private?: boolean | null;
|
|
682
|
-
/**
|
|
683
|
-
* Field name and order to sort by. One of: <br />
|
|
684
|
-
* * `displayName`
|
|
685
|
-
* * `updatedDate`
|
|
686
|
-
* * `sizeInBytes`
|
|
687
|
-
* Default: `updatedDate` in `desc` order.
|
|
688
|
-
*/
|
|
689
|
-
sort?: Sorting;
|
|
690
|
-
/** Cursor and paging information. */
|
|
691
|
-
paging?: CursorPaging;
|
|
692
|
-
}
|
|
693
|
-
export interface Sorting {
|
|
694
|
-
/** Name of the field to sort by. */
|
|
695
|
-
fieldName?: string;
|
|
696
|
-
/** Sort order. */
|
|
697
|
-
order?: SortOrder;
|
|
698
|
-
}
|
|
699
|
-
export declare enum SortOrder {
|
|
700
|
-
ASC = "ASC",
|
|
701
|
-
DESC = "DESC"
|
|
702
|
-
}
|
|
703
|
-
export interface CursorPaging {
|
|
704
|
-
/** Maximum number of items to return in the results. */
|
|
705
|
-
limit?: number | null;
|
|
706
|
-
/**
|
|
707
|
-
* Pointer to the next or previous page in the list of results.
|
|
708
|
-
*
|
|
709
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
710
|
-
* Not relevant for the first request.
|
|
711
|
-
*/
|
|
712
|
-
cursor?: string | null;
|
|
713
|
-
}
|
|
714
|
-
export interface ListFilesResponse {
|
|
715
|
-
/** List of files in the Media Manager. */
|
|
716
|
-
files?: FileDescriptor[];
|
|
717
|
-
/** The next cursor if it exists. */
|
|
718
|
-
nextCursor?: PagingMetadataV2;
|
|
719
|
-
}
|
|
720
|
-
export interface PagingMetadataV2 {
|
|
721
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
722
|
-
total?: number | null;
|
|
723
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
724
|
-
cursors?: Cursors;
|
|
725
|
-
}
|
|
726
|
-
export interface Cursors {
|
|
727
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
728
|
-
next?: string | null;
|
|
729
|
-
}
|
|
730
|
-
export interface SearchFilesRequest {
|
|
731
|
-
/**
|
|
732
|
-
* Term to search for. Possible terms include the value of a file's
|
|
733
|
-
* `displayName`, `mimeType`, and `label`. <br />
|
|
734
|
-
* For example, if a file's label is cat, the search term is 'cat'.
|
|
735
|
-
*/
|
|
736
|
-
search?: string | null;
|
|
737
|
-
/**
|
|
738
|
-
* A root folder in the media manager to search in. <br />
|
|
739
|
-
* Default: `MEDIA_ROOT`.
|
|
740
|
-
*/
|
|
741
|
-
rootFolder?: RootFolder;
|
|
742
|
-
/**
|
|
743
|
-
* File media type.
|
|
744
|
-
* excluding: OTHER media type
|
|
745
|
-
*/
|
|
746
|
-
mediaTypes?: MediaType[];
|
|
747
|
-
/** Whether the link to the imported file is public or private. */
|
|
748
|
-
private?: boolean | null;
|
|
749
|
-
/**
|
|
750
|
-
* Field name and order to sort by. One of: <br />
|
|
751
|
-
* * `displayName`
|
|
752
|
-
* * `updatedDate`
|
|
753
|
-
* * `sizeInBytes`
|
|
754
|
-
* Default: `updatedDate` in `desc` order.
|
|
755
|
-
*/
|
|
756
|
-
sort?: Sorting;
|
|
757
|
-
/** Cursor and paging information. */
|
|
758
|
-
paging?: CursorPaging;
|
|
759
|
-
}
|
|
760
|
-
export declare enum RootFolder {
|
|
761
|
-
/** Root of all site media */
|
|
762
|
-
MEDIA_ROOT = "MEDIA_ROOT",
|
|
763
|
-
/** Root of the trash system folder */
|
|
764
|
-
TRASH_ROOT = "TRASH_ROOT",
|
|
765
|
-
/** Root of all visitor uploads */
|
|
766
|
-
VISITOR_UPLOADS_ROOT = "VISITOR_UPLOADS_ROOT"
|
|
767
|
-
}
|
|
768
|
-
export interface SearchFilesResponse {
|
|
769
|
-
/** Files matching the query. */
|
|
770
|
-
files?: FileDescriptor[];
|
|
771
|
-
/** The next cursor if it exists. */
|
|
772
|
-
nextCursor?: PagingMetadataV2;
|
|
773
|
-
}
|
|
774
|
-
export interface GenerateVideoStreamingUrlRequest {
|
|
775
|
-
/** File ID. */
|
|
776
|
-
fileId: string;
|
|
777
|
-
/** Video stream format. */
|
|
778
|
-
format?: StreamFormat;
|
|
779
|
-
}
|
|
780
|
-
export declare enum StreamFormat {
|
|
781
|
-
UNKNOWN = "UNKNOWN",
|
|
782
|
-
HLS = "HLS",
|
|
783
|
-
DASH = "DASH"
|
|
784
|
-
}
|
|
785
|
-
export interface GenerateVideoStreamingUrlResponse {
|
|
786
|
-
/** URL for streaming a specific file in the Media Manager. */
|
|
787
|
-
downloadUrl?: DownloadUrl;
|
|
788
|
-
}
|
|
789
|
-
export interface GenerateWebSocketTokenRequest {
|
|
790
|
-
}
|
|
791
|
-
export interface GenerateWebSocketTokenResponse {
|
|
792
|
-
/** The web socket token for the identity in the request */
|
|
793
|
-
token?: string;
|
|
794
|
-
}
|
|
795
|
-
export interface BulkDeleteFilesRequest {
|
|
796
|
-
/** IDs of the files to move to the Media Manager's trash bin. */
|
|
797
|
-
fileIds: string[];
|
|
798
|
-
/**
|
|
799
|
-
* Whether the specified files are permanently deleted. <br />
|
|
800
|
-
* Default: `false`
|
|
801
|
-
*/
|
|
802
|
-
permanent?: boolean;
|
|
803
|
-
}
|
|
804
|
-
export interface BulkDeleteFilesResponse {
|
|
805
|
-
}
|
|
806
|
-
export interface BulkRestoreFilesFromTrashBinRequest {
|
|
807
|
-
/** IDs of the files to restore from the Media Manager's trash bin. */
|
|
808
|
-
fileIds: string[];
|
|
809
|
-
}
|
|
810
|
-
export interface BulkRestoreFilesFromTrashBinResponse {
|
|
811
|
-
}
|
|
812
|
-
export interface ListDeletedFilesRequest {
|
|
813
|
-
/**
|
|
814
|
-
* ID of the file's parent folder. <br />
|
|
815
|
-
* Default: `media-root`.
|
|
816
|
-
*/
|
|
817
|
-
parentFolderId?: string | null;
|
|
818
|
-
/**
|
|
819
|
-
* File media type.
|
|
820
|
-
* excluding: OTHER media type
|
|
821
|
-
*/
|
|
822
|
-
mediaTypes?: MediaType[];
|
|
823
|
-
/** Whether the link to the imported file is public or private. */
|
|
824
|
-
private?: boolean | null;
|
|
825
|
-
/**
|
|
826
|
-
* Field name and order to sort by. One of: <br />
|
|
827
|
-
* * `displayName`
|
|
828
|
-
* * `updatedDate`
|
|
829
|
-
* * `sizeInBytes`
|
|
830
|
-
* Default: `updatedDate` in `desc` order.
|
|
831
|
-
*/
|
|
832
|
-
sort?: Sorting;
|
|
833
|
-
/** Cursor and paging information. */
|
|
834
|
-
paging?: CursorPaging;
|
|
835
|
-
}
|
|
836
|
-
export interface ListDeletedFilesResponse {
|
|
837
|
-
/** List of files in the Media Manager's trash bin. */
|
|
838
|
-
files?: FileDescriptor[];
|
|
839
|
-
/** The next cursor if it exists. */
|
|
840
|
-
nextCursor?: PagingMetadataV2;
|
|
841
|
-
}
|
|
842
|
-
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
843
|
-
createdEvent?: EntityCreatedEvent;
|
|
844
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
845
|
-
deletedEvent?: EntityDeletedEvent;
|
|
846
|
-
actionEvent?: ActionEvent;
|
|
847
|
-
/**
|
|
848
|
-
* Unique event ID.
|
|
849
|
-
* Allows clients to ignore duplicate webhooks.
|
|
850
|
-
*/
|
|
851
|
-
id?: string;
|
|
852
|
-
/**
|
|
853
|
-
* Assumes actions are also always typed to an entity_type
|
|
854
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
855
|
-
*/
|
|
856
|
-
entityFqdn?: string;
|
|
857
|
-
/**
|
|
858
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
859
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
860
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
861
|
-
*/
|
|
862
|
-
slug?: string;
|
|
863
|
-
/** ID of the entity associated with the event. */
|
|
864
|
-
entityId?: string;
|
|
865
|
-
/** Event timestamp. */
|
|
866
|
-
eventTime?: Date;
|
|
867
|
-
/**
|
|
868
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
869
|
-
* (for example, GDPR).
|
|
870
|
-
*/
|
|
871
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
872
|
-
/** If present, indicates the action that triggered the event. */
|
|
873
|
-
originatedFrom?: string | null;
|
|
874
|
-
/**
|
|
875
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
876
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
877
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
878
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
879
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
880
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
881
|
-
*/
|
|
882
|
-
entityEventSequence?: string | null;
|
|
883
|
-
}
|
|
884
|
-
/** @oneof */
|
|
885
|
-
export interface DomainEventBodyOneOf {
|
|
886
|
-
createdEvent?: EntityCreatedEvent;
|
|
887
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
888
|
-
deletedEvent?: EntityDeletedEvent;
|
|
889
|
-
actionEvent?: ActionEvent;
|
|
890
|
-
}
|
|
891
|
-
export interface EntityCreatedEvent {
|
|
892
|
-
entityAsJson?: string;
|
|
893
|
-
}
|
|
894
|
-
export interface EntityUpdatedEvent {
|
|
895
|
-
/**
|
|
896
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
897
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
898
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
899
|
-
*/
|
|
900
|
-
currentEntityAsJson?: string;
|
|
901
|
-
}
|
|
902
|
-
export interface EntityDeletedEvent {
|
|
903
|
-
/** Entity that was deleted */
|
|
904
|
-
deletedEntityAsJson?: string | null;
|
|
905
|
-
}
|
|
906
|
-
export interface ActionEvent {
|
|
907
|
-
bodyAsJson?: string;
|
|
908
|
-
}
|
|
909
|
-
export interface GenerateFilesDownloadUrlResponseNonNullableFields {
|
|
910
|
-
downloadUrl: string;
|
|
911
|
-
}
|
|
912
|
-
export interface GenerateFileDownloadUrlResponseNonNullableFields {
|
|
913
|
-
downloadUrls: {
|
|
914
|
-
url: string;
|
|
915
|
-
assetKey: string;
|
|
916
|
-
}[];
|
|
917
|
-
}
|
|
918
|
-
export interface GetFileDescriptorResponseNonNullableFields {
|
|
919
|
-
file?: {
|
|
920
|
-
id: string;
|
|
921
|
-
displayName: string;
|
|
922
|
-
url: string;
|
|
923
|
-
hash: string;
|
|
924
|
-
private: boolean;
|
|
925
|
-
mediaType: MediaType;
|
|
926
|
-
media?: {
|
|
927
|
-
image?: {
|
|
928
|
-
image?: {
|
|
929
|
-
id: string;
|
|
930
|
-
url: string;
|
|
931
|
-
height: number;
|
|
932
|
-
width: number;
|
|
933
|
-
};
|
|
934
|
-
colors?: {
|
|
935
|
-
palette: Color[];
|
|
936
|
-
};
|
|
937
|
-
faces: {
|
|
938
|
-
confidence: number;
|
|
939
|
-
x: number;
|
|
940
|
-
y: number;
|
|
941
|
-
height: number;
|
|
942
|
-
width: number;
|
|
943
|
-
}[];
|
|
944
|
-
previewImage?: {
|
|
945
|
-
id: string;
|
|
946
|
-
url: string;
|
|
947
|
-
height: number;
|
|
948
|
-
width: number;
|
|
949
|
-
};
|
|
950
|
-
};
|
|
951
|
-
video?: {
|
|
952
|
-
id: string;
|
|
953
|
-
url: string;
|
|
954
|
-
resolutions: {
|
|
955
|
-
url: string;
|
|
956
|
-
height: number;
|
|
957
|
-
width: number;
|
|
958
|
-
poster?: {
|
|
959
|
-
id: string;
|
|
960
|
-
url: string;
|
|
961
|
-
height: number;
|
|
962
|
-
width: number;
|
|
963
|
-
};
|
|
964
|
-
format: string;
|
|
965
|
-
}[];
|
|
966
|
-
posters: {
|
|
967
|
-
id: string;
|
|
968
|
-
url: string;
|
|
969
|
-
height: number;
|
|
970
|
-
width: number;
|
|
971
|
-
}[];
|
|
972
|
-
};
|
|
973
|
-
audio?: {
|
|
974
|
-
id: string;
|
|
975
|
-
assets: {
|
|
976
|
-
id: string;
|
|
977
|
-
url: string;
|
|
978
|
-
}[];
|
|
979
|
-
};
|
|
980
|
-
document?: {
|
|
981
|
-
id: string;
|
|
982
|
-
url: string;
|
|
983
|
-
};
|
|
984
|
-
vector?: {
|
|
985
|
-
image?: {
|
|
986
|
-
id: string;
|
|
987
|
-
url: string;
|
|
988
|
-
height: number;
|
|
989
|
-
width: number;
|
|
990
|
-
};
|
|
991
|
-
colors?: {
|
|
992
|
-
palette: Color[];
|
|
993
|
-
};
|
|
994
|
-
faces: {
|
|
995
|
-
confidence: number;
|
|
996
|
-
x: number;
|
|
997
|
-
y: number;
|
|
998
|
-
height: number;
|
|
999
|
-
width: number;
|
|
1000
|
-
}[];
|
|
1001
|
-
previewImage?: {
|
|
1002
|
-
id: string;
|
|
1003
|
-
url: string;
|
|
1004
|
-
height: number;
|
|
1005
|
-
width: number;
|
|
1006
|
-
};
|
|
1007
|
-
};
|
|
1008
|
-
archive?: {
|
|
1009
|
-
id: string;
|
|
1010
|
-
url: string;
|
|
1011
|
-
};
|
|
1012
|
-
model3d?: {
|
|
1013
|
-
id: string;
|
|
1014
|
-
url: string;
|
|
1015
|
-
thumbnail?: {
|
|
1016
|
-
id: string;
|
|
1017
|
-
url: string;
|
|
1018
|
-
height: number;
|
|
1019
|
-
width: number;
|
|
1020
|
-
};
|
|
1021
|
-
};
|
|
1022
|
-
other?: {
|
|
1023
|
-
id: string;
|
|
1024
|
-
};
|
|
1025
|
-
};
|
|
1026
|
-
operationStatus: OperationStatus;
|
|
1027
|
-
labels: string[];
|
|
1028
|
-
siteId: string;
|
|
1029
|
-
state: State;
|
|
1030
|
-
internalTags: string[];
|
|
1031
|
-
namespace: Namespace;
|
|
1032
|
-
addedBy?: {
|
|
1033
|
-
identityType: IdentityType;
|
|
1034
|
-
};
|
|
1035
|
-
};
|
|
1036
|
-
}
|
|
1037
|
-
export interface GetFileDescriptorsResponseNonNullableFields {
|
|
1038
|
-
files: {
|
|
1039
|
-
id: string;
|
|
1040
|
-
displayName: string;
|
|
1041
|
-
url: string;
|
|
1042
|
-
hash: string;
|
|
1043
|
-
private: boolean;
|
|
1044
|
-
mediaType: MediaType;
|
|
1045
|
-
media?: {
|
|
1046
|
-
image?: {
|
|
1047
|
-
image?: {
|
|
1048
|
-
id: string;
|
|
1049
|
-
url: string;
|
|
1050
|
-
height: number;
|
|
1051
|
-
width: number;
|
|
1052
|
-
};
|
|
1053
|
-
colors?: {
|
|
1054
|
-
palette: Color[];
|
|
1055
|
-
};
|
|
1056
|
-
faces: {
|
|
1057
|
-
confidence: number;
|
|
1058
|
-
x: number;
|
|
1059
|
-
y: number;
|
|
1060
|
-
height: number;
|
|
1061
|
-
width: number;
|
|
1062
|
-
}[];
|
|
1063
|
-
previewImage?: {
|
|
1064
|
-
id: string;
|
|
1065
|
-
url: string;
|
|
1066
|
-
height: number;
|
|
1067
|
-
width: number;
|
|
1068
|
-
};
|
|
1069
|
-
};
|
|
1070
|
-
video?: {
|
|
1071
|
-
id: string;
|
|
1072
|
-
url: string;
|
|
1073
|
-
resolutions: {
|
|
1074
|
-
url: string;
|
|
1075
|
-
height: number;
|
|
1076
|
-
width: number;
|
|
1077
|
-
poster?: {
|
|
1078
|
-
id: string;
|
|
1079
|
-
url: string;
|
|
1080
|
-
height: number;
|
|
1081
|
-
width: number;
|
|
1082
|
-
};
|
|
1083
|
-
format: string;
|
|
1084
|
-
}[];
|
|
1085
|
-
posters: {
|
|
1086
|
-
id: string;
|
|
1087
|
-
url: string;
|
|
1088
|
-
height: number;
|
|
1089
|
-
width: number;
|
|
1090
|
-
}[];
|
|
1091
|
-
};
|
|
1092
|
-
audio?: {
|
|
1093
|
-
id: string;
|
|
1094
|
-
assets: {
|
|
1095
|
-
id: string;
|
|
1096
|
-
url: string;
|
|
1097
|
-
}[];
|
|
1098
|
-
};
|
|
1099
|
-
document?: {
|
|
1100
|
-
id: string;
|
|
1101
|
-
url: string;
|
|
1102
|
-
};
|
|
1103
|
-
vector?: {
|
|
1104
|
-
image?: {
|
|
1105
|
-
id: string;
|
|
1106
|
-
url: string;
|
|
1107
|
-
height: number;
|
|
1108
|
-
width: number;
|
|
1109
|
-
};
|
|
1110
|
-
colors?: {
|
|
1111
|
-
palette: Color[];
|
|
1112
|
-
};
|
|
1113
|
-
faces: {
|
|
1114
|
-
confidence: number;
|
|
1115
|
-
x: number;
|
|
1116
|
-
y: number;
|
|
1117
|
-
height: number;
|
|
1118
|
-
width: number;
|
|
1119
|
-
}[];
|
|
1120
|
-
previewImage?: {
|
|
1121
|
-
id: string;
|
|
1122
|
-
url: string;
|
|
1123
|
-
height: number;
|
|
1124
|
-
width: number;
|
|
1125
|
-
};
|
|
1126
|
-
};
|
|
1127
|
-
archive?: {
|
|
1128
|
-
id: string;
|
|
1129
|
-
url: string;
|
|
1130
|
-
};
|
|
1131
|
-
model3d?: {
|
|
1132
|
-
id: string;
|
|
1133
|
-
url: string;
|
|
1134
|
-
thumbnail?: {
|
|
1135
|
-
id: string;
|
|
1136
|
-
url: string;
|
|
1137
|
-
height: number;
|
|
1138
|
-
width: number;
|
|
1139
|
-
};
|
|
1140
|
-
};
|
|
1141
|
-
other?: {
|
|
1142
|
-
id: string;
|
|
1143
|
-
};
|
|
1144
|
-
};
|
|
1145
|
-
operationStatus: OperationStatus;
|
|
1146
|
-
labels: string[];
|
|
1147
|
-
siteId: string;
|
|
1148
|
-
state: State;
|
|
1149
|
-
internalTags: string[];
|
|
1150
|
-
namespace: Namespace;
|
|
1151
|
-
addedBy?: {
|
|
1152
|
-
identityType: IdentityType;
|
|
1153
|
-
};
|
|
1154
|
-
}[];
|
|
1155
|
-
}
|
|
1156
|
-
export interface UpdateFileDescriptorResponseNonNullableFields {
|
|
1157
|
-
file?: {
|
|
1158
|
-
id: string;
|
|
1159
|
-
displayName: string;
|
|
1160
|
-
url: string;
|
|
1161
|
-
hash: string;
|
|
1162
|
-
private: boolean;
|
|
1163
|
-
mediaType: MediaType;
|
|
1164
|
-
media?: {
|
|
1165
|
-
image?: {
|
|
1166
|
-
image?: {
|
|
1167
|
-
id: string;
|
|
1168
|
-
url: string;
|
|
1169
|
-
height: number;
|
|
1170
|
-
width: number;
|
|
1171
|
-
};
|
|
1172
|
-
colors?: {
|
|
1173
|
-
palette: Color[];
|
|
1174
|
-
};
|
|
1175
|
-
faces: {
|
|
1176
|
-
confidence: number;
|
|
1177
|
-
x: number;
|
|
1178
|
-
y: number;
|
|
1179
|
-
height: number;
|
|
1180
|
-
width: number;
|
|
1181
|
-
}[];
|
|
1182
|
-
previewImage?: {
|
|
1183
|
-
id: string;
|
|
1184
|
-
url: string;
|
|
1185
|
-
height: number;
|
|
1186
|
-
width: number;
|
|
1187
|
-
};
|
|
1188
|
-
};
|
|
1189
|
-
video?: {
|
|
1190
|
-
id: string;
|
|
1191
|
-
url: string;
|
|
1192
|
-
resolutions: {
|
|
1193
|
-
url: string;
|
|
1194
|
-
height: number;
|
|
1195
|
-
width: number;
|
|
1196
|
-
poster?: {
|
|
1197
|
-
id: string;
|
|
1198
|
-
url: string;
|
|
1199
|
-
height: number;
|
|
1200
|
-
width: number;
|
|
1201
|
-
};
|
|
1202
|
-
format: string;
|
|
1203
|
-
}[];
|
|
1204
|
-
posters: {
|
|
1205
|
-
id: string;
|
|
1206
|
-
url: string;
|
|
1207
|
-
height: number;
|
|
1208
|
-
width: number;
|
|
1209
|
-
}[];
|
|
1210
|
-
};
|
|
1211
|
-
audio?: {
|
|
1212
|
-
id: string;
|
|
1213
|
-
assets: {
|
|
1214
|
-
id: string;
|
|
1215
|
-
url: string;
|
|
1216
|
-
}[];
|
|
1217
|
-
};
|
|
1218
|
-
document?: {
|
|
1219
|
-
id: string;
|
|
1220
|
-
url: string;
|
|
1221
|
-
};
|
|
1222
|
-
vector?: {
|
|
1223
|
-
image?: {
|
|
1224
|
-
id: string;
|
|
1225
|
-
url: string;
|
|
1226
|
-
height: number;
|
|
1227
|
-
width: number;
|
|
1228
|
-
};
|
|
1229
|
-
colors?: {
|
|
1230
|
-
palette: Color[];
|
|
1231
|
-
};
|
|
1232
|
-
faces: {
|
|
1233
|
-
confidence: number;
|
|
1234
|
-
x: number;
|
|
1235
|
-
y: number;
|
|
1236
|
-
height: number;
|
|
1237
|
-
width: number;
|
|
1238
|
-
}[];
|
|
1239
|
-
previewImage?: {
|
|
1240
|
-
id: string;
|
|
1241
|
-
url: string;
|
|
1242
|
-
height: number;
|
|
1243
|
-
width: number;
|
|
1244
|
-
};
|
|
1245
|
-
};
|
|
1246
|
-
archive?: {
|
|
1247
|
-
id: string;
|
|
1248
|
-
url: string;
|
|
1249
|
-
};
|
|
1250
|
-
model3d?: {
|
|
1251
|
-
id: string;
|
|
1252
|
-
url: string;
|
|
1253
|
-
thumbnail?: {
|
|
1254
|
-
id: string;
|
|
1255
|
-
url: string;
|
|
1256
|
-
height: number;
|
|
1257
|
-
width: number;
|
|
1258
|
-
};
|
|
1259
|
-
};
|
|
1260
|
-
other?: {
|
|
1261
|
-
id: string;
|
|
1262
|
-
};
|
|
1263
|
-
};
|
|
1264
|
-
operationStatus: OperationStatus;
|
|
1265
|
-
labels: string[];
|
|
1266
|
-
siteId: string;
|
|
1267
|
-
state: State;
|
|
1268
|
-
internalTags: string[];
|
|
1269
|
-
namespace: Namespace;
|
|
1270
|
-
addedBy?: {
|
|
1271
|
-
identityType: IdentityType;
|
|
1272
|
-
};
|
|
1273
|
-
};
|
|
1274
|
-
}
|
|
1275
|
-
export interface GenerateFileUploadUrlResponseNonNullableFields {
|
|
1276
|
-
uploadUrl: string;
|
|
1277
|
-
}
|
|
1278
|
-
export interface GenerateFileResumableUploadUrlResponseNonNullableFields {
|
|
1279
|
-
uploadProtocol: UploadProtocol;
|
|
1280
|
-
uploadUrl: string;
|
|
1281
|
-
uploadToken: string;
|
|
1282
|
-
}
|
|
1283
|
-
export interface ImportFileResponseNonNullableFields {
|
|
1284
|
-
file?: {
|
|
1285
|
-
id: string;
|
|
1286
|
-
displayName: string;
|
|
1287
|
-
url: string;
|
|
1288
|
-
hash: string;
|
|
1289
|
-
private: boolean;
|
|
1290
|
-
mediaType: MediaType;
|
|
1291
|
-
media?: {
|
|
1292
|
-
image?: {
|
|
1293
|
-
image?: {
|
|
1294
|
-
id: string;
|
|
1295
|
-
url: string;
|
|
1296
|
-
height: number;
|
|
1297
|
-
width: number;
|
|
1298
|
-
};
|
|
1299
|
-
colors?: {
|
|
1300
|
-
palette: Color[];
|
|
1301
|
-
};
|
|
1302
|
-
faces: {
|
|
1303
|
-
confidence: number;
|
|
1304
|
-
x: number;
|
|
1305
|
-
y: number;
|
|
1306
|
-
height: number;
|
|
1307
|
-
width: number;
|
|
1308
|
-
}[];
|
|
1309
|
-
previewImage?: {
|
|
1310
|
-
id: string;
|
|
1311
|
-
url: string;
|
|
1312
|
-
height: number;
|
|
1313
|
-
width: number;
|
|
1314
|
-
};
|
|
1315
|
-
};
|
|
1316
|
-
video?: {
|
|
1317
|
-
id: string;
|
|
1318
|
-
url: string;
|
|
1319
|
-
resolutions: {
|
|
1320
|
-
url: string;
|
|
1321
|
-
height: number;
|
|
1322
|
-
width: number;
|
|
1323
|
-
poster?: {
|
|
1324
|
-
id: string;
|
|
1325
|
-
url: string;
|
|
1326
|
-
height: number;
|
|
1327
|
-
width: number;
|
|
1328
|
-
};
|
|
1329
|
-
format: string;
|
|
1330
|
-
}[];
|
|
1331
|
-
posters: {
|
|
1332
|
-
id: string;
|
|
1333
|
-
url: string;
|
|
1334
|
-
height: number;
|
|
1335
|
-
width: number;
|
|
1336
|
-
}[];
|
|
1337
|
-
};
|
|
1338
|
-
audio?: {
|
|
1339
|
-
id: string;
|
|
1340
|
-
assets: {
|
|
1341
|
-
id: string;
|
|
1342
|
-
url: string;
|
|
1343
|
-
}[];
|
|
1344
|
-
};
|
|
1345
|
-
document?: {
|
|
1346
|
-
id: string;
|
|
1347
|
-
url: string;
|
|
1348
|
-
};
|
|
1349
|
-
vector?: {
|
|
1350
|
-
image?: {
|
|
1351
|
-
id: string;
|
|
1352
|
-
url: string;
|
|
1353
|
-
height: number;
|
|
1354
|
-
width: number;
|
|
1355
|
-
};
|
|
1356
|
-
colors?: {
|
|
1357
|
-
palette: Color[];
|
|
1358
|
-
};
|
|
1359
|
-
faces: {
|
|
1360
|
-
confidence: number;
|
|
1361
|
-
x: number;
|
|
1362
|
-
y: number;
|
|
1363
|
-
height: number;
|
|
1364
|
-
width: number;
|
|
1365
|
-
}[];
|
|
1366
|
-
previewImage?: {
|
|
1367
|
-
id: string;
|
|
1368
|
-
url: string;
|
|
1369
|
-
height: number;
|
|
1370
|
-
width: number;
|
|
1371
|
-
};
|
|
1372
|
-
};
|
|
1373
|
-
archive?: {
|
|
1374
|
-
id: string;
|
|
1375
|
-
url: string;
|
|
1376
|
-
};
|
|
1377
|
-
model3d?: {
|
|
1378
|
-
id: string;
|
|
1379
|
-
url: string;
|
|
1380
|
-
thumbnail?: {
|
|
1381
|
-
id: string;
|
|
1382
|
-
url: string;
|
|
1383
|
-
height: number;
|
|
1384
|
-
width: number;
|
|
1385
|
-
};
|
|
1386
|
-
};
|
|
1387
|
-
other?: {
|
|
1388
|
-
id: string;
|
|
1389
|
-
};
|
|
1390
|
-
};
|
|
1391
|
-
operationStatus: OperationStatus;
|
|
1392
|
-
labels: string[];
|
|
1393
|
-
siteId: string;
|
|
1394
|
-
state: State;
|
|
1395
|
-
internalTags: string[];
|
|
1396
|
-
namespace: Namespace;
|
|
1397
|
-
addedBy?: {
|
|
1398
|
-
identityType: IdentityType;
|
|
1399
|
-
};
|
|
1400
|
-
};
|
|
1401
|
-
}
|
|
1402
|
-
export interface BulkImportFilesResponseNonNullableFields {
|
|
1403
|
-
files: {
|
|
1404
|
-
id: string;
|
|
1405
|
-
displayName: string;
|
|
1406
|
-
url: string;
|
|
1407
|
-
hash: string;
|
|
1408
|
-
private: boolean;
|
|
1409
|
-
mediaType: MediaType;
|
|
1410
|
-
media?: {
|
|
1411
|
-
image?: {
|
|
1412
|
-
image?: {
|
|
1413
|
-
id: string;
|
|
1414
|
-
url: string;
|
|
1415
|
-
height: number;
|
|
1416
|
-
width: number;
|
|
1417
|
-
};
|
|
1418
|
-
colors?: {
|
|
1419
|
-
palette: Color[];
|
|
1420
|
-
};
|
|
1421
|
-
faces: {
|
|
1422
|
-
confidence: number;
|
|
1423
|
-
x: number;
|
|
1424
|
-
y: number;
|
|
1425
|
-
height: number;
|
|
1426
|
-
width: number;
|
|
1427
|
-
}[];
|
|
1428
|
-
previewImage?: {
|
|
1429
|
-
id: string;
|
|
1430
|
-
url: string;
|
|
1431
|
-
height: number;
|
|
1432
|
-
width: number;
|
|
1433
|
-
};
|
|
1434
|
-
};
|
|
1435
|
-
video?: {
|
|
1436
|
-
id: string;
|
|
1437
|
-
url: string;
|
|
1438
|
-
resolutions: {
|
|
1439
|
-
url: string;
|
|
1440
|
-
height: number;
|
|
1441
|
-
width: number;
|
|
1442
|
-
poster?: {
|
|
1443
|
-
id: string;
|
|
1444
|
-
url: string;
|
|
1445
|
-
height: number;
|
|
1446
|
-
width: number;
|
|
1447
|
-
};
|
|
1448
|
-
format: string;
|
|
1449
|
-
}[];
|
|
1450
|
-
posters: {
|
|
1451
|
-
id: string;
|
|
1452
|
-
url: string;
|
|
1453
|
-
height: number;
|
|
1454
|
-
width: number;
|
|
1455
|
-
}[];
|
|
1456
|
-
};
|
|
1457
|
-
audio?: {
|
|
1458
|
-
id: string;
|
|
1459
|
-
assets: {
|
|
1460
|
-
id: string;
|
|
1461
|
-
url: string;
|
|
1462
|
-
}[];
|
|
1463
|
-
};
|
|
1464
|
-
document?: {
|
|
1465
|
-
id: string;
|
|
1466
|
-
url: string;
|
|
1467
|
-
};
|
|
1468
|
-
vector?: {
|
|
1469
|
-
image?: {
|
|
1470
|
-
id: string;
|
|
1471
|
-
url: string;
|
|
1472
|
-
height: number;
|
|
1473
|
-
width: number;
|
|
1474
|
-
};
|
|
1475
|
-
colors?: {
|
|
1476
|
-
palette: Color[];
|
|
1477
|
-
};
|
|
1478
|
-
faces: {
|
|
1479
|
-
confidence: number;
|
|
1480
|
-
x: number;
|
|
1481
|
-
y: number;
|
|
1482
|
-
height: number;
|
|
1483
|
-
width: number;
|
|
1484
|
-
}[];
|
|
1485
|
-
previewImage?: {
|
|
1486
|
-
id: string;
|
|
1487
|
-
url: string;
|
|
1488
|
-
height: number;
|
|
1489
|
-
width: number;
|
|
1490
|
-
};
|
|
1491
|
-
};
|
|
1492
|
-
archive?: {
|
|
1493
|
-
id: string;
|
|
1494
|
-
url: string;
|
|
1495
|
-
};
|
|
1496
|
-
model3d?: {
|
|
1497
|
-
id: string;
|
|
1498
|
-
url: string;
|
|
1499
|
-
thumbnail?: {
|
|
1500
|
-
id: string;
|
|
1501
|
-
url: string;
|
|
1502
|
-
height: number;
|
|
1503
|
-
width: number;
|
|
1504
|
-
};
|
|
1505
|
-
};
|
|
1506
|
-
other?: {
|
|
1507
|
-
id: string;
|
|
1508
|
-
};
|
|
1509
|
-
};
|
|
1510
|
-
operationStatus: OperationStatus;
|
|
1511
|
-
labels: string[];
|
|
1512
|
-
siteId: string;
|
|
1513
|
-
state: State;
|
|
1514
|
-
internalTags: string[];
|
|
1515
|
-
namespace: Namespace;
|
|
1516
|
-
addedBy?: {
|
|
1517
|
-
identityType: IdentityType;
|
|
1518
|
-
};
|
|
1519
|
-
}[];
|
|
1520
|
-
}
|
|
1521
|
-
export interface BulkImportFileResponseNonNullableFields {
|
|
1522
|
-
results: {
|
|
1523
|
-
itemMetadata?: {
|
|
1524
|
-
originalIndex: number;
|
|
1525
|
-
success: boolean;
|
|
1526
|
-
error?: {
|
|
1527
|
-
code: string;
|
|
1528
|
-
description: string;
|
|
1529
|
-
};
|
|
1530
|
-
};
|
|
1531
|
-
item?: {
|
|
1532
|
-
id: string;
|
|
1533
|
-
displayName: string;
|
|
1534
|
-
url: string;
|
|
1535
|
-
hash: string;
|
|
1536
|
-
private: boolean;
|
|
1537
|
-
mediaType: MediaType;
|
|
1538
|
-
media?: {
|
|
1539
|
-
image?: {
|
|
1540
|
-
image?: {
|
|
1541
|
-
id: string;
|
|
1542
|
-
url: string;
|
|
1543
|
-
height: number;
|
|
1544
|
-
width: number;
|
|
1545
|
-
};
|
|
1546
|
-
colors?: {
|
|
1547
|
-
palette: Color[];
|
|
1548
|
-
};
|
|
1549
|
-
faces: {
|
|
1550
|
-
confidence: number;
|
|
1551
|
-
x: number;
|
|
1552
|
-
y: number;
|
|
1553
|
-
height: number;
|
|
1554
|
-
width: number;
|
|
1555
|
-
}[];
|
|
1556
|
-
previewImage?: {
|
|
1557
|
-
id: string;
|
|
1558
|
-
url: string;
|
|
1559
|
-
height: number;
|
|
1560
|
-
width: number;
|
|
1561
|
-
};
|
|
1562
|
-
};
|
|
1563
|
-
video?: {
|
|
1564
|
-
id: string;
|
|
1565
|
-
url: string;
|
|
1566
|
-
resolutions: {
|
|
1567
|
-
url: string;
|
|
1568
|
-
height: number;
|
|
1569
|
-
width: number;
|
|
1570
|
-
poster?: {
|
|
1571
|
-
id: string;
|
|
1572
|
-
url: string;
|
|
1573
|
-
height: number;
|
|
1574
|
-
width: number;
|
|
1575
|
-
};
|
|
1576
|
-
format: string;
|
|
1577
|
-
}[];
|
|
1578
|
-
posters: {
|
|
1579
|
-
id: string;
|
|
1580
|
-
url: string;
|
|
1581
|
-
height: number;
|
|
1582
|
-
width: number;
|
|
1583
|
-
}[];
|
|
1584
|
-
};
|
|
1585
|
-
audio?: {
|
|
1586
|
-
id: string;
|
|
1587
|
-
assets: {
|
|
1588
|
-
id: string;
|
|
1589
|
-
url: string;
|
|
1590
|
-
}[];
|
|
1591
|
-
};
|
|
1592
|
-
document?: {
|
|
1593
|
-
id: string;
|
|
1594
|
-
url: string;
|
|
1595
|
-
};
|
|
1596
|
-
vector?: {
|
|
1597
|
-
image?: {
|
|
1598
|
-
id: string;
|
|
1599
|
-
url: string;
|
|
1600
|
-
height: number;
|
|
1601
|
-
width: number;
|
|
1602
|
-
};
|
|
1603
|
-
colors?: {
|
|
1604
|
-
palette: Color[];
|
|
1605
|
-
};
|
|
1606
|
-
faces: {
|
|
1607
|
-
confidence: number;
|
|
1608
|
-
x: number;
|
|
1609
|
-
y: number;
|
|
1610
|
-
height: number;
|
|
1611
|
-
width: number;
|
|
1612
|
-
}[];
|
|
1613
|
-
previewImage?: {
|
|
1614
|
-
id: string;
|
|
1615
|
-
url: string;
|
|
1616
|
-
height: number;
|
|
1617
|
-
width: number;
|
|
1618
|
-
};
|
|
1619
|
-
};
|
|
1620
|
-
archive?: {
|
|
1621
|
-
id: string;
|
|
1622
|
-
url: string;
|
|
1623
|
-
};
|
|
1624
|
-
model3d?: {
|
|
1625
|
-
id: string;
|
|
1626
|
-
url: string;
|
|
1627
|
-
thumbnail?: {
|
|
1628
|
-
id: string;
|
|
1629
|
-
url: string;
|
|
1630
|
-
height: number;
|
|
1631
|
-
width: number;
|
|
1632
|
-
};
|
|
1633
|
-
};
|
|
1634
|
-
other?: {
|
|
1635
|
-
id: string;
|
|
1636
|
-
};
|
|
1637
|
-
};
|
|
1638
|
-
operationStatus: OperationStatus;
|
|
1639
|
-
labels: string[];
|
|
1640
|
-
siteId: string;
|
|
1641
|
-
state: State;
|
|
1642
|
-
internalTags: string[];
|
|
1643
|
-
namespace: Namespace;
|
|
1644
|
-
addedBy?: {
|
|
1645
|
-
identityType: IdentityType;
|
|
1646
|
-
};
|
|
1647
|
-
};
|
|
1648
|
-
}[];
|
|
1649
|
-
bulkActionMetadata?: {
|
|
1650
|
-
totalSuccesses: number;
|
|
1651
|
-
totalFailures: number;
|
|
1652
|
-
undetailedFailures: number;
|
|
1653
|
-
};
|
|
1654
|
-
}
|
|
1655
|
-
export interface ListFilesResponseNonNullableFields {
|
|
1656
|
-
files: {
|
|
1657
|
-
id: string;
|
|
1658
|
-
displayName: string;
|
|
1659
|
-
url: string;
|
|
1660
|
-
hash: string;
|
|
1661
|
-
private: boolean;
|
|
1662
|
-
mediaType: MediaType;
|
|
1663
|
-
media?: {
|
|
1664
|
-
image?: {
|
|
1665
|
-
image?: {
|
|
1666
|
-
id: string;
|
|
1667
|
-
url: string;
|
|
1668
|
-
height: number;
|
|
1669
|
-
width: number;
|
|
1670
|
-
};
|
|
1671
|
-
colors?: {
|
|
1672
|
-
palette: Color[];
|
|
1673
|
-
};
|
|
1674
|
-
faces: {
|
|
1675
|
-
confidence: number;
|
|
1676
|
-
x: number;
|
|
1677
|
-
y: number;
|
|
1678
|
-
height: number;
|
|
1679
|
-
width: number;
|
|
1680
|
-
}[];
|
|
1681
|
-
previewImage?: {
|
|
1682
|
-
id: string;
|
|
1683
|
-
url: string;
|
|
1684
|
-
height: number;
|
|
1685
|
-
width: number;
|
|
1686
|
-
};
|
|
1687
|
-
};
|
|
1688
|
-
video?: {
|
|
1689
|
-
id: string;
|
|
1690
|
-
url: string;
|
|
1691
|
-
resolutions: {
|
|
1692
|
-
url: string;
|
|
1693
|
-
height: number;
|
|
1694
|
-
width: number;
|
|
1695
|
-
poster?: {
|
|
1696
|
-
id: string;
|
|
1697
|
-
url: string;
|
|
1698
|
-
height: number;
|
|
1699
|
-
width: number;
|
|
1700
|
-
};
|
|
1701
|
-
format: string;
|
|
1702
|
-
}[];
|
|
1703
|
-
posters: {
|
|
1704
|
-
id: string;
|
|
1705
|
-
url: string;
|
|
1706
|
-
height: number;
|
|
1707
|
-
width: number;
|
|
1708
|
-
}[];
|
|
1709
|
-
};
|
|
1710
|
-
audio?: {
|
|
1711
|
-
id: string;
|
|
1712
|
-
assets: {
|
|
1713
|
-
id: string;
|
|
1714
|
-
url: string;
|
|
1715
|
-
}[];
|
|
1716
|
-
};
|
|
1717
|
-
document?: {
|
|
1718
|
-
id: string;
|
|
1719
|
-
url: string;
|
|
1720
|
-
};
|
|
1721
|
-
vector?: {
|
|
1722
|
-
image?: {
|
|
1723
|
-
id: string;
|
|
1724
|
-
url: string;
|
|
1725
|
-
height: number;
|
|
1726
|
-
width: number;
|
|
1727
|
-
};
|
|
1728
|
-
colors?: {
|
|
1729
|
-
palette: Color[];
|
|
1730
|
-
};
|
|
1731
|
-
faces: {
|
|
1732
|
-
confidence: number;
|
|
1733
|
-
x: number;
|
|
1734
|
-
y: number;
|
|
1735
|
-
height: number;
|
|
1736
|
-
width: number;
|
|
1737
|
-
}[];
|
|
1738
|
-
previewImage?: {
|
|
1739
|
-
id: string;
|
|
1740
|
-
url: string;
|
|
1741
|
-
height: number;
|
|
1742
|
-
width: number;
|
|
1743
|
-
};
|
|
1744
|
-
};
|
|
1745
|
-
archive?: {
|
|
1746
|
-
id: string;
|
|
1747
|
-
url: string;
|
|
1748
|
-
};
|
|
1749
|
-
model3d?: {
|
|
1750
|
-
id: string;
|
|
1751
|
-
url: string;
|
|
1752
|
-
thumbnail?: {
|
|
1753
|
-
id: string;
|
|
1754
|
-
url: string;
|
|
1755
|
-
height: number;
|
|
1756
|
-
width: number;
|
|
1757
|
-
};
|
|
1758
|
-
};
|
|
1759
|
-
other?: {
|
|
1760
|
-
id: string;
|
|
1761
|
-
};
|
|
1762
|
-
};
|
|
1763
|
-
operationStatus: OperationStatus;
|
|
1764
|
-
labels: string[];
|
|
1765
|
-
siteId: string;
|
|
1766
|
-
state: State;
|
|
1767
|
-
internalTags: string[];
|
|
1768
|
-
namespace: Namespace;
|
|
1769
|
-
addedBy?: {
|
|
1770
|
-
identityType: IdentityType;
|
|
1771
|
-
};
|
|
1772
|
-
}[];
|
|
1773
|
-
}
|
|
1774
|
-
export interface SearchFilesResponseNonNullableFields {
|
|
1775
|
-
files: {
|
|
1776
|
-
id: string;
|
|
1777
|
-
displayName: string;
|
|
1778
|
-
url: string;
|
|
1779
|
-
hash: string;
|
|
1780
|
-
private: boolean;
|
|
1781
|
-
mediaType: MediaType;
|
|
1782
|
-
media?: {
|
|
1783
|
-
image?: {
|
|
1784
|
-
image?: {
|
|
1785
|
-
id: string;
|
|
1786
|
-
url: string;
|
|
1787
|
-
height: number;
|
|
1788
|
-
width: number;
|
|
1789
|
-
};
|
|
1790
|
-
colors?: {
|
|
1791
|
-
palette: Color[];
|
|
1792
|
-
};
|
|
1793
|
-
faces: {
|
|
1794
|
-
confidence: number;
|
|
1795
|
-
x: number;
|
|
1796
|
-
y: number;
|
|
1797
|
-
height: number;
|
|
1798
|
-
width: number;
|
|
1799
|
-
}[];
|
|
1800
|
-
previewImage?: {
|
|
1801
|
-
id: string;
|
|
1802
|
-
url: string;
|
|
1803
|
-
height: number;
|
|
1804
|
-
width: number;
|
|
1805
|
-
};
|
|
1806
|
-
};
|
|
1807
|
-
video?: {
|
|
1808
|
-
id: string;
|
|
1809
|
-
url: string;
|
|
1810
|
-
resolutions: {
|
|
1811
|
-
url: string;
|
|
1812
|
-
height: number;
|
|
1813
|
-
width: number;
|
|
1814
|
-
poster?: {
|
|
1815
|
-
id: string;
|
|
1816
|
-
url: string;
|
|
1817
|
-
height: number;
|
|
1818
|
-
width: number;
|
|
1819
|
-
};
|
|
1820
|
-
format: string;
|
|
1821
|
-
}[];
|
|
1822
|
-
posters: {
|
|
1823
|
-
id: string;
|
|
1824
|
-
url: string;
|
|
1825
|
-
height: number;
|
|
1826
|
-
width: number;
|
|
1827
|
-
}[];
|
|
1828
|
-
};
|
|
1829
|
-
audio?: {
|
|
1830
|
-
id: string;
|
|
1831
|
-
assets: {
|
|
1832
|
-
id: string;
|
|
1833
|
-
url: string;
|
|
1834
|
-
}[];
|
|
1835
|
-
};
|
|
1836
|
-
document?: {
|
|
1837
|
-
id: string;
|
|
1838
|
-
url: string;
|
|
1839
|
-
};
|
|
1840
|
-
vector?: {
|
|
1841
|
-
image?: {
|
|
1842
|
-
id: string;
|
|
1843
|
-
url: string;
|
|
1844
|
-
height: number;
|
|
1845
|
-
width: number;
|
|
1846
|
-
};
|
|
1847
|
-
colors?: {
|
|
1848
|
-
palette: Color[];
|
|
1849
|
-
};
|
|
1850
|
-
faces: {
|
|
1851
|
-
confidence: number;
|
|
1852
|
-
x: number;
|
|
1853
|
-
y: number;
|
|
1854
|
-
height: number;
|
|
1855
|
-
width: number;
|
|
1856
|
-
}[];
|
|
1857
|
-
previewImage?: {
|
|
1858
|
-
id: string;
|
|
1859
|
-
url: string;
|
|
1860
|
-
height: number;
|
|
1861
|
-
width: number;
|
|
1862
|
-
};
|
|
1863
|
-
};
|
|
1864
|
-
archive?: {
|
|
1865
|
-
id: string;
|
|
1866
|
-
url: string;
|
|
1867
|
-
};
|
|
1868
|
-
model3d?: {
|
|
1869
|
-
id: string;
|
|
1870
|
-
url: string;
|
|
1871
|
-
thumbnail?: {
|
|
1872
|
-
id: string;
|
|
1873
|
-
url: string;
|
|
1874
|
-
height: number;
|
|
1875
|
-
width: number;
|
|
1876
|
-
};
|
|
1877
|
-
};
|
|
1878
|
-
other?: {
|
|
1879
|
-
id: string;
|
|
1880
|
-
};
|
|
1881
|
-
};
|
|
1882
|
-
operationStatus: OperationStatus;
|
|
1883
|
-
labels: string[];
|
|
1884
|
-
siteId: string;
|
|
1885
|
-
state: State;
|
|
1886
|
-
internalTags: string[];
|
|
1887
|
-
namespace: Namespace;
|
|
1888
|
-
addedBy?: {
|
|
1889
|
-
identityType: IdentityType;
|
|
1890
|
-
};
|
|
1891
|
-
}[];
|
|
1892
|
-
}
|
|
1893
|
-
export interface GenerateVideoStreamingUrlResponseNonNullableFields {
|
|
1894
|
-
downloadUrl?: {
|
|
1895
|
-
url: string;
|
|
1896
|
-
assetKey: string;
|
|
1897
|
-
};
|
|
1898
|
-
}
|
|
1899
|
-
export interface ListDeletedFilesResponseNonNullableFields {
|
|
1900
|
-
files: {
|
|
1901
|
-
id: string;
|
|
1902
|
-
displayName: string;
|
|
1903
|
-
url: string;
|
|
1904
|
-
hash: string;
|
|
1905
|
-
private: boolean;
|
|
1906
|
-
mediaType: MediaType;
|
|
1907
|
-
media?: {
|
|
1908
|
-
image?: {
|
|
1909
|
-
image?: {
|
|
1910
|
-
id: string;
|
|
1911
|
-
url: string;
|
|
1912
|
-
height: number;
|
|
1913
|
-
width: number;
|
|
1914
|
-
};
|
|
1915
|
-
colors?: {
|
|
1916
|
-
palette: Color[];
|
|
1917
|
-
};
|
|
1918
|
-
faces: {
|
|
1919
|
-
confidence: number;
|
|
1920
|
-
x: number;
|
|
1921
|
-
y: number;
|
|
1922
|
-
height: number;
|
|
1923
|
-
width: number;
|
|
1924
|
-
}[];
|
|
1925
|
-
previewImage?: {
|
|
1926
|
-
id: string;
|
|
1927
|
-
url: string;
|
|
1928
|
-
height: number;
|
|
1929
|
-
width: number;
|
|
1930
|
-
};
|
|
1931
|
-
};
|
|
1932
|
-
video?: {
|
|
1933
|
-
id: string;
|
|
1934
|
-
url: string;
|
|
1935
|
-
resolutions: {
|
|
1936
|
-
url: string;
|
|
1937
|
-
height: number;
|
|
1938
|
-
width: number;
|
|
1939
|
-
poster?: {
|
|
1940
|
-
id: string;
|
|
1941
|
-
url: string;
|
|
1942
|
-
height: number;
|
|
1943
|
-
width: number;
|
|
1944
|
-
};
|
|
1945
|
-
format: string;
|
|
1946
|
-
}[];
|
|
1947
|
-
posters: {
|
|
1948
|
-
id: string;
|
|
1949
|
-
url: string;
|
|
1950
|
-
height: number;
|
|
1951
|
-
width: number;
|
|
1952
|
-
}[];
|
|
1953
|
-
};
|
|
1954
|
-
audio?: {
|
|
1955
|
-
id: string;
|
|
1956
|
-
assets: {
|
|
1957
|
-
id: string;
|
|
1958
|
-
url: string;
|
|
1959
|
-
}[];
|
|
1960
|
-
};
|
|
1961
|
-
document?: {
|
|
1962
|
-
id: string;
|
|
1963
|
-
url: string;
|
|
1964
|
-
};
|
|
1965
|
-
vector?: {
|
|
1966
|
-
image?: {
|
|
1967
|
-
id: string;
|
|
1968
|
-
url: string;
|
|
1969
|
-
height: number;
|
|
1970
|
-
width: number;
|
|
1971
|
-
};
|
|
1972
|
-
colors?: {
|
|
1973
|
-
palette: Color[];
|
|
1974
|
-
};
|
|
1975
|
-
faces: {
|
|
1976
|
-
confidence: number;
|
|
1977
|
-
x: number;
|
|
1978
|
-
y: number;
|
|
1979
|
-
height: number;
|
|
1980
|
-
width: number;
|
|
1981
|
-
}[];
|
|
1982
|
-
previewImage?: {
|
|
1983
|
-
id: string;
|
|
1984
|
-
url: string;
|
|
1985
|
-
height: number;
|
|
1986
|
-
width: number;
|
|
1987
|
-
};
|
|
1988
|
-
};
|
|
1989
|
-
archive?: {
|
|
1990
|
-
id: string;
|
|
1991
|
-
url: string;
|
|
1992
|
-
};
|
|
1993
|
-
model3d?: {
|
|
1994
|
-
id: string;
|
|
1995
|
-
url: string;
|
|
1996
|
-
thumbnail?: {
|
|
1997
|
-
id: string;
|
|
1998
|
-
url: string;
|
|
1999
|
-
height: number;
|
|
2000
|
-
width: number;
|
|
2001
|
-
};
|
|
2002
|
-
};
|
|
2003
|
-
other?: {
|
|
2004
|
-
id: string;
|
|
2005
|
-
};
|
|
2006
|
-
};
|
|
2007
|
-
operationStatus: OperationStatus;
|
|
2008
|
-
labels: string[];
|
|
2009
|
-
siteId: string;
|
|
2010
|
-
state: State;
|
|
2011
|
-
internalTags: string[];
|
|
2012
|
-
namespace: Namespace;
|
|
2013
|
-
addedBy?: {
|
|
2014
|
-
identityType: IdentityType;
|
|
2015
|
-
};
|
|
2016
|
-
}[];
|
|
2017
|
-
}
|