@wix/auto_sdk_pro-gallery_pro-gallery 1.0.8 → 1.0.10

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.
Files changed (134) hide show
  1. package/build/index.d.mts +213 -0
  2. package/build/index.d.ts +213 -0
  3. package/build/index.js +1847 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +1796 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +213 -0
  8. package/build/internal/index.d.ts +213 -0
  9. package/build/internal/index.js +1847 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +1796 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/meta.d.mts +498 -0
  14. package/build/internal/meta.d.ts +498 -0
  15. package/build/internal/meta.js +1054 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +1016 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/{es/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts → internal/pro-gallery-v2-gallery-pro-gallery.universal-CExTgtbV.d.mts} +399 -208
  20. package/build/{cjs/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts → internal/pro-gallery-v2-gallery-pro-gallery.universal-CExTgtbV.d.ts} +399 -208
  21. package/build/meta.d.mts +498 -0
  22. package/build/meta.d.ts +498 -0
  23. package/build/meta.js +1054 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +1016 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/build/{internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts → pro-gallery-v2-gallery-pro-gallery.universal-CExTgtbV.d.mts} +399 -208
  28. package/build/{internal/es/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts → pro-gallery-v2-gallery-pro-gallery.universal-CExTgtbV.d.ts} +399 -208
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +0 -56
  40. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js +0 -69
  41. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +0 -1
  42. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +0 -90
  43. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js +0 -875
  44. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +0 -1
  45. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +0 -47
  46. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js +0 -256
  47. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +0 -1
  48. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +0 -167
  49. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js +0 -309
  50. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +0 -1
  51. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js +0 -103
  52. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +0 -1
  53. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +0 -1830
  54. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js +0 -850
  55. package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +0 -56
  67. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.context.js +0 -56
  68. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +0 -1
  69. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +0 -90
  70. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.http.js +0 -860
  71. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +0 -1
  72. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +0 -47
  73. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js +0 -218
  74. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +0 -1
  75. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +0 -167
  76. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.public.js +0 -284
  77. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +0 -1
  78. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.types.js +0 -100
  79. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +0 -1
  80. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +0 -1830
  81. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js +0 -812
  82. package/build/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +0 -56
  93. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js +0 -69
  94. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +0 -1
  95. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +0 -90
  96. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js +0 -875
  97. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +0 -1
  98. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +0 -47
  99. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js +0 -256
  100. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +0 -1
  101. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +0 -167
  102. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js +0 -309
  103. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +0 -1
  104. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js +0 -103
  105. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +0 -1
  106. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +0 -1830
  107. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js +0 -850
  108. package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +0 -56
  119. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.context.js +0 -56
  120. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +0 -1
  121. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +0 -90
  122. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.http.js +0 -860
  123. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +0 -1
  124. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +0 -47
  125. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js +0 -218
  126. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +0 -1
  127. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +0 -167
  128. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.public.js +0 -284
  129. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +0 -1
  130. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.types.js +0 -100
  131. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +0 -1
  132. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +0 -1830
  133. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js +0 -812
  134. package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +0 -1
