@wix/auto_sdk_pro-gallery_pro-gallery 1.0.8 → 1.0.9
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/index.d.mts +213 -0
- package/build/index.d.ts +213 -0
- package/build/index.js +1834 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +1784 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +213 -0
- package/build/internal/index.d.ts +213 -0
- package/build/internal/index.js +1834 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +1784 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +498 -0
- package/build/internal/meta.d.ts +498 -0
- package/build/internal/meta.js +1054 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +1016 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{es/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts → internal/pro-gallery-v2-gallery-pro-gallery.universal-KXp1KG3k.d.mts} +438 -516
- package/build/{cjs/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts → internal/pro-gallery-v2-gallery-pro-gallery.universal-KXp1KG3k.d.ts} +438 -516
- package/build/meta.d.mts +498 -0
- package/build/meta.d.ts +498 -0
- package/build/meta.js +1054 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +1016 -0
- package/build/meta.mjs.map +1 -0
- package/build/{internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts → pro-gallery-v2-gallery-pro-gallery.universal-KXp1KG3k.d.mts} +438 -516
- package/build/{internal/es/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts → pro-gallery-v2-gallery-pro-gallery.universal-KXp1KG3k.d.ts} +438 -516
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +0 -56
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js +0 -69
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +0 -1
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +0 -90
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js +0 -875
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +0 -1
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +0 -47
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js +0 -256
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +0 -1
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +0 -167
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js +0 -309
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +0 -1
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js +0 -103
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +0 -1
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +0 -1830
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js +0 -850
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +0 -56
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.context.js +0 -56
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +0 -1
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +0 -90
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.http.js +0 -860
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +0 -1
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +0 -47
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js +0 -218
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +0 -1
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +0 -167
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.public.js +0 -284
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +0 -1
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.types.js +0 -100
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +0 -1
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +0 -1830
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js +0 -812
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +0 -56
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js +0 -69
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +0 -1
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +0 -90
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js +0 -875
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +0 -1
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +0 -47
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js +0 -256
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +0 -1
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +0 -167
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js +0 -309
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +0 -1
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js +0 -103
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +0 -1
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +0 -1830
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js +0 -850
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +0 -56
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.context.js +0 -56
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +0 -1
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +0 -90
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.http.js +0 -860
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +0 -1
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +0 -47
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js +0 -218
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +0 -1
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +0 -167
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.public.js +0 -284
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +0 -1
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.types.js +0 -100
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +0 -1
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +0 -1830
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js +0 -812
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +0 -1
@@ -0,0 +1,498 @@
|
|
1
|
+
import { ag as ListGalleriesRequest$1, a as ListGalleriesResponse$1, ah as GetGalleryRequest$1, aj as GetGalleryResponse$1, ak as ListGalleryItemsRequest$1, d as ListGalleryItemsResponse$1, al as GetGalleryItemRequest$1, am as GetGalleryItemResponse$1, an as CreateGalleryRequest$1, ao as CreateGalleryResponse$1, ap as UpdateGalleryRequest$1, aq as UpdateGalleryResponse$1, ar as DeleteGalleryRequest$1, D as DeleteGalleryResponse$1, as as DeleteGalleryItemsRequest$1, g as DeleteGalleryItemsResponse$1, at as BulkDeleteGalleryItemsRequest$1, B as BulkDeleteGalleryItemsResponse$1, au as CreateGalleryItemRequest$1, av as CreateGalleryItemResponse$1, ay as UpdateGalleryItemRequest$1, az as UpdateGalleryItemResponse$1, aA as DeleteGalleryItemRequest$1, k as DeleteGalleryItemResponse$1 } from './pro-gallery-v2-gallery-pro-gallery.universal-KXp1KG3k.mjs';
|
2
|
+
|
3
|
+
interface Gallery {
|
4
|
+
/**
|
5
|
+
* Gallery ID.
|
6
|
+
* @readonly
|
7
|
+
* @format GUID
|
8
|
+
*/
|
9
|
+
id?: string | null;
|
10
|
+
/** Gallery name. */
|
11
|
+
name?: string | null;
|
12
|
+
/**
|
13
|
+
* Total number of items in the gallery.
|
14
|
+
* @readonly
|
15
|
+
*/
|
16
|
+
totalItems?: number | null;
|
17
|
+
/** Media items in the gallery. */
|
18
|
+
items?: Item[];
|
19
|
+
/**
|
20
|
+
* Index that determines which position a gallery is displayed on the site. <br />
|
21
|
+
*
|
22
|
+
* >**Note:** If you assign the same sort order index to more than one gallery, the function fails.
|
23
|
+
*/
|
24
|
+
sortOrder?: number | null;
|
25
|
+
/**
|
26
|
+
* Date and time the gallery was created.
|
27
|
+
* @readonly
|
28
|
+
*/
|
29
|
+
createdDate?: Date | null;
|
30
|
+
}
|
31
|
+
interface Item extends ItemMetadataOneOf {
|
32
|
+
/** Details about the image. */
|
33
|
+
image?: Image;
|
34
|
+
/** Details about the video. */
|
35
|
+
video?: Video;
|
36
|
+
/** Details about the text file. */
|
37
|
+
text?: Text;
|
38
|
+
/**
|
39
|
+
* Item ID.
|
40
|
+
* @readonly
|
41
|
+
* @format GUID
|
42
|
+
*/
|
43
|
+
id?: string | null;
|
44
|
+
/**
|
45
|
+
* Index that determines which position a media item is displayed in the gallery. <br />
|
46
|
+
*
|
47
|
+
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
48
|
+
*
|
49
|
+
* >**Note:** If you assign the same sort order index to more than one media item in a gallery, the function fails.
|
50
|
+
*/
|
51
|
+
sortOrder?: number | null;
|
52
|
+
/** Item title. */
|
53
|
+
title?: string | null;
|
54
|
+
/** Item description. */
|
55
|
+
description?: string | null;
|
56
|
+
/** Link from the item. You can link to Wix sites or external URLs. */
|
57
|
+
link?: Link;
|
58
|
+
/**
|
59
|
+
* Type of item.
|
60
|
+
* @readonly
|
61
|
+
*/
|
62
|
+
type?: TypeWithLiterals;
|
63
|
+
/**
|
64
|
+
* Date and time the item was created.
|
65
|
+
* @readonly
|
66
|
+
*/
|
67
|
+
createdDate?: Date | null;
|
68
|
+
/**
|
69
|
+
* Date and time the item was last updated.
|
70
|
+
* @readonly
|
71
|
+
*/
|
72
|
+
updatedDate?: Date | null;
|
73
|
+
/** Item tags. */
|
74
|
+
tags?: Tags;
|
75
|
+
}
|
76
|
+
/** @oneof */
|
77
|
+
interface ItemMetadataOneOf {
|
78
|
+
/** Details about the image. */
|
79
|
+
image?: Image;
|
80
|
+
/** Details about the video. */
|
81
|
+
video?: Video;
|
82
|
+
/** Details about the text file. */
|
83
|
+
text?: Text;
|
84
|
+
}
|
85
|
+
interface Link {
|
86
|
+
/** Display text of the link. */
|
87
|
+
text?: string | null;
|
88
|
+
/** Target URL of the link. */
|
89
|
+
url?: string | null;
|
90
|
+
}
|
91
|
+
declare enum Type {
|
92
|
+
UNDEFINED = "UNDEFINED",
|
93
|
+
IMAGE = "IMAGE",
|
94
|
+
VIDEO = "VIDEO",
|
95
|
+
TEXT = "TEXT"
|
96
|
+
}
|
97
|
+
/** @enumType */
|
98
|
+
type TypeWithLiterals = Type | 'UNDEFINED' | 'IMAGE' | 'VIDEO' | 'TEXT';
|
99
|
+
interface Image {
|
100
|
+
/** Information about the Wix Media image. */
|
101
|
+
imageInfo?: CommonImage;
|
102
|
+
/** Focal point of the image. */
|
103
|
+
focalPoint?: Point;
|
104
|
+
/** Set of key-value pairs describing the media in [Exchangeable Image File format](https://en.wikipedia.org/wiki/Exif). */
|
105
|
+
exif?: Record<string, any> | null;
|
106
|
+
/**
|
107
|
+
* Image compression level. <br />
|
108
|
+
*
|
109
|
+
* Min: `30` <br />
|
110
|
+
* Max: `100`
|
111
|
+
* @min 30
|
112
|
+
* @max 100
|
113
|
+
*/
|
114
|
+
quality?: number | null;
|
115
|
+
/** [Unsharp masking](https://en.wikipedia.org/wiki/Unsharp_masking) values of the image. */
|
116
|
+
unsharpMasking?: UnsharpMasking;
|
117
|
+
}
|
118
|
+
interface CommonImage {
|
119
|
+
/** *Required.** WixMedia image ID. */
|
120
|
+
id?: string;
|
121
|
+
/**
|
122
|
+
* Image URL.
|
123
|
+
* @readonly
|
124
|
+
*/
|
125
|
+
url?: string;
|
126
|
+
/** *Required.** Original image height. */
|
127
|
+
height?: number;
|
128
|
+
/** *Required.** Original image width. */
|
129
|
+
width?: number;
|
130
|
+
/** Image alt text. */
|
131
|
+
altText?: string | null;
|
132
|
+
/** Image filename. */
|
133
|
+
filename?: string | null;
|
134
|
+
}
|
135
|
+
interface Point {
|
136
|
+
/** X-coordinate of the focal point. */
|
137
|
+
x?: number;
|
138
|
+
/** Y-coordinate of the focal point. */
|
139
|
+
y?: number;
|
140
|
+
}
|
141
|
+
interface UnsharpMasking {
|
142
|
+
/**
|
143
|
+
* Unsharp masking amount. Controls the sharpening strength. <br />
|
144
|
+
*
|
145
|
+
* Min: `0` <br />
|
146
|
+
* Max: `5`
|
147
|
+
* @max 5
|
148
|
+
*/
|
149
|
+
amount?: number | null;
|
150
|
+
/** Unsharp masking radius in pixels. Controls the sharpening width. */
|
151
|
+
radius?: number | null;
|
152
|
+
/**
|
153
|
+
* Unsharp masking threshold. Controls how different neighboring pixels must be for sharpening to apply. <br />
|
154
|
+
*
|
155
|
+
* Min: `0` <br />
|
156
|
+
* Max: `1`
|
157
|
+
* @max 1
|
158
|
+
*/
|
159
|
+
threshold?: number | null;
|
160
|
+
}
|
161
|
+
interface Video {
|
162
|
+
/** Type of video. */
|
163
|
+
type?: VideoTypeWithLiterals;
|
164
|
+
/** Information about the video. */
|
165
|
+
videoInfo?: VideoV2;
|
166
|
+
/** Manually defined video duration in milliseconds. */
|
167
|
+
durationInMillis?: number | null;
|
168
|
+
}
|
169
|
+
declare enum VideoType {
|
170
|
+
UNDEFINED = "UNDEFINED",
|
171
|
+
WIX_MEDIA = "WIX_MEDIA",
|
172
|
+
YOUTUBE = "YOUTUBE",
|
173
|
+
VIMEO = "VIMEO"
|
174
|
+
}
|
175
|
+
/** @enumType */
|
176
|
+
type VideoTypeWithLiterals = VideoType | 'UNDEFINED' | 'WIX_MEDIA' | 'YOUTUBE' | 'VIMEO';
|
177
|
+
interface VideoV2 {
|
178
|
+
/** WixMedia ID. Required when associating an existing Wix Media video. */
|
179
|
+
id?: string;
|
180
|
+
/** Video URL. Required when associating a video from an external source. Supported sources: YouTube, Vimeo. */
|
181
|
+
url?: string;
|
182
|
+
/**
|
183
|
+
* Available resolutions for the video, starting with the optimal resolution.
|
184
|
+
* @maxSize 100
|
185
|
+
*/
|
186
|
+
resolutions?: VideoResolution[];
|
187
|
+
/** Video filename. */
|
188
|
+
filename?: string | null;
|
189
|
+
/** Video posters. */
|
190
|
+
posters?: CommonImage[];
|
191
|
+
}
|
192
|
+
interface VideoResolution {
|
193
|
+
/** *Required.** Video URL. */
|
194
|
+
url?: string;
|
195
|
+
/** *Required.** Video height. */
|
196
|
+
height?: number;
|
197
|
+
/** *Required.** Video width. */
|
198
|
+
width?: number;
|
199
|
+
/** *Required.** Video format. For example, `mp4` or `hls`. */
|
200
|
+
format?: string;
|
201
|
+
/** Video quality. For example, `480p` or `720p`. */
|
202
|
+
quality?: string | null;
|
203
|
+
/** Video filename. */
|
204
|
+
filename?: string | null;
|
205
|
+
}
|
206
|
+
interface Text {
|
207
|
+
/** Text in HTML format. */
|
208
|
+
html?: string | null;
|
209
|
+
/**
|
210
|
+
* Set of key-value pairs describing the [CSS style](https://en.wikipedia.org/wiki/CSS) of the text.
|
211
|
+
*
|
212
|
+
* __Note:__ The object structure is customizable. See the [List Gallery Items](https://dev.wix.com/api/rest/site-content/pro-gallery/list-gallery-items) code example for supported values.
|
213
|
+
*/
|
214
|
+
css?: Record<string, any> | null;
|
215
|
+
/** Reserved for internal use. */
|
216
|
+
editorHtml?: string | null;
|
217
|
+
/** Reserved for internal use. */
|
218
|
+
editorFontId?: string | null;
|
219
|
+
}
|
220
|
+
interface Tags {
|
221
|
+
/** List of tags assigned to the media item. */
|
222
|
+
values?: string[];
|
223
|
+
}
|
224
|
+
interface ListGalleriesRequest {
|
225
|
+
/**
|
226
|
+
* Maximum number of media items to return. <br />
|
227
|
+
*
|
228
|
+
* Min: `1` <br />
|
229
|
+
* Max: `100` <br />
|
230
|
+
* Default: `10`
|
231
|
+
* @min 1
|
232
|
+
* @max 100
|
233
|
+
*/
|
234
|
+
itemLimit?: number | null;
|
235
|
+
/**
|
236
|
+
* Number of galleries to skip in the response. <br />
|
237
|
+
*
|
238
|
+
* Default: `0`
|
239
|
+
*/
|
240
|
+
offset?: number | null;
|
241
|
+
/**
|
242
|
+
* Maximum number of galleries to return. <br />
|
243
|
+
*
|
244
|
+
* Min: `1` <br />
|
245
|
+
* Max: `10` <br />
|
246
|
+
* Default: `10`
|
247
|
+
* @min 1
|
248
|
+
* @max 10
|
249
|
+
*/
|
250
|
+
limit?: number | null;
|
251
|
+
}
|
252
|
+
interface ListGalleriesResponse {
|
253
|
+
/** Total number of galleries in the site. */
|
254
|
+
totalGalleries?: number | null;
|
255
|
+
/** List of galleries. Sorted by `createdDate`. */
|
256
|
+
galleries?: Gallery[];
|
257
|
+
}
|
258
|
+
interface GetGalleryRequest extends GetGalleryRequestVersionOneOf {
|
259
|
+
/**
|
260
|
+
* Gallery ID.
|
261
|
+
* @format GUID
|
262
|
+
*/
|
263
|
+
galleryId: string;
|
264
|
+
/**
|
265
|
+
* Number of media items to skip in the response. <br />
|
266
|
+
*
|
267
|
+
* Default: `0`
|
268
|
+
*/
|
269
|
+
itemOffset?: number | null;
|
270
|
+
/**
|
271
|
+
* Maximum number of media items to return. <br />
|
272
|
+
*
|
273
|
+
* Min: `1` <br />
|
274
|
+
* Max: `100` <br />
|
275
|
+
* Default: `50`
|
276
|
+
* @min 1
|
277
|
+
* @max 200
|
278
|
+
*/
|
279
|
+
itemLimit?: number | null;
|
280
|
+
}
|
281
|
+
/** @oneof */
|
282
|
+
interface GetGalleryRequestVersionOneOf {
|
283
|
+
}
|
284
|
+
interface GetGalleryResponse {
|
285
|
+
/** Returned gallery. */
|
286
|
+
gallery?: Gallery;
|
287
|
+
}
|
288
|
+
interface ListGalleryItemsRequest {
|
289
|
+
/**
|
290
|
+
* Gallery ID.
|
291
|
+
* @format GUID
|
292
|
+
*/
|
293
|
+
galleryId: string;
|
294
|
+
/**
|
295
|
+
* Number of media items to skip in the response. <br />
|
296
|
+
*
|
297
|
+
* Default: `0`
|
298
|
+
*/
|
299
|
+
itemOffset?: number | null;
|
300
|
+
/**
|
301
|
+
* Maximum number of media items to return. <br />
|
302
|
+
*
|
303
|
+
* Min: `1` <br />
|
304
|
+
* Max: `100` <br />
|
305
|
+
* Default: `50`
|
306
|
+
* @min 1
|
307
|
+
* @max 200
|
308
|
+
*/
|
309
|
+
itemLimit?: number | null;
|
310
|
+
}
|
311
|
+
interface ListGalleryItemsResponse {
|
312
|
+
/** List of media items in the gallery. */
|
313
|
+
items?: Item[];
|
314
|
+
}
|
315
|
+
interface GetGalleryItemRequest {
|
316
|
+
/**
|
317
|
+
* Gallery ID.
|
318
|
+
* @format GUID
|
319
|
+
*/
|
320
|
+
galleryId: string;
|
321
|
+
/**
|
322
|
+
* Item ID.
|
323
|
+
* @format GUID
|
324
|
+
*/
|
325
|
+
itemId: string;
|
326
|
+
}
|
327
|
+
interface GetGalleryItemResponse {
|
328
|
+
/** Returned media item. */
|
329
|
+
item?: Item;
|
330
|
+
}
|
331
|
+
interface CreateGalleryRequest {
|
332
|
+
/** Gallery to create. */
|
333
|
+
gallery?: Gallery;
|
334
|
+
/**
|
335
|
+
* Gallery ID to clone from.
|
336
|
+
* @format GUID
|
337
|
+
*/
|
338
|
+
cloneFromGalleryId?: string | null;
|
339
|
+
}
|
340
|
+
interface CreateGalleryResponse {
|
341
|
+
/** Created gallery. */
|
342
|
+
gallery?: Gallery;
|
343
|
+
}
|
344
|
+
interface UpdateGalleryRequest {
|
345
|
+
/** Gallery to update. */
|
346
|
+
gallery: Gallery;
|
347
|
+
}
|
348
|
+
interface UpdateGalleryResponse {
|
349
|
+
/** Updated gallery. */
|
350
|
+
gallery?: Gallery;
|
351
|
+
}
|
352
|
+
interface DeleteGalleryRequest {
|
353
|
+
/**
|
354
|
+
* ID of the gallery to delete.
|
355
|
+
* @format GUID
|
356
|
+
*/
|
357
|
+
galleryId: string;
|
358
|
+
}
|
359
|
+
interface DeleteGalleryResponse {
|
360
|
+
/**
|
361
|
+
* ID of the deleted gallery.
|
362
|
+
* @readonly
|
363
|
+
* @format GUID
|
364
|
+
*/
|
365
|
+
galleryId?: string;
|
366
|
+
}
|
367
|
+
interface DeleteGalleryItemsRequest {
|
368
|
+
/**
|
369
|
+
* Gallery ID.
|
370
|
+
* @format GUID
|
371
|
+
*/
|
372
|
+
galleryId: string;
|
373
|
+
/**
|
374
|
+
* ID of the media item to delete.
|
375
|
+
* @format GUID
|
376
|
+
*/
|
377
|
+
itemsIds?: string[];
|
378
|
+
}
|
379
|
+
interface DeleteGalleryItemsResponse {
|
380
|
+
/** Gallery that previously included the deleted media item. */
|
381
|
+
gallery?: Gallery;
|
382
|
+
}
|
383
|
+
interface BulkDeleteGalleryItemsRequest {
|
384
|
+
/**
|
385
|
+
* Gallery ID.
|
386
|
+
* @format GUID
|
387
|
+
*/
|
388
|
+
galleryId: string;
|
389
|
+
/**
|
390
|
+
* IDs of the media items to delete.
|
391
|
+
* @format GUID
|
392
|
+
* @minSize 1
|
393
|
+
* @maxSize 1000
|
394
|
+
*/
|
395
|
+
itemIds: string[];
|
396
|
+
}
|
397
|
+
interface BulkDeleteGalleryItemsResponse {
|
398
|
+
/**
|
399
|
+
* IDs of the deleted media items.
|
400
|
+
* @readonly
|
401
|
+
* @format GUID
|
402
|
+
*/
|
403
|
+
itemIds?: string[];
|
404
|
+
}
|
405
|
+
interface CreateGalleryItemRequest {
|
406
|
+
/**
|
407
|
+
* Gallery ID.
|
408
|
+
* @format GUID
|
409
|
+
*/
|
410
|
+
galleryId: string;
|
411
|
+
/** Media item to create. */
|
412
|
+
item: Item;
|
413
|
+
}
|
414
|
+
interface CreateGalleryItemResponse {
|
415
|
+
/** Created media item. */
|
416
|
+
item?: Item;
|
417
|
+
}
|
418
|
+
interface UpdateGalleryItemRequest {
|
419
|
+
/**
|
420
|
+
* Gallery ID.
|
421
|
+
* @format GUID
|
422
|
+
*/
|
423
|
+
galleryId: string;
|
424
|
+
/** Media item to update. */
|
425
|
+
item: Item;
|
426
|
+
}
|
427
|
+
interface UpdateGalleryItemResponse {
|
428
|
+
/** Updated media item. */
|
429
|
+
item?: Item;
|
430
|
+
}
|
431
|
+
interface DeleteGalleryItemRequest {
|
432
|
+
/**
|
433
|
+
* Gallery ID.
|
434
|
+
* @format GUID
|
435
|
+
*/
|
436
|
+
galleryId: string;
|
437
|
+
/**
|
438
|
+
* ID of the media item to delete.
|
439
|
+
* @format GUID
|
440
|
+
*/
|
441
|
+
itemId: string;
|
442
|
+
}
|
443
|
+
interface DeleteGalleryItemResponse {
|
444
|
+
/**
|
445
|
+
* ID of the deleted media item.
|
446
|
+
* @readonly
|
447
|
+
* @format GUID
|
448
|
+
*/
|
449
|
+
itemId?: string;
|
450
|
+
}
|
451
|
+
|
452
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
453
|
+
getUrl: (context: any) => string;
|
454
|
+
httpMethod: K;
|
455
|
+
path: string;
|
456
|
+
pathParams: M;
|
457
|
+
__requestType: T;
|
458
|
+
__originalRequestType: S;
|
459
|
+
__responseType: Q;
|
460
|
+
__originalResponseType: R;
|
461
|
+
};
|
462
|
+
declare function listGalleries(): __PublicMethodMetaInfo<'GET', {}, ListGalleriesRequest$1, ListGalleriesRequest, ListGalleriesResponse$1, ListGalleriesResponse>;
|
463
|
+
declare function getGallery(): __PublicMethodMetaInfo<'GET', {
|
464
|
+
galleryId: string;
|
465
|
+
}, GetGalleryRequest$1, GetGalleryRequest, GetGalleryResponse$1, GetGalleryResponse>;
|
466
|
+
declare function listGalleryItems(): __PublicMethodMetaInfo<'GET', {
|
467
|
+
galleryId: string;
|
468
|
+
}, ListGalleryItemsRequest$1, ListGalleryItemsRequest, ListGalleryItemsResponse$1, ListGalleryItemsResponse>;
|
469
|
+
declare function getGalleryItem(): __PublicMethodMetaInfo<'GET', {
|
470
|
+
galleryId: string;
|
471
|
+
itemId: string;
|
472
|
+
}, GetGalleryItemRequest$1, GetGalleryItemRequest, GetGalleryItemResponse$1, GetGalleryItemResponse>;
|
473
|
+
declare function createGallery(): __PublicMethodMetaInfo<'POST', {}, CreateGalleryRequest$1, CreateGalleryRequest, CreateGalleryResponse$1, CreateGalleryResponse>;
|
474
|
+
declare function updateGallery(): __PublicMethodMetaInfo<'PATCH', {
|
475
|
+
galleryId: string;
|
476
|
+
}, UpdateGalleryRequest$1, UpdateGalleryRequest, UpdateGalleryResponse$1, UpdateGalleryResponse>;
|
477
|
+
declare function deleteGallery(): __PublicMethodMetaInfo<'DELETE', {
|
478
|
+
galleryId: string;
|
479
|
+
}, DeleteGalleryRequest$1, DeleteGalleryRequest, DeleteGalleryResponse$1, DeleteGalleryResponse>;
|
480
|
+
declare function deleteGalleryItems(): __PublicMethodMetaInfo<'DELETE', {
|
481
|
+
galleryId: string;
|
482
|
+
}, DeleteGalleryItemsRequest$1, DeleteGalleryItemsRequest, DeleteGalleryItemsResponse$1, DeleteGalleryItemsResponse>;
|
483
|
+
declare function bulkDeleteGalleryItems(): __PublicMethodMetaInfo<'POST', {
|
484
|
+
galleryId: string;
|
485
|
+
}, BulkDeleteGalleryItemsRequest$1, BulkDeleteGalleryItemsRequest, BulkDeleteGalleryItemsResponse$1, BulkDeleteGalleryItemsResponse>;
|
486
|
+
declare function createGalleryItem(): __PublicMethodMetaInfo<'POST', {
|
487
|
+
galleryId: string;
|
488
|
+
}, CreateGalleryItemRequest$1, CreateGalleryItemRequest, CreateGalleryItemResponse$1, CreateGalleryItemResponse>;
|
489
|
+
declare function updateGalleryItem(): __PublicMethodMetaInfo<'PATCH', {
|
490
|
+
galleryId: string;
|
491
|
+
itemId: string;
|
492
|
+
}, UpdateGalleryItemRequest$1, UpdateGalleryItemRequest, UpdateGalleryItemResponse$1, UpdateGalleryItemResponse>;
|
493
|
+
declare function deleteGalleryItem(): __PublicMethodMetaInfo<'DELETE', {
|
494
|
+
galleryId: string;
|
495
|
+
itemId: string;
|
496
|
+
}, DeleteGalleryItemRequest$1, DeleteGalleryItemRequest, DeleteGalleryItemResponse$1, DeleteGalleryItemResponse>;
|
497
|
+
|
498
|
+
export { type __PublicMethodMetaInfo, bulkDeleteGalleryItems, createGallery, createGalleryItem, deleteGallery, deleteGalleryItem, deleteGalleryItems, getGallery, getGalleryItem, listGalleries, listGalleryItems, updateGallery, updateGalleryItem };
|