@wix/auto_sdk_events_forms 1.0.79 → 1.0.81
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.
- package/build/cjs/index.d.ts +3 -3
- package/build/cjs/index.js +26 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +64 -18
- package/build/cjs/index.typings.js +23 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +62 -7
- package/build/cjs/meta.js +21 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +1018 -0
- package/build/cjs/schemas.js +1452 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +3 -3
- package/build/es/index.mjs +24 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +64 -18
- package/build/es/index.typings.mjs +21 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +62 -7
- package/build/es/meta.mjs +19 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +1018 -0
- package/build/es/schemas.mjs +1402 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +3 -3
- package/build/internal/cjs/index.js +26 -6
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +64 -18
- package/build/internal/cjs/index.typings.js +23 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +62 -7
- package/build/internal/cjs/meta.js +21 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +1018 -0
- package/build/internal/cjs/schemas.js +1452 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +3 -3
- package/build/internal/es/index.mjs +24 -6
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +64 -18
- package/build/internal/es/index.typings.mjs +21 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +62 -7
- package/build/internal/es/meta.mjs +19 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +1018 -0
- package/build/internal/es/schemas.mjs +1402 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +12 -5
- package/schemas/package.json +3 -0
|
@@ -530,7 +530,7 @@ interface UpdateControlRequest extends UpdateControlRequestControlOneOf {
|
|
|
530
530
|
*/
|
|
531
531
|
eventId: string;
|
|
532
532
|
/** Unique input control ID. */
|
|
533
|
-
_id
|
|
533
|
+
_id?: string;
|
|
534
534
|
/** Index used to sort input controls in ascending order. */
|
|
535
535
|
orderIndex?: number;
|
|
536
536
|
}
|
|
@@ -594,7 +594,7 @@ interface DeleteControlRequest {
|
|
|
594
594
|
* Unique input control ID.
|
|
595
595
|
* @maxLength 100
|
|
596
596
|
*/
|
|
597
|
-
_id
|
|
597
|
+
_id?: string;
|
|
598
598
|
}
|
|
599
599
|
interface DeleteControlResponse {
|
|
600
600
|
/** Modified draft event form. */
|
|
@@ -1555,6 +1555,8 @@ interface Node extends NodeDataOneOf {
|
|
|
1555
1555
|
shapeData?: ShapeData;
|
|
1556
1556
|
/** Data for a card node. */
|
|
1557
1557
|
cardData?: CardData;
|
|
1558
|
+
/** Data for a table of contents node. */
|
|
1559
|
+
tocData?: TocData;
|
|
1558
1560
|
/** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
|
|
1559
1561
|
type?: NodeTypeWithLiterals;
|
|
1560
1562
|
/** Node ID. */
|
|
@@ -1626,6 +1628,8 @@ interface NodeDataOneOf {
|
|
|
1626
1628
|
shapeData?: ShapeData;
|
|
1627
1629
|
/** Data for a card node. */
|
|
1628
1630
|
cardData?: CardData;
|
|
1631
|
+
/** Data for a table of contents node. */
|
|
1632
|
+
tocData?: TocData;
|
|
1629
1633
|
}
|
|
1630
1634
|
declare enum NodeType {
|
|
1631
1635
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -1663,10 +1667,11 @@ declare enum NodeType {
|
|
|
1663
1667
|
LAYOUT = "LAYOUT",
|
|
1664
1668
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
1665
1669
|
SHAPE = "SHAPE",
|
|
1666
|
-
CARD = "CARD"
|
|
1670
|
+
CARD = "CARD",
|
|
1671
|
+
TOC = "TOC"
|
|
1667
1672
|
}
|
|
1668
1673
|
/** @enumType */
|
|
1669
|
-
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD';
|
|
1674
|
+
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC';
|
|
1670
1675
|
interface NodeStyle {
|
|
1671
1676
|
/** The top padding value in pixels. */
|
|
1672
1677
|
paddingTop?: string | null;
|
|
@@ -2295,6 +2300,8 @@ interface HTMLData extends HTMLDataDataOneOf {
|
|
|
2295
2300
|
* @deprecated
|
|
2296
2301
|
*/
|
|
2297
2302
|
isAdsense?: boolean | null;
|
|
2303
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
2304
|
+
widgetId?: string;
|
|
2298
2305
|
/** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
|
|
2299
2306
|
containerData?: PluginContainerData;
|
|
2300
2307
|
/** The type of HTML code. */
|
|
@@ -2313,14 +2320,17 @@ interface HTMLDataDataOneOf {
|
|
|
2313
2320
|
* @deprecated
|
|
2314
2321
|
*/
|
|
2315
2322
|
isAdsense?: boolean | null;
|
|
2323
|
+
/** The WixelWidget ID for AI_WIDGET source nodes. */
|
|
2324
|
+
widgetId?: string;
|
|
2316
2325
|
}
|
|
2317
2326
|
declare enum Source {
|
|
2318
2327
|
HTML = "HTML",
|
|
2319
2328
|
ADSENSE = "ADSENSE",
|
|
2320
|
-
AI = "AI"
|
|
2329
|
+
AI = "AI",
|
|
2330
|
+
AI_WIDGET = "AI_WIDGET"
|
|
2321
2331
|
}
|
|
2322
2332
|
/** @enumType */
|
|
2323
|
-
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
|
|
2333
|
+
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI' | 'AI_WIDGET';
|
|
2324
2334
|
interface ImageData {
|
|
2325
2335
|
/** Styling for the image's container. */
|
|
2326
2336
|
containerData?: PluginContainerData;
|
|
@@ -3548,6 +3558,51 @@ interface BackgroundImage {
|
|
|
3548
3558
|
/** Position of background. Defaults to `CENTER`. */
|
|
3549
3559
|
position?: ImagePositionPositionWithLiterals;
|
|
3550
3560
|
}
|
|
3561
|
+
interface TocData {
|
|
3562
|
+
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
3563
|
+
includedHeadings?: number[];
|
|
3564
|
+
/** List style. Default: PLAIN. */
|
|
3565
|
+
listStyle?: ListStyleWithLiterals;
|
|
3566
|
+
/** Optional override for the font size in pixels. */
|
|
3567
|
+
fontSize?: number | null;
|
|
3568
|
+
/** Optional override for the vertical spacing between items in pixels. */
|
|
3569
|
+
itemSpacing?: number | null;
|
|
3570
|
+
/**
|
|
3571
|
+
* Optional override for the text color.
|
|
3572
|
+
* @format COLOR_HEX
|
|
3573
|
+
*/
|
|
3574
|
+
color?: string | null;
|
|
3575
|
+
/** Indentation style. Default: NESTED. */
|
|
3576
|
+
indentation?: IndentationWithLiterals;
|
|
3577
|
+
}
|
|
3578
|
+
/** List style. */
|
|
3579
|
+
declare enum ListStyle {
|
|
3580
|
+
/** No markers (default) */
|
|
3581
|
+
PLAIN = "PLAIN",
|
|
3582
|
+
/** Numbered list */
|
|
3583
|
+
NUMBERED = "NUMBERED",
|
|
3584
|
+
/** Alphabetic letters */
|
|
3585
|
+
LETTERS = "LETTERS",
|
|
3586
|
+
/** Roman numerals */
|
|
3587
|
+
ROMAN = "ROMAN",
|
|
3588
|
+
/** Bulleted list */
|
|
3589
|
+
BULLETED = "BULLETED",
|
|
3590
|
+
/** Alphabetical index */
|
|
3591
|
+
ALPHABETICAL_INDEX = "ALPHABETICAL_INDEX",
|
|
3592
|
+
/** Alphabetical index (compact top-row only) */
|
|
3593
|
+
ALPHABETICAL_INDEX_COMPACT = "ALPHABETICAL_INDEX_COMPACT"
|
|
3594
|
+
}
|
|
3595
|
+
/** @enumType */
|
|
3596
|
+
type ListStyleWithLiterals = ListStyle | 'PLAIN' | 'NUMBERED' | 'LETTERS' | 'ROMAN' | 'BULLETED' | 'ALPHABETICAL_INDEX' | 'ALPHABETICAL_INDEX_COMPACT';
|
|
3597
|
+
/** Indentation style. */
|
|
3598
|
+
declare enum Indentation {
|
|
3599
|
+
/** Sub-headings indented under parents (default) */
|
|
3600
|
+
NESTED = "NESTED",
|
|
3601
|
+
/** All items at the same level */
|
|
3602
|
+
FLAT = "FLAT"
|
|
3603
|
+
}
|
|
3604
|
+
/** @enumType */
|
|
3605
|
+
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
3551
3606
|
interface Metadata {
|
|
3552
3607
|
/** Schema version. */
|
|
3553
3608
|
version?: number;
|
|
@@ -3924,7 +3979,6 @@ interface AddControlOptionsControlOneOf {
|
|
|
3924
3979
|
* Updates an existing input control in the form. The applied changes trigger form publishing.
|
|
3925
3980
|
* @public
|
|
3926
3981
|
* @requiredField identifiers
|
|
3927
|
-
* @requiredField identifiers._id
|
|
3928
3982
|
* @requiredField identifiers.eventId
|
|
3929
3983
|
* @requiredField options.control
|
|
3930
3984
|
* @param options - Optional fields.
|
|
@@ -3933,7 +3987,7 @@ interface AddControlOptionsControlOneOf {
|
|
|
3933
3987
|
* @applicableIdentity APP
|
|
3934
3988
|
* @fqn wix.events.form.FormBuilder.UpdateControl
|
|
3935
3989
|
*/
|
|
3936
|
-
declare function updateControl(identifiers: NonNullablePaths<UpdateControlIdentifiers, `
|
|
3990
|
+
declare function updateControl(identifiers: NonNullablePaths<UpdateControlIdentifiers, `eventId`, 2>, options?: UpdateControlOptions): Promise<NonNullablePaths<UpdateControlResponse, `form.controls` | `form.controls.${number}.type` | `form.controls.${number}.system` | `form.controls.${number}.name` | `form.controls.${number}.label` | `form.controls.${number}.orderIndex` | `form.controls.${number}._id` | `form.messages.rsvp.rsvpYesOption` | `form.messages.rsvp.rsvpNoOption` | `form.messages.rsvp.positiveMessages.title` | `form.messages.rsvp.positiveMessages.confirmation.title` | `form.messages.rsvp.positiveMessages.confirmation.message` | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel` | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel` | `form.messages.rsvp.negativeMessages.title` | `form.messages.rsvp.negativeMessages.confirmation.title` | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel` | `form.messages.rsvp.submitActionLabel` | `form.messages.checkout.title` | `form.messages.checkout.submitActionLabel` | `form.messages.checkout.confirmation.title` | `form.messages.checkout.confirmation.message` | `form.messages.checkout.confirmation.downloadTicketsLabel` | `form.messages.checkout.confirmation.addToCalendarLabel` | `form.messages.checkout.confirmation.shareEventLabel` | `form.messages.registrationClosed.message` | `form.messages.registrationClosed.exploreEventsActionLabel` | `form.messages.ticketsUnavailable.message` | `form.messages.ticketsUnavailable.exploreEventsActionLabel`, 7> & {
|
|
3937
3991
|
__applicationErrorsType?: UpdateControlApplicationErrors;
|
|
3938
3992
|
}>;
|
|
3939
3993
|
interface UpdateControlIdentifiers extends UpdateControlIdentifiersControlOneOf {
|
|
@@ -3942,8 +3996,6 @@ interface UpdateControlIdentifiers extends UpdateControlIdentifiersControlOneOf
|
|
|
3942
3996
|
* @format GUID
|
|
3943
3997
|
*/
|
|
3944
3998
|
eventId: string;
|
|
3945
|
-
/** Unique input control ID. */
|
|
3946
|
-
_id: string;
|
|
3947
3999
|
}
|
|
3948
4000
|
/** @oneof */
|
|
3949
4001
|
interface UpdateControlIdentifiersControlOneOf {
|
|
@@ -4019,14 +4071,13 @@ interface UpdateControlOptionsControlOneOf {
|
|
|
4019
4071
|
* Deletes an input control from the form. The applied changes trigger form publishing.
|
|
4020
4072
|
* @public
|
|
4021
4073
|
* @requiredField identifiers
|
|
4022
|
-
* @requiredField identifiers._id
|
|
4023
4074
|
* @requiredField identifiers.eventId
|
|
4024
4075
|
* @param identifiers - Identifies what form to delete.
|
|
4025
4076
|
* @permissionId WIX_EVENTS.MANAGE_EVENTS
|
|
4026
4077
|
* @applicableIdentity APP
|
|
4027
4078
|
* @fqn wix.events.form.FormBuilder.DeleteControl
|
|
4028
4079
|
*/
|
|
4029
|
-
declare function deleteControl(identifiers: NonNullablePaths<DeleteControlIdentifiers, `
|
|
4080
|
+
declare function deleteControl(identifiers: NonNullablePaths<DeleteControlIdentifiers, `eventId`, 2>): Promise<NonNullablePaths<DeleteControlResponse, `form.controls` | `form.controls.${number}.type` | `form.controls.${number}.system` | `form.controls.${number}.name` | `form.controls.${number}.label` | `form.controls.${number}.orderIndex` | `form.controls.${number}._id` | `form.messages.rsvp.rsvpYesOption` | `form.messages.rsvp.rsvpNoOption` | `form.messages.rsvp.positiveMessages.title` | `form.messages.rsvp.positiveMessages.confirmation.title` | `form.messages.rsvp.positiveMessages.confirmation.message` | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel` | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel` | `form.messages.rsvp.negativeMessages.title` | `form.messages.rsvp.negativeMessages.confirmation.title` | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel` | `form.messages.rsvp.submitActionLabel` | `form.messages.checkout.title` | `form.messages.checkout.submitActionLabel` | `form.messages.checkout.confirmation.title` | `form.messages.checkout.confirmation.message` | `form.messages.checkout.confirmation.downloadTicketsLabel` | `form.messages.checkout.confirmation.addToCalendarLabel` | `form.messages.checkout.confirmation.shareEventLabel` | `form.messages.registrationClosed.message` | `form.messages.registrationClosed.exploreEventsActionLabel` | `form.messages.ticketsUnavailable.message` | `form.messages.ticketsUnavailable.exploreEventsActionLabel`, 7> & {
|
|
4030
4081
|
__applicationErrorsType?: DeleteControlApplicationErrors;
|
|
4031
4082
|
}>;
|
|
4032
4083
|
interface DeleteControlIdentifiers {
|
|
@@ -4035,11 +4086,6 @@ interface DeleteControlIdentifiers {
|
|
|
4035
4086
|
* @format GUID
|
|
4036
4087
|
*/
|
|
4037
4088
|
eventId: string;
|
|
4038
|
-
/**
|
|
4039
|
-
* Unique input control ID.
|
|
4040
|
-
* @maxLength 100
|
|
4041
|
-
*/
|
|
4042
|
-
_id: string;
|
|
4043
4089
|
}
|
|
4044
4090
|
/**
|
|
4045
4091
|
* Updates a set of defined form messages that are displayed to a site visitor before, during, and after the registration flow.
|
|
@@ -4088,4 +4134,4 @@ declare function publishDraft(eventId: string): Promise<NonNullablePaths<Publish
|
|
|
4088
4134
|
*/
|
|
4089
4135
|
declare function discardDraft(eventId: string): Promise<void>;
|
|
4090
4136
|
|
|
4091
|
-
export { type AccountInfo, type ActionEvent, type AddControlApplicationErrors, type AddControlOptions, type AddControlOptionsControlOneOf, type AddControlRequest, type AddControlRequestControlOneOf, type AddControlResponse, type AdditionalGuestsControl, type Address, type AddressControl, type AddressControlLabels, type AddressLocation, type AddressStreetOneOf, type Agenda, Alignment, type AlignmentWithLiterals, type AnchorData, 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 BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CalendarLinks, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type Category, type CategoryCounts, type CellStyle, type CheckboxControl, type CheckoutFormMessages, CheckoutType, type CheckoutTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, 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 DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DropdownControl, type EmailControl, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, 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 ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Input, type InputControl, InputControlType, type InputControlTypeWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, type Label, type LabellingSettings, type Labels, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type Location, LocationType, type LocationTypeWithLiterals, 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 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 SeoSchema, type SeoSettings, type Settings, type ShapeData, type ShapeDataStyles, type SiteUrl, 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, 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, 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 };
|
|
4137
|
+
export { type AccountInfo, type ActionEvent, type AddControlApplicationErrors, type AddControlOptions, type AddControlOptionsControlOneOf, type AddControlRequest, type AddControlRequestControlOneOf, type AddControlResponse, type AdditionalGuestsControl, type Address, type AddressControl, type AddressControlLabels, type AddressLocation, type AddressStreetOneOf, type Agenda, Alignment, type AlignmentWithLiterals, type AnchorData, 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 BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CalendarLinks, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type Category, type CategoryCounts, type CellStyle, type CheckboxControl, type CheckoutFormMessages, CheckoutType, type CheckoutTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, 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 DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DropdownControl, type EmailControl, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, 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 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, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, ListStyle, type ListStyleWithLiterals, type ListValue, type Location, LocationType, type LocationTypeWithLiterals, 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 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 SeoSchema, type SeoSettings, type Settings, type ShapeData, type ShapeDataStyles, type SiteUrl, 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, 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 };
|
|
@@ -43,12 +43,14 @@ __export(index_typings_exports, {
|
|
|
43
43
|
ImagePosition: () => ImagePosition,
|
|
44
44
|
ImagePositionPosition: () => ImagePositionPosition,
|
|
45
45
|
ImageScalingScaling: () => ImageScalingScaling,
|
|
46
|
+
Indentation: () => Indentation,
|
|
46
47
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
47
48
|
InputControlType: () => InputControlType,
|
|
48
49
|
Layout: () => Layout,
|
|
49
50
|
LayoutDataBackgroundType: () => LayoutDataBackgroundType,
|
|
50
51
|
LayoutType: () => LayoutType,
|
|
51
52
|
LineStyle: () => LineStyle,
|
|
53
|
+
ListStyle: () => ListStyle,
|
|
52
54
|
LocationType: () => LocationType,
|
|
53
55
|
MapType: () => MapType,
|
|
54
56
|
NodeType: () => NodeType,
|
|
@@ -845,6 +847,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
845
847
|
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
846
848
|
NodeType2["SHAPE"] = "SHAPE";
|
|
847
849
|
NodeType2["CARD"] = "CARD";
|
|
850
|
+
NodeType2["TOC"] = "TOC";
|
|
848
851
|
return NodeType2;
|
|
849
852
|
})(NodeType || {});
|
|
850
853
|
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
@@ -955,6 +958,7 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
955
958
|
Source2["HTML"] = "HTML";
|
|
956
959
|
Source2["ADSENSE"] = "ADSENSE";
|
|
957
960
|
Source2["AI"] = "AI";
|
|
961
|
+
Source2["AI_WIDGET"] = "AI_WIDGET";
|
|
958
962
|
return Source2;
|
|
959
963
|
})(Source || {});
|
|
960
964
|
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
@@ -1156,6 +1160,21 @@ var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
|
|
|
1156
1160
|
CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1157
1161
|
return CardDataBackgroundType2;
|
|
1158
1162
|
})(CardDataBackgroundType || {});
|
|
1163
|
+
var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
|
|
1164
|
+
ListStyle2["PLAIN"] = "PLAIN";
|
|
1165
|
+
ListStyle2["NUMBERED"] = "NUMBERED";
|
|
1166
|
+
ListStyle2["LETTERS"] = "LETTERS";
|
|
1167
|
+
ListStyle2["ROMAN"] = "ROMAN";
|
|
1168
|
+
ListStyle2["BULLETED"] = "BULLETED";
|
|
1169
|
+
ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
|
|
1170
|
+
ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
|
|
1171
|
+
return ListStyle2;
|
|
1172
|
+
})(ListStyle || {});
|
|
1173
|
+
var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
1174
|
+
Indentation2["NESTED"] = "NESTED";
|
|
1175
|
+
Indentation2["FLAT"] = "FLAT";
|
|
1176
|
+
return Indentation2;
|
|
1177
|
+
})(Indentation || {});
|
|
1159
1178
|
var Type = /* @__PURE__ */ ((Type2) => {
|
|
1160
1179
|
Type2["FIRST_PRIORITY"] = "FIRST_PRIORITY";
|
|
1161
1180
|
Type2["SECOND_PRIORITY"] = "SECOND_PRIORITY";
|
|
@@ -1240,7 +1259,6 @@ async function updateControl2(identifiers, options) {
|
|
|
1240
1259
|
const { httpClient, sideEffects } = arguments[2];
|
|
1241
1260
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1242
1261
|
eventId: identifiers?.eventId,
|
|
1243
|
-
id: identifiers?._id,
|
|
1244
1262
|
orderIndex: options?.orderIndex,
|
|
1245
1263
|
phone: options?.phone,
|
|
1246
1264
|
address: options?.address,
|
|
@@ -1266,7 +1284,6 @@ async function updateControl2(identifiers, options) {
|
|
|
1266
1284
|
spreadPathsToArguments: {},
|
|
1267
1285
|
explicitPathsToArguments: {
|
|
1268
1286
|
eventId: "$[0].eventId",
|
|
1269
|
-
id: "$[0]._id",
|
|
1270
1287
|
orderIndex: "$[1].orderIndex",
|
|
1271
1288
|
phone: "$[1].phone",
|
|
1272
1289
|
address: "$[1].address",
|
|
@@ -1290,8 +1307,7 @@ async function updateControl2(identifiers, options) {
|
|
|
1290
1307
|
async function deleteControl2(identifiers) {
|
|
1291
1308
|
const { httpClient, sideEffects } = arguments[1];
|
|
1292
1309
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1293
|
-
eventId: identifiers?.eventId
|
|
1294
|
-
id: identifiers?._id
|
|
1310
|
+
eventId: identifiers?.eventId
|
|
1295
1311
|
});
|
|
1296
1312
|
const reqOpts = deleteControl(payload);
|
|
1297
1313
|
sideEffects?.onSiteCall?.();
|
|
@@ -1304,7 +1320,7 @@ async function deleteControl2(identifiers) {
|
|
|
1304
1320
|
err,
|
|
1305
1321
|
{
|
|
1306
1322
|
spreadPathsToArguments: {},
|
|
1307
|
-
explicitPathsToArguments: { eventId: "$[0].eventId"
|
|
1323
|
+
explicitPathsToArguments: { eventId: "$[0].eventId" },
|
|
1308
1324
|
singleArgumentUnchanged: false
|
|
1309
1325
|
},
|
|
1310
1326
|
["identifiers"]
|
|
@@ -1414,12 +1430,14 @@ async function discardDraft2(eventId) {
|
|
|
1414
1430
|
ImagePosition,
|
|
1415
1431
|
ImagePositionPosition,
|
|
1416
1432
|
ImageScalingScaling,
|
|
1433
|
+
Indentation,
|
|
1417
1434
|
InitialExpandedItems,
|
|
1418
1435
|
InputControlType,
|
|
1419
1436
|
Layout,
|
|
1420
1437
|
LayoutDataBackgroundType,
|
|
1421
1438
|
LayoutType,
|
|
1422
1439
|
LineStyle,
|
|
1440
|
+
ListStyle,
|
|
1423
1441
|
LocationType,
|
|
1424
1442
|
MapType,
|
|
1425
1443
|
NodeType,
|