@wix/auto_sdk_events_forms 1.0.121 → 1.0.122

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.
@@ -3801,7 +3801,7 @@ interface LayoutData {
3801
3801
  containerData?: PluginContainerData;
3802
3802
  /** Defines where selected design propertied applies to */
3803
3803
  designTarget?: DesignTargetWithLiterals;
3804
- /** Banner configuration. When present, this layout is attached to a document edge (top or bottom). */
3804
+ /** Where this layout sits: an edge banner, or the paywall cut. One field, so the two can never be combined. */
3805
3805
  banner?: Banner;
3806
3806
  /** Background styling (color or gradient). */
3807
3807
  background?: LayoutDataBackground;
@@ -3876,13 +3876,15 @@ declare enum Origin {
3876
3876
  /** @enumType */
3877
3877
  type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
3878
3878
  declare enum BannerPosition {
3879
- /** Attached to the top edge (banner) */
3879
+ /** Attached to the top edge (banner). The default, so a banner written before this field existed decodes as TOP. */
3880
3880
  TOP = "TOP",
3881
- /** Attached to the bottom edge (footer) */
3882
- BOTTOM = "BOTTOM"
3881
+ /** Attached to the bottom edge (footer). */
3882
+ BOTTOM = "BOTTOM",
3883
+ /** The cut between free and paid content, not an edge banner. `origin` carries no meaning for it. */
3884
+ PAYWALL = "PAYWALL"
3883
3885
  }
3884
3886
  /** @enumType */
3885
- type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
3887
+ type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM' | 'PAYWALL';
3886
3888
  /** How the stacked layers fade relative to the base shape. Named for a bottom divider; top dividers render mirrored, so the visual fade flips. */
3887
3889
  declare enum LayerEffect {
3888
3890
  /** Shape keeps its height, a solid filler bar pushes it away from the edge */
@@ -4010,12 +4012,17 @@ declare enum DesignTarget {
4010
4012
  }
4011
4013
  /** @enumType */
4012
4014
  type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';
4013
- interface Banner {
4014
- /** Origin of the banner */
4015
+ interface Banner extends BannerOriginPresenceOneOf {
4016
+ /** Origin of the banner. Edge positions only. */
4015
4017
  origin?: OriginWithLiterals;
4016
- /** Position of the banner */
4018
+ /** Where the layout sits: an edge, or the paywall cut. */
4017
4019
  position?: BannerPositionWithLiterals;
4018
4020
  }
4021
+ /** @oneof */
4022
+ interface BannerOriginPresenceOneOf {
4023
+ /** Origin of the banner. Edge positions only. */
4024
+ origin?: OriginWithLiterals;
4025
+ }
4019
4026
  /** Backdrop styling (color or gradient) */
4020
4027
  interface Backdrop {
4021
4028
  /** Backdrop type. */
@@ -4920,4 +4927,4 @@ declare function publishDraft(eventId: string): Promise<NonNullablePaths<Publish
4920
4927
  */
4921
4928
  declare function discardDraft(eventId: string): Promise<void>;
4922
4929
 
4923
- export { type AccountInfo, type ActionEvent, type AddControlApplicationErrors, type AddControlOptions, type AddControlOptionsControlOneOf, type AddControlRequest, type AddControlRequestControlOneOf, type AddControlResponse, type AdditionalFeeConfig, type AdditionalFeeFormula, type AdditionalFeeFormulaCalculationOneOf, type AdditionalGuestsControl, type Address, type AddressControl, type AddressControlLabels, type AddressLocation, type AddressStreetOneOf, type Agenda, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, AnimationType, type AnimationTypeWithLiterals, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Badge, type Banner, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CalendarLinks, CancellationActorType, type CancellationActorTypeWithLiterals, type CancellationInfo, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type Category, type CategoryCounts, type CellStyle, type CheckboxControl, type CheckboxListData, type CheckoutFormMessages, CheckoutType, type CheckoutTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type ColorDataBackground, ColorDataBackgroundType, type ColorDataBackgroundTypeWithLiterals, type Colors, ColumnSize, type ColumnSizeWithLiterals, ConferenceType, type ConferenceTypeWithLiterals, Crop, type CropWithLiterals, type Dashboard, type DateControl, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteControlApplicationErrors, type DeleteControlIdentifiers, type DeleteControlRequest, type DeleteControlResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DiscardDraftRequest, type DiscardDraftResponse, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DropdownControl, type EmailControl, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, type Event, type EventData, type EventDisplaySettings, EventStatus, type EventStatusWithLiterals, EventType, type EventTypeWithLiterals, type EventUpdated, type ExternalEvent, type Feed, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type Form, type FormEventUpdatedEnvelope, type FormInputControlAdded, type FormInputControlDeleted, type FormInputControlUpdated, type FormMessages, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetFormRequest, type GetFormResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type GuestListConfig, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Input, type InputControl, InputControlType, type InputControlTypeWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, type Label, type LabellingSettings, type Labels, LayerEffect, type LayerEffectWithLiterals, type Layers, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type Location, LocationType, type LocationTypeWithLiterals, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapCoordinates, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type Money, type NameControl, type NameControlLabels, type Negative, type NegativeResponseConfirmation, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Occurrence, type Oembed, type OnlineConferencing, type OnlineConferencingConfig, type OnlineConferencingSession, type Option, type OptionDesign, type OptionLayout, type OptionSelection, type OptionSelectionSelectedOptionOneOf, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, type PhoneControl, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PointerEffect, PointerEffectType, type PointerEffectTypeWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Positive, type PositiveResponseConfirmation, type PricingData, type PublishDraftRequest, type PublishDraftResponse, type RadioButtonControl, type Recurrences, type Registration, type RegistrationClosedMessages, RegistrationStatus, type RegistrationStatusWithLiterals, type Rel, RequestedFields, type RequestedFieldsWithLiterals, Resizing, type ResizingWithLiterals, type ResponseConfirmation, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RsvpCollection, type RsvpCollectionConfig, type RsvpConfirmationMessages, type RsvpConfirmationMessagesNegativeResponseConfirmation, type RsvpConfirmationMessagesPositiveResponseConfirmation, type RsvpFormMessages, RsvpStatusOptions, type RsvpStatusOptionsWithLiterals, type RsvpSummary, Scaling, type ScalingWithLiterals, type ScheduleConfig, type Scheduling, type SectionDivider, type SeoSchema, type SeoSettings, type Settings, Shape, type ShapeData, type ShapeDataStyles, type ShapeWithLiterals, type SiteUrl, type SketchData, type SlotData, type SlotDesign, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, State, type StateWithLiterals, Status, type StatusWithLiterals, type Stop, type StreetAddress, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, type TaxConfig, TaxType, type TaxTypeWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextControl, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type Ticketing, type TicketingConfig, type TicketingSummary, type TicketsConfirmationMessages, type TicketsUnavailableMessages, type TocData, Type, type TypeWithLiterals, type UpdateControlApplicationErrors, type UpdateControlIdentifiers, type UpdateControlIdentifiersControlOneOf, type UpdateControlOptions, type UpdateControlOptionsControlOneOf, type UpdateControlRequest, type UpdateControlRequestControlOneOf, type UpdateControlResponse, type UpdateMessagesOptions, type UpdateMessagesRequest, type UpdateMessagesResponse, ValueType, type ValueTypeWithLiterals, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VisitorType, type VisitorTypeWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, addControl, deleteControl, discardDraft, getForm, onFormEventUpdated, publishDraft, updateControl, updateMessages };
4930
+ export { type AccountInfo, type ActionEvent, type AddControlApplicationErrors, type AddControlOptions, type AddControlOptionsControlOneOf, type AddControlRequest, type AddControlRequestControlOneOf, type AddControlResponse, type AdditionalFeeConfig, type AdditionalFeeFormula, type AdditionalFeeFormulaCalculationOneOf, type AdditionalGuestsControl, type Address, type AddressControl, type AddressControlLabels, type AddressLocation, type AddressStreetOneOf, type Agenda, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, AnimationType, type AnimationTypeWithLiterals, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Badge, type Banner, type BannerOriginPresenceOneOf, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CalendarLinks, CancellationActorType, type CancellationActorTypeWithLiterals, type CancellationInfo, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type Category, type CategoryCounts, type CellStyle, type CheckboxControl, type CheckboxListData, type CheckoutFormMessages, CheckoutType, type CheckoutTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type ColorDataBackground, ColorDataBackgroundType, type ColorDataBackgroundTypeWithLiterals, type Colors, ColumnSize, type ColumnSizeWithLiterals, ConferenceType, type ConferenceTypeWithLiterals, Crop, type CropWithLiterals, type Dashboard, type DateControl, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteControlApplicationErrors, type DeleteControlIdentifiers, type DeleteControlRequest, type DeleteControlResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DiscardDraftRequest, type DiscardDraftResponse, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DropdownControl, type EmailControl, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, type Event, type EventData, type EventDisplaySettings, EventStatus, type EventStatusWithLiterals, EventType, type EventTypeWithLiterals, type EventUpdated, type ExternalEvent, type Feed, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type Form, type FormEventUpdatedEnvelope, type FormInputControlAdded, type FormInputControlDeleted, type FormInputControlUpdated, type FormMessages, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetFormRequest, type GetFormResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type GuestListConfig, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Input, type InputControl, InputControlType, type InputControlTypeWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, type Label, type LabellingSettings, type Labels, LayerEffect, type LayerEffectWithLiterals, type Layers, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type Location, LocationType, type LocationTypeWithLiterals, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapCoordinates, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type Money, type NameControl, type NameControlLabels, type Negative, type NegativeResponseConfirmation, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Occurrence, type Oembed, type OnlineConferencing, type OnlineConferencingConfig, type OnlineConferencingSession, type Option, type OptionDesign, type OptionLayout, type OptionSelection, type OptionSelectionSelectedOptionOneOf, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, type PhoneControl, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PointerEffect, PointerEffectType, type PointerEffectTypeWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Positive, type PositiveResponseConfirmation, type PricingData, type PublishDraftRequest, type PublishDraftResponse, type RadioButtonControl, type Recurrences, type Registration, type RegistrationClosedMessages, RegistrationStatus, type RegistrationStatusWithLiterals, type Rel, RequestedFields, type RequestedFieldsWithLiterals, Resizing, type ResizingWithLiterals, type ResponseConfirmation, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RsvpCollection, type RsvpCollectionConfig, type RsvpConfirmationMessages, type RsvpConfirmationMessagesNegativeResponseConfirmation, type RsvpConfirmationMessagesPositiveResponseConfirmation, type RsvpFormMessages, RsvpStatusOptions, type RsvpStatusOptionsWithLiterals, type RsvpSummary, Scaling, type ScalingWithLiterals, type ScheduleConfig, type Scheduling, type SectionDivider, type SeoSchema, type SeoSettings, type Settings, Shape, type ShapeData, type ShapeDataStyles, type ShapeWithLiterals, type SiteUrl, type SketchData, type SlotData, type SlotDesign, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, State, type StateWithLiterals, Status, type StatusWithLiterals, type Stop, type StreetAddress, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, type TaxConfig, TaxType, type TaxTypeWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextControl, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type Ticketing, type TicketingConfig, type TicketingSummary, type TicketsConfirmationMessages, type TicketsUnavailableMessages, type TocData, Type, type TypeWithLiterals, type UpdateControlApplicationErrors, type UpdateControlIdentifiers, type UpdateControlIdentifiersControlOneOf, type UpdateControlOptions, type UpdateControlOptionsControlOneOf, type UpdateControlRequest, type UpdateControlRequestControlOneOf, type UpdateControlResponse, type UpdateMessagesOptions, type UpdateMessagesRequest, type UpdateMessagesResponse, ValueType, type ValueTypeWithLiterals, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VisitorType, type VisitorTypeWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, addControl, deleteControl, discardDraft, getForm, onFormEventUpdated, publishDraft, updateControl, updateMessages };
@@ -1122,6 +1122,7 @@ var Origin = /* @__PURE__ */ ((Origin2) => {
1122
1122
  var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
1123
1123
  BannerPosition2["TOP"] = "TOP";
1124
1124
  BannerPosition2["BOTTOM"] = "BOTTOM";
1125
+ BannerPosition2["PAYWALL"] = "PAYWALL";
1125
1126
  return BannerPosition2;
1126
1127
  })(BannerPosition || {});
1127
1128
  var LayerEffect = /* @__PURE__ */ ((LayerEffect2) => {