@wix/pro-gallery 1.0.50 → 1.0.52

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.
@@ -81,6 +81,153 @@ interface Link {
81
81
  /** Target URL of the link. */
82
82
  url?: string | null;
83
83
  }
84
+ declare enum LinkType {
85
+ UNDEFINED = "UNDEFINED",
86
+ /** external link */
87
+ EXTERNAL = "EXTERNAL",
88
+ /** for internal usage using wixLinkData */
89
+ INTERNAL = "INTERNAL"
90
+ }
91
+ /** The link object generated by panels in the editor and used by applications in Wix */
92
+ interface WixLink extends WixLinkLinkOneOf {
93
+ /** External link type */
94
+ external?: ExternalLink;
95
+ /** Page link type */
96
+ page?: PageLink;
97
+ /** Anchor link type */
98
+ anchor?: AnchorLink;
99
+ /** Dynamic page link type */
100
+ dynamicPage?: DynamicPageLink;
101
+ /** Document link type */
102
+ document?: DocumentLink;
103
+ /** Email link type */
104
+ email?: EmailLink;
105
+ /** Phone link type */
106
+ phone?: PhoneLink;
107
+ /** Address link type */
108
+ address?: AddressLink;
109
+ /** WhatsApp link type */
110
+ whatsApp?: WhatsAppLink;
111
+ /** TPA link type */
112
+ tpaPage?: TpaPageLink;
113
+ }
114
+ /** @oneof */
115
+ interface WixLinkLinkOneOf {
116
+ /** External link type */
117
+ external?: ExternalLink;
118
+ /** Page link type */
119
+ page?: PageLink;
120
+ /** Anchor link type */
121
+ anchor?: AnchorLink;
122
+ /** Dynamic page link type */
123
+ dynamicPage?: DynamicPageLink;
124
+ /** Document link type */
125
+ document?: DocumentLink;
126
+ /** Email link type */
127
+ email?: EmailLink;
128
+ /** Phone link type */
129
+ phone?: PhoneLink;
130
+ /** Address link type */
131
+ address?: AddressLink;
132
+ /** WhatsApp link type */
133
+ whatsApp?: WhatsAppLink;
134
+ /** TPA link type */
135
+ tpaPage?: TpaPageLink;
136
+ }
137
+ interface ExternalLink {
138
+ /** The url of the page */
139
+ url?: string;
140
+ /** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */
141
+ target?: string | null;
142
+ }
143
+ interface PageLink {
144
+ /** The page id we want from the site */
145
+ pageId?: string;
146
+ /** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */
147
+ target?: string | null;
148
+ /** rel of link */
149
+ rel?: LinkRel[];
150
+ }
151
+ /**
152
+ * The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.
153
+ * Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
154
+ * Following are the accepted 'rel' types by Wix applications.
155
+ */
156
+ declare enum LinkRel {
157
+ /** default (not implemented) */
158
+ unknown_link_rel = "unknown_link_rel",
159
+ /** Indicates that the current document's original author or publisher does not endorse the referenced document. */
160
+ nofollow = "nofollow",
161
+ /** Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it. */
162
+ noopener = "noopener",
163
+ /** No Referer header will be included. Additionally, has the same effect as noopener. */
164
+ noreferrer = "noreferrer",
165
+ /** Indicates a link that resulted from advertisements or paid placements. */
166
+ sponsored = "sponsored"
167
+ }
168
+ interface AnchorLink {
169
+ /** The name of the anchor */
170
+ anchorName?: string;
171
+ /** The data id (from the JSON page) of the anchor that should be used */
172
+ anchorDataId?: string;
173
+ /** The page id we want from the site */
174
+ pageId?: string;
175
+ /** rel of link */
176
+ rel?: LinkRel[];
177
+ }
178
+ interface DynamicPageLink {
179
+ /** The router that handles this link */
180
+ routerId?: string;
181
+ /** The path data we'd like */
182
+ innerRoute?: string;
183
+ /** The data id (from the JSON page) of the anchor that should be used */
184
+ anchorDataId?: string | null;
185
+ /** rel of link */
186
+ rel?: LinkRel[];
187
+ }
188
+ interface DocumentLink {
189
+ /** The id of the document */
190
+ docId?: string;
191
+ /** The name of the document for download purposes */
192
+ name?: string | null;
193
+ /** If this document can be indexed by scrapers, default is false */
194
+ indexable?: boolean;
195
+ }
196
+ interface EmailLink {
197
+ /** The email we will be sending a message to */
198
+ recipient?: string;
199
+ /** The subject of the email */
200
+ subject?: string | null;
201
+ /** The body of the email */
202
+ body?: string | null;
203
+ }
204
+ interface PhoneLink {
205
+ /** The phone number we want to link to */
206
+ phoneNumber?: string;
207
+ }
208
+ interface AddressLink {
209
+ /** An address that we can link to */
210
+ address?: string;
211
+ }
212
+ interface WhatsAppLink {
213
+ /** The whatsApp phone number we want to connect with */
214
+ phoneNumber?: string;
215
+ }
216
+ /** Link to a TPA page */
217
+ interface TpaPageLink {
218
+ /** Type of item (e.g. 'wix.stores.sub_pages.product') */
219
+ itemTypeIdentifier?: string;
220
+ /** Id of linked item */
221
+ itemId?: string;
222
+ /** Id of linked page */
223
+ pageId?: string;
224
+ /** Id of app being linked to (AppDefId) */
225
+ appDefinitionId?: string;
226
+ /** The relativepath of linked page */
227
+ path?: string;
228
+ /** rel of link */
229
+ rel?: LinkRel[];
230
+ }
84
231
  declare enum Type {
85
232
  UNDEFINED = "UNDEFINED",
86
233
  IMAGE = "IMAGE",
@@ -104,6 +251,11 @@ interface Image {
104
251
  /** [Unsharp masking](https://en.wikipedia.org/wiki/Unsharp_masking) values of the image. */
105
252
  unsharpMasking?: UnsharpMasking;
106
253
  }
254
+ declare enum ImageType {
255
+ UNDEFINED = "UNDEFINED",
256
+ WIX_MEDIA = "WIX_MEDIA",
257
+ EXTERNAL = "EXTERNAL"
258
+ }
107
259
  interface Point {
108
260
  /** X-coordinate of the focal point. */
109
261
  x?: number;
@@ -149,6 +301,20 @@ declare enum VideoType {
149
301
  YOUTUBE = "YOUTUBE",
150
302
  VIMEO = "VIMEO"
151
303
  }
304
+ interface VideoResolution {
305
+ /** *Required.** Video URL. */
306
+ url?: string;
307
+ /** *Required.** Video height. */
308
+ height?: number;
309
+ /** *Required.** Video width. */
310
+ width?: number;
311
+ /** *Required.** Video format. For example, `mp4` or `hls`. */
312
+ format?: string;
313
+ /** Video quality. For example, `480p` or `720p`. */
314
+ quality?: string | null;
315
+ /** Video filename. */
316
+ filename?: string | null;
317
+ }
152
318
  interface Text {
153
319
  /** Text in HTML format. */
154
320
  html?: string | null;
@@ -167,6 +333,235 @@ interface Tags {
167
333
  /** List of tags assigned to the media item. */
168
334
  values?: string[];
169
335
  }
336
+ interface SecondaryMedia extends SecondaryMediaMetadataOneOf {
337
+ /** secondary media photo metadata (optional) */
338
+ image?: Image;
339
+ /** secondary media text metadata (optional) */
340
+ text?: Text;
341
+ }
342
+ /** @oneof */
343
+ interface SecondaryMediaMetadataOneOf {
344
+ /** secondary media photo metadata (optional) */
345
+ image?: Image;
346
+ /** secondary media text metadata (optional) */
347
+ text?: Text;
348
+ }
349
+ interface InvalidateCache extends InvalidateCacheGetByOneOf {
350
+ /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
351
+ metaSiteId?: string;
352
+ /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
353
+ siteId?: string;
354
+ /** Invalidate by App */
355
+ app?: App;
356
+ /** Invalidate by page id */
357
+ page?: Page;
358
+ /** Invalidate by URI path */
359
+ uri?: URI;
360
+ /** Invalidate by file (for media files such as PDFs) */
361
+ file?: File;
362
+ /** tell us why you're invalidating the cache. You don't need to add your app name */
363
+ reason?: string | null;
364
+ /** Is local DS */
365
+ localDc?: boolean;
366
+ }
367
+ /** @oneof */
368
+ interface InvalidateCacheGetByOneOf {
369
+ /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
370
+ metaSiteId?: string;
371
+ /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
372
+ siteId?: string;
373
+ /** Invalidate by App */
374
+ app?: App;
375
+ /** Invalidate by page id */
376
+ page?: Page;
377
+ /** Invalidate by URI path */
378
+ uri?: URI;
379
+ /** Invalidate by file (for media files such as PDFs) */
380
+ file?: File;
381
+ }
382
+ interface App {
383
+ /** The AppDefId */
384
+ appDefId?: string;
385
+ /** The instance Id */
386
+ instanceId?: string;
387
+ }
388
+ interface Page {
389
+ /** the msid the page is on */
390
+ metaSiteId?: string;
391
+ /** Invalidate by Page ID */
392
+ pageId?: string;
393
+ }
394
+ interface URI {
395
+ /** the msid the URI is on */
396
+ metaSiteId?: string;
397
+ /** URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes */
398
+ uriPath?: string;
399
+ }
400
+ interface File {
401
+ /** the msid the file is related to */
402
+ metaSiteId?: string;
403
+ /** Invalidate by filename (for media files such as PDFs) */
404
+ fileName?: string;
405
+ }
406
+ interface GalleryPublished {
407
+ /**
408
+ * id of the gallery that will be published
409
+ * @readonly
410
+ */
411
+ galleryId?: string;
412
+ isRc?: boolean;
413
+ /** @readonly */
414
+ newRevision?: Date;
415
+ /** @readonly */
416
+ oldRevision?: Date;
417
+ }
418
+ interface CleanDeletedGalleriesEvent {
419
+ /** @readonly */
420
+ instanceId?: string;
421
+ /** @readonly */
422
+ metaSiteId?: string;
423
+ /** @readonly */
424
+ htmlSiteRevision?: string;
425
+ /** @readonly */
426
+ timeSitePublished?: Date;
427
+ }
428
+ interface ProgallerypublisherPublishGalleryRequest {
429
+ /** id of the gallery that will be published */
430
+ galleryId?: string;
431
+ }
432
+ interface ProgallerypublisherPublishGalleryResponse {
433
+ }
434
+ interface PublishGalleryItemRequest {
435
+ /** id of the gallery that will be published */
436
+ galleryId?: string;
437
+ /** id of the item that will be published */
438
+ itemId?: string;
439
+ }
440
+ interface PublishGalleryItemResponse {
441
+ }
442
+ interface PublishGalleryItemsRequest {
443
+ /** id of the gallery that will be published */
444
+ galleryId?: string;
445
+ /** ids of the items that will be published */
446
+ itemIds?: string[];
447
+ }
448
+ interface PublishGalleryItemsResponse {
449
+ }
450
+ interface Empty {
451
+ }
452
+ interface HtmlSitePublished {
453
+ /** Application instance ID */
454
+ appInstanceId?: string;
455
+ /** Application type */
456
+ appType?: string;
457
+ /** Revision */
458
+ revision?: string;
459
+ /** MSID */
460
+ metaSiteId?: string | null;
461
+ /** optional branch id if publish is done from branch */
462
+ branchId?: string | null;
463
+ /** The site's last transactionId */
464
+ lastTransactionId?: string | null;
465
+ /** A list of the site's pages */
466
+ pages?: EventsPage[];
467
+ /** Site's publish date */
468
+ publishDate?: string;
469
+ }
470
+ interface EventsPage {
471
+ /** Page's Id */
472
+ _id?: string;
473
+ }
474
+ interface HtmlSiteRCPublished {
475
+ /** Application instance ID */
476
+ appInstanceId?: string;
477
+ /** Revision */
478
+ revision?: string;
479
+ /** Optional branch Id */
480
+ branchId?: string | null;
481
+ /** Site's publish date */
482
+ publishDate?: string;
483
+ }
484
+ interface DomainEvent extends DomainEventBodyOneOf {
485
+ /** Information about a newly-created gallery. */
486
+ createdEvent?: EntityCreatedEvent;
487
+ updatedEvent?: EntityUpdatedEvent;
488
+ deletedEvent?: EntityDeletedEvent;
489
+ actionEvent?: ActionEvent;
490
+ /**
491
+ * Unique event ID.
492
+ * Allows clients to ignore duplicate webhooks.
493
+ */
494
+ _id?: string;
495
+ /**
496
+ * Assumes actions are also always typed to an entity_type
497
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
498
+ */
499
+ entityFqdn?: string;
500
+ /**
501
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
502
+ * This is although the created/updated/deleted notion is duplication of the oneof types
503
+ * Example: created/updated/deleted/started/completed/email_opened
504
+ */
505
+ slug?: string;
506
+ /** ID of the entity associated with the event. */
507
+ entityId?: string;
508
+ /** Event timestamp. */
509
+ eventTime?: Date;
510
+ /**
511
+ * Whether the event was triggered as a result of a privacy regulation application
512
+ * (for example, GDPR).
513
+ */
514
+ triggeredByAnonymizeRequest?: boolean | null;
515
+ /** If present, indicates the action that triggered the event. */
516
+ originatedFrom?: string | null;
517
+ /**
518
+ * A sequence number defining the order of updates to the underlying entity.
519
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
520
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
521
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
522
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
523
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
524
+ */
525
+ entityEventSequence?: string | null;
526
+ }
527
+ /** @oneof */
528
+ interface DomainEventBodyOneOf {
529
+ createdEvent?: EntityCreatedEvent;
530
+ updatedEvent?: EntityUpdatedEvent;
531
+ deletedEvent?: EntityDeletedEvent;
532
+ actionEvent?: ActionEvent;
533
+ }
534
+ interface EntityCreatedEvent {
535
+ entity?: string;
536
+ }
537
+ interface RestoreInfo {
538
+ deletedDate?: Date;
539
+ }
540
+ interface EntityUpdatedEvent {
541
+ /**
542
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
543
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
544
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
545
+ */
546
+ currentEntity?: string;
547
+ }
548
+ interface EntityDeletedEvent {
549
+ /** Entity that was deleted */
550
+ deletedEntity?: string | null;
551
+ }
552
+ interface ActionEvent {
553
+ body?: string;
554
+ }
555
+ interface MessageEnvelope {
556
+ /** App instance ID. */
557
+ instanceId?: string | null;
558
+ /** Event type. */
559
+ eventType?: string;
560
+ /** The identification type and identity data. */
561
+ identity?: IdentificationData;
562
+ /** Stringify payload. */
563
+ data?: string;
564
+ }
170
565
  interface IdentificationData extends IdentificationDataIdOneOf {
171
566
  /** ID of a site visitor that has not logged in to the site. */
172
567
  anonymousVisitorId?: string;
@@ -197,6 +592,141 @@ declare enum WebhookIdentityType {
197
592
  WIX_USER = "WIX_USER",
198
593
  APP = "APP"
199
594
  }
595
+ interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
596
+ /** insert/update documents */
597
+ update?: DocumentUpdateOperation;
598
+ /** delete by document ids */
599
+ deleteByIds?: DeleteByIdsOperation;
600
+ /** delete documents matching filter */
601
+ deleteByFilter?: DeleteByFilterOperation;
602
+ /** update documents matching filter */
603
+ updateByFilter?: UpdateByFilterOperation;
604
+ /** update only existing documents */
605
+ updateExisting?: UpdateExistingOperation;
606
+ /** application which owns documents */
607
+ appDefId?: string | null;
608
+ /** type of the documents */
609
+ documentType?: string | null;
610
+ /** language of the documents */
611
+ language?: string | null;
612
+ /** site documents belong to */
613
+ msId?: string | null;
614
+ }
615
+ /** @oneof */
616
+ interface UpdateDocumentsEventOperationOneOf {
617
+ /** insert/update documents */
618
+ update?: DocumentUpdateOperation;
619
+ /** delete by document ids */
620
+ deleteByIds?: DeleteByIdsOperation;
621
+ /** delete documents matching filter */
622
+ deleteByFilter?: DeleteByFilterOperation;
623
+ /** update documents matching filter */
624
+ updateByFilter?: UpdateByFilterOperation;
625
+ /** update only existing documents */
626
+ updateExisting?: UpdateExistingOperation;
627
+ }
628
+ interface DocumentUpdateOperation {
629
+ /** documents to index or update */
630
+ documents?: IndexDocument[];
631
+ }
632
+ interface IndexDocument {
633
+ /** data bag with non-searchable fields (url, image) */
634
+ payload?: DocumentPayload;
635
+ /** what type of users should documents be visible to */
636
+ exposure?: Enum;
637
+ /** document with mandatory fields (id, title, description) and with fields specific to the type of the document */
638
+ document?: Record<string, any> | null;
639
+ /** what member groups is the document exposed to. Used only with GROUP_PROTECTED exposure */
640
+ permittedMemberGroups?: string[];
641
+ /** if true SEO is disabled for this document */
642
+ seoHidden?: boolean | null;
643
+ /** if true the page is a lightbox popup */
644
+ isPopup?: boolean | null;
645
+ }
646
+ interface DocumentPayload {
647
+ /** url of the page representing the document */
648
+ url?: string | null;
649
+ /** image which represents the document */
650
+ documentImage?: DocumentImage;
651
+ }
652
+ interface DocumentImage {
653
+ /** the name of the image */
654
+ name?: string;
655
+ /** the width of the image */
656
+ width?: number;
657
+ /** the height of the image */
658
+ height?: number;
659
+ }
660
+ declare enum Enum {
661
+ /** Default value. Means that permission not set */
662
+ UNKNOWN = "UNKNOWN",
663
+ /** Protected exposure. Exposed to members and owners */
664
+ PROTECTED = "PROTECTED",
665
+ /** Private exposure. Exposed to owners */
666
+ PRIVATE = "PRIVATE",
667
+ /** Public exposure. Visible to everyone */
668
+ PUBLIC = "PUBLIC",
669
+ /** Used for partial updates, to state that exposure is not changing */
670
+ UNCHANGED = "UNCHANGED",
671
+ /** Protected to members of permitted groups and owners */
672
+ GROUP_PROTECTED = "GROUP_PROTECTED"
673
+ }
674
+ interface DeleteByIdsOperation {
675
+ /** ids of the documents to delete */
676
+ documentIds?: string[];
677
+ }
678
+ interface DeleteByFilterOperation {
679
+ /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
680
+ filter?: Record<string, any> | null;
681
+ }
682
+ interface UpdateByFilterOperation {
683
+ /** documents matching this filter will be updated */
684
+ filter?: Record<string, any> | null;
685
+ /** partial document to apply */
686
+ document?: IndexDocument;
687
+ }
688
+ interface UpdateExistingOperation {
689
+ /** documents to update */
690
+ documents?: IndexDocument[];
691
+ }
692
+ interface SearchIndexingNotification {
693
+ /** new state of indexing for the site specified in ms_id */
694
+ indexState?: SearchIndexingNotificationState;
695
+ /** type of the document the notification is targeted for. Applies to all types if not provided */
696
+ documentType?: string | null;
697
+ /** languaInternalDocumentUpdateByFilterOperationge the notification is targeted for. Applies to all languages if not provided */
698
+ language?: string | null;
699
+ /** site for which notification is targeted */
700
+ msId?: string | null;
701
+ }
702
+ declare enum SearchIndexingNotificationState {
703
+ /** default state */
704
+ Unknown = "Unknown",
705
+ /** metasite does not require site search indexing */
706
+ Off = "Off",
707
+ /** metasite requires site search indexing */
708
+ On = "On"
709
+ }
710
+ interface ListGalleriesItemsRequest {
711
+ /** IDs of the media items to retrieve. */
712
+ itemsId?: ItemId[];
713
+ }
714
+ interface ItemId {
715
+ /** Gallery ID. */
716
+ galleryId?: string;
717
+ /** Item ID. */
718
+ itemId?: string;
719
+ }
720
+ interface ListGalleriesItemsResponse {
721
+ /** Retrieved media items. */
722
+ itemsInGalleries?: ItemsInGallery[];
723
+ }
724
+ interface ItemsInGallery {
725
+ /** Gallery ID. */
726
+ galleryId?: string;
727
+ /** Retrieved media items. */
728
+ items?: Item[];
729
+ }
200
730
  interface GalleryItemCreated {
201
731
  /** Created gallery item. */
202
732
  item?: Item;
@@ -209,19 +739,98 @@ interface GalleryItemDeleted {
209
739
  /** ID of the deleted gallery item. */
210
740
  itemId?: string;
211
741
  }
742
+ interface ListGalleriesRequest {
743
+ /** Number of galleries to list. Defaults to `10`. */
744
+ itemLimit?: number | null;
745
+ /** Number of galleries to skip in the returns. Defaults to `0`. */
746
+ offset?: number | null;
747
+ /** Number of galleries to list. Defaults to `10`. */
748
+ limit?: number | null;
749
+ }
750
+ declare enum State {
751
+ UNDEFINED = "UNDEFINED",
752
+ /** The gallery in the Editor segment */
753
+ SAVED = "SAVED",
754
+ /** The gallery in the LiveSite segment */
755
+ PUBLISHED = "PUBLISHED"
756
+ }
212
757
  interface ListGalleriesResponse {
213
758
  /** Total number of galleries in the site. */
214
759
  totalGalleries?: number | null;
215
760
  /** List of galleries. Sorted by `_createdDate`. */
216
761
  galleries?: Gallery[];
217
762
  }
763
+ interface GetGalleryRequest extends GetGalleryRequestVersionOneOf {
764
+ /** Gallery ID. */
765
+ galleryId: string;
766
+ /** Number of media items to skip in the returns. Defaults to `0`. */
767
+ itemOffset?: number | null;
768
+ /**
769
+ * Maximum number of media items to return. <br />
770
+ *
771
+ * Min: `1` <br />
772
+ * Max: `100` <br />
773
+ * Default: `50`
774
+ */
775
+ itemLimit?: number | null;
776
+ }
218
777
  /** @oneof */
219
778
  interface GetGalleryRequestVersionOneOf {
220
779
  }
780
+ interface GetGalleryResponse {
781
+ /** Returned gallery. */
782
+ gallery?: Gallery;
783
+ }
784
+ interface ListGalleryItemsRequest {
785
+ /** Gallery ID. */
786
+ galleryId: string;
787
+ /** Number of media items to skip in the returns. Defaults to `0`. */
788
+ itemOffset?: number | null;
789
+ /**
790
+ * Maximum number of media items to return. <br />
791
+ *
792
+ * Min: `1` <br />
793
+ * Max: `100` <br />
794
+ * Default: `50`
795
+ */
796
+ itemLimit?: number | null;
797
+ }
221
798
  interface ListGalleryItemsResponse {
222
799
  /** List of media items in the gallery. */
223
800
  items?: Item[];
224
801
  }
802
+ interface GetGalleryItemRequest {
803
+ /** Gallery ID. */
804
+ galleryId: string;
805
+ /** Item ID. */
806
+ itemId: string;
807
+ }
808
+ interface GetGalleryItemResponse {
809
+ /** Returned media item. */
810
+ item?: Item;
811
+ }
812
+ interface CreateGalleryRequest {
813
+ /** Gallery to create. */
814
+ gallery?: Gallery;
815
+ /** Gallery ID to clone from. */
816
+ cloneFromGalleryId?: string | null;
817
+ }
818
+ interface CreateGalleryResponse {
819
+ /** Created gallery. */
820
+ gallery?: Gallery;
821
+ }
822
+ interface UpdateGalleryRequest {
823
+ /** Gallery to update. */
824
+ gallery: Gallery;
825
+ }
826
+ interface UpdateGalleryResponse {
827
+ /** Updated gallery. */
828
+ gallery?: Gallery;
829
+ }
830
+ interface DeleteGalleryRequest {
831
+ /** ID of the gallery to delete. */
832
+ galleryId: string;
833
+ }
225
834
  interface DeleteGalleryResponse {
226
835
  /**
227
836
  * ID of the deleted gallery.
@@ -229,10 +838,65 @@ interface DeleteGalleryResponse {
229
838
  */
230
839
  galleryId?: string;
231
840
  }
841
+ interface DeleteGalleryItemsRequest {
842
+ /** Gallery ID. */
843
+ galleryId: string;
844
+ /** ID of the media item to delete. */
845
+ itemsIds?: string[];
846
+ }
232
847
  interface DeleteGalleryItemsResponse {
233
848
  /** Gallery that previously included the deleted media item. */
234
849
  gallery?: Gallery;
235
850
  }
851
+ interface BulkDeleteGalleryItemsRequest {
852
+ /** Gallery ID. */
853
+ galleryId?: string;
854
+ /** ID of the media item to delete. */
855
+ itemIds?: string[];
856
+ }
857
+ interface BulkDeleteGalleryItemsResponse {
858
+ /**
859
+ * ID of the deleted media items.
860
+ * @readonly
861
+ */
862
+ itemIds?: string[];
863
+ }
864
+ interface CreateGalleryItemRequest {
865
+ /** Gallery ID. */
866
+ galleryId: string;
867
+ /** Media item to create. */
868
+ item: Item;
869
+ }
870
+ interface CreateGalleryItemResponse {
871
+ /** Created media item. */
872
+ item?: Item;
873
+ }
874
+ interface CreateGalleryItemsRequest {
875
+ /** Gallery ID. */
876
+ galleryId?: string;
877
+ /** Media items to create. */
878
+ items?: Item[];
879
+ }
880
+ interface CreateGalleryItemsResponse {
881
+ /** Created media items. */
882
+ items?: Item[];
883
+ }
884
+ interface UpdateGalleryItemRequest {
885
+ /** Gallery ID. */
886
+ galleryId: string;
887
+ /** The information for the media item being updated. */
888
+ item: Item;
889
+ }
890
+ interface UpdateGalleryItemResponse {
891
+ /** Updated media item. */
892
+ item?: Item;
893
+ }
894
+ interface DeleteGalleryItemRequest {
895
+ /** Gallery ID. */
896
+ galleryId: string;
897
+ /** ID of the media item to delete. */
898
+ itemId: string;
899
+ }
236
900
  interface DeleteGalleryItemResponse {
237
901
  /**
238
902
  * ID of the deleted media item.
@@ -240,69 +904,131 @@ interface DeleteGalleryItemResponse {
240
904
  */
241
905
  itemId?: string;
242
906
  }
907
+ interface PublishGalleryRequest {
908
+ /** ID of the gallery to publish. */
909
+ galleryId?: string;
910
+ }
911
+ interface PublishGalleryResponse {
912
+ /** Published gallery. */
913
+ gallery?: Gallery;
914
+ }
915
+ interface PointNonNullableFields {
916
+ x: number;
917
+ y: number;
918
+ }
919
+ interface ImageNonNullableFields {
920
+ type: ImageType;
921
+ imageInfo: string;
922
+ focalPoint?: PointNonNullableFields;
923
+ }
924
+ interface VideoNonNullableFields {
925
+ type: VideoType;
926
+ videoInfo: string;
927
+ }
928
+ interface ExternalLinkNonNullableFields {
929
+ url: string;
930
+ }
931
+ interface PageLinkNonNullableFields {
932
+ pageId: string;
933
+ rel: LinkRel[];
934
+ }
935
+ interface AnchorLinkNonNullableFields {
936
+ anchorName: string;
937
+ anchorDataId: string;
938
+ pageId: string;
939
+ rel: LinkRel[];
940
+ }
941
+ interface DynamicPageLinkNonNullableFields {
942
+ routerId: string;
943
+ innerRoute: string;
944
+ rel: LinkRel[];
945
+ }
946
+ interface DocumentLinkNonNullableFields {
947
+ docId: string;
948
+ indexable: boolean;
949
+ }
950
+ interface EmailLinkNonNullableFields {
951
+ recipient: string;
952
+ }
953
+ interface PhoneLinkNonNullableFields {
954
+ phoneNumber: string;
955
+ }
956
+ interface AddressLinkNonNullableFields {
957
+ address: string;
958
+ }
959
+ interface WhatsAppLinkNonNullableFields {
960
+ phoneNumber: string;
961
+ }
962
+ interface TpaPageLinkNonNullableFields {
963
+ itemTypeIdentifier: string;
964
+ itemId: string;
965
+ pageId: string;
966
+ appDefinitionId: string;
967
+ path: string;
968
+ rel: LinkRel[];
969
+ }
970
+ interface WixLinkNonNullableFields {
971
+ external?: ExternalLinkNonNullableFields;
972
+ page?: PageLinkNonNullableFields;
973
+ anchor?: AnchorLinkNonNullableFields;
974
+ dynamicPage?: DynamicPageLinkNonNullableFields;
975
+ document?: DocumentLinkNonNullableFields;
976
+ email?: EmailLinkNonNullableFields;
977
+ phone?: PhoneLinkNonNullableFields;
978
+ address?: AddressLinkNonNullableFields;
979
+ whatsApp?: WhatsAppLinkNonNullableFields;
980
+ tpaPage?: TpaPageLinkNonNullableFields;
981
+ }
982
+ interface LinkNonNullableFields {
983
+ type: LinkType;
984
+ wixLinkData?: WixLinkNonNullableFields;
985
+ }
986
+ interface TagsNonNullableFields {
987
+ values: string[];
988
+ }
989
+ interface SecondaryMediaNonNullableFields {
990
+ image?: ImageNonNullableFields;
991
+ }
992
+ interface ItemNonNullableFields {
993
+ image?: ImageNonNullableFields;
994
+ video?: VideoNonNullableFields;
995
+ link?: LinkNonNullableFields;
996
+ type: Type;
997
+ tags?: TagsNonNullableFields;
998
+ secondaryMedia?: SecondaryMediaNonNullableFields;
999
+ }
1000
+ interface GalleryNonNullableFields {
1001
+ items: ItemNonNullableFields[];
1002
+ }
243
1003
  interface ListGalleriesResponseNonNullableFields {
244
- galleries: {
245
- items: {
246
- image?: {
247
- imageInfo: string;
248
- focalPoint?: {
249
- x: number;
250
- y: number;
251
- };
252
- };
253
- video?: {
254
- type: VideoType;
255
- videoInfo: string;
256
- };
257
- type: Type;
258
- tags?: {
259
- values: string[];
260
- };
261
- }[];
262
- }[];
1004
+ galleries: GalleryNonNullableFields[];
1005
+ }
1006
+ interface GetGalleryResponseNonNullableFields {
1007
+ gallery?: GalleryNonNullableFields;
263
1008
  }
264
1009
  interface ListGalleryItemsResponseNonNullableFields {
265
- items: {
266
- image?: {
267
- imageInfo: string;
268
- focalPoint?: {
269
- x: number;
270
- y: number;
271
- };
272
- };
273
- video?: {
274
- type: VideoType;
275
- videoInfo: string;
276
- };
277
- type: Type;
278
- tags?: {
279
- values: string[];
280
- };
281
- }[];
1010
+ items: ItemNonNullableFields[];
1011
+ }
1012
+ interface GetGalleryItemResponseNonNullableFields {
1013
+ item?: ItemNonNullableFields;
1014
+ }
1015
+ interface CreateGalleryResponseNonNullableFields {
1016
+ gallery?: GalleryNonNullableFields;
1017
+ }
1018
+ interface UpdateGalleryResponseNonNullableFields {
1019
+ gallery?: GalleryNonNullableFields;
282
1020
  }
283
1021
  interface DeleteGalleryResponseNonNullableFields {
284
1022
  galleryId: string;
285
1023
  }
286
1024
  interface DeleteGalleryItemsResponseNonNullableFields {
287
- gallery?: {
288
- items: {
289
- image?: {
290
- imageInfo: string;
291
- focalPoint?: {
292
- x: number;
293
- y: number;
294
- };
295
- };
296
- video?: {
297
- type: VideoType;
298
- videoInfo: string;
299
- };
300
- type: Type;
301
- tags?: {
302
- values: string[];
303
- };
304
- }[];
305
- };
1025
+ gallery?: GalleryNonNullableFields;
1026
+ }
1027
+ interface CreateGalleryItemResponseNonNullableFields {
1028
+ item?: ItemNonNullableFields;
1029
+ }
1030
+ interface UpdateGalleryItemResponseNonNullableFields {
1031
+ item?: ItemNonNullableFields;
306
1032
  }
307
1033
  interface DeleteGalleryItemResponseNonNullableFields {
308
1034
  itemId: string;
@@ -511,7 +1237,8 @@ interface DeleteGalleryItemIdentifiers {
511
1237
  type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
512
1238
  interface HttpClient {
513
1239
  request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
514
- fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
1240
+ fetchWithAuth: typeof fetch;
1241
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
515
1242
  }
516
1243
  type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
517
1244
  type HttpResponse<T = any> = {
@@ -551,144 +1278,177 @@ declare global {
551
1278
  }
552
1279
  }
553
1280
 
554
- declare function listGalleries$1(httpClient: HttpClient): (options?: ListGalleriesOptions) => Promise<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
555
- declare function getGallery$1(httpClient: HttpClient): (galleryId: string, options?: GetGalleryOptions) => 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 listGalleryItems$1(httpClient: HttpClient): (galleryId: string, options?: ListGalleryItemsOptions) => Promise<ListGalleryItemsResponse & ListGalleryItemsResponseNonNullableFields>;
575
- declare function getGalleryItem$1(httpClient: HttpClient): (identifiers: GetGalleryItemIdentifiers) => Promise<Item & {
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
- declare function createGallery$1(httpClient: HttpClient): (options?: CreateGalleryOptions) => Promise<Gallery & {
593
- items: {
594
- image?: {
595
- imageInfo: string;
596
- focalPoint?: {
597
- x: number;
598
- y: number;
599
- } | undefined;
600
- } | undefined;
601
- video?: {
602
- type: VideoType;
603
- videoInfo: string;
604
- } | undefined;
605
- type: Type;
606
- tags?: {
607
- values: string[];
608
- } | undefined;
609
- }[];
610
- }>;
611
- declare function updateGallery$1(httpClient: HttpClient): (_id: string | null, gallery: UpdateGallery) => Promise<Gallery & {
612
- items: {
613
- image?: {
614
- imageInfo: string;
615
- focalPoint?: {
616
- x: number;
617
- y: number;
618
- } | undefined;
619
- } | undefined;
620
- video?: {
621
- type: VideoType;
622
- videoInfo: string;
623
- } | undefined;
624
- type: Type;
625
- tags?: {
626
- values: string[];
627
- } | undefined;
628
- }[];
629
- }>;
630
- declare function deleteGallery$1(httpClient: HttpClient): (galleryId: string) => Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
631
- declare function deleteGalleryItems$1(httpClient: HttpClient): (galleryId: string, options?: DeleteGalleryItemsOptions) => Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
632
- declare function createGalleryItem$1(httpClient: HttpClient): (galleryId: string, item: Item) => Promise<Item & {
633
- image?: {
634
- imageInfo: string;
635
- focalPoint?: {
636
- x: number;
637
- y: number;
638
- } | undefined;
639
- } | undefined;
640
- video?: {
641
- type: VideoType;
642
- videoInfo: string;
643
- } | undefined;
644
- type: Type;
645
- tags?: {
646
- values: string[];
647
- } | undefined;
648
- }>;
649
- declare function updateGalleryItem$1(httpClient: HttpClient): (identifiers: UpdateGalleryItemIdentifiers, item: UpdateGalleryItem) => Promise<Item & {
650
- image?: {
651
- imageInfo: string;
652
- focalPoint?: {
653
- x: number;
654
- y: number;
655
- } | undefined;
656
- } | undefined;
657
- video?: {
658
- type: VideoType;
659
- videoInfo: string;
660
- } | undefined;
661
- type: Type;
662
- tags?: {
663
- values: string[];
664
- } | undefined;
665
- }>;
666
- declare function deleteGalleryItem$1(httpClient: HttpClient): (identifiers: DeleteGalleryItemIdentifiers) => Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
667
- declare const onGalleryCreated$1: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
668
- declare const onGalleryUpdated$1: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
669
- declare const onGalleryDeleted$1: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
670
- declare const onGalleryItemCreated$1: EventDefinition<GalleryItemCreatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_created">;
671
- declare const onGalleryItemUpdated$1: EventDefinition<GalleryItemUpdatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_updated">;
672
- declare const onGalleryItemDeleted$1: EventDefinition<GalleryItemDeletedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_deleted">;
1281
+ declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1282
+
1283
+ declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
673
1284
 
674
- declare const listGalleries: BuildRESTFunction<typeof listGalleries$1>;
675
- declare const getGallery: BuildRESTFunction<typeof getGallery$1>;
676
- declare const listGalleryItems: BuildRESTFunction<typeof listGalleryItems$1>;
677
- declare const getGalleryItem: BuildRESTFunction<typeof getGalleryItem$1>;
678
- declare const createGallery: BuildRESTFunction<typeof createGallery$1>;
679
- declare const updateGallery: BuildRESTFunction<typeof updateGallery$1>;
680
- declare const deleteGallery: BuildRESTFunction<typeof deleteGallery$1>;
681
- declare const deleteGalleryItems: BuildRESTFunction<typeof deleteGalleryItems$1>;
682
- declare const createGalleryItem: BuildRESTFunction<typeof createGalleryItem$1>;
683
- declare const updateGalleryItem: BuildRESTFunction<typeof updateGalleryItem$1>;
684
- declare const deleteGalleryItem: BuildRESTFunction<typeof deleteGalleryItem$1>;
685
- declare const onGalleryCreated: BuildEventDefinition<typeof onGalleryCreated$1>;
686
- declare const onGalleryUpdated: BuildEventDefinition<typeof onGalleryUpdated$1>;
687
- declare const onGalleryDeleted: BuildEventDefinition<typeof onGalleryDeleted$1>;
688
- declare const onGalleryItemCreated: BuildEventDefinition<typeof onGalleryItemCreated$1>;
689
- declare const onGalleryItemUpdated: BuildEventDefinition<typeof onGalleryItemUpdated$1>;
690
- declare const onGalleryItemDeleted: BuildEventDefinition<typeof onGalleryItemDeleted$1>;
1285
+ declare const listGalleries: ReturnType<typeof createRESTModule<typeof publicListGalleries>>;
1286
+ declare const getGallery: ReturnType<typeof createRESTModule<typeof publicGetGallery>>;
1287
+ declare const listGalleryItems: ReturnType<typeof createRESTModule<typeof publicListGalleryItems>>;
1288
+ declare const getGalleryItem: ReturnType<typeof createRESTModule<typeof publicGetGalleryItem>>;
1289
+ declare const createGallery: ReturnType<typeof createRESTModule<typeof publicCreateGallery>>;
1290
+ declare const updateGallery: ReturnType<typeof createRESTModule<typeof publicUpdateGallery>>;
1291
+ declare const deleteGallery: ReturnType<typeof createRESTModule<typeof publicDeleteGallery>>;
1292
+ declare const deleteGalleryItems: ReturnType<typeof createRESTModule<typeof publicDeleteGalleryItems>>;
1293
+ declare const createGalleryItem: ReturnType<typeof createRESTModule<typeof publicCreateGalleryItem>>;
1294
+ declare const updateGalleryItem: ReturnType<typeof createRESTModule<typeof publicUpdateGalleryItem>>;
1295
+ declare const deleteGalleryItem: ReturnType<typeof createRESTModule<typeof publicDeleteGalleryItem>>;
1296
+ declare const onGalleryCreated: ReturnType<typeof createEventModule<typeof publicOnGalleryCreated>>;
1297
+ declare const onGalleryUpdated: ReturnType<typeof createEventModule<typeof publicOnGalleryUpdated>>;
1298
+ declare const onGalleryDeleted: ReturnType<typeof createEventModule<typeof publicOnGalleryDeleted>>;
1299
+ declare const onGalleryItemCreated: ReturnType<typeof createEventModule<typeof publicOnGalleryItemCreated>>;
1300
+ declare const onGalleryItemUpdated: ReturnType<typeof createEventModule<typeof publicOnGalleryItemUpdated>>;
1301
+ declare const onGalleryItemDeleted: ReturnType<typeof createEventModule<typeof publicOnGalleryItemDeleted>>;
691
1302
 
1303
+ type context_ActionEvent = ActionEvent;
1304
+ type context_AddressLink = AddressLink;
1305
+ type context_AnchorLink = AnchorLink;
1306
+ type context_App = App;
1307
+ type context_BaseEventMetadata = BaseEventMetadata;
1308
+ type context_BulkDeleteGalleryItemsRequest = BulkDeleteGalleryItemsRequest;
1309
+ type context_BulkDeleteGalleryItemsResponse = BulkDeleteGalleryItemsResponse;
1310
+ type context_CleanDeletedGalleriesEvent = CleanDeletedGalleriesEvent;
1311
+ type context_CreateGalleryItemRequest = CreateGalleryItemRequest;
1312
+ type context_CreateGalleryItemResponse = CreateGalleryItemResponse;
1313
+ type context_CreateGalleryItemResponseNonNullableFields = CreateGalleryItemResponseNonNullableFields;
1314
+ type context_CreateGalleryItemsRequest = CreateGalleryItemsRequest;
1315
+ type context_CreateGalleryItemsResponse = CreateGalleryItemsResponse;
1316
+ type context_CreateGalleryOptions = CreateGalleryOptions;
1317
+ type context_CreateGalleryRequest = CreateGalleryRequest;
1318
+ type context_CreateGalleryResponse = CreateGalleryResponse;
1319
+ type context_CreateGalleryResponseNonNullableFields = CreateGalleryResponseNonNullableFields;
1320
+ type context_DeleteByFilterOperation = DeleteByFilterOperation;
1321
+ type context_DeleteByIdsOperation = DeleteByIdsOperation;
1322
+ type context_DeleteGalleryItemIdentifiers = DeleteGalleryItemIdentifiers;
1323
+ type context_DeleteGalleryItemRequest = DeleteGalleryItemRequest;
1324
+ type context_DeleteGalleryItemResponse = DeleteGalleryItemResponse;
1325
+ type context_DeleteGalleryItemResponseNonNullableFields = DeleteGalleryItemResponseNonNullableFields;
1326
+ type context_DeleteGalleryItemsOptions = DeleteGalleryItemsOptions;
1327
+ type context_DeleteGalleryItemsRequest = DeleteGalleryItemsRequest;
1328
+ type context_DeleteGalleryItemsResponse = DeleteGalleryItemsResponse;
1329
+ type context_DeleteGalleryItemsResponseNonNullableFields = DeleteGalleryItemsResponseNonNullableFields;
1330
+ type context_DeleteGalleryRequest = DeleteGalleryRequest;
1331
+ type context_DeleteGalleryResponse = DeleteGalleryResponse;
1332
+ type context_DeleteGalleryResponseNonNullableFields = DeleteGalleryResponseNonNullableFields;
1333
+ type context_DocumentImage = DocumentImage;
1334
+ type context_DocumentLink = DocumentLink;
1335
+ type context_DocumentPayload = DocumentPayload;
1336
+ type context_DocumentUpdateOperation = DocumentUpdateOperation;
1337
+ type context_DomainEvent = DomainEvent;
1338
+ type context_DomainEventBodyOneOf = DomainEventBodyOneOf;
1339
+ type context_DynamicPageLink = DynamicPageLink;
1340
+ type context_EmailLink = EmailLink;
1341
+ type context_Empty = Empty;
1342
+ type context_EntityCreatedEvent = EntityCreatedEvent;
1343
+ type context_EntityDeletedEvent = EntityDeletedEvent;
1344
+ type context_EntityUpdatedEvent = EntityUpdatedEvent;
1345
+ type context_Enum = Enum;
1346
+ declare const context_Enum: typeof Enum;
1347
+ type context_EventMetadata = EventMetadata;
1348
+ type context_EventsPage = EventsPage;
1349
+ type context_ExternalLink = ExternalLink;
1350
+ type context_File = File;
1351
+ type context_Gallery = Gallery;
1352
+ type context_GalleryCreatedEnvelope = GalleryCreatedEnvelope;
1353
+ type context_GalleryDeletedEnvelope = GalleryDeletedEnvelope;
1354
+ type context_GalleryItemCreated = GalleryItemCreated;
1355
+ type context_GalleryItemCreatedEnvelope = GalleryItemCreatedEnvelope;
1356
+ type context_GalleryItemDeleted = GalleryItemDeleted;
1357
+ type context_GalleryItemDeletedEnvelope = GalleryItemDeletedEnvelope;
1358
+ type context_GalleryItemUpdated = GalleryItemUpdated;
1359
+ type context_GalleryItemUpdatedEnvelope = GalleryItemUpdatedEnvelope;
1360
+ type context_GalleryNonNullableFields = GalleryNonNullableFields;
1361
+ type context_GalleryPublished = GalleryPublished;
1362
+ type context_GalleryUpdatedEnvelope = GalleryUpdatedEnvelope;
1363
+ type context_GetGalleryItemIdentifiers = GetGalleryItemIdentifiers;
1364
+ type context_GetGalleryItemRequest = GetGalleryItemRequest;
1365
+ type context_GetGalleryItemResponse = GetGalleryItemResponse;
1366
+ type context_GetGalleryItemResponseNonNullableFields = GetGalleryItemResponseNonNullableFields;
1367
+ type context_GetGalleryOptions = GetGalleryOptions;
1368
+ type context_GetGalleryRequest = GetGalleryRequest;
1369
+ type context_GetGalleryRequestVersionOneOf = GetGalleryRequestVersionOneOf;
1370
+ type context_GetGalleryResponse = GetGalleryResponse;
1371
+ type context_GetGalleryResponseNonNullableFields = GetGalleryResponseNonNullableFields;
1372
+ type context_HtmlSitePublished = HtmlSitePublished;
1373
+ type context_HtmlSiteRCPublished = HtmlSiteRCPublished;
1374
+ type context_IdentificationData = IdentificationData;
1375
+ type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
1376
+ type context_Image = Image;
1377
+ type context_ImageType = ImageType;
1378
+ declare const context_ImageType: typeof ImageType;
1379
+ type context_IndexDocument = IndexDocument;
1380
+ type context_InvalidateCache = InvalidateCache;
1381
+ type context_InvalidateCacheGetByOneOf = InvalidateCacheGetByOneOf;
1382
+ type context_Item = Item;
1383
+ type context_ItemId = ItemId;
1384
+ type context_ItemMetadataOneOf = ItemMetadataOneOf;
1385
+ type context_ItemNonNullableFields = ItemNonNullableFields;
1386
+ type context_ItemsInGallery = ItemsInGallery;
1387
+ type context_Link = Link;
1388
+ type context_LinkRel = LinkRel;
1389
+ declare const context_LinkRel: typeof LinkRel;
1390
+ type context_LinkType = LinkType;
1391
+ declare const context_LinkType: typeof LinkType;
1392
+ type context_ListGalleriesItemsRequest = ListGalleriesItemsRequest;
1393
+ type context_ListGalleriesItemsResponse = ListGalleriesItemsResponse;
1394
+ type context_ListGalleriesOptions = ListGalleriesOptions;
1395
+ type context_ListGalleriesRequest = ListGalleriesRequest;
1396
+ type context_ListGalleriesResponse = ListGalleriesResponse;
1397
+ type context_ListGalleriesResponseNonNullableFields = ListGalleriesResponseNonNullableFields;
1398
+ type context_ListGalleryItemsOptions = ListGalleryItemsOptions;
1399
+ type context_ListGalleryItemsRequest = ListGalleryItemsRequest;
1400
+ type context_ListGalleryItemsResponse = ListGalleryItemsResponse;
1401
+ type context_ListGalleryItemsResponseNonNullableFields = ListGalleryItemsResponseNonNullableFields;
1402
+ type context_MessageEnvelope = MessageEnvelope;
1403
+ type context_Page = Page;
1404
+ type context_PageLink = PageLink;
1405
+ type context_PhoneLink = PhoneLink;
1406
+ type context_Point = Point;
1407
+ type context_ProgallerypublisherPublishGalleryRequest = ProgallerypublisherPublishGalleryRequest;
1408
+ type context_ProgallerypublisherPublishGalleryResponse = ProgallerypublisherPublishGalleryResponse;
1409
+ type context_PublishGalleryItemRequest = PublishGalleryItemRequest;
1410
+ type context_PublishGalleryItemResponse = PublishGalleryItemResponse;
1411
+ type context_PublishGalleryItemsRequest = PublishGalleryItemsRequest;
1412
+ type context_PublishGalleryItemsResponse = PublishGalleryItemsResponse;
1413
+ type context_PublishGalleryRequest = PublishGalleryRequest;
1414
+ type context_PublishGalleryResponse = PublishGalleryResponse;
1415
+ type context_RestoreInfo = RestoreInfo;
1416
+ type context_SearchIndexingNotification = SearchIndexingNotification;
1417
+ type context_SearchIndexingNotificationState = SearchIndexingNotificationState;
1418
+ declare const context_SearchIndexingNotificationState: typeof SearchIndexingNotificationState;
1419
+ type context_SecondaryMedia = SecondaryMedia;
1420
+ type context_SecondaryMediaMetadataOneOf = SecondaryMediaMetadataOneOf;
1421
+ type context_State = State;
1422
+ declare const context_State: typeof State;
1423
+ type context_Tags = Tags;
1424
+ type context_Text = Text;
1425
+ type context_TpaPageLink = TpaPageLink;
1426
+ type context_Type = Type;
1427
+ declare const context_Type: typeof Type;
1428
+ type context_URI = URI;
1429
+ type context_UnsharpMasking = UnsharpMasking;
1430
+ type context_UpdateByFilterOperation = UpdateByFilterOperation;
1431
+ type context_UpdateDocumentsEvent = UpdateDocumentsEvent;
1432
+ type context_UpdateDocumentsEventOperationOneOf = UpdateDocumentsEventOperationOneOf;
1433
+ type context_UpdateExistingOperation = UpdateExistingOperation;
1434
+ type context_UpdateGallery = UpdateGallery;
1435
+ type context_UpdateGalleryItem = UpdateGalleryItem;
1436
+ type context_UpdateGalleryItemIdentifiers = UpdateGalleryItemIdentifiers;
1437
+ type context_UpdateGalleryItemRequest = UpdateGalleryItemRequest;
1438
+ type context_UpdateGalleryItemResponse = UpdateGalleryItemResponse;
1439
+ type context_UpdateGalleryItemResponseNonNullableFields = UpdateGalleryItemResponseNonNullableFields;
1440
+ type context_UpdateGalleryRequest = UpdateGalleryRequest;
1441
+ type context_UpdateGalleryResponse = UpdateGalleryResponse;
1442
+ type context_UpdateGalleryResponseNonNullableFields = UpdateGalleryResponseNonNullableFields;
1443
+ type context_Video = Video;
1444
+ type context_VideoResolution = VideoResolution;
1445
+ type context_VideoType = VideoType;
1446
+ declare const context_VideoType: typeof VideoType;
1447
+ type context_WebhookIdentityType = WebhookIdentityType;
1448
+ declare const context_WebhookIdentityType: typeof WebhookIdentityType;
1449
+ type context_WhatsAppLink = WhatsAppLink;
1450
+ type context_WixLink = WixLink;
1451
+ type context_WixLinkLinkOneOf = WixLinkLinkOneOf;
692
1452
  declare const context_createGallery: typeof createGallery;
693
1453
  declare const context_createGalleryItem: typeof createGalleryItem;
694
1454
  declare const context_deleteGallery: typeof deleteGallery;
@@ -707,7 +1467,7 @@ declare const context_onGalleryUpdated: typeof onGalleryUpdated;
707
1467
  declare const context_updateGallery: typeof updateGallery;
708
1468
  declare const context_updateGalleryItem: typeof updateGalleryItem;
709
1469
  declare namespace context {
710
- export { context_createGallery as createGallery, context_createGalleryItem as createGalleryItem, context_deleteGallery as deleteGallery, context_deleteGalleryItem as deleteGalleryItem, context_deleteGalleryItems as deleteGalleryItems, 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 };
1470
+ export { type context_ActionEvent as ActionEvent, type context_AddressLink as AddressLink, type context_AnchorLink as AnchorLink, type context_App as App, type context_BaseEventMetadata as BaseEventMetadata, type context_BulkDeleteGalleryItemsRequest as BulkDeleteGalleryItemsRequest, type context_BulkDeleteGalleryItemsResponse as BulkDeleteGalleryItemsResponse, type context_CleanDeletedGalleriesEvent as CleanDeletedGalleriesEvent, type context_CreateGalleryItemRequest as CreateGalleryItemRequest, type context_CreateGalleryItemResponse as CreateGalleryItemResponse, type context_CreateGalleryItemResponseNonNullableFields as CreateGalleryItemResponseNonNullableFields, type context_CreateGalleryItemsRequest as CreateGalleryItemsRequest, type context_CreateGalleryItemsResponse as CreateGalleryItemsResponse, type context_CreateGalleryOptions as CreateGalleryOptions, type context_CreateGalleryRequest as CreateGalleryRequest, type context_CreateGalleryResponse as CreateGalleryResponse, type context_CreateGalleryResponseNonNullableFields as CreateGalleryResponseNonNullableFields, type context_DeleteByFilterOperation as DeleteByFilterOperation, type context_DeleteByIdsOperation as DeleteByIdsOperation, type context_DeleteGalleryItemIdentifiers as DeleteGalleryItemIdentifiers, type context_DeleteGalleryItemRequest as DeleteGalleryItemRequest, type context_DeleteGalleryItemResponse as DeleteGalleryItemResponse, type context_DeleteGalleryItemResponseNonNullableFields as DeleteGalleryItemResponseNonNullableFields, type context_DeleteGalleryItemsOptions as DeleteGalleryItemsOptions, type context_DeleteGalleryItemsRequest as DeleteGalleryItemsRequest, type context_DeleteGalleryItemsResponse as DeleteGalleryItemsResponse, type context_DeleteGalleryItemsResponseNonNullableFields as DeleteGalleryItemsResponseNonNullableFields, type context_DeleteGalleryRequest as DeleteGalleryRequest, type context_DeleteGalleryResponse as DeleteGalleryResponse, type context_DeleteGalleryResponseNonNullableFields as DeleteGalleryResponseNonNullableFields, type context_DocumentImage as DocumentImage, type context_DocumentLink as DocumentLink, type context_DocumentPayload as DocumentPayload, type context_DocumentUpdateOperation as DocumentUpdateOperation, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_DynamicPageLink as DynamicPageLink, type context_EmailLink as EmailLink, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, context_Enum as Enum, type context_EventMetadata as EventMetadata, type context_EventsPage as EventsPage, type context_ExternalLink as ExternalLink, type context_File as File, type context_Gallery as Gallery, type context_GalleryCreatedEnvelope as GalleryCreatedEnvelope, type context_GalleryDeletedEnvelope as GalleryDeletedEnvelope, type context_GalleryItemCreated as GalleryItemCreated, type context_GalleryItemCreatedEnvelope as GalleryItemCreatedEnvelope, type context_GalleryItemDeleted as GalleryItemDeleted, type context_GalleryItemDeletedEnvelope as GalleryItemDeletedEnvelope, type context_GalleryItemUpdated as GalleryItemUpdated, type context_GalleryItemUpdatedEnvelope as GalleryItemUpdatedEnvelope, type context_GalleryNonNullableFields as GalleryNonNullableFields, type context_GalleryPublished as GalleryPublished, type context_GalleryUpdatedEnvelope as GalleryUpdatedEnvelope, type context_GetGalleryItemIdentifiers as GetGalleryItemIdentifiers, type context_GetGalleryItemRequest as GetGalleryItemRequest, type context_GetGalleryItemResponse as GetGalleryItemResponse, type context_GetGalleryItemResponseNonNullableFields as GetGalleryItemResponseNonNullableFields, type context_GetGalleryOptions as GetGalleryOptions, type context_GetGalleryRequest as GetGalleryRequest, type context_GetGalleryRequestVersionOneOf as GetGalleryRequestVersionOneOf, type context_GetGalleryResponse as GetGalleryResponse, type context_GetGalleryResponseNonNullableFields as GetGalleryResponseNonNullableFields, type context_HtmlSitePublished as HtmlSitePublished, type context_HtmlSiteRCPublished as HtmlSiteRCPublished, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Image as Image, context_ImageType as ImageType, type context_IndexDocument as IndexDocument, type context_InvalidateCache as InvalidateCache, type context_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context_Item as Item, type context_ItemId as ItemId, type context_ItemMetadataOneOf as ItemMetadataOneOf, type context_ItemNonNullableFields as ItemNonNullableFields, type context_ItemsInGallery as ItemsInGallery, type context_Link as Link, context_LinkRel as LinkRel, context_LinkType as LinkType, type context_ListGalleriesItemsRequest as ListGalleriesItemsRequest, type context_ListGalleriesItemsResponse as ListGalleriesItemsResponse, type context_ListGalleriesOptions as ListGalleriesOptions, type context_ListGalleriesRequest as ListGalleriesRequest, type context_ListGalleriesResponse as ListGalleriesResponse, type context_ListGalleriesResponseNonNullableFields as ListGalleriesResponseNonNullableFields, type context_ListGalleryItemsOptions as ListGalleryItemsOptions, type context_ListGalleryItemsRequest as ListGalleryItemsRequest, type context_ListGalleryItemsResponse as ListGalleryItemsResponse, type context_ListGalleryItemsResponseNonNullableFields as ListGalleryItemsResponseNonNullableFields, type context_MessageEnvelope as MessageEnvelope, type context_Page as Page, type context_PageLink as PageLink, type context_PhoneLink as PhoneLink, type context_Point as Point, type context_ProgallerypublisherPublishGalleryRequest as ProgallerypublisherPublishGalleryRequest, type context_ProgallerypublisherPublishGalleryResponse as ProgallerypublisherPublishGalleryResponse, type context_PublishGalleryItemRequest as PublishGalleryItemRequest, type context_PublishGalleryItemResponse as PublishGalleryItemResponse, type context_PublishGalleryItemsRequest as PublishGalleryItemsRequest, type context_PublishGalleryItemsResponse as PublishGalleryItemsResponse, type context_PublishGalleryRequest as PublishGalleryRequest, type context_PublishGalleryResponse as PublishGalleryResponse, type context_RestoreInfo as RestoreInfo, type context_SearchIndexingNotification as SearchIndexingNotification, context_SearchIndexingNotificationState as SearchIndexingNotificationState, type context_SecondaryMedia as SecondaryMedia, type context_SecondaryMediaMetadataOneOf as SecondaryMediaMetadataOneOf, context_State as State, type context_Tags as Tags, type context_Text as Text, type context_TpaPageLink as TpaPageLink, context_Type as Type, type context_URI as URI, type context_UnsharpMasking as UnsharpMasking, type context_UpdateByFilterOperation as UpdateByFilterOperation, type context_UpdateDocumentsEvent as UpdateDocumentsEvent, type context_UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOf, type context_UpdateExistingOperation as UpdateExistingOperation, type context_UpdateGallery as UpdateGallery, type context_UpdateGalleryItem as UpdateGalleryItem, type context_UpdateGalleryItemIdentifiers as UpdateGalleryItemIdentifiers, type context_UpdateGalleryItemRequest as UpdateGalleryItemRequest, type context_UpdateGalleryItemResponse as UpdateGalleryItemResponse, type context_UpdateGalleryItemResponseNonNullableFields as UpdateGalleryItemResponseNonNullableFields, type context_UpdateGalleryRequest as UpdateGalleryRequest, type context_UpdateGalleryResponse as UpdateGalleryResponse, type context_UpdateGalleryResponseNonNullableFields as UpdateGalleryResponseNonNullableFields, type context_Video as Video, type context_VideoResolution as VideoResolution, context_VideoType as VideoType, context_WebhookIdentityType as WebhookIdentityType, type context_WhatsAppLink as WhatsAppLink, type context_WixLink as WixLink, type context_WixLinkLinkOneOf as WixLinkLinkOneOf, context_createGallery as createGallery, context_createGalleryItem as createGalleryItem, context_deleteGallery as deleteGallery, context_deleteGalleryItem as deleteGalleryItem, context_deleteGalleryItems as deleteGalleryItems, 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 };
711
1471
  }
712
1472
 
713
1473
  export { context as proGallery };