@wix/auto_sdk_pro-gallery_pro-gallery 1.0.35 → 1.0.37

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.
@@ -422,6 +422,14 @@ interface InvalidateCache extends InvalidateCacheGetByOneOf {
422
422
  /** Is local DS */
423
423
  localDc?: boolean;
424
424
  hardPurge?: boolean;
425
+ /**
426
+ * Optional caller-provided ID for tracking this invalidation through the system.
427
+ * When set, the corresponding CDN purge completion event will include this ID,
428
+ * allowing you to confirm when the invalidation has fully propagated.
429
+ * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.
430
+ * @maxLength 256
431
+ */
432
+ correlationId?: string | null;
425
433
  }
426
434
  /** @oneof */
427
435
  interface InvalidateCacheGetByOneOf {
@@ -747,6 +755,8 @@ interface MessageEnvelope {
747
755
  identity?: IdentificationData;
748
756
  /** Stringify payload. */
749
757
  data?: string;
758
+ /** Details related to the account */
759
+ accountInfo?: AccountInfo;
750
760
  }
751
761
  interface IdentificationData extends IdentificationDataIdOneOf {
752
762
  /**
@@ -804,19 +814,19 @@ declare enum WebhookIdentityType {
804
814
  }
805
815
  /** @enumType */
806
816
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
807
- interface AccountDetails {
817
+ interface AccountInfo {
808
818
  /**
809
- * ID of the account.
819
+ * ID of the Wix account associated with the event.
810
820
  * @format GUID
811
821
  */
812
822
  accountId?: string | null;
813
823
  /**
814
- * ID of the parent account.
824
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
815
825
  * @format GUID
816
826
  */
817
827
  parentAccountId?: string | null;
818
828
  /**
819
- * ID of the site, if applicable.
829
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
820
830
  * @format GUID
821
831
  */
822
832
  siteId?: string | null;
@@ -1276,6 +1286,8 @@ interface BaseEventMetadata {
1276
1286
  eventType?: string;
1277
1287
  /** The identification type and identity data. */
1278
1288
  identity?: IdentificationData;
1289
+ /** Details related to the account */
1290
+ accountInfo?: AccountInfo;
1279
1291
  }
1280
1292
  interface EventMetadata extends BaseEventMetadata {
1281
1293
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -1306,6 +1318,15 @@ interface EventMetadata extends BaseEventMetadata {
1306
1318
  * 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.
1307
1319
  */
1308
1320
  entityEventSequence?: string | null;
1321
+ accountInfo?: AccountInfoMetadata;
1322
+ }
1323
+ interface AccountInfoMetadata {
1324
+ /** ID of the Wix account associated with the event */
1325
+ accountId: string;
1326
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
1327
+ siteId?: string;
1328
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
1329
+ parentAccountId?: string;
1309
1330
  }
1310
1331
  interface GalleryCreatedEnvelope {
1311
1332
  entity: Gallery;
@@ -1822,4 +1843,4 @@ interface DeleteGalleryItemIdentifiers {
1822
1843
  itemId: string;
1823
1844
  }
1824
1845
 
1825
- export { type AccountDetails, type ActionEvent, type AddressLink, type AnchorLink, type App, type BaseEventMetadata, type BulkDeleteGalleryItemsRequest, type BulkDeleteGalleryItemsResponse, type CleanDeletedGalleriesEvent, type CreateGalleryItemRequest, type CreateGalleryItemResponse, type CreateGalleryItemsRequest, type CreateGalleryItemsResponse, type CreateGalleryOptions, type CreateGalleryRequest, type CreateGalleryResponse, type CustomTag, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteGalleryItemIdentifiers, type DeleteGalleryItemRequest, type DeleteGalleryItemResponse, type DeleteGalleryItemsOptions, type DeleteGalleryItemsRequest, type DeleteGalleryItemsResponse, type DeleteGalleryRequest, type DeleteGalleryResponse, type DocumentImage, type DocumentLink, type DocumentPayload, type DocumentUpdateOperation, type DomainEvent, type DomainEventBodyOneOf, type DynamicPageLink, type EmailLink, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, Enum, type EnumWithLiterals, type EventMetadata, type EventsPage, type ExternalLink, type File, type Gallery, type GalleryCreatedEnvelope, type GalleryDeletedEnvelope, type GalleryItemCreated, type GalleryItemCreatedEnvelope, type GalleryItemDeleted, type GalleryItemDeletedEnvelope, type GalleryItemUpdated, type GalleryItemUpdatedEnvelope, type GalleryPublished, type GalleryUpdatedEnvelope, type GetActiveGalleryRevisionRequest, type GetActiveGalleryRevisionResponse, type GetGalleryItemIdentifiers, type GetGalleryItemRequest, type GetGalleryItemResponse, type GetGalleryOptions, type GetGalleryOptionsVersionOneOf, type GetGalleryRequest, type GetGalleryRequestVersionOneOf, type GetGalleryResponse, type GetGalleryRevisionRequest, type GetGalleryRevisionResponse, type HtmlSitePublished, type HtmlSiteRCPublished, type IdentificationData, type IdentificationDataIdOneOf, type Image, ImageType, type ImageTypeWithLiterals, type IndexDocument, type InvalidateCache, type InvalidateCacheGetByOneOf, type Item, type ItemId, type ItemMetadataOneOf, type ItemsInGallery, type Link, LinkRel, type LinkRelWithLiterals, LinkType, type LinkTypeWithLiterals, type ListGalleriesItemsRequest, type ListGalleriesItemsResponse, type ListGalleriesOptions, type ListGalleriesRequest, type ListGalleriesResponse, type ListGalleryItemsOptions, type ListGalleryItemsRequest, type ListGalleryItemsResponse, type MessageEnvelope, type Page, type PageLink, type PhoneLink, type Point, type ProgallerypublisherPublishGalleryRequest, type ProgallerypublisherPublishGalleryResponse, type PublishGalleryItemRequest, type PublishGalleryItemResponse, type PublishGalleryItemsRequest, type PublishGalleryItemsResponse, type PublishGalleryRequest, type PublishGalleryResponse, RCLabel, type RCLabelWithLiterals, type RestoreAllGalleriesEvent, type RestoreInfo, type SearchIndexingNotification, SearchIndexingNotificationState, type SearchIndexingNotificationStateWithLiterals, type SecondaryMedia, type SecondaryMediaMetadataOneOf, State, type StateWithLiterals, type Tags, type Text, type TpaPageLink, type TriggerRestoreAllGalleriesAsyncRequest, type TriggerRestoreAllGalleriesAsyncResponse, Type, type TypeWithLiterals, type URI, type UnsharpMasking, type UpdateByFilterOperation, type UpdateDocumentsEvent, type UpdateDocumentsEventOperationOneOf, type UpdateExistingOperation, type UpdateGallery, type UpdateGalleryItem, type UpdateGalleryItemIdentifiers, type UpdateGalleryItemRequest, type UpdateGalleryItemResponse, type UpdateGalleryRequest, type UpdateGalleryResponse, type Video, type VideoResolution, VideoType, type VideoTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WhatsAppLink, type WixLink, type WixLinkLinkOneOf, bulkDeleteGalleryItems, createGallery, createGalleryItem, deleteGallery, deleteGalleryItem, deleteGalleryItems, getGallery, getGalleryItem, listGalleries, listGalleryItems, onGalleryCreated, onGalleryDeleted, onGalleryItemCreated, onGalleryItemDeleted, onGalleryItemUpdated, onGalleryUpdated, updateGallery, updateGalleryItem };
1846
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLink, type AnchorLink, type App, type BaseEventMetadata, type BulkDeleteGalleryItemsRequest, type BulkDeleteGalleryItemsResponse, type CleanDeletedGalleriesEvent, type CreateGalleryItemRequest, type CreateGalleryItemResponse, type CreateGalleryItemsRequest, type CreateGalleryItemsResponse, type CreateGalleryOptions, type CreateGalleryRequest, type CreateGalleryResponse, type CustomTag, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteGalleryItemIdentifiers, type DeleteGalleryItemRequest, type DeleteGalleryItemResponse, type DeleteGalleryItemsOptions, type DeleteGalleryItemsRequest, type DeleteGalleryItemsResponse, type DeleteGalleryRequest, type DeleteGalleryResponse, type DocumentImage, type DocumentLink, type DocumentPayload, type DocumentUpdateOperation, type DomainEvent, type DomainEventBodyOneOf, type DynamicPageLink, type EmailLink, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, Enum, type EnumWithLiterals, type EventMetadata, type EventsPage, type ExternalLink, type File, type Gallery, type GalleryCreatedEnvelope, type GalleryDeletedEnvelope, type GalleryItemCreated, type GalleryItemCreatedEnvelope, type GalleryItemDeleted, type GalleryItemDeletedEnvelope, type GalleryItemUpdated, type GalleryItemUpdatedEnvelope, type GalleryPublished, type GalleryUpdatedEnvelope, type GetActiveGalleryRevisionRequest, type GetActiveGalleryRevisionResponse, type GetGalleryItemIdentifiers, type GetGalleryItemRequest, type GetGalleryItemResponse, type GetGalleryOptions, type GetGalleryOptionsVersionOneOf, type GetGalleryRequest, type GetGalleryRequestVersionOneOf, type GetGalleryResponse, type GetGalleryRevisionRequest, type GetGalleryRevisionResponse, type HtmlSitePublished, type HtmlSiteRCPublished, type IdentificationData, type IdentificationDataIdOneOf, type Image, ImageType, type ImageTypeWithLiterals, type IndexDocument, type InvalidateCache, type InvalidateCacheGetByOneOf, type Item, type ItemId, type ItemMetadataOneOf, type ItemsInGallery, type Link, LinkRel, type LinkRelWithLiterals, LinkType, type LinkTypeWithLiterals, type ListGalleriesItemsRequest, type ListGalleriesItemsResponse, type ListGalleriesOptions, type ListGalleriesRequest, type ListGalleriesResponse, type ListGalleryItemsOptions, type ListGalleryItemsRequest, type ListGalleryItemsResponse, type MessageEnvelope, type Page, type PageLink, type PhoneLink, type Point, type ProgallerypublisherPublishGalleryRequest, type ProgallerypublisherPublishGalleryResponse, type PublishGalleryItemRequest, type PublishGalleryItemResponse, type PublishGalleryItemsRequest, type PublishGalleryItemsResponse, type PublishGalleryRequest, type PublishGalleryResponse, RCLabel, type RCLabelWithLiterals, type RestoreAllGalleriesEvent, type RestoreInfo, type SearchIndexingNotification, SearchIndexingNotificationState, type SearchIndexingNotificationStateWithLiterals, type SecondaryMedia, type SecondaryMediaMetadataOneOf, State, type StateWithLiterals, type Tags, type Text, type TpaPageLink, type TriggerRestoreAllGalleriesAsyncRequest, type TriggerRestoreAllGalleriesAsyncResponse, Type, type TypeWithLiterals, type URI, type UnsharpMasking, type UpdateByFilterOperation, type UpdateDocumentsEvent, type UpdateDocumentsEventOperationOneOf, type UpdateExistingOperation, type UpdateGallery, type UpdateGalleryItem, type UpdateGalleryItemIdentifiers, type UpdateGalleryItemRequest, type UpdateGalleryItemResponse, type UpdateGalleryRequest, type UpdateGalleryResponse, type Video, type VideoResolution, VideoType, type VideoTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WhatsAppLink, type WixLink, type WixLinkLinkOneOf, bulkDeleteGalleryItems, createGallery, createGalleryItem, deleteGallery, deleteGalleryItem, deleteGalleryItems, getGallery, getGalleryItem, listGalleries, listGalleryItems, onGalleryCreated, onGalleryDeleted, onGalleryItemCreated, onGalleryItemDeleted, onGalleryItemUpdated, onGalleryUpdated, updateGallery, updateGalleryItem };