@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
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { Form, AddControlOptions, AddControlResponse, AddControlApplicationErrors, UpdateControlIdentifiers, UpdateControlOptions, UpdateControlResponse, UpdateControlApplicationErrors, DeleteControlIdentifiers, DeleteControlResponse, DeleteControlApplicationErrors, UpdateMessagesOptions, UpdateMessagesResponse, PublishDraftResponse, FormEventUpdatedEnvelope } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, ActionEvent, AddControlOptionsControlOneOf, AddControlRequest, AddControlRequestControlOneOf, AdditionalGuestsControl, Address, AddressControl, AddressControlLabels, AddressLocation, AddressStreetOneOf, Agenda, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Badge, Banner, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CalendarLinks, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CardStylesType, CardStylesTypeWithLiterals, Category, CategoryCounts, CellStyle, CheckboxControl, CheckoutFormMessages, CheckoutType, CheckoutTypeWithLiterals, CodeBlockData, CollapsibleListData, ColorData, Colors, ConferenceType, ConferenceTypeWithLiterals, Crop, CropWithLiterals, Dashboard, DateControl, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteControlRequest, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DiscardDraftRequest, DiscardDraftResponse, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DropdownControl, EmailControl, EmbedData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Event, EventData, EventDisplaySettings, EventStatus, EventStatusWithLiterals, EventType, EventTypeWithLiterals, EventUpdated, ExternalEvent, Feed, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, FormInputControlAdded, FormInputControlDeleted, FormInputControlUpdated, FormMessages, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetFormRequest, GetFormResponse, Gradient, GradientType, GradientTypeWithLiterals, GuestListConfig, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Input, InputControl, InputControlType, InputControlTypeWithLiterals, Item, ItemDataOneOf, ItemStyle, Keyword, Label, LabellingSettings, Labels, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, Location, LocationType, LocationTypeWithLiterals, MapCoordinates, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Money, NameControl, NameControlLabels, Negative, NegativeResponseConfirmation, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Occurrence, Oembed, OnlineConferencing, OnlineConferencingConfig, OnlineConferencingSession, Option, OptionDesign, OptionLayout, OptionSelection, OptionSelectionSelectedOptionOneOf, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, ParagraphData, Permissions, PhoneControl, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Positive, PositiveResponseConfirmation, PricingData, PublishDraftRequest, RadioButtonControl, Recurrences, Registration, RegistrationClosedMessages, RegistrationStatus, RegistrationStatusWithLiterals, Rel, RequestedFields, RequestedFieldsWithLiterals, Resizing, ResizingWithLiterals, ResponseConfirmation, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, RsvpCollection, RsvpCollectionConfig, RsvpConfirmationMessages, RsvpConfirmationMessagesNegativeResponseConfirmation, RsvpConfirmationMessagesPositiveResponseConfirmation, RsvpFormMessages, RsvpStatusOptions, RsvpStatusOptionsWithLiterals, RsvpSummary, Scaling, ScalingWithLiterals, ScheduleConfig, Scheduling, SeoSchema, SeoSettings, Settings, ShapeData, ShapeDataStyles, SiteUrl, Source, SourceWithLiterals, Spoiler, SpoilerData, State, StateWithLiterals, Status, StatusWithLiterals, Stop, StreetAddress, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TaxConfig, TaxType, TaxTypeWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextControl, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Ticketing, TicketingConfig, TicketingSummary, TicketsConfirmationMessages, TicketsUnavailableMessages, Type, TypeWithLiterals, UpdateControlIdentifiersControlOneOf, UpdateControlOptionsControlOneOf, UpdateControlRequest, UpdateControlRequestControlOneOf, UpdateMessagesRequest, ValueType, ValueTypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VisitorType, VisitorTypeWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, ActionEvent, AddControlOptionsControlOneOf, AddControlRequest, AddControlRequestControlOneOf, AdditionalGuestsControl, Address, AddressControl, AddressControlLabels, AddressLocation, AddressStreetOneOf, Agenda, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Badge, Banner, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CalendarLinks, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CardStylesType, CardStylesTypeWithLiterals, Category, CategoryCounts, CellStyle, CheckboxControl, CheckoutFormMessages, CheckoutType, CheckoutTypeWithLiterals, CodeBlockData, CollapsibleListData, ColorData, Colors, ConferenceType, ConferenceTypeWithLiterals, Crop, CropWithLiterals, Dashboard, DateControl, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteControlRequest, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DiscardDraftRequest, DiscardDraftResponse, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, DropdownControl, EmailControl, EmbedData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Event, EventData, EventDisplaySettings, EventStatus, EventStatusWithLiterals, EventType, EventTypeWithLiterals, EventUpdated, ExternalEvent, Feed, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, FormInputControlAdded, FormInputControlDeleted, FormInputControlUpdated, FormMessages, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetFormRequest, GetFormResponse, Gradient, GradientType, GradientTypeWithLiterals, GuestListConfig, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, Input, InputControl, InputControlType, InputControlTypeWithLiterals, Item, ItemDataOneOf, ItemStyle, Keyword, Label, LabellingSettings, Labels, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListStyle, ListStyleWithLiterals, ListValue, Location, LocationType, LocationTypeWithLiterals, MapCoordinates, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Money, NameControl, NameControlLabels, Negative, NegativeResponseConfirmation, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Occurrence, Oembed, OnlineConferencing, OnlineConferencingConfig, OnlineConferencingSession, Option, OptionDesign, OptionLayout, OptionSelection, OptionSelectionSelectedOptionOneOf, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, ParagraphData, Permissions, PhoneControl, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Positive, PositiveResponseConfirmation, PricingData, PublishDraftRequest, RadioButtonControl, Recurrences, Registration, RegistrationClosedMessages, RegistrationStatus, RegistrationStatusWithLiterals, Rel, RequestedFields, RequestedFieldsWithLiterals, Resizing, ResizingWithLiterals, ResponseConfirmation, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, RsvpCollection, RsvpCollectionConfig, RsvpConfirmationMessages, RsvpConfirmationMessagesNegativeResponseConfirmation, RsvpConfirmationMessagesPositiveResponseConfirmation, RsvpFormMessages, RsvpStatusOptions, RsvpStatusOptionsWithLiterals, RsvpSummary, Scaling, ScalingWithLiterals, ScheduleConfig, Scheduling, SeoSchema, SeoSettings, Settings, ShapeData, ShapeDataStyles, SiteUrl, Source, SourceWithLiterals, Spoiler, SpoilerData, State, StateWithLiterals, Status, StatusWithLiterals, Stop, StreetAddress, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, TaxConfig, TaxType, TaxTypeWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextControl, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Ticketing, TicketingConfig, TicketingSummary, TicketsConfirmationMessages, TicketsUnavailableMessages, TocData, Type, TypeWithLiterals, UpdateControlIdentifiersControlOneOf, UpdateControlOptionsControlOneOf, UpdateControlRequest, UpdateControlRequestControlOneOf, UpdateMessagesRequest, ValueType, ValueTypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VisitorType, VisitorTypeWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function getForm$1(httpClient: HttpClient): GetFormSignature;
|
|
6
6
|
interface GetFormSignature {
|
|
@@ -31,7 +31,7 @@ interface UpdateControlSignature {
|
|
|
31
31
|
* @param - Optional fields.
|
|
32
32
|
* @param - Identifies what form to update.
|
|
33
33
|
*/
|
|
34
|
-
(identifiers: NonNullablePaths<UpdateControlIdentifiers, `
|
|
34
|
+
(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> & {
|
|
35
35
|
__applicationErrorsType?: UpdateControlApplicationErrors;
|
|
36
36
|
}>;
|
|
37
37
|
}
|
|
@@ -41,7 +41,7 @@ interface DeleteControlSignature {
|
|
|
41
41
|
* Deletes an input control from the form. The applied changes trigger form publishing.
|
|
42
42
|
* @param - Identifies what form to delete.
|
|
43
43
|
*/
|
|
44
|
-
(identifiers: NonNullablePaths<DeleteControlIdentifiers, `
|
|
44
|
+
(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> & {
|
|
45
45
|
__applicationErrorsType?: DeleteControlApplicationErrors;
|
|
46
46
|
}>;
|
|
47
47
|
}
|
package/build/cjs/index.js
CHANGED
|
@@ -43,12 +43,14 @@ __export(index_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,
|
|
@@ -856,6 +858,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
856
858
|
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
857
859
|
NodeType2["SHAPE"] = "SHAPE";
|
|
858
860
|
NodeType2["CARD"] = "CARD";
|
|
861
|
+
NodeType2["TOC"] = "TOC";
|
|
859
862
|
return NodeType2;
|
|
860
863
|
})(NodeType || {});
|
|
861
864
|
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
@@ -966,6 +969,7 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
966
969
|
Source2["HTML"] = "HTML";
|
|
967
970
|
Source2["ADSENSE"] = "ADSENSE";
|
|
968
971
|
Source2["AI"] = "AI";
|
|
972
|
+
Source2["AI_WIDGET"] = "AI_WIDGET";
|
|
969
973
|
return Source2;
|
|
970
974
|
})(Source || {});
|
|
971
975
|
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
@@ -1167,6 +1171,21 @@ var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
|
|
|
1167
1171
|
CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1168
1172
|
return CardDataBackgroundType2;
|
|
1169
1173
|
})(CardDataBackgroundType || {});
|
|
1174
|
+
var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
|
|
1175
|
+
ListStyle2["PLAIN"] = "PLAIN";
|
|
1176
|
+
ListStyle2["NUMBERED"] = "NUMBERED";
|
|
1177
|
+
ListStyle2["LETTERS"] = "LETTERS";
|
|
1178
|
+
ListStyle2["ROMAN"] = "ROMAN";
|
|
1179
|
+
ListStyle2["BULLETED"] = "BULLETED";
|
|
1180
|
+
ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
|
|
1181
|
+
ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
|
|
1182
|
+
return ListStyle2;
|
|
1183
|
+
})(ListStyle || {});
|
|
1184
|
+
var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
1185
|
+
Indentation2["NESTED"] = "NESTED";
|
|
1186
|
+
Indentation2["FLAT"] = "FLAT";
|
|
1187
|
+
return Indentation2;
|
|
1188
|
+
})(Indentation || {});
|
|
1170
1189
|
var Type = /* @__PURE__ */ ((Type2) => {
|
|
1171
1190
|
Type2["FIRST_PRIORITY"] = "FIRST_PRIORITY";
|
|
1172
1191
|
Type2["SECOND_PRIORITY"] = "SECOND_PRIORITY";
|
|
@@ -1251,7 +1270,6 @@ async function updateControl2(identifiers, options) {
|
|
|
1251
1270
|
const { httpClient, sideEffects } = arguments[2];
|
|
1252
1271
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1253
1272
|
eventId: identifiers?.eventId,
|
|
1254
|
-
id: identifiers?._id,
|
|
1255
1273
|
orderIndex: options?.orderIndex,
|
|
1256
1274
|
phone: options?.phone,
|
|
1257
1275
|
address: options?.address,
|
|
@@ -1277,7 +1295,6 @@ async function updateControl2(identifiers, options) {
|
|
|
1277
1295
|
spreadPathsToArguments: {},
|
|
1278
1296
|
explicitPathsToArguments: {
|
|
1279
1297
|
eventId: "$[0].eventId",
|
|
1280
|
-
id: "$[0]._id",
|
|
1281
1298
|
orderIndex: "$[1].orderIndex",
|
|
1282
1299
|
phone: "$[1].phone",
|
|
1283
1300
|
address: "$[1].address",
|
|
@@ -1301,8 +1318,7 @@ async function updateControl2(identifiers, options) {
|
|
|
1301
1318
|
async function deleteControl2(identifiers) {
|
|
1302
1319
|
const { httpClient, sideEffects } = arguments[1];
|
|
1303
1320
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1304
|
-
eventId: identifiers?.eventId
|
|
1305
|
-
id: identifiers?._id
|
|
1321
|
+
eventId: identifiers?.eventId
|
|
1306
1322
|
});
|
|
1307
1323
|
const reqOpts = deleteControl(payload);
|
|
1308
1324
|
sideEffects?.onSiteCall?.();
|
|
@@ -1315,7 +1331,7 @@ async function deleteControl2(identifiers) {
|
|
|
1315
1331
|
err,
|
|
1316
1332
|
{
|
|
1317
1333
|
spreadPathsToArguments: {},
|
|
1318
|
-
explicitPathsToArguments: { eventId: "$[0].eventId"
|
|
1334
|
+
explicitPathsToArguments: { eventId: "$[0].eventId" },
|
|
1319
1335
|
singleArgumentUnchanged: false
|
|
1320
1336
|
},
|
|
1321
1337
|
["identifiers"]
|
|
@@ -1605,7 +1621,9 @@ var onFormEventUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1605
1621
|
},
|
|
1606
1622
|
{
|
|
1607
1623
|
path: "data.event.longDescription.nodes.cardData.backgroundImage.media.duration"
|
|
1608
|
-
}
|
|
1624
|
+
},
|
|
1625
|
+
{ path: "data.event.longDescription.nodes.tocData.fontSize" },
|
|
1626
|
+
{ path: "data.event.longDescription.nodes.tocData.itemSpacing" }
|
|
1609
1627
|
]
|
|
1610
1628
|
},
|
|
1611
1629
|
{
|
|
@@ -1652,12 +1670,14 @@ var onFormEventUpdated2 = (0, import_event_definition_modules.createEventModule)
|
|
|
1652
1670
|
ImagePosition,
|
|
1653
1671
|
ImagePositionPosition,
|
|
1654
1672
|
ImageScalingScaling,
|
|
1673
|
+
Indentation,
|
|
1655
1674
|
InitialExpandedItems,
|
|
1656
1675
|
InputControlType,
|
|
1657
1676
|
Layout,
|
|
1658
1677
|
LayoutDataBackgroundType,
|
|
1659
1678
|
LayoutType,
|
|
1660
1679
|
LineStyle,
|
|
1680
|
+
ListStyle,
|
|
1661
1681
|
LocationType,
|
|
1662
1682
|
MapType,
|
|
1663
1683
|
NodeType,
|