@@ -1,10 +1,10 @@
1
- export interface Gallery {
1
+ interface Gallery {
2
2
  /**
3
3
  * Gallery ID.
4
4
  * @readonly
5
5
  * @format GUID
6
6
  */
7
- id?: string | null;
7
+ _id?: string | null;
8
8
  /** Gallery name. */
9
9
  name?: string | null;
10
10
  /**
@@ -24,9 +24,9 @@ export interface Gallery {
24
24
  * Date and time the gallery was created.
25
25
  * @readonly
26
26
  */
27
- createdDate?: Date | null;
27
+ _createdDate?: Date | null;
28
28
  }
29
- export interface Item extends ItemMetadataOneOf {
29
+ interface Item extends ItemMetadataOneOf {
30
30
  /** Details about the image. */
31
31
  image?: Image;
32
32
  /** Details about the video. */
@@ -38,7 +38,7 @@ export interface Item extends ItemMetadataOneOf {
38
38
  * @readonly
39
39
  * @format GUID
40
40
  */
41
- id?: string | null;
41
+ _id?: string | null;
42
42
  /**
43
43
  * Index that determines which position a media item is displayed in the gallery. <br />
44
44
  *
@@ -62,17 +62,17 @@ export interface Item extends ItemMetadataOneOf {
62
62
  * Date and time the item was created.
63
63
  * @readonly
64
64
  */
65
- createdDate?: Date | null;
65
+ _createdDate?: Date | null;
66
66
  /**
67
67
  * Date and time the item was last updated.
68
68
  * @readonly
69
69
  */
70
- updatedDate?: Date | null;
70
+ _updatedDate?: Date | null;
71
71
  /** Item tags. */
72
72
  tags?: Tags;
73
73
  }
74
74
  /** @oneof */
75
- export interface ItemMetadataOneOf {
75
+ interface ItemMetadataOneOf {
76
76
  /** Details about the image. */
77
77
  image?: Image;
78
78
  /** Details about the video. */
@@ -80,23 +80,21 @@ export interface ItemMetadataOneOf {
80
80
  /** Details about the text file. */
81
81
  text?: Text;
82
82
  }
83
- export interface Link {
83
+ interface Link {
84
84
  /** Display text of the link. */
85
85
  text?: string | null;
86
86
  /** Target URL of the link. */
87
87
  url?: string | null;
88
88
  }
89
- export declare enum LinkType {
89
+ declare enum LinkType {
90
90
  UNDEFINED = "UNDEFINED",
91
91
  /** External link. */
92
92
  EXTERNAL = "EXTERNAL",
93
93
  /** For internal usage using wixLinkData. */
94
94
  INTERNAL = "INTERNAL"
95
95
  }
96
- /** @enumType */
97
- export type LinkTypeWithLiterals = LinkType | 'UNDEFINED' | 'EXTERNAL' | 'INTERNAL';
98
96
  /** The link object generated by panels in the editor and used by applications in Wix */
99
- export interface WixLink extends WixLinkLinkOneOf {
97
+ interface WixLink extends WixLinkLinkOneOf {
100
98
  /** External link type */
101
99
  external?: ExternalLink;
102
100
  /** Page link type */
@@ -119,7 +117,7 @@ export interface WixLink extends WixLinkLinkOneOf {
119
117
  tpaPage?: TpaPageLink;
120
118
  }
121
119
  /** @oneof */
122
- export interface WixLinkLinkOneOf {
120
+ interface WixLinkLinkOneOf {
123
121
  /** External link type */
124
122
  external?: ExternalLink;
125
123
  /** Page link type */
@@ -141,7 +139,7 @@ export interface WixLinkLinkOneOf {
141
139
  /** TPA link type */
142
140
  tpaPage?: TpaPageLink;
143
141
  }
144
- export interface ExternalLink {
142
+ interface ExternalLink {
145
143
  /**
146
144
  * The url of the page
147
145
  * @format WEB_URL
@@ -155,7 +153,7 @@ export interface ExternalLink {
155
153
  * Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
156
154
  * Following are the accepted 'rel' types by Wix applications.
157
155
  */
158
- export declare enum LinkRel {
156
+ declare enum LinkRel {
159
157
  /** default (not implemented) */
160
158
  unknown_link_rel = "unknown_link_rel",
161
159
  /** Indicates that the current document's original author or publisher does not endorse the referenced document. */
@@ -168,8 +166,8 @@ export declare enum LinkRel {
168
166
  sponsored = "sponsored"
169
167
  }
170
168
  /** @enumType */
171
- export type LinkRelWithLiterals = LinkRel | 'unknown_link_rel' | 'nofollow' | 'noopener' | 'noreferrer' | 'sponsored';
172
- export interface PageLink {
169
+ type LinkRelWithLiterals = LinkRel | 'unknown_link_rel' | 'nofollow' | 'noopener' | 'noreferrer' | 'sponsored';
170
+ interface PageLink {
173
171
  /** The page id we want from the site */
174
172
  pageId?: string;
175
173
  /** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */
@@ -180,7 +178,7 @@ export interface PageLink {
180
178
  */
181
179
  rel?: LinkRelWithLiterals[];
182
180
  }
183
- export interface AnchorLink {
181
+ interface AnchorLink {
184
182
  /** The name of the anchor */
185
183
  anchorName?: string;
186
184
  /** The data id (from the JSON page) of the anchor that should be used */
@@ -193,7 +191,7 @@ export interface AnchorLink {
193
191
  */
194
192
  rel?: LinkRelWithLiterals[];
195
193
  }
196
- export interface DynamicPageLink {
194
+ interface DynamicPageLink {
197
195
  /** The router that handles this link */
198
196
  routerId?: string;
199
197
  /** The path data we'd like */
@@ -206,7 +204,7 @@ export interface DynamicPageLink {
206
204
  */
207
205
  rel?: LinkRelWithLiterals[];
208
206
  }
209
- export interface DocumentLink {
207
+ interface DocumentLink {
210
208
  /** The id of the document */
211
209
  docId?: string;
212
210
  /** The name of the document for download purposes */
@@ -214,7 +212,7 @@ export interface DocumentLink {
214
212
  /** If this document can be indexed by scrapers, default is false */
215
213
  indexable?: boolean;
216
214
  }
217
- export interface EmailLink {
215
+ interface EmailLink {
218
216
  /**
219
217
  * The email we will be sending a message to
220
218
  * @format EMAIL
@@ -225,7 +223,7 @@ export interface EmailLink {
225
223
  /** The body of the email */
226
224
  body?: string | null;
227
225
  }
228
- export interface PhoneLink {
226
+ interface PhoneLink {
229
227
  /**
230
228
  * The phone number we want to link to
231
229
  * @format PHONE
@@ -233,11 +231,11 @@ export interface PhoneLink {
233
231
  */
234
232
  phoneNumber?: string;
235
233
  }
236
- export interface AddressLink {
234
+ interface AddressLink {
237
235
  /** An address that we can link to */
238
236
  address?: string;
239
237
  }
240
- export interface WhatsAppLink {
238
+ interface WhatsAppLink {
241
239
  /**
242
240
  * The whatsApp phone number we want to connect with
243
241
  * @format PHONE
@@ -245,7 +243,7 @@ export interface WhatsAppLink {
245
243
  phoneNumber?: string;
246
244
  }
247
245
  /** Link to a TPA page */
248
- export interface TpaPageLink {
246
+ interface TpaPageLink {
249
247
  /** Type of item (e.g. 'wix.stores.sub_pages.product') */
250
248
  itemTypeIdentifier?: string;
251
249
  /** Id of linked item */
@@ -262,17 +260,17 @@ export interface TpaPageLink {
262
260
  */
263
261
  rel?: LinkRelWithLiterals[];
264
262
  }
265
- export declare enum Type {
263
+ declare enum Type {
266
264
  UNDEFINED = "UNDEFINED",
267
265
  IMAGE = "IMAGE",
268
266
  VIDEO = "VIDEO",
269
267
  TEXT = "TEXT"
270
268
  }
271
269
  /** @enumType */
272
- export type TypeWithLiterals = Type | 'UNDEFINED' | 'IMAGE' | 'VIDEO' | 'TEXT';
273
- export interface Image {
274
- /** Information about the Wix Media image. */
275
- imageInfo?: CommonImage;
270
+ type TypeWithLiterals = Type | 'UNDEFINED' | 'IMAGE' | 'VIDEO' | 'TEXT';
271
+ interface Image {
272
+ /** The image's Wix media URL in the following format: `'wix:image://v1/<uri>/<filename>#originWidth=<width>&originHeight=<height>[&watermark=<watermark_manifest_string>]'`. */
273
+ imageInfo?: string;
276
274
  /** Focal point of the image. */
277
275
  focalPoint?: Point;
278
276
  /** Set of key-value pairs describing the media in [Exchangeable Image File format](https://en.wikipedia.org/wiki/Exif). */
@@ -289,37 +287,18 @@ export interface Image {
289
287
  /** [Unsharp masking](https://en.wikipedia.org/wiki/Unsharp_masking) values of the image. */
290
288
  unsharpMasking?: UnsharpMasking;
291
289
  }
292
- export declare enum ImageType {
290
+ declare enum ImageType {
293
291
  UNDEFINED = "UNDEFINED",
294
292
  WIX_MEDIA = "WIX_MEDIA",
295
293
  EXTERNAL = "EXTERNAL"
296
294
  }
297
- /** @enumType */
298
- export type ImageTypeWithLiterals = ImageType | 'UNDEFINED' | 'WIX_MEDIA' | 'EXTERNAL';
299
- export interface CommonImage {
300
- /** *Required.** WixMedia image ID. */
301
- id?: string;
302
- /**
303
- * Image URL.
304
- * @readonly
305
- */
306
- url?: string;
307
- /** *Required.** Original image height. */
308
- height?: number;
309
- /** *Required.** Original image width. */
310
- width?: number;
311
- /** Image alt text. */
312
- altText?: string | null;
313
- /** Image filename. */
314
- filename?: string | null;
315
- }
316
- export interface Point {
295
+ interface Point {
317
296
  /** X-coordinate of the focal point. */
318
297
  x?: number;
319
298
  /** Y-coordinate of the focal point. */
320
299
  y?: number;
321
300
  }
322
- export interface UnsharpMasking {
301
+ interface UnsharpMasking {
323
302
  /**
324
303
  * Unsharp masking amount. Controls the sharpening strength. <br />
325
304
  *
@@ -339,38 +318,31 @@ export interface UnsharpMasking {
339
318
  */
340
319
  threshold?: number | null;
341
320
  }
342
- export interface Video {
321
+ interface Video {
343
322
  /** Type of video. */
344
323
  type?: VideoTypeWithLiterals;
345
- /** Information about the video. */
346
- videoInfo?: VideoV2;
324
+ /**
325
+ * The video's URL. Either a Wix media URL, or a supported https external URL in the following formats:
326
+ *
327
+ * Wix Media: `'wix:video://v1/6e6ea4_461425d7e7db4d5487a28e00c5ba6244/9e6ea4_461425d7e7db4d5487a28e00c5ba6277#posterUri=9e6ea4_461425d7e7db4d5487a28e00c5ba6277f000.jpg&posterWidth=960&posterHeight=540'`
328
+ *
329
+ * Vimeo: `'https://vimeo.com/378840916'`
330
+ *
331
+ * Youtube: `'https://www.youtube.com/results?search_query=uplifting+upbeat+music'`
332
+ */
333
+ videoInfo?: string;
347
334
  /** Manually defined video duration in milliseconds. */
348
335
  durationInMillis?: number | null;
349
336
  }
350
- export declare enum VideoType {
337
+ declare enum VideoType {
351
338
  UNDEFINED = "UNDEFINED",
352
339
  WIX_MEDIA = "WIX_MEDIA",
353
340
  YOUTUBE = "YOUTUBE",
354
341
  VIMEO = "VIMEO"
355
342
  }
356
343
  /** @enumType */
357
- export type VideoTypeWithLiterals = VideoType | 'UNDEFINED' | 'WIX_MEDIA' | 'YOUTUBE' | 'VIMEO';
358
- export interface VideoV2 {
359
- /** WixMedia ID. Required when associating an existing Wix Media video. */
360
- id?: string;
361
- /** Video URL. Required when associating a video from an external source. Supported sources: YouTube, Vimeo. */
362
- url?: string;
363
- /**
364
- * Available resolutions for the video, starting with the optimal resolution.
365
- * @maxSize 100
366
- */
367
- resolutions?: VideoResolution[];
368
- /** Video filename. */
369
- filename?: string | null;
370
- /** Video posters. */
371
- posters?: CommonImage[];
372
- }
373
- export interface VideoResolution {
344
+ type VideoTypeWithLiterals = VideoType | 'UNDEFINED' | 'WIX_MEDIA' | 'YOUTUBE' | 'VIMEO';
345
+ interface VideoResolution {
374
346
  /** *Required.** Video URL. */
375
347
  url?: string;
376
348
  /** *Required.** Video height. */
@@ -384,13 +356,13 @@ export interface VideoResolution {
384
356
  /** Video filename. */
385
357
  filename?: string | null;
386
358
  }
387
- export interface Text {
359
+ interface Text {
388
360
  /** Text in HTML format. */
389
361
  html?: string | null;
390
362
  /**
391
363
  * Set of key-value pairs describing the [CSS style](https://en.wikipedia.org/wiki/CSS) of the text.
392
364
  *
393
- * __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.
365
+ * __Note:__ The object structure is customizable. See the [`listGalleryItems()`](/pro-gallery/list-gallery-items) code example for supported values.
394
366
  */
395
367
  css?: Record<string, any> | null;
396
368
  /** Reserved for internal use. */
@@ -398,24 +370,24 @@ export interface Text {
398
370
  /** Reserved for internal use. */
399
371
  editorFontId?: string | null;
400
372
  }
401
- export interface Tags {
373
+ interface Tags {
402
374
  /** List of tags assigned to the media item. */
403
375
  values?: string[];
404
376
  }
405
- export interface SecondaryMedia extends SecondaryMediaMetadataOneOf {
377
+ interface SecondaryMedia extends SecondaryMediaMetadataOneOf {
406
378
  /** secondary media photo metadata (optional) */
407
379
  image?: Image;
408
380
  /** secondary media text metadata (optional) */
409
381
  text?: Text;
410
382
  }
411
383
  /** @oneof */
412
- export interface SecondaryMediaMetadataOneOf {
384
+ interface SecondaryMediaMetadataOneOf {
413
385
  /** secondary media photo metadata (optional) */
414
386
  image?: Image;
415
387
  /** secondary media text metadata (optional) */
416
388
  text?: Text;
417
389
  }
418
- export interface InvalidateCache extends InvalidateCacheGetByOneOf {
390
+ interface InvalidateCache extends InvalidateCacheGetByOneOf {
419
391
  /**
420
392
  * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
421
393
  * @format GUID
@@ -446,7 +418,7 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
446
418
  hardPurge?: boolean;
447
419
  }
448
420
  /** @oneof */
449
- export interface InvalidateCacheGetByOneOf {
421
+ interface InvalidateCacheGetByOneOf {
450
422
  /**
451
423
  * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
452
424
  * @format GUID
@@ -468,7 +440,7 @@ export interface InvalidateCacheGetByOneOf {
468
440
  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
469
441
  customTag?: CustomTag;
470
442
  }
471
- export interface App {
443
+ interface App {
472
444
  /**
473
445
  * The AppDefId
474
446
  * @minLength 1
@@ -480,7 +452,7 @@ export interface App {
480
452
  */
481
453
  instanceId?: string;
482
454
  }
483
- export interface Page {
455
+ interface Page {
484
456
  /**
485
457
  * the msid the page is on
486
458
  * @format GUID
@@ -492,7 +464,7 @@ export interface Page {
492
464
  */
493
465
  pageId?: string;
494
466
  }
495
- export interface URI {
467
+ interface URI {
496
468
  /**
497
469
  * the msid the URI is on
498
470
  * @format GUID
@@ -504,7 +476,7 @@ export interface URI {
504
476
  */
505
477
  uriPath?: string;
506
478
  }
507
- export interface File {
479
+ interface File {
508
480
  /**
509
481
  * the msid the file is related to
510
482
  * @format GUID
@@ -517,7 +489,7 @@ export interface File {
517
489
  */
518
490
  fileName?: string;
519
491
  }
520
- export interface CustomTag {
492
+ interface CustomTag {
521
493
  /**
522
494
  * the msid the tag is related to
523
495
  * @format GUID
@@ -530,7 +502,7 @@ export interface CustomTag {
530
502
  */
531
503
  tag?: string;
532
504
  }
533
- export interface GalleryPublished {
505
+ interface GalleryPublished {
534
506
  /**
535
507
  * id of the gallery that will be published
536
508
  * @readonly
@@ -543,7 +515,7 @@ export interface GalleryPublished {
543
515
  /** @readonly */
544
516
  oldRevision?: Date | null;
545
517
  }
546
- export interface CleanDeletedGalleriesEvent {
518
+ interface CleanDeletedGalleriesEvent {
547
519
  /**
548
520
  * @readonly
549
521
  * @format GUID
@@ -559,34 +531,34 @@ export interface CleanDeletedGalleriesEvent {
559
531
  /** @readonly */
560
532
  timeSitePublished?: Date | null;
561
533
  }
562
- export interface ProgallerypublisherPublishGalleryRequest {
534
+ interface ProgallerypublisherPublishGalleryRequest {
563
535
  /**
564
536
  * id of the gallery that will be published
565
537
  * @format GUID
566
538
  */
567
539
  galleryId?: string;
568
540
  }
569
- export interface ProgallerypublisherPublishGalleryResponse {
541
+ interface ProgallerypublisherPublishGalleryResponse {
570
542
  }
571
- export interface GetActiveGalleryRevisionRequest {
543
+ interface GetActiveGalleryRevisionRequest {
572
544
  /** @format GUID */
573
545
  galleryId?: string;
574
546
  }
575
- export interface GetActiveGalleryRevisionResponse {
547
+ interface GetActiveGalleryRevisionResponse {
576
548
  galleryActiveRevision?: Date | null;
577
549
  htmlSiteRevision?: string | null;
578
550
  }
579
- export interface GetGalleryRevisionRequest {
551
+ interface GetGalleryRevisionRequest {
580
552
  /** @format GUID */
581
553
  galleryId?: string;
582
554
  revision?: Date | null;
583
555
  }
584
- export interface GetGalleryRevisionResponse {
556
+ interface GetGalleryRevisionResponse {
585
557
  htmlSiteRevision?: string | null;
586
558
  /** @format GUID */
587
559
  instanceId?: string | null;
588
560
  }
589
- export interface PublishGalleryItemRequest {
561
+ interface PublishGalleryItemRequest {
590
562
  /**
591
563
  * id of the gallery that will be published
592
564
  * @format GUID
@@ -598,9 +570,9 @@ export interface PublishGalleryItemRequest {
598
570
  */
599
571
  itemId?: string;
600
572
  }
601
- export interface PublishGalleryItemResponse {
573
+ interface PublishGalleryItemResponse {
602
574
  }
603
- export interface PublishGalleryItemsRequest {
575
+ interface PublishGalleryItemsRequest {
604
576
  /**
605
577
  * id of the gallery that will be published
606
578
  * @format GUID
@@ -614,11 +586,11 @@ export interface PublishGalleryItemsRequest {
614
586
  */
615
587
  itemIds?: string[];
616
588
  }
617
- export interface PublishGalleryItemsResponse {
589
+ interface PublishGalleryItemsResponse {
618
590
  }
619
- export interface Empty {
591
+ interface Empty {
620
592
  }
621
- export interface HtmlSitePublished {
593
+ interface HtmlSitePublished {
622
594
  /**
623
595
  * Application instance ID
624
596
  * @maxLength 50
@@ -648,14 +620,14 @@ export interface HtmlSitePublished {
648
620
  /** Site's publish date */
649
621
  publishDate?: string;
650
622
  }
651
- export interface EventsPage {
623
+ interface EventsPage {
652
624
  /**
653
625
  * Page's Id
654
626
  * @maxLength 100
655
627
  */
656
- id?: string;
628
+ _id?: string;
657
629
  }
658
- export interface HtmlSiteRCPublished {
630
+ interface HtmlSiteRCPublished {
659
631
  /**
660
632
  * Application instance ID
661
633
  * @maxLength 50
@@ -673,7 +645,7 @@ export interface HtmlSiteRCPublished {
673
645
  /** RC label */
674
646
  rcLabel?: RCLabelWithLiterals;
675
647
  }
676
- export declare enum RCLabel {
648
+ declare enum RCLabel {
677
649
  /** Illegal default value, exception will be thrown if used */
678
650
  UNKNOWN = "UNKNOWN",
679
651
  RELEASE_MANAGER = "RELEASE_MANAGER",
@@ -685,14 +657,15 @@ export declare enum RCLabel {
685
657
  ACCESSIBILITY = "ACCESSIBILITY"
686
658
  }
687
659
  /** @enumType */
688
- export type RCLabelWithLiterals = RCLabel | 'UNKNOWN' | 'RELEASE_MANAGER' | 'BLOCKS' | 'WIX_CLI' | 'MOBILE_APP_BUILDER' | 'SEO' | 'FEEDBACK' | 'ACCESSIBILITY';
689
- export interface DomainEvent extends DomainEventBodyOneOf {
660
+ type RCLabelWithLiterals = RCLabel | 'UNKNOWN' | 'RELEASE_MANAGER' | 'BLOCKS' | 'WIX_CLI' | 'MOBILE_APP_BUILDER' | 'SEO' | 'FEEDBACK' | 'ACCESSIBILITY';
661
+ interface DomainEvent extends DomainEventBodyOneOf {
662
+ /** Information about a newly-created gallery. */
690
663
  createdEvent?: EntityCreatedEvent;
691
664
  updatedEvent?: EntityUpdatedEvent;
692
665
  deletedEvent?: EntityDeletedEvent;
693
666
  actionEvent?: ActionEvent;
694
667
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
695
- id?: string;
668
+ _id?: string;
696
669
  /**
697
670
  * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
698
671
  * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
@@ -721,36 +694,34 @@ export interface DomainEvent extends DomainEventBodyOneOf {
721
694
  entityEventSequence?: string | null;
722
695
  }
723
696
  /** @oneof */
724
- export interface DomainEventBodyOneOf {
697
+ interface DomainEventBodyOneOf {
725
698
  createdEvent?: EntityCreatedEvent;
726
699
  updatedEvent?: EntityUpdatedEvent;
727
700
  deletedEvent?: EntityDeletedEvent;
728
701
  actionEvent?: ActionEvent;
729
702
  }
730
- export interface EntityCreatedEvent {
731
- entityAsJson?: string;
732
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
733
- restoreInfo?: RestoreInfo;
703
+ interface EntityCreatedEvent {
704
+ entity?: string;
734
705
  }
735
- export interface RestoreInfo {
706
+ interface RestoreInfo {
736
707
  deletedDate?: Date | null;
737
708
  }
738
- export interface EntityUpdatedEvent {
709
+ interface EntityUpdatedEvent {
739
710
  /**
740
711
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
741
712
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
742
713
  * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
743
714
  */
744
- currentEntityAsJson?: string;
715
+ currentEntity?: string;
745
716
  }
746
- export interface EntityDeletedEvent {
717
+ interface EntityDeletedEvent {
747
718
  /** Entity that was deleted. */
748
- deletedEntityAsJson?: string | null;
719
+ deletedEntity?: string | null;
749
720
  }
750
- export interface ActionEvent {
751
- bodyAsJson?: string;
721
+ interface ActionEvent {
722
+ body?: string;
752
723
  }
753
- export interface MessageEnvelope {
724
+ interface MessageEnvelope {
754
725
  /**
755
726
  * App instance ID.
756
727
  * @format GUID
@@ -766,7 +737,7 @@ export interface MessageEnvelope {
766
737
  /** Stringify payload. */
767
738
  data?: string;
768
739
  }
769
- export interface IdentificationData extends IdentificationDataIdOneOf {
740
+ interface IdentificationData extends IdentificationDataIdOneOf {
770
741
  /**
771
742
  * ID of a site visitor that has not logged in to the site.
772
743
  * @format GUID
@@ -791,7 +762,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
791
762
  identityType?: WebhookIdentityTypeWithLiterals;
792
763
  }
793
764
  /** @oneof */
794
- export interface IdentificationDataIdOneOf {
765
+ interface IdentificationDataIdOneOf {
795
766
  /**
796
767
  * ID of a site visitor that has not logged in to the site.
797
768
  * @format GUID
@@ -813,7 +784,7 @@ export interface IdentificationDataIdOneOf {
813
784
  */
814
785
  appId?: string;
815
786
  }
816
- export declare enum WebhookIdentityType {
787
+ declare enum WebhookIdentityType {
817
788
  UNKNOWN = "UNKNOWN",
818
789
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
819
790
  MEMBER = "MEMBER",
@@ -821,15 +792,15 @@ export declare enum WebhookIdentityType {
821
792
  APP = "APP"
822
793
  }
823
794
  /** @enumType */
824
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
825
- export interface RestoreAllGalleriesEvent {
795
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
796
+ interface RestoreAllGalleriesEvent {
826
797
  /**
827
798
  * instance id of galleries to restore
828
799
  * @format GUID
829
800
  */
830
801
  instanceId?: string;
831
802
  }
832
- export interface ListGalleriesItemsRequest {
803
+ interface ListGalleriesItemsRequest {
833
804
  /**
834
805
  * IDs of the media items to retrieve.
835
806
  * @minSize 1
@@ -837,7 +808,7 @@ export interface ListGalleriesItemsRequest {
837
808
  */
838
809
  itemsId?: ItemId[];
839
810
  }
840
- export interface ItemId {
811
+ interface ItemId {
841
812
  /**
842
813
  * Gallery ID.
843
814
  * @format GUID
@@ -849,11 +820,11 @@ export interface ItemId {
849
820
  */
850
821
  itemId?: string;
851
822
  }
852
- export interface ListGalleriesItemsResponse {
823
+ interface ListGalleriesItemsResponse {
853
824
  /** Retrieved media items. */
854
825
  itemsInGalleries?: ItemsInGallery[];
855
826
  }
856
- export interface ItemsInGallery {
827
+ interface ItemsInGallery {
857
828
  /**
858
829
  * Gallery ID.
859
830
  * @format GUID
@@ -862,59 +833,47 @@ export interface ItemsInGallery {
862
833
  /** Retrieved media items. */
863
834
  items?: Item[];
864
835
  }
865
- export interface TriggerRestoreAllGalleriesAsyncRequest {
836
+ interface TriggerRestoreAllGalleriesAsyncRequest {
866
837
  /**
867
838
  * instance id of galleries to restore
868
839
  * @format GUID
869
840
  */
870
841
  instanceId?: string;
871
842
  }
872
- export interface TriggerRestoreAllGalleriesAsyncResponse {
843
+ interface TriggerRestoreAllGalleriesAsyncResponse {
873
844
  }
874
- export interface GalleryItemCreated {
845
+ interface GalleryItemCreated {
875
846
  /** Created gallery item. */
876
847
  item?: Item;
877
848
  }
878
- export interface GalleryItemUpdated {
849
+ interface GalleryItemUpdated {
879
850
  /** Updated gallery item. */
880
851
  updatedItem?: Item;
881
852
  }
882
- export interface GalleryItemDeleted {
853
+ interface GalleryItemDeleted {
883
854
  /**
884
855
  * ID of the deleted gallery item.
885
856
  * @format GUID
886
857
  */
887
858
  itemId?: string;
888
859
  }
889
- export interface ListGalleriesRequest {
860
+ interface ListGalleriesRequest {
890
861
  /**
891
- * Maximum number of media items to return. <br />
892
- *
893
- * Min: `1` <br />
894
- * Max: `100` <br />
895
- * Default: `10`
862
+ * Number of galleries to list. Defaults to `10`.
896
863
  * @min 1
897
864
  * @max 100
898
865
  */
899
866
  itemLimit?: number | null;
900
- /**
901
- * Number of galleries to skip in the response. <br />
902
- *
903
- * Default: `0`
904
- */
867
+ /** Number of galleries to skip in the returns. Defaults to `0`. */
905
868
  offset?: number | null;
906
869
  /**
907
- * Maximum number of galleries to return. <br />
908
- *
909
- * Min: `1` <br />
910
- * Max: `10` <br />
911
- * Default: `10`
870
+ * Number of galleries to list. Defaults to `10`.
912
871
  * @min 1
913
872
  * @max 10
914
873
  */
915
874
  limit?: number | null;
916
875
  }
917
- export declare enum State {
876
+ declare enum State {
918
877
  /** Undefined state. */
919
878
  UNDEFINED = "UNDEFINED",
920
879
  /** The gallery in the Editor. */
@@ -922,25 +881,19 @@ export declare enum State {
922
881
  /** The gallery in the LiveSite. */
923
882
  PUBLISHED = "PUBLISHED"
924
883
  }
925
- /** @enumType */
926
- export type StateWithLiterals = State | 'UNDEFINED' | 'SAVED' | 'PUBLISHED';
927
- export interface ListGalleriesResponse {
884
+ interface ListGalleriesResponse {
928
885
  /** Total number of galleries in the site. */
929
886
  totalGalleries?: number | null;
930
- /** List of galleries. Sorted by `createdDate`. */
887
+ /** List of galleries. Sorted by `_createdDate`. */
931
888
  galleries?: Gallery[];
932
889
  }
933
- export interface GetGalleryRequest extends GetGalleryRequestVersionOneOf {
890
+ interface GetGalleryRequest extends GetGalleryRequestVersionOneOf {
934
891
  /**
935
892
  * Gallery ID.
936
893
  * @format GUID
937
894
  */
938
895
  galleryId: string;
939
- /**
940
- * Number of media items to skip in the response. <br />
941
- *
942
- * Default: `0`
943
- */
896
+ /** Number of media items to skip in the returns. Defaults to `0`. */
944
897
  itemOffset?: number | null;
945
898
  /**
946
899
  * Maximum number of media items to return. <br />
@@ -954,23 +907,19 @@ export interface GetGalleryRequest extends GetGalleryRequestVersionOneOf {
954
907
  itemLimit?: number | null;
955
908
  }
956
909
  /** @oneof */
957
- export interface GetGalleryRequestVersionOneOf {
910
+ interface GetGalleryRequestVersionOneOf {
958
911
  }
959
- export interface GetGalleryResponse {
912
+ interface GetGalleryResponse {
960
913
  /** Returned gallery. */
961
914
  gallery?: Gallery;
962
915
  }
963
- export interface ListGalleryItemsRequest {
916
+ interface ListGalleryItemsRequest {
964
917
  /**
965
918
  * Gallery ID.
966
919
  * @format GUID
967
920
  */
968
921
  galleryId: string;
969
- /**
970
- * Number of media items to skip in the response. <br />
971
- *
972
- * Default: `0`
973
- */
922
+ /** Number of media items to skip in the returns. Defaults to `0`. */
974
923
  itemOffset?: number | null;
975
924
  /**
976
925
  * Maximum number of media items to return. <br />
@@ -983,11 +932,11 @@ export interface ListGalleryItemsRequest {
983
932
  */
984
933
  itemLimit?: number | null;
985
934
  }
986
- export interface ListGalleryItemsResponse {
935
+ interface ListGalleryItemsResponse {
987
936
  /** List of media items in the gallery. */
988
937
  items?: Item[];
989
938
  }
990
- export interface GetGalleryItemRequest {
939
+ interface GetGalleryItemRequest {
991
940
  /**
992
941
  * Gallery ID.
993
942
  * @format GUID
@@ -999,11 +948,11 @@ export interface GetGalleryItemRequest {
999
948
  */
1000
949
  itemId: string;
1001
950
  }
1002
- export interface GetGalleryItemResponse {
951
+ interface GetGalleryItemResponse {
1003
952
  /** Returned media item. */
1004
953
  item?: Item;
1005
954
  }
1006
- export interface CreateGalleryRequest {
955
+ interface CreateGalleryRequest {
1007
956
  /** Gallery to create. */
1008
957
  gallery?: Gallery;
1009
958
  /**
@@ -1012,26 +961,26 @@ export interface CreateGalleryRequest {
1012
961
  */
1013
962
  cloneFromGalleryId?: string | null;
1014
963
  }
1015
- export interface CreateGalleryResponse {
964
+ interface CreateGalleryResponse {
1016
965
  /** Created gallery. */
1017
966
  gallery?: Gallery;
1018
967
  }
1019
- export interface UpdateGalleryRequest {
968
+ interface UpdateGalleryRequest {
1020
969
  /** Gallery to update. */
1021
970
  gallery: Gallery;
1022
971
  }
1023
- export interface UpdateGalleryResponse {
972
+ interface UpdateGalleryResponse {
1024
973
  /** Updated gallery. */
1025
974
  gallery?: Gallery;
1026
975
  }
1027
- export interface DeleteGalleryRequest {
976
+ interface DeleteGalleryRequest {
1028
977
  /**
1029
978
  * ID of the gallery to delete.
1030
979
  * @format GUID
1031
980
  */
1032
981
  galleryId: string;
1033
982
  }
1034
- export interface DeleteGalleryResponse {
983
+ interface DeleteGalleryResponse {
1035
984
  /**
1036
985
  * ID of the deleted gallery.
1037
986
  * @readonly
@@ -1039,7 +988,7 @@ export interface DeleteGalleryResponse {
1039
988
  */
1040
989
  galleryId?: string;
1041
990
  }
1042
- export interface DeleteGalleryItemsRequest {
991
+ interface DeleteGalleryItemsRequest {
1043
992
  /**
1044
993
  * Gallery ID.
1045
994
  * @format GUID
@@ -1051,11 +1000,11 @@ export interface DeleteGalleryItemsRequest {
1051
1000
  */
1052
1001
  itemsIds?: string[];
1053
1002
  }
1054
- export interface DeleteGalleryItemsResponse {
1003
+ interface DeleteGalleryItemsResponse {
1055
1004
  /** Gallery that previously included the deleted media item. */
1056
1005
  gallery?: Gallery;
1057
1006
  }
1058
- export interface BulkDeleteGalleryItemsRequest {
1007
+ interface BulkDeleteGalleryItemsRequest {
1059
1008
  /**
1060
1009
  * Gallery ID.
1061
1010
  * @format GUID
@@ -1069,7 +1018,7 @@ export interface BulkDeleteGalleryItemsRequest {
1069
1018
  */
1070
1019
  itemIds: string[];
1071
1020
  }
1072
- export interface BulkDeleteGalleryItemsResponse {
1021
+ interface BulkDeleteGalleryItemsResponse {
1073
1022
  /**
1074
1023
  * IDs of the deleted media items.
1075
1024
  * @readonly
@@ -1077,7 +1026,7 @@ export interface BulkDeleteGalleryItemsResponse {
1077
1026
  */
1078
1027
  itemIds?: string[];
1079
1028
  }
1080
- export interface CreateGalleryItemRequest {
1029
+ interface CreateGalleryItemRequest {
1081
1030
  /**
1082
1031
  * Gallery ID.
1083
1032
  * @format GUID
@@ -1086,11 +1035,11 @@ export interface CreateGalleryItemRequest {
1086
1035
  /** Media item to create. */
1087
1036
  item: Item;
1088
1037
  }
1089
- export interface CreateGalleryItemResponse {
1038
+ interface CreateGalleryItemResponse {
1090
1039
  /** Created media item. */
1091
1040
  item?: Item;
1092
1041
  }
1093
- export interface CreateGalleryItemsRequest {
1042
+ interface CreateGalleryItemsRequest {
1094
1043
  /**
1095
1044
  * Gallery ID.
1096
1045
  * @format GUID
@@ -1102,24 +1051,24 @@ export interface CreateGalleryItemsRequest {
1102
1051
  */
1103
1052
  items?: Item[];
1104
1053
  }
1105
- export interface CreateGalleryItemsResponse {
1054
+ interface CreateGalleryItemsResponse {
1106
1055
  /** Created media items. */
1107
1056
  items?: Item[];
1108
1057
  }
1109
- export interface UpdateGalleryItemRequest {
1058
+ interface UpdateGalleryItemRequest {
1110
1059
  /**
1111
1060
  * Gallery ID.
1112
1061
  * @format GUID
1113
1062
  */
1114
1063
  galleryId: string;
1115
- /** Media item to update. */
1064
+ /** The information for the media item being updated. */
1116
1065
  item: Item;
1117
1066
  }
1118
- export interface UpdateGalleryItemResponse {
1067
+ interface UpdateGalleryItemResponse {
1119
1068
  /** Updated media item. */
1120
1069
  item?: Item;
1121
1070
  }
1122
- export interface DeleteGalleryItemRequest {
1071
+ interface DeleteGalleryItemRequest {
1123
1072
  /**
1124
1073
  * Gallery ID.
1125
1074
  * @format GUID
@@ -1131,7 +1080,7 @@ export interface DeleteGalleryItemRequest {
1131
1080
  */
1132
1081
  itemId: string;
1133
1082
  }
1134
- export interface DeleteGalleryItemResponse {
1083
+ interface DeleteGalleryItemResponse {
1135
1084
  /**
1136
1085
  * ID of the deleted media item.
1137
1086
  * @readonly
@@ -1139,18 +1088,18 @@ export interface DeleteGalleryItemResponse {
1139
1088
  */
1140
1089
  itemId?: string;
1141
1090
  }
1142
- export interface PublishGalleryRequest {
1091
+ interface PublishGalleryRequest {
1143
1092
  /**
1144
1093
  * ID of the gallery to publish.
1145
1094
  * @format GUID
1146
1095
  */
1147
1096
  galleryId?: string;
1148
1097
  }
1149
- export interface PublishGalleryResponse {
1098
+ interface PublishGalleryResponse {
1150
1099
  /** Published gallery. */
1151
1100
  gallery?: Gallery;
1152
1101
  }
1153
- export interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
1102
+ interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
1154
1103
  /** insert/update documents */
1155
1104
  update?: DocumentUpdateOperation;
1156
1105
  /** delete by document ids */
@@ -1183,7 +1132,7 @@ export interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf
1183
1132
  msId?: string | null;
1184
1133
  }
1185
1134
  /** @oneof */
1186
- export interface UpdateDocumentsEventOperationOneOf {
1135
+ interface UpdateDocumentsEventOperationOneOf {
1187
1136
  /** insert/update documents */
1188
1137
  update?: DocumentUpdateOperation;
1189
1138
  /** delete by document ids */
@@ -1195,11 +1144,11 @@ export interface UpdateDocumentsEventOperationOneOf {
1195
1144
  /** update only existing documents */
1196
1145
  updateExisting?: UpdateExistingOperation;
1197
1146
  }
1198
- export interface DocumentUpdateOperation {
1147
+ interface DocumentUpdateOperation {
1199
1148
  /** documents to index or update */
1200
1149
  documents?: IndexDocument[];
1201
1150
  }
1202
- export interface IndexDocument {
1151
+ interface IndexDocument {
1203
1152
  /** data bag with non-searchable fields (url, image) */
1204
1153
  payload?: DocumentPayload;
1205
1154
  /** what type of users should documents be visible to */
@@ -1213,13 +1162,13 @@ export interface IndexDocument {
1213
1162
  /** if true the page is a lightbox popup */
1214
1163
  isPopup?: boolean | null;
1215
1164
  }
1216
- export interface DocumentPayload {
1165
+ interface DocumentPayload {
1217
1166
  /** url of the page representing the document */
1218
1167
  url?: string | null;
1219
1168
  /** image which represents the document */
1220
1169
  documentImage?: DocumentImage;
1221
1170
  }
1222
- export interface DocumentImage {
1171
+ interface DocumentImage {
1223
1172
  /** the name of the image */
1224
1173
  name?: string;
1225
1174
  /** the width of the image */
@@ -1227,7 +1176,7 @@ export interface DocumentImage {
1227
1176
  /** the height of the image */
1228
1177
  height?: number;
1229
1178
  }
1230
- export declare enum Enum {
1179
+ declare enum Enum {
1231
1180
  /** Default value. Means that permission not set */
1232
1181
  UNKNOWN = "UNKNOWN",
1233
1182
  /** Protected exposure. Exposed to members and owners */
@@ -1242,26 +1191,26 @@ export declare enum Enum {
1242
1191
  GROUP_PROTECTED = "GROUP_PROTECTED"
1243
1192
  }
1244
1193
  /** @enumType */
1245
- export type EnumWithLiterals = Enum | 'UNKNOWN' | 'PROTECTED' | 'PRIVATE' | 'PUBLIC' | 'UNCHANGED' | 'GROUP_PROTECTED';
1246
- export interface DeleteByIdsOperation {
1194
+ type EnumWithLiterals = Enum | 'UNKNOWN' | 'PROTECTED' | 'PRIVATE' | 'PUBLIC' | 'UNCHANGED' | 'GROUP_PROTECTED';
1195
+ interface DeleteByIdsOperation {
1247
1196
  /** ids of the documents to delete */
1248
1197
  documentIds?: string[];
1249
1198
  }
1250
- export interface DeleteByFilterOperation {
1199
+ interface DeleteByFilterOperation {
1251
1200
  /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
1252
1201
  filter?: Record<string, any> | null;
1253
1202
  }
1254
- export interface UpdateByFilterOperation {
1203
+ interface UpdateByFilterOperation {
1255
1204
  /** documents matching this filter will be updated */
1256
1205
  filter?: Record<string, any> | null;
1257
1206
  /** partial document to apply */
1258
1207
  document?: IndexDocument;
1259
1208
  }
1260
- export interface UpdateExistingOperation {
1209
+ interface UpdateExistingOperation {
1261
1210
  /** documents to update */
1262
1211
  documents?: IndexDocument[];
1263
1212
  }
1264
- export interface SearchIndexingNotification {
1213
+ interface SearchIndexingNotification {
1265
1214
  /** new state of indexing for the site specified in ms_id */
1266
1215
  indexState?: SearchIndexingNotificationStateWithLiterals;
1267
1216
  /** type of the document the notification is targeted for. Applies to all types if not provided */
@@ -1274,7 +1223,7 @@ export interface SearchIndexingNotification {
1274
1223
  */
1275
1224
  msId?: string | null;
1276
1225
  }
1277
- export declare enum SearchIndexingNotificationState {
1226
+ declare enum SearchIndexingNotificationState {
1278
1227
  /** default state */
1279
1228
  Unknown = "Unknown",
1280
1229
  /** metasite does not require site search indexing */
@@ -1283,4 +1232,246 @@ export declare enum SearchIndexingNotificationState {
1283
1232
  On = "On"
1284
1233
  }
1285
1234
  /** @enumType */
1286
- export type SearchIndexingNotificationStateWithLiterals = SearchIndexingNotificationState | 'Unknown' | 'Off' | 'On';
1235
+ type SearchIndexingNotificationStateWithLiterals = SearchIndexingNotificationState | 'Unknown' | 'Off' | 'On';
1236
+ interface BaseEventMetadata {
1237
+ /**
1238
+ * App instance ID.
1239
+ * @format GUID
1240
+ */
1241
+ instanceId?: string | null;
1242
+ /**
1243
+ * Event type.
1244
+ * @maxLength 150
1245
+ */
1246
+ eventType?: string;
1247
+ /** The identification type and identity data. */
1248
+ identity?: IdentificationData;
1249
+ }
1250
+ interface EventMetadata extends BaseEventMetadata {
1251
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1252
+ _id?: string;
1253
+ /**
1254
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1255
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1256
+ */
1257
+ entityFqdn?: string;
1258
+ /**
1259
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1260
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1261
+ */
1262
+ slug?: string;
1263
+ /** ID of the entity associated with the event. */
1264
+ entityId?: string;
1265
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1266
+ eventTime?: Date | null;
1267
+ /**
1268
+ * Whether the event was triggered as a result of a privacy regulation application
1269
+ * (for example, GDPR).
1270
+ */
1271
+ triggeredByAnonymizeRequest?: boolean | null;
1272
+ /** If present, indicates the action that triggered the event. */
1273
+ originatedFrom?: string | null;
1274
+ /**
1275
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1276
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1277
+ */
1278
+ entityEventSequence?: string | null;
1279
+ }
1280
+ interface GalleryCreatedEnvelope {
1281
+ entity: Gallery;
1282
+ metadata: EventMetadata;
1283
+ }
1284
+ interface GalleryDeletedEnvelope {
1285
+ metadata: EventMetadata;
1286
+ }
1287
+ interface GalleryItemCreatedEnvelope {
1288
+ data: GalleryItemCreated;
1289
+ metadata: EventMetadata;
1290
+ }
1291
+ interface GalleryItemDeletedEnvelope {
1292
+ data: GalleryItemDeleted;
1293
+ metadata: EventMetadata;
1294
+ }
1295
+ interface GalleryItemUpdatedEnvelope {
1296
+ data: GalleryItemUpdated;
1297
+ metadata: EventMetadata;
1298
+ }
1299
+ interface GalleryUpdatedEnvelope {
1300
+ entity: Gallery;
1301
+ metadata: EventMetadata;
1302
+ }
1303
+ interface ListGalleriesOptions {
1304
+ /**
1305
+ * Number of galleries to list. Defaults to `10`.
1306
+ * @min 1
1307
+ * @max 100
1308
+ */
1309
+ itemLimit?: number | null;
1310
+ /** Number of galleries to skip in the returns. Defaults to `0`. */
1311
+ offset?: number | null;
1312
+ /**
1313
+ * Number of galleries to list. Defaults to `10`.
1314
+ * @min 1
1315
+ * @max 10
1316
+ */
1317
+ limit?: number | null;
1318
+ }
1319
+ interface GetGalleryOptions extends GetGalleryOptionsVersionOneOf {
1320
+ /** Number of media items to skip in the returns. Defaults to `0`. */
1321
+ itemOffset?: number | null;
1322
+ /**
1323
+ * Maximum number of media items to return. <br />
1324
+ *
1325
+ * Min: `1` <br />
1326
+ * Max: `100` <br />
1327
+ * Default: `50`
1328
+ * @min 1
1329
+ * @max 200
1330
+ */
1331
+ itemLimit?: number | null;
1332
+ }
1333
+ /** @oneof */
1334
+ interface GetGalleryOptionsVersionOneOf {
1335
+ }
1336
+ interface ListGalleryItemsOptions {
1337
+ /** Number of media items to skip in the returns. Defaults to `0`. */
1338
+ itemOffset?: number | null;
1339
+ /**
1340
+ * Maximum number of media items to return. <br />
1341
+ *
1342
+ * Min: `1` <br />
1343
+ * Max: `100` <br />
1344
+ * Default: `50`
1345
+ * @min 1
1346
+ * @max 200
1347
+ */
1348
+ itemLimit?: number | null;
1349
+ }
1350
+ interface GetGalleryItemIdentifiers {
1351
+ /**
1352
+ * Gallery ID.
1353
+ * @format GUID
1354
+ */
1355
+ galleryId: string;
1356
+ /**
1357
+ * Item ID.
1358
+ * @format GUID
1359
+ */
1360
+ itemId: string;
1361
+ }
1362
+ interface CreateGalleryOptions {
1363
+ /** Gallery to create. */
1364
+ gallery?: Gallery;
1365
+ /**
1366
+ * Gallery ID to clone from.
1367
+ * @format GUID
1368
+ */
1369
+ cloneFromGalleryId?: string | null;
1370
+ }
1371
+ interface UpdateGallery {
1372
+ /**
1373
+ * Gallery ID.
1374
+ * @readonly
1375
+ * @format GUID
1376
+ */
1377
+ _id?: string | null;
1378
+ /** Gallery name. */
1379
+ name?: string | null;
1380
+ /**
1381
+ * Total number of items in the gallery.
1382
+ * @readonly
1383
+ */
1384
+ totalItems?: number | null;
1385
+ /** Media items in the gallery. */
1386
+ items?: Item[];
1387
+ /**
1388
+ * Index that determines which position a gallery is displayed on the site. <br />
1389
+ *
1390
+ * >**Note:** If you assign the same sort order index to more than one gallery, the function fails.
1391
+ */
1392
+ sortOrder?: number | null;
1393
+ /**
1394
+ * Date and time the gallery was created.
1395
+ * @readonly
1396
+ */
1397
+ _createdDate?: Date | null;
1398
+ }
1399
+ interface DeleteGalleryItemsOptions {
1400
+ /**
1401
+ * ID of the media item to delete.
1402
+ * @format GUID
1403
+ */
1404
+ itemsIds?: string[];
1405
+ }
1406
+ interface UpdateGalleryItemIdentifiers {
1407
+ /**
1408
+ * ID of the gallery containing the item to update.
1409
+ * @format GUID
1410
+ */
1411
+ galleryId: string;
1412
+ /**
1413
+ * ID of the item to update.
1414
+ * @readonly
1415
+ * @format GUID
1416
+ */
1417
+ itemId?: string | null;
1418
+ }
1419
+ interface UpdateGalleryItem {
1420
+ /** Details about the image. */
1421
+ image?: Image;
1422
+ /** Details about the video. */
1423
+ video?: Video;
1424
+ /** Details about the text file. */
1425
+ text?: Text;
1426
+ /**
1427
+ * Item ID.
1428
+ * @readonly
1429
+ * @format GUID
1430
+ */
1431
+ _id?: string | null;
1432
+ /**
1433
+ * Index that determines which position a media item is displayed in the gallery. <br />
1434
+ *
1435
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
1436
+ *
1437
+ * >**Note:** If you assign the same sort order index to more than one media item in a gallery, the function fails.
1438
+ */
1439
+ sortOrder?: number | null;
1440
+ /** Item title. */
1441
+ title?: string | null;
1442
+ /** Item description. */
1443
+ description?: string | null;
1444
+ /** Link from the item. You can link to Wix sites or external URLs. */
1445
+ link?: Link;
1446
+ /**
1447
+ * Type of item.
1448
+ * @readonly
1449
+ */
1450
+ type?: TypeWithLiterals;
1451
+ /**
1452
+ * Date and time the item was created.
1453
+ * @readonly
1454
+ */
1455
+ _createdDate?: Date | null;
1456
+ /**
1457
+ * Date and time the item was last updated.
1458
+ * @readonly
1459
+ */
1460
+ _updatedDate?: Date | null;
1461
+ /** Item tags. */
1462
+ tags?: Tags;
1463
+ }
1464
+ interface DeleteGalleryItemIdentifiers {
1465
+ /**
1466
+ * Gallery ID.
1467
+ * @format GUID
1468
+ */
1469
+ galleryId: string;
1470
+ /**
1471
+ * ID of the media item to delete.
1472
+ * @format GUID
1473
+ */
1474
+ itemId: string;
1475
+ }
1476
+
1477
+ export { type Text as $, type AnchorLink as A, type BulkDeleteGalleryItemsResponse as B, type CreateGalleryOptions as C, type DeleteGalleryResponse as D, Enum as E, type DynamicPageLink as F, type GetGalleryOptions as G, type DocumentLink as H, type Item as I, type EmailLink as J, type PhoneLink as K, type ListGalleriesOptions as L, type AddressLink as M, type WhatsAppLink as N, type TpaPageLink as O, type PageLink as P, type Image as Q, RCLabel as R, State as S, Type as T, type UpdateGallery as U, VideoType as V, WebhookIdentityType as W, type Point as X, type UnsharpMasking as Y, type Video as Z, type VideoResolution as _, type ListGalleriesResponse as a, type CreateGalleryItemsResponse as a$, type Tags as a0, type SecondaryMedia as a1, type SecondaryMediaMetadataOneOf as a2, type InvalidateCache as a3, type InvalidateCacheGetByOneOf as a4, type App as a5, type Page as a6, type URI as a7, type File as a8, type CustomTag as a9, type RestoreAllGalleriesEvent as aA, type ListGalleriesItemsRequest as aB, type ItemId as aC, type ListGalleriesItemsResponse as aD, type ItemsInGallery as aE, type TriggerRestoreAllGalleriesAsyncRequest as aF, type TriggerRestoreAllGalleriesAsyncResponse as aG, type GalleryItemCreated as aH, type GalleryItemUpdated as aI, type GalleryItemDeleted as aJ, type ListGalleriesRequest as aK, type GetGalleryRequest as aL, type GetGalleryRequestVersionOneOf as aM, type GetGalleryResponse as aN, type ListGalleryItemsRequest as aO, type GetGalleryItemRequest as aP, type GetGalleryItemResponse as aQ, type CreateGalleryRequest as aR, type CreateGalleryResponse as aS, type UpdateGalleryRequest as aT, type UpdateGalleryResponse as aU, type DeleteGalleryRequest as aV, type DeleteGalleryItemsRequest as aW, type BulkDeleteGalleryItemsRequest as aX, type CreateGalleryItemRequest as aY, type CreateGalleryItemResponse as aZ, type CreateGalleryItemsRequest as a_, type GalleryPublished as aa, type CleanDeletedGalleriesEvent as ab, type ProgallerypublisherPublishGalleryRequest as ac, type ProgallerypublisherPublishGalleryResponse as ad, type GetActiveGalleryRevisionRequest as ae, type GetActiveGalleryRevisionResponse as af, type GetGalleryRevisionRequest as ag, type GetGalleryRevisionResponse as ah, type PublishGalleryItemRequest as ai, type PublishGalleryItemResponse as aj, type PublishGalleryItemsRequest as ak, type PublishGalleryItemsResponse as al, type Empty as am, type HtmlSitePublished as an, type EventsPage as ao, type HtmlSiteRCPublished as ap, type DomainEvent as aq, type DomainEventBodyOneOf as ar, type EntityCreatedEvent as as, type RestoreInfo as at, type EntityUpdatedEvent as au, type EntityDeletedEvent as av, type ActionEvent as aw, type MessageEnvelope as ax, type IdentificationData as ay, type IdentificationDataIdOneOf as az, type Gallery as b, type UpdateGalleryItemRequest as b0, type UpdateGalleryItemResponse as b1, type DeleteGalleryItemRequest as b2, type PublishGalleryRequest as b3, type PublishGalleryResponse as b4, type UpdateDocumentsEvent as b5, type UpdateDocumentsEventOperationOneOf as b6, type DocumentUpdateOperation as b7, type IndexDocument as b8, type DocumentPayload as b9, type DocumentImage as ba, type DeleteByIdsOperation as bb, type DeleteByFilterOperation as bc, type UpdateByFilterOperation as bd, type UpdateExistingOperation as be, type SearchIndexingNotification as bf, type BaseEventMetadata as bg, type EventMetadata as bh, type GetGalleryOptionsVersionOneOf as bi, type ListGalleryItemsOptions as c, type ListGalleryItemsResponse as d, type GetGalleryItemIdentifiers as e, type DeleteGalleryItemsOptions as f, type DeleteGalleryItemsResponse as g, type UpdateGalleryItemIdentifiers as h, type UpdateGalleryItem as i, type DeleteGalleryItemIdentifiers as j, type DeleteGalleryItemResponse as k, type GalleryCreatedEnvelope as l, type GalleryDeletedEnvelope as m, type GalleryItemCreatedEnvelope as n, type GalleryItemDeletedEnvelope as o, type GalleryItemUpdatedEnvelope as p, type GalleryUpdatedEnvelope as q, LinkType as r, LinkRel as s, ImageType as t, SearchIndexingNotificationState as u, type ItemMetadataOneOf as v, type Link as w, type WixLink as x, type WixLinkLinkOneOf as y, type ExternalLink as z };