@wix/pro-gallery 1.0.44 → 1.0.46

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.
@@ -0,0 +1,673 @@
1
+ interface Gallery {
2
+ /**
3
+ * Gallery ID.
4
+ * @readonly
5
+ */
6
+ _id?: string | null;
7
+ /** Gallery name. */
8
+ name?: string | null;
9
+ /**
10
+ * Total number of items in the gallery.
11
+ * @readonly
12
+ */
13
+ totalItems?: number | null;
14
+ /** Media items in the gallery. */
15
+ items?: Item[];
16
+ /**
17
+ * Index that determines which position a gallery is displayed on the site. <br />
18
+ *
19
+ * >**Note:** If you assign the same sort order index to more than one gallery, the function fails.
20
+ */
21
+ sortOrder?: number | null;
22
+ /**
23
+ * Date and time the gallery was created.
24
+ * @readonly
25
+ */
26
+ _createdDate?: Date;
27
+ }
28
+ interface Item extends ItemMetadataOneOf {
29
+ /** Details about the image. */
30
+ image?: Image;
31
+ /** Details about the video. */
32
+ video?: Video;
33
+ /** Details about the text file. */
34
+ text?: Text;
35
+ /**
36
+ * Item ID.
37
+ * @readonly
38
+ */
39
+ _id?: string | null;
40
+ /**
41
+ * Index that determines which position a media item is displayed in the gallery. <br />
42
+ *
43
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
44
+ *
45
+ * >**Note:** If you assign the same sort order index to more than one media item in a gallery, the function fails.
46
+ */
47
+ sortOrder?: number | null;
48
+ /** Item title. */
49
+ title?: string | null;
50
+ /** Item description. */
51
+ description?: string | null;
52
+ /** Link from the item. You can link to Wix sites or external URLs. */
53
+ link?: Link;
54
+ /** @readonly */
55
+ type?: Type;
56
+ /**
57
+ * Date and time the item was created.
58
+ * @readonly
59
+ */
60
+ _createdDate?: Date;
61
+ /**
62
+ * Date and time the item was last updated.
63
+ * @readonly
64
+ */
65
+ _updatedDate?: Date;
66
+ /** Item tags. */
67
+ tags?: Tags;
68
+ }
69
+ /** @oneof */
70
+ interface ItemMetadataOneOf {
71
+ /** Details about the image. */
72
+ image?: Image;
73
+ /** Details about the video. */
74
+ video?: Video;
75
+ /** Details about the text file. */
76
+ text?: Text;
77
+ }
78
+ interface Link {
79
+ /** Display text of the link. */
80
+ text?: string | null;
81
+ /** Target URL of the link. */
82
+ url?: string | null;
83
+ }
84
+ declare enum Type {
85
+ UNDEFINED = "UNDEFINED",
86
+ IMAGE = "IMAGE",
87
+ VIDEO = "VIDEO",
88
+ TEXT = "TEXT"
89
+ }
90
+ interface Image {
91
+ /** The image's Wix media URL in the following format: `'wix:image://v1/<uri>/<filename>#originWidth=<width>&originHeight=<height>[&watermark=<watermark_manifest_string>]'`. */
92
+ imageInfo?: string;
93
+ /** Focal point of the image. */
94
+ focalPoint?: Point;
95
+ /** Set of key-value pairs describing the media in [Exchangeable Image File format](https://en.wikipedia.org/wiki/Exif). */
96
+ exif?: Record<string, any> | null;
97
+ /**
98
+ * Image compression level. <br />
99
+ *
100
+ * Min: `30` <br />
101
+ * Max: `100`
102
+ */
103
+ quality?: number | null;
104
+ /** [Unsharp masking](https://en.wikipedia.org/wiki/Unsharp_masking) values of the image. */
105
+ unsharpMasking?: UnsharpMasking;
106
+ }
107
+ interface Point {
108
+ /** X-coordinate of the focal point. */
109
+ x?: number;
110
+ /** Y-coordinate of the focal point. */
111
+ y?: number;
112
+ }
113
+ interface UnsharpMasking {
114
+ /**
115
+ * Unsharp masking amount. Controls the sharpening strength. <br />
116
+ *
117
+ * Min: `0` <br />
118
+ * Max: `5`
119
+ */
120
+ amount?: number | null;
121
+ /** Unsharp masking radius in pixels. Controls the sharpening width. */
122
+ radius?: number | null;
123
+ /**
124
+ * Unsharp masking threshold. Controls how different neighboring pixels must be for shapening to apply. <br />
125
+ *
126
+ * Min: `0` <br />
127
+ * Max: `1`
128
+ */
129
+ threshold?: number | null;
130
+ }
131
+ interface Video {
132
+ type?: VideoType;
133
+ /**
134
+ * The video's URL. Either a Wix media URL, or a supported https external URL in the following formats:
135
+ *
136
+ * Wix Media: `'wix:video://v1/6e6ea4_461425d7e7db4d5487a28e00c5ba6244/9e6ea4_461425d7e7db4d5487a28e00c5ba6277#posterUri=9e6ea4_461425d7e7db4d5487a28e00c5ba6277f000.jpg&posterWidth=960&posterHeight=540'`
137
+ *
138
+ * Vimeo: `'https://vimeo.com/378840916'`
139
+ *
140
+ * Youtube: `'https://www.youtube.com/results?search_query=uplifting+upbeat+music'`
141
+ */
142
+ videoInfo?: string;
143
+ /** Manually defined video duration in milliseconds. */
144
+ durationInMillis?: number | null;
145
+ }
146
+ declare enum VideoType {
147
+ UNDEFINED = "UNDEFINED",
148
+ WIX_MEDIA = "WIX_MEDIA",
149
+ YOUTUBE = "YOUTUBE",
150
+ VIMEO = "VIMEO"
151
+ }
152
+ interface Text {
153
+ /** Text in HTML format. */
154
+ html?: string | null;
155
+ /**
156
+ * Set of key-value pairs describing the [CSS style](https://en.wikipedia.org/wiki/CSS) of the text.
157
+ *
158
+ * __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.
159
+ */
160
+ css?: Record<string, any> | null;
161
+ /** Reserved for internal use. */
162
+ editorHtml?: string | null;
163
+ /** Reserved for internal use. */
164
+ editorFontId?: string | null;
165
+ }
166
+ interface Tags {
167
+ /** List of tags assigned to the media item. */
168
+ values?: string[];
169
+ }
170
+ interface IdentificationData extends IdentificationDataIdOneOf {
171
+ /** ID of a site visitor that has not logged in to the site. */
172
+ anonymousVisitorId?: string;
173
+ /** ID of a site visitor that has logged in to the site. */
174
+ memberId?: string;
175
+ /** ID of a Wix user (site owner, contributor, etc.). */
176
+ wixUserId?: string;
177
+ /** ID of an app. */
178
+ appId?: string;
179
+ /** @readonly */
180
+ identityType?: WebhookIdentityType;
181
+ }
182
+ /** @oneof */
183
+ interface IdentificationDataIdOneOf {
184
+ /** ID of a site visitor that has not logged in to the site. */
185
+ anonymousVisitorId?: string;
186
+ /** ID of a site visitor that has logged in to the site. */
187
+ memberId?: string;
188
+ /** ID of a Wix user (site owner, contributor, etc.). */
189
+ wixUserId?: string;
190
+ /** ID of an app. */
191
+ appId?: string;
192
+ }
193
+ declare enum WebhookIdentityType {
194
+ UNKNOWN = "UNKNOWN",
195
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
196
+ MEMBER = "MEMBER",
197
+ WIX_USER = "WIX_USER",
198
+ APP = "APP"
199
+ }
200
+ interface GalleryItemCreated {
201
+ /** Created gallery item. */
202
+ item?: Item;
203
+ }
204
+ interface GalleryItemUpdated {
205
+ /** Updated gallery item. */
206
+ updatedItem?: Item;
207
+ }
208
+ interface GalleryItemDeleted {
209
+ /** ID of the deleted gallery item. */
210
+ itemId?: string;
211
+ }
212
+ interface ListGalleriesResponse {
213
+ /** Total number of galleries in the site. */
214
+ totalGalleries?: number | null;
215
+ /** List of galleries. Sorted by `_createdDate`. */
216
+ galleries?: Gallery[];
217
+ }
218
+ /** @oneof */
219
+ interface GetGalleryRequestVersionOneOf {
220
+ }
221
+ interface ListGalleryItemsResponse {
222
+ /** List of media items in the gallery. */
223
+ items?: Item[];
224
+ }
225
+ interface DeleteGalleryResponse {
226
+ /**
227
+ * ID of the deleted gallery.
228
+ * @readonly
229
+ */
230
+ galleryId?: string;
231
+ }
232
+ interface DeleteGalleryItemResponse {
233
+ /**
234
+ * ID of the deleted media item.
235
+ * @readonly
236
+ */
237
+ itemId?: string;
238
+ }
239
+ interface ListGalleriesResponseNonNullableFields {
240
+ galleries: {
241
+ items: {
242
+ image?: {
243
+ imageInfo: string;
244
+ focalPoint?: {
245
+ x: number;
246
+ y: number;
247
+ };
248
+ };
249
+ video?: {
250
+ type: VideoType;
251
+ videoInfo: string;
252
+ };
253
+ type: Type;
254
+ tags?: {
255
+ values: string[];
256
+ };
257
+ }[];
258
+ }[];
259
+ }
260
+ interface ListGalleryItemsResponseNonNullableFields {
261
+ items: {
262
+ image?: {
263
+ imageInfo: string;
264
+ focalPoint?: {
265
+ x: number;
266
+ y: number;
267
+ };
268
+ };
269
+ video?: {
270
+ type: VideoType;
271
+ videoInfo: string;
272
+ };
273
+ type: Type;
274
+ tags?: {
275
+ values: string[];
276
+ };
277
+ }[];
278
+ }
279
+ interface DeleteGalleryResponseNonNullableFields {
280
+ galleryId: string;
281
+ }
282
+ interface DeleteGalleryItemResponseNonNullableFields {
283
+ itemId: string;
284
+ }
285
+ interface BaseEventMetadata {
286
+ /** App instance ID. */
287
+ instanceId?: string | null;
288
+ /** Event type. */
289
+ eventType?: string;
290
+ /** The identification type and identity data. */
291
+ identity?: IdentificationData;
292
+ }
293
+ interface EventMetadata extends BaseEventMetadata {
294
+ /**
295
+ * Unique event ID.
296
+ * Allows clients to ignore duplicate webhooks.
297
+ */
298
+ _id?: string;
299
+ /**
300
+ * Assumes actions are also always typed to an entity_type
301
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
302
+ */
303
+ entityFqdn?: string;
304
+ /**
305
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
306
+ * This is although the created/updated/deleted notion is duplication of the oneof types
307
+ * Example: created/updated/deleted/started/completed/email_opened
308
+ */
309
+ slug?: string;
310
+ /** ID of the entity associated with the event. */
311
+ entityId?: string;
312
+ /** Event timestamp. */
313
+ eventTime?: Date;
314
+ /**
315
+ * Whether the event was triggered as a result of a privacy regulation application
316
+ * (for example, GDPR).
317
+ */
318
+ triggeredByAnonymizeRequest?: boolean | null;
319
+ /** If present, indicates the action that triggered the event. */
320
+ originatedFrom?: string | null;
321
+ /**
322
+ * A sequence number defining the order of updates to the underlying entity.
323
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
324
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
325
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
326
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
327
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
328
+ */
329
+ entityEventSequence?: string | null;
330
+ }
331
+ interface GalleryCreatedEnvelope {
332
+ entity: Gallery;
333
+ metadata: EventMetadata;
334
+ }
335
+ interface GalleryUpdatedEnvelope {
336
+ entity: Gallery;
337
+ metadata: EventMetadata;
338
+ }
339
+ interface GalleryDeletedEnvelope {
340
+ metadata: EventMetadata;
341
+ }
342
+ interface GalleryItemCreatedEnvelope {
343
+ data: GalleryItemCreated;
344
+ metadata: EventMetadata;
345
+ }
346
+ interface GalleryItemUpdatedEnvelope {
347
+ data: GalleryItemUpdated;
348
+ metadata: EventMetadata;
349
+ }
350
+ interface GalleryItemDeletedEnvelope {
351
+ data: GalleryItemDeleted;
352
+ metadata: EventMetadata;
353
+ }
354
+ interface ListGalleriesOptions {
355
+ /** Number of galleries to list. Defaults to 10. */
356
+ itemLimit?: number | null;
357
+ /** Number of galleries to skip in the returns. Defaults to 0. */
358
+ offset?: number | null;
359
+ /** Number of galleries to list. Defaults to 10. */
360
+ limit?: number | null;
361
+ }
362
+ interface GetGalleryOptions extends GetGalleryRequestVersionOneOf {
363
+ /** Number of media items to skip in the returns. Defaults to 0. */
364
+ itemOffset?: number | null;
365
+ /**
366
+ * Maximum number of media items to return. <br />
367
+ *
368
+ * Min: `1` <br />
369
+ * Max: `100` <br />
370
+ * Default: `50`
371
+ */
372
+ itemLimit?: number | null;
373
+ }
374
+ interface ListGalleryItemsOptions {
375
+ /** Number of media items to skip in the returns. Defaults to 0. */
376
+ itemOffset?: number | null;
377
+ /**
378
+ * Maximum number of media items to return. <br />
379
+ *
380
+ * Min: `1` <br />
381
+ * Max: `100` <br />
382
+ * Default: `50`
383
+ */
384
+ itemLimit?: number | null;
385
+ }
386
+ interface GetGalleryItemIdentifiers {
387
+ /** Gallery ID. */
388
+ galleryId: string;
389
+ /** Item ID. */
390
+ itemId: string;
391
+ }
392
+ interface CreateGalleryOptions {
393
+ /** Gallery to create. */
394
+ gallery?: Gallery;
395
+ /** Gallery ID to clone from. */
396
+ cloneFromGalleryId?: string | null;
397
+ }
398
+ interface UpdateGallery {
399
+ /**
400
+ * Gallery ID.
401
+ * @readonly
402
+ */
403
+ _id?: string | null;
404
+ /** Gallery name. */
405
+ name?: string | null;
406
+ /**
407
+ * Total number of items in the gallery.
408
+ * @readonly
409
+ */
410
+ totalItems?: number | null;
411
+ /** Media items in the gallery. */
412
+ items?: Item[];
413
+ /**
414
+ * Index that determines which position a gallery is displayed on the site. <br />
415
+ *
416
+ * >**Note:** If you assign the same sort order index to more than one gallery, the function fails.
417
+ */
418
+ sortOrder?: number | null;
419
+ /**
420
+ * Date and time the gallery was created.
421
+ * @readonly
422
+ */
423
+ _createdDate?: Date;
424
+ }
425
+ interface UpdateGalleryItemIdentifiers {
426
+ /** ID of the gallery containing the item to update. */
427
+ galleryId: string;
428
+ /**
429
+ * ID of the item to update.
430
+ * @readonly
431
+ */
432
+ itemId?: string | null;
433
+ }
434
+ interface UpdateGalleryItem {
435
+ /** Details about the image. */
436
+ image?: Image;
437
+ /** Details about the video. */
438
+ video?: Video;
439
+ /** Details about the text file. */
440
+ text?: Text;
441
+ /**
442
+ * Item ID.
443
+ * @readonly
444
+ */
445
+ _id?: string | null;
446
+ /**
447
+ * Index that determines which position a media item is displayed in the gallery. <br />
448
+ *
449
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
450
+ *
451
+ * >**Note:** If you assign the same sort order index to more than one media item in a gallery, the function fails.
452
+ */
453
+ sortOrder?: number | null;
454
+ /** Item title. */
455
+ title?: string | null;
456
+ /** Item description. */
457
+ description?: string | null;
458
+ /** Link from the item. You can link to Wix sites or external URLs. */
459
+ link?: Link;
460
+ /** @readonly */
461
+ type?: Type;
462
+ /**
463
+ * Date and time the item was created.
464
+ * @readonly
465
+ */
466
+ _createdDate?: Date;
467
+ /**
468
+ * Date and time the item was last updated.
469
+ * @readonly
470
+ */
471
+ _updatedDate?: Date;
472
+ /** Item tags. */
473
+ tags?: Tags;
474
+ }
475
+ interface DeleteGalleryItemIdentifiers {
476
+ /** Gallery ID. */
477
+ galleryId: string;
478
+ /** ID of the media item to delete. */
479
+ itemId: string;
480
+ }
481
+
482
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
483
+ interface HttpClient {
484
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
485
+ }
486
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
487
+ type HttpResponse<T = any> = {
488
+ data: T;
489
+ status: number;
490
+ statusText: string;
491
+ headers: any;
492
+ request?: any;
493
+ };
494
+ type RequestOptions<_TResponse = any, Data = any> = {
495
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
496
+ url: string;
497
+ data?: Data;
498
+ params?: URLSearchParams;
499
+ } & APIMetadata;
500
+ type APIMetadata = {
501
+ methodFqn?: string;
502
+ entityFqdn?: string;
503
+ packageName?: string;
504
+ };
505
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
506
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
507
+ __type: 'event-definition';
508
+ type: Type;
509
+ isDomainEvent?: boolean;
510
+ transformations?: unknown;
511
+ __payload: Payload;
512
+ };
513
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
514
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
515
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
516
+
517
+ declare function listGalleries$1(httpClient: HttpClient): (options?: ListGalleriesOptions) => Promise<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
518
+ declare function getGallery$1(httpClient: HttpClient): (galleryId: string, options?: GetGalleryOptions) => Promise<Gallery & {
519
+ items: {
520
+ image?: {
521
+ imageInfo: string;
522
+ focalPoint?: {
523
+ x: number;
524
+ y: number;
525
+ } | undefined;
526
+ } | undefined;
527
+ video?: {
528
+ type: VideoType;
529
+ videoInfo: string;
530
+ } | undefined;
531
+ type: Type;
532
+ tags?: {
533
+ values: string[];
534
+ } | undefined;
535
+ }[];
536
+ }>;
537
+ declare function listGalleryItems$1(httpClient: HttpClient): (galleryId: string, options?: ListGalleryItemsOptions) => Promise<ListGalleryItemsResponse & ListGalleryItemsResponseNonNullableFields>;
538
+ declare function getGalleryItem$1(httpClient: HttpClient): (identifiers: GetGalleryItemIdentifiers) => Promise<Item & {
539
+ image?: {
540
+ imageInfo: string;
541
+ focalPoint?: {
542
+ x: number;
543
+ y: number;
544
+ } | undefined;
545
+ } | undefined;
546
+ video?: {
547
+ type: VideoType;
548
+ videoInfo: string;
549
+ } | undefined;
550
+ type: Type;
551
+ tags?: {
552
+ values: string[];
553
+ } | undefined;
554
+ }>;
555
+ declare function createGallery$1(httpClient: HttpClient): (options?: CreateGalleryOptions) => Promise<Gallery & {
556
+ items: {
557
+ image?: {
558
+ imageInfo: string;
559
+ focalPoint?: {
560
+ x: number;
561
+ y: number;
562
+ } | undefined;
563
+ } | undefined;
564
+ video?: {
565
+ type: VideoType;
566
+ videoInfo: string;
567
+ } | undefined;
568
+ type: Type;
569
+ tags?: {
570
+ values: string[];
571
+ } | undefined;
572
+ }[];
573
+ }>;
574
+ declare function updateGallery$1(httpClient: HttpClient): (_id: string | null, gallery: UpdateGallery) => Promise<Gallery & {
575
+ items: {
576
+ image?: {
577
+ imageInfo: string;
578
+ focalPoint?: {
579
+ x: number;
580
+ y: number;
581
+ } | undefined;
582
+ } | undefined;
583
+ video?: {
584
+ type: VideoType;
585
+ videoInfo: string;
586
+ } | undefined;
587
+ type: Type;
588
+ tags?: {
589
+ values: string[];
590
+ } | undefined;
591
+ }[];
592
+ }>;
593
+ declare function deleteGallery$1(httpClient: HttpClient): (galleryId: string) => Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
594
+ declare function createGalleryItem$1(httpClient: HttpClient): (galleryId: string, item: Item) => Promise<Item & {
595
+ image?: {
596
+ imageInfo: string;
597
+ focalPoint?: {
598
+ x: number;
599
+ y: number;
600
+ } | undefined;
601
+ } | undefined;
602
+ video?: {
603
+ type: VideoType;
604
+ videoInfo: string;
605
+ } | undefined;
606
+ type: Type;
607
+ tags?: {
608
+ values: string[];
609
+ } | undefined;
610
+ }>;
611
+ declare function updateGalleryItem$1(httpClient: HttpClient): (identifiers: UpdateGalleryItemIdentifiers, item: UpdateGalleryItem) => Promise<Item & {
612
+ image?: {
613
+ imageInfo: string;
614
+ focalPoint?: {
615
+ x: number;
616
+ y: number;
617
+ } | undefined;
618
+ } | undefined;
619
+ video?: {
620
+ type: VideoType;
621
+ videoInfo: string;
622
+ } | undefined;
623
+ type: Type;
624
+ tags?: {
625
+ values: string[];
626
+ } | undefined;
627
+ }>;
628
+ declare function deleteGalleryItem$1(httpClient: HttpClient): (identifiers: DeleteGalleryItemIdentifiers) => Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
629
+ declare const onGalleryCreated$1: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
630
+ declare const onGalleryUpdated$1: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
631
+ declare const onGalleryDeleted$1: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
632
+ declare const onGalleryItemCreated$1: EventDefinition<GalleryItemCreatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_created">;
633
+ declare const onGalleryItemUpdated$1: EventDefinition<GalleryItemUpdatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_updated">;
634
+ declare const onGalleryItemDeleted$1: EventDefinition<GalleryItemDeletedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_deleted">;
635
+
636
+ declare const listGalleries: BuildRESTFunction<typeof listGalleries$1>;
637
+ declare const getGallery: BuildRESTFunction<typeof getGallery$1>;
638
+ declare const listGalleryItems: BuildRESTFunction<typeof listGalleryItems$1>;
639
+ declare const getGalleryItem: BuildRESTFunction<typeof getGalleryItem$1>;
640
+ declare const createGallery: BuildRESTFunction<typeof createGallery$1>;
641
+ declare const updateGallery: BuildRESTFunction<typeof updateGallery$1>;
642
+ declare const deleteGallery: BuildRESTFunction<typeof deleteGallery$1>;
643
+ declare const createGalleryItem: BuildRESTFunction<typeof createGalleryItem$1>;
644
+ declare const updateGalleryItem: BuildRESTFunction<typeof updateGalleryItem$1>;
645
+ declare const deleteGalleryItem: BuildRESTFunction<typeof deleteGalleryItem$1>;
646
+ declare const onGalleryCreated: BuildEventDefinition<typeof onGalleryCreated$1>;
647
+ declare const onGalleryUpdated: BuildEventDefinition<typeof onGalleryUpdated$1>;
648
+ declare const onGalleryDeleted: BuildEventDefinition<typeof onGalleryDeleted$1>;
649
+ declare const onGalleryItemCreated: BuildEventDefinition<typeof onGalleryItemCreated$1>;
650
+ declare const onGalleryItemUpdated: BuildEventDefinition<typeof onGalleryItemUpdated$1>;
651
+ declare const onGalleryItemDeleted: BuildEventDefinition<typeof onGalleryItemDeleted$1>;
652
+
653
+ declare const context_createGallery: typeof createGallery;
654
+ declare const context_createGalleryItem: typeof createGalleryItem;
655
+ declare const context_deleteGallery: typeof deleteGallery;
656
+ declare const context_deleteGalleryItem: typeof deleteGalleryItem;
657
+ declare const context_getGallery: typeof getGallery;
658
+ declare const context_getGalleryItem: typeof getGalleryItem;
659
+ declare const context_listGalleries: typeof listGalleries;
660
+ declare const context_listGalleryItems: typeof listGalleryItems;
661
+ declare const context_onGalleryCreated: typeof onGalleryCreated;
662
+ declare const context_onGalleryDeleted: typeof onGalleryDeleted;
663
+ declare const context_onGalleryItemCreated: typeof onGalleryItemCreated;
664
+ declare const context_onGalleryItemDeleted: typeof onGalleryItemDeleted;
665
+ declare const context_onGalleryItemUpdated: typeof onGalleryItemUpdated;
666
+ declare const context_onGalleryUpdated: typeof onGalleryUpdated;
667
+ declare const context_updateGallery: typeof updateGallery;
668
+ declare const context_updateGalleryItem: typeof updateGalleryItem;
669
+ declare namespace context {
670
+ export { context_createGallery as createGallery, context_createGalleryItem as createGalleryItem, context_deleteGallery as deleteGallery, context_deleteGalleryItem as deleteGalleryItem, context_getGallery as getGallery, context_getGalleryItem as getGalleryItem, context_listGalleries as listGalleries, context_listGalleryItems as listGalleryItems, context_onGalleryCreated as onGalleryCreated, context_onGalleryDeleted as onGalleryDeleted, context_onGalleryItemCreated as onGalleryItemCreated, context_onGalleryItemDeleted as onGalleryItemDeleted, context_onGalleryItemUpdated as onGalleryItemUpdated, context_onGalleryUpdated as onGalleryUpdated, context_updateGallery as updateGallery, context_updateGalleryItem as updateGalleryItem };
671
+ }
672
+
673
+ export { context as proGallery };