@wix/auto_sdk_stores_info-sections-v-3 1.0.75 → 1.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +7 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +57 -1
  5. package/build/cjs/index.typings.js +7 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +57 -1
  8. package/build/cjs/meta.js +7 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +6 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +57 -1
  14. package/build/es/index.typings.mjs +6 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +57 -1
  17. package/build/es/meta.mjs +6 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +7 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +57 -1
  23. package/build/internal/cjs/index.typings.js +7 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +57 -1
  26. package/build/internal/cjs/meta.js +7 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +6 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +57 -1
  32. package/build/internal/es/index.typings.mjs +6 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +57 -1
  35. package/build/internal/es/meta.mjs +6 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -1834,6 +1834,8 @@ interface LayoutData {
1834
1834
  containerData?: PluginContainerData;
1835
1835
  /** Defines where selected design propertied applies to */
1836
1836
  designTarget?: DesignTargetWithLiterals;
1837
+ /** Banner configuration. When present, this layout is displayed as a banner. */
1838
+ banner?: Banner;
1837
1839
  }
1838
1840
  declare enum Scaling {
1839
1841
  /** Auto image scaling */
@@ -1867,6 +1869,14 @@ declare enum ImagePosition {
1867
1869
  }
1868
1870
  /** @enumType */
1869
1871
  type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
1872
+ declare enum Origin {
1873
+ /** Banner originated from an image */
1874
+ IMAGE = "IMAGE",
1875
+ /** Banner originated from a layout */
1876
+ LAYOUT = "LAYOUT"
1877
+ }
1878
+ /** @enumType */
1879
+ type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
1870
1880
  interface BackgroundImage {
1871
1881
  /** Background image. */
1872
1882
  media?: Media;
@@ -1903,6 +1913,10 @@ declare enum DesignTarget {
1903
1913
  }
1904
1914
  /** @enumType */
1905
1915
  type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';
1916
+ interface Banner {
1917
+ /** Origin of the banner */
1918
+ origin?: OriginWithLiterals;
1919
+ }
1906
1920
  interface LayoutCellData {
1907
1921
  /** Size of the cell in 12 columns grid. */
1908
1922
  colSpan?: number | null;
@@ -1990,6 +2004,10 @@ interface InvalidateCache extends InvalidateCacheGetByOneOf {
1990
2004
  file?: File;
1991
2005
  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
1992
2006
  customTag?: CustomTag;
2007
+ /** Invalidate by multiple page ids */
2008
+ pages?: Pages;
2009
+ /** Invalidate by multiple URI paths */
2010
+ uris?: URIs;
1993
2011
  /**
1994
2012
  * tell us why you're invalidating the cache. You don't need to add your app name
1995
2013
  * @maxLength 256
@@ -1998,6 +2016,14 @@ interface InvalidateCache extends InvalidateCacheGetByOneOf {
1998
2016
  /** Is local DS */
1999
2017
  localDc?: boolean;
2000
2018
  hardPurge?: boolean;
2019
+ /**
2020
+ * Optional caller-provided ID for tracking this invalidation through the system.
2021
+ * When set, the corresponding CDN purge completion event will include this ID,
2022
+ * allowing you to confirm when the invalidation has fully propagated.
2023
+ * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.
2024
+ * @maxLength 256
2025
+ */
2026
+ correlationId?: string | null;
2001
2027
  }
2002
2028
  /** @oneof */
2003
2029
  interface InvalidateCacheGetByOneOf {
@@ -2021,6 +2047,10 @@ interface InvalidateCacheGetByOneOf {
2021
2047
  file?: File;
2022
2048
  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
2023
2049
  customTag?: CustomTag;
2050
+ /** Invalidate by multiple page ids */
2051
+ pages?: Pages;
2052
+ /** Invalidate by multiple URI paths */
2053
+ uris?: URIs;
2024
2054
  }
2025
2055
  interface App {
2026
2056
  /**
@@ -2084,6 +2114,32 @@ interface CustomTag {
2084
2114
  */
2085
2115
  tag?: string;
2086
2116
  }
2117
+ interface Pages {
2118
+ /**
2119
+ * the msid the pages are on
2120
+ * @format GUID
2121
+ */
2122
+ metaSiteId?: string;
2123
+ /**
2124
+ * Invalidate by multiple Page IDs in a single message
2125
+ * @maxSize 100
2126
+ * @minLength 1
2127
+ */
2128
+ pageIds?: string[];
2129
+ }
2130
+ interface URIs {
2131
+ /**
2132
+ * the msid the URIs are on
2133
+ * @format GUID
2134
+ */
2135
+ metaSiteId?: string;
2136
+ /**
2137
+ * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes
2138
+ * @maxSize 100
2139
+ * @minLength 1
2140
+ */
2141
+ uriPaths?: string[];
2142
+ }
2087
2143
  interface CreateInfoSectionRequest {
2088
2144
  /** Info section to create. */
2089
2145
  infoSection: InfoSection;
@@ -3204,4 +3260,4 @@ interface BulkUpdateInfoSectionsOptions {
3204
3260
  */
3205
3261
  declare function bulkDeleteInfoSections(infoSectionIds: string[]): Promise<NonNullablePaths<BulkDeleteInfoSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
3206
3262
 
3207
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type App, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkCreateInfoSectionsOptions, type BulkCreateInfoSectionsRequest, type BulkCreateInfoSectionsResponse, type BulkCreateInfoSectionsValidationErrors, type BulkDeleteInfoSectionsRequest, type BulkDeleteInfoSectionsResponse, type BulkGetOrCreateInfoSectionsOptions, type BulkGetOrCreateInfoSectionsRequest, type BulkGetOrCreateInfoSectionsResponse, type BulkGetOrCreateInfoSectionsValidationErrors, type BulkInfoSectionItemResult, type BulkInfoSectionResult, type BulkUpdateInfoSectionsOptions, type BulkUpdateInfoSectionsRequest, type BulkUpdateInfoSectionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, type CreateInfoSectionRequest, type CreateInfoSectionResponse, type CreateInfoSectionValidationErrors, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteInfoSectionRequest, type DeleteInfoSectionResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type File, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetInfoSectionOptions, type GetInfoSectionRequest, type GetInfoSectionResponse, type GetOrCreateInfoSectionOptions, type GetOrCreateInfoSectionRequest, type GetOrCreateInfoSectionResponse, type GetOrCreateInfoSectionValidationErrors, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, type InfoSection, type InfoSectionCreatedEnvelope, type InfoSectionDeletedEnvelope, type InfoSectionForGetOrCreate, type InfoSectionQuery, type InfoSectionQuerySpec, type InfoSectionUpdatedEnvelope, type InfoSectionsQueryBuilder, type InfoSectionsQueryResult, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InvalidateCache, type InvalidateCacheGetByOneOf, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MaskedInfoSection, type Media, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type Page, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type QueryInfoSectionsOptions, type QueryInfoSectionsRequest, type QueryInfoSectionsResponse, type RecloneSiteRequest, type RecloneSiteResponse, type Rel, RequestedFields, type RequestedFieldsWithLiterals, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type URI, type UpdateInfoSection, type UpdateInfoSectionOptions, type UpdateInfoSectionRequest, type UpdateInfoSectionResponse, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkCreateInfoSections, bulkDeleteInfoSections, bulkGetOrCreateInfoSections, bulkUpdateInfoSections, createInfoSection, deleteInfoSection, getInfoSection, getOrCreateInfoSection, onInfoSectionCreated, onInfoSectionDeleted, onInfoSectionUpdated, queryInfoSections, typedQueryInfoSections, updateInfoSection, utils };
3263
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type App, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkCreateInfoSectionsOptions, type BulkCreateInfoSectionsRequest, type BulkCreateInfoSectionsResponse, type BulkCreateInfoSectionsValidationErrors, type BulkDeleteInfoSectionsRequest, type BulkDeleteInfoSectionsResponse, type BulkGetOrCreateInfoSectionsOptions, type BulkGetOrCreateInfoSectionsRequest, type BulkGetOrCreateInfoSectionsResponse, type BulkGetOrCreateInfoSectionsValidationErrors, type BulkInfoSectionItemResult, type BulkInfoSectionResult, type BulkUpdateInfoSectionsOptions, type BulkUpdateInfoSectionsRequest, type BulkUpdateInfoSectionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, type CreateInfoSectionRequest, type CreateInfoSectionResponse, type CreateInfoSectionValidationErrors, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteInfoSectionRequest, type DeleteInfoSectionResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type File, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetInfoSectionOptions, type GetInfoSectionRequest, type GetInfoSectionResponse, type GetOrCreateInfoSectionOptions, type GetOrCreateInfoSectionRequest, type GetOrCreateInfoSectionResponse, type GetOrCreateInfoSectionValidationErrors, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, type InfoSection, type InfoSectionCreatedEnvelope, type InfoSectionDeletedEnvelope, type InfoSectionForGetOrCreate, type InfoSectionQuery, type InfoSectionQuerySpec, type InfoSectionUpdatedEnvelope, type InfoSectionsQueryBuilder, type InfoSectionsQueryResult, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InvalidateCache, type InvalidateCacheGetByOneOf, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MaskedInfoSection, type Media, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Page, type Pages, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type QueryInfoSectionsOptions, type QueryInfoSectionsRequest, type QueryInfoSectionsResponse, type RecloneSiteRequest, type RecloneSiteResponse, type Rel, RequestedFields, type RequestedFieldsWithLiterals, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type URI, type URIs, type UpdateInfoSection, type UpdateInfoSectionOptions, type UpdateInfoSectionRequest, type UpdateInfoSectionResponse, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkCreateInfoSections, bulkDeleteInfoSections, bulkGetOrCreateInfoSections, bulkUpdateInfoSections, createInfoSection, deleteInfoSection, getInfoSection, getOrCreateInfoSection, onInfoSectionCreated, onInfoSectionDeleted, onInfoSectionUpdated, queryInfoSections, typedQueryInfoSections, updateInfoSection, utils };
@@ -41,6 +41,7 @@ __export(index_typings_exports, {
41
41
  NodeType: () => NodeType,
42
42
  NullValue: () => NullValue,
43
43
  Orientation: () => Orientation,
44
+ Origin: () => Origin,
44
45
  Placement: () => Placement,
45
46
  PluginContainerDataAlignment: () => PluginContainerDataAlignment,
46
47
  PollLayoutDirection: () => PollLayoutDirection,
@@ -1559,6 +1560,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
1559
1560
  ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1560
1561
  return ImagePosition2;
1561
1562
  })(ImagePosition || {});
1563
+ var Origin = /* @__PURE__ */ ((Origin2) => {
1564
+ Origin2["IMAGE"] = "IMAGE";
1565
+ Origin2["LAYOUT"] = "LAYOUT";
1566
+ return Origin2;
1567
+ })(Origin || {});
1562
1568
  var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
1563
1569
  VerticalAlignmentAlignment2["TOP"] = "TOP";
1564
1570
  VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
@@ -1967,6 +1973,7 @@ async function bulkDeleteInfoSections2(infoSectionIds) {
1967
1973
  NodeType,
1968
1974
  NullValue,
1969
1975
  Orientation,
1976
+ Origin,
1970
1977
  Placement,
1971
1978
  PluginContainerDataAlignment,
1972
1979
  PollLayoutDirection